@multiversx/sdk-dapp 2.19.9-alpha.0 → 2.19.9

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 (723) 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/ExplorerLink/ExplorerLink.js +1 -1
  5. package/UI/ExplorerLink/index.js +1 -1
  6. package/UI/ModalContainer/ModalContainer.js +1 -1
  7. package/UI/ModalContainer/index.js +1 -1
  8. package/UI/NotificationModal/NotificationModal.js +1 -1
  9. package/UI/NotificationModal/index.js +1 -1
  10. package/UI/SignTransactionsModals/SignTransactionsModals.js +1 -1
  11. package/UI/SignTransactionsModals/SignWithDeviceModal/SignStep.js +1 -1
  12. package/UI/SignTransactionsModals/SignWithDeviceModal/SignWithDeviceModal.js +1 -1
  13. package/UI/SignTransactionsModals/SignWithDeviceModal/components/SignStepBody.js +1 -1
  14. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/ConfirmAmount.js +1 -1
  15. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/index.js +1 -1
  16. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmFee/ConfirmFee.js +1 -1
  17. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmFee/index.js +1 -1
  18. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmReceiver/ConfirmReceiver.js +1 -1
  19. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmReceiver/components/ReceiverSubValue/ReceiverSubValue.js +1 -1
  20. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmReceiver/components/ReceiverSubValue/index.js +1 -1
  21. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmReceiver/components/ReceiverValue/ReceiverValue.js +1 -1
  22. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmReceiver/components/ReceiverValue/index.js +1 -1
  23. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmReceiver/index.js +1 -1
  24. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/NftSftPreviewComponent/NftSftPreviewComponent.js +1 -1
  25. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/NftSftPreviewComponent/index.js +1 -1
  26. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/TokenAvatar/TokenAvatar.js +1 -1
  27. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/TokenAvatar/index.js +1 -1
  28. package/UI/SignTransactionsModals/SignWithDeviceModal/components/index.js +1 -1
  29. package/UI/SignTransactionsModals/SignWithDeviceModal/index.js +1 -1
  30. package/UI/SignTransactionsModals/SignWithExtensionModal/SignWithExtensionModal.js +1 -1
  31. package/UI/SignTransactionsModals/SignWithExtensionModal/index.js +1 -1
  32. package/UI/SignTransactionsModals/SignWithExtraModal/SignWithExtraModal.js +1 -1
  33. package/UI/SignTransactionsModals/SignWithExtraModal/index.js +1 -1
  34. package/UI/SignTransactionsModals/SignWithLedgerModal/LedgerGuardianSigningModalError.js +1 -1
  35. package/UI/SignTransactionsModals/SignWithLedgerModal/SignWithLedgerModal.js +1 -1
  36. package/UI/SignTransactionsModals/SignWithLedgerModal/index.js +1 -1
  37. package/UI/SignTransactionsModals/SignWithOperaModal/SignWithOperaModal.js +1 -1
  38. package/UI/SignTransactionsModals/SignWithOperaModal/index.js +1 -1
  39. package/UI/SignTransactionsModals/SignWithWalletConnectModal/index.js +1 -1
  40. package/UI/SignTransactionsModals/components/ConfirmationScreen.js +1 -1
  41. package/UI/SignTransactionsModals/components/DeviceConfirmationScreen.js +1 -1
  42. package/UI/SignTransactionsModals/components/SignWaitingScreenModal/SignWaitingScreenModal.js +1 -1
  43. package/UI/SignTransactionsModals/components/SignWaitingScreenModal/index.js +1 -1
  44. package/UI/SignTransactionsModals/components/TransactionStatusToast.js +1 -1
  45. package/UI/SignTransactionsModals/components/index.js +1 -1
  46. package/UI/SignTransactionsModals/index.js +1 -1
  47. package/UI/TokenDetails/index.js +1 -1
  48. package/UI/TransactionDetails/TransactionDetails.js +1 -1
  49. package/UI/TransactionDetails/components/TransactionDetailsBody.js +1 -1
  50. package/UI/TransactionDetails/components/index.js +1 -1
  51. package/UI/TransactionDetails/index.js +1 -1
  52. package/UI/TransactionInfo/TransactionInfo.js +1 -1
  53. package/UI/TransactionInfo/components/AddressDetailItem/AddressDetailitem.js +1 -1
  54. package/UI/TransactionInfo/components/AddressDetailItem/index.js +1 -1
  55. package/UI/TransactionInfo/components/EventsList/EventsList.js +1 -1
  56. package/UI/TransactionInfo/components/EventsList/index.js +1 -1
  57. package/UI/TransactionInfo/components/NonceMessage/NonceMessage.js +1 -1
  58. package/UI/TransactionInfo/components/NonceMessage/index.js +1 -1
  59. package/UI/TransactionInfo/components/OperationsList/OperationList.js +1 -1
  60. package/UI/TransactionInfo/components/OperationsList/components/DetailedItem.js +1 -1
  61. package/UI/TransactionInfo/components/OperationsList/components/OperationBlock.js +1 -1
  62. package/UI/TransactionInfo/components/OperationsList/components/OperationRow.js +1 -1
  63. package/UI/TransactionInfo/components/OperationsList/components/OperationText.js +1 -1
  64. package/UI/TransactionInfo/components/OperationsList/components/OperationToken.js +1 -1
  65. package/UI/TransactionInfo/components/OperationsList/components/index.js +1 -1
  66. package/UI/TransactionInfo/components/OperationsList/index.js +1 -1
  67. package/UI/TransactionInfo/components/ScResultsList/ScResultsList.js +1 -1
  68. package/UI/TransactionInfo/components/ScResultsList/components/ResultHash/ResultHash.js +1 -1
  69. package/UI/TransactionInfo/components/ScResultsList/components/ResultHash/index.js +1 -1
  70. package/UI/TransactionInfo/components/ScResultsList/components/ResultReceiver/ResultReceiver.js +1 -1
  71. package/UI/TransactionInfo/components/ScResultsList/components/ResultReceiver/index.js +1 -1
  72. package/UI/TransactionInfo/components/ScResultsList/components/ResultSender/ResultSender.js +1 -1
  73. package/UI/TransactionInfo/components/ScResultsList/components/ResultSender/index.js +1 -1
  74. package/UI/TransactionInfo/components/ScResultsList/index.js +1 -1
  75. package/UI/TransactionInfo/components/ScrDetailItem/ScrDetailItem.js +1 -1
  76. package/UI/TransactionInfo/components/ScrDetailItem/index.js +1 -1
  77. package/UI/TransactionInfo/components/TransactionAction/TransactionAction.js +1 -1
  78. package/UI/TransactionInfo/components/TransactionAction/components/ActionText/index.js +1 -1
  79. package/UI/TransactionInfo/components/TransactionAction/components/ActionToken.js +1 -1
  80. package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/TransactionActionCollection.js +1 -1
  81. package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/TransactionActionNft.js +1 -1
  82. package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/TransactionActionToken.js +1 -1
  83. package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/index.js +1 -1
  84. package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/index.js +1 -1
  85. package/UI/TransactionInfo/components/TransactionAction/components/index.js +1 -1
  86. package/UI/TransactionInfo/components/TransactionAction/index.js +1 -1
  87. package/UI/TransactionInfo/components/TransactionLogs/TransactionLogs.js +1 -1
  88. package/UI/TransactionInfo/components/TransactionLogs/index.js +1 -1
  89. package/UI/TransactionInfo/components/index.js +1 -1
  90. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFee/TransactionInfoFee.js +1 -1
  91. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFee/index.js +1 -1
  92. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFrom/TransactionInfoFrom.js +1 -1
  93. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFrom/index.js +1 -1
  94. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMethod/TransactionInfoMethod.js +1 -1
  95. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMethod/index.js +1 -1
  96. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMiniblock/TransactionInfoMiniblock.js +1 -1
  97. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMiniblock/index.js +1 -1
  98. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoNonce/TransactionInfoNonce.js +1 -1
  99. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoNonce/index.js +1 -1
  100. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoScResults/TransactionInfoScResults.js +1 -1
  101. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoScResults/index.js +1 -1
  102. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTo/TransactionInfoTo.js +1 -1
  103. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTo/index.js +1 -1
  104. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTokenOperations/TransactionInfoTokenOperations.js +1 -1
  105. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTokenOperations/index.js +1 -1
  106. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoValue/TransactionInfoValue.js +1 -1
  107. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoValue/index.js +1 -1
  108. package/UI/TransactionInfo/components/transactionInfoFields/index.js +1 -1
  109. package/UI/TransactionInfo/index.js +1 -1
  110. package/UI/TransactionsTable/TransactionsTable.js +1 -1
  111. package/UI/TransactionsTable/components/AccountName.js +1 -1
  112. package/UI/TransactionsTable/components/LockedTokenAddressIcon.js +1 -1
  113. package/UI/TransactionsTable/components/TransactionHash.js +1 -1
  114. package/UI/TransactionsTable/components/TransactionReceiver.js +1 -1
  115. package/UI/TransactionsTable/components/TransactionRow.js +1 -1
  116. package/UI/TransactionsTable/components/TransactionSender.js +1 -1
  117. package/UI/TransactionsTable/components/TransactionShardsTransition.js +1 -1
  118. package/UI/TransactionsTable/components/TransactionValue/TransactionValue.js +1 -1
  119. package/UI/TransactionsTable/components/TransactionValue/index.js +1 -1
  120. package/UI/TransactionsTable/components/index.js +1 -1
  121. package/UI/TransactionsTable/index.js +1 -1
  122. package/UI/TransactionsToastList/TransactionsToastList.js +1 -1
  123. package/UI/TransactionsToastList/components/CustomToast/CustomToast.js +1 -1
  124. package/UI/TransactionsToastList/components/CustomToast/components/CustomComponentToast.js +1 -1
  125. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/IconToast.js +1 -1
  126. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/IconToastFooter.js +1 -1
  127. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/ComponentToastFooter.js +1 -1
  128. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/TransactionToastFooter.js +1 -1
  129. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/index.js +1 -1
  130. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/index.js +1 -1
  131. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/index.js +1 -1
  132. package/UI/TransactionsToastList/components/CustomToast/components/SimpleToast.js +1 -1
  133. package/UI/TransactionsToastList/components/CustomToast/components/index.js +1 -1
  134. package/UI/TransactionsToastList/components/CustomToast/helpers/index.js +1 -1
  135. package/UI/TransactionsToastList/components/CustomToast/helpers/useMemoizedCloseButton.js +1 -1
  136. package/UI/TransactionsToastList/components/CustomToast/index.js +1 -1
  137. package/UI/TransactionsToastList/components/TransactionToast/TransactionToast.js +1 -1
  138. package/UI/TransactionsToastList/components/TransactionToast/components/TransactionToastContent.js +1 -1
  139. package/UI/TransactionsToastList/components/TransactionToast/components/index.js +1 -1
  140. package/UI/TransactionsToastList/components/TransactionToast/hooks/useTransactionToast.js +1 -1
  141. package/UI/TransactionsToastList/components/TransactionToast/index.js +1 -1
  142. package/UI/TransactionsToastList/components/TransactionToastGuard.js +1 -1
  143. package/UI/TransactionsToastList/components/index.js +1 -1
  144. package/UI/TransactionsToastList/index.js +1 -1
  145. package/UI/Trim/Trim.js +1 -1
  146. package/UI/Trim/index.js +1 -1
  147. package/UI/extension/ExtensionLoginButton/ExtensionLoginButton.js +1 -1
  148. package/UI/extension/ExtensionLoginButton/index.js +1 -1
  149. package/UI/index.js +1 -1
  150. package/UI/ledger/LedgerLoginButton/LedgerLoginButton.js +1 -1
  151. package/UI/ledger/LedgerLoginButton/index.js +1 -1
  152. package/UI/ledger/LedgerLoginContainer/AddressRow/AddressRow.js +1 -1
  153. package/UI/ledger/LedgerLoginContainer/AddressRow/index.js +1 -1
  154. package/UI/ledger/LedgerLoginContainer/AddressTable/AddressTable.js +1 -1
  155. package/UI/ledger/LedgerLoginContainer/AddressTable/index.js +1 -1
  156. package/UI/ledger/LedgerLoginContainer/ConfirmAddress/ConfirmAddress.js +1 -1
  157. package/UI/ledger/LedgerLoginContainer/ConfirmAddress/index.js +1 -1
  158. package/UI/ledger/LedgerLoginContainer/LedgerLoginContainer.js +1 -1
  159. package/UI/ledger/LedgerLoginContainer/LedgerLoginContent/LedgerLoginContent.js +1 -1
  160. package/UI/ledger/LedgerLoginContainer/LedgerLoginContent/index.js +1 -1
  161. package/UI/ledger/LedgerLoginContainer/LedgerLoginContentBody/LedgerLoginContentBody.js +1 -1
  162. package/UI/ledger/LedgerLoginContainer/LedgerLoginContentBody/index.js +1 -1
  163. package/UI/ledger/LedgerLoginContainer/LedgerScamPhishingAlert/LedgerScamPhishingAlert.js +1 -1
  164. package/UI/ledger/LedgerLoginContainer/LedgerScamPhishingAlert/index.js +1 -1
  165. package/UI/ledger/LedgerLoginContainer/index.js +1 -1
  166. package/UI/ledger/index.js +1 -1
  167. package/UI/operaWallet/OperaWalletLoginButton/OperaWalletLoginButton.js +1 -1
  168. package/UI/operaWallet/OperaWalletLoginButton/index.js +1 -1
  169. package/UI/pages/UnlockPage/index.js +1 -1
  170. package/UI/pages/index.js +1 -1
  171. package/UI/walletConnect/WalletConnectLoginButton/WalletConnectLoginButton.js +1 -1
  172. package/UI/walletConnect/WalletConnectLoginButton/index.js +1 -1
  173. package/UI/walletConnect/WalletConnectLoginContainer/WalletConnectLoginContainer.js +1 -1
  174. package/UI/walletConnect/WalletConnectLoginContainer/WalletConnectLoginContent/WalletConnectLoginContent.js +1 -1
  175. package/UI/walletConnect/WalletConnectLoginContainer/WalletConnectLoginContent/index.js +1 -1
  176. package/UI/walletConnect/WalletConnectLoginContainer/index.js +1 -1
  177. package/UI/walletConnect/index.js +1 -1
  178. package/UI/webWallet/WebWalletLoginButton/WebWalletLoginButton.js +1 -1
  179. package/UI/webWallet/WebWalletLoginButton/index.js +1 -1
  180. package/__chunks__/{chunk-7YRXKVFC.js → chunk-22653KWI.js} +2 -2
  181. package/__chunks__/{chunk-Y32GY6U3.js → chunk-2B2ZUD6Y.js} +2 -2
  182. package/__chunks__/{chunk-PXG6N5E5.js → chunk-2CGQSZC5.js} +2 -2
  183. package/__chunks__/{chunk-7OQWJKQZ.js → chunk-2JWAQOL5.js} +2 -2
  184. package/__chunks__/{chunk-WUH42OKB.js → chunk-2PJ7UKHW.js} +2 -2
  185. package/__chunks__/{chunk-F2OKX2C5.js → chunk-2TWGAJA5.js} +2 -2
  186. package/__chunks__/{chunk-TAIAX4MR.js → chunk-33TGQ5RJ.js} +2 -2
  187. package/__chunks__/{chunk-VSIN3XSZ.js → chunk-34OWP2CT.js} +2 -2
  188. package/__chunks__/{chunk-Z2IUEYOJ.js → chunk-37UOW7MW.js} +2 -2
  189. package/__chunks__/{chunk-4KX62GHZ.js → chunk-3GGT4GXK.js} +2 -2
  190. package/__chunks__/{chunk-LWPPYSN4.js → chunk-3KS64ZOG.js} +2 -2
  191. package/__chunks__/{chunk-JXYHVVPZ.js → chunk-3WVFLHPP.js} +2 -2
  192. package/__chunks__/chunk-3ZDQAGYC.js +2 -0
  193. package/__chunks__/{chunk-AXCF5MZA.js → chunk-433WKECT.js} +2 -2
  194. package/__chunks__/{chunk-H5IXSA6V.js → chunk-4BH4TDPU.js} +2 -2
  195. package/__chunks__/{chunk-G7SZKQPX.js → chunk-4PZNQBKV.js} +2 -2
  196. package/__chunks__/{chunk-WUL7CKZZ.js → chunk-4VWBAWVD.js} +2 -2
  197. package/__chunks__/chunk-4ZBYJ2OS.js +2 -0
  198. package/__chunks__/chunk-57MGOKWO.js +2 -0
  199. package/__chunks__/{chunk-ZTCM6KQY.js → chunk-5K7S52CX.js} +2 -2
  200. package/__chunks__/{chunk-BPXWSLYZ.js → chunk-5MLKKL7N.js} +2 -2
  201. package/__chunks__/{chunk-6BP3USVT.js → chunk-5NX52ITO.js} +2 -2
  202. package/__chunks__/{chunk-F2BIOTOA.js → chunk-5RE23VF2.js} +2 -2
  203. package/__chunks__/{chunk-QDHQC6SV.js → chunk-5S22EFVA.js} +2 -2
  204. package/__chunks__/{chunk-6GJ5V6RC.js → chunk-5VJOVYK7.js} +2 -2
  205. package/__chunks__/chunk-5ZZ37YSM.js +2 -0
  206. package/__chunks__/{chunk-ZYAAHWXL.js → chunk-6E4G7TK7.js} +2 -2
  207. package/__chunks__/{chunk-IKYETSFR.js → chunk-6GX5FZRL.js} +2 -2
  208. package/__chunks__/{chunk-3L4BJLF3.js → chunk-6TEHRDXX.js} +2 -2
  209. package/__chunks__/{chunk-ZYCVB77J.js → chunk-6WYGRRUJ.js} +2 -2
  210. package/__chunks__/{chunk-T2XIGMSV.js → chunk-75Z3MQJT.js} +2 -2
  211. package/__chunks__/{chunk-F6BF5LL6.js → chunk-7H7WRGGH.js} +2 -2
  212. package/__chunks__/{chunk-VCOJOBPG.js → chunk-7K6NOFWL.js} +2 -2
  213. package/__chunks__/{chunk-M2II2EV3.js → chunk-7NMC6RR5.js} +2 -2
  214. package/__chunks__/{chunk-7MIC3JZI.js → chunk-A7TWVQQK.js} +2 -2
  215. package/__chunks__/{chunk-FFE3XSJM.js → chunk-ADWVWIEM.js} +2 -2
  216. package/__chunks__/chunk-AHFYNRN4.js +2 -0
  217. package/__chunks__/{chunk-T3XCKCHC.js → chunk-APXHZA5D.js} +2 -2
  218. package/__chunks__/{chunk-5MEAWPYC.js → chunk-ASFI47IA.js} +2 -2
  219. package/__chunks__/{chunk-LZMDZY72.js → chunk-AZXKELEZ.js} +2 -2
  220. package/__chunks__/{chunk-JNLUAZSZ.js → chunk-B334KYYI.js} +2 -2
  221. package/__chunks__/{chunk-VJ5MRYB5.js → chunk-B5LQV6SO.js} +2 -2
  222. package/__chunks__/{chunk-EIRH5QU7.js → chunk-B5XOIZK3.js} +2 -2
  223. package/__chunks__/{chunk-F4UH5DGH.js → chunk-B7PIHH4Z.js} +2 -2
  224. package/__chunks__/{chunk-OELCMO4H.js → chunk-BCPALB5T.js} +2 -2
  225. package/__chunks__/{chunk-2TM66TMJ.js → chunk-BES6O6XQ.js} +2 -2
  226. package/__chunks__/chunk-BGSMAY7X.js +2 -0
  227. package/__chunks__/{chunk-BEYDAUI5.js → chunk-BL47BHIP.js} +2 -2
  228. package/__chunks__/{chunk-DVAEAQMA.js → chunk-C33VDAKX.js} +2 -2
  229. package/__chunks__/{chunk-DZ7L5IGD.js → chunk-CPQUBUCI.js} +2 -2
  230. package/__chunks__/{chunk-7HIDWXXF.js → chunk-CTCW7NSO.js} +2 -2
  231. package/__chunks__/{chunk-HSHSXGFJ.js → chunk-D5DFP7CW.js} +2 -2
  232. package/__chunks__/{chunk-NSKYVZJN.js → chunk-DARDVN2R.js} +2 -2
  233. package/__chunks__/{chunk-TPVNIR4Q.js → chunk-DAXRQGPT.js} +2 -2
  234. package/__chunks__/{chunk-QEZCNJUW.js → chunk-DDHUB6G4.js} +2 -2
  235. package/__chunks__/{chunk-ORH5JTJ2.js → chunk-DHOU5N6K.js} +2 -2
  236. package/__chunks__/chunk-DJLWMOF2.js +2 -0
  237. package/__chunks__/{chunk-WHWLRYWR.js → chunk-DL4OIHR7.js} +2 -2
  238. package/__chunks__/{chunk-MUQFSIX7.js → chunk-DOYTFQLL.js} +2 -2
  239. package/__chunks__/{chunk-OLMBOVNZ.js → chunk-DOZ4K2MM.js} +2 -2
  240. package/__chunks__/chunk-DQDJOYJ3.js +2 -0
  241. package/__chunks__/{chunk-QLLZ4VKT.js → chunk-DUR4Z2V4.js} +2 -2
  242. package/__chunks__/{chunk-BFJNVXKL.js → chunk-E52JMGRG.js} +2 -2
  243. package/__chunks__/{chunk-ZREM2SRP.js → chunk-EB7JEQ2D.js} +2 -2
  244. package/__chunks__/chunk-EG2O374G.js +2 -0
  245. package/__chunks__/{chunk-IWVAAFNG.js → chunk-EH3VGFLZ.js} +2 -2
  246. package/__chunks__/{chunk-XQDPCNHU.js → chunk-EM472BS6.js} +2 -2
  247. package/__chunks__/{chunk-TJMA7O7V.js → chunk-EMT7OHS6.js} +2 -2
  248. package/__chunks__/{chunk-3FLQRQDB.js → chunk-EOYYYFHO.js} +2 -2
  249. package/__chunks__/chunk-ERPHTRWS.js +2 -0
  250. package/__chunks__/{chunk-E3BWE6QM.js → chunk-EUCQPZ4G.js} +2 -2
  251. package/__chunks__/{chunk-3XSWVLIK.js → chunk-EVPJF2WQ.js} +2 -2
  252. package/__chunks__/{chunk-4PD6LNNG.js → chunk-EWCT6TNC.js} +2 -2
  253. package/__chunks__/{chunk-7YZGMX36.js → chunk-EZDTHU7S.js} +2 -2
  254. package/__chunks__/{chunk-UKANXYLF.js → chunk-F3VHNKMU.js} +2 -2
  255. package/__chunks__/{chunk-4DF75IC5.js → chunk-FDCOVYKX.js} +2 -2
  256. package/__chunks__/{chunk-2HXGRSSS.js → chunk-FEHH2DKP.js} +2 -2
  257. package/__chunks__/{chunk-CRW7SMSR.js → chunk-FJGHMCO4.js} +2 -2
  258. package/__chunks__/{chunk-WLTVMKRJ.js → chunk-FN7SHYUL.js} +2 -2
  259. package/__chunks__/{chunk-JM3J66S3.js → chunk-FPFBL7X3.js} +2 -2
  260. package/__chunks__/{chunk-RTA2BVZK.js → chunk-FPP2LXZS.js} +2 -2
  261. package/__chunks__/{chunk-QEPIU7ED.js → chunk-FQ2HYNEY.js} +2 -2
  262. package/__chunks__/{chunk-BCDVJEBI.js → chunk-FUCYQDQD.js} +2 -2
  263. package/__chunks__/{chunk-XX2IXQTE.js → chunk-FWYOOREI.js} +2 -2
  264. package/__chunks__/{chunk-ESXKFLUJ.js → chunk-FZXA5PZL.js} +2 -2
  265. package/__chunks__/{chunk-TEYFZ6MA.js → chunk-G6T7IPAD.js} +2 -2
  266. package/__chunks__/{chunk-TW5DYXF6.js → chunk-G6XV4LJU.js} +2 -2
  267. package/__chunks__/{chunk-MBICMG45.js → chunk-GN7NCNWJ.js} +2 -2
  268. package/__chunks__/{chunk-K4Z44UMX.js → chunk-H2VJ3P7H.js} +2 -2
  269. package/__chunks__/{chunk-OZ6EGPY7.js → chunk-H3MYJJUN.js} +2 -2
  270. package/__chunks__/{chunk-EJRNHOH3.js → chunk-HCWIGEAB.js} +2 -2
  271. package/__chunks__/{chunk-55LLOWC3.js → chunk-HGNIP6AF.js} +2 -2
  272. package/__chunks__/{chunk-I43GQEUX.js → chunk-HNLV2NQY.js} +2 -2
  273. package/__chunks__/{chunk-OBJLMTBV.js → chunk-HP225GSK.js} +2 -2
  274. package/__chunks__/{chunk-GZ2TGZQJ.js → chunk-HSGECK3C.js} +2 -2
  275. package/__chunks__/{chunk-DQKH5X26.js → chunk-HXRTSI7F.js} +2 -2
  276. package/__chunks__/{chunk-3ZIHQ4FY.js → chunk-I3AP4JPT.js} +2 -2
  277. package/__chunks__/chunk-I4M525R6.js +2 -0
  278. package/__chunks__/{chunk-Y2F3ZHG3.js → chunk-IQADCPRE.js} +2 -2
  279. package/__chunks__/{chunk-QS4HNV74.js → chunk-IQCMRUJL.js} +2 -2
  280. package/__chunks__/{chunk-NP5EWNFK.js → chunk-IQXQYDM4.js} +2 -2
  281. package/__chunks__/{chunk-HBOCZTQA.js → chunk-J4XFKPBU.js} +2 -2
  282. package/__chunks__/{chunk-SKNRXIT3.js → chunk-JDQTNBFM.js} +2 -2
  283. package/__chunks__/{chunk-UIU6WAFK.js → chunk-JFUMP5HO.js} +2 -2
  284. package/__chunks__/{chunk-QYPS3UJJ.js → chunk-JKR7SOQJ.js} +2 -2
  285. package/__chunks__/{chunk-NWBDVMVY.js → chunk-JQO7AI3Z.js} +2 -2
  286. package/__chunks__/{chunk-ZDBP4W72.js → chunk-JR5GFXG5.js} +2 -2
  287. package/__chunks__/{chunk-LRHOPGQB.js → chunk-JXXT73LC.js} +2 -2
  288. package/__chunks__/{chunk-TFUPSHW4.js → chunk-JYL4VUFX.js} +2 -2
  289. package/__chunks__/chunk-K4E2N6ZV.js +2 -0
  290. package/__chunks__/{chunk-BSISGZWU.js → chunk-K7CGY2SA.js} +2 -2
  291. package/__chunks__/{chunk-T55CUPR7.js → chunk-KEUWEA3Y.js} +2 -2
  292. package/__chunks__/chunk-KIAMPAIZ.js +2 -0
  293. package/__chunks__/{chunk-DSLI6DL5.js → chunk-KIPFAGUD.js} +2 -2
  294. package/__chunks__/{chunk-GEKAXIFE.js → chunk-KPCM63V5.js} +2 -2
  295. package/__chunks__/{chunk-SFLF6YPS.js → chunk-KPUIXMI2.js} +2 -2
  296. package/__chunks__/{chunk-VZP45UJO.js → chunk-KXOZIR3A.js} +2 -2
  297. package/__chunks__/{chunk-FAED2F23.js → chunk-L73C6M5T.js} +2 -2
  298. package/__chunks__/{chunk-R5XRFA4H.js → chunk-L7S3TPVX.js} +2 -2
  299. package/__chunks__/chunk-LCDY24RA.js +2 -0
  300. package/__chunks__/{chunk-KYJ6XGBQ.js → chunk-LCQZICY3.js} +2 -2
  301. package/__chunks__/{chunk-RJ4ERKKX.js → chunk-LDBJIAVF.js} +2 -2
  302. package/__chunks__/{chunk-NTGQ67WH.js → chunk-LMMEFKIY.js} +2 -2
  303. package/__chunks__/{chunk-6MCXGHH5.js → chunk-LOXOWBR5.js} +2 -2
  304. package/__chunks__/chunk-LSQZ3XGZ.js +2 -0
  305. package/__chunks__/chunk-LY4TY33Z.js +2 -0
  306. package/__chunks__/{chunk-GPBYWYWR.js → chunk-MI7FWQXW.js} +2 -2
  307. package/__chunks__/{chunk-6ICEMIRY.js → chunk-MKHO2MGG.js} +2 -2
  308. package/__chunks__/{chunk-ADR5DHE6.js → chunk-MMRXZJXN.js} +2 -2
  309. package/__chunks__/{chunk-LHFN6H4D.js → chunk-MMTL564U.js} +2 -2
  310. package/__chunks__/{chunk-3BKDRZVS.js → chunk-MRMMNAAR.js} +2 -2
  311. package/__chunks__/{chunk-WQZI355W.js → chunk-MU3UG4Z6.js} +2 -2
  312. package/__chunks__/{chunk-3T4BBHN4.js → chunk-N4GDQCA5.js} +2 -2
  313. package/__chunks__/{chunk-C4EHNU42.js → chunk-N6XOPGZY.js} +2 -2
  314. package/__chunks__/{chunk-7IOVMGNB.js → chunk-N6YBWYGC.js} +2 -2
  315. package/__chunks__/{chunk-LFQSKE5Z.js → chunk-NAUHJHLS.js} +2 -2
  316. package/__chunks__/{chunk-PAODO4PW.js → chunk-NERC32MO.js} +2 -2
  317. package/__chunks__/{chunk-I6RLNFRM.js → chunk-NNMZ3IUQ.js} +2 -2
  318. package/__chunks__/{chunk-Z646TLWG.js → chunk-NOEFKPCA.js} +2 -2
  319. package/__chunks__/{chunk-OA3LNTX7.js → chunk-NOMRSCJH.js} +2 -2
  320. package/__chunks__/{chunk-XEJE5SM2.js → chunk-NSFVRFSK.js} +2 -2
  321. package/__chunks__/{chunk-GHAJP36R.js → chunk-NUHNBLHQ.js} +2 -2
  322. package/__chunks__/{chunk-4QMRNCSW.js → chunk-NWCQLHWJ.js} +2 -2
  323. package/__chunks__/{chunk-6LKC435L.js → chunk-O6T4FNQ7.js} +2 -2
  324. package/__chunks__/{chunk-NVBTZHEZ.js → chunk-OBKTSL44.js} +2 -2
  325. package/__chunks__/{chunk-2DOHXYLO.js → chunk-OPBWX3P6.js} +2 -2
  326. package/__chunks__/{chunk-NZCMDCSL.js → chunk-OQXJCRND.js} +2 -2
  327. package/__chunks__/{chunk-ZKNQLI45.js → chunk-OTXSZPC2.js} +2 -2
  328. package/__chunks__/{chunk-2TCV2V27.js → chunk-OVYTUIPF.js} +2 -2
  329. package/__chunks__/chunk-OZTPUXR5.js +2 -0
  330. package/__chunks__/{chunk-3XK4YMPZ.js → chunk-PCVLTKF2.js} +2 -2
  331. package/__chunks__/{chunk-E3C77CW6.js → chunk-PHLAPND5.js} +2 -2
  332. package/__chunks__/{chunk-SJRTDL36.js → chunk-PJXNFPK6.js} +2 -2
  333. package/__chunks__/chunk-PVX44JF2.js +2 -0
  334. package/__chunks__/{chunk-2PV5VAFR.js → chunk-Q5ZHB6AJ.js} +2 -2
  335. package/__chunks__/{chunk-HUJHGULK.js → chunk-QDFC3DEX.js} +2 -2
  336. package/__chunks__/{chunk-M42B43SL.js → chunk-QIMOMR35.js} +2 -2
  337. package/__chunks__/{chunk-7IICAJQP.js → chunk-QIWTS7BE.js} +2 -2
  338. package/__chunks__/{chunk-S7MC7GGU.js → chunk-QMT647VG.js} +2 -2
  339. package/__chunks__/chunk-QPYVFYAD.js +2 -0
  340. package/__chunks__/{chunk-KVGQRVLB.js → chunk-QTHKLGEF.js} +2 -2
  341. package/__chunks__/{chunk-IKNNPDGJ.js → chunk-QW3UIC4A.js} +2 -2
  342. package/__chunks__/{chunk-UOZ6KVPY.js → chunk-QZM2ABCE.js} +2 -2
  343. package/__chunks__/{chunk-Q3BM2D3H.js → chunk-R3V7K4KF.js} +2 -2
  344. package/__chunks__/{chunk-SKIDKYBV.js → chunk-R4ORKK6R.js} +2 -2
  345. package/__chunks__/chunk-R5OKEXDV.js +2 -0
  346. package/__chunks__/{chunk-JZK45TN2.js → chunk-RC5XXUL3.js} +2 -2
  347. package/__chunks__/{chunk-LGTDA76W.js → chunk-RMISIO4V.js} +2 -2
  348. package/__chunks__/{chunk-GOVUXJXV.js → chunk-RRVREJW4.js} +2 -2
  349. package/__chunks__/chunk-RWHXZHL7.js +2 -0
  350. package/__chunks__/{chunk-N26XPT42.js → chunk-S6RZJX63.js} +2 -2
  351. package/__chunks__/{chunk-D2A6MLO5.js → chunk-S6YS7KTI.js} +2 -2
  352. package/__chunks__/chunk-SBSEX5UL.js +2 -0
  353. package/__chunks__/{chunk-PR5TUV5B.js → chunk-SCYR4FC2.js} +2 -2
  354. package/__chunks__/{chunk-ZM7DIGVE.js → chunk-SKQGES6Y.js} +2 -2
  355. package/__chunks__/{chunk-4ZPTVFD4.js → chunk-SLJZL2HK.js} +2 -2
  356. package/__chunks__/{chunk-6GIB7XPM.js → chunk-SPKBMWKW.js} +2 -2
  357. package/__chunks__/{chunk-NVIYAYF3.js → chunk-T2LRDANU.js} +2 -2
  358. package/__chunks__/{chunk-SJBKJ3I7.js → chunk-T2RVKXSY.js} +2 -2
  359. package/__chunks__/{chunk-QLT43ESF.js → chunk-T7ZJNR7I.js} +2 -2
  360. package/__chunks__/{chunk-FOOIDEQY.js → chunk-TAZUF6XN.js} +2 -2
  361. package/__chunks__/{chunk-YRZCKDN3.js → chunk-TH7MCVOU.js} +2 -2
  362. package/__chunks__/{chunk-2N3GINHZ.js → chunk-TI5TSEJK.js} +2 -2
  363. package/__chunks__/{chunk-ZMYWUH7V.js → chunk-U3MPHTJB.js} +2 -2
  364. package/__chunks__/chunk-U5VWFE4A.js +2 -0
  365. package/__chunks__/{chunk-Z3HAPIQM.js → chunk-UCC5EDKC.js} +2 -2
  366. package/__chunks__/{chunk-22T2FCCV.js → chunk-UX47CRDI.js} +2 -2
  367. package/__chunks__/{chunk-QUGFN6JM.js → chunk-V5ALS2ZO.js} +2 -2
  368. package/__chunks__/{chunk-IAXBBYHZ.js → chunk-VGYAWKFN.js} +2 -2
  369. package/__chunks__/{chunk-HO4PPF6H.js → chunk-VJV5P4QZ.js} +2 -2
  370. package/__chunks__/{chunk-T75LEZOX.js → chunk-VJWPVSGV.js} +2 -2
  371. package/__chunks__/chunk-VNGKH6BT.js +2 -0
  372. package/__chunks__/{chunk-I6TZ7D5F.js → chunk-VQP3RZSN.js} +2 -2
  373. package/__chunks__/{chunk-3ECCIDMY.js → chunk-VRXBSDAZ.js} +2 -2
  374. package/__chunks__/{chunk-K7QVTU6G.js → chunk-VXUQOQH5.js} +2 -2
  375. package/__chunks__/{chunk-3DYVQNEA.js → chunk-W53PB4OD.js} +2 -2
  376. package/__chunks__/chunk-WEA4DWBG.js +2 -0
  377. package/__chunks__/{chunk-VQKAC5RF.js → chunk-WHYRSFF3.js} +2 -2
  378. package/__chunks__/chunk-WKHTG3RF.js +2 -0
  379. package/__chunks__/{chunk-ST4AODAO.js → chunk-WLEEOQCW.js} +2 -2
  380. package/__chunks__/{chunk-MXR66C5L.js → chunk-WM2YYO4Q.js} +2 -2
  381. package/__chunks__/{chunk-W2FKJ7OL.js → chunk-WW77BN4C.js} +2 -2
  382. package/__chunks__/{chunk-5DTAADP5.js → chunk-X35MAP4D.js} +2 -2
  383. package/__chunks__/{chunk-32ZZ5NAZ.js → chunk-X5OYJPY5.js} +2 -2
  384. package/__chunks__/{chunk-TZIM423C.js → chunk-XK45GTXU.js} +2 -2
  385. package/__chunks__/chunk-XKE3DOCW.js +2 -0
  386. package/__chunks__/{chunk-2REEJUQS.js → chunk-XNP2DQWS.js} +2 -2
  387. package/__chunks__/{chunk-XJEKGX4Y.js → chunk-XQ2JSGE5.js} +2 -2
  388. package/__chunks__/{chunk-UMDDG7G3.js → chunk-XQKVNX63.js} +2 -2
  389. package/__chunks__/chunk-XVNEOFCE.js +2 -0
  390. package/__chunks__/{chunk-W26NNPMI.js → chunk-YDZ6GJEK.js} +2 -2
  391. package/__chunks__/{chunk-IZ7A4EL6.js → chunk-YOHYVEBJ.js} +2 -2
  392. package/__chunks__/{chunk-XC6KSYHG.js → chunk-Z2OABX4K.js} +2 -2
  393. package/__chunks__/{chunk-NFKUS7KG.js → chunk-Z7O4NSZ7.js} +2 -2
  394. package/__chunks__/{chunk-PWULVZQ7.js → chunk-ZO4QMYOG.js} +2 -2
  395. package/__chunks__/chunk-ZONRTCUB.js +2 -0
  396. package/__chunks__/{chunk-SVLG2RPV.js → chunk-ZXFXP7I4.js} +2 -2
  397. package/__chunks__/{chunk-UBODCMMS.js → chunk-ZZQOQQLY.js} +2 -2
  398. package/__commonjs/UI/DappModal/hooks/index.js +2 -2
  399. package/__commonjs/UI/DappModal/hooks/useDappModal.js +2 -2
  400. package/__commonjs/UI/DappModal/index.js +2 -2
  401. package/__commonjs/UI/NotificationModal/NotificationModal.js +3 -3
  402. package/__commonjs/UI/NotificationModal/index.js +3 -3
  403. package/__commonjs/UI/SignTransactionsModals/SignTransactionsModals.js +1 -1
  404. package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/SignWithDeviceModal.js +2 -2
  405. package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/index.js +2 -2
  406. package/__commonjs/UI/SignTransactionsModals/SignWithLedgerModal/SignWithLedgerModal.js +1 -1
  407. package/__commonjs/UI/SignTransactionsModals/SignWithLedgerModal/index.js +1 -1
  408. package/__commonjs/UI/SignTransactionsModals/components/TransactionStatusToast.js +3 -3
  409. package/__commonjs/UI/SignTransactionsModals/index.js +1 -1
  410. package/__commonjs/UI/TransactionInfo/components/NonceMessage/NonceMessage.js +3 -3
  411. package/__commonjs/UI/TransactionInfo/components/NonceMessage/index.js +3 -3
  412. package/__commonjs/UI/TransactionInfo/components/ScResultsList/components/ResultReceiver/ResultReceiver.js +1 -1
  413. package/__commonjs/UI/TransactionInfo/components/ScResultsList/components/ResultSender/ResultSender.js +1 -1
  414. package/__commonjs/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/TransactionActionCollection.js +2 -2
  415. package/__commonjs/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/TransactionActionToken.js +2 -2
  416. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFee/TransactionInfoFee.js +3 -3
  417. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFee/index.js +3 -3
  418. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMiniblock/TransactionInfoMiniblock.js +6 -6
  419. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMiniblock/index.js +6 -6
  420. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoNonce/TransactionInfoNonce.js +3 -3
  421. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoNonce/index.js +3 -3
  422. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoValue/TransactionInfoValue.js +3 -3
  423. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoValue/index.js +3 -3
  424. package/__commonjs/UI/TransactionsTable/components/TransactionReceiver.js +6 -6
  425. package/__commonjs/UI/TransactionsTable/components/TransactionSender.js +6 -6
  426. package/__commonjs/UI/TransactionsToastList/components/CustomToast/CustomToast.js +1 -1
  427. package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/ComponentToastFooter.js +1 -1
  428. package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/index.js +1 -1
  429. package/__commonjs/UI/TransactionsToastList/components/CustomToast/index.js +1 -1
  430. package/__commonjs/UI/extension/ExtensionLoginButton/ExtensionLoginButton.js +1 -1
  431. package/__commonjs/UI/extension/ExtensionLoginButton/index.js +1 -1
  432. package/__commonjs/UI/index.js +2 -2
  433. package/__commonjs/UI/ledger/LedgerLoginButton/LedgerLoginButton.js +1 -1
  434. package/__commonjs/UI/ledger/LedgerLoginButton/index.js +1 -1
  435. package/__commonjs/UI/ledger/LedgerLoginContainer/AddressRow/AddressRow.js +4 -4
  436. package/__commonjs/UI/ledger/LedgerLoginContainer/AddressRow/index.js +4 -4
  437. package/__commonjs/UI/ledger/LedgerLoginContainer/LedgerLoginContainer.js +1 -1
  438. package/__commonjs/UI/ledger/LedgerLoginContainer/LedgerLoginContent/LedgerLoginContent.js +1 -1
  439. package/__commonjs/UI/ledger/LedgerLoginContainer/LedgerLoginContent/index.js +1 -1
  440. package/__commonjs/UI/ledger/LedgerLoginContainer/index.js +1 -1
  441. package/__commonjs/UI/ledger/index.js +2 -2
  442. package/__commonjs/UI/operaWallet/OperaWalletLoginButton/OperaWalletLoginButton.js +1 -1
  443. package/__commonjs/UI/operaWallet/OperaWalletLoginButton/index.js +1 -1
  444. package/__commonjs/UI/pages/UnlockPage/index.js +2 -2
  445. package/__commonjs/UI/pages/index.js +2 -2
  446. package/__commonjs/UI/walletConnect/WalletConnectLoginButton/WalletConnectLoginButton.js +1 -1
  447. package/__commonjs/UI/walletConnect/WalletConnectLoginButton/index.js +1 -1
  448. package/__commonjs/UI/walletConnect/WalletConnectLoginContainer/WalletConnectLoginContainer.js +1 -1
  449. package/__commonjs/UI/walletConnect/WalletConnectLoginContainer/WalletConnectLoginContent/WalletConnectLoginContent.js +2 -2
  450. package/__commonjs/UI/walletConnect/WalletConnectLoginContainer/WalletConnectLoginContent/index.js +2 -2
  451. package/__commonjs/UI/walletConnect/WalletConnectLoginContainer/index.js +1 -1
  452. package/__commonjs/UI/walletConnect/index.js +1 -1
  453. package/__commonjs/__mocks__/index.js +2 -2
  454. package/__commonjs/__mocks__/utils/index.js +2 -2
  455. package/__commonjs/__mocks__/utils/renderWithProvider.js +2 -2
  456. package/__commonjs/apiCalls/utils/getCleanApiAddress.js +1 -1
  457. package/__commonjs/apiCalls/utils/index.js +1 -1
  458. package/__commonjs/components/BatchTransactionsSender/BatchTransactionsSender.js +1 -1
  459. package/__commonjs/components/BatchTransactionsSender/index.js +1 -1
  460. package/__commonjs/components/LogoutListener/LogoutListener.js +1 -1
  461. package/__commonjs/components/LogoutListener/helpers/index.js +1 -1
  462. package/__commonjs/components/LogoutListener/helpers/useLogoutFromMultipleTabs.js +1 -1
  463. package/__commonjs/components/LogoutListener/helpers/useNativeAuthLogout.js +1 -1
  464. package/__commonjs/components/LogoutListener/index.js +1 -1
  465. package/__commonjs/components/ProviderInitializer/ProviderInitializer.js +1 -1
  466. package/__commonjs/components/ProviderInitializer/hooks/index.js +1 -1
  467. package/__commonjs/components/ProviderInitializer/hooks/useSetLedgerProvider.js +1 -1
  468. package/__commonjs/components/ProviderInitializer/index.js +1 -1
  469. package/__commonjs/components/TransactionSender/TransactionSender.js +1 -1
  470. package/__commonjs/components/TransactionSender/index.js +1 -1
  471. package/__commonjs/hooks/account/index.js +1 -1
  472. package/__commonjs/hooks/account/useGetWebsocketEvent.js +1 -1
  473. package/__commonjs/hooks/index.js +3 -3
  474. package/__commonjs/hooks/login/index.js +3 -3
  475. package/__commonjs/hooks/login/useExtensionLogin.js +1 -1
  476. package/__commonjs/hooks/login/useGetModalLoginMethods.js +2 -2
  477. package/__commonjs/hooks/login/useLedgerLogin.js +1 -1
  478. package/__commonjs/hooks/login/useOperaLogin.js +1 -1
  479. package/__commonjs/hooks/login/useWalletConnectV2Login.js +1 -1
  480. package/__commonjs/hooks/transactions/batch/useGetBatchStatus.js +1 -1
  481. package/__commonjs/hooks/transactions/batch/useResolveBatchStatusResponse.js +1 -1
  482. package/__commonjs/hooks/transactions/helpers/index.js +1 -1
  483. package/__commonjs/hooks/transactions/helpers/useGetLedgerProvider.js +1 -1
  484. package/__commonjs/hooks/transactions/index.js +1 -1
  485. package/__commonjs/hooks/transactions/useGetFailedTransactions.js +1 -1
  486. package/__commonjs/hooks/transactions/useGetPendingTransactions.js +1 -1
  487. package/__commonjs/hooks/transactions/useGetSignedTransactions.js +1 -1
  488. package/__commonjs/hooks/transactions/useGetSuccessfulTransactions.js +1 -1
  489. package/__commonjs/hooks/transactions/useSignTransactionsWithDevice.js +1 -1
  490. package/__commonjs/hooks/transactions/useSignTransactionsWithLedger.js +1 -1
  491. package/__commonjs/hooks/transactions/useTrackTransactionStatus.js +1 -1
  492. package/__commonjs/reduxStore/persistedRootReducer.d.ts +1 -1
  493. package/__commonjs/reduxStore/slices/networkConfigSlice.js +1 -1
  494. package/__commonjs/services/nativeAuth/helpers/getAuthorizationInfo.js +1 -1
  495. package/__commonjs/utils/account/refreshAccount.js +1 -1
  496. package/__commonjs/utils/index.js +2 -2
  497. package/__commonjs/utils/internal/index.js +1 -1
  498. package/__commonjs/utils/internal/optionalRedirect.js +1 -1
  499. package/__commonjs/utils/logout.js +1 -1
  500. package/__commonjs/utils/redirect.d.ts +5 -1
  501. package/__commonjs/utils/redirect.js +1 -1
  502. package/__commonjs/web/hooks/index.js +1 -1
  503. package/__commonjs/web/hooks/useIdleTimer.js +1 -1
  504. package/__commonjs/web/index.js +1 -1
  505. package/__commonjs/wrappers/AppInitializer.js +1 -1
  506. package/__commonjs/wrappers/AuthenticatedRoutesWrapper/AuthenticatedRoutesWrapper.js +1 -1
  507. package/__commonjs/wrappers/AuthenticatedRoutesWrapper/index.js +1 -1
  508. package/__commonjs/wrappers/DappProvider/CustomComponents.js +3 -3
  509. package/__commonjs/wrappers/DappProvider/DappProvider.js +2 -2
  510. package/__commonjs/wrappers/DappProvider/index.js +2 -2
  511. package/__commonjs/wrappers/index.js +2 -2
  512. package/__mocks__/index.js +1 -1
  513. package/__mocks__/utils/index.js +1 -1
  514. package/__mocks__/utils/renderWithProvider.js +1 -1
  515. package/apiCalls/accounts/getAccountFromApi.js +1 -1
  516. package/apiCalls/accounts/index.js +1 -1
  517. package/apiCalls/configuration/getNetworkConfig.js +1 -1
  518. package/apiCalls/configuration/index.js +1 -1
  519. package/apiCalls/economics/getEconomicsInfo.js +1 -1
  520. package/apiCalls/economics/index.js +1 -1
  521. package/apiCalls/getScamAddressData.js +1 -1
  522. package/apiCalls/index.js +1 -1
  523. package/apiCalls/transactions/getTransactionsByHashes.js +1 -1
  524. package/apiCalls/transactions/index.js +1 -1
  525. package/apiCalls/transactions/sendSignedTransactions.js +1 -1
  526. package/apiCalls/utils/getCleanApiAddress.js +1 -1
  527. package/apiCalls/utils/index.js +1 -1
  528. package/components/BatchTransactionsSender/BatchTransactionsSender.js +1 -1
  529. package/components/BatchTransactionsSender/index.js +1 -1
  530. package/components/BatchTransactionsTracker/BatchTransactionsTracker.js +1 -1
  531. package/components/LogoutListener/LogoutListener.js +1 -1
  532. package/components/LogoutListener/helpers/index.js +1 -1
  533. package/components/LogoutListener/helpers/useLogoutFromMultipleTabs.js +1 -1
  534. package/components/LogoutListener/helpers/useNativeAuthLogout.js +1 -1
  535. package/components/LogoutListener/helpers/useNativeAuthLogoutWarning/index.js +1 -1
  536. package/components/LogoutListener/helpers/useNativeAuthLogoutWarning/useNativeAuthLogoutWarning.js +1 -1
  537. package/components/LogoutListener/index.js +1 -1
  538. package/components/ProviderInitializer/ProviderInitializer.js +1 -1
  539. package/components/ProviderInitializer/hooks/index.js +1 -1
  540. package/components/ProviderInitializer/hooks/useSetLedgerProvider.js +1 -1
  541. package/components/ProviderInitializer/index.js +1 -1
  542. package/components/TransactionSender/TransactionSender.js +1 -1
  543. package/components/TransactionSender/index.js +1 -1
  544. package/components/TransactionsTracker/TransactionTracker.js +1 -1
  545. package/components/TransactionsTracker/index.js +1 -1
  546. package/components/TransactionsTracker/useTransactionsTracker.js +1 -1
  547. package/hooks/account/index.js +1 -1
  548. package/hooks/account/useGetAccount.js +1 -1
  549. package/hooks/account/useGetAccountFromApi.js +1 -1
  550. package/hooks/account/useGetAccountInfo.js +1 -1
  551. package/hooks/account/useGetIsLoggedIn.js +1 -1
  552. package/hooks/account/useGetLoginInfo.js +1 -1
  553. package/hooks/account/useGetWebsocketEvent.js +1 -1
  554. package/hooks/economics/index.js +1 -1
  555. package/hooks/economics/useGetEgldPrice.js +1 -1
  556. package/hooks/index.js +1 -1
  557. package/hooks/login/index.js +1 -1
  558. package/hooks/login/useExtensionLogin.js +1 -1
  559. package/hooks/login/useGetModalLoginMethods.js +1 -1
  560. package/hooks/login/useLedgerLogin.js +1 -1
  561. package/hooks/login/useLoginService.js +1 -1
  562. package/hooks/login/useOperaLogin.js +1 -1
  563. package/hooks/login/useWalletConnectV2Login.js +1 -1
  564. package/hooks/login/useWebViewLogin.js +1 -1
  565. package/hooks/login/useWebWalletLogin.js +1 -1
  566. package/hooks/signMessage/index.js +1 -1
  567. package/hooks/signMessage/useGetLastSignedMessageSession.js +1 -1
  568. package/hooks/signMessage/useGetSignMessageSession.js +1 -1
  569. package/hooks/signMessage/useGetSignedMessageStatus.js +1 -1
  570. package/hooks/signMessage/useSignMessage.js +1 -1
  571. package/hooks/toasts/index.js +1 -1
  572. package/hooks/toasts/useGetToasts.js +1 -1
  573. package/hooks/toasts/useTransactionsToasts.js +1 -1
  574. package/hooks/transactions/batch/tracker/useBatchTransactionsTracker.js +1 -1
  575. package/hooks/transactions/batch/tracker/useCheckBatch.js +1 -1
  576. package/hooks/transactions/batch/tracker/useCheckBatchesOnWsFailureFallback.js +1 -1
  577. package/hooks/transactions/batch/tracker/useCheckHangingBatchesFallback.js +1 -1
  578. package/hooks/transactions/batch/tracker/useUpdateBatch.js +1 -1
  579. package/hooks/transactions/batch/tracker/useVerifyBatchStatus.js +1 -1
  580. package/hooks/transactions/batch/useGetBatchStatus.js +1 -1
  581. package/hooks/transactions/batch/useGetBatches.js +1 -1
  582. package/hooks/transactions/batch/useResolveBatchStatusResponse.js +1 -1
  583. package/hooks/transactions/batch/useSendBatchTransactions.js +1 -1
  584. package/hooks/transactions/helpers/checkNeedsGuardianSigning.js +1 -1
  585. package/hooks/transactions/helpers/getShouldMoveTransactionsToSignedState.js +1 -1
  586. package/hooks/transactions/helpers/index.js +1 -1
  587. package/hooks/transactions/helpers/useClearTransactionsToSignWithWarning.js +1 -1
  588. package/hooks/transactions/helpers/useGetLedgerProvider.js +1 -1
  589. package/hooks/transactions/helpers/useSetTransactionNonces.js +1 -1
  590. package/hooks/transactions/index.js +1 -1
  591. package/hooks/transactions/useCheckTransactionStatus/checkBatch.js +1 -1
  592. package/hooks/transactions/useCheckTransactionStatus/index.js +1 -1
  593. package/hooks/transactions/useCheckTransactionStatus/manageFailedTransactions.js +1 -1
  594. package/hooks/transactions/useCheckTransactionStatus/manageTimedOutTransactions.js +1 -1
  595. package/hooks/transactions/useCheckTransactionStatus/useCheckTransactionStatus.js +1 -1
  596. package/hooks/transactions/useGetActiveTransactionsStatus.js +1 -1
  597. package/hooks/transactions/useGetFailedTransactions.js +1 -1
  598. package/hooks/transactions/useGetLastPendingTransactionHash.js +1 -1
  599. package/hooks/transactions/useGetPendingTransactions.js +1 -1
  600. package/hooks/transactions/useGetSignTransactionsError.js +1 -1
  601. package/hooks/transactions/useGetSignedTransactions.js +1 -1
  602. package/hooks/transactions/useGetSuccessfulTransactions.js +1 -1
  603. package/hooks/transactions/useGetTokenDetails.js +1 -1
  604. package/hooks/transactions/useGetTransactionDisplayInfo.js +1 -1
  605. package/hooks/transactions/useParseSignedTransactions.js +1 -1
  606. package/hooks/transactions/useSignMultipleTransactions.js +1 -1
  607. package/hooks/transactions/useSignTransactions.js +1 -1
  608. package/hooks/transactions/useSignTransactionsCommonData.js +1 -1
  609. package/hooks/transactions/useSignTransactionsWithDevice.js +1 -1
  610. package/hooks/transactions/useSignTransactionsWithLedger.js +1 -1
  611. package/hooks/transactions/useTrackTransactionStatus.js +1 -1
  612. package/hooks/useGetNetworkConfig.js +1 -1
  613. package/hooks/useGetNotification.js +1 -1
  614. package/hooks/userInterface/index.js +1 -1
  615. package/hooks/userInterface/useIsDappModalVisible.js +1 -1
  616. package/hooks/websocketListener/index.js +1 -1
  617. package/hooks/websocketListener/useInitializeWebsocketConnection.js +1 -1
  618. package/hooks/websocketListener/useRegisterWebsocketListener.js +1 -1
  619. package/package.json +1 -1
  620. package/providers/webviewProvider/index.js +1 -1
  621. package/providers/webviewProvider/requestMethods.js +1 -1
  622. package/providers/webviewProvider/webviewProvider.js +1 -1
  623. package/reduxStore/DappProviderContext.js +1 -1
  624. package/reduxStore/middlewares/loginSessionMiddleware.js +1 -1
  625. package/reduxStore/persistConfig.js +1 -1
  626. package/reduxStore/persistedRootReducer.d.ts +1 -1
  627. package/reduxStore/persistedRootReducer.js +1 -1
  628. package/reduxStore/reducers.js +1 -1
  629. package/reduxStore/rootReducer.js +1 -1
  630. package/reduxStore/selectors/accountInfoSelectors.js +1 -1
  631. package/reduxStore/selectors/index.js +1 -1
  632. package/reduxStore/selectors/loginInfoSelectors.js +1 -1
  633. package/reduxStore/selectors/transactionsInfoSelectors.js +1 -1
  634. package/reduxStore/selectors/transactionsSelectors.js +1 -1
  635. package/reduxStore/slices/index.js +1 -1
  636. package/reduxStore/slices/networkConfigSlice.js +1 -1
  637. package/reduxStore/store.js +1 -1
  638. package/services/index.js +1 -1
  639. package/services/nativeAuth/helpers/getAuthorizationInfo.js +1 -1
  640. package/services/nativeAuth/helpers/getIsNativeAuthSingingForbidden.js +1 -1
  641. package/services/nativeAuth/helpers/index.js +1 -1
  642. package/services/nativeAuth/helpers/loginWithNativeAuthToken.js +1 -1
  643. package/services/transactions/clearTransactions.js +1 -1
  644. package/services/transactions/getBatchTransactionsStatus.js +1 -1
  645. package/services/transactions/getTransactionsDetails.js +1 -1
  646. package/services/transactions/index.js +1 -1
  647. package/services/transactions/sendBatchTransactions.js +1 -1
  648. package/services/transactions/sendTransactions.js +1 -1
  649. package/services/transactions/signTransactions.js +1 -1
  650. package/services/transactions/transformAndSignTransactions.js +1 -1
  651. package/services/transactions/updateSignedTransactions.js +1 -1
  652. package/utils/account/getAccount.js +1 -1
  653. package/utils/account/getAccountBalance.js +1 -1
  654. package/utils/account/getAccountShard.js +1 -1
  655. package/utils/account/getAddress.js +1 -1
  656. package/utils/account/getLatestNonce.js +1 -1
  657. package/utils/account/index.js +1 -1
  658. package/utils/account/loginWithExternalProvider.js +1 -1
  659. package/utils/account/refreshAccount.js +1 -1
  660. package/utils/account/setNonce.js +1 -1
  661. package/utils/account/signMessage.js +1 -1
  662. package/utils/getIsLoggedIn.js +1 -1
  663. package/utils/index.js +1 -1
  664. package/utils/internal/index.js +1 -1
  665. package/utils/internal/optionalRedirect.js +1 -1
  666. package/utils/logout.js +1 -1
  667. package/utils/network/getChainID.js +1 -1
  668. package/utils/network/getEgldLabel.js +1 -1
  669. package/utils/network/getNetworkConfig.js +1 -1
  670. package/utils/network/index.js +1 -1
  671. package/utils/redirect.d.ts +5 -1
  672. package/utils/redirect.js +1 -1
  673. package/utils/toasts/customToastsActions.js +1 -1
  674. package/utils/toasts/index.js +1 -1
  675. package/utils/transactions/batch/updateBatchTransactionsStatuses.js +1 -1
  676. package/utils/transactions/getAllTransactionsLink.js +1 -1
  677. package/utils/transactions/getTransactionLink.js +1 -1
  678. package/utils/transactions/index.js +1 -1
  679. package/web/hooks/index.js +1 -1
  680. package/web/hooks/useIdleTimer.js +1 -1
  681. package/web/index.js +1 -1
  682. package/wrappers/AppInitializer.js +1 -1
  683. package/wrappers/AuthenticatedRoutesWrapper/AuthenticatedRoutesWrapper.js +1 -1
  684. package/wrappers/AuthenticatedRoutesWrapper/index.js +1 -1
  685. package/wrappers/AxiosInterceptorContext/AxiosInterceptorContext.js +1 -1
  686. package/wrappers/AxiosInterceptorContext/components/AxiosInterceptor.js +1 -1
  687. package/wrappers/AxiosInterceptorContext/components/AxiosInterceptorContextProvider.js +1 -1
  688. package/wrappers/AxiosInterceptorContext/components/LoginInfoListener.js +1 -1
  689. package/wrappers/AxiosInterceptorContext/components/index.js +1 -1
  690. package/wrappers/AxiosInterceptorContext/index.js +1 -1
  691. package/wrappers/DappProvider/CustomComponents.js +1 -1
  692. package/wrappers/DappProvider/DappProvider.js +1 -1
  693. package/wrappers/DappProvider/index.js +1 -1
  694. package/wrappers/index.js +1 -1
  695. package/__chunks__/chunk-3XIWCEUJ.js +0 -2
  696. package/__chunks__/chunk-42DJQFQR.js +0 -2
  697. package/__chunks__/chunk-6DYJ7AV5.js +0 -2
  698. package/__chunks__/chunk-6PHK63HZ.js +0 -2
  699. package/__chunks__/chunk-7Q6NSANG.js +0 -2
  700. package/__chunks__/chunk-B5RQKWYU.js +0 -2
  701. package/__chunks__/chunk-BGQUHP2E.js +0 -2
  702. package/__chunks__/chunk-BMEVSK5J.js +0 -2
  703. package/__chunks__/chunk-C3UIMP7Y.js +0 -2
  704. package/__chunks__/chunk-DDC4JTYR.js +0 -2
  705. package/__chunks__/chunk-DXDRYWHX.js +0 -2
  706. package/__chunks__/chunk-FFHPZ73S.js +0 -2
  707. package/__chunks__/chunk-FNEEG6ZY.js +0 -2
  708. package/__chunks__/chunk-GXKO42WX.js +0 -2
  709. package/__chunks__/chunk-H2W5JMHC.js +0 -2
  710. package/__chunks__/chunk-HXWLNVTZ.js +0 -2
  711. package/__chunks__/chunk-L7CWRVHM.js +0 -2
  712. package/__chunks__/chunk-LEFQYMUW.js +0 -2
  713. package/__chunks__/chunk-LOHZMMD3.js +0 -2
  714. package/__chunks__/chunk-NCNZ7R2V.js +0 -2
  715. package/__chunks__/chunk-O2EQQHR7.js +0 -2
  716. package/__chunks__/chunk-OBUPBWMK.js +0 -2
  717. package/__chunks__/chunk-OFS7K4FS.js +0 -2
  718. package/__chunks__/chunk-RC3ETEKD.js +0 -2
  719. package/__chunks__/chunk-RWHYWYMX.js +0 -2
  720. package/__chunks__/chunk-UYFXC4HA.js +0 -2
  721. package/__chunks__/chunk-W4MIP4TL.js +0 -2
  722. package/__chunks__/chunk-ZFOCAVEB.js +0 -2
  723. package/__chunks__/chunk-ZSLVCRAP.js +0 -2
