@multiversx/sdk-dapp 2.8.7 → 2.8.8

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 (859) 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/index.js +1 -1
  12. package/UI/SignTransactionsModals/SignTransactionsModals.js +1 -1
  13. package/UI/SignTransactionsModals/SignWithDeviceModal/SignStep.js +1 -1
  14. package/UI/SignTransactionsModals/SignWithDeviceModal/index.js +1 -1
  15. package/UI/SignTransactionsModals/SignWithExtensionModal/index.js +1 -1
  16. package/UI/SignTransactionsModals/SignWithExtraModal/index.js +1 -1
  17. package/UI/SignTransactionsModals/SignWithLedgerModal/index.js +1 -1
  18. package/UI/SignTransactionsModals/SignWithOperaModal/index.js +1 -1
  19. package/UI/SignTransactionsModals/SignWithWalletConnectModal/index.js +1 -1
  20. package/UI/SignTransactionsModals/components/ConfirmationScreen.js +1 -1
  21. package/UI/SignTransactionsModals/components/DeviceConfirmationScreen.js +1 -1
  22. package/UI/SignTransactionsModals/components/TransactionStatusToast.js +1 -1
  23. package/UI/SignTransactionsModals/components/index.js +1 -1
  24. package/UI/SignTransactionsModals/index.js +1 -1
  25. package/UI/TokenDetails/index.js +1 -1
  26. package/UI/TransactionData/index.js +1 -1
  27. package/UI/TransactionDetails/TransactionDetails.js +1 -1
  28. package/UI/TransactionDetails/components/TransactionDetailsBody.js +1 -1
  29. package/UI/TransactionDetails/components/index.js +1 -1
  30. package/UI/TransactionDetails/index.js +1 -1
  31. package/UI/TransactionInfo/TransactionInfo.js +1 -1
  32. package/UI/TransactionInfo/components/AddressDetailItem/AddressDetailitem.js +1 -1
  33. package/UI/TransactionInfo/components/AddressDetailItem/index.js +1 -1
  34. package/UI/TransactionInfo/components/DataDecode/DataDecode.js +1 -1
  35. package/UI/TransactionInfo/components/DataDecode/index.js +1 -1
  36. package/UI/TransactionInfo/components/DataField/DataField.js +1 -1
  37. package/UI/TransactionInfo/components/DataField/index.js +1 -1
  38. package/UI/TransactionInfo/components/EventsList/EventsList.js +1 -1
  39. package/UI/TransactionInfo/components/EventsList/index.js +1 -1
  40. package/UI/TransactionInfo/components/NonceMessage/NonceMessage.js +1 -1
  41. package/UI/TransactionInfo/components/NonceMessage/index.js +1 -1
  42. package/UI/TransactionInfo/components/OperationsList/OperationList.js +1 -1
  43. package/UI/TransactionInfo/components/OperationsList/components/DetailedItem.js +1 -1
  44. package/UI/TransactionInfo/components/OperationsList/components/OperationBlock.js +1 -1
  45. package/UI/TransactionInfo/components/OperationsList/components/OperationRow.js +1 -1
  46. package/UI/TransactionInfo/components/OperationsList/components/OperationText.js +1 -1
  47. package/UI/TransactionInfo/components/OperationsList/components/OperationToken.js +1 -1
  48. package/UI/TransactionInfo/components/OperationsList/components/index.js +1 -1
  49. package/UI/TransactionInfo/components/OperationsList/index.js +1 -1
  50. package/UI/TransactionInfo/components/ScResultsList/ScResultsList.js +1 -1
  51. package/UI/TransactionInfo/components/ScResultsList/components/ResultData/ResultData.js +1 -1
  52. package/UI/TransactionInfo/components/ScResultsList/components/ResultData/index.js +1 -1
  53. package/UI/TransactionInfo/components/ScResultsList/components/ResultHash/ResultHash.js +1 -1
  54. package/UI/TransactionInfo/components/ScResultsList/components/ResultHash/index.js +1 -1
  55. package/UI/TransactionInfo/components/ScResultsList/components/ResultReceiver/ResultReceiver.js +1 -1
  56. package/UI/TransactionInfo/components/ScResultsList/components/ResultReceiver/index.js +1 -1
  57. package/UI/TransactionInfo/components/ScResultsList/components/ResultSender/ResultSender.js +1 -1
  58. package/UI/TransactionInfo/components/ScResultsList/components/ResultSender/index.js +1 -1
  59. package/UI/TransactionInfo/components/ScResultsList/index.js +1 -1
  60. package/UI/TransactionInfo/components/ScrDetailItem/ScrDetailItem.js +1 -1
  61. package/UI/TransactionInfo/components/ScrDetailItem/index.js +1 -1
  62. package/UI/TransactionInfo/components/TransactionAction/TransactionAction.js +1 -1
  63. package/UI/TransactionInfo/components/TransactionAction/components/ActionText/index.js +1 -1
  64. package/UI/TransactionInfo/components/TransactionAction/components/ActionToken.js +1 -1
  65. package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/TransactionActionCollection.js +1 -1
  66. package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/TransactionActionNft.js +1 -1
  67. package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/TransactionActionToken.js +1 -1
  68. package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/index.js +1 -1
  69. package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/index.js +1 -1
  70. package/UI/TransactionInfo/components/TransactionAction/components/index.js +1 -1
  71. package/UI/TransactionInfo/components/TransactionAction/index.js +1 -1
  72. package/UI/TransactionInfo/components/TransactionLogs/TransactionLogs.js +1 -1
  73. package/UI/TransactionInfo/components/TransactionLogs/index.js +1 -1
  74. package/UI/TransactionInfo/components/TransactionStatus/TransactionStatus.js +1 -1
  75. package/UI/TransactionInfo/components/TransactionStatus/index.js +1 -1
  76. package/UI/TransactionInfo/components/index.js +1 -1
  77. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoAge/TransactionInfoAge.js +1 -1
  78. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoAge/index.js +1 -1
  79. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoEgldPrice/TransactionInfoEgldPrice.js +1 -1
  80. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoEgldPrice/index.js +1 -1
  81. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFee/TransactionInfoFee.js +1 -1
  82. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFee/index.js +1 -1
  83. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFrom/TransactionInfoFrom.js +1 -1
  84. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFrom/index.js +1 -1
  85. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasLimit/TransactionInfoGasLimit.js +1 -1
  86. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasLimit/index.js +1 -1
  87. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasPrice/TransactionInfoGasPrice.js +1 -1
  88. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasPrice/index.js +1 -1
  89. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasUsed/TransactionInfoGasUsed.js +1 -1
  90. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasUsed/index.js +1 -1
  91. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoInputData/TransactionInfoInputData.js +1 -1
  92. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoInputData/index.js +1 -1
  93. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMethod/TransactionInfoMethod.js +1 -1
  94. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMethod/index.js +1 -1
  95. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMiniblock/TransactionInfoMiniblock.js +1 -1
  96. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMiniblock/index.js +1 -1
  97. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoNonce/TransactionInfoNonce.js +1 -1
  98. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoNonce/index.js +1 -1
  99. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoScResults/TransactionInfoScResults.js +1 -1
  100. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoScResults/index.js +1 -1
  101. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoStatus/TransactionInfoStatus.js +1 -1
  102. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoStatus/index.js +1 -1
  103. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTo/TransactionInfoTo.js +1 -1
  104. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTo/index.js +1 -1
  105. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTokenOperations/TransactionInfoTokenOperations.js +1 -1
  106. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTokenOperations/index.js +1 -1
  107. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoValue/TransactionInfoValue.js +1 -1
  108. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoValue/index.js +1 -1
  109. package/UI/TransactionInfo/components/transactionInfoFields/index.js +1 -1
  110. package/UI/TransactionInfo/index.js +1 -1
  111. package/UI/TransactionsTable/TransactionsTable.js +1 -1
  112. package/UI/TransactionsTable/components/LockedTokenAddressIcon.js +1 -1
  113. package/UI/TransactionsTable/components/ScAddressIcon.js +1 -1
  114. package/UI/TransactionsTable/components/ShardSpan.js +1 -1
  115. package/UI/TransactionsTable/components/TransactionHash.js +1 -1
  116. package/UI/TransactionsTable/components/TransactionIcon.js +1 -1
  117. package/UI/TransactionsTable/components/TransactionReceiver.js +1 -1
  118. package/UI/TransactionsTable/components/TransactionRow.js +1 -1
  119. package/UI/TransactionsTable/components/TransactionSender.js +1 -1
  120. package/UI/TransactionsTable/components/TransactionShardsTransition.js +1 -1
  121. package/UI/TransactionsTable/components/TransactionValue/TransactionValue.js +1 -1
  122. package/UI/TransactionsTable/components/TransactionValue/index.js +1 -1
  123. package/UI/TransactionsTable/components/index.js +1 -1
  124. package/UI/TransactionsTable/index.js +1 -1
  125. package/UI/TransactionsToastList/TransactionsToastList.js +1 -1
  126. package/UI/TransactionsToastList/components/CustomToast/CustomToast.js +1 -1
  127. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/IconToast.js +1 -1
  128. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/IconToastFooter.js +1 -1
  129. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/ComponentToastFooter.js +1 -1
  130. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/TransactionToastFooter.js +1 -1
  131. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/index.js +1 -1
  132. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/index.js +1 -1
  133. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/index.js +1 -1
  134. package/UI/TransactionsToastList/components/CustomToast/components/SimpleToast.js +1 -1
  135. package/UI/TransactionsToastList/components/CustomToast/components/index.js +1 -1
  136. package/UI/TransactionsToastList/components/CustomToast/helpers/getIsTransaction.js +1 -1
  137. package/UI/TransactionsToastList/components/CustomToast/helpers/index.js +1 -1
  138. package/UI/TransactionsToastList/components/CustomToast/helpers/useMemoizedCloseButton.js +1 -1
  139. package/UI/TransactionsToastList/components/CustomToast/index.js +1 -1
  140. package/UI/TransactionsToastList/components/TransactionToast/TransactionToast.js +1 -1
  141. package/UI/TransactionsToastList/components/TransactionToast/components/TransactionToastContent.js +1 -1
  142. package/UI/TransactionsToastList/components/TransactionToast/components/index.js +1 -1
  143. package/UI/TransactionsToastList/components/TransactionToast/hooks/useTransactionToast.js +1 -1
  144. package/UI/TransactionsToastList/components/TransactionToast/index.js +1 -1
  145. package/UI/TransactionsToastList/components/TransactionToast/utils/getToastDataStateByStatus.js +1 -1
  146. package/UI/TransactionsToastList/components/TransactionToast/utils/index.js +1 -1
  147. package/UI/TransactionsToastList/components/TransactionToastGuard.js +1 -1
  148. package/UI/TransactionsToastList/components/index.js +1 -1
  149. package/UI/TransactionsToastList/index.js +1 -1
  150. package/UI/UsdValue/UsdValue.js +1 -1
  151. package/UI/UsdValue/index.js +1 -1
  152. package/UI/extension/ExtensionLoginButton/index.js +1 -1
  153. package/UI/index.js +1 -1
  154. package/UI/ledger/LedgerLoginButton/index.js +1 -1
  155. package/UI/ledger/LedgerLoginContainer/AddressRow.js +1 -1
  156. package/UI/ledger/LedgerLoginContainer/AddressTable.js +1 -1
  157. package/UI/ledger/LedgerLoginContainer/ConfirmAddress.js +1 -1
  158. package/UI/ledger/LedgerLoginContainer/index.js +1 -1
  159. package/UI/ledger/index.js +1 -1
  160. package/UI/operaWallet/OperaWalletLoginButton/index.js +1 -1
  161. package/UI/pages/UnlockPage/index.js +1 -1
  162. package/UI/pages/index.js +1 -1
  163. package/UI/walletConnect/WalletConnectConnectionStatus/WalletConnectConnectionStatus.js +1 -1
  164. package/UI/walletConnect/WalletConnectConnectionStatus/index.js +1 -1
  165. package/UI/walletConnect/WalletConnectLoginButton/index.js +1 -1
  166. package/UI/walletConnect/WalletConnectLoginContainer/index.js +1 -1
  167. package/UI/walletConnect/index.js +1 -1
  168. package/UI/webWallet/WebWalletLoginButton/index.js +1 -1
  169. package/__chunks__/{chunk-QUMYRH4H.js → chunk-22AVS7E3.js} +2 -2
  170. package/__chunks__/{chunk-ANO63HEG.js → chunk-25PTVHEB.js} +2 -2
  171. package/__chunks__/{chunk-CRI42HNH.js → chunk-2CN5KU25.js} +2 -2
  172. package/__chunks__/{chunk-XIHOENSC.js → chunk-2EA2VIB5.js} +2 -2
  173. package/__chunks__/{chunk-MRGB5FAN.js → chunk-2RRQT2ZE.js} +2 -2
  174. package/__chunks__/{chunk-OM457L3M.js → chunk-2TL4GHIJ.js} +2 -2
  175. package/__chunks__/{chunk-4P3LJAUR.js → chunk-2UFASAE6.js} +2 -2
  176. package/__chunks__/chunk-2ZTVJLOJ.js +2 -0
  177. package/__chunks__/{chunk-YLOIJNV2.js → chunk-34MJDZ4X.js} +2 -2
  178. package/__chunks__/{chunk-D3E65LJ5.js → chunk-35CA4MUL.js} +2 -2
  179. package/__chunks__/chunk-37KH4Z57.js +2 -0
  180. package/__chunks__/{chunk-4R3QOQZE.js → chunk-3AWXVQPI.js} +2 -2
  181. package/__chunks__/chunk-3O4GBHR3.js +2 -0
  182. package/__chunks__/{chunk-N7ACY27N.js → chunk-3P3MCUKK.js} +2 -2
  183. package/__chunks__/{chunk-ADE5S3WR.js → chunk-3RPV34NB.js} +2 -2
  184. package/__chunks__/{chunk-KGGATDBD.js → chunk-3SGMXEQG.js} +2 -2
  185. package/__chunks__/{chunk-YKCZ2UKE.js → chunk-3WJ37IJQ.js} +2 -2
  186. package/__chunks__/{chunk-737AN7JD.js → chunk-42I454QK.js} +2 -2
  187. package/__chunks__/{chunk-6UNQJUWL.js → chunk-4A25I5EO.js} +2 -2
  188. package/__chunks__/chunk-4DKSPOQC.js +2 -0
  189. package/__chunks__/{chunk-UMD2MTE3.js → chunk-4HLBQPQN.js} +2 -2
  190. package/__chunks__/{chunk-OCKI3V27.js → chunk-4JAU6EN6.js} +2 -2
  191. package/__chunks__/{chunk-A2MJT5TB.js → chunk-4KWGNHHC.js} +2 -2
  192. package/__chunks__/{chunk-74QKDRVQ.js → chunk-4NUCA54E.js} +2 -2
  193. package/__chunks__/{chunk-F2EJ4NBK.js → chunk-4PGVVXDY.js} +2 -2
  194. package/__chunks__/{chunk-XXUDAIKI.js → chunk-4QHVTLCL.js} +2 -2
  195. package/__chunks__/chunk-52LWAKUU.js +2 -0
  196. package/__chunks__/{chunk-JXDUGSUA.js → chunk-54UVT7XD.js} +2 -2
  197. package/__chunks__/{chunk-7BA6MF76.js → chunk-5F5AUJIV.js} +2 -2
  198. package/__chunks__/{chunk-SMISCEQS.js → chunk-5IKM5Q2S.js} +2 -2
  199. package/__chunks__/{chunk-TOZA3Q3T.js → chunk-5L64ER7E.js} +2 -2
  200. package/__chunks__/{chunk-UXBGGKWU.js → chunk-5RS2KBDW.js} +2 -2
  201. package/__chunks__/{chunk-3VGDFLNR.js → chunk-5X3T3BM4.js} +2 -2
  202. package/__chunks__/{chunk-2C65GIQZ.js → chunk-5XAXZ3NX.js} +2 -2
  203. package/__chunks__/{chunk-CUFA5NAA.js → chunk-5ZHWPLU6.js} +2 -2
  204. package/__chunks__/{chunk-IIAD2DSC.js → chunk-62DW3AHE.js} +2 -2
  205. package/__chunks__/chunk-66VVLQWA.js +2 -0
  206. package/__chunks__/{chunk-5MMAS7IS.js → chunk-67CWWMJV.js} +2 -2
  207. package/__chunks__/{chunk-B25RPITH.js → chunk-6DTOQEIQ.js} +2 -2
  208. package/__chunks__/chunk-6E7UMUAT.js +2 -0
  209. package/__chunks__/{chunk-S7JDYKHM.js → chunk-6K3QMAWT.js} +2 -2
  210. package/__chunks__/{chunk-FXKLPJUW.js → chunk-6OGZDOZO.js} +2 -2
  211. package/__chunks__/{chunk-E7MY3TPU.js → chunk-6PZJ6OYX.js} +2 -2
  212. package/__chunks__/{chunk-BYS7QALE.js → chunk-6QZHGHIR.js} +2 -2
  213. package/__chunks__/{chunk-B3ILFYYH.js → chunk-6XRDVX6C.js} +2 -2
  214. package/__chunks__/{chunk-NQ5XJOIL.js → chunk-7C6XIICR.js} +2 -2
  215. package/__chunks__/{chunk-P7STLJJI.js → chunk-7CGLDJOD.js} +2 -2
  216. package/__chunks__/{chunk-AFLDYYSB.js → chunk-7HKAHQUX.js} +2 -2
  217. package/__chunks__/chunk-7PMD4JRS.js +2 -0
  218. package/__chunks__/chunk-A274U45O.js +2 -0
  219. package/__chunks__/{chunk-LVCV5JOX.js → chunk-A2D7YVXP.js} +2 -2
  220. package/__chunks__/{chunk-GY336JML.js → chunk-A2UYY3JW.js} +2 -2
  221. package/__chunks__/chunk-A6R7V6U3.js +2 -0
  222. package/__chunks__/{chunk-XKMOG6SS.js → chunk-AASOI2YB.js} +2 -2
  223. package/__chunks__/{chunk-LF6VJNCF.js → chunk-AF4A42IE.js} +2 -2
  224. package/__chunks__/chunk-AJX7U6NK.js +2 -0
  225. package/__chunks__/{chunk-YKKS3O3Z.js → chunk-AM7A2OOW.js} +2 -2
  226. package/__chunks__/{chunk-ODQ5XNPU.js → chunk-ANAT47NF.js} +2 -2
  227. package/__chunks__/{chunk-UX2EZNAX.js → chunk-AO6HRN56.js} +2 -2
  228. package/__chunks__/{chunk-73KODBLR.js → chunk-ATNLLNOK.js} +2 -2
  229. package/__chunks__/{chunk-EBMIHN52.js → chunk-AWP342D7.js} +2 -2
  230. package/__chunks__/{chunk-MBOASZBJ.js → chunk-AY5CRAVB.js} +2 -2
  231. package/__chunks__/{chunk-RU373C7L.js → chunk-AZWOFPFX.js} +2 -2
  232. package/__chunks__/{chunk-TEFRLAUL.js → chunk-B3LFKKXC.js} +2 -2
  233. package/__chunks__/{chunk-HJFWUTN2.js → chunk-B47CQIA7.js} +2 -2
  234. package/__chunks__/{chunk-IK27WK4F.js → chunk-BB5K7AMG.js} +2 -2
  235. package/__chunks__/chunk-BBDZAYAU.js +2 -0
  236. package/__chunks__/{chunk-CN4TUEV7.js → chunk-BBPTFRVE.js} +2 -2
  237. package/__chunks__/chunk-BFSRVA3J.js +2 -0
  238. package/__chunks__/{chunk-FGT3C4FE.js → chunk-BPPVSU25.js} +1 -1
  239. package/__chunks__/chunk-BQ4N52MW.js +2 -0
  240. package/__chunks__/{chunk-YFDYMEP5.js → chunk-BS36A7LR.js} +2 -2
  241. package/__chunks__/{chunk-RJFWI3UU.js → chunk-BTPNQ5FQ.js} +2 -2
  242. package/__chunks__/{chunk-4HQ3HNGC.js → chunk-BWYB6R6W.js} +2 -2
  243. package/__chunks__/{chunk-Z7HQTVYF.js → chunk-C4IGVF3G.js} +2 -2
  244. package/__chunks__/{chunk-32VBXZXR.js → chunk-CDWLWJH3.js} +2 -2
  245. package/__chunks__/{chunk-BKMTF6D2.js → chunk-CDZFXCBL.js} +2 -2
  246. package/__chunks__/{chunk-TQVFVFKS.js → chunk-CMG3PZXL.js} +2 -2
  247. package/__chunks__/{chunk-FGJI7F7M.js → chunk-CSUG3NQC.js} +2 -2
  248. package/__chunks__/chunk-CUPMM5UN.js +2 -0
  249. package/__chunks__/{chunk-W37FQYGP.js → chunk-CURMR3DQ.js} +2 -2
  250. package/__chunks__/{chunk-R3FSXFX3.js → chunk-CUXSI37S.js} +2 -2
  251. package/__chunks__/{chunk-FNO4F4XU.js → chunk-DCYIMALR.js} +2 -2
  252. package/__chunks__/{chunk-DG7FFCMC.js → chunk-DF2AQYO7.js} +2 -2
  253. package/__chunks__/chunk-DKQCBXAE.js +2 -0
  254. package/__chunks__/{chunk-HGAKSUJP.js → chunk-DSXLBCJZ.js} +2 -2
  255. package/__chunks__/{chunk-2DPI5E3W.js → chunk-DUYNNDUF.js} +2 -2
  256. package/__chunks__/{chunk-5RFLO6MR.js → chunk-DXSPO7EM.js} +2 -2
  257. package/__chunks__/{chunk-KX4A4RXW.js → chunk-E63OT5BJ.js} +2 -2
  258. package/__chunks__/{chunk-GXOJLFD4.js → chunk-E66WVYJC.js} +2 -2
  259. package/__chunks__/{chunk-QB3XGANM.js → chunk-E7PHXPI7.js} +2 -2
  260. package/__chunks__/{chunk-EN36KS5J.js → chunk-EDAS6Z7S.js} +2 -2
  261. package/__chunks__/{chunk-DHYV75O3.js → chunk-EDUYDVLW.js} +2 -2
  262. package/__chunks__/chunk-EIE6T4QD.js +2 -0
  263. package/__chunks__/{chunk-7YFFVZWN.js → chunk-EKK5P7LA.js} +2 -2
  264. package/__chunks__/{chunk-JWQRJOLL.js → chunk-EVWIXAZV.js} +2 -2
  265. package/__chunks__/{chunk-7WWHCPMS.js → chunk-F4OB26CT.js} +2 -2
  266. package/__chunks__/{chunk-Z6PNQGOE.js → chunk-F6GZHJMJ.js} +2 -2
  267. package/__chunks__/chunk-F7E7BINB.js +2 -0
  268. package/__chunks__/chunk-FA2UEZM2.js +2 -0
  269. package/__chunks__/{chunk-4JKMMUID.js → chunk-FCAEZL4W.js} +2 -2
  270. package/__chunks__/{chunk-SLLPTUAV.js → chunk-FFSZJG62.js} +2 -2
  271. package/__chunks__/{chunk-K4P3Q4G6.js → chunk-FHE5FVE7.js} +2 -2
  272. package/__chunks__/{chunk-UYKSTJCI.js → chunk-FKFPHPFX.js} +2 -2
  273. package/__chunks__/chunk-FLZGZET2.js +2 -0
  274. package/__chunks__/{chunk-WUBNBBRC.js → chunk-FNE7PA64.js} +2 -2
  275. package/__chunks__/{chunk-YMP4Z5XY.js → chunk-FOSUR33Y.js} +2 -2
  276. package/__chunks__/{chunk-C6OSBOOY.js → chunk-FOTIYLGS.js} +2 -2
  277. package/__chunks__/chunk-FRNVGEYR.js +2 -0
  278. package/__chunks__/{chunk-LKDW3XH3.js → chunk-GG736LLW.js} +2 -2
  279. package/__chunks__/{chunk-5WX4CALV.js → chunk-GIZIGQZP.js} +2 -2
  280. package/__chunks__/{chunk-2KFSLVEO.js → chunk-GJLPTW4K.js} +2 -2
  281. package/__chunks__/{chunk-CJH2YV7X.js → chunk-GMVQCQ3Y.js} +2 -2
  282. package/__chunks__/chunk-GNEQWXJE.js +2 -0
  283. package/__chunks__/{chunk-XZ5MLYGD.js → chunk-GPLG6N3Y.js} +2 -2
  284. package/__chunks__/{chunk-NDJHFLTL.js → chunk-GQPWCE2U.js} +2 -2
  285. package/__chunks__/{chunk-6R7WMG4C.js → chunk-GSH4BYXB.js} +2 -2
  286. package/__chunks__/{chunk-WXZKC7M3.js → chunk-GSUIWNNM.js} +2 -2
  287. package/__chunks__/{chunk-WWSWE52T.js → chunk-GW6MOKMY.js} +2 -2
  288. package/__chunks__/chunk-GZIWNMCW.js +2 -0
  289. package/__chunks__/{chunk-MO7GMDSI.js → chunk-HJGXNUQZ.js} +2 -2
  290. package/__chunks__/{chunk-CPEIGU6U.js → chunk-HLAK3KWC.js} +2 -2
  291. package/__chunks__/{chunk-HEMJW4UP.js → chunk-HYYC56WM.js} +2 -2
  292. package/__chunks__/{chunk-CJT4DITV.js → chunk-I5GXT2NM.js} +2 -2
  293. package/__chunks__/{chunk-NAKSKDVH.js → chunk-I6WCVWCL.js} +2 -2
  294. package/__chunks__/{chunk-5FBZWQQA.js → chunk-IAU7HZOA.js} +2 -2
  295. package/__chunks__/{chunk-BOKSFKJF.js → chunk-IDNYXXUU.js} +2 -2
  296. package/__chunks__/chunk-IL5JDJWD.js +2 -0
  297. package/__chunks__/{chunk-ZEEWQEXA.js → chunk-IOSHQZNU.js} +2 -2
  298. package/__chunks__/{chunk-GCYQRVDH.js → chunk-IPE5DLSE.js} +2 -2
  299. package/__chunks__/{chunk-ROMNQSAY.js → chunk-ITRHXPQX.js} +2 -2
  300. package/__chunks__/chunk-IUPXRKIH.js +2 -0
  301. package/__chunks__/{chunk-NANO4X2A.js → chunk-J36BPK32.js} +2 -2
  302. package/__chunks__/{chunk-66KNLCQD.js → chunk-JCYM4TK6.js} +2 -2
  303. package/__chunks__/{chunk-KX4VZFVE.js → chunk-JDGBXBDB.js} +2 -2
  304. package/__chunks__/{chunk-USTDS2O5.js → chunk-JJGJCN5V.js} +2 -2
  305. package/__chunks__/{chunk-VS7YJKJM.js → chunk-JKA54IGW.js} +2 -2
  306. package/__chunks__/{chunk-I3DMSSAU.js → chunk-JKQBUYK2.js} +2 -2
  307. package/__chunks__/{chunk-F4Z4BQFP.js → chunk-JRM3LDSG.js} +2 -2
  308. package/__chunks__/{chunk-525WM2BT.js → chunk-JUFYXNHH.js} +2 -2
  309. package/__chunks__/{chunk-ACE3TC2R.js → chunk-JWAY75CZ.js} +2 -2
  310. package/__chunks__/{chunk-KHTHET32.js → chunk-JYF2TWOA.js} +2 -2
  311. package/__chunks__/{chunk-4JB5QVKY.js → chunk-K2TOOZFP.js} +2 -2
  312. package/__chunks__/{chunk-5LEO57S4.js → chunk-KDE7GIIV.js} +2 -2
  313. package/__chunks__/{chunk-DQLFYAJF.js → chunk-KGF5QO63.js} +2 -2
  314. package/__chunks__/{chunk-CY7H7XN3.js → chunk-KMTJAVQJ.js} +2 -2
  315. package/__chunks__/{chunk-UTDBQNDV.js → chunk-KN33FON4.js} +2 -2
  316. package/__chunks__/chunk-KW6HYOXT.js +2 -0
  317. package/__chunks__/{chunk-EVUACURD.js → chunk-L4OGNGVR.js} +2 -2
  318. package/__chunks__/{chunk-X2L7IGUP.js → chunk-L4RGRP2I.js} +2 -2
  319. package/__chunks__/{chunk-KCOIYEPV.js → chunk-L6CEZHRZ.js} +2 -2
  320. package/__chunks__/{chunk-XWDYQGE2.js → chunk-L6O2YAE3.js} +2 -2
  321. package/__chunks__/{chunk-TGSNOZEZ.js → chunk-LIOPBJAR.js} +2 -2
  322. package/__chunks__/chunk-LLFZUOHV.js +2 -0
  323. package/__chunks__/{chunk-423Z6LGX.js → chunk-LLJWVYQI.js} +2 -2
  324. package/__chunks__/chunk-LNMQ6RED.js +2 -0
  325. package/__chunks__/{chunk-WYFQSQAM.js → chunk-LO2RKWHN.js} +2 -2
  326. package/__chunks__/{chunk-AJ2VY4SZ.js → chunk-LZ4RLZRI.js} +2 -2
  327. package/__chunks__/chunk-MBF7VDMJ.js +2 -0
  328. package/__chunks__/{chunk-SJ6DPXLM.js → chunk-MCPXAAQH.js} +2 -2
  329. package/__chunks__/{chunk-T6GIIILG.js → chunk-MMCZ3ASQ.js} +2 -2
  330. package/__chunks__/chunk-MQNEHNFG.js +2 -0
  331. package/__chunks__/chunk-NAN2H6P3.js +2 -0
  332. package/__chunks__/{chunk-V5CRB7KN.js → chunk-NB6RUSDN.js} +2 -2
  333. package/__chunks__/{chunk-5R432HI2.js → chunk-NQ25VRP6.js} +2 -2
  334. package/__chunks__/{chunk-VPHC377M.js → chunk-NTZ4J3ZX.js} +2 -2
  335. package/__chunks__/{chunk-WX5BAI2J.js → chunk-NY3SRBV3.js} +2 -2
  336. package/__chunks__/{chunk-HER7NR3P.js → chunk-NY463RKX.js} +2 -2
  337. package/__chunks__/{chunk-6YFMGTBJ.js → chunk-NYM7F3NU.js} +2 -2
  338. package/__chunks__/{chunk-NMZHNNDO.js → chunk-O7TAHBTL.js} +2 -2
  339. package/__chunks__/{chunk-RXNYA6SF.js → chunk-OARRFKEW.js} +2 -2
  340. package/__chunks__/{chunk-A4RZQEKA.js → chunk-OEMRN6RA.js} +2 -2
  341. package/__chunks__/{chunk-WKD2ES4V.js → chunk-OHTQWFS7.js} +2 -2
  342. package/__chunks__/{chunk-R2G53LUI.js → chunk-OHZF3UCF.js} +2 -2
  343. package/__chunks__/{chunk-KDNMJ7M2.js → chunk-OIT7AZTZ.js} +2 -2
  344. package/__chunks__/{chunk-ILI6V46A.js → chunk-OMBMT76D.js} +2 -2
  345. package/__chunks__/{chunk-BDA7V4NQ.js → chunk-OMSJSEKB.js} +2 -2
  346. package/__chunks__/{chunk-PINKYRXT.js → chunk-OOZSFHYH.js} +2 -2
  347. package/__chunks__/{chunk-VXVGC3OH.js → chunk-OQIVIERX.js} +2 -2
  348. package/__chunks__/{chunk-KTYRUFXV.js → chunk-OR4L5DIF.js} +2 -2
  349. package/__chunks__/chunk-OWV63OFS.js +2 -0
  350. package/__chunks__/{chunk-23EGU54D.js → chunk-OYAY4A6E.js} +2 -2
  351. package/__chunks__/chunk-P7ETYQLM.js +2 -0
  352. package/__chunks__/{chunk-IOHWBSIX.js → chunk-PEYRK6DJ.js} +2 -2
  353. package/__chunks__/{chunk-IIXY6EVM.js → chunk-PFP32GAJ.js} +2 -2
  354. package/__chunks__/chunk-PJU2UKAU.js +2 -0
  355. package/__chunks__/{chunk-JFOJHUMM.js → chunk-PNLICGB5.js} +2 -2
  356. package/__chunks__/{chunk-MDZPOO3F.js → chunk-POFMPPLE.js} +2 -2
  357. package/__chunks__/chunk-PQX6XDOO.js +2 -0
  358. package/__chunks__/{chunk-ENVPO3OR.js → chunk-PWZQTMIM.js} +2 -2
  359. package/__chunks__/{chunk-4ALRWZZQ.js → chunk-PYO6CNJL.js} +2 -2
  360. package/__chunks__/{chunk-5GEXET3C.js → chunk-Q2LHZHWH.js} +2 -2
  361. package/__chunks__/{chunk-PVKKZXYP.js → chunk-Q5JVMVSG.js} +2 -2
  362. package/__chunks__/{chunk-T4FS5XNS.js → chunk-QANWJPQL.js} +2 -2
  363. package/__chunks__/{chunk-WWLOW2S3.js → chunk-QCA255CH.js} +2 -2
  364. package/__chunks__/{chunk-U77UZINY.js → chunk-QDCY7OOZ.js} +2 -2
  365. package/__chunks__/{chunk-CRIOGAAJ.js → chunk-QHROAYMM.js} +2 -2
  366. package/__chunks__/{chunk-M7AJLAY3.js → chunk-QM7QGMRH.js} +2 -2
  367. package/__chunks__/{chunk-P6MWBKH3.js → chunk-QN46IB4K.js} +2 -2
  368. package/__chunks__/chunk-QWA762UQ.js +2 -0
  369. package/__chunks__/{chunk-COV3NRWK.js → chunk-QWB6ASJZ.js} +2 -2
  370. package/__chunks__/{chunk-GFKBUR52.js → chunk-QZVP3TCG.js} +2 -2
  371. package/__chunks__/{chunk-QL7RMPDI.js → chunk-QZWFDZZ3.js} +2 -2
  372. package/__chunks__/{chunk-RHQ3FWWV.js → chunk-R5Z4JV3X.js} +2 -2
  373. package/__chunks__/{chunk-IHIUGJRW.js → chunk-RDJETZ3F.js} +2 -2
  374. package/__chunks__/chunk-RLBSVH7A.js +2 -0
  375. package/__chunks__/{chunk-S3J7OTBF.js → chunk-RNUOTUNR.js} +2 -2
  376. package/__chunks__/{chunk-KGYURMEO.js → chunk-RNVBV4W2.js} +2 -2
  377. package/__chunks__/{chunk-A4SQDGPF.js → chunk-RRJM3255.js} +2 -2
  378. package/__chunks__/{chunk-7XE7OVZZ.js → chunk-RVD7ASJL.js} +2 -2
  379. package/__chunks__/{chunk-YRHGZ4HS.js → chunk-SBWX3IYZ.js} +2 -2
  380. package/__chunks__/{chunk-VVPMSN2M.js → chunk-SIEJ3BGE.js} +2 -2
  381. package/__chunks__/{chunk-DF24IGER.js → chunk-SKUZQREX.js} +2 -2
  382. package/__chunks__/{chunk-U6QHRFQ6.js → chunk-SLKZO7VS.js} +2 -2
  383. package/__chunks__/{chunk-M2X2JVAM.js → chunk-SN6WAH6B.js} +2 -2
  384. package/__chunks__/chunk-SNKVBZTS.js +2 -0
  385. package/__chunks__/{chunk-A6EXXYVU.js → chunk-SUHRUIOX.js} +2 -2
  386. package/__chunks__/{chunk-3KOYQHTR.js → chunk-SY4VVHFA.js} +2 -2
  387. package/__chunks__/{chunk-6UNAWFJ2.js → chunk-TF5GKSWN.js} +2 -2
  388. package/__chunks__/{chunk-M22NL7FJ.js → chunk-TIXHEZXL.js} +2 -2
  389. package/__chunks__/{chunk-KE3UZZPK.js → chunk-TMWKLAQA.js} +2 -2
  390. package/__chunks__/{chunk-YWT4XNXN.js → chunk-TZY5QRK7.js} +2 -2
  391. package/__chunks__/{chunk-XTX67ABL.js → chunk-U2U4MUGT.js} +2 -2
  392. package/__chunks__/{chunk-YLMRTW5R.js → chunk-U53EBQ6E.js} +2 -2
  393. package/__chunks__/{chunk-VSXOMCDB.js → chunk-UC3BL6OL.js} +2 -2
  394. package/__chunks__/{chunk-HQJKEU6C.js → chunk-UKVVZZPC.js} +2 -2
  395. package/__chunks__/{chunk-NNVTUWMR.js → chunk-ULRLEVOX.js} +2 -2
  396. package/__chunks__/chunk-UXUA2YCT.js +2 -0
  397. package/__chunks__/{chunk-SOPJ4FVA.js → chunk-VCAA4VGH.js} +2 -2
  398. package/__chunks__/chunk-VLFWEDOB.js +2 -0
  399. package/__chunks__/chunk-VMEHK3CK.js +2 -0
  400. package/__chunks__/chunk-VRE5TYWU.js +2 -0
  401. package/__chunks__/{chunk-XNHZJ2SC.js → chunk-VU5G7W7V.js} +2 -2
  402. package/__chunks__/{chunk-TRBK7QQ6.js → chunk-VZTQJF5K.js} +2 -2
  403. package/__chunks__/{chunk-UG55ZHGL.js → chunk-W4D7AG72.js} +2 -2
  404. package/__chunks__/chunk-W5XMZRTH.js +2 -0
  405. package/__chunks__/{chunk-CEPGJ4CK.js → chunk-W5XV2MWO.js} +2 -2
  406. package/__chunks__/{chunk-W2FZFACI.js → chunk-W6TJJEHF.js} +2 -2
  407. package/__chunks__/chunk-WDVYNUMZ.js +2 -0
  408. package/__chunks__/{chunk-FSAAWDVV.js → chunk-WEXCOWWF.js} +2 -2
  409. package/__chunks__/{chunk-ADCSG5DO.js → chunk-WFUHPFAH.js} +2 -2
  410. package/__chunks__/{chunk-R5P34PUZ.js → chunk-WGZ6HMXJ.js} +2 -2
  411. package/__chunks__/{chunk-USUOFVP7.js → chunk-WUF7FKNG.js} +2 -2
  412. package/__chunks__/{chunk-HGTG6QDV.js → chunk-WZ4T4C6J.js} +2 -2
  413. package/__chunks__/{chunk-YUIINDCV.js → chunk-X6LCE6DY.js} +2 -2
  414. package/__chunks__/{chunk-Q7U3WZCF.js → chunk-XDH6CNY3.js} +2 -2
  415. package/__chunks__/{chunk-ELIQXNO3.js → chunk-XHBL2F6G.js} +2 -2
  416. package/__chunks__/{chunk-KO4CKUQ3.js → chunk-XHKQRSQL.js} +2 -2
  417. package/__chunks__/{chunk-52J7F3R2.js → chunk-XIS6CC4U.js} +2 -2
  418. package/__chunks__/{chunk-SAFQFQIH.js → chunk-XP6VAPF7.js} +2 -2
  419. package/__chunks__/{chunk-YU5OYJX7.js → chunk-XRA7MBOO.js} +2 -2
  420. package/__chunks__/chunk-Y4MABHXD.js +2 -0
  421. package/__chunks__/{chunk-4NPCJKVQ.js → chunk-Y6PJXZ2E.js} +2 -2
  422. package/__chunks__/chunk-YR7YPWTF.js +2 -0
  423. package/__chunks__/{chunk-EB7DKY7Z.js → chunk-Z56HIYKS.js} +2 -2
  424. package/__chunks__/{chunk-XT5BA43Z.js → chunk-Z7JWZURJ.js} +2 -2
  425. package/__chunks__/{chunk-BBL4ZXHW.js → chunk-ZAKI6HUY.js} +2 -2
  426. package/__chunks__/{chunk-6PTMJTAR.js → chunk-ZCM6OSDK.js} +2 -2
  427. package/__chunks__/{chunk-MLSI3RC2.js → chunk-ZF6KDUMI.js} +2 -2
  428. package/__chunks__/{chunk-M47D4COH.js → chunk-ZJECAQPC.js} +2 -2
  429. package/__chunks__/chunk-ZJPGJ7QI.js +2 -0
  430. package/__chunks__/{chunk-77DECFQY.js → chunk-ZJQA5LBM.js} +2 -2
  431. package/__chunks__/{chunk-UHDCW2GI.js → chunk-ZMSSS4XY.js} +2 -2
  432. package/__chunks__/{chunk-IC5Y7E5N.js → chunk-ZOMDIW6A.js} +2 -2
  433. package/__chunks__/{chunk-A2IXF222.js → chunk-ZPNSZFF2.js} +2 -2
  434. package/__chunks__/chunk-ZSB5Q3QB.js +2 -0
  435. package/__chunks__/{chunk-HWDGDPLP.js → chunk-ZU7HQJ2E.js} +2 -2
  436. package/__chunks__/{chunk-GPNUHVOM.js → chunk-ZUJVT2UK.js} +2 -2
  437. package/__chunks__/{chunk-BMJLZLZM.js → chunk-ZXXEZGKT.js} +2 -2
  438. package/__commonjs/UI/DappModal/hooks/index.js +1 -1
  439. package/__commonjs/UI/DappModal/hooks/useDappModal.js +1 -1
  440. package/__commonjs/UI/DappModal/index.js +3 -3
  441. package/__commonjs/UI/ModalContainer/ModalContainer.js +3 -3
  442. package/__commonjs/UI/ModalContainer/index.js +3 -3
  443. package/__commonjs/UI/NotificationModal/index.js +4 -4
  444. package/__commonjs/UI/SignTransactionsModals/SignTransactionsModals.js +22 -22
  445. package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/SignStep.js +5 -5
  446. package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/index.js +7 -7
  447. package/__commonjs/UI/SignTransactionsModals/SignWithExtensionModal/index.js +5 -5
  448. package/__commonjs/UI/SignTransactionsModals/SignWithExtraModal/index.js +1 -1
  449. package/__commonjs/UI/SignTransactionsModals/SignWithLedgerModal/index.js +7 -7
  450. package/__commonjs/UI/SignTransactionsModals/SignWithOperaModal/index.js +5 -5
  451. package/__commonjs/UI/SignTransactionsModals/SignWithWalletConnectModal/index.js +5 -5
  452. package/__commonjs/UI/SignTransactionsModals/components/ConfirmationScreen.js +14 -14
  453. package/__commonjs/UI/SignTransactionsModals/components/DeviceConfirmationScreen.js +14 -14
  454. package/__commonjs/UI/SignTransactionsModals/components/TransactionStatusToast.js +5 -5
  455. package/__commonjs/UI/SignTransactionsModals/components/index.js +14 -14
  456. package/__commonjs/UI/SignTransactionsModals/index.js +22 -22
  457. package/__commonjs/UI/TransactionInfo/TransactionInfo.js +42 -42
  458. package/__commonjs/UI/TransactionInfo/components/DataDecode/DataDecode.js +3 -3
  459. package/__commonjs/UI/TransactionInfo/components/DataDecode/index.js +3 -3
  460. package/__commonjs/UI/TransactionInfo/components/NonceMessage/NonceMessage.js +2 -2
  461. package/__commonjs/UI/TransactionInfo/components/NonceMessage/index.js +2 -2
  462. package/__commonjs/UI/TransactionInfo/components/index.js +43 -43
  463. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMiniblock/TransactionInfoMiniblock.js +5 -5
  464. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMiniblock/index.js +5 -5
  465. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoNonce/TransactionInfoNonce.js +3 -3
  466. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoNonce/index.js +3 -3
  467. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/index.js +39 -39
  468. package/__commonjs/UI/TransactionInfo/index.js +43 -43
  469. package/__commonjs/UI/TransactionsTable/TransactionsTable.js +17 -17
  470. package/__commonjs/UI/TransactionsTable/index.js +17 -17
  471. package/__commonjs/UI/TransactionsToastList/TransactionsToastList.js +14 -14
  472. package/__commonjs/UI/TransactionsToastList/components/CustomToast/CustomToast.js +5 -5
  473. package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/IconToast/IconToast.js +5 -5
  474. package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/IconToastFooter.js +5 -5
  475. package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/TransactionToastFooter.js +8 -8
  476. package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/index.js +10 -10
  477. package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/index.js +5 -5
  478. package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/IconToast/index.js +5 -5
  479. package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/index.js +5 -5
  480. package/__commonjs/UI/TransactionsToastList/components/CustomToast/index.js +5 -5
  481. package/__commonjs/UI/TransactionsToastList/components/TransactionToast/TransactionToast.js +9 -9
  482. package/__commonjs/UI/TransactionsToastList/components/TransactionToast/hooks/useTransactionToast.js +2 -2
  483. package/__commonjs/UI/TransactionsToastList/components/TransactionToast/index.js +9 -9
  484. package/__commonjs/UI/TransactionsToastList/components/TransactionToastGuard.js +9 -9
  485. package/__commonjs/UI/TransactionsToastList/components/index.js +14 -14
  486. package/__commonjs/UI/TransactionsToastList/index.js +14 -14
  487. package/__commonjs/UI/extension/ExtensionLoginButton/index.js +4 -4
  488. package/__commonjs/UI/index.js +67 -67
  489. package/__commonjs/UI/ledger/LedgerLoginButton/index.js +16 -16
  490. package/__commonjs/UI/ledger/LedgerLoginContainer/AddressRow.js +2 -2
  491. package/__commonjs/UI/ledger/LedgerLoginContainer/AddressTable.js +7 -7
  492. package/__commonjs/UI/ledger/LedgerLoginContainer/ConfirmAddress.js +2 -2
  493. package/__commonjs/UI/ledger/LedgerLoginContainer/index.js +15 -15
  494. package/__commonjs/UI/ledger/index.js +16 -16
  495. package/__commonjs/UI/operaWallet/OperaWalletLoginButton/index.js +3 -3
  496. package/__commonjs/UI/pages/UnlockPage/index.js +19 -19
  497. package/__commonjs/UI/pages/index.js +19 -19
  498. package/__commonjs/UI/walletConnect/WalletConnectConnectionStatus/WalletConnectConnectionStatus.js +2 -2
  499. package/__commonjs/UI/walletConnect/WalletConnectConnectionStatus/index.js +2 -2
  500. package/__commonjs/UI/walletConnect/WalletConnectLoginButton/index.js +7 -7
  501. package/__commonjs/UI/walletConnect/WalletConnectLoginContainer/index.js +6 -6
  502. package/__commonjs/UI/walletConnect/index.js +7 -7
  503. package/__commonjs/UI/webWallet/WebWalletLoginButton/index.js +3 -3
  504. package/__commonjs/__mocks__/accountConfig.js +1 -1
  505. package/__commonjs/__mocks__/index.js +1 -1
  506. package/__commonjs/__mocks__/utils/index.js +1 -1
  507. package/__commonjs/__mocks__/utils/renderWithProvider.js +1 -1
  508. package/__commonjs/apiCalls/configuration/getApiAddressForChainId.js +1 -1
  509. package/__commonjs/apiCalls/configuration/getEnvironmentForChainId.js +1 -1
  510. package/__commonjs/apiCalls/configuration/getServerConfigurationForEnvironment.js +1 -1
  511. package/__commonjs/components/LogoutListener/LogoutListener.js +1 -1
  512. package/__commonjs/components/LogoutListener/helpers/index.js +1 -1
  513. package/__commonjs/components/LogoutListener/helpers/useLogoutFromMultipleTabs.js +1 -1
  514. package/__commonjs/components/LogoutListener/helpers/useNativeAuthLogout.js +1 -1
  515. package/__commonjs/components/LogoutListener/helpers/useNativeAuthLogoutWarning/index.js +1 -1
  516. package/__commonjs/components/LogoutListener/helpers/useNativeAuthLogoutWarning/useNativeAuthLogoutWarning.js +1 -1
  517. package/__commonjs/components/LogoutListener/index.js +1 -1
  518. package/__commonjs/components/ProviderInitializer.js +1 -1
  519. package/__commonjs/components/TransactionStatusToast/FailedTransactionStatusToast.js +5 -5
  520. package/__commonjs/components/TransactionsTracker/TransactionTracker.js +1 -1
  521. package/__commonjs/components/TransactionsTracker/index.js +1 -1
  522. package/__commonjs/components/TransactionsTracker/useTransactionsTracker.js +1 -1
  523. package/__commonjs/constants/network.js +1 -1
  524. package/__commonjs/hooks/account/useGetAccountProvider.js +1 -1
  525. package/__commonjs/hooks/index.js +1 -1
  526. package/__commonjs/hooks/login/index.js +1 -1
  527. package/__commonjs/hooks/login/useExtensionLogin.js +1 -1
  528. package/__commonjs/hooks/login/useLedgerLogin.js +1 -1
  529. package/__commonjs/hooks/login/useLoginService.js +1 -1
  530. package/__commonjs/hooks/login/useOperaLogin.js +1 -1
  531. package/__commonjs/hooks/login/useWalletConnectLogin.js +1 -1
  532. package/__commonjs/hooks/login/useWalletConnectV2Login.js +1 -1
  533. package/__commonjs/hooks/login/useWebWalletLogin.js +1 -1
  534. package/__commonjs/hooks/signMessage/index.js +1 -1
  535. package/__commonjs/hooks/transactions/index.js +1 -1
  536. package/__commonjs/hooks/transactions/useParseMultiEsdtTransferData.js +1 -1
  537. package/__commonjs/hooks/transactions/useSignTransactions.js +1 -1
  538. package/__commonjs/hooks/transactions/useTrackTransactionStatus.js +1 -1
  539. package/__commonjs/hooks/websocketListener/index.js +1 -1
  540. package/__commonjs/hooks/websocketListener/useInitializeWebsocketConnection.js +1 -1
  541. package/__commonjs/hooks/websocketListener/useRegisterWebsocketListener.js +1 -1
  542. package/__commonjs/providers/accountProvider.js +1 -1
  543. package/__commonjs/reduxStore/commonActions.js +1 -1
  544. package/__commonjs/reduxStore/selectors/dappModalsSelectors.js +1 -1
  545. package/__commonjs/reduxStore/selectors/helpers.js +1 -1
  546. package/__commonjs/reduxStore/selectors/modalsSelectors.js +1 -1
  547. package/__commonjs/reduxStore/selectors/networkConfigSelectors.js +1 -1
  548. package/__commonjs/reduxStore/selectors/signedMessageInfoSelectors.js +1 -1
  549. package/__commonjs/reduxStore/selectors/toastsSelectors.js +1 -1
  550. package/__commonjs/reduxStore/slices/accountInfoSlice.js +1 -1
  551. package/__commonjs/reduxStore/slices/dappModalsSlice.js +1 -1
  552. package/__commonjs/reduxStore/slices/toastsSlice.js +1 -1
  553. package/__commonjs/services/index.js +1 -1
  554. package/__commonjs/services/nativeAuth/helpers/getLatestBlockHash.js +1 -1
  555. package/__commonjs/services/nativeAuth/helpers/index.js +1 -1
  556. package/__commonjs/services/nativeAuth/index.js +1 -1
  557. package/__commonjs/services/nativeAuth/methods/getNativeAuthConfig.js +1 -1
  558. package/__commonjs/services/nativeAuth/methods/getToken.js +1 -1
  559. package/__commonjs/services/nativeAuth/methods/index.js +1 -1
  560. package/__commonjs/services/nativeAuth/nativeAuth.js +1 -1
  561. package/__commonjs/services/transactions/signTransactions.js +1 -1
  562. package/__commonjs/types/index.js +1 -1
  563. package/__commonjs/utils/asyncActions/index.js +1 -1
  564. package/__commonjs/utils/asyncActions/sleep.js +1 -1
  565. package/__commonjs/utils/index.js +2 -2
  566. package/__commonjs/utils/logout.js +1 -1
  567. package/__commonjs/utils/operations/denominate.js +1 -1
  568. package/__commonjs/utils/operations/formatAmount.js +1 -1
  569. package/__commonjs/utils/operations/nominate.js +1 -1
  570. package/__commonjs/utils/retryMultipleTimes.js +1 -1
  571. package/__commonjs/utils/transactions/getAreTransactionsOnSameShard.js +1 -1
  572. package/__commonjs/utils/transactions/getInterpretedTransaction/helpers/getReceiptMessage.js +1 -1
  573. package/__commonjs/utils/transactions/parseMultiEsdtTransferData.js +1 -1
  574. package/__commonjs/utils/transactions/transactionInfoHelpers/getScResultsInitialDecodeMethod.js +1 -1
  575. package/__commonjs/utils/transactions/transactionInfoHelpers/getTransactionActionNftText.js +1 -1
  576. package/__commonjs/utils/transactions/transactionInfoHelpers/useDataDecode.js +5 -5
  577. package/__commonjs/utils/transactions/transactionInfoHelpers/useDataDecodeMethod.js +1 -1
  578. package/__commonjs/wrappers/AppInitializer.js +1 -1
  579. package/__commonjs/wrappers/AxiosInterceptorContext/components/AxiosInterceptor.js +1 -1
  580. package/__commonjs/wrappers/AxiosInterceptorContext/components/LoginInfoListener.js +1 -1
  581. package/__commonjs/wrappers/DappProvider/CustomComponents.js +1 -1
  582. package/__commonjs/wrappers/DappProvider/index.js +1 -1
  583. package/__commonjs/wrappers/index.js +1 -1
  584. package/__mocks__/accountConfig.js +1 -1
  585. package/__mocks__/index.js +1 -1
  586. package/__mocks__/server.js +1 -1
  587. package/__mocks__/utils/index.js +1 -1
  588. package/__mocks__/utils/renderWithProvider.js +1 -1
  589. package/apiCalls/accounts/getAccountFromApi.js +1 -1
  590. package/apiCalls/accounts/index.js +1 -1
  591. package/apiCalls/configuration/getApiAddressForChainId.js +1 -1
  592. package/apiCalls/configuration/getEnvironmentForChainId.js +1 -1
  593. package/apiCalls/configuration/getNetworkConfig.js +1 -1
  594. package/apiCalls/configuration/getServerConfigurationForEnvironment.js +1 -1
  595. package/apiCalls/configuration/index.js +1 -1
  596. package/apiCalls/getScamAddressData.js +1 -1
  597. package/apiCalls/index.js +1 -1
  598. package/apiCalls/transactions/getTransactionsByHashes.js +1 -1
  599. package/apiCalls/transactions/index.js +1 -1
  600. package/apiCalls/transactions/sendSignedTransactions.js +1 -1
  601. package/apiCalls/utils/getCleanApiAddress.js +1 -1
  602. package/apiCalls/utils/index.js +1 -1
  603. package/components/LogoutListener/LogoutListener.js +1 -1
  604. package/components/LogoutListener/helpers/index.js +1 -1
  605. package/components/LogoutListener/helpers/useLogoutFromMultipleTabs.js +1 -1
  606. package/components/LogoutListener/helpers/useNativeAuthLogout.js +1 -1
  607. package/components/LogoutListener/helpers/useNativeAuthLogoutWarning/index.js +1 -1
  608. package/components/LogoutListener/helpers/useNativeAuthLogoutWarning/useNativeAuthLogoutWarning.js +1 -1
  609. package/components/LogoutListener/index.js +1 -1
  610. package/components/ProviderInitializer.js +1 -1
  611. package/components/TransactionSender/TransactionSender.js +1 -1
  612. package/components/TransactionSender/index.js +1 -1
  613. package/components/TransactionStatusToast/FailedTransactionStatusToast.js +1 -1
  614. package/components/TransactionsTracker/TransactionTracker.js +1 -1
  615. package/components/TransactionsTracker/index.js +1 -1
  616. package/components/TransactionsTracker/useTransactionsTracker.js +1 -1
  617. package/constants/index.js +1 -1
  618. package/constants/network.js +1 -1
  619. package/hooks/account/index.js +1 -1
  620. package/hooks/account/useGetAccount.js +1 -1
  621. package/hooks/account/useGetAccountInfo.js +1 -1
  622. package/hooks/account/useGetAccountProvider.js +1 -1
  623. package/hooks/account/useGetIsLoggedIn.js +1 -1
  624. package/hooks/account/useGetLoginInfo.js +1 -1
  625. package/hooks/account/useGetWebsocketEvent.js +1 -1
  626. package/hooks/index.js +1 -1
  627. package/hooks/login/index.js +1 -1
  628. package/hooks/login/useExtensionLogin.js +1 -1
  629. package/hooks/login/useLedgerLogin.js +1 -1
  630. package/hooks/login/useLoginService.js +1 -1
  631. package/hooks/login/useOperaLogin.js +1 -1
  632. package/hooks/login/useWalletConnectLogin.js +1 -1
  633. package/hooks/login/useWalletConnectV2Login.js +1 -1
  634. package/hooks/login/useWebViewLogin.js +1 -1
  635. package/hooks/login/useWebWalletLogin.js +1 -1
  636. package/hooks/signMessage/index.js +1 -1
  637. package/hooks/signMessage/useGetLastSignedMessageSession.js +1 -1
  638. package/hooks/signMessage/useGetSignMessageSession.js +1 -1
  639. package/hooks/signMessage/useGetSignedMessageStatus.js +1 -1
  640. package/hooks/signMessage/useSignMessage.js +1 -1
  641. package/hooks/transactions/helpers/getShouldMoveTransactionsToSignedState.js +1 -1
  642. package/hooks/transactions/helpers/index.js +1 -1
  643. package/hooks/transactions/helpers/useClearTransactionsToSignWithWarning.js +1 -1
  644. package/hooks/transactions/helpers/useSetTransactionNonces.js +1 -1
  645. package/hooks/transactions/index.js +1 -1
  646. package/hooks/transactions/useCancelWalletConnectAction.js +1 -1
  647. package/hooks/transactions/useCheckTransactionStatus/checkBatch.js +1 -1
  648. package/hooks/transactions/useCheckTransactionStatus/index.js +1 -1
  649. package/hooks/transactions/useCheckTransactionStatus/manageFailedTransactions.js +1 -1
  650. package/hooks/transactions/useCheckTransactionStatus/manageTimedOutTransactions.js +1 -1
  651. package/hooks/transactions/useCheckTransactionStatus/useCheckTransactionStatus.js +1 -1
  652. package/hooks/transactions/useGetActiveTransactionsStatus.js +1 -1
  653. package/hooks/transactions/useGetFailedTransactions.js +1 -1
  654. package/hooks/transactions/useGetPendingTransactions.js +1 -1
  655. package/hooks/transactions/useGetSignTransactionsError.js +1 -1
  656. package/hooks/transactions/useGetSignedTransactions.js +1 -1
  657. package/hooks/transactions/useGetSuccessfulTransactions.js +1 -1
  658. package/hooks/transactions/useGetTokenDetails.js +1 -1
  659. package/hooks/transactions/useGetTransactionDisplayInfo.js +1 -1
  660. package/hooks/transactions/useParseMultiEsdtTransferData.js +1 -1
  661. package/hooks/transactions/useParseSignedTransactions.js +1 -1
  662. package/hooks/transactions/useSignMultipleTransactions.js +1 -1
  663. package/hooks/transactions/useSignTransactions.js +1 -1
  664. package/hooks/transactions/useSignTransactionsCommonData.js +1 -1
  665. package/hooks/transactions/useSignTransactionsWithDevice.js +1 -1
  666. package/hooks/transactions/useSignTransactionsWithLedger.js +1 -1
  667. package/hooks/transactions/useTrackTransactionStatus.js +1 -1
  668. package/hooks/useGetNetworkConfig.js +1 -1
  669. package/hooks/useGetNotification.js +1 -1
  670. package/hooks/userInterface/index.js +1 -1
  671. package/hooks/userInterface/useIsDappModalVisible.js +1 -1
  672. package/hooks/websocketListener/index.js +1 -1
  673. package/hooks/websocketListener/useInitializeWebsocketConnection.js +1 -1
  674. package/hooks/websocketListener/useRegisterWebsocketListener.js +1 -1
  675. package/models/index.js +1 -1
  676. package/models/newTransaction.js +1 -1
  677. package/package.json +1 -1
  678. package/providers/accountProvider.js +1 -1
  679. package/providers/index.js +1 -1
  680. package/providers/utils.js +1 -1
  681. package/providers/webviewProvider/index.js +1 -1
  682. package/providers/webviewProvider/requestMethods.js +1 -1
  683. package/providers/webviewProvider/webviewProvider.js +1 -1
  684. package/reduxStore/DappProviderContext.js +1 -1
  685. package/reduxStore/commonActions.js +1 -1
  686. package/reduxStore/middlewares/loginSessionMiddleware.js +1 -1
  687. package/reduxStore/persistConfig.js +1 -1
  688. package/reduxStore/persistedRootReducer.js +1 -1
  689. package/reduxStore/reducers.js +1 -1
  690. package/reduxStore/rootReducer.js +1 -1
  691. package/reduxStore/selectors/accountInfoSelectors.js +1 -1
  692. package/reduxStore/selectors/dappModalsSelectors.js +1 -1
  693. package/reduxStore/selectors/helpers.js +1 -1
  694. package/reduxStore/selectors/index.js +1 -1
  695. package/reduxStore/selectors/loginInfoSelectors.js +1 -1
  696. package/reduxStore/selectors/modalsSelectors.js +1 -1
  697. package/reduxStore/selectors/networkConfigSelectors.js +1 -1
  698. package/reduxStore/selectors/signedMessageInfoSelectors.js +1 -1
  699. package/reduxStore/selectors/toastsSelectors.js +1 -1
  700. package/reduxStore/selectors/transactionsInfoSelectors.js +1 -1
  701. package/reduxStore/selectors/transactionsSelectors.js +1 -1
  702. package/reduxStore/slices/accountInfoSlice.js +1 -1
  703. package/reduxStore/slices/dappModalsSlice.js +1 -1
  704. package/reduxStore/slices/index.js +1 -1
  705. package/reduxStore/slices/loginInfoSlice.js +1 -1
  706. package/reduxStore/slices/modalsSlice.js +1 -1
  707. package/reduxStore/slices/signedMessageInfoSlice.js +1 -1
  708. package/reduxStore/slices/toastsSlice.js +1 -1
  709. package/reduxStore/slices/transactionsInfoSlice.js +1 -1
  710. package/reduxStore/slices/transactionsSlice.js +1 -1
  711. package/reduxStore/store.js +1 -1
  712. package/services/index.js +1 -1
  713. package/services/nativeAuth/helpers/getLatestBlockHash.d.ts +1 -1
  714. package/services/nativeAuth/helpers/getLatestBlockHash.js +1 -1
  715. package/services/nativeAuth/helpers/index.js +1 -1
  716. package/services/nativeAuth/helpers/loginWithNativeAuthToken.js +1 -1
  717. package/services/nativeAuth/index.js +1 -1
  718. package/services/nativeAuth/methods/getNativeAuthConfig.js +1 -1
  719. package/services/nativeAuth/methods/getToken.js +1 -1
  720. package/services/nativeAuth/methods/index.js +1 -1
  721. package/services/nativeAuth/nativeAuth.js +1 -1
  722. package/services/transactions/clearTransactions.js +1 -1
  723. package/services/transactions/index.js +1 -1
  724. package/services/transactions/isCrossShardTransaction.js +1 -1
  725. package/services/transactions/sendTransactions.js +1 -1
  726. package/services/transactions/signTransactions.js +1 -1
  727. package/services/transactions/transformAndSignTransactions.js +1 -1
  728. package/services/transactions/utils.js +1 -1
  729. package/types/index.js +1 -1
  730. package/types/login.types.d.ts +1 -0
  731. package/types/login.types.js +1 -1
  732. package/utils/account/getAccount.js +1 -1
  733. package/utils/account/getAccountBalance.js +1 -1
  734. package/utils/account/getAccountProviderType.js +1 -1
  735. package/utils/account/getAccountShard.js +1 -1
  736. package/utils/account/getAddress.js +1 -1
  737. package/utils/account/getIsProviderEqualTo.js +1 -1
  738. package/utils/account/getLatestNonce.js +1 -1
  739. package/utils/account/getShardOfAddress.js +1 -1
  740. package/utils/account/index.js +1 -1
  741. package/utils/account/loginWithExternalProvider.js +1 -1
  742. package/utils/account/refreshAccount.js +1 -1
  743. package/utils/account/setNonce.js +1 -1
  744. package/utils/account/signMessage.js +1 -1
  745. package/utils/asyncActions/index.js +1 -1
  746. package/utils/asyncActions/sleep.js +1 -1
  747. package/utils/getIsLoggedIn.js +1 -1
  748. package/utils/index.js +1 -1
  749. package/utils/logout.js +1 -1
  750. package/utils/network/getChainID.js +1 -1
  751. package/utils/network/getEgldLabel.js +1 -1
  752. package/utils/network/getNetworkConfig.js +1 -1
  753. package/utils/network/index.js +1 -1
  754. package/utils/operations/calculateFeeLimit.js +1 -1
  755. package/utils/operations/denominate.js +1 -1
  756. package/utils/operations/formatAmount.js +1 -1
  757. package/utils/operations/index.js +1 -1
  758. package/utils/operations/nominate.js +1 -1
  759. package/utils/operations/parseAmount.js +1 -1
  760. package/utils/retryMultipleTimes.js +1 -1
  761. package/utils/smartContracts.js +1 -1
  762. package/utils/toasts/customToastsActions.js +1 -1
  763. package/utils/toasts/index.js +1 -1
  764. package/utils/transactions/getAllTransactionsLink.js +1 -1
  765. package/utils/transactions/getAreTransactionsOnSameShard.js +1 -1
  766. package/utils/transactions/getInterpretedTransaction/getInterpretedTransaction.js +1 -1
  767. package/utils/transactions/getInterpretedTransaction/helpers/getReceiptMessage.js +1 -1
  768. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/getTransactionValue.js +1 -1
  769. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getEgldValueData.js +1 -1
  770. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getTitleText.js +1 -1
  771. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getValueFromActions.js +1 -1
  772. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getValueFromDataField.js +1 -1
  773. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getValueFromOperations.js +1 -1
  774. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/index.js +1 -1
  775. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/index.js +1 -1
  776. package/utils/transactions/getInterpretedTransaction/helpers/index.js +1 -1
  777. package/utils/transactions/getInterpretedTransaction/index.js +1 -1
  778. package/utils/transactions/getTransactionLink.js +1 -1
  779. package/utils/transactions/index.js +1 -1
  780. package/utils/transactions/parseMultiEsdtTransferData.js +1 -1
  781. package/utils/transactions/parseTransactionAfterSigning.js +1 -1
  782. package/utils/transactions/transactionInfoHelpers/getScResultsInitialDecodeMethod.js +1 -1
  783. package/utils/transactions/transactionInfoHelpers/getShardText.js +1 -1
  784. package/utils/transactions/transactionInfoHelpers/getTransactionActionNftText.js +1 -1
  785. package/utils/transactions/transactionInfoHelpers/getTransactionActionTokenText.js +1 -1
  786. package/utils/transactions/transactionInfoHelpers/getTransactionLinkWithLabel.js +1 -1
  787. package/utils/transactions/transactionInfoHelpers/getTransactionMessages.js +1 -1
  788. package/utils/transactions/transactionInfoHelpers/index.js +1 -1
  789. package/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/helpers/index.js +1 -1
  790. package/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/helpers/mexUnwrapper.js +1 -1
  791. package/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/index.js +1 -1
  792. package/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/transactionActionUnwrapper.js +1 -1
  793. package/utils/transactions/transactionInfoHelpers/useDataDecode.js +1 -1
  794. package/utils/transactions/transactionInfoHelpers/useDataDecodeMethod.js +1 -1
  795. package/utils/validation/index.js +1 -1
  796. package/utils/validation/maxDecimals.js +1 -1
  797. package/utils/validation/stringIsFloat.js +1 -1
  798. package/web/hooks/index.js +1 -1
  799. package/web/hooks/useIdleTimer.js +1 -1
  800. package/web/index.js +1 -1
  801. package/wrappers/AppInitializer.js +1 -1
  802. package/wrappers/AuthenticatedRoutesWrapper/index.js +1 -1
  803. package/wrappers/AxiosInterceptorContext/AxiosInterceptorContext.js +1 -1
  804. package/wrappers/AxiosInterceptorContext/components/AxiosInterceptor.js +1 -1
  805. package/wrappers/AxiosInterceptorContext/components/AxiosInterceptorContextProvider.js +1 -1
  806. package/wrappers/AxiosInterceptorContext/components/LoginInfoListener.js +1 -1
  807. package/wrappers/AxiosInterceptorContext/components/index.js +1 -1
  808. package/wrappers/AxiosInterceptorContext/index.js +1 -1
  809. package/wrappers/DappProvider/CustomComponents.js +1 -1
  810. package/wrappers/DappProvider/index.js +1 -1
  811. package/wrappers/index.js +1 -1
  812. package/__chunks__/chunk-3EYFCRQJ.js +0 -2
  813. package/__chunks__/chunk-3F3J26IL.js +0 -2
  814. package/__chunks__/chunk-3LTTE7Z4.js +0 -2
  815. package/__chunks__/chunk-3XYPMC5Z.js +0 -2
  816. package/__chunks__/chunk-3YOLWVYN.js +0 -2
  817. package/__chunks__/chunk-42BPBN4G.js +0 -2
  818. package/__chunks__/chunk-573MD3HA.js +0 -2
  819. package/__chunks__/chunk-7CRYWUS6.js +0 -2
  820. package/__chunks__/chunk-7NADEOVW.js +0 -2
  821. package/__chunks__/chunk-7ZZWUK5N.js +0 -2
  822. package/__chunks__/chunk-AJVN5NMC.js +0 -2
  823. package/__chunks__/chunk-BQOSJ42S.js +0 -2
  824. package/__chunks__/chunk-BQY4YEPO.js +0 -2
  825. package/__chunks__/chunk-CKRLCHHT.js +0 -2
  826. package/__chunks__/chunk-CX7JJAI7.js +0 -2
  827. package/__chunks__/chunk-D3DU3GYZ.js +0 -2
  828. package/__chunks__/chunk-FAPWAQOI.js +0 -2
  829. package/__chunks__/chunk-FLNAHHFO.js +0 -2
  830. package/__chunks__/chunk-G4FTNX3C.js +0 -2
  831. package/__chunks__/chunk-GNJAE3HJ.js +0 -2
  832. package/__chunks__/chunk-GQMTJB4L.js +0 -2
  833. package/__chunks__/chunk-JAEDB3IA.js +0 -2
  834. package/__chunks__/chunk-KCCZWHLF.js +0 -2
  835. package/__chunks__/chunk-KQCX4VG2.js +0 -2
  836. package/__chunks__/chunk-KQF4EULM.js +0 -2
  837. package/__chunks__/chunk-LG6WIZHT.js +0 -2
  838. package/__chunks__/chunk-LM64ZHBF.js +0 -2
  839. package/__chunks__/chunk-MAPKARLD.js +0 -2
  840. package/__chunks__/chunk-N7H3FMAE.js +0 -2
  841. package/__chunks__/chunk-NJVX7KSK.js +0 -2
  842. package/__chunks__/chunk-P2E3TG5U.js +0 -2
  843. package/__chunks__/chunk-PURPYWQM.js +0 -2
  844. package/__chunks__/chunk-RBHVYE2Y.js +0 -2
  845. package/__chunks__/chunk-RGJUSITX.js +0 -2
  846. package/__chunks__/chunk-RQ5KJRJY.js +0 -2
  847. package/__chunks__/chunk-S6DXOR2S.js +0 -2
  848. package/__chunks__/chunk-SCCXHHWP.js +0 -2
  849. package/__chunks__/chunk-SPNCRNER.js +0 -2
  850. package/__chunks__/chunk-T6SOZMFL.js +0 -2
  851. package/__chunks__/chunk-TTS3WFEE.js +0 -2
  852. package/__chunks__/chunk-UC3M6BHM.js +0 -2
  853. package/__chunks__/chunk-WALAONSP.js +0 -2
  854. package/__chunks__/chunk-XCBMXPY5.js +0 -2
  855. package/__chunks__/chunk-Y3CLO3PP.js +0 -2
  856. package/__chunks__/chunk-YA6SZOY2.js +0 -2
  857. package/__chunks__/chunk-YBGCB57C.js +0 -2
  858. package/__chunks__/chunk-Z4BLO2TH.js +0 -2
  859. package/__chunks__/chunk-Z6WGQSRM.js +0 -2
