@multiversx/sdk-dapp 2.14.4 → 2.14.6

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 (931) hide show
  1. package/UI/DappModal/hooks/index.js +1 -1
  2. package/UI/DappModal/hooks/useDappModal.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/SignTransactionsModals/SignTransactionsModals.js +1 -1
  14. package/UI/SignTransactionsModals/SignWithDeviceModal/SignStep.js +1 -1
  15. package/UI/SignTransactionsModals/SignWithDeviceModal/SignWithDeviceModal.js +1 -1
  16. package/UI/SignTransactionsModals/SignWithDeviceModal/components/SignStepBody.js +1 -1
  17. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/ConfirmAmount.js +1 -1
  18. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/index.js +1 -1
  19. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmFee/ConfirmFee.js +1 -1
  20. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmFee/index.js +1 -1
  21. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/NftSftPreviewComponent/NftSftPreviewComponent.js +1 -1
  22. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/NftSftPreviewComponent/index.js +1 -1
  23. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/TokenAvatar/TokenAvatar.js +1 -1
  24. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/TokenAvatar/index.js +1 -1
  25. package/UI/SignTransactionsModals/SignWithDeviceModal/components/index.js +1 -1
  26. package/UI/SignTransactionsModals/SignWithDeviceModal/index.js +1 -1
  27. package/UI/SignTransactionsModals/SignWithExtensionModal/SignWithExtensionModal.js +1 -1
  28. package/UI/SignTransactionsModals/SignWithExtensionModal/index.js +1 -1
  29. package/UI/SignTransactionsModals/SignWithExtraModal/SignWithExtraModal.js +1 -1
  30. package/UI/SignTransactionsModals/SignWithExtraModal/index.js +1 -1
  31. package/UI/SignTransactionsModals/SignWithLedgerModal/LedgerGuardianSigningModalError.js +1 -1
  32. package/UI/SignTransactionsModals/SignWithLedgerModal/SignWithLedgerModal.js +1 -1
  33. package/UI/SignTransactionsModals/SignWithLedgerModal/index.js +1 -1
  34. package/UI/SignTransactionsModals/SignWithOperaModal/SignWithOperaModal.js +1 -1
  35. package/UI/SignTransactionsModals/SignWithOperaModal/index.js +1 -1
  36. package/UI/SignTransactionsModals/SignWithWalletConnectModal/index.js +1 -1
  37. package/UI/SignTransactionsModals/components/ConfirmationScreen.js +1 -1
  38. package/UI/SignTransactionsModals/components/DeviceConfirmationScreen.js +1 -1
  39. package/UI/SignTransactionsModals/components/SignWaitingScreenModal/SignWaitingScreenModal.js +1 -1
  40. package/UI/SignTransactionsModals/components/SignWaitingScreenModal/index.js +1 -1
  41. package/UI/SignTransactionsModals/components/TransactionStatusToast.js +1 -1
  42. package/UI/SignTransactionsModals/components/index.js +1 -1
  43. package/UI/SignTransactionsModals/index.js +1 -1
  44. package/UI/TokenDetails/index.js +1 -1
  45. package/UI/TransactionData/TransactionData.js +1 -1
  46. package/UI/TransactionData/index.js +1 -1
  47. package/UI/TransactionDetails/TransactionDetails.js +1 -1
  48. package/UI/TransactionDetails/components/TransactionDetailsBody.js +1 -1
  49. package/UI/TransactionDetails/components/index.js +1 -1
  50. package/UI/TransactionDetails/index.js +1 -1
  51. package/UI/TransactionInfo/TransactionInfo.js +1 -1
  52. package/UI/TransactionInfo/components/AddressDetailItem/AddressDetailitem.js +1 -1
  53. package/UI/TransactionInfo/components/AddressDetailItem/index.js +1 -1
  54. package/UI/TransactionInfo/components/DataDecode/DataDecode.js +1 -1
  55. package/UI/TransactionInfo/components/DataDecode/index.js +1 -1
  56. package/UI/TransactionInfo/components/DataField/DataField.js +1 -1
  57. package/UI/TransactionInfo/components/DataField/index.js +1 -1
  58. package/UI/TransactionInfo/components/EventsList/EventsList.js +1 -1
  59. package/UI/TransactionInfo/components/EventsList/index.js +1 -1
  60. package/UI/TransactionInfo/components/NonceMessage/NonceMessage.js +1 -1
  61. package/UI/TransactionInfo/components/NonceMessage/index.js +1 -1
  62. package/UI/TransactionInfo/components/OperationsList/OperationList.js +1 -1
  63. package/UI/TransactionInfo/components/OperationsList/components/DetailedItem.js +1 -1
  64. package/UI/TransactionInfo/components/OperationsList/components/OperationBlock.js +1 -1
  65. package/UI/TransactionInfo/components/OperationsList/components/OperationRow.js +1 -1
  66. package/UI/TransactionInfo/components/OperationsList/components/OperationText.js +1 -1
  67. package/UI/TransactionInfo/components/OperationsList/components/OperationToken.js +1 -1
  68. package/UI/TransactionInfo/components/OperationsList/components/index.js +1 -1
  69. package/UI/TransactionInfo/components/OperationsList/index.js +1 -1
  70. package/UI/TransactionInfo/components/ScResultsList/ScResultsList.js +1 -1
  71. package/UI/TransactionInfo/components/ScResultsList/components/ResultData/ResultData.js +1 -1
  72. package/UI/TransactionInfo/components/ScResultsList/components/ResultData/index.js +1 -1
  73. package/UI/TransactionInfo/components/ScResultsList/components/ResultHash/ResultHash.js +1 -1
  74. package/UI/TransactionInfo/components/ScResultsList/components/ResultHash/index.js +1 -1
  75. package/UI/TransactionInfo/components/ScResultsList/components/ResultReceiver/ResultReceiver.js +1 -1
  76. package/UI/TransactionInfo/components/ScResultsList/components/ResultReceiver/index.js +1 -1
  77. package/UI/TransactionInfo/components/ScResultsList/components/ResultSender/ResultSender.js +1 -1
  78. package/UI/TransactionInfo/components/ScResultsList/components/ResultSender/index.js +1 -1
  79. package/UI/TransactionInfo/components/ScResultsList/index.js +1 -1
  80. package/UI/TransactionInfo/components/ScrDetailItem/ScrDetailItem.js +1 -1
  81. package/UI/TransactionInfo/components/ScrDetailItem/index.js +1 -1
  82. package/UI/TransactionInfo/components/TransactionAction/TransactionAction.js +1 -1
  83. package/UI/TransactionInfo/components/TransactionAction/components/ActionText/index.js +1 -1
  84. package/UI/TransactionInfo/components/TransactionAction/components/ActionToken.js +1 -1
  85. package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/TransactionActionCollection.js +1 -1
  86. package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/TransactionActionNft.js +1 -1
  87. package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/TransactionActionToken.js +1 -1
  88. package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/index.js +1 -1
  89. package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/index.js +1 -1
  90. package/UI/TransactionInfo/components/TransactionAction/components/index.js +1 -1
  91. package/UI/TransactionInfo/components/TransactionAction/index.js +1 -1
  92. package/UI/TransactionInfo/components/TransactionLogs/TransactionLogs.js +1 -1
  93. package/UI/TransactionInfo/components/TransactionLogs/index.js +1 -1
  94. package/UI/TransactionInfo/components/TransactionStatus/TransactionStatus.js +1 -1
  95. package/UI/TransactionInfo/components/TransactionStatus/index.js +1 -1
  96. package/UI/TransactionInfo/components/index.js +1 -1
  97. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoAge/TransactionInfoAge.js +1 -1
  98. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoAge/index.js +1 -1
  99. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoEgldPrice/TransactionInfoEgldPrice.js +1 -1
  100. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoEgldPrice/index.js +1 -1
  101. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFee/TransactionInfoFee.js +1 -1
  102. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFee/index.js +1 -1
  103. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFrom/TransactionInfoFrom.js +1 -1
  104. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFrom/index.js +1 -1
  105. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasLimit/TransactionInfoGasLimit.js +1 -1
  106. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasLimit/index.js +1 -1
  107. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasPrice/TransactionInfoGasPrice.js +1 -1
  108. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasPrice/index.js +1 -1
  109. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasUsed/TransactionInfoGasUsed.js +1 -1
  110. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasUsed/index.js +1 -1
  111. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoInputData/TransactionInfoInputData.js +1 -1
  112. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoInputData/index.js +1 -1
  113. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMethod/TransactionInfoMethod.js +1 -1
  114. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMethod/index.js +1 -1
  115. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMiniblock/TransactionInfoMiniblock.js +1 -1
  116. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMiniblock/index.js +1 -1
  117. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoNonce/TransactionInfoNonce.js +1 -1
  118. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoNonce/index.js +1 -1
  119. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoScResults/TransactionInfoScResults.js +1 -1
  120. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoScResults/index.js +1 -1
  121. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoStatus/TransactionInfoStatus.js +1 -1
  122. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoStatus/index.js +1 -1
  123. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTo/TransactionInfoTo.js +1 -1
  124. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTo/index.js +1 -1
  125. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTokenOperations/TransactionInfoTokenOperations.js +1 -1
  126. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTokenOperations/index.js +1 -1
  127. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoValue/TransactionInfoValue.js +1 -1
  128. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoValue/index.js +1 -1
  129. package/UI/TransactionInfo/components/transactionInfoFields/index.js +1 -1
  130. package/UI/TransactionInfo/index.js +1 -1
  131. package/UI/TransactionsTable/TransactionsTable.js +1 -1
  132. package/UI/TransactionsTable/components/AccountName.js +1 -1
  133. package/UI/TransactionsTable/components/LockedTokenAddressIcon.js +1 -1
  134. package/UI/TransactionsTable/components/ScAddressIcon.js +1 -1
  135. package/UI/TransactionsTable/components/ShardSpan.js +1 -1
  136. package/UI/TransactionsTable/components/TransactionHash.js +1 -1
  137. package/UI/TransactionsTable/components/TransactionIcon.js +1 -1
  138. package/UI/TransactionsTable/components/TransactionReceiver.js +1 -1
  139. package/UI/TransactionsTable/components/TransactionRow.js +1 -1
  140. package/UI/TransactionsTable/components/TransactionSender.js +1 -1
  141. package/UI/TransactionsTable/components/TransactionShardsTransition.js +1 -1
  142. package/UI/TransactionsTable/components/TransactionValue/TransactionValue.js +1 -1
  143. package/UI/TransactionsTable/components/TransactionValue/index.js +1 -1
  144. package/UI/TransactionsTable/components/index.js +1 -1
  145. package/UI/TransactionsTable/index.js +1 -1
  146. package/UI/TransactionsToastList/TransactionsToastList.js +1 -1
  147. package/UI/TransactionsToastList/components/CustomToast/CustomToast.js +1 -1
  148. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/IconToast.js +1 -1
  149. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/IconToastFooter.js +1 -1
  150. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/ComponentToastFooter.js +1 -1
  151. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/TransactionToastFooter.js +1 -1
  152. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/index.js +1 -1
  153. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/index.js +1 -1
  154. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/index.js +1 -1
  155. package/UI/TransactionsToastList/components/CustomToast/components/SimpleToast.js +1 -1
  156. package/UI/TransactionsToastList/components/CustomToast/components/index.js +1 -1
  157. package/UI/TransactionsToastList/components/CustomToast/helpers/getIsTransaction.js +1 -1
  158. package/UI/TransactionsToastList/components/CustomToast/helpers/index.js +1 -1
  159. package/UI/TransactionsToastList/components/CustomToast/helpers/useMemoizedCloseButton.js +1 -1
  160. package/UI/TransactionsToastList/components/CustomToast/index.js +1 -1
  161. package/UI/TransactionsToastList/components/TransactionToast/TransactionToast.js +1 -1
  162. package/UI/TransactionsToastList/components/TransactionToast/components/TransactionToastContent.js +1 -1
  163. package/UI/TransactionsToastList/components/TransactionToast/components/index.js +1 -1
  164. package/UI/TransactionsToastList/components/TransactionToast/hooks/useTransactionToast.js +1 -1
  165. package/UI/TransactionsToastList/components/TransactionToast/index.js +1 -1
  166. package/UI/TransactionsToastList/components/TransactionToast/utils/getToastDataStateByStatus.js +1 -1
  167. package/UI/TransactionsToastList/components/TransactionToast/utils/index.js +1 -1
  168. package/UI/TransactionsToastList/components/TransactionToastGuard.js +1 -1
  169. package/UI/TransactionsToastList/components/index.js +1 -1
  170. package/UI/TransactionsToastList/index.js +1 -1
  171. package/UI/Trim/Trim.js +1 -1
  172. package/UI/Trim/index.js +1 -1
  173. package/UI/UsdValue/UsdValue.js +1 -1
  174. package/UI/UsdValue/index.js +1 -1
  175. package/UI/extension/ExtensionLoginButton/ExtensionLoginButton.js +1 -1
  176. package/UI/extension/ExtensionLoginButton/index.js +1 -1
  177. package/UI/index.js +1 -1
  178. package/UI/ledger/LedgerLoginButton/LedgerLoginButton.js +1 -1
  179. package/UI/ledger/LedgerLoginButton/index.js +1 -1
  180. package/UI/ledger/LedgerLoginContainer/AddressRow.js +1 -1
  181. package/UI/ledger/LedgerLoginContainer/AddressTable.js +1 -1
  182. package/UI/ledger/LedgerLoginContainer/ConfirmAddress.js +1 -1
  183. package/UI/ledger/LedgerLoginContainer/index.js +1 -1
  184. package/UI/ledger/index.js +1 -1
  185. package/UI/operaWallet/OperaWalletLoginButton/OperaWalletLoginButton.js +1 -1
  186. package/UI/operaWallet/OperaWalletLoginButton/index.js +1 -1
  187. package/UI/pages/UnlockPage/index.js +1 -1
  188. package/UI/pages/index.js +1 -1
  189. package/UI/walletConnect/WalletConnectConnectionStatus/WalletConnectConnectionStatus.js +1 -1
  190. package/UI/walletConnect/WalletConnectConnectionStatus/index.js +1 -1
  191. package/UI/walletConnect/WalletConnectLoginButton/WalletConnectLoginButton.js +1 -1
  192. package/UI/walletConnect/WalletConnectLoginButton/index.js +1 -1
  193. package/UI/walletConnect/WalletConnectLoginContainer/index.js +1 -1
  194. package/UI/walletConnect/index.js +1 -1
  195. package/UI/webWallet/WebWalletLoginButton/WebWalletLoginButton.js +1 -1
  196. package/UI/webWallet/WebWalletLoginButton/index.js +1 -1
  197. package/__chunks__/{chunk-Z5J4KYS4.js → chunk-227PIFHJ.js} +2 -2
  198. package/__chunks__/{chunk-Y45HECK3.js → chunk-26JJZN6W.js} +2 -2
  199. package/__chunks__/{chunk-PQH2E33V.js → chunk-2A55W5J6.js} +2 -2
  200. package/__chunks__/{chunk-FMHS53L2.js → chunk-2ANYBRLN.js} +2 -2
  201. package/__chunks__/{chunk-FALDLO5J.js → chunk-2FD27C7T.js} +2 -2
  202. package/__chunks__/{chunk-635DGGEZ.js → chunk-2FXGMQ3S.js} +2 -2
  203. package/__chunks__/{chunk-XPO7HQNJ.js → chunk-2HJBIJXJ.js} +2 -2
  204. package/__chunks__/{chunk-WYC35YN5.js → chunk-2KOT5A6U.js} +2 -2
  205. package/__chunks__/{chunk-4HLBG6FV.js → chunk-2UZ4MFQC.js} +2 -2
  206. package/__chunks__/{chunk-OKNX6OPM.js → chunk-2VK6P4O6.js} +2 -2
  207. package/__chunks__/chunk-2XUNKBEM.js +2 -0
  208. package/__chunks__/chunk-2ZG27GCE.js +2 -0
  209. package/__chunks__/{chunk-JDDXX4XK.js → chunk-3CBN7R3F.js} +2 -2
  210. package/__chunks__/chunk-3PHJ6U5C.js +2 -0
  211. package/__chunks__/{chunk-JSD4JECW.js → chunk-3S3MPIFQ.js} +2 -2
  212. package/__chunks__/{chunk-ZOO6MTHQ.js → chunk-3TZTKPJN.js} +2 -2
  213. package/__chunks__/{chunk-SXXNWPUP.js → chunk-44IAI5C5.js} +2 -2
  214. package/__chunks__/{chunk-RL3UM3UC.js → chunk-44JKED6W.js} +2 -2
  215. package/__chunks__/{chunk-DDBEV3M5.js → chunk-44SOBIJT.js} +2 -2
  216. package/__chunks__/{chunk-EW3SEUQV.js → chunk-4B3DD27S.js} +2 -2
  217. package/__chunks__/{chunk-NKHBIONP.js → chunk-4FEECUQR.js} +2 -2
  218. package/__chunks__/chunk-4HQ2JNNI.js +2 -0
  219. package/__chunks__/{chunk-NAUXCAHX.js → chunk-4OZD3S6I.js} +2 -2
  220. package/__chunks__/{chunk-4M4ZG6UK.js → chunk-4PBZBL4S.js} +2 -2
  221. package/__chunks__/chunk-4QQFMIZ5.js +2 -0
  222. package/__chunks__/{chunk-SD2GJCO7.js → chunk-4TFTP5RO.js} +2 -2
  223. package/__chunks__/chunk-4UOL7BFP.js +2 -0
  224. package/__chunks__/{chunk-CEWLSMXS.js → chunk-4WRW2TDW.js} +2 -2
  225. package/__chunks__/{chunk-Z54DAJHV.js → chunk-4ZEQOJG2.js} +2 -2
  226. package/__chunks__/{chunk-5JPDPSOU.js → chunk-525SCMTB.js} +2 -2
  227. package/__chunks__/{chunk-QEWHY26T.js → chunk-5AIM25YR.js} +2 -2
  228. package/__chunks__/{chunk-LNQARCOO.js → chunk-5DIICYEZ.js} +2 -2
  229. package/__chunks__/{chunk-PZODOGW5.js → chunk-5IZBRUG5.js} +2 -2
  230. package/__chunks__/{chunk-YKAKLVB7.js → chunk-5JVZM4CL.js} +2 -2
  231. package/__chunks__/{chunk-NUWNMCYM.js → chunk-5SF7X4NC.js} +2 -2
  232. package/__chunks__/{chunk-EVOUYW77.js → chunk-5YEUVHSB.js} +2 -2
  233. package/__chunks__/{chunk-KKG5HGC2.js → chunk-5YRF6I4O.js} +2 -2
  234. package/__chunks__/{chunk-G67YB5IT.js → chunk-665ZPR6B.js} +2 -2
  235. package/__chunks__/{chunk-OBKYH7E7.js → chunk-66P7X5DN.js} +2 -2
  236. package/__chunks__/{chunk-RS66KCFE.js → chunk-6AKAKOPX.js} +2 -2
  237. package/__chunks__/chunk-6AR2UXRZ.js +2 -0
  238. package/__chunks__/{chunk-6VU3LZIS.js → chunk-6CN7FOSZ.js} +2 -2
  239. package/__chunks__/{chunk-AJJUE6BQ.js → chunk-6ECO56AR.js} +2 -2
  240. package/__chunks__/{chunk-EFBSLWOT.js → chunk-6GNYCS7K.js} +2 -2
  241. package/__chunks__/chunk-6K3CHAPG.js +2 -0
  242. package/__chunks__/{chunk-TMXR7CZN.js → chunk-6MJZZVQA.js} +2 -2
  243. package/__chunks__/{chunk-ZRF45QPZ.js → chunk-6NIVPKD7.js} +2 -2
  244. package/__chunks__/{chunk-E6ARLC2I.js → chunk-6NMX4F2R.js} +2 -2
  245. package/__chunks__/{chunk-W7WSJP4R.js → chunk-6NXHTQAA.js} +2 -2
  246. package/__chunks__/{chunk-JFYYTG2B.js → chunk-6O3PJDHO.js} +2 -2
  247. package/__chunks__/{chunk-F2IU3HVC.js → chunk-6QQ4ACXD.js} +2 -2
  248. package/__chunks__/{chunk-K7TKWQTX.js → chunk-6RZZWFZ6.js} +2 -2
  249. package/__chunks__/{chunk-FI4EFU5H.js → chunk-6SGPN45M.js} +2 -2
  250. package/__chunks__/{chunk-JCB2UFE6.js → chunk-6SOFNFU6.js} +2 -2
  251. package/__chunks__/{chunk-TP3Q54FK.js → chunk-6T5ZW7AW.js} +2 -2
  252. package/__chunks__/{chunk-TQBXI4DC.js → chunk-6WFCZYRD.js} +2 -2
  253. package/__chunks__/{chunk-5UZMHOUB.js → chunk-6XJPIMGH.js} +2 -2
  254. package/__chunks__/chunk-6Y5U4ZR3.js +2 -0
  255. package/__chunks__/{chunk-4WQJMUQT.js → chunk-765YOT7P.js} +2 -2
  256. package/__chunks__/{chunk-ZMMAM33G.js → chunk-76NPWQ5Z.js} +2 -2
  257. package/__chunks__/{chunk-DGMWAKSQ.js → chunk-76ZQIMBX.js} +2 -2
  258. package/__chunks__/{chunk-J4WGRY4B.js → chunk-77SS4NMA.js} +2 -2
  259. package/__chunks__/{chunk-D7WB3QEQ.js → chunk-7BUVO7AQ.js} +2 -2
  260. package/__chunks__/{chunk-JTR3JIF5.js → chunk-7BXW2FRM.js} +2 -2
  261. package/__chunks__/chunk-7JRIYN7J.js +2 -0
  262. package/__chunks__/{chunk-NXSPBH7F.js → chunk-7KX3VWAE.js} +2 -2
  263. package/__chunks__/chunk-7OKOV3MZ.js +2 -0
  264. package/__chunks__/{chunk-2SAKHJIZ.js → chunk-7Q5LVGH4.js} +2 -2
  265. package/__chunks__/{chunk-QOTHHSFI.js → chunk-7QVOCGYL.js} +2 -2
  266. package/__chunks__/{chunk-75LIHOT7.js → chunk-7R4A7NYZ.js} +2 -2
  267. package/__chunks__/chunk-7ZWZBQHR.js +2 -0
  268. package/__chunks__/{chunk-YZKG4SBK.js → chunk-A3HDQGOE.js} +2 -2
  269. package/__chunks__/{chunk-ZT5PGSCX.js → chunk-A4YXJB4N.js} +2 -2
  270. package/__chunks__/{chunk-3SHFG3Q2.js → chunk-AFMFEKJL.js} +2 -2
  271. package/__chunks__/{chunk-GMBHZ3VM.js → chunk-ALVLGOUI.js} +2 -2
  272. package/__chunks__/chunk-AORB4GL3.js +2 -0
  273. package/__chunks__/chunk-ARKROIYU.js +2 -0
  274. package/__chunks__/{chunk-C6FBV65M.js → chunk-B4RZVRF6.js} +2 -2
  275. package/__chunks__/chunk-B526DLZX.js +2 -0
  276. package/__chunks__/{chunk-IUPOWYEB.js → chunk-BBX7PGVI.js} +2 -2
  277. package/__chunks__/{chunk-7EKFPJ4U.js → chunk-BEKJAGWB.js} +2 -2
  278. package/__chunks__/{chunk-TNWHUSBS.js → chunk-BJPUISKJ.js} +2 -2
  279. package/__chunks__/{chunk-S2KRJP2S.js → chunk-BP6UJLJ6.js} +2 -2
  280. package/__chunks__/{chunk-CCPH6YBW.js → chunk-BPQSY3MV.js} +2 -2
  281. package/__chunks__/chunk-BS3WPNZX.js +2 -0
  282. package/__chunks__/{chunk-665NO27H.js → chunk-BXRTMNNC.js} +2 -2
  283. package/__chunks__/{chunk-AVYCZJNR.js → chunk-BZUP773Y.js} +2 -2
  284. package/__chunks__/{chunk-CIIGMUYW.js → chunk-C4VVSJRA.js} +2 -2
  285. package/__chunks__/{chunk-KXYIK2NA.js → chunk-CFH7TTFD.js} +2 -2
  286. package/__chunks__/{chunk-QEE3NIKR.js → chunk-CI7VJAOZ.js} +2 -2
  287. package/__chunks__/{chunk-LDQULRQM.js → chunk-CIZ4CC3A.js} +2 -2
  288. package/__chunks__/{chunk-4P42QTUO.js → chunk-CK56GYBV.js} +2 -2
  289. package/__chunks__/{chunk-AURFLPJI.js → chunk-CP22U32T.js} +2 -2
  290. package/__chunks__/{chunk-HXXADXWC.js → chunk-CTECXHBH.js} +2 -2
  291. package/__chunks__/{chunk-B3T5YNKO.js → chunk-CVR4KWI2.js} +2 -2
  292. package/__chunks__/{chunk-2T3SZVFQ.js → chunk-CWKDQAE3.js} +2 -2
  293. package/__chunks__/{chunk-CF2SJYLM.js → chunk-CYBBIALG.js} +2 -2
  294. package/__chunks__/{chunk-CNFWXUMD.js → chunk-CYCBNOOH.js} +2 -2
  295. package/__chunks__/chunk-D4NNYQNI.js +2 -0
  296. package/__chunks__/{chunk-KQBWXEGB.js → chunk-D5PG3KPY.js} +2 -2
  297. package/__chunks__/{chunk-SZOZTDWH.js → chunk-DDDEBD3H.js} +2 -2
  298. package/__chunks__/chunk-DDUHPX5B.js +2 -0
  299. package/__chunks__/{chunk-7EH2JVA7.js → chunk-DK32AR5A.js} +2 -2
  300. package/__chunks__/{chunk-XNI2WT7G.js → chunk-DOLHFGAO.js} +2 -2
  301. package/__chunks__/chunk-DPRAO3PV.js +2 -0
  302. package/__chunks__/{chunk-7YAAJ7LN.js → chunk-DRRZLU37.js} +2 -2
  303. package/__chunks__/{chunk-CAPUQHFB.js → chunk-E4BMLWJQ.js} +2 -2
  304. package/__chunks__/{chunk-263MHKKC.js → chunk-EAVFFW6D.js} +2 -2
  305. package/__chunks__/{chunk-UVV6SVD7.js → chunk-EB7ZWTSY.js} +2 -2
  306. package/__chunks__/{chunk-RJ7SJMWT.js → chunk-EBIEPCKP.js} +2 -2
  307. package/__chunks__/{chunk-VB6VZREF.js → chunk-ECECRARS.js} +2 -2
  308. package/__chunks__/{chunk-WAEYJOW2.js → chunk-ECFQRKBQ.js} +2 -2
  309. package/__chunks__/{chunk-V6IICA5I.js → chunk-EDSXRVJA.js} +2 -2
  310. package/__chunks__/{chunk-QDMQLFXE.js → chunk-EJEYIK7H.js} +2 -2
  311. package/__chunks__/{chunk-HR35FFSQ.js → chunk-EONQ6O2S.js} +2 -2
  312. package/__chunks__/{chunk-Y6GGQYWM.js → chunk-EPKDDRNV.js} +2 -2
  313. package/__chunks__/{chunk-6C4DO7CC.js → chunk-EQGTLK7B.js} +2 -2
  314. package/__chunks__/{chunk-PZHE5BUA.js → chunk-ERD7M4J6.js} +2 -2
  315. package/__chunks__/{chunk-UTT6IDXI.js → chunk-ET5PWW6U.js} +2 -2
  316. package/__chunks__/{chunk-HEO7KJU5.js → chunk-EU5G4DAQ.js} +2 -2
  317. package/__chunks__/{chunk-M233YJDK.js → chunk-EZCQPLF5.js} +1 -1
  318. package/__chunks__/{chunk-XT2LQFA3.js → chunk-F23EI64H.js} +2 -2
  319. package/__chunks__/{chunk-LKEL6F45.js → chunk-FDSL4UNE.js} +2 -2
  320. package/__chunks__/{chunk-RA4VBSV4.js → chunk-FLTQKQXZ.js} +2 -2
  321. package/__chunks__/chunk-FM4NFE7O.js +2 -0
  322. package/__chunks__/chunk-FPG3XYE5.js +2 -0
  323. package/__chunks__/{chunk-NWXRQXN3.js → chunk-FQCOLVNB.js} +2 -2
  324. package/__chunks__/{chunk-LG7JWTT4.js → chunk-FS2Y3TRJ.js} +2 -2
  325. package/__chunks__/{chunk-FG74WDBQ.js → chunk-FUNQ3ZDS.js} +2 -2
  326. package/__chunks__/{chunk-SLS4RCYR.js → chunk-FXLGORZY.js} +2 -2
  327. package/__chunks__/chunk-G3URCKTB.js +2 -0
  328. package/__chunks__/{chunk-RUM7PECI.js → chunk-G77DU7KW.js} +2 -2
  329. package/__chunks__/{chunk-EUKXYU34.js → chunk-GBXV2IZ4.js} +2 -2
  330. package/__chunks__/{chunk-NQYHKHB7.js → chunk-GCUAS5W3.js} +2 -2
  331. package/__chunks__/{chunk-F72QCCQU.js → chunk-GDBNKPWX.js} +2 -2
  332. package/__chunks__/{chunk-GAYS6IZO.js → chunk-GEPT4RMT.js} +2 -2
  333. package/__chunks__/{chunk-QEHQ4T4K.js → chunk-GFEGGQCU.js} +2 -2
  334. package/__chunks__/{chunk-2LCMVQG2.js → chunk-GHWA4ARO.js} +2 -2
  335. package/__chunks__/{chunk-H2KQWRZO.js → chunk-GJVP752J.js} +2 -2
  336. package/__chunks__/{chunk-K34TH3BZ.js → chunk-GXIFDTPZ.js} +2 -2
  337. package/__chunks__/{chunk-V2Z6FH3E.js → chunk-H4MEI7MA.js} +2 -2
  338. package/__chunks__/{chunk-IN5ODNNJ.js → chunk-HDWDCB2R.js} +2 -2
  339. package/__chunks__/{chunk-HUNAKHPM.js → chunk-HEGJ6VWU.js} +2 -2
  340. package/__chunks__/{chunk-7Q3LNSP3.js → chunk-HGWCS4DV.js} +2 -2
  341. package/__chunks__/{chunk-HTSOC23O.js → chunk-HIZU3X76.js} +2 -2
  342. package/__chunks__/{chunk-NBOVG4WO.js → chunk-HLWM6AOP.js} +2 -2
  343. package/__chunks__/{chunk-354E6SKU.js → chunk-HM2JAQZ7.js} +2 -2
  344. package/__chunks__/{chunk-VLRIBNO6.js → chunk-HN2WAZKY.js} +2 -2
  345. package/__chunks__/{chunk-5774QZTU.js → chunk-HWNBOBAT.js} +2 -2
  346. package/__chunks__/{chunk-BPCYDSCL.js → chunk-I5CZZRD7.js} +2 -2
  347. package/__chunks__/{chunk-ZGSSETC7.js → chunk-IDUEKWWT.js} +2 -2
  348. package/__chunks__/{chunk-CUVIIQZB.js → chunk-IDUIPLAQ.js} +2 -2
  349. package/__chunks__/{chunk-KD7CSMP4.js → chunk-IGVPSOQ4.js} +2 -2
  350. package/__chunks__/{chunk-7CWJCONI.js → chunk-IHDP5XEC.js} +2 -2
  351. package/__chunks__/{chunk-POJG76RP.js → chunk-II4IN5DB.js} +2 -2
  352. package/__chunks__/{chunk-GPWFUCIZ.js → chunk-IMDOREFA.js} +2 -2
  353. package/__chunks__/{chunk-DQPZUP6J.js → chunk-IPLHIKSY.js} +2 -2
  354. package/__chunks__/chunk-IQ5OX26L.js +2 -0
  355. package/__chunks__/{chunk-MUC4VQA2.js → chunk-IR6Q7XJQ.js} +2 -2
  356. package/__chunks__/chunk-IW77FXTJ.js +2 -0
  357. package/__chunks__/{chunk-YGTOOJZ3.js → chunk-IWDQTSSG.js} +2 -2
  358. package/__chunks__/chunk-IZMAZFVM.js +2 -0
  359. package/__chunks__/{chunk-DNCC3B7Y.js → chunk-J2JMQETZ.js} +2 -2
  360. package/__chunks__/chunk-J2TI3CAX.js +2 -0
  361. package/__chunks__/{chunk-MR4I4XVG.js → chunk-J7FBMLQ6.js} +2 -2
  362. package/__chunks__/{chunk-ZBBCMRJS.js → chunk-JAN62SAY.js} +2 -2
  363. package/__chunks__/{chunk-KWBJ25RP.js → chunk-JFOTWZDD.js} +2 -2
  364. package/__chunks__/chunk-JKRWLHHP.js +2 -0
  365. package/__chunks__/chunk-JNVJGABW.js +2 -0
  366. package/__chunks__/{chunk-ZT3JSTYM.js → chunk-JZCTMZUP.js} +2 -2
  367. package/__chunks__/{chunk-NC6BLARV.js → chunk-K6HD2LUU.js} +2 -2
  368. package/__chunks__/{chunk-ZODSGB7E.js → chunk-K7CFWXYR.js} +2 -2
  369. package/__chunks__/{chunk-RDTHAMCD.js → chunk-KHOT73K6.js} +2 -2
  370. package/__chunks__/{chunk-PF6FZ5CA.js → chunk-KJ6IYXXB.js} +2 -2
  371. package/__chunks__/chunk-KMTMHRTW.js +2 -0
  372. package/__chunks__/{chunk-MHCO27HW.js → chunk-KUOT65C2.js} +2 -2
  373. package/__chunks__/{chunk-VQ45VOHN.js → chunk-KXQXYJIC.js} +2 -2
  374. package/__chunks__/chunk-KYDM7QYU.js +2 -0
  375. package/__chunks__/chunk-L2ANYTTN.js +2 -0
  376. package/__chunks__/{chunk-52Y6CHVB.js → chunk-LJ5EBQ4E.js} +2 -2
  377. package/__chunks__/chunk-LPNATKOR.js +2 -0
  378. package/__chunks__/{chunk-TTCT34VS.js → chunk-MELE4A6V.js} +2 -2
  379. package/__chunks__/{chunk-XQVTILMR.js → chunk-MGUISXI5.js} +2 -2
  380. package/__chunks__/chunk-MPPYOTPN.js +2 -0
  381. package/__chunks__/{chunk-I4B5HNQT.js → chunk-MRRNEHRM.js} +2 -2
  382. package/__chunks__/{chunk-RTBLJLK5.js → chunk-MSBGM7BG.js} +2 -2
  383. package/__chunks__/{chunk-SSVGMOQH.js → chunk-MX7JP4OW.js} +2 -2
  384. package/__chunks__/{chunk-ICDXNBEF.js → chunk-N5KCBNN7.js} +2 -2
  385. package/__chunks__/{chunk-XTRVDWXV.js → chunk-N7VAIKYW.js} +2 -2
  386. package/__chunks__/chunk-NBLZPBHG.js +2 -0
  387. package/__chunks__/{chunk-ASQNM7MJ.js → chunk-NFN6MTGN.js} +2 -2
  388. package/__chunks__/{chunk-ELRQPILJ.js → chunk-NFPE676M.js} +2 -2
  389. package/__chunks__/{chunk-LFMDBIML.js → chunk-NISVU2KT.js} +2 -2
  390. package/__chunks__/{chunk-2ARPMXJR.js → chunk-NJPGFJBL.js} +2 -2
  391. package/__chunks__/{chunk-UP3FFMFW.js → chunk-NLMBU66C.js} +2 -2
  392. package/__chunks__/chunk-NLQTR5RL.js +2 -0
  393. package/__chunks__/{chunk-U47YYGAI.js → chunk-NPRDBTUP.js} +2 -2
  394. package/__chunks__/{chunk-LHMTZEA5.js → chunk-NSXHCQC6.js} +2 -2
  395. package/__chunks__/{chunk-Z2RFL7UF.js → chunk-NUNXT2KE.js} +2 -2
  396. package/__chunks__/{chunk-T74FZLQO.js → chunk-NVA6E3I6.js} +2 -2
  397. package/__chunks__/{chunk-5FUU6YT7.js → chunk-NYHN24U7.js} +2 -2
  398. package/__chunks__/{chunk-CPPN5BPT.js → chunk-O52NWXAX.js} +2 -2
  399. package/__chunks__/{chunk-V24SSAOI.js → chunk-OC6LCJE5.js} +2 -2
  400. package/__chunks__/chunk-OCZDIQJM.js +2 -0
  401. package/__chunks__/{chunk-OATDAXFL.js → chunk-OFG2RO5M.js} +2 -2
  402. package/__chunks__/{chunk-VTAICDRX.js → chunk-OGJRVFBF.js} +2 -2
  403. package/__chunks__/{chunk-KMJBEARC.js → chunk-OPELHEUB.js} +2 -2
  404. package/__chunks__/chunk-P2O5DNPS.js +2 -0
  405. package/__chunks__/{chunk-3GKFYHC4.js → chunk-P77MVAQ7.js} +2 -2
  406. package/__chunks__/{chunk-DPOE6IK4.js → chunk-PB2NHRDS.js} +2 -2
  407. package/__chunks__/{chunk-OZN64XXH.js → chunk-PIBTVAIY.js} +2 -2
  408. package/__chunks__/{chunk-O2NVMOWV.js → chunk-PJ5K3BAU.js} +2 -2
  409. package/__chunks__/{chunk-C6OR4CE7.js → chunk-PKDX3PWA.js} +2 -2
  410. package/__chunks__/chunk-PPPPPTWM.js +2 -0
  411. package/__chunks__/{chunk-FPKDA4WW.js → chunk-PSRES75R.js} +2 -2
  412. package/__chunks__/{chunk-5I67BWZ4.js → chunk-PTGSTIKB.js} +2 -2
  413. package/__chunks__/{chunk-NRQ2QOKI.js → chunk-PY3AVURP.js} +2 -2
  414. package/__chunks__/{chunk-GW4ANP64.js → chunk-PYUC7YWQ.js} +2 -2
  415. package/__chunks__/{chunk-SIX6M33Q.js → chunk-QDXDSARH.js} +2 -2
  416. package/__chunks__/{chunk-FEKRLY4Y.js → chunk-QEP5V6BV.js} +2 -2
  417. package/__chunks__/{chunk-AE6EUIEY.js → chunk-QGAFKW2D.js} +2 -2
  418. package/__chunks__/{chunk-LR4KN3NQ.js → chunk-QIRTYV7I.js} +2 -2
  419. package/__chunks__/{chunk-W2ZGLITQ.js → chunk-QP7Y7FM5.js} +2 -2
  420. package/__chunks__/{chunk-QPHDB4SX.js → chunk-QPDQZJIR.js} +2 -2
  421. package/__chunks__/{chunk-7I6VVHPW.js → chunk-QQFTXUF5.js} +2 -2
  422. package/__chunks__/{chunk-VEMADCAG.js → chunk-QTZRTNDJ.js} +2 -2
  423. package/__chunks__/{chunk-OE2TXZIV.js → chunk-QWW24CB3.js} +2 -2
  424. package/__chunks__/chunk-R5C7QWUE.js +2 -0
  425. package/__chunks__/chunk-RCUGYIFV.js +2 -0
  426. package/__chunks__/{chunk-N4AS4WKH.js → chunk-RDFIXOD2.js} +2 -2
  427. package/__chunks__/{chunk-EWSOJLDO.js → chunk-RIE5RNRH.js} +2 -2
  428. package/__chunks__/chunk-RJ7L3LSO.js +2 -0
  429. package/__chunks__/{chunk-HBUYUYG7.js → chunk-RNUXTNSV.js} +2 -2
  430. package/__chunks__/chunk-RZRPUUJG.js +2 -0
  431. package/__chunks__/{chunk-CSTEEV34.js → chunk-S5MM2EWQ.js} +2 -2
  432. package/__chunks__/{chunk-JIE46P3A.js → chunk-SBF35KV2.js} +2 -2
  433. package/__chunks__/{chunk-SORRN44I.js → chunk-SHNLEWQL.js} +2 -2
  434. package/__chunks__/{chunk-7HYW3VNZ.js → chunk-SHUQU5VZ.js} +2 -2
  435. package/__chunks__/{chunk-WHY2O6VY.js → chunk-SPHRRX4G.js} +2 -2
  436. package/__chunks__/{chunk-RCTNLZQ4.js → chunk-SUZ6MJ5T.js} +2 -2
  437. package/__chunks__/{chunk-NJ4CAC4K.js → chunk-SX33GNB7.js} +2 -2
  438. package/__chunks__/{chunk-UJFVVD7I.js → chunk-SYLWJWPH.js} +2 -2
  439. package/__chunks__/{chunk-IGYIKLFD.js → chunk-SZ74YBY4.js} +2 -2
  440. package/__chunks__/{chunk-KXH5PIYO.js → chunk-T23GFE32.js} +2 -2
  441. package/__chunks__/{chunk-5QP3BKN6.js → chunk-TC7ZKZBH.js} +2 -2
  442. package/__chunks__/{chunk-U7KBDVS6.js → chunk-TFHPV32E.js} +2 -2
  443. package/__chunks__/chunk-TGKOFZA6.js +2 -0
  444. package/__chunks__/{chunk-7QGLKL3O.js → chunk-TISLGMSV.js} +2 -2
  445. package/__chunks__/{chunk-MUAY6CGW.js → chunk-TL7TEZ2W.js} +2 -2
  446. package/__chunks__/{chunk-RRSKW4X3.js → chunk-TLTHNUIC.js} +2 -2
  447. package/__chunks__/{chunk-2O6TN52D.js → chunk-TND4YGPU.js} +2 -2
  448. package/__chunks__/{chunk-OMEP276V.js → chunk-TOHJ5Z62.js} +2 -2
  449. package/__chunks__/{chunk-F4GPMVZ3.js → chunk-TPM3TS6U.js} +2 -2
  450. package/__chunks__/{chunk-5ATU6BWE.js → chunk-TSZZ3U7B.js} +2 -2
  451. package/__chunks__/{chunk-XBMWOW2U.js → chunk-TUNVB2YQ.js} +2 -2
  452. package/__chunks__/{chunk-VFPMVVL7.js → chunk-TWHOHGFZ.js} +2 -2
  453. package/__chunks__/chunk-TWQWSK2Y.js +2 -0
  454. package/__chunks__/{chunk-NWAWFX5O.js → chunk-TZH67S4T.js} +2 -2
  455. package/__chunks__/{chunk-VWYE2PDV.js → chunk-TZURT6JT.js} +2 -2
  456. package/__chunks__/{chunk-E73S2DQF.js → chunk-TZVL2PLD.js} +2 -2
  457. package/__chunks__/{chunk-5PH62EO2.js → chunk-U7LXSR4V.js} +2 -2
  458. package/__chunks__/{chunk-7HF7RMSM.js → chunk-U7MZFICS.js} +2 -2
  459. package/__chunks__/chunk-UFXJJAIO.js +2 -0
  460. package/__chunks__/{chunk-RBHZ2TA2.js → chunk-UHV6PTOI.js} +2 -2
  461. package/__chunks__/{chunk-AILGLGLT.js → chunk-UIQYWHBC.js} +2 -2
  462. package/__chunks__/{chunk-D3FMLDSW.js → chunk-ULMTIDGZ.js} +2 -2
  463. package/__chunks__/chunk-UQMGB6GS.js +2 -0
  464. package/__chunks__/{chunk-CLBIWLXP.js → chunk-UV2TKIMV.js} +2 -2
  465. package/__chunks__/{chunk-ZLJZXJMQ.js → chunk-UX4Y2OL4.js} +2 -2
  466. package/__chunks__/{chunk-PEFNQYFJ.js → chunk-V5WTTIX5.js} +2 -2
  467. package/__chunks__/{chunk-AXIF35TD.js → chunk-VCZKO4K3.js} +2 -2
  468. package/__chunks__/{chunk-HESHBYEE.js → chunk-VD3BFO4N.js} +2 -2
  469. package/__chunks__/chunk-VE2ECT2B.js +2 -0
  470. package/__chunks__/{chunk-72AKFMHW.js → chunk-VGOFY3CC.js} +2 -2
  471. package/__chunks__/{chunk-XX6WKYPF.js → chunk-VQIJNR2Y.js} +2 -2
  472. package/__chunks__/{chunk-7B66IZJD.js → chunk-VXHEOXPJ.js} +2 -2
  473. package/__chunks__/{chunk-J5WPVXJV.js → chunk-VXXQX2NX.js} +2 -2
  474. package/__chunks__/{chunk-UDWLOK2I.js → chunk-W3CSKBCR.js} +2 -2
  475. package/__chunks__/{chunk-MALUP4TG.js → chunk-W3KXYTDC.js} +2 -2
  476. package/__chunks__/chunk-W4MZ4QSC.js +2 -0
  477. package/__chunks__/{chunk-GKYDXH5T.js → chunk-W4WKCPA4.js} +2 -2
  478. package/__chunks__/{chunk-7LLTMYSC.js → chunk-W5K3CDBQ.js} +2 -2
  479. package/__chunks__/chunk-W64FNS32.js +2 -0
  480. package/__chunks__/{chunk-4NXNLUI5.js → chunk-WHX4MZVD.js} +2 -2
  481. package/__chunks__/{chunk-4CNJEAQC.js → chunk-WIQLJFDL.js} +2 -2
  482. package/__chunks__/{chunk-4K3BXOL5.js → chunk-WLHFDR3E.js} +2 -2
  483. package/__chunks__/chunk-WMJYYAXE.js +2 -0
  484. package/__chunks__/{chunk-JVFR4K57.js → chunk-WOUYL4LT.js} +2 -2
  485. package/__chunks__/{chunk-QB7FSZIJ.js → chunk-WRDH76HG.js} +2 -2
  486. package/__chunks__/{chunk-U2YJMXQE.js → chunk-WVUTLYCS.js} +2 -2
  487. package/__chunks__/{chunk-ZXF7VTXT.js → chunk-WYIJSVQE.js} +2 -2
  488. package/__chunks__/{chunk-WLZPLFLW.js → chunk-X6MCSWM3.js} +2 -2
  489. package/__chunks__/{chunk-KMIS2BLG.js → chunk-XB5O3C4D.js} +2 -2
  490. package/__chunks__/chunk-XJQLYDXU.js +2 -0
  491. package/__chunks__/{chunk-5GJJYCFY.js → chunk-XMD5LLYN.js} +2 -2
  492. package/__chunks__/{chunk-RRWWPA5B.js → chunk-XNWSUWXK.js} +2 -2
  493. package/__chunks__/{chunk-LI2YTG6T.js → chunk-Y7SHZXXR.js} +2 -2
  494. package/__chunks__/{chunk-LRHEZBAD.js → chunk-YAVS5Q37.js} +2 -2
  495. package/__chunks__/{chunk-IRCCOKO6.js → chunk-YQGR3E75.js} +2 -2
  496. package/__chunks__/{chunk-N3ETS4IR.js → chunk-YUCV3UZQ.js} +2 -2
  497. package/__chunks__/{chunk-EN4QJLZ5.js → chunk-YV2BBHKC.js} +2 -2
  498. package/__chunks__/{chunk-365T27J6.js → chunk-Z4LZPGDO.js} +2 -2
  499. package/__chunks__/{chunk-D5UI3QA4.js → chunk-Z57KKFKL.js} +2 -2
  500. package/__chunks__/chunk-Z7IGO4GT.js +2 -0
  501. package/__chunks__/chunk-ZBU2YQWY.js +2 -0
  502. package/__chunks__/{chunk-BOG6ROSF.js → chunk-ZF6DOWZM.js} +2 -2
  503. package/__chunks__/chunk-ZL4YHWHP.js +2 -0
  504. package/__chunks__/{chunk-FBCMHXWZ.js → chunk-ZP57YSDQ.js} +2 -2
  505. package/__chunks__/{chunk-ZJGQI44X.js → chunk-ZR4ASV64.js} +2 -2
  506. package/__commonjs/UI/SignTransactionsModals/SignTransactionsModals.js +3 -3
  507. package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/SignStep.js +3 -3
  508. package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/SignWithDeviceModal.js +3 -3
  509. package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/components/SignStepBody.js +2 -2
  510. package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/ConfirmAmount.js +1 -1
  511. package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/index.js +1 -1
  512. package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/components/components/NftSftPreviewComponent/NftSftPreviewComponent.js +1 -1
  513. package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/components/components/NftSftPreviewComponent/index.js +1 -1
  514. package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/components/components/TokenAvatar/TokenAvatar.js +1 -1
  515. package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/components/components/TokenAvatar/index.js +1 -1
  516. package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/components/index.js +2 -2
  517. package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/index.js +3 -3
  518. package/__commonjs/UI/SignTransactionsModals/SignWithLedgerModal/SignWithLedgerModal.js +3 -3
  519. package/__commonjs/UI/SignTransactionsModals/SignWithLedgerModal/index.js +3 -3
  520. package/__commonjs/UI/SignTransactionsModals/SignWithOperaModal/SignWithOperaModal.js +3 -3
  521. package/__commonjs/UI/SignTransactionsModals/SignWithOperaModal/index.js +3 -3
  522. package/__commonjs/UI/SignTransactionsModals/index.js +3 -3
  523. package/__commonjs/UI/TransactionInfo/components/DataDecode/DataDecode.js +1 -1
  524. package/__commonjs/UI/TransactionInfo/components/DataDecode/index.js +2 -2
  525. package/__commonjs/UI/TransactionInfo/components/ScResultsList/components/ResultHash/ResultHash.js +7 -7
  526. package/__commonjs/UI/TransactionInfo/components/ScResultsList/components/ResultHash/index.js +4 -4
  527. package/__commonjs/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/TransactionActionNft.js +3 -3
  528. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTokenOperations/TransactionInfoTokenOperations.js +11 -11
  529. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTokenOperations/index.js +11 -11
  530. package/__commonjs/UI/TransactionsTable/components/TransactionValue/TransactionValue.js +4 -4
  531. package/__commonjs/UI/TransactionsToastList/components/CustomToast/helpers/getIsTransaction.js +1 -1
  532. package/__commonjs/UI/extension/ExtensionLoginButton/ExtensionLoginButton.js +1 -1
  533. package/__commonjs/UI/extension/ExtensionLoginButton/index.js +1 -1
  534. package/__commonjs/UI/index.js +4 -4
  535. package/__commonjs/UI/ledger/LedgerLoginButton/LedgerLoginButton.js +1 -1
  536. package/__commonjs/UI/ledger/LedgerLoginButton/index.js +1 -1
  537. package/__commonjs/UI/ledger/LedgerLoginContainer/ConfirmAddress.js +2 -2
  538. package/__commonjs/UI/ledger/LedgerLoginContainer/index.js +1 -1
  539. package/__commonjs/UI/ledger/index.js +1 -1
  540. package/__commonjs/UI/operaWallet/OperaWalletLoginButton/OperaWalletLoginButton.js +1 -1
  541. package/__commonjs/UI/operaWallet/OperaWalletLoginButton/index.js +1 -1
  542. package/__commonjs/UI/pages/UnlockPage/index.js +1 -1
  543. package/__commonjs/UI/pages/index.js +1 -1
  544. package/__commonjs/UI/walletConnect/WalletConnectLoginButton/WalletConnectLoginButton.js +4 -4
  545. package/__commonjs/UI/walletConnect/WalletConnectLoginButton/index.js +4 -4
  546. package/__commonjs/UI/walletConnect/WalletConnectLoginContainer/index.js +5 -5
  547. package/__commonjs/UI/walletConnect/index.js +4 -4
  548. package/__commonjs/UI/webWallet/WebWalletLoginButton/WebWalletLoginButton.js +1 -1
  549. package/__commonjs/UI/webWallet/WebWalletLoginButton/index.js +1 -1
  550. package/__commonjs/__mocks__/index.js +1 -1
  551. package/__commonjs/__mocks__/utils/index.js +1 -1
  552. package/__commonjs/__mocks__/utils/renderWithProvider.js +1 -1
  553. package/__commonjs/apiCalls/economics/getEconomicsInfo.js +1 -1
  554. package/__commonjs/apiCalls/transactions/sendSignedTransactions.js +1 -1
  555. package/__commonjs/components/ProviderInitializer.js +1 -1
  556. package/__commonjs/components/TransactionSender/index.js +1 -1
  557. package/__commonjs/components/TransactionsTracker/TransactionTracker.js +1 -1
  558. package/__commonjs/components/TransactionsTracker/index.js +1 -1
  559. package/__commonjs/components/TransactionsTracker/useTransactionsTracker.js +1 -1
  560. package/__commonjs/constants/index.js +1 -1
  561. package/__commonjs/hooks/account/useGetAccount.js +1 -1
  562. package/__commonjs/hooks/account/useGetAccountInfo.js +1 -1
  563. package/__commonjs/hooks/account/useGetWebsocketEvent.js +1 -1
  564. package/__commonjs/hooks/index.js +1 -1
  565. package/__commonjs/hooks/login/index.js +1 -1
  566. package/__commonjs/hooks/login/useExtensionLogin.js +1 -1
  567. package/__commonjs/hooks/login/useLedgerLogin.js +1 -1
  568. package/__commonjs/hooks/login/useLoginService.js +1 -1
  569. package/__commonjs/hooks/login/useOperaLogin.js +1 -1
  570. package/__commonjs/hooks/login/useWalletConnectLogin.js +1 -1
  571. package/__commonjs/hooks/login/useWalletConnectV2Login.js +1 -1
  572. package/__commonjs/hooks/login/useWebWalletLogin.js +1 -1
  573. package/__commonjs/hooks/transactions/helpers/buildBatchId.js +1 -1
  574. package/__commonjs/reduxStore/persistConfig.js +1 -1
  575. package/__commonjs/reduxStore/selectors/batchTransactionsSelectors.js +1 -1
  576. package/__commonjs/reduxStore/selectors/dappConfigSelector.js +1 -1
  577. package/__commonjs/reduxStore/selectors/modalsSelectors.js +1 -1
  578. package/__commonjs/reduxStore/slices/transactionsInfoSlice.js +1 -1
  579. package/__commonjs/services/index.js +1 -1
  580. package/__commonjs/services/nativeAuth/index.js +1 -1
  581. package/__commonjs/services/nativeAuth/methods/getNativeAuthConfig.js +1 -1
  582. package/__commonjs/services/nativeAuth/methods/index.js +1 -1
  583. package/__commonjs/services/nativeAuth/nativeAuth.d.ts +3 -1
  584. package/__commonjs/services/nativeAuth/nativeAuth.js +1 -1
  585. package/__commonjs/types/login.types.d.ts +3 -0
  586. package/__commonjs/utils/account/signMessage.js +1 -1
  587. package/__commonjs/utils/operations/calculateFeeInFiat.js +1 -1
  588. package/__commonjs/utils/operations/denominate.js +1 -1
  589. package/__commonjs/utils/operations/formatAmount.js +1 -1
  590. package/__commonjs/utils/transactions/batch/getTransactionsStatus.js +1 -1
  591. package/__commonjs/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getEgldValueData.js +1 -1
  592. package/__commonjs/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getValueFromActions.js +1 -1
  593. package/__commonjs/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getValueFromDataField.js +1 -1
  594. package/__commonjs/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getValueFromOperations.js +1 -1
  595. package/__commonjs/utils/transactions/transactionInfoHelpers/getShardText.js +1 -1
  596. package/__commonjs/utils/transactions/transactionInfoHelpers/getTransactionActionTokenText.js +1 -1
  597. package/__commonjs/utils/transactions/transactionInfoHelpers/getTransactionLinkWithLabel.js +1 -1
  598. package/__commonjs/wrappers/AppInitializer.d.ts +8 -4
  599. package/__commonjs/wrappers/AppInitializer.js +1 -1
  600. package/__commonjs/wrappers/AuthenticatedRoutesWrapper/AuthenticatedRoutesWrapper.d.ts +2 -1
  601. package/__commonjs/wrappers/AuthenticatedRoutesWrapper/AuthenticatedRoutesWrapper.js +1 -1
  602. package/__commonjs/wrappers/AuthenticatedRoutesWrapper/index.js +1 -1
  603. package/__commonjs/wrappers/DappProvider/DappProvider.js +1 -1
  604. package/__commonjs/wrappers/DappProvider/index.js +1 -1
  605. package/__commonjs/wrappers/index.js +1 -1
  606. package/__mocks__/accountConfig.js +1 -1
  607. package/__mocks__/index.js +1 -1
  608. package/__mocks__/server.js +1 -1
  609. package/__mocks__/utils/index.js +1 -1
  610. package/__mocks__/utils/renderWithProvider.js +1 -1
  611. package/apiCalls/accounts/getAccountFromApi.js +1 -1
  612. package/apiCalls/accounts/index.js +1 -1
  613. package/apiCalls/configuration/getApiAddressForChainId.js +1 -1
  614. package/apiCalls/configuration/getEnvironmentForChainId.js +1 -1
  615. package/apiCalls/configuration/getNetworkConfig.js +1 -1
  616. package/apiCalls/configuration/getServerConfigurationForEnvironment.js +1 -1
  617. package/apiCalls/configuration/index.js +1 -1
  618. package/apiCalls/economics/getEconomicsInfo.js +1 -1
  619. package/apiCalls/economics/index.js +1 -1
  620. package/apiCalls/getScamAddressData.js +1 -1
  621. package/apiCalls/index.js +1 -1
  622. package/apiCalls/transactions/getTransactionsByHashes.js +1 -1
  623. package/apiCalls/transactions/index.js +1 -1
  624. package/apiCalls/transactions/sendSignedTransactions.js +1 -1
  625. package/apiCalls/utils/getCleanApiAddress.js +1 -1
  626. package/apiCalls/utils/index.js +1 -1
  627. package/components/BatchTransactionsSender/BatchTransactionsSender.js +1 -1
  628. package/components/BatchTransactionsSender/index.js +1 -1
  629. package/components/BatchTransactionsTracker/BatchTransactionsTracker.js +1 -1
  630. package/components/LogoutListener/LogoutListener.js +1 -1
  631. package/components/LogoutListener/helpers/index.js +1 -1
  632. package/components/LogoutListener/helpers/useLogoutFromMultipleTabs.js +1 -1
  633. package/components/LogoutListener/helpers/useNativeAuthLogout.js +1 -1
  634. package/components/LogoutListener/helpers/useNativeAuthLogoutWarning/index.js +1 -1
  635. package/components/LogoutListener/helpers/useNativeAuthLogoutWarning/useNativeAuthLogoutWarning.js +1 -1
  636. package/components/LogoutListener/index.js +1 -1
  637. package/components/ProviderInitializer.js +1 -1
  638. package/components/TransactionSender/TransactionSender.js +1 -1
  639. package/components/TransactionSender/index.js +1 -1
  640. package/components/TransactionStatusToast/FailedTransactionStatusToast.js +1 -1
  641. package/components/TransactionsTracker/TransactionTracker.js +1 -1
  642. package/components/TransactionsTracker/index.js +1 -1
  643. package/components/TransactionsTracker/useTransactionsTracker.js +1 -1
  644. package/constants/index.js +1 -1
  645. package/constants/network.js +1 -1
  646. package/hooks/account/index.js +1 -1
  647. package/hooks/account/useGetAccount.js +1 -1
  648. package/hooks/account/useGetAccountInfo.js +1 -1
  649. package/hooks/account/useGetAccountProvider.js +1 -1
  650. package/hooks/account/useGetIsLoggedIn.js +1 -1
  651. package/hooks/account/useGetLoginInfo.js +1 -1
  652. package/hooks/account/useGetWebsocketEvent.js +1 -1
  653. package/hooks/economics/index.js +1 -1
  654. package/hooks/economics/useGetEgldPrice.js +1 -1
  655. package/hooks/index.js +1 -1
  656. package/hooks/login/index.js +1 -1
  657. package/hooks/login/useExtensionLogin.js +1 -1
  658. package/hooks/login/useLedgerLogin.js +1 -1
  659. package/hooks/login/useLoginService.js +1 -1
  660. package/hooks/login/useOperaLogin.js +1 -1
  661. package/hooks/login/useWalletConnectLogin.js +1 -1
  662. package/hooks/login/useWalletConnectV2Login.js +1 -1
  663. package/hooks/login/useWebViewLogin.js +1 -1
  664. package/hooks/login/useWebWalletLogin.js +1 -1
  665. package/hooks/signMessage/index.js +1 -1
  666. package/hooks/signMessage/useGetLastSignedMessageSession.js +1 -1
  667. package/hooks/signMessage/useGetSignMessageSession.js +1 -1
  668. package/hooks/signMessage/useGetSignedMessageStatus.js +1 -1
  669. package/hooks/signMessage/useSignMessage.js +1 -1
  670. package/hooks/toasts/index.js +1 -1
  671. package/hooks/toasts/useTransactionsToasts.js +1 -1
  672. package/hooks/transactions/batch/tracker/useBatchTransactionsTracker.js +1 -1
  673. package/hooks/transactions/batch/tracker/useCheckBatch.js +1 -1
  674. package/hooks/transactions/batch/tracker/useCheckBatchesOnWsFailureFallback.js +1 -1
  675. package/hooks/transactions/batch/tracker/useCheckHangingBatchesFallback.js +1 -1
  676. package/hooks/transactions/batch/tracker/useUpdateBatch.js +1 -1
  677. package/hooks/transactions/batch/tracker/useVerifyBatchStatus.js +1 -1
  678. package/hooks/transactions/batch/useGetBatchStatus.js +1 -1
  679. package/hooks/transactions/batch/useGetBatches.js +1 -1
  680. package/hooks/transactions/batch/useResolveBatchStatusResponse.js +1 -1
  681. package/hooks/transactions/batch/useSendBatchTransactions.js +1 -1
  682. package/hooks/transactions/helpers/buildBatchId.js +1 -1
  683. package/hooks/transactions/helpers/checkNeedsGuardianSigning.js +1 -1
  684. package/hooks/transactions/helpers/extractSessionId.js +1 -1
  685. package/hooks/transactions/helpers/getShouldMoveTransactionsToSignedState.js +1 -1
  686. package/hooks/transactions/helpers/index.js +1 -1
  687. package/hooks/transactions/helpers/useClearTransactionsToSignWithWarning.js +1 -1
  688. package/hooks/transactions/helpers/useSetTransactionNonces.js +1 -1
  689. package/hooks/transactions/index.js +1 -1
  690. package/hooks/transactions/useCancelWalletConnectAction.js +1 -1
  691. package/hooks/transactions/useCheckTransactionStatus/checkBatch.js +1 -1
  692. package/hooks/transactions/useCheckTransactionStatus/index.js +1 -1
  693. package/hooks/transactions/useCheckTransactionStatus/manageFailedTransactions.js +1 -1
  694. package/hooks/transactions/useCheckTransactionStatus/manageTimedOutTransactions.js +1 -1
  695. package/hooks/transactions/useCheckTransactionStatus/useCheckTransactionStatus.js +1 -1
  696. package/hooks/transactions/useGetActiveTransactionsStatus.js +1 -1
  697. package/hooks/transactions/useGetFailedTransactions.js +1 -1
  698. package/hooks/transactions/useGetLastPendingTransactionHash.js +1 -1
  699. package/hooks/transactions/useGetPendingTransactions.js +1 -1
  700. package/hooks/transactions/useGetSignTransactionsError.js +1 -1
  701. package/hooks/transactions/useGetSignedTransactions.js +1 -1
  702. package/hooks/transactions/useGetSuccessfulTransactions.js +1 -1
  703. package/hooks/transactions/useGetTokenDetails.js +1 -1
  704. package/hooks/transactions/useGetTransactionDisplayInfo.js +1 -1
  705. package/hooks/transactions/useParseMultiEsdtTransferData.js +1 -1
  706. package/hooks/transactions/useParseSignedTransactions.js +1 -1
  707. package/hooks/transactions/useSignMultipleTransactions.js +1 -1
  708. package/hooks/transactions/useSignTransactions.js +1 -1
  709. package/hooks/transactions/useSignTransactionsCommonData.js +1 -1
  710. package/hooks/transactions/useSignTransactionsWithDevice.js +1 -1
  711. package/hooks/transactions/useSignTransactionsWithLedger.js +1 -1
  712. package/hooks/transactions/useTrackTransactionStatus.js +1 -1
  713. package/hooks/useGetNetworkConfig.js +1 -1
  714. package/hooks/useGetNotification.js +1 -1
  715. package/hooks/userInterface/index.js +1 -1
  716. package/hooks/userInterface/useIsDappModalVisible.js +1 -1
  717. package/hooks/websocketListener/index.js +1 -1
  718. package/hooks/websocketListener/useInitializeWebsocketConnection.js +1 -1
  719. package/hooks/websocketListener/useRegisterWebsocketListener.js +1 -1
  720. package/models/index.js +1 -1
  721. package/models/newTransaction.js +1 -1
  722. package/package.json +1 -1
  723. package/providers/accountProvider.js +1 -1
  724. package/providers/index.js +1 -1
  725. package/providers/utils.js +1 -1
  726. package/providers/webviewProvider/index.js +1 -1
  727. package/providers/webviewProvider/requestMethods.js +1 -1
  728. package/providers/webviewProvider/webviewProvider.js +1 -1
  729. package/reduxStore/DappProviderContext.js +1 -1
  730. package/reduxStore/commonActions.js +1 -1
  731. package/reduxStore/middlewares/loginSessionMiddleware.js +1 -1
  732. package/reduxStore/persistConfig.js +1 -1
  733. package/reduxStore/persistedRootReducer.js +1 -1
  734. package/reduxStore/reducers.js +1 -1
  735. package/reduxStore/rootReducer.js +1 -1
  736. package/reduxStore/selectors/accountInfoSelectors.js +1 -1
  737. package/reduxStore/selectors/batchTransactionsSelectors.js +1 -1
  738. package/reduxStore/selectors/dappConfigSelector.js +1 -1
  739. package/reduxStore/selectors/dappModalsSelectors.js +1 -1
  740. package/reduxStore/selectors/helpers.js +1 -1
  741. package/reduxStore/selectors/index.js +1 -1
  742. package/reduxStore/selectors/loginInfoSelectors.js +1 -1
  743. package/reduxStore/selectors/modalsSelectors.js +1 -1
  744. package/reduxStore/selectors/networkConfigSelectors.js +1 -1
  745. package/reduxStore/selectors/signedMessageInfoSelectors.js +1 -1
  746. package/reduxStore/selectors/toastsSelectors.js +1 -1
  747. package/reduxStore/selectors/transactionsInfoSelectors.js +1 -1
  748. package/reduxStore/selectors/transactionsSelectors.js +1 -1
  749. package/reduxStore/slices/accountInfoSlice.js +1 -1
  750. package/reduxStore/slices/batchTransactionsSlice.js +1 -1
  751. package/reduxStore/slices/dappConfigSlice.js +1 -1
  752. package/reduxStore/slices/dappModalsSlice.js +1 -1
  753. package/reduxStore/slices/index.js +1 -1
  754. package/reduxStore/slices/loginInfoSlice.js +1 -1
  755. package/reduxStore/slices/modalsSlice.js +1 -1
  756. package/reduxStore/slices/signedMessageInfoSlice.js +1 -1
  757. package/reduxStore/slices/toastsSlice.js +1 -1
  758. package/reduxStore/slices/transactionsInfoSlice.js +1 -1
  759. package/reduxStore/slices/transactionsSlice.js +1 -1
  760. package/reduxStore/store.js +1 -1
  761. package/services/index.js +1 -1
  762. package/services/nativeAuth/helpers/getAuthorizationInfo.js +1 -1
  763. package/services/nativeAuth/helpers/getIsNativeAuthSingingForbidden.js +1 -1
  764. package/services/nativeAuth/helpers/index.js +1 -1
  765. package/services/nativeAuth/helpers/loginWithNativeAuthToken.js +1 -1
  766. package/services/nativeAuth/index.js +1 -1
  767. package/services/nativeAuth/methods/getNativeAuthConfig.js +1 -1
  768. package/services/nativeAuth/methods/index.js +1 -1
  769. package/services/nativeAuth/nativeAuth.d.ts +3 -1
  770. package/services/nativeAuth/nativeAuth.js +1 -1
  771. package/services/transactions/clearTransactions.js +1 -1
  772. package/services/transactions/getBatchTransactionsStatus.js +1 -1
  773. package/services/transactions/getTransactionsDetails.js +1 -1
  774. package/services/transactions/index.js +1 -1
  775. package/services/transactions/isCrossShardTransaction.js +1 -1
  776. package/services/transactions/sendBatchTransactions.js +1 -1
  777. package/services/transactions/sendTransactions.js +1 -1
  778. package/services/transactions/signTransactions.js +1 -1
  779. package/services/transactions/transformAndSignTransactions.js +1 -1
  780. package/services/transactions/updateSignedTransactions.js +1 -1
  781. package/services/transactions/utils.js +1 -1
  782. package/types/index.js +1 -1
  783. package/types/login.types.d.ts +3 -0
  784. package/types/login.types.js +1 -1
  785. package/utils/account/getAccount.js +1 -1
  786. package/utils/account/getAccountBalance.js +1 -1
  787. package/utils/account/getAccountProviderType.js +1 -1
  788. package/utils/account/getAccountShard.js +1 -1
  789. package/utils/account/getAddress.js +1 -1
  790. package/utils/account/getIsProviderEqualTo.js +1 -1
  791. package/utils/account/getLatestNonce.js +1 -1
  792. package/utils/account/getShardOfAddress.js +1 -1
  793. package/utils/account/index.js +1 -1
  794. package/utils/account/loginWithExternalProvider.js +1 -1
  795. package/utils/account/refreshAccount.js +1 -1
  796. package/utils/account/setNonce.js +1 -1
  797. package/utils/account/signMessage.js +1 -1
  798. package/utils/getIsLoggedIn.js +1 -1
  799. package/utils/index.js +1 -1
  800. package/utils/logout.js +1 -1
  801. package/utils/network/getChainID.js +1 -1
  802. package/utils/network/getEgldLabel.js +1 -1
  803. package/utils/network/getNetworkConfig.js +1 -1
  804. package/utils/network/index.js +1 -1
  805. package/utils/operations/calculateFeeInFiat.js +1 -1
  806. package/utils/operations/calculateFeeLimit.js +1 -1
  807. package/utils/operations/denominate.js +1 -1
  808. package/utils/operations/formatAmount.js +1 -1
  809. package/utils/operations/index.js +1 -1
  810. package/utils/operations/ledger/getLedgerVersionOptions.js +1 -1
  811. package/utils/operations/ledger/index.js +1 -1
  812. package/utils/operations/nominate.js +1 -1
  813. package/utils/operations/parseAmount.js +1 -1
  814. package/utils/smartContracts.js +1 -1
  815. package/utils/toasts/customToastsActions.js +1 -1
  816. package/utils/toasts/index.js +1 -1
  817. package/utils/transactions/batch/getTransactionsStatus.js +1 -1
  818. package/utils/transactions/batch/updateBatchTransactionsStatuses.js +1 -1
  819. package/utils/transactions/getAllTransactionsLink.js +1 -1
  820. package/utils/transactions/getAreTransactionsOnSameShard.js +1 -1
  821. package/utils/transactions/getInterpretedTransaction/getInterpretedTransaction.js +1 -1
  822. package/utils/transactions/getInterpretedTransaction/helpers/getReceiptMessage.js +1 -1
  823. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/getTransactionValue.js +1 -1
  824. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getEgldValueData.js +1 -1
  825. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getTitleText.js +1 -1
  826. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getValueFromActions.js +1 -1
  827. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getValueFromDataField.js +1 -1
  828. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getValueFromOperations.js +1 -1
  829. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/index.js +1 -1
  830. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/index.js +1 -1
  831. package/utils/transactions/getInterpretedTransaction/helpers/index.js +1 -1
  832. package/utils/transactions/getInterpretedTransaction/index.js +1 -1
  833. package/utils/transactions/getTransactionLink.js +1 -1
  834. package/utils/transactions/index.js +1 -1
  835. package/utils/transactions/parseMultiEsdtTransferData.js +1 -1
  836. package/utils/transactions/parseTransactionAfterSigning.js +1 -1
  837. package/utils/transactions/removeTransactionParamsFromUrl.js +1 -1
  838. package/utils/transactions/transactionInfoHelpers/decodeForDisplay/decodeForDisplay.js +1 -1
  839. package/utils/transactions/transactionInfoHelpers/decodeForDisplay/helpers/getDisplayValueAndValidationWarnings.js +1 -1
  840. package/utils/transactions/transactionInfoHelpers/decodeForDisplay/helpers/getSmartDecodedParts.js +1 -1
  841. package/utils/transactions/transactionInfoHelpers/decodeForDisplay/helpers/index.js +1 -1
  842. package/utils/transactions/transactionInfoHelpers/decodeForDisplay/index.js +1 -1
  843. package/utils/transactions/transactionInfoHelpers/getScResultsInitialDecodeMethod.js +1 -1
  844. package/utils/transactions/transactionInfoHelpers/getShardText.js +1 -1
  845. package/utils/transactions/transactionInfoHelpers/getTransactionActionNftText.js +1 -1
  846. package/utils/transactions/transactionInfoHelpers/getTransactionActionTokenText.js +1 -1
  847. package/utils/transactions/transactionInfoHelpers/getTransactionLinkWithLabel.js +1 -1
  848. package/utils/transactions/transactionInfoHelpers/getTransactionMessages.js +1 -1
  849. package/utils/transactions/transactionInfoHelpers/index.js +1 -1
  850. package/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/helpers/index.js +1 -1
  851. package/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/helpers/mexUnwrapper.js +1 -1
  852. package/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/index.js +1 -1
  853. package/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/transactionActionUnwrapper.js +1 -1
  854. package/utils/transactions/transactionInfoHelpers/useDataDecode.js +1 -1
  855. package/utils/transactions/transactionInfoHelpers/useDataDecodeMethod.js +1 -1
  856. package/utils/validation/index.js +1 -1
  857. package/utils/validation/maxDecimals.js +1 -1
  858. package/utils/validation/stringIsFloat.js +1 -1
  859. package/utils/walletconnect/__mocks__/sdkWalletconnectProvider.js +1 -1
  860. package/web/hooks/index.js +1 -1
  861. package/web/hooks/useIdleTimer.js +1 -1
  862. package/web/index.js +1 -1
  863. package/wrappers/AppInitializer.d.ts +8 -4
  864. package/wrappers/AppInitializer.js +1 -1
  865. package/wrappers/AuthenticatedRoutesWrapper/AuthenticatedRoutesWrapper.d.ts +2 -1
  866. package/wrappers/AuthenticatedRoutesWrapper/AuthenticatedRoutesWrapper.js +1 -1
  867. package/wrappers/AuthenticatedRoutesWrapper/index.js +1 -1
  868. package/wrappers/AxiosInterceptorContext/AxiosInterceptorContext.js +1 -1
  869. package/wrappers/AxiosInterceptorContext/components/AxiosInterceptor.js +1 -1
  870. package/wrappers/AxiosInterceptorContext/components/AxiosInterceptorContextProvider.js +1 -1
  871. package/wrappers/AxiosInterceptorContext/components/LoginInfoListener.js +1 -1
  872. package/wrappers/AxiosInterceptorContext/components/index.js +1 -1
  873. package/wrappers/AxiosInterceptorContext/index.js +1 -1
  874. package/wrappers/DappProvider/CustomComponents.js +1 -1
  875. package/wrappers/DappProvider/DappProvider.js +1 -1
  876. package/wrappers/DappProvider/index.js +1 -1
  877. package/wrappers/index.js +1 -1
  878. package/__chunks__/chunk-2HOVLPAI.js +0 -2
  879. package/__chunks__/chunk-4UG2JBYU.js +0 -2
  880. package/__chunks__/chunk-63OV72OW.js +0 -2
  881. package/__chunks__/chunk-6P4JKU7O.js +0 -2
  882. package/__chunks__/chunk-74RR42GW.js +0 -2
  883. package/__chunks__/chunk-7CT27RQT.js +0 -2
  884. package/__chunks__/chunk-7PHB4IHW.js +0 -2
  885. package/__chunks__/chunk-7RBYOO2J.js +0 -2
  886. package/__chunks__/chunk-AMNHI3QW.js +0 -2
  887. package/__chunks__/chunk-AS5LF45F.js +0 -2
  888. package/__chunks__/chunk-BPKJAHYT.js +0 -2
  889. package/__chunks__/chunk-CIE6DSGF.js +0 -2
  890. package/__chunks__/chunk-COW7WUHF.js +0 -2
  891. package/__chunks__/chunk-DPZA5556.js +0 -2
  892. package/__chunks__/chunk-DWAZWPSE.js +0 -2
  893. package/__chunks__/chunk-E5THMW5I.js +0 -2
  894. package/__chunks__/chunk-EQZEJKTR.js +0 -2
  895. package/__chunks__/chunk-EVXF2BOI.js +0 -2
  896. package/__chunks__/chunk-FD3VYCS4.js +0 -2
  897. package/__chunks__/chunk-FFXOJXGN.js +0 -2
  898. package/__chunks__/chunk-FUIWFYYW.js +0 -2
  899. package/__chunks__/chunk-FZVPLZOE.js +0 -2
  900. package/__chunks__/chunk-HPFY6NOU.js +0 -2
  901. package/__chunks__/chunk-IGROQXUZ.js +0 -2
  902. package/__chunks__/chunk-IPRFCS7D.js +0 -2
  903. package/__chunks__/chunk-J4FVDFZJ.js +0 -2
  904. package/__chunks__/chunk-M6BI7ILE.js +0 -2
  905. package/__chunks__/chunk-MAIOHYCR.js +0 -2
  906. package/__chunks__/chunk-MAN7DZAK.js +0 -2
  907. package/__chunks__/chunk-MFK5TIXS.js +0 -2
  908. package/__chunks__/chunk-MQRTP6HG.js +0 -2
  909. package/__chunks__/chunk-MUQB6NZD.js +0 -2
  910. package/__chunks__/chunk-N4YDENJI.js +0 -2
  911. package/__chunks__/chunk-OIMSUDOK.js +0 -2
  912. package/__chunks__/chunk-OPNKJA4L.js +0 -2
  913. package/__chunks__/chunk-QJRS3XXT.js +0 -2
  914. package/__chunks__/chunk-R34ULZDI.js +0 -2
  915. package/__chunks__/chunk-T73DKVUT.js +0 -2
  916. package/__chunks__/chunk-UDIL7X3Z.js +0 -2
  917. package/__chunks__/chunk-UMMB4MY5.js +0 -2
  918. package/__chunks__/chunk-UQPS2RPU.js +0 -2
  919. package/__chunks__/chunk-URQFLH5U.js +0 -2
  920. package/__chunks__/chunk-WKVTOFIT.js +0 -2
  921. package/__chunks__/chunk-WPNTJLX5.js +0 -2
  922. package/__chunks__/chunk-WWYZM6K6.js +0 -2
  923. package/__chunks__/chunk-WZSDWRXM.js +0 -2
  924. package/__chunks__/chunk-XWK5XUNJ.js +0 -2
  925. package/__chunks__/chunk-Y4M6VSON.js +0 -2
  926. package/__chunks__/chunk-ZKKCLJG5.js +0 -2
  927. package/__chunks__/chunk-ZPLMSLJT.js +0 -2
  928. package/__chunks__/chunk-ZS5RFDLW.js +0 -2
  929. package/__chunks__/chunk-ZS72QLFO.js +0 -2
  930. package/__chunks__/chunk-ZY4AUE6X.js +0 -2
  931. package/__chunks__/chunk-ZZ2E3JAN.js +0 -2
