@wormhole-foundation/wormhole-connect 3.0.2-beta.0-development → 3.0.2-beta.1-development

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 (290) hide show
  1. package/README.md +1 -1
  2. package/dist/assets/{basic-ChNCp6rI.js → basic-PUjrTVXb.js} +1 -1
  3. package/dist/assets/{evm-DSirgd5b.js → evm-CO5UWnAY.js} +2 -2
  4. package/dist/assets/{index-L-lC4rqb.js → index-1lzfHdT2.js} +1 -1
  5. package/dist/assets/{index-CHfaLf5J.js → index-DBVZDYF7.js} +1 -1
  6. package/dist/assets/index-DKlPX3ZI.js +1 -0
  7. package/dist/assets/{index-BtCrMDAu.js → index-Ddk7n7Ti.js} +1 -1
  8. package/dist/assets/{index-HhyysXFu.js → index-DyUmO4PR.js} +1 -1
  9. package/dist/assets/{index-BiwA3Bbq.js → index-MMzKxP1N.js} +1 -1
  10. package/dist/assets/{secp256k1-Cd7rIav0.js → secp256k1-0LtSM2L1.js} +1 -1
  11. package/dist/assets/{secp256k1-BQBOR8e3.js → secp256k1-DwTU3j1N.js} +1 -1
  12. package/dist/assets/{solana-DcwLWeKT.js → solana-DlGdMBSL.js} +4 -4
  13. package/dist/assets/{w3m-modal-DdptuLHe.js → w3m-modal-DD9Jgepz.js} +1 -1
  14. package/dist/main.js +72 -70
  15. package/dist/src/AppRouter.d.ts.map +1 -1
  16. package/dist/src/config/mainnet/tokens.d.ts.map +1 -1
  17. package/dist/src/config/testnet/tokens.d.ts.map +1 -1
  18. package/dist/src/config/tokens.d.ts +1 -1
  19. package/dist/src/config/tokens.d.ts.map +1 -1
  20. package/dist/src/exports/index.d.ts +2 -2
  21. package/dist/src/exports/index.d.ts.map +1 -1
  22. package/dist/src/hooks/useFetchQuotes.d.ts.map +1 -1
  23. package/dist/src/icons/Chains/PLUME.d.ts.map +1 -1
  24. package/dist/src/icons/PoweredBy.d.ts.map +1 -1
  25. package/dist/src/icons/Routing.d.ts +5 -0
  26. package/dist/src/icons/Routing.d.ts.map +1 -0
  27. package/dist/src/icons/Tokens/PLUME.d.ts.map +1 -1
  28. package/dist/src/store/transferInput.d.ts +1 -1
  29. package/dist/src/store/transferInput.d.ts.map +1 -1
  30. package/dist/src/utils/coingecko.d.ts.map +1 -1
  31. package/dist/src/utils/formatNumber.d.ts +23 -0
  32. package/dist/src/utils/formatNumber.d.ts.map +1 -0
  33. package/dist/src/utils/index.d.ts +3 -1
  34. package/dist/src/utils/index.d.ts.map +1 -1
  35. package/dist/src/utils/routes.d.ts +12 -0
  36. package/dist/src/utils/routes.d.ts.map +1 -0
  37. package/dist/src/views/v2/Bridge/AmountInput/index.d.ts.map +1 -1
  38. package/dist/src/views/v2/Bridge/AssetPicker/TokenItem.d.ts.map +1 -1
  39. package/dist/src/views/v2/Bridge/Routes/SingleRoute.d.ts.map +1 -1
  40. package/dist/src/views/v2/Redeem/TransactionDetails/index.d.ts.map +1 -1
  41. package/dist/src/views/v3/Bridge/AmountInput/index.d.ts.map +1 -1
  42. package/dist/src/views/v3/Bridge/AssetPicker/TokenItem.d.ts.map +1 -1
  43. package/dist/src/views/v3/Bridge/AssetPicker/index.d.ts.map +1 -1
  44. package/dist/src/views/v3/Bridge/GasSlider/index.d.ts.map +1 -1
  45. package/dist/src/views/v3/Bridge/Routes/Eta.d.ts +6 -0
  46. package/dist/src/views/v3/Bridge/Routes/Eta.d.ts.map +1 -0
  47. package/dist/src/views/v3/Bridge/Routes/RouteBadge.d.ts.map +1 -1
  48. package/dist/src/views/v3/Bridge/Routes/RoutesBottomSheet.d.ts +7 -6
  49. package/dist/src/views/v3/Bridge/Routes/RoutesBottomSheet.d.ts.map +1 -1
  50. package/dist/src/views/v3/Bridge/Routes/RoutesLink.d.ts +7 -0
  51. package/dist/src/views/v3/Bridge/Routes/RoutesLink.d.ts.map +1 -0
  52. package/dist/src/views/v3/Bridge/Routes/RoutesList.d.ts +2 -1
  53. package/dist/src/views/v3/Bridge/Routes/RoutesList.d.ts.map +1 -1
  54. package/dist/src/views/v3/Bridge/Routes/RoutesLoader.d.ts +4 -0
  55. package/dist/src/views/v3/Bridge/Routes/RoutesLoader.d.ts.map +1 -0
  56. package/dist/src/views/v3/Bridge/Routes/RoutesModal.d.ts +6 -5
  57. package/dist/src/views/v3/Bridge/Routes/RoutesModal.d.ts.map +1 -1
  58. package/dist/src/views/v3/Bridge/Routes/SingleRoute.d.ts +1 -0
  59. package/dist/src/views/v3/Bridge/Routes/SingleRoute.d.ts.map +1 -1
  60. package/dist/src/views/v3/Bridge/Routes/index.d.ts.map +1 -1
  61. package/dist/src/views/v3/Redeem/TransactionDetails/index.d.ts.map +1 -1
  62. package/lib/account-Br8E7RB6.js +1 -0
  63. package/lib/{account-BTK2b2Fv.mjs → account-CVa_3S2g.mjs} +1 -1
  64. package/lib/{address-8wLqn60W.mjs → address-BApwdEpr.mjs} +96 -96
  65. package/lib/address-BwQqFkyh.js +1 -0
  66. package/lib/address-C2pxq9b2.js +1 -0
  67. package/lib/{address-n0gAFMrZ.mjs → address-f6joE_ig.mjs} +12 -12
  68. package/lib/aptos-CMRGggVs.js +2 -0
  69. package/lib/{aptos-CK-j196x.js → aptos-CTKQNmlP.js} +1 -1
  70. package/lib/{aptos-B-DJQlwt.mjs → aptos-CfFbx7uf.mjs} +9 -9
  71. package/lib/{aptos-Bwcz9wZX.mjs → aptos-fozuppXh.mjs} +3 -3
  72. package/lib/{basic-DHWVLmCq.mjs → basic-BA2aRJJn.mjs} +2 -2
  73. package/lib/{basic-B5ZFelC_.js → basic-DUWaF2I0.js} +1 -1
  74. package/lib/{basic-E2M-9h1u.js → basic-DeiUayOA.js} +1 -1
  75. package/lib/{basic-Pour9Ggp.mjs → basic-DoC8u7J8.mjs} +2 -2
  76. package/lib/{blake2b-C5HyObld.mjs → blake2b-BGxWUAjG.mjs} +23 -23
  77. package/lib/blake2b-Fj1aPKgL.js +1 -0
  78. package/lib/{browser-ponyfill-jK8MKVVg.mjs → browser-ponyfill-D5AN8ZPp.mjs} +1 -1
  79. package/lib/browser-ponyfill-Dn6gsMYK.js +2 -0
  80. package/lib/{chain-Bm6u6eUF.mjs → chain-DAw2I5H8.mjs} +1 -1
  81. package/lib/chain-DnPXlO8g.js +1 -0
  82. package/lib/chunk-KJH4KKG6-BjF7YUcU.js +470 -0
  83. package/lib/{chunk-KJH4KKG6-DJsu-Y-X.mjs → chunk-KJH4KKG6-DmVjhXO7.mjs} +144 -144
  84. package/lib/{constants-Cf2YMjNo.js → constants-BtNs_2F4.js} +1 -1
  85. package/lib/{constants-B7AbX6qr.mjs → constants-Dcc2nVaW.mjs} +3 -3
  86. package/lib/contract-BEHYQLvJ.js +1 -0
  87. package/lib/{contract-llnN6ki0.mjs → contract-BkMAZomO.mjs} +123 -123
  88. package/lib/{core-CF5c7Vev.mjs → core-BHV42Qa0.mjs} +25 -26
  89. package/lib/core-CV23yxnG.js +889 -0
  90. package/lib/create-CHcGblj6.js +1 -0
  91. package/lib/{create-Dm87_0zG.mjs → create-CKLtL7hr.mjs} +1 -1
  92. package/lib/{evm-BYIGg8e4.mjs → evm-Bf7qbM19.mjs} +42 -42
  93. package/lib/{evm-B2hUWkt7.js → evm-ClWkquRx.js} +2 -2
  94. package/lib/{evm-fvvpk-li.mjs → evm-DhMoy8cH.mjs} +6 -6
  95. package/lib/{evm-DFNbMHoa.js → evm-tXmzU9Xp.js} +2 -2
  96. package/lib/executor.js +1 -1
  97. package/lib/executor.mjs +145 -138
  98. package/lib/hosted.js +1 -1
  99. package/lib/hosted.mjs +1 -1
  100. package/lib/{index-Cwo5AKUC.mjs → index-1rCCpdwd.mjs} +5 -5
  101. package/lib/{index-DBCa3k0j.mjs → index-3HvzWPL7.mjs} +9 -9
  102. package/lib/{index-MOwE6ses.mjs → index-B7ztYPhr.mjs} +21 -22
  103. package/lib/index-BM-0SeYB.js +1 -0
  104. package/lib/{index-DiQ8Ytrt.mjs → index-BTnpftLz.mjs} +1 -1
  105. package/lib/{index-BiCMaXJS.js → index-BWQMi6Rj.js} +1 -1
  106. package/lib/index-BbgKw2pu.js +1 -0
  107. package/lib/index-BblcpkoK.js +1 -0
  108. package/lib/index-Bfblsmud.js +1 -0
  109. package/lib/{index-C_0yAOSX.mjs → index-BfkFXEnG.mjs} +25082 -24072
  110. package/lib/{index-fi1sh8vr.mjs → index-BijBPDRn.mjs} +2 -2
  111. package/lib/index-BoquY9R2.js +337 -0
  112. package/lib/index-C2NtsO9Q.js +1 -0
  113. package/lib/{index-CNuk-XLX.mjs → index-C4JmrizV.mjs} +4 -4
  114. package/lib/index-C8TtXpOf.js +1 -0
  115. package/lib/index-CB8kOyIP.js +1 -0
  116. package/lib/index-CInVjUCW.js +1 -0
  117. package/lib/{index-BF11RebI.mjs → index-CLTklDbp.mjs} +1 -1
  118. package/lib/index-CQvgeH_r.js +1 -0
  119. package/lib/{index-DzYjoSJp.mjs → index-CUnOYRFQ.mjs} +23 -24
  120. package/lib/{index-DGh9LzN1.mjs → index-CWe_BTdo.mjs} +31 -31
  121. package/lib/{index-2Bz1Np4K.mjs → index-CZ91lJ9M.mjs} +5 -5
  122. package/lib/{index-Dgy1FO7C.js → index-CgyVnj6U.js} +1 -1
  123. package/lib/{index-BzJcFdt_.mjs → index-Clr2JjoJ.mjs} +44 -44
  124. package/lib/index-CnnCCv6Q.js +1 -0
  125. package/lib/{index-CJnRWlFf.mjs → index-CwxGLNEk.mjs} +48 -49
  126. package/lib/index-D7BLfz05.js +1 -0
  127. package/lib/index-DM7C-wvQ.js +3 -0
  128. package/lib/{index-DhIh3xiW.mjs → index-DNy_sNGr.mjs} +8 -8
  129. package/lib/{index-BZaRg0yd.mjs → index-DVcaDWmz.mjs} +1 -1
  130. package/lib/{index-CsAigASU.mjs → index-DWOP9OBp.mjs} +17 -17
  131. package/lib/{index-CTLz8Fz0.mjs → index-Dda5qc2t.mjs} +13 -14
  132. package/lib/{index-CLBXF_zH.mjs → index-DeaiBvpG.mjs} +16 -16
  133. package/lib/index-HOuGP-7b.js +1 -0
  134. package/lib/{index-Dt2uNp-N.mjs → index-KZve3tYJ.mjs} +4 -4
  135. package/lib/{index-CJDBidKv.mjs → index-SIyXqCAN.mjs} +41 -41
  136. package/lib/index-WhVYPMUr.js +1 -0
  137. package/lib/index-hmjT4xa7.js +1 -0
  138. package/lib/index-ledagFNU.js +1 -0
  139. package/lib/index-pbRVlgcN.js +1 -0
  140. package/lib/{index-BpQXUhR4.mjs → index-qK7AyMAk.mjs} +23 -27
  141. package/lib/index-ttZu99PZ.js +1 -0
  142. package/lib/{index.es-BqRBGIq6.mjs → index.es-BXRQf6Oi.mjs} +25 -26
  143. package/lib/index.es-BjGaOok5.js +11 -0
  144. package/lib/index.es-D6S74vhi.js +27 -0
  145. package/lib/{index.es-DgCZuUzB.mjs → index.es-cOw8juwf.mjs} +741 -737
  146. package/lib/index.js +1 -1
  147. package/lib/index.mjs +17 -16
  148. package/lib/mayan.js +3 -3
  149. package/lib/mayan.mjs +918 -891
  150. package/lib/mint-CL36R6ED.js +1 -0
  151. package/lib/{mint-Dc-VsiAn.mjs → mint-DunEG1jV.mjs} +32 -33
  152. package/lib/ntt.js +1 -1
  153. package/lib/ntt.mjs +2332 -2373
  154. package/lib/platform-7vCWzCny.js +1 -0
  155. package/lib/platform-BKhoO9So.js +1 -0
  156. package/lib/{platform-B95L0Vxv.mjs → platform-BN6LFtXE.mjs} +16 -16
  157. package/lib/{platform-DnP_1wGA.mjs → platform-BYLu9SzP.mjs} +4 -4
  158. package/lib/platform-Bbe26nx7.js +1 -0
  159. package/lib/{platform-DiG7WY9Z.mjs → platform-DCgWqmh1.mjs} +4 -4
  160. package/lib/{provider-jsonrpc-CRABh2gN.mjs → provider-jsonrpc-Bmgnrmpy.mjs} +155 -155
  161. package/lib/provider-jsonrpc-CbtP2Ffg.js +1 -0
  162. package/lib/{secp256k1-zHHDNAlH.mjs → secp256k1-BDQEvyHq.mjs} +1 -1
  163. package/lib/{secp256k1-obBDPYM-.mjs → secp256k1-C77Oh9AA.mjs} +1 -1
  164. package/lib/{secp256k1-2hq3Jk4g.mjs → secp256k1-CCn2vlXj.mjs} +1 -1
  165. package/lib/{secp256k1-B94G4gyy.js → secp256k1-CHAR40au.js} +1 -1
  166. package/lib/{secp256k1-DCcAh19h.js → secp256k1-D-DmPYcJ.js} +1 -1
  167. package/lib/{secp256k1-CjndBUS7.js → secp256k1-DYWDlveU.js} +1 -1
  168. package/lib/{signer-N_ccpPOz.mjs → signer-BIcn81N5.mjs} +18 -18
  169. package/lib/signer-H7atraks.js +1 -0
  170. package/lib/{solana-_Ha4YgiP.mjs → solana-B0QSg7B3.mjs} +30 -30
  171. package/lib/solana-Cs5VyB20.js +900 -0
  172. package/lib/solana-uvHG8JV5.js +1 -0
  173. package/lib/solana-zyfOlbhb.mjs +18 -0
  174. package/lib/{solanaEmbed.esm-DK5RIquB.mjs → solanaEmbed.esm-BqdznDuW.mjs} +623 -622
  175. package/lib/solanaEmbed.esm-D8vtESE6.js +10 -0
  176. package/lib/src/AppRouter.d.ts.map +1 -1
  177. package/lib/src/config/mainnet/tokens.d.ts.map +1 -1
  178. package/lib/src/config/testnet/tokens.d.ts.map +1 -1
  179. package/lib/src/config/tokens.d.ts +1 -1
  180. package/lib/src/config/tokens.d.ts.map +1 -1
  181. package/lib/src/exports/index.d.ts +2 -2
  182. package/lib/src/exports/index.d.ts.map +1 -1
  183. package/lib/src/hooks/useFetchQuotes.d.ts.map +1 -1
  184. package/lib/src/icons/Chains/PLUME.d.ts.map +1 -1
  185. package/lib/src/icons/PoweredBy.d.ts.map +1 -1
  186. package/lib/src/icons/Routing.d.ts +5 -0
  187. package/lib/src/icons/Routing.d.ts.map +1 -0
  188. package/lib/src/icons/Tokens/PLUME.d.ts.map +1 -1
  189. package/lib/src/store/transferInput.d.ts +1 -1
  190. package/lib/src/store/transferInput.d.ts.map +1 -1
  191. package/lib/src/utils/coingecko.d.ts.map +1 -1
  192. package/lib/src/utils/formatNumber.d.ts +23 -0
  193. package/lib/src/utils/formatNumber.d.ts.map +1 -0
  194. package/lib/src/utils/index.d.ts +3 -1
  195. package/lib/src/utils/index.d.ts.map +1 -1
  196. package/lib/src/utils/routes.d.ts +12 -0
  197. package/lib/src/utils/routes.d.ts.map +1 -0
  198. package/lib/src/views/v2/Bridge/AmountInput/index.d.ts.map +1 -1
  199. package/lib/src/views/v2/Bridge/AssetPicker/TokenItem.d.ts.map +1 -1
  200. package/lib/src/views/v2/Bridge/Routes/SingleRoute.d.ts.map +1 -1
  201. package/lib/src/views/v2/Redeem/TransactionDetails/index.d.ts.map +1 -1
  202. package/lib/src/views/v3/Bridge/AmountInput/index.d.ts.map +1 -1
  203. package/lib/src/views/v3/Bridge/AssetPicker/TokenItem.d.ts.map +1 -1
  204. package/lib/src/views/v3/Bridge/AssetPicker/index.d.ts.map +1 -1
  205. package/lib/src/views/v3/Bridge/GasSlider/index.d.ts.map +1 -1
  206. package/lib/src/views/v3/Bridge/Routes/Eta.d.ts +6 -0
  207. package/lib/src/views/v3/Bridge/Routes/Eta.d.ts.map +1 -0
  208. package/lib/src/views/v3/Bridge/Routes/RouteBadge.d.ts.map +1 -1
  209. package/lib/src/views/v3/Bridge/Routes/RoutesBottomSheet.d.ts +7 -6
  210. package/lib/src/views/v3/Bridge/Routes/RoutesBottomSheet.d.ts.map +1 -1
  211. package/lib/src/views/v3/Bridge/Routes/RoutesLink.d.ts +7 -0
  212. package/lib/src/views/v3/Bridge/Routes/RoutesLink.d.ts.map +1 -0
  213. package/lib/src/views/v3/Bridge/Routes/RoutesList.d.ts +2 -1
  214. package/lib/src/views/v3/Bridge/Routes/RoutesList.d.ts.map +1 -1
  215. package/lib/src/views/v3/Bridge/Routes/RoutesLoader.d.ts +4 -0
  216. package/lib/src/views/v3/Bridge/Routes/RoutesLoader.d.ts.map +1 -0
  217. package/lib/src/views/v3/Bridge/Routes/RoutesModal.d.ts +6 -5
  218. package/lib/src/views/v3/Bridge/Routes/RoutesModal.d.ts.map +1 -1
  219. package/lib/src/views/v3/Bridge/Routes/SingleRoute.d.ts +1 -0
  220. package/lib/src/views/v3/Bridge/Routes/SingleRoute.d.ts.map +1 -1
  221. package/lib/src/views/v3/Bridge/Routes/index.d.ts.map +1 -1
  222. package/lib/src/views/v3/Redeem/TransactionDetails/index.d.ts.map +1 -1
  223. package/lib/{sui-CQcQ6w_P.mjs → sui-B38DyOqM.mjs} +44 -44
  224. package/lib/{sui-BplKFZQu.mjs → sui-BpfnZR4f.mjs} +3 -3
  225. package/lib/sui-CT9MWY38.js +1 -0
  226. package/lib/{sui-_hvmCvD8.js → sui-DXQAMRQJ.js} +1 -1
  227. package/lib/{tokens-DNv0ZNvU.js → tokens-CmINcwKk.js} +31 -31
  228. package/lib/{tokens-Dl4YwW18.mjs → tokens-YxAPPVy3.mjs} +1726 -1724
  229. package/lib/transfer-BQ72fByU.js +1 -0
  230. package/lib/transfer-bTW0j9yh.mjs +58 -0
  231. package/lib/units-Ckije3Qv.js +1 -0
  232. package/lib/{units-DPWUSE6J.mjs → units-CtyvuzxQ.mjs} +13 -13
  233. package/lib/unsignedTransaction-C6Qp42VS.js +1 -0
  234. package/lib/{unsignedTransaction-DwcUilyN.mjs → unsignedTransaction-CXB-QCUC.mjs} +18 -18
  235. package/lib/{w3m-modal-BJILsxDp.mjs → w3m-modal-B7LUHLWC.mjs} +2 -2
  236. package/lib/{w3m-modal-D4CpFxO2.mjs → w3m-modal-BOTzBqbc.mjs} +2 -2
  237. package/lib/{w3m-modal-CrfHWSrF.js → w3m-modal-BTb03-7B.js} +1 -1
  238. package/lib/{w3m-modal-CBG2MSPp.js → w3m-modal-xmdf4r6V.js} +1 -1
  239. package/lib/web3-COTIsLs8.js +22 -0
  240. package/lib/{address-B-XN4tFw.mjs → web3-DYVeiqSa.mjs} +6599 -6576
  241. package/package.json +32 -32
  242. package/dist/assets/index-BWPgrXHs.js +0 -1
  243. package/lib/account-cRt2xMoW.js +0 -1
  244. package/lib/address-BGujeWtN.js +0 -22
  245. package/lib/address-C7DIAk4M.js +0 -1
  246. package/lib/address-KNhRm6oe.js +0 -1
  247. package/lib/aptos-f5TqmvqV.js +0 -2
  248. package/lib/blake2b-B-MRXUPb.js +0 -1
  249. package/lib/browser-ponyfill-CE6vRkjp.js +0 -2
  250. package/lib/chain-Hsn22HAP.js +0 -1
  251. package/lib/chunk-KJH4KKG6-CoyI75Ig.js +0 -470
  252. package/lib/contract-D2fTrJgn.js +0 -1
  253. package/lib/core-v0G9f7LX.js +0 -889
  254. package/lib/create-DoZZ7ciL.js +0 -1
  255. package/lib/index-B8-KKWD-.js +0 -1
  256. package/lib/index-BHbvgOMD.js +0 -1
  257. package/lib/index-BHfUgvSV.js +0 -1
  258. package/lib/index-BTKC7Hou.js +0 -1
  259. package/lib/index-BWXglAWd.js +0 -1
  260. package/lib/index-Bpp8C4u8.js +0 -1
  261. package/lib/index-CF2fHBHJ.js +0 -3
  262. package/lib/index-CTPz98nv.js +0 -1
  263. package/lib/index-ClMoiji-.js +0 -1
  264. package/lib/index-ClsVcH6F.js +0 -1
  265. package/lib/index-CqOI6LVu.js +0 -1
  266. package/lib/index-DCz_4mcz.js +0 -1
  267. package/lib/index-DKksdvND.js +0 -335
  268. package/lib/index-DRv3ZpVL.js +0 -1
  269. package/lib/index-DYqo8IhM.js +0 -1
  270. package/lib/index-DZubce9o.js +0 -1
  271. package/lib/index-DprM_IpB.js +0 -1
  272. package/lib/index-DshEQYMA.js +0 -1
  273. package/lib/index-JrM783SN.js +0 -1
  274. package/lib/index.es-C6YhioMN.js +0 -27
  275. package/lib/index.es-D3Xxxr8I.js +0 -11
  276. package/lib/mint-DlXC3sGi.js +0 -1
  277. package/lib/platform-B1XoDKoN.js +0 -1
  278. package/lib/platform-COuZC5Zc.js +0 -1
  279. package/lib/platform-NG3efAb2.js +0 -1
  280. package/lib/provider-jsonrpc-pXNHQF7n.js +0 -1
  281. package/lib/signer-CCa6npZ3.js +0 -1
  282. package/lib/solana-BJ3aReZw.mjs +0 -18
  283. package/lib/solana-BwyVgP30.js +0 -1
  284. package/lib/solana-CanFuMgA.js +0 -900
  285. package/lib/solanaEmbed.esm-C--1F7Lx.js +0 -10
  286. package/lib/sui-Bs83Gy5Z.js +0 -1
  287. package/lib/units-BvcKDiAx.js +0 -1
  288. package/lib/unsignedTransaction-dN_5EJf5.js +0 -1
  289. package/lib/web3-Bu_6UejS.mjs +0 -67
  290. package/lib/web3-Doz_0RHD.js +0 -1
@@ -1,11 +1,12 @@
1
- import { g as Kt, r as Ct, dF as Nt, d as Ie, c as kt, P as so } from "./address-B-XN4tFw.mjs";
2
- import { e as yn, b as Sl, r as vl } from "./index-C_0yAOSX.mjs";
1
+ import { g as Kt, b as Ct, dI as Nt, d as Ie, c as kt, P as so } from "./web3-DYVeiqSa.mjs";
2
+ import { a as nr, e as Sl, b as vl } from "./index-BfkFXEnG.mjs";
3
+ import { i as Al } from "./index.es-cOw8juwf.mjs";
3
4
  import "./index-CuHybtft.mjs";
4
5
  var it = {}, ht = {}, As = hn;
5
6
  hn.default = hn;
6
7
  hn.stable = Ts;
7
8
  hn.stableStringify = Ts;
