@multiversx/sdk-dapp 2.19.3 → 2.19.4

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 (843) hide show
  1. package/UI/DappModal/components/DappModal.js +1 -1
  2. package/UI/DappModal/components/index.js +1 -1
  3. package/UI/DappModal/hooks/index.js +1 -1
  4. package/UI/DappModal/hooks/useDappModal.js +1 -1
  5. package/UI/DappModal/index.js +1 -1
  6. package/UI/Denominate/index.js +1 -1
  7. package/UI/ExplorerLink/ExplorerLink.js +1 -1
  8. package/UI/ExplorerLink/index.js +1 -1
  9. package/UI/FormatAmount/FormatAmount.js +1 -1
  10. package/UI/FormatAmount/index.js +1 -1
  11. package/UI/ModalContainer/ModalContainer.js +1 -1
  12. package/UI/ModalContainer/index.js +1 -1
  13. package/UI/NotificationModal/NotificationModal.js +1 -1
  14. package/UI/NotificationModal/index.js +1 -1
  15. package/UI/SignTransactionsModals/SignTransactionsModals.js +1 -1
  16. package/UI/SignTransactionsModals/SignWithDeviceModal/SignStep.js +1 -1
  17. package/UI/SignTransactionsModals/SignWithDeviceModal/SignWithDeviceModal.js +1 -1
  18. package/UI/SignTransactionsModals/SignWithDeviceModal/components/SignStepBody.js +1 -1
  19. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/ConfirmAmount.js +1 -1
  20. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/index.js +1 -1
  21. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmFee/ConfirmFee.js +1 -1
  22. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmFee/index.js +1 -1
  23. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmReceiver/ConfirmReceiver.js +1 -1
  24. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmReceiver/components/ReceiverSubValue/ReceiverSubValue.js +1 -1
  25. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmReceiver/components/ReceiverSubValue/index.js +1 -1
  26. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmReceiver/components/ReceiverValue/ReceiverValue.js +1 -1
  27. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmReceiver/components/ReceiverValue/index.js +1 -1
  28. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmReceiver/index.js +1 -1
  29. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/NftSftPreviewComponent/NftSftPreviewComponent.js +1 -1
  30. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/NftSftPreviewComponent/index.js +1 -1
  31. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/TokenAvatar/TokenAvatar.js +1 -1
  32. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/TokenAvatar/index.js +1 -1
  33. package/UI/SignTransactionsModals/SignWithDeviceModal/components/index.js +1 -1
  34. package/UI/SignTransactionsModals/SignWithDeviceModal/index.js +1 -1
  35. package/UI/SignTransactionsModals/SignWithExtensionModal/SignWithExtensionModal.js +1 -1
  36. package/UI/SignTransactionsModals/SignWithExtensionModal/index.js +1 -1
  37. package/UI/SignTransactionsModals/SignWithExtraModal/SignWithExtraModal.js +1 -1
  38. package/UI/SignTransactionsModals/SignWithExtraModal/index.js +1 -1
  39. package/UI/SignTransactionsModals/SignWithLedgerModal/LedgerGuardianSigningModalError.js +1 -1
  40. package/UI/SignTransactionsModals/SignWithLedgerModal/SignWithLedgerModal.js +1 -1
  41. package/UI/SignTransactionsModals/SignWithLedgerModal/index.js +1 -1
  42. package/UI/SignTransactionsModals/SignWithOperaModal/SignWithOperaModal.js +1 -1
  43. package/UI/SignTransactionsModals/SignWithOperaModal/index.js +1 -1
  44. package/UI/SignTransactionsModals/SignWithWalletConnectModal/index.js +1 -1
  45. package/UI/SignTransactionsModals/components/ConfirmationScreen.js +1 -1
  46. package/UI/SignTransactionsModals/components/DeviceConfirmationScreen.js +1 -1
  47. package/UI/SignTransactionsModals/components/SignWaitingScreenModal/SignWaitingScreenModal.js +1 -1
  48. package/UI/SignTransactionsModals/components/SignWaitingScreenModal/index.js +1 -1
  49. package/UI/SignTransactionsModals/components/TransactionStatusToast.js +1 -1
  50. package/UI/SignTransactionsModals/components/index.js +1 -1
  51. package/UI/SignTransactionsModals/index.js +1 -1
  52. package/UI/TokenDetails/index.js +1 -1
  53. package/UI/TransactionData/TransactionData.js +1 -1
  54. package/UI/TransactionData/index.js +1 -1
  55. package/UI/TransactionDetails/TransactionDetails.js +1 -1
  56. package/UI/TransactionDetails/components/TransactionDetailsBody.js +1 -1
  57. package/UI/TransactionDetails/components/index.js +1 -1
  58. package/UI/TransactionDetails/index.js +1 -1
  59. package/UI/TransactionInfo/TransactionInfo.js +1 -1
  60. package/UI/TransactionInfo/components/AddressDetailItem/AddressDetailitem.js +1 -1
  61. package/UI/TransactionInfo/components/AddressDetailItem/index.js +1 -1
  62. package/UI/TransactionInfo/components/DataDecode/DataDecode.js +1 -1
  63. package/UI/TransactionInfo/components/DataDecode/index.js +1 -1
  64. package/UI/TransactionInfo/components/DataField/DataField.js +1 -1
  65. package/UI/TransactionInfo/components/DataField/components/ModalLink/ModalLink.js +1 -1
  66. package/UI/TransactionInfo/components/DataField/components/ModalLink/index.js +1 -1
  67. package/UI/TransactionInfo/components/DataField/components/index.js +1 -1
  68. package/UI/TransactionInfo/components/DataField/index.js +1 -1
  69. package/UI/TransactionInfo/components/EventsList/EventsList.js +1 -1
  70. package/UI/TransactionInfo/components/EventsList/index.js +1 -1
  71. package/UI/TransactionInfo/components/NonceMessage/NonceMessage.js +1 -1
  72. package/UI/TransactionInfo/components/NonceMessage/index.js +1 -1
  73. package/UI/TransactionInfo/components/OperationsList/OperationList.js +1 -1
  74. package/UI/TransactionInfo/components/OperationsList/components/DetailedItem.js +1 -1
  75. package/UI/TransactionInfo/components/OperationsList/components/OperationBlock.js +1 -1
  76. package/UI/TransactionInfo/components/OperationsList/components/OperationRow.js +1 -1
  77. package/UI/TransactionInfo/components/OperationsList/components/OperationText.js +1 -1
  78. package/UI/TransactionInfo/components/OperationsList/components/OperationToken.js +1 -1
  79. package/UI/TransactionInfo/components/OperationsList/components/index.js +1 -1
  80. package/UI/TransactionInfo/components/OperationsList/index.js +1 -1
  81. package/UI/TransactionInfo/components/ScResultsList/ScResultsList.js +1 -1
  82. package/UI/TransactionInfo/components/ScResultsList/components/ResultData/ResultData.js +1 -1
  83. package/UI/TransactionInfo/components/ScResultsList/components/ResultData/index.js +1 -1
  84. package/UI/TransactionInfo/components/ScResultsList/components/ResultHash/ResultHash.js +1 -1
  85. package/UI/TransactionInfo/components/ScResultsList/components/ResultHash/index.js +1 -1
  86. package/UI/TransactionInfo/components/ScResultsList/components/ResultReceiver/ResultReceiver.js +1 -1
  87. package/UI/TransactionInfo/components/ScResultsList/components/ResultReceiver/index.js +1 -1
  88. package/UI/TransactionInfo/components/ScResultsList/components/ResultSender/ResultSender.js +1 -1
  89. package/UI/TransactionInfo/components/ScResultsList/components/ResultSender/index.js +1 -1
  90. package/UI/TransactionInfo/components/ScResultsList/index.js +1 -1
  91. package/UI/TransactionInfo/components/ScrDetailItem/ScrDetailItem.js +1 -1
  92. package/UI/TransactionInfo/components/ScrDetailItem/index.js +1 -1
  93. package/UI/TransactionInfo/components/TransactionAction/TransactionAction.js +1 -1
  94. package/UI/TransactionInfo/components/TransactionAction/components/ActionText/index.js +1 -1
  95. package/UI/TransactionInfo/components/TransactionAction/components/ActionToken.js +1 -1
  96. package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/TransactionActionCollection.js +1 -1
  97. package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/TransactionActionNft.js +1 -1
  98. package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/TransactionActionToken.js +1 -1
  99. package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/index.js +1 -1
  100. package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/index.js +1 -1
  101. package/UI/TransactionInfo/components/TransactionAction/components/index.js +1 -1
  102. package/UI/TransactionInfo/components/TransactionAction/index.js +1 -1
  103. package/UI/TransactionInfo/components/TransactionLogs/TransactionLogs.js +1 -1
  104. package/UI/TransactionInfo/components/TransactionLogs/index.js +1 -1
  105. package/UI/TransactionInfo/components/TransactionStatus/TransactionStatus.js +1 -1
  106. package/UI/TransactionInfo/components/TransactionStatus/index.js +1 -1
  107. package/UI/TransactionInfo/components/index.js +1 -1
  108. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoAge/TransactionInfoAge.js +1 -1
  109. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoAge/index.js +1 -1
  110. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoEgldPrice/TransactionInfoEgldPrice.js +1 -1
  111. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoEgldPrice/index.js +1 -1
  112. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFee/TransactionInfoFee.js +1 -1
  113. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFee/index.js +1 -1
  114. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFrom/TransactionInfoFrom.js +1 -1
  115. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFrom/index.js +1 -1
  116. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasLimit/TransactionInfoGasLimit.js +1 -1
  117. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasLimit/index.js +1 -1
  118. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasPrice/TransactionInfoGasPrice.js +1 -1
  119. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasPrice/index.js +1 -1
  120. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasUsed/TransactionInfoGasUsed.js +1 -1
  121. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasUsed/index.js +1 -1
  122. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoInputData/TransactionInfoInputData.js +1 -1
  123. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoInputData/index.js +1 -1
  124. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMethod/TransactionInfoMethod.js +1 -1
  125. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMethod/index.js +1 -1
  126. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMiniblock/TransactionInfoMiniblock.js +1 -1
  127. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMiniblock/index.js +1 -1
  128. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoNonce/TransactionInfoNonce.js +1 -1
  129. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoNonce/index.js +1 -1
  130. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoScResults/TransactionInfoScResults.js +1 -1
  131. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoScResults/index.js +1 -1
  132. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoStatus/TransactionInfoStatus.js +1 -1
  133. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoStatus/index.js +1 -1
  134. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTo/TransactionInfoTo.js +1 -1
  135. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTo/index.js +1 -1
  136. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTokenOperations/TransactionInfoTokenOperations.js +1 -1
  137. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTokenOperations/index.js +1 -1
  138. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoValue/TransactionInfoValue.js +1 -1
  139. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoValue/index.js +1 -1
  140. package/UI/TransactionInfo/components/transactionInfoFields/index.js +1 -1
  141. package/UI/TransactionInfo/index.js +1 -1
  142. package/UI/TransactionsTable/TransactionsTable.js +1 -1
  143. package/UI/TransactionsTable/components/AccountName.js +1 -1
  144. package/UI/TransactionsTable/components/FailedTransactions.js +1 -1
  145. package/UI/TransactionsTable/components/LockedTokenAddressIcon.js +1 -1
  146. package/UI/TransactionsTable/components/ScAddressIcon.js +1 -1
  147. package/UI/TransactionsTable/components/ShardSpan.js +1 -1
  148. package/UI/TransactionsTable/components/TransactionHash.js +1 -1
  149. package/UI/TransactionsTable/components/TransactionIcon.js +1 -1
  150. package/UI/TransactionsTable/components/TransactionMethod.js +1 -1
  151. package/UI/TransactionsTable/components/TransactionReceiver.js +1 -1
  152. package/UI/TransactionsTable/components/TransactionRow.js +1 -1
  153. package/UI/TransactionsTable/components/TransactionSender.js +1 -1
  154. package/UI/TransactionsTable/components/TransactionShardsTransition.js +1 -1
  155. package/UI/TransactionsTable/components/TransactionValue/TransactionValue.js +1 -1
  156. package/UI/TransactionsTable/components/TransactionValue/index.js +1 -1
  157. package/UI/TransactionsTable/components/index.js +1 -1
  158. package/UI/TransactionsTable/index.js +1 -1
  159. package/UI/TransactionsToastList/TransactionsToastList.js +1 -1
  160. package/UI/TransactionsToastList/components/CustomToast/CustomToast.js +1 -1
  161. package/UI/TransactionsToastList/components/CustomToast/components/CustomComponentToast.js +1 -1
  162. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/IconToast.js +1 -1
  163. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/IconToastFooter.js +1 -1
  164. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/ComponentToastFooter.js +1 -1
  165. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/TransactionToastFooter.js +1 -1
  166. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/index.js +1 -1
  167. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/index.js +1 -1
  168. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/index.js +1 -1
  169. package/UI/TransactionsToastList/components/CustomToast/components/SimpleToast.js +1 -1
  170. package/UI/TransactionsToastList/components/CustomToast/components/index.js +1 -1
  171. package/UI/TransactionsToastList/components/CustomToast/helpers/getIsTransaction.js +1 -1
  172. package/UI/TransactionsToastList/components/CustomToast/helpers/index.js +1 -1
  173. package/UI/TransactionsToastList/components/CustomToast/helpers/useMemoizedCloseButton.js +1 -1
  174. package/UI/TransactionsToastList/components/CustomToast/index.js +1 -1
  175. package/UI/TransactionsToastList/components/TransactionToast/TransactionToast.js +1 -1
  176. package/UI/TransactionsToastList/components/TransactionToast/components/DefaultToastDeleteButton.js +1 -1
  177. package/UI/TransactionsToastList/components/TransactionToast/components/TransactionToastContent.js +1 -1
  178. package/UI/TransactionsToastList/components/TransactionToast/components/index.js +1 -1
  179. package/UI/TransactionsToastList/components/TransactionToast/hooks/useTransactionToast.js +1 -1
  180. package/UI/TransactionsToastList/components/TransactionToast/index.js +1 -1
  181. package/UI/TransactionsToastList/components/TransactionToastGuard.js +1 -1
  182. package/UI/TransactionsToastList/components/index.js +1 -1
  183. package/UI/TransactionsToastList/index.js +1 -1
  184. package/UI/Trim/Trim.js +1 -1
  185. package/UI/Trim/index.js +1 -1
  186. package/UI/UsdValue/UsdValue.js +1 -1
  187. package/UI/UsdValue/index.js +1 -1
  188. package/UI/extension/ExtensionLoginButton/ExtensionLoginButton.js +1 -1
  189. package/UI/extension/ExtensionLoginButton/index.js +1 -1
  190. package/UI/index.js +1 -1
  191. package/UI/ledger/LedgerLoginButton/LedgerLoginButton.js +1 -1
  192. package/UI/ledger/LedgerLoginButton/index.js +1 -1
  193. package/UI/ledger/LedgerLoginContainer/AddressRow.js +1 -1
  194. package/UI/ledger/LedgerLoginContainer/AddressTable.js +1 -1
  195. package/UI/ledger/LedgerLoginContainer/ConfirmAddress.js +1 -1
  196. package/UI/ledger/LedgerLoginContainer/LedgerConnect.js +1 -1
  197. package/UI/ledger/LedgerLoginContainer/LedgerLoading/LedgerLoading.js +1 -1
  198. package/UI/ledger/LedgerLoginContainer/LedgerLoading/index.js +1 -1
  199. package/UI/ledger/LedgerLoginContainer/LedgerLoginContainer.js +1 -1
  200. package/UI/ledger/LedgerLoginContainer/index.js +1 -1
  201. package/UI/ledger/index.js +1 -1
  202. package/UI/operaWallet/OperaWalletLoginButton/OperaWalletLoginButton.js +1 -1
  203. package/UI/operaWallet/OperaWalletLoginButton/index.js +1 -1
  204. package/UI/pages/UnlockPage/index.js +1 -1
  205. package/UI/pages/index.js +1 -1
  206. package/UI/walletConnect/WalletConnectConnectionStatus/WalletConnectConnectionStatus.js +1 -1
  207. package/UI/walletConnect/WalletConnectConnectionStatus/index.js +1 -1
  208. package/UI/walletConnect/WalletConnectLoginButton/WalletConnectLoginButton.js +1 -1
  209. package/UI/walletConnect/WalletConnectLoginButton/index.js +1 -1
  210. package/UI/walletConnect/WalletConnectLoginContainer/index.js +1 -1
  211. package/UI/walletConnect/index.js +1 -1
  212. package/UI/webWallet/WebWalletLoginButton/WebWalletLoginButton.js +1 -1
  213. package/UI/webWallet/WebWalletLoginButton/index.js +1 -1
  214. package/__chunks__/chunk-2BX4OHZM.js +2 -0
  215. package/__chunks__/{chunk-22HSFLY5.js → chunk-2DKAV34W.js} +2 -2
  216. package/__chunks__/{chunk-FXM7VRZC.js → chunk-2KI4JLCD.js} +2 -2
  217. package/__chunks__/{chunk-H3MN2JDV.js → chunk-2LCF2TQO.js} +2 -2
  218. package/__chunks__/{chunk-C7NIZXYK.js → chunk-2PA2L6LN.js} +2 -2
  219. package/__chunks__/chunk-35WCOEFA.js +2 -0
  220. package/__chunks__/{chunk-BOPNVTTU.js → chunk-36VRMT3I.js} +2 -2
  221. package/__chunks__/chunk-3BJNXC4N.js +2 -0
  222. package/__chunks__/{chunk-XOBGJPFR.js → chunk-3CFCVLAT.js} +2 -2
  223. package/__chunks__/{chunk-DOE4GE6C.js → chunk-3IAJRFC4.js} +2 -2
  224. package/__chunks__/{chunk-RIXDZZEL.js → chunk-3RO6PHW6.js} +2 -2
  225. package/__chunks__/{chunk-OX2OV4NU.js → chunk-3RZDXOUY.js} +2 -2
  226. package/__chunks__/{chunk-LKEU7T7B.js → chunk-3SD3OETK.js} +2 -2
  227. package/__chunks__/{chunk-XTYM4W3B.js → chunk-3U7WMZUI.js} +2 -2
  228. package/__chunks__/{chunk-ETSU2EB2.js → chunk-3UBFTXPO.js} +2 -2
  229. package/__chunks__/{chunk-5ZRSMJ3T.js → chunk-3W5DV5HT.js} +2 -2
  230. package/__chunks__/chunk-3WLODAW6.js +2 -0
  231. package/__chunks__/{chunk-HWTAJ5HA.js → chunk-43ZMYTSV.js} +2 -2
  232. package/__chunks__/{chunk-AJ6E7FWN.js → chunk-4AYMXCMH.js} +2 -2
  233. package/__chunks__/{chunk-4XW5AOJA.js → chunk-4CCH4DDY.js} +2 -2
  234. package/__chunks__/{chunk-CEUP2AMA.js → chunk-4FFX57VH.js} +2 -2
  235. package/__chunks__/{chunk-75ZXURIH.js → chunk-4FT6JFE2.js} +2 -2
  236. package/__chunks__/{chunk-E7MH55GY.js → chunk-4GAQ5ZHV.js} +2 -2
  237. package/__chunks__/{chunk-LUUH2MDB.js → chunk-4IQOSLLJ.js} +2 -2
  238. package/__chunks__/{chunk-Y6V5V57J.js → chunk-4JXJ44J4.js} +2 -2
  239. package/__chunks__/{chunk-ECXJQXTI.js → chunk-4TZNFEAF.js} +2 -2
  240. package/__chunks__/chunk-4WR2PQA3.js +2 -0
  241. package/__chunks__/{chunk-XEAGXPUO.js → chunk-4XAOAOWK.js} +2 -2
  242. package/__chunks__/{chunk-Y27SSW6L.js → chunk-4ZCDY72F.js} +2 -2
  243. package/__chunks__/{chunk-DTQ3BSLH.js → chunk-52HEDVZ3.js} +2 -2
  244. package/__chunks__/{chunk-AIFOCDSD.js → chunk-55RGUDMP.js} +2 -2
  245. package/__chunks__/{chunk-4SZTBDGF.js → chunk-55SVJP7A.js} +2 -2
  246. package/__chunks__/{chunk-WZUDFBFB.js → chunk-57F5SZWU.js} +2 -2
  247. package/__chunks__/{chunk-GKXZQBRE.js → chunk-57K2X6XZ.js} +2 -2
  248. package/__chunks__/{chunk-OLMWCXXU.js → chunk-5BLMTGEK.js} +2 -2
  249. package/__chunks__/{chunk-GFUIKJOZ.js → chunk-5BTYT3XF.js} +2 -2
  250. package/__chunks__/chunk-5CVKSM6C.js +2 -0
  251. package/__chunks__/chunk-5GXK5FVL.js +2 -0
  252. package/__chunks__/{chunk-UOW42MGU.js → chunk-5JZ72U5B.js} +2 -2
  253. package/__chunks__/{chunk-BWCXALTP.js → chunk-5P6TOJ6I.js} +2 -2
  254. package/__chunks__/{chunk-I3PPIMF4.js → chunk-5UDIL6NV.js} +2 -2
  255. package/__chunks__/{chunk-Y2WF5SGT.js → chunk-5UE6DPYG.js} +2 -2
  256. package/__chunks__/{chunk-C44VVHK4.js → chunk-6AXA6EGX.js} +2 -2
  257. package/__chunks__/{chunk-KGYNJSWV.js → chunk-6DNWMS3V.js} +2 -2
  258. package/__chunks__/{chunk-IVIC5OI3.js → chunk-6JFYHR5T.js} +2 -2
  259. package/__chunks__/{chunk-J4UD3SVG.js → chunk-6OUVZEJT.js} +2 -2
  260. package/__chunks__/{chunk-FP5JUZWF.js → chunk-6PZSH2BN.js} +2 -2
  261. package/__chunks__/chunk-7CKHQKGC.js +2 -0
  262. package/__chunks__/{chunk-I2Z3AZB5.js → chunk-7CTHV44X.js} +2 -2
  263. package/__chunks__/{chunk-RDSCANWT.js → chunk-7EKVDECO.js} +2 -2
  264. package/__chunks__/{chunk-EMZ2G2RX.js → chunk-7EOJCCHH.js} +2 -2
  265. package/__chunks__/chunk-7IOHV4RD.js +2 -0
  266. package/__chunks__/{chunk-VTDRL5D7.js → chunk-7IP6AB6D.js} +2 -2
  267. package/__chunks__/chunk-7KI4YKZV.js +2 -0
  268. package/__chunks__/{chunk-PQ63BNZ6.js → chunk-7LSGTSJC.js} +2 -2
  269. package/__chunks__/{chunk-3L5TCHX6.js → chunk-7RWAIRQD.js} +2 -2
  270. package/__chunks__/{chunk-KCBQF6OV.js → chunk-7S2XNX7Z.js} +2 -2
  271. package/__chunks__/{chunk-KV4FGX27.js → chunk-7SSB2ZLB.js} +2 -2
  272. package/__chunks__/{chunk-K3FMCMTB.js → chunk-7W7VZPTR.js} +2 -2
  273. package/__chunks__/chunk-A5WPHWPA.js +2 -0
  274. package/__chunks__/{chunk-WCLQUDUZ.js → chunk-A7K3C262.js} +2 -2
  275. package/__chunks__/{chunk-5TMAL425.js → chunk-AAZ6AHSO.js} +2 -2
  276. package/__chunks__/{chunk-JFKDV5RH.js → chunk-ABW2CQ6C.js} +2 -2
  277. package/__chunks__/{chunk-7XBY4PFZ.js → chunk-ADSWAXW5.js} +2 -2
  278. package/__chunks__/{chunk-HQA423AS.js → chunk-AHSIYATE.js} +2 -2
  279. package/__chunks__/{chunk-TIHFM55G.js → chunk-ALUDY3EG.js} +2 -2
  280. package/__chunks__/chunk-B2OU3TZ6.js +2 -0
  281. package/__chunks__/{chunk-2BICQFYH.js → chunk-BCWVE6GS.js} +2 -2
  282. package/__chunks__/{chunk-ATMDRLDI.js → chunk-BHQWEB5D.js} +2 -2
  283. package/__chunks__/{chunk-H2ME5TWI.js → chunk-BKJM3CAX.js} +2 -2
  284. package/__chunks__/{chunk-QG7ZSVRJ.js → chunk-BNP6TOPI.js} +2 -2
  285. package/__chunks__/{chunk-3MNTLCC6.js → chunk-BQMKXANA.js} +2 -2
  286. package/__chunks__/{chunk-SZN3DDAA.js → chunk-BZKBX4SN.js} +2 -2
  287. package/__chunks__/{chunk-YEOEDTHB.js → chunk-BZTRBWRX.js} +2 -2
  288. package/__chunks__/{chunk-6QSU5TKP.js → chunk-C5YT43MV.js} +2 -2
  289. package/__chunks__/{chunk-WSYGW7X4.js → chunk-CCJZ37GN.js} +2 -2
  290. package/__chunks__/{chunk-WZPNB7Y4.js → chunk-CF6R5BNB.js} +2 -2
  291. package/__chunks__/{chunk-5MNQBA5P.js → chunk-CGCSRDIC.js} +2 -2
  292. package/__chunks__/{chunk-PORJJTOK.js → chunk-CI2M6NLB.js} +2 -2
  293. package/__chunks__/chunk-CMVN6INV.js +2 -0
  294. package/__chunks__/{chunk-YH52UZEV.js → chunk-CSAXVINR.js} +2 -2
  295. package/__chunks__/{chunk-SUGJYJEU.js → chunk-CVUBYNSH.js} +2 -2
  296. package/__chunks__/{chunk-3ZHGHRXL.js → chunk-CWDPMUZM.js} +2 -2
  297. package/__chunks__/{chunk-WTRVHFFY.js → chunk-CXQJWM5X.js} +2 -2
  298. package/__chunks__/{chunk-U45JER5N.js → chunk-D3WBZJOW.js} +2 -2
  299. package/__chunks__/{chunk-GM5V7Q2Q.js → chunk-DAPQP7WI.js} +2 -2
  300. package/__chunks__/{chunk-KUZPC2PY.js → chunk-DPXQEQD7.js} +2 -2
  301. package/__chunks__/{chunk-ZTFOXEYI.js → chunk-DRIGSWO7.js} +2 -2
  302. package/__chunks__/{chunk-2LZAG6PD.js → chunk-DSU6VK65.js} +2 -2
  303. package/__chunks__/{chunk-3GPBK6I7.js → chunk-DW2LPDU2.js} +2 -2
  304. package/__chunks__/{chunk-R4KT7TSL.js → chunk-E5YA2BEK.js} +2 -2
  305. package/__chunks__/{chunk-RIFHJJLJ.js → chunk-E7H7M7P4.js} +2 -2
  306. package/__chunks__/{chunk-VFIRXBS2.js → chunk-EACLYPOB.js} +2 -2
  307. package/__chunks__/{chunk-5UIQ6FOR.js → chunk-EJR7RJXR.js} +2 -2
  308. package/__chunks__/{chunk-46XIXDED.js → chunk-ESOALLWK.js} +2 -2
  309. package/__chunks__/{chunk-O72KSLW3.js → chunk-EVVAZIZ6.js} +2 -2
  310. package/__chunks__/{chunk-NKO77VGI.js → chunk-EWFNAKNI.js} +2 -2
  311. package/__chunks__/{chunk-EOMPMHBL.js → chunk-FBN2HTVT.js} +2 -2
  312. package/__chunks__/{chunk-HZJVVBEP.js → chunk-FFZVTGFI.js} +2 -2
  313. package/__chunks__/{chunk-2HYKUJTL.js → chunk-FKP3KCDD.js} +2 -2
  314. package/__chunks__/{chunk-NK66AKLD.js → chunk-FKS2KZL7.js} +2 -2
  315. package/__chunks__/{chunk-PH54KZU6.js → chunk-FOFRRNJP.js} +2 -2
  316. package/__chunks__/{chunk-P27LE7XS.js → chunk-FPT5QSQZ.js} +2 -2
  317. package/__chunks__/chunk-FWUVJXQO.js +2 -0
  318. package/__chunks__/{chunk-YJECXAOW.js → chunk-FZCBXKZV.js} +2 -2
  319. package/__chunks__/chunk-FZXMKJPU.js +2 -0
  320. package/__chunks__/{chunk-JFU6H3RJ.js → chunk-G3DVOL7T.js} +2 -2
  321. package/__chunks__/chunk-GC67AZQG.js +2 -0
  322. package/__chunks__/{chunk-WQZQK6DW.js → chunk-GCDWSPIX.js} +2 -2
  323. package/__chunks__/{chunk-EJTW3BHE.js → chunk-GJ7D43EO.js} +2 -2
  324. package/__chunks__/{chunk-SPFYD4PG.js → chunk-GJEJEWGW.js} +2 -2
  325. package/__chunks__/{chunk-P2QXFXGG.js → chunk-GL4FEXFO.js} +2 -2
  326. package/__chunks__/{chunk-WOHE5WAZ.js → chunk-GNQAERFB.js} +2 -2
  327. package/__chunks__/{chunk-TOIGQ47U.js → chunk-GOPZBNW2.js} +2 -2
  328. package/__chunks__/{chunk-B733YBLD.js → chunk-GOVRMKS7.js} +2 -2
  329. package/__chunks__/{chunk-YH25ZOQB.js → chunk-GQECY4ST.js} +2 -2
  330. package/__chunks__/{chunk-K57WNNM5.js → chunk-GTVAWPBD.js} +2 -2
  331. package/__chunks__/{chunk-AVXCG73Q.js → chunk-GU7Y2XXG.js} +2 -2
  332. package/__chunks__/{chunk-TWR5O54W.js → chunk-GXIQ4GZ7.js} +2 -2
  333. package/__chunks__/{chunk-ENMP3H6J.js → chunk-HCR5P6N6.js} +2 -2
  334. package/__chunks__/{chunk-IEFHTH6Z.js → chunk-HKWZDXCK.js} +2 -2
  335. package/__chunks__/{chunk-SWL4YKMR.js → chunk-HM26CCC5.js} +2 -2
  336. package/__chunks__/{chunk-3X46JUWT.js → chunk-HXPST5DU.js} +2 -2
  337. package/__chunks__/{chunk-BRUNFOAH.js → chunk-I3WQBZS3.js} +2 -2
  338. package/__chunks__/{chunk-7DETQUXM.js → chunk-IO6RHGJ6.js} +2 -2
  339. package/__chunks__/{chunk-JEYFCSIO.js → chunk-IRPIXNBW.js} +2 -2
  340. package/__chunks__/{chunk-OCDGPVI4.js → chunk-IUMJQCNJ.js} +2 -2
  341. package/__chunks__/{chunk-FLPR7W7V.js → chunk-IWGXAQI7.js} +2 -2
  342. package/__chunks__/{chunk-N7HYHXGC.js → chunk-IXUCVDYF.js} +2 -2
  343. package/__chunks__/{chunk-FX6TJTE4.js → chunk-IZXX4IBK.js} +2 -2
  344. package/__chunks__/{chunk-47WZRMOJ.js → chunk-J5VZM46C.js} +2 -2
  345. package/__chunks__/chunk-J6TQJBNN.js +2 -0
  346. package/__chunks__/{chunk-YTOUGF67.js → chunk-J6WH7Q6N.js} +2 -2
  347. package/__chunks__/chunk-J7NHKMP7.js +2 -0
  348. package/__chunks__/{chunk-7IUTZWOW.js → chunk-JDVA2DN6.js} +2 -2
  349. package/__chunks__/{chunk-QD7C5WMJ.js → chunk-JHB5RZQK.js} +2 -2
  350. package/__chunks__/{chunk-VF3JMF7P.js → chunk-JJWESPY7.js} +2 -2
  351. package/__chunks__/{chunk-O3A4BBN4.js → chunk-JM7ARFWW.js} +2 -2
  352. package/__chunks__/{chunk-G4G5OYVX.js → chunk-JMYDWFYG.js} +2 -2
  353. package/__chunks__/{chunk-ESDVFWJB.js → chunk-JS7JI6HO.js} +2 -2
  354. package/__chunks__/{chunk-FUCLDWKV.js → chunk-JUK2K4DT.js} +2 -2
  355. package/__chunks__/chunk-JWO6YOJG.js +2 -0
  356. package/__chunks__/{chunk-4B7OT36Z.js → chunk-K6NRI443.js} +2 -2
  357. package/__chunks__/{chunk-FMPP5KVZ.js → chunk-KBMVUVHN.js} +2 -2
  358. package/__chunks__/{chunk-TSQ2J6UK.js → chunk-KCPPAEVD.js} +2 -2
  359. package/__chunks__/{chunk-ZSTD3UK5.js → chunk-KSG3SGNH.js} +2 -2
  360. package/__chunks__/{chunk-KZJC6LBF.js → chunk-L6BDJ6L6.js} +2 -2
  361. package/__chunks__/{chunk-JC27YZT6.js → chunk-LDIU3FNG.js} +2 -2
  362. package/__chunks__/{chunk-RSXA7TS5.js → chunk-LH6K3MUM.js} +2 -2
  363. package/__chunks__/{chunk-57VUYDGS.js → chunk-LIFGCNFZ.js} +2 -2
  364. package/__chunks__/{chunk-KZ3XW7GQ.js → chunk-LNMYI3Y2.js} +2 -2
  365. package/__chunks__/{chunk-DVKLMLE4.js → chunk-LPN3LUZ5.js} +2 -2
  366. package/__chunks__/{chunk-GHH3PWKA.js → chunk-LTBOBRSW.js} +2 -2
  367. package/__chunks__/{chunk-CID3WDHG.js → chunk-LW5S7E5P.js} +2 -2
  368. package/__chunks__/chunk-M23QS5QM.js +2 -0
  369. package/__chunks__/chunk-M2OMDVIW.js +2 -0
  370. package/__chunks__/{chunk-C5ZCSOPK.js → chunk-M2YZLTQQ.js} +2 -2
  371. package/__chunks__/{chunk-E53TF5GF.js → chunk-M3G5HTMQ.js} +2 -2
  372. package/__chunks__/{chunk-N7KN37ZI.js → chunk-M6GTHUJZ.js} +2 -2
  373. package/__chunks__/chunk-M6OPGOAI.js +2 -0
  374. package/__chunks__/{chunk-TWKVIMFM.js → chunk-MKXLAXZ6.js} +2 -2
  375. package/__chunks__/{chunk-SDFBB4XV.js → chunk-MMODWV2L.js} +2 -2
  376. package/__chunks__/{chunk-TF7A7KTV.js → chunk-MMWSGIQE.js} +2 -2
  377. package/__chunks__/{chunk-IYHJONI3.js → chunk-MTAXXXJ5.js} +2 -2
  378. package/__chunks__/{chunk-TI2IJY6D.js → chunk-MTF5X4XY.js} +2 -2
  379. package/__chunks__/chunk-MVRKPFG4.js +2 -0
  380. package/__chunks__/{chunk-4IV3DQSN.js → chunk-MYVXPPXZ.js} +2 -2
  381. package/__chunks__/{chunk-6RE76ORW.js → chunk-NCVI2XSC.js} +2 -2
  382. package/__chunks__/{chunk-UMWKUGYC.js → chunk-NHEWHFBK.js} +2 -2
  383. package/__chunks__/{chunk-EYFRV573.js → chunk-NIGS7HLZ.js} +2 -2
  384. package/__chunks__/{chunk-SSXRV2B3.js → chunk-NT4TDMEH.js} +2 -2
  385. package/__chunks__/{chunk-2NCGOQYD.js → chunk-NYH3P5QA.js} +2 -2
  386. package/__chunks__/chunk-O456CDP2.js +2 -0
  387. package/__chunks__/{chunk-YG5O6JAN.js → chunk-O4FKMEXR.js} +2 -2
  388. package/__chunks__/{chunk-U2XPV4KY.js → chunk-OADZZPZC.js} +2 -2
  389. package/__chunks__/{chunk-AKTACUIL.js → chunk-OCG2X47V.js} +2 -2
  390. package/__chunks__/{chunk-VXZKFF5R.js → chunk-OCQ5VRPF.js} +2 -2
  391. package/__chunks__/{chunk-PHSA6X2A.js → chunk-OO2VEWUQ.js} +2 -2
  392. package/__chunks__/chunk-OQ7JPASI.js +2 -0
  393. package/__chunks__/{chunk-WXMVRQF5.js → chunk-OTEC5T2S.js} +2 -2
  394. package/__chunks__/{chunk-JD5Z5UPX.js → chunk-OWWAG33Q.js} +2 -2
  395. package/__chunks__/{chunk-UGNCUQHX.js → chunk-P2SBWTT7.js} +2 -2
  396. package/__chunks__/{chunk-YAWT255K.js → chunk-P343UZ4Z.js} +2 -2
  397. package/__chunks__/{chunk-4JNBSZWA.js → chunk-P4MUSFUX.js} +2 -2
  398. package/__chunks__/{chunk-LDG3JRZX.js → chunk-P4Z3XOZQ.js} +2 -2
  399. package/__chunks__/{chunk-PL45MSGM.js → chunk-P52OPWXQ.js} +2 -2
  400. package/__chunks__/{chunk-JDQPYQ7K.js → chunk-PAIUOLQ3.js} +2 -2
  401. package/__chunks__/{chunk-D22WDB5L.js → chunk-PBS6FOUJ.js} +2 -2
  402. package/__chunks__/{chunk-HH4AYJA4.js → chunk-PCPX4EZ3.js} +2 -2
  403. package/__chunks__/{chunk-63DH6XQX.js → chunk-PI55LKQR.js} +2 -2
  404. package/__chunks__/{chunk-GP7OZSUM.js → chunk-PKWGJSUN.js} +2 -2
  405. package/__chunks__/{chunk-HY4GMWMJ.js → chunk-PQP7VCXX.js} +2 -2
  406. package/__chunks__/{chunk-2HQE6ROV.js → chunk-PSTVD4WB.js} +2 -2
  407. package/__chunks__/{chunk-KNF6UTL2.js → chunk-PXLPSI5I.js} +2 -2
  408. package/__chunks__/{chunk-PBRRK5MW.js → chunk-PZHQ4HU2.js} +2 -2
  409. package/__chunks__/{chunk-CERTDZZR.js → chunk-Q2CNOJLI.js} +2 -2
  410. package/__chunks__/{chunk-LFEYYFZQ.js → chunk-QAQTEPP4.js} +2 -2
  411. package/__chunks__/{chunk-Q2MFC2W2.js → chunk-QD264ZWC.js} +2 -2
  412. package/__chunks__/{chunk-P7FUIIFJ.js → chunk-QG4FT76J.js} +2 -2
  413. package/__chunks__/{chunk-HJID4H3D.js → chunk-QGLY3YFZ.js} +2 -2
  414. package/__chunks__/{chunk-67BSPLXV.js → chunk-QHL42SKF.js} +2 -2
  415. package/__chunks__/{chunk-KIIK24TQ.js → chunk-QHLSER4H.js} +2 -2
  416. package/__chunks__/{chunk-NEMWTGXM.js → chunk-QHMX5YIB.js} +2 -2
  417. package/__chunks__/{chunk-QXAJXWEA.js → chunk-QMPU3AXE.js} +2 -2
  418. package/__chunks__/{chunk-5N2A5ZDD.js → chunk-QNIIKEZG.js} +2 -2
  419. package/__chunks__/{chunk-5C6B4YDE.js → chunk-QPLHUQOF.js} +2 -2
  420. package/__chunks__/{chunk-HHEJCIW3.js → chunk-QQNYTFVR.js} +2 -2
  421. package/__chunks__/{chunk-BUKEBYZP.js → chunk-QSFOBOZ6.js} +2 -2
  422. package/__chunks__/chunk-QWKVUY63.js +2 -0
  423. package/__chunks__/{chunk-LO6TL2A7.js → chunk-RAHLQMHX.js} +2 -2
  424. package/__chunks__/{chunk-UKY5MGQB.js → chunk-RD7IOSGY.js} +2 -2
  425. package/__chunks__/chunk-RG7G3RJ2.js +2 -0
  426. package/__chunks__/{chunk-SMJRUXMA.js → chunk-RGGXBLXT.js} +2 -2
  427. package/__chunks__/{chunk-COLA77LJ.js → chunk-RPMPNJ7W.js} +2 -2
  428. package/__chunks__/{chunk-EN3E23RW.js → chunk-RRAVQFYA.js} +2 -2
  429. package/__chunks__/{chunk-F5WPF7GH.js → chunk-RV4UAOIR.js} +2 -2
  430. package/__chunks__/{chunk-R6EFZLE5.js → chunk-RVXC64US.js} +2 -2
  431. package/__chunks__/{chunk-MW2SXU3H.js → chunk-S53B6SGM.js} +2 -2
  432. package/__chunks__/{chunk-X2MWYIU4.js → chunk-SELI2I2K.js} +2 -2
  433. package/__chunks__/chunk-SGCRJ4JE.js +2 -0
  434. package/__chunks__/{chunk-JS3PZPXF.js → chunk-SGZOY7VW.js} +2 -2
  435. package/__chunks__/{chunk-4ARWF3B6.js → chunk-SJ67EKKG.js} +2 -2
  436. package/__chunks__/{chunk-MKK42PPX.js → chunk-SM46F7B4.js} +2 -2
  437. package/__chunks__/{chunk-JS5N4A2H.js → chunk-SPMGYFBM.js} +2 -2
  438. package/__chunks__/{chunk-2Y6PCMMW.js → chunk-SQOUTM4B.js} +2 -2
  439. package/__chunks__/{chunk-H6J2Q73S.js → chunk-SVKS5RBP.js} +2 -2
  440. package/__chunks__/{chunk-OZKJZCNR.js → chunk-SX4P42JH.js} +2 -2
  441. package/__chunks__/{chunk-WYXUROCE.js → chunk-SXVQQEPH.js} +2 -2
  442. package/__chunks__/{chunk-JLIH6HC2.js → chunk-TC7PWOZA.js} +2 -2
  443. package/__chunks__/{chunk-Q6P5OBPB.js → chunk-TUKBHRJ2.js} +2 -2
  444. package/__chunks__/{chunk-EDLHU7GA.js → chunk-TVANIO4S.js} +2 -2
  445. package/__chunks__/chunk-TZTVPYNU.js +2 -0
  446. package/__chunks__/{chunk-NOU7GF4I.js → chunk-U3VVOAGG.js} +2 -2
  447. package/__chunks__/{chunk-KGI52D7N.js → chunk-UGLGXYAB.js} +2 -2
  448. package/__chunks__/{chunk-7HXETUYN.js → chunk-UID7SHJE.js} +2 -2
  449. package/__chunks__/{chunk-L4C4ZUGH.js → chunk-UIE6VYW4.js} +2 -2
  450. package/__chunks__/{chunk-LXKJQCGS.js → chunk-UMGFESKR.js} +2 -2
  451. package/__chunks__/{chunk-GTM7MGX3.js → chunk-UVLLOARD.js} +2 -2
  452. package/__chunks__/chunk-UVZW7MNN.js +2 -0
  453. package/__chunks__/{chunk-OTAZRMYR.js → chunk-UZONRXPH.js} +2 -2
  454. package/__chunks__/chunk-V2E2HUFC.js +2 -0
  455. package/__chunks__/{chunk-UMPUG7E2.js → chunk-VCBEQIWH.js} +2 -2
  456. package/__chunks__/{chunk-YDELHM2C.js → chunk-VD4BWBH3.js} +2 -2
  457. package/__chunks__/{chunk-3XHS35LJ.js → chunk-VISPB6RR.js} +2 -2
  458. package/__chunks__/{chunk-DZMUPITY.js → chunk-VLINXPZB.js} +2 -2
  459. package/__chunks__/{chunk-EDWOB43J.js → chunk-VM5R7BMI.js} +2 -2
  460. package/__chunks__/{chunk-UKBYQ5VC.js → chunk-VP7YPWOX.js} +2 -2
  461. package/__chunks__/{chunk-KUUFLPAX.js → chunk-VPACYSPC.js} +2 -2
  462. package/__chunks__/{chunk-YQYTZTYK.js → chunk-VTUCHSFP.js} +2 -2
  463. package/__chunks__/{chunk-OYPEMMN2.js → chunk-VXA7YWE3.js} +2 -2
  464. package/__chunks__/{chunk-EZFS2IVV.js → chunk-W54GUIFR.js} +2 -2
  465. package/__chunks__/{chunk-QJVYZ4KV.js → chunk-W6TK3ZKD.js} +2 -2
  466. package/__chunks__/{chunk-THLNEMKO.js → chunk-WIJPHXPT.js} +2 -2
  467. package/__chunks__/{chunk-7VF5NVI2.js → chunk-WMWY6RMG.js} +2 -2
  468. package/__chunks__/{chunk-ERR7DZOW.js → chunk-WNRU4RGS.js} +2 -2
  469. package/__chunks__/chunk-WQO2Z2Z6.js +2 -0
  470. package/__chunks__/{chunk-BXE5AVSM.js → chunk-WX47PQMJ.js} +2 -2
  471. package/__chunks__/{chunk-FMRA65HD.js → chunk-XBNTAI73.js} +2 -2
  472. package/__chunks__/{chunk-JWP6ZHSZ.js → chunk-XDD6Y3C3.js} +2 -2
  473. package/__chunks__/{chunk-O2DO2UIV.js → chunk-XDUHEMOQ.js} +2 -2
  474. package/__chunks__/{chunk-WO2QOKXD.js → chunk-XGZYK6BH.js} +2 -2
  475. package/__chunks__/{chunk-6GVPWO4Y.js → chunk-XHUXYF6R.js} +2 -2
  476. package/__chunks__/{chunk-FBLDQRNL.js → chunk-XKFQ7DOU.js} +2 -2
  477. package/__chunks__/{chunk-MU722OD6.js → chunk-XSUTOVJV.js} +2 -2
  478. package/__chunks__/{chunk-Q2OVJ6KU.js → chunk-XXJUTSYJ.js} +2 -2
  479. package/__chunks__/{chunk-AB3DFSM4.js → chunk-XXQRJMXC.js} +2 -2
  480. package/__chunks__/{chunk-6JLBRLLF.js → chunk-Y6U2LKQG.js} +2 -2
  481. package/__chunks__/{chunk-UDCHZ44N.js → chunk-Y7HPEWCK.js} +2 -2
  482. package/__chunks__/chunk-YDF7FE2G.js +2 -0
  483. package/__chunks__/{chunk-O6NV3A4E.js → chunk-YE4OGMTC.js} +2 -2
  484. package/__chunks__/{chunk-FE7SRYYK.js → chunk-YFLZ7IPU.js} +2 -2
  485. package/__chunks__/{chunk-3Q3SVA6E.js → chunk-YFQ2E6JD.js} +2 -2
  486. package/__chunks__/{chunk-SJW52AWZ.js → chunk-YGNCS2IB.js} +2 -2
  487. package/__chunks__/chunk-YHJZG7A7.js +2 -0
  488. package/__chunks__/{chunk-3KUTDGMD.js → chunk-YN53FF3T.js} +2 -2
  489. package/__chunks__/{chunk-OVQGLGWM.js → chunk-YQ2BWSU7.js} +2 -2
  490. package/__chunks__/{chunk-WQ47SHD4.js → chunk-YSO5P36C.js} +2 -2
  491. package/__chunks__/{chunk-QIGBV2PC.js → chunk-YSWOIPG2.js} +2 -2
  492. package/__chunks__/{chunk-JZENJOUK.js → chunk-YTX3ELIT.js} +2 -2
  493. package/__chunks__/{chunk-Z4VTUUJU.js → chunk-YV2RSWZF.js} +2 -2
  494. package/__chunks__/{chunk-5G42F3BP.js → chunk-YX5TFMZ4.js} +2 -2
  495. package/__chunks__/{chunk-3MEUXPUD.js → chunk-YYORJDEK.js} +2 -2
  496. package/__chunks__/{chunk-QOZRQR53.js → chunk-Z2CAUL27.js} +2 -2
  497. package/__chunks__/chunk-Z3B4CUV6.js +2 -0
  498. package/__chunks__/{chunk-XA7WUQFE.js → chunk-Z5IDZK2X.js} +2 -2
  499. package/__chunks__/{chunk-FB6ZDVBW.js → chunk-ZC47UNBS.js} +2 -2
  500. package/__chunks__/{chunk-25FNNFSS.js → chunk-ZJKXDQEW.js} +2 -2
  501. package/__chunks__/chunk-ZJVQ5OUG.js +2 -0
  502. package/__chunks__/chunk-ZLIECZCS.js +2 -0
  503. package/__chunks__/{chunk-44YZMC7O.js → chunk-ZNX4RKER.js} +2 -2
  504. package/__chunks__/{chunk-LDXOJ554.js → chunk-ZOZGAVIM.js} +2 -2
  505. package/__chunks__/{chunk-ML6AZNBW.js → chunk-ZP2OYGDA.js} +2 -2
  506. package/__chunks__/{chunk-L26AU2KL.js → chunk-ZRSB2PSI.js} +2 -2
  507. package/__chunks__/{chunk-MYUV55KX.js → chunk-ZTFN4AOB.js} +2 -2
  508. package/__commonjs/UI/DappModal/components/index.js +1 -1
  509. package/__commonjs/UI/FormatAmount/index.js +2 -2
  510. package/__commonjs/UI/SignTransactionsModals/SignTransactionsModals.js +26 -26
  511. package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/SignStep.js +1 -1
  512. package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/SignWithDeviceModal.js +1 -1
  513. package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/components/components/TokenAvatar/TokenAvatar.js +1 -1
  514. package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/components/components/TokenAvatar/index.js +1 -1
  515. package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/index.js +1 -1
  516. package/__commonjs/UI/SignTransactionsModals/SignWithExtensionModal/SignWithExtensionModal.js +5 -5
  517. package/__commonjs/UI/SignTransactionsModals/SignWithExtensionModal/index.js +5 -5
  518. package/__commonjs/UI/SignTransactionsModals/SignWithLedgerModal/LedgerGuardianSigningModalError.js +5 -5
  519. package/__commonjs/UI/SignTransactionsModals/SignWithLedgerModal/SignWithLedgerModal.js +1 -1
  520. package/__commonjs/UI/SignTransactionsModals/SignWithLedgerModal/index.js +1 -1
  521. package/__commonjs/UI/SignTransactionsModals/index.js +26 -26
  522. package/__commonjs/UI/TransactionInfo/components/DataField/DataField.js +3 -3
  523. package/__commonjs/UI/TransactionInfo/components/DataField/index.js +3 -3
  524. package/__commonjs/UI/TransactionInfo/components/ScResultsList/components/ResultData/ResultData.js +2 -2
  525. package/__commonjs/UI/TransactionInfo/components/ScResultsList/components/ResultData/index.js +1 -1
  526. package/__commonjs/UI/TransactionsTable/components/AccountName.js +2 -2
  527. package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/ComponentToastFooter.js +1 -1
  528. package/__commonjs/UI/TransactionsToastList/components/index.js +9 -9
  529. package/__commonjs/UI/index.js +1 -1
  530. package/__commonjs/UI/walletConnect/WalletConnectLoginContainer/index.js +6 -6
  531. package/__commonjs/__mocks__/index.js +1 -1
  532. package/__commonjs/__mocks__/utils/index.js +1 -1
  533. package/__commonjs/__mocks__/utils/renderWithProvider.js +1 -1
  534. package/__commonjs/constants/dataTestIds.enum.d.ts +1 -0
  535. package/__commonjs/constants/dataTestIds.enum.js +1 -1
  536. package/__commonjs/constants/index.js +1 -1
  537. package/__commonjs/hooks/transactions/batch/tracker/useUpdateBatch.js +1 -1
  538. package/__commonjs/hooks/transactions/helpers/extractSessionId.js +1 -1
  539. package/__commonjs/hooks/transactions/helpers/useSetTransactionNonces.js +1 -1
  540. package/__commonjs/hooks/transactions/useSignTransactionsWithDevice.js +1 -1
  541. package/__commonjs/hooks/websocketListener/index.js +1 -1
  542. package/__commonjs/hooks/websocketListener/useRegisterWebsocketListener.js +1 -1
  543. package/__commonjs/providers/accountProvider.js +1 -1
  544. package/__commonjs/providers/index.js +1 -1
  545. package/__commonjs/providers/utils.js +1 -1
  546. package/__commonjs/reduxStore/commonActions.js +1 -1
  547. package/__commonjs/reduxStore/slices/dappModalsSlice.js +1 -1
  548. package/__commonjs/reduxStore/slices/loginInfoSlice.js +1 -1
  549. package/__commonjs/utils/account/signMessage.js +1 -1
  550. package/__commonjs/utils/operations/calculateFeeLimit.js +1 -1
  551. package/__commonjs/utils/operations/parseAmount.js +1 -1
  552. package/__commonjs/utils/transactions/getAreTransactionsOnSameShard.js +1 -1
  553. package/__commonjs/utils/transactions/getInterpretedTransaction/helpers/getReceiptMessage.js +1 -1
  554. package/__commonjs/utils/transactions/parseTransactionAfterSigning.js +1 -1
  555. package/__commonjs/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/helpers/index.js +1 -1
  556. package/__commonjs/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/index.js +1 -1
  557. package/__commonjs/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/transactionActionUnwrapper.js +1 -1
  558. package/__commonjs/utils/validation/index.js +1 -1
  559. package/__commonjs/utils/walletconnect/__mocks__/sdkWalletconnectProvider.js +1 -1
  560. package/__commonjs/wrappers/AppInitializer.js +1 -1
  561. package/__commonjs/wrappers/AxiosInterceptorContext/components/AxiosInterceptor.js +1 -1
  562. package/__commonjs/wrappers/AxiosInterceptorContext/components/LoginInfoListener.js +1 -1
  563. package/__commonjs/wrappers/DappProvider/DappProvider.js +1 -1
  564. package/__commonjs/wrappers/DappProvider/index.js +1 -1
  565. package/__commonjs/wrappers/index.js +1 -1
  566. package/__mocks__/index.js +1 -1
  567. package/__mocks__/utils/index.js +1 -1
  568. package/__mocks__/utils/renderWithProvider.js +1 -1
  569. package/apiCalls/accounts/getAccountFromApi.js +1 -1
  570. package/apiCalls/accounts/index.js +1 -1
  571. package/apiCalls/configuration/getNetworkConfig.js +1 -1
  572. package/apiCalls/configuration/index.js +1 -1
  573. package/apiCalls/economics/getEconomicsInfo.js +1 -1
  574. package/apiCalls/economics/index.js +1 -1
  575. package/apiCalls/getScamAddressData.js +1 -1
  576. package/apiCalls/index.js +1 -1
  577. package/apiCalls/transactions/getTransactionsByHashes.js +1 -1
  578. package/apiCalls/transactions/index.js +1 -1
  579. package/apiCalls/transactions/sendSignedTransactions.js +1 -1
  580. package/apiCalls/utils/getCleanApiAddress.js +1 -1
  581. package/apiCalls/utils/index.js +1 -1
  582. package/components/BatchTransactionsSender/BatchTransactionsSender.js +1 -1
  583. package/components/BatchTransactionsSender/index.js +1 -1
  584. package/components/BatchTransactionsTracker/BatchTransactionsTracker.js +1 -1
  585. package/components/LogoutListener/LogoutListener.js +1 -1
  586. package/components/LogoutListener/helpers/index.js +1 -1
  587. package/components/LogoutListener/helpers/useLogoutFromMultipleTabs.js +1 -1
  588. package/components/LogoutListener/helpers/useNativeAuthLogout.js +1 -1
  589. package/components/LogoutListener/helpers/useNativeAuthLogoutWarning/index.js +1 -1
  590. package/components/LogoutListener/helpers/useNativeAuthLogoutWarning/useNativeAuthLogoutWarning.js +1 -1
  591. package/components/LogoutListener/index.js +1 -1
  592. package/components/ProviderInitializer/ProviderInitializer.js +1 -1
  593. package/components/ProviderInitializer/hooks/index.js +1 -1
  594. package/components/ProviderInitializer/hooks/useSetLedgerProvider.js +1 -1
  595. package/components/ProviderInitializer/index.js +1 -1
  596. package/components/TransactionSender/TransactionSender.js +1 -1
  597. package/components/TransactionSender/index.js +1 -1
  598. package/components/TransactionsTracker/TransactionTracker.js +1 -1
  599. package/components/TransactionsTracker/index.js +1 -1
  600. package/components/TransactionsTracker/useTransactionsTracker.js +1 -1
  601. package/constants/dataTestIds.enum.d.ts +1 -0
  602. package/constants/dataTestIds.enum.js +1 -1
  603. package/constants/index.js +1 -1
  604. package/hooks/account/index.js +1 -1
  605. package/hooks/account/useGetAccount.js +1 -1
  606. package/hooks/account/useGetAccountFromApi.js +1 -1
  607. package/hooks/account/useGetAccountInfo.js +1 -1
  608. package/hooks/account/useGetAccountProvider.js +1 -1
  609. package/hooks/account/useGetIsLoggedIn.js +1 -1
  610. package/hooks/account/useGetLoginInfo.js +1 -1
  611. package/hooks/account/useGetWebsocketEvent.js +1 -1
  612. package/hooks/economics/index.js +1 -1
  613. package/hooks/economics/useGetEgldPrice.js +1 -1
  614. package/hooks/index.js +1 -1
  615. package/hooks/login/index.js +1 -1
  616. package/hooks/login/useExtensionLogin.js +1 -1
  617. package/hooks/login/useLedgerLogin.js +1 -1
  618. package/hooks/login/useLoginService.js +1 -1
  619. package/hooks/login/useOperaLogin.js +1 -1
  620. package/hooks/login/useWalletConnectV2Login.js +1 -1
  621. package/hooks/login/useWebViewLogin.js +1 -1
  622. package/hooks/login/useWebWalletLogin.js +1 -1
  623. package/hooks/signMessage/index.js +1 -1
  624. package/hooks/signMessage/useGetLastSignedMessageSession.js +1 -1
  625. package/hooks/signMessage/useGetSignMessageSession.js +1 -1
  626. package/hooks/signMessage/useGetSignedMessageStatus.js +1 -1
  627. package/hooks/signMessage/useSignMessage.js +1 -1
  628. package/hooks/toasts/index.js +1 -1
  629. package/hooks/toasts/useGetToasts.js +1 -1
  630. package/hooks/toasts/useTransactionsToasts.js +1 -1
  631. package/hooks/transactions/batch/tracker/useBatchTransactionsTracker.js +1 -1
  632. package/hooks/transactions/batch/tracker/useCheckBatch.js +1 -1
  633. package/hooks/transactions/batch/tracker/useCheckBatchesOnWsFailureFallback.js +1 -1
  634. package/hooks/transactions/batch/tracker/useCheckHangingBatchesFallback.js +1 -1
  635. package/hooks/transactions/batch/tracker/useUpdateBatch.js +1 -1
  636. package/hooks/transactions/batch/tracker/useVerifyBatchStatus.js +1 -1
  637. package/hooks/transactions/batch/useGetBatchStatus.js +1 -1
  638. package/hooks/transactions/batch/useGetBatches.js +1 -1
  639. package/hooks/transactions/batch/useResolveBatchStatusResponse.js +1 -1
  640. package/hooks/transactions/batch/useSendBatchTransactions.js +1 -1
  641. package/hooks/transactions/helpers/buildBatchId.js +1 -1
  642. package/hooks/transactions/helpers/checkNeedsGuardianSigning.js +1 -1
  643. package/hooks/transactions/helpers/extractSessionId.js +1 -1
  644. package/hooks/transactions/helpers/getShouldMoveTransactionsToSignedState.js +1 -1
  645. package/hooks/transactions/helpers/index.js +1 -1
  646. package/hooks/transactions/helpers/useClearTransactionsToSignWithWarning.js +1 -1
  647. package/hooks/transactions/helpers/useGetLedgerProvider.js +1 -1
  648. package/hooks/transactions/helpers/useSetTransactionNonces.js +1 -1
  649. package/hooks/transactions/index.js +1 -1
  650. package/hooks/transactions/useCancelWalletConnectAction.js +1 -1
  651. package/hooks/transactions/useCheckTransactionStatus/checkBatch.js +1 -1
  652. package/hooks/transactions/useCheckTransactionStatus/index.js +1 -1
  653. package/hooks/transactions/useCheckTransactionStatus/manageFailedTransactions.js +1 -1
  654. package/hooks/transactions/useCheckTransactionStatus/manageTimedOutTransactions.js +1 -1
  655. package/hooks/transactions/useCheckTransactionStatus/useCheckTransactionStatus.js +1 -1
  656. package/hooks/transactions/useGetActiveTransactionsStatus.js +1 -1
  657. package/hooks/transactions/useGetFailedTransactions.js +1 -1
  658. package/hooks/transactions/useGetLastPendingTransactionHash.js +1 -1
  659. package/hooks/transactions/useGetPendingTransactions.js +1 -1
  660. package/hooks/transactions/useGetSignTransactionsError.js +1 -1
  661. package/hooks/transactions/useGetSignedTransactions.js +1 -1
  662. package/hooks/transactions/useGetSuccessfulTransactions.js +1 -1
  663. package/hooks/transactions/useGetTokenDetails.js +1 -1
  664. package/hooks/transactions/useGetTransactionDisplayInfo.js +1 -1
  665. package/hooks/transactions/useParseSignedTransactions.js +1 -1
  666. package/hooks/transactions/useSignMultipleTransactions.js +1 -1
  667. package/hooks/transactions/useSignTransactions.js +1 -1
  668. package/hooks/transactions/useSignTransactionsCommonData.js +1 -1
  669. package/hooks/transactions/useSignTransactionsWithDevice.js +1 -1
  670. package/hooks/transactions/useSignTransactionsWithLedger.js +1 -1
  671. package/hooks/transactions/useTrackTransactionStatus.js +1 -1
  672. package/hooks/useGetNetworkConfig.js +1 -1
  673. package/hooks/useGetNotification.js +1 -1
  674. package/hooks/userInterface/index.js +1 -1
  675. package/hooks/userInterface/useIsDappModalVisible.js +1 -1
  676. package/hooks/websocketListener/index.js +1 -1
  677. package/hooks/websocketListener/useInitializeWebsocketConnection.js +1 -1
  678. package/hooks/websocketListener/useRegisterWebsocketListener.js +1 -1
  679. package/models/index.js +1 -1
  680. package/models/newTransaction.js +1 -1
  681. package/package.json +1 -1
  682. package/providers/accountProvider.js +1 -1
  683. package/providers/index.js +1 -1
  684. package/providers/utils.js +1 -1
  685. package/providers/webviewProvider/index.js +1 -1
  686. package/providers/webviewProvider/requestMethods.js +1 -1
  687. package/providers/webviewProvider/webviewProvider.js +1 -1
  688. package/reduxStore/DappProviderContext.js +1 -1
  689. package/reduxStore/commonActions.js +1 -1
  690. package/reduxStore/middlewares/loginSessionMiddleware.js +1 -1
  691. package/reduxStore/persistConfig.js +1 -1
  692. package/reduxStore/persistedRootReducer.js +1 -1
  693. package/reduxStore/reducers.js +1 -1
  694. package/reduxStore/rootReducer.js +1 -1
  695. package/reduxStore/selectors/accountInfoSelectors.js +1 -1
  696. package/reduxStore/selectors/index.js +1 -1
  697. package/reduxStore/selectors/loginInfoSelectors.js +1 -1
  698. package/reduxStore/selectors/transactionsInfoSelectors.js +1 -1
  699. package/reduxStore/selectors/transactionsSelectors.js +1 -1
  700. package/reduxStore/slices/accountInfoSlice.js +1 -1
  701. package/reduxStore/slices/batchTransactionsSlice.js +1 -1
  702. package/reduxStore/slices/dappConfigSlice.js +1 -1
  703. package/reduxStore/slices/dappModalsSlice.js +1 -1
  704. package/reduxStore/slices/index.js +1 -1
  705. package/reduxStore/slices/loginInfoSlice.js +1 -1
  706. package/reduxStore/slices/modalsSlice.js +1 -1
  707. package/reduxStore/slices/signedMessageInfoSlice.js +1 -1
  708. package/reduxStore/slices/toastsSlice.js +1 -1
  709. package/reduxStore/slices/transactionsInfoSlice.js +1 -1
  710. package/reduxStore/slices/transactionsSlice.js +1 -1
  711. package/reduxStore/store.js +1 -1
  712. package/services/index.js +1 -1
  713. package/services/nativeAuth/helpers/getAuthorizationInfo.js +1 -1
  714. package/services/nativeAuth/helpers/getIsNativeAuthSingingForbidden.js +1 -1
  715. package/services/nativeAuth/helpers/index.js +1 -1
  716. package/services/nativeAuth/helpers/loginWithNativeAuthToken.js +1 -1
  717. package/services/transactions/clearTransactions.js +1 -1
  718. package/services/transactions/getBatchTransactionsStatus.js +1 -1
  719. package/services/transactions/getTransactionsDetails.js +1 -1
  720. package/services/transactions/index.js +1 -1
  721. package/services/transactions/isCrossShardTransaction.js +1 -1
  722. package/services/transactions/sendBatchTransactions.js +1 -1
  723. package/services/transactions/sendTransactions.js +1 -1
  724. package/services/transactions/signTransactions.js +1 -1
  725. package/services/transactions/transformAndSignTransactions.js +1 -1
  726. package/services/transactions/updateSignedTransactions.js +1 -1
  727. package/services/transactions/utils.js +1 -1
  728. package/utils/account/getAccount.js +1 -1
  729. package/utils/account/getAccountBalance.js +1 -1
  730. package/utils/account/getAccountProviderType.js +1 -1
  731. package/utils/account/getAccountShard.js +1 -1
  732. package/utils/account/getAddress.js +1 -1
  733. package/utils/account/getIsProviderEqualTo.js +1 -1
  734. package/utils/account/getLatestNonce.js +1 -1
  735. package/utils/account/getShardOfAddress.js +1 -1
  736. package/utils/account/index.js +1 -1
  737. package/utils/account/loginWithExternalProvider.js +1 -1
  738. package/utils/account/refreshAccount.js +1 -1
  739. package/utils/account/setNonce.js +1 -1
  740. package/utils/account/signMessage.js +1 -1
  741. package/utils/getIsLoggedIn.js +1 -1
  742. package/utils/index.js +1 -1
  743. package/utils/logout.js +1 -1
  744. package/utils/network/getChainID.js +1 -1
  745. package/utils/network/getEgldLabel.js +1 -1
  746. package/utils/network/getNetworkConfig.js +1 -1
  747. package/utils/network/index.js +1 -1
  748. package/utils/operations/calculateFeeInFiat.js +1 -1
  749. package/utils/operations/calculateFeeLimit.js +1 -1
  750. package/utils/operations/denominate.js +1 -1
  751. package/utils/operations/formatAmount.js +1 -1
  752. package/utils/operations/index.js +1 -1
  753. package/utils/operations/ledger/getLedgerVersionOptions.js +1 -1
  754. package/utils/operations/ledger/index.js +1 -1
  755. package/utils/operations/nominate.js +1 -1
  756. package/utils/operations/parseAmount.js +1 -1
  757. package/utils/toasts/customToastsActions.js +1 -1
  758. package/utils/toasts/index.js +1 -1
  759. package/utils/transactions/batch/updateBatchTransactionsStatuses.js +1 -1
  760. package/utils/transactions/getAllTransactionsLink.js +1 -1
  761. package/utils/transactions/getAreTransactionsOnSameShard.js +1 -1
  762. package/utils/transactions/getInterpretedTransaction/getInterpretedTransaction.js +1 -1
  763. package/utils/transactions/getInterpretedTransaction/helpers/getReceiptMessage.js +1 -1
  764. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/getTransactionValue.js +1 -1
  765. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getEgldValueData.js +1 -1
  766. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getTitleText.js +1 -1
  767. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getValueFromActions.js +1 -1
  768. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getValueFromDataField.js +1 -1
  769. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getValueFromOperations.js +1 -1
  770. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/index.js +1 -1
  771. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/index.js +1 -1
  772. package/utils/transactions/getInterpretedTransaction/helpers/index.js +1 -1
  773. package/utils/transactions/getInterpretedTransaction/index.js +1 -1
  774. package/utils/transactions/getTransactionLink.js +1 -1
  775. package/utils/transactions/index.js +1 -1
  776. package/utils/transactions/parseTransactionAfterSigning.js +1 -1
  777. package/utils/transactions/removeTransactionParamsFromUrl.js +1 -1
  778. package/utils/transactions/transactionInfoHelpers/getShardText.js +1 -1
  779. package/utils/transactions/transactionInfoHelpers/getTransactionActionNftText.js +1 -1
  780. package/utils/transactions/transactionInfoHelpers/getTransactionActionTokenText.js +1 -1
  781. package/utils/transactions/transactionInfoHelpers/getTransactionMessages.js +1 -1
  782. package/utils/transactions/transactionInfoHelpers/index.js +1 -1
  783. package/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/helpers/index.js +1 -1
  784. package/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/helpers/mexUnwrapper.js +1 -1
  785. package/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/index.js +1 -1
  786. package/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/transactionActionUnwrapper.js +1 -1
  787. package/utils/validation/index.js +1 -1
  788. package/utils/validation/maxDecimals.js +1 -1
  789. package/utils/validation/stringIsFloat.js +1 -1
  790. package/utils/walletconnect/__mocks__/sdkWalletconnectProvider.js +1 -1
  791. package/web/hooks/index.js +1 -1
  792. package/web/hooks/useIdleTimer.js +1 -1
  793. package/web/index.js +1 -1
  794. package/wrappers/AppInitializer.js +1 -1
  795. package/wrappers/AuthenticatedRoutesWrapper/AuthenticatedRoutesWrapper.js +1 -1
  796. package/wrappers/AuthenticatedRoutesWrapper/index.js +1 -1
  797. package/wrappers/AxiosInterceptorContext/AxiosInterceptorContext.js +1 -1
  798. package/wrappers/AxiosInterceptorContext/components/AxiosInterceptor.js +1 -1
  799. package/wrappers/AxiosInterceptorContext/components/AxiosInterceptorContextProvider.js +1 -1
  800. package/wrappers/AxiosInterceptorContext/components/LoginInfoListener.js +1 -1
  801. package/wrappers/AxiosInterceptorContext/components/index.js +1 -1
  802. package/wrappers/AxiosInterceptorContext/index.js +1 -1
  803. package/wrappers/DappProvider/CustomComponents.js +1 -1
  804. package/wrappers/DappProvider/DappProvider.js +1 -1
  805. package/wrappers/DappProvider/index.js +1 -1
  806. package/wrappers/index.js +1 -1
  807. package/__chunks__/chunk-2FR6PZZP.js +0 -2
  808. package/__chunks__/chunk-5CB3TW3Z.js +0 -2
  809. package/__chunks__/chunk-67VC4TWY.js +0 -2
  810. package/__chunks__/chunk-6OJRNZ7D.js +0 -2
  811. package/__chunks__/chunk-6VJULKKB.js +0 -2
  812. package/__chunks__/chunk-ABBNWQHG.js +0 -2
  813. package/__chunks__/chunk-ACSEXSXP.js +0 -2
  814. package/__chunks__/chunk-CAYXINF6.js +0 -2
  815. package/__chunks__/chunk-DUE7ZMLY.js +0 -2
  816. package/__chunks__/chunk-DXVQN5OO.js +0 -2
  817. package/__chunks__/chunk-EHJJGHVF.js +0 -2
  818. package/__chunks__/chunk-EKEFG2SA.js +0 -2
  819. package/__chunks__/chunk-EMZ4YP5J.js +0 -2
  820. package/__chunks__/chunk-ETU7KEC6.js +0 -2
  821. package/__chunks__/chunk-EZVFW6LP.js +0 -2
  822. package/__chunks__/chunk-FGNVWWY5.js +0 -2
  823. package/__chunks__/chunk-FT5LDPDK.js +0 -2
  824. package/__chunks__/chunk-G5OJ3M4T.js +0 -2
  825. package/__chunks__/chunk-HKKYWCAJ.js +0 -2
  826. package/__chunks__/chunk-IPWASVYZ.js +0 -2
  827. package/__chunks__/chunk-J6V7LWSI.js +0 -2
  828. package/__chunks__/chunk-JNGEDSYT.js +0 -2
  829. package/__chunks__/chunk-KO76EW44.js +0 -2
  830. package/__chunks__/chunk-M232HBQC.js +0 -2
  831. package/__chunks__/chunk-N5HT4VFC.js +0 -2
  832. package/__chunks__/chunk-NTYLWSXN.js +0 -2
  833. package/__chunks__/chunk-OVH6PMSI.js +0 -2
  834. package/__chunks__/chunk-OXH5ONXV.js +0 -2
  835. package/__chunks__/chunk-OZU4ARID.js +0 -2
  836. package/__chunks__/chunk-PT27AIFI.js +0 -2
  837. package/__chunks__/chunk-QFI5LKWQ.js +0 -2
  838. package/__chunks__/chunk-QRAC3XGC.js +0 -2
  839. package/__chunks__/chunk-RFOWTXWN.js +0 -2
  840. package/__chunks__/chunk-TISW25SG.js +0 -2
  841. package/__chunks__/chunk-VN4W2GOU.js +0 -2
  842. package/__chunks__/chunk-WGRGXBLX.js +0 -2
  843. package/__chunks__/chunk-YDUP524L.js +0 -2
