@multiversx/sdk-dapp 2.18.5 → 2.19.0

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 (865) hide show
  1. package/UI/DappModal/hooks/index.js +1 -1
  2. package/UI/DappModal/hooks/useDappModal.js +1 -1
  3. package/UI/DappModal/index.js +1 -1
  4. package/UI/Denominate/index.js +1 -1
  5. package/UI/ExplorerLink/ExplorerLink.js +1 -1
  6. package/UI/ExplorerLink/index.js +1 -1
  7. package/UI/FormatAmount/FormatAmount.js +1 -1
  8. package/UI/FormatAmount/index.js +1 -1
  9. package/UI/ModalContainer/ModalContainer.js +1 -1
  10. package/UI/ModalContainer/index.js +1 -1
  11. package/UI/NotificationModal/NotificationModal.js +1 -1
  12. package/UI/NotificationModal/index.js +1 -1
  13. package/UI/SignTransactionsModals/SignTransactionsModals.js +1 -1
  14. package/UI/SignTransactionsModals/SignWithDeviceModal/SignStep.js +1 -1
  15. package/UI/SignTransactionsModals/SignWithDeviceModal/SignWithDeviceModal.js +1 -1
  16. package/UI/SignTransactionsModals/SignWithDeviceModal/components/SignStepBody.js +1 -1
  17. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/ConfirmAmount.js +1 -1
  18. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/index.js +1 -1
  19. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmFee/ConfirmFee.js +1 -1
  20. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmFee/index.js +1 -1
  21. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/NftSftPreviewComponent/NftSftPreviewComponent.js +1 -1
  22. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/NftSftPreviewComponent/index.js +1 -1
  23. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/TokenAvatar/TokenAvatar.js +1 -1
  24. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/TokenAvatar/index.js +1 -1
  25. package/UI/SignTransactionsModals/SignWithDeviceModal/components/index.js +1 -1
  26. package/UI/SignTransactionsModals/SignWithDeviceModal/index.js +1 -1
  27. package/UI/SignTransactionsModals/SignWithDeviceModal/signWithDeviceModal.types.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/SignWithLedgerModal/LedgerGuardianSigningModalError.js +1 -1
  33. package/UI/SignTransactionsModals/SignWithLedgerModal/SignWithLedgerModal.js +1 -1
  34. package/UI/SignTransactionsModals/SignWithLedgerModal/index.js +1 -1
  35. package/UI/SignTransactionsModals/SignWithOperaModal/SignWithOperaModal.js +1 -1
  36. package/UI/SignTransactionsModals/SignWithOperaModal/index.js +1 -1
  37. package/UI/SignTransactionsModals/SignWithWalletConnectModal/index.js +1 -1
  38. package/UI/SignTransactionsModals/components/ConfirmationScreen.js +1 -1
  39. package/UI/SignTransactionsModals/components/DeviceConfirmationScreen.js +1 -1
  40. package/UI/SignTransactionsModals/components/SignWaitingScreenModal/SignWaitingScreenModal.js +1 -1
  41. package/UI/SignTransactionsModals/components/SignWaitingScreenModal/index.js +1 -1
  42. package/UI/SignTransactionsModals/components/TransactionStatusToast.js +1 -1
  43. package/UI/SignTransactionsModals/components/index.js +1 -1
  44. package/UI/SignTransactionsModals/index.js +1 -1
  45. package/UI/TokenDetails/index.js +1 -1
  46. package/UI/TransactionData/TransactionData.js +1 -1
  47. package/UI/TransactionData/index.js +1 -1
  48. package/UI/TransactionDetails/TransactionDetails.js +1 -1
  49. package/UI/TransactionDetails/components/TransactionDetailsBody.js +1 -1
  50. package/UI/TransactionDetails/components/index.js +1 -1
  51. package/UI/TransactionDetails/index.js +1 -1
  52. package/UI/TransactionInfo/TransactionInfo.js +1 -1
  53. package/UI/TransactionInfo/components/AddressDetailItem/AddressDetailitem.js +1 -1
  54. package/UI/TransactionInfo/components/AddressDetailItem/index.js +1 -1
  55. package/UI/TransactionInfo/components/DataDecode/DataDecode.js +1 -1
  56. package/UI/TransactionInfo/components/DataDecode/index.js +1 -1
  57. package/UI/TransactionInfo/components/DataField/DataField.js +1 -1
  58. package/UI/TransactionInfo/components/DataField/index.js +1 -1
  59. package/UI/TransactionInfo/components/EventsList/EventsList.js +1 -1
  60. package/UI/TransactionInfo/components/EventsList/index.js +1 -1
  61. package/UI/TransactionInfo/components/NonceMessage/NonceMessage.js +1 -1
  62. package/UI/TransactionInfo/components/NonceMessage/index.js +1 -1
  63. package/UI/TransactionInfo/components/OperationsList/OperationList.js +1 -1
  64. package/UI/TransactionInfo/components/OperationsList/components/DetailedItem.js +1 -1
  65. package/UI/TransactionInfo/components/OperationsList/components/OperationBlock.js +1 -1
  66. package/UI/TransactionInfo/components/OperationsList/components/OperationRow.js +1 -1
  67. package/UI/TransactionInfo/components/OperationsList/components/OperationText.js +1 -1
  68. package/UI/TransactionInfo/components/OperationsList/components/OperationToken.js +1 -1
  69. package/UI/TransactionInfo/components/OperationsList/components/index.js +1 -1
  70. package/UI/TransactionInfo/components/OperationsList/index.js +1 -1
  71. package/UI/TransactionInfo/components/ScResultsList/ScResultsList.js +1 -1
  72. package/UI/TransactionInfo/components/ScResultsList/components/ResultData/ResultData.js +1 -1
  73. package/UI/TransactionInfo/components/ScResultsList/components/ResultData/index.js +1 -1
  74. package/UI/TransactionInfo/components/ScResultsList/components/ResultHash/ResultHash.js +1 -1
  75. package/UI/TransactionInfo/components/ScResultsList/components/ResultHash/index.js +1 -1
  76. package/UI/TransactionInfo/components/ScResultsList/components/ResultReceiver/ResultReceiver.js +1 -1
  77. package/UI/TransactionInfo/components/ScResultsList/components/ResultReceiver/index.js +1 -1
  78. package/UI/TransactionInfo/components/ScResultsList/components/ResultSender/ResultSender.js +1 -1
  79. package/UI/TransactionInfo/components/ScResultsList/components/ResultSender/index.js +1 -1
  80. package/UI/TransactionInfo/components/ScResultsList/index.js +1 -1
  81. package/UI/TransactionInfo/components/ScrDetailItem/ScrDetailItem.js +1 -1
  82. package/UI/TransactionInfo/components/ScrDetailItem/index.js +1 -1
  83. package/UI/TransactionInfo/components/TransactionAction/TransactionAction.js +1 -1
  84. package/UI/TransactionInfo/components/TransactionAction/components/ActionText/index.js +1 -1
  85. package/UI/TransactionInfo/components/TransactionAction/components/ActionToken.js +1 -1
  86. package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/TransactionActionCollection.js +1 -1
  87. package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/TransactionActionNft.js +1 -1
  88. package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/TransactionActionToken.js +1 -1
  89. package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/index.js +1 -1
  90. package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/index.js +1 -1
  91. package/UI/TransactionInfo/components/TransactionAction/components/index.js +1 -1
  92. package/UI/TransactionInfo/components/TransactionAction/index.js +1 -1
  93. package/UI/TransactionInfo/components/TransactionLogs/TransactionLogs.js +1 -1
  94. package/UI/TransactionInfo/components/TransactionLogs/index.js +1 -1
  95. package/UI/TransactionInfo/components/TransactionStatus/TransactionStatus.js +1 -1
  96. package/UI/TransactionInfo/components/TransactionStatus/index.js +1 -1
  97. package/UI/TransactionInfo/components/index.js +1 -1
  98. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoAge/TransactionInfoAge.js +1 -1
  99. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoAge/index.js +1 -1
  100. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoEgldPrice/TransactionInfoEgldPrice.js +1 -1
  101. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoEgldPrice/index.js +1 -1
  102. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFee/TransactionInfoFee.js +1 -1
  103. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFee/index.js +1 -1
  104. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFrom/TransactionInfoFrom.js +1 -1
  105. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFrom/index.js +1 -1
  106. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasLimit/TransactionInfoGasLimit.js +1 -1
  107. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasLimit/index.js +1 -1
  108. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasPrice/TransactionInfoGasPrice.js +1 -1
  109. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasPrice/index.js +1 -1
  110. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasUsed/TransactionInfoGasUsed.js +1 -1
  111. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasUsed/index.js +1 -1
  112. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoInputData/TransactionInfoInputData.js +1 -1
  113. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoInputData/index.js +1 -1
  114. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMethod/TransactionInfoMethod.js +1 -1
  115. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMethod/index.js +1 -1
  116. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMiniblock/TransactionInfoMiniblock.js +1 -1
  117. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMiniblock/index.js +1 -1
  118. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoNonce/TransactionInfoNonce.js +1 -1
  119. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoNonce/index.js +1 -1
  120. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoScResults/TransactionInfoScResults.js +1 -1
  121. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoScResults/index.js +1 -1
  122. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoStatus/TransactionInfoStatus.js +1 -1
  123. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoStatus/index.js +1 -1
  124. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTo/TransactionInfoTo.js +1 -1
  125. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTo/index.js +1 -1
  126. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTokenOperations/TransactionInfoTokenOperations.js +1 -1
  127. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTokenOperations/index.js +1 -1
  128. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoValue/TransactionInfoValue.js +1 -1
  129. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoValue/index.js +1 -1
  130. package/UI/TransactionInfo/components/transactionInfoFields/index.js +1 -1
  131. package/UI/TransactionInfo/index.js +1 -1
  132. package/UI/TransactionsTable/TransactionsTable.js +1 -1
  133. package/UI/TransactionsTable/components/AccountName.js +1 -1
  134. package/UI/TransactionsTable/components/LockedTokenAddressIcon.js +1 -1
  135. package/UI/TransactionsTable/components/ScAddressIcon.js +1 -1
  136. package/UI/TransactionsTable/components/ShardSpan.js +1 -1
  137. package/UI/TransactionsTable/components/TransactionHash.js +1 -1
  138. package/UI/TransactionsTable/components/TransactionIcon.js +1 -1
  139. package/UI/TransactionsTable/components/TransactionReceiver.js +1 -1
  140. package/UI/TransactionsTable/components/TransactionRow.js +1 -1
  141. package/UI/TransactionsTable/components/TransactionSender.js +1 -1
  142. package/UI/TransactionsTable/components/TransactionShardsTransition.js +1 -1
  143. package/UI/TransactionsTable/components/TransactionValue/TransactionValue.js +1 -1
  144. package/UI/TransactionsTable/components/TransactionValue/index.js +1 -1
  145. package/UI/TransactionsTable/components/index.js +1 -1
  146. package/UI/TransactionsTable/index.js +1 -1
  147. package/UI/TransactionsToastList/TransactionsToastList.js +1 -1
  148. package/UI/TransactionsToastList/components/CustomToast/CustomToast.js +1 -1
  149. package/UI/TransactionsToastList/components/CustomToast/components/CustomComponentToast.js +1 -1
  150. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/IconToast.js +1 -1
  151. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/IconToastFooter.js +1 -1
  152. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/ComponentToastFooter.js +1 -1
  153. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/TransactionToastFooter.js +1 -1
  154. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/index.js +1 -1
  155. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/index.js +1 -1
  156. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/index.js +1 -1
  157. package/UI/TransactionsToastList/components/CustomToast/components/SimpleToast.js +1 -1
  158. package/UI/TransactionsToastList/components/CustomToast/components/index.js +1 -1
  159. package/UI/TransactionsToastList/components/CustomToast/helpers/getIsTransaction.js +1 -1
  160. package/UI/TransactionsToastList/components/CustomToast/helpers/index.js +1 -1
  161. package/UI/TransactionsToastList/components/CustomToast/helpers/useMemoizedCloseButton.js +1 -1
  162. package/UI/TransactionsToastList/components/CustomToast/index.js +1 -1
  163. package/UI/TransactionsToastList/components/TransactionToast/TransactionToast.js +1 -1
  164. package/UI/TransactionsToastList/components/TransactionToast/components/TransactionToastContent.js +1 -1
  165. package/UI/TransactionsToastList/components/TransactionToast/components/index.js +1 -1
  166. package/UI/TransactionsToastList/components/TransactionToast/hooks/useTransactionToast.js +1 -1
  167. package/UI/TransactionsToastList/components/TransactionToast/index.js +1 -1
  168. package/UI/TransactionsToastList/components/TransactionToast/utils/getToastDataStateByStatus.js +1 -1
  169. package/UI/TransactionsToastList/components/TransactionToast/utils/index.js +1 -1
  170. package/UI/TransactionsToastList/components/TransactionToastGuard.js +1 -1
  171. package/UI/TransactionsToastList/components/index.js +1 -1
  172. package/UI/TransactionsToastList/index.js +1 -1
  173. package/UI/Trim/Trim.js +1 -1
  174. package/UI/Trim/index.js +1 -1
  175. package/UI/UsdValue/UsdValue.js +1 -1
  176. package/UI/UsdValue/index.js +1 -1
  177. package/UI/extension/ExtensionLoginButton/ExtensionLoginButton.js +1 -1
  178. package/UI/extension/ExtensionLoginButton/index.js +1 -1
  179. package/UI/index.js +1 -1
  180. package/UI/ledger/LedgerLoginButton/LedgerLoginButton.js +1 -1
  181. package/UI/ledger/LedgerLoginButton/index.js +1 -1
  182. package/UI/ledger/LedgerLoginContainer/AddressRow.js +1 -1
  183. package/UI/ledger/LedgerLoginContainer/AddressTable.js +1 -1
  184. package/UI/ledger/LedgerLoginContainer/ConfirmAddress.js +1 -1
  185. package/UI/ledger/LedgerLoginContainer/LedgerConnect.js +1 -1
  186. package/UI/ledger/LedgerLoginContainer/LedgerLoading/LedgerLoading.js +1 -1
  187. package/UI/ledger/LedgerLoginContainer/LedgerLoading/index.js +1 -1
  188. package/UI/ledger/LedgerLoginContainer/LedgerLoginContainer.js +1 -1
  189. package/UI/ledger/LedgerLoginContainer/index.js +1 -1
  190. package/UI/ledger/index.js +1 -1
  191. package/UI/operaWallet/OperaWalletLoginButton/OperaWalletLoginButton.js +1 -1
  192. package/UI/operaWallet/OperaWalletLoginButton/index.js +1 -1
  193. package/UI/pages/UnlockPage/index.js +1 -1
  194. package/UI/pages/index.js +1 -1
  195. package/UI/walletConnect/WalletConnectConnectionStatus/WalletConnectConnectionStatus.js +1 -1
  196. package/UI/walletConnect/WalletConnectConnectionStatus/index.js +1 -1
  197. package/UI/walletConnect/WalletConnectLoginButton/WalletConnectLoginButton.js +1 -1
  198. package/UI/walletConnect/WalletConnectLoginButton/index.js +1 -1
  199. package/UI/walletConnect/WalletConnectLoginContainer/index.js +1 -1
  200. package/UI/walletConnect/index.js +1 -1
  201. package/UI/webWallet/WebWalletLoginButton/WebWalletLoginButton.js +1 -1
  202. package/UI/webWallet/WebWalletLoginButton/index.js +1 -1
  203. package/__chunks__/{chunk-Q3C3PU3T.js → chunk-22BNDIDY.js} +2 -2
  204. package/__chunks__/{chunk-UKGL7JCG.js → chunk-23PGUHO5.js} +2 -2
  205. package/__chunks__/{chunk-5GSVIRS6.js → chunk-24MHN56Z.js} +2 -2
  206. package/__chunks__/{chunk-NJ5Y7TMT.js → chunk-25H6IZWS.js} +2 -2
  207. package/__chunks__/{chunk-HI3TTOPS.js → chunk-25WOSZBH.js} +2 -2
  208. package/__chunks__/{chunk-U26NZZ6I.js → chunk-2BQKLJVC.js} +2 -2
  209. package/__chunks__/{chunk-XTH5TI2Z.js → chunk-2C7GRV4K.js} +1 -1
  210. package/__chunks__/chunk-2GJXRUZB.js +2 -0
  211. package/__chunks__/chunk-2HP4MBG6.js +2 -0
  212. package/__chunks__/{chunk-MYEVNSSI.js → chunk-2MGL5PZM.js} +2 -2
  213. package/__chunks__/{chunk-WZRSEL3U.js → chunk-2MK4CUSK.js} +2 -2
  214. package/__chunks__/{chunk-CSO726IR.js → chunk-2MYRQQDW.js} +2 -2
  215. package/__chunks__/{chunk-3Y5BGJWE.js → chunk-2UUAW6ZT.js} +2 -2
  216. package/__chunks__/{chunk-LWIZV7DC.js → chunk-32HXUVRN.js} +2 -2
  217. package/__chunks__/{chunk-LPOMVWBN.js → chunk-35EGOUQP.js} +2 -2
  218. package/__chunks__/{chunk-TODRZFRF.js → chunk-3C4V37PN.js} +2 -2
  219. package/__chunks__/{chunk-VRXSTR54.js → chunk-3DNH2BSP.js} +2 -2
  220. package/__chunks__/{chunk-BAEMTORG.js → chunk-3FRL3FDA.js} +2 -2
  221. package/__chunks__/{chunk-4QY2YX5G.js → chunk-3P4IDKXG.js} +2 -2
  222. package/__chunks__/{chunk-74SX6ICE.js → chunk-3QVIRAOY.js} +2 -2
  223. package/__chunks__/{chunk-32ZRYE2I.js → chunk-3VHD2VWY.js} +2 -2
  224. package/__chunks__/{chunk-5QHFTZEC.js → chunk-3WBKGPJU.js} +2 -2
  225. package/__chunks__/{chunk-DITPXOGL.js → chunk-3XIYDPEM.js} +2 -2
  226. package/__chunks__/{chunk-PXRMFVFX.js → chunk-3XUH7Z6U.js} +2 -2
  227. package/__chunks__/{chunk-GAEMX5JI.js → chunk-3YKK5NCJ.js} +2 -2
  228. package/__chunks__/{chunk-4N74X67N.js → chunk-3Z4T2KPO.js} +2 -2
  229. package/__chunks__/{chunk-6N623GRP.js → chunk-4FSODRY6.js} +2 -2
  230. package/__chunks__/{chunk-UUFVFWEJ.js → chunk-4HGOGGFO.js} +2 -2
  231. package/__chunks__/{chunk-22B2OL6G.js → chunk-4HN6MKAN.js} +2 -2
  232. package/__chunks__/{chunk-JRZAHYJD.js → chunk-4JE7YGVU.js} +2 -2
  233. package/__chunks__/{chunk-QOMFYXMP.js → chunk-4Q54DZ4M.js} +2 -2
  234. package/__chunks__/{chunk-WKQEQMZQ.js → chunk-4TLXK4EU.js} +2 -2
  235. package/__chunks__/{chunk-2DUNZA5G.js → chunk-4ZAWLEGV.js} +2 -2
  236. package/__chunks__/{chunk-J23GSJDN.js → chunk-5277NS27.js} +2 -2
  237. package/__chunks__/{chunk-VK7IUB2E.js → chunk-56NQYYN5.js} +2 -2
  238. package/__chunks__/{chunk-FNOLCQMZ.js → chunk-56QGZZM5.js} +2 -2
  239. package/__chunks__/{chunk-YPBWG5K5.js → chunk-5CSSGXNR.js} +2 -2
  240. package/__chunks__/chunk-5HGHKFND.js +2 -0
  241. package/__chunks__/{chunk-XF5MH67S.js → chunk-5HPUP6VT.js} +2 -2
  242. package/__chunks__/{chunk-MRLARM6A.js → chunk-5ICKGCNH.js} +2 -2
  243. package/__chunks__/{chunk-4AKKHXOD.js → chunk-5RXKUBRZ.js} +2 -2
  244. package/__chunks__/chunk-5YRCFUOW.js +2 -0
  245. package/__chunks__/{chunk-E33V2UGB.js → chunk-64AMRV6T.js} +2 -2
  246. package/__chunks__/{chunk-VYAQ3BWI.js → chunk-6AA4A5NH.js} +2 -2
  247. package/__chunks__/{chunk-SHKXLD6S.js → chunk-6C3J6LZP.js} +2 -2
  248. package/__chunks__/{chunk-AHQZXMB6.js → chunk-6D3E7DYL.js} +2 -2
  249. package/__chunks__/{chunk-Q767AMDG.js → chunk-6IXIW2WC.js} +2 -2
  250. package/__chunks__/{chunk-IGUITEHP.js → chunk-6KMUJ4T7.js} +2 -2
  251. package/__chunks__/chunk-6RMK3K57.js +2 -0
  252. package/__chunks__/{chunk-EUHWUYFT.js → chunk-6TL44NOG.js} +2 -2
  253. package/__chunks__/{chunk-536PBYST.js → chunk-6UBDQBXV.js} +2 -2
  254. package/__chunks__/{chunk-3NP5KEMS.js → chunk-6VNCBK24.js} +2 -2
  255. package/__chunks__/chunk-6VXW7EDL.js +2 -0
  256. package/__chunks__/{chunk-BFVCHUFB.js → chunk-6W4ATSE7.js} +2 -2
  257. package/__chunks__/{chunk-SSQ24ZQI.js → chunk-6W7SGF52.js} +2 -2
  258. package/__chunks__/{chunk-FK6CMLU4.js → chunk-6ZGRGP6T.js} +2 -2
  259. package/__chunks__/{chunk-4F7UUP4I.js → chunk-743AKKDS.js} +2 -2
  260. package/__chunks__/{chunk-E5ZB2V7K.js → chunk-74VIDUS4.js} +2 -2
  261. package/__chunks__/chunk-7MEYN3BM.js +2 -0
  262. package/__chunks__/{chunk-OU3TUJ76.js → chunk-7US4V5WY.js} +2 -2
  263. package/__chunks__/{chunk-LQZ4R3UH.js → chunk-A4IGY4EI.js} +2 -2
  264. package/__chunks__/chunk-A4ISVUWS.js +2 -0
  265. package/__chunks__/{chunk-YNPF3RCP.js → chunk-AD765LZ3.js} +2 -2
  266. package/__chunks__/{chunk-OAIRCOHF.js → chunk-AJM6Z6UQ.js} +2 -2
  267. package/__chunks__/{chunk-T5LVNCNL.js → chunk-ANXNUZSU.js} +2 -2
  268. package/__chunks__/{chunk-4H6MAWFT.js → chunk-AP3JT3G4.js} +2 -2
  269. package/__chunks__/chunk-APRFXAZK.js +2 -0
  270. package/__chunks__/{chunk-4KMANYM6.js → chunk-ATNC2QOV.js} +2 -2
  271. package/__chunks__/{chunk-WYQ75H7B.js → chunk-ATNF3V5B.js} +2 -2
  272. package/__chunks__/{chunk-O7KNCSCS.js → chunk-AW3GRB7I.js} +2 -2
  273. package/__chunks__/{chunk-AIMFEDFS.js → chunk-BAP4M7JS.js} +2 -2
  274. package/__chunks__/{chunk-BB3BOXBV.js → chunk-BFDLMPCM.js} +2 -2
  275. package/__chunks__/chunk-BJ3XPMDZ.js +2 -0
  276. package/__chunks__/{chunk-WZ2RRRXL.js → chunk-BLTWEDQ7.js} +2 -2
  277. package/__chunks__/{chunk-M4P2OSTY.js → chunk-BN5XQD36.js} +2 -2
  278. package/__chunks__/{chunk-ZYOIL2HF.js → chunk-BP6LOL24.js} +2 -2
  279. package/__chunks__/{chunk-PCYK72XB.js → chunk-BPBNCTRY.js} +2 -2
  280. package/__chunks__/{chunk-CKGKOLUG.js → chunk-BPUXTNQV.js} +2 -2
  281. package/__chunks__/{chunk-5CAZZPUJ.js → chunk-BVXOV5X6.js} +2 -2
  282. package/__chunks__/chunk-CAGJQEO7.js +2 -0
  283. package/__chunks__/{chunk-FN4XAVEL.js → chunk-CGHIGVRS.js} +2 -2
  284. package/__chunks__/{chunk-DV2VBFMQ.js → chunk-CGTEWJ5K.js} +2 -2
  285. package/__chunks__/{chunk-PKBC2O5B.js → chunk-CTL3ZP6C.js} +2 -2
  286. package/__chunks__/{chunk-WRVV4T6J.js → chunk-CTMC63FI.js} +2 -2
  287. package/__chunks__/{chunk-OMEHOZV7.js → chunk-CVQ2LFHS.js} +2 -2
  288. package/__chunks__/{chunk-EZF4SEPA.js → chunk-CZBLVRDM.js} +2 -2
  289. package/__chunks__/{chunk-M2MHW636.js → chunk-D2R4I2CF.js} +2 -2
  290. package/__chunks__/{chunk-UDJVVSCW.js → chunk-DDVQWYDE.js} +2 -2
  291. package/__chunks__/{chunk-DLCW6NV6.js → chunk-DFBX6S3S.js} +2 -2
  292. package/__chunks__/{chunk-NESBZ6FF.js → chunk-DJ4MXZEB.js} +2 -2
  293. package/__chunks__/{chunk-RTOUROHI.js → chunk-DMMGOSGW.js} +2 -2
  294. package/__chunks__/chunk-DOHW3NMS.js +2 -0
  295. package/__chunks__/{chunk-SMGMFXHG.js → chunk-DPOIXXVM.js} +2 -2
  296. package/__chunks__/{chunk-KO4XK3Z5.js → chunk-DQKIMSV5.js} +2 -2
  297. package/__chunks__/{chunk-ZYRGQUQO.js → chunk-DTQYYL3U.js} +2 -2
  298. package/__chunks__/chunk-DVCFJBGO.js +2 -0
  299. package/__chunks__/{chunk-QURQORZY.js → chunk-E6M5SUPC.js} +2 -2
  300. package/__chunks__/{chunk-VZR5DLOP.js → chunk-EE3AMH2O.js} +2 -2
  301. package/__chunks__/{chunk-GUVG6JNO.js → chunk-EEMPA4H5.js} +2 -2
  302. package/__chunks__/{chunk-AZ77IZAU.js → chunk-EJRNWWUT.js} +2 -2
  303. package/__chunks__/{chunk-KTU6YMAU.js → chunk-EMEGWOSZ.js} +2 -2
  304. package/__chunks__/chunk-EPIM5VF3.js +2 -0
  305. package/__chunks__/{chunk-GLG46A5V.js → chunk-EQ6RELEK.js} +2 -2
  306. package/__chunks__/{chunk-VB46C3JN.js → chunk-EXHC6P6S.js} +2 -2
  307. package/__chunks__/chunk-EZUDPA6C.js +2 -0
  308. package/__chunks__/chunk-F452YKVY.js +2 -0
  309. package/__chunks__/{chunk-QVRGCGKB.js → chunk-F5C32TU4.js} +2 -2
  310. package/__chunks__/{chunk-USNK5GXU.js → chunk-FJZ35MBC.js} +2 -2
  311. package/__chunks__/{chunk-N7457FEZ.js → chunk-FLINYPP7.js} +2 -2
  312. package/__chunks__/{chunk-OXF64TSD.js → chunk-FVAVUDF4.js} +2 -2
  313. package/__chunks__/{chunk-YF3C3X6F.js → chunk-FX7RMT62.js} +2 -2
  314. package/__chunks__/{chunk-MIJ4XFAG.js → chunk-G4RVFRDX.js} +2 -2
  315. package/__chunks__/{chunk-VAUMM752.js → chunk-GLB2QIHS.js} +2 -2
  316. package/__chunks__/{chunk-HAYDBR6E.js → chunk-GPTL7OZX.js} +2 -2
  317. package/__chunks__/{chunk-FMHNDUTD.js → chunk-GPZ2MXSH.js} +2 -2
  318. package/__chunks__/chunk-GTH2KO42.js +2 -0
  319. package/__chunks__/chunk-GUSWVO3S.js +2 -0
  320. package/__chunks__/chunk-GY56IM5W.js +2 -0
  321. package/__chunks__/{chunk-DORKVOZK.js → chunk-GZ65EEGP.js} +2 -2
  322. package/__chunks__/{chunk-TRQCF5DE.js → chunk-H26UAHYG.js} +2 -2
  323. package/__chunks__/{chunk-DPGZI7ZL.js → chunk-H2TF23SS.js} +2 -2
  324. package/__chunks__/{chunk-LCHUARFI.js → chunk-H4VWFNNO.js} +2 -2
  325. package/__chunks__/{chunk-6TKPG2DA.js → chunk-HASOLY3D.js} +2 -2
  326. package/__chunks__/{chunk-NVMFOXF2.js → chunk-HBSGYVXR.js} +2 -2
  327. package/__chunks__/{chunk-TV4UE542.js → chunk-HBSL2LZP.js} +2 -2
  328. package/__chunks__/{chunk-BRVWDMXY.js → chunk-HF6LCNXB.js} +2 -2
  329. package/__chunks__/{chunk-33G5NR3J.js → chunk-HLHOIHT4.js} +2 -2
  330. package/__chunks__/{chunk-SUPOLMFK.js → chunk-HR7H2KEB.js} +2 -2
  331. package/__chunks__/{chunk-TWDIMGX4.js → chunk-HSTWW743.js} +2 -2
  332. package/__chunks__/{chunk-BIU4BOJ2.js → chunk-HTP4J6I6.js} +2 -2
  333. package/__chunks__/{chunk-BC44J7BF.js → chunk-HWBXEH7F.js} +2 -2
  334. package/__chunks__/{chunk-FZIRWH4V.js → chunk-HYQF2DHN.js} +2 -2
  335. package/__chunks__/chunk-IBMNJY4I.js +2 -0
  336. package/__chunks__/{chunk-UBAMGJ3S.js → chunk-IBO4LACI.js} +2 -2
  337. package/__chunks__/{chunk-MY2OL3WR.js → chunk-IHFMYXUK.js} +2 -2
  338. package/__chunks__/{chunk-4Z4URAHT.js → chunk-IJWV5SZQ.js} +2 -2
  339. package/__chunks__/{chunk-TBO3KH6D.js → chunk-INN65FS5.js} +2 -2
  340. package/__chunks__/{chunk-ZY5APWKF.js → chunk-IOWWO55C.js} +2 -2
  341. package/__chunks__/{chunk-Q7U7FR5N.js → chunk-ITSH5VLS.js} +2 -2
  342. package/__chunks__/{chunk-HZF5PCRM.js → chunk-IVENVEUZ.js} +2 -2
  343. package/__chunks__/{chunk-KRWVFRYL.js → chunk-IVLJSOPO.js} +2 -2
  344. package/__chunks__/chunk-JBWXI5LT.js +2 -0
  345. package/__chunks__/{chunk-C7ARVBNS.js → chunk-JCGW34L7.js} +2 -2
  346. package/__chunks__/{chunk-67MN2PLD.js → chunk-JNIJ3TEW.js} +2 -2
  347. package/__chunks__/{chunk-H4E3OSY6.js → chunk-JRI3Z4WO.js} +2 -2
  348. package/__chunks__/{chunk-WVBXSZAX.js → chunk-JRKYVK6W.js} +2 -2
  349. package/__chunks__/{chunk-DWE2BI7L.js → chunk-JS4EUFGE.js} +2 -2
  350. package/__chunks__/chunk-JV36JUBN.js +2 -0
  351. package/__chunks__/{chunk-HKVR5VUS.js → chunk-JZNQERRF.js} +2 -2
  352. package/__chunks__/{chunk-M5ZRXRHG.js → chunk-KBNC4PQK.js} +2 -2
  353. package/__chunks__/{chunk-DL72MBJQ.js → chunk-KER7F45H.js} +2 -2
  354. package/__chunks__/{chunk-GOTLT5FJ.js → chunk-KEXX5T5S.js} +2 -2
  355. package/__chunks__/{chunk-INKZSXLA.js → chunk-KGKU7VE3.js} +2 -2
  356. package/__chunks__/{chunk-RJ3IYNEQ.js → chunk-KH4RYN64.js} +2 -2
  357. package/__chunks__/{chunk-LUME2A44.js → chunk-KJCOXUOQ.js} +2 -2
  358. package/__chunks__/chunk-KKPIGEVH.js +2 -0
  359. package/__chunks__/{chunk-EFISJYA5.js → chunk-KLOEO7NC.js} +2 -2
  360. package/__chunks__/chunk-KXXSMJB4.js +2 -0
  361. package/__chunks__/{chunk-CROJ5AI5.js → chunk-LADRKIX7.js} +2 -2
  362. package/__chunks__/{chunk-KXXIXDTJ.js → chunk-LFYL7DS4.js} +2 -2
  363. package/__chunks__/{chunk-AF77C7ZE.js → chunk-LK27IFJB.js} +2 -2
  364. package/__chunks__/{chunk-URN22CM2.js → chunk-LKXDEFFY.js} +2 -2
  365. package/__chunks__/{chunk-ROLGCJUL.js → chunk-LMMU4UPQ.js} +2 -2
  366. package/__chunks__/{chunk-HA2ATZBP.js → chunk-LSDLTSQG.js} +2 -2
  367. package/__chunks__/{chunk-W626J7C5.js → chunk-LZPI22C6.js} +2 -2
  368. package/__chunks__/{chunk-TZRKLPPO.js → chunk-M3RXR2D6.js} +2 -2
  369. package/__chunks__/{chunk-SSYW4CUI.js → chunk-MGXLIRRN.js} +2 -2
  370. package/__chunks__/{chunk-A2NBKAPP.js → chunk-MJAOYY4I.js} +2 -2
  371. package/__chunks__/chunk-MJINQDKX.js +2 -0
  372. package/__chunks__/{chunk-NF2WEW5V.js → chunk-MJNNJY77.js} +2 -2
  373. package/__chunks__/chunk-MM3LCZXX.js +2 -0
  374. package/__chunks__/{chunk-TOYBAHKU.js → chunk-MNJS5OZX.js} +2 -2
  375. package/__chunks__/{chunk-32AI2ZTQ.js → chunk-MOKEW2WW.js} +2 -2
  376. package/__chunks__/chunk-MRHCN3BO.js +2 -0
  377. package/__chunks__/{chunk-5GJMJ3N2.js → chunk-MURLWIF2.js} +2 -2
  378. package/__chunks__/{chunk-5EZJVZM3.js → chunk-MXZSBTLB.js} +2 -2
  379. package/__chunks__/{chunk-MQHT3ATZ.js → chunk-MY42CLB7.js} +2 -2
  380. package/__chunks__/chunk-N4I5IJTK.js +2 -0
  381. package/__chunks__/{chunk-3ISPEUQU.js → chunk-N737OXCB.js} +2 -2
  382. package/__chunks__/chunk-NCYPSMKX.js +2 -0
  383. package/__chunks__/{chunk-6YFWK37V.js → chunk-ND4IL2S6.js} +2 -2
  384. package/__chunks__/chunk-NG4ZORRB.js +2 -0
  385. package/__chunks__/{chunk-7CDIZ6AC.js → chunk-NITJ5LPE.js} +2 -2
  386. package/__chunks__/{chunk-SJHQD2SF.js → chunk-NKDVLEIA.js} +2 -2
  387. package/__chunks__/{chunk-WDWAJF67.js → chunk-NSD6KNH3.js} +2 -2
  388. package/__chunks__/{chunk-SYBM77FC.js → chunk-NT2LOVNN.js} +2 -2
  389. package/__chunks__/{chunk-FKIGOGYD.js → chunk-NWLKWRSZ.js} +2 -2
  390. package/__chunks__/chunk-NZ6M2JMP.js +2 -0
  391. package/__chunks__/{chunk-UGEAGCUD.js → chunk-NZNFQ5Q6.js} +2 -2
  392. package/__chunks__/{chunk-2SNYG42B.js → chunk-NZPAWSWN.js} +2 -2
  393. package/__chunks__/{chunk-AQVTEO5Y.js → chunk-O4CMJPNZ.js} +2 -2
  394. package/__chunks__/{chunk-YWIQ5UF3.js → chunk-OHVNN7NE.js} +2 -2
  395. package/__chunks__/{chunk-JD2JEU5S.js → chunk-OI4I5MEM.js} +2 -2
  396. package/__chunks__/{chunk-IZCG3CN5.js → chunk-OJFDTKGO.js} +2 -2
  397. package/__chunks__/chunk-OORPW3KK.js +2 -0
  398. package/__chunks__/{chunk-GFMWK4XE.js → chunk-OPDOYJJH.js} +2 -2
  399. package/__chunks__/{chunk-33JGCCAS.js → chunk-OPNME774.js} +2 -2
  400. package/__chunks__/{chunk-ZAW6LNBF.js → chunk-OSC3TQW4.js} +2 -2
  401. package/__chunks__/{chunk-B24TZ67Y.js → chunk-OTEAX6GA.js} +2 -2
  402. package/__chunks__/{chunk-5ECTXHVW.js → chunk-OYKGAC3J.js} +2 -2
  403. package/__chunks__/{chunk-V26SOI5X.js → chunk-P43G2FR3.js} +2 -2
  404. package/__chunks__/{chunk-HPJHXWFJ.js → chunk-P5GTLWBP.js} +2 -2
  405. package/__chunks__/{chunk-YS7WBCNF.js → chunk-PEUW5XBC.js} +2 -2
  406. package/__chunks__/{chunk-OY2B2YJ5.js → chunk-PGRO2Q3V.js} +2 -2
  407. package/__chunks__/{chunk-ZWSRZLU3.js → chunk-PI4B2DXJ.js} +2 -2
  408. package/__chunks__/{chunk-DCLOYTCT.js → chunk-PMK76N2K.js} +2 -2
  409. package/__chunks__/{chunk-ACS75GCN.js → chunk-PNC46JIO.js} +2 -2
  410. package/__chunks__/{chunk-RF7CRPZW.js → chunk-PS2OSRWH.js} +2 -2
  411. package/__chunks__/{chunk-LZA73YEE.js → chunk-PXH3AT75.js} +2 -2
  412. package/__chunks__/{chunk-5ID44ZWS.js → chunk-PXRYZGWG.js} +2 -2
  413. package/__chunks__/{chunk-FDRKGAPW.js → chunk-PYDEEWDX.js} +2 -2
  414. package/__chunks__/{chunk-MF4VGO2P.js → chunk-PZTONKUJ.js} +2 -2
  415. package/__chunks__/{chunk-WIASOFGB.js → chunk-Q33C4YIC.js} +2 -2
  416. package/__chunks__/{chunk-RBUDKR7N.js → chunk-QD2A4C5X.js} +2 -2
  417. package/__chunks__/{chunk-CSTGGQZ3.js → chunk-QGO2X2OF.js} +2 -2
  418. package/__chunks__/{chunk-YNS42QN4.js → chunk-QICHFAW6.js} +2 -2
  419. package/__chunks__/{chunk-5MD3LER2.js → chunk-QJ3KR55F.js} +2 -2
  420. package/__chunks__/{chunk-GNZWP7M5.js → chunk-QNF65LKQ.js} +2 -2
  421. package/__chunks__/chunk-QOLKAJKP.js +2 -0
  422. package/__chunks__/chunk-QRTC4F45.js +2 -0
  423. package/__chunks__/{chunk-EZPUMXAD.js → chunk-QSO2A2Y2.js} +2 -2
  424. package/__chunks__/{chunk-PDGAVRY5.js → chunk-QWTYG5QT.js} +2 -2
  425. package/__chunks__/{chunk-FWQ3MGHI.js → chunk-RB6FCNPS.js} +2 -2
  426. package/__chunks__/{chunk-DKJUGZTR.js → chunk-RERGANEX.js} +2 -2
  427. package/__chunks__/{chunk-O235ZVLI.js → chunk-RETAXIG5.js} +2 -2
  428. package/__chunks__/{chunk-LQLR5D7K.js → chunk-RF4HB6F4.js} +2 -2
  429. package/__chunks__/chunk-RF75LNBN.js +2 -0
  430. package/__chunks__/{chunk-GS3A3KAT.js → chunk-RFWA6XFB.js} +2 -2
  431. package/__chunks__/{chunk-VQUUOKP6.js → chunk-RL2EZTEH.js} +2 -2
  432. package/__chunks__/{chunk-ISS2VFR7.js → chunk-RNGQ64H4.js} +2 -2
  433. package/__chunks__/{chunk-4ONH4EVB.js → chunk-RTW2W4FL.js} +2 -2
  434. package/__chunks__/{chunk-GCWAYA4A.js → chunk-RU3XU25G.js} +2 -2
  435. package/__chunks__/{chunk-RMPEC2YZ.js → chunk-RUHSCMLJ.js} +2 -2
  436. package/__chunks__/chunk-RYCXJEBT.js +2 -0
  437. package/__chunks__/{chunk-JOHVJR5G.js → chunk-RYVX47KK.js} +2 -2
  438. package/__chunks__/{chunk-XGC573MQ.js → chunk-RZHRD4PP.js} +2 -2
  439. package/__chunks__/{chunk-4VDFRTVU.js → chunk-S46ZDGKT.js} +2 -2
  440. package/__chunks__/{chunk-WRGIESPC.js → chunk-S55UK53F.js} +2 -2
  441. package/__chunks__/{chunk-SRCTG6XF.js → chunk-S6U2UJXL.js} +2 -2
  442. package/__chunks__/{chunk-Z5R5TTKX.js → chunk-SEE2MFNT.js} +2 -2
  443. package/__chunks__/chunk-SG2VYMP6.js +2 -0
  444. package/__chunks__/{chunk-CGEMX4AG.js → chunk-SNYXNTJU.js} +2 -2
  445. package/__chunks__/chunk-SQKONX3B.js +2 -0
  446. package/__chunks__/{chunk-FTJAFBGA.js → chunk-SSP5MJ4M.js} +2 -2
  447. package/__chunks__/{chunk-K3ALYGXZ.js → chunk-SWZHNX5V.js} +2 -2
  448. package/__chunks__/{chunk-HF6ZA7S3.js → chunk-SY7G6542.js} +2 -2
  449. package/__chunks__/{chunk-SNP6EXOJ.js → chunk-T3QSZO5R.js} +2 -2
  450. package/__chunks__/{chunk-UXF5BMKU.js → chunk-T7BGK7BE.js} +2 -2
  451. package/__chunks__/{chunk-E6TK4WZD.js → chunk-T7EWCETY.js} +2 -2
  452. package/__chunks__/{chunk-3ZQFY6F6.js → chunk-TBLMESYV.js} +2 -2
  453. package/__chunks__/{chunk-242C7TAS.js → chunk-TDJH2C4I.js} +2 -2
  454. package/__chunks__/{chunk-TGOQ7DDZ.js → chunk-TFTBKZ4Y.js} +2 -2
  455. package/__chunks__/{chunk-ATCNAOAN.js → chunk-TGCFYADD.js} +2 -2
  456. package/__chunks__/chunk-TIMGRUJ3.js +2 -0
  457. package/__chunks__/chunk-TKNEDZAA.js +2 -0
  458. package/__chunks__/{chunk-ZPQP6PQ4.js → chunk-TRLYWN2H.js} +2 -2
  459. package/__chunks__/chunk-TZFYIW5N.js +2 -0
  460. package/__chunks__/{chunk-OFOMKYMK.js → chunk-U26YWTSH.js} +2 -2
  461. package/__chunks__/{chunk-SQECWX6H.js → chunk-U6APJEDG.js} +2 -2
  462. package/__chunks__/{chunk-EPPT4ZEW.js → chunk-U6JHL4YU.js} +2 -2
  463. package/__chunks__/{chunk-JO4A6CSY.js → chunk-U7VXNXXO.js} +2 -2
  464. package/__chunks__/chunk-UBA72RH5.js +2 -0
  465. package/__chunks__/{chunk-WINDRYE3.js → chunk-UD6OWWMY.js} +2 -2
  466. package/__chunks__/{chunk-HAL62NOH.js → chunk-UDFCRYAH.js} +2 -2
  467. package/__chunks__/{chunk-HE52W3U5.js → chunk-UH6I45FP.js} +2 -2
  468. package/__chunks__/chunk-UHANDBSN.js +2 -0
  469. package/__chunks__/{chunk-LKFXLCHG.js → chunk-UUMHYKWF.js} +2 -2
  470. package/__chunks__/chunk-V2XH557I.js +2 -0
  471. package/__chunks__/{chunk-UCIXQQXH.js → chunk-V47QZJXY.js} +2 -2
  472. package/__chunks__/{chunk-HONFC6RF.js → chunk-V4RS44Y5.js} +2 -2
  473. package/__chunks__/{chunk-W6J5EQVW.js → chunk-V52T5RFI.js} +2 -2
  474. package/__chunks__/{chunk-WAUCOTFC.js → chunk-VAXCQWQ6.js} +2 -2
  475. package/__chunks__/chunk-VD3JMKLM.js +2 -0
  476. package/__chunks__/{chunk-MJC25BBD.js → chunk-VHXQZXYB.js} +2 -2
  477. package/__chunks__/{chunk-XBLUA3I5.js → chunk-VU3UIBPH.js} +2 -2
  478. package/__chunks__/{chunk-CRNCZW27.js → chunk-VUDY7ODS.js} +2 -2
  479. package/__chunks__/{chunk-WVF3AZJV.js → chunk-VW45XH4K.js} +2 -2
  480. package/__chunks__/{chunk-H6BYEHT2.js → chunk-WEEOPYND.js} +2 -2
  481. package/__chunks__/{chunk-KL57DLJ4.js → chunk-WHLNB2E3.js} +2 -2
  482. package/__chunks__/{chunk-MON3UML3.js → chunk-WJFNU5A3.js} +2 -2
  483. package/__chunks__/{chunk-AKBJ2NKH.js → chunk-WNIFE237.js} +2 -2
  484. package/__chunks__/{chunk-BCP4NJXG.js → chunk-WNLIEOTH.js} +2 -2
  485. package/__chunks__/{chunk-HDIC2XJL.js → chunk-WUBQMXAA.js} +2 -2
  486. package/__chunks__/{chunk-CYTABNQT.js → chunk-WXS2YR7A.js} +2 -2
  487. package/__chunks__/{chunk-U4HKIWIM.js → chunk-WZAOWZUC.js} +2 -2
  488. package/__chunks__/chunk-WZX4YCAI.js +2 -0
  489. package/__chunks__/{chunk-2QDIYUNE.js → chunk-XDZKM5GJ.js} +2 -2
  490. package/__chunks__/chunk-XM46SB6P.js +2 -0
  491. package/__chunks__/{chunk-VNMCDV4R.js → chunk-XMNYM4YK.js} +2 -2
  492. package/__chunks__/{chunk-JTHZRT5A.js → chunk-XNWTUBQ2.js} +2 -2
  493. package/__chunks__/{chunk-TVA4IS2M.js → chunk-XOB7QSIA.js} +2 -2
  494. package/__chunks__/{chunk-WCQCSADH.js → chunk-XOGNGI4M.js} +2 -2
  495. package/__chunks__/{chunk-ZJXDI7DB.js → chunk-XPDFQQQ4.js} +2 -2
  496. package/__chunks__/chunk-XURMF7BD.js +2 -0
  497. package/__chunks__/{chunk-S2HAPCUZ.js → chunk-XUWB72HZ.js} +2 -2
  498. package/__chunks__/chunk-XYM6C2T7.js +2 -0
  499. package/__chunks__/{chunk-HGPH3V7R.js → chunk-YHUA43ZD.js} +2 -2
  500. package/__chunks__/chunk-YN4QBFLF.js +2 -0
  501. package/__chunks__/{chunk-LDBDKFGV.js → chunk-YNWTOWEL.js} +2 -2
  502. package/__chunks__/{chunk-QYVLZJ7A.js → chunk-YRM4SIAQ.js} +2 -2
  503. package/__chunks__/{chunk-22KINGHP.js → chunk-YVPUKP76.js} +2 -2
  504. package/__chunks__/{chunk-HDE3CJ6V.js → chunk-YZR7ENX6.js} +2 -2
  505. package/__chunks__/{chunk-TWXPPF25.js → chunk-Z3WEJX7T.js} +2 -2
  506. package/__chunks__/{chunk-FWJDIYG2.js → chunk-Z5FFKFWY.js} +2 -2
  507. package/__chunks__/{chunk-CXESPJOL.js → chunk-ZEUFOO6T.js} +2 -2
  508. package/__chunks__/{chunk-ZEDJXSND.js → chunk-ZITKXWPO.js} +2 -2
  509. package/__chunks__/{chunk-SZCETBKS.js → chunk-ZIUPI5PC.js} +2 -2
  510. package/__chunks__/{chunk-WXYCEY7K.js → chunk-ZRRNPHJV.js} +2 -2
  511. package/__chunks__/{chunk-CF5F6TEK.js → chunk-ZSFCERIH.js} +2 -2
  512. package/__chunks__/{chunk-4MHYOHHI.js → chunk-ZSP7GLWS.js} +2 -2
  513. package/__chunks__/{chunk-3Y4ZP243.js → chunk-ZU7QZKYV.js} +2 -2
  514. package/__commonjs/UI/TransactionInfo/components/DataDecode/DataDecode.js +1 -1
  515. package/__commonjs/UI/TransactionInfo/components/DataDecode/index.js +1 -1
  516. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoAge/TransactionInfoAge.js +2 -2
  517. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoAge/index.js +2 -2
  518. package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/index.js +1 -1
  519. package/__commonjs/UI/walletConnect/WalletConnectConnectionStatus/WalletConnectConnectionStatus.js +2 -2
  520. package/__commonjs/UI/walletConnect/WalletConnectConnectionStatus/index.js +2 -2
  521. package/__commonjs/__mocks__/index.js +1 -1
  522. package/__commonjs/__mocks__/server.js +1 -1
  523. package/__commonjs/__mocks__/utils/index.js +1 -1
  524. package/__commonjs/__mocks__/utils/renderWithProvider.js +1 -1
  525. package/__commonjs/components/ProviderInitializer/hooks/index.js +1 -1
  526. package/__commonjs/components/ProviderInitializer/hooks/useSetLedgerProvider.js +1 -1
  527. package/__commonjs/hooks/login/useLedgerLogin.js +1 -1
  528. package/__commonjs/reduxStore/selectors/toastsSelectors.js +1 -1
  529. package/__commonjs/reduxStore/slices/dappConfigSlice.js +1 -1
  530. package/__commonjs/services/transactions/index.js +1 -1
  531. package/__commonjs/types/dappConfig.types.d.ts +1 -0
  532. package/__commonjs/types/dappConfig.types.js +1 -1
  533. package/__commonjs/utils/operations/formatAmount.js +1 -1
  534. package/__commonjs/utils/operations/parseAmount.js +1 -1
  535. package/__commonjs/utils/transactions/getAreTransactionsOnSameShard.js +1 -1
  536. package/__commonjs/utils/transactions/parseMultiEsdtTransferData.js +1 -1
  537. package/__commonjs/utils/transactions/transactionInfoHelpers/getTransactionActionNftText.js +1 -1
  538. package/__commonjs/utils/transactions/transactionInfoHelpers/useDataDecode.js +3 -3
  539. package/__commonjs/utils/transactions/transactionInfoHelpers/useDataDecodeMethod.js +1 -1
  540. package/__commonjs/utils/validation/maxDecimals.js +1 -1
  541. package/__commonjs/web/hooks/index.js +1 -1
  542. package/__commonjs/web/hooks/useIdleTimer.js +1 -1
  543. package/__commonjs/web/index.js +1 -1
  544. package/__commonjs/wrappers/AppInitializer.js +1 -1
  545. package/__commonjs/wrappers/DappProvider/DappProvider.js +1 -1
  546. package/__commonjs/wrappers/DappProvider/index.js +1 -1
  547. package/__commonjs/wrappers/index.js +1 -1
  548. package/__mocks__/accountConfig.js +1 -1
  549. package/__mocks__/index.js +1 -1
  550. package/__mocks__/server.js +1 -1
  551. package/__mocks__/utils/index.js +1 -1
  552. package/__mocks__/utils/renderWithProvider.js +1 -1
  553. package/apiCalls/accounts/getAccountFromApi.js +1 -1
  554. package/apiCalls/accounts/index.js +1 -1
  555. package/apiCalls/configuration/getApiAddressForChainId.js +1 -1
  556. package/apiCalls/configuration/getEnvironmentForChainId.js +1 -1
  557. package/apiCalls/configuration/getNetworkConfig.js +1 -1
  558. package/apiCalls/configuration/getServerConfigurationForEnvironment.js +1 -1
  559. package/apiCalls/configuration/index.js +1 -1
  560. package/apiCalls/economics/getEconomicsInfo.js +1 -1
  561. package/apiCalls/economics/index.js +1 -1
  562. package/apiCalls/getScamAddressData.js +1 -1
  563. package/apiCalls/index.js +1 -1
  564. package/apiCalls/transactions/getTransactionsByHashes.js +1 -1
  565. package/apiCalls/transactions/index.js +1 -1
  566. package/apiCalls/transactions/sendSignedTransactions.js +1 -1
  567. package/apiCalls/utils/getCleanApiAddress.js +1 -1
  568. package/apiCalls/utils/index.js +1 -1
  569. package/components/BatchTransactionsSender/BatchTransactionsSender.js +1 -1
  570. package/components/BatchTransactionsSender/index.js +1 -1
  571. package/components/BatchTransactionsTracker/BatchTransactionsTracker.js +1 -1
  572. package/components/LogoutListener/LogoutListener.js +1 -1
  573. package/components/LogoutListener/helpers/index.js +1 -1
  574. package/components/LogoutListener/helpers/useLogoutFromMultipleTabs.js +1 -1
  575. package/components/LogoutListener/helpers/useNativeAuthLogout.js +1 -1
  576. package/components/LogoutListener/helpers/useNativeAuthLogoutWarning/index.js +1 -1
  577. package/components/LogoutListener/helpers/useNativeAuthLogoutWarning/useNativeAuthLogoutWarning.js +1 -1
  578. package/components/LogoutListener/index.js +1 -1
  579. package/components/ProviderInitializer/ProviderInitializer.js +1 -1
  580. package/components/ProviderInitializer/hooks/index.js +1 -1
  581. package/components/ProviderInitializer/hooks/useSetLedgerProvider.js +1 -1
  582. package/components/ProviderInitializer/index.js +1 -1
  583. package/components/TransactionSender/TransactionSender.js +1 -1
  584. package/components/TransactionSender/index.js +1 -1
  585. package/components/TransactionsTracker/TransactionTracker.js +1 -1
  586. package/components/TransactionsTracker/index.js +1 -1
  587. package/components/TransactionsTracker/useTransactionsTracker.js +1 -1
  588. package/constants/index.js +1 -1
  589. package/constants/network.js +1 -1
  590. package/hooks/account/index.js +1 -1
  591. package/hooks/account/useGetAccount.js +1 -1
  592. package/hooks/account/useGetAccountInfo.js +1 -1
  593. package/hooks/account/useGetAccountProvider.js +1 -1
  594. package/hooks/account/useGetIsLoggedIn.js +1 -1
  595. package/hooks/account/useGetLoginInfo.js +1 -1
  596. package/hooks/account/useGetWebsocketEvent.js +1 -1
  597. package/hooks/economics/index.js +1 -1
  598. package/hooks/economics/useGetEgldPrice.js +1 -1
  599. package/hooks/index.js +1 -1
  600. package/hooks/login/index.js +1 -1
  601. package/hooks/login/useExtensionLogin.js +1 -1
  602. package/hooks/login/useLedgerLogin.js +1 -1
  603. package/hooks/login/useLoginService.js +1 -1
  604. package/hooks/login/useOperaLogin.js +1 -1
  605. package/hooks/login/useWalletConnectV2Login.js +1 -1
  606. package/hooks/login/useWebViewLogin.js +1 -1
  607. package/hooks/login/useWebWalletLogin.js +1 -1
  608. package/hooks/signMessage/index.js +1 -1
  609. package/hooks/signMessage/useGetLastSignedMessageSession.js +1 -1
  610. package/hooks/signMessage/useGetSignMessageSession.js +1 -1
  611. package/hooks/signMessage/useGetSignedMessageStatus.js +1 -1
  612. package/hooks/signMessage/useSignMessage.js +1 -1
  613. package/hooks/toasts/index.js +1 -1
  614. package/hooks/toasts/useGetToasts.js +1 -1
  615. package/hooks/toasts/useTransactionsToasts.js +1 -1
  616. package/hooks/transactions/batch/tracker/useBatchTransactionsTracker.js +1 -1
  617. package/hooks/transactions/batch/tracker/useCheckBatch.js +1 -1
  618. package/hooks/transactions/batch/tracker/useCheckBatchesOnWsFailureFallback.js +1 -1
  619. package/hooks/transactions/batch/tracker/useCheckHangingBatchesFallback.js +1 -1
  620. package/hooks/transactions/batch/tracker/useUpdateBatch.js +1 -1
  621. package/hooks/transactions/batch/tracker/useVerifyBatchStatus.js +1 -1
  622. package/hooks/transactions/batch/useGetBatchStatus.js +1 -1
  623. package/hooks/transactions/batch/useGetBatches.js +1 -1
  624. package/hooks/transactions/batch/useResolveBatchStatusResponse.js +1 -1
  625. package/hooks/transactions/batch/useSendBatchTransactions.js +1 -1
  626. package/hooks/transactions/helpers/buildBatchId.js +1 -1
  627. package/hooks/transactions/helpers/checkNeedsGuardianSigning.js +1 -1
  628. package/hooks/transactions/helpers/extractSessionId.js +1 -1
  629. package/hooks/transactions/helpers/getShouldMoveTransactionsToSignedState.js +1 -1
  630. package/hooks/transactions/helpers/index.js +1 -1
  631. package/hooks/transactions/helpers/useClearTransactionsToSignWithWarning.js +1 -1
  632. package/hooks/transactions/helpers/useGetLedgerProvider.js +1 -1
  633. package/hooks/transactions/helpers/useSetTransactionNonces.js +1 -1
  634. package/hooks/transactions/index.js +1 -1
  635. package/hooks/transactions/useCancelWalletConnectAction.js +1 -1
  636. package/hooks/transactions/useCheckTransactionStatus/checkBatch.js +1 -1
  637. package/hooks/transactions/useCheckTransactionStatus/index.js +1 -1
  638. package/hooks/transactions/useCheckTransactionStatus/manageFailedTransactions.js +1 -1
  639. package/hooks/transactions/useCheckTransactionStatus/manageTimedOutTransactions.js +1 -1
  640. package/hooks/transactions/useCheckTransactionStatus/useCheckTransactionStatus.js +1 -1
  641. package/hooks/transactions/useGetActiveTransactionsStatus.js +1 -1
  642. package/hooks/transactions/useGetFailedTransactions.js +1 -1
  643. package/hooks/transactions/useGetLastPendingTransactionHash.js +1 -1
  644. package/hooks/transactions/useGetPendingTransactions.js +1 -1
  645. package/hooks/transactions/useGetSignTransactionsError.js +1 -1
  646. package/hooks/transactions/useGetSignedTransactions.js +1 -1
  647. package/hooks/transactions/useGetSuccessfulTransactions.js +1 -1
  648. package/hooks/transactions/useGetTokenDetails.js +1 -1
  649. package/hooks/transactions/useGetTransactionDisplayInfo.js +1 -1
  650. package/hooks/transactions/useParseMultiEsdtTransferData.js +1 -1
  651. package/hooks/transactions/useParseSignedTransactions.js +1 -1
  652. package/hooks/transactions/useSignMultipleTransactions.js +1 -1
  653. package/hooks/transactions/useSignTransactions.js +1 -1
  654. package/hooks/transactions/useSignTransactionsCommonData.js +1 -1
  655. package/hooks/transactions/useSignTransactionsWithDevice.js +1 -1
  656. package/hooks/transactions/useSignTransactionsWithLedger.js +1 -1
  657. package/hooks/transactions/useTrackTransactionStatus.js +1 -1
  658. package/hooks/useGetNetworkConfig.js +1 -1
  659. package/hooks/useGetNotification.js +1 -1
  660. package/hooks/userInterface/index.js +1 -1
  661. package/hooks/userInterface/useIsDappModalVisible.js +1 -1
  662. package/hooks/websocketListener/index.js +1 -1
  663. package/hooks/websocketListener/useInitializeWebsocketConnection.js +1 -1
  664. package/hooks/websocketListener/useRegisterWebsocketListener.js +1 -1
  665. package/models/index.js +1 -1
  666. package/models/newTransaction.js +1 -1
  667. package/package.json +1 -1
  668. package/providers/accountProvider.js +1 -1
  669. package/providers/index.js +1 -1
  670. package/providers/utils.js +1 -1
  671. package/providers/webviewProvider/index.js +1 -1
  672. package/providers/webviewProvider/requestMethods.js +1 -1
  673. package/providers/webviewProvider/webviewProvider.js +1 -1
  674. package/reduxStore/DappProviderContext.js +1 -1
  675. package/reduxStore/commonActions.js +1 -1
  676. package/reduxStore/middlewares/loginSessionMiddleware.js +1 -1
  677. package/reduxStore/persistConfig.js +1 -1
  678. package/reduxStore/persistedRootReducer.js +1 -1
  679. package/reduxStore/reducers.js +1 -1
  680. package/reduxStore/rootReducer.js +1 -1
  681. package/reduxStore/selectors/accountInfoSelectors.js +1 -1
  682. package/reduxStore/selectors/batchTransactionsSelectors.js +1 -1
  683. package/reduxStore/selectors/dappConfigSelector.js +1 -1
  684. package/reduxStore/selectors/dappModalsSelectors.js +1 -1
  685. package/reduxStore/selectors/helpers.js +1 -1
  686. package/reduxStore/selectors/index.js +1 -1
  687. package/reduxStore/selectors/loginInfoSelectors.js +1 -1
  688. package/reduxStore/selectors/modalsSelectors.js +1 -1
  689. package/reduxStore/selectors/networkConfigSelectors.js +1 -1
  690. package/reduxStore/selectors/signedMessageInfoSelectors.js +1 -1
  691. package/reduxStore/selectors/toastsSelectors.js +1 -1
  692. package/reduxStore/selectors/transactionsInfoSelectors.js +1 -1
  693. package/reduxStore/selectors/transactionsSelectors.js +1 -1
  694. package/reduxStore/slices/accountInfoSlice.js +1 -1
  695. package/reduxStore/slices/batchTransactionsSlice.js +1 -1
  696. package/reduxStore/slices/dappConfigSlice.js +1 -1
  697. package/reduxStore/slices/dappModalsSlice.js +1 -1
  698. package/reduxStore/slices/index.js +1 -1
  699. package/reduxStore/slices/loginInfoSlice.js +1 -1
  700. package/reduxStore/slices/modalsSlice.js +1 -1
  701. package/reduxStore/slices/signedMessageInfoSlice.js +1 -1
  702. package/reduxStore/slices/toastsSlice.js +1 -1
  703. package/reduxStore/slices/transactionsInfoSlice.js +1 -1
  704. package/reduxStore/slices/transactionsSlice.js +1 -1
  705. package/reduxStore/store.js +1 -1
  706. package/services/index.js +1 -1
  707. package/services/nativeAuth/helpers/getAuthorizationInfo.js +1 -1
  708. package/services/nativeAuth/helpers/getIsNativeAuthSingingForbidden.js +1 -1
  709. package/services/nativeAuth/helpers/index.js +1 -1
  710. package/services/nativeAuth/helpers/loginWithNativeAuthToken.js +1 -1
  711. package/services/transactions/clearTransactions.js +1 -1
  712. package/services/transactions/getBatchTransactionsStatus.js +1 -1
  713. package/services/transactions/getTransactionsDetails.js +1 -1
  714. package/services/transactions/index.js +1 -1
  715. package/services/transactions/isCrossShardTransaction.js +1 -1
  716. package/services/transactions/sendBatchTransactions.js +1 -1
  717. package/services/transactions/sendTransactions.js +1 -1
  718. package/services/transactions/signTransactions.js +1 -1
  719. package/services/transactions/transformAndSignTransactions.js +1 -1
  720. package/services/transactions/updateSignedTransactions.js +1 -1
  721. package/services/transactions/utils.js +1 -1
  722. package/types/dappConfig.types.d.ts +1 -0
  723. package/types/dappConfig.types.js +1 -1
  724. package/types/index.js +1 -1
  725. package/utils/account/getAccount.js +1 -1
  726. package/utils/account/getAccountBalance.js +1 -1
  727. package/utils/account/getAccountProviderType.js +1 -1
  728. package/utils/account/getAccountShard.js +1 -1
  729. package/utils/account/getAddress.js +1 -1
  730. package/utils/account/getIsProviderEqualTo.js +1 -1
  731. package/utils/account/getLatestNonce.js +1 -1
  732. package/utils/account/getShardOfAddress.js +1 -1
  733. package/utils/account/index.js +1 -1
  734. package/utils/account/loginWithExternalProvider.js +1 -1
  735. package/utils/account/refreshAccount.js +1 -1
  736. package/utils/account/setNonce.js +1 -1
  737. package/utils/account/signMessage.js +1 -1
  738. package/utils/getIsLoggedIn.js +1 -1
  739. package/utils/index.js +1 -1
  740. package/utils/logout.js +1 -1
  741. package/utils/network/getChainID.js +1 -1
  742. package/utils/network/getEgldLabel.js +1 -1
  743. package/utils/network/getNetworkConfig.js +1 -1
  744. package/utils/network/index.js +1 -1
  745. package/utils/operations/calculateFeeInFiat.js +1 -1
  746. package/utils/operations/calculateFeeLimit.js +1 -1
  747. package/utils/operations/denominate.js +1 -1
  748. package/utils/operations/formatAmount.js +1 -1
  749. package/utils/operations/index.js +1 -1
  750. package/utils/operations/ledger/getLedgerVersionOptions.js +1 -1
  751. package/utils/operations/ledger/index.js +1 -1
  752. package/utils/operations/nominate.js +1 -1
  753. package/utils/operations/parseAmount.js +1 -1
  754. package/utils/smartContracts.js +1 -1
  755. package/utils/toasts/customToastsActions.js +1 -1
  756. package/utils/toasts/index.js +1 -1
  757. package/utils/transactions/batch/getTransactionsStatus.js +1 -1
  758. package/utils/transactions/batch/updateBatchTransactionsStatuses.js +1 -1
  759. package/utils/transactions/getAllTransactionsLink.js +1 -1
  760. package/utils/transactions/getAreTransactionsOnSameShard.js +1 -1
  761. package/utils/transactions/getInterpretedTransaction/getInterpretedTransaction.js +1 -1
  762. package/utils/transactions/getInterpretedTransaction/helpers/getReceiptMessage.js +1 -1
  763. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/getTransactionValue.js +1 -1
  764. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getEgldValueData.js +1 -1
  765. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getTitleText.js +1 -1
  766. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getValueFromActions.js +1 -1
  767. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getValueFromDataField.js +1 -1
  768. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getValueFromOperations.js +1 -1
  769. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/index.js +1 -1
  770. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/index.js +1 -1
  771. package/utils/transactions/getInterpretedTransaction/helpers/index.js +1 -1
  772. package/utils/transactions/getInterpretedTransaction/index.js +1 -1
  773. package/utils/transactions/getTransactionLink.js +1 -1
  774. package/utils/transactions/index.js +1 -1
  775. package/utils/transactions/parseMultiEsdtTransferData.js +1 -1
  776. package/utils/transactions/parseTransactionAfterSigning.js +1 -1
  777. package/utils/transactions/removeTransactionParamsFromUrl.js +1 -1
  778. package/utils/transactions/transactionInfoHelpers/decodeForDisplay/decodeForDisplay.js +1 -1
  779. package/utils/transactions/transactionInfoHelpers/decodeForDisplay/helpers/getDisplayValueAndValidationWarnings.js +1 -1
  780. package/utils/transactions/transactionInfoHelpers/decodeForDisplay/helpers/getSmartDecodedParts.js +1 -1
  781. package/utils/transactions/transactionInfoHelpers/decodeForDisplay/helpers/index.js +1 -1
  782. package/utils/transactions/transactionInfoHelpers/decodeForDisplay/index.js +1 -1
  783. package/utils/transactions/transactionInfoHelpers/getScResultsInitialDecodeMethod.js +1 -1
  784. package/utils/transactions/transactionInfoHelpers/getShardText.js +1 -1
  785. package/utils/transactions/transactionInfoHelpers/getTransactionActionNftText.js +1 -1
  786. package/utils/transactions/transactionInfoHelpers/getTransactionActionTokenText.js +1 -1
  787. package/utils/transactions/transactionInfoHelpers/getTransactionLinkWithLabel.js +1 -1
  788. package/utils/transactions/transactionInfoHelpers/getTransactionMessages.js +1 -1
  789. package/utils/transactions/transactionInfoHelpers/index.js +1 -1
  790. package/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/helpers/index.js +1 -1
  791. package/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/helpers/mexUnwrapper.js +1 -1
  792. package/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/index.js +1 -1
  793. package/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/transactionActionUnwrapper.js +1 -1
  794. package/utils/transactions/transactionInfoHelpers/useDataDecode.js +1 -1
  795. package/utils/transactions/transactionInfoHelpers/useDataDecodeMethod.js +1 -1
  796. package/utils/validation/index.js +1 -1
  797. package/utils/validation/maxDecimals.js +1 -1
  798. package/utils/validation/stringIsFloat.js +1 -1
  799. package/utils/walletconnect/__mocks__/sdkWalletconnectProvider.js +1 -1
  800. package/web/hooks/index.js +1 -1
  801. package/web/hooks/useIdleTimer.js +1 -1
  802. package/web/index.js +1 -1
  803. package/wrappers/AppInitializer.js +1 -1
  804. package/wrappers/AuthenticatedRoutesWrapper/AuthenticatedRoutesWrapper.js +1 -1
  805. package/wrappers/AuthenticatedRoutesWrapper/index.js +1 -1
  806. package/wrappers/AxiosInterceptorContext/AxiosInterceptorContext.js +1 -1
  807. package/wrappers/AxiosInterceptorContext/components/AxiosInterceptor.js +1 -1
  808. package/wrappers/AxiosInterceptorContext/components/AxiosInterceptorContextProvider.js +1 -1
  809. package/wrappers/AxiosInterceptorContext/components/LoginInfoListener.js +1 -1
  810. package/wrappers/AxiosInterceptorContext/components/index.js +1 -1
  811. package/wrappers/AxiosInterceptorContext/index.js +1 -1
  812. package/wrappers/DappProvider/CustomComponents.js +1 -1
  813. package/wrappers/DappProvider/DappProvider.js +1 -1
  814. package/wrappers/DappProvider/index.js +1 -1
  815. package/wrappers/index.js +1 -1
  816. package/__chunks__/chunk-2DQJBDAW.js +0 -2
  817. package/__chunks__/chunk-2NSHJQTZ.js +0 -2
  818. package/__chunks__/chunk-4NJHDBL3.js +0 -2
  819. package/__chunks__/chunk-55EJE6MP.js +0 -2
  820. package/__chunks__/chunk-5FA3RVR7.js +0 -2
  821. package/__chunks__/chunk-5UTSSQVN.js +0 -2
  822. package/__chunks__/chunk-7JY4EBPF.js +0 -2
  823. package/__chunks__/chunk-AWXH63EL.js +0 -2
  824. package/__chunks__/chunk-BNOI3PSC.js +0 -2
  825. package/__chunks__/chunk-C6HC2ITS.js +0 -2
  826. package/__chunks__/chunk-CEO4RJYT.js +0 -2
  827. package/__chunks__/chunk-DO2HQI5M.js +0 -2
  828. package/__chunks__/chunk-DR7U5NQ7.js +0 -2
  829. package/__chunks__/chunk-DRX7LPIF.js +0 -2
  830. package/__chunks__/chunk-DZXH6SZ6.js +0 -2
  831. package/__chunks__/chunk-E6XSOVFE.js +0 -2
  832. package/__chunks__/chunk-G4UBGIJ7.js +0 -2
  833. package/__chunks__/chunk-HDXPC46E.js +0 -2
  834. package/__chunks__/chunk-HNDAL7HA.js +0 -2
  835. package/__chunks__/chunk-HYTWS4WG.js +0 -2
  836. package/__chunks__/chunk-IADORGGA.js +0 -2
  837. package/__chunks__/chunk-J52BS6J5.js +0 -2
  838. package/__chunks__/chunk-JB736WQK.js +0 -2
  839. package/__chunks__/chunk-LD4IMPIY.js +0 -2
  840. package/__chunks__/chunk-LKP35YDN.js +0 -2
  841. package/__chunks__/chunk-MNMU26BH.js +0 -2
  842. package/__chunks__/chunk-MZMHKT5W.js +0 -2
  843. package/__chunks__/chunk-NGM2CEGJ.js +0 -2
  844. package/__chunks__/chunk-O7TEK3JK.js +0 -2
  845. package/__chunks__/chunk-OCYQWWZW.js +0 -2
  846. package/__chunks__/chunk-OGSYML5G.js +0 -2
  847. package/__chunks__/chunk-OQGHGUZ6.js +0 -2
  848. package/__chunks__/chunk-PPCDW32R.js +0 -2
  849. package/__chunks__/chunk-RKGAG2EU.js +0 -2
  850. package/__chunks__/chunk-SSVL454L.js +0 -2
  851. package/__chunks__/chunk-SUQAX3Q3.js +0 -2
  852. package/__chunks__/chunk-TDM3TZAK.js +0 -2
  853. package/__chunks__/chunk-TFT6FFLE.js +0 -2
  854. package/__chunks__/chunk-TV34S56T.js +0 -2
  855. package/__chunks__/chunk-UOSKX6Z6.js +0 -2
  856. package/__chunks__/chunk-URYW3UTX.js +0 -2
  857. package/__chunks__/chunk-UVPSWMPZ.js +0 -2
  858. package/__chunks__/chunk-UZVMOARE.js +0 -2
  859. package/__chunks__/chunk-VX57Y4SJ.js +0 -2
  860. package/__chunks__/chunk-WUV5W7IW.js +0 -2
  861. package/__chunks__/chunk-YGJGKIK7.js +0 -2
  862. package/__chunks__/chunk-YX66ZJIO.js +0 -2
  863. package/__chunks__/chunk-YYBUQZNH.js +0 -2
  864. package/__chunks__/chunk-Z2BBWGY5.js +0 -2
  865. package/__chunks__/chunk-ZMGCVM3F.js +0 -2
