@multiversx/sdk-dapp 2.2.8 → 2.2.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 (678) 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/index.js +1 -1
  9. package/UI/SignTransactionsModals/SignTransactionsModals.js +1 -1
  10. package/UI/SignTransactionsModals/SignWithDeviceModal/SignStep.js +1 -1
  11. package/UI/SignTransactionsModals/SignWithDeviceModal/index.js +1 -1
  12. package/UI/SignTransactionsModals/SignWithExtensionModal/index.js +1 -1
  13. package/UI/SignTransactionsModals/SignWithLedgerModal/index.js +1 -1
  14. package/UI/SignTransactionsModals/SignWithWalletConnectModal/index.js +1 -1
  15. package/UI/SignTransactionsModals/components/ConfirmationScreen.js +1 -1
  16. package/UI/SignTransactionsModals/components/DeviceConfirmationScreen.js +1 -1
  17. package/UI/SignTransactionsModals/components/TransactionStatusToast.js +1 -1
  18. package/UI/SignTransactionsModals/components/index.js +1 -1
  19. package/UI/SignTransactionsModals/index.js +1 -1
  20. package/UI/TokenDetails/index.js +1 -1
  21. package/UI/TransactionDetails/TransactionDetails.js +1 -1
  22. package/UI/TransactionDetails/components/TransactionDetailsBody.js +1 -1
  23. package/UI/TransactionDetails/components/index.js +1 -1
  24. package/UI/TransactionDetails/index.js +1 -1
  25. package/UI/TransactionInfo/TransactionInfo.js +1 -1
  26. package/UI/TransactionInfo/components/AddressDetailItem/AddressDetailitem.js +1 -1
  27. package/UI/TransactionInfo/components/AddressDetailItem/index.js +1 -1
  28. package/UI/TransactionInfo/components/NonceMessage/NonceMessage.js +1 -1
  29. package/UI/TransactionInfo/components/NonceMessage/index.js +1 -1
  30. package/UI/TransactionInfo/components/OperationsList/OperationList.js +1 -1
  31. package/UI/TransactionInfo/components/OperationsList/components/DetailedItem.js +1 -1
  32. package/UI/TransactionInfo/components/OperationsList/components/OperationBlock.js +1 -1
  33. package/UI/TransactionInfo/components/OperationsList/components/OperationRow.js +1 -1
  34. package/UI/TransactionInfo/components/OperationsList/components/OperationText.js +1 -1
  35. package/UI/TransactionInfo/components/OperationsList/components/OperationToken.js +1 -1
  36. package/UI/TransactionInfo/components/OperationsList/components/index.js +1 -1
  37. package/UI/TransactionInfo/components/OperationsList/index.js +1 -1
  38. package/UI/TransactionInfo/components/ScResultsList/ScResultsList.js +1 -1
  39. package/UI/TransactionInfo/components/ScResultsList/components/ResultHash/ResultHash.js +1 -1
  40. package/UI/TransactionInfo/components/ScResultsList/components/ResultHash/index.js +1 -1
  41. package/UI/TransactionInfo/components/ScResultsList/components/ResultReceiver/ResultReceiver.js +1 -1
  42. package/UI/TransactionInfo/components/ScResultsList/components/ResultReceiver/index.js +1 -1
  43. package/UI/TransactionInfo/components/ScResultsList/components/ResultSender/ResultSender.js +1 -1
  44. package/UI/TransactionInfo/components/ScResultsList/components/ResultSender/index.js +1 -1
  45. package/UI/TransactionInfo/components/ScResultsList/index.js +1 -1
  46. package/UI/TransactionInfo/components/ScrDetailItem/ScrDetailItem.js +1 -1
  47. package/UI/TransactionInfo/components/ScrDetailItem/index.js +1 -1
  48. package/UI/TransactionInfo/components/TransactionAction/TransactionAction.js +1 -1
  49. package/UI/TransactionInfo/components/TransactionAction/components/ActionText/index.js +1 -1
  50. package/UI/TransactionInfo/components/TransactionAction/components/ActionToken.js +1 -1
  51. package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/TransactionActionCollection.js +1 -1
  52. package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/TransactionActionNft.js +1 -1
  53. package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/TransactionActionToken.js +1 -1
  54. package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/index.js +1 -1
  55. package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/index.js +1 -1
  56. package/UI/TransactionInfo/components/TransactionAction/components/index.js +1 -1
  57. package/UI/TransactionInfo/components/TransactionAction/index.js +1 -1
  58. package/UI/TransactionInfo/components/TransactionLogs/TransactionLogs.js +1 -1
  59. package/UI/TransactionInfo/components/TransactionLogs/index.js +1 -1
  60. package/UI/TransactionInfo/components/index.js +1 -1
  61. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFee/TransactionInfoFee.js +1 -1
  62. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFee/index.js +1 -1
  63. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFrom/TransactionInfoFrom.js +1 -1
  64. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFrom/index.js +1 -1
  65. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMethod/TransactionInfoMethod.js +1 -1
  66. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMethod/index.js +1 -1
  67. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMiniblock/TransactionInfoMiniblock.js +1 -1
  68. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMiniblock/index.js +1 -1
  69. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoNonce/TransactionInfoNonce.js +1 -1
  70. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoNonce/index.js +1 -1
  71. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoScResults/TransactionInfoScResults.js +1 -1
  72. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoScResults/index.js +1 -1
  73. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTo/TransactionInfoTo.js +1 -1
  74. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTo/index.js +1 -1
  75. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTokenOperations/TransactionInfoTokenOperations.js +1 -1
  76. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTokenOperations/index.js +1 -1
  77. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoValue/TransactionInfoValue.js +1 -1
  78. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoValue/index.js +1 -1
  79. package/UI/TransactionInfo/components/transactionInfoFields/index.js +1 -1
  80. package/UI/TransactionInfo/index.js +1 -1
  81. package/UI/TransactionsTable/TransactionsTable.js +1 -1
  82. package/UI/TransactionsTable/components/LockedTokenAddressIcon.js +1 -1
  83. package/UI/TransactionsTable/components/TransactionHash.js +1 -1
  84. package/UI/TransactionsTable/components/TransactionReceiver.js +1 -1
  85. package/UI/TransactionsTable/components/TransactionRow.js +1 -1
  86. package/UI/TransactionsTable/components/TransactionSender.js +1 -1
  87. package/UI/TransactionsTable/components/TransactionShardsTransition.js +1 -1
  88. package/UI/TransactionsTable/components/TransactionValue/TransactionValue.js +1 -1
  89. package/UI/TransactionsTable/components/TransactionValue/index.js +1 -1
  90. package/UI/TransactionsTable/components/index.js +1 -1
  91. package/UI/TransactionsTable/index.js +1 -1
  92. package/UI/TransactionsToastList/TransactionsToastList.js +1 -1
  93. package/UI/TransactionsToastList/components/CustomToast/CustomToast.js +1 -1
  94. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/IconToast.js +1 -1
  95. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/IconToastFooter.js +1 -1
  96. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/ComponentToastFooter.js +1 -1
  97. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/TransactionToastFooter.js +1 -1
  98. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/index.js +1 -1
  99. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/index.js +1 -1
  100. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/index.js +1 -1
  101. package/UI/TransactionsToastList/components/CustomToast/components/SimpleToast.js +1 -1
  102. package/UI/TransactionsToastList/components/CustomToast/components/index.js +1 -1
  103. package/UI/TransactionsToastList/components/CustomToast/helpers/index.js +1 -1
  104. package/UI/TransactionsToastList/components/CustomToast/helpers/useMemoizedCloseButton.js +1 -1
  105. package/UI/TransactionsToastList/components/CustomToast/index.js +1 -1
  106. package/UI/TransactionsToastList/components/TransactionToast/TransactionToast.js +1 -1
  107. package/UI/TransactionsToastList/components/TransactionToast/components/TransactionToastContent.js +1 -1
  108. package/UI/TransactionsToastList/components/TransactionToast/components/index.js +1 -1
  109. package/UI/TransactionsToastList/components/TransactionToast/hooks/useTransactionToast.js +1 -1
  110. package/UI/TransactionsToastList/components/TransactionToast/index.js +1 -1
  111. package/UI/TransactionsToastList/components/TransactionToastGuard.js +1 -1
  112. package/UI/TransactionsToastList/components/index.js +1 -1
  113. package/UI/TransactionsToastList/index.js +1 -1
  114. package/UI/extension/ExtensionLoginButton/index.js +1 -1
  115. package/UI/index.js +1 -1
  116. package/UI/ledger/LedgerLoginButton/index.js +1 -1
  117. package/UI/ledger/LedgerLoginContainer/AddressRow.js +1 -1
  118. package/UI/ledger/LedgerLoginContainer/AddressTable.js +1 -1
  119. package/UI/ledger/LedgerLoginContainer/ConfirmAddress.js +1 -1
  120. package/UI/ledger/LedgerLoginContainer/index.js +1 -1
  121. package/UI/ledger/index.js +1 -1
  122. package/UI/pages/UnlockPage/index.js +1 -1
  123. package/UI/pages/index.js +1 -1
  124. package/UI/walletConnect/WalletConnectLoginButton/index.js +1 -1
  125. package/UI/walletConnect/WalletConnectLoginContainer/index.js +1 -1
  126. package/UI/walletConnect/index.js +1 -1
  127. package/UI/webWallet/WebWalletLoginButton/index.js +1 -1
  128. package/__chunks__/{chunk-GL3ZQY35.js → chunk-2747DBC5.js} +2 -2
  129. package/__chunks__/{chunk-PPRKYDMI.js → chunk-27W4RYCB.js} +2 -2
  130. package/__chunks__/{chunk-MCHY7ULZ.js → chunk-2EPKPA7X.js} +2 -2
  131. package/__chunks__/{chunk-YOIHCIZO.js → chunk-2KEKYIKF.js} +2 -2
  132. package/__chunks__/{chunk-4GOB7LZ5.js → chunk-2OXDEH5R.js} +2 -2
  133. package/__chunks__/{chunk-MY5IQBX5.js → chunk-2QMOCBXT.js} +2 -2
  134. package/__chunks__/chunk-3BXBWNHG.js +2 -0
  135. package/__chunks__/chunk-3JMXL3ZH.js +2 -0
  136. package/__chunks__/chunk-3LA46YVM.js +2 -0
  137. package/__chunks__/{chunk-M22H6OX5.js → chunk-3XYVMAUZ.js} +2 -2
  138. package/__chunks__/{chunk-LBJB3ZNM.js → chunk-4EJQ6DSL.js} +2 -2
  139. package/__chunks__/{chunk-5VCQYCYB.js → chunk-4MMDW3AN.js} +2 -2
  140. package/__chunks__/{chunk-AAJVVQT6.js → chunk-4QRO7HX5.js} +2 -2
  141. package/__chunks__/{chunk-RUTTIU5E.js → chunk-4REBP6WY.js} +2 -2
  142. package/__chunks__/{chunk-L4IDQPOD.js → chunk-4STYFQ4U.js} +2 -2
  143. package/__chunks__/chunk-5D54Y7JB.js +2 -0
  144. package/__chunks__/{chunk-6NXMC65N.js → chunk-5HMAFC53.js} +2 -2
  145. package/__chunks__/{chunk-OW7HQGRY.js → chunk-5I5R4A5G.js} +2 -2
  146. package/__chunks__/chunk-5PGSKBWL.js +2 -0
  147. package/__chunks__/{chunk-FVG6XMBQ.js → chunk-62G7GJKN.js} +2 -2
  148. package/__chunks__/{chunk-MG7CMK7A.js → chunk-66NLICRH.js} +2 -2
  149. package/__chunks__/{chunk-BOJMUSXY.js → chunk-6MVR6BBP.js} +2 -2
  150. package/__chunks__/{chunk-GW5LFRGT.js → chunk-6PL4QFNG.js} +2 -2
  151. package/__chunks__/{chunk-EIVT6Z63.js → chunk-6S5ZHK2B.js} +2 -2
  152. package/__chunks__/{chunk-LMC6YRHT.js → chunk-77IECT3I.js} +2 -2
  153. package/__chunks__/{chunk-QXWR6TSF.js → chunk-7FFOMOWE.js} +2 -2
  154. package/__chunks__/{chunk-FIY7MK45.js → chunk-7JLREWFH.js} +2 -2
  155. package/__chunks__/{chunk-OGNQ2P7I.js → chunk-7JLVJNMZ.js} +2 -2
  156. package/__chunks__/{chunk-JTCO74AP.js → chunk-7LRSU4EP.js} +1 -1
  157. package/__chunks__/{chunk-O2K3THKS.js → chunk-7NIKDCME.js} +2 -2
  158. package/__chunks__/{chunk-64572GSB.js → chunk-7UR47JS3.js} +2 -2
  159. package/__chunks__/{chunk-Y4FFH4PZ.js → chunk-APZAKVXY.js} +2 -2
  160. package/__chunks__/{chunk-MDZNNVE7.js → chunk-BBYDGHDB.js} +2 -2
  161. package/__chunks__/{chunk-Z4W26FV7.js → chunk-BDEDNJCP.js} +2 -2
  162. package/__chunks__/chunk-BDJT6VWB.js +2 -0
  163. package/__chunks__/{chunk-MEKAGLP3.js → chunk-BGTAYSZX.js} +2 -2
  164. package/__chunks__/{chunk-MV4B2PJR.js → chunk-BIKHMTZ2.js} +2 -2
  165. package/__chunks__/{chunk-LTH2PQYE.js → chunk-BP2DV6FZ.js} +2 -2
  166. package/__chunks__/{chunk-EWHR6KPN.js → chunk-BUYM6IA4.js} +2 -2
  167. package/__chunks__/chunk-BYSH3UW5.js +2 -0
  168. package/__chunks__/{chunk-KBAEUOCV.js → chunk-C453SXKS.js} +2 -2
  169. package/__chunks__/chunk-CNQDR77M.js +2 -0
  170. package/__chunks__/{chunk-R7MU4VR6.js → chunk-CPD5PAKM.js} +2 -2
  171. package/__chunks__/{chunk-TOXUX7HH.js → chunk-CSNOFG2L.js} +2 -2
  172. package/__chunks__/{chunk-BJNLUAT6.js → chunk-D22C4NRZ.js} +2 -2
  173. package/__chunks__/chunk-D7ESU7PM.js +2 -0
  174. package/__chunks__/{chunk-B5WBMB3W.js → chunk-D7GAZ2QF.js} +2 -2
  175. package/__chunks__/{chunk-JEJURFRK.js → chunk-DL3OWOUL.js} +2 -2
  176. package/__chunks__/{chunk-LUQ2H3V7.js → chunk-DMQLBHXQ.js} +2 -2
  177. package/__chunks__/{chunk-A7FH4BS6.js → chunk-DNQT65WC.js} +2 -2
  178. package/__chunks__/{chunk-6SBWMEC4.js → chunk-EYVRZI7M.js} +2 -2
  179. package/__chunks__/chunk-FDKODXIE.js +2 -0
  180. package/__chunks__/{chunk-BSJ5ENGA.js → chunk-FKXDC3ZG.js} +2 -2
  181. package/__chunks__/{chunk-NVNI3SO4.js → chunk-FOKZPL3K.js} +2 -2
  182. package/__chunks__/{chunk-KU35SOD5.js → chunk-FTIGF6JH.js} +2 -2
  183. package/__chunks__/{chunk-BDCGUWDV.js → chunk-FYYNVEPP.js} +2 -2
  184. package/__chunks__/{chunk-MEBXCY7Z.js → chunk-FZXDHR2A.js} +2 -2
  185. package/__chunks__/{chunk-BPIIOYWT.js → chunk-GLF35VWJ.js} +2 -2
  186. package/__chunks__/{chunk-ZTTP36AW.js → chunk-GLUOV32C.js} +2 -2
  187. package/__chunks__/chunk-GN76CEGK.js +2 -0
  188. package/__chunks__/{chunk-WKR6S477.js → chunk-GR5OSCR5.js} +2 -2
  189. package/__chunks__/{chunk-LYQVVB3O.js → chunk-H2P6C2QC.js} +2 -2
  190. package/__chunks__/{chunk-RC6ADHP5.js → chunk-H3JSXZU7.js} +2 -2
  191. package/__chunks__/{chunk-KKKLAVA3.js → chunk-H7S7UNCE.js} +2 -2
  192. package/__chunks__/{chunk-GSUOEZEY.js → chunk-HDGQXIPY.js} +2 -2
  193. package/__chunks__/{chunk-WXIJAAFT.js → chunk-HFMSFPZY.js} +2 -2
  194. package/__chunks__/{chunk-4YGJSKC5.js → chunk-HJKED3EO.js} +2 -2
  195. package/__chunks__/{chunk-6P7SO5VP.js → chunk-HJV355AX.js} +2 -2
  196. package/__chunks__/chunk-HNMPVC5E.js +2 -0
  197. package/__chunks__/{chunk-GQRVR6W6.js → chunk-HONEA3B4.js} +2 -2
  198. package/__chunks__/{chunk-DF2TWP2K.js → chunk-HRVCOPRT.js} +2 -2
  199. package/__chunks__/chunk-HU3BH7PO.js +2 -0
  200. package/__chunks__/{chunk-EYPLEH7Y.js → chunk-ICK2T23Q.js} +2 -2
  201. package/__chunks__/{chunk-4BTZKAVZ.js → chunk-IJGZSU5V.js} +2 -2
  202. package/__chunks__/{chunk-U6IQGPV5.js → chunk-ITFAMBVC.js} +2 -2
  203. package/__chunks__/{chunk-666G2YQ3.js → chunk-IXKZUK44.js} +2 -2
  204. package/__chunks__/{chunk-MJL2475M.js → chunk-J2ENTD7J.js} +2 -2
  205. package/__chunks__/{chunk-YG6PNJS4.js → chunk-J56FZK5O.js} +2 -2
  206. package/__chunks__/{chunk-EZGRVPQA.js → chunk-JGPF6MSX.js} +2 -2
  207. package/__chunks__/chunk-JPHKRVHO.js +2 -0
  208. package/__chunks__/{chunk-SK5SW3JO.js → chunk-KCOX7WBA.js} +2 -2
  209. package/__chunks__/{chunk-LPLX4X3Q.js → chunk-KCPOZ357.js} +2 -2
  210. package/__chunks__/{chunk-QGR5H5EP.js → chunk-KKMS5FBD.js} +2 -2
  211. package/__chunks__/{chunk-HCP3PZSA.js → chunk-KMTPOGSO.js} +2 -2
  212. package/__chunks__/{chunk-CHIAW3XY.js → chunk-KO7M2QKA.js} +2 -2
  213. package/__chunks__/chunk-L4X3FLGT.js +2 -0
  214. package/__chunks__/{chunk-UGD3W3HU.js → chunk-L5SHBNHU.js} +2 -2
  215. package/__chunks__/{chunk-2GZQEJ2W.js → chunk-LRTFDOSW.js} +2 -2
  216. package/__chunks__/{chunk-C56YOL6E.js → chunk-LV7JDBAZ.js} +2 -2
  217. package/__chunks__/{chunk-I7COOM24.js → chunk-M74YP6D5.js} +2 -2
  218. package/__chunks__/{chunk-WAD7CB3P.js → chunk-MHCD7K6X.js} +2 -2
  219. package/__chunks__/{chunk-R3XAZNEK.js → chunk-MJZS4ZEL.js} +2 -2
  220. package/__chunks__/{chunk-XFBHQNP5.js → chunk-MNC4AYLY.js} +2 -2
  221. package/__chunks__/{chunk-2DSOYZGD.js → chunk-MSF2XJRQ.js} +2 -2
  222. package/__chunks__/chunk-MWCRWZR3.js +2 -0
  223. package/__chunks__/{chunk-5PP3HFS6.js → chunk-MXJL5TOF.js} +2 -2
  224. package/__chunks__/{chunk-26GZ4QWU.js → chunk-NKCXUNXX.js} +2 -2
  225. package/__chunks__/{chunk-IS3W6HDJ.js → chunk-NUDQOJHT.js} +2 -2
  226. package/__chunks__/{chunk-MIR5I4FK.js → chunk-NYEIZKXN.js} +2 -2
  227. package/__chunks__/{chunk-QWEBCD2X.js → chunk-O6LO53PU.js} +2 -2
  228. package/__chunks__/{chunk-HHFPIOFG.js → chunk-OHQHR4US.js} +2 -2
  229. package/__chunks__/{chunk-3IDGHOFN.js → chunk-OSRRPXLM.js} +2 -2
  230. package/__chunks__/{chunk-VSK7D3KJ.js → chunk-PBTIAILL.js} +2 -2
  231. package/__chunks__/{chunk-KHND3MVN.js → chunk-PKZJODOE.js} +2 -2
  232. package/__chunks__/{chunk-5OQDOZY7.js → chunk-PMPMHWEF.js} +2 -2
  233. package/__chunks__/{chunk-M56K5VBA.js → chunk-PQWZ57BW.js} +2 -2
  234. package/__chunks__/{chunk-VAF4K2TX.js → chunk-PXFSZ4UB.js} +2 -2
  235. package/__chunks__/{chunk-ECX3THWJ.js → chunk-Q6I5YBBB.js} +2 -2
  236. package/__chunks__/{chunk-DHJBJT5J.js → chunk-QA7NI7OV.js} +2 -2
  237. package/__chunks__/{chunk-3VNAWHVG.js → chunk-QG43YYX7.js} +2 -2
  238. package/__chunks__/{chunk-5QC2FNCM.js → chunk-QKKE3QW6.js} +2 -2
  239. package/__chunks__/chunk-QNILHJHF.js +2 -0
  240. package/__chunks__/{chunk-XO7XZ5EV.js → chunk-QSXSVBLI.js} +2 -2
  241. package/__chunks__/{chunk-7VCF3GDZ.js → chunk-QU5KDEWG.js} +2 -2
  242. package/__chunks__/{chunk-K7NPE6AZ.js → chunk-QVV7ASYN.js} +2 -2
  243. package/__chunks__/{chunk-PXRSWUGL.js → chunk-QXV5S2J4.js} +2 -2
  244. package/__chunks__/{chunk-SBBK32ZD.js → chunk-R22DUOOL.js} +2 -2
  245. package/__chunks__/{chunk-X7Q7FXJB.js → chunk-RJ6AJV64.js} +2 -2
  246. package/__chunks__/chunk-RNCZ6RY4.js +2 -0
  247. package/__chunks__/{chunk-6KIDTE3S.js → chunk-RQ72QALB.js} +2 -2
  248. package/__chunks__/{chunk-A6I7FQNL.js → chunk-S2DL6EUE.js} +2 -2
  249. package/__chunks__/{chunk-HAHZ7U4V.js → chunk-S6HPVHGM.js} +2 -2
  250. package/__chunks__/{chunk-KUXLOGH5.js → chunk-S6OTGW5V.js} +2 -2
  251. package/__chunks__/{chunk-HDVTBA5V.js → chunk-SLDMPFTS.js} +2 -2
  252. package/__chunks__/{chunk-6O4HZ4GP.js → chunk-TKUOWL5E.js} +2 -2
  253. package/__chunks__/{chunk-YRQDMGGB.js → chunk-TLXHNQ3Z.js} +2 -2
  254. package/__chunks__/chunk-TQIVL2AI.js +2 -0
  255. package/__chunks__/{chunk-OVTAF2JP.js → chunk-TXAUKKZC.js} +2 -2
  256. package/__chunks__/{chunk-7VJ4CETW.js → chunk-U4IBNLM6.js} +2 -2
  257. package/__chunks__/{chunk-TVKGB66R.js → chunk-UIYSLS6R.js} +2 -2
  258. package/__chunks__/chunk-UJWWUM4K.js +2 -0
  259. package/__chunks__/{chunk-4KZ57RHS.js → chunk-UTH4HI6C.js} +2 -2
  260. package/__chunks__/{chunk-OJ6FMLEB.js → chunk-VG7CMK3D.js} +2 -2
  261. package/__chunks__/{chunk-EZGL42UW.js → chunk-VMMLZXJJ.js} +2 -2
  262. package/__chunks__/{chunk-FNWBUFHV.js → chunk-VX3R6DYQ.js} +2 -2
  263. package/__chunks__/{chunk-E62TVCSW.js → chunk-VYXSAUBQ.js} +2 -2
  264. package/__chunks__/chunk-W5M6M7ZK.js +2 -0
  265. package/__chunks__/{chunk-RV2Y3TRM.js → chunk-W6I7QNJG.js} +2 -2
  266. package/__chunks__/{chunk-LWZ3EPG2.js → chunk-WBMQJNO3.js} +2 -2
  267. package/__chunks__/{chunk-BWRZZ2SN.js → chunk-WDNG6ZSB.js} +2 -2
  268. package/__chunks__/{chunk-F6WPVYVX.js → chunk-WEKJ6VIL.js} +2 -2
  269. package/__chunks__/{chunk-VB7T7RBA.js → chunk-WFKHIJSM.js} +2 -2
  270. package/__chunks__/{chunk-R2GPT2EK.js → chunk-WMUS6P6Z.js} +2 -2
  271. package/__chunks__/{chunk-66YJTJLA.js → chunk-WNBU7UEV.js} +2 -2
  272. package/__chunks__/{chunk-IORG7JGY.js → chunk-X2AHAHEP.js} +2 -2
  273. package/__chunks__/{chunk-MMQGX4UQ.js → chunk-XFXDLXMU.js} +2 -2
  274. package/__chunks__/{chunk-YYO327WQ.js → chunk-XKRWCLBZ.js} +2 -2
  275. package/__chunks__/{chunk-CVJ4YRUK.js → chunk-XX4QYPNR.js} +2 -2
  276. package/__chunks__/{chunk-73WJ5DU7.js → chunk-Y7URY6A2.js} +2 -2
  277. package/__chunks__/{chunk-EE7DP6J5.js → chunk-Y7ZYOF5A.js} +2 -2
  278. package/__chunks__/{chunk-QWW2EJAJ.js → chunk-YGWPQG2B.js} +2 -2
  279. package/__chunks__/{chunk-TZOLUUUS.js → chunk-YISR6DUJ.js} +2 -2
  280. package/__chunks__/{chunk-M4L5JCHB.js → chunk-YJ3PSK4H.js} +2 -2
  281. package/__chunks__/{chunk-KWAHKAB3.js → chunk-YLZQLHE7.js} +2 -2
  282. package/__chunks__/{chunk-BAWXXJMC.js → chunk-ZHJHSMMW.js} +2 -2
  283. package/__chunks__/{chunk-JD47SKNQ.js → chunk-ZJEBHKI4.js} +2 -2
  284. package/__chunks__/{chunk-NYLW2S4Q.js → chunk-ZJOIBZEK.js} +2 -2
  285. package/__chunks__/{chunk-GVGORF76.js → chunk-ZLQNXL5U.js} +2 -2
  286. package/__chunks__/{chunk-H6AZ6IIK.js → chunk-ZNDNEIAP.js} +2 -2
  287. package/__commonjs/UI/DappModal/hooks/index.js +1 -1
  288. package/__commonjs/UI/DappModal/hooks/useDappModal.js +1 -1
  289. package/__commonjs/UI/DappModal/index.js +1 -1
  290. package/__commonjs/UI/ExplorerLink/ExplorerLink.js +1 -1
  291. package/__commonjs/UI/ExplorerLink/index.js +1 -1
  292. package/__commonjs/UI/ModalContainer/ModalContainer.js +1 -1
  293. package/__commonjs/UI/ModalContainer/index.js +1 -1
  294. package/__commonjs/UI/NotificationModal/index.js +1 -1
  295. package/__commonjs/UI/SignTransactionsModals/SignTransactionsModals.js +1 -1
  296. package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/SignStep.js +1 -1
  297. package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/index.js +1 -1
  298. package/__commonjs/UI/SignTransactionsModals/SignWithExtensionModal/index.js +1 -1
  299. package/__commonjs/UI/SignTransactionsModals/SignWithLedgerModal/index.js +1 -1
  300. package/__commonjs/UI/SignTransactionsModals/SignWithWalletConnectModal/index.js +1 -1
  301. package/__commonjs/UI/SignTransactionsModals/components/ConfirmationScreen.js +1 -1
  302. package/__commonjs/UI/SignTransactionsModals/components/DeviceConfirmationScreen.js +1 -1
  303. package/__commonjs/UI/SignTransactionsModals/components/TransactionStatusToast.js +1 -1
  304. package/__commonjs/UI/SignTransactionsModals/components/index.js +1 -1
  305. package/__commonjs/UI/SignTransactionsModals/index.js +1 -1
  306. package/__commonjs/UI/TokenDetails/index.js +1 -1
  307. package/__commonjs/UI/TransactionDetails/TransactionDetails.js +1 -1
  308. package/__commonjs/UI/TransactionDetails/components/TransactionDetailsBody.js +1 -1
  309. package/__commonjs/UI/TransactionDetails/components/index.js +1 -1
  310. package/__commonjs/UI/TransactionDetails/index.js +1 -1
  311. package/__commonjs/UI/TransactionInfo/TransactionInfo.js +29 -29
  312. package/__commonjs/UI/TransactionInfo/components/AddressDetailItem/AddressDetailitem.js +1 -1
  313. package/__commonjs/UI/TransactionInfo/components/AddressDetailItem/index.js +1 -1
  314. package/__commonjs/UI/TransactionInfo/components/NonceMessage/NonceMessage.js +1 -1
  315. package/__commonjs/UI/TransactionInfo/components/NonceMessage/index.js +1 -1
  316. package/__commonjs/UI/TransactionInfo/components/OperationsList/OperationList.js +1 -1
  317. package/__commonjs/UI/TransactionInfo/components/OperationsList/components/DetailedItem.js +1 -1
  318. package/__commonjs/UI/TransactionInfo/components/OperationsList/components/OperationBlock.js +1 -1
  319. package/__commonjs/UI/TransactionInfo/components/OperationsList/components/OperationRow.js +1 -1
  320. package/__commonjs/UI/TransactionInfo/components/OperationsList/components/OperationText.js +1 -1
  321. package/__commonjs/UI/TransactionInfo/components/OperationsList/components/OperationToken.js +1 -1
  322. package/__commonjs/UI/TransactionInfo/components/OperationsList/components/index.js +1 -1
  323. package/__commonjs/UI/TransactionInfo/components/OperationsList/index.js +1 -1
  324. package/__commonjs/UI/TransactionInfo/components/ScResultsList/ScResultsList.js +1 -1
  325. package/__commonjs/UI/TransactionInfo/components/ScResultsList/components/ResultHash/ResultHash.js +1 -1
  326. package/__commonjs/UI/TransactionInfo/components/ScResultsList/components/ResultHash/index.js +1 -1
  327. package/__commonjs/UI/TransactionInfo/components/ScResultsList/components/ResultReceiver/ResultReceiver.js +1 -1
  328. package/__commonjs/UI/TransactionInfo/components/ScResultsList/components/ResultReceiver/index.js +1 -1
  329. package/__commonjs/UI/TransactionInfo/components/ScResultsList/components/ResultSender/ResultSender.js +1 -1
  330. package/__commonjs/UI/TransactionInfo/components/ScResultsList/components/ResultSender/index.js +1 -1
  331. package/__commonjs/UI/TransactionInfo/components/ScResultsList/index.js +1 -1
  332. package/__commonjs/UI/TransactionInfo/components/ScrDetailItem/ScrDetailItem.js +1 -1
  333. package/__commonjs/UI/TransactionInfo/components/ScrDetailItem/index.js +1 -1
  334. package/__commonjs/UI/TransactionInfo/components/TransactionAction/TransactionAction.js +1 -1
  335. package/__commonjs/UI/TransactionInfo/components/TransactionAction/components/ActionText/index.js +1 -1
  336. package/__commonjs/UI/TransactionInfo/components/TransactionAction/components/ActionToken.js +1 -1
  337. package/__commonjs/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/TransactionActionCollection.js +1 -1
  338. package/__commonjs/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/TransactionActionNft.js +1 -1
  339. package/__commonjs/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/TransactionActionToken.js +1 -1
  340. package/__commonjs/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/index.js +1 -1
  341. package/__commonjs/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/index.js +1 -1
  342. package/__commonjs/UI/TransactionInfo/components/TransactionAction/components/index.js +1 -1
  343. package/__commonjs/UI/TransactionInfo/components/TransactionAction/index.js +1 -1
  344. package/__commonjs/UI/TransactionInfo/components/TransactionLogs/TransactionLogs.js +1 -1
  345. package/__commonjs/UI/TransactionInfo/components/TransactionLogs/index.js +1 -1
  346. package/__commonjs/UI/TransactionInfo/components/index.js +1 -1
  347. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFee/TransactionInfoFee.js +1 -1
  348. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFee/index.js +1 -1
  349. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFrom/TransactionInfoFrom.js +1 -1
  350. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFrom/index.js +1 -1
  351. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMethod/TransactionInfoMethod.js +1 -1
  352. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMethod/index.js +1 -1
  353. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMiniblock/TransactionInfoMiniblock.js +1 -1
  354. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMiniblock/index.js +1 -1
  355. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoNonce/TransactionInfoNonce.js +1 -1
  356. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoNonce/index.js +1 -1
  357. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoScResults/TransactionInfoScResults.js +1 -1
  358. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoScResults/index.js +1 -1
  359. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTo/TransactionInfoTo.js +1 -1
  360. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTo/index.js +1 -1
  361. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTokenOperations/TransactionInfoTokenOperations.js +1 -1
  362. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTokenOperations/index.js +1 -1
  363. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoValue/TransactionInfoValue.js +1 -1
  364. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoValue/index.js +1 -1
  365. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/index.js +1 -1
  366. package/__commonjs/UI/TransactionInfo/index.js +26 -26
  367. package/__commonjs/UI/TransactionsTable/TransactionsTable.js +1 -1
  368. package/__commonjs/UI/TransactionsTable/components/LockedTokenAddressIcon.js +1 -1
  369. package/__commonjs/UI/TransactionsTable/components/TransactionHash.js +1 -1
  370. package/__commonjs/UI/TransactionsTable/components/TransactionReceiver.js +1 -1
  371. package/__commonjs/UI/TransactionsTable/components/TransactionRow.js +1 -1
  372. package/__commonjs/UI/TransactionsTable/components/TransactionSender.js +1 -1
  373. package/__commonjs/UI/TransactionsTable/components/TransactionShardsTransition.js +1 -1
  374. package/__commonjs/UI/TransactionsTable/components/TransactionValue/TransactionValue.js +1 -1
  375. package/__commonjs/UI/TransactionsTable/components/TransactionValue/index.js +1 -1
  376. package/__commonjs/UI/TransactionsTable/components/index.js +1 -1
  377. package/__commonjs/UI/TransactionsTable/index.js +1 -1
  378. package/__commonjs/UI/TransactionsToastList/TransactionsToastList.js +1 -1
  379. package/__commonjs/UI/TransactionsToastList/components/CustomToast/CustomToast.js +1 -1
  380. package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/IconToast/IconToast.js +1 -1
  381. package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/IconToastFooter.js +1 -1
  382. package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/ComponentToastFooter.js +1 -1
  383. package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/TransactionToastFooter.js +1 -1
  384. package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/index.js +1 -1
  385. package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/index.js +1 -1
  386. package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/IconToast/index.js +1 -1
  387. package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/SimpleToast.js +1 -1
  388. package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/index.js +1 -1
  389. package/__commonjs/UI/TransactionsToastList/components/CustomToast/helpers/index.js +1 -1
  390. package/__commonjs/UI/TransactionsToastList/components/CustomToast/helpers/useMemoizedCloseButton.js +1 -1
  391. package/__commonjs/UI/TransactionsToastList/components/CustomToast/index.js +1 -1
  392. package/__commonjs/UI/TransactionsToastList/components/TransactionToast/TransactionToast.js +1 -1
  393. package/__commonjs/UI/TransactionsToastList/components/TransactionToast/components/TransactionToastContent.js +1 -1
  394. package/__commonjs/UI/TransactionsToastList/components/TransactionToast/components/index.js +1 -1
  395. package/__commonjs/UI/TransactionsToastList/components/TransactionToast/hooks/useTransactionToast.js +1 -1
  396. package/__commonjs/UI/TransactionsToastList/components/TransactionToast/index.js +1 -1
  397. package/__commonjs/UI/TransactionsToastList/components/TransactionToastGuard.js +1 -1
  398. package/__commonjs/UI/TransactionsToastList/components/index.js +1 -1
  399. package/__commonjs/UI/TransactionsToastList/index.js +1 -1
  400. package/__commonjs/UI/extension/ExtensionLoginButton/index.js +1 -1
  401. package/__commonjs/UI/index.js +2 -2
  402. package/__commonjs/UI/ledger/LedgerLoginButton/index.js +1 -1
  403. package/__commonjs/UI/ledger/LedgerLoginContainer/AddressRow.js +1 -1
  404. package/__commonjs/UI/ledger/LedgerLoginContainer/AddressTable.js +1 -1
  405. package/__commonjs/UI/ledger/LedgerLoginContainer/ConfirmAddress.js +1 -1
  406. package/__commonjs/UI/ledger/LedgerLoginContainer/index.js +1 -1
  407. package/__commonjs/UI/ledger/index.js +1 -1
  408. package/__commonjs/UI/pages/UnlockPage/index.js +1 -1
  409. package/__commonjs/UI/pages/index.js +1 -1
  410. package/__commonjs/UI/walletConnect/WalletConnectLoginButton/index.js +1 -1
  411. package/__commonjs/UI/walletConnect/WalletConnectLoginContainer/index.js +1 -1
  412. package/__commonjs/UI/walletConnect/index.js +1 -1
  413. package/__commonjs/UI/webWallet/WebWalletLoginButton/index.js +1 -1
  414. package/__commonjs/__mocks__/index.js +1 -1
  415. package/__commonjs/__mocks__/utils/index.js +1 -1
  416. package/__commonjs/__mocks__/utils/renderWithProvider.js +1 -1
  417. package/__commonjs/apiCalls/accounts/getAccountFromApi.js +1 -1
  418. package/__commonjs/apiCalls/accounts/index.js +1 -1
  419. package/__commonjs/apiCalls/configuration/getNetworkConfig.js +1 -1
  420. package/__commonjs/apiCalls/configuration/index.js +1 -1
  421. package/__commonjs/apiCalls/getScamAddressData.js +1 -1
  422. package/__commonjs/apiCalls/index.js +1 -1
  423. package/__commonjs/apiCalls/transactions/getTransactionsByHashes.js +1 -1
  424. package/__commonjs/apiCalls/transactions/index.js +1 -1
  425. package/__commonjs/apiCalls/transactions/sendSignedTransactions.js +1 -1
  426. package/__commonjs/apiCalls/utils/getCleanApiAddress.js +1 -1
  427. package/__commonjs/apiCalls/utils/index.js +1 -1
  428. package/__commonjs/components/LogoutListener/LogoutListener.js +1 -1
  429. package/__commonjs/components/LogoutListener/helpers/index.js +1 -1
  430. package/__commonjs/components/LogoutListener/helpers/useLogoutFromMultipleTabs.js +1 -1
  431. package/__commonjs/components/LogoutListener/helpers/useNativeAuthLogout.js +1 -1
  432. package/__commonjs/components/LogoutListener/helpers/useNativeAuthLogoutWarning/index.js +1 -1
  433. package/__commonjs/components/LogoutListener/helpers/useNativeAuthLogoutWarning/useNativeAuthLogoutWarning.js +1 -1
  434. package/__commonjs/components/LogoutListener/index.js +1 -1
  435. package/__commonjs/components/ProviderInitializer.js +1 -1
  436. package/__commonjs/components/TransactionSender/TransactionSender.js +1 -1
  437. package/__commonjs/components/TransactionSender/index.js +1 -1
  438. package/__commonjs/components/TransactionStatusToast/FailedTransactionStatusToast.js +1 -1
  439. package/__commonjs/components/TransactionsTracker/TransactionTracker.js +1 -1
  440. package/__commonjs/components/TransactionsTracker/index.js +1 -1
  441. package/__commonjs/components/TransactionsTracker/useTransactionsTracker.js +1 -1
  442. package/__commonjs/hooks/account/index.js +1 -1
  443. package/__commonjs/hooks/account/useGetAccount.js +1 -1
  444. package/__commonjs/hooks/account/useGetAccountInfo.js +1 -1
  445. package/__commonjs/hooks/account/useGetIsLoggedIn.js +1 -1
  446. package/__commonjs/hooks/account/useGetLoginInfo.js +1 -1
  447. package/__commonjs/hooks/account/useGetWebsocketEvent.js +1 -1
  448. package/__commonjs/hooks/index.js +1 -1
  449. package/__commonjs/hooks/login/index.js +1 -1
  450. package/__commonjs/hooks/login/useExtensionLogin.js +1 -1
  451. package/__commonjs/hooks/login/useLedgerLogin.js +1 -1
  452. package/__commonjs/hooks/login/useLoginService.js +1 -1
  453. package/__commonjs/hooks/login/useWalletConnectLogin.js +1 -1
  454. package/__commonjs/hooks/login/useWalletConnectV2Login.js +1 -1
  455. package/__commonjs/hooks/login/useWebWalletLogin.js +1 -1
  456. package/__commonjs/hooks/transactions/helpers/getShouldMoveTransactionsToSignedState.js +1 -1
  457. package/__commonjs/hooks/transactions/helpers/index.js +1 -1
  458. package/__commonjs/hooks/transactions/helpers/useClearTransactionsToSignWithWarning.js +1 -1
  459. package/__commonjs/hooks/transactions/helpers/useSetTransactionNonces.js +1 -1
  460. package/__commonjs/hooks/transactions/index.js +1 -1
  461. package/__commonjs/hooks/transactions/useCheckTransactionStatus/checkBatch.js +1 -1
  462. package/__commonjs/hooks/transactions/useCheckTransactionStatus/index.js +1 -1
  463. package/__commonjs/hooks/transactions/useCheckTransactionStatus/manageFailedTransactions.js +1 -1
  464. package/__commonjs/hooks/transactions/useCheckTransactionStatus/manageTimedOutTransactions.js +1 -1
  465. package/__commonjs/hooks/transactions/useCheckTransactionStatus/useCheckTransactionStatus.js +1 -1
  466. package/__commonjs/hooks/transactions/useGetActiveTransactionsStatus.js +1 -1
  467. package/__commonjs/hooks/transactions/useGetFailedTransactions.js +1 -1
  468. package/__commonjs/hooks/transactions/useGetPendingTransactions.js +1 -1
  469. package/__commonjs/hooks/transactions/useGetSignTransactionsError.js +1 -1
  470. package/__commonjs/hooks/transactions/useGetSignedTransactions.js +1 -1
  471. package/__commonjs/hooks/transactions/useGetSuccessfulTransactions.js +1 -1
  472. package/__commonjs/hooks/transactions/useGetTokenDetails.js +1 -1
  473. package/__commonjs/hooks/transactions/useGetTransactionDisplayInfo.js +1 -1
  474. package/__commonjs/hooks/transactions/useParseSignedTransactions.js +1 -1
  475. package/__commonjs/hooks/transactions/useSignTransactions.js +1 -1
  476. package/__commonjs/hooks/transactions/useSignTransactionsCommonData.js +1 -1
  477. package/__commonjs/hooks/transactions/useSignTransactionsWithDevice.js +1 -1
  478. package/__commonjs/hooks/transactions/useSignTransactionsWithLedger.js +1 -1
  479. package/__commonjs/hooks/transactions/useTrackTransactionStatus.js +1 -1
  480. package/__commonjs/hooks/useGetNetworkConfig.js +1 -1
  481. package/__commonjs/hooks/useGetNotification.js +1 -1
  482. package/__commonjs/hooks/userInterface/index.js +1 -1
  483. package/__commonjs/hooks/userInterface/useIsDappModalVisible.js +1 -1
  484. package/__commonjs/hooks/websocketListener/index.js +1 -1
  485. package/__commonjs/hooks/websocketListener/useInitializeWebsocketConnection.js +1 -1
  486. package/__commonjs/hooks/websocketListener/useRegisterWebsocketListener.js +1 -1
  487. package/__commonjs/reduxStore/DappProviderContext.js +1 -1
  488. package/__commonjs/reduxStore/selectors/index.js +1 -1
  489. package/__commonjs/reduxStore/selectors/transactionsSelectors.js +1 -1
  490. package/__commonjs/reduxStore/store.js +1 -1
  491. package/__commonjs/services/index.js +1 -1
  492. package/__commonjs/services/transactions/clearTransactions.js +1 -1
  493. package/__commonjs/services/transactions/index.js +1 -1
  494. package/__commonjs/services/transactions/sendTransactions.js +1 -1
  495. package/__commonjs/services/transactions/signTransactions.js +1 -1
  496. package/__commonjs/services/transactions/transformAndSignTransactions.js +1 -1
  497. package/__commonjs/typings.d.js +1 -1
  498. package/__commonjs/utils/account/getAccount.js +1 -1
  499. package/__commonjs/utils/account/getAccountBalance.js +1 -1
  500. package/__commonjs/utils/account/getAccountShard.js +1 -1
  501. package/__commonjs/utils/account/getAddress.js +1 -1
  502. package/__commonjs/utils/account/getLatestNonce.js +1 -1
  503. package/__commonjs/utils/account/index.js +1 -1
  504. package/__commonjs/utils/account/loginWithExternalProvider.js +1 -1
  505. package/__commonjs/utils/account/refreshAccount.js +1 -1
  506. package/__commonjs/utils/account/setNonce.js +1 -1
  507. package/__commonjs/utils/account/signMessage.js +1 -1
  508. package/__commonjs/utils/getIsLoggedIn.js +1 -1
  509. package/__commonjs/utils/index.js +1 -1
  510. package/__commonjs/utils/logout.js +1 -1
  511. package/__commonjs/utils/network/getChainID.js +1 -1
  512. package/__commonjs/utils/network/getEgldLabel.js +1 -1
  513. package/__commonjs/utils/network/getNetworkConfig.js +1 -1
  514. package/__commonjs/utils/network/index.js +1 -1
  515. package/__commonjs/utils/toasts/customToastsActions.js +1 -1
  516. package/__commonjs/utils/toasts/index.js +1 -1
  517. package/__commonjs/utils/transactions/getAllTransactionsLink.js +1 -1
  518. package/__commonjs/utils/transactions/getTransactionLink.js +1 -1
  519. package/__commonjs/utils/transactions/index.js +1 -1
  520. package/__commonjs/web/hooks/index.js +1 -1
  521. package/__commonjs/web/hooks/useIdleTimer.js +1 -1
  522. package/__commonjs/web/index.js +1 -1
  523. package/__commonjs/wrappers/AppInitializer.js +1 -1
  524. package/__commonjs/wrappers/AuthenticatedRoutesWrapper/index.js +1 -1
  525. package/__commonjs/wrappers/AxiosInterceptorContext/AxiosInterceptorContext.js +1 -1
  526. package/__commonjs/wrappers/AxiosInterceptorContext/components/AxiosInterceptor.js +1 -1
  527. package/__commonjs/wrappers/AxiosInterceptorContext/components/AxiosInterceptorContextProvider.js +1 -1
  528. package/__commonjs/wrappers/AxiosInterceptorContext/components/LoginInfoListener.js +1 -1
  529. package/__commonjs/wrappers/AxiosInterceptorContext/components/index.js +1 -1
  530. package/__commonjs/wrappers/AxiosInterceptorContext/index.js +1 -1
  531. package/__commonjs/wrappers/DappProvider/CustomComponents.js +1 -1
  532. package/__commonjs/wrappers/DappProvider/index.js +1 -1
  533. package/__commonjs/wrappers/index.js +1 -1
  534. package/__mocks__/index.js +1 -1
  535. package/__mocks__/utils/index.js +1 -1
  536. package/__mocks__/utils/renderWithProvider.js +1 -1
  537. package/apiCalls/accounts/getAccountFromApi.js +1 -1
  538. package/apiCalls/accounts/index.js +1 -1
  539. package/apiCalls/configuration/getNetworkConfig.js +1 -1
  540. package/apiCalls/configuration/index.js +1 -1
  541. package/apiCalls/getScamAddressData.js +1 -1
  542. package/apiCalls/index.js +1 -1
  543. package/apiCalls/transactions/getTransactionsByHashes.js +1 -1
  544. package/apiCalls/transactions/index.js +1 -1
  545. package/apiCalls/transactions/sendSignedTransactions.js +1 -1
  546. package/apiCalls/utils/getCleanApiAddress.js +1 -1
  547. package/apiCalls/utils/index.js +1 -1
  548. package/components/LogoutListener/LogoutListener.js +1 -1
  549. package/components/LogoutListener/helpers/index.js +1 -1
  550. package/components/LogoutListener/helpers/useLogoutFromMultipleTabs.js +1 -1
  551. package/components/LogoutListener/helpers/useNativeAuthLogout.js +1 -1
  552. package/components/LogoutListener/helpers/useNativeAuthLogoutWarning/index.js +1 -1
  553. package/components/LogoutListener/helpers/useNativeAuthLogoutWarning/useNativeAuthLogoutWarning.js +1 -1
  554. package/components/LogoutListener/index.js +1 -1
  555. package/components/ProviderInitializer.js +1 -1
  556. package/components/TransactionSender/TransactionSender.js +1 -1
  557. package/components/TransactionSender/index.js +1 -1
  558. package/components/TransactionStatusToast/FailedTransactionStatusToast.js +1 -1
  559. package/components/TransactionsTracker/TransactionTracker.js +1 -1
  560. package/components/TransactionsTracker/index.js +1 -1
  561. package/components/TransactionsTracker/useTransactionsTracker.js +1 -1
  562. package/hooks/account/index.js +1 -1
  563. package/hooks/account/useGetAccount.js +1 -1
  564. package/hooks/account/useGetAccountInfo.js +1 -1
  565. package/hooks/account/useGetIsLoggedIn.js +1 -1
  566. package/hooks/account/useGetLoginInfo.js +1 -1
  567. package/hooks/account/useGetWebsocketEvent.js +1 -1
  568. package/hooks/index.js +1 -1
  569. package/hooks/login/index.js +1 -1
  570. package/hooks/login/useExtensionLogin.js +1 -1
  571. package/hooks/login/useLedgerLogin.js +1 -1
  572. package/hooks/login/useLoginService.js +1 -1
  573. package/hooks/login/useWalletConnectLogin.js +1 -1
  574. package/hooks/login/useWalletConnectV2Login.js +1 -1
  575. package/hooks/login/useWebWalletLogin.js +1 -1
  576. package/hooks/transactions/helpers/getShouldMoveTransactionsToSignedState.js +1 -1
  577. package/hooks/transactions/helpers/index.js +1 -1
  578. package/hooks/transactions/helpers/useClearTransactionsToSignWithWarning.js +1 -1
  579. package/hooks/transactions/helpers/useSetTransactionNonces.js +1 -1
  580. package/hooks/transactions/index.js +1 -1
  581. package/hooks/transactions/useCheckTransactionStatus/checkBatch.js +1 -1
  582. package/hooks/transactions/useCheckTransactionStatus/index.js +1 -1
  583. package/hooks/transactions/useCheckTransactionStatus/manageFailedTransactions.js +1 -1
  584. package/hooks/transactions/useCheckTransactionStatus/manageTimedOutTransactions.js +1 -1
  585. package/hooks/transactions/useCheckTransactionStatus/useCheckTransactionStatus.js +1 -1
  586. package/hooks/transactions/useGetActiveTransactionsStatus.js +1 -1
  587. package/hooks/transactions/useGetFailedTransactions.js +1 -1
  588. package/hooks/transactions/useGetPendingTransactions.js +1 -1
  589. package/hooks/transactions/useGetSignTransactionsError.js +1 -1
  590. package/hooks/transactions/useGetSignedTransactions.js +1 -1
  591. package/hooks/transactions/useGetSuccessfulTransactions.js +1 -1
  592. package/hooks/transactions/useGetTokenDetails.js +1 -1
  593. package/hooks/transactions/useGetTransactionDisplayInfo.js +1 -1
  594. package/hooks/transactions/useParseSignedTransactions.js +1 -1
  595. package/hooks/transactions/useSignTransactions.js +1 -1
  596. package/hooks/transactions/useSignTransactionsCommonData.js +1 -1
  597. package/hooks/transactions/useSignTransactionsWithDevice.js +1 -1
  598. package/hooks/transactions/useSignTransactionsWithLedger.js +1 -1
  599. package/hooks/transactions/useTrackTransactionStatus.js +1 -1
  600. package/hooks/useGetNetworkConfig.js +1 -1
  601. package/hooks/useGetNotification.js +1 -1
  602. package/hooks/userInterface/index.js +1 -1
  603. package/hooks/userInterface/useIsDappModalVisible.js +1 -1
  604. package/hooks/websocketListener/index.js +1 -1
  605. package/hooks/websocketListener/useInitializeWebsocketConnection.js +1 -1
  606. package/hooks/websocketListener/useRegisterWebsocketListener.js +1 -1
  607. package/package.json +1 -1
  608. package/reduxStore/DappProviderContext.js +1 -1
  609. package/reduxStore/persistConfig.js +1 -1
  610. package/reduxStore/persistedRootReducer.js +1 -1
  611. package/reduxStore/selectors/index.js +1 -1
  612. package/reduxStore/selectors/transactionsSelectors.js +1 -1
  613. package/reduxStore/store.d.ts +2 -1
  614. package/reduxStore/store.js +1 -1
  615. package/services/index.js +1 -1
  616. package/services/transactions/clearTransactions.js +1 -1
  617. package/services/transactions/index.js +1 -1
  618. package/services/transactions/sendTransactions.js +1 -1
  619. package/services/transactions/signTransactions.js +1 -1
  620. package/services/transactions/transformAndSignTransactions.js +1 -1
  621. package/typings.d.js +1 -1
  622. package/utils/account/getAccount.js +1 -1
  623. package/utils/account/getAccountBalance.js +1 -1
  624. package/utils/account/getAccountShard.js +1 -1
  625. package/utils/account/getAddress.js +1 -1
  626. package/utils/account/getLatestNonce.js +1 -1
  627. package/utils/account/index.js +1 -1
  628. package/utils/account/loginWithExternalProvider.js +1 -1
  629. package/utils/account/refreshAccount.js +1 -1
  630. package/utils/account/setNonce.js +1 -1
  631. package/utils/account/signMessage.js +1 -1
  632. package/utils/getIsLoggedIn.js +1 -1
  633. package/utils/index.js +1 -1
  634. package/utils/logout.js +1 -1
  635. package/utils/network/getChainID.js +1 -1
  636. package/utils/network/getEgldLabel.js +1 -1
  637. package/utils/network/getNetworkConfig.js +1 -1
  638. package/utils/network/index.js +1 -1
  639. package/utils/toasts/customToastsActions.js +1 -1
  640. package/utils/toasts/index.js +1 -1
  641. package/utils/transactions/getAllTransactionsLink.js +1 -1
  642. package/utils/transactions/getTransactionLink.js +1 -1
  643. package/utils/transactions/index.js +1 -1
  644. package/web/hooks/index.js +1 -1
  645. package/web/hooks/useIdleTimer.js +1 -1
  646. package/web/index.js +1 -1
  647. package/wrappers/AppInitializer.js +1 -1
  648. package/wrappers/AuthenticatedRoutesWrapper/index.js +1 -1
  649. package/wrappers/AxiosInterceptorContext/AxiosInterceptorContext.js +1 -1
  650. package/wrappers/AxiosInterceptorContext/components/AxiosInterceptor.js +1 -1
  651. package/wrappers/AxiosInterceptorContext/components/AxiosInterceptorContextProvider.js +1 -1
  652. package/wrappers/AxiosInterceptorContext/components/LoginInfoListener.js +1 -1
  653. package/wrappers/AxiosInterceptorContext/components/index.js +1 -1
  654. package/wrappers/AxiosInterceptorContext/index.js +1 -1
  655. package/wrappers/DappProvider/CustomComponents.js +1 -1
  656. package/wrappers/DappProvider/index.js +1 -1
  657. package/wrappers/index.js +1 -1
  658. package/__chunks__/chunk-ASRIFVT3.js +0 -2
  659. package/__chunks__/chunk-COK4563Q.js +0 -2
  660. package/__chunks__/chunk-D5NHJSGG.js +0 -2
  661. package/__chunks__/chunk-D6KZSCED.js +0 -2
  662. package/__chunks__/chunk-D7CJRUUT.js +0 -2
  663. package/__chunks__/chunk-EBP4BQQZ.js +0 -2
  664. package/__chunks__/chunk-ETMNJG7Z.js +0 -2
  665. package/__chunks__/chunk-FD3ML4YZ.js +0 -2
  666. package/__chunks__/chunk-FMTVVLXJ.js +0 -2
  667. package/__chunks__/chunk-G6KWFYYQ.js +0 -2
  668. package/__chunks__/chunk-H3IT5LK3.js +0 -2
  669. package/__chunks__/chunk-LAERXTWM.js +0 -2
  670. package/__chunks__/chunk-MB3URQD2.js +0 -2
  671. package/__chunks__/chunk-N4OC6UUR.js +0 -2
  672. package/__chunks__/chunk-NOZPGR3U.js +0 -2
  673. package/__chunks__/chunk-QLTFKKAC.js +0 -2
  674. package/__chunks__/chunk-QX4ZUOPN.js +0 -2
  675. package/__chunks__/chunk-SSWUBPRL.js +0 -2
  676. package/__chunks__/chunk-V5DUB2CZ.js +0 -2
  677. package/__chunks__/chunk-WRSAHJHU.js +0 -2
  678. package/__chunks__/chunk-XTNMLBY3.js +0 -2
