@multiversx/sdk-dapp 3.0.11 → 3.0.12

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 (745) hide show
  1. package/UI/Denominate/index.js +1 -1
  2. package/UI/ExplorerLink/ExplorerLink.js +1 -1
  3. package/UI/ExplorerLink/index.js +1 -1
  4. package/UI/FormatAmount/FormatAmount.js +1 -1
  5. package/UI/FormatAmount/index.js +1 -1
  6. package/UI/NotificationModal/NotificationModal.js +1 -1
  7. package/UI/NotificationModal/index.js +1 -1
  8. package/UI/SignTransactionsModals/SignTransactionsModals.js +1 -1
  9. package/UI/SignTransactionsModals/SignWithCrossWindowWalletModal/SignWithCrossWindowWalletModal.js +1 -1
  10. package/UI/SignTransactionsModals/SignWithCrossWindowWalletModal/index.js +1 -1
  11. package/UI/SignTransactionsModals/SignWithDeviceModal/SignStep.js +1 -1
  12. package/UI/SignTransactionsModals/SignWithDeviceModal/SignWithDeviceModal.js +1 -1
  13. package/UI/SignTransactionsModals/SignWithDeviceModal/components/SignStepBody.js +1 -1
  14. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/ConfirmAmount.js +1 -1
  15. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/ConfirmAmountData/ConfirmAmountData.js +1 -1
  16. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/ConfirmAmountData/index.js +1 -1
  17. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/ConfirmAmountNftSft/ConfirmAmountNftSft.js +1 -1
  18. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/ConfirmAmountNftSft/index.js +1 -1
  19. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/index.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/index.js +1 -1
  25. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/index.js +1 -1
  26. package/UI/SignTransactionsModals/SignWithDeviceModal/components/index.js +1 -1
  27. package/UI/SignTransactionsModals/SignWithDeviceModal/index.js +1 -1
  28. package/UI/SignTransactionsModals/SignWithExtensionModal/SignWithExtensionModal.js +1 -1
  29. package/UI/SignTransactionsModals/SignWithExtensionModal/index.js +1 -1
  30. package/UI/SignTransactionsModals/SignWithExtraModal/SignWithExtraModal.js +1 -1
  31. package/UI/SignTransactionsModals/SignWithExtraModal/index.js +1 -1
  32. package/UI/SignTransactionsModals/SignWithIframeModal/SignWithIframeModal.js +1 -1
  33. package/UI/SignTransactionsModals/SignWithIframeModal/index.js +1 -1
  34. package/UI/SignTransactionsModals/SignWithLedgerModal/LedgerGuardianSigningModalError.js +1 -1
  35. package/UI/SignTransactionsModals/SignWithLedgerModal/SignWithLedgerModal.js +1 -1
  36. package/UI/SignTransactionsModals/SignWithLedgerModal/index.js +1 -1
  37. package/UI/SignTransactionsModals/SignWithMetamaskModal/SignWithMetamaskModal.js +1 -1
  38. package/UI/SignTransactionsModals/SignWithMetamaskModal/index.js +1 -1
  39. package/UI/SignTransactionsModals/SignWithPasskeyModal/SignWithPasskeyModal.js +1 -1
  40. package/UI/SignTransactionsModals/SignWithPasskeyModal/index.js +1 -1
  41. package/UI/SignTransactionsModals/components/ConfirmationScreen.js +1 -1
  42. package/UI/SignTransactionsModals/components/DeviceConfirmationScreen.js +1 -1
  43. package/UI/SignTransactionsModals/components/TransactionStatusToast.js +1 -1
  44. package/UI/SignTransactionsModals/components/index.js +1 -1
  45. package/UI/SignTransactionsModals/index.js +1 -1
  46. package/UI/TokenDetails/index.js +1 -1
  47. package/UI/TransactionDetails/TransactionDetails.js +1 -1
  48. package/UI/TransactionDetails/components/TransactionDetailsBody.js +1 -1
  49. package/UI/TransactionDetails/components/index.js +1 -1
  50. package/UI/TransactionDetails/index.js +1 -1
  51. package/UI/TransactionInfo/TransactionInfo.js +1 -1
  52. package/UI/TransactionInfo/components/AddressDetailItem/AddressDetailitem.js +1 -1
  53. package/UI/TransactionInfo/components/AddressDetailItem/index.js +1 -1
  54. package/UI/TransactionInfo/components/EventsList/EventsList.js +1 -1
  55. package/UI/TransactionInfo/components/EventsList/index.js +1 -1
  56. package/UI/TransactionInfo/components/NonceMessage/NonceMessage.js +1 -1
  57. package/UI/TransactionInfo/components/NonceMessage/index.js +1 -1
  58. package/UI/TransactionInfo/components/OperationsList/OperationList.js +1 -1
  59. package/UI/TransactionInfo/components/OperationsList/components/DetailedItem.js +1 -1
  60. package/UI/TransactionInfo/components/OperationsList/components/OperationBlock.js +1 -1
  61. package/UI/TransactionInfo/components/OperationsList/components/OperationRow.js +1 -1
  62. package/UI/TransactionInfo/components/OperationsList/components/OperationText.js +1 -1
  63. package/UI/TransactionInfo/components/OperationsList/components/OperationToken.js +1 -1
  64. package/UI/TransactionInfo/components/OperationsList/components/index.js +1 -1
  65. package/UI/TransactionInfo/components/OperationsList/index.js +1 -1
  66. package/UI/TransactionInfo/components/ScResultsList/ScResultsList.js +1 -1
  67. package/UI/TransactionInfo/components/ScResultsList/components/ResultHash/ResultHash.js +1 -1
  68. package/UI/TransactionInfo/components/ScResultsList/components/ResultHash/index.js +1 -1
  69. package/UI/TransactionInfo/components/ScResultsList/components/ResultReceiver/ResultReceiver.js +1 -1
  70. package/UI/TransactionInfo/components/ScResultsList/components/ResultReceiver/index.js +1 -1
  71. package/UI/TransactionInfo/components/ScResultsList/components/ResultSender/ResultSender.js +1 -1
  72. package/UI/TransactionInfo/components/ScResultsList/components/ResultSender/index.js +1 -1
  73. package/UI/TransactionInfo/components/ScResultsList/index.js +1 -1
  74. package/UI/TransactionInfo/components/ScrDetailItem/ScrDetailItem.js +1 -1
  75. package/UI/TransactionInfo/components/ScrDetailItem/index.js +1 -1
  76. package/UI/TransactionInfo/components/TransactionAction/TransactionAction.js +1 -1
  77. package/UI/TransactionInfo/components/TransactionAction/components/ActionText/index.js +1 -1
  78. package/UI/TransactionInfo/components/TransactionAction/components/ActionToken.js +1 -1
  79. package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/TransactionActionCollection.js +1 -1
  80. package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/TransactionActionNft.js +1 -1
  81. package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/TransactionActionToken.js +1 -1
  82. package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/index.js +1 -1
  83. package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/index.js +1 -1
  84. package/UI/TransactionInfo/components/TransactionAction/components/index.js +1 -1
  85. package/UI/TransactionInfo/components/TransactionAction/index.js +1 -1
  86. package/UI/TransactionInfo/components/TransactionLogs/TransactionLogs.js +1 -1
  87. package/UI/TransactionInfo/components/TransactionLogs/index.js +1 -1
  88. package/UI/TransactionInfo/components/TransactionStatus/TransactionStatus.js +1 -1
  89. package/UI/TransactionInfo/components/TransactionStatus/index.js +1 -1
  90. package/UI/TransactionInfo/components/index.js +1 -1
  91. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFee/TransactionInfoFee.js +1 -1
  92. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFee/index.js +1 -1
  93. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFrom/TransactionInfoFrom.js +1 -1
  94. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFrom/index.js +1 -1
  95. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasUsed/TransactionInfoGasUsed.js +1 -1
  96. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasUsed/index.js +1 -1
  97. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMethod/TransactionInfoMethod.js +1 -1
  98. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMethod/index.js +1 -1
  99. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMiniblock/TransactionInfoMiniblock.js +1 -1
  100. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMiniblock/index.js +1 -1
  101. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoNonce/TransactionInfoNonce.js +1 -1
  102. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoNonce/index.js +1 -1
  103. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoScResults/TransactionInfoScResults.js +1 -1
  104. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoScResults/index.js +1 -1
  105. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoStatus/TransactionInfoStatus.js +1 -1
  106. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoStatus/index.js +1 -1
  107. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTo/TransactionInfoTo.js +1 -1
  108. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTo/index.js +1 -1
  109. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTokenOperations/TransactionInfoTokenOperations.js +1 -1
  110. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTokenOperations/index.js +1 -1
  111. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoValue/TransactionInfoValue.js +1 -1
  112. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoValue/index.js +1 -1
  113. package/UI/TransactionInfo/components/transactionInfoFields/index.js +1 -1
  114. package/UI/TransactionInfo/index.js +1 -1
  115. package/UI/TransactionsTable/TransactionsTable.js +1 -1
  116. package/UI/TransactionsTable/components/AccountName.js +1 -1
  117. package/UI/TransactionsTable/components/LockedTokenAddressIcon.js +1 -1
  118. package/UI/TransactionsTable/components/TransactionHash.js +1 -1
  119. package/UI/TransactionsTable/components/TransactionReceiver.js +1 -1
  120. package/UI/TransactionsTable/components/TransactionRow.js +1 -1
  121. package/UI/TransactionsTable/components/TransactionSender.js +1 -1
  122. package/UI/TransactionsTable/components/TransactionShardsTransition.js +1 -1
  123. package/UI/TransactionsTable/components/TransactionValue/TransactionValue.js +1 -1
  124. package/UI/TransactionsTable/components/TransactionValue/index.js +1 -1
  125. package/UI/TransactionsTable/components/index.js +1 -1
  126. package/UI/TransactionsTable/index.js +1 -1
  127. package/UI/TransactionsToastList/TransactionsToastList.js +1 -1
  128. package/UI/TransactionsToastList/components/CustomToast/CustomToast.js +1 -1
  129. package/UI/TransactionsToastList/components/CustomToast/components/CustomComponentToast.js +1 -1
  130. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/IconToast.js +1 -1
  131. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/IconToastFooter.js +1 -1
  132. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/TransactionToastFooter.js +1 -1
  133. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/index.js +1 -1
  134. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/index.js +1 -1
  135. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/index.js +1 -1
  136. package/UI/TransactionsToastList/components/CustomToast/components/SimpleToast.js +1 -1
  137. package/UI/TransactionsToastList/components/CustomToast/components/index.js +1 -1
  138. package/UI/TransactionsToastList/components/CustomToast/helpers/index.js +1 -1
  139. package/UI/TransactionsToastList/components/CustomToast/helpers/useMemoizedCloseButton.js +1 -1
  140. package/UI/TransactionsToastList/components/CustomToast/index.js +1 -1
  141. package/UI/TransactionsToastList/components/TransactionToast/TransactionToast.js +1 -1
  142. package/UI/TransactionsToastList/components/TransactionToast/components/TransactionToastContent.js +1 -1
  143. package/UI/TransactionsToastList/components/TransactionToast/components/index.js +1 -1
  144. package/UI/TransactionsToastList/components/TransactionToast/hooks/useTransactionToast.js +1 -1
  145. package/UI/TransactionsToastList/components/TransactionToast/index.js +1 -1
  146. package/UI/TransactionsToastList/components/TransactionToastGuard.js +1 -1
  147. package/UI/TransactionsToastList/components/index.js +1 -1
  148. package/UI/TransactionsToastList/index.js +1 -1
  149. package/UI/Trim/Trim.js +1 -1
  150. package/UI/Trim/index.js +1 -1
  151. package/UI/extension/ExtensionLoginButton/ExtensionLoginButton.js +1 -1
  152. package/UI/extension/ExtensionLoginButton/index.js +1 -1
  153. package/UI/iframe/IframeLoginButton/IframeButton.js +1 -1
  154. package/UI/iframe/IframeLoginButton/index.js +1 -1
  155. package/UI/index.js +1 -1
  156. package/UI/ledger/LedgerLoginButton/LedgerLoginButton.js +1 -1
  157. package/UI/ledger/LedgerLoginButton/index.js +1 -1
  158. package/UI/ledger/LedgerLoginContainer/AddressRow/AddressRow.js +1 -1
  159. package/UI/ledger/LedgerLoginContainer/AddressRow/index.js +1 -1
  160. package/UI/ledger/LedgerLoginContainer/AddressTable/AddressTable.js +1 -1
  161. package/UI/ledger/LedgerLoginContainer/AddressTable/index.js +1 -1
  162. package/UI/ledger/LedgerLoginContainer/ConfirmAddress/ConfirmAddress.js +1 -1
  163. package/UI/ledger/LedgerLoginContainer/ConfirmAddress/index.js +1 -1
  164. package/UI/ledger/LedgerLoginContainer/LedgerLoginContainer.js +1 -1
  165. package/UI/ledger/LedgerLoginContainer/LedgerLoginContent/LedgerLoginContent.js +1 -1
  166. package/UI/ledger/LedgerLoginContainer/LedgerLoginContent/index.js +1 -1
  167. package/UI/ledger/LedgerLoginContainer/LedgerLoginContentBody/LedgerLoginContentBody.js +1 -1
  168. package/UI/ledger/LedgerLoginContainer/LedgerLoginContentBody/index.js +1 -1
  169. package/UI/ledger/LedgerLoginContainer/LedgerScamPhishingAlert/LedgerScamPhishingAlert.js +1 -1
  170. package/UI/ledger/LedgerLoginContainer/LedgerScamPhishingAlert/index.js +1 -1
  171. package/UI/ledger/LedgerLoginContainer/index.js +1 -1
  172. package/UI/ledger/index.js +1 -1
  173. package/UI/metamask/MetamaskLoginButton/MetamaskLoginButton.js +1 -1
  174. package/UI/metamask/MetamaskLoginButton/index.js +1 -1
  175. package/UI/operaWallet/OperaWalletLoginButton/OperaWalletLoginButton.js +1 -1
  176. package/UI/operaWallet/OperaWalletLoginButton/index.js +1 -1
  177. package/UI/pages/UnlockPage/index.js +1 -1
  178. package/UI/pages/index.js +1 -1
  179. package/UI/passkey/PasskeyLoginButton/PasskeyLoginButton.js +1 -1
  180. package/UI/passkey/PasskeyLoginButton/index.js +1 -1
  181. package/UI/walletConnect/WalletConnectLoginButton/WalletConnectLoginButton.js +1 -1
  182. package/UI/walletConnect/WalletConnectLoginButton/index.js +1 -1
  183. package/UI/walletConnect/WalletConnectLoginContainer/WalletConnectLoginContainer.js +1 -1
  184. package/UI/walletConnect/WalletConnectLoginContainer/WalletConnectLoginContent/WalletConnectLoginContent.js +1 -1
  185. package/UI/walletConnect/WalletConnectLoginContainer/WalletConnectLoginContent/index.js +1 -1
  186. package/UI/walletConnect/WalletConnectLoginContainer/index.js +1 -1
  187. package/UI/walletConnect/index.js +1 -1
  188. package/UI/webWallet/CrossWindowLoginButton/CrossWindowLoginButton.js +1 -1
  189. package/UI/webWallet/CrossWindowLoginButton/index.js +1 -1
  190. package/UI/webWallet/WebWalletLoginButton/WebWalletLoginButton.js +1 -1
  191. package/UI/webWallet/WebWalletLoginButton/index.js +1 -1
  192. package/UI/webWallet/XaliasCrossWindowLoginButton/XaliasCrossWindowLoginButton.js +1 -1
  193. package/UI/webWallet/XaliasCrossWindowLoginButton/index.js +1 -1
  194. package/UI/webWallet/XaliasLoginButton/XaliasLoginButton.js +1 -1
  195. package/UI/webWallet/XaliasLoginButton/index.js +1 -1
  196. package/__chunks__/{chunk-M7PXVQHW.js → chunk-23TR72AJ.js} +2 -2
  197. package/__chunks__/{chunk-6RHOCIBH.js → chunk-25ZL6S3E.js} +2 -2
  198. package/__chunks__/{chunk-CQ7KR24Z.js → chunk-2P5FEA6B.js} +2 -2
  199. package/__chunks__/{chunk-Q33CK6VK.js → chunk-2TLKLXT5.js} +2 -2
  200. package/__chunks__/{chunk-CYGAXSI7.js → chunk-2VLEWHUD.js} +2 -2
  201. package/__chunks__/{chunk-CAYP77EJ.js → chunk-2WQV5U7A.js} +2 -2
  202. package/__chunks__/{chunk-OGBDZWVY.js → chunk-2X4XG6VV.js} +2 -2
  203. package/__chunks__/{chunk-R367SL3O.js → chunk-37MLJ3F2.js} +2 -2
  204. package/__chunks__/{chunk-RCJOAPSJ.js → chunk-3CWG3L5H.js} +2 -2
  205. package/__chunks__/{chunk-AVX3AQ3N.js → chunk-3QD22IJC.js} +2 -2
  206. package/__chunks__/{chunk-IJZFZDM6.js → chunk-3QPR2OKH.js} +2 -2
  207. package/__chunks__/{chunk-MH26UPTH.js → chunk-3URNFJXC.js} +2 -2
  208. package/__chunks__/{chunk-IKQBLGWE.js → chunk-3WKVDHOJ.js} +2 -2
  209. package/__chunks__/{chunk-NU5YMIPG.js → chunk-3XWE23KN.js} +2 -2
  210. package/__chunks__/{chunk-GR2NJOJO.js → chunk-47HU22VO.js} +2 -2
  211. package/__chunks__/{chunk-6Q7LH6TJ.js → chunk-4CCWWYHM.js} +2 -2
  212. package/__chunks__/{chunk-MKAVPIDK.js → chunk-4HJZSGDV.js} +2 -2
  213. package/__chunks__/{chunk-WZZN5TQS.js → chunk-4HR4TSRR.js} +2 -2
  214. package/__chunks__/{chunk-755FPXUR.js → chunk-4HW5KHXC.js} +2 -2
  215. package/__chunks__/{chunk-IG64EYIP.js → chunk-4JGFPQQV.js} +2 -2
  216. package/__chunks__/{chunk-PHSIO5JD.js → chunk-4R275DSZ.js} +2 -2
  217. package/__chunks__/{chunk-AWIIFIGE.js → chunk-4RSXWZQI.js} +2 -2
  218. package/__chunks__/chunk-4SH2VEBP.js +2 -0
  219. package/__chunks__/{chunk-CRKFA322.js → chunk-4WW2VP3I.js} +2 -2
  220. package/__chunks__/{chunk-I5OU3T4Z.js → chunk-4XDE6ZMX.js} +2 -2
  221. package/__chunks__/{chunk-K76ZDYMR.js → chunk-4XDSHENP.js} +2 -2
  222. package/__chunks__/{chunk-VCXU4BEF.js → chunk-4XEZC76H.js} +2 -2
  223. package/__chunks__/{chunk-FC5QJEM6.js → chunk-5EE3NC65.js} +2 -2
  224. package/__chunks__/{chunk-OJJJEDC4.js → chunk-5K2Z2EOE.js} +2 -2
  225. package/__chunks__/{chunk-LF4A4RDD.js → chunk-5LNGLCJE.js} +2 -2
  226. package/__chunks__/{chunk-NZHCPUVP.js → chunk-5OWK4AEM.js} +2 -2
  227. package/__chunks__/{chunk-UROYWMSW.js → chunk-65RY5GUG.js} +2 -2
  228. package/__chunks__/{chunk-QRV3MPEI.js → chunk-67PLGQCS.js} +2 -2
  229. package/__chunks__/{chunk-SHVHMC4R.js → chunk-6DE5KDG7.js} +2 -2
  230. package/__chunks__/{chunk-CWZNQT7N.js → chunk-6IU3GZPK.js} +2 -2
  231. package/__chunks__/{chunk-MAYLTC27.js → chunk-6KWPAOPC.js} +2 -2
  232. package/__chunks__/chunk-6QWLOWYF.js +2 -0
  233. package/__chunks__/{chunk-3TQPQIDY.js → chunk-6S2TSF4K.js} +2 -2
  234. package/__chunks__/{chunk-YSJ5ZJGW.js → chunk-6SZ6AD7Z.js} +2 -2
  235. package/__chunks__/{chunk-2BO3H3A4.js → chunk-6TS5SMXS.js} +2 -2
  236. package/__chunks__/{chunk-FV72L4PT.js → chunk-6TWABVV2.js} +2 -2
  237. package/__chunks__/{chunk-FZJUXFID.js → chunk-7AWVWBKU.js} +2 -2
  238. package/__chunks__/{chunk-Q2WWJ6BA.js → chunk-7EWVUYJE.js} +2 -2
  239. package/__chunks__/{chunk-ZH2LQEMA.js → chunk-7NCEIDLQ.js} +2 -2
  240. package/__chunks__/{chunk-KNZFMGKO.js → chunk-7RJ7DFFY.js} +2 -2
  241. package/__chunks__/{chunk-NRBWXMDE.js → chunk-7WJU5VA4.js} +2 -2
  242. package/__chunks__/chunk-A36SZE4E.js +2 -0
  243. package/__chunks__/{chunk-BZRFIYVY.js → chunk-A3AV6F32.js} +2 -2
  244. package/__chunks__/{chunk-JQROPBOH.js → chunk-AIPPMSAN.js} +2 -2
  245. package/__chunks__/chunk-AMFDMMLL.js +2 -0
  246. package/__chunks__/{chunk-L6WDI3BS.js → chunk-AMNKDXXK.js} +2 -2
  247. package/__chunks__/{chunk-TGBIY22B.js → chunk-ATAPXNJL.js} +2 -2
  248. package/__chunks__/{chunk-KW5XEOIE.js → chunk-AXZCKYDZ.js} +2 -2
  249. package/__chunks__/{chunk-U4DOT2KY.js → chunk-B4LTWFE5.js} +2 -2
  250. package/__chunks__/{chunk-SZRJGC5B.js → chunk-BADXFZOX.js} +2 -2
  251. package/__chunks__/{chunk-32MXVQMR.js → chunk-BCJFU72L.js} +2 -2
  252. package/__chunks__/{chunk-N4F57VT3.js → chunk-BK7MNMUF.js} +2 -2
  253. package/__chunks__/{chunk-536MTT34.js → chunk-BMDPAAOV.js} +2 -2
  254. package/__chunks__/{chunk-VJOVB2LG.js → chunk-BPTDVYWL.js} +2 -2
  255. package/__chunks__/chunk-BSHZKJUJ.js +2 -0
  256. package/__chunks__/{chunk-JEWD45ZA.js → chunk-CB2E7VT4.js} +2 -2
  257. package/__chunks__/{chunk-PESD6A3E.js → chunk-CB4DNPAB.js} +2 -2
  258. package/__chunks__/{chunk-UZQIN5ED.js → chunk-CBOFCWMH.js} +2 -2
  259. package/__chunks__/{chunk-UPRM463D.js → chunk-CCIQZSMZ.js} +2 -2
  260. package/__chunks__/{chunk-L5RMHDD6.js → chunk-CJE3QMMX.js} +2 -2
  261. package/__chunks__/{chunk-BEP2X3CM.js → chunk-COYJTB6O.js} +2 -2
  262. package/__chunks__/{chunk-LXV2X3KY.js → chunk-CRY6BCHL.js} +2 -2
  263. package/__chunks__/{chunk-QC2BD4G7.js → chunk-CV6HO7PG.js} +2 -2
  264. package/__chunks__/chunk-DADEVIML.js +2 -0
  265. package/__chunks__/{chunk-57M7EVQS.js → chunk-DAVJOBSG.js} +2 -2
  266. package/__chunks__/{chunk-CQWTFZYI.js → chunk-DE7RITWC.js} +2 -2
  267. package/__chunks__/{chunk-TKZDFGIW.js → chunk-DNT4LNZ3.js} +2 -2
  268. package/__chunks__/{chunk-7U756T66.js → chunk-DRXG5VOV.js} +2 -2
  269. package/__chunks__/{chunk-34OAFTNK.js → chunk-E4Y7ZD2R.js} +2 -2
  270. package/__chunks__/chunk-ECFOGIJA.js +2 -0
  271. package/__chunks__/{chunk-QQUANNU2.js → chunk-ECINGN6R.js} +2 -2
  272. package/__chunks__/{chunk-5H7SLGE7.js → chunk-EEIAGHXT.js} +2 -2
  273. package/__chunks__/{chunk-XQ7P6XTS.js → chunk-ELW3QOST.js} +2 -2
  274. package/__chunks__/{chunk-Q46WA2IT.js → chunk-EQJJAVIM.js} +2 -2
  275. package/__chunks__/{chunk-2FCMHZJ3.js → chunk-F3BS7OKJ.js} +2 -2
  276. package/__chunks__/chunk-F6I27UY2.js +2 -0
  277. package/__chunks__/{chunk-3YNPS2RL.js → chunk-FEHNT2PV.js} +2 -2
  278. package/__chunks__/{chunk-JUD3SVIC.js → chunk-FFV746HP.js} +2 -2
  279. package/__chunks__/{chunk-MQEP3TR3.js → chunk-FJG565EX.js} +2 -2
  280. package/__chunks__/{chunk-UKPODV2T.js → chunk-FKNCSOEA.js} +2 -2
  281. package/__chunks__/{chunk-DUGJVY2A.js → chunk-FM6N2Y7M.js} +2 -2
  282. package/__chunks__/{chunk-32II2CJ3.js → chunk-FMNZ6RPB.js} +2 -2
  283. package/__chunks__/chunk-FOO4B2QA.js +2 -0
  284. package/__chunks__/{chunk-MVWF2BZ5.js → chunk-FSJE4CGU.js} +2 -2
  285. package/__chunks__/{chunk-UJA2T5DU.js → chunk-G2CXRZ4R.js} +2 -2
  286. package/__chunks__/{chunk-OKK66CYS.js → chunk-G4AIUC5A.js} +2 -2
  287. package/__chunks__/{chunk-SIB2TGMI.js → chunk-GCASIIXX.js} +2 -2
  288. package/__chunks__/{chunk-TCQZWMOZ.js → chunk-GEKU6VKO.js} +2 -2
  289. package/__chunks__/{chunk-E7KRGOJM.js → chunk-GFSCRQ3Z.js} +2 -2
  290. package/__chunks__/{chunk-VIXRYO5M.js → chunk-GKC62JCZ.js} +2 -2
  291. package/__chunks__/{chunk-6W5MKTNI.js → chunk-GQJKENCD.js} +2 -2
  292. package/__chunks__/{chunk-PB7I7YVW.js → chunk-H2DHZDKF.js} +2 -2
  293. package/__chunks__/{chunk-5ASLZSTQ.js → chunk-HAIS7EZF.js} +2 -2
  294. package/__chunks__/chunk-HAY5YI54.js +2 -0
  295. package/__chunks__/{chunk-NPJXLKC2.js → chunk-HH7LDERC.js} +2 -2
  296. package/__chunks__/{chunk-X3HQCV4B.js → chunk-HOM36NQU.js} +2 -2
  297. package/__chunks__/{chunk-77MMEHX6.js → chunk-I27X233U.js} +2 -2
  298. package/__chunks__/{chunk-EUU5TQ4S.js → chunk-I52TQTNR.js} +2 -2
  299. package/__chunks__/chunk-IDLUXNC3.js +2 -0
  300. package/__chunks__/{chunk-ZHC263TM.js → chunk-IF2FPKDL.js} +2 -2
  301. package/__chunks__/{chunk-QZ4ARQUD.js → chunk-IPCYSM2M.js} +2 -2
  302. package/__chunks__/{chunk-YANJPRTD.js → chunk-IRAI5BU5.js} +2 -2
  303. package/__chunks__/{chunk-2STCTDXA.js → chunk-ITZANLLL.js} +2 -2
  304. package/__chunks__/{chunk-EAZEEFIE.js → chunk-J2GZDYXS.js} +2 -2
  305. package/__chunks__/{chunk-H3ORRJ7K.js → chunk-J56GJVS3.js} +2 -2
  306. package/__chunks__/{chunk-YEKRLOIG.js → chunk-J62D43YU.js} +2 -2
  307. package/__chunks__/{chunk-RUNXYX45.js → chunk-JDOIBE2Y.js} +2 -2
  308. package/__chunks__/{chunk-73RDDHL6.js → chunk-JHHPND52.js} +2 -2
  309. package/__chunks__/{chunk-LBZUJ63X.js → chunk-JHQY6DVU.js} +2 -2
  310. package/__chunks__/{chunk-5KNGGIXI.js → chunk-JI6HLHH7.js} +2 -2
  311. package/__chunks__/chunk-JKNPWJCY.js +2 -0
  312. package/__chunks__/{chunk-UHFLI5XY.js → chunk-JNM6MKSD.js} +2 -2
  313. package/__chunks__/{chunk-5GYK6NRP.js → chunk-JNSOCUW4.js} +2 -2
  314. package/__chunks__/{chunk-F64VH6ES.js → chunk-JOHMTVJB.js} +2 -2
  315. package/__chunks__/{chunk-USRLEA4J.js → chunk-JWYGXM3K.js} +2 -2
  316. package/__chunks__/{chunk-IKGXRBQW.js → chunk-K5UTRQHL.js} +2 -2
  317. package/__chunks__/{chunk-WUIMD22M.js → chunk-K6EOSUX7.js} +2 -2
  318. package/__chunks__/{chunk-WQHYCXCM.js → chunk-KEK2OHJC.js} +2 -2
  319. package/__chunks__/{chunk-YAWPRUT3.js → chunk-KI2QBUCP.js} +2 -2
  320. package/__chunks__/chunk-KLAWE6UG.js +2 -0
  321. package/__chunks__/{chunk-HBBB7SVI.js → chunk-KMIVNF2B.js} +2 -2
  322. package/__chunks__/{chunk-Z5HI6RLG.js → chunk-KSYGEPZV.js} +2 -2
  323. package/__chunks__/{chunk-7DAGL6IJ.js → chunk-KYKTCGWW.js} +2 -2
  324. package/__chunks__/{chunk-CQFRQI7T.js → chunk-L7ZFQGXT.js} +2 -2
  325. package/__chunks__/{chunk-BYULLKGO.js → chunk-LH36N654.js} +2 -2
  326. package/__chunks__/{chunk-BUSPFVTE.js → chunk-LH5BLEM7.js} +2 -2
  327. package/__chunks__/{chunk-7CFCVJNF.js → chunk-LJZTD3TK.js} +2 -2
  328. package/__chunks__/{chunk-VU5NHCBQ.js → chunk-LNMZUYLT.js} +2 -2
  329. package/__chunks__/{chunk-NOR5RGAS.js → chunk-MFZECOGD.js} +2 -2
  330. package/__chunks__/{chunk-T4GNVC3N.js → chunk-MLMXP4XO.js} +2 -2
  331. package/__chunks__/{chunk-PLI4KU46.js → chunk-MMZW67QD.js} +2 -2
  332. package/__chunks__/{chunk-DC3BDQXT.js → chunk-MRY6WEJW.js} +2 -2
  333. package/__chunks__/{chunk-DCXUDHTZ.js → chunk-MY45YBVN.js} +2 -2
  334. package/__chunks__/{chunk-C2XF7W4Y.js → chunk-MYVGJ4KJ.js} +2 -2
  335. package/__chunks__/{chunk-6S4V7EUO.js → chunk-N2PAKXGN.js} +2 -2
  336. package/__chunks__/{chunk-GRXKAZ77.js → chunk-N337QEJ3.js} +2 -2
  337. package/__chunks__/{chunk-OLVSBW6Z.js → chunk-N3RD47CA.js} +2 -2
  338. package/__chunks__/{chunk-L36LK4D5.js → chunk-NHVXKWOR.js} +2 -2
  339. package/__chunks__/chunk-NKP5YPI4.js +2 -0
  340. package/__chunks__/{chunk-RNO4FHDF.js → chunk-NLVIHRY3.js} +2 -2
  341. package/__chunks__/{chunk-KV7Y3I64.js → chunk-NQJLEG2A.js} +2 -2
  342. package/__chunks__/{chunk-5663VCTX.js → chunk-NVWTW73U.js} +2 -2
  343. package/__chunks__/{chunk-F7YICR25.js → chunk-O2AUY4K6.js} +2 -2
  344. package/__chunks__/{chunk-LOMT2QXR.js → chunk-OEQKQBHV.js} +2 -2
  345. package/__chunks__/{chunk-QGZBICGM.js → chunk-OGDZBKNA.js} +2 -2
  346. package/__chunks__/chunk-OPRIP3CY.js +2 -0
  347. package/__chunks__/{chunk-BLY3ZBLN.js → chunk-OSBBSAK3.js} +2 -2
  348. package/__chunks__/{chunk-VGFKGBAM.js → chunk-OUSEC5GA.js} +2 -2
  349. package/__chunks__/chunk-PBIRD6SC.js +2 -0
  350. package/__chunks__/{chunk-CEVQE35T.js → chunk-PCTOOYEV.js} +2 -2
  351. package/__chunks__/{chunk-KFKCISF3.js → chunk-PPZL5AFE.js} +2 -2
  352. package/__chunks__/chunk-Q2LMDOK4.js +2 -0
  353. package/__chunks__/{chunk-RRN4UCCY.js → chunk-Q2YJHIDN.js} +2 -2
  354. package/__chunks__/{chunk-A744KMHC.js → chunk-Q6T3AH3K.js} +2 -2
  355. package/__chunks__/{chunk-MVHLZVMY.js → chunk-QMI3KSPB.js} +2 -2
  356. package/__chunks__/{chunk-F25TNGFW.js → chunk-QOKG7MQI.js} +2 -2
  357. package/__chunks__/{chunk-77KYOKKC.js → chunk-QORKTLT2.js} +2 -2
  358. package/__chunks__/{chunk-ZGO45QH6.js → chunk-QRBB2SM7.js} +2 -2
  359. package/__chunks__/{chunk-MRG43J3U.js → chunk-R3BBSWOV.js} +2 -2
  360. package/__chunks__/{chunk-OW23M4HN.js → chunk-R3FNJSQI.js} +2 -2
  361. package/__chunks__/{chunk-O43OMFYE.js → chunk-R4RUPXI3.js} +2 -2
  362. package/__chunks__/{chunk-WPWPG5LF.js → chunk-R76RP7IU.js} +2 -2
  363. package/__chunks__/{chunk-HRPKFRNL.js → chunk-RF4DZS4N.js} +2 -2
  364. package/__chunks__/{chunk-XJTLGDZK.js → chunk-RMJTLH3A.js} +2 -2
  365. package/__chunks__/{chunk-QMLN642B.js → chunk-RNI2BJ2Q.js} +2 -2
  366. package/__chunks__/{chunk-BQJREYR5.js → chunk-RO4UCCUR.js} +2 -2
  367. package/__chunks__/{chunk-G42O2PHI.js → chunk-RXMWMFOW.js} +2 -2
  368. package/__chunks__/{chunk-CUGULQR2.js → chunk-RY3K34JD.js} +2 -2
  369. package/__chunks__/{chunk-IQTZT235.js → chunk-RY7UFZSG.js} +2 -2
  370. package/__chunks__/{chunk-C243OR2M.js → chunk-RYRGZD4J.js} +2 -2
  371. package/__chunks__/{chunk-KFYYHQW2.js → chunk-SBI53RRN.js} +2 -2
  372. package/__chunks__/chunk-SBQF4BUK.js +2 -0
  373. package/__chunks__/{chunk-4TSBOPCC.js → chunk-SEBRATCG.js} +2 -2
  374. package/__chunks__/{chunk-SGX2FP6L.js → chunk-SGKBOIU5.js} +2 -2
  375. package/__chunks__/{chunk-7T4RV2SE.js → chunk-SIQY55FF.js} +2 -2
  376. package/__chunks__/{chunk-XNDPJ4TZ.js → chunk-SNECMDCH.js} +2 -2
  377. package/__chunks__/{chunk-YOP6W6FX.js → chunk-SPPOJOPL.js} +2 -2
  378. package/__chunks__/{chunk-ODNMVA7S.js → chunk-SXJVXIUD.js} +2 -2
  379. package/__chunks__/{chunk-CRHAOWL6.js → chunk-SZ3ESUQN.js} +2 -2
  380. package/__chunks__/{chunk-SGXA35GW.js → chunk-T2AUFYE3.js} +2 -2
  381. package/__chunks__/{chunk-2LM6VL2U.js → chunk-T5CFM2QY.js} +2 -2
  382. package/__chunks__/{chunk-CJOYAXR6.js → chunk-T5FCSA7N.js} +2 -2
  383. package/__chunks__/{chunk-JNUYKPPB.js → chunk-T5RK5BUP.js} +2 -2
  384. package/__chunks__/{chunk-YITHAPWP.js → chunk-TAQG357E.js} +2 -2
  385. package/__chunks__/{chunk-CXTATLNL.js → chunk-TFW7LSRX.js} +2 -2
  386. package/__chunks__/{chunk-WD723L2N.js → chunk-THZRRHSZ.js} +2 -2
  387. package/__chunks__/{chunk-QNMYZ3RM.js → chunk-TJRVK3UU.js} +2 -2
  388. package/__chunks__/{chunk-77VYVSPJ.js → chunk-TRSGUUCI.js} +2 -2
  389. package/__chunks__/{chunk-QZCZSEKK.js → chunk-TVEOKFWE.js} +2 -2
  390. package/__chunks__/{chunk-NWE4YSDQ.js → chunk-TYCTG4C4.js} +2 -2
  391. package/__chunks__/{chunk-EHHOHCEP.js → chunk-U2PE7CQP.js} +2 -2
  392. package/__chunks__/{chunk-CSN6QIDU.js → chunk-U4KFTJTY.js} +2 -2
  393. package/__chunks__/{chunk-ZWFDVX75.js → chunk-U4RJ4K45.js} +2 -2
  394. package/__chunks__/{chunk-2CJT4K3M.js → chunk-U7MLV2BW.js} +2 -2
  395. package/__chunks__/{chunk-NJ7DXG4S.js → chunk-UC735YPR.js} +2 -2
  396. package/__chunks__/{chunk-DLX3CQR5.js → chunk-UN4MARV3.js} +2 -2
  397. package/__chunks__/{chunk-564NV6F7.js → chunk-UN4REUZC.js} +2 -2
  398. package/__chunks__/{chunk-TWUAOACP.js → chunk-UNPQWGON.js} +2 -2
  399. package/__chunks__/{chunk-VAKTLMS2.js → chunk-URYLYTGJ.js} +2 -2
  400. package/__chunks__/{chunk-Y667HOJ4.js → chunk-UTL7U5UI.js} +2 -2
  401. package/__chunks__/{chunk-JMAHQ2BL.js → chunk-V2MJ6MFL.js} +2 -2
  402. package/__chunks__/{chunk-LAQHUF5U.js → chunk-V4BNAT4J.js} +2 -2
  403. package/__chunks__/{chunk-HYMCGUQ6.js → chunk-VFCAMANS.js} +2 -2
  404. package/__chunks__/{chunk-ZDHIL7U6.js → chunk-W6STDO6M.js} +2 -2
  405. package/__chunks__/{chunk-2QDKJUEV.js → chunk-WCLIA6EF.js} +2 -2
  406. package/__chunks__/{chunk-ESGOJKAO.js → chunk-WCPIQW67.js} +2 -2
  407. package/__chunks__/chunk-WFXYMXKM.js +2 -0
  408. package/__chunks__/{chunk-EQMMGHTK.js → chunk-WKEFNTGY.js} +2 -2
  409. package/__chunks__/{chunk-7TVDOR7N.js → chunk-X4QYLOZQ.js} +2 -2
  410. package/__chunks__/{chunk-BRQ3LLIQ.js → chunk-XDFXGTHL.js} +2 -2
  411. package/__chunks__/{chunk-MKQWG7BY.js → chunk-XMWMUGXP.js} +2 -2
  412. package/__chunks__/{chunk-XL5J5E3M.js → chunk-XPKYHPLW.js} +2 -2
  413. package/__chunks__/{chunk-VZMFJ3L6.js → chunk-Y23GX6IE.js} +2 -2
  414. package/__chunks__/{chunk-3TICMVZV.js → chunk-Y7RTER64.js} +2 -2
  415. package/__chunks__/{chunk-A6PXX4VJ.js → chunk-Y7S4LXWV.js} +2 -2
  416. package/__chunks__/{chunk-I36KJHVJ.js → chunk-YAPGMSYD.js} +2 -2
  417. package/__chunks__/chunk-YJVO66GP.js +2 -0
  418. package/__chunks__/{chunk-PDAULZTU.js → chunk-YJVYJ7QJ.js} +2 -2
  419. package/__chunks__/{chunk-2EW3XTFM.js → chunk-YK65SDM7.js} +2 -2
  420. package/__chunks__/{chunk-LI4YULOB.js → chunk-YLBCIDEH.js} +2 -2
  421. package/__chunks__/{chunk-X4NFMYKP.js → chunk-YMLBMHXB.js} +2 -2
  422. package/__chunks__/{chunk-UY2G6BM4.js → chunk-YOMCAFFL.js} +2 -2
  423. package/__chunks__/{chunk-NIC5DFYV.js → chunk-ZA7GYSFY.js} +2 -2
  424. package/__chunks__/{chunk-HNBPEVML.js → chunk-ZD24EOR6.js} +2 -2
  425. package/__chunks__/{chunk-KMJQYWK7.js → chunk-ZFH7IDUP.js} +2 -2
  426. package/__chunks__/{chunk-AEXHDH54.js → chunk-ZGSGJ6OM.js} +2 -2
  427. package/__chunks__/{chunk-5IGYDXE4.js → chunk-ZL4XOJE2.js} +2 -2
  428. package/__chunks__/{chunk-MTOYWW2O.js → chunk-ZMGF5ZY7.js} +2 -2
  429. package/__chunks__/{chunk-QIE35VSD.js → chunk-ZMXNGHVW.js} +2 -2
  430. package/__chunks__/{chunk-Q2KRXQYU.js → chunk-ZRLPJ4QN.js} +2 -2
  431. package/__chunks__/{chunk-XKOKOYUP.js → chunk-ZYZ433JO.js} +2 -2
  432. package/__commonjs/UI/SignTransactionsModals/SignTransactionsModals.js +20 -20
  433. package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/SignStep.js +18 -18
  434. package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/SignWithDeviceModal.js +18 -18
  435. package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/components/SignStepBody.js +16 -16
  436. package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/index.js +5 -5
  437. package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmFee/ConfirmFee.js +6 -6
  438. package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmFee/index.js +6 -6
  439. package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/components/components/index.js +14 -14
  440. package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/components/index.js +16 -16
  441. package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/index.js +18 -18
  442. package/__commonjs/UI/SignTransactionsModals/SignWithExtraModal/SignWithExtraModal.js +1 -1
  443. package/__commonjs/UI/SignTransactionsModals/SignWithExtraModal/index.js +1 -1
  444. package/__commonjs/UI/SignTransactionsModals/SignWithLedgerModal/SignWithLedgerModal.js +18 -18
  445. package/__commonjs/UI/SignTransactionsModals/SignWithLedgerModal/index.js +18 -18
  446. package/__commonjs/UI/SignTransactionsModals/SignWithMetamaskModal/SignWithMetamaskModal.js +18 -18
  447. package/__commonjs/UI/SignTransactionsModals/SignWithMetamaskModal/index.js +18 -18
  448. package/__commonjs/UI/SignTransactionsModals/components/ConfirmationScreen.js +1 -1
  449. package/__commonjs/UI/SignTransactionsModals/components/index.js +1 -1
  450. package/__commonjs/UI/SignTransactionsModals/index.js +20 -20
  451. package/__commonjs/UI/TransactionDetails/TransactionDetails.js +4 -4
  452. package/__commonjs/UI/TransactionDetails/index.js +4 -4
  453. package/__commonjs/UI/TransactionInfo/components/ScResultsList/ScResultsList.js +2 -2
  454. package/__commonjs/UI/TransactionInfo/components/ScResultsList/index.js +2 -2
  455. package/__commonjs/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/TransactionActionNft.js +4 -4
  456. package/__commonjs/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/index.js +3 -3
  457. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasUsed/TransactionInfoGasUsed.js +1 -1
  458. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasUsed/index.js +1 -1
  459. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoNonce/TransactionInfoNonce.js +3 -3
  460. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoNonce/index.js +3 -3
  461. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTo/TransactionInfoTo.js +16 -16
  462. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTo/index.js +16 -16
  463. package/__commonjs/UI/TransactionsTable/components/LockedTokenAddressIcon.js +2 -2
  464. package/__commonjs/UI/TransactionsTable/components/TransactionReceiver.js +4 -4
  465. package/__commonjs/UI/TransactionsTable/components/TransactionSender.js +5 -5
  466. package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/SimpleToast.js +6 -6
  467. package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/index.js +1 -1
  468. package/__commonjs/UI/TransactionsToastList/components/TransactionToast/TransactionToast.js +4 -4
  469. package/__commonjs/UI/TransactionsToastList/components/TransactionToast/components/TransactionToastContent.js +6 -6
  470. package/__commonjs/UI/TransactionsToastList/components/TransactionToast/index.js +4 -4
  471. package/__commonjs/UI/TransactionsToastList/components/TransactionToastGuard.js +4 -4
  472. package/__commonjs/UI/index.js +65 -65
  473. package/__commonjs/UI/walletConnect/WalletConnectLoginButton/index.js +3 -3
  474. package/__commonjs/UI/walletConnect/index.js +4 -4
  475. package/__commonjs/UI/webWallet/WebWalletLoginButton/WebWalletLoginButton.js +2 -2
  476. package/__commonjs/UI/webWallet/WebWalletLoginButton/index.js +2 -2
  477. package/__commonjs/UI/webWallet/XaliasCrossWindowLoginButton/XaliasCrossWindowLoginButton.js +3 -3
  478. package/__commonjs/UI/webWallet/XaliasCrossWindowLoginButton/index.js +3 -3
  479. package/__commonjs/__mocks__/index.js +1 -1
  480. package/__commonjs/apiCalls/accounts/getAccountFromApi.js +1 -1
  481. package/__commonjs/apiCalls/accounts/useGetAccountFromApi.js +1 -1
  482. package/__commonjs/apiCalls/configuration/getNetworkConfig.js +1 -1
  483. package/__commonjs/apiCalls/configuration/useGetNetworkConfigFromApi.js +1 -1
  484. package/__commonjs/apiCalls/configuration/useGetServerConfigurationFromApi.js +1 -1
  485. package/__commonjs/apiCalls/transactions/useGetTransactionsFromApi.js +1 -1
  486. package/__commonjs/components/ProviderInitializer/helpers/index.js +1 -1
  487. package/__commonjs/components/TransactionsTracker/TransactionTracker.js +1 -1
  488. package/__commonjs/components/TransactionsTracker/index.js +1 -1
  489. package/__commonjs/hooks/index.js +1 -1
  490. package/__commonjs/hooks/login/useExtensionLogin.js +1 -1
  491. package/__commonjs/hooks/login/useMetamaskLogin.js +1 -1
  492. package/__commonjs/hooks/login/useWalletConnectV2Login.js +1 -1
  493. package/__commonjs/hooks/login/useWebWalletLogin.js +1 -1
  494. package/__commonjs/hooks/login/useXaliasLogin.js +1 -1
  495. package/__commonjs/hooks/signMessage/index.js +1 -1
  496. package/__commonjs/hooks/signMessage/useSignMessage.js +1 -1
  497. package/__commonjs/hooks/transactions/batch/tracker/useCheckBatchesOnWsFailureFallback.js +1 -1
  498. package/__commonjs/hooks/transactions/batch/tracker/useCheckHangingBatchesFallback.js +1 -1
  499. package/__commonjs/hooks/transactions/batch/tracker/useVerifyBatchStatus.js +1 -1
  500. package/__commonjs/hooks/transactions/helpers/checkNeedsGuardianSigning.js +1 -1
  501. package/__commonjs/hooks/transactions/helpers/index.js +1 -1
  502. package/__commonjs/hooks/transactions/helpers/useGetLedgerProvider.js +1 -1
  503. package/__commonjs/hooks/transactions/index.js +1 -1
  504. package/__commonjs/hooks/transactions/useCheckTransactionStatus/index.js +1 -1
  505. package/__commonjs/hooks/transactions/useCheckTransactionStatus/useCheckTransactionStatus.js +1 -1
  506. package/__commonjs/hooks/transactions/useSignTransactions.js +1 -1
  507. package/__commonjs/hooks/transactions/useSignTransactionsWithDevice.js +1 -1
  508. package/__commonjs/hooks/transactions/useSignTransactionsWithLedger.js +1 -1
  509. package/__commonjs/hooks/websocketListener/index.js +1 -1
  510. package/__commonjs/hooks/websocketListener/useRegisterWebsocketListener.js +1 -1
  511. package/__commonjs/services/index.js +1 -1
  512. package/__commonjs/services/nativeAuth/helpers/index.js +1 -1
  513. package/__commonjs/services/transactions/index.js +1 -1
  514. package/__commonjs/services/transactions/utils.js +1 -1
  515. package/__commonjs/utils/account/getAccount.js +1 -1
  516. package/__commonjs/utils/account/getAccountBalance.js +1 -1
  517. package/__commonjs/utils/account/getAddress.js +1 -1
  518. package/__commonjs/utils/index.js +4 -4
  519. package/__commonjs/utils/operations/calculateFeeLimit.js +1 -1
  520. package/__commonjs/utils/operations/index.js +1 -1
  521. package/__commonjs/utils/transactions/batch/updateBatchTransactionsStatuses.js +1 -1
  522. package/__commonjs/utils/transactions/builtCallbackUrl.js +1 -1
  523. package/__commonjs/utils/transactions/getInterpretedTransaction/getInterpretedTransaction.js +1 -1
  524. package/__commonjs/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/getTransactionValue.js +2 -2
  525. package/__commonjs/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/index.js +2 -2
  526. package/__commonjs/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/index.js +2 -2
  527. package/__commonjs/utils/transactions/getInterpretedTransaction/index.js +1 -1
  528. package/__commonjs/utils/transactions/index.js +1 -1
  529. package/__commonjs/utils/transactions/transactionInfoHelpers/getTransactionActionNftText.js +1 -1
  530. package/__commonjs/utils/transactions/transactionInfoHelpers/getTransactionActionTokenText.js +1 -1
  531. package/__commonjs/utils/transactions/transactionInfoHelpers/index.js +1 -1
  532. package/__commonjs/utils/validation/index.js +1 -1
  533. package/__commonjs/utils/validation/stringIsFloat.js +1 -1
  534. package/__commonjs/wrappers/AppInitializer.js +1 -1
  535. package/__commonjs/wrappers/AuthenticatedRoutesWrapper/AuthenticatedRoutesWrapper.js +1 -1
  536. package/__commonjs/wrappers/AuthenticatedRoutesWrapper/index.js +1 -1
  537. package/__commonjs/wrappers/DappProvider/DappProvider.js +3 -3
  538. package/__commonjs/wrappers/DappProvider/index.js +3 -3
  539. package/__mocks__/index.js +1 -1
  540. package/__mocks__/utils/index.js +1 -1
  541. package/__mocks__/utils/renderWithProvider.js +1 -1
  542. package/apiCalls/accounts/getAccountFromApi.js +1 -1
  543. package/apiCalls/accounts/index.js +1 -1
  544. package/apiCalls/accounts/useGetAccountFromApi.js +1 -1
  545. package/apiCalls/configuration/getNetworkConfig.js +1 -1
  546. package/apiCalls/configuration/index.js +1 -1
  547. package/apiCalls/configuration/useGetNetworkConfigFromApi.js +1 -1
  548. package/apiCalls/configuration/useGetServerConfigurationFromApi.js +1 -1
  549. package/apiCalls/economics/getEconomicsInfo.js +1 -1
  550. package/apiCalls/economics/index.js +1 -1
  551. package/apiCalls/economics/useGetEconomicsInfoFromApi.js +1 -1
  552. package/apiCalls/index.js +1 -1
  553. package/apiCalls/transactions/getTransactionsByHashes.js +1 -1
  554. package/apiCalls/transactions/index.js +1 -1
  555. package/apiCalls/transactions/sendSignedBatchTransactions.js +1 -1
  556. package/apiCalls/transactions/sendSignedTransactions.js +1 -1
  557. package/apiCalls/transactions/useGetTransactionsFromApi.js +1 -1
  558. package/apiCalls/utils/getCleanApiAddress.js +1 -1
  559. package/apiCalls/utils/getScamAddressData.js +1 -1
  560. package/apiCalls/utils/index.js +1 -1
  561. package/apiCalls/utils/useApiFetch.js +1 -1
  562. package/components/LogoutListener/LogoutListener.js +1 -1
  563. package/components/LogoutListener/helpers/index.js +1 -1
  564. package/components/LogoutListener/helpers/useLogoutFromMultipleTabs.js +1 -1
  565. package/components/LogoutListener/helpers/useNativeAuthLogout.js +1 -1
  566. package/components/LogoutListener/helpers/useNativeAuthLogoutWarning/index.js +1 -1
  567. package/components/LogoutListener/helpers/useNativeAuthLogoutWarning/useNativeAuthLogoutWarning.js +1 -1
  568. package/components/LogoutListener/index.js +1 -1
  569. package/components/ProviderInitializer/ProviderInitializer.js +1 -1
  570. package/components/ProviderInitializer/helpers/index.js +1 -1
  571. package/components/ProviderInitializer/helpers/processModifiedAccount.js +1 -1
  572. package/components/ProviderInitializer/hooks/index.js +1 -1
  573. package/components/ProviderInitializer/hooks/useSetLedgerProvider.js +1 -1
  574. package/components/ProviderInitializer/index.js +1 -1
  575. package/components/TransactionSender/TransactionSender.js +1 -1
  576. package/components/TransactionSender/index.js +1 -1
  577. package/components/TransactionSender/utils/invokeSendTransactions.js +1 -1
  578. package/components/TransactionsTracker/TransactionTracker.js +1 -1
  579. package/components/TransactionsTracker/index.js +1 -1
  580. package/hooks/account/index.js +1 -1
  581. package/hooks/account/useGetAccount.js +1 -1
  582. package/hooks/account/useGetAccountInfo.js +1 -1
  583. package/hooks/account/useGetBatchWebsocketEvent.js +1 -1
  584. package/hooks/account/useGetIsLoggedIn.js +1 -1
  585. package/hooks/account/useGetIsWalletConnectV2Initialized.js +1 -1
  586. package/hooks/account/useGetLoginInfo.js +1 -1
  587. package/hooks/account/useGetWebsocketEvent.js +1 -1
  588. package/hooks/economics/index.js +1 -1
  589. package/hooks/economics/useGetEgldPrice.js +1 -1
  590. package/hooks/index.js +1 -1
  591. package/hooks/login/index.js +1 -1
  592. package/hooks/login/useCrossWindowLogin.js +1 -1
  593. package/hooks/login/useExtensionLogin.js +1 -1
  594. package/hooks/login/useGetModalLoginMethods.js +1 -1
  595. package/hooks/login/useIframeLogin.js +1 -1
  596. package/hooks/login/useLedgerLogin.js +1 -1
  597. package/hooks/login/useLoginService.js +1 -1
  598. package/hooks/login/useMetamaskLogin.js +1 -1
  599. package/hooks/login/useOperaLogin.js +1 -1
  600. package/hooks/login/usePasskeyLogin.js +1 -1
  601. package/hooks/login/useWalletConnectV2Login.js +1 -1
  602. package/hooks/login/useWebViewLogin.js +1 -1
  603. package/hooks/login/useWebWalletLogin.js +1 -1
  604. package/hooks/login/useXaliasLogin.js +1 -1
  605. package/hooks/signMessage/index.js +1 -1
  606. package/hooks/signMessage/useGetLastSignedMessageSession.js +1 -1
  607. package/hooks/signMessage/useGetSignMessageSession.js +1 -1
  608. package/hooks/signMessage/useGetSignedMessageStatus.js +1 -1
  609. package/hooks/signMessage/useSignMessage.js +1 -1
  610. package/hooks/toasts/index.js +1 -1
  611. package/hooks/toasts/useGetToasts.js +1 -1
  612. package/hooks/toasts/useTransactionsToasts.js +1 -1
  613. package/hooks/transactions/batch/tracker/useBatchTransactionsTracker.js +1 -1
  614. package/hooks/transactions/batch/tracker/useCheckBatch.js +1 -1
  615. package/hooks/transactions/batch/tracker/useCheckBatchesOnWsFailureFallback.js +1 -1
  616. package/hooks/transactions/batch/tracker/useCheckHangingBatchesFallback.js +1 -1
  617. package/hooks/transactions/batch/tracker/useUpdateBatch.js +1 -1
  618. package/hooks/transactions/batch/tracker/useVerifyBatchStatus.js +1 -1
  619. package/hooks/transactions/batch/useGetBatchStatus.js +1 -1
  620. package/hooks/transactions/batch/useResolveBatchStatusResponse.js +1 -1
  621. package/hooks/transactions/batch/useSendBatchTransactions.js +1 -1
  622. package/hooks/transactions/helpers/checkNeedsGuardianSigning.js +1 -1
  623. package/hooks/transactions/helpers/getShouldMoveTransactionsToSignedState.js +1 -1
  624. package/hooks/transactions/helpers/index.js +1 -1
  625. package/hooks/transactions/helpers/useGetLedgerProvider.js +1 -1
  626. package/hooks/transactions/helpers/useSetTransactionNonces.js +1 -1
  627. package/hooks/transactions/index.js +1 -1
  628. package/hooks/transactions/useCheckTransactionStatus/checkBatch.js +1 -1
  629. package/hooks/transactions/useCheckTransactionStatus/index.js +1 -1
  630. package/hooks/transactions/useCheckTransactionStatus/useCheckTransactionStatus.js +1 -1
  631. package/hooks/transactions/useGetActiveTransactionsStatus.js +1 -1
  632. package/hooks/transactions/useGetFailedTransactions.js +1 -1
  633. package/hooks/transactions/useGetLastPendingTransactionHash.js +1 -1
  634. package/hooks/transactions/useGetPendingTransactions.js +1 -1
  635. package/hooks/transactions/useGetPollingInterval.js +1 -1
  636. package/hooks/transactions/useGetSignTransactionsError.js +1 -1
  637. package/hooks/transactions/useGetSignedTransactions.js +1 -1
  638. package/hooks/transactions/useGetSuccessfulTransactions.js +1 -1
  639. package/hooks/transactions/useGetTokenDetails.js +1 -1
  640. package/hooks/transactions/useGetTransactionDisplayInfo.js +1 -1
  641. package/hooks/transactions/useParseSignedTransactions.js +1 -1
  642. package/hooks/transactions/useSignMultipleTransactions.js +1 -1
  643. package/hooks/transactions/useSignTransactions.js +1 -1
  644. package/hooks/transactions/useSignTransactionsCommonData.js +1 -1
  645. package/hooks/transactions/useSignTransactionsWithDevice.js +1 -1
  646. package/hooks/transactions/useSignTransactionsWithLedger.js +1 -1
  647. package/hooks/transactions/useTrackTransactionStatus.js +1 -1
  648. package/hooks/transactions/useTransactionsTracker.js +1 -1
  649. package/hooks/useGetNetworkConfig.js +1 -1
  650. package/hooks/useGetNotification.js +1 -1
  651. package/hooks/websocketListener/index.js +1 -1
  652. package/hooks/websocketListener/useInitializeWebsocketConnection.js +1 -1
  653. package/hooks/websocketListener/useRegisterWebsocketListener.js +1 -1
  654. package/package.json +1 -1
  655. package/providers/experimentalWebViewProvider/ExperimentalWebviewProvider.js +1 -1
  656. package/providers/experimentalWebViewProvider/index.js +1 -1
  657. package/reduxStore/selectors/index.js +1 -1
  658. package/reduxStore/selectors/transactionsSelectors.js +1 -1
  659. package/services/index.js +1 -1
  660. package/services/nativeAuth/helpers/getAuthorizationInfo.js +1 -1
  661. package/services/nativeAuth/helpers/getIsNativeAuthSingingForbidden.js +1 -1
  662. package/services/nativeAuth/helpers/index.js +1 -1
  663. package/services/transactions/clearTransactions.js +1 -1
  664. package/services/transactions/getBatchTransactionsStatus.js +1 -1
  665. package/services/transactions/getTransactionsDetails.js +1 -1
  666. package/services/transactions/index.js +1 -1
  667. package/services/transactions/sendBatchTransactions.js +1 -1
  668. package/services/transactions/sendBatchTransactions.test.js +1 -1
  669. package/services/transactions/sendTransactions.js +1 -1
  670. package/services/transactions/transformAndSignTransactions.js +1 -1
  671. package/services/transactions/utils/transformTransactionsToSign.js +1 -1
  672. package/services/transactions/utils.js +1 -1
  673. package/utils/account/getAccount.js +1 -1
  674. package/utils/account/getAccountBalance.js +1 -1
  675. package/utils/account/getAccountShard.js +1 -1
  676. package/utils/account/getAddress.js +1 -1
  677. package/utils/account/getLatestNonce.js +1 -1
  678. package/utils/account/getWebviewToken.js +1 -1
  679. package/utils/account/index.js +1 -1
  680. package/utils/account/refreshAccount.js +1 -1
  681. package/utils/account/signMessage.js +1 -1
  682. package/utils/getIsLoggedIn.js +1 -1
  683. package/utils/index.js +1 -1
  684. package/utils/logout.js +1 -1
  685. package/utils/network/getChainID.js +1 -1
  686. package/utils/network/getEgldLabel.js +1 -1
  687. package/utils/network/getNetworkConfig.js +1 -1
  688. package/utils/network/index.js +1 -1
  689. package/utils/operations/calculateFeeLimit.js +1 -1
  690. package/utils/operations/index.js +1 -1
  691. package/utils/transactions/batch/updateBatchTransactionsStatuses.js +1 -1
  692. package/utils/transactions/builtCallbackUrl.js +1 -1
  693. package/utils/transactions/getAllTransactionsLink.js +1 -1
  694. package/utils/transactions/getInterpretedTransaction/getInterpretedTransaction.js +1 -1
  695. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/getTransactionValue.js +1 -1
  696. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getTitleText.js +1 -1
  697. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/index.js +1 -1
  698. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/index.js +1 -1
  699. package/utils/transactions/getInterpretedTransaction/helpers/index.js +1 -1
  700. package/utils/transactions/getInterpretedTransaction/index.js +1 -1
  701. package/utils/transactions/getOperationsDetails.js +1 -1
  702. package/utils/transactions/getTransactionLink.js +1 -1
  703. package/utils/transactions/index.js +1 -1
  704. package/utils/transactions/transactionInfoHelpers/getTransactionActionNftText.js +1 -1
  705. package/utils/transactions/transactionInfoHelpers/getTransactionActionTokenText.js +1 -1
  706. package/utils/transactions/transactionInfoHelpers/index.js +1 -1
  707. package/utils/validation/index.js +1 -1
  708. package/utils/validation/stringIsFloat.js +1 -1
  709. package/utils/waitForChainID.js +1 -1
  710. package/web/hooks/index.js +1 -1
  711. package/web/hooks/useIdleTimer.js +1 -1
  712. package/web/index.js +1 -1
  713. package/wrappers/AppInitializer.js +1 -1
  714. package/wrappers/AuthenticatedRoutesWrapper/AuthenticatedRoutesWrapper.js +1 -1
  715. package/wrappers/AuthenticatedRoutesWrapper/index.js +1 -1
  716. package/wrappers/AxiosInterceptorContext/AxiosInterceptorContext.js +1 -1
  717. package/wrappers/AxiosInterceptorContext/components/AxiosInterceptor.js +1 -1
  718. package/wrappers/AxiosInterceptorContext/components/AxiosInterceptorContextProvider.js +1 -1
  719. package/wrappers/AxiosInterceptorContext/components/LoginInfoListener.js +1 -1
  720. package/wrappers/AxiosInterceptorContext/components/index.js +1 -1
  721. package/wrappers/AxiosInterceptorContext/index.js +1 -1
  722. package/wrappers/DappProvider/CustomComponents.js +1 -1
  723. package/wrappers/DappProvider/DappProvider.js +1 -1
  724. package/wrappers/DappProvider/index.js +1 -1
  725. package/wrappers/index.js +1 -1
  726. package/__chunks__/chunk-4IENPX4H.js +0 -2
  727. package/__chunks__/chunk-5ABZIP67.js +0 -2
  728. package/__chunks__/chunk-BBXPKZZG.js +0 -2
  729. package/__chunks__/chunk-CKDNZSN6.js +0 -2
  730. package/__chunks__/chunk-DAU32KDC.js +0 -2
  731. package/__chunks__/chunk-IKH6YE2P.js +0 -2
  732. package/__chunks__/chunk-JIUK364I.js +0 -2
  733. package/__chunks__/chunk-KZY4LCNF.js +0 -2
  734. package/__chunks__/chunk-LCR5C4ZS.js +0 -2
  735. package/__chunks__/chunk-LI32F4IE.js +0 -2
  736. package/__chunks__/chunk-PBMVDTRI.js +0 -2
  737. package/__chunks__/chunk-PKFKI3LD.js +0 -2
  738. package/__chunks__/chunk-PQC5B6GG.js +0 -2
  739. package/__chunks__/chunk-QJZTCHB4.js +0 -2
  740. package/__chunks__/chunk-QSJIOSJN.js +0 -2
  741. package/__chunks__/chunk-SRVPLYUK.js +0 -2
  742. package/__chunks__/chunk-VMDD5SZJ.js +0 -2
  743. package/__chunks__/chunk-YC2H4IT7.js +0 -2
  744. package/__chunks__/chunk-YG7S2B67.js +0 -2
  745. package/__chunks__/chunk-YUHSF3WL.js +0 -2