@@ -1,4 +1,4 @@
1
- "use strict";var Dr=Object.create;var P=Object.defineProperty;var Rr=Object.getOwnPropertyDescriptor;var Lr=Object.getOwnPropertyNames;var kr=Object.getPrototypeOf,Or=Object.prototype.hasOwnProperty;var br=(e,r)=>()=>(e&&(r=e(e=0)),r);var G=(e,r)=>()=>(r||e((r={exports:{}}).exports,r),r.exports),Mr=(e,r)=>{for(var t in r)P(e,t,{get:r[t],enumerable:!0})},ur=(e,r,t,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let i of Lr(r))!Or.call(e,i)&&i!==t&&P(e,i,{get:()=>r[i],enumerable:!(n=Rr(r,i))||n.enumerable});return e};var q=(e,r,t)=>(t=e!=null?Dr(kr(e)):{},ur(r||!e||!e.__esModule?P(t,"default",{value:e,enumerable:!0}):t,e)),Pr=e=>ur(P({},"__esModule",{value:!0}),e);var H=(e,r,t)=>new Promise((n,i)=>{var o=c=>{try{f(t.next(c))}catch(h){i(h)}},u=c=>{try{f(t.throw(c))}catch(h){i(h)}},f=c=>c.done?n(c.value):Promise.resolve(c.value).then(o,u);f((t=t.apply(e,r)).next())});var fr=G(V=>{"use strict";l();V.byteLength=Hr;V.toByteArray=Wr;V.fromByteArray=qr;var I=[],F=[],Gr=typeof Uint8Array!="undefined"?Uint8Array:Array,J="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(C=0,ar=J.length;C<ar;++C)I[C]=J[C],F[J.charCodeAt(C)]=C;var C,ar;F["-".charCodeAt(0)]=62;F["_".charCodeAt(0)]=63;function cr(e){var r=e.length;if(r%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var t=e.indexOf("=");t===-1&&(t=r);var n=t===r?0:4-t%4;return[t,n]}function Hr(e){var r=cr(e),t=r[0],n=r[1];return(t+n)*3/4-n}function Vr(e,r,t){return(r+t)*3/4-t}function Wr(e){var r,t=cr(e),n=t[0],i=t[1],o=new Gr(Vr(e,n,i)),u=0,f=i>0?n-4:n,c;for(c=0;c<f;c+=4)r=F[e.charCodeAt(c)]<<18|F[e.charCodeAt(c+1)]<<12|F[e.charCodeAt(c+2)]<<6|F[e.charCodeAt(c+3)],o[u++]=r>>16&255,o[u++]=r>>8&255,o[u++]=r&255;return i===2&&(r=F[e.charCodeAt(c)]<<2|F[e.charCodeAt(c+1)]>>4,o[u++]=r&255),i===1&&(r=F[e.charCodeAt(c)]<<10|F[e.charCodeAt(c+1)]<<4|F[e.charCodeAt(c+2)]>>2,o[u++]=r>>8&255,o[u++]=r&255),o}function Kr(e){return I[e>>18&63]+I[e>>12&63]+I[e>>6&63]+I[e&63]}function Yr(e,r,t){for(var n,i=[],o=r;o<t;o+=3)n=(e[o]<<16&16711680)+(e[o+1]<<8&65280)+(e[o+2]&255),i.push(Kr(n));return i.join("")}function qr(e){for(var r,t=e.length,n=t%3,i=[],o=16383,u=0,f=t-n;u<f;u+=o)i.push(Yr(e,u,u+o>f?f:u+o));return n===1?(r=e[t-1],i.push(I[r>>2]+I[r<<4&63]+"==")):n===2&&(r=(e[t-2]<<8)+e[t-1],i.push(I[r>>10]+I[r>>4&63]+I[r<<2&63]+"=")),i.join("")}});var hr=G(X=>{l();X.read=function(e,r,t,n,i){var o,u,f=i*8-n-1,c=(1<<f)-1,h=c>>1,s=-7,p=t?i-1:0,w=t?-1:1,g=e[r+p];for(p+=w,o=g&(1<<-s)-1,g>>=-s,s+=f;s>0;o=o*256+e[r+p],p+=w,s-=8);for(u=o&(1<<-s)-1,o>>=-s,s+=n;s>0;u=u*256+e[r+p],p+=w,s-=8);if(o===0)o=1-h;else{if(o===c)return u?NaN:(g?-1:1)*(1/0);u=u+Math.pow(2,n),o=o-h}return(g?-1:1)*u*Math.pow(2,o-n)};X.write=function(e,r,t,n,i,o){var u,f,c,h=o*8-i-1,s=(1<<h)-1,p=s>>1,w=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,g=n?0:o-1,R=n?1:-1,_r=r<0||r===0&&1/r<0?1:0;for(r=Math.abs(r),isNaN(r)||r===1/0?(f=isNaN(r)?1:0,u=s):(u=Math.floor(Math.log(r)/Math.LN2),r*(c=Math.pow(2,-u))<1&&(u--,c*=2),u+p>=1?r+=w/c:r+=w*Math.pow(2,1-p),r*c>=2&&(u++,c/=2),u+p>=s?(f=0,u=s):u+p>=1?(f=(r*c-1)*Math.pow(2,i),u=u+p):(f=r*Math.pow(2,p-1)*Math.pow(2,i),u=0));i>=8;e[t+g]=f&255,g+=R,f/=256,i-=8);for(u=u<<i|f,h+=i;h>0;e[t+g]=u&255,g+=R,u/=256,h-=8);e[t+g-R]|=_r*128}});var Ir=G(k=>{"use strict";l();var z=fr(),L=hr(),pr=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;k.Buffer=a;k.SlowBuffer=Zr;k.INSPECT_MAX_BYTES=50;var W=2147483647;k.kMaxLength=W;a.TYPED_ARRAY_SUPPORT=Jr();!a.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 Jr(){try{var e=new Uint8Array(1),r={foo:function(){return 42}};return Object.setPrototypeOf(r,Uint8Array.prototype),Object.setPrototypeOf(e,r),e.foo()===42}catch(t){return!1}}Object.defineProperty(a.prototype,"parent",{enumerable:!0,get:function(){if(!!a.isBuffer(this))return this.buffer}});Object.defineProperty(a.prototype,"offset",{enumerable:!0,get:function(){if(!!a.isBuffer(this))return this.byteOffset}});function N(e){if(e>W)throw new RangeError('The value "'+e+'" is invalid for option "size"');var r=new Uint8Array(e);return Object.setPrototypeOf(r,a.prototype),r}function a(e,r,t){if(typeof e=="number"){if(typeof r=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return j(e)}return xr(e,r,t)}a.poolSize=8192;function xr(e,r,t){if(typeof e=="string")return zr(e,r);if(ArrayBuffer.isView(e))return Qr(e);if(e==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(d(e,ArrayBuffer)||e&&d(e.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(d(e,SharedArrayBuffer)||e&&d(e.buffer,SharedArrayBuffer)))return $(e,r,t);if(typeof e=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var n=e.valueOf&&e.valueOf();if(n!=null&&n!==e)return a.from(n,r,t);var i=$r(e);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof e[Symbol.toPrimitive]=="function")return a.from(e[Symbol.toPrimitive]("string"),r,t);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}a.from=function(e,r,t){return xr(e,r,t)};Object.setPrototypeOf(a.prototype,Uint8Array.prototype);Object.setPrototypeOf(a,Uint8Array);function yr(e){if(typeof e!="number")throw new TypeError('"size" argument must be of type number');if(e<0)throw new RangeError('The value "'+e+'" is invalid for option "size"')}function Xr(e,r,t){return yr(e),e<=0?N(e):r!==void 0?typeof t=="string"?N(e).fill(r,t):N(e).fill(r):N(e)}a.alloc=function(e,r,t){return Xr(e,r,t)};function j(e){return yr(e),N(e<0?0:rr(e)|0)}a.allocUnsafe=function(e){return j(e)};a.allocUnsafeSlow=function(e){return j(e)};function zr(e,r){if((typeof r!="string"||r==="")&&(r="utf8"),!a.isEncoding(r))throw new TypeError("Unknown encoding: "+r);var t=wr(e,r)|0,n=N(t),i=n.write(e,r);return i!==t&&(n=n.slice(0,i)),n}function Q(e){for(var r=e.length<0?0:rr(e.length)|0,t=N(r),n=0;n<r;n+=1)t[n]=e[n]&255;return t}function Qr(e){if(d(e,Uint8Array)){var r=new Uint8Array(e);return $(r.buffer,r.byteOffset,r.byteLength)}return Q(e)}function $(e,r,t){if(r<0||e.byteLength<r)throw new RangeError('"offset" is outside of buffer bounds');if(e.byteLength<r+(t||0))throw new RangeError('"length" is outside of buffer bounds');var n;return r===void 0&&t===void 0?n=new Uint8Array(e):t===void 0?n=new Uint8Array(e,r):n=new Uint8Array(e,r,t),Object.setPrototypeOf(n,a.prototype),n}function $r(e){if(a.isBuffer(e)){var r=rr(e.length)|0,t=N(r);return t.length===0||e.copy(t,0,0,r),t}if(e.length!==void 0)return typeof e.length!="number"||tr(e.length)?N(0):Q(e);if(e.type==="Buffer"&&Array.isArray(e.data))return Q(e.data)}function rr(e){if(e>=W)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+W.toString(16)+" bytes");return e|0}function Zr(e){return+e!=e&&(e=0),a.alloc(+e)}a.isBuffer=function(r){return r!=null&&r._isBuffer===!0&&r!==a.prototype};a.compare=function(r,t){if(d(r,Uint8Array)&&(r=a.from(r,r.offset,r.byteLength)),d(t,Uint8Array)&&(t=a.from(t,t.offset,t.byteLength)),!a.isBuffer(r)||!a.isBuffer(t))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(r===t)return 0;for(var n=r.length,i=t.length,o=0,u=Math.min(n,i);o<u;++o)if(r[o]!==t[o]){n=r[o],i=t[o];break}return n<i?-1:i<n?1:0};a.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}};a.concat=function(r,t){if(!Array.isArray(r))throw new TypeError('"list" argument must be an Array of Buffers');if(r.length===0)return a.alloc(0);var n;if(t===void 0)for(t=0,n=0;n<r.length;++n)t+=r[n].length;var i=a.allocUnsafe(t),o=0;for(n=0;n<r.length;++n){var u=r[n];if(d(u,Uint8Array))o+u.length>i.length?a.from(u).copy(i,o):Uint8Array.prototype.set.call(i,u,o);else if(a.isBuffer(u))u.copy(i,o);else throw new TypeError('"list" argument must be an Array of Buffers');o+=u.length}return i};function wr(e,r){if(a.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||d(e,ArrayBuffer))return e.byteLength;if(typeof e!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var t=e.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&t===0)return 0;for(var i=!1;;)switch(r){case"ascii":case"latin1":case"binary":return t;case"utf8":case"utf-8":return Z(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return t*2;case"hex":return t>>>1;case"base64":return Br(e).length;default:if(i)return n?-1:Z(e).length;r=(""+r).toLowerCase(),i=!0}}a.byteLength=wr;function jr(e,r,t){var n=!1;if((r===void 0||r<0)&&(r=0),r>this.length||((t===void 0||t>this.length)&&(t=this.length),t<=0)||(t>>>=0,r>>>=0,t<=r))return"";for(e||(e="utf8");;)switch(e){case"hex":return ft(this,r,t);case"utf8":case"utf-8":return Er(this,r,t);case"ascii":return at(this,r,t);case"latin1":case"binary":return ct(this,r,t);case"base64":return ot(this,r,t);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ht(this,r,t);default:if(n)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),n=!0}}a.prototype._isBuffer=!0;function _(e,r,t){var n=e[r];e[r]=e[t],e[t]=n}a.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 t=0;t<r;t+=2)_(this,t,t+1);return this};a.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 t=0;t<r;t+=4)_(this,t,t+3),_(this,t+1,t+2);return this};a.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 t=0;t<r;t+=8)_(this,t,t+7),_(this,t+1,t+6),_(this,t+2,t+5),_(this,t+3,t+4);return this};a.prototype.toString=function(){var r=this.length;return r===0?"":arguments.length===0?Er(this,0,r):jr.apply(this,arguments)};a.prototype.toLocaleString=a.prototype.toString;a.prototype.equals=function(r){if(!a.isBuffer(r))throw new TypeError("Argument must be a Buffer");return this===r?!0:a.compare(this,r)===0};a.prototype.inspect=function(){var r="",t=k.INSPECT_MAX_BYTES;return r=this.toString("hex",0,t).replace(/(.{2})/g,"$1 ").trim(),this.length>t&&(r+=" ... "),"<Buffer "+r+">"};pr&&(a.prototype[pr]=a.prototype.inspect);a.prototype.compare=function(r,t,n,i,o){if(d(r,Uint8Array)&&(r=a.from(r,r.offset,r.byteLength)),!a.isBuffer(r))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof r);if(t===void 0&&(t=0),n===void 0&&(n=r?r.length:0),i===void 0&&(i=0),o===void 0&&(o=this.length),t<0||n>r.length||i<0||o>this.length)throw new RangeError("out of range index");if(i>=o&&t>=n)return 0;if(i>=o)return-1;if(t>=n)return 1;if(t>>>=0,n>>>=0,i>>>=0,o>>>=0,this===r)return 0;for(var u=o-i,f=n-t,c=Math.min(u,f),h=this.slice(i,o),s=r.slice(t,n),p=0;p<c;++p)if(h[p]!==s[p]){u=h[p],f=s[p];break}return u<f?-1:f<u?1:0};function mr(e,r,t,n,i){if(e.length===0)return-1;if(typeof t=="string"?(n=t,t=0):t>2147483647?t=2147483647:t<-2147483648&&(t=-2147483648),t=+t,tr(t)&&(t=i?0:e.length-1),t<0&&(t=e.length+t),t>=e.length){if(i)return-1;t=e.length-1}else if(t<0)if(i)t=0;else return-1;if(typeof r=="string"&&(r=a.from(r,n)),a.isBuffer(r))return r.length===0?-1:sr(e,r,t,n,i);if(typeof r=="number")return r=r&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(e,r,t):Uint8Array.prototype.lastIndexOf.call(e,r,t):sr(e,[r],t,n,i);throw new TypeError("val must be string, number or Buffer")}function sr(e,r,t,n,i){var o=1,u=e.length,f=r.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(e.length<2||r.length<2)return-1;o=2,u/=2,f/=2,t/=2}function c(g,R){return o===1?g[R]:g.readUInt16BE(R*o)}var h;if(i){var s=-1;for(h=t;h<u;h++)if(c(e,h)===c(r,s===-1?0:h-s)){if(s===-1&&(s=h),h-s+1===f)return s*o}else s!==-1&&(h-=h-s),s=-1}else for(t+f>u&&(t=u-f),h=t;h>=0;h--){for(var p=!0,w=0;w<f;w++)if(c(e,h+w)!==c(r,w)){p=!1;break}if(p)return h}return-1}a.prototype.includes=function(r,t,n){return this.indexOf(r,t,n)!==-1};a.prototype.indexOf=function(r,t,n){return mr(this,r,t,n,!0)};a.prototype.lastIndexOf=function(r,t,n){return mr(this,r,t,n,!1)};function rt(e,r,t,n){t=Number(t)||0;var i=e.length-t;n?(n=Number(n),n>i&&(n=i)):n=i;var o=r.length;n>o/2&&(n=o/2);for(var u=0;u<n;++u){var f=parseInt(r.substr(u*2,2),16);if(tr(f))return u;e[t+u]=f}return u}function tt(e,r,t,n){return K(Z(r,e.length-t),e,t,n)}function et(e,r,t,n){return K(lt(r),e,t,n)}function nt(e,r,t,n){return K(Br(r),e,t,n)}function it(e,r,t,n){return K(xt(r,e.length-t),e,t,n)}a.prototype.write=function(r,t,n,i){if(t===void 0)i="utf8",n=this.length,t=0;else if(n===void 0&&typeof t=="string")i=t,n=this.length,t=0;else if(isFinite(t))t=t>>>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-t;if((n===void 0||n>o)&&(n=o),r.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var u=!1;;)switch(i){case"hex":return rt(this,r,t,n);case"utf8":case"utf-8":return tt(this,r,t,n);case"ascii":case"latin1":case"binary":return et(this,r,t,n);case"base64":return nt(this,r,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return it(this,r,t,n);default:if(u)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),u=!0}};a.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function ot(e,r,t){return r===0&&t===e.length?z.fromByteArray(e):z.fromByteArray(e.slice(r,t))}function Er(e,r,t){t=Math.min(e.length,t);for(var n=[],i=r;i<t;){var o=e[i],u=null,f=o>239?4:o>223?3:o>191?2:1;if(i+f<=t){var c,h,s,p;switch(f){case 1:o<128&&(u=o);break;case 2:c=e[i+1],(c&192)===128&&(p=(o&31)<<6|c&63,p>127&&(u=p));break;case 3:c=e[i+1],h=e[i+2],(c&192)===128&&(h&192)===128&&(p=(o&15)<<12|(c&63)<<6|h&63,p>2047&&(p<55296||p>57343)&&(u=p));break;case 4:c=e[i+1],h=e[i+2],s=e[i+3],(c&192)===128&&(h&192)===128&&(s&192)===128&&(p=(o&15)<<18|(c&63)<<12|(h&63)<<6|s&63,p>65535&&p<1114112&&(u=p))}}u===null?(u=65533,f=1):u>65535&&(u-=65536,n.push(u>>>10&1023|55296),u=56320|u&1023),n.push(u),i+=f}return ut(n)}var lr=4096;function ut(e){var r=e.length;if(r<=lr)return String.fromCharCode.apply(String,e);for(var t="",n=0;n<r;)t+=String.fromCharCode.apply(String,e.slice(n,n+=lr));return t}function at(e,r,t){var n="";t=Math.min(e.length,t);for(var i=r;i<t;++i)n+=String.fromCharCode(e[i]&127);return n}function ct(e,r,t){var n="";t=Math.min(e.length,t);for(var i=r;i<t;++i)n+=String.fromCharCode(e[i]);return n}function ft(e,r,t){var n=e.length;(!r||r<0)&&(r=0),(!t||t<0||t>n)&&(t=n);for(var i="",o=r;o<t;++o)i+=yt[e[o]];return i}function ht(e,r,t){for(var n=e.slice(r,t),i="",o=0;o<n.length-1;o+=2)i+=String.fromCharCode(n[o]+n[o+1]*256);return i}a.prototype.slice=function(r,t){var n=this.length;r=~~r,t=t===void 0?n:~~t,r<0?(r+=n,r<0&&(r=0)):r>n&&(r=n),t<0?(t+=n,t<0&&(t=0)):t>n&&(t=n),t<r&&(t=r);var i=this.subarray(r,t);return Object.setPrototypeOf(i,a.prototype),i};function y(e,r,t){if(e%1!==0||e<0)throw new RangeError("offset is not uint");if(e+r>t)throw new RangeError("Trying to access beyond buffer length")}a.prototype.readUintLE=a.prototype.readUIntLE=function(r,t,n){r=r>>>0,t=t>>>0,n||y(r,t,this.length);for(var i=this[r],o=1,u=0;++u<t&&(o*=256);)i+=this[r+u]*o;return i};a.prototype.readUintBE=a.prototype.readUIntBE=function(r,t,n){r=r>>>0,t=t>>>0,n||y(r,t,this.length);for(var i=this[r+--t],o=1;t>0&&(o*=256);)i+=this[r+--t]*o;return i};a.prototype.readUint8=a.prototype.readUInt8=function(r,t){return r=r>>>0,t||y(r,1,this.length),this[r]};a.prototype.readUint16LE=a.prototype.readUInt16LE=function(r,t){return r=r>>>0,t||y(r,2,this.length),this[r]|this[r+1]<<8};a.prototype.readUint16BE=a.prototype.readUInt16BE=function(r,t){return r=r>>>0,t||y(r,2,this.length),this[r]<<8|this[r+1]};a.prototype.readUint32LE=a.prototype.readUInt32LE=function(r,t){return r=r>>>0,t||y(r,4,this.length),(this[r]|this[r+1]<<8|this[r+2]<<16)+this[r+3]*16777216};a.prototype.readUint32BE=a.prototype.readUInt32BE=function(r,t){return r=r>>>0,t||y(r,4,this.length),this[r]*16777216+(this[r+1]<<16|this[r+2]<<8|this[r+3])};a.prototype.readIntLE=function(r,t,n){r=r>>>0,t=t>>>0,n||y(r,t,this.length);for(var i=this[r],o=1,u=0;++u<t&&(o*=256);)i+=this[r+u]*o;return o*=128,i>=o&&(i-=Math.pow(2,8*t)),i};a.prototype.readIntBE=function(r,t,n){r=r>>>0,t=t>>>0,n||y(r,t,this.length);for(var i=t,o=1,u=this[r+--i];i>0&&(o*=256);)u+=this[r+--i]*o;return o*=128,u>=o&&(u-=Math.pow(2,8*t)),u};a.prototype.readInt8=function(r,t){return r=r>>>0,t||y(r,1,this.length),this[r]&128?(255-this[r]+1)*-1:this[r]};a.prototype.readInt16LE=function(r,t){r=r>>>0,t||y(r,2,this.length);var n=this[r]|this[r+1]<<8;return n&32768?n|4294901760:n};a.prototype.readInt16BE=function(r,t){r=r>>>0,t||y(r,2,this.length);var n=this[r+1]|this[r]<<8;return n&32768?n|4294901760:n};a.prototype.readInt32LE=function(r,t){return r=r>>>0,t||y(r,4,this.length),this[r]|this[r+1]<<8|this[r+2]<<16|this[r+3]<<24};a.prototype.readInt32BE=function(r,t){return r=r>>>0,t||y(r,4,this.length),this[r]<<24|this[r+1]<<16|this[r+2]<<8|this[r+3]};a.prototype.readFloatLE=function(r,t){return r=r>>>0,t||y(r,4,this.length),L.read(this,r,!0,23,4)};a.prototype.readFloatBE=function(r,t){return r=r>>>0,t||y(r,4,this.length),L.read(this,r,!1,23,4)};a.prototype.readDoubleLE=function(r,t){return r=r>>>0,t||y(r,8,this.length),L.read(this,r,!0,52,8)};a.prototype.readDoubleBE=function(r,t){return r=r>>>0,t||y(r,8,this.length),L.read(this,r,!1,52,8)};function E(e,r,t,n,i,o){if(!a.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(r>i||r<o)throw new RangeError('"value" argument is out of bounds');if(t+n>e.length)throw new RangeError("Index out of range")}a.prototype.writeUintLE=a.prototype.writeUIntLE=function(r,t,n,i){if(r=+r,t=t>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;E(this,r,t,n,o,0)}var u=1,f=0;for(this[t]=r&255;++f<n&&(u*=256);)this[t+f]=r/u&255;return t+n};a.prototype.writeUintBE=a.prototype.writeUIntBE=function(r,t,n,i){if(r=+r,t=t>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;E(this,r,t,n,o,0)}var u=n-1,f=1;for(this[t+u]=r&255;--u>=0&&(f*=256);)this[t+u]=r/f&255;return t+n};a.prototype.writeUint8=a.prototype.writeUInt8=function(r,t,n){return r=+r,t=t>>>0,n||E(this,r,t,1,255,0),this[t]=r&255,t+1};a.prototype.writeUint16LE=a.prototype.writeUInt16LE=function(r,t,n){return r=+r,t=t>>>0,n||E(this,r,t,2,65535,0),this[t]=r&255,this[t+1]=r>>>8,t+2};a.prototype.writeUint16BE=a.prototype.writeUInt16BE=function(r,t,n){return r=+r,t=t>>>0,n||E(this,r,t,2,65535,0),this[t]=r>>>8,this[t+1]=r&255,t+2};a.prototype.writeUint32LE=a.prototype.writeUInt32LE=function(r,t,n){return r=+r,t=t>>>0,n||E(this,r,t,4,4294967295,0),this[t+3]=r>>>24,this[t+2]=r>>>16,this[t+1]=r>>>8,this[t]=r&255,t+4};a.prototype.writeUint32BE=a.prototype.writeUInt32BE=function(r,t,n){return r=+r,t=t>>>0,n||E(this,r,t,4,4294967295,0),this[t]=r>>>24,this[t+1]=r>>>16,this[t+2]=r>>>8,this[t+3]=r&255,t+4};a.prototype.writeIntLE=function(r,t,n,i){if(r=+r,t=t>>>0,!i){var o=Math.pow(2,8*n-1);E(this,r,t,n,o-1,-o)}var u=0,f=1,c=0;for(this[t]=r&255;++u<n&&(f*=256);)r<0&&c===0&&this[t+u-1]!==0&&(c=1),this[t+u]=(r/f>>0)-c&255;return t+n};a.prototype.writeIntBE=function(r,t,n,i){if(r=+r,t=t>>>0,!i){var o=Math.pow(2,8*n-1);E(this,r,t,n,o-1,-o)}var u=n-1,f=1,c=0;for(this[t+u]=r&255;--u>=0&&(f*=256);)r<0&&c===0&&this[t+u+1]!==0&&(c=1),this[t+u]=(r/f>>0)-c&255;return t+n};a.prototype.writeInt8=function(r,t,n){return r=+r,t=t>>>0,n||E(this,r,t,1,127,-128),r<0&&(r=255+r+1),this[t]=r&255,t+1};a.prototype.writeInt16LE=function(r,t,n){return r=+r,t=t>>>0,n||E(this,r,t,2,32767,-32768),this[t]=r&255,this[t+1]=r>>>8,t+2};a.prototype.writeInt16BE=function(r,t,n){return r=+r,t=t>>>0,n||E(this,r,t,2,32767,-32768),this[t]=r>>>8,this[t+1]=r&255,t+2};a.prototype.writeInt32LE=function(r,t,n){return r=+r,t=t>>>0,n||E(this,r,t,4,2147483647,-2147483648),this[t]=r&255,this[t+1]=r>>>8,this[t+2]=r>>>16,this[t+3]=r>>>24,t+4};a.prototype.writeInt32BE=function(r,t,n){return r=+r,t=t>>>0,n||E(this,r,t,4,2147483647,-2147483648),r<0&&(r=4294967295+r+1),this[t]=r>>>24,this[t+1]=r>>>16,this[t+2]=r>>>8,this[t+3]=r&255,t+4};function gr(e,r,t,n,i,o){if(t+n>e.length)throw new RangeError("Index out of range");if(t<0)throw new RangeError("Index out of range")}function Tr(e,r,t,n,i){return r=+r,t=t>>>0,i||gr(e,r,t,4,34028234663852886e22,-34028234663852886e22),L.write(e,r,t,n,23,4),t+4}a.prototype.writeFloatLE=function(r,t,n){return Tr(this,r,t,!0,n)};a.prototype.writeFloatBE=function(r,t,n){return Tr(this,r,t,!1,n)};function Fr(e,r,t,n,i){return r=+r,t=t>>>0,i||gr(e,r,t,8,17976931348623157e292,-17976931348623157e292),L.write(e,r,t,n,52,8),t+8}a.prototype.writeDoubleLE=function(r,t,n){return Fr(this,r,t,!0,n)};a.prototype.writeDoubleBE=function(r,t,n){return Fr(this,r,t,!1,n)};a.prototype.copy=function(r,t,n,i){if(!a.isBuffer(r))throw new TypeError("argument should be a Buffer");if(n||(n=0),!i&&i!==0&&(i=this.length),t>=r.length&&(t=r.length),t||(t=0),i>0&&i<n&&(i=n),i===n||r.length===0||this.length===0)return 0;if(t<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-t<i-n&&(i=r.length-t+n);var o=i-n;return this===r&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(t,n,i):Uint8Array.prototype.set.call(r,this.subarray(n,i),t),o};a.prototype.fill=function(r,t,n,i){if(typeof r=="string"){if(typeof t=="string"?(i=t,t=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"&&!a.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(r.length===1){var o=r.charCodeAt(0);(i==="utf8"&&o<128||i==="latin1")&&(r=o)}}else typeof r=="number"?r=r&255:typeof r=="boolean"&&(r=Number(r));if(t<0||this.length<t||this.length<n)throw new RangeError("Out of range index");if(n<=t)return this;t=t>>>0,n=n===void 0?this.length:n>>>0,r||(r=0);var u;if(typeof r=="number")for(u=t;u<n;++u)this[u]=r;else{var f=a.isBuffer(r)?r:a.from(r,i),c=f.length;if(c===0)throw new TypeError('The value "'+r+'" is invalid for argument "value"');for(u=0;u<n-t;++u)this[u+t]=f[u%c]}return this};var pt=/[^+/0-9A-Za-z-_]/g;function st(e){if(e=e.split("=")[0],e=e.trim().replace(pt,""),e.length<2)return"";for(;e.length%4!==0;)e=e+"=";return e}function Z(e,r){r=r||1/0;for(var t,n=e.length,i=null,o=[],u=0;u<n;++u){if(t=e.charCodeAt(u),t>55295&&t<57344){if(!i){if(t>56319){(r-=3)>-1&&o.push(239,191,189);continue}else if(u+1===n){(r-=3)>-1&&o.push(239,191,189);continue}i=t;continue}if(t<56320){(r-=3)>-1&&o.push(239,191,189),i=t;continue}t=(i-55296<<10|t-56320)+65536}else i&&(r-=3)>-1&&o.push(239,191,189);if(i=null,t<128){if((r-=1)<0)break;o.push(t)}else if(t<2048){if((r-=2)<0)break;o.push(t>>6|192,t&63|128)}else if(t<65536){if((r-=3)<0)break;o.push(t>>12|224,t>>6&63|128,t&63|128)}else if(t<1114112){if((r-=4)<0)break;o.push(t>>18|240,t>>12&63|128,t>>6&63|128,t&63|128)}else throw new Error("Invalid code point")}return o}function lt(e){for(var r=[],t=0;t<e.length;++t)r.push(e.charCodeAt(t)&255);return r}function xt(e,r){for(var t,n,i,o=[],u=0;u<e.length&&!((r-=2)<0);++u)t=e.charCodeAt(u),n=t>>8,i=t%256,o.push(i),o.push(n);return o}function Br(e){return z.toByteArray(st(e))}function K(e,r,t,n){for(var i=0;i<n&&!(i+t>=r.length||i>=e.length);++i)r[i+t]=e[i];return i}function d(e,r){return e instanceof r||e!=null&&e.constructor!=null&&e.constructor.name!=null&&e.constructor.name===r.name}function tr(e){return e!==e}var yt=function(){for(var e="0123456789abcdef",r=new Array(256),t=0;t<16;++t)for(var n=t*16,i=0;i<16;++i)r[n+i]=e[t]+e[i];return r}()});var Ur=G((_t,Nr)=>{l();var x=Nr.exports={},A,v;function er(){throw new Error("setTimeout has not been defined")}function nr(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?A=setTimeout:A=er}catch(e){A=er}try{typeof clearTimeout=="function"?v=clearTimeout:v=nr}catch(e){v=nr}})();function dr(e){if(A===setTimeout)return setTimeout(e,0);if((A===er||!A)&&setTimeout)return A=setTimeout,setTimeout(e,0);try{return A(e,0)}catch(r){try{return A.call(null,e,0)}catch(t){return A.call(this,e,0)}}}function wt(e){if(v===clearTimeout)return clearTimeout(e);if((v===nr||!v)&&clearTimeout)return v=clearTimeout,clearTimeout(e);try{return v(e)}catch(r){try{return v.call(null,e)}catch(t){return v.call(this,e)}}}var U=[],O=!1,D,Y=-1;function mt(){!O||!D||(O=!1,D.length?U=D.concat(U):Y=-1,U.length&&Ar())}function Ar(){if(!O){var e=dr(mt);O=!0;for(var r=U.length;r;){for(D=U,U=[];++Y<r;)D&&D[Y].run();Y=-1,r=U.length}D=null,O=!1,wt(e)}}x.nextTick=function(e){var r=new Array(arguments.length-1);if(arguments.length>1)for(var t=1;t<arguments.length;t++)r[t-1]=arguments[t];U.push(new vr(e,r)),U.length===1&&!O&&dr(Ar)};function vr(e,r){this.fun=e,this.array=r}vr.prototype.run=function(){this.fun.apply(null,this.array)};x.title="browser";x.browser=!0;x.env={};x.argv=[];x.version="";x.versions={};function S(){}x.on=S;x.addListener=S;x.once=S;x.off=S;x.removeListener=S;x.removeAllListeners=S;x.emit=S;x.prependListener=S;x.prependOnceListener=S;x.listeners=function(e){return[]};x.binding=function(e){throw new Error("process.binding is not supported")};x.cwd=function(){return"/"};x.chdir=function(e){throw new Error("process.chdir is not supported")};x.umask=function(){return 0}});var m,T,Dt,l=br(()=>{m=q(Ir()),T=q(Ur()),Dt=function(e){function r(){var n=this||self;return delete e.prototype.__magic__,n}if(typeof globalThis=="object")return globalThis;if(this)return r();e.defineProperty(e.prototype,"__magic__",{configurable:!0,get:r});var t=__magic__;return t}(Object)});var vt={};Mr(vt,{decodeNativeAuthToken:()=>At,encodeValue:()=>gt,getLatestBlockHash:()=>Ft});module.exports=Pr(vt);l();l();var Et=e=>e.replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,""),gt=e=>Et(m.Buffer.from(e,"utf8").toString("base64"));l();var Cr=q(require("axios"));l();var Sr="blocks";var Tt=4e4,ir=null,b={current:null},or={current:!1};function Ft(e){return H(this,null,function*(){if(e==null)throw new Error("missing api url");if(ir!=null&&Date.now()<ir&&b.current!=null)return b.current;{if(or.current)return yield It();or.current=!0,b.current=null;let t=yield Bt(e);return b.current=t,ir=Date.now()+Tt,or.current=!1,t}})}function Bt(e){return H(this,null,function*(){let{data:r}=yield Cr.default.get(`${e}/${Sr}?size=1&fields=hash,timestamp`),[t]=r;return t})}function It(){return H(this,null,function*(){return new Promise((e,r)=>{let t,n=setInterval(()=>{b.current!=null&&(e(b.current),clearInterval(n),clearTimeout(t))},50);t=setTimeout(()=>{clearInterval(n),r("could not generate new token")},1e4)})})}l();l();l();l();l();function M(e){return atob(e)}function dt(e){return Object.prototype.toString.call(e)==="[object String]"}var At=e=>{if(!e||!dt(e))return null;try{let[r,t,n]=e.split("."),i=M(r),o=M(t),[u,f,c,h]=o.split("."),s=JSON.parse(M(h)),p=M(u),w={ttl:Number(c),address:i,extraInfo:s,host:p,signature:n,blockHash:f,body:o};return h==="e30"&&delete w.extraInfo,w}catch(r){return null}};0&&(module.exports={decodeNativeAuthToken,encodeValue,getLatestBlockHash});
1
+ "use strict";var Or=Object.create;var G=Object.defineProperty;var kr=Object.getOwnPropertyDescriptor;var br=Object.getOwnPropertyNames;var Mr=Object.getPrototypeOf,Pr=Object.prototype.hasOwnProperty;var Gr=(e,r)=>()=>(e&&(r=e(e=0)),r);var H=(e,r)=>()=>(r||e((r={exports:{}}).exports,r),r.exports),Hr=(e,r)=>{for(var t in r)G(e,t,{get:r[t],enumerable:!0})},ur=(e,r,t,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let i of br(r))!Pr.call(e,i)&&i!==t&&G(e,i,{get:()=>r[i],enumerable:!(n=kr(r,i))||n.enumerable});return e};var q=(e,r,t)=>(t=e!=null?Or(Mr(e)):{},ur(r||!e||!e.__esModule?G(t,"default",{value:e,enumerable:!0}):t,e)),Vr=e=>ur(G({},"__esModule",{value:!0}),e);var B=(e,r,t)=>new Promise((n,i)=>{var o=c=>{try{f(t.next(c))}catch(h){i(h)}},u=c=>{try{f(t.throw(c))}catch(h){i(h)}},f=c=>c.done?n(c.value):Promise.resolve(c.value).then(o,u);f((t=t.apply(e,r)).next())});var fr=H(V=>{"use strict";p();V.byteLength=Kr;V.toByteArray=qr;V.fromByteArray=zr;var I=[],d=[],Wr=typeof Uint8Array!="undefined"?Uint8Array:Array,J="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(_=0,ar=J.length;_<ar;++_)I[_]=J[_],d[J.charCodeAt(_)]=_;var _,ar;d["-".charCodeAt(0)]=62;d["_".charCodeAt(0)]=63;function cr(e){var r=e.length;if(r%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var t=e.indexOf("=");t===-1&&(t=r);var n=t===r?0:4-t%4;return[t,n]}function Kr(e){var r=cr(e),t=r[0],n=r[1];return(t+n)*3/4-n}function Yr(e,r,t){return(r+t)*3/4-t}function qr(e){var r,t=cr(e),n=t[0],i=t[1],o=new Wr(Yr(e,n,i)),u=0,f=i>0?n-4:n,c;for(c=0;c<f;c+=4)r=d[e.charCodeAt(c)]<<18|d[e.charCodeAt(c+1)]<<12|d[e.charCodeAt(c+2)]<<6|d[e.charCodeAt(c+3)],o[u++]=r>>16&255,o[u++]=r>>8&255,o[u++]=r&255;return i===2&&(r=d[e.charCodeAt(c)]<<2|d[e.charCodeAt(c+1)]>>4,o[u++]=r&255),i===1&&(r=d[e.charCodeAt(c)]<<10|d[e.charCodeAt(c+1)]<<4|d[e.charCodeAt(c+2)]>>2,o[u++]=r>>8&255,o[u++]=r&255),o}function Jr(e){return I[e>>18&63]+I[e>>12&63]+I[e>>6&63]+I[e&63]}function Xr(e,r,t){for(var n,i=[],o=r;o<t;o+=3)n=(e[o]<<16&16711680)+(e[o+1]<<8&65280)+(e[o+2]&255),i.push(Jr(n));return i.join("")}function zr(e){for(var r,t=e.length,n=t%3,i=[],o=16383,u=0,f=t-n;u<f;u+=o)i.push(Xr(e,u,u+o>f?f:u+o));return n===1?(r=e[t-1],i.push(I[r>>2]+I[r<<4&63]+"==")):n===2&&(r=(e[t-2]<<8)+e[t-1],i.push(I[r>>10]+I[r>>4&63]+I[r<<2&63]+"=")),i.join("")}});var hr=H(X=>{p();X.read=function(e,r,t,n,i){var o,u,f=i*8-n-1,c=(1<<f)-1,h=c>>1,l=-7,s=t?i-1:0,g=t?-1:1,F=e[r+s];for(s+=g,o=F&(1<<-l)-1,F>>=-l,l+=f;l>0;o=o*256+e[r+s],s+=g,l-=8);for(u=o&(1<<-l)-1,o>>=-l,l+=n;l>0;u=u*256+e[r+s],s+=g,l-=8);if(o===0)o=1-h;else{if(o===c)return u?NaN:(F?-1:1)*(1/0);u=u+Math.pow(2,n),o=o-h}return(F?-1:1)*u*Math.pow(2,o-n)};X.write=function(e,r,t,n,i,o){var u,f,c,h=o*8-i-1,l=(1<<h)-1,s=l>>1,g=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,F=n?0:o-1,L=n?1:-1,Lr=r<0||r===0&&1/r<0?1:0;for(r=Math.abs(r),isNaN(r)||r===1/0?(f=isNaN(r)?1:0,u=l):(u=Math.floor(Math.log(r)/Math.LN2),r*(c=Math.pow(2,-u))<1&&(u--,c*=2),u+s>=1?r+=g/c:r+=g*Math.pow(2,1-s),r*c>=2&&(u++,c/=2),u+s>=l?(f=0,u=l):u+s>=1?(f=(r*c-1)*Math.pow(2,i),u=u+s):(f=r*Math.pow(2,s-1)*Math.pow(2,i),u=0));i>=8;e[t+F]=f&255,F+=L,f/=256,i-=8);for(u=u<<i|f,h+=i;h>0;e[t+F]=u&255,F+=L,u/=256,h-=8);e[t+F-L]|=Lr*128}});var Br=H(k=>{"use strict";p();var z=fr(),O=hr(),sr=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;k.Buffer=a;k.SlowBuffer=tt;k.INSPECT_MAX_BYTES=50;var W=2147483647;k.kMaxLength=W;a.TYPED_ARRAY_SUPPORT=$r();!a.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 e=new Uint8Array(1),r={foo:function(){return 42}};return Object.setPrototypeOf(r,Uint8Array.prototype),Object.setPrototypeOf(e,r),e.foo()===42}catch(t){return!1}}Object.defineProperty(a.prototype,"parent",{enumerable:!0,get:function(){if(!!a.isBuffer(this))return this.buffer}});Object.defineProperty(a.prototype,"offset",{enumerable:!0,get:function(){if(!!a.isBuffer(this))return this.byteOffset}});function U(e){if(e>W)throw new RangeError('The value "'+e+'" is invalid for option "size"');var r=new Uint8Array(e);return Object.setPrototypeOf(r,a.prototype),r}function a(e,r,t){if(typeof e=="number"){if(typeof r=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return j(e)}return yr(e,r,t)}a.poolSize=8192;function yr(e,r,t){if(typeof e=="string")return Zr(e,r);if(ArrayBuffer.isView(e))return jr(e);if(e==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(A(e,ArrayBuffer)||e&&A(e.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(A(e,SharedArrayBuffer)||e&&A(e.buffer,SharedArrayBuffer)))return Q(e,r,t);if(typeof e=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var n=e.valueOf&&e.valueOf();if(n!=null&&n!==e)return a.from(n,r,t);var i=rt(e);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof e[Symbol.toPrimitive]=="function")return a.from(e[Symbol.toPrimitive]("string"),r,t);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}a.from=function(e,r,t){return yr(e,r,t)};Object.setPrototypeOf(a.prototype,Uint8Array.prototype);Object.setPrototypeOf(a,Uint8Array);function xr(e){if(typeof e!="number")throw new TypeError('"size" argument must be of type number');if(e<0)throw new RangeError('The value "'+e+'" is invalid for option "size"')}function Qr(e,r,t){return xr(e),e<=0?U(e):r!==void 0?typeof t=="string"?U(e).fill(r,t):U(e).fill(r):U(e)}a.alloc=function(e,r,t){return Qr(e,r,t)};function j(e){return xr(e),U(e<0?0:rr(e)|0)}a.allocUnsafe=function(e){return j(e)};a.allocUnsafeSlow=function(e){return j(e)};function Zr(e,r){if((typeof r!="string"||r==="")&&(r="utf8"),!a.isEncoding(r))throw new TypeError("Unknown encoding: "+r);var t=wr(e,r)|0,n=U(t),i=n.write(e,r);return i!==t&&(n=n.slice(0,i)),n}function $(e){for(var r=e.length<0?0:rr(e.length)|0,t=U(r),n=0;n<r;n+=1)t[n]=e[n]&255;return t}function jr(e){if(A(e,Uint8Array)){var r=new Uint8Array(e);return Q(r.buffer,r.byteOffset,r.byteLength)}return $(e)}function Q(e,r,t){if(r<0||e.byteLength<r)throw new RangeError('"offset" is outside of buffer bounds');if(e.byteLength<r+(t||0))throw new RangeError('"length" is outside of buffer bounds');var n;return r===void 0&&t===void 0?n=new Uint8Array(e):t===void 0?n=new Uint8Array(e,r):n=new Uint8Array(e,r,t),Object.setPrototypeOf(n,a.prototype),n}function rt(e){if(a.isBuffer(e)){var r=rr(e.length)|0,t=U(r);return t.length===0||e.copy(t,0,0,r),t}if(e.length!==void 0)return typeof e.length!="number"||tr(e.length)?U(0):$(e);if(e.type==="Buffer"&&Array.isArray(e.data))return $(e.data)}function rr(e){if(e>=W)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+W.toString(16)+" bytes");return e|0}function tt(e){return+e!=e&&(e=0),a.alloc(+e)}a.isBuffer=function(r){return r!=null&&r._isBuffer===!0&&r!==a.prototype};a.compare=function(r,t){if(A(r,Uint8Array)&&(r=a.from(r,r.offset,r.byteLength)),A(t,Uint8Array)&&(t=a.from(t,t.offset,t.byteLength)),!a.isBuffer(r)||!a.isBuffer(t))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(r===t)return 0;for(var n=r.length,i=t.length,o=0,u=Math.min(n,i);o<u;++o)if(r[o]!==t[o]){n=r[o],i=t[o];break}return n<i?-1:i<n?1:0};a.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}};a.concat=function(r,t){if(!Array.isArray(r))throw new TypeError('"list" argument must be an Array of Buffers');if(r.length===0)return a.alloc(0);var n;if(t===void 0)for(t=0,n=0;n<r.length;++n)t+=r[n].length;var i=a.allocUnsafe(t),o=0;for(n=0;n<r.length;++n){var u=r[n];if(A(u,Uint8Array))o+u.length>i.length?a.from(u).copy(i,o):Uint8Array.prototype.set.call(i,u,o);else if(a.isBuffer(u))u.copy(i,o);else throw new TypeError('"list" argument must be an Array of Buffers');o+=u.length}return i};function wr(e,r){if(a.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||A(e,ArrayBuffer))return e.byteLength;if(typeof e!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var t=e.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&t===0)return 0;for(var i=!1;;)switch(r){case"ascii":case"latin1":case"binary":return t;case"utf8":case"utf-8":return Z(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return t*2;case"hex":return t>>>1;case"base64":return dr(e).length;default:if(i)return n?-1:Z(e).length;r=(""+r).toLowerCase(),i=!0}}a.byteLength=wr;function et(e,r,t){var n=!1;if((r===void 0||r<0)&&(r=0),r>this.length||((t===void 0||t>this.length)&&(t=this.length),t<=0)||(t>>>=0,r>>>=0,t<=r))return"";for(e||(e="utf8");;)switch(e){case"hex":return pt(this,r,t);case"utf8":case"utf-8":return Er(this,r,t);case"ascii":return ht(this,r,t);case"latin1":case"binary":return st(this,r,t);case"base64":return ct(this,r,t);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return lt(this,r,t);default:if(n)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),n=!0}}a.prototype._isBuffer=!0;function D(e,r,t){var n=e[r];e[r]=e[t],e[t]=n}a.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 t=0;t<r;t+=2)D(this,t,t+1);return this};a.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 t=0;t<r;t+=4)D(this,t,t+3),D(this,t+1,t+2);return this};a.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 t=0;t<r;t+=8)D(this,t,t+7),D(this,t+1,t+6),D(this,t+2,t+5),D(this,t+3,t+4);return this};a.prototype.toString=function(){var r=this.length;return r===0?"":arguments.length===0?Er(this,0,r):et.apply(this,arguments)};a.prototype.toLocaleString=a.prototype.toString;a.prototype.equals=function(r){if(!a.isBuffer(r))throw new TypeError("Argument must be a Buffer");return this===r?!0:a.compare(this,r)===0};a.prototype.inspect=function(){var r="",t=k.INSPECT_MAX_BYTES;return r=this.toString("hex",0,t).replace(/(.{2})/g,"$1 ").trim(),this.length>t&&(r+=" ... "),"<Buffer "+r+">"};sr&&(a.prototype[sr]=a.prototype.inspect);a.prototype.compare=function(r,t,n,i,o){if(A(r,Uint8Array)&&(r=a.from(r,r.offset,r.byteLength)),!a.isBuffer(r))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof r);if(t===void 0&&(t=0),n===void 0&&(n=r?r.length:0),i===void 0&&(i=0),o===void 0&&(o=this.length),t<0||n>r.length||i<0||o>this.length)throw new RangeError("out of range index");if(i>=o&&t>=n)return 0;if(i>=o)return-1;if(t>=n)return 1;if(t>>>=0,n>>>=0,i>>>=0,o>>>=0,this===r)return 0;for(var u=o-i,f=n-t,c=Math.min(u,f),h=this.slice(i,o),l=r.slice(t,n),s=0;s<c;++s)if(h[s]!==l[s]){u=h[s],f=l[s];break}return u<f?-1:f<u?1:0};function mr(e,r,t,n,i){if(e.length===0)return-1;if(typeof t=="string"?(n=t,t=0):t>2147483647?t=2147483647:t<-2147483648&&(t=-2147483648),t=+t,tr(t)&&(t=i?0:e.length-1),t<0&&(t=e.length+t),t>=e.length){if(i)return-1;t=e.length-1}else if(t<0)if(i)t=0;else return-1;if(typeof r=="string"&&(r=a.from(r,n)),a.isBuffer(r))return r.length===0?-1:pr(e,r,t,n,i);if(typeof r=="number")return r=r&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(e,r,t):Uint8Array.prototype.lastIndexOf.call(e,r,t):pr(e,[r],t,n,i);throw new TypeError("val must be string, number or Buffer")}function pr(e,r,t,n,i){var o=1,u=e.length,f=r.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(e.length<2||r.length<2)return-1;o=2,u/=2,f/=2,t/=2}function c(F,L){return o===1?F[L]:F.readUInt16BE(L*o)}var h;if(i){var l=-1;for(h=t;h<u;h++)if(c(e,h)===c(r,l===-1?0:h-l)){if(l===-1&&(l=h),h-l+1===f)return l*o}else l!==-1&&(h-=h-l),l=-1}else for(t+f>u&&(t=u-f),h=t;h>=0;h--){for(var s=!0,g=0;g<f;g++)if(c(e,h+g)!==c(r,g)){s=!1;break}if(s)return h}return-1}a.prototype.includes=function(r,t,n){return this.indexOf(r,t,n)!==-1};a.prototype.indexOf=function(r,t,n){return mr(this,r,t,n,!0)};a.prototype.lastIndexOf=function(r,t,n){return mr(this,r,t,n,!1)};function nt(e,r,t,n){t=Number(t)||0;var i=e.length-t;n?(n=Number(n),n>i&&(n=i)):n=i;var o=r.length;n>o/2&&(n=o/2);for(var u=0;u<n;++u){var f=parseInt(r.substr(u*2,2),16);if(tr(f))return u;e[t+u]=f}return u}function it(e,r,t,n){return K(Z(r,e.length-t),e,t,n)}function ot(e,r,t,n){return K(wt(r),e,t,n)}function ut(e,r,t,n){return K(dr(r),e,t,n)}function at(e,r,t,n){return K(mt(r,e.length-t),e,t,n)}a.prototype.write=function(r,t,n,i){if(t===void 0)i="utf8",n=this.length,t=0;else if(n===void 0&&typeof t=="string")i=t,n=this.length,t=0;else if(isFinite(t))t=t>>>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-t;if((n===void 0||n>o)&&(n=o),r.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var u=!1;;)switch(i){case"hex":return nt(this,r,t,n);case"utf8":case"utf-8":return it(this,r,t,n);case"ascii":case"latin1":case"binary":return ot(this,r,t,n);case"base64":return ut(this,r,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return at(this,r,t,n);default:if(u)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),u=!0}};a.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function ct(e,r,t){return r===0&&t===e.length?z.fromByteArray(e):z.fromByteArray(e.slice(r,t))}function Er(e,r,t){t=Math.min(e.length,t);for(var n=[],i=r;i<t;){var o=e[i],u=null,f=o>239?4:o>223?3:o>191?2:1;if(i+f<=t){var c,h,l,s;switch(f){case 1:o<128&&(u=o);break;case 2:c=e[i+1],(c&192)===128&&(s=(o&31)<<6|c&63,s>127&&(u=s));break;case 3:c=e[i+1],h=e[i+2],(c&192)===128&&(h&192)===128&&(s=(o&15)<<12|(c&63)<<6|h&63,s>2047&&(s<55296||s>57343)&&(u=s));break;case 4:c=e[i+1],h=e[i+2],l=e[i+3],(c&192)===128&&(h&192)===128&&(l&192)===128&&(s=(o&15)<<18|(c&63)<<12|(h&63)<<6|l&63,s>65535&&s<1114112&&(u=s))}}u===null?(u=65533,f=1):u>65535&&(u-=65536,n.push(u>>>10&1023|55296),u=56320|u&1023),n.push(u),i+=f}return ft(n)}var lr=4096;function ft(e){var r=e.length;if(r<=lr)return String.fromCharCode.apply(String,e);for(var t="",n=0;n<r;)t+=String.fromCharCode.apply(String,e.slice(n,n+=lr));return t}function ht(e,r,t){var n="";t=Math.min(e.length,t);for(var i=r;i<t;++i)n+=String.fromCharCode(e[i]&127);return n}function st(e,r,t){var n="";t=Math.min(e.length,t);for(var i=r;i<t;++i)n+=String.fromCharCode(e[i]);return n}function pt(e,r,t){var n=e.length;(!r||r<0)&&(r=0),(!t||t<0||t>n)&&(t=n);for(var i="",o=r;o<t;++o)i+=Et[e[o]];return i}function lt(e,r,t){for(var n=e.slice(r,t),i="",o=0;o<n.length-1;o+=2)i+=String.fromCharCode(n[o]+n[o+1]*256);return i}a.prototype.slice=function(r,t){var n=this.length;r=~~r,t=t===void 0?n:~~t,r<0?(r+=n,r<0&&(r=0)):r>n&&(r=n),t<0?(t+=n,t<0&&(t=0)):t>n&&(t=n),t<r&&(t=r);var i=this.subarray(r,t);return Object.setPrototypeOf(i,a.prototype),i};function w(e,r,t){if(e%1!==0||e<0)throw new RangeError("offset is not uint");if(e+r>t)throw new RangeError("Trying to access beyond buffer length")}a.prototype.readUintLE=a.prototype.readUIntLE=function(r,t,n){r=r>>>0,t=t>>>0,n||w(r,t,this.length);for(var i=this[r],o=1,u=0;++u<t&&(o*=256);)i+=this[r+u]*o;return i};a.prototype.readUintBE=a.prototype.readUIntBE=function(r,t,n){r=r>>>0,t=t>>>0,n||w(r,t,this.length);for(var i=this[r+--t],o=1;t>0&&(o*=256);)i+=this[r+--t]*o;return i};a.prototype.readUint8=a.prototype.readUInt8=function(r,t){return r=r>>>0,t||w(r,1,this.length),this[r]};a.prototype.readUint16LE=a.prototype.readUInt16LE=function(r,t){return r=r>>>0,t||w(r,2,this.length),this[r]|this[r+1]<<8};a.prototype.readUint16BE=a.prototype.readUInt16BE=function(r,t){return r=r>>>0,t||w(r,2,this.length),this[r]<<8|this[r+1]};a.prototype.readUint32LE=a.prototype.readUInt32LE=function(r,t){return r=r>>>0,t||w(r,4,this.length),(this[r]|this[r+1]<<8|this[r+2]<<16)+this[r+3]*16777216};a.prototype.readUint32BE=a.prototype.readUInt32BE=function(r,t){return r=r>>>0,t||w(r,4,this.length),this[r]*16777216+(this[r+1]<<16|this[r+2]<<8|this[r+3])};a.prototype.readIntLE=function(r,t,n){r=r>>>0,t=t>>>0,n||w(r,t,this.length);for(var i=this[r],o=1,u=0;++u<t&&(o*=256);)i+=this[r+u]*o;return o*=128,i>=o&&(i-=Math.pow(2,8*t)),i};a.prototype.readIntBE=function(r,t,n){r=r>>>0,t=t>>>0,n||w(r,t,this.length);for(var i=t,o=1,u=this[r+--i];i>0&&(o*=256);)u+=this[r+--i]*o;return o*=128,u>=o&&(u-=Math.pow(2,8*t)),u};a.prototype.readInt8=function(r,t){return r=r>>>0,t||w(r,1,this.length),this[r]&128?(255-this[r]+1)*-1:this[r]};a.prototype.readInt16LE=function(r,t){r=r>>>0,t||w(r,2,this.length);var n=this[r]|this[r+1]<<8;return n&32768?n|4294901760:n};a.prototype.readInt16BE=function(r,t){r=r>>>0,t||w(r,2,this.length);var n=this[r+1]|this[r]<<8;return n&32768?n|4294901760:n};a.prototype.readInt32LE=function(r,t){return r=r>>>0,t||w(r,4,this.length),this[r]|this[r+1]<<8|this[r+2]<<16|this[r+3]<<24};a.prototype.readInt32BE=function(r,t){return r=r>>>0,t||w(r,4,this.length),this[r]<<24|this[r+1]<<16|this[r+2]<<8|this[r+3]};a.prototype.readFloatLE=function(r,t){return r=r>>>0,t||w(r,4,this.length),O.read(this,r,!0,23,4)};a.prototype.readFloatBE=function(r,t){return r=r>>>0,t||w(r,4,this.length),O.read(this,r,!1,23,4)};a.prototype.readDoubleLE=function(r,t){return r=r>>>0,t||w(r,8,this.length),O.read(this,r,!0,52,8)};a.prototype.readDoubleBE=function(r,t){return r=r>>>0,t||w(r,8,this.length),O.read(this,r,!1,52,8)};function T(e,r,t,n,i,o){if(!a.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(r>i||r<o)throw new RangeError('"value" argument is out of bounds');if(t+n>e.length)throw new RangeError("Index out of range")}a.prototype.writeUintLE=a.prototype.writeUIntLE=function(r,t,n,i){if(r=+r,t=t>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;T(this,r,t,n,o,0)}var u=1,f=0;for(this[t]=r&255;++f<n&&(u*=256);)this[t+f]=r/u&255;return t+n};a.prototype.writeUintBE=a.prototype.writeUIntBE=function(r,t,n,i){if(r=+r,t=t>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;T(this,r,t,n,o,0)}var u=n-1,f=1;for(this[t+u]=r&255;--u>=0&&(f*=256);)this[t+u]=r/f&255;return t+n};a.prototype.writeUint8=a.prototype.writeUInt8=function(r,t,n){return r=+r,t=t>>>0,n||T(this,r,t,1,255,0),this[t]=r&255,t+1};a.prototype.writeUint16LE=a.prototype.writeUInt16LE=function(r,t,n){return r=+r,t=t>>>0,n||T(this,r,t,2,65535,0),this[t]=r&255,this[t+1]=r>>>8,t+2};a.prototype.writeUint16BE=a.prototype.writeUInt16BE=function(r,t,n){return r=+r,t=t>>>0,n||T(this,r,t,2,65535,0),this[t]=r>>>8,this[t+1]=r&255,t+2};a.prototype.writeUint32LE=a.prototype.writeUInt32LE=function(r,t,n){return r=+r,t=t>>>0,n||T(this,r,t,4,4294967295,0),this[t+3]=r>>>24,this[t+2]=r>>>16,this[t+1]=r>>>8,this[t]=r&255,t+4};a.prototype.writeUint32BE=a.prototype.writeUInt32BE=function(r,t,n){return r=+r,t=t>>>0,n||T(this,r,t,4,4294967295,0),this[t]=r>>>24,this[t+1]=r>>>16,this[t+2]=r>>>8,this[t+3]=r&255,t+4};a.prototype.writeIntLE=function(r,t,n,i){if(r=+r,t=t>>>0,!i){var o=Math.pow(2,8*n-1);T(this,r,t,n,o-1,-o)}var u=0,f=1,c=0;for(this[t]=r&255;++u<n&&(f*=256);)r<0&&c===0&&this[t+u-1]!==0&&(c=1),this[t+u]=(r/f>>0)-c&255;return t+n};a.prototype.writeIntBE=function(r,t,n,i){if(r=+r,t=t>>>0,!i){var o=Math.pow(2,8*n-1);T(this,r,t,n,o-1,-o)}var u=n-1,f=1,c=0;for(this[t+u]=r&255;--u>=0&&(f*=256);)r<0&&c===0&&this[t+u+1]!==0&&(c=1),this[t+u]=(r/f>>0)-c&255;return t+n};a.prototype.writeInt8=function(r,t,n){return r=+r,t=t>>>0,n||T(this,r,t,1,127,-128),r<0&&(r=255+r+1),this[t]=r&255,t+1};a.prototype.writeInt16LE=function(r,t,n){return r=+r,t=t>>>0,n||T(this,r,t,2,32767,-32768),this[t]=r&255,this[t+1]=r>>>8,t+2};a.prototype.writeInt16BE=function(r,t,n){return r=+r,t=t>>>0,n||T(this,r,t,2,32767,-32768),this[t]=r>>>8,this[t+1]=r&255,t+2};a.prototype.writeInt32LE=function(r,t,n){return r=+r,t=t>>>0,n||T(this,r,t,4,2147483647,-2147483648),this[t]=r&255,this[t+1]=r>>>8,this[t+2]=r>>>16,this[t+3]=r>>>24,t+4};a.prototype.writeInt32BE=function(r,t,n){return r=+r,t=t>>>0,n||T(this,r,t,4,2147483647,-2147483648),r<0&&(r=4294967295+r+1),this[t]=r>>>24,this[t+1]=r>>>16,this[t+2]=r>>>8,this[t+3]=r&255,t+4};function gr(e,r,t,n,i,o){if(t+n>e.length)throw new RangeError("Index out of range");if(t<0)throw new RangeError("Index out of range")}function Tr(e,r,t,n,i){return r=+r,t=t>>>0,i||gr(e,r,t,4,34028234663852886e22,-34028234663852886e22),O.write(e,r,t,n,23,4),t+4}a.prototype.writeFloatLE=function(r,t,n){return Tr(this,r,t,!0,n)};a.prototype.writeFloatBE=function(r,t,n){return Tr(this,r,t,!1,n)};function Fr(e,r,t,n,i){return r=+r,t=t>>>0,i||gr(e,r,t,8,17976931348623157e292,-17976931348623157e292),O.write(e,r,t,n,52,8),t+8}a.prototype.writeDoubleLE=function(r,t,n){return Fr(this,r,t,!0,n)};a.prototype.writeDoubleBE=function(r,t,n){return Fr(this,r,t,!1,n)};a.prototype.copy=function(r,t,n,i){if(!a.isBuffer(r))throw new TypeError("argument should be a Buffer");if(n||(n=0),!i&&i!==0&&(i=this.length),t>=r.length&&(t=r.length),t||(t=0),i>0&&i<n&&(i=n),i===n||r.length===0||this.length===0)return 0;if(t<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-t<i-n&&(i=r.length-t+n);var o=i-n;return this===r&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(t,n,i):Uint8Array.prototype.set.call(r,this.subarray(n,i),t),o};a.prototype.fill=function(r,t,n,i){if(typeof r=="string"){if(typeof t=="string"?(i=t,t=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"&&!a.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(r.length===1){var o=r.charCodeAt(0);(i==="utf8"&&o<128||i==="latin1")&&(r=o)}}else typeof r=="number"?r=r&255:typeof r=="boolean"&&(r=Number(r));if(t<0||this.length<t||this.length<n)throw new RangeError("Out of range index");if(n<=t)return this;t=t>>>0,n=n===void 0?this.length:n>>>0,r||(r=0);var u;if(typeof r=="number")for(u=t;u<n;++u)this[u]=r;else{var f=a.isBuffer(r)?r:a.from(r,i),c=f.length;if(c===0)throw new TypeError('The value "'+r+'" is invalid for argument "value"');for(u=0;u<n-t;++u)this[u+t]=f[u%c]}return this};var yt=/[^+/0-9A-Za-z-_]/g;function xt(e){if(e=e.split("=")[0],e=e.trim().replace(yt,""),e.length<2)return"";for(;e.length%4!==0;)e=e+"=";return e}function Z(e,r){r=r||1/0;for(var t,n=e.length,i=null,o=[],u=0;u<n;++u){if(t=e.charCodeAt(u),t>55295&&t<57344){if(!i){if(t>56319){(r-=3)>-1&&o.push(239,191,189);continue}else if(u+1===n){(r-=3)>-1&&o.push(239,191,189);continue}i=t;continue}if(t<56320){(r-=3)>-1&&o.push(239,191,189),i=t;continue}t=(i-55296<<10|t-56320)+65536}else i&&(r-=3)>-1&&o.push(239,191,189);if(i=null,t<128){if((r-=1)<0)break;o.push(t)}else if(t<2048){if((r-=2)<0)break;o.push(t>>6|192,t&63|128)}else if(t<65536){if((r-=3)<0)break;o.push(t>>12|224,t>>6&63|128,t&63|128)}else if(t<1114112){if((r-=4)<0)break;o.push(t>>18|240,t>>12&63|128,t>>6&63|128,t&63|128)}else throw new Error("Invalid code point")}return o}function wt(e){for(var r=[],t=0;t<e.length;++t)r.push(e.charCodeAt(t)&255);return r}function mt(e,r){for(var t,n,i,o=[],u=0;u<e.length&&!((r-=2)<0);++u)t=e.charCodeAt(u),n=t>>8,i=t%256,o.push(i),o.push(n);return o}function dr(e){return z.toByteArray(xt(e))}function K(e,r,t,n){for(var i=0;i<n&&!(i+t>=r.length||i>=e.length);++i)r[i+t]=e[i];return i}function A(e,r){return e instanceof r||e!=null&&e.constructor!=null&&e.constructor.name!=null&&e.constructor.name===r.name}function tr(e){return e!==e}var Et=function(){for(var e="0123456789abcdef",r=new Array(256),t=0;t<16;++t)for(var n=t*16,i=0;i<16;++i)r[n+i]=e[t]+e[i];return r}()});var Ur=H((Lt,Nr)=>{p();var y=Nr.exports={},v,N;function er(){throw new Error("setTimeout has not been defined")}function nr(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?v=setTimeout:v=er}catch(e){v=er}try{typeof clearTimeout=="function"?N=clearTimeout:N=nr}catch(e){N=nr}})();function Ir(e){if(v===setTimeout)return setTimeout(e,0);if((v===er||!v)&&setTimeout)return v=setTimeout,setTimeout(e,0);try{return v(e,0)}catch(r){try{return v.call(null,e,0)}catch(t){return v.call(this,e,0)}}}function gt(e){if(N===clearTimeout)return clearTimeout(e);if((N===nr||!N)&&clearTimeout)return N=clearTimeout,clearTimeout(e);try{return N(e)}catch(r){try{return N.call(null,e)}catch(t){return N.call(this,e)}}}var S=[],b=!1,R,Y=-1;function Tt(){!b||!R||(b=!1,R.length?S=R.concat(S):Y=-1,S.length&&Ar())}function Ar(){if(!b){var e=Ir(Tt);b=!0;for(var r=S.length;r;){for(R=S,S=[];++Y<r;)R&&R[Y].run();Y=-1,r=S.length}R=null,b=!1,gt(e)}}y.nextTick=function(e){var r=new Array(arguments.length-1);if(arguments.length>1)for(var t=1;t<arguments.length;t++)r[t-1]=arguments[t];S.push(new vr(e,r)),S.length===1&&!b&&Ir(Ar)};function vr(e,r){this.fun=e,this.array=r}vr.prototype.run=function(){this.fun.apply(null,this.array)};y.title="browser";y.browser=!0;y.env={};y.argv=[];y.version="";y.versions={};function C(){}y.on=C;y.addListener=C;y.once=C;y.off=C;y.removeListener=C;y.removeAllListeners=C;y.emit=C;y.prependListener=C;y.prependOnceListener=C;y.listeners=function(e){return[]};y.binding=function(e){throw new Error("process.binding is not supported")};y.cwd=function(){return"/"};y.chdir=function(e){throw new Error("process.chdir is not supported")};y.umask=function(){return 0}});var x,m,Ot,p=Gr(()=>{x=q(Br()),m=q(Ur()),Ot=function(e){function r(){var n=this||self;return delete e.prototype.__magic__,n}if(typeof globalThis=="object")return globalThis;if(this)return r();e.defineProperty(e.prototype,"__magic__",{configurable:!0,get:r});var t=__magic__;return t}(Object)});var St={};Hr(St,{decodeNativeAuthToken:()=>Ut,encodeValue:()=>dt,getLatestBlockHash:()=>At});module.exports=Vr(St);p();p();var Ft=e=>e.replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,""),dt=e=>Ft(x.Buffer.from(e,"utf8").toString("base64"));p();var Rr=q(require("axios"));p();var Sr="blocks";p();p();p();function Cr(e){return B(this,null,function*(){return yield new Promise(r=>{setTimeout(()=>r(),e)})})}p();var _r=(e,r,t,n=0)=>B(void 0,null,function*(){try{return yield e(...t)}catch(i){return n<r.retries?((r==null?void 0:r.delay)!=null&&(yield Cr(r.delay)),_r(e,r,t,n+1)):null}}),Dr=(e,r={retries:5,delay:500})=>(...t)=>B(void 0,null,function*(){return _r(e,r,t)});var Bt=4e4,ir=null,M={current:null},or={current:!1},It=Dr((e,r)=>B(void 0,null,function*(){let{data:t}=yield Rr.default.get(`${e}/${Sr}?size=1&fields=hash,timestamp${r?"&shard="+r:""}`),[n]=t;return n}));function At(e,r){return B(this,null,function*(){if(e==null)throw new Error("missing api url");if(ir!=null&&Date.now()<ir&&M.current!=null)return M.current;{if(or.current)return yield vt();or.current=!0,M.current=null;let n=yield It(e,r);return M.current=n,ir=Date.now()+Bt,or.current=!1,n}})}function vt(){return B(this,null,function*(){return new Promise((e,r)=>{let t,n=setInterval(()=>{M.current!=null&&(e(M.current),clearInterval(n),clearTimeout(t))},50);t=setTimeout(()=>{clearInterval(n),r("could not generate new token")},1e4)})})}p();p();p();p();p();function P(e){return atob(e)}function Nt(e){return Object.prototype.toString.call(e)==="[object String]"}var Ut=e=>{if(!e||!Nt(e))return null;try{let[r,t,n]=e.split("."),i=P(r),o=P(t),[u,f,c,h]=o.split("."),l=JSON.parse(P(h)),s=P(u),g={ttl:Number(c),address:i,extraInfo:l,host:s,signature:n,blockHash:f,body:o};return h==="e30"&&delete g.extraInfo,g}catch(r){return null}};0&&(module.exports={decodeNativeAuthToken,encodeValue,getLatestBlockHash});
2
2
  /*!
3
3
  * The buffer module from node.js, for the browser.
4
4
  *
@@ -1,4 +1,4 @@
1
- "use strict";var Kr=Object.create;var G=Object.defineProperty;var Yr=Object.getOwnPropertyDescriptor;var qr=Object.getOwnPropertyNames,cr=Object.getOwnPropertySymbols,zr=Object.getPrototypeOf,fr=Object.prototype.hasOwnProperty,Jr=Object.prototype.propertyIsEnumerable;var hr=(e,r,t)=>r in e?G(e,r,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[r]=t,z=(e,r)=>{for(var t in r||(r={}))fr.call(r,t)&&hr(e,t,r[t]);if(cr)for(var t of cr(r))Jr.call(r,t)&&hr(e,t,r[t]);return e};var Xr=(e,r)=>()=>(e&&(r=e(e=0)),r);var V=(e,r)=>()=>(r||e((r={exports:{}}).exports,r),r.exports),Qr=(e,r)=>{for(var t in r)G(e,t,{get:r[t],enumerable:!0})},lr=(e,r,t,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let i of qr(r))!fr.call(e,i)&&i!==t&&G(e,i,{get:()=>r[i],enumerable:!(n=Yr(r,i))||n.enumerable});return e};var J=(e,r,t)=>(t=e!=null?Kr(zr(e)):{},lr(r||!e||!e.__esModule?G(t,"default",{value:e,enumerable:!0}):t,e)),Zr=e=>lr(G({},"__esModule",{value:!0}),e);var R=(e,r,t)=>new Promise((n,i)=>{var o=s=>{try{p(t.next(s))}catch(c){i(c)}},u=s=>{try{p(t.throw(s))}catch(c){i(c)}},p=s=>s.done?n(s.value):Promise.resolve(s.value).then(o,u);p((t=t.apply(e,r)).next())});var wr=V($=>{"use strict";h();$.byteLength=rt;$.toByteArray=et;$.fromByteArray=ot;var F=[],A=[],jr=typeof Uint8Array!="undefined"?Uint8Array:Array,X="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(C=0,xr=X.length;C<xr;++C)F[C]=X[C],A[X.charCodeAt(C)]=C;var C,xr;A["-".charCodeAt(0)]=62;A["_".charCodeAt(0)]=63;function yr(e){var r=e.length;if(r%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var t=e.indexOf("=");t===-1&&(t=r);var n=t===r?0:4-t%4;return[t,n]}function rt(e){var r=yr(e),t=r[0],n=r[1];return(t+n)*3/4-n}function tt(e,r,t){return(r+t)*3/4-t}function et(e){var r,t=yr(e),n=t[0],i=t[1],o=new jr(tt(e,n,i)),u=0,p=i>0?n-4:n,s;for(s=0;s<p;s+=4)r=A[e.charCodeAt(s)]<<18|A[e.charCodeAt(s+1)]<<12|A[e.charCodeAt(s+2)]<<6|A[e.charCodeAt(s+3)],o[u++]=r>>16&255,o[u++]=r>>8&255,o[u++]=r&255;return i===2&&(r=A[e.charCodeAt(s)]<<2|A[e.charCodeAt(s+1)]>>4,o[u++]=r&255),i===1&&(r=A[e.charCodeAt(s)]<<10|A[e.charCodeAt(s+1)]<<4|A[e.charCodeAt(s+2)]>>2,o[u++]=r>>8&255,o[u++]=r&255),o}function nt(e){return F[e>>18&63]+F[e>>12&63]+F[e>>6&63]+F[e&63]}function it(e,r,t){for(var n,i=[],o=r;o<t;o+=3)n=(e[o]<<16&16711680)+(e[o+1]<<8&65280)+(e[o+2]&255),i.push(nt(n));return i.join("")}function ot(e){for(var r,t=e.length,n=t%3,i=[],o=16383,u=0,p=t-n;u<p;u+=o)i.push(it(e,u,u+o>p?p:u+o));return n===1?(r=e[t-1],i.push(F[r>>2]+F[r<<4&63]+"==")):n===2&&(r=(e[t-2]<<8)+e[t-1],i.push(F[r>>10]+F[r>>4&63]+F[r<<2&63]+"=")),i.join("")}});var mr=V(Q=>{h();Q.read=function(e,r,t,n,i){var o,u,p=i*8-n-1,s=(1<<p)-1,c=s>>1,l=-7,f=t?i-1:0,d=t?-1:1,T=e[r+f];for(f+=d,o=T&(1<<-l)-1,T>>=-l,l+=p;l>0;o=o*256+e[r+f],f+=d,l-=8);for(u=o&(1<<-l)-1,o>>=-l,l+=n;l>0;u=u*256+e[r+f],f+=d,l-=8);if(o===0)o=1-c;else{if(o===s)return u?NaN:(T?-1:1)*(1/0);u=u+Math.pow(2,n),o=o-c}return(T?-1:1)*u*Math.pow(2,o-n)};Q.write=function(e,r,t,n,i,o){var u,p,s,c=o*8-i-1,l=(1<<c)-1,f=l>>1,d=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,T=n?0:o-1,D=n?1:-1,$r=r<0||r===0&&1/r<0?1:0;for(r=Math.abs(r),isNaN(r)||r===1/0?(p=isNaN(r)?1:0,u=l):(u=Math.floor(Math.log(r)/Math.LN2),r*(s=Math.pow(2,-u))<1&&(u--,s*=2),u+f>=1?r+=d/s:r+=d*Math.pow(2,1-f),r*s>=2&&(u++,s/=2),u+f>=l?(p=0,u=l):u+f>=1?(p=(r*s-1)*Math.pow(2,i),u=u+f):(p=r*Math.pow(2,f-1)*Math.pow(2,i),u=0));i>=8;e[t+T]=p&255,T+=D,p/=256,i-=8);for(u=u<<i|p,c+=i;c>0;e[t+T]=u&255,T+=D,u/=256,c-=8);e[t+T-D]|=$r*128}});var Cr=V(O=>{"use strict";h();var Z=wr(),L=mr(),Er=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;O.Buffer=a;O.SlowBuffer=ht;O.INSPECT_MAX_BYTES=50;var K=2147483647;O.kMaxLength=K;a.TYPED_ARRAY_SUPPORT=ut();!a.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 ut(){try{var e=new Uint8Array(1),r={foo:function(){return 42}};return Object.setPrototypeOf(r,Uint8Array.prototype),Object.setPrototypeOf(e,r),e.foo()===42}catch(t){return!1}}Object.defineProperty(a.prototype,"parent",{enumerable:!0,get:function(){if(!!a.isBuffer(this))return this.buffer}});Object.defineProperty(a.prototype,"offset",{enumerable:!0,get:function(){if(!!a.isBuffer(this))return this.byteOffset}});function N(e){if(e>K)throw new RangeError('The value "'+e+'" is invalid for option "size"');var r=new Uint8Array(e);return Object.setPrototypeOf(r,a.prototype),r}function a(e,r,t){if(typeof e=="number"){if(typeof r=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return er(e)}return Tr(e,r,t)}a.poolSize=8192;function Tr(e,r,t){if(typeof e=="string")return st(e,r);if(ArrayBuffer.isView(e))return pt(e);if(e==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(B(e,ArrayBuffer)||e&&B(e.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(B(e,SharedArrayBuffer)||e&&B(e.buffer,SharedArrayBuffer)))return rr(e,r,t);if(typeof e=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var n=e.valueOf&&e.valueOf();if(n!=null&&n!==e)return a.from(n,r,t);var i=ct(e);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof e[Symbol.toPrimitive]=="function")return a.from(e[Symbol.toPrimitive]("string"),r,t);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}a.from=function(e,r,t){return Tr(e,r,t)};Object.setPrototypeOf(a.prototype,Uint8Array.prototype);Object.setPrototypeOf(a,Uint8Array);function Ar(e){if(typeof e!="number")throw new TypeError('"size" argument must be of type number');if(e<0)throw new RangeError('The value "'+e+'" is invalid for option "size"')}function at(e,r,t){return Ar(e),e<=0?N(e):r!==void 0?typeof t=="string"?N(e).fill(r,t):N(e).fill(r):N(e)}a.alloc=function(e,r,t){return at(e,r,t)};function er(e){return Ar(e),N(e<0?0:nr(e)|0)}a.allocUnsafe=function(e){return er(e)};a.allocUnsafeSlow=function(e){return er(e)};function st(e,r){if((typeof r!="string"||r==="")&&(r="utf8"),!a.isEncoding(r))throw new TypeError("Unknown encoding: "+r);var t=Fr(e,r)|0,n=N(t),i=n.write(e,r);return i!==t&&(n=n.slice(0,i)),n}function j(e){for(var r=e.length<0?0:nr(e.length)|0,t=N(r),n=0;n<r;n+=1)t[n]=e[n]&255;return t}function pt(e){if(B(e,Uint8Array)){var r=new Uint8Array(e);return rr(r.buffer,r.byteOffset,r.byteLength)}return j(e)}function rr(e,r,t){if(r<0||e.byteLength<r)throw new RangeError('"offset" is outside of buffer bounds');if(e.byteLength<r+(t||0))throw new RangeError('"length" is outside of buffer bounds');var n;return r===void 0&&t===void 0?n=new Uint8Array(e):t===void 0?n=new Uint8Array(e,r):n=new Uint8Array(e,r,t),Object.setPrototypeOf(n,a.prototype),n}function ct(e){if(a.isBuffer(e)){var r=nr(e.length)|0,t=N(r);return t.length===0||e.copy(t,0,0,r),t}if(e.length!==void 0)return typeof e.length!="number"||ir(e.length)?N(0):j(e);if(e.type==="Buffer"&&Array.isArray(e.data))return j(e.data)}function nr(e){if(e>=K)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+K.toString(16)+" bytes");return e|0}function ht(e){return+e!=e&&(e=0),a.alloc(+e)}a.isBuffer=function(r){return r!=null&&r._isBuffer===!0&&r!==a.prototype};a.compare=function(r,t){if(B(r,Uint8Array)&&(r=a.from(r,r.offset,r.byteLength)),B(t,Uint8Array)&&(t=a.from(t,t.offset,t.byteLength)),!a.isBuffer(r)||!a.isBuffer(t))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(r===t)return 0;for(var n=r.length,i=t.length,o=0,u=Math.min(n,i);o<u;++o)if(r[o]!==t[o]){n=r[o],i=t[o];break}return n<i?-1:i<n?1:0};a.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}};a.concat=function(r,t){if(!Array.isArray(r))throw new TypeError('"list" argument must be an Array of Buffers');if(r.length===0)return a.alloc(0);var n;if(t===void 0)for(t=0,n=0;n<r.length;++n)t+=r[n].length;var i=a.allocUnsafe(t),o=0;for(n=0;n<r.length;++n){var u=r[n];if(B(u,Uint8Array))o+u.length>i.length?a.from(u).copy(i,o):Uint8Array.prototype.set.call(i,u,o);else if(a.isBuffer(u))u.copy(i,o);else throw new TypeError('"list" argument must be an Array of Buffers');o+=u.length}return i};function Fr(e,r){if(a.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||B(e,ArrayBuffer))return e.byteLength;if(typeof e!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var t=e.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&t===0)return 0;for(var i=!1;;)switch(r){case"ascii":case"latin1":case"binary":return t;case"utf8":case"utf-8":return tr(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return t*2;case"hex":return t>>>1;case"base64":return Sr(e).length;default:if(i)return n?-1:tr(e).length;r=(""+r).toLowerCase(),i=!0}}a.byteLength=Fr;function ft(e,r,t){var n=!1;if((r===void 0||r<0)&&(r=0),r>this.length||((t===void 0||t>this.length)&&(t=this.length),t<=0)||(t>>>=0,r>>>=0,t<=r))return"";for(e||(e="utf8");;)switch(e){case"hex":return At(this,r,t);case"utf8":case"utf-8":return Ir(this,r,t);case"ascii":return gt(this,r,t);case"latin1":case"binary":return Tt(this,r,t);case"base64":return Et(this,r,t);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Ft(this,r,t);default:if(n)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),n=!0}}a.prototype._isBuffer=!0;function k(e,r,t){var n=e[r];e[r]=e[t],e[t]=n}a.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 t=0;t<r;t+=2)k(this,t,t+1);return this};a.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 t=0;t<r;t+=4)k(this,t,t+3),k(this,t+1,t+2);return this};a.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 t=0;t<r;t+=8)k(this,t,t+7),k(this,t+1,t+6),k(this,t+2,t+5),k(this,t+3,t+4);return this};a.prototype.toString=function(){var r=this.length;return r===0?"":arguments.length===0?Ir(this,0,r):ft.apply(this,arguments)};a.prototype.toLocaleString=a.prototype.toString;a.prototype.equals=function(r){if(!a.isBuffer(r))throw new TypeError("Argument must be a Buffer");return this===r?!0:a.compare(this,r)===0};a.prototype.inspect=function(){var r="",t=O.INSPECT_MAX_BYTES;return r=this.toString("hex",0,t).replace(/(.{2})/g,"$1 ").trim(),this.length>t&&(r+=" ... "),"<Buffer "+r+">"};Er&&(a.prototype[Er]=a.prototype.inspect);a.prototype.compare=function(r,t,n,i,o){if(B(r,Uint8Array)&&(r=a.from(r,r.offset,r.byteLength)),!a.isBuffer(r))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof r);if(t===void 0&&(t=0),n===void 0&&(n=r?r.length:0),i===void 0&&(i=0),o===void 0&&(o=this.length),t<0||n>r.length||i<0||o>this.length)throw new RangeError("out of range index");if(i>=o&&t>=n)return 0;if(i>=o)return-1;if(t>=n)return 1;if(t>>>=0,n>>>=0,i>>>=0,o>>>=0,this===r)return 0;for(var u=o-i,p=n-t,s=Math.min(u,p),c=this.slice(i,o),l=r.slice(t,n),f=0;f<s;++f)if(c[f]!==l[f]){u=c[f],p=l[f];break}return u<p?-1:p<u?1:0};function Br(e,r,t,n,i){if(e.length===0)return-1;if(typeof t=="string"?(n=t,t=0):t>2147483647?t=2147483647:t<-2147483648&&(t=-2147483648),t=+t,ir(t)&&(t=i?0:e.length-1),t<0&&(t=e.length+t),t>=e.length){if(i)return-1;t=e.length-1}else if(t<0)if(i)t=0;else return-1;if(typeof r=="string"&&(r=a.from(r,n)),a.isBuffer(r))return r.length===0?-1:dr(e,r,t,n,i);if(typeof r=="number")return r=r&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(e,r,t):Uint8Array.prototype.lastIndexOf.call(e,r,t):dr(e,[r],t,n,i);throw new TypeError("val must be string, number or Buffer")}function dr(e,r,t,n,i){var o=1,u=e.length,p=r.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(e.length<2||r.length<2)return-1;o=2,u/=2,p/=2,t/=2}function s(T,D){return o===1?T[D]:T.readUInt16BE(D*o)}var c;if(i){var l=-1;for(c=t;c<u;c++)if(s(e,c)===s(r,l===-1?0:c-l)){if(l===-1&&(l=c),c-l+1===p)return l*o}else l!==-1&&(c-=c-l),l=-1}else for(t+p>u&&(t=u-p),c=t;c>=0;c--){for(var f=!0,d=0;d<p;d++)if(s(e,c+d)!==s(r,d)){f=!1;break}if(f)return c}return-1}a.prototype.includes=function(r,t,n){return this.indexOf(r,t,n)!==-1};a.prototype.indexOf=function(r,t,n){return Br(this,r,t,n,!0)};a.prototype.lastIndexOf=function(r,t,n){return Br(this,r,t,n,!1)};function lt(e,r,t,n){t=Number(t)||0;var i=e.length-t;n?(n=Number(n),n>i&&(n=i)):n=i;var o=r.length;n>o/2&&(n=o/2);for(var u=0;u<n;++u){var p=parseInt(r.substr(u*2,2),16);if(ir(p))return u;e[t+u]=p}return u}function xt(e,r,t,n){return Y(tr(r,e.length-t),e,t,n)}function yt(e,r,t,n){return Y(vt(r),e,t,n)}function wt(e,r,t,n){return Y(Sr(r),e,t,n)}function mt(e,r,t,n){return Y(Nt(r,e.length-t),e,t,n)}a.prototype.write=function(r,t,n,i){if(t===void 0)i="utf8",n=this.length,t=0;else if(n===void 0&&typeof t=="string")i=t,n=this.length,t=0;else if(isFinite(t))t=t>>>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-t;if((n===void 0||n>o)&&(n=o),r.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var u=!1;;)switch(i){case"hex":return lt(this,r,t,n);case"utf8":case"utf-8":return xt(this,r,t,n);case"ascii":case"latin1":case"binary":return yt(this,r,t,n);case"base64":return wt(this,r,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return mt(this,r,t,n);default:if(u)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),u=!0}};a.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function Et(e,r,t){return r===0&&t===e.length?Z.fromByteArray(e):Z.fromByteArray(e.slice(r,t))}function Ir(e,r,t){t=Math.min(e.length,t);for(var n=[],i=r;i<t;){var o=e[i],u=null,p=o>239?4:o>223?3:o>191?2:1;if(i+p<=t){var s,c,l,f;switch(p){case 1:o<128&&(u=o);break;case 2:s=e[i+1],(s&192)===128&&(f=(o&31)<<6|s&63,f>127&&(u=f));break;case 3:s=e[i+1],c=e[i+2],(s&192)===128&&(c&192)===128&&(f=(o&15)<<12|(s&63)<<6|c&63,f>2047&&(f<55296||f>57343)&&(u=f));break;case 4:s=e[i+1],c=e[i+2],l=e[i+3],(s&192)===128&&(c&192)===128&&(l&192)===128&&(f=(o&15)<<18|(s&63)<<12|(c&63)<<6|l&63,f>65535&&f<1114112&&(u=f))}}u===null?(u=65533,p=1):u>65535&&(u-=65536,n.push(u>>>10&1023|55296),u=56320|u&1023),n.push(u),i+=p}return dt(n)}var gr=4096;function dt(e){var r=e.length;if(r<=gr)return String.fromCharCode.apply(String,e);for(var t="",n=0;n<r;)t+=String.fromCharCode.apply(String,e.slice(n,n+=gr));return t}function gt(e,r,t){var n="";t=Math.min(e.length,t);for(var i=r;i<t;++i)n+=String.fromCharCode(e[i]&127);return n}function Tt(e,r,t){var n="";t=Math.min(e.length,t);for(var i=r;i<t;++i)n+=String.fromCharCode(e[i]);return n}function At(e,r,t){var n=e.length;(!r||r<0)&&(r=0),(!t||t<0||t>n)&&(t=n);for(var i="",o=r;o<t;++o)i+=Ut[e[o]];return i}function Ft(e,r,t){for(var n=e.slice(r,t),i="",o=0;o<n.length-1;o+=2)i+=String.fromCharCode(n[o]+n[o+1]*256);return i}a.prototype.slice=function(r,t){var n=this.length;r=~~r,t=t===void 0?n:~~t,r<0?(r+=n,r<0&&(r=0)):r>n&&(r=n),t<0?(t+=n,t<0&&(t=0)):t>n&&(t=n),t<r&&(t=r);var i=this.subarray(r,t);return Object.setPrototypeOf(i,a.prototype),i};function E(e,r,t){if(e%1!==0||e<0)throw new RangeError("offset is not uint");if(e+r>t)throw new RangeError("Trying to access beyond buffer length")}a.prototype.readUintLE=a.prototype.readUIntLE=function(r,t,n){r=r>>>0,t=t>>>0,n||E(r,t,this.length);for(var i=this[r],o=1,u=0;++u<t&&(o*=256);)i+=this[r+u]*o;return i};a.prototype.readUintBE=a.prototype.readUIntBE=function(r,t,n){r=r>>>0,t=t>>>0,n||E(r,t,this.length);for(var i=this[r+--t],o=1;t>0&&(o*=256);)i+=this[r+--t]*o;return i};a.prototype.readUint8=a.prototype.readUInt8=function(r,t){return r=r>>>0,t||E(r,1,this.length),this[r]};a.prototype.readUint16LE=a.prototype.readUInt16LE=function(r,t){return r=r>>>0,t||E(r,2,this.length),this[r]|this[r+1]<<8};a.prototype.readUint16BE=a.prototype.readUInt16BE=function(r,t){return r=r>>>0,t||E(r,2,this.length),this[r]<<8|this[r+1]};a.prototype.readUint32LE=a.prototype.readUInt32LE=function(r,t){return r=r>>>0,t||E(r,4,this.length),(this[r]|this[r+1]<<8|this[r+2]<<16)+this[r+3]*16777216};a.prototype.readUint32BE=a.prototype.readUInt32BE=function(r,t){return r=r>>>0,t||E(r,4,this.length),this[r]*16777216+(this[r+1]<<16|this[r+2]<<8|this[r+3])};a.prototype.readIntLE=function(r,t,n){r=r>>>0,t=t>>>0,n||E(r,t,this.length);for(var i=this[r],o=1,u=0;++u<t&&(o*=256);)i+=this[r+u]*o;return o*=128,i>=o&&(i-=Math.pow(2,8*t)),i};a.prototype.readIntBE=function(r,t,n){r=r>>>0,t=t>>>0,n||E(r,t,this.length);for(var i=t,o=1,u=this[r+--i];i>0&&(o*=256);)u+=this[r+--i]*o;return o*=128,u>=o&&(u-=Math.pow(2,8*t)),u};a.prototype.readInt8=function(r,t){return r=r>>>0,t||E(r,1,this.length),this[r]&128?(255-this[r]+1)*-1:this[r]};a.prototype.readInt16LE=function(r,t){r=r>>>0,t||E(r,2,this.length);var n=this[r]|this[r+1]<<8;return n&32768?n|4294901760:n};a.prototype.readInt16BE=function(r,t){r=r>>>0,t||E(r,2,this.length);var n=this[r+1]|this[r]<<8;return n&32768?n|4294901760:n};a.prototype.readInt32LE=function(r,t){return r=r>>>0,t||E(r,4,this.length),this[r]|this[r+1]<<8|this[r+2]<<16|this[r+3]<<24};a.prototype.readInt32BE=function(r,t){return r=r>>>0,t||E(r,4,this.length),this[r]<<24|this[r+1]<<16|this[r+2]<<8|this[r+3]};a.prototype.readFloatLE=function(r,t){return r=r>>>0,t||E(r,4,this.length),L.read(this,r,!0,23,4)};a.prototype.readFloatBE=function(r,t){return r=r>>>0,t||E(r,4,this.length),L.read(this,r,!1,23,4)};a.prototype.readDoubleLE=function(r,t){return r=r>>>0,t||E(r,8,this.length),L.read(this,r,!0,52,8)};a.prototype.readDoubleBE=function(r,t){return r=r>>>0,t||E(r,8,this.length),L.read(this,r,!1,52,8)};function g(e,r,t,n,i,o){if(!a.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(r>i||r<o)throw new RangeError('"value" argument is out of bounds');if(t+n>e.length)throw new RangeError("Index out of range")}a.prototype.writeUintLE=a.prototype.writeUIntLE=function(r,t,n,i){if(r=+r,t=t>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;g(this,r,t,n,o,0)}var u=1,p=0;for(this[t]=r&255;++p<n&&(u*=256);)this[t+p]=r/u&255;return t+n};a.prototype.writeUintBE=a.prototype.writeUIntBE=function(r,t,n,i){if(r=+r,t=t>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;g(this,r,t,n,o,0)}var u=n-1,p=1;for(this[t+u]=r&255;--u>=0&&(p*=256);)this[t+u]=r/p&255;return t+n};a.prototype.writeUint8=a.prototype.writeUInt8=function(r,t,n){return r=+r,t=t>>>0,n||g(this,r,t,1,255,0),this[t]=r&255,t+1};a.prototype.writeUint16LE=a.prototype.writeUInt16LE=function(r,t,n){return r=+r,t=t>>>0,n||g(this,r,t,2,65535,0),this[t]=r&255,this[t+1]=r>>>8,t+2};a.prototype.writeUint16BE=a.prototype.writeUInt16BE=function(r,t,n){return r=+r,t=t>>>0,n||g(this,r,t,2,65535,0),this[t]=r>>>8,this[t+1]=r&255,t+2};a.prototype.writeUint32LE=a.prototype.writeUInt32LE=function(r,t,n){return r=+r,t=t>>>0,n||g(this,r,t,4,4294967295,0),this[t+3]=r>>>24,this[t+2]=r>>>16,this[t+1]=r>>>8,this[t]=r&255,t+4};a.prototype.writeUint32BE=a.prototype.writeUInt32BE=function(r,t,n){return r=+r,t=t>>>0,n||g(this,r,t,4,4294967295,0),this[t]=r>>>24,this[t+1]=r>>>16,this[t+2]=r>>>8,this[t+3]=r&255,t+4};a.prototype.writeIntLE=function(r,t,n,i){if(r=+r,t=t>>>0,!i){var o=Math.pow(2,8*n-1);g(this,r,t,n,o-1,-o)}var u=0,p=1,s=0;for(this[t]=r&255;++u<n&&(p*=256);)r<0&&s===0&&this[t+u-1]!==0&&(s=1),this[t+u]=(r/p>>0)-s&255;return t+n};a.prototype.writeIntBE=function(r,t,n,i){if(r=+r,t=t>>>0,!i){var o=Math.pow(2,8*n-1);g(this,r,t,n,o-1,-o)}var u=n-1,p=1,s=0;for(this[t+u]=r&255;--u>=0&&(p*=256);)r<0&&s===0&&this[t+u+1]!==0&&(s=1),this[t+u]=(r/p>>0)-s&255;return t+n};a.prototype.writeInt8=function(r,t,n){return r=+r,t=t>>>0,n||g(this,r,t,1,127,-128),r<0&&(r=255+r+1),this[t]=r&255,t+1};a.prototype.writeInt16LE=function(r,t,n){return r=+r,t=t>>>0,n||g(this,r,t,2,32767,-32768),this[t]=r&255,this[t+1]=r>>>8,t+2};a.prototype.writeInt16BE=function(r,t,n){return r=+r,t=t>>>0,n||g(this,r,t,2,32767,-32768),this[t]=r>>>8,this[t+1]=r&255,t+2};a.prototype.writeInt32LE=function(r,t,n){return r=+r,t=t>>>0,n||g(this,r,t,4,2147483647,-2147483648),this[t]=r&255,this[t+1]=r>>>8,this[t+2]=r>>>16,this[t+3]=r>>>24,t+4};a.prototype.writeInt32BE=function(r,t,n){return r=+r,t=t>>>0,n||g(this,r,t,4,2147483647,-2147483648),r<0&&(r=4294967295+r+1),this[t]=r>>>24,this[t+1]=r>>>16,this[t+2]=r>>>8,this[t+3]=r&255,t+4};function vr(e,r,t,n,i,o){if(t+n>e.length)throw new RangeError("Index out of range");if(t<0)throw new RangeError("Index out of range")}function Nr(e,r,t,n,i){return r=+r,t=t>>>0,i||vr(e,r,t,4,34028234663852886e22,-34028234663852886e22),L.write(e,r,t,n,23,4),t+4}a.prototype.writeFloatLE=function(r,t,n){return Nr(this,r,t,!0,n)};a.prototype.writeFloatBE=function(r,t,n){return Nr(this,r,t,!1,n)};function Ur(e,r,t,n,i){return r=+r,t=t>>>0,i||vr(e,r,t,8,17976931348623157e292,-17976931348623157e292),L.write(e,r,t,n,52,8),t+8}a.prototype.writeDoubleLE=function(r,t,n){return Ur(this,r,t,!0,n)};a.prototype.writeDoubleBE=function(r,t,n){return Ur(this,r,t,!1,n)};a.prototype.copy=function(r,t,n,i){if(!a.isBuffer(r))throw new TypeError("argument should be a Buffer");if(n||(n=0),!i&&i!==0&&(i=this.length),t>=r.length&&(t=r.length),t||(t=0),i>0&&i<n&&(i=n),i===n||r.length===0||this.length===0)return 0;if(t<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-t<i-n&&(i=r.length-t+n);var o=i-n;return this===r&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(t,n,i):Uint8Array.prototype.set.call(r,this.subarray(n,i),t),o};a.prototype.fill=function(r,t,n,i){if(typeof r=="string"){if(typeof t=="string"?(i=t,t=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"&&!a.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(r.length===1){var o=r.charCodeAt(0);(i==="utf8"&&o<128||i==="latin1")&&(r=o)}}else typeof r=="number"?r=r&255:typeof r=="boolean"&&(r=Number(r));if(t<0||this.length<t||this.length<n)throw new RangeError("Out of range index");if(n<=t)return this;t=t>>>0,n=n===void 0?this.length:n>>>0,r||(r=0);var u;if(typeof r=="number")for(u=t;u<n;++u)this[u]=r;else{var p=a.isBuffer(r)?r:a.from(r,i),s=p.length;if(s===0)throw new TypeError('The value "'+r+'" is invalid for argument "value"');for(u=0;u<n-t;++u)this[u+t]=p[u%s]}return this};var Bt=/[^+/0-9A-Za-z-_]/g;function It(e){if(e=e.split("=")[0],e=e.trim().replace(Bt,""),e.length<2)return"";for(;e.length%4!==0;)e=e+"=";return e}function tr(e,r){r=r||1/0;for(var t,n=e.length,i=null,o=[],u=0;u<n;++u){if(t=e.charCodeAt(u),t>55295&&t<57344){if(!i){if(t>56319){(r-=3)>-1&&o.push(239,191,189);continue}else if(u+1===n){(r-=3)>-1&&o.push(239,191,189);continue}i=t;continue}if(t<56320){(r-=3)>-1&&o.push(239,191,189),i=t;continue}t=(i-55296<<10|t-56320)+65536}else i&&(r-=3)>-1&&o.push(239,191,189);if(i=null,t<128){if((r-=1)<0)break;o.push(t)}else if(t<2048){if((r-=2)<0)break;o.push(t>>6|192,t&63|128)}else if(t<65536){if((r-=3)<0)break;o.push(t>>12|224,t>>6&63|128,t&63|128)}else if(t<1114112){if((r-=4)<0)break;o.push(t>>18|240,t>>12&63|128,t>>6&63|128,t&63|128)}else throw new Error("Invalid code point")}return o}function vt(e){for(var r=[],t=0;t<e.length;++t)r.push(e.charCodeAt(t)&255);return r}function Nt(e,r){for(var t,n,i,o=[],u=0;u<e.length&&!((r-=2)<0);++u)t=e.charCodeAt(u),n=t>>8,i=t%256,o.push(i),o.push(n);return o}function Sr(e){return Z.toByteArray(It(e))}function Y(e,r,t,n){for(var i=0;i<n&&!(i+t>=r.length||i>=e.length);++i)r[i+t]=e[i];return i}function B(e,r){return e instanceof r||e!=null&&e.constructor!=null&&e.constructor.name!=null&&e.constructor.name===r.name}function ir(e){return e!==e}var Ut=function(){for(var e="0123456789abcdef",r=new Array(256),t=0;t<16;++t)for(var n=t*16,i=0;i<16;++i)r[n+i]=e[t]+e[i];return r}()});var Lr=V((Wt,Rr)=>{h();var x=Rr.exports={},I,v;function or(){throw new Error("setTimeout has not been defined")}function ur(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?I=setTimeout:I=or}catch(e){I=or}try{typeof clearTimeout=="function"?v=clearTimeout:v=ur}catch(e){v=ur}})();function kr(e){if(I===setTimeout)return setTimeout(e,0);if((I===or||!I)&&setTimeout)return I=setTimeout,setTimeout(e,0);try{return I(e,0)}catch(r){try{return I.call(null,e,0)}catch(t){return I.call(this,e,0)}}}function St(e){if(v===clearTimeout)return clearTimeout(e);if((v===ur||!v)&&clearTimeout)return v=clearTimeout,clearTimeout(e);try{return v(e)}catch(r){try{return v.call(null,e)}catch(t){return v.call(this,e)}}}var U=[],b=!1,_,q=-1;function Ct(){!b||!_||(b=!1,_.length?U=_.concat(U):q=-1,U.length&&_r())}function _r(){if(!b){var e=kr(Ct);b=!0;for(var r=U.length;r;){for(_=U,U=[];++q<r;)_&&_[q].run();q=-1,r=U.length}_=null,b=!1,St(e)}}x.nextTick=function(e){var r=new Array(arguments.length-1);if(arguments.length>1)for(var t=1;t<arguments.length;t++)r[t-1]=arguments[t];U.push(new Dr(e,r)),U.length===1&&!b&&kr(_r)};function Dr(e,r){this.fun=e,this.array=r}Dr.prototype.run=function(){this.fun.apply(null,this.array)};x.title="browser";x.browser=!0;x.env={};x.argv=[];x.version="";x.versions={};function S(){}x.on=S;x.addListener=S;x.once=S;x.off=S;x.removeListener=S;x.removeAllListeners=S;x.emit=S;x.prependListener=S;x.prependOnceListener=S;x.listeners=function(e){return[]};x.binding=function(e){throw new Error("process.binding is not supported")};x.cwd=function(){return"/"};x.chdir=function(e){throw new Error("process.chdir is not supported")};x.umask=function(){return 0}});var y,w,Vt,h=Xr(()=>{y=J(Cr()),w=J(Lr()),Vt=function(e){function r(){var n=this||self;return delete e.prototype.__magic__,n}if(typeof globalThis=="object")return globalThis;if(this)return r();e.defineProperty(e.prototype,"__magic__",{configurable:!0,get:r});var t=__magic__;return t}(Object)});var bt={};Qr(bt,{nativeAuth:()=>Ot});module.exports=Zr(bt);h();h();h();var kt=e=>e.replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,""),M=e=>kt(y.Buffer.from(e,"utf8").toString("base64"));h();var br=J(require("axios"));h();var Or="blocks";var _t=4e4,ar=null,P={current:null},sr={current:!1};function Mr(e){return R(this,null,function*(){if(e==null)throw new Error("missing api url");if(ar!=null&&Date.now()<ar&&P.current!=null)return P.current;{if(sr.current)return yield Rt();sr.current=!0,P.current=null;let t=yield Dt(e);return P.current=t,ar=Date.now()+_t,sr.current=!1,t}})}function Dt(e){return R(this,null,function*(){let{data:r}=yield br.default.get(`${e}/${Or}?size=1&fields=hash,timestamp`),[t]=r;return t})}function Rt(){return R(this,null,function*(){return new Promise((e,r)=>{let t,n=setInterval(()=>{P.current!=null&&(e(P.current),clearInterval(n),clearTimeout(t))},50);t=setTimeout(()=>{clearInterval(n),r("could not generate new token")},1e4)})})}h();var Pr,H={hostname:typeof window!="undefined"?(Pr=window==null?void 0:window.location)==null?void 0:Pr.hostname:"",apiAddress:"https://api.multiversx.com",expirySeconds:60*60*24,tokenExpirationToastWarningSeconds:5*60},pr=e=>{var t,n,i,o;return e===!0?H:{hostname:(t=e==null?void 0:e.hostname)!=null?t:H.hostname,expirySeconds:(n=e==null?void 0:e.expirySeconds)!=null?n:H.expirySeconds,apiAddress:(i=e==null?void 0:e.apiAddress)!=null?i:H.apiAddress,tokenExpirationToastWarningSeconds:(o=e==null?void 0:e.tokenExpirationToastWarningSeconds)!=null?o:H.tokenExpirationToastWarningSeconds}};h();h();h();h();h();h();h();function W(e){return atob(e)}function Lt(e){return Object.prototype.toString.call(e)==="[object String]"}var Gr=e=>{if(!e||!Lt(e))return null;try{let[r,t,n]=e.split("."),i=W(r),o=W(t),[u,p,s,c]=o.split("."),l=JSON.parse(W(c)),f=W(u),d={ttl:Number(s),address:i,extraInfo:l,host:f,signature:n,blockHash:p,body:o};return c==="e30"&&delete d.extraInfo,d}catch(r){return null}};var Hr=({address:e,token:r,signature:t})=>{let n=M(e),i=M(r);return`${n}.${i}.${t}`};h();h();var Wr=()=>Date.now()/1e3;var Vr=e=>{let r=Gr(e);if(!r)return{isExpired:!1};let t=Wr(),{ttl:n,extraInfo:i}=r,o=i.timestamp;if(!o)return{isExpired:!1};let u=o+n,p=t>u,s=u-t;return{isExpired:p,expiresAt:u,secondsUntilExpires:s}};var Ot=e=>{let{hostname:r,apiAddress:t,expirySeconds:n}=pr(e);return{getNativeAuthConfig:pr,initialize:(...u)=>R(void 0,[...u],function*(o={}){let{hash:p,timestamp:s}=yield Mr(t),c=M(JSON.stringify(z(z({},o),s?{timestamp:s}:{})));return`${M(r)}.${p}.${n}.${c}`}),getToken:Hr,getTokenExpiration:Vr}};0&&(module.exports={nativeAuth});
1
+ "use strict";var qr=Object.create;var H=Object.defineProperty;var zr=Object.getOwnPropertyDescriptor;var Xr=Object.getOwnPropertyNames,cr=Object.getOwnPropertySymbols,Qr=Object.getPrototypeOf,fr=Object.prototype.hasOwnProperty,Zr=Object.prototype.propertyIsEnumerable;var hr=(e,r,t)=>r in e?H(e,r,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[r]=t,q=(e,r)=>{for(var t in r||(r={}))fr.call(r,t)&&hr(e,t,r[t]);if(cr)for(var t of cr(r))Zr.call(r,t)&&hr(e,t,r[t]);return e};var jr=(e,r)=>()=>(e&&(r=e(e=0)),r);var V=(e,r)=>()=>(r||e((r={exports:{}}).exports,r),r.exports),rt=(e,r)=>{for(var t in r)H(e,t,{get:r[t],enumerable:!0})},lr=(e,r,t,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let i of Xr(r))!fr.call(e,i)&&i!==t&&H(e,i,{get:()=>r[i],enumerable:!(n=zr(r,i))||n.enumerable});return e};var z=(e,r,t)=>(t=e!=null?qr(Qr(e)):{},lr(r||!e||!e.__esModule?H(t,"default",{value:e,enumerable:!0}):t,e)),tt=e=>lr(H({},"__esModule",{value:!0}),e);var A=(e,r,t)=>new Promise((n,i)=>{var o=s=>{try{p(t.next(s))}catch(h){i(h)}},u=s=>{try{p(t.throw(s))}catch(h){i(h)}},p=s=>s.done?n(s.value):Promise.resolve(s.value).then(o,u);p((t=t.apply(e,r)).next())});var mr=V($=>{"use strict";c();$.byteLength=nt;$.toByteArray=ot;$.fromByteArray=st;var B=[],F=[],et=typeof Uint8Array!="undefined"?Uint8Array:Array,X="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(k=0,xr=X.length;k<xr;++k)B[k]=X[k],F[X.charCodeAt(k)]=k;var k,xr;F["-".charCodeAt(0)]=62;F["_".charCodeAt(0)]=63;function yr(e){var r=e.length;if(r%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var t=e.indexOf("=");t===-1&&(t=r);var n=t===r?0:4-t%4;return[t,n]}function nt(e){var r=yr(e),t=r[0],n=r[1];return(t+n)*3/4-n}function it(e,r,t){return(r+t)*3/4-t}function ot(e){var r,t=yr(e),n=t[0],i=t[1],o=new et(it(e,n,i)),u=0,p=i>0?n-4:n,s;for(s=0;s<p;s+=4)r=F[e.charCodeAt(s)]<<18|F[e.charCodeAt(s+1)]<<12|F[e.charCodeAt(s+2)]<<6|F[e.charCodeAt(s+3)],o[u++]=r>>16&255,o[u++]=r>>8&255,o[u++]=r&255;return i===2&&(r=F[e.charCodeAt(s)]<<2|F[e.charCodeAt(s+1)]>>4,o[u++]=r&255),i===1&&(r=F[e.charCodeAt(s)]<<10|F[e.charCodeAt(s+1)]<<4|F[e.charCodeAt(s+2)]>>2,o[u++]=r>>8&255,o[u++]=r&255),o}function ut(e){return B[e>>18&63]+B[e>>12&63]+B[e>>6&63]+B[e&63]}function at(e,r,t){for(var n,i=[],o=r;o<t;o+=3)n=(e[o]<<16&16711680)+(e[o+1]<<8&65280)+(e[o+2]&255),i.push(ut(n));return i.join("")}function st(e){for(var r,t=e.length,n=t%3,i=[],o=16383,u=0,p=t-n;u<p;u+=o)i.push(at(e,u,u+o>p?p:u+o));return n===1?(r=e[t-1],i.push(B[r>>2]+B[r<<4&63]+"==")):n===2&&(r=(e[t-2]<<8)+e[t-1],i.push(B[r>>10]+B[r>>4&63]+B[r<<2&63]+"=")),i.join("")}});var wr=V(Q=>{c();Q.read=function(e,r,t,n,i){var o,u,p=i*8-n-1,s=(1<<p)-1,h=s>>1,l=-7,f=t?i-1:0,d=t?-1:1,g=e[r+f];for(f+=d,o=g&(1<<-l)-1,g>>=-l,l+=p;l>0;o=o*256+e[r+f],f+=d,l-=8);for(u=o&(1<<-l)-1,o>>=-l,l+=n;l>0;u=u*256+e[r+f],f+=d,l-=8);if(o===0)o=1-h;else{if(o===s)return u?NaN:(g?-1:1)*(1/0);u=u+Math.pow(2,n),o=o-h}return(g?-1:1)*u*Math.pow(2,o-n)};Q.write=function(e,r,t,n,i,o){var u,p,s,h=o*8-i-1,l=(1<<h)-1,f=l>>1,d=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,g=n?0:o-1,R=n?1:-1,Yr=r<0||r===0&&1/r<0?1:0;for(r=Math.abs(r),isNaN(r)||r===1/0?(p=isNaN(r)?1:0,u=l):(u=Math.floor(Math.log(r)/Math.LN2),r*(s=Math.pow(2,-u))<1&&(u--,s*=2),u+f>=1?r+=d/s:r+=d*Math.pow(2,1-f),r*s>=2&&(u++,s/=2),u+f>=l?(p=0,u=l):u+f>=1?(p=(r*s-1)*Math.pow(2,i),u=u+f):(p=r*Math.pow(2,f-1)*Math.pow(2,i),u=0));i>=8;e[t+g]=p&255,g+=R,p/=256,i-=8);for(u=u<<i|p,h+=i;h>0;e[t+g]=u&255,g+=R,u/=256,h-=8);e[t+g-R]|=Yr*128}});var Cr=V(b=>{"use strict";c();var Z=mr(),L=wr(),Er=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;b.Buffer=a;b.SlowBuffer=xt;b.INSPECT_MAX_BYTES=50;var K=2147483647;b.kMaxLength=K;a.TYPED_ARRAY_SUPPORT=pt();!a.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 pt(){try{var e=new Uint8Array(1),r={foo:function(){return 42}};return Object.setPrototypeOf(r,Uint8Array.prototype),Object.setPrototypeOf(e,r),e.foo()===42}catch(t){return!1}}Object.defineProperty(a.prototype,"parent",{enumerable:!0,get:function(){if(!!a.isBuffer(this))return this.buffer}});Object.defineProperty(a.prototype,"offset",{enumerable:!0,get:function(){if(!!a.isBuffer(this))return this.byteOffset}});function U(e){if(e>K)throw new RangeError('The value "'+e+'" is invalid for option "size"');var r=new Uint8Array(e);return Object.setPrototypeOf(r,a.prototype),r}function a(e,r,t){if(typeof e=="number"){if(typeof r=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return er(e)}return gr(e,r,t)}a.poolSize=8192;function gr(e,r,t){if(typeof e=="string")return ht(e,r);if(ArrayBuffer.isView(e))return ft(e);if(e==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(I(e,ArrayBuffer)||e&&I(e.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(I(e,SharedArrayBuffer)||e&&I(e.buffer,SharedArrayBuffer)))return rr(e,r,t);if(typeof e=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var n=e.valueOf&&e.valueOf();if(n!=null&&n!==e)return a.from(n,r,t);var i=lt(e);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof e[Symbol.toPrimitive]=="function")return a.from(e[Symbol.toPrimitive]("string"),r,t);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}a.from=function(e,r,t){return gr(e,r,t)};Object.setPrototypeOf(a.prototype,Uint8Array.prototype);Object.setPrototypeOf(a,Uint8Array);function Ar(e){if(typeof e!="number")throw new TypeError('"size" argument must be of type number');if(e<0)throw new RangeError('The value "'+e+'" is invalid for option "size"')}function ct(e,r,t){return Ar(e),e<=0?U(e):r!==void 0?typeof t=="string"?U(e).fill(r,t):U(e).fill(r):U(e)}a.alloc=function(e,r,t){return ct(e,r,t)};function er(e){return Ar(e),U(e<0?0:nr(e)|0)}a.allocUnsafe=function(e){return er(e)};a.allocUnsafeSlow=function(e){return er(e)};function ht(e,r){if((typeof r!="string"||r==="")&&(r="utf8"),!a.isEncoding(r))throw new TypeError("Unknown encoding: "+r);var t=Fr(e,r)|0,n=U(t),i=n.write(e,r);return i!==t&&(n=n.slice(0,i)),n}function j(e){for(var r=e.length<0?0:nr(e.length)|0,t=U(r),n=0;n<r;n+=1)t[n]=e[n]&255;return t}function ft(e){if(I(e,Uint8Array)){var r=new Uint8Array(e);return rr(r.buffer,r.byteOffset,r.byteLength)}return j(e)}function rr(e,r,t){if(r<0||e.byteLength<r)throw new RangeError('"offset" is outside of buffer bounds');if(e.byteLength<r+(t||0))throw new RangeError('"length" is outside of buffer bounds');var n;return r===void 0&&t===void 0?n=new Uint8Array(e):t===void 0?n=new Uint8Array(e,r):n=new Uint8Array(e,r,t),Object.setPrototypeOf(n,a.prototype),n}function lt(e){if(a.isBuffer(e)){var r=nr(e.length)|0,t=U(r);return t.length===0||e.copy(t,0,0,r),t}if(e.length!==void 0)return typeof e.length!="number"||ir(e.length)?U(0):j(e);if(e.type==="Buffer"&&Array.isArray(e.data))return j(e.data)}function nr(e){if(e>=K)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+K.toString(16)+" bytes");return e|0}function xt(e){return+e!=e&&(e=0),a.alloc(+e)}a.isBuffer=function(r){return r!=null&&r._isBuffer===!0&&r!==a.prototype};a.compare=function(r,t){if(I(r,Uint8Array)&&(r=a.from(r,r.offset,r.byteLength)),I(t,Uint8Array)&&(t=a.from(t,t.offset,t.byteLength)),!a.isBuffer(r)||!a.isBuffer(t))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(r===t)return 0;for(var n=r.length,i=t.length,o=0,u=Math.min(n,i);o<u;++o)if(r[o]!==t[o]){n=r[o],i=t[o];break}return n<i?-1:i<n?1:0};a.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}};a.concat=function(r,t){if(!Array.isArray(r))throw new TypeError('"list" argument must be an Array of Buffers');if(r.length===0)return a.alloc(0);var n;if(t===void 0)for(t=0,n=0;n<r.length;++n)t+=r[n].length;var i=a.allocUnsafe(t),o=0;for(n=0;n<r.length;++n){var u=r[n];if(I(u,Uint8Array))o+u.length>i.length?a.from(u).copy(i,o):Uint8Array.prototype.set.call(i,u,o);else if(a.isBuffer(u))u.copy(i,o);else throw new TypeError('"list" argument must be an Array of Buffers');o+=u.length}return i};function Fr(e,r){if(a.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||I(e,ArrayBuffer))return e.byteLength;if(typeof e!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var t=e.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&t===0)return 0;for(var i=!1;;)switch(r){case"ascii":case"latin1":case"binary":return t;case"utf8":case"utf-8":return tr(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return t*2;case"hex":return t>>>1;case"base64":return Sr(e).length;default:if(i)return n?-1:tr(e).length;r=(""+r).toLowerCase(),i=!0}}a.byteLength=Fr;function yt(e,r,t){var n=!1;if((r===void 0||r<0)&&(r=0),r>this.length||((t===void 0||t>this.length)&&(t=this.length),t<=0)||(t>>>=0,r>>>=0,t<=r))return"";for(e||(e="utf8");;)switch(e){case"hex":return It(this,r,t);case"utf8":case"utf-8":return Ir(this,r,t);case"ascii":return Ft(this,r,t);case"latin1":case"binary":return Bt(this,r,t);case"base64":return gt(this,r,t);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return vt(this,r,t);default:if(n)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),n=!0}}a.prototype._isBuffer=!0;function _(e,r,t){var n=e[r];e[r]=e[t],e[t]=n}a.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 t=0;t<r;t+=2)_(this,t,t+1);return this};a.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 t=0;t<r;t+=4)_(this,t,t+3),_(this,t+1,t+2);return this};a.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 t=0;t<r;t+=8)_(this,t,t+7),_(this,t+1,t+6),_(this,t+2,t+5),_(this,t+3,t+4);return this};a.prototype.toString=function(){var r=this.length;return r===0?"":arguments.length===0?Ir(this,0,r):yt.apply(this,arguments)};a.prototype.toLocaleString=a.prototype.toString;a.prototype.equals=function(r){if(!a.isBuffer(r))throw new TypeError("Argument must be a Buffer");return this===r?!0:a.compare(this,r)===0};a.prototype.inspect=function(){var r="",t=b.INSPECT_MAX_BYTES;return r=this.toString("hex",0,t).replace(/(.{2})/g,"$1 ").trim(),this.length>t&&(r+=" ... "),"<Buffer "+r+">"};Er&&(a.prototype[Er]=a.prototype.inspect);a.prototype.compare=function(r,t,n,i,o){if(I(r,Uint8Array)&&(r=a.from(r,r.offset,r.byteLength)),!a.isBuffer(r))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof r);if(t===void 0&&(t=0),n===void 0&&(n=r?r.length:0),i===void 0&&(i=0),o===void 0&&(o=this.length),t<0||n>r.length||i<0||o>this.length)throw new RangeError("out of range index");if(i>=o&&t>=n)return 0;if(i>=o)return-1;if(t>=n)return 1;if(t>>>=0,n>>>=0,i>>>=0,o>>>=0,this===r)return 0;for(var u=o-i,p=n-t,s=Math.min(u,p),h=this.slice(i,o),l=r.slice(t,n),f=0;f<s;++f)if(h[f]!==l[f]){u=h[f],p=l[f];break}return u<p?-1:p<u?1:0};function Br(e,r,t,n,i){if(e.length===0)return-1;if(typeof t=="string"?(n=t,t=0):t>2147483647?t=2147483647:t<-2147483648&&(t=-2147483648),t=+t,ir(t)&&(t=i?0:e.length-1),t<0&&(t=e.length+t),t>=e.length){if(i)return-1;t=e.length-1}else if(t<0)if(i)t=0;else return-1;if(typeof r=="string"&&(r=a.from(r,n)),a.isBuffer(r))return r.length===0?-1:dr(e,r,t,n,i);if(typeof r=="number")return r=r&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(e,r,t):Uint8Array.prototype.lastIndexOf.call(e,r,t):dr(e,[r],t,n,i);throw new TypeError("val must be string, number or Buffer")}function dr(e,r,t,n,i){var o=1,u=e.length,p=r.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(e.length<2||r.length<2)return-1;o=2,u/=2,p/=2,t/=2}function s(g,R){return o===1?g[R]:g.readUInt16BE(R*o)}var h;if(i){var l=-1;for(h=t;h<u;h++)if(s(e,h)===s(r,l===-1?0:h-l)){if(l===-1&&(l=h),h-l+1===p)return l*o}else l!==-1&&(h-=h-l),l=-1}else for(t+p>u&&(t=u-p),h=t;h>=0;h--){for(var f=!0,d=0;d<p;d++)if(s(e,h+d)!==s(r,d)){f=!1;break}if(f)return h}return-1}a.prototype.includes=function(r,t,n){return this.indexOf(r,t,n)!==-1};a.prototype.indexOf=function(r,t,n){return Br(this,r,t,n,!0)};a.prototype.lastIndexOf=function(r,t,n){return Br(this,r,t,n,!1)};function mt(e,r,t,n){t=Number(t)||0;var i=e.length-t;n?(n=Number(n),n>i&&(n=i)):n=i;var o=r.length;n>o/2&&(n=o/2);for(var u=0;u<n;++u){var p=parseInt(r.substr(u*2,2),16);if(ir(p))return u;e[t+u]=p}return u}function wt(e,r,t,n){return J(tr(r,e.length-t),e,t,n)}function Et(e,r,t,n){return J(St(r),e,t,n)}function dt(e,r,t,n){return J(Sr(r),e,t,n)}function Tt(e,r,t,n){return J(Ct(r,e.length-t),e,t,n)}a.prototype.write=function(r,t,n,i){if(t===void 0)i="utf8",n=this.length,t=0;else if(n===void 0&&typeof t=="string")i=t,n=this.length,t=0;else if(isFinite(t))t=t>>>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-t;if((n===void 0||n>o)&&(n=o),r.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var u=!1;;)switch(i){case"hex":return mt(this,r,t,n);case"utf8":case"utf-8":return wt(this,r,t,n);case"ascii":case"latin1":case"binary":return Et(this,r,t,n);case"base64":return dt(this,r,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Tt(this,r,t,n);default:if(u)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),u=!0}};a.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function gt(e,r,t){return r===0&&t===e.length?Z.fromByteArray(e):Z.fromByteArray(e.slice(r,t))}function Ir(e,r,t){t=Math.min(e.length,t);for(var n=[],i=r;i<t;){var o=e[i],u=null,p=o>239?4:o>223?3:o>191?2:1;if(i+p<=t){var s,h,l,f;switch(p){case 1:o<128&&(u=o);break;case 2:s=e[i+1],(s&192)===128&&(f=(o&31)<<6|s&63,f>127&&(u=f));break;case 3:s=e[i+1],h=e[i+2],(s&192)===128&&(h&192)===128&&(f=(o&15)<<12|(s&63)<<6|h&63,f>2047&&(f<55296||f>57343)&&(u=f));break;case 4:s=e[i+1],h=e[i+2],l=e[i+3],(s&192)===128&&(h&192)===128&&(l&192)===128&&(f=(o&15)<<18|(s&63)<<12|(h&63)<<6|l&63,f>65535&&f<1114112&&(u=f))}}u===null?(u=65533,p=1):u>65535&&(u-=65536,n.push(u>>>10&1023|55296),u=56320|u&1023),n.push(u),i+=p}return At(n)}var Tr=4096;function At(e){var r=e.length;if(r<=Tr)return String.fromCharCode.apply(String,e);for(var t="",n=0;n<r;)t+=String.fromCharCode.apply(String,e.slice(n,n+=Tr));return t}function Ft(e,r,t){var n="";t=Math.min(e.length,t);for(var i=r;i<t;++i)n+=String.fromCharCode(e[i]&127);return n}function Bt(e,r,t){var n="";t=Math.min(e.length,t);for(var i=r;i<t;++i)n+=String.fromCharCode(e[i]);return n}function It(e,r,t){var n=e.length;(!r||r<0)&&(r=0),(!t||t<0||t>n)&&(t=n);for(var i="",o=r;o<t;++o)i+=kt[e[o]];return i}function vt(e,r,t){for(var n=e.slice(r,t),i="",o=0;o<n.length-1;o+=2)i+=String.fromCharCode(n[o]+n[o+1]*256);return i}a.prototype.slice=function(r,t){var n=this.length;r=~~r,t=t===void 0?n:~~t,r<0?(r+=n,r<0&&(r=0)):r>n&&(r=n),t<0?(t+=n,t<0&&(t=0)):t>n&&(t=n),t<r&&(t=r);var i=this.subarray(r,t);return Object.setPrototypeOf(i,a.prototype),i};function E(e,r,t){if(e%1!==0||e<0)throw new RangeError("offset is not uint");if(e+r>t)throw new RangeError("Trying to access beyond buffer length")}a.prototype.readUintLE=a.prototype.readUIntLE=function(r,t,n){r=r>>>0,t=t>>>0,n||E(r,t,this.length);for(var i=this[r],o=1,u=0;++u<t&&(o*=256);)i+=this[r+u]*o;return i};a.prototype.readUintBE=a.prototype.readUIntBE=function(r,t,n){r=r>>>0,t=t>>>0,n||E(r,t,this.length);for(var i=this[r+--t],o=1;t>0&&(o*=256);)i+=this[r+--t]*o;return i};a.prototype.readUint8=a.prototype.readUInt8=function(r,t){return r=r>>>0,t||E(r,1,this.length),this[r]};a.prototype.readUint16LE=a.prototype.readUInt16LE=function(r,t){return r=r>>>0,t||E(r,2,this.length),this[r]|this[r+1]<<8};a.prototype.readUint16BE=a.prototype.readUInt16BE=function(r,t){return r=r>>>0,t||E(r,2,this.length),this[r]<<8|this[r+1]};a.prototype.readUint32LE=a.prototype.readUInt32LE=function(r,t){return r=r>>>0,t||E(r,4,this.length),(this[r]|this[r+1]<<8|this[r+2]<<16)+this[r+3]*16777216};a.prototype.readUint32BE=a.prototype.readUInt32BE=function(r,t){return r=r>>>0,t||E(r,4,this.length),this[r]*16777216+(this[r+1]<<16|this[r+2]<<8|this[r+3])};a.prototype.readIntLE=function(r,t,n){r=r>>>0,t=t>>>0,n||E(r,t,this.length);for(var i=this[r],o=1,u=0;++u<t&&(o*=256);)i+=this[r+u]*o;return o*=128,i>=o&&(i-=Math.pow(2,8*t)),i};a.prototype.readIntBE=function(r,t,n){r=r>>>0,t=t>>>0,n||E(r,t,this.length);for(var i=t,o=1,u=this[r+--i];i>0&&(o*=256);)u+=this[r+--i]*o;return o*=128,u>=o&&(u-=Math.pow(2,8*t)),u};a.prototype.readInt8=function(r,t){return r=r>>>0,t||E(r,1,this.length),this[r]&128?(255-this[r]+1)*-1:this[r]};a.prototype.readInt16LE=function(r,t){r=r>>>0,t||E(r,2,this.length);var n=this[r]|this[r+1]<<8;return n&32768?n|4294901760:n};a.prototype.readInt16BE=function(r,t){r=r>>>0,t||E(r,2,this.length);var n=this[r+1]|this[r]<<8;return n&32768?n|4294901760:n};a.prototype.readInt32LE=function(r,t){return r=r>>>0,t||E(r,4,this.length),this[r]|this[r+1]<<8|this[r+2]<<16|this[r+3]<<24};a.prototype.readInt32BE=function(r,t){return r=r>>>0,t||E(r,4,this.length),this[r]<<24|this[r+1]<<16|this[r+2]<<8|this[r+3]};a.prototype.readFloatLE=function(r,t){return r=r>>>0,t||E(r,4,this.length),L.read(this,r,!0,23,4)};a.prototype.readFloatBE=function(r,t){return r=r>>>0,t||E(r,4,this.length),L.read(this,r,!1,23,4)};a.prototype.readDoubleLE=function(r,t){return r=r>>>0,t||E(r,8,this.length),L.read(this,r,!0,52,8)};a.prototype.readDoubleBE=function(r,t){return r=r>>>0,t||E(r,8,this.length),L.read(this,r,!1,52,8)};function T(e,r,t,n,i,o){if(!a.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(r>i||r<o)throw new RangeError('"value" argument is out of bounds');if(t+n>e.length)throw new RangeError("Index out of range")}a.prototype.writeUintLE=a.prototype.writeUIntLE=function(r,t,n,i){if(r=+r,t=t>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;T(this,r,t,n,o,0)}var u=1,p=0;for(this[t]=r&255;++p<n&&(u*=256);)this[t+p]=r/u&255;return t+n};a.prototype.writeUintBE=a.prototype.writeUIntBE=function(r,t,n,i){if(r=+r,t=t>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;T(this,r,t,n,o,0)}var u=n-1,p=1;for(this[t+u]=r&255;--u>=0&&(p*=256);)this[t+u]=r/p&255;return t+n};a.prototype.writeUint8=a.prototype.writeUInt8=function(r,t,n){return r=+r,t=t>>>0,n||T(this,r,t,1,255,0),this[t]=r&255,t+1};a.prototype.writeUint16LE=a.prototype.writeUInt16LE=function(r,t,n){return r=+r,t=t>>>0,n||T(this,r,t,2,65535,0),this[t]=r&255,this[t+1]=r>>>8,t+2};a.prototype.writeUint16BE=a.prototype.writeUInt16BE=function(r,t,n){return r=+r,t=t>>>0,n||T(this,r,t,2,65535,0),this[t]=r>>>8,this[t+1]=r&255,t+2};a.prototype.writeUint32LE=a.prototype.writeUInt32LE=function(r,t,n){return r=+r,t=t>>>0,n||T(this,r,t,4,4294967295,0),this[t+3]=r>>>24,this[t+2]=r>>>16,this[t+1]=r>>>8,this[t]=r&255,t+4};a.prototype.writeUint32BE=a.prototype.writeUInt32BE=function(r,t,n){return r=+r,t=t>>>0,n||T(this,r,t,4,4294967295,0),this[t]=r>>>24,this[t+1]=r>>>16,this[t+2]=r>>>8,this[t+3]=r&255,t+4};a.prototype.writeIntLE=function(r,t,n,i){if(r=+r,t=t>>>0,!i){var o=Math.pow(2,8*n-1);T(this,r,t,n,o-1,-o)}var u=0,p=1,s=0;for(this[t]=r&255;++u<n&&(p*=256);)r<0&&s===0&&this[t+u-1]!==0&&(s=1),this[t+u]=(r/p>>0)-s&255;return t+n};a.prototype.writeIntBE=function(r,t,n,i){if(r=+r,t=t>>>0,!i){var o=Math.pow(2,8*n-1);T(this,r,t,n,o-1,-o)}var u=n-1,p=1,s=0;for(this[t+u]=r&255;--u>=0&&(p*=256);)r<0&&s===0&&this[t+u+1]!==0&&(s=1),this[t+u]=(r/p>>0)-s&255;return t+n};a.prototype.writeInt8=function(r,t,n){return r=+r,t=t>>>0,n||T(this,r,t,1,127,-128),r<0&&(r=255+r+1),this[t]=r&255,t+1};a.prototype.writeInt16LE=function(r,t,n){return r=+r,t=t>>>0,n||T(this,r,t,2,32767,-32768),this[t]=r&255,this[t+1]=r>>>8,t+2};a.prototype.writeInt16BE=function(r,t,n){return r=+r,t=t>>>0,n||T(this,r,t,2,32767,-32768),this[t]=r>>>8,this[t+1]=r&255,t+2};a.prototype.writeInt32LE=function(r,t,n){return r=+r,t=t>>>0,n||T(this,r,t,4,2147483647,-2147483648),this[t]=r&255,this[t+1]=r>>>8,this[t+2]=r>>>16,this[t+3]=r>>>24,t+4};a.prototype.writeInt32BE=function(r,t,n){return r=+r,t=t>>>0,n||T(this,r,t,4,2147483647,-2147483648),r<0&&(r=4294967295+r+1),this[t]=r>>>24,this[t+1]=r>>>16,this[t+2]=r>>>8,this[t+3]=r&255,t+4};function vr(e,r,t,n,i,o){if(t+n>e.length)throw new RangeError("Index out of range");if(t<0)throw new RangeError("Index out of range")}function Nr(e,r,t,n,i){return r=+r,t=t>>>0,i||vr(e,r,t,4,34028234663852886e22,-34028234663852886e22),L.write(e,r,t,n,23,4),t+4}a.prototype.writeFloatLE=function(r,t,n){return Nr(this,r,t,!0,n)};a.prototype.writeFloatBE=function(r,t,n){return Nr(this,r,t,!1,n)};function Ur(e,r,t,n,i){return r=+r,t=t>>>0,i||vr(e,r,t,8,17976931348623157e292,-17976931348623157e292),L.write(e,r,t,n,52,8),t+8}a.prototype.writeDoubleLE=function(r,t,n){return Ur(this,r,t,!0,n)};a.prototype.writeDoubleBE=function(r,t,n){return Ur(this,r,t,!1,n)};a.prototype.copy=function(r,t,n,i){if(!a.isBuffer(r))throw new TypeError("argument should be a Buffer");if(n||(n=0),!i&&i!==0&&(i=this.length),t>=r.length&&(t=r.length),t||(t=0),i>0&&i<n&&(i=n),i===n||r.length===0||this.length===0)return 0;if(t<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-t<i-n&&(i=r.length-t+n);var o=i-n;return this===r&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(t,n,i):Uint8Array.prototype.set.call(r,this.subarray(n,i),t),o};a.prototype.fill=function(r,t,n,i){if(typeof r=="string"){if(typeof t=="string"?(i=t,t=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"&&!a.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(r.length===1){var o=r.charCodeAt(0);(i==="utf8"&&o<128||i==="latin1")&&(r=o)}}else typeof r=="number"?r=r&255:typeof r=="boolean"&&(r=Number(r));if(t<0||this.length<t||this.length<n)throw new RangeError("Out of range index");if(n<=t)return this;t=t>>>0,n=n===void 0?this.length:n>>>0,r||(r=0);var u;if(typeof r=="number")for(u=t;u<n;++u)this[u]=r;else{var p=a.isBuffer(r)?r:a.from(r,i),s=p.length;if(s===0)throw new TypeError('The value "'+r+'" is invalid for argument "value"');for(u=0;u<n-t;++u)this[u+t]=p[u%s]}return this};var Nt=/[^+/0-9A-Za-z-_]/g;function Ut(e){if(e=e.split("=")[0],e=e.trim().replace(Nt,""),e.length<2)return"";for(;e.length%4!==0;)e=e+"=";return e}function tr(e,r){r=r||1/0;for(var t,n=e.length,i=null,o=[],u=0;u<n;++u){if(t=e.charCodeAt(u),t>55295&&t<57344){if(!i){if(t>56319){(r-=3)>-1&&o.push(239,191,189);continue}else if(u+1===n){(r-=3)>-1&&o.push(239,191,189);continue}i=t;continue}if(t<56320){(r-=3)>-1&&o.push(239,191,189),i=t;continue}t=(i-55296<<10|t-56320)+65536}else i&&(r-=3)>-1&&o.push(239,191,189);if(i=null,t<128){if((r-=1)<0)break;o.push(t)}else if(t<2048){if((r-=2)<0)break;o.push(t>>6|192,t&63|128)}else if(t<65536){if((r-=3)<0)break;o.push(t>>12|224,t>>6&63|128,t&63|128)}else if(t<1114112){if((r-=4)<0)break;o.push(t>>18|240,t>>12&63|128,t>>6&63|128,t&63|128)}else throw new Error("Invalid code point")}return o}function St(e){for(var r=[],t=0;t<e.length;++t)r.push(e.charCodeAt(t)&255);return r}function Ct(e,r){for(var t,n,i,o=[],u=0;u<e.length&&!((r-=2)<0);++u)t=e.charCodeAt(u),n=t>>8,i=t%256,o.push(i),o.push(n);return o}function Sr(e){return Z.toByteArray(Ut(e))}function J(e,r,t,n){for(var i=0;i<n&&!(i+t>=r.length||i>=e.length);++i)r[i+t]=e[i];return i}function I(e,r){return e instanceof r||e!=null&&e.constructor!=null&&e.constructor.name!=null&&e.constructor.name===r.name}function ir(e){return e!==e}var kt=function(){for(var e="0123456789abcdef",r=new Array(256),t=0;t<16;++t)for(var n=t*16,i=0;i<16;++i)r[n+i]=e[t]+e[i];return r}()});var Lr=V((Kt,Rr)=>{c();var w=Rr.exports={},v,N;function or(){throw new Error("setTimeout has not been defined")}function ur(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?v=setTimeout:v=or}catch(e){v=or}try{typeof clearTimeout=="function"?N=clearTimeout:N=ur}catch(e){N=ur}})();function kr(e){if(v===setTimeout)return setTimeout(e,0);if((v===or||!v)&&setTimeout)return v=setTimeout,setTimeout(e,0);try{return v(e,0)}catch(r){try{return v.call(null,e,0)}catch(t){return v.call(this,e,0)}}}function _t(e){if(N===clearTimeout)return clearTimeout(e);if((N===ur||!N)&&clearTimeout)return N=clearTimeout,clearTimeout(e);try{return N(e)}catch(r){try{return N.call(null,e)}catch(t){return N.call(this,e)}}}var S=[],O=!1,D,Y=-1;function Dt(){!O||!D||(O=!1,D.length?S=D.concat(S):Y=-1,S.length&&_r())}function _r(){if(!O){var e=kr(Dt);O=!0;for(var r=S.length;r;){for(D=S,S=[];++Y<r;)D&&D[Y].run();Y=-1,r=S.length}D=null,O=!1,_t(e)}}w.nextTick=function(e){var r=new Array(arguments.length-1);if(arguments.length>1)for(var t=1;t<arguments.length;t++)r[t-1]=arguments[t];S.push(new Dr(e,r)),S.length===1&&!O&&kr(_r)};function Dr(e,r){this.fun=e,this.array=r}Dr.prototype.run=function(){this.fun.apply(null,this.array)};w.title="browser";w.browser=!0;w.env={};w.argv=[];w.version="";w.versions={};function C(){}w.on=C;w.addListener=C;w.once=C;w.off=C;w.removeListener=C;w.removeAllListeners=C;w.emit=C;w.prependListener=C;w.prependOnceListener=C;w.listeners=function(e){return[]};w.binding=function(e){throw new Error("process.binding is not supported")};w.cwd=function(){return"/"};w.chdir=function(e){throw new Error("process.chdir is not supported")};w.umask=function(){return 0}});var x,y,Jt,c=jr(()=>{x=z(Cr()),y=z(Lr()),Jt=function(e){function r(){var n=this||self;return delete e.prototype.__magic__,n}if(typeof globalThis=="object")return globalThis;if(this)return r();e.defineProperty(e.prototype,"__magic__",{configurable:!0,get:r});var t=__magic__;return t}(Object)});var Ht={};rt(Ht,{nativeAuth:()=>Pt});module.exports=tt(Ht);c();c();c();var Rt=e=>e.replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,""),M=e=>Rt(x.Buffer.from(e,"utf8").toString("base64"));c();var Hr=z(require("axios"));c();var br="blocks";c();c();c();function Or(e){return A(this,null,function*(){return yield new Promise(r=>{setTimeout(()=>r(),e)})})}c();var Mr=(e,r,t,n=0)=>A(void 0,null,function*(){try{return yield e(...t)}catch(i){return n<r.retries?((r==null?void 0:r.delay)!=null&&(yield Or(r.delay)),Mr(e,r,t,n+1)):null}}),Pr=(e,r={retries:5,delay:500})=>(...t)=>A(void 0,null,function*(){return Mr(e,r,t)});var Lt=4e4,ar=null,P={current:null},sr={current:!1},bt=Pr((e,r)=>A(void 0,null,function*(){let{data:t}=yield Hr.default.get(`${e}/${br}?size=1&fields=hash,timestamp${r?"&shard="+r:""}`),[n]=t;return n}));function Gr(e,r){return A(this,null,function*(){if(e==null)throw new Error("missing api url");if(ar!=null&&Date.now()<ar&&P.current!=null)return P.current;{if(sr.current)return yield Ot();sr.current=!0,P.current=null;let n=yield bt(e,r);return P.current=n,ar=Date.now()+Lt,sr.current=!1,n}})}function Ot(){return A(this,null,function*(){return new Promise((e,r)=>{let t,n=setInterval(()=>{P.current!=null&&(e(P.current),clearInterval(n),clearTimeout(t))},50);t=setTimeout(()=>{clearInterval(n),r("could not generate new token")},1e4)})})}c();var Wr,G={hostname:typeof window!="undefined"?(Wr=window==null?void 0:window.location)==null?void 0:Wr.hostname:"",apiAddress:"https://api.multiversx.com",expirySeconds:60*60*24,tokenExpirationToastWarningSeconds:5*60},pr=e=>{var t,n,i,o,u;return e===!0?G:{hostname:(t=e==null?void 0:e.hostname)!=null?t:G.hostname,blockHashShard:(n=e==null?void 0:e.blockHashShard)!=null?n:null,expirySeconds:(i=e==null?void 0:e.expirySeconds)!=null?i:G.expirySeconds,apiAddress:(o=e==null?void 0:e.apiAddress)!=null?o:G.apiAddress,tokenExpirationToastWarningSeconds:(u=e==null?void 0:e.tokenExpirationToastWarningSeconds)!=null?u:G.tokenExpirationToastWarningSeconds}};c();c();c();c();c();c();c();function W(e){return atob(e)}function Mt(e){return Object.prototype.toString.call(e)==="[object String]"}var Vr=e=>{if(!e||!Mt(e))return null;try{let[r,t,n]=e.split("."),i=W(r),o=W(t),[u,p,s,h]=o.split("."),l=JSON.parse(W(h)),f=W(u),d={ttl:Number(s),address:i,extraInfo:l,host:f,signature:n,blockHash:p,body:o};return h==="e30"&&delete d.extraInfo,d}catch(r){return null}};var $r=({address:e,token:r,signature:t})=>{let n=M(e),i=M(r);return`${n}.${i}.${t}`};c();c();var Kr=()=>Date.now()/1e3;var Jr=e=>{let r=Vr(e);if(!r)return{isExpired:!1};let t=Kr(),{ttl:n,extraInfo:i}=r,o=i.timestamp;if(!o)return{isExpired:!1};let u=o+n,p=t>u,s=u-t;return{isExpired:p,expiresAt:u,secondsUntilExpires:s}};var Pt=e=>{let{hostname:r,apiAddress:t,expirySeconds:n,blockHashShard:i}=pr(e);return{getNativeAuthConfig:pr,initialize:(...p)=>A(void 0,[...p],function*(u={}){let{hash:s,timestamp:h}=yield Gr(t,i),l=M(JSON.stringify(q(q({},u),h?{timestamp:h}:{})));return`${M(r)}.${s}.${n}.${l}`}),getToken:$r,getTokenExpiration:Jr}};0&&(module.exports={nativeAuth});
2
2
  /*!
3
3
  * The buffer module from node.js, for the browser.
4
4
  *
@@ -1,4 +1,4 @@
1
- "use strict";var Ir=Object.create;var b=Object.defineProperty;var Cr=Object.getOwnPropertyDescriptor;var Sr=Object.getOwnPropertyNames;var Lr=Object.getPrototypeOf,Rr=Object.prototype.hasOwnProperty;var _r=(e,r)=>()=>(e&&(r=e(e=0)),r);var W=(e,r)=>()=>(r||e((r={exports:{}}).exports,r),r.exports),kr=(e,r)=>{for(var t in r)b(e,t,{get:r[t],enumerable:!0})},tr=(e,r,t,i)=>{if(r&&typeof r=="object"||typeof r=="function")for(let n of Sr(r))!Rr.call(e,n)&&n!==t&&b(e,n,{get:()=>r[n],enumerable:!(i=Cr(r,n))||i.enumerable});return e};var er=(e,r,t)=>(t=e!=null?Ir(Lr(e)):{},tr(r||!e||!e.__esModule?b(t,"default",{value:e,enumerable:!0}):t,e)),Mr=e=>tr(b({},"__esModule",{value:!0}),e);var or=W(Y=>{"use strict";F();Y.byteLength=Nr;Y.toByteArray=Wr;Y.fromByteArray=Hr;var A=[],m=[],Dr=typeof Uint8Array!="undefined"?Uint8Array:Array,z="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(I=0,ir=z.length;I<ir;++I)A[I]=z[I],m[z.charCodeAt(I)]=I;var I,ir;m["-".charCodeAt(0)]=62;m["_".charCodeAt(0)]=63;function nr(e){var r=e.length;if(r%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var t=e.indexOf("=");t===-1&&(t=r);var i=t===r?0:4-t%4;return[t,i]}function Nr(e){var r=nr(e),t=r[0],i=r[1];return(t+i)*3/4-i}function br(e,r,t){return(r+t)*3/4-t}function Wr(e){var r,t=nr(e),i=t[0],n=t[1],o=new Dr(br(e,i,n)),u=0,h=n>0?i-4:i,f;for(f=0;f<h;f+=4)r=m[e.charCodeAt(f)]<<18|m[e.charCodeAt(f+1)]<<12|m[e.charCodeAt(f+2)]<<6|m[e.charCodeAt(f+3)],o[u++]=r>>16&255,o[u++]=r>>8&255,o[u++]=r&255;return n===2&&(r=m[e.charCodeAt(f)]<<2|m[e.charCodeAt(f+1)]>>4,o[u++]=r&255),n===1&&(r=m[e.charCodeAt(f)]<<10|m[e.charCodeAt(f+1)]<<4|m[e.charCodeAt(f+2)]>>2,o[u++]=r>>8&255,o[u++]=r&255),o}function Yr(e){return A[e>>18&63]+A[e>>12&63]+A[e>>6&63]+A[e&63]}function qr(e,r,t){for(var i,n=[],o=r;o<t;o+=3)i=(e[o]<<16&16711680)+(e[o+1]<<8&65280)+(e[o+2]&255),n.push(Yr(i));return n.join("")}function Hr(e){for(var r,t=e.length,i=t%3,n=[],o=16383,u=0,h=t-i;u<h;u+=o)n.push(qr(e,u,u+o>h?h:u+o));return i===1?(r=e[t-1],n.push(A[r>>2]+A[r<<4&63]+"==")):i===2&&(r=(e[t-2]<<8)+e[t-1],n.push(A[r>>10]+A[r>>4&63]+A[r<<2&63]+"=")),n.join("")}});var ur=W(J=>{F();J.read=function(e,r,t,i,n){var o,u,h=n*8-i-1,f=(1<<h)-1,c=f>>1,s=-7,p=t?n-1:0,E=t?-1:1,x=e[r+p];for(p+=E,o=x&(1<<-s)-1,x>>=-s,s+=h;s>0;o=o*256+e[r+p],p+=E,s-=8);for(u=o&(1<<-s)-1,o>>=-s,s+=i;s>0;u=u*256+e[r+p],p+=E,s-=8);if(o===0)o=1-c;else{if(o===f)return u?NaN:(x?-1:1)*(1/0);u=u+Math.pow(2,i),o=o-c}return(x?-1:1)*u*Math.pow(2,o-i)};J.write=function(e,r,t,i,n,o){var u,h,f,c=o*8-n-1,s=(1<<c)-1,p=s>>1,E=n===23?Math.pow(2,-24)-Math.pow(2,-77):0,x=i?0:o-1,L=i?1:-1,Ur=r<0||r===0&&1/r<0?1:0;for(r=Math.abs(r),isNaN(r)||r===1/0?(h=isNaN(r)?1:0,u=s):(u=Math.floor(Math.log(r)/Math.LN2),r*(f=Math.pow(2,-u))<1&&(u--,f*=2),u+p>=1?r+=E/f:r+=E*Math.pow(2,1-p),r*f>=2&&(u++,f/=2),u+p>=s?(h=0,u=s):u+p>=1?(h=(r*f-1)*Math.pow(2,n),u=u+p):(h=r*Math.pow(2,p-1)*Math.pow(2,n),u=0));n>=8;e[t+x]=h&255,x+=L,h/=256,n-=8);for(u=u<<n|h,c+=n;c>0;e[t+x]=u&255,x+=L,u/=256,c-=8);e[t+x-L]|=Ur*128}});var Fr=W(_=>{"use strict";F();var Q=or(),R=ur(),ar=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;_.Buffer=a;_.SlowBuffer=Vr;_.INSPECT_MAX_BYTES=50;var H=2147483647;_.kMaxLength=H;a.TYPED_ARRAY_SUPPORT=Xr();!a.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 Xr(){try{var e=new Uint8Array(1),r={foo:function(){return 42}};return Object.setPrototypeOf(r,Uint8Array.prototype),Object.setPrototypeOf(e,r),e.foo()===42}catch(t){return!1}}Object.defineProperty(a.prototype,"parent",{enumerable:!0,get:function(){if(!!a.isBuffer(this))return this.buffer}});Object.defineProperty(a.prototype,"offset",{enumerable:!0,get:function(){if(!!a.isBuffer(this))return this.byteOffset}});function T(e){if(e>H)throw new RangeError('The value "'+e+'" is invalid for option "size"');var r=new Uint8Array(e);return Object.setPrototypeOf(r,a.prototype),r}function a(e,r,t){if(typeof e=="number"){if(typeof r=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return Z(e)}return pr(e,r,t)}a.poolSize=8192;function pr(e,r,t){if(typeof e=="string")return zr(e,r);if(ArrayBuffer.isView(e))return Jr(e);if(e==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(B(e,ArrayBuffer)||e&&B(e.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(B(e,SharedArrayBuffer)||e&&B(e.buffer,SharedArrayBuffer)))return K(e,r,t);if(typeof e=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var i=e.valueOf&&e.valueOf();if(i!=null&&i!==e)return a.from(i,r,t);var n=Qr(e);if(n)return n;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof e[Symbol.toPrimitive]=="function")return a.from(e[Symbol.toPrimitive]("string"),r,t);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}a.from=function(e,r,t){return pr(e,r,t)};Object.setPrototypeOf(a.prototype,Uint8Array.prototype);Object.setPrototypeOf(a,Uint8Array);function cr(e){if(typeof e!="number")throw new TypeError('"size" argument must be of type number');if(e<0)throw new RangeError('The value "'+e+'" is invalid for option "size"')}function Gr(e,r,t){return cr(e),e<=0?T(e):r!==void 0?typeof t=="string"?T(e).fill(r,t):T(e).fill(r):T(e)}a.alloc=function(e,r,t){return Gr(e,r,t)};function Z(e){return cr(e),T(e<0?0:$(e)|0)}a.allocUnsafe=function(e){return Z(e)};a.allocUnsafeSlow=function(e){return Z(e)};function zr(e,r){if((typeof r!="string"||r==="")&&(r="utf8"),!a.isEncoding(r))throw new TypeError("Unknown encoding: "+r);var t=sr(e,r)|0,i=T(t),n=i.write(e,r);return n!==t&&(i=i.slice(0,n)),i}function V(e){for(var r=e.length<0?0:$(e.length)|0,t=T(r),i=0;i<r;i+=1)t[i]=e[i]&255;return t}function Jr(e){if(B(e,Uint8Array)){var r=new Uint8Array(e);return K(r.buffer,r.byteOffset,r.byteLength)}return V(e)}function K(e,r,t){if(r<0||e.byteLength<r)throw new RangeError('"offset" is outside of buffer bounds');if(e.byteLength<r+(t||0))throw new RangeError('"length" is outside of buffer bounds');var i;return r===void 0&&t===void 0?i=new Uint8Array(e):t===void 0?i=new Uint8Array(e,r):i=new Uint8Array(e,r,t),Object.setPrototypeOf(i,a.prototype),i}function Qr(e){if(a.isBuffer(e)){var r=$(e.length)|0,t=T(r);return t.length===0||e.copy(t,0,0,r),t}if(e.length!==void 0)return typeof e.length!="number"||P(e.length)?T(0):V(e);if(e.type==="Buffer"&&Array.isArray(e.data))return V(e.data)}function $(e){if(e>=H)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+H.toString(16)+" bytes");return e|0}function Vr(e){return+e!=e&&(e=0),a.alloc(+e)}a.isBuffer=function(r){return r!=null&&r._isBuffer===!0&&r!==a.prototype};a.compare=function(r,t){if(B(r,Uint8Array)&&(r=a.from(r,r.offset,r.byteLength)),B(t,Uint8Array)&&(t=a.from(t,t.offset,t.byteLength)),!a.isBuffer(r)||!a.isBuffer(t))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(r===t)return 0;for(var i=r.length,n=t.length,o=0,u=Math.min(i,n);o<u;++o)if(r[o]!==t[o]){i=r[o],n=t[o];break}return i<n?-1:n<i?1:0};a.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}};a.concat=function(r,t){if(!Array.isArray(r))throw new TypeError('"list" argument must be an Array of Buffers');if(r.length===0)return a.alloc(0);var i;if(t===void 0)for(t=0,i=0;i<r.length;++i)t+=r[i].length;var n=a.allocUnsafe(t),o=0;for(i=0;i<r.length;++i){var u=r[i];if(B(u,Uint8Array))o+u.length>n.length?a.from(u).copy(n,o):Uint8Array.prototype.set.call(n,u,o);else if(a.isBuffer(u))u.copy(n,o);else throw new TypeError('"list" argument must be an Array of Buffers');o+=u.length}return n};function sr(e,r){if(a.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||B(e,ArrayBuffer))return e.byteLength;if(typeof e!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var t=e.length,i=arguments.length>2&&arguments[2]===!0;if(!i&&t===0)return 0;for(var n=!1;;)switch(r){case"ascii":case"latin1":case"binary":return t;case"utf8":case"utf-8":return O(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return t*2;case"hex":return t>>>1;case"base64":return Er(e).length;default:if(n)return i?-1:O(e).length;r=(""+r).toLowerCase(),n=!0}}a.byteLength=sr;function Kr(e,r,t){var i=!1;if((r===void 0||r<0)&&(r=0),r>this.length||((t===void 0||t>this.length)&&(t=this.length),t<=0)||(t>>>=0,r>>>=0,t<=r))return"";for(e||(e="utf8");;)switch(e){case"hex":return nt(this,r,t);case"utf8":case"utf-8":return wr(this,r,t);case"ascii":return et(this,r,t);case"latin1":case"binary":return it(this,r,t);case"base64":return rt(this,r,t);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ot(this,r,t);default:if(i)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),i=!0}}a.prototype._isBuffer=!0;function C(e,r,t){var i=e[r];e[r]=e[t],e[t]=i}a.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 t=0;t<r;t+=2)C(this,t,t+1);return this};a.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 t=0;t<r;t+=4)C(this,t,t+3),C(this,t+1,t+2);return this};a.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 t=0;t<r;t+=8)C(this,t,t+7),C(this,t+1,t+6),C(this,t+2,t+5),C(this,t+3,t+4);return this};a.prototype.toString=function(){var r=this.length;return r===0?"":arguments.length===0?wr(this,0,r):Kr.apply(this,arguments)};a.prototype.toLocaleString=a.prototype.toString;a.prototype.equals=function(r){if(!a.isBuffer(r))throw new TypeError("Argument must be a Buffer");return this===r?!0:a.compare(this,r)===0};a.prototype.inspect=function(){var r="",t=_.INSPECT_MAX_BYTES;return r=this.toString("hex",0,t).replace(/(.{2})/g,"$1 ").trim(),this.length>t&&(r+=" ... "),"<Buffer "+r+">"};ar&&(a.prototype[ar]=a.prototype.inspect);a.prototype.compare=function(r,t,i,n,o){if(B(r,Uint8Array)&&(r=a.from(r,r.offset,r.byteLength)),!a.isBuffer(r))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof r);if(t===void 0&&(t=0),i===void 0&&(i=r?r.length:0),n===void 0&&(n=0),o===void 0&&(o=this.length),t<0||i>r.length||n<0||o>this.length)throw new RangeError("out of range index");if(n>=o&&t>=i)return 0;if(n>=o)return-1;if(t>=i)return 1;if(t>>>=0,i>>>=0,n>>>=0,o>>>=0,this===r)return 0;for(var u=o-n,h=i-t,f=Math.min(u,h),c=this.slice(n,o),s=r.slice(t,i),p=0;p<f;++p)if(c[p]!==s[p]){u=c[p],h=s[p];break}return u<h?-1:h<u?1:0};function lr(e,r,t,i,n){if(e.length===0)return-1;if(typeof t=="string"?(i=t,t=0):t>2147483647?t=2147483647:t<-2147483648&&(t=-2147483648),t=+t,P(t)&&(t=n?0:e.length-1),t<0&&(t=e.length+t),t>=e.length){if(n)return-1;t=e.length-1}else if(t<0)if(n)t=0;else return-1;if(typeof r=="string"&&(r=a.from(r,i)),a.isBuffer(r))return r.length===0?-1:hr(e,r,t,i,n);if(typeof r=="number")return r=r&255,typeof Uint8Array.prototype.indexOf=="function"?n?Uint8Array.prototype.indexOf.call(e,r,t):Uint8Array.prototype.lastIndexOf.call(e,r,t):hr(e,[r],t,i,n);throw new TypeError("val must be string, number or Buffer")}function hr(e,r,t,i,n){var o=1,u=e.length,h=r.length;if(i!==void 0&&(i=String(i).toLowerCase(),i==="ucs2"||i==="ucs-2"||i==="utf16le"||i==="utf-16le")){if(e.length<2||r.length<2)return-1;o=2,u/=2,h/=2,t/=2}function f(x,L){return o===1?x[L]:x.readUInt16BE(L*o)}var c;if(n){var s=-1;for(c=t;c<u;c++)if(f(e,c)===f(r,s===-1?0:c-s)){if(s===-1&&(s=c),c-s+1===h)return s*o}else s!==-1&&(c-=c-s),s=-1}else for(t+h>u&&(t=u-h),c=t;c>=0;c--){for(var p=!0,E=0;E<h;E++)if(f(e,c+E)!==f(r,E)){p=!1;break}if(p)return c}return-1}a.prototype.includes=function(r,t,i){return this.indexOf(r,t,i)!==-1};a.prototype.indexOf=function(r,t,i){return lr(this,r,t,i,!0)};a.prototype.lastIndexOf=function(r,t,i){return lr(this,r,t,i,!1)};function Or(e,r,t,i){t=Number(t)||0;var n=e.length-t;i?(i=Number(i),i>n&&(i=n)):i=n;var o=r.length;i>o/2&&(i=o/2);for(var u=0;u<i;++u){var h=parseInt(r.substr(u*2,2),16);if(P(h))return u;e[t+u]=h}return u}function Zr(e,r,t,i){return X(O(r,e.length-t),e,t,i)}function $r(e,r,t,i){return X(ht(r),e,t,i)}function Pr(e,r,t,i){return X(Er(r),e,t,i)}function jr(e,r,t,i){return X(ft(r,e.length-t),e,t,i)}a.prototype.write=function(r,t,i,n){if(t===void 0)n="utf8",i=this.length,t=0;else if(i===void 0&&typeof t=="string")n=t,i=this.length,t=0;else if(isFinite(t))t=t>>>0,isFinite(i)?(i=i>>>0,n===void 0&&(n="utf8")):(n=i,i=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var o=this.length-t;if((i===void 0||i>o)&&(i=o),r.length>0&&(i<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var u=!1;;)switch(n){case"hex":return Or(this,r,t,i);case"utf8":case"utf-8":return Zr(this,r,t,i);case"ascii":case"latin1":case"binary":return $r(this,r,t,i);case"base64":return Pr(this,r,t,i);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return jr(this,r,t,i);default:if(u)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),u=!0}};a.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function rt(e,r,t){return r===0&&t===e.length?Q.fromByteArray(e):Q.fromByteArray(e.slice(r,t))}function wr(e,r,t){t=Math.min(e.length,t);for(var i=[],n=r;n<t;){var o=e[n],u=null,h=o>239?4:o>223?3:o>191?2:1;if(n+h<=t){var f,c,s,p;switch(h){case 1:o<128&&(u=o);break;case 2:f=e[n+1],(f&192)===128&&(p=(o&31)<<6|f&63,p>127&&(u=p));break;case 3:f=e[n+1],c=e[n+2],(f&192)===128&&(c&192)===128&&(p=(o&15)<<12|(f&63)<<6|c&63,p>2047&&(p<55296||p>57343)&&(u=p));break;case 4:f=e[n+1],c=e[n+2],s=e[n+3],(f&192)===128&&(c&192)===128&&(s&192)===128&&(p=(o&15)<<18|(f&63)<<12|(c&63)<<6|s&63,p>65535&&p<1114112&&(u=p))}}u===null?(u=65533,h=1):u>65535&&(u-=65536,i.push(u>>>10&1023|55296),u=56320|u&1023),i.push(u),n+=h}return tt(i)}var fr=4096;function tt(e){var r=e.length;if(r<=fr)return String.fromCharCode.apply(String,e);for(var t="",i=0;i<r;)t+=String.fromCharCode.apply(String,e.slice(i,i+=fr));return t}function et(e,r,t){var i="";t=Math.min(e.length,t);for(var n=r;n<t;++n)i+=String.fromCharCode(e[n]&127);return i}function it(e,r,t){var i="";t=Math.min(e.length,t);for(var n=r;n<t;++n)i+=String.fromCharCode(e[n]);return i}function nt(e,r,t){var i=e.length;(!r||r<0)&&(r=0),(!t||t<0||t>i)&&(t=i);for(var n="",o=r;o<t;++o)n+=pt[e[o]];return n}function ot(e,r,t){for(var i=e.slice(r,t),n="",o=0;o<i.length-1;o+=2)n+=String.fromCharCode(i[o]+i[o+1]*256);return n}a.prototype.slice=function(r,t){var i=this.length;r=~~r,t=t===void 0?i:~~t,r<0?(r+=i,r<0&&(r=0)):r>i&&(r=i),t<0?(t+=i,t<0&&(t=0)):t>i&&(t=i),t<r&&(t=r);var n=this.subarray(r,t);return Object.setPrototypeOf(n,a.prototype),n};function w(e,r,t){if(e%1!==0||e<0)throw new RangeError("offset is not uint");if(e+r>t)throw new RangeError("Trying to access beyond buffer length")}a.prototype.readUintLE=a.prototype.readUIntLE=function(r,t,i){r=r>>>0,t=t>>>0,i||w(r,t,this.length);for(var n=this[r],o=1,u=0;++u<t&&(o*=256);)n+=this[r+u]*o;return n};a.prototype.readUintBE=a.prototype.readUIntBE=function(r,t,i){r=r>>>0,t=t>>>0,i||w(r,t,this.length);for(var n=this[r+--t],o=1;t>0&&(o*=256);)n+=this[r+--t]*o;return n};a.prototype.readUint8=a.prototype.readUInt8=function(r,t){return r=r>>>0,t||w(r,1,this.length),this[r]};a.prototype.readUint16LE=a.prototype.readUInt16LE=function(r,t){return r=r>>>0,t||w(r,2,this.length),this[r]|this[r+1]<<8};a.prototype.readUint16BE=a.prototype.readUInt16BE=function(r,t){return r=r>>>0,t||w(r,2,this.length),this[r]<<8|this[r+1]};a.prototype.readUint32LE=a.prototype.readUInt32LE=function(r,t){return r=r>>>0,t||w(r,4,this.length),(this[r]|this[r+1]<<8|this[r+2]<<16)+this[r+3]*16777216};a.prototype.readUint32BE=a.prototype.readUInt32BE=function(r,t){return r=r>>>0,t||w(r,4,this.length),this[r]*16777216+(this[r+1]<<16|this[r+2]<<8|this[r+3])};a.prototype.readIntLE=function(r,t,i){r=r>>>0,t=t>>>0,i||w(r,t,this.length);for(var n=this[r],o=1,u=0;++u<t&&(o*=256);)n+=this[r+u]*o;return o*=128,n>=o&&(n-=Math.pow(2,8*t)),n};a.prototype.readIntBE=function(r,t,i){r=r>>>0,t=t>>>0,i||w(r,t,this.length);for(var n=t,o=1,u=this[r+--n];n>0&&(o*=256);)u+=this[r+--n]*o;return o*=128,u>=o&&(u-=Math.pow(2,8*t)),u};a.prototype.readInt8=function(r,t){return r=r>>>0,t||w(r,1,this.length),this[r]&128?(255-this[r]+1)*-1:this[r]};a.prototype.readInt16LE=function(r,t){r=r>>>0,t||w(r,2,this.length);var i=this[r]|this[r+1]<<8;return i&32768?i|4294901760:i};a.prototype.readInt16BE=function(r,t){r=r>>>0,t||w(r,2,this.length);var i=this[r+1]|this[r]<<8;return i&32768?i|4294901760:i};a.prototype.readInt32LE=function(r,t){return r=r>>>0,t||w(r,4,this.length),this[r]|this[r+1]<<8|this[r+2]<<16|this[r+3]<<24};a.prototype.readInt32BE=function(r,t){return r=r>>>0,t||w(r,4,this.length),this[r]<<24|this[r+1]<<16|this[r+2]<<8|this[r+3]};a.prototype.readFloatLE=function(r,t){return r=r>>>0,t||w(r,4,this.length),R.read(this,r,!0,23,4)};a.prototype.readFloatBE=function(r,t){return r=r>>>0,t||w(r,4,this.length),R.read(this,r,!1,23,4)};a.prototype.readDoubleLE=function(r,t){return r=r>>>0,t||w(r,8,this.length),R.read(this,r,!0,52,8)};a.prototype.readDoubleBE=function(r,t){return r=r>>>0,t||w(r,8,this.length),R.read(this,r,!1,52,8)};function y(e,r,t,i,n,o){if(!a.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(r>n||r<o)throw new RangeError('"value" argument is out of bounds');if(t+i>e.length)throw new RangeError("Index out of range")}a.prototype.writeUintLE=a.prototype.writeUIntLE=function(r,t,i,n){if(r=+r,t=t>>>0,i=i>>>0,!n){var o=Math.pow(2,8*i)-1;y(this,r,t,i,o,0)}var u=1,h=0;for(this[t]=r&255;++h<i&&(u*=256);)this[t+h]=r/u&255;return t+i};a.prototype.writeUintBE=a.prototype.writeUIntBE=function(r,t,i,n){if(r=+r,t=t>>>0,i=i>>>0,!n){var o=Math.pow(2,8*i)-1;y(this,r,t,i,o,0)}var u=i-1,h=1;for(this[t+u]=r&255;--u>=0&&(h*=256);)this[t+u]=r/h&255;return t+i};a.prototype.writeUint8=a.prototype.writeUInt8=function(r,t,i){return r=+r,t=t>>>0,i||y(this,r,t,1,255,0),this[t]=r&255,t+1};a.prototype.writeUint16LE=a.prototype.writeUInt16LE=function(r,t,i){return r=+r,t=t>>>0,i||y(this,r,t,2,65535,0),this[t]=r&255,this[t+1]=r>>>8,t+2};a.prototype.writeUint16BE=a.prototype.writeUInt16BE=function(r,t,i){return r=+r,t=t>>>0,i||y(this,r,t,2,65535,0),this[t]=r>>>8,this[t+1]=r&255,t+2};a.prototype.writeUint32LE=a.prototype.writeUInt32LE=function(r,t,i){return r=+r,t=t>>>0,i||y(this,r,t,4,4294967295,0),this[t+3]=r>>>24,this[t+2]=r>>>16,this[t+1]=r>>>8,this[t]=r&255,t+4};a.prototype.writeUint32BE=a.prototype.writeUInt32BE=function(r,t,i){return r=+r,t=t>>>0,i||y(this,r,t,4,4294967295,0),this[t]=r>>>24,this[t+1]=r>>>16,this[t+2]=r>>>8,this[t+3]=r&255,t+4};a.prototype.writeIntLE=function(r,t,i,n){if(r=+r,t=t>>>0,!n){var o=Math.pow(2,8*i-1);y(this,r,t,i,o-1,-o)}var u=0,h=1,f=0;for(this[t]=r&255;++u<i&&(h*=256);)r<0&&f===0&&this[t+u-1]!==0&&(f=1),this[t+u]=(r/h>>0)-f&255;return t+i};a.prototype.writeIntBE=function(r,t,i,n){if(r=+r,t=t>>>0,!n){var o=Math.pow(2,8*i-1);y(this,r,t,i,o-1,-o)}var u=i-1,h=1,f=0;for(this[t+u]=r&255;--u>=0&&(h*=256);)r<0&&f===0&&this[t+u+1]!==0&&(f=1),this[t+u]=(r/h>>0)-f&255;return t+i};a.prototype.writeInt8=function(r,t,i){return r=+r,t=t>>>0,i||y(this,r,t,1,127,-128),r<0&&(r=255+r+1),this[t]=r&255,t+1};a.prototype.writeInt16LE=function(r,t,i){return r=+r,t=t>>>0,i||y(this,r,t,2,32767,-32768),this[t]=r&255,this[t+1]=r>>>8,t+2};a.prototype.writeInt16BE=function(r,t,i){return r=+r,t=t>>>0,i||y(this,r,t,2,32767,-32768),this[t]=r>>>8,this[t+1]=r&255,t+2};a.prototype.writeInt32LE=function(r,t,i){return r=+r,t=t>>>0,i||y(this,r,t,4,2147483647,-2147483648),this[t]=r&255,this[t+1]=r>>>8,this[t+2]=r>>>16,this[t+3]=r>>>24,t+4};a.prototype.writeInt32BE=function(r,t,i){return r=+r,t=t>>>0,i||y(this,r,t,4,2147483647,-2147483648),r<0&&(r=4294967295+r+1),this[t]=r>>>24,this[t+1]=r>>>16,this[t+2]=r>>>8,this[t+3]=r&255,t+4};function yr(e,r,t,i,n,o){if(t+i>e.length)throw new RangeError("Index out of range");if(t<0)throw new RangeError("Index out of range")}function xr(e,r,t,i,n){return r=+r,t=t>>>0,n||yr(e,r,t,4,34028234663852886e22,-34028234663852886e22),R.write(e,r,t,i,23,4),t+4}a.prototype.writeFloatLE=function(r,t,i){return xr(this,r,t,!0,i)};a.prototype.writeFloatBE=function(r,t,i){return xr(this,r,t,!1,i)};function mr(e,r,t,i,n){return r=+r,t=t>>>0,n||yr(e,r,t,8,17976931348623157e292,-17976931348623157e292),R.write(e,r,t,i,52,8),t+8}a.prototype.writeDoubleLE=function(r,t,i){return mr(this,r,t,!0,i)};a.prototype.writeDoubleBE=function(r,t,i){return mr(this,r,t,!1,i)};a.prototype.copy=function(r,t,i,n){if(!a.isBuffer(r))throw new TypeError("argument should be a Buffer");if(i||(i=0),!n&&n!==0&&(n=this.length),t>=r.length&&(t=r.length),t||(t=0),n>0&&n<i&&(n=i),n===i||r.length===0||this.length===0)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(i<0||i>=this.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),r.length-t<n-i&&(n=r.length-t+i);var o=n-i;return this===r&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(t,i,n):Uint8Array.prototype.set.call(r,this.subarray(i,n),t),o};a.prototype.fill=function(r,t,i,n){if(typeof r=="string"){if(typeof t=="string"?(n=t,t=0,i=this.length):typeof i=="string"&&(n=i,i=this.length),n!==void 0&&typeof n!="string")throw new TypeError("encoding must be a string");if(typeof n=="string"&&!a.isEncoding(n))throw new TypeError("Unknown encoding: "+n);if(r.length===1){var o=r.charCodeAt(0);(n==="utf8"&&o<128||n==="latin1")&&(r=o)}}else typeof r=="number"?r=r&255:typeof r=="boolean"&&(r=Number(r));if(t<0||this.length<t||this.length<i)throw new RangeError("Out of range index");if(i<=t)return this;t=t>>>0,i=i===void 0?this.length:i>>>0,r||(r=0);var u;if(typeof r=="number")for(u=t;u<i;++u)this[u]=r;else{var h=a.isBuffer(r)?r:a.from(r,n),f=h.length;if(f===0)throw new TypeError('The value "'+r+'" is invalid for argument "value"');for(u=0;u<i-t;++u)this[u+t]=h[u%f]}return this};var ut=/[^+/0-9A-Za-z-_]/g;function at(e){if(e=e.split("=")[0],e=e.trim().replace(ut,""),e.length<2)return"";for(;e.length%4!==0;)e=e+"=";return e}function O(e,r){r=r||1/0;for(var t,i=e.length,n=null,o=[],u=0;u<i;++u){if(t=e.charCodeAt(u),t>55295&&t<57344){if(!n){if(t>56319){(r-=3)>-1&&o.push(239,191,189);continue}else if(u+1===i){(r-=3)>-1&&o.push(239,191,189);continue}n=t;continue}if(t<56320){(r-=3)>-1&&o.push(239,191,189),n=t;continue}t=(n-55296<<10|t-56320)+65536}else n&&(r-=3)>-1&&o.push(239,191,189);if(n=null,t<128){if((r-=1)<0)break;o.push(t)}else if(t<2048){if((r-=2)<0)break;o.push(t>>6|192,t&63|128)}else if(t<65536){if((r-=3)<0)break;o.push(t>>12|224,t>>6&63|128,t&63|128)}else if(t<1114112){if((r-=4)<0)break;o.push(t>>18|240,t>>12&63|128,t>>6&63|128,t&63|128)}else throw new Error("Invalid code point")}return o}function ht(e){for(var r=[],t=0;t<e.length;++t)r.push(e.charCodeAt(t)&255);return r}function ft(e,r){for(var t,i,n,o=[],u=0;u<e.length&&!((r-=2)<0);++u)t=e.charCodeAt(u),i=t>>8,n=t%256,o.push(n),o.push(i);return o}function Er(e){return Q.toByteArray(at(e))}function X(e,r,t,i){for(var n=0;n<i&&!(n+t>=r.length||n>=e.length);++n)r[n+t]=e[n];return n}function B(e,r){return e instanceof r||e!=null&&e.constructor!=null&&e.constructor.name!=null&&e.constructor.name===r.name}function P(e){return e!==e}var pt=function(){for(var e="0123456789abcdef",r=new Array(256),t=0;t<16;++t)for(var i=t*16,n=0;n<16;++n)r[i+n]=e[t]+e[n];return r}()});var Tr=W((Ft,vr)=>{F();var l=vr.exports={},g,v;function j(){throw new Error("setTimeout has not been defined")}function rr(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?g=setTimeout:g=j}catch(e){g=j}try{typeof clearTimeout=="function"?v=clearTimeout:v=rr}catch(e){v=rr}})();function Ar(e){if(g===setTimeout)return setTimeout(e,0);if((g===j||!g)&&setTimeout)return g=setTimeout,setTimeout(e,0);try{return g(e,0)}catch(r){try{return g.call(null,e,0)}catch(t){return g.call(this,e,0)}}}function ct(e){if(v===clearTimeout)return clearTimeout(e);if((v===rr||!v)&&clearTimeout)return v=clearTimeout,clearTimeout(e);try{return v(e)}catch(r){try{return v.call(null,e)}catch(t){return v.call(this,e)}}}var d=[],k=!1,S,G=-1;function st(){!k||!S||(k=!1,S.length?d=S.concat(d):G=-1,d.length&&Br())}function Br(){if(!k){var e=Ar(st);k=!0;for(var r=d.length;r;){for(S=d,d=[];++G<r;)S&&S[G].run();G=-1,r=d.length}S=null,k=!1,ct(e)}}l.nextTick=function(e){var r=new Array(arguments.length-1);if(arguments.length>1)for(var t=1;t<arguments.length;t++)r[t-1]=arguments[t];d.push(new gr(e,r)),d.length===1&&!k&&Ar(Br)};function gr(e,r){this.fun=e,this.array=r}gr.prototype.run=function(){this.fun.apply(null,this.array)};l.title="browser";l.browser=!0;l.env={};l.argv=[];l.version="";l.versions={};function U(){}l.on=U;l.addListener=U;l.once=U;l.off=U;l.removeListener=U;l.removeAllListeners=U;l.emit=U;l.prependListener=U;l.prependOnceListener=U;l.listeners=function(e){return[]};l.binding=function(e){throw new Error("process.binding is not supported")};l.cwd=function(){return"/"};l.chdir=function(e){throw new Error("process.chdir is not supported")};l.umask=function(){return 0}});var M,D,At,F=_r(()=>{M=er(Fr()),D=er(Tr()),At=function(e){function r(){var i=this||self;return delete e.prototype.__magic__,i}if(typeof globalThis=="object")return globalThis;if(this)return r();e.defineProperty(e.prototype,"__magic__",{configurable:!0,get:r});var t=__magic__;return t}(Object)});var wt={};kr(wt,{getNativeAuthConfig:()=>lt});module.exports=Mr(wt);F();var dr,N={hostname:typeof window!="undefined"?(dr=window==null?void 0:window.location)==null?void 0:dr.hostname:"",apiAddress:"https://api.multiversx.com",expirySeconds:60*60*24,tokenExpirationToastWarningSeconds:5*60},lt=e=>{var t,i,n,o;return e===!0?N:{hostname:(t=e==null?void 0:e.hostname)!=null?t:N.hostname,expirySeconds:(i=e==null?void 0:e.expirySeconds)!=null?i:N.expirySeconds,apiAddress:(n=e==null?void 0:e.apiAddress)!=null?n:N.apiAddress,tokenExpirationToastWarningSeconds:(o=e==null?void 0:e.tokenExpirationToastWarningSeconds)!=null?o:N.tokenExpirationToastWarningSeconds}};0&&(module.exports={getNativeAuthConfig});
1
+ "use strict";var Ir=Object.create;var b=Object.defineProperty;var Cr=Object.getOwnPropertyDescriptor;var Sr=Object.getOwnPropertyNames;var Lr=Object.getPrototypeOf,kr=Object.prototype.hasOwnProperty;var Rr=(e,r)=>()=>(e&&(r=e(e=0)),r);var W=(e,r)=>()=>(r||e((r={exports:{}}).exports,r),r.exports),_r=(e,r)=>{for(var t in r)b(e,t,{get:r[t],enumerable:!0})},tr=(e,r,t,i)=>{if(r&&typeof r=="object"||typeof r=="function")for(let n of Sr(r))!kr.call(e,n)&&n!==t&&b(e,n,{get:()=>r[n],enumerable:!(i=Cr(r,n))||i.enumerable});return e};var er=(e,r,t)=>(t=e!=null?Ir(Lr(e)):{},tr(r||!e||!e.__esModule?b(t,"default",{value:e,enumerable:!0}):t,e)),Mr=e=>tr(b({},"__esModule",{value:!0}),e);var or=W(H=>{"use strict";F();H.byteLength=Nr;H.toByteArray=Wr;H.fromByteArray=qr;var A=[],m=[],Dr=typeof Uint8Array!="undefined"?Uint8Array:Array,z="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(I=0,ir=z.length;I<ir;++I)A[I]=z[I],m[z.charCodeAt(I)]=I;var I,ir;m["-".charCodeAt(0)]=62;m["_".charCodeAt(0)]=63;function nr(e){var r=e.length;if(r%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var t=e.indexOf("=");t===-1&&(t=r);var i=t===r?0:4-t%4;return[t,i]}function Nr(e){var r=nr(e),t=r[0],i=r[1];return(t+i)*3/4-i}function br(e,r,t){return(r+t)*3/4-t}function Wr(e){var r,t=nr(e),i=t[0],n=t[1],o=new Dr(br(e,i,n)),u=0,h=n>0?i-4:i,f;for(f=0;f<h;f+=4)r=m[e.charCodeAt(f)]<<18|m[e.charCodeAt(f+1)]<<12|m[e.charCodeAt(f+2)]<<6|m[e.charCodeAt(f+3)],o[u++]=r>>16&255,o[u++]=r>>8&255,o[u++]=r&255;return n===2&&(r=m[e.charCodeAt(f)]<<2|m[e.charCodeAt(f+1)]>>4,o[u++]=r&255),n===1&&(r=m[e.charCodeAt(f)]<<10|m[e.charCodeAt(f+1)]<<4|m[e.charCodeAt(f+2)]>>2,o[u++]=r>>8&255,o[u++]=r&255),o}function Hr(e){return A[e>>18&63]+A[e>>12&63]+A[e>>6&63]+A[e&63]}function Yr(e,r,t){for(var i,n=[],o=r;o<t;o+=3)i=(e[o]<<16&16711680)+(e[o+1]<<8&65280)+(e[o+2]&255),n.push(Hr(i));return n.join("")}function qr(e){for(var r,t=e.length,i=t%3,n=[],o=16383,u=0,h=t-i;u<h;u+=o)n.push(Yr(e,u,u+o>h?h:u+o));return i===1?(r=e[t-1],n.push(A[r>>2]+A[r<<4&63]+"==")):i===2&&(r=(e[t-2]<<8)+e[t-1],n.push(A[r>>10]+A[r>>4&63]+A[r<<2&63]+"=")),n.join("")}});var ur=W(J=>{F();J.read=function(e,r,t,i,n){var o,u,h=n*8-i-1,f=(1<<h)-1,c=f>>1,s=-7,p=t?n-1:0,E=t?-1:1,x=e[r+p];for(p+=E,o=x&(1<<-s)-1,x>>=-s,s+=h;s>0;o=o*256+e[r+p],p+=E,s-=8);for(u=o&(1<<-s)-1,o>>=-s,s+=i;s>0;u=u*256+e[r+p],p+=E,s-=8);if(o===0)o=1-c;else{if(o===f)return u?NaN:(x?-1:1)*(1/0);u=u+Math.pow(2,i),o=o-c}return(x?-1:1)*u*Math.pow(2,o-i)};J.write=function(e,r,t,i,n,o){var u,h,f,c=o*8-n-1,s=(1<<c)-1,p=s>>1,E=n===23?Math.pow(2,-24)-Math.pow(2,-77):0,x=i?0:o-1,L=i?1:-1,Ur=r<0||r===0&&1/r<0?1:0;for(r=Math.abs(r),isNaN(r)||r===1/0?(h=isNaN(r)?1:0,u=s):(u=Math.floor(Math.log(r)/Math.LN2),r*(f=Math.pow(2,-u))<1&&(u--,f*=2),u+p>=1?r+=E/f:r+=E*Math.pow(2,1-p),r*f>=2&&(u++,f/=2),u+p>=s?(h=0,u=s):u+p>=1?(h=(r*f-1)*Math.pow(2,n),u=u+p):(h=r*Math.pow(2,p-1)*Math.pow(2,n),u=0));n>=8;e[t+x]=h&255,x+=L,h/=256,n-=8);for(u=u<<n|h,c+=n;c>0;e[t+x]=u&255,x+=L,u/=256,c-=8);e[t+x-L]|=Ur*128}});var Fr=W(R=>{"use strict";F();var Q=or(),k=ur(),ar=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;R.Buffer=a;R.SlowBuffer=Vr;R.INSPECT_MAX_BYTES=50;var q=2147483647;R.kMaxLength=q;a.TYPED_ARRAY_SUPPORT=Xr();!a.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 Xr(){try{var e=new Uint8Array(1),r={foo:function(){return 42}};return Object.setPrototypeOf(r,Uint8Array.prototype),Object.setPrototypeOf(e,r),e.foo()===42}catch(t){return!1}}Object.defineProperty(a.prototype,"parent",{enumerable:!0,get:function(){if(!!a.isBuffer(this))return this.buffer}});Object.defineProperty(a.prototype,"offset",{enumerable:!0,get:function(){if(!!a.isBuffer(this))return this.byteOffset}});function d(e){if(e>q)throw new RangeError('The value "'+e+'" is invalid for option "size"');var r=new Uint8Array(e);return Object.setPrototypeOf(r,a.prototype),r}function a(e,r,t){if(typeof e=="number"){if(typeof r=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return Z(e)}return pr(e,r,t)}a.poolSize=8192;function pr(e,r,t){if(typeof e=="string")return zr(e,r);if(ArrayBuffer.isView(e))return Jr(e);if(e==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(B(e,ArrayBuffer)||e&&B(e.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(B(e,SharedArrayBuffer)||e&&B(e.buffer,SharedArrayBuffer)))return K(e,r,t);if(typeof e=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var i=e.valueOf&&e.valueOf();if(i!=null&&i!==e)return a.from(i,r,t);var n=Qr(e);if(n)return n;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof e[Symbol.toPrimitive]=="function")return a.from(e[Symbol.toPrimitive]("string"),r,t);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}a.from=function(e,r,t){return pr(e,r,t)};Object.setPrototypeOf(a.prototype,Uint8Array.prototype);Object.setPrototypeOf(a,Uint8Array);function cr(e){if(typeof e!="number")throw new TypeError('"size" argument must be of type number');if(e<0)throw new RangeError('The value "'+e+'" is invalid for option "size"')}function Gr(e,r,t){return cr(e),e<=0?d(e):r!==void 0?typeof t=="string"?d(e).fill(r,t):d(e).fill(r):d(e)}a.alloc=function(e,r,t){return Gr(e,r,t)};function Z(e){return cr(e),d(e<0?0:$(e)|0)}a.allocUnsafe=function(e){return Z(e)};a.allocUnsafeSlow=function(e){return Z(e)};function zr(e,r){if((typeof r!="string"||r==="")&&(r="utf8"),!a.isEncoding(r))throw new TypeError("Unknown encoding: "+r);var t=sr(e,r)|0,i=d(t),n=i.write(e,r);return n!==t&&(i=i.slice(0,n)),i}function V(e){for(var r=e.length<0?0:$(e.length)|0,t=d(r),i=0;i<r;i+=1)t[i]=e[i]&255;return t}function Jr(e){if(B(e,Uint8Array)){var r=new Uint8Array(e);return K(r.buffer,r.byteOffset,r.byteLength)}return V(e)}function K(e,r,t){if(r<0||e.byteLength<r)throw new RangeError('"offset" is outside of buffer bounds');if(e.byteLength<r+(t||0))throw new RangeError('"length" is outside of buffer bounds');var i;return r===void 0&&t===void 0?i=new Uint8Array(e):t===void 0?i=new Uint8Array(e,r):i=new Uint8Array(e,r,t),Object.setPrototypeOf(i,a.prototype),i}function Qr(e){if(a.isBuffer(e)){var r=$(e.length)|0,t=d(r);return t.length===0||e.copy(t,0,0,r),t}if(e.length!==void 0)return typeof e.length!="number"||P(e.length)?d(0):V(e);if(e.type==="Buffer"&&Array.isArray(e.data))return V(e.data)}function $(e){if(e>=q)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+q.toString(16)+" bytes");return e|0}function Vr(e){return+e!=e&&(e=0),a.alloc(+e)}a.isBuffer=function(r){return r!=null&&r._isBuffer===!0&&r!==a.prototype};a.compare=function(r,t){if(B(r,Uint8Array)&&(r=a.from(r,r.offset,r.byteLength)),B(t,Uint8Array)&&(t=a.from(t,t.offset,t.byteLength)),!a.isBuffer(r)||!a.isBuffer(t))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(r===t)return 0;for(var i=r.length,n=t.length,o=0,u=Math.min(i,n);o<u;++o)if(r[o]!==t[o]){i=r[o],n=t[o];break}return i<n?-1:n<i?1:0};a.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}};a.concat=function(r,t){if(!Array.isArray(r))throw new TypeError('"list" argument must be an Array of Buffers');if(r.length===0)return a.alloc(0);var i;if(t===void 0)for(t=0,i=0;i<r.length;++i)t+=r[i].length;var n=a.allocUnsafe(t),o=0;for(i=0;i<r.length;++i){var u=r[i];if(B(u,Uint8Array))o+u.length>n.length?a.from(u).copy(n,o):Uint8Array.prototype.set.call(n,u,o);else if(a.isBuffer(u))u.copy(n,o);else throw new TypeError('"list" argument must be an Array of Buffers');o+=u.length}return n};function sr(e,r){if(a.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||B(e,ArrayBuffer))return e.byteLength;if(typeof e!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var t=e.length,i=arguments.length>2&&arguments[2]===!0;if(!i&&t===0)return 0;for(var n=!1;;)switch(r){case"ascii":case"latin1":case"binary":return t;case"utf8":case"utf-8":return O(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return t*2;case"hex":return t>>>1;case"base64":return Er(e).length;default:if(n)return i?-1:O(e).length;r=(""+r).toLowerCase(),n=!0}}a.byteLength=sr;function Kr(e,r,t){var i=!1;if((r===void 0||r<0)&&(r=0),r>this.length||((t===void 0||t>this.length)&&(t=this.length),t<=0)||(t>>>=0,r>>>=0,t<=r))return"";for(e||(e="utf8");;)switch(e){case"hex":return nt(this,r,t);case"utf8":case"utf-8":return wr(this,r,t);case"ascii":return et(this,r,t);case"latin1":case"binary":return it(this,r,t);case"base64":return rt(this,r,t);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ot(this,r,t);default:if(i)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),i=!0}}a.prototype._isBuffer=!0;function C(e,r,t){var i=e[r];e[r]=e[t],e[t]=i}a.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 t=0;t<r;t+=2)C(this,t,t+1);return this};a.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 t=0;t<r;t+=4)C(this,t,t+3),C(this,t+1,t+2);return this};a.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 t=0;t<r;t+=8)C(this,t,t+7),C(this,t+1,t+6),C(this,t+2,t+5),C(this,t+3,t+4);return this};a.prototype.toString=function(){var r=this.length;return r===0?"":arguments.length===0?wr(this,0,r):Kr.apply(this,arguments)};a.prototype.toLocaleString=a.prototype.toString;a.prototype.equals=function(r){if(!a.isBuffer(r))throw new TypeError("Argument must be a Buffer");return this===r?!0:a.compare(this,r)===0};a.prototype.inspect=function(){var r="",t=R.INSPECT_MAX_BYTES;return r=this.toString("hex",0,t).replace(/(.{2})/g,"$1 ").trim(),this.length>t&&(r+=" ... "),"<Buffer "+r+">"};ar&&(a.prototype[ar]=a.prototype.inspect);a.prototype.compare=function(r,t,i,n,o){if(B(r,Uint8Array)&&(r=a.from(r,r.offset,r.byteLength)),!a.isBuffer(r))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof r);if(t===void 0&&(t=0),i===void 0&&(i=r?r.length:0),n===void 0&&(n=0),o===void 0&&(o=this.length),t<0||i>r.length||n<0||o>this.length)throw new RangeError("out of range index");if(n>=o&&t>=i)return 0;if(n>=o)return-1;if(t>=i)return 1;if(t>>>=0,i>>>=0,n>>>=0,o>>>=0,this===r)return 0;for(var u=o-n,h=i-t,f=Math.min(u,h),c=this.slice(n,o),s=r.slice(t,i),p=0;p<f;++p)if(c[p]!==s[p]){u=c[p],h=s[p];break}return u<h?-1:h<u?1:0};function lr(e,r,t,i,n){if(e.length===0)return-1;if(typeof t=="string"?(i=t,t=0):t>2147483647?t=2147483647:t<-2147483648&&(t=-2147483648),t=+t,P(t)&&(t=n?0:e.length-1),t<0&&(t=e.length+t),t>=e.length){if(n)return-1;t=e.length-1}else if(t<0)if(n)t=0;else return-1;if(typeof r=="string"&&(r=a.from(r,i)),a.isBuffer(r))return r.length===0?-1:hr(e,r,t,i,n);if(typeof r=="number")return r=r&255,typeof Uint8Array.prototype.indexOf=="function"?n?Uint8Array.prototype.indexOf.call(e,r,t):Uint8Array.prototype.lastIndexOf.call(e,r,t):hr(e,[r],t,i,n);throw new TypeError("val must be string, number or Buffer")}function hr(e,r,t,i,n){var o=1,u=e.length,h=r.length;if(i!==void 0&&(i=String(i).toLowerCase(),i==="ucs2"||i==="ucs-2"||i==="utf16le"||i==="utf-16le")){if(e.length<2||r.length<2)return-1;o=2,u/=2,h/=2,t/=2}function f(x,L){return o===1?x[L]:x.readUInt16BE(L*o)}var c;if(n){var s=-1;for(c=t;c<u;c++)if(f(e,c)===f(r,s===-1?0:c-s)){if(s===-1&&(s=c),c-s+1===h)return s*o}else s!==-1&&(c-=c-s),s=-1}else for(t+h>u&&(t=u-h),c=t;c>=0;c--){for(var p=!0,E=0;E<h;E++)if(f(e,c+E)!==f(r,E)){p=!1;break}if(p)return c}return-1}a.prototype.includes=function(r,t,i){return this.indexOf(r,t,i)!==-1};a.prototype.indexOf=function(r,t,i){return lr(this,r,t,i,!0)};a.prototype.lastIndexOf=function(r,t,i){return lr(this,r,t,i,!1)};function Or(e,r,t,i){t=Number(t)||0;var n=e.length-t;i?(i=Number(i),i>n&&(i=n)):i=n;var o=r.length;i>o/2&&(i=o/2);for(var u=0;u<i;++u){var h=parseInt(r.substr(u*2,2),16);if(P(h))return u;e[t+u]=h}return u}function Zr(e,r,t,i){return X(O(r,e.length-t),e,t,i)}function $r(e,r,t,i){return X(ht(r),e,t,i)}function Pr(e,r,t,i){return X(Er(r),e,t,i)}function jr(e,r,t,i){return X(ft(r,e.length-t),e,t,i)}a.prototype.write=function(r,t,i,n){if(t===void 0)n="utf8",i=this.length,t=0;else if(i===void 0&&typeof t=="string")n=t,i=this.length,t=0;else if(isFinite(t))t=t>>>0,isFinite(i)?(i=i>>>0,n===void 0&&(n="utf8")):(n=i,i=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var o=this.length-t;if((i===void 0||i>o)&&(i=o),r.length>0&&(i<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var u=!1;;)switch(n){case"hex":return Or(this,r,t,i);case"utf8":case"utf-8":return Zr(this,r,t,i);case"ascii":case"latin1":case"binary":return $r(this,r,t,i);case"base64":return Pr(this,r,t,i);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return jr(this,r,t,i);default:if(u)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),u=!0}};a.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function rt(e,r,t){return r===0&&t===e.length?Q.fromByteArray(e):Q.fromByteArray(e.slice(r,t))}function wr(e,r,t){t=Math.min(e.length,t);for(var i=[],n=r;n<t;){var o=e[n],u=null,h=o>239?4:o>223?3:o>191?2:1;if(n+h<=t){var f,c,s,p;switch(h){case 1:o<128&&(u=o);break;case 2:f=e[n+1],(f&192)===128&&(p=(o&31)<<6|f&63,p>127&&(u=p));break;case 3:f=e[n+1],c=e[n+2],(f&192)===128&&(c&192)===128&&(p=(o&15)<<12|(f&63)<<6|c&63,p>2047&&(p<55296||p>57343)&&(u=p));break;case 4:f=e[n+1],c=e[n+2],s=e[n+3],(f&192)===128&&(c&192)===128&&(s&192)===128&&(p=(o&15)<<18|(f&63)<<12|(c&63)<<6|s&63,p>65535&&p<1114112&&(u=p))}}u===null?(u=65533,h=1):u>65535&&(u-=65536,i.push(u>>>10&1023|55296),u=56320|u&1023),i.push(u),n+=h}return tt(i)}var fr=4096;function tt(e){var r=e.length;if(r<=fr)return String.fromCharCode.apply(String,e);for(var t="",i=0;i<r;)t+=String.fromCharCode.apply(String,e.slice(i,i+=fr));return t}function et(e,r,t){var i="";t=Math.min(e.length,t);for(var n=r;n<t;++n)i+=String.fromCharCode(e[n]&127);return i}function it(e,r,t){var i="";t=Math.min(e.length,t);for(var n=r;n<t;++n)i+=String.fromCharCode(e[n]);return i}function nt(e,r,t){var i=e.length;(!r||r<0)&&(r=0),(!t||t<0||t>i)&&(t=i);for(var n="",o=r;o<t;++o)n+=pt[e[o]];return n}function ot(e,r,t){for(var i=e.slice(r,t),n="",o=0;o<i.length-1;o+=2)n+=String.fromCharCode(i[o]+i[o+1]*256);return n}a.prototype.slice=function(r,t){var i=this.length;r=~~r,t=t===void 0?i:~~t,r<0?(r+=i,r<0&&(r=0)):r>i&&(r=i),t<0?(t+=i,t<0&&(t=0)):t>i&&(t=i),t<r&&(t=r);var n=this.subarray(r,t);return Object.setPrototypeOf(n,a.prototype),n};function w(e,r,t){if(e%1!==0||e<0)throw new RangeError("offset is not uint");if(e+r>t)throw new RangeError("Trying to access beyond buffer length")}a.prototype.readUintLE=a.prototype.readUIntLE=function(r,t,i){r=r>>>0,t=t>>>0,i||w(r,t,this.length);for(var n=this[r],o=1,u=0;++u<t&&(o*=256);)n+=this[r+u]*o;return n};a.prototype.readUintBE=a.prototype.readUIntBE=function(r,t,i){r=r>>>0,t=t>>>0,i||w(r,t,this.length);for(var n=this[r+--t],o=1;t>0&&(o*=256);)n+=this[r+--t]*o;return n};a.prototype.readUint8=a.prototype.readUInt8=function(r,t){return r=r>>>0,t||w(r,1,this.length),this[r]};a.prototype.readUint16LE=a.prototype.readUInt16LE=function(r,t){return r=r>>>0,t||w(r,2,this.length),this[r]|this[r+1]<<8};a.prototype.readUint16BE=a.prototype.readUInt16BE=function(r,t){return r=r>>>0,t||w(r,2,this.length),this[r]<<8|this[r+1]};a.prototype.readUint32LE=a.prototype.readUInt32LE=function(r,t){return r=r>>>0,t||w(r,4,this.length),(this[r]|this[r+1]<<8|this[r+2]<<16)+this[r+3]*16777216};a.prototype.readUint32BE=a.prototype.readUInt32BE=function(r,t){return r=r>>>0,t||w(r,4,this.length),this[r]*16777216+(this[r+1]<<16|this[r+2]<<8|this[r+3])};a.prototype.readIntLE=function(r,t,i){r=r>>>0,t=t>>>0,i||w(r,t,this.length);for(var n=this[r],o=1,u=0;++u<t&&(o*=256);)n+=this[r+u]*o;return o*=128,n>=o&&(n-=Math.pow(2,8*t)),n};a.prototype.readIntBE=function(r,t,i){r=r>>>0,t=t>>>0,i||w(r,t,this.length);for(var n=t,o=1,u=this[r+--n];n>0&&(o*=256);)u+=this[r+--n]*o;return o*=128,u>=o&&(u-=Math.pow(2,8*t)),u};a.prototype.readInt8=function(r,t){return r=r>>>0,t||w(r,1,this.length),this[r]&128?(255-this[r]+1)*-1:this[r]};a.prototype.readInt16LE=function(r,t){r=r>>>0,t||w(r,2,this.length);var i=this[r]|this[r+1]<<8;return i&32768?i|4294901760:i};a.prototype.readInt16BE=function(r,t){r=r>>>0,t||w(r,2,this.length);var i=this[r+1]|this[r]<<8;return i&32768?i|4294901760:i};a.prototype.readInt32LE=function(r,t){return r=r>>>0,t||w(r,4,this.length),this[r]|this[r+1]<<8|this[r+2]<<16|this[r+3]<<24};a.prototype.readInt32BE=function(r,t){return r=r>>>0,t||w(r,4,this.length),this[r]<<24|this[r+1]<<16|this[r+2]<<8|this[r+3]};a.prototype.readFloatLE=function(r,t){return r=r>>>0,t||w(r,4,this.length),k.read(this,r,!0,23,4)};a.prototype.readFloatBE=function(r,t){return r=r>>>0,t||w(r,4,this.length),k.read(this,r,!1,23,4)};a.prototype.readDoubleLE=function(r,t){return r=r>>>0,t||w(r,8,this.length),k.read(this,r,!0,52,8)};a.prototype.readDoubleBE=function(r,t){return r=r>>>0,t||w(r,8,this.length),k.read(this,r,!1,52,8)};function y(e,r,t,i,n,o){if(!a.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(r>n||r<o)throw new RangeError('"value" argument is out of bounds');if(t+i>e.length)throw new RangeError("Index out of range")}a.prototype.writeUintLE=a.prototype.writeUIntLE=function(r,t,i,n){if(r=+r,t=t>>>0,i=i>>>0,!n){var o=Math.pow(2,8*i)-1;y(this,r,t,i,o,0)}var u=1,h=0;for(this[t]=r&255;++h<i&&(u*=256);)this[t+h]=r/u&255;return t+i};a.prototype.writeUintBE=a.prototype.writeUIntBE=function(r,t,i,n){if(r=+r,t=t>>>0,i=i>>>0,!n){var o=Math.pow(2,8*i)-1;y(this,r,t,i,o,0)}var u=i-1,h=1;for(this[t+u]=r&255;--u>=0&&(h*=256);)this[t+u]=r/h&255;return t+i};a.prototype.writeUint8=a.prototype.writeUInt8=function(r,t,i){return r=+r,t=t>>>0,i||y(this,r,t,1,255,0),this[t]=r&255,t+1};a.prototype.writeUint16LE=a.prototype.writeUInt16LE=function(r,t,i){return r=+r,t=t>>>0,i||y(this,r,t,2,65535,0),this[t]=r&255,this[t+1]=r>>>8,t+2};a.prototype.writeUint16BE=a.prototype.writeUInt16BE=function(r,t,i){return r=+r,t=t>>>0,i||y(this,r,t,2,65535,0),this[t]=r>>>8,this[t+1]=r&255,t+2};a.prototype.writeUint32LE=a.prototype.writeUInt32LE=function(r,t,i){return r=+r,t=t>>>0,i||y(this,r,t,4,4294967295,0),this[t+3]=r>>>24,this[t+2]=r>>>16,this[t+1]=r>>>8,this[t]=r&255,t+4};a.prototype.writeUint32BE=a.prototype.writeUInt32BE=function(r,t,i){return r=+r,t=t>>>0,i||y(this,r,t,4,4294967295,0),this[t]=r>>>24,this[t+1]=r>>>16,this[t+2]=r>>>8,this[t+3]=r&255,t+4};a.prototype.writeIntLE=function(r,t,i,n){if(r=+r,t=t>>>0,!n){var o=Math.pow(2,8*i-1);y(this,r,t,i,o-1,-o)}var u=0,h=1,f=0;for(this[t]=r&255;++u<i&&(h*=256);)r<0&&f===0&&this[t+u-1]!==0&&(f=1),this[t+u]=(r/h>>0)-f&255;return t+i};a.prototype.writeIntBE=function(r,t,i,n){if(r=+r,t=t>>>0,!n){var o=Math.pow(2,8*i-1);y(this,r,t,i,o-1,-o)}var u=i-1,h=1,f=0;for(this[t+u]=r&255;--u>=0&&(h*=256);)r<0&&f===0&&this[t+u+1]!==0&&(f=1),this[t+u]=(r/h>>0)-f&255;return t+i};a.prototype.writeInt8=function(r,t,i){return r=+r,t=t>>>0,i||y(this,r,t,1,127,-128),r<0&&(r=255+r+1),this[t]=r&255,t+1};a.prototype.writeInt16LE=function(r,t,i){return r=+r,t=t>>>0,i||y(this,r,t,2,32767,-32768),this[t]=r&255,this[t+1]=r>>>8,t+2};a.prototype.writeInt16BE=function(r,t,i){return r=+r,t=t>>>0,i||y(this,r,t,2,32767,-32768),this[t]=r>>>8,this[t+1]=r&255,t+2};a.prototype.writeInt32LE=function(r,t,i){return r=+r,t=t>>>0,i||y(this,r,t,4,2147483647,-2147483648),this[t]=r&255,this[t+1]=r>>>8,this[t+2]=r>>>16,this[t+3]=r>>>24,t+4};a.prototype.writeInt32BE=function(r,t,i){return r=+r,t=t>>>0,i||y(this,r,t,4,2147483647,-2147483648),r<0&&(r=4294967295+r+1),this[t]=r>>>24,this[t+1]=r>>>16,this[t+2]=r>>>8,this[t+3]=r&255,t+4};function yr(e,r,t,i,n,o){if(t+i>e.length)throw new RangeError("Index out of range");if(t<0)throw new RangeError("Index out of range")}function xr(e,r,t,i,n){return r=+r,t=t>>>0,n||yr(e,r,t,4,34028234663852886e22,-34028234663852886e22),k.write(e,r,t,i,23,4),t+4}a.prototype.writeFloatLE=function(r,t,i){return xr(this,r,t,!0,i)};a.prototype.writeFloatBE=function(r,t,i){return xr(this,r,t,!1,i)};function mr(e,r,t,i,n){return r=+r,t=t>>>0,n||yr(e,r,t,8,17976931348623157e292,-17976931348623157e292),k.write(e,r,t,i,52,8),t+8}a.prototype.writeDoubleLE=function(r,t,i){return mr(this,r,t,!0,i)};a.prototype.writeDoubleBE=function(r,t,i){return mr(this,r,t,!1,i)};a.prototype.copy=function(r,t,i,n){if(!a.isBuffer(r))throw new TypeError("argument should be a Buffer");if(i||(i=0),!n&&n!==0&&(n=this.length),t>=r.length&&(t=r.length),t||(t=0),n>0&&n<i&&(n=i),n===i||r.length===0||this.length===0)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(i<0||i>=this.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),r.length-t<n-i&&(n=r.length-t+i);var o=n-i;return this===r&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(t,i,n):Uint8Array.prototype.set.call(r,this.subarray(i,n),t),o};a.prototype.fill=function(r,t,i,n){if(typeof r=="string"){if(typeof t=="string"?(n=t,t=0,i=this.length):typeof i=="string"&&(n=i,i=this.length),n!==void 0&&typeof n!="string")throw new TypeError("encoding must be a string");if(typeof n=="string"&&!a.isEncoding(n))throw new TypeError("Unknown encoding: "+n);if(r.length===1){var o=r.charCodeAt(0);(n==="utf8"&&o<128||n==="latin1")&&(r=o)}}else typeof r=="number"?r=r&255:typeof r=="boolean"&&(r=Number(r));if(t<0||this.length<t||this.length<i)throw new RangeError("Out of range index");if(i<=t)return this;t=t>>>0,i=i===void 0?this.length:i>>>0,r||(r=0);var u;if(typeof r=="number")for(u=t;u<i;++u)this[u]=r;else{var h=a.isBuffer(r)?r:a.from(r,n),f=h.length;if(f===0)throw new TypeError('The value "'+r+'" is invalid for argument "value"');for(u=0;u<i-t;++u)this[u+t]=h[u%f]}return this};var ut=/[^+/0-9A-Za-z-_]/g;function at(e){if(e=e.split("=")[0],e=e.trim().replace(ut,""),e.length<2)return"";for(;e.length%4!==0;)e=e+"=";return e}function O(e,r){r=r||1/0;for(var t,i=e.length,n=null,o=[],u=0;u<i;++u){if(t=e.charCodeAt(u),t>55295&&t<57344){if(!n){if(t>56319){(r-=3)>-1&&o.push(239,191,189);continue}else if(u+1===i){(r-=3)>-1&&o.push(239,191,189);continue}n=t;continue}if(t<56320){(r-=3)>-1&&o.push(239,191,189),n=t;continue}t=(n-55296<<10|t-56320)+65536}else n&&(r-=3)>-1&&o.push(239,191,189);if(n=null,t<128){if((r-=1)<0)break;o.push(t)}else if(t<2048){if((r-=2)<0)break;o.push(t>>6|192,t&63|128)}else if(t<65536){if((r-=3)<0)break;o.push(t>>12|224,t>>6&63|128,t&63|128)}else if(t<1114112){if((r-=4)<0)break;o.push(t>>18|240,t>>12&63|128,t>>6&63|128,t&63|128)}else throw new Error("Invalid code point")}return o}function ht(e){for(var r=[],t=0;t<e.length;++t)r.push(e.charCodeAt(t)&255);return r}function ft(e,r){for(var t,i,n,o=[],u=0;u<e.length&&!((r-=2)<0);++u)t=e.charCodeAt(u),i=t>>8,n=t%256,o.push(n),o.push(i);return o}function Er(e){return Q.toByteArray(at(e))}function X(e,r,t,i){for(var n=0;n<i&&!(n+t>=r.length||n>=e.length);++n)r[n+t]=e[n];return n}function B(e,r){return e instanceof r||e!=null&&e.constructor!=null&&e.constructor.name!=null&&e.constructor.name===r.name}function P(e){return e!==e}var pt=function(){for(var e="0123456789abcdef",r=new Array(256),t=0;t<16;++t)for(var i=t*16,n=0;n<16;++n)r[i+n]=e[t]+e[n];return r}()});var dr=W((Ft,gr)=>{F();var l=gr.exports={},v,g;function j(){throw new Error("setTimeout has not been defined")}function rr(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?v=setTimeout:v=j}catch(e){v=j}try{typeof clearTimeout=="function"?g=clearTimeout:g=rr}catch(e){g=rr}})();function Ar(e){if(v===setTimeout)return setTimeout(e,0);if((v===j||!v)&&setTimeout)return v=setTimeout,setTimeout(e,0);try{return v(e,0)}catch(r){try{return v.call(null,e,0)}catch(t){return v.call(this,e,0)}}}function ct(e){if(g===clearTimeout)return clearTimeout(e);if((g===rr||!g)&&clearTimeout)return g=clearTimeout,clearTimeout(e);try{return g(e)}catch(r){try{return g.call(null,e)}catch(t){return g.call(this,e)}}}var T=[],_=!1,S,G=-1;function st(){!_||!S||(_=!1,S.length?T=S.concat(T):G=-1,T.length&&Br())}function Br(){if(!_){var e=Ar(st);_=!0;for(var r=T.length;r;){for(S=T,T=[];++G<r;)S&&S[G].run();G=-1,r=T.length}S=null,_=!1,ct(e)}}l.nextTick=function(e){var r=new Array(arguments.length-1);if(arguments.length>1)for(var t=1;t<arguments.length;t++)r[t-1]=arguments[t];T.push(new vr(e,r)),T.length===1&&!_&&Ar(Br)};function vr(e,r){this.fun=e,this.array=r}vr.prototype.run=function(){this.fun.apply(null,this.array)};l.title="browser";l.browser=!0;l.env={};l.argv=[];l.version="";l.versions={};function U(){}l.on=U;l.addListener=U;l.once=U;l.off=U;l.removeListener=U;l.removeAllListeners=U;l.emit=U;l.prependListener=U;l.prependOnceListener=U;l.listeners=function(e){return[]};l.binding=function(e){throw new Error("process.binding is not supported")};l.cwd=function(){return"/"};l.chdir=function(e){throw new Error("process.chdir is not supported")};l.umask=function(){return 0}});var M,D,At,F=Rr(()=>{M=er(Fr()),D=er(dr()),At=function(e){function r(){var i=this||self;return delete e.prototype.__magic__,i}if(typeof globalThis=="object")return globalThis;if(this)return r();e.defineProperty(e.prototype,"__magic__",{configurable:!0,get:r});var t=__magic__;return t}(Object)});var wt={};_r(wt,{getNativeAuthConfig:()=>lt});module.exports=Mr(wt);F();var Tr,N={hostname:typeof window!="undefined"?(Tr=window==null?void 0:window.location)==null?void 0:Tr.hostname:"",apiAddress:"https://api.multiversx.com",expirySeconds:60*60*24,tokenExpirationToastWarningSeconds:5*60},lt=e=>{var t,i,n,o,u;return e===!0?N:{hostname:(t=e==null?void 0:e.hostname)!=null?t:N.hostname,blockHashShard:(i=e==null?void 0:e.blockHashShard)!=null?i:null,expirySeconds:(n=e==null?void 0:e.expirySeconds)!=null?n:N.expirySeconds,apiAddress:(o=e==null?void 0:e.apiAddress)!=null?o:N.apiAddress,tokenExpirationToastWarningSeconds:(u=e==null?void 0:e.tokenExpirationToastWarningSeconds)!=null?u:N.tokenExpirationToastWarningSeconds}};0&&(module.exports={getNativeAuthConfig});
2
2
  /*!
3
3
  * The buffer module from node.js, for the browser.
4
4
  *