@@ -1,4 +1,4 @@
1
- "use strict";var yo=Object.create;var pe=Object.defineProperty,ho=Object.defineProperties,xo=Object.getOwnPropertyDescriptor,So=Object.getOwnPropertyDescriptors,wo=Object.getOwnPropertyNames,be=Object.getOwnPropertySymbols,bo=Object.getPrototypeOf,Xe=Object.prototype.hasOwnProperty,qt=Object.prototype.propertyIsEnumerable;var Wt=(e,t,r)=>t in e?pe(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,x=(e,t)=>{for(var r in t||(t={}))Xe.call(t,r)&&Wt(e,r,t[r]);if(be)for(var r of be(t))qt.call(t,r)&&Wt(e,r,t[r]);return e},I=(e,t)=>ho(e,So(t));var jt=(e,t)=>{var r={};for(var n in e)Xe.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&be)for(var n of be(e))t.indexOf(n)<0&&qt.call(e,n)&&(r[n]=e[n]);return r};var T=(e,t)=>()=>(e&&(t=e(e=0)),t);var Ae=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),K=(e,t)=>{for(var r in t)pe(e,r,{get:t[r],enumerable:!0})},zt=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of wo(t))!Xe.call(e,i)&&i!==r&&pe(e,i,{get:()=>t[i],enumerable:!(n=xo(t,i))||n.enumerable});return e};var S=(e,t,r)=>(r=e!=null?yo(bo(e)):{},zt(t||!e||!e.__esModule?pe(r,"default",{value:e,enumerable:!0}):r,e)),ue=e=>zt(pe({},"__esModule",{value:!0}),e);var re=(e,t,r)=>new Promise((n,i)=>{var l=d=>{try{m(r.next(d))}catch(f){i(f)}},p=d=>{try{m(r.throw(d))}catch(f){i(f)}},m=d=>d.done?n(d.value):Promise.resolve(d.value).then(l,p);m((r=r.apply(e,t)).next())});var Zt=Ae(ve=>{"use strict";o();ve.byteLength=vo;ve.toByteArray=Io;ve.fromByteArray=Do;var M=[],C=[],Ao=typeof Uint8Array!="undefined"?Uint8Array:Array,Je="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(Y=0,Kt=Je.length;Y<Kt;++Y)M[Y]=Je[Y],C[Je.charCodeAt(Y)]=Y;var Y,Kt;C["-".charCodeAt(0)]=62;C["_".charCodeAt(0)]=63;function Yt(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");r===-1&&(r=t);var n=r===t?0:4-r%4;return[r,n]}function vo(e){var t=Yt(e),r=t[0],n=t[1];return(r+n)*3/4-n}function ko(e,t,r){return(t+r)*3/4-r}function Io(e){var t,r=Yt(e),n=r[0],i=r[1],l=new Ao(ko(e,n,i)),p=0,m=i>0?n-4:n,d;for(d=0;d<m;d+=4)t=C[e.charCodeAt(d)]<<18|C[e.charCodeAt(d+1)]<<12|C[e.charCodeAt(d+2)]<<6|C[e.charCodeAt(d+3)],l[p++]=t>>16&255,l[p++]=t>>8&255,l[p++]=t&255;return i===2&&(t=C[e.charCodeAt(d)]<<2|C[e.charCodeAt(d+1)]>>4,l[p++]=t&255),i===1&&(t=C[e.charCodeAt(d)]<<10|C[e.charCodeAt(d+1)]<<4|C[e.charCodeAt(d+2)]>>2,l[p++]=t>>8&255,l[p++]=t&255),l}function Eo(e){return M[e>>18&63]+M[e>>12&63]+M[e>>6&63]+M[e&63]}function Lo(e,t,r){for(var n,i=[],l=t;l<r;l+=3)n=(e[l]<<16&16711680)+(e[l+1]<<8&65280)+(e[l+2]&255),i.push(Eo(n));return i.join("")}function Do(e){for(var t,r=e.length,n=r%3,i=[],l=16383,p=0,m=r-n;p<m;p+=l)i.push(Lo(e,p,p+l>m?m:p+l));return n===1?(t=e[r-1],i.push(M[t>>2]+M[t<<4&63]+"==")):n===2&&(t=(e[r-2]<<8)+e[r-1],i.push(M[t>>10]+M[t>>4&63]+M[t<<2&63]+"=")),i.join("")}});var Xt=Ae(Qe=>{o();Qe.read=function(e,t,r,n,i){var l,p,m=i*8-n-1,d=(1<<m)-1,f=d>>1,h=-7,y=r?i-1:0,v=r?-1:1,k=e[t+y];for(y+=v,l=k&(1<<-h)-1,k>>=-h,h+=m;h>0;l=l*256+e[t+y],y+=v,h-=8);for(p=l&(1<<-h)-1,l>>=-h,h+=n;h>0;p=p*256+e[t+y],y+=v,h-=8);if(l===0)l=1-f;else{if(l===d)return p?NaN:(k?-1:1)*(1/0);p=p+Math.pow(2,n),l=l-f}return(k?-1:1)*p*Math.pow(2,l-n)};Qe.write=function(e,t,r,n,i,l){var p,m,d,f=l*8-i-1,h=(1<<f)-1,y=h>>1,v=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,k=n?0:l-1,P=n?1:-1,_=t<0||t===0&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(m=isNaN(t)?1:0,p=h):(p=Math.floor(Math.log(t)/Math.LN2),t*(d=Math.pow(2,-p))<1&&(p--,d*=2),p+y>=1?t+=v/d:t+=v*Math.pow(2,1-y),t*d>=2&&(p++,d/=2),p+y>=h?(m=0,p=h):p+y>=1?(m=(t*d-1)*Math.pow(2,i),p=p+y):(m=t*Math.pow(2,y-1)*Math.pow(2,i),p=0));i>=8;e[r+k]=m&255,k+=P,m/=256,i-=8);for(p=p<<i|m,f+=i;f>0;e[r+k]=p&255,k+=P,p/=256,f-=8);e[r+k-P]|=_*128}});var pr=Ae(oe=>{"use strict";o();var et=Zt(),ne=Xt(),Jt=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;oe.Buffer=u;oe.SlowBuffer=Fo;oe.INSPECT_MAX_BYTES=50;var ke=2147483647;oe.kMaxLength=ke;u.TYPED_ARRAY_SUPPORT=No();!u.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 No(){try{var e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),e.foo()===42}catch(r){return!1}}Object.defineProperty(u.prototype,"parent",{enumerable:!0,get:function(){if(!!u.isBuffer(this))return this.buffer}});Object.defineProperty(u.prototype,"offset",{enumerable:!0,get:function(){if(!!u.isBuffer(this))return this.byteOffset}});function $(e){if(e>ke)throw new RangeError('The value "'+e+'" is invalid for option "size"');var t=new Uint8Array(e);return Object.setPrototypeOf(t,u.prototype),t}function u(e,t,r){if(typeof e=="number"){if(typeof t=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return ot(e)}return tr(e,t,r)}u.poolSize=8192;function tr(e,t,r){if(typeof e=="string")return Ro(e,t);if(ArrayBuffer.isView(e))return Po(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(O(e,ArrayBuffer)||e&&O(e.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(O(e,SharedArrayBuffer)||e&&O(e.buffer,SharedArrayBuffer)))return rt(e,t,r);if(typeof e=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var n=e.valueOf&&e.valueOf();if(n!=null&&n!==e)return u.from(n,t,r);var i=_o(e);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof e[Symbol.toPrimitive]=="function")return u.from(e[Symbol.toPrimitive]("string"),t,r);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}u.from=function(e,t,r){return tr(e,t,r)};Object.setPrototypeOf(u.prototype,Uint8Array.prototype);Object.setPrototypeOf(u,Uint8Array);function rr(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 Co(e,t,r){return rr(e),e<=0?$(e):t!==void 0?typeof r=="string"?$(e).fill(t,r):$(e).fill(t):$(e)}u.alloc=function(e,t,r){return Co(e,t,r)};function ot(e){return rr(e),$(e<0?0:it(e)|0)}u.allocUnsafe=function(e){return ot(e)};u.allocUnsafeSlow=function(e){return ot(e)};function Ro(e,t){if((typeof t!="string"||t==="")&&(t="utf8"),!u.isEncoding(t))throw new TypeError("Unknown encoding: "+t);var r=nr(e,t)|0,n=$(r),i=n.write(e,t);return i!==r&&(n=n.slice(0,i)),n}function tt(e){for(var t=e.length<0?0:it(e.length)|0,r=$(t),n=0;n<t;n+=1)r[n]=e[n]&255;return r}function Po(e){if(O(e,Uint8Array)){var t=new Uint8Array(e);return rt(t.buffer,t.byteOffset,t.byteLength)}return tt(e)}function rt(e,t,r){if(t<0||e.byteLength<t)throw new RangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(r||0))throw new RangeError('"length" is outside of buffer bounds');var n;return t===void 0&&r===void 0?n=new Uint8Array(e):r===void 0?n=new Uint8Array(e,t):n=new Uint8Array(e,t,r),Object.setPrototypeOf(n,u.prototype),n}function _o(e){if(u.isBuffer(e)){var t=it(e.length)|0,r=$(t);return r.length===0||e.copy(r,0,0,t),r}if(e.length!==void 0)return typeof e.length!="number"||at(e.length)?$(0):tt(e);if(e.type==="Buffer"&&Array.isArray(e.data))return tt(e.data)}function it(e){if(e>=ke)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+ke.toString(16)+" bytes");return e|0}function Fo(e){return+e!=e&&(e=0),u.alloc(+e)}u.isBuffer=function(t){return t!=null&&t._isBuffer===!0&&t!==u.prototype};u.compare=function(t,r){if(O(t,Uint8Array)&&(t=u.from(t,t.offset,t.byteLength)),O(r,Uint8Array)&&(r=u.from(r,r.offset,r.byteLength)),!u.isBuffer(t)||!u.isBuffer(r))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(t===r)return 0;for(var n=t.length,i=r.length,l=0,p=Math.min(n,i);l<p;++l)if(t[l]!==r[l]){n=t[l],i=r[l];break}return n<i?-1:i<n?1:0};u.isEncoding=function(t){switch(String(t).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}};u.concat=function(t,r){if(!Array.isArray(t))throw new TypeError('"list" argument must be an Array of Buffers');if(t.length===0)return u.alloc(0);var n;if(r===void 0)for(r=0,n=0;n<t.length;++n)r+=t[n].length;var i=u.allocUnsafe(r),l=0;for(n=0;n<t.length;++n){var p=t[n];if(O(p,Uint8Array))l+p.length>i.length?u.from(p).copy(i,l):Uint8Array.prototype.set.call(i,p,l);else if(u.isBuffer(p))p.copy(i,l);else throw new TypeError('"list" argument must be an Array of Buffers');l+=p.length}return i};function nr(e,t){if(u.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||O(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 r=e.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&r===0)return 0;for(var i=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return nt(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return lr(e).length;default:if(i)return n?-1:nt(e).length;t=(""+t).toLowerCase(),i=!0}}u.byteLength=nr;function Mo(e,t,r){var n=!1;if((t===void 0||t<0)&&(t=0),t>this.length||((r===void 0||r>this.length)&&(r=this.length),r<=0)||(r>>>=0,t>>>=0,r<=t))return"";for(e||(e="utf8");;)switch(e){case"hex":return jo(this,t,r);case"utf8":case"utf-8":return ir(this,t,r);case"ascii":return Wo(this,t,r);case"latin1":case"binary":return qo(this,t,r);case"base64":return Ho(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return zo(this,t,r);default:if(n)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),n=!0}}u.prototype._isBuffer=!0;function Z(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}u.prototype.swap16=function(){var t=this.length;if(t%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var r=0;r<t;r+=2)Z(this,r,r+1);return this};u.prototype.swap32=function(){var t=this.length;if(t%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var r=0;r<t;r+=4)Z(this,r,r+3),Z(this,r+1,r+2);return this};u.prototype.swap64=function(){var t=this.length;if(t%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var r=0;r<t;r+=8)Z(this,r,r+7),Z(this,r+1,r+6),Z(this,r+2,r+5),Z(this,r+3,r+4);return this};u.prototype.toString=function(){var t=this.length;return t===0?"":arguments.length===0?ir(this,0,t):Mo.apply(this,arguments)};u.prototype.toLocaleString=u.prototype.toString;u.prototype.equals=function(t){if(!u.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t?!0:u.compare(this,t)===0};u.prototype.inspect=function(){var t="",r=oe.INSPECT_MAX_BYTES;return t=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(t+=" ... "),"<Buffer "+t+">"};Jt&&(u.prototype[Jt]=u.prototype.inspect);u.prototype.compare=function(t,r,n,i,l){if(O(t,Uint8Array)&&(t=u.from(t,t.offset,t.byteLength)),!u.isBuffer(t))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof t);if(r===void 0&&(r=0),n===void 0&&(n=t?t.length:0),i===void 0&&(i=0),l===void 0&&(l=this.length),r<0||n>t.length||i<0||l>this.length)throw new RangeError("out of range index");if(i>=l&&r>=n)return 0;if(i>=l)return-1;if(r>=n)return 1;if(r>>>=0,n>>>=0,i>>>=0,l>>>=0,this===t)return 0;for(var p=l-i,m=n-r,d=Math.min(p,m),f=this.slice(i,l),h=t.slice(r,n),y=0;y<d;++y)if(f[y]!==h[y]){p=f[y],m=h[y];break}return p<m?-1:m<p?1:0};function or(e,t,r,n,i){if(e.length===0)return-1;if(typeof r=="string"?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,at(r)&&(r=i?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(i)return-1;r=e.length-1}else if(r<0)if(i)r=0;else return-1;if(typeof t=="string"&&(t=u.from(t,n)),u.isBuffer(t))return t.length===0?-1:Qt(e,t,r,n,i);if(typeof t=="number")return t=t&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):Qt(e,[t],r,n,i);throw new TypeError("val must be string, number or Buffer")}function Qt(e,t,r,n,i){var l=1,p=e.length,m=t.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(e.length<2||t.length<2)return-1;l=2,p/=2,m/=2,r/=2}function d(k,P){return l===1?k[P]:k.readUInt16BE(P*l)}var f;if(i){var h=-1;for(f=r;f<p;f++)if(d(e,f)===d(t,h===-1?0:f-h)){if(h===-1&&(h=f),f-h+1===m)return h*l}else h!==-1&&(f-=f-h),h=-1}else for(r+m>p&&(r=p-m),f=r;f>=0;f--){for(var y=!0,v=0;v<m;v++)if(d(e,f+v)!==d(t,v)){y=!1;break}if(y)return f}return-1}u.prototype.includes=function(t,r,n){return this.indexOf(t,r,n)!==-1};u.prototype.indexOf=function(t,r,n){return or(this,t,r,n,!0)};u.prototype.lastIndexOf=function(t,r,n){return or(this,t,r,n,!1)};function Oo(e,t,r,n){r=Number(r)||0;var i=e.length-r;n?(n=Number(n),n>i&&(n=i)):n=i;var l=t.length;n>l/2&&(n=l/2);for(var p=0;p<n;++p){var m=parseInt(t.substr(p*2,2),16);if(at(m))return p;e[r+p]=m}return p}function Bo(e,t,r,n){return Ie(nt(t,e.length-r),e,r,n)}function Uo(e,t,r,n){return Ie(Zo(t),e,r,n)}function Vo(e,t,r,n){return Ie(lr(t),e,r,n)}function $o(e,t,r,n){return Ie(Xo(t,e.length-r),e,r,n)}u.prototype.write=function(t,r,n,i){if(r===void 0)i="utf8",n=this.length,r=0;else if(n===void 0&&typeof r=="string")i=r,n=this.length,r=0;else if(isFinite(r))r=r>>>0,isFinite(n)?(n=n>>>0,i===void 0&&(i="utf8")):(i=n,n=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var l=this.length-r;if((n===void 0||n>l)&&(n=l),t.length>0&&(n<0||r<0)||r>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var p=!1;;)switch(i){case"hex":return Oo(this,t,r,n);case"utf8":case"utf-8":return Bo(this,t,r,n);case"ascii":case"latin1":case"binary":return Uo(this,t,r,n);case"base64":return Vo(this,t,r,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return $o(this,t,r,n);default:if(p)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),p=!0}};u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function Ho(e,t,r){return t===0&&r===e.length?et.fromByteArray(e):et.fromByteArray(e.slice(t,r))}function ir(e,t,r){r=Math.min(e.length,r);for(var n=[],i=t;i<r;){var l=e[i],p=null,m=l>239?4:l>223?3:l>191?2:1;if(i+m<=r){var d,f,h,y;switch(m){case 1:l<128&&(p=l);break;case 2:d=e[i+1],(d&192)===128&&(y=(l&31)<<6|d&63,y>127&&(p=y));break;case 3:d=e[i+1],f=e[i+2],(d&192)===128&&(f&192)===128&&(y=(l&15)<<12|(d&63)<<6|f&63,y>2047&&(y<55296||y>57343)&&(p=y));break;case 4:d=e[i+1],f=e[i+2],h=e[i+3],(d&192)===128&&(f&192)===128&&(h&192)===128&&(y=(l&15)<<18|(d&63)<<12|(f&63)<<6|h&63,y>65535&&y<1114112&&(p=y))}}p===null?(p=65533,m=1):p>65535&&(p-=65536,n.push(p>>>10&1023|55296),p=56320|p&1023),n.push(p),i+=m}return Go(n)}var er=4096;function Go(e){var t=e.length;if(t<=er)return String.fromCharCode.apply(String,e);for(var r="",n=0;n<t;)r+=String.fromCharCode.apply(String,e.slice(n,n+=er));return r}function Wo(e,t,r){var n="";r=Math.min(e.length,r);for(var i=t;i<r;++i)n+=String.fromCharCode(e[i]&127);return n}function qo(e,t,r){var n="";r=Math.min(e.length,r);for(var i=t;i<r;++i)n+=String.fromCharCode(e[i]);return n}function jo(e,t,r){var n=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>n)&&(r=n);for(var i="",l=t;l<r;++l)i+=Jo[e[l]];return i}function zo(e,t,r){for(var n=e.slice(t,r),i="",l=0;l<n.length-1;l+=2)i+=String.fromCharCode(n[l]+n[l+1]*256);return i}u.prototype.slice=function(t,r){var n=this.length;t=~~t,r=r===void 0?n:~~r,t<0?(t+=n,t<0&&(t=0)):t>n&&(t=n),r<0?(r+=n,r<0&&(r=0)):r>n&&(r=n),r<t&&(r=t);var i=this.subarray(t,r);return Object.setPrototypeOf(i,u.prototype),i};function A(e,t,r){if(e%1!==0||e<0)throw new RangeError("offset is not uint");if(e+t>r)throw new RangeError("Trying to access beyond buffer length")}u.prototype.readUintLE=u.prototype.readUIntLE=function(t,r,n){t=t>>>0,r=r>>>0,n||A(t,r,this.length);for(var i=this[t],l=1,p=0;++p<r&&(l*=256);)i+=this[t+p]*l;return i};u.prototype.readUintBE=u.prototype.readUIntBE=function(t,r,n){t=t>>>0,r=r>>>0,n||A(t,r,this.length);for(var i=this[t+--r],l=1;r>0&&(l*=256);)i+=this[t+--r]*l;return i};u.prototype.readUint8=u.prototype.readUInt8=function(t,r){return t=t>>>0,r||A(t,1,this.length),this[t]};u.prototype.readUint16LE=u.prototype.readUInt16LE=function(t,r){return t=t>>>0,r||A(t,2,this.length),this[t]|this[t+1]<<8};u.prototype.readUint16BE=u.prototype.readUInt16BE=function(t,r){return t=t>>>0,r||A(t,2,this.length),this[t]<<8|this[t+1]};u.prototype.readUint32LE=u.prototype.readUInt32LE=function(t,r){return t=t>>>0,r||A(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+this[t+3]*16777216};u.prototype.readUint32BE=u.prototype.readUInt32BE=function(t,r){return t=t>>>0,r||A(t,4,this.length),this[t]*16777216+(this[t+1]<<16|this[t+2]<<8|this[t+3])};u.prototype.readIntLE=function(t,r,n){t=t>>>0,r=r>>>0,n||A(t,r,this.length);for(var i=this[t],l=1,p=0;++p<r&&(l*=256);)i+=this[t+p]*l;return l*=128,i>=l&&(i-=Math.pow(2,8*r)),i};u.prototype.readIntBE=function(t,r,n){t=t>>>0,r=r>>>0,n||A(t,r,this.length);for(var i=r,l=1,p=this[t+--i];i>0&&(l*=256);)p+=this[t+--i]*l;return l*=128,p>=l&&(p-=Math.pow(2,8*r)),p};u.prototype.readInt8=function(t,r){return t=t>>>0,r||A(t,1,this.length),this[t]&128?(255-this[t]+1)*-1:this[t]};u.prototype.readInt16LE=function(t,r){t=t>>>0,r||A(t,2,this.length);var n=this[t]|this[t+1]<<8;return n&32768?n|4294901760:n};u.prototype.readInt16BE=function(t,r){t=t>>>0,r||A(t,2,this.length);var n=this[t+1]|this[t]<<8;return n&32768?n|4294901760:n};u.prototype.readInt32LE=function(t,r){return t=t>>>0,r||A(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24};u.prototype.readInt32BE=function(t,r){return t=t>>>0,r||A(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]};u.prototype.readFloatLE=function(t,r){return t=t>>>0,r||A(t,4,this.length),ne.read(this,t,!0,23,4)};u.prototype.readFloatBE=function(t,r){return t=t>>>0,r||A(t,4,this.length),ne.read(this,t,!1,23,4)};u.prototype.readDoubleLE=function(t,r){return t=t>>>0,r||A(t,8,this.length),ne.read(this,t,!0,52,8)};u.prototype.readDoubleBE=function(t,r){return t=t>>>0,r||A(t,8,this.length),ne.read(this,t,!1,52,8)};function L(e,t,r,n,i,l){if(!u.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<l)throw new RangeError('"value" argument is out of bounds');if(r+n>e.length)throw new RangeError("Index out of range")}u.prototype.writeUintLE=u.prototype.writeUIntLE=function(t,r,n,i){if(t=+t,r=r>>>0,n=n>>>0,!i){var l=Math.pow(2,8*n)-1;L(this,t,r,n,l,0)}var p=1,m=0;for(this[r]=t&255;++m<n&&(p*=256);)this[r+m]=t/p&255;return r+n};u.prototype.writeUintBE=u.prototype.writeUIntBE=function(t,r,n,i){if(t=+t,r=r>>>0,n=n>>>0,!i){var l=Math.pow(2,8*n)-1;L(this,t,r,n,l,0)}var p=n-1,m=1;for(this[r+p]=t&255;--p>=0&&(m*=256);)this[r+p]=t/m&255;return r+n};u.prototype.writeUint8=u.prototype.writeUInt8=function(t,r,n){return t=+t,r=r>>>0,n||L(this,t,r,1,255,0),this[r]=t&255,r+1};u.prototype.writeUint16LE=u.prototype.writeUInt16LE=function(t,r,n){return t=+t,r=r>>>0,n||L(this,t,r,2,65535,0),this[r]=t&255,this[r+1]=t>>>8,r+2};u.prototype.writeUint16BE=u.prototype.writeUInt16BE=function(t,r,n){return t=+t,r=r>>>0,n||L(this,t,r,2,65535,0),this[r]=t>>>8,this[r+1]=t&255,r+2};u.prototype.writeUint32LE=u.prototype.writeUInt32LE=function(t,r,n){return t=+t,r=r>>>0,n||L(this,t,r,4,4294967295,0),this[r+3]=t>>>24,this[r+2]=t>>>16,this[r+1]=t>>>8,this[r]=t&255,r+4};u.prototype.writeUint32BE=u.prototype.writeUInt32BE=function(t,r,n){return t=+t,r=r>>>0,n||L(this,t,r,4,4294967295,0),this[r]=t>>>24,this[r+1]=t>>>16,this[r+2]=t>>>8,this[r+3]=t&255,r+4};u.prototype.writeIntLE=function(t,r,n,i){if(t=+t,r=r>>>0,!i){var l=Math.pow(2,8*n-1);L(this,t,r,n,l-1,-l)}var p=0,m=1,d=0;for(this[r]=t&255;++p<n&&(m*=256);)t<0&&d===0&&this[r+p-1]!==0&&(d=1),this[r+p]=(t/m>>0)-d&255;return r+n};u.prototype.writeIntBE=function(t,r,n,i){if(t=+t,r=r>>>0,!i){var l=Math.pow(2,8*n-1);L(this,t,r,n,l-1,-l)}var p=n-1,m=1,d=0;for(this[r+p]=t&255;--p>=0&&(m*=256);)t<0&&d===0&&this[r+p+1]!==0&&(d=1),this[r+p]=(t/m>>0)-d&255;return r+n};u.prototype.writeInt8=function(t,r,n){return t=+t,r=r>>>0,n||L(this,t,r,1,127,-128),t<0&&(t=255+t+1),this[r]=t&255,r+1};u.prototype.writeInt16LE=function(t,r,n){return t=+t,r=r>>>0,n||L(this,t,r,2,32767,-32768),this[r]=t&255,this[r+1]=t>>>8,r+2};u.prototype.writeInt16BE=function(t,r,n){return t=+t,r=r>>>0,n||L(this,t,r,2,32767,-32768),this[r]=t>>>8,this[r+1]=t&255,r+2};u.prototype.writeInt32LE=function(t,r,n){return t=+t,r=r>>>0,n||L(this,t,r,4,2147483647,-2147483648),this[r]=t&255,this[r+1]=t>>>8,this[r+2]=t>>>16,this[r+3]=t>>>24,r+4};u.prototype.writeInt32BE=function(t,r,n){return t=+t,r=r>>>0,n||L(this,t,r,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),this[r]=t>>>24,this[r+1]=t>>>16,this[r+2]=t>>>8,this[r+3]=t&255,r+4};function ar(e,t,r,n,i,l){if(r+n>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function sr(e,t,r,n,i){return t=+t,r=r>>>0,i||ar(e,t,r,4,34028234663852886e22,-34028234663852886e22),ne.write(e,t,r,n,23,4),r+4}u.prototype.writeFloatLE=function(t,r,n){return sr(this,t,r,!0,n)};u.prototype.writeFloatBE=function(t,r,n){return sr(this,t,r,!1,n)};function cr(e,t,r,n,i){return t=+t,r=r>>>0,i||ar(e,t,r,8,17976931348623157e292,-17976931348623157e292),ne.write(e,t,r,n,52,8),r+8}u.prototype.writeDoubleLE=function(t,r,n){return cr(this,t,r,!0,n)};u.prototype.writeDoubleBE=function(t,r,n){return cr(this,t,r,!1,n)};u.prototype.copy=function(t,r,n,i){if(!u.isBuffer(t))throw new TypeError("argument should be a Buffer");if(n||(n=0),!i&&i!==0&&(i=this.length),r>=t.length&&(r=t.length),r||(r=0),i>0&&i<n&&(i=n),i===n||t.length===0||this.length===0)return 0;if(r<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),t.length-r<i-n&&(i=t.length-r+n);var l=i-n;return this===t&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(r,n,i):Uint8Array.prototype.set.call(t,this.subarray(n,i),r),l};u.prototype.fill=function(t,r,n,i){if(typeof t=="string"){if(typeof r=="string"?(i=r,r=0,n=this.length):typeof n=="string"&&(i=n,n=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!u.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(t.length===1){var l=t.charCodeAt(0);(i==="utf8"&&l<128||i==="latin1")&&(t=l)}}else typeof t=="number"?t=t&255:typeof t=="boolean"&&(t=Number(t));if(r<0||this.length<r||this.length<n)throw new RangeError("Out of range index");if(n<=r)return this;r=r>>>0,n=n===void 0?this.length:n>>>0,t||(t=0);var p;if(typeof t=="number")for(p=r;p<n;++p)this[p]=t;else{var m=u.isBuffer(t)?t:u.from(t,i),d=m.length;if(d===0)throw new TypeError('The value "'+t+'" is invalid for argument "value"');for(p=0;p<n-r;++p)this[p+r]=m[p%d]}return this};var Ko=/[^+/0-9A-Za-z-_]/g;function Yo(e){if(e=e.split("=")[0],e=e.trim().replace(Ko,""),e.length<2)return"";for(;e.length%4!==0;)e=e+"=";return e}function nt(e,t){t=t||1/0;for(var r,n=e.length,i=null,l=[],p=0;p<n;++p){if(r=e.charCodeAt(p),r>55295&&r<57344){if(!i){if(r>56319){(t-=3)>-1&&l.push(239,191,189);continue}else if(p+1===n){(t-=3)>-1&&l.push(239,191,189);continue}i=r;continue}if(r<56320){(t-=3)>-1&&l.push(239,191,189),i=r;continue}r=(i-55296<<10|r-56320)+65536}else i&&(t-=3)>-1&&l.push(239,191,189);if(i=null,r<128){if((t-=1)<0)break;l.push(r)}else if(r<2048){if((t-=2)<0)break;l.push(r>>6|192,r&63|128)}else if(r<65536){if((t-=3)<0)break;l.push(r>>12|224,r>>6&63|128,r&63|128)}else if(r<1114112){if((t-=4)<0)break;l.push(r>>18|240,r>>12&63|128,r>>6&63|128,r&63|128)}else throw new Error("Invalid code point")}return l}function Zo(e){for(var t=[],r=0;r<e.length;++r)t.push(e.charCodeAt(r)&255);return t}function Xo(e,t){for(var r,n,i,l=[],p=0;p<e.length&&!((t-=2)<0);++p)r=e.charCodeAt(p),n=r>>8,i=r%256,l.push(i),l.push(n);return l}function lr(e){return et.toByteArray(Yo(e))}function Ie(e,t,r,n){for(var i=0;i<n&&!(i+r>=t.length||i>=e.length);++i)t[i+r]=e[i];return i}function O(e,t){return e instanceof t||e!=null&&e.constructor!=null&&e.constructor.name!=null&&e.constructor.name===t.name}function at(e){return e!==e}var Jo=function(){for(var e="0123456789abcdef",t=new Array(256),r=0;r<16;++r)for(var n=r*16,i=0;i<16;++i)t[n+i]=e[r]+e[i];return t}()});var fr=Ae((Ia,gr)=>{o();var w=gr.exports={},B,U;function st(){throw new Error("setTimeout has not been defined")}function ct(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?B=setTimeout:B=st}catch(e){B=st}try{typeof clearTimeout=="function"?U=clearTimeout:U=ct}catch(e){U=ct}})();function ur(e){if(B===setTimeout)return setTimeout(e,0);if((B===st||!B)&&setTimeout)return B=setTimeout,setTimeout(e,0);try{return B(e,0)}catch(t){try{return B.call(null,e,0)}catch(r){return B.call(this,e,0)}}}function Qo(e){if(U===clearTimeout)return clearTimeout(e);if((U===ct||!U)&&clearTimeout)return U=clearTimeout,clearTimeout(e);try{return U(e)}catch(t){try{return U.call(null,e)}catch(r){return U.call(this,e)}}}var H=[],ie=!1,X,Ee=-1;function ei(){!ie||!X||(ie=!1,X.length?H=X.concat(H):Ee=-1,H.length&&dr())}function dr(){if(!ie){var e=ur(ei);ie=!0;for(var t=H.length;t;){for(X=H,H=[];++Ee<t;)X&&X[Ee].run();Ee=-1,t=H.length}X=null,ie=!1,Qo(e)}}w.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];H.push(new mr(e,t)),H.length===1&&!ie&&ur(dr)};function mr(e,t){this.fun=e,this.array=t}mr.prototype.run=function(){this.fun.apply(null,this.array)};w.title="browser";w.browser=!0;w.env={};w.argv=[];w.version="";w.versions={};function G(){}w.on=G;w.addListener=G;w.once=G;w.off=G;w.removeListener=G;w.removeAllListeners=G;w.emit=G;w.prependListener=G;w.prependOnceListener=G;w.listeners=function(e){return[]};w.binding=function(e){throw new Error("process.binding is not supported")};w.cwd=function(){return"/"};w.chdir=function(e){throw new Error("process.chdir is not supported")};w.umask=function(){return 0}});var a,s,Ea,o=T(()=>{a=S(pr()),s=S(fr()),Ea=function(e){function t(){var n=this||self;return delete e.prototype.__magic__,n}if(typeof globalThis=="object")return globalThis;if(this)return t();e.defineProperty(e.prototype,"__magic__",{configurable:!0,get:t});var r=__magic__;return r}(Object)});var Tr=T(()=>{"use strict";o()});var yr=T(()=>{"use strict";o()});var hr=T(()=>{"use strict";o()});var V=T(()=>{"use strict";o()});var xr=T(()=>{"use strict";o()});var Sr=T(()=>{"use strict";o()});var E=T(()=>{"use strict";o()});var wr=T(()=>{"use strict";o()});var br=T(()=>{"use strict";o()});var W=T(()=>{"use strict";o();yr();hr();V();xr();Sr();E();wr();br()});var lt,Ar,Wa,vr,qa,kr,ja,za,Ka,Ir=T(()=>{"use strict";o();W();lt={devnet:{id:"devnet",chainId:"D",name:"Devnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://devnet-wallet.multiversx.com",apiAddress:"https://devnet-api.multiversx.com",explorerAddress:"http://devnet-explorer.multiversx.com",apiTimeout:"4000"},testnet:{id:"testnet",chainId:"T",name:"Testnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://testnet-wallet.multiversx.com",apiAddress:"https://testnet-api.multiversx.com",explorerAddress:"http://testnet-explorer.multiversx.com",apiTimeout:"4000"},mainnet:{id:"mainnet",chainId:"1",name:"Mainnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://wallet.multiversx.com",apiAddress:"https://api.multiversx.com",explorerAddress:"https://explorer.multiversx.com",apiTimeout:"4000"}},{chainId:Ar,egldLabel:Wa}=lt["devnet"],{chainId:vr,egldLabel:qa}=lt["testnet"],{chainId:kr,egldLabel:ja}=lt["mainnet"],za={["devnet"]:Ar,["testnet"]:vr,["mainnet"]:kr},Ka={[Ar]:"devnet",[vr]:"testnet",[kr]:"mainnet"}});var pt=T(()=>{"use strict";o()});var Er=T(()=>{"use strict";o()});var Lr,ut=T(()=>{"use strict";o();Lr="transaction-status-toast-id"});var Dr,de,me,Nr,Le,Cr,ae,b=T(()=>{"use strict";o();Tr();Ir();pt();Er();ut();Dr=1500,de=5e4,me=1e9,Nr=1,Le="logout",Cr="login",ae="0"});var De,mt=T(()=>{"use strict";o();De=()=>Date.now()/1e3});var Rr=T(()=>{"use strict";o()});var Pr=T(()=>{"use strict";o()});var _r=T(()=>{"use strict";o();mt();Rr();Pr()});var ft={};K(ft,{getItem:()=>ri,localStorageKeys:()=>J,removeItem:()=>ni,setItem:()=>ti});var J,gt,ti,ri,ni,fe=T(()=>{"use strict";o();_r();J={loginExpiresAt:"sdk-dapp-login-expires-at",logoutEvent:"sdk-dapp-logout-event"},gt=typeof localStorage!="undefined",ti=({key:e,data:t,expires:r})=>{!gt||localStorage.setItem(String(e),JSON.stringify({expires:r,data:t}))},ri=e=>{if(!gt)return;let t=localStorage.getItem(String(e));if(!t)return null;let r=JSON.parse(t);return!r||!r.hasOwnProperty("expires")||!r.hasOwnProperty("data")?null:De()>=r.expires?(localStorage.removeItem(String(e)),null):r.data},ni=e=>{!gt||localStorage.removeItem(String(e))}});var Tt={};K(Tt,{clear:()=>Br,getItem:()=>Mr,removeItem:()=>Or,setItem:()=>Fr,storage:()=>oi});var Fr,Mr,Or,Br,oi,Ur=T(()=>{"use strict";o();Fr=({key:e,data:t,expires:r})=>{sessionStorage.setItem(String(e),JSON.stringify({expires:r,data:t}))},Mr=e=>{let t=sessionStorage.getItem(String(e));if(!t)return null;let r=JSON.parse(t);return!r||!r.hasOwnProperty("expires")||!r.hasOwnProperty("data")?null:Date.now()>=r.expires?(sessionStorage.removeItem(String(e)),null):r.data},Or=e=>sessionStorage.removeItem(String(e)),Br=()=>sessionStorage.clear(),oi={setItem:Fr,getItem:Mr,removeItem:Or,clear:Br}});var se,Ne=T(()=>{"use strict";o();fe();Ur();se={session:Tt,local:ft}});function Te(){return new Date().setHours(new Date().getHours()+24)}function ye(e){se.local.setItem({key:J.loginExpiresAt,data:e,expires:e})}var yt=T(()=>{"use strict";o();Ne();fe()});var ht,D,Ce,j=T(()=>{"use strict";o();ht=require("@reduxjs/toolkit");b();D=(0,ht.createAction)(Le),Ce=(0,ht.createAction)(Cr,e=>({payload:e}))});var $r,Vr,Hr,Ls,Ds,Ns,Cs,Rs,Ps,Gr,Wr,xt=T(()=>{"use strict";o();$r=require("@reduxjs/toolkit");yt();V();j();Vr={loginMethod:"",walletConnectLogin:null,ledgerLogin:null,tokenLogin:null,walletLogin:null,extensionLogin:null,isLoginSessionInvalid:!1},Hr=(0,$r.createSlice)({name:"loginInfoSlice",initialState:Vr,reducers:{setLoginMethod:(e,t)=>{e.loginMethod=t.payload},setTokenLogin:(e,t)=>{e.tokenLogin=t.payload},setTokenLoginSignature:(e,t)=>{(e==null?void 0:e.tokenLogin)!=null&&(e.tokenLogin.signature=t.payload)},setWalletLogin:(e,t)=>{e.walletLogin=t.payload},setWalletConnectLogin:(e,t)=>{e.walletConnectLogin=t.payload},setLedgerLogin:(e,t)=>{e.ledgerLogin=t.payload},invalidateLoginSession:e=>{e.isLoginSessionInvalid=!0}},extraReducers:e=>{e.addCase(D,()=>Vr),e.addCase(Ce,(t,r)=>{t.loginMethod=r.payload.loginMethod,ye(Te())})}}),{setLoginMethod:Ls,setWalletConnectLogin:Ds,setLedgerLogin:Ns,setTokenLogin:Cs,setTokenLoginSignature:Rs,setWalletLogin:Ps,invalidateLoginSession:Gr}=Hr.actions,Wr=Hr.reducer});var qr=T(()=>{"use strict";o()});var jr=T(()=>{"use strict";o();qr()});function St(e){return e[Math.floor(Math.random()*e.length)]}var zr=T(()=>{"use strict";o()});var Kr=T(()=>{"use strict";o();pt()});var Yr=T(()=>{"use strict";o();jr();zr();Kr()});var Zr,Xr,wt,ai,Jr,Ys,Zs,Qr,bt=T(()=>{"use strict";o();Zr=require("@reduxjs/toolkit"),Xr=S(require("lodash.omit"));Yr();wt={id:"not-configured",chainId:"",name:"NOT CONFIGURED",egldLabel:"",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"",walletConnectBridgeAddress:"",walletConnectV2RelayAddress:"",walletConnectV2ProjectId:"",walletConnectV2Options:{},walletAddress:"",apiAddress:"",explorerAddress:"",apiTimeout:"4000"},ai={network:wt,chainID:"-1"},Jr=(0,Zr.createSlice)({name:"appConfig",initialState:ai,reducers:{initializeNetworkConfig:(e,t)=>{let r=St(t.payload.walletConnectBridgeAddresses),n=St(t.payload.walletConnectV2RelayAddresses),i=(0,Xr.default)(t.payload,"walletConnectBridgeAddresses","walletConnectV2RelayAddresses");e.network=I(x(x({},e.network),i),{walletConnectBridgeAddress:r,walletConnectV2RelayAddress:n})},setChainID:(e,t)=>{e.chainID=t.payload}}}),{initializeNetworkConfig:Ys,setChainID:Zs}=Jr.actions,Qr=Jr.reducer});var vt,en,tn,Re,At,rn,nn,oc,on,ic,ac,sc,cc,lc,pc,uc,an,kt=T(()=>{"use strict";o();vt=require("@multiversx/sdk-core"),en=require("@reduxjs/toolkit"),tn=require("redux-persist");b();Ne();fe();j();Re={balance:"...",address:"",nonce:0,txCount:0,scrCount:0,claimableRewards:ae},At={address:"",websocketEvent:null,accounts:{"":Re},ledgerAccount:null,publicKey:"",walletConnectAccount:null,isAccountLoading:!0,accountLoadingError:null},rn=(0,en.createSlice)({name:"accountInfoSlice",initialState:At,reducers:{setAddress:(e,t)=>{let r=t.payload;e.address=r,e.publicKey=new vt.Address(r).hex()},setAccount:(e,t)=>{let r=e.address===t.payload.address;e.accounts={[e.address]:r?t.payload:Re},e.shard=t.payload.shard,e.isAccountLoading=!1,e.accountLoadingError=null},setAccountNonce:(e,t)=>{let{address:r}=e;e.accounts[r].nonce=t.payload},setAccountShard:(e,t)=>{e.shard=t.payload},setLedgerAccount:(e,t)=>{e.ledgerAccount=t.payload},updateLedgerAccount:(e,t)=>{e.ledgerAccount!=null&&(e.ledgerAccount.index=t.payload.index,e.ledgerAccount.address=t.payload.address)},setWalletConnectAccount:(e,t)=>{e.walletConnectAccount=t.payload},setIsAccountLoading:(e,t)=>{e.isAccountLoading=t.payload,e.accountLoadingError=null},setAccountLoadingError:(e,t)=>{e.accountLoadingError=t.payload,e.isAccountLoading=!1},setWebsocketEvent:(e,t)=>{e.websocketEvent={timestamp:Date.now(),message:t.payload}}},extraReducers:e=>{e.addCase(D,()=>(se.local.removeItem(J.loginExpiresAt),At)),e.addCase(Ce,(t,r)=>{let{address:n}=r.payload;t.address=n,t.publicKey=new vt.Address(n).hex()}),e.addCase(tn.REHYDRATE,(t,r)=>{var f;if(!((f=r.payload)!=null&&f.account))return;let{account:n}=r.payload,{address:i,shard:l,accounts:p,publicKey:m}=n;t.address=i,t.shard=l;let d=p&&i in p;t.accounts=d?p:At.accounts,t.publicKey=m})}}),{setAccount:nn,setAddress:oc,setAccountNonce:on,setAccountShard:ic,setLedgerAccount:ac,updateLedgerAccount:sc,setWalletConnectAccount:cc,setIsAccountLoading:lc,setAccountLoadingError:pc,setWebsocketEvent:uc}=rn.actions,an=rn.reducer});function sn(e){return e!=null&&(fi(e)||xi(e))}function Pe(e){return e!=null&&(Ti(e)||Si(e))}function _e(e){return e!=null&&(yi(e)||wi(e))}function cn(e){return e!=null&&hi(e)}function fi(e){return e!=null&&ci.includes(e)}function Ti(e){return e!=null&&li.includes(e)}function yi(e){return e!=null&&pi.includes(e)}function hi(e){return e!=null&&ui.includes(e)}function xi(e){return e!=null&&di.includes(e)}function Si(e){return e!=null&&mi.includes(e)}function wi(e){return e!=null&&gi.includes(e)}var ci,li,pi,ui,di,mi,gi,Et=T(()=>{"use strict";o();V();ci=["sent"],li=["success"],pi=["fail","cancelled","timedOut"],ui=["timedOut"],di=["pending"],mi=["success"],gi=["fail","invalid"]});var ln,pn,he,bi,un,Sc,wc,bc,Ac,vc,kc,Ic,Ec,Lc,Dc,Fe,Me=T(()=>{"use strict";o();ln=require("@reduxjs/toolkit"),pn=require("redux-persist");V();Et();j();he={signedTransactions:{},transactionsToSign:null,signTransactionsError:null,signTransactionsCancelMessage:null,customTransactionInformationForSessionId:{}},bi={signWithoutSending:!1,sessionInformation:null,redirectAfterSign:!1},un=(0,ln.createSlice)({name:"transactionsSlice",initialState:he,reducers:{moveTransactionsToSignedState:(e,t)=>{var d,f;let{sessionId:r,transactions:n,errorMessage:i,status:l,redirectRoute:p}=t.payload,m=((d=e.customTransactionInformationForSessionId)==null?void 0:d[r])||bi;e.signedTransactions[r]={transactions:n,status:l,errorMessage:i,redirectRoute:p,customTransactionInformation:m},((f=e==null?void 0:e.transactionsToSign)==null?void 0:f.sessionId)===r&&(e.transactionsToSign=he.transactionsToSign)},clearSignedTransaction:(e,t)=>{e.signedTransactions[t.payload]&&delete e.signedTransactions[t.payload]},clearTransactionToSign:e=>{e!=null&&e.transactionsToSign&&(e.transactionsToSign=null)},updateSignedTransaction:(e,t)=>{e.signedTransactions=x(x({},e.signedTransactions),t.payload)},updateSignedTransactions:(e,t)=>{let{sessionId:r,status:n,errorMessage:i,transactions:l}=t.payload;e.signedTransactions[r]!=null&&(e.signedTransactions[r].status=n,i!=null&&(e.signedTransactions[r].errorMessage=i),l!=null&&(e.signedTransactions[r].transactions=l))},updateSignedTransactionStatus:(e,t)=>{var m,d,f,h,y,v;let{sessionId:r,status:n,errorMessage:i,transactionHash:l}=t.payload,p=(d=(m=e.signedTransactions)==null?void 0:m[r])==null?void 0:d.transactions;if(p!=null){e.signedTransactions[r].transactions=p.map(_=>_.hash===l?I(x({},_),{status:n,errorMessage:i}):_);let k=(h=(f=e.signedTransactions[r])==null?void 0:f.transactions)==null?void 0:h.every(_=>Pe(_.status)),P=(v=(y=e.signedTransactions[r])==null?void 0:y.transactions)==null?void 0:v.every(_=>_e(_.status));k&&(e.signedTransactions[r].status="success"),P&&(e.signedTransactions[r].status="fail")}},setTransactionsToSign:(e,t)=>{e.transactionsToSign=t.payload;let{sessionId:r,customTransactionInformation:n}=t.payload;e.customTransactionInformationForSessionId[r]=n,e.signTransactionsError=null},clearAllTransactionsToSign:e=>{e.transactionsToSign=he.transactionsToSign,e.signTransactionsError=null},clearAllSignedTransactions:e=>{e.signedTransactions=he.signedTransactions},setSignTransactionsError:(e,t)=>{e.signTransactionsError=t.payload},setSignTransactionsCancelMessage:(e,t)=>{e.signTransactionsCancelMessage=t.payload}},extraReducers:e=>{e.addCase(D,()=>he),e.addCase(pn.REHYDRATE,(t,r)=>{var p;if(t.signTransactionsCancelMessage=null,!((p=r.payload)!=null&&p.transactions))return;let{signedTransactions:n,customTransactionInformationForSessionId:i}=r.payload.transactions,l=Object.entries(n).reduce((m,[d,f])=>{let h=new Date(d),y=new Date;return y.setHours(y.getHours()+5),y-h>0||(m[d]=f),m},{});i!=null&&(t.customTransactionInformationForSessionId=i),n!=null&&(t.signedTransactions=l)})}}),{updateSignedTransactionStatus:Sc,updateSignedTransactions:wc,setTransactionsToSign:bc,clearAllTransactionsToSign:Ac,clearAllSignedTransactions:vc,clearSignedTransaction:kc,clearTransactionToSign:Ic,setSignTransactionsError:Ec,setSignTransactionsCancelMessage:Lc,moveTransactionsToSignedState:Dc}=un.actions,Fe=un.reducer});var dn,Dt,Nt,Ct,Ai,Lt,mn,Pc,_c,Fc,Oe,Be=T(()=>{"use strict";o();dn=require("@reduxjs/toolkit");j();Dt="Transaction failed",Nt="Transaction successful",Ct="Processing transaction",Ai="Transaction submitted",Lt={},mn=(0,dn.createSlice)({name:"transactionsInfo",initialState:Lt,reducers:{setTransactionsDisplayInfo(e,t){let{sessionId:r,transactionsDisplayInfo:n}=t.payload;r!=null&&(e[r]={errorMessage:(n==null?void 0:n.errorMessage)||Dt,successMessage:(n==null?void 0:n.successMessage)||Nt,processingMessage:(n==null?void 0:n.processingMessage)||Ct,submittedMessage:(n==null?void 0:n.submittedMessage)||Ai,transactionDuration:n==null?void 0:n.transactionDuration})},clearTransactionsInfoForSessionId(e,t){t.payload!=null&&delete e[t.payload]},clearTransactionsInfo:()=>Lt},extraReducers:e=>{e.addCase(D,()=>Lt)}}),{clearTransactionsInfo:Pc,setTransactionsDisplayInfo:_c,clearTransactionsInfoForSessionId:Fc}=mn.actions,Oe=mn.reducer});var fn,gn,Tn,Uc,Vc,$c,Hc,yn,Rt=T(()=>{"use strict";o();fn=require("@reduxjs/toolkit");j();gn={},Tn=(0,fn.createSlice)({name:"modalsSlice",initialState:gn,reducers:{setTxSubmittedModal:(e,t)=>{e.txSubmittedModal=t.payload},setNotificationModal:(e,t)=>{e.notificationModal=t.payload},clearTxSubmittedModal:e=>{e.txSubmittedModal=void 0},clearNotificationModal:e=>{e.notificationModal=void 0}},extraReducers:e=>{e.addCase(D,()=>gn)}}),{setTxSubmittedModal:Uc,setNotificationModal:Vc,clearTxSubmittedModal:$c,clearNotificationModal:Hc}=Tn.actions,yn=Tn.reducer});var xn,Sn,hn,wn,Zc,Xc,Jc,Qc,el,tl,Ue,Ve=T(()=>{"use strict";o();xn=require("@reduxjs/toolkit"),Sn=require("redux-persist");ut();W();mt();j();hn={customToasts:[],transactionToasts:[],failTransactionToast:null},wn=(0,xn.createSlice)({name:"toastsSlice",initialState:hn,reducers:{addCustomToast:(e,t)=>{e.customToasts.push(I(x({},t.payload),{type:"custom",toastId:t.payload.toastId||`custom-toast-${e.customToasts.length+1}`}))},removeCustomToast:(e,t)=>{e.customToasts=e.customToasts.filter(r=>r.toastId!==t.payload)},addTransactionToast:(e,t)=>{e.transactionToasts.push({type:"transaction",startTimestamp:De(),toastId:t.payload||`custom-toast-${e.transactionToasts.length+1}`})},removeTransactionToast:(e,t)=>{e.transactionToasts=e.transactionToasts.filter(r=>r.toastId!==t.payload)},addFailTransactionToast:(e,t)=>{e.failTransactionToast=I(x({},t.payload),{toastId:Lr})},removeFailTransactionToast:e=>{e.failTransactionToast=null}},extraReducers:e=>{e.addCase(D,()=>hn),e.addCase(Sn.REHYDRATE,(t,r)=>{var i,l;let n=(l=(i=r.customToasts)==null?void 0:i.filter(p=>!("component"in p)))!=null?l:[];t.customToasts=n})}}),{addCustomToast:Zc,removeCustomToast:Xc,addTransactionToast:Jc,removeTransactionToast:Qc,addFailTransactionToast:el,removeFailTransactionToast:tl}=wn.actions,Ue=wn.reducer});var ce=T(()=>{"use strict";o();xt();bt();kt();Me();Be();Rt();Ve()});var Ft=T(()=>{"use strict";o()});var _n,Pn,Fn,Bp,Up,Vp,$p,Hp,Gp,Mn,On=T(()=>{"use strict";o();_n=require("@reduxjs/toolkit");j();Pn={visible:!1,modal:{showHeader:!0,showFooter:!1,headerText:"",footerText:""}},Fn=(0,_n.createSlice)({name:"dappModalsSlice",initialState:Pn,reducers:{setDappModalVisibility:(e,t)=>{e.visible=t.payload},setDappModalHeaderVisibility:(e,t)=>{e.modal.showHeader=t.payload},setDappModalFooterVisibility:(e,t)=>{e.modal.showFooter=t.payload},setDappModalHeaderText:(e,t)=>{e.modal.headerText=t.payload},setDappModalFooterText:(e,t)=>{e.modal.footerText=t.payload},setDappModalConfig:(e,t)=>{e.modal=x({},t.payload)}},extraReducers:e=>{e.addCase(D,()=>Pn)}}),{setDappModalVisibility:Bp,setDappModalHeaderVisibility:Up,setDappModalFooterVisibility:Vp,setDappModalHeaderText:$p,setDappModalFooterText:Hp,setDappModalConfig:Gp}=Fn.actions,Mn=Fn.reducer});var Bn,_i,Fi,le,qe=T(()=>{"use strict";o();Bn=require("@reduxjs/toolkit");Ft();kt();On();xt();Rt();bt();Ve();Be();Me();_i={["account"]:an,["networkConfig"]:Qr,["loginInfo"]:Wr,["modals"]:yn,["dappModal"]:Mn,["toasts"]:Ue,["transactions"]:Fe,["transactionsInfo"]:Oe},Fi=(e={})=>(0,Bn.combineReducers)(x(x({},_i),e)),le=Fi});var $n={};K($n,{default:()=>Hi});function Mt(e,t=[]){return{key:e,version:1,storage:Vn.default,blacklist:t}}var te,Un,Vn,Mi,Oi,Bi,Ui,Vi,$i,Hi,Hn=T(()=>{"use strict";o();te=require("redux-persist"),Un=S(require("redux-persist/lib/storage")),Vn=S(require("redux-persist/lib/storage/session"));qe();ce();Ve();Be();Me();Ft();Mi={2:e=>I(x({},e),{networkConfig:wt})};Oi=Mt("sdk-dapp-transactionsInfo"),Bi=Mt("sdk-dapp-transactions",["transactionsToSign"]),Ui=Mt("sdk-dapp-toasts"),Vi={key:"sdk-dapp-store",version:2,storage:Un.default,whitelist:["account","loginInfo","modals","networkConfig"],migrate:(0,te.createMigrate)(Mi,{debug:!1})},$i={["toasts"]:(0,te.persistReducer)(Ui,Ue),["transactions"]:(0,te.persistReducer)(Bi,Fe),["transactionsInfo"]:(0,te.persistReducer)(Oi,Oe)},Hi=(0,te.persistReducer)(Vi,le($i))});var Gn={};K(Gn,{default:()=>Gi});var Gi,Wn=T(()=>{"use strict";o();qe();Gi=le()});var qn={};K(qn,{default:()=>qi});var R,Wi,qi,jn=T(()=>{"use strict";o();R=require("redux-persist"),Wi=[R.FLUSH,R.REHYDRATE,R.PAUSE,R.PERSIST,R.PURGE,R.REGISTER],qi=Wi});var Yn={};K(Yn,{default:()=>Kn});function Kn(e){return(0,zn.persistStore)(e)}var zn,Zn=T(()=>{"use strict";o();zn=require("redux-persist")});var wa={};K(wa,{transformAndSignTransactions:()=>Sa});module.exports=ue(wa);o();var Ht=require("@multiversx/sdk-core"),Gt=S(require("bignumber.js"));b();o();var N=require("@multiversx/sdk-core");b();o();function dt(e){try{return a.Buffer.from(e,"base64").toString()===atob(e)}catch(t){return!1}}function ge(e){var i,l,p;let{data:t}=e,r=dt(t!=null?t:"")?N.TransactionPayload.fromEncoded(t):new N.TransactionPayload(t),n=new N.Transaction(x({value:e.value.valueOf(),data:r,nonce:e.nonce.valueOf(),receiver:new N.Address(e.receiver),sender:new N.Address(e.sender),gasLimit:(i=e.gasLimit.valueOf())!=null?i:de,gasPrice:(l=e.gasPrice.valueOf())!=null?l:me,chainID:e.chainID.valueOf(),version:new N.TransactionVersion((p=e.version)!=null?p:Nr)},e.options?{options:new N.TransactionOptions(e.options)}:{}));return n.applySignature({hex:()=>e.signature||""},new N.Address(e.sender)),n}o();o();ce();o();var bn=S(require("lodash.isequal")),$e=require("reselect");W();var g=(0,$e.createSelectorCreator)($e.defaultMemoize,bn.default),He=(e,t)=>e!=""&&Boolean(t);var q=e=>e.account,xe=g(q,e=>e.address),Pt=g(q,xe,(e,t)=>t in e.accounts?e.accounts[t]:Re),fl=g(q,Pt,(e,t)=>{let i=e,{accounts:r}=i,n=jt(i,["accounts"]);return I(x({},n),{account:t})}),Tl=g(Pt,e=>e.balance),An=g(Pt,e=>{var t;return((t=e==null?void 0:e.nonce)==null?void 0:t.valueOf())||0}),yl=g(q,e=>e.shard),hl=g(q,e=>e.ledgerAccount),xl=g(q,e=>e.walletConnectAccount),Sl=g(q,e=>e.isAccountLoading),wl=g(q,e=>e.accountLoadingError),bl=g(q,e=>e.websocketEvent);o();var Q=e=>e.networkConfig,vn=g(Q,e=>e.chainID),kl=g(Q,e=>e.network.walletConnectBridgeAddress),Il=g(Q,e=>e.network.walletConnectV2RelayAddress),El=g(Q,e=>e.network.walletConnectV2ProjectId),Ll=g(Q,e=>e.network.walletConnectV2Options),Dl=g(Q,e=>e.network.walletConnectDeepLink),_t=g(Q,e=>e.network),kn=g(_t,e=>e.apiAddress),In=g(_t,e=>e.explorerAddress),Nl=g(_t,e=>e.egldLabel);o();var ee=e=>e.loginInfo,_l=g(ee,e=>e.loginMethod),Fl=g(ee,xe,(e,t)=>He(e.loginMethod,t)),Ml=g(ee,e=>e.walletConnectLogin),Ol=g(ee,e=>e.ledgerLogin),Bl=g(ee,e=>e.walletLogin),Ul=g(ee,e=>e.isLoginSessionInvalid),Vl=g(ee,e=>e.tokenLogin);o();o();Et();o();var ki=S(require("bignumber.js"));W();o();o();o();o();var Ei=require("@multiversx/sdk-core"),Li=S(require("bignumber.js"));V();o();var Ii=require("@multiversx/sdk-core");o();o();o();var Ni=require("@multiversx/sdk-core/out");o();b();o();var Nn=require("@multiversx/sdk-core");W();o();o();o();o();V();o();o();var Ot=require("@reduxjs/toolkit"),eo=require("react-redux/es/utils/Subscription");ce();o();var Cn=S(require("lodash.throttle"));b();ce();yt();Ne();fe();var Ci=[Le],Ge=!1,Ri=(0,Cn.default)(()=>{ye(Te())},5e3),Rn=e=>t=>r=>{var d;if(Ci.includes(r.type))return t(r);let n=e.getState(),i=se.local.getItem(J.loginExpiresAt);if(!He((d=n==null?void 0:n.loginInfo)==null?void 0:d.loginMethod,n==null?void 0:n.account.address))return t(r);if(i==null)return ye(Te());let p=Date.now();return i-p<0&&!Ge?setTimeout(()=>{Ge=!0,e.dispatch(Gr())},1e3):(Ge&&(Ge=!1),Ri()),t(r)};o();o();function We(){return typeof sessionStorage!="undefined"}var Xn=We()?(Hn(),ue($n)).default:(Wn(),ue(Gn)).default,Jn=We()?(jn(),ue(qn)).default:[],Qn=We()?(Zn(),ue(Yn)).default:e=>e;qe();var F=(0,Ot.configureStore)({reducer:Xn,middleware:e=>e({serializableCheck:{ignoredActions:[...Jn,on.type,nn.type],ignoredPaths:["payload.nonce","account.account.nonce","providers.accountProvider"]}}).concat(Rn)}),gu=(0,eo.createSubscription)(F),fu=Qn(F),Tu=(0,Ot.configureStore)({reducer:le});o();o();o();o();o();o();var Bt="accounts";o();o();o();o();E();o();o();E();o();o();o();var Xi=S(require("bignumber.js"));b();o();var Zi=require("@multiversx/sdk-core"),Ut=S(require("bignumber.js"));b();o();var Ki=S(require("bignumber.js"));o();Ut.default.config({ROUNDING_MODE:Ut.default.ROUND_FLOOR});o();o();o();b();o();o();o();o();b();o();b();o();var Ji=require("@multiversx/sdk-core");b();o();var Se=require("@multiversx/sdk-core"),ea=require("@multiversx/sdk-network-providers");b();o();o();var Qi=S(require("bignumber.js"));b();o();b();o();o();o();o();o();b();o();E();var ra=["reDelegateRewards","claimRewards","unBond"],na=["wrapEgld","unwrapEgld"],oa=["unStake"],ia=["unDelegate"];o();o();o();b();o();var ca=S(require("bignumber.js"));o();o();o();E();o();var la=S(require("bignumber.js"));o();o();o();o();E();o();o();o();var ua=S(require("linkifyjs"));o();b();o();var da=S(require("bignumber.js"));o();W();o();o();V();o();V();o();o();o();E();o();E();o();var ma=S(require("bignumber.js"));b();E();o();E();o();var io=require("react");W();o();o();E();o();var ga=require("@multiversx/sdk-core/out"),fa=S(require("bignumber.js"));E();o();E();o();o();V();var nT=[{label:"Raw",value:"raw"},{label:"Text",value:"text"},{label:"Decimal",value:"decimal"},{label:"Smart",value:"smart"}];o();var ao=require("react");W();o();var ya=require("react");E();var pT=["create","localMint","ESDTLocalMint","addQuantity","burn","localBurn","ESDTLocalBurn","wipe","writeLog","signalError"];var Ye=e=>e.transactions,we=g(Ye,e=>e.signedTransactions),KT=g(Ye,e=>e.signTransactionsError),YT=g(Ye,e=>e.signTransactionsCancelMessage),Ze=e=>t=>Object.entries(t).reduce((r,[n,i])=>(e(i.status)&&(r[n]=i),r),{}),ZT=g(we,Ze(sn)),XT=g(we,Ze(Pe)),JT=g(we,Ze(_e)),QT=g(we,Ze(cn)),ey=g(Ye,e=>{var t;return(e==null?void 0:e.transactionsToSign)==null?null:I(x({},e.transactionsToSign),{transactions:((t=e==null?void 0:e.transactionsToSign)==null?void 0:t.transactions.map(r=>ge(r)))||[]})}),ty=g(we,(e,t)=>t,(e,t)=>t!=null?(e==null?void 0:e[t])||{}:{});o();ce();var so={errorMessage:Dt,successMessage:Nt,processingMessage:Ct},ha=e=>e.transactionsInfo,iy=g(ha,(e,t)=>t,(e,t)=>t!=null&&(e==null?void 0:e[Number(t)])||so);o();var co=e=>e.modals,cy=g(co,e=>e.txSubmittedModal),ly=g(co,e=>e.notificationModal);o();var $t=e=>e.toasts,dy=g($t,e=>e.customToasts),my=g($t,e=>e.transactionToasts),gy=g($t,e=>e.failTransactionToast);o();o();var po=S(require("axios"));o();o();var lo=e=>{let t=e!=null?e:kn(F.getState());return t.endsWith("/")?t.slice(0,-1):t};function uo(e){return re(this,null,function*(){if(!e)return null;let r=`${lo()}/${Bt}/${e}`;try{let{data:n}=yield po.default.get(r);return n}catch(n){console.error("error fetching configuration for ",r)}return null})}function mo(e){return re(this,null,function*(){return yield uo(e)})}o();function go(e){let t=F.getState(),r=An(t);return e?r&&!isNaN(r)?Math.max(r,e.nonce):e.nonce:r}function xa(e){let t=new Gt.default(de),r=new Gt.default(Dr),n=e?r.times(a.Buffer.from(e).length):0;return t.plus(n).toString(10)}function Sa(t){return re(this,arguments,function*({transactions:e}){let r=xe(F.getState()),n=yield mo(r),i=go(n);return e.map(l=>{let{value:p,receiver:m,data:d="",chainID:f,version:h=1,options:y,gasPrice:v=me,gasLimit:k=xa(l.data)}=l,P=m;try{P=new Ht.Address(m).hex()}catch(To){throw"Invalid Receiver address"}let _=vn(F.getState()).valueOf().toString(),fo=f||_;return ge({value:p,receiver:P,data:d,gasPrice:v,gasLimit:Number(k),nonce:Number(i.valueOf().toString()),sender:new Ht.Address(r).hex(),chainID:fo,version:h,options:y})})})}0&&(module.exports={transformAndSignTransactions});
1
+ "use strict";var yo=Object.create;var pe=Object.defineProperty,ho=Object.defineProperties,xo=Object.getOwnPropertyDescriptor,So=Object.getOwnPropertyDescriptors,wo=Object.getOwnPropertyNames,be=Object.getOwnPropertySymbols,bo=Object.getPrototypeOf,Xe=Object.prototype.hasOwnProperty,qt=Object.prototype.propertyIsEnumerable;var Wt=(e,t,r)=>t in e?pe(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,x=(e,t)=>{for(var r in t||(t={}))Xe.call(t,r)&&Wt(e,r,t[r]);if(be)for(var r of be(t))qt.call(t,r)&&Wt(e,r,t[r]);return e},I=(e,t)=>ho(e,So(t));var jt=(e,t)=>{var r={};for(var n in e)Xe.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&be)for(var n of be(e))t.indexOf(n)<0&&qt.call(e,n)&&(r[n]=e[n]);return r};var T=(e,t)=>()=>(e&&(t=e(e=0)),t);var Ae=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),K=(e,t)=>{for(var r in t)pe(e,r,{get:t[r],enumerable:!0})},zt=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of wo(t))!Xe.call(e,i)&&i!==r&&pe(e,i,{get:()=>t[i],enumerable:!(n=xo(t,i))||n.enumerable});return e};var S=(e,t,r)=>(r=e!=null?yo(bo(e)):{},zt(t||!e||!e.__esModule?pe(r,"default",{value:e,enumerable:!0}):r,e)),ue=e=>zt(pe({},"__esModule",{value:!0}),e);var re=(e,t,r)=>new Promise((n,i)=>{var l=d=>{try{m(r.next(d))}catch(f){i(f)}},p=d=>{try{m(r.throw(d))}catch(f){i(f)}},m=d=>d.done?n(d.value):Promise.resolve(d.value).then(l,p);m((r=r.apply(e,t)).next())});var Zt=Ae(ve=>{"use strict";o();ve.byteLength=vo;ve.toByteArray=Io;ve.fromByteArray=Do;var M=[],C=[],Ao=typeof Uint8Array!="undefined"?Uint8Array:Array,Je="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(Y=0,Kt=Je.length;Y<Kt;++Y)M[Y]=Je[Y],C[Je.charCodeAt(Y)]=Y;var Y,Kt;C["-".charCodeAt(0)]=62;C["_".charCodeAt(0)]=63;function Yt(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");r===-1&&(r=t);var n=r===t?0:4-r%4;return[r,n]}function vo(e){var t=Yt(e),r=t[0],n=t[1];return(r+n)*3/4-n}function ko(e,t,r){return(t+r)*3/4-r}function Io(e){var t,r=Yt(e),n=r[0],i=r[1],l=new Ao(ko(e,n,i)),p=0,m=i>0?n-4:n,d;for(d=0;d<m;d+=4)t=C[e.charCodeAt(d)]<<18|C[e.charCodeAt(d+1)]<<12|C[e.charCodeAt(d+2)]<<6|C[e.charCodeAt(d+3)],l[p++]=t>>16&255,l[p++]=t>>8&255,l[p++]=t&255;return i===2&&(t=C[e.charCodeAt(d)]<<2|C[e.charCodeAt(d+1)]>>4,l[p++]=t&255),i===1&&(t=C[e.charCodeAt(d)]<<10|C[e.charCodeAt(d+1)]<<4|C[e.charCodeAt(d+2)]>>2,l[p++]=t>>8&255,l[p++]=t&255),l}function Eo(e){return M[e>>18&63]+M[e>>12&63]+M[e>>6&63]+M[e&63]}function Lo(e,t,r){for(var n,i=[],l=t;l<r;l+=3)n=(e[l]<<16&16711680)+(e[l+1]<<8&65280)+(e[l+2]&255),i.push(Eo(n));return i.join("")}function Do(e){for(var t,r=e.length,n=r%3,i=[],l=16383,p=0,m=r-n;p<m;p+=l)i.push(Lo(e,p,p+l>m?m:p+l));return n===1?(t=e[r-1],i.push(M[t>>2]+M[t<<4&63]+"==")):n===2&&(t=(e[r-2]<<8)+e[r-1],i.push(M[t>>10]+M[t>>4&63]+M[t<<2&63]+"=")),i.join("")}});var Xt=Ae(Qe=>{o();Qe.read=function(e,t,r,n,i){var l,p,m=i*8-n-1,d=(1<<m)-1,f=d>>1,h=-7,y=r?i-1:0,v=r?-1:1,k=e[t+y];for(y+=v,l=k&(1<<-h)-1,k>>=-h,h+=m;h>0;l=l*256+e[t+y],y+=v,h-=8);for(p=l&(1<<-h)-1,l>>=-h,h+=n;h>0;p=p*256+e[t+y],y+=v,h-=8);if(l===0)l=1-f;else{if(l===d)return p?NaN:(k?-1:1)*(1/0);p=p+Math.pow(2,n),l=l-f}return(k?-1:1)*p*Math.pow(2,l-n)};Qe.write=function(e,t,r,n,i,l){var p,m,d,f=l*8-i-1,h=(1<<f)-1,y=h>>1,v=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,k=n?0:l-1,P=n?1:-1,_=t<0||t===0&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(m=isNaN(t)?1:0,p=h):(p=Math.floor(Math.log(t)/Math.LN2),t*(d=Math.pow(2,-p))<1&&(p--,d*=2),p+y>=1?t+=v/d:t+=v*Math.pow(2,1-y),t*d>=2&&(p++,d/=2),p+y>=h?(m=0,p=h):p+y>=1?(m=(t*d-1)*Math.pow(2,i),p=p+y):(m=t*Math.pow(2,y-1)*Math.pow(2,i),p=0));i>=8;e[r+k]=m&255,k+=P,m/=256,i-=8);for(p=p<<i|m,f+=i;f>0;e[r+k]=p&255,k+=P,p/=256,f-=8);e[r+k-P]|=_*128}});var pr=Ae(oe=>{"use strict";o();var et=Zt(),ne=Xt(),Jt=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;oe.Buffer=u;oe.SlowBuffer=Fo;oe.INSPECT_MAX_BYTES=50;var ke=2147483647;oe.kMaxLength=ke;u.TYPED_ARRAY_SUPPORT=No();!u.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 No(){try{var e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),e.foo()===42}catch(r){return!1}}Object.defineProperty(u.prototype,"parent",{enumerable:!0,get:function(){if(!!u.isBuffer(this))return this.buffer}});Object.defineProperty(u.prototype,"offset",{enumerable:!0,get:function(){if(!!u.isBuffer(this))return this.byteOffset}});function $(e){if(e>ke)throw new RangeError('The value "'+e+'" is invalid for option "size"');var t=new Uint8Array(e);return Object.setPrototypeOf(t,u.prototype),t}function u(e,t,r){if(typeof e=="number"){if(typeof t=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return ot(e)}return tr(e,t,r)}u.poolSize=8192;function tr(e,t,r){if(typeof e=="string")return Ro(e,t);if(ArrayBuffer.isView(e))return Po(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(O(e,ArrayBuffer)||e&&O(e.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(O(e,SharedArrayBuffer)||e&&O(e.buffer,SharedArrayBuffer)))return rt(e,t,r);if(typeof e=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var n=e.valueOf&&e.valueOf();if(n!=null&&n!==e)return u.from(n,t,r);var i=_o(e);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof e[Symbol.toPrimitive]=="function")return u.from(e[Symbol.toPrimitive]("string"),t,r);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}u.from=function(e,t,r){return tr(e,t,r)};Object.setPrototypeOf(u.prototype,Uint8Array.prototype);Object.setPrototypeOf(u,Uint8Array);function rr(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 Co(e,t,r){return rr(e),e<=0?$(e):t!==void 0?typeof r=="string"?$(e).fill(t,r):$(e).fill(t):$(e)}u.alloc=function(e,t,r){return Co(e,t,r)};function ot(e){return rr(e),$(e<0?0:it(e)|0)}u.allocUnsafe=function(e){return ot(e)};u.allocUnsafeSlow=function(e){return ot(e)};function Ro(e,t){if((typeof t!="string"||t==="")&&(t="utf8"),!u.isEncoding(t))throw new TypeError("Unknown encoding: "+t);var r=nr(e,t)|0,n=$(r),i=n.write(e,t);return i!==r&&(n=n.slice(0,i)),n}function tt(e){for(var t=e.length<0?0:it(e.length)|0,r=$(t),n=0;n<t;n+=1)r[n]=e[n]&255;return r}function Po(e){if(O(e,Uint8Array)){var t=new Uint8Array(e);return rt(t.buffer,t.byteOffset,t.byteLength)}return tt(e)}function rt(e,t,r){if(t<0||e.byteLength<t)throw new RangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(r||0))throw new RangeError('"length" is outside of buffer bounds');var n;return t===void 0&&r===void 0?n=new Uint8Array(e):r===void 0?n=new Uint8Array(e,t):n=new Uint8Array(e,t,r),Object.setPrototypeOf(n,u.prototype),n}function _o(e){if(u.isBuffer(e)){var t=it(e.length)|0,r=$(t);return r.length===0||e.copy(r,0,0,t),r}if(e.length!==void 0)return typeof e.length!="number"||at(e.length)?$(0):tt(e);if(e.type==="Buffer"&&Array.isArray(e.data))return tt(e.data)}function it(e){if(e>=ke)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+ke.toString(16)+" bytes");return e|0}function Fo(e){return+e!=e&&(e=0),u.alloc(+e)}u.isBuffer=function(t){return t!=null&&t._isBuffer===!0&&t!==u.prototype};u.compare=function(t,r){if(O(t,Uint8Array)&&(t=u.from(t,t.offset,t.byteLength)),O(r,Uint8Array)&&(r=u.from(r,r.offset,r.byteLength)),!u.isBuffer(t)||!u.isBuffer(r))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(t===r)return 0;for(var n=t.length,i=r.length,l=0,p=Math.min(n,i);l<p;++l)if(t[l]!==r[l]){n=t[l],i=r[l];break}return n<i?-1:i<n?1:0};u.isEncoding=function(t){switch(String(t).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}};u.concat=function(t,r){if(!Array.isArray(t))throw new TypeError('"list" argument must be an Array of Buffers');if(t.length===0)return u.alloc(0);var n;if(r===void 0)for(r=0,n=0;n<t.length;++n)r+=t[n].length;var i=u.allocUnsafe(r),l=0;for(n=0;n<t.length;++n){var p=t[n];if(O(p,Uint8Array))l+p.length>i.length?u.from(p).copy(i,l):Uint8Array.prototype.set.call(i,p,l);else if(u.isBuffer(p))p.copy(i,l);else throw new TypeError('"list" argument must be an Array of Buffers');l+=p.length}return i};function nr(e,t){if(u.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||O(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 r=e.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&r===0)return 0;for(var i=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return nt(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return lr(e).length;default:if(i)return n?-1:nt(e).length;t=(""+t).toLowerCase(),i=!0}}u.byteLength=nr;function Mo(e,t,r){var n=!1;if((t===void 0||t<0)&&(t=0),t>this.length||((r===void 0||r>this.length)&&(r=this.length),r<=0)||(r>>>=0,t>>>=0,r<=t))return"";for(e||(e="utf8");;)switch(e){case"hex":return jo(this,t,r);case"utf8":case"utf-8":return ir(this,t,r);case"ascii":return Wo(this,t,r);case"latin1":case"binary":return qo(this,t,r);case"base64":return Ho(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return zo(this,t,r);default:if(n)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),n=!0}}u.prototype._isBuffer=!0;function Z(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}u.prototype.swap16=function(){var t=this.length;if(t%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var r=0;r<t;r+=2)Z(this,r,r+1);return this};u.prototype.swap32=function(){var t=this.length;if(t%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var r=0;r<t;r+=4)Z(this,r,r+3),Z(this,r+1,r+2);return this};u.prototype.swap64=function(){var t=this.length;if(t%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var r=0;r<t;r+=8)Z(this,r,r+7),Z(this,r+1,r+6),Z(this,r+2,r+5),Z(this,r+3,r+4);return this};u.prototype.toString=function(){var t=this.length;return t===0?"":arguments.length===0?ir(this,0,t):Mo.apply(this,arguments)};u.prototype.toLocaleString=u.prototype.toString;u.prototype.equals=function(t){if(!u.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t?!0:u.compare(this,t)===0};u.prototype.inspect=function(){var t="",r=oe.INSPECT_MAX_BYTES;return t=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(t+=" ... "),"<Buffer "+t+">"};Jt&&(u.prototype[Jt]=u.prototype.inspect);u.prototype.compare=function(t,r,n,i,l){if(O(t,Uint8Array)&&(t=u.from(t,t.offset,t.byteLength)),!u.isBuffer(t))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof t);if(r===void 0&&(r=0),n===void 0&&(n=t?t.length:0),i===void 0&&(i=0),l===void 0&&(l=this.length),r<0||n>t.length||i<0||l>this.length)throw new RangeError("out of range index");if(i>=l&&r>=n)return 0;if(i>=l)return-1;if(r>=n)return 1;if(r>>>=0,n>>>=0,i>>>=0,l>>>=0,this===t)return 0;for(var p=l-i,m=n-r,d=Math.min(p,m),f=this.slice(i,l),h=t.slice(r,n),y=0;y<d;++y)if(f[y]!==h[y]){p=f[y],m=h[y];break}return p<m?-1:m<p?1:0};function or(e,t,r,n,i){if(e.length===0)return-1;if(typeof r=="string"?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,at(r)&&(r=i?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(i)return-1;r=e.length-1}else if(r<0)if(i)r=0;else return-1;if(typeof t=="string"&&(t=u.from(t,n)),u.isBuffer(t))return t.length===0?-1:Qt(e,t,r,n,i);if(typeof t=="number")return t=t&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):Qt(e,[t],r,n,i);throw new TypeError("val must be string, number or Buffer")}function Qt(e,t,r,n,i){var l=1,p=e.length,m=t.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(e.length<2||t.length<2)return-1;l=2,p/=2,m/=2,r/=2}function d(k,P){return l===1?k[P]:k.readUInt16BE(P*l)}var f;if(i){var h=-1;for(f=r;f<p;f++)if(d(e,f)===d(t,h===-1?0:f-h)){if(h===-1&&(h=f),f-h+1===m)return h*l}else h!==-1&&(f-=f-h),h=-1}else for(r+m>p&&(r=p-m),f=r;f>=0;f--){for(var y=!0,v=0;v<m;v++)if(d(e,f+v)!==d(t,v)){y=!1;break}if(y)return f}return-1}u.prototype.includes=function(t,r,n){return this.indexOf(t,r,n)!==-1};u.prototype.indexOf=function(t,r,n){return or(this,t,r,n,!0)};u.prototype.lastIndexOf=function(t,r,n){return or(this,t,r,n,!1)};function Oo(e,t,r,n){r=Number(r)||0;var i=e.length-r;n?(n=Number(n),n>i&&(n=i)):n=i;var l=t.length;n>l/2&&(n=l/2);for(var p=0;p<n;++p){var m=parseInt(t.substr(p*2,2),16);if(at(m))return p;e[r+p]=m}return p}function Bo(e,t,r,n){return Ie(nt(t,e.length-r),e,r,n)}function Uo(e,t,r,n){return Ie(Zo(t),e,r,n)}function Vo(e,t,r,n){return Ie(lr(t),e,r,n)}function $o(e,t,r,n){return Ie(Xo(t,e.length-r),e,r,n)}u.prototype.write=function(t,r,n,i){if(r===void 0)i="utf8",n=this.length,r=0;else if(n===void 0&&typeof r=="string")i=r,n=this.length,r=0;else if(isFinite(r))r=r>>>0,isFinite(n)?(n=n>>>0,i===void 0&&(i="utf8")):(i=n,n=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var l=this.length-r;if((n===void 0||n>l)&&(n=l),t.length>0&&(n<0||r<0)||r>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var p=!1;;)switch(i){case"hex":return Oo(this,t,r,n);case"utf8":case"utf-8":return Bo(this,t,r,n);case"ascii":case"latin1":case"binary":return Uo(this,t,r,n);case"base64":return Vo(this,t,r,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return $o(this,t,r,n);default:if(p)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),p=!0}};u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function Ho(e,t,r){return t===0&&r===e.length?et.fromByteArray(e):et.fromByteArray(e.slice(t,r))}function ir(e,t,r){r=Math.min(e.length,r);for(var n=[],i=t;i<r;){var l=e[i],p=null,m=l>239?4:l>223?3:l>191?2:1;if(i+m<=r){var d,f,h,y;switch(m){case 1:l<128&&(p=l);break;case 2:d=e[i+1],(d&192)===128&&(y=(l&31)<<6|d&63,y>127&&(p=y));break;case 3:d=e[i+1],f=e[i+2],(d&192)===128&&(f&192)===128&&(y=(l&15)<<12|(d&63)<<6|f&63,y>2047&&(y<55296||y>57343)&&(p=y));break;case 4:d=e[i+1],f=e[i+2],h=e[i+3],(d&192)===128&&(f&192)===128&&(h&192)===128&&(y=(l&15)<<18|(d&63)<<12|(f&63)<<6|h&63,y>65535&&y<1114112&&(p=y))}}p===null?(p=65533,m=1):p>65535&&(p-=65536,n.push(p>>>10&1023|55296),p=56320|p&1023),n.push(p),i+=m}return Go(n)}var er=4096;function Go(e){var t=e.length;if(t<=er)return String.fromCharCode.apply(String,e);for(var r="",n=0;n<t;)r+=String.fromCharCode.apply(String,e.slice(n,n+=er));return r}function Wo(e,t,r){var n="";r=Math.min(e.length,r);for(var i=t;i<r;++i)n+=String.fromCharCode(e[i]&127);return n}function qo(e,t,r){var n="";r=Math.min(e.length,r);for(var i=t;i<r;++i)n+=String.fromCharCode(e[i]);return n}function jo(e,t,r){var n=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>n)&&(r=n);for(var i="",l=t;l<r;++l)i+=Jo[e[l]];return i}function zo(e,t,r){for(var n=e.slice(t,r),i="",l=0;l<n.length-1;l+=2)i+=String.fromCharCode(n[l]+n[l+1]*256);return i}u.prototype.slice=function(t,r){var n=this.length;t=~~t,r=r===void 0?n:~~r,t<0?(t+=n,t<0&&(t=0)):t>n&&(t=n),r<0?(r+=n,r<0&&(r=0)):r>n&&(r=n),r<t&&(r=t);var i=this.subarray(t,r);return Object.setPrototypeOf(i,u.prototype),i};function A(e,t,r){if(e%1!==0||e<0)throw new RangeError("offset is not uint");if(e+t>r)throw new RangeError("Trying to access beyond buffer length")}u.prototype.readUintLE=u.prototype.readUIntLE=function(t,r,n){t=t>>>0,r=r>>>0,n||A(t,r,this.length);for(var i=this[t],l=1,p=0;++p<r&&(l*=256);)i+=this[t+p]*l;return i};u.prototype.readUintBE=u.prototype.readUIntBE=function(t,r,n){t=t>>>0,r=r>>>0,n||A(t,r,this.length);for(var i=this[t+--r],l=1;r>0&&(l*=256);)i+=this[t+--r]*l;return i};u.prototype.readUint8=u.prototype.readUInt8=function(t,r){return t=t>>>0,r||A(t,1,this.length),this[t]};u.prototype.readUint16LE=u.prototype.readUInt16LE=function(t,r){return t=t>>>0,r||A(t,2,this.length),this[t]|this[t+1]<<8};u.prototype.readUint16BE=u.prototype.readUInt16BE=function(t,r){return t=t>>>0,r||A(t,2,this.length),this[t]<<8|this[t+1]};u.prototype.readUint32LE=u.prototype.readUInt32LE=function(t,r){return t=t>>>0,r||A(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+this[t+3]*16777216};u.prototype.readUint32BE=u.prototype.readUInt32BE=function(t,r){return t=t>>>0,r||A(t,4,this.length),this[t]*16777216+(this[t+1]<<16|this[t+2]<<8|this[t+3])};u.prototype.readIntLE=function(t,r,n){t=t>>>0,r=r>>>0,n||A(t,r,this.length);for(var i=this[t],l=1,p=0;++p<r&&(l*=256);)i+=this[t+p]*l;return l*=128,i>=l&&(i-=Math.pow(2,8*r)),i};u.prototype.readIntBE=function(t,r,n){t=t>>>0,r=r>>>0,n||A(t,r,this.length);for(var i=r,l=1,p=this[t+--i];i>0&&(l*=256);)p+=this[t+--i]*l;return l*=128,p>=l&&(p-=Math.pow(2,8*r)),p};u.prototype.readInt8=function(t,r){return t=t>>>0,r||A(t,1,this.length),this[t]&128?(255-this[t]+1)*-1:this[t]};u.prototype.readInt16LE=function(t,r){t=t>>>0,r||A(t,2,this.length);var n=this[t]|this[t+1]<<8;return n&32768?n|4294901760:n};u.prototype.readInt16BE=function(t,r){t=t>>>0,r||A(t,2,this.length);var n=this[t+1]|this[t]<<8;return n&32768?n|4294901760:n};u.prototype.readInt32LE=function(t,r){return t=t>>>0,r||A(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24};u.prototype.readInt32BE=function(t,r){return t=t>>>0,r||A(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]};u.prototype.readFloatLE=function(t,r){return t=t>>>0,r||A(t,4,this.length),ne.read(this,t,!0,23,4)};u.prototype.readFloatBE=function(t,r){return t=t>>>0,r||A(t,4,this.length),ne.read(this,t,!1,23,4)};u.prototype.readDoubleLE=function(t,r){return t=t>>>0,r||A(t,8,this.length),ne.read(this,t,!0,52,8)};u.prototype.readDoubleBE=function(t,r){return t=t>>>0,r||A(t,8,this.length),ne.read(this,t,!1,52,8)};function L(e,t,r,n,i,l){if(!u.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<l)throw new RangeError('"value" argument is out of bounds');if(r+n>e.length)throw new RangeError("Index out of range")}u.prototype.writeUintLE=u.prototype.writeUIntLE=function(t,r,n,i){if(t=+t,r=r>>>0,n=n>>>0,!i){var l=Math.pow(2,8*n)-1;L(this,t,r,n,l,0)}var p=1,m=0;for(this[r]=t&255;++m<n&&(p*=256);)this[r+m]=t/p&255;return r+n};u.prototype.writeUintBE=u.prototype.writeUIntBE=function(t,r,n,i){if(t=+t,r=r>>>0,n=n>>>0,!i){var l=Math.pow(2,8*n)-1;L(this,t,r,n,l,0)}var p=n-1,m=1;for(this[r+p]=t&255;--p>=0&&(m*=256);)this[r+p]=t/m&255;return r+n};u.prototype.writeUint8=u.prototype.writeUInt8=function(t,r,n){return t=+t,r=r>>>0,n||L(this,t,r,1,255,0),this[r]=t&255,r+1};u.prototype.writeUint16LE=u.prototype.writeUInt16LE=function(t,r,n){return t=+t,r=r>>>0,n||L(this,t,r,2,65535,0),this[r]=t&255,this[r+1]=t>>>8,r+2};u.prototype.writeUint16BE=u.prototype.writeUInt16BE=function(t,r,n){return t=+t,r=r>>>0,n||L(this,t,r,2,65535,0),this[r]=t>>>8,this[r+1]=t&255,r+2};u.prototype.writeUint32LE=u.prototype.writeUInt32LE=function(t,r,n){return t=+t,r=r>>>0,n||L(this,t,r,4,4294967295,0),this[r+3]=t>>>24,this[r+2]=t>>>16,this[r+1]=t>>>8,this[r]=t&255,r+4};u.prototype.writeUint32BE=u.prototype.writeUInt32BE=function(t,r,n){return t=+t,r=r>>>0,n||L(this,t,r,4,4294967295,0),this[r]=t>>>24,this[r+1]=t>>>16,this[r+2]=t>>>8,this[r+3]=t&255,r+4};u.prototype.writeIntLE=function(t,r,n,i){if(t=+t,r=r>>>0,!i){var l=Math.pow(2,8*n-1);L(this,t,r,n,l-1,-l)}var p=0,m=1,d=0;for(this[r]=t&255;++p<n&&(m*=256);)t<0&&d===0&&this[r+p-1]!==0&&(d=1),this[r+p]=(t/m>>0)-d&255;return r+n};u.prototype.writeIntBE=function(t,r,n,i){if(t=+t,r=r>>>0,!i){var l=Math.pow(2,8*n-1);L(this,t,r,n,l-1,-l)}var p=n-1,m=1,d=0;for(this[r+p]=t&255;--p>=0&&(m*=256);)t<0&&d===0&&this[r+p+1]!==0&&(d=1),this[r+p]=(t/m>>0)-d&255;return r+n};u.prototype.writeInt8=function(t,r,n){return t=+t,r=r>>>0,n||L(this,t,r,1,127,-128),t<0&&(t=255+t+1),this[r]=t&255,r+1};u.prototype.writeInt16LE=function(t,r,n){return t=+t,r=r>>>0,n||L(this,t,r,2,32767,-32768),this[r]=t&255,this[r+1]=t>>>8,r+2};u.prototype.writeInt16BE=function(t,r,n){return t=+t,r=r>>>0,n||L(this,t,r,2,32767,-32768),this[r]=t>>>8,this[r+1]=t&255,r+2};u.prototype.writeInt32LE=function(t,r,n){return t=+t,r=r>>>0,n||L(this,t,r,4,2147483647,-2147483648),this[r]=t&255,this[r+1]=t>>>8,this[r+2]=t>>>16,this[r+3]=t>>>24,r+4};u.prototype.writeInt32BE=function(t,r,n){return t=+t,r=r>>>0,n||L(this,t,r,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),this[r]=t>>>24,this[r+1]=t>>>16,this[r+2]=t>>>8,this[r+3]=t&255,r+4};function ar(e,t,r,n,i,l){if(r+n>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function sr(e,t,r,n,i){return t=+t,r=r>>>0,i||ar(e,t,r,4,34028234663852886e22,-34028234663852886e22),ne.write(e,t,r,n,23,4),r+4}u.prototype.writeFloatLE=function(t,r,n){return sr(this,t,r,!0,n)};u.prototype.writeFloatBE=function(t,r,n){return sr(this,t,r,!1,n)};function cr(e,t,r,n,i){return t=+t,r=r>>>0,i||ar(e,t,r,8,17976931348623157e292,-17976931348623157e292),ne.write(e,t,r,n,52,8),r+8}u.prototype.writeDoubleLE=function(t,r,n){return cr(this,t,r,!0,n)};u.prototype.writeDoubleBE=function(t,r,n){return cr(this,t,r,!1,n)};u.prototype.copy=function(t,r,n,i){if(!u.isBuffer(t))throw new TypeError("argument should be a Buffer");if(n||(n=0),!i&&i!==0&&(i=this.length),r>=t.length&&(r=t.length),r||(r=0),i>0&&i<n&&(i=n),i===n||t.length===0||this.length===0)return 0;if(r<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),t.length-r<i-n&&(i=t.length-r+n);var l=i-n;return this===t&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(r,n,i):Uint8Array.prototype.set.call(t,this.subarray(n,i),r),l};u.prototype.fill=function(t,r,n,i){if(typeof t=="string"){if(typeof r=="string"?(i=r,r=0,n=this.length):typeof n=="string"&&(i=n,n=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!u.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(t.length===1){var l=t.charCodeAt(0);(i==="utf8"&&l<128||i==="latin1")&&(t=l)}}else typeof t=="number"?t=t&255:typeof t=="boolean"&&(t=Number(t));if(r<0||this.length<r||this.length<n)throw new RangeError("Out of range index");if(n<=r)return this;r=r>>>0,n=n===void 0?this.length:n>>>0,t||(t=0);var p;if(typeof t=="number")for(p=r;p<n;++p)this[p]=t;else{var m=u.isBuffer(t)?t:u.from(t,i),d=m.length;if(d===0)throw new TypeError('The value "'+t+'" is invalid for argument "value"');for(p=0;p<n-r;++p)this[p+r]=m[p%d]}return this};var Ko=/[^+/0-9A-Za-z-_]/g;function Yo(e){if(e=e.split("=")[0],e=e.trim().replace(Ko,""),e.length<2)return"";for(;e.length%4!==0;)e=e+"=";return e}function nt(e,t){t=t||1/0;for(var r,n=e.length,i=null,l=[],p=0;p<n;++p){if(r=e.charCodeAt(p),r>55295&&r<57344){if(!i){if(r>56319){(t-=3)>-1&&l.push(239,191,189);continue}else if(p+1===n){(t-=3)>-1&&l.push(239,191,189);continue}i=r;continue}if(r<56320){(t-=3)>-1&&l.push(239,191,189),i=r;continue}r=(i-55296<<10|r-56320)+65536}else i&&(t-=3)>-1&&l.push(239,191,189);if(i=null,r<128){if((t-=1)<0)break;l.push(r)}else if(r<2048){if((t-=2)<0)break;l.push(r>>6|192,r&63|128)}else if(r<65536){if((t-=3)<0)break;l.push(r>>12|224,r>>6&63|128,r&63|128)}else if(r<1114112){if((t-=4)<0)break;l.push(r>>18|240,r>>12&63|128,r>>6&63|128,r&63|128)}else throw new Error("Invalid code point")}return l}function Zo(e){for(var t=[],r=0;r<e.length;++r)t.push(e.charCodeAt(r)&255);return t}function Xo(e,t){for(var r,n,i,l=[],p=0;p<e.length&&!((t-=2)<0);++p)r=e.charCodeAt(p),n=r>>8,i=r%256,l.push(i),l.push(n);return l}function lr(e){return et.toByteArray(Yo(e))}function Ie(e,t,r,n){for(var i=0;i<n&&!(i+r>=t.length||i>=e.length);++i)t[i+r]=e[i];return i}function O(e,t){return e instanceof t||e!=null&&e.constructor!=null&&e.constructor.name!=null&&e.constructor.name===t.name}function at(e){return e!==e}var Jo=function(){for(var e="0123456789abcdef",t=new Array(256),r=0;r<16;++r)for(var n=r*16,i=0;i<16;++i)t[n+i]=e[r]+e[i];return t}()});var fr=Ae((Ia,gr)=>{o();var w=gr.exports={},B,U;function st(){throw new Error("setTimeout has not been defined")}function ct(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?B=setTimeout:B=st}catch(e){B=st}try{typeof clearTimeout=="function"?U=clearTimeout:U=ct}catch(e){U=ct}})();function ur(e){if(B===setTimeout)return setTimeout(e,0);if((B===st||!B)&&setTimeout)return B=setTimeout,setTimeout(e,0);try{return B(e,0)}catch(t){try{return B.call(null,e,0)}catch(r){return B.call(this,e,0)}}}function Qo(e){if(U===clearTimeout)return clearTimeout(e);if((U===ct||!U)&&clearTimeout)return U=clearTimeout,clearTimeout(e);try{return U(e)}catch(t){try{return U.call(null,e)}catch(r){return U.call(this,e)}}}var H=[],ie=!1,X,Ee=-1;function ei(){!ie||!X||(ie=!1,X.length?H=X.concat(H):Ee=-1,H.length&&dr())}function dr(){if(!ie){var e=ur(ei);ie=!0;for(var t=H.length;t;){for(X=H,H=[];++Ee<t;)X&&X[Ee].run();Ee=-1,t=H.length}X=null,ie=!1,Qo(e)}}w.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];H.push(new mr(e,t)),H.length===1&&!ie&&ur(dr)};function mr(e,t){this.fun=e,this.array=t}mr.prototype.run=function(){this.fun.apply(null,this.array)};w.title="browser";w.browser=!0;w.env={};w.argv=[];w.version="";w.versions={};function G(){}w.on=G;w.addListener=G;w.once=G;w.off=G;w.removeListener=G;w.removeAllListeners=G;w.emit=G;w.prependListener=G;w.prependOnceListener=G;w.listeners=function(e){return[]};w.binding=function(e){throw new Error("process.binding is not supported")};w.cwd=function(){return"/"};w.chdir=function(e){throw new Error("process.chdir is not supported")};w.umask=function(){return 0}});var a,s,Ea,o=T(()=>{a=S(pr()),s=S(fr()),Ea=function(e){function t(){var n=this||self;return delete e.prototype.__magic__,n}if(typeof globalThis=="object")return globalThis;if(this)return t();e.defineProperty(e.prototype,"__magic__",{configurable:!0,get:t});var r=__magic__;return r}(Object)});var Tr=T(()=>{"use strict";o()});var yr=T(()=>{"use strict";o()});var hr=T(()=>{"use strict";o()});var V=T(()=>{"use strict";o()});var xr=T(()=>{"use strict";o()});var Sr=T(()=>{"use strict";o()});var E=T(()=>{"use strict";o()});var wr=T(()=>{"use strict";o()});var br=T(()=>{"use strict";o()});var W=T(()=>{"use strict";o();yr();hr();V();xr();Sr();E();wr();br()});var lt,Ar,Wa,vr,qa,kr,ja,za,Ka,Ir=T(()=>{"use strict";o();W();lt={devnet:{id:"devnet",chainId:"D",name:"Devnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://devnet-wallet.multiversx.com",apiAddress:"https://devnet-api.multiversx.com",explorerAddress:"http://devnet-explorer.multiversx.com",apiTimeout:"4000"},testnet:{id:"testnet",chainId:"T",name:"Testnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://testnet-wallet.multiversx.com",apiAddress:"https://testnet-api.multiversx.com",explorerAddress:"http://testnet-explorer.multiversx.com",apiTimeout:"4000"},mainnet:{id:"mainnet",chainId:"1",name:"Mainnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://wallet.multiversx.com",apiAddress:"https://api.multiversx.com",explorerAddress:"https://explorer.multiversx.com",apiTimeout:"4000"}},{chainId:Ar,egldLabel:Wa}=lt["devnet"],{chainId:vr,egldLabel:qa}=lt["testnet"],{chainId:kr,egldLabel:ja}=lt["mainnet"],za={["devnet"]:Ar,["testnet"]:vr,["mainnet"]:kr},Ka={[Ar]:"devnet",[vr]:"testnet",[kr]:"mainnet"}});var pt=T(()=>{"use strict";o()});var Er=T(()=>{"use strict";o()});var Lr,ut=T(()=>{"use strict";o();Lr="transaction-status-toast-id"});var Dr,de,me,Nr,Le,Cr,ae,b=T(()=>{"use strict";o();Tr();Ir();pt();Er();ut();Dr=1500,de=5e4,me=1e9,Nr=1,Le="logout",Cr="login",ae="0"});var De,mt=T(()=>{"use strict";o();De=()=>Date.now()/1e3});var Rr=T(()=>{"use strict";o()});var Pr=T(()=>{"use strict";o()});var _r=T(()=>{"use strict";o();mt();Rr();Pr()});var ft={};K(ft,{getItem:()=>ri,localStorageKeys:()=>J,removeItem:()=>ni,setItem:()=>ti});var J,gt,ti,ri,ni,fe=T(()=>{"use strict";o();_r();J={loginExpiresAt:"sdk-dapp-login-expires-at",logoutEvent:"sdk-dapp-logout-event"},gt=typeof localStorage!="undefined",ti=({key:e,data:t,expires:r})=>{!gt||localStorage.setItem(String(e),JSON.stringify({expires:r,data:t}))},ri=e=>{if(!gt)return;let t=localStorage.getItem(String(e));if(!t)return null;let r=JSON.parse(t);return!r||!r.hasOwnProperty("expires")||!r.hasOwnProperty("data")?null:De()>=r.expires?(localStorage.removeItem(String(e)),null):r.data},ni=e=>{!gt||localStorage.removeItem(String(e))}});var Tt={};K(Tt,{clear:()=>Br,getItem:()=>Mr,removeItem:()=>Or,setItem:()=>Fr,storage:()=>oi});var Fr,Mr,Or,Br,oi,Ur=T(()=>{"use strict";o();Fr=({key:e,data:t,expires:r})=>{sessionStorage.setItem(String(e),JSON.stringify({expires:r,data:t}))},Mr=e=>{let t=sessionStorage.getItem(String(e));if(!t)return null;let r=JSON.parse(t);return!r||!r.hasOwnProperty("expires")||!r.hasOwnProperty("data")?null:Date.now()>=r.expires?(sessionStorage.removeItem(String(e)),null):r.data},Or=e=>sessionStorage.removeItem(String(e)),Br=()=>sessionStorage.clear(),oi={setItem:Fr,getItem:Mr,removeItem:Or,clear:Br}});var se,Ne=T(()=>{"use strict";o();fe();Ur();se={session:Tt,local:ft}});function Te(){return new Date().setHours(new Date().getHours()+24)}function ye(e){se.local.setItem({key:J.loginExpiresAt,data:e,expires:e})}var yt=T(()=>{"use strict";o();Ne();fe()});var ht,D,Ce,j=T(()=>{"use strict";o();ht=require("@reduxjs/toolkit");b();D=(0,ht.createAction)(Le),Ce=(0,ht.createAction)(Cr,e=>({payload:e}))});var $r,Vr,Hr,Ls,Ds,Ns,Cs,Rs,Ps,Gr,Wr,xt=T(()=>{"use strict";o();$r=require("@reduxjs/toolkit");yt();V();j();Vr={loginMethod:"",walletConnectLogin:null,ledgerLogin:null,tokenLogin:null,walletLogin:null,extensionLogin:null,isLoginSessionInvalid:!1},Hr=(0,$r.createSlice)({name:"loginInfoSlice",initialState:Vr,reducers:{setLoginMethod:(e,t)=>{e.loginMethod=t.payload},setTokenLogin:(e,t)=>{e.tokenLogin=t.payload},setTokenLoginSignature:(e,t)=>{(e==null?void 0:e.tokenLogin)!=null&&(e.tokenLogin.signature=t.payload)},setWalletLogin:(e,t)=>{e.walletLogin=t.payload},setWalletConnectLogin:(e,t)=>{e.walletConnectLogin=t.payload},setLedgerLogin:(e,t)=>{e.ledgerLogin=t.payload},invalidateLoginSession:e=>{e.isLoginSessionInvalid=!0}},extraReducers:e=>{e.addCase(D,()=>Vr),e.addCase(Ce,(t,r)=>{t.loginMethod=r.payload.loginMethod,ye(Te())})}}),{setLoginMethod:Ls,setWalletConnectLogin:Ds,setLedgerLogin:Ns,setTokenLogin:Cs,setTokenLoginSignature:Rs,setWalletLogin:Ps,invalidateLoginSession:Gr}=Hr.actions,Wr=Hr.reducer});var qr=T(()=>{"use strict";o()});var jr=T(()=>{"use strict";o();qr()});function St(e){return e[Math.floor(Math.random()*e.length)]}var zr=T(()=>{"use strict";o()});var Kr=T(()=>{"use strict";o();pt()});var Yr=T(()=>{"use strict";o();jr();zr();Kr()});var Zr,Xr,wt,ai,Jr,Ys,Zs,Qr,bt=T(()=>{"use strict";o();Zr=require("@reduxjs/toolkit"),Xr=S(require("lodash.omit"));Yr();wt={id:"not-configured",chainId:"",name:"NOT CONFIGURED",egldLabel:"",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"",walletConnectBridgeAddress:"",walletConnectV2RelayAddress:"",walletConnectV2ProjectId:"",walletConnectV2Options:{},walletAddress:"",apiAddress:"",explorerAddress:"",apiTimeout:"4000"},ai={network:wt,chainID:"-1"},Jr=(0,Zr.createSlice)({name:"appConfig",initialState:ai,reducers:{initializeNetworkConfig:(e,t)=>{let r=St(t.payload.walletConnectBridgeAddresses),n=St(t.payload.walletConnectV2RelayAddresses),i=(0,Xr.default)(t.payload,"walletConnectBridgeAddresses","walletConnectV2RelayAddresses");e.network=I(x(x({},e.network),i),{walletConnectBridgeAddress:r,walletConnectV2RelayAddress:n})},setChainID:(e,t)=>{e.chainID=t.payload}}}),{initializeNetworkConfig:Ys,setChainID:Zs}=Jr.actions,Qr=Jr.reducer});var vt,en,tn,Re,At,rn,nn,oc,on,ic,ac,sc,cc,lc,pc,uc,an,kt=T(()=>{"use strict";o();vt=require("@multiversx/sdk-core"),en=require("@reduxjs/toolkit"),tn=require("redux-persist");b();Ne();fe();j();Re={balance:"...",address:"",nonce:0,txCount:0,scrCount:0,claimableRewards:ae},At={address:"",websocketEvent:null,accounts:{"":Re},ledgerAccount:null,publicKey:"",walletConnectAccount:null,isAccountLoading:!0,accountLoadingError:null},rn=(0,en.createSlice)({name:"accountInfoSlice",initialState:At,reducers:{setAddress:(e,t)=>{let r=t.payload;e.address=r,e.publicKey=new vt.Address(r).hex()},setAccount:(e,t)=>{let r=e.address===t.payload.address;e.accounts={[e.address]:r?t.payload:Re},e.shard=t.payload.shard,e.isAccountLoading=!1,e.accountLoadingError=null},setAccountNonce:(e,t)=>{let{address:r}=e;e.accounts[r].nonce=t.payload},setAccountShard:(e,t)=>{e.shard=t.payload},setLedgerAccount:(e,t)=>{e.ledgerAccount=t.payload},updateLedgerAccount:(e,t)=>{e.ledgerAccount!=null&&(e.ledgerAccount.index=t.payload.index,e.ledgerAccount.address=t.payload.address)},setWalletConnectAccount:(e,t)=>{e.walletConnectAccount=t.payload},setIsAccountLoading:(e,t)=>{e.isAccountLoading=t.payload,e.accountLoadingError=null},setAccountLoadingError:(e,t)=>{e.accountLoadingError=t.payload,e.isAccountLoading=!1},setWebsocketEvent:(e,t)=>{e.websocketEvent={timestamp:Date.now(),message:t.payload}}},extraReducers:e=>{e.addCase(D,()=>(se.local.removeItem(J.loginExpiresAt),At)),e.addCase(Ce,(t,r)=>{let{address:n}=r.payload;t.address=n,t.publicKey=new vt.Address(n).hex()}),e.addCase(tn.REHYDRATE,(t,r)=>{var f;if(!((f=r.payload)!=null&&f.account))return;let{account:n}=r.payload,{address:i,shard:l,accounts:p,publicKey:m}=n;t.address=i,t.shard=l;let d=p&&i in p;t.accounts=d?p:At.accounts,t.publicKey=m})}}),{setAccount:nn,setAddress:oc,setAccountNonce:on,setAccountShard:ic,setLedgerAccount:ac,updateLedgerAccount:sc,setWalletConnectAccount:cc,setIsAccountLoading:lc,setAccountLoadingError:pc,setWebsocketEvent:uc}=rn.actions,an=rn.reducer});function sn(e){return e!=null&&(fi(e)||xi(e))}function Pe(e){return e!=null&&(Ti(e)||Si(e))}function _e(e){return e!=null&&(yi(e)||wi(e))}function cn(e){return e!=null&&hi(e)}function fi(e){return e!=null&&ci.includes(e)}function Ti(e){return e!=null&&li.includes(e)}function yi(e){return e!=null&&pi.includes(e)}function hi(e){return e!=null&&ui.includes(e)}function xi(e){return e!=null&&di.includes(e)}function Si(e){return e!=null&&mi.includes(e)}function wi(e){return e!=null&&gi.includes(e)}var ci,li,pi,ui,di,mi,gi,Et=T(()=>{"use strict";o();V();ci=["sent"],li=["success"],pi=["fail","cancelled","timedOut"],ui=["timedOut"],di=["pending"],mi=["success"],gi=["fail","invalid"]});var ln,pn,he,bi,un,Sc,wc,bc,Ac,vc,kc,Ic,Ec,Lc,Dc,Fe,Me=T(()=>{"use strict";o();ln=require("@reduxjs/toolkit"),pn=require("redux-persist");V();Et();j();he={signedTransactions:{},transactionsToSign:null,signTransactionsError:null,signTransactionsCancelMessage:null,customTransactionInformationForSessionId:{}},bi={signWithoutSending:!1,sessionInformation:null,redirectAfterSign:!1},un=(0,ln.createSlice)({name:"transactionsSlice",initialState:he,reducers:{moveTransactionsToSignedState:(e,t)=>{var d,f;let{sessionId:r,transactions:n,errorMessage:i,status:l,redirectRoute:p}=t.payload,m=((d=e.customTransactionInformationForSessionId)==null?void 0:d[r])||bi;e.signedTransactions[r]={transactions:n,status:l,errorMessage:i,redirectRoute:p,customTransactionInformation:m},((f=e==null?void 0:e.transactionsToSign)==null?void 0:f.sessionId)===r&&(e.transactionsToSign=he.transactionsToSign)},clearSignedTransaction:(e,t)=>{e.signedTransactions[t.payload]&&delete e.signedTransactions[t.payload]},clearTransactionToSign:e=>{e!=null&&e.transactionsToSign&&(e.transactionsToSign=null)},updateSignedTransaction:(e,t)=>{e.signedTransactions=x(x({},e.signedTransactions),t.payload)},updateSignedTransactions:(e,t)=>{let{sessionId:r,status:n,errorMessage:i,transactions:l}=t.payload;e.signedTransactions[r]!=null&&(e.signedTransactions[r].status=n,i!=null&&(e.signedTransactions[r].errorMessage=i),l!=null&&(e.signedTransactions[r].transactions=l))},updateSignedTransactionStatus:(e,t)=>{var m,d,f,h,y,v;let{sessionId:r,status:n,errorMessage:i,transactionHash:l}=t.payload,p=(d=(m=e.signedTransactions)==null?void 0:m[r])==null?void 0:d.transactions;if(p!=null){e.signedTransactions[r].transactions=p.map(_=>_.hash===l?I(x({},_),{status:n,errorMessage:i}):_);let k=(h=(f=e.signedTransactions[r])==null?void 0:f.transactions)==null?void 0:h.every(_=>Pe(_.status)),P=(v=(y=e.signedTransactions[r])==null?void 0:y.transactions)==null?void 0:v.every(_=>_e(_.status));k&&(e.signedTransactions[r].status="success"),P&&(e.signedTransactions[r].status="fail")}},setTransactionsToSign:(e,t)=>{e.transactionsToSign=t.payload;let{sessionId:r,customTransactionInformation:n}=t.payload;e.customTransactionInformationForSessionId[r]=n,e.signTransactionsError=null},clearAllTransactionsToSign:e=>{e.transactionsToSign=he.transactionsToSign,e.signTransactionsError=null},clearAllSignedTransactions:e=>{e.signedTransactions=he.signedTransactions},setSignTransactionsError:(e,t)=>{e.signTransactionsError=t.payload},setSignTransactionsCancelMessage:(e,t)=>{e.signTransactionsCancelMessage=t.payload}},extraReducers:e=>{e.addCase(D,()=>he),e.addCase(pn.REHYDRATE,(t,r)=>{var p;if(t.signTransactionsCancelMessage=null,!((p=r.payload)!=null&&p.transactions))return;let{signedTransactions:n,customTransactionInformationForSessionId:i}=r.payload.transactions,l=Object.entries(n).reduce((m,[d,f])=>{let h=new Date(d),y=new Date;return y.setHours(y.getHours()+5),y-h>0||(m[d]=f),m},{});i!=null&&(t.customTransactionInformationForSessionId=i),n!=null&&(t.signedTransactions=l)})}}),{updateSignedTransactionStatus:Sc,updateSignedTransactions:wc,setTransactionsToSign:bc,clearAllTransactionsToSign:Ac,clearAllSignedTransactions:vc,clearSignedTransaction:kc,clearTransactionToSign:Ic,setSignTransactionsError:Ec,setSignTransactionsCancelMessage:Lc,moveTransactionsToSignedState:Dc}=un.actions,Fe=un.reducer});var dn,Dt,Nt,Ct,Ai,Lt,mn,Pc,_c,Fc,Oe,Be=T(()=>{"use strict";o();dn=require("@reduxjs/toolkit");j();Dt="Transaction failed",Nt="Transaction successful",Ct="Processing transaction",Ai="Transaction submitted",Lt={},mn=(0,dn.createSlice)({name:"transactionsInfo",initialState:Lt,reducers:{setTransactionsDisplayInfo(e,t){let{sessionId:r,transactionsDisplayInfo:n}=t.payload;r!=null&&(e[r]={errorMessage:(n==null?void 0:n.errorMessage)||Dt,successMessage:(n==null?void 0:n.successMessage)||Nt,processingMessage:(n==null?void 0:n.processingMessage)||Ct,submittedMessage:(n==null?void 0:n.submittedMessage)||Ai,transactionDuration:n==null?void 0:n.transactionDuration})},clearTransactionsInfoForSessionId(e,t){t.payload!=null&&delete e[t.payload]},clearTransactionsInfo:()=>Lt},extraReducers:e=>{e.addCase(D,()=>Lt)}}),{clearTransactionsInfo:Pc,setTransactionsDisplayInfo:_c,clearTransactionsInfoForSessionId:Fc}=mn.actions,Oe=mn.reducer});var fn,gn,Tn,Uc,Vc,$c,Hc,yn,Rt=T(()=>{"use strict";o();fn=require("@reduxjs/toolkit");j();gn={},Tn=(0,fn.createSlice)({name:"modalsSlice",initialState:gn,reducers:{setTxSubmittedModal:(e,t)=>{e.txSubmittedModal=t.payload},setNotificationModal:(e,t)=>{e.notificationModal=t.payload},clearTxSubmittedModal:e=>{e.txSubmittedModal=void 0},clearNotificationModal:e=>{e.notificationModal=void 0}},extraReducers:e=>{e.addCase(D,()=>gn)}}),{setTxSubmittedModal:Uc,setNotificationModal:Vc,clearTxSubmittedModal:$c,clearNotificationModal:Hc}=Tn.actions,yn=Tn.reducer});var xn,Sn,hn,wn,Zc,Xc,Jc,Qc,el,tl,Ue,Ve=T(()=>{"use strict";o();xn=require("@reduxjs/toolkit"),Sn=require("redux-persist");ut();W();mt();j();hn={customToasts:[],transactionToasts:[],failTransactionToast:null},wn=(0,xn.createSlice)({name:"toastsSlice",initialState:hn,reducers:{addCustomToast:(e,t)=>{e.customToasts.push(I(x({},t.payload),{type:"custom",toastId:t.payload.toastId||`custom-toast-${e.customToasts.length+1}`}))},removeCustomToast:(e,t)=>{e.customToasts=e.customToasts.filter(r=>r.toastId!==t.payload)},addTransactionToast:(e,t)=>{e.transactionToasts.push({type:"transaction",startTimestamp:De(),toastId:t.payload||`custom-toast-${e.transactionToasts.length+1}`})},removeTransactionToast:(e,t)=>{e.transactionToasts=e.transactionToasts.filter(r=>r.toastId!==t.payload)},addFailTransactionToast:(e,t)=>{e.failTransactionToast=I(x({},t.payload),{toastId:Lr})},removeFailTransactionToast:e=>{e.failTransactionToast=null}},extraReducers:e=>{e.addCase(D,()=>hn),e.addCase(Sn.REHYDRATE,(t,r)=>{var i,l;let n=(l=(i=r.customToasts)==null?void 0:i.filter(p=>!("component"in p)))!=null?l:[];t.customToasts=n})}}),{addCustomToast:Zc,removeCustomToast:Xc,addTransactionToast:Jc,removeTransactionToast:Qc,addFailTransactionToast:el,removeFailTransactionToast:tl}=wn.actions,Ue=wn.reducer});var ce=T(()=>{"use strict";o();xt();bt();kt();Me();Be();Rt();Ve()});var Ft=T(()=>{"use strict";o()});var _n,Pn,Fn,Bp,Up,Vp,$p,Hp,Gp,Mn,On=T(()=>{"use strict";o();_n=require("@reduxjs/toolkit");j();Pn={visible:!1,modal:{showHeader:!0,showFooter:!1,headerText:"",footerText:""}},Fn=(0,_n.createSlice)({name:"dappModalsSlice",initialState:Pn,reducers:{setDappModalVisibility:(e,t)=>{e.visible=t.payload},setDappModalHeaderVisibility:(e,t)=>{e.modal.showHeader=t.payload},setDappModalFooterVisibility:(e,t)=>{e.modal.showFooter=t.payload},setDappModalHeaderText:(e,t)=>{e.modal.headerText=t.payload},setDappModalFooterText:(e,t)=>{e.modal.footerText=t.payload},setDappModalConfig:(e,t)=>{e.modal=x({},t.payload)}},extraReducers:e=>{e.addCase(D,()=>Pn)}}),{setDappModalVisibility:Bp,setDappModalHeaderVisibility:Up,setDappModalFooterVisibility:Vp,setDappModalHeaderText:$p,setDappModalFooterText:Hp,setDappModalConfig:Gp}=Fn.actions,Mn=Fn.reducer});var Bn,_i,Fi,le,qe=T(()=>{"use strict";o();Bn=require("@reduxjs/toolkit");Ft();kt();On();xt();Rt();bt();Ve();Be();Me();_i={["account"]:an,["networkConfig"]:Qr,["loginInfo"]:Wr,["modals"]:yn,["dappModal"]:Mn,["toasts"]:Ue,["transactions"]:Fe,["transactionsInfo"]:Oe},Fi=(e={})=>(0,Bn.combineReducers)(x(x({},_i),e)),le=Fi});var $n={};K($n,{default:()=>Hi});function Mt(e,t=[]){return{key:e,version:1,storage:Vn.default,blacklist:t}}var te,Un,Vn,Mi,Oi,Bi,Ui,Vi,$i,Hi,Hn=T(()=>{"use strict";o();te=require("redux-persist"),Un=S(require("redux-persist/lib/storage")),Vn=S(require("redux-persist/lib/storage/session"));qe();ce();Ve();Be();Me();Ft();Mi={2:e=>I(x({},e),{networkConfig:wt})};Oi=Mt("sdk-dapp-transactionsInfo"),Bi=Mt("sdk-dapp-transactions",["transactionsToSign"]),Ui=Mt("sdk-dapp-toasts"),Vi={key:"sdk-dapp-store",version:2,storage:Un.default,whitelist:["account","loginInfo","modals","networkConfig"],migrate:(0,te.createMigrate)(Mi,{debug:!1})},$i={["toasts"]:(0,te.persistReducer)(Ui,Ue),["transactions"]:(0,te.persistReducer)(Bi,Fe),["transactionsInfo"]:(0,te.persistReducer)(Oi,Oe)},Hi=(0,te.persistReducer)(Vi,le($i))});var Gn={};K(Gn,{default:()=>Gi});var Gi,Wn=T(()=>{"use strict";o();qe();Gi=le()});var qn={};K(qn,{default:()=>qi});var R,Wi,qi,jn=T(()=>{"use strict";o();R=require("redux-persist"),Wi=[R.FLUSH,R.REHYDRATE,R.PAUSE,R.PERSIST,R.PURGE,R.REGISTER],qi=Wi});var Yn={};K(Yn,{default:()=>Kn});function Kn(e){return(0,zn.persistStore)(e)}var zn,Zn=T(()=>{"use strict";o();zn=require("redux-persist")});var wa={};K(wa,{transformAndSignTransactions:()=>Sa});module.exports=ue(wa);o();var Ht=require("@multiversx/sdk-core"),Gt=S(require("bignumber.js"));b();o();var N=require("@multiversx/sdk-core");b();o();function dt(e){try{return a.Buffer.from(e,"base64").toString()===atob(e)}catch(t){return!1}}function ge(e){var i,l,p;let{data:t}=e,r=dt(t!=null?t:"")?N.TransactionPayload.fromEncoded(t):new N.TransactionPayload(t),n=new N.Transaction(x({value:e.value.valueOf(),data:r,nonce:e.nonce.valueOf(),receiver:new N.Address(e.receiver),sender:new N.Address(e.sender),gasLimit:(i=e.gasLimit.valueOf())!=null?i:de,gasPrice:(l=e.gasPrice.valueOf())!=null?l:me,chainID:e.chainID.valueOf(),version:new N.TransactionVersion((p=e.version)!=null?p:Nr)},e.options?{options:new N.TransactionOptions(e.options)}:{}));return n.applySignature({hex:()=>e.signature||""},new N.Address(e.sender)),n}o();o();ce();o();var bn=S(require("lodash.isequal")),$e=require("reselect");W();var g=(0,$e.createSelectorCreator)($e.defaultMemoize,bn.default),He=(e,t)=>e!=""&&Boolean(t);var q=e=>e.account,xe=g(q,e=>e.address),Pt=g(q,xe,(e,t)=>t in e.accounts?e.accounts[t]:Re),fl=g(q,Pt,(e,t)=>{let i=e,{accounts:r}=i,n=jt(i,["accounts"]);return I(x({},n),{account:t})}),Tl=g(Pt,e=>e.balance),An=g(Pt,e=>{var t;return((t=e==null?void 0:e.nonce)==null?void 0:t.valueOf())||0}),yl=g(q,e=>e.shard),hl=g(q,e=>e.ledgerAccount),xl=g(q,e=>e.walletConnectAccount),Sl=g(q,e=>e.isAccountLoading),wl=g(q,e=>e.accountLoadingError),bl=g(q,e=>e.websocketEvent);o();var Q=e=>e.networkConfig,vn=g(Q,e=>e.chainID),kl=g(Q,e=>e.network.walletConnectBridgeAddress),Il=g(Q,e=>e.network.walletConnectV2RelayAddress),El=g(Q,e=>e.network.walletConnectV2ProjectId),Ll=g(Q,e=>e.network.walletConnectV2Options),Dl=g(Q,e=>e.network.walletConnectDeepLink),_t=g(Q,e=>e.network),kn=g(_t,e=>e.apiAddress),In=g(_t,e=>e.explorerAddress),Nl=g(_t,e=>e.egldLabel);o();var ee=e=>e.loginInfo,_l=g(ee,e=>e.loginMethod),Fl=g(ee,xe,(e,t)=>He(e.loginMethod,t)),Ml=g(ee,e=>e.walletConnectLogin),Ol=g(ee,e=>e.ledgerLogin),Bl=g(ee,e=>e.walletLogin),Ul=g(ee,e=>e.isLoginSessionInvalid),Vl=g(ee,e=>e.tokenLogin);o();o();Et();o();var ki=S(require("bignumber.js"));W();o();o();o();o();var Ei=require("@multiversx/sdk-core"),Li=S(require("bignumber.js"));V();o();var Ii=require("@multiversx/sdk-core");o();o();o();var Ni=require("@multiversx/sdk-core/out");o();b();o();var Nn=require("@multiversx/sdk-core");W();o();o();o();o();V();o();o();var Ot=require("@reduxjs/toolkit"),eo=require("react-redux/lib/utils/Subscription");ce();o();var Cn=S(require("lodash.throttle"));b();ce();yt();Ne();fe();var Ci=[Le],Ge=!1,Ri=(0,Cn.default)(()=>{ye(Te())},5e3),Rn=e=>t=>r=>{var d;if(Ci.includes(r.type))return t(r);let n=e.getState(),i=se.local.getItem(J.loginExpiresAt);if(!He((d=n==null?void 0:n.loginInfo)==null?void 0:d.loginMethod,n==null?void 0:n.account.address))return t(r);if(i==null)return ye(Te());let p=Date.now();return i-p<0&&!Ge?setTimeout(()=>{Ge=!0,e.dispatch(Gr())},1e3):(Ge&&(Ge=!1),Ri()),t(r)};o();o();function We(){return typeof sessionStorage!="undefined"}var Xn=We()?(Hn(),ue($n)).default:(Wn(),ue(Gn)).default,Jn=We()?(jn(),ue(qn)).default:[],Qn=We()?(Zn(),ue(Yn)).default:e=>e;qe();var F=(0,Ot.configureStore)({reducer:Xn,middleware:e=>e({serializableCheck:{ignoredActions:[...Jn,on.type,nn.type],ignoredPaths:["payload.nonce","account.account.nonce","providers.accountProvider"]}}).concat(Rn)}),gu=(0,eo.createSubscription)(F),fu=Qn(F),Tu=(0,Ot.configureStore)({reducer:le});o();o();o();o();o();o();var Bt="accounts";o();o();o();o();E();o();o();E();o();o();o();var Xi=S(require("bignumber.js"));b();o();var Zi=require("@multiversx/sdk-core"),Ut=S(require("bignumber.js"));b();o();var Ki=S(require("bignumber.js"));o();Ut.default.config({ROUNDING_MODE:Ut.default.ROUND_FLOOR});o();o();o();b();o();o();o();o();b();o();b();o();var Ji=require("@multiversx/sdk-core");b();o();var Se=require("@multiversx/sdk-core"),ea=require("@multiversx/sdk-network-providers");b();o();o();var Qi=S(require("bignumber.js"));b();o();b();o();o();o();o();o();b();o();E();var ra=["reDelegateRewards","claimRewards","unBond"],na=["wrapEgld","unwrapEgld"],oa=["unStake"],ia=["unDelegate"];o();o();o();b();o();var ca=S(require("bignumber.js"));o();o();o();E();o();var la=S(require("bignumber.js"));o();o();o();o();E();o();o();o();var ua=S(require("linkifyjs"));o();b();o();var da=S(require("bignumber.js"));o();W();o();o();V();o();V();o();o();o();E();o();E();o();var ma=S(require("bignumber.js"));b();E();o();E();o();var io=require("react");W();o();o();E();o();var ga=require("@multiversx/sdk-core/out"),fa=S(require("bignumber.js"));E();o();E();o();o();V();var nT=[{label:"Raw",value:"raw"},{label:"Text",value:"text"},{label:"Decimal",value:"decimal"},{label:"Smart",value:"smart"}];o();var ao=require("react");W();o();var ya=require("react");E();var pT=["create","localMint","ESDTLocalMint","addQuantity","burn","localBurn","ESDTLocalBurn","wipe","writeLog","signalError"];var Ye=e=>e.transactions,we=g(Ye,e=>e.signedTransactions),KT=g(Ye,e=>e.signTransactionsError),YT=g(Ye,e=>e.signTransactionsCancelMessage),Ze=e=>t=>Object.entries(t).reduce((r,[n,i])=>(e(i.status)&&(r[n]=i),r),{}),ZT=g(we,Ze(sn)),XT=g(we,Ze(Pe)),JT=g(we,Ze(_e)),QT=g(we,Ze(cn)),ey=g(Ye,e=>{var t;return(e==null?void 0:e.transactionsToSign)==null?null:I(x({},e.transactionsToSign),{transactions:((t=e==null?void 0:e.transactionsToSign)==null?void 0:t.transactions.map(r=>ge(r)))||[]})}),ty=g(we,(e,t)=>t,(e,t)=>t!=null?(e==null?void 0:e[t])||{}:{});o();ce();var so={errorMessage:Dt,successMessage:Nt,processingMessage:Ct},ha=e=>e.transactionsInfo,iy=g(ha,(e,t)=>t,(e,t)=>t!=null&&(e==null?void 0:e[Number(t)])||so);o();var co=e=>e.modals,cy=g(co,e=>e.txSubmittedModal),ly=g(co,e=>e.notificationModal);o();var $t=e=>e.toasts,dy=g($t,e=>e.customToasts),my=g($t,e=>e.transactionToasts),gy=g($t,e=>e.failTransactionToast);o();o();var po=S(require("axios"));o();o();var lo=e=>{let t=e!=null?e:kn(F.getState());return t.endsWith("/")?t.slice(0,-1):t};function uo(e){return re(this,null,function*(){if(!e)return null;let r=`${lo()}/${Bt}/${e}`;try{let{data:n}=yield po.default.get(r);return n}catch(n){console.error("error fetching configuration for ",r)}return null})}function mo(e){return re(this,null,function*(){return yield uo(e)})}o();function go(e){let t=F.getState(),r=An(t);return e?r&&!isNaN(r)?Math.max(r,e.nonce):e.nonce:r}function xa(e){let t=new Gt.default(de),r=new Gt.default(Dr),n=e?r.times(a.Buffer.from(e).length):0;return t.plus(n).toString(10)}function Sa(t){return re(this,arguments,function*({transactions:e}){let r=xe(F.getState()),n=yield mo(r),i=go(n);return e.map(l=>{let{value:p,receiver:m,data:d="",chainID:f,version:h=1,options:y,gasPrice:v=me,gasLimit:k=xa(l.data)}=l,P=m;try{P=new Ht.Address(m).hex()}catch(To){throw"Invalid Receiver address"}let _=vn(F.getState()).valueOf().toString(),fo=f||_;return ge({value:p,receiver:P,data:d,gasPrice:v,gasLimit:Number(k),nonce:Number(i.valueOf().toString()),sender:new Ht.Address(r).hex(),chainID:fo,version:h,options:y})})})}0&&(module.exports={transformAndSignTransactions});
2
2
  /*!
3
3
  * The buffer module from node.js, for the browser.
4
4
  *
@@ -1,4 +1,4 @@
1
- "use strict";var Ur=Object.create;var j=Object.defineProperty;var Tr=Object.getOwnPropertyDescriptor;var Ir=Object.getOwnPropertyNames;var dr=Object.getPrototypeOf,Cr=Object.prototype.hasOwnProperty;var Sr=(e,r)=>()=>(e&&(r=e(e=0)),r);var b=(e,r)=>()=>(r||e((r={exports:{}}).exports,r),r.exports);var Lr=(e,r,t,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let i of Ir(r))!Cr.call(e,i)&&i!==t&&j(e,i,{get:()=>r[i],enumerable:!(n=Tr(r,i))||n.enumerable});return e};var rr=(e,r,t)=>(t=e!=null?Ur(dr(e)):{},Lr(r||!e||!e.__esModule?j(t,"default",{value:e,enumerable:!0}):t,e));var nr=b(N=>{"use strict";g();N.byteLength=_r;N.toByteArray=kr;N.fromByteArray=Nr;var F=[],m=[],Rr=typeof Uint8Array!="undefined"?Uint8Array:Array,H="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(d=0,tr=H.length;d<tr;++d)F[d]=H[d],m[H.charCodeAt(d)]=d;var d,tr;m["-".charCodeAt(0)]=62;m["_".charCodeAt(0)]=63;function er(e){var r=e.length;if(r%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var t=e.indexOf("=");t===-1&&(t=r);var n=t===r?0:4-t%4;return[t,n]}function _r(e){var r=er(e),t=r[0],n=r[1];return(t+n)*3/4-n}function Mr(e,r,t){return(r+t)*3/4-t}function kr(e){var r,t=er(e),n=t[0],i=t[1],o=new Rr(Mr(e,n,i)),u=0,h=i>0?n-4:n,f;for(f=0;f<h;f+=4)r=m[e.charCodeAt(f)]<<18|m[e.charCodeAt(f+1)]<<12|m[e.charCodeAt(f+2)]<<6|m[e.charCodeAt(f+3)],o[u++]=r>>16&255,o[u++]=r>>8&255,o[u++]=r&255;return i===2&&(r=m[e.charCodeAt(f)]<<2|m[e.charCodeAt(f+1)]>>4,o[u++]=r&255),i===1&&(r=m[e.charCodeAt(f)]<<10|m[e.charCodeAt(f+1)]<<4|m[e.charCodeAt(f+2)]>>2,o[u++]=r>>8&255,o[u++]=r&255),o}function Dr(e){return F[e>>18&63]+F[e>>12&63]+F[e>>6&63]+F[e&63]}function br(e,r,t){for(var n,i=[],o=r;o<t;o+=3)n=(e[o]<<16&16711680)+(e[o+1]<<8&65280)+(e[o+2]&255),i.push(Dr(n));return i.join("")}function Nr(e){for(var r,t=e.length,n=t%3,i=[],o=16383,u=0,h=t-n;u<h;u+=o)i.push(br(e,u,u+o>h?h:u+o));return n===1?(r=e[t-1],i.push(F[r>>2]+F[r<<4&63]+"==")):n===2&&(r=(e[t-2]<<8)+e[t-1],i.push(F[r>>10]+F[r>>4&63]+F[r<<2&63]+"=")),i.join("")}});var ir=b(V=>{g();V.read=function(e,r,t,n,i){var o,u,h=i*8-n-1,f=(1<<h)-1,c=f>>1,l=-7,p=t?i-1:0,E=t?-1:1,x=e[r+p];for(p+=E,o=x&(1<<-l)-1,x>>=-l,l+=h;l>0;o=o*256+e[r+p],p+=E,l-=8);for(u=o&(1<<-l)-1,o>>=-l,l+=n;l>0;u=u*256+e[r+p],p+=E,l-=8);if(o===0)o=1-c;else{if(o===f)return u?NaN:(x?-1:1)*(1/0);u=u+Math.pow(2,n),o=o-c}return(x?-1:1)*u*Math.pow(2,o-n)};V.write=function(e,r,t,n,i,o){var u,h,f,c=o*8-i-1,l=(1<<c)-1,p=l>>1,E=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,x=n?0:o-1,L=n?1:-1,vr=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=l):(u=Math.floor(Math.log(r)/Math.LN2),r*(f=Math.pow(2,-u))<1&&(u--,f*=2),u+p>=1?r+=E/f:r+=E*Math.pow(2,1-p),r*f>=2&&(u++,f/=2),u+p>=l?(h=0,u=l):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;e[t+x]=h&255,x+=L,h/=256,i-=8);for(u=u<<i|h,c+=i;c>0;e[t+x]=u&255,x+=L,u/=256,c-=8);e[t+x-L]|=vr*128}});var mr=b(_=>{"use strict";g();var X=nr(),R=ir(),or=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;_.Buffer=a;_.SlowBuffer=Vr;_.INSPECT_MAX_BYTES=50;var Y=2147483647;_.kMaxLength=Y;a.TYPED_ARRAY_SUPPORT=Wr();!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 Wr(){try{var e=new Uint8Array(1),r={foo:function(){return 42}};return Object.setPrototypeOf(r,Uint8Array.prototype),Object.setPrototypeOf(e,r),e.foo()===42}catch(t){return!1}}Object.defineProperty(a.prototype,"parent",{enumerable:!0,get:function(){if(!!a.isBuffer(this))return this.buffer}});Object.defineProperty(a.prototype,"offset",{enumerable:!0,get:function(){if(!!a.isBuffer(this))return this.byteOffset}});function U(e){if(e>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 hr(e,r,t)}a.poolSize=8192;function hr(e,r,t){if(typeof e=="string")return qr(e,r);if(ArrayBuffer.isView(e))return Gr(e);if(e==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(B(e,ArrayBuffer)||e&&B(e.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(B(e,SharedArrayBuffer)||e&&B(e.buffer,SharedArrayBuffer)))return J(e,r,t);if(typeof e=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var n=e.valueOf&&e.valueOf();if(n!=null&&n!==e)return a.from(n,r,t);var i=Hr(e);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof e[Symbol.toPrimitive]=="function")return a.from(e[Symbol.toPrimitive]("string"),r,t);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}a.from=function(e,r,t){return hr(e,r,t)};Object.setPrototypeOf(a.prototype,Uint8Array.prototype);Object.setPrototypeOf(a,Uint8Array);function fr(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 Yr(e,r,t){return fr(e),e<=0?U(e):r!==void 0?typeof t=="string"?U(e).fill(r,t):U(e).fill(r):U(e)}a.alloc=function(e,r,t){return Yr(e,r,t)};function K(e){return fr(e),U(e<0?0:O(e)|0)}a.allocUnsafe=function(e){return K(e)};a.allocUnsafeSlow=function(e){return K(e)};function qr(e,r){if((typeof r!="string"||r==="")&&(r="utf8"),!a.isEncoding(r))throw new TypeError("Unknown encoding: "+r);var t=pr(e,r)|0,n=U(t),i=n.write(e,r);return i!==t&&(n=n.slice(0,i)),n}function z(e){for(var r=e.length<0?0:O(e.length)|0,t=U(r),n=0;n<r;n+=1)t[n]=e[n]&255;return t}function Gr(e){if(B(e,Uint8Array)){var r=new Uint8Array(e);return J(r.buffer,r.byteOffset,r.byteLength)}return z(e)}function J(e,r,t){if(r<0||e.byteLength<r)throw new RangeError('"offset" is outside of buffer bounds');if(e.byteLength<r+(t||0))throw new RangeError('"length" is outside of buffer bounds');var n;return r===void 0&&t===void 0?n=new Uint8Array(e):t===void 0?n=new Uint8Array(e,r):n=new Uint8Array(e,r,t),Object.setPrototypeOf(n,a.prototype),n}function Hr(e){if(a.isBuffer(e)){var r=O(e.length)|0,t=U(r);return t.length===0||e.copy(t,0,0,r),t}if(e.length!==void 0)return typeof e.length!="number"||Z(e.length)?U(0):z(e);if(e.type==="Buffer"&&Array.isArray(e.data))return z(e.data)}function O(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(B(r,Uint8Array)&&(r=a.from(r,r.offset,r.byteLength)),B(t,Uint8Array)&&(t=a.from(t,t.offset,t.byteLength)),!a.isBuffer(r)||!a.isBuffer(t))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(r===t)return 0;for(var n=r.length,i=t.length,o=0,u=Math.min(n,i);o<u;++o)if(r[o]!==t[o]){n=r[o],i=t[o];break}return n<i?-1:i<n?1:0};a.isEncoding=function(r){switch(String(r).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};a.concat=function(r,t){if(!Array.isArray(r))throw new TypeError('"list" argument must be an Array of Buffers');if(r.length===0)return a.alloc(0);var n;if(t===void 0)for(t=0,n=0;n<r.length;++n)t+=r[n].length;var i=a.allocUnsafe(t),o=0;for(n=0;n<r.length;++n){var u=r[n];if(B(u,Uint8Array))o+u.length>i.length?a.from(u).copy(i,o):Uint8Array.prototype.set.call(i,u,o);else if(a.isBuffer(u))u.copy(i,o);else throw new TypeError('"list" argument must be an Array of Buffers');o+=u.length}return i};function pr(e,r){if(a.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||B(e,ArrayBuffer))return e.byteLength;if(typeof e!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var t=e.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&t===0)return 0;for(var i=!1;;)switch(r){case"ascii":case"latin1":case"binary":return t;case"utf8":case"utf-8":return Q(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return t*2;case"hex":return t>>>1;case"base64":return xr(e).length;default:if(i)return n?-1:Q(e).length;r=(""+r).toLowerCase(),i=!0}}a.byteLength=pr;function Xr(e,r,t){var n=!1;if((r===void 0||r<0)&&(r=0),r>this.length||((t===void 0||t>this.length)&&(t=this.length),t<=0)||(t>>>=0,r>>>=0,t<=r))return"";for(e||(e="utf8");;)switch(e){case"hex":return rt(this,r,t);case"utf8":case"utf-8":return lr(this,r,t);case"ascii":return Pr(this,r,t);case"latin1":case"binary":return jr(this,r,t);case"base64":return Zr(this,r,t);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return tt(this,r,t);default:if(n)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),n=!0}}a.prototype._isBuffer=!0;function C(e,r,t){var n=e[r];e[r]=e[t],e[t]=n}a.prototype.swap16=function(){var r=this.length;if(r%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<r;t+=2)C(this,t,t+1);return this};a.prototype.swap32=function(){var r=this.length;if(r%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<r;t+=4)C(this,t,t+3),C(this,t+1,t+2);return this};a.prototype.swap64=function(){var r=this.length;if(r%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<r;t+=8)C(this,t,t+7),C(this,t+1,t+6),C(this,t+2,t+5),C(this,t+3,t+4);return this};a.prototype.toString=function(){var r=this.length;return r===0?"":arguments.length===0?lr(this,0,r):Xr.apply(this,arguments)};a.prototype.toLocaleString=a.prototype.toString;a.prototype.equals=function(r){if(!a.isBuffer(r))throw new TypeError("Argument must be a Buffer");return this===r?!0:a.compare(this,r)===0};a.prototype.inspect=function(){var r="",t=_.INSPECT_MAX_BYTES;return r=this.toString("hex",0,t).replace(/(.{2})/g,"$1 ").trim(),this.length>t&&(r+=" ... "),"<Buffer "+r+">"};or&&(a.prototype[or]=a.prototype.inspect);a.prototype.compare=function(r,t,n,i,o){if(B(r,Uint8Array)&&(r=a.from(r,r.offset,r.byteLength)),!a.isBuffer(r))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof r);if(t===void 0&&(t=0),n===void 0&&(n=r?r.length:0),i===void 0&&(i=0),o===void 0&&(o=this.length),t<0||n>r.length||i<0||o>this.length)throw new RangeError("out of range index");if(i>=o&&t>=n)return 0;if(i>=o)return-1;if(t>=n)return 1;if(t>>>=0,n>>>=0,i>>>=0,o>>>=0,this===r)return 0;for(var u=o-i,h=n-t,f=Math.min(u,h),c=this.slice(i,o),l=r.slice(t,n),p=0;p<f;++p)if(c[p]!==l[p]){u=c[p],h=l[p];break}return u<h?-1:h<u?1:0};function cr(e,r,t,n,i){if(e.length===0)return-1;if(typeof t=="string"?(n=t,t=0):t>2147483647?t=2147483647:t<-2147483648&&(t=-2147483648),t=+t,Z(t)&&(t=i?0:e.length-1),t<0&&(t=e.length+t),t>=e.length){if(i)return-1;t=e.length-1}else if(t<0)if(i)t=0;else return-1;if(typeof r=="string"&&(r=a.from(r,n)),a.isBuffer(r))return r.length===0?-1:ur(e,r,t,n,i);if(typeof r=="number")return r=r&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(e,r,t):Uint8Array.prototype.lastIndexOf.call(e,r,t):ur(e,[r],t,n,i);throw new TypeError("val must be string, number or Buffer")}function ur(e,r,t,n,i){var o=1,u=e.length,h=r.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(e.length<2||r.length<2)return-1;o=2,u/=2,h/=2,t/=2}function f(x,L){return o===1?x[L]:x.readUInt16BE(L*o)}var c;if(i){var l=-1;for(c=t;c<u;c++)if(f(e,c)===f(r,l===-1?0:c-l)){if(l===-1&&(l=c),c-l+1===h)return l*o}else l!==-1&&(c-=c-l),l=-1}else for(t+h>u&&(t=u-h),c=t;c>=0;c--){for(var p=!0,E=0;E<h;E++)if(f(e,c+E)!==f(r,E)){p=!1;break}if(p)return c}return-1}a.prototype.includes=function(r,t,n){return this.indexOf(r,t,n)!==-1};a.prototype.indexOf=function(r,t,n){return cr(this,r,t,n,!0)};a.prototype.lastIndexOf=function(r,t,n){return cr(this,r,t,n,!1)};function zr(e,r,t,n){t=Number(t)||0;var i=e.length-t;n?(n=Number(n),n>i&&(n=i)):n=i;var o=r.length;n>o/2&&(n=o/2);for(var u=0;u<n;++u){var h=parseInt(r.substr(u*2,2),16);if(Z(h))return u;e[t+u]=h}return u}function Jr(e,r,t,n){return q(Q(r,e.length-t),e,t,n)}function Qr(e,r,t,n){return q(it(r),e,t,n)}function Kr(e,r,t,n){return q(xr(r),e,t,n)}function Or(e,r,t,n){return q(ot(r,e.length-t),e,t,n)}a.prototype.write=function(r,t,n,i){if(t===void 0)i="utf8",n=this.length,t=0;else if(n===void 0&&typeof t=="string")i=t,n=this.length,t=0;else if(isFinite(t))t=t>>>0,isFinite(n)?(n=n>>>0,i===void 0&&(i="utf8")):(i=n,n=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var o=this.length-t;if((n===void 0||n>o)&&(n=o),r.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var u=!1;;)switch(i){case"hex":return zr(this,r,t,n);case"utf8":case"utf-8":return Jr(this,r,t,n);case"ascii":case"latin1":case"binary":return Qr(this,r,t,n);case"base64":return Kr(this,r,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Or(this,r,t,n);default:if(u)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),u=!0}};a.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function Zr(e,r,t){return r===0&&t===e.length?X.fromByteArray(e):X.fromByteArray(e.slice(r,t))}function lr(e,r,t){t=Math.min(e.length,t);for(var n=[],i=r;i<t;){var o=e[i],u=null,h=o>239?4:o>223?3:o>191?2:1;if(i+h<=t){var f,c,l,p;switch(h){case 1:o<128&&(u=o);break;case 2:f=e[i+1],(f&192)===128&&(p=(o&31)<<6|f&63,p>127&&(u=p));break;case 3:f=e[i+1],c=e[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=e[i+1],c=e[i+2],l=e[i+3],(f&192)===128&&(c&192)===128&&(l&192)===128&&(p=(o&15)<<18|(f&63)<<12|(c&63)<<6|l&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 $r(n)}var ar=4096;function $r(e){var r=e.length;if(r<=ar)return String.fromCharCode.apply(String,e);for(var t="",n=0;n<r;)t+=String.fromCharCode.apply(String,e.slice(n,n+=ar));return t}function Pr(e,r,t){var n="";t=Math.min(e.length,t);for(var i=r;i<t;++i)n+=String.fromCharCode(e[i]&127);return n}function jr(e,r,t){var n="";t=Math.min(e.length,t);for(var i=r;i<t;++i)n+=String.fromCharCode(e[i]);return n}function rt(e,r,t){var n=e.length;(!r||r<0)&&(r=0),(!t||t<0||t>n)&&(t=n);for(var i="",o=r;o<t;++o)i+=ut[e[o]];return i}function tt(e,r,t){for(var n=e.slice(r,t),i="",o=0;o<n.length-1;o+=2)i+=String.fromCharCode(n[o]+n[o+1]*256);return i}a.prototype.slice=function(r,t){var n=this.length;r=~~r,t=t===void 0?n:~~t,r<0?(r+=n,r<0&&(r=0)):r>n&&(r=n),t<0?(t+=n,t<0&&(t=0)):t>n&&(t=n),t<r&&(t=r);var i=this.subarray(r,t);return Object.setPrototypeOf(i,a.prototype),i};function w(e,r,t){if(e%1!==0||e<0)throw new RangeError("offset is not uint");if(e+r>t)throw new RangeError("Trying to access beyond buffer length")}a.prototype.readUintLE=a.prototype.readUIntLE=function(r,t,n){r=r>>>0,t=t>>>0,n||w(r,t,this.length);for(var i=this[r],o=1,u=0;++u<t&&(o*=256);)i+=this[r+u]*o;return i};a.prototype.readUintBE=a.prototype.readUIntBE=function(r,t,n){r=r>>>0,t=t>>>0,n||w(r,t,this.length);for(var i=this[r+--t],o=1;t>0&&(o*=256);)i+=this[r+--t]*o;return i};a.prototype.readUint8=a.prototype.readUInt8=function(r,t){return r=r>>>0,t||w(r,1,this.length),this[r]};a.prototype.readUint16LE=a.prototype.readUInt16LE=function(r,t){return r=r>>>0,t||w(r,2,this.length),this[r]|this[r+1]<<8};a.prototype.readUint16BE=a.prototype.readUInt16BE=function(r,t){return r=r>>>0,t||w(r,2,this.length),this[r]<<8|this[r+1]};a.prototype.readUint32LE=a.prototype.readUInt32LE=function(r,t){return r=r>>>0,t||w(r,4,this.length),(this[r]|this[r+1]<<8|this[r+2]<<16)+this[r+3]*16777216};a.prototype.readUint32BE=a.prototype.readUInt32BE=function(r,t){return r=r>>>0,t||w(r,4,this.length),this[r]*16777216+(this[r+1]<<16|this[r+2]<<8|this[r+3])};a.prototype.readIntLE=function(r,t,n){r=r>>>0,t=t>>>0,n||w(r,t,this.length);for(var i=this[r],o=1,u=0;++u<t&&(o*=256);)i+=this[r+u]*o;return o*=128,i>=o&&(i-=Math.pow(2,8*t)),i};a.prototype.readIntBE=function(r,t,n){r=r>>>0,t=t>>>0,n||w(r,t,this.length);for(var i=t,o=1,u=this[r+--i];i>0&&(o*=256);)u+=this[r+--i]*o;return o*=128,u>=o&&(u-=Math.pow(2,8*t)),u};a.prototype.readInt8=function(r,t){return r=r>>>0,t||w(r,1,this.length),this[r]&128?(255-this[r]+1)*-1:this[r]};a.prototype.readInt16LE=function(r,t){r=r>>>0,t||w(r,2,this.length);var n=this[r]|this[r+1]<<8;return n&32768?n|4294901760:n};a.prototype.readInt16BE=function(r,t){r=r>>>0,t||w(r,2,this.length);var n=this[r+1]|this[r]<<8;return n&32768?n|4294901760:n};a.prototype.readInt32LE=function(r,t){return r=r>>>0,t||w(r,4,this.length),this[r]|this[r+1]<<8|this[r+2]<<16|this[r+3]<<24};a.prototype.readInt32BE=function(r,t){return r=r>>>0,t||w(r,4,this.length),this[r]<<24|this[r+1]<<16|this[r+2]<<8|this[r+3]};a.prototype.readFloatLE=function(r,t){return r=r>>>0,t||w(r,4,this.length),R.read(this,r,!0,23,4)};a.prototype.readFloatBE=function(r,t){return r=r>>>0,t||w(r,4,this.length),R.read(this,r,!1,23,4)};a.prototype.readDoubleLE=function(r,t){return r=r>>>0,t||w(r,8,this.length),R.read(this,r,!0,52,8)};a.prototype.readDoubleBE=function(r,t){return r=r>>>0,t||w(r,8,this.length),R.read(this,r,!1,52,8)};function y(e,r,t,n,i,o){if(!a.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(r>i||r<o)throw new RangeError('"value" argument is out of bounds');if(t+n>e.length)throw new RangeError("Index out of range")}a.prototype.writeUintLE=a.prototype.writeUIntLE=function(r,t,n,i){if(r=+r,t=t>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;y(this,r,t,n,o,0)}var u=1,h=0;for(this[t]=r&255;++h<n&&(u*=256);)this[t+h]=r/u&255;return t+n};a.prototype.writeUintBE=a.prototype.writeUIntBE=function(r,t,n,i){if(r=+r,t=t>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;y(this,r,t,n,o,0)}var u=n-1,h=1;for(this[t+u]=r&255;--u>=0&&(h*=256);)this[t+u]=r/h&255;return t+n};a.prototype.writeUint8=a.prototype.writeUInt8=function(r,t,n){return r=+r,t=t>>>0,n||y(this,r,t,1,255,0),this[t]=r&255,t+1};a.prototype.writeUint16LE=a.prototype.writeUInt16LE=function(r,t,n){return r=+r,t=t>>>0,n||y(this,r,t,2,65535,0),this[t]=r&255,this[t+1]=r>>>8,t+2};a.prototype.writeUint16BE=a.prototype.writeUInt16BE=function(r,t,n){return r=+r,t=t>>>0,n||y(this,r,t,2,65535,0),this[t]=r>>>8,this[t+1]=r&255,t+2};a.prototype.writeUint32LE=a.prototype.writeUInt32LE=function(r,t,n){return r=+r,t=t>>>0,n||y(this,r,t,4,4294967295,0),this[t+3]=r>>>24,this[t+2]=r>>>16,this[t+1]=r>>>8,this[t]=r&255,t+4};a.prototype.writeUint32BE=a.prototype.writeUInt32BE=function(r,t,n){return r=+r,t=t>>>0,n||y(this,r,t,4,4294967295,0),this[t]=r>>>24,this[t+1]=r>>>16,this[t+2]=r>>>8,this[t+3]=r&255,t+4};a.prototype.writeIntLE=function(r,t,n,i){if(r=+r,t=t>>>0,!i){var o=Math.pow(2,8*n-1);y(this,r,t,n,o-1,-o)}var u=0,h=1,f=0;for(this[t]=r&255;++u<n&&(h*=256);)r<0&&f===0&&this[t+u-1]!==0&&(f=1),this[t+u]=(r/h>>0)-f&255;return t+n};a.prototype.writeIntBE=function(r,t,n,i){if(r=+r,t=t>>>0,!i){var o=Math.pow(2,8*n-1);y(this,r,t,n,o-1,-o)}var u=n-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+n};a.prototype.writeInt8=function(r,t,n){return r=+r,t=t>>>0,n||y(this,r,t,1,127,-128),r<0&&(r=255+r+1),this[t]=r&255,t+1};a.prototype.writeInt16LE=function(r,t,n){return r=+r,t=t>>>0,n||y(this,r,t,2,32767,-32768),this[t]=r&255,this[t+1]=r>>>8,t+2};a.prototype.writeInt16BE=function(r,t,n){return r=+r,t=t>>>0,n||y(this,r,t,2,32767,-32768),this[t]=r>>>8,this[t+1]=r&255,t+2};a.prototype.writeInt32LE=function(r,t,n){return r=+r,t=t>>>0,n||y(this,r,t,4,2147483647,-2147483648),this[t]=r&255,this[t+1]=r>>>8,this[t+2]=r>>>16,this[t+3]=r>>>24,t+4};a.prototype.writeInt32BE=function(r,t,n){return r=+r,t=t>>>0,n||y(this,r,t,4,2147483647,-2147483648),r<0&&(r=4294967295+r+1),this[t]=r>>>24,this[t+1]=r>>>16,this[t+2]=r>>>8,this[t+3]=r&255,t+4};function sr(e,r,t,n,i,o){if(t+n>e.length)throw new RangeError("Index out of range");if(t<0)throw new RangeError("Index out of range")}function wr(e,r,t,n,i){return r=+r,t=t>>>0,i||sr(e,r,t,4,34028234663852886e22,-34028234663852886e22),R.write(e,r,t,n,23,4),t+4}a.prototype.writeFloatLE=function(r,t,n){return wr(this,r,t,!0,n)};a.prototype.writeFloatBE=function(r,t,n){return wr(this,r,t,!1,n)};function yr(e,r,t,n,i){return r=+r,t=t>>>0,i||sr(e,r,t,8,17976931348623157e292,-17976931348623157e292),R.write(e,r,t,n,52,8),t+8}a.prototype.writeDoubleLE=function(r,t,n){return yr(this,r,t,!0,n)};a.prototype.writeDoubleBE=function(r,t,n){return yr(this,r,t,!1,n)};a.prototype.copy=function(r,t,n,i){if(!a.isBuffer(r))throw new TypeError("argument should be a Buffer");if(n||(n=0),!i&&i!==0&&(i=this.length),t>=r.length&&(t=r.length),t||(t=0),i>0&&i<n&&(i=n),i===n||r.length===0||this.length===0)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),r.length-t<i-n&&(i=r.length-t+n);var o=i-n;return this===r&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(t,n,i):Uint8Array.prototype.set.call(r,this.subarray(n,i),t),o};a.prototype.fill=function(r,t,n,i){if(typeof r=="string"){if(typeof t=="string"?(i=t,t=0,n=this.length):typeof n=="string"&&(i=n,n=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!a.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(r.length===1){var o=r.charCodeAt(0);(i==="utf8"&&o<128||i==="latin1")&&(r=o)}}else typeof r=="number"?r=r&255:typeof r=="boolean"&&(r=Number(r));if(t<0||this.length<t||this.length<n)throw new RangeError("Out of range index");if(n<=t)return this;t=t>>>0,n=n===void 0?this.length:n>>>0,r||(r=0);var u;if(typeof r=="number")for(u=t;u<n;++u)this[u]=r;else{var 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-t;++u)this[u+t]=h[u%f]}return this};var et=/[^+/0-9A-Za-z-_]/g;function nt(e){if(e=e.split("=")[0],e=e.trim().replace(et,""),e.length<2)return"";for(;e.length%4!==0;)e=e+"=";return e}function Q(e,r){r=r||1/0;for(var t,n=e.length,i=null,o=[],u=0;u<n;++u){if(t=e.charCodeAt(u),t>55295&&t<57344){if(!i){if(t>56319){(r-=3)>-1&&o.push(239,191,189);continue}else if(u+1===n){(r-=3)>-1&&o.push(239,191,189);continue}i=t;continue}if(t<56320){(r-=3)>-1&&o.push(239,191,189),i=t;continue}t=(i-55296<<10|t-56320)+65536}else i&&(r-=3)>-1&&o.push(239,191,189);if(i=null,t<128){if((r-=1)<0)break;o.push(t)}else if(t<2048){if((r-=2)<0)break;o.push(t>>6|192,t&63|128)}else if(t<65536){if((r-=3)<0)break;o.push(t>>12|224,t>>6&63|128,t&63|128)}else if(t<1114112){if((r-=4)<0)break;o.push(t>>18|240,t>>12&63|128,t>>6&63|128,t&63|128)}else throw new Error("Invalid code point")}return o}function it(e){for(var r=[],t=0;t<e.length;++t)r.push(e.charCodeAt(t)&255);return r}function ot(e,r){for(var t,n,i,o=[],u=0;u<e.length&&!((r-=2)<0);++u)t=e.charCodeAt(u),n=t>>8,i=t%256,o.push(i),o.push(n);return o}function xr(e){return X.toByteArray(nt(e))}function q(e,r,t,n){for(var i=0;i<n&&!(i+t>=r.length||i>=e.length);++i)r[i+t]=e[i];return i}function B(e,r){return e instanceof r||e!=null&&e.constructor!=null&&e.constructor.name!=null&&e.constructor.name===r.name}function Z(e){return e!==e}var ut=function(){for(var e="0123456789abcdef",r=new Array(256),t=0;t<16;++t)for(var n=t*16,i=0;i<16;++i)r[n+i]=e[t]+e[i];return r}()});var Ar=b((st,Br)=>{g();var s=Br.exports={},A,v;function $(){throw new Error("setTimeout has not been defined")}function P(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?A=setTimeout:A=$}catch(e){A=$}try{typeof clearTimeout=="function"?v=clearTimeout:v=P}catch(e){v=P}})();function Er(e){if(A===setTimeout)return setTimeout(e,0);if((A===$||!A)&&setTimeout)return A=setTimeout,setTimeout(e,0);try{return A(e,0)}catch(r){try{return A.call(null,e,0)}catch(t){return A.call(this,e,0)}}}function at(e){if(v===clearTimeout)return clearTimeout(e);if((v===P||!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=[],M=!1,S,G=-1;function ht(){!M||!S||(M=!1,S.length?T=S.concat(T):G=-1,T.length&&gr())}function gr(){if(!M){var e=Er(ht);M=!0;for(var r=T.length;r;){for(S=T,T=[];++G<r;)S&&S[G].run();G=-1,r=T.length}S=null,M=!1,at(e)}}s.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 Fr(e,r)),T.length===1&&!M&&Er(gr)};function Fr(e,r){this.fun=e,this.array=r}Fr.prototype.run=function(){this.fun.apply(null,this.array)};s.title="browser";s.browser=!0;s.env={};s.argv=[];s.version="";s.versions={};function I(){}s.on=I;s.addListener=I;s.once=I;s.off=I;s.removeListener=I;s.removeAllListeners=I;s.emit=I;s.prependListener=I;s.prependOnceListener=I;s.listeners=function(e){return[]};s.binding=function(e){throw new Error("process.binding is not supported")};s.cwd=function(){return"/"};s.chdir=function(e){throw new Error("process.chdir is not supported")};s.umask=function(){return 0}});var k,D,wt,g=Sr(()=>{k=rr(mr()),D=rr(Ar()),wt=function(e){function r(){var n=this||self;return delete e.prototype.__magic__,n}if(typeof globalThis=="object")return globalThis;if(this)return r();e.defineProperty(e.prototype,"__magic__",{configurable:!0,get:r});var t=__magic__;return t}(Object)});g();
1
+ "use strict";var dr=Object.create;var j=Object.defineProperty;var Ur=Object.getOwnPropertyDescriptor;var Tr=Object.getOwnPropertyNames;var Ir=Object.getPrototypeOf,Cr=Object.prototype.hasOwnProperty;var Sr=(e,r)=>()=>(e&&(r=e(e=0)),r);var D=(e,r)=>()=>(r||e((r={exports:{}}).exports,r),r.exports);var Lr=(e,r,t,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let i of Tr(r))!Cr.call(e,i)&&i!==t&&j(e,i,{get:()=>r[i],enumerable:!(n=Ur(r,i))||n.enumerable});return e};var rr=(e,r,t)=>(t=e!=null?dr(Ir(e)):{},Lr(r||!e||!e.__esModule?j(t,"default",{value:e,enumerable:!0}):t,e));var nr=D(N=>{"use strict";F();N.byteLength=Rr;N.toByteArray=Mr;N.fromByteArray=Nr;var g=[],m=[],br=typeof Uint8Array!="undefined"?Uint8Array:Array,G="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(I=0,tr=G.length;I<tr;++I)g[I]=G[I],m[G.charCodeAt(I)]=I;var I,tr;m["-".charCodeAt(0)]=62;m["_".charCodeAt(0)]=63;function er(e){var r=e.length;if(r%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var t=e.indexOf("=");t===-1&&(t=r);var n=t===r?0:4-t%4;return[t,n]}function Rr(e){var r=er(e),t=r[0],n=r[1];return(t+n)*3/4-n}function _r(e,r,t){return(r+t)*3/4-t}function Mr(e){var r,t=er(e),n=t[0],i=t[1],o=new br(_r(e,n,i)),u=0,h=i>0?n-4:n,f;for(f=0;f<h;f+=4)r=m[e.charCodeAt(f)]<<18|m[e.charCodeAt(f+1)]<<12|m[e.charCodeAt(f+2)]<<6|m[e.charCodeAt(f+3)],o[u++]=r>>16&255,o[u++]=r>>8&255,o[u++]=r&255;return i===2&&(r=m[e.charCodeAt(f)]<<2|m[e.charCodeAt(f+1)]>>4,o[u++]=r&255),i===1&&(r=m[e.charCodeAt(f)]<<10|m[e.charCodeAt(f+1)]<<4|m[e.charCodeAt(f+2)]>>2,o[u++]=r>>8&255,o[u++]=r&255),o}function kr(e){return g[e>>18&63]+g[e>>12&63]+g[e>>6&63]+g[e&63]}function Dr(e,r,t){for(var n,i=[],o=r;o<t;o+=3)n=(e[o]<<16&16711680)+(e[o+1]<<8&65280)+(e[o+2]&255),i.push(kr(n));return i.join("")}function Nr(e){for(var r,t=e.length,n=t%3,i=[],o=16383,u=0,h=t-n;u<h;u+=o)i.push(Dr(e,u,u+o>h?h:u+o));return n===1?(r=e[t-1],i.push(g[r>>2]+g[r<<4&63]+"==")):n===2&&(r=(e[t-2]<<8)+e[t-1],i.push(g[r>>10]+g[r>>4&63]+g[r<<2&63]+"=")),i.join("")}});var ir=D(H=>{F();H.read=function(e,r,t,n,i){var o,u,h=i*8-n-1,f=(1<<h)-1,c=f>>1,l=-7,p=t?i-1:0,E=t?-1:1,x=e[r+p];for(p+=E,o=x&(1<<-l)-1,x>>=-l,l+=h;l>0;o=o*256+e[r+p],p+=E,l-=8);for(u=o&(1<<-l)-1,o>>=-l,l+=n;l>0;u=u*256+e[r+p],p+=E,l-=8);if(o===0)o=1-c;else{if(o===f)return u?NaN:(x?-1:1)*(1/0);u=u+Math.pow(2,n),o=o-c}return(x?-1:1)*u*Math.pow(2,o-n)};H.write=function(e,r,t,n,i,o){var u,h,f,c=o*8-i-1,l=(1<<c)-1,p=l>>1,E=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,x=n?0:o-1,L=n?1:-1,Ar=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=l):(u=Math.floor(Math.log(r)/Math.LN2),r*(f=Math.pow(2,-u))<1&&(u--,f*=2),u+p>=1?r+=E/f:r+=E*Math.pow(2,1-p),r*f>=2&&(u++,f/=2),u+p>=l?(h=0,u=l):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;e[t+x]=h&255,x+=L,h/=256,i-=8);for(u=u<<i|h,c+=i;c>0;e[t+x]=u&255,x+=L,u/=256,c-=8);e[t+x-L]|=Ar*128}});var mr=D(R=>{"use strict";F();var X=nr(),b=ir(),or=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;R.Buffer=a;R.SlowBuffer=Hr;R.INSPECT_MAX_BYTES=50;var W=2147483647;R.kMaxLength=W;a.TYPED_ARRAY_SUPPORT=Vr();!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 Vr(){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>W)throw new RangeError('The value "'+e+'" is invalid for option "size"');var r=new Uint8Array(e);return Object.setPrototypeOf(r,a.prototype),r}function a(e,r,t){if(typeof e=="number"){if(typeof r=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return K(e)}return hr(e,r,t)}a.poolSize=8192;function hr(e,r,t){if(typeof e=="string")return Yr(e,r);if(ArrayBuffer.isView(e))return qr(e);if(e==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(v(e,ArrayBuffer)||e&&v(e.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(v(e,SharedArrayBuffer)||e&&v(e.buffer,SharedArrayBuffer)))return J(e,r,t);if(typeof e=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var n=e.valueOf&&e.valueOf();if(n!=null&&n!==e)return a.from(n,r,t);var i=Gr(e);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof e[Symbol.toPrimitive]=="function")return a.from(e[Symbol.toPrimitive]("string"),r,t);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}a.from=function(e,r,t){return hr(e,r,t)};Object.setPrototypeOf(a.prototype,Uint8Array.prototype);Object.setPrototypeOf(a,Uint8Array);function fr(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 Wr(e,r,t){return fr(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 Wr(e,r,t)};function K(e){return fr(e),d(e<0?0:O(e)|0)}a.allocUnsafe=function(e){return K(e)};a.allocUnsafeSlow=function(e){return K(e)};function Yr(e,r){if((typeof r!="string"||r==="")&&(r="utf8"),!a.isEncoding(r))throw new TypeError("Unknown encoding: "+r);var t=pr(e,r)|0,n=d(t),i=n.write(e,r);return i!==t&&(n=n.slice(0,i)),n}function z(e){for(var r=e.length<0?0:O(e.length)|0,t=d(r),n=0;n<r;n+=1)t[n]=e[n]&255;return t}function qr(e){if(v(e,Uint8Array)){var r=new Uint8Array(e);return J(r.buffer,r.byteOffset,r.byteLength)}return z(e)}function J(e,r,t){if(r<0||e.byteLength<r)throw new RangeError('"offset" is outside of buffer bounds');if(e.byteLength<r+(t||0))throw new RangeError('"length" is outside of buffer bounds');var n;return r===void 0&&t===void 0?n=new Uint8Array(e):t===void 0?n=new Uint8Array(e,r):n=new Uint8Array(e,r,t),Object.setPrototypeOf(n,a.prototype),n}function Gr(e){if(a.isBuffer(e)){var r=O(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"||Z(e.length)?d(0):z(e);if(e.type==="Buffer"&&Array.isArray(e.data))return z(e.data)}function O(e){if(e>=W)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+W.toString(16)+" bytes");return e|0}function Hr(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(v(r,Uint8Array)&&(r=a.from(r,r.offset,r.byteLength)),v(t,Uint8Array)&&(t=a.from(t,t.offset,t.byteLength)),!a.isBuffer(r)||!a.isBuffer(t))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(r===t)return 0;for(var n=r.length,i=t.length,o=0,u=Math.min(n,i);o<u;++o)if(r[o]!==t[o]){n=r[o],i=t[o];break}return n<i?-1:i<n?1:0};a.isEncoding=function(r){switch(String(r).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};a.concat=function(r,t){if(!Array.isArray(r))throw new TypeError('"list" argument must be an Array of Buffers');if(r.length===0)return a.alloc(0);var n;if(t===void 0)for(t=0,n=0;n<r.length;++n)t+=r[n].length;var i=a.allocUnsafe(t),o=0;for(n=0;n<r.length;++n){var u=r[n];if(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 pr(e,r){if(a.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||v(e,ArrayBuffer))return e.byteLength;if(typeof e!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var t=e.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&t===0)return 0;for(var i=!1;;)switch(r){case"ascii":case"latin1":case"binary":return t;case"utf8":case"utf-8":return Q(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return t*2;case"hex":return t>>>1;case"base64":return xr(e).length;default:if(i)return n?-1:Q(e).length;r=(""+r).toLowerCase(),i=!0}}a.byteLength=pr;function Xr(e,r,t){var n=!1;if((r===void 0||r<0)&&(r=0),r>this.length||((t===void 0||t>this.length)&&(t=this.length),t<=0)||(t>>>=0,r>>>=0,t<=r))return"";for(e||(e="utf8");;)switch(e){case"hex":return rt(this,r,t);case"utf8":case"utf-8":return lr(this,r,t);case"ascii":return Pr(this,r,t);case"latin1":case"binary":return jr(this,r,t);case"base64":return Zr(this,r,t);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return tt(this,r,t);default:if(n)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),n=!0}}a.prototype._isBuffer=!0;function C(e,r,t){var n=e[r];e[r]=e[t],e[t]=n}a.prototype.swap16=function(){var r=this.length;if(r%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<r;t+=2)C(this,t,t+1);return this};a.prototype.swap32=function(){var r=this.length;if(r%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<r;t+=4)C(this,t,t+3),C(this,t+1,t+2);return this};a.prototype.swap64=function(){var r=this.length;if(r%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<r;t+=8)C(this,t,t+7),C(this,t+1,t+6),C(this,t+2,t+5),C(this,t+3,t+4);return this};a.prototype.toString=function(){var r=this.length;return r===0?"":arguments.length===0?lr(this,0,r):Xr.apply(this,arguments)};a.prototype.toLocaleString=a.prototype.toString;a.prototype.equals=function(r){if(!a.isBuffer(r))throw new TypeError("Argument must be a Buffer");return this===r?!0:a.compare(this,r)===0};a.prototype.inspect=function(){var r="",t=R.INSPECT_MAX_BYTES;return r=this.toString("hex",0,t).replace(/(.{2})/g,"$1 ").trim(),this.length>t&&(r+=" ... "),"<Buffer "+r+">"};or&&(a.prototype[or]=a.prototype.inspect);a.prototype.compare=function(r,t,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(t===void 0&&(t=0),n===void 0&&(n=r?r.length:0),i===void 0&&(i=0),o===void 0&&(o=this.length),t<0||n>r.length||i<0||o>this.length)throw new RangeError("out of range index");if(i>=o&&t>=n)return 0;if(i>=o)return-1;if(t>=n)return 1;if(t>>>=0,n>>>=0,i>>>=0,o>>>=0,this===r)return 0;for(var u=o-i,h=n-t,f=Math.min(u,h),c=this.slice(i,o),l=r.slice(t,n),p=0;p<f;++p)if(c[p]!==l[p]){u=c[p],h=l[p];break}return u<h?-1:h<u?1:0};function cr(e,r,t,n,i){if(e.length===0)return-1;if(typeof t=="string"?(n=t,t=0):t>2147483647?t=2147483647:t<-2147483648&&(t=-2147483648),t=+t,Z(t)&&(t=i?0:e.length-1),t<0&&(t=e.length+t),t>=e.length){if(i)return-1;t=e.length-1}else if(t<0)if(i)t=0;else return-1;if(typeof r=="string"&&(r=a.from(r,n)),a.isBuffer(r))return r.length===0?-1:ur(e,r,t,n,i);if(typeof r=="number")return r=r&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(e,r,t):Uint8Array.prototype.lastIndexOf.call(e,r,t):ur(e,[r],t,n,i);throw new TypeError("val must be string, number or Buffer")}function ur(e,r,t,n,i){var o=1,u=e.length,h=r.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(e.length<2||r.length<2)return-1;o=2,u/=2,h/=2,t/=2}function f(x,L){return o===1?x[L]:x.readUInt16BE(L*o)}var c;if(i){var l=-1;for(c=t;c<u;c++)if(f(e,c)===f(r,l===-1?0:c-l)){if(l===-1&&(l=c),c-l+1===h)return l*o}else l!==-1&&(c-=c-l),l=-1}else for(t+h>u&&(t=u-h),c=t;c>=0;c--){for(var p=!0,E=0;E<h;E++)if(f(e,c+E)!==f(r,E)){p=!1;break}if(p)return c}return-1}a.prototype.includes=function(r,t,n){return this.indexOf(r,t,n)!==-1};a.prototype.indexOf=function(r,t,n){return cr(this,r,t,n,!0)};a.prototype.lastIndexOf=function(r,t,n){return cr(this,r,t,n,!1)};function zr(e,r,t,n){t=Number(t)||0;var i=e.length-t;n?(n=Number(n),n>i&&(n=i)):n=i;var o=r.length;n>o/2&&(n=o/2);for(var u=0;u<n;++u){var h=parseInt(r.substr(u*2,2),16);if(Z(h))return u;e[t+u]=h}return u}function Jr(e,r,t,n){return Y(Q(r,e.length-t),e,t,n)}function Qr(e,r,t,n){return Y(it(r),e,t,n)}function Kr(e,r,t,n){return Y(xr(r),e,t,n)}function Or(e,r,t,n){return Y(ot(r,e.length-t),e,t,n)}a.prototype.write=function(r,t,n,i){if(t===void 0)i="utf8",n=this.length,t=0;else if(n===void 0&&typeof t=="string")i=t,n=this.length,t=0;else if(isFinite(t))t=t>>>0,isFinite(n)?(n=n>>>0,i===void 0&&(i="utf8")):(i=n,n=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var o=this.length-t;if((n===void 0||n>o)&&(n=o),r.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var u=!1;;)switch(i){case"hex":return zr(this,r,t,n);case"utf8":case"utf-8":return Jr(this,r,t,n);case"ascii":case"latin1":case"binary":return Qr(this,r,t,n);case"base64":return Kr(this,r,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Or(this,r,t,n);default:if(u)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),u=!0}};a.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function Zr(e,r,t){return r===0&&t===e.length?X.fromByteArray(e):X.fromByteArray(e.slice(r,t))}function lr(e,r,t){t=Math.min(e.length,t);for(var n=[],i=r;i<t;){var o=e[i],u=null,h=o>239?4:o>223?3:o>191?2:1;if(i+h<=t){var f,c,l,p;switch(h){case 1:o<128&&(u=o);break;case 2:f=e[i+1],(f&192)===128&&(p=(o&31)<<6|f&63,p>127&&(u=p));break;case 3:f=e[i+1],c=e[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=e[i+1],c=e[i+2],l=e[i+3],(f&192)===128&&(c&192)===128&&(l&192)===128&&(p=(o&15)<<18|(f&63)<<12|(c&63)<<6|l&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 $r(n)}var ar=4096;function $r(e){var r=e.length;if(r<=ar)return String.fromCharCode.apply(String,e);for(var t="",n=0;n<r;)t+=String.fromCharCode.apply(String,e.slice(n,n+=ar));return t}function Pr(e,r,t){var n="";t=Math.min(e.length,t);for(var i=r;i<t;++i)n+=String.fromCharCode(e[i]&127);return n}function jr(e,r,t){var n="";t=Math.min(e.length,t);for(var i=r;i<t;++i)n+=String.fromCharCode(e[i]);return n}function rt(e,r,t){var n=e.length;(!r||r<0)&&(r=0),(!t||t<0||t>n)&&(t=n);for(var i="",o=r;o<t;++o)i+=ut[e[o]];return i}function tt(e,r,t){for(var n=e.slice(r,t),i="",o=0;o<n.length-1;o+=2)i+=String.fromCharCode(n[o]+n[o+1]*256);return i}a.prototype.slice=function(r,t){var n=this.length;r=~~r,t=t===void 0?n:~~t,r<0?(r+=n,r<0&&(r=0)):r>n&&(r=n),t<0?(t+=n,t<0&&(t=0)):t>n&&(t=n),t<r&&(t=r);var i=this.subarray(r,t);return Object.setPrototypeOf(i,a.prototype),i};function y(e,r,t){if(e%1!==0||e<0)throw new RangeError("offset is not uint");if(e+r>t)throw new RangeError("Trying to access beyond buffer length")}a.prototype.readUintLE=a.prototype.readUIntLE=function(r,t,n){r=r>>>0,t=t>>>0,n||y(r,t,this.length);for(var i=this[r],o=1,u=0;++u<t&&(o*=256);)i+=this[r+u]*o;return i};a.prototype.readUintBE=a.prototype.readUIntBE=function(r,t,n){r=r>>>0,t=t>>>0,n||y(r,t,this.length);for(var i=this[r+--t],o=1;t>0&&(o*=256);)i+=this[r+--t]*o;return i};a.prototype.readUint8=a.prototype.readUInt8=function(r,t){return r=r>>>0,t||y(r,1,this.length),this[r]};a.prototype.readUint16LE=a.prototype.readUInt16LE=function(r,t){return r=r>>>0,t||y(r,2,this.length),this[r]|this[r+1]<<8};a.prototype.readUint16BE=a.prototype.readUInt16BE=function(r,t){return r=r>>>0,t||y(r,2,this.length),this[r]<<8|this[r+1]};a.prototype.readUint32LE=a.prototype.readUInt32LE=function(r,t){return r=r>>>0,t||y(r,4,this.length),(this[r]|this[r+1]<<8|this[r+2]<<16)+this[r+3]*16777216};a.prototype.readUint32BE=a.prototype.readUInt32BE=function(r,t){return r=r>>>0,t||y(r,4,this.length),this[r]*16777216+(this[r+1]<<16|this[r+2]<<8|this[r+3])};a.prototype.readIntLE=function(r,t,n){r=r>>>0,t=t>>>0,n||y(r,t,this.length);for(var i=this[r],o=1,u=0;++u<t&&(o*=256);)i+=this[r+u]*o;return o*=128,i>=o&&(i-=Math.pow(2,8*t)),i};a.prototype.readIntBE=function(r,t,n){r=r>>>0,t=t>>>0,n||y(r,t,this.length);for(var i=t,o=1,u=this[r+--i];i>0&&(o*=256);)u+=this[r+--i]*o;return o*=128,u>=o&&(u-=Math.pow(2,8*t)),u};a.prototype.readInt8=function(r,t){return r=r>>>0,t||y(r,1,this.length),this[r]&128?(255-this[r]+1)*-1:this[r]};a.prototype.readInt16LE=function(r,t){r=r>>>0,t||y(r,2,this.length);var n=this[r]|this[r+1]<<8;return n&32768?n|4294901760:n};a.prototype.readInt16BE=function(r,t){r=r>>>0,t||y(r,2,this.length);var n=this[r+1]|this[r]<<8;return n&32768?n|4294901760:n};a.prototype.readInt32LE=function(r,t){return r=r>>>0,t||y(r,4,this.length),this[r]|this[r+1]<<8|this[r+2]<<16|this[r+3]<<24};a.prototype.readInt32BE=function(r,t){return r=r>>>0,t||y(r,4,this.length),this[r]<<24|this[r+1]<<16|this[r+2]<<8|this[r+3]};a.prototype.readFloatLE=function(r,t){return r=r>>>0,t||y(r,4,this.length),b.read(this,r,!0,23,4)};a.prototype.readFloatBE=function(r,t){return r=r>>>0,t||y(r,4,this.length),b.read(this,r,!1,23,4)};a.prototype.readDoubleLE=function(r,t){return r=r>>>0,t||y(r,8,this.length),b.read(this,r,!0,52,8)};a.prototype.readDoubleBE=function(r,t){return r=r>>>0,t||y(r,8,this.length),b.read(this,r,!1,52,8)};function w(e,r,t,n,i,o){if(!a.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(r>i||r<o)throw new RangeError('"value" argument is out of bounds');if(t+n>e.length)throw new RangeError("Index out of range")}a.prototype.writeUintLE=a.prototype.writeUIntLE=function(r,t,n,i){if(r=+r,t=t>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;w(this,r,t,n,o,0)}var u=1,h=0;for(this[t]=r&255;++h<n&&(u*=256);)this[t+h]=r/u&255;return t+n};a.prototype.writeUintBE=a.prototype.writeUIntBE=function(r,t,n,i){if(r=+r,t=t>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;w(this,r,t,n,o,0)}var u=n-1,h=1;for(this[t+u]=r&255;--u>=0&&(h*=256);)this[t+u]=r/h&255;return t+n};a.prototype.writeUint8=a.prototype.writeUInt8=function(r,t,n){return r=+r,t=t>>>0,n||w(this,r,t,1,255,0),this[t]=r&255,t+1};a.prototype.writeUint16LE=a.prototype.writeUInt16LE=function(r,t,n){return r=+r,t=t>>>0,n||w(this,r,t,2,65535,0),this[t]=r&255,this[t+1]=r>>>8,t+2};a.prototype.writeUint16BE=a.prototype.writeUInt16BE=function(r,t,n){return r=+r,t=t>>>0,n||w(this,r,t,2,65535,0),this[t]=r>>>8,this[t+1]=r&255,t+2};a.prototype.writeUint32LE=a.prototype.writeUInt32LE=function(r,t,n){return r=+r,t=t>>>0,n||w(this,r,t,4,4294967295,0),this[t+3]=r>>>24,this[t+2]=r>>>16,this[t+1]=r>>>8,this[t]=r&255,t+4};a.prototype.writeUint32BE=a.prototype.writeUInt32BE=function(r,t,n){return r=+r,t=t>>>0,n||w(this,r,t,4,4294967295,0),this[t]=r>>>24,this[t+1]=r>>>16,this[t+2]=r>>>8,this[t+3]=r&255,t+4};a.prototype.writeIntLE=function(r,t,n,i){if(r=+r,t=t>>>0,!i){var o=Math.pow(2,8*n-1);w(this,r,t,n,o-1,-o)}var u=0,h=1,f=0;for(this[t]=r&255;++u<n&&(h*=256);)r<0&&f===0&&this[t+u-1]!==0&&(f=1),this[t+u]=(r/h>>0)-f&255;return t+n};a.prototype.writeIntBE=function(r,t,n,i){if(r=+r,t=t>>>0,!i){var o=Math.pow(2,8*n-1);w(this,r,t,n,o-1,-o)}var u=n-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+n};a.prototype.writeInt8=function(r,t,n){return r=+r,t=t>>>0,n||w(this,r,t,1,127,-128),r<0&&(r=255+r+1),this[t]=r&255,t+1};a.prototype.writeInt16LE=function(r,t,n){return r=+r,t=t>>>0,n||w(this,r,t,2,32767,-32768),this[t]=r&255,this[t+1]=r>>>8,t+2};a.prototype.writeInt16BE=function(r,t,n){return r=+r,t=t>>>0,n||w(this,r,t,2,32767,-32768),this[t]=r>>>8,this[t+1]=r&255,t+2};a.prototype.writeInt32LE=function(r,t,n){return r=+r,t=t>>>0,n||w(this,r,t,4,2147483647,-2147483648),this[t]=r&255,this[t+1]=r>>>8,this[t+2]=r>>>16,this[t+3]=r>>>24,t+4};a.prototype.writeInt32BE=function(r,t,n){return r=+r,t=t>>>0,n||w(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 sr(e,r,t,n,i,o){if(t+n>e.length)throw new RangeError("Index out of range");if(t<0)throw new RangeError("Index out of range")}function yr(e,r,t,n,i){return r=+r,t=t>>>0,i||sr(e,r,t,4,34028234663852886e22,-34028234663852886e22),b.write(e,r,t,n,23,4),t+4}a.prototype.writeFloatLE=function(r,t,n){return yr(this,r,t,!0,n)};a.prototype.writeFloatBE=function(r,t,n){return yr(this,r,t,!1,n)};function wr(e,r,t,n,i){return r=+r,t=t>>>0,i||sr(e,r,t,8,17976931348623157e292,-17976931348623157e292),b.write(e,r,t,n,52,8),t+8}a.prototype.writeDoubleLE=function(r,t,n){return wr(this,r,t,!0,n)};a.prototype.writeDoubleBE=function(r,t,n){return wr(this,r,t,!1,n)};a.prototype.copy=function(r,t,n,i){if(!a.isBuffer(r))throw new TypeError("argument should be a Buffer");if(n||(n=0),!i&&i!==0&&(i=this.length),t>=r.length&&(t=r.length),t||(t=0),i>0&&i<n&&(i=n),i===n||r.length===0||this.length===0)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),r.length-t<i-n&&(i=r.length-t+n);var o=i-n;return this===r&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(t,n,i):Uint8Array.prototype.set.call(r,this.subarray(n,i),t),o};a.prototype.fill=function(r,t,n,i){if(typeof r=="string"){if(typeof t=="string"?(i=t,t=0,n=this.length):typeof n=="string"&&(i=n,n=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!a.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(r.length===1){var o=r.charCodeAt(0);(i==="utf8"&&o<128||i==="latin1")&&(r=o)}}else typeof r=="number"?r=r&255:typeof r=="boolean"&&(r=Number(r));if(t<0||this.length<t||this.length<n)throw new RangeError("Out of range index");if(n<=t)return this;t=t>>>0,n=n===void 0?this.length:n>>>0,r||(r=0);var u;if(typeof r=="number")for(u=t;u<n;++u)this[u]=r;else{var 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-t;++u)this[u+t]=h[u%f]}return this};var et=/[^+/0-9A-Za-z-_]/g;function nt(e){if(e=e.split("=")[0],e=e.trim().replace(et,""),e.length<2)return"";for(;e.length%4!==0;)e=e+"=";return e}function Q(e,r){r=r||1/0;for(var t,n=e.length,i=null,o=[],u=0;u<n;++u){if(t=e.charCodeAt(u),t>55295&&t<57344){if(!i){if(t>56319){(r-=3)>-1&&o.push(239,191,189);continue}else if(u+1===n){(r-=3)>-1&&o.push(239,191,189);continue}i=t;continue}if(t<56320){(r-=3)>-1&&o.push(239,191,189),i=t;continue}t=(i-55296<<10|t-56320)+65536}else i&&(r-=3)>-1&&o.push(239,191,189);if(i=null,t<128){if((r-=1)<0)break;o.push(t)}else if(t<2048){if((r-=2)<0)break;o.push(t>>6|192,t&63|128)}else if(t<65536){if((r-=3)<0)break;o.push(t>>12|224,t>>6&63|128,t&63|128)}else if(t<1114112){if((r-=4)<0)break;o.push(t>>18|240,t>>12&63|128,t>>6&63|128,t&63|128)}else throw new Error("Invalid code point")}return o}function it(e){for(var r=[],t=0;t<e.length;++t)r.push(e.charCodeAt(t)&255);return r}function ot(e,r){for(var t,n,i,o=[],u=0;u<e.length&&!((r-=2)<0);++u)t=e.charCodeAt(u),n=t>>8,i=t%256,o.push(i),o.push(n);return o}function xr(e){return X.toByteArray(nt(e))}function Y(e,r,t,n){for(var i=0;i<n&&!(i+t>=r.length||i>=e.length);++i)r[i+t]=e[i];return i}function v(e,r){return e instanceof r||e!=null&&e.constructor!=null&&e.constructor.name!=null&&e.constructor.name===r.name}function Z(e){return e!==e}var ut=function(){for(var e="0123456789abcdef",r=new Array(256),t=0;t<16;++t)for(var n=t*16,i=0;i<16;++i)r[n+i]=e[t]+e[i];return r}()});var Br=D((st,vr)=>{F();var s=vr.exports={},B,A;function $(){throw new Error("setTimeout has not been defined")}function P(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?B=setTimeout:B=$}catch(e){B=$}try{typeof clearTimeout=="function"?A=clearTimeout:A=P}catch(e){A=P}})();function Er(e){if(B===setTimeout)return setTimeout(e,0);if((B===$||!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 at(e){if(A===clearTimeout)return clearTimeout(e);if((A===P||!A)&&clearTimeout)return A=clearTimeout,clearTimeout(e);try{return A(e)}catch(r){try{return A.call(null,e)}catch(t){return A.call(this,e)}}}var U=[],_=!1,S,q=-1;function ht(){!_||!S||(_=!1,S.length?U=S.concat(U):q=-1,U.length&&Fr())}function Fr(){if(!_){var e=Er(ht);_=!0;for(var r=U.length;r;){for(S=U,U=[];++q<r;)S&&S[q].run();q=-1,r=U.length}S=null,_=!1,at(e)}}s.nextTick=function(e){var r=new Array(arguments.length-1);if(arguments.length>1)for(var t=1;t<arguments.length;t++)r[t-1]=arguments[t];U.push(new gr(e,r)),U.length===1&&!_&&Er(Fr)};function gr(e,r){this.fun=e,this.array=r}gr.prototype.run=function(){this.fun.apply(null,this.array)};s.title="browser";s.browser=!0;s.env={};s.argv=[];s.version="";s.versions={};function T(){}s.on=T;s.addListener=T;s.once=T;s.off=T;s.removeListener=T;s.removeAllListeners=T;s.emit=T;s.prependListener=T;s.prependOnceListener=T;s.listeners=function(e){return[]};s.binding=function(e){throw new Error("process.binding is not supported")};s.cwd=function(){return"/"};s.chdir=function(e){throw new Error("process.chdir is not supported")};s.umask=function(){return 0}});var M,k,yt,F=Sr(()=>{M=rr(mr()),k=rr(Br()),yt=function(e){function r(){var n=this||self;return delete e.prototype.__magic__,n}if(typeof globalThis=="object")return globalThis;if(this)return r();e.defineProperty(e.prototype,"__magic__",{configurable:!0,get:r});var t=__magic__;return t}(Object)});F();
2
2
  /*!
3
3
  * The buffer module from node.js, for the browser.
4
4
  *