@@ -1,4 +1,4 @@
1
- "use strict";var Cr=Object.create;var k=Object.defineProperty;var Lr=Object.getOwnPropertyDescriptor;var Sr=Object.getOwnPropertyNames;var Nr=Object.getPrototypeOf,Mr=Object.prototype.hasOwnProperty;var Dr=(t,r)=>()=>(t&&(r=t(t=0)),r);var b=(t,r)=>()=>(r||t((r={exports:{}}).exports,r),r.exports),Or=(t,r)=>{for(var e in r)k(t,e,{get:r[e],enumerable:!0})},er=(t,r,e,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let i of Sr(r))!Mr.call(t,i)&&i!==e&&k(t,i,{get:()=>r[i],enumerable:!(n=Lr(r,i))||n.enumerable});return t};var tr=(t,r,e)=>(e=t!=null?Cr(Nr(t)):{},er(r||!t||!t.__esModule?k(e,"default",{value:t,enumerable:!0}):e,t)),kr=t=>er(k({},"__esModule",{value:!0}),t);var or=b(W=>{"use strict";l();W.byteLength=Wr;W.toByteArray=Vr;W.fromByteArray=qr;var T=[],m=[],br=typeof Uint8Array!="undefined"?Uint8Array:Array,Y="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(C=0,nr=Y.length;C<nr;++C)T[C]=Y[C],m[Y.charCodeAt(C)]=C;var C,nr;m["-".charCodeAt(0)]=62;m["_".charCodeAt(0)]=63;function ir(t){var r=t.length;if(r%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var e=t.indexOf("=");e===-1&&(e=r);var n=e===r?0:4-e%4;return[e,n]}function Wr(t){var r=ir(t),e=r[0],n=r[1];return(e+n)*3/4-n}function Gr(t,r,e){return(r+e)*3/4-e}function Vr(t){var r,e=ir(t),n=e[0],i=e[1],o=new br(Gr(t,n,i)),u=0,h=i>0?n-4:n,f;for(f=0;f<h;f+=4)r=m[t.charCodeAt(f)]<<18|m[t.charCodeAt(f+1)]<<12|m[t.charCodeAt(f+2)]<<6|m[t.charCodeAt(f+3)],o[u++]=r>>16&255,o[u++]=r>>8&255,o[u++]=r&255;return i===2&&(r=m[t.charCodeAt(f)]<<2|m[t.charCodeAt(f+1)]>>4,o[u++]=r&255),i===1&&(r=m[t.charCodeAt(f)]<<10|m[t.charCodeAt(f+1)]<<4|m[t.charCodeAt(f+2)]>>2,o[u++]=r>>8&255,o[u++]=r&255),o}function Xr(t){return T[t>>18&63]+T[t>>12&63]+T[t>>6&63]+T[t&63]}function Yr(t,r,e){for(var n,i=[],o=r;o<e;o+=3)n=(t[o]<<16&16711680)+(t[o+1]<<8&65280)+(t[o+2]&255),i.push(Xr(n));return i.join("")}function qr(t){for(var r,e=t.length,n=e%3,i=[],o=16383,u=0,h=e-n;u<h;u+=o)i.push(Yr(t,u,u+o>h?h:u+o));return n===1?(r=t[e-1],i.push(T[r>>2]+T[r<<4&63]+"==")):n===2&&(r=(t[e-2]<<8)+t[e-1],i.push(T[r>>10]+T[r>>4&63]+T[r<<2&63]+"=")),i.join("")}});var ur=b(q=>{l();q.read=function(t,r,e,n,i){var o,u,h=i*8-n-1,f=(1<<h)-1,c=f>>1,s=-7,p=e?i-1:0,A=e?-1:1,E=t[r+p];for(p+=A,o=E&(1<<-s)-1,E>>=-s,s+=h;s>0;o=o*256+t[r+p],p+=A,s-=8);for(u=o&(1<<-s)-1,o>>=-s,s+=n;s>0;u=u*256+t[r+p],p+=A,s-=8);if(o===0)o=1-c;else{if(o===f)return u?NaN:(E?-1:1)*(1/0);u=u+Math.pow(2,n),o=o-c}return(E?-1:1)*u*Math.pow(2,o-n)};q.write=function(t,r,e,n,i,o){var u,h,f,c=o*8-i-1,s=(1<<c)-1,p=s>>1,A=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,E=n?0:o-1,N=n?1:-1,_r=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+=A/f:r+=A*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,i),u=u+p):(h=r*Math.pow(2,p-1)*Math.pow(2,i),u=0));i>=8;t[e+E]=h&255,E+=N,h/=256,i-=8);for(u=u<<i|h,c+=i;c>0;t[e+E]=u&255,E+=N,u/=256,c-=8);t[e+E-N]|=_r*128}});var gr=b(D=>{"use strict";l();var P=or(),M=ur(),ar=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;D.Buffer=a;D.SlowBuffer=Qr;D.INSPECT_MAX_BYTES=50;var G=2147483647;D.kMaxLength=G;a.TYPED_ARRAY_SUPPORT=Pr();!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 Pr(){try{var t=new Uint8Array(1),r={foo:function(){return 42}};return Object.setPrototypeOf(r,Uint8Array.prototype),Object.setPrototypeOf(t,r),t.foo()===42}catch(e){return!1}}Object.defineProperty(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 R(t){if(t>G)throw new RangeError('The value "'+t+'" is invalid for option "size"');var r=new Uint8Array(t);return Object.setPrototypeOf(r,a.prototype),r}function a(t,r,e){if(typeof t=="number"){if(typeof r=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return K(t)}return pr(t,r,e)}a.poolSize=8192;function pr(t,r,e){if(typeof t=="string")return zr(t,r);if(ArrayBuffer.isView(t))return Jr(t);if(t==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(v(t,ArrayBuffer)||t&&v(t.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(v(t,SharedArrayBuffer)||t&&v(t.buffer,SharedArrayBuffer)))return z(t,r,e);if(typeof t=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var n=t.valueOf&&t.valueOf();if(n!=null&&n!==t)return a.from(n,r,e);var i=Kr(t);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof t[Symbol.toPrimitive]=="function")return a.from(t[Symbol.toPrimitive]("string"),r,e);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}a.from=function(t,r,e){return pr(t,r,e)};Object.setPrototypeOf(a.prototype,Uint8Array.prototype);Object.setPrototypeOf(a,Uint8Array);function cr(t){if(typeof t!="number")throw new TypeError('"size" argument must be of type number');if(t<0)throw new RangeError('The value "'+t+'" is invalid for option "size"')}function Hr(t,r,e){return cr(t),t<=0?R(t):r!==void 0?typeof e=="string"?R(t).fill(r,e):R(t).fill(r):R(t)}a.alloc=function(t,r,e){return Hr(t,r,e)};function K(t){return cr(t),R(t<0?0:Q(t)|0)}a.allocUnsafe=function(t){return K(t)};a.allocUnsafeSlow=function(t){return K(t)};function zr(t,r){if((typeof r!="string"||r==="")&&(r="utf8"),!a.isEncoding(r))throw new TypeError("Unknown encoding: "+r);var e=sr(t,r)|0,n=R(e),i=n.write(t,r);return i!==e&&(n=n.slice(0,i)),n}function H(t){for(var r=t.length<0?0:Q(t.length)|0,e=R(r),n=0;n<r;n+=1)e[n]=t[n]&255;return e}function Jr(t){if(v(t,Uint8Array)){var r=new Uint8Array(t);return z(r.buffer,r.byteOffset,r.byteLength)}return H(t)}function z(t,r,e){if(r<0||t.byteLength<r)throw new RangeError('"offset" is outside of buffer bounds');if(t.byteLength<r+(e||0))throw new RangeError('"length" is outside of buffer bounds');var n;return r===void 0&&e===void 0?n=new Uint8Array(t):e===void 0?n=new Uint8Array(t,r):n=new Uint8Array(t,r,e),Object.setPrototypeOf(n,a.prototype),n}function Kr(t){if(a.isBuffer(t)){var r=Q(t.length)|0,e=R(r);return e.length===0||t.copy(e,0,0,r),e}if(t.length!==void 0)return typeof t.length!="number"||Z(t.length)?R(0):H(t);if(t.type==="Buffer"&&Array.isArray(t.data))return H(t.data)}function Q(t){if(t>=G)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+G.toString(16)+" bytes");return t|0}function Qr(t){return+t!=t&&(t=0),a.alloc(+t)}a.isBuffer=function(r){return r!=null&&r._isBuffer===!0&&r!==a.prototype};a.compare=function(r,e){if(v(r,Uint8Array)&&(r=a.from(r,r.offset,r.byteLength)),v(e,Uint8Array)&&(e=a.from(e,e.offset,e.byteLength)),!a.isBuffer(r)||!a.isBuffer(e))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(r===e)return 0;for(var n=r.length,i=e.length,o=0,u=Math.min(n,i);o<u;++o)if(r[o]!==e[o]){n=r[o],i=e[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,e){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(e===void 0)for(e=0,n=0;n<r.length;++n)e+=r[n].length;var i=a.allocUnsafe(e),o=0;for(n=0;n<r.length;++n){var u=r[n];if(v(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 sr(t,r){if(a.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||v(t,ArrayBuffer))return t.byteLength;if(typeof t!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var e=t.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&e===0)return 0;for(var i=!1;;)switch(r){case"ascii":case"latin1":case"binary":return e;case"utf8":case"utf-8":return J(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return e*2;case"hex":return e>>>1;case"base64":return mr(t).length;default:if(i)return n?-1:J(t).length;r=(""+r).toLowerCase(),i=!0}}a.byteLength=sr;function Zr(t,r,e){var n=!1;if((r===void 0||r<0)&&(r=0),r>this.length||((e===void 0||e>this.length)&&(e=this.length),e<=0)||(e>>>=0,r>>>=0,e<=r))return"";for(t||(t="utf8");;)switch(t){case"hex":return ae(this,r,e);case"utf8":case"utf-8":return wr(this,r,e);case"ascii":return oe(this,r,e);case"latin1":case"binary":return ue(this,r,e);case"base64":return ne(this,r,e);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return he(this,r,e);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}a.prototype._isBuffer=!0;function L(t,r,e){var n=t[r];t[r]=t[e],t[e]=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 e=0;e<r;e+=2)L(this,e,e+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 e=0;e<r;e+=4)L(this,e,e+3),L(this,e+1,e+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 e=0;e<r;e+=8)L(this,e,e+7),L(this,e+1,e+6),L(this,e+2,e+5),L(this,e+3,e+4);return this};a.prototype.toString=function(){var r=this.length;return r===0?"":arguments.length===0?wr(this,0,r):Zr.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="",e=D.INSPECT_MAX_BYTES;return r=this.toString("hex",0,e).replace(/(.{2})/g,"$1 ").trim(),this.length>e&&(r+=" ... "),"<Buffer "+r+">"};ar&&(a.prototype[ar]=a.prototype.inspect);a.prototype.compare=function(r,e,n,i,o){if(v(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(e===void 0&&(e=0),n===void 0&&(n=r?r.length:0),i===void 0&&(i=0),o===void 0&&(o=this.length),e<0||n>r.length||i<0||o>this.length)throw new RangeError("out of range index");if(i>=o&&e>=n)return 0;if(i>=o)return-1;if(e>=n)return 1;if(e>>>=0,n>>>=0,i>>>=0,o>>>=0,this===r)return 0;for(var u=o-i,h=n-e,f=Math.min(u,h),c=this.slice(i,o),s=r.slice(e,n),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(t,r,e,n,i){if(t.length===0)return-1;if(typeof e=="string"?(n=e,e=0):e>2147483647?e=2147483647:e<-2147483648&&(e=-2147483648),e=+e,Z(e)&&(e=i?0:t.length-1),e<0&&(e=t.length+e),e>=t.length){if(i)return-1;e=t.length-1}else if(e<0)if(i)e=0;else return-1;if(typeof r=="string"&&(r=a.from(r,n)),a.isBuffer(r))return r.length===0?-1:hr(t,r,e,n,i);if(typeof r=="number")return r=r&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(t,r,e):Uint8Array.prototype.lastIndexOf.call(t,r,e):hr(t,[r],e,n,i);throw new TypeError("val must be string, number or Buffer")}function hr(t,r,e,n,i){var o=1,u=t.length,h=r.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(t.length<2||r.length<2)return-1;o=2,u/=2,h/=2,e/=2}function f(E,N){return o===1?E[N]:E.readUInt16BE(N*o)}var c;if(i){var s=-1;for(c=e;c<u;c++)if(f(t,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(e+h>u&&(e=u-h),c=e;c>=0;c--){for(var p=!0,A=0;A<h;A++)if(f(t,c+A)!==f(r,A)){p=!1;break}if(p)return c}return-1}a.prototype.includes=function(r,e,n){return this.indexOf(r,e,n)!==-1};a.prototype.indexOf=function(r,e,n){return lr(this,r,e,n,!0)};a.prototype.lastIndexOf=function(r,e,n){return lr(this,r,e,n,!1)};function $r(t,r,e,n){e=Number(e)||0;var i=t.length-e;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 h=parseInt(r.substr(u*2,2),16);if(Z(h))return u;t[e+u]=h}return u}function jr(t,r,e,n){return V(J(r,t.length-e),t,e,n)}function re(t,r,e,n){return V(ce(r),t,e,n)}function ee(t,r,e,n){return V(mr(r),t,e,n)}function te(t,r,e,n){return V(se(r,t.length-e),t,e,n)}a.prototype.write=function(r,e,n,i){if(e===void 0)i="utf8",n=this.length,e=0;else if(n===void 0&&typeof e=="string")i=e,n=this.length,e=0;else if(isFinite(e))e=e>>>0,isFinite(n)?(n=n>>>0,i===void 0&&(i="utf8")):(i=n,n=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var o=this.length-e;if((n===void 0||n>o)&&(n=o),r.length>0&&(n<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var u=!1;;)switch(i){case"hex":return $r(this,r,e,n);case"utf8":case"utf-8":return jr(this,r,e,n);case"ascii":case"latin1":case"binary":return re(this,r,e,n);case"base64":return ee(this,r,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return te(this,r,e,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 ne(t,r,e){return r===0&&e===t.length?P.fromByteArray(t):P.fromByteArray(t.slice(r,e))}function wr(t,r,e){e=Math.min(t.length,e);for(var n=[],i=r;i<e;){var o=t[i],u=null,h=o>239?4:o>223?3:o>191?2:1;if(i+h<=e){var f,c,s,p;switch(h){case 1:o<128&&(u=o);break;case 2:f=t[i+1],(f&192)===128&&(p=(o&31)<<6|f&63,p>127&&(u=p));break;case 3:f=t[i+1],c=t[i+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=t[i+1],c=t[i+2],s=t[i+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,n.push(u>>>10&1023|55296),u=56320|u&1023),n.push(u),i+=h}return ie(n)}var fr=4096;function ie(t){var r=t.length;if(r<=fr)return String.fromCharCode.apply(String,t);for(var e="",n=0;n<r;)e+=String.fromCharCode.apply(String,t.slice(n,n+=fr));return e}function oe(t,r,e){var n="";e=Math.min(t.length,e);for(var i=r;i<e;++i)n+=String.fromCharCode(t[i]&127);return n}function ue(t,r,e){var n="";e=Math.min(t.length,e);for(var i=r;i<e;++i)n+=String.fromCharCode(t[i]);return n}function ae(t,r,e){var n=t.length;(!r||r<0)&&(r=0),(!e||e<0||e>n)&&(e=n);for(var i="",o=r;o<e;++o)i+=le[t[o]];return i}function he(t,r,e){for(var n=t.slice(r,e),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,e){var n=this.length;r=~~r,e=e===void 0?n:~~e,r<0?(r+=n,r<0&&(r=0)):r>n&&(r=n),e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),e<r&&(e=r);var i=this.subarray(r,e);return Object.setPrototypeOf(i,a.prototype),i};function x(t,r,e){if(t%1!==0||t<0)throw new RangeError("offset is not uint");if(t+r>e)throw new RangeError("Trying to access beyond buffer length")}a.prototype.readUintLE=a.prototype.readUIntLE=function(r,e,n){r=r>>>0,e=e>>>0,n||x(r,e,this.length);for(var i=this[r],o=1,u=0;++u<e&&(o*=256);)i+=this[r+u]*o;return i};a.prototype.readUintBE=a.prototype.readUIntBE=function(r,e,n){r=r>>>0,e=e>>>0,n||x(r,e,this.length);for(var i=this[r+--e],o=1;e>0&&(o*=256);)i+=this[r+--e]*o;return i};a.prototype.readUint8=a.prototype.readUInt8=function(r,e){return r=r>>>0,e||x(r,1,this.length),this[r]};a.prototype.readUint16LE=a.prototype.readUInt16LE=function(r,e){return r=r>>>0,e||x(r,2,this.length),this[r]|this[r+1]<<8};a.prototype.readUint16BE=a.prototype.readUInt16BE=function(r,e){return r=r>>>0,e||x(r,2,this.length),this[r]<<8|this[r+1]};a.prototype.readUint32LE=a.prototype.readUInt32LE=function(r,e){return r=r>>>0,e||x(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,e){return r=r>>>0,e||x(r,4,this.length),this[r]*16777216+(this[r+1]<<16|this[r+2]<<8|this[r+3])};a.prototype.readIntLE=function(r,e,n){r=r>>>0,e=e>>>0,n||x(r,e,this.length);for(var i=this[r],o=1,u=0;++u<e&&(o*=256);)i+=this[r+u]*o;return o*=128,i>=o&&(i-=Math.pow(2,8*e)),i};a.prototype.readIntBE=function(r,e,n){r=r>>>0,e=e>>>0,n||x(r,e,this.length);for(var i=e,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*e)),u};a.prototype.readInt8=function(r,e){return r=r>>>0,e||x(r,1,this.length),this[r]&128?(255-this[r]+1)*-1:this[r]};a.prototype.readInt16LE=function(r,e){r=r>>>0,e||x(r,2,this.length);var n=this[r]|this[r+1]<<8;return n&32768?n|4294901760:n};a.prototype.readInt16BE=function(r,e){r=r>>>0,e||x(r,2,this.length);var n=this[r+1]|this[r]<<8;return n&32768?n|4294901760:n};a.prototype.readInt32LE=function(r,e){return r=r>>>0,e||x(r,4,this.length),this[r]|this[r+1]<<8|this[r+2]<<16|this[r+3]<<24};a.prototype.readInt32BE=function(r,e){return r=r>>>0,e||x(r,4,this.length),this[r]<<24|this[r+1]<<16|this[r+2]<<8|this[r+3]};a.prototype.readFloatLE=function(r,e){return r=r>>>0,e||x(r,4,this.length),M.read(this,r,!0,23,4)};a.prototype.readFloatBE=function(r,e){return r=r>>>0,e||x(r,4,this.length),M.read(this,r,!1,23,4)};a.prototype.readDoubleLE=function(r,e){return r=r>>>0,e||x(r,8,this.length),M.read(this,r,!0,52,8)};a.prototype.readDoubleBE=function(r,e){return r=r>>>0,e||x(r,8,this.length),M.read(this,r,!1,52,8)};function y(t,r,e,n,i,o){if(!a.isBuffer(t))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(e+n>t.length)throw new RangeError("Index out of range")}a.prototype.writeUintLE=a.prototype.writeUIntLE=function(r,e,n,i){if(r=+r,e=e>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;y(this,r,e,n,o,0)}var u=1,h=0;for(this[e]=r&255;++h<n&&(u*=256);)this[e+h]=r/u&255;return e+n};a.prototype.writeUintBE=a.prototype.writeUIntBE=function(r,e,n,i){if(r=+r,e=e>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;y(this,r,e,n,o,0)}var u=n-1,h=1;for(this[e+u]=r&255;--u>=0&&(h*=256);)this[e+u]=r/h&255;return e+n};a.prototype.writeUint8=a.prototype.writeUInt8=function(r,e,n){return r=+r,e=e>>>0,n||y(this,r,e,1,255,0),this[e]=r&255,e+1};a.prototype.writeUint16LE=a.prototype.writeUInt16LE=function(r,e,n){return r=+r,e=e>>>0,n||y(this,r,e,2,65535,0),this[e]=r&255,this[e+1]=r>>>8,e+2};a.prototype.writeUint16BE=a.prototype.writeUInt16BE=function(r,e,n){return r=+r,e=e>>>0,n||y(this,r,e,2,65535,0),this[e]=r>>>8,this[e+1]=r&255,e+2};a.prototype.writeUint32LE=a.prototype.writeUInt32LE=function(r,e,n){return r=+r,e=e>>>0,n||y(this,r,e,4,4294967295,0),this[e+3]=r>>>24,this[e+2]=r>>>16,this[e+1]=r>>>8,this[e]=r&255,e+4};a.prototype.writeUint32BE=a.prototype.writeUInt32BE=function(r,e,n){return r=+r,e=e>>>0,n||y(this,r,e,4,4294967295,0),this[e]=r>>>24,this[e+1]=r>>>16,this[e+2]=r>>>8,this[e+3]=r&255,e+4};a.prototype.writeIntLE=function(r,e,n,i){if(r=+r,e=e>>>0,!i){var o=Math.pow(2,8*n-1);y(this,r,e,n,o-1,-o)}var u=0,h=1,f=0;for(this[e]=r&255;++u<n&&(h*=256);)r<0&&f===0&&this[e+u-1]!==0&&(f=1),this[e+u]=(r/h>>0)-f&255;return e+n};a.prototype.writeIntBE=function(r,e,n,i){if(r=+r,e=e>>>0,!i){var o=Math.pow(2,8*n-1);y(this,r,e,n,o-1,-o)}var u=n-1,h=1,f=0;for(this[e+u]=r&255;--u>=0&&(h*=256);)r<0&&f===0&&this[e+u+1]!==0&&(f=1),this[e+u]=(r/h>>0)-f&255;return e+n};a.prototype.writeInt8=function(r,e,n){return r=+r,e=e>>>0,n||y(this,r,e,1,127,-128),r<0&&(r=255+r+1),this[e]=r&255,e+1};a.prototype.writeInt16LE=function(r,e,n){return r=+r,e=e>>>0,n||y(this,r,e,2,32767,-32768),this[e]=r&255,this[e+1]=r>>>8,e+2};a.prototype.writeInt16BE=function(r,e,n){return r=+r,e=e>>>0,n||y(this,r,e,2,32767,-32768),this[e]=r>>>8,this[e+1]=r&255,e+2};a.prototype.writeInt32LE=function(r,e,n){return r=+r,e=e>>>0,n||y(this,r,e,4,2147483647,-2147483648),this[e]=r&255,this[e+1]=r>>>8,this[e+2]=r>>>16,this[e+3]=r>>>24,e+4};a.prototype.writeInt32BE=function(r,e,n){return r=+r,e=e>>>0,n||y(this,r,e,4,2147483647,-2147483648),r<0&&(r=4294967295+r+1),this[e]=r>>>24,this[e+1]=r>>>16,this[e+2]=r>>>8,this[e+3]=r&255,e+4};function xr(t,r,e,n,i,o){if(e+n>t.length)throw new RangeError("Index out of range");if(e<0)throw new RangeError("Index out of range")}function yr(t,r,e,n,i){return r=+r,e=e>>>0,i||xr(t,r,e,4,34028234663852886e22,-34028234663852886e22),M.write(t,r,e,n,23,4),e+4}a.prototype.writeFloatLE=function(r,e,n){return yr(this,r,e,!0,n)};a.prototype.writeFloatBE=function(r,e,n){return yr(this,r,e,!1,n)};function Er(t,r,e,n,i){return r=+r,e=e>>>0,i||xr(t,r,e,8,17976931348623157e292,-17976931348623157e292),M.write(t,r,e,n,52,8),e+8}a.prototype.writeDoubleLE=function(r,e,n){return Er(this,r,e,!0,n)};a.prototype.writeDoubleBE=function(r,e,n){return Er(this,r,e,!1,n)};a.prototype.copy=function(r,e,n,i){if(!a.isBuffer(r))throw new TypeError("argument should be a Buffer");if(n||(n=0),!i&&i!==0&&(i=this.length),e>=r.length&&(e=r.length),e||(e=0),i>0&&i<n&&(i=n),i===n||r.length===0||this.length===0)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),r.length-e<i-n&&(i=r.length-e+n);var o=i-n;return this===r&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(e,n,i):Uint8Array.prototype.set.call(r,this.subarray(n,i),e),o};a.prototype.fill=function(r,e,n,i){if(typeof r=="string"){if(typeof e=="string"?(i=e,e=0,n=this.length):typeof n=="string"&&(i=n,n=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!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(e<0||this.length<e||this.length<n)throw new RangeError("Out of range index");if(n<=e)return this;e=e>>>0,n=n===void 0?this.length:n>>>0,r||(r=0);var u;if(typeof r=="number")for(u=e;u<n;++u)this[u]=r;else{var h=a.isBuffer(r)?r:a.from(r,i),f=h.length;if(f===0)throw new TypeError('The value "'+r+'" is invalid for argument "value"');for(u=0;u<n-e;++u)this[u+e]=h[u%f]}return this};var fe=/[^+/0-9A-Za-z-_]/g;function pe(t){if(t=t.split("=")[0],t=t.trim().replace(fe,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function J(t,r){r=r||1/0;for(var e,n=t.length,i=null,o=[],u=0;u<n;++u){if(e=t.charCodeAt(u),e>55295&&e<57344){if(!i){if(e>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=e;continue}if(e<56320){(r-=3)>-1&&o.push(239,191,189),i=e;continue}e=(i-55296<<10|e-56320)+65536}else i&&(r-=3)>-1&&o.push(239,191,189);if(i=null,e<128){if((r-=1)<0)break;o.push(e)}else if(e<2048){if((r-=2)<0)break;o.push(e>>6|192,e&63|128)}else if(e<65536){if((r-=3)<0)break;o.push(e>>12|224,e>>6&63|128,e&63|128)}else if(e<1114112){if((r-=4)<0)break;o.push(e>>18|240,e>>12&63|128,e>>6&63|128,e&63|128)}else throw new Error("Invalid code point")}return o}function ce(t){for(var r=[],e=0;e<t.length;++e)r.push(t.charCodeAt(e)&255);return r}function se(t,r){for(var e,n,i,o=[],u=0;u<t.length&&!((r-=2)<0);++u)e=t.charCodeAt(u),n=e>>8,i=e%256,o.push(i),o.push(n);return o}function mr(t){return P.toByteArray(pe(t))}function V(t,r,e,n){for(var i=0;i<n&&!(i+e>=r.length||i>=t.length);++i)r[i+e]=t[i];return i}function v(t,r){return t instanceof r||t!=null&&t.constructor!=null&&t.constructor.name!=null&&t.constructor.name===r.name}function Z(t){return t!==t}var le=function(){for(var t="0123456789abcdef",r=new Array(256),e=0;e<16;++e)for(var n=e*16,i=0;i<16;++i)r[n+i]=t[e]+t[i];return r}()});var vr=b((_e,Tr)=>{l();var w=Tr.exports={},I,B;function $(){throw new Error("setTimeout has not been defined")}function j(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?I=setTimeout:I=$}catch(t){I=$}try{typeof clearTimeout=="function"?B=clearTimeout:B=j}catch(t){B=j}})();function dr(t){if(I===setTimeout)return setTimeout(t,0);if((I===$||!I)&&setTimeout)return I=setTimeout,setTimeout(t,0);try{return I(t,0)}catch(r){try{return I.call(null,t,0)}catch(e){return I.call(this,t,0)}}}function we(t){if(B===clearTimeout)return clearTimeout(t);if((B===j||!B)&&clearTimeout)return B=clearTimeout,clearTimeout(t);try{return B(t)}catch(r){try{return B.call(null,t)}catch(e){return B.call(this,t)}}}var U=[],O=!1,S,X=-1;function xe(){!O||!S||(O=!1,S.length?U=S.concat(U):X=-1,U.length&&Ar())}function Ar(){if(!O){var t=dr(xe);O=!0;for(var r=U.length;r;){for(S=U,U=[];++X<r;)S&&S[X].run();X=-1,r=U.length}S=null,O=!1,we(t)}}w.nextTick=function(t){var r=new Array(arguments.length-1);if(arguments.length>1)for(var e=1;e<arguments.length;e++)r[e-1]=arguments[e];U.push(new Fr(t,r)),U.length===1&&!O&&dr(Ar)};function Fr(t,r){this.fun=t,this.array=r}Fr.prototype.run=function(){this.fun.apply(null,this.array)};w.title="browser";w.browser=!0;w.env={};w.argv=[];w.version="";w.versions={};function _(){}w.on=_;w.addListener=_;w.once=_;w.off=_;w.removeListener=_;w.removeAllListeners=_;w.emit=_;w.prependListener=_;w.prependOnceListener=_;w.listeners=function(t){return[]};w.binding=function(t){throw new Error("process.binding is not supported")};w.cwd=function(){return"/"};w.chdir=function(t){throw new Error("process.chdir is not supported")};w.umask=function(){return 0}});var g,d,Ce,l=Dr(()=>{g=tr(gr()),d=tr(vr()),Ce=function(t){function r(){var n=this||self;return delete t.prototype.__magic__,n}if(typeof globalThis=="object")return globalThis;if(this)return r();t.defineProperty(t.prototype,"__magic__",{configurable:!0,get:r});var e=__magic__;return e}(Object)});var ve={};Or(ve,{getLedgerErrorCodes:()=>Te,getRandomAddressFromNetwork:()=>ge,optionalRedirect:()=>me});module.exports=kr(ve);l();l();l();l();var Ir=()=>typeof window!="undefined"&&typeof(window==null?void 0:window.location)!="undefined";var Br=()=>{if(!Ir())return{pathname:"",hash:"",origin:"",href:"",search:""};let{location:{pathname:r,hash:e,origin:n,href:i,search:o}}=window;return{pathname:r,hash:e,origin:n,href:i,search:o}};l();var ye=!1;var Rr=(t,r=0)=>{ye||setTimeout(()=>window?(t==null?void 0:t.startsWith("/"))?window.history.pushState("","",t):window.location.assign(t):void 0,r)};var Ee=200;function me({callbackRoute:t,onLoginRedirect:r,options:e}){let n=Boolean(t),i=typeof r=="function";if(n&&t!=null){if(i)return r(t,e);let{pathname:o}=Br();o.includes(t)||Rr(t,Ee)}}l();function ge(t){return t[Math.floor(Math.random()*t.length)]}l();l();var rr={36864:{code:"codeSuccess",message:"Success"},27013:{code:"ERR_USER_DENIED",message:"Rejected by user"},27904:{code:"ERR_UNKNOWN_INSTRUCTION",message:"Unknown instruction"},28160:{code:"ERR_WRONG_CLA",message:"Wrong CLA"},28161:{code:"ERR_INVALID_ARGUMENTS",message:"Invalid arguments"},28162:{code:"ERR_INVALID_MESSAGE",message:"Invalid message"},28163:{code:"ERR_INVALID_P1",message:"Invalid P1"},28164:{code:"ERR_MESSAGE_TOO_LONG",message:"Message too long"},28165:{code:"ERR_RECEIVER_TOO_LONG",message:"Receiver too long"},28166:{code:"ERR_AMOUNT_TOO_LONG",message:"Amount too long"},28167:{code:"ERR_CONTRACT_DATA_DISABLED",message:"Contract data disabled in app options"},28168:{code:"ERR_MESSAGE_INCOMPLETE",message:"Message incomplete"},28176:{code:"ERR_SIGNATURE_FAILED",message:"Signature failed"},28169:{code:"ERR_WRONG_TX_VERSION",message:"Wrong TX version"},28170:{code:"ERR_NONCE_TOO_LONG",message:"Nonce too long"},28171:{code:"ERR_INVALID_AMOUNT",message:"Invalid amount"},28172:{code:"ERR_INVALID_FEE",message:"Invalid fee"},28173:{code:"ERR_PRETTY_FAILED",message:"Pretty failed"},28174:{code:"ERR_DATA_TOO_LONG",message:"Data too long"},28175:{code:"ERR_WRONG_TX_OPTIONS",message:"Invalid transaction options"},28177:{code:"ERR_SIGN_TX_DEPRECATED",message:"Regular transaction signing is deprecated in this version. Use hash signing."}};var Ur="Check if the MultiversX app is open on Ledger",de=28161,Ae=28160,Fe=[de,Ae];function Te(t){let r=null;if((t==null?void 0:t.statusCode)in rr){let e=t==null?void 0:t.statusCode,{message:n}=rr[e];r=Fe.includes(e)?Ur:n}return{errorMessage:r,defaultErrorMessage:Ur}}0&&(module.exports={getLedgerErrorCodes,getRandomAddressFromNetwork,optionalRedirect});
1
+ "use strict";var Cr=Object.create;var k=Object.defineProperty;var Lr=Object.getOwnPropertyDescriptor;var Sr=Object.getOwnPropertyNames;var Nr=Object.getPrototypeOf,Mr=Object.prototype.hasOwnProperty;var Dr=(t,r)=>()=>(t&&(r=t(t=0)),r);var b=(t,r)=>()=>(r||t((r={exports:{}}).exports,r),r.exports),Or=(t,r)=>{for(var e in r)k(t,e,{get:r[e],enumerable:!0})},er=(t,r,e,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let i of Sr(r))!Mr.call(t,i)&&i!==e&&k(t,i,{get:()=>r[i],enumerable:!(n=Lr(r,i))||n.enumerable});return t};var tr=(t,r,e)=>(e=t!=null?Cr(Nr(t)):{},er(r||!t||!t.__esModule?k(e,"default",{value:t,enumerable:!0}):e,t)),kr=t=>er(k({},"__esModule",{value:!0}),t);var or=b(W=>{"use strict";l();W.byteLength=Wr;W.toByteArray=Vr;W.fromByteArray=Pr;var T=[],E=[],br=typeof Uint8Array!="undefined"?Uint8Array:Array,Y="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(C=0,nr=Y.length;C<nr;++C)T[C]=Y[C],E[Y.charCodeAt(C)]=C;var C,nr;E["-".charCodeAt(0)]=62;E["_".charCodeAt(0)]=63;function ir(t){var r=t.length;if(r%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var e=t.indexOf("=");e===-1&&(e=r);var n=e===r?0:4-e%4;return[e,n]}function Wr(t){var r=ir(t),e=r[0],n=r[1];return(e+n)*3/4-n}function Gr(t,r,e){return(r+e)*3/4-e}function Vr(t){var r,e=ir(t),n=e[0],i=e[1],o=new br(Gr(t,n,i)),u=0,h=i>0?n-4:n,f;for(f=0;f<h;f+=4)r=E[t.charCodeAt(f)]<<18|E[t.charCodeAt(f+1)]<<12|E[t.charCodeAt(f+2)]<<6|E[t.charCodeAt(f+3)],o[u++]=r>>16&255,o[u++]=r>>8&255,o[u++]=r&255;return i===2&&(r=E[t.charCodeAt(f)]<<2|E[t.charCodeAt(f+1)]>>4,o[u++]=r&255),i===1&&(r=E[t.charCodeAt(f)]<<10|E[t.charCodeAt(f+1)]<<4|E[t.charCodeAt(f+2)]>>2,o[u++]=r>>8&255,o[u++]=r&255),o}function Xr(t){return T[t>>18&63]+T[t>>12&63]+T[t>>6&63]+T[t&63]}function Yr(t,r,e){for(var n,i=[],o=r;o<e;o+=3)n=(t[o]<<16&16711680)+(t[o+1]<<8&65280)+(t[o+2]&255),i.push(Xr(n));return i.join("")}function Pr(t){for(var r,e=t.length,n=e%3,i=[],o=16383,u=0,h=e-n;u<h;u+=o)i.push(Yr(t,u,u+o>h?h:u+o));return n===1?(r=t[e-1],i.push(T[r>>2]+T[r<<4&63]+"==")):n===2&&(r=(t[e-2]<<8)+t[e-1],i.push(T[r>>10]+T[r>>4&63]+T[r<<2&63]+"=")),i.join("")}});var ur=b(P=>{l();P.read=function(t,r,e,n,i){var o,u,h=i*8-n-1,f=(1<<h)-1,c=f>>1,s=-7,p=e?i-1:0,A=e?-1:1,m=t[r+p];for(p+=A,o=m&(1<<-s)-1,m>>=-s,s+=h;s>0;o=o*256+t[r+p],p+=A,s-=8);for(u=o&(1<<-s)-1,o>>=-s,s+=n;s>0;u=u*256+t[r+p],p+=A,s-=8);if(o===0)o=1-c;else{if(o===f)return u?NaN:(m?-1:1)*(1/0);u=u+Math.pow(2,n),o=o-c}return(m?-1:1)*u*Math.pow(2,o-n)};P.write=function(t,r,e,n,i,o){var u,h,f,c=o*8-i-1,s=(1<<c)-1,p=s>>1,A=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,m=n?0:o-1,N=n?1:-1,_r=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+=A/f:r+=A*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,i),u=u+p):(h=r*Math.pow(2,p-1)*Math.pow(2,i),u=0));i>=8;t[e+m]=h&255,m+=N,h/=256,i-=8);for(u=u<<i|h,c+=i;c>0;t[e+m]=u&255,m+=N,u/=256,c-=8);t[e+m-N]|=_r*128}});var gr=b(D=>{"use strict";l();var q=or(),M=ur(),ar=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;D.Buffer=a;D.SlowBuffer=Qr;D.INSPECT_MAX_BYTES=50;var G=2147483647;D.kMaxLength=G;a.TYPED_ARRAY_SUPPORT=qr();!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 qr(){try{var t=new Uint8Array(1),r={foo:function(){return 42}};return Object.setPrototypeOf(r,Uint8Array.prototype),Object.setPrototypeOf(t,r),t.foo()===42}catch(e){return!1}}Object.defineProperty(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 R(t){if(t>G)throw new RangeError('The value "'+t+'" is invalid for option "size"');var r=new Uint8Array(t);return Object.setPrototypeOf(r,a.prototype),r}function a(t,r,e){if(typeof t=="number"){if(typeof r=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return K(t)}return pr(t,r,e)}a.poolSize=8192;function pr(t,r,e){if(typeof t=="string")return zr(t,r);if(ArrayBuffer.isView(t))return Jr(t);if(t==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(v(t,ArrayBuffer)||t&&v(t.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(v(t,SharedArrayBuffer)||t&&v(t.buffer,SharedArrayBuffer)))return z(t,r,e);if(typeof t=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var n=t.valueOf&&t.valueOf();if(n!=null&&n!==t)return a.from(n,r,e);var i=Kr(t);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof t[Symbol.toPrimitive]=="function")return a.from(t[Symbol.toPrimitive]("string"),r,e);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}a.from=function(t,r,e){return pr(t,r,e)};Object.setPrototypeOf(a.prototype,Uint8Array.prototype);Object.setPrototypeOf(a,Uint8Array);function cr(t){if(typeof t!="number")throw new TypeError('"size" argument must be of type number');if(t<0)throw new RangeError('The value "'+t+'" is invalid for option "size"')}function Hr(t,r,e){return cr(t),t<=0?R(t):r!==void 0?typeof e=="string"?R(t).fill(r,e):R(t).fill(r):R(t)}a.alloc=function(t,r,e){return Hr(t,r,e)};function K(t){return cr(t),R(t<0?0:Q(t)|0)}a.allocUnsafe=function(t){return K(t)};a.allocUnsafeSlow=function(t){return K(t)};function zr(t,r){if((typeof r!="string"||r==="")&&(r="utf8"),!a.isEncoding(r))throw new TypeError("Unknown encoding: "+r);var e=sr(t,r)|0,n=R(e),i=n.write(t,r);return i!==e&&(n=n.slice(0,i)),n}function H(t){for(var r=t.length<0?0:Q(t.length)|0,e=R(r),n=0;n<r;n+=1)e[n]=t[n]&255;return e}function Jr(t){if(v(t,Uint8Array)){var r=new Uint8Array(t);return z(r.buffer,r.byteOffset,r.byteLength)}return H(t)}function z(t,r,e){if(r<0||t.byteLength<r)throw new RangeError('"offset" is outside of buffer bounds');if(t.byteLength<r+(e||0))throw new RangeError('"length" is outside of buffer bounds');var n;return r===void 0&&e===void 0?n=new Uint8Array(t):e===void 0?n=new Uint8Array(t,r):n=new Uint8Array(t,r,e),Object.setPrototypeOf(n,a.prototype),n}function Kr(t){if(a.isBuffer(t)){var r=Q(t.length)|0,e=R(r);return e.length===0||t.copy(e,0,0,r),e}if(t.length!==void 0)return typeof t.length!="number"||Z(t.length)?R(0):H(t);if(t.type==="Buffer"&&Array.isArray(t.data))return H(t.data)}function Q(t){if(t>=G)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+G.toString(16)+" bytes");return t|0}function Qr(t){return+t!=t&&(t=0),a.alloc(+t)}a.isBuffer=function(r){return r!=null&&r._isBuffer===!0&&r!==a.prototype};a.compare=function(r,e){if(v(r,Uint8Array)&&(r=a.from(r,r.offset,r.byteLength)),v(e,Uint8Array)&&(e=a.from(e,e.offset,e.byteLength)),!a.isBuffer(r)||!a.isBuffer(e))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(r===e)return 0;for(var n=r.length,i=e.length,o=0,u=Math.min(n,i);o<u;++o)if(r[o]!==e[o]){n=r[o],i=e[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,e){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(e===void 0)for(e=0,n=0;n<r.length;++n)e+=r[n].length;var i=a.allocUnsafe(e),o=0;for(n=0;n<r.length;++n){var u=r[n];if(v(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 sr(t,r){if(a.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||v(t,ArrayBuffer))return t.byteLength;if(typeof t!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var e=t.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&e===0)return 0;for(var i=!1;;)switch(r){case"ascii":case"latin1":case"binary":return e;case"utf8":case"utf-8":return J(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return e*2;case"hex":return e>>>1;case"base64":return Er(t).length;default:if(i)return n?-1:J(t).length;r=(""+r).toLowerCase(),i=!0}}a.byteLength=sr;function Zr(t,r,e){var n=!1;if((r===void 0||r<0)&&(r=0),r>this.length||((e===void 0||e>this.length)&&(e=this.length),e<=0)||(e>>>=0,r>>>=0,e<=r))return"";for(t||(t="utf8");;)switch(t){case"hex":return ae(this,r,e);case"utf8":case"utf-8":return wr(this,r,e);case"ascii":return oe(this,r,e);case"latin1":case"binary":return ue(this,r,e);case"base64":return ne(this,r,e);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return he(this,r,e);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}a.prototype._isBuffer=!0;function L(t,r,e){var n=t[r];t[r]=t[e],t[e]=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 e=0;e<r;e+=2)L(this,e,e+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 e=0;e<r;e+=4)L(this,e,e+3),L(this,e+1,e+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 e=0;e<r;e+=8)L(this,e,e+7),L(this,e+1,e+6),L(this,e+2,e+5),L(this,e+3,e+4);return this};a.prototype.toString=function(){var r=this.length;return r===0?"":arguments.length===0?wr(this,0,r):Zr.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="",e=D.INSPECT_MAX_BYTES;return r=this.toString("hex",0,e).replace(/(.{2})/g,"$1 ").trim(),this.length>e&&(r+=" ... "),"<Buffer "+r+">"};ar&&(a.prototype[ar]=a.prototype.inspect);a.prototype.compare=function(r,e,n,i,o){if(v(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(e===void 0&&(e=0),n===void 0&&(n=r?r.length:0),i===void 0&&(i=0),o===void 0&&(o=this.length),e<0||n>r.length||i<0||o>this.length)throw new RangeError("out of range index");if(i>=o&&e>=n)return 0;if(i>=o)return-1;if(e>=n)return 1;if(e>>>=0,n>>>=0,i>>>=0,o>>>=0,this===r)return 0;for(var u=o-i,h=n-e,f=Math.min(u,h),c=this.slice(i,o),s=r.slice(e,n),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(t,r,e,n,i){if(t.length===0)return-1;if(typeof e=="string"?(n=e,e=0):e>2147483647?e=2147483647:e<-2147483648&&(e=-2147483648),e=+e,Z(e)&&(e=i?0:t.length-1),e<0&&(e=t.length+e),e>=t.length){if(i)return-1;e=t.length-1}else if(e<0)if(i)e=0;else return-1;if(typeof r=="string"&&(r=a.from(r,n)),a.isBuffer(r))return r.length===0?-1:hr(t,r,e,n,i);if(typeof r=="number")return r=r&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(t,r,e):Uint8Array.prototype.lastIndexOf.call(t,r,e):hr(t,[r],e,n,i);throw new TypeError("val must be string, number or Buffer")}function hr(t,r,e,n,i){var o=1,u=t.length,h=r.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(t.length<2||r.length<2)return-1;o=2,u/=2,h/=2,e/=2}function f(m,N){return o===1?m[N]:m.readUInt16BE(N*o)}var c;if(i){var s=-1;for(c=e;c<u;c++)if(f(t,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(e+h>u&&(e=u-h),c=e;c>=0;c--){for(var p=!0,A=0;A<h;A++)if(f(t,c+A)!==f(r,A)){p=!1;break}if(p)return c}return-1}a.prototype.includes=function(r,e,n){return this.indexOf(r,e,n)!==-1};a.prototype.indexOf=function(r,e,n){return lr(this,r,e,n,!0)};a.prototype.lastIndexOf=function(r,e,n){return lr(this,r,e,n,!1)};function $r(t,r,e,n){e=Number(e)||0;var i=t.length-e;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 h=parseInt(r.substr(u*2,2),16);if(Z(h))return u;t[e+u]=h}return u}function jr(t,r,e,n){return V(J(r,t.length-e),t,e,n)}function re(t,r,e,n){return V(ce(r),t,e,n)}function ee(t,r,e,n){return V(Er(r),t,e,n)}function te(t,r,e,n){return V(se(r,t.length-e),t,e,n)}a.prototype.write=function(r,e,n,i){if(e===void 0)i="utf8",n=this.length,e=0;else if(n===void 0&&typeof e=="string")i=e,n=this.length,e=0;else if(isFinite(e))e=e>>>0,isFinite(n)?(n=n>>>0,i===void 0&&(i="utf8")):(i=n,n=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var o=this.length-e;if((n===void 0||n>o)&&(n=o),r.length>0&&(n<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var u=!1;;)switch(i){case"hex":return $r(this,r,e,n);case"utf8":case"utf-8":return jr(this,r,e,n);case"ascii":case"latin1":case"binary":return re(this,r,e,n);case"base64":return ee(this,r,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return te(this,r,e,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 ne(t,r,e){return r===0&&e===t.length?q.fromByteArray(t):q.fromByteArray(t.slice(r,e))}function wr(t,r,e){e=Math.min(t.length,e);for(var n=[],i=r;i<e;){var o=t[i],u=null,h=o>239?4:o>223?3:o>191?2:1;if(i+h<=e){var f,c,s,p;switch(h){case 1:o<128&&(u=o);break;case 2:f=t[i+1],(f&192)===128&&(p=(o&31)<<6|f&63,p>127&&(u=p));break;case 3:f=t[i+1],c=t[i+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=t[i+1],c=t[i+2],s=t[i+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,n.push(u>>>10&1023|55296),u=56320|u&1023),n.push(u),i+=h}return ie(n)}var fr=4096;function ie(t){var r=t.length;if(r<=fr)return String.fromCharCode.apply(String,t);for(var e="",n=0;n<r;)e+=String.fromCharCode.apply(String,t.slice(n,n+=fr));return e}function oe(t,r,e){var n="";e=Math.min(t.length,e);for(var i=r;i<e;++i)n+=String.fromCharCode(t[i]&127);return n}function ue(t,r,e){var n="";e=Math.min(t.length,e);for(var i=r;i<e;++i)n+=String.fromCharCode(t[i]);return n}function ae(t,r,e){var n=t.length;(!r||r<0)&&(r=0),(!e||e<0||e>n)&&(e=n);for(var i="",o=r;o<e;++o)i+=le[t[o]];return i}function he(t,r,e){for(var n=t.slice(r,e),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,e){var n=this.length;r=~~r,e=e===void 0?n:~~e,r<0?(r+=n,r<0&&(r=0)):r>n&&(r=n),e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),e<r&&(e=r);var i=this.subarray(r,e);return Object.setPrototypeOf(i,a.prototype),i};function x(t,r,e){if(t%1!==0||t<0)throw new RangeError("offset is not uint");if(t+r>e)throw new RangeError("Trying to access beyond buffer length")}a.prototype.readUintLE=a.prototype.readUIntLE=function(r,e,n){r=r>>>0,e=e>>>0,n||x(r,e,this.length);for(var i=this[r],o=1,u=0;++u<e&&(o*=256);)i+=this[r+u]*o;return i};a.prototype.readUintBE=a.prototype.readUIntBE=function(r,e,n){r=r>>>0,e=e>>>0,n||x(r,e,this.length);for(var i=this[r+--e],o=1;e>0&&(o*=256);)i+=this[r+--e]*o;return i};a.prototype.readUint8=a.prototype.readUInt8=function(r,e){return r=r>>>0,e||x(r,1,this.length),this[r]};a.prototype.readUint16LE=a.prototype.readUInt16LE=function(r,e){return r=r>>>0,e||x(r,2,this.length),this[r]|this[r+1]<<8};a.prototype.readUint16BE=a.prototype.readUInt16BE=function(r,e){return r=r>>>0,e||x(r,2,this.length),this[r]<<8|this[r+1]};a.prototype.readUint32LE=a.prototype.readUInt32LE=function(r,e){return r=r>>>0,e||x(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,e){return r=r>>>0,e||x(r,4,this.length),this[r]*16777216+(this[r+1]<<16|this[r+2]<<8|this[r+3])};a.prototype.readIntLE=function(r,e,n){r=r>>>0,e=e>>>0,n||x(r,e,this.length);for(var i=this[r],o=1,u=0;++u<e&&(o*=256);)i+=this[r+u]*o;return o*=128,i>=o&&(i-=Math.pow(2,8*e)),i};a.prototype.readIntBE=function(r,e,n){r=r>>>0,e=e>>>0,n||x(r,e,this.length);for(var i=e,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*e)),u};a.prototype.readInt8=function(r,e){return r=r>>>0,e||x(r,1,this.length),this[r]&128?(255-this[r]+1)*-1:this[r]};a.prototype.readInt16LE=function(r,e){r=r>>>0,e||x(r,2,this.length);var n=this[r]|this[r+1]<<8;return n&32768?n|4294901760:n};a.prototype.readInt16BE=function(r,e){r=r>>>0,e||x(r,2,this.length);var n=this[r+1]|this[r]<<8;return n&32768?n|4294901760:n};a.prototype.readInt32LE=function(r,e){return r=r>>>0,e||x(r,4,this.length),this[r]|this[r+1]<<8|this[r+2]<<16|this[r+3]<<24};a.prototype.readInt32BE=function(r,e){return r=r>>>0,e||x(r,4,this.length),this[r]<<24|this[r+1]<<16|this[r+2]<<8|this[r+3]};a.prototype.readFloatLE=function(r,e){return r=r>>>0,e||x(r,4,this.length),M.read(this,r,!0,23,4)};a.prototype.readFloatBE=function(r,e){return r=r>>>0,e||x(r,4,this.length),M.read(this,r,!1,23,4)};a.prototype.readDoubleLE=function(r,e){return r=r>>>0,e||x(r,8,this.length),M.read(this,r,!0,52,8)};a.prototype.readDoubleBE=function(r,e){return r=r>>>0,e||x(r,8,this.length),M.read(this,r,!1,52,8)};function y(t,r,e,n,i,o){if(!a.isBuffer(t))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(e+n>t.length)throw new RangeError("Index out of range")}a.prototype.writeUintLE=a.prototype.writeUIntLE=function(r,e,n,i){if(r=+r,e=e>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;y(this,r,e,n,o,0)}var u=1,h=0;for(this[e]=r&255;++h<n&&(u*=256);)this[e+h]=r/u&255;return e+n};a.prototype.writeUintBE=a.prototype.writeUIntBE=function(r,e,n,i){if(r=+r,e=e>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;y(this,r,e,n,o,0)}var u=n-1,h=1;for(this[e+u]=r&255;--u>=0&&(h*=256);)this[e+u]=r/h&255;return e+n};a.prototype.writeUint8=a.prototype.writeUInt8=function(r,e,n){return r=+r,e=e>>>0,n||y(this,r,e,1,255,0),this[e]=r&255,e+1};a.prototype.writeUint16LE=a.prototype.writeUInt16LE=function(r,e,n){return r=+r,e=e>>>0,n||y(this,r,e,2,65535,0),this[e]=r&255,this[e+1]=r>>>8,e+2};a.prototype.writeUint16BE=a.prototype.writeUInt16BE=function(r,e,n){return r=+r,e=e>>>0,n||y(this,r,e,2,65535,0),this[e]=r>>>8,this[e+1]=r&255,e+2};a.prototype.writeUint32LE=a.prototype.writeUInt32LE=function(r,e,n){return r=+r,e=e>>>0,n||y(this,r,e,4,4294967295,0),this[e+3]=r>>>24,this[e+2]=r>>>16,this[e+1]=r>>>8,this[e]=r&255,e+4};a.prototype.writeUint32BE=a.prototype.writeUInt32BE=function(r,e,n){return r=+r,e=e>>>0,n||y(this,r,e,4,4294967295,0),this[e]=r>>>24,this[e+1]=r>>>16,this[e+2]=r>>>8,this[e+3]=r&255,e+4};a.prototype.writeIntLE=function(r,e,n,i){if(r=+r,e=e>>>0,!i){var o=Math.pow(2,8*n-1);y(this,r,e,n,o-1,-o)}var u=0,h=1,f=0;for(this[e]=r&255;++u<n&&(h*=256);)r<0&&f===0&&this[e+u-1]!==0&&(f=1),this[e+u]=(r/h>>0)-f&255;return e+n};a.prototype.writeIntBE=function(r,e,n,i){if(r=+r,e=e>>>0,!i){var o=Math.pow(2,8*n-1);y(this,r,e,n,o-1,-o)}var u=n-1,h=1,f=0;for(this[e+u]=r&255;--u>=0&&(h*=256);)r<0&&f===0&&this[e+u+1]!==0&&(f=1),this[e+u]=(r/h>>0)-f&255;return e+n};a.prototype.writeInt8=function(r,e,n){return r=+r,e=e>>>0,n||y(this,r,e,1,127,-128),r<0&&(r=255+r+1),this[e]=r&255,e+1};a.prototype.writeInt16LE=function(r,e,n){return r=+r,e=e>>>0,n||y(this,r,e,2,32767,-32768),this[e]=r&255,this[e+1]=r>>>8,e+2};a.prototype.writeInt16BE=function(r,e,n){return r=+r,e=e>>>0,n||y(this,r,e,2,32767,-32768),this[e]=r>>>8,this[e+1]=r&255,e+2};a.prototype.writeInt32LE=function(r,e,n){return r=+r,e=e>>>0,n||y(this,r,e,4,2147483647,-2147483648),this[e]=r&255,this[e+1]=r>>>8,this[e+2]=r>>>16,this[e+3]=r>>>24,e+4};a.prototype.writeInt32BE=function(r,e,n){return r=+r,e=e>>>0,n||y(this,r,e,4,2147483647,-2147483648),r<0&&(r=4294967295+r+1),this[e]=r>>>24,this[e+1]=r>>>16,this[e+2]=r>>>8,this[e+3]=r&255,e+4};function xr(t,r,e,n,i,o){if(e+n>t.length)throw new RangeError("Index out of range");if(e<0)throw new RangeError("Index out of range")}function yr(t,r,e,n,i){return r=+r,e=e>>>0,i||xr(t,r,e,4,34028234663852886e22,-34028234663852886e22),M.write(t,r,e,n,23,4),e+4}a.prototype.writeFloatLE=function(r,e,n){return yr(this,r,e,!0,n)};a.prototype.writeFloatBE=function(r,e,n){return yr(this,r,e,!1,n)};function mr(t,r,e,n,i){return r=+r,e=e>>>0,i||xr(t,r,e,8,17976931348623157e292,-17976931348623157e292),M.write(t,r,e,n,52,8),e+8}a.prototype.writeDoubleLE=function(r,e,n){return mr(this,r,e,!0,n)};a.prototype.writeDoubleBE=function(r,e,n){return mr(this,r,e,!1,n)};a.prototype.copy=function(r,e,n,i){if(!a.isBuffer(r))throw new TypeError("argument should be a Buffer");if(n||(n=0),!i&&i!==0&&(i=this.length),e>=r.length&&(e=r.length),e||(e=0),i>0&&i<n&&(i=n),i===n||r.length===0||this.length===0)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),r.length-e<i-n&&(i=r.length-e+n);var o=i-n;return this===r&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(e,n,i):Uint8Array.prototype.set.call(r,this.subarray(n,i),e),o};a.prototype.fill=function(r,e,n,i){if(typeof r=="string"){if(typeof e=="string"?(i=e,e=0,n=this.length):typeof n=="string"&&(i=n,n=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!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(e<0||this.length<e||this.length<n)throw new RangeError("Out of range index");if(n<=e)return this;e=e>>>0,n=n===void 0?this.length:n>>>0,r||(r=0);var u;if(typeof r=="number")for(u=e;u<n;++u)this[u]=r;else{var h=a.isBuffer(r)?r:a.from(r,i),f=h.length;if(f===0)throw new TypeError('The value "'+r+'" is invalid for argument "value"');for(u=0;u<n-e;++u)this[u+e]=h[u%f]}return this};var fe=/[^+/0-9A-Za-z-_]/g;function pe(t){if(t=t.split("=")[0],t=t.trim().replace(fe,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function J(t,r){r=r||1/0;for(var e,n=t.length,i=null,o=[],u=0;u<n;++u){if(e=t.charCodeAt(u),e>55295&&e<57344){if(!i){if(e>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=e;continue}if(e<56320){(r-=3)>-1&&o.push(239,191,189),i=e;continue}e=(i-55296<<10|e-56320)+65536}else i&&(r-=3)>-1&&o.push(239,191,189);if(i=null,e<128){if((r-=1)<0)break;o.push(e)}else if(e<2048){if((r-=2)<0)break;o.push(e>>6|192,e&63|128)}else if(e<65536){if((r-=3)<0)break;o.push(e>>12|224,e>>6&63|128,e&63|128)}else if(e<1114112){if((r-=4)<0)break;o.push(e>>18|240,e>>12&63|128,e>>6&63|128,e&63|128)}else throw new Error("Invalid code point")}return o}function ce(t){for(var r=[],e=0;e<t.length;++e)r.push(t.charCodeAt(e)&255);return r}function se(t,r){for(var e,n,i,o=[],u=0;u<t.length&&!((r-=2)<0);++u)e=t.charCodeAt(u),n=e>>8,i=e%256,o.push(i),o.push(n);return o}function Er(t){return q.toByteArray(pe(t))}function V(t,r,e,n){for(var i=0;i<n&&!(i+e>=r.length||i>=t.length);++i)r[i+e]=t[i];return i}function v(t,r){return t instanceof r||t!=null&&t.constructor!=null&&t.constructor.name!=null&&t.constructor.name===r.name}function Z(t){return t!==t}var le=function(){for(var t="0123456789abcdef",r=new Array(256),e=0;e<16;++e)for(var n=e*16,i=0;i<16;++i)r[n+i]=t[e]+t[i];return r}()});var vr=b((_e,Tr)=>{l();var w=Tr.exports={},I,B;function $(){throw new Error("setTimeout has not been defined")}function j(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?I=setTimeout:I=$}catch(t){I=$}try{typeof clearTimeout=="function"?B=clearTimeout:B=j}catch(t){B=j}})();function dr(t){if(I===setTimeout)return setTimeout(t,0);if((I===$||!I)&&setTimeout)return I=setTimeout,setTimeout(t,0);try{return I(t,0)}catch(r){try{return I.call(null,t,0)}catch(e){return I.call(this,t,0)}}}function we(t){if(B===clearTimeout)return clearTimeout(t);if((B===j||!B)&&clearTimeout)return B=clearTimeout,clearTimeout(t);try{return B(t)}catch(r){try{return B.call(null,t)}catch(e){return B.call(this,t)}}}var U=[],O=!1,S,X=-1;function xe(){!O||!S||(O=!1,S.length?U=S.concat(U):X=-1,U.length&&Ar())}function Ar(){if(!O){var t=dr(xe);O=!0;for(var r=U.length;r;){for(S=U,U=[];++X<r;)S&&S[X].run();X=-1,r=U.length}S=null,O=!1,we(t)}}w.nextTick=function(t){var r=new Array(arguments.length-1);if(arguments.length>1)for(var e=1;e<arguments.length;e++)r[e-1]=arguments[e];U.push(new Fr(t,r)),U.length===1&&!O&&dr(Ar)};function Fr(t,r){this.fun=t,this.array=r}Fr.prototype.run=function(){this.fun.apply(null,this.array)};w.title="browser";w.browser=!0;w.env={};w.argv=[];w.version="";w.versions={};function _(){}w.on=_;w.addListener=_;w.once=_;w.off=_;w.removeListener=_;w.removeAllListeners=_;w.emit=_;w.prependListener=_;w.prependOnceListener=_;w.listeners=function(t){return[]};w.binding=function(t){throw new Error("process.binding is not supported")};w.cwd=function(){return"/"};w.chdir=function(t){throw new Error("process.chdir is not supported")};w.umask=function(){return 0}});var g,d,Ce,l=Dr(()=>{g=tr(gr()),d=tr(vr()),Ce=function(t){function r(){var n=this||self;return delete t.prototype.__magic__,n}if(typeof globalThis=="object")return globalThis;if(this)return r();t.defineProperty(t.prototype,"__magic__",{configurable:!0,get:r});var e=__magic__;return e}(Object)});var ve={};Or(ve,{getLedgerErrorCodes:()=>Te,getRandomAddressFromNetwork:()=>ge,optionalRedirect:()=>Ee});module.exports=kr(ve);l();l();l();l();var Ir=()=>typeof window!="undefined"&&typeof(window==null?void 0:window.location)!="undefined";var Br=()=>{if(!Ir())return{pathname:"",hash:"",origin:"",href:"",search:""};let{location:{pathname:r,hash:e,origin:n,href:i,search:o}}=window;return{pathname:r,hash:e,origin:n,href:i,search:o}};l();var ye=!1;var Rr=({shouldForcePageReload:t,timeout:r=0,url:e})=>{ye||setTimeout(()=>window?(e==null?void 0:e.startsWith("/"))&&!t?window.history.pushState("","",e):window.location.assign(e):void 0,r)};var me=200;function Ee({callbackRoute:t,onLoginRedirect:r,options:e}){let n=Boolean(t),i=typeof r=="function";if(n&&t!=null){if(i)return r(t,e);let{pathname:o}=Br();o.includes(t)||Rr({url:t,timeout:me})}}l();function ge(t){return t[Math.floor(Math.random()*t.length)]}l();l();var rr={36864:{code:"codeSuccess",message:"Success"},27013:{code:"ERR_USER_DENIED",message:"Rejected by user"},27904:{code:"ERR_UNKNOWN_INSTRUCTION",message:"Unknown instruction"},28160:{code:"ERR_WRONG_CLA",message:"Wrong CLA"},28161:{code:"ERR_INVALID_ARGUMENTS",message:"Invalid arguments"},28162:{code:"ERR_INVALID_MESSAGE",message:"Invalid message"},28163:{code:"ERR_INVALID_P1",message:"Invalid P1"},28164:{code:"ERR_MESSAGE_TOO_LONG",message:"Message too long"},28165:{code:"ERR_RECEIVER_TOO_LONG",message:"Receiver too long"},28166:{code:"ERR_AMOUNT_TOO_LONG",message:"Amount too long"},28167:{code:"ERR_CONTRACT_DATA_DISABLED",message:"Contract data disabled in app options"},28168:{code:"ERR_MESSAGE_INCOMPLETE",message:"Message incomplete"},28176:{code:"ERR_SIGNATURE_FAILED",message:"Signature failed"},28169:{code:"ERR_WRONG_TX_VERSION",message:"Wrong TX version"},28170:{code:"ERR_NONCE_TOO_LONG",message:"Nonce too long"},28171:{code:"ERR_INVALID_AMOUNT",message:"Invalid amount"},28172:{code:"ERR_INVALID_FEE",message:"Invalid fee"},28173:{code:"ERR_PRETTY_FAILED",message:"Pretty failed"},28174:{code:"ERR_DATA_TOO_LONG",message:"Data too long"},28175:{code:"ERR_WRONG_TX_OPTIONS",message:"Invalid transaction options"},28177:{code:"ERR_SIGN_TX_DEPRECATED",message:"Regular transaction signing is deprecated in this version. Use hash signing."}};var Ur="Check if the MultiversX app is open on Ledger",de=28161,Ae=28160,Fe=[de,Ae];function Te(t){let r=null;if((t==null?void 0:t.statusCode)in rr){let e=t==null?void 0:t.statusCode,{message:n}=rr[e];r=Fe.includes(e)?Ur:n}return{errorMessage:r,defaultErrorMessage:Ur}}0&&(module.exports={getLedgerErrorCodes,getRandomAddressFromNetwork,optionalRedirect});
2
2
  /*!
3
3
  * The buffer module from node.js, for the browser.
4
4
  *
@@ -1,4 +1,4 @@
1
- "use strict";var Cr=Object.create;var N=Object.defineProperty;var Lr=Object.getOwnPropertyDescriptor;var Rr=Object.getOwnPropertyNames;var Sr=Object.getPrototypeOf,_r=Object.prototype.hasOwnProperty;var Mr=(e,r)=>()=>(e&&(r=e(e=0)),r);var O=(e,r)=>()=>(r||e((r={exports:{}}).exports,r),r.exports),Dr=(e,r)=>{for(var t in r)N(e,t,{get:r[t],enumerable:!0})},rr=(e,r,t,i)=>{if(r&&typeof r=="object"||typeof r=="function")for(let n of Rr(r))!_r.call(e,n)&&n!==t&&N(e,n,{get:()=>r[n],enumerable:!(i=Lr(r,n))||i.enumerable});return e};var tr=(e,r,t)=>(t=e!=null?Cr(Sr(e)):{},rr(r||!e||!e.__esModule?N(t,"default",{value:e,enumerable:!0}):t,e)),kr=e=>rr(N({},"__esModule",{value:!0}),e);var nr=O(W=>{"use strict";y();W.byteLength=Nr;W.toByteArray=Wr;W.fromByteArray=Gr;var F=[],E=[],br=typeof Uint8Array!="undefined"?Uint8Array:Array,H="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(L=0,er=H.length;L<er;++L)F[L]=H[L],E[H.charCodeAt(L)]=L;var L,er;E["-".charCodeAt(0)]=62;E["_".charCodeAt(0)]=63;function ir(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=ir(e),t=r[0],i=r[1];return(t+i)*3/4-i}function Or(e,r,t){return(r+t)*3/4-t}function Wr(e){var r,t=ir(e),i=t[0],n=t[1],o=new br(Or(e,i,n)),u=0,h=n>0?i-4:i,f;for(f=0;f<h;f+=4)r=E[e.charCodeAt(f)]<<18|E[e.charCodeAt(f+1)]<<12|E[e.charCodeAt(f+2)]<<6|E[e.charCodeAt(f+3)],o[u++]=r>>16&255,o[u++]=r>>8&255,o[u++]=r&255;return n===2&&(r=E[e.charCodeAt(f)]<<2|E[e.charCodeAt(f+1)]>>4,o[u++]=r&255),n===1&&(r=E[e.charCodeAt(f)]<<10|E[e.charCodeAt(f+1)]<<4|E[e.charCodeAt(f+2)]>>2,o[u++]=r>>8&255,o[u++]=r&255),o}function Yr(e){return F[e>>18&63]+F[e>>12&63]+F[e>>6&63]+F[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 Gr(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(F[r>>2]+F[r<<4&63]+"==")):i===2&&(r=(e[t-2]<<8)+e[t-1],n.push(F[r>>10]+F[r>>4&63]+F[r<<2&63]+"=")),n.join("")}});var or=O(X=>{y();X.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,g=t?-1:1,m=e[r+p];for(p+=g,o=m&(1<<-s)-1,m>>=-s,s+=h;s>0;o=o*256+e[r+p],p+=g,s-=8);for(u=o&(1<<-s)-1,o>>=-s,s+=i;s>0;u=u*256+e[r+p],p+=g,s-=8);if(o===0)o=1-c;else{if(o===f)return u?NaN:(m?-1:1)*(1/0);u=u+Math.pow(2,i),o=o-c}return(m?-1:1)*u*Math.pow(2,o-i)};X.write=function(e,r,t,i,n,o){var u,h,f,c=o*8-n-1,s=(1<<c)-1,p=s>>1,g=n===23?Math.pow(2,-24)-Math.pow(2,-77):0,m=i?0:o-1,M=i?1:-1,Ir=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+=g/f:r+=g*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+m]=h&255,m+=M,h/=256,n-=8);for(u=u<<n|h,c+=n;c>0;e[t+m]=u&255,m+=M,u/=256,c-=8);e[t+m-M]|=Ir*128}});var Er=O(k=>{"use strict";y();var z=nr(),D=or(),ur=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;k.Buffer=a;k.SlowBuffer=Vr;k.INSPECT_MAX_BYTES=50;var Y=2147483647;k.kMaxLength=Y;a.TYPED_ARRAY_SUPPORT=Hr();!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 Hr(){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>Y)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 K(e)}return fr(e,r,t)}a.poolSize=8192;function fr(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 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 fr(e,r,t)};Object.setPrototypeOf(a.prototype,Uint8Array.prototype);Object.setPrototypeOf(a,Uint8Array);function pr(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 pr(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 Xr(e,r,t)};function K(e){return pr(e),d(e<0?0:Z(e)|0)}a.allocUnsafe=function(e){return K(e)};a.allocUnsafeSlow=function(e){return K(e)};function zr(e,r){if((typeof r!="string"||r==="")&&(r="utf8"),!a.isEncoding(r))throw new TypeError("Unknown encoding: "+r);var t=cr(e,r)|0,i=d(t),n=i.write(e,r);return n!==t&&(i=i.slice(0,n)),i}function J(e){for(var r=e.length<0?0:Z(e.length)|0,t=d(r),i=0;i<r;i+=1)t[i]=e[i]&255;return t}function Jr(e){if(A(e,Uint8Array)){var r=new Uint8Array(e);return Q(r.buffer,r.byteOffset,r.byteLength)}return J(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 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=Z(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"||$(e.length)?d(0):J(e);if(e.type==="Buffer"&&Array.isArray(e.data))return J(e.data)}function Z(e){if(e>=Y)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+Y.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(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 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(A(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 cr(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,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 V(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return t*2;case"hex":return t>>>1;case"base64":return mr(e).length;default:if(n)return i?-1:V(e).length;r=(""+r).toLowerCase(),n=!0}}a.byteLength=cr;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 ot(this,r,t);case"utf8":case"utf-8":return lr(this,r,t);case"ascii":return it(this,r,t);case"latin1":case"binary":return nt(this,r,t);case"base64":return tt(this,r,t);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ut(this,r,t);default:if(i)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),i=!0}}a.prototype._isBuffer=!0;function S(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)S(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)S(this,t,t+3),S(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)S(this,t,t+7),S(this,t+1,t+6),S(this,t+2,t+5),S(this,t+3,t+4);return this};a.prototype.toString=function(){var r=this.length;return r===0?"":arguments.length===0?lr(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=k.INSPECT_MAX_BYTES;return r=this.toString("hex",0,t).replace(/(.{2})/g,"$1 ").trim(),this.length>t&&(r+=" ... "),"<Buffer "+r+">"};ur&&(a.prototype[ur]=a.prototype.inspect);a.prototype.compare=function(r,t,i,n,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),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 sr(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,$(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:ar(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):ar(e,[r],t,i,n);throw new TypeError("val must be string, number or Buffer")}function ar(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(m,M){return o===1?m[M]:m.readUInt16BE(M*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,g=0;g<h;g++)if(f(e,c+g)!==f(r,g)){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 sr(this,r,t,i,!0)};a.prototype.lastIndexOf=function(r,t,i){return sr(this,r,t,i,!1)};function Zr(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($(h))return u;e[t+u]=h}return u}function $r(e,r,t,i){return q(V(r,e.length-t),e,t,i)}function Pr(e,r,t,i){return q(ft(r),e,t,i)}function jr(e,r,t,i){return q(mr(r),e,t,i)}function rt(e,r,t,i){return q(pt(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 Zr(this,r,t,i);case"utf8":case"utf-8":return $r(this,r,t,i);case"ascii":case"latin1":case"binary":return Pr(this,r,t,i);case"base64":return jr(this,r,t,i);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return rt(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 tt(e,r,t){return r===0&&t===e.length?z.fromByteArray(e):z.fromByteArray(e.slice(r,t))}function lr(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 et(i)}var hr=4096;function et(e){var r=e.length;if(r<=hr)return String.fromCharCode.apply(String,e);for(var t="",i=0;i<r;)t+=String.fromCharCode.apply(String,e.slice(i,i+=hr));return t}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]&127);return i}function nt(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 ot(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+=ct[e[o]];return n}function ut(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),D.read(this,r,!0,23,4)};a.prototype.readFloatBE=function(r,t){return r=r>>>0,t||w(r,4,this.length),D.read(this,r,!1,23,4)};a.prototype.readDoubleLE=function(r,t){return r=r>>>0,t||w(r,8,this.length),D.read(this,r,!0,52,8)};a.prototype.readDoubleBE=function(r,t){return r=r>>>0,t||w(r,8,this.length),D.read(this,r,!1,52,8)};function x(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;x(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;x(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||x(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||x(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||x(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||x(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||x(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);x(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);x(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||x(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||x(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||x(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||x(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||x(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 wr(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 yr(e,r,t,i,n){return r=+r,t=t>>>0,n||wr(e,r,t,4,34028234663852886e22,-34028234663852886e22),D.write(e,r,t,i,23,4),t+4}a.prototype.writeFloatLE=function(r,t,i){return yr(this,r,t,!0,i)};a.prototype.writeFloatBE=function(r,t,i){return yr(this,r,t,!1,i)};function xr(e,r,t,i,n){return r=+r,t=t>>>0,n||wr(e,r,t,8,17976931348623157e292,-17976931348623157e292),D.write(e,r,t,i,52,8),t+8}a.prototype.writeDoubleLE=function(r,t,i){return xr(this,r,t,!0,i)};a.prototype.writeDoubleBE=function(r,t,i){return xr(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 at=/[^+/0-9A-Za-z-_]/g;function ht(e){if(e=e.split("=")[0],e=e.trim().replace(at,""),e.length<2)return"";for(;e.length%4!==0;)e=e+"=";return e}function V(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 ft(e){for(var r=[],t=0;t<e.length;++t)r.push(e.charCodeAt(t)&255);return r}function pt(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 mr(e){return z.toByteArray(ht(e))}function q(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 A(e,r){return e instanceof r||e!=null&&e.constructor!=null&&e.constructor.name!=null&&e.constructor.name===r.name}function $(e){return e!==e}var ct=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 vr=O((Bt,Br)=>{y();var l=Br.exports={},B,v;function P(){throw new Error("setTimeout has not been defined")}function j(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?B=setTimeout:B=P}catch(e){B=P}try{typeof clearTimeout=="function"?v=clearTimeout:v=j}catch(e){v=j}})();function gr(e){if(B===setTimeout)return setTimeout(e,0);if((B===P||!B)&&setTimeout)return B=setTimeout,setTimeout(e,0);try{return B(e,0)}catch(r){try{return B.call(null,e,0)}catch(t){return B.call(this,e,0)}}}function st(e){if(v===clearTimeout)return clearTimeout(e);if((v===j||!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 T=[],b=!1,_,G=-1;function lt(){!b||!_||(b=!1,_.length?T=_.concat(T):G=-1,T.length&&Fr())}function Fr(){if(!b){var e=gr(lt);b=!0;for(var r=T.length;r;){for(_=T,T=[];++G<r;)_&&_[G].run();G=-1,r=T.length}_=null,b=!1,st(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 Ar(e,r)),T.length===1&&!b&&gr(Fr)};function Ar(e,r){this.fun=e,this.array=r}Ar.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 I,C,vt,y=Mr(()=>{I=tr(Er()),C=tr(vr()),vt=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 mt={};Dr(mt,{optionalRedirect:()=>xt});module.exports=kr(mt);y();y();y();var dr=()=>typeof window!="undefined"&&typeof(window==null?void 0:window.location)!="undefined";var Tr=()=>{if(!dr())return{pathname:"",hash:"",origin:"",href:"",search:""};let{location:{pathname:r,hash:t,origin:i,href:n,search:o}}=window;return{pathname:r,hash:t,origin:i,href:n,search:o}};y();var wt=!1;var Ur=(e,r=0)=>{wt||setTimeout(()=>window?(e==null?void 0:e.startsWith("/"))?window.history.pushState("","",e):window.location.assign(e):void 0,r)};var yt=200;function xt({callbackRoute:e,onLoginRedirect:r,options:t}){let i=Boolean(e),n=typeof r=="function";if(i&&e!=null){if(n)return r(e,t);let{pathname:o}=Tr();o.includes(e)||Ur(e,yt)}}0&&(module.exports={optionalRedirect});
1
+ "use strict";var Cr=Object.create;var N=Object.defineProperty;var Lr=Object.getOwnPropertyDescriptor;var Rr=Object.getOwnPropertyNames;var Sr=Object.getPrototypeOf,_r=Object.prototype.hasOwnProperty;var Mr=(e,r)=>()=>(e&&(r=e(e=0)),r);var O=(e,r)=>()=>(r||e((r={exports:{}}).exports,r),r.exports),Dr=(e,r)=>{for(var t in r)N(e,t,{get:r[t],enumerable:!0})},rr=(e,r,t,i)=>{if(r&&typeof r=="object"||typeof r=="function")for(let n of Rr(r))!_r.call(e,n)&&n!==t&&N(e,n,{get:()=>r[n],enumerable:!(i=Lr(r,n))||i.enumerable});return e};var tr=(e,r,t)=>(t=e!=null?Cr(Sr(e)):{},rr(r||!e||!e.__esModule?N(t,"default",{value:e,enumerable:!0}):t,e)),kr=e=>rr(N({},"__esModule",{value:!0}),e);var nr=O(W=>{"use strict";y();W.byteLength=Nr;W.toByteArray=Wr;W.fromByteArray=Gr;var F=[],E=[],br=typeof Uint8Array!="undefined"?Uint8Array:Array,H="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(L=0,er=H.length;L<er;++L)F[L]=H[L],E[H.charCodeAt(L)]=L;var L,er;E["-".charCodeAt(0)]=62;E["_".charCodeAt(0)]=63;function ir(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=ir(e),t=r[0],i=r[1];return(t+i)*3/4-i}function Or(e,r,t){return(r+t)*3/4-t}function Wr(e){var r,t=ir(e),i=t[0],n=t[1],o=new br(Or(e,i,n)),u=0,h=n>0?i-4:i,f;for(f=0;f<h;f+=4)r=E[e.charCodeAt(f)]<<18|E[e.charCodeAt(f+1)]<<12|E[e.charCodeAt(f+2)]<<6|E[e.charCodeAt(f+3)],o[u++]=r>>16&255,o[u++]=r>>8&255,o[u++]=r&255;return n===2&&(r=E[e.charCodeAt(f)]<<2|E[e.charCodeAt(f+1)]>>4,o[u++]=r&255),n===1&&(r=E[e.charCodeAt(f)]<<10|E[e.charCodeAt(f+1)]<<4|E[e.charCodeAt(f+2)]>>2,o[u++]=r>>8&255,o[u++]=r&255),o}function Yr(e){return F[e>>18&63]+F[e>>12&63]+F[e>>6&63]+F[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 Gr(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(F[r>>2]+F[r<<4&63]+"==")):i===2&&(r=(e[t-2]<<8)+e[t-1],n.push(F[r>>10]+F[r>>4&63]+F[r<<2&63]+"=")),n.join("")}});var or=O(X=>{y();X.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,g=t?-1:1,m=e[r+p];for(p+=g,o=m&(1<<-s)-1,m>>=-s,s+=h;s>0;o=o*256+e[r+p],p+=g,s-=8);for(u=o&(1<<-s)-1,o>>=-s,s+=i;s>0;u=u*256+e[r+p],p+=g,s-=8);if(o===0)o=1-c;else{if(o===f)return u?NaN:(m?-1:1)*(1/0);u=u+Math.pow(2,i),o=o-c}return(m?-1:1)*u*Math.pow(2,o-i)};X.write=function(e,r,t,i,n,o){var u,h,f,c=o*8-n-1,s=(1<<c)-1,p=s>>1,g=n===23?Math.pow(2,-24)-Math.pow(2,-77):0,m=i?0:o-1,M=i?1:-1,Ir=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+=g/f:r+=g*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+m]=h&255,m+=M,h/=256,n-=8);for(u=u<<n|h,c+=n;c>0;e[t+m]=u&255,m+=M,u/=256,c-=8);e[t+m-M]|=Ir*128}});var Er=O(k=>{"use strict";y();var z=nr(),D=or(),ur=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;k.Buffer=a;k.SlowBuffer=Vr;k.INSPECT_MAX_BYTES=50;var Y=2147483647;k.kMaxLength=Y;a.TYPED_ARRAY_SUPPORT=Hr();!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 Hr(){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>Y)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 K(e)}return fr(e,r,t)}a.poolSize=8192;function fr(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 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 fr(e,r,t)};Object.setPrototypeOf(a.prototype,Uint8Array.prototype);Object.setPrototypeOf(a,Uint8Array);function pr(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 pr(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 Xr(e,r,t)};function K(e){return pr(e),d(e<0?0:Z(e)|0)}a.allocUnsafe=function(e){return K(e)};a.allocUnsafeSlow=function(e){return K(e)};function zr(e,r){if((typeof r!="string"||r==="")&&(r="utf8"),!a.isEncoding(r))throw new TypeError("Unknown encoding: "+r);var t=cr(e,r)|0,i=d(t),n=i.write(e,r);return n!==t&&(i=i.slice(0,n)),i}function J(e){for(var r=e.length<0?0:Z(e.length)|0,t=d(r),i=0;i<r;i+=1)t[i]=e[i]&255;return t}function Jr(e){if(A(e,Uint8Array)){var r=new Uint8Array(e);return Q(r.buffer,r.byteOffset,r.byteLength)}return J(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 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=Z(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"||$(e.length)?d(0):J(e);if(e.type==="Buffer"&&Array.isArray(e.data))return J(e.data)}function Z(e){if(e>=Y)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+Y.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(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 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(A(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 cr(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,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 V(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return t*2;case"hex":return t>>>1;case"base64":return mr(e).length;default:if(n)return i?-1:V(e).length;r=(""+r).toLowerCase(),n=!0}}a.byteLength=cr;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 ot(this,r,t);case"utf8":case"utf-8":return lr(this,r,t);case"ascii":return it(this,r,t);case"latin1":case"binary":return nt(this,r,t);case"base64":return tt(this,r,t);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ut(this,r,t);default:if(i)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),i=!0}}a.prototype._isBuffer=!0;function S(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)S(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)S(this,t,t+3),S(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)S(this,t,t+7),S(this,t+1,t+6),S(this,t+2,t+5),S(this,t+3,t+4);return this};a.prototype.toString=function(){var r=this.length;return r===0?"":arguments.length===0?lr(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=k.INSPECT_MAX_BYTES;return r=this.toString("hex",0,t).replace(/(.{2})/g,"$1 ").trim(),this.length>t&&(r+=" ... "),"<Buffer "+r+">"};ur&&(a.prototype[ur]=a.prototype.inspect);a.prototype.compare=function(r,t,i,n,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),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 sr(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,$(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:ar(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):ar(e,[r],t,i,n);throw new TypeError("val must be string, number or Buffer")}function ar(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(m,M){return o===1?m[M]:m.readUInt16BE(M*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,g=0;g<h;g++)if(f(e,c+g)!==f(r,g)){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 sr(this,r,t,i,!0)};a.prototype.lastIndexOf=function(r,t,i){return sr(this,r,t,i,!1)};function Zr(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($(h))return u;e[t+u]=h}return u}function $r(e,r,t,i){return q(V(r,e.length-t),e,t,i)}function Pr(e,r,t,i){return q(ft(r),e,t,i)}function jr(e,r,t,i){return q(mr(r),e,t,i)}function rt(e,r,t,i){return q(pt(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 Zr(this,r,t,i);case"utf8":case"utf-8":return $r(this,r,t,i);case"ascii":case"latin1":case"binary":return Pr(this,r,t,i);case"base64":return jr(this,r,t,i);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return rt(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 tt(e,r,t){return r===0&&t===e.length?z.fromByteArray(e):z.fromByteArray(e.slice(r,t))}function lr(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 et(i)}var hr=4096;function et(e){var r=e.length;if(r<=hr)return String.fromCharCode.apply(String,e);for(var t="",i=0;i<r;)t+=String.fromCharCode.apply(String,e.slice(i,i+=hr));return t}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]&127);return i}function nt(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 ot(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+=ct[e[o]];return n}function ut(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),D.read(this,r,!0,23,4)};a.prototype.readFloatBE=function(r,t){return r=r>>>0,t||w(r,4,this.length),D.read(this,r,!1,23,4)};a.prototype.readDoubleLE=function(r,t){return r=r>>>0,t||w(r,8,this.length),D.read(this,r,!0,52,8)};a.prototype.readDoubleBE=function(r,t){return r=r>>>0,t||w(r,8,this.length),D.read(this,r,!1,52,8)};function x(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;x(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;x(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||x(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||x(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||x(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||x(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||x(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);x(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);x(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||x(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||x(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||x(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||x(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||x(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 wr(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 yr(e,r,t,i,n){return r=+r,t=t>>>0,n||wr(e,r,t,4,34028234663852886e22,-34028234663852886e22),D.write(e,r,t,i,23,4),t+4}a.prototype.writeFloatLE=function(r,t,i){return yr(this,r,t,!0,i)};a.prototype.writeFloatBE=function(r,t,i){return yr(this,r,t,!1,i)};function xr(e,r,t,i,n){return r=+r,t=t>>>0,n||wr(e,r,t,8,17976931348623157e292,-17976931348623157e292),D.write(e,r,t,i,52,8),t+8}a.prototype.writeDoubleLE=function(r,t,i){return xr(this,r,t,!0,i)};a.prototype.writeDoubleBE=function(r,t,i){return xr(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 at=/[^+/0-9A-Za-z-_]/g;function ht(e){if(e=e.split("=")[0],e=e.trim().replace(at,""),e.length<2)return"";for(;e.length%4!==0;)e=e+"=";return e}function V(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 ft(e){for(var r=[],t=0;t<e.length;++t)r.push(e.charCodeAt(t)&255);return r}function pt(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 mr(e){return z.toByteArray(ht(e))}function q(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 A(e,r){return e instanceof r||e!=null&&e.constructor!=null&&e.constructor.name!=null&&e.constructor.name===r.name}function $(e){return e!==e}var ct=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 vr=O((Bt,Br)=>{y();var l=Br.exports={},B,v;function P(){throw new Error("setTimeout has not been defined")}function j(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?B=setTimeout:B=P}catch(e){B=P}try{typeof clearTimeout=="function"?v=clearTimeout:v=j}catch(e){v=j}})();function gr(e){if(B===setTimeout)return setTimeout(e,0);if((B===P||!B)&&setTimeout)return B=setTimeout,setTimeout(e,0);try{return B(e,0)}catch(r){try{return B.call(null,e,0)}catch(t){return B.call(this,e,0)}}}function st(e){if(v===clearTimeout)return clearTimeout(e);if((v===j||!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 T=[],b=!1,_,G=-1;function lt(){!b||!_||(b=!1,_.length?T=_.concat(T):G=-1,T.length&&Fr())}function Fr(){if(!b){var e=gr(lt);b=!0;for(var r=T.length;r;){for(_=T,T=[];++G<r;)_&&_[G].run();G=-1,r=T.length}_=null,b=!1,st(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 Ar(e,r)),T.length===1&&!b&&gr(Fr)};function Ar(e,r){this.fun=e,this.array=r}Ar.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 I,C,vt,y=Mr(()=>{I=tr(Er()),C=tr(vr()),vt=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 mt={};Dr(mt,{optionalRedirect:()=>xt});module.exports=kr(mt);y();y();y();var dr=()=>typeof window!="undefined"&&typeof(window==null?void 0:window.location)!="undefined";var Tr=()=>{if(!dr())return{pathname:"",hash:"",origin:"",href:"",search:""};let{location:{pathname:r,hash:t,origin:i,href:n,search:o}}=window;return{pathname:r,hash:t,origin:i,href:n,search:o}};y();var wt=!1;var Ur=({shouldForcePageReload:e,timeout:r=0,url:t})=>{wt||setTimeout(()=>window?(t==null?void 0:t.startsWith("/"))&&!e?window.history.pushState("","",t):window.location.assign(t):void 0,r)};var yt=200;function xt({callbackRoute:e,onLoginRedirect:r,options:t}){let i=Boolean(e),n=typeof r=="function";if(i&&e!=null){if(n)return r(e,t);let{pathname:o}=Tr();o.includes(e)||Ur({url:e,timeout:yt})}}0&&(module.exports={optionalRedirect});
2
2
  /*!
3
3
  * The buffer module from node.js, for the browser.
4
4
  *