@@ -1,4 +1,4 @@
1
- "use strict";var Oe=Object.create;var M=Object.defineProperty;var Me=Object.getOwnPropertyDescriptor;var Pe=Object.getOwnPropertyNames;var Ge=Object.getPrototypeOf,He=Object.prototype.hasOwnProperty;var Ve=(t,e)=>()=>(t&&(e=t(t=0)),e);var P=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),qe=(t,e)=>{for(var r in e)M(t,r,{get:e[r],enumerable:!0})},ae=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Pe(e))!He.call(t,i)&&i!==r&&M(t,i,{get:()=>e[i],enumerable:!(n=Me(e,i))||n.enumerable});return t};var oe=(t,e,r)=>(r=t!=null?Oe(Ge(t)):{},ae(e||!t||!t.__esModule?M(r,"default",{value:t,enumerable:!0}):r,t)),ze=t=>ae(M({},"__esModule",{value:!0}),t);var ce=P(G=>{"use strict";l();G.byteLength=je;G.toByteArray=Ye;G.fromByteArray=Je;var _=[],b=[],We=typeof Uint8Array!="undefined"?Uint8Array:Array,z="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(L=0,se=z.length;L<se;++L)_[L]=z[L],b[z.charCodeAt(L)]=L;var L,se;b["-".charCodeAt(0)]=62;b["_".charCodeAt(0)]=63;function le(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 je(t){var e=le(t),r=e[0],n=e[1];return(r+n)*3/4-n}function Xe(t,e,r){return(e+r)*3/4-r}function Ye(t){var e,r=le(t),n=r[0],i=r[1],a=new We(Xe(t,n,i)),o=0,c=i>0?n-4:n,u;for(u=0;u<c;u+=4)e=b[t.charCodeAt(u)]<<18|b[t.charCodeAt(u+1)]<<12|b[t.charCodeAt(u+2)]<<6|b[t.charCodeAt(u+3)],a[o++]=e>>16&255,a[o++]=e>>8&255,a[o++]=e&255;return i===2&&(e=b[t.charCodeAt(u)]<<2|b[t.charCodeAt(u+1)]>>4,a[o++]=e&255),i===1&&(e=b[t.charCodeAt(u)]<<10|b[t.charCodeAt(u+1)]<<4|b[t.charCodeAt(u+2)]>>2,a[o++]=e>>8&255,a[o++]=e&255),a}function Ke(t){return _[t>>18&63]+_[t>>12&63]+_[t>>6&63]+_[t&63]}function Qe(t,e,r){for(var n,i=[],a=e;a<r;a+=3)n=(t[a]<<16&16711680)+(t[a+1]<<8&65280)+(t[a+2]&255),i.push(Ke(n));return i.join("")}function Je(t){for(var e,r=t.length,n=r%3,i=[],a=16383,o=0,c=r-n;o<c;o+=a)i.push(Qe(t,o,o+a>c?c:o+a));return n===1?(e=t[r-1],i.push(_[e>>2]+_[e<<4&63]+"==")):n===2&&(e=(t[r-2]<<8)+t[r-1],i.push(_[e>>10]+_[e>>4&63]+_[e<<2&63]+"=")),i.join("")}});var ue=P(W=>{l();W.read=function(t,e,r,n,i){var a,o,c=i*8-n-1,u=(1<<c)-1,g=u>>1,f=-7,p=r?i-1:0,v=r?-1:1,T=t[e+p];for(p+=v,a=T&(1<<-f)-1,T>>=-f,f+=c;f>0;a=a*256+t[e+p],p+=v,f-=8);for(o=a&(1<<-f)-1,a>>=-f,f+=n;f>0;o=o*256+t[e+p],p+=v,f-=8);if(a===0)a=1-g;else{if(a===u)return o?NaN:(T?-1:1)*(1/0);o=o+Math.pow(2,n),a=a-g}return(T?-1:1)*o*Math.pow(2,a-n)};W.write=function(t,e,r,n,i,a){var o,c,u,g=a*8-i-1,f=(1<<g)-1,p=f>>1,v=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,T=n?0:a-1,D=n?1:-1,Ue=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(c=isNaN(e)?1:0,o=f):(o=Math.floor(Math.log(e)/Math.LN2),e*(u=Math.pow(2,-o))<1&&(o--,u*=2),o+p>=1?e+=v/u:e+=v*Math.pow(2,1-p),e*u>=2&&(o++,u/=2),o+p>=f?(c=0,o=f):o+p>=1?(c=(e*u-1)*Math.pow(2,i),o=o+p):(c=e*Math.pow(2,p-1)*Math.pow(2,i),o=0));i>=8;t[r+T]=c&255,T+=D,c/=256,i-=8);for(o=o<<i|c,g+=i;g>0;t[r+T]=o&255,T+=D,o/=256,g-=8);t[r+T-D]|=Ue*128}});var _e=P(U=>{"use strict";l();var j=ce(),B=ue(),pe=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;U.Buffer=s;U.SlowBuffer=nr;U.INSPECT_MAX_BYTES=50;var H=2147483647;U.kMaxLength=H;s.TYPED_ARRAY_SUPPORT=Ze();!s.TYPED_ARRAY_SUPPORT&&typeof console!="undefined"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function Ze(){try{var t=new Uint8Array(1),e={foo:function(){return 42}};return Object.setPrototypeOf(e,Uint8Array.prototype),Object.setPrototypeOf(t,e),t.foo()===42}catch(r){return!1}}Object.defineProperty(s.prototype,"parent",{enumerable:!0,get:function(){if(!!s.isBuffer(this))return this.buffer}});Object.defineProperty(s.prototype,"offset",{enumerable:!0,get:function(){if(!!s.isBuffer(this))return this.byteOffset}});function S(t){if(t>H)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 Q(t)}return fe(t,e,r)}s.poolSize=8192;function fe(t,e,r){if(typeof t=="string")return er(t,e);if(ArrayBuffer.isView(t))return rr(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 Y(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=tr(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 fe(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 $e(t,e,r){return me(t),t<=0?S(t):e!==void 0?typeof r=="string"?S(t).fill(e,r):S(t).fill(e):S(t)}s.alloc=function(t,e,r){return $e(t,e,r)};function Q(t){return me(t),S(t<0?0:J(t)|0)}s.allocUnsafe=function(t){return Q(t)};s.allocUnsafeSlow=function(t){return Q(t)};function er(t,e){if((typeof e!="string"||e==="")&&(e="utf8"),!s.isEncoding(e))throw new TypeError("Unknown encoding: "+e);var r=he(t,e)|0,n=S(r),i=n.write(t,e);return i!==r&&(n=n.slice(0,i)),n}function X(t){for(var e=t.length<0?0:J(t.length)|0,r=S(e),n=0;n<e;n+=1)r[n]=t[n]&255;return r}function rr(t){if(k(t,Uint8Array)){var e=new Uint8Array(t);return Y(e.buffer,e.byteOffset,e.byteLength)}return X(t)}function Y(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 tr(t){if(s.isBuffer(t)){var e=J(t.length)|0,r=S(e);return r.length===0||t.copy(r,0,0,e),r}if(t.length!==void 0)return typeof t.length!="number"||Z(t.length)?S(0):X(t);if(t.type==="Buffer"&&Array.isArray(t.data))return X(t.data)}function J(t){if(t>=H)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+H.toString(16)+" bytes");return t|0}function nr(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,a=0,o=Math.min(n,i);a<o;++a)if(e[a]!==r[a]){n=e[a],i=r[a];break}return n<i?-1:i<n?1:0};s.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};s.concat=function(e,r){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(e.length===0)return s.alloc(0);var n;if(r===void 0)for(r=0,n=0;n<e.length;++n)r+=e[n].length;var i=s.allocUnsafe(r),a=0;for(n=0;n<e.length;++n){var o=e[n];if(k(o,Uint8Array))a+o.length>i.length?s.from(o).copy(i,a):Uint8Array.prototype.set.call(i,o,a);else if(s.isBuffer(o))o.copy(i,a);else throw new TypeError('"list" argument must be an Array of Buffers');a+=o.length}return i};function he(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 K(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return ve(t).length;default:if(i)return n?-1:K(t).length;e=(""+e).toLowerCase(),i=!0}}s.byteLength=he;function ir(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 fr(this,e,r);case"utf8":case"utf-8":return xe(this,e,r);case"ascii":return dr(this,e,r);case"latin1":case"binary":return gr(this,e,r);case"base64":return ur(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return mr(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}s.prototype._isBuffer=!0;function C(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}s.prototype.swap16=function(){var e=this.length;if(e%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var r=0;r<e;r+=2)C(this,r,r+1);return this};s.prototype.swap32=function(){var e=this.length;if(e%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var r=0;r<e;r+=4)C(this,r,r+3),C(this,r+1,r+2);return this};s.prototype.swap64=function(){var e=this.length;if(e%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var r=0;r<e;r+=8)C(this,r,r+7),C(this,r+1,r+6),C(this,r+2,r+5),C(this,r+3,r+4);return this};s.prototype.toString=function(){var e=this.length;return e===0?"":arguments.length===0?xe(this,0,e):ir.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=U.INSPECT_MAX_BYTES;return e=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(e+=" ... "),"<Buffer "+e+">"};pe&&(s.prototype[pe]=s.prototype.inspect);s.prototype.compare=function(e,r,n,i,a){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),a===void 0&&(a=this.length),r<0||n>e.length||i<0||a>this.length)throw new RangeError("out of range index");if(i>=a&&r>=n)return 0;if(i>=a)return-1;if(r>=n)return 1;if(r>>>=0,n>>>=0,i>>>=0,a>>>=0,this===e)return 0;for(var o=a-i,c=n-r,u=Math.min(o,c),g=this.slice(i,a),f=e.slice(r,n),p=0;p<u;++p)if(g[p]!==f[p]){o=g[p],c=f[p];break}return o<c?-1:c<o?1:0};function ye(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,Z(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:de(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):de(t,[e],r,n,i);throw new TypeError("val must be string, number or Buffer")}function de(t,e,r,n,i){var a=1,o=t.length,c=e.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(t.length<2||e.length<2)return-1;a=2,o/=2,c/=2,r/=2}function u(T,D){return a===1?T[D]:T.readUInt16BE(D*a)}var g;if(i){var f=-1;for(g=r;g<o;g++)if(u(t,g)===u(e,f===-1?0:g-f)){if(f===-1&&(f=g),g-f+1===c)return f*a}else f!==-1&&(g-=g-f),f=-1}else for(r+c>o&&(r=o-c),g=r;g>=0;g--){for(var p=!0,v=0;v<c;v++)if(u(t,g+v)!==u(e,v)){p=!1;break}if(p)return g}return-1}s.prototype.includes=function(e,r,n){return this.indexOf(e,r,n)!==-1};s.prototype.indexOf=function(e,r,n){return ye(this,e,r,n,!0)};s.prototype.lastIndexOf=function(e,r,n){return ye(this,e,r,n,!1)};function ar(t,e,r,n){r=Number(r)||0;var i=t.length-r;n?(n=Number(n),n>i&&(n=i)):n=i;var a=e.length;n>a/2&&(n=a/2);for(var o=0;o<n;++o){var c=parseInt(e.substr(o*2,2),16);if(Z(c))return o;t[r+o]=c}return o}function or(t,e,r,n){return V(K(e,t.length-r),t,r,n)}function sr(t,e,r,n){return V(xr(e),t,r,n)}function lr(t,e,r,n){return V(ve(e),t,r,n)}function cr(t,e,r,n){return V(wr(e,t.length-r),t,r,n)}s.prototype.write=function(e,r,n,i){if(r===void 0)i="utf8",n=this.length,r=0;else if(n===void 0&&typeof r=="string")i=r,n=this.length,r=0;else if(isFinite(r))r=r>>>0,isFinite(n)?(n=n>>>0,i===void 0&&(i="utf8")):(i=n,n=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var a=this.length-r;if((n===void 0||n>a)&&(n=a),e.length>0&&(n<0||r<0)||r>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var o=!1;;)switch(i){case"hex":return ar(this,e,r,n);case"utf8":case"utf-8":return or(this,e,r,n);case"ascii":case"latin1":case"binary":return sr(this,e,r,n);case"base64":return lr(this,e,r,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return cr(this,e,r,n);default:if(o)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),o=!0}};s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function ur(t,e,r){return e===0&&r===t.length?j.fromByteArray(t):j.fromByteArray(t.slice(e,r))}function xe(t,e,r){r=Math.min(t.length,r);for(var n=[],i=e;i<r;){var a=t[i],o=null,c=a>239?4:a>223?3:a>191?2:1;if(i+c<=r){var u,g,f,p;switch(c){case 1:a<128&&(o=a);break;case 2:u=t[i+1],(u&192)===128&&(p=(a&31)<<6|u&63,p>127&&(o=p));break;case 3:u=t[i+1],g=t[i+2],(u&192)===128&&(g&192)===128&&(p=(a&15)<<12|(u&63)<<6|g&63,p>2047&&(p<55296||p>57343)&&(o=p));break;case 4:u=t[i+1],g=t[i+2],f=t[i+3],(u&192)===128&&(g&192)===128&&(f&192)===128&&(p=(a&15)<<18|(u&63)<<12|(g&63)<<6|f&63,p>65535&&p<1114112&&(o=p))}}o===null?(o=65533,c=1):o>65535&&(o-=65536,n.push(o>>>10&1023|55296),o=56320|o&1023),n.push(o),i+=c}return pr(n)}var ge=4096;function pr(t){var e=t.length;if(e<=ge)return String.fromCharCode.apply(String,t);for(var r="",n=0;n<e;)r+=String.fromCharCode.apply(String,t.slice(n,n+=ge));return r}function dr(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;i<r;++i)n+=String.fromCharCode(t[i]&127);return n}function gr(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 fr(t,e,r){var n=t.length;(!e||e<0)&&(e=0),(!r||r<0||r>n)&&(r=n);for(var i="",a=e;a<r;++a)i+=Tr[t[a]];return i}function mr(t,e,r){for(var n=t.slice(e,r),i="",a=0;a<n.length-1;a+=2)i+=String.fromCharCode(n[a]+n[a+1]*256);return i}s.prototype.slice=function(e,r){var n=this.length;e=~~e,r=r===void 0?n:~~r,e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),r<0?(r+=n,r<0&&(r=0)):r>n&&(r=n),r<e&&(r=e);var i=this.subarray(e,r);return Object.setPrototypeOf(i,s.prototype),i};function x(t,e,r){if(t%1!==0||t<0)throw new RangeError("offset is not uint");if(t+e>r)throw new RangeError("Trying to access beyond buffer length")}s.prototype.readUintLE=s.prototype.readUIntLE=function(e,r,n){e=e>>>0,r=r>>>0,n||x(e,r,this.length);for(var i=this[e],a=1,o=0;++o<r&&(a*=256);)i+=this[e+o]*a;return i};s.prototype.readUintBE=s.prototype.readUIntBE=function(e,r,n){e=e>>>0,r=r>>>0,n||x(e,r,this.length);for(var i=this[e+--r],a=1;r>0&&(a*=256);)i+=this[e+--r]*a;return i};s.prototype.readUint8=s.prototype.readUInt8=function(e,r){return e=e>>>0,r||x(e,1,this.length),this[e]};s.prototype.readUint16LE=s.prototype.readUInt16LE=function(e,r){return e=e>>>0,r||x(e,2,this.length),this[e]|this[e+1]<<8};s.prototype.readUint16BE=s.prototype.readUInt16BE=function(e,r){return e=e>>>0,r||x(e,2,this.length),this[e]<<8|this[e+1]};s.prototype.readUint32LE=s.prototype.readUInt32LE=function(e,r){return e=e>>>0,r||x(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+this[e+3]*16777216};s.prototype.readUint32BE=s.prototype.readUInt32BE=function(e,r){return e=e>>>0,r||x(e,4,this.length),this[e]*16777216+(this[e+1]<<16|this[e+2]<<8|this[e+3])};s.prototype.readIntLE=function(e,r,n){e=e>>>0,r=r>>>0,n||x(e,r,this.length);for(var i=this[e],a=1,o=0;++o<r&&(a*=256);)i+=this[e+o]*a;return a*=128,i>=a&&(i-=Math.pow(2,8*r)),i};s.prototype.readIntBE=function(e,r,n){e=e>>>0,r=r>>>0,n||x(e,r,this.length);for(var i=r,a=1,o=this[e+--i];i>0&&(a*=256);)o+=this[e+--i]*a;return a*=128,o>=a&&(o-=Math.pow(2,8*r)),o};s.prototype.readInt8=function(e,r){return e=e>>>0,r||x(e,1,this.length),this[e]&128?(255-this[e]+1)*-1:this[e]};s.prototype.readInt16LE=function(e,r){e=e>>>0,r||x(e,2,this.length);var n=this[e]|this[e+1]<<8;return n&32768?n|4294901760:n};s.prototype.readInt16BE=function(e,r){e=e>>>0,r||x(e,2,this.length);var n=this[e+1]|this[e]<<8;return n&32768?n|4294901760:n};s.prototype.readInt32LE=function(e,r){return e=e>>>0,r||x(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24};s.prototype.readInt32BE=function(e,r){return e=e>>>0,r||x(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]};s.prototype.readFloatLE=function(e,r){return e=e>>>0,r||x(e,4,this.length),B.read(this,e,!0,23,4)};s.prototype.readFloatBE=function(e,r){return e=e>>>0,r||x(e,4,this.length),B.read(this,e,!1,23,4)};s.prototype.readDoubleLE=function(e,r){return e=e>>>0,r||x(e,8,this.length),B.read(this,e,!0,52,8)};s.prototype.readDoubleBE=function(e,r){return e=e>>>0,r||x(e,8,this.length),B.read(this,e,!1,52,8)};function w(t,e,r,n,i,a){if(!s.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||e<a)throw new RangeError('"value" argument is out of bounds');if(r+n>t.length)throw new RangeError("Index out of range")}s.prototype.writeUintLE=s.prototype.writeUIntLE=function(e,r,n,i){if(e=+e,r=r>>>0,n=n>>>0,!i){var a=Math.pow(2,8*n)-1;w(this,e,r,n,a,0)}var o=1,c=0;for(this[r]=e&255;++c<n&&(o*=256);)this[r+c]=e/o&255;return r+n};s.prototype.writeUintBE=s.prototype.writeUIntBE=function(e,r,n,i){if(e=+e,r=r>>>0,n=n>>>0,!i){var a=Math.pow(2,8*n)-1;w(this,e,r,n,a,0)}var o=n-1,c=1;for(this[r+o]=e&255;--o>=0&&(c*=256);)this[r+o]=e/c&255;return r+n};s.prototype.writeUint8=s.prototype.writeUInt8=function(e,r,n){return e=+e,r=r>>>0,n||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 a=Math.pow(2,8*n-1);w(this,e,r,n,a-1,-a)}var o=0,c=1,u=0;for(this[r]=e&255;++o<n&&(c*=256);)e<0&&u===0&&this[r+o-1]!==0&&(u=1),this[r+o]=(e/c>>0)-u&255;return r+n};s.prototype.writeIntBE=function(e,r,n,i){if(e=+e,r=r>>>0,!i){var a=Math.pow(2,8*n-1);w(this,e,r,n,a-1,-a)}var o=n-1,c=1,u=0;for(this[r+o]=e&255;--o>=0&&(c*=256);)e<0&&u===0&&this[r+o+1]!==0&&(u=1),this[r+o]=(e/c>>0)-u&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 we(t,e,r,n,i,a){if(r+n>t.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function Te(t,e,r,n,i){return e=+e,r=r>>>0,i||we(t,e,r,4,34028234663852886e22,-34028234663852886e22),B.write(t,e,r,n,23,4),r+4}s.prototype.writeFloatLE=function(e,r,n){return Te(this,e,r,!0,n)};s.prototype.writeFloatBE=function(e,r,n){return Te(this,e,r,!1,n)};function be(t,e,r,n,i){return e=+e,r=r>>>0,i||we(t,e,r,8,17976931348623157e292,-17976931348623157e292),B.write(t,e,r,n,52,8),r+8}s.prototype.writeDoubleLE=function(e,r,n){return be(this,e,r,!0,n)};s.prototype.writeDoubleBE=function(e,r,n){return be(this,e,r,!1,n)};s.prototype.copy=function(e,r,n,i){if(!s.isBuffer(e))throw new TypeError("argument should be a Buffer");if(n||(n=0),!i&&i!==0&&(i=this.length),r>=e.length&&(r=e.length),r||(r=0),i>0&&i<n&&(i=n),i===n||e.length===0||this.length===0)return 0;if(r<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),e.length-r<i-n&&(i=e.length-r+n);var a=i-n;return this===e&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(r,n,i):Uint8Array.prototype.set.call(e,this.subarray(n,i),r),a};s.prototype.fill=function(e,r,n,i){if(typeof e=="string"){if(typeof r=="string"?(i=r,r=0,n=this.length):typeof n=="string"&&(i=n,n=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!s.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(e.length===1){var a=e.charCodeAt(0);(i==="utf8"&&a<128||i==="latin1")&&(e=a)}}else typeof e=="number"?e=e&255:typeof e=="boolean"&&(e=Number(e));if(r<0||this.length<r||this.length<n)throw new RangeError("Out of range index");if(n<=r)return this;r=r>>>0,n=n===void 0?this.length:n>>>0,e||(e=0);var o;if(typeof e=="number")for(o=r;o<n;++o)this[o]=e;else{var c=s.isBuffer(e)?e:s.from(e,i),u=c.length;if(u===0)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(o=0;o<n-r;++o)this[o+r]=c[o%u]}return this};var hr=/[^+/0-9A-Za-z-_]/g;function yr(t){if(t=t.split("=")[0],t=t.trim().replace(hr,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function K(t,e){e=e||1/0;for(var r,n=t.length,i=null,a=[],o=0;o<n;++o){if(r=t.charCodeAt(o),r>55295&&r<57344){if(!i){if(r>56319){(e-=3)>-1&&a.push(239,191,189);continue}else if(o+1===n){(e-=3)>-1&&a.push(239,191,189);continue}i=r;continue}if(r<56320){(e-=3)>-1&&a.push(239,191,189),i=r;continue}r=(i-55296<<10|r-56320)+65536}else i&&(e-=3)>-1&&a.push(239,191,189);if(i=null,r<128){if((e-=1)<0)break;a.push(r)}else if(r<2048){if((e-=2)<0)break;a.push(r>>6|192,r&63|128)}else if(r<65536){if((e-=3)<0)break;a.push(r>>12|224,r>>6&63|128,r&63|128)}else if(r<1114112){if((e-=4)<0)break;a.push(r>>18|240,r>>12&63|128,r>>6&63|128,r&63|128)}else throw new Error("Invalid code point")}return a}function xr(t){for(var e=[],r=0;r<t.length;++r)e.push(t.charCodeAt(r)&255);return e}function wr(t,e){for(var r,n,i,a=[],o=0;o<t.length&&!((e-=2)<0);++o)r=t.charCodeAt(o),n=r>>8,i=r%256,a.push(i),a.push(n);return a}function ve(t){return j.toByteArray(yr(t))}function V(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 Z(t){return t!==t}var Tr=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 Se=P((Cr,Ae)=>{l();var y=Ae.exports={},I,E;function $(){throw new Error("setTimeout has not been defined")}function ee(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?I=setTimeout:I=$}catch(t){I=$}try{typeof clearTimeout=="function"?E=clearTimeout:E=ee}catch(t){E=ee}})();function ke(t){if(I===setTimeout)return setTimeout(t,0);if((I===$||!I)&&setTimeout)return I=setTimeout,setTimeout(t,0);try{return I(t,0)}catch(e){try{return I.call(null,t,0)}catch(r){return I.call(this,t,0)}}}function br(t){if(E===clearTimeout)return clearTimeout(t);if((E===ee||!E)&&clearTimeout)return E=clearTimeout,clearTimeout(t);try{return E(t)}catch(e){try{return E.call(null,t)}catch(r){return E.call(this,t)}}}var R=[],O=!1,F,q=-1;function vr(){!O||!F||(O=!1,F.length?R=F.concat(R):q=-1,R.length&&Ie())}function Ie(){if(!O){var t=ke(vr);O=!0;for(var e=R.length;e;){for(F=R,R=[];++q<e;)F&&F[q].run();q=-1,e=R.length}F=null,O=!1,br(t)}}y.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)e[r-1]=arguments[r];R.push(new Ee(t,e)),R.length===1&&!O&&ke(Ie)};function Ee(t,e){this.fun=t,this.array=e}Ee.prototype.run=function(){this.fun.apply(null,this.array)};y.title="browser";y.browser=!0;y.env={};y.argv=[];y.version="";y.versions={};function N(){}y.on=N;y.addListener=N;y.once=N;y.off=N;y.removeListener=N;y.removeAllListeners=N;y.emit=N;y.prependListener=N;y.prependOnceListener=N;y.listeners=function(t){return[]};y.binding=function(t){throw new Error("process.binding is not supported")};y.cwd=function(){return"/"};y.chdir=function(t){throw new Error("process.chdir is not supported")};y.umask=function(){return 0}});var d,m,Fr,l=Ve(()=>{d=oe(_e()),m=oe(Se()),Fr=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 Ar={};qe(Ar,{getAreTransactionsOnSameShard:()=>Er});module.exports=ze(Ar);l();l();var ne=require("@multiversx/sdk-core/out");l();l();l();l();l();l();l();l();l();l();l();l();l();l();l();l();l();l();l();l();var re={devnet:{id:"devnet",chainId:"D",name:"Devnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://devnet-wallet.multiversx.com",apiAddress:"https://devnet-api.multiversx.com",explorerAddress:"http://devnet-explorer.multiversx.com",apiTimeout:"4000"},testnet:{id:"testnet",chainId:"T",name:"Testnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://testnet-wallet.multiversx.com",apiAddress:"https://testnet-api.multiversx.com",explorerAddress:"http://testnet-explorer.multiversx.com",apiTimeout:"4000"},mainnet:{id:"mainnet",chainId:"1",name:"Mainnet",egldLabel:"EGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://wallet.multiversx.com",apiAddress:"https://api.multiversx.com",explorerAddress:"https://explorer.multiversx.com",apiTimeout:"4000"}},{chainId:Re,egldLabel:it}=re["devnet"],{chainId:Ne,egldLabel:at}=re["testnet"],{chainId:Le,egldLabel:ot}=re["mainnet"];var st={["devnet"]:Re,["testnet"]:Ne,["mainnet"]:Le},lt={[Re]:"devnet",[Ne]:"testnet",[Le]:"mainnet"};l();l();var A=require("@multiversx/sdk-web-wallet-provider");var Ce=4294967295;var _r=t=>{let e=d.Buffer.from([0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]);if(t.slice(0,e.length).equals(e))return!0;let n=d.Buffer.alloc(32).fill(0);return t.equals(n)},te=t=>{try{let r=parseInt("11",2),n=parseInt("01",2),i=d.Buffer.from(t,"hex"),a=i[31];if(_r(i))return Ce;let o=a&r;return o>3-1&&(o=a&n),o}catch(e){return-1}};function Fe({receiverAddress:t,senderShard:e,senderAddress:r}){try{let n=new ne.Address(t),i=te(n.pubkey());if(e==null&&r!=null){let a=new ne.Address(r);return te(a)===i}return i===e}catch(n){return!1}}l();var ie=require("@multiversx/sdk-core");l();var kr=require("@multiversx/sdk-core");l();function De(t){try{let e=atob(t),r=btoa(e),n=d.Buffer.from(t,"base64").toString(),i=d.Buffer.from(n).toString("base64");if(t===r&&t===i||e===n)return!0}catch(e){return!1}return!1}function Be({receiver:t,data:e}){try{if(!e)return t;let r=De(e)?ie.TransactionPayload.fromEncoded(e).toString():e,n=Ir(r),i=r.split("@");return n>-1?i[n]:t}catch(r){console.log(r);return}}function Ir(t){return t.includes("MultiESDTNFTTransfer")?1:t.includes("ESDTNFTTransfer")?4:-1}var Er=(t,e=1)=>t!=null&&t.length?t.reduce((r,{receiver:n,data:i})=>{let a=Be({receiver:n,data:i!=null?i:""});return a==null?r:r&&Fe({receiverAddress:a,senderShard:e})},!0):!0;0&&(module.exports={getAreTransactionsOnSameShard});
1
+ "use strict";var Oe=Object.create;var M=Object.defineProperty;var Me=Object.getOwnPropertyDescriptor;var Pe=Object.getOwnPropertyNames;var Ge=Object.getPrototypeOf,He=Object.prototype.hasOwnProperty;var Ve=(t,e)=>()=>(t&&(e=t(t=0)),e);var P=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),qe=(t,e)=>{for(var r in e)M(t,r,{get:e[r],enumerable:!0})},ae=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Pe(e))!He.call(t,i)&&i!==r&&M(t,i,{get:()=>e[i],enumerable:!(n=Me(e,i))||n.enumerable});return t};var oe=(t,e,r)=>(r=t!=null?Oe(Ge(t)):{},ae(e||!t||!t.__esModule?M(r,"default",{value:t,enumerable:!0}):r,t)),ze=t=>ae(M({},"__esModule",{value:!0}),t);var ce=P(G=>{"use strict";l();G.byteLength=je;G.toByteArray=Ye;G.fromByteArray=Je;var _=[],b=[],We=typeof Uint8Array!="undefined"?Uint8Array:Array,z="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(L=0,se=z.length;L<se;++L)_[L]=z[L],b[z.charCodeAt(L)]=L;var L,se;b["-".charCodeAt(0)]=62;b["_".charCodeAt(0)]=63;function le(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 je(t){var e=le(t),r=e[0],n=e[1];return(r+n)*3/4-n}function Xe(t,e,r){return(e+r)*3/4-r}function Ye(t){var e,r=le(t),n=r[0],i=r[1],a=new We(Xe(t,n,i)),o=0,c=i>0?n-4:n,u;for(u=0;u<c;u+=4)e=b[t.charCodeAt(u)]<<18|b[t.charCodeAt(u+1)]<<12|b[t.charCodeAt(u+2)]<<6|b[t.charCodeAt(u+3)],a[o++]=e>>16&255,a[o++]=e>>8&255,a[o++]=e&255;return i===2&&(e=b[t.charCodeAt(u)]<<2|b[t.charCodeAt(u+1)]>>4,a[o++]=e&255),i===1&&(e=b[t.charCodeAt(u)]<<10|b[t.charCodeAt(u+1)]<<4|b[t.charCodeAt(u+2)]>>2,a[o++]=e>>8&255,a[o++]=e&255),a}function Ke(t){return _[t>>18&63]+_[t>>12&63]+_[t>>6&63]+_[t&63]}function Qe(t,e,r){for(var n,i=[],a=e;a<r;a+=3)n=(t[a]<<16&16711680)+(t[a+1]<<8&65280)+(t[a+2]&255),i.push(Ke(n));return i.join("")}function Je(t){for(var e,r=t.length,n=r%3,i=[],a=16383,o=0,c=r-n;o<c;o+=a)i.push(Qe(t,o,o+a>c?c:o+a));return n===1?(e=t[r-1],i.push(_[e>>2]+_[e<<4&63]+"==")):n===2&&(e=(t[r-2]<<8)+t[r-1],i.push(_[e>>10]+_[e>>4&63]+_[e<<2&63]+"=")),i.join("")}});var ue=P(W=>{l();W.read=function(t,e,r,n,i){var a,o,c=i*8-n-1,u=(1<<c)-1,g=u>>1,f=-7,p=r?i-1:0,v=r?-1:1,T=t[e+p];for(p+=v,a=T&(1<<-f)-1,T>>=-f,f+=c;f>0;a=a*256+t[e+p],p+=v,f-=8);for(o=a&(1<<-f)-1,a>>=-f,f+=n;f>0;o=o*256+t[e+p],p+=v,f-=8);if(a===0)a=1-g;else{if(a===u)return o?NaN:(T?-1:1)*(1/0);o=o+Math.pow(2,n),a=a-g}return(T?-1:1)*o*Math.pow(2,a-n)};W.write=function(t,e,r,n,i,a){var o,c,u,g=a*8-i-1,f=(1<<g)-1,p=f>>1,v=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,T=n?0:a-1,D=n?1:-1,Ue=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(c=isNaN(e)?1:0,o=f):(o=Math.floor(Math.log(e)/Math.LN2),e*(u=Math.pow(2,-o))<1&&(o--,u*=2),o+p>=1?e+=v/u:e+=v*Math.pow(2,1-p),e*u>=2&&(o++,u/=2),o+p>=f?(c=0,o=f):o+p>=1?(c=(e*u-1)*Math.pow(2,i),o=o+p):(c=e*Math.pow(2,p-1)*Math.pow(2,i),o=0));i>=8;t[r+T]=c&255,T+=D,c/=256,i-=8);for(o=o<<i|c,g+=i;g>0;t[r+T]=o&255,T+=D,o/=256,g-=8);t[r+T-D]|=Ue*128}});var _e=P(U=>{"use strict";l();var j=ce(),B=ue(),pe=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;U.Buffer=s;U.SlowBuffer=nr;U.INSPECT_MAX_BYTES=50;var H=2147483647;U.kMaxLength=H;s.TYPED_ARRAY_SUPPORT=Ze();!s.TYPED_ARRAY_SUPPORT&&typeof console!="undefined"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function Ze(){try{var t=new Uint8Array(1),e={foo:function(){return 42}};return Object.setPrototypeOf(e,Uint8Array.prototype),Object.setPrototypeOf(t,e),t.foo()===42}catch(r){return!1}}Object.defineProperty(s.prototype,"parent",{enumerable:!0,get:function(){if(!!s.isBuffer(this))return this.buffer}});Object.defineProperty(s.prototype,"offset",{enumerable:!0,get:function(){if(!!s.isBuffer(this))return this.byteOffset}});function A(t){if(t>H)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 Q(t)}return fe(t,e,r)}s.poolSize=8192;function fe(t,e,r){if(typeof t=="string")return er(t,e);if(ArrayBuffer.isView(t))return rr(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 Y(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=tr(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 fe(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 $e(t,e,r){return me(t),t<=0?A(t):e!==void 0?typeof r=="string"?A(t).fill(e,r):A(t).fill(e):A(t)}s.alloc=function(t,e,r){return $e(t,e,r)};function Q(t){return me(t),A(t<0?0:J(t)|0)}s.allocUnsafe=function(t){return Q(t)};s.allocUnsafeSlow=function(t){return Q(t)};function er(t,e){if((typeof e!="string"||e==="")&&(e="utf8"),!s.isEncoding(e))throw new TypeError("Unknown encoding: "+e);var r=he(t,e)|0,n=A(r),i=n.write(t,e);return i!==r&&(n=n.slice(0,i)),n}function X(t){for(var e=t.length<0?0:J(t.length)|0,r=A(e),n=0;n<e;n+=1)r[n]=t[n]&255;return r}function rr(t){if(k(t,Uint8Array)){var e=new Uint8Array(t);return Y(e.buffer,e.byteOffset,e.byteLength)}return X(t)}function Y(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 tr(t){if(s.isBuffer(t)){var e=J(t.length)|0,r=A(e);return r.length===0||t.copy(r,0,0,e),r}if(t.length!==void 0)return typeof t.length!="number"||Z(t.length)?A(0):X(t);if(t.type==="Buffer"&&Array.isArray(t.data))return X(t.data)}function J(t){if(t>=H)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+H.toString(16)+" bytes");return t|0}function nr(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,a=0,o=Math.min(n,i);a<o;++a)if(e[a]!==r[a]){n=e[a],i=r[a];break}return n<i?-1:i<n?1:0};s.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};s.concat=function(e,r){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(e.length===0)return s.alloc(0);var n;if(r===void 0)for(r=0,n=0;n<e.length;++n)r+=e[n].length;var i=s.allocUnsafe(r),a=0;for(n=0;n<e.length;++n){var o=e[n];if(k(o,Uint8Array))a+o.length>i.length?s.from(o).copy(i,a):Uint8Array.prototype.set.call(i,o,a);else if(s.isBuffer(o))o.copy(i,a);else throw new TypeError('"list" argument must be an Array of Buffers');a+=o.length}return i};function he(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 K(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return ve(t).length;default:if(i)return n?-1:K(t).length;e=(""+e).toLowerCase(),i=!0}}s.byteLength=he;function ir(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 fr(this,e,r);case"utf8":case"utf-8":return xe(this,e,r);case"ascii":return dr(this,e,r);case"latin1":case"binary":return gr(this,e,r);case"base64":return ur(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return mr(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}s.prototype._isBuffer=!0;function C(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}s.prototype.swap16=function(){var e=this.length;if(e%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var r=0;r<e;r+=2)C(this,r,r+1);return this};s.prototype.swap32=function(){var e=this.length;if(e%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var r=0;r<e;r+=4)C(this,r,r+3),C(this,r+1,r+2);return this};s.prototype.swap64=function(){var e=this.length;if(e%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var r=0;r<e;r+=8)C(this,r,r+7),C(this,r+1,r+6),C(this,r+2,r+5),C(this,r+3,r+4);return this};s.prototype.toString=function(){var e=this.length;return e===0?"":arguments.length===0?xe(this,0,e):ir.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=U.INSPECT_MAX_BYTES;return e=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(e+=" ... "),"<Buffer "+e+">"};pe&&(s.prototype[pe]=s.prototype.inspect);s.prototype.compare=function(e,r,n,i,a){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),a===void 0&&(a=this.length),r<0||n>e.length||i<0||a>this.length)throw new RangeError("out of range index");if(i>=a&&r>=n)return 0;if(i>=a)return-1;if(r>=n)return 1;if(r>>>=0,n>>>=0,i>>>=0,a>>>=0,this===e)return 0;for(var o=a-i,c=n-r,u=Math.min(o,c),g=this.slice(i,a),f=e.slice(r,n),p=0;p<u;++p)if(g[p]!==f[p]){o=g[p],c=f[p];break}return o<c?-1:c<o?1:0};function ye(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,Z(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:de(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):de(t,[e],r,n,i);throw new TypeError("val must be string, number or Buffer")}function de(t,e,r,n,i){var a=1,o=t.length,c=e.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(t.length<2||e.length<2)return-1;a=2,o/=2,c/=2,r/=2}function u(T,D){return a===1?T[D]:T.readUInt16BE(D*a)}var g;if(i){var f=-1;for(g=r;g<o;g++)if(u(t,g)===u(e,f===-1?0:g-f)){if(f===-1&&(f=g),g-f+1===c)return f*a}else f!==-1&&(g-=g-f),f=-1}else for(r+c>o&&(r=o-c),g=r;g>=0;g--){for(var p=!0,v=0;v<c;v++)if(u(t,g+v)!==u(e,v)){p=!1;break}if(p)return g}return-1}s.prototype.includes=function(e,r,n){return this.indexOf(e,r,n)!==-1};s.prototype.indexOf=function(e,r,n){return ye(this,e,r,n,!0)};s.prototype.lastIndexOf=function(e,r,n){return ye(this,e,r,n,!1)};function ar(t,e,r,n){r=Number(r)||0;var i=t.length-r;n?(n=Number(n),n>i&&(n=i)):n=i;var a=e.length;n>a/2&&(n=a/2);for(var o=0;o<n;++o){var c=parseInt(e.substr(o*2,2),16);if(Z(c))return o;t[r+o]=c}return o}function or(t,e,r,n){return V(K(e,t.length-r),t,r,n)}function sr(t,e,r,n){return V(xr(e),t,r,n)}function lr(t,e,r,n){return V(ve(e),t,r,n)}function cr(t,e,r,n){return V(wr(e,t.length-r),t,r,n)}s.prototype.write=function(e,r,n,i){if(r===void 0)i="utf8",n=this.length,r=0;else if(n===void 0&&typeof r=="string")i=r,n=this.length,r=0;else if(isFinite(r))r=r>>>0,isFinite(n)?(n=n>>>0,i===void 0&&(i="utf8")):(i=n,n=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var a=this.length-r;if((n===void 0||n>a)&&(n=a),e.length>0&&(n<0||r<0)||r>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var o=!1;;)switch(i){case"hex":return ar(this,e,r,n);case"utf8":case"utf-8":return or(this,e,r,n);case"ascii":case"latin1":case"binary":return sr(this,e,r,n);case"base64":return lr(this,e,r,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return cr(this,e,r,n);default:if(o)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),o=!0}};s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function ur(t,e,r){return e===0&&r===t.length?j.fromByteArray(t):j.fromByteArray(t.slice(e,r))}function xe(t,e,r){r=Math.min(t.length,r);for(var n=[],i=e;i<r;){var a=t[i],o=null,c=a>239?4:a>223?3:a>191?2:1;if(i+c<=r){var u,g,f,p;switch(c){case 1:a<128&&(o=a);break;case 2:u=t[i+1],(u&192)===128&&(p=(a&31)<<6|u&63,p>127&&(o=p));break;case 3:u=t[i+1],g=t[i+2],(u&192)===128&&(g&192)===128&&(p=(a&15)<<12|(u&63)<<6|g&63,p>2047&&(p<55296||p>57343)&&(o=p));break;case 4:u=t[i+1],g=t[i+2],f=t[i+3],(u&192)===128&&(g&192)===128&&(f&192)===128&&(p=(a&15)<<18|(u&63)<<12|(g&63)<<6|f&63,p>65535&&p<1114112&&(o=p))}}o===null?(o=65533,c=1):o>65535&&(o-=65536,n.push(o>>>10&1023|55296),o=56320|o&1023),n.push(o),i+=c}return pr(n)}var ge=4096;function pr(t){var e=t.length;if(e<=ge)return String.fromCharCode.apply(String,t);for(var r="",n=0;n<e;)r+=String.fromCharCode.apply(String,t.slice(n,n+=ge));return r}function dr(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;i<r;++i)n+=String.fromCharCode(t[i]&127);return n}function gr(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 fr(t,e,r){var n=t.length;(!e||e<0)&&(e=0),(!r||r<0||r>n)&&(r=n);for(var i="",a=e;a<r;++a)i+=Tr[t[a]];return i}function mr(t,e,r){for(var n=t.slice(e,r),i="",a=0;a<n.length-1;a+=2)i+=String.fromCharCode(n[a]+n[a+1]*256);return i}s.prototype.slice=function(e,r){var n=this.length;e=~~e,r=r===void 0?n:~~r,e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),r<0?(r+=n,r<0&&(r=0)):r>n&&(r=n),r<e&&(r=e);var i=this.subarray(e,r);return Object.setPrototypeOf(i,s.prototype),i};function x(t,e,r){if(t%1!==0||t<0)throw new RangeError("offset is not uint");if(t+e>r)throw new RangeError("Trying to access beyond buffer length")}s.prototype.readUintLE=s.prototype.readUIntLE=function(e,r,n){e=e>>>0,r=r>>>0,n||x(e,r,this.length);for(var i=this[e],a=1,o=0;++o<r&&(a*=256);)i+=this[e+o]*a;return i};s.prototype.readUintBE=s.prototype.readUIntBE=function(e,r,n){e=e>>>0,r=r>>>0,n||x(e,r,this.length);for(var i=this[e+--r],a=1;r>0&&(a*=256);)i+=this[e+--r]*a;return i};s.prototype.readUint8=s.prototype.readUInt8=function(e,r){return e=e>>>0,r||x(e,1,this.length),this[e]};s.prototype.readUint16LE=s.prototype.readUInt16LE=function(e,r){return e=e>>>0,r||x(e,2,this.length),this[e]|this[e+1]<<8};s.prototype.readUint16BE=s.prototype.readUInt16BE=function(e,r){return e=e>>>0,r||x(e,2,this.length),this[e]<<8|this[e+1]};s.prototype.readUint32LE=s.prototype.readUInt32LE=function(e,r){return e=e>>>0,r||x(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+this[e+3]*16777216};s.prototype.readUint32BE=s.prototype.readUInt32BE=function(e,r){return e=e>>>0,r||x(e,4,this.length),this[e]*16777216+(this[e+1]<<16|this[e+2]<<8|this[e+3])};s.prototype.readIntLE=function(e,r,n){e=e>>>0,r=r>>>0,n||x(e,r,this.length);for(var i=this[e],a=1,o=0;++o<r&&(a*=256);)i+=this[e+o]*a;return a*=128,i>=a&&(i-=Math.pow(2,8*r)),i};s.prototype.readIntBE=function(e,r,n){e=e>>>0,r=r>>>0,n||x(e,r,this.length);for(var i=r,a=1,o=this[e+--i];i>0&&(a*=256);)o+=this[e+--i]*a;return a*=128,o>=a&&(o-=Math.pow(2,8*r)),o};s.prototype.readInt8=function(e,r){return e=e>>>0,r||x(e,1,this.length),this[e]&128?(255-this[e]+1)*-1:this[e]};s.prototype.readInt16LE=function(e,r){e=e>>>0,r||x(e,2,this.length);var n=this[e]|this[e+1]<<8;return n&32768?n|4294901760:n};s.prototype.readInt16BE=function(e,r){e=e>>>0,r||x(e,2,this.length);var n=this[e+1]|this[e]<<8;return n&32768?n|4294901760:n};s.prototype.readInt32LE=function(e,r){return e=e>>>0,r||x(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24};s.prototype.readInt32BE=function(e,r){return e=e>>>0,r||x(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]};s.prototype.readFloatLE=function(e,r){return e=e>>>0,r||x(e,4,this.length),B.read(this,e,!0,23,4)};s.prototype.readFloatBE=function(e,r){return e=e>>>0,r||x(e,4,this.length),B.read(this,e,!1,23,4)};s.prototype.readDoubleLE=function(e,r){return e=e>>>0,r||x(e,8,this.length),B.read(this,e,!0,52,8)};s.prototype.readDoubleBE=function(e,r){return e=e>>>0,r||x(e,8,this.length),B.read(this,e,!1,52,8)};function w(t,e,r,n,i,a){if(!s.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||e<a)throw new RangeError('"value" argument is out of bounds');if(r+n>t.length)throw new RangeError("Index out of range")}s.prototype.writeUintLE=s.prototype.writeUIntLE=function(e,r,n,i){if(e=+e,r=r>>>0,n=n>>>0,!i){var a=Math.pow(2,8*n)-1;w(this,e,r,n,a,0)}var o=1,c=0;for(this[r]=e&255;++c<n&&(o*=256);)this[r+c]=e/o&255;return r+n};s.prototype.writeUintBE=s.prototype.writeUIntBE=function(e,r,n,i){if(e=+e,r=r>>>0,n=n>>>0,!i){var a=Math.pow(2,8*n)-1;w(this,e,r,n,a,0)}var o=n-1,c=1;for(this[r+o]=e&255;--o>=0&&(c*=256);)this[r+o]=e/c&255;return r+n};s.prototype.writeUint8=s.prototype.writeUInt8=function(e,r,n){return e=+e,r=r>>>0,n||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 a=Math.pow(2,8*n-1);w(this,e,r,n,a-1,-a)}var o=0,c=1,u=0;for(this[r]=e&255;++o<n&&(c*=256);)e<0&&u===0&&this[r+o-1]!==0&&(u=1),this[r+o]=(e/c>>0)-u&255;return r+n};s.prototype.writeIntBE=function(e,r,n,i){if(e=+e,r=r>>>0,!i){var a=Math.pow(2,8*n-1);w(this,e,r,n,a-1,-a)}var o=n-1,c=1,u=0;for(this[r+o]=e&255;--o>=0&&(c*=256);)e<0&&u===0&&this[r+o+1]!==0&&(u=1),this[r+o]=(e/c>>0)-u&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 we(t,e,r,n,i,a){if(r+n>t.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function Te(t,e,r,n,i){return e=+e,r=r>>>0,i||we(t,e,r,4,34028234663852886e22,-34028234663852886e22),B.write(t,e,r,n,23,4),r+4}s.prototype.writeFloatLE=function(e,r,n){return Te(this,e,r,!0,n)};s.prototype.writeFloatBE=function(e,r,n){return Te(this,e,r,!1,n)};function be(t,e,r,n,i){return e=+e,r=r>>>0,i||we(t,e,r,8,17976931348623157e292,-17976931348623157e292),B.write(t,e,r,n,52,8),r+8}s.prototype.writeDoubleLE=function(e,r,n){return be(this,e,r,!0,n)};s.prototype.writeDoubleBE=function(e,r,n){return be(this,e,r,!1,n)};s.prototype.copy=function(e,r,n,i){if(!s.isBuffer(e))throw new TypeError("argument should be a Buffer");if(n||(n=0),!i&&i!==0&&(i=this.length),r>=e.length&&(r=e.length),r||(r=0),i>0&&i<n&&(i=n),i===n||e.length===0||this.length===0)return 0;if(r<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),e.length-r<i-n&&(i=e.length-r+n);var a=i-n;return this===e&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(r,n,i):Uint8Array.prototype.set.call(e,this.subarray(n,i),r),a};s.prototype.fill=function(e,r,n,i){if(typeof e=="string"){if(typeof r=="string"?(i=r,r=0,n=this.length):typeof n=="string"&&(i=n,n=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!s.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(e.length===1){var a=e.charCodeAt(0);(i==="utf8"&&a<128||i==="latin1")&&(e=a)}}else typeof e=="number"?e=e&255:typeof e=="boolean"&&(e=Number(e));if(r<0||this.length<r||this.length<n)throw new RangeError("Out of range index");if(n<=r)return this;r=r>>>0,n=n===void 0?this.length:n>>>0,e||(e=0);var o;if(typeof e=="number")for(o=r;o<n;++o)this[o]=e;else{var c=s.isBuffer(e)?e:s.from(e,i),u=c.length;if(u===0)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(o=0;o<n-r;++o)this[o+r]=c[o%u]}return this};var hr=/[^+/0-9A-Za-z-_]/g;function yr(t){if(t=t.split("=")[0],t=t.trim().replace(hr,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function K(t,e){e=e||1/0;for(var r,n=t.length,i=null,a=[],o=0;o<n;++o){if(r=t.charCodeAt(o),r>55295&&r<57344){if(!i){if(r>56319){(e-=3)>-1&&a.push(239,191,189);continue}else if(o+1===n){(e-=3)>-1&&a.push(239,191,189);continue}i=r;continue}if(r<56320){(e-=3)>-1&&a.push(239,191,189),i=r;continue}r=(i-55296<<10|r-56320)+65536}else i&&(e-=3)>-1&&a.push(239,191,189);if(i=null,r<128){if((e-=1)<0)break;a.push(r)}else if(r<2048){if((e-=2)<0)break;a.push(r>>6|192,r&63|128)}else if(r<65536){if((e-=3)<0)break;a.push(r>>12|224,r>>6&63|128,r&63|128)}else if(r<1114112){if((e-=4)<0)break;a.push(r>>18|240,r>>12&63|128,r>>6&63|128,r&63|128)}else throw new Error("Invalid code point")}return a}function xr(t){for(var e=[],r=0;r<t.length;++r)e.push(t.charCodeAt(r)&255);return e}function wr(t,e){for(var r,n,i,a=[],o=0;o<t.length&&!((e-=2)<0);++o)r=t.charCodeAt(o),n=r>>8,i=r%256,a.push(i),a.push(n);return a}function ve(t){return j.toByteArray(yr(t))}function V(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 Z(t){return t!==t}var Tr=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 Ae=P((Cr,Se)=>{l();var y=Se.exports={},I,E;function $(){throw new Error("setTimeout has not been defined")}function ee(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?I=setTimeout:I=$}catch(t){I=$}try{typeof clearTimeout=="function"?E=clearTimeout:E=ee}catch(t){E=ee}})();function ke(t){if(I===setTimeout)return setTimeout(t,0);if((I===$||!I)&&setTimeout)return I=setTimeout,setTimeout(t,0);try{return I(t,0)}catch(e){try{return I.call(null,t,0)}catch(r){return I.call(this,t,0)}}}function br(t){if(E===clearTimeout)return clearTimeout(t);if((E===ee||!E)&&clearTimeout)return E=clearTimeout,clearTimeout(t);try{return E(t)}catch(e){try{return E.call(null,t)}catch(r){return E.call(this,t)}}}var R=[],O=!1,F,q=-1;function vr(){!O||!F||(O=!1,F.length?R=F.concat(R):q=-1,R.length&&Ie())}function Ie(){if(!O){var t=ke(vr);O=!0;for(var e=R.length;e;){for(F=R,R=[];++q<e;)F&&F[q].run();q=-1,e=R.length}F=null,O=!1,br(t)}}y.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)e[r-1]=arguments[r];R.push(new Ee(t,e)),R.length===1&&!O&&ke(Ie)};function Ee(t,e){this.fun=t,this.array=e}Ee.prototype.run=function(){this.fun.apply(null,this.array)};y.title="browser";y.browser=!0;y.env={};y.argv=[];y.version="";y.versions={};function N(){}y.on=N;y.addListener=N;y.once=N;y.off=N;y.removeListener=N;y.removeAllListeners=N;y.emit=N;y.prependListener=N;y.prependOnceListener=N;y.listeners=function(t){return[]};y.binding=function(t){throw new Error("process.binding is not supported")};y.cwd=function(){return"/"};y.chdir=function(t){throw new Error("process.chdir is not supported")};y.umask=function(){return 0}});var d,m,Fr,l=Ve(()=>{d=oe(_e()),m=oe(Ae()),Fr=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 Sr={};qe(Sr,{getAreTransactionsOnSameShard:()=>Er});module.exports=ze(Sr);l();l();var ne=require("@multiversx/sdk-core/out");l();l();l();l();l();l();l();l();l();l();l();l();l();l();l();l();l();l();l();l();var re={devnet:{id:"devnet",chainId:"D",name:"Devnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://devnet-wallet.multiversx.com",apiAddress:"https://devnet-api.multiversx.com",explorerAddress:"http://devnet-explorer.multiversx.com",apiTimeout:"4000"},testnet:{id:"testnet",chainId:"T",name:"Testnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://testnet-wallet.multiversx.com",apiAddress:"https://testnet-api.multiversx.com",explorerAddress:"http://testnet-explorer.multiversx.com",apiTimeout:"4000"},mainnet:{id:"mainnet",chainId:"1",name:"Mainnet",egldLabel:"EGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://wallet.multiversx.com",apiAddress:"https://api.multiversx.com",explorerAddress:"https://explorer.multiversx.com",apiTimeout:"4000"}},{chainId:Re,egldLabel:it}=re["devnet"],{chainId:Ne,egldLabel:at}=re["testnet"],{chainId:Le,egldLabel:ot}=re["mainnet"];var st={["devnet"]:Re,["testnet"]:Ne,["mainnet"]:Le},lt={[Re]:"devnet",[Ne]:"testnet",[Le]:"mainnet"};l();l();var S=require("@multiversx/sdk-web-wallet-provider");var Ce=4294967295;var _r=t=>{let e=d.Buffer.from([0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]);if(t.slice(0,e.length).equals(e))return!0;let n=d.Buffer.alloc(32).fill(0);return t.equals(n)},te=t=>{try{let r=parseInt("11",2),n=parseInt("01",2),i=d.Buffer.from(t,"hex"),a=i[31];if(_r(i))return Ce;let o=a&r;return o>3-1&&(o=a&n),o}catch(e){return-1}};function Fe({receiverAddress:t,senderShard:e,senderAddress:r}){try{let n=new ne.Address(t),i=te(n.pubkey());if(e==null&&r!=null){let a=new ne.Address(r);return te(a)===i}return i===e}catch(n){return!1}}l();var ie=require("@multiversx/sdk-core");l();var kr=require("@multiversx/sdk-core");l();function De(t){try{let e=atob(t),r=btoa(e),n=d.Buffer.from(t,"base64").toString(),i=d.Buffer.from(n).toString("base64");if(t===r&&t===i||e===n)return!0}catch(e){return!1}return!1}function Be({receiver:t,data:e}){try{if(!e)return t;let r=De(e)?ie.TransactionPayload.fromEncoded(e).toString():e,n=Ir(r),i=r.split("@");return n>-1?i[n]:t}catch(r){console.log(r);return}}function Ir(t){return t.includes("MultiESDTNFTTransfer")?1:t.includes("ESDTNFTTransfer")?4:-1}var Er=(t,e=1)=>t!=null&&t.length?t.reduce((r,{receiver:n,data:i})=>{let a=Be({receiver:n,data:i!=null?i:""});return a==null?r:r&&Fe({receiverAddress:a,senderShard:e})},!0):!0;0&&(module.exports={getAreTransactionsOnSameShard});
2
2
  /*!
3
3
  * The buffer module from node.js, for the browser.
4
4
  *
@@ -1,4 +1,4 @@
1
- "use strict";var Br=Object.create;var P=Object.defineProperty;var _r=Object.getOwnPropertyDescriptor;var Cr=Object.getOwnPropertyNames;var Lr=Object.getPrototypeOf,Ur=Object.prototype.hasOwnProperty;var Er=(t,r)=>()=>(t&&(r=t(t=0)),r);var M=(t,r)=>()=>(r||t((r={exports:{}}).exports,r),r.exports),Dr=(t,r)=>{for(var e in r)P(t,e,{get:r[e],enumerable:!0})},tr=(t,r,e,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let i of Cr(r))!Ur.call(t,i)&&i!==e&&P(t,i,{get:()=>r[i],enumerable:!(n=_r(r,i))||n.enumerable});return t};var W=(t,r,e)=>(e=t!=null?Br(Lr(t)):{},tr(r||!t||!t.__esModule?P(e,"default",{value:t,enumerable:!0}):e,t)),Nr=t=>tr(P({},"__esModule",{value:!0}),t);var ar=M(G=>{"use strict";l();G.byteLength=Mr;G.toByteArray=Or;G.fromByteArray=Wr;var I=[],F=[],Pr=typeof Uint8Array!="undefined"?Uint8Array:Array,Y="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(C=0,nr=Y.length;C<nr;++C)I[C]=Y[C],F[Y.charCodeAt(C)]=C;var C,nr;F["-".charCodeAt(0)]=62;F["_".charCodeAt(0)]=63;function ir(t){var r=t.length;if(r%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var e=t.indexOf("=");e===-1&&(e=r);var n=e===r?0:4-e%4;return[e,n]}function Mr(t){var r=ir(t),e=r[0],n=r[1];return(e+n)*3/4-n}function Gr(t,r,e){return(r+e)*3/4-e}function Or(t){var r,e=ir(t),n=e[0],i=e[1],a=new Pr(Gr(t,n,i)),o=0,p=i>0?n-4:n,u;for(u=0;u<p;u+=4)r=F[t.charCodeAt(u)]<<18|F[t.charCodeAt(u+1)]<<12|F[t.charCodeAt(u+2)]<<6|F[t.charCodeAt(u+3)],a[o++]=r>>16&255,a[o++]=r>>8&255,a[o++]=r&255;return i===2&&(r=F[t.charCodeAt(u)]<<2|F[t.charCodeAt(u+1)]>>4,a[o++]=r&255),i===1&&(r=F[t.charCodeAt(u)]<<10|F[t.charCodeAt(u+1)]<<4|F[t.charCodeAt(u+2)]>>2,a[o++]=r>>8&255,a[o++]=r&255),a}function Hr(t){return I[t>>18&63]+I[t>>12&63]+I[t>>6&63]+I[t&63]}function qr(t,r,e){for(var n,i=[],a=r;a<e;a+=3)n=(t[a]<<16&16711680)+(t[a+1]<<8&65280)+(t[a+2]&255),i.push(Hr(n));return i.join("")}function Wr(t){for(var r,e=t.length,n=e%3,i=[],a=16383,o=0,p=e-n;o<p;o+=a)i.push(qr(t,o,o+a>p?p:o+a));return n===1?(r=t[e-1],i.push(I[r>>2]+I[r<<4&63]+"==")):n===2&&(r=(t[e-2]<<8)+t[e-1],i.push(I[r>>10]+I[r>>4&63]+I[r<<2&63]+"=")),i.join("")}});var or=M(z=>{l();z.read=function(t,r,e,n,i){var a,o,p=i*8-n-1,u=(1<<p)-1,f=u>>1,g=-7,c=e?i-1:0,h=e?-1:1,w=t[r+c];for(c+=h,a=w&(1<<-g)-1,w>>=-g,g+=p;g>0;a=a*256+t[r+c],c+=h,g-=8);for(o=a&(1<<-g)-1,a>>=-g,g+=n;g>0;o=o*256+t[r+c],c+=h,g-=8);if(a===0)a=1-f;else{if(a===u)return o?NaN:(w?-1:1)*(1/0);o=o+Math.pow(2,n),a=a-f}return(w?-1:1)*o*Math.pow(2,a-n)};z.write=function(t,r,e,n,i,a){var o,p,u,f=a*8-i-1,g=(1<<f)-1,c=g>>1,h=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,w=n?0:a-1,k=n?1:-1,Rr=r<0||r===0&&1/r<0?1:0;for(r=Math.abs(r),isNaN(r)||r===1/0?(p=isNaN(r)?1:0,o=g):(o=Math.floor(Math.log(r)/Math.LN2),r*(u=Math.pow(2,-o))<1&&(o--,u*=2),o+c>=1?r+=h/u:r+=h*Math.pow(2,1-c),r*u>=2&&(o++,u/=2),o+c>=g?(p=0,o=g):o+c>=1?(p=(r*u-1)*Math.pow(2,i),o=o+c):(p=r*Math.pow(2,c-1)*Math.pow(2,i),o=0));i>=8;t[e+w]=p&255,w+=k,p/=256,i-=8);for(o=o<<i|p,f+=i;f>0;t[e+w]=o&255,w+=k,o/=256,f-=8);t[e+w-k]|=Rr*128}});var Tr=M(D=>{"use strict";l();var Q=ar(),E=or(),sr=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;D.Buffer=s;D.SlowBuffer=Jr;D.INSPECT_MAX_BYTES=50;var O=2147483647;D.kMaxLength=O;s.TYPED_ARRAY_SUPPORT=Yr();!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 Yr(){try{var t=new Uint8Array(1),r={foo:function(){return 42}};return Object.setPrototypeOf(r,Uint8Array.prototype),Object.setPrototypeOf(t,r),t.foo()===42}catch(e){return!1}}Object.defineProperty(s.prototype,"parent",{enumerable:!0,get:function(){if(!!s.isBuffer(this))return this.buffer}});Object.defineProperty(s.prototype,"offset",{enumerable:!0,get:function(){if(!!s.isBuffer(this))return this.byteOffset}});function R(t){if(t>O)throw new RangeError('The value "'+t+'" is invalid for option "size"');var r=new Uint8Array(t);return Object.setPrototypeOf(r,s.prototype),r}function s(t,r,e){if(typeof t=="number"){if(typeof r=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return j(t)}return cr(t,r,e)}s.poolSize=8192;function cr(t,r,e){if(typeof t=="string")return Qr(t,r);if(ArrayBuffer.isView(t))return Xr(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(b(t,ArrayBuffer)||t&&b(t.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(b(t,SharedArrayBuffer)||t&&b(t.buffer,SharedArrayBuffer)))return $(t,r,e);if(typeof t=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var n=t.valueOf&&t.valueOf();if(n!=null&&n!==t)return s.from(n,r,e);var i=$r(t);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof t[Symbol.toPrimitive]=="function")return s.from(t[Symbol.toPrimitive]("string"),r,e);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}s.from=function(t,r,e){return cr(t,r,e)};Object.setPrototypeOf(s.prototype,Uint8Array.prototype);Object.setPrototypeOf(s,Uint8Array);function lr(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 zr(t,r,e){return lr(t),t<=0?R(t):r!==void 0?typeof e=="string"?R(t).fill(r,e):R(t).fill(r):R(t)}s.alloc=function(t,r,e){return zr(t,r,e)};function j(t){return lr(t),R(t<0?0:K(t)|0)}s.allocUnsafe=function(t){return j(t)};s.allocUnsafeSlow=function(t){return j(t)};function Qr(t,r){if((typeof r!="string"||r==="")&&(r="utf8"),!s.isEncoding(r))throw new TypeError("Unknown encoding: "+r);var e=fr(t,r)|0,n=R(e),i=n.write(t,r);return i!==e&&(n=n.slice(0,i)),n}function X(t){for(var r=t.length<0?0:K(t.length)|0,e=R(r),n=0;n<r;n+=1)e[n]=t[n]&255;return e}function Xr(t){if(b(t,Uint8Array)){var r=new Uint8Array(t);return $(r.buffer,r.byteOffset,r.byteLength)}return X(t)}function $(t,r,e){if(r<0||t.byteLength<r)throw new RangeError('"offset" is outside of buffer bounds');if(t.byteLength<r+(e||0))throw new RangeError('"length" is outside of buffer bounds');var n;return r===void 0&&e===void 0?n=new Uint8Array(t):e===void 0?n=new Uint8Array(t,r):n=new Uint8Array(t,r,e),Object.setPrototypeOf(n,s.prototype),n}function $r(t){if(s.isBuffer(t)){var r=K(t.length)|0,e=R(r);return e.length===0||t.copy(e,0,0,r),e}if(t.length!==void 0)return typeof t.length!="number"||V(t.length)?R(0):X(t);if(t.type==="Buffer"&&Array.isArray(t.data))return X(t.data)}function K(t){if(t>=O)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+O.toString(16)+" bytes");return t|0}function Jr(t){return+t!=t&&(t=0),s.alloc(+t)}s.isBuffer=function(r){return r!=null&&r._isBuffer===!0&&r!==s.prototype};s.compare=function(r,e){if(b(r,Uint8Array)&&(r=s.from(r,r.offset,r.byteLength)),b(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),!s.isBuffer(r)||!s.isBuffer(e))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(r===e)return 0;for(var n=r.length,i=e.length,a=0,o=Math.min(n,i);a<o;++a)if(r[a]!==e[a]){n=r[a],i=e[a];break}return n<i?-1:i<n?1:0};s.isEncoding=function(r){switch(String(r).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};s.concat=function(r,e){if(!Array.isArray(r))throw new TypeError('"list" argument must be an Array of Buffers');if(r.length===0)return s.alloc(0);var n;if(e===void 0)for(e=0,n=0;n<r.length;++n)e+=r[n].length;var i=s.allocUnsafe(e),a=0;for(n=0;n<r.length;++n){var o=r[n];if(b(o,Uint8Array))a+o.length>i.length?s.from(o).copy(i,a):Uint8Array.prototype.set.call(i,o,a);else if(s.isBuffer(o))o.copy(i,a);else throw new TypeError('"list" argument must be an Array of Buffers');a+=o.length}return i};function fr(t,r){if(s.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||b(t,ArrayBuffer))return t.byteLength;if(typeof t!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var e=t.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&e===0)return 0;for(var i=!1;;)switch(r){case"ascii":case"latin1":case"binary":return e;case"utf8":case"utf-8":return J(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return e*2;case"hex":return e>>>1;case"base64":return mr(t).length;default:if(i)return n?-1:J(t).length;r=(""+r).toLowerCase(),i=!0}}s.byteLength=fr;function jr(t,r,e){var n=!1;if((r===void 0||r<0)&&(r=0),r>this.length||((e===void 0||e>this.length)&&(e=this.length),e<=0)||(e>>>=0,r>>>=0,e<=r))return"";for(t||(t="utf8");;)switch(t){case"hex":return oe(this,r,e);case"utf8":case"utf-8":return hr(this,r,e);case"ascii":return ie(this,r,e);case"latin1":case"binary":return ae(this,r,e);case"base64":return te(this,r,e);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return se(this,r,e);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}s.prototype._isBuffer=!0;function L(t,r,e){var n=t[r];t[r]=t[e],t[e]=n}s.prototype.swap16=function(){var r=this.length;if(r%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<r;e+=2)L(this,e,e+1);return this};s.prototype.swap32=function(){var r=this.length;if(r%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<r;e+=4)L(this,e,e+3),L(this,e+1,e+2);return this};s.prototype.swap64=function(){var r=this.length;if(r%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<r;e+=8)L(this,e,e+7),L(this,e+1,e+6),L(this,e+2,e+5),L(this,e+3,e+4);return this};s.prototype.toString=function(){var r=this.length;return r===0?"":arguments.length===0?hr(this,0,r):jr.apply(this,arguments)};s.prototype.toLocaleString=s.prototype.toString;s.prototype.equals=function(r){if(!s.isBuffer(r))throw new TypeError("Argument must be a Buffer");return this===r?!0:s.compare(this,r)===0};s.prototype.inspect=function(){var r="",e=D.INSPECT_MAX_BYTES;return r=this.toString("hex",0,e).replace(/(.{2})/g,"$1 ").trim(),this.length>e&&(r+=" ... "),"<Buffer "+r+">"};sr&&(s.prototype[sr]=s.prototype.inspect);s.prototype.compare=function(r,e,n,i,a){if(b(r,Uint8Array)&&(r=s.from(r,r.offset,r.byteLength)),!s.isBuffer(r))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof r);if(e===void 0&&(e=0),n===void 0&&(n=r?r.length:0),i===void 0&&(i=0),a===void 0&&(a=this.length),e<0||n>r.length||i<0||a>this.length)throw new RangeError("out of range index");if(i>=a&&e>=n)return 0;if(i>=a)return-1;if(e>=n)return 1;if(e>>>=0,n>>>=0,i>>>=0,a>>>=0,this===r)return 0;for(var o=a-i,p=n-e,u=Math.min(o,p),f=this.slice(i,a),g=r.slice(e,n),c=0;c<u;++c)if(f[c]!==g[c]){o=f[c],p=g[c];break}return o<p?-1:p<o?1:0};function gr(t,r,e,n,i){if(t.length===0)return-1;if(typeof e=="string"?(n=e,e=0):e>2147483647?e=2147483647:e<-2147483648&&(e=-2147483648),e=+e,V(e)&&(e=i?0:t.length-1),e<0&&(e=t.length+e),e>=t.length){if(i)return-1;e=t.length-1}else if(e<0)if(i)e=0;else return-1;if(typeof r=="string"&&(r=s.from(r,n)),s.isBuffer(r))return r.length===0?-1:pr(t,r,e,n,i);if(typeof r=="number")return r=r&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(t,r,e):Uint8Array.prototype.lastIndexOf.call(t,r,e):pr(t,[r],e,n,i);throw new TypeError("val must be string, number or Buffer")}function pr(t,r,e,n,i){var a=1,o=t.length,p=r.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(t.length<2||r.length<2)return-1;a=2,o/=2,p/=2,e/=2}function u(w,k){return a===1?w[k]:w.readUInt16BE(k*a)}var f;if(i){var g=-1;for(f=e;f<o;f++)if(u(t,f)===u(r,g===-1?0:f-g)){if(g===-1&&(g=f),f-g+1===p)return g*a}else g!==-1&&(f-=f-g),g=-1}else for(e+p>o&&(e=o-p),f=e;f>=0;f--){for(var c=!0,h=0;h<p;h++)if(u(t,f+h)!==u(r,h)){c=!1;break}if(c)return f}return-1}s.prototype.includes=function(r,e,n){return this.indexOf(r,e,n)!==-1};s.prototype.indexOf=function(r,e,n){return gr(this,r,e,n,!0)};s.prototype.lastIndexOf=function(r,e,n){return gr(this,r,e,n,!1)};function Kr(t,r,e,n){e=Number(e)||0;var i=t.length-e;n?(n=Number(n),n>i&&(n=i)):n=i;var a=r.length;n>a/2&&(n=a/2);for(var o=0;o<n;++o){var p=parseInt(r.substr(o*2,2),16);if(V(p))return o;t[e+o]=p}return o}function Vr(t,r,e,n){return H(J(r,t.length-e),t,e,n)}function Zr(t,r,e,n){return H(ce(r),t,e,n)}function re(t,r,e,n){return H(mr(r),t,e,n)}function ee(t,r,e,n){return H(le(r,t.length-e),t,e,n)}s.prototype.write=function(r,e,n,i){if(e===void 0)i="utf8",n=this.length,e=0;else if(n===void 0&&typeof e=="string")i=e,n=this.length,e=0;else if(isFinite(e))e=e>>>0,isFinite(n)?(n=n>>>0,i===void 0&&(i="utf8")):(i=n,n=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var a=this.length-e;if((n===void 0||n>a)&&(n=a),r.length>0&&(n<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var o=!1;;)switch(i){case"hex":return Kr(this,r,e,n);case"utf8":case"utf-8":return Vr(this,r,e,n);case"ascii":case"latin1":case"binary":return Zr(this,r,e,n);case"base64":return re(this,r,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ee(this,r,e,n);default:if(o)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),o=!0}};s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function te(t,r,e){return r===0&&e===t.length?Q.fromByteArray(t):Q.fromByteArray(t.slice(r,e))}function hr(t,r,e){e=Math.min(t.length,e);for(var n=[],i=r;i<e;){var a=t[i],o=null,p=a>239?4:a>223?3:a>191?2:1;if(i+p<=e){var u,f,g,c;switch(p){case 1:a<128&&(o=a);break;case 2:u=t[i+1],(u&192)===128&&(c=(a&31)<<6|u&63,c>127&&(o=c));break;case 3:u=t[i+1],f=t[i+2],(u&192)===128&&(f&192)===128&&(c=(a&15)<<12|(u&63)<<6|f&63,c>2047&&(c<55296||c>57343)&&(o=c));break;case 4:u=t[i+1],f=t[i+2],g=t[i+3],(u&192)===128&&(f&192)===128&&(g&192)===128&&(c=(a&15)<<18|(u&63)<<12|(f&63)<<6|g&63,c>65535&&c<1114112&&(o=c))}}o===null?(o=65533,p=1):o>65535&&(o-=65536,n.push(o>>>10&1023|55296),o=56320|o&1023),n.push(o),i+=p}return ne(n)}var ur=4096;function ne(t){var r=t.length;if(r<=ur)return String.fromCharCode.apply(String,t);for(var e="",n=0;n<r;)e+=String.fromCharCode.apply(String,t.slice(n,n+=ur));return e}function ie(t,r,e){var n="";e=Math.min(t.length,e);for(var i=r;i<e;++i)n+=String.fromCharCode(t[i]&127);return n}function ae(t,r,e){var n="";e=Math.min(t.length,e);for(var i=r;i<e;++i)n+=String.fromCharCode(t[i]);return n}function oe(t,r,e){var n=t.length;(!r||r<0)&&(r=0),(!e||e<0||e>n)&&(e=n);for(var i="",a=r;a<e;++a)i+=fe[t[a]];return i}function se(t,r,e){for(var n=t.slice(r,e),i="",a=0;a<n.length-1;a+=2)i+=String.fromCharCode(n[a]+n[a+1]*256);return i}s.prototype.slice=function(r,e){var n=this.length;r=~~r,e=e===void 0?n:~~e,r<0?(r+=n,r<0&&(r=0)):r>n&&(r=n),e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),e<r&&(e=r);var i=this.subarray(r,e);return Object.setPrototypeOf(i,s.prototype),i};function T(t,r,e){if(t%1!==0||t<0)throw new RangeError("offset is not uint");if(t+r>e)throw new RangeError("Trying to access beyond buffer length")}s.prototype.readUintLE=s.prototype.readUIntLE=function(r,e,n){r=r>>>0,e=e>>>0,n||T(r,e,this.length);for(var i=this[r],a=1,o=0;++o<e&&(a*=256);)i+=this[r+o]*a;return i};s.prototype.readUintBE=s.prototype.readUIntBE=function(r,e,n){r=r>>>0,e=e>>>0,n||T(r,e,this.length);for(var i=this[r+--e],a=1;e>0&&(a*=256);)i+=this[r+--e]*a;return i};s.prototype.readUint8=s.prototype.readUInt8=function(r,e){return r=r>>>0,e||T(r,1,this.length),this[r]};s.prototype.readUint16LE=s.prototype.readUInt16LE=function(r,e){return r=r>>>0,e||T(r,2,this.length),this[r]|this[r+1]<<8};s.prototype.readUint16BE=s.prototype.readUInt16BE=function(r,e){return r=r>>>0,e||T(r,2,this.length),this[r]<<8|this[r+1]};s.prototype.readUint32LE=s.prototype.readUInt32LE=function(r,e){return r=r>>>0,e||T(r,4,this.length),(this[r]|this[r+1]<<8|this[r+2]<<16)+this[r+3]*16777216};s.prototype.readUint32BE=s.prototype.readUInt32BE=function(r,e){return r=r>>>0,e||T(r,4,this.length),this[r]*16777216+(this[r+1]<<16|this[r+2]<<8|this[r+3])};s.prototype.readIntLE=function(r,e,n){r=r>>>0,e=e>>>0,n||T(r,e,this.length);for(var i=this[r],a=1,o=0;++o<e&&(a*=256);)i+=this[r+o]*a;return a*=128,i>=a&&(i-=Math.pow(2,8*e)),i};s.prototype.readIntBE=function(r,e,n){r=r>>>0,e=e>>>0,n||T(r,e,this.length);for(var i=e,a=1,o=this[r+--i];i>0&&(a*=256);)o+=this[r+--i]*a;return a*=128,o>=a&&(o-=Math.pow(2,8*e)),o};s.prototype.readInt8=function(r,e){return r=r>>>0,e||T(r,1,this.length),this[r]&128?(255-this[r]+1)*-1:this[r]};s.prototype.readInt16LE=function(r,e){r=r>>>0,e||T(r,2,this.length);var n=this[r]|this[r+1]<<8;return n&32768?n|4294901760:n};s.prototype.readInt16BE=function(r,e){r=r>>>0,e||T(r,2,this.length);var n=this[r+1]|this[r]<<8;return n&32768?n|4294901760:n};s.prototype.readInt32LE=function(r,e){return r=r>>>0,e||T(r,4,this.length),this[r]|this[r+1]<<8|this[r+2]<<16|this[r+3]<<24};s.prototype.readInt32BE=function(r,e){return r=r>>>0,e||T(r,4,this.length),this[r]<<24|this[r+1]<<16|this[r+2]<<8|this[r+3]};s.prototype.readFloatLE=function(r,e){return r=r>>>0,e||T(r,4,this.length),E.read(this,r,!0,23,4)};s.prototype.readFloatBE=function(r,e){return r=r>>>0,e||T(r,4,this.length),E.read(this,r,!1,23,4)};s.prototype.readDoubleLE=function(r,e){return r=r>>>0,e||T(r,8,this.length),E.read(this,r,!0,52,8)};s.prototype.readDoubleBE=function(r,e){return r=r>>>0,e||T(r,8,this.length),E.read(this,r,!1,52,8)};function v(t,r,e,n,i,a){if(!s.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(r>i||r<a)throw new RangeError('"value" argument is out of bounds');if(e+n>t.length)throw new RangeError("Index out of range")}s.prototype.writeUintLE=s.prototype.writeUIntLE=function(r,e,n,i){if(r=+r,e=e>>>0,n=n>>>0,!i){var a=Math.pow(2,8*n)-1;v(this,r,e,n,a,0)}var o=1,p=0;for(this[e]=r&255;++p<n&&(o*=256);)this[e+p]=r/o&255;return e+n};s.prototype.writeUintBE=s.prototype.writeUIntBE=function(r,e,n,i){if(r=+r,e=e>>>0,n=n>>>0,!i){var a=Math.pow(2,8*n)-1;v(this,r,e,n,a,0)}var o=n-1,p=1;for(this[e+o]=r&255;--o>=0&&(p*=256);)this[e+o]=r/p&255;return e+n};s.prototype.writeUint8=s.prototype.writeUInt8=function(r,e,n){return r=+r,e=e>>>0,n||v(this,r,e,1,255,0),this[e]=r&255,e+1};s.prototype.writeUint16LE=s.prototype.writeUInt16LE=function(r,e,n){return r=+r,e=e>>>0,n||v(this,r,e,2,65535,0),this[e]=r&255,this[e+1]=r>>>8,e+2};s.prototype.writeUint16BE=s.prototype.writeUInt16BE=function(r,e,n){return r=+r,e=e>>>0,n||v(this,r,e,2,65535,0),this[e]=r>>>8,this[e+1]=r&255,e+2};s.prototype.writeUint32LE=s.prototype.writeUInt32LE=function(r,e,n){return r=+r,e=e>>>0,n||v(this,r,e,4,4294967295,0),this[e+3]=r>>>24,this[e+2]=r>>>16,this[e+1]=r>>>8,this[e]=r&255,e+4};s.prototype.writeUint32BE=s.prototype.writeUInt32BE=function(r,e,n){return r=+r,e=e>>>0,n||v(this,r,e,4,4294967295,0),this[e]=r>>>24,this[e+1]=r>>>16,this[e+2]=r>>>8,this[e+3]=r&255,e+4};s.prototype.writeIntLE=function(r,e,n,i){if(r=+r,e=e>>>0,!i){var a=Math.pow(2,8*n-1);v(this,r,e,n,a-1,-a)}var o=0,p=1,u=0;for(this[e]=r&255;++o<n&&(p*=256);)r<0&&u===0&&this[e+o-1]!==0&&(u=1),this[e+o]=(r/p>>0)-u&255;return e+n};s.prototype.writeIntBE=function(r,e,n,i){if(r=+r,e=e>>>0,!i){var a=Math.pow(2,8*n-1);v(this,r,e,n,a-1,-a)}var o=n-1,p=1,u=0;for(this[e+o]=r&255;--o>=0&&(p*=256);)r<0&&u===0&&this[e+o+1]!==0&&(u=1),this[e+o]=(r/p>>0)-u&255;return e+n};s.prototype.writeInt8=function(r,e,n){return r=+r,e=e>>>0,n||v(this,r,e,1,127,-128),r<0&&(r=255+r+1),this[e]=r&255,e+1};s.prototype.writeInt16LE=function(r,e,n){return r=+r,e=e>>>0,n||v(this,r,e,2,32767,-32768),this[e]=r&255,this[e+1]=r>>>8,e+2};s.prototype.writeInt16BE=function(r,e,n){return r=+r,e=e>>>0,n||v(this,r,e,2,32767,-32768),this[e]=r>>>8,this[e+1]=r&255,e+2};s.prototype.writeInt32LE=function(r,e,n){return r=+r,e=e>>>0,n||v(this,r,e,4,2147483647,-2147483648),this[e]=r&255,this[e+1]=r>>>8,this[e+2]=r>>>16,this[e+3]=r>>>24,e+4};s.prototype.writeInt32BE=function(r,e,n){return r=+r,e=e>>>0,n||v(this,r,e,4,2147483647,-2147483648),r<0&&(r=4294967295+r+1),this[e]=r>>>24,this[e+1]=r>>>16,this[e+2]=r>>>8,this[e+3]=r&255,e+4};function dr(t,r,e,n,i,a){if(e+n>t.length)throw new RangeError("Index out of range");if(e<0)throw new RangeError("Index out of range")}function yr(t,r,e,n,i){return r=+r,e=e>>>0,i||dr(t,r,e,4,34028234663852886e22,-34028234663852886e22),E.write(t,r,e,n,23,4),e+4}s.prototype.writeFloatLE=function(r,e,n){return yr(this,r,e,!0,n)};s.prototype.writeFloatBE=function(r,e,n){return yr(this,r,e,!1,n)};function xr(t,r,e,n,i){return r=+r,e=e>>>0,i||dr(t,r,e,8,17976931348623157e292,-17976931348623157e292),E.write(t,r,e,n,52,8),e+8}s.prototype.writeDoubleLE=function(r,e,n){return xr(this,r,e,!0,n)};s.prototype.writeDoubleBE=function(r,e,n){return xr(this,r,e,!1,n)};s.prototype.copy=function(r,e,n,i){if(!s.isBuffer(r))throw new TypeError("argument should be a Buffer");if(n||(n=0),!i&&i!==0&&(i=this.length),e>=r.length&&(e=r.length),e||(e=0),i>0&&i<n&&(i=n),i===n||r.length===0||this.length===0)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),r.length-e<i-n&&(i=r.length-e+n);var a=i-n;return this===r&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(e,n,i):Uint8Array.prototype.set.call(r,this.subarray(n,i),e),a};s.prototype.fill=function(r,e,n,i){if(typeof r=="string"){if(typeof e=="string"?(i=e,e=0,n=this.length):typeof n=="string"&&(i=n,n=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!s.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(r.length===1){var a=r.charCodeAt(0);(i==="utf8"&&a<128||i==="latin1")&&(r=a)}}else typeof r=="number"?r=r&255:typeof r=="boolean"&&(r=Number(r));if(e<0||this.length<e||this.length<n)throw new RangeError("Out of range index");if(n<=e)return this;e=e>>>0,n=n===void 0?this.length:n>>>0,r||(r=0);var o;if(typeof r=="number")for(o=e;o<n;++o)this[o]=r;else{var p=s.isBuffer(r)?r:s.from(r,i),u=p.length;if(u===0)throw new TypeError('The value "'+r+'" is invalid for argument "value"');for(o=0;o<n-e;++o)this[o+e]=p[o%u]}return this};var pe=/[^+/0-9A-Za-z-_]/g;function ue(t){if(t=t.split("=")[0],t=t.trim().replace(pe,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function J(t,r){r=r||1/0;for(var e,n=t.length,i=null,a=[],o=0;o<n;++o){if(e=t.charCodeAt(o),e>55295&&e<57344){if(!i){if(e>56319){(r-=3)>-1&&a.push(239,191,189);continue}else if(o+1===n){(r-=3)>-1&&a.push(239,191,189);continue}i=e;continue}if(e<56320){(r-=3)>-1&&a.push(239,191,189),i=e;continue}e=(i-55296<<10|e-56320)+65536}else i&&(r-=3)>-1&&a.push(239,191,189);if(i=null,e<128){if((r-=1)<0)break;a.push(e)}else if(e<2048){if((r-=2)<0)break;a.push(e>>6|192,e&63|128)}else if(e<65536){if((r-=3)<0)break;a.push(e>>12|224,e>>6&63|128,e&63|128)}else if(e<1114112){if((r-=4)<0)break;a.push(e>>18|240,e>>12&63|128,e>>6&63|128,e&63|128)}else throw new Error("Invalid code point")}return a}function ce(t){for(var r=[],e=0;e<t.length;++e)r.push(t.charCodeAt(e)&255);return r}function le(t,r){for(var e,n,i,a=[],o=0;o<t.length&&!((r-=2)<0);++o)e=t.charCodeAt(o),n=e>>8,i=e%256,a.push(i),a.push(n);return a}function mr(t){return Q.toByteArray(ue(t))}function H(t,r,e,n){for(var i=0;i<n&&!(i+e>=r.length||i>=t.length);++i)r[i+e]=t[i];return i}function b(t,r){return t instanceof r||t!=null&&t.constructor!=null&&t.constructor.name!=null&&t.constructor.name===r.name}function V(t){return t!==t}var fe=function(){for(var t="0123456789abcdef",r=new Array(256),e=0;e<16;++e)for(var n=e*16,i=0;i<16;++i)r[n+i]=t[e]+t[i];return r}()});var Ir=M((ve,kr)=>{l();var d=kr.exports={},S,A;function Z(){throw new Error("setTimeout has not been defined")}function rr(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?S=setTimeout:S=Z}catch(t){S=Z}try{typeof clearTimeout=="function"?A=clearTimeout:A=rr}catch(t){A=rr}})();function wr(t){if(S===setTimeout)return setTimeout(t,0);if((S===Z||!S)&&setTimeout)return S=setTimeout,setTimeout(t,0);try{return S(t,0)}catch(r){try{return S.call(null,t,0)}catch(e){return S.call(this,t,0)}}}function ge(t){if(A===clearTimeout)return clearTimeout(t);if((A===rr||!A)&&clearTimeout)return A=clearTimeout,clearTimeout(t);try{return A(t)}catch(r){try{return A.call(null,t)}catch(e){return A.call(this,t)}}}var B=[],N=!1,U,q=-1;function he(){!N||!U||(N=!1,U.length?B=U.concat(B):q=-1,B.length&&vr())}function vr(){if(!N){var t=wr(he);N=!0;for(var r=B.length;r;){for(U=B,B=[];++q<r;)U&&U[q].run();q=-1,r=B.length}U=null,N=!1,ge(t)}}d.nextTick=function(t){var r=new Array(arguments.length-1);if(arguments.length>1)for(var e=1;e<arguments.length;e++)r[e-1]=arguments[e];B.push(new Fr(t,r)),B.length===1&&!N&&wr(vr)};function Fr(t,r){this.fun=t,this.array=r}Fr.prototype.run=function(){this.fun.apply(null,this.array)};d.title="browser";d.browser=!0;d.env={};d.argv=[];d.version="";d.versions={};function _(){}d.on=_;d.addListener=_;d.once=_;d.off=_;d.removeListener=_;d.removeAllListeners=_;d.emit=_;d.prependListener=_;d.prependOnceListener=_;d.listeners=function(t){return[]};d.binding=function(t){throw new Error("process.binding is not supported")};d.cwd=function(){return"/"};d.chdir=function(t){throw new Error("process.chdir is not supported")};d.umask=function(){return 0}});var y,x,Fe,l=Er(()=>{y=W(Tr()),x=W(Ir()),Fe=function(t){function r(){var n=this||self;return delete t.prototype.__magic__,n}if(typeof globalThis=="object")return globalThis;if(this)return r();t.defineProperty(t.prototype,"__magic__",{configurable:!0,get:r});var e=__magic__;return e}(Object)});var ye={};Dr(ye,{parseMultiEsdtTransferData:()=>de});module.exports=Nr(ye);l();var er=W(require("bignumber.js"));l();l();l();l();l();l();l();l();l();l();l();l();l();function br(t){for(let r=0;r<t.length;r++)if(t.charCodeAt(r)>127)return!1;return!0}function Sr(t){let r=t;try{let e=y.Buffer.from(t,"hex").toString();br(e)&&e.length>1&&(r=e)}catch(e){}return r}l();var Ar=(t,r)=>{let e=[],n=t.indexOf(r,0);for(;n>=0;)e.push(n),n=t.indexOf(r,n+1);return e};function de(t){let r=[],e=0;try{if((t==null?void 0:t.startsWith("MultiESDTNFTTransfer"))&&(t==null?void 0:t.includes("@"))){let[,n,i,...a]=t==null?void 0:t.split("@");if(n){let o=new er.default(i,16).toNumber(),p=0;for(let c=0;c<o;c++){let h={type:"nftTransaction",data:"",receiver:n};for(let w=0;w<3;w++){switch(w){case 0:h.token=Sr(a[p]),h.data=a[p];break;case 1:{let k=a[p]&&a[p].length?a[p]:"";k&&k!=="00"?h.nonce=k:h.type="esdtTransaction",h.data=`${h.data}@${a[p]}`;break}case 2:h.amount=new er.default(a[p],16).toString(10),h.data=`${h.data}@${a[p]}`;break;default:break}e=p+1,p++}r[c]=h}let u=r.length!==o,f=r.some(c=>Ar(c.data,"@").length!==2),g=r.some(c=>c.data.startsWith("@"));if(u||f||g)return[];if(a[e]){let c=a[e];for(let h=e+1;h<a.length;h++)c+="@"+a[h];r[o]={type:"scCall",data:c,receiver:n}}}}}catch(n){return console.error("failed parsing tx",n),r}return r}0&&(module.exports={parseMultiEsdtTransferData});
1
+ "use strict";var Br=Object.create;var P=Object.defineProperty;var _r=Object.getOwnPropertyDescriptor;var Cr=Object.getOwnPropertyNames;var Lr=Object.getPrototypeOf,Ur=Object.prototype.hasOwnProperty;var Er=(t,r)=>()=>(t&&(r=t(t=0)),r);var M=(t,r)=>()=>(r||t((r={exports:{}}).exports,r),r.exports),Dr=(t,r)=>{for(var e in r)P(t,e,{get:r[e],enumerable:!0})},tr=(t,r,e,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let i of Cr(r))!Ur.call(t,i)&&i!==e&&P(t,i,{get:()=>r[i],enumerable:!(n=_r(r,i))||n.enumerable});return t};var W=(t,r,e)=>(e=t!=null?Br(Lr(t)):{},tr(r||!t||!t.__esModule?P(e,"default",{value:t,enumerable:!0}):e,t)),Nr=t=>tr(P({},"__esModule",{value:!0}),t);var ar=M(G=>{"use strict";l();G.byteLength=Mr;G.toByteArray=Or;G.fromByteArray=Wr;var I=[],F=[],Pr=typeof Uint8Array!="undefined"?Uint8Array:Array,Y="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(C=0,nr=Y.length;C<nr;++C)I[C]=Y[C],F[Y.charCodeAt(C)]=C;var C,nr;F["-".charCodeAt(0)]=62;F["_".charCodeAt(0)]=63;function ir(t){var r=t.length;if(r%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var e=t.indexOf("=");e===-1&&(e=r);var n=e===r?0:4-e%4;return[e,n]}function Mr(t){var r=ir(t),e=r[0],n=r[1];return(e+n)*3/4-n}function Gr(t,r,e){return(r+e)*3/4-e}function Or(t){var r,e=ir(t),n=e[0],i=e[1],a=new Pr(Gr(t,n,i)),o=0,p=i>0?n-4:n,u;for(u=0;u<p;u+=4)r=F[t.charCodeAt(u)]<<18|F[t.charCodeAt(u+1)]<<12|F[t.charCodeAt(u+2)]<<6|F[t.charCodeAt(u+3)],a[o++]=r>>16&255,a[o++]=r>>8&255,a[o++]=r&255;return i===2&&(r=F[t.charCodeAt(u)]<<2|F[t.charCodeAt(u+1)]>>4,a[o++]=r&255),i===1&&(r=F[t.charCodeAt(u)]<<10|F[t.charCodeAt(u+1)]<<4|F[t.charCodeAt(u+2)]>>2,a[o++]=r>>8&255,a[o++]=r&255),a}function Hr(t){return I[t>>18&63]+I[t>>12&63]+I[t>>6&63]+I[t&63]}function qr(t,r,e){for(var n,i=[],a=r;a<e;a+=3)n=(t[a]<<16&16711680)+(t[a+1]<<8&65280)+(t[a+2]&255),i.push(Hr(n));return i.join("")}function Wr(t){for(var r,e=t.length,n=e%3,i=[],a=16383,o=0,p=e-n;o<p;o+=a)i.push(qr(t,o,o+a>p?p:o+a));return n===1?(r=t[e-1],i.push(I[r>>2]+I[r<<4&63]+"==")):n===2&&(r=(t[e-2]<<8)+t[e-1],i.push(I[r>>10]+I[r>>4&63]+I[r<<2&63]+"=")),i.join("")}});var or=M(z=>{l();z.read=function(t,r,e,n,i){var a,o,p=i*8-n-1,u=(1<<p)-1,f=u>>1,g=-7,c=e?i-1:0,h=e?-1:1,w=t[r+c];for(c+=h,a=w&(1<<-g)-1,w>>=-g,g+=p;g>0;a=a*256+t[r+c],c+=h,g-=8);for(o=a&(1<<-g)-1,a>>=-g,g+=n;g>0;o=o*256+t[r+c],c+=h,g-=8);if(a===0)a=1-f;else{if(a===u)return o?NaN:(w?-1:1)*(1/0);o=o+Math.pow(2,n),a=a-f}return(w?-1:1)*o*Math.pow(2,a-n)};z.write=function(t,r,e,n,i,a){var o,p,u,f=a*8-i-1,g=(1<<f)-1,c=g>>1,h=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,w=n?0:a-1,k=n?1:-1,Ar=r<0||r===0&&1/r<0?1:0;for(r=Math.abs(r),isNaN(r)||r===1/0?(p=isNaN(r)?1:0,o=g):(o=Math.floor(Math.log(r)/Math.LN2),r*(u=Math.pow(2,-o))<1&&(o--,u*=2),o+c>=1?r+=h/u:r+=h*Math.pow(2,1-c),r*u>=2&&(o++,u/=2),o+c>=g?(p=0,o=g):o+c>=1?(p=(r*u-1)*Math.pow(2,i),o=o+c):(p=r*Math.pow(2,c-1)*Math.pow(2,i),o=0));i>=8;t[e+w]=p&255,w+=k,p/=256,i-=8);for(o=o<<i|p,f+=i;f>0;t[e+w]=o&255,w+=k,o/=256,f-=8);t[e+w-k]|=Ar*128}});var Tr=M(D=>{"use strict";l();var Q=ar(),E=or(),sr=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;D.Buffer=s;D.SlowBuffer=Jr;D.INSPECT_MAX_BYTES=50;var O=2147483647;D.kMaxLength=O;s.TYPED_ARRAY_SUPPORT=Yr();!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 Yr(){try{var t=new Uint8Array(1),r={foo:function(){return 42}};return Object.setPrototypeOf(r,Uint8Array.prototype),Object.setPrototypeOf(t,r),t.foo()===42}catch(e){return!1}}Object.defineProperty(s.prototype,"parent",{enumerable:!0,get:function(){if(!!s.isBuffer(this))return this.buffer}});Object.defineProperty(s.prototype,"offset",{enumerable:!0,get:function(){if(!!s.isBuffer(this))return this.byteOffset}});function A(t){if(t>O)throw new RangeError('The value "'+t+'" is invalid for option "size"');var r=new Uint8Array(t);return Object.setPrototypeOf(r,s.prototype),r}function s(t,r,e){if(typeof t=="number"){if(typeof r=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return j(t)}return cr(t,r,e)}s.poolSize=8192;function cr(t,r,e){if(typeof t=="string")return Qr(t,r);if(ArrayBuffer.isView(t))return Xr(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(S(t,ArrayBuffer)||t&&S(t.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(S(t,SharedArrayBuffer)||t&&S(t.buffer,SharedArrayBuffer)))return $(t,r,e);if(typeof t=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var n=t.valueOf&&t.valueOf();if(n!=null&&n!==t)return s.from(n,r,e);var i=$r(t);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof t[Symbol.toPrimitive]=="function")return s.from(t[Symbol.toPrimitive]("string"),r,e);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}s.from=function(t,r,e){return cr(t,r,e)};Object.setPrototypeOf(s.prototype,Uint8Array.prototype);Object.setPrototypeOf(s,Uint8Array);function lr(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 zr(t,r,e){return lr(t),t<=0?A(t):r!==void 0?typeof e=="string"?A(t).fill(r,e):A(t).fill(r):A(t)}s.alloc=function(t,r,e){return zr(t,r,e)};function j(t){return lr(t),A(t<0?0:K(t)|0)}s.allocUnsafe=function(t){return j(t)};s.allocUnsafeSlow=function(t){return j(t)};function Qr(t,r){if((typeof r!="string"||r==="")&&(r="utf8"),!s.isEncoding(r))throw new TypeError("Unknown encoding: "+r);var e=fr(t,r)|0,n=A(e),i=n.write(t,r);return i!==e&&(n=n.slice(0,i)),n}function X(t){for(var r=t.length<0?0:K(t.length)|0,e=A(r),n=0;n<r;n+=1)e[n]=t[n]&255;return e}function Xr(t){if(S(t,Uint8Array)){var r=new Uint8Array(t);return $(r.buffer,r.byteOffset,r.byteLength)}return X(t)}function $(t,r,e){if(r<0||t.byteLength<r)throw new RangeError('"offset" is outside of buffer bounds');if(t.byteLength<r+(e||0))throw new RangeError('"length" is outside of buffer bounds');var n;return r===void 0&&e===void 0?n=new Uint8Array(t):e===void 0?n=new Uint8Array(t,r):n=new Uint8Array(t,r,e),Object.setPrototypeOf(n,s.prototype),n}function $r(t){if(s.isBuffer(t)){var r=K(t.length)|0,e=A(r);return e.length===0||t.copy(e,0,0,r),e}if(t.length!==void 0)return typeof t.length!="number"||V(t.length)?A(0):X(t);if(t.type==="Buffer"&&Array.isArray(t.data))return X(t.data)}function K(t){if(t>=O)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+O.toString(16)+" bytes");return t|0}function Jr(t){return+t!=t&&(t=0),s.alloc(+t)}s.isBuffer=function(r){return r!=null&&r._isBuffer===!0&&r!==s.prototype};s.compare=function(r,e){if(S(r,Uint8Array)&&(r=s.from(r,r.offset,r.byteLength)),S(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),!s.isBuffer(r)||!s.isBuffer(e))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(r===e)return 0;for(var n=r.length,i=e.length,a=0,o=Math.min(n,i);a<o;++a)if(r[a]!==e[a]){n=r[a],i=e[a];break}return n<i?-1:i<n?1:0};s.isEncoding=function(r){switch(String(r).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};s.concat=function(r,e){if(!Array.isArray(r))throw new TypeError('"list" argument must be an Array of Buffers');if(r.length===0)return s.alloc(0);var n;if(e===void 0)for(e=0,n=0;n<r.length;++n)e+=r[n].length;var i=s.allocUnsafe(e),a=0;for(n=0;n<r.length;++n){var o=r[n];if(S(o,Uint8Array))a+o.length>i.length?s.from(o).copy(i,a):Uint8Array.prototype.set.call(i,o,a);else if(s.isBuffer(o))o.copy(i,a);else throw new TypeError('"list" argument must be an Array of Buffers');a+=o.length}return i};function fr(t,r){if(s.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||S(t,ArrayBuffer))return t.byteLength;if(typeof t!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var e=t.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&e===0)return 0;for(var i=!1;;)switch(r){case"ascii":case"latin1":case"binary":return e;case"utf8":case"utf-8":return J(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return e*2;case"hex":return e>>>1;case"base64":return mr(t).length;default:if(i)return n?-1:J(t).length;r=(""+r).toLowerCase(),i=!0}}s.byteLength=fr;function jr(t,r,e){var n=!1;if((r===void 0||r<0)&&(r=0),r>this.length||((e===void 0||e>this.length)&&(e=this.length),e<=0)||(e>>>=0,r>>>=0,e<=r))return"";for(t||(t="utf8");;)switch(t){case"hex":return oe(this,r,e);case"utf8":case"utf-8":return hr(this,r,e);case"ascii":return ie(this,r,e);case"latin1":case"binary":return ae(this,r,e);case"base64":return te(this,r,e);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return se(this,r,e);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}s.prototype._isBuffer=!0;function L(t,r,e){var n=t[r];t[r]=t[e],t[e]=n}s.prototype.swap16=function(){var r=this.length;if(r%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<r;e+=2)L(this,e,e+1);return this};s.prototype.swap32=function(){var r=this.length;if(r%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<r;e+=4)L(this,e,e+3),L(this,e+1,e+2);return this};s.prototype.swap64=function(){var r=this.length;if(r%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<r;e+=8)L(this,e,e+7),L(this,e+1,e+6),L(this,e+2,e+5),L(this,e+3,e+4);return this};s.prototype.toString=function(){var r=this.length;return r===0?"":arguments.length===0?hr(this,0,r):jr.apply(this,arguments)};s.prototype.toLocaleString=s.prototype.toString;s.prototype.equals=function(r){if(!s.isBuffer(r))throw new TypeError("Argument must be a Buffer");return this===r?!0:s.compare(this,r)===0};s.prototype.inspect=function(){var r="",e=D.INSPECT_MAX_BYTES;return r=this.toString("hex",0,e).replace(/(.{2})/g,"$1 ").trim(),this.length>e&&(r+=" ... "),"<Buffer "+r+">"};sr&&(s.prototype[sr]=s.prototype.inspect);s.prototype.compare=function(r,e,n,i,a){if(S(r,Uint8Array)&&(r=s.from(r,r.offset,r.byteLength)),!s.isBuffer(r))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof r);if(e===void 0&&(e=0),n===void 0&&(n=r?r.length:0),i===void 0&&(i=0),a===void 0&&(a=this.length),e<0||n>r.length||i<0||a>this.length)throw new RangeError("out of range index");if(i>=a&&e>=n)return 0;if(i>=a)return-1;if(e>=n)return 1;if(e>>>=0,n>>>=0,i>>>=0,a>>>=0,this===r)return 0;for(var o=a-i,p=n-e,u=Math.min(o,p),f=this.slice(i,a),g=r.slice(e,n),c=0;c<u;++c)if(f[c]!==g[c]){o=f[c],p=g[c];break}return o<p?-1:p<o?1:0};function gr(t,r,e,n,i){if(t.length===0)return-1;if(typeof e=="string"?(n=e,e=0):e>2147483647?e=2147483647:e<-2147483648&&(e=-2147483648),e=+e,V(e)&&(e=i?0:t.length-1),e<0&&(e=t.length+e),e>=t.length){if(i)return-1;e=t.length-1}else if(e<0)if(i)e=0;else return-1;if(typeof r=="string"&&(r=s.from(r,n)),s.isBuffer(r))return r.length===0?-1:pr(t,r,e,n,i);if(typeof r=="number")return r=r&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(t,r,e):Uint8Array.prototype.lastIndexOf.call(t,r,e):pr(t,[r],e,n,i);throw new TypeError("val must be string, number or Buffer")}function pr(t,r,e,n,i){var a=1,o=t.length,p=r.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(t.length<2||r.length<2)return-1;a=2,o/=2,p/=2,e/=2}function u(w,k){return a===1?w[k]:w.readUInt16BE(k*a)}var f;if(i){var g=-1;for(f=e;f<o;f++)if(u(t,f)===u(r,g===-1?0:f-g)){if(g===-1&&(g=f),f-g+1===p)return g*a}else g!==-1&&(f-=f-g),g=-1}else for(e+p>o&&(e=o-p),f=e;f>=0;f--){for(var c=!0,h=0;h<p;h++)if(u(t,f+h)!==u(r,h)){c=!1;break}if(c)return f}return-1}s.prototype.includes=function(r,e,n){return this.indexOf(r,e,n)!==-1};s.prototype.indexOf=function(r,e,n){return gr(this,r,e,n,!0)};s.prototype.lastIndexOf=function(r,e,n){return gr(this,r,e,n,!1)};function Kr(t,r,e,n){e=Number(e)||0;var i=t.length-e;n?(n=Number(n),n>i&&(n=i)):n=i;var a=r.length;n>a/2&&(n=a/2);for(var o=0;o<n;++o){var p=parseInt(r.substr(o*2,2),16);if(V(p))return o;t[e+o]=p}return o}function Vr(t,r,e,n){return H(J(r,t.length-e),t,e,n)}function Zr(t,r,e,n){return H(ce(r),t,e,n)}function re(t,r,e,n){return H(mr(r),t,e,n)}function ee(t,r,e,n){return H(le(r,t.length-e),t,e,n)}s.prototype.write=function(r,e,n,i){if(e===void 0)i="utf8",n=this.length,e=0;else if(n===void 0&&typeof e=="string")i=e,n=this.length,e=0;else if(isFinite(e))e=e>>>0,isFinite(n)?(n=n>>>0,i===void 0&&(i="utf8")):(i=n,n=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var a=this.length-e;if((n===void 0||n>a)&&(n=a),r.length>0&&(n<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var o=!1;;)switch(i){case"hex":return Kr(this,r,e,n);case"utf8":case"utf-8":return Vr(this,r,e,n);case"ascii":case"latin1":case"binary":return Zr(this,r,e,n);case"base64":return re(this,r,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ee(this,r,e,n);default:if(o)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),o=!0}};s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function te(t,r,e){return r===0&&e===t.length?Q.fromByteArray(t):Q.fromByteArray(t.slice(r,e))}function hr(t,r,e){e=Math.min(t.length,e);for(var n=[],i=r;i<e;){var a=t[i],o=null,p=a>239?4:a>223?3:a>191?2:1;if(i+p<=e){var u,f,g,c;switch(p){case 1:a<128&&(o=a);break;case 2:u=t[i+1],(u&192)===128&&(c=(a&31)<<6|u&63,c>127&&(o=c));break;case 3:u=t[i+1],f=t[i+2],(u&192)===128&&(f&192)===128&&(c=(a&15)<<12|(u&63)<<6|f&63,c>2047&&(c<55296||c>57343)&&(o=c));break;case 4:u=t[i+1],f=t[i+2],g=t[i+3],(u&192)===128&&(f&192)===128&&(g&192)===128&&(c=(a&15)<<18|(u&63)<<12|(f&63)<<6|g&63,c>65535&&c<1114112&&(o=c))}}o===null?(o=65533,p=1):o>65535&&(o-=65536,n.push(o>>>10&1023|55296),o=56320|o&1023),n.push(o),i+=p}return ne(n)}var ur=4096;function ne(t){var r=t.length;if(r<=ur)return String.fromCharCode.apply(String,t);for(var e="",n=0;n<r;)e+=String.fromCharCode.apply(String,t.slice(n,n+=ur));return e}function ie(t,r,e){var n="";e=Math.min(t.length,e);for(var i=r;i<e;++i)n+=String.fromCharCode(t[i]&127);return n}function ae(t,r,e){var n="";e=Math.min(t.length,e);for(var i=r;i<e;++i)n+=String.fromCharCode(t[i]);return n}function oe(t,r,e){var n=t.length;(!r||r<0)&&(r=0),(!e||e<0||e>n)&&(e=n);for(var i="",a=r;a<e;++a)i+=fe[t[a]];return i}function se(t,r,e){for(var n=t.slice(r,e),i="",a=0;a<n.length-1;a+=2)i+=String.fromCharCode(n[a]+n[a+1]*256);return i}s.prototype.slice=function(r,e){var n=this.length;r=~~r,e=e===void 0?n:~~e,r<0?(r+=n,r<0&&(r=0)):r>n&&(r=n),e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),e<r&&(e=r);var i=this.subarray(r,e);return Object.setPrototypeOf(i,s.prototype),i};function T(t,r,e){if(t%1!==0||t<0)throw new RangeError("offset is not uint");if(t+r>e)throw new RangeError("Trying to access beyond buffer length")}s.prototype.readUintLE=s.prototype.readUIntLE=function(r,e,n){r=r>>>0,e=e>>>0,n||T(r,e,this.length);for(var i=this[r],a=1,o=0;++o<e&&(a*=256);)i+=this[r+o]*a;return i};s.prototype.readUintBE=s.prototype.readUIntBE=function(r,e,n){r=r>>>0,e=e>>>0,n||T(r,e,this.length);for(var i=this[r+--e],a=1;e>0&&(a*=256);)i+=this[r+--e]*a;return i};s.prototype.readUint8=s.prototype.readUInt8=function(r,e){return r=r>>>0,e||T(r,1,this.length),this[r]};s.prototype.readUint16LE=s.prototype.readUInt16LE=function(r,e){return r=r>>>0,e||T(r,2,this.length),this[r]|this[r+1]<<8};s.prototype.readUint16BE=s.prototype.readUInt16BE=function(r,e){return r=r>>>0,e||T(r,2,this.length),this[r]<<8|this[r+1]};s.prototype.readUint32LE=s.prototype.readUInt32LE=function(r,e){return r=r>>>0,e||T(r,4,this.length),(this[r]|this[r+1]<<8|this[r+2]<<16)+this[r+3]*16777216};s.prototype.readUint32BE=s.prototype.readUInt32BE=function(r,e){return r=r>>>0,e||T(r,4,this.length),this[r]*16777216+(this[r+1]<<16|this[r+2]<<8|this[r+3])};s.prototype.readIntLE=function(r,e,n){r=r>>>0,e=e>>>0,n||T(r,e,this.length);for(var i=this[r],a=1,o=0;++o<e&&(a*=256);)i+=this[r+o]*a;return a*=128,i>=a&&(i-=Math.pow(2,8*e)),i};s.prototype.readIntBE=function(r,e,n){r=r>>>0,e=e>>>0,n||T(r,e,this.length);for(var i=e,a=1,o=this[r+--i];i>0&&(a*=256);)o+=this[r+--i]*a;return a*=128,o>=a&&(o-=Math.pow(2,8*e)),o};s.prototype.readInt8=function(r,e){return r=r>>>0,e||T(r,1,this.length),this[r]&128?(255-this[r]+1)*-1:this[r]};s.prototype.readInt16LE=function(r,e){r=r>>>0,e||T(r,2,this.length);var n=this[r]|this[r+1]<<8;return n&32768?n|4294901760:n};s.prototype.readInt16BE=function(r,e){r=r>>>0,e||T(r,2,this.length);var n=this[r+1]|this[r]<<8;return n&32768?n|4294901760:n};s.prototype.readInt32LE=function(r,e){return r=r>>>0,e||T(r,4,this.length),this[r]|this[r+1]<<8|this[r+2]<<16|this[r+3]<<24};s.prototype.readInt32BE=function(r,e){return r=r>>>0,e||T(r,4,this.length),this[r]<<24|this[r+1]<<16|this[r+2]<<8|this[r+3]};s.prototype.readFloatLE=function(r,e){return r=r>>>0,e||T(r,4,this.length),E.read(this,r,!0,23,4)};s.prototype.readFloatBE=function(r,e){return r=r>>>0,e||T(r,4,this.length),E.read(this,r,!1,23,4)};s.prototype.readDoubleLE=function(r,e){return r=r>>>0,e||T(r,8,this.length),E.read(this,r,!0,52,8)};s.prototype.readDoubleBE=function(r,e){return r=r>>>0,e||T(r,8,this.length),E.read(this,r,!1,52,8)};function v(t,r,e,n,i,a){if(!s.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(r>i||r<a)throw new RangeError('"value" argument is out of bounds');if(e+n>t.length)throw new RangeError("Index out of range")}s.prototype.writeUintLE=s.prototype.writeUIntLE=function(r,e,n,i){if(r=+r,e=e>>>0,n=n>>>0,!i){var a=Math.pow(2,8*n)-1;v(this,r,e,n,a,0)}var o=1,p=0;for(this[e]=r&255;++p<n&&(o*=256);)this[e+p]=r/o&255;return e+n};s.prototype.writeUintBE=s.prototype.writeUIntBE=function(r,e,n,i){if(r=+r,e=e>>>0,n=n>>>0,!i){var a=Math.pow(2,8*n)-1;v(this,r,e,n,a,0)}var o=n-1,p=1;for(this[e+o]=r&255;--o>=0&&(p*=256);)this[e+o]=r/p&255;return e+n};s.prototype.writeUint8=s.prototype.writeUInt8=function(r,e,n){return r=+r,e=e>>>0,n||v(this,r,e,1,255,0),this[e]=r&255,e+1};s.prototype.writeUint16LE=s.prototype.writeUInt16LE=function(r,e,n){return r=+r,e=e>>>0,n||v(this,r,e,2,65535,0),this[e]=r&255,this[e+1]=r>>>8,e+2};s.prototype.writeUint16BE=s.prototype.writeUInt16BE=function(r,e,n){return r=+r,e=e>>>0,n||v(this,r,e,2,65535,0),this[e]=r>>>8,this[e+1]=r&255,e+2};s.prototype.writeUint32LE=s.prototype.writeUInt32LE=function(r,e,n){return r=+r,e=e>>>0,n||v(this,r,e,4,4294967295,0),this[e+3]=r>>>24,this[e+2]=r>>>16,this[e+1]=r>>>8,this[e]=r&255,e+4};s.prototype.writeUint32BE=s.prototype.writeUInt32BE=function(r,e,n){return r=+r,e=e>>>0,n||v(this,r,e,4,4294967295,0),this[e]=r>>>24,this[e+1]=r>>>16,this[e+2]=r>>>8,this[e+3]=r&255,e+4};s.prototype.writeIntLE=function(r,e,n,i){if(r=+r,e=e>>>0,!i){var a=Math.pow(2,8*n-1);v(this,r,e,n,a-1,-a)}var o=0,p=1,u=0;for(this[e]=r&255;++o<n&&(p*=256);)r<0&&u===0&&this[e+o-1]!==0&&(u=1),this[e+o]=(r/p>>0)-u&255;return e+n};s.prototype.writeIntBE=function(r,e,n,i){if(r=+r,e=e>>>0,!i){var a=Math.pow(2,8*n-1);v(this,r,e,n,a-1,-a)}var o=n-1,p=1,u=0;for(this[e+o]=r&255;--o>=0&&(p*=256);)r<0&&u===0&&this[e+o+1]!==0&&(u=1),this[e+o]=(r/p>>0)-u&255;return e+n};s.prototype.writeInt8=function(r,e,n){return r=+r,e=e>>>0,n||v(this,r,e,1,127,-128),r<0&&(r=255+r+1),this[e]=r&255,e+1};s.prototype.writeInt16LE=function(r,e,n){return r=+r,e=e>>>0,n||v(this,r,e,2,32767,-32768),this[e]=r&255,this[e+1]=r>>>8,e+2};s.prototype.writeInt16BE=function(r,e,n){return r=+r,e=e>>>0,n||v(this,r,e,2,32767,-32768),this[e]=r>>>8,this[e+1]=r&255,e+2};s.prototype.writeInt32LE=function(r,e,n){return r=+r,e=e>>>0,n||v(this,r,e,4,2147483647,-2147483648),this[e]=r&255,this[e+1]=r>>>8,this[e+2]=r>>>16,this[e+3]=r>>>24,e+4};s.prototype.writeInt32BE=function(r,e,n){return r=+r,e=e>>>0,n||v(this,r,e,4,2147483647,-2147483648),r<0&&(r=4294967295+r+1),this[e]=r>>>24,this[e+1]=r>>>16,this[e+2]=r>>>8,this[e+3]=r&255,e+4};function dr(t,r,e,n,i,a){if(e+n>t.length)throw new RangeError("Index out of range");if(e<0)throw new RangeError("Index out of range")}function yr(t,r,e,n,i){return r=+r,e=e>>>0,i||dr(t,r,e,4,34028234663852886e22,-34028234663852886e22),E.write(t,r,e,n,23,4),e+4}s.prototype.writeFloatLE=function(r,e,n){return yr(this,r,e,!0,n)};s.prototype.writeFloatBE=function(r,e,n){return yr(this,r,e,!1,n)};function xr(t,r,e,n,i){return r=+r,e=e>>>0,i||dr(t,r,e,8,17976931348623157e292,-17976931348623157e292),E.write(t,r,e,n,52,8),e+8}s.prototype.writeDoubleLE=function(r,e,n){return xr(this,r,e,!0,n)};s.prototype.writeDoubleBE=function(r,e,n){return xr(this,r,e,!1,n)};s.prototype.copy=function(r,e,n,i){if(!s.isBuffer(r))throw new TypeError("argument should be a Buffer");if(n||(n=0),!i&&i!==0&&(i=this.length),e>=r.length&&(e=r.length),e||(e=0),i>0&&i<n&&(i=n),i===n||r.length===0||this.length===0)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),r.length-e<i-n&&(i=r.length-e+n);var a=i-n;return this===r&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(e,n,i):Uint8Array.prototype.set.call(r,this.subarray(n,i),e),a};s.prototype.fill=function(r,e,n,i){if(typeof r=="string"){if(typeof e=="string"?(i=e,e=0,n=this.length):typeof n=="string"&&(i=n,n=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!s.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(r.length===1){var a=r.charCodeAt(0);(i==="utf8"&&a<128||i==="latin1")&&(r=a)}}else typeof r=="number"?r=r&255:typeof r=="boolean"&&(r=Number(r));if(e<0||this.length<e||this.length<n)throw new RangeError("Out of range index");if(n<=e)return this;e=e>>>0,n=n===void 0?this.length:n>>>0,r||(r=0);var o;if(typeof r=="number")for(o=e;o<n;++o)this[o]=r;else{var p=s.isBuffer(r)?r:s.from(r,i),u=p.length;if(u===0)throw new TypeError('The value "'+r+'" is invalid for argument "value"');for(o=0;o<n-e;++o)this[o+e]=p[o%u]}return this};var pe=/[^+/0-9A-Za-z-_]/g;function ue(t){if(t=t.split("=")[0],t=t.trim().replace(pe,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function J(t,r){r=r||1/0;for(var e,n=t.length,i=null,a=[],o=0;o<n;++o){if(e=t.charCodeAt(o),e>55295&&e<57344){if(!i){if(e>56319){(r-=3)>-1&&a.push(239,191,189);continue}else if(o+1===n){(r-=3)>-1&&a.push(239,191,189);continue}i=e;continue}if(e<56320){(r-=3)>-1&&a.push(239,191,189),i=e;continue}e=(i-55296<<10|e-56320)+65536}else i&&(r-=3)>-1&&a.push(239,191,189);if(i=null,e<128){if((r-=1)<0)break;a.push(e)}else if(e<2048){if((r-=2)<0)break;a.push(e>>6|192,e&63|128)}else if(e<65536){if((r-=3)<0)break;a.push(e>>12|224,e>>6&63|128,e&63|128)}else if(e<1114112){if((r-=4)<0)break;a.push(e>>18|240,e>>12&63|128,e>>6&63|128,e&63|128)}else throw new Error("Invalid code point")}return a}function ce(t){for(var r=[],e=0;e<t.length;++e)r.push(t.charCodeAt(e)&255);return r}function le(t,r){for(var e,n,i,a=[],o=0;o<t.length&&!((r-=2)<0);++o)e=t.charCodeAt(o),n=e>>8,i=e%256,a.push(i),a.push(n);return a}function mr(t){return Q.toByteArray(ue(t))}function H(t,r,e,n){for(var i=0;i<n&&!(i+e>=r.length||i>=t.length);++i)r[i+e]=t[i];return i}function S(t,r){return t instanceof r||t!=null&&t.constructor!=null&&t.constructor.name!=null&&t.constructor.name===r.name}function V(t){return t!==t}var fe=function(){for(var t="0123456789abcdef",r=new Array(256),e=0;e<16;++e)for(var n=e*16,i=0;i<16;++i)r[n+i]=t[e]+t[i];return r}()});var Ir=M((ve,kr)=>{l();var d=kr.exports={},b,R;function Z(){throw new Error("setTimeout has not been defined")}function rr(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?b=setTimeout:b=Z}catch(t){b=Z}try{typeof clearTimeout=="function"?R=clearTimeout:R=rr}catch(t){R=rr}})();function wr(t){if(b===setTimeout)return setTimeout(t,0);if((b===Z||!b)&&setTimeout)return b=setTimeout,setTimeout(t,0);try{return b(t,0)}catch(r){try{return b.call(null,t,0)}catch(e){return b.call(this,t,0)}}}function ge(t){if(R===clearTimeout)return clearTimeout(t);if((R===rr||!R)&&clearTimeout)return R=clearTimeout,clearTimeout(t);try{return R(t)}catch(r){try{return R.call(null,t)}catch(e){return R.call(this,t)}}}var B=[],N=!1,U,q=-1;function he(){!N||!U||(N=!1,U.length?B=U.concat(B):q=-1,B.length&&vr())}function vr(){if(!N){var t=wr(he);N=!0;for(var r=B.length;r;){for(U=B,B=[];++q<r;)U&&U[q].run();q=-1,r=B.length}U=null,N=!1,ge(t)}}d.nextTick=function(t){var r=new Array(arguments.length-1);if(arguments.length>1)for(var e=1;e<arguments.length;e++)r[e-1]=arguments[e];B.push(new Fr(t,r)),B.length===1&&!N&&wr(vr)};function Fr(t,r){this.fun=t,this.array=r}Fr.prototype.run=function(){this.fun.apply(null,this.array)};d.title="browser";d.browser=!0;d.env={};d.argv=[];d.version="";d.versions={};function _(){}d.on=_;d.addListener=_;d.once=_;d.off=_;d.removeListener=_;d.removeAllListeners=_;d.emit=_;d.prependListener=_;d.prependOnceListener=_;d.listeners=function(t){return[]};d.binding=function(t){throw new Error("process.binding is not supported")};d.cwd=function(){return"/"};d.chdir=function(t){throw new Error("process.chdir is not supported")};d.umask=function(){return 0}});var y,x,Fe,l=Er(()=>{y=W(Tr()),x=W(Ir()),Fe=function(t){function r(){var n=this||self;return delete t.prototype.__magic__,n}if(typeof globalThis=="object")return globalThis;if(this)return r();t.defineProperty(t.prototype,"__magic__",{configurable:!0,get:r});var e=__magic__;return e}(Object)});var ye={};Dr(ye,{parseMultiEsdtTransferData:()=>de});module.exports=Nr(ye);l();var er=W(require("bignumber.js"));l();l();l();l();l();l();l();l();l();l();l();l();l();function Sr(t){for(let r=0;r<t.length;r++)if(t.charCodeAt(r)>127)return!1;return!0}function br(t){let r=t;try{let e=y.Buffer.from(t,"hex").toString();Sr(e)&&e.length>1&&(r=e)}catch(e){}return r}l();var Rr=(t,r)=>{let e=[],n=t.indexOf(r,0);for(;n>=0;)e.push(n),n=t.indexOf(r,n+1);return e};function de(t){let r=[],e=0;try{if((t==null?void 0:t.startsWith("MultiESDTNFTTransfer"))&&(t==null?void 0:t.includes("@"))){let[,n,i,...a]=t==null?void 0:t.split("@");if(n){let o=new er.default(i,16).toNumber(),p=0;for(let c=0;c<o;c++){let h={type:"nftTransaction",data:"",receiver:n};for(let w=0;w<3;w++){switch(w){case 0:h.token=br(a[p]),h.data=a[p];break;case 1:{let k=a[p]&&a[p].length?a[p]:"";k&&k!=="00"?h.nonce=k:h.type="esdtTransaction",h.data=`${h.data}@${a[p]}`;break}case 2:h.amount=new er.default(a[p],16).toString(10),h.data=`${h.data}@${a[p]}`;break;default:break}e=p+1,p++}r[c]=h}let u=r.length!==o,f=r.some(c=>Rr(c.data,"@").length!==2),g=r.some(c=>c.data.startsWith("@"));if(u||f||g)return[];if(a[e]){let c=a[e];for(let h=e+1;h<a.length;h++)c+="@"+a[h];r[o]={type:"scCall",data:c,receiver:n}}}}}catch(n){return console.error("failed parsing tx",n),r}return r}0&&(module.exports={parseMultiEsdtTransferData});
2
2
  /*!
3
3
  * The buffer module from node.js, for the browser.
4
4
  *
@@ -1,4 +1,4 @@
1
- "use strict";var pr=Object.create;var Q=Object.defineProperty;var gr=Object.getOwnPropertyDescriptor;var dr=Object.getOwnPropertyNames;var mr=Object.getPrototypeOf,fr=Object.prototype.hasOwnProperty;var hr=(t,e)=>()=>(t&&(e=t(t=0)),e);var J=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),yr=(t,e)=>{for(var r in e)Q(t,r,{get:e[r],enumerable:!0})},ve=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of dr(e))!fr.call(t,i)&&i!==r&&Q(t,i,{get:()=>e[i],enumerable:!(n=gr(e,i))||n.enumerable});return t};var q=(t,e,r)=>(r=t!=null?pr(mr(t)):{},ve(e||!t||!t.__esModule?Q(r,"default",{value:t,enumerable:!0}):r,t)),xr=t=>ve(Q({},"__esModule",{value:!0}),t);var _e=J(ee=>{"use strict";l();ee.byteLength=wr;ee.toByteArray=Ir;ee.fromByteArray=Nr;var E=[],I=[],Tr=typeof Uint8Array!="undefined"?Uint8Array:Array,se="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(U=0,Ee=se.length;U<Ee;++U)E[U]=se[U],I[se.charCodeAt(U)]=U;var U,Ee;I["-".charCodeAt(0)]=62;I["_".charCodeAt(0)]=63;function Ne(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 wr(t){var e=Ne(t),r=e[0],n=e[1];return(r+n)*3/4-n}function br(t,e,r){return(e+r)*3/4-r}function Ir(t){var e,r=Ne(t),n=r[0],i=r[1],o=new Tr(br(t,n,i)),a=0,c=i>0?n-4:n,u;for(u=0;u<c;u+=4)e=I[t.charCodeAt(u)]<<18|I[t.charCodeAt(u+1)]<<12|I[t.charCodeAt(u+2)]<<6|I[t.charCodeAt(u+3)],o[a++]=e>>16&255,o[a++]=e>>8&255,o[a++]=e&255;return i===2&&(e=I[t.charCodeAt(u)]<<2|I[t.charCodeAt(u+1)]>>4,o[a++]=e&255),i===1&&(e=I[t.charCodeAt(u)]<<10|I[t.charCodeAt(u+1)]<<4|I[t.charCodeAt(u+2)]>>2,o[a++]=e>>8&255,o[a++]=e&255),o}function vr(t){return E[t>>18&63]+E[t>>12&63]+E[t>>6&63]+E[t&63]}function Er(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(vr(n));return i.join("")}function Nr(t){for(var e,r=t.length,n=r%3,i=[],o=16383,a=0,c=r-n;a<c;a+=o)i.push(Er(t,a,a+o>c?c:a+o));return n===1?(e=t[r-1],i.push(E[e>>2]+E[e<<4&63]+"==")):n===2&&(e=(t[r-2]<<8)+t[r-1],i.push(E[e>>10]+E[e>>4&63]+E[e<<2&63]+"=")),i.join("")}});var Se=J(le=>{l();le.read=function(t,e,r,n,i){var o,a,c=i*8-n-1,u=(1<<c)-1,m=u>>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===u)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)};le.write=function(t,e,r,n,i,o){var a,c,u,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,A=n?1:-1,K=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*(u=Math.pow(2,-a))<1&&(a--,u*=2),a+f>=1?e+=y/u:e+=y*Math.pow(2,1-f),e*u>=2&&(a++,u/=2),a+f>=h?(c=0,a=h):a+f>=1?(c=(e*u-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+=A,c/=256,i-=8);for(a=a<<i|c,m+=i;m>0;t[r+w]=a&255,w+=A,a/=256,m-=8);t[r+w-A]|=K*128}});var Ge=J(V=>{"use strict";l();var ce=_e(),$=Se(),ke=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;V.Buffer=s;V.SlowBuffer=Dr;V.INSPECT_MAX_BYTES=50;var re=2147483647;V.kMaxLength=re;s.TYPED_ARRAY_SUPPORT=_r();!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 _r(){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>re)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 de(t)}return De(t,e,r)}s.poolSize=8192;function De(t,e,r){if(typeof t=="string")return kr(t,e);if(ArrayBuffer.isView(t))return Ar(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(N(t,ArrayBuffer)||t&&N(t.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(N(t,SharedArrayBuffer)||t&&N(t.buffer,SharedArrayBuffer)))return pe(t,e,r);if(typeof t=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var n=t.valueOf&&t.valueOf();if(n!=null&&n!==t)return s.from(n,e,r);var i=Rr(t);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof t[Symbol.toPrimitive]=="function")return s.from(t[Symbol.toPrimitive]("string"),e,r);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}s.from=function(t,e,r){return De(t,e,r)};Object.setPrototypeOf(s.prototype,Uint8Array.prototype);Object.setPrototypeOf(s,Uint8Array);function Le(t){if(typeof t!="number")throw new TypeError('"size" argument must be of type number');if(t<0)throw new RangeError('The value "'+t+'" is invalid for option "size"')}function Sr(t,e,r){return Le(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 Sr(t,e,r)};function de(t){return Le(t),R(t<0?0:me(t)|0)}s.allocUnsafe=function(t){return de(t)};s.allocUnsafeSlow=function(t){return de(t)};function kr(t,e){if((typeof e!="string"||e==="")&&(e="utf8"),!s.isEncoding(e))throw new TypeError("Unknown encoding: "+e);var r=Ce(t,e)|0,n=R(r),i=n.write(t,e);return i!==r&&(n=n.slice(0,i)),n}function ue(t){for(var e=t.length<0?0:me(t.length)|0,r=R(e),n=0;n<e;n+=1)r[n]=t[n]&255;return r}function Ar(t){if(N(t,Uint8Array)){var e=new Uint8Array(t);return pe(e.buffer,e.byteOffset,e.byteLength)}return ue(t)}function pe(t,e,r){if(e<0||t.byteLength<e)throw new RangeError('"offset" is outside of buffer bounds');if(t.byteLength<e+(r||0))throw new RangeError('"length" is outside of buffer bounds');var n;return e===void 0&&r===void 0?n=new Uint8Array(t):r===void 0?n=new Uint8Array(t,e):n=new Uint8Array(t,e,r),Object.setPrototypeOf(n,s.prototype),n}function Rr(t){if(s.isBuffer(t)){var e=me(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"||fe(t.length)?R(0):ue(t);if(t.type==="Buffer"&&Array.isArray(t.data))return ue(t.data)}function me(t){if(t>=re)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+re.toString(16)+" bytes");return t|0}function Dr(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(N(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),N(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(N(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 Ce(t,e){if(s.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||N(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 ge(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return Me(t).length;default:if(i)return n?-1:ge(t).length;e=(""+e).toLowerCase(),i=!0}}s.byteLength=Ce;function Lr(t,e,r){var n=!1;if((e===void 0||e<0)&&(e=0),e>this.length||((r===void 0||r>this.length)&&(r=this.length),r<=0)||(r>>>=0,e>>>=0,r<=e))return"";for(t||(t="utf8");;)switch(t){case"hex":return Vr(this,e,r);case"utf8":case"utf-8":return Fe(this,e,r);case"ascii":return Gr(this,e,r);case"latin1":case"binary":return $r(this,e,r);case"base64":return Pr(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Hr(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?Fe(this,0,e):Lr.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=V.INSPECT_MAX_BYTES;return e=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(e+=" ... "),"<Buffer "+e+">"};ke&&(s.prototype[ke]=s.prototype.inspect);s.prototype.compare=function(e,r,n,i,o){if(N(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,u=Math.min(a,c),m=this.slice(i,o),h=e.slice(r,n),f=0;f<u;++f)if(m[f]!==h[f]){a=m[f],c=h[f];break}return a<c?-1:c<a?1:0};function Oe(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,fe(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:Ae(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):Ae(t,[e],r,n,i);throw new TypeError("val must be string, number or Buffer")}function Ae(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 u(w,A){return o===1?w[A]:w.readUInt16BE(A*o)}var m;if(i){var h=-1;for(m=r;m<a;m++)if(u(t,m)===u(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(u(t,m+y)!==u(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 Oe(this,e,r,n,!0)};s.prototype.lastIndexOf=function(e,r,n){return Oe(this,e,r,n,!1)};function Cr(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(fe(c))return a;t[r+a]=c}return a}function Or(t,e,r,n){return te(ge(e,t.length-r),t,r,n)}function Fr(t,e,r,n){return te(qr(e),t,r,n)}function Ur(t,e,r,n){return te(Me(e),t,r,n)}function Br(t,e,r,n){return te(jr(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 Cr(this,e,r,n);case"utf8":case"utf-8":return Or(this,e,r,n);case"ascii":case"latin1":case"binary":return Fr(this,e,r,n);case"base64":return Ur(this,e,r,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Br(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 Pr(t,e,r){return e===0&&r===t.length?ce.fromByteArray(t):ce.fromByteArray(t.slice(e,r))}function Fe(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 u,m,h,f;switch(c){case 1:o<128&&(a=o);break;case 2:u=t[i+1],(u&192)===128&&(f=(o&31)<<6|u&63,f>127&&(a=f));break;case 3:u=t[i+1],m=t[i+2],(u&192)===128&&(m&192)===128&&(f=(o&15)<<12|(u&63)<<6|m&63,f>2047&&(f<55296||f>57343)&&(a=f));break;case 4:u=t[i+1],m=t[i+2],h=t[i+3],(u&192)===128&&(m&192)===128&&(h&192)===128&&(f=(o&15)<<18|(u&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 Mr(n)}var Re=4096;function Mr(t){var e=t.length;if(e<=Re)return String.fromCharCode.apply(String,t);for(var r="",n=0;n<e;)r+=String.fromCharCode.apply(String,t.slice(n,n+=Re));return r}function Gr(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 $r(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;i<r;++i)n+=String.fromCharCode(t[i]);return n}function Vr(t,e,r){var n=t.length;(!e||e<0)&&(e=0),(!r||r<0||r>n)&&(r=n);for(var i="",o=e;o<r;++o)i+=Kr[t[o]];return i}function Hr(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 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,u=0;for(this[r]=e&255;++a<n&&(c*=256);)e<0&&u===0&&this[r+a-1]!==0&&(u=1),this[r+a]=(e/c>>0)-u&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,u=0;for(this[r+a]=e&255;--a>=0&&(c*=256);)e<0&&u===0&&this[r+a+1]!==0&&(u=1),this[r+a]=(e/c>>0)-u&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 Ue(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 Be(t,e,r,n,i){return e=+e,r=r>>>0,i||Ue(t,e,r,4,34028234663852886e22,-34028234663852886e22),$.write(t,e,r,n,23,4),r+4}s.prototype.writeFloatLE=function(e,r,n){return Be(this,e,r,!0,n)};s.prototype.writeFloatBE=function(e,r,n){return Be(this,e,r,!1,n)};function Pe(t,e,r,n,i){return e=+e,r=r>>>0,i||Ue(t,e,r,8,17976931348623157e292,-17976931348623157e292),$.write(t,e,r,n,52,8),r+8}s.prototype.writeDoubleLE=function(e,r,n){return Pe(this,e,r,!0,n)};s.prototype.writeDoubleBE=function(e,r,n){return Pe(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),u=c.length;if(u===0)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(a=0;a<n-r;++a)this[a+r]=c[a%u]}return this};var Wr=/[^+/0-9A-Za-z-_]/g;function zr(t){if(t=t.split("=")[0],t=t.trim().replace(Wr,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function ge(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 qr(t){for(var e=[],r=0;r<t.length;++r)e.push(t.charCodeAt(r)&255);return e}function jr(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 Me(t){return ce.toByteArray(zr(t))}function te(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 N(t,e){return t instanceof e||t!=null&&t.constructor!=null&&t.constructor.name!=null&&t.constructor.name===e.name}function fe(t){return t!==t}var Kr=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 ze=J((st,We)=>{l();var x=We.exports={},_,S;function he(){throw new Error("setTimeout has not been defined")}function ye(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?_=setTimeout:_=he}catch(t){_=he}try{typeof clearTimeout=="function"?S=clearTimeout:S=ye}catch(t){S=ye}})();function $e(t){if(_===setTimeout)return setTimeout(t,0);if((_===he||!_)&&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 Xr(t){if(S===clearTimeout)return clearTimeout(t);if((S===ye||!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 D=[],H=!1,P,ne=-1;function Yr(){!H||!P||(H=!1,P.length?D=P.concat(D):ne=-1,D.length&&Ve())}function Ve(){if(!H){var t=$e(Yr);H=!0;for(var e=D.length;e;){for(P=D,D=[];++ne<e;)P&&P[ne].run();ne=-1,e=D.length}P=null,H=!1,Xr(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];D.push(new He(t,e)),D.length===1&&!H&&$e(Ve)};function He(t,e){this.fun=t,this.array=e}He.prototype.run=function(){this.fun.apply(null,this.array)};x.title="browser";x.browser=!0;x.env={};x.argv=[];x.version="";x.versions={};function L(){}x.on=L;x.addListener=L;x.once=L;x.off=L;x.removeListener=L;x.removeAllListeners=L;x.emit=L;x.prependListener=L;x.prependOnceListener=L;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 p,g,lt,l=hr(()=>{p=q(Ge()),g=q(ze()),lt=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 rt={};yr(rt,{getTransactionActionNftText:()=>et});module.exports=xr(rt);l();l();l();l();l();l();l();l();l();l();l();l();l();l();l();l();l();l();l();l();l();l();l();var xe={devnet:{id:"devnet",chainId:"D",name:"Devnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://devnet-wallet.multiversx.com",apiAddress:"https://devnet-api.multiversx.com",explorerAddress:"http://devnet-explorer.multiversx.com",apiTimeout:"4000"},testnet:{id:"testnet",chainId:"T",name:"Testnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://testnet-wallet.multiversx.com",apiAddress:"https://testnet-api.multiversx.com",explorerAddress:"http://testnet-explorer.multiversx.com",apiTimeout:"4000"},mainnet:{id:"mainnet",chainId:"1",name:"Mainnet",egldLabel:"EGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://wallet.multiversx.com",apiAddress:"https://api.multiversx.com",explorerAddress:"https://explorer.multiversx.com",apiTimeout:"4000"}},{chainId:qe,egldLabel:Ot}=xe["devnet"],{chainId:je,egldLabel:Ft}=xe["testnet"],{chainId:Ke,egldLabel:Ut}=xe["mainnet"];var Bt={["devnet"]:qe,["testnet"]:je,["mainnet"]:Ke},Pt={[qe]:"devnet",[je]:"testnet",[Ke]:"mainnet"};l();l();var k=require("@multiversx/sdk-web-wallet-provider");var M=18,ie=4;var oe="0";l();var Ye=require("@multiversx/sdk-core"),O=q(require("bignumber.js"));l();var Xe=q(require("bignumber.js")),Te=(t,e=!0)=>{let r=String(t);if(!r.match(/^[-]?\d+$/))return!1;let n=new Xe.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}}}O.default.config({ROUNDING_MODE:O.default.ROUND_FLOOR});function ae({input:t,decimals:e=M,digits:r=ie,showLastNonZeroDecimal:n=!0,showIsLessThanDecimalsLabel:i=!1,addCommas:o=!1}){if(!Te(t,!1))throw new Error("Invalid input");let a=new O.default(t).isNegative(),c=t;return a&&(c=t.substring(1)),C(c).then(()=>Ye.TokenTransfer.fungibleFromBigInteger("",c,e).amountAsBigInteger.shiftedBy(-e).toFixed(e)).then(u=>{let m=new O.default(u);if(m.isZero())return oe;let h=m.toString(10),[f,y]=h.split("."),w=new O.default(y||0),A=C(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(),K=y&&r>=1&&r<=y.length&&w.isGreaterThan(0)&&new O.default(y.substring(0,r)).isZero(),lr=m.toFormat(A);return C(h).if(o).then(lr).if(Boolean(K)).then(X=>{let z=new O.default(f).isZero(),[v,Y]=X.split("."),Z=new Array(r-1).fill(0),cr=[...Z,0].join(""),ur=[...Z,1].join("");return z?i?`<${v}.${ur}`:n?`${v}.${Y}`:v:`${v}.${cr}`}).if(Boolean(!K&&y)).then(X=>{let[z]=X.split("."),v=y.substring(0,A);if(n){let Y=r-v.length;if(Y>0){let Z=Array(Y).fill(0).join("");return v=`${v}${Z}`,`${z}.${v}`}return X}return v?`${z}.${v}`:z}).valueOf()}).if(a).then(u=>`-${u}`).valueOf()}l();l();var Zr=require("@multiversx/sdk-core");l();var j=require("@multiversx/sdk-core"),Jr=require("@multiversx/sdk-network-providers");l();l();var Qr=q(require("bignumber.js"));l();l();l();l();l();l();l();l();l();l();var F="accounts";var Ze="blocks",Qe="code",Je="collections";var er="contracts";var rr="identities";var tr="locked-accounts",nr="logs",ir="miniblocks";var we="nfts",or="nodes",be="providers",ar="roles",Ie="sc-results";var W="tokens";var G="transactions";var sr={shard:t=>`/${Ze}?shard=${t}`,receiverShard:t=>`/${G}?receivershard=${t}`,senderShard:t=>`/${G}?sendershard=${t}`,transactionDetails:t=>`/${G}/${t}`,transactionDetailsScResults:t=>`/${G}/${t}/${Ie}`,transactionDetailsLogs:t=>`/${G}/${t}/${nr}`,nodeDetails:t=>`/${or}/${t}`,accountDetails:t=>`/${F}/${t}`,accountDetailsContractCode:t=>`/${F}/${t}/${Qe}`,accountDetailsTokens:t=>`/${F}/${t}/${W}`,accountDetailsNfts:t=>`/${F}/${t}/${we}`,accountDetailsScResults:t=>`/${F}/${t}/${Ie}`,accountDetailsContracts:t=>`/${F}/${t}/${er}`,identityDetails:t=>`/${rr}/${t}`,tokenDetails:t=>`/${W}/${t}`,tokenDetailsAccounts:t=>`/${W}/${t}/${F}`,tokenDetailsLockedAccounts:t=>`/${W}/${t}/${tr}`,tokenDetailsRoles:t=>`/${W}/${t}/${ar}`,collectionDetails:t=>`/${Je}/${t}`,nftDetails:t=>`/${we}/${t}`,providerDetails:t=>`/${be}/${t}`,providerDetailsTransactions:t=>`/${be}/${t}/${G}`,miniblockDetails:t=>`/${ir}/${t}`};function et({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?ae({input:t.value,decimals:t.decimals,digits:2,showLastNonZeroDecimal:r}):Number(t.value).toLocaleString("en"));let c=sr.nftDetails(String(t.identifier)),u=t.ticker===t.collection&&(m=t.identifier)!=null?m:t.ticker;return{badgeText:o,tokenFormattedAmount:n?a:null,tokenExplorerLink:c,tokenLinkText:u,token:t,noValue:e,showLastNonZeroDecimal:r}}0&&(module.exports={getTransactionActionNftText});
1
+ "use strict";var pr=Object.create;var Q=Object.defineProperty;var gr=Object.getOwnPropertyDescriptor;var dr=Object.getOwnPropertyNames;var mr=Object.getPrototypeOf,fr=Object.prototype.hasOwnProperty;var hr=(t,e)=>()=>(t&&(e=t(t=0)),e);var J=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),yr=(t,e)=>{for(var r in e)Q(t,r,{get:e[r],enumerable:!0})},ve=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of dr(e))!fr.call(t,i)&&i!==r&&Q(t,i,{get:()=>e[i],enumerable:!(n=gr(e,i))||n.enumerable});return t};var q=(t,e,r)=>(r=t!=null?pr(mr(t)):{},ve(e||!t||!t.__esModule?Q(r,"default",{value:t,enumerable:!0}):r,t)),xr=t=>ve(Q({},"__esModule",{value:!0}),t);var Ne=J(ee=>{"use strict";l();ee.byteLength=wr;ee.toByteArray=Ir;ee.fromByteArray=Sr;var E=[],I=[],Tr=typeof Uint8Array!="undefined"?Uint8Array:Array,se="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(U=0,Ee=se.length;U<Ee;++U)E[U]=se[U],I[se.charCodeAt(U)]=U;var U,Ee;I["-".charCodeAt(0)]=62;I["_".charCodeAt(0)]=63;function Se(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 wr(t){var e=Se(t),r=e[0],n=e[1];return(r+n)*3/4-n}function br(t,e,r){return(e+r)*3/4-r}function Ir(t){var e,r=Se(t),n=r[0],i=r[1],o=new Tr(br(t,n,i)),a=0,c=i>0?n-4:n,u;for(u=0;u<c;u+=4)e=I[t.charCodeAt(u)]<<18|I[t.charCodeAt(u+1)]<<12|I[t.charCodeAt(u+2)]<<6|I[t.charCodeAt(u+3)],o[a++]=e>>16&255,o[a++]=e>>8&255,o[a++]=e&255;return i===2&&(e=I[t.charCodeAt(u)]<<2|I[t.charCodeAt(u+1)]>>4,o[a++]=e&255),i===1&&(e=I[t.charCodeAt(u)]<<10|I[t.charCodeAt(u+1)]<<4|I[t.charCodeAt(u+2)]>>2,o[a++]=e>>8&255,o[a++]=e&255),o}function vr(t){return E[t>>18&63]+E[t>>12&63]+E[t>>6&63]+E[t&63]}function Er(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(vr(n));return i.join("")}function Sr(t){for(var e,r=t.length,n=r%3,i=[],o=16383,a=0,c=r-n;a<c;a+=o)i.push(Er(t,a,a+o>c?c:a+o));return n===1?(e=t[r-1],i.push(E[e>>2]+E[e<<4&63]+"==")):n===2&&(e=(t[r-2]<<8)+t[r-1],i.push(E[e>>10]+E[e>>4&63]+E[e<<2&63]+"=")),i.join("")}});var _e=J(le=>{l();le.read=function(t,e,r,n,i){var o,a,c=i*8-n-1,u=(1<<c)-1,m=u>>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===u)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)};le.write=function(t,e,r,n,i,o){var a,c,u,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,A=n?1:-1,K=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*(u=Math.pow(2,-a))<1&&(a--,u*=2),a+f>=1?e+=y/u:e+=y*Math.pow(2,1-f),e*u>=2&&(a++,u/=2),a+f>=h?(c=0,a=h):a+f>=1?(c=(e*u-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+=A,c/=256,i-=8);for(a=a<<i|c,m+=i;m>0;t[r+w]=a&255,w+=A,a/=256,m-=8);t[r+w-A]|=K*128}});var Ge=J(V=>{"use strict";l();var ce=Ne(),$=_e(),ke=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;V.Buffer=s;V.SlowBuffer=Dr;V.INSPECT_MAX_BYTES=50;var re=2147483647;V.kMaxLength=re;s.TYPED_ARRAY_SUPPORT=Nr();!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 Nr(){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>re)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 de(t)}return De(t,e,r)}s.poolSize=8192;function De(t,e,r){if(typeof t=="string")return kr(t,e);if(ArrayBuffer.isView(t))return Ar(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(S(t,ArrayBuffer)||t&&S(t.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(S(t,SharedArrayBuffer)||t&&S(t.buffer,SharedArrayBuffer)))return pe(t,e,r);if(typeof t=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var n=t.valueOf&&t.valueOf();if(n!=null&&n!==t)return s.from(n,e,r);var i=Rr(t);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof t[Symbol.toPrimitive]=="function")return s.from(t[Symbol.toPrimitive]("string"),e,r);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}s.from=function(t,e,r){return De(t,e,r)};Object.setPrototypeOf(s.prototype,Uint8Array.prototype);Object.setPrototypeOf(s,Uint8Array);function Le(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 _r(t,e,r){return Le(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 _r(t,e,r)};function de(t){return Le(t),R(t<0?0:me(t)|0)}s.allocUnsafe=function(t){return de(t)};s.allocUnsafeSlow=function(t){return de(t)};function kr(t,e){if((typeof e!="string"||e==="")&&(e="utf8"),!s.isEncoding(e))throw new TypeError("Unknown encoding: "+e);var r=Ce(t,e)|0,n=R(r),i=n.write(t,e);return i!==r&&(n=n.slice(0,i)),n}function ue(t){for(var e=t.length<0?0:me(t.length)|0,r=R(e),n=0;n<e;n+=1)r[n]=t[n]&255;return r}function Ar(t){if(S(t,Uint8Array)){var e=new Uint8Array(t);return pe(e.buffer,e.byteOffset,e.byteLength)}return ue(t)}function pe(t,e,r){if(e<0||t.byteLength<e)throw new RangeError('"offset" is outside of buffer bounds');if(t.byteLength<e+(r||0))throw new RangeError('"length" is outside of buffer bounds');var n;return e===void 0&&r===void 0?n=new Uint8Array(t):r===void 0?n=new Uint8Array(t,e):n=new Uint8Array(t,e,r),Object.setPrototypeOf(n,s.prototype),n}function Rr(t){if(s.isBuffer(t)){var e=me(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"||fe(t.length)?R(0):ue(t);if(t.type==="Buffer"&&Array.isArray(t.data))return ue(t.data)}function me(t){if(t>=re)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+re.toString(16)+" bytes");return t|0}function Dr(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(S(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),S(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(S(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 Ce(t,e){if(s.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||S(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 ge(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return Me(t).length;default:if(i)return n?-1:ge(t).length;e=(""+e).toLowerCase(),i=!0}}s.byteLength=Ce;function Lr(t,e,r){var n=!1;if((e===void 0||e<0)&&(e=0),e>this.length||((r===void 0||r>this.length)&&(r=this.length),r<=0)||(r>>>=0,e>>>=0,r<=e))return"";for(t||(t="utf8");;)switch(t){case"hex":return Vr(this,e,r);case"utf8":case"utf-8":return Fe(this,e,r);case"ascii":return Gr(this,e,r);case"latin1":case"binary":return $r(this,e,r);case"base64":return Pr(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Hr(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?Fe(this,0,e):Lr.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=V.INSPECT_MAX_BYTES;return e=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(e+=" ... "),"<Buffer "+e+">"};ke&&(s.prototype[ke]=s.prototype.inspect);s.prototype.compare=function(e,r,n,i,o){if(S(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,u=Math.min(a,c),m=this.slice(i,o),h=e.slice(r,n),f=0;f<u;++f)if(m[f]!==h[f]){a=m[f],c=h[f];break}return a<c?-1:c<a?1:0};function Oe(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,fe(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:Ae(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):Ae(t,[e],r,n,i);throw new TypeError("val must be string, number or Buffer")}function Ae(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 u(w,A){return o===1?w[A]:w.readUInt16BE(A*o)}var m;if(i){var h=-1;for(m=r;m<a;m++)if(u(t,m)===u(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(u(t,m+y)!==u(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 Oe(this,e,r,n,!0)};s.prototype.lastIndexOf=function(e,r,n){return Oe(this,e,r,n,!1)};function Cr(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(fe(c))return a;t[r+a]=c}return a}function Or(t,e,r,n){return te(ge(e,t.length-r),t,r,n)}function Fr(t,e,r,n){return te(qr(e),t,r,n)}function Ur(t,e,r,n){return te(Me(e),t,r,n)}function Br(t,e,r,n){return te(jr(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 Cr(this,e,r,n);case"utf8":case"utf-8":return Or(this,e,r,n);case"ascii":case"latin1":case"binary":return Fr(this,e,r,n);case"base64":return Ur(this,e,r,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Br(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 Pr(t,e,r){return e===0&&r===t.length?ce.fromByteArray(t):ce.fromByteArray(t.slice(e,r))}function Fe(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 u,m,h,f;switch(c){case 1:o<128&&(a=o);break;case 2:u=t[i+1],(u&192)===128&&(f=(o&31)<<6|u&63,f>127&&(a=f));break;case 3:u=t[i+1],m=t[i+2],(u&192)===128&&(m&192)===128&&(f=(o&15)<<12|(u&63)<<6|m&63,f>2047&&(f<55296||f>57343)&&(a=f));break;case 4:u=t[i+1],m=t[i+2],h=t[i+3],(u&192)===128&&(m&192)===128&&(h&192)===128&&(f=(o&15)<<18|(u&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 Mr(n)}var Re=4096;function Mr(t){var e=t.length;if(e<=Re)return String.fromCharCode.apply(String,t);for(var r="",n=0;n<e;)r+=String.fromCharCode.apply(String,t.slice(n,n+=Re));return r}function Gr(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 $r(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;i<r;++i)n+=String.fromCharCode(t[i]);return n}function Vr(t,e,r){var n=t.length;(!e||e<0)&&(e=0),(!r||r<0||r>n)&&(r=n);for(var i="",o=e;o<r;++o)i+=Kr[t[o]];return i}function Hr(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 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,u=0;for(this[r]=e&255;++a<n&&(c*=256);)e<0&&u===0&&this[r+a-1]!==0&&(u=1),this[r+a]=(e/c>>0)-u&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,u=0;for(this[r+a]=e&255;--a>=0&&(c*=256);)e<0&&u===0&&this[r+a+1]!==0&&(u=1),this[r+a]=(e/c>>0)-u&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 Ue(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 Be(t,e,r,n,i){return e=+e,r=r>>>0,i||Ue(t,e,r,4,34028234663852886e22,-34028234663852886e22),$.write(t,e,r,n,23,4),r+4}s.prototype.writeFloatLE=function(e,r,n){return Be(this,e,r,!0,n)};s.prototype.writeFloatBE=function(e,r,n){return Be(this,e,r,!1,n)};function Pe(t,e,r,n,i){return e=+e,r=r>>>0,i||Ue(t,e,r,8,17976931348623157e292,-17976931348623157e292),$.write(t,e,r,n,52,8),r+8}s.prototype.writeDoubleLE=function(e,r,n){return Pe(this,e,r,!0,n)};s.prototype.writeDoubleBE=function(e,r,n){return Pe(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),u=c.length;if(u===0)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(a=0;a<n-r;++a)this[a+r]=c[a%u]}return this};var Wr=/[^+/0-9A-Za-z-_]/g;function zr(t){if(t=t.split("=")[0],t=t.trim().replace(Wr,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function ge(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 qr(t){for(var e=[],r=0;r<t.length;++r)e.push(t.charCodeAt(r)&255);return e}function jr(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 Me(t){return ce.toByteArray(zr(t))}function te(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 S(t,e){return t instanceof e||t!=null&&t.constructor!=null&&t.constructor.name!=null&&t.constructor.name===e.name}function fe(t){return t!==t}var Kr=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 ze=J((st,We)=>{l();var x=We.exports={},N,_;function he(){throw new Error("setTimeout has not been defined")}function ye(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?N=setTimeout:N=he}catch(t){N=he}try{typeof clearTimeout=="function"?_=clearTimeout:_=ye}catch(t){_=ye}})();function $e(t){if(N===setTimeout)return setTimeout(t,0);if((N===he||!N)&&setTimeout)return N=setTimeout,setTimeout(t,0);try{return N(t,0)}catch(e){try{return N.call(null,t,0)}catch(r){return N.call(this,t,0)}}}function Xr(t){if(_===clearTimeout)return clearTimeout(t);if((_===ye||!_)&&clearTimeout)return _=clearTimeout,clearTimeout(t);try{return _(t)}catch(e){try{return _.call(null,t)}catch(r){return _.call(this,t)}}}var D=[],H=!1,P,ne=-1;function Yr(){!H||!P||(H=!1,P.length?D=P.concat(D):ne=-1,D.length&&Ve())}function Ve(){if(!H){var t=$e(Yr);H=!0;for(var e=D.length;e;){for(P=D,D=[];++ne<e;)P&&P[ne].run();ne=-1,e=D.length}P=null,H=!1,Xr(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];D.push(new He(t,e)),D.length===1&&!H&&$e(Ve)};function He(t,e){this.fun=t,this.array=e}He.prototype.run=function(){this.fun.apply(null,this.array)};x.title="browser";x.browser=!0;x.env={};x.argv=[];x.version="";x.versions={};function L(){}x.on=L;x.addListener=L;x.once=L;x.off=L;x.removeListener=L;x.removeAllListeners=L;x.emit=L;x.prependListener=L;x.prependOnceListener=L;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 p,g,lt,l=hr(()=>{p=q(Ge()),g=q(ze()),lt=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 rt={};yr(rt,{getTransactionActionNftText:()=>et});module.exports=xr(rt);l();l();l();l();l();l();l();l();l();l();l();l();l();l();l();l();l();l();l();l();l();l();l();var xe={devnet:{id:"devnet",chainId:"D",name:"Devnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://devnet-wallet.multiversx.com",apiAddress:"https://devnet-api.multiversx.com",explorerAddress:"http://devnet-explorer.multiversx.com",apiTimeout:"4000"},testnet:{id:"testnet",chainId:"T",name:"Testnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://testnet-wallet.multiversx.com",apiAddress:"https://testnet-api.multiversx.com",explorerAddress:"http://testnet-explorer.multiversx.com",apiTimeout:"4000"},mainnet:{id:"mainnet",chainId:"1",name:"Mainnet",egldLabel:"EGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://wallet.multiversx.com",apiAddress:"https://api.multiversx.com",explorerAddress:"https://explorer.multiversx.com",apiTimeout:"4000"}},{chainId:qe,egldLabel:Ot}=xe["devnet"],{chainId:je,egldLabel:Ft}=xe["testnet"],{chainId:Ke,egldLabel:Ut}=xe["mainnet"];var Bt={["devnet"]:qe,["testnet"]:je,["mainnet"]:Ke},Pt={[qe]:"devnet",[je]:"testnet",[Ke]:"mainnet"};l();l();var k=require("@multiversx/sdk-web-wallet-provider");var M=18,ie=4;var oe="0";l();var Ye=require("@multiversx/sdk-core"),O=q(require("bignumber.js"));l();var Xe=q(require("bignumber.js")),Te=(t,e=!0)=>{let r=String(t);if(!r.match(/^[-]?\d+$/))return!1;let n=new Xe.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}}}O.default.config({ROUNDING_MODE:O.default.ROUND_FLOOR});function ae({input:t,decimals:e=M,digits:r=ie,showLastNonZeroDecimal:n=!0,showIsLessThanDecimalsLabel:i=!1,addCommas:o=!1}){if(!Te(t,!1))throw new Error("Invalid input");let a=new O.default(t).isNegative(),c=t;return a&&(c=t.substring(1)),C(c).then(()=>Ye.TokenTransfer.fungibleFromBigInteger("",c,e).amountAsBigInteger.shiftedBy(-e).toFixed(e)).then(u=>{let m=new O.default(u);if(m.isZero())return oe;let h=m.toString(10),[f,y]=h.split("."),w=new O.default(y||0),A=C(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(),K=y&&r>=1&&r<=y.length&&w.isGreaterThan(0)&&new O.default(y.substring(0,r)).isZero(),lr=m.toFormat(A);return C(h).if(o).then(lr).if(Boolean(K)).then(X=>{let z=new O.default(f).isZero(),[v,Y]=X.split("."),Z=new Array(r-1).fill(0),cr=[...Z,0].join(""),ur=[...Z,1].join("");return z?i?`<${v}.${ur}`:n?`${v}.${Y}`:v:`${v}.${cr}`}).if(Boolean(!K&&y)).then(X=>{let[z]=X.split("."),v=y.substring(0,A);if(n){let Y=r-v.length;if(Y>0){let Z=Array(Y).fill(0).join("");return v=`${v}${Z}`,`${z}.${v}`}return X}return v?`${z}.${v}`:z}).valueOf()}).if(a).then(u=>`-${u}`).valueOf()}l();l();var Zr=require("@multiversx/sdk-core");l();var j=require("@multiversx/sdk-core"),Jr=require("@multiversx/sdk-network-providers");l();l();var Qr=q(require("bignumber.js"));l();l();l();l();l();l();l();l();l();l();var F="accounts";var Ze="blocks",Qe="code",Je="collections";var er="contracts";var rr="identities";var tr="locked-accounts",nr="logs",ir="miniblocks";var we="nfts",or="nodes",be="providers",ar="roles",Ie="sc-results";var W="tokens";var G="transactions";var sr={shard:t=>`/${Ze}?shard=${t}`,receiverShard:t=>`/${G}?receivershard=${t}`,senderShard:t=>`/${G}?sendershard=${t}`,transactionDetails:t=>`/${G}/${t}`,transactionDetailsScResults:t=>`/${G}/${t}/${Ie}`,transactionDetailsLogs:t=>`/${G}/${t}/${nr}`,nodeDetails:t=>`/${or}/${t}`,accountDetails:t=>`/${F}/${t}`,accountDetailsContractCode:t=>`/${F}/${t}/${Qe}`,accountDetailsTokens:t=>`/${F}/${t}/${W}`,accountDetailsNfts:t=>`/${F}/${t}/${we}`,accountDetailsScResults:t=>`/${F}/${t}/${Ie}`,accountDetailsContracts:t=>`/${F}/${t}/${er}`,identityDetails:t=>`/${rr}/${t}`,tokenDetails:t=>`/${W}/${t}`,tokenDetailsAccounts:t=>`/${W}/${t}/${F}`,tokenDetailsLockedAccounts:t=>`/${W}/${t}/${tr}`,tokenDetailsRoles:t=>`/${W}/${t}/${ar}`,collectionDetails:t=>`/${Je}/${t}`,nftDetails:t=>`/${we}/${t}`,providerDetails:t=>`/${be}/${t}`,providerDetailsTransactions:t=>`/${be}/${t}/${G}`,miniblockDetails:t=>`/${ir}/${t}`};function et({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?ae({input:t.value,decimals:t.decimals,digits:2,showLastNonZeroDecimal:r}):Number(t.value).toLocaleString("en"));let c=sr.nftDetails(String(t.identifier)),u=t.ticker===t.collection&&(m=t.identifier)!=null?m:t.ticker;return{badgeText:o,tokenFormattedAmount:n?a:null,tokenExplorerLink:c,tokenLinkText:u,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
  *