@@ -1,4 +1,4 @@
1
- "use strict";var vr=Object.create;var X=Object.defineProperty;var Sr=Object.getOwnPropertyDescriptor;var Ir=Object.getOwnPropertyNames,_e=Object.getOwnPropertySymbols,kr=Object.getPrototypeOf,Ee=Object.prototype.hasOwnProperty,Ar=Object.prototype.propertyIsEnumerable;var Ne=(t,e,r)=>e in t?X(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,W=(t,e)=>{for(var r in e||(e={}))Ee.call(e,r)&&Ne(t,r,e[r]);if(_e)for(var r of _e(e))Ar.call(e,r)&&Ne(t,r,e[r]);return t};var _r=(t,e)=>()=>(t&&(e=t(t=0)),e);var re=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),Nr=(t,e)=>{for(var r in e)X(t,r,{get:e[r],enumerable:!0})},Re=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Ir(e))!Ee.call(t,i)&&i!==r&&X(t,i,{get:()=>e[i],enumerable:!(n=Sr(e,i))||n.enumerable});return t};var V=(t,e,r)=>(r=t!=null?vr(kr(t)):{},Re(e||!t||!t.__esModule?X(r,"default",{value:t,enumerable:!0}):r,t)),Er=t=>Re(X({},"__esModule",{value:!0}),t);var Ce=re(te=>{"use strict";l();te.byteLength=Lr;te.toByteArray=Cr;te.fromByteArray=Ur;var I=[],v=[],Rr=typeof Uint8Array!="undefined"?Uint8Array:Array,ce="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(U=0,Le=ce.length;U<Le;++U)I[U]=ce[U],v[ce.charCodeAt(U)]=U;var U,Le;v["-".charCodeAt(0)]=62;v["_".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 Lr(t){var e=De(t),r=e[0],n=e[1];return(r+n)*3/4-n}function Dr(t,e,r){return(e+r)*3/4-r}function Cr(t){var e,r=De(t),n=r[0],i=r[1],o=new Rr(Dr(t,n,i)),a=0,c=i>0?n-4:n,p;for(p=0;p<c;p+=4)e=v[t.charCodeAt(p)]<<18|v[t.charCodeAt(p+1)]<<12|v[t.charCodeAt(p+2)]<<6|v[t.charCodeAt(p+3)],o[a++]=e>>16&255,o[a++]=e>>8&255,o[a++]=e&255;return i===2&&(e=v[t.charCodeAt(p)]<<2|v[t.charCodeAt(p+1)]>>4,o[a++]=e&255),i===1&&(e=v[t.charCodeAt(p)]<<10|v[t.charCodeAt(p+1)]<<4|v[t.charCodeAt(p+2)]>>2,o[a++]=e>>8&255,o[a++]=e&255),o}function Fr(t){return I[t>>18&63]+I[t>>12&63]+I[t>>6&63]+I[t&63]}function Or(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(Fr(n));return i.join("")}function Ur(t){for(var e,r=t.length,n=r%3,i=[],o=16383,a=0,c=r-n;a<c;a+=o)i.push(Or(t,a,a+o>c?c:a+o));return n===1?(e=t[r-1],i.push(I[e>>2]+I[e<<4&63]+"==")):n===2&&(e=(t[r-2]<<8)+t[r-1],i.push(I[e>>10]+I[e>>4&63]+I[e<<2&63]+"=")),i.join("")}});var Fe=re(pe=>{l();pe.read=function(t,e,r,n,i){var o,a,c=i*8-n-1,p=(1<<c)-1,m=p>>1,h=-7,f=r?i-1:0,y=r?-1:1,b=t[e+f];for(f+=y,o=b&(1<<-h)-1,b>>=-h,h+=c;h>0;o=o*256+t[e+f],f+=y,h-=8);for(a=o&(1<<-h)-1,o>>=-h,h+=n;h>0;a=a*256+t[e+f],f+=y,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)};pe.write=function(t,e,r,n,i,o){var a,c,p,m=o*8-i-1,h=(1<<m)-1,f=h>>1,y=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,b=n?0:o-1,E=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,a=h):(a=Math.floor(Math.log(e)/Math.LN2),e*(p=Math.pow(2,-a))<1&&(a--,p*=2),a+f>=1?e+=y/p:e+=y*Math.pow(2,1-f),e*p>=2&&(a++,p/=2),a+f>=h?(c=0,a=h):a+f>=1?(c=(e*p-1)*Math.pow(2,i),a=a+f):(c=e*Math.pow(2,f-1)*Math.pow(2,i),a=0));i>=8;t[r+b]=c&255,b+=E,c/=256,i-=8);for(a=a<<i|c,m+=i;m>0;t[r+b]=a&255,b+=E,a/=256,m-=8);t[r+b-E]|=Z*128}});var ze=re(H=>{"use strict";l();var ue=Ce(),$=Fe(),Oe=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;H.Buffer=s;H.SlowBuffer=Vr;H.INSPECT_MAX_BYTES=50;var ne=2147483647;H.kMaxLength=ne;s.TYPED_ARRAY_SUPPORT=Br();!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 Br(){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 R(t){if(t>ne)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 fe(t)}return Pe(t,e,r)}s.poolSize=8192;function Pe(t,e,r){if(typeof t=="string")return Mr(t,e);if(ArrayBuffer.isView(t))return Gr(t);if(t==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(k(t,ArrayBuffer)||t&&k(t.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(k(t,SharedArrayBuffer)||t&&k(t.buffer,SharedArrayBuffer)))return ge(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=Wr(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 Pe(t,e,r)};Object.setPrototypeOf(s.prototype,Uint8Array.prototype);Object.setPrototypeOf(s,Uint8Array);function Me(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 Pr(t,e,r){return Me(t),t<=0?R(t):e!==void 0?typeof r=="string"?R(t).fill(e,r):R(t).fill(e):R(t)}s.alloc=function(t,e,r){return Pr(t,e,r)};function fe(t){return Me(t),R(t<0?0:he(t)|0)}s.allocUnsafe=function(t){return fe(t)};s.allocUnsafeSlow=function(t){return fe(t)};function Mr(t,e){if((typeof e!="string"||e==="")&&(e="utf8"),!s.isEncoding(e))throw new TypeError("Unknown encoding: "+e);var r=Ge(t,e)|0,n=R(r),i=n.write(t,e);return i!==r&&(n=n.slice(0,i)),n}function de(t){for(var e=t.length<0?0:he(t.length)|0,r=R(e),n=0;n<e;n+=1)r[n]=t[n]&255;return r}function Gr(t){if(k(t,Uint8Array)){var e=new Uint8Array(t);return ge(e.buffer,e.byteOffset,e.byteLength)}return de(t)}function ge(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 Wr(t){if(s.isBuffer(t)){var e=he(t.length)|0,r=R(e);return r.length===0||t.copy(r,0,0,e),r}if(t.length!==void 0)return typeof t.length!="number"||ye(t.length)?R(0):de(t);if(t.type==="Buffer"&&Array.isArray(t.data))return de(t.data)}function he(t){if(t>=ne)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+ne.toString(16)+" bytes");return t|0}function Vr(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(k(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),k(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(k(a,Uint8Array))o+a.length>i.length?s.from(a).copy(i,o):Uint8Array.prototype.set.call(i,a,o);else if(s.isBuffer(a))a.copy(i,o);else throw new TypeError('"list" argument must be an Array of Buffers');o+=a.length}return i};function Ge(t,e){if(s.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||k(t,ArrayBuffer))return t.byteLength;if(typeof t!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var 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 me(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return je(t).length;default:if(i)return n?-1:me(t).length;e=(""+e).toLowerCase(),i=!0}}s.byteLength=Ge;function $r(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 Qr(this,e,r);case"utf8":case"utf-8":return Ve(this,e,r);case"ascii":return Zr(this,e,r);case"latin1":case"binary":return Jr(this,e,r);case"base64":return Xr(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return et(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):$r.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=H.INSPECT_MAX_BYTES;return e=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(e+=" ... "),"<Buffer "+e+">"};Oe&&(s.prototype[Oe]=s.prototype.inspect);s.prototype.compare=function(e,r,n,i,o){if(k(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,c=n-r,p=Math.min(a,c),m=this.slice(i,o),h=e.slice(r,n),f=0;f<p;++f)if(m[f]!==h[f]){a=m[f],c=h[f];break}return a<c?-1:c<a?1:0};function We(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,ye(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:Ue(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):Ue(t,[e],r,n,i);throw new TypeError("val must be string, number or Buffer")}function Ue(t,e,r,n,i){var o=1,a=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;o=2,a/=2,c/=2,r/=2}function p(b,E){return o===1?b[E]:b.readUInt16BE(E*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===c)return h*o}else h!==-1&&(m-=m-h),h=-1}else for(r+c>a&&(r=a-c),m=r;m>=0;m--){for(var f=!0,y=0;y<c;y++)if(p(t,m+y)!==p(e,y)){f=!1;break}if(f)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 We(this,e,r,n,!0)};s.prototype.lastIndexOf=function(e,r,n){return We(this,e,r,n,!1)};function Hr(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 c=parseInt(e.substr(a*2,2),16);if(ye(c))return a;t[r+a]=c}return a}function qr(t,e,r,n){return ie(me(e,t.length-r),t,r,n)}function jr(t,e,r,n){return ie(nt(e),t,r,n)}function zr(t,e,r,n){return ie(je(e),t,r,n)}function Kr(t,e,r,n){return ie(it(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 Hr(this,e,r,n);case"utf8":case"utf-8":return qr(this,e,r,n);case"ascii":case"latin1":case"binary":return jr(this,e,r,n);case"base64":return zr(this,e,r,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Kr(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?ue.fromByteArray(t):ue.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,c=o>239?4:o>223?3:o>191?2:1;if(i+c<=r){var p,m,h,f;switch(c){case 1:o<128&&(a=o);break;case 2:p=t[i+1],(p&192)===128&&(f=(o&31)<<6|p&63,f>127&&(a=f));break;case 3:p=t[i+1],m=t[i+2],(p&192)===128&&(m&192)===128&&(f=(o&15)<<12|(p&63)<<6|m&63,f>2047&&(f<55296||f>57343)&&(a=f));break;case 4:p=t[i+1],m=t[i+2],h=t[i+3],(p&192)===128&&(m&192)===128&&(h&192)===128&&(f=(o&15)<<18|(p&63)<<12|(m&63)<<6|h&63,f>65535&&f<1114112&&(a=f))}}a===null?(a=65533,c=1):a>65535&&(a-=65536,n.push(a>>>10&1023|55296),a=56320|a&1023),n.push(a),i+=c}return Yr(n)}var Be=4096;function Yr(t){var e=t.length;if(e<=Be)return String.fromCharCode.apply(String,t);for(var r="",n=0;n<e;)r+=String.fromCharCode.apply(String,t.slice(n,n+=Be));return r}function Zr(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 Jr(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 Qr(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+=ot[t[o]];return i}function et(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 T(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||T(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||T(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||T(e,1,this.length),this[e]};s.prototype.readUint16LE=s.prototype.readUInt16LE=function(e,r){return e=e>>>0,r||T(e,2,this.length),this[e]|this[e+1]<<8};s.prototype.readUint16BE=s.prototype.readUInt16BE=function(e,r){return e=e>>>0,r||T(e,2,this.length),this[e]<<8|this[e+1]};s.prototype.readUint32LE=s.prototype.readUInt32LE=function(e,r){return e=e>>>0,r||T(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||T(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||T(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||T(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||T(e,1,this.length),this[e]&128?(255-this[e]+1)*-1:this[e]};s.prototype.readInt16LE=function(e,r){e=e>>>0,r||T(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||T(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||T(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||T(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||T(e,4,this.length),$.read(this,e,!0,23,4)};s.prototype.readFloatBE=function(e,r){return e=e>>>0,r||T(e,4,this.length),$.read(this,e,!1,23,4)};s.prototype.readDoubleLE=function(e,r){return e=e>>>0,r||T(e,8,this.length),$.read(this,e,!0,52,8)};s.prototype.readDoubleBE=function(e,r){return e=e>>>0,r||T(e,8,this.length),$.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,c=0;for(this[r]=e&255;++c<n&&(a*=256);)this[r+c]=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,c=1;for(this[r+a]=e&255;--a>=0&&(c*=256);)this[r+a]=e/c&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,c=1,p=0;for(this[r]=e&255;++a<n&&(c*=256);)e<0&&p===0&&this[r+a-1]!==0&&(p=1),this[r+a]=(e/c>>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,c=1,p=0;for(this[r+a]=e&255;--a>=0&&(c*=256);)e<0&&p===0&&this[r+a+1]!==0&&(p=1),this[r+a]=(e/c>>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 $e(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 He(t,e,r,n,i){return e=+e,r=r>>>0,i||$e(t,e,r,4,34028234663852886e22,-34028234663852886e22),$.write(t,e,r,n,23,4),r+4}s.prototype.writeFloatLE=function(e,r,n){return He(this,e,r,!0,n)};s.prototype.writeFloatBE=function(e,r,n){return He(this,e,r,!1,n)};function qe(t,e,r,n,i){return e=+e,r=r>>>0,i||$e(t,e,r,8,17976931348623157e292,-17976931348623157e292),$.write(t,e,r,n,52,8),r+8}s.prototype.writeDoubleLE=function(e,r,n){return qe(this,e,r,!0,n)};s.prototype.writeDoubleBE=function(e,r,n){return qe(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 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(a=0;a<n-r;++a)this[a+r]=c[a%p]}return this};var rt=/[^+/0-9A-Za-z-_]/g;function tt(t){if(t=t.split("=")[0],t=t.trim().replace(rt,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function me(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 nt(t){for(var e=[],r=0;r<t.length;++r)e.push(t.charCodeAt(r)&255);return e}function it(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 je(t){return ue.toByteArray(tt(t))}function ie(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 k(t,e){return t instanceof e||t!=null&&t.constructor!=null&&t.constructor.name!=null&&t.constructor.name===e.name}function ye(t){return t!==t}var ot=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 Je=re((Tt,Ze)=>{l();var x=Ze.exports={},A,_;function xe(){throw new Error("setTimeout has not been defined")}function Te(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?A=setTimeout:A=xe}catch(t){A=xe}try{typeof clearTimeout=="function"?_=clearTimeout:_=Te}catch(t){_=Te}})();function Ke(t){if(A===setTimeout)return setTimeout(t,0);if((A===xe||!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 at(t){if(_===clearTimeout)return clearTimeout(t);if((_===Te||!_)&&clearTimeout)return _=clearTimeout,clearTimeout(t);try{return _(t)}catch(e){try{return _.call(null,t)}catch(r){return _.call(this,t)}}}var L=[],q=!1,P,oe=-1;function st(){!q||!P||(q=!1,P.length?L=P.concat(L):oe=-1,L.length&&Xe())}function Xe(){if(!q){var t=Ke(st);q=!0;for(var e=L.length;e;){for(P=L,L=[];++oe<e;)P&&P[oe].run();oe=-1,e=L.length}P=null,q=!1,at(t)}}x.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 Ye(t,e)),L.length===1&&!q&&Ke(Xe)};function Ye(t,e){this.fun=t,this.array=e}Ye.prototype.run=function(){this.fun.apply(null,this.array)};x.title="browser";x.browser=!0;x.env={};x.argv=[];x.version="";x.versions={};function D(){}x.on=D;x.addListener=D;x.once=D;x.off=D;x.removeListener=D;x.removeAllListeners=D;x.emit=D;x.prependListener=D;x.prependOnceListener=D;x.listeners=function(t){return[]};x.binding=function(t){throw new Error("process.binding is not supported")};x.cwd=function(){return"/"};x.chdir=function(t){throw new Error("process.chdir is not supported")};x.umask=function(){return 0}});var u,d,bt,l=_r(()=>{u=V(ze()),d=V(Je()),bt=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 gt={};Nr(gt,{getTransactionActionNftText:()=>dt});module.exports=Er(gt);l();l();l();l();l();l();l();l();l();l();l();l();l();l();l();l();l();l();l();var lt=require("@multiversx/sdk-web-wallet-cross-window-provider/out/CrossWindowProvider/CrossWindowProvider"),j=require("@multiversx/sdk-web-wallet-cross-window-provider/out/enums");var Qe=(r=>(r.signTransactionsWithGuardianResponse="SIGN_TRANSACTIONS_WITH_GUARDIAN_RESPONSE",r.reloginRequest="RELOGIN_REQUEST",r))(Qe||{}),Ct=W(W({},j.WindowProviderRequestEnums),Qe),er=(e=>(e.reloginResponse="RELOGIN_RESPONSE",e))(er||{}),Ft=W(W({},j.WindowProviderResponseEnums),er);l();l();l();l();l();l();var be={devnet:{id:"devnet",chainId:"D",name:"Devnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://devnet-wallet.multiversx.com",xAliasAddress:"https://devnet.xalias.com",apiAddress:"https://devnet-api.multiversx.com",explorerAddress:"http://devnet-explorer.multiversx.com",metamaskSnapWalletAddress:"https://devnet-snap-wallet.multiversx.com",apiTimeout:"4000",roundDuration:6e3},testnet:{id:"testnet",chainId:"T",name:"Testnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://testnet-wallet.multiversx.com",xAliasAddress:"https://testnet.xalias.com",apiAddress:"https://testnet-api.multiversx.com",explorerAddress:"http://testnet-explorer.multiversx.com",metamaskSnapWalletAddress:"https://testnet-snap-wallet.multiversx.com",apiTimeout:"4000",roundDuration:6e3},mainnet:{id:"mainnet",chainId:"1",name:"Mainnet",egldLabel:"EGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://wallet.multiversx.com",xAliasAddress:"https://xalias.com",apiAddress:"https://api.multiversx.com",explorerAddress:"https://explorer.multiversx.com",metamaskSnapWalletAddress:"https://snap-wallet.multiversx.com",apiTimeout:"4000",roundDuration:6e3}},{chainId:rr,egldLabel:Zt}=be["devnet"],{chainId:tr,egldLabel:Jt}=be["testnet"],{chainId:nr,egldLabel:Qt}=be["mainnet"];var en={["devnet"]:rr,["testnet"]:tr,["mainnet"]:nr},rn={[rr]:"devnet",[tr]:"testnet",[nr]:"mainnet"};l();l();var N=require("@multiversx/sdk-web-wallet-provider");l();l();var we=require("@multiversx/sdk-dapp-utils/out/constants/browserConstants");var ir,or,ve=String((or=(ir=we.safeWindow)==null?void 0:ir.navigator)==null?void 0:or.userAgent),ln=/^((?!chrome|android).)*safari/i.test(ve),cn=/firefox/i.test(ve)&&/windows/i.test(ve);var M=18,ae=4;var se="0";l();var sr=require("@multiversx/sdk-core"),F=V(require("bignumber.js"));l();var ar=V(require("bignumber.js")),Se=(t,e=!0)=>{let r=String(t);if(!r.match(/^[-]?\d+$/))return!1;let n=new ar.default(r),i=e?0:-1;return n.toString(10)===r&&n.comparedTo(0)>=i};l();function C(t){return{if:function(e){return e?{then:r=>r instanceof Function?C(r(t)):C(r)}:{then:()=>C(t)}},then:e=>e instanceof Function?C(e(t)):C(e),valueOf:function(){return t}}}F.default.config({ROUNDING_MODE:F.default.ROUND_FLOOR});function le({input:t,decimals:e=M,digits:r=ae,showLastNonZeroDecimal:n=!0,showIsLessThanDecimalsLabel:i=!1,addCommas:o=!1}){if(!Se(t,!1))throw new Error("Invalid input");let a=new F.default(t).isNegative(),c=t;return a&&(c=t.substring(1)),C(c).then(()=>sr.TokenTransfer.fungibleFromBigInteger("",c,e).amountAsBigInteger.shiftedBy(-e).toFixed(e)).then(p=>{let m=new F.default(p);if(m.isZero())return se;let h=m.toString(10),[f,y]=h.split("."),b=new F.default(y||0),E=C(0).if(Boolean(y&&n)).then(()=>Math.max(y.length,r)).if(b.isZero()&&!n).then(0).if(Boolean(y&&!n)).then(()=>Math.min(y.length,r)).valueOf(),Z=y&&r>=1&&r<=y.length&&b.isGreaterThan(0)&&new F.default(y.substring(0,r)).isZero(),Tr=m.toFormat(E);return C(h).if(o).then(Tr).if(Boolean(Z)).then(J=>{let K=new F.default(f).isZero(),[S,Q]=J.split("."),ee=new Array(r-1).fill(0),br=[...ee,0].join(""),wr=[...ee,1].join("");return K?i?`<${S}.${wr}`:n?`${S}.${Q}`:S:`${S}.${br}`}).if(Boolean(!Z&&y)).then(J=>{let[K]=J.split("."),S=y.substring(0,E);if(n){let Q=r-S.length;if(Q>0){let ee=Array(Q).fill(0).join("");return S=`${S}${ee}`,`${K}.${S}`}return J}return S?`${K}.${S}`:K}).valueOf()}).if(a).then(p=>`-${p}`).valueOf()}l();l();var ct=require("@multiversx/sdk-core");l();var Y=require("@multiversx/sdk-core"),ut=V(require("bignumber.js"));l();l();l();var pt=V(require("bignumber.js"));l();l();l();l();l();l();l();l();l();l();var O="accounts";var lr="blocks",cr="code",pr="collections";var ur="contracts";var dr="identities";var gr="locked-accounts",mr="logs",fr="miniblocks";var Ie="nfts",hr="nodes",ke="providers",yr="roles",Ae="sc-results";var z="tokens";var G="transactions";var xr={shard:t=>`/${lr}?shard=${t}`,receiverShard:t=>`/${G}?receivershard=${t}`,senderShard:t=>`/${G}?sendershard=${t}`,transactionDetails:t=>`/${G}/${t}`,transactionDetailsScResults:t=>`/${G}/${t}/${Ae}`,transactionDetailsLogs:t=>`/${G}/${t}/${mr}`,nodeDetails:t=>`/${hr}/${t}`,accountDetails:t=>`/${O}/${t}`,accountDetailsContractCode:t=>`/${O}/${t}/${cr}`,accountDetailsTokens:t=>`/${O}/${t}/${z}`,accountDetailsNfts:t=>`/${O}/${t}/${Ie}`,accountDetailsScResults:t=>`/${O}/${t}/${Ae}`,accountDetailsContracts:t=>`/${O}/${t}/${ur}`,identityDetails:t=>`/${dr}/${t}`,tokenDetails:t=>`/${z}/${t}`,tokenDetailsAccounts:t=>`/${z}/${t}/${O}`,tokenDetailsLockedAccounts:t=>`/${z}/${t}/${gr}`,tokenDetailsRoles:t=>`/${z}/${t}/${yr}`,collectionDetails:t=>`/${pr}/${t}`,nftDetails:t=>`/${Ie}/${t}`,providerDetails:t=>`/${ke}/${t}`,providerDetailsTransactions:t=>`/${ke}/${t}/${G}`,miniblockDetails:t=>`/${fr}/${t}`};function dt({token:t,noValue:e,showLastNonZeroDecimal:r}){var m;let n=!e&&t.value&&t.type!=="NonFungibleESDT",i=t.decimals!=null,o="";t.type==="NonFungibleESDT"&&(o="NFT"),t.type==="SemiFungibleESDT"&&(o="SFT"),t.type==="MetaESDT"&&(o="Meta-ESDT");let a="";n&&i&&(a=i?le({input:t.value,decimals:t.decimals,digits:2,showLastNonZeroDecimal:r}):Number(t.value).toLocaleString("en"));let c=xr.nftDetails(String(t.identifier)),p=t.ticker===t.collection&&(m=t.identifier)!=null?m:t.ticker;return{badgeText:o,tokenFormattedAmount:n?a:null,tokenExplorerLink:c,tokenLinkText:p,token:t,noValue:e,showLastNonZeroDecimal:r}}0&&(module.exports={getTransactionActionNftText});
1
+ "use strict";var vr=Object.create;var X=Object.defineProperty;var Sr=Object.getOwnPropertyDescriptor;var Ar=Object.getOwnPropertyNames,_e=Object.getOwnPropertySymbols,Ir=Object.getPrototypeOf,Ee=Object.prototype.hasOwnProperty,kr=Object.prototype.propertyIsEnumerable;var Ne=(t,e,r)=>e in t?X(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,W=(t,e)=>{for(var r in e||(e={}))Ee.call(e,r)&&Ne(t,r,e[r]);if(_e)for(var r of _e(e))kr.call(e,r)&&Ne(t,r,e[r]);return t};var _r=(t,e)=>()=>(t&&(e=t(t=0)),e);var re=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),Nr=(t,e)=>{for(var r in e)X(t,r,{get:e[r],enumerable:!0})},Re=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Ar(e))!Ee.call(t,i)&&i!==r&&X(t,i,{get:()=>e[i],enumerable:!(n=Sr(e,i))||n.enumerable});return t};var V=(t,e,r)=>(r=t!=null?vr(Ir(t)):{},Re(e||!t||!t.__esModule?X(r,"default",{value:t,enumerable:!0}):r,t)),Er=t=>Re(X({},"__esModule",{value:!0}),t);var Ce=re(te=>{"use strict";l();te.byteLength=Lr;te.toByteArray=Cr;te.fromByteArray=Ur;var A=[],v=[],Rr=typeof Uint8Array!="undefined"?Uint8Array:Array,ce="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(U=0,Le=ce.length;U<Le;++U)A[U]=ce[U],v[ce.charCodeAt(U)]=U;var U,Le;v["-".charCodeAt(0)]=62;v["_".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 Lr(t){var e=De(t),r=e[0],n=e[1];return(r+n)*3/4-n}function Dr(t,e,r){return(e+r)*3/4-r}function Cr(t){var e,r=De(t),n=r[0],i=r[1],o=new Rr(Dr(t,n,i)),a=0,c=i>0?n-4:n,p;for(p=0;p<c;p+=4)e=v[t.charCodeAt(p)]<<18|v[t.charCodeAt(p+1)]<<12|v[t.charCodeAt(p+2)]<<6|v[t.charCodeAt(p+3)],o[a++]=e>>16&255,o[a++]=e>>8&255,o[a++]=e&255;return i===2&&(e=v[t.charCodeAt(p)]<<2|v[t.charCodeAt(p+1)]>>4,o[a++]=e&255),i===1&&(e=v[t.charCodeAt(p)]<<10|v[t.charCodeAt(p+1)]<<4|v[t.charCodeAt(p+2)]>>2,o[a++]=e>>8&255,o[a++]=e&255),o}function Fr(t){return A[t>>18&63]+A[t>>12&63]+A[t>>6&63]+A[t&63]}function Or(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(Fr(n));return i.join("")}function Ur(t){for(var e,r=t.length,n=r%3,i=[],o=16383,a=0,c=r-n;a<c;a+=o)i.push(Or(t,a,a+o>c?c:a+o));return n===1?(e=t[r-1],i.push(A[e>>2]+A[e<<4&63]+"==")):n===2&&(e=(t[r-2]<<8)+t[r-1],i.push(A[e>>10]+A[e>>4&63]+A[e<<2&63]+"=")),i.join("")}});var Fe=re(pe=>{l();pe.read=function(t,e,r,n,i){var o,a,c=i*8-n-1,p=(1<<c)-1,m=p>>1,h=-7,f=r?i-1:0,y=r?-1:1,b=t[e+f];for(f+=y,o=b&(1<<-h)-1,b>>=-h,h+=c;h>0;o=o*256+t[e+f],f+=y,h-=8);for(a=o&(1<<-h)-1,o>>=-h,h+=n;h>0;a=a*256+t[e+f],f+=y,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)};pe.write=function(t,e,r,n,i,o){var a,c,p,m=o*8-i-1,h=(1<<m)-1,f=h>>1,y=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,b=n?0:o-1,E=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,a=h):(a=Math.floor(Math.log(e)/Math.LN2),e*(p=Math.pow(2,-a))<1&&(a--,p*=2),a+f>=1?e+=y/p:e+=y*Math.pow(2,1-f),e*p>=2&&(a++,p/=2),a+f>=h?(c=0,a=h):a+f>=1?(c=(e*p-1)*Math.pow(2,i),a=a+f):(c=e*Math.pow(2,f-1)*Math.pow(2,i),a=0));i>=8;t[r+b]=c&255,b+=E,c/=256,i-=8);for(a=a<<i|c,m+=i;m>0;t[r+b]=a&255,b+=E,a/=256,m-=8);t[r+b-E]|=Z*128}});var ze=re(H=>{"use strict";l();var ue=Ce(),$=Fe(),Oe=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;H.Buffer=s;H.SlowBuffer=Vr;H.INSPECT_MAX_BYTES=50;var ne=2147483647;H.kMaxLength=ne;s.TYPED_ARRAY_SUPPORT=Br();!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 Br(){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 R(t){if(t>ne)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 fe(t)}return Pe(t,e,r)}s.poolSize=8192;function Pe(t,e,r){if(typeof t=="string")return Mr(t,e);if(ArrayBuffer.isView(t))return Gr(t);if(t==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(I(t,ArrayBuffer)||t&&I(t.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(I(t,SharedArrayBuffer)||t&&I(t.buffer,SharedArrayBuffer)))return ge(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=Wr(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 Pe(t,e,r)};Object.setPrototypeOf(s.prototype,Uint8Array.prototype);Object.setPrototypeOf(s,Uint8Array);function Me(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 Pr(t,e,r){return Me(t),t<=0?R(t):e!==void 0?typeof r=="string"?R(t).fill(e,r):R(t).fill(e):R(t)}s.alloc=function(t,e,r){return Pr(t,e,r)};function fe(t){return Me(t),R(t<0?0:he(t)|0)}s.allocUnsafe=function(t){return fe(t)};s.allocUnsafeSlow=function(t){return fe(t)};function Mr(t,e){if((typeof e!="string"||e==="")&&(e="utf8"),!s.isEncoding(e))throw new TypeError("Unknown encoding: "+e);var r=Ge(t,e)|0,n=R(r),i=n.write(t,e);return i!==r&&(n=n.slice(0,i)),n}function de(t){for(var e=t.length<0?0:he(t.length)|0,r=R(e),n=0;n<e;n+=1)r[n]=t[n]&255;return r}function Gr(t){if(I(t,Uint8Array)){var e=new Uint8Array(t);return ge(e.buffer,e.byteOffset,e.byteLength)}return de(t)}function ge(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 Wr(t){if(s.isBuffer(t)){var e=he(t.length)|0,r=R(e);return r.length===0||t.copy(r,0,0,e),r}if(t.length!==void 0)return typeof t.length!="number"||ye(t.length)?R(0):de(t);if(t.type==="Buffer"&&Array.isArray(t.data))return de(t.data)}function he(t){if(t>=ne)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+ne.toString(16)+" bytes");return t|0}function Vr(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(I(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),I(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(I(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 Ge(t,e){if(s.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||I(t,ArrayBuffer))return t.byteLength;if(typeof t!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var 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 me(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return je(t).length;default:if(i)return n?-1:me(t).length;e=(""+e).toLowerCase(),i=!0}}s.byteLength=Ge;function $r(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 Qr(this,e,r);case"utf8":case"utf-8":return Ve(this,e,r);case"ascii":return Zr(this,e,r);case"latin1":case"binary":return Jr(this,e,r);case"base64":return Xr(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return et(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):$r.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=H.INSPECT_MAX_BYTES;return e=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(e+=" ... "),"<Buffer "+e+">"};Oe&&(s.prototype[Oe]=s.prototype.inspect);s.prototype.compare=function(e,r,n,i,o){if(I(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,c=n-r,p=Math.min(a,c),m=this.slice(i,o),h=e.slice(r,n),f=0;f<p;++f)if(m[f]!==h[f]){a=m[f],c=h[f];break}return a<c?-1:c<a?1:0};function We(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,ye(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:Ue(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):Ue(t,[e],r,n,i);throw new TypeError("val must be string, number or Buffer")}function Ue(t,e,r,n,i){var o=1,a=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;o=2,a/=2,c/=2,r/=2}function p(b,E){return o===1?b[E]:b.readUInt16BE(E*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===c)return h*o}else h!==-1&&(m-=m-h),h=-1}else for(r+c>a&&(r=a-c),m=r;m>=0;m--){for(var f=!0,y=0;y<c;y++)if(p(t,m+y)!==p(e,y)){f=!1;break}if(f)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 We(this,e,r,n,!0)};s.prototype.lastIndexOf=function(e,r,n){return We(this,e,r,n,!1)};function Hr(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 c=parseInt(e.substr(a*2,2),16);if(ye(c))return a;t[r+a]=c}return a}function qr(t,e,r,n){return ie(me(e,t.length-r),t,r,n)}function jr(t,e,r,n){return ie(nt(e),t,r,n)}function zr(t,e,r,n){return ie(je(e),t,r,n)}function Kr(t,e,r,n){return ie(it(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 Hr(this,e,r,n);case"utf8":case"utf-8":return qr(this,e,r,n);case"ascii":case"latin1":case"binary":return jr(this,e,r,n);case"base64":return zr(this,e,r,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Kr(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?ue.fromByteArray(t):ue.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,c=o>239?4:o>223?3:o>191?2:1;if(i+c<=r){var p,m,h,f;switch(c){case 1:o<128&&(a=o);break;case 2:p=t[i+1],(p&192)===128&&(f=(o&31)<<6|p&63,f>127&&(a=f));break;case 3:p=t[i+1],m=t[i+2],(p&192)===128&&(m&192)===128&&(f=(o&15)<<12|(p&63)<<6|m&63,f>2047&&(f<55296||f>57343)&&(a=f));break;case 4:p=t[i+1],m=t[i+2],h=t[i+3],(p&192)===128&&(m&192)===128&&(h&192)===128&&(f=(o&15)<<18|(p&63)<<12|(m&63)<<6|h&63,f>65535&&f<1114112&&(a=f))}}a===null?(a=65533,c=1):a>65535&&(a-=65536,n.push(a>>>10&1023|55296),a=56320|a&1023),n.push(a),i+=c}return Yr(n)}var Be=4096;function Yr(t){var e=t.length;if(e<=Be)return String.fromCharCode.apply(String,t);for(var r="",n=0;n<e;)r+=String.fromCharCode.apply(String,t.slice(n,n+=Be));return r}function Zr(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 Jr(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 Qr(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+=ot[t[o]];return i}function et(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 T(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||T(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||T(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||T(e,1,this.length),this[e]};s.prototype.readUint16LE=s.prototype.readUInt16LE=function(e,r){return e=e>>>0,r||T(e,2,this.length),this[e]|this[e+1]<<8};s.prototype.readUint16BE=s.prototype.readUInt16BE=function(e,r){return e=e>>>0,r||T(e,2,this.length),this[e]<<8|this[e+1]};s.prototype.readUint32LE=s.prototype.readUInt32LE=function(e,r){return e=e>>>0,r||T(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||T(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||T(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||T(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||T(e,1,this.length),this[e]&128?(255-this[e]+1)*-1:this[e]};s.prototype.readInt16LE=function(e,r){e=e>>>0,r||T(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||T(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||T(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||T(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||T(e,4,this.length),$.read(this,e,!0,23,4)};s.prototype.readFloatBE=function(e,r){return e=e>>>0,r||T(e,4,this.length),$.read(this,e,!1,23,4)};s.prototype.readDoubleLE=function(e,r){return e=e>>>0,r||T(e,8,this.length),$.read(this,e,!0,52,8)};s.prototype.readDoubleBE=function(e,r){return e=e>>>0,r||T(e,8,this.length),$.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,c=0;for(this[r]=e&255;++c<n&&(a*=256);)this[r+c]=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,c=1;for(this[r+a]=e&255;--a>=0&&(c*=256);)this[r+a]=e/c&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,c=1,p=0;for(this[r]=e&255;++a<n&&(c*=256);)e<0&&p===0&&this[r+a-1]!==0&&(p=1),this[r+a]=(e/c>>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,c=1,p=0;for(this[r+a]=e&255;--a>=0&&(c*=256);)e<0&&p===0&&this[r+a+1]!==0&&(p=1),this[r+a]=(e/c>>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 $e(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 He(t,e,r,n,i){return e=+e,r=r>>>0,i||$e(t,e,r,4,34028234663852886e22,-34028234663852886e22),$.write(t,e,r,n,23,4),r+4}s.prototype.writeFloatLE=function(e,r,n){return He(this,e,r,!0,n)};s.prototype.writeFloatBE=function(e,r,n){return He(this,e,r,!1,n)};function qe(t,e,r,n,i){return e=+e,r=r>>>0,i||$e(t,e,r,8,17976931348623157e292,-17976931348623157e292),$.write(t,e,r,n,52,8),r+8}s.prototype.writeDoubleLE=function(e,r,n){return qe(this,e,r,!0,n)};s.prototype.writeDoubleBE=function(e,r,n){return qe(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 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(a=0;a<n-r;++a)this[a+r]=c[a%p]}return this};var rt=/[^+/0-9A-Za-z-_]/g;function tt(t){if(t=t.split("=")[0],t=t.trim().replace(rt,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function me(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 nt(t){for(var e=[],r=0;r<t.length;++r)e.push(t.charCodeAt(r)&255);return e}function it(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 je(t){return ue.toByteArray(tt(t))}function ie(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 I(t,e){return t instanceof e||t!=null&&t.constructor!=null&&t.constructor.name!=null&&t.constructor.name===e.name}function ye(t){return t!==t}var ot=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 Je=re((Tt,Ze)=>{l();var x=Ze.exports={},k,_;function xe(){throw new Error("setTimeout has not been defined")}function Te(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?k=setTimeout:k=xe}catch(t){k=xe}try{typeof clearTimeout=="function"?_=clearTimeout:_=Te}catch(t){_=Te}})();function Ke(t){if(k===setTimeout)return setTimeout(t,0);if((k===xe||!k)&&setTimeout)return k=setTimeout,setTimeout(t,0);try{return k(t,0)}catch(e){try{return k.call(null,t,0)}catch(r){return k.call(this,t,0)}}}function at(t){if(_===clearTimeout)return clearTimeout(t);if((_===Te||!_)&&clearTimeout)return _=clearTimeout,clearTimeout(t);try{return _(t)}catch(e){try{return _.call(null,t)}catch(r){return _.call(this,t)}}}var L=[],q=!1,P,oe=-1;function st(){!q||!P||(q=!1,P.length?L=P.concat(L):oe=-1,L.length&&Xe())}function Xe(){if(!q){var t=Ke(st);q=!0;for(var e=L.length;e;){for(P=L,L=[];++oe<e;)P&&P[oe].run();oe=-1,e=L.length}P=null,q=!1,at(t)}}x.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 Ye(t,e)),L.length===1&&!q&&Ke(Xe)};function Ye(t,e){this.fun=t,this.array=e}Ye.prototype.run=function(){this.fun.apply(null,this.array)};x.title="browser";x.browser=!0;x.env={};x.argv=[];x.version="";x.versions={};function D(){}x.on=D;x.addListener=D;x.once=D;x.off=D;x.removeListener=D;x.removeAllListeners=D;x.emit=D;x.prependListener=D;x.prependOnceListener=D;x.listeners=function(t){return[]};x.binding=function(t){throw new Error("process.binding is not supported")};x.cwd=function(){return"/"};x.chdir=function(t){throw new Error("process.chdir is not supported")};x.umask=function(){return 0}});var u,d,bt,l=_r(()=>{u=V(ze()),d=V(Je()),bt=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 gt={};Nr(gt,{getTransactionActionNftText:()=>dt});module.exports=Er(gt);l();l();l();l();l();l();l();l();l();l();l();l();l();l();l();l();l();l();l();var lt=require("@multiversx/sdk-web-wallet-cross-window-provider/out/CrossWindowProvider/CrossWindowProvider"),j=require("@multiversx/sdk-web-wallet-cross-window-provider/out/enums");var Qe=(r=>(r.signTransactionsWithGuardianResponse="SIGN_TRANSACTIONS_WITH_GUARDIAN_RESPONSE",r.reloginRequest="RELOGIN_REQUEST",r))(Qe||{}),Ct=W(W({},j.WindowProviderRequestEnums),Qe),er=(e=>(e.reloginResponse="RELOGIN_RESPONSE",e))(er||{}),Ft=W(W({},j.WindowProviderResponseEnums),er);l();l();l();l();l();l();var be={devnet:{id:"devnet",chainId:"D",name:"Devnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://devnet-wallet.multiversx.com",xAliasAddress:"https://devnet.xalias.com",apiAddress:"https://devnet-api.multiversx.com",explorerAddress:"http://devnet-explorer.multiversx.com",metamaskSnapWalletAddress:"https://devnet-snap-wallet.multiversx.com",apiTimeout:"4000",roundDuration:6e3},testnet:{id:"testnet",chainId:"T",name:"Testnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://testnet-wallet.multiversx.com",xAliasAddress:"https://testnet.xalias.com",apiAddress:"https://testnet-api.multiversx.com",explorerAddress:"http://testnet-explorer.multiversx.com",metamaskSnapWalletAddress:"https://testnet-snap-wallet.multiversx.com",apiTimeout:"4000",roundDuration:6e3},mainnet:{id:"mainnet",chainId:"1",name:"Mainnet",egldLabel:"EGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://wallet.multiversx.com",xAliasAddress:"https://xalias.com",apiAddress:"https://api.multiversx.com",explorerAddress:"https://explorer.multiversx.com",metamaskSnapWalletAddress:"https://snap-wallet.multiversx.com",apiTimeout:"4000",roundDuration:6e3}},{chainId:rr,egldLabel:Zt}=be["devnet"],{chainId:tr,egldLabel:Jt}=be["testnet"],{chainId:nr,egldLabel:Qt}=be["mainnet"];var en={["devnet"]:rr,["testnet"]:tr,["mainnet"]:nr},rn={[rr]:"devnet",[tr]:"testnet",[nr]:"mainnet"};l();l();var N=require("@multiversx/sdk-web-wallet-provider");l();l();var we=require("@multiversx/sdk-dapp-utils/out/constants/browserConstants");var ir,or,ve=String((or=(ir=we.safeWindow)==null?void 0:ir.navigator)==null?void 0:or.userAgent),ln=/^((?!chrome|android).)*safari/i.test(ve),cn=/firefox/i.test(ve)&&/windows/i.test(ve);var M=18,ae=4;var se="0";l();var sr=require("@multiversx/sdk-core"),F=V(require("bignumber.js"));l();var ar=V(require("bignumber.js")),Se=(t,e=!0)=>{let r=String(t);if(!r.match(/^[-]?\d+$/))return!1;let n=new ar.default(r),i=e?0:-1;return n.toString(10)===r&&n.comparedTo(0)>=i};l();function C(t){return{if:function(e){return e?{then:r=>r instanceof Function?C(r(t)):C(r)}:{then:()=>C(t)}},then:e=>e instanceof Function?C(e(t)):C(e),valueOf:function(){return t}}}F.default.config({ROUNDING_MODE:F.default.ROUND_FLOOR});function le({input:t,decimals:e=M,digits:r=ae,showLastNonZeroDecimal:n=!0,showIsLessThanDecimalsLabel:i=!1,addCommas:o=!1}){if(!Se(t,!1))throw new Error("Invalid input");let a=new F.default(t).isNegative(),c=t;return a&&(c=t.substring(1)),C(c).then(()=>sr.TokenTransfer.fungibleFromBigInteger("",c,e).amountAsBigInteger.shiftedBy(-e).toFixed(e)).then(p=>{let m=new F.default(p);if(m.isZero())return se;let h=m.toString(10),[f,y]=h.split("."),b=new F.default(y||0),E=C(0).if(Boolean(y&&n)).then(()=>Math.max(y.length,r)).if(b.isZero()&&!n).then(0).if(Boolean(y&&!n)).then(()=>Math.min(y.length,r)).valueOf(),Z=y&&r>=1&&r<=y.length&&b.isGreaterThan(0)&&new F.default(y.substring(0,r)).isZero(),Tr=m.toFormat(E);return C(h).if(o).then(Tr).if(Boolean(Z)).then(J=>{let K=new F.default(f).isZero(),[S,Q]=J.split("."),ee=new Array(r-1).fill(0),br=[...ee,0].join(""),wr=[...ee,1].join("");return K?i?`<${S}.${wr}`:n?`${S}.${Q}`:S:`${S}.${br}`}).if(Boolean(!Z&&y)).then(J=>{let[K]=J.split("."),S=y.substring(0,E);if(n){let Q=r-S.length;if(Q>0){let ee=Array(Q).fill(0).join("");return S=`${S}${ee}`,`${K}.${S}`}return J}return S?`${K}.${S}`:K}).valueOf()}).if(a).then(p=>`-${p}`).valueOf()}l();l();var ct=require("@multiversx/sdk-core");l();var Y=require("@multiversx/sdk-core"),ut=V(require("bignumber.js"));l();l();l();var pt=V(require("bignumber.js"));l();l();l();l();l();l();l();l();l();l();var O="accounts";var lr="blocks",cr="code",pr="collections";var ur="contracts";var dr="identities";var gr="locked-accounts",mr="logs",fr="miniblocks";var Ae="nfts",hr="nodes",Ie="providers",yr="roles",ke="sc-results";var z="tokens";var G="transactions";var xr={shard:t=>`/${lr}?shard=${t}`,receiverShard:t=>`/${G}?receivershard=${t}`,senderShard:t=>`/${G}?sendershard=${t}`,transactionDetails:t=>`/${G}/${t}`,transactionDetailsScResults:t=>`/${G}/${t}/${ke}`,transactionDetailsLogs:t=>`/${G}/${t}/${mr}`,nodeDetails:t=>`/${hr}/${t}`,accountDetails:t=>`/${O}/${t}`,accountDetailsContractCode:t=>`/${O}/${t}/${cr}`,accountDetailsTokens:t=>`/${O}/${t}/${z}`,accountDetailsNfts:t=>`/${O}/${t}/${Ae}`,accountDetailsScResults:t=>`/${O}/${t}/${ke}`,accountDetailsContracts:t=>`/${O}/${t}/${ur}`,identityDetails:t=>`/${dr}/${t}`,tokenDetails:t=>`/${z}/${t}`,tokenDetailsAccounts:t=>`/${z}/${t}/${O}`,tokenDetailsLockedAccounts:t=>`/${z}/${t}/${gr}`,tokenDetailsRoles:t=>`/${z}/${t}/${yr}`,collectionDetails:t=>`/${pr}/${t}`,nftDetails:t=>`/${Ae}/${t}`,providerDetails:t=>`/${Ie}/${t}`,providerDetailsTransactions:t=>`/${Ie}/${t}/${G}`,miniblockDetails:t=>`/${fr}/${t}`};function dt({token:t,noValue:e,showLastNonZeroDecimal:r}){var m;let n=!e&&t.value&&t.type!=="NonFungibleESDT",i=t.decimals!=null,o="";t.type==="NonFungibleESDT"&&(o="NFT"),t.type==="SemiFungibleESDT"&&(o="SFT"),t.type==="MetaESDT"&&(o="Meta-ESDT");let a="";n&&i&&(a=i?le({input:t.value,decimals:t.decimals,digits:2,showLastNonZeroDecimal:r}):Number(t.value).toLocaleString("en"));let c=xr.nftDetails(String(t.identifier)),p=t.ticker===t.collection&&(m=t.identifier)!=null?m:t.ticker;return{badgeText:o,tokenFormattedAmount:n?a:null,tokenExplorerLink:c,tokenLinkText:p,token:t,noValue:e,showLastNonZeroDecimal:r}}0&&(module.exports={getTransactionActionNftText});
2
2
  /*!
3
3
  * The buffer module from node.js, for the browser.
4
4
  *
@@ -1,4 +1,4 @@
1
- "use strict";var vr=Object.create;var X=Object.defineProperty;var kr=Object.getOwnPropertyDescriptor;var Ir=Object.getOwnPropertyNames,Se=Object.getOwnPropertySymbols,_r=Object.getPrototypeOf,Ee=Object.prototype.hasOwnProperty,Ar=Object.prototype.propertyIsEnumerable;var Ne=(t,e,r)=>e in t?X(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,W=(t,e)=>{for(var r in e||(e={}))Ee.call(e,r)&&Ne(t,r,e[r]);if(Se)for(var r of Se(e))Ar.call(e,r)&&Ne(t,r,e[r]);return t};var Sr=(t,e)=>()=>(t&&(e=t(t=0)),e);var re=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),Nr=(t,e)=>{for(var r in e)X(t,r,{get:e[r],enumerable:!0})},Re=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Ir(e))!Ee.call(t,i)&&i!==r&&X(t,i,{get:()=>e[i],enumerable:!(n=kr(e,i))||n.enumerable});return t};var $=(t,e,r)=>(r=t!=null?vr(_r(t)):{},Re(e||!t||!t.__esModule?X(r,"default",{value:t,enumerable:!0}):r,t)),Er=t=>Re(X({},"__esModule",{value:!0}),t);var De=re(te=>{"use strict";l();te.byteLength=Lr;te.toByteArray=Dr;te.fromByteArray=Br;var I=[],v=[],Rr=typeof Uint8Array!="undefined"?Uint8Array:Array,ce="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(U=0,Le=ce.length;U<Le;++U)I[U]=ce[U],v[ce.charCodeAt(U)]=U;var U,Le;v["-".charCodeAt(0)]=62;v["_".charCodeAt(0)]=63;function Ce(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 Lr(t){var e=Ce(t),r=e[0],n=e[1];return(r+n)*3/4-n}function Cr(t,e,r){return(e+r)*3/4-r}function Dr(t){var e,r=Ce(t),n=r[0],i=r[1],o=new Rr(Cr(t,n,i)),a=0,c=i>0?n-4:n,p;for(p=0;p<c;p+=4)e=v[t.charCodeAt(p)]<<18|v[t.charCodeAt(p+1)]<<12|v[t.charCodeAt(p+2)]<<6|v[t.charCodeAt(p+3)],o[a++]=e>>16&255,o[a++]=e>>8&255,o[a++]=e&255;return i===2&&(e=v[t.charCodeAt(p)]<<2|v[t.charCodeAt(p+1)]>>4,o[a++]=e&255),i===1&&(e=v[t.charCodeAt(p)]<<10|v[t.charCodeAt(p+1)]<<4|v[t.charCodeAt(p+2)]>>2,o[a++]=e>>8&255,o[a++]=e&255),o}function Fr(t){return I[t>>18&63]+I[t>>12&63]+I[t>>6&63]+I[t&63]}function Or(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(Fr(n));return i.join("")}function Br(t){for(var e,r=t.length,n=r%3,i=[],o=16383,a=0,c=r-n;a<c;a+=o)i.push(Or(t,a,a+o>c?c:a+o));return n===1?(e=t[r-1],i.push(I[e>>2]+I[e<<4&63]+"==")):n===2&&(e=(t[r-2]<<8)+t[r-1],i.push(I[e>>10]+I[e>>4&63]+I[e<<2&63]+"=")),i.join("")}});var Fe=re(pe=>{l();pe.read=function(t,e,r,n,i){var o,a,c=i*8-n-1,p=(1<<c)-1,m=p>>1,h=-7,f=r?i-1:0,y=r?-1:1,w=t[e+f];for(f+=y,o=w&(1<<-h)-1,w>>=-h,h+=c;h>0;o=o*256+t[e+f],f+=y,h-=8);for(a=o&(1<<-h)-1,o>>=-h,h+=n;h>0;a=a*256+t[e+f],f+=y,h-=8);if(o===0)o=1-m;else{if(o===p)return a?NaN:(w?-1:1)*(1/0);a=a+Math.pow(2,n),o=o-m}return(w?-1:1)*a*Math.pow(2,o-n)};pe.write=function(t,e,r,n,i,o){var a,c,p,m=o*8-i-1,h=(1<<m)-1,f=h>>1,y=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,w=n?0:o-1,E=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,a=h):(a=Math.floor(Math.log(e)/Math.LN2),e*(p=Math.pow(2,-a))<1&&(a--,p*=2),a+f>=1?e+=y/p:e+=y*Math.pow(2,1-f),e*p>=2&&(a++,p/=2),a+f>=h?(c=0,a=h):a+f>=1?(c=(e*p-1)*Math.pow(2,i),a=a+f):(c=e*Math.pow(2,f-1)*Math.pow(2,i),a=0));i>=8;t[r+w]=c&255,w+=E,c/=256,i-=8);for(a=a<<i|c,m+=i;m>0;t[r+w]=a&255,w+=E,a/=256,m-=8);t[r+w-E]|=Z*128}});var ze=re(H=>{"use strict";l();var ue=De(),V=Fe(),Oe=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;H.Buffer=s;H.SlowBuffer=$r;H.INSPECT_MAX_BYTES=50;var ne=2147483647;H.kMaxLength=ne;s.TYPED_ARRAY_SUPPORT=Ur();!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 Ur(){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 R(t){if(t>ne)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 me(t)}return Pe(t,e,r)}s.poolSize=8192;function Pe(t,e,r){if(typeof t=="string")return Mr(t,e);if(ArrayBuffer.isView(t))return Gr(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 ge(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=Wr(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 Pe(t,e,r)};Object.setPrototypeOf(s.prototype,Uint8Array.prototype);Object.setPrototypeOf(s,Uint8Array);function Me(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 Pr(t,e,r){return Me(t),t<=0?R(t):e!==void 0?typeof r=="string"?R(t).fill(e,r):R(t).fill(e):R(t)}s.alloc=function(t,e,r){return Pr(t,e,r)};function me(t){return Me(t),R(t<0?0:he(t)|0)}s.allocUnsafe=function(t){return me(t)};s.allocUnsafeSlow=function(t){return me(t)};function Mr(t,e){if((typeof e!="string"||e==="")&&(e="utf8"),!s.isEncoding(e))throw new TypeError("Unknown encoding: "+e);var r=Ge(t,e)|0,n=R(r),i=n.write(t,e);return i!==r&&(n=n.slice(0,i)),n}function de(t){for(var e=t.length<0?0:he(t.length)|0,r=R(e),n=0;n<e;n+=1)r[n]=t[n]&255;return r}function Gr(t){if(_(t,Uint8Array)){var e=new Uint8Array(t);return ge(e.buffer,e.byteOffset,e.byteLength)}return de(t)}function ge(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 Wr(t){if(s.isBuffer(t)){var e=he(t.length)|0,r=R(e);return r.length===0||t.copy(r,0,0,e),r}if(t.length!==void 0)return typeof t.length!="number"||ye(t.length)?R(0):de(t);if(t.type==="Buffer"&&Array.isArray(t.data))return de(t.data)}function he(t){if(t>=ne)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+ne.toString(16)+" bytes");return t|0}function $r(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 Ge(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 fe(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return je(t).length;default:if(i)return n?-1:fe(t).length;e=(""+e).toLowerCase(),i=!0}}s.byteLength=Ge;function Vr(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 Qr(this,e,r);case"utf8":case"utf-8":return $e(this,e,r);case"ascii":return Zr(this,e,r);case"latin1":case"binary":return Jr(this,e,r);case"base64":return Xr(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return et(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}s.prototype._isBuffer=!0;function P(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)P(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)P(this,r,r+3),P(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)P(this,r,r+7),P(this,r+1,r+6),P(this,r+2,r+5),P(this,r+3,r+4);return this};s.prototype.toString=function(){var e=this.length;return e===0?"":arguments.length===0?$e(this,0,e):Vr.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=H.INSPECT_MAX_BYTES;return e=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(e+=" ... "),"<Buffer "+e+">"};Oe&&(s.prototype[Oe]=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,c=n-r,p=Math.min(a,c),m=this.slice(i,o),h=e.slice(r,n),f=0;f<p;++f)if(m[f]!==h[f]){a=m[f],c=h[f];break}return a<c?-1:c<a?1:0};function We(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,ye(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:Be(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):Be(t,[e],r,n,i);throw new TypeError("val must be string, number or Buffer")}function Be(t,e,r,n,i){var o=1,a=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;o=2,a/=2,c/=2,r/=2}function p(w,E){return o===1?w[E]:w.readUInt16BE(E*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===c)return h*o}else h!==-1&&(m-=m-h),h=-1}else for(r+c>a&&(r=a-c),m=r;m>=0;m--){for(var f=!0,y=0;y<c;y++)if(p(t,m+y)!==p(e,y)){f=!1;break}if(f)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 We(this,e,r,n,!0)};s.prototype.lastIndexOf=function(e,r,n){return We(this,e,r,n,!1)};function Hr(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 c=parseInt(e.substr(a*2,2),16);if(ye(c))return a;t[r+a]=c}return a}function qr(t,e,r,n){return ie(fe(e,t.length-r),t,r,n)}function jr(t,e,r,n){return ie(nt(e),t,r,n)}function zr(t,e,r,n){return ie(je(e),t,r,n)}function Kr(t,e,r,n){return ie(it(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 Hr(this,e,r,n);case"utf8":case"utf-8":return qr(this,e,r,n);case"ascii":case"latin1":case"binary":return jr(this,e,r,n);case"base64":return zr(this,e,r,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Kr(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?ue.fromByteArray(t):ue.fromByteArray(t.slice(e,r))}function $e(t,e,r){r=Math.min(t.length,r);for(var n=[],i=e;i<r;){var o=t[i],a=null,c=o>239?4:o>223?3:o>191?2:1;if(i+c<=r){var p,m,h,f;switch(c){case 1:o<128&&(a=o);break;case 2:p=t[i+1],(p&192)===128&&(f=(o&31)<<6|p&63,f>127&&(a=f));break;case 3:p=t[i+1],m=t[i+2],(p&192)===128&&(m&192)===128&&(f=(o&15)<<12|(p&63)<<6|m&63,f>2047&&(f<55296||f>57343)&&(a=f));break;case 4:p=t[i+1],m=t[i+2],h=t[i+3],(p&192)===128&&(m&192)===128&&(h&192)===128&&(f=(o&15)<<18|(p&63)<<12|(m&63)<<6|h&63,f>65535&&f<1114112&&(a=f))}}a===null?(a=65533,c=1):a>65535&&(a-=65536,n.push(a>>>10&1023|55296),a=56320|a&1023),n.push(a),i+=c}return Yr(n)}var Ue=4096;function Yr(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 Zr(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 Jr(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 Qr(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+=ot[t[o]];return i}function et(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 T(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||T(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||T(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||T(e,1,this.length),this[e]};s.prototype.readUint16LE=s.prototype.readUInt16LE=function(e,r){return e=e>>>0,r||T(e,2,this.length),this[e]|this[e+1]<<8};s.prototype.readUint16BE=s.prototype.readUInt16BE=function(e,r){return e=e>>>0,r||T(e,2,this.length),this[e]<<8|this[e+1]};s.prototype.readUint32LE=s.prototype.readUInt32LE=function(e,r){return e=e>>>0,r||T(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||T(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||T(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||T(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||T(e,1,this.length),this[e]&128?(255-this[e]+1)*-1:this[e]};s.prototype.readInt16LE=function(e,r){e=e>>>0,r||T(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||T(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||T(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||T(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||T(e,4,this.length),V.read(this,e,!0,23,4)};s.prototype.readFloatBE=function(e,r){return e=e>>>0,r||T(e,4,this.length),V.read(this,e,!1,23,4)};s.prototype.readDoubleLE=function(e,r){return e=e>>>0,r||T(e,8,this.length),V.read(this,e,!0,52,8)};s.prototype.readDoubleBE=function(e,r){return e=e>>>0,r||T(e,8,this.length),V.read(this,e,!1,52,8)};function b(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;b(this,e,r,n,o,0)}var a=1,c=0;for(this[r]=e&255;++c<n&&(a*=256);)this[r+c]=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;b(this,e,r,n,o,0)}var a=n-1,c=1;for(this[r+a]=e&255;--a>=0&&(c*=256);)this[r+a]=e/c&255;return r+n};s.prototype.writeUint8=s.prototype.writeUInt8=function(e,r,n){return e=+e,r=r>>>0,n||b(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||b(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||b(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||b(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||b(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);b(this,e,r,n,o-1,-o)}var a=0,c=1,p=0;for(this[r]=e&255;++a<n&&(c*=256);)e<0&&p===0&&this[r+a-1]!==0&&(p=1),this[r+a]=(e/c>>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);b(this,e,r,n,o-1,-o)}var a=n-1,c=1,p=0;for(this[r+a]=e&255;--a>=0&&(c*=256);)e<0&&p===0&&this[r+a+1]!==0&&(p=1),this[r+a]=(e/c>>0)-p&255;return r+n};s.prototype.writeInt8=function(e,r,n){return e=+e,r=r>>>0,n||b(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||b(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||b(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||b(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||b(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 Ve(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 He(t,e,r,n,i){return e=+e,r=r>>>0,i||Ve(t,e,r,4,34028234663852886e22,-34028234663852886e22),V.write(t,e,r,n,23,4),r+4}s.prototype.writeFloatLE=function(e,r,n){return He(this,e,r,!0,n)};s.prototype.writeFloatBE=function(e,r,n){return He(this,e,r,!1,n)};function qe(t,e,r,n,i){return e=+e,r=r>>>0,i||Ve(t,e,r,8,17976931348623157e292,-17976931348623157e292),V.write(t,e,r,n,52,8),r+8}s.prototype.writeDoubleLE=function(e,r,n){return qe(this,e,r,!0,n)};s.prototype.writeDoubleBE=function(e,r,n){return qe(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 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(a=0;a<n-r;++a)this[a+r]=c[a%p]}return this};var rt=/[^+/0-9A-Za-z-_]/g;function tt(t){if(t=t.split("=")[0],t=t.trim().replace(rt,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function fe(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 nt(t){for(var e=[],r=0;r<t.length;++r)e.push(t.charCodeAt(r)&255);return e}function it(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 je(t){return ue.toByteArray(tt(t))}function ie(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 ye(t){return t!==t}var ot=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 Je=re((Tt,Ze)=>{l();var x=Ze.exports={},A,S;function xe(){throw new Error("setTimeout has not been defined")}function Te(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?A=setTimeout:A=xe}catch(t){A=xe}try{typeof clearTimeout=="function"?S=clearTimeout:S=Te}catch(t){S=Te}})();function Ke(t){if(A===setTimeout)return setTimeout(t,0);if((A===xe||!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 at(t){if(S===clearTimeout)return clearTimeout(t);if((S===Te||!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=[],q=!1,M,oe=-1;function st(){!q||!M||(q=!1,M.length?L=M.concat(L):oe=-1,L.length&&Xe())}function Xe(){if(!q){var t=Ke(st);q=!0;for(var e=L.length;e;){for(M=L,L=[];++oe<e;)M&&M[oe].run();oe=-1,e=L.length}M=null,q=!1,at(t)}}x.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 Ye(t,e)),L.length===1&&!q&&Ke(Xe)};function Ye(t,e){this.fun=t,this.array=e}Ye.prototype.run=function(){this.fun.apply(null,this.array)};x.title="browser";x.browser=!0;x.env={};x.argv=[];x.version="";x.versions={};function C(){}x.on=C;x.addListener=C;x.once=C;x.off=C;x.removeListener=C;x.removeAllListeners=C;x.emit=C;x.prependListener=C;x.prependOnceListener=C;x.listeners=function(t){return[]};x.binding=function(t){throw new Error("process.binding is not supported")};x.cwd=function(){return"/"};x.chdir=function(t){throw new Error("process.chdir is not supported")};x.umask=function(){return 0}});var u,d,wt,l=Sr(()=>{u=$(ze()),d=$(Je()),wt=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 gt={};Nr(gt,{getTransactionActionTokenText:()=>dt});module.exports=Er(gt);l();l();l();l();l();l();l();l();l();l();l();l();l();l();l();l();var lt=require("@multiversx/sdk-web-wallet-cross-window-provider/out/CrossWindowProvider/CrossWindowProvider"),j=require("@multiversx/sdk-web-wallet-cross-window-provider/out/enums");var Qe=(r=>(r.signTransactionsWithGuardianResponse="SIGN_TRANSACTIONS_WITH_GUARDIAN_RESPONSE",r.reloginRequest="RELOGIN_REQUEST",r))(Qe||{}),Ct=W(W({},j.WindowProviderRequestEnums),Qe),er=(e=>(e.reloginResponse="RELOGIN_RESPONSE",e))(er||{}),Dt=W(W({},j.WindowProviderResponseEnums),er);l();l();l();l();l();l();var we={devnet:{id:"devnet",chainId:"D",name:"Devnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://devnet-wallet.multiversx.com",xAliasAddress:"https://devnet.xalias.com",apiAddress:"https://devnet-api.multiversx.com",explorerAddress:"http://devnet-explorer.multiversx.com",metamaskSnapWalletAddress:"https://devnet-snap-wallet.multiversx.com",apiTimeout:"4000",roundDuration:6e3},testnet:{id:"testnet",chainId:"T",name:"Testnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://testnet-wallet.multiversx.com",xAliasAddress:"https://testnet.xalias.com",apiAddress:"https://testnet-api.multiversx.com",explorerAddress:"http://testnet-explorer.multiversx.com",metamaskSnapWalletAddress:"https://testnet-snap-wallet.multiversx.com",apiTimeout:"4000",roundDuration:6e3},mainnet:{id:"mainnet",chainId:"1",name:"Mainnet",egldLabel:"EGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://wallet.multiversx.com",xAliasAddress:"https://xalias.com",apiAddress:"https://api.multiversx.com",explorerAddress:"https://explorer.multiversx.com",metamaskSnapWalletAddress:"https://snap-wallet.multiversx.com",apiTimeout:"4000",roundDuration:6e3}},{chainId:rr,egldLabel:Yt}=we["devnet"],{chainId:tr,egldLabel:Zt}=we["testnet"],{chainId:nr,egldLabel:Jt}=we["mainnet"];var Qt={["devnet"]:rr,["testnet"]:tr,["mainnet"]:nr},en={[rr]:"devnet",[tr]:"testnet",[nr]:"mainnet"};l();l();var N=require("@multiversx/sdk-web-wallet-provider");l();l();var be=require("@multiversx/sdk-dapp-utils/out/constants/browserConstants");var ir,or,ve=String((or=(ir=be.safeWindow)==null?void 0:ir.navigator)==null?void 0:or.userAgent),sn=/^((?!chrome|android).)*safari/i.test(ve),ln=/firefox/i.test(ve)&&/windows/i.test(ve);var D=18,ae=4;var se="0";l();l();l();var sr=require("@multiversx/sdk-core"),O=$(require("bignumber.js"));l();var ar=$(require("bignumber.js")),ke=(t,e=!0)=>{let r=String(t);if(!r.match(/^[-]?\d+$/))return!1;let n=new ar.default(r),i=e?0:-1;return n.toString(10)===r&&n.comparedTo(0)>=i};l();function F(t){return{if:function(e){return e?{then:r=>r instanceof Function?F(r(t)):F(r)}:{then:()=>F(t)}},then:e=>e instanceof Function?F(e(t)):F(e),valueOf:function(){return t}}}O.default.config({ROUNDING_MODE:O.default.ROUND_FLOOR});function le({input:t,decimals:e=D,digits:r=ae,showLastNonZeroDecimal:n=!0,showIsLessThanDecimalsLabel:i=!1,addCommas:o=!1}){if(!ke(t,!1))throw new Error("Invalid input");let a=new O.default(t).isNegative(),c=t;return a&&(c=t.substring(1)),F(c).then(()=>sr.TokenTransfer.fungibleFromBigInteger("",c,e).amountAsBigInteger.shiftedBy(-e).toFixed(e)).then(p=>{let m=new O.default(p);if(m.isZero())return se;let h=m.toString(10),[f,y]=h.split("."),w=new O.default(y||0),E=F(0).if(Boolean(y&&n)).then(()=>Math.max(y.length,r)).if(w.isZero()&&!n).then(0).if(Boolean(y&&!n)).then(()=>Math.min(y.length,r)).valueOf(),Z=y&&r>=1&&r<=y.length&&w.isGreaterThan(0)&&new O.default(y.substring(0,r)).isZero(),Tr=m.toFormat(E);return F(h).if(o).then(Tr).if(Boolean(Z)).then(J=>{let K=new O.default(f).isZero(),[k,Q]=J.split("."),ee=new Array(r-1).fill(0),wr=[...ee,0].join(""),br=[...ee,1].join("");return K?i?`<${k}.${br}`:n?`${k}.${Q}`:k:`${k}.${wr}`}).if(Boolean(!Z&&y)).then(J=>{let[K]=J.split("."),k=y.substring(0,E);if(n){let Q=r-k.length;if(Q>0){let ee=Array(Q).fill(0).join("");return k=`${k}${ee}`,`${K}.${k}`}return J}return k?`${K}.${k}`:K}).valueOf()}).if(a).then(p=>`-${p}`).valueOf()}l();l();var ct=require("@multiversx/sdk-core");l();var Y=require("@multiversx/sdk-core"),ut=$(require("bignumber.js"));l();l();l();var pt=$(require("bignumber.js"));l();l();l();l();l();l();l();l();l();l();var B="accounts";var lr="blocks",cr="code",pr="collections";var ur="contracts";var dr="identities";var gr="locked-accounts",fr="logs",mr="miniblocks";var Ie="nfts",hr="nodes",_e="providers",yr="roles",Ae="sc-results";var z="tokens";var G="transactions";var xr={shard:t=>`/${lr}?shard=${t}`,receiverShard:t=>`/${G}?receivershard=${t}`,senderShard:t=>`/${G}?sendershard=${t}`,transactionDetails:t=>`/${G}/${t}`,transactionDetailsScResults:t=>`/${G}/${t}/${Ae}`,transactionDetailsLogs:t=>`/${G}/${t}/${fr}`,nodeDetails:t=>`/${hr}/${t}`,accountDetails:t=>`/${B}/${t}`,accountDetailsContractCode:t=>`/${B}/${t}/${cr}`,accountDetailsTokens:t=>`/${B}/${t}/${z}`,accountDetailsNfts:t=>`/${B}/${t}/${Ie}`,accountDetailsScResults:t=>`/${B}/${t}/${Ae}`,accountDetailsContracts:t=>`/${B}/${t}/${ur}`,identityDetails:t=>`/${dr}/${t}`,tokenDetails:t=>`/${z}/${t}`,tokenDetailsAccounts:t=>`/${z}/${t}/${B}`,tokenDetailsLockedAccounts:t=>`/${z}/${t}/${gr}`,tokenDetailsRoles:t=>`/${z}/${t}/${yr}`,collectionDetails:t=>`/${pr}/${t}`,nftDetails:t=>`/${Ie}/${t}`,providerDetails:t=>`/${_e}/${t}`,providerDetailsTransactions:t=>`/${_e}/${t}/${G}`,miniblockDetails:t=>`/${mr}/${t}`};function dt({token:t,noValue:e,showLastNonZeroDecimal:r}){var c;let n=Boolean(!e&&t.value),i=n?le({input:t.value,decimals:(c=t.decimals)!=null?c:D,digits:2,showLastNonZeroDecimal:r,addCommas:!0}):null,o=xr.tokenDetails(String(t.token)),a=t.ticker;return{tokenExplorerLink:o,tokenFormattedAmount:i,showFormattedAmount:n,tokenLinkText:a,token:t,showLastNonZeroDecimal:r}}0&&(module.exports={getTransactionActionTokenText});
1
+ "use strict";var vr=Object.create;var X=Object.defineProperty;var Ar=Object.getOwnPropertyDescriptor;var Ir=Object.getOwnPropertyNames,Se=Object.getOwnPropertySymbols,kr=Object.getPrototypeOf,Ee=Object.prototype.hasOwnProperty,_r=Object.prototype.propertyIsEnumerable;var Ne=(t,e,r)=>e in t?X(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,W=(t,e)=>{for(var r in e||(e={}))Ee.call(e,r)&&Ne(t,r,e[r]);if(Se)for(var r of Se(e))_r.call(e,r)&&Ne(t,r,e[r]);return t};var Sr=(t,e)=>()=>(t&&(e=t(t=0)),e);var re=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),Nr=(t,e)=>{for(var r in e)X(t,r,{get:e[r],enumerable:!0})},Re=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Ir(e))!Ee.call(t,i)&&i!==r&&X(t,i,{get:()=>e[i],enumerable:!(n=Ar(e,i))||n.enumerable});return t};var $=(t,e,r)=>(r=t!=null?vr(kr(t)):{},Re(e||!t||!t.__esModule?X(r,"default",{value:t,enumerable:!0}):r,t)),Er=t=>Re(X({},"__esModule",{value:!0}),t);var De=re(te=>{"use strict";l();te.byteLength=Lr;te.toByteArray=Dr;te.fromByteArray=Br;var I=[],v=[],Rr=typeof Uint8Array!="undefined"?Uint8Array:Array,ce="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(U=0,Le=ce.length;U<Le;++U)I[U]=ce[U],v[ce.charCodeAt(U)]=U;var U,Le;v["-".charCodeAt(0)]=62;v["_".charCodeAt(0)]=63;function Ce(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 Lr(t){var e=Ce(t),r=e[0],n=e[1];return(r+n)*3/4-n}function Cr(t,e,r){return(e+r)*3/4-r}function Dr(t){var e,r=Ce(t),n=r[0],i=r[1],o=new Rr(Cr(t,n,i)),a=0,c=i>0?n-4:n,p;for(p=0;p<c;p+=4)e=v[t.charCodeAt(p)]<<18|v[t.charCodeAt(p+1)]<<12|v[t.charCodeAt(p+2)]<<6|v[t.charCodeAt(p+3)],o[a++]=e>>16&255,o[a++]=e>>8&255,o[a++]=e&255;return i===2&&(e=v[t.charCodeAt(p)]<<2|v[t.charCodeAt(p+1)]>>4,o[a++]=e&255),i===1&&(e=v[t.charCodeAt(p)]<<10|v[t.charCodeAt(p+1)]<<4|v[t.charCodeAt(p+2)]>>2,o[a++]=e>>8&255,o[a++]=e&255),o}function Fr(t){return I[t>>18&63]+I[t>>12&63]+I[t>>6&63]+I[t&63]}function Or(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(Fr(n));return i.join("")}function Br(t){for(var e,r=t.length,n=r%3,i=[],o=16383,a=0,c=r-n;a<c;a+=o)i.push(Or(t,a,a+o>c?c:a+o));return n===1?(e=t[r-1],i.push(I[e>>2]+I[e<<4&63]+"==")):n===2&&(e=(t[r-2]<<8)+t[r-1],i.push(I[e>>10]+I[e>>4&63]+I[e<<2&63]+"=")),i.join("")}});var Fe=re(pe=>{l();pe.read=function(t,e,r,n,i){var o,a,c=i*8-n-1,p=(1<<c)-1,m=p>>1,h=-7,f=r?i-1:0,y=r?-1:1,w=t[e+f];for(f+=y,o=w&(1<<-h)-1,w>>=-h,h+=c;h>0;o=o*256+t[e+f],f+=y,h-=8);for(a=o&(1<<-h)-1,o>>=-h,h+=n;h>0;a=a*256+t[e+f],f+=y,h-=8);if(o===0)o=1-m;else{if(o===p)return a?NaN:(w?-1:1)*(1/0);a=a+Math.pow(2,n),o=o-m}return(w?-1:1)*a*Math.pow(2,o-n)};pe.write=function(t,e,r,n,i,o){var a,c,p,m=o*8-i-1,h=(1<<m)-1,f=h>>1,y=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,w=n?0:o-1,E=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,a=h):(a=Math.floor(Math.log(e)/Math.LN2),e*(p=Math.pow(2,-a))<1&&(a--,p*=2),a+f>=1?e+=y/p:e+=y*Math.pow(2,1-f),e*p>=2&&(a++,p/=2),a+f>=h?(c=0,a=h):a+f>=1?(c=(e*p-1)*Math.pow(2,i),a=a+f):(c=e*Math.pow(2,f-1)*Math.pow(2,i),a=0));i>=8;t[r+w]=c&255,w+=E,c/=256,i-=8);for(a=a<<i|c,m+=i;m>0;t[r+w]=a&255,w+=E,a/=256,m-=8);t[r+w-E]|=Z*128}});var ze=re(H=>{"use strict";l();var ue=De(),V=Fe(),Oe=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;H.Buffer=s;H.SlowBuffer=$r;H.INSPECT_MAX_BYTES=50;var ne=2147483647;H.kMaxLength=ne;s.TYPED_ARRAY_SUPPORT=Ur();!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 Ur(){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 R(t){if(t>ne)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 me(t)}return Pe(t,e,r)}s.poolSize=8192;function Pe(t,e,r){if(typeof t=="string")return Mr(t,e);if(ArrayBuffer.isView(t))return Gr(t);if(t==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(k(t,ArrayBuffer)||t&&k(t.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(k(t,SharedArrayBuffer)||t&&k(t.buffer,SharedArrayBuffer)))return ge(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=Wr(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 Pe(t,e,r)};Object.setPrototypeOf(s.prototype,Uint8Array.prototype);Object.setPrototypeOf(s,Uint8Array);function Me(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 Pr(t,e,r){return Me(t),t<=0?R(t):e!==void 0?typeof r=="string"?R(t).fill(e,r):R(t).fill(e):R(t)}s.alloc=function(t,e,r){return Pr(t,e,r)};function me(t){return Me(t),R(t<0?0:he(t)|0)}s.allocUnsafe=function(t){return me(t)};s.allocUnsafeSlow=function(t){return me(t)};function Mr(t,e){if((typeof e!="string"||e==="")&&(e="utf8"),!s.isEncoding(e))throw new TypeError("Unknown encoding: "+e);var r=Ge(t,e)|0,n=R(r),i=n.write(t,e);return i!==r&&(n=n.slice(0,i)),n}function de(t){for(var e=t.length<0?0:he(t.length)|0,r=R(e),n=0;n<e;n+=1)r[n]=t[n]&255;return r}function Gr(t){if(k(t,Uint8Array)){var e=new Uint8Array(t);return ge(e.buffer,e.byteOffset,e.byteLength)}return de(t)}function ge(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 Wr(t){if(s.isBuffer(t)){var e=he(t.length)|0,r=R(e);return r.length===0||t.copy(r,0,0,e),r}if(t.length!==void 0)return typeof t.length!="number"||ye(t.length)?R(0):de(t);if(t.type==="Buffer"&&Array.isArray(t.data))return de(t.data)}function he(t){if(t>=ne)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+ne.toString(16)+" bytes");return t|0}function $r(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(k(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),k(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(k(a,Uint8Array))o+a.length>i.length?s.from(a).copy(i,o):Uint8Array.prototype.set.call(i,a,o);else if(s.isBuffer(a))a.copy(i,o);else throw new TypeError('"list" argument must be an Array of Buffers');o+=a.length}return i};function Ge(t,e){if(s.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||k(t,ArrayBuffer))return t.byteLength;if(typeof t!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var 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 fe(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return je(t).length;default:if(i)return n?-1:fe(t).length;e=(""+e).toLowerCase(),i=!0}}s.byteLength=Ge;function Vr(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 Qr(this,e,r);case"utf8":case"utf-8":return $e(this,e,r);case"ascii":return Zr(this,e,r);case"latin1":case"binary":return Jr(this,e,r);case"base64":return Xr(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return et(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}s.prototype._isBuffer=!0;function P(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)P(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)P(this,r,r+3),P(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)P(this,r,r+7),P(this,r+1,r+6),P(this,r+2,r+5),P(this,r+3,r+4);return this};s.prototype.toString=function(){var e=this.length;return e===0?"":arguments.length===0?$e(this,0,e):Vr.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=H.INSPECT_MAX_BYTES;return e=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(e+=" ... "),"<Buffer "+e+">"};Oe&&(s.prototype[Oe]=s.prototype.inspect);s.prototype.compare=function(e,r,n,i,o){if(k(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,c=n-r,p=Math.min(a,c),m=this.slice(i,o),h=e.slice(r,n),f=0;f<p;++f)if(m[f]!==h[f]){a=m[f],c=h[f];break}return a<c?-1:c<a?1:0};function We(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,ye(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:Be(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):Be(t,[e],r,n,i);throw new TypeError("val must be string, number or Buffer")}function Be(t,e,r,n,i){var o=1,a=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;o=2,a/=2,c/=2,r/=2}function p(w,E){return o===1?w[E]:w.readUInt16BE(E*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===c)return h*o}else h!==-1&&(m-=m-h),h=-1}else for(r+c>a&&(r=a-c),m=r;m>=0;m--){for(var f=!0,y=0;y<c;y++)if(p(t,m+y)!==p(e,y)){f=!1;break}if(f)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 We(this,e,r,n,!0)};s.prototype.lastIndexOf=function(e,r,n){return We(this,e,r,n,!1)};function Hr(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 c=parseInt(e.substr(a*2,2),16);if(ye(c))return a;t[r+a]=c}return a}function qr(t,e,r,n){return ie(fe(e,t.length-r),t,r,n)}function jr(t,e,r,n){return ie(nt(e),t,r,n)}function zr(t,e,r,n){return ie(je(e),t,r,n)}function Kr(t,e,r,n){return ie(it(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 Hr(this,e,r,n);case"utf8":case"utf-8":return qr(this,e,r,n);case"ascii":case"latin1":case"binary":return jr(this,e,r,n);case"base64":return zr(this,e,r,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Kr(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?ue.fromByteArray(t):ue.fromByteArray(t.slice(e,r))}function $e(t,e,r){r=Math.min(t.length,r);for(var n=[],i=e;i<r;){var o=t[i],a=null,c=o>239?4:o>223?3:o>191?2:1;if(i+c<=r){var p,m,h,f;switch(c){case 1:o<128&&(a=o);break;case 2:p=t[i+1],(p&192)===128&&(f=(o&31)<<6|p&63,f>127&&(a=f));break;case 3:p=t[i+1],m=t[i+2],(p&192)===128&&(m&192)===128&&(f=(o&15)<<12|(p&63)<<6|m&63,f>2047&&(f<55296||f>57343)&&(a=f));break;case 4:p=t[i+1],m=t[i+2],h=t[i+3],(p&192)===128&&(m&192)===128&&(h&192)===128&&(f=(o&15)<<18|(p&63)<<12|(m&63)<<6|h&63,f>65535&&f<1114112&&(a=f))}}a===null?(a=65533,c=1):a>65535&&(a-=65536,n.push(a>>>10&1023|55296),a=56320|a&1023),n.push(a),i+=c}return Yr(n)}var Ue=4096;function Yr(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 Zr(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 Jr(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 Qr(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+=ot[t[o]];return i}function et(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 T(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||T(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||T(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||T(e,1,this.length),this[e]};s.prototype.readUint16LE=s.prototype.readUInt16LE=function(e,r){return e=e>>>0,r||T(e,2,this.length),this[e]|this[e+1]<<8};s.prototype.readUint16BE=s.prototype.readUInt16BE=function(e,r){return e=e>>>0,r||T(e,2,this.length),this[e]<<8|this[e+1]};s.prototype.readUint32LE=s.prototype.readUInt32LE=function(e,r){return e=e>>>0,r||T(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||T(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||T(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||T(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||T(e,1,this.length),this[e]&128?(255-this[e]+1)*-1:this[e]};s.prototype.readInt16LE=function(e,r){e=e>>>0,r||T(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||T(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||T(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||T(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||T(e,4,this.length),V.read(this,e,!0,23,4)};s.prototype.readFloatBE=function(e,r){return e=e>>>0,r||T(e,4,this.length),V.read(this,e,!1,23,4)};s.prototype.readDoubleLE=function(e,r){return e=e>>>0,r||T(e,8,this.length),V.read(this,e,!0,52,8)};s.prototype.readDoubleBE=function(e,r){return e=e>>>0,r||T(e,8,this.length),V.read(this,e,!1,52,8)};function b(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;b(this,e,r,n,o,0)}var a=1,c=0;for(this[r]=e&255;++c<n&&(a*=256);)this[r+c]=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;b(this,e,r,n,o,0)}var a=n-1,c=1;for(this[r+a]=e&255;--a>=0&&(c*=256);)this[r+a]=e/c&255;return r+n};s.prototype.writeUint8=s.prototype.writeUInt8=function(e,r,n){return e=+e,r=r>>>0,n||b(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||b(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||b(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||b(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||b(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);b(this,e,r,n,o-1,-o)}var a=0,c=1,p=0;for(this[r]=e&255;++a<n&&(c*=256);)e<0&&p===0&&this[r+a-1]!==0&&(p=1),this[r+a]=(e/c>>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);b(this,e,r,n,o-1,-o)}var a=n-1,c=1,p=0;for(this[r+a]=e&255;--a>=0&&(c*=256);)e<0&&p===0&&this[r+a+1]!==0&&(p=1),this[r+a]=(e/c>>0)-p&255;return r+n};s.prototype.writeInt8=function(e,r,n){return e=+e,r=r>>>0,n||b(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||b(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||b(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||b(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||b(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 Ve(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 He(t,e,r,n,i){return e=+e,r=r>>>0,i||Ve(t,e,r,4,34028234663852886e22,-34028234663852886e22),V.write(t,e,r,n,23,4),r+4}s.prototype.writeFloatLE=function(e,r,n){return He(this,e,r,!0,n)};s.prototype.writeFloatBE=function(e,r,n){return He(this,e,r,!1,n)};function qe(t,e,r,n,i){return e=+e,r=r>>>0,i||Ve(t,e,r,8,17976931348623157e292,-17976931348623157e292),V.write(t,e,r,n,52,8),r+8}s.prototype.writeDoubleLE=function(e,r,n){return qe(this,e,r,!0,n)};s.prototype.writeDoubleBE=function(e,r,n){return qe(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 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(a=0;a<n-r;++a)this[a+r]=c[a%p]}return this};var rt=/[^+/0-9A-Za-z-_]/g;function tt(t){if(t=t.split("=")[0],t=t.trim().replace(rt,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function fe(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 nt(t){for(var e=[],r=0;r<t.length;++r)e.push(t.charCodeAt(r)&255);return e}function it(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 je(t){return ue.toByteArray(tt(t))}function ie(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 k(t,e){return t instanceof e||t!=null&&t.constructor!=null&&t.constructor.name!=null&&t.constructor.name===e.name}function ye(t){return t!==t}var ot=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 Je=re((Tt,Ze)=>{l();var x=Ze.exports={},_,S;function xe(){throw new Error("setTimeout has not been defined")}function Te(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?_=setTimeout:_=xe}catch(t){_=xe}try{typeof clearTimeout=="function"?S=clearTimeout:S=Te}catch(t){S=Te}})();function Ke(t){if(_===setTimeout)return setTimeout(t,0);if((_===xe||!_)&&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 at(t){if(S===clearTimeout)return clearTimeout(t);if((S===Te||!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=[],q=!1,M,oe=-1;function st(){!q||!M||(q=!1,M.length?L=M.concat(L):oe=-1,L.length&&Xe())}function Xe(){if(!q){var t=Ke(st);q=!0;for(var e=L.length;e;){for(M=L,L=[];++oe<e;)M&&M[oe].run();oe=-1,e=L.length}M=null,q=!1,at(t)}}x.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 Ye(t,e)),L.length===1&&!q&&Ke(Xe)};function Ye(t,e){this.fun=t,this.array=e}Ye.prototype.run=function(){this.fun.apply(null,this.array)};x.title="browser";x.browser=!0;x.env={};x.argv=[];x.version="";x.versions={};function C(){}x.on=C;x.addListener=C;x.once=C;x.off=C;x.removeListener=C;x.removeAllListeners=C;x.emit=C;x.prependListener=C;x.prependOnceListener=C;x.listeners=function(t){return[]};x.binding=function(t){throw new Error("process.binding is not supported")};x.cwd=function(){return"/"};x.chdir=function(t){throw new Error("process.chdir is not supported")};x.umask=function(){return 0}});var u,d,wt,l=Sr(()=>{u=$(ze()),d=$(Je()),wt=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 gt={};Nr(gt,{getTransactionActionTokenText:()=>dt});module.exports=Er(gt);l();l();l();l();l();l();l();l();l();l();l();l();l();l();l();l();var lt=require("@multiversx/sdk-web-wallet-cross-window-provider/out/CrossWindowProvider/CrossWindowProvider"),j=require("@multiversx/sdk-web-wallet-cross-window-provider/out/enums");var Qe=(r=>(r.signTransactionsWithGuardianResponse="SIGN_TRANSACTIONS_WITH_GUARDIAN_RESPONSE",r.reloginRequest="RELOGIN_REQUEST",r))(Qe||{}),Ct=W(W({},j.WindowProviderRequestEnums),Qe),er=(e=>(e.reloginResponse="RELOGIN_RESPONSE",e))(er||{}),Dt=W(W({},j.WindowProviderResponseEnums),er);l();l();l();l();l();l();var we={devnet:{id:"devnet",chainId:"D",name:"Devnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://devnet-wallet.multiversx.com",xAliasAddress:"https://devnet.xalias.com",apiAddress:"https://devnet-api.multiversx.com",explorerAddress:"http://devnet-explorer.multiversx.com",metamaskSnapWalletAddress:"https://devnet-snap-wallet.multiversx.com",apiTimeout:"4000",roundDuration:6e3},testnet:{id:"testnet",chainId:"T",name:"Testnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://testnet-wallet.multiversx.com",xAliasAddress:"https://testnet.xalias.com",apiAddress:"https://testnet-api.multiversx.com",explorerAddress:"http://testnet-explorer.multiversx.com",metamaskSnapWalletAddress:"https://testnet-snap-wallet.multiversx.com",apiTimeout:"4000",roundDuration:6e3},mainnet:{id:"mainnet",chainId:"1",name:"Mainnet",egldLabel:"EGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://wallet.multiversx.com",xAliasAddress:"https://xalias.com",apiAddress:"https://api.multiversx.com",explorerAddress:"https://explorer.multiversx.com",metamaskSnapWalletAddress:"https://snap-wallet.multiversx.com",apiTimeout:"4000",roundDuration:6e3}},{chainId:rr,egldLabel:Yt}=we["devnet"],{chainId:tr,egldLabel:Zt}=we["testnet"],{chainId:nr,egldLabel:Jt}=we["mainnet"];var Qt={["devnet"]:rr,["testnet"]:tr,["mainnet"]:nr},en={[rr]:"devnet",[tr]:"testnet",[nr]:"mainnet"};l();l();var N=require("@multiversx/sdk-web-wallet-provider");l();l();var be=require("@multiversx/sdk-dapp-utils/out/constants/browserConstants");var ir,or,ve=String((or=(ir=be.safeWindow)==null?void 0:ir.navigator)==null?void 0:or.userAgent),sn=/^((?!chrome|android).)*safari/i.test(ve),ln=/firefox/i.test(ve)&&/windows/i.test(ve);var D=18,ae=4;var se="0";l();l();l();var sr=require("@multiversx/sdk-core"),O=$(require("bignumber.js"));l();var ar=$(require("bignumber.js")),Ae=(t,e=!0)=>{let r=String(t);if(!r.match(/^[-]?\d+$/))return!1;let n=new ar.default(r),i=e?0:-1;return n.toString(10)===r&&n.comparedTo(0)>=i};l();function F(t){return{if:function(e){return e?{then:r=>r instanceof Function?F(r(t)):F(r)}:{then:()=>F(t)}},then:e=>e instanceof Function?F(e(t)):F(e),valueOf:function(){return t}}}O.default.config({ROUNDING_MODE:O.default.ROUND_FLOOR});function le({input:t,decimals:e=D,digits:r=ae,showLastNonZeroDecimal:n=!0,showIsLessThanDecimalsLabel:i=!1,addCommas:o=!1}){if(!Ae(t,!1))throw new Error("Invalid input");let a=new O.default(t).isNegative(),c=t;return a&&(c=t.substring(1)),F(c).then(()=>sr.TokenTransfer.fungibleFromBigInteger("",c,e).amountAsBigInteger.shiftedBy(-e).toFixed(e)).then(p=>{let m=new O.default(p);if(m.isZero())return se;let h=m.toString(10),[f,y]=h.split("."),w=new O.default(y||0),E=F(0).if(Boolean(y&&n)).then(()=>Math.max(y.length,r)).if(w.isZero()&&!n).then(0).if(Boolean(y&&!n)).then(()=>Math.min(y.length,r)).valueOf(),Z=y&&r>=1&&r<=y.length&&w.isGreaterThan(0)&&new O.default(y.substring(0,r)).isZero(),Tr=m.toFormat(E);return F(h).if(o).then(Tr).if(Boolean(Z)).then(J=>{let K=new O.default(f).isZero(),[A,Q]=J.split("."),ee=new Array(r-1).fill(0),wr=[...ee,0].join(""),br=[...ee,1].join("");return K?i?`<${A}.${br}`:n?`${A}.${Q}`:A:`${A}.${wr}`}).if(Boolean(!Z&&y)).then(J=>{let[K]=J.split("."),A=y.substring(0,E);if(n){let Q=r-A.length;if(Q>0){let ee=Array(Q).fill(0).join("");return A=`${A}${ee}`,`${K}.${A}`}return J}return A?`${K}.${A}`:K}).valueOf()}).if(a).then(p=>`-${p}`).valueOf()}l();l();var ct=require("@multiversx/sdk-core");l();var Y=require("@multiversx/sdk-core"),ut=$(require("bignumber.js"));l();l();l();var pt=$(require("bignumber.js"));l();l();l();l();l();l();l();l();l();l();var B="accounts";var lr="blocks",cr="code",pr="collections";var ur="contracts";var dr="identities";var gr="locked-accounts",fr="logs",mr="miniblocks";var Ie="nfts",hr="nodes",ke="providers",yr="roles",_e="sc-results";var z="tokens";var G="transactions";var xr={shard:t=>`/${lr}?shard=${t}`,receiverShard:t=>`/${G}?receivershard=${t}`,senderShard:t=>`/${G}?sendershard=${t}`,transactionDetails:t=>`/${G}/${t}`,transactionDetailsScResults:t=>`/${G}/${t}/${_e}`,transactionDetailsLogs:t=>`/${G}/${t}/${fr}`,nodeDetails:t=>`/${hr}/${t}`,accountDetails:t=>`/${B}/${t}`,accountDetailsContractCode:t=>`/${B}/${t}/${cr}`,accountDetailsTokens:t=>`/${B}/${t}/${z}`,accountDetailsNfts:t=>`/${B}/${t}/${Ie}`,accountDetailsScResults:t=>`/${B}/${t}/${_e}`,accountDetailsContracts:t=>`/${B}/${t}/${ur}`,identityDetails:t=>`/${dr}/${t}`,tokenDetails:t=>`/${z}/${t}`,tokenDetailsAccounts:t=>`/${z}/${t}/${B}`,tokenDetailsLockedAccounts:t=>`/${z}/${t}/${gr}`,tokenDetailsRoles:t=>`/${z}/${t}/${yr}`,collectionDetails:t=>`/${pr}/${t}`,nftDetails:t=>`/${Ie}/${t}`,providerDetails:t=>`/${ke}/${t}`,providerDetailsTransactions:t=>`/${ke}/${t}/${G}`,miniblockDetails:t=>`/${mr}/${t}`};function dt({token:t,noValue:e,showLastNonZeroDecimal:r}){var c;let n=Boolean(!e&&t.value),i=n?le({input:t.value,decimals:(c=t.decimals)!=null?c:D,digits:2,showLastNonZeroDecimal:r,addCommas:!0}):null,o=xr.tokenDetails(String(t.token)),a=t.ticker;return{tokenExplorerLink:o,tokenFormattedAmount:i,showFormattedAmount:n,tokenLinkText:a,token:t,showLastNonZeroDecimal:r}}0&&(module.exports={getTransactionActionTokenText});
2
2
  /*!
3
3
  * The buffer module from node.js, for the browser.
4
4
  *