8
- var Zn = "[...]", Rs = "[Circular]", Tt = [], vt = [];
9
+ var Yn = "[...]", Rs = "[Circular]", Tt = [], vt = [];
9
10
  function Is() {
10
11
  return {
11
12
  depthLimit: Number.MAX_SAFE_INTEGER,
@@ -41,11 +42,11 @@ function si(e, t, n, r, i, o, s) {
41
42
  return;
42
43
  }
43
44
  if (typeof s.depthLimit < "u" && o > s.depthLimit) {
44
- Wt(Zn, e, t, i);
45
+ Wt(Yn, e, t, i);
45
46
  return;
46
47
  }
47
48
  if (typeof s.edgesLimit < "u" && n + 1 > s.edgesLimit) {
48
- Wt(Zn, e, t, i);
49
+ Wt(Yn, e, t, i);
49
50
  return;
50
51
  }
51
52
  if (r.push(e), Array.isArray(e))
@@ -61,7 +62,7 @@ function si(e, t, n, r, i, o, s) {
61
62
  r.pop();
62
63
  }
63
64
  }
64
- function Al(e, t) {
65
+ function Rl(e, t) {
65
66
  return e < t ? -1 : e > t ? 1 : 0;
66
67
  }
67
68
  function Ts(e, t, n, r) {
@@ -95,18 +96,18 @@ function ai(e, t, n, r, i, o, s) {
95
96
  return;
96
97
  }
97
98
  if (typeof s.depthLimit < "u" && o > s.depthLimit) {
98
- Wt(Zn, e, t, i);
99
+ Wt(Yn, e, t, i);
99
100
  return;
100
101
  }
101
102
  if (typeof s.edgesLimit < "u" && n + 1 > s.edgesLimit) {
102
- Wt(Zn, e, t, i);
103
+ Wt(Yn, e, t, i);
103
104
  return;
104
105
  }
105
106
  if (r.push(e), Array.isArray(e))
106
107
  for (a = 0; a < e.length; a++)
107
108
  ai(e[a], a, a, r, e, o, s);
108
109
  else {
109
- var f = {}, u = Object.keys(e).sort(Al);
110
+ var f = {}, u = Object.keys(e).sort(Rl);
110
111
  for (a = 0; a < u.length; a++) {
111
112
  var g = u[a];
112
113
  ai(e[g], g, a, r, e, o, s), f[g] = e[g];
@@ -134,10 +135,10 @@ function xs(e) {
134
135
  return e.call(this, t, n);
135
136
  };
136
137
  }
137
- const Rl = /* @__PURE__ */ Kt(As);
138
+ const Il = /* @__PURE__ */ Kt(As);
138
139
  Object.defineProperty(ht, "__esModule", { value: !0 });
139
140
  ht.EthereumProviderError = ht.EthereumRpcError = void 0;
140
- const Il = As;
141
+ const Tl = As;
141
142
  class Os extends Error {
142
143
  constructor(t, n, r) {
143
144
  if (!Number.isInteger(t))
@@ -161,26 +162,26 @@ class Os extends Error {
161
162
  * any circular references.
162
163
  */
163
164
  toString() {
164
- return Il.default(this.serialize(), Ol, 2);
165
+ return Tl.default(this.serialize(), Cl, 2);
165
166
  }
166
167
  }
167
168
  ht.EthereumRpcError = Os;
168
- class Tl extends Os {
169
+ class xl extends Os {
169
170
  /**
170
171
  * Create an Ethereum Provider JSON-RPC error.
171
172
  * `code` must be an integer in the 1000 <= 4999 range.
172
173
  */
173
174
  constructor(t, n, r) {
174
- if (!xl(t))
175
+ if (!Ol(t))
175
176
  throw new Error('"code" must be an integer such that: 1000 <= code <= 4999');
176
177
  super(t, n, r);
177
178
  }
178
179
  }
179
- ht.EthereumProviderError = Tl;
180
- function xl(e) {
180
+ ht.EthereumProviderError = xl;
181
+ function Ol(e) {
181
182
  return Number.isInteger(e) && e >= 1e3 && e <= 4999;
182
183
  }
183
- function Ol(e, t) {
184
+ function Cl(e, t) {
184
185
  if (t !== "[Circular]")
185
186
  return t;
186
187
  }
@@ -479,7 +480,7 @@ function gn(e) {
479
480
  return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
480
481
  }, gn(e);
481
482
  }
482
- function Cl(e, t) {
483
+ function Nl(e, t) {
483
484
  if (gn(e) != "object" || !e) return e;
484
485
  var n = e[Symbol.toPrimitive];
485
486
  if (n !== void 0) {
@@ -489,12 +490,12 @@ function Cl(e, t) {
489
490
  }
490
491
  return (t === "string" ? String : Number)(e);
491
492
  }
492
- function Nl(e) {
493
- var t = Cl(e, "string");
493
+ function Pl(e) {
494
+ var t = Nl(e, "string");
494
495
  return gn(t) == "symbol" ? t : t + "";
495
496
  }
496
497
  function G(e, t, n) {
497
- return (t = Nl(t)) in e ? Object.defineProperty(e, t, {
498
+ return (t = Pl(t)) in e ? Object.defineProperty(e, t, {
498
499
  value: n,
499
500
  enumerable: !0,
500
501
  configurable: !0,
@@ -523,7 +524,7 @@ function je(e) {
523
524
  return e;
524
525
  }
525
526
  var Ps = { exports: {} }, $r = { exports: {} };
526
- let Pl = class extends Error {
527
+ let Ll = class extends Error {
527
528
  constructor(t) {
528
529
  if (!Array.isArray(t))
529
530
  throw new TypeError(`Expected input to be an Array, got ${typeof t}`);
@@ -535,7 +536,7 @@ let Pl = class extends Error {
535
536
  }
536
537
  };
537
538
  var he = {
538
- AggregateError: Pl,
539
+ AggregateError: Ll,
539
540
  ArrayIsArray(e) {
540
541
  return Array.isArray(e);
541
542
  },
@@ -660,7 +661,7 @@ var he = {
660
661
  }
661
662
  }
662
663
  };
663
- const { format: Ll, inspect: Jn } = Ms, { AggregateError: Ml } = he, Bl = globalThis.AggregateError || Ml, $l = Symbol("kIsNodeError"), Dl = [
664
+ const { format: Ml, inspect: Zn } = Ms, { AggregateError: Bl } = he, $l = globalThis.AggregateError || Bl, Dl = Symbol("kIsNodeError"), jl = [
664
665
  "string",
665
666
  "function",
666
667
  "number",
@@ -671,7 +672,7 @@ const { format: Ll, inspect: Jn } = Ms, { AggregateError: Ml } = he, Bl = global
671
672
  "boolean",
672
673
  "bigint",
673
674
  "symbol"
674
- ], jl = /^([A-Z][a-z0-9]*)+$/, kl = "__node_internal_", ir = {};
675
+ ], kl = /^([A-Z][a-z0-9]*)+$/, Wl = "__node_internal_", ir = {};
675
676
  function Rt(e, t) {
676
677
  if (!e)
677
678
  throw new ir.ERR_INTERNAL_ASSERTION(t);
@@ -683,7 +684,7 @@ function lo(e) {
683
684
  t = `_${e.slice(n - 3, n)}${t}`;
684
685
  return `${e.slice(0, n)}${t}`;
685
686
  }
686
- function Wl(e, t, n) {
687
+ function Ul(e, t, n) {
687
688
  if (typeof t == "function")
688
689
  return Rt(
689
690
  t.length <= n.length,
@@ -694,13 +695,13 @@ function Wl(e, t, n) {
694
695
  return Rt(
695
696
  r === n.length,
696
697
  `Code: ${e}; The provided arguments length (${n.length}) does not match the required ones (${r}).`
697
- ), n.length === 0 ? t : Ll(t, ...n);
698
+ ), n.length === 0 ? t : Ml(t, ...n);
698
699
  }
699
700
  function Ee(e, t, n) {
700
701
  n || (n = Error);
701
702
  class r extends n {
702
703
  constructor(...o) {
703
- super(Wl(e, t, o));
704
+ super(Ul(e, t, o));
704
705
  }
705
706
  toString() {
706
707
  return `${this.name} [${e}]: ${this.message}`;
@@ -721,24 +722,24 @@ function Ee(e, t, n) {
721
722
  enumerable: !1,
722
723
  configurable: !0
723
724
  }
724
- }), r.prototype.code = e, r.prototype[$l] = !0, ir[e] = r;
725
+ }), r.prototype.code = e, r.prototype[Dl] = !0, ir[e] = r;
725
726
  }
726
727
  function uo(e) {
727
- const t = kl + e.name;
728
+ const t = Wl + e.name;
728
729
  return Object.defineProperty(e, "name", {
729
730
  value: t
730
731
  }), e;
731
732
  }
732
- function Ul(e, t) {
733
+ function Fl(e, t) {
733
734
  if (e && t && e !== t) {
734
735
  if (Array.isArray(t.errors))
735
736
  return t.errors.push(e), t;
736
- const n = new Bl([t, e], t.message);
737
+ const n = new $l([t, e], t.message);
737
738
  return n.code = t.code, n;
738
739
  }
739
740
  return e || t;
740
741
  }
741
- let Fl = class extends Error {
742
+ let ql = class extends Error {
742
743
  constructor(t = "The operation was aborted", n = void 0) {
743
744
  if (n !== void 0 && typeof n != "object")
744
745
  throw new ir.ERR_INVALID_ARG_TYPE("options", "Object", n);
@@ -754,7 +755,7 @@ Ee(
754
755
  e.endsWith(" argument") ? r += `${e} ` : r += `"${e}" ${e.includes(".") ? "property" : "argument"} `, r += "must be ";
755
756
  const i = [], o = [], s = [];
756
757
  for (const f of t)
757
- Rt(typeof f == "string", "All expected entries have to be of type string"), Dl.includes(f) ? i.push(f.toLowerCase()) : jl.test(f) ? o.push(f) : (Rt(f !== "object", 'The value "object" should be written as "Object"'), s.push(f));
758
+ Rt(typeof f == "string", "All expected entries have to be of type string"), jl.includes(f) ? i.push(f.toLowerCase()) : kl.test(f) ? o.push(f) : (Rt(f !== "object", 'The value "object" should be written as "Object"'), s.push(f));
758
759
  if (o.length > 0) {
759
760
  const f = i.indexOf("object");
760
761
  f !== -1 && (i.splice(i, f, 1), o.push("Object"));
@@ -812,13 +813,13 @@ Ee(
812
813
  if ((a = n.constructor) !== null && a !== void 0 && a.name)
813
814
  r += `. Received an instance of ${n.constructor.name}`;
814
815
  else {
815
- const f = Jn(n, {
816
+ const f = Zn(n, {
816
817
  depth: -1
817
818
  });
818
819
  r += `. Received ${f}`;
819
820
  }
820
821
  } else {
821
- let f = Jn(n, {
822
+ let f = Zn(n, {
822
823
  colors: !1
823
824
  });
824
825
  f.length > 25 && (f = `${f.slice(0, 25)}...`), r += `. Received type ${typeof n} (${f})`;
@@ -830,7 +831,7 @@ Ee(
830
831
  Ee(
831
832
  "ERR_INVALID_ARG_VALUE",
832
833
  (e, t, n = "is invalid") => {
833
- let r = Jn(t);
834
+ let r = Zn(t);
834
835
  return r.length > 128 && (r = r.slice(0, 128) + "..."), `The ${e.includes(".") ? "property" : "argument"} '${e}' ${n}. Received ${r}`;
835
836
  },
836
837
  TypeError
@@ -880,7 +881,7 @@ Ee(
880
881
  const i = BigInt(2) ** BigInt(32);
881
882
  (n > i || n < -i) && (r = lo(r)), r += "n";
882
883
  } else
883
- r = Jn(n);
884
+ r = Zn(n);
884
885
  return `The value of "${e}" is out of range. It must be ${t}. Received ${r}`;
885
886
  },
886
887
  RangeError
@@ -897,8 +898,8 @@ Ee("ERR_STREAM_UNSHIFT_AFTER_END_EVENT", "stream.unshift() after end event", Err
897
898
  Ee("ERR_STREAM_WRITE_AFTER_END", "write after end", Error);
898
899
  Ee("ERR_UNKNOWN_ENCODING", "Unknown encoding: %s", TypeError);
899
900
  var Te = {
900
- AbortError: Fl,
901
- aggregateTwoErrors: uo(Ul),
901
+ AbortError: ql,
902
+ aggregateTwoErrors: uo(Fl),
902
903
  hideStackFrames: uo,
903
904
  codes: ir
904
905
  }, an = { exports: {} }, fo;
@@ -912,7 +913,7 @@ function pn() {
912
913
  return an.exports = e, an.exports.AbortSignal = t, an.exports.default = e, an.exports;
913
914
  }
914
915
  (function(e) {
915
- const t = Ct(), { format: n, inspect: r } = Ms, {
916
+ const t = Ct, { format: n, inspect: r } = Ms, {
916
917
  codes: { ERR_INVALID_ARG_TYPE: i }
917
918
  } = Te, { kResistStopPropagation: o, AggregateError: s, SymbolDispose: a } = he, f = globalThis.AbortSignal || pn().AbortSignal, u = globalThis.AbortController || pn().AbortController, g = Object.getPrototypeOf(async function() {
918
919
  }).constructor, p = globalThis.Blob || t.Blob, v = typeof p < "u" ? function(w) {
@@ -968,7 +969,7 @@ function pn() {
968
969
  deprecate(h, w) {
969
970
  return h;
970
971
  },
971
- addAbortListener: yn.addAbortListener || function(w, y) {
972
+ addAbortListener: nr().addAbortListener || function(w, y) {
972
973
  if (w === void 0)
973
974
  throw new i("signal", "AbortSignal", w);
974
975
  S(w, "signal"), R(y, "listener");
@@ -1010,23 +1011,23 @@ function pn() {
1010
1011
  var Pe = Ls.exports, xi = {};
1011
1012
  const {
1012
1013
  ArrayIsArray: Bs,
1013
- ArrayPrototypeIncludes: ql,
1014
- ArrayPrototypeJoin: Hl,
1015
- ArrayPrototypeMap: zl,
1014
+ ArrayPrototypeIncludes: Hl,
1015
+ ArrayPrototypeJoin: zl,
1016
+ ArrayPrototypeMap: Gl,
1016
1017
  NumberIsInteger: Oi,
1017
- NumberIsNaN: Oh,
1018
- NumberMAX_SAFE_INTEGER: Gl,
1019
- NumberMIN_SAFE_INTEGER: Vl,
1020
- NumberParseInt: Ch,
1021
- ObjectPrototypeHasOwnProperty: Kl,
1022
- RegExpPrototypeExec: Nh,
1023
- String: Yl,
1024
- StringPrototypeToUpperCase: Ph,
1025
- StringPrototypeTrim: Lh
1018
+ NumberIsNaN: Nh,
1019
+ NumberMAX_SAFE_INTEGER: Vl,
1020
+ NumberMIN_SAFE_INTEGER: Kl,
1021
+ NumberParseInt: Ph,
1022
+ ObjectPrototypeHasOwnProperty: Yl,
1023
+ RegExpPrototypeExec: Lh,
1024
+ String: Zl,
1025
+ StringPrototypeToUpperCase: Mh,
1026
+ StringPrototypeTrim: Bh
1026
1027
  } = he, {
1027
1028
  hideStackFrames: ke,
1028
- codes: { ERR_SOCKET_BAD_PORT: Mh, ERR_INVALID_ARG_TYPE: We, ERR_INVALID_ARG_VALUE: $s, ERR_OUT_OF_RANGE: qt, ERR_UNKNOWN_SIGNAL: Bh }
1029
- } = Te, { normalizeEncoding: $h } = Pe, { isAsyncFunction: Zl, isArrayBufferView: Jl } = Pe.types, Xl = ke((e, t, n = Vl, r = Gl) => {
1029
+ codes: { ERR_SOCKET_BAD_PORT: $h, ERR_INVALID_ARG_TYPE: We, ERR_INVALID_ARG_VALUE: $s, ERR_OUT_OF_RANGE: qt, ERR_UNKNOWN_SIGNAL: Dh }
1030
+ } = Te, { normalizeEncoding: jh } = Pe, { isAsyncFunction: Jl, isArrayBufferView: Xl } = Pe.types, Ql = ke((e, t, n = Kl, r = Vl) => {
1030
1031
  if (typeof e != "number") throw new We(t, "number", e);
1031
1032
  if (!Oi(e)) throw new qt(t, "an integer", e);
1032
1033
  if (e < n || e > r) throw new qt(t, `>= ${n} && <= ${r}`, e);
@@ -1049,21 +1050,21 @@ ke((e, t, n = !1) => {
1049
1050
  throw new qt(t, `>= ${r} && <= ${i}`, e);
1050
1051
  });
1051
1052
  ke((e, t, n) => {
1052
- if (!ql(n, e)) {
1053
- const i = "must be one of: " + Hl(
1054
- zl(n, (o) => typeof o == "string" ? `'${o}'` : Yl(o)),
1053
+ if (!Hl(n, e)) {
1054
+ const i = "must be one of: " + zl(
1055
+ Gl(n, (o) => typeof o == "string" ? `'${o}'` : Zl(o)),
1055
1056
  ", "
1056
1057
  );
1057
1058
  throw new $s(t, e, i);
1058
1059
  }
1059
1060
  });
1060
- function Ql(e, t) {
1061
+ function eu(e, t) {
1061
1062
  if (typeof e != "boolean") throw new We(t, "boolean", e);
1062
1063
  }
1063
1064
  function Dr(e, t, n) {
1064
- return e == null || !Kl(e, t) ? n : e[t];
1065
+ return e == null || !Yl(e, t) ? n : e[t];
1065
1066
  }
1066
- const eu = ke((e, t, n = null) => {
1067
+ const tu = ke((e, t, n = null) => {
1067
1068
  const r = Dr(n, "allowArray", !1), i = Dr(n, "allowFunction", !1);
1068
1069
  if (!Dr(n, "nullable", !1) && e === null || !r && Bs(e) || typeof e != "object" && (!i || typeof e != "function"))
1069
1070
  throw new We(t, "Object", e);
@@ -1081,29 +1082,29 @@ ke((e, t, n = 0) => {
1081
1082
  }
1082
1083
  });
1083
1084
  ke((e, t = "buffer") => {
1084
- if (!Jl(e))
1085
+ if (!Xl(e))
1085
1086
  throw new We(t, ["Buffer", "TypedArray", "DataView"], e);
1086
1087
  });
1087
- const tu = ke((e, t) => {
1088
+ const nu = ke((e, t) => {
1088
1089
  if (e !== void 0 && (e === null || typeof e != "object" || !("aborted" in e)))
1089
1090
  throw new We(t, "AbortSignal", e);
1090
- }), nu = ke((e, t) => {
1091
+ }), ru = ke((e, t) => {
1091
1092
  if (typeof e != "function") throw new We(t, "Function", e);
1092
1093
  });
1093
1094
  ke((e, t) => {
1094
- if (typeof e != "function" || Zl(e)) throw new We(t, "Function", e);
1095
+ if (typeof e != "function" || Jl(e)) throw new We(t, "Function", e);
1095
1096
  });
1096
1097
  ke((e, t) => {
1097
1098
  if (e !== void 0) throw new We(t, "undefined", e);
1098
1099
  });
1099
- var _n = {
1100
- validateBoolean: Ql,
1101
- validateFunction: nu,
1102
- validateInteger: Xl,
1103
- validateObject: eu,
1104
- validateAbortSignal: tu
1100
+ var yn = {
1101
+ validateBoolean: eu,
1102
+ validateFunction: ru,
1103
+ validateInteger: Ql,
1104
+ validateObject: tu,
1105
+ validateAbortSignal: nu
1105
1106
  }, Ci = { exports: {} };
1106
- const { SymbolAsyncIterator: co, SymbolIterator: ho, SymbolFor: Pt } = he, Ds = Pt("nodejs.stream.destroyed"), ru = Pt("nodejs.stream.errored"), go = Pt("nodejs.stream.readable"), po = Pt("nodejs.stream.writable"), iu = Pt("nodejs.stream.disturbed"), ou = Pt("nodejs.webstream.isClosedPromise"), su = Pt("nodejs.webstream.controllerErrorFunction");
1107
+ const { SymbolAsyncIterator: co, SymbolIterator: ho, SymbolFor: Pt } = he, Ds = Pt("nodejs.stream.destroyed"), iu = Pt("nodejs.stream.errored"), go = Pt("nodejs.stream.readable"), po = Pt("nodejs.stream.writable"), ou = Pt("nodejs.stream.disturbed"), su = Pt("nodejs.webstream.isClosedPromise"), au = Pt("nodejs.webstream.controllerErrorFunction");
1107
1108
  function Ni(e, t = !1) {
1108
1109
  var n;
1109
1110
  return !!(e && typeof e.pipe == "function" && typeof e.on == "function" && (!t || typeof e.pause == "function" && typeof e.resume == "function") && (!e._writableState || ((n = e._readableState) === null || n === void 0 ? void 0 : n.readable) !== !1) && // Duplex
@@ -1113,7 +1114,7 @@ function or(e) {
1113
1114
  var t;
1114
1115
  return !!(e && typeof e.write == "function" && typeof e.on == "function" && (!e._readableState || ((t = e._writableState) === null || t === void 0 ? void 0 : t.writable) !== !1));
1115
1116
  }
1116
- function au(e) {
1117
+ function lu(e) {
1117
1118
  return !!(e && typeof e.pipe == "function" && e._readableState && typeof e.on == "function" && typeof e.write == "function");
1118
1119
  }
1119
1120
  function Ze(e) {
@@ -1128,10 +1129,10 @@ function ks(e) {
1128
1129
  function Ws(e) {
1129
1130
  return !!(e && !Ze(e) && typeof e.readable == "object" && typeof e.writable == "object");
1130
1131
  }
1131
- function lu(e) {
1132
+ function uu(e) {
1132
1133
  return js(e) || ks(e) || Ws(e);
1133
1134
  }
1134
- function uu(e, t) {
1135
+ function fu(e, t) {
1135
1136
  return e == null ? !1 : t === !0 ? typeof e[co] == "function" : t === !1 ? typeof e[ho] == "function" : typeof e[co] == "function" || typeof e[ho] == "function";
1136
1137
  }
1137
1138
  function sr(e) {
@@ -1139,13 +1140,13 @@ function sr(e) {
1139
1140
  const t = e._writableState, n = e._readableState, r = t || n;
1140
1141
  return !!(e.destroyed || e[Ds] || r != null && r.destroyed);
1141
1142
  }
1142
- function fu(e) {
1143
+ function du(e) {
1143
1144
  if (!or(e)) return null;
1144
1145
  if (e.writableEnded === !0) return !0;
1145
1146
  const t = e._writableState;
1146
1147
  return t != null && t.errored ? !1 : typeof (t == null ? void 0 : t.ended) != "boolean" ? null : t.ended;
1147
1148
  }
1148
- function du(e, t) {
1149
+ function cu(e, t) {
1149
1150
  if (!or(e)) return null;
1150
1151
  if (e.writableFinished === !0) return !0;
1151
1152
  const n = e._writableState;
@@ -1160,20 +1161,20 @@ function Fs(e) {
1160
1161
  return e && e[go] != null ? e[go] : typeof (e == null ? void 0 : e.readable) != "boolean" ? null : sr(e) ? !1 : Ni(e) && e.readable && !Us(e);
1161
1162
  }
1162
1163
  function qs(e) {
1163
- return e && e[po] != null ? e[po] : typeof (e == null ? void 0 : e.writable) != "boolean" ? null : sr(e) ? !1 : or(e) && e.writable && !fu(e);
1164
+ return e && e[po] != null ? e[po] : typeof (e == null ? void 0 : e.writable) != "boolean" ? null : sr(e) ? !1 : or(e) && e.writable && !du(e);
1164
1165
  }
1165
- function cu(e, t) {
1166
+ function hu(e, t) {
1166
1167
  return Ze(e) ? sr(e) ? !0 : !((t == null ? void 0 : t.readable) !== !1 && Fs(e) || (t == null ? void 0 : t.writable) !== !1 && qs(e)) : null;
1167
1168
  }
1168
- function hu(e) {
1169
+ function gu(e) {
1169
1170
  var t, n;
1170
1171
  return Ze(e) ? e.writableErrored ? e.writableErrored : (t = (n = e._writableState) === null || n === void 0 ? void 0 : n.errored) !== null && t !== void 0 ? t : null : null;
1171
1172
  }
1172
- function gu(e) {
1173
+ function pu(e) {
1173
1174
  var t, n;
1174
1175
  return Ze(e) ? e.readableErrored ? e.readableErrored : (t = (n = e._readableState) === null || n === void 0 ? void 0 : n.errored) !== null && t !== void 0 ? t : null : null;
1175
1176
  }
1176
- function pu(e) {
1177
+ function bu(e) {
1177
1178
  if (!Ze(e))
1178
1179
  return null;
1179
1180
  if (typeof e.closed == "boolean")
@@ -1184,85 +1185,85 @@ function pu(e) {
1184
1185
  function Hs(e) {
1185
1186
  return typeof e._closed == "boolean" && typeof e._defaultKeepAlive == "boolean" && typeof e._removedConnection == "boolean" && typeof e._removedContLen == "boolean";
1186
1187
  }
1187
- function bu(e) {
1188
+ function wu(e) {
1188
1189
  return typeof e._sent100 == "boolean" && Hs(e);
1189
1190
  }
1190
- function wu(e) {
1191
+ function yu(e) {
1191
1192
  var t;
1192
1193
  return typeof e._consuming == "boolean" && typeof e._dumped == "boolean" && ((t = e.req) === null || t === void 0 ? void 0 : t.upgradeOrConnect) === void 0;
1193
1194
  }
1194
- function yu(e) {
1195
+ function _u(e) {
1195
1196
  if (!Ze(e)) return null;
1196
1197
  const t = e._writableState, n = e._readableState, r = t || n;
1197
- return !r && bu(e) || !!(r && r.autoDestroy && r.emitClose && r.closed === !1);
1198
+ return !r && wu(e) || !!(r && r.autoDestroy && r.emitClose && r.closed === !1);
1198
1199
  }
1199
- function _u(e) {
1200
+ function mu(e) {
1200
1201
  var t;
1201
- return !!(e && ((t = e[iu]) !== null && t !== void 0 ? t : e.readableDidRead || e.readableAborted));
1202
+ return !!(e && ((t = e[ou]) !== null && t !== void 0 ? t : e.readableDidRead || e.readableAborted));
1202
1203
  }
1203
- function mu(e) {
1204
+ function Eu(e) {
1204
1205
  var t, n, r, i, o, s, a, f, u, g;
1205
- return !!(e && ((t = (n = (r = (i = (o = (s = e[ru]) !== null && s !== void 0 ? s : e.readableErrored) !== null && o !== void 0 ? o : e.writableErrored) !== null && i !== void 0 ? i : (a = e._readableState) === null || a === void 0 ? void 0 : a.errorEmitted) !== null && r !== void 0 ? r : (f = e._writableState) === null || f === void 0 ? void 0 : f.errorEmitted) !== null && n !== void 0 ? n : (u = e._readableState) === null || u === void 0 ? void 0 : u.errored) !== null && t !== void 0 ? t : !((g = e._writableState) === null || g === void 0) && g.errored));
1206
+ return !!(e && ((t = (n = (r = (i = (o = (s = e[iu]) !== null && s !== void 0 ? s : e.readableErrored) !== null && o !== void 0 ? o : e.writableErrored) !== null && i !== void 0 ? i : (a = e._readableState) === null || a === void 0 ? void 0 : a.errorEmitted) !== null && r !== void 0 ? r : (f = e._writableState) === null || f === void 0 ? void 0 : f.errorEmitted) !== null && n !== void 0 ? n : (u = e._readableState) === null || u === void 0 ? void 0 : u.errored) !== null && t !== void 0 ? t : !((g = e._writableState) === null || g === void 0) && g.errored));
1206
1207
  }
1207
1208
  var at = {
1208
1209
  isDestroyed: sr,
1209
1210
  kIsDestroyed: Ds,
1210
- isDisturbed: _u,
1211
- isErrored: mu,
1211
+ isDisturbed: mu,
1212
+ isErrored: Eu,
1212
1213
  isReadable: Fs,
1213
- kIsClosedPromise: ou,
1214
- kControllerErrorFunction: su,
1215
- isClosed: pu,
1216
- isDuplexNodeStream: au,
1217
- isFinished: cu,
1218
- isIterable: uu,
1214
+ kIsClosedPromise: su,
1215
+ kControllerErrorFunction: au,
1216
+ isClosed: bu,
1217
+ isDuplexNodeStream: lu,
1218
+ isFinished: hu,
1219
+ isIterable: fu,
1219
1220
  isReadableNodeStream: Ni,
1220
1221
  isReadableStream: js,
1221
1222
  isReadableFinished: Us,
1222
- isReadableErrored: gu,
1223
+ isReadableErrored: pu,
1223
1224
  isNodeStream: Ze,
1224
- isWebStream: lu,
1225
+ isWebStream: uu,
1225
1226
  isWritable: qs,
1226
1227
  isWritableNodeStream: or,
1227
1228
  isWritableStream: ks,
1228
- isWritableFinished: du,
1229
- isWritableErrored: hu,
1230
- isServerRequest: wu,
1231
- willEmitClose: yu,
1229
+ isWritableFinished: cu,
1230
+ isWritableErrored: gu,
1231
+ isServerRequest: yu,
1232
+ willEmitClose: _u,
1232
1233
  isTransformStream: Ws
1233
1234
  };
1234
- const dt = Nt, { AbortError: zs, codes: Eu } = Te, { ERR_INVALID_ARG_TYPE: Su, ERR_STREAM_PREMATURE_CLOSE: bo } = Eu, { kEmptyObject: li, once: ui } = Pe, { validateAbortSignal: vu, validateFunction: Au, validateObject: Ru, validateBoolean: Iu } = _n, { Promise: Tu, PromisePrototypeThen: xu, SymbolDispose: Gs } = he, {
1235
- isClosed: Ou,
1235
+ const dt = Nt, { AbortError: zs, codes: Su } = Te, { ERR_INVALID_ARG_TYPE: vu, ERR_STREAM_PREMATURE_CLOSE: bo } = Su, { kEmptyObject: li, once: ui } = Pe, { validateAbortSignal: Au, validateFunction: Ru, validateObject: Iu, validateBoolean: Tu } = yn, { Promise: xu, PromisePrototypeThen: Ou, SymbolDispose: Gs } = he, {
1236
+ isClosed: Cu,
1236
1237
  isReadable: wo,
1237
1238
  isReadableNodeStream: jr,
1238
- isReadableStream: Cu,
1239
+ isReadableStream: Nu,
1239
1240
  isReadableFinished: yo,
1240
1241
  isReadableErrored: _o,
1241
1242
  isWritable: mo,
1242
1243
  isWritableNodeStream: Eo,
1243
- isWritableStream: Nu,
1244
+ isWritableStream: Pu,
1244
1245
  isWritableFinished: So,
1245
1246
  isWritableErrored: vo,
1246
- isNodeStream: Pu,
1247
- willEmitClose: Lu,
1248
- kIsClosedPromise: Mu
1247
+ isNodeStream: Lu,
1248
+ willEmitClose: Mu,
1249
+ kIsClosedPromise: Bu
1249
1250
  } = at;
1250
1251
  let Ut;
1251
- function Bu(e) {
1252
+ function $u(e) {
1252
1253
  return e.setHeader && typeof e.abort == "function";
1253
1254
  }
1254
1255
  const fi = () => {
1255
1256
  };
1256
1257
  function Vs(e, t, n) {
1257
1258
  var r, i;
1258
- if (arguments.length === 2 ? (n = t, t = li) : t == null ? t = li : Ru(t, "options"), Au(n, "callback"), vu(t.signal, "options.signal"), n = ui(n), Cu(e) || Nu(e))
1259
- return $u(e, t, n);
1260
- if (!Pu(e))
1261
- throw new Su("stream", ["ReadableStream", "WritableStream", "Stream"], e);
1259
+ if (arguments.length === 2 ? (n = t, t = li) : t == null ? t = li : Iu(t, "options"), Ru(n, "callback"), Au(t.signal, "options.signal"), n = ui(n), Nu(e) || Pu(e))
1260
+ return Du(e, t, n);
1261
+ if (!Lu(e))
1262
+ throw new vu("stream", ["ReadableStream", "WritableStream", "Stream"], e);
1262
1263
  const o = (r = t.readable) !== null && r !== void 0 ? r : jr(e), s = (i = t.writable) !== null && i !== void 0 ? i : Eo(e), a = e._writableState, f = e._readableState, u = () => {
1263
1264
  e.writable || v();
1264
1265
  };
1265
- let g = Lu(e) && jr(e) === o && Eo(e) === s, p = So(e, !1);
1266
+ let g = Mu(e) && jr(e) === o && Eo(e) === s, p = So(e, !1);
1266
1267
  const v = () => {
1267
1268
  p = !0, e.destroyed && (g = !1), !(g && (!e.readable || o)) && (!o || S) && n.call(e);
1268
1269
  };
@@ -1272,7 +1273,7 @@ function Vs(e, t, n) {
1272
1273
  }, h = (P) => {
1273
1274
  n.call(e, P);
1274
1275
  };
1275
- let w = Ou(e);
1276
+ let w = Cu(e);
1276
1277
  const y = () => {
1277
1278
  w = !0;
1278
1279
  const P = vo(e) || _o(e);
@@ -1292,7 +1293,7 @@ function Vs(e, t, n) {
1292
1293
  }, m = () => {
1293
1294
  e.req.on("finish", v);
1294
1295
  };
1295
- Bu(e) ? (e.on("complete", v), g || e.on("abort", y), e.req ? m() : e.on("request", m)) : s && !a && (e.on("end", u), e.on("close", u)), !g && typeof e.aborted == "boolean" && e.on("aborted", y), e.on("end", R), e.on("finish", v), t.error !== !1 && e.on("error", h), e.on("close", y), w ? dt.nextTick(y) : a != null && a.errorEmitted || f != null && f.errorEmitted ? g || dt.nextTick(x) : (!o && (!g || wo(e)) && (p || mo(e) === !1) || !s && (!g || mo(e)) && (S || wo(e) === !1) || f && e.req && e.aborted) && dt.nextTick(x);
1296
+ $u(e) ? (e.on("complete", v), g || e.on("abort", y), e.req ? m() : e.on("request", m)) : s && !a && (e.on("end", u), e.on("close", u)), !g && typeof e.aborted == "boolean" && e.on("aborted", y), e.on("end", R), e.on("finish", v), t.error !== !1 && e.on("error", h), e.on("close", y), w ? dt.nextTick(y) : a != null && a.errorEmitted || f != null && f.errorEmitted ? g || dt.nextTick(x) : (!o && (!g || wo(e)) && (p || mo(e) === !1) || !s && (!g || mo(e)) && (S || wo(e) === !1) || f && e.req && e.aborted) && dt.nextTick(x);
1296
1297
  const j = () => {
1297
1298
  n = fi, e.removeListener("aborted", y), e.removeListener("complete", v), e.removeListener("abort", y), e.removeListener("request", m), e.req && e.req.removeListener("finish", v), e.removeListener("end", u), e.removeListener("close", u), e.removeListener("finish", v), e.removeListener("end", R), e.removeListener("error", h), e.removeListener("close", y);
1298
1299
  };
@@ -1318,7 +1319,7 @@ function Vs(e, t, n) {
1318
1319
  }
1319
1320
  return j;
1320
1321
  }
1321
- function $u(e, t, n) {
1322
+ function Du(e, t, n) {
1322
1323
  let r = !1, i = fi;
1323
1324
  if (t.signal)
1324
1325
  if (i = () => {
@@ -1340,32 +1341,32 @@ function $u(e, t, n) {
1340
1341
  const o = (...s) => {
1341
1342
  r || dt.nextTick(() => n.apply(e, s));
1342
1343
  };
1343
- return xu(e[Mu].promise, o, o), fi;
1344
+ return Ou(e[Bu].promise, o, o), fi;
1344
1345
  }
1345
- function Du(e, t) {
1346
+ function ju(e, t) {
1346
1347
  var n;
1347
1348
  let r = !1;
1348
- return t === null && (t = li), (n = t) !== null && n !== void 0 && n.cleanup && (Iu(t.cleanup, "cleanup"), r = t.cleanup), new Tu((i, o) => {
1349
+ return t === null && (t = li), (n = t) !== null && n !== void 0 && n.cleanup && (Tu(t.cleanup, "cleanup"), r = t.cleanup), new xu((i, o) => {
1349
1350
  const s = Vs(e, t, (a) => {
1350
1351
  r && s(), a ? o(a) : i();
1351
1352
  });
1352
1353
  });
1353
1354
  }
1354
1355
  Ci.exports = Vs;
1355
- Ci.exports.finished = Du;
1356
+ Ci.exports.finished = ju;
1356
1357
  var pt = Ci.exports;
1357
1358
  const Ke = Nt, {
1358
- aggregateTwoErrors: ju,
1359
- codes: { ERR_MULTIPLE_CALLBACK: ku },
1360
- AbortError: Wu
1361
- } = Te, { Symbol: Ks } = he, { kIsDestroyed: Uu, isDestroyed: Fu, isFinished: qu, isServerRequest: Hu } = at, Ys = Ks("kDestroy"), di = Ks("kConstruct");
1359
+ aggregateTwoErrors: ku,
1360
+ codes: { ERR_MULTIPLE_CALLBACK: Wu },
1361
+ AbortError: Uu
1362
+ } = Te, { Symbol: Ks } = he, { kIsDestroyed: Fu, isDestroyed: qu, isFinished: Hu, isServerRequest: zu } = at, Ys = Ks("kDestroy"), di = Ks("kConstruct");
1362
1363
  function Zs(e, t, n) {
1363
1364
  e && (e.stack, t && !t.errored && (t.errored = e), n && !n.errored && (n.errored = e));
1364
1365
  }
1365
- function zu(e, t) {
1366
+ function Gu(e, t) {
1366
1367
  const n = this._readableState, r = this._writableState, i = r || n;
1367
1368
  return r != null && r.destroyed || n != null && n.destroyed ? (typeof t == "function" && t(), this) : (Zs(e, r, n), r && (r.destroyed = !0), n && (n.destroyed = !0), i.constructed ? Ao(this, e, t) : this.once(Ys, function(o) {
1368
- Ao(this, ju(o, e), t);
1369
+ Ao(this, ku(o, e), t);
1369
1370
  }), this);
1370
1371
  }
1371
1372
  function Ao(e, t, n) {
@@ -1375,7 +1376,7 @@ function Ao(e, t, n) {
1375
1376
  return;
1376
1377
  r = !0;
1377
1378
  const s = e._readableState, a = e._writableState;
1378
- Zs(o, a, s), a && (a.closed = !0), s && (s.closed = !0), typeof n == "function" && n(o), o ? Ke.nextTick(Gu, e, o) : Ke.nextTick(Js, e);
1379
+ Zs(o, a, s), a && (a.closed = !0), s && (s.closed = !0), typeof n == "function" && n(o), o ? Ke.nextTick(Vu, e, o) : Ke.nextTick(Js, e);
1379
1380
  }
1380
1381
  try {
1381
1382
  e._destroy(t || null, i);
@@ -1383,7 +1384,7 @@ function Ao(e, t, n) {
1383
1384
  i(o);
1384
1385
  }
1385
1386
  }
1386
- function Gu(e, t) {
1387
+ function Vu(e, t) {
1387
1388
  ci(e, t), Js(e);
1388
1389
  }
1389
1390
  function Js(e) {
@@ -1394,7 +1395,7 @@ function ci(e, t) {
1394
1395
  const n = e._readableState, r = e._writableState;
1395
1396
  r != null && r.errorEmitted || n != null && n.errorEmitted || (r && (r.errorEmitted = !0), n && (n.errorEmitted = !0), e.emit("error", t));
1396
1397
  }
1397
- function Vu() {
1398
+ function Ku() {
1398
1399
  const e = this._readableState, t = this._writableState;
1399
1400
  e && (e.constructed = !0, e.closed = !1, e.closeEmitted = !1, e.destroyed = !1, e.errored = null, e.errorEmitted = !1, e.reading = !1, e.ended = e.readable === !1, e.endEmitted = e.readable === !1), t && (t.constructed = !0, t.destroyed = !1, t.closed = !1, t.closeEmitted = !1, t.errored = null, t.errorEmitted = !1, t.finalCalled = !1, t.prefinished = !1, t.ended = t.writable === !1, t.ending = t.writable === !1, t.finished = t.writable === !1);
1400
1401
  }
@@ -1404,22 +1405,22 @@ function hi(e, t, n) {
1404
1405
  return this;
1405
1406
  r != null && r.autoDestroy || i != null && i.autoDestroy ? e.destroy(t) : t && (t.stack, i && !i.errored && (i.errored = t), r && !r.errored && (r.errored = t), n ? Ke.nextTick(ci, e, t) : ci(e, t));
1406
1407
  }
1407
- function Ku(e, t) {
1408
+ function Yu(e, t) {
1408
1409
  if (typeof e._construct != "function")
1409
1410
  return;
1410
1411
  const n = e._readableState, r = e._writableState;
1411
- n && (n.constructed = !1), r && (r.constructed = !1), e.once(di, t), !(e.listenerCount(di) > 1) && Ke.nextTick(Yu, e);
1412
+ n && (n.constructed = !1), r && (r.constructed = !1), e.once(di, t), !(e.listenerCount(di) > 1) && Ke.nextTick(Zu, e);
1412
1413
  }
1413
- function Yu(e) {
1414
+ function Zu(e) {
1414
1415
  let t = !1;
1415
1416
  function n(r) {
1416
1417
  if (t) {
1417
- hi(e, r ?? new ku());
1418
+ hi(e, r ?? new Wu());
1418
1419
  return;
1419
1420
  }
1420
1421
  t = !0;
1421
1422
  const i = e._readableState, o = e._writableState, s = o || i;
1422
- i && (i.constructed = !0), o && (o.constructed = !0), s.destroyed ? e.emit(Ys, r) : r ? hi(e, r, !0) : Ke.nextTick(Zu, e);
1423
+ i && (i.constructed = !0), o && (o.constructed = !0), s.destroyed ? e.emit(Ys, r) : r ? hi(e, r, !0) : Ke.nextTick(Ju, e);
1423
1424
  }
1424
1425
  try {
1425
1426
  e._construct((r) => {
@@ -1429,7 +1430,7 @@ function Yu(e) {
1429
1430
  Ke.nextTick(n, r);
1430
1431
  }
1431
1432
  }
1432
- function Zu(e) {
1433
+ function Ju(e) {
1433
1434
  e.emit(di);
1434
1435
  }
1435
1436
  function Ro(e) {
@@ -1438,20 +1439,20 @@ function Ro(e) {
1438
1439
  function Xs(e) {
1439
1440
  e.emit("close");
1440
1441
  }
1441
- function Ju(e, t) {
1442
+ function Xu(e, t) {
1442
1443
  e.emit("error", t), Ke.nextTick(Xs, e);
1443
1444
  }
1444
- function Xu(e, t) {
1445
- !e || Fu(e) || (!t && !qu(e) && (t = new Wu()), Hu(e) ? (e.socket = null, e.destroy(t)) : Ro(e) ? e.abort() : Ro(e.req) ? e.req.abort() : typeof e.destroy == "function" ? e.destroy(t) : typeof e.close == "function" ? e.close() : t ? Ke.nextTick(Ju, e, t) : Ke.nextTick(Xs, e), e.destroyed || (e[Uu] = !0));
1445
+ function Qu(e, t) {
1446
+ !e || qu(e) || (!t && !Hu(e) && (t = new Uu()), zu(e) ? (e.socket = null, e.destroy(t)) : Ro(e) ? e.abort() : Ro(e.req) ? e.req.abort() : typeof e.destroy == "function" ? e.destroy(t) : typeof e.close == "function" ? e.close() : t ? Ke.nextTick(Xu, e, t) : Ke.nextTick(Xs, e), e.destroyed || (e[Fu] = !0));
1446
1447
  }
1447
1448
  var Yt = {
1448
- construct: Ku,
1449
- destroyer: Xu,
1450
- destroy: zu,
1451
- undestroy: Vu,
1449
+ construct: Yu,
1450
+ destroyer: Qu,
1451
+ destroy: Gu,
1452
+ undestroy: Ku,
1452
1453
  errorOrDestroy: hi
1453
1454
  };
1454
- const { ArrayIsArray: Qu, ObjectSetPrototypeOf: Qs } = he, { EventEmitter: ar } = yn;
1455
+ const { ArrayIsArray: ef, ObjectSetPrototypeOf: Qs } = he, { EventEmitter: ar } = nr();
1455
1456
  function lr(e) {
1456
1457
  ar.call(this, e);
1457
1458
  }
@@ -1485,7 +1486,7 @@ lr.prototype.pipe = function(e, t) {
1485
1486
  };
1486
1487
  function gi(e, t, n) {
1487
1488
  if (typeof e.prependListener == "function") return e.prependListener(t, n);
1488
- !e._events || !e._events[t] ? e.on(t, n) : Qu(e._events[t]) ? e._events[t].unshift(n) : e._events[t] = [n, e._events[t]];
1489
+ !e._events || !e._events[t] ? e.on(t, n) : ef(e._events[t]) ? e._events[t].unshift(n) : e._events[t] = [n, e._events[t]];
1489
1490
  }
1490
1491
  var Pi = {
1491
1492
  Stream: lr,
@@ -1529,8 +1530,8 @@ var Pi = {
1529
1530
  };
1530
1531
  })(ea);
1531
1532
  var ur = ea.exports;
1532
- const { StringPrototypeSlice: Io, SymbolIterator: ef, TypedArrayPrototypeSet: kn, Uint8Array: tf } = he, { Buffer: kr } = Ct(), { inspect: nf } = Pe;
1533
- var rf = class {
1533
+ const { StringPrototypeSlice: Io, SymbolIterator: tf, TypedArrayPrototypeSet: jn, Uint8Array: nf } = he, { Buffer: kr } = Ct, { inspect: rf } = Pe;
1534
+ var of = class {
1534
1535
  constructor() {
1535
1536
  this.head = null, this.tail = null, this.length = 0;
1536
1537
  }
@@ -1567,7 +1568,7 @@ var rf = class {
1567
1568
  const n = kr.allocUnsafe(t >>> 0);
1568
1569
  let r = this.head, i = 0;
1569
1570
  for (; r; )
1570
- kn(n, r.data, i), i += r.data.length, r = r.next;
1571
+ jn(n, r.data, i), i += r.data.length, r = r.next;
1571
1572
  return n;
1572
1573
  }
1573
1574
  // Consumes a specified amount of bytes or characters from the buffered data.
@@ -1582,7 +1583,7 @@ var rf = class {
1582
1583
  first() {
1583
1584
  return this.head.data;
1584
1585
  }
1585
- *[ef]() {
1586
+ *[tf]() {
1586
1587
  for (let t = this.head; t; t = t.next)
1587
1588
  yield t.data;
1588
1589
  }
@@ -1608,9 +1609,9 @@ var rf = class {
1608
1609
  do {
1609
1610
  const s = i.data;
1610
1611
  if (t > s.length)
1611
- kn(n, s, r - t), t -= s.length;
1612
+ jn(n, s, r - t), t -= s.length;
1612
1613
  else {
1613
- t === s.length ? (kn(n, s, r - t), ++o, i.next ? this.head = i.next : this.head = this.tail = null) : (kn(n, new tf(s.buffer, s.byteOffset, t), r - t), this.head = i, i.data = s.slice(t));
1614
+ t === s.length ? (jn(n, s, r - t), ++o, i.next ? this.head = i.next : this.head = this.tail = null) : (jn(n, new nf(s.buffer, s.byteOffset, t), r - t), this.head = i, i.data = s.slice(t));
1614
1615
  break;
1615
1616
  }
1616
1617
  ++o;
@@ -1619,7 +1620,7 @@ var rf = class {
1619
1620
  }
1620
1621
  // Make sure the linked list only shows the minimal necessary information.
1621
1622
  [Symbol.for("nodejs.util.inspect.custom")](t, n) {
1622
- return nf(this, {
1623
+ return rf(this, {
1623
1624
  ...n,
1624
1625
  // Only inspect one level.
1625
1626
  depth: 0,
@@ -1628,37 +1629,37 @@ var rf = class {
1628
1629
  });
1629
1630
  }
1630
1631
  };
1631
- const { MathFloor: of, NumberIsInteger: sf } = he, { validateInteger: af } = _n, { ERR_INVALID_ARG_VALUE: lf } = Te.codes;
1632
+ const { MathFloor: sf, NumberIsInteger: af } = he, { validateInteger: lf } = yn, { ERR_INVALID_ARG_VALUE: uf } = Te.codes;
1632
1633
  let ta = 16 * 1024, na = 16;
1633
- function uf(e, t, n) {
1634
+ function ff(e, t, n) {
1634
1635
  return e.highWaterMark != null ? e.highWaterMark : t ? e[n] : null;
1635
1636
  }
1636
1637
  function ra(e) {
1637
1638
  return e ? na : ta;
1638
1639
  }
1639
- function ff(e, t) {
1640
- af(t, "value", 0), e ? na = t : ta = t;
1640
+ function df(e, t) {
1641
+ lf(t, "value", 0), e ? na = t : ta = t;
1641
1642
  }
1642
- function df(e, t, n, r) {
1643
- const i = uf(t, r, n);
1643
+ function cf(e, t, n, r) {
1644
+ const i = ff(t, r, n);
1644
1645
  if (i != null) {
1645
- if (!sf(i) || i < 0) {
1646
+ if (!af(i) || i < 0) {
1646
1647
  const o = r ? `options.${n}` : "options.highWaterMark";
1647
- throw new lf(o, i);
1648
+ throw new uf(o, i);
1648
1649
  }
1649
- return of(i);
1650
+ return sf(i);
1650
1651
  }
1651
1652
  return ra(e.objectMode);
1652
1653
  }
1653
1654
  var fr = {
1654
- getHighWaterMark: df,
1655
+ getHighWaterMark: cf,
1655
1656
  getDefaultHighWaterMark: ra,
1656
- setDefaultHighWaterMark: ff
1657
+ setDefaultHighWaterMark: df
1657
1658
  };
1658
- const To = Nt, { PromisePrototypeThen: cf, SymbolAsyncIterator: xo, SymbolIterator: Oo } = he, { Buffer: hf } = Ct(), { ERR_INVALID_ARG_TYPE: gf, ERR_STREAM_NULL_VALUES: pf } = Te.codes;
1659
- function bf(e, t, n) {
1659
+ const To = Nt, { PromisePrototypeThen: hf, SymbolAsyncIterator: xo, SymbolIterator: Oo } = he, { Buffer: gf } = Ct, { ERR_INVALID_ARG_TYPE: pf, ERR_STREAM_NULL_VALUES: bf } = Te.codes;
1660
+ function wf(e, t, n) {
1660
1661
  let r;
1661
- if (typeof t == "string" || t instanceof hf)
1662
+ if (typeof t == "string" || t instanceof gf)
1662
1663
  return new e({
1663
1664
  objectMode: !0,
1664
1665
  ...n,
@@ -1672,7 +1673,7 @@ function bf(e, t, n) {
1672
1673
  else if (t && t[Oo])
1673
1674
  i = !1, r = t[Oo]();
1674
1675
  else
1675
- throw new gf("iterable", ["Iterable"], t);
1676
+ throw new pf("iterable", ["Iterable"], t);
1676
1677
  const o = new e({
1677
1678
  objectMode: !0,
1678
1679
  highWaterMark: 1,
@@ -1683,7 +1684,7 @@ function bf(e, t, n) {
1683
1684
  o._read = function() {
1684
1685
  s || (s = !0, f());
1685
1686
  }, o._destroy = function(u, g) {
1686
- cf(
1687
+ hf(
1687
1688
  a(u),
1688
1689
  () => To.nextTick(g, u),
1689
1690
  // nextTick is here in case cb throws
@@ -1711,7 +1712,7 @@ function bf(e, t, n) {
1711
1712
  else {
1712
1713
  const p = u && typeof u.then == "function" ? await u : u;
1713
1714
  if (p === null)
1714
- throw s = !1, new pf();
1715
+ throw s = !1, new bf();
1715
1716
  if (o.push(p))
1716
1717
  continue;
1717
1718
  s = !1;
@@ -1724,7 +1725,7 @@ function bf(e, t, n) {
1724
1725
  }
1725
1726
  return o;
1726
1727
  }
1727
- var ia = bf, Wr, Co;
1728
+ var ia = wf, Wr, Co;
1728
1729
  function dr() {
1729
1730
  if (Co) return Wr;
1730
1731
  Co = 1;
@@ -1743,11 +1744,11 @@ function dr() {
1743
1744
  Symbol: v
1744
1745
  } = he;
1745
1746
  Wr = Y, Y.ReadableState = Le;
1746
- const { EventEmitter: S } = yn, { Stream: R, prependListener: h } = Pi, { Buffer: w } = Ct(), { addAbortSignal: y } = ur, x = pt;
1747
+ const { EventEmitter: S } = nr(), { Stream: R, prependListener: h } = Pi, { Buffer: w } = Ct, { addAbortSignal: y } = ur, x = pt;
1747
1748
  let m = Pe.debuglog("stream", (l) => {
1748
1749
  m = l;
1749
1750
  });
1750
- const j = rf, P = Yt, { getHighWaterMark: B, getDefaultHighWaterMark: H } = fr, {
1751
+ const j = of, P = Yt, { getHighWaterMark: B, getDefaultHighWaterMark: H } = fr, {
1751
1752
  aggregateTwoErrors: k,
1752
1753
  codes: {
1753
1754
  ERR_INVALID_ARG_TYPE: X,
@@ -1757,7 +1758,7 @@ function dr() {
1757
1758
  ERR_STREAM_UNSHIFT_AFTER_END_EVENT: T
1758
1759
  },
1759
1760
  AbortError: ee
1760
- } = Te, { validateObject: I } = _n, C = v("kPaused"), { StringDecoder: F } = Sl(), K = ia;
1761
+ } = Te, { validateObject: I } = yn, C = v("kPaused"), { StringDecoder: F } = Sl(), K = ia;
1761
1762
  a(Y.prototype, R.prototype), a(Y, R);
1762
1763
  const V = () => {
1763
1764
  }, { errorOrDestroy: Q } = P, J = 1, le = 2, M = 4, te = 8, ge = 16, be = 32, we = 64, Se = 128, ve = 256, xe = 512, Ue = 1024, Ae = 2048, _ = 4096, E = 8192, O = 16384, W = 32768, z = 65536, oe = 1 << 17, fe = 1 << 18;
@@ -1871,13 +1872,13 @@ function dr() {
1871
1872
  L += c.write(U);
1872
1873
  return N.clear(), L !== "" && N.push(L), this._readableState.length = L.length, this;
1873
1874
  };
1874
- const An = 1073741824;
1875
+ const vn = 1073741824;
1875
1876
  function Er(l) {
1876
- if (l > An)
1877
+ if (l > vn)
1877
1878
  throw new $("size", "<= 1GiB", l);
1878
1879
  return l--, l |= l >>> 1, l |= l >>> 2, l |= l >>> 4, l |= l >>> 8, l |= l >>> 16, l++, l;
1879
1880
  }
1880
- function Rn(l, c) {
1881
+ function An(l, c) {
1881
1882
  return l <= 0 || c.length === 0 && c.ended ? 0 : c.state & J ? 1 : r(l) ? c.flowing && c.length ? c.buffer.first().length : c.length : l <= c.length ? l : c.ended ? c.length : 0;
1882
1883
  }
1883
1884
  Y.prototype.read = function(l) {
@@ -1885,7 +1886,7 @@ function dr() {
1885
1886
  const c = this._readableState, N = l;
1886
1887
  if (l > c.highWaterMark && (c.highWaterMark = Er(l)), l !== 0 && (c.state &= ~Se), l === 0 && c.needReadable && ((c.highWaterMark !== 0 ? c.length >= c.highWaterMark : c.length > 0) || c.ended))
1887
1888
  return m("read: emitReadable", c.length, c.ended), c.length === 0 && c.ended ? Qt(this) : bt(this), null;
1888
- if (l = Rn(l, c), l === 0 && c.ended)
1889
+ if (l = An(l, c), l === 0 && c.ended)
1889
1890
  return c.length === 0 && Qt(this), null;
1890
1891
  let L = (c.state & we) !== 0;
1891
1892
  if (m("need readable", L), (c.length === 0 || c.length - l < c.highWaterMark) && (L = !0, m("length less than watermark", L)), c.ended || c.reading || c.destroyed || c.errored || !c.constructed)
@@ -1897,7 +1898,7 @@ function dr() {
1897
1898
  } catch (ye) {
1898
1899
  Q(this, ye);
1899
1900
  }
1900
- c.state &= ~be, c.reading || (l = Rn(N, c));
1901
+ c.state &= ~be, c.reading || (l = An(N, c));
1901
1902
  }
1902
1903
  let U;
1903
1904
  return l > 0 ? U = lt(l, c) : U = null, U === null ? (c.needReadable = c.length <= c.highWaterMark, l = 0) : (c.length -= l, c.multiAwaitDrain ? c.awaitDrainWriters.clear() : c.awaitDrainWriters = null), c.length === 0 && (c.ended || (c.needReadable = !0), N !== l && c.ended && Qt(this)), U !== null && !c.errorEmitted && !c.closeEmitted && (c.dataEmitted = !0, this.emit("data", U)), U;
@@ -1920,9 +1921,9 @@ function dr() {
1920
1921
  m("emitReadable_", c.destroyed, c.length, c.ended), !c.destroyed && !c.errored && (c.length || c.ended) && (l.emit("readable"), c.emittedReadable = !1), c.needReadable = !c.flowing && !c.ended && c.length <= c.highWaterMark, Xt(l);
1921
1922
  }
1922
1923
  function wt(l, c) {
1923
- !c.readingMore && c.constructed && (c.readingMore = !0, e.nextTick(In, l, c));
1924
+ !c.readingMore && c.constructed && (c.readingMore = !0, e.nextTick(Rn, l, c));
1924
1925
  }
1925
- function In(l, c) {
1926
+ function Rn(l, c) {
1926
1927
  for (; !c.reading && !c.ended && (c.length < c.highWaterMark || c.flowing && c.length === 0); ) {
1927
1928
  const N = c.length;
1928
1929
  if (m("maybeReadMore read 0"), l.read(0), N === c.length)
@@ -1935,26 +1936,26 @@ function dr() {
1935
1936
  }, Y.prototype.pipe = function(l, c) {
1936
1937
  const N = this, L = this._readableState;
1937
1938
  L.pipes.length === 1 && (L.multiAwaitDrain || (L.multiAwaitDrain = !0, L.awaitDrainWriters = new u(L.awaitDrainWriters ? [L.awaitDrainWriters] : []))), L.pipes.push(l), m("pipe count=%d opts=%j", L.pipes.length, c);
1938
- const ye = (!c || c.end !== !1) && l !== e.stdout && l !== e.stderr ? Nn : yt;
1939
+ const ye = (!c || c.end !== !1) && l !== e.stdout && l !== e.stderr ? Cn : yt;
1939
1940
  L.endEmitted ? e.nextTick(ye) : N.once("end", ye), l.on("unpipe", Oe);
1940
1941
  function Oe(Qe, Fe) {
1941
1942
  m("onunpipe"), Qe === N && Fe && Fe.hasUnpiped === !1 && (Fe.hasUnpiped = !0, Rr());
1942
1943
  }
1943
- function Nn() {
1944
+ function Cn() {
1944
1945
  m("onend"), l.end();
1945
1946
  }
1946
- let Ce, Pn = !1;
1947
+ let Ce, Nn = !1;
1947
1948
  function Rr() {
1948
- m("cleanup"), l.removeListener("close", ze), l.removeListener("finish", nn), Ce && l.removeListener("drain", Ce), l.removeListener("error", tn), l.removeListener("unpipe", Oe), N.removeListener("end", Nn), N.removeListener("end", yt), N.removeListener("data", Mn), Pn = !0, Ce && L.awaitDrainWriters && (!l._writableState || l._writableState.needDrain) && Ce();
1949
+ m("cleanup"), l.removeListener("close", ze), l.removeListener("finish", nn), Ce && l.removeListener("drain", Ce), l.removeListener("error", tn), l.removeListener("unpipe", Oe), N.removeListener("end", Cn), N.removeListener("end", yt), N.removeListener("data", Ln), Nn = !0, Ce && L.awaitDrainWriters && (!l._writableState || l._writableState.needDrain) && Ce();
1949
1950
  }
1950
- function Ln() {
1951
- Pn || (L.pipes.length === 1 && L.pipes[0] === l ? (m("false write response, pause", 0), L.awaitDrainWriters = l, L.multiAwaitDrain = !1) : L.pipes.length > 1 && L.pipes.includes(l) && (m("false write response, pause", L.awaitDrainWriters.size), L.awaitDrainWriters.add(l)), N.pause()), Ce || (Ce = Sr(N, l), l.on("drain", Ce));
1951
+ function Pn() {
1952
+ Nn || (L.pipes.length === 1 && L.pipes[0] === l ? (m("false write response, pause", 0), L.awaitDrainWriters = l, L.multiAwaitDrain = !1) : L.pipes.length > 1 && L.pipes.includes(l) && (m("false write response, pause", L.awaitDrainWriters.size), L.awaitDrainWriters.add(l)), N.pause()), Ce || (Ce = Sr(N, l), l.on("drain", Ce));
1952
1953
  }
1953
- N.on("data", Mn);
1954
- function Mn(Qe) {
1954
+ N.on("data", Ln);
1955
+ function Ln(Qe) {
1955
1956
  m("ondata");
1956
1957
  const Fe = l.write(Qe);
1957
- m("dest.write", Fe), Fe === !1 && Ln();
1958
+ m("dest.write", Fe), Fe === !1 && Pn();
1958
1959
  }
1959
1960
  function tn(Qe) {
1960
1961
  if (m("onerror", Qe), yt(), l.removeListener("error", tn), l.listenerCount("error") === 0) {
@@ -1974,7 +1975,7 @@ function dr() {
1974
1975
  function yt() {
1975
1976
  m("unpipe"), N.unpipe(l);
1976
1977
  }
1977
- return l.emit("pipe", N), l.writableNeedDrain === !0 ? Ln() : L.flowing || (m("pipe resume"), N.resume()), l;
1978
+ return l.emit("pipe", N), l.writableNeedDrain === !0 ? Pn() : L.flowing || (m("pipe resume"), N.resume()), l;
1978
1979
  };
1979
1980
  function Sr(l, c) {
1980
1981
  return function() {
@@ -2003,12 +2004,12 @@ function dr() {
2003
2004
  return l === "data" ? (L.readableListening = this.listenerCount("readable") > 0, L.flowing !== !1 && this.resume()) : l === "readable" && !L.endEmitted && !L.readableListening && (L.readableListening = L.needReadable = !0, L.flowing = !1, L.emittedReadable = !1, m("on readable", L.length, L.reading), L.length ? bt(this) : L.reading || e.nextTick(Je, this)), N;
2004
2005
  }, Y.prototype.addListener = Y.prototype.on, Y.prototype.removeListener = function(l, c) {
2005
2006
  const N = R.prototype.removeListener.call(this, l, c);
2006
- return l === "readable" && e.nextTick(Tn, this), N;
2007
+ return l === "readable" && e.nextTick(In, this), N;
2007
2008
  }, Y.prototype.off = Y.prototype.removeListener, Y.prototype.removeAllListeners = function(l) {
2008
2009
  const c = R.prototype.removeAllListeners.apply(this, arguments);
2009
- return (l === "readable" || l === void 0) && e.nextTick(Tn, this), c;
2010
+ return (l === "readable" || l === void 0) && e.nextTick(In, this), c;
2010
2011
  };
2011
- function Tn(l) {
2012
+ function In(l) {
2012
2013
  const c = l._readableState;
2013
2014
  c.readableListening = l.listenerCount("readable") > 0, c.resumeScheduled && c[C] === !1 ? c.flowing = !0 : l.listenerCount("data") > 0 ? l.resume() : c.readableListening || (c.flowing = null);
2014
2015
  }
@@ -2054,18 +2055,18 @@ function dr() {
2054
2055
  }
2055
2056
  return this;
2056
2057
  }, Y.prototype[p] = function() {
2057
- return xn(this);
2058
+ return Tn(this);
2058
2059
  }, Y.prototype.iterator = function(l) {
2059
- return l !== void 0 && I(l, "options"), xn(this, l);
2060
+ return l !== void 0 && I(l, "options"), Tn(this, l);
2060
2061
  };
2061
- function xn(l, c) {
2062
+ function Tn(l, c) {
2062
2063
  typeof l.read != "function" && (l = Y.wrap(l, {
2063
2064
  objectMode: !0
2064
2065
  }));
2065
- const N = On(l, c);
2066
+ const N = xn(l, c);
2066
2067
  return N.stream = l, N;
2067
2068
  }
2068
- async function* On(l, c) {
2069
+ async function* xn(l, c) {
2069
2070
  let N = V;
2070
2071
  function L(Oe) {
2071
2072
  this === l ? (N(), N = V) : N = Oe;
@@ -2247,13 +2248,13 @@ function dr() {
2247
2248
  return K(Y, l, c);
2248
2249
  };
2249
2250
  let en;
2250
- function Cn() {
2251
+ function On() {
2251
2252
  return en === void 0 && (en = {}), en;
2252
2253
  }
2253
2254
  return Y.fromWeb = function(l, c) {
2254
- return Cn().newStreamReadableFromReadableStream(l, c);
2255
+ return On().newStreamReadableFromReadableStream(l, c);
2255
2256
  }, Y.toWeb = function(l, c) {
2256
- return Cn().newReadableStreamFromStreamReadable(l, c);
2257
+ return On().newReadableStreamFromStreamReadable(l, c);
2257
2258
  }, Y.wrap = function(l, c) {
2258
2259
  var N, L;
2259
2260
  return new Y({
@@ -2281,7 +2282,7 @@ function Li() {
2281
2282
  SymbolHasInstance: u
2282
2283
  } = he;
2283
2284
  Ur = I, I.WritableState = T;
2284
- const { EventEmitter: g } = yn, p = Pi.Stream, { Buffer: v } = Ct(), S = Yt, { addAbortSignal: R } = ur, { getHighWaterMark: h, getDefaultHighWaterMark: w } = fr, {
2285
+ const { EventEmitter: g } = nr(), p = Pi.Stream, { Buffer: v } = Ct, S = Yt, { addAbortSignal: R } = ur, { getHighWaterMark: h, getDefaultHighWaterMark: w } = fr, {
2285
2286
  ERR_INVALID_ARG_TYPE: y,
2286
2287
  ERR_METHOD_NOT_IMPLEMENTED: x,
2287
2288
  ERR_MULTIPLE_CALLBACK: m,
@@ -2625,10 +2626,10 @@ function Li() {
2625
2626
  }, Ur;
2626
2627
  }
2627
2628
  var Fr, Po;
2628
- function wf() {
2629
+ function yf() {
2629
2630
  if (Po) return Fr;
2630
2631
  Po = 1;
2631
- const e = Nt, t = Ct(), {
2632
+ const e = Nt, t = Ct, {
2632
2633
  isReadable: n,
2633
2634
  isWritable: r,
2634
2635
  isIterable: i,
@@ -2948,18 +2949,18 @@ function ot() {
2948
2949
  };
2949
2950
  let u;
2950
2951
  return s.from = function(g) {
2951
- return u || (u = wf()), u(g, "body");
2952
+ return u || (u = yf()), u(g, "body");
2952
2953
  }, qr;
2953
2954
  }
2954
- const { ObjectSetPrototypeOf: oa, Symbol: yf } = he;
2955
+ const { ObjectSetPrototypeOf: oa, Symbol: _f } = he;
2955
2956
  var sa = st;
2956
- const { ERR_METHOD_NOT_IMPLEMENTED: _f } = Te.codes, Mi = ot(), { getHighWaterMark: mf } = fr;
2957
+ const { ERR_METHOD_NOT_IMPLEMENTED: mf } = Te.codes, Mi = ot(), { getHighWaterMark: Ef } = fr;
2957
2958
  oa(st.prototype, Mi.prototype);
2958
2959
  oa(st, Mi);
2959
- const dn = yf("kCallback");
2960
+ const dn = _f("kCallback");
2960
2961
  function st(e) {
2961
2962
  if (!(this instanceof st)) return new st(e);
2962
- const t = e ? mf(this, e, "readableHighWaterMark", !0) : null;
2963
+ const t = e ? Ef(this, e, "readableHighWaterMark", !0) : null;
2963
2964
  t === 0 && (e = {
2964
2965
  ...e,
2965
2966
  highWaterMark: null,
@@ -2969,7 +2970,7 @@ function st(e) {
2969
2970
  // Refs: https://github.com/nodejs/node/pull/32887
2970
2971
  // Refs: https://github.com/nodejs/node/pull/35941
2971
2972
  writableHighWaterMark: e.writableHighWaterMark || 0
2972
- }), Mi.call(this, e), this._readableState.sync = !1, this[dn] = null, e && (typeof e.transform == "function" && (this._transform = e.transform), typeof e.flush == "function" && (this._flush = e.flush)), this.on("prefinish", Ef);
2973
+ }), Mi.call(this, e), this._readableState.sync = !1, this[dn] = null, e && (typeof e.transform == "function" && (this._transform = e.transform), typeof e.flush == "function" && (this._flush = e.flush)), this.on("prefinish", Sf);
2973
2974
  }
2974
2975
  function pi(e) {
2975
2976
  typeof this._flush == "function" && !this.destroyed ? this._flush((t, n) => {
@@ -2980,12 +2981,12 @@ function pi(e) {
2980
2981
  n != null && this.push(n), this.push(null), e && e();
2981
2982
  }) : (this.push(null), e && e());
2982
2983
  }
2983
- function Ef() {
2984
+ function Sf() {
2984
2985
  this._final !== pi && pi.call(this);
2985
2986
  }
2986
2987
  st.prototype._final = pi;
2987
2988
  st.prototype._transform = function(e, t, n) {
2988
- throw new _f("_transform()");
2989
+ throw new mf("_transform()");
2989
2990
  };
2990
2991
  st.prototype._write = function(e, t, n) {
2991
2992
  const r = this._readableState, i = this._writableState, o = r.length;
@@ -3017,33 +3018,33 @@ function Ht(e) {
3017
3018
  Ht.prototype._transform = function(e, t, n) {
3018
3019
  n(null, e);
3019
3020
  };
3020
- const un = Nt, { ArrayIsArray: Sf, Promise: vf, SymbolAsyncIterator: Af, SymbolDispose: Rf } = he, Xn = pt, { once: If } = Pe, Tf = Yt, Mo = ot(), {
3021
- aggregateTwoErrors: xf,
3021
+ const un = Nt, { ArrayIsArray: vf, Promise: Af, SymbolAsyncIterator: Rf, SymbolDispose: If } = he, Jn = pt, { once: Tf } = Pe, xf = Yt, Mo = ot(), {
3022
+ aggregateTwoErrors: Of,
3022
3023
  codes: {
3023
3024
  ERR_INVALID_ARG_TYPE: bi,
3024
3025
  ERR_INVALID_RETURN_VALUE: Hr,
3025
- ERR_MISSING_ARGS: Of,
3026
- ERR_STREAM_DESTROYED: Cf,
3027
- ERR_STREAM_PREMATURE_CLOSE: Nf
3026
+ ERR_MISSING_ARGS: Cf,
3027
+ ERR_STREAM_DESTROYED: Nf,
3028
+ ERR_STREAM_PREMATURE_CLOSE: Pf
3028
3029
  },
3029
- AbortError: Pf
3030
- } = Te, { validateFunction: Lf, validateAbortSignal: Mf } = _n, {
3030
+ AbortError: Lf
3031
+ } = Te, { validateFunction: Mf, validateAbortSignal: Bf } = yn, {
3031
3032
  isIterable: Et,
3032
3033
  isReadable: zr,
3033
- isReadableNodeStream: Vn,
3034
+ isReadableNodeStream: Gn,
3034
3035
  isNodeStream: Bo,
3035
3036
  isTransformStream: jt,
3036
- isWebStream: Bf,
3037
+ isWebStream: $f,
3037
3038
  isReadableStream: Gr,
3038
- isReadableFinished: $f
3039
- } = at, Df = globalThis.AbortController || pn().AbortController;
3039
+ isReadableFinished: Df
3040
+ } = at, jf = globalThis.AbortController || pn().AbortController;
3040
3041
  let Vr, Kr, Yr;
3041
3042
  function $o(e, t, n) {
3042
3043
  let r = !1;
3043
3044
  e.on("close", () => {
3044
3045
  r = !0;
3045
3046
  });
3046
- const i = Xn(
3047
+ const i = Jn(
3047
3048
  e,
3048
3049
  {
3049
3050
  readable: t,
@@ -3055,38 +3056,38 @@ function $o(e, t, n) {
3055
3056
  );
3056
3057
  return {
3057
3058
  destroy: (o) => {
3058
- r || (r = !0, Tf.destroyer(e, o || new Cf("pipe")));
3059
+ r || (r = !0, xf.destroyer(e, o || new Nf("pipe")));
3059
3060
  },
3060
3061
  cleanup: i
3061
3062
  };
3062
3063
  }
3063
- function jf(e) {
3064
- return Lf(e[e.length - 1], "streams[stream.length - 1]"), e.pop();
3064
+ function kf(e) {
3065
+ return Mf(e[e.length - 1], "streams[stream.length - 1]"), e.pop();
3065
3066
  }
3066
3067
  function Zr(e) {
3067
3068
  if (Et(e))
3068
3069
  return e;
3069
- if (Vn(e))
3070
- return kf(e);
3070
+ if (Gn(e))
3071
+ return Wf(e);
3071
3072
  throw new bi("val", ["Readable", "Iterable", "AsyncIterable"], e);
3072
3073
  }
3073
- async function* kf(e) {
3074
- Kr || (Kr = dr()), yield* Kr.prototype[Af].call(e);
3074
+ async function* Wf(e) {
3075
+ Kr || (Kr = dr()), yield* Kr.prototype[Rf].call(e);
3075
3076
  }
3076
- async function Wn(e, t, n, { end: r }) {
3077
+ async function kn(e, t, n, { end: r }) {
3077
3078
  let i, o = null;
3078
3079
  const s = (u) => {
3079
3080
  if (u && (i = u), o) {
3080
3081
  const g = o;
3081
3082
  o = null, g();
3082
3083
  }
3083
- }, a = () => new vf((u, g) => {
3084
+ }, a = () => new Af((u, g) => {
3084
3085
  i ? g(i) : o = () => {
3085
3086
  i ? g(i) : u();
3086
3087
  };
3087
3088
  });
3088
3089
  t.on("drain", s);
3089
- const f = Xn(
3090
+ const f = Jn(
3090
3091
  t,
3091
3092
  {
3092
3093
  readable: !1
@@ -3099,7 +3100,7 @@ async function Wn(e, t, n, { end: r }) {
3099
3100
  t.write(u) || await a();
3100
3101
  r && (t.end(), await a()), n();
3101
3102
  } catch (u) {
3102
- n(i !== u ? xf(i, u) : u);
3103
+ n(i !== u ? Of(i, u) : u);
3103
3104
  } finally {
3104
3105
  f(), t.off("drain", s);
3105
3106
  }
@@ -3120,16 +3121,16 @@ async function Jr(e, t, n, { end: r }) {
3120
3121
  }
3121
3122
  }
3122
3123
  }
3123
- function Wf(...e) {
3124
- return ua(e, If(jf(e)));
3124
+ function Uf(...e) {
3125
+ return ua(e, Tf(kf(e)));
3125
3126
  }
3126
3127
  function ua(e, t, n) {
3127
- if (e.length === 1 && Sf(e[0]) && (e = e[0]), e.length < 2)
3128
- throw new Of("streams");
3129
- const r = new Df(), i = r.signal, o = n == null ? void 0 : n.signal, s = [];
3130
- Mf(o, "options.signal");
3128
+ if (e.length === 1 && vf(e[0]) && (e = e[0]), e.length < 2)
3129
+ throw new Cf("streams");
3130
+ const r = new jf(), i = r.signal, o = n == null ? void 0 : n.signal, s = [];
3131
+ Bf(o, "options.signal");
3131
3132
  function a() {
3132
- R(new Pf());
3133
+ R(new Lf());
3133
3134
  }
3134
3135
  Yr = Yr || Pe.addAbortListener;
3135
3136
  let f;
@@ -3145,7 +3146,7 @@ function ua(e, t, n) {
3145
3146
  if (x && (!u || u.code === "ERR_STREAM_PREMATURE_CLOSE") && (u = x), !(!u && !m)) {
3146
3147
  for (; p.length; )
3147
3148
  p.shift()(u);
3148
- (j = f) === null || j === void 0 || j[Rf](), r.abort(), m && (u || s.forEach((P) => P()), un.nextTick(t, u, g));
3149
+ (j = f) === null || j === void 0 || j[If](), r.abort(), m && (u || s.forEach((P) => P()), un.nextTick(t, u, g));
3149
3150
  }
3150
3151
  }
3151
3152
  let h;
@@ -3169,7 +3170,7 @@ function ua(e, t, n) {
3169
3170
  signal: i
3170
3171
  }), !Et(h))
3171
3172
  throw new Hr("Iterable, AsyncIterable or Stream", "source", h);
3172
- } else Et(m) || Vn(m) || jt(m) ? h = m : h = Mo.from(m);
3173
+ } else Et(m) || Gn(m) || jt(m) ? h = m : h = Mo.from(m);
3173
3174
  else if (typeof m == "function") {
3174
3175
  if (jt(h)) {
3175
3176
  var w;
@@ -3198,12 +3199,12 @@ function ua(e, t, n) {
3198
3199
  }
3199
3200
  );
3200
3201
  else if (Et(h, !0))
3201
- v++, Wn(h, k, S, {
3202
+ v++, kn(h, k, S, {
3202
3203
  end: B
3203
3204
  });
3204
3205
  else if (Gr(h) || jt(h)) {
3205
3206
  const D = h.readable || h;
3206
- v++, Wn(D, k, S, {
3207
+ v++, kn(D, k, S, {
3207
3208
  end: B
3208
3209
  });
3209
3210
  } else
@@ -3213,19 +3214,19 @@ function ua(e, t, n) {
3213
3214
  p.push(Z), H && s.push($);
3214
3215
  }
3215
3216
  } else if (Bo(m)) {
3216
- if (Vn(h)) {
3217
+ if (Gn(h)) {
3217
3218
  v += 2;
3218
- const k = Uf(h, m, S, {
3219
+ const k = Ff(h, m, S, {
3219
3220
  end: B
3220
3221
  });
3221
3222
  zr(m) && H && s.push(k);
3222
3223
  } else if (jt(h) || Gr(h)) {
3223
3224
  const k = h.readable || h;
3224
- v++, Wn(k, m, S, {
3225
+ v++, kn(k, m, S, {
3225
3226
  end: B
3226
3227
  });
3227
3228
  } else if (Et(h))
3228
- v++, Wn(h, m, S, {
3229
+ v++, kn(h, m, S, {
3229
3230
  end: B
3230
3231
  });
3231
3232
  else
@@ -3235,8 +3236,8 @@ function ua(e, t, n) {
3235
3236
  h
3236
3237
  );
3237
3238
  h = m;
3238
- } else if (Bf(m)) {
3239
- if (Vn(h))
3239
+ } else if ($f(m)) {
3240
+ if (Gn(h))
3240
3241
  v++, Jr(Zr(h), m, S, {
3241
3242
  end: B
3242
3243
  });
@@ -3260,20 +3261,20 @@ function ua(e, t, n) {
3260
3261
  }
3261
3262
  return (i != null && i.aborted || o != null && o.aborted) && un.nextTick(a), h;
3262
3263
  }
3263
- function Uf(e, t, n, { end: r }) {
3264
+ function Ff(e, t, n, { end: r }) {
3264
3265
  let i = !1;
3265
3266
  if (t.on("close", () => {
3266
- i || n(new Nf());
3267
+ i || n(new Pf());
3267
3268
  }), e.pipe(t, {
3268
3269
  end: !1
3269
3270
  }), r) {
3270
3271
  let o = function() {
3271
3272
  i = !0, t.end();
3272
3273
  };
3273
- $f(e) ? un.nextTick(o) : e.once("end", o);
3274
+ Df(e) ? un.nextTick(o) : e.once("end", o);
3274
3275
  } else
3275
3276
  n();
3276
- return Xn(
3277
+ return Jn(
3277
3278
  e,
3278
3279
  {
3279
3280
  readable: !0,
@@ -3283,7 +3284,7 @@ function Uf(e, t, n, { end: r }) {
3283
3284
  const s = e._readableState;
3284
3285
  o && o.code === "ERR_STREAM_PREMATURE_CLOSE" && s && s.ended && !s.errored && !s.errorEmitted ? e.once("end", n).once("error", n) : n(o);
3285
3286
  }
3286
- ), Xn(
3287
+ ), Jn(
3287
3288
  t,
3288
3289
  {
3289
3290
  readable: !1,
@@ -3294,10 +3295,10 @@ function Uf(e, t, n, { end: r }) {
3294
3295
  }
3295
3296
  var $i = {
3296
3297
  pipelineImpl: ua,
3297
- pipeline: Wf
3298
+ pipeline: Uf
3298
3299
  };
3299
- const { pipeline: Ff } = $i, Un = ot(), { destroyer: qf } = Yt, {
3300
- isNodeStream: Fn,
3300
+ const { pipeline: qf } = $i, Wn = ot(), { destroyer: Hf } = Yt, {
3301
+ isNodeStream: Un,
3301
3302
  isReadable: Do,
3302
3303
  isWritable: jo,
3303
3304
  isWebStream: Xr,
@@ -3305,21 +3306,21 @@ const { pipeline: Ff } = $i, Un = ot(), { destroyer: qf } = Yt, {
3305
3306
  isWritableStream: ko,
3306
3307
  isReadableStream: Wo
3307
3308
  } = at, {
3308
- AbortError: Hf,
3309
- codes: { ERR_INVALID_ARG_VALUE: Uo, ERR_MISSING_ARGS: zf }
3310
- } = Te, Gf = pt;
3309
+ AbortError: zf,
3310
+ codes: { ERR_INVALID_ARG_VALUE: Uo, ERR_MISSING_ARGS: Gf }
3311
+ } = Te, Vf = pt;
3311
3312
  var fa = function(...t) {
3312
3313
  if (t.length === 0)
3313
- throw new zf("streams");
3314
+ throw new Gf("streams");
3314
3315
  if (t.length === 1)
3315
- return Un.from(t[0]);
3316
+ return Wn.from(t[0]);
3316
3317
  const n = [...t];
3317
- if (typeof t[0] == "function" && (t[0] = Un.from(t[0])), typeof t[t.length - 1] == "function") {
3318
+ if (typeof t[0] == "function" && (t[0] = Wn.from(t[0])), typeof t[t.length - 1] == "function") {
3318
3319
  const S = t.length - 1;
3319
- t[S] = Un.from(t[S]);
3320
+ t[S] = Wn.from(t[S]);
3320
3321
  }
3321
3322
  for (let S = 0; S < t.length; ++S)
3322
- if (!(!Fn(t[S]) && !Xr(t[S]))) {
3323
+ if (!(!Un(t[S]) && !Xr(t[S]))) {
3323
3324
  if (S < t.length - 1 && !(Do(t[S]) || Wo(t[S]) || mt(t[S])))
3324
3325
  throw new Uo(`streams[${S}]`, n[S], "must be readable");
3325
3326
  if (S > 0 && !(jo(t[S]) || ko(t[S]) || mt(t[S])))
@@ -3330,15 +3331,15 @@ var fa = function(...t) {
3330
3331
  const R = s;
3331
3332
  s = null, R ? R(S) : S ? a.destroy(S) : !v && !p && a.destroy();
3332
3333
  }
3333
- const u = t[0], g = Ff(t, f), p = !!(jo(u) || ko(u) || mt(u)), v = !!(Do(g) || Wo(g) || mt(g));
3334
- if (a = new Un({
3334
+ const u = t[0], g = qf(t, f), p = !!(jo(u) || ko(u) || mt(u)), v = !!(Do(g) || Wo(g) || mt(g));
3335
+ if (a = new Wn({
3335
3336
  // TODO (ronag): highWaterMark?
3336
3337
  writableObjectMode: !!(u != null && u.writableObjectMode),
3337
3338
  readableObjectMode: !!(g != null && g.readableObjectMode),
3338
3339
  writable: p,
3339
3340
  readable: v
3340
3341
  }), p) {
3341
- if (Fn(u))
3342
+ if (Un(u))
3342
3343
  a._write = function(R, h, w) {
3343
3344
  u.write(R, h) ? w() : r = w;
3344
3345
  }, a._final = function(R) {
@@ -3368,7 +3369,7 @@ var fa = function(...t) {
3368
3369
  };
3369
3370
  }
3370
3371
  const S = mt(g) ? g.readable : g;
3371
- Gf(S, () => {
3372
+ Vf(S, () => {
3372
3373
  if (i) {
3373
3374
  const R = i;
3374
3375
  i = null, R();
@@ -3376,7 +3377,7 @@ var fa = function(...t) {
3376
3377
  });
3377
3378
  }
3378
3379
  if (v) {
3379
- if (Fn(g))
3380
+ if (Un(g))
3380
3381
  g.on("readable", function() {
3381
3382
  if (o) {
3382
3383
  const S = o;
@@ -3414,40 +3415,40 @@ var fa = function(...t) {
3414
3415
  }
3415
3416
  }
3416
3417
  return a._destroy = function(S, R) {
3417
- !S && s !== null && (S = new Hf()), o = null, r = null, i = null, s === null ? R(S) : (s = R, Fn(g) && qf(g, S));
3418
+ !S && s !== null && (S = new zf()), o = null, r = null, i = null, s === null ? R(S) : (s = R, Un(g) && Hf(g, S));
3418
3419
  }, a;
3419
3420
  };
3420
- const Vf = globalThis.AbortController || pn().AbortController, {
3421
- codes: { ERR_INVALID_ARG_VALUE: Kf, ERR_INVALID_ARG_TYPE: mn, ERR_MISSING_ARGS: Yf, ERR_OUT_OF_RANGE: Zf },
3421
+ const Kf = globalThis.AbortController || pn().AbortController, {
3422
+ codes: { ERR_INVALID_ARG_VALUE: Yf, ERR_INVALID_ARG_TYPE: _n, ERR_MISSING_ARGS: Zf, ERR_OUT_OF_RANGE: Jf },
3422
3423
  AbortError: Ye
3423
- } = Te, { validateAbortSignal: Lt, validateInteger: Fo, validateObject: Mt } = _n, Jf = he.Symbol("kWeak"), Xf = he.Symbol("kResistStopPropagation"), { finished: Qf } = pt, ed = fa, { addAbortSignalNoValidate: td } = ur, { isWritable: nd, isNodeStream: rd } = at, { deprecate: id } = Pe, {
3424
- ArrayPrototypePush: od,
3425
- Boolean: sd,
3424
+ } = Te, { validateAbortSignal: Lt, validateInteger: Fo, validateObject: Mt } = yn, Xf = he.Symbol("kWeak"), Qf = he.Symbol("kResistStopPropagation"), { finished: ed } = pt, td = fa, { addAbortSignalNoValidate: nd } = ur, { isWritable: rd, isNodeStream: id } = at, { deprecate: od } = Pe, {
3425
+ ArrayPrototypePush: sd,
3426
+ Boolean: ad,
3426
3427
  MathFloor: qo,
3427
- Number: ad,
3428
- NumberIsNaN: ld,
3428
+ Number: ld,
3429
+ NumberIsNaN: ud,
3429
3430
  Promise: Ho,
3430
3431
  PromiseReject: zo,
3431
- PromiseResolve: ud,
3432
+ PromiseResolve: fd,
3432
3433
  PromisePrototypeThen: Go,
3433
3434
  Symbol: da
3434
- } = he, Qn = da("kEmpty"), Vo = da("kEof");
3435
- function fd(e, t) {
3436
- if (t != null && Mt(t, "options"), (t == null ? void 0 : t.signal) != null && Lt(t.signal, "options.signal"), rd(e) && !nd(e))
3437
- throw new Kf("stream", e, "must be writable");
3438
- const n = ed(this, e);
3439
- return t != null && t.signal && td(t.signal, n), n;
3435
+ } = he, Xn = da("kEmpty"), Vo = da("kEof");
3436
+ function dd(e, t) {
3437
+ if (t != null && Mt(t, "options"), (t == null ? void 0 : t.signal) != null && Lt(t.signal, "options.signal"), id(e) && !rd(e))
3438
+ throw new Yf("stream", e, "must be writable");
3439
+ const n = td(this, e);
3440
+ return t != null && t.signal && nd(t.signal, n), n;
3440
3441
  }
3441
3442
  function cr(e, t) {
3442
3443
  if (typeof e != "function")
3443
- throw new mn("fn", ["Function", "AsyncFunction"], e);
3444
+ throw new _n("fn", ["Function", "AsyncFunction"], e);
3444
3445
  t != null && Mt(t, "options"), (t == null ? void 0 : t.signal) != null && Lt(t.signal, "options.signal");
3445
3446
  let n = 1;
3446
3447
  (t == null ? void 0 : t.concurrency) != null && (n = qo(t.concurrency));
3447
3448
  let r = n - 1;
3448
3449
  return (t == null ? void 0 : t.highWaterMark) != null && (r = qo(t.highWaterMark)), Fo(n, "options.concurrency", 1), Fo(r, "options.highWaterMark", 0), r += n, (async function* () {
3449
3450
  const o = Pe.AbortSignalAny(
3450
- [t == null ? void 0 : t.signal].filter(sd)
3451
+ [t == null ? void 0 : t.signal].filter(ad)
3451
3452
  ), s = this, a = [], f = {
3452
3453
  signal: o
3453
3454
  };
@@ -3469,9 +3470,9 @@ function cr(e, t) {
3469
3470
  if (o.aborted)
3470
3471
  throw new Ye();
3471
3472
  try {
3472
- if (y = e(y, f), y === Qn)
3473
+ if (y = e(y, f), y === Xn)
3473
3474
  continue;
3474
- y = ud(y);
3475
+ y = fd(y);
3475
3476
  } catch (x) {
3476
3477
  y = zo(x);
3477
3478
  }
@@ -3496,7 +3497,7 @@ function cr(e, t) {
3496
3497
  return;
3497
3498
  if (o.aborted)
3498
3499
  throw new Ye();
3499
- y !== Qn && (yield y), a.shift(), h();
3500
+ y !== Xn && (yield y), a.shift(), h();
3500
3501
  }
3501
3502
  await new Ho((y) => {
3502
3503
  u = y;
@@ -3507,7 +3508,7 @@ function cr(e, t) {
3507
3508
  }
3508
3509
  }).call(this);
3509
3510
  }
3510
- function dd(e = void 0) {
3511
+ function cd(e = void 0) {
3511
3512
  return e != null && Mt(e, "options"), (e == null ? void 0 : e.signal) != null && Lt(e.signal, "options.signal"), (async function* () {
3512
3513
  let n = 0;
3513
3514
  for await (const i of this) {
@@ -3525,44 +3526,44 @@ async function ca(e, t = void 0) {
3525
3526
  return !0;
3526
3527
  return !1;
3527
3528
  }
3528
- async function cd(e, t = void 0) {
3529
+ async function hd(e, t = void 0) {
3529
3530
  if (typeof e != "function")
3530
- throw new mn("fn", ["Function", "AsyncFunction"], e);
3531
+ throw new _n("fn", ["Function", "AsyncFunction"], e);
3531
3532
  return !await ca.call(
3532
3533
  this,
3533
3534
  async (...n) => !await e(...n),
3534
3535
  t
3535
3536
  );
3536
3537
  }
3537
- async function hd(e, t) {
3538
+ async function gd(e, t) {
3538
3539
  for await (const n of Di.call(this, e, t))
3539
3540
  return n;
3540
3541
  }
3541
- async function gd(e, t) {
3542
+ async function pd(e, t) {
3542
3543
  if (typeof e != "function")
3543
- throw new mn("fn", ["Function", "AsyncFunction"], e);
3544
+ throw new _n("fn", ["Function", "AsyncFunction"], e);
3544
3545
  async function n(r, i) {
3545
- return await e(r, i), Qn;
3546
+ return await e(r, i), Xn;
3546
3547
  }
3547
3548
  for await (const r of cr.call(this, n, t)) ;
3548
3549
  }
3549
3550
  function Di(e, t) {
3550
3551
  if (typeof e != "function")
3551
- throw new mn("fn", ["Function", "AsyncFunction"], e);
3552
+ throw new _n("fn", ["Function", "AsyncFunction"], e);
3552
3553
  async function n(r, i) {
3553
- return await e(r, i) ? r : Qn;
3554
+ return await e(r, i) ? r : Xn;
3554
3555
  }
3555
3556
  return cr.call(this, n, t);
3556
3557
  }
3557
- class pd extends Yf {
3558
+ class bd extends Zf {
3558
3559
  constructor() {
3559
3560
  super("reduce"), this.message = "Reduce of an empty stream requires an initial value";
3560
3561
  }
3561
3562
  }
3562
- async function bd(e, t, n) {
3563
+ async function wd(e, t, n) {
3563
3564
  var r;
3564
3565
  if (typeof e != "function")
3565
- throw new mn("reducer", ["Function", "AsyncFunction"], e);
3566
+ throw new _n("reducer", ["Function", "AsyncFunction"], e);
3566
3567
  n != null && Mt(n, "options"), (n == null ? void 0 : n.signal) != null && Lt(n.signal, "options.signal");
3567
3568
  let i = arguments.length > 1;
3568
3569
  if (n != null && (r = n.signal) !== null && r !== void 0 && r.aborted) {
@@ -3570,14 +3571,14 @@ async function bd(e, t, n) {
3570
3571
  cause: n.signal.reason
3571
3572
  });
3572
3573
  throw this.once("error", () => {
3573
- }), await Qf(this.destroy(u)), u;
3574
+ }), await ed(this.destroy(u)), u;
3574
3575
  }
3575
- const o = new Vf(), s = o.signal;
3576
+ const o = new Kf(), s = o.signal;
3576
3577
  if (n != null && n.signal) {
3577
3578
  const u = {
3578
3579
  once: !0,
3579
- [Jf]: this,
3580
- [Xf]: !0
3580
+ [Xf]: this,
3581
+ [Qf]: !0
3581
3582
  };
3582
3583
  n.signal.addEventListener("abort", () => o.abort(), u);
3583
3584
  }
@@ -3592,13 +3593,13 @@ async function bd(e, t, n) {
3592
3593
  }) : (t = u, i = !0);
3593
3594
  }
3594
3595
  if (!a && !i)
3595
- throw new pd();
3596
+ throw new bd();
3596
3597
  } finally {
3597
3598
  o.abort();
3598
3599
  }
3599
3600
  return t;
3600
3601
  }
3601
- async function wd(e) {
3602
+ async function yd(e) {
3602
3603
  e != null && Mt(e, "options"), (e == null ? void 0 : e.signal) != null && Lt(e.signal, "options.signal");
3603
3604
  const t = [];
3604
3605
  for await (const r of this) {
@@ -3607,11 +3608,11 @@ async function wd(e) {
3607
3608
  throw new Ye(void 0, {
3608
3609
  cause: e.signal.reason
3609
3610
  });
3610
- od(t, r);
3611
+ sd(t, r);
3611
3612
  }
3612
3613
  return t;
3613
3614
  }
3614
- function yd(e, t) {
3615
+ function _d(e, t) {
3615
3616
  const n = cr.call(this, e, t);
3616
3617
  return (async function* () {
3617
3618
  for await (const i of n)
@@ -3619,13 +3620,13 @@ function yd(e, t) {
3619
3620
  }).call(this);
3620
3621
  }
3621
3622
  function ha(e) {
3622
- if (e = ad(e), ld(e))
3623
+ if (e = ld(e), ud(e))
3623
3624
  return 0;
3624
3625
  if (e < 0)
3625
- throw new Zf("number", ">= 0", e);
3626
+ throw new Jf("number", ">= 0", e);
3626
3627
  return e;
3627
3628
  }
3628
- function _d(e, t = void 0) {
3629
+ function md(e, t = void 0) {
3629
3630
  return t != null && Mt(t, "options"), (t == null ? void 0 : t.signal) != null && Lt(t.signal, "options.signal"), e = ha(e), (async function* () {
3630
3631
  var r;
3631
3632
  if (t != null && (r = t.signal) !== null && r !== void 0 && r.aborted)
@@ -3638,7 +3639,7 @@ function _d(e, t = void 0) {
3638
3639
  }
3639
3640
  }).call(this);
3640
3641
  }
3641
- function md(e, t = void 0) {
3642
+ function Ed(e, t = void 0) {
3642
3643
  return t != null && Mt(t, "options"), (t == null ? void 0 : t.signal) != null && Lt(t.signal, "options.signal"), e = ha(e), (async function* () {
3643
3644
  var r;
3644
3645
  if (t != null && (r = t.signal) !== null && r !== void 0 && r.aborted)
@@ -3653,21 +3654,21 @@ function md(e, t = void 0) {
3653
3654
  }).call(this);
3654
3655
  }
3655
3656
  xi.streamReturningOperators = {
3656
- asIndexedPairs: id(dd, "readable.asIndexedPairs will be removed in a future version."),
3657
- drop: _d,
3657
+ asIndexedPairs: od(cd, "readable.asIndexedPairs will be removed in a future version."),
3658
+ drop: md,
3658
3659
  filter: Di,
3659
- flatMap: yd,
3660
+ flatMap: _d,
3660
3661
  map: cr,
3661
- take: md,
3662
- compose: fd
3662
+ take: Ed,
3663
+ compose: dd
3663
3664
  };
3664
3665
  xi.promiseReturningOperators = {
3665
- every: cd,
3666
- forEach: gd,
3667
- reduce: bd,
3668
- toArray: wd,
3666
+ every: hd,
3667
+ forEach: pd,
3668
+ reduce: wd,
3669
+ toArray: yd,
3669
3670
  some: ca,
3670
- find: hd
3671
+ find: gd
3671
3672
  };
3672
3673
  var Qr, Ko;
3673
3674
  function ga() {
@@ -3704,7 +3705,7 @@ var Yo;
3704
3705
  function pa() {
3705
3706
  if (Yo) return $r.exports;
3706
3707
  Yo = 1;
3707
- const { Buffer: e } = Ct(), { ObjectDefineProperty: t, ObjectKeys: n, ReflectApply: r } = he, {
3708
+ const { Buffer: e } = Ct, { ObjectDefineProperty: t, ObjectKeys: n, ReflectApply: r } = he, {
3708
3709
  promisify: { custom: i }
3709
3710
  } = Pe, { streamReturningOperators: o, promiseReturningOperators: s } = xi, {
3710
3711
  codes: { ERR_ILLEGAL_CONSTRUCTOR: a }
@@ -3789,7 +3790,7 @@ function pa() {
3789
3790
  }
3790
3791
  }), e.exports.Stream = t.Stream, e.exports.default = e.exports;
3791
3792
  })(Ps);
3792
- var hr = Ps.exports, ji = { exports: {} }, Ed = ba;
3793
+ var hr = Ps.exports, ji = { exports: {} }, Sd = ba;
3793
3794
  function ba(e, t) {
3794
3795
  if (e && t) return ba(e)(t);
3795
3796
  if (typeof e != "function")
@@ -3806,13 +3807,13 @@ function ba(e, t) {
3806
3807
  }), o;
3807
3808
  }
3808
3809
  }
3809
- var wa = Ed;
3810
- ji.exports = wa(Kn);
3810
+ var wa = Sd;
3811
+ ji.exports = wa(Vn);
3811
3812
  ji.exports.strict = wa(ya);
3812
- Kn.proto = Kn(function() {
3813
+ Vn.proto = Vn(function() {
3813
3814
  Object.defineProperty(Function.prototype, "once", {
3814
3815
  value: function() {
3815
- return Kn(this);
3816
+ return Vn(this);
3816
3817
  },
3817
3818
  configurable: !0
3818
3819
  }), Object.defineProperty(Function.prototype, "onceStrict", {
@@ -3822,7 +3823,7 @@ Kn.proto = Kn(function() {
3822
3823
  configurable: !0
3823
3824
  });
3824
3825
  });
3825
- function Kn(e) {
3826
+ function Vn(e) {
3826
3827
  var t = function() {
3827
3828
  return t.called ? t.value : (t.called = !0, t.value = e.apply(this, arguments));
3828
3829
  };
@@ -3837,15 +3838,15 @@ function ya(e) {
3837
3838
  return t.onceError = n + " shouldn't be called more than once", t.called = !1, t;
3838
3839
  }
3839
3840
  var ki = ji.exports;
3840
- const Sd = /* @__PURE__ */ Kt(ki);
3841
- var vd = ki, Ad = function() {
3842
- }, Rd = kt.Bare ? queueMicrotask : Ie.process.nextTick.bind(Ie.process), Id = function(e) {
3841
+ const vd = /* @__PURE__ */ Kt(ki);
3842
+ var Ad = ki, Rd = function() {
3843
+ }, Id = kt.Bare ? queueMicrotask : Ie.process.nextTick.bind(Ie.process), Td = function(e) {
3843
3844
  return e.setHeader && typeof e.abort == "function";
3844
- }, Td = function(e) {
3845
+ }, xd = function(e) {
3845
3846
  return e.stdio && Array.isArray(e.stdio) && e.stdio.length === 3;
3846
3847
  }, _a = function(e, t, n) {
3847
3848
  if (typeof t == "function") return _a(e, null, t);
3848
- t || (t = {}), n = vd(n || Ad);
3849
+ t || (t = {}), n = Ad(n || Rd);
3849
3850
  var r = e._writableState, i = e._readableState, o = t.readable || t.readable !== !1 && e.readable, s = t.writable || t.writable !== !1 && e.writable, a = !1, f = function() {
3850
3851
  e.writable || u();
3851
3852
  }, u = function() {
@@ -3857,7 +3858,7 @@ var vd = ki, Ad = function() {
3857
3858
  }, v = function(w) {
3858
3859
  n.call(e, w);
3859
3860
  }, S = function() {
3860
- Rd(R);
3861
+ Id(R);
3861
3862
  }, R = function() {
3862
3863
  if (!a) {
3863
3864
  if (o && !(i && i.ended && !i.destroyed)) return n.call(e, new Error("premature close"));
@@ -3866,58 +3867,58 @@ var vd = ki, Ad = function() {
3866
3867
  }, h = function() {
3867
3868
  e.req.on("finish", u);
3868
3869
  };
3869
- return Id(e) ? (e.on("complete", u), e.on("abort", S), e.req ? h() : e.on("request", h)) : s && !r && (e.on("end", f), e.on("close", f)), Td(e) && e.on("exit", p), e.on("end", g), e.on("finish", u), t.error !== !1 && e.on("error", v), e.on("close", S), function() {
3870
+ return Td(e) ? (e.on("complete", u), e.on("abort", S), e.req ? h() : e.on("request", h)) : s && !r && (e.on("end", f), e.on("close", f)), xd(e) && e.on("exit", p), e.on("end", g), e.on("finish", u), t.error !== !1 && e.on("error", v), e.on("close", S), function() {
3870
3871
  a = !0, e.removeListener("complete", u), e.removeListener("abort", S), e.removeListener("request", h), e.req && e.req.removeListener("finish", u), e.removeListener("end", f), e.removeListener("close", f), e.removeListener("finish", u), e.removeListener("exit", p), e.removeListener("end", g), e.removeListener("error", v), e.removeListener("close", S);
3871
3872
  };
3872
3873
  }, ma = _a;
3873
3874
  const Zo = /* @__PURE__ */ Kt(ma);
3874
- var xd = ki, Od = ma, Yn;
3875
+ var Od = ki, Cd = ma, Kn;
3875
3876
  try {
3876
- Yn = vl;
3877
+ Kn = vl;
3877
3878
  } catch {
3878
3879
  }
3879
3880
  var bn = function() {
3880
- }, Cd = typeof Ie.process > "u" ? !1 : /^v?\.0/.test(Ie.process.version), gr = function(e) {
3881
+ }, Nd = typeof Ie.process > "u" ? !1 : /^v?\.0/.test(Ie.process.version), gr = function(e) {
3881
3882
  return typeof e == "function";
3882
- }, Nd = function(e) {
3883
- return !Cd || !Yn ? !1 : (e instanceof (Yn.ReadStream || bn) || e instanceof (Yn.WriteStream || bn)) && gr(e.close);
3884
3883
  }, Pd = function(e) {
3884
+ return !Nd || !Kn ? !1 : (e instanceof (Kn.ReadStream || bn) || e instanceof (Kn.WriteStream || bn)) && gr(e.close);
3885
+ }, Ld = function(e) {
3885
3886
  return e.setHeader && gr(e.abort);
3886
- }, Ld = function(e, t, n, r) {
3887
- r = xd(r);
3887
+ }, Md = function(e, t, n, r) {
3888
+ r = Od(r);
3888
3889
  var i = !1;
3889
3890
  e.on("close", function() {
3890
3891
  i = !0;
3891
- }), Od(e, { readable: t, writable: n }, function(s) {
3892
+ }), Cd(e, { readable: t, writable: n }, function(s) {
3892
3893
  if (s) return r(s);
3893
3894
  i = !0, r();
3894
3895
  });
3895
3896
  var o = !1;
3896
3897
  return function(s) {
3897
3898
  if (!i && !o) {
3898
- if (o = !0, Nd(e)) return e.close(bn);
3899
- if (Pd(e)) return e.abort();
3899
+ if (o = !0, Pd(e)) return e.close(bn);
3900
+ if (Ld(e)) return e.abort();
3900
3901
  if (gr(e.destroy)) return e.destroy();
3901
3902
  r(s || new Error("stream was destroyed"));
3902
3903
  }
3903
3904
  };
3904
3905
  }, Jo = function(e) {
3905
3906
  e();
3906
- }, Md = function(e, t) {
3907
+ }, Bd = function(e, t) {
3907
3908
  return e.pipe(t);
3908
- }, Bd = function() {
3909
+ }, $d = function() {
3909
3910
  var e = Array.prototype.slice.call(arguments), t = gr(e[e.length - 1] || bn) && e.pop() || bn;
3910
3911
  if (Array.isArray(e[0]) && (e = e[0]), e.length < 2) throw new Error("pump requires two streams per minimum");
3911
3912
  var n, r = e.map(function(i, o) {
3912
3913
  var s = o < e.length - 1, a = o > 0;
3913
- return Ld(i, s, a, function(f) {
3914
+ return Md(i, s, a, function(f) {
3914
3915
  n || (n = f), f && r.forEach(Jo), !s && (r.forEach(Jo), t(n));
3915
3916
  });
3916
3917
  });
3917
- return e.reduce(Md);
3918
- }, $d = Bd;
3919
- const Xo = /* @__PURE__ */ Kt($d);
3920
- function qn() {
3918
+ return e.reduce(Bd);
3919
+ }, Dd = $d;
3920
+ const Xo = /* @__PURE__ */ Kt(Dd);
3921
+ function Fn() {
3921
3922
  }
3922
3923
  const Qo = "SYN", ei = "ACK", es = "BRK";
3923
3924
  class ts extends hr.Duplex {
@@ -3935,14 +3936,14 @@ class ts extends hr.Duplex {
3935
3936
  this._init = !1, this._haveSyn = !1, this._name = n, this._target = r, this._targetWindow = i, this._targetOrigin = o, this._onMessage = this.onMessage.bind(this), this._synIntervalId = null, window.addEventListener("message", this._onMessage, !1), this._handShake();
3936
3937
  }
3937
3938
  _break() {
3938
- this.cork(), this._write(es, null, qn), this._haveSyn = !1, this._init = !1;
3939
+ this.cork(), this._write(es, null, Fn), this._haveSyn = !1, this._init = !1;
3939
3940
  }
3940
3941
  _handShake() {
3941
- this._write(Qo, null, qn), this.cork();
3942
+ this._write(Qo, null, Fn), this.cork();
3942
3943
  }
3943
3944
  _onData(t) {
3944
3945
  if (!this._init)
3945
- t === Qo ? (this._haveSyn = !0, this._write(ei, null, qn)) : t === ei && (this._init = !0, this._haveSyn || this._write(ei, null, qn), this.uncork());
3946
+ t === Qo ? (this._haveSyn = !0, this._write(ei, null, Fn)) : t === ei && (this._init = !0, this._haveSyn || this._write(ei, null, Fn), this.uncork());
3946
3947
  else if (t === es)
3947
3948
  this._break();
3948
3949
  else
@@ -3973,7 +3974,7 @@ class ts extends hr.Duplex {
3973
3974
  window.removeEventListener("message", this._onMessage, !1);
3974
3975
  }
3975
3976
  }
3976
- const Dd = {
3977
+ const jd = {
3977
3978
  rpc: {
3978
3979
  internal: -32603
3979
3980
  }
@@ -4042,7 +4043,7 @@ const Dd = {
4042
4043
  standard: "EIP-1193",
4043
4044
  message: "The provider is disconnected from the specified chain."
4044
4045
  }
4045
- }, rs = Dd.rpc.internal, jd = "Unspecified error message. This is a bug, please report it.";
4046
+ }, rs = jd.rpc.internal, kd = "Unspecified error message. This is a bug, please report it.";
4046
4047
  function Ea(e) {
4047
4048
  return Number.isInteger(e);
4048
4049
  }
@@ -4056,8 +4057,8 @@ function Sa(e) {
4056
4057
  const t = e;
4057
4058
  return !(!t || !Ea(t.code) || !is(t.message) || t.stack && !is(t.stack));
4058
4059
  }
4059
- function kd(e) {
4060
- let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : jd;
4060
+ function Wd(e) {
4061
+ let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : kd;
4061
4062
  if (Ea(e)) {
4062
4063
  const n = e.toString();
4063
4064
  if (Object.hasOwn(ns, n))
@@ -4065,9 +4066,9 @@ function kd(e) {
4065
4066
  }
4066
4067
  return t;
4067
4068
  }
4068
- const Wd = {
4069
+ const Ud = {
4069
4070
  code: rs,
4070
- message: kd(rs)
4071
+ message: Wd(rs)
4071
4072
  };
4072
4073
  function wi(e) {
4073
4074
  try {
@@ -4092,15 +4093,15 @@ function ss(e) {
4092
4093
  return wi(r) && (t[n] = r), t;
4093
4094
  }, {});
4094
4095
  }
4095
- function Ud(e) {
4096
+ function Fd(e) {
4096
4097
  return Array.isArray(e) ? e.map((t) => wi(t) ? t : os(t) ? ss(t) : null) : os(e) ? ss(e) : wi(e) ? e : null;
4097
4098
  }
4098
- function Fd(e, t) {
4099
+ function qd(e, t) {
4099
4100
  if (e && typeof e == "object" && "serialize" in e && typeof e.serialize == "function")
4100
4101
  return e.serialize();
4101
4102
  if (Sa(e))
4102
4103
  return e;
4103
- const n = Ud(e);
4104
+ const n = Fd(e);
4104
4105
  return je(je({}, t), {}, {
4105
4106
  data: {
4106
4107
  cause: n
@@ -4109,12 +4110,12 @@ function Fd(e, t) {
4109
4110
  }
4110
4111
  function as(e) {
4111
4112
  let {
4112
- fallbackError: t = Wd,
4113
+ fallbackError: t = Ud,
4113
4114
  shouldIncludeStack: n = !0
4114
4115
  } = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
4115
4116
  if (!Sa(t))
4116
4117
  throw new Error("Must provide fallback error with integer number code and string message.");
4117
- const r = Fd(e, t);
4118
+ const r = qd(e, t);
4118
4119
  return n || delete r.stack, r;
4119
4120
  }
4120
4121
  function ls(e, t, n) {
@@ -4126,13 +4127,13 @@ function ls(e, t, n) {
4126
4127
  });
4127
4128
  }
4128
4129
  }
4129
- function qd(e) {
4130
+ function Hd(e) {
4130
4131
  const t = e.length, n = new Array(t);
4131
4132
  for (let r = 0; r < t; r += 1)
4132
4133
  n[r] = e[r];
4133
4134
  return n;
4134
4135
  }
4135
- class pr extends yn.EventEmitter {
4136
+ class pr extends Al.EventEmitter {
4136
4137
  emit(t) {
4137
4138
  let n = t === "error";
4138
4139
  const r = this._events;
@@ -4155,7 +4156,7 @@ class pr extends yn.EventEmitter {
4155
4156
  if (typeof a == "function")
4156
4157
  ls(a, this, o);
4157
4158
  else {
4158
- const f = a.length, u = qd(a);
4159
+ const f = a.length, u = Hd(a);
4159
4160
  for (let g = 0; g < f; g += 1)
4160
4161
  ls(u[g], this, o);
4161
4162
  }
@@ -4176,7 +4177,7 @@ class ln extends Error {
4176
4177
  super(r), G(this, "code", void 0), G(this, "data", void 0), this.code = n, i !== void 0 && (this.data = i);
4177
4178
  }
4178
4179
  toString() {
4179
- return Rl({
4180
+ return Il({
4180
4181
  code: this.code,
4181
4182
  message: this.message,
4182
4183
  data: this.data,
@@ -4190,7 +4191,7 @@ const yi = function(e, t) {
4190
4191
  r || i.error ? t(r || i.error) : !n || Array.isArray(i) ? e(i) : e(i.result);
4191
4192
  };
4192
4193
  };
4193
- function Hd() {
4194
+ function zd() {
4194
4195
  const e = {};
4195
4196
  function t() {
4196
4197
  return !1;
@@ -4232,7 +4233,7 @@ function Hd() {
4232
4233
  stream: s
4233
4234
  };
4234
4235
  }
4235
- function zd() {
4236
+ function Gd() {
4236
4237
  return (e, t, n, r) => {
4237
4238
  const i = e.id, o = Math.random().toString(36).slice(2);
4238
4239
  e.id = o, t.id = o, n((s) => {
@@ -4474,7 +4475,7 @@ class tt extends pr {
4474
4475
  throw r;
4475
4476
  }
4476
4477
  }
4477
- class Gd extends hr.Duplex {
4478
+ class Vd extends hr.Duplex {
4478
4479
  constructor(t) {
4479
4480
  let {
4480
4481
  parent: n,
@@ -4504,7 +4505,7 @@ class Gd extends hr.Duplex {
4504
4505
  }
4505
4506
  }
4506
4507
  const us = Symbol("IGNORE_SUBSTREAM");
4507
- class Vd extends hr.Duplex {
4508
+ class Kd extends hr.Duplex {
4508
4509
  constructor() {
4509
4510
  let t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
4510
4511
  super(je(je({}, t), {}, {
@@ -4516,11 +4517,11 @@ class Vd extends hr.Duplex {
4516
4517
  throw new Error("ObjectMultiplex - name must not be empty");
4517
4518
  if (this._substreams[t])
4518
4519
  throw new Error(`ObjectMultiplex - Substream for name "${t}" already exists`);
4519
- const n = new Gd({
4520
+ const n = new Vd({
4520
4521
  parent: this,
4521
4522
  name: t
4522
4523
  });
4523
- return this._substreams[t] = n, Kd(this, (r) => n.destroy(r || void 0)), n;
4524
+ return this._substreams[t] = n, Yd(this, (r) => n.destroy(r || void 0)), n;
4524
4525
  }
4525
4526
  // ignore streams (dont display orphaned data warning)
4526
4527
  ignoreStream(t) {
@@ -4543,16 +4544,16 @@ class Vd extends hr.Duplex {
4543
4544
  return s ? (s !== us && s.push(o), r()) : (window.console.warn(`ObjectMultiplex - orphaned data for stream "${i}"`), r());
4544
4545
  }
4545
4546
  }
4546
- function Kd(e, t) {
4547
- const n = Sd(t);
4547
+ function Yd(e, t) {
4548
+ const n = vd(t);
4548
4549
  Zo(e, {
4549
4550
  readable: !1
4550
4551
  }, n), Zo(e, {
4551
4552
  writable: !1
4552
4553
  }, n);
4553
4554
  }
4554
- var er = { exports: {} };
4555
- er.exports;
4555
+ var Qn = { exports: {} };
4556
+ Qn.exports;
4556
4557
  (function(e, t) {
4557
4558
  var n = 200, r = "__lodash_hash_undefined__", i = 800, o = 16, s = 9007199254740991, a = "[object Arguments]", f = "[object Array]", u = "[object AsyncFunction]", g = "[object Boolean]", p = "[object Date]", v = "[object Error]", S = "[object Function]", R = "[object GeneratorFunction]", h = "[object Map]", w = "[object Number]", y = "[object Null]", x = "[object Object]", m = "[object Proxy]", j = "[object RegExp]", P = "[object Set]", B = "[object String]", H = "[object Undefined]", k = "[object WeakMap]", X = "[object ArrayBuffer]", Z = "[object DataView]", $ = "[object Float32Array]", D = "[object Float64Array]", T = "[object Int8Array]", ee = "[object Int16Array]", I = "[object Int32Array]", C = "[object Uint8Array]", F = "[object Uint8ClampedArray]", K = "[object Uint16Array]", V = "[object Uint32Array]", Q = /[\\^$.*+?()[\]{}|]/g, J = /^\[object .+?Constructor\]$/, le = /^(?:0|[1-9]\d*)$/, M = {};
4558
4559
  M[$] = M[D] = M[T] = M[ee] = M[I] = M[C] = M[F] = M[K] = M[V] = !0, M[a] = M[f] = M[X] = M[g] = M[Z] = M[p] = M[v] = M[S] = M[h] = M[w] = M[x] = M[j] = M[P] = M[B] = M[k] = !1;
@@ -4597,24 +4598,24 @@ er.exports;
4597
4598
  var oe = Array.prototype, fe = Function.prototype, re = Object.prototype, Le = be["__core-js_shared__"], Y = fe.toString, me = re.hasOwnProperty, Bt = function() {
4598
4599
  var d = /[^.]+$/.exec(Le && Le.keys && Le.keys.IE_PROTO || "");
4599
4600
  return d ? "Symbol(src)_1." + d : "";
4600
- }(), An = re.toString, Er = Y.call(Object), Rn = RegExp(
4601
+ }(), vn = re.toString, Er = Y.call(Object), An = RegExp(
4601
4602
  "^" + Y.call(me).replace(Q, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
4602
4603
  ), $t = ve ? be.Buffer : void 0, bt = be.Symbol, Jt = be.Uint8Array;
4603
4604
  $t && $t.allocUnsafe;
4604
- var wt = z(Object.getPrototypeOf, Object), In = Object.create, Sr = re.propertyIsEnumerable, Tn = oe.splice, Je = bt ? bt.toStringTag : void 0, Dt = function() {
4605
+ var wt = z(Object.getPrototypeOf, Object), Rn = Object.create, Sr = re.propertyIsEnumerable, In = oe.splice, Je = bt ? bt.toStringTag : void 0, Dt = function() {
4605
4606
  try {
4606
4607
  var d = xr(Object, "defineProperty");
4607
4608
  return d({}, "", {}), d;
4608
4609
  } catch {
4609
4610
  }
4610
- }(), vr = $t ? $t.isBuffer : void 0, Xt = Math.max, xn = Date.now, On = xr(be, "Map"), lt = xr(Object, "create"), Qt = /* @__PURE__ */ function() {
4611
+ }(), vr = $t ? $t.isBuffer : void 0, Xt = Math.max, Tn = Date.now, xn = xr(be, "Map"), lt = xr(Object, "create"), Qt = /* @__PURE__ */ function() {
4611
4612
  function d() {
4612
4613
  }
4613
4614
  return function(b) {
4614
4615
  if (!_t(b))
4615
4616
  return {};
4616
- if (In)
4617
- return In(b);
4617
+ if (Rn)
4618
+ return Rn(b);
4618
4619
  d.prototype = b;
4619
4620
  var A = new d();
4620
4621
  return d.prototype = void 0, A;
@@ -4634,7 +4635,7 @@ er.exports;
4634
4635
  var b = this.has(d) && delete this.__data__[d];
4635
4636
  return this.size -= b ? 1 : 0, b;
4636
4637
  }
4637
- function Cn(d) {
4638
+ function On(d) {
4638
4639
  var b = this.__data__;
4639
4640
  if (lt) {
4640
4641
  var A = b[d];
@@ -4650,7 +4651,7 @@ er.exports;
4650
4651
  var A = this.__data__;
4651
4652
  return this.size += this.has(d) ? 0 : 1, A[d] = lt && b === void 0 ? r : b, this;
4652
4653
  }
4653
- Xe.prototype.clear = Ar, Xe.prototype.delete = en, Xe.prototype.get = Cn, Xe.prototype.has = l, Xe.prototype.set = c;
4654
+ Xe.prototype.clear = Ar, Xe.prototype.delete = en, Xe.prototype.get = On, Xe.prototype.has = l, Xe.prototype.set = c;
4654
4655
  function N(d) {
4655
4656
  var b = -1, A = d == null ? 0 : d.length;
4656
4657
  for (this.clear(); ++b < A; ) {
@@ -4662,24 +4663,24 @@ er.exports;
4662
4663
  this.__data__ = [], this.size = 0;
4663
4664
  }
4664
4665
  function U(d) {
4665
- var b = this.__data__, A = Bn(b, d);
4666
+ var b = this.__data__, A = Mn(b, d);
4666
4667
  if (A < 0)
4667
4668
  return !1;
4668
4669
  var q = b.length - 1;
4669
- return A == q ? b.pop() : Tn.call(b, A, 1), --this.size, !0;
4670
+ return A == q ? b.pop() : In.call(b, A, 1), --this.size, !0;
4670
4671
  }
4671
4672
  function ye(d) {
4672
- var b = this.__data__, A = Bn(b, d);
4673
+ var b = this.__data__, A = Mn(b, d);
4673
4674
  return A < 0 ? void 0 : b[A][1];
4674
4675
  }
4675
4676
  function Oe(d) {
4676
- return Bn(this.__data__, d) > -1;
4677
+ return Mn(this.__data__, d) > -1;
4677
4678
  }
4678
- function Nn(d, b) {
4679
- var A = this.__data__, q = Bn(A, d);
4679
+ function Cn(d, b) {
4680
+ var A = this.__data__, q = Mn(A, d);
4680
4681
  return q < 0 ? (++this.size, A.push([d, b])) : A[q][1] = b, this;
4681
4682
  }
4682
- N.prototype.clear = L, N.prototype.delete = U, N.prototype.get = ye, N.prototype.has = Oe, N.prototype.set = Nn;
4683
+ N.prototype.clear = L, N.prototype.delete = U, N.prototype.get = ye, N.prototype.has = Oe, N.prototype.set = Cn;
4683
4684
  function Ce(d) {
4684
4685
  var b = -1, A = d == null ? 0 : d.length;
4685
4686
  for (this.clear(); ++b < A; ) {
@@ -4687,28 +4688,28 @@ er.exports;
4687
4688
  this.set(q[0], q[1]);
4688
4689
  }
4689
4690
  }
4690
- function Pn() {
4691
+ function Nn() {
4691
4692
  this.size = 0, this.__data__ = {
4692
4693
  hash: new Xe(),
4693
- map: new (On || N)(),
4694
+ map: new (xn || N)(),
4694
4695
  string: new Xe()
4695
4696
  };
4696
4697
  }
4697
4698
  function Rr(d) {
4698
- var b = Dn(this, d).delete(d);
4699
+ var b = $n(this, d).delete(d);
4699
4700
  return this.size -= b ? 1 : 0, b;
4700
4701
  }
4701
- function Ln(d) {
4702
- return Dn(this, d).get(d);
4702
+ function Pn(d) {
4703
+ return $n(this, d).get(d);
4703
4704
  }
4704
- function Mn(d) {
4705
- return Dn(this, d).has(d);
4705
+ function Ln(d) {
4706
+ return $n(this, d).has(d);
4706
4707
  }
4707
4708
  function tn(d, b) {
4708
- var A = Dn(this, d), q = A.size;
4709
+ var A = $n(this, d), q = A.size;
4709
4710
  return A.set(d, b), this.size += A.size == q ? 0 : 1, this;
4710
4711
  }
4711
- Ce.prototype.clear = Pn, Ce.prototype.delete = Rr, Ce.prototype.get = Ln, Ce.prototype.has = Mn, Ce.prototype.set = tn;
4712
+ Ce.prototype.clear = Nn, Ce.prototype.delete = Rr, Ce.prototype.get = Pn, Ce.prototype.has = Ln, Ce.prototype.set = tn;
4712
4713
  function ze(d) {
4713
4714
  var b = this.__data__ = new N(d);
4714
4715
  this.size = b.size;
@@ -4730,7 +4731,7 @@ er.exports;
4730
4731
  var A = this.__data__;
4731
4732
  if (A instanceof N) {
4732
4733
  var q = A.__data__;
4733
- if (!On || q.length < n - 1)
4734
+ if (!xn || q.length < n - 1)
4734
4735
  return q.push([d, b]), this.size = ++A.size, this;
4735
4736
  A = this.__data__ = new Ce(q);
4736
4737
  }
@@ -4748,15 +4749,15 @@ er.exports;
4748
4749
  return ie;
4749
4750
  }
4750
4751
  function Ir(d, b, A) {
4751
- (A !== void 0 && !jn(d[b], A) || A === void 0 && !(b in d)) && Tr(d, b, A);
4752
+ (A !== void 0 && !Dn(d[b], A) || A === void 0 && !(b in d)) && Tr(d, b, A);
4752
4753
  }
4753
4754
  function Ha(d, b, A) {
4754
4755
  var q = d[b];
4755
- (!(me.call(d, b) && jn(q, A)) || A === void 0 && !(b in d)) && Tr(d, b, A);
4756
+ (!(me.call(d, b) && Dn(q, A)) || A === void 0 && !(b in d)) && Tr(d, b, A);
4756
4757
  }
4757
- function Bn(d, b) {
4758
+ function Mn(d, b) {
4758
4759
  for (var A = d.length; A--; )
4759
- if (jn(d[A][0], b))
4760
+ if (Dn(d[A][0], b))
4760
4761
  return A;
4761
4762
  return -1;
4762
4763
  }
@@ -4769,20 +4770,20 @@ er.exports;
4769
4770
  }) : d[b] = A;
4770
4771
  }
4771
4772
  var za = il();
4772
- function $n(d) {
4773
+ function Bn(d) {
4773
4774
  return d == null ? d === void 0 ? H : y : Je && Je in Object(d) ? ol(d) : dl(d);
4774
4775
  }
4775
4776
  function Zi(d) {
4776
- return rn(d) && $n(d) == a;
4777
+ return rn(d) && Bn(d) == a;
4777
4778
  }
4778
4779
  function Ga(d) {
4779
4780
  if (!_t(d) || ul(d))
4780
4781
  return !1;
4781
- var b = Lr(d) ? Rn : J;
4782
+ var b = Lr(d) ? An : J;
4782
4783
  return b.test(pl(d));
4783
4784
  }
4784
4785
  function Va(d) {
4785
- return rn(d) && to(d.length) && !!M[$n(d)];
4786
+ return rn(d) && to(d.length) && !!M[Bn(d)];
4786
4787
  }
4787
4788
  function Ka(d) {
4788
4789
  if (!_t(d))
@@ -4872,7 +4873,7 @@ er.exports;
4872
4873
  return b;
4873
4874
  };
4874
4875
  }
4875
- function Dn(d, b) {
4876
+ function $n(d, b) {
4876
4877
  var A = d.__data__;
4877
4878
  return ll(b) ? A[typeof b == "string" ? "string" : "hash"] : A.map;
4878
4879
  }
@@ -4887,7 +4888,7 @@ er.exports;
4887
4888
  var q = !0;
4888
4889
  } catch {
4889
4890
  }
4890
- var ne = An.call(d);
4891
+ var ne = vn.call(d);
4891
4892
  return q && (b ? d[Je] = A : delete d[Je]), ne;
4892
4893
  }
4893
4894
  function sl(d) {
@@ -4901,7 +4902,7 @@ er.exports;
4901
4902
  if (!_t(A))
4902
4903
  return !1;
4903
4904
  var q = typeof b;
4904
- return (q == "number" ? Pr(A) && Xi(b, A.length) : q == "string" && b in A) ? jn(A[b], d) : !1;
4905
+ return (q == "number" ? Pr(A) && Xi(b, A.length) : q == "string" && b in A) ? Dn(A[b], d) : !1;
4905
4906
  }
4906
4907
  function ll(d) {
4907
4908
  var b = typeof d;
@@ -4922,7 +4923,7 @@ er.exports;
4922
4923
  return b;
4923
4924
  }
4924
4925
  function dl(d) {
4925
- return An.call(d);
4926
+ return vn.call(d);
4926
4927
  }
4927
4928
  function cl(d, b, A) {
4928
4929
  return b = Xt(b === void 0 ? d.length - 1 : b, 0), function() {
@@ -4942,7 +4943,7 @@ er.exports;
4942
4943
  function gl(d) {
4943
4944
  var b = 0, A = 0;
4944
4945
  return function() {
4945
- var q = xn(), ne = o - (q - A);
4946
+ var q = Tn(), ne = o - (q - A);
4946
4947
  if (A = q, ne > 0) {
4947
4948
  if (++b >= i)
4948
4949
  return arguments[0];
@@ -4964,7 +4965,7 @@ er.exports;
4964
4965
  }
4965
4966
  return "";
4966
4967
  }
4967
- function jn(d, b) {
4968
+ function Dn(d, b) {
4968
4969
  return d === b || d !== d && b !== b;
4969
4970
  }
4970
4971
  var Cr = Zi(/* @__PURE__ */ function() {
@@ -4982,7 +4983,7 @@ er.exports;
4982
4983
  function Lr(d) {
4983
4984
  if (!_t(d))
4984
4985
  return !1;
4985
- var b = $n(d);
4986
+ var b = Bn(d);
4986
4987
  return b == S || b == R || b == u || b == m;
4987
4988
  }
4988
4989
  function to(d) {
@@ -4996,7 +4997,7 @@ er.exports;
4996
4997
  return d != null && typeof d == "object";
4997
4998
  }
4998
4999
  function wl(d) {
4999
- if (!rn(d) || $n(d) != x)
5000
+ if (!rn(d) || Bn(d) != x)
5000
5001
  return !1;
5001
5002
  var b = wt(d);
5002
5003
  if (b === null)
@@ -5026,8 +5027,8 @@ er.exports;
5026
5027
  return !1;
5027
5028
  }
5028
5029
  e.exports = _l;
5029
- })(er, er.exports);
5030
- er.exports;
5030
+ })(Qn, Qn.exports);
5031
+ Qn.exports;
5031
5032
  var va = { exports: {} };
5032
5033
  (function(e) {
5033
5034
  (function(t, n) {
@@ -5175,33 +5176,33 @@ var va = { exports: {} };
5175
5176
  });
5176
5177
  })(va);
5177
5178
  var Aa = va.exports;
5178
- const tr = /* @__PURE__ */ Kt(Aa), Yd = tr.getLogger("http-helpers");
5179
- Yd.setLevel(Aa.levels.INFO);
5179
+ const er = /* @__PURE__ */ Kt(Aa), Zd = er.getLogger("http-helpers");
5180
+ Zd.setLevel(Aa.levels.INFO);
5180
5181
  function fs(e) {
5181
5182
  if (!Number.isSafeInteger(e) || e < 0)
5182
5183
  throw new Error(`positive integer expected, not ${e}`);
5183
5184
  }
5184
- function Zd(e) {
5185
+ function Jd(e) {
5185
5186
  return e instanceof Uint8Array || e != null && typeof e == "object" && e.constructor.name === "Uint8Array";
5186
5187
  }
5187
5188
  function br(e, ...t) {
5188
- if (!Zd(e))
5189
+ if (!Jd(e))
5189
5190
  throw new Error("Uint8Array expected");
5190
5191
  if (t.length > 0 && !t.includes(e.length))
5191
5192
  throw new Error(`Uint8Array expected of length ${t}, not of length=${e.length}`);
5192
5193
  }
5193
- function Jd(e) {
5194
+ function Xd(e) {
5194
5195
  if (typeof e != "function" || typeof e.create != "function")
5195
5196
  throw new Error("Hash should be wrapped by utils.wrapConstructor");
5196
5197
  fs(e.outputLen), fs(e.blockLen);
5197
5198
  }
5198
- function nr(e, t = !0) {
5199
+ function tr(e, t = !0) {
5199
5200
  if (e.destroyed)
5200
5201
  throw new Error("Hash instance has been destroyed");
5201
5202
  if (t && e.finished)
5202
5203
  throw new Error("Hash#digest() has already been called");
5203
5204
  }
5204
- function Xd(e, t) {
5205
+ function Qd(e, t) {
5205
5206
  br(e);
5206
5207
  const n = t.outputLen;
5207
5208
  if (e.length < n)
@@ -5211,15 +5212,15 @@ const ti = typeof globalThis == "object" && "crypto" in globalThis ? globalThis.
5211
5212
  /*! noble-hashes - MIT License (c) 2022 Paul Miller (paulmillr.com) */
5212
5213
  const ni = (e) => new DataView(e.buffer, e.byteOffset, e.byteLength), Ge = (e, t) => e << 32 - t | e >>> t;
5213
5214
  new Uint8Array(new Uint32Array([287454020]).buffer)[0];
5214
- function Qd(e) {
5215
+ function ec(e) {
5215
5216
  if (typeof e != "string")
5216
5217
  throw new Error(`utf8ToBytes expected string, got ${typeof e}`);
5217
5218
  return new Uint8Array(new TextEncoder().encode(e));
5218
5219
  }
5219
5220
  function Wi(e) {
5220
- return typeof e == "string" && (e = Qd(e)), br(e), e;
5221
+ return typeof e == "string" && (e = ec(e)), br(e), e;
5221
5222
  }
5222
- function ec(...e) {
5223
+ function tc(...e) {
5223
5224
  let t = 0;
5224
5225
  for (let r = 0; r < e.length; r++) {
5225
5226
  const i = e[r];
@@ -5238,28 +5239,28 @@ class Ra {
5238
5239
  return this._cloneInto();
5239
5240
  }
5240
5241
  }
5241
- function tc(e) {
5242
+ function nc(e) {
5242
5243
  const t = (r) => e().update(Wi(r)).digest(), n = e();
5243
5244
  return t.outputLen = n.outputLen, t.blockLen = n.blockLen, t.create = () => e(), t;
5244
5245
  }
5245
- function nc(e = 32) {
5246
+ function rc(e = 32) {
5246
5247
  if (ti && typeof ti.getRandomValues == "function")
5247
5248
  return ti.getRandomValues(new Uint8Array(e));
5248
5249
  throw new Error("crypto.getRandomValues must be defined");
5249
5250
  }
5250
- function rc(e, t, n, r) {
5251
+ function ic(e, t, n, r) {
5251
5252
  if (typeof e.setBigUint64 == "function")
5252
5253
  return e.setBigUint64(t, n, r);
5253
5254
  const i = BigInt(32), o = BigInt(4294967295), s = Number(n >> i & o), a = Number(n & o), f = r ? 4 : 0, u = r ? 0 : 4;
5254
5255
  e.setUint32(t + f, s, r), e.setUint32(t + u, a, r);
5255
5256
  }
5256
- const ic = (e, t, n) => e & t ^ ~e & n, oc = (e, t, n) => e & t ^ e & n ^ t & n;
5257
- class sc extends Ra {
5257
+ const oc = (e, t, n) => e & t ^ ~e & n, sc = (e, t, n) => e & t ^ e & n ^ t & n;
5258
+ class ac extends Ra {
5258
5259
  constructor(t, n, r, i) {
5259
5260
  super(), this.blockLen = t, this.outputLen = n, this.padOffset = r, this.isLE = i, this.finished = !1, this.length = 0, this.pos = 0, this.destroyed = !1, this.buffer = new Uint8Array(t), this.view = ni(this.buffer);
5260
5261
  }
5261
5262
  update(t) {
5262
- nr(this);
5263
+ tr(this);
5263
5264
  const { view: n, buffer: r, blockLen: i } = this;
5264
5265
  t = Wi(t);
5265
5266
  const o = t.length;
@@ -5276,13 +5277,13 @@ class sc extends Ra {
5276
5277
  return this.length += t.length, this.roundClean(), this;
5277
5278
  }
5278
5279
  digestInto(t) {
5279
- nr(this), Xd(t, this), this.finished = !0;
5280
+ tr(this), Qd(t, this), this.finished = !0;
5280
5281
  const { buffer: n, view: r, blockLen: i, isLE: o } = this;
5281
5282
  let { pos: s } = this;
5282
5283
  n[s++] = 128, this.buffer.subarray(s).fill(0), this.padOffset > i - s && (this.process(r, 0), s = 0);
5283
5284
  for (let p = s; p < i; p++)
5284
5285
  n[p] = 0;
5285
- rc(r, i - 8, BigInt(this.length * 8), o), this.process(r, 0);
5286
+ ic(r, i - 8, BigInt(this.length * 8), o), this.process(r, 0);
5286
5287
  const a = ni(t), f = this.outputLen;
5287
5288
  if (f % 4)
5288
5289
  throw new Error("_sha2: outputLen should be aligned to 32bit");
@@ -5304,7 +5305,7 @@ class sc extends Ra {
5304
5305
  return t.length = i, t.pos = a, t.finished = o, t.destroyed = s, i % n && t.buffer.set(r), t;
5305
5306
  }
5306
5307
  }
5307
- const ac = /* @__PURE__ */ new Uint32Array([
5308
+ const lc = /* @__PURE__ */ new Uint32Array([
5308
5309
  1116352408,
5309
5310
  1899447441,
5310
5311
  3049323471,
@@ -5379,7 +5380,7 @@ const ac = /* @__PURE__ */ new Uint32Array([
5379
5380
  528734635,
5380
5381
  1541459225
5381
5382
  ]), ft = /* @__PURE__ */ new Uint32Array(64);
5382
- class lc extends sc {
5383
+ class uc extends ac {
5383
5384
  constructor() {
5384
5385
  super(64, 32, 8, !1), this.A = ut[0] | 0, this.B = ut[1] | 0, this.C = ut[2] | 0, this.D = ut[3] | 0, this.E = ut[4] | 0, this.F = ut[5] | 0, this.G = ut[6] | 0, this.H = ut[7] | 0;
5385
5386
  }
@@ -5400,7 +5401,7 @@ class lc extends sc {
5400
5401
  }
5401
5402
  let { A: r, B: i, C: o, D: s, E: a, F: f, G: u, H: g } = this;
5402
5403
  for (let p = 0; p < 64; p++) {
5403
- const v = Ge(a, 6) ^ Ge(a, 11) ^ Ge(a, 25), S = g + v + ic(a, f, u) + ac[p] + ft[p] | 0, h = (Ge(r, 2) ^ Ge(r, 13) ^ Ge(r, 22)) + oc(r, i, o) | 0;
5404
+ const v = Ge(a, 6) ^ Ge(a, 11) ^ Ge(a, 25), S = g + v + oc(a, f, u) + lc[p] + ft[p] | 0, h = (Ge(r, 2) ^ Ge(r, 13) ^ Ge(r, 22)) + sc(r, i, o) | 0;
5404
5405
  g = u, u = f, f = a, a = s + S | 0, s = o, o = i, i = r, r = S + h | 0;
5405
5406
  }
5406
5407
  r = r + this.A | 0, i = i + this.B | 0, o = o + this.C | 0, s = s + this.D | 0, a = a + this.E | 0, f = f + this.F | 0, u = u + this.G | 0, g = g + this.H | 0, this.set(r, i, o, s, a, f, u, g);
@@ -5412,10 +5413,10 @@ class lc extends sc {
5412
5413
  this.set(0, 0, 0, 0, 0, 0, 0, 0), this.buffer.fill(0);
5413
5414
  }
5414
5415
  }
5415
- const uc = /* @__PURE__ */ tc(() => new lc());
5416
+ const fc = /* @__PURE__ */ nc(() => new uc());
5416
5417
  class Ia extends Ra {
5417
5418
  constructor(t, n) {
5418
- super(), this.finished = !1, this.destroyed = !1, Jd(t);
5419
+ super(), this.finished = !1, this.destroyed = !1, Xd(t);
5419
5420
  const r = Wi(n);
5420
5421
  if (this.iHash = t.create(), typeof this.iHash.update != "function")
5421
5422
  throw new Error("Expected instance of class which extends utils.Hash");
@@ -5430,10 +5431,10 @@ class Ia extends Ra {
5430
5431
  this.oHash.update(o), o.fill(0);
5431
5432
  }
5432
5433
  update(t) {
5433
- return nr(this), this.iHash.update(t), this;
5434
+ return tr(this), this.iHash.update(t), this;
5434
5435
  }
5435
5436
  digestInto(t) {
5436
- nr(this), br(t, this.outputLen), this.finished = !0, this.iHash.digestInto(t), this.oHash.update(t), this.oHash.digestInto(t), this.destroy();
5437
+ tr(this), br(t, this.outputLen), this.finished = !0, this.iHash.digestInto(t), this.oHash.update(t), this.oHash.digestInto(t), this.destroy();
5437
5438
  }
5438
5439
  digest() {
5439
5440
  const t = new Uint8Array(this.oHash.outputLen);
@@ -5451,20 +5452,20 @@ class Ia extends Ra {
5451
5452
  const Ta = (e, t, n) => new Ia(e, t).update(n).digest();
5452
5453
  Ta.create = (e, t) => new Ia(e, t);
5453
5454
  /*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */
5454
- const xa = /* @__PURE__ */ BigInt(0), wr = /* @__PURE__ */ BigInt(1), fc = /* @__PURE__ */ BigInt(2);
5455
+ const xa = /* @__PURE__ */ BigInt(0), wr = /* @__PURE__ */ BigInt(1), dc = /* @__PURE__ */ BigInt(2);
5455
5456
  function xt(e) {
5456
5457
  return e instanceof Uint8Array || e != null && typeof e == "object" && e.constructor.name === "Uint8Array";
5457
5458
  }
5458
- function En(e) {
5459
+ function mn(e) {
5459
5460
  if (!xt(e))
5460
5461
  throw new Error("Uint8Array expected");
5461
5462
  }
5462
- const dc = /* @__PURE__ */ Array.from({ length: 256 }, (e, t) => t.toString(16).padStart(2, "0"));
5463
+ const cc = /* @__PURE__ */ Array.from({ length: 256 }, (e, t) => t.toString(16).padStart(2, "0"));
5463
5464
  function zt(e) {
5464
- En(e);
5465
+ mn(e);
5465
5466
  let t = "";
5466
5467
  for (let n = 0; n < e.length; n++)
5467
- t += dc[e[n]];
5468
+ t += cc[e[n]];
5468
5469
  return t;
5469
5470
  }
5470
5471
  function Oa(e) {
@@ -5506,7 +5507,7 @@ function It(e) {
5506
5507
  return Ui(zt(e));
5507
5508
  }
5508
5509
  function Fi(e) {
5509
- return En(e), Ui(zt(Uint8Array.from(e).reverse()));
5510
+ return mn(e), Ui(zt(Uint8Array.from(e).reverse()));
5510
5511
  }
5511
5512
  function Vt(e, t) {
5512
5513
  return Gt(e.toString(16).padStart(t * 2, "0"));
@@ -5514,7 +5515,7 @@ function Vt(e, t) {
5514
5515
  function qi(e, t) {
5515
5516
  return Vt(e, t).reverse();
5516
5517
  }
5517
- function cc(e) {
5518
+ function hc(e) {
5518
5519
  return Gt(Oa(e));
5519
5520
  }
5520
5521
  function He(e, t, n) {
@@ -5538,7 +5539,7 @@ function wn(...e) {
5538
5539
  let t = 0;
5539
5540
  for (let r = 0; r < e.length; r++) {
5540
5541
  const i = e[r];
5541
- En(i), t += i.length;
5542
+ mn(i), t += i.length;
5542
5543
  }
5543
5544
  const n = new Uint8Array(t);
5544
5545
  for (let r = 0, i = 0; r < e.length; r++) {
@@ -5547,7 +5548,7 @@ function wn(...e) {
5547
5548
  }
5548
5549
  return n;
5549
5550
  }
5550
- function hc(e, t) {
5551
+ function gc(e, t) {
5551
5552
  if (e.length !== t.length)
5552
5553
  return !1;
5553
5554
  let n = 0;
@@ -5555,24 +5556,24 @@ function hc(e, t) {
5555
5556
  n |= e[r] ^ t[r];
5556
5557
  return n === 0;
5557
5558
  }
5558
- function gc(e) {
5559
+ function pc(e) {
5559
5560
  if (typeof e != "string")
5560
5561
  throw new Error(`utf8ToBytes expected string, got ${typeof e}`);
5561
5562
  return new Uint8Array(new TextEncoder().encode(e));
5562
5563
  }
5563
- function pc(e) {
5564
+ function bc(e) {
5564
5565
  let t;
5565
5566
  for (t = 0; e > xa; e >>= wr, t += 1)
5566
5567
  ;
5567
5568
  return t;
5568
5569
  }
5569
- function bc(e, t) {
5570
+ function wc(e, t) {
5570
5571
  return e >> BigInt(t) & wr;
5571
5572
  }
5572
- function wc(e, t, n) {
5573
+ function yc(e, t, n) {
5573
5574
  return e | (n ? wr : xa) << BigInt(t);
5574
5575
  }
5575
- const Hi = (e) => (fc << BigInt(e - 1)) - wr, ri = (e) => new Uint8Array(e), cs = (e) => Uint8Array.from(e);
5576
+ const Hi = (e) => (dc << BigInt(e - 1)) - wr, ri = (e) => new Uint8Array(e), cs = (e) => Uint8Array.from(e);
5576
5577
  function Ca(e, t, n) {
5577
5578
  if (typeof e != "number" || e < 2)
5578
5579
  throw new Error("hashLen must be a number");
@@ -5605,7 +5606,7 @@ function Ca(e, t, n) {
5605
5606
  return s(), S;
5606
5607
  };
5607
5608
  }
5608
- const yc = {
5609
+ const _c = {
5609
5610
  bigint: (e) => typeof e == "bigint",
5610
5611
  function: (e) => typeof e == "function",
5611
5612
  boolean: (e) => typeof e == "boolean",
@@ -5616,9 +5617,9 @@ const yc = {
5616
5617
  field: (e, t) => t.Fp.isValid(e),
5617
5618
  hash: (e) => typeof e == "function" && Number.isSafeInteger(e.outputLen)
5618
5619
  };
5619
- function Sn(e, t, n = {}) {
5620
+ function En(e, t, n = {}) {
5620
5621
  const r = (i, o, s) => {
5621
- const a = yc[o];
5622
+ const a = _c[o];
5622
5623
  if (typeof a != "function")
5623
5624
  throw new Error(`Invalid validator "${o}", expected function`);
5624
5625
  const f = e[i];
@@ -5631,39 +5632,39 @@ function Sn(e, t, n = {}) {
5631
5632
  r(i, o, !0);
5632
5633
  return e;
5633
5634
  }
5634
- const _c = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5635
+ const mc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5635
5636
  __proto__: null,
5636
- abytes: En,
5637
- bitGet: bc,
5638
- bitLen: pc,
5637
+ abytes: mn,
5638
+ bitGet: wc,
5639
+ bitLen: bc,
5639
5640
  bitMask: Hi,
5640
- bitSet: wc,
5641
+ bitSet: yc,
5641
5642
  bytesToHex: zt,
5642
5643
  bytesToNumberBE: It,
5643
5644
  bytesToNumberLE: Fi,
5644
5645
  concatBytes: wn,
5645
5646
  createHmacDrbg: Ca,
5646
5647
  ensureBytes: He,
5647
- equalBytes: hc,
5648
+ equalBytes: gc,
5648
5649
  hexToBytes: Gt,
5649
5650
  hexToNumber: Ui,
5650
5651
  isBytes: xt,
5651
5652
  numberToBytesBE: Vt,
5652
5653
  numberToBytesLE: qi,
5653
5654
  numberToHexUnpadded: Oa,
5654
- numberToVarBytesBE: cc,
5655
- utf8ToBytes: gc,
5656
- validateObject: Sn
5655
+ numberToVarBytesBE: hc,
5656
+ utf8ToBytes: pc,
5657
+ validateObject: En
5657
5658
  }, Symbol.toStringTag, { value: "Module" }));
5658
5659
  /*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */
5659
- const _e = BigInt(0), pe = BigInt(1), St = BigInt(2), mc = BigInt(3), _i = BigInt(4), hs = BigInt(5), gs = BigInt(8);
5660
+ const _e = BigInt(0), pe = BigInt(1), St = BigInt(2), Ec = BigInt(3), _i = BigInt(4), hs = BigInt(5), gs = BigInt(8);
5660
5661
  BigInt(9);
5661
5662
  BigInt(16);
5662
5663
  function Ne(e, t) {
5663
5664
  const n = e % t;
5664
5665
  return n >= _e ? n : t + n;
5665
5666
  }
5666
- function Ec(e, t, n) {
5667
+ function Sc(e, t, n) {
5667
5668
  if (n <= _e || t < _e)
5668
5669
  throw new Error("Expected power/modulo > 0");
5669
5670
  if (n === pe)
@@ -5691,12 +5692,12 @@ function mi(e, t) {
5691
5692
  throw new Error("invert: does not exist");
5692
5693
  return Ne(i, t);
5693
5694
  }
5694
- function Sc(e) {
5695
+ function vc(e) {
5695
5696
  const t = (e - pe) / St;
5696
5697
  let n, r, i;
5697
5698
  for (n = e - pe, r = 0; n % St === _e; n /= St, r++)
5698
5699
  ;
5699
- for (i = St; i < e && Ec(i, t, e) !== e - pe; i++)
5700
+ for (i = St; i < e && Sc(i, t, e) !== e - pe; i++)
5700
5701
  ;
5701
5702
  if (r === 1) {
5702
5703
  const s = (e + pe) / _i;
@@ -5724,8 +5725,8 @@ function Sc(e) {
5724
5725
  return p;
5725
5726
  };
5726
5727
  }
5727
- function vc(e) {
5728
- if (e % _i === mc) {
5728
+ function Ac(e) {
5729
+ if (e % _i === Ec) {
5729
5730
  const t = (e + pe) / _i;
5730
5731
  return function(r, i) {
5731
5732
  const o = r.pow(i, t);
@@ -5743,9 +5744,9 @@ function vc(e) {
5743
5744
  return u;
5744
5745
  };
5745
5746
  }
5746
- return Sc(e);
5747
+ return vc(e);
5747
5748
  }
5748
- const Ac = [
5749
+ const Rc = [
5749
5750
  "create",
5750
5751
  "isValid",
5751
5752
  "is0",
@@ -5764,16 +5765,16 @@ const Ac = [
5764
5765
  "mulN",
5765
5766
  "sqrN"
5766
5767
  ];
5767
- function Rc(e) {
5768
+ function Ic(e) {
5768
5769
  const t = {
5769
5770
  ORDER: "bigint",
5770
5771
  MASK: "bigint",
5771
5772
  BYTES: "isSafeInteger",
5772
5773
  BITS: "isSafeInteger"
5773
- }, n = Ac.reduce((r, i) => (r[i] = "function", r), t);
5774
- return Sn(e, n);
5774
+ }, n = Rc.reduce((r, i) => (r[i] = "function", r), t);
5775
+ return En(e, n);
5775
5776
  }
5776
- function Ic(e, t, n) {
5777
+ function Tc(e, t, n) {
5777
5778
  if (n < _e)
5778
5779
  throw new Error("Expected power > 0");
5779
5780
  if (n === _e)
@@ -5785,7 +5786,7 @@ function Ic(e, t, n) {
5785
5786
  n & pe && (r = e.mul(r, i)), i = e.sqr(i), n >>= pe;
5786
5787
  return r;
5787
5788
  }
5788
- function Tc(e, t) {
5789
+ function xc(e, t) {
5789
5790
  const n = new Array(t.length), r = t.reduce((o, s, a) => e.is0(s) ? o : (n[a] = o, e.mul(o, s)), e.ONE), i = e.inv(r);
5790
5791
  return t.reduceRight((o, s, a) => e.is0(s) ? o : (n[a] = e.mul(o, n[a]), e.mul(o, s)), i), n;
5791
5792
  }
@@ -5793,13 +5794,13 @@ function Na(e, t) {
5793
5794
  const n = t !== void 0 ? t : e.toString(2).length, r = Math.ceil(n / 8);
5794
5795
  return { nBitLength: n, nByteLength: r };
5795
5796
  }
5796
- function xc(e, t, n = !1, r = {}) {
5797
+ function Oc(e, t, n = !1, r = {}) {
5797
5798
  if (e <= _e)
5798
5799
  throw new Error(`Expected Field ORDER > 0, got ${e}`);
5799
5800
  const { nBitLength: i, nByteLength: o } = Na(e, t);
5800
5801
  if (o > 2048)
5801
5802
  throw new Error("Field lengths over 2048 bytes are not supported");
5802
- const s = vc(e), a = Object.freeze({
5803
+ const s = Ac(e), a = Object.freeze({
5803
5804
  ORDER: e,
5804
5805
  BITS: i,
5805
5806
  BYTES: o,
@@ -5820,7 +5821,7 @@ function xc(e, t, n = !1, r = {}) {
5820
5821
  add: (f, u) => Ne(f + u, e),
5821
5822
  sub: (f, u) => Ne(f - u, e),
5822
5823
  mul: (f, u) => Ne(f * u, e),
5823
- pow: (f, u) => Ic(a, f, u),
5824
+ pow: (f, u) => Tc(a, f, u),
5824
5825
  div: (f, u) => Ne(f * mi(u, e), e),
5825
5826
  // Same as above, but doesn't normalize
5826
5827
  sqrN: (f) => f * f,
@@ -5829,7 +5830,7 @@ function xc(e, t, n = !1, r = {}) {
5829
5830
  mulN: (f, u) => f * u,
5830
5831
  inv: (f) => mi(f, e),
5831
5832
  sqrt: r.sqrt || ((f) => s(a, f)),
5832
- invertBatch: (f) => Tc(a, f),
5833
+ invertBatch: (f) => xc(a, f),
5833
5834
  // TODO: do we really need constant cmov?
5834
5835
  // We don't have const-time bigints anyway, so probably will be not very useful
5835
5836
  cmov: (f, u, g) => g ? u : f,
@@ -5852,7 +5853,7 @@ function La(e) {
5852
5853
  const t = Pa(e);
5853
5854
  return t + Math.ceil(t / 2);
5854
5855
  }
5855
- function Oc(e, t, n = !1) {
5856
+ function Cc(e, t, n = !1) {
5856
5857
  const r = e.length, i = Pa(t), o = La(t);
5857
5858
  if (r < 16 || r < o || r > 1024)
5858
5859
  throw new Error(`expected ${o}-1024 bytes of input, got ${r}`);
@@ -5860,8 +5861,8 @@ function Oc(e, t, n = !1) {
5860
5861
  return n ? qi(a, i) : Vt(a, i);
5861
5862
  }
5862
5863
  /*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */
5863
- const Cc = BigInt(0), ii = BigInt(1);
5864
- function Nc(e, t) {
5864
+ const Nc = BigInt(0), ii = BigInt(1);
5865
+ function Pc(e, t) {
5865
5866
  const n = (i, o) => {
5866
5867
  const s = o.negate();
5867
5868
  return i ? s : o;
@@ -5874,7 +5875,7 @@ function Nc(e, t) {
5874
5875
  // non-const time multiplication ladder
5875
5876
  unsafeLadder(i, o) {
5876
5877
  let s = e.ZERO, a = i;
5877
- for (; o > Cc; )
5878
+ for (; o > Nc; )
5878
5879
  o & ii && (s = s.add(a)), a = a.double(), o >>= ii;
5879
5880
  return s;
5880
5881
  },
@@ -5927,7 +5928,7 @@ function Nc(e, t) {
5927
5928
  };
5928
5929
  }
5929
5930
  function Ma(e) {
5930
- return Rc(e.Fp), Sn(e, {
5931
+ return Ic(e.Fp), En(e, {
5931
5932
  n: "bigint",
5932
5933
  h: "bigint",
5933
5934
  Gx: "field",
@@ -5942,9 +5943,9 @@ function Ma(e) {
5942
5943
  });
5943
5944
  }
5944
5945
  /*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */
5945
- function Pc(e) {
5946
+ function Lc(e) {
5946
5947
  const t = Ma(e);
5947
- Sn(t, {
5948
+ En(t, {
5948
5949
  a: "field",
5949
5950
  b: "field"
5950
5951
  }, {
@@ -5965,7 +5966,7 @@ function Pc(e) {
5965
5966
  }
5966
5967
  return Object.freeze({ ...t });
5967
5968
  }
5968
- const { bytesToNumberBE: Lc, hexToBytes: Mc } = _c, At = {
5969
+ const { bytesToNumberBE: Mc, hexToBytes: Bc } = mc, At = {
5969
5970
  // asn.1 DER encoding utils
5970
5971
  Err: class extends Error {
5971
5972
  constructor(t = "") {
@@ -5983,11 +5984,11 @@ const { bytesToNumberBE: Lc, hexToBytes: Mc } = _c, At = {
5983
5984
  throw new t("Invalid signature integer: negative");
5984
5985
  if (r[0] === 0 && !(r[1] & 128))
5985
5986
  throw new t("Invalid signature integer: unnecessary leading zero");
5986
- return { d: Lc(r), l: e.subarray(n + 2) };
5987
+ return { d: Mc(r), l: e.subarray(n + 2) };
5987
5988
  },
5988
5989
  toSig(e) {
5989
- const { Err: t } = At, n = typeof e == "string" ? Mc(e) : e;
5990
- En(n);
5990
+ const { Err: t } = At, n = typeof e == "string" ? Bc(e) : e;
5991
+ mn(n);
5991
5992
  let r = n.length;
5992
5993
  if (r < 2 || n[0] != 48)
5993
5994
  throw new t("Invalid signature tag");
@@ -6009,8 +6010,8 @@ const { bytesToNumberBE: Lc, hexToBytes: Mc } = _c, At = {
6009
6010
  BigInt(2);
6010
6011
  const ps = BigInt(3);
6011
6012
  BigInt(4);
6012
- function Bc(e) {
6013
- const t = Pc(e), { Fp: n } = t, r = t.toBytes || ((R, h, w) => {
6013
+ function $c(e) {
6014
+ const t = Lc(e), { Fp: n } = t, r = t.toBytes || ((R, h, w) => {
6014
6015
  const y = h.toAffine();
6015
6016
  return wn(Uint8Array.from([4]), n.toBytes(y.x), n.toBytes(y.y));
6016
6017
  }), i = t.fromBytes || ((R) => {
@@ -6258,7 +6259,7 @@ function Bc(e) {
6258
6259
  }
6259
6260
  }
6260
6261
  p.BASE = new p(t.Gx, t.Gy, n.ONE), p.ZERO = new p(n.ZERO, n.ONE, n.ZERO);
6261
- const v = t.nBitLength, S = Nc(p, t.endo ? Math.ceil(v / 2) : v);
6262
+ const v = t.nBitLength, S = Pc(p, t.endo ? Math.ceil(v / 2) : v);
6262
6263
  return {
6263
6264
  CURVE: t,
6264
6265
  ProjectivePoint: p,
@@ -6267,9 +6268,9 @@ function Bc(e) {
6267
6268
  isWithinCurveOrder: s
6268
6269
  };
6269
6270
  }
6270
- function $c(e) {
6271
+ function Dc(e) {
6271
6272
  const t = Ma(e);
6272
- return Sn(t, {
6273
+ return En(t, {
6273
6274
  hash: "hash",
6274
6275
  hmac: "function",
6275
6276
  randomBytes: "function"
@@ -6279,8 +6280,8 @@ function $c(e) {
6279
6280
  lowS: "boolean"
6280
6281
  }), Object.freeze({ lowS: !0, ...t });
6281
6282
  }
6282
- function Dc(e) {
6283
- const t = $c(e), { Fp: n, n: r } = t, i = n.BYTES + 1, o = 2 * n.BYTES + 1;
6283
+ function jc(e) {
6284
+ const t = Dc(e), { Fp: n, n: r } = t, i = n.BYTES + 1, o = 2 * n.BYTES + 1;
6284
6285
  function s(I) {
6285
6286
  return nt < I && I < n.ORDER;
6286
6287
  }
@@ -6290,7 +6291,7 @@ function Dc(e) {
6290
6291
  function f(I) {
6291
6292
  return mi(I, r);
6292
6293
  }
6293
- const { ProjectivePoint: u, normPrivateKeyToScalar: g, weierstrassEquation: p, isWithinCurveOrder: v } = Bc({
6294
+ const { ProjectivePoint: u, normPrivateKeyToScalar: g, weierstrassEquation: p, isWithinCurveOrder: v } = $c({
6294
6295
  ...t,
6295
6296
  toBytes(I, C, F) {
6296
6297
  const K = C.toAffine(), V = n.toBytes(K.x), Q = wn;
@@ -6400,7 +6401,7 @@ function Dc(e) {
6400
6401
  */
6401
6402
  randomPrivateKey: () => {
6402
6403
  const I = La(t.n);
6403
- return Oc(t.randomBytes(I), t.n);
6404
+ return Cc(t.randomBytes(I), t.n);
6404
6405
  },
6405
6406
  /**
6406
6407
  * Creates precompute table for an arbitrary EC point. Makes point "cached".
@@ -6519,26 +6520,26 @@ function Dc(e) {
6519
6520
  };
6520
6521
  }
6521
6522
  /*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */
6522
- function jc(e) {
6523
+ function kc(e) {
6523
6524
  return {
6524
6525
  hash: e,
6525
- hmac: (t, ...n) => Ta(e, t, ec(...n)),
6526
- randomBytes: nc
6526
+ hmac: (t, ...n) => Ta(e, t, tc(...n)),
6527
+ randomBytes: rc
6527
6528
  };
6528
6529
  }
6529
- function kc(e, t) {
6530
- const n = (r) => Dc({ ...e, ...jc(r) });
6530
+ function Wc(e, t) {
6531
+ const n = (r) => jc({ ...e, ...kc(r) });
6531
6532
  return Object.freeze({ ...n(t), create: n });
6532
6533
  }
6533
6534
  /*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */
6534
- const Ba = BigInt("0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f"), bs = BigInt("0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141"), Wc = BigInt(1), Ei = BigInt(2), ws = (e, t) => (e + t / Ei) / t;
6535
- function Uc(e) {
6535
+ const Ba = BigInt("0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f"), bs = BigInt("0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141"), Uc = BigInt(1), Ei = BigInt(2), ws = (e, t) => (e + t / Ei) / t;
6536
+ function Fc(e) {
6536
6537
  const t = Ba, n = BigInt(3), r = BigInt(6), i = BigInt(11), o = BigInt(22), s = BigInt(23), a = BigInt(44), f = BigInt(88), u = e * e * e % t, g = u * u * e % t, p = $e(g, n, t) * g % t, v = $e(p, n, t) * g % t, S = $e(v, Ei, t) * u % t, R = $e(S, i, t) * S % t, h = $e(R, o, t) * R % t, w = $e(h, a, t) * h % t, y = $e(w, f, t) * w % t, x = $e(y, a, t) * h % t, m = $e(x, n, t) * g % t, j = $e(m, s, t) * R % t, P = $e(j, r, t) * u % t, B = $e(P, Ei, t);
6537
6538
  if (!Si.eql(Si.sqr(B), e))
6538
6539
  throw new Error("Cannot find square root");
6539
6540
  return B;
6540
6541
  }
6541
- const Si = xc(Ba, void 0, void 0, { sqrt: Uc }), zi = kc({
6542
+ const Si = Oc(Ba, void 0, void 0, { sqrt: Fc }), zi = Wc({
6542
6543
  a: BigInt(0),
6543
6544
  // equation params: a, b
6544
6545
  b: BigInt(7),
@@ -6563,7 +6564,7 @@ const Si = xc(Ba, void 0, void 0, { sqrt: Uc }), zi = kc({
6563
6564
  endo: {
6564
6565
  beta: BigInt("0x7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee"),
6565
6566
  splitScalar: (e) => {
6566
- const t = bs, n = BigInt("0x3086d221a7d46bcde86c90e49284eb15"), r = -Wc * BigInt("0xe4437ed6010e88286f547fa90abfe4c3"), i = BigInt("0x114ca50f7a8e2f3f657c1108d9d44cfd8"), o = n, s = BigInt("0x100000000000000000000000000000000"), a = ws(o * e, t), f = ws(-r * e, t);
6567
+ const t = bs, n = BigInt("0x3086d221a7d46bcde86c90e49284eb15"), r = -Uc * BigInt("0xe4437ed6010e88286f547fa90abfe4c3"), i = BigInt("0x114ca50f7a8e2f3f657c1108d9d44cfd8"), o = n, s = BigInt("0x100000000000000000000000000000000"), a = ws(o * e, t), f = ws(-r * e, t);
6567
6568
  let u = Ne(e - a * n - f * i, t), g = Ne(-a * r - f * o, t);
6568
6569
  const p = u > s, v = g > s;
6569
6570
  if (p && (u = t - u), v && (g = t - g), u > s || g > s)
@@ -6571,10 +6572,10 @@ const Si = xc(Ba, void 0, void 0, { sqrt: Uc }), zi = kc({
6571
6572
  return { k1neg: p, k1: u, k2neg: v, k2: g };
6572
6573
  }
6573
6574
  }
6574
- }, uc);
6575
+ }, fc);
6575
6576
  BigInt(0);
6576
6577
  zi.ProjectivePoint;
6577
- function Fc(e) {
6578
+ function qc(e) {
6578
6579
  let t = e;
6579
6580
  if (typeof t != "string")
6580
6581
  throw new Error(`[padToEven] value must be type 'string', received ${typeof t}`);
@@ -6586,7 +6587,7 @@ for (let e = 0; e < 16; e++) {
6586
6587
  const t = e, n = e * 16, r = e.toString(16).toLowerCase();
6587
6588
  Ai[r] = t, Ai[r.toUpperCase()] = t, vi[r] = n, vi[r.toUpperCase()] = n;
6588
6589
  }
6589
- function qc(e) {
6590
+ function Hc(e) {
6590
6591
  const t = e.length, n = new Uint8Array(t / 2);
6591
6592
  for (let r = 0; r < t; r += 2)
6592
6593
  n[r / 2] = vi[e[r]] + Ai[e[r + 1]];
@@ -6601,13 +6602,13 @@ const yr = (e) => {
6601
6602
  if (!/^0x[0-9a-fA-F]*$/.test(e))
6602
6603
  throw new Error(`Input must be a 0x-prefixed hexadecimal string, got ${e}`);
6603
6604
  const t = e.slice(2);
6604
- return qc(t.length % 2 === 0 ? t : Fc(t));
6605
- }, Hc = (e) => {
6605
+ return Hc(t.length % 2 === 0 ? t : qc(t));
6606
+ }, zc = (e) => {
6606
6607
  if (!Number.isSafeInteger(e) || e < 0)
6607
6608
  throw new Error(`Received an invalid integer type: ${e}`);
6608
6609
  return `0x${e.toString(16)}`;
6609
- }, vn = (e) => {
6610
- const t = Hc(e);
6610
+ }, Sn = (e) => {
6611
+ const t = zc(e);
6611
6612
  return yr(t);
6612
6613
  };
6613
6614
  BigInt("0xffffffffffffffff");
@@ -6616,12 +6617,12 @@ BigInt("115792089237316195423570985008687907853269984665640564039457584007913129
6616
6617
  zi.CURVE.n;
6617
6618
  zi.CURVE.n / BigInt(2);
6618
6619
  BigInt("0x10000000000000000000000000000000000000000000000000000000000000000");
6619
- const zc = "0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470";
6620
- yr(zc);
6621
- const Gc = "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347";
6620
+ const Gc = "0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470";
6622
6621
  yr(Gc);
6623
- const Vc = "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421";
6622
+ const Vc = "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347";
6624
6623
  yr(Vc);
6624
+ const Kc = "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421";
6625
+ yr(Kc);
6625
6626
  Uint8Array.from([128]);
6626
6627
  BigInt(-1);
6627
6628
  BigInt(0);
@@ -6667,15 +6668,15 @@ var Ot;
6667
6668
  (function(e) {
6668
6669
  e[e.Version = 0] = "Version", e[e.Balance = 1] = "Balance", e[e.Nonce = 2] = "Nonce", e[e.CodeHash = 3] = "CodeHash", e[e.CodeSize = 4] = "CodeSize";
6669
6670
  })(Ot || (Ot = {}));
6670
- vn(Ot.Version);
6671
- vn(Ot.Balance);
6672
- vn(Ot.Nonce);
6673
- vn(Ot.CodeHash);
6674
- vn(Ot.CodeSize);
6671
+ Sn(Ot.Version);
6672
+ Sn(Ot.Balance);
6673
+ Sn(Ot.Nonce);
6674
+ Sn(Ot.CodeHash);
6675
+ Sn(Ot.CodeSize);
6675
6676
  BigInt(256) ** BigInt(31);
6676
- var Kc = { exports: {} }, Gi = {}, Vi = {};
6677
+ var Yc = { exports: {} }, Gi = {}, Vi = {};
6677
6678
  Object.defineProperty(Vi, "__esModule", { value: !0 });
6678
- function Yc(e) {
6679
+ function Zc(e) {
6679
6680
  var t = 4, n = e.length, r = n % t;
6680
6681
  if (!r)
6681
6682
  return e;
@@ -6684,34 +6685,34 @@ function Yc(e) {
6684
6685
  a.write("=", i++);
6685
6686
  return a.toString();
6686
6687
  }
6687
- Vi.default = Yc;
6688
+ Vi.default = Zc;
6688
6689
  Object.defineProperty(Gi, "__esModule", { value: !0 });
6689
- var Zc = Vi;
6690
+ var Jc = Vi;
6690
6691
  function $a(e, t) {
6691
6692
  return t === void 0 && (t = "utf8"), Ie.Buffer.isBuffer(e) ? Ri(e.toString("base64")) : Ri(Ie.Buffer.from(e, t).toString("base64"));
6692
6693
  }
6693
- function Jc(e, t) {
6694
+ function Xc(e, t) {
6694
6695
  return t === void 0 && (t = "utf8"), Ie.Buffer.from(Ki(e), "base64").toString(t);
6695
6696
  }
6696
6697
  function Ki(e) {
6697
- return e = e.toString(), Zc.default(e).replace(/\-/g, "+").replace(/_/g, "/");
6698
+ return e = e.toString(), Jc.default(e).replace(/\-/g, "+").replace(/_/g, "/");
6698
6699
  }
6699
6700
  function Ri(e) {
6700
6701
  return e.replace(/=/g, "").replace(/\+/g, "-").replace(/\//g, "_");
6701
6702
  }
6702
- function Xc(e) {
6703
+ function Qc(e) {
6703
6704
  return Ie.Buffer.from(Ki(e), "base64");
6704
6705
  }
6705
6706
  var Zt = $a;
6706
6707
  Zt.encode = $a;
6707
- Zt.decode = Jc;
6708
+ Zt.decode = Xc;
6708
6709
  Zt.toBase64 = Ki;
6709
6710
  Zt.fromBase64 = Ri;
6710
- Zt.toBuffer = Xc;
6711
+ Zt.toBuffer = Qc;
6711
6712
  Gi.default = Zt;
6712
6713
  (function(e) {
6713
6714
  e.exports = Gi.default, e.exports.default = e.exports;
6714
- })(Kc);
6715
+ })(Yc);
6715
6716
  const ue = {
6716
6717
  MAINNET: "mainnet",
6717
6718
  TESTNET: "testnet",
@@ -6744,7 +6745,7 @@ function Ss(e) {
6744
6745
  t && n !== 0;
6745
6746
  }
6746
6747
  }
6747
- class Qc {
6748
+ class eh {
6748
6749
  constructor() {
6749
6750
  G(this, "store", /* @__PURE__ */ new Map());
6750
6751
  }
@@ -6758,7 +6759,7 @@ class Qc {
6758
6759
  this.store.delete(t);
6759
6760
  }
6760
6761
  }
6761
- class eh {
6762
+ class th {
6762
6763
  constructor(t, n) {
6763
6764
  G(this, "storage", void 0), G(this, "_storeKey", void 0), this.storage = n, this._storeKey = t;
6764
6765
  try {
@@ -6770,7 +6771,7 @@ class eh {
6770
6771
  let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "local";
6771
6772
  if (!this.instanceMap.has(t)) {
6772
6773
  let r;
6773
- n === "local" && Ss("localStorage") ? r = window.localStorage : n === "session" && Ss("sessionStorage") ? r = window.sessionStorage : r = new Qc(), this.instanceMap.set(t, new this(t, r));
6774
+ n === "local" && Ss("localStorage") ? r = window.localStorage : n === "session" && Ss("sessionStorage") ? r = window.sessionStorage : r = new eh(), this.instanceMap.set(t, new this(t, r));
6774
6775
  }
6775
6776
  return this.instanceMap.get(t);
6776
6777
  }
@@ -6792,9 +6793,9 @@ class eh {
6792
6793
  r[t] = n, this.storage.setItem(this._storeKey, JSON.stringify(r));
6793
6794
  }
6794
6795
  }
6795
- G(eh, "instanceMap", /* @__PURE__ */ new Map());
6796
+ G(th, "instanceMap", /* @__PURE__ */ new Map());
6796
6797
  je(je({}, ct), ue);
6797
- const Hn = {
6798
+ const qn = {
6798
6799
  IFRAME_STATUS: "iframe_status",
6799
6800
  // Tell embed to close the window
6800
6801
  CLOSE_WINDOW: "close_window",
@@ -6816,22 +6817,22 @@ const Hn = {
6816
6817
  SHOW_CHECKOUT: "show_checkout",
6817
6818
  SHOW_WALLET_UI: "show_wallet_ui",
6818
6819
  LOGIN_WITH_SESSION_ID: "login_with_session_id"
6819
- }, th = {
6820
+ }, nh = {
6820
6821
  GET_PROVIDER_STATE: "wallet_get_provider_state"
6821
6822
  }, oi = {
6822
6823
  ACCOUNTS_CHANGED: "wallet_accounts_changed",
6823
6824
  CHAIN_CHANGED: "wallet_chain_changed",
6824
6825
  UNLOCK_STATE_CHANGED: "wallet_unlock_state_changed"
6825
6826
  };
6826
- function nh(e) {
6827
+ function rh(e) {
6827
6828
  return function(n, r, i) {
6828
6829
  i((o) => {
6829
- r.error && tr.warn(`Error in RPC response:
6830
- `, r), !n.isTorusInternal && (tr.info(`RPC (${e.origin}):`, n, "->", r), o());
6830
+ r.error && er.warn(`Error in RPC response:
6831
+ `, r), !n.isTorusInternal && (er.info(`RPC (${e.origin}):`, n, "->", r), o());
6831
6832
  });
6832
6833
  };
6833
6834
  }
6834
- var rh = function e(t, n) {
6835
+ var ih = function e(t, n) {
6835
6836
  if (t === n) return !0;
6836
6837
  if (t && n && typeof t == "object" && typeof n == "object") {
6837
6838
  if (t.constructor !== n.constructor) return !1;
@@ -6856,19 +6857,19 @@ var rh = function e(t, n) {
6856
6857
  }
6857
6858
  return t !== t && n !== n;
6858
6859
  };
6859
- const ih = /* @__PURE__ */ Kt(rh);
6860
- var oh = "2.1.0";
6860
+ const oh = /* @__PURE__ */ Kt(ih);
6861
+ var sh = "2.1.0";
6861
6862
  function Da(e) {
6862
6863
  return e !== null && typeof e == "object" && typeof e.pipe == "function";
6863
6864
  }
6864
- function sh(e) {
6865
+ function ah(e) {
6865
6866
  return Da(e) && e.writable !== !1 && typeof e._write == "function" && typeof e._writableState == "object";
6866
6867
  }
6867
- function ah(e) {
6868
+ function lh(e) {
6868
6869
  return Da(e) && e.readable !== !1 && typeof e._read == "function" && typeof e._readableState == "object";
6869
6870
  }
6870
- function lh(e) {
6871
- return sh(e) && ah(e);
6871
+ function uh(e) {
6872
+ return ah(e) && lh(e);
6872
6873
  }
6873
6874
  var Ve = {
6874
6875
  errors: {
@@ -6887,14 +6888,14 @@ var Ve = {
6887
6888
  connected: (e) => `Torus: Connected to chain with ID "${e}".`
6888
6889
  }
6889
6890
  };
6890
- const uh = {
6891
+ const fh = {
6891
6892
  PRODUCTION: "production"
6892
6893
  }, fn = {
6893
6894
  BOTTOM_LEFT: "bottom-left",
6894
6895
  TOP_LEFT: "top-left",
6895
6896
  BOTTOM_RIGHT: "bottom-right",
6896
6897
  TOP_RIGHT: "top-right"
6897
- }, fh = {
6898
+ }, dh = {
6898
6899
  en: {
6899
6900
  embed: {
6900
6901
  continue: "Continue",
@@ -6947,10 +6948,10 @@ const uh = {
6947
6948
  }
6948
6949
  };
6949
6950
  var Yi = {
6950
- translations: fh,
6951
+ translations: dh,
6951
6952
  localStorageKeyPrefix: "torus-"
6952
- }, ae = tr.getLogger("solana-embed");
6953
- function dh() {
6953
+ }, ae = er.getLogger("solana-embed");
6954
+ function ch() {
6954
6955
  return (e, t, n) => {
6955
6956
  (typeof e.method != "string" || !e.method) && (t.error = it.ethErrors.rpc.invalidRequest({
6956
6957
  message: "The request 'method' must be a non-empty string.",
@@ -6963,12 +6964,12 @@ function dh() {
6963
6964
  });
6964
6965
  };
6965
6966
  }
6966
- function ch(e, t, n) {
6967
+ function hh(e, t, n) {
6967
6968
  let r = `Torus: Lost connection to "${e}".`;
6968
6969
  t != null && t.stack && (r += `
6969
6970
  ${t.stack}`), ae.warn(r), n && n.listenerCount("error") > 0 && n.emit("error", r);
6970
6971
  }
6971
- const zn = () => Math.random().toString(36).slice(2), ja = async (e) => {
6972
+ const Hn = () => Math.random().toString(36).slice(2), ja = async (e) => {
6972
6973
  let t, n;
6973
6974
  switch (e) {
6974
6975
  case "testing":
@@ -6985,24 +6986,24 @@ const zn = () => Math.random().toString(36).slice(2), ja = async (e) => {
6985
6986
  torusUrl: t,
6986
6987
  logLevel: n
6987
6988
  };
6988
- }, hh = () => {
6989
+ }, gh = () => {
6989
6990
  let e = window.navigator.language || "en-US";
6990
6991
  const t = e.split("-");
6991
6992
  return e = Object.prototype.hasOwnProperty.call(Yi.translations, t[0]) ? t[0] : "en", e;
6992
- }, gh = {
6993
+ }, ph = {
6993
6994
  height: 660,
6994
6995
  width: 375
6995
- }, ph = {
6996
+ }, bh = {
6996
6997
  height: 740,
6997
6998
  width: 1315
6998
- }, bh = {
6999
+ }, wh = {
6999
7000
  height: 700,
7000
7001
  width: 1200
7001
7002
  }, ka = {
7002
7003
  height: 600,
7003
7004
  width: 400
7004
7005
  };
7005
- function wh(e) {
7006
+ function yh(e) {
7006
7007
  let t;
7007
7008
  try {
7008
7009
  t = window[e];
@@ -7033,15 +7034,15 @@ class Wa extends pr {
7033
7034
  maxEventListeners: r = 100,
7034
7035
  jsonRpcStreamName: i = "provider"
7035
7036
  } = n;
7036
- if (super(), G(this, "isTorus", void 0), G(this, "_rpcEngine", void 0), G(this, "jsonRpcConnectionEvents", void 0), G(this, "_state", void 0), !lh(t))
7037
+ if (super(), G(this, "isTorus", void 0), G(this, "_rpcEngine", void 0), G(this, "jsonRpcConnectionEvents", void 0), G(this, "_state", void 0), !uh(t))
7037
7038
  throw new Error(Ve.errors.invalidDuplexStream());
7038
7039
  this.isTorus = !0, this.setMaxListeners(r), this._handleConnect = this._handleConnect.bind(this), this._handleDisconnect = this._handleDisconnect.bind(this), this._handleStreamDisconnect = this._handleStreamDisconnect.bind(this), this._rpcRequest = this._rpcRequest.bind(this), this._initializeState = this._initializeState.bind(this), this.request = this.request.bind(this), this.sendAsync = this.sendAsync.bind(this);
7039
- const o = new Vd();
7040
+ const o = new Kd();
7040
7041
  Xo(t, o, t, this._handleStreamDisconnect.bind(this, "Torus")), o.ignoreStream("phishing");
7041
- const s = Hd();
7042
+ const s = zd();
7042
7043
  Xo(s.stream, o.createStream(i), s.stream, this._handleStreamDisconnect.bind(this, "Torus RpcProvider"));
7043
7044
  const a = new tt();
7044
- a.push(zd()), a.push(dh()), a.push(nh({
7045
+ a.push(Gd()), a.push(ch()), a.push(rh({
7045
7046
  origin: location.origin
7046
7047
  })), a.push(s.middleware), this._rpcEngine = a, this.jsonRpcConnectionEvents = s.events;
7047
7048
  }
@@ -7096,7 +7097,7 @@ class Wa extends pr {
7096
7097
  * emits TorusInpageProvider#disconnect
7097
7098
  */
7098
7099
  _handleStreamDisconnect(t, n) {
7099
- ch(t, n, this), this._handleDisconnect(!1, n ? n.message : void 0);
7100
+ hh(t, n, this), this._handleDisconnect(!1, n ? n.message : void 0);
7100
7101
  }
7101
7102
  // Private Methods
7102
7103
  //= ===================
@@ -7132,7 +7133,7 @@ const Ft = (e) => {
7132
7133
  const t = window.document.createElement("template"), n = e.trim();
7133
7134
  return t.innerHTML = n, t.content.firstChild;
7134
7135
  };
7135
- function Gn(e) {
7136
+ function zn(e) {
7136
7137
  return e.version === void 0;
7137
7138
  }
7138
7139
  class Ua extends pr {
@@ -7143,7 +7144,7 @@ class Ua extends pr {
7143
7144
  features: i,
7144
7145
  timeout: o = 3e4
7145
7146
  } = t;
7146
- super(), G(this, "url", void 0), G(this, "target", void 0), G(this, "features", void 0), G(this, "window", void 0), G(this, "windowTimer", void 0), G(this, "iClosedWindow", void 0), G(this, "timeout", void 0), this.url = n, this.target = r || "_blank", this.features = i || cn(bh), this.window = void 0, this.windowTimer = void 0, this.iClosedWindow = !1, this.timeout = o, this._setupTimer();
7147
+ super(), G(this, "url", void 0), G(this, "target", void 0), G(this, "features", void 0), G(this, "window", void 0), G(this, "windowTimer", void 0), G(this, "iClosedWindow", void 0), G(this, "timeout", void 0), this.url = n, this.target = r || "_blank", this.features = i || cn(wh), this.window = void 0, this.windowTimer = void 0, this.iClosedWindow = !1, this.timeout = o, this._setupTimer();
7147
7148
  }
7148
7149
  _setupTimer() {
7149
7150
  this.windowTimer = Number(setInterval(() => {
@@ -7173,7 +7174,7 @@ class _r extends Wa {
7173
7174
  maxEventListeners: r,
7174
7175
  jsonRpcStreamName: i
7175
7176
  }), G(this, "embedTranslations", void 0), G(this, "torusUrl", void 0), G(this, "dappStorageKey", void 0), G(this, "windowRefs", void 0), G(this, "tryWindowHandle", void 0), G(this, "torusAlertContainer", void 0), G(this, "torusIframe", void 0), this._state = je({}, _r._defaultState), this.torusUrl = "", this.dappStorageKey = "";
7176
- const o = Yi.translations[hh()];
7177
+ const o = Yi.translations[gh()];
7177
7178
  this.embedTranslations = o.embed, this.windowRefs = {}, this.on("connect", () => {
7178
7179
  this._state.isConnected = !0;
7179
7180
  });
@@ -7182,7 +7183,7 @@ class _r extends Wa {
7182
7183
  method: f,
7183
7184
  params: u
7184
7185
  } = a;
7185
- if (f === Hn.IFRAME_STATUS) {
7186
+ if (f === qn.IFRAME_STATUS) {
7186
7187
  const {
7187
7188
  isFullScreen: g,
7188
7189
  rid: p
@@ -7197,14 +7198,14 @@ class _r extends Wa {
7197
7198
  url: p
7198
7199
  } = u;
7199
7200
  this._createPopupBlockAlert(g, p);
7200
- } else if (f === Hn.CLOSE_WINDOW)
7201
+ } else if (f === qn.CLOSE_WINDOW)
7201
7202
  this._handleCloseWindow(u);
7202
- else if (f === Hn.USER_LOGGED_IN) {
7203
+ else if (f === qn.USER_LOGGED_IN) {
7203
7204
  const {
7204
7205
  currentLoginProvider: g
7205
7206
  } = u;
7206
7207
  this._state.isLoggedIn = !0, this._state.currentLoginProvider = g;
7207
- } else f === Hn.USER_LOGGED_OUT && (this._state.isLoggedIn = !1, this._state.currentLoginProvider = null, this._displayIframe());
7208
+ } else f === qn.USER_LOGGED_OUT && (this._state.isLoggedIn = !1, this._state.currentLoginProvider = null, this._displayIframe());
7208
7209
  };
7209
7210
  this.jsonRpcConnectionEvents.on("notification", s);
7210
7211
  }
@@ -7440,7 +7441,7 @@ class mr extends Wa {
7440
7441
  chainId: n,
7441
7442
  isUnlocked: r
7442
7443
  } = await this.request({
7443
- method: th.GET_PROVIDER_STATE,
7444
+ method: nh.GET_PROVIDER_STATE,
7444
7445
  params: []
7445
7446
  });
7446
7447
  this.emit("connect", {
@@ -7525,7 +7526,7 @@ class mr extends Wa {
7525
7526
  ae.error("Torus: Received non-string account. Please report this bug.", t), i = [];
7526
7527
  break;
7527
7528
  }
7528
- ih(this._state.accounts, i) || (n && Array.isArray(this._state.accounts) && this._state.accounts.length > 0 && !r && ae.error('Torus: "solana_accounts" unexpectedly updated accounts. Please report this bug.', i), this._state.accounts = i, this.emit("accountsChanged", i)), this.selectedAddress !== i[0] && (this.selectedAddress = i[0] || null);
7529
+ oh(this._state.accounts, i) || (n && Array.isArray(this._state.accounts) && this._state.accounts.length > 0 && !r && ae.error('Torus: "solana_accounts" unexpectedly updated accounts. Please report this bug.', i), this._state.accounts = i, this.emit("accountsChanged", i)), this.selectedAddress !== i[0] && (this.selectedAddress = i[0] || null);
7529
7530
  }
7530
7531
  /**
7531
7532
  * Upon receipt of a new chainId and networkVersion, emits corresponding
@@ -7590,7 +7591,7 @@ function vs(e) {
7590
7591
  }
7591
7592
  });
7592
7593
  }
7593
- const yh = (e) => {
7594
+ const _h = (e) => {
7594
7595
  const {
7595
7596
  document: t
7596
7597
  } = e, n = t.querySelector('head > meta[property="og:site_name"]');
@@ -7599,7 +7600,7 @@ const yh = (e) => {
7599
7600
  const r = t.querySelector('head > meta[name="title"]');
7600
7601
  return r ? r.content : t.title && t.title.length > 0 ? t.title : e.location.hostname;
7601
7602
  };
7602
- async function _h(e) {
7603
+ async function mh(e) {
7603
7604
  try {
7604
7605
  const {
7605
7606
  document: t
@@ -7610,10 +7611,10 @@ async function _h(e) {
7610
7611
  return "";
7611
7612
  }
7612
7613
  }
7613
- const mh = async () => ({
7614
- name: yh(window),
7615
- icon: await _h(window)
7616
- }), Eh = ["send_transaction", "sign_transaction", "sign_all_transactions", "sign_message", "connect"], Sh = [rt.SET_PROVIDER], vh = wh("localStorage");
7614
+ const Eh = async () => ({
7615
+ name: _h(window),
7616
+ icon: await mh(window)
7617
+ }), Sh = ["send_transaction", "sign_transaction", "sign_all_transactions", "sign_message", "connect"], vh = [rt.SET_PROVIDER], Ah = yh("localStorage");
7617
7618
  (async function() {
7618
7619
  try {
7619
7620
  if (typeof document > "u") return;
@@ -7625,7 +7626,7 @@ const mh = async () => ({
7625
7626
  ae.warn(t);
7626
7627
  }
7627
7628
  })();
7628
- class kh {
7629
+ class Uh {
7629
7630
  constructor() {
7630
7631
  let {
7631
7632
  modalZIndex: t = 99999
@@ -7637,7 +7638,7 @@ class kh {
7637
7638
  }
7638
7639
  async init() {
7639
7640
  let {
7640
- buildEnv: t = uh.PRODUCTION,
7641
+ buildEnv: t = fh.PRODUCTION,
7641
7642
  enableLogging: n = !1,
7642
7643
  network: r,
7643
7644
  showTorusButton: i = !1,
@@ -7652,7 +7653,7 @@ class kh {
7652
7653
  torusUrl: g,
7653
7654
  logLevel: p
7654
7655
  } = await ja(t);
7655
- ae.enableAll(), ae.info(g, "url loaded"), ae.info(`Solana Embed Version :${oh}`), this.torusUrl = g, ae.setDefaultLevel(p), n ? ae.enableAll() : ae.disableAll();
7656
+ ae.enableAll(), ae.info(g, "url loaded"), ae.info(`Solana Embed Version :${sh}`), this.torusUrl = g, ae.setDefaultLevel(p), n ? ae.enableAll() : ae.disableAll();
7656
7657
  const v = this.handleDappStorageKey(o), S = new URL(g);
7657
7658
  S.pathname.endsWith("/") ? S.pathname += "frame" : S.pathname += "/frame";
7658
7659
  const R = new URLSearchParams();
@@ -7665,7 +7666,7 @@ class kh {
7665
7666
  ></iframe>`), this.torusAlertContainer = Ft(`<div id="torusAlertContainer" style="display:none; z-index: ${this.alertZIndex.toString()}"></div>`), this.styleLink = Ft(`<link href="${g}/css/widget.css" rel="stylesheet" type="text/css">`), new Promise((h, w) => {
7666
7667
  try {
7667
7668
  this.torusIframe.addEventListener("load", async () => {
7668
- const y = await mh();
7669
+ const y = await Eh();
7669
7670
  this.torusIframe.contentWindow.postMessage({
7670
7671
  buttonPosition: s,
7671
7672
  apiKey: a,
@@ -7758,7 +7759,7 @@ class kh {
7758
7759
  o.searchParams.append(a, n[a]);
7759
7760
  }), this.dappStorageKey && (o.hash = `#dappStorageKey=${this.dappStorageKey}`), new Ua({
7760
7761
  url: o,
7761
- features: cn(ph)
7762
+ features: cn(bh)
7762
7763
  }).open();
7763
7764
  }
7764
7765
  async getUserInfo() {
@@ -7769,7 +7770,7 @@ class kh {
7769
7770
  }
7770
7771
  async initiateTopup(t, n) {
7771
7772
  if (!this.isInitialized) throw new Error("Torus is not initialized");
7772
- const r = zn();
7773
+ const r = Hn();
7773
7774
  return this.communicationProvider._handleWindow(r), await this.communicationProvider.request({
7774
7775
  method: rt.TOPUP,
7775
7776
  params: {
@@ -7787,7 +7788,7 @@ class kh {
7787
7788
  });
7788
7789
  }
7789
7790
  async sendTransaction(t) {
7790
- const n = Gn(t), r = n ? t.serialize({
7791
+ const n = zn(t), r = n ? t.serialize({
7791
7792
  requireAllSignatures: !1
7792
7793
  }).toString("hex") : Ie.Buffer.from(t.serialize()).toString("hex");
7793
7794
  return await this.provider.request({
@@ -7800,7 +7801,7 @@ class kh {
7800
7801
  }
7801
7802
  // support sendOptions
7802
7803
  async signAndSendTransaction(t, n) {
7803
- const r = Gn(t), i = r ? t.serialize({
7804
+ const r = zn(t), i = r ? t.serialize({
7804
7805
  requireAllSignatures: !1
7805
7806
  }).toString("hex") : Ie.Buffer.from(t.serialize()).toString("hex");
7806
7807
  return {
@@ -7815,7 +7816,7 @@ class kh {
7815
7816
  };
7816
7817
  }
7817
7818
  async signTransaction(t) {
7818
- const n = Gn(t), r = n ? t.serializeMessage().toString("hex") : Ie.Buffer.from(t.message.serialize()).toString("hex"), i = await this.provider.request({
7819
+ const n = zn(t), r = n ? t.serializeMessage().toString("hex") : Ie.Buffer.from(t.message.serialize()).toString("hex"), i = await this.provider.request({
7819
7820
  method: "sign_transaction",
7820
7821
  params: {
7821
7822
  message: r,
@@ -7830,7 +7831,7 @@ class kh {
7830
7831
  }
7831
7832
  async signAllTransactions(t) {
7832
7833
  let n;
7833
- const r = t.map((s) => (n = Gn(s), n ? s.serializeMessage().toString("hex") : Ie.Buffer.from(s.message.serialize()).toString("hex"))), o = (await this.provider.request({
7834
+ const r = t.map((s) => (n = zn(s), n ? s.serializeMessage().toString("hex") : Ie.Buffer.from(s.message.serialize()).toString("hex"))), o = (await this.provider.request({
7834
7835
  method: "sign_all_transactions",
7835
7836
  params: {
7836
7837
  message: r,
@@ -7870,11 +7871,11 @@ class kh {
7870
7871
  handleDappStorageKey(t) {
7871
7872
  const n = `${Yi.localStorageKeyPrefix}${window.location.hostname}`;
7872
7873
  let r = "";
7873
- if (vh && t) {
7874
+ if (Ah && t) {
7874
7875
  const i = window.localStorage.getItem(n);
7875
7876
  if (i) r = i;
7876
7877
  else {
7877
- const o = `torus-app-${zn()}`;
7878
+ const o = `torus-app-${Hn()}`;
7878
7879
  window.localStorage.setItem(n, o), r = o;
7879
7880
  }
7880
7881
  }
@@ -7893,9 +7894,9 @@ class kh {
7893
7894
  }), i = new mr(n, {}), o = new _r(r, {});
7894
7895
  i.tryWindowHandle = (u, g) => {
7895
7896
  const p = u;
7896
- if (!Array.isArray(p) && Eh.includes(p.method)) {
7897
+ if (!Array.isArray(p) && Sh.includes(p.method)) {
7897
7898
  if (!this.communicationProvider.isLoggedIn) throw new Error("User Not Logged In");
7898
- const v = zn();
7899
+ const v = Hn();
7899
7900
  o._handleWindow(v, {
7900
7901
  target: "_blank",
7901
7902
  features: cn(ka)
@@ -7904,11 +7905,11 @@ class kh {
7904
7905
  i._rpcEngine.handle(p, g);
7905
7906
  }, o.tryWindowHandle = (u, g) => {
7906
7907
  const p = u;
7907
- if (!Array.isArray(p) && Sh.includes(p.method)) {
7908
- const v = zn();
7908
+ if (!Array.isArray(p) && vh.includes(p.method)) {
7909
+ const v = Hn();
7909
7910
  o._handleWindow(v, {
7910
7911
  target: "_blank",
7911
- features: cn(gh)
7912
+ features: cn(ph)
7912
7913
  // todo: are these features generic for all
7913
7914
  }), p.params.windowId = v;
7914
7915
  }
@@ -7951,7 +7952,7 @@ class kh {
7951
7952
  }
7952
7953
  export {
7953
7954
  fn as BUTTON_POSITION,
7954
- uh as TORUS_BUILD_ENV,
7955
+ fh as TORUS_BUILD_ENV,
7955
7956
  mr as TorusInPageProvider,
7956
- kh as default
7957
+ Uh as default
7957
7958
  };