@@ -1,4 +1,4 @@
1
- "use strict";var br=Object.create;var P=Object.defineProperty;var Sr=Object.getOwnPropertyDescriptor;var Br=Object.getOwnPropertyNames;var Rr=Object.getPrototypeOf,Ar=Object.prototype.hasOwnProperty;var Lr=(t,r)=>()=>(t&&(r=t(t=0)),r);var M=(t,r)=>()=>(r||t((r={exports:{}}).exports,r),r.exports),_r=(t,r)=>{for(var e in r)P(t,e,{get:r[e],enumerable:!0})},rr=(t,r,e,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let i of Br(r))!Ar.call(t,i)&&i!==e&&P(t,i,{get:()=>r[i],enumerable:!(n=Sr(r,i))||n.enumerable});return t};var er=(t,r,e)=>(e=t!=null?br(Rr(t)):{},rr(r||!t||!t.__esModule?P(e,"default",{value:t,enumerable:!0}):e,t)),Ur=t=>rr(P({},"__esModule",{value:!0}),t);var ir=M(G=>{"use strict";l();G.byteLength=Cr;G.toByteArray=Nr;G.fromByteArray=Gr;var k=[],v=[],Er=typeof Uint8Array!="undefined"?Uint8Array:Array,W="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(L=0,tr=W.length;L<tr;++L)k[L]=W[L],v[W.charCodeAt(L)]=L;var L,tr;v["-".charCodeAt(0)]=62;v["_".charCodeAt(0)]=63;function nr(t){var r=t.length;if(r%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var e=t.indexOf("=");e===-1&&(e=r);var n=e===r?0:4-e%4;return[e,n]}function Cr(t){var r=nr(t),e=r[0],n=r[1];return(e+n)*3/4-n}function Dr(t,r,e){return(r+e)*3/4-e}function Nr(t){var r,e=nr(t),n=e[0],i=e[1],a=new Er(Dr(t,n,i)),o=0,u=i>0?n-4:n,p;for(p=0;p<u;p+=4)r=v[t.charCodeAt(p)]<<18|v[t.charCodeAt(p+1)]<<12|v[t.charCodeAt(p+2)]<<6|v[t.charCodeAt(p+3)],a[o++]=r>>16&255,a[o++]=r>>8&255,a[o++]=r&255;return i===2&&(r=v[t.charCodeAt(p)]<<2|v[t.charCodeAt(p+1)]>>4,a[o++]=r&255),i===1&&(r=v[t.charCodeAt(p)]<<10|v[t.charCodeAt(p+1)]<<4|v[t.charCodeAt(p+2)]>>2,a[o++]=r>>8&255,a[o++]=r&255),a}function Pr(t){return k[t>>18&63]+k[t>>12&63]+k[t>>6&63]+k[t&63]}function Mr(t,r,e){for(var n,i=[],a=r;a<e;a+=3)n=(t[a]<<16&16711680)+(t[a+1]<<8&65280)+(t[a+2]&255),i.push(Pr(n));return i.join("")}function Gr(t){for(var r,e=t.length,n=e%3,i=[],a=16383,o=0,u=e-n;o<u;o+=a)i.push(Mr(t,o,o+a>u?u:o+a));return n===1?(r=t[e-1],i.push(k[r>>2]+k[r<<4&63]+"==")):n===2&&(r=(t[e-2]<<8)+t[e-1],i.push(k[r>>10]+k[r>>4&63]+k[r<<2&63]+"=")),i.join("")}});var ar=M(Y=>{l();Y.read=function(t,r,e,n,i){var a,o,u=i*8-n-1,p=(1<<u)-1,f=p>>1,g=-7,c=e?i-1:0,F=e?-1:1,w=t[r+c];for(c+=F,a=w&(1<<-g)-1,w>>=-g,g+=u;g>0;a=a*256+t[r+c],c+=F,g-=8);for(o=a&(1<<-g)-1,a>>=-g,g+=n;g>0;o=o*256+t[r+c],c+=F,g-=8);if(a===0)a=1-f;else{if(a===p)return o?NaN:(w?-1:1)*(1/0);o=o+Math.pow(2,n),a=a-f}return(w?-1:1)*o*Math.pow(2,a-n)};Y.write=function(t,r,e,n,i,a){var o,u,p,f=a*8-i-1,g=(1<<f)-1,c=g>>1,F=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,w=n?0:a-1,E=n?1:-1,Ir=r<0||r===0&&1/r<0?1:0;for(r=Math.abs(r),isNaN(r)||r===1/0?(u=isNaN(r)?1:0,o=g):(o=Math.floor(Math.log(r)/Math.LN2),r*(p=Math.pow(2,-o))<1&&(o--,p*=2),o+c>=1?r+=F/p:r+=F*Math.pow(2,1-c),r*p>=2&&(o++,p/=2),o+c>=g?(u=0,o=g):o+c>=1?(u=(r*p-1)*Math.pow(2,i),o=o+c):(u=r*Math.pow(2,c-1)*Math.pow(2,i),o=0));i>=8;t[e+w]=u&255,w+=E,u/=256,i-=8);for(o=o<<i|u,f+=i;f>0;t[e+w]=o&255,w+=E,o/=256,f-=8);t[e+w-E]|=Ir*128}});var mr=M(D=>{"use strict";l();var z=ir(),C=ar(),or=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;D.Buffer=s;D.SlowBuffer=zr;D.INSPECT_MAX_BYTES=50;var O=2147483647;D.kMaxLength=O;s.TYPED_ARRAY_SUPPORT=Or();!s.TYPED_ARRAY_SUPPORT&&typeof console!="undefined"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function Or(){try{var t=new Uint8Array(1),r={foo:function(){return 42}};return Object.setPrototypeOf(r,Uint8Array.prototype),Object.setPrototypeOf(t,r),t.foo()===42}catch(e){return!1}}Object.defineProperty(s.prototype,"parent",{enumerable:!0,get:function(){if(!!s.isBuffer(this))return this.buffer}});Object.defineProperty(s.prototype,"offset",{enumerable:!0,get:function(){if(!!s.isBuffer(this))return this.byteOffset}});function B(t){if(t>O)throw new RangeError('The value "'+t+'" is invalid for option "size"');var r=new Uint8Array(t);return Object.setPrototypeOf(r,s.prototype),r}function s(t,r,e){if(typeof t=="number"){if(typeof r=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return j(t)}return ur(t,r,e)}s.poolSize=8192;function ur(t,r,e){if(typeof t=="string")return qr(t,r);if(ArrayBuffer.isView(t))return Wr(t);if(t==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(I(t,ArrayBuffer)||t&&I(t.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(I(t,SharedArrayBuffer)||t&&I(t.buffer,SharedArrayBuffer)))return X(t,r,e);if(typeof t=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var n=t.valueOf&&t.valueOf();if(n!=null&&n!==t)return s.from(n,r,e);var i=Yr(t);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof t[Symbol.toPrimitive]=="function")return s.from(t[Symbol.toPrimitive]("string"),r,e);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}s.from=function(t,r,e){return ur(t,r,e)};Object.setPrototypeOf(s.prototype,Uint8Array.prototype);Object.setPrototypeOf(s,Uint8Array);function cr(t){if(typeof t!="number")throw new TypeError('"size" argument must be of type number');if(t<0)throw new RangeError('The value "'+t+'" is invalid for option "size"')}function Hr(t,r,e){return cr(t),t<=0?B(t):r!==void 0?typeof e=="string"?B(t).fill(r,e):B(t).fill(r):B(t)}s.alloc=function(t,r,e){return Hr(t,r,e)};function j(t){return cr(t),B(t<0?0:K(t)|0)}s.allocUnsafe=function(t){return j(t)};s.allocUnsafeSlow=function(t){return j(t)};function qr(t,r){if((typeof r!="string"||r==="")&&(r="utf8"),!s.isEncoding(r))throw new TypeError("Unknown encoding: "+r);var e=lr(t,r)|0,n=B(e),i=n.write(t,r);return i!==e&&(n=n.slice(0,i)),n}function Q(t){for(var r=t.length<0?0:K(t.length)|0,e=B(r),n=0;n<r;n+=1)e[n]=t[n]&255;return e}function Wr(t){if(I(t,Uint8Array)){var r=new Uint8Array(t);return X(r.buffer,r.byteOffset,r.byteLength)}return Q(t)}function X(t,r,e){if(r<0||t.byteLength<r)throw new RangeError('"offset" is outside of buffer bounds');if(t.byteLength<r+(e||0))throw new RangeError('"length" is outside of buffer bounds');var n;return r===void 0&&e===void 0?n=new Uint8Array(t):e===void 0?n=new Uint8Array(t,r):n=new Uint8Array(t,r,e),Object.setPrototypeOf(n,s.prototype),n}function Yr(t){if(s.isBuffer(t)){var r=K(t.length)|0,e=B(r);return e.length===0||t.copy(e,0,0,r),e}if(t.length!==void 0)return typeof t.length!="number"||V(t.length)?B(0):Q(t);if(t.type==="Buffer"&&Array.isArray(t.data))return Q(t.data)}function K(t){if(t>=O)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+O.toString(16)+" bytes");return t|0}function zr(t){return+t!=t&&(t=0),s.alloc(+t)}s.isBuffer=function(r){return r!=null&&r._isBuffer===!0&&r!==s.prototype};s.compare=function(r,e){if(I(r,Uint8Array)&&(r=s.from(r,r.offset,r.byteLength)),I(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),!s.isBuffer(r)||!s.isBuffer(e))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(r===e)return 0;for(var n=r.length,i=e.length,a=0,o=Math.min(n,i);a<o;++a)if(r[a]!==e[a]){n=r[a],i=e[a];break}return n<i?-1:i<n?1:0};s.isEncoding=function(r){switch(String(r).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};s.concat=function(r,e){if(!Array.isArray(r))throw new TypeError('"list" argument must be an Array of Buffers');if(r.length===0)return s.alloc(0);var n;if(e===void 0)for(e=0,n=0;n<r.length;++n)e+=r[n].length;var i=s.allocUnsafe(e),a=0;for(n=0;n<r.length;++n){var o=r[n];if(I(o,Uint8Array))a+o.length>i.length?s.from(o).copy(i,a):Uint8Array.prototype.set.call(i,o,a);else if(s.isBuffer(o))o.copy(i,a);else throw new TypeError('"list" argument must be an Array of Buffers');a+=o.length}return i};function lr(t,r){if(s.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||I(t,ArrayBuffer))return t.byteLength;if(typeof t!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var e=t.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&e===0)return 0;for(var i=!1;;)switch(r){case"ascii":case"latin1":case"binary":return e;case"utf8":case"utf-8":return J(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return e*2;case"hex":return e>>>1;case"base64":return xr(t).length;default:if(i)return n?-1:J(t).length;r=(""+r).toLowerCase(),i=!0}}s.byteLength=lr;function Qr(t,r,e){var n=!1;if((r===void 0||r<0)&&(r=0),r>this.length||((e===void 0||e>this.length)&&(e=this.length),e<=0)||(e>>>=0,r>>>=0,e<=r))return"";for(t||(t="utf8");;)switch(t){case"hex":return te(this,r,e);case"utf8":case"utf-8":return gr(this,r,e);case"ascii":return re(this,r,e);case"latin1":case"binary":return ee(this,r,e);case"base64":return Zr(this,r,e);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ne(this,r,e);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}s.prototype._isBuffer=!0;function _(t,r,e){var n=t[r];t[r]=t[e],t[e]=n}s.prototype.swap16=function(){var r=this.length;if(r%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<r;e+=2)_(this,e,e+1);return this};s.prototype.swap32=function(){var r=this.length;if(r%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<r;e+=4)_(this,e,e+3),_(this,e+1,e+2);return this};s.prototype.swap64=function(){var r=this.length;if(r%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<r;e+=8)_(this,e,e+7),_(this,e+1,e+6),_(this,e+2,e+5),_(this,e+3,e+4);return this};s.prototype.toString=function(){var r=this.length;return r===0?"":arguments.length===0?gr(this,0,r):Qr.apply(this,arguments)};s.prototype.toLocaleString=s.prototype.toString;s.prototype.equals=function(r){if(!s.isBuffer(r))throw new TypeError("Argument must be a Buffer");return this===r?!0:s.compare(this,r)===0};s.prototype.inspect=function(){var r="",e=D.INSPECT_MAX_BYTES;return r=this.toString("hex",0,e).replace(/(.{2})/g,"$1 ").trim(),this.length>e&&(r+=" ... "),"<Buffer "+r+">"};or&&(s.prototype[or]=s.prototype.inspect);s.prototype.compare=function(r,e,n,i,a){if(I(r,Uint8Array)&&(r=s.from(r,r.offset,r.byteLength)),!s.isBuffer(r))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof r);if(e===void 0&&(e=0),n===void 0&&(n=r?r.length:0),i===void 0&&(i=0),a===void 0&&(a=this.length),e<0||n>r.length||i<0||a>this.length)throw new RangeError("out of range index");if(i>=a&&e>=n)return 0;if(i>=a)return-1;if(e>=n)return 1;if(e>>>=0,n>>>=0,i>>>=0,a>>>=0,this===r)return 0;for(var o=a-i,u=n-e,p=Math.min(o,u),f=this.slice(i,a),g=r.slice(e,n),c=0;c<p;++c)if(f[c]!==g[c]){o=f[c],u=g[c];break}return o<u?-1:u<o?1:0};function fr(t,r,e,n,i){if(t.length===0)return-1;if(typeof e=="string"?(n=e,e=0):e>2147483647?e=2147483647:e<-2147483648&&(e=-2147483648),e=+e,V(e)&&(e=i?0:t.length-1),e<0&&(e=t.length+e),e>=t.length){if(i)return-1;e=t.length-1}else if(e<0)if(i)e=0;else return-1;if(typeof r=="string"&&(r=s.from(r,n)),s.isBuffer(r))return r.length===0?-1:sr(t,r,e,n,i);if(typeof r=="number")return r=r&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(t,r,e):Uint8Array.prototype.lastIndexOf.call(t,r,e):sr(t,[r],e,n,i);throw new TypeError("val must be string, number or Buffer")}function sr(t,r,e,n,i){var a=1,o=t.length,u=r.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(t.length<2||r.length<2)return-1;a=2,o/=2,u/=2,e/=2}function p(w,E){return a===1?w[E]:w.readUInt16BE(E*a)}var f;if(i){var g=-1;for(f=e;f<o;f++)if(p(t,f)===p(r,g===-1?0:f-g)){if(g===-1&&(g=f),f-g+1===u)return g*a}else g!==-1&&(f-=f-g),g=-1}else for(e+u>o&&(e=o-u),f=e;f>=0;f--){for(var c=!0,F=0;F<u;F++)if(p(t,f+F)!==p(r,F)){c=!1;break}if(c)return f}return-1}s.prototype.includes=function(r,e,n){return this.indexOf(r,e,n)!==-1};s.prototype.indexOf=function(r,e,n){return fr(this,r,e,n,!0)};s.prototype.lastIndexOf=function(r,e,n){return fr(this,r,e,n,!1)};function Xr(t,r,e,n){e=Number(e)||0;var i=t.length-e;n?(n=Number(n),n>i&&(n=i)):n=i;var a=r.length;n>a/2&&(n=a/2);for(var o=0;o<n;++o){var u=parseInt(r.substr(o*2,2),16);if(V(u))return o;t[e+o]=u}return o}function Jr(t,r,e,n){return H(J(r,t.length-e),t,e,n)}function jr(t,r,e,n){return H(oe(r),t,e,n)}function Kr(t,r,e,n){return H(xr(r),t,e,n)}function Vr(t,r,e,n){return H(se(r,t.length-e),t,e,n)}s.prototype.write=function(r,e,n,i){if(e===void 0)i="utf8",n=this.length,e=0;else if(n===void 0&&typeof e=="string")i=e,n=this.length,e=0;else if(isFinite(e))e=e>>>0,isFinite(n)?(n=n>>>0,i===void 0&&(i="utf8")):(i=n,n=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var a=this.length-e;if((n===void 0||n>a)&&(n=a),r.length>0&&(n<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var o=!1;;)switch(i){case"hex":return Xr(this,r,e,n);case"utf8":case"utf-8":return Jr(this,r,e,n);case"ascii":case"latin1":case"binary":return jr(this,r,e,n);case"base64":return Kr(this,r,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Vr(this,r,e,n);default:if(o)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),o=!0}};s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function Zr(t,r,e){return r===0&&e===t.length?z.fromByteArray(t):z.fromByteArray(t.slice(r,e))}function gr(t,r,e){e=Math.min(t.length,e);for(var n=[],i=r;i<e;){var a=t[i],o=null,u=a>239?4:a>223?3:a>191?2:1;if(i+u<=e){var p,f,g,c;switch(u){case 1:a<128&&(o=a);break;case 2:p=t[i+1],(p&192)===128&&(c=(a&31)<<6|p&63,c>127&&(o=c));break;case 3:p=t[i+1],f=t[i+2],(p&192)===128&&(f&192)===128&&(c=(a&15)<<12|(p&63)<<6|f&63,c>2047&&(c<55296||c>57343)&&(o=c));break;case 4:p=t[i+1],f=t[i+2],g=t[i+3],(p&192)===128&&(f&192)===128&&(g&192)===128&&(c=(a&15)<<18|(p&63)<<12|(f&63)<<6|g&63,c>65535&&c<1114112&&(o=c))}}o===null?(o=65533,u=1):o>65535&&(o-=65536,n.push(o>>>10&1023|55296),o=56320|o&1023),n.push(o),i+=u}return $r(n)}var pr=4096;function $r(t){var r=t.length;if(r<=pr)return String.fromCharCode.apply(String,t);for(var e="",n=0;n<r;)e+=String.fromCharCode.apply(String,t.slice(n,n+=pr));return e}function re(t,r,e){var n="";e=Math.min(t.length,e);for(var i=r;i<e;++i)n+=String.fromCharCode(t[i]&127);return n}function ee(t,r,e){var n="";e=Math.min(t.length,e);for(var i=r;i<e;++i)n+=String.fromCharCode(t[i]);return n}function te(t,r,e){var n=t.length;(!r||r<0)&&(r=0),(!e||e<0||e>n)&&(e=n);for(var i="",a=r;a<e;++a)i+=pe[t[a]];return i}function ne(t,r,e){for(var n=t.slice(r,e),i="",a=0;a<n.length-1;a+=2)i+=String.fromCharCode(n[a]+n[a+1]*256);return i}s.prototype.slice=function(r,e){var n=this.length;r=~~r,e=e===void 0?n:~~e,r<0?(r+=n,r<0&&(r=0)):r>n&&(r=n),e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),e<r&&(e=r);var i=this.subarray(r,e);return Object.setPrototypeOf(i,s.prototype),i};function d(t,r,e){if(t%1!==0||t<0)throw new RangeError("offset is not uint");if(t+r>e)throw new RangeError("Trying to access beyond buffer length")}s.prototype.readUintLE=s.prototype.readUIntLE=function(r,e,n){r=r>>>0,e=e>>>0,n||d(r,e,this.length);for(var i=this[r],a=1,o=0;++o<e&&(a*=256);)i+=this[r+o]*a;return i};s.prototype.readUintBE=s.prototype.readUIntBE=function(r,e,n){r=r>>>0,e=e>>>0,n||d(r,e,this.length);for(var i=this[r+--e],a=1;e>0&&(a*=256);)i+=this[r+--e]*a;return i};s.prototype.readUint8=s.prototype.readUInt8=function(r,e){return r=r>>>0,e||d(r,1,this.length),this[r]};s.prototype.readUint16LE=s.prototype.readUInt16LE=function(r,e){return r=r>>>0,e||d(r,2,this.length),this[r]|this[r+1]<<8};s.prototype.readUint16BE=s.prototype.readUInt16BE=function(r,e){return r=r>>>0,e||d(r,2,this.length),this[r]<<8|this[r+1]};s.prototype.readUint32LE=s.prototype.readUInt32LE=function(r,e){return r=r>>>0,e||d(r,4,this.length),(this[r]|this[r+1]<<8|this[r+2]<<16)+this[r+3]*16777216};s.prototype.readUint32BE=s.prototype.readUInt32BE=function(r,e){return r=r>>>0,e||d(r,4,this.length),this[r]*16777216+(this[r+1]<<16|this[r+2]<<8|this[r+3])};s.prototype.readIntLE=function(r,e,n){r=r>>>0,e=e>>>0,n||d(r,e,this.length);for(var i=this[r],a=1,o=0;++o<e&&(a*=256);)i+=this[r+o]*a;return a*=128,i>=a&&(i-=Math.pow(2,8*e)),i};s.prototype.readIntBE=function(r,e,n){r=r>>>0,e=e>>>0,n||d(r,e,this.length);for(var i=e,a=1,o=this[r+--i];i>0&&(a*=256);)o+=this[r+--i]*a;return a*=128,o>=a&&(o-=Math.pow(2,8*e)),o};s.prototype.readInt8=function(r,e){return r=r>>>0,e||d(r,1,this.length),this[r]&128?(255-this[r]+1)*-1:this[r]};s.prototype.readInt16LE=function(r,e){r=r>>>0,e||d(r,2,this.length);var n=this[r]|this[r+1]<<8;return n&32768?n|4294901760:n};s.prototype.readInt16BE=function(r,e){r=r>>>0,e||d(r,2,this.length);var n=this[r+1]|this[r]<<8;return n&32768?n|4294901760:n};s.prototype.readInt32LE=function(r,e){return r=r>>>0,e||d(r,4,this.length),this[r]|this[r+1]<<8|this[r+2]<<16|this[r+3]<<24};s.prototype.readInt32BE=function(r,e){return r=r>>>0,e||d(r,4,this.length),this[r]<<24|this[r+1]<<16|this[r+2]<<8|this[r+3]};s.prototype.readFloatLE=function(r,e){return r=r>>>0,e||d(r,4,this.length),C.read(this,r,!0,23,4)};s.prototype.readFloatBE=function(r,e){return r=r>>>0,e||d(r,4,this.length),C.read(this,r,!1,23,4)};s.prototype.readDoubleLE=function(r,e){return r=r>>>0,e||d(r,8,this.length),C.read(this,r,!0,52,8)};s.prototype.readDoubleBE=function(r,e){return r=r>>>0,e||d(r,8,this.length),C.read(this,r,!1,52,8)};function T(t,r,e,n,i,a){if(!s.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(r>i||r<a)throw new RangeError('"value" argument is out of bounds');if(e+n>t.length)throw new RangeError("Index out of range")}s.prototype.writeUintLE=s.prototype.writeUIntLE=function(r,e,n,i){if(r=+r,e=e>>>0,n=n>>>0,!i){var a=Math.pow(2,8*n)-1;T(this,r,e,n,a,0)}var o=1,u=0;for(this[e]=r&255;++u<n&&(o*=256);)this[e+u]=r/o&255;return e+n};s.prototype.writeUintBE=s.prototype.writeUIntBE=function(r,e,n,i){if(r=+r,e=e>>>0,n=n>>>0,!i){var a=Math.pow(2,8*n)-1;T(this,r,e,n,a,0)}var o=n-1,u=1;for(this[e+o]=r&255;--o>=0&&(u*=256);)this[e+o]=r/u&255;return e+n};s.prototype.writeUint8=s.prototype.writeUInt8=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,1,255,0),this[e]=r&255,e+1};s.prototype.writeUint16LE=s.prototype.writeUInt16LE=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,2,65535,0),this[e]=r&255,this[e+1]=r>>>8,e+2};s.prototype.writeUint16BE=s.prototype.writeUInt16BE=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,2,65535,0),this[e]=r>>>8,this[e+1]=r&255,e+2};s.prototype.writeUint32LE=s.prototype.writeUInt32LE=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,4,4294967295,0),this[e+3]=r>>>24,this[e+2]=r>>>16,this[e+1]=r>>>8,this[e]=r&255,e+4};s.prototype.writeUint32BE=s.prototype.writeUInt32BE=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,4,4294967295,0),this[e]=r>>>24,this[e+1]=r>>>16,this[e+2]=r>>>8,this[e+3]=r&255,e+4};s.prototype.writeIntLE=function(r,e,n,i){if(r=+r,e=e>>>0,!i){var a=Math.pow(2,8*n-1);T(this,r,e,n,a-1,-a)}var o=0,u=1,p=0;for(this[e]=r&255;++o<n&&(u*=256);)r<0&&p===0&&this[e+o-1]!==0&&(p=1),this[e+o]=(r/u>>0)-p&255;return e+n};s.prototype.writeIntBE=function(r,e,n,i){if(r=+r,e=e>>>0,!i){var a=Math.pow(2,8*n-1);T(this,r,e,n,a-1,-a)}var o=n-1,u=1,p=0;for(this[e+o]=r&255;--o>=0&&(u*=256);)r<0&&p===0&&this[e+o+1]!==0&&(p=1),this[e+o]=(r/u>>0)-p&255;return e+n};s.prototype.writeInt8=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,1,127,-128),r<0&&(r=255+r+1),this[e]=r&255,e+1};s.prototype.writeInt16LE=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,2,32767,-32768),this[e]=r&255,this[e+1]=r>>>8,e+2};s.prototype.writeInt16BE=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,2,32767,-32768),this[e]=r>>>8,this[e+1]=r&255,e+2};s.prototype.writeInt32LE=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,4,2147483647,-2147483648),this[e]=r&255,this[e+1]=r>>>8,this[e+2]=r>>>16,this[e+3]=r>>>24,e+4};s.prototype.writeInt32BE=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,4,2147483647,-2147483648),r<0&&(r=4294967295+r+1),this[e]=r>>>24,this[e+1]=r>>>16,this[e+2]=r>>>8,this[e+3]=r&255,e+4};function hr(t,r,e,n,i,a){if(e+n>t.length)throw new RangeError("Index out of range");if(e<0)throw new RangeError("Index out of range")}function dr(t,r,e,n,i){return r=+r,e=e>>>0,i||hr(t,r,e,4,34028234663852886e22,-34028234663852886e22),C.write(t,r,e,n,23,4),e+4}s.prototype.writeFloatLE=function(r,e,n){return dr(this,r,e,!0,n)};s.prototype.writeFloatBE=function(r,e,n){return dr(this,r,e,!1,n)};function yr(t,r,e,n,i){return r=+r,e=e>>>0,i||hr(t,r,e,8,17976931348623157e292,-17976931348623157e292),C.write(t,r,e,n,52,8),e+8}s.prototype.writeDoubleLE=function(r,e,n){return yr(this,r,e,!0,n)};s.prototype.writeDoubleBE=function(r,e,n){return yr(this,r,e,!1,n)};s.prototype.copy=function(r,e,n,i){if(!s.isBuffer(r))throw new TypeError("argument should be a Buffer");if(n||(n=0),!i&&i!==0&&(i=this.length),e>=r.length&&(e=r.length),e||(e=0),i>0&&i<n&&(i=n),i===n||r.length===0||this.length===0)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),r.length-e<i-n&&(i=r.length-e+n);var a=i-n;return this===r&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(e,n,i):Uint8Array.prototype.set.call(r,this.subarray(n,i),e),a};s.prototype.fill=function(r,e,n,i){if(typeof r=="string"){if(typeof e=="string"?(i=e,e=0,n=this.length):typeof n=="string"&&(i=n,n=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!s.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(r.length===1){var a=r.charCodeAt(0);(i==="utf8"&&a<128||i==="latin1")&&(r=a)}}else typeof r=="number"?r=r&255:typeof r=="boolean"&&(r=Number(r));if(e<0||this.length<e||this.length<n)throw new RangeError("Out of range index");if(n<=e)return this;e=e>>>0,n=n===void 0?this.length:n>>>0,r||(r=0);var o;if(typeof r=="number")for(o=e;o<n;++o)this[o]=r;else{var u=s.isBuffer(r)?r:s.from(r,i),p=u.length;if(p===0)throw new TypeError('The value "'+r+'" is invalid for argument "value"');for(o=0;o<n-e;++o)this[o+e]=u[o%p]}return this};var ie=/[^+/0-9A-Za-z-_]/g;function ae(t){if(t=t.split("=")[0],t=t.trim().replace(ie,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function J(t,r){r=r||1/0;for(var e,n=t.length,i=null,a=[],o=0;o<n;++o){if(e=t.charCodeAt(o),e>55295&&e<57344){if(!i){if(e>56319){(r-=3)>-1&&a.push(239,191,189);continue}else if(o+1===n){(r-=3)>-1&&a.push(239,191,189);continue}i=e;continue}if(e<56320){(r-=3)>-1&&a.push(239,191,189),i=e;continue}e=(i-55296<<10|e-56320)+65536}else i&&(r-=3)>-1&&a.push(239,191,189);if(i=null,e<128){if((r-=1)<0)break;a.push(e)}else if(e<2048){if((r-=2)<0)break;a.push(e>>6|192,e&63|128)}else if(e<65536){if((r-=3)<0)break;a.push(e>>12|224,e>>6&63|128,e&63|128)}else if(e<1114112){if((r-=4)<0)break;a.push(e>>18|240,e>>12&63|128,e>>6&63|128,e&63|128)}else throw new Error("Invalid code point")}return a}function oe(t){for(var r=[],e=0;e<t.length;++e)r.push(t.charCodeAt(e)&255);return r}function se(t,r){for(var e,n,i,a=[],o=0;o<t.length&&!((r-=2)<0);++o)e=t.charCodeAt(o),n=e>>8,i=e%256,a.push(i),a.push(n);return a}function xr(t){return z.toByteArray(ae(t))}function H(t,r,e,n){for(var i=0;i<n&&!(i+e>=r.length||i>=t.length);++i)r[i+e]=t[i];return i}function I(t,r){return t instanceof r||t!=null&&t.constructor!=null&&t.constructor.name!=null&&t.constructor.name===r.name}function V(t){return t!==t}var pe=function(){for(var t="0123456789abcdef",r=new Array(256),e=0;e<16;++e)for(var n=e*16,i=0;i<16;++i)r[n+i]=t[e]+t[i];return r}()});var kr=M((xe,Fr)=>{l();var h=Fr.exports={},b,S;function Z(){throw new Error("setTimeout has not been defined")}function $(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?b=setTimeout:b=Z}catch(t){b=Z}try{typeof clearTimeout=="function"?S=clearTimeout:S=$}catch(t){S=$}})();function Tr(t){if(b===setTimeout)return setTimeout(t,0);if((b===Z||!b)&&setTimeout)return b=setTimeout,setTimeout(t,0);try{return b(t,0)}catch(r){try{return b.call(null,t,0)}catch(e){return b.call(this,t,0)}}}function ue(t){if(S===clearTimeout)return clearTimeout(t);if((S===$||!S)&&clearTimeout)return S=clearTimeout,clearTimeout(t);try{return S(t)}catch(r){try{return S.call(null,t)}catch(e){return S.call(this,t)}}}var R=[],N=!1,U,q=-1;function ce(){!N||!U||(N=!1,U.length?R=U.concat(R):q=-1,R.length&&wr())}function wr(){if(!N){var t=Tr(ce);N=!0;for(var r=R.length;r;){for(U=R,R=[];++q<r;)U&&U[q].run();q=-1,r=R.length}U=null,N=!1,ue(t)}}h.nextTick=function(t){var r=new Array(arguments.length-1);if(arguments.length>1)for(var e=1;e<arguments.length;e++)r[e-1]=arguments[e];R.push(new vr(t,r)),R.length===1&&!N&&Tr(wr)};function vr(t,r){this.fun=t,this.array=r}vr.prototype.run=function(){this.fun.apply(null,this.array)};h.title="browser";h.browser=!0;h.env={};h.argv=[];h.version="";h.versions={};function A(){}h.on=A;h.addListener=A;h.once=A;h.off=A;h.removeListener=A;h.removeAllListeners=A;h.emit=A;h.prependListener=A;h.prependOnceListener=A;h.listeners=function(t){return[]};h.binding=function(t){throw new Error("process.binding is not supported")};h.cwd=function(){return"/"};h.chdir=function(t){throw new Error("process.chdir is not supported")};h.umask=function(){return 0}});var y,x,me,l=Lr(()=>{y=er(mr()),x=er(kr()),me=function(t){function r(){var n=this||self;return delete t.prototype.__magic__,n}if(typeof globalThis=="object")return globalThis;if(this)return r();t.defineProperty(t.prototype,"__magic__",{configurable:!0,get:r});var e=__magic__;return e}(Object)});var fe={};_r(fe,{getTransactionLinkWithLabel:()=>le});module.exports=Ur(fe);l();l();l();l();l();l();l();l();l();l();l();l();var le=({transaction:t,direction:r})=>{var p;let e=r==="Internal",n=t.sender;if(e)return{link:(p=t.links.senderLink)!=null?p:"",label:"Smart Contract transaction",address:n};let i=r==="Out",a=i?t.links.receiverLink:t.links.senderLink,o="";return r==="Self"&&t.receiverAssets?o=t.receiverAssets.name:(n=i?t.receiver:t.sender,o=i?"To:":"From:"),{label:o,address:n,link:a!=null?a:""}};0&&(module.exports={getTransactionLinkWithLabel});
1
+ "use strict";var br=Object.create;var P=Object.defineProperty;var Sr=Object.getOwnPropertyDescriptor;var Br=Object.getOwnPropertyNames;var Rr=Object.getPrototypeOf,Ar=Object.prototype.hasOwnProperty;var Lr=(t,r)=>()=>(t&&(r=t(t=0)),r);var M=(t,r)=>()=>(r||t((r={exports:{}}).exports,r),r.exports),_r=(t,r)=>{for(var e in r)P(t,e,{get:r[e],enumerable:!0})},rr=(t,r,e,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let i of Br(r))!Ar.call(t,i)&&i!==e&&P(t,i,{get:()=>r[i],enumerable:!(n=Sr(r,i))||n.enumerable});return t};var er=(t,r,e)=>(e=t!=null?br(Rr(t)):{},rr(r||!t||!t.__esModule?P(e,"default",{value:t,enumerable:!0}):e,t)),Ur=t=>rr(P({},"__esModule",{value:!0}),t);var ir=M(G=>{"use strict";l();G.byteLength=Cr;G.toByteArray=Nr;G.fromByteArray=Gr;var F=[],v=[],Er=typeof Uint8Array!="undefined"?Uint8Array:Array,W="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(L=0,tr=W.length;L<tr;++L)F[L]=W[L],v[W.charCodeAt(L)]=L;var L,tr;v["-".charCodeAt(0)]=62;v["_".charCodeAt(0)]=63;function nr(t){var r=t.length;if(r%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var e=t.indexOf("=");e===-1&&(e=r);var n=e===r?0:4-e%4;return[e,n]}function Cr(t){var r=nr(t),e=r[0],n=r[1];return(e+n)*3/4-n}function Dr(t,r,e){return(r+e)*3/4-e}function Nr(t){var r,e=nr(t),n=e[0],i=e[1],a=new Er(Dr(t,n,i)),o=0,u=i>0?n-4:n,p;for(p=0;p<u;p+=4)r=v[t.charCodeAt(p)]<<18|v[t.charCodeAt(p+1)]<<12|v[t.charCodeAt(p+2)]<<6|v[t.charCodeAt(p+3)],a[o++]=r>>16&255,a[o++]=r>>8&255,a[o++]=r&255;return i===2&&(r=v[t.charCodeAt(p)]<<2|v[t.charCodeAt(p+1)]>>4,a[o++]=r&255),i===1&&(r=v[t.charCodeAt(p)]<<10|v[t.charCodeAt(p+1)]<<4|v[t.charCodeAt(p+2)]>>2,a[o++]=r>>8&255,a[o++]=r&255),a}function Pr(t){return F[t>>18&63]+F[t>>12&63]+F[t>>6&63]+F[t&63]}function Mr(t,r,e){for(var n,i=[],a=r;a<e;a+=3)n=(t[a]<<16&16711680)+(t[a+1]<<8&65280)+(t[a+2]&255),i.push(Pr(n));return i.join("")}function Gr(t){for(var r,e=t.length,n=e%3,i=[],a=16383,o=0,u=e-n;o<u;o+=a)i.push(Mr(t,o,o+a>u?u:o+a));return n===1?(r=t[e-1],i.push(F[r>>2]+F[r<<4&63]+"==")):n===2&&(r=(t[e-2]<<8)+t[e-1],i.push(F[r>>10]+F[r>>4&63]+F[r<<2&63]+"=")),i.join("")}});var ar=M(Y=>{l();Y.read=function(t,r,e,n,i){var a,o,u=i*8-n-1,p=(1<<u)-1,f=p>>1,g=-7,c=e?i-1:0,k=e?-1:1,w=t[r+c];for(c+=k,a=w&(1<<-g)-1,w>>=-g,g+=u;g>0;a=a*256+t[r+c],c+=k,g-=8);for(o=a&(1<<-g)-1,a>>=-g,g+=n;g>0;o=o*256+t[r+c],c+=k,g-=8);if(a===0)a=1-f;else{if(a===p)return o?NaN:(w?-1:1)*(1/0);o=o+Math.pow(2,n),a=a-f}return(w?-1:1)*o*Math.pow(2,a-n)};Y.write=function(t,r,e,n,i,a){var o,u,p,f=a*8-i-1,g=(1<<f)-1,c=g>>1,k=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,w=n?0:a-1,E=n?1:-1,Ir=r<0||r===0&&1/r<0?1:0;for(r=Math.abs(r),isNaN(r)||r===1/0?(u=isNaN(r)?1:0,o=g):(o=Math.floor(Math.log(r)/Math.LN2),r*(p=Math.pow(2,-o))<1&&(o--,p*=2),o+c>=1?r+=k/p:r+=k*Math.pow(2,1-c),r*p>=2&&(o++,p/=2),o+c>=g?(u=0,o=g):o+c>=1?(u=(r*p-1)*Math.pow(2,i),o=o+c):(u=r*Math.pow(2,c-1)*Math.pow(2,i),o=0));i>=8;t[e+w]=u&255,w+=E,u/=256,i-=8);for(o=o<<i|u,f+=i;f>0;t[e+w]=o&255,w+=E,o/=256,f-=8);t[e+w-E]|=Ir*128}});var mr=M(D=>{"use strict";l();var z=ir(),C=ar(),or=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;D.Buffer=s;D.SlowBuffer=zr;D.INSPECT_MAX_BYTES=50;var O=2147483647;D.kMaxLength=O;s.TYPED_ARRAY_SUPPORT=Or();!s.TYPED_ARRAY_SUPPORT&&typeof console!="undefined"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function Or(){try{var t=new Uint8Array(1),r={foo:function(){return 42}};return Object.setPrototypeOf(r,Uint8Array.prototype),Object.setPrototypeOf(t,r),t.foo()===42}catch(e){return!1}}Object.defineProperty(s.prototype,"parent",{enumerable:!0,get:function(){if(!!s.isBuffer(this))return this.buffer}});Object.defineProperty(s.prototype,"offset",{enumerable:!0,get:function(){if(!!s.isBuffer(this))return this.byteOffset}});function B(t){if(t>O)throw new RangeError('The value "'+t+'" is invalid for option "size"');var r=new Uint8Array(t);return Object.setPrototypeOf(r,s.prototype),r}function s(t,r,e){if(typeof t=="number"){if(typeof r=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return j(t)}return ur(t,r,e)}s.poolSize=8192;function ur(t,r,e){if(typeof t=="string")return qr(t,r);if(ArrayBuffer.isView(t))return Wr(t);if(t==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(I(t,ArrayBuffer)||t&&I(t.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(I(t,SharedArrayBuffer)||t&&I(t.buffer,SharedArrayBuffer)))return X(t,r,e);if(typeof t=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var n=t.valueOf&&t.valueOf();if(n!=null&&n!==t)return s.from(n,r,e);var i=Yr(t);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof t[Symbol.toPrimitive]=="function")return s.from(t[Symbol.toPrimitive]("string"),r,e);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}s.from=function(t,r,e){return ur(t,r,e)};Object.setPrototypeOf(s.prototype,Uint8Array.prototype);Object.setPrototypeOf(s,Uint8Array);function cr(t){if(typeof t!="number")throw new TypeError('"size" argument must be of type number');if(t<0)throw new RangeError('The value "'+t+'" is invalid for option "size"')}function Hr(t,r,e){return cr(t),t<=0?B(t):r!==void 0?typeof e=="string"?B(t).fill(r,e):B(t).fill(r):B(t)}s.alloc=function(t,r,e){return Hr(t,r,e)};function j(t){return cr(t),B(t<0?0:K(t)|0)}s.allocUnsafe=function(t){return j(t)};s.allocUnsafeSlow=function(t){return j(t)};function qr(t,r){if((typeof r!="string"||r==="")&&(r="utf8"),!s.isEncoding(r))throw new TypeError("Unknown encoding: "+r);var e=lr(t,r)|0,n=B(e),i=n.write(t,r);return i!==e&&(n=n.slice(0,i)),n}function Q(t){for(var r=t.length<0?0:K(t.length)|0,e=B(r),n=0;n<r;n+=1)e[n]=t[n]&255;return e}function Wr(t){if(I(t,Uint8Array)){var r=new Uint8Array(t);return X(r.buffer,r.byteOffset,r.byteLength)}return Q(t)}function X(t,r,e){if(r<0||t.byteLength<r)throw new RangeError('"offset" is outside of buffer bounds');if(t.byteLength<r+(e||0))throw new RangeError('"length" is outside of buffer bounds');var n;return r===void 0&&e===void 0?n=new Uint8Array(t):e===void 0?n=new Uint8Array(t,r):n=new Uint8Array(t,r,e),Object.setPrototypeOf(n,s.prototype),n}function Yr(t){if(s.isBuffer(t)){var r=K(t.length)|0,e=B(r);return e.length===0||t.copy(e,0,0,r),e}if(t.length!==void 0)return typeof t.length!="number"||V(t.length)?B(0):Q(t);if(t.type==="Buffer"&&Array.isArray(t.data))return Q(t.data)}function K(t){if(t>=O)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+O.toString(16)+" bytes");return t|0}function zr(t){return+t!=t&&(t=0),s.alloc(+t)}s.isBuffer=function(r){return r!=null&&r._isBuffer===!0&&r!==s.prototype};s.compare=function(r,e){if(I(r,Uint8Array)&&(r=s.from(r,r.offset,r.byteLength)),I(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),!s.isBuffer(r)||!s.isBuffer(e))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(r===e)return 0;for(var n=r.length,i=e.length,a=0,o=Math.min(n,i);a<o;++a)if(r[a]!==e[a]){n=r[a],i=e[a];break}return n<i?-1:i<n?1:0};s.isEncoding=function(r){switch(String(r).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};s.concat=function(r,e){if(!Array.isArray(r))throw new TypeError('"list" argument must be an Array of Buffers');if(r.length===0)return s.alloc(0);var n;if(e===void 0)for(e=0,n=0;n<r.length;++n)e+=r[n].length;var i=s.allocUnsafe(e),a=0;for(n=0;n<r.length;++n){var o=r[n];if(I(o,Uint8Array))a+o.length>i.length?s.from(o).copy(i,a):Uint8Array.prototype.set.call(i,o,a);else if(s.isBuffer(o))o.copy(i,a);else throw new TypeError('"list" argument must be an Array of Buffers');a+=o.length}return i};function lr(t,r){if(s.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||I(t,ArrayBuffer))return t.byteLength;if(typeof t!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var e=t.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&e===0)return 0;for(var i=!1;;)switch(r){case"ascii":case"latin1":case"binary":return e;case"utf8":case"utf-8":return J(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return e*2;case"hex":return e>>>1;case"base64":return xr(t).length;default:if(i)return n?-1:J(t).length;r=(""+r).toLowerCase(),i=!0}}s.byteLength=lr;function Qr(t,r,e){var n=!1;if((r===void 0||r<0)&&(r=0),r>this.length||((e===void 0||e>this.length)&&(e=this.length),e<=0)||(e>>>=0,r>>>=0,e<=r))return"";for(t||(t="utf8");;)switch(t){case"hex":return te(this,r,e);case"utf8":case"utf-8":return gr(this,r,e);case"ascii":return re(this,r,e);case"latin1":case"binary":return ee(this,r,e);case"base64":return Zr(this,r,e);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ne(this,r,e);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}s.prototype._isBuffer=!0;function _(t,r,e){var n=t[r];t[r]=t[e],t[e]=n}s.prototype.swap16=function(){var r=this.length;if(r%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<r;e+=2)_(this,e,e+1);return this};s.prototype.swap32=function(){var r=this.length;if(r%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<r;e+=4)_(this,e,e+3),_(this,e+1,e+2);return this};s.prototype.swap64=function(){var r=this.length;if(r%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<r;e+=8)_(this,e,e+7),_(this,e+1,e+6),_(this,e+2,e+5),_(this,e+3,e+4);return this};s.prototype.toString=function(){var r=this.length;return r===0?"":arguments.length===0?gr(this,0,r):Qr.apply(this,arguments)};s.prototype.toLocaleString=s.prototype.toString;s.prototype.equals=function(r){if(!s.isBuffer(r))throw new TypeError("Argument must be a Buffer");return this===r?!0:s.compare(this,r)===0};s.prototype.inspect=function(){var r="",e=D.INSPECT_MAX_BYTES;return r=this.toString("hex",0,e).replace(/(.{2})/g,"$1 ").trim(),this.length>e&&(r+=" ... "),"<Buffer "+r+">"};or&&(s.prototype[or]=s.prototype.inspect);s.prototype.compare=function(r,e,n,i,a){if(I(r,Uint8Array)&&(r=s.from(r,r.offset,r.byteLength)),!s.isBuffer(r))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof r);if(e===void 0&&(e=0),n===void 0&&(n=r?r.length:0),i===void 0&&(i=0),a===void 0&&(a=this.length),e<0||n>r.length||i<0||a>this.length)throw new RangeError("out of range index");if(i>=a&&e>=n)return 0;if(i>=a)return-1;if(e>=n)return 1;if(e>>>=0,n>>>=0,i>>>=0,a>>>=0,this===r)return 0;for(var o=a-i,u=n-e,p=Math.min(o,u),f=this.slice(i,a),g=r.slice(e,n),c=0;c<p;++c)if(f[c]!==g[c]){o=f[c],u=g[c];break}return o<u?-1:u<o?1:0};function fr(t,r,e,n,i){if(t.length===0)return-1;if(typeof e=="string"?(n=e,e=0):e>2147483647?e=2147483647:e<-2147483648&&(e=-2147483648),e=+e,V(e)&&(e=i?0:t.length-1),e<0&&(e=t.length+e),e>=t.length){if(i)return-1;e=t.length-1}else if(e<0)if(i)e=0;else return-1;if(typeof r=="string"&&(r=s.from(r,n)),s.isBuffer(r))return r.length===0?-1:sr(t,r,e,n,i);if(typeof r=="number")return r=r&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(t,r,e):Uint8Array.prototype.lastIndexOf.call(t,r,e):sr(t,[r],e,n,i);throw new TypeError("val must be string, number or Buffer")}function sr(t,r,e,n,i){var a=1,o=t.length,u=r.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(t.length<2||r.length<2)return-1;a=2,o/=2,u/=2,e/=2}function p(w,E){return a===1?w[E]:w.readUInt16BE(E*a)}var f;if(i){var g=-1;for(f=e;f<o;f++)if(p(t,f)===p(r,g===-1?0:f-g)){if(g===-1&&(g=f),f-g+1===u)return g*a}else g!==-1&&(f-=f-g),g=-1}else for(e+u>o&&(e=o-u),f=e;f>=0;f--){for(var c=!0,k=0;k<u;k++)if(p(t,f+k)!==p(r,k)){c=!1;break}if(c)return f}return-1}s.prototype.includes=function(r,e,n){return this.indexOf(r,e,n)!==-1};s.prototype.indexOf=function(r,e,n){return fr(this,r,e,n,!0)};s.prototype.lastIndexOf=function(r,e,n){return fr(this,r,e,n,!1)};function Xr(t,r,e,n){e=Number(e)||0;var i=t.length-e;n?(n=Number(n),n>i&&(n=i)):n=i;var a=r.length;n>a/2&&(n=a/2);for(var o=0;o<n;++o){var u=parseInt(r.substr(o*2,2),16);if(V(u))return o;t[e+o]=u}return o}function Jr(t,r,e,n){return H(J(r,t.length-e),t,e,n)}function jr(t,r,e,n){return H(oe(r),t,e,n)}function Kr(t,r,e,n){return H(xr(r),t,e,n)}function Vr(t,r,e,n){return H(se(r,t.length-e),t,e,n)}s.prototype.write=function(r,e,n,i){if(e===void 0)i="utf8",n=this.length,e=0;else if(n===void 0&&typeof e=="string")i=e,n=this.length,e=0;else if(isFinite(e))e=e>>>0,isFinite(n)?(n=n>>>0,i===void 0&&(i="utf8")):(i=n,n=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var a=this.length-e;if((n===void 0||n>a)&&(n=a),r.length>0&&(n<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var o=!1;;)switch(i){case"hex":return Xr(this,r,e,n);case"utf8":case"utf-8":return Jr(this,r,e,n);case"ascii":case"latin1":case"binary":return jr(this,r,e,n);case"base64":return Kr(this,r,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Vr(this,r,e,n);default:if(o)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),o=!0}};s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function Zr(t,r,e){return r===0&&e===t.length?z.fromByteArray(t):z.fromByteArray(t.slice(r,e))}function gr(t,r,e){e=Math.min(t.length,e);for(var n=[],i=r;i<e;){var a=t[i],o=null,u=a>239?4:a>223?3:a>191?2:1;if(i+u<=e){var p,f,g,c;switch(u){case 1:a<128&&(o=a);break;case 2:p=t[i+1],(p&192)===128&&(c=(a&31)<<6|p&63,c>127&&(o=c));break;case 3:p=t[i+1],f=t[i+2],(p&192)===128&&(f&192)===128&&(c=(a&15)<<12|(p&63)<<6|f&63,c>2047&&(c<55296||c>57343)&&(o=c));break;case 4:p=t[i+1],f=t[i+2],g=t[i+3],(p&192)===128&&(f&192)===128&&(g&192)===128&&(c=(a&15)<<18|(p&63)<<12|(f&63)<<6|g&63,c>65535&&c<1114112&&(o=c))}}o===null?(o=65533,u=1):o>65535&&(o-=65536,n.push(o>>>10&1023|55296),o=56320|o&1023),n.push(o),i+=u}return $r(n)}var pr=4096;function $r(t){var r=t.length;if(r<=pr)return String.fromCharCode.apply(String,t);for(var e="",n=0;n<r;)e+=String.fromCharCode.apply(String,t.slice(n,n+=pr));return e}function re(t,r,e){var n="";e=Math.min(t.length,e);for(var i=r;i<e;++i)n+=String.fromCharCode(t[i]&127);return n}function ee(t,r,e){var n="";e=Math.min(t.length,e);for(var i=r;i<e;++i)n+=String.fromCharCode(t[i]);return n}function te(t,r,e){var n=t.length;(!r||r<0)&&(r=0),(!e||e<0||e>n)&&(e=n);for(var i="",a=r;a<e;++a)i+=pe[t[a]];return i}function ne(t,r,e){for(var n=t.slice(r,e),i="",a=0;a<n.length-1;a+=2)i+=String.fromCharCode(n[a]+n[a+1]*256);return i}s.prototype.slice=function(r,e){var n=this.length;r=~~r,e=e===void 0?n:~~e,r<0?(r+=n,r<0&&(r=0)):r>n&&(r=n),e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),e<r&&(e=r);var i=this.subarray(r,e);return Object.setPrototypeOf(i,s.prototype),i};function d(t,r,e){if(t%1!==0||t<0)throw new RangeError("offset is not uint");if(t+r>e)throw new RangeError("Trying to access beyond buffer length")}s.prototype.readUintLE=s.prototype.readUIntLE=function(r,e,n){r=r>>>0,e=e>>>0,n||d(r,e,this.length);for(var i=this[r],a=1,o=0;++o<e&&(a*=256);)i+=this[r+o]*a;return i};s.prototype.readUintBE=s.prototype.readUIntBE=function(r,e,n){r=r>>>0,e=e>>>0,n||d(r,e,this.length);for(var i=this[r+--e],a=1;e>0&&(a*=256);)i+=this[r+--e]*a;return i};s.prototype.readUint8=s.prototype.readUInt8=function(r,e){return r=r>>>0,e||d(r,1,this.length),this[r]};s.prototype.readUint16LE=s.prototype.readUInt16LE=function(r,e){return r=r>>>0,e||d(r,2,this.length),this[r]|this[r+1]<<8};s.prototype.readUint16BE=s.prototype.readUInt16BE=function(r,e){return r=r>>>0,e||d(r,2,this.length),this[r]<<8|this[r+1]};s.prototype.readUint32LE=s.prototype.readUInt32LE=function(r,e){return r=r>>>0,e||d(r,4,this.length),(this[r]|this[r+1]<<8|this[r+2]<<16)+this[r+3]*16777216};s.prototype.readUint32BE=s.prototype.readUInt32BE=function(r,e){return r=r>>>0,e||d(r,4,this.length),this[r]*16777216+(this[r+1]<<16|this[r+2]<<8|this[r+3])};s.prototype.readIntLE=function(r,e,n){r=r>>>0,e=e>>>0,n||d(r,e,this.length);for(var i=this[r],a=1,o=0;++o<e&&(a*=256);)i+=this[r+o]*a;return a*=128,i>=a&&(i-=Math.pow(2,8*e)),i};s.prototype.readIntBE=function(r,e,n){r=r>>>0,e=e>>>0,n||d(r,e,this.length);for(var i=e,a=1,o=this[r+--i];i>0&&(a*=256);)o+=this[r+--i]*a;return a*=128,o>=a&&(o-=Math.pow(2,8*e)),o};s.prototype.readInt8=function(r,e){return r=r>>>0,e||d(r,1,this.length),this[r]&128?(255-this[r]+1)*-1:this[r]};s.prototype.readInt16LE=function(r,e){r=r>>>0,e||d(r,2,this.length);var n=this[r]|this[r+1]<<8;return n&32768?n|4294901760:n};s.prototype.readInt16BE=function(r,e){r=r>>>0,e||d(r,2,this.length);var n=this[r+1]|this[r]<<8;return n&32768?n|4294901760:n};s.prototype.readInt32LE=function(r,e){return r=r>>>0,e||d(r,4,this.length),this[r]|this[r+1]<<8|this[r+2]<<16|this[r+3]<<24};s.prototype.readInt32BE=function(r,e){return r=r>>>0,e||d(r,4,this.length),this[r]<<24|this[r+1]<<16|this[r+2]<<8|this[r+3]};s.prototype.readFloatLE=function(r,e){return r=r>>>0,e||d(r,4,this.length),C.read(this,r,!0,23,4)};s.prototype.readFloatBE=function(r,e){return r=r>>>0,e||d(r,4,this.length),C.read(this,r,!1,23,4)};s.prototype.readDoubleLE=function(r,e){return r=r>>>0,e||d(r,8,this.length),C.read(this,r,!0,52,8)};s.prototype.readDoubleBE=function(r,e){return r=r>>>0,e||d(r,8,this.length),C.read(this,r,!1,52,8)};function T(t,r,e,n,i,a){if(!s.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(r>i||r<a)throw new RangeError('"value" argument is out of bounds');if(e+n>t.length)throw new RangeError("Index out of range")}s.prototype.writeUintLE=s.prototype.writeUIntLE=function(r,e,n,i){if(r=+r,e=e>>>0,n=n>>>0,!i){var a=Math.pow(2,8*n)-1;T(this,r,e,n,a,0)}var o=1,u=0;for(this[e]=r&255;++u<n&&(o*=256);)this[e+u]=r/o&255;return e+n};s.prototype.writeUintBE=s.prototype.writeUIntBE=function(r,e,n,i){if(r=+r,e=e>>>0,n=n>>>0,!i){var a=Math.pow(2,8*n)-1;T(this,r,e,n,a,0)}var o=n-1,u=1;for(this[e+o]=r&255;--o>=0&&(u*=256);)this[e+o]=r/u&255;return e+n};s.prototype.writeUint8=s.prototype.writeUInt8=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,1,255,0),this[e]=r&255,e+1};s.prototype.writeUint16LE=s.prototype.writeUInt16LE=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,2,65535,0),this[e]=r&255,this[e+1]=r>>>8,e+2};s.prototype.writeUint16BE=s.prototype.writeUInt16BE=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,2,65535,0),this[e]=r>>>8,this[e+1]=r&255,e+2};s.prototype.writeUint32LE=s.prototype.writeUInt32LE=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,4,4294967295,0),this[e+3]=r>>>24,this[e+2]=r>>>16,this[e+1]=r>>>8,this[e]=r&255,e+4};s.prototype.writeUint32BE=s.prototype.writeUInt32BE=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,4,4294967295,0),this[e]=r>>>24,this[e+1]=r>>>16,this[e+2]=r>>>8,this[e+3]=r&255,e+4};s.prototype.writeIntLE=function(r,e,n,i){if(r=+r,e=e>>>0,!i){var a=Math.pow(2,8*n-1);T(this,r,e,n,a-1,-a)}var o=0,u=1,p=0;for(this[e]=r&255;++o<n&&(u*=256);)r<0&&p===0&&this[e+o-1]!==0&&(p=1),this[e+o]=(r/u>>0)-p&255;return e+n};s.prototype.writeIntBE=function(r,e,n,i){if(r=+r,e=e>>>0,!i){var a=Math.pow(2,8*n-1);T(this,r,e,n,a-1,-a)}var o=n-1,u=1,p=0;for(this[e+o]=r&255;--o>=0&&(u*=256);)r<0&&p===0&&this[e+o+1]!==0&&(p=1),this[e+o]=(r/u>>0)-p&255;return e+n};s.prototype.writeInt8=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,1,127,-128),r<0&&(r=255+r+1),this[e]=r&255,e+1};s.prototype.writeInt16LE=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,2,32767,-32768),this[e]=r&255,this[e+1]=r>>>8,e+2};s.prototype.writeInt16BE=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,2,32767,-32768),this[e]=r>>>8,this[e+1]=r&255,e+2};s.prototype.writeInt32LE=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,4,2147483647,-2147483648),this[e]=r&255,this[e+1]=r>>>8,this[e+2]=r>>>16,this[e+3]=r>>>24,e+4};s.prototype.writeInt32BE=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,4,2147483647,-2147483648),r<0&&(r=4294967295+r+1),this[e]=r>>>24,this[e+1]=r>>>16,this[e+2]=r>>>8,this[e+3]=r&255,e+4};function hr(t,r,e,n,i,a){if(e+n>t.length)throw new RangeError("Index out of range");if(e<0)throw new RangeError("Index out of range")}function dr(t,r,e,n,i){return r=+r,e=e>>>0,i||hr(t,r,e,4,34028234663852886e22,-34028234663852886e22),C.write(t,r,e,n,23,4),e+4}s.prototype.writeFloatLE=function(r,e,n){return dr(this,r,e,!0,n)};s.prototype.writeFloatBE=function(r,e,n){return dr(this,r,e,!1,n)};function yr(t,r,e,n,i){return r=+r,e=e>>>0,i||hr(t,r,e,8,17976931348623157e292,-17976931348623157e292),C.write(t,r,e,n,52,8),e+8}s.prototype.writeDoubleLE=function(r,e,n){return yr(this,r,e,!0,n)};s.prototype.writeDoubleBE=function(r,e,n){return yr(this,r,e,!1,n)};s.prototype.copy=function(r,e,n,i){if(!s.isBuffer(r))throw new TypeError("argument should be a Buffer");if(n||(n=0),!i&&i!==0&&(i=this.length),e>=r.length&&(e=r.length),e||(e=0),i>0&&i<n&&(i=n),i===n||r.length===0||this.length===0)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),r.length-e<i-n&&(i=r.length-e+n);var a=i-n;return this===r&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(e,n,i):Uint8Array.prototype.set.call(r,this.subarray(n,i),e),a};s.prototype.fill=function(r,e,n,i){if(typeof r=="string"){if(typeof e=="string"?(i=e,e=0,n=this.length):typeof n=="string"&&(i=n,n=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!s.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(r.length===1){var a=r.charCodeAt(0);(i==="utf8"&&a<128||i==="latin1")&&(r=a)}}else typeof r=="number"?r=r&255:typeof r=="boolean"&&(r=Number(r));if(e<0||this.length<e||this.length<n)throw new RangeError("Out of range index");if(n<=e)return this;e=e>>>0,n=n===void 0?this.length:n>>>0,r||(r=0);var o;if(typeof r=="number")for(o=e;o<n;++o)this[o]=r;else{var u=s.isBuffer(r)?r:s.from(r,i),p=u.length;if(p===0)throw new TypeError('The value "'+r+'" is invalid for argument "value"');for(o=0;o<n-e;++o)this[o+e]=u[o%p]}return this};var ie=/[^+/0-9A-Za-z-_]/g;function ae(t){if(t=t.split("=")[0],t=t.trim().replace(ie,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function J(t,r){r=r||1/0;for(var e,n=t.length,i=null,a=[],o=0;o<n;++o){if(e=t.charCodeAt(o),e>55295&&e<57344){if(!i){if(e>56319){(r-=3)>-1&&a.push(239,191,189);continue}else if(o+1===n){(r-=3)>-1&&a.push(239,191,189);continue}i=e;continue}if(e<56320){(r-=3)>-1&&a.push(239,191,189),i=e;continue}e=(i-55296<<10|e-56320)+65536}else i&&(r-=3)>-1&&a.push(239,191,189);if(i=null,e<128){if((r-=1)<0)break;a.push(e)}else if(e<2048){if((r-=2)<0)break;a.push(e>>6|192,e&63|128)}else if(e<65536){if((r-=3)<0)break;a.push(e>>12|224,e>>6&63|128,e&63|128)}else if(e<1114112){if((r-=4)<0)break;a.push(e>>18|240,e>>12&63|128,e>>6&63|128,e&63|128)}else throw new Error("Invalid code point")}return a}function oe(t){for(var r=[],e=0;e<t.length;++e)r.push(t.charCodeAt(e)&255);return r}function se(t,r){for(var e,n,i,a=[],o=0;o<t.length&&!((r-=2)<0);++o)e=t.charCodeAt(o),n=e>>8,i=e%256,a.push(i),a.push(n);return a}function xr(t){return z.toByteArray(ae(t))}function H(t,r,e,n){for(var i=0;i<n&&!(i+e>=r.length||i>=t.length);++i)r[i+e]=t[i];return i}function I(t,r){return t instanceof r||t!=null&&t.constructor!=null&&t.constructor.name!=null&&t.constructor.name===r.name}function V(t){return t!==t}var pe=function(){for(var t="0123456789abcdef",r=new Array(256),e=0;e<16;++e)for(var n=e*16,i=0;i<16;++i)r[n+i]=t[e]+t[i];return r}()});var Fr=M((xe,kr)=>{l();var h=kr.exports={},b,S;function Z(){throw new Error("setTimeout has not been defined")}function $(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?b=setTimeout:b=Z}catch(t){b=Z}try{typeof clearTimeout=="function"?S=clearTimeout:S=$}catch(t){S=$}})();function Tr(t){if(b===setTimeout)return setTimeout(t,0);if((b===Z||!b)&&setTimeout)return b=setTimeout,setTimeout(t,0);try{return b(t,0)}catch(r){try{return b.call(null,t,0)}catch(e){return b.call(this,t,0)}}}function ue(t){if(S===clearTimeout)return clearTimeout(t);if((S===$||!S)&&clearTimeout)return S=clearTimeout,clearTimeout(t);try{return S(t)}catch(r){try{return S.call(null,t)}catch(e){return S.call(this,t)}}}var R=[],N=!1,U,q=-1;function ce(){!N||!U||(N=!1,U.length?R=U.concat(R):q=-1,R.length&&wr())}function wr(){if(!N){var t=Tr(ce);N=!0;for(var r=R.length;r;){for(U=R,R=[];++q<r;)U&&U[q].run();q=-1,r=R.length}U=null,N=!1,ue(t)}}h.nextTick=function(t){var r=new Array(arguments.length-1);if(arguments.length>1)for(var e=1;e<arguments.length;e++)r[e-1]=arguments[e];R.push(new vr(t,r)),R.length===1&&!N&&Tr(wr)};function vr(t,r){this.fun=t,this.array=r}vr.prototype.run=function(){this.fun.apply(null,this.array)};h.title="browser";h.browser=!0;h.env={};h.argv=[];h.version="";h.versions={};function A(){}h.on=A;h.addListener=A;h.once=A;h.off=A;h.removeListener=A;h.removeAllListeners=A;h.emit=A;h.prependListener=A;h.prependOnceListener=A;h.listeners=function(t){return[]};h.binding=function(t){throw new Error("process.binding is not supported")};h.cwd=function(){return"/"};h.chdir=function(t){throw new Error("process.chdir is not supported")};h.umask=function(){return 0}});var y,x,me,l=Lr(()=>{y=er(mr()),x=er(Fr()),me=function(t){function r(){var n=this||self;return delete t.prototype.__magic__,n}if(typeof globalThis=="object")return globalThis;if(this)return r();t.defineProperty(t.prototype,"__magic__",{configurable:!0,get:r});var e=__magic__;return e}(Object)});var fe={};_r(fe,{getTransactionLinkWithLabel:()=>le});module.exports=Ur(fe);l();l();l();l();l();l();l();l();l();l();l();l();var le=({transaction:t,direction:r})=>{var p;let e=r==="Internal",n=t.sender;if(e)return{link:(p=t.links.senderLink)!=null?p:"",label:"Smart Contract transaction",address:n};let i=r==="Out",a=i?t.links.receiverLink:t.links.senderLink,o="";return r==="Self"&&t.receiverAssets?o=t.receiverAssets.name:(n=i?t.receiver:t.sender,o=i?"To:":"From:"),{label:o,address:n,link:a!=null?a:""}};0&&(module.exports={getTransactionLinkWithLabel});
2
2
  /*!
3
3
  * The buffer module from node.js, for the browser.
4
4
  *
@@ -1,11 +1,15 @@
1
- /// <reference types="react" />
2
1
  import { CustomNetworkType, DappConfigType, EnvironmentsEnum, IDappProvider } from 'types';
3
- export interface AppInitializerPropsType {
2
+ export interface UseAppInitializerPropsType {
4
3
  customNetworkConfig?: CustomNetworkType;
5
- children: any;
6
4
  externalProvider?: IDappProvider;
7
5
  environment: EnvironmentsEnum;
8
6
  dappConfig?: DappConfigType;
9
7
  }
10
- export declare function AppInitializer({ customNetworkConfig, children, environment, dappConfig }: AppInitializerPropsType): JSX.Element | null;
8
+ export interface AppInitializerPropsType extends UseAppInitializerPropsType {
9
+ children?: any;
10
+ }
11
+ export declare const useAppInitializer: ({ customNetworkConfig, environment, dappConfig }: UseAppInitializerPropsType) => {
12
+ initialized: boolean;
13
+ };
14
+ export declare function AppInitializer({ customNetworkConfig, children, environment, dappConfig }: AppInitializerPropsType): any;
11
15
  //# sourceMappingURL=AppInitializer.d.ts.map
@@ -1,4 +1,4 @@
1
- "use strict";var Pi=Object.create;var Ie=Object.defineProperty,Ci=Object.defineProperties,_i=Object.getOwnPropertyDescriptor,Mi=Object.getOwnPropertyDescriptors,Oi=Object.getOwnPropertyNames,Be=Object.getOwnPropertySymbols,Fi=Object.getPrototypeOf,Rt=Object.prototype.hasOwnProperty,Mr=Object.prototype.propertyIsEnumerable;var _r=(e,t,r)=>t in e?Ie(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,y=(e,t)=>{for(var r in t||(t={}))Rt.call(t,r)&&_r(e,r,t[r]);if(Be)for(var r of Be(t))Mr.call(t,r)&&_r(e,r,t[r]);return e},w=(e,t)=>Ci(e,Mi(t));var Or=e=>typeof e=="symbol"?e:e+"",$e=(e,t)=>{var r={};for(var o in e)Rt.call(e,o)&&t.indexOf(o)<0&&(r[o]=e[o]);if(e!=null&&Be)for(var o of Be(e))t.indexOf(o)<0&&Mr.call(e,o)&&(r[o]=e[o]);return r};var f=(e,t)=>()=>(e&&(t=e(e=0)),t);var Ve=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),se=(e,t)=>{for(var r in t)Ie(e,r,{get:t[r],enumerable:!0})},Fr=(e,t,r,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of Oi(t))!Rt.call(e,i)&&i!==r&&Ie(e,i,{get:()=>t[i],enumerable:!(o=_i(t,i))||o.enumerable});return e};var S=(e,t,r)=>(r=e!=null?Pi(Fi(e)):{},Fr(t||!e||!e.__esModule?Ie(r,"default",{value:e,enumerable:!0}):r,e)),Ae=e=>Fr(Ie({},"__esModule",{value:!0}),e);var E=(e,t,r)=>new Promise((o,i)=>{var p=d=>{try{m(r.next(d))}catch(T){i(T)}},l=d=>{try{m(r.throw(d))}catch(T){i(T)}},m=d=>d.done?o(d.value):Promise.resolve(d.value).then(p,l);m((r=r.apply(e,t)).next())});var $r=Ve(Ge=>{"use strict";n();Ge.byteLength=Bi;Ge.toByteArray=Vi;Ge.fromByteArray=Hi;var V=[],F=[],Ui=typeof Uint8Array!="undefined"?Uint8Array:Array,Pt="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(ce=0,Ur=Pt.length;ce<Ur;++ce)V[ce]=Pt[ce],F[Pt.charCodeAt(ce)]=ce;var ce,Ur;F["-".charCodeAt(0)]=62;F["_".charCodeAt(0)]=63;function Br(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");r===-1&&(r=t);var o=r===t?0:4-r%4;return[r,o]}function Bi(e){var t=Br(e),r=t[0],o=t[1];return(r+o)*3/4-o}function $i(e,t,r){return(t+r)*3/4-r}function Vi(e){var t,r=Br(e),o=r[0],i=r[1],p=new Ui($i(e,o,i)),l=0,m=i>0?o-4:o,d;for(d=0;d<m;d+=4)t=F[e.charCodeAt(d)]<<18|F[e.charCodeAt(d+1)]<<12|F[e.charCodeAt(d+2)]<<6|F[e.charCodeAt(d+3)],p[l++]=t>>16&255,p[l++]=t>>8&255,p[l++]=t&255;return i===2&&(t=F[e.charCodeAt(d)]<<2|F[e.charCodeAt(d+1)]>>4,p[l++]=t&255),i===1&&(t=F[e.charCodeAt(d)]<<10|F[e.charCodeAt(d+1)]<<4|F[e.charCodeAt(d+2)]>>2,p[l++]=t>>8&255,p[l++]=t&255),p}function Gi(e){return V[e>>18&63]+V[e>>12&63]+V[e>>6&63]+V[e&63]}function Wi(e,t,r){for(var o,i=[],p=t;p<r;p+=3)o=(e[p]<<16&16711680)+(e[p+1]<<8&65280)+(e[p+2]&255),i.push(Gi(o));return i.join("")}function Hi(e){for(var t,r=e.length,o=r%3,i=[],p=16383,l=0,m=r-o;l<m;l+=p)i.push(Wi(e,l,l+p>m?m:l+p));return o===1?(t=e[r-1],i.push(V[t>>2]+V[t<<4&63]+"==")):o===2&&(t=(e[r-2]<<8)+e[r-1],i.push(V[t>>10]+V[t>>4&63]+V[t<<2&63]+"=")),i.join("")}});var Vr=Ve(Ct=>{n();Ct.read=function(e,t,r,o,i){var p,l,m=i*8-o-1,d=(1<<m)-1,T=d>>1,x=-7,h=r?i-1:0,D=r?-1:1,k=e[t+h];for(h+=D,p=k&(1<<-x)-1,k>>=-x,x+=m;x>0;p=p*256+e[t+h],h+=D,x-=8);for(l=p&(1<<-x)-1,p>>=-x,x+=o;x>0;l=l*256+e[t+h],h+=D,x-=8);if(p===0)p=1-T;else{if(p===d)return l?NaN:(k?-1:1)*(1/0);l=l+Math.pow(2,o),p=p-T}return(k?-1:1)*l*Math.pow(2,p-o)};Ct.write=function(e,t,r,o,i,p){var l,m,d,T=p*8-i-1,x=(1<<T)-1,h=x>>1,D=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,k=o?0:p-1,M=o?1:-1,me=t<0||t===0&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(m=isNaN(t)?1:0,l=x):(l=Math.floor(Math.log(t)/Math.LN2),t*(d=Math.pow(2,-l))<1&&(l--,d*=2),l+h>=1?t+=D/d:t+=D*Math.pow(2,1-h),t*d>=2&&(l++,d/=2),l+h>=x?(m=0,l=x):l+h>=1?(m=(t*d-1)*Math.pow(2,i),l=l+h):(m=t*Math.pow(2,h-1)*Math.pow(2,i),l=0));i>=8;e[r+k]=m&255,k+=M,m/=256,i-=8);for(l=l<<i|m,T+=i;T>0;e[r+k]=l&255,k+=M,l/=256,T-=8);e[r+k-M]|=me*128}});var en=Ve(fe=>{"use strict";n();var _t=$r(),ge=Vr(),Gr=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;fe.Buffer=u;fe.SlowBuffer=Xi;fe.INSPECT_MAX_BYTES=50;var We=2147483647;fe.kMaxLength=We;u.TYPED_ARRAY_SUPPORT=qi();!u.TYPED_ARRAY_SUPPORT&&typeof console!="undefined"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function qi(){try{var e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),e.foo()===42}catch(r){return!1}}Object.defineProperty(u.prototype,"parent",{enumerable:!0,get:function(){if(!!u.isBuffer(this))return this.buffer}});Object.defineProperty(u.prototype,"offset",{enumerable:!0,get:function(){if(!!u.isBuffer(this))return this.byteOffset}});function Y(e){if(e>We)throw new RangeError('The value "'+e+'" is invalid for option "size"');var t=new Uint8Array(e);return Object.setPrototypeOf(t,u.prototype),t}function u(e,t,r){if(typeof e=="number"){if(typeof t=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return Ut(e)}return qr(e,t,r)}u.poolSize=8192;function qr(e,t,r){if(typeof e=="string")return ji(e,t);if(ArrayBuffer.isView(e))return Ki(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(G(e,ArrayBuffer)||e&&G(e.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(G(e,SharedArrayBuffer)||e&&G(e.buffer,SharedArrayBuffer)))return Ot(e,t,r);if(typeof e=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var o=e.valueOf&&e.valueOf();if(o!=null&&o!==e)return u.from(o,t,r);var i=Yi(e);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof e[Symbol.toPrimitive]=="function")return u.from(e[Symbol.toPrimitive]("string"),t,r);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}u.from=function(e,t,r){return qr(e,t,r)};Object.setPrototypeOf(u.prototype,Uint8Array.prototype);Object.setPrototypeOf(u,Uint8Array);function zr(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 zi(e,t,r){return zr(e),e<=0?Y(e):t!==void 0?typeof r=="string"?Y(e).fill(t,r):Y(e).fill(t):Y(e)}u.alloc=function(e,t,r){return zi(e,t,r)};function Ut(e){return zr(e),Y(e<0?0:Bt(e)|0)}u.allocUnsafe=function(e){return Ut(e)};u.allocUnsafeSlow=function(e){return Ut(e)};function ji(e,t){if((typeof t!="string"||t==="")&&(t="utf8"),!u.isEncoding(t))throw new TypeError("Unknown encoding: "+t);var r=jr(e,t)|0,o=Y(r),i=o.write(e,t);return i!==r&&(o=o.slice(0,i)),o}function Mt(e){for(var t=e.length<0?0:Bt(e.length)|0,r=Y(t),o=0;o<t;o+=1)r[o]=e[o]&255;return r}function Ki(e){if(G(e,Uint8Array)){var t=new Uint8Array(e);return Ot(t.buffer,t.byteOffset,t.byteLength)}return Mt(e)}function Ot(e,t,r){if(t<0||e.byteLength<t)throw new RangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(r||0))throw new RangeError('"length" is outside of buffer bounds');var o;return t===void 0&&r===void 0?o=new Uint8Array(e):r===void 0?o=new Uint8Array(e,t):o=new Uint8Array(e,t,r),Object.setPrototypeOf(o,u.prototype),o}function Yi(e){if(u.isBuffer(e)){var t=Bt(e.length)|0,r=Y(t);return r.length===0||e.copy(r,0,0,t),r}if(e.length!==void 0)return typeof e.length!="number"||$t(e.length)?Y(0):Mt(e);if(e.type==="Buffer"&&Array.isArray(e.data))return Mt(e.data)}function Bt(e){if(e>=We)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+We.toString(16)+" bytes");return e|0}function Xi(e){return+e!=e&&(e=0),u.alloc(+e)}u.isBuffer=function(t){return t!=null&&t._isBuffer===!0&&t!==u.prototype};u.compare=function(t,r){if(G(t,Uint8Array)&&(t=u.from(t,t.offset,t.byteLength)),G(r,Uint8Array)&&(r=u.from(r,r.offset,r.byteLength)),!u.isBuffer(t)||!u.isBuffer(r))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(t===r)return 0;for(var o=t.length,i=r.length,p=0,l=Math.min(o,i);p<l;++p)if(t[p]!==r[p]){o=t[p],i=r[p];break}return o<i?-1:i<o?1:0};u.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};u.concat=function(t,r){if(!Array.isArray(t))throw new TypeError('"list" argument must be an Array of Buffers');if(t.length===0)return u.alloc(0);var o;if(r===void 0)for(r=0,o=0;o<t.length;++o)r+=t[o].length;var i=u.allocUnsafe(r),p=0;for(o=0;o<t.length;++o){var l=t[o];if(G(l,Uint8Array))p+l.length>i.length?u.from(l).copy(i,p):Uint8Array.prototype.set.call(i,l,p);else if(u.isBuffer(l))l.copy(i,p);else throw new TypeError('"list" argument must be an Array of Buffers');p+=l.length}return i};function jr(e,t){if(u.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||G(e,ArrayBuffer))return e.byteLength;if(typeof e!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var r=e.length,o=arguments.length>2&&arguments[2]===!0;if(!o&&r===0)return 0;for(var i=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return Ft(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return Qr(e).length;default:if(i)return o?-1:Ft(e).length;t=(""+t).toLowerCase(),i=!0}}u.byteLength=jr;function Zi(e,t,r){var o=!1;if((t===void 0||t<0)&&(t=0),t>this.length||((r===void 0||r>this.length)&&(r=this.length),r<=0)||(r>>>=0,t>>>=0,r<=t))return"";for(e||(e="utf8");;)switch(e){case"hex":return sa(this,t,r);case"utf8":case"utf-8":return Yr(this,t,r);case"ascii":return ia(this,t,r);case"latin1":case"binary":return aa(this,t,r);case"base64":return na(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ca(this,t,r);default:if(o)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),o=!0}}u.prototype._isBuffer=!0;function le(e,t,r){var o=e[t];e[t]=e[r],e[r]=o}u.prototype.swap16=function(){var t=this.length;if(t%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var r=0;r<t;r+=2)le(this,r,r+1);return this};u.prototype.swap32=function(){var t=this.length;if(t%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var r=0;r<t;r+=4)le(this,r,r+3),le(this,r+1,r+2);return this};u.prototype.swap64=function(){var t=this.length;if(t%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var r=0;r<t;r+=8)le(this,r,r+7),le(this,r+1,r+6),le(this,r+2,r+5),le(this,r+3,r+4);return this};u.prototype.toString=function(){var t=this.length;return t===0?"":arguments.length===0?Yr(this,0,t):Zi.apply(this,arguments)};u.prototype.toLocaleString=u.prototype.toString;u.prototype.equals=function(t){if(!u.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t?!0:u.compare(this,t)===0};u.prototype.inspect=function(){var t="",r=fe.INSPECT_MAX_BYTES;return t=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(t+=" ... "),"<Buffer "+t+">"};Gr&&(u.prototype[Gr]=u.prototype.inspect);u.prototype.compare=function(t,r,o,i,p){if(G(t,Uint8Array)&&(t=u.from(t,t.offset,t.byteLength)),!u.isBuffer(t))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof t);if(r===void 0&&(r=0),o===void 0&&(o=t?t.length:0),i===void 0&&(i=0),p===void 0&&(p=this.length),r<0||o>t.length||i<0||p>this.length)throw new RangeError("out of range index");if(i>=p&&r>=o)return 0;if(i>=p)return-1;if(r>=o)return 1;if(r>>>=0,o>>>=0,i>>>=0,p>>>=0,this===t)return 0;for(var l=p-i,m=o-r,d=Math.min(l,m),T=this.slice(i,p),x=t.slice(r,o),h=0;h<d;++h)if(T[h]!==x[h]){l=T[h],m=x[h];break}return l<m?-1:m<l?1:0};function Kr(e,t,r,o,i){if(e.length===0)return-1;if(typeof r=="string"?(o=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,$t(r)&&(r=i?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(i)return-1;r=e.length-1}else if(r<0)if(i)r=0;else return-1;if(typeof t=="string"&&(t=u.from(t,o)),u.isBuffer(t))return t.length===0?-1:Wr(e,t,r,o,i);if(typeof t=="number")return t=t&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):Wr(e,[t],r,o,i);throw new TypeError("val must be string, number or Buffer")}function Wr(e,t,r,o,i){var p=1,l=e.length,m=t.length;if(o!==void 0&&(o=String(o).toLowerCase(),o==="ucs2"||o==="ucs-2"||o==="utf16le"||o==="utf-16le")){if(e.length<2||t.length<2)return-1;p=2,l/=2,m/=2,r/=2}function d(k,M){return p===1?k[M]:k.readUInt16BE(M*p)}var T;if(i){var x=-1;for(T=r;T<l;T++)if(d(e,T)===d(t,x===-1?0:T-x)){if(x===-1&&(x=T),T-x+1===m)return x*p}else x!==-1&&(T-=T-x),x=-1}else for(r+m>l&&(r=l-m),T=r;T>=0;T--){for(var h=!0,D=0;D<m;D++)if(d(e,T+D)!==d(t,D)){h=!1;break}if(h)return T}return-1}u.prototype.includes=function(t,r,o){return this.indexOf(t,r,o)!==-1};u.prototype.indexOf=function(t,r,o){return Kr(this,t,r,o,!0)};u.prototype.lastIndexOf=function(t,r,o){return Kr(this,t,r,o,!1)};function Ji(e,t,r,o){r=Number(r)||0;var i=e.length-r;o?(o=Number(o),o>i&&(o=i)):o=i;var p=t.length;o>p/2&&(o=p/2);for(var l=0;l<o;++l){var m=parseInt(t.substr(l*2,2),16);if($t(m))return l;e[r+l]=m}return l}function Qi(e,t,r,o){return He(Ft(t,e.length-r),e,r,o)}function ea(e,t,r,o){return He(ua(t),e,r,o)}function ta(e,t,r,o){return He(Qr(t),e,r,o)}function ra(e,t,r,o){return He(da(t,e.length-r),e,r,o)}u.prototype.write=function(t,r,o,i){if(r===void 0)i="utf8",o=this.length,r=0;else if(o===void 0&&typeof r=="string")i=r,o=this.length,r=0;else if(isFinite(r))r=r>>>0,isFinite(o)?(o=o>>>0,i===void 0&&(i="utf8")):(i=o,o=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var p=this.length-r;if((o===void 0||o>p)&&(o=p),t.length>0&&(o<0||r<0)||r>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var l=!1;;)switch(i){case"hex":return Ji(this,t,r,o);case"utf8":case"utf-8":return Qi(this,t,r,o);case"ascii":case"latin1":case"binary":return ea(this,t,r,o);case"base64":return ta(this,t,r,o);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ra(this,t,r,o);default:if(l)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),l=!0}};u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function na(e,t,r){return t===0&&r===e.length?_t.fromByteArray(e):_t.fromByteArray(e.slice(t,r))}function Yr(e,t,r){r=Math.min(e.length,r);for(var o=[],i=t;i<r;){var p=e[i],l=null,m=p>239?4:p>223?3:p>191?2:1;if(i+m<=r){var d,T,x,h;switch(m){case 1:p<128&&(l=p);break;case 2:d=e[i+1],(d&192)===128&&(h=(p&31)<<6|d&63,h>127&&(l=h));break;case 3:d=e[i+1],T=e[i+2],(d&192)===128&&(T&192)===128&&(h=(p&15)<<12|(d&63)<<6|T&63,h>2047&&(h<55296||h>57343)&&(l=h));break;case 4:d=e[i+1],T=e[i+2],x=e[i+3],(d&192)===128&&(T&192)===128&&(x&192)===128&&(h=(p&15)<<18|(d&63)<<12|(T&63)<<6|x&63,h>65535&&h<1114112&&(l=h))}}l===null?(l=65533,m=1):l>65535&&(l-=65536,o.push(l>>>10&1023|55296),l=56320|l&1023),o.push(l),i+=m}return oa(o)}var Hr=4096;function oa(e){var t=e.length;if(t<=Hr)return String.fromCharCode.apply(String,e);for(var r="",o=0;o<t;)r+=String.fromCharCode.apply(String,e.slice(o,o+=Hr));return r}function ia(e,t,r){var o="";r=Math.min(e.length,r);for(var i=t;i<r;++i)o+=String.fromCharCode(e[i]&127);return o}function aa(e,t,r){var o="";r=Math.min(e.length,r);for(var i=t;i<r;++i)o+=String.fromCharCode(e[i]);return o}function sa(e,t,r){var o=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>o)&&(r=o);for(var i="",p=t;p<r;++p)i+=ma[e[p]];return i}function ca(e,t,r){for(var o=e.slice(t,r),i="",p=0;p<o.length-1;p+=2)i+=String.fromCharCode(o[p]+o[p+1]*256);return i}u.prototype.slice=function(t,r){var o=this.length;t=~~t,r=r===void 0?o:~~r,t<0?(t+=o,t<0&&(t=0)):t>o&&(t=o),r<0?(r+=o,r<0&&(r=0)):r>o&&(r=o),r<t&&(r=t);var i=this.subarray(t,r);return Object.setPrototypeOf(i,u.prototype),i};function N(e,t,r){if(e%1!==0||e<0)throw new RangeError("offset is not uint");if(e+t>r)throw new RangeError("Trying to access beyond buffer length")}u.prototype.readUintLE=u.prototype.readUIntLE=function(t,r,o){t=t>>>0,r=r>>>0,o||N(t,r,this.length);for(var i=this[t],p=1,l=0;++l<r&&(p*=256);)i+=this[t+l]*p;return i};u.prototype.readUintBE=u.prototype.readUIntBE=function(t,r,o){t=t>>>0,r=r>>>0,o||N(t,r,this.length);for(var i=this[t+--r],p=1;r>0&&(p*=256);)i+=this[t+--r]*p;return i};u.prototype.readUint8=u.prototype.readUInt8=function(t,r){return t=t>>>0,r||N(t,1,this.length),this[t]};u.prototype.readUint16LE=u.prototype.readUInt16LE=function(t,r){return t=t>>>0,r||N(t,2,this.length),this[t]|this[t+1]<<8};u.prototype.readUint16BE=u.prototype.readUInt16BE=function(t,r){return t=t>>>0,r||N(t,2,this.length),this[t]<<8|this[t+1]};u.prototype.readUint32LE=u.prototype.readUInt32LE=function(t,r){return t=t>>>0,r||N(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+this[t+3]*16777216};u.prototype.readUint32BE=u.prototype.readUInt32BE=function(t,r){return t=t>>>0,r||N(t,4,this.length),this[t]*16777216+(this[t+1]<<16|this[t+2]<<8|this[t+3])};u.prototype.readIntLE=function(t,r,o){t=t>>>0,r=r>>>0,o||N(t,r,this.length);for(var i=this[t],p=1,l=0;++l<r&&(p*=256);)i+=this[t+l]*p;return p*=128,i>=p&&(i-=Math.pow(2,8*r)),i};u.prototype.readIntBE=function(t,r,o){t=t>>>0,r=r>>>0,o||N(t,r,this.length);for(var i=r,p=1,l=this[t+--i];i>0&&(p*=256);)l+=this[t+--i]*p;return p*=128,l>=p&&(l-=Math.pow(2,8*r)),l};u.prototype.readInt8=function(t,r){return t=t>>>0,r||N(t,1,this.length),this[t]&128?(255-this[t]+1)*-1:this[t]};u.prototype.readInt16LE=function(t,r){t=t>>>0,r||N(t,2,this.length);var o=this[t]|this[t+1]<<8;return o&32768?o|4294901760:o};u.prototype.readInt16BE=function(t,r){t=t>>>0,r||N(t,2,this.length);var o=this[t+1]|this[t]<<8;return o&32768?o|4294901760:o};u.prototype.readInt32LE=function(t,r){return t=t>>>0,r||N(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24};u.prototype.readInt32BE=function(t,r){return t=t>>>0,r||N(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]};u.prototype.readFloatLE=function(t,r){return t=t>>>0,r||N(t,4,this.length),ge.read(this,t,!0,23,4)};u.prototype.readFloatBE=function(t,r){return t=t>>>0,r||N(t,4,this.length),ge.read(this,t,!1,23,4)};u.prototype.readDoubleLE=function(t,r){return t=t>>>0,r||N(t,8,this.length),ge.read(this,t,!0,52,8)};u.prototype.readDoubleBE=function(t,r){return t=t>>>0,r||N(t,8,this.length),ge.read(this,t,!1,52,8)};function L(e,t,r,o,i,p){if(!u.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<p)throw new RangeError('"value" argument is out of bounds');if(r+o>e.length)throw new RangeError("Index out of range")}u.prototype.writeUintLE=u.prototype.writeUIntLE=function(t,r,o,i){if(t=+t,r=r>>>0,o=o>>>0,!i){var p=Math.pow(2,8*o)-1;L(this,t,r,o,p,0)}var l=1,m=0;for(this[r]=t&255;++m<o&&(l*=256);)this[r+m]=t/l&255;return r+o};u.prototype.writeUintBE=u.prototype.writeUIntBE=function(t,r,o,i){if(t=+t,r=r>>>0,o=o>>>0,!i){var p=Math.pow(2,8*o)-1;L(this,t,r,o,p,0)}var l=o-1,m=1;for(this[r+l]=t&255;--l>=0&&(m*=256);)this[r+l]=t/m&255;return r+o};u.prototype.writeUint8=u.prototype.writeUInt8=function(t,r,o){return t=+t,r=r>>>0,o||L(this,t,r,1,255,0),this[r]=t&255,r+1};u.prototype.writeUint16LE=u.prototype.writeUInt16LE=function(t,r,o){return t=+t,r=r>>>0,o||L(this,t,r,2,65535,0),this[r]=t&255,this[r+1]=t>>>8,r+2};u.prototype.writeUint16BE=u.prototype.writeUInt16BE=function(t,r,o){return t=+t,r=r>>>0,o||L(this,t,r,2,65535,0),this[r]=t>>>8,this[r+1]=t&255,r+2};u.prototype.writeUint32LE=u.prototype.writeUInt32LE=function(t,r,o){return t=+t,r=r>>>0,o||L(this,t,r,4,4294967295,0),this[r+3]=t>>>24,this[r+2]=t>>>16,this[r+1]=t>>>8,this[r]=t&255,r+4};u.prototype.writeUint32BE=u.prototype.writeUInt32BE=function(t,r,o){return t=+t,r=r>>>0,o||L(this,t,r,4,4294967295,0),this[r]=t>>>24,this[r+1]=t>>>16,this[r+2]=t>>>8,this[r+3]=t&255,r+4};u.prototype.writeIntLE=function(t,r,o,i){if(t=+t,r=r>>>0,!i){var p=Math.pow(2,8*o-1);L(this,t,r,o,p-1,-p)}var l=0,m=1,d=0;for(this[r]=t&255;++l<o&&(m*=256);)t<0&&d===0&&this[r+l-1]!==0&&(d=1),this[r+l]=(t/m>>0)-d&255;return r+o};u.prototype.writeIntBE=function(t,r,o,i){if(t=+t,r=r>>>0,!i){var p=Math.pow(2,8*o-1);L(this,t,r,o,p-1,-p)}var l=o-1,m=1,d=0;for(this[r+l]=t&255;--l>=0&&(m*=256);)t<0&&d===0&&this[r+l+1]!==0&&(d=1),this[r+l]=(t/m>>0)-d&255;return r+o};u.prototype.writeInt8=function(t,r,o){return t=+t,r=r>>>0,o||L(this,t,r,1,127,-128),t<0&&(t=255+t+1),this[r]=t&255,r+1};u.prototype.writeInt16LE=function(t,r,o){return t=+t,r=r>>>0,o||L(this,t,r,2,32767,-32768),this[r]=t&255,this[r+1]=t>>>8,r+2};u.prototype.writeInt16BE=function(t,r,o){return t=+t,r=r>>>0,o||L(this,t,r,2,32767,-32768),this[r]=t>>>8,this[r+1]=t&255,r+2};u.prototype.writeInt32LE=function(t,r,o){return t=+t,r=r>>>0,o||L(this,t,r,4,2147483647,-2147483648),this[r]=t&255,this[r+1]=t>>>8,this[r+2]=t>>>16,this[r+3]=t>>>24,r+4};u.prototype.writeInt32BE=function(t,r,o){return t=+t,r=r>>>0,o||L(this,t,r,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),this[r]=t>>>24,this[r+1]=t>>>16,this[r+2]=t>>>8,this[r+3]=t&255,r+4};function Xr(e,t,r,o,i,p){if(r+o>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function Zr(e,t,r,o,i){return t=+t,r=r>>>0,i||Xr(e,t,r,4,34028234663852886e22,-34028234663852886e22),ge.write(e,t,r,o,23,4),r+4}u.prototype.writeFloatLE=function(t,r,o){return Zr(this,t,r,!0,o)};u.prototype.writeFloatBE=function(t,r,o){return Zr(this,t,r,!1,o)};function Jr(e,t,r,o,i){return t=+t,r=r>>>0,i||Xr(e,t,r,8,17976931348623157e292,-17976931348623157e292),ge.write(e,t,r,o,52,8),r+8}u.prototype.writeDoubleLE=function(t,r,o){return Jr(this,t,r,!0,o)};u.prototype.writeDoubleBE=function(t,r,o){return Jr(this,t,r,!1,o)};u.prototype.copy=function(t,r,o,i){if(!u.isBuffer(t))throw new TypeError("argument should be a Buffer");if(o||(o=0),!i&&i!==0&&(i=this.length),r>=t.length&&(r=t.length),r||(r=0),i>0&&i<o&&(i=o),i===o||t.length===0||this.length===0)return 0;if(r<0)throw new RangeError("targetStart out of bounds");if(o<0||o>=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),t.length-r<i-o&&(i=t.length-r+o);var p=i-o;return this===t&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(r,o,i):Uint8Array.prototype.set.call(t,this.subarray(o,i),r),p};u.prototype.fill=function(t,r,o,i){if(typeof t=="string"){if(typeof r=="string"?(i=r,r=0,o=this.length):typeof o=="string"&&(i=o,o=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!u.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(t.length===1){var p=t.charCodeAt(0);(i==="utf8"&&p<128||i==="latin1")&&(t=p)}}else typeof t=="number"?t=t&255:typeof t=="boolean"&&(t=Number(t));if(r<0||this.length<r||this.length<o)throw new RangeError("Out of range index");if(o<=r)return this;r=r>>>0,o=o===void 0?this.length:o>>>0,t||(t=0);var l;if(typeof t=="number")for(l=r;l<o;++l)this[l]=t;else{var m=u.isBuffer(t)?t:u.from(t,i),d=m.length;if(d===0)throw new TypeError('The value "'+t+'" is invalid for argument "value"');for(l=0;l<o-r;++l)this[l+r]=m[l%d]}return this};var la=/[^+/0-9A-Za-z-_]/g;function pa(e){if(e=e.split("=")[0],e=e.trim().replace(la,""),e.length<2)return"";for(;e.length%4!==0;)e=e+"=";return e}function Ft(e,t){t=t||1/0;for(var r,o=e.length,i=null,p=[],l=0;l<o;++l){if(r=e.charCodeAt(l),r>55295&&r<57344){if(!i){if(r>56319){(t-=3)>-1&&p.push(239,191,189);continue}else if(l+1===o){(t-=3)>-1&&p.push(239,191,189);continue}i=r;continue}if(r<56320){(t-=3)>-1&&p.push(239,191,189),i=r;continue}r=(i-55296<<10|r-56320)+65536}else i&&(t-=3)>-1&&p.push(239,191,189);if(i=null,r<128){if((t-=1)<0)break;p.push(r)}else if(r<2048){if((t-=2)<0)break;p.push(r>>6|192,r&63|128)}else if(r<65536){if((t-=3)<0)break;p.push(r>>12|224,r>>6&63|128,r&63|128)}else if(r<1114112){if((t-=4)<0)break;p.push(r>>18|240,r>>12&63|128,r>>6&63|128,r&63|128)}else throw new Error("Invalid code point")}return p}function ua(e){for(var t=[],r=0;r<e.length;++r)t.push(e.charCodeAt(r)&255);return t}function da(e,t){for(var r,o,i,p=[],l=0;l<e.length&&!((t-=2)<0);++l)r=e.charCodeAt(l),o=r>>8,i=r%256,p.push(i),p.push(o);return p}function Qr(e){return _t.toByteArray(pa(e))}function He(e,t,r,o){for(var i=0;i<o&&!(i+r>=t.length||i>=e.length);++i)t[i+r]=e[i];return i}function G(e,t){return e instanceof t||e!=null&&e.constructor!=null&&e.constructor.name!=null&&e.constructor.name===t.name}function $t(e){return e!==e}var ma=function(){for(var e="0123456789abcdef",t=new Array(256),r=0;r<16;++r)for(var o=r*16,i=0;i<16;++i)t[o+i]=e[r]+e[i];return t}()});var an=Ve((hc,on)=>{n();var v=on.exports={},W,H;function Vt(){throw new Error("setTimeout has not been defined")}function Gt(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?W=setTimeout:W=Vt}catch(e){W=Vt}try{typeof clearTimeout=="function"?H=clearTimeout:H=Gt}catch(e){H=Gt}})();function tn(e){if(W===setTimeout)return setTimeout(e,0);if((W===Vt||!W)&&setTimeout)return W=setTimeout,setTimeout(e,0);try{return W(e,0)}catch(t){try{return W.call(null,e,0)}catch(r){return W.call(this,e,0)}}}function ga(e){if(H===clearTimeout)return clearTimeout(e);if((H===Gt||!H)&&clearTimeout)return H=clearTimeout,clearTimeout(e);try{return H(e)}catch(t){try{return H.call(null,e)}catch(r){return H.call(this,e)}}}var X=[],Te=!1,pe,qe=-1;function fa(){!Te||!pe||(Te=!1,pe.length?X=pe.concat(X):qe=-1,X.length&&rn())}function rn(){if(!Te){var e=tn(fa);Te=!0;for(var t=X.length;t;){for(pe=X,X=[];++qe<t;)pe&&pe[qe].run();qe=-1,t=X.length}pe=null,Te=!1,ga(e)}}v.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];X.push(new nn(e,t)),X.length===1&&!Te&&tn(rn)};function nn(e,t){this.fun=e,this.array=t}nn.prototype.run=function(){this.fun.apply(null,this.array)};v.title="browser";v.browser=!0;v.env={};v.argv=[];v.version="";v.versions={};function Z(){}v.on=Z;v.addListener=Z;v.once=Z;v.off=Z;v.removeListener=Z;v.removeAllListeners=Z;v.emit=Z;v.prependListener=Z;v.prependOnceListener=Z;v.listeners=function(e){return[]};v.binding=function(e){throw new Error("process.binding is not supported")};v.cwd=function(){return"/"};v.chdir=function(e){throw new Error("process.chdir is not supported")};v.umask=function(){return 0}});var a,s,xc,n=f(()=>{a=S(en()),s=S(an()),xc=function(e){function t(){var o=this||self;return delete e.prototype.__magic__,o}if(typeof globalThis=="object")return globalThis;if(this)return t();e.defineProperty(e.prototype,"__magic__",{configurable:!0,get:t});var r=__magic__;return r}(Object)});var sn=f(()=>{"use strict";n()});var cn=f(()=>{"use strict";n()});var ln=f(()=>{"use strict";n()});var pn=f(()=>{"use strict";n()});var B=f(()=>{"use strict";n()});var un=f(()=>{"use strict";n()});var dn=f(()=>{"use strict";n()});var R=f(()=>{"use strict";n()});var mn=f(()=>{"use strict";n()});var gn=f(()=>{"use strict";n()});var fn=f(()=>{"use strict";n()});var P=f(()=>{"use strict";n();cn();ln();pn();B();un();dn();R();mn();gn();fn()});var ue,Tn,Bc,yn,$c,hn,Vc,Gc,Ta,ye=f(()=>{"use strict";n();P();ue={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",apiAddress:"https://devnet-api.multiversx.com",explorerAddress:"http://devnet-explorer.multiversx.com",apiTimeout:"4000"},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",apiAddress:"https://testnet-api.multiversx.com",explorerAddress:"http://testnet-explorer.multiversx.com",apiTimeout:"4000"},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",apiAddress:"https://api.multiversx.com",explorerAddress:"https://explorer.multiversx.com",apiTimeout:"4000"}},{chainId:Tn,egldLabel:Bc}=ue["devnet"],{chainId:yn,egldLabel:$c}=ue["testnet"],{chainId:hn,egldLabel:Vc}=ue["mainnet"],Gc={["devnet"]:Tn,["testnet"]:yn,["mainnet"]:hn},Ta={[Tn]:"devnet",[yn]:"testnet",[hn]:"mainnet"}});var Wt=f(()=>{"use strict";n()});var xn=f(()=>{"use strict";n()});var Sn,Ht=f(()=>{"use strict";n();Sn="transaction-status-toast-id"});var q,wn=f(()=>{"use strict";n();q=require("@multiversx/sdk-web-wallet-provider")});var In=f(()=>{"use strict";n()});var An=f(()=>{"use strict";n()});var qt,zt,vn,ze,bn,he,I=f(()=>{"use strict";n();sn();ye();Wt();xn();Ht();wn();In();An();qt=5e4,zt=1e9,vn=1,ze="logout",bn="login",he="0"});var je,jt=f(()=>{"use strict";n();je=()=>Date.now()/1e3});var En=f(()=>{"use strict";n()});var kn=f(()=>{"use strict";n()});var Nn=f(()=>{"use strict";n();jt();En();kn()});var Yt={};se(Yt,{getItem:()=>ha,localStorageKeys:()=>$,removeItem:()=>xa,setItem:()=>ya});var $,Kt,ya,ha,xa,xe=f(()=>{"use strict";n();Nn();$={loginExpiresAt:"sdk-dapp-login-expires-at",logoutEvent:"sdk-dapp-logout-event"},Kt=typeof localStorage!="undefined",ya=({key:e,data:t,expires:r})=>{!Kt||localStorage.setItem(String(e),JSON.stringify({expires:r,data:t}))},ha=e=>{if(!Kt)return;let t=localStorage.getItem(String(e));if(!t)return null;let r=JSON.parse(t);return!r||!r.hasOwnProperty("expires")||!r.hasOwnProperty("data")?null:je()>=r.expires?(localStorage.removeItem(String(e)),null):r.data},xa=e=>{!Kt||localStorage.removeItem(String(e))}});var Xt={};se(Xt,{clear:()=>Pn,getItem:()=>Ln,removeItem:()=>Rn,setItem:()=>Dn,storage:()=>Sa});var Dn,Ln,Rn,Pn,Sa,Cn=f(()=>{"use strict";n();Dn=({key:e,data:t,expires:r})=>{sessionStorage.setItem(String(e),JSON.stringify({expires:r,data:t}))},Ln=e=>{let t=sessionStorage.getItem(String(e));if(!t)return null;let r=JSON.parse(t);return!r||!r.hasOwnProperty("expires")||!r.hasOwnProperty("data")?null:Date.now()>=r.expires?(sessionStorage.removeItem(String(e)),null):r.data},Rn=e=>sessionStorage.removeItem(String(e)),Pn=()=>sessionStorage.clear(),Sa={setItem:Dn,getItem:Ln,removeItem:Rn,clear:Pn}});var z,ve=f(()=>{"use strict";n();xe();Cn();z={session:Xt,local:Yt}});var Zt,A,be,_=f(()=>{"use strict";n();Zt=require("@reduxjs/toolkit");I();A=(0,Zt.createAction)(ze),be=(0,Zt.createAction)(bn,e=>({payload:e}))});var Qt,_n,Mn,Ke,Jt,On,er,Il,tr,Al,vl,bl,El,kl,Nl,Dl,Ll,Ye,Xe=f(()=>{"use strict";n();Qt=require("@multiversx/sdk-core"),_n=require("@reduxjs/toolkit"),Mn=require("redux-persist");I();ve();xe();_();Ke={balance:"...",address:"",isGuarded:!1,nonce:0,txCount:0,scrCount:0,claimableRewards:he},Jt={address:"",websocketEvent:null,websocketBatchEvent:null,accounts:{"":Ke},ledgerAccount:null,publicKey:"",walletConnectAccount:null,isAccountLoading:!0,accountLoadingError:null},On=(0,_n.createSlice)({name:"accountInfoSlice",initialState:Jt,reducers:{setAddress:(e,t)=>{let r=t.payload;e.address=r,e.publicKey=new Qt.Address(r).hex()},setAccount:(e,t)=>{let r=e.address===t.payload.address;e.accounts={[e.address]:r?t.payload:Ke},e.shard=t.payload.shard,e.isAccountLoading=!1,e.accountLoadingError=null},setAccountNonce:(e,t)=>{let{address:r}=e;e.accounts[r].nonce=t.payload},setAccountShard:(e,t)=>{e.shard=t.payload},setLedgerAccount:(e,t)=>{e.ledgerAccount=t.payload},updateLedgerAccount:(e,t)=>{e.ledgerAccount!=null&&(e.ledgerAccount.index=t.payload.index,e.ledgerAccount.address=t.payload.address)},setWalletConnectAccount:(e,t)=>{e.walletConnectAccount=t.payload},setIsAccountLoading:(e,t)=>{e.isAccountLoading=t.payload,e.accountLoadingError=null},setAccountLoadingError:(e,t)=>{e.accountLoadingError=t.payload,e.isAccountLoading=!1},setWebsocketEvent:(e,t)=>{e.websocketEvent={timestamp:Date.now(),message:t.payload}},setWebsocketBatchEvent:(e,t)=>{e.websocketBatchEvent={timestamp:Date.now(),data:t.payload}}},extraReducers:e=>{e.addCase(A,()=>(z.local.removeItem($.loginExpiresAt),Jt)),e.addCase(be,(t,r)=>{let{address:o}=r.payload;t.address=o,t.publicKey=new Qt.Address(o).hex()}),e.addCase(Mn.REHYDRATE,(t,r)=>{var T;if(!((T=r.payload)!=null&&T.account))return;let{account:o}=r.payload,{address:i,shard:p,accounts:l,publicKey:m}=o;t.address=i,t.shard=p;let d=l&&i in l;t.accounts=d?l:Jt.accounts,t.publicKey=m})}}),{setAccount:er,setAddress:Il,setAccountNonce:tr,setAccountShard:Al,setLedgerAccount:vl,updateLedgerAccount:bl,setWalletConnectAccount:El,setIsAccountLoading:kl,setAccountLoadingError:Nl,setWebsocketEvent:Dl,setWebsocketBatchEvent:Ll}=On.actions,Ye=On.reducer});function Ee(){return new Date().setHours(new Date().getHours()+24)}function ke(e){z.local.setItem({key:$.loginExpiresAt,data:e,expires:e})}var rr=f(()=>{"use strict";n();ve();xe()});var Un,Fn,Bn,$l,Vl,Gl,Wl,Hl,ql,$n,Vn,Ze,De=f(()=>{"use strict";n();Un=require("@reduxjs/toolkit");rr();B();_();Fn={loginMethod:"",walletConnectLogin:null,ledgerLogin:null,tokenLogin:null,walletLogin:null,extensionLogin:null,operaLogin:null,isLoginSessionInvalid:!1},Bn=(0,Un.createSlice)({name:"loginInfoSlice",initialState:Fn,reducers:{setLoginMethod:(e,t)=>{e.loginMethod=t.payload},setTokenLogin:(e,t)=>{e.tokenLogin=t.payload},setTokenLoginSignature:(e,t)=>{(e==null?void 0:e.tokenLogin)!=null&&(e.tokenLogin.signature=t.payload)},setWalletLogin:(e,t)=>{e.walletLogin=t.payload},setWalletConnectLogin:(e,t)=>{e.walletConnectLogin=t.payload},setLedgerLogin:(e,t)=>{e.ledgerLogin=t.payload},invalidateLoginSession:e=>{e.isLoginSessionInvalid=!0},setLogoutRoute:(e,t)=>{e.logoutRoute=t.payload}},extraReducers:e=>{e.addCase(A,()=>Fn),e.addCase(be,(t,r)=>{t.loginMethod=r.payload.loginMethod,ke(Ee())})}}),{setLoginMethod:$l,setWalletConnectLogin:Vl,setLedgerLogin:Gl,setTokenLogin:Wl,setTokenLoginSignature:Hl,setWalletLogin:ql,invalidateLoginSession:$n,setLogoutRoute:Vn}=Bn.actions,Ze=Bn.reducer});var Wn,Gn,Hn,Yl,Xl,Zl,Jl,Je,Qe=f(()=>{"use strict";n();Wn=require("@reduxjs/toolkit");_();Gn={},Hn=(0,Wn.createSlice)({name:"modalsSlice",initialState:Gn,reducers:{setTxSubmittedModal:(e,t)=>{e.txSubmittedModal=t.payload},setNotificationModal:(e,t)=>{e.notificationModal=t.payload},clearTxSubmittedModal:e=>{e.txSubmittedModal=void 0},clearNotificationModal:e=>{e.notificationModal=void 0}},extraReducers:e=>{e.addCase(A,()=>Gn)}}),{setTxSubmittedModal:Yl,setNotificationModal:Xl,clearTxSubmittedModal:Zl,clearNotificationModal:Jl}=Hn.actions,Je=Hn.reducer});var qn,zn,nr,or=f(()=>{"use strict";n();qn=!1,zn=(e=!0)=>{qn=e},nr=(e,t=0)=>{qn||setTimeout(()=>{!window||(window.location.href=e,window.location.assign(e))},t)}});var jn=f(()=>{"use strict";n();or()});function ir(e){return e[Math.floor(Math.random()*e.length)]}var Kn=f(()=>{"use strict";n()});var Yn=f(()=>{"use strict";n();Wt()});var Xn=f(()=>{"use strict";n();jn();Kn();Yn()});var Zn,Jn,ar,wa,Qn,sr,mp,et,Le=f(()=>{"use strict";n();Zn=require("@reduxjs/toolkit"),Jn=S(require("lodash.omit"));Xn();ar={id:"not-configured",chainId:"",name:"NOT CONFIGURED",egldLabel:"",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"",walletConnectBridgeAddress:"",walletConnectV2RelayAddress:"",walletConnectV2ProjectId:"",walletConnectV2Options:{},walletAddress:"",apiAddress:"",explorerAddress:"",apiTimeout:"4000"},wa={network:ar,chainID:"-1"},Qn=(0,Zn.createSlice)({name:"appConfig",initialState:wa,reducers:{initializeNetworkConfig:(e,t)=>{let r=ir(t.payload.walletConnectBridgeAddresses),o=ir(t.payload.walletConnectV2RelayAddresses),i=(0,Jn.default)(t.payload,"walletConnectBridgeAddresses","walletConnectV2RelayAddresses");e.network=w(y(y({},e.network),i),{walletConnectBridgeAddress:r,walletConnectV2RelayAddress:o})},setChainID:(e,t)=>{e.chainID=t.payload}}}),{initializeNetworkConfig:sr,setChainID:mp}=Qn.actions,et=Qn.reducer});var eo,cr,to,xp,Sp,wp,tt,rt=f(()=>{"use strict";n();eo=require("@reduxjs/toolkit");P();_();cr={isSigning:!1,signedSessions:{}},to=(0,eo.createSlice)({name:"signedMessageInfoSliceState",initialState:cr,reducers:{setSignSession:(e,t)=>{let{sessionId:r,signedSession:o,errorMessage:i}=t.payload;i&&(e.errorMessage=i),e.isSigning=o.status==="pending",e.signedSessions[r]=o},setSignSessionState:(e,t)=>y(y({},e),t.payload),clearSignedMessageInfo:()=>cr},extraReducers:e=>{e.addCase(A,()=>cr)}}),{setSignSession:xp,clearSignedMessageInfo:Sp,setSignSessionState:wp}=to.actions,tt=to.reducer});var no,oo,ro,io,Dp,Lp,Rp,Pp,Cp,_p,nt,ot=f(()=>{"use strict";n();no=require("@reduxjs/toolkit"),oo=require("redux-persist");Ht();P();jt();_();ro={customToasts:[],transactionToasts:[],failTransactionToast:null},io=(0,no.createSlice)({name:"toastsSlice",initialState:ro,reducers:{addCustomToast:(e,t)=>{e.customToasts.push(w(y({},t.payload),{type:"custom",toastId:t.payload.toastId||`custom-toast-${e.customToasts.length+1}`}))},removeCustomToast:(e,t)=>{e.customToasts=e.customToasts.filter(r=>r.toastId!==t.payload)},addTransactionToast:(e,t)=>{e.transactionToasts.push({type:"transaction",startTimestamp:je(),toastId:t.payload||`custom-toast-${e.transactionToasts.length+1}`})},removeTransactionToast:(e,t)=>{e.transactionToasts=e.transactionToasts.filter(r=>r.toastId!==t.payload)},addFailTransactionToast:(e,t)=>{e.failTransactionToast=w(y({},t.payload),{toastId:Sn})},removeFailTransactionToast:e=>{e.failTransactionToast=null}},extraReducers:e=>{e.addCase(A,()=>ro),e.addCase(oo.REHYDRATE,(t,r)=>{var i,p;let o=(p=(i=r.customToasts)==null?void 0:i.filter(l=>!("component"in l)))!=null?p:[];t.customToasts=o})}}),{addCustomToast:Dp,removeCustomToast:Lp,addTransactionToast:Rp,removeTransactionToast:Pp,addFailTransactionToast:Cp,removeFailTransactionToast:_p}=io.actions,nt=io.reducer});var ao,pr,ur,dr,Ia,lr,so,Up,Bp,$p,it,at=f(()=>{"use strict";n();ao=require("@reduxjs/toolkit");_();pr="Transaction failed",ur="Transaction successful",dr="Processing transaction",Ia="Transaction submitted",lr={},so=(0,ao.createSlice)({name:"transactionsInfo",initialState:lr,reducers:{setTransactionsDisplayInfo(e,t){let{sessionId:r,transactionsDisplayInfo:o}=t.payload;r!=null&&(e[r]={errorMessage:(o==null?void 0:o.errorMessage)||pr,successMessage:(o==null?void 0:o.successMessage)||ur,processingMessage:(o==null?void 0:o.processingMessage)||dr,submittedMessage:(o==null?void 0:o.submittedMessage)||Ia,transactionDuration:o==null?void 0:o.transactionDuration})},clearTransactionsInfoForSessionId(e,t){t.payload!=null&&delete e[t.payload]},clearTransactionsInfo:()=>lr},extraReducers:e=>{e.addCase(A,()=>lr)}}),{clearTransactionsInfo:Up,setTransactionsDisplayInfo:Bp,clearTransactionsInfoForSessionId:$p}=so.actions,it=so.reducer});function co(e){return e!=null&&(Ca(e)||Ua(e))}function st(e){return e!=null&&(_a(e)||Ba(e))}function ct(e){return e!=null&&(Ma(e)||$a(e))}function lo(e){return e!=null&&(Oa(e)||Va(e))}function po(e){return e!=null&&Fa(e)}function Ca(e){return e!=null&&va.includes(e)}function _a(e){return e!=null&&ba.includes(e)}function Ma(e){return e!=null&&Ea.includes(e)}function Oa(e){return e!=null&&ka.includes(e)}function Fa(e){return e!=null&&Na.includes(e)}function Ua(e){return e!=null&&Da.includes(e)}function Ba(e){return e!=null&&La.includes(e)}function $a(e){return e!=null&&Ra.includes(e)}function Va(e){return e!=null&&Pa.includes(e)}var va,ba,Ea,ka,Na,Da,La,Ra,Pa,gr=f(()=>{"use strict";n();B();va=["sent"],ba=["success"],Ea=["fail","cancelled","timedOut"],ka=["invalid"],Na=["timedOut"],Da=["pending"],La=["success"],Ra=["fail","invalid"],Pa=["not executed"]});var uo,mo,Re,Ga,go,Yp,Xp,Zp,Jp,Qp,eu,tu,ru,nu,ou,lt,pt=f(()=>{"use strict";n();uo=require("@reduxjs/toolkit"),mo=require("redux-persist");B();gr();_();Re={signedTransactions:{},transactionsToSign:null,signTransactionsError:null,signTransactionsCancelMessage:null,customTransactionInformationForSessionId:{}},Ga={signWithoutSending:!1,sessionInformation:null,redirectAfterSign:!1},go=(0,uo.createSlice)({name:"transactionsSlice",initialState:Re,reducers:{moveTransactionsToSignedState:(e,t)=>{var T,x;let{sessionId:r,transactions:o,errorMessage:i,status:p,redirectRoute:l,customTransactionInformation:m={}}=t.payload,d=((T=e.customTransactionInformationForSessionId)==null?void 0:T[r])||Ga;e.signedTransactions[r]={transactions:o,status:p,errorMessage:i,redirectRoute:l,customTransactionInformation:y(y({},d),m)},((x=e==null?void 0:e.transactionsToSign)==null?void 0:x.sessionId)===r&&(e.transactionsToSign=Re.transactionsToSign)},clearSignedTransaction:(e,t)=>{e.signedTransactions[t.payload]&&delete e.signedTransactions[t.payload]},clearTransactionToSign:e=>{e!=null&&e.transactionsToSign&&(e.transactionsToSign=null)},updateSignedTransaction:(e,t)=>{e.signedTransactions=y(y({},e.signedTransactions),t.payload)},updateSignedTransactions:(e,t)=>{let{sessionId:r,status:o,errorMessage:i,transactions:p}=t.payload;e.signedTransactions[r]!=null&&(e.signedTransactions[r].status=o,i!=null&&(e.signedTransactions[r].errorMessage=i),p!=null&&(e.signedTransactions[r].transactions=p))},updateSignedTransactionStatus:(e,t)=>{var d,T,x,h,D,k,M,me;let{sessionId:r,status:o,errorMessage:i,transactionHash:p,inTransit:l}=t.payload,m=(T=(d=e.signedTransactions)==null?void 0:d[r])==null?void 0:T.transactions;if(m!=null){e.signedTransactions[r].transactions=m.map(O=>O.hash===p?w(y({},O),{status:o,errorMessage:i,inTransit:l}):O);let ae=(h=(x=e.signedTransactions[r])==null?void 0:x.transactions)==null?void 0:h.every(O=>st(O.status)),Dt=(k=(D=e.signedTransactions[r])==null?void 0:D.transactions)==null?void 0:k.every(O=>ct(O.status)),Lt=(me=(M=e.signedTransactions[r])==null?void 0:M.transactions)==null?void 0:me.every(O=>lo(O.status));ae&&(e.signedTransactions[r].status="success"),Dt&&(e.signedTransactions[r].status="fail"),Lt&&(e.signedTransactions[r].status="invalid")}},setTransactionsToSign:(e,t)=>{e.transactionsToSign=t.payload;let{sessionId:r,customTransactionInformation:o}=t.payload;e.customTransactionInformationForSessionId[r]=o,e.signTransactionsError=null},clearAllTransactionsToSign:e=>{e.transactionsToSign=Re.transactionsToSign,e.signTransactionsError=null},clearAllSignedTransactions:e=>{e.signedTransactions=Re.signedTransactions},setSignTransactionsError:(e,t)=>{e.signTransactionsError=t.payload},setSignTransactionsCancelMessage:(e,t)=>{e.signTransactionsCancelMessage=t.payload}},extraReducers:e=>{e.addCase(A,()=>Re),e.addCase(mo.REHYDRATE,(t,r)=>{var l;if(t.signTransactionsCancelMessage=null,!((l=r.payload)!=null&&l.transactions))return;let{signedTransactions:o,customTransactionInformationForSessionId:i}=r.payload.transactions,p=Object.entries(o).reduce((m,[d,T])=>{let x=new Date(d),h=new Date;return h.setHours(h.getHours()+5),h-x>0||(m[d]=T),m},{});i!=null&&(t.customTransactionInformationForSessionId=i),o!=null&&(t.signedTransactions=p)})}}),{updateSignedTransactionStatus:Yp,updateSignedTransactions:Xp,setTransactionsToSign:Zp,clearAllTransactionsToSign:Jp,clearAllSignedTransactions:Qp,clearSignedTransaction:eu,clearTransactionToSign:tu,setSignTransactionsError:ru,setSignTransactionsCancelMessage:nu,moveTransactionsToSignedState:ou}=go.actions,lt=go.reducer});var fo,fr,To,cu,lu,pu,uu,ut,dt=f(()=>{"use strict";n();fo=require("@reduxjs/toolkit");_();fr={},To=(0,fo.createSlice)({name:"batchTransactionsSlice",initialState:fr,reducers:{setBatchTransactions:(e,t)=>{e[t.payload.id]=t.payload},updateBatchTransactions:(e,t)=>{e[t.payload.id]=t.payload},clearBatchTransactions:(e,t)=>{delete e[t.payload.batchId]},clearAllBatchTransactions:()=>fr},extraReducers:e=>{e.addCase(A,()=>fr)}}),{setBatchTransactions:cu,updateBatchTransactions:lu,clearBatchTransactions:pu,clearAllBatchTransactions:uu}=To.actions,ut=To.reducer});var ho,yo,xo,So,wo,Tr=f(()=>{"use strict";n();ho=require("@reduxjs/toolkit");_();yo={},xo=(0,ho.createSlice)({name:"dappConfigSlice",initialState:yo,reducers:{setDappConfig:(e,t)=>{if(e&&t.payload){let{logoutRoute:r,shouldUseWebViewProvider:o}=t.payload;e.logoutRoute=r,e.shouldUseWebViewProvider=o}else e=t.payload}},extraReducers:e=>{e.addCase(A,()=>yo)}}),{setDappConfig:So}=xo.actions,wo=xo.reducer});var J=f(()=>{"use strict";n();Xe();De();Qe();Le();rt();ot();at();pt();dt();Tr()});var wr=f(()=>{"use strict";n()});var Mo,_o,Oo,em,tm,rm,nm,om,im,Fo,Uo=f(()=>{"use strict";n();Mo=require("@reduxjs/toolkit");_();_o={visible:!1,modal:{showHeader:!0,showFooter:!1,headerText:"",footerText:""}},Oo=(0,Mo.createSlice)({name:"dappModalsSlice",initialState:_o,reducers:{setDappModalVisibility:(e,t)=>{e.visible=t.payload},setDappModalHeaderVisibility:(e,t)=>{e.modal.showHeader=t.payload},setDappModalFooterVisibility:(e,t)=>{e.modal.showFooter=t.payload},setDappModalHeaderText:(e,t)=>{e.modal.headerText=t.payload},setDappModalFooterText:(e,t)=>{e.modal.footerText=t.payload},setDappModalConfig:(e,t)=>{e.modal=y({},t.payload)}},extraReducers:e=>{e.addCase(A,()=>_o)}}),{setDappModalVisibility:em,setDappModalHeaderVisibility:tm,setDappModalFooterVisibility:rm,setDappModalHeaderText:nm,setDappModalFooterText:om,setDappModalConfig:im}=Oo.actions,Fo=Oo.reducer});var Bo,Xa,Za,de,wt=f(()=>{"use strict";n();Bo=require("@reduxjs/toolkit");wr();Xe();dt();Tr();Uo();De();Qe();Le();rt();ot();at();pt();Xa={["account"]:Ye,["dappModal"]:Fo,["dappConfig"]:wo,["loginInfo"]:Ze,["modals"]:Je,["networkConfig"]:et,["signedMessageInfo"]:tt,["toasts"]:nt,["transactionsInfo"]:it,["transactions"]:lt,["batchTransactions"]:ut},Za=(e={})=>(0,Bo.combineReducers)(y(y({},Xa),e)),de=Za});var Wo={};se(Wo,{default:()=>ms,sessionStorageReducers:()=>Ir});function Q(e,t=[]){return{key:e,version:1,storage:Vo.default,blacklist:t}}var C,$o,Vo,Ja,Ce,Qa,es,ts,rs,ns,os,is,as,ss,cs,Go,ls,Ir,ps,us,ds,ms,Ho=f(()=>{"use strict";n();C=require("redux-persist"),$o=S(require("redux-persist/lib/storage")),Vo=S(require("redux-persist/lib/storage/session"));wt();J();Xe();dt();De();Qe();Le();rt();ot();at();pt();wr();Ja={persistReducersStorageType:"localStorage"},Ce={["account"]:"sdk-dapp-account",["loginInfo"]:"sdk-dapp-login-info",["modals"]:"sdk-dapp-modals",["networkConfig"]:"sdk-dapp-network-config"},Qa=Q(Ce["account"]),es=Q(Ce["loginInfo"]),ts=Q(Ce["modals"]),rs=Q(Ce["networkConfig"]),ns={2:e=>w(y({},e),{networkConfig:ar})};os=Q("sdk-dapp-transactionsInfo"),is=Q("sdk-dapp-transactions",["transactionsToSign"]),as=Q("sdk-dapp-batchTransactions",["batchTransactions"]),ss=Q("sdk-dapp-toasts"),cs=Q("sdk-dapp-signedMessageInfo"),Go={key:"sdk-dapp-store",version:2,storage:$o.default,whitelist:Object.keys(Ce),migrate:(0,C.createMigrate)(ns,{debug:!1})},ls=w(y({},Go),{whitelist:[]}),Ir={["toasts"]:(0,C.persistReducer)(ss,nt),["transactions"]:(0,C.persistReducer)(is,lt),["transactionsInfo"]:(0,C.persistReducer)(os,it),["batchTransactions"]:(0,C.persistReducer)(as,ut),["signedMessageInfo"]:(0,C.persistReducer)(cs,tt)},ps=w(y({},Ir),{["account"]:(0,C.persistReducer)(Qa,Ye),["loginInfo"]:(0,C.persistReducer)(es,Ze),["modals"]:(0,C.persistReducer)(ts,Je),["networkConfig"]:(0,C.persistReducer)(rs,et)}),us=Ja.persistReducersStorageType==="localStorage",ds=us?(0,C.persistReducer)(Go,de(Ir)):(0,C.persistReducer)(ls,de(ps)),ms=ds});var qo={};se(qo,{default:()=>gs});var gs,zo=f(()=>{"use strict";n();wt();gs=de()});var jo={};se(jo,{default:()=>Ts});var U,fs,Ts,Ko=f(()=>{"use strict";n();U=require("redux-persist"),fs=[U.FLUSH,U.REHYDRATE,U.PAUSE,U.PERSIST,U.PURGE,U.REGISTER],Ts=fs});var Zo={};se(Zo,{default:()=>Xo});function Xo(e){return(0,Yo.persistStore)(e)}var Yo,Jo=f(()=>{"use strict";n();Yo=require("redux-persist")});var mc={};se(mc,{AppInitializer:()=>dc});module.exports=Ae(mc);n();var ne=S(require("react")),Li=require("@multiversx/sdk-core/out");n();n();n();var Js=S(require("axios"));n();n();J();n();var Io=S(require("lodash.isequal")),mt=require("reselect");P();var g=(0,mt.createSelectorCreator)(mt.defaultMemoize,Io.default),gt=(e,t)=>e!=""&&Boolean(t);var j=e=>e.account,Pe=g(j,e=>e.address),ft=g(j,Pe,(e,t)=>t in e.accounts?e.accounts[t]:Ke),Ao=g(j,ft,(e,t)=>{let i=e,{accounts:r}=i,o=$e(i,["accounts"]);return w(y({},o),{account:t})}),Ru=g(ft,e=>e.balance),Wa=g(ft,e=>{var t;return((t=e==null?void 0:e.nonce)==null?void 0:t.valueOf())||0}),Pu=g(j,e=>e.shard),Cu=g(j,e=>e.ledgerAccount),_u=g(j,e=>e.walletConnectAccount),Mu=g(j,e=>e.isAccountLoading),Ou=g(j,e=>e.accountLoadingError),Fu=g(j,e=>e.websocketEvent),Uu=g(j,e=>e.websocketBatchEvent);n();var Ha=e=>e.dappConfig,Vu=g(Ha,e=>e.shouldUseWebViewProvider);n();var oe=e=>e.loginInfo,qu=g(oe,e=>e.loginMethod),Tt=g(oe,Pe,(e,t)=>gt(e.loginMethod,t)),zu=g(oe,e=>e.walletConnectLogin),ju=g(oe,e=>e.ledgerLogin),vo=g(oe,e=>e.walletLogin),bo=g(oe,e=>e.isLoginSessionInvalid),Ku=g(oe,e=>e.tokenLogin),Yu=g(oe,e=>e.logoutRoute);n();var Eo=e=>e.modals,Ju=g(Eo,e=>e.txSubmittedModal),Qu=g(Eo,e=>e.notificationModal);n();var ie=e=>e.networkConfig,rd=g(ie,e=>e.chainID),nd=g(ie,e=>e.network.walletConnectBridgeAddress),od=g(ie,e=>e.network.walletConnectV2RelayAddress),id=g(ie,e=>e.network.walletConnectV2ProjectId),ad=g(ie,e=>e.network.walletConnectV2Options),sd=g(ie,e=>e.network.walletConnectDeepLink),yt=g(ie,e=>e.network),ko=g(yt,e=>e.apiAddress),No=g(yt,e=>e.explorerAddress),cd=g(yt,e=>e.egldLabel);n();var ht=e=>e.signedMessageInfo,ud=g(ht,e=>e.isSigning),dd=g(ht,e=>e.errorMessage),md=g(ht,e=>{let t=Object.keys(e.signedSessions),r=t.length;return e.signedSessions[t[r-1]]}),gd=g(ht,e=>{let t=Object.keys(e.signedSessions),r=t.length;return t.length>0?t[r-1]:""});n();var yr=e=>e.toasts,yd=g(yr,e=>e.customToasts),hd=g(yr,e=>e.transactionToasts),xd=g(yr,e=>e.failTransactionToast);n();J();var Do={errorMessage:pr,successMessage:ur,processingMessage:dr},qa=e=>e.transactionsInfo,Ad=g(qa,(e,t)=>t,(e,t)=>t!=null&&(e==null?void 0:e[Number(t)])||Do);n();n();var K=require("@multiversx/sdk-core"),Ro=require("@multiversx/sdk-core/out/signature");I();n();var xr=require("@multiversx/sdk-core/out");n();n();function hr(e){try{let t=atob(e),r=btoa(t),o=a.Buffer.from(e,"base64").toString(),i=a.Buffer.from(o).toString("base64");if(e===r&&e===i||t===o)return!0}catch(t){return!1}return!1}n();n();n();n();var Lo=e=>{let t=e!=null?e:"";return hr(t)?xr.TransactionPayload.fromEncoded(t):new xr.TransactionPayload(t)};function Sr(e){var r,o,i;let t=new K.Transaction(y(y({value:e.value.valueOf(),data:Lo(e.data),nonce:e.nonce.valueOf(),receiver:new K.Address(e.receiver),sender:new K.Address(e.sender),gasLimit:(r=e.gasLimit.valueOf())!=null?r:qt,gasPrice:(o=e.gasPrice.valueOf())!=null?o:zt,chainID:e.chainID.valueOf(),version:new K.TransactionVersion((i=e.version)!=null?i:vn)},e.options?{options:new K.TransactionOptions(e.options)}:{}),e.guardian?{guardian:new K.Address(e.guardian)}:{}));return e.guardianSignature&&t.applyGuardianSignature({hex:()=>e.guardianSignature||""}),e.signature&&t.applySignature(new Ro.Signature(e.signature)),t}n();n();n();n();var Ar=require("@reduxjs/toolkit"),ri=require("react-redux/lib/utils/Subscription");J();n();var Po=S(require("lodash.throttle"));I();J();rr();ve();xe();var ja=[ze],xt=!1,Ka=(0,Po.default)(()=>{ke(Ee())},5e3),Co=e=>t=>r=>{var d;if(ja.includes(r.type))return t(r);let o=e.getState(),i=z.local.getItem($.loginExpiresAt);if(!gt((d=o==null?void 0:o.loginInfo)==null?void 0:d.loginMethod,o==null?void 0:o.account.address))return t(r);if(i==null)return ke(Ee());let l=Date.now();return i-l<0&&!xt?setTimeout(()=>{xt=!0,e.dispatch($n())},1e3):(xt&&(xt=!1),Ka()),t(r)};n();n();function St(){return typeof sessionStorage!="undefined"}var Qo=St()?(Ho(),Ae(Wo)).default:(zo(),Ae(qo)).default,ei=St()?(Ko(),Ae(jo)).default:[],ti=St()?(Jo(),Ae(Zo)).default:e=>e;wt();var b=(0,Ar.configureStore)({reducer:Qo,middleware:e=>e({serializableCheck:{ignoredActions:[...ei,tr.type,er.type],ignoredPaths:["payload.nonce","account.account.nonce","providers.accountProvider"]}}).concat(Co)}),ni=(0,ri.createSubscription)(b),Bm=ti(b),$m=(0,Ar.configureStore)({reducer:de});n();n();var hs=require("@multiversx/sdk-core/out");n();I();n();var ii=require("@multiversx/sdk-core");P();n();var oi=require("@multiversx/sdk-core");function xs(e){try{let t=new oi.Address(e);return Boolean(t.bech32())}catch(t){return!1}}function _e(e){return(e==null?void 0:e.startsWith("erd"))&&e.length===62&&/^\w+$/.test(e)&&xs(e)}n();n();n();var Ss=require("@multiversx/sdk-core"),ws=S(require("bignumber.js"));B();n();n();n();var ci="dapp/config";n();n();n();n();R();n();n();R();n();n();n();var ks=S(require("bignumber.js"));I();n();var Es=require("@multiversx/sdk-core"),vr=S(require("bignumber.js"));I();n();var vs=S(require("bignumber.js"));n();vr.default.config({ROUNDING_MODE:vr.default.ROUND_FLOOR});n();n();n();I();n();n();n();n();I();n();I();n();var Ns=require("@multiversx/sdk-core");I();n();var Oe=require("@multiversx/sdk-core"),Ls=require("@multiversx/sdk-network-providers");I();n();n();var Ds=S(require("bignumber.js"));I();n();I();n();n();n();n();n();n();I();n();I();n();I();n();R();var Ps=["reDelegateRewards","claimRewards","unBond"],Cs=["wrapEgld","unwrapEgld"],_s=["unStake"],Ms=["unDelegate"];n();n();n();I();n();var Us=S(require("bignumber.js"));n();n();R();n();var Bs=S(require("bignumber.js"));n();n();n();var Vs=S(require("bignumber.js"));P();n();n();n();n();B();n();var Hs=require("@multiversx/sdk-web-wallet-provider");I();n();var Ws=S(require("qs"));n();n();var kr=()=>typeof window!="undefined"&&typeof(window==null?void 0:window.location)!="undefined";n();var Zy={search:kr()?window.location.search:"",removeParams:[]};n();n();n();n();R();n();n();n();var qs=S(require("linkifyjs"));n();I();n();var zs=S(require("bignumber.js"));n();P();n();n();B();n();B();n();n();n();R();n();R();n();var js=S(require("bignumber.js"));I();R();n();R();n();var gi=require("react");P();n();n();R();n();n();var Ks=require("@multiversx/sdk-core/out"),Ys=S(require("bignumber.js"));R();n();P();n();n();P();var Wx=[{label:"Raw",value:"raw"},{label:"Text",value:"text"},{label:"Decimal",value:"decimal"},{label:"Smart",value:"smart"}];n();var fi=require("react");P();n();var Zs=require("react");R();var Xx=["create","localMint","ESDTLocalMint","addQuantity","burn","localBurn","ESDTLocalBurn","wipe","writeLog","signalError"];gr();var vt=e=>e.transactions,Fe=g(vt,e=>e.signedTransactions),MS=g(vt,e=>e.signTransactionsError),OS=g(vt,e=>e.signTransactionsCancelMessage),bt=e=>t=>Object.entries(t).reduce((r,[o,i])=>(e(i.status)&&(r[o]=i),r),{}),FS=g(Fe,bt(co)),US=g(Fe,bt(st)),BS=g(Fe,bt(ct)),$S=g(Fe,bt(po)),VS=g(vt,e=>{var t;return(e==null?void 0:e.transactionsToSign)==null?null:w(y({},e.transactionsToSign),{transactions:((t=e==null?void 0:e.transactionsToSign)==null?void 0:t.transactions.map(r=>Sr(r)))||[]})}),GS=g(Fe,(e,t)=>t,(e,t)=>t!=null?(e==null?void 0:e[t])||{}:{});n();var Qs=S(require("axios"));n();var tc=S(require("axios"));n();n();var rc=S(require("axios"));n();var nc=S(require("axios"));n();n();n();var oc=S(require("axios"));n();n();n();n();ye();n();var hi=S(require("axios"));function Nr(e){return E(this,null,function*(){let t=`${e}/${ci}`;try{let{data:o}=yield hi.default.get(t);if(o!=null){let i="egldDenomination";if(i in o){let r=o,{[i]:p,decimals:l}=r,m=$e(r,[Or(i),"decimals"]);return w(y({},m),{decimals:p,digits:l})}return o}}catch(o){console.error("error fetching configuration for ",t)}return null})}n();var ic=S(require("axios"));n();ye();n();ye();n();n();var ac=S(require("axios"));n();var sc=S(require("axios"));ye();n();n();var xi=require("react"),Se=require("react-redux");var cc={store:b,subscription:ni},Dr=(0,xi.createContext)(cc),S0=(0,Se.createStoreHook)(Dr),Si=(0,Se.createDispatchHook)(Dr),Et=(0,Se.createSelectorHook)(Dr);var wi=()=>Et(Ao);J();De();Le();n();n();n();n();var Ai=require("@multiversx/sdk-extension-provider"),vi=require("@multiversx/sdk-hw-provider"),bi=require("@multiversx/sdk-opera-provider"),Ei=require("@multiversx/sdk-web-wallet-provider");I();B();n();var Lr=we,Ii=Lr;var kt=e=>{switch(e==null?void 0:e.constructor){case Ei.WalletProvider:return"wallet";case Lr:return"walletconnect";case Ii:return"walletconnectv2";case vi.HWProvider:return"ledger";case Ai.ExtensionProvider:return"extension";case bi.OperaProvider:return"opera";case we:return"";default:return"extra"}};var te=e=>`Unable to perform ${e}, Provider not initialized`,we=class{init(){return Promise.resolve(!1)}login(t){throw new Error(te(`login with options: ${t}`))}logout(t){throw new Error(te(`logout with options: ${t}`))}getAddress(){throw new Error(te("getAddress"))}isInitialized(){return!1}isConnected(){return Promise.resolve(!1)}sendTransaction(t,r){throw new Error(te(`sendTransaction with transactions: ${t} options: ${r}`))}signTransaction(t,r){throw new Error(te(`signTransaction with transactions: ${t} options: ${r}`))}signTransactions(t,r){throw new Error(te(`signTransactions with transactions: ${t} options: ${r}`))}signMessage(t,r){throw new Error(te(`signTransactions with ${t} and options ${r}`))}sendCustomMessage({method:t,params:r}){throw new Error(te(`sendCustomMessage with method: ${t} params: ${r}`))}sendCustomRequest(t){throw new Error(te(`sendSessionEvent with options: ${t}`))}ping(){return Promise.resolve(!1)}},Rr=new we;var lc=Rr;function re(){return lc||Rr}_();P();n();function ki(){return Tt(b.getState())}n();n();n();n();function Ni(){let e=re();return kt(e)}n();B();n();function Ue(e){return Ni()===e}function Nt(){let e=window==null?void 0:window.location.search,t=b.getState(),r=re(),o=Pe(t),i=Tt(t),p=vo(t);if(!r)throw"provider not initialized";return Ue("ledger")&&i?new Promise(l=>{l(o)}):!Ue("")&&!Ue("wallet")&&!Ue("extra")?r.getAddress():new Promise(l=>{if(p!=null){let m=new URLSearchParams(e),d=Object.fromEntries(m);_e(d.address)&&l(d.address)}i&&l(o),l("")})}n();n();n();_();P();n();J();n();J();n();var Di=require("@multiversx/sdk-core");or();ve();xe();var uc=e=>{let t=z.local.getItem($.logoutEvent),{data:r}=t?JSON.parse(t):{data:e};e===r&&(z.local.setItem({key:$.logoutEvent,data:e,expires:0}),z.local.removeItem($.logoutEvent))};function Cr(e,t,r=!0){return E(this,null,function*(){let o=re(),i=kt(o),p=ki(),l=i==="wallet";if(r&&(o==null?void 0:o.relogin)!=null)return yield o.relogin();if(!p||!o){Pr(e,t,!1);return}try{let m=yield Nt();uc(m)}catch(m){Pr(e,t,!1),console.error("error fetching logout address",m)}l&&zn(),b.dispatch(A());try{let d=l&&!e?window==null?void 0:window.location.origin:e;l?setTimeout(()=>{o.logout({callbackUrl:d})}):(yield o.logout({callbackUrl:d}),Pr(e,t,l))}catch(m){console.error("error logging out",m)}})}function Pr(e,t,r){e&&!r&&(typeof t=="function"?t(e):nr(e))}function dc({customNetworkConfig:e={},children:t,environment:r,dappConfig:o}){let[i,p]=(0,ne.useState)(!1),l=wi(),m=Et(bo),d=o==null?void 0:o.logoutRoute,{address:T,publicKey:x}=l,h=Si();function D(){return E(this,null,function*(){let M=!(e!=null&&e.skipFetchFromServer),me=e==null?void 0:e.apiAddress,ae=ue[r]||{},Dt=y(y({},ae),e);if(M){let Lt=ae==null?void 0:ae.apiAddress,O=yield Nr(me||Lt);if(O!=null){let Ri=y(y(y({},ae),O),e);h(sr(Ri));return}}h(sr(Dt))})}function k(){return E(this,null,function*(){h(So(o)),h(Vn(d)),yield D(),p(!0)})}return(0,ne.useEffect)(()=>{T&&new Li.Address(T).hex()!==x&&Cr(d)},[T,x,d]),(0,ne.useEffect)(()=>{k()},[e,r,o]),(0,ne.useEffect)(()=>{l.address&&m&&Cr(d)},[m,l.address,d]),i?ne.default.createElement(ne.default.Fragment,null,t):null}0&&(module.exports={AppInitializer});
1
+ "use strict";var Ri=Object.create;var we=Object.defineProperty,Ci=Object.defineProperties,_i=Object.getOwnPropertyDescriptor,Mi=Object.getOwnPropertyDescriptors,Oi=Object.getOwnPropertyNames,$e=Object.getOwnPropertySymbols,Fi=Object.getPrototypeOf,Rt=Object.prototype.hasOwnProperty,Mr=Object.prototype.propertyIsEnumerable;var _r=(e,t,r)=>t in e?we(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,y=(e,t)=>{for(var r in t||(t={}))Rt.call(t,r)&&_r(e,r,t[r]);if($e)for(var r of $e(t))Mr.call(t,r)&&_r(e,r,t[r]);return e},w=(e,t)=>Ci(e,Mi(t));var Or=e=>typeof e=="symbol"?e:e+"",Ve=(e,t)=>{var r={};for(var o in e)Rt.call(e,o)&&t.indexOf(o)<0&&(r[o]=e[o]);if(e!=null&&$e)for(var o of $e(e))t.indexOf(o)<0&&Mr.call(e,o)&&(r[o]=e[o]);return r};var f=(e,t)=>()=>(e&&(t=e(e=0)),t);var Ge=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),ae=(e,t)=>{for(var r in t)we(e,r,{get:t[r],enumerable:!0})},Fr=(e,t,r,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of Oi(t))!Rt.call(e,i)&&i!==r&&we(e,i,{get:()=>t[i],enumerable:!(o=_i(t,i))||o.enumerable});return e};var S=(e,t,r)=>(r=e!=null?Ri(Fi(e)):{},Fr(t||!e||!e.__esModule?we(r,"default",{value:e,enumerable:!0}):r,e)),Ie=e=>Fr(we({},"__esModule",{value:!0}),e);var k=(e,t,r)=>new Promise((o,i)=>{var p=m=>{try{d(r.next(m))}catch(T){i(T)}},l=m=>{try{d(r.throw(m))}catch(T){i(T)}},d=m=>m.done?o(m.value):Promise.resolve(m.value).then(p,l);d((r=r.apply(e,t)).next())});var $r=Ge(We=>{"use strict";n();We.byteLength=Bi;We.toByteArray=Vi;We.fromByteArray=Hi;var G=[],M=[],Ui=typeof Uint8Array!="undefined"?Uint8Array:Array,Ct="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(se=0,Ur=Ct.length;se<Ur;++se)G[se]=Ct[se],M[Ct.charCodeAt(se)]=se;var se,Ur;M["-".charCodeAt(0)]=62;M["_".charCodeAt(0)]=63;function Br(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");r===-1&&(r=t);var o=r===t?0:4-r%4;return[r,o]}function Bi(e){var t=Br(e),r=t[0],o=t[1];return(r+o)*3/4-o}function $i(e,t,r){return(t+r)*3/4-r}function Vi(e){var t,r=Br(e),o=r[0],i=r[1],p=new Ui($i(e,o,i)),l=0,d=i>0?o-4:o,m;for(m=0;m<d;m+=4)t=M[e.charCodeAt(m)]<<18|M[e.charCodeAt(m+1)]<<12|M[e.charCodeAt(m+2)]<<6|M[e.charCodeAt(m+3)],p[l++]=t>>16&255,p[l++]=t>>8&255,p[l++]=t&255;return i===2&&(t=M[e.charCodeAt(m)]<<2|M[e.charCodeAt(m+1)]>>4,p[l++]=t&255),i===1&&(t=M[e.charCodeAt(m)]<<10|M[e.charCodeAt(m+1)]<<4|M[e.charCodeAt(m+2)]>>2,p[l++]=t>>8&255,p[l++]=t&255),p}function Gi(e){return G[e>>18&63]+G[e>>12&63]+G[e>>6&63]+G[e&63]}function Wi(e,t,r){for(var o,i=[],p=t;p<r;p+=3)o=(e[p]<<16&16711680)+(e[p+1]<<8&65280)+(e[p+2]&255),i.push(Gi(o));return i.join("")}function Hi(e){for(var t,r=e.length,o=r%3,i=[],p=16383,l=0,d=r-o;l<d;l+=p)i.push(Wi(e,l,l+p>d?d:l+p));return o===1?(t=e[r-1],i.push(G[t>>2]+G[t<<4&63]+"==")):o===2&&(t=(e[r-2]<<8)+e[r-1],i.push(G[t>>10]+G[t>>4&63]+G[t<<2&63]+"=")),i.join("")}});var Vr=Ge(_t=>{n();_t.read=function(e,t,r,o,i){var p,l,d=i*8-o-1,m=(1<<d)-1,T=m>>1,h=-7,x=r?i-1:0,D=r?-1:1,E=e[t+x];for(x+=D,p=E&(1<<-h)-1,E>>=-h,h+=d;h>0;p=p*256+e[t+x],x+=D,h-=8);for(l=p&(1<<-h)-1,p>>=-h,h+=o;h>0;l=l*256+e[t+x],x+=D,h-=8);if(p===0)p=1-T;else{if(p===m)return l?NaN:(E?-1:1)*(1/0);l=l+Math.pow(2,o),p=p-T}return(E?-1:1)*l*Math.pow(2,p-o)};_t.write=function(e,t,r,o,i,p){var l,d,m,T=p*8-i-1,h=(1<<T)-1,x=h>>1,D=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,E=o?0:p-1,F=o?1:-1,V=t<0||t===0&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(d=isNaN(t)?1:0,l=h):(l=Math.floor(Math.log(t)/Math.LN2),t*(m=Math.pow(2,-l))<1&&(l--,m*=2),l+x>=1?t+=D/m:t+=D*Math.pow(2,1-x),t*m>=2&&(l++,m/=2),l+x>=h?(d=0,l=h):l+x>=1?(d=(t*m-1)*Math.pow(2,i),l=l+x):(d=t*Math.pow(2,x-1)*Math.pow(2,i),l=0));i>=8;e[r+E]=d&255,E+=F,d/=256,i-=8);for(l=l<<i|d,T+=i;T>0;e[r+E]=l&255,E+=F,l/=256,T-=8);e[r+E-F]|=V*128}});var en=Ge(me=>{"use strict";n();var Mt=$r(),de=Vr(),Gr=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;me.Buffer=u;me.SlowBuffer=Xi;me.INSPECT_MAX_BYTES=50;var He=2147483647;me.kMaxLength=He;u.TYPED_ARRAY_SUPPORT=qi();!u.TYPED_ARRAY_SUPPORT&&typeof console!="undefined"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function qi(){try{var e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),e.foo()===42}catch(r){return!1}}Object.defineProperty(u.prototype,"parent",{enumerable:!0,get:function(){if(!!u.isBuffer(this))return this.buffer}});Object.defineProperty(u.prototype,"offset",{enumerable:!0,get:function(){if(!!u.isBuffer(this))return this.byteOffset}});function X(e){if(e>He)throw new RangeError('The value "'+e+'" is invalid for option "size"');var t=new Uint8Array(e);return Object.setPrototypeOf(t,u.prototype),t}function u(e,t,r){if(typeof e=="number"){if(typeof t=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return Bt(e)}return qr(e,t,r)}u.poolSize=8192;function qr(e,t,r){if(typeof e=="string")return ji(e,t);if(ArrayBuffer.isView(e))return Ki(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(W(e,ArrayBuffer)||e&&W(e.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(W(e,SharedArrayBuffer)||e&&W(e.buffer,SharedArrayBuffer)))return Ft(e,t,r);if(typeof e=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var o=e.valueOf&&e.valueOf();if(o!=null&&o!==e)return u.from(o,t,r);var i=Yi(e);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof e[Symbol.toPrimitive]=="function")return u.from(e[Symbol.toPrimitive]("string"),t,r);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}u.from=function(e,t,r){return qr(e,t,r)};Object.setPrototypeOf(u.prototype,Uint8Array.prototype);Object.setPrototypeOf(u,Uint8Array);function zr(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 zi(e,t,r){return zr(e),e<=0?X(e):t!==void 0?typeof r=="string"?X(e).fill(t,r):X(e).fill(t):X(e)}u.alloc=function(e,t,r){return zi(e,t,r)};function Bt(e){return zr(e),X(e<0?0:$t(e)|0)}u.allocUnsafe=function(e){return Bt(e)};u.allocUnsafeSlow=function(e){return Bt(e)};function ji(e,t){if((typeof t!="string"||t==="")&&(t="utf8"),!u.isEncoding(t))throw new TypeError("Unknown encoding: "+t);var r=jr(e,t)|0,o=X(r),i=o.write(e,t);return i!==r&&(o=o.slice(0,i)),o}function Ot(e){for(var t=e.length<0?0:$t(e.length)|0,r=X(t),o=0;o<t;o+=1)r[o]=e[o]&255;return r}function Ki(e){if(W(e,Uint8Array)){var t=new Uint8Array(e);return Ft(t.buffer,t.byteOffset,t.byteLength)}return Ot(e)}function Ft(e,t,r){if(t<0||e.byteLength<t)throw new RangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(r||0))throw new RangeError('"length" is outside of buffer bounds');var o;return t===void 0&&r===void 0?o=new Uint8Array(e):r===void 0?o=new Uint8Array(e,t):o=new Uint8Array(e,t,r),Object.setPrototypeOf(o,u.prototype),o}function Yi(e){if(u.isBuffer(e)){var t=$t(e.length)|0,r=X(t);return r.length===0||e.copy(r,0,0,t),r}if(e.length!==void 0)return typeof e.length!="number"||Vt(e.length)?X(0):Ot(e);if(e.type==="Buffer"&&Array.isArray(e.data))return Ot(e.data)}function $t(e){if(e>=He)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+He.toString(16)+" bytes");return e|0}function Xi(e){return+e!=e&&(e=0),u.alloc(+e)}u.isBuffer=function(t){return t!=null&&t._isBuffer===!0&&t!==u.prototype};u.compare=function(t,r){if(W(t,Uint8Array)&&(t=u.from(t,t.offset,t.byteLength)),W(r,Uint8Array)&&(r=u.from(r,r.offset,r.byteLength)),!u.isBuffer(t)||!u.isBuffer(r))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(t===r)return 0;for(var o=t.length,i=r.length,p=0,l=Math.min(o,i);p<l;++p)if(t[p]!==r[p]){o=t[p],i=r[p];break}return o<i?-1:i<o?1:0};u.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};u.concat=function(t,r){if(!Array.isArray(t))throw new TypeError('"list" argument must be an Array of Buffers');if(t.length===0)return u.alloc(0);var o;if(r===void 0)for(r=0,o=0;o<t.length;++o)r+=t[o].length;var i=u.allocUnsafe(r),p=0;for(o=0;o<t.length;++o){var l=t[o];if(W(l,Uint8Array))p+l.length>i.length?u.from(l).copy(i,p):Uint8Array.prototype.set.call(i,l,p);else if(u.isBuffer(l))l.copy(i,p);else throw new TypeError('"list" argument must be an Array of Buffers');p+=l.length}return i};function jr(e,t){if(u.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||W(e,ArrayBuffer))return e.byteLength;if(typeof e!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var r=e.length,o=arguments.length>2&&arguments[2]===!0;if(!o&&r===0)return 0;for(var i=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return Ut(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return Qr(e).length;default:if(i)return o?-1:Ut(e).length;t=(""+t).toLowerCase(),i=!0}}u.byteLength=jr;function Zi(e,t,r){var o=!1;if((t===void 0||t<0)&&(t=0),t>this.length||((r===void 0||r>this.length)&&(r=this.length),r<=0)||(r>>>=0,t>>>=0,r<=t))return"";for(e||(e="utf8");;)switch(e){case"hex":return sa(this,t,r);case"utf8":case"utf-8":return Yr(this,t,r);case"ascii":return ia(this,t,r);case"latin1":case"binary":return aa(this,t,r);case"base64":return na(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ca(this,t,r);default:if(o)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),o=!0}}u.prototype._isBuffer=!0;function ce(e,t,r){var o=e[t];e[t]=e[r],e[r]=o}u.prototype.swap16=function(){var t=this.length;if(t%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var r=0;r<t;r+=2)ce(this,r,r+1);return this};u.prototype.swap32=function(){var t=this.length;if(t%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var r=0;r<t;r+=4)ce(this,r,r+3),ce(this,r+1,r+2);return this};u.prototype.swap64=function(){var t=this.length;if(t%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var r=0;r<t;r+=8)ce(this,r,r+7),ce(this,r+1,r+6),ce(this,r+2,r+5),ce(this,r+3,r+4);return this};u.prototype.toString=function(){var t=this.length;return t===0?"":arguments.length===0?Yr(this,0,t):Zi.apply(this,arguments)};u.prototype.toLocaleString=u.prototype.toString;u.prototype.equals=function(t){if(!u.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t?!0:u.compare(this,t)===0};u.prototype.inspect=function(){var t="",r=me.INSPECT_MAX_BYTES;return t=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(t+=" ... "),"<Buffer "+t+">"};Gr&&(u.prototype[Gr]=u.prototype.inspect);u.prototype.compare=function(t,r,o,i,p){if(W(t,Uint8Array)&&(t=u.from(t,t.offset,t.byteLength)),!u.isBuffer(t))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof t);if(r===void 0&&(r=0),o===void 0&&(o=t?t.length:0),i===void 0&&(i=0),p===void 0&&(p=this.length),r<0||o>t.length||i<0||p>this.length)throw new RangeError("out of range index");if(i>=p&&r>=o)return 0;if(i>=p)return-1;if(r>=o)return 1;if(r>>>=0,o>>>=0,i>>>=0,p>>>=0,this===t)return 0;for(var l=p-i,d=o-r,m=Math.min(l,d),T=this.slice(i,p),h=t.slice(r,o),x=0;x<m;++x)if(T[x]!==h[x]){l=T[x],d=h[x];break}return l<d?-1:d<l?1:0};function Kr(e,t,r,o,i){if(e.length===0)return-1;if(typeof r=="string"?(o=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,Vt(r)&&(r=i?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(i)return-1;r=e.length-1}else if(r<0)if(i)r=0;else return-1;if(typeof t=="string"&&(t=u.from(t,o)),u.isBuffer(t))return t.length===0?-1:Wr(e,t,r,o,i);if(typeof t=="number")return t=t&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):Wr(e,[t],r,o,i);throw new TypeError("val must be string, number or Buffer")}function Wr(e,t,r,o,i){var p=1,l=e.length,d=t.length;if(o!==void 0&&(o=String(o).toLowerCase(),o==="ucs2"||o==="ucs-2"||o==="utf16le"||o==="utf-16le")){if(e.length<2||t.length<2)return-1;p=2,l/=2,d/=2,r/=2}function m(E,F){return p===1?E[F]:E.readUInt16BE(F*p)}var T;if(i){var h=-1;for(T=r;T<l;T++)if(m(e,T)===m(t,h===-1?0:T-h)){if(h===-1&&(h=T),T-h+1===d)return h*p}else h!==-1&&(T-=T-h),h=-1}else for(r+d>l&&(r=l-d),T=r;T>=0;T--){for(var x=!0,D=0;D<d;D++)if(m(e,T+D)!==m(t,D)){x=!1;break}if(x)return T}return-1}u.prototype.includes=function(t,r,o){return this.indexOf(t,r,o)!==-1};u.prototype.indexOf=function(t,r,o){return Kr(this,t,r,o,!0)};u.prototype.lastIndexOf=function(t,r,o){return Kr(this,t,r,o,!1)};function Ji(e,t,r,o){r=Number(r)||0;var i=e.length-r;o?(o=Number(o),o>i&&(o=i)):o=i;var p=t.length;o>p/2&&(o=p/2);for(var l=0;l<o;++l){var d=parseInt(t.substr(l*2,2),16);if(Vt(d))return l;e[r+l]=d}return l}function Qi(e,t,r,o){return qe(Ut(t,e.length-r),e,r,o)}function ea(e,t,r,o){return qe(ua(t),e,r,o)}function ta(e,t,r,o){return qe(Qr(t),e,r,o)}function ra(e,t,r,o){return qe(da(t,e.length-r),e,r,o)}u.prototype.write=function(t,r,o,i){if(r===void 0)i="utf8",o=this.length,r=0;else if(o===void 0&&typeof r=="string")i=r,o=this.length,r=0;else if(isFinite(r))r=r>>>0,isFinite(o)?(o=o>>>0,i===void 0&&(i="utf8")):(i=o,o=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var p=this.length-r;if((o===void 0||o>p)&&(o=p),t.length>0&&(o<0||r<0)||r>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var l=!1;;)switch(i){case"hex":return Ji(this,t,r,o);case"utf8":case"utf-8":return Qi(this,t,r,o);case"ascii":case"latin1":case"binary":return ea(this,t,r,o);case"base64":return ta(this,t,r,o);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ra(this,t,r,o);default:if(l)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),l=!0}};u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function na(e,t,r){return t===0&&r===e.length?Mt.fromByteArray(e):Mt.fromByteArray(e.slice(t,r))}function Yr(e,t,r){r=Math.min(e.length,r);for(var o=[],i=t;i<r;){var p=e[i],l=null,d=p>239?4:p>223?3:p>191?2:1;if(i+d<=r){var m,T,h,x;switch(d){case 1:p<128&&(l=p);break;case 2:m=e[i+1],(m&192)===128&&(x=(p&31)<<6|m&63,x>127&&(l=x));break;case 3:m=e[i+1],T=e[i+2],(m&192)===128&&(T&192)===128&&(x=(p&15)<<12|(m&63)<<6|T&63,x>2047&&(x<55296||x>57343)&&(l=x));break;case 4:m=e[i+1],T=e[i+2],h=e[i+3],(m&192)===128&&(T&192)===128&&(h&192)===128&&(x=(p&15)<<18|(m&63)<<12|(T&63)<<6|h&63,x>65535&&x<1114112&&(l=x))}}l===null?(l=65533,d=1):l>65535&&(l-=65536,o.push(l>>>10&1023|55296),l=56320|l&1023),o.push(l),i+=d}return oa(o)}var Hr=4096;function oa(e){var t=e.length;if(t<=Hr)return String.fromCharCode.apply(String,e);for(var r="",o=0;o<t;)r+=String.fromCharCode.apply(String,e.slice(o,o+=Hr));return r}function ia(e,t,r){var o="";r=Math.min(e.length,r);for(var i=t;i<r;++i)o+=String.fromCharCode(e[i]&127);return o}function aa(e,t,r){var o="";r=Math.min(e.length,r);for(var i=t;i<r;++i)o+=String.fromCharCode(e[i]);return o}function sa(e,t,r){var o=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>o)&&(r=o);for(var i="",p=t;p<r;++p)i+=ma[e[p]];return i}function ca(e,t,r){for(var o=e.slice(t,r),i="",p=0;p<o.length-1;p+=2)i+=String.fromCharCode(o[p]+o[p+1]*256);return i}u.prototype.slice=function(t,r){var o=this.length;t=~~t,r=r===void 0?o:~~r,t<0?(t+=o,t<0&&(t=0)):t>o&&(t=o),r<0?(r+=o,r<0&&(r=0)):r>o&&(r=o),r<t&&(r=t);var i=this.subarray(t,r);return Object.setPrototypeOf(i,u.prototype),i};function N(e,t,r){if(e%1!==0||e<0)throw new RangeError("offset is not uint");if(e+t>r)throw new RangeError("Trying to access beyond buffer length")}u.prototype.readUintLE=u.prototype.readUIntLE=function(t,r,o){t=t>>>0,r=r>>>0,o||N(t,r,this.length);for(var i=this[t],p=1,l=0;++l<r&&(p*=256);)i+=this[t+l]*p;return i};u.prototype.readUintBE=u.prototype.readUIntBE=function(t,r,o){t=t>>>0,r=r>>>0,o||N(t,r,this.length);for(var i=this[t+--r],p=1;r>0&&(p*=256);)i+=this[t+--r]*p;return i};u.prototype.readUint8=u.prototype.readUInt8=function(t,r){return t=t>>>0,r||N(t,1,this.length),this[t]};u.prototype.readUint16LE=u.prototype.readUInt16LE=function(t,r){return t=t>>>0,r||N(t,2,this.length),this[t]|this[t+1]<<8};u.prototype.readUint16BE=u.prototype.readUInt16BE=function(t,r){return t=t>>>0,r||N(t,2,this.length),this[t]<<8|this[t+1]};u.prototype.readUint32LE=u.prototype.readUInt32LE=function(t,r){return t=t>>>0,r||N(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+this[t+3]*16777216};u.prototype.readUint32BE=u.prototype.readUInt32BE=function(t,r){return t=t>>>0,r||N(t,4,this.length),this[t]*16777216+(this[t+1]<<16|this[t+2]<<8|this[t+3])};u.prototype.readIntLE=function(t,r,o){t=t>>>0,r=r>>>0,o||N(t,r,this.length);for(var i=this[t],p=1,l=0;++l<r&&(p*=256);)i+=this[t+l]*p;return p*=128,i>=p&&(i-=Math.pow(2,8*r)),i};u.prototype.readIntBE=function(t,r,o){t=t>>>0,r=r>>>0,o||N(t,r,this.length);for(var i=r,p=1,l=this[t+--i];i>0&&(p*=256);)l+=this[t+--i]*p;return p*=128,l>=p&&(l-=Math.pow(2,8*r)),l};u.prototype.readInt8=function(t,r){return t=t>>>0,r||N(t,1,this.length),this[t]&128?(255-this[t]+1)*-1:this[t]};u.prototype.readInt16LE=function(t,r){t=t>>>0,r||N(t,2,this.length);var o=this[t]|this[t+1]<<8;return o&32768?o|4294901760:o};u.prototype.readInt16BE=function(t,r){t=t>>>0,r||N(t,2,this.length);var o=this[t+1]|this[t]<<8;return o&32768?o|4294901760:o};u.prototype.readInt32LE=function(t,r){return t=t>>>0,r||N(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24};u.prototype.readInt32BE=function(t,r){return t=t>>>0,r||N(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]};u.prototype.readFloatLE=function(t,r){return t=t>>>0,r||N(t,4,this.length),de.read(this,t,!0,23,4)};u.prototype.readFloatBE=function(t,r){return t=t>>>0,r||N(t,4,this.length),de.read(this,t,!1,23,4)};u.prototype.readDoubleLE=function(t,r){return t=t>>>0,r||N(t,8,this.length),de.read(this,t,!0,52,8)};u.prototype.readDoubleBE=function(t,r){return t=t>>>0,r||N(t,8,this.length),de.read(this,t,!1,52,8)};function L(e,t,r,o,i,p){if(!u.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<p)throw new RangeError('"value" argument is out of bounds');if(r+o>e.length)throw new RangeError("Index out of range")}u.prototype.writeUintLE=u.prototype.writeUIntLE=function(t,r,o,i){if(t=+t,r=r>>>0,o=o>>>0,!i){var p=Math.pow(2,8*o)-1;L(this,t,r,o,p,0)}var l=1,d=0;for(this[r]=t&255;++d<o&&(l*=256);)this[r+d]=t/l&255;return r+o};u.prototype.writeUintBE=u.prototype.writeUIntBE=function(t,r,o,i){if(t=+t,r=r>>>0,o=o>>>0,!i){var p=Math.pow(2,8*o)-1;L(this,t,r,o,p,0)}var l=o-1,d=1;for(this[r+l]=t&255;--l>=0&&(d*=256);)this[r+l]=t/d&255;return r+o};u.prototype.writeUint8=u.prototype.writeUInt8=function(t,r,o){return t=+t,r=r>>>0,o||L(this,t,r,1,255,0),this[r]=t&255,r+1};u.prototype.writeUint16LE=u.prototype.writeUInt16LE=function(t,r,o){return t=+t,r=r>>>0,o||L(this,t,r,2,65535,0),this[r]=t&255,this[r+1]=t>>>8,r+2};u.prototype.writeUint16BE=u.prototype.writeUInt16BE=function(t,r,o){return t=+t,r=r>>>0,o||L(this,t,r,2,65535,0),this[r]=t>>>8,this[r+1]=t&255,r+2};u.prototype.writeUint32LE=u.prototype.writeUInt32LE=function(t,r,o){return t=+t,r=r>>>0,o||L(this,t,r,4,4294967295,0),this[r+3]=t>>>24,this[r+2]=t>>>16,this[r+1]=t>>>8,this[r]=t&255,r+4};u.prototype.writeUint32BE=u.prototype.writeUInt32BE=function(t,r,o){return t=+t,r=r>>>0,o||L(this,t,r,4,4294967295,0),this[r]=t>>>24,this[r+1]=t>>>16,this[r+2]=t>>>8,this[r+3]=t&255,r+4};u.prototype.writeIntLE=function(t,r,o,i){if(t=+t,r=r>>>0,!i){var p=Math.pow(2,8*o-1);L(this,t,r,o,p-1,-p)}var l=0,d=1,m=0;for(this[r]=t&255;++l<o&&(d*=256);)t<0&&m===0&&this[r+l-1]!==0&&(m=1),this[r+l]=(t/d>>0)-m&255;return r+o};u.prototype.writeIntBE=function(t,r,o,i){if(t=+t,r=r>>>0,!i){var p=Math.pow(2,8*o-1);L(this,t,r,o,p-1,-p)}var l=o-1,d=1,m=0;for(this[r+l]=t&255;--l>=0&&(d*=256);)t<0&&m===0&&this[r+l+1]!==0&&(m=1),this[r+l]=(t/d>>0)-m&255;return r+o};u.prototype.writeInt8=function(t,r,o){return t=+t,r=r>>>0,o||L(this,t,r,1,127,-128),t<0&&(t=255+t+1),this[r]=t&255,r+1};u.prototype.writeInt16LE=function(t,r,o){return t=+t,r=r>>>0,o||L(this,t,r,2,32767,-32768),this[r]=t&255,this[r+1]=t>>>8,r+2};u.prototype.writeInt16BE=function(t,r,o){return t=+t,r=r>>>0,o||L(this,t,r,2,32767,-32768),this[r]=t>>>8,this[r+1]=t&255,r+2};u.prototype.writeInt32LE=function(t,r,o){return t=+t,r=r>>>0,o||L(this,t,r,4,2147483647,-2147483648),this[r]=t&255,this[r+1]=t>>>8,this[r+2]=t>>>16,this[r+3]=t>>>24,r+4};u.prototype.writeInt32BE=function(t,r,o){return t=+t,r=r>>>0,o||L(this,t,r,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),this[r]=t>>>24,this[r+1]=t>>>16,this[r+2]=t>>>8,this[r+3]=t&255,r+4};function Xr(e,t,r,o,i,p){if(r+o>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function Zr(e,t,r,o,i){return t=+t,r=r>>>0,i||Xr(e,t,r,4,34028234663852886e22,-34028234663852886e22),de.write(e,t,r,o,23,4),r+4}u.prototype.writeFloatLE=function(t,r,o){return Zr(this,t,r,!0,o)};u.prototype.writeFloatBE=function(t,r,o){return Zr(this,t,r,!1,o)};function Jr(e,t,r,o,i){return t=+t,r=r>>>0,i||Xr(e,t,r,8,17976931348623157e292,-17976931348623157e292),de.write(e,t,r,o,52,8),r+8}u.prototype.writeDoubleLE=function(t,r,o){return Jr(this,t,r,!0,o)};u.prototype.writeDoubleBE=function(t,r,o){return Jr(this,t,r,!1,o)};u.prototype.copy=function(t,r,o,i){if(!u.isBuffer(t))throw new TypeError("argument should be a Buffer");if(o||(o=0),!i&&i!==0&&(i=this.length),r>=t.length&&(r=t.length),r||(r=0),i>0&&i<o&&(i=o),i===o||t.length===0||this.length===0)return 0;if(r<0)throw new RangeError("targetStart out of bounds");if(o<0||o>=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),t.length-r<i-o&&(i=t.length-r+o);var p=i-o;return this===t&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(r,o,i):Uint8Array.prototype.set.call(t,this.subarray(o,i),r),p};u.prototype.fill=function(t,r,o,i){if(typeof t=="string"){if(typeof r=="string"?(i=r,r=0,o=this.length):typeof o=="string"&&(i=o,o=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!u.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(t.length===1){var p=t.charCodeAt(0);(i==="utf8"&&p<128||i==="latin1")&&(t=p)}}else typeof t=="number"?t=t&255:typeof t=="boolean"&&(t=Number(t));if(r<0||this.length<r||this.length<o)throw new RangeError("Out of range index");if(o<=r)return this;r=r>>>0,o=o===void 0?this.length:o>>>0,t||(t=0);var l;if(typeof t=="number")for(l=r;l<o;++l)this[l]=t;else{var d=u.isBuffer(t)?t:u.from(t,i),m=d.length;if(m===0)throw new TypeError('The value "'+t+'" is invalid for argument "value"');for(l=0;l<o-r;++l)this[l+r]=d[l%m]}return this};var la=/[^+/0-9A-Za-z-_]/g;function pa(e){if(e=e.split("=")[0],e=e.trim().replace(la,""),e.length<2)return"";for(;e.length%4!==0;)e=e+"=";return e}function Ut(e,t){t=t||1/0;for(var r,o=e.length,i=null,p=[],l=0;l<o;++l){if(r=e.charCodeAt(l),r>55295&&r<57344){if(!i){if(r>56319){(t-=3)>-1&&p.push(239,191,189);continue}else if(l+1===o){(t-=3)>-1&&p.push(239,191,189);continue}i=r;continue}if(r<56320){(t-=3)>-1&&p.push(239,191,189),i=r;continue}r=(i-55296<<10|r-56320)+65536}else i&&(t-=3)>-1&&p.push(239,191,189);if(i=null,r<128){if((t-=1)<0)break;p.push(r)}else if(r<2048){if((t-=2)<0)break;p.push(r>>6|192,r&63|128)}else if(r<65536){if((t-=3)<0)break;p.push(r>>12|224,r>>6&63|128,r&63|128)}else if(r<1114112){if((t-=4)<0)break;p.push(r>>18|240,r>>12&63|128,r>>6&63|128,r&63|128)}else throw new Error("Invalid code point")}return p}function ua(e){for(var t=[],r=0;r<e.length;++r)t.push(e.charCodeAt(r)&255);return t}function da(e,t){for(var r,o,i,p=[],l=0;l<e.length&&!((t-=2)<0);++l)r=e.charCodeAt(l),o=r>>8,i=r%256,p.push(i),p.push(o);return p}function Qr(e){return Mt.toByteArray(pa(e))}function qe(e,t,r,o){for(var i=0;i<o&&!(i+r>=t.length||i>=e.length);++i)t[i+r]=e[i];return i}function W(e,t){return e instanceof t||e!=null&&e.constructor!=null&&e.constructor.name!=null&&e.constructor.name===t.name}function Vt(e){return e!==e}var ma=function(){for(var e="0123456789abcdef",t=new Array(256),r=0;r<16;++r)for(var o=r*16,i=0;i<16;++i)t[o+i]=e[r]+e[i];return t}()});var an=Ge((hc,on)=>{n();var v=on.exports={},H,q;function Gt(){throw new Error("setTimeout has not been defined")}function Wt(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?H=setTimeout:H=Gt}catch(e){H=Gt}try{typeof clearTimeout=="function"?q=clearTimeout:q=Wt}catch(e){q=Wt}})();function tn(e){if(H===setTimeout)return setTimeout(e,0);if((H===Gt||!H)&&setTimeout)return H=setTimeout,setTimeout(e,0);try{return H(e,0)}catch(t){try{return H.call(null,e,0)}catch(r){return H.call(this,e,0)}}}function ga(e){if(q===clearTimeout)return clearTimeout(e);if((q===Wt||!q)&&clearTimeout)return q=clearTimeout,clearTimeout(e);try{return q(e)}catch(t){try{return q.call(null,e)}catch(r){return q.call(this,e)}}}var Z=[],ge=!1,le,ze=-1;function fa(){!ge||!le||(ge=!1,le.length?Z=le.concat(Z):ze=-1,Z.length&&rn())}function rn(){if(!ge){var e=tn(fa);ge=!0;for(var t=Z.length;t;){for(le=Z,Z=[];++ze<t;)le&&le[ze].run();ze=-1,t=Z.length}le=null,ge=!1,ga(e)}}v.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];Z.push(new nn(e,t)),Z.length===1&&!ge&&tn(rn)};function nn(e,t){this.fun=e,this.array=t}nn.prototype.run=function(){this.fun.apply(null,this.array)};v.title="browser";v.browser=!0;v.env={};v.argv=[];v.version="";v.versions={};function J(){}v.on=J;v.addListener=J;v.once=J;v.off=J;v.removeListener=J;v.removeAllListeners=J;v.emit=J;v.prependListener=J;v.prependOnceListener=J;v.listeners=function(e){return[]};v.binding=function(e){throw new Error("process.binding is not supported")};v.cwd=function(){return"/"};v.chdir=function(e){throw new Error("process.chdir is not supported")};v.umask=function(){return 0}});var a,s,xc,n=f(()=>{a=S(en()),s=S(an()),xc=function(e){function t(){var o=this||self;return delete e.prototype.__magic__,o}if(typeof globalThis=="object")return globalThis;if(this)return t();e.defineProperty(e.prototype,"__magic__",{configurable:!0,get:t});var r=__magic__;return r}(Object)});var sn=f(()=>{"use strict";n()});var cn=f(()=>{"use strict";n()});var ln=f(()=>{"use strict";n()});var pn=f(()=>{"use strict";n()});var B=f(()=>{"use strict";n()});var un=f(()=>{"use strict";n()});var dn=f(()=>{"use strict";n()});var P=f(()=>{"use strict";n()});var mn=f(()=>{"use strict";n()});var gn=f(()=>{"use strict";n()});var fn=f(()=>{"use strict";n()});var R=f(()=>{"use strict";n();cn();ln();pn();B();un();dn();P();mn();gn();fn()});var pe,Tn,Bc,yn,$c,hn,Vc,Gc,Ta,fe=f(()=>{"use strict";n();R();pe={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",apiAddress:"https://devnet-api.multiversx.com",explorerAddress:"http://devnet-explorer.multiversx.com",apiTimeout:"4000"},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",apiAddress:"https://testnet-api.multiversx.com",explorerAddress:"http://testnet-explorer.multiversx.com",apiTimeout:"4000"},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",apiAddress:"https://api.multiversx.com",explorerAddress:"https://explorer.multiversx.com",apiTimeout:"4000"}},{chainId:Tn,egldLabel:Bc}=pe["devnet"],{chainId:yn,egldLabel:$c}=pe["testnet"],{chainId:hn,egldLabel:Vc}=pe["mainnet"],Gc={["devnet"]:Tn,["testnet"]:yn,["mainnet"]:hn},Ta={[Tn]:"devnet",[yn]:"testnet",[hn]:"mainnet"}});var Ht=f(()=>{"use strict";n()});var xn=f(()=>{"use strict";n()});var Sn,qt=f(()=>{"use strict";n();Sn="transaction-status-toast-id"});var z,wn=f(()=>{"use strict";n();z=require("@multiversx/sdk-web-wallet-provider")});var In=f(()=>{"use strict";n()});var An=f(()=>{"use strict";n()});var zt,jt,vn,je,bn,Te,I=f(()=>{"use strict";n();sn();fe();Ht();xn();qt();wn();In();An();zt=5e4,jt=1e9,vn=1,je="logout",bn="login",Te="0"});var Ke,Kt=f(()=>{"use strict";n();Ke=()=>Date.now()/1e3});var En=f(()=>{"use strict";n()});var kn=f(()=>{"use strict";n()});var Nn=f(()=>{"use strict";n();Kt();En();kn()});var Xt={};ae(Xt,{getItem:()=>ha,localStorageKeys:()=>$,removeItem:()=>xa,setItem:()=>ya});var $,Yt,ya,ha,xa,ye=f(()=>{"use strict";n();Nn();$={loginExpiresAt:"sdk-dapp-login-expires-at",logoutEvent:"sdk-dapp-logout-event"},Yt=typeof localStorage!="undefined",ya=({key:e,data:t,expires:r})=>{!Yt||localStorage.setItem(String(e),JSON.stringify({expires:r,data:t}))},ha=e=>{if(!Yt)return;let t=localStorage.getItem(String(e));if(!t)return null;let r=JSON.parse(t);return!r||!r.hasOwnProperty("expires")||!r.hasOwnProperty("data")?null:Ke()>=r.expires?(localStorage.removeItem(String(e)),null):r.data},xa=e=>{!Yt||localStorage.removeItem(String(e))}});var Zt={};ae(Zt,{clear:()=>Rn,getItem:()=>Ln,removeItem:()=>Pn,setItem:()=>Dn,storage:()=>Sa});var Dn,Ln,Pn,Rn,Sa,Cn=f(()=>{"use strict";n();Dn=({key:e,data:t,expires:r})=>{sessionStorage.setItem(String(e),JSON.stringify({expires:r,data:t}))},Ln=e=>{let t=sessionStorage.getItem(String(e));if(!t)return null;let r=JSON.parse(t);return!r||!r.hasOwnProperty("expires")||!r.hasOwnProperty("data")?null:Date.now()>=r.expires?(sessionStorage.removeItem(String(e)),null):r.data},Pn=e=>sessionStorage.removeItem(String(e)),Rn=()=>sessionStorage.clear(),Sa={setItem:Dn,getItem:Ln,removeItem:Pn,clear:Rn}});var j,Ae=f(()=>{"use strict";n();ye();Cn();j={session:Zt,local:Xt}});var Jt,A,ve,_=f(()=>{"use strict";n();Jt=require("@reduxjs/toolkit");I();A=(0,Jt.createAction)(je),ve=(0,Jt.createAction)(bn,e=>({payload:e}))});var er,_n,Mn,Ye,Qt,On,tr,Il,rr,Al,vl,bl,El,kl,Nl,Dl,Ll,Xe,Ze=f(()=>{"use strict";n();er=require("@multiversx/sdk-core"),_n=require("@reduxjs/toolkit"),Mn=require("redux-persist");I();Ae();ye();_();Ye={balance:"...",address:"",isGuarded:!1,nonce:0,txCount:0,scrCount:0,claimableRewards:Te},Qt={address:"",websocketEvent:null,websocketBatchEvent:null,accounts:{"":Ye},ledgerAccount:null,publicKey:"",walletConnectAccount:null,isAccountLoading:!0,accountLoadingError:null},On=(0,_n.createSlice)({name:"accountInfoSlice",initialState:Qt,reducers:{setAddress:(e,t)=>{let r=t.payload;e.address=r,e.publicKey=new er.Address(r).hex()},setAccount:(e,t)=>{let r=e.address===t.payload.address;e.accounts={[e.address]:r?t.payload:Ye},e.shard=t.payload.shard,e.isAccountLoading=!1,e.accountLoadingError=null},setAccountNonce:(e,t)=>{let{address:r}=e;e.accounts[r].nonce=t.payload},setAccountShard:(e,t)=>{e.shard=t.payload},setLedgerAccount:(e,t)=>{e.ledgerAccount=t.payload},updateLedgerAccount:(e,t)=>{e.ledgerAccount!=null&&(e.ledgerAccount.index=t.payload.index,e.ledgerAccount.address=t.payload.address)},setWalletConnectAccount:(e,t)=>{e.walletConnectAccount=t.payload},setIsAccountLoading:(e,t)=>{e.isAccountLoading=t.payload,e.accountLoadingError=null},setAccountLoadingError:(e,t)=>{e.accountLoadingError=t.payload,e.isAccountLoading=!1},setWebsocketEvent:(e,t)=>{e.websocketEvent={timestamp:Date.now(),message:t.payload}},setWebsocketBatchEvent:(e,t)=>{e.websocketBatchEvent={timestamp:Date.now(),data:t.payload}}},extraReducers:e=>{e.addCase(A,()=>(j.local.removeItem($.loginExpiresAt),Qt)),e.addCase(ve,(t,r)=>{let{address:o}=r.payload;t.address=o,t.publicKey=new er.Address(o).hex()}),e.addCase(Mn.REHYDRATE,(t,r)=>{var T;if(!((T=r.payload)!=null&&T.account))return;let{account:o}=r.payload,{address:i,shard:p,accounts:l,publicKey:d}=o;t.address=i,t.shard=p;let m=l&&i in l;t.accounts=m?l:Qt.accounts,t.publicKey=d})}}),{setAccount:tr,setAddress:Il,setAccountNonce:rr,setAccountShard:Al,setLedgerAccount:vl,updateLedgerAccount:bl,setWalletConnectAccount:El,setIsAccountLoading:kl,setAccountLoadingError:Nl,setWebsocketEvent:Dl,setWebsocketBatchEvent:Ll}=On.actions,Xe=On.reducer});function be(){return new Date().setHours(new Date().getHours()+24)}function Ee(e){j.local.setItem({key:$.loginExpiresAt,data:e,expires:e})}var nr=f(()=>{"use strict";n();Ae();ye()});var Un,Fn,Bn,$l,Vl,Gl,Wl,Hl,ql,$n,Vn,Je,Ne=f(()=>{"use strict";n();Un=require("@reduxjs/toolkit");nr();B();_();Fn={loginMethod:"",walletConnectLogin:null,ledgerLogin:null,tokenLogin:null,walletLogin:null,extensionLogin:null,operaLogin:null,isLoginSessionInvalid:!1},Bn=(0,Un.createSlice)({name:"loginInfoSlice",initialState:Fn,reducers:{setLoginMethod:(e,t)=>{e.loginMethod=t.payload},setTokenLogin:(e,t)=>{e.tokenLogin=t.payload},setTokenLoginSignature:(e,t)=>{(e==null?void 0:e.tokenLogin)!=null&&(e.tokenLogin.signature=t.payload)},setWalletLogin:(e,t)=>{e.walletLogin=t.payload},setWalletConnectLogin:(e,t)=>{e.walletConnectLogin=t.payload},setLedgerLogin:(e,t)=>{e.ledgerLogin=t.payload},invalidateLoginSession:e=>{e.isLoginSessionInvalid=!0},setLogoutRoute:(e,t)=>{e.logoutRoute=t.payload}},extraReducers:e=>{e.addCase(A,()=>Fn),e.addCase(ve,(t,r)=>{t.loginMethod=r.payload.loginMethod,Ee(be())})}}),{setLoginMethod:$l,setWalletConnectLogin:Vl,setLedgerLogin:Gl,setTokenLogin:Wl,setTokenLoginSignature:Hl,setWalletLogin:ql,invalidateLoginSession:$n,setLogoutRoute:Vn}=Bn.actions,Je=Bn.reducer});var Wn,Gn,Hn,Yl,Xl,Zl,Jl,Qe,et=f(()=>{"use strict";n();Wn=require("@reduxjs/toolkit");_();Gn={},Hn=(0,Wn.createSlice)({name:"modalsSlice",initialState:Gn,reducers:{setTxSubmittedModal:(e,t)=>{e.txSubmittedModal=t.payload},setNotificationModal:(e,t)=>{e.notificationModal=t.payload},clearTxSubmittedModal:e=>{e.txSubmittedModal=void 0},clearNotificationModal:e=>{e.notificationModal=void 0}},extraReducers:e=>{e.addCase(A,()=>Gn)}}),{setTxSubmittedModal:Yl,setNotificationModal:Xl,clearTxSubmittedModal:Zl,clearNotificationModal:Jl}=Hn.actions,Qe=Hn.reducer});var qn,zn,or,ir=f(()=>{"use strict";n();qn=!1,zn=(e=!0)=>{qn=e},or=(e,t=0)=>{qn||setTimeout(()=>{!window||(window.location.href=e,window.location.assign(e))},t)}});var jn=f(()=>{"use strict";n();ir()});function ar(e){return e[Math.floor(Math.random()*e.length)]}var Kn=f(()=>{"use strict";n()});var Yn=f(()=>{"use strict";n();Ht()});var Xn=f(()=>{"use strict";n();jn();Kn();Yn()});var Zn,Jn,sr,wa,Qn,cr,mp,tt,De=f(()=>{"use strict";n();Zn=require("@reduxjs/toolkit"),Jn=S(require("lodash.omit"));Xn();sr={id:"not-configured",chainId:"",name:"NOT CONFIGURED",egldLabel:"",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"",walletConnectBridgeAddress:"",walletConnectV2RelayAddress:"",walletConnectV2ProjectId:"",walletConnectV2Options:{},walletAddress:"",apiAddress:"",explorerAddress:"",apiTimeout:"4000"},wa={network:sr,chainID:"-1"},Qn=(0,Zn.createSlice)({name:"appConfig",initialState:wa,reducers:{initializeNetworkConfig:(e,t)=>{let r=ar(t.payload.walletConnectBridgeAddresses),o=ar(t.payload.walletConnectV2RelayAddresses),i=(0,Jn.default)(t.payload,"walletConnectBridgeAddresses","walletConnectV2RelayAddresses");e.network=w(y(y({},e.network),i),{walletConnectBridgeAddress:r,walletConnectV2RelayAddress:o})},setChainID:(e,t)=>{e.chainID=t.payload}}}),{initializeNetworkConfig:cr,setChainID:mp}=Qn.actions,tt=Qn.reducer});var eo,lr,to,xp,Sp,wp,rt,nt=f(()=>{"use strict";n();eo=require("@reduxjs/toolkit");R();_();lr={isSigning:!1,signedSessions:{}},to=(0,eo.createSlice)({name:"signedMessageInfoSliceState",initialState:lr,reducers:{setSignSession:(e,t)=>{let{sessionId:r,signedSession:o,errorMessage:i}=t.payload;i&&(e.errorMessage=i),e.isSigning=o.status==="pending",e.signedSessions[r]=o},setSignSessionState:(e,t)=>y(y({},e),t.payload),clearSignedMessageInfo:()=>lr},extraReducers:e=>{e.addCase(A,()=>lr)}}),{setSignSession:xp,clearSignedMessageInfo:Sp,setSignSessionState:wp}=to.actions,rt=to.reducer});var no,oo,ro,io,Dp,Lp,Pp,Rp,Cp,_p,ot,it=f(()=>{"use strict";n();no=require("@reduxjs/toolkit"),oo=require("redux-persist");qt();R();Kt();_();ro={customToasts:[],transactionToasts:[],failTransactionToast:null},io=(0,no.createSlice)({name:"toastsSlice",initialState:ro,reducers:{addCustomToast:(e,t)=>{e.customToasts.push(w(y({},t.payload),{type:"custom",toastId:t.payload.toastId||`custom-toast-${e.customToasts.length+1}`}))},removeCustomToast:(e,t)=>{e.customToasts=e.customToasts.filter(r=>r.toastId!==t.payload)},addTransactionToast:(e,t)=>{e.transactionToasts.push({type:"transaction",startTimestamp:Ke(),toastId:t.payload||`custom-toast-${e.transactionToasts.length+1}`})},removeTransactionToast:(e,t)=>{e.transactionToasts=e.transactionToasts.filter(r=>r.toastId!==t.payload)},addFailTransactionToast:(e,t)=>{e.failTransactionToast=w(y({},t.payload),{toastId:Sn})},removeFailTransactionToast:e=>{e.failTransactionToast=null}},extraReducers:e=>{e.addCase(A,()=>ro),e.addCase(oo.REHYDRATE,(t,r)=>{var i,p;let o=(p=(i=r.customToasts)==null?void 0:i.filter(l=>!("component"in l)))!=null?p:[];t.customToasts=o})}}),{addCustomToast:Dp,removeCustomToast:Lp,addTransactionToast:Pp,removeTransactionToast:Rp,addFailTransactionToast:Cp,removeFailTransactionToast:_p}=io.actions,ot=io.reducer});var ao,ur,dr,mr,Ia,pr,so,Up,Bp,$p,at,st=f(()=>{"use strict";n();ao=require("@reduxjs/toolkit");_();ur="Transaction failed",dr="Transaction successful",mr="Processing transaction",Ia="Transaction submitted",pr={},so=(0,ao.createSlice)({name:"transactionsInfo",initialState:pr,reducers:{setTransactionsDisplayInfo(e,t){let{sessionId:r,transactionsDisplayInfo:o}=t.payload;r!=null&&(e[r]={errorMessage:(o==null?void 0:o.errorMessage)||ur,successMessage:(o==null?void 0:o.successMessage)||dr,processingMessage:(o==null?void 0:o.processingMessage)||mr,submittedMessage:(o==null?void 0:o.submittedMessage)||Ia,transactionDuration:o==null?void 0:o.transactionDuration})},clearTransactionsInfoForSessionId(e,t){t.payload!=null&&delete e[t.payload]},clearTransactionsInfo:()=>pr},extraReducers:e=>{e.addCase(A,()=>pr)}}),{clearTransactionsInfo:Up,setTransactionsDisplayInfo:Bp,clearTransactionsInfoForSessionId:$p}=so.actions,at=so.reducer});function co(e){return e!=null&&(Ca(e)||Ua(e))}function ct(e){return e!=null&&(_a(e)||Ba(e))}function lt(e){return e!=null&&(Ma(e)||$a(e))}function lo(e){return e!=null&&(Oa(e)||Va(e))}function po(e){return e!=null&&Fa(e)}function Ca(e){return e!=null&&va.includes(e)}function _a(e){return e!=null&&ba.includes(e)}function Ma(e){return e!=null&&Ea.includes(e)}function Oa(e){return e!=null&&ka.includes(e)}function Fa(e){return e!=null&&Na.includes(e)}function Ua(e){return e!=null&&Da.includes(e)}function Ba(e){return e!=null&&La.includes(e)}function $a(e){return e!=null&&Pa.includes(e)}function Va(e){return e!=null&&Ra.includes(e)}var va,ba,Ea,ka,Na,Da,La,Pa,Ra,fr=f(()=>{"use strict";n();B();va=["sent"],ba=["success"],Ea=["fail","cancelled","timedOut"],ka=["invalid"],Na=["timedOut"],Da=["pending"],La=["success"],Pa=["fail","invalid"],Ra=["not executed"]});var uo,mo,Le,Ga,go,Yp,Xp,Zp,Jp,Qp,eu,tu,ru,nu,ou,pt,ut=f(()=>{"use strict";n();uo=require("@reduxjs/toolkit"),mo=require("redux-persist");B();fr();_();Le={signedTransactions:{},transactionsToSign:null,signTransactionsError:null,signTransactionsCancelMessage:null,customTransactionInformationForSessionId:{}},Ga={signWithoutSending:!1,sessionInformation:null,redirectAfterSign:!1},go=(0,uo.createSlice)({name:"transactionsSlice",initialState:Le,reducers:{moveTransactionsToSignedState:(e,t)=>{var T,h;let{sessionId:r,transactions:o,errorMessage:i,status:p,redirectRoute:l,customTransactionInformation:d={}}=t.payload,m=((T=e.customTransactionInformationForSessionId)==null?void 0:T[r])||Ga;e.signedTransactions[r]={transactions:o,status:p,errorMessage:i,redirectRoute:l,customTransactionInformation:y(y({},m),d)},((h=e==null?void 0:e.transactionsToSign)==null?void 0:h.sessionId)===r&&(e.transactionsToSign=Le.transactionsToSign)},clearSignedTransaction:(e,t)=>{e.signedTransactions[t.payload]&&delete e.signedTransactions[t.payload]},clearTransactionToSign:e=>{e!=null&&e.transactionsToSign&&(e.transactionsToSign=null)},updateSignedTransaction:(e,t)=>{e.signedTransactions=y(y({},e.signedTransactions),t.payload)},updateSignedTransactions:(e,t)=>{let{sessionId:r,status:o,errorMessage:i,transactions:p}=t.payload;e.signedTransactions[r]!=null&&(e.signedTransactions[r].status=o,i!=null&&(e.signedTransactions[r].errorMessage=i),p!=null&&(e.signedTransactions[r].transactions=p))},updateSignedTransactionStatus:(e,t)=>{var m,T,h,x,D,E,F,V;let{sessionId:r,status:o,errorMessage:i,transactionHash:p,inTransit:l}=t.payload,d=(T=(m=e.signedTransactions)==null?void 0:m[r])==null?void 0:T.transactions;if(d!=null){e.signedTransactions[r].transactions=d.map(U=>U.hash===p?w(y({},U),{status:o,errorMessage:i,inTransit:l}):U);let Lt=(x=(h=e.signedTransactions[r])==null?void 0:h.transactions)==null?void 0:x.every(U=>ct(U.status)),Pt=(E=(D=e.signedTransactions[r])==null?void 0:D.transactions)==null?void 0:E.every(U=>lt(U.status)),Be=(V=(F=e.signedTransactions[r])==null?void 0:F.transactions)==null?void 0:V.every(U=>lo(U.status));Lt&&(e.signedTransactions[r].status="success"),Pt&&(e.signedTransactions[r].status="fail"),Be&&(e.signedTransactions[r].status="invalid")}},setTransactionsToSign:(e,t)=>{e.transactionsToSign=t.payload;let{sessionId:r,customTransactionInformation:o}=t.payload;e.customTransactionInformationForSessionId[r]=o,e.signTransactionsError=null},clearAllTransactionsToSign:e=>{e.transactionsToSign=Le.transactionsToSign,e.signTransactionsError=null},clearAllSignedTransactions:e=>{e.signedTransactions=Le.signedTransactions},setSignTransactionsError:(e,t)=>{e.signTransactionsError=t.payload},setSignTransactionsCancelMessage:(e,t)=>{e.signTransactionsCancelMessage=t.payload}},extraReducers:e=>{e.addCase(A,()=>Le),e.addCase(mo.REHYDRATE,(t,r)=>{var l;if(t.signTransactionsCancelMessage=null,!((l=r.payload)!=null&&l.transactions))return;let{signedTransactions:o,customTransactionInformationForSessionId:i}=r.payload.transactions,p=Object.entries(o).reduce((d,[m,T])=>{let h=new Date(m),x=new Date;return x.setHours(x.getHours()+5),x-h>0||(d[m]=T),d},{});i!=null&&(t.customTransactionInformationForSessionId=i),o!=null&&(t.signedTransactions=p)})}}),{updateSignedTransactionStatus:Yp,updateSignedTransactions:Xp,setTransactionsToSign:Zp,clearAllTransactionsToSign:Jp,clearAllSignedTransactions:Qp,clearSignedTransaction:eu,clearTransactionToSign:tu,setSignTransactionsError:ru,setSignTransactionsCancelMessage:nu,moveTransactionsToSignedState:ou}=go.actions,pt=go.reducer});var fo,Tr,To,cu,lu,pu,uu,dt,mt=f(()=>{"use strict";n();fo=require("@reduxjs/toolkit");_();Tr={},To=(0,fo.createSlice)({name:"batchTransactionsSlice",initialState:Tr,reducers:{setBatchTransactions:(e,t)=>{e[t.payload.id]=t.payload},updateBatchTransactions:(e,t)=>{e[t.payload.id]=t.payload},clearBatchTransactions:(e,t)=>{delete e[t.payload.batchId]},clearAllBatchTransactions:()=>Tr},extraReducers:e=>{e.addCase(A,()=>Tr)}}),{setBatchTransactions:cu,updateBatchTransactions:lu,clearBatchTransactions:pu,clearAllBatchTransactions:uu}=To.actions,dt=To.reducer});var ho,yo,xo,So,wo,yr=f(()=>{"use strict";n();ho=require("@reduxjs/toolkit");_();yo={},xo=(0,ho.createSlice)({name:"dappConfigSlice",initialState:yo,reducers:{setDappConfig:(e,t)=>{if(e&&t.payload){let{logoutRoute:r,shouldUseWebViewProvider:o}=t.payload;e.logoutRoute=r,e.shouldUseWebViewProvider=o}else e=t.payload}},extraReducers:e=>{e.addCase(A,()=>yo)}}),{setDappConfig:So}=xo.actions,wo=xo.reducer});var Q=f(()=>{"use strict";n();Ze();Ne();et();De();nt();it();st();ut();mt();yr()});var Ir=f(()=>{"use strict";n()});var Mo,_o,Oo,em,tm,rm,nm,om,im,Fo,Uo=f(()=>{"use strict";n();Mo=require("@reduxjs/toolkit");_();_o={visible:!1,modal:{showHeader:!0,showFooter:!1,headerText:"",footerText:""}},Oo=(0,Mo.createSlice)({name:"dappModalsSlice",initialState:_o,reducers:{setDappModalVisibility:(e,t)=>{e.visible=t.payload},setDappModalHeaderVisibility:(e,t)=>{e.modal.showHeader=t.payload},setDappModalFooterVisibility:(e,t)=>{e.modal.showFooter=t.payload},setDappModalHeaderText:(e,t)=>{e.modal.headerText=t.payload},setDappModalFooterText:(e,t)=>{e.modal.footerText=t.payload},setDappModalConfig:(e,t)=>{e.modal=y({},t.payload)}},extraReducers:e=>{e.addCase(A,()=>_o)}}),{setDappModalVisibility:em,setDappModalHeaderVisibility:tm,setDappModalFooterVisibility:rm,setDappModalHeaderText:nm,setDappModalFooterText:om,setDappModalConfig:im}=Oo.actions,Fo=Oo.reducer});var Bo,Xa,Za,ue,It=f(()=>{"use strict";n();Bo=require("@reduxjs/toolkit");Ir();Ze();mt();yr();Uo();Ne();et();De();nt();it();st();ut();Xa={["account"]:Xe,["dappModal"]:Fo,["dappConfig"]:wo,["loginInfo"]:Je,["modals"]:Qe,["networkConfig"]:tt,["signedMessageInfo"]:rt,["toasts"]:ot,["transactionsInfo"]:at,["transactions"]:pt,["batchTransactions"]:dt},Za=(e={})=>(0,Bo.combineReducers)(y(y({},Xa),e)),ue=Za});var Wo={};ae(Wo,{default:()=>ms,sessionStorageReducers:()=>Ar});function ee(e,t=[]){return{key:e,version:1,storage:Vo.default,blacklist:t}}var C,$o,Vo,Ja,Re,Qa,es,ts,rs,ns,os,is,as,ss,cs,Go,ls,Ar,ps,us,ds,ms,Ho=f(()=>{"use strict";n();C=require("redux-persist"),$o=S(require("redux-persist/lib/storage")),Vo=S(require("redux-persist/lib/storage/session"));It();Q();Ze();mt();Ne();et();De();nt();it();st();ut();Ir();Ja={persistReducersStorageType:"localStorage"},Re={["account"]:"sdk-dapp-account",["loginInfo"]:"sdk-dapp-login-info",["modals"]:"sdk-dapp-modals",["networkConfig"]:"sdk-dapp-network-config"},Qa=ee(Re["account"]),es=ee(Re["loginInfo"]),ts=ee(Re["modals"]),rs=ee(Re["networkConfig"]),ns={2:e=>w(y({},e),{networkConfig:sr})};os=ee("sdk-dapp-transactionsInfo"),is=ee("sdk-dapp-transactions",["transactionsToSign"]),as=ee("sdk-dapp-batchTransactions",["batchTransactions"]),ss=ee("sdk-dapp-toasts"),cs=ee("sdk-dapp-signedMessageInfo"),Go={key:"sdk-dapp-store",version:2,storage:$o.default,whitelist:Object.keys(Re),migrate:(0,C.createMigrate)(ns,{debug:!1})},ls=w(y({},Go),{whitelist:[]}),Ar={["toasts"]:(0,C.persistReducer)(ss,ot),["transactions"]:(0,C.persistReducer)(is,pt),["transactionsInfo"]:(0,C.persistReducer)(os,at),["batchTransactions"]:(0,C.persistReducer)(as,dt),["signedMessageInfo"]:(0,C.persistReducer)(cs,rt)},ps=w(y({},Ar),{["account"]:(0,C.persistReducer)(Qa,Xe),["loginInfo"]:(0,C.persistReducer)(es,Je),["modals"]:(0,C.persistReducer)(ts,Qe),["networkConfig"]:(0,C.persistReducer)(rs,tt)}),us=Ja.persistReducersStorageType==="localStorage",ds=us?(0,C.persistReducer)(Go,ue(Ar)):(0,C.persistReducer)(ls,ue(ps)),ms=ds});var qo={};ae(qo,{default:()=>gs});var gs,zo=f(()=>{"use strict";n();It();gs=ue()});var jo={};ae(jo,{default:()=>Ts});var O,fs,Ts,Ko=f(()=>{"use strict";n();O=require("redux-persist"),fs=[O.FLUSH,O.REHYDRATE,O.PAUSE,O.PERSIST,O.PURGE,O.REGISTER],Ts=fs});var Zo={};ae(Zo,{default:()=>Xo});function Xo(e){return(0,Yo.persistStore)(e)}var Yo,Jo=f(()=>{"use strict";n();Yo=require("redux-persist")});var mc={};ae(mc,{AppInitializer:()=>dc,useAppInitializer:()=>Pi});module.exports=Ie(mc);n();var Se=require("react"),Li=require("@multiversx/sdk-core/out");n();n();n();var Js=S(require("axios"));n();n();Q();n();var Io=S(require("lodash.isequal")),gt=require("reselect");R();var g=(0,gt.createSelectorCreator)(gt.defaultMemoize,Io.default),ft=(e,t)=>e!=""&&Boolean(t);var K=e=>e.account,Pe=g(K,e=>e.address),Tt=g(K,Pe,(e,t)=>t in e.accounts?e.accounts[t]:Ye),Ao=g(K,Tt,(e,t)=>{let i=e,{accounts:r}=i,o=Ve(i,["accounts"]);return w(y({},o),{account:t})}),Pu=g(Tt,e=>e.balance),Wa=g(Tt,e=>{var t;return((t=e==null?void 0:e.nonce)==null?void 0:t.valueOf())||0}),Ru=g(K,e=>e.shard),Cu=g(K,e=>e.ledgerAccount),_u=g(K,e=>e.walletConnectAccount),Mu=g(K,e=>e.isAccountLoading),Ou=g(K,e=>e.accountLoadingError),Fu=g(K,e=>e.websocketEvent),Uu=g(K,e=>e.websocketBatchEvent);n();var Ha=e=>e.dappConfig,Vu=g(Ha,e=>e.shouldUseWebViewProvider);n();var oe=e=>e.loginInfo,qu=g(oe,e=>e.loginMethod),yt=g(oe,Pe,(e,t)=>ft(e.loginMethod,t)),zu=g(oe,e=>e.walletConnectLogin),ju=g(oe,e=>e.ledgerLogin),vo=g(oe,e=>e.walletLogin),bo=g(oe,e=>e.isLoginSessionInvalid),Ku=g(oe,e=>e.tokenLogin),Yu=g(oe,e=>e.logoutRoute);n();var Eo=e=>e.modals,Ju=g(Eo,e=>e.txSubmittedModal),Qu=g(Eo,e=>e.notificationModal);n();var ie=e=>e.networkConfig,rd=g(ie,e=>e.chainID),nd=g(ie,e=>e.network.walletConnectBridgeAddress),od=g(ie,e=>e.network.walletConnectV2RelayAddress),id=g(ie,e=>e.network.walletConnectV2ProjectId),ad=g(ie,e=>e.network.walletConnectV2Options),sd=g(ie,e=>e.network.walletConnectDeepLink),ht=g(ie,e=>e.network),ko=g(ht,e=>e.apiAddress),No=g(ht,e=>e.explorerAddress),cd=g(ht,e=>e.egldLabel);n();var xt=e=>e.signedMessageInfo,ud=g(xt,e=>e.isSigning),dd=g(xt,e=>e.errorMessage),md=g(xt,e=>{let t=Object.keys(e.signedSessions),r=t.length;return e.signedSessions[t[r-1]]}),gd=g(xt,e=>{let t=Object.keys(e.signedSessions),r=t.length;return t.length>0?t[r-1]:""});n();var hr=e=>e.toasts,yd=g(hr,e=>e.customToasts),hd=g(hr,e=>e.transactionToasts),xd=g(hr,e=>e.failTransactionToast);n();Q();var Do={errorMessage:ur,successMessage:dr,processingMessage:mr},qa=e=>e.transactionsInfo,Ad=g(qa,(e,t)=>t,(e,t)=>t!=null&&(e==null?void 0:e[Number(t)])||Do);n();n();var Y=require("@multiversx/sdk-core"),Po=require("@multiversx/sdk-core/out/signature");I();n();var Sr=require("@multiversx/sdk-core/out");n();n();function xr(e){try{let t=atob(e),r=btoa(t),o=a.Buffer.from(e,"base64").toString(),i=a.Buffer.from(o).toString("base64");if(e===r&&e===i||t===o)return!0}catch(t){return!1}return!1}n();n();n();n();var Lo=e=>{let t=e!=null?e:"";return xr(t)?Sr.TransactionPayload.fromEncoded(t):new Sr.TransactionPayload(t)};function wr(e){var r,o,i;let t=new Y.Transaction(y(y({value:e.value.valueOf(),data:Lo(e.data),nonce:e.nonce.valueOf(),receiver:new Y.Address(e.receiver),sender:new Y.Address(e.sender),gasLimit:(r=e.gasLimit.valueOf())!=null?r:zt,gasPrice:(o=e.gasPrice.valueOf())!=null?o:jt,chainID:e.chainID.valueOf(),version:new Y.TransactionVersion((i=e.version)!=null?i:vn)},e.options?{options:new Y.TransactionOptions(e.options)}:{}),e.guardian?{guardian:new Y.Address(e.guardian)}:{}));return e.guardianSignature&&t.applyGuardianSignature({hex:()=>e.guardianSignature||""}),e.signature&&t.applySignature(new Po.Signature(e.signature)),t}n();n();n();n();var vr=require("@reduxjs/toolkit"),ri=require("react-redux/lib/utils/Subscription");Q();n();var Ro=S(require("lodash.throttle"));I();Q();nr();Ae();ye();var ja=[je],St=!1,Ka=(0,Ro.default)(()=>{Ee(be())},5e3),Co=e=>t=>r=>{var m;if(ja.includes(r.type))return t(r);let o=e.getState(),i=j.local.getItem($.loginExpiresAt);if(!ft((m=o==null?void 0:o.loginInfo)==null?void 0:m.loginMethod,o==null?void 0:o.account.address))return t(r);if(i==null)return Ee(be());let l=Date.now();return i-l<0&&!St?setTimeout(()=>{St=!0,e.dispatch($n())},1e3):(St&&(St=!1),Ka()),t(r)};n();n();function wt(){return typeof sessionStorage!="undefined"}var Qo=wt()?(Ho(),Ie(Wo)).default:(zo(),Ie(qo)).default,ei=wt()?(Ko(),Ie(jo)).default:[],ti=wt()?(Jo(),Ie(Zo)).default:e=>e;It();var b=(0,vr.configureStore)({reducer:Qo,middleware:e=>e({serializableCheck:{ignoredActions:[...ei,rr.type,tr.type],ignoredPaths:["payload.nonce","account.account.nonce","providers.accountProvider"]}}).concat(Co)}),ni=(0,ri.createSubscription)(b),Bm=ti(b),$m=(0,vr.configureStore)({reducer:ue});n();n();var hs=require("@multiversx/sdk-core/out");n();I();n();var ii=require("@multiversx/sdk-core");R();n();var oi=require("@multiversx/sdk-core");function xs(e){try{let t=new oi.Address(e);return Boolean(t.bech32())}catch(t){return!1}}function Ce(e){return(e==null?void 0:e.startsWith("erd"))&&e.length===62&&/^\w+$/.test(e)&&xs(e)}n();n();n();var Ss=require("@multiversx/sdk-core"),ws=S(require("bignumber.js"));B();n();n();n();var ci="dapp/config";n();n();n();n();P();n();n();P();n();n();n();var ks=S(require("bignumber.js"));I();n();var Es=require("@multiversx/sdk-core"),br=S(require("bignumber.js"));I();n();var vs=S(require("bignumber.js"));n();br.default.config({ROUNDING_MODE:br.default.ROUND_FLOOR});n();n();n();I();n();n();n();n();I();n();I();n();var Ns=require("@multiversx/sdk-core");I();n();var Me=require("@multiversx/sdk-core"),Ls=require("@multiversx/sdk-network-providers");I();n();n();var Ds=S(require("bignumber.js"));I();n();I();n();n();n();n();n();n();I();n();I();n();I();n();P();var Rs=["reDelegateRewards","claimRewards","unBond"],Cs=["wrapEgld","unwrapEgld"],_s=["unStake"],Ms=["unDelegate"];n();n();n();I();n();var Us=S(require("bignumber.js"));n();n();P();n();var Bs=S(require("bignumber.js"));n();n();n();var Vs=S(require("bignumber.js"));R();n();n();n();n();B();n();var Hs=require("@multiversx/sdk-web-wallet-provider");I();n();var Ws=S(require("qs"));n();n();var Oe=()=>typeof window!="undefined"&&typeof(window==null?void 0:window.location)!="undefined";n();var Zy={search:Oe()?window.location.search:"",removeParams:[]};n();n();n();n();P();n();n();n();var qs=S(require("linkifyjs"));n();I();n();var zs=S(require("bignumber.js"));n();R();n();n();B();n();B();n();n();n();P();n();P();n();var js=S(require("bignumber.js"));I();P();n();P();n();var gi=require("react");R();n();n();P();n();n();var Ks=require("@multiversx/sdk-core/out"),Ys=S(require("bignumber.js"));P();n();R();n();n();R();var Wx=[{label:"Raw",value:"raw"},{label:"Text",value:"text"},{label:"Decimal",value:"decimal"},{label:"Smart",value:"smart"}];n();var fi=require("react");R();n();var Zs=require("react");P();var Xx=["create","localMint","ESDTLocalMint","addQuantity","burn","localBurn","ESDTLocalBurn","wipe","writeLog","signalError"];fr();var bt=e=>e.transactions,Fe=g(bt,e=>e.signedTransactions),MS=g(bt,e=>e.signTransactionsError),OS=g(bt,e=>e.signTransactionsCancelMessage),Et=e=>t=>Object.entries(t).reduce((r,[o,i])=>(e(i.status)&&(r[o]=i),r),{}),FS=g(Fe,Et(co)),US=g(Fe,Et(ct)),BS=g(Fe,Et(lt)),$S=g(Fe,Et(po)),VS=g(bt,e=>{var t;return(e==null?void 0:e.transactionsToSign)==null?null:w(y({},e.transactionsToSign),{transactions:((t=e==null?void 0:e.transactionsToSign)==null?void 0:t.transactions.map(r=>wr(r)))||[]})}),GS=g(Fe,(e,t)=>t,(e,t)=>t!=null?(e==null?void 0:e[t])||{}:{});n();var Qs=S(require("axios"));n();var tc=S(require("axios"));n();n();var rc=S(require("axios"));n();var nc=S(require("axios"));n();n();n();var oc=S(require("axios"));n();n();n();n();fe();n();var hi=S(require("axios"));function Nr(e){return k(this,null,function*(){let t=`${e}/${ci}`;try{let{data:o}=yield hi.default.get(t);if(o!=null){let i="egldDenomination";if(i in o){let r=o,{[i]:p,decimals:l}=r,d=Ve(r,[Or(i),"decimals"]);return w(y({},d),{decimals:p,digits:l})}return o}}catch(o){console.error("error fetching configuration for ",t)}return null})}n();var ic=S(require("axios"));n();fe();n();fe();n();n();var ac=S(require("axios"));n();var sc=S(require("axios"));fe();n();n();var xi=require("react"),he=require("react-redux");var cc={store:b,subscription:ni},Dr=(0,xi.createContext)(cc),SI=(0,he.createStoreHook)(Dr),Si=(0,he.createDispatchHook)(Dr),kt=(0,he.createSelectorHook)(Dr);var wi=()=>kt(Ao);Q();Ne();De();n();n();n();n();var Ai=require("@multiversx/sdk-extension-provider"),vi=require("@multiversx/sdk-hw-provider"),bi=require("@multiversx/sdk-opera-provider"),Ei=require("@multiversx/sdk-web-wallet-provider");I();B();n();var Lr=xe,Ii=Lr;var Nt=e=>{switch(e==null?void 0:e.constructor){case Ei.WalletProvider:return"wallet";case Lr:return"walletconnect";case Ii:return"walletconnectv2";case vi.HWProvider:return"ledger";case Ai.ExtensionProvider:return"extension";case bi.OperaProvider:return"opera";case xe:return"";default:return"extra"}};var re=e=>`Unable to perform ${e}, Provider not initialized`,xe=class{init(){return Promise.resolve(!1)}login(t){throw new Error(re(`login with options: ${t}`))}logout(t){throw new Error(re(`logout with options: ${t}`))}getAddress(){throw new Error(re("getAddress"))}isInitialized(){return!1}isConnected(){return Promise.resolve(!1)}sendTransaction(t,r){throw new Error(re(`sendTransaction with transactions: ${t} options: ${r}`))}signTransaction(t,r){throw new Error(re(`signTransaction with transactions: ${t} options: ${r}`))}signTransactions(t,r){throw new Error(re(`signTransactions with transactions: ${t} options: ${r}`))}signMessage(t,r){throw new Error(re(`signTransactions with ${t} and options ${r}`))}sendCustomMessage({method:t,params:r}){throw new Error(re(`sendCustomMessage with method: ${t} params: ${r}`))}sendCustomRequest(t){throw new Error(re(`sendSessionEvent with options: ${t}`))}ping(){return Promise.resolve(!1)}},Pr=new xe;var lc=Pr;function ne(){return lc||Pr}_();R();n();function ki(){return yt(b.getState())}n();n();n();n();function Ni(){let e=ne();return Nt(e)}n();B();n();function Ue(e){return Ni()===e}function Dt(){let e=window==null?void 0:window.location.search,t=b.getState(),r=ne(),o=Pe(t),i=yt(t),p=vo(t);if(!r)throw"provider not initialized";return Ue("ledger")&&i?new Promise(l=>{l(o)}):!Ue("")&&!Ue("wallet")&&!Ue("extra")?r.getAddress():new Promise(l=>{if(p!=null){let d=new URLSearchParams(e),m=Object.fromEntries(d);Ce(m.address)&&l(m.address)}i&&l(o),l("")})}n();n();n();_();R();n();Q();n();Q();n();var Di=require("@multiversx/sdk-core");ir();Ae();ye();var uc=e=>{let t=j.local.getItem($.logoutEvent),{data:r}=t?JSON.parse(t):{data:e};e===r&&(j.local.setItem({key:$.logoutEvent,data:e,expires:0}),j.local.removeItem($.logoutEvent))};function Cr(e,t,r=!0){return k(this,null,function*(){let o=ne(),i=Nt(o),p=ki(),l=i==="wallet";if(r&&(o==null?void 0:o.relogin)!=null)return yield o.relogin();if(!p||!o){Rr(e,t,!1);return}try{let d=yield Dt();uc(d)}catch(d){Rr(e,t,!1),console.error("error fetching logout address",d)}l&&zn(),b.dispatch(A());try{let m=l&&!e?window==null?void 0:window.location.origin:e;l?setTimeout(()=>{o.logout({callbackUrl:m})}):(yield o.logout({callbackUrl:m}),Rr(e,t,l))}catch(d){console.error("error logging out",d)}})}function Rr(e,t,r){e&&!r&&(typeof t=="function"?t(e):or(e))}var Pi=({customNetworkConfig:e={},environment:t,dappConfig:r})=>{let[o,i]=(0,Se.useState)(!1),p=wi(),l=kt(bo),d=r==null?void 0:r.logoutRoute,{address:m,publicKey:T}=p,h=Si();function x(){return k(this,null,function*(){let E=!(e!=null&&e.skipFetchFromServer),F=e==null?void 0:e.apiAddress,V=pe[t]||{},Lt=y(y({},V),e);if(E){let Pt=V==null?void 0:V.apiAddress,Be=yield Nr(F||Pt);if(Be!=null){let U=y(y(y({},V),Be),e);h(cr(U));return}}h(cr(Lt))})}function D(){return k(this,null,function*(){h(So(r)),h(Vn(d)),yield x(),i(!0)})}return(0,Se.useEffect)(()=>{m&&new Li.Address(m).hex()!==T&&Cr(d)},[m,T,d]),(0,Se.useEffect)(()=>{D()},[e,t,r]),(0,Se.useEffect)(()=>{p.address&&l&&Cr(d)},[l,p.address,d]),{initialized:o}};function dc({customNetworkConfig:e={},children:t,environment:r,dappConfig:o}){let{initialized:i}=Pi({customNetworkConfig:e,environment:r,dappConfig:o});return Oe()?i?t:null:t}0&&(module.exports={AppInitializer,useAppInitializer});
2
2
  /*!
3
3
  * The buffer module from node.js, for the browser.
4
4
  *
@@ -1,8 +1,9 @@
1
1
  import { ReactNode } from 'react';
2
2
  import { RouteType } from 'types';
3
- export declare const AuthenticatedRoutesWrapper: ({ children, routes, unlockRoute, onRedirect }: {
3
+ export declare const AuthenticatedRoutesWrapper: ({ children, routes, pathName, unlockRoute, onRedirect }: {
4
4
  children: ReactNode;
5
5
  routes: RouteType[];
6
+ pathName?: string | undefined;
6
7
  unlockRoute: string;
7
8
  onRedirect?: ((unlockRoute?: string) => void) | undefined;
8
9
  }) => JSX.Element | null;