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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (995) 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-UQNDKJKD.js → chunk-23UW6T6K.js} +2 -2
  258. package/__chunks__/{chunk-BZPESFZO.js → chunk-247CWZAL.js} +2 -2
  259. package/__chunks__/{chunk-PWEUBBQP.js → chunk-27IGJ3ZX.js} +2 -2
  260. package/__chunks__/{chunk-XPPMIUH2.js → chunk-2BCVAC3J.js} +2 -2
  261. package/__chunks__/{chunk-JE5UEZ5Z.js → chunk-2C2KGHMG.js} +2 -2
  262. package/__chunks__/{chunk-UX2RUNV5.js → chunk-2FQP4IXM.js} +2 -2
  263. package/__chunks__/{chunk-OO3DAADL.js → chunk-2IENB7CD.js} +2 -2
  264. package/__chunks__/{chunk-YCUTX6W6.js → chunk-2IWDAERI.js} +2 -2
  265. package/__chunks__/{chunk-YXZATSD3.js → chunk-2IZQF4BK.js} +2 -2
  266. package/__chunks__/{chunk-35PICHQS.js → chunk-2JHIYGSQ.js} +2 -2
  267. package/__chunks__/chunk-2KTL6VBE.js +2 -0
  268. package/__chunks__/chunk-2L6RQEIV.js +2 -0
  269. package/__chunks__/{chunk-XNQPGVZL.js → chunk-2N3UEUL4.js} +2 -2
  270. package/__chunks__/{chunk-5ZA2MF34.js → chunk-2NH2CEZC.js} +2 -2
  271. package/__chunks__/{chunk-BNXLNRPJ.js → chunk-2RLK7VAH.js} +2 -2
  272. package/__chunks__/chunk-2VC3BCCK.js +2 -0
  273. package/__chunks__/chunk-2ZLEOG2M.js +2 -0
  274. package/__chunks__/{chunk-YJXFHSP5.js → chunk-37LWLJMI.js} +2 -2
  275. package/__chunks__/{chunk-BXM2JT2W.js → chunk-3L42RZVQ.js} +2 -2
  276. package/__chunks__/{chunk-TGNZM5IF.js → chunk-3LJO7ACH.js} +2 -2
  277. package/__chunks__/{chunk-W23XFMJP.js → chunk-3PEN26RC.js} +2 -2
  278. package/__chunks__/{chunk-TRLMZLSV.js → chunk-3UUV5VIT.js} +2 -2
  279. package/__chunks__/{chunk-6PJXZB5O.js → chunk-3Z53OPLA.js} +2 -2
  280. package/__chunks__/{chunk-BOZGUAJN.js → chunk-44KDM3XU.js} +2 -2
  281. package/__chunks__/{chunk-VPFRRZ72.js → chunk-44Q3ILEX.js} +2 -2
  282. package/__chunks__/{chunk-GVUGIEF3.js → chunk-45GYVUVD.js} +2 -2
  283. package/__chunks__/{chunk-PEDZF64X.js → chunk-466XNCDU.js} +2 -2
  284. package/__chunks__/{chunk-FD5JIEQM.js → chunk-4BYOXFRG.js} +2 -2
  285. package/__chunks__/{chunk-YENAN5E2.js → chunk-4CGYTJU5.js} +2 -2
  286. package/__chunks__/{chunk-2FW2XZK2.js → chunk-4J2GNYKT.js} +2 -2
  287. package/__chunks__/{chunk-JLPCL55M.js → chunk-4JGZU6B2.js} +2 -2
  288. package/__chunks__/chunk-4JQPC637.js +2 -0
  289. package/__chunks__/{chunk-QHBKVO2Z.js → chunk-4NG2CMNJ.js} +2 -2
  290. package/__chunks__/{chunk-J42WDK5G.js → chunk-4NKUOMLW.js} +2 -2
  291. package/__chunks__/{chunk-XEWSOYL7.js → chunk-4OTYVDUU.js} +2 -2
  292. package/__chunks__/chunk-4SJDYMYE.js +2 -0
  293. package/__chunks__/{chunk-HI67WMB3.js → chunk-4VAURNWV.js} +2 -2
  294. package/__chunks__/{chunk-AHROLPVE.js → chunk-4VP6IMSP.js} +2 -2
  295. package/__chunks__/{chunk-D3YNFF4F.js → chunk-4YCIYS4M.js} +2 -2
  296. package/__chunks__/{chunk-7MI5ZAIM.js → chunk-54DP5Y4K.js} +2 -2
  297. package/__chunks__/{chunk-HL5BNOVW.js → chunk-56RUAVB3.js} +2 -2
  298. package/__chunks__/{chunk-VLCGHOWI.js → chunk-5BEOGAWT.js} +2 -2
  299. package/__chunks__/{chunk-24Q64YJH.js → chunk-5C6Y6OHX.js} +2 -2
  300. package/__chunks__/{chunk-QCKP6445.js → chunk-5COTNJNR.js} +2 -2
  301. package/__chunks__/{chunk-EABENOSQ.js → chunk-5DEHF3DP.js} +2 -2
  302. package/__chunks__/{chunk-XXLXFO66.js → chunk-5KIRN2CC.js} +2 -2
  303. package/__chunks__/{chunk-3IGTT3VQ.js → chunk-5PNKHRII.js} +2 -2
  304. package/__chunks__/{chunk-3OW4PDSJ.js → chunk-5T2GVJGO.js} +2 -2
  305. package/__chunks__/{chunk-HPWTJMQR.js → chunk-5TWE2KLV.js} +2 -2
  306. package/__chunks__/chunk-5ULQYM7P.js +2 -0
  307. package/__chunks__/{chunk-YY3TJTZD.js → chunk-5XL5PHA4.js} +2 -2
  308. package/__chunks__/{chunk-YDJC4C6R.js → chunk-5YJPRGZL.js} +2 -2
  309. package/__chunks__/{chunk-EDTBXRUT.js → chunk-65UEDTVU.js} +2 -2
  310. package/__chunks__/{chunk-EARTKSBV.js → chunk-66ZJ3ODL.js} +2 -2
  311. package/__chunks__/chunk-6C4IESW6.js +2 -0
  312. package/__chunks__/{chunk-DMZSH7CE.js → chunk-6L7477VU.js} +2 -2
  313. package/__chunks__/{chunk-4ULPNGCI.js → chunk-6O4N33OA.js} +2 -2
  314. package/__chunks__/{chunk-DVVSAV6U.js → chunk-6QECU6AP.js} +2 -2
  315. package/__chunks__/{chunk-Y56MVXO2.js → chunk-6S3DCK4N.js} +2 -2
  316. package/__chunks__/{chunk-DQZ2ZEJL.js → chunk-6ST6SDZ4.js} +2 -2
  317. package/__chunks__/{chunk-LGYPWT4A.js → chunk-6TC2CUIW.js} +2 -2
  318. package/__chunks__/{chunk-NLNYQAYR.js → chunk-6UPRNAHZ.js} +2 -2
  319. package/__chunks__/{chunk-HADUD7DH.js → chunk-6YSCEQPI.js} +2 -2
  320. package/__chunks__/{chunk-ULJRGNMC.js → chunk-72SPHVYD.js} +2 -2
  321. package/__chunks__/chunk-73DS35QP.js +2 -0
  322. package/__chunks__/{chunk-MFES2BPZ.js → chunk-73OFECEK.js} +2 -2
  323. package/__chunks__/{chunk-GCC5I7IW.js → chunk-74CBWXX5.js} +2 -2
  324. package/__chunks__/chunk-752ZCIX6.js +2 -0
  325. package/__chunks__/{chunk-3LVG4W6K.js → chunk-767RYSHM.js} +2 -2
  326. package/__chunks__/{chunk-S2YS6ENO.js → chunk-76MXPG4T.js} +2 -2
  327. package/__chunks__/{chunk-4FYXC6FN.js → chunk-7BY4IUVM.js} +2 -2
  328. package/__chunks__/{chunk-S6VBNDE3.js → chunk-7CHU4CHI.js} +2 -2
  329. package/__chunks__/{chunk-26OYEHRG.js → chunk-7EWS3JFH.js} +2 -2
  330. package/__chunks__/{chunk-OCL6GOVY.js → chunk-7HT3RIBZ.js} +2 -2
  331. package/__chunks__/{chunk-YNF6345J.js → chunk-7QBE3YER.js} +2 -2
  332. package/__chunks__/{chunk-GXE6PT4L.js → chunk-A27KJYDJ.js} +2 -2
  333. package/__chunks__/{chunk-5EGZ2IE2.js → chunk-A2XNDMXT.js} +2 -2
  334. package/__chunks__/{chunk-HXMZRI57.js → chunk-A3Z7QLKQ.js} +2 -2
  335. package/__chunks__/{chunk-MUVHTIBG.js → chunk-A7SFR5FL.js} +2 -2
  336. package/__chunks__/{chunk-ZINBS47N.js → chunk-AB6VKN67.js} +2 -2
  337. package/__chunks__/{chunk-3LRYJZBF.js → chunk-ABWE57OW.js} +2 -2
  338. package/__chunks__/{chunk-CNY6MRHC.js → chunk-AFOSGFQC.js} +2 -2
  339. package/__chunks__/{chunk-GILRD2UG.js → chunk-AGMG2ZFD.js} +2 -2
  340. package/__chunks__/{chunk-PKJFPRBA.js → chunk-AKDBXLFD.js} +2 -2
  341. package/__chunks__/{chunk-I7MTSE2I.js → chunk-ALGCGE23.js} +2 -2
  342. package/__chunks__/{chunk-5ZR75RLA.js → chunk-ASSVTOUX.js} +2 -2
  343. package/__chunks__/{chunk-OV5YIJB3.js → chunk-AXFVPS3T.js} +2 -2
  344. package/__chunks__/{chunk-KXQZUN26.js → chunk-AY6QG3R7.js} +2 -2
  345. package/__chunks__/chunk-B3XWKJHE.js +2 -0
  346. package/__chunks__/chunk-B466CSDR.js +2 -0
  347. package/__chunks__/{chunk-DSBKXMA2.js → chunk-BBSPKIFU.js} +2 -2
  348. package/__chunks__/{chunk-RFA4XJYL.js → chunk-BCX6FOKU.js} +2 -2
  349. package/__chunks__/{chunk-QJM3BZPB.js → chunk-BFTKNAE7.js} +2 -2
  350. package/__chunks__/{chunk-G3R2TYTD.js → chunk-BHOBPFBR.js} +2 -2
  351. package/__chunks__/{chunk-5KDTR4LX.js → chunk-BIJJABFF.js} +2 -2
  352. package/__chunks__/{chunk-PDNYDUCI.js → chunk-BJAOHKBY.js} +2 -2
  353. package/__chunks__/{chunk-ON2BLZD3.js → chunk-BLZMGGQ7.js} +2 -2
  354. package/__chunks__/{chunk-STUWDVA3.js → chunk-BPFHZ42J.js} +2 -2
  355. package/__chunks__/{chunk-QX7HEJDO.js → chunk-BRL4L2SP.js} +2 -2
  356. package/__chunks__/{chunk-KG6XVTY3.js → chunk-BS646ITV.js} +2 -2
  357. package/__chunks__/{chunk-OP7JRWPK.js → chunk-CA2EZPHH.js} +2 -2
  358. package/__chunks__/chunk-CCDLWMTQ.js +2 -0
  359. package/__chunks__/{chunk-UP5PPFBP.js → chunk-CEDBV5MI.js} +2 -2
  360. package/__chunks__/{chunk-GJVJWQIL.js → chunk-CFFCH3LN.js} +2 -2
  361. package/__chunks__/{chunk-UO6GE5CU.js → chunk-CI3HSHWH.js} +2 -2
  362. package/__chunks__/{chunk-EVSNFST4.js → chunk-CKOE2EZI.js} +2 -2
  363. package/__chunks__/chunk-CKUMVRQR.js +2 -0
  364. package/__chunks__/{chunk-EN2LTOLZ.js → chunk-CL4HMFCZ.js} +2 -2
  365. package/__chunks__/{chunk-COX2JC7T.js → chunk-CM2CELJG.js} +2 -2
  366. package/__chunks__/{chunk-UGTP2KQH.js → chunk-CMHFMQ66.js} +2 -2
  367. package/__chunks__/{chunk-SFGU35TL.js → chunk-CQ55ET4B.js} +2 -2
  368. package/__chunks__/chunk-CUFN3HJ5.js +2 -0
  369. package/__chunks__/{chunk-ZM6IOJVQ.js → chunk-CV635PO6.js} +2 -2
  370. package/__chunks__/chunk-CX6BZPWE.js +2 -0
  371. package/__chunks__/{chunk-NGUNRHHL.js → chunk-D7ZZC5V4.js} +2 -2
  372. package/__chunks__/{chunk-CCML4SZ3.js → chunk-DCN4I5I3.js} +2 -2
  373. package/__chunks__/{chunk-AQPWKGS6.js → chunk-DDJWZCKP.js} +2 -2
  374. package/__chunks__/{chunk-O4HXR4BM.js → chunk-DNFFBNUR.js} +2 -2
  375. package/__chunks__/{chunk-YPBLAHVY.js → chunk-DUT4MPWK.js} +2 -2
  376. package/__chunks__/{chunk-HPO35VGE.js → chunk-DVXSRLUC.js} +2 -2
  377. package/__chunks__/{chunk-63NAU7AA.js → chunk-DWZO5QOV.js} +2 -2
  378. package/__chunks__/{chunk-GFEA5DRM.js → chunk-DZ4HOO6P.js} +2 -2
  379. package/__chunks__/{chunk-CQAH6AS6.js → chunk-E6YCDIVQ.js} +2 -2
  380. package/__chunks__/{chunk-QZADS76F.js → chunk-E77FO7PD.js} +2 -2
  381. package/__chunks__/{chunk-IVYWWNY7.js → chunk-ECACDMYU.js} +2 -2
  382. package/__chunks__/{chunk-MN4UFVXX.js → chunk-EDWSZVE7.js} +2 -2
  383. package/__chunks__/{chunk-V5E3CNJ4.js → chunk-EFDWUMLZ.js} +2 -2
  384. package/__chunks__/{chunk-JBE6JTQA.js → chunk-EGJV5XUY.js} +2 -2
  385. package/__chunks__/{chunk-EF7K2E2T.js → chunk-EHJYUWWD.js} +2 -2
  386. package/__chunks__/{chunk-2O62Y3I2.js → chunk-EKTD67JW.js} +2 -2
  387. package/__chunks__/{chunk-DRGL5KW2.js → chunk-EL3PD7HU.js} +2 -2
  388. package/__chunks__/{chunk-2ZYE3SA7.js → chunk-EOC5RHKA.js} +2 -2
  389. package/__chunks__/{chunk-O3F2QEGN.js → chunk-EQT7ENGZ.js} +2 -2
  390. package/__chunks__/{chunk-W4AQ3LUX.js → chunk-EWLLHVJA.js} +2 -2
  391. package/__chunks__/chunk-F2TFX64U.js +2 -0
  392. package/__chunks__/{chunk-GUB4BX2L.js → chunk-F3P4O7JN.js} +2 -2
  393. package/__chunks__/{chunk-4GQV3TJF.js → chunk-F5ZCLB3J.js} +2 -2
  394. package/__chunks__/{chunk-GRPFVPRV.js → chunk-FHC7OXSX.js} +2 -2
  395. package/__chunks__/{chunk-HKYCEEHG.js → chunk-FJVMIVY4.js} +2 -2
  396. package/__chunks__/{chunk-PFQYKPE5.js → chunk-FODGJWQ7.js} +2 -2
  397. package/__chunks__/chunk-FP3A3YVQ.js +2 -0
  398. package/__chunks__/{chunk-HJOEVG2S.js → chunk-FRCZUDD2.js} +2 -2
  399. package/__chunks__/{chunk-BE57WSD3.js → chunk-FSEQM3S4.js} +2 -2
  400. package/__chunks__/{chunk-Y5HQVZC6.js → chunk-FTMNSWQT.js} +2 -2
  401. package/__chunks__/{chunk-CD7PFCPS.js → chunk-G2UMPOSL.js} +2 -2
  402. package/__chunks__/{chunk-EXREUDA2.js → chunk-G7ACGZFQ.js} +2 -2
  403. package/__chunks__/{chunk-TRF5VQ5T.js → chunk-G7NHQY3Z.js} +2 -2
  404. package/__chunks__/{chunk-K3MQFSOO.js → chunk-GBWDIMXW.js} +2 -2
  405. package/__chunks__/{chunk-FWFTI4AS.js → chunk-GELZPH2U.js} +2 -2
  406. package/__chunks__/{chunk-YN3ZRWU4.js → chunk-GFBGNKOT.js} +2 -2
  407. package/__chunks__/{chunk-O6UL2SU5.js → chunk-GKQOMEHF.js} +2 -2
  408. package/__chunks__/{chunk-WCKKKD5C.js → chunk-GMOOFELW.js} +2 -2
  409. package/__chunks__/{chunk-QR57KKMF.js → chunk-GN7XYESZ.js} +2 -2
  410. package/__chunks__/{chunk-EZAVEC4X.js → chunk-GV2ONK6U.js} +2 -2
  411. package/__chunks__/{chunk-VTZEZCJ2.js → chunk-GW5HVWJT.js} +2 -2
  412. package/__chunks__/{chunk-SAYKAXP6.js → chunk-GXK7R7T3.js} +2 -2
  413. package/__chunks__/{chunk-LYDGSBBN.js → chunk-GZXOQPQO.js} +2 -2
  414. package/__chunks__/{chunk-RZLN27LO.js → chunk-GZZ7B7YT.js} +2 -2
  415. package/__chunks__/{chunk-PDMM6YOX.js → chunk-H33EC7OK.js} +2 -2
  416. package/__chunks__/{chunk-F4AZMSBK.js → chunk-H4S4FAUR.js} +2 -2
  417. package/__chunks__/{chunk-R26F2Z7S.js → chunk-H5XRTVLO.js} +2 -2
  418. package/__chunks__/{chunk-WGC7TVVB.js → chunk-HDR2O56U.js} +2 -2
  419. package/__chunks__/{chunk-I5JL5OC4.js → chunk-HF5I2QHD.js} +2 -2
  420. package/__chunks__/{chunk-FYHYDHAK.js → chunk-HIHIQLFL.js} +2 -2
  421. package/__chunks__/{chunk-AU5DECQ7.js → chunk-HKHEIBCP.js} +2 -2
  422. package/__chunks__/{chunk-NTJKJW4U.js → chunk-HNCRL46Z.js} +2 -2
  423. package/__chunks__/{chunk-Y26CRUDK.js → chunk-HNINX472.js} +2 -2
  424. package/__chunks__/chunk-HNQE37BB.js +2 -0
  425. package/__chunks__/{chunk-WQPECYXR.js → chunk-HRCD5XVQ.js} +2 -2
  426. package/__chunks__/chunk-HSSGSOTX.js +2 -0
  427. package/__chunks__/chunk-HTP33IDK.js +2 -0
  428. package/__chunks__/{chunk-IB4GYYIJ.js → chunk-I3VUOLXZ.js} +2 -2
  429. package/__chunks__/{chunk-7SNIJXUX.js → chunk-I4IFFG2C.js} +2 -2
  430. package/__chunks__/{chunk-HDLI6M6E.js → chunk-IFBSZB5W.js} +2 -2
  431. package/__chunks__/{chunk-23BGGZ27.js → chunk-INKDE2HG.js} +2 -2
  432. package/__chunks__/{chunk-KCLNK7N5.js → chunk-INYG7CVW.js} +2 -2
  433. package/__chunks__/chunk-IOUCUJDJ.js +2 -0
  434. package/__chunks__/{chunk-OVX7XRVC.js → chunk-IPUOVKSK.js} +2 -2
  435. package/__chunks__/chunk-ISQ2CAXA.js +2 -0
  436. package/__chunks__/{chunk-BP5JCE6C.js → chunk-J4C62YPV.js} +2 -2
  437. package/__chunks__/chunk-J5D6MSQX.js +2 -0
  438. package/__chunks__/{chunk-6QJZ6PCH.js → chunk-J5UXWFTG.js} +2 -2
  439. package/__chunks__/{chunk-WSAOKR3L.js → chunk-JFBOQIQW.js} +2 -2
  440. package/__chunks__/{chunk-VT2O5P2Q.js → chunk-JFHPHBLM.js} +2 -2
  441. package/__chunks__/{chunk-DAZGPPZU.js → chunk-JFJYC6DT.js} +2 -2
  442. package/__chunks__/{chunk-RMUZUOTT.js → chunk-JILXSRWO.js} +2 -2
  443. package/__chunks__/chunk-JKIA3V5E.js +2 -0
  444. package/__chunks__/{chunk-VWMBLZYM.js → chunk-JL2DQIGV.js} +2 -2
  445. package/__chunks__/chunk-JLC24SKM.js +2 -0
  446. package/__chunks__/{chunk-5HFV3UUG.js → chunk-JOIP4SPQ.js} +2 -2
  447. package/__chunks__/{chunk-OCFMHJSH.js → chunk-JPQBGAS2.js} +2 -2
  448. package/__chunks__/{chunk-TMH5SKEA.js → chunk-JRZ3YAKA.js} +2 -2
  449. package/__chunks__/{chunk-V5UUAW4I.js → chunk-JV4FQIKE.js} +2 -2
  450. package/__chunks__/{chunk-QU6UMMB4.js → chunk-KCETSKZY.js} +2 -2
  451. package/__chunks__/{chunk-WHCVUDN3.js → chunk-KCZANV2R.js} +2 -2
  452. package/__chunks__/chunk-KFG64GMR.js +2 -0
  453. package/__chunks__/{chunk-H6GTJDIQ.js → chunk-KKK2GOLP.js} +2 -2
  454. package/__chunks__/{chunk-XMVNCO2F.js → chunk-KKOIRC26.js} +2 -2
  455. package/__chunks__/{chunk-KTKQK2KV.js → chunk-KM37QY5O.js} +2 -2
  456. package/__chunks__/chunk-KQWBFZT6.js +2 -0
  457. package/__chunks__/{chunk-W5Q5AGXU.js → chunk-KRJ7CVKU.js} +2 -2
  458. package/__chunks__/{chunk-5E3QB2AN.js → chunk-KTM7BNIU.js} +2 -2
  459. package/__chunks__/{chunk-WT3N3CHP.js → chunk-KV2W3FZQ.js} +2 -2
  460. package/__chunks__/chunk-KZDDY6I5.js +2 -0
  461. package/__chunks__/{chunk-6FFW3KZV.js → chunk-L4RSVJLG.js} +2 -2
  462. package/__chunks__/{chunk-PMPP73O7.js → chunk-L7YGAYGO.js} +2 -2
  463. package/__chunks__/{chunk-UKB3OG5J.js → chunk-LAO3XYQ7.js} +2 -2
  464. package/__chunks__/chunk-LDIRAXTU.js +2 -0
  465. package/__chunks__/{chunk-FSKQ6S62.js → chunk-LKG3Z2FU.js} +2 -2
  466. package/__chunks__/{chunk-QDGVR252.js → chunk-LNGOZXNQ.js} +2 -2
  467. package/__chunks__/chunk-LPVN3OR5.js +2 -0
  468. package/__chunks__/{chunk-QACUZUIV.js → chunk-LQIS3XWO.js} +2 -2
  469. package/__chunks__/chunk-LRJG45HJ.js +2 -0
  470. package/__chunks__/{chunk-VEJWGZSY.js → chunk-LTVCG3JF.js} +2 -2
  471. package/__chunks__/chunk-LWVX4ZF3.js +2 -0
  472. package/__chunks__/{chunk-AQNMTUOT.js → chunk-MBXZPLJ4.js} +2 -2
  473. package/__chunks__/chunk-MHY4L2EL.js +2 -0
  474. package/__chunks__/{chunk-FLUP6EZA.js → chunk-ML26NOVV.js} +2 -2
  475. package/__chunks__/chunk-MO3KJFRB.js +2 -0
  476. package/__chunks__/{chunk-RVZ7AG3E.js → chunk-MTKAOKGI.js} +2 -2
  477. package/__chunks__/{chunk-NDZZB2CQ.js → chunk-MW5UTX4O.js} +2 -2
  478. package/__chunks__/chunk-MZXOZ47V.js +2 -0
  479. package/__chunks__/chunk-N5SL37IL.js +2 -0
  480. package/__chunks__/{chunk-FFMKRFPB.js → chunk-N5VATWER.js} +2 -2
  481. package/__chunks__/{chunk-4JIDTWEO.js → chunk-N7IH3YMI.js} +2 -2
  482. package/__chunks__/chunk-NPQQD4IN.js +2 -0
  483. package/__chunks__/{chunk-SLIXXXCT.js → chunk-NRRT53RB.js} +2 -2
  484. package/__chunks__/{chunk-Q57K4YCR.js → chunk-NS6EZXKW.js} +2 -2
  485. package/__chunks__/chunk-O5QBBKY7.js +2 -0
  486. package/__chunks__/{chunk-ZWBG2TCD.js → chunk-O7F435WF.js} +2 -2
  487. package/__chunks__/{chunk-S35VFZFS.js → chunk-OC4WFUCV.js} +2 -2
  488. package/__chunks__/{chunk-6EXTUI7X.js → chunk-OEJPGDRL.js} +2 -2
  489. package/__chunks__/{chunk-STCYR7UT.js → chunk-OF4YELHM.js} +2 -2
  490. package/__chunks__/chunk-OGCEUQKT.js +2 -0
  491. package/__chunks__/{chunk-U6ZKLV2L.js → chunk-OMXURMKX.js} +2 -2
  492. package/__chunks__/{chunk-PDR4QRYD.js → chunk-OSVHTFGA.js} +2 -2
  493. package/__chunks__/{chunk-QWMHZSCD.js → chunk-OU4XE62J.js} +2 -2
  494. package/__chunks__/{chunk-GIZYCRDY.js → chunk-P3YH3CNI.js} +2 -2
  495. package/__chunks__/chunk-PAEGZUAS.js +2 -0
  496. package/__chunks__/{chunk-WCG7LRWA.js → chunk-PBRUGNAH.js} +2 -2
  497. package/__chunks__/{chunk-JOISVM5G.js → chunk-PCDAUX2O.js} +2 -2
  498. package/__chunks__/{chunk-OHI54DJL.js → chunk-PILCDQEP.js} +2 -2
  499. package/__chunks__/{chunk-KX44Y73F.js → chunk-POUJCATT.js} +2 -2
  500. package/__chunks__/{chunk-FUN3E5AY.js → chunk-PUFULSFK.js} +2 -2
  501. package/__chunks__/{chunk-DMFSU6ZN.js → chunk-PYAUVNDC.js} +2 -2
  502. package/__chunks__/chunk-Q6ZOEDLU.js +2 -0
  503. package/__chunks__/{chunk-EA2OMCMY.js → chunk-QAKWBGMX.js} +2 -2
  504. package/__chunks__/{chunk-D7ACJRTV.js → chunk-QCEZ5KJ6.js} +2 -2
  505. package/__chunks__/{chunk-IQ4Q4OHP.js → chunk-QFWW55DY.js} +2 -2
  506. package/__chunks__/{chunk-46P4YVZD.js → chunk-QJH2Z3MH.js} +2 -2
  507. package/__chunks__/{chunk-CSZ5PVAC.js → chunk-QLDIPBCA.js} +2 -2
  508. package/__chunks__/chunk-QVEWVWX2.js +2 -0
  509. package/__chunks__/{chunk-IRA2TP6H.js → chunk-QWTHUYAV.js} +2 -2
  510. package/__chunks__/{chunk-TAX5G2A3.js → chunk-QWTJX2CR.js} +2 -2
  511. package/__chunks__/{chunk-4E55MMND.js → chunk-QXDOR7V3.js} +2 -2
  512. package/__chunks__/chunk-QY7F2ZSQ.js +2 -0
  513. package/__chunks__/chunk-QYHPEWJT.js +2 -0
  514. package/__chunks__/chunk-QZDDTVM5.js +2 -0
  515. package/__chunks__/chunk-QZPF2AQN.js +2 -0
  516. package/__chunks__/{chunk-NCYVLE3G.js → chunk-R243H6WT.js} +2 -2
  517. package/__chunks__/{chunk-TRB4FAIN.js → chunk-R46N7BH4.js} +2 -2
  518. package/__chunks__/{chunk-4OTIF5CM.js → chunk-RADZXL45.js} +2 -2
  519. package/__chunks__/chunk-RAHNLIU2.js +2 -0
  520. package/__chunks__/{chunk-X7P2L3JD.js → chunk-RDYR43B6.js} +2 -2
  521. package/__chunks__/chunk-REOW3RVS.js +2 -0
  522. package/__chunks__/chunk-RGPUGG42.js +2 -0
  523. package/__chunks__/{chunk-BC7DFAYI.js → chunk-RSSOJ5OU.js} +2 -2
  524. package/__chunks__/{chunk-IBPDCYDQ.js → chunk-RYIW54CV.js} +2 -2
  525. package/__chunks__/chunk-S2HYPC3V.js +2 -0
  526. package/__chunks__/{chunk-Q4KWWSN6.js → chunk-S2RK5U4Z.js} +2 -2
  527. package/__chunks__/{chunk-E2E6F27A.js → chunk-S5LC44OW.js} +2 -2
  528. package/__chunks__/{chunk-I4PP5FU7.js → chunk-SG7YDVJJ.js} +2 -2
  529. package/__chunks__/{chunk-UV7UBSGN.js → chunk-STEAKDVO.js} +2 -2
  530. package/__chunks__/{chunk-LQPVZGMY.js → chunk-SVOY5JQ4.js} +2 -2
  531. package/__chunks__/{chunk-GJPBQWAZ.js → chunk-SYVEZT7U.js} +2 -2
  532. package/__chunks__/{chunk-GKB33TEN.js → chunk-T3WPA3MW.js} +2 -2
  533. package/__chunks__/{chunk-5GWRJVI4.js → chunk-T4JCG2JD.js} +2 -2
  534. package/__chunks__/chunk-T7U65SC5.js +2 -0
  535. package/__chunks__/{chunk-E4LWP43R.js → chunk-TGIHM47G.js} +2 -2
  536. package/__chunks__/{chunk-YDYOZNTT.js → chunk-TI5TZTIF.js} +2 -2
  537. package/__chunks__/{chunk-XLN2ZZXA.js → chunk-TIE766XS.js} +2 -2
  538. package/__chunks__/{chunk-BU5GPREC.js → chunk-TLNIU2JJ.js} +2 -2
  539. package/__chunks__/{chunk-FH7CKBU2.js → chunk-TPXYBPX7.js} +2 -2
  540. package/__chunks__/chunk-TQ3IBMMH.js +2 -0
  541. package/__chunks__/{chunk-PJWIA7PR.js → chunk-TRZWFZ2G.js} +2 -2
  542. package/__chunks__/{chunk-4T7ZO3NJ.js → chunk-TTGGRHYD.js} +2 -2
  543. package/__chunks__/{chunk-PH4REAIR.js → chunk-TVYQFMNM.js} +2 -2
  544. package/__chunks__/{chunk-52GZQSQQ.js → chunk-TWA63P5U.js} +2 -2
  545. package/__chunks__/{chunk-QO5CI3W3.js → chunk-TY4JRVKH.js} +2 -2
  546. package/__chunks__/chunk-TYEQGKLG.js +2 -0
  547. package/__chunks__/{chunk-PL3AOEQA.js → chunk-U2W5HXRD.js} +2 -2
  548. package/__chunks__/{chunk-N6KNS3AG.js → chunk-UAKCO27Y.js} +2 -2
  549. package/__chunks__/chunk-UAYQXV5U.js +2 -0
  550. package/__chunks__/{chunk-IUMHNKD3.js → chunk-UB6VDRDB.js} +2 -2
  551. package/__chunks__/{chunk-DMRV2PNT.js → chunk-UC6IWB34.js} +2 -2
  552. package/__chunks__/chunk-UCQNIEUZ.js +2 -0
  553. package/__chunks__/{chunk-YJXAVQTB.js → chunk-UDMWOQEK.js} +2 -2
  554. package/__chunks__/{chunk-BZZKFYUP.js → chunk-UG7M2NK3.js} +2 -2
  555. package/__chunks__/chunk-UJXLXZAH.js +2 -0
  556. package/__chunks__/{chunk-SP3FLANJ.js → chunk-UK75ZR6W.js} +2 -2
  557. package/__chunks__/{chunk-FNQ34GUF.js → chunk-UUXOIJCH.js} +2 -2
  558. package/__chunks__/{chunk-D4XVJNJD.js → chunk-UUYC62RJ.js} +2 -2
  559. package/__chunks__/{chunk-OM5U6ZDG.js → chunk-UZTIVTF2.js} +2 -2
  560. package/__chunks__/{chunk-6P6XZBSZ.js → chunk-V3PQVRGP.js} +2 -2
  561. package/__chunks__/{chunk-GOC5XL2T.js → chunk-V44EN5XF.js} +2 -2
  562. package/__chunks__/{chunk-XUFCIMOG.js → chunk-V4ZZZI4O.js} +2 -2
  563. package/__chunks__/{chunk-REEVO34Y.js → chunk-V66OYGOX.js} +2 -2
  564. package/__chunks__/{chunk-VLHJRIAD.js → chunk-VFJVVIKH.js} +2 -2
  565. package/__chunks__/{chunk-Y2OPMC5M.js → chunk-VHVGSXKL.js} +2 -2
  566. package/__chunks__/{chunk-OHT6ZHDN.js → chunk-VOBJYTDL.js} +2 -2
  567. package/__chunks__/{chunk-O3FUDSU3.js → chunk-VSUHY63Y.js} +2 -2
  568. package/__chunks__/{chunk-T3BTW7ET.js → chunk-VUS67ZQ3.js} +2 -2
  569. package/__chunks__/{chunk-QU44OHXW.js → chunk-WECD4JWK.js} +2 -2
  570. package/__chunks__/chunk-WHDKFORH.js +2 -0
  571. package/__chunks__/{chunk-DHPFKOGN.js → chunk-WMZRLDDB.js} +2 -2
  572. package/__chunks__/{chunk-BKGJ6PDT.js → chunk-WNQCX4IP.js} +2 -2
  573. package/__chunks__/{chunk-EA2V4EKL.js → chunk-WP6G36GM.js} +2 -2
  574. package/__chunks__/{chunk-JLLA7PNH.js → chunk-WQNZIAMR.js} +2 -2
  575. package/__chunks__/{chunk-KN3MLH5I.js → chunk-WRLOADUZ.js} +2 -2
  576. package/__chunks__/{chunk-LJUDNTXH.js → chunk-WT6EZTBA.js} +2 -2
  577. package/__chunks__/{chunk-LFIJVHS5.js → chunk-WWURVI45.js} +2 -2
  578. package/__chunks__/{chunk-FI4DHEOF.js → chunk-X3F6CNIN.js} +2 -2
  579. package/__chunks__/{chunk-ZDO6OEG3.js → chunk-X5EW6ZQW.js} +2 -2
  580. package/__chunks__/{chunk-ZSAHEZD4.js → chunk-X5TPOJCQ.js} +2 -2
  581. package/__chunks__/{chunk-BYD2YVTR.js → chunk-X66DMNPB.js} +2 -2
  582. package/__chunks__/{chunk-4ZMBK4II.js → chunk-XENJPWMO.js} +2 -2
  583. package/__chunks__/{chunk-YAL223HA.js → chunk-XIHIVGQW.js} +2 -2
  584. package/__chunks__/chunk-XJDKUA5I.js +2 -0
  585. package/__chunks__/{chunk-HNOOPEPU.js → chunk-XM6H2TJ7.js} +2 -2
  586. package/__chunks__/chunk-XN56C7CW.js +2 -0
  587. package/__chunks__/{chunk-7CLPSNRB.js → chunk-XP3W7L43.js} +2 -2
  588. package/__chunks__/{chunk-4CVXMSZ6.js → chunk-XPSMGERS.js} +2 -2
  589. package/__chunks__/{chunk-EXXER247.js → chunk-XSZJKQ47.js} +2 -2
  590. package/__chunks__/{chunk-ENKQDPYE.js → chunk-XZE3PVAW.js} +2 -2
  591. package/__chunks__/{chunk-32TZ3KVP.js → chunk-XZPPYHZ4.js} +2 -2
  592. package/__chunks__/{chunk-PAMZHXRE.js → chunk-Y5O7ZJPX.js} +2 -2
  593. package/__chunks__/{chunk-AIWQRAIU.js → chunk-Y6BFOXIU.js} +2 -2
  594. package/__chunks__/chunk-YBPX3PS2.js +2 -0
  595. package/__chunks__/{chunk-Y7G25H34.js → chunk-YDU2CHXH.js} +2 -2
  596. package/__chunks__/{chunk-O7FUIRHR.js → chunk-YEUOZTD5.js} +2 -2
  597. package/__chunks__/chunk-YFBNITRK.js +2 -0
  598. package/__chunks__/chunk-YFZCFTI5.js +2 -0
  599. package/__chunks__/{chunk-XJG6RDSJ.js → chunk-YGC6P6CN.js} +2 -2
  600. package/__chunks__/{chunk-PCIMRTPI.js → chunk-YMPVYOGJ.js} +2 -2
  601. package/__chunks__/{chunk-EFBP64F5.js → chunk-YN2EELKV.js} +2 -2
  602. package/__chunks__/{chunk-ZFNZFS3L.js → chunk-YUXJQN6D.js} +2 -2
  603. package/__chunks__/{chunk-Z5JQJS7X.js → chunk-Z2FXGPPI.js} +2 -2
  604. package/__chunks__/{chunk-2HXSFGMC.js → chunk-Z3ANC3ND.js} +2 -2
  605. package/__chunks__/{chunk-KTUSJYS3.js → chunk-Z4VCS5B6.js} +2 -2
  606. package/__chunks__/{chunk-3G5NCZED.js → chunk-ZATQ7HNF.js} +2 -2
  607. package/__chunks__/{chunk-CU73YSIW.js → chunk-ZFIPAX5Z.js} +2 -2
  608. package/__chunks__/{chunk-4N7Q56FZ.js → chunk-ZH3TF467.js} +2 -2
  609. package/__chunks__/{chunk-UGDDXJ4Z.js → chunk-ZKRSLYKM.js} +2 -2
  610. package/__chunks__/{chunk-LLLHCR7L.js → chunk-ZLMOEVKI.js} +2 -2
  611. package/__chunks__/{chunk-CGIYYVNI.js → chunk-ZPNCO7ZN.js} +2 -2
  612. package/__chunks__/chunk-ZQQJCWVT.js +2 -0
  613. package/__chunks__/{chunk-5DZPKHI5.js → chunk-ZRSLTBJN.js} +2 -2
  614. package/__chunks__/{chunk-D2UFB6HP.js → chunk-ZTZP55KR.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/TransactionInfo/components/transactionInfoFields/index.js +1 -1
  631. package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/TransactionToastFooter.js +1 -1
  632. package/__commonjs/UI/index.js +4 -4
  633. package/__commonjs/UI/ledger/LedgerLoginContainer/LedgerLoginContent/LedgerLoginContent.js +1 -1
  634. package/__commonjs/UI/ledger/LedgerLoginContainer/LedgerLoginContent/index.js +1 -1
  635. package/__commonjs/UI/ledger/LedgerLoginContainer/LedgerLoginContentBody/LedgerLoginContentBody.js +1 -1
  636. package/__commonjs/UI/ledger/LedgerLoginContainer/LedgerLoginContentBody/index.js +1 -1
  637. package/__commonjs/UI/metamask/MetamaskLoginButton/MetamaskLoginButton.js +6 -6
  638. package/__commonjs/UI/metamask/MetamaskLoginButton/index.js +6 -6
  639. package/__commonjs/UI/webWallet/XaliasCrossWindowLoginButton/XaliasCrossWindowLoginButton.js +5 -5
  640. package/__commonjs/UI/webWallet/XaliasCrossWindowLoginButton/index.js +5 -5
  641. package/__commonjs/__mocks__/index.js +1 -1
  642. package/__commonjs/__mocks__/utils/index.js +1 -1
  643. package/__commonjs/__mocks__/utils/renderWithProvider.js +1 -1
  644. package/__commonjs/constants/index.js +1 -1
  645. package/__commonjs/hooks/index.js +1 -1
  646. package/__commonjs/hooks/transactions/helpers/checkNeedsGuardianSigning.js +1 -1
  647. package/__commonjs/hooks/transactions/helpers/index.js +1 -1
  648. package/__commonjs/hooks/transactions/index.js +1 -1
  649. package/__commonjs/hooks/transactions/useSignTransactions.js +1 -1
  650. package/__commonjs/hooks/transactions/useSignTransactionsWithDevice.js +1 -1
  651. package/__commonjs/hooks/transactions/useSignTransactionsWithLedger.js +1 -1
  652. package/__commonjs/providers/experimentalWebViewProvider/useInitiateExperimentalWebviewLogin.js +1 -1
  653. package/__commonjs/utils/index.js +1 -1
  654. package/__commonjs/utils/transactions/builtCallbackUrl.js +1 -1
  655. package/__commonjs/utils/transactions/index.js +1 -1
  656. package/__commonjs/wrappers/DappProvider/DappProvider.js +1 -1
  657. package/__commonjs/wrappers/DappProvider/index.js +1 -1
  658. package/__commonjs/wrappers/index.js +1 -1
  659. package/__mocks__/index.js +1 -1
  660. package/__mocks__/utils/index.js +1 -1
  661. package/__mocks__/utils/renderWithProvider.js +1 -1
  662. package/apiCalls/accounts/getAccountFromApi.js +1 -1
  663. package/apiCalls/accounts/index.js +1 -1
  664. package/apiCalls/accounts/useGetAccountFromApi.js +1 -1
  665. package/apiCalls/configuration/getGasStationMetadata.js +1 -1
  666. package/apiCalls/configuration/getNetworkConfig.js +1 -1
  667. package/apiCalls/configuration/index.js +1 -1
  668. package/apiCalls/configuration/useGetNetworkConfigFromApi.js +1 -1
  669. package/apiCalls/configuration/useGetServerConfigurationFromApi.js +1 -1
  670. package/apiCalls/economics/getEconomicsInfo.js +1 -1
  671. package/apiCalls/economics/index.js +1 -1
  672. package/apiCalls/economics/useGetEconomicsInfoFromApi.js +1 -1
  673. package/apiCalls/index.js +1 -1
  674. package/apiCalls/tokens/getPersistedToken.js +1 -1
  675. package/apiCalls/transactions/getTransactionsByHashes.js +1 -1
  676. package/apiCalls/transactions/index.js +1 -1
  677. package/apiCalls/transactions/sendSignedBatchTransactions.js +1 -1
  678. package/apiCalls/transactions/sendSignedTransactions.js +1 -1
  679. package/apiCalls/transactions/useGetTransactionsFromApi.js +1 -1
  680. package/apiCalls/utils/getCleanApiAddress.js +1 -1
  681. package/apiCalls/utils/getScamAddressData.js +1 -1
  682. package/apiCalls/utils/index.js +1 -1
  683. package/apiCalls/utils/useApiFetch.js +1 -1
  684. package/components/LogoutListener/LogoutListener.js +1 -1
  685. package/components/LogoutListener/helpers/index.js +1 -1
  686. package/components/LogoutListener/helpers/useLogoutFromMultipleTabs.js +1 -1
  687. package/components/LogoutListener/helpers/useNativeAuthLogout.js +1 -1
  688. package/components/LogoutListener/helpers/useNativeAuthLogoutWarning/index.js +1 -1
  689. package/components/LogoutListener/helpers/useNativeAuthLogoutWarning/useNativeAuthLogoutWarning.js +1 -1
  690. package/components/LogoutListener/index.js +1 -1
  691. package/components/ProviderInitializer/ProviderInitializer.js +1 -1
  692. package/components/ProviderInitializer/helpers/handleGuardianWarning.js +1 -1
  693. package/components/ProviderInitializer/helpers/index.js +1 -1
  694. package/components/ProviderInitializer/helpers/processModifiedAccount.js +1 -1
  695. package/components/ProviderInitializer/hooks/index.js +1 -1
  696. package/components/ProviderInitializer/hooks/useSetLedgerProvider.js +1 -1
  697. package/components/ProviderInitializer/index.js +1 -1
  698. package/components/TransactionSender/TransactionSender.js +1 -1
  699. package/components/TransactionSender/index.js +1 -1
  700. package/components/TransactionSender/utils/handleSendBatchTransactionsErrors.js +1 -1
  701. package/components/TransactionSender/utils/handleSendTransactionsErrors.js +1 -1
  702. package/components/TransactionSender/utils/invokeSendTransactions.js +1 -1
  703. package/components/TransactionsTracker/TransactionTracker.js +1 -1
  704. package/components/TransactionsTracker/index.js +1 -1
  705. package/constants/index.js +1 -1
  706. package/hooks/account/index.js +1 -1
  707. package/hooks/account/useGetAccount.js +1 -1
  708. package/hooks/account/useGetAccountInfo.js +1 -1
  709. package/hooks/account/useGetAccountProvider.js +1 -1
  710. package/hooks/account/useGetBatchWebsocketEvent.js +1 -1
  711. package/hooks/account/useGetIsLoggedIn.js +1 -1
  712. package/hooks/account/useGetIsWalletConnectV2Initialized.js +1 -1
  713. package/hooks/account/useGetLoginInfo.js +1 -1
  714. package/hooks/account/useGetWebsocketEvent.js +1 -1
  715. package/hooks/economics/index.js +1 -1
  716. package/hooks/economics/useGetEgldPrice.js +1 -1
  717. package/hooks/index.js +1 -1
  718. package/hooks/login/index.js +1 -1
  719. package/hooks/login/useCrossWindowLogin.js +1 -1
  720. package/hooks/login/useExtensionLogin.js +1 -1
  721. package/hooks/login/useGetModalLoginMethods.js +1 -1
  722. package/hooks/login/useIframeLogin.js +1 -1
  723. package/hooks/login/useLedgerLogin.js +1 -1
  724. package/hooks/login/useLoginService.js +1 -1
  725. package/hooks/login/useMetamaskLogin.js +1 -1
  726. package/hooks/login/useOperaLogin.js +1 -1
  727. package/hooks/login/usePasskeyLogin.js +1 -1
  728. package/hooks/login/useWalletConnectV2Login.js +1 -1
  729. package/hooks/login/useWebViewLogin.js +1 -1
  730. package/hooks/login/useWebWalletLogin.js +1 -1
  731. package/hooks/login/useXaliasLogin.js +1 -1
  732. package/hooks/signMessage/index.js +1 -1
  733. package/hooks/signMessage/useGetLastSignedMessageSession.js +1 -1
  734. package/hooks/signMessage/useGetSignMessageSession.js +1 -1
  735. package/hooks/signMessage/useGetSignedMessageStatus.js +1 -1
  736. package/hooks/signMessage/useSignMessage.js +1 -1
  737. package/hooks/toasts/index.js +1 -1
  738. package/hooks/toasts/useGetToasts.js +1 -1
  739. package/hooks/toasts/useTransactionsToasts.js +1 -1
  740. package/hooks/transactions/batch/tracker/useBatchTransactionsTracker.js +1 -1
  741. package/hooks/transactions/batch/tracker/useCheckBatch.js +1 -1
  742. package/hooks/transactions/batch/tracker/useCheckBatchesOnWsFailureFallback.js +1 -1
  743. package/hooks/transactions/batch/tracker/useCheckHangingBatchesFallback.js +1 -1
  744. package/hooks/transactions/batch/tracker/useVerifyBatchStatus.js +1 -1
  745. package/hooks/transactions/batch/useGetBatchStatus.js +1 -1
  746. package/hooks/transactions/batch/useGetBatches.js +1 -1
  747. package/hooks/transactions/batch/useResolveBatchStatusResponse.js +1 -1
  748. package/hooks/transactions/batch/useSendBatchTransactions.js +1 -1
  749. package/hooks/transactions/helpers/buildBatchId.js +1 -1
  750. package/hooks/transactions/helpers/checkNeedsGuardianSigning.js +1 -1
  751. package/hooks/transactions/helpers/extractSessionId.js +1 -1
  752. package/hooks/transactions/helpers/getShouldMoveTransactionsToSignedState.js +1 -1
  753. package/hooks/transactions/helpers/index.js +1 -1
  754. package/hooks/transactions/helpers/useClearTransactionsToSignWithWarning.js +1 -1
  755. package/hooks/transactions/helpers/useGetLedgerProvider.js +1 -1
  756. package/hooks/transactions/helpers/useSetTransactionNonces.js +1 -1
  757. package/hooks/transactions/index.js +1 -1
  758. package/hooks/transactions/useCancelActionAndDispose.js +1 -1
  759. package/hooks/transactions/useCancelWalletConnectAction.js +1 -1
  760. package/hooks/transactions/useCheckTransactionStatus/checkBatch.js +1 -1
  761. package/hooks/transactions/useCheckTransactionStatus/index.js +1 -1
  762. package/hooks/transactions/useCheckTransactionStatus/manageFailedTransactions.js +1 -1
  763. package/hooks/transactions/useCheckTransactionStatus/manageTimedOutTransactions.js +1 -1
  764. package/hooks/transactions/useCheckTransactionStatus/useCheckTransactionStatus.js +1 -1
  765. package/hooks/transactions/useGetActiveTransactionsStatus.js +1 -1
  766. package/hooks/transactions/useGetFailedTransactions.js +1 -1
  767. package/hooks/transactions/useGetLastPendingTransactionHash.js +1 -1
  768. package/hooks/transactions/useGetPendingTransactions.js +1 -1
  769. package/hooks/transactions/useGetPollingInterval.js +1 -1
  770. package/hooks/transactions/useGetSignTransactionsError.js +1 -1
  771. package/hooks/transactions/useGetSignedTransactions.js +1 -1
  772. package/hooks/transactions/useGetSuccessfulTransactions.js +1 -1
  773. package/hooks/transactions/useGetTokenDetails.js +1 -1
  774. package/hooks/transactions/useGetTransactionDisplayInfo.js +1 -1
  775. package/hooks/transactions/useParseSignedTransactions.js +1 -1
  776. package/hooks/transactions/useSignMultipleTransactions.js +1 -1
  777. package/hooks/transactions/useSignTransactions.js +1 -1
  778. package/hooks/transactions/useSignTransactionsCommonData.js +1 -1
  779. package/hooks/transactions/useSignTransactionsWithDevice.js +1 -1
  780. package/hooks/transactions/useSignTransactionsWithLedger.js +1 -1
  781. package/hooks/transactions/useTrackTransactionStatus.js +1 -1
  782. package/hooks/transactions/useTransactionsTracker/index.js +1 -1
  783. package/hooks/transactions/useTransactionsTracker/useCheckHangingTransactionsFallback.js +1 -1
  784. package/hooks/transactions/useTransactionsTracker/useCheckTransactionOnWsFailureFallback.js +1 -1
  785. package/hooks/transactions/useTransactionsTracker/useTransactionsTracker.js +1 -1
  786. package/hooks/transactions/useTransactionsTracker/useUpdateTrackedTransactions.js +1 -1
  787. package/hooks/transactions/useTransactionsTracker/useWebsocketPollingFallback.js +1 -1
  788. package/hooks/useGetNetworkConfig.js +1 -1
  789. package/hooks/useGetNotification.js +1 -1
  790. package/hooks/websocketListener/index.js +1 -1
  791. package/hooks/websocketListener/useInitializeWebsocketConnection.js +1 -1
  792. package/hooks/websocketListener/useRegisterWebsocketListener.js +1 -1
  793. package/models/index.js +1 -1
  794. package/models/newTransaction.js +1 -1
  795. package/package.json +2 -3
  796. package/providers/accountProvider.js +1 -1
  797. package/providers/experimentalWebViewProvider/ExperimentalWebviewProvider.js +1 -1
  798. package/providers/experimentalWebViewProvider/index.js +1 -1
  799. package/providers/experimentalWebViewProvider/useInitiateExperimentalWebviewLogin.js +1 -1
  800. package/providers/index.js +1 -1
  801. package/providers/utils.js +1 -1
  802. package/providers/webviewProvider/index.js +1 -1
  803. package/providers/webviewProvider/requestMethods.js +1 -1
  804. package/providers/webviewProvider/webviewProvider.js +1 -1
  805. package/reduxStore/DappProviderContext.js +1 -1
  806. package/reduxStore/commonActions.js +1 -1
  807. package/reduxStore/middlewares/loginSessionMiddleware.js +1 -1
  808. package/reduxStore/persistConfig.js +1 -1
  809. package/reduxStore/persistedRootReducer.js +1 -1
  810. package/reduxStore/reducers.js +1 -1
  811. package/reduxStore/rootReducer.js +1 -1
  812. package/reduxStore/selectors/accountInfoSelectors.js +1 -1
  813. package/reduxStore/selectors/index.js +1 -1
  814. package/reduxStore/selectors/loginInfoSelectors.js +1 -1
  815. package/reduxStore/selectors/transactionsInfoSelectors.js +1 -1
  816. package/reduxStore/selectors/transactionsSelectors.js +1 -1
  817. package/reduxStore/slices/accountInfoSlice.js +1 -1
  818. package/reduxStore/slices/batchTransactionsSlice.js +1 -1
  819. package/reduxStore/slices/dappConfigSlice.js +1 -1
  820. package/reduxStore/slices/index.js +1 -1
  821. package/reduxStore/slices/loginInfoSlice.js +1 -1
  822. package/reduxStore/slices/modalsSlice.js +1 -1
  823. package/reduxStore/slices/networkConfigSlice.js +1 -1
  824. package/reduxStore/slices/signedMessageInfoSlice.js +1 -1
  825. package/reduxStore/slices/toastsSlice.js +1 -1
  826. package/reduxStore/slices/transactionsInfoSlice.js +1 -1
  827. package/reduxStore/slices/transactionsSlice.js +1 -1
  828. package/reduxStore/store.js +1 -1
  829. package/services/index.js +1 -1
  830. package/services/nativeAuth/helpers/getAuthorizationInfo.js +1 -1
  831. package/services/nativeAuth/helpers/getIsNativeAuthSingingForbidden.js +1 -1
  832. package/services/nativeAuth/helpers/index.js +1 -1
  833. package/services/nativeAuth/helpers/loginWithNativeAuthToken.js +1 -1
  834. package/services/transactions/__tests__/transformAndSignTransactions.test.js +1 -1
  835. package/services/transactions/clearTransactions.js +1 -1
  836. package/services/transactions/getBatchTransactionsStatus.js +1 -1
  837. package/services/transactions/getTransactionsDetails.js +1 -1
  838. package/services/transactions/index.js +1 -1
  839. package/services/transactions/isCrossShardTransaction.js +1 -1
  840. package/services/transactions/sendBatchTransactions.js +1 -1
  841. package/services/transactions/sendBatchTransactions.test.js +1 -1
  842. package/services/transactions/sendTransactions.js +1 -1
  843. package/services/transactions/signTransactions.js +1 -1
  844. package/services/transactions/transformAndSignTransactions.js +1 -1
  845. package/services/transactions/updateSignedTransactions.js +1 -1
  846. package/services/transactions/utils/transformTransactionsToSign.js +1 -1
  847. package/services/transactions/utils.js +1 -1
  848. package/utils/account/getAccount.js +1 -1
  849. package/utils/account/getAccountBalance.js +1 -1
  850. package/utils/account/getAccountProviderType.js +1 -1
  851. package/utils/account/getAccountShard.js +1 -1
  852. package/utils/account/getAddress.js +1 -1
  853. package/utils/account/getIsProviderEqualTo.js +1 -1
  854. package/utils/account/getLatestNonce.js +1 -1
  855. package/utils/account/getShardOfAddress.js +1 -1
  856. package/utils/account/getWebviewToken.js +1 -1
  857. package/utils/account/index.js +1 -1
  858. package/utils/account/loginWithExternalProvider.js +1 -1
  859. package/utils/account/refreshAccount.js +1 -1
  860. package/utils/account/setNonce.js +1 -1
  861. package/utils/account/signMessage.js +1 -1
  862. package/utils/getIsLoggedIn.js +1 -1
  863. package/utils/index.js +1 -1
  864. package/utils/logout.js +1 -1
  865. package/utils/network/getChainID.js +1 -1
  866. package/utils/network/getEgldLabel.js +1 -1
  867. package/utils/network/getNetworkConfig.js +1 -1
  868. package/utils/network/index.js +1 -1
  869. package/utils/operations/calculateFeeInFiat.js +1 -1
  870. package/utils/operations/calculateFeeLimit.js +1 -1
  871. package/utils/operations/denominate.js +1 -1
  872. package/utils/operations/formatAmount.js +1 -1
  873. package/utils/operations/index.js +1 -1
  874. package/utils/operations/ledger/getLedgerVersionOptions.js +1 -1
  875. package/utils/operations/ledger/index.js +1 -1
  876. package/utils/operations/nominate.js +1 -1
  877. package/utils/operations/parseAmount.js +1 -1
  878. package/utils/toasts/customToastsActions.js +1 -1
  879. package/utils/toasts/index.js +1 -1
  880. package/utils/transactions/batch/updateBatchTransactionsStatuses.js +1 -1
  881. package/utils/transactions/builtCallbackUrl.js +1 -1
  882. package/utils/transactions/getAllTransactionsLink.js +1 -1
  883. package/utils/transactions/getAreTransactionsOnSameShard.js +1 -1
  884. package/utils/transactions/getInterpretedTransaction/getInterpretedTransaction.js +1 -1
  885. package/utils/transactions/getInterpretedTransaction/helpers/getReceiptMessage.js +1 -1
  886. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/getTransactionValue.js +1 -1
  887. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getEgldValueData.js +1 -1
  888. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getTitleText.js +1 -1
  889. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getValueFromActions.js +1 -1
  890. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getValueFromDataField.js +1 -1
  891. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getValueFromOperations.js +1 -1
  892. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/index.js +1 -1
  893. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/index.js +1 -1
  894. package/utils/transactions/getInterpretedTransaction/helpers/index.js +1 -1
  895. package/utils/transactions/getInterpretedTransaction/index.js +1 -1
  896. package/utils/transactions/getOperationsDetails.js +1 -1
  897. package/utils/transactions/getTransactionLink.js +1 -1
  898. package/utils/transactions/index.js +1 -1
  899. package/utils/transactions/isGuardianTx.js +1 -1
  900. package/utils/transactions/parseTransactionAfterSigning.js +1 -1
  901. package/utils/transactions/removeTransactionParamsFromUrl.js +1 -1
  902. package/utils/transactions/transactionInfoHelpers/getShardText.js +1 -1
  903. package/utils/transactions/transactionInfoHelpers/getTransactionActionNftText.js +1 -1
  904. package/utils/transactions/transactionInfoHelpers/getTransactionActionTokenText.js +1 -1
  905. package/utils/transactions/transactionInfoHelpers/getTransactionMessages.js +1 -1
  906. package/utils/transactions/transactionInfoHelpers/index.js +1 -1
  907. package/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/helpers/index.js +1 -1
  908. package/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/helpers/mexUnwrapper.js +1 -1
  909. package/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/index.js +1 -1
  910. package/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/transactionActionUnwrapper.js +1 -1
  911. package/utils/validation/index.js +1 -1
  912. package/utils/validation/maxDecimals.js +1 -1
  913. package/utils/validation/stringIsFloat.js +1 -1
  914. package/utils/waitForChainID.js +1 -1
  915. package/utils/walletconnect/__mocks__/sdkWalletconnectProvider.js +1 -1
  916. package/web/hooks/index.js +1 -1
  917. package/web/hooks/useIdleTimer.js +1 -1
  918. package/web/index.js +1 -1
  919. package/wrappers/AppInitializer.js +1 -1
  920. package/wrappers/AuthenticatedRoutesWrapper/AuthenticatedRoutesWrapper.js +1 -1
  921. package/wrappers/AuthenticatedRoutesWrapper/index.js +1 -1
  922. package/wrappers/AxiosInterceptorContext/AxiosInterceptorContext.js +1 -1
  923. package/wrappers/AxiosInterceptorContext/components/AxiosInterceptor.js +1 -1
  924. package/wrappers/AxiosInterceptorContext/components/AxiosInterceptorContextProvider.js +1 -1
  925. package/wrappers/AxiosInterceptorContext/components/LoginInfoListener.js +1 -1
  926. package/wrappers/AxiosInterceptorContext/components/index.js +1 -1
  927. package/wrappers/AxiosInterceptorContext/index.js +1 -1
  928. package/wrappers/DappProvider/CustomComponents.js +1 -1
  929. package/wrappers/DappProvider/DappProvider.js +1 -1
  930. package/wrappers/DappProvider/index.js +1 -1
  931. package/wrappers/index.js +1 -1
  932. package/__chunks__/chunk-2LVPAZHB.js +0 -2
  933. package/__chunks__/chunk-3QREC3PD.js +0 -2
  934. package/__chunks__/chunk-3X2CXJEB.js +0 -2
  935. package/__chunks__/chunk-44UG3WIE.js +0 -2
  936. package/__chunks__/chunk-4AQYICZ5.js +0 -2
  937. package/__chunks__/chunk-4LJYNFLA.js +0 -2
  938. package/__chunks__/chunk-52SCRZO5.js +0 -2
  939. package/__chunks__/chunk-54AT5AQQ.js +0 -2
  940. package/__chunks__/chunk-5C4ACRD6.js +0 -2
  941. package/__chunks__/chunk-6EZBBEKE.js +0 -2
  942. package/__chunks__/chunk-6YBFQRAY.js +0 -2
  943. package/__chunks__/chunk-7BXQPYGL.js +0 -2
  944. package/__chunks__/chunk-7KZ2VK76.js +0 -2
  945. package/__chunks__/chunk-7RDYRFXD.js +0 -2
  946. package/__chunks__/chunk-AD5QC2MZ.js +0 -2
  947. package/__chunks__/chunk-AH3GUVUA.js +0 -2
  948. package/__chunks__/chunk-ALJCV6ZS.js +0 -2
  949. package/__chunks__/chunk-B2D2DTKY.js +0 -2
  950. package/__chunks__/chunk-B2S52PNC.js +0 -2
  951. package/__chunks__/chunk-B4SPFNTC.js +0 -2
  952. package/__chunks__/chunk-B6ZWBVRW.js +0 -2
  953. package/__chunks__/chunk-BALR74A5.js +0 -2
  954. package/__chunks__/chunk-BHV2VF55.js +0 -2
  955. package/__chunks__/chunk-BP2EOJK3.js +0 -2
  956. package/__chunks__/chunk-BX75ZZTM.js +0 -2
  957. package/__chunks__/chunk-C7FJFGW6.js +0 -2
  958. package/__chunks__/chunk-CNRFEQE7.js +0 -2
  959. package/__chunks__/chunk-CRZF45CS.js +0 -2
  960. package/__chunks__/chunk-DTWDJD7R.js +0 -2
  961. package/__chunks__/chunk-DVR6CXHR.js +0 -2
  962. package/__chunks__/chunk-EOECQE3D.js +0 -2
  963. package/__chunks__/chunk-ETJP2TOD.js +0 -2
  964. package/__chunks__/chunk-GWBI5UGG.js +0 -2
  965. package/__chunks__/chunk-IKTIJBIO.js +0 -2
  966. package/__chunks__/chunk-KE3REHSE.js +0 -2
  967. package/__chunks__/chunk-KFTRMMYU.js +0 -2
  968. package/__chunks__/chunk-KO2CYOAN.js +0 -2
  969. package/__chunks__/chunk-LDZJ7SUG.js +0 -2
  970. package/__chunks__/chunk-MSCW24GX.js +0 -2
  971. package/__chunks__/chunk-N732HMXM.js +0 -2
  972. package/__chunks__/chunk-O4NOVLC4.js +0 -2
  973. package/__chunks__/chunk-OQXNMVTB.js +0 -2
  974. package/__chunks__/chunk-PQPSGBGB.js +0 -2
  975. package/__chunks__/chunk-PXI6PJHC.js +0 -2
  976. package/__chunks__/chunk-QI66FCA3.js +0 -2
  977. package/__chunks__/chunk-QJTS4U6H.js +0 -2
  978. package/__chunks__/chunk-R62JSL46.js +0 -2
  979. package/__chunks__/chunk-RCCYI4OE.js +0 -2
  980. package/__chunks__/chunk-RHW5DPB5.js +0 -2
  981. package/__chunks__/chunk-RM23U3JT.js +0 -2
  982. package/__chunks__/chunk-RPDLRFYB.js +0 -2
  983. package/__chunks__/chunk-SBOCWYWL.js +0 -2
  984. package/__chunks__/chunk-SS54HMLY.js +0 -2
  985. package/__chunks__/chunk-SVQOMYHB.js +0 -2
  986. package/__chunks__/chunk-UQJFLUDU.js +0 -2
  987. package/__chunks__/chunk-V2YJ5A6H.js +0 -2
  988. package/__chunks__/chunk-VXDAIUTM.js +0 -2
  989. package/__chunks__/chunk-W2PUSARJ.js +0 -2
  990. package/__chunks__/chunk-W46LZV23.js +0 -2
  991. package/__chunks__/chunk-W4HTVWOZ.js +0 -2
  992. package/__chunks__/chunk-W4XEIHBX.js +0 -2
  993. package/__chunks__/chunk-WBR3WJCX.js +0 -2
  994. package/__chunks__/chunk-ZMTXXP4R.js +0 -2
  995. package/__chunks__/chunk-ZZXF35JZ.js +0 -2
@@ -1,4 +1,4 @@
1
- "use strict";var gg=Object.create;var nn=Object.defineProperty,fg=Object.defineProperties,Tg=Object.getOwnPropertyDescriptor,hg=Object.getOwnPropertyDescriptors,xg=Object.getOwnPropertyNames,Wn=Object.getOwnPropertySymbols,yg=Object.getPrototypeOf,la=Object.prototype.hasOwnProperty,ms=Object.prototype.propertyIsEnumerable;var ps=(e,o,t)=>o in e?nn(e,o,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[o]=t,f=(e,o)=>{for(var t in o||(o={}))la.call(o,t)&&ps(e,t,o[t]);if(Wn)for(var t of Wn(o))ms.call(o,t)&&ps(e,t,o[t]);return e},v=(e,o)=>fg(e,hg(o));var _a=e=>typeof e=="symbol"?e:e+"",je=(e,o)=>{var t={};for(var r in e)la.call(e,r)&&o.indexOf(r)<0&&(t[r]=e[r]);if(e!=null&&Wn)for(var r of Wn(e))o.indexOf(r)<0&&ms.call(e,r)&&(t[r]=e[r]);return t};var w=(e,o)=>()=>(e&&(o=e(e=0)),o);var I=(e,o)=>()=>(o||e((o={exports:{}}).exports,o),o.exports),ze=(e,o)=>{for(var t in o)nn(e,t,{get:o[t],enumerable:!0})},ds=(e,o,t,r)=>{if(o&&typeof o=="object"||typeof o=="function")for(let c of xg(o))!la.call(e,c)&&c!==t&&nn(e,c,{get:()=>o[c],enumerable:!(r=Tg(o,c))||r.enumerable});return e};var b=(e,o,t)=>(t=e!=null?gg(yg(e)):{},ds(o||!e||!e.__esModule?nn(t,"default",{value:e,enumerable:!0}):t,e)),Me=e=>ds(nn({},"__esModule",{value:!0}),e);var g=(e,o,t)=>new Promise((r,c)=>{var p=l=>{try{d(t.next(l))}catch(_){c(_)}},m=l=>{try{d(t.throw(l))}catch(_){c(_)}},d=l=>l.done?r(l.value):Promise.resolve(l.value).then(p,m);d((t=t.apply(e,o)).next())});var us=I(Un=>{"use strict";n();Un.byteLength=bg;Un.toByteArray=vg;Un.fromByteArray=kg;var Ke=[],Pe=[],Sg=typeof Uint8Array!="undefined"?Uint8Array:Array,ua="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(qo=0,ls=ua.length;qo<ls;++qo)Ke[qo]=ua[qo],Pe[ua.charCodeAt(qo)]=qo;var qo,ls;Pe["-".charCodeAt(0)]=62;Pe["_".charCodeAt(0)]=63;function _s(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 r=t===o?0:4-t%4;return[t,r]}function bg(e){var o=_s(e),t=o[0],r=o[1];return(t+r)*3/4-r}function wg(e,o,t){return(o+t)*3/4-t}function vg(e){var o,t=_s(e),r=t[0],c=t[1],p=new Sg(wg(e,r,c)),m=0,d=c>0?r-4:r,l;for(l=0;l<d;l+=4)o=Pe[e.charCodeAt(l)]<<18|Pe[e.charCodeAt(l+1)]<<12|Pe[e.charCodeAt(l+2)]<<6|Pe[e.charCodeAt(l+3)],p[m++]=o>>16&255,p[m++]=o>>8&255,p[m++]=o&255;return c===2&&(o=Pe[e.charCodeAt(l)]<<2|Pe[e.charCodeAt(l+1)]>>4,p[m++]=o&255),c===1&&(o=Pe[e.charCodeAt(l)]<<10|Pe[e.charCodeAt(l+1)]<<4|Pe[e.charCodeAt(l+2)]>>2,p[m++]=o>>8&255,p[m++]=o&255),p}function Ag(e){return Ke[e>>18&63]+Ke[e>>12&63]+Ke[e>>6&63]+Ke[e&63]}function Ig(e,o,t){for(var r,c=[],p=o;p<t;p+=3)r=(e[p]<<16&16711680)+(e[p+1]<<8&65280)+(e[p+2]&255),c.push(Ag(r));return c.join("")}function kg(e){for(var o,t=e.length,r=t%3,c=[],p=16383,m=0,d=t-r;m<d;m+=p)c.push(Ig(e,m,m+p>d?d:m+p));return r===1?(o=e[t-1],c.push(Ke[o>>2]+Ke[o<<4&63]+"==")):r===2&&(o=(e[t-2]<<8)+e[t-1],c.push(Ke[o>>10]+Ke[o>>4&63]+Ke[o<<2&63]+"=")),c.join("")}});var gs=I(ga=>{n();ga.read=function(e,o,t,r,c){var p,m,d=c*8-r-1,l=(1<<d)-1,_=l>>1,T=-7,u=t?c-1:0,x=t?-1:1,L=e[o+u];for(u+=x,p=L&(1<<-T)-1,L>>=-T,T+=d;T>0;p=p*256+e[o+u],u+=x,T-=8);for(m=p&(1<<-T)-1,p>>=-T,T+=r;T>0;m=m*256+e[o+u],u+=x,T-=8);if(p===0)p=1-_;else{if(p===l)return m?NaN:(L?-1:1)*(1/0);m=m+Math.pow(2,r),p=p-_}return(L?-1:1)*m*Math.pow(2,p-r)};ga.write=function(e,o,t,r,c,p){var m,d,l,_=p*8-c-1,T=(1<<_)-1,u=T>>1,x=c===23?Math.pow(2,-24)-Math.pow(2,-77):0,L=r?0:p-1,k=r?1:-1,E=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+u>=1?o+=x/l:o+=x*Math.pow(2,1-u),o*l>=2&&(m++,l/=2),m+u>=T?(d=0,m=T):m+u>=1?(d=(o*l-1)*Math.pow(2,c),m=m+u):(d=o*Math.pow(2,u-1)*Math.pow(2,c),m=0));c>=8;e[t+L]=d&255,L+=k,d/=256,c-=8);for(m=m<<c|d,_+=c;_>0;e[t+L]=m&255,L+=k,m/=256,_-=8);e[t+L-k]|=E*128}});var Ls=I(ht=>{"use strict";n();var fa=us(),Tt=gs(),fs=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;ht.Buffer=h;ht.SlowBuffer=Rg;ht.INSPECT_MAX_BYTES=50;var Gn=2147483647;ht.kMaxLength=Gn;h.TYPED_ARRAY_SUPPORT=Lg();!h.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 Lg(){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(h.prototype,"parent",{enumerable:!0,get:function(){if(!!h.isBuffer(this))return this.buffer}});Object.defineProperty(h.prototype,"offset",{enumerable:!0,get:function(){if(!!h.isBuffer(this))return this.byteOffset}});function po(e){if(e>Gn)throw new RangeError('The value "'+e+'" is invalid for option "size"');var o=new Uint8Array(e);return Object.setPrototypeOf(o,h.prototype),o}function h(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 ya(e)}return xs(e,o,t)}h.poolSize=8192;function xs(e,o,t){if(typeof e=="string")return Eg(e,o);if(ArrayBuffer.isView(e))return Cg(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(Xe(e,ArrayBuffer)||e&&Xe(e.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(Xe(e,SharedArrayBuffer)||e&&Xe(e.buffer,SharedArrayBuffer)))return ha(e,o,t);if(typeof e=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var r=e.valueOf&&e.valueOf();if(r!=null&&r!==e)return h.from(r,o,t);var c=Ng(e);if(c)return c;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof e[Symbol.toPrimitive]=="function")return h.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)}h.from=function(e,o,t){return xs(e,o,t)};Object.setPrototypeOf(h.prototype,Uint8Array.prototype);Object.setPrototypeOf(h,Uint8Array);function ys(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 Pg(e,o,t){return ys(e),e<=0?po(e):o!==void 0?typeof t=="string"?po(e).fill(o,t):po(e).fill(o):po(e)}h.alloc=function(e,o,t){return Pg(e,o,t)};function ya(e){return ys(e),po(e<0?0:Sa(e)|0)}h.allocUnsafe=function(e){return ya(e)};h.allocUnsafeSlow=function(e){return ya(e)};function Eg(e,o){if((typeof o!="string"||o==="")&&(o="utf8"),!h.isEncoding(o))throw new TypeError("Unknown encoding: "+o);var t=Ss(e,o)|0,r=po(t),c=r.write(e,o);return c!==t&&(r=r.slice(0,c)),r}function Ta(e){for(var o=e.length<0?0:Sa(e.length)|0,t=po(o),r=0;r<o;r+=1)t[r]=e[r]&255;return t}function Cg(e){if(Xe(e,Uint8Array)){var o=new Uint8Array(e);return ha(o.buffer,o.byteOffset,o.byteLength)}return Ta(e)}function ha(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 r;return o===void 0&&t===void 0?r=new Uint8Array(e):t===void 0?r=new Uint8Array(e,o):r=new Uint8Array(e,o,t),Object.setPrototypeOf(r,h.prototype),r}function Ng(e){if(h.isBuffer(e)){var o=Sa(e.length)|0,t=po(o);return t.length===0||e.copy(t,0,0,o),t}if(e.length!==void 0)return typeof e.length!="number"||ba(e.length)?po(0):Ta(e);if(e.type==="Buffer"&&Array.isArray(e.data))return Ta(e.data)}function Sa(e){if(e>=Gn)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+Gn.toString(16)+" bytes");return e|0}function Rg(e){return+e!=e&&(e=0),h.alloc(+e)}h.isBuffer=function(o){return o!=null&&o._isBuffer===!0&&o!==h.prototype};h.compare=function(o,t){if(Xe(o,Uint8Array)&&(o=h.from(o,o.offset,o.byteLength)),Xe(t,Uint8Array)&&(t=h.from(t,t.offset,t.byteLength)),!h.isBuffer(o)||!h.isBuffer(t))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(o===t)return 0;for(var r=o.length,c=t.length,p=0,m=Math.min(r,c);p<m;++p)if(o[p]!==t[p]){r=o[p],c=t[p];break}return r<c?-1:c<r?1:0};h.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}};h.concat=function(o,t){if(!Array.isArray(o))throw new TypeError('"list" argument must be an Array of Buffers');if(o.length===0)return h.alloc(0);var r;if(t===void 0)for(t=0,r=0;r<o.length;++r)t+=o[r].length;var c=h.allocUnsafe(t),p=0;for(r=0;r<o.length;++r){var m=o[r];if(Xe(m,Uint8Array))p+m.length>c.length?h.from(m).copy(c,p):Uint8Array.prototype.set.call(c,m,p);else if(h.isBuffer(m))m.copy(c,p);else throw new TypeError('"list" argument must be an Array of Buffers');p+=m.length}return c};function Ss(e,o){if(h.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||Xe(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,r=arguments.length>2&&arguments[2]===!0;if(!r&&t===0)return 0;for(var c=!1;;)switch(o){case"ascii":case"latin1":case"binary":return t;case"utf8":case"utf-8":return xa(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return t*2;case"hex":return t>>>1;case"base64":return ks(e).length;default:if(c)return r?-1:xa(e).length;o=(""+o).toLowerCase(),c=!0}}h.byteLength=Ss;function Dg(e,o,t){var r=!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 $g(this,o,t);case"utf8":case"utf-8":return ws(this,o,t);case"ascii":return Hg(this,o,t);case"latin1":case"binary":return Vg(this,o,t);case"base64":return Ug(this,o,t);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return qg(this,o,t);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}h.prototype._isBuffer=!0;function jo(e,o,t){var r=e[o];e[o]=e[t],e[t]=r}h.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)jo(this,t,t+1);return this};h.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)jo(this,t,t+3),jo(this,t+1,t+2);return this};h.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)jo(this,t,t+7),jo(this,t+1,t+6),jo(this,t+2,t+5),jo(this,t+3,t+4);return this};h.prototype.toString=function(){var o=this.length;return o===0?"":arguments.length===0?ws(this,0,o):Dg.apply(this,arguments)};h.prototype.toLocaleString=h.prototype.toString;h.prototype.equals=function(o){if(!h.isBuffer(o))throw new TypeError("Argument must be a Buffer");return this===o?!0:h.compare(this,o)===0};h.prototype.inspect=function(){var o="",t=ht.INSPECT_MAX_BYTES;return o=this.toString("hex",0,t).replace(/(.{2})/g,"$1 ").trim(),this.length>t&&(o+=" ... "),"<Buffer "+o+">"};fs&&(h.prototype[fs]=h.prototype.inspect);h.prototype.compare=function(o,t,r,c,p){if(Xe(o,Uint8Array)&&(o=h.from(o,o.offset,o.byteLength)),!h.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),r===void 0&&(r=o?o.length:0),c===void 0&&(c=0),p===void 0&&(p=this.length),t<0||r>o.length||c<0||p>this.length)throw new RangeError("out of range index");if(c>=p&&t>=r)return 0;if(c>=p)return-1;if(t>=r)return 1;if(t>>>=0,r>>>=0,c>>>=0,p>>>=0,this===o)return 0;for(var m=p-c,d=r-t,l=Math.min(m,d),_=this.slice(c,p),T=o.slice(t,r),u=0;u<l;++u)if(_[u]!==T[u]){m=_[u],d=T[u];break}return m<d?-1:d<m?1:0};function bs(e,o,t,r,c){if(e.length===0)return-1;if(typeof t=="string"?(r=t,t=0):t>2147483647?t=2147483647:t<-2147483648&&(t=-2147483648),t=+t,ba(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=h.from(o,r)),h.isBuffer(o))return o.length===0?-1:Ts(e,o,t,r,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):Ts(e,[o],t,r,c);throw new TypeError("val must be string, number or Buffer")}function Ts(e,o,t,r,c){var p=1,m=e.length,d=o.length;if(r!==void 0&&(r=String(r).toLowerCase(),r==="ucs2"||r==="ucs-2"||r==="utf16le"||r==="utf-16le")){if(e.length<2||o.length<2)return-1;p=2,m/=2,d/=2,t/=2}function l(L,k){return p===1?L[k]:L.readUInt16BE(k*p)}var _;if(c){var T=-1;for(_=t;_<m;_++)if(l(e,_)===l(o,T===-1?0:_-T)){if(T===-1&&(T=_),_-T+1===d)return T*p}else T!==-1&&(_-=_-T),T=-1}else for(t+d>m&&(t=m-d),_=t;_>=0;_--){for(var u=!0,x=0;x<d;x++)if(l(e,_+x)!==l(o,x)){u=!1;break}if(u)return _}return-1}h.prototype.includes=function(o,t,r){return this.indexOf(o,t,r)!==-1};h.prototype.indexOf=function(o,t,r){return bs(this,o,t,r,!0)};h.prototype.lastIndexOf=function(o,t,r){return bs(this,o,t,r,!1)};function Mg(e,o,t,r){t=Number(t)||0;var c=e.length-t;r?(r=Number(r),r>c&&(r=c)):r=c;var p=o.length;r>p/2&&(r=p/2);for(var m=0;m<r;++m){var d=parseInt(o.substr(m*2,2),16);if(ba(d))return m;e[t+m]=d}return m}function Og(e,o,t,r){return Hn(xa(o,e.length-t),e,t,r)}function Bg(e,o,t,r){return Hn(Kg(o),e,t,r)}function Fg(e,o,t,r){return Hn(ks(o),e,t,r)}function Wg(e,o,t,r){return Hn(Xg(o,e.length-t),e,t,r)}h.prototype.write=function(o,t,r,c){if(t===void 0)c="utf8",r=this.length,t=0;else if(r===void 0&&typeof t=="string")c=t,r=this.length,t=0;else if(isFinite(t))t=t>>>0,isFinite(r)?(r=r>>>0,c===void 0&&(c="utf8")):(c=r,r=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var p=this.length-t;if((r===void 0||r>p)&&(r=p),o.length>0&&(r<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 Mg(this,o,t,r);case"utf8":case"utf-8":return Og(this,o,t,r);case"ascii":case"latin1":case"binary":return Bg(this,o,t,r);case"base64":return Fg(this,o,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Wg(this,o,t,r);default:if(m)throw new TypeError("Unknown encoding: "+c);c=(""+c).toLowerCase(),m=!0}};h.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function Ug(e,o,t){return o===0&&t===e.length?fa.fromByteArray(e):fa.fromByteArray(e.slice(o,t))}function ws(e,o,t){t=Math.min(e.length,t);for(var r=[],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,_,T,u;switch(d){case 1:p<128&&(m=p);break;case 2:l=e[c+1],(l&192)===128&&(u=(p&31)<<6|l&63,u>127&&(m=u));break;case 3:l=e[c+1],_=e[c+2],(l&192)===128&&(_&192)===128&&(u=(p&15)<<12|(l&63)<<6|_&63,u>2047&&(u<55296||u>57343)&&(m=u));break;case 4:l=e[c+1],_=e[c+2],T=e[c+3],(l&192)===128&&(_&192)===128&&(T&192)===128&&(u=(p&15)<<18|(l&63)<<12|(_&63)<<6|T&63,u>65535&&u<1114112&&(m=u))}}m===null?(m=65533,d=1):m>65535&&(m-=65536,r.push(m>>>10&1023|55296),m=56320|m&1023),r.push(m),c+=d}return Gg(r)}var hs=4096;function Gg(e){var o=e.length;if(o<=hs)return String.fromCharCode.apply(String,e);for(var t="",r=0;r<o;)t+=String.fromCharCode.apply(String,e.slice(r,r+=hs));return t}function Hg(e,o,t){var r="";t=Math.min(e.length,t);for(var c=o;c<t;++c)r+=String.fromCharCode(e[c]&127);return r}function Vg(e,o,t){var r="";t=Math.min(e.length,t);for(var c=o;c<t;++c)r+=String.fromCharCode(e[c]);return r}function $g(e,o,t){var r=e.length;(!o||o<0)&&(o=0),(!t||t<0||t>r)&&(t=r);for(var c="",p=o;p<t;++p)c+=Yg[e[p]];return c}function qg(e,o,t){for(var r=e.slice(o,t),c="",p=0;p<r.length-1;p+=2)c+=String.fromCharCode(r[p]+r[p+1]*256);return c}h.prototype.slice=function(o,t){var r=this.length;o=~~o,t=t===void 0?r:~~t,o<0?(o+=r,o<0&&(o=0)):o>r&&(o=r),t<0?(t+=r,t<0&&(t=0)):t>r&&(t=r),t<o&&(t=o);var c=this.subarray(o,t);return Object.setPrototypeOf(c,h.prototype),c};function se(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")}h.prototype.readUintLE=h.prototype.readUIntLE=function(o,t,r){o=o>>>0,t=t>>>0,r||se(o,t,this.length);for(var c=this[o],p=1,m=0;++m<t&&(p*=256);)c+=this[o+m]*p;return c};h.prototype.readUintBE=h.prototype.readUIntBE=function(o,t,r){o=o>>>0,t=t>>>0,r||se(o,t,this.length);for(var c=this[o+--t],p=1;t>0&&(p*=256);)c+=this[o+--t]*p;return c};h.prototype.readUint8=h.prototype.readUInt8=function(o,t){return o=o>>>0,t||se(o,1,this.length),this[o]};h.prototype.readUint16LE=h.prototype.readUInt16LE=function(o,t){return o=o>>>0,t||se(o,2,this.length),this[o]|this[o+1]<<8};h.prototype.readUint16BE=h.prototype.readUInt16BE=function(o,t){return o=o>>>0,t||se(o,2,this.length),this[o]<<8|this[o+1]};h.prototype.readUint32LE=h.prototype.readUInt32LE=function(o,t){return o=o>>>0,t||se(o,4,this.length),(this[o]|this[o+1]<<8|this[o+2]<<16)+this[o+3]*16777216};h.prototype.readUint32BE=h.prototype.readUInt32BE=function(o,t){return o=o>>>0,t||se(o,4,this.length),this[o]*16777216+(this[o+1]<<16|this[o+2]<<8|this[o+3])};h.prototype.readIntLE=function(o,t,r){o=o>>>0,t=t>>>0,r||se(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};h.prototype.readIntBE=function(o,t,r){o=o>>>0,t=t>>>0,r||se(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};h.prototype.readInt8=function(o,t){return o=o>>>0,t||se(o,1,this.length),this[o]&128?(255-this[o]+1)*-1:this[o]};h.prototype.readInt16LE=function(o,t){o=o>>>0,t||se(o,2,this.length);var r=this[o]|this[o+1]<<8;return r&32768?r|4294901760:r};h.prototype.readInt16BE=function(o,t){o=o>>>0,t||se(o,2,this.length);var r=this[o+1]|this[o]<<8;return r&32768?r|4294901760:r};h.prototype.readInt32LE=function(o,t){return o=o>>>0,t||se(o,4,this.length),this[o]|this[o+1]<<8|this[o+2]<<16|this[o+3]<<24};h.prototype.readInt32BE=function(o,t){return o=o>>>0,t||se(o,4,this.length),this[o]<<24|this[o+1]<<16|this[o+2]<<8|this[o+3]};h.prototype.readFloatLE=function(o,t){return o=o>>>0,t||se(o,4,this.length),Tt.read(this,o,!0,23,4)};h.prototype.readFloatBE=function(o,t){return o=o>>>0,t||se(o,4,this.length),Tt.read(this,o,!1,23,4)};h.prototype.readDoubleLE=function(o,t){return o=o>>>0,t||se(o,8,this.length),Tt.read(this,o,!0,52,8)};h.prototype.readDoubleBE=function(o,t){return o=o>>>0,t||se(o,8,this.length),Tt.read(this,o,!1,52,8)};function ye(e,o,t,r,c,p){if(!h.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+r>e.length)throw new RangeError("Index out of range")}h.prototype.writeUintLE=h.prototype.writeUIntLE=function(o,t,r,c){if(o=+o,t=t>>>0,r=r>>>0,!c){var p=Math.pow(2,8*r)-1;ye(this,o,t,r,p,0)}var m=1,d=0;for(this[t]=o&255;++d<r&&(m*=256);)this[t+d]=o/m&255;return t+r};h.prototype.writeUintBE=h.prototype.writeUIntBE=function(o,t,r,c){if(o=+o,t=t>>>0,r=r>>>0,!c){var p=Math.pow(2,8*r)-1;ye(this,o,t,r,p,0)}var m=r-1,d=1;for(this[t+m]=o&255;--m>=0&&(d*=256);)this[t+m]=o/d&255;return t+r};h.prototype.writeUint8=h.prototype.writeUInt8=function(o,t,r){return o=+o,t=t>>>0,r||ye(this,o,t,1,255,0),this[t]=o&255,t+1};h.prototype.writeUint16LE=h.prototype.writeUInt16LE=function(o,t,r){return o=+o,t=t>>>0,r||ye(this,o,t,2,65535,0),this[t]=o&255,this[t+1]=o>>>8,t+2};h.prototype.writeUint16BE=h.prototype.writeUInt16BE=function(o,t,r){return o=+o,t=t>>>0,r||ye(this,o,t,2,65535,0),this[t]=o>>>8,this[t+1]=o&255,t+2};h.prototype.writeUint32LE=h.prototype.writeUInt32LE=function(o,t,r){return o=+o,t=t>>>0,r||ye(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};h.prototype.writeUint32BE=h.prototype.writeUInt32BE=function(o,t,r){return o=+o,t=t>>>0,r||ye(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};h.prototype.writeIntLE=function(o,t,r,c){if(o=+o,t=t>>>0,!c){var p=Math.pow(2,8*r-1);ye(this,o,t,r,p-1,-p)}var m=0,d=1,l=0;for(this[t]=o&255;++m<r&&(d*=256);)o<0&&l===0&&this[t+m-1]!==0&&(l=1),this[t+m]=(o/d>>0)-l&255;return t+r};h.prototype.writeIntBE=function(o,t,r,c){if(o=+o,t=t>>>0,!c){var p=Math.pow(2,8*r-1);ye(this,o,t,r,p-1,-p)}var m=r-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+r};h.prototype.writeInt8=function(o,t,r){return o=+o,t=t>>>0,r||ye(this,o,t,1,127,-128),o<0&&(o=255+o+1),this[t]=o&255,t+1};h.prototype.writeInt16LE=function(o,t,r){return o=+o,t=t>>>0,r||ye(this,o,t,2,32767,-32768),this[t]=o&255,this[t+1]=o>>>8,t+2};h.prototype.writeInt16BE=function(o,t,r){return o=+o,t=t>>>0,r||ye(this,o,t,2,32767,-32768),this[t]=o>>>8,this[t+1]=o&255,t+2};h.prototype.writeInt32LE=function(o,t,r){return o=+o,t=t>>>0,r||ye(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};h.prototype.writeInt32BE=function(o,t,r){return o=+o,t=t>>>0,r||ye(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 vs(e,o,t,r,c,p){if(t+r>e.length)throw new RangeError("Index out of range");if(t<0)throw new RangeError("Index out of range")}function As(e,o,t,r,c){return o=+o,t=t>>>0,c||vs(e,o,t,4,34028234663852886e22,-34028234663852886e22),Tt.write(e,o,t,r,23,4),t+4}h.prototype.writeFloatLE=function(o,t,r){return As(this,o,t,!0,r)};h.prototype.writeFloatBE=function(o,t,r){return As(this,o,t,!1,r)};function Is(e,o,t,r,c){return o=+o,t=t>>>0,c||vs(e,o,t,8,17976931348623157e292,-17976931348623157e292),Tt.write(e,o,t,r,52,8),t+8}h.prototype.writeDoubleLE=function(o,t,r){return Is(this,o,t,!0,r)};h.prototype.writeDoubleBE=function(o,t,r){return Is(this,o,t,!1,r)};h.prototype.copy=function(o,t,r,c){if(!h.isBuffer(o))throw new TypeError("argument should be a Buffer");if(r||(r=0),!c&&c!==0&&(c=this.length),t>=o.length&&(t=o.length),t||(t=0),c>0&&c<r&&(c=r),c===r||o.length===0||this.length===0)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(r<0||r>=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-r&&(c=o.length-t+r);var p=c-r;return this===o&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(t,r,c):Uint8Array.prototype.set.call(o,this.subarray(r,c),t),p};h.prototype.fill=function(o,t,r,c){if(typeof o=="string"){if(typeof t=="string"?(c=t,t=0,r=this.length):typeof r=="string"&&(c=r,r=this.length),c!==void 0&&typeof c!="string")throw new TypeError("encoding must be a string");if(typeof c=="string"&&!h.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<r)throw new RangeError("Out of range index");if(r<=t)return this;t=t>>>0,r=r===void 0?this.length:r>>>0,o||(o=0);var m;if(typeof o=="number")for(m=t;m<r;++m)this[m]=o;else{var d=h.isBuffer(o)?o:h.from(o,c),l=d.length;if(l===0)throw new TypeError('The value "'+o+'" is invalid for argument "value"');for(m=0;m<r-t;++m)this[m+t]=d[m%l]}return this};var jg=/[^+/0-9A-Za-z-_]/g;function zg(e){if(e=e.split("=")[0],e=e.trim().replace(jg,""),e.length<2)return"";for(;e.length%4!==0;)e=e+"=";return e}function xa(e,o){o=o||1/0;for(var t,r=e.length,c=null,p=[],m=0;m<r;++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===r){(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 Kg(e){for(var o=[],t=0;t<e.length;++t)o.push(e.charCodeAt(t)&255);return o}function Xg(e,o){for(var t,r,c,p=[],m=0;m<e.length&&!((o-=2)<0);++m)t=e.charCodeAt(m),r=t>>8,c=t%256,p.push(c),p.push(r);return p}function ks(e){return fa.toByteArray(zg(e))}function Hn(e,o,t,r){for(var c=0;c<r&&!(c+t>=o.length||c>=e.length);++c)o[c+t]=e[c];return c}function Xe(e,o){return e instanceof o||e!=null&&e.constructor!=null&&e.constructor.name!=null&&e.constructor.name===o.name}function ba(e){return e!==e}var Yg=function(){for(var e="0123456789abcdef",o=new Array(256),t=0;t<16;++t)for(var r=t*16,c=0;c<16;++c)o[r+c]=e[t]+e[c];return o}()});var Rs=I((t0,Ns)=>{n();var Q=Ns.exports={},Ye,Je;function wa(){throw new Error("setTimeout has not been defined")}function va(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?Ye=setTimeout:Ye=wa}catch(e){Ye=wa}try{typeof clearTimeout=="function"?Je=clearTimeout:Je=va}catch(e){Je=va}})();function Ps(e){if(Ye===setTimeout)return setTimeout(e,0);if((Ye===wa||!Ye)&&setTimeout)return Ye=setTimeout,setTimeout(e,0);try{return Ye(e,0)}catch(o){try{return Ye.call(null,e,0)}catch(t){return Ye.call(this,e,0)}}}function Jg(e){if(Je===clearTimeout)return clearTimeout(e);if((Je===va||!Je)&&clearTimeout)return Je=clearTimeout,clearTimeout(e);try{return Je(e)}catch(o){try{return Je.call(null,e)}catch(t){return Je.call(this,e)}}}var mo=[],xt=!1,zo,Vn=-1;function Zg(){!xt||!zo||(xt=!1,zo.length?mo=zo.concat(mo):Vn=-1,mo.length&&Es())}function Es(){if(!xt){var e=Ps(Zg);xt=!0;for(var o=mo.length;o;){for(zo=mo,mo=[];++Vn<o;)zo&&zo[Vn].run();Vn=-1,o=mo.length}zo=null,xt=!1,Jg(e)}}Q.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];mo.push(new Cs(e,o)),mo.length===1&&!xt&&Ps(Es)};function Cs(e,o){this.fun=e,this.array=o}Cs.prototype.run=function(){this.fun.apply(null,this.array)};Q.title="browser";Q.browser=!0;Q.env={};Q.argv=[];Q.version="";Q.versions={};function lo(){}Q.on=lo;Q.addListener=lo;Q.once=lo;Q.off=lo;Q.removeListener=lo;Q.removeAllListeners=lo;Q.emit=lo;Q.prependListener=lo;Q.prependOnceListener=lo;Q.listeners=function(e){return[]};Q.binding=function(e){throw new Error("process.binding is not supported")};Q.cwd=function(){return"/"};Q.chdir=function(e){throw new Error("process.chdir is not supported")};Q.umask=function(){return 0}});var a,s,Qg,i,n=w(()=>{a=b(Ls()),s=b(Rs()),Qg=function(e){function o(){var r=this||self;return delete e.prototype.__magic__,r}if(typeof globalThis=="object")return globalThis;if(this)return o();e.defineProperty(e.prototype,"__magic__",{configurable:!0,get:o});var t=__magic__;return t}(Object),i=Qg});var Aa=w(()=>{"use strict";n()});var Ds=w(()=>{"use strict";n()});var Ms=w(()=>{"use strict";n()});var Oe,yt,Po=w(()=>{"use strict";n();Oe=require("@multiversx/sdk-web-wallet-cross-window-provider/out/CrossWindowProvider/CrossWindowProvider"),yt=require("@multiversx/sdk-web-wallet-cross-window-provider/out/enums")});var Y,Os,s0,Bs,c0,V=w(()=>{"use strict";n();Po();Y=(x=>(x.ledger="ledger",x.walletconnect="walletconnect",x.walletconnectv2="walletconnectv2",x.wallet="wallet",x.crossWindow="crossWindow",x.iframe="iframe",x.extension="extension",x.passkey="passkey",x.metamask="metamask",x.opera="opera",x.extra="extra",x.none="",x))(Y||{}),Os=(t=>(t.signTransactionsWithGuardianResponse="SIGN_TRANSACTIONS_WITH_GUARDIAN_RESPONSE",t.reloginRequest="RELOGIN_REQUEST",t))(Os||{}),s0=f(f({},yt.WindowProviderRequestEnums),Os),Bs=(o=>(o.reloginResponse="RELOGIN_RESPONSE",o))(Bs||{}),c0=f(f({},yt.WindowProviderResponseEnums),Bs)});var Fs=w(()=>{"use strict";n()});var Ws=w(()=>{"use strict";n()});var Se=w(()=>{"use strict";n()});var Us=w(()=>{"use strict";n()});var Gs=w(()=>{"use strict";n()});var Hs=w(()=>{"use strict";n()});var U=w(()=>{"use strict";n();Aa();Ds();Ms();V();Fs();Ws();Se();Us();Gs();Hs()});var Be,$n,v0,qn,A0,jn,I0,k0,ef,zn,_o=w(()=>{"use strict";n();U();Be={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:$n,egldLabel:v0}=Be["devnet"],{chainId:qn,egldLabel:A0}=Be["testnet"],{chainId:jn,egldLabel:I0}=Be["mainnet"],k0={["devnet"]:$n,["testnet"]:qn,["mainnet"]:jn},ef={[$n]:"devnet",[qn]:"testnet",[jn]:"mainnet"},zn=3e3});var Ys=w(()=>{"use strict";n()});var Ze,Fe=w(()=>{"use strict";n();Ze="Action not allowed. User is logged in. Call logout() first"});var Js=w(()=>{"use strict";n()});var La,Zs=w(()=>{"use strict";n();La=(r=>(r.SetGuardian="SetGuardian",r.GuardAccount="GuardAccount",r.UnGuardAccount="UnGuardAccount",r))(La||{})});var Qs=w(()=>{"use strict";n()});var Pa=w(()=>{"use strict";n()});var ec=w(()=>{"use strict";n()});var Yo=w(()=>{"use strict";n()});var Qe,oc=w(()=>{"use strict";n();Qe=require("@multiversx/sdk-web-wallet-provider")});var Te,Jo=w(()=>{"use strict";n();Te=require("@multiversx/sdk-dapp-utils/out/constants/browserConstants")});var tc,nc,Ea,uw,gw,Ca=w(()=>{"use strict";n();Jo();Ea=String((nc=(tc=Te.safeWindow)==null?void 0:tc.navigator)==null?void 0:nc.userAgent),uw=/^((?!chrome|android).)*safari/i.test(Ea),gw=/firefox/i.test(Ea)&&/windows/i.test(Ea)});var Kn,Xn,rc,ac,rn,Na,Ra,Yn,ic,St,Jn,D=w(()=>{"use strict";n();Ys();Fe();Js();Zs();Qs();Pa();ec();_o();Yo();oc();Ca();Kn=5e4,Xn=1e9,rc=1,ac=1,rn="signSession",Na="sdk-dapp-version",Ra="4.3.6",Yn="logout",ic="login",St="0",Jn="-"});var bt,Zn=w(()=>{"use strict";n();bt=()=>Date.now()/1e3});var sc=w(()=>{"use strict";n()});var cc=w(()=>{"use strict";n()});var Da=w(()=>{"use strict";n();Zn();sc();cc()});var Ma={};ze(Ma,{clear:()=>pf,getItem:()=>sf,localStorageKeys:()=>ue,removeItem:()=>cf,setItem:()=>af});var ue,Qn,af,sf,cf,pf,Co=w(()=>{"use strict";n();Da();ue={loginExpiresAt:"sdk-dapp-login-expires-at",logoutEvent:"sdk-dapp-logout-event",guardianBreachToastDismissTimestamp:"sdk-dapp-guardian-breach-toast-dismiss-timestamp"},Qn=typeof localStorage!="undefined",af=({key:e,data:o,expires:t})=>{!Qn||localStorage.setItem(String(e),JSON.stringify({expires:t,data:o}))},sf=e=>{if(!Qn)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:bt()>=t.expires?(localStorage.removeItem(String(e)),null):t.data},cf=e=>{!Qn||localStorage.removeItem(String(e))},pf=()=>{!Qn||localStorage.clear()}});var Oa={};ze(Oa,{clear:()=>lc,getItem:()=>mc,removeItem:()=>dc,sessionStorageKeys:()=>mf,setItem:()=>pc,storage:()=>df});var mf,pc,mc,dc,lc,df,_c=w(()=>{"use strict";n();mf={address:"address",shard:"shard",toasts:"toasts",toastProgress:"toastProgress"},pc=({key:e,data:o,expires:t})=>{sessionStorage.setItem(String(e),JSON.stringify({expires:t,data:o}))},mc=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},dc=e=>sessionStorage.removeItem(String(e)),lc=()=>sessionStorage.clear(),df={setItem:pc,getItem:mc,removeItem:dc,clear:lc}});var ve,Zo=w(()=>{"use strict";n();Co();_c();ve={session:Oa,local:Ma}});var Ba,z,re,K=w(()=>{"use strict";n();Ba=require("@reduxjs/toolkit");D();z=(0,Ba.createAction)(Yn),re=(0,Ba.createAction)(ic,e=>({payload:e}))});var Wa,uc,gc,pe,Fa,fc,ce,be,er,jw,Ua,lf,zw,wt,Tc,hc,xc,or,tr=w(()=>{"use strict";n();Wa=require("@multiversx/sdk-core"),uc=require("@reduxjs/toolkit"),gc=require("redux-persist");D();Zo();Co();K();pe={balance:"...",address:"",isGuarded:!1,nonce:0,txCount:0,scrCount:0,claimableRewards:St},Fa={address:"",websocketEvent:null,websocketBatchEvent:null,accounts:{"":pe},ledgerAccount:null,publicKey:"",walletConnectAccount:null,isAccountLoading:!0,accountLoadingError:null},fc=(0,uc.createSlice)({name:"accountInfoSlice",initialState:Fa,reducers:{setAddress:(e,o)=>{let t=o.payload;e.address=t,e.publicKey=t?new Wa.Address(t).hex():""},setAccount:(e,o)=>{let t=e.address===o.payload.address;e.accounts={[e.address]:t?o.payload:pe},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(z,()=>(ve.local.removeItem(ue.loginExpiresAt),Fa)),e.addCase(re,(o,t)=>{let{address:r}=t.payload;o.address=r,o.publicKey=new Wa.Address(r).toHex()}),e.addCase(gc.REHYDRATE,(o,t)=>{var _;if(!((_=t.payload)!=null&&_.account))return;let{account:r}=t.payload,{address:c,shard:p,accounts:m,publicKey:d}=r;o.address=c,o.shard=p;let l=m&&c in m;o.accounts=l?m:Fa.accounts,o.publicKey=d})}}),{setAccount:ce,setAddress:be,setAccountNonce:er,setAccountShard:jw,setLedgerAccount:Ua,updateLedgerAccount:lf,setWalletConnectAccount:zw,setIsAccountLoading:wt,setAccountLoadingError:Tc,setWebsocketEvent:hc,setWebsocketBatchEvent:xc}=fc.actions,or=fc.reducer});function an(){return new Date().setHours(new Date().getHours()+24)}function sn(e){ve.local.setItem({key:ue.loginExpiresAt,data:e,expires:e})}var Ga=w(()=>{"use strict";n();Zo();Co()});var Sc,yc,bc,nv,wc,_f,uo,rv,nr,vc,Ac,Ha,Ic,rr,cn=w(()=>{"use strict";n();Sc=require("@reduxjs/toolkit");Ga();V();K();yc={loginMethod:"",walletConnectLogin:null,ledgerLogin:null,tokenLogin:null,walletLogin:null,extensionLogin:null,passkeyLogin:null,operaLogin:null,crossWindowLogin:null,iframeWindowLogin:null,isLoginSessionInvalid:!1,webviewLogin:null},bc=(0,Sc.createSlice)({name:"loginInfoSlice",initialState:yc,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(z,()=>yc),e.addCase(re,(o,t)=>{o.isLoginSessionInvalid=!1,o.loginMethod=t.payload.loginMethod,o.iframeLoginType=t.payload.iframeLoginType,sn(an())})}}),{setLoginMethod:nv,setWalletConnectLogin:wc,setLedgerLogin:_f,setTokenLogin:uo,setTokenLoginSignature:rv,setWalletLogin:nr,invalidateLoginSession:vc,setLogoutRoute:Ac,setIsWalletConnectV2Initialized:Ha,setWebviewLogin:Ic}=bc.actions,rr=bc.reducer});var Lc,kc,Pc,Ec,uf,cv,gf,ar,ir=w(()=>{"use strict";n();Lc=require("@reduxjs/toolkit");K();kc={},Pc=(0,Lc.createSlice)({name:"modalsSlice",initialState:kc,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(z,()=>kc)}}),{setTxSubmittedModal:Ec,setNotificationModal:uf,clearTxSubmittedModal:cv,clearNotificationModal:gf}=Pc.actions,ar=Pc.reducer});var go,vt=w(()=>{"use strict";n();go=()=>typeof window!="undefined"&&typeof(window==null?void 0:window.location)!="undefined"});var $,me=w(()=>{"use strict";n();vt();$=()=>{if(!go())return{pathname:"",hash:"",origin:"",href:"",search:""};let{location:{pathname:o,hash:t,origin:r,href:c,search:p}}=window;return{pathname:o,hash:t,origin:r,href:c,search:p}}});var At,Cc=w(()=>{"use strict";n();me();At=(e="")=>{let o=$(),t=e.startsWith("http")||e.startsWith("www.");return!o.origin||e.startsWith(o.origin)||t?e:`${o.origin}/${e.replace("/","")}`}});var Nc=w(()=>{"use strict";n();ge()});var Rc,Dc=w(()=>{"use strict";n();Jo();Rc=e=>{if(!Te.safeWindow.location)return;if(!new URL(Te.safeWindow.location.href).protocol.startsWith("http"))return Te.safeWindow.location.reload();Te.safeWindow.location.assign(e)}});var ge=w(()=>{"use strict";n();Cc();Nc();me();Dc()});var Mc,Oc,Qo,It=w(()=>{"use strict";n();ge();Mc=!1,Oc=(e=!0)=>{Mc=e},Qo=({timeout:e=0,url:o})=>{Mc||setTimeout(()=>{if(!!window)return Rc(o)},e)}});function No({callbackRoute:e,onLoginRedirect:o,options:t}){let r=Boolean(e),c=typeof o=="function";if(r&&e!=null){if(c)return o(e,t);Qo({url:e,timeout:ff})}}var ff,Bc=w(()=>{"use strict";n();It();ff=200});function Fc(e){return e[Math.floor(Math.random()*e.length)]}var Wc=w(()=>{"use strict";n()});var Va=w(()=>{"use strict";n();Pa()});var fo=w(()=>{"use strict";n();Bc();Wc();Va()});var Uc,Gc,Hc,pn,hf,Vc,$a,qa,$c,sr,mn=w(()=>{"use strict";n();Uc=require("@reduxjs/toolkit"),Gc=b(require("lodash.omit")),Hc=require("redux-persist");Yo();K();fo();pn={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},hf={network:pn},Vc=(0,Uc.createSlice)({name:"appConfig",initialState:hf,reducers:{initializeNetworkConfig:(e,o)=>{let t=Fc(o.payload.walletConnectV2RelayAddresses),r=(0,Gc.default)(o.payload,"walletConnectV2RelayAddresses");e.network=v(f(f({},e.network),r),{walletConnectV2RelayAddress:t})},updateNetworkConfig:(e,o)=>{e.network=f(f({},e.network),o.payload)},setCustomWalletAddress:(e,o)=>{e.network.customWalletAddress=o.payload}},extraReducers:e=>{e.addCase(z,o=>{o.network.customWalletAddress=void 0}),e.addCase(Hc.REHYDRATE,(o,t)=>{var c,p;if(!((p=(c=t.payload)==null?void 0:c.network)!=null&&p.customWalletAddress))return;let{network:{customWalletAddress:r}}=t.payload;o.network.customWalletAddress=r})}}),{initializeNetworkConfig:$a,updateNetworkConfig:qa,setCustomWalletAddress:$c}=Vc.actions,sr=Vc.reducer});var qc,ja,jc,qv,jv,zv,cr,pr=w(()=>{"use strict";n();qc=require("@reduxjs/toolkit");U();K();ja={isSigning:!1,signedSessions:{}},jc=(0,qc.createSlice)({name:"signedMessageInfoSliceState",initialState:ja,reducers:{setSignSession:(e,o)=>{let{sessionId:t,signedSession:r,errorMessage:c}=o.payload;c&&(e.errorMessage=c),e.isSigning=r.status==="pending",e.signedSessions[t]=f(f({},e.signedSessions[t]),r)},setSignSessionState:(e,o)=>f(f({},e),o.payload),clearSignedMessageInfo:()=>ja},extraReducers:e=>{e.addCase(z,()=>ja)}}),{setSignSession:qv,clearSignedMessageInfo:jv,setSignSessionState:zv}=jc.actions,cr=jc.reducer});var Kc,Xc,zc,Yc,za,xf,eA,yf,mr,dr=w(()=>{"use strict";n();Kc=require("@reduxjs/toolkit"),Xc=require("redux-persist");U();Zn();K();zc={customToasts:[],transactionToasts:[]},Yc=(0,Kc.createSlice)({name:"toastsSlice",initialState:zc,reducers:{addCustomToast:(e,o)=>{let t=o.payload.toastId||`custom-toast-${e.customToasts.length+1}`,r=e.customToasts.findIndex(c=>c.toastId===t);if(r!==-1){e.customToasts[r]=v(f(f({},e.customToasts[r]),o.payload),{type:"custom",toastId:t});return}e.customToasts.push(v(f({},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:bt(),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(z,()=>zc),e.addCase(Xc.REHYDRATE,(o,t)=>{var c,p;let r=(p=(c=t.customToasts)==null?void 0:c.filter(m=>!("component"in m)))!=null?p:[];o.customToasts=r})}}),{addCustomToast:za,removeCustomToast:xf,addTransactionToast:eA,removeTransactionToast:yf}=Yc.actions,mr=Yc.reducer});var Jc,Xa,Ya,Ja,Sf,Ka,Zc,rA,bf,Za,lr,_r=w(()=>{"use strict";n();Jc=require("@reduxjs/toolkit");K();Xa="Transaction failed",Ya="Transaction successful",Ja="Processing transaction",Sf="Transaction submitted",Ka={},Zc=(0,Jc.createSlice)({name:"transactionsInfo",initialState:Ka,reducers:{setTransactionsDisplayInfo(e,o){let{sessionId:t,transactionsDisplayInfo:r}=o.payload;t!=null&&(e[t]={errorMessage:(r==null?void 0:r.errorMessage)||Xa,successMessage:(r==null?void 0:r.successMessage)||Ya,processingMessage:(r==null?void 0:r.processingMessage)||Ja,submittedMessage:(r==null?void 0:r.submittedMessage)||Sf,transactionDuration:r==null?void 0:r.transactionDuration})},clearTransactionsInfoForSessionId(e,o){o.payload!=null&&delete e[o.payload]},clearTransactionsInfo:()=>Ka},extraReducers:e=>{e.addCase(z,()=>Ka)}}),{clearTransactionsInfo:rA,setTransactionsDisplayInfo:bf,clearTransactionsInfoForSessionId:Za}=Zc.actions,lr=Zc.reducer});function To(e){return e!=null&&(Nf(e)||Bf(e))}function et(e){return e!=null&&(Rf(e)||Ff(e))}function ot(e){return e!=null&&(Df(e)||Wf(e))}function Qc(e){return e!=null&&(Mf(e)||Uf(e))}function Qa(e){return e!=null&&Of(e)}function Nf(e){return e!=null&&wf.includes(e)}function Rf(e){return e!=null&&vf.includes(e)}function Df(e){return e!=null&&Af.includes(e)}function Mf(e){return e!=null&&If.includes(e)}function Of(e){return e!=null&&kf.includes(e)}function Bf(e){return e!=null&&Lf.includes(e)}function Ff(e){return e!=null&&Pf.includes(e)}function Wf(e){return e!=null&&Ef.includes(e)}function Uf(e){return e!=null&&Cf.includes(e)}var wf,vf,Af,If,kf,Lf,Pf,Ef,Cf,kt=w(()=>{"use strict";n();V();wf=["sent"],vf=["success"],Af=["fail","cancelled","timedOut"],If=["invalid"],kf=["timedOut"],Lf=["pending"],Pf=["success"],Ef=["fail","invalid"],Cf=["not executed"]});var ep,op,dn,Gf,tp,oo,to,Hf,tt,Vf,$f,_A,qf,ln,ei,uA,ur,gr=w(()=>{"use strict";n();ep=require("@reduxjs/toolkit"),op=require("redux-persist");V();kt();K();dn={signedTransactions:{},transactionsToSign:null,signTransactionsError:null,signTransactionsCancelMessage:null,customTransactionInformationForSessionId:{}},Gf={signWithoutSending:!1,sessionInformation:null,redirectAfterSign:!1},tp=(0,ep.createSlice)({name:"transactionsSlice",initialState:dn,reducers:{moveTransactionsToSignedState:(e,o)=>{var l,_;let{sessionId:t,transactions:r,errorMessage:c,status:p,redirectRoute:m,customTransactionInformation:d}=o.payload;e.customTransactionInformationForSessionId[t]=f(f(f({},Gf),((l=e.signedTransactions[t])==null?void 0:l.customTransactionInformation)||{}),e.customTransactionInformationForSessionId[t]||{}),e.signedTransactions[t]={transactions:r,status:p,errorMessage:c,redirectRoute:m,customTransactionInformation:f(f({},e.customTransactionInformationForSessionId[t]),d!=null?d:{})},((_=e==null?void 0:e.transactionsToSign)==null?void 0:_.sessionId)===t&&(e.transactionsToSign=dn.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=f(f({},e.signedTransactions),o.payload)},updateSignedTransactions:(e,o)=>{let{sessionId:t,status:r,errorMessage:c,transactions:p}=o.payload;e.signedTransactions[t]!=null&&(e.signedTransactions[t].status=r,c!=null&&(e.signedTransactions[t].errorMessage=c),p!=null&&(e.signedTransactions[t].transactions=p))},updateSignedTransactionStatus:(e,o)=>{var _,T,u,x,L,k,E,O;let{sessionId:t,status:r,errorMessage:c,transactionHash:p,serverTransaction:m,inTransit:d}=o.payload,l=(T=(_=e.signedTransactions)==null?void 0:_[t])==null?void 0:T.transactions;if(l!=null){e.signedTransactions[t].transactions=l.map(R=>R.hash===p?v(f(f({},m!=null?m:{}),R),{status:r,errorMessage:c,inTransit:d}):R);let C=(x=(u=e.signedTransactions[t])==null?void 0:u.transactions)==null?void 0:x.every(R=>et(R.status)),F=(k=(L=e.signedTransactions[t])==null?void 0:L.transactions)==null?void 0:k.some(R=>ot(R.status)),W=(O=(E=e.signedTransactions[t])==null?void 0:E.transactions)==null?void 0:O.every(R=>Qc(R.status));C&&(e.signedTransactions[t].status="success"),F&&(e.signedTransactions[t].status="fail"),W&&(e.signedTransactions[t].status="invalid")}},setTransactionsToSign:(e,o)=>{e.transactionsToSign=o.payload;let{sessionId:t,customTransactionInformation:r}=o.payload;e.customTransactionInformationForSessionId[t]=r,e.signTransactionsError=null},clearAllTransactionsToSign:e=>{e.transactionsToSign=dn.transactionsToSign,e.signTransactionsError=null},clearAllSignedTransactions:e=>{e.signedTransactions=dn.signedTransactions},setSignTransactionsError:(e,o)=>{e.signTransactionsError=o.payload},setSignTransactionsCancelMessage:(e,o)=>{e.signTransactionsCancelMessage=o.payload},updateSignedTransactionsCustomTransactionInformation:(e,o)=>{let{sessionId:t,customTransactionInformationOverrides:r}=o.payload;e.signedTransactions[t]!=null&&(e.signedTransactions[t].customTransactionInformation=f(f({},e.signedTransactions[t].customTransactionInformation),r))}},extraReducers:e=>{e.addCase(z,()=>dn),e.addCase(op.REHYDRATE,(o,t)=>{var m;if(o.signTransactionsCancelMessage=null,!((m=t.payload)!=null&&m.transactions))return;let{signedTransactions:r,customTransactionInformationForSessionId:c}=t.payload.transactions,p=Object.entries(r).reduce((d,[l,_])=>{let T=new Date(l),u=new Date;return u.setHours(u.getHours()+5),u-T>0||(d[l]=_),d},{});c!=null&&(o.customTransactionInformationForSessionId=c),r!=null&&(o.signedTransactions=p)})}}),{updateSignedTransactionStatus:oo,updateSignedTransactions:to,setTransactionsToSign:Hf,clearAllTransactionsToSign:tt,clearAllSignedTransactions:Vf,clearSignedTransaction:$f,clearTransactionToSign:_A,setSignTransactionsError:qf,setSignTransactionsCancelMessage:ln,moveTransactionsToSignedState:ei,updateSignedTransactionsCustomTransactionInformation:uA}=tp.actions,ur=tp.reducer});var np,oi,rp,ap,ip,sp,hA,fr,Tr=w(()=>{"use strict";n();np=require("@reduxjs/toolkit");K();oi={},rp=(0,np.createSlice)({name:"batchTransactionsSlice",initialState:oi,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:()=>oi},extraReducers:e=>{e.addCase(z,()=>oi)}}),{setBatchTransactions:ap,updateBatchTransactions:ip,clearBatchTransactions:sp,clearAllBatchTransactions:hA}=rp.actions,fr=rp.reducer});var pp,cp,mp,dp,lp,ti=w(()=>{"use strict";n();pp=require("@reduxjs/toolkit");K();cp={},mp=(0,pp.createSlice)({name:"dappConfigSlice",initialState:cp,reducers:{setDappConfig:(e,o)=>o.payload},extraReducers:e=>{e.addCase(z,()=>cp)}}),{setDappConfig:dp}=mp.actions,lp=mp.reducer});var N=w(()=>{"use strict";n();tr();cn();ir();mn();pr();dr();_r();gr();Tr();ti()});var ri=w(()=>{"use strict";n()});var Fp,oT,tT,it,Ar=w(()=>{"use strict";n();Fp=require("@reduxjs/toolkit");ri();tr();Tr();ti();cn();ir();mn();pr();dr();_r();gr();oT={["account"]:or,["dappConfig"]:lp,["loginInfo"]:rr,["modals"]:ar,["networkConfig"]:sr,["signedMessageInfo"]:cr,["toasts"]:mr,["transactionsInfo"]:lr,["transactions"]:ur,["batchTransactions"]:fr},tT=(e={})=>(0,Fp.combineReducers)(f(f({},oT),e)),it=tT});var Hp={};ze(Hp,{default:()=>hT,sessionStorageReducers:()=>ai});function xo(e,o=[]){return{key:e,version:1,storage:Up.default,blacklist:o}}var we,Wp,Up,nT,fn,rT,aT,iT,sT,cT,pT,mT,dT,lT,_T,Gp,uT,ai,gT,fT,TT,hT,Vp=w(()=>{"use strict";n();we=require("redux-persist"),Wp=b(require("redux-persist/lib/storage")),Up=b(require("redux-persist/lib/storage/session"));Ar();N();tr();Tr();cn();ir();mn();pr();dr();_r();gr();ri();nT={persistReducersStorageType:"localStorage"},fn={["account"]:"sdk-dapp-account",["loginInfo"]:"sdk-dapp-login-info",["modals"]:"sdk-dapp-modals",["networkConfig"]:"sdk-dapp-network-config"},rT=xo(fn["account"]),aT=xo(fn["loginInfo"]),iT=xo(fn["modals"]),sT=xo(fn["networkConfig"]),cT={2:e=>v(f({},e),{networkConfig:pn})};pT=xo("sdk-dapp-transactionsInfo"),mT=xo("sdk-dapp-transactions",["transactionsToSign"]),dT=xo("sdk-dapp-batchTransactions",["batchTransactions"]),lT=xo("sdk-dapp-toasts"),_T=xo("sdk-dapp-signedMessageInfo"),Gp={key:"sdk-dapp-store",version:2,storage:Wp.default,whitelist:Object.keys(fn),migrate:(0,we.createMigrate)(cT,{debug:!1})},uT=v(f({},Gp),{whitelist:[]}),ai={["toasts"]:(0,we.persistReducer)(lT,mr),["transactions"]:(0,we.persistReducer)(mT,ur),["transactionsInfo"]:(0,we.persistReducer)(pT,lr),["batchTransactions"]:(0,we.persistReducer)(dT,fr),["signedMessageInfo"]:(0,we.persistReducer)(_T,cr)},gT=v(f({},ai),{["account"]:(0,we.persistReducer)(rT,or),["loginInfo"]:(0,we.persistReducer)(aT,rr),["modals"]:(0,we.persistReducer)(iT,ar),["networkConfig"]:(0,we.persistReducer)(sT,sr)}),fT=nT.persistReducersStorageType==="localStorage",TT=fT?(0,we.persistReducer)(Gp,it(ai)):(0,we.persistReducer)(uT,it(gT)),hT=TT});var $p={};ze($p,{default:()=>xT});var xT,qp=w(()=>{"use strict";n();Ar();xT=it()});var jp={};ze(jp,{default:()=>ST});var Ce,yT,ST,zp=w(()=>{"use strict";n();Ce=require("redux-persist"),yT=[Ce.FLUSH,Ce.REHYDRATE,Ce.PAUSE,Ce.PERSIST,Ce.PURGE,Ce.REGISTER],ST=yT});var Yp={};ze(Yp,{default:()=>Xp});function Xp(e){return(0,Kp.persistStore)(e)}var Kp,Jp=w(()=>{"use strict";n();Kp=require("redux-persist")});var Km=I((f3,zm)=>{n();var Dh=typeof i=="object"&&i&&i.Object===Object&&i;zm.exports=Dh});var An=I((T3,Xm)=>{n();var Mh=Km(),Oh=typeof self=="object"&&self&&self.Object===Object&&self,Bh=Mh||Oh||Function("return this")();Xm.exports=Bh});var Pi=I((h3,Ym)=>{n();var Fh=An(),Wh=Fh.Symbol;Ym.exports=Wh});var ed=I((x3,Qm)=>{n();var Jm=Pi(),Zm=Object.prototype,Uh=Zm.hasOwnProperty,Gh=Zm.toString,In=Jm?Jm.toStringTag:void 0;function Hh(e){var o=Uh.call(e,In),t=e[In];try{e[In]=void 0;var r=!0}catch(p){}var c=Gh.call(e);return r&&(o?e[In]=t:delete e[In]),c}Qm.exports=Hh});var td=I((y3,od)=>{n();var Vh=Object.prototype,$h=Vh.toString;function qh(e){return $h.call(e)}od.exports=qh});var Ei=I((S3,ad)=>{n();var nd=Pi(),jh=ed(),zh=td(),Kh="[object Null]",Xh="[object Undefined]",rd=nd?nd.toStringTag:void 0;function Yh(e){return e==null?e===void 0?Xh:Kh:rd&&rd in Object(e)?jh(e):zh(e)}ad.exports=Yh});var sd=I((b3,id)=>{n();var Jh=Array.isArray;id.exports=Jh});var pd=I((w3,cd)=>{n();function Zh(e){return e!=null&&typeof e=="object"}cd.exports=Zh});var dd=I((v3,md)=>{n();var Qh=Ei(),ex=sd(),ox=pd(),tx="[object String]";function nx(e){return typeof e=="string"||!ex(e)&&ox(e)&&Qh(e)==tx}md.exports=nx});var Vr=I((Q3,fd)=>{n();function ix(e){var o=typeof e;return e!=null&&(o=="object"||o=="function")}fd.exports=ix});var Oi={};ze(Oi,{css:()=>Vd,default:()=>lx});var Vd,lx,Bi=w(()=>{"use strict";n();Vd=`.dapp-core-component__main__link-style {
1
+ "use strict";var gg=Object.create;var nn=Object.defineProperty,fg=Object.defineProperties,Tg=Object.getOwnPropertyDescriptor,hg=Object.getOwnPropertyDescriptors,xg=Object.getOwnPropertyNames,Wn=Object.getOwnPropertySymbols,yg=Object.getPrototypeOf,la=Object.prototype.hasOwnProperty,ms=Object.prototype.propertyIsEnumerable;var ps=(e,o,t)=>o in e?nn(e,o,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[o]=t,f=(e,o)=>{for(var t in o||(o={}))la.call(o,t)&&ps(e,t,o[t]);if(Wn)for(var t of Wn(o))ms.call(o,t)&&ps(e,t,o[t]);return e},v=(e,o)=>fg(e,hg(o));var _a=e=>typeof e=="symbol"?e:e+"",je=(e,o)=>{var t={};for(var r in e)la.call(e,r)&&o.indexOf(r)<0&&(t[r]=e[r]);if(e!=null&&Wn)for(var r of Wn(e))o.indexOf(r)<0&&ms.call(e,r)&&(t[r]=e[r]);return t};var w=(e,o)=>()=>(e&&(o=e(e=0)),o);var I=(e,o)=>()=>(o||e((o={exports:{}}).exports,o),o.exports),ze=(e,o)=>{for(var t in o)nn(e,t,{get:o[t],enumerable:!0})},ds=(e,o,t,r)=>{if(o&&typeof o=="object"||typeof o=="function")for(let c of xg(o))!la.call(e,c)&&c!==t&&nn(e,c,{get:()=>o[c],enumerable:!(r=Tg(o,c))||r.enumerable});return e};var b=(e,o,t)=>(t=e!=null?gg(yg(e)):{},ds(o||!e||!e.__esModule?nn(t,"default",{value:e,enumerable:!0}):t,e)),Me=e=>ds(nn({},"__esModule",{value:!0}),e);var g=(e,o,t)=>new Promise((r,c)=>{var p=l=>{try{d(t.next(l))}catch(_){c(_)}},m=l=>{try{d(t.throw(l))}catch(_){c(_)}},d=l=>l.done?r(l.value):Promise.resolve(l.value).then(p,m);d((t=t.apply(e,o)).next())});var us=I(Un=>{"use strict";n();Un.byteLength=bg;Un.toByteArray=vg;Un.fromByteArray=kg;var Ke=[],Pe=[],Sg=typeof Uint8Array!="undefined"?Uint8Array:Array,ua="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(qo=0,ls=ua.length;qo<ls;++qo)Ke[qo]=ua[qo],Pe[ua.charCodeAt(qo)]=qo;var qo,ls;Pe["-".charCodeAt(0)]=62;Pe["_".charCodeAt(0)]=63;function _s(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 r=t===o?0:4-t%4;return[t,r]}function bg(e){var o=_s(e),t=o[0],r=o[1];return(t+r)*3/4-r}function wg(e,o,t){return(o+t)*3/4-t}function vg(e){var o,t=_s(e),r=t[0],c=t[1],p=new Sg(wg(e,r,c)),m=0,d=c>0?r-4:r,l;for(l=0;l<d;l+=4)o=Pe[e.charCodeAt(l)]<<18|Pe[e.charCodeAt(l+1)]<<12|Pe[e.charCodeAt(l+2)]<<6|Pe[e.charCodeAt(l+3)],p[m++]=o>>16&255,p[m++]=o>>8&255,p[m++]=o&255;return c===2&&(o=Pe[e.charCodeAt(l)]<<2|Pe[e.charCodeAt(l+1)]>>4,p[m++]=o&255),c===1&&(o=Pe[e.charCodeAt(l)]<<10|Pe[e.charCodeAt(l+1)]<<4|Pe[e.charCodeAt(l+2)]>>2,p[m++]=o>>8&255,p[m++]=o&255),p}function Ag(e){return Ke[e>>18&63]+Ke[e>>12&63]+Ke[e>>6&63]+Ke[e&63]}function Ig(e,o,t){for(var r,c=[],p=o;p<t;p+=3)r=(e[p]<<16&16711680)+(e[p+1]<<8&65280)+(e[p+2]&255),c.push(Ag(r));return c.join("")}function kg(e){for(var o,t=e.length,r=t%3,c=[],p=16383,m=0,d=t-r;m<d;m+=p)c.push(Ig(e,m,m+p>d?d:m+p));return r===1?(o=e[t-1],c.push(Ke[o>>2]+Ke[o<<4&63]+"==")):r===2&&(o=(e[t-2]<<8)+e[t-1],c.push(Ke[o>>10]+Ke[o>>4&63]+Ke[o<<2&63]+"=")),c.join("")}});var gs=I(ga=>{n();ga.read=function(e,o,t,r,c){var p,m,d=c*8-r-1,l=(1<<d)-1,_=l>>1,T=-7,u=t?c-1:0,x=t?-1:1,L=e[o+u];for(u+=x,p=L&(1<<-T)-1,L>>=-T,T+=d;T>0;p=p*256+e[o+u],u+=x,T-=8);for(m=p&(1<<-T)-1,p>>=-T,T+=r;T>0;m=m*256+e[o+u],u+=x,T-=8);if(p===0)p=1-_;else{if(p===l)return m?NaN:(L?-1:1)*(1/0);m=m+Math.pow(2,r),p=p-_}return(L?-1:1)*m*Math.pow(2,p-r)};ga.write=function(e,o,t,r,c,p){var m,d,l,_=p*8-c-1,T=(1<<_)-1,u=T>>1,x=c===23?Math.pow(2,-24)-Math.pow(2,-77):0,L=r?0:p-1,k=r?1:-1,E=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+u>=1?o+=x/l:o+=x*Math.pow(2,1-u),o*l>=2&&(m++,l/=2),m+u>=T?(d=0,m=T):m+u>=1?(d=(o*l-1)*Math.pow(2,c),m=m+u):(d=o*Math.pow(2,u-1)*Math.pow(2,c),m=0));c>=8;e[t+L]=d&255,L+=k,d/=256,c-=8);for(m=m<<c|d,_+=c;_>0;e[t+L]=m&255,L+=k,m/=256,_-=8);e[t+L-k]|=E*128}});var Ls=I(ht=>{"use strict";n();var fa=us(),Tt=gs(),fs=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;ht.Buffer=h;ht.SlowBuffer=Rg;ht.INSPECT_MAX_BYTES=50;var Gn=2147483647;ht.kMaxLength=Gn;h.TYPED_ARRAY_SUPPORT=Lg();!h.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 Lg(){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(h.prototype,"parent",{enumerable:!0,get:function(){if(!!h.isBuffer(this))return this.buffer}});Object.defineProperty(h.prototype,"offset",{enumerable:!0,get:function(){if(!!h.isBuffer(this))return this.byteOffset}});function po(e){if(e>Gn)throw new RangeError('The value "'+e+'" is invalid for option "size"');var o=new Uint8Array(e);return Object.setPrototypeOf(o,h.prototype),o}function h(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 ya(e)}return xs(e,o,t)}h.poolSize=8192;function xs(e,o,t){if(typeof e=="string")return Eg(e,o);if(ArrayBuffer.isView(e))return Cg(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(Xe(e,ArrayBuffer)||e&&Xe(e.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(Xe(e,SharedArrayBuffer)||e&&Xe(e.buffer,SharedArrayBuffer)))return ha(e,o,t);if(typeof e=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var r=e.valueOf&&e.valueOf();if(r!=null&&r!==e)return h.from(r,o,t);var c=Ng(e);if(c)return c;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof e[Symbol.toPrimitive]=="function")return h.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)}h.from=function(e,o,t){return xs(e,o,t)};Object.setPrototypeOf(h.prototype,Uint8Array.prototype);Object.setPrototypeOf(h,Uint8Array);function ys(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 Pg(e,o,t){return ys(e),e<=0?po(e):o!==void 0?typeof t=="string"?po(e).fill(o,t):po(e).fill(o):po(e)}h.alloc=function(e,o,t){return Pg(e,o,t)};function ya(e){return ys(e),po(e<0?0:Sa(e)|0)}h.allocUnsafe=function(e){return ya(e)};h.allocUnsafeSlow=function(e){return ya(e)};function Eg(e,o){if((typeof o!="string"||o==="")&&(o="utf8"),!h.isEncoding(o))throw new TypeError("Unknown encoding: "+o);var t=Ss(e,o)|0,r=po(t),c=r.write(e,o);return c!==t&&(r=r.slice(0,c)),r}function Ta(e){for(var o=e.length<0?0:Sa(e.length)|0,t=po(o),r=0;r<o;r+=1)t[r]=e[r]&255;return t}function Cg(e){if(Xe(e,Uint8Array)){var o=new Uint8Array(e);return ha(o.buffer,o.byteOffset,o.byteLength)}return Ta(e)}function ha(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 r;return o===void 0&&t===void 0?r=new Uint8Array(e):t===void 0?r=new Uint8Array(e,o):r=new Uint8Array(e,o,t),Object.setPrototypeOf(r,h.prototype),r}function Ng(e){if(h.isBuffer(e)){var o=Sa(e.length)|0,t=po(o);return t.length===0||e.copy(t,0,0,o),t}if(e.length!==void 0)return typeof e.length!="number"||ba(e.length)?po(0):Ta(e);if(e.type==="Buffer"&&Array.isArray(e.data))return Ta(e.data)}function Sa(e){if(e>=Gn)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+Gn.toString(16)+" bytes");return e|0}function Rg(e){return+e!=e&&(e=0),h.alloc(+e)}h.isBuffer=function(o){return o!=null&&o._isBuffer===!0&&o!==h.prototype};h.compare=function(o,t){if(Xe(o,Uint8Array)&&(o=h.from(o,o.offset,o.byteLength)),Xe(t,Uint8Array)&&(t=h.from(t,t.offset,t.byteLength)),!h.isBuffer(o)||!h.isBuffer(t))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(o===t)return 0;for(var r=o.length,c=t.length,p=0,m=Math.min(r,c);p<m;++p)if(o[p]!==t[p]){r=o[p],c=t[p];break}return r<c?-1:c<r?1:0};h.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}};h.concat=function(o,t){if(!Array.isArray(o))throw new TypeError('"list" argument must be an Array of Buffers');if(o.length===0)return h.alloc(0);var r;if(t===void 0)for(t=0,r=0;r<o.length;++r)t+=o[r].length;var c=h.allocUnsafe(t),p=0;for(r=0;r<o.length;++r){var m=o[r];if(Xe(m,Uint8Array))p+m.length>c.length?h.from(m).copy(c,p):Uint8Array.prototype.set.call(c,m,p);else if(h.isBuffer(m))m.copy(c,p);else throw new TypeError('"list" argument must be an Array of Buffers');p+=m.length}return c};function Ss(e,o){if(h.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||Xe(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,r=arguments.length>2&&arguments[2]===!0;if(!r&&t===0)return 0;for(var c=!1;;)switch(o){case"ascii":case"latin1":case"binary":return t;case"utf8":case"utf-8":return xa(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return t*2;case"hex":return t>>>1;case"base64":return ks(e).length;default:if(c)return r?-1:xa(e).length;o=(""+o).toLowerCase(),c=!0}}h.byteLength=Ss;function Dg(e,o,t){var r=!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 $g(this,o,t);case"utf8":case"utf-8":return ws(this,o,t);case"ascii":return Hg(this,o,t);case"latin1":case"binary":return Vg(this,o,t);case"base64":return Ug(this,o,t);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return qg(this,o,t);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}h.prototype._isBuffer=!0;function jo(e,o,t){var r=e[o];e[o]=e[t],e[t]=r}h.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)jo(this,t,t+1);return this};h.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)jo(this,t,t+3),jo(this,t+1,t+2);return this};h.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)jo(this,t,t+7),jo(this,t+1,t+6),jo(this,t+2,t+5),jo(this,t+3,t+4);return this};h.prototype.toString=function(){var o=this.length;return o===0?"":arguments.length===0?ws(this,0,o):Dg.apply(this,arguments)};h.prototype.toLocaleString=h.prototype.toString;h.prototype.equals=function(o){if(!h.isBuffer(o))throw new TypeError("Argument must be a Buffer");return this===o?!0:h.compare(this,o)===0};h.prototype.inspect=function(){var o="",t=ht.INSPECT_MAX_BYTES;return o=this.toString("hex",0,t).replace(/(.{2})/g,"$1 ").trim(),this.length>t&&(o+=" ... "),"<Buffer "+o+">"};fs&&(h.prototype[fs]=h.prototype.inspect);h.prototype.compare=function(o,t,r,c,p){if(Xe(o,Uint8Array)&&(o=h.from(o,o.offset,o.byteLength)),!h.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),r===void 0&&(r=o?o.length:0),c===void 0&&(c=0),p===void 0&&(p=this.length),t<0||r>o.length||c<0||p>this.length)throw new RangeError("out of range index");if(c>=p&&t>=r)return 0;if(c>=p)return-1;if(t>=r)return 1;if(t>>>=0,r>>>=0,c>>>=0,p>>>=0,this===o)return 0;for(var m=p-c,d=r-t,l=Math.min(m,d),_=this.slice(c,p),T=o.slice(t,r),u=0;u<l;++u)if(_[u]!==T[u]){m=_[u],d=T[u];break}return m<d?-1:d<m?1:0};function bs(e,o,t,r,c){if(e.length===0)return-1;if(typeof t=="string"?(r=t,t=0):t>2147483647?t=2147483647:t<-2147483648&&(t=-2147483648),t=+t,ba(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=h.from(o,r)),h.isBuffer(o))return o.length===0?-1:Ts(e,o,t,r,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):Ts(e,[o],t,r,c);throw new TypeError("val must be string, number or Buffer")}function Ts(e,o,t,r,c){var p=1,m=e.length,d=o.length;if(r!==void 0&&(r=String(r).toLowerCase(),r==="ucs2"||r==="ucs-2"||r==="utf16le"||r==="utf-16le")){if(e.length<2||o.length<2)return-1;p=2,m/=2,d/=2,t/=2}function l(L,k){return p===1?L[k]:L.readUInt16BE(k*p)}var _;if(c){var T=-1;for(_=t;_<m;_++)if(l(e,_)===l(o,T===-1?0:_-T)){if(T===-1&&(T=_),_-T+1===d)return T*p}else T!==-1&&(_-=_-T),T=-1}else for(t+d>m&&(t=m-d),_=t;_>=0;_--){for(var u=!0,x=0;x<d;x++)if(l(e,_+x)!==l(o,x)){u=!1;break}if(u)return _}return-1}h.prototype.includes=function(o,t,r){return this.indexOf(o,t,r)!==-1};h.prototype.indexOf=function(o,t,r){return bs(this,o,t,r,!0)};h.prototype.lastIndexOf=function(o,t,r){return bs(this,o,t,r,!1)};function Mg(e,o,t,r){t=Number(t)||0;var c=e.length-t;r?(r=Number(r),r>c&&(r=c)):r=c;var p=o.length;r>p/2&&(r=p/2);for(var m=0;m<r;++m){var d=parseInt(o.substr(m*2,2),16);if(ba(d))return m;e[t+m]=d}return m}function Og(e,o,t,r){return Hn(xa(o,e.length-t),e,t,r)}function Bg(e,o,t,r){return Hn(Kg(o),e,t,r)}function Fg(e,o,t,r){return Hn(ks(o),e,t,r)}function Wg(e,o,t,r){return Hn(Xg(o,e.length-t),e,t,r)}h.prototype.write=function(o,t,r,c){if(t===void 0)c="utf8",r=this.length,t=0;else if(r===void 0&&typeof t=="string")c=t,r=this.length,t=0;else if(isFinite(t))t=t>>>0,isFinite(r)?(r=r>>>0,c===void 0&&(c="utf8")):(c=r,r=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var p=this.length-t;if((r===void 0||r>p)&&(r=p),o.length>0&&(r<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 Mg(this,o,t,r);case"utf8":case"utf-8":return Og(this,o,t,r);case"ascii":case"latin1":case"binary":return Bg(this,o,t,r);case"base64":return Fg(this,o,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Wg(this,o,t,r);default:if(m)throw new TypeError("Unknown encoding: "+c);c=(""+c).toLowerCase(),m=!0}};h.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function Ug(e,o,t){return o===0&&t===e.length?fa.fromByteArray(e):fa.fromByteArray(e.slice(o,t))}function ws(e,o,t){t=Math.min(e.length,t);for(var r=[],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,_,T,u;switch(d){case 1:p<128&&(m=p);break;case 2:l=e[c+1],(l&192)===128&&(u=(p&31)<<6|l&63,u>127&&(m=u));break;case 3:l=e[c+1],_=e[c+2],(l&192)===128&&(_&192)===128&&(u=(p&15)<<12|(l&63)<<6|_&63,u>2047&&(u<55296||u>57343)&&(m=u));break;case 4:l=e[c+1],_=e[c+2],T=e[c+3],(l&192)===128&&(_&192)===128&&(T&192)===128&&(u=(p&15)<<18|(l&63)<<12|(_&63)<<6|T&63,u>65535&&u<1114112&&(m=u))}}m===null?(m=65533,d=1):m>65535&&(m-=65536,r.push(m>>>10&1023|55296),m=56320|m&1023),r.push(m),c+=d}return Gg(r)}var hs=4096;function Gg(e){var o=e.length;if(o<=hs)return String.fromCharCode.apply(String,e);for(var t="",r=0;r<o;)t+=String.fromCharCode.apply(String,e.slice(r,r+=hs));return t}function Hg(e,o,t){var r="";t=Math.min(e.length,t);for(var c=o;c<t;++c)r+=String.fromCharCode(e[c]&127);return r}function Vg(e,o,t){var r="";t=Math.min(e.length,t);for(var c=o;c<t;++c)r+=String.fromCharCode(e[c]);return r}function $g(e,o,t){var r=e.length;(!o||o<0)&&(o=0),(!t||t<0||t>r)&&(t=r);for(var c="",p=o;p<t;++p)c+=Yg[e[p]];return c}function qg(e,o,t){for(var r=e.slice(o,t),c="",p=0;p<r.length-1;p+=2)c+=String.fromCharCode(r[p]+r[p+1]*256);return c}h.prototype.slice=function(o,t){var r=this.length;o=~~o,t=t===void 0?r:~~t,o<0?(o+=r,o<0&&(o=0)):o>r&&(o=r),t<0?(t+=r,t<0&&(t=0)):t>r&&(t=r),t<o&&(t=o);var c=this.subarray(o,t);return Object.setPrototypeOf(c,h.prototype),c};function se(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")}h.prototype.readUintLE=h.prototype.readUIntLE=function(o,t,r){o=o>>>0,t=t>>>0,r||se(o,t,this.length);for(var c=this[o],p=1,m=0;++m<t&&(p*=256);)c+=this[o+m]*p;return c};h.prototype.readUintBE=h.prototype.readUIntBE=function(o,t,r){o=o>>>0,t=t>>>0,r||se(o,t,this.length);for(var c=this[o+--t],p=1;t>0&&(p*=256);)c+=this[o+--t]*p;return c};h.prototype.readUint8=h.prototype.readUInt8=function(o,t){return o=o>>>0,t||se(o,1,this.length),this[o]};h.prototype.readUint16LE=h.prototype.readUInt16LE=function(o,t){return o=o>>>0,t||se(o,2,this.length),this[o]|this[o+1]<<8};h.prototype.readUint16BE=h.prototype.readUInt16BE=function(o,t){return o=o>>>0,t||se(o,2,this.length),this[o]<<8|this[o+1]};h.prototype.readUint32LE=h.prototype.readUInt32LE=function(o,t){return o=o>>>0,t||se(o,4,this.length),(this[o]|this[o+1]<<8|this[o+2]<<16)+this[o+3]*16777216};h.prototype.readUint32BE=h.prototype.readUInt32BE=function(o,t){return o=o>>>0,t||se(o,4,this.length),this[o]*16777216+(this[o+1]<<16|this[o+2]<<8|this[o+3])};h.prototype.readIntLE=function(o,t,r){o=o>>>0,t=t>>>0,r||se(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};h.prototype.readIntBE=function(o,t,r){o=o>>>0,t=t>>>0,r||se(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};h.prototype.readInt8=function(o,t){return o=o>>>0,t||se(o,1,this.length),this[o]&128?(255-this[o]+1)*-1:this[o]};h.prototype.readInt16LE=function(o,t){o=o>>>0,t||se(o,2,this.length);var r=this[o]|this[o+1]<<8;return r&32768?r|4294901760:r};h.prototype.readInt16BE=function(o,t){o=o>>>0,t||se(o,2,this.length);var r=this[o+1]|this[o]<<8;return r&32768?r|4294901760:r};h.prototype.readInt32LE=function(o,t){return o=o>>>0,t||se(o,4,this.length),this[o]|this[o+1]<<8|this[o+2]<<16|this[o+3]<<24};h.prototype.readInt32BE=function(o,t){return o=o>>>0,t||se(o,4,this.length),this[o]<<24|this[o+1]<<16|this[o+2]<<8|this[o+3]};h.prototype.readFloatLE=function(o,t){return o=o>>>0,t||se(o,4,this.length),Tt.read(this,o,!0,23,4)};h.prototype.readFloatBE=function(o,t){return o=o>>>0,t||se(o,4,this.length),Tt.read(this,o,!1,23,4)};h.prototype.readDoubleLE=function(o,t){return o=o>>>0,t||se(o,8,this.length),Tt.read(this,o,!0,52,8)};h.prototype.readDoubleBE=function(o,t){return o=o>>>0,t||se(o,8,this.length),Tt.read(this,o,!1,52,8)};function ye(e,o,t,r,c,p){if(!h.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+r>e.length)throw new RangeError("Index out of range")}h.prototype.writeUintLE=h.prototype.writeUIntLE=function(o,t,r,c){if(o=+o,t=t>>>0,r=r>>>0,!c){var p=Math.pow(2,8*r)-1;ye(this,o,t,r,p,0)}var m=1,d=0;for(this[t]=o&255;++d<r&&(m*=256);)this[t+d]=o/m&255;return t+r};h.prototype.writeUintBE=h.prototype.writeUIntBE=function(o,t,r,c){if(o=+o,t=t>>>0,r=r>>>0,!c){var p=Math.pow(2,8*r)-1;ye(this,o,t,r,p,0)}var m=r-1,d=1;for(this[t+m]=o&255;--m>=0&&(d*=256);)this[t+m]=o/d&255;return t+r};h.prototype.writeUint8=h.prototype.writeUInt8=function(o,t,r){return o=+o,t=t>>>0,r||ye(this,o,t,1,255,0),this[t]=o&255,t+1};h.prototype.writeUint16LE=h.prototype.writeUInt16LE=function(o,t,r){return o=+o,t=t>>>0,r||ye(this,o,t,2,65535,0),this[t]=o&255,this[t+1]=o>>>8,t+2};h.prototype.writeUint16BE=h.prototype.writeUInt16BE=function(o,t,r){return o=+o,t=t>>>0,r||ye(this,o,t,2,65535,0),this[t]=o>>>8,this[t+1]=o&255,t+2};h.prototype.writeUint32LE=h.prototype.writeUInt32LE=function(o,t,r){return o=+o,t=t>>>0,r||ye(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};h.prototype.writeUint32BE=h.prototype.writeUInt32BE=function(o,t,r){return o=+o,t=t>>>0,r||ye(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};h.prototype.writeIntLE=function(o,t,r,c){if(o=+o,t=t>>>0,!c){var p=Math.pow(2,8*r-1);ye(this,o,t,r,p-1,-p)}var m=0,d=1,l=0;for(this[t]=o&255;++m<r&&(d*=256);)o<0&&l===0&&this[t+m-1]!==0&&(l=1),this[t+m]=(o/d>>0)-l&255;return t+r};h.prototype.writeIntBE=function(o,t,r,c){if(o=+o,t=t>>>0,!c){var p=Math.pow(2,8*r-1);ye(this,o,t,r,p-1,-p)}var m=r-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+r};h.prototype.writeInt8=function(o,t,r){return o=+o,t=t>>>0,r||ye(this,o,t,1,127,-128),o<0&&(o=255+o+1),this[t]=o&255,t+1};h.prototype.writeInt16LE=function(o,t,r){return o=+o,t=t>>>0,r||ye(this,o,t,2,32767,-32768),this[t]=o&255,this[t+1]=o>>>8,t+2};h.prototype.writeInt16BE=function(o,t,r){return o=+o,t=t>>>0,r||ye(this,o,t,2,32767,-32768),this[t]=o>>>8,this[t+1]=o&255,t+2};h.prototype.writeInt32LE=function(o,t,r){return o=+o,t=t>>>0,r||ye(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};h.prototype.writeInt32BE=function(o,t,r){return o=+o,t=t>>>0,r||ye(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 vs(e,o,t,r,c,p){if(t+r>e.length)throw new RangeError("Index out of range");if(t<0)throw new RangeError("Index out of range")}function As(e,o,t,r,c){return o=+o,t=t>>>0,c||vs(e,o,t,4,34028234663852886e22,-34028234663852886e22),Tt.write(e,o,t,r,23,4),t+4}h.prototype.writeFloatLE=function(o,t,r){return As(this,o,t,!0,r)};h.prototype.writeFloatBE=function(o,t,r){return As(this,o,t,!1,r)};function Is(e,o,t,r,c){return o=+o,t=t>>>0,c||vs(e,o,t,8,17976931348623157e292,-17976931348623157e292),Tt.write(e,o,t,r,52,8),t+8}h.prototype.writeDoubleLE=function(o,t,r){return Is(this,o,t,!0,r)};h.prototype.writeDoubleBE=function(o,t,r){return Is(this,o,t,!1,r)};h.prototype.copy=function(o,t,r,c){if(!h.isBuffer(o))throw new TypeError("argument should be a Buffer");if(r||(r=0),!c&&c!==0&&(c=this.length),t>=o.length&&(t=o.length),t||(t=0),c>0&&c<r&&(c=r),c===r||o.length===0||this.length===0)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(r<0||r>=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-r&&(c=o.length-t+r);var p=c-r;return this===o&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(t,r,c):Uint8Array.prototype.set.call(o,this.subarray(r,c),t),p};h.prototype.fill=function(o,t,r,c){if(typeof o=="string"){if(typeof t=="string"?(c=t,t=0,r=this.length):typeof r=="string"&&(c=r,r=this.length),c!==void 0&&typeof c!="string")throw new TypeError("encoding must be a string");if(typeof c=="string"&&!h.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<r)throw new RangeError("Out of range index");if(r<=t)return this;t=t>>>0,r=r===void 0?this.length:r>>>0,o||(o=0);var m;if(typeof o=="number")for(m=t;m<r;++m)this[m]=o;else{var d=h.isBuffer(o)?o:h.from(o,c),l=d.length;if(l===0)throw new TypeError('The value "'+o+'" is invalid for argument "value"');for(m=0;m<r-t;++m)this[m+t]=d[m%l]}return this};var jg=/[^+/0-9A-Za-z-_]/g;function zg(e){if(e=e.split("=")[0],e=e.trim().replace(jg,""),e.length<2)return"";for(;e.length%4!==0;)e=e+"=";return e}function xa(e,o){o=o||1/0;for(var t,r=e.length,c=null,p=[],m=0;m<r;++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===r){(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 Kg(e){for(var o=[],t=0;t<e.length;++t)o.push(e.charCodeAt(t)&255);return o}function Xg(e,o){for(var t,r,c,p=[],m=0;m<e.length&&!((o-=2)<0);++m)t=e.charCodeAt(m),r=t>>8,c=t%256,p.push(c),p.push(r);return p}function ks(e){return fa.toByteArray(zg(e))}function Hn(e,o,t,r){for(var c=0;c<r&&!(c+t>=o.length||c>=e.length);++c)o[c+t]=e[c];return c}function Xe(e,o){return e instanceof o||e!=null&&e.constructor!=null&&e.constructor.name!=null&&e.constructor.name===o.name}function ba(e){return e!==e}var Yg=function(){for(var e="0123456789abcdef",o=new Array(256),t=0;t<16;++t)for(var r=t*16,c=0;c<16;++c)o[r+c]=e[t]+e[c];return o}()});var Rs=I((t0,Ns)=>{n();var Q=Ns.exports={},Ye,Je;function wa(){throw new Error("setTimeout has not been defined")}function va(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?Ye=setTimeout:Ye=wa}catch(e){Ye=wa}try{typeof clearTimeout=="function"?Je=clearTimeout:Je=va}catch(e){Je=va}})();function Ps(e){if(Ye===setTimeout)return setTimeout(e,0);if((Ye===wa||!Ye)&&setTimeout)return Ye=setTimeout,setTimeout(e,0);try{return Ye(e,0)}catch(o){try{return Ye.call(null,e,0)}catch(t){return Ye.call(this,e,0)}}}function Jg(e){if(Je===clearTimeout)return clearTimeout(e);if((Je===va||!Je)&&clearTimeout)return Je=clearTimeout,clearTimeout(e);try{return Je(e)}catch(o){try{return Je.call(null,e)}catch(t){return Je.call(this,e)}}}var mo=[],xt=!1,zo,Vn=-1;function Zg(){!xt||!zo||(xt=!1,zo.length?mo=zo.concat(mo):Vn=-1,mo.length&&Es())}function Es(){if(!xt){var e=Ps(Zg);xt=!0;for(var o=mo.length;o;){for(zo=mo,mo=[];++Vn<o;)zo&&zo[Vn].run();Vn=-1,o=mo.length}zo=null,xt=!1,Jg(e)}}Q.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];mo.push(new Cs(e,o)),mo.length===1&&!xt&&Ps(Es)};function Cs(e,o){this.fun=e,this.array=o}Cs.prototype.run=function(){this.fun.apply(null,this.array)};Q.title="browser";Q.browser=!0;Q.env={};Q.argv=[];Q.version="";Q.versions={};function lo(){}Q.on=lo;Q.addListener=lo;Q.once=lo;Q.off=lo;Q.removeListener=lo;Q.removeAllListeners=lo;Q.emit=lo;Q.prependListener=lo;Q.prependOnceListener=lo;Q.listeners=function(e){return[]};Q.binding=function(e){throw new Error("process.binding is not supported")};Q.cwd=function(){return"/"};Q.chdir=function(e){throw new Error("process.chdir is not supported")};Q.umask=function(){return 0}});var a,s,Qg,i,n=w(()=>{a=b(Ls()),s=b(Rs()),Qg=function(e){function o(){var r=this||self;return delete e.prototype.__magic__,r}if(typeof globalThis=="object")return globalThis;if(this)return o();e.defineProperty(e.prototype,"__magic__",{configurable:!0,get:o});var t=__magic__;return t}(Object),i=Qg});var Aa=w(()=>{"use strict";n()});var Ds=w(()=>{"use strict";n()});var Ms=w(()=>{"use strict";n()});var Oe,yt,Po=w(()=>{"use strict";n();Oe=require("@multiversx/sdk-web-wallet-cross-window-provider/out/CrossWindowProvider/CrossWindowProvider"),yt=require("@multiversx/sdk-web-wallet-cross-window-provider/out/enums")});var Y,Os,s0,Bs,c0,V=w(()=>{"use strict";n();Po();Y=(x=>(x.ledger="ledger",x.walletconnect="walletconnect",x.walletconnectv2="walletconnectv2",x.wallet="wallet",x.crossWindow="crossWindow",x.iframe="iframe",x.extension="extension",x.passkey="passkey",x.metamask="metamask",x.opera="opera",x.extra="extra",x.none="",x))(Y||{}),Os=(t=>(t.signTransactionsWithGuardianResponse="SIGN_TRANSACTIONS_WITH_GUARDIAN_RESPONSE",t.reloginRequest="RELOGIN_REQUEST",t))(Os||{}),s0=f(f({},yt.WindowProviderRequestEnums),Os),Bs=(o=>(o.reloginResponse="RELOGIN_RESPONSE",o))(Bs||{}),c0=f(f({},yt.WindowProviderResponseEnums),Bs)});var Fs=w(()=>{"use strict";n()});var Ws=w(()=>{"use strict";n()});var Se=w(()=>{"use strict";n()});var Us=w(()=>{"use strict";n()});var Gs=w(()=>{"use strict";n()});var Hs=w(()=>{"use strict";n()});var U=w(()=>{"use strict";n();Aa();Ds();Ms();V();Fs();Ws();Se();Us();Gs();Hs()});var Be,$n,v0,qn,A0,jn,I0,k0,ef,zn,_o=w(()=>{"use strict";n();U();Be={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:$n,egldLabel:v0}=Be["devnet"],{chainId:qn,egldLabel:A0}=Be["testnet"],{chainId:jn,egldLabel:I0}=Be["mainnet"],k0={["devnet"]:$n,["testnet"]:qn,["mainnet"]:jn},ef={[$n]:"devnet",[qn]:"testnet",[jn]:"mainnet"},zn=3e3});var Ys=w(()=>{"use strict";n()});var Ze,Fe=w(()=>{"use strict";n();Ze="Action not allowed. User is logged in. Call logout() first"});var Js=w(()=>{"use strict";n()});var La,Zs=w(()=>{"use strict";n();La=(r=>(r.SetGuardian="SetGuardian",r.GuardAccount="GuardAccount",r.UnGuardAccount="UnGuardAccount",r))(La||{})});var Qs=w(()=>{"use strict";n()});var Pa=w(()=>{"use strict";n()});var ec=w(()=>{"use strict";n()});var Yo=w(()=>{"use strict";n()});var Qe,oc=w(()=>{"use strict";n();Qe=require("@multiversx/sdk-web-wallet-provider")});var Te,Jo=w(()=>{"use strict";n();Te=require("@multiversx/sdk-dapp-utils/out/constants/browserConstants")});var tc,nc,Ea,uw,gw,Ca=w(()=>{"use strict";n();Jo();Ea=String((nc=(tc=Te.safeWindow)==null?void 0:tc.navigator)==null?void 0:nc.userAgent),uw=/^((?!chrome|android).)*safari/i.test(Ea),gw=/firefox/i.test(Ea)&&/windows/i.test(Ea)});var Kn,Xn,rc,ac,rn,Na,Ra,Yn,ic,St,Jn,D=w(()=>{"use strict";n();Ys();Fe();Js();Zs();Qs();Pa();ec();_o();Yo();oc();Ca();Kn=5e4,Xn=1e9,rc=1,ac=1,rn="signSession",Na="sdk-dapp-version",Ra="4.3.7-alpha.1",Yn="logout",ic="login",St="0",Jn="-"});var bt,Zn=w(()=>{"use strict";n();bt=()=>Date.now()/1e3});var sc=w(()=>{"use strict";n()});var cc=w(()=>{"use strict";n()});var Da=w(()=>{"use strict";n();Zn();sc();cc()});var Ma={};ze(Ma,{clear:()=>pf,getItem:()=>sf,localStorageKeys:()=>ue,removeItem:()=>cf,setItem:()=>af});var ue,Qn,af,sf,cf,pf,Co=w(()=>{"use strict";n();Da();ue={loginExpiresAt:"sdk-dapp-login-expires-at",logoutEvent:"sdk-dapp-logout-event",guardianBreachToastDismissTimestamp:"sdk-dapp-guardian-breach-toast-dismiss-timestamp"},Qn=typeof localStorage!="undefined",af=({key:e,data:o,expires:t})=>{!Qn||localStorage.setItem(String(e),JSON.stringify({expires:t,data:o}))},sf=e=>{if(!Qn)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:bt()>=t.expires?(localStorage.removeItem(String(e)),null):t.data},cf=e=>{!Qn||localStorage.removeItem(String(e))},pf=()=>{!Qn||localStorage.clear()}});var Oa={};ze(Oa,{clear:()=>lc,getItem:()=>mc,removeItem:()=>dc,sessionStorageKeys:()=>mf,setItem:()=>pc,storage:()=>df});var mf,pc,mc,dc,lc,df,_c=w(()=>{"use strict";n();mf={address:"address",shard:"shard",toasts:"toasts",toastProgress:"toastProgress"},pc=({key:e,data:o,expires:t})=>{sessionStorage.setItem(String(e),JSON.stringify({expires:t,data:o}))},mc=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},dc=e=>sessionStorage.removeItem(String(e)),lc=()=>sessionStorage.clear(),df={setItem:pc,getItem:mc,removeItem:dc,clear:lc}});var ve,Zo=w(()=>{"use strict";n();Co();_c();ve={session:Oa,local:Ma}});var Ba,z,re,K=w(()=>{"use strict";n();Ba=require("@reduxjs/toolkit");D();z=(0,Ba.createAction)(Yn),re=(0,Ba.createAction)(ic,e=>({payload:e}))});var Wa,uc,gc,pe,Fa,fc,ce,be,er,jw,Ua,lf,zw,wt,Tc,hc,xc,or,tr=w(()=>{"use strict";n();Wa=require("@multiversx/sdk-core"),uc=require("@reduxjs/toolkit"),gc=require("redux-persist");D();Zo();Co();K();pe={balance:"...",address:"",isGuarded:!1,nonce:0,txCount:0,scrCount:0,claimableRewards:St},Fa={address:"",websocketEvent:null,websocketBatchEvent:null,accounts:{"":pe},ledgerAccount:null,publicKey:"",walletConnectAccount:null,isAccountLoading:!0,accountLoadingError:null},fc=(0,uc.createSlice)({name:"accountInfoSlice",initialState:Fa,reducers:{setAddress:(e,o)=>{let t=o.payload;e.address=t,e.publicKey=t?new Wa.Address(t).hex():""},setAccount:(e,o)=>{let t=e.address===o.payload.address;e.accounts={[e.address]:t?o.payload:pe},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(z,()=>(ve.local.removeItem(ue.loginExpiresAt),Fa)),e.addCase(re,(o,t)=>{let{address:r}=t.payload;o.address=r,o.publicKey=new Wa.Address(r).toHex()}),e.addCase(gc.REHYDRATE,(o,t)=>{var _;if(!((_=t.payload)!=null&&_.account))return;let{account:r}=t.payload,{address:c,shard:p,accounts:m,publicKey:d}=r;o.address=c,o.shard=p;let l=m&&c in m;o.accounts=l?m:Fa.accounts,o.publicKey=d})}}),{setAccount:ce,setAddress:be,setAccountNonce:er,setAccountShard:jw,setLedgerAccount:Ua,updateLedgerAccount:lf,setWalletConnectAccount:zw,setIsAccountLoading:wt,setAccountLoadingError:Tc,setWebsocketEvent:hc,setWebsocketBatchEvent:xc}=fc.actions,or=fc.reducer});function an(){return new Date().setHours(new Date().getHours()+24)}function sn(e){ve.local.setItem({key:ue.loginExpiresAt,data:e,expires:e})}var Ga=w(()=>{"use strict";n();Zo();Co()});var Sc,yc,bc,nv,wc,_f,uo,rv,nr,vc,Ac,Ha,Ic,rr,cn=w(()=>{"use strict";n();Sc=require("@reduxjs/toolkit");Ga();V();K();yc={loginMethod:"",walletConnectLogin:null,ledgerLogin:null,tokenLogin:null,walletLogin:null,extensionLogin:null,passkeyLogin:null,operaLogin:null,crossWindowLogin:null,iframeWindowLogin:null,isLoginSessionInvalid:!1,webviewLogin:null},bc=(0,Sc.createSlice)({name:"loginInfoSlice",initialState:yc,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(z,()=>yc),e.addCase(re,(o,t)=>{o.isLoginSessionInvalid=!1,o.loginMethod=t.payload.loginMethod,o.iframeLoginType=t.payload.iframeLoginType,sn(an())})}}),{setLoginMethod:nv,setWalletConnectLogin:wc,setLedgerLogin:_f,setTokenLogin:uo,setTokenLoginSignature:rv,setWalletLogin:nr,invalidateLoginSession:vc,setLogoutRoute:Ac,setIsWalletConnectV2Initialized:Ha,setWebviewLogin:Ic}=bc.actions,rr=bc.reducer});var Lc,kc,Pc,Ec,uf,cv,gf,ar,ir=w(()=>{"use strict";n();Lc=require("@reduxjs/toolkit");K();kc={},Pc=(0,Lc.createSlice)({name:"modalsSlice",initialState:kc,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(z,()=>kc)}}),{setTxSubmittedModal:Ec,setNotificationModal:uf,clearTxSubmittedModal:cv,clearNotificationModal:gf}=Pc.actions,ar=Pc.reducer});var go,vt=w(()=>{"use strict";n();go=()=>typeof window!="undefined"&&typeof(window==null?void 0:window.location)!="undefined"});var $,me=w(()=>{"use strict";n();vt();$=()=>{if(!go())return{pathname:"",hash:"",origin:"",href:"",search:""};let{location:{pathname:o,hash:t,origin:r,href:c,search:p}}=window;return{pathname:o,hash:t,origin:r,href:c,search:p}}});var At,Cc=w(()=>{"use strict";n();me();At=(e="")=>{let o=$(),t=e.startsWith("http")||e.startsWith("www.");return!o.origin||e.startsWith(o.origin)||t?e:`${o.origin}/${e.replace("/","")}`}});var Nc=w(()=>{"use strict";n();ge()});var Rc,Dc=w(()=>{"use strict";n();Jo();Rc=e=>{if(!Te.safeWindow.location)return;if(!new URL(Te.safeWindow.location.href).protocol.startsWith("http"))return Te.safeWindow.location.reload();Te.safeWindow.location.assign(e)}});var ge=w(()=>{"use strict";n();Cc();Nc();me();Dc()});var Mc,Oc,Qo,It=w(()=>{"use strict";n();ge();Mc=!1,Oc=(e=!0)=>{Mc=e},Qo=({timeout:e=0,url:o})=>{Mc||setTimeout(()=>{if(!!window)return Rc(o)},e)}});function No({callbackRoute:e,onLoginRedirect:o,options:t}){let r=Boolean(e),c=typeof o=="function";if(r&&e!=null){if(c)return o(e,t);Qo({url:e,timeout:ff})}}var ff,Bc=w(()=>{"use strict";n();It();ff=200});function Fc(e){return e[Math.floor(Math.random()*e.length)]}var Wc=w(()=>{"use strict";n()});var Va=w(()=>{"use strict";n();Pa()});var fo=w(()=>{"use strict";n();Bc();Wc();Va()});var Uc,Gc,Hc,pn,hf,Vc,$a,qa,$c,sr,mn=w(()=>{"use strict";n();Uc=require("@reduxjs/toolkit"),Gc=b(require("lodash.omit")),Hc=require("redux-persist");Yo();K();fo();pn={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},hf={network:pn},Vc=(0,Uc.createSlice)({name:"appConfig",initialState:hf,reducers:{initializeNetworkConfig:(e,o)=>{let t=Fc(o.payload.walletConnectV2RelayAddresses),r=(0,Gc.default)(o.payload,"walletConnectV2RelayAddresses");e.network=v(f(f({},e.network),r),{walletConnectV2RelayAddress:t})},updateNetworkConfig:(e,o)=>{e.network=f(f({},e.network),o.payload)},setCustomWalletAddress:(e,o)=>{e.network.customWalletAddress=o.payload}},extraReducers:e=>{e.addCase(z,o=>{o.network.customWalletAddress=void 0}),e.addCase(Hc.REHYDRATE,(o,t)=>{var c,p;if(!((p=(c=t.payload)==null?void 0:c.network)!=null&&p.customWalletAddress))return;let{network:{customWalletAddress:r}}=t.payload;o.network.customWalletAddress=r})}}),{initializeNetworkConfig:$a,updateNetworkConfig:qa,setCustomWalletAddress:$c}=Vc.actions,sr=Vc.reducer});var qc,ja,jc,qv,jv,zv,cr,pr=w(()=>{"use strict";n();qc=require("@reduxjs/toolkit");U();K();ja={isSigning:!1,signedSessions:{}},jc=(0,qc.createSlice)({name:"signedMessageInfoSliceState",initialState:ja,reducers:{setSignSession:(e,o)=>{let{sessionId:t,signedSession:r,errorMessage:c}=o.payload;c&&(e.errorMessage=c),e.isSigning=r.status==="pending",e.signedSessions[t]=f(f({},e.signedSessions[t]),r)},setSignSessionState:(e,o)=>f(f({},e),o.payload),clearSignedMessageInfo:()=>ja},extraReducers:e=>{e.addCase(z,()=>ja)}}),{setSignSession:qv,clearSignedMessageInfo:jv,setSignSessionState:zv}=jc.actions,cr=jc.reducer});var Kc,Xc,zc,Yc,za,xf,eA,yf,mr,dr=w(()=>{"use strict";n();Kc=require("@reduxjs/toolkit"),Xc=require("redux-persist");U();Zn();K();zc={customToasts:[],transactionToasts:[]},Yc=(0,Kc.createSlice)({name:"toastsSlice",initialState:zc,reducers:{addCustomToast:(e,o)=>{let t=o.payload.toastId||`custom-toast-${e.customToasts.length+1}`,r=e.customToasts.findIndex(c=>c.toastId===t);if(r!==-1){e.customToasts[r]=v(f(f({},e.customToasts[r]),o.payload),{type:"custom",toastId:t});return}e.customToasts.push(v(f({},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:bt(),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(z,()=>zc),e.addCase(Xc.REHYDRATE,(o,t)=>{var c,p;let r=(p=(c=t.customToasts)==null?void 0:c.filter(m=>!("component"in m)))!=null?p:[];o.customToasts=r})}}),{addCustomToast:za,removeCustomToast:xf,addTransactionToast:eA,removeTransactionToast:yf}=Yc.actions,mr=Yc.reducer});var Jc,Xa,Ya,Ja,Sf,Ka,Zc,rA,bf,Za,lr,_r=w(()=>{"use strict";n();Jc=require("@reduxjs/toolkit");K();Xa="Transaction failed",Ya="Transaction successful",Ja="Processing transaction",Sf="Transaction submitted",Ka={},Zc=(0,Jc.createSlice)({name:"transactionsInfo",initialState:Ka,reducers:{setTransactionsDisplayInfo(e,o){let{sessionId:t,transactionsDisplayInfo:r}=o.payload;t!=null&&(e[t]={errorMessage:(r==null?void 0:r.errorMessage)||Xa,successMessage:(r==null?void 0:r.successMessage)||Ya,processingMessage:(r==null?void 0:r.processingMessage)||Ja,submittedMessage:(r==null?void 0:r.submittedMessage)||Sf,transactionDuration:r==null?void 0:r.transactionDuration})},clearTransactionsInfoForSessionId(e,o){o.payload!=null&&delete e[o.payload]},clearTransactionsInfo:()=>Ka},extraReducers:e=>{e.addCase(z,()=>Ka)}}),{clearTransactionsInfo:rA,setTransactionsDisplayInfo:bf,clearTransactionsInfoForSessionId:Za}=Zc.actions,lr=Zc.reducer});function To(e){return e!=null&&(Nf(e)||Bf(e))}function et(e){return e!=null&&(Rf(e)||Ff(e))}function ot(e){return e!=null&&(Df(e)||Wf(e))}function Qc(e){return e!=null&&(Mf(e)||Uf(e))}function Qa(e){return e!=null&&Of(e)}function Nf(e){return e!=null&&wf.includes(e)}function Rf(e){return e!=null&&vf.includes(e)}function Df(e){return e!=null&&Af.includes(e)}function Mf(e){return e!=null&&If.includes(e)}function Of(e){return e!=null&&kf.includes(e)}function Bf(e){return e!=null&&Lf.includes(e)}function Ff(e){return e!=null&&Pf.includes(e)}function Wf(e){return e!=null&&Ef.includes(e)}function Uf(e){return e!=null&&Cf.includes(e)}var wf,vf,Af,If,kf,Lf,Pf,Ef,Cf,kt=w(()=>{"use strict";n();V();wf=["sent"],vf=["success"],Af=["fail","cancelled","timedOut"],If=["invalid"],kf=["timedOut"],Lf=["pending"],Pf=["success"],Ef=["fail","invalid"],Cf=["not executed"]});var ep,op,dn,Gf,tp,oo,to,Hf,tt,Vf,$f,_A,qf,ln,ei,uA,ur,gr=w(()=>{"use strict";n();ep=require("@reduxjs/toolkit"),op=require("redux-persist");V();kt();K();dn={signedTransactions:{},transactionsToSign:null,signTransactionsError:null,signTransactionsCancelMessage:null,customTransactionInformationForSessionId:{}},Gf={signWithoutSending:!1,sessionInformation:null,redirectAfterSign:!1},tp=(0,ep.createSlice)({name:"transactionsSlice",initialState:dn,reducers:{moveTransactionsToSignedState:(e,o)=>{var l,_;let{sessionId:t,transactions:r,errorMessage:c,status:p,redirectRoute:m,customTransactionInformation:d}=o.payload;e.customTransactionInformationForSessionId[t]=f(f(f({},Gf),((l=e.signedTransactions[t])==null?void 0:l.customTransactionInformation)||{}),e.customTransactionInformationForSessionId[t]||{}),e.signedTransactions[t]={transactions:r,status:p,errorMessage:c,redirectRoute:m,customTransactionInformation:f(f({},e.customTransactionInformationForSessionId[t]),d!=null?d:{})},((_=e==null?void 0:e.transactionsToSign)==null?void 0:_.sessionId)===t&&(e.transactionsToSign=dn.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=f(f({},e.signedTransactions),o.payload)},updateSignedTransactions:(e,o)=>{let{sessionId:t,status:r,errorMessage:c,transactions:p}=o.payload;e.signedTransactions[t]!=null&&(e.signedTransactions[t].status=r,c!=null&&(e.signedTransactions[t].errorMessage=c),p!=null&&(e.signedTransactions[t].transactions=p))},updateSignedTransactionStatus:(e,o)=>{var _,T,u,x,L,k,E,O;let{sessionId:t,status:r,errorMessage:c,transactionHash:p,serverTransaction:m,inTransit:d}=o.payload,l=(T=(_=e.signedTransactions)==null?void 0:_[t])==null?void 0:T.transactions;if(l!=null){e.signedTransactions[t].transactions=l.map(R=>R.hash===p?v(f(f({},m!=null?m:{}),R),{status:r,errorMessage:c,inTransit:d}):R);let C=(x=(u=e.signedTransactions[t])==null?void 0:u.transactions)==null?void 0:x.every(R=>et(R.status)),F=(k=(L=e.signedTransactions[t])==null?void 0:L.transactions)==null?void 0:k.some(R=>ot(R.status)),W=(O=(E=e.signedTransactions[t])==null?void 0:E.transactions)==null?void 0:O.every(R=>Qc(R.status));C&&(e.signedTransactions[t].status="success"),F&&(e.signedTransactions[t].status="fail"),W&&(e.signedTransactions[t].status="invalid")}},setTransactionsToSign:(e,o)=>{e.transactionsToSign=o.payload;let{sessionId:t,customTransactionInformation:r}=o.payload;e.customTransactionInformationForSessionId[t]=r,e.signTransactionsError=null},clearAllTransactionsToSign:e=>{e.transactionsToSign=dn.transactionsToSign,e.signTransactionsError=null},clearAllSignedTransactions:e=>{e.signedTransactions=dn.signedTransactions},setSignTransactionsError:(e,o)=>{e.signTransactionsError=o.payload},setSignTransactionsCancelMessage:(e,o)=>{e.signTransactionsCancelMessage=o.payload},updateSignedTransactionsCustomTransactionInformation:(e,o)=>{let{sessionId:t,customTransactionInformationOverrides:r}=o.payload;e.signedTransactions[t]!=null&&(e.signedTransactions[t].customTransactionInformation=f(f({},e.signedTransactions[t].customTransactionInformation),r))}},extraReducers:e=>{e.addCase(z,()=>dn),e.addCase(op.REHYDRATE,(o,t)=>{var m;if(o.signTransactionsCancelMessage=null,!((m=t.payload)!=null&&m.transactions))return;let{signedTransactions:r,customTransactionInformationForSessionId:c}=t.payload.transactions,p=Object.entries(r).reduce((d,[l,_])=>{let T=new Date(l),u=new Date;return u.setHours(u.getHours()+5),u-T>0||(d[l]=_),d},{});c!=null&&(o.customTransactionInformationForSessionId=c),r!=null&&(o.signedTransactions=p)})}}),{updateSignedTransactionStatus:oo,updateSignedTransactions:to,setTransactionsToSign:Hf,clearAllTransactionsToSign:tt,clearAllSignedTransactions:Vf,clearSignedTransaction:$f,clearTransactionToSign:_A,setSignTransactionsError:qf,setSignTransactionsCancelMessage:ln,moveTransactionsToSignedState:ei,updateSignedTransactionsCustomTransactionInformation:uA}=tp.actions,ur=tp.reducer});var np,oi,rp,ap,ip,sp,hA,fr,Tr=w(()=>{"use strict";n();np=require("@reduxjs/toolkit");K();oi={},rp=(0,np.createSlice)({name:"batchTransactionsSlice",initialState:oi,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:()=>oi},extraReducers:e=>{e.addCase(z,()=>oi)}}),{setBatchTransactions:ap,updateBatchTransactions:ip,clearBatchTransactions:sp,clearAllBatchTransactions:hA}=rp.actions,fr=rp.reducer});var pp,cp,mp,dp,lp,ti=w(()=>{"use strict";n();pp=require("@reduxjs/toolkit");K();cp={},mp=(0,pp.createSlice)({name:"dappConfigSlice",initialState:cp,reducers:{setDappConfig:(e,o)=>o.payload},extraReducers:e=>{e.addCase(z,()=>cp)}}),{setDappConfig:dp}=mp.actions,lp=mp.reducer});var N=w(()=>{"use strict";n();tr();cn();ir();mn();pr();dr();_r();gr();Tr();ti()});var ri=w(()=>{"use strict";n()});var Fp,oT,tT,it,Ar=w(()=>{"use strict";n();Fp=require("@reduxjs/toolkit");ri();tr();Tr();ti();cn();ir();mn();pr();dr();_r();gr();oT={["account"]:or,["dappConfig"]:lp,["loginInfo"]:rr,["modals"]:ar,["networkConfig"]:sr,["signedMessageInfo"]:cr,["toasts"]:mr,["transactionsInfo"]:lr,["transactions"]:ur,["batchTransactions"]:fr},tT=(e={})=>(0,Fp.combineReducers)(f(f({},oT),e)),it=tT});var Hp={};ze(Hp,{default:()=>hT,sessionStorageReducers:()=>ai});function xo(e,o=[]){return{key:e,version:1,storage:Up.default,blacklist:o}}var we,Wp,Up,nT,fn,rT,aT,iT,sT,cT,pT,mT,dT,lT,_T,Gp,uT,ai,gT,fT,TT,hT,Vp=w(()=>{"use strict";n();we=require("redux-persist"),Wp=b(require("redux-persist/lib/storage")),Up=b(require("redux-persist/lib/storage/session"));Ar();N();tr();Tr();cn();ir();mn();pr();dr();_r();gr();ri();nT={persistReducersStorageType:"localStorage"},fn={["account"]:"sdk-dapp-account",["loginInfo"]:"sdk-dapp-login-info",["modals"]:"sdk-dapp-modals",["networkConfig"]:"sdk-dapp-network-config"},rT=xo(fn["account"]),aT=xo(fn["loginInfo"]),iT=xo(fn["modals"]),sT=xo(fn["networkConfig"]),cT={2:e=>v(f({},e),{networkConfig:pn})};pT=xo("sdk-dapp-transactionsInfo"),mT=xo("sdk-dapp-transactions",["transactionsToSign"]),dT=xo("sdk-dapp-batchTransactions",["batchTransactions"]),lT=xo("sdk-dapp-toasts"),_T=xo("sdk-dapp-signedMessageInfo"),Gp={key:"sdk-dapp-store",version:2,storage:Wp.default,whitelist:Object.keys(fn),migrate:(0,we.createMigrate)(cT,{debug:!1})},uT=v(f({},Gp),{whitelist:[]}),ai={["toasts"]:(0,we.persistReducer)(lT,mr),["transactions"]:(0,we.persistReducer)(mT,ur),["transactionsInfo"]:(0,we.persistReducer)(pT,lr),["batchTransactions"]:(0,we.persistReducer)(dT,fr),["signedMessageInfo"]:(0,we.persistReducer)(_T,cr)},gT=v(f({},ai),{["account"]:(0,we.persistReducer)(rT,or),["loginInfo"]:(0,we.persistReducer)(aT,rr),["modals"]:(0,we.persistReducer)(iT,ar),["networkConfig"]:(0,we.persistReducer)(sT,sr)}),fT=nT.persistReducersStorageType==="localStorage",TT=fT?(0,we.persistReducer)(Gp,it(ai)):(0,we.persistReducer)(uT,it(gT)),hT=TT});var $p={};ze($p,{default:()=>xT});var xT,qp=w(()=>{"use strict";n();Ar();xT=it()});var jp={};ze(jp,{default:()=>ST});var Ce,yT,ST,zp=w(()=>{"use strict";n();Ce=require("redux-persist"),yT=[Ce.FLUSH,Ce.REHYDRATE,Ce.PAUSE,Ce.PERSIST,Ce.PURGE,Ce.REGISTER],ST=yT});var Yp={};ze(Yp,{default:()=>Xp});function Xp(e){return(0,Kp.persistStore)(e)}var Kp,Jp=w(()=>{"use strict";n();Kp=require("redux-persist")});var Km=I((f3,zm)=>{n();var Dh=typeof i=="object"&&i&&i.Object===Object&&i;zm.exports=Dh});var An=I((T3,Xm)=>{n();var Mh=Km(),Oh=typeof self=="object"&&self&&self.Object===Object&&self,Bh=Mh||Oh||Function("return this")();Xm.exports=Bh});var Pi=I((h3,Ym)=>{n();var Fh=An(),Wh=Fh.Symbol;Ym.exports=Wh});var ed=I((x3,Qm)=>{n();var Jm=Pi(),Zm=Object.prototype,Uh=Zm.hasOwnProperty,Gh=Zm.toString,In=Jm?Jm.toStringTag:void 0;function Hh(e){var o=Uh.call(e,In),t=e[In];try{e[In]=void 0;var r=!0}catch(p){}var c=Gh.call(e);return r&&(o?e[In]=t:delete e[In]),c}Qm.exports=Hh});var td=I((y3,od)=>{n();var Vh=Object.prototype,$h=Vh.toString;function qh(e){return $h.call(e)}od.exports=qh});var Ei=I((S3,ad)=>{n();var nd=Pi(),jh=ed(),zh=td(),Kh="[object Null]",Xh="[object Undefined]",rd=nd?nd.toStringTag:void 0;function Yh(e){return e==null?e===void 0?Xh:Kh:rd&&rd in Object(e)?jh(e):zh(e)}ad.exports=Yh});var sd=I((b3,id)=>{n();var Jh=Array.isArray;id.exports=Jh});var pd=I((w3,cd)=>{n();function Zh(e){return e!=null&&typeof e=="object"}cd.exports=Zh});var dd=I((v3,md)=>{n();var Qh=Ei(),ex=sd(),ox=pd(),tx="[object String]";function nx(e){return typeof e=="string"||!ex(e)&&ox(e)&&Qh(e)==tx}md.exports=nx});var Vr=I((Q3,fd)=>{n();function ix(e){var o=typeof e;return e!=null&&(o=="object"||o=="function")}fd.exports=ix});var Oi={};ze(Oi,{css:()=>Vd,default:()=>lx});var Vd,lx,Bi=w(()=>{"use strict";n();Vd=`.dapp-core-component__main__link-style {
2
2
  color: #1392ff;
3
3
  }
4
4
 
@@ -1,4 +1,4 @@
1
- "use strict";var tg=Object.create;var ot=Object.defineProperty,rg=Object.defineProperties,ag=Object.getOwnPropertyDescriptor,ig=Object.getOwnPropertyDescriptors,sg=Object.getOwnPropertyNames,Ot=Object.getOwnPropertySymbols,cg=Object.getPrototypeOf,pa=Object.prototype.hasOwnProperty,as=Object.prototype.propertyIsEnumerable;var rs=(e,o,n)=>o in e?ot(e,o,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[o]=n,f=(e,o)=>{for(var n in o||(o={}))pa.call(o,n)&&rs(e,n,o[n]);if(Ot)for(var n of Ot(o))as.call(o,n)&&rs(e,n,o[n]);return e},v=(e,o)=>rg(e,ig(o));var ma=e=>typeof e=="symbol"?e:e+"",qe=(e,o)=>{var n={};for(var r in e)pa.call(e,r)&&o.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&Ot)for(var r of Ot(e))o.indexOf(r)<0&&as.call(e,r)&&(n[r]=e[r]);return n};var w=(e,o)=>()=>(e&&(o=e(e=0)),o);var I=(e,o)=>()=>(o||e((o={exports:{}}).exports,o),o.exports),ze=(e,o)=>{for(var n in o)ot(e,n,{get:o[n],enumerable:!0})},is=(e,o,n,r)=>{if(o&&typeof o=="object"||typeof o=="function")for(let c of sg(o))!pa.call(e,c)&&c!==n&&ot(e,c,{get:()=>o[c],enumerable:!(r=ag(o,c))||r.enumerable});return e};var b=(e,o,n)=>(n=e!=null?tg(cg(e)):{},is(o||!e||!e.__esModule?ot(n,"default",{value:e,enumerable:!0}):n,e)),Me=e=>is(ot({},"__esModule",{value:!0}),e);var u=(e,o,n)=>new Promise((r,c)=>{var p=l=>{try{d(n.next(l))}catch(_){c(_)}},m=l=>{try{d(n.throw(l))}catch(_){c(_)}},d=l=>l.done?r(l.value):Promise.resolve(l.value).then(p,m);d((n=n.apply(e,o)).next())});var ps=I(Bt=>{"use strict";t();Bt.byteLength=mg;Bt.toByteArray=lg;Bt.fromByteArray=gg;var je=[],Pe=[],pg=typeof Uint8Array!="undefined"?Uint8Array:Array,da="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for($o=0,ss=da.length;$o<ss;++$o)je[$o]=da[$o],Pe[da.charCodeAt($o)]=$o;var $o,ss;Pe["-".charCodeAt(0)]=62;Pe["_".charCodeAt(0)]=63;function cs(e){var o=e.length;if(o%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");n===-1&&(n=o);var r=n===o?0:4-n%4;return[n,r]}function mg(e){var o=cs(e),n=o[0],r=o[1];return(n+r)*3/4-r}function dg(e,o,n){return(o+n)*3/4-n}function lg(e){var o,n=cs(e),r=n[0],c=n[1],p=new pg(dg(e,r,c)),m=0,d=c>0?r-4:r,l;for(l=0;l<d;l+=4)o=Pe[e.charCodeAt(l)]<<18|Pe[e.charCodeAt(l+1)]<<12|Pe[e.charCodeAt(l+2)]<<6|Pe[e.charCodeAt(l+3)],p[m++]=o>>16&255,p[m++]=o>>8&255,p[m++]=o&255;return c===2&&(o=Pe[e.charCodeAt(l)]<<2|Pe[e.charCodeAt(l+1)]>>4,p[m++]=o&255),c===1&&(o=Pe[e.charCodeAt(l)]<<10|Pe[e.charCodeAt(l+1)]<<4|Pe[e.charCodeAt(l+2)]>>2,p[m++]=o>>8&255,p[m++]=o&255),p}function _g(e){return je[e>>18&63]+je[e>>12&63]+je[e>>6&63]+je[e&63]}function ug(e,o,n){for(var r,c=[],p=o;p<n;p+=3)r=(e[p]<<16&16711680)+(e[p+1]<<8&65280)+(e[p+2]&255),c.push(_g(r));return c.join("")}function gg(e){for(var o,n=e.length,r=n%3,c=[],p=16383,m=0,d=n-r;m<d;m+=p)c.push(ug(e,m,m+p>d?d:m+p));return r===1?(o=e[n-1],c.push(je[o>>2]+je[o<<4&63]+"==")):r===2&&(o=(e[n-2]<<8)+e[n-1],c.push(je[o>>10]+je[o>>4&63]+je[o<<2&63]+"=")),c.join("")}});var ms=I(la=>{t();la.read=function(e,o,n,r,c){var p,m,d=c*8-r-1,l=(1<<d)-1,_=l>>1,T=-7,g=n?c-1:0,x=n?-1:1,L=e[o+g];for(g+=x,p=L&(1<<-T)-1,L>>=-T,T+=d;T>0;p=p*256+e[o+g],g+=x,T-=8);for(m=p&(1<<-T)-1,p>>=-T,T+=r;T>0;m=m*256+e[o+g],g+=x,T-=8);if(p===0)p=1-_;else{if(p===l)return m?NaN:(L?-1:1)*(1/0);m=m+Math.pow(2,r),p=p-_}return(L?-1:1)*m*Math.pow(2,p-r)};la.write=function(e,o,n,r,c,p){var m,d,l,_=p*8-c-1,T=(1<<_)-1,g=T>>1,x=c===23?Math.pow(2,-24)-Math.pow(2,-77):0,L=r?0:p-1,k=r?1:-1,P=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+g>=1?o+=x/l:o+=x*Math.pow(2,1-g),o*l>=2&&(m++,l/=2),m+g>=T?(d=0,m=T):m+g>=1?(d=(o*l-1)*Math.pow(2,c),m=m+g):(d=o*Math.pow(2,g-1)*Math.pow(2,c),m=0));c>=8;e[n+L]=d&255,L+=k,d/=256,c-=8);for(m=m<<c|d,_+=c;_>0;e[n+L]=m&255,L+=k,m/=256,_-=8);e[n+L-k]|=P*128}});var ws=I(fn=>{"use strict";t();var _a=ps(),gn=ms(),ds=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;fn.Buffer=h;fn.SlowBuffer=Sg;fn.INSPECT_MAX_BYTES=50;var Ft=2147483647;fn.kMaxLength=Ft;h.TYPED_ARRAY_SUPPORT=fg();!h.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 fg(){try{var e=new Uint8Array(1),o={foo:function(){return 42}};return Object.setPrototypeOf(o,Uint8Array.prototype),Object.setPrototypeOf(e,o),e.foo()===42}catch(n){return!1}}Object.defineProperty(h.prototype,"parent",{enumerable:!0,get:function(){if(!!h.isBuffer(this))return this.buffer}});Object.defineProperty(h.prototype,"offset",{enumerable:!0,get:function(){if(!!h.isBuffer(this))return this.byteOffset}});function co(e){if(e>Ft)throw new RangeError('The value "'+e+'" is invalid for option "size"');var o=new Uint8Array(e);return Object.setPrototypeOf(o,h.prototype),o}function h(e,o,n){if(typeof e=="number"){if(typeof o=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return Ta(e)}return us(e,o,n)}h.poolSize=8192;function us(e,o,n){if(typeof e=="string")return hg(e,o);if(ArrayBuffer.isView(e))return xg(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(Ke(e,ArrayBuffer)||e&&Ke(e.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(Ke(e,SharedArrayBuffer)||e&&Ke(e.buffer,SharedArrayBuffer)))return ga(e,o,n);if(typeof e=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var r=e.valueOf&&e.valueOf();if(r!=null&&r!==e)return h.from(r,o,n);var c=yg(e);if(c)return c;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof e[Symbol.toPrimitive]=="function")return h.from(e[Symbol.toPrimitive]("string"),o,n);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}h.from=function(e,o,n){return us(e,o,n)};Object.setPrototypeOf(h.prototype,Uint8Array.prototype);Object.setPrototypeOf(h,Uint8Array);function gs(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 Tg(e,o,n){return gs(e),e<=0?co(e):o!==void 0?typeof n=="string"?co(e).fill(o,n):co(e).fill(o):co(e)}h.alloc=function(e,o,n){return Tg(e,o,n)};function Ta(e){return gs(e),co(e<0?0:ha(e)|0)}h.allocUnsafe=function(e){return Ta(e)};h.allocUnsafeSlow=function(e){return Ta(e)};function hg(e,o){if((typeof o!="string"||o==="")&&(o="utf8"),!h.isEncoding(o))throw new TypeError("Unknown encoding: "+o);var n=fs(e,o)|0,r=co(n),c=r.write(e,o);return c!==n&&(r=r.slice(0,c)),r}function ua(e){for(var o=e.length<0?0:ha(e.length)|0,n=co(o),r=0;r<o;r+=1)n[r]=e[r]&255;return n}function xg(e){if(Ke(e,Uint8Array)){var o=new Uint8Array(e);return ga(o.buffer,o.byteOffset,o.byteLength)}return ua(e)}function ga(e,o,n){if(o<0||e.byteLength<o)throw new RangeError('"offset" is outside of buffer bounds');if(e.byteLength<o+(n||0))throw new RangeError('"length" is outside of buffer bounds');var r;return o===void 0&&n===void 0?r=new Uint8Array(e):n===void 0?r=new Uint8Array(e,o):r=new Uint8Array(e,o,n),Object.setPrototypeOf(r,h.prototype),r}function yg(e){if(h.isBuffer(e)){var o=ha(e.length)|0,n=co(o);return n.length===0||e.copy(n,0,0,o),n}if(e.length!==void 0)return typeof e.length!="number"||xa(e.length)?co(0):ua(e);if(e.type==="Buffer"&&Array.isArray(e.data))return ua(e.data)}function ha(e){if(e>=Ft)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+Ft.toString(16)+" bytes");return e|0}function Sg(e){return+e!=e&&(e=0),h.alloc(+e)}h.isBuffer=function(o){return o!=null&&o._isBuffer===!0&&o!==h.prototype};h.compare=function(o,n){if(Ke(o,Uint8Array)&&(o=h.from(o,o.offset,o.byteLength)),Ke(n,Uint8Array)&&(n=h.from(n,n.offset,n.byteLength)),!h.isBuffer(o)||!h.isBuffer(n))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(o===n)return 0;for(var r=o.length,c=n.length,p=0,m=Math.min(r,c);p<m;++p)if(o[p]!==n[p]){r=o[p],c=n[p];break}return r<c?-1:c<r?1:0};h.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}};h.concat=function(o,n){if(!Array.isArray(o))throw new TypeError('"list" argument must be an Array of Buffers');if(o.length===0)return h.alloc(0);var r;if(n===void 0)for(n=0,r=0;r<o.length;++r)n+=o[r].length;var c=h.allocUnsafe(n),p=0;for(r=0;r<o.length;++r){var m=o[r];if(Ke(m,Uint8Array))p+m.length>c.length?h.from(m).copy(c,p):Uint8Array.prototype.set.call(c,m,p);else if(h.isBuffer(m))m.copy(c,p);else throw new TypeError('"list" argument must be an Array of Buffers');p+=m.length}return c};function fs(e,o){if(h.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||Ke(e,ArrayBuffer))return e.byteLength;if(typeof e!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var n=e.length,r=arguments.length>2&&arguments[2]===!0;if(!r&&n===0)return 0;for(var c=!1;;)switch(o){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":return fa(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return n*2;case"hex":return n>>>1;case"base64":return bs(e).length;default:if(c)return r?-1:fa(e).length;o=(""+o).toLowerCase(),c=!0}}h.byteLength=fs;function bg(e,o,n){var r=!1;if((o===void 0||o<0)&&(o=0),o>this.length||((n===void 0||n>this.length)&&(n=this.length),n<=0)||(n>>>=0,o>>>=0,n<=o))return"";for(e||(e="utf8");;)switch(e){case"hex":return Ng(this,o,n);case"utf8":case"utf-8":return hs(this,o,n);case"ascii":return Eg(this,o,n);case"latin1":case"binary":return Cg(this,o,n);case"base64":return Lg(this,o,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Rg(this,o,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}h.prototype._isBuffer=!0;function qo(e,o,n){var r=e[o];e[o]=e[n],e[n]=r}h.prototype.swap16=function(){var o=this.length;if(o%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var n=0;n<o;n+=2)qo(this,n,n+1);return this};h.prototype.swap32=function(){var o=this.length;if(o%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var n=0;n<o;n+=4)qo(this,n,n+3),qo(this,n+1,n+2);return this};h.prototype.swap64=function(){var o=this.length;if(o%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var n=0;n<o;n+=8)qo(this,n,n+7),qo(this,n+1,n+6),qo(this,n+2,n+5),qo(this,n+3,n+4);return this};h.prototype.toString=function(){var o=this.length;return o===0?"":arguments.length===0?hs(this,0,o):bg.apply(this,arguments)};h.prototype.toLocaleString=h.prototype.toString;h.prototype.equals=function(o){if(!h.isBuffer(o))throw new TypeError("Argument must be a Buffer");return this===o?!0:h.compare(this,o)===0};h.prototype.inspect=function(){var o="",n=fn.INSPECT_MAX_BYTES;return o=this.toString("hex",0,n).replace(/(.{2})/g,"$1 ").trim(),this.length>n&&(o+=" ... "),"<Buffer "+o+">"};ds&&(h.prototype[ds]=h.prototype.inspect);h.prototype.compare=function(o,n,r,c,p){if(Ke(o,Uint8Array)&&(o=h.from(o,o.offset,o.byteLength)),!h.isBuffer(o))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof o);if(n===void 0&&(n=0),r===void 0&&(r=o?o.length:0),c===void 0&&(c=0),p===void 0&&(p=this.length),n<0||r>o.length||c<0||p>this.length)throw new RangeError("out of range index");if(c>=p&&n>=r)return 0;if(c>=p)return-1;if(n>=r)return 1;if(n>>>=0,r>>>=0,c>>>=0,p>>>=0,this===o)return 0;for(var m=p-c,d=r-n,l=Math.min(m,d),_=this.slice(c,p),T=o.slice(n,r),g=0;g<l;++g)if(_[g]!==T[g]){m=_[g],d=T[g];break}return m<d?-1:d<m?1:0};function Ts(e,o,n,r,c){if(e.length===0)return-1;if(typeof n=="string"?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,xa(n)&&(n=c?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(c)return-1;n=e.length-1}else if(n<0)if(c)n=0;else return-1;if(typeof o=="string"&&(o=h.from(o,r)),h.isBuffer(o))return o.length===0?-1:ls(e,o,n,r,c);if(typeof o=="number")return o=o&255,typeof Uint8Array.prototype.indexOf=="function"?c?Uint8Array.prototype.indexOf.call(e,o,n):Uint8Array.prototype.lastIndexOf.call(e,o,n):ls(e,[o],n,r,c);throw new TypeError("val must be string, number or Buffer")}function ls(e,o,n,r,c){var p=1,m=e.length,d=o.length;if(r!==void 0&&(r=String(r).toLowerCase(),r==="ucs2"||r==="ucs-2"||r==="utf16le"||r==="utf-16le")){if(e.length<2||o.length<2)return-1;p=2,m/=2,d/=2,n/=2}function l(L,k){return p===1?L[k]:L.readUInt16BE(k*p)}var _;if(c){var T=-1;for(_=n;_<m;_++)if(l(e,_)===l(o,T===-1?0:_-T)){if(T===-1&&(T=_),_-T+1===d)return T*p}else T!==-1&&(_-=_-T),T=-1}else for(n+d>m&&(n=m-d),_=n;_>=0;_--){for(var g=!0,x=0;x<d;x++)if(l(e,_+x)!==l(o,x)){g=!1;break}if(g)return _}return-1}h.prototype.includes=function(o,n,r){return this.indexOf(o,n,r)!==-1};h.prototype.indexOf=function(o,n,r){return Ts(this,o,n,r,!0)};h.prototype.lastIndexOf=function(o,n,r){return Ts(this,o,n,r,!1)};function wg(e,o,n,r){n=Number(n)||0;var c=e.length-n;r?(r=Number(r),r>c&&(r=c)):r=c;var p=o.length;r>p/2&&(r=p/2);for(var m=0;m<r;++m){var d=parseInt(o.substr(m*2,2),16);if(xa(d))return m;e[n+m]=d}return m}function vg(e,o,n,r){return Wt(fa(o,e.length-n),e,n,r)}function Ag(e,o,n,r){return Wt(Og(o),e,n,r)}function Ig(e,o,n,r){return Wt(bs(o),e,n,r)}function kg(e,o,n,r){return Wt(Bg(o,e.length-n),e,n,r)}h.prototype.write=function(o,n,r,c){if(n===void 0)c="utf8",r=this.length,n=0;else if(r===void 0&&typeof n=="string")c=n,r=this.length,n=0;else if(isFinite(n))n=n>>>0,isFinite(r)?(r=r>>>0,c===void 0&&(c="utf8")):(c=r,r=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var p=this.length-n;if((r===void 0||r>p)&&(r=p),o.length>0&&(r<0||n<0)||n>this.length)throw new RangeError("Attempt to write outside buffer bounds");c||(c="utf8");for(var m=!1;;)switch(c){case"hex":return wg(this,o,n,r);case"utf8":case"utf-8":return vg(this,o,n,r);case"ascii":case"latin1":case"binary":return Ag(this,o,n,r);case"base64":return Ig(this,o,n,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return kg(this,o,n,r);default:if(m)throw new TypeError("Unknown encoding: "+c);c=(""+c).toLowerCase(),m=!0}};h.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function Lg(e,o,n){return o===0&&n===e.length?_a.fromByteArray(e):_a.fromByteArray(e.slice(o,n))}function hs(e,o,n){n=Math.min(e.length,n);for(var r=[],c=o;c<n;){var p=e[c],m=null,d=p>239?4:p>223?3:p>191?2:1;if(c+d<=n){var l,_,T,g;switch(d){case 1:p<128&&(m=p);break;case 2:l=e[c+1],(l&192)===128&&(g=(p&31)<<6|l&63,g>127&&(m=g));break;case 3:l=e[c+1],_=e[c+2],(l&192)===128&&(_&192)===128&&(g=(p&15)<<12|(l&63)<<6|_&63,g>2047&&(g<55296||g>57343)&&(m=g));break;case 4:l=e[c+1],_=e[c+2],T=e[c+3],(l&192)===128&&(_&192)===128&&(T&192)===128&&(g=(p&15)<<18|(l&63)<<12|(_&63)<<6|T&63,g>65535&&g<1114112&&(m=g))}}m===null?(m=65533,d=1):m>65535&&(m-=65536,r.push(m>>>10&1023|55296),m=56320|m&1023),r.push(m),c+=d}return Pg(r)}var _s=4096;function Pg(e){var o=e.length;if(o<=_s)return String.fromCharCode.apply(String,e);for(var n="",r=0;r<o;)n+=String.fromCharCode.apply(String,e.slice(r,r+=_s));return n}function Eg(e,o,n){var r="";n=Math.min(e.length,n);for(var c=o;c<n;++c)r+=String.fromCharCode(e[c]&127);return r}function Cg(e,o,n){var r="";n=Math.min(e.length,n);for(var c=o;c<n;++c)r+=String.fromCharCode(e[c]);return r}function Ng(e,o,n){var r=e.length;(!o||o<0)&&(o=0),(!n||n<0||n>r)&&(n=r);for(var c="",p=o;p<n;++p)c+=Fg[e[p]];return c}function Rg(e,o,n){for(var r=e.slice(o,n),c="",p=0;p<r.length-1;p+=2)c+=String.fromCharCode(r[p]+r[p+1]*256);return c}h.prototype.slice=function(o,n){var r=this.length;o=~~o,n=n===void 0?r:~~n,o<0?(o+=r,o<0&&(o=0)):o>r&&(o=r),n<0?(n+=r,n<0&&(n=0)):n>r&&(n=r),n<o&&(n=o);var c=this.subarray(o,n);return Object.setPrototypeOf(c,h.prototype),c};function se(e,o,n){if(e%1!==0||e<0)throw new RangeError("offset is not uint");if(e+o>n)throw new RangeError("Trying to access beyond buffer length")}h.prototype.readUintLE=h.prototype.readUIntLE=function(o,n,r){o=o>>>0,n=n>>>0,r||se(o,n,this.length);for(var c=this[o],p=1,m=0;++m<n&&(p*=256);)c+=this[o+m]*p;return c};h.prototype.readUintBE=h.prototype.readUIntBE=function(o,n,r){o=o>>>0,n=n>>>0,r||se(o,n,this.length);for(var c=this[o+--n],p=1;n>0&&(p*=256);)c+=this[o+--n]*p;return c};h.prototype.readUint8=h.prototype.readUInt8=function(o,n){return o=o>>>0,n||se(o,1,this.length),this[o]};h.prototype.readUint16LE=h.prototype.readUInt16LE=function(o,n){return o=o>>>0,n||se(o,2,this.length),this[o]|this[o+1]<<8};h.prototype.readUint16BE=h.prototype.readUInt16BE=function(o,n){return o=o>>>0,n||se(o,2,this.length),this[o]<<8|this[o+1]};h.prototype.readUint32LE=h.prototype.readUInt32LE=function(o,n){return o=o>>>0,n||se(o,4,this.length),(this[o]|this[o+1]<<8|this[o+2]<<16)+this[o+3]*16777216};h.prototype.readUint32BE=h.prototype.readUInt32BE=function(o,n){return o=o>>>0,n||se(o,4,this.length),this[o]*16777216+(this[o+1]<<16|this[o+2]<<8|this[o+3])};h.prototype.readIntLE=function(o,n,r){o=o>>>0,n=n>>>0,r||se(o,n,this.length);for(var c=this[o],p=1,m=0;++m<n&&(p*=256);)c+=this[o+m]*p;return p*=128,c>=p&&(c-=Math.pow(2,8*n)),c};h.prototype.readIntBE=function(o,n,r){o=o>>>0,n=n>>>0,r||se(o,n,this.length);for(var c=n,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*n)),m};h.prototype.readInt8=function(o,n){return o=o>>>0,n||se(o,1,this.length),this[o]&128?(255-this[o]+1)*-1:this[o]};h.prototype.readInt16LE=function(o,n){o=o>>>0,n||se(o,2,this.length);var r=this[o]|this[o+1]<<8;return r&32768?r|4294901760:r};h.prototype.readInt16BE=function(o,n){o=o>>>0,n||se(o,2,this.length);var r=this[o+1]|this[o]<<8;return r&32768?r|4294901760:r};h.prototype.readInt32LE=function(o,n){return o=o>>>0,n||se(o,4,this.length),this[o]|this[o+1]<<8|this[o+2]<<16|this[o+3]<<24};h.prototype.readInt32BE=function(o,n){return o=o>>>0,n||se(o,4,this.length),this[o]<<24|this[o+1]<<16|this[o+2]<<8|this[o+3]};h.prototype.readFloatLE=function(o,n){return o=o>>>0,n||se(o,4,this.length),gn.read(this,o,!0,23,4)};h.prototype.readFloatBE=function(o,n){return o=o>>>0,n||se(o,4,this.length),gn.read(this,o,!1,23,4)};h.prototype.readDoubleLE=function(o,n){return o=o>>>0,n||se(o,8,this.length),gn.read(this,o,!0,52,8)};h.prototype.readDoubleBE=function(o,n){return o=o>>>0,n||se(o,8,this.length),gn.read(this,o,!1,52,8)};function ye(e,o,n,r,c,p){if(!h.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(n+r>e.length)throw new RangeError("Index out of range")}h.prototype.writeUintLE=h.prototype.writeUIntLE=function(o,n,r,c){if(o=+o,n=n>>>0,r=r>>>0,!c){var p=Math.pow(2,8*r)-1;ye(this,o,n,r,p,0)}var m=1,d=0;for(this[n]=o&255;++d<r&&(m*=256);)this[n+d]=o/m&255;return n+r};h.prototype.writeUintBE=h.prototype.writeUIntBE=function(o,n,r,c){if(o=+o,n=n>>>0,r=r>>>0,!c){var p=Math.pow(2,8*r)-1;ye(this,o,n,r,p,0)}var m=r-1,d=1;for(this[n+m]=o&255;--m>=0&&(d*=256);)this[n+m]=o/d&255;return n+r};h.prototype.writeUint8=h.prototype.writeUInt8=function(o,n,r){return o=+o,n=n>>>0,r||ye(this,o,n,1,255,0),this[n]=o&255,n+1};h.prototype.writeUint16LE=h.prototype.writeUInt16LE=function(o,n,r){return o=+o,n=n>>>0,r||ye(this,o,n,2,65535,0),this[n]=o&255,this[n+1]=o>>>8,n+2};h.prototype.writeUint16BE=h.prototype.writeUInt16BE=function(o,n,r){return o=+o,n=n>>>0,r||ye(this,o,n,2,65535,0),this[n]=o>>>8,this[n+1]=o&255,n+2};h.prototype.writeUint32LE=h.prototype.writeUInt32LE=function(o,n,r){return o=+o,n=n>>>0,r||ye(this,o,n,4,4294967295,0),this[n+3]=o>>>24,this[n+2]=o>>>16,this[n+1]=o>>>8,this[n]=o&255,n+4};h.prototype.writeUint32BE=h.prototype.writeUInt32BE=function(o,n,r){return o=+o,n=n>>>0,r||ye(this,o,n,4,4294967295,0),this[n]=o>>>24,this[n+1]=o>>>16,this[n+2]=o>>>8,this[n+3]=o&255,n+4};h.prototype.writeIntLE=function(o,n,r,c){if(o=+o,n=n>>>0,!c){var p=Math.pow(2,8*r-1);ye(this,o,n,r,p-1,-p)}var m=0,d=1,l=0;for(this[n]=o&255;++m<r&&(d*=256);)o<0&&l===0&&this[n+m-1]!==0&&(l=1),this[n+m]=(o/d>>0)-l&255;return n+r};h.prototype.writeIntBE=function(o,n,r,c){if(o=+o,n=n>>>0,!c){var p=Math.pow(2,8*r-1);ye(this,o,n,r,p-1,-p)}var m=r-1,d=1,l=0;for(this[n+m]=o&255;--m>=0&&(d*=256);)o<0&&l===0&&this[n+m+1]!==0&&(l=1),this[n+m]=(o/d>>0)-l&255;return n+r};h.prototype.writeInt8=function(o,n,r){return o=+o,n=n>>>0,r||ye(this,o,n,1,127,-128),o<0&&(o=255+o+1),this[n]=o&255,n+1};h.prototype.writeInt16LE=function(o,n,r){return o=+o,n=n>>>0,r||ye(this,o,n,2,32767,-32768),this[n]=o&255,this[n+1]=o>>>8,n+2};h.prototype.writeInt16BE=function(o,n,r){return o=+o,n=n>>>0,r||ye(this,o,n,2,32767,-32768),this[n]=o>>>8,this[n+1]=o&255,n+2};h.prototype.writeInt32LE=function(o,n,r){return o=+o,n=n>>>0,r||ye(this,o,n,4,2147483647,-2147483648),this[n]=o&255,this[n+1]=o>>>8,this[n+2]=o>>>16,this[n+3]=o>>>24,n+4};h.prototype.writeInt32BE=function(o,n,r){return o=+o,n=n>>>0,r||ye(this,o,n,4,2147483647,-2147483648),o<0&&(o=4294967295+o+1),this[n]=o>>>24,this[n+1]=o>>>16,this[n+2]=o>>>8,this[n+3]=o&255,n+4};function xs(e,o,n,r,c,p){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function ys(e,o,n,r,c){return o=+o,n=n>>>0,c||xs(e,o,n,4,34028234663852886e22,-34028234663852886e22),gn.write(e,o,n,r,23,4),n+4}h.prototype.writeFloatLE=function(o,n,r){return ys(this,o,n,!0,r)};h.prototype.writeFloatBE=function(o,n,r){return ys(this,o,n,!1,r)};function Ss(e,o,n,r,c){return o=+o,n=n>>>0,c||xs(e,o,n,8,17976931348623157e292,-17976931348623157e292),gn.write(e,o,n,r,52,8),n+8}h.prototype.writeDoubleLE=function(o,n,r){return Ss(this,o,n,!0,r)};h.prototype.writeDoubleBE=function(o,n,r){return Ss(this,o,n,!1,r)};h.prototype.copy=function(o,n,r,c){if(!h.isBuffer(o))throw new TypeError("argument should be a Buffer");if(r||(r=0),!c&&c!==0&&(c=this.length),n>=o.length&&(n=o.length),n||(n=0),c>0&&c<r&&(c=r),c===r||o.length===0||this.length===0)return 0;if(n<0)throw new RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw new RangeError("Index out of range");if(c<0)throw new RangeError("sourceEnd out of bounds");c>this.length&&(c=this.length),o.length-n<c-r&&(c=o.length-n+r);var p=c-r;return this===o&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(n,r,c):Uint8Array.prototype.set.call(o,this.subarray(r,c),n),p};h.prototype.fill=function(o,n,r,c){if(typeof o=="string"){if(typeof n=="string"?(c=n,n=0,r=this.length):typeof r=="string"&&(c=r,r=this.length),c!==void 0&&typeof c!="string")throw new TypeError("encoding must be a string");if(typeof c=="string"&&!h.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(n<0||this.length<n||this.length<r)throw new RangeError("Out of range index");if(r<=n)return this;n=n>>>0,r=r===void 0?this.length:r>>>0,o||(o=0);var m;if(typeof o=="number")for(m=n;m<r;++m)this[m]=o;else{var d=h.isBuffer(o)?o:h.from(o,c),l=d.length;if(l===0)throw new TypeError('The value "'+o+'" is invalid for argument "value"');for(m=0;m<r-n;++m)this[m+n]=d[m%l]}return this};var Dg=/[^+/0-9A-Za-z-_]/g;function Mg(e){if(e=e.split("=")[0],e=e.trim().replace(Dg,""),e.length<2)return"";for(;e.length%4!==0;)e=e+"=";return e}function fa(e,o){o=o||1/0;for(var n,r=e.length,c=null,p=[],m=0;m<r;++m){if(n=e.charCodeAt(m),n>55295&&n<57344){if(!c){if(n>56319){(o-=3)>-1&&p.push(239,191,189);continue}else if(m+1===r){(o-=3)>-1&&p.push(239,191,189);continue}c=n;continue}if(n<56320){(o-=3)>-1&&p.push(239,191,189),c=n;continue}n=(c-55296<<10|n-56320)+65536}else c&&(o-=3)>-1&&p.push(239,191,189);if(c=null,n<128){if((o-=1)<0)break;p.push(n)}else if(n<2048){if((o-=2)<0)break;p.push(n>>6|192,n&63|128)}else if(n<65536){if((o-=3)<0)break;p.push(n>>12|224,n>>6&63|128,n&63|128)}else if(n<1114112){if((o-=4)<0)break;p.push(n>>18|240,n>>12&63|128,n>>6&63|128,n&63|128)}else throw new Error("Invalid code point")}return p}function Og(e){for(var o=[],n=0;n<e.length;++n)o.push(e.charCodeAt(n)&255);return o}function Bg(e,o){for(var n,r,c,p=[],m=0;m<e.length&&!((o-=2)<0);++m)n=e.charCodeAt(m),r=n>>8,c=n%256,p.push(c),p.push(r);return p}function bs(e){return _a.toByteArray(Mg(e))}function Wt(e,o,n,r){for(var c=0;c<r&&!(c+n>=o.length||c>=e.length);++c)o[c+n]=e[c];return c}function Ke(e,o){return e instanceof o||e!=null&&e.constructor!=null&&e.constructor.name!=null&&e.constructor.name===o.name}function xa(e){return e!==e}var Fg=function(){for(var e="0123456789abcdef",o=new Array(256),n=0;n<16;++n)for(var r=n*16,c=0;c<16;++c)o[r+c]=e[n]+e[c];return o}()});var Ls=I((Gb,ks)=>{t();var Q=ks.exports={},Xe,Ye;function ya(){throw new Error("setTimeout has not been defined")}function Sa(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?Xe=setTimeout:Xe=ya}catch(e){Xe=ya}try{typeof clearTimeout=="function"?Ye=clearTimeout:Ye=Sa}catch(e){Ye=Sa}})();function vs(e){if(Xe===setTimeout)return setTimeout(e,0);if((Xe===ya||!Xe)&&setTimeout)return Xe=setTimeout,setTimeout(e,0);try{return Xe(e,0)}catch(o){try{return Xe.call(null,e,0)}catch(n){return Xe.call(this,e,0)}}}function Wg(e){if(Ye===clearTimeout)return clearTimeout(e);if((Ye===Sa||!Ye)&&clearTimeout)return Ye=clearTimeout,clearTimeout(e);try{return Ye(e)}catch(o){try{return Ye.call(null,e)}catch(n){return Ye.call(this,e)}}}var po=[],Tn=!1,zo,Ut=-1;function Ug(){!Tn||!zo||(Tn=!1,zo.length?po=zo.concat(po):Ut=-1,po.length&&As())}function As(){if(!Tn){var e=vs(Ug);Tn=!0;for(var o=po.length;o;){for(zo=po,po=[];++Ut<o;)zo&&zo[Ut].run();Ut=-1,o=po.length}zo=null,Tn=!1,Wg(e)}}Q.nextTick=function(e){var o=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)o[n-1]=arguments[n];po.push(new Is(e,o)),po.length===1&&!Tn&&vs(As)};function Is(e,o){this.fun=e,this.array=o}Is.prototype.run=function(){this.fun.apply(null,this.array)};Q.title="browser";Q.browser=!0;Q.env={};Q.argv=[];Q.version="";Q.versions={};function mo(){}Q.on=mo;Q.addListener=mo;Q.once=mo;Q.off=mo;Q.removeListener=mo;Q.removeAllListeners=mo;Q.emit=mo;Q.prependListener=mo;Q.prependOnceListener=mo;Q.listeners=function(e){return[]};Q.binding=function(e){throw new Error("process.binding is not supported")};Q.cwd=function(){return"/"};Q.chdir=function(e){throw new Error("process.chdir is not supported")};Q.umask=function(){return 0}});var a,s,Gg,i,t=w(()=>{a=b(ws()),s=b(Ls()),Gg=function(e){function o(){var r=this||self;return delete e.prototype.__magic__,r}if(typeof globalThis=="object")return globalThis;if(this)return o();e.defineProperty(e.prototype,"__magic__",{configurable:!0,get:o});var n=__magic__;return n}(Object),i=Gg});var ba=w(()=>{"use strict";t()});var Ps=w(()=>{"use strict";t()});var Es=w(()=>{"use strict";t()});var Oe,hn,Lo=w(()=>{"use strict";t();Oe=require("@multiversx/sdk-web-wallet-cross-window-provider/out/CrossWindowProvider/CrossWindowProvider"),hn=require("@multiversx/sdk-web-wallet-cross-window-provider/out/enums")});var Y,Cs,zb,Ns,jb,H=w(()=>{"use strict";t();Lo();Y=(x=>(x.ledger="ledger",x.walletconnect="walletconnect",x.walletconnectv2="walletconnectv2",x.wallet="wallet",x.crossWindow="crossWindow",x.iframe="iframe",x.extension="extension",x.passkey="passkey",x.metamask="metamask",x.opera="opera",x.extra="extra",x.none="",x))(Y||{}),Cs=(n=>(n.signTransactionsWithGuardianResponse="SIGN_TRANSACTIONS_WITH_GUARDIAN_RESPONSE",n.reloginRequest="RELOGIN_REQUEST",n))(Cs||{}),zb=f(f({},hn.WindowProviderRequestEnums),Cs),Ns=(o=>(o.reloginResponse="RELOGIN_RESPONSE",o))(Ns||{}),jb=f(f({},hn.WindowProviderResponseEnums),Ns)});var Rs=w(()=>{"use strict";t()});var Ds=w(()=>{"use strict";t()});var Se=w(()=>{"use strict";t()});var Ms=w(()=>{"use strict";t()});var Os=w(()=>{"use strict";t()});var Bs=w(()=>{"use strict";t()});var U=w(()=>{"use strict";t();ba();Ps();Es();H();Rs();Ds();Se();Ms();Os();Bs()});var Fs=w(()=>{"use strict";t()});var Je,Be=w(()=>{"use strict";t();Je="Action not allowed. User is logged in. Call logout() first"});var Ws=w(()=>{"use strict";t()});var wa,Us=w(()=>{"use strict";t();wa=(r=>(r.SetGuardian="SetGuardian",r.GuardAccount="GuardAccount",r.UnGuardAccount="UnGuardAccount",r))(wa||{})});var Gs=w(()=>{"use strict";t()});var va=w(()=>{"use strict";t()});var Hs=w(()=>{"use strict";t()});var lo,Gt,fw,Ht,Tw,Vt,hw,xw,Vg,$t,Po=w(()=>{"use strict";t();U();lo={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:Gt,egldLabel:fw}=lo["devnet"],{chainId:Ht,egldLabel:Tw}=lo["testnet"],{chainId:Vt,egldLabel:hw}=lo["mainnet"],xw={["devnet"]:Gt,["testnet"]:Ht,["mainnet"]:Vt},Vg={[Gt]:"devnet",[Ht]:"testnet",[Vt]:"mainnet"},$t=3e3});var jo=w(()=>{"use strict";t()});var Ze,Vs=w(()=>{"use strict";t();Ze=require("@multiversx/sdk-web-wallet-provider")});var Te,Ko=w(()=>{"use strict";t();Te=require("@multiversx/sdk-dapp-utils/out/constants/browserConstants")});var $s,qs,Aa,Aw,Iw,Ia=w(()=>{"use strict";t();Ko();Aa=String((qs=($s=Te.safeWindow)==null?void 0:$s.navigator)==null?void 0:qs.userAgent),Aw=/^((?!chrome|android).)*safari/i.test(Aa),Iw=/firefox/i.test(Aa)&&/windows/i.test(Aa)});var qt,zt,zs,js,nt,ka,La,jt,Ks,xn,Kt,C=w(()=>{"use strict";t();Fs();Be();Ws();Us();Gs();va();Hs();Po();jo();Vs();Ia();qt=5e4,zt=1e9,zs=1,js=1,nt="signSession",ka="sdk-dapp-version",La="4.3.6",jt="logout",Ks="login",xn="0",Kt="-"});var yn,Xt=w(()=>{"use strict";t();yn=()=>Date.now()/1e3});var Xs=w(()=>{"use strict";t()});var Ys=w(()=>{"use strict";t()});var Pa=w(()=>{"use strict";t();Xt();Xs();Ys()});var Ea={};ze(Ea,{clear:()=>jg,getItem:()=>qg,localStorageKeys:()=>ue,removeItem:()=>zg,setItem:()=>$g});var ue,Yt,$g,qg,zg,jg,Eo=w(()=>{"use strict";t();Pa();ue={loginExpiresAt:"sdk-dapp-login-expires-at",logoutEvent:"sdk-dapp-logout-event",guardianBreachToastDismissTimestamp:"sdk-dapp-guardian-breach-toast-dismiss-timestamp"},Yt=typeof localStorage!="undefined",$g=({key:e,data:o,expires:n})=>{!Yt||localStorage.setItem(String(e),JSON.stringify({expires:n,data:o}))},qg=e=>{if(!Yt)return;let o=localStorage.getItem(String(e));if(!o)return null;let n=JSON.parse(o);return!n||!n.hasOwnProperty("expires")||!n.hasOwnProperty("data")?null:yn()>=n.expires?(localStorage.removeItem(String(e)),null):n.data},zg=e=>{!Yt||localStorage.removeItem(String(e))},jg=()=>{!Yt||localStorage.clear()}});var Ca={};ze(Ca,{clear:()=>ec,getItem:()=>Zs,removeItem:()=>Qs,sessionStorageKeys:()=>Kg,setItem:()=>Js,storage:()=>Xg});var Kg,Js,Zs,Qs,ec,Xg,oc=w(()=>{"use strict";t();Kg={address:"address",shard:"shard",toasts:"toasts",toastProgress:"toastProgress"},Js=({key:e,data:o,expires:n})=>{sessionStorage.setItem(String(e),JSON.stringify({expires:n,data:o}))},Zs=e=>{let o=sessionStorage.getItem(String(e));if(!o)return null;let n=JSON.parse(o);return!n||!n.hasOwnProperty("expires")||!n.hasOwnProperty("data")?null:Date.now()>=n.expires?(sessionStorage.removeItem(String(e)),null):n.data},Qs=e=>sessionStorage.removeItem(String(e)),ec=()=>sessionStorage.clear(),Xg={setItem:Js,getItem:Zs,removeItem:Qs,clear:ec}});var ve,Xo=w(()=>{"use strict";t();Eo();oc();ve={session:Ca,local:Ea}});var Na,j,te,K=w(()=>{"use strict";t();Na=require("@reduxjs/toolkit");C();j=(0,Na.createAction)(jt),te=(0,Na.createAction)(Ks,e=>({payload:e}))});var Da,nc,tc,pe,Ra,rc,ce,be,Jt,t0,Ma,Yg,r0,Sn,ac,ic,sc,Zt,Qt=w(()=>{"use strict";t();Da=require("@multiversx/sdk-core"),nc=require("@reduxjs/toolkit"),tc=require("redux-persist");C();Xo();Eo();K();pe={balance:"...",address:"",isGuarded:!1,nonce:0,txCount:0,scrCount:0,claimableRewards:xn},Ra={address:"",websocketEvent:null,websocketBatchEvent:null,accounts:{"":pe},ledgerAccount:null,publicKey:"",walletConnectAccount:null,isAccountLoading:!0,accountLoadingError:null},rc=(0,nc.createSlice)({name:"accountInfoSlice",initialState:Ra,reducers:{setAddress:(e,o)=>{let n=o.payload;e.address=n,e.publicKey=n?new Da.Address(n).hex():""},setAccount:(e,o)=>{let n=e.address===o.payload.address;e.accounts={[e.address]:n?o.payload:pe},e.shard=o.payload.shard,e.isAccountLoading=!1,e.accountLoadingError=null},setAccountNonce:(e,o)=>{let{address:n}=e;e.accounts[n].nonce=o.payload},setAccountShard:(e,o)=>{e.shard=o.payload},setLedgerAccount:(e,o)=>{e.ledgerAccount=o.payload},updateLedgerAccount:(e,o)=>{e.ledgerAccount!=null&&(e.ledgerAccount.index=o.payload.index,e.ledgerAccount.address=o.payload.address)},setWalletConnectAccount:(e,o)=>{e.walletConnectAccount=o.payload},setIsAccountLoading:(e,o)=>{e.isAccountLoading=o.payload,e.accountLoadingError=null},setAccountLoadingError:(e,o)=>{e.accountLoadingError=o.payload,e.isAccountLoading=!1},setWebsocketEvent:(e,o)=>{e.websocketEvent={timestamp:Date.now(),message:o.payload}},setWebsocketBatchEvent:(e,o)=>{e.websocketBatchEvent={timestamp:Date.now(),data:o.payload}}},extraReducers:e=>{e.addCase(j,()=>(ve.local.removeItem(ue.loginExpiresAt),Ra)),e.addCase(te,(o,n)=>{let{address:r}=n.payload;o.address=r,o.publicKey=new Da.Address(r).toHex()}),e.addCase(tc.REHYDRATE,(o,n)=>{var _;if(!((_=n.payload)!=null&&_.account))return;let{account:r}=n.payload,{address:c,shard:p,accounts:m,publicKey:d}=r;o.address=c,o.shard=p;let l=m&&c in m;o.accounts=l?m:Ra.accounts,o.publicKey=d})}}),{setAccount:ce,setAddress:be,setAccountNonce:Jt,setAccountShard:t0,setLedgerAccount:Ma,updateLedgerAccount:Yg,setWalletConnectAccount:r0,setIsAccountLoading:Sn,setAccountLoadingError:ac,setWebsocketEvent:ic,setWebsocketBatchEvent:sc}=rc.actions,Zt=rc.reducer});function tt(){return new Date().setHours(new Date().getHours()+24)}function rt(e){ve.local.setItem({key:ue.loginExpiresAt,data:e,expires:e})}var Oa=w(()=>{"use strict";t();Xo();Eo()});var pc,cc,mc,u0,dc,Jg,_o,g0,er,lc,_c,Ba,uc,or,at=w(()=>{"use strict";t();pc=require("@reduxjs/toolkit");Oa();H();K();cc={loginMethod:"",walletConnectLogin:null,ledgerLogin:null,tokenLogin:null,walletLogin:null,extensionLogin:null,passkeyLogin:null,operaLogin:null,crossWindowLogin:null,iframeWindowLogin:null,isLoginSessionInvalid:!1,webviewLogin:null},mc=(0,pc.createSlice)({name:"loginInfoSlice",initialState:cc,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(j,()=>cc),e.addCase(te,(o,n)=>{o.isLoginSessionInvalid=!1,o.loginMethod=n.payload.loginMethod,o.iframeLoginType=n.payload.iframeLoginType,rt(tt())})}}),{setLoginMethod:u0,setWalletConnectLogin:dc,setLedgerLogin:Jg,setTokenLogin:_o,setTokenLoginSignature:g0,setWalletLogin:er,invalidateLoginSession:lc,setLogoutRoute:_c,setIsWalletConnectV2Initialized:Ba,setWebviewLogin:uc}=mc.actions,or=mc.reducer});var fc,gc,Tc,hc,Zg,x0,Qg,nr,tr=w(()=>{"use strict";t();fc=require("@reduxjs/toolkit");K();gc={},Tc=(0,fc.createSlice)({name:"modalsSlice",initialState:gc,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(j,()=>gc)}}),{setTxSubmittedModal:hc,setNotificationModal:Zg,clearTxSubmittedModal:x0,clearNotificationModal:Qg}=Tc.actions,nr=Tc.reducer});var uo,bn=w(()=>{"use strict";t();uo=()=>typeof window!="undefined"&&typeof(window==null?void 0:window.location)!="undefined"});var V,me=w(()=>{"use strict";t();bn();V=()=>{if(!uo())return{pathname:"",hash:"",origin:"",href:"",search:""};let{location:{pathname:o,hash:n,origin:r,href:c,search:p}}=window;return{pathname:o,hash:n,origin:r,href:c,search:p}}});var wn,xc=w(()=>{"use strict";t();me();wn=(e="")=>{let o=V(),n=e.startsWith("http")||e.startsWith("www.");return!o.origin||e.startsWith(o.origin)||n?e:`${o.origin}/${e.replace("/","")}`}});var yc=w(()=>{"use strict";t();ge()});var Sc,bc=w(()=>{"use strict";t();Ko();Sc=e=>{if(!Te.safeWindow.location)return;if(!new URL(Te.safeWindow.location.href).protocol.startsWith("http"))return Te.safeWindow.location.reload();Te.safeWindow.location.assign(e)}});var ge=w(()=>{"use strict";t();xc();yc();me();bc()});var wc,vc,Yo,vn=w(()=>{"use strict";t();ge();wc=!1,vc=(e=!0)=>{wc=e},Yo=({timeout:e=0,url:o})=>{wc||setTimeout(()=>{if(!!window)return Sc(o)},e)}});function Co({callbackRoute:e,onLoginRedirect:o,options:n}){let r=Boolean(e),c=typeof o=="function";if(r&&e!=null){if(c)return o(e,n);Yo({url:e,timeout:ef})}}var ef,Ac=w(()=>{"use strict";t();vn();ef=200});function Ic(e){return e[Math.floor(Math.random()*e.length)]}var kc=w(()=>{"use strict";t()});var Fa=w(()=>{"use strict";t();va()});var go=w(()=>{"use strict";t();Ac();kc();Fa()});var Lc,Pc,Ec,it,nf,Cc,Wa,Ua,Nc,rr,st=w(()=>{"use strict";t();Lc=require("@reduxjs/toolkit"),Pc=b(require("lodash.omit")),Ec=require("redux-persist");jo();K();go();it={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},nf={network:it},Cc=(0,Lc.createSlice)({name:"appConfig",initialState:nf,reducers:{initializeNetworkConfig:(e,o)=>{let n=Ic(o.payload.walletConnectV2RelayAddresses),r=(0,Pc.default)(o.payload,"walletConnectV2RelayAddresses");e.network=v(f(f({},e.network),r),{walletConnectV2RelayAddress:n})},updateNetworkConfig:(e,o)=>{e.network=f(f({},e.network),o.payload)},setCustomWalletAddress:(e,o)=>{e.network.customWalletAddress=o.payload}},extraReducers:e=>{e.addCase(j,o=>{o.network.customWalletAddress=void 0}),e.addCase(Ec.REHYDRATE,(o,n)=>{var c,p;if(!((p=(c=n.payload)==null?void 0:c.network)!=null&&p.customWalletAddress))return;let{network:{customWalletAddress:r}}=n.payload;o.network.customWalletAddress=r})}}),{initializeNetworkConfig:Wa,updateNetworkConfig:Ua,setCustomWalletAddress:Nc}=Cc.actions,rr=Cc.reducer});var Rc,Ga,Dc,nv,tv,rv,ar,ir=w(()=>{"use strict";t();Rc=require("@reduxjs/toolkit");U();K();Ga={isSigning:!1,signedSessions:{}},Dc=(0,Rc.createSlice)({name:"signedMessageInfoSliceState",initialState:Ga,reducers:{setSignSession:(e,o)=>{let{sessionId:n,signedSession:r,errorMessage:c}=o.payload;c&&(e.errorMessage=c),e.isSigning=r.status==="pending",e.signedSessions[n]=f(f({},e.signedSessions[n]),r)},setSignSessionState:(e,o)=>f(f({},e),o.payload),clearSignedMessageInfo:()=>Ga},extraReducers:e=>{e.addCase(j,()=>Ga)}}),{setSignSession:nv,clearSignedMessageInfo:tv,setSignSessionState:rv}=Dc.actions,ar=Dc.reducer});var Oc,Bc,Mc,Fc,Ha,tf,dv,rf,sr,cr=w(()=>{"use strict";t();Oc=require("@reduxjs/toolkit"),Bc=require("redux-persist");U();Xt();K();Mc={customToasts:[],transactionToasts:[]},Fc=(0,Oc.createSlice)({name:"toastsSlice",initialState:Mc,reducers:{addCustomToast:(e,o)=>{let n=o.payload.toastId||`custom-toast-${e.customToasts.length+1}`,r=e.customToasts.findIndex(c=>c.toastId===n);if(r!==-1){e.customToasts[r]=v(f(f({},e.customToasts[r]),o.payload),{type:"custom",toastId:n});return}e.customToasts.push(v(f({},o.payload),{type:"custom",toastId:n}))},removeCustomToast:(e,o)=>{e.customToasts=e.customToasts.filter(n=>n.toastId!==o.payload)},addTransactionToast:(e,o)=>{e.transactionToasts.push({type:"transaction",startTimestamp:yn(),toastId:o.payload||`custom-toast-${e.transactionToasts.length+1}`})},removeTransactionToast:(e,o)=>{e.transactionToasts=e.transactionToasts.filter(n=>n.toastId!==o.payload)}},extraReducers:e=>{e.addCase(j,()=>Mc),e.addCase(Bc.REHYDRATE,(o,n)=>{var c,p;let r=(p=(c=n.customToasts)==null?void 0:c.filter(m=>!("component"in m)))!=null?p:[];o.customToasts=r})}}),{addCustomToast:Ha,removeCustomToast:tf,addTransactionToast:dv,removeTransactionToast:rf}=Fc.actions,sr=Fc.reducer});var Wc,$a,qa,za,af,Va,Uc,gv,sf,ja,pr,mr=w(()=>{"use strict";t();Wc=require("@reduxjs/toolkit");K();$a="Transaction failed",qa="Transaction successful",za="Processing transaction",af="Transaction submitted",Va={},Uc=(0,Wc.createSlice)({name:"transactionsInfo",initialState:Va,reducers:{setTransactionsDisplayInfo(e,o){let{sessionId:n,transactionsDisplayInfo:r}=o.payload;n!=null&&(e[n]={errorMessage:(r==null?void 0:r.errorMessage)||$a,successMessage:(r==null?void 0:r.successMessage)||qa,processingMessage:(r==null?void 0:r.processingMessage)||za,submittedMessage:(r==null?void 0:r.submittedMessage)||af,transactionDuration:r==null?void 0:r.transactionDuration})},clearTransactionsInfoForSessionId(e,o){o.payload!=null&&delete e[o.payload]},clearTransactionsInfo:()=>Va},extraReducers:e=>{e.addCase(j,()=>Va)}}),{clearTransactionsInfo:gv,setTransactionsDisplayInfo:sf,clearTransactionsInfoForSessionId:ja}=Uc.actions,pr=Uc.reducer});function fo(e){return e!=null&&(Tf(e)||bf(e))}function Jo(e){return e!=null&&(hf(e)||wf(e))}function Zo(e){return e!=null&&(xf(e)||vf(e))}function Gc(e){return e!=null&&(yf(e)||Af(e))}function Ka(e){return e!=null&&Sf(e)}function Tf(e){return e!=null&&cf.includes(e)}function hf(e){return e!=null&&pf.includes(e)}function xf(e){return e!=null&&mf.includes(e)}function yf(e){return e!=null&&df.includes(e)}function Sf(e){return e!=null&&lf.includes(e)}function bf(e){return e!=null&&_f.includes(e)}function wf(e){return e!=null&&uf.includes(e)}function vf(e){return e!=null&&gf.includes(e)}function Af(e){return e!=null&&ff.includes(e)}var cf,pf,mf,df,lf,_f,uf,gf,ff,An=w(()=>{"use strict";t();H();cf=["sent"],pf=["success"],mf=["fail","cancelled","timedOut"],df=["invalid"],lf=["timedOut"],_f=["pending"],uf=["success"],gf=["fail","invalid"],ff=["not executed"]});var Hc,Vc,ct,If,$c,eo,oo,kf,Qo,Lf,Pf,vv,Ef,pt,Xa,Av,dr,lr=w(()=>{"use strict";t();Hc=require("@reduxjs/toolkit"),Vc=require("redux-persist");H();An();K();ct={signedTransactions:{},transactionsToSign:null,signTransactionsError:null,signTransactionsCancelMessage:null,customTransactionInformationForSessionId:{}},If={signWithoutSending:!1,sessionInformation:null,redirectAfterSign:!1},$c=(0,Hc.createSlice)({name:"transactionsSlice",initialState:ct,reducers:{moveTransactionsToSignedState:(e,o)=>{var l,_;let{sessionId:n,transactions:r,errorMessage:c,status:p,redirectRoute:m,customTransactionInformation:d}=o.payload;e.customTransactionInformationForSessionId[n]=f(f(f({},If),((l=e.signedTransactions[n])==null?void 0:l.customTransactionInformation)||{}),e.customTransactionInformationForSessionId[n]||{}),e.signedTransactions[n]={transactions:r,status:p,errorMessage:c,redirectRoute:m,customTransactionInformation:f(f({},e.customTransactionInformationForSessionId[n]),d!=null?d:{})},((_=e==null?void 0:e.transactionsToSign)==null?void 0:_.sessionId)===n&&(e.transactionsToSign=ct.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=f(f({},e.signedTransactions),o.payload)},updateSignedTransactions:(e,o)=>{let{sessionId:n,status:r,errorMessage:c,transactions:p}=o.payload;e.signedTransactions[n]!=null&&(e.signedTransactions[n].status=r,c!=null&&(e.signedTransactions[n].errorMessage=c),p!=null&&(e.signedTransactions[n].transactions=p))},updateSignedTransactionStatus:(e,o)=>{var _,T,g,x,L,k,P,F;let{sessionId:n,status:r,errorMessage:c,transactionHash:p,serverTransaction:m,inTransit:d}=o.payload,l=(T=(_=e.signedTransactions)==null?void 0:_[n])==null?void 0:T.transactions;if(l!=null){e.signedTransactions[n].transactions=l.map(O=>O.hash===p?v(f(f({},m!=null?m:{}),O),{status:r,errorMessage:c,inTransit:d}):O);let M=(x=(g=e.signedTransactions[n])==null?void 0:g.transactions)==null?void 0:x.every(O=>Jo(O.status)),W=(k=(L=e.signedTransactions[n])==null?void 0:L.transactions)==null?void 0:k.some(O=>Zo(O.status)),$=(F=(P=e.signedTransactions[n])==null?void 0:P.transactions)==null?void 0:F.every(O=>Gc(O.status));M&&(e.signedTransactions[n].status="success"),W&&(e.signedTransactions[n].status="fail"),$&&(e.signedTransactions[n].status="invalid")}},setTransactionsToSign:(e,o)=>{e.transactionsToSign=o.payload;let{sessionId:n,customTransactionInformation:r}=o.payload;e.customTransactionInformationForSessionId[n]=r,e.signTransactionsError=null},clearAllTransactionsToSign:e=>{e.transactionsToSign=ct.transactionsToSign,e.signTransactionsError=null},clearAllSignedTransactions:e=>{e.signedTransactions=ct.signedTransactions},setSignTransactionsError:(e,o)=>{e.signTransactionsError=o.payload},setSignTransactionsCancelMessage:(e,o)=>{e.signTransactionsCancelMessage=o.payload},updateSignedTransactionsCustomTransactionInformation:(e,o)=>{let{sessionId:n,customTransactionInformationOverrides:r}=o.payload;e.signedTransactions[n]!=null&&(e.signedTransactions[n].customTransactionInformation=f(f({},e.signedTransactions[n].customTransactionInformation),r))}},extraReducers:e=>{e.addCase(j,()=>ct),e.addCase(Vc.REHYDRATE,(o,n)=>{var m;if(o.signTransactionsCancelMessage=null,!((m=n.payload)!=null&&m.transactions))return;let{signedTransactions:r,customTransactionInformationForSessionId:c}=n.payload.transactions,p=Object.entries(r).reduce((d,[l,_])=>{let T=new Date(l),g=new Date;return g.setHours(g.getHours()+5),g-T>0||(d[l]=_),d},{});c!=null&&(o.customTransactionInformationForSessionId=c),r!=null&&(o.signedTransactions=p)})}}),{updateSignedTransactionStatus:eo,updateSignedTransactions:oo,setTransactionsToSign:kf,clearAllTransactionsToSign:Qo,clearAllSignedTransactions:Lf,clearSignedTransaction:Pf,clearTransactionToSign:vv,setSignTransactionsError:Ef,setSignTransactionsCancelMessage:pt,moveTransactionsToSignedState:Xa,updateSignedTransactionsCustomTransactionInformation:Av}=$c.actions,dr=$c.reducer});var qc,Ya,zc,jc,Kc,Xc,Pv,_r,ur=w(()=>{"use strict";t();qc=require("@reduxjs/toolkit");K();Ya={},zc=(0,qc.createSlice)({name:"batchTransactionsSlice",initialState:Ya,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:()=>Ya},extraReducers:e=>{e.addCase(j,()=>Ya)}}),{setBatchTransactions:jc,updateBatchTransactions:Kc,clearBatchTransactions:Xc,clearAllBatchTransactions:Pv}=zc.actions,_r=zc.reducer});var Jc,Yc,Zc,Qc,ep,Ja=w(()=>{"use strict";t();Jc=require("@reduxjs/toolkit");K();Yc={},Zc=(0,Jc.createSlice)({name:"dappConfigSlice",initialState:Yc,reducers:{setDappConfig:(e,o)=>o.payload},extraReducers:e=>{e.addCase(j,()=>Yc)}}),{setDappConfig:Qc}=Zc.actions,ep=Zc.reducer});var E=w(()=>{"use strict";t();Qt();at();tr();st();ir();cr();mr();lr();ur();Ja()});var Qa=w(()=>{"use strict";t()});var Ip,Uf,Gf,tn,br=w(()=>{"use strict";t();Ip=require("@reduxjs/toolkit");Qa();Qt();ur();Ja();at();tr();st();ir();cr();mr();lr();Uf={["account"]:Zt,["dappConfig"]:ep,["loginInfo"]:or,["modals"]:nr,["networkConfig"]:rr,["signedMessageInfo"]:ar,["toasts"]:sr,["transactionsInfo"]:pr,["transactions"]:dr,["batchTransactions"]:_r},Gf=(e={})=>(0,Ip.combineReducers)(f(f({},Uf),e)),tn=Gf});var Ep={};ze(Ep,{default:()=>tT,sessionStorageReducers:()=>ei});function ho(e,o=[]){return{key:e,version:1,storage:Lp.default,blacklist:o}}var we,kp,Lp,Hf,_t,Vf,$f,qf,zf,jf,Kf,Xf,Yf,Jf,Zf,Pp,Qf,ei,eT,oT,nT,tT,Cp=w(()=>{"use strict";t();we=require("redux-persist"),kp=b(require("redux-persist/lib/storage")),Lp=b(require("redux-persist/lib/storage/session"));br();E();Qt();ur();at();tr();st();ir();cr();mr();lr();Qa();Hf={persistReducersStorageType:"localStorage"},_t={["account"]:"sdk-dapp-account",["loginInfo"]:"sdk-dapp-login-info",["modals"]:"sdk-dapp-modals",["networkConfig"]:"sdk-dapp-network-config"},Vf=ho(_t["account"]),$f=ho(_t["loginInfo"]),qf=ho(_t["modals"]),zf=ho(_t["networkConfig"]),jf={2:e=>v(f({},e),{networkConfig:it})};Kf=ho("sdk-dapp-transactionsInfo"),Xf=ho("sdk-dapp-transactions",["transactionsToSign"]),Yf=ho("sdk-dapp-batchTransactions",["batchTransactions"]),Jf=ho("sdk-dapp-toasts"),Zf=ho("sdk-dapp-signedMessageInfo"),Pp={key:"sdk-dapp-store",version:2,storage:kp.default,whitelist:Object.keys(_t),migrate:(0,we.createMigrate)(jf,{debug:!1})},Qf=v(f({},Pp),{whitelist:[]}),ei={["toasts"]:(0,we.persistReducer)(Jf,sr),["transactions"]:(0,we.persistReducer)(Xf,dr),["transactionsInfo"]:(0,we.persistReducer)(Kf,pr),["batchTransactions"]:(0,we.persistReducer)(Yf,_r),["signedMessageInfo"]:(0,we.persistReducer)(Zf,ar)},eT=v(f({},ei),{["account"]:(0,we.persistReducer)(Vf,Zt),["loginInfo"]:(0,we.persistReducer)($f,or),["modals"]:(0,we.persistReducer)(qf,nr),["networkConfig"]:(0,we.persistReducer)(zf,rr)}),oT=Hf.persistReducersStorageType==="localStorage",nT=oT?(0,we.persistReducer)(Pp,tn(ei)):(0,we.persistReducer)(Qf,tn(eT)),tT=nT});var Np={};ze(Np,{default:()=>rT});var rT,Rp=w(()=>{"use strict";t();br();rT=tn()});var Dp={};ze(Dp,{default:()=>iT});var Ce,aT,iT,Mp=w(()=>{"use strict";t();Ce=require("redux-persist"),aT=[Ce.FLUSH,Ce.REHYDRATE,Ce.PAUSE,Ce.PERSIST,Ce.PURGE,Ce.REGISTER],iT=aT});var Fp={};ze(Fp,{default:()=>Bp});function Bp(e){return(0,Op.persistStore)(e)}var Op,Wp=w(()=>{"use strict";t();Op=require("redux-persist")});var Om=I((kM,Mm)=>{t();var xh=typeof i=="object"&&i&&i.Object===Object&&i;Mm.exports=xh});var bt=I((LM,Bm)=>{t();var yh=Om(),Sh=typeof self=="object"&&self&&self.Object===Object&&self,bh=yh||Sh||Function("return this")();Bm.exports=bh});var vi=I((PM,Fm)=>{t();var wh=bt(),vh=wh.Symbol;Fm.exports=vh});var Hm=I((EM,Gm)=>{t();var Wm=vi(),Um=Object.prototype,Ah=Um.hasOwnProperty,Ih=Um.toString,wt=Wm?Wm.toStringTag:void 0;function kh(e){var o=Ah.call(e,wt),n=e[wt];try{e[wt]=void 0;var r=!0}catch(p){}var c=Ih.call(e);return r&&(o?e[wt]=n:delete e[wt]),c}Gm.exports=kh});var $m=I((CM,Vm)=>{t();var Lh=Object.prototype,Ph=Lh.toString;function Eh(e){return Ph.call(e)}Vm.exports=Eh});var Ai=I((NM,jm)=>{t();var qm=vi(),Ch=Hm(),Nh=$m(),Rh="[object Null]",Dh="[object Undefined]",zm=qm?qm.toStringTag:void 0;function Mh(e){return e==null?e===void 0?Dh:Rh:zm&&zm in Object(e)?Ch(e):Nh(e)}jm.exports=Mh});var Xm=I((RM,Km)=>{t();var Oh=Array.isArray;Km.exports=Oh});var Jm=I((DM,Ym)=>{t();function Bh(e){return e!=null&&typeof e=="object"}Ym.exports=Bh});var Qm=I((MM,Zm)=>{t();var Fh=Ai(),Wh=Xm(),Uh=Jm(),Gh="[object String]";function Hh(e){return typeof e=="string"||!Wh(e)&&Uh(e)&&Fh(e)==Gh}Zm.exports=Hh});var Ur=I((mO,rd)=>{t();function qh(e){var o=typeof e;return e!=null&&(o=="object"||o=="function")}rd.exports=qh});var Ci={};ze(Ci,{css:()=>Cd,default:()=>Jh});var Cd,Jh,Ni=w(()=>{"use strict";t();Cd=`.dapp-core-component__main__link-style {
1
+ "use strict";var tg=Object.create;var ot=Object.defineProperty,rg=Object.defineProperties,ag=Object.getOwnPropertyDescriptor,ig=Object.getOwnPropertyDescriptors,sg=Object.getOwnPropertyNames,Ot=Object.getOwnPropertySymbols,cg=Object.getPrototypeOf,pa=Object.prototype.hasOwnProperty,as=Object.prototype.propertyIsEnumerable;var rs=(e,o,n)=>o in e?ot(e,o,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[o]=n,f=(e,o)=>{for(var n in o||(o={}))pa.call(o,n)&&rs(e,n,o[n]);if(Ot)for(var n of Ot(o))as.call(o,n)&&rs(e,n,o[n]);return e},v=(e,o)=>rg(e,ig(o));var ma=e=>typeof e=="symbol"?e:e+"",qe=(e,o)=>{var n={};for(var r in e)pa.call(e,r)&&o.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&Ot)for(var r of Ot(e))o.indexOf(r)<0&&as.call(e,r)&&(n[r]=e[r]);return n};var w=(e,o)=>()=>(e&&(o=e(e=0)),o);var I=(e,o)=>()=>(o||e((o={exports:{}}).exports,o),o.exports),ze=(e,o)=>{for(var n in o)ot(e,n,{get:o[n],enumerable:!0})},is=(e,o,n,r)=>{if(o&&typeof o=="object"||typeof o=="function")for(let c of sg(o))!pa.call(e,c)&&c!==n&&ot(e,c,{get:()=>o[c],enumerable:!(r=ag(o,c))||r.enumerable});return e};var b=(e,o,n)=>(n=e!=null?tg(cg(e)):{},is(o||!e||!e.__esModule?ot(n,"default",{value:e,enumerable:!0}):n,e)),Me=e=>is(ot({},"__esModule",{value:!0}),e);var u=(e,o,n)=>new Promise((r,c)=>{var p=l=>{try{d(n.next(l))}catch(_){c(_)}},m=l=>{try{d(n.throw(l))}catch(_){c(_)}},d=l=>l.done?r(l.value):Promise.resolve(l.value).then(p,m);d((n=n.apply(e,o)).next())});var ps=I(Bt=>{"use strict";t();Bt.byteLength=mg;Bt.toByteArray=lg;Bt.fromByteArray=gg;var je=[],Pe=[],pg=typeof Uint8Array!="undefined"?Uint8Array:Array,da="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for($o=0,ss=da.length;$o<ss;++$o)je[$o]=da[$o],Pe[da.charCodeAt($o)]=$o;var $o,ss;Pe["-".charCodeAt(0)]=62;Pe["_".charCodeAt(0)]=63;function cs(e){var o=e.length;if(o%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");n===-1&&(n=o);var r=n===o?0:4-n%4;return[n,r]}function mg(e){var o=cs(e),n=o[0],r=o[1];return(n+r)*3/4-r}function dg(e,o,n){return(o+n)*3/4-n}function lg(e){var o,n=cs(e),r=n[0],c=n[1],p=new pg(dg(e,r,c)),m=0,d=c>0?r-4:r,l;for(l=0;l<d;l+=4)o=Pe[e.charCodeAt(l)]<<18|Pe[e.charCodeAt(l+1)]<<12|Pe[e.charCodeAt(l+2)]<<6|Pe[e.charCodeAt(l+3)],p[m++]=o>>16&255,p[m++]=o>>8&255,p[m++]=o&255;return c===2&&(o=Pe[e.charCodeAt(l)]<<2|Pe[e.charCodeAt(l+1)]>>4,p[m++]=o&255),c===1&&(o=Pe[e.charCodeAt(l)]<<10|Pe[e.charCodeAt(l+1)]<<4|Pe[e.charCodeAt(l+2)]>>2,p[m++]=o>>8&255,p[m++]=o&255),p}function _g(e){return je[e>>18&63]+je[e>>12&63]+je[e>>6&63]+je[e&63]}function ug(e,o,n){for(var r,c=[],p=o;p<n;p+=3)r=(e[p]<<16&16711680)+(e[p+1]<<8&65280)+(e[p+2]&255),c.push(_g(r));return c.join("")}function gg(e){for(var o,n=e.length,r=n%3,c=[],p=16383,m=0,d=n-r;m<d;m+=p)c.push(ug(e,m,m+p>d?d:m+p));return r===1?(o=e[n-1],c.push(je[o>>2]+je[o<<4&63]+"==")):r===2&&(o=(e[n-2]<<8)+e[n-1],c.push(je[o>>10]+je[o>>4&63]+je[o<<2&63]+"=")),c.join("")}});var ms=I(la=>{t();la.read=function(e,o,n,r,c){var p,m,d=c*8-r-1,l=(1<<d)-1,_=l>>1,T=-7,g=n?c-1:0,x=n?-1:1,L=e[o+g];for(g+=x,p=L&(1<<-T)-1,L>>=-T,T+=d;T>0;p=p*256+e[o+g],g+=x,T-=8);for(m=p&(1<<-T)-1,p>>=-T,T+=r;T>0;m=m*256+e[o+g],g+=x,T-=8);if(p===0)p=1-_;else{if(p===l)return m?NaN:(L?-1:1)*(1/0);m=m+Math.pow(2,r),p=p-_}return(L?-1:1)*m*Math.pow(2,p-r)};la.write=function(e,o,n,r,c,p){var m,d,l,_=p*8-c-1,T=(1<<_)-1,g=T>>1,x=c===23?Math.pow(2,-24)-Math.pow(2,-77):0,L=r?0:p-1,k=r?1:-1,P=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+g>=1?o+=x/l:o+=x*Math.pow(2,1-g),o*l>=2&&(m++,l/=2),m+g>=T?(d=0,m=T):m+g>=1?(d=(o*l-1)*Math.pow(2,c),m=m+g):(d=o*Math.pow(2,g-1)*Math.pow(2,c),m=0));c>=8;e[n+L]=d&255,L+=k,d/=256,c-=8);for(m=m<<c|d,_+=c;_>0;e[n+L]=m&255,L+=k,m/=256,_-=8);e[n+L-k]|=P*128}});var ws=I(fn=>{"use strict";t();var _a=ps(),gn=ms(),ds=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;fn.Buffer=h;fn.SlowBuffer=Sg;fn.INSPECT_MAX_BYTES=50;var Ft=2147483647;fn.kMaxLength=Ft;h.TYPED_ARRAY_SUPPORT=fg();!h.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 fg(){try{var e=new Uint8Array(1),o={foo:function(){return 42}};return Object.setPrototypeOf(o,Uint8Array.prototype),Object.setPrototypeOf(e,o),e.foo()===42}catch(n){return!1}}Object.defineProperty(h.prototype,"parent",{enumerable:!0,get:function(){if(!!h.isBuffer(this))return this.buffer}});Object.defineProperty(h.prototype,"offset",{enumerable:!0,get:function(){if(!!h.isBuffer(this))return this.byteOffset}});function co(e){if(e>Ft)throw new RangeError('The value "'+e+'" is invalid for option "size"');var o=new Uint8Array(e);return Object.setPrototypeOf(o,h.prototype),o}function h(e,o,n){if(typeof e=="number"){if(typeof o=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return Ta(e)}return us(e,o,n)}h.poolSize=8192;function us(e,o,n){if(typeof e=="string")return hg(e,o);if(ArrayBuffer.isView(e))return xg(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(Ke(e,ArrayBuffer)||e&&Ke(e.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(Ke(e,SharedArrayBuffer)||e&&Ke(e.buffer,SharedArrayBuffer)))return ga(e,o,n);if(typeof e=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var r=e.valueOf&&e.valueOf();if(r!=null&&r!==e)return h.from(r,o,n);var c=yg(e);if(c)return c;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof e[Symbol.toPrimitive]=="function")return h.from(e[Symbol.toPrimitive]("string"),o,n);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}h.from=function(e,o,n){return us(e,o,n)};Object.setPrototypeOf(h.prototype,Uint8Array.prototype);Object.setPrototypeOf(h,Uint8Array);function gs(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 Tg(e,o,n){return gs(e),e<=0?co(e):o!==void 0?typeof n=="string"?co(e).fill(o,n):co(e).fill(o):co(e)}h.alloc=function(e,o,n){return Tg(e,o,n)};function Ta(e){return gs(e),co(e<0?0:ha(e)|0)}h.allocUnsafe=function(e){return Ta(e)};h.allocUnsafeSlow=function(e){return Ta(e)};function hg(e,o){if((typeof o!="string"||o==="")&&(o="utf8"),!h.isEncoding(o))throw new TypeError("Unknown encoding: "+o);var n=fs(e,o)|0,r=co(n),c=r.write(e,o);return c!==n&&(r=r.slice(0,c)),r}function ua(e){for(var o=e.length<0?0:ha(e.length)|0,n=co(o),r=0;r<o;r+=1)n[r]=e[r]&255;return n}function xg(e){if(Ke(e,Uint8Array)){var o=new Uint8Array(e);return ga(o.buffer,o.byteOffset,o.byteLength)}return ua(e)}function ga(e,o,n){if(o<0||e.byteLength<o)throw new RangeError('"offset" is outside of buffer bounds');if(e.byteLength<o+(n||0))throw new RangeError('"length" is outside of buffer bounds');var r;return o===void 0&&n===void 0?r=new Uint8Array(e):n===void 0?r=new Uint8Array(e,o):r=new Uint8Array(e,o,n),Object.setPrototypeOf(r,h.prototype),r}function yg(e){if(h.isBuffer(e)){var o=ha(e.length)|0,n=co(o);return n.length===0||e.copy(n,0,0,o),n}if(e.length!==void 0)return typeof e.length!="number"||xa(e.length)?co(0):ua(e);if(e.type==="Buffer"&&Array.isArray(e.data))return ua(e.data)}function ha(e){if(e>=Ft)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+Ft.toString(16)+" bytes");return e|0}function Sg(e){return+e!=e&&(e=0),h.alloc(+e)}h.isBuffer=function(o){return o!=null&&o._isBuffer===!0&&o!==h.prototype};h.compare=function(o,n){if(Ke(o,Uint8Array)&&(o=h.from(o,o.offset,o.byteLength)),Ke(n,Uint8Array)&&(n=h.from(n,n.offset,n.byteLength)),!h.isBuffer(o)||!h.isBuffer(n))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(o===n)return 0;for(var r=o.length,c=n.length,p=0,m=Math.min(r,c);p<m;++p)if(o[p]!==n[p]){r=o[p],c=n[p];break}return r<c?-1:c<r?1:0};h.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}};h.concat=function(o,n){if(!Array.isArray(o))throw new TypeError('"list" argument must be an Array of Buffers');if(o.length===0)return h.alloc(0);var r;if(n===void 0)for(n=0,r=0;r<o.length;++r)n+=o[r].length;var c=h.allocUnsafe(n),p=0;for(r=0;r<o.length;++r){var m=o[r];if(Ke(m,Uint8Array))p+m.length>c.length?h.from(m).copy(c,p):Uint8Array.prototype.set.call(c,m,p);else if(h.isBuffer(m))m.copy(c,p);else throw new TypeError('"list" argument must be an Array of Buffers');p+=m.length}return c};function fs(e,o){if(h.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||Ke(e,ArrayBuffer))return e.byteLength;if(typeof e!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var n=e.length,r=arguments.length>2&&arguments[2]===!0;if(!r&&n===0)return 0;for(var c=!1;;)switch(o){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":return fa(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return n*2;case"hex":return n>>>1;case"base64":return bs(e).length;default:if(c)return r?-1:fa(e).length;o=(""+o).toLowerCase(),c=!0}}h.byteLength=fs;function bg(e,o,n){var r=!1;if((o===void 0||o<0)&&(o=0),o>this.length||((n===void 0||n>this.length)&&(n=this.length),n<=0)||(n>>>=0,o>>>=0,n<=o))return"";for(e||(e="utf8");;)switch(e){case"hex":return Ng(this,o,n);case"utf8":case"utf-8":return hs(this,o,n);case"ascii":return Eg(this,o,n);case"latin1":case"binary":return Cg(this,o,n);case"base64":return Lg(this,o,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Rg(this,o,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}h.prototype._isBuffer=!0;function qo(e,o,n){var r=e[o];e[o]=e[n],e[n]=r}h.prototype.swap16=function(){var o=this.length;if(o%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var n=0;n<o;n+=2)qo(this,n,n+1);return this};h.prototype.swap32=function(){var o=this.length;if(o%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var n=0;n<o;n+=4)qo(this,n,n+3),qo(this,n+1,n+2);return this};h.prototype.swap64=function(){var o=this.length;if(o%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var n=0;n<o;n+=8)qo(this,n,n+7),qo(this,n+1,n+6),qo(this,n+2,n+5),qo(this,n+3,n+4);return this};h.prototype.toString=function(){var o=this.length;return o===0?"":arguments.length===0?hs(this,0,o):bg.apply(this,arguments)};h.prototype.toLocaleString=h.prototype.toString;h.prototype.equals=function(o){if(!h.isBuffer(o))throw new TypeError("Argument must be a Buffer");return this===o?!0:h.compare(this,o)===0};h.prototype.inspect=function(){var o="",n=fn.INSPECT_MAX_BYTES;return o=this.toString("hex",0,n).replace(/(.{2})/g,"$1 ").trim(),this.length>n&&(o+=" ... "),"<Buffer "+o+">"};ds&&(h.prototype[ds]=h.prototype.inspect);h.prototype.compare=function(o,n,r,c,p){if(Ke(o,Uint8Array)&&(o=h.from(o,o.offset,o.byteLength)),!h.isBuffer(o))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof o);if(n===void 0&&(n=0),r===void 0&&(r=o?o.length:0),c===void 0&&(c=0),p===void 0&&(p=this.length),n<0||r>o.length||c<0||p>this.length)throw new RangeError("out of range index");if(c>=p&&n>=r)return 0;if(c>=p)return-1;if(n>=r)return 1;if(n>>>=0,r>>>=0,c>>>=0,p>>>=0,this===o)return 0;for(var m=p-c,d=r-n,l=Math.min(m,d),_=this.slice(c,p),T=o.slice(n,r),g=0;g<l;++g)if(_[g]!==T[g]){m=_[g],d=T[g];break}return m<d?-1:d<m?1:0};function Ts(e,o,n,r,c){if(e.length===0)return-1;if(typeof n=="string"?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,xa(n)&&(n=c?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(c)return-1;n=e.length-1}else if(n<0)if(c)n=0;else return-1;if(typeof o=="string"&&(o=h.from(o,r)),h.isBuffer(o))return o.length===0?-1:ls(e,o,n,r,c);if(typeof o=="number")return o=o&255,typeof Uint8Array.prototype.indexOf=="function"?c?Uint8Array.prototype.indexOf.call(e,o,n):Uint8Array.prototype.lastIndexOf.call(e,o,n):ls(e,[o],n,r,c);throw new TypeError("val must be string, number or Buffer")}function ls(e,o,n,r,c){var p=1,m=e.length,d=o.length;if(r!==void 0&&(r=String(r).toLowerCase(),r==="ucs2"||r==="ucs-2"||r==="utf16le"||r==="utf-16le")){if(e.length<2||o.length<2)return-1;p=2,m/=2,d/=2,n/=2}function l(L,k){return p===1?L[k]:L.readUInt16BE(k*p)}var _;if(c){var T=-1;for(_=n;_<m;_++)if(l(e,_)===l(o,T===-1?0:_-T)){if(T===-1&&(T=_),_-T+1===d)return T*p}else T!==-1&&(_-=_-T),T=-1}else for(n+d>m&&(n=m-d),_=n;_>=0;_--){for(var g=!0,x=0;x<d;x++)if(l(e,_+x)!==l(o,x)){g=!1;break}if(g)return _}return-1}h.prototype.includes=function(o,n,r){return this.indexOf(o,n,r)!==-1};h.prototype.indexOf=function(o,n,r){return Ts(this,o,n,r,!0)};h.prototype.lastIndexOf=function(o,n,r){return Ts(this,o,n,r,!1)};function wg(e,o,n,r){n=Number(n)||0;var c=e.length-n;r?(r=Number(r),r>c&&(r=c)):r=c;var p=o.length;r>p/2&&(r=p/2);for(var m=0;m<r;++m){var d=parseInt(o.substr(m*2,2),16);if(xa(d))return m;e[n+m]=d}return m}function vg(e,o,n,r){return Wt(fa(o,e.length-n),e,n,r)}function Ag(e,o,n,r){return Wt(Og(o),e,n,r)}function Ig(e,o,n,r){return Wt(bs(o),e,n,r)}function kg(e,o,n,r){return Wt(Bg(o,e.length-n),e,n,r)}h.prototype.write=function(o,n,r,c){if(n===void 0)c="utf8",r=this.length,n=0;else if(r===void 0&&typeof n=="string")c=n,r=this.length,n=0;else if(isFinite(n))n=n>>>0,isFinite(r)?(r=r>>>0,c===void 0&&(c="utf8")):(c=r,r=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var p=this.length-n;if((r===void 0||r>p)&&(r=p),o.length>0&&(r<0||n<0)||n>this.length)throw new RangeError("Attempt to write outside buffer bounds");c||(c="utf8");for(var m=!1;;)switch(c){case"hex":return wg(this,o,n,r);case"utf8":case"utf-8":return vg(this,o,n,r);case"ascii":case"latin1":case"binary":return Ag(this,o,n,r);case"base64":return Ig(this,o,n,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return kg(this,o,n,r);default:if(m)throw new TypeError("Unknown encoding: "+c);c=(""+c).toLowerCase(),m=!0}};h.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function Lg(e,o,n){return o===0&&n===e.length?_a.fromByteArray(e):_a.fromByteArray(e.slice(o,n))}function hs(e,o,n){n=Math.min(e.length,n);for(var r=[],c=o;c<n;){var p=e[c],m=null,d=p>239?4:p>223?3:p>191?2:1;if(c+d<=n){var l,_,T,g;switch(d){case 1:p<128&&(m=p);break;case 2:l=e[c+1],(l&192)===128&&(g=(p&31)<<6|l&63,g>127&&(m=g));break;case 3:l=e[c+1],_=e[c+2],(l&192)===128&&(_&192)===128&&(g=(p&15)<<12|(l&63)<<6|_&63,g>2047&&(g<55296||g>57343)&&(m=g));break;case 4:l=e[c+1],_=e[c+2],T=e[c+3],(l&192)===128&&(_&192)===128&&(T&192)===128&&(g=(p&15)<<18|(l&63)<<12|(_&63)<<6|T&63,g>65535&&g<1114112&&(m=g))}}m===null?(m=65533,d=1):m>65535&&(m-=65536,r.push(m>>>10&1023|55296),m=56320|m&1023),r.push(m),c+=d}return Pg(r)}var _s=4096;function Pg(e){var o=e.length;if(o<=_s)return String.fromCharCode.apply(String,e);for(var n="",r=0;r<o;)n+=String.fromCharCode.apply(String,e.slice(r,r+=_s));return n}function Eg(e,o,n){var r="";n=Math.min(e.length,n);for(var c=o;c<n;++c)r+=String.fromCharCode(e[c]&127);return r}function Cg(e,o,n){var r="";n=Math.min(e.length,n);for(var c=o;c<n;++c)r+=String.fromCharCode(e[c]);return r}function Ng(e,o,n){var r=e.length;(!o||o<0)&&(o=0),(!n||n<0||n>r)&&(n=r);for(var c="",p=o;p<n;++p)c+=Fg[e[p]];return c}function Rg(e,o,n){for(var r=e.slice(o,n),c="",p=0;p<r.length-1;p+=2)c+=String.fromCharCode(r[p]+r[p+1]*256);return c}h.prototype.slice=function(o,n){var r=this.length;o=~~o,n=n===void 0?r:~~n,o<0?(o+=r,o<0&&(o=0)):o>r&&(o=r),n<0?(n+=r,n<0&&(n=0)):n>r&&(n=r),n<o&&(n=o);var c=this.subarray(o,n);return Object.setPrototypeOf(c,h.prototype),c};function se(e,o,n){if(e%1!==0||e<0)throw new RangeError("offset is not uint");if(e+o>n)throw new RangeError("Trying to access beyond buffer length")}h.prototype.readUintLE=h.prototype.readUIntLE=function(o,n,r){o=o>>>0,n=n>>>0,r||se(o,n,this.length);for(var c=this[o],p=1,m=0;++m<n&&(p*=256);)c+=this[o+m]*p;return c};h.prototype.readUintBE=h.prototype.readUIntBE=function(o,n,r){o=o>>>0,n=n>>>0,r||se(o,n,this.length);for(var c=this[o+--n],p=1;n>0&&(p*=256);)c+=this[o+--n]*p;return c};h.prototype.readUint8=h.prototype.readUInt8=function(o,n){return o=o>>>0,n||se(o,1,this.length),this[o]};h.prototype.readUint16LE=h.prototype.readUInt16LE=function(o,n){return o=o>>>0,n||se(o,2,this.length),this[o]|this[o+1]<<8};h.prototype.readUint16BE=h.prototype.readUInt16BE=function(o,n){return o=o>>>0,n||se(o,2,this.length),this[o]<<8|this[o+1]};h.prototype.readUint32LE=h.prototype.readUInt32LE=function(o,n){return o=o>>>0,n||se(o,4,this.length),(this[o]|this[o+1]<<8|this[o+2]<<16)+this[o+3]*16777216};h.prototype.readUint32BE=h.prototype.readUInt32BE=function(o,n){return o=o>>>0,n||se(o,4,this.length),this[o]*16777216+(this[o+1]<<16|this[o+2]<<8|this[o+3])};h.prototype.readIntLE=function(o,n,r){o=o>>>0,n=n>>>0,r||se(o,n,this.length);for(var c=this[o],p=1,m=0;++m<n&&(p*=256);)c+=this[o+m]*p;return p*=128,c>=p&&(c-=Math.pow(2,8*n)),c};h.prototype.readIntBE=function(o,n,r){o=o>>>0,n=n>>>0,r||se(o,n,this.length);for(var c=n,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*n)),m};h.prototype.readInt8=function(o,n){return o=o>>>0,n||se(o,1,this.length),this[o]&128?(255-this[o]+1)*-1:this[o]};h.prototype.readInt16LE=function(o,n){o=o>>>0,n||se(o,2,this.length);var r=this[o]|this[o+1]<<8;return r&32768?r|4294901760:r};h.prototype.readInt16BE=function(o,n){o=o>>>0,n||se(o,2,this.length);var r=this[o+1]|this[o]<<8;return r&32768?r|4294901760:r};h.prototype.readInt32LE=function(o,n){return o=o>>>0,n||se(o,4,this.length),this[o]|this[o+1]<<8|this[o+2]<<16|this[o+3]<<24};h.prototype.readInt32BE=function(o,n){return o=o>>>0,n||se(o,4,this.length),this[o]<<24|this[o+1]<<16|this[o+2]<<8|this[o+3]};h.prototype.readFloatLE=function(o,n){return o=o>>>0,n||se(o,4,this.length),gn.read(this,o,!0,23,4)};h.prototype.readFloatBE=function(o,n){return o=o>>>0,n||se(o,4,this.length),gn.read(this,o,!1,23,4)};h.prototype.readDoubleLE=function(o,n){return o=o>>>0,n||se(o,8,this.length),gn.read(this,o,!0,52,8)};h.prototype.readDoubleBE=function(o,n){return o=o>>>0,n||se(o,8,this.length),gn.read(this,o,!1,52,8)};function ye(e,o,n,r,c,p){if(!h.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(n+r>e.length)throw new RangeError("Index out of range")}h.prototype.writeUintLE=h.prototype.writeUIntLE=function(o,n,r,c){if(o=+o,n=n>>>0,r=r>>>0,!c){var p=Math.pow(2,8*r)-1;ye(this,o,n,r,p,0)}var m=1,d=0;for(this[n]=o&255;++d<r&&(m*=256);)this[n+d]=o/m&255;return n+r};h.prototype.writeUintBE=h.prototype.writeUIntBE=function(o,n,r,c){if(o=+o,n=n>>>0,r=r>>>0,!c){var p=Math.pow(2,8*r)-1;ye(this,o,n,r,p,0)}var m=r-1,d=1;for(this[n+m]=o&255;--m>=0&&(d*=256);)this[n+m]=o/d&255;return n+r};h.prototype.writeUint8=h.prototype.writeUInt8=function(o,n,r){return o=+o,n=n>>>0,r||ye(this,o,n,1,255,0),this[n]=o&255,n+1};h.prototype.writeUint16LE=h.prototype.writeUInt16LE=function(o,n,r){return o=+o,n=n>>>0,r||ye(this,o,n,2,65535,0),this[n]=o&255,this[n+1]=o>>>8,n+2};h.prototype.writeUint16BE=h.prototype.writeUInt16BE=function(o,n,r){return o=+o,n=n>>>0,r||ye(this,o,n,2,65535,0),this[n]=o>>>8,this[n+1]=o&255,n+2};h.prototype.writeUint32LE=h.prototype.writeUInt32LE=function(o,n,r){return o=+o,n=n>>>0,r||ye(this,o,n,4,4294967295,0),this[n+3]=o>>>24,this[n+2]=o>>>16,this[n+1]=o>>>8,this[n]=o&255,n+4};h.prototype.writeUint32BE=h.prototype.writeUInt32BE=function(o,n,r){return o=+o,n=n>>>0,r||ye(this,o,n,4,4294967295,0),this[n]=o>>>24,this[n+1]=o>>>16,this[n+2]=o>>>8,this[n+3]=o&255,n+4};h.prototype.writeIntLE=function(o,n,r,c){if(o=+o,n=n>>>0,!c){var p=Math.pow(2,8*r-1);ye(this,o,n,r,p-1,-p)}var m=0,d=1,l=0;for(this[n]=o&255;++m<r&&(d*=256);)o<0&&l===0&&this[n+m-1]!==0&&(l=1),this[n+m]=(o/d>>0)-l&255;return n+r};h.prototype.writeIntBE=function(o,n,r,c){if(o=+o,n=n>>>0,!c){var p=Math.pow(2,8*r-1);ye(this,o,n,r,p-1,-p)}var m=r-1,d=1,l=0;for(this[n+m]=o&255;--m>=0&&(d*=256);)o<0&&l===0&&this[n+m+1]!==0&&(l=1),this[n+m]=(o/d>>0)-l&255;return n+r};h.prototype.writeInt8=function(o,n,r){return o=+o,n=n>>>0,r||ye(this,o,n,1,127,-128),o<0&&(o=255+o+1),this[n]=o&255,n+1};h.prototype.writeInt16LE=function(o,n,r){return o=+o,n=n>>>0,r||ye(this,o,n,2,32767,-32768),this[n]=o&255,this[n+1]=o>>>8,n+2};h.prototype.writeInt16BE=function(o,n,r){return o=+o,n=n>>>0,r||ye(this,o,n,2,32767,-32768),this[n]=o>>>8,this[n+1]=o&255,n+2};h.prototype.writeInt32LE=function(o,n,r){return o=+o,n=n>>>0,r||ye(this,o,n,4,2147483647,-2147483648),this[n]=o&255,this[n+1]=o>>>8,this[n+2]=o>>>16,this[n+3]=o>>>24,n+4};h.prototype.writeInt32BE=function(o,n,r){return o=+o,n=n>>>0,r||ye(this,o,n,4,2147483647,-2147483648),o<0&&(o=4294967295+o+1),this[n]=o>>>24,this[n+1]=o>>>16,this[n+2]=o>>>8,this[n+3]=o&255,n+4};function xs(e,o,n,r,c,p){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function ys(e,o,n,r,c){return o=+o,n=n>>>0,c||xs(e,o,n,4,34028234663852886e22,-34028234663852886e22),gn.write(e,o,n,r,23,4),n+4}h.prototype.writeFloatLE=function(o,n,r){return ys(this,o,n,!0,r)};h.prototype.writeFloatBE=function(o,n,r){return ys(this,o,n,!1,r)};function Ss(e,o,n,r,c){return o=+o,n=n>>>0,c||xs(e,o,n,8,17976931348623157e292,-17976931348623157e292),gn.write(e,o,n,r,52,8),n+8}h.prototype.writeDoubleLE=function(o,n,r){return Ss(this,o,n,!0,r)};h.prototype.writeDoubleBE=function(o,n,r){return Ss(this,o,n,!1,r)};h.prototype.copy=function(o,n,r,c){if(!h.isBuffer(o))throw new TypeError("argument should be a Buffer");if(r||(r=0),!c&&c!==0&&(c=this.length),n>=o.length&&(n=o.length),n||(n=0),c>0&&c<r&&(c=r),c===r||o.length===0||this.length===0)return 0;if(n<0)throw new RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw new RangeError("Index out of range");if(c<0)throw new RangeError("sourceEnd out of bounds");c>this.length&&(c=this.length),o.length-n<c-r&&(c=o.length-n+r);var p=c-r;return this===o&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(n,r,c):Uint8Array.prototype.set.call(o,this.subarray(r,c),n),p};h.prototype.fill=function(o,n,r,c){if(typeof o=="string"){if(typeof n=="string"?(c=n,n=0,r=this.length):typeof r=="string"&&(c=r,r=this.length),c!==void 0&&typeof c!="string")throw new TypeError("encoding must be a string");if(typeof c=="string"&&!h.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(n<0||this.length<n||this.length<r)throw new RangeError("Out of range index");if(r<=n)return this;n=n>>>0,r=r===void 0?this.length:r>>>0,o||(o=0);var m;if(typeof o=="number")for(m=n;m<r;++m)this[m]=o;else{var d=h.isBuffer(o)?o:h.from(o,c),l=d.length;if(l===0)throw new TypeError('The value "'+o+'" is invalid for argument "value"');for(m=0;m<r-n;++m)this[m+n]=d[m%l]}return this};var Dg=/[^+/0-9A-Za-z-_]/g;function Mg(e){if(e=e.split("=")[0],e=e.trim().replace(Dg,""),e.length<2)return"";for(;e.length%4!==0;)e=e+"=";return e}function fa(e,o){o=o||1/0;for(var n,r=e.length,c=null,p=[],m=0;m<r;++m){if(n=e.charCodeAt(m),n>55295&&n<57344){if(!c){if(n>56319){(o-=3)>-1&&p.push(239,191,189);continue}else if(m+1===r){(o-=3)>-1&&p.push(239,191,189);continue}c=n;continue}if(n<56320){(o-=3)>-1&&p.push(239,191,189),c=n;continue}n=(c-55296<<10|n-56320)+65536}else c&&(o-=3)>-1&&p.push(239,191,189);if(c=null,n<128){if((o-=1)<0)break;p.push(n)}else if(n<2048){if((o-=2)<0)break;p.push(n>>6|192,n&63|128)}else if(n<65536){if((o-=3)<0)break;p.push(n>>12|224,n>>6&63|128,n&63|128)}else if(n<1114112){if((o-=4)<0)break;p.push(n>>18|240,n>>12&63|128,n>>6&63|128,n&63|128)}else throw new Error("Invalid code point")}return p}function Og(e){for(var o=[],n=0;n<e.length;++n)o.push(e.charCodeAt(n)&255);return o}function Bg(e,o){for(var n,r,c,p=[],m=0;m<e.length&&!((o-=2)<0);++m)n=e.charCodeAt(m),r=n>>8,c=n%256,p.push(c),p.push(r);return p}function bs(e){return _a.toByteArray(Mg(e))}function Wt(e,o,n,r){for(var c=0;c<r&&!(c+n>=o.length||c>=e.length);++c)o[c+n]=e[c];return c}function Ke(e,o){return e instanceof o||e!=null&&e.constructor!=null&&e.constructor.name!=null&&e.constructor.name===o.name}function xa(e){return e!==e}var Fg=function(){for(var e="0123456789abcdef",o=new Array(256),n=0;n<16;++n)for(var r=n*16,c=0;c<16;++c)o[r+c]=e[n]+e[c];return o}()});var Ls=I((Gb,ks)=>{t();var Q=ks.exports={},Xe,Ye;function ya(){throw new Error("setTimeout has not been defined")}function Sa(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?Xe=setTimeout:Xe=ya}catch(e){Xe=ya}try{typeof clearTimeout=="function"?Ye=clearTimeout:Ye=Sa}catch(e){Ye=Sa}})();function vs(e){if(Xe===setTimeout)return setTimeout(e,0);if((Xe===ya||!Xe)&&setTimeout)return Xe=setTimeout,setTimeout(e,0);try{return Xe(e,0)}catch(o){try{return Xe.call(null,e,0)}catch(n){return Xe.call(this,e,0)}}}function Wg(e){if(Ye===clearTimeout)return clearTimeout(e);if((Ye===Sa||!Ye)&&clearTimeout)return Ye=clearTimeout,clearTimeout(e);try{return Ye(e)}catch(o){try{return Ye.call(null,e)}catch(n){return Ye.call(this,e)}}}var po=[],Tn=!1,zo,Ut=-1;function Ug(){!Tn||!zo||(Tn=!1,zo.length?po=zo.concat(po):Ut=-1,po.length&&As())}function As(){if(!Tn){var e=vs(Ug);Tn=!0;for(var o=po.length;o;){for(zo=po,po=[];++Ut<o;)zo&&zo[Ut].run();Ut=-1,o=po.length}zo=null,Tn=!1,Wg(e)}}Q.nextTick=function(e){var o=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)o[n-1]=arguments[n];po.push(new Is(e,o)),po.length===1&&!Tn&&vs(As)};function Is(e,o){this.fun=e,this.array=o}Is.prototype.run=function(){this.fun.apply(null,this.array)};Q.title="browser";Q.browser=!0;Q.env={};Q.argv=[];Q.version="";Q.versions={};function mo(){}Q.on=mo;Q.addListener=mo;Q.once=mo;Q.off=mo;Q.removeListener=mo;Q.removeAllListeners=mo;Q.emit=mo;Q.prependListener=mo;Q.prependOnceListener=mo;Q.listeners=function(e){return[]};Q.binding=function(e){throw new Error("process.binding is not supported")};Q.cwd=function(){return"/"};Q.chdir=function(e){throw new Error("process.chdir is not supported")};Q.umask=function(){return 0}});var a,s,Gg,i,t=w(()=>{a=b(ws()),s=b(Ls()),Gg=function(e){function o(){var r=this||self;return delete e.prototype.__magic__,r}if(typeof globalThis=="object")return globalThis;if(this)return o();e.defineProperty(e.prototype,"__magic__",{configurable:!0,get:o});var n=__magic__;return n}(Object),i=Gg});var ba=w(()=>{"use strict";t()});var Ps=w(()=>{"use strict";t()});var Es=w(()=>{"use strict";t()});var Oe,hn,Lo=w(()=>{"use strict";t();Oe=require("@multiversx/sdk-web-wallet-cross-window-provider/out/CrossWindowProvider/CrossWindowProvider"),hn=require("@multiversx/sdk-web-wallet-cross-window-provider/out/enums")});var Y,Cs,zb,Ns,jb,H=w(()=>{"use strict";t();Lo();Y=(x=>(x.ledger="ledger",x.walletconnect="walletconnect",x.walletconnectv2="walletconnectv2",x.wallet="wallet",x.crossWindow="crossWindow",x.iframe="iframe",x.extension="extension",x.passkey="passkey",x.metamask="metamask",x.opera="opera",x.extra="extra",x.none="",x))(Y||{}),Cs=(n=>(n.signTransactionsWithGuardianResponse="SIGN_TRANSACTIONS_WITH_GUARDIAN_RESPONSE",n.reloginRequest="RELOGIN_REQUEST",n))(Cs||{}),zb=f(f({},hn.WindowProviderRequestEnums),Cs),Ns=(o=>(o.reloginResponse="RELOGIN_RESPONSE",o))(Ns||{}),jb=f(f({},hn.WindowProviderResponseEnums),Ns)});var Rs=w(()=>{"use strict";t()});var Ds=w(()=>{"use strict";t()});var Se=w(()=>{"use strict";t()});var Ms=w(()=>{"use strict";t()});var Os=w(()=>{"use strict";t()});var Bs=w(()=>{"use strict";t()});var U=w(()=>{"use strict";t();ba();Ps();Es();H();Rs();Ds();Se();Ms();Os();Bs()});var Fs=w(()=>{"use strict";t()});var Je,Be=w(()=>{"use strict";t();Je="Action not allowed. User is logged in. Call logout() first"});var Ws=w(()=>{"use strict";t()});var wa,Us=w(()=>{"use strict";t();wa=(r=>(r.SetGuardian="SetGuardian",r.GuardAccount="GuardAccount",r.UnGuardAccount="UnGuardAccount",r))(wa||{})});var Gs=w(()=>{"use strict";t()});var va=w(()=>{"use strict";t()});var Hs=w(()=>{"use strict";t()});var lo,Gt,fw,Ht,Tw,Vt,hw,xw,Vg,$t,Po=w(()=>{"use strict";t();U();lo={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:Gt,egldLabel:fw}=lo["devnet"],{chainId:Ht,egldLabel:Tw}=lo["testnet"],{chainId:Vt,egldLabel:hw}=lo["mainnet"],xw={["devnet"]:Gt,["testnet"]:Ht,["mainnet"]:Vt},Vg={[Gt]:"devnet",[Ht]:"testnet",[Vt]:"mainnet"},$t=3e3});var jo=w(()=>{"use strict";t()});var Ze,Vs=w(()=>{"use strict";t();Ze=require("@multiversx/sdk-web-wallet-provider")});var Te,Ko=w(()=>{"use strict";t();Te=require("@multiversx/sdk-dapp-utils/out/constants/browserConstants")});var $s,qs,Aa,Aw,Iw,Ia=w(()=>{"use strict";t();Ko();Aa=String((qs=($s=Te.safeWindow)==null?void 0:$s.navigator)==null?void 0:qs.userAgent),Aw=/^((?!chrome|android).)*safari/i.test(Aa),Iw=/firefox/i.test(Aa)&&/windows/i.test(Aa)});var qt,zt,zs,js,nt,ka,La,jt,Ks,xn,Kt,C=w(()=>{"use strict";t();Fs();Be();Ws();Us();Gs();va();Hs();Po();jo();Vs();Ia();qt=5e4,zt=1e9,zs=1,js=1,nt="signSession",ka="sdk-dapp-version",La="4.3.7-alpha.1",jt="logout",Ks="login",xn="0",Kt="-"});var yn,Xt=w(()=>{"use strict";t();yn=()=>Date.now()/1e3});var Xs=w(()=>{"use strict";t()});var Ys=w(()=>{"use strict";t()});var Pa=w(()=>{"use strict";t();Xt();Xs();Ys()});var Ea={};ze(Ea,{clear:()=>jg,getItem:()=>qg,localStorageKeys:()=>ue,removeItem:()=>zg,setItem:()=>$g});var ue,Yt,$g,qg,zg,jg,Eo=w(()=>{"use strict";t();Pa();ue={loginExpiresAt:"sdk-dapp-login-expires-at",logoutEvent:"sdk-dapp-logout-event",guardianBreachToastDismissTimestamp:"sdk-dapp-guardian-breach-toast-dismiss-timestamp"},Yt=typeof localStorage!="undefined",$g=({key:e,data:o,expires:n})=>{!Yt||localStorage.setItem(String(e),JSON.stringify({expires:n,data:o}))},qg=e=>{if(!Yt)return;let o=localStorage.getItem(String(e));if(!o)return null;let n=JSON.parse(o);return!n||!n.hasOwnProperty("expires")||!n.hasOwnProperty("data")?null:yn()>=n.expires?(localStorage.removeItem(String(e)),null):n.data},zg=e=>{!Yt||localStorage.removeItem(String(e))},jg=()=>{!Yt||localStorage.clear()}});var Ca={};ze(Ca,{clear:()=>ec,getItem:()=>Zs,removeItem:()=>Qs,sessionStorageKeys:()=>Kg,setItem:()=>Js,storage:()=>Xg});var Kg,Js,Zs,Qs,ec,Xg,oc=w(()=>{"use strict";t();Kg={address:"address",shard:"shard",toasts:"toasts",toastProgress:"toastProgress"},Js=({key:e,data:o,expires:n})=>{sessionStorage.setItem(String(e),JSON.stringify({expires:n,data:o}))},Zs=e=>{let o=sessionStorage.getItem(String(e));if(!o)return null;let n=JSON.parse(o);return!n||!n.hasOwnProperty("expires")||!n.hasOwnProperty("data")?null:Date.now()>=n.expires?(sessionStorage.removeItem(String(e)),null):n.data},Qs=e=>sessionStorage.removeItem(String(e)),ec=()=>sessionStorage.clear(),Xg={setItem:Js,getItem:Zs,removeItem:Qs,clear:ec}});var ve,Xo=w(()=>{"use strict";t();Eo();oc();ve={session:Ca,local:Ea}});var Na,j,te,K=w(()=>{"use strict";t();Na=require("@reduxjs/toolkit");C();j=(0,Na.createAction)(jt),te=(0,Na.createAction)(Ks,e=>({payload:e}))});var Da,nc,tc,pe,Ra,rc,ce,be,Jt,t0,Ma,Yg,r0,Sn,ac,ic,sc,Zt,Qt=w(()=>{"use strict";t();Da=require("@multiversx/sdk-core"),nc=require("@reduxjs/toolkit"),tc=require("redux-persist");C();Xo();Eo();K();pe={balance:"...",address:"",isGuarded:!1,nonce:0,txCount:0,scrCount:0,claimableRewards:xn},Ra={address:"",websocketEvent:null,websocketBatchEvent:null,accounts:{"":pe},ledgerAccount:null,publicKey:"",walletConnectAccount:null,isAccountLoading:!0,accountLoadingError:null},rc=(0,nc.createSlice)({name:"accountInfoSlice",initialState:Ra,reducers:{setAddress:(e,o)=>{let n=o.payload;e.address=n,e.publicKey=n?new Da.Address(n).hex():""},setAccount:(e,o)=>{let n=e.address===o.payload.address;e.accounts={[e.address]:n?o.payload:pe},e.shard=o.payload.shard,e.isAccountLoading=!1,e.accountLoadingError=null},setAccountNonce:(e,o)=>{let{address:n}=e;e.accounts[n].nonce=o.payload},setAccountShard:(e,o)=>{e.shard=o.payload},setLedgerAccount:(e,o)=>{e.ledgerAccount=o.payload},updateLedgerAccount:(e,o)=>{e.ledgerAccount!=null&&(e.ledgerAccount.index=o.payload.index,e.ledgerAccount.address=o.payload.address)},setWalletConnectAccount:(e,o)=>{e.walletConnectAccount=o.payload},setIsAccountLoading:(e,o)=>{e.isAccountLoading=o.payload,e.accountLoadingError=null},setAccountLoadingError:(e,o)=>{e.accountLoadingError=o.payload,e.isAccountLoading=!1},setWebsocketEvent:(e,o)=>{e.websocketEvent={timestamp:Date.now(),message:o.payload}},setWebsocketBatchEvent:(e,o)=>{e.websocketBatchEvent={timestamp:Date.now(),data:o.payload}}},extraReducers:e=>{e.addCase(j,()=>(ve.local.removeItem(ue.loginExpiresAt),Ra)),e.addCase(te,(o,n)=>{let{address:r}=n.payload;o.address=r,o.publicKey=new Da.Address(r).toHex()}),e.addCase(tc.REHYDRATE,(o,n)=>{var _;if(!((_=n.payload)!=null&&_.account))return;let{account:r}=n.payload,{address:c,shard:p,accounts:m,publicKey:d}=r;o.address=c,o.shard=p;let l=m&&c in m;o.accounts=l?m:Ra.accounts,o.publicKey=d})}}),{setAccount:ce,setAddress:be,setAccountNonce:Jt,setAccountShard:t0,setLedgerAccount:Ma,updateLedgerAccount:Yg,setWalletConnectAccount:r0,setIsAccountLoading:Sn,setAccountLoadingError:ac,setWebsocketEvent:ic,setWebsocketBatchEvent:sc}=rc.actions,Zt=rc.reducer});function tt(){return new Date().setHours(new Date().getHours()+24)}function rt(e){ve.local.setItem({key:ue.loginExpiresAt,data:e,expires:e})}var Oa=w(()=>{"use strict";t();Xo();Eo()});var pc,cc,mc,u0,dc,Jg,_o,g0,er,lc,_c,Ba,uc,or,at=w(()=>{"use strict";t();pc=require("@reduxjs/toolkit");Oa();H();K();cc={loginMethod:"",walletConnectLogin:null,ledgerLogin:null,tokenLogin:null,walletLogin:null,extensionLogin:null,passkeyLogin:null,operaLogin:null,crossWindowLogin:null,iframeWindowLogin:null,isLoginSessionInvalid:!1,webviewLogin:null},mc=(0,pc.createSlice)({name:"loginInfoSlice",initialState:cc,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(j,()=>cc),e.addCase(te,(o,n)=>{o.isLoginSessionInvalid=!1,o.loginMethod=n.payload.loginMethod,o.iframeLoginType=n.payload.iframeLoginType,rt(tt())})}}),{setLoginMethod:u0,setWalletConnectLogin:dc,setLedgerLogin:Jg,setTokenLogin:_o,setTokenLoginSignature:g0,setWalletLogin:er,invalidateLoginSession:lc,setLogoutRoute:_c,setIsWalletConnectV2Initialized:Ba,setWebviewLogin:uc}=mc.actions,or=mc.reducer});var fc,gc,Tc,hc,Zg,x0,Qg,nr,tr=w(()=>{"use strict";t();fc=require("@reduxjs/toolkit");K();gc={},Tc=(0,fc.createSlice)({name:"modalsSlice",initialState:gc,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(j,()=>gc)}}),{setTxSubmittedModal:hc,setNotificationModal:Zg,clearTxSubmittedModal:x0,clearNotificationModal:Qg}=Tc.actions,nr=Tc.reducer});var uo,bn=w(()=>{"use strict";t();uo=()=>typeof window!="undefined"&&typeof(window==null?void 0:window.location)!="undefined"});var V,me=w(()=>{"use strict";t();bn();V=()=>{if(!uo())return{pathname:"",hash:"",origin:"",href:"",search:""};let{location:{pathname:o,hash:n,origin:r,href:c,search:p}}=window;return{pathname:o,hash:n,origin:r,href:c,search:p}}});var wn,xc=w(()=>{"use strict";t();me();wn=(e="")=>{let o=V(),n=e.startsWith("http")||e.startsWith("www.");return!o.origin||e.startsWith(o.origin)||n?e:`${o.origin}/${e.replace("/","")}`}});var yc=w(()=>{"use strict";t();ge()});var Sc,bc=w(()=>{"use strict";t();Ko();Sc=e=>{if(!Te.safeWindow.location)return;if(!new URL(Te.safeWindow.location.href).protocol.startsWith("http"))return Te.safeWindow.location.reload();Te.safeWindow.location.assign(e)}});var ge=w(()=>{"use strict";t();xc();yc();me();bc()});var wc,vc,Yo,vn=w(()=>{"use strict";t();ge();wc=!1,vc=(e=!0)=>{wc=e},Yo=({timeout:e=0,url:o})=>{wc||setTimeout(()=>{if(!!window)return Sc(o)},e)}});function Co({callbackRoute:e,onLoginRedirect:o,options:n}){let r=Boolean(e),c=typeof o=="function";if(r&&e!=null){if(c)return o(e,n);Yo({url:e,timeout:ef})}}var ef,Ac=w(()=>{"use strict";t();vn();ef=200});function Ic(e){return e[Math.floor(Math.random()*e.length)]}var kc=w(()=>{"use strict";t()});var Fa=w(()=>{"use strict";t();va()});var go=w(()=>{"use strict";t();Ac();kc();Fa()});var Lc,Pc,Ec,it,nf,Cc,Wa,Ua,Nc,rr,st=w(()=>{"use strict";t();Lc=require("@reduxjs/toolkit"),Pc=b(require("lodash.omit")),Ec=require("redux-persist");jo();K();go();it={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},nf={network:it},Cc=(0,Lc.createSlice)({name:"appConfig",initialState:nf,reducers:{initializeNetworkConfig:(e,o)=>{let n=Ic(o.payload.walletConnectV2RelayAddresses),r=(0,Pc.default)(o.payload,"walletConnectV2RelayAddresses");e.network=v(f(f({},e.network),r),{walletConnectV2RelayAddress:n})},updateNetworkConfig:(e,o)=>{e.network=f(f({},e.network),o.payload)},setCustomWalletAddress:(e,o)=>{e.network.customWalletAddress=o.payload}},extraReducers:e=>{e.addCase(j,o=>{o.network.customWalletAddress=void 0}),e.addCase(Ec.REHYDRATE,(o,n)=>{var c,p;if(!((p=(c=n.payload)==null?void 0:c.network)!=null&&p.customWalletAddress))return;let{network:{customWalletAddress:r}}=n.payload;o.network.customWalletAddress=r})}}),{initializeNetworkConfig:Wa,updateNetworkConfig:Ua,setCustomWalletAddress:Nc}=Cc.actions,rr=Cc.reducer});var Rc,Ga,Dc,nv,tv,rv,ar,ir=w(()=>{"use strict";t();Rc=require("@reduxjs/toolkit");U();K();Ga={isSigning:!1,signedSessions:{}},Dc=(0,Rc.createSlice)({name:"signedMessageInfoSliceState",initialState:Ga,reducers:{setSignSession:(e,o)=>{let{sessionId:n,signedSession:r,errorMessage:c}=o.payload;c&&(e.errorMessage=c),e.isSigning=r.status==="pending",e.signedSessions[n]=f(f({},e.signedSessions[n]),r)},setSignSessionState:(e,o)=>f(f({},e),o.payload),clearSignedMessageInfo:()=>Ga},extraReducers:e=>{e.addCase(j,()=>Ga)}}),{setSignSession:nv,clearSignedMessageInfo:tv,setSignSessionState:rv}=Dc.actions,ar=Dc.reducer});var Oc,Bc,Mc,Fc,Ha,tf,dv,rf,sr,cr=w(()=>{"use strict";t();Oc=require("@reduxjs/toolkit"),Bc=require("redux-persist");U();Xt();K();Mc={customToasts:[],transactionToasts:[]},Fc=(0,Oc.createSlice)({name:"toastsSlice",initialState:Mc,reducers:{addCustomToast:(e,o)=>{let n=o.payload.toastId||`custom-toast-${e.customToasts.length+1}`,r=e.customToasts.findIndex(c=>c.toastId===n);if(r!==-1){e.customToasts[r]=v(f(f({},e.customToasts[r]),o.payload),{type:"custom",toastId:n});return}e.customToasts.push(v(f({},o.payload),{type:"custom",toastId:n}))},removeCustomToast:(e,o)=>{e.customToasts=e.customToasts.filter(n=>n.toastId!==o.payload)},addTransactionToast:(e,o)=>{e.transactionToasts.push({type:"transaction",startTimestamp:yn(),toastId:o.payload||`custom-toast-${e.transactionToasts.length+1}`})},removeTransactionToast:(e,o)=>{e.transactionToasts=e.transactionToasts.filter(n=>n.toastId!==o.payload)}},extraReducers:e=>{e.addCase(j,()=>Mc),e.addCase(Bc.REHYDRATE,(o,n)=>{var c,p;let r=(p=(c=n.customToasts)==null?void 0:c.filter(m=>!("component"in m)))!=null?p:[];o.customToasts=r})}}),{addCustomToast:Ha,removeCustomToast:tf,addTransactionToast:dv,removeTransactionToast:rf}=Fc.actions,sr=Fc.reducer});var Wc,$a,qa,za,af,Va,Uc,gv,sf,ja,pr,mr=w(()=>{"use strict";t();Wc=require("@reduxjs/toolkit");K();$a="Transaction failed",qa="Transaction successful",za="Processing transaction",af="Transaction submitted",Va={},Uc=(0,Wc.createSlice)({name:"transactionsInfo",initialState:Va,reducers:{setTransactionsDisplayInfo(e,o){let{sessionId:n,transactionsDisplayInfo:r}=o.payload;n!=null&&(e[n]={errorMessage:(r==null?void 0:r.errorMessage)||$a,successMessage:(r==null?void 0:r.successMessage)||qa,processingMessage:(r==null?void 0:r.processingMessage)||za,submittedMessage:(r==null?void 0:r.submittedMessage)||af,transactionDuration:r==null?void 0:r.transactionDuration})},clearTransactionsInfoForSessionId(e,o){o.payload!=null&&delete e[o.payload]},clearTransactionsInfo:()=>Va},extraReducers:e=>{e.addCase(j,()=>Va)}}),{clearTransactionsInfo:gv,setTransactionsDisplayInfo:sf,clearTransactionsInfoForSessionId:ja}=Uc.actions,pr=Uc.reducer});function fo(e){return e!=null&&(Tf(e)||bf(e))}function Jo(e){return e!=null&&(hf(e)||wf(e))}function Zo(e){return e!=null&&(xf(e)||vf(e))}function Gc(e){return e!=null&&(yf(e)||Af(e))}function Ka(e){return e!=null&&Sf(e)}function Tf(e){return e!=null&&cf.includes(e)}function hf(e){return e!=null&&pf.includes(e)}function xf(e){return e!=null&&mf.includes(e)}function yf(e){return e!=null&&df.includes(e)}function Sf(e){return e!=null&&lf.includes(e)}function bf(e){return e!=null&&_f.includes(e)}function wf(e){return e!=null&&uf.includes(e)}function vf(e){return e!=null&&gf.includes(e)}function Af(e){return e!=null&&ff.includes(e)}var cf,pf,mf,df,lf,_f,uf,gf,ff,An=w(()=>{"use strict";t();H();cf=["sent"],pf=["success"],mf=["fail","cancelled","timedOut"],df=["invalid"],lf=["timedOut"],_f=["pending"],uf=["success"],gf=["fail","invalid"],ff=["not executed"]});var Hc,Vc,ct,If,$c,eo,oo,kf,Qo,Lf,Pf,vv,Ef,pt,Xa,Av,dr,lr=w(()=>{"use strict";t();Hc=require("@reduxjs/toolkit"),Vc=require("redux-persist");H();An();K();ct={signedTransactions:{},transactionsToSign:null,signTransactionsError:null,signTransactionsCancelMessage:null,customTransactionInformationForSessionId:{}},If={signWithoutSending:!1,sessionInformation:null,redirectAfterSign:!1},$c=(0,Hc.createSlice)({name:"transactionsSlice",initialState:ct,reducers:{moveTransactionsToSignedState:(e,o)=>{var l,_;let{sessionId:n,transactions:r,errorMessage:c,status:p,redirectRoute:m,customTransactionInformation:d}=o.payload;e.customTransactionInformationForSessionId[n]=f(f(f({},If),((l=e.signedTransactions[n])==null?void 0:l.customTransactionInformation)||{}),e.customTransactionInformationForSessionId[n]||{}),e.signedTransactions[n]={transactions:r,status:p,errorMessage:c,redirectRoute:m,customTransactionInformation:f(f({},e.customTransactionInformationForSessionId[n]),d!=null?d:{})},((_=e==null?void 0:e.transactionsToSign)==null?void 0:_.sessionId)===n&&(e.transactionsToSign=ct.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=f(f({},e.signedTransactions),o.payload)},updateSignedTransactions:(e,o)=>{let{sessionId:n,status:r,errorMessage:c,transactions:p}=o.payload;e.signedTransactions[n]!=null&&(e.signedTransactions[n].status=r,c!=null&&(e.signedTransactions[n].errorMessage=c),p!=null&&(e.signedTransactions[n].transactions=p))},updateSignedTransactionStatus:(e,o)=>{var _,T,g,x,L,k,P,F;let{sessionId:n,status:r,errorMessage:c,transactionHash:p,serverTransaction:m,inTransit:d}=o.payload,l=(T=(_=e.signedTransactions)==null?void 0:_[n])==null?void 0:T.transactions;if(l!=null){e.signedTransactions[n].transactions=l.map(O=>O.hash===p?v(f(f({},m!=null?m:{}),O),{status:r,errorMessage:c,inTransit:d}):O);let M=(x=(g=e.signedTransactions[n])==null?void 0:g.transactions)==null?void 0:x.every(O=>Jo(O.status)),W=(k=(L=e.signedTransactions[n])==null?void 0:L.transactions)==null?void 0:k.some(O=>Zo(O.status)),$=(F=(P=e.signedTransactions[n])==null?void 0:P.transactions)==null?void 0:F.every(O=>Gc(O.status));M&&(e.signedTransactions[n].status="success"),W&&(e.signedTransactions[n].status="fail"),$&&(e.signedTransactions[n].status="invalid")}},setTransactionsToSign:(e,o)=>{e.transactionsToSign=o.payload;let{sessionId:n,customTransactionInformation:r}=o.payload;e.customTransactionInformationForSessionId[n]=r,e.signTransactionsError=null},clearAllTransactionsToSign:e=>{e.transactionsToSign=ct.transactionsToSign,e.signTransactionsError=null},clearAllSignedTransactions:e=>{e.signedTransactions=ct.signedTransactions},setSignTransactionsError:(e,o)=>{e.signTransactionsError=o.payload},setSignTransactionsCancelMessage:(e,o)=>{e.signTransactionsCancelMessage=o.payload},updateSignedTransactionsCustomTransactionInformation:(e,o)=>{let{sessionId:n,customTransactionInformationOverrides:r}=o.payload;e.signedTransactions[n]!=null&&(e.signedTransactions[n].customTransactionInformation=f(f({},e.signedTransactions[n].customTransactionInformation),r))}},extraReducers:e=>{e.addCase(j,()=>ct),e.addCase(Vc.REHYDRATE,(o,n)=>{var m;if(o.signTransactionsCancelMessage=null,!((m=n.payload)!=null&&m.transactions))return;let{signedTransactions:r,customTransactionInformationForSessionId:c}=n.payload.transactions,p=Object.entries(r).reduce((d,[l,_])=>{let T=new Date(l),g=new Date;return g.setHours(g.getHours()+5),g-T>0||(d[l]=_),d},{});c!=null&&(o.customTransactionInformationForSessionId=c),r!=null&&(o.signedTransactions=p)})}}),{updateSignedTransactionStatus:eo,updateSignedTransactions:oo,setTransactionsToSign:kf,clearAllTransactionsToSign:Qo,clearAllSignedTransactions:Lf,clearSignedTransaction:Pf,clearTransactionToSign:vv,setSignTransactionsError:Ef,setSignTransactionsCancelMessage:pt,moveTransactionsToSignedState:Xa,updateSignedTransactionsCustomTransactionInformation:Av}=$c.actions,dr=$c.reducer});var qc,Ya,zc,jc,Kc,Xc,Pv,_r,ur=w(()=>{"use strict";t();qc=require("@reduxjs/toolkit");K();Ya={},zc=(0,qc.createSlice)({name:"batchTransactionsSlice",initialState:Ya,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:()=>Ya},extraReducers:e=>{e.addCase(j,()=>Ya)}}),{setBatchTransactions:jc,updateBatchTransactions:Kc,clearBatchTransactions:Xc,clearAllBatchTransactions:Pv}=zc.actions,_r=zc.reducer});var Jc,Yc,Zc,Qc,ep,Ja=w(()=>{"use strict";t();Jc=require("@reduxjs/toolkit");K();Yc={},Zc=(0,Jc.createSlice)({name:"dappConfigSlice",initialState:Yc,reducers:{setDappConfig:(e,o)=>o.payload},extraReducers:e=>{e.addCase(j,()=>Yc)}}),{setDappConfig:Qc}=Zc.actions,ep=Zc.reducer});var E=w(()=>{"use strict";t();Qt();at();tr();st();ir();cr();mr();lr();ur();Ja()});var Qa=w(()=>{"use strict";t()});var Ip,Uf,Gf,tn,br=w(()=>{"use strict";t();Ip=require("@reduxjs/toolkit");Qa();Qt();ur();Ja();at();tr();st();ir();cr();mr();lr();Uf={["account"]:Zt,["dappConfig"]:ep,["loginInfo"]:or,["modals"]:nr,["networkConfig"]:rr,["signedMessageInfo"]:ar,["toasts"]:sr,["transactionsInfo"]:pr,["transactions"]:dr,["batchTransactions"]:_r},Gf=(e={})=>(0,Ip.combineReducers)(f(f({},Uf),e)),tn=Gf});var Ep={};ze(Ep,{default:()=>tT,sessionStorageReducers:()=>ei});function ho(e,o=[]){return{key:e,version:1,storage:Lp.default,blacklist:o}}var we,kp,Lp,Hf,_t,Vf,$f,qf,zf,jf,Kf,Xf,Yf,Jf,Zf,Pp,Qf,ei,eT,oT,nT,tT,Cp=w(()=>{"use strict";t();we=require("redux-persist"),kp=b(require("redux-persist/lib/storage")),Lp=b(require("redux-persist/lib/storage/session"));br();E();Qt();ur();at();tr();st();ir();cr();mr();lr();Qa();Hf={persistReducersStorageType:"localStorage"},_t={["account"]:"sdk-dapp-account",["loginInfo"]:"sdk-dapp-login-info",["modals"]:"sdk-dapp-modals",["networkConfig"]:"sdk-dapp-network-config"},Vf=ho(_t["account"]),$f=ho(_t["loginInfo"]),qf=ho(_t["modals"]),zf=ho(_t["networkConfig"]),jf={2:e=>v(f({},e),{networkConfig:it})};Kf=ho("sdk-dapp-transactionsInfo"),Xf=ho("sdk-dapp-transactions",["transactionsToSign"]),Yf=ho("sdk-dapp-batchTransactions",["batchTransactions"]),Jf=ho("sdk-dapp-toasts"),Zf=ho("sdk-dapp-signedMessageInfo"),Pp={key:"sdk-dapp-store",version:2,storage:kp.default,whitelist:Object.keys(_t),migrate:(0,we.createMigrate)(jf,{debug:!1})},Qf=v(f({},Pp),{whitelist:[]}),ei={["toasts"]:(0,we.persistReducer)(Jf,sr),["transactions"]:(0,we.persistReducer)(Xf,dr),["transactionsInfo"]:(0,we.persistReducer)(Kf,pr),["batchTransactions"]:(0,we.persistReducer)(Yf,_r),["signedMessageInfo"]:(0,we.persistReducer)(Zf,ar)},eT=v(f({},ei),{["account"]:(0,we.persistReducer)(Vf,Zt),["loginInfo"]:(0,we.persistReducer)($f,or),["modals"]:(0,we.persistReducer)(qf,nr),["networkConfig"]:(0,we.persistReducer)(zf,rr)}),oT=Hf.persistReducersStorageType==="localStorage",nT=oT?(0,we.persistReducer)(Pp,tn(ei)):(0,we.persistReducer)(Qf,tn(eT)),tT=nT});var Np={};ze(Np,{default:()=>rT});var rT,Rp=w(()=>{"use strict";t();br();rT=tn()});var Dp={};ze(Dp,{default:()=>iT});var Ce,aT,iT,Mp=w(()=>{"use strict";t();Ce=require("redux-persist"),aT=[Ce.FLUSH,Ce.REHYDRATE,Ce.PAUSE,Ce.PERSIST,Ce.PURGE,Ce.REGISTER],iT=aT});var Fp={};ze(Fp,{default:()=>Bp});function Bp(e){return(0,Op.persistStore)(e)}var Op,Wp=w(()=>{"use strict";t();Op=require("redux-persist")});var Om=I((kM,Mm)=>{t();var xh=typeof i=="object"&&i&&i.Object===Object&&i;Mm.exports=xh});var bt=I((LM,Bm)=>{t();var yh=Om(),Sh=typeof self=="object"&&self&&self.Object===Object&&self,bh=yh||Sh||Function("return this")();Bm.exports=bh});var vi=I((PM,Fm)=>{t();var wh=bt(),vh=wh.Symbol;Fm.exports=vh});var Hm=I((EM,Gm)=>{t();var Wm=vi(),Um=Object.prototype,Ah=Um.hasOwnProperty,Ih=Um.toString,wt=Wm?Wm.toStringTag:void 0;function kh(e){var o=Ah.call(e,wt),n=e[wt];try{e[wt]=void 0;var r=!0}catch(p){}var c=Ih.call(e);return r&&(o?e[wt]=n:delete e[wt]),c}Gm.exports=kh});var $m=I((CM,Vm)=>{t();var Lh=Object.prototype,Ph=Lh.toString;function Eh(e){return Ph.call(e)}Vm.exports=Eh});var Ai=I((NM,jm)=>{t();var qm=vi(),Ch=Hm(),Nh=$m(),Rh="[object Null]",Dh="[object Undefined]",zm=qm?qm.toStringTag:void 0;function Mh(e){return e==null?e===void 0?Dh:Rh:zm&&zm in Object(e)?Ch(e):Nh(e)}jm.exports=Mh});var Xm=I((RM,Km)=>{t();var Oh=Array.isArray;Km.exports=Oh});var Jm=I((DM,Ym)=>{t();function Bh(e){return e!=null&&typeof e=="object"}Ym.exports=Bh});var Qm=I((MM,Zm)=>{t();var Fh=Ai(),Wh=Xm(),Uh=Jm(),Gh="[object String]";function Hh(e){return typeof e=="string"||!Wh(e)&&Uh(e)&&Fh(e)==Gh}Zm.exports=Hh});var Ur=I((mO,rd)=>{t();function qh(e){var o=typeof e;return e!=null&&(o=="object"||o=="function")}rd.exports=qh});var Ci={};ze(Ci,{css:()=>Cd,default:()=>Jh});var Cd,Jh,Ni=w(()=>{"use strict";t();Cd=`.dapp-core-component__main__link-style {
2
2
  color: #1392ff;
3
3
  }
4
4