@@ -1,4 +1,4 @@
1
- "use strict";var qe=Object.create;var G=Object.defineProperty,ze=Object.defineProperties,We=Object.getOwnPropertyDescriptor,je=Object.getOwnPropertyDescriptors,Xe=Object.getOwnPropertyNames,ae=Object.getOwnPropertySymbols,Ye=Object.getPrototypeOf,ce=Object.prototype.hasOwnProperty,Ke=Object.prototype.propertyIsEnumerable;var se=(t,e,r)=>e in t?G(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,F=(t,e)=>{for(var r in e||(e={}))ce.call(e,r)&&se(t,r,e[r]);if(ae)for(var r of ae(e))Ke.call(e,r)&&se(t,r,e[r]);return t},V=(t,e)=>ze(t,je(e));var Qe=(t,e)=>()=>(t&&(e=t(t=0)),e);var H=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),Je=(t,e)=>{for(var r in e)G(t,r,{get:e[r],enumerable:!0})},le=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Xe(e))!ce.call(t,i)&&i!==r&&G(t,i,{get:()=>e[i],enumerable:!(n=We(e,i))||n.enumerable});return t};var pe=(t,e,r)=>(r=t!=null?qe(Ye(t)):{},le(e||!t||!t.__esModule?G(r,"default",{value:t,enumerable:!0}):r,t)),Ze=t=>le(G({},"__esModule",{value:!0}),t);var ge=H(q=>{"use strict";c();q.byteLength=er;q.toByteArray=tr;q.fromByteArray=or;var k=[],T=[],$e=typeof Uint8Array!="undefined"?Uint8Array:Array,X="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(C=0,ue=X.length;C<ue;++C)k[C]=X[C],T[X.charCodeAt(C)]=C;var C,ue;T["-".charCodeAt(0)]=62;T["_".charCodeAt(0)]=63;function de(t){var e=t.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=t.indexOf("=");r===-1&&(r=e);var n=r===e?0:4-r%4;return[r,n]}function er(t){var e=de(t),r=e[0],n=e[1];return(r+n)*3/4-n}function rr(t,e,r){return(e+r)*3/4-r}function tr(t){var e,r=de(t),n=r[0],i=r[1],o=new $e(rr(t,n,i)),a=0,l=i>0?n-4:n,p;for(p=0;p<l;p+=4)e=T[t.charCodeAt(p)]<<18|T[t.charCodeAt(p+1)]<<12|T[t.charCodeAt(p+2)]<<6|T[t.charCodeAt(p+3)],o[a++]=e>>16&255,o[a++]=e>>8&255,o[a++]=e&255;return i===2&&(e=T[t.charCodeAt(p)]<<2|T[t.charCodeAt(p+1)]>>4,o[a++]=e&255),i===1&&(e=T[t.charCodeAt(p)]<<10|T[t.charCodeAt(p+1)]<<4|T[t.charCodeAt(p+2)]>>2,o[a++]=e>>8&255,o[a++]=e&255),o}function nr(t){return k[t>>18&63]+k[t>>12&63]+k[t>>6&63]+k[t&63]}function ir(t,e,r){for(var n,i=[],o=e;o<r;o+=3)n=(t[o]<<16&16711680)+(t[o+1]<<8&65280)+(t[o+2]&255),i.push(nr(n));return i.join("")}function or(t){for(var e,r=t.length,n=r%3,i=[],o=16383,a=0,l=r-n;a<l;a+=o)i.push(ir(t,a,a+o>l?l:a+o));return n===1?(e=t[r-1],i.push(k[e>>2]+k[e<<4&63]+"==")):n===2&&(e=(t[r-2]<<8)+t[r-1],i.push(k[e>>10]+k[e>>4&63]+k[e<<2&63]+"=")),i.join("")}});var fe=H(Y=>{c();Y.read=function(t,e,r,n,i){var o,a,l=i*8-n-1,p=(1<<l)-1,m=p>>1,h=-7,d=r?i-1:0,v=r?-1:1,b=t[e+d];for(d+=v,o=b&(1<<-h)-1,b>>=-h,h+=l;h>0;o=o*256+t[e+d],d+=v,h-=8);for(a=o&(1<<-h)-1,o>>=-h,h+=n;h>0;a=a*256+t[e+d],d+=v,h-=8);if(o===0)o=1-m;else{if(o===p)return a?NaN:(b?-1:1)*(1/0);a=a+Math.pow(2,n),o=o-m}return(b?-1:1)*a*Math.pow(2,o-n)};Y.write=function(t,e,r,n,i,o){var a,l,p,m=o*8-i-1,h=(1<<m)-1,d=h>>1,v=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,b=n?0:o-1,O=n?1:-1,He=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(l=isNaN(e)?1:0,a=h):(a=Math.floor(Math.log(e)/Math.LN2),e*(p=Math.pow(2,-a))<1&&(a--,p*=2),a+d>=1?e+=v/p:e+=v*Math.pow(2,1-d),e*p>=2&&(a++,p/=2),a+d>=h?(l=0,a=h):a+d>=1?(l=(e*p-1)*Math.pow(2,i),a=a+d):(l=e*Math.pow(2,d-1)*Math.pow(2,i),a=0));i>=8;t[r+b]=l&255,b+=O,l/=256,i-=8);for(a=a<<i|l,m+=i;m>0;t[r+b]=a&255,b+=O,a/=256,m-=8);t[r+b-O]|=He*128}});var Re=H(P=>{"use strict";c();var K=ge(),D=fe(),me=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;P.Buffer=s;P.SlowBuffer=ur;P.INSPECT_MAX_BYTES=50;var z=2147483647;P.kMaxLength=z;s.TYPED_ARRAY_SUPPORT=ar();!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 ar(){try{var t=new Uint8Array(1),e={foo:function(){return 42}};return Object.setPrototypeOf(e,Uint8Array.prototype),Object.setPrototypeOf(t,e),t.foo()===42}catch(r){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 E(t){if(t>z)throw new RangeError('The value "'+t+'" is invalid for option "size"');var e=new Uint8Array(t);return Object.setPrototypeOf(e,s.prototype),e}function s(t,e,r){if(typeof t=="number"){if(typeof e=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return $(t)}return xe(t,e,r)}s.poolSize=8192;function xe(t,e,r){if(typeof t=="string")return cr(t,e);if(ArrayBuffer.isView(t))return lr(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(_(t,ArrayBuffer)||t&&_(t.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(_(t,SharedArrayBuffer)||t&&_(t.buffer,SharedArrayBuffer)))return J(t,e,r);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,e,r);var i=pr(t);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof t[Symbol.toPrimitive]=="function")return s.from(t[Symbol.toPrimitive]("string"),e,r);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,e,r){return xe(t,e,r)};Object.setPrototypeOf(s.prototype,Uint8Array.prototype);Object.setPrototypeOf(s,Uint8Array);function we(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 sr(t,e,r){return we(t),t<=0?E(t):e!==void 0?typeof r=="string"?E(t).fill(e,r):E(t).fill(e):E(t)}s.alloc=function(t,e,r){return sr(t,e,r)};function $(t){return we(t),E(t<0?0:ee(t)|0)}s.allocUnsafe=function(t){return $(t)};s.allocUnsafeSlow=function(t){return $(t)};function cr(t,e){if((typeof e!="string"||e==="")&&(e="utf8"),!s.isEncoding(e))throw new TypeError("Unknown encoding: "+e);var r=be(t,e)|0,n=E(r),i=n.write(t,e);return i!==r&&(n=n.slice(0,i)),n}function Q(t){for(var e=t.length<0?0:ee(t.length)|0,r=E(e),n=0;n<e;n+=1)r[n]=t[n]&255;return r}function lr(t){if(_(t,Uint8Array)){var e=new Uint8Array(t);return J(e.buffer,e.byteOffset,e.byteLength)}return Q(t)}function J(t,e,r){if(e<0||t.byteLength<e)throw new RangeError('"offset" is outside of buffer bounds');if(t.byteLength<e+(r||0))throw new RangeError('"length" is outside of buffer bounds');var n;return e===void 0&&r===void 0?n=new Uint8Array(t):r===void 0?n=new Uint8Array(t,e):n=new Uint8Array(t,e,r),Object.setPrototypeOf(n,s.prototype),n}function pr(t){if(s.isBuffer(t)){var e=ee(t.length)|0,r=E(e);return r.length===0||t.copy(r,0,0,e),r}if(t.length!==void 0)return typeof t.length!="number"||re(t.length)?E(0):Q(t);if(t.type==="Buffer"&&Array.isArray(t.data))return Q(t.data)}function ee(t){if(t>=z)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+z.toString(16)+" bytes");return t|0}function ur(t){return+t!=t&&(t=0),s.alloc(+t)}s.isBuffer=function(e){return e!=null&&e._isBuffer===!0&&e!==s.prototype};s.compare=function(e,r){if(_(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),_(r,Uint8Array)&&(r=s.from(r,r.offset,r.byteLength)),!s.isBuffer(e)||!s.isBuffer(r))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===r)return 0;for(var n=e.length,i=r.length,o=0,a=Math.min(n,i);o<a;++o)if(e[o]!==r[o]){n=e[o],i=r[o];break}return n<i?-1:i<n?1:0};s.isEncoding=function(e){switch(String(e).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(e,r){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(e.length===0)return s.alloc(0);var n;if(r===void 0)for(r=0,n=0;n<e.length;++n)r+=e[n].length;var i=s.allocUnsafe(r),o=0;for(n=0;n<e.length;++n){var a=e[n];if(_(a,Uint8Array))o+a.length>i.length?s.from(a).copy(i,o):Uint8Array.prototype.set.call(i,a,o);else if(s.isBuffer(a))a.copy(i,o);else throw new TypeError('"list" argument must be an Array of Buffers');o+=a.length}return i};function be(t,e){if(s.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||_(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 r=t.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&r===0)return 0;for(var i=!1;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return Z(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return Se(t).length;default:if(i)return n?-1:Z(t).length;e=(""+e).toLowerCase(),i=!0}}s.byteLength=be;function dr(t,e,r){var n=!1;if((e===void 0||e<0)&&(e=0),e>this.length||((r===void 0||r>this.length)&&(r=this.length),r<=0)||(r>>>=0,e>>>=0,r<=e))return"";for(t||(t="utf8");;)switch(t){case"hex":return vr(this,e,r);case"utf8":case"utf-8":return ve(this,e,r);case"ascii":return br(this,e,r);case"latin1":case"binary":return Tr(this,e,r);case"base64":return xr(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return kr(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}s.prototype._isBuffer=!0;function B(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}s.prototype.swap16=function(){var e=this.length;if(e%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var r=0;r<e;r+=2)B(this,r,r+1);return this};s.prototype.swap32=function(){var e=this.length;if(e%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var r=0;r<e;r+=4)B(this,r,r+3),B(this,r+1,r+2);return this};s.prototype.swap64=function(){var e=this.length;if(e%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var r=0;r<e;r+=8)B(this,r,r+7),B(this,r+1,r+6),B(this,r+2,r+5),B(this,r+3,r+4);return this};s.prototype.toString=function(){var e=this.length;return e===0?"":arguments.length===0?ve(this,0,e):dr.apply(this,arguments)};s.prototype.toLocaleString=s.prototype.toString;s.prototype.equals=function(e){if(!s.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e?!0:s.compare(this,e)===0};s.prototype.inspect=function(){var e="",r=P.INSPECT_MAX_BYTES;return e=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(e+=" ... "),"<Buffer "+e+">"};me&&(s.prototype[me]=s.prototype.inspect);s.prototype.compare=function(e,r,n,i,o){if(_(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),!s.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(r===void 0&&(r=0),n===void 0&&(n=e?e.length:0),i===void 0&&(i=0),o===void 0&&(o=this.length),r<0||n>e.length||i<0||o>this.length)throw new RangeError("out of range index");if(i>=o&&r>=n)return 0;if(i>=o)return-1;if(r>=n)return 1;if(r>>>=0,n>>>=0,i>>>=0,o>>>=0,this===e)return 0;for(var a=o-i,l=n-r,p=Math.min(a,l),m=this.slice(i,o),h=e.slice(r,n),d=0;d<p;++d)if(m[d]!==h[d]){a=m[d],l=h[d];break}return a<l?-1:l<a?1:0};function Te(t,e,r,n,i){if(t.length===0)return-1;if(typeof r=="string"?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,re(r)&&(r=i?0:t.length-1),r<0&&(r=t.length+r),r>=t.length){if(i)return-1;r=t.length-1}else if(r<0)if(i)r=0;else return-1;if(typeof e=="string"&&(e=s.from(e,n)),s.isBuffer(e))return e.length===0?-1:he(t,e,r,n,i);if(typeof e=="number")return e=e&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(t,e,r):Uint8Array.prototype.lastIndexOf.call(t,e,r):he(t,[e],r,n,i);throw new TypeError("val must be string, number or Buffer")}function he(t,e,r,n,i){var o=1,a=t.length,l=e.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(t.length<2||e.length<2)return-1;o=2,a/=2,l/=2,r/=2}function p(b,O){return o===1?b[O]:b.readUInt16BE(O*o)}var m;if(i){var h=-1;for(m=r;m<a;m++)if(p(t,m)===p(e,h===-1?0:m-h)){if(h===-1&&(h=m),m-h+1===l)return h*o}else h!==-1&&(m-=m-h),h=-1}else for(r+l>a&&(r=a-l),m=r;m>=0;m--){for(var d=!0,v=0;v<l;v++)if(p(t,m+v)!==p(e,v)){d=!1;break}if(d)return m}return-1}s.prototype.includes=function(e,r,n){return this.indexOf(e,r,n)!==-1};s.prototype.indexOf=function(e,r,n){return Te(this,e,r,n,!0)};s.prototype.lastIndexOf=function(e,r,n){return Te(this,e,r,n,!1)};function gr(t,e,r,n){r=Number(r)||0;var i=t.length-r;n?(n=Number(n),n>i&&(n=i)):n=i;var o=e.length;n>o/2&&(n=o/2);for(var a=0;a<n;++a){var l=parseInt(e.substr(a*2,2),16);if(re(l))return a;t[r+a]=l}return a}function fr(t,e,r,n){return W(Z(e,t.length-r),t,r,n)}function mr(t,e,r,n){return W(Sr(e),t,r,n)}function hr(t,e,r,n){return W(Se(e),t,r,n)}function yr(t,e,r,n){return W(Rr(e,t.length-r),t,r,n)}s.prototype.write=function(e,r,n,i){if(r===void 0)i="utf8",n=this.length,r=0;else if(n===void 0&&typeof r=="string")i=r,n=this.length,r=0;else if(isFinite(r))r=r>>>0,isFinite(n)?(n=n>>>0,i===void 0&&(i="utf8")):(i=n,n=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var o=this.length-r;if((n===void 0||n>o)&&(n=o),e.length>0&&(n<0||r<0)||r>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var a=!1;;)switch(i){case"hex":return gr(this,e,r,n);case"utf8":case"utf-8":return fr(this,e,r,n);case"ascii":case"latin1":case"binary":return mr(this,e,r,n);case"base64":return hr(this,e,r,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return yr(this,e,r,n);default:if(a)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),a=!0}};s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function xr(t,e,r){return e===0&&r===t.length?K.fromByteArray(t):K.fromByteArray(t.slice(e,r))}function ve(t,e,r){r=Math.min(t.length,r);for(var n=[],i=e;i<r;){var o=t[i],a=null,l=o>239?4:o>223?3:o>191?2:1;if(i+l<=r){var p,m,h,d;switch(l){case 1:o<128&&(a=o);break;case 2:p=t[i+1],(p&192)===128&&(d=(o&31)<<6|p&63,d>127&&(a=d));break;case 3:p=t[i+1],m=t[i+2],(p&192)===128&&(m&192)===128&&(d=(o&15)<<12|(p&63)<<6|m&63,d>2047&&(d<55296||d>57343)&&(a=d));break;case 4:p=t[i+1],m=t[i+2],h=t[i+3],(p&192)===128&&(m&192)===128&&(h&192)===128&&(d=(o&15)<<18|(p&63)<<12|(m&63)<<6|h&63,d>65535&&d<1114112&&(a=d))}}a===null?(a=65533,l=1):a>65535&&(a-=65536,n.push(a>>>10&1023|55296),a=56320|a&1023),n.push(a),i+=l}return wr(n)}var ye=4096;function wr(t){var e=t.length;if(e<=ye)return String.fromCharCode.apply(String,t);for(var r="",n=0;n<e;)r+=String.fromCharCode.apply(String,t.slice(n,n+=ye));return r}function br(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;i<r;++i)n+=String.fromCharCode(t[i]&127);return n}function Tr(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;i<r;++i)n+=String.fromCharCode(t[i]);return n}function vr(t,e,r){var n=t.length;(!e||e<0)&&(e=0),(!r||r<0||r>n)&&(r=n);for(var i="",o=e;o<r;++o)i+=Ir[t[o]];return i}function kr(t,e,r){for(var n=t.slice(e,r),i="",o=0;o<n.length-1;o+=2)i+=String.fromCharCode(n[o]+n[o+1]*256);return i}s.prototype.slice=function(e,r){var n=this.length;e=~~e,r=r===void 0?n:~~r,e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),r<0?(r+=n,r<0&&(r=0)):r>n&&(r=n),r<e&&(r=e);var i=this.subarray(e,r);return Object.setPrototypeOf(i,s.prototype),i};function x(t,e,r){if(t%1!==0||t<0)throw new RangeError("offset is not uint");if(t+e>r)throw new RangeError("Trying to access beyond buffer length")}s.prototype.readUintLE=s.prototype.readUIntLE=function(e,r,n){e=e>>>0,r=r>>>0,n||x(e,r,this.length);for(var i=this[e],o=1,a=0;++a<r&&(o*=256);)i+=this[e+a]*o;return i};s.prototype.readUintBE=s.prototype.readUIntBE=function(e,r,n){e=e>>>0,r=r>>>0,n||x(e,r,this.length);for(var i=this[e+--r],o=1;r>0&&(o*=256);)i+=this[e+--r]*o;return i};s.prototype.readUint8=s.prototype.readUInt8=function(e,r){return e=e>>>0,r||x(e,1,this.length),this[e]};s.prototype.readUint16LE=s.prototype.readUInt16LE=function(e,r){return e=e>>>0,r||x(e,2,this.length),this[e]|this[e+1]<<8};s.prototype.readUint16BE=s.prototype.readUInt16BE=function(e,r){return e=e>>>0,r||x(e,2,this.length),this[e]<<8|this[e+1]};s.prototype.readUint32LE=s.prototype.readUInt32LE=function(e,r){return e=e>>>0,r||x(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+this[e+3]*16777216};s.prototype.readUint32BE=s.prototype.readUInt32BE=function(e,r){return e=e>>>0,r||x(e,4,this.length),this[e]*16777216+(this[e+1]<<16|this[e+2]<<8|this[e+3])};s.prototype.readIntLE=function(e,r,n){e=e>>>0,r=r>>>0,n||x(e,r,this.length);for(var i=this[e],o=1,a=0;++a<r&&(o*=256);)i+=this[e+a]*o;return o*=128,i>=o&&(i-=Math.pow(2,8*r)),i};s.prototype.readIntBE=function(e,r,n){e=e>>>0,r=r>>>0,n||x(e,r,this.length);for(var i=r,o=1,a=this[e+--i];i>0&&(o*=256);)a+=this[e+--i]*o;return o*=128,a>=o&&(a-=Math.pow(2,8*r)),a};s.prototype.readInt8=function(e,r){return e=e>>>0,r||x(e,1,this.length),this[e]&128?(255-this[e]+1)*-1:this[e]};s.prototype.readInt16LE=function(e,r){e=e>>>0,r||x(e,2,this.length);var n=this[e]|this[e+1]<<8;return n&32768?n|4294901760:n};s.prototype.readInt16BE=function(e,r){e=e>>>0,r||x(e,2,this.length);var n=this[e+1]|this[e]<<8;return n&32768?n|4294901760:n};s.prototype.readInt32LE=function(e,r){return e=e>>>0,r||x(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24};s.prototype.readInt32BE=function(e,r){return e=e>>>0,r||x(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]};s.prototype.readFloatLE=function(e,r){return e=e>>>0,r||x(e,4,this.length),D.read(this,e,!0,23,4)};s.prototype.readFloatBE=function(e,r){return e=e>>>0,r||x(e,4,this.length),D.read(this,e,!1,23,4)};s.prototype.readDoubleLE=function(e,r){return e=e>>>0,r||x(e,8,this.length),D.read(this,e,!0,52,8)};s.prototype.readDoubleBE=function(e,r){return e=e>>>0,r||x(e,8,this.length),D.read(this,e,!1,52,8)};function w(t,e,r,n,i,o){if(!s.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||e<o)throw new RangeError('"value" argument is out of bounds');if(r+n>t.length)throw new RangeError("Index out of range")}s.prototype.writeUintLE=s.prototype.writeUIntLE=function(e,r,n,i){if(e=+e,r=r>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;w(this,e,r,n,o,0)}var a=1,l=0;for(this[r]=e&255;++l<n&&(a*=256);)this[r+l]=e/a&255;return r+n};s.prototype.writeUintBE=s.prototype.writeUIntBE=function(e,r,n,i){if(e=+e,r=r>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;w(this,e,r,n,o,0)}var a=n-1,l=1;for(this[r+a]=e&255;--a>=0&&(l*=256);)this[r+a]=e/l&255;return r+n};s.prototype.writeUint8=s.prototype.writeUInt8=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,1,255,0),this[r]=e&255,r+1};s.prototype.writeUint16LE=s.prototype.writeUInt16LE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,2,65535,0),this[r]=e&255,this[r+1]=e>>>8,r+2};s.prototype.writeUint16BE=s.prototype.writeUInt16BE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,2,65535,0),this[r]=e>>>8,this[r+1]=e&255,r+2};s.prototype.writeUint32LE=s.prototype.writeUInt32LE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,4,4294967295,0),this[r+3]=e>>>24,this[r+2]=e>>>16,this[r+1]=e>>>8,this[r]=e&255,r+4};s.prototype.writeUint32BE=s.prototype.writeUInt32BE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,4,4294967295,0),this[r]=e>>>24,this[r+1]=e>>>16,this[r+2]=e>>>8,this[r+3]=e&255,r+4};s.prototype.writeIntLE=function(e,r,n,i){if(e=+e,r=r>>>0,!i){var o=Math.pow(2,8*n-1);w(this,e,r,n,o-1,-o)}var a=0,l=1,p=0;for(this[r]=e&255;++a<n&&(l*=256);)e<0&&p===0&&this[r+a-1]!==0&&(p=1),this[r+a]=(e/l>>0)-p&255;return r+n};s.prototype.writeIntBE=function(e,r,n,i){if(e=+e,r=r>>>0,!i){var o=Math.pow(2,8*n-1);w(this,e,r,n,o-1,-o)}var a=n-1,l=1,p=0;for(this[r+a]=e&255;--a>=0&&(l*=256);)e<0&&p===0&&this[r+a+1]!==0&&(p=1),this[r+a]=(e/l>>0)-p&255;return r+n};s.prototype.writeInt8=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,1,127,-128),e<0&&(e=255+e+1),this[r]=e&255,r+1};s.prototype.writeInt16LE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,2,32767,-32768),this[r]=e&255,this[r+1]=e>>>8,r+2};s.prototype.writeInt16BE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,2,32767,-32768),this[r]=e>>>8,this[r+1]=e&255,r+2};s.prototype.writeInt32LE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,4,2147483647,-2147483648),this[r]=e&255,this[r+1]=e>>>8,this[r+2]=e>>>16,this[r+3]=e>>>24,r+4};s.prototype.writeInt32BE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[r]=e>>>24,this[r+1]=e>>>16,this[r+2]=e>>>8,this[r+3]=e&255,r+4};function ke(t,e,r,n,i,o){if(r+n>t.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function _e(t,e,r,n,i){return e=+e,r=r>>>0,i||ke(t,e,r,4,34028234663852886e22,-34028234663852886e22),D.write(t,e,r,n,23,4),r+4}s.prototype.writeFloatLE=function(e,r,n){return _e(this,e,r,!0,n)};s.prototype.writeFloatBE=function(e,r,n){return _e(this,e,r,!1,n)};function Ae(t,e,r,n,i){return e=+e,r=r>>>0,i||ke(t,e,r,8,17976931348623157e292,-17976931348623157e292),D.write(t,e,r,n,52,8),r+8}s.prototype.writeDoubleLE=function(e,r,n){return Ae(this,e,r,!0,n)};s.prototype.writeDoubleBE=function(e,r,n){return Ae(this,e,r,!1,n)};s.prototype.copy=function(e,r,n,i){if(!s.isBuffer(e))throw new TypeError("argument should be a Buffer");if(n||(n=0),!i&&i!==0&&(i=this.length),r>=e.length&&(r=e.length),r||(r=0),i>0&&i<n&&(i=n),i===n||e.length===0||this.length===0)return 0;if(r<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),e.length-r<i-n&&(i=e.length-r+n);var o=i-n;return this===e&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(r,n,i):Uint8Array.prototype.set.call(e,this.subarray(n,i),r),o};s.prototype.fill=function(e,r,n,i){if(typeof e=="string"){if(typeof r=="string"?(i=r,r=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(e.length===1){var o=e.charCodeAt(0);(i==="utf8"&&o<128||i==="latin1")&&(e=o)}}else typeof e=="number"?e=e&255:typeof e=="boolean"&&(e=Number(e));if(r<0||this.length<r||this.length<n)throw new RangeError("Out of range index");if(n<=r)return this;r=r>>>0,n=n===void 0?this.length:n>>>0,e||(e=0);var a;if(typeof e=="number")for(a=r;a<n;++a)this[a]=e;else{var l=s.isBuffer(e)?e:s.from(e,i),p=l.length;if(p===0)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(a=0;a<n-r;++a)this[a+r]=l[a%p]}return this};var _r=/[^+/0-9A-Za-z-_]/g;function Ar(t){if(t=t.split("=")[0],t=t.trim().replace(_r,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function Z(t,e){e=e||1/0;for(var r,n=t.length,i=null,o=[],a=0;a<n;++a){if(r=t.charCodeAt(a),r>55295&&r<57344){if(!i){if(r>56319){(e-=3)>-1&&o.push(239,191,189);continue}else if(a+1===n){(e-=3)>-1&&o.push(239,191,189);continue}i=r;continue}if(r<56320){(e-=3)>-1&&o.push(239,191,189),i=r;continue}r=(i-55296<<10|r-56320)+65536}else i&&(e-=3)>-1&&o.push(239,191,189);if(i=null,r<128){if((e-=1)<0)break;o.push(r)}else if(r<2048){if((e-=2)<0)break;o.push(r>>6|192,r&63|128)}else if(r<65536){if((e-=3)<0)break;o.push(r>>12|224,r>>6&63|128,r&63|128)}else if(r<1114112){if((e-=4)<0)break;o.push(r>>18|240,r>>12&63|128,r>>6&63|128,r&63|128)}else throw new Error("Invalid code point")}return o}function Sr(t){for(var e=[],r=0;r<t.length;++r)e.push(t.charCodeAt(r)&255);return e}function Rr(t,e){for(var r,n,i,o=[],a=0;a<t.length&&!((e-=2)<0);++a)r=t.charCodeAt(a),n=r>>8,i=r%256,o.push(i),o.push(n);return o}function Se(t){return K.toByteArray(Ar(t))}function W(t,e,r,n){for(var i=0;i<n&&!(i+r>=e.length||i>=t.length);++i)e[i+r]=t[i];return i}function _(t,e){return t instanceof e||t!=null&&t.constructor!=null&&t.constructor.name!=null&&t.constructor.name===e.name}function re(t){return t!==t}var Ir=function(){for(var t="0123456789abcdef",e=new Array(256),r=0;r<16;++r)for(var n=r*16,i=0;i<16;++i)e[n+i]=t[r]+t[i];return e}()});var Fe=H((Dr,Ne)=>{c();var y=Ne.exports={},A,S;function te(){throw new Error("setTimeout has not been defined")}function ne(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?A=setTimeout:A=te}catch(t){A=te}try{typeof clearTimeout=="function"?S=clearTimeout:S=ne}catch(t){S=ne}})();function Ie(t){if(A===setTimeout)return setTimeout(t,0);if((A===te||!A)&&setTimeout)return A=setTimeout,setTimeout(t,0);try{return A(t,0)}catch(e){try{return A.call(null,t,0)}catch(r){return A.call(this,t,0)}}}function Er(t){if(S===clearTimeout)return clearTimeout(t);if((S===ne||!S)&&clearTimeout)return S=clearTimeout,clearTimeout(t);try{return S(t)}catch(e){try{return S.call(null,t)}catch(r){return S.call(this,t)}}}var L=[],M=!1,U,j=-1;function Lr(){!M||!U||(M=!1,U.length?L=U.concat(L):j=-1,L.length&&Ee())}function Ee(){if(!M){var t=Ie(Lr);M=!0;for(var e=L.length;e;){for(U=L,L=[];++j<e;)U&&U[j].run();j=-1,e=L.length}U=null,M=!1,Er(t)}}y.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)e[r-1]=arguments[r];L.push(new Le(t,e)),L.length===1&&!M&&Ie(Ee)};function Le(t,e){this.fun=t,this.array=e}Le.prototype.run=function(){this.fun.apply(null,this.array)};y.title="browser";y.browser=!0;y.env={};y.argv=[];y.version="";y.versions={};function N(){}y.on=N;y.addListener=N;y.once=N;y.off=N;y.removeListener=N;y.removeAllListeners=N;y.emit=N;y.prependListener=N;y.prependOnceListener=N;y.listeners=function(t){return[]};y.binding=function(t){throw new Error("process.binding is not supported")};y.cwd=function(){return"/"};y.chdir=function(t){throw new Error("process.chdir is not supported")};y.umask=function(){return 0}});var u,g,Pr,c=Qe(()=>{u=pe(Re()),g=pe(Fe()),Pr=function(t){function e(){var n=this||self;return delete t.prototype.__magic__,n}if(typeof globalThis=="object")return globalThis;if(this)return e();t.defineProperty(t.prototype,"__magic__",{configurable:!0,get:e});var r=__magic__;return r}(Object)});var Fr={};Je(Fr,{parseTransactionAfterSigning:()=>Nr});module.exports=Ze(Fr);c();c();c();c();var I=require("@multiversx/sdk-core");c();c();c();c();c();c();c();c();c();c();c();c();c();c();c();c();c();c();c();var ie={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:Ce,egldLabel:pt}=ie["devnet"],{chainId:Be,egldLabel:ut}=ie["testnet"],{chainId:Ue,egldLabel:dt}=ie["mainnet"];var gt={["devnet"]:Ce,["testnet"]:Be,["mainnet"]:Ue},ft={[Ce]:"devnet",[Be]:"testnet",[Ue]:"mainnet"};c();c();var R=require("@multiversx/sdk-web-wallet-provider");var Oe=5e4;var De=1e9;var Pe=1;c();var oe=require("@multiversx/sdk-core/out");c();c();function Me(t){try{let e=atob(t),r=btoa(e),n=u.Buffer.from(t,"base64").toString(),i=u.Buffer.from(n).toString("base64");if(t===r&&t===i||e===n)return!0}catch(e){return!1}return!1}c();c();c();c();var Ge=t=>{let e=t!=null?t:"";return Me(e)?oe.TransactionPayload.fromEncoded(e):new oe.TransactionPayload(e)};function Ve(t){var r,n,i;let e=new I.Transaction(F(F(V(F(V(F({value:t.value.valueOf(),data:Ge(t.data),nonce:t.nonce.valueOf(),receiver:new I.Address(t.receiver)},t.receiverUsername?{receiverUsername:t.receiverUsername}:{}),{sender:new I.Address(t.sender)}),t.senderUsername?{senderUsername:t.senderUsername}:{}),{gasLimit:(r=t.gasLimit.valueOf())!=null?r:Oe,gasPrice:(n=t.gasPrice.valueOf())!=null?n:De,chainID:t.chainID.valueOf(),version:new I.TransactionVersion((i=t.version)!=null?i:Pe)}),t.options?{options:new I.TransactionOptions(t.options)}:{}),t.guardian?{guardian:new I.Address(t.guardian)}:{}));return t.guardianSignature&&e.applyGuardianSignature(u.Buffer.from(t.guardianSignature,"hex")),t.signature&&e.applySignature(u.Buffer.from(t.signature,"hex")),e}function Nr(t){let r=Object.getPrototypeOf(t).toPlainObject!=null?t:Ve(t);return V(F({},r.toPlainObject()),{hash:r.getHash().hex(),senderUsername:r.getSenderUsername().valueOf(),receiverUsername:r.getReceiverUsername().valueOf(),status:"pending"})}0&&(module.exports={parseTransactionAfterSigning});
1
+ "use strict";var qe=Object.create;var G=Object.defineProperty,ze=Object.defineProperties,We=Object.getOwnPropertyDescriptor,je=Object.getOwnPropertyDescriptors,Xe=Object.getOwnPropertyNames,ae=Object.getOwnPropertySymbols,Ye=Object.getPrototypeOf,ce=Object.prototype.hasOwnProperty,Ke=Object.prototype.propertyIsEnumerable;var se=(t,e,r)=>e in t?G(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,F=(t,e)=>{for(var r in e||(e={}))ce.call(e,r)&&se(t,r,e[r]);if(ae)for(var r of ae(e))Ke.call(e,r)&&se(t,r,e[r]);return t},V=(t,e)=>ze(t,je(e));var Qe=(t,e)=>()=>(t&&(e=t(t=0)),e);var H=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),Je=(t,e)=>{for(var r in e)G(t,r,{get:e[r],enumerable:!0})},le=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Xe(e))!ce.call(t,i)&&i!==r&&G(t,i,{get:()=>e[i],enumerable:!(n=We(e,i))||n.enumerable});return t};var pe=(t,e,r)=>(r=t!=null?qe(Ye(t)):{},le(e||!t||!t.__esModule?G(r,"default",{value:t,enumerable:!0}):r,t)),Ze=t=>le(G({},"__esModule",{value:!0}),t);var ge=H(q=>{"use strict";c();q.byteLength=er;q.toByteArray=tr;q.fromByteArray=or;var k=[],T=[],$e=typeof Uint8Array!="undefined"?Uint8Array:Array,X="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(C=0,ue=X.length;C<ue;++C)k[C]=X[C],T[X.charCodeAt(C)]=C;var C,ue;T["-".charCodeAt(0)]=62;T["_".charCodeAt(0)]=63;function de(t){var e=t.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=t.indexOf("=");r===-1&&(r=e);var n=r===e?0:4-r%4;return[r,n]}function er(t){var e=de(t),r=e[0],n=e[1];return(r+n)*3/4-n}function rr(t,e,r){return(e+r)*3/4-r}function tr(t){var e,r=de(t),n=r[0],i=r[1],o=new $e(rr(t,n,i)),a=0,l=i>0?n-4:n,p;for(p=0;p<l;p+=4)e=T[t.charCodeAt(p)]<<18|T[t.charCodeAt(p+1)]<<12|T[t.charCodeAt(p+2)]<<6|T[t.charCodeAt(p+3)],o[a++]=e>>16&255,o[a++]=e>>8&255,o[a++]=e&255;return i===2&&(e=T[t.charCodeAt(p)]<<2|T[t.charCodeAt(p+1)]>>4,o[a++]=e&255),i===1&&(e=T[t.charCodeAt(p)]<<10|T[t.charCodeAt(p+1)]<<4|T[t.charCodeAt(p+2)]>>2,o[a++]=e>>8&255,o[a++]=e&255),o}function nr(t){return k[t>>18&63]+k[t>>12&63]+k[t>>6&63]+k[t&63]}function ir(t,e,r){for(var n,i=[],o=e;o<r;o+=3)n=(t[o]<<16&16711680)+(t[o+1]<<8&65280)+(t[o+2]&255),i.push(nr(n));return i.join("")}function or(t){for(var e,r=t.length,n=r%3,i=[],o=16383,a=0,l=r-n;a<l;a+=o)i.push(ir(t,a,a+o>l?l:a+o));return n===1?(e=t[r-1],i.push(k[e>>2]+k[e<<4&63]+"==")):n===2&&(e=(t[r-2]<<8)+t[r-1],i.push(k[e>>10]+k[e>>4&63]+k[e<<2&63]+"=")),i.join("")}});var fe=H(Y=>{c();Y.read=function(t,e,r,n,i){var o,a,l=i*8-n-1,p=(1<<l)-1,m=p>>1,h=-7,d=r?i-1:0,v=r?-1:1,b=t[e+d];for(d+=v,o=b&(1<<-h)-1,b>>=-h,h+=l;h>0;o=o*256+t[e+d],d+=v,h-=8);for(a=o&(1<<-h)-1,o>>=-h,h+=n;h>0;a=a*256+t[e+d],d+=v,h-=8);if(o===0)o=1-m;else{if(o===p)return a?NaN:(b?-1:1)*(1/0);a=a+Math.pow(2,n),o=o-m}return(b?-1:1)*a*Math.pow(2,o-n)};Y.write=function(t,e,r,n,i,o){var a,l,p,m=o*8-i-1,h=(1<<m)-1,d=h>>1,v=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,b=n?0:o-1,O=n?1:-1,He=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(l=isNaN(e)?1:0,a=h):(a=Math.floor(Math.log(e)/Math.LN2),e*(p=Math.pow(2,-a))<1&&(a--,p*=2),a+d>=1?e+=v/p:e+=v*Math.pow(2,1-d),e*p>=2&&(a++,p/=2),a+d>=h?(l=0,a=h):a+d>=1?(l=(e*p-1)*Math.pow(2,i),a=a+d):(l=e*Math.pow(2,d-1)*Math.pow(2,i),a=0));i>=8;t[r+b]=l&255,b+=O,l/=256,i-=8);for(a=a<<i|l,m+=i;m>0;t[r+b]=a&255,b+=O,a/=256,m-=8);t[r+b-O]|=He*128}});var Re=H(P=>{"use strict";c();var K=ge(),D=fe(),me=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;P.Buffer=s;P.SlowBuffer=ur;P.INSPECT_MAX_BYTES=50;var z=2147483647;P.kMaxLength=z;s.TYPED_ARRAY_SUPPORT=ar();!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 ar(){try{var t=new Uint8Array(1),e={foo:function(){return 42}};return Object.setPrototypeOf(e,Uint8Array.prototype),Object.setPrototypeOf(t,e),t.foo()===42}catch(r){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 L(t){if(t>z)throw new RangeError('The value "'+t+'" is invalid for option "size"');var e=new Uint8Array(t);return Object.setPrototypeOf(e,s.prototype),e}function s(t,e,r){if(typeof t=="number"){if(typeof e=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return $(t)}return xe(t,e,r)}s.poolSize=8192;function xe(t,e,r){if(typeof t=="string")return cr(t,e);if(ArrayBuffer.isView(t))return lr(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(_(t,ArrayBuffer)||t&&_(t.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(_(t,SharedArrayBuffer)||t&&_(t.buffer,SharedArrayBuffer)))return J(t,e,r);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,e,r);var i=pr(t);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof t[Symbol.toPrimitive]=="function")return s.from(t[Symbol.toPrimitive]("string"),e,r);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,e,r){return xe(t,e,r)};Object.setPrototypeOf(s.prototype,Uint8Array.prototype);Object.setPrototypeOf(s,Uint8Array);function we(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 sr(t,e,r){return we(t),t<=0?L(t):e!==void 0?typeof r=="string"?L(t).fill(e,r):L(t).fill(e):L(t)}s.alloc=function(t,e,r){return sr(t,e,r)};function $(t){return we(t),L(t<0?0:ee(t)|0)}s.allocUnsafe=function(t){return $(t)};s.allocUnsafeSlow=function(t){return $(t)};function cr(t,e){if((typeof e!="string"||e==="")&&(e="utf8"),!s.isEncoding(e))throw new TypeError("Unknown encoding: "+e);var r=be(t,e)|0,n=L(r),i=n.write(t,e);return i!==r&&(n=n.slice(0,i)),n}function Q(t){for(var e=t.length<0?0:ee(t.length)|0,r=L(e),n=0;n<e;n+=1)r[n]=t[n]&255;return r}function lr(t){if(_(t,Uint8Array)){var e=new Uint8Array(t);return J(e.buffer,e.byteOffset,e.byteLength)}return Q(t)}function J(t,e,r){if(e<0||t.byteLength<e)throw new RangeError('"offset" is outside of buffer bounds');if(t.byteLength<e+(r||0))throw new RangeError('"length" is outside of buffer bounds');var n;return e===void 0&&r===void 0?n=new Uint8Array(t):r===void 0?n=new Uint8Array(t,e):n=new Uint8Array(t,e,r),Object.setPrototypeOf(n,s.prototype),n}function pr(t){if(s.isBuffer(t)){var e=ee(t.length)|0,r=L(e);return r.length===0||t.copy(r,0,0,e),r}if(t.length!==void 0)return typeof t.length!="number"||re(t.length)?L(0):Q(t);if(t.type==="Buffer"&&Array.isArray(t.data))return Q(t.data)}function ee(t){if(t>=z)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+z.toString(16)+" bytes");return t|0}function ur(t){return+t!=t&&(t=0),s.alloc(+t)}s.isBuffer=function(e){return e!=null&&e._isBuffer===!0&&e!==s.prototype};s.compare=function(e,r){if(_(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),_(r,Uint8Array)&&(r=s.from(r,r.offset,r.byteLength)),!s.isBuffer(e)||!s.isBuffer(r))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===r)return 0;for(var n=e.length,i=r.length,o=0,a=Math.min(n,i);o<a;++o)if(e[o]!==r[o]){n=e[o],i=r[o];break}return n<i?-1:i<n?1:0};s.isEncoding=function(e){switch(String(e).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(e,r){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(e.length===0)return s.alloc(0);var n;if(r===void 0)for(r=0,n=0;n<e.length;++n)r+=e[n].length;var i=s.allocUnsafe(r),o=0;for(n=0;n<e.length;++n){var a=e[n];if(_(a,Uint8Array))o+a.length>i.length?s.from(a).copy(i,o):Uint8Array.prototype.set.call(i,a,o);else if(s.isBuffer(a))a.copy(i,o);else throw new TypeError('"list" argument must be an Array of Buffers');o+=a.length}return i};function be(t,e){if(s.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||_(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 r=t.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&r===0)return 0;for(var i=!1;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return Z(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return Se(t).length;default:if(i)return n?-1:Z(t).length;e=(""+e).toLowerCase(),i=!0}}s.byteLength=be;function dr(t,e,r){var n=!1;if((e===void 0||e<0)&&(e=0),e>this.length||((r===void 0||r>this.length)&&(r=this.length),r<=0)||(r>>>=0,e>>>=0,r<=e))return"";for(t||(t="utf8");;)switch(t){case"hex":return vr(this,e,r);case"utf8":case"utf-8":return ve(this,e,r);case"ascii":return br(this,e,r);case"latin1":case"binary":return Tr(this,e,r);case"base64":return xr(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return kr(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}s.prototype._isBuffer=!0;function B(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}s.prototype.swap16=function(){var e=this.length;if(e%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var r=0;r<e;r+=2)B(this,r,r+1);return this};s.prototype.swap32=function(){var e=this.length;if(e%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var r=0;r<e;r+=4)B(this,r,r+3),B(this,r+1,r+2);return this};s.prototype.swap64=function(){var e=this.length;if(e%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var r=0;r<e;r+=8)B(this,r,r+7),B(this,r+1,r+6),B(this,r+2,r+5),B(this,r+3,r+4);return this};s.prototype.toString=function(){var e=this.length;return e===0?"":arguments.length===0?ve(this,0,e):dr.apply(this,arguments)};s.prototype.toLocaleString=s.prototype.toString;s.prototype.equals=function(e){if(!s.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e?!0:s.compare(this,e)===0};s.prototype.inspect=function(){var e="",r=P.INSPECT_MAX_BYTES;return e=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(e+=" ... "),"<Buffer "+e+">"};me&&(s.prototype[me]=s.prototype.inspect);s.prototype.compare=function(e,r,n,i,o){if(_(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),!s.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(r===void 0&&(r=0),n===void 0&&(n=e?e.length:0),i===void 0&&(i=0),o===void 0&&(o=this.length),r<0||n>e.length||i<0||o>this.length)throw new RangeError("out of range index");if(i>=o&&r>=n)return 0;if(i>=o)return-1;if(r>=n)return 1;if(r>>>=0,n>>>=0,i>>>=0,o>>>=0,this===e)return 0;for(var a=o-i,l=n-r,p=Math.min(a,l),m=this.slice(i,o),h=e.slice(r,n),d=0;d<p;++d)if(m[d]!==h[d]){a=m[d],l=h[d];break}return a<l?-1:l<a?1:0};function Te(t,e,r,n,i){if(t.length===0)return-1;if(typeof r=="string"?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,re(r)&&(r=i?0:t.length-1),r<0&&(r=t.length+r),r>=t.length){if(i)return-1;r=t.length-1}else if(r<0)if(i)r=0;else return-1;if(typeof e=="string"&&(e=s.from(e,n)),s.isBuffer(e))return e.length===0?-1:he(t,e,r,n,i);if(typeof e=="number")return e=e&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(t,e,r):Uint8Array.prototype.lastIndexOf.call(t,e,r):he(t,[e],r,n,i);throw new TypeError("val must be string, number or Buffer")}function he(t,e,r,n,i){var o=1,a=t.length,l=e.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(t.length<2||e.length<2)return-1;o=2,a/=2,l/=2,r/=2}function p(b,O){return o===1?b[O]:b.readUInt16BE(O*o)}var m;if(i){var h=-1;for(m=r;m<a;m++)if(p(t,m)===p(e,h===-1?0:m-h)){if(h===-1&&(h=m),m-h+1===l)return h*o}else h!==-1&&(m-=m-h),h=-1}else for(r+l>a&&(r=a-l),m=r;m>=0;m--){for(var d=!0,v=0;v<l;v++)if(p(t,m+v)!==p(e,v)){d=!1;break}if(d)return m}return-1}s.prototype.includes=function(e,r,n){return this.indexOf(e,r,n)!==-1};s.prototype.indexOf=function(e,r,n){return Te(this,e,r,n,!0)};s.prototype.lastIndexOf=function(e,r,n){return Te(this,e,r,n,!1)};function gr(t,e,r,n){r=Number(r)||0;var i=t.length-r;n?(n=Number(n),n>i&&(n=i)):n=i;var o=e.length;n>o/2&&(n=o/2);for(var a=0;a<n;++a){var l=parseInt(e.substr(a*2,2),16);if(re(l))return a;t[r+a]=l}return a}function fr(t,e,r,n){return W(Z(e,t.length-r),t,r,n)}function mr(t,e,r,n){return W(Sr(e),t,r,n)}function hr(t,e,r,n){return W(Se(e),t,r,n)}function yr(t,e,r,n){return W(Rr(e,t.length-r),t,r,n)}s.prototype.write=function(e,r,n,i){if(r===void 0)i="utf8",n=this.length,r=0;else if(n===void 0&&typeof r=="string")i=r,n=this.length,r=0;else if(isFinite(r))r=r>>>0,isFinite(n)?(n=n>>>0,i===void 0&&(i="utf8")):(i=n,n=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var o=this.length-r;if((n===void 0||n>o)&&(n=o),e.length>0&&(n<0||r<0)||r>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var a=!1;;)switch(i){case"hex":return gr(this,e,r,n);case"utf8":case"utf-8":return fr(this,e,r,n);case"ascii":case"latin1":case"binary":return mr(this,e,r,n);case"base64":return hr(this,e,r,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return yr(this,e,r,n);default:if(a)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),a=!0}};s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function xr(t,e,r){return e===0&&r===t.length?K.fromByteArray(t):K.fromByteArray(t.slice(e,r))}function ve(t,e,r){r=Math.min(t.length,r);for(var n=[],i=e;i<r;){var o=t[i],a=null,l=o>239?4:o>223?3:o>191?2:1;if(i+l<=r){var p,m,h,d;switch(l){case 1:o<128&&(a=o);break;case 2:p=t[i+1],(p&192)===128&&(d=(o&31)<<6|p&63,d>127&&(a=d));break;case 3:p=t[i+1],m=t[i+2],(p&192)===128&&(m&192)===128&&(d=(o&15)<<12|(p&63)<<6|m&63,d>2047&&(d<55296||d>57343)&&(a=d));break;case 4:p=t[i+1],m=t[i+2],h=t[i+3],(p&192)===128&&(m&192)===128&&(h&192)===128&&(d=(o&15)<<18|(p&63)<<12|(m&63)<<6|h&63,d>65535&&d<1114112&&(a=d))}}a===null?(a=65533,l=1):a>65535&&(a-=65536,n.push(a>>>10&1023|55296),a=56320|a&1023),n.push(a),i+=l}return wr(n)}var ye=4096;function wr(t){var e=t.length;if(e<=ye)return String.fromCharCode.apply(String,t);for(var r="",n=0;n<e;)r+=String.fromCharCode.apply(String,t.slice(n,n+=ye));return r}function br(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;i<r;++i)n+=String.fromCharCode(t[i]&127);return n}function Tr(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;i<r;++i)n+=String.fromCharCode(t[i]);return n}function vr(t,e,r){var n=t.length;(!e||e<0)&&(e=0),(!r||r<0||r>n)&&(r=n);for(var i="",o=e;o<r;++o)i+=Ir[t[o]];return i}function kr(t,e,r){for(var n=t.slice(e,r),i="",o=0;o<n.length-1;o+=2)i+=String.fromCharCode(n[o]+n[o+1]*256);return i}s.prototype.slice=function(e,r){var n=this.length;e=~~e,r=r===void 0?n:~~r,e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),r<0?(r+=n,r<0&&(r=0)):r>n&&(r=n),r<e&&(r=e);var i=this.subarray(e,r);return Object.setPrototypeOf(i,s.prototype),i};function x(t,e,r){if(t%1!==0||t<0)throw new RangeError("offset is not uint");if(t+e>r)throw new RangeError("Trying to access beyond buffer length")}s.prototype.readUintLE=s.prototype.readUIntLE=function(e,r,n){e=e>>>0,r=r>>>0,n||x(e,r,this.length);for(var i=this[e],o=1,a=0;++a<r&&(o*=256);)i+=this[e+a]*o;return i};s.prototype.readUintBE=s.prototype.readUIntBE=function(e,r,n){e=e>>>0,r=r>>>0,n||x(e,r,this.length);for(var i=this[e+--r],o=1;r>0&&(o*=256);)i+=this[e+--r]*o;return i};s.prototype.readUint8=s.prototype.readUInt8=function(e,r){return e=e>>>0,r||x(e,1,this.length),this[e]};s.prototype.readUint16LE=s.prototype.readUInt16LE=function(e,r){return e=e>>>0,r||x(e,2,this.length),this[e]|this[e+1]<<8};s.prototype.readUint16BE=s.prototype.readUInt16BE=function(e,r){return e=e>>>0,r||x(e,2,this.length),this[e]<<8|this[e+1]};s.prototype.readUint32LE=s.prototype.readUInt32LE=function(e,r){return e=e>>>0,r||x(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+this[e+3]*16777216};s.prototype.readUint32BE=s.prototype.readUInt32BE=function(e,r){return e=e>>>0,r||x(e,4,this.length),this[e]*16777216+(this[e+1]<<16|this[e+2]<<8|this[e+3])};s.prototype.readIntLE=function(e,r,n){e=e>>>0,r=r>>>0,n||x(e,r,this.length);for(var i=this[e],o=1,a=0;++a<r&&(o*=256);)i+=this[e+a]*o;return o*=128,i>=o&&(i-=Math.pow(2,8*r)),i};s.prototype.readIntBE=function(e,r,n){e=e>>>0,r=r>>>0,n||x(e,r,this.length);for(var i=r,o=1,a=this[e+--i];i>0&&(o*=256);)a+=this[e+--i]*o;return o*=128,a>=o&&(a-=Math.pow(2,8*r)),a};s.prototype.readInt8=function(e,r){return e=e>>>0,r||x(e,1,this.length),this[e]&128?(255-this[e]+1)*-1:this[e]};s.prototype.readInt16LE=function(e,r){e=e>>>0,r||x(e,2,this.length);var n=this[e]|this[e+1]<<8;return n&32768?n|4294901760:n};s.prototype.readInt16BE=function(e,r){e=e>>>0,r||x(e,2,this.length);var n=this[e+1]|this[e]<<8;return n&32768?n|4294901760:n};s.prototype.readInt32LE=function(e,r){return e=e>>>0,r||x(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24};s.prototype.readInt32BE=function(e,r){return e=e>>>0,r||x(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]};s.prototype.readFloatLE=function(e,r){return e=e>>>0,r||x(e,4,this.length),D.read(this,e,!0,23,4)};s.prototype.readFloatBE=function(e,r){return e=e>>>0,r||x(e,4,this.length),D.read(this,e,!1,23,4)};s.prototype.readDoubleLE=function(e,r){return e=e>>>0,r||x(e,8,this.length),D.read(this,e,!0,52,8)};s.prototype.readDoubleBE=function(e,r){return e=e>>>0,r||x(e,8,this.length),D.read(this,e,!1,52,8)};function w(t,e,r,n,i,o){if(!s.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||e<o)throw new RangeError('"value" argument is out of bounds');if(r+n>t.length)throw new RangeError("Index out of range")}s.prototype.writeUintLE=s.prototype.writeUIntLE=function(e,r,n,i){if(e=+e,r=r>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;w(this,e,r,n,o,0)}var a=1,l=0;for(this[r]=e&255;++l<n&&(a*=256);)this[r+l]=e/a&255;return r+n};s.prototype.writeUintBE=s.prototype.writeUIntBE=function(e,r,n,i){if(e=+e,r=r>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;w(this,e,r,n,o,0)}var a=n-1,l=1;for(this[r+a]=e&255;--a>=0&&(l*=256);)this[r+a]=e/l&255;return r+n};s.prototype.writeUint8=s.prototype.writeUInt8=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,1,255,0),this[r]=e&255,r+1};s.prototype.writeUint16LE=s.prototype.writeUInt16LE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,2,65535,0),this[r]=e&255,this[r+1]=e>>>8,r+2};s.prototype.writeUint16BE=s.prototype.writeUInt16BE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,2,65535,0),this[r]=e>>>8,this[r+1]=e&255,r+2};s.prototype.writeUint32LE=s.prototype.writeUInt32LE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,4,4294967295,0),this[r+3]=e>>>24,this[r+2]=e>>>16,this[r+1]=e>>>8,this[r]=e&255,r+4};s.prototype.writeUint32BE=s.prototype.writeUInt32BE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,4,4294967295,0),this[r]=e>>>24,this[r+1]=e>>>16,this[r+2]=e>>>8,this[r+3]=e&255,r+4};s.prototype.writeIntLE=function(e,r,n,i){if(e=+e,r=r>>>0,!i){var o=Math.pow(2,8*n-1);w(this,e,r,n,o-1,-o)}var a=0,l=1,p=0;for(this[r]=e&255;++a<n&&(l*=256);)e<0&&p===0&&this[r+a-1]!==0&&(p=1),this[r+a]=(e/l>>0)-p&255;return r+n};s.prototype.writeIntBE=function(e,r,n,i){if(e=+e,r=r>>>0,!i){var o=Math.pow(2,8*n-1);w(this,e,r,n,o-1,-o)}var a=n-1,l=1,p=0;for(this[r+a]=e&255;--a>=0&&(l*=256);)e<0&&p===0&&this[r+a+1]!==0&&(p=1),this[r+a]=(e/l>>0)-p&255;return r+n};s.prototype.writeInt8=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,1,127,-128),e<0&&(e=255+e+1),this[r]=e&255,r+1};s.prototype.writeInt16LE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,2,32767,-32768),this[r]=e&255,this[r+1]=e>>>8,r+2};s.prototype.writeInt16BE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,2,32767,-32768),this[r]=e>>>8,this[r+1]=e&255,r+2};s.prototype.writeInt32LE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,4,2147483647,-2147483648),this[r]=e&255,this[r+1]=e>>>8,this[r+2]=e>>>16,this[r+3]=e>>>24,r+4};s.prototype.writeInt32BE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[r]=e>>>24,this[r+1]=e>>>16,this[r+2]=e>>>8,this[r+3]=e&255,r+4};function ke(t,e,r,n,i,o){if(r+n>t.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function _e(t,e,r,n,i){return e=+e,r=r>>>0,i||ke(t,e,r,4,34028234663852886e22,-34028234663852886e22),D.write(t,e,r,n,23,4),r+4}s.prototype.writeFloatLE=function(e,r,n){return _e(this,e,r,!0,n)};s.prototype.writeFloatBE=function(e,r,n){return _e(this,e,r,!1,n)};function Ae(t,e,r,n,i){return e=+e,r=r>>>0,i||ke(t,e,r,8,17976931348623157e292,-17976931348623157e292),D.write(t,e,r,n,52,8),r+8}s.prototype.writeDoubleLE=function(e,r,n){return Ae(this,e,r,!0,n)};s.prototype.writeDoubleBE=function(e,r,n){return Ae(this,e,r,!1,n)};s.prototype.copy=function(e,r,n,i){if(!s.isBuffer(e))throw new TypeError("argument should be a Buffer");if(n||(n=0),!i&&i!==0&&(i=this.length),r>=e.length&&(r=e.length),r||(r=0),i>0&&i<n&&(i=n),i===n||e.length===0||this.length===0)return 0;if(r<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),e.length-r<i-n&&(i=e.length-r+n);var o=i-n;return this===e&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(r,n,i):Uint8Array.prototype.set.call(e,this.subarray(n,i),r),o};s.prototype.fill=function(e,r,n,i){if(typeof e=="string"){if(typeof r=="string"?(i=r,r=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(e.length===1){var o=e.charCodeAt(0);(i==="utf8"&&o<128||i==="latin1")&&(e=o)}}else typeof e=="number"?e=e&255:typeof e=="boolean"&&(e=Number(e));if(r<0||this.length<r||this.length<n)throw new RangeError("Out of range index");if(n<=r)return this;r=r>>>0,n=n===void 0?this.length:n>>>0,e||(e=0);var a;if(typeof e=="number")for(a=r;a<n;++a)this[a]=e;else{var l=s.isBuffer(e)?e:s.from(e,i),p=l.length;if(p===0)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(a=0;a<n-r;++a)this[a+r]=l[a%p]}return this};var _r=/[^+/0-9A-Za-z-_]/g;function Ar(t){if(t=t.split("=")[0],t=t.trim().replace(_r,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function Z(t,e){e=e||1/0;for(var r,n=t.length,i=null,o=[],a=0;a<n;++a){if(r=t.charCodeAt(a),r>55295&&r<57344){if(!i){if(r>56319){(e-=3)>-1&&o.push(239,191,189);continue}else if(a+1===n){(e-=3)>-1&&o.push(239,191,189);continue}i=r;continue}if(r<56320){(e-=3)>-1&&o.push(239,191,189),i=r;continue}r=(i-55296<<10|r-56320)+65536}else i&&(e-=3)>-1&&o.push(239,191,189);if(i=null,r<128){if((e-=1)<0)break;o.push(r)}else if(r<2048){if((e-=2)<0)break;o.push(r>>6|192,r&63|128)}else if(r<65536){if((e-=3)<0)break;o.push(r>>12|224,r>>6&63|128,r&63|128)}else if(r<1114112){if((e-=4)<0)break;o.push(r>>18|240,r>>12&63|128,r>>6&63|128,r&63|128)}else throw new Error("Invalid code point")}return o}function Sr(t){for(var e=[],r=0;r<t.length;++r)e.push(t.charCodeAt(r)&255);return e}function Rr(t,e){for(var r,n,i,o=[],a=0;a<t.length&&!((e-=2)<0);++a)r=t.charCodeAt(a),n=r>>8,i=r%256,o.push(i),o.push(n);return o}function Se(t){return K.toByteArray(Ar(t))}function W(t,e,r,n){for(var i=0;i<n&&!(i+r>=e.length||i>=t.length);++i)e[i+r]=t[i];return i}function _(t,e){return t instanceof e||t!=null&&t.constructor!=null&&t.constructor.name!=null&&t.constructor.name===e.name}function re(t){return t!==t}var Ir=function(){for(var t="0123456789abcdef",e=new Array(256),r=0;r<16;++r)for(var n=r*16,i=0;i<16;++i)e[n+i]=t[r]+t[i];return e}()});var Fe=H((Dr,Ne)=>{c();var y=Ne.exports={},A,S;function te(){throw new Error("setTimeout has not been defined")}function ne(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?A=setTimeout:A=te}catch(t){A=te}try{typeof clearTimeout=="function"?S=clearTimeout:S=ne}catch(t){S=ne}})();function Ie(t){if(A===setTimeout)return setTimeout(t,0);if((A===te||!A)&&setTimeout)return A=setTimeout,setTimeout(t,0);try{return A(t,0)}catch(e){try{return A.call(null,t,0)}catch(r){return A.call(this,t,0)}}}function Lr(t){if(S===clearTimeout)return clearTimeout(t);if((S===ne||!S)&&clearTimeout)return S=clearTimeout,clearTimeout(t);try{return S(t)}catch(e){try{return S.call(null,t)}catch(r){return S.call(this,t)}}}var E=[],M=!1,U,j=-1;function Er(){!M||!U||(M=!1,U.length?E=U.concat(E):j=-1,E.length&&Le())}function Le(){if(!M){var t=Ie(Er);M=!0;for(var e=E.length;e;){for(U=E,E=[];++j<e;)U&&U[j].run();j=-1,e=E.length}U=null,M=!1,Lr(t)}}y.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)e[r-1]=arguments[r];E.push(new Ee(t,e)),E.length===1&&!M&&Ie(Le)};function Ee(t,e){this.fun=t,this.array=e}Ee.prototype.run=function(){this.fun.apply(null,this.array)};y.title="browser";y.browser=!0;y.env={};y.argv=[];y.version="";y.versions={};function N(){}y.on=N;y.addListener=N;y.once=N;y.off=N;y.removeListener=N;y.removeAllListeners=N;y.emit=N;y.prependListener=N;y.prependOnceListener=N;y.listeners=function(t){return[]};y.binding=function(t){throw new Error("process.binding is not supported")};y.cwd=function(){return"/"};y.chdir=function(t){throw new Error("process.chdir is not supported")};y.umask=function(){return 0}});var u,g,Pr,c=Qe(()=>{u=pe(Re()),g=pe(Fe()),Pr=function(t){function e(){var n=this||self;return delete t.prototype.__magic__,n}if(typeof globalThis=="object")return globalThis;if(this)return e();t.defineProperty(t.prototype,"__magic__",{configurable:!0,get:e});var r=__magic__;return r}(Object)});var Fr={};Je(Fr,{parseTransactionAfterSigning:()=>Nr});module.exports=Ze(Fr);c();c();c();c();var I=require("@multiversx/sdk-core");c();c();c();c();c();c();c();c();c();c();c();c();c();c();c();c();c();c();c();var ie={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:Ce,egldLabel:pt}=ie["devnet"],{chainId:Be,egldLabel:ut}=ie["testnet"],{chainId:Ue,egldLabel:dt}=ie["mainnet"];var gt={["devnet"]:Ce,["testnet"]:Be,["mainnet"]:Ue},ft={[Ce]:"devnet",[Be]:"testnet",[Ue]:"mainnet"};c();c();var R=require("@multiversx/sdk-web-wallet-provider");var Oe=5e4;var De=1e9;var Pe=1;c();var oe=require("@multiversx/sdk-core/out");c();c();function Me(t){try{let e=atob(t),r=btoa(e),n=u.Buffer.from(t,"base64").toString(),i=u.Buffer.from(n).toString("base64");if(t===r&&t===i||e===n)return!0}catch(e){return!1}return!1}c();c();c();c();var Ge=t=>{let e=t!=null?t:"";return Me(e)?oe.TransactionPayload.fromEncoded(e):new oe.TransactionPayload(e)};function Ve(t){var r,n,i;let e=new I.Transaction(F(F(V(F(V(F({value:t.value.valueOf(),data:Ge(t.data),nonce:t.nonce.valueOf(),receiver:new I.Address(t.receiver)},t.receiverUsername?{receiverUsername:t.receiverUsername}:{}),{sender:new I.Address(t.sender)}),t.senderUsername?{senderUsername:t.senderUsername}:{}),{gasLimit:(r=t.gasLimit.valueOf())!=null?r:Oe,gasPrice:(n=t.gasPrice.valueOf())!=null?n:De,chainID:t.chainID.valueOf(),version:new I.TransactionVersion((i=t.version)!=null?i:Pe)}),t.options?{options:new I.TransactionOptions(t.options)}:{}),t.guardian?{guardian:new I.Address(t.guardian)}:{}));return t.guardianSignature&&e.applyGuardianSignature(u.Buffer.from(t.guardianSignature,"hex")),t.signature&&e.applySignature(u.Buffer.from(t.signature,"hex")),e}function Nr(t){let r=Object.getPrototypeOf(t).toPlainObject!=null?t:Ve(t);return V(F({},r.toPlainObject()),{hash:r.getHash().hex(),senderUsername:r.getSenderUsername().valueOf(),receiverUsername:r.getReceiverUsername().valueOf(),status:"pending"})}0&&(module.exports={parseTransactionAfterSigning});
2
2
  /*!
3
3
  * The buffer module from node.js, for the browser.
4
4
  *
@@ -1,4 +1,4 @@
1
- "use strict";var Ce=Object.create;var M=Object.defineProperty;var Be=Object.getOwnPropertyDescriptor;var Ue=Object.getOwnPropertyNames;var De=Object.getPrototypeOf,Oe=Object.prototype.hasOwnProperty;var Me=(t,e)=>()=>(t&&(e=t(t=0)),e);var P=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),Pe=(t,e)=>{for(var r in e)M(t,r,{get:e[r],enumerable:!0})},ie=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Ue(e))!Oe.call(t,i)&&i!==r&&M(t,i,{get:()=>e[i],enumerable:!(n=Be(e,i))||n.enumerable});return t};var W=(t,e,r)=>(r=t!=null?Ce(De(t)):{},ie(e||!t||!t.__esModule?M(r,"default",{value:t,enumerable:!0}):r,t)),Ge=t=>ie(M({},"__esModule",{value:!0}),t);var se=P(G=>{"use strict";l();G.byteLength=He;G.toByteArray=ze;G.fromByteArray=Xe;var k=[],b=[],Ve=typeof Uint8Array!="undefined"?Uint8Array:Array,j="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(F=0,ae=j.length;F<ae;++F)k[F]=j[F],b[j.charCodeAt(F)]=F;var F,ae;b["-".charCodeAt(0)]=62;b["_".charCodeAt(0)]=63;function oe(t){var e=t.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=t.indexOf("=");r===-1&&(r=e);var n=r===e?0:4-r%4;return[r,n]}function He(t){var e=oe(t),r=e[0],n=e[1];return(r+n)*3/4-n}function qe(t,e,r){return(e+r)*3/4-r}function ze(t){var e,r=oe(t),n=r[0],i=r[1],a=new Ve(qe(t,n,i)),o=0,c=i>0?n-4:n,p;for(p=0;p<c;p+=4)e=b[t.charCodeAt(p)]<<18|b[t.charCodeAt(p+1)]<<12|b[t.charCodeAt(p+2)]<<6|b[t.charCodeAt(p+3)],a[o++]=e>>16&255,a[o++]=e>>8&255,a[o++]=e&255;return i===2&&(e=b[t.charCodeAt(p)]<<2|b[t.charCodeAt(p+1)]>>4,a[o++]=e&255),i===1&&(e=b[t.charCodeAt(p)]<<10|b[t.charCodeAt(p+1)]<<4|b[t.charCodeAt(p+2)]>>2,a[o++]=e>>8&255,a[o++]=e&255),a}function We(t){return k[t>>18&63]+k[t>>12&63]+k[t>>6&63]+k[t&63]}function je(t,e,r){for(var n,i=[],a=e;a<r;a+=3)n=(t[a]<<16&16711680)+(t[a+1]<<8&65280)+(t[a+2]&255),i.push(We(n));return i.join("")}function Xe(t){for(var e,r=t.length,n=r%3,i=[],a=16383,o=0,c=r-n;o<c;o+=a)i.push(je(t,o,o+a>c?c:o+a));return n===1?(e=t[r-1],i.push(k[e>>2]+k[e<<4&63]+"==")):n===2&&(e=(t[r-2]<<8)+t[r-1],i.push(k[e>>10]+k[e>>4&63]+k[e<<2&63]+"=")),i.join("")}});var le=P(X=>{l();X.read=function(t,e,r,n,i){var a,o,c=i*8-n-1,p=(1<<c)-1,d=p>>1,g=-7,u=r?i-1:0,w=r?-1:1,T=t[e+u];for(u+=w,a=T&(1<<-g)-1,T>>=-g,g+=c;g>0;a=a*256+t[e+u],u+=w,g-=8);for(o=a&(1<<-g)-1,a>>=-g,g+=n;g>0;o=o*256+t[e+u],u+=w,g-=8);if(a===0)a=1-d;else{if(a===p)return o?NaN:(T?-1:1)*(1/0);o=o+Math.pow(2,n),a=a-d}return(T?-1:1)*o*Math.pow(2,a-n)};X.write=function(t,e,r,n,i,a){var o,c,p,d=a*8-i-1,g=(1<<d)-1,u=g>>1,w=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,T=n?0:a-1,N=n?1:-1,z=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(c=isNaN(e)?1:0,o=g):(o=Math.floor(Math.log(e)/Math.LN2),e*(p=Math.pow(2,-o))<1&&(o--,p*=2),o+u>=1?e+=w/p:e+=w*Math.pow(2,1-u),e*p>=2&&(o++,p/=2),o+u>=g?(c=0,o=g):o+u>=1?(c=(e*p-1)*Math.pow(2,i),o=o+u):(c=e*Math.pow(2,u-1)*Math.pow(2,i),o=0));i>=8;t[r+T]=c&255,T+=N,c/=256,i-=8);for(o=o<<i|c,d+=i;d>0;t[r+T]=o&255,T+=N,o/=256,d-=8);t[r+T-N]|=z*128}});var ve=P(D=>{"use strict";l();var Y=se(),U=le(),ce=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;D.Buffer=s;D.SlowBuffer=$e;D.INSPECT_MAX_BYTES=50;var V=2147483647;D.kMaxLength=V;s.TYPED_ARRAY_SUPPORT=Ye();!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 Ye(){try{var t=new Uint8Array(1),e={foo:function(){return 42}};return Object.setPrototypeOf(e,Uint8Array.prototype),Object.setPrototypeOf(t,e),t.foo()===42}catch(r){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 I(t){if(t>V)throw new RangeError('The value "'+t+'" is invalid for option "size"');var e=new Uint8Array(t);return Object.setPrototypeOf(e,s.prototype),e}function s(t,e,r){if(typeof t=="number"){if(typeof e=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return J(t)}return de(t,e,r)}s.poolSize=8192;function de(t,e,r){if(typeof t=="string")return Qe(t,e);if(ArrayBuffer.isView(t))return Ze(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(A(t,ArrayBuffer)||t&&A(t.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(A(t,SharedArrayBuffer)||t&&A(t.buffer,SharedArrayBuffer)))return Q(t,e,r);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,e,r);var i=Je(t);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof t[Symbol.toPrimitive]=="function")return s.from(t[Symbol.toPrimitive]("string"),e,r);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,e,r){return de(t,e,r)};Object.setPrototypeOf(s.prototype,Uint8Array.prototype);Object.setPrototypeOf(s,Uint8Array);function ge(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 Ke(t,e,r){return ge(t),t<=0?I(t):e!==void 0?typeof r=="string"?I(t).fill(e,r):I(t).fill(e):I(t)}s.alloc=function(t,e,r){return Ke(t,e,r)};function J(t){return ge(t),I(t<0?0:$(t)|0)}s.allocUnsafe=function(t){return J(t)};s.allocUnsafeSlow=function(t){return J(t)};function Qe(t,e){if((typeof e!="string"||e==="")&&(e="utf8"),!s.isEncoding(e))throw new TypeError("Unknown encoding: "+e);var r=fe(t,e)|0,n=I(r),i=n.write(t,e);return i!==r&&(n=n.slice(0,i)),n}function K(t){for(var e=t.length<0?0:$(t.length)|0,r=I(e),n=0;n<e;n+=1)r[n]=t[n]&255;return r}function Ze(t){if(A(t,Uint8Array)){var e=new Uint8Array(t);return Q(e.buffer,e.byteOffset,e.byteLength)}return K(t)}function Q(t,e,r){if(e<0||t.byteLength<e)throw new RangeError('"offset" is outside of buffer bounds');if(t.byteLength<e+(r||0))throw new RangeError('"length" is outside of buffer bounds');var n;return e===void 0&&r===void 0?n=new Uint8Array(t):r===void 0?n=new Uint8Array(t,e):n=new Uint8Array(t,e,r),Object.setPrototypeOf(n,s.prototype),n}function Je(t){if(s.isBuffer(t)){var e=$(t.length)|0,r=I(e);return r.length===0||t.copy(r,0,0,e),r}if(t.length!==void 0)return typeof t.length!="number"||ee(t.length)?I(0):K(t);if(t.type==="Buffer"&&Array.isArray(t.data))return K(t.data)}function $(t){if(t>=V)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+V.toString(16)+" bytes");return t|0}function $e(t){return+t!=t&&(t=0),s.alloc(+t)}s.isBuffer=function(e){return e!=null&&e._isBuffer===!0&&e!==s.prototype};s.compare=function(e,r){if(A(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),A(r,Uint8Array)&&(r=s.from(r,r.offset,r.byteLength)),!s.isBuffer(e)||!s.isBuffer(r))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===r)return 0;for(var n=e.length,i=r.length,a=0,o=Math.min(n,i);a<o;++a)if(e[a]!==r[a]){n=e[a],i=r[a];break}return n<i?-1:i<n?1:0};s.isEncoding=function(e){switch(String(e).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(e,r){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(e.length===0)return s.alloc(0);var n;if(r===void 0)for(r=0,n=0;n<e.length;++n)r+=e[n].length;var i=s.allocUnsafe(r),a=0;for(n=0;n<e.length;++n){var o=e[n];if(A(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 fe(t,e){if(s.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||A(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 r=t.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&r===0)return 0;for(var i=!1;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return Z(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return Te(t).length;default:if(i)return n?-1:Z(t).length;e=(""+e).toLowerCase(),i=!0}}s.byteLength=fe;function er(t,e,r){var n=!1;if((e===void 0||e<0)&&(e=0),e>this.length||((r===void 0||r>this.length)&&(r=this.length),r<=0)||(r>>>=0,e>>>=0,r<=e))return"";for(t||(t="utf8");;)switch(t){case"hex":return pr(this,e,r);case"utf8":case"utf-8":return he(this,e,r);case"ascii":return lr(this,e,r);case"latin1":case"binary":return cr(this,e,r);case"base64":return or(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ur(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}s.prototype._isBuffer=!0;function C(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}s.prototype.swap16=function(){var e=this.length;if(e%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var r=0;r<e;r+=2)C(this,r,r+1);return this};s.prototype.swap32=function(){var e=this.length;if(e%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var r=0;r<e;r+=4)C(this,r,r+3),C(this,r+1,r+2);return this};s.prototype.swap64=function(){var e=this.length;if(e%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var r=0;r<e;r+=8)C(this,r,r+7),C(this,r+1,r+6),C(this,r+2,r+5),C(this,r+3,r+4);return this};s.prototype.toString=function(){var e=this.length;return e===0?"":arguments.length===0?he(this,0,e):er.apply(this,arguments)};s.prototype.toLocaleString=s.prototype.toString;s.prototype.equals=function(e){if(!s.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e?!0:s.compare(this,e)===0};s.prototype.inspect=function(){var e="",r=D.INSPECT_MAX_BYTES;return e=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(e+=" ... "),"<Buffer "+e+">"};ce&&(s.prototype[ce]=s.prototype.inspect);s.prototype.compare=function(e,r,n,i,a){if(A(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),!s.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(r===void 0&&(r=0),n===void 0&&(n=e?e.length:0),i===void 0&&(i=0),a===void 0&&(a=this.length),r<0||n>e.length||i<0||a>this.length)throw new RangeError("out of range index");if(i>=a&&r>=n)return 0;if(i>=a)return-1;if(r>=n)return 1;if(r>>>=0,n>>>=0,i>>>=0,a>>>=0,this===e)return 0;for(var o=a-i,c=n-r,p=Math.min(o,c),d=this.slice(i,a),g=e.slice(r,n),u=0;u<p;++u)if(d[u]!==g[u]){o=d[u],c=g[u];break}return o<c?-1:c<o?1:0};function me(t,e,r,n,i){if(t.length===0)return-1;if(typeof r=="string"?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,ee(r)&&(r=i?0:t.length-1),r<0&&(r=t.length+r),r>=t.length){if(i)return-1;r=t.length-1}else if(r<0)if(i)r=0;else return-1;if(typeof e=="string"&&(e=s.from(e,n)),s.isBuffer(e))return e.length===0?-1:pe(t,e,r,n,i);if(typeof e=="number")return e=e&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(t,e,r):Uint8Array.prototype.lastIndexOf.call(t,e,r):pe(t,[e],r,n,i);throw new TypeError("val must be string, number or Buffer")}function pe(t,e,r,n,i){var a=1,o=t.length,c=e.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(t.length<2||e.length<2)return-1;a=2,o/=2,c/=2,r/=2}function p(T,N){return a===1?T[N]:T.readUInt16BE(N*a)}var d;if(i){var g=-1;for(d=r;d<o;d++)if(p(t,d)===p(e,g===-1?0:d-g)){if(g===-1&&(g=d),d-g+1===c)return g*a}else g!==-1&&(d-=d-g),g=-1}else for(r+c>o&&(r=o-c),d=r;d>=0;d--){for(var u=!0,w=0;w<c;w++)if(p(t,d+w)!==p(e,w)){u=!1;break}if(u)return d}return-1}s.prototype.includes=function(e,r,n){return this.indexOf(e,r,n)!==-1};s.prototype.indexOf=function(e,r,n){return me(this,e,r,n,!0)};s.prototype.lastIndexOf=function(e,r,n){return me(this,e,r,n,!1)};function rr(t,e,r,n){r=Number(r)||0;var i=t.length-r;n?(n=Number(n),n>i&&(n=i)):n=i;var a=e.length;n>a/2&&(n=a/2);for(var o=0;o<n;++o){var c=parseInt(e.substr(o*2,2),16);if(ee(c))return o;t[r+o]=c}return o}function tr(t,e,r,n){return H(Z(e,t.length-r),t,r,n)}function nr(t,e,r,n){return H(fr(e),t,r,n)}function ir(t,e,r,n){return H(Te(e),t,r,n)}function ar(t,e,r,n){return H(mr(e,t.length-r),t,r,n)}s.prototype.write=function(e,r,n,i){if(r===void 0)i="utf8",n=this.length,r=0;else if(n===void 0&&typeof r=="string")i=r,n=this.length,r=0;else if(isFinite(r))r=r>>>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-r;if((n===void 0||n>a)&&(n=a),e.length>0&&(n<0||r<0)||r>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var o=!1;;)switch(i){case"hex":return rr(this,e,r,n);case"utf8":case"utf-8":return tr(this,e,r,n);case"ascii":case"latin1":case"binary":return nr(this,e,r,n);case"base64":return ir(this,e,r,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ar(this,e,r,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 or(t,e,r){return e===0&&r===t.length?Y.fromByteArray(t):Y.fromByteArray(t.slice(e,r))}function he(t,e,r){r=Math.min(t.length,r);for(var n=[],i=e;i<r;){var a=t[i],o=null,c=a>239?4:a>223?3:a>191?2:1;if(i+c<=r){var p,d,g,u;switch(c){case 1:a<128&&(o=a);break;case 2:p=t[i+1],(p&192)===128&&(u=(a&31)<<6|p&63,u>127&&(o=u));break;case 3:p=t[i+1],d=t[i+2],(p&192)===128&&(d&192)===128&&(u=(a&15)<<12|(p&63)<<6|d&63,u>2047&&(u<55296||u>57343)&&(o=u));break;case 4:p=t[i+1],d=t[i+2],g=t[i+3],(p&192)===128&&(d&192)===128&&(g&192)===128&&(u=(a&15)<<18|(p&63)<<12|(d&63)<<6|g&63,u>65535&&u<1114112&&(o=u))}}o===null?(o=65533,c=1):o>65535&&(o-=65536,n.push(o>>>10&1023|55296),o=56320|o&1023),n.push(o),i+=c}return sr(n)}var ue=4096;function sr(t){var e=t.length;if(e<=ue)return String.fromCharCode.apply(String,t);for(var r="",n=0;n<e;)r+=String.fromCharCode.apply(String,t.slice(n,n+=ue));return r}function lr(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;i<r;++i)n+=String.fromCharCode(t[i]&127);return n}function cr(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;i<r;++i)n+=String.fromCharCode(t[i]);return n}function pr(t,e,r){var n=t.length;(!e||e<0)&&(e=0),(!r||r<0||r>n)&&(r=n);for(var i="",a=e;a<r;++a)i+=hr[t[a]];return i}function ur(t,e,r){for(var n=t.slice(e,r),i="",a=0;a<n.length-1;a+=2)i+=String.fromCharCode(n[a]+n[a+1]*256);return i}s.prototype.slice=function(e,r){var n=this.length;e=~~e,r=r===void 0?n:~~r,e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),r<0?(r+=n,r<0&&(r=0)):r>n&&(r=n),r<e&&(r=e);var i=this.subarray(e,r);return Object.setPrototypeOf(i,s.prototype),i};function x(t,e,r){if(t%1!==0||t<0)throw new RangeError("offset is not uint");if(t+e>r)throw new RangeError("Trying to access beyond buffer length")}s.prototype.readUintLE=s.prototype.readUIntLE=function(e,r,n){e=e>>>0,r=r>>>0,n||x(e,r,this.length);for(var i=this[e],a=1,o=0;++o<r&&(a*=256);)i+=this[e+o]*a;return i};s.prototype.readUintBE=s.prototype.readUIntBE=function(e,r,n){e=e>>>0,r=r>>>0,n||x(e,r,this.length);for(var i=this[e+--r],a=1;r>0&&(a*=256);)i+=this[e+--r]*a;return i};s.prototype.readUint8=s.prototype.readUInt8=function(e,r){return e=e>>>0,r||x(e,1,this.length),this[e]};s.prototype.readUint16LE=s.prototype.readUInt16LE=function(e,r){return e=e>>>0,r||x(e,2,this.length),this[e]|this[e+1]<<8};s.prototype.readUint16BE=s.prototype.readUInt16BE=function(e,r){return e=e>>>0,r||x(e,2,this.length),this[e]<<8|this[e+1]};s.prototype.readUint32LE=s.prototype.readUInt32LE=function(e,r){return e=e>>>0,r||x(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+this[e+3]*16777216};s.prototype.readUint32BE=s.prototype.readUInt32BE=function(e,r){return e=e>>>0,r||x(e,4,this.length),this[e]*16777216+(this[e+1]<<16|this[e+2]<<8|this[e+3])};s.prototype.readIntLE=function(e,r,n){e=e>>>0,r=r>>>0,n||x(e,r,this.length);for(var i=this[e],a=1,o=0;++o<r&&(a*=256);)i+=this[e+o]*a;return a*=128,i>=a&&(i-=Math.pow(2,8*r)),i};s.prototype.readIntBE=function(e,r,n){e=e>>>0,r=r>>>0,n||x(e,r,this.length);for(var i=r,a=1,o=this[e+--i];i>0&&(a*=256);)o+=this[e+--i]*a;return a*=128,o>=a&&(o-=Math.pow(2,8*r)),o};s.prototype.readInt8=function(e,r){return e=e>>>0,r||x(e,1,this.length),this[e]&128?(255-this[e]+1)*-1:this[e]};s.prototype.readInt16LE=function(e,r){e=e>>>0,r||x(e,2,this.length);var n=this[e]|this[e+1]<<8;return n&32768?n|4294901760:n};s.prototype.readInt16BE=function(e,r){e=e>>>0,r||x(e,2,this.length);var n=this[e+1]|this[e]<<8;return n&32768?n|4294901760:n};s.prototype.readInt32LE=function(e,r){return e=e>>>0,r||x(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24};s.prototype.readInt32BE=function(e,r){return e=e>>>0,r||x(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]};s.prototype.readFloatLE=function(e,r){return e=e>>>0,r||x(e,4,this.length),U.read(this,e,!0,23,4)};s.prototype.readFloatBE=function(e,r){return e=e>>>0,r||x(e,4,this.length),U.read(this,e,!1,23,4)};s.prototype.readDoubleLE=function(e,r){return e=e>>>0,r||x(e,8,this.length),U.read(this,e,!0,52,8)};s.prototype.readDoubleBE=function(e,r){return e=e>>>0,r||x(e,8,this.length),U.read(this,e,!1,52,8)};function v(t,e,r,n,i,a){if(!s.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||e<a)throw new RangeError('"value" argument is out of bounds');if(r+n>t.length)throw new RangeError("Index out of range")}s.prototype.writeUintLE=s.prototype.writeUIntLE=function(e,r,n,i){if(e=+e,r=r>>>0,n=n>>>0,!i){var a=Math.pow(2,8*n)-1;v(this,e,r,n,a,0)}var o=1,c=0;for(this[r]=e&255;++c<n&&(o*=256);)this[r+c]=e/o&255;return r+n};s.prototype.writeUintBE=s.prototype.writeUIntBE=function(e,r,n,i){if(e=+e,r=r>>>0,n=n>>>0,!i){var a=Math.pow(2,8*n)-1;v(this,e,r,n,a,0)}var o=n-1,c=1;for(this[r+o]=e&255;--o>=0&&(c*=256);)this[r+o]=e/c&255;return r+n};s.prototype.writeUint8=s.prototype.writeUInt8=function(e,r,n){return e=+e,r=r>>>0,n||v(this,e,r,1,255,0),this[r]=e&255,r+1};s.prototype.writeUint16LE=s.prototype.writeUInt16LE=function(e,r,n){return e=+e,r=r>>>0,n||v(this,e,r,2,65535,0),this[r]=e&255,this[r+1]=e>>>8,r+2};s.prototype.writeUint16BE=s.prototype.writeUInt16BE=function(e,r,n){return e=+e,r=r>>>0,n||v(this,e,r,2,65535,0),this[r]=e>>>8,this[r+1]=e&255,r+2};s.prototype.writeUint32LE=s.prototype.writeUInt32LE=function(e,r,n){return e=+e,r=r>>>0,n||v(this,e,r,4,4294967295,0),this[r+3]=e>>>24,this[r+2]=e>>>16,this[r+1]=e>>>8,this[r]=e&255,r+4};s.prototype.writeUint32BE=s.prototype.writeUInt32BE=function(e,r,n){return e=+e,r=r>>>0,n||v(this,e,r,4,4294967295,0),this[r]=e>>>24,this[r+1]=e>>>16,this[r+2]=e>>>8,this[r+3]=e&255,r+4};s.prototype.writeIntLE=function(e,r,n,i){if(e=+e,r=r>>>0,!i){var a=Math.pow(2,8*n-1);v(this,e,r,n,a-1,-a)}var o=0,c=1,p=0;for(this[r]=e&255;++o<n&&(c*=256);)e<0&&p===0&&this[r+o-1]!==0&&(p=1),this[r+o]=(e/c>>0)-p&255;return r+n};s.prototype.writeIntBE=function(e,r,n,i){if(e=+e,r=r>>>0,!i){var a=Math.pow(2,8*n-1);v(this,e,r,n,a-1,-a)}var o=n-1,c=1,p=0;for(this[r+o]=e&255;--o>=0&&(c*=256);)e<0&&p===0&&this[r+o+1]!==0&&(p=1),this[r+o]=(e/c>>0)-p&255;return r+n};s.prototype.writeInt8=function(e,r,n){return e=+e,r=r>>>0,n||v(this,e,r,1,127,-128),e<0&&(e=255+e+1),this[r]=e&255,r+1};s.prototype.writeInt16LE=function(e,r,n){return e=+e,r=r>>>0,n||v(this,e,r,2,32767,-32768),this[r]=e&255,this[r+1]=e>>>8,r+2};s.prototype.writeInt16BE=function(e,r,n){return e=+e,r=r>>>0,n||v(this,e,r,2,32767,-32768),this[r]=e>>>8,this[r+1]=e&255,r+2};s.prototype.writeInt32LE=function(e,r,n){return e=+e,r=r>>>0,n||v(this,e,r,4,2147483647,-2147483648),this[r]=e&255,this[r+1]=e>>>8,this[r+2]=e>>>16,this[r+3]=e>>>24,r+4};s.prototype.writeInt32BE=function(e,r,n){return e=+e,r=r>>>0,n||v(this,e,r,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[r]=e>>>24,this[r+1]=e>>>16,this[r+2]=e>>>8,this[r+3]=e&255,r+4};function ye(t,e,r,n,i,a){if(r+n>t.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function xe(t,e,r,n,i){return e=+e,r=r>>>0,i||ye(t,e,r,4,34028234663852886e22,-34028234663852886e22),U.write(t,e,r,n,23,4),r+4}s.prototype.writeFloatLE=function(e,r,n){return xe(this,e,r,!0,n)};s.prototype.writeFloatBE=function(e,r,n){return xe(this,e,r,!1,n)};function we(t,e,r,n,i){return e=+e,r=r>>>0,i||ye(t,e,r,8,17976931348623157e292,-17976931348623157e292),U.write(t,e,r,n,52,8),r+8}s.prototype.writeDoubleLE=function(e,r,n){return we(this,e,r,!0,n)};s.prototype.writeDoubleBE=function(e,r,n){return we(this,e,r,!1,n)};s.prototype.copy=function(e,r,n,i){if(!s.isBuffer(e))throw new TypeError("argument should be a Buffer");if(n||(n=0),!i&&i!==0&&(i=this.length),r>=e.length&&(r=e.length),r||(r=0),i>0&&i<n&&(i=n),i===n||e.length===0||this.length===0)return 0;if(r<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),e.length-r<i-n&&(i=e.length-r+n);var a=i-n;return this===e&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(r,n,i):Uint8Array.prototype.set.call(e,this.subarray(n,i),r),a};s.prototype.fill=function(e,r,n,i){if(typeof e=="string"){if(typeof r=="string"?(i=r,r=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(e.length===1){var a=e.charCodeAt(0);(i==="utf8"&&a<128||i==="latin1")&&(e=a)}}else typeof e=="number"?e=e&255:typeof e=="boolean"&&(e=Number(e));if(r<0||this.length<r||this.length<n)throw new RangeError("Out of range index");if(n<=r)return this;r=r>>>0,n=n===void 0?this.length:n>>>0,e||(e=0);var o;if(typeof e=="number")for(o=r;o<n;++o)this[o]=e;else{var c=s.isBuffer(e)?e:s.from(e,i),p=c.length;if(p===0)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(o=0;o<n-r;++o)this[o+r]=c[o%p]}return this};var dr=/[^+/0-9A-Za-z-_]/g;function gr(t){if(t=t.split("=")[0],t=t.trim().replace(dr,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function Z(t,e){e=e||1/0;for(var r,n=t.length,i=null,a=[],o=0;o<n;++o){if(r=t.charCodeAt(o),r>55295&&r<57344){if(!i){if(r>56319){(e-=3)>-1&&a.push(239,191,189);continue}else if(o+1===n){(e-=3)>-1&&a.push(239,191,189);continue}i=r;continue}if(r<56320){(e-=3)>-1&&a.push(239,191,189),i=r;continue}r=(i-55296<<10|r-56320)+65536}else i&&(e-=3)>-1&&a.push(239,191,189);if(i=null,r<128){if((e-=1)<0)break;a.push(r)}else if(r<2048){if((e-=2)<0)break;a.push(r>>6|192,r&63|128)}else if(r<65536){if((e-=3)<0)break;a.push(r>>12|224,r>>6&63|128,r&63|128)}else if(r<1114112){if((e-=4)<0)break;a.push(r>>18|240,r>>12&63|128,r>>6&63|128,r&63|128)}else throw new Error("Invalid code point")}return a}function fr(t){for(var e=[],r=0;r<t.length;++r)e.push(t.charCodeAt(r)&255);return e}function mr(t,e){for(var r,n,i,a=[],o=0;o<t.length&&!((e-=2)<0);++o)r=t.charCodeAt(o),n=r>>8,i=r%256,a.push(i),a.push(n);return a}function Te(t){return Y.toByteArray(gr(t))}function H(t,e,r,n){for(var i=0;i<n&&!(i+r>=e.length||i>=t.length);++i)e[i+r]=t[i];return i}function A(t,e){return t instanceof e||t!=null&&t.constructor!=null&&t.constructor.name!=null&&t.constructor.name===e.name}function ee(t){return t!==t}var hr=function(){for(var t="0123456789abcdef",e=new Array(256),r=0;r<16;++r)for(var n=r*16,i=0;i<16;++i)e[n+i]=t[r]+t[i];return e}()});var Re=P((Sr,_e)=>{l();var y=_e.exports={},_,R;function re(){throw new Error("setTimeout has not been defined")}function te(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?_=setTimeout:_=re}catch(t){_=re}try{typeof clearTimeout=="function"?R=clearTimeout:R=te}catch(t){R=te}})();function be(t){if(_===setTimeout)return setTimeout(t,0);if((_===re||!_)&&setTimeout)return _=setTimeout,setTimeout(t,0);try{return _(t,0)}catch(e){try{return _.call(null,t,0)}catch(r){return _.call(this,t,0)}}}function yr(t){if(R===clearTimeout)return clearTimeout(t);if((R===te||!R)&&clearTimeout)return R=clearTimeout,clearTimeout(t);try{return R(t)}catch(e){try{return R.call(null,t)}catch(r){return R.call(this,t)}}}var L=[],O=!1,B,q=-1;function xr(){!O||!B||(O=!1,B.length?L=B.concat(L):q=-1,L.length&&ke())}function ke(){if(!O){var t=be(xr);O=!0;for(var e=L.length;e;){for(B=L,L=[];++q<e;)B&&B[q].run();q=-1,e=L.length}B=null,O=!1,yr(t)}}y.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)e[r-1]=arguments[r];L.push(new Ae(t,e)),L.length===1&&!O&&be(ke)};function Ae(t,e){this.fun=t,this.array=e}Ae.prototype.run=function(){this.fun.apply(null,this.array)};y.title="browser";y.browser=!0;y.env={};y.argv=[];y.version="";y.versions={};function E(){}y.on=E;y.addListener=E;y.once=E;y.off=E;y.removeListener=E;y.removeAllListeners=E;y.emit=E;y.prependListener=E;y.prependOnceListener=E;y.listeners=function(t){return[]};y.binding=function(t){throw new Error("process.binding is not supported")};y.cwd=function(){return"/"};y.chdir=function(t){throw new Error("process.chdir is not supported")};y.umask=function(){return 0}});var f,m,Ir,l=Me(()=>{f=W(ve()),m=W(Re()),Ir=function(t){function e(){var n=this||self;return delete t.prototype.__magic__,n}if(typeof globalThis=="object")return globalThis;if(this)return e();t.defineProperty(t.prototype,"__magic__",{configurable:!0,get:e});var r=__magic__;return r}(Object)});var br={};Pe(br,{esdtNftUnwrapper:()=>Tr,mexUnwrapper:()=>vr,stakeUnwrapper:()=>wr});module.exports=Ge(br);l();l();l();var wr=t=>{var e,r,n,i,a,o,c,p,d,g,u,w;switch(t.name){case"delegate":case"stake":return["Delegate",{egldValue:(e=t.arguments)==null?void 0:e.value},"to staking provider",{providerName:(r=t.arguments)==null?void 0:r.providerName,providerAvatar:(n=t.arguments)==null?void 0:n.providerAvatar}];case"unDelegate":return["Undelegate",{egldValue:(i=t.arguments)==null?void 0:i.value},"from staking provider",{providerName:(a=t.arguments)==null?void 0:a.providerName,providerAvatar:(o=t.arguments)==null?void 0:o.providerAvatar}];case"claimRewards":return["Claim rewards from staking provider",{providerName:(c=t.arguments)==null?void 0:c.providerName,providerAvatar:(p=t.arguments)==null?void 0:p.providerAvatar}];case"reDelegateRewards":return["Redelegate rewards from staking provider",{providerName:(d=t.arguments)==null?void 0:d.providerName,providerAvatar:(g=t.arguments)==null?void 0:g.providerAvatar}];case"withdraw":return["Withdraw from staking provider",{providerName:(u=t.arguments)==null?void 0:u.providerName,providerAvatar:(w=t.arguments)==null?void 0:w.providerAvatar}];default:return[]}};l();var Tr=t=>{var e,r;switch(t.name){case"transfer":return["Transfer",{token:(e=t.arguments)==null?void 0:e.transfers},"to",{address:(r=t.arguments)==null?void 0:r.receiver}];default:return[]}};l();var Fe=W(require("bignumber.js"));l();l();l();l();l();l();l();l();l();l();l();l();l();l();l();l();l();l();var ne={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:Ie,egldLabel:st}=ne["devnet"],{chainId:Le,egldLabel:lt}=ne["testnet"],{chainId:Ee,egldLabel:ct}=ne["mainnet"];var pt={["devnet"]:Ie,["testnet"]:Le,["mainnet"]:Ee},ut={[Ie]:"devnet",[Le]:"testnet",[Ee]:"mainnet"};l();l();var S=require("@multiversx/sdk-web-wallet-provider");var Ne="0";var vr=t=>{var e,r,n,i,a,o,c,p,d,g,u,w;switch(t.name){case"claimLockedAssets":return["Claim locked assets"];case"enterFarm":case"enterFarmProxy":return["Enter farm with",{token:(e=t.arguments)==null?void 0:e.transfers}];case"enterFarmAndLockRewards":case"enterFarmAndLockRewardsProxy":return["Enter farm and lock rewards with",{token:(r=t.arguments)==null?void 0:r.transfers}];case"exitFarm":case"exitFarmProxy":return["Exit farm with",{token:(n=t.arguments)==null?void 0:n.transfers}];case"claimRewards":case"claimRewardsProxy":return["Claim rewards",{token:(i=t.arguments)==null?void 0:i.transfers}];case"compoundRewards":case"compoundRewardsProxy":return["Reinvest rewards",{token:(a=t.arguments)==null?void 0:a.transfers}];case"swapTokensFixedInput":case"swap":return t.description?[t.description]:[];case"swapTokensFixedOutput":return t.description?[t.description]:[];case"addLiquidity":case"addLiquidityProxy":return["Added liquidity for",{token:[(o=t.arguments)==null?void 0:o.transfers[0]]},"and",{token:[(c=t.arguments)==null?void 0:c.transfers[1]]}];case"removeLiquidity":case"removeLiquidityProxy":return["Removed liquidity with ",{token:(p=t.arguments)==null?void 0:p.transfers}];case"mergeLockedAssetTokens":let T=Ne;if((d=t.arguments)!=null&&d.transfers){let N=t.arguments.transfers.map(({value:z})=>z);T=Fe.default.sum.apply(null,N).toString(10)}return[`Merge ${(g=t.arguments)==null?void 0:g.transfers.length}`,{tokenNoLink:[(u=t.arguments)==null?void 0:u.transfers[0]]},"positions into a single",{tokenNoLink:[(w=t.arguments)==null?void 0:w.transfers[0]]},"position of value",{value:T}];case"wrapEgld":case"unwrapEgld":default:return t.description?[t.description]:[]}};0&&(module.exports={esdtNftUnwrapper,mexUnwrapper,stakeUnwrapper});
1
+ "use strict";var Ce=Object.create;var M=Object.defineProperty;var Be=Object.getOwnPropertyDescriptor;var Ue=Object.getOwnPropertyNames;var Oe=Object.getPrototypeOf,De=Object.prototype.hasOwnProperty;var Me=(t,e)=>()=>(t&&(e=t(t=0)),e);var P=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),Pe=(t,e)=>{for(var r in e)M(t,r,{get:e[r],enumerable:!0})},ie=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Ue(e))!De.call(t,i)&&i!==r&&M(t,i,{get:()=>e[i],enumerable:!(n=Be(e,i))||n.enumerable});return t};var W=(t,e,r)=>(r=t!=null?Ce(Oe(t)):{},ie(e||!t||!t.__esModule?M(r,"default",{value:t,enumerable:!0}):r,t)),Ge=t=>ie(M({},"__esModule",{value:!0}),t);var se=P(G=>{"use strict";l();G.byteLength=He;G.toByteArray=ze;G.fromByteArray=Xe;var k=[],b=[],Ve=typeof Uint8Array!="undefined"?Uint8Array:Array,j="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(F=0,ae=j.length;F<ae;++F)k[F]=j[F],b[j.charCodeAt(F)]=F;var F,ae;b["-".charCodeAt(0)]=62;b["_".charCodeAt(0)]=63;function oe(t){var e=t.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=t.indexOf("=");r===-1&&(r=e);var n=r===e?0:4-r%4;return[r,n]}function He(t){var e=oe(t),r=e[0],n=e[1];return(r+n)*3/4-n}function qe(t,e,r){return(e+r)*3/4-r}function ze(t){var e,r=oe(t),n=r[0],i=r[1],a=new Ve(qe(t,n,i)),o=0,c=i>0?n-4:n,p;for(p=0;p<c;p+=4)e=b[t.charCodeAt(p)]<<18|b[t.charCodeAt(p+1)]<<12|b[t.charCodeAt(p+2)]<<6|b[t.charCodeAt(p+3)],a[o++]=e>>16&255,a[o++]=e>>8&255,a[o++]=e&255;return i===2&&(e=b[t.charCodeAt(p)]<<2|b[t.charCodeAt(p+1)]>>4,a[o++]=e&255),i===1&&(e=b[t.charCodeAt(p)]<<10|b[t.charCodeAt(p+1)]<<4|b[t.charCodeAt(p+2)]>>2,a[o++]=e>>8&255,a[o++]=e&255),a}function We(t){return k[t>>18&63]+k[t>>12&63]+k[t>>6&63]+k[t&63]}function je(t,e,r){for(var n,i=[],a=e;a<r;a+=3)n=(t[a]<<16&16711680)+(t[a+1]<<8&65280)+(t[a+2]&255),i.push(We(n));return i.join("")}function Xe(t){for(var e,r=t.length,n=r%3,i=[],a=16383,o=0,c=r-n;o<c;o+=a)i.push(je(t,o,o+a>c?c:o+a));return n===1?(e=t[r-1],i.push(k[e>>2]+k[e<<4&63]+"==")):n===2&&(e=(t[r-2]<<8)+t[r-1],i.push(k[e>>10]+k[e>>4&63]+k[e<<2&63]+"=")),i.join("")}});var le=P(X=>{l();X.read=function(t,e,r,n,i){var a,o,c=i*8-n-1,p=(1<<c)-1,d=p>>1,g=-7,u=r?i-1:0,w=r?-1:1,T=t[e+u];for(u+=w,a=T&(1<<-g)-1,T>>=-g,g+=c;g>0;a=a*256+t[e+u],u+=w,g-=8);for(o=a&(1<<-g)-1,a>>=-g,g+=n;g>0;o=o*256+t[e+u],u+=w,g-=8);if(a===0)a=1-d;else{if(a===p)return o?NaN:(T?-1:1)*(1/0);o=o+Math.pow(2,n),a=a-d}return(T?-1:1)*o*Math.pow(2,a-n)};X.write=function(t,e,r,n,i,a){var o,c,p,d=a*8-i-1,g=(1<<d)-1,u=g>>1,w=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,T=n?0:a-1,N=n?1:-1,z=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(c=isNaN(e)?1:0,o=g):(o=Math.floor(Math.log(e)/Math.LN2),e*(p=Math.pow(2,-o))<1&&(o--,p*=2),o+u>=1?e+=w/p:e+=w*Math.pow(2,1-u),e*p>=2&&(o++,p/=2),o+u>=g?(c=0,o=g):o+u>=1?(c=(e*p-1)*Math.pow(2,i),o=o+u):(c=e*Math.pow(2,u-1)*Math.pow(2,i),o=0));i>=8;t[r+T]=c&255,T+=N,c/=256,i-=8);for(o=o<<i|c,d+=i;d>0;t[r+T]=o&255,T+=N,o/=256,d-=8);t[r+T-N]|=z*128}});var ve=P(O=>{"use strict";l();var Y=se(),U=le(),ce=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;O.Buffer=s;O.SlowBuffer=$e;O.INSPECT_MAX_BYTES=50;var V=2147483647;O.kMaxLength=V;s.TYPED_ARRAY_SUPPORT=Ye();!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 Ye(){try{var t=new Uint8Array(1),e={foo:function(){return 42}};return Object.setPrototypeOf(e,Uint8Array.prototype),Object.setPrototypeOf(t,e),t.foo()===42}catch(r){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 I(t){if(t>V)throw new RangeError('The value "'+t+'" is invalid for option "size"');var e=new Uint8Array(t);return Object.setPrototypeOf(e,s.prototype),e}function s(t,e,r){if(typeof t=="number"){if(typeof e=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return J(t)}return de(t,e,r)}s.poolSize=8192;function de(t,e,r){if(typeof t=="string")return Qe(t,e);if(ArrayBuffer.isView(t))return Ze(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(A(t,ArrayBuffer)||t&&A(t.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(A(t,SharedArrayBuffer)||t&&A(t.buffer,SharedArrayBuffer)))return Q(t,e,r);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,e,r);var i=Je(t);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof t[Symbol.toPrimitive]=="function")return s.from(t[Symbol.toPrimitive]("string"),e,r);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,e,r){return de(t,e,r)};Object.setPrototypeOf(s.prototype,Uint8Array.prototype);Object.setPrototypeOf(s,Uint8Array);function ge(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 Ke(t,e,r){return ge(t),t<=0?I(t):e!==void 0?typeof r=="string"?I(t).fill(e,r):I(t).fill(e):I(t)}s.alloc=function(t,e,r){return Ke(t,e,r)};function J(t){return ge(t),I(t<0?0:$(t)|0)}s.allocUnsafe=function(t){return J(t)};s.allocUnsafeSlow=function(t){return J(t)};function Qe(t,e){if((typeof e!="string"||e==="")&&(e="utf8"),!s.isEncoding(e))throw new TypeError("Unknown encoding: "+e);var r=fe(t,e)|0,n=I(r),i=n.write(t,e);return i!==r&&(n=n.slice(0,i)),n}function K(t){for(var e=t.length<0?0:$(t.length)|0,r=I(e),n=0;n<e;n+=1)r[n]=t[n]&255;return r}function Ze(t){if(A(t,Uint8Array)){var e=new Uint8Array(t);return Q(e.buffer,e.byteOffset,e.byteLength)}return K(t)}function Q(t,e,r){if(e<0||t.byteLength<e)throw new RangeError('"offset" is outside of buffer bounds');if(t.byteLength<e+(r||0))throw new RangeError('"length" is outside of buffer bounds');var n;return e===void 0&&r===void 0?n=new Uint8Array(t):r===void 0?n=new Uint8Array(t,e):n=new Uint8Array(t,e,r),Object.setPrototypeOf(n,s.prototype),n}function Je(t){if(s.isBuffer(t)){var e=$(t.length)|0,r=I(e);return r.length===0||t.copy(r,0,0,e),r}if(t.length!==void 0)return typeof t.length!="number"||ee(t.length)?I(0):K(t);if(t.type==="Buffer"&&Array.isArray(t.data))return K(t.data)}function $(t){if(t>=V)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+V.toString(16)+" bytes");return t|0}function $e(t){return+t!=t&&(t=0),s.alloc(+t)}s.isBuffer=function(e){return e!=null&&e._isBuffer===!0&&e!==s.prototype};s.compare=function(e,r){if(A(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),A(r,Uint8Array)&&(r=s.from(r,r.offset,r.byteLength)),!s.isBuffer(e)||!s.isBuffer(r))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===r)return 0;for(var n=e.length,i=r.length,a=0,o=Math.min(n,i);a<o;++a)if(e[a]!==r[a]){n=e[a],i=r[a];break}return n<i?-1:i<n?1:0};s.isEncoding=function(e){switch(String(e).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(e,r){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(e.length===0)return s.alloc(0);var n;if(r===void 0)for(r=0,n=0;n<e.length;++n)r+=e[n].length;var i=s.allocUnsafe(r),a=0;for(n=0;n<e.length;++n){var o=e[n];if(A(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 fe(t,e){if(s.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||A(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 r=t.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&r===0)return 0;for(var i=!1;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return Z(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return Te(t).length;default:if(i)return n?-1:Z(t).length;e=(""+e).toLowerCase(),i=!0}}s.byteLength=fe;function er(t,e,r){var n=!1;if((e===void 0||e<0)&&(e=0),e>this.length||((r===void 0||r>this.length)&&(r=this.length),r<=0)||(r>>>=0,e>>>=0,r<=e))return"";for(t||(t="utf8");;)switch(t){case"hex":return pr(this,e,r);case"utf8":case"utf-8":return he(this,e,r);case"ascii":return lr(this,e,r);case"latin1":case"binary":return cr(this,e,r);case"base64":return or(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ur(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}s.prototype._isBuffer=!0;function C(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}s.prototype.swap16=function(){var e=this.length;if(e%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var r=0;r<e;r+=2)C(this,r,r+1);return this};s.prototype.swap32=function(){var e=this.length;if(e%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var r=0;r<e;r+=4)C(this,r,r+3),C(this,r+1,r+2);return this};s.prototype.swap64=function(){var e=this.length;if(e%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var r=0;r<e;r+=8)C(this,r,r+7),C(this,r+1,r+6),C(this,r+2,r+5),C(this,r+3,r+4);return this};s.prototype.toString=function(){var e=this.length;return e===0?"":arguments.length===0?he(this,0,e):er.apply(this,arguments)};s.prototype.toLocaleString=s.prototype.toString;s.prototype.equals=function(e){if(!s.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e?!0:s.compare(this,e)===0};s.prototype.inspect=function(){var e="",r=O.INSPECT_MAX_BYTES;return e=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(e+=" ... "),"<Buffer "+e+">"};ce&&(s.prototype[ce]=s.prototype.inspect);s.prototype.compare=function(e,r,n,i,a){if(A(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),!s.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(r===void 0&&(r=0),n===void 0&&(n=e?e.length:0),i===void 0&&(i=0),a===void 0&&(a=this.length),r<0||n>e.length||i<0||a>this.length)throw new RangeError("out of range index");if(i>=a&&r>=n)return 0;if(i>=a)return-1;if(r>=n)return 1;if(r>>>=0,n>>>=0,i>>>=0,a>>>=0,this===e)return 0;for(var o=a-i,c=n-r,p=Math.min(o,c),d=this.slice(i,a),g=e.slice(r,n),u=0;u<p;++u)if(d[u]!==g[u]){o=d[u],c=g[u];break}return o<c?-1:c<o?1:0};function me(t,e,r,n,i){if(t.length===0)return-1;if(typeof r=="string"?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,ee(r)&&(r=i?0:t.length-1),r<0&&(r=t.length+r),r>=t.length){if(i)return-1;r=t.length-1}else if(r<0)if(i)r=0;else return-1;if(typeof e=="string"&&(e=s.from(e,n)),s.isBuffer(e))return e.length===0?-1:pe(t,e,r,n,i);if(typeof e=="number")return e=e&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(t,e,r):Uint8Array.prototype.lastIndexOf.call(t,e,r):pe(t,[e],r,n,i);throw new TypeError("val must be string, number or Buffer")}function pe(t,e,r,n,i){var a=1,o=t.length,c=e.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(t.length<2||e.length<2)return-1;a=2,o/=2,c/=2,r/=2}function p(T,N){return a===1?T[N]:T.readUInt16BE(N*a)}var d;if(i){var g=-1;for(d=r;d<o;d++)if(p(t,d)===p(e,g===-1?0:d-g)){if(g===-1&&(g=d),d-g+1===c)return g*a}else g!==-1&&(d-=d-g),g=-1}else for(r+c>o&&(r=o-c),d=r;d>=0;d--){for(var u=!0,w=0;w<c;w++)if(p(t,d+w)!==p(e,w)){u=!1;break}if(u)return d}return-1}s.prototype.includes=function(e,r,n){return this.indexOf(e,r,n)!==-1};s.prototype.indexOf=function(e,r,n){return me(this,e,r,n,!0)};s.prototype.lastIndexOf=function(e,r,n){return me(this,e,r,n,!1)};function rr(t,e,r,n){r=Number(r)||0;var i=t.length-r;n?(n=Number(n),n>i&&(n=i)):n=i;var a=e.length;n>a/2&&(n=a/2);for(var o=0;o<n;++o){var c=parseInt(e.substr(o*2,2),16);if(ee(c))return o;t[r+o]=c}return o}function tr(t,e,r,n){return H(Z(e,t.length-r),t,r,n)}function nr(t,e,r,n){return H(fr(e),t,r,n)}function ir(t,e,r,n){return H(Te(e),t,r,n)}function ar(t,e,r,n){return H(mr(e,t.length-r),t,r,n)}s.prototype.write=function(e,r,n,i){if(r===void 0)i="utf8",n=this.length,r=0;else if(n===void 0&&typeof r=="string")i=r,n=this.length,r=0;else if(isFinite(r))r=r>>>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-r;if((n===void 0||n>a)&&(n=a),e.length>0&&(n<0||r<0)||r>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var o=!1;;)switch(i){case"hex":return rr(this,e,r,n);case"utf8":case"utf-8":return tr(this,e,r,n);case"ascii":case"latin1":case"binary":return nr(this,e,r,n);case"base64":return ir(this,e,r,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ar(this,e,r,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 or(t,e,r){return e===0&&r===t.length?Y.fromByteArray(t):Y.fromByteArray(t.slice(e,r))}function he(t,e,r){r=Math.min(t.length,r);for(var n=[],i=e;i<r;){var a=t[i],o=null,c=a>239?4:a>223?3:a>191?2:1;if(i+c<=r){var p,d,g,u;switch(c){case 1:a<128&&(o=a);break;case 2:p=t[i+1],(p&192)===128&&(u=(a&31)<<6|p&63,u>127&&(o=u));break;case 3:p=t[i+1],d=t[i+2],(p&192)===128&&(d&192)===128&&(u=(a&15)<<12|(p&63)<<6|d&63,u>2047&&(u<55296||u>57343)&&(o=u));break;case 4:p=t[i+1],d=t[i+2],g=t[i+3],(p&192)===128&&(d&192)===128&&(g&192)===128&&(u=(a&15)<<18|(p&63)<<12|(d&63)<<6|g&63,u>65535&&u<1114112&&(o=u))}}o===null?(o=65533,c=1):o>65535&&(o-=65536,n.push(o>>>10&1023|55296),o=56320|o&1023),n.push(o),i+=c}return sr(n)}var ue=4096;function sr(t){var e=t.length;if(e<=ue)return String.fromCharCode.apply(String,t);for(var r="",n=0;n<e;)r+=String.fromCharCode.apply(String,t.slice(n,n+=ue));return r}function lr(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;i<r;++i)n+=String.fromCharCode(t[i]&127);return n}function cr(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;i<r;++i)n+=String.fromCharCode(t[i]);return n}function pr(t,e,r){var n=t.length;(!e||e<0)&&(e=0),(!r||r<0||r>n)&&(r=n);for(var i="",a=e;a<r;++a)i+=hr[t[a]];return i}function ur(t,e,r){for(var n=t.slice(e,r),i="",a=0;a<n.length-1;a+=2)i+=String.fromCharCode(n[a]+n[a+1]*256);return i}s.prototype.slice=function(e,r){var n=this.length;e=~~e,r=r===void 0?n:~~r,e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),r<0?(r+=n,r<0&&(r=0)):r>n&&(r=n),r<e&&(r=e);var i=this.subarray(e,r);return Object.setPrototypeOf(i,s.prototype),i};function x(t,e,r){if(t%1!==0||t<0)throw new RangeError("offset is not uint");if(t+e>r)throw new RangeError("Trying to access beyond buffer length")}s.prototype.readUintLE=s.prototype.readUIntLE=function(e,r,n){e=e>>>0,r=r>>>0,n||x(e,r,this.length);for(var i=this[e],a=1,o=0;++o<r&&(a*=256);)i+=this[e+o]*a;return i};s.prototype.readUintBE=s.prototype.readUIntBE=function(e,r,n){e=e>>>0,r=r>>>0,n||x(e,r,this.length);for(var i=this[e+--r],a=1;r>0&&(a*=256);)i+=this[e+--r]*a;return i};s.prototype.readUint8=s.prototype.readUInt8=function(e,r){return e=e>>>0,r||x(e,1,this.length),this[e]};s.prototype.readUint16LE=s.prototype.readUInt16LE=function(e,r){return e=e>>>0,r||x(e,2,this.length),this[e]|this[e+1]<<8};s.prototype.readUint16BE=s.prototype.readUInt16BE=function(e,r){return e=e>>>0,r||x(e,2,this.length),this[e]<<8|this[e+1]};s.prototype.readUint32LE=s.prototype.readUInt32LE=function(e,r){return e=e>>>0,r||x(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+this[e+3]*16777216};s.prototype.readUint32BE=s.prototype.readUInt32BE=function(e,r){return e=e>>>0,r||x(e,4,this.length),this[e]*16777216+(this[e+1]<<16|this[e+2]<<8|this[e+3])};s.prototype.readIntLE=function(e,r,n){e=e>>>0,r=r>>>0,n||x(e,r,this.length);for(var i=this[e],a=1,o=0;++o<r&&(a*=256);)i+=this[e+o]*a;return a*=128,i>=a&&(i-=Math.pow(2,8*r)),i};s.prototype.readIntBE=function(e,r,n){e=e>>>0,r=r>>>0,n||x(e,r,this.length);for(var i=r,a=1,o=this[e+--i];i>0&&(a*=256);)o+=this[e+--i]*a;return a*=128,o>=a&&(o-=Math.pow(2,8*r)),o};s.prototype.readInt8=function(e,r){return e=e>>>0,r||x(e,1,this.length),this[e]&128?(255-this[e]+1)*-1:this[e]};s.prototype.readInt16LE=function(e,r){e=e>>>0,r||x(e,2,this.length);var n=this[e]|this[e+1]<<8;return n&32768?n|4294901760:n};s.prototype.readInt16BE=function(e,r){e=e>>>0,r||x(e,2,this.length);var n=this[e+1]|this[e]<<8;return n&32768?n|4294901760:n};s.prototype.readInt32LE=function(e,r){return e=e>>>0,r||x(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24};s.prototype.readInt32BE=function(e,r){return e=e>>>0,r||x(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]};s.prototype.readFloatLE=function(e,r){return e=e>>>0,r||x(e,4,this.length),U.read(this,e,!0,23,4)};s.prototype.readFloatBE=function(e,r){return e=e>>>0,r||x(e,4,this.length),U.read(this,e,!1,23,4)};s.prototype.readDoubleLE=function(e,r){return e=e>>>0,r||x(e,8,this.length),U.read(this,e,!0,52,8)};s.prototype.readDoubleBE=function(e,r){return e=e>>>0,r||x(e,8,this.length),U.read(this,e,!1,52,8)};function v(t,e,r,n,i,a){if(!s.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||e<a)throw new RangeError('"value" argument is out of bounds');if(r+n>t.length)throw new RangeError("Index out of range")}s.prototype.writeUintLE=s.prototype.writeUIntLE=function(e,r,n,i){if(e=+e,r=r>>>0,n=n>>>0,!i){var a=Math.pow(2,8*n)-1;v(this,e,r,n,a,0)}var o=1,c=0;for(this[r]=e&255;++c<n&&(o*=256);)this[r+c]=e/o&255;return r+n};s.prototype.writeUintBE=s.prototype.writeUIntBE=function(e,r,n,i){if(e=+e,r=r>>>0,n=n>>>0,!i){var a=Math.pow(2,8*n)-1;v(this,e,r,n,a,0)}var o=n-1,c=1;for(this[r+o]=e&255;--o>=0&&(c*=256);)this[r+o]=e/c&255;return r+n};s.prototype.writeUint8=s.prototype.writeUInt8=function(e,r,n){return e=+e,r=r>>>0,n||v(this,e,r,1,255,0),this[r]=e&255,r+1};s.prototype.writeUint16LE=s.prototype.writeUInt16LE=function(e,r,n){return e=+e,r=r>>>0,n||v(this,e,r,2,65535,0),this[r]=e&255,this[r+1]=e>>>8,r+2};s.prototype.writeUint16BE=s.prototype.writeUInt16BE=function(e,r,n){return e=+e,r=r>>>0,n||v(this,e,r,2,65535,0),this[r]=e>>>8,this[r+1]=e&255,r+2};s.prototype.writeUint32LE=s.prototype.writeUInt32LE=function(e,r,n){return e=+e,r=r>>>0,n||v(this,e,r,4,4294967295,0),this[r+3]=e>>>24,this[r+2]=e>>>16,this[r+1]=e>>>8,this[r]=e&255,r+4};s.prototype.writeUint32BE=s.prototype.writeUInt32BE=function(e,r,n){return e=+e,r=r>>>0,n||v(this,e,r,4,4294967295,0),this[r]=e>>>24,this[r+1]=e>>>16,this[r+2]=e>>>8,this[r+3]=e&255,r+4};s.prototype.writeIntLE=function(e,r,n,i){if(e=+e,r=r>>>0,!i){var a=Math.pow(2,8*n-1);v(this,e,r,n,a-1,-a)}var o=0,c=1,p=0;for(this[r]=e&255;++o<n&&(c*=256);)e<0&&p===0&&this[r+o-1]!==0&&(p=1),this[r+o]=(e/c>>0)-p&255;return r+n};s.prototype.writeIntBE=function(e,r,n,i){if(e=+e,r=r>>>0,!i){var a=Math.pow(2,8*n-1);v(this,e,r,n,a-1,-a)}var o=n-1,c=1,p=0;for(this[r+o]=e&255;--o>=0&&(c*=256);)e<0&&p===0&&this[r+o+1]!==0&&(p=1),this[r+o]=(e/c>>0)-p&255;return r+n};s.prototype.writeInt8=function(e,r,n){return e=+e,r=r>>>0,n||v(this,e,r,1,127,-128),e<0&&(e=255+e+1),this[r]=e&255,r+1};s.prototype.writeInt16LE=function(e,r,n){return e=+e,r=r>>>0,n||v(this,e,r,2,32767,-32768),this[r]=e&255,this[r+1]=e>>>8,r+2};s.prototype.writeInt16BE=function(e,r,n){return e=+e,r=r>>>0,n||v(this,e,r,2,32767,-32768),this[r]=e>>>8,this[r+1]=e&255,r+2};s.prototype.writeInt32LE=function(e,r,n){return e=+e,r=r>>>0,n||v(this,e,r,4,2147483647,-2147483648),this[r]=e&255,this[r+1]=e>>>8,this[r+2]=e>>>16,this[r+3]=e>>>24,r+4};s.prototype.writeInt32BE=function(e,r,n){return e=+e,r=r>>>0,n||v(this,e,r,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[r]=e>>>24,this[r+1]=e>>>16,this[r+2]=e>>>8,this[r+3]=e&255,r+4};function ye(t,e,r,n,i,a){if(r+n>t.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function xe(t,e,r,n,i){return e=+e,r=r>>>0,i||ye(t,e,r,4,34028234663852886e22,-34028234663852886e22),U.write(t,e,r,n,23,4),r+4}s.prototype.writeFloatLE=function(e,r,n){return xe(this,e,r,!0,n)};s.prototype.writeFloatBE=function(e,r,n){return xe(this,e,r,!1,n)};function we(t,e,r,n,i){return e=+e,r=r>>>0,i||ye(t,e,r,8,17976931348623157e292,-17976931348623157e292),U.write(t,e,r,n,52,8),r+8}s.prototype.writeDoubleLE=function(e,r,n){return we(this,e,r,!0,n)};s.prototype.writeDoubleBE=function(e,r,n){return we(this,e,r,!1,n)};s.prototype.copy=function(e,r,n,i){if(!s.isBuffer(e))throw new TypeError("argument should be a Buffer");if(n||(n=0),!i&&i!==0&&(i=this.length),r>=e.length&&(r=e.length),r||(r=0),i>0&&i<n&&(i=n),i===n||e.length===0||this.length===0)return 0;if(r<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),e.length-r<i-n&&(i=e.length-r+n);var a=i-n;return this===e&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(r,n,i):Uint8Array.prototype.set.call(e,this.subarray(n,i),r),a};s.prototype.fill=function(e,r,n,i){if(typeof e=="string"){if(typeof r=="string"?(i=r,r=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(e.length===1){var a=e.charCodeAt(0);(i==="utf8"&&a<128||i==="latin1")&&(e=a)}}else typeof e=="number"?e=e&255:typeof e=="boolean"&&(e=Number(e));if(r<0||this.length<r||this.length<n)throw new RangeError("Out of range index");if(n<=r)return this;r=r>>>0,n=n===void 0?this.length:n>>>0,e||(e=0);var o;if(typeof e=="number")for(o=r;o<n;++o)this[o]=e;else{var c=s.isBuffer(e)?e:s.from(e,i),p=c.length;if(p===0)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(o=0;o<n-r;++o)this[o+r]=c[o%p]}return this};var dr=/[^+/0-9A-Za-z-_]/g;function gr(t){if(t=t.split("=")[0],t=t.trim().replace(dr,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function Z(t,e){e=e||1/0;for(var r,n=t.length,i=null,a=[],o=0;o<n;++o){if(r=t.charCodeAt(o),r>55295&&r<57344){if(!i){if(r>56319){(e-=3)>-1&&a.push(239,191,189);continue}else if(o+1===n){(e-=3)>-1&&a.push(239,191,189);continue}i=r;continue}if(r<56320){(e-=3)>-1&&a.push(239,191,189),i=r;continue}r=(i-55296<<10|r-56320)+65536}else i&&(e-=3)>-1&&a.push(239,191,189);if(i=null,r<128){if((e-=1)<0)break;a.push(r)}else if(r<2048){if((e-=2)<0)break;a.push(r>>6|192,r&63|128)}else if(r<65536){if((e-=3)<0)break;a.push(r>>12|224,r>>6&63|128,r&63|128)}else if(r<1114112){if((e-=4)<0)break;a.push(r>>18|240,r>>12&63|128,r>>6&63|128,r&63|128)}else throw new Error("Invalid code point")}return a}function fr(t){for(var e=[],r=0;r<t.length;++r)e.push(t.charCodeAt(r)&255);return e}function mr(t,e){for(var r,n,i,a=[],o=0;o<t.length&&!((e-=2)<0);++o)r=t.charCodeAt(o),n=r>>8,i=r%256,a.push(i),a.push(n);return a}function Te(t){return Y.toByteArray(gr(t))}function H(t,e,r,n){for(var i=0;i<n&&!(i+r>=e.length||i>=t.length);++i)e[i+r]=t[i];return i}function A(t,e){return t instanceof e||t!=null&&t.constructor!=null&&t.constructor.name!=null&&t.constructor.name===e.name}function ee(t){return t!==t}var hr=function(){for(var t="0123456789abcdef",e=new Array(256),r=0;r<16;++r)for(var n=r*16,i=0;i<16;++i)e[n+i]=t[r]+t[i];return e}()});var Re=P((Sr,_e)=>{l();var y=_e.exports={},_,R;function re(){throw new Error("setTimeout has not been defined")}function te(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?_=setTimeout:_=re}catch(t){_=re}try{typeof clearTimeout=="function"?R=clearTimeout:R=te}catch(t){R=te}})();function be(t){if(_===setTimeout)return setTimeout(t,0);if((_===re||!_)&&setTimeout)return _=setTimeout,setTimeout(t,0);try{return _(t,0)}catch(e){try{return _.call(null,t,0)}catch(r){return _.call(this,t,0)}}}function yr(t){if(R===clearTimeout)return clearTimeout(t);if((R===te||!R)&&clearTimeout)return R=clearTimeout,clearTimeout(t);try{return R(t)}catch(e){try{return R.call(null,t)}catch(r){return R.call(this,t)}}}var L=[],D=!1,B,q=-1;function xr(){!D||!B||(D=!1,B.length?L=B.concat(L):q=-1,L.length&&ke())}function ke(){if(!D){var t=be(xr);D=!0;for(var e=L.length;e;){for(B=L,L=[];++q<e;)B&&B[q].run();q=-1,e=L.length}B=null,D=!1,yr(t)}}y.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)e[r-1]=arguments[r];L.push(new Ae(t,e)),L.length===1&&!D&&be(ke)};function Ae(t,e){this.fun=t,this.array=e}Ae.prototype.run=function(){this.fun.apply(null,this.array)};y.title="browser";y.browser=!0;y.env={};y.argv=[];y.version="";y.versions={};function E(){}y.on=E;y.addListener=E;y.once=E;y.off=E;y.removeListener=E;y.removeAllListeners=E;y.emit=E;y.prependListener=E;y.prependOnceListener=E;y.listeners=function(t){return[]};y.binding=function(t){throw new Error("process.binding is not supported")};y.cwd=function(){return"/"};y.chdir=function(t){throw new Error("process.chdir is not supported")};y.umask=function(){return 0}});var f,m,Ir,l=Me(()=>{f=W(ve()),m=W(Re()),Ir=function(t){function e(){var n=this||self;return delete t.prototype.__magic__,n}if(typeof globalThis=="object")return globalThis;if(this)return e();t.defineProperty(t.prototype,"__magic__",{configurable:!0,get:e});var r=__magic__;return r}(Object)});var br={};Pe(br,{esdtNftUnwrapper:()=>Tr,mexUnwrapper:()=>vr,stakeUnwrapper:()=>wr});module.exports=Ge(br);l();l();l();var wr=t=>{var e,r,n,i,a,o,c,p,d,g,u,w;switch(t.name){case"delegate":case"stake":return["Delegate",{egldValue:(e=t.arguments)==null?void 0:e.value},"to staking provider",{providerName:(r=t.arguments)==null?void 0:r.providerName,providerAvatar:(n=t.arguments)==null?void 0:n.providerAvatar}];case"unDelegate":return["Undelegate",{egldValue:(i=t.arguments)==null?void 0:i.value},"from staking provider",{providerName:(a=t.arguments)==null?void 0:a.providerName,providerAvatar:(o=t.arguments)==null?void 0:o.providerAvatar}];case"claimRewards":return["Claim rewards from staking provider",{providerName:(c=t.arguments)==null?void 0:c.providerName,providerAvatar:(p=t.arguments)==null?void 0:p.providerAvatar}];case"reDelegateRewards":return["Redelegate rewards from staking provider",{providerName:(d=t.arguments)==null?void 0:d.providerName,providerAvatar:(g=t.arguments)==null?void 0:g.providerAvatar}];case"withdraw":return["Withdraw from staking provider",{providerName:(u=t.arguments)==null?void 0:u.providerName,providerAvatar:(w=t.arguments)==null?void 0:w.providerAvatar}];default:return[]}};l();var Tr=t=>{var e,r;switch(t.name){case"transfer":return["Transfer",{token:(e=t.arguments)==null?void 0:e.transfers},"to",{address:(r=t.arguments)==null?void 0:r.receiver}];default:return[]}};l();var Fe=W(require("bignumber.js"));l();l();l();l();l();l();l();l();l();l();l();l();l();l();l();l();l();l();var ne={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:Ie,egldLabel:st}=ne["devnet"],{chainId:Le,egldLabel:lt}=ne["testnet"],{chainId:Ee,egldLabel:ct}=ne["mainnet"];var pt={["devnet"]:Ie,["testnet"]:Le,["mainnet"]:Ee},ut={[Ie]:"devnet",[Le]:"testnet",[Ee]:"mainnet"};l();l();var S=require("@multiversx/sdk-web-wallet-provider");var Ne="0";var vr=t=>{var e,r,n,i,a,o,c,p,d,g,u,w;switch(t.name){case"claimLockedAssets":return["Claim locked assets"];case"enterFarm":case"enterFarmProxy":return["Enter farm with",{token:(e=t.arguments)==null?void 0:e.transfers}];case"enterFarmAndLockRewards":case"enterFarmAndLockRewardsProxy":return["Enter farm and lock rewards with",{token:(r=t.arguments)==null?void 0:r.transfers}];case"exitFarm":case"exitFarmProxy":return["Exit farm with",{token:(n=t.arguments)==null?void 0:n.transfers}];case"claimRewards":case"claimRewardsProxy":return["Claim rewards",{token:(i=t.arguments)==null?void 0:i.transfers}];case"compoundRewards":case"compoundRewardsProxy":return["Reinvest rewards",{token:(a=t.arguments)==null?void 0:a.transfers}];case"swapTokensFixedInput":case"swap":return t.description?[t.description]:[];case"swapTokensFixedOutput":return t.description?[t.description]:[];case"addLiquidity":case"addLiquidityProxy":return["Added liquidity for",{token:[(o=t.arguments)==null?void 0:o.transfers[0]]},"and",{token:[(c=t.arguments)==null?void 0:c.transfers[1]]}];case"removeLiquidity":case"removeLiquidityProxy":return["Removed liquidity with ",{token:(p=t.arguments)==null?void 0:p.transfers}];case"mergeLockedAssetTokens":let T=Ne;if((d=t.arguments)!=null&&d.transfers){let N=t.arguments.transfers.map(({value:z})=>z);T=Fe.default.sum.apply(null,N).toString(10)}return[`Merge ${(g=t.arguments)==null?void 0:g.transfers.length}`,{tokenNoLink:[(u=t.arguments)==null?void 0:u.transfers[0]]},"positions into a single",{tokenNoLink:[(w=t.arguments)==null?void 0:w.transfers[0]]},"position of value",{value:T}];case"wrapEgld":case"unwrapEgld":default:return t.description?[t.description]:[]}};0&&(module.exports={esdtNftUnwrapper,mexUnwrapper,stakeUnwrapper});
2
2
  /*!
3
3
  * The buffer module from node.js, for the browser.
4
4
  *
@@ -1,4 +1,4 @@
1
- "use strict";var De=Object.create;var M=Object.defineProperty;var Oe=Object.getOwnPropertyDescriptor;var Me=Object.getOwnPropertyNames;var Pe=Object.getPrototypeOf,Ge=Object.prototype.hasOwnProperty;var Ve=(t,e)=>()=>(t&&(e=t(t=0)),e);var P=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),He=(t,e)=>{for(var r in e)M(t,r,{get:e[r],enumerable:!0})},ie=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Me(e))!Ge.call(t,i)&&i!==r&&M(t,i,{get:()=>e[i],enumerable:!(n=Oe(e,i))||n.enumerable});return t};var W=(t,e,r)=>(r=t!=null?De(Pe(t)):{},ie(e||!t||!t.__esModule?M(r,"default",{value:t,enumerable:!0}):r,t)),qe=t=>ie(M({},"__esModule",{value:!0}),t);var se=P(G=>{"use strict";l();G.byteLength=We;G.toByteArray=Xe;G.fromByteArray=Qe;var k=[],b=[],ze=typeof Uint8Array!="undefined"?Uint8Array:Array,j="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(F=0,ae=j.length;F<ae;++F)k[F]=j[F],b[j.charCodeAt(F)]=F;var F,ae;b["-".charCodeAt(0)]=62;b["_".charCodeAt(0)]=63;function oe(t){var e=t.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=t.indexOf("=");r===-1&&(r=e);var n=r===e?0:4-r%4;return[r,n]}function We(t){var e=oe(t),r=e[0],n=e[1];return(r+n)*3/4-n}function je(t,e,r){return(e+r)*3/4-r}function Xe(t){var e,r=oe(t),n=r[0],i=r[1],a=new ze(je(t,n,i)),o=0,c=i>0?n-4:n,p;for(p=0;p<c;p+=4)e=b[t.charCodeAt(p)]<<18|b[t.charCodeAt(p+1)]<<12|b[t.charCodeAt(p+2)]<<6|b[t.charCodeAt(p+3)],a[o++]=e>>16&255,a[o++]=e>>8&255,a[o++]=e&255;return i===2&&(e=b[t.charCodeAt(p)]<<2|b[t.charCodeAt(p+1)]>>4,a[o++]=e&255),i===1&&(e=b[t.charCodeAt(p)]<<10|b[t.charCodeAt(p+1)]<<4|b[t.charCodeAt(p+2)]>>2,a[o++]=e>>8&255,a[o++]=e&255),a}function Ye(t){return k[t>>18&63]+k[t>>12&63]+k[t>>6&63]+k[t&63]}function Ke(t,e,r){for(var n,i=[],a=e;a<r;a+=3)n=(t[a]<<16&16711680)+(t[a+1]<<8&65280)+(t[a+2]&255),i.push(Ye(n));return i.join("")}function Qe(t){for(var e,r=t.length,n=r%3,i=[],a=16383,o=0,c=r-n;o<c;o+=a)i.push(Ke(t,o,o+a>c?c:o+a));return n===1?(e=t[r-1],i.push(k[e>>2]+k[e<<4&63]+"==")):n===2&&(e=(t[r-2]<<8)+t[r-1],i.push(k[e>>10]+k[e>>4&63]+k[e<<2&63]+"=")),i.join("")}});var le=P(X=>{l();X.read=function(t,e,r,n,i){var a,o,c=i*8-n-1,p=(1<<c)-1,d=p>>1,g=-7,u=r?i-1:0,w=r?-1:1,T=t[e+u];for(u+=w,a=T&(1<<-g)-1,T>>=-g,g+=c;g>0;a=a*256+t[e+u],u+=w,g-=8);for(o=a&(1<<-g)-1,a>>=-g,g+=n;g>0;o=o*256+t[e+u],u+=w,g-=8);if(a===0)a=1-d;else{if(a===p)return o?NaN:(T?-1:1)*(1/0);o=o+Math.pow(2,n),a=a-d}return(T?-1:1)*o*Math.pow(2,a-n)};X.write=function(t,e,r,n,i,a){var o,c,p,d=a*8-i-1,g=(1<<d)-1,u=g>>1,w=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,T=n?0:a-1,N=n?1:-1,z=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(c=isNaN(e)?1:0,o=g):(o=Math.floor(Math.log(e)/Math.LN2),e*(p=Math.pow(2,-o))<1&&(o--,p*=2),o+u>=1?e+=w/p:e+=w*Math.pow(2,1-u),e*p>=2&&(o++,p/=2),o+u>=g?(c=0,o=g):o+u>=1?(c=(e*p-1)*Math.pow(2,i),o=o+u):(c=e*Math.pow(2,u-1)*Math.pow(2,i),o=0));i>=8;t[r+T]=c&255,T+=N,c/=256,i-=8);for(o=o<<i|c,d+=i;d>0;t[r+T]=o&255,T+=N,o/=256,d-=8);t[r+T-N]|=z*128}});var ve=P(D=>{"use strict";l();var Y=se(),B=le(),ce=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;D.Buffer=s;D.SlowBuffer=tr;D.INSPECT_MAX_BYTES=50;var V=2147483647;D.kMaxLength=V;s.TYPED_ARRAY_SUPPORT=Ze();!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 Ze(){try{var t=new Uint8Array(1),e={foo:function(){return 42}};return Object.setPrototypeOf(e,Uint8Array.prototype),Object.setPrototypeOf(t,e),t.foo()===42}catch(r){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 I(t){if(t>V)throw new RangeError('The value "'+t+'" is invalid for option "size"');var e=new Uint8Array(t);return Object.setPrototypeOf(e,s.prototype),e}function s(t,e,r){if(typeof t=="number"){if(typeof e=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return J(t)}return de(t,e,r)}s.poolSize=8192;function de(t,e,r){if(typeof t=="string")return $e(t,e);if(ArrayBuffer.isView(t))return er(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(A(t,ArrayBuffer)||t&&A(t.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(A(t,SharedArrayBuffer)||t&&A(t.buffer,SharedArrayBuffer)))return Q(t,e,r);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,e,r);var i=rr(t);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof t[Symbol.toPrimitive]=="function")return s.from(t[Symbol.toPrimitive]("string"),e,r);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,e,r){return de(t,e,r)};Object.setPrototypeOf(s.prototype,Uint8Array.prototype);Object.setPrototypeOf(s,Uint8Array);function ge(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 Je(t,e,r){return ge(t),t<=0?I(t):e!==void 0?typeof r=="string"?I(t).fill(e,r):I(t).fill(e):I(t)}s.alloc=function(t,e,r){return Je(t,e,r)};function J(t){return ge(t),I(t<0?0:$(t)|0)}s.allocUnsafe=function(t){return J(t)};s.allocUnsafeSlow=function(t){return J(t)};function $e(t,e){if((typeof e!="string"||e==="")&&(e="utf8"),!s.isEncoding(e))throw new TypeError("Unknown encoding: "+e);var r=me(t,e)|0,n=I(r),i=n.write(t,e);return i!==r&&(n=n.slice(0,i)),n}function K(t){for(var e=t.length<0?0:$(t.length)|0,r=I(e),n=0;n<e;n+=1)r[n]=t[n]&255;return r}function er(t){if(A(t,Uint8Array)){var e=new Uint8Array(t);return Q(e.buffer,e.byteOffset,e.byteLength)}return K(t)}function Q(t,e,r){if(e<0||t.byteLength<e)throw new RangeError('"offset" is outside of buffer bounds');if(t.byteLength<e+(r||0))throw new RangeError('"length" is outside of buffer bounds');var n;return e===void 0&&r===void 0?n=new Uint8Array(t):r===void 0?n=new Uint8Array(t,e):n=new Uint8Array(t,e,r),Object.setPrototypeOf(n,s.prototype),n}function rr(t){if(s.isBuffer(t)){var e=$(t.length)|0,r=I(e);return r.length===0||t.copy(r,0,0,e),r}if(t.length!==void 0)return typeof t.length!="number"||ee(t.length)?I(0):K(t);if(t.type==="Buffer"&&Array.isArray(t.data))return K(t.data)}function $(t){if(t>=V)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+V.toString(16)+" bytes");return t|0}function tr(t){return+t!=t&&(t=0),s.alloc(+t)}s.isBuffer=function(e){return e!=null&&e._isBuffer===!0&&e!==s.prototype};s.compare=function(e,r){if(A(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),A(r,Uint8Array)&&(r=s.from(r,r.offset,r.byteLength)),!s.isBuffer(e)||!s.isBuffer(r))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===r)return 0;for(var n=e.length,i=r.length,a=0,o=Math.min(n,i);a<o;++a)if(e[a]!==r[a]){n=e[a],i=r[a];break}return n<i?-1:i<n?1:0};s.isEncoding=function(e){switch(String(e).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(e,r){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(e.length===0)return s.alloc(0);var n;if(r===void 0)for(r=0,n=0;n<e.length;++n)r+=e[n].length;var i=s.allocUnsafe(r),a=0;for(n=0;n<e.length;++n){var o=e[n];if(A(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 me(t,e){if(s.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||A(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 r=t.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&r===0)return 0;for(var i=!1;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return Z(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return Te(t).length;default:if(i)return n?-1:Z(t).length;e=(""+e).toLowerCase(),i=!0}}s.byteLength=me;function nr(t,e,r){var n=!1;if((e===void 0||e<0)&&(e=0),e>this.length||((r===void 0||r>this.length)&&(r=this.length),r<=0)||(r>>>=0,e>>>=0,r<=e))return"";for(t||(t="utf8");;)switch(t){case"hex":return gr(this,e,r);case"utf8":case"utf-8":return he(this,e,r);case"ascii":return ur(this,e,r);case"latin1":case"binary":return dr(this,e,r);case"base64":return cr(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return mr(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}s.prototype._isBuffer=!0;function C(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}s.prototype.swap16=function(){var e=this.length;if(e%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var r=0;r<e;r+=2)C(this,r,r+1);return this};s.prototype.swap32=function(){var e=this.length;if(e%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var r=0;r<e;r+=4)C(this,r,r+3),C(this,r+1,r+2);return this};s.prototype.swap64=function(){var e=this.length;if(e%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var r=0;r<e;r+=8)C(this,r,r+7),C(this,r+1,r+6),C(this,r+2,r+5),C(this,r+3,r+4);return this};s.prototype.toString=function(){var e=this.length;return e===0?"":arguments.length===0?he(this,0,e):nr.apply(this,arguments)};s.prototype.toLocaleString=s.prototype.toString;s.prototype.equals=function(e){if(!s.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e?!0:s.compare(this,e)===0};s.prototype.inspect=function(){var e="",r=D.INSPECT_MAX_BYTES;return e=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(e+=" ... "),"<Buffer "+e+">"};ce&&(s.prototype[ce]=s.prototype.inspect);s.prototype.compare=function(e,r,n,i,a){if(A(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),!s.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(r===void 0&&(r=0),n===void 0&&(n=e?e.length:0),i===void 0&&(i=0),a===void 0&&(a=this.length),r<0||n>e.length||i<0||a>this.length)throw new RangeError("out of range index");if(i>=a&&r>=n)return 0;if(i>=a)return-1;if(r>=n)return 1;if(r>>>=0,n>>>=0,i>>>=0,a>>>=0,this===e)return 0;for(var o=a-i,c=n-r,p=Math.min(o,c),d=this.slice(i,a),g=e.slice(r,n),u=0;u<p;++u)if(d[u]!==g[u]){o=d[u],c=g[u];break}return o<c?-1:c<o?1:0};function fe(t,e,r,n,i){if(t.length===0)return-1;if(typeof r=="string"?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,ee(r)&&(r=i?0:t.length-1),r<0&&(r=t.length+r),r>=t.length){if(i)return-1;r=t.length-1}else if(r<0)if(i)r=0;else return-1;if(typeof e=="string"&&(e=s.from(e,n)),s.isBuffer(e))return e.length===0?-1:pe(t,e,r,n,i);if(typeof e=="number")return e=e&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(t,e,r):Uint8Array.prototype.lastIndexOf.call(t,e,r):pe(t,[e],r,n,i);throw new TypeError("val must be string, number or Buffer")}function pe(t,e,r,n,i){var a=1,o=t.length,c=e.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(t.length<2||e.length<2)return-1;a=2,o/=2,c/=2,r/=2}function p(T,N){return a===1?T[N]:T.readUInt16BE(N*a)}var d;if(i){var g=-1;for(d=r;d<o;d++)if(p(t,d)===p(e,g===-1?0:d-g)){if(g===-1&&(g=d),d-g+1===c)return g*a}else g!==-1&&(d-=d-g),g=-1}else for(r+c>o&&(r=o-c),d=r;d>=0;d--){for(var u=!0,w=0;w<c;w++)if(p(t,d+w)!==p(e,w)){u=!1;break}if(u)return d}return-1}s.prototype.includes=function(e,r,n){return this.indexOf(e,r,n)!==-1};s.prototype.indexOf=function(e,r,n){return fe(this,e,r,n,!0)};s.prototype.lastIndexOf=function(e,r,n){return fe(this,e,r,n,!1)};function ir(t,e,r,n){r=Number(r)||0;var i=t.length-r;n?(n=Number(n),n>i&&(n=i)):n=i;var a=e.length;n>a/2&&(n=a/2);for(var o=0;o<n;++o){var c=parseInt(e.substr(o*2,2),16);if(ee(c))return o;t[r+o]=c}return o}function ar(t,e,r,n){return H(Z(e,t.length-r),t,r,n)}function or(t,e,r,n){return H(yr(e),t,r,n)}function sr(t,e,r,n){return H(Te(e),t,r,n)}function lr(t,e,r,n){return H(xr(e,t.length-r),t,r,n)}s.prototype.write=function(e,r,n,i){if(r===void 0)i="utf8",n=this.length,r=0;else if(n===void 0&&typeof r=="string")i=r,n=this.length,r=0;else if(isFinite(r))r=r>>>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-r;if((n===void 0||n>a)&&(n=a),e.length>0&&(n<0||r<0)||r>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var o=!1;;)switch(i){case"hex":return ir(this,e,r,n);case"utf8":case"utf-8":return ar(this,e,r,n);case"ascii":case"latin1":case"binary":return or(this,e,r,n);case"base64":return sr(this,e,r,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return lr(this,e,r,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 cr(t,e,r){return e===0&&r===t.length?Y.fromByteArray(t):Y.fromByteArray(t.slice(e,r))}function he(t,e,r){r=Math.min(t.length,r);for(var n=[],i=e;i<r;){var a=t[i],o=null,c=a>239?4:a>223?3:a>191?2:1;if(i+c<=r){var p,d,g,u;switch(c){case 1:a<128&&(o=a);break;case 2:p=t[i+1],(p&192)===128&&(u=(a&31)<<6|p&63,u>127&&(o=u));break;case 3:p=t[i+1],d=t[i+2],(p&192)===128&&(d&192)===128&&(u=(a&15)<<12|(p&63)<<6|d&63,u>2047&&(u<55296||u>57343)&&(o=u));break;case 4:p=t[i+1],d=t[i+2],g=t[i+3],(p&192)===128&&(d&192)===128&&(g&192)===128&&(u=(a&15)<<18|(p&63)<<12|(d&63)<<6|g&63,u>65535&&u<1114112&&(o=u))}}o===null?(o=65533,c=1):o>65535&&(o-=65536,n.push(o>>>10&1023|55296),o=56320|o&1023),n.push(o),i+=c}return pr(n)}var ue=4096;function pr(t){var e=t.length;if(e<=ue)return String.fromCharCode.apply(String,t);for(var r="",n=0;n<e;)r+=String.fromCharCode.apply(String,t.slice(n,n+=ue));return r}function ur(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;i<r;++i)n+=String.fromCharCode(t[i]&127);return n}function dr(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;i<r;++i)n+=String.fromCharCode(t[i]);return n}function gr(t,e,r){var n=t.length;(!e||e<0)&&(e=0),(!r||r<0||r>n)&&(r=n);for(var i="",a=e;a<r;++a)i+=wr[t[a]];return i}function mr(t,e,r){for(var n=t.slice(e,r),i="",a=0;a<n.length-1;a+=2)i+=String.fromCharCode(n[a]+n[a+1]*256);return i}s.prototype.slice=function(e,r){var n=this.length;e=~~e,r=r===void 0?n:~~r,e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),r<0?(r+=n,r<0&&(r=0)):r>n&&(r=n),r<e&&(r=e);var i=this.subarray(e,r);return Object.setPrototypeOf(i,s.prototype),i};function x(t,e,r){if(t%1!==0||t<0)throw new RangeError("offset is not uint");if(t+e>r)throw new RangeError("Trying to access beyond buffer length")}s.prototype.readUintLE=s.prototype.readUIntLE=function(e,r,n){e=e>>>0,r=r>>>0,n||x(e,r,this.length);for(var i=this[e],a=1,o=0;++o<r&&(a*=256);)i+=this[e+o]*a;return i};s.prototype.readUintBE=s.prototype.readUIntBE=function(e,r,n){e=e>>>0,r=r>>>0,n||x(e,r,this.length);for(var i=this[e+--r],a=1;r>0&&(a*=256);)i+=this[e+--r]*a;return i};s.prototype.readUint8=s.prototype.readUInt8=function(e,r){return e=e>>>0,r||x(e,1,this.length),this[e]};s.prototype.readUint16LE=s.prototype.readUInt16LE=function(e,r){return e=e>>>0,r||x(e,2,this.length),this[e]|this[e+1]<<8};s.prototype.readUint16BE=s.prototype.readUInt16BE=function(e,r){return e=e>>>0,r||x(e,2,this.length),this[e]<<8|this[e+1]};s.prototype.readUint32LE=s.prototype.readUInt32LE=function(e,r){return e=e>>>0,r||x(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+this[e+3]*16777216};s.prototype.readUint32BE=s.prototype.readUInt32BE=function(e,r){return e=e>>>0,r||x(e,4,this.length),this[e]*16777216+(this[e+1]<<16|this[e+2]<<8|this[e+3])};s.prototype.readIntLE=function(e,r,n){e=e>>>0,r=r>>>0,n||x(e,r,this.length);for(var i=this[e],a=1,o=0;++o<r&&(a*=256);)i+=this[e+o]*a;return a*=128,i>=a&&(i-=Math.pow(2,8*r)),i};s.prototype.readIntBE=function(e,r,n){e=e>>>0,r=r>>>0,n||x(e,r,this.length);for(var i=r,a=1,o=this[e+--i];i>0&&(a*=256);)o+=this[e+--i]*a;return a*=128,o>=a&&(o-=Math.pow(2,8*r)),o};s.prototype.readInt8=function(e,r){return e=e>>>0,r||x(e,1,this.length),this[e]&128?(255-this[e]+1)*-1:this[e]};s.prototype.readInt16LE=function(e,r){e=e>>>0,r||x(e,2,this.length);var n=this[e]|this[e+1]<<8;return n&32768?n|4294901760:n};s.prototype.readInt16BE=function(e,r){e=e>>>0,r||x(e,2,this.length);var n=this[e+1]|this[e]<<8;return n&32768?n|4294901760:n};s.prototype.readInt32LE=function(e,r){return e=e>>>0,r||x(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24};s.prototype.readInt32BE=function(e,r){return e=e>>>0,r||x(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]};s.prototype.readFloatLE=function(e,r){return e=e>>>0,r||x(e,4,this.length),B.read(this,e,!0,23,4)};s.prototype.readFloatBE=function(e,r){return e=e>>>0,r||x(e,4,this.length),B.read(this,e,!1,23,4)};s.prototype.readDoubleLE=function(e,r){return e=e>>>0,r||x(e,8,this.length),B.read(this,e,!0,52,8)};s.prototype.readDoubleBE=function(e,r){return e=e>>>0,r||x(e,8,this.length),B.read(this,e,!1,52,8)};function v(t,e,r,n,i,a){if(!s.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||e<a)throw new RangeError('"value" argument is out of bounds');if(r+n>t.length)throw new RangeError("Index out of range")}s.prototype.writeUintLE=s.prototype.writeUIntLE=function(e,r,n,i){if(e=+e,r=r>>>0,n=n>>>0,!i){var a=Math.pow(2,8*n)-1;v(this,e,r,n,a,0)}var o=1,c=0;for(this[r]=e&255;++c<n&&(o*=256);)this[r+c]=e/o&255;return r+n};s.prototype.writeUintBE=s.prototype.writeUIntBE=function(e,r,n,i){if(e=+e,r=r>>>0,n=n>>>0,!i){var a=Math.pow(2,8*n)-1;v(this,e,r,n,a,0)}var o=n-1,c=1;for(this[r+o]=e&255;--o>=0&&(c*=256);)this[r+o]=e/c&255;return r+n};s.prototype.writeUint8=s.prototype.writeUInt8=function(e,r,n){return e=+e,r=r>>>0,n||v(this,e,r,1,255,0),this[r]=e&255,r+1};s.prototype.writeUint16LE=s.prototype.writeUInt16LE=function(e,r,n){return e=+e,r=r>>>0,n||v(this,e,r,2,65535,0),this[r]=e&255,this[r+1]=e>>>8,r+2};s.prototype.writeUint16BE=s.prototype.writeUInt16BE=function(e,r,n){return e=+e,r=r>>>0,n||v(this,e,r,2,65535,0),this[r]=e>>>8,this[r+1]=e&255,r+2};s.prototype.writeUint32LE=s.prototype.writeUInt32LE=function(e,r,n){return e=+e,r=r>>>0,n||v(this,e,r,4,4294967295,0),this[r+3]=e>>>24,this[r+2]=e>>>16,this[r+1]=e>>>8,this[r]=e&255,r+4};s.prototype.writeUint32BE=s.prototype.writeUInt32BE=function(e,r,n){return e=+e,r=r>>>0,n||v(this,e,r,4,4294967295,0),this[r]=e>>>24,this[r+1]=e>>>16,this[r+2]=e>>>8,this[r+3]=e&255,r+4};s.prototype.writeIntLE=function(e,r,n,i){if(e=+e,r=r>>>0,!i){var a=Math.pow(2,8*n-1);v(this,e,r,n,a-1,-a)}var o=0,c=1,p=0;for(this[r]=e&255;++o<n&&(c*=256);)e<0&&p===0&&this[r+o-1]!==0&&(p=1),this[r+o]=(e/c>>0)-p&255;return r+n};s.prototype.writeIntBE=function(e,r,n,i){if(e=+e,r=r>>>0,!i){var a=Math.pow(2,8*n-1);v(this,e,r,n,a-1,-a)}var o=n-1,c=1,p=0;for(this[r+o]=e&255;--o>=0&&(c*=256);)e<0&&p===0&&this[r+o+1]!==0&&(p=1),this[r+o]=(e/c>>0)-p&255;return r+n};s.prototype.writeInt8=function(e,r,n){return e=+e,r=r>>>0,n||v(this,e,r,1,127,-128),e<0&&(e=255+e+1),this[r]=e&255,r+1};s.prototype.writeInt16LE=function(e,r,n){return e=+e,r=r>>>0,n||v(this,e,r,2,32767,-32768),this[r]=e&255,this[r+1]=e>>>8,r+2};s.prototype.writeInt16BE=function(e,r,n){return e=+e,r=r>>>0,n||v(this,e,r,2,32767,-32768),this[r]=e>>>8,this[r+1]=e&255,r+2};s.prototype.writeInt32LE=function(e,r,n){return e=+e,r=r>>>0,n||v(this,e,r,4,2147483647,-2147483648),this[r]=e&255,this[r+1]=e>>>8,this[r+2]=e>>>16,this[r+3]=e>>>24,r+4};s.prototype.writeInt32BE=function(e,r,n){return e=+e,r=r>>>0,n||v(this,e,r,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[r]=e>>>24,this[r+1]=e>>>16,this[r+2]=e>>>8,this[r+3]=e&255,r+4};function ye(t,e,r,n,i,a){if(r+n>t.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function xe(t,e,r,n,i){return e=+e,r=r>>>0,i||ye(t,e,r,4,34028234663852886e22,-34028234663852886e22),B.write(t,e,r,n,23,4),r+4}s.prototype.writeFloatLE=function(e,r,n){return xe(this,e,r,!0,n)};s.prototype.writeFloatBE=function(e,r,n){return xe(this,e,r,!1,n)};function we(t,e,r,n,i){return e=+e,r=r>>>0,i||ye(t,e,r,8,17976931348623157e292,-17976931348623157e292),B.write(t,e,r,n,52,8),r+8}s.prototype.writeDoubleLE=function(e,r,n){return we(this,e,r,!0,n)};s.prototype.writeDoubleBE=function(e,r,n){return we(this,e,r,!1,n)};s.prototype.copy=function(e,r,n,i){if(!s.isBuffer(e))throw new TypeError("argument should be a Buffer");if(n||(n=0),!i&&i!==0&&(i=this.length),r>=e.length&&(r=e.length),r||(r=0),i>0&&i<n&&(i=n),i===n||e.length===0||this.length===0)return 0;if(r<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),e.length-r<i-n&&(i=e.length-r+n);var a=i-n;return this===e&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(r,n,i):Uint8Array.prototype.set.call(e,this.subarray(n,i),r),a};s.prototype.fill=function(e,r,n,i){if(typeof e=="string"){if(typeof r=="string"?(i=r,r=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(e.length===1){var a=e.charCodeAt(0);(i==="utf8"&&a<128||i==="latin1")&&(e=a)}}else typeof e=="number"?e=e&255:typeof e=="boolean"&&(e=Number(e));if(r<0||this.length<r||this.length<n)throw new RangeError("Out of range index");if(n<=r)return this;r=r>>>0,n=n===void 0?this.length:n>>>0,e||(e=0);var o;if(typeof e=="number")for(o=r;o<n;++o)this[o]=e;else{var c=s.isBuffer(e)?e:s.from(e,i),p=c.length;if(p===0)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(o=0;o<n-r;++o)this[o+r]=c[o%p]}return this};var fr=/[^+/0-9A-Za-z-_]/g;function hr(t){if(t=t.split("=")[0],t=t.trim().replace(fr,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function Z(t,e){e=e||1/0;for(var r,n=t.length,i=null,a=[],o=0;o<n;++o){if(r=t.charCodeAt(o),r>55295&&r<57344){if(!i){if(r>56319){(e-=3)>-1&&a.push(239,191,189);continue}else if(o+1===n){(e-=3)>-1&&a.push(239,191,189);continue}i=r;continue}if(r<56320){(e-=3)>-1&&a.push(239,191,189),i=r;continue}r=(i-55296<<10|r-56320)+65536}else i&&(e-=3)>-1&&a.push(239,191,189);if(i=null,r<128){if((e-=1)<0)break;a.push(r)}else if(r<2048){if((e-=2)<0)break;a.push(r>>6|192,r&63|128)}else if(r<65536){if((e-=3)<0)break;a.push(r>>12|224,r>>6&63|128,r&63|128)}else if(r<1114112){if((e-=4)<0)break;a.push(r>>18|240,r>>12&63|128,r>>6&63|128,r&63|128)}else throw new Error("Invalid code point")}return a}function yr(t){for(var e=[],r=0;r<t.length;++r)e.push(t.charCodeAt(r)&255);return e}function xr(t,e){for(var r,n,i,a=[],o=0;o<t.length&&!((e-=2)<0);++o)r=t.charCodeAt(o),n=r>>8,i=r%256,a.push(i),a.push(n);return a}function Te(t){return Y.toByteArray(hr(t))}function H(t,e,r,n){for(var i=0;i<n&&!(i+r>=e.length||i>=t.length);++i)e[i+r]=t[i];return i}function A(t,e){return t instanceof e||t!=null&&t.constructor!=null&&t.constructor.name!=null&&t.constructor.name===e.name}function ee(t){return t!==t}var wr=function(){for(var t="0123456789abcdef",e=new Array(256),r=0;r<16;++r)for(var n=r*16,i=0;i<16;++i)e[n+i]=t[r]+t[i];return e}()});var Re=P((Ir,_e)=>{l();var y=_e.exports={},_,R;function re(){throw new Error("setTimeout has not been defined")}function te(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?_=setTimeout:_=re}catch(t){_=re}try{typeof clearTimeout=="function"?R=clearTimeout:R=te}catch(t){R=te}})();function be(t){if(_===setTimeout)return setTimeout(t,0);if((_===re||!_)&&setTimeout)return _=setTimeout,setTimeout(t,0);try{return _(t,0)}catch(e){try{return _.call(null,t,0)}catch(r){return _.call(this,t,0)}}}function Tr(t){if(R===clearTimeout)return clearTimeout(t);if((R===te||!R)&&clearTimeout)return R=clearTimeout,clearTimeout(t);try{return R(t)}catch(e){try{return R.call(null,t)}catch(r){return R.call(this,t)}}}var L=[],O=!1,U,q=-1;function vr(){!O||!U||(O=!1,U.length?L=U.concat(L):q=-1,L.length&&ke())}function ke(){if(!O){var t=be(vr);O=!0;for(var e=L.length;e;){for(U=L,L=[];++q<e;)U&&U[q].run();q=-1,e=L.length}U=null,O=!1,Tr(t)}}y.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)e[r-1]=arguments[r];L.push(new Ae(t,e)),L.length===1&&!O&&be(ke)};function Ae(t,e){this.fun=t,this.array=e}Ae.prototype.run=function(){this.fun.apply(null,this.array)};y.title="browser";y.browser=!0;y.env={};y.argv=[];y.version="";y.versions={};function E(){}y.on=E;y.addListener=E;y.once=E;y.off=E;y.removeListener=E;y.removeAllListeners=E;y.emit=E;y.prependListener=E;y.prependOnceListener=E;y.listeners=function(t){return[]};y.binding=function(t){throw new Error("process.binding is not supported")};y.cwd=function(){return"/"};y.chdir=function(t){throw new Error("process.chdir is not supported")};y.umask=function(){return 0}});var m,f,Lr,l=Ve(()=>{m=W(ve()),f=W(Re()),Lr=function(t){function e(){var n=this||self;return delete t.prototype.__magic__,n}if(typeof globalThis=="object")return globalThis;if(this)return e();t.defineProperty(t.prototype,"__magic__",{configurable:!0,get:e});var r=__magic__;return r}(Object)});var kr={};He(kr,{transactionActionUnwrapper:()=>br});module.exports=qe(kr);l();l();l();l();var Ie=t=>{var e,r;switch(t.name){case"transfer":return["Transfer",{token:(e=t.arguments)==null?void 0:e.transfers},"to",{address:(r=t.arguments)==null?void 0:r.receiver}];default:return[]}};l();var Ce=W(require("bignumber.js"));l();l();l();l();l();l();l();l();l();l();l();l();l();l();l();l();l();l();var ne={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:Le,egldLabel:it}=ne["devnet"],{chainId:Ee,egldLabel:at}=ne["testnet"],{chainId:Ne,egldLabel:ot}=ne["mainnet"];var st={["devnet"]:Le,["testnet"]:Ee,["mainnet"]:Ne},lt={[Le]:"devnet",[Ee]:"testnet",[Ne]:"mainnet"};l();l();var S=require("@multiversx/sdk-web-wallet-provider");var Fe="0";var Ue=t=>{var e,r,n,i,a,o,c,p,d,g,u,w;switch(t.name){case"claimLockedAssets":return["Claim locked assets"];case"enterFarm":case"enterFarmProxy":return["Enter farm with",{token:(e=t.arguments)==null?void 0:e.transfers}];case"enterFarmAndLockRewards":case"enterFarmAndLockRewardsProxy":return["Enter farm and lock rewards with",{token:(r=t.arguments)==null?void 0:r.transfers}];case"exitFarm":case"exitFarmProxy":return["Exit farm with",{token:(n=t.arguments)==null?void 0:n.transfers}];case"claimRewards":case"claimRewardsProxy":return["Claim rewards",{token:(i=t.arguments)==null?void 0:i.transfers}];case"compoundRewards":case"compoundRewardsProxy":return["Reinvest rewards",{token:(a=t.arguments)==null?void 0:a.transfers}];case"swapTokensFixedInput":case"swap":return t.description?[t.description]:[];case"swapTokensFixedOutput":return t.description?[t.description]:[];case"addLiquidity":case"addLiquidityProxy":return["Added liquidity for",{token:[(o=t.arguments)==null?void 0:o.transfers[0]]},"and",{token:[(c=t.arguments)==null?void 0:c.transfers[1]]}];case"removeLiquidity":case"removeLiquidityProxy":return["Removed liquidity with ",{token:(p=t.arguments)==null?void 0:p.transfers}];case"mergeLockedAssetTokens":let T=Fe;if((d=t.arguments)!=null&&d.transfers){let N=t.arguments.transfers.map(({value:z})=>z);T=Ce.default.sum.apply(null,N).toString(10)}return[`Merge ${(g=t.arguments)==null?void 0:g.transfers.length}`,{tokenNoLink:[(u=t.arguments)==null?void 0:u.transfers[0]]},"positions into a single",{tokenNoLink:[(w=t.arguments)==null?void 0:w.transfers[0]]},"position of value",{value:T}];case"wrapEgld":case"unwrapEgld":default:return t.description?[t.description]:[]}};l();var Be=t=>{var e,r,n,i,a,o,c,p,d,g,u,w;switch(t.name){case"delegate":case"stake":return["Delegate",{egldValue:(e=t.arguments)==null?void 0:e.value},"to staking provider",{providerName:(r=t.arguments)==null?void 0:r.providerName,providerAvatar:(n=t.arguments)==null?void 0:n.providerAvatar}];case"unDelegate":return["Undelegate",{egldValue:(i=t.arguments)==null?void 0:i.value},"from staking provider",{providerName:(a=t.arguments)==null?void 0:a.providerName,providerAvatar:(o=t.arguments)==null?void 0:o.providerAvatar}];case"claimRewards":return["Claim rewards from staking provider",{providerName:(c=t.arguments)==null?void 0:c.providerName,providerAvatar:(p=t.arguments)==null?void 0:p.providerAvatar}];case"reDelegateRewards":return["Redelegate rewards from staking provider",{providerName:(d=t.arguments)==null?void 0:d.providerName,providerAvatar:(g=t.arguments)==null?void 0:g.providerAvatar}];case"withdraw":return["Withdraw from staking provider",{providerName:(u=t.arguments)==null?void 0:u.providerName,providerAvatar:(w=t.arguments)==null?void 0:w.providerAvatar}];default:return[]}};var br=t=>{if(!t.arguments)return t.description?[t.description]:[t.name];switch(t.category){case"esdtNft":return Ie(t);case"mex":return Ue(t);case"stake":return Be(t);default:return t.description?[t.description]:[]}};0&&(module.exports={transactionActionUnwrapper});
1
+ "use strict";var Oe=Object.create;var M=Object.defineProperty;var De=Object.getOwnPropertyDescriptor;var Me=Object.getOwnPropertyNames;var Pe=Object.getPrototypeOf,Ge=Object.prototype.hasOwnProperty;var Ve=(t,e)=>()=>(t&&(e=t(t=0)),e);var P=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),He=(t,e)=>{for(var r in e)M(t,r,{get:e[r],enumerable:!0})},ie=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Me(e))!Ge.call(t,i)&&i!==r&&M(t,i,{get:()=>e[i],enumerable:!(n=De(e,i))||n.enumerable});return t};var W=(t,e,r)=>(r=t!=null?Oe(Pe(t)):{},ie(e||!t||!t.__esModule?M(r,"default",{value:t,enumerable:!0}):r,t)),qe=t=>ie(M({},"__esModule",{value:!0}),t);var se=P(G=>{"use strict";l();G.byteLength=We;G.toByteArray=Xe;G.fromByteArray=Qe;var k=[],b=[],ze=typeof Uint8Array!="undefined"?Uint8Array:Array,j="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(F=0,ae=j.length;F<ae;++F)k[F]=j[F],b[j.charCodeAt(F)]=F;var F,ae;b["-".charCodeAt(0)]=62;b["_".charCodeAt(0)]=63;function oe(t){var e=t.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=t.indexOf("=");r===-1&&(r=e);var n=r===e?0:4-r%4;return[r,n]}function We(t){var e=oe(t),r=e[0],n=e[1];return(r+n)*3/4-n}function je(t,e,r){return(e+r)*3/4-r}function Xe(t){var e,r=oe(t),n=r[0],i=r[1],a=new ze(je(t,n,i)),o=0,c=i>0?n-4:n,p;for(p=0;p<c;p+=4)e=b[t.charCodeAt(p)]<<18|b[t.charCodeAt(p+1)]<<12|b[t.charCodeAt(p+2)]<<6|b[t.charCodeAt(p+3)],a[o++]=e>>16&255,a[o++]=e>>8&255,a[o++]=e&255;return i===2&&(e=b[t.charCodeAt(p)]<<2|b[t.charCodeAt(p+1)]>>4,a[o++]=e&255),i===1&&(e=b[t.charCodeAt(p)]<<10|b[t.charCodeAt(p+1)]<<4|b[t.charCodeAt(p+2)]>>2,a[o++]=e>>8&255,a[o++]=e&255),a}function Ye(t){return k[t>>18&63]+k[t>>12&63]+k[t>>6&63]+k[t&63]}function Ke(t,e,r){for(var n,i=[],a=e;a<r;a+=3)n=(t[a]<<16&16711680)+(t[a+1]<<8&65280)+(t[a+2]&255),i.push(Ye(n));return i.join("")}function Qe(t){for(var e,r=t.length,n=r%3,i=[],a=16383,o=0,c=r-n;o<c;o+=a)i.push(Ke(t,o,o+a>c?c:o+a));return n===1?(e=t[r-1],i.push(k[e>>2]+k[e<<4&63]+"==")):n===2&&(e=(t[r-2]<<8)+t[r-1],i.push(k[e>>10]+k[e>>4&63]+k[e<<2&63]+"=")),i.join("")}});var le=P(X=>{l();X.read=function(t,e,r,n,i){var a,o,c=i*8-n-1,p=(1<<c)-1,d=p>>1,g=-7,u=r?i-1:0,w=r?-1:1,T=t[e+u];for(u+=w,a=T&(1<<-g)-1,T>>=-g,g+=c;g>0;a=a*256+t[e+u],u+=w,g-=8);for(o=a&(1<<-g)-1,a>>=-g,g+=n;g>0;o=o*256+t[e+u],u+=w,g-=8);if(a===0)a=1-d;else{if(a===p)return o?NaN:(T?-1:1)*(1/0);o=o+Math.pow(2,n),a=a-d}return(T?-1:1)*o*Math.pow(2,a-n)};X.write=function(t,e,r,n,i,a){var o,c,p,d=a*8-i-1,g=(1<<d)-1,u=g>>1,w=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,T=n?0:a-1,N=n?1:-1,z=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(c=isNaN(e)?1:0,o=g):(o=Math.floor(Math.log(e)/Math.LN2),e*(p=Math.pow(2,-o))<1&&(o--,p*=2),o+u>=1?e+=w/p:e+=w*Math.pow(2,1-u),e*p>=2&&(o++,p/=2),o+u>=g?(c=0,o=g):o+u>=1?(c=(e*p-1)*Math.pow(2,i),o=o+u):(c=e*Math.pow(2,u-1)*Math.pow(2,i),o=0));i>=8;t[r+T]=c&255,T+=N,c/=256,i-=8);for(o=o<<i|c,d+=i;d>0;t[r+T]=o&255,T+=N,o/=256,d-=8);t[r+T-N]|=z*128}});var ve=P(O=>{"use strict";l();var Y=se(),U=le(),ce=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;O.Buffer=s;O.SlowBuffer=tr;O.INSPECT_MAX_BYTES=50;var V=2147483647;O.kMaxLength=V;s.TYPED_ARRAY_SUPPORT=Ze();!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 Ze(){try{var t=new Uint8Array(1),e={foo:function(){return 42}};return Object.setPrototypeOf(e,Uint8Array.prototype),Object.setPrototypeOf(t,e),t.foo()===42}catch(r){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 I(t){if(t>V)throw new RangeError('The value "'+t+'" is invalid for option "size"');var e=new Uint8Array(t);return Object.setPrototypeOf(e,s.prototype),e}function s(t,e,r){if(typeof t=="number"){if(typeof e=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return J(t)}return de(t,e,r)}s.poolSize=8192;function de(t,e,r){if(typeof t=="string")return $e(t,e);if(ArrayBuffer.isView(t))return er(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(A(t,ArrayBuffer)||t&&A(t.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(A(t,SharedArrayBuffer)||t&&A(t.buffer,SharedArrayBuffer)))return Q(t,e,r);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,e,r);var i=rr(t);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof t[Symbol.toPrimitive]=="function")return s.from(t[Symbol.toPrimitive]("string"),e,r);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,e,r){return de(t,e,r)};Object.setPrototypeOf(s.prototype,Uint8Array.prototype);Object.setPrototypeOf(s,Uint8Array);function ge(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 Je(t,e,r){return ge(t),t<=0?I(t):e!==void 0?typeof r=="string"?I(t).fill(e,r):I(t).fill(e):I(t)}s.alloc=function(t,e,r){return Je(t,e,r)};function J(t){return ge(t),I(t<0?0:$(t)|0)}s.allocUnsafe=function(t){return J(t)};s.allocUnsafeSlow=function(t){return J(t)};function $e(t,e){if((typeof e!="string"||e==="")&&(e="utf8"),!s.isEncoding(e))throw new TypeError("Unknown encoding: "+e);var r=me(t,e)|0,n=I(r),i=n.write(t,e);return i!==r&&(n=n.slice(0,i)),n}function K(t){for(var e=t.length<0?0:$(t.length)|0,r=I(e),n=0;n<e;n+=1)r[n]=t[n]&255;return r}function er(t){if(A(t,Uint8Array)){var e=new Uint8Array(t);return Q(e.buffer,e.byteOffset,e.byteLength)}return K(t)}function Q(t,e,r){if(e<0||t.byteLength<e)throw new RangeError('"offset" is outside of buffer bounds');if(t.byteLength<e+(r||0))throw new RangeError('"length" is outside of buffer bounds');var n;return e===void 0&&r===void 0?n=new Uint8Array(t):r===void 0?n=new Uint8Array(t,e):n=new Uint8Array(t,e,r),Object.setPrototypeOf(n,s.prototype),n}function rr(t){if(s.isBuffer(t)){var e=$(t.length)|0,r=I(e);return r.length===0||t.copy(r,0,0,e),r}if(t.length!==void 0)return typeof t.length!="number"||ee(t.length)?I(0):K(t);if(t.type==="Buffer"&&Array.isArray(t.data))return K(t.data)}function $(t){if(t>=V)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+V.toString(16)+" bytes");return t|0}function tr(t){return+t!=t&&(t=0),s.alloc(+t)}s.isBuffer=function(e){return e!=null&&e._isBuffer===!0&&e!==s.prototype};s.compare=function(e,r){if(A(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),A(r,Uint8Array)&&(r=s.from(r,r.offset,r.byteLength)),!s.isBuffer(e)||!s.isBuffer(r))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===r)return 0;for(var n=e.length,i=r.length,a=0,o=Math.min(n,i);a<o;++a)if(e[a]!==r[a]){n=e[a],i=r[a];break}return n<i?-1:i<n?1:0};s.isEncoding=function(e){switch(String(e).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(e,r){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(e.length===0)return s.alloc(0);var n;if(r===void 0)for(r=0,n=0;n<e.length;++n)r+=e[n].length;var i=s.allocUnsafe(r),a=0;for(n=0;n<e.length;++n){var o=e[n];if(A(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 me(t,e){if(s.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||A(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 r=t.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&r===0)return 0;for(var i=!1;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return Z(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return Te(t).length;default:if(i)return n?-1:Z(t).length;e=(""+e).toLowerCase(),i=!0}}s.byteLength=me;function nr(t,e,r){var n=!1;if((e===void 0||e<0)&&(e=0),e>this.length||((r===void 0||r>this.length)&&(r=this.length),r<=0)||(r>>>=0,e>>>=0,r<=e))return"";for(t||(t="utf8");;)switch(t){case"hex":return gr(this,e,r);case"utf8":case"utf-8":return he(this,e,r);case"ascii":return ur(this,e,r);case"latin1":case"binary":return dr(this,e,r);case"base64":return cr(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return mr(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}s.prototype._isBuffer=!0;function C(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}s.prototype.swap16=function(){var e=this.length;if(e%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var r=0;r<e;r+=2)C(this,r,r+1);return this};s.prototype.swap32=function(){var e=this.length;if(e%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var r=0;r<e;r+=4)C(this,r,r+3),C(this,r+1,r+2);return this};s.prototype.swap64=function(){var e=this.length;if(e%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var r=0;r<e;r+=8)C(this,r,r+7),C(this,r+1,r+6),C(this,r+2,r+5),C(this,r+3,r+4);return this};s.prototype.toString=function(){var e=this.length;return e===0?"":arguments.length===0?he(this,0,e):nr.apply(this,arguments)};s.prototype.toLocaleString=s.prototype.toString;s.prototype.equals=function(e){if(!s.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e?!0:s.compare(this,e)===0};s.prototype.inspect=function(){var e="",r=O.INSPECT_MAX_BYTES;return e=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(e+=" ... "),"<Buffer "+e+">"};ce&&(s.prototype[ce]=s.prototype.inspect);s.prototype.compare=function(e,r,n,i,a){if(A(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),!s.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(r===void 0&&(r=0),n===void 0&&(n=e?e.length:0),i===void 0&&(i=0),a===void 0&&(a=this.length),r<0||n>e.length||i<0||a>this.length)throw new RangeError("out of range index");if(i>=a&&r>=n)return 0;if(i>=a)return-1;if(r>=n)return 1;if(r>>>=0,n>>>=0,i>>>=0,a>>>=0,this===e)return 0;for(var o=a-i,c=n-r,p=Math.min(o,c),d=this.slice(i,a),g=e.slice(r,n),u=0;u<p;++u)if(d[u]!==g[u]){o=d[u],c=g[u];break}return o<c?-1:c<o?1:0};function fe(t,e,r,n,i){if(t.length===0)return-1;if(typeof r=="string"?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,ee(r)&&(r=i?0:t.length-1),r<0&&(r=t.length+r),r>=t.length){if(i)return-1;r=t.length-1}else if(r<0)if(i)r=0;else return-1;if(typeof e=="string"&&(e=s.from(e,n)),s.isBuffer(e))return e.length===0?-1:pe(t,e,r,n,i);if(typeof e=="number")return e=e&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(t,e,r):Uint8Array.prototype.lastIndexOf.call(t,e,r):pe(t,[e],r,n,i);throw new TypeError("val must be string, number or Buffer")}function pe(t,e,r,n,i){var a=1,o=t.length,c=e.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(t.length<2||e.length<2)return-1;a=2,o/=2,c/=2,r/=2}function p(T,N){return a===1?T[N]:T.readUInt16BE(N*a)}var d;if(i){var g=-1;for(d=r;d<o;d++)if(p(t,d)===p(e,g===-1?0:d-g)){if(g===-1&&(g=d),d-g+1===c)return g*a}else g!==-1&&(d-=d-g),g=-1}else for(r+c>o&&(r=o-c),d=r;d>=0;d--){for(var u=!0,w=0;w<c;w++)if(p(t,d+w)!==p(e,w)){u=!1;break}if(u)return d}return-1}s.prototype.includes=function(e,r,n){return this.indexOf(e,r,n)!==-1};s.prototype.indexOf=function(e,r,n){return fe(this,e,r,n,!0)};s.prototype.lastIndexOf=function(e,r,n){return fe(this,e,r,n,!1)};function ir(t,e,r,n){r=Number(r)||0;var i=t.length-r;n?(n=Number(n),n>i&&(n=i)):n=i;var a=e.length;n>a/2&&(n=a/2);for(var o=0;o<n;++o){var c=parseInt(e.substr(o*2,2),16);if(ee(c))return o;t[r+o]=c}return o}function ar(t,e,r,n){return H(Z(e,t.length-r),t,r,n)}function or(t,e,r,n){return H(yr(e),t,r,n)}function sr(t,e,r,n){return H(Te(e),t,r,n)}function lr(t,e,r,n){return H(xr(e,t.length-r),t,r,n)}s.prototype.write=function(e,r,n,i){if(r===void 0)i="utf8",n=this.length,r=0;else if(n===void 0&&typeof r=="string")i=r,n=this.length,r=0;else if(isFinite(r))r=r>>>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-r;if((n===void 0||n>a)&&(n=a),e.length>0&&(n<0||r<0)||r>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var o=!1;;)switch(i){case"hex":return ir(this,e,r,n);case"utf8":case"utf-8":return ar(this,e,r,n);case"ascii":case"latin1":case"binary":return or(this,e,r,n);case"base64":return sr(this,e,r,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return lr(this,e,r,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 cr(t,e,r){return e===0&&r===t.length?Y.fromByteArray(t):Y.fromByteArray(t.slice(e,r))}function he(t,e,r){r=Math.min(t.length,r);for(var n=[],i=e;i<r;){var a=t[i],o=null,c=a>239?4:a>223?3:a>191?2:1;if(i+c<=r){var p,d,g,u;switch(c){case 1:a<128&&(o=a);break;case 2:p=t[i+1],(p&192)===128&&(u=(a&31)<<6|p&63,u>127&&(o=u));break;case 3:p=t[i+1],d=t[i+2],(p&192)===128&&(d&192)===128&&(u=(a&15)<<12|(p&63)<<6|d&63,u>2047&&(u<55296||u>57343)&&(o=u));break;case 4:p=t[i+1],d=t[i+2],g=t[i+3],(p&192)===128&&(d&192)===128&&(g&192)===128&&(u=(a&15)<<18|(p&63)<<12|(d&63)<<6|g&63,u>65535&&u<1114112&&(o=u))}}o===null?(o=65533,c=1):o>65535&&(o-=65536,n.push(o>>>10&1023|55296),o=56320|o&1023),n.push(o),i+=c}return pr(n)}var ue=4096;function pr(t){var e=t.length;if(e<=ue)return String.fromCharCode.apply(String,t);for(var r="",n=0;n<e;)r+=String.fromCharCode.apply(String,t.slice(n,n+=ue));return r}function ur(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;i<r;++i)n+=String.fromCharCode(t[i]&127);return n}function dr(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;i<r;++i)n+=String.fromCharCode(t[i]);return n}function gr(t,e,r){var n=t.length;(!e||e<0)&&(e=0),(!r||r<0||r>n)&&(r=n);for(var i="",a=e;a<r;++a)i+=wr[t[a]];return i}function mr(t,e,r){for(var n=t.slice(e,r),i="",a=0;a<n.length-1;a+=2)i+=String.fromCharCode(n[a]+n[a+1]*256);return i}s.prototype.slice=function(e,r){var n=this.length;e=~~e,r=r===void 0?n:~~r,e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),r<0?(r+=n,r<0&&(r=0)):r>n&&(r=n),r<e&&(r=e);var i=this.subarray(e,r);return Object.setPrototypeOf(i,s.prototype),i};function x(t,e,r){if(t%1!==0||t<0)throw new RangeError("offset is not uint");if(t+e>r)throw new RangeError("Trying to access beyond buffer length")}s.prototype.readUintLE=s.prototype.readUIntLE=function(e,r,n){e=e>>>0,r=r>>>0,n||x(e,r,this.length);for(var i=this[e],a=1,o=0;++o<r&&(a*=256);)i+=this[e+o]*a;return i};s.prototype.readUintBE=s.prototype.readUIntBE=function(e,r,n){e=e>>>0,r=r>>>0,n||x(e,r,this.length);for(var i=this[e+--r],a=1;r>0&&(a*=256);)i+=this[e+--r]*a;return i};s.prototype.readUint8=s.prototype.readUInt8=function(e,r){return e=e>>>0,r||x(e,1,this.length),this[e]};s.prototype.readUint16LE=s.prototype.readUInt16LE=function(e,r){return e=e>>>0,r||x(e,2,this.length),this[e]|this[e+1]<<8};s.prototype.readUint16BE=s.prototype.readUInt16BE=function(e,r){return e=e>>>0,r||x(e,2,this.length),this[e]<<8|this[e+1]};s.prototype.readUint32LE=s.prototype.readUInt32LE=function(e,r){return e=e>>>0,r||x(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+this[e+3]*16777216};s.prototype.readUint32BE=s.prototype.readUInt32BE=function(e,r){return e=e>>>0,r||x(e,4,this.length),this[e]*16777216+(this[e+1]<<16|this[e+2]<<8|this[e+3])};s.prototype.readIntLE=function(e,r,n){e=e>>>0,r=r>>>0,n||x(e,r,this.length);for(var i=this[e],a=1,o=0;++o<r&&(a*=256);)i+=this[e+o]*a;return a*=128,i>=a&&(i-=Math.pow(2,8*r)),i};s.prototype.readIntBE=function(e,r,n){e=e>>>0,r=r>>>0,n||x(e,r,this.length);for(var i=r,a=1,o=this[e+--i];i>0&&(a*=256);)o+=this[e+--i]*a;return a*=128,o>=a&&(o-=Math.pow(2,8*r)),o};s.prototype.readInt8=function(e,r){return e=e>>>0,r||x(e,1,this.length),this[e]&128?(255-this[e]+1)*-1:this[e]};s.prototype.readInt16LE=function(e,r){e=e>>>0,r||x(e,2,this.length);var n=this[e]|this[e+1]<<8;return n&32768?n|4294901760:n};s.prototype.readInt16BE=function(e,r){e=e>>>0,r||x(e,2,this.length);var n=this[e+1]|this[e]<<8;return n&32768?n|4294901760:n};s.prototype.readInt32LE=function(e,r){return e=e>>>0,r||x(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24};s.prototype.readInt32BE=function(e,r){return e=e>>>0,r||x(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]};s.prototype.readFloatLE=function(e,r){return e=e>>>0,r||x(e,4,this.length),U.read(this,e,!0,23,4)};s.prototype.readFloatBE=function(e,r){return e=e>>>0,r||x(e,4,this.length),U.read(this,e,!1,23,4)};s.prototype.readDoubleLE=function(e,r){return e=e>>>0,r||x(e,8,this.length),U.read(this,e,!0,52,8)};s.prototype.readDoubleBE=function(e,r){return e=e>>>0,r||x(e,8,this.length),U.read(this,e,!1,52,8)};function v(t,e,r,n,i,a){if(!s.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||e<a)throw new RangeError('"value" argument is out of bounds');if(r+n>t.length)throw new RangeError("Index out of range")}s.prototype.writeUintLE=s.prototype.writeUIntLE=function(e,r,n,i){if(e=+e,r=r>>>0,n=n>>>0,!i){var a=Math.pow(2,8*n)-1;v(this,e,r,n,a,0)}var o=1,c=0;for(this[r]=e&255;++c<n&&(o*=256);)this[r+c]=e/o&255;return r+n};s.prototype.writeUintBE=s.prototype.writeUIntBE=function(e,r,n,i){if(e=+e,r=r>>>0,n=n>>>0,!i){var a=Math.pow(2,8*n)-1;v(this,e,r,n,a,0)}var o=n-1,c=1;for(this[r+o]=e&255;--o>=0&&(c*=256);)this[r+o]=e/c&255;return r+n};s.prototype.writeUint8=s.prototype.writeUInt8=function(e,r,n){return e=+e,r=r>>>0,n||v(this,e,r,1,255,0),this[r]=e&255,r+1};s.prototype.writeUint16LE=s.prototype.writeUInt16LE=function(e,r,n){return e=+e,r=r>>>0,n||v(this,e,r,2,65535,0),this[r]=e&255,this[r+1]=e>>>8,r+2};s.prototype.writeUint16BE=s.prototype.writeUInt16BE=function(e,r,n){return e=+e,r=r>>>0,n||v(this,e,r,2,65535,0),this[r]=e>>>8,this[r+1]=e&255,r+2};s.prototype.writeUint32LE=s.prototype.writeUInt32LE=function(e,r,n){return e=+e,r=r>>>0,n||v(this,e,r,4,4294967295,0),this[r+3]=e>>>24,this[r+2]=e>>>16,this[r+1]=e>>>8,this[r]=e&255,r+4};s.prototype.writeUint32BE=s.prototype.writeUInt32BE=function(e,r,n){return e=+e,r=r>>>0,n||v(this,e,r,4,4294967295,0),this[r]=e>>>24,this[r+1]=e>>>16,this[r+2]=e>>>8,this[r+3]=e&255,r+4};s.prototype.writeIntLE=function(e,r,n,i){if(e=+e,r=r>>>0,!i){var a=Math.pow(2,8*n-1);v(this,e,r,n,a-1,-a)}var o=0,c=1,p=0;for(this[r]=e&255;++o<n&&(c*=256);)e<0&&p===0&&this[r+o-1]!==0&&(p=1),this[r+o]=(e/c>>0)-p&255;return r+n};s.prototype.writeIntBE=function(e,r,n,i){if(e=+e,r=r>>>0,!i){var a=Math.pow(2,8*n-1);v(this,e,r,n,a-1,-a)}var o=n-1,c=1,p=0;for(this[r+o]=e&255;--o>=0&&(c*=256);)e<0&&p===0&&this[r+o+1]!==0&&(p=1),this[r+o]=(e/c>>0)-p&255;return r+n};s.prototype.writeInt8=function(e,r,n){return e=+e,r=r>>>0,n||v(this,e,r,1,127,-128),e<0&&(e=255+e+1),this[r]=e&255,r+1};s.prototype.writeInt16LE=function(e,r,n){return e=+e,r=r>>>0,n||v(this,e,r,2,32767,-32768),this[r]=e&255,this[r+1]=e>>>8,r+2};s.prototype.writeInt16BE=function(e,r,n){return e=+e,r=r>>>0,n||v(this,e,r,2,32767,-32768),this[r]=e>>>8,this[r+1]=e&255,r+2};s.prototype.writeInt32LE=function(e,r,n){return e=+e,r=r>>>0,n||v(this,e,r,4,2147483647,-2147483648),this[r]=e&255,this[r+1]=e>>>8,this[r+2]=e>>>16,this[r+3]=e>>>24,r+4};s.prototype.writeInt32BE=function(e,r,n){return e=+e,r=r>>>0,n||v(this,e,r,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[r]=e>>>24,this[r+1]=e>>>16,this[r+2]=e>>>8,this[r+3]=e&255,r+4};function ye(t,e,r,n,i,a){if(r+n>t.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function xe(t,e,r,n,i){return e=+e,r=r>>>0,i||ye(t,e,r,4,34028234663852886e22,-34028234663852886e22),U.write(t,e,r,n,23,4),r+4}s.prototype.writeFloatLE=function(e,r,n){return xe(this,e,r,!0,n)};s.prototype.writeFloatBE=function(e,r,n){return xe(this,e,r,!1,n)};function we(t,e,r,n,i){return e=+e,r=r>>>0,i||ye(t,e,r,8,17976931348623157e292,-17976931348623157e292),U.write(t,e,r,n,52,8),r+8}s.prototype.writeDoubleLE=function(e,r,n){return we(this,e,r,!0,n)};s.prototype.writeDoubleBE=function(e,r,n){return we(this,e,r,!1,n)};s.prototype.copy=function(e,r,n,i){if(!s.isBuffer(e))throw new TypeError("argument should be a Buffer");if(n||(n=0),!i&&i!==0&&(i=this.length),r>=e.length&&(r=e.length),r||(r=0),i>0&&i<n&&(i=n),i===n||e.length===0||this.length===0)return 0;if(r<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),e.length-r<i-n&&(i=e.length-r+n);var a=i-n;return this===e&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(r,n,i):Uint8Array.prototype.set.call(e,this.subarray(n,i),r),a};s.prototype.fill=function(e,r,n,i){if(typeof e=="string"){if(typeof r=="string"?(i=r,r=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(e.length===1){var a=e.charCodeAt(0);(i==="utf8"&&a<128||i==="latin1")&&(e=a)}}else typeof e=="number"?e=e&255:typeof e=="boolean"&&(e=Number(e));if(r<0||this.length<r||this.length<n)throw new RangeError("Out of range index");if(n<=r)return this;r=r>>>0,n=n===void 0?this.length:n>>>0,e||(e=0);var o;if(typeof e=="number")for(o=r;o<n;++o)this[o]=e;else{var c=s.isBuffer(e)?e:s.from(e,i),p=c.length;if(p===0)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(o=0;o<n-r;++o)this[o+r]=c[o%p]}return this};var fr=/[^+/0-9A-Za-z-_]/g;function hr(t){if(t=t.split("=")[0],t=t.trim().replace(fr,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function Z(t,e){e=e||1/0;for(var r,n=t.length,i=null,a=[],o=0;o<n;++o){if(r=t.charCodeAt(o),r>55295&&r<57344){if(!i){if(r>56319){(e-=3)>-1&&a.push(239,191,189);continue}else if(o+1===n){(e-=3)>-1&&a.push(239,191,189);continue}i=r;continue}if(r<56320){(e-=3)>-1&&a.push(239,191,189),i=r;continue}r=(i-55296<<10|r-56320)+65536}else i&&(e-=3)>-1&&a.push(239,191,189);if(i=null,r<128){if((e-=1)<0)break;a.push(r)}else if(r<2048){if((e-=2)<0)break;a.push(r>>6|192,r&63|128)}else if(r<65536){if((e-=3)<0)break;a.push(r>>12|224,r>>6&63|128,r&63|128)}else if(r<1114112){if((e-=4)<0)break;a.push(r>>18|240,r>>12&63|128,r>>6&63|128,r&63|128)}else throw new Error("Invalid code point")}return a}function yr(t){for(var e=[],r=0;r<t.length;++r)e.push(t.charCodeAt(r)&255);return e}function xr(t,e){for(var r,n,i,a=[],o=0;o<t.length&&!((e-=2)<0);++o)r=t.charCodeAt(o),n=r>>8,i=r%256,a.push(i),a.push(n);return a}function Te(t){return Y.toByteArray(hr(t))}function H(t,e,r,n){for(var i=0;i<n&&!(i+r>=e.length||i>=t.length);++i)e[i+r]=t[i];return i}function A(t,e){return t instanceof e||t!=null&&t.constructor!=null&&t.constructor.name!=null&&t.constructor.name===e.name}function ee(t){return t!==t}var wr=function(){for(var t="0123456789abcdef",e=new Array(256),r=0;r<16;++r)for(var n=r*16,i=0;i<16;++i)e[n+i]=t[r]+t[i];return e}()});var Re=P((Ir,_e)=>{l();var y=_e.exports={},_,R;function re(){throw new Error("setTimeout has not been defined")}function te(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?_=setTimeout:_=re}catch(t){_=re}try{typeof clearTimeout=="function"?R=clearTimeout:R=te}catch(t){R=te}})();function be(t){if(_===setTimeout)return setTimeout(t,0);if((_===re||!_)&&setTimeout)return _=setTimeout,setTimeout(t,0);try{return _(t,0)}catch(e){try{return _.call(null,t,0)}catch(r){return _.call(this,t,0)}}}function Tr(t){if(R===clearTimeout)return clearTimeout(t);if((R===te||!R)&&clearTimeout)return R=clearTimeout,clearTimeout(t);try{return R(t)}catch(e){try{return R.call(null,t)}catch(r){return R.call(this,t)}}}var L=[],D=!1,B,q=-1;function vr(){!D||!B||(D=!1,B.length?L=B.concat(L):q=-1,L.length&&ke())}function ke(){if(!D){var t=be(vr);D=!0;for(var e=L.length;e;){for(B=L,L=[];++q<e;)B&&B[q].run();q=-1,e=L.length}B=null,D=!1,Tr(t)}}y.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)e[r-1]=arguments[r];L.push(new Ae(t,e)),L.length===1&&!D&&be(ke)};function Ae(t,e){this.fun=t,this.array=e}Ae.prototype.run=function(){this.fun.apply(null,this.array)};y.title="browser";y.browser=!0;y.env={};y.argv=[];y.version="";y.versions={};function E(){}y.on=E;y.addListener=E;y.once=E;y.off=E;y.removeListener=E;y.removeAllListeners=E;y.emit=E;y.prependListener=E;y.prependOnceListener=E;y.listeners=function(t){return[]};y.binding=function(t){throw new Error("process.binding is not supported")};y.cwd=function(){return"/"};y.chdir=function(t){throw new Error("process.chdir is not supported")};y.umask=function(){return 0}});var m,f,Lr,l=Ve(()=>{m=W(ve()),f=W(Re()),Lr=function(t){function e(){var n=this||self;return delete t.prototype.__magic__,n}if(typeof globalThis=="object")return globalThis;if(this)return e();t.defineProperty(t.prototype,"__magic__",{configurable:!0,get:e});var r=__magic__;return r}(Object)});var kr={};He(kr,{transactionActionUnwrapper:()=>br});module.exports=qe(kr);l();l();l();l();var Ie=t=>{var e,r;switch(t.name){case"transfer":return["Transfer",{token:(e=t.arguments)==null?void 0:e.transfers},"to",{address:(r=t.arguments)==null?void 0:r.receiver}];default:return[]}};l();var Ce=W(require("bignumber.js"));l();l();l();l();l();l();l();l();l();l();l();l();l();l();l();l();l();l();var ne={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:Le,egldLabel:it}=ne["devnet"],{chainId:Ee,egldLabel:at}=ne["testnet"],{chainId:Ne,egldLabel:ot}=ne["mainnet"];var st={["devnet"]:Le,["testnet"]:Ee,["mainnet"]:Ne},lt={[Le]:"devnet",[Ee]:"testnet",[Ne]:"mainnet"};l();l();var S=require("@multiversx/sdk-web-wallet-provider");var Fe="0";var Be=t=>{var e,r,n,i,a,o,c,p,d,g,u,w;switch(t.name){case"claimLockedAssets":return["Claim locked assets"];case"enterFarm":case"enterFarmProxy":return["Enter farm with",{token:(e=t.arguments)==null?void 0:e.transfers}];case"enterFarmAndLockRewards":case"enterFarmAndLockRewardsProxy":return["Enter farm and lock rewards with",{token:(r=t.arguments)==null?void 0:r.transfers}];case"exitFarm":case"exitFarmProxy":return["Exit farm with",{token:(n=t.arguments)==null?void 0:n.transfers}];case"claimRewards":case"claimRewardsProxy":return["Claim rewards",{token:(i=t.arguments)==null?void 0:i.transfers}];case"compoundRewards":case"compoundRewardsProxy":return["Reinvest rewards",{token:(a=t.arguments)==null?void 0:a.transfers}];case"swapTokensFixedInput":case"swap":return t.description?[t.description]:[];case"swapTokensFixedOutput":return t.description?[t.description]:[];case"addLiquidity":case"addLiquidityProxy":return["Added liquidity for",{token:[(o=t.arguments)==null?void 0:o.transfers[0]]},"and",{token:[(c=t.arguments)==null?void 0:c.transfers[1]]}];case"removeLiquidity":case"removeLiquidityProxy":return["Removed liquidity with ",{token:(p=t.arguments)==null?void 0:p.transfers}];case"mergeLockedAssetTokens":let T=Fe;if((d=t.arguments)!=null&&d.transfers){let N=t.arguments.transfers.map(({value:z})=>z);T=Ce.default.sum.apply(null,N).toString(10)}return[`Merge ${(g=t.arguments)==null?void 0:g.transfers.length}`,{tokenNoLink:[(u=t.arguments)==null?void 0:u.transfers[0]]},"positions into a single",{tokenNoLink:[(w=t.arguments)==null?void 0:w.transfers[0]]},"position of value",{value:T}];case"wrapEgld":case"unwrapEgld":default:return t.description?[t.description]:[]}};l();var Ue=t=>{var e,r,n,i,a,o,c,p,d,g,u,w;switch(t.name){case"delegate":case"stake":return["Delegate",{egldValue:(e=t.arguments)==null?void 0:e.value},"to staking provider",{providerName:(r=t.arguments)==null?void 0:r.providerName,providerAvatar:(n=t.arguments)==null?void 0:n.providerAvatar}];case"unDelegate":return["Undelegate",{egldValue:(i=t.arguments)==null?void 0:i.value},"from staking provider",{providerName:(a=t.arguments)==null?void 0:a.providerName,providerAvatar:(o=t.arguments)==null?void 0:o.providerAvatar}];case"claimRewards":return["Claim rewards from staking provider",{providerName:(c=t.arguments)==null?void 0:c.providerName,providerAvatar:(p=t.arguments)==null?void 0:p.providerAvatar}];case"reDelegateRewards":return["Redelegate rewards from staking provider",{providerName:(d=t.arguments)==null?void 0:d.providerName,providerAvatar:(g=t.arguments)==null?void 0:g.providerAvatar}];case"withdraw":return["Withdraw from staking provider",{providerName:(u=t.arguments)==null?void 0:u.providerName,providerAvatar:(w=t.arguments)==null?void 0:w.providerAvatar}];default:return[]}};var br=t=>{if(!t.arguments)return t.description?[t.description]:[t.name];switch(t.category){case"esdtNft":return Ie(t);case"mex":return Be(t);case"stake":return Ue(t);default:return t.description?[t.description]:[]}};0&&(module.exports={transactionActionUnwrapper});
2
2
  /*!
3
3
  * The buffer module from node.js, for the browser.
4
4
  *