@wormhole-foundation/wormhole-connect 3.0.1-beta.0-development → 3.0.1-beta.2-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 (323) hide show
  1. package/dist/assets/{add-Cy39EVaY.js → add-CA46SOZ1.js} +1 -1
  2. package/dist/assets/{all-wallets-BG4OMn19.js → all-wallets-B1qnLkOo.js} +1 -1
  3. package/dist/assets/{app-store-B2VJcnKc.js → app-store-NTpCK9MF.js} +1 -1
  4. package/dist/assets/{apple-6OWWifFn.js → apple-DRVt4JWr.js} +1 -1
  5. package/dist/assets/{aptos-gb8snog6.js → aptos-63ExGocu.js} +1 -1
  6. package/dist/assets/{aptos-BuLH7jck.js → aptos-DkSiRwPH.js} +3 -3
  7. package/dist/assets/{arrow-bottom-YGKzRes5.js → arrow-bottom-CPth9tFV.js} +1 -1
  8. package/dist/assets/{arrow-bottom-circle-BH-P4D_L.js → arrow-bottom-circle-BWo9DWoB.js} +1 -1
  9. package/dist/assets/{arrow-left-DF2t0i5J.js → arrow-left-P6RmBJWT.js} +1 -1
  10. package/dist/assets/{arrow-right-CP40LqnJ.js → arrow-right-BHHiE7kD.js} +1 -1
  11. package/dist/assets/{arrow-top-DnKSFz-5.js → arrow-top-D5GRFsZm.js} +1 -1
  12. package/dist/assets/{bank-BpG6sNAE.js → bank-C2WLfHR8.js} +1 -1
  13. package/dist/assets/{basic-CLnavz_q.js → basic-BCJkH5GS.js} +1 -1
  14. package/dist/assets/{blake2b-B2b685Yu.js → blake2b-Bb1VZYtg.js} +1 -1
  15. package/dist/assets/{browser-BhlgRcS6.js → browser-BPjT1bN5.js} +1 -1
  16. package/dist/assets/{card-BTep0Fm_.js → card-JaBku5Bf.js} +1 -1
  17. package/dist/assets/{ccip-By49zU3M.js → ccip-CTrUg8DF.js} +1 -1
  18. package/dist/assets/{chain-Du7paeNG.js → chain-DF9mIQM9.js} +1 -1
  19. package/dist/assets/{checkmark-UEyfqUU3.js → checkmark-BQL5JCw2.js} +1 -1
  20. package/dist/assets/{checkmark-bold-DMLl2gC5.js → checkmark-bold-DP1vE2RN.js} +1 -1
  21. package/dist/assets/{chevron-bottom-CPv_izmZ.js → chevron-bottom-BV0Au0hP.js} +1 -1
  22. package/dist/assets/{chevron-left-0a7IeWd5.js → chevron-left-C4v6Iui8.js} +1 -1
  23. package/dist/assets/{chevron-right-B-0wsh8g.js → chevron-right-CbVMuuvx.js} +1 -1
  24. package/dist/assets/{chevron-top-BHFncmmu.js → chevron-top-CuIo_USv.js} +1 -1
  25. package/dist/assets/{chrome-store-BIaI9-ba.js → chrome-store-fbydRQd1.js} +1 -1
  26. package/dist/assets/{chunk-KJH4KKG6-Po5MChR6.js → chunk-KJH4KKG6-B7DCZZVY.js} +1 -1
  27. package/dist/assets/{clock-BQdD9J7H.js → clock-D62L3EFP.js} +1 -1
  28. package/dist/assets/{close-Cjok36co.js → close-BLRqO6Zn.js} +1 -1
  29. package/dist/assets/{coinPlaceholder-CneTHrCz.js → coinPlaceholder-0tmFvYYj.js} +1 -1
  30. package/dist/assets/{compass-Dit7B215.js → compass-Ba8-RKca.js} +1 -1
  31. package/dist/assets/{contract-BhySpM-Z.js → contract-bGGxC9_m.js} +1 -1
  32. package/dist/assets/{copy-JvNImG5R.js → copy-CWqrh_sD.js} +1 -1
  33. package/dist/assets/{create-gkOVonha.js → create-CbRd6EbF.js} +1 -1
  34. package/dist/assets/{cursor-CSwolbdC.js → cursor-DFYzmUAe.js} +1 -1
  35. package/dist/assets/{cursor-transparent-DQ2bEHaM.js → cursor-transparent-IY3fA7aT.js} +1 -1
  36. package/dist/assets/{desktop-F3wMUZcL.js → desktop-DLudyYW3.js} +1 -1
  37. package/dist/assets/{disconnect-vvd6SXmG.js → disconnect-gShcPNrf.js} +1 -1
  38. package/dist/assets/{discord-mwjbbdll.js → discord-S8T3fJF7.js} +1 -1
  39. package/dist/assets/{etherscan-ZpIOVA81.js → etherscan-C-ODOYjC.js} +1 -1
  40. package/dist/assets/{evm-fcQsoqVd.js → evm-D65l_VUA.js} +4 -4
  41. package/dist/assets/{evm-CWAxZ2a7.js → evm-DwqzhXfk.js} +3 -3
  42. package/dist/assets/{exclamation-triangle-CrFNsvqc.js → exclamation-triangle-I4hrUAkj.js} +1 -1
  43. package/dist/assets/{extension-C_zCCj6H.js → extension-C2E94rju.js} +1 -1
  44. package/dist/assets/{external-link-B0LEq1D3.js → external-link-BE25aYRx.js} +1 -1
  45. package/dist/assets/{facebook-B_HaXZVY.js → facebook-VHvsuzqv.js} +1 -1
  46. package/dist/assets/{farcaster-C9d4q5--.js → farcaster-sG7oFC35.js} +1 -1
  47. package/dist/assets/{filters-Coi2MlO2.js → filters-D9VcvmFo.js} +1 -1
  48. package/dist/assets/{github-DiDkJ9-4.js → github-BLJyKdzw.js} +1 -1
  49. package/dist/assets/{google-BHKYD7dA.js → google-C4YbBNSv.js} +1 -1
  50. package/dist/assets/{help-circle-lf3f_u3Q.js → help-circle-CMmVaOnp.js} +1 -1
  51. package/dist/assets/{id-BoAkobNw.js → id-g_mC9xVi.js} +1 -1
  52. package/dist/assets/{image-C9_T15rA.js → image-nAeKstDS.js} +1 -1
  53. package/dist/assets/{index-BgLBca6k.js → index-BTkoFKAW.js} +1 -1
  54. package/dist/assets/{index-Bx8vjRmV.js → index-BUtdFAj3.js} +1 -1
  55. package/dist/assets/index-BZFyhaji.js +1 -0
  56. package/dist/assets/{index-BpI-Jtyb.js → index-BqLA4xTj.js} +3 -3
  57. package/dist/assets/{index-BE55BSK7.js → index-C0-WLpMA.js} +1 -1
  58. package/dist/assets/{index-zEIfo2_n.js → index-CCOXtJ1P.js} +1 -1
  59. package/dist/assets/{index--d0JCrsI.js → index-CKPf-3Vo.js} +1 -1
  60. package/dist/assets/{index-DSTd1tRp.js → index-COZ2cSR6.js} +1 -1
  61. package/dist/assets/{index-BedU_k3i.js → index-CVqQ68io.js} +1 -1
  62. package/dist/assets/{index-DZ96gAj4.js → index-CVqXQiSE.js} +1 -1
  63. package/dist/assets/{index-TYicGq2L.js → index-CYFq9U58.js} +1 -1
  64. package/dist/assets/{index-BYTZG2bF.js → index-C_YTupmk.js} +1 -1
  65. package/dist/assets/{index-BJYqkXUw.js → index-Cu0b-jgK.js} +1 -1
  66. package/dist/assets/{index-DB7g9m_R.js → index-DA4wR-ie.js} +1 -1
  67. package/dist/assets/{index-kF0xEQ0E.js → index-DC3x_AFd.js} +1 -1
  68. package/dist/assets/{index-DMWfYwZZ.js → index-DKdokzug.js} +1 -1
  69. package/dist/assets/{index-BZCSByFC.js → index-DusYxt7C.js} +3 -3
  70. package/dist/assets/{index-BjvqCh5g.js → index-DynC8vQ4.js} +1 -1
  71. package/dist/assets/{index-Breet2G4.js → index-GmuqTVr0.js} +1 -1
  72. package/dist/assets/index.es-CWMLsIMc.js +47 -0
  73. package/dist/assets/index.es-g5_0R3zE.js +15 -0
  74. package/dist/assets/{info-C0I2HHbp.js → info-P71aU507.js} +1 -1
  75. package/dist/assets/{info-circle-BJmxBusI.js → info-circle-D8ZhpY4M.js} +1 -1
  76. package/dist/assets/{lightbulb-Chfw09TV.js → lightbulb-CWL8Hapk.js} +1 -1
  77. package/dist/assets/{mail-BGqa051c.js → mail-BKdMRnR2.js} +1 -1
  78. package/dist/assets/{mobile-DkPjbMNa.js → mobile-Bw0EoBkW.js} +1 -1
  79. package/dist/assets/{more-f7FKhsyw.js → more-BSKGQd1b.js} +1 -1
  80. package/dist/assets/{network-placeholder-DyyxIB08.js → network-placeholder-B1xqyidN.js} +1 -1
  81. package/dist/assets/{nftPlaceholder-CfDPimUz.js → nftPlaceholder-CuCsNvkN.js} +1 -1
  82. package/dist/assets/{off-BvnUT7bh.js → off-BX6zoZuA.js} +1 -1
  83. package/dist/assets/{play-store-Dl8Di4Xz.js → play-store-CCveEK_B.js} +1 -1
  84. package/dist/assets/{plus-Dtc5pm0q.js → plus-C02SGp4V.js} +1 -1
  85. package/dist/assets/{provider-jsonrpc-CG-x8-V6.js → provider-jsonrpc-DTnJKzTS.js} +1 -1
  86. package/dist/assets/{qr-code-b5m8lMyQ.js → qr-code-DGe_aS_i.js} +1 -1
  87. package/dist/assets/{recycle-horizontal-DztIZMpd.js → recycle-horizontal-DtRomJbx.js} +1 -1
  88. package/dist/assets/{refresh-Z55s9i8s.js → refresh-DPABcpes.js} +1 -1
  89. package/dist/assets/{reown-logo-BVpI-nfV.js → reown-logo-DG2ULLka.js} +1 -1
  90. package/dist/assets/{search-CjKBf0db.js → search-EURxday_.js} +1 -1
  91. package/dist/assets/{secp256k1-BHTD1Qmp.js → secp256k1-D-G9AbtW.js} +1 -1
  92. package/dist/assets/{secp256k1-CCS9UBYD.js → secp256k1-DfnLU_Rr.js} +1 -1
  93. package/dist/assets/{send-DRsIh8XD.js → send-t6aoH9GB.js} +1 -1
  94. package/dist/assets/signer-7-tpWjBV.js +2 -0
  95. package/dist/assets/{solana-D0M1N7L4.js → solana-C-diloCa.js} +18 -18
  96. package/dist/assets/solana-C6mHMmQi.js +2 -0
  97. package/dist/assets/solanaEmbed.esm-DhAz8SOB.js +10 -0
  98. package/dist/assets/{sui-DXdm7DBB.js → sui-DXg2Lhyt.js} +4 -4
  99. package/dist/assets/{sui-CXoaI0gx.js → sui-Pc10JTxL.js} +2 -2
  100. package/dist/assets/{swapHorizontal-COY_WODc.js → swapHorizontal-Cd2Bq-oX.js} +1 -1
  101. package/dist/assets/{swapHorizontalBold-C0JXN9CW.js → swapHorizontalBold-CK6YXqcD.js} +1 -1
  102. package/dist/assets/{swapHorizontalMedium-DH34hVvb.js → swapHorizontalMedium-BCT4Hlrg.js} +1 -1
  103. package/dist/assets/{swapHorizontalRoundedBold-Cbu2lR_U.js → swapHorizontalRoundedBold-C-NDd7Fq.js} +1 -1
  104. package/dist/assets/{swapVertical-CjpRMkF_.js → swapVertical-BfKszPb9.js} +1 -1
  105. package/dist/assets/{telegram-DxmYoEg_.js → telegram-D5sYoBZp.js} +1 -1
  106. package/dist/assets/{three-dots-GsCsg39y.js → three-dots-qiTqAG0h.js} +1 -1
  107. package/dist/assets/{tokens-DNQKjj3l.js → tokens-BjeNFBPV.js} +2 -2
  108. package/dist/assets/{twitch-LH0w9yHE.js → twitch-1VH6BaUA.js} +1 -1
  109. package/dist/assets/{twitterIcon-Ci6YQIIR.js → twitterIcon-hIEIDwcz.js} +1 -1
  110. package/dist/assets/{verify-CLWJXQKG.js → verify-DxvRt34f.js} +1 -1
  111. package/dist/assets/{verify-filled-Bgbn2dT_.js → verify-filled-RtidYdgS.js} +1 -1
  112. package/dist/assets/{w3m-modal-BR4v9o5N.js → w3m-modal-DI_ypCY0.js} +1 -1
  113. package/dist/assets/{wallet-Dy9a13FP.js → wallet-Cb9kcAk9.js} +1 -1
  114. package/dist/assets/{wallet-placeholder-BlMcAG8z.js → wallet-placeholder-pTFD8Qr_.js} +1 -1
  115. package/dist/assets/{walletconnect-BmSWYy7N.js → walletconnect-DvJIx5jD.js} +1 -1
  116. package/dist/assets/{warning-circle-DUSLmVwm.js → warning-circle-CRzNiBlj.js} +1 -1
  117. package/dist/assets/{x-D-BfG-2C.js → x-Dk-mK5uZ.js} +1 -1
  118. package/dist/main.js +74 -74
  119. package/dist/src/utils/index.d.ts +1 -1
  120. package/dist/src/utils/index.d.ts.map +1 -1
  121. package/dist/src/utils/wallet/solana.d.ts.map +1 -1
  122. package/dist/src/views/v2/Bridge/AmountInput/index.d.ts.map +1 -1
  123. package/dist/src/views/v2/Redeem/TransactionDetails/index.d.ts.map +1 -1
  124. package/dist/src/views/v2/TxHistory/Item/index.d.ts.map +1 -1
  125. package/lib/{add-k3ewuJUG.js → add-DVGSYBJf.js} +1 -1
  126. package/lib/{add-BPFasfGu.mjs → add-DrLWWjDN.mjs} +1 -1
  127. package/lib/{all-wallets-la-1zudw.mjs → all-wallets-CjzZMHCA.mjs} +1 -1
  128. package/lib/{all-wallets-DbhnhSgQ.js → all-wallets-DGVJQYa0.js} +1 -1
  129. package/lib/{app-store-DwyKNjnW.js → app-store-BABxSxrd.js} +1 -1
  130. package/lib/{app-store-doruxuZE.mjs → app-store-kpf503GR.mjs} +1 -1
  131. package/lib/{apple-Ba-W9z_L.mjs → apple-C0AtBJDu.mjs} +1 -1
  132. package/lib/{apple-f5EysyhV.js → apple-C962M6Ax.js} +1 -1
  133. package/lib/{aptos-ChgDZ9Bs.mjs → aptos-XxQj_uxF.mjs} +1 -1
  134. package/lib/{aptos-BYM651I5.js → aptos-uWJCRLoQ.js} +1 -1
  135. package/lib/{arrow-bottom-CyaXCpbT.js → arrow-bottom-CIZJcZfr.js} +1 -1
  136. package/lib/{arrow-bottom-CZPkUc3D.mjs → arrow-bottom-D0wK6uMJ.mjs} +1 -1
  137. package/lib/{arrow-bottom-circle-BOmrxjxV.mjs → arrow-bottom-circle-D5QwftYY.mjs} +1 -1
  138. package/lib/{arrow-bottom-circle-Kla1lJ0S.js → arrow-bottom-circle-iOl-NxXR.js} +1 -1
  139. package/lib/{arrow-left-Dqlhv2Qp.mjs → arrow-left-BL0dHjzy.mjs} +1 -1
  140. package/lib/{arrow-left-DtuOud7o.js → arrow-left-C-RAtnQ2.js} +1 -1
  141. package/lib/{arrow-right-W0IwU-6h.js → arrow-right-COiq03Wj.js} +1 -1
  142. package/lib/{arrow-right-glR4LxQL.mjs → arrow-right-DaZMOW_1.mjs} +1 -1
  143. package/lib/{arrow-top-DDcfmUYc.js → arrow-top-7Srj2XLP.js} +1 -1
  144. package/lib/{arrow-top-ChZhpBX5.mjs → arrow-top-QPVhK81o.mjs} +1 -1
  145. package/lib/{bank-2fSYiPNd.js → bank-Bp2l8LtZ.js} +1 -1
  146. package/lib/{bank-CeAxLFYE.mjs → bank-C5lNHVtL.mjs} +1 -1
  147. package/lib/{basic-DmAZdELt.mjs → basic-C5W71-rE.mjs} +2 -2
  148. package/lib/{basic-DATFcjGI.js → basic-DQ6ISwhI.js} +1 -1
  149. package/lib/{browser-CD59CQ82.mjs → browser-CJhUYmz6.mjs} +1 -1
  150. package/lib/{browser-DrdHogv9.js → browser-DV0hL_fK.js} +1 -1
  151. package/lib/{card-CR5E0M8J.mjs → card-DSeabGLV.mjs} +1 -1
  152. package/lib/{card-DsBOUpCN.js → card-yZLq1X6c.js} +1 -1
  153. package/lib/{ccip-BFa4y-oy.js → ccip-BCsOYNZd.js} +1 -1
  154. package/lib/{ccip-bLQYuHSY.mjs → ccip-CFqlillN.mjs} +1 -1
  155. package/lib/{checkmark-CsX9NZH7.js → checkmark-BW4NeFlB.js} +1 -1
  156. package/lib/{checkmark-CfNjLqyN.mjs → checkmark-DhgNpDof.mjs} +1 -1
  157. package/lib/{checkmark-bold-DY9T5oVa.mjs → checkmark-bold-CxJkyUOt.mjs} +1 -1
  158. package/lib/{checkmark-bold-BJIvwCmJ.js → checkmark-bold-DnEFF9eL.js} +1 -1
  159. package/lib/{chevron-bottom-BYoFClQQ.mjs → chevron-bottom-Pi9qTSKk.mjs} +1 -1
  160. package/lib/{chevron-bottom-Ditoq2xa.js → chevron-bottom-Tb5GYU7P.js} +1 -1
  161. package/lib/{chevron-left-3WnVWUcO.js → chevron-left-BRp6K_BQ.js} +1 -1
  162. package/lib/{chevron-left-CqVSZU9b.mjs → chevron-left-Cl35pkRv.mjs} +1 -1
  163. package/lib/{chevron-right-CJBuSXL6.js → chevron-right-D1Ic6C28.js} +1 -1
  164. package/lib/{chevron-right-X3OiwFgb.mjs → chevron-right-pjH-xKxB.mjs} +1 -1
  165. package/lib/{chevron-top-sE88QRY5.mjs → chevron-top-DSe-dX8z.mjs} +1 -1
  166. package/lib/{chevron-top-evdJz5l1.js → chevron-top-SdyRa8IE.js} +1 -1
  167. package/lib/{chrome-store-BE0d8gm3.js → chrome-store-0qgfQSAS.js} +1 -1
  168. package/lib/{chrome-store-CrGMC4Ms.mjs → chrome-store-ThoUGIhl.mjs} +1 -1
  169. package/lib/{clock-BQOPbXNd.js → clock-2HqPHolX.js} +1 -1
  170. package/lib/{clock-B2hRLLna.mjs → clock-B0sBEXQ5.mjs} +1 -1
  171. package/lib/{close-DwQUJGX9.js → close-BJQf5USo.js} +1 -1
  172. package/lib/{close-BAo2qofr.mjs → close-Bznv5frT.mjs} +1 -1
  173. package/lib/{coinPlaceholder-Cop9iL3O.mjs → coinPlaceholder-1gZoTAqN.mjs} +1 -1
  174. package/lib/{coinPlaceholder-D4XIXbUt.js → coinPlaceholder-CvvSiYI-.js} +1 -1
  175. package/lib/{compass-C1qPsOLt.js → compass-BBMA-82e.js} +1 -1
  176. package/lib/{compass-BirhgtWV.mjs → compass-BE99mJOV.mjs} +1 -1
  177. package/lib/constants-BDS32jve.js +1 -0
  178. package/lib/{constants-D9NeMoZZ.mjs → constants-Bp_337ur.mjs} +1 -1
  179. package/lib/{copy-DTprqw_x.js → copy-B_JboG8P.js} +1 -1
  180. package/lib/{copy-CEI12w7k.mjs → copy-Cwolsgnk.mjs} +1 -1
  181. package/lib/{cursor-BWYqc_Iy.mjs → cursor-0EyS6nH4.mjs} +1 -1
  182. package/lib/{cursor-CJNQd6s1.js → cursor-C2jyr1Tt.js} +1 -1
  183. package/lib/{cursor-transparent-BgDxhGZb.js → cursor-transparent-BaVE19A2.js} +1 -1
  184. package/lib/{cursor-transparent-DyUm_Gyl.mjs → cursor-transparent-ZUI7NwAo.mjs} +1 -1
  185. package/lib/{desktop-Donl6N-w.mjs → desktop-B1U1mc6q.mjs} +1 -1
  186. package/lib/{desktop-Dhc3ut6w.js → desktop-Dmz61Quh.js} +1 -1
  187. package/lib/{disconnect-BOkIc2nC.mjs → disconnect-8HUMogEY.mjs} +1 -1
  188. package/lib/{disconnect-BF1o-_4J.js → disconnect-Bn_0Td6c.js} +1 -1
  189. package/lib/{discord-Cr_4Cd1g.js → discord-4tBuPwio.js} +1 -1
  190. package/lib/{discord-3TAxBxMm.mjs → discord-DNMu-4pj.mjs} +1 -1
  191. package/lib/{etherscan-BdKsG3Bv.js → etherscan-CdfpxSFw.js} +1 -1
  192. package/lib/{etherscan-crtB48km.mjs → etherscan-DTafkFM9.mjs} +1 -1
  193. package/lib/{evm-BW-hVkAs.mjs → evm-B5SS0axR.mjs} +3 -3
  194. package/lib/{evm-BwVzzPhr.js → evm-BZKMUp6E.js} +3 -3
  195. package/lib/{exclamation-triangle-B8ouyGn5.mjs → exclamation-triangle-BLb5RCv9.mjs} +1 -1
  196. package/lib/{exclamation-triangle-CDWJ40KD.js → exclamation-triangle-W8wr4W3B.js} +1 -1
  197. package/lib/{extension-DdSvlDz-.js → extension-B3rp6j3f.js} +1 -1
  198. package/lib/{extension-CKbWDUFI.mjs → extension-DqXaH5V_.mjs} +1 -1
  199. package/lib/{external-link-DJvJgYIh.js → external-link-DWSOPcgR.js} +1 -1
  200. package/lib/{external-link-Ba6hY_g_.mjs → external-link-DupOMQca.mjs} +1 -1
  201. package/lib/{facebook-CFUYIcny.mjs → facebook-C25qgXgI.mjs} +1 -1
  202. package/lib/{facebook-A65A2Gkq.js → facebook-gaoSLwmV.js} +1 -1
  203. package/lib/{farcaster-BVmh2zDV.mjs → farcaster-BKQVbYft.mjs} +1 -1
  204. package/lib/{farcaster-qZSmV22m.js → farcaster-Dw_KFzSe.js} +1 -1
  205. package/lib/{filters-Uk-V5NfL.mjs → filters-BRj-u8fO.mjs} +1 -1
  206. package/lib/{filters-CNDKq3Qc.js → filters-BSv2GVWx.js} +1 -1
  207. package/lib/{github-CKyZTPiz.mjs → github-B8zYv5B1.mjs} +1 -1
  208. package/lib/{github-B34wWZJc.js → github-CVSqx81G.js} +1 -1
  209. package/lib/{google-D5l_b5at.mjs → google-CJy4jhj7.mjs} +1 -1
  210. package/lib/{google-CuY8LtEi.js → google-DWyFM_-_.js} +1 -1
  211. package/lib/{help-circle-B8yY3eo0.js → help-circle-BihX0QHp.js} +1 -1
  212. package/lib/{help-circle-CecVMIZq.mjs → help-circle-D2kyGnMD.mjs} +1 -1
  213. package/lib/hosted.js +1 -1
  214. package/lib/hosted.mjs +1 -1
  215. package/lib/{id-DTrVc-vC.mjs → id-BvDoX2i7.mjs} +1 -1
  216. package/lib/{id-DLcZPuZY.js → id-ZWI-bwNJ.js} +1 -1
  217. package/lib/{image-DTiFTFsi.mjs → image-BeWwKKKj.mjs} +1 -1
  218. package/lib/{image-Cwpi7jk6.js → image-CNQTgOF8.js} +1 -1
  219. package/lib/{index-CXkqbcY-.mjs → index-BXBTU3I5.mjs} +78 -78
  220. package/lib/{index-DoD0YukX.js → index-D2yjOpeA.js} +2 -2
  221. package/lib/{index-C8Ud7j_3.mjs → index-Dpl42t-y.mjs} +19180 -19176
  222. package/lib/index-DwMMfwYI.js +304 -0
  223. package/lib/{index.es-TJGl70mY.js → index.es-BvsB6Z8q.js} +1 -1
  224. package/lib/{index.es-DpOAk4i2.js → index.es-C2112Y2b.js} +1 -1
  225. package/lib/{index.es-CDEST0S7.mjs → index.es-C4KG3MSj.mjs} +1 -1
  226. package/lib/{index.es-BMIY5pYw.mjs → index.es-Cy_oFTNH.mjs} +3 -3
  227. package/lib/index.js +1 -1
  228. package/lib/index.mjs +1 -1
  229. package/lib/{info-DcQS8IpR.js → info-C73QOiqc.js} +1 -1
  230. package/lib/{info-t-enQ6Lr.mjs → info-CjKZyXW_.mjs} +1 -1
  231. package/lib/{info-circle-DT6JQVme.mjs → info-circle-CEpS6rzX.mjs} +1 -1
  232. package/lib/{info-circle-aXtdOOCE.js → info-circle-DE-EmffO.js} +1 -1
  233. package/lib/{lightbulb-CtbmuzLN.mjs → lightbulb-BVq3C-EG.mjs} +1 -1
  234. package/lib/{lightbulb-PXEUZBLD.js → lightbulb-Dm6Hsfd3.js} +1 -1
  235. package/lib/{mail-BeOHsaxl.mjs → mail-CqUQETIH.mjs} +1 -1
  236. package/lib/{mail-D9Wkb_fX.js → mail-GRon9tbg.js} +1 -1
  237. package/lib/{mobile-iCRio9M2.js → mobile-BmGmHmVh.js} +1 -1
  238. package/lib/{mobile-RJYQQ92x.mjs → mobile-CEbEFp0X.mjs} +1 -1
  239. package/lib/{more-CjmHuHR3.js → more-CnS-NcGa.js} +1 -1
  240. package/lib/{more-5fdnBWda.mjs → more-Cs0cmKvd.mjs} +1 -1
  241. package/lib/{network-placeholder-DfXy-pw6.js → network-placeholder-CjPyqfGa.js} +1 -1
  242. package/lib/{network-placeholder-xXksUrh5.mjs → network-placeholder-DYuB36S0.mjs} +1 -1
  243. package/lib/{nftPlaceholder-CsrQCxrs.mjs → nftPlaceholder-COJmgjQo.mjs} +1 -1
  244. package/lib/{nftPlaceholder-sAiBQkMk.js → nftPlaceholder-CoY2NOAz.js} +1 -1
  245. package/lib/{off-BqIL7yPu.js → off-B-WmBPpa.js} +1 -1
  246. package/lib/{off-BwM4HctO.mjs → off-CZo3LYgL.mjs} +1 -1
  247. package/lib/{play-store-CI-BG6p6.js → play-store-Chciiwp3.js} +1 -1
  248. package/lib/{play-store-DxNIHRp-.mjs → play-store-Edmxg3AX.mjs} +1 -1
  249. package/lib/{plus-C6x2EScU.js → plus-C93OSdaz.js} +1 -1
  250. package/lib/{plus-B7obWHt8.mjs → plus-D2jFkgs1.mjs} +1 -1
  251. package/lib/{qr-code-3DFC3Q4R.mjs → qr-code-c2tFySK0.mjs} +1 -1
  252. package/lib/{qr-code-DmjJRj0_.js → qr-code-y78Lk8wE.js} +1 -1
  253. package/lib/{recycle-horizontal-Bdxajrwe.mjs → recycle-horizontal-CWycpdDF.mjs} +1 -1
  254. package/lib/{recycle-horizontal-CG5av2fz.js → recycle-horizontal-PXk9BX3j.js} +1 -1
  255. package/lib/{refresh-Zr5AsEKU.mjs → refresh-C77_db2T.mjs} +1 -1
  256. package/lib/{refresh-Btbt-_sS.js → refresh-mky0B17c.js} +1 -1
  257. package/lib/{reown-logo-CR3PdJr3.mjs → reown-logo-0RkEf9EI.mjs} +1 -1
  258. package/lib/{reown-logo-CfO-XbUR.js → reown-logo-DceXhK36.js} +1 -1
  259. package/lib/{search-CSdDYgkF.mjs → search-BrMSW1-8.mjs} +1 -1
  260. package/lib/{search-CTbUM9lC.js → search-CWru3218.js} +1 -1
  261. package/lib/{secp256k1-BZjEFwP8.js → secp256k1-BU-UfBCB.js} +1 -1
  262. package/lib/{secp256k1-DWHMs4rw.mjs → secp256k1-C4P0dmMC.mjs} +1 -1
  263. package/lib/{secp256k1-DPqpw2CY.mjs → secp256k1-CI3_SM8F.mjs} +1 -1
  264. package/lib/{secp256k1-CnnROfkI.js → secp256k1-Cks0bicH.js} +1 -1
  265. package/lib/{send-B7xqmURU.js → send-CRyBVD1k.js} +1 -1
  266. package/lib/{send-DznbeEhx.mjs → send-DFkvxnIh.mjs} +1 -1
  267. package/lib/{solana-DLlqlTiO.js → solana-BVnMWq13.js} +14 -14
  268. package/lib/{solana-AxtnvbY3.mjs → solana-L02hbBDE.mjs} +387 -373
  269. package/lib/{solanaEmbed.esm-CAxFhfEV.js → solanaEmbed.esm-BG5cgKub.js} +1 -1
  270. package/lib/{solanaEmbed.esm-7UXGCmUk.mjs → solanaEmbed.esm-DSwNdsgx.mjs} +1 -1
  271. package/lib/src/utils/index.d.ts +1 -1
  272. package/lib/src/utils/index.d.ts.map +1 -1
  273. package/lib/src/utils/wallet/solana.d.ts.map +1 -1
  274. package/lib/src/views/v2/Bridge/AmountInput/index.d.ts.map +1 -1
  275. package/lib/src/views/v2/Redeem/TransactionDetails/index.d.ts.map +1 -1
  276. package/lib/src/views/v2/TxHistory/Item/index.d.ts.map +1 -1
  277. package/lib/{sui-hvPfY1xD.mjs → sui-CN1tZAOs.mjs} +1 -1
  278. package/lib/{sui-CBgZojMi.js → sui-Dv1p0XoG.js} +1 -1
  279. package/lib/{swapHorizontal-CD3pRzO9.js → swapHorizontal-BiCkAPre.js} +1 -1
  280. package/lib/{swapHorizontal-D794mX-0.mjs → swapHorizontal-Bo_-2U6j.mjs} +1 -1
  281. package/lib/{swapHorizontalBold-BNqV8D-B.mjs → swapHorizontalBold-BPL2XaSi.mjs} +1 -1
  282. package/lib/{swapHorizontalBold-DmkD9tJg.js → swapHorizontalBold-CWHbSIEu.js} +1 -1
  283. package/lib/{swapHorizontalMedium-mBKWLCjs.mjs → swapHorizontalMedium-CTsDFfzR.mjs} +1 -1
  284. package/lib/{swapHorizontalMedium-BAsprxHr.js → swapHorizontalMedium-D_2Z2Hfq.js} +1 -1
  285. package/lib/{swapHorizontalRoundedBold-TCs9zHMJ.mjs → swapHorizontalRoundedBold-8b5z2YJ_.mjs} +1 -1
  286. package/lib/{swapHorizontalRoundedBold-Bxkjq6qT.js → swapHorizontalRoundedBold-CDKFFagj.js} +1 -1
  287. package/lib/{swapVertical-DhTXBg3D.js → swapVertical-CNBatiM6.js} +1 -1
  288. package/lib/{swapVertical-l8Luks9S.mjs → swapVertical-UTCgpnIJ.mjs} +1 -1
  289. package/lib/{telegram-kWkcmqoP.mjs → telegram-CVvlgH_Z.mjs} +1 -1
  290. package/lib/{telegram-DL0uLP7b.js → telegram-lTj0r5My.js} +1 -1
  291. package/lib/{three-dots-DWHn78kh.js → three-dots-DQLgK82o.js} +1 -1
  292. package/lib/{three-dots-DrLoXyiQ.mjs → three-dots-KK4NyvR7.mjs} +1 -1
  293. package/lib/{tokens-BUz0LqoV.js → tokens-B2pmB4Ph.js} +1 -1
  294. package/lib/{tokens-CVWDocZl.mjs → tokens-BQHmitaT.mjs} +1 -1
  295. package/lib/{twitch-I4SDZ--W.mjs → twitch-CO4nmS5o.mjs} +1 -1
  296. package/lib/{twitch-DhKQH1oi.js → twitch-wV3Yc6kA.js} +1 -1
  297. package/lib/{twitterIcon-b32a7G08.mjs → twitterIcon-BU99IvD2.mjs} +1 -1
  298. package/lib/{twitterIcon-jhkqYcKG.js → twitterIcon-pCNPPny7.js} +1 -1
  299. package/lib/{verify-BHunOaoq.js → verify-B21LHiy7.js} +1 -1
  300. package/lib/{verify-BILic2OM.mjs → verify-Ci9XMhb8.mjs} +1 -1
  301. package/lib/{verify-filled-DaZqbtNa.js → verify-filled-DCMcHuAt.js} +1 -1
  302. package/lib/{verify-filled-DWED2hiA.mjs → verify-filled-LUtqUhbS.mjs} +1 -1
  303. package/lib/{w3m-modal-Cy1spBe9.mjs → w3m-modal-BJkuxcj8.mjs} +2 -2
  304. package/lib/{w3m-modal-FbJz8iZj.js → w3m-modal-DJRTg4Aa.js} +1 -1
  305. package/lib/{wallet-Bt7nP-Xo.js → wallet-BqBebKQF.js} +1 -1
  306. package/lib/{wallet-BcFzu16M.mjs → wallet-USpq1vKL.mjs} +1 -1
  307. package/lib/{wallet-placeholder-DgWC2b6z.mjs → wallet-placeholder-CL_evZUb.mjs} +1 -1
  308. package/lib/{wallet-placeholder-B4QUbZ9F.js → wallet-placeholder-Cf1u-2wB.js} +1 -1
  309. package/lib/{walletconnect-D0jqiSEY.mjs → walletconnect-3g5k3agX.mjs} +1 -1
  310. package/lib/{walletconnect-DJotTW4X.js → walletconnect-Da6ZdP8w.js} +1 -1
  311. package/lib/{warning-circle-Bj9uBvqX.mjs → warning-circle-B3ivLfCN.mjs} +1 -1
  312. package/lib/{warning-circle-B9it-2WD.js → warning-circle-CvTdOy7u.js} +1 -1
  313. package/lib/{x-uoxUEJo2.mjs → x-BOwtJrlH.mjs} +1 -1
  314. package/lib/{x-BLLVBVBO.js → x-DQCRmr2P.js} +1 -1
  315. package/package.json +1 -1
  316. package/dist/assets/index-Z3Xir6L3.js +0 -1
  317. package/dist/assets/index.es-3Tq6bjFW.js +0 -47
  318. package/dist/assets/index.es-CBqWEk7T.js +0 -15
  319. package/dist/assets/signer-BRan8q4C.js +0 -2
  320. package/dist/assets/solana-B3bc0p0T.js +0 -2
  321. package/dist/assets/solanaEmbed.esm-Mnq6o_qa.js +0 -10
  322. package/lib/constants-T5Vq_IiF.js +0 -1
  323. package/lib/index-BLJhpzbW.js +0 -304
@@ -1,4 +1,4 @@
1
- var My=Object.defineProperty;var xy=(e,t,a)=>t in e?My(e,t,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[t]=a;var Be=(e,t,a)=>xy(e,typeof t!="symbol"?t+"":t,a);import{P as kl,T as Iy,b as Bn,M as Ry,a as Cy,A as Oy,e as $6,K as Zd,c as le,r as s5,d as Sc,f as pe,g as Ny,i as xr,h as L6,j as Zl,s as Vy,S as Yt,k as l5,C as Wy,V as Fy,l as By,m as Ky}from"../main.js";import{C as Uy}from"./contract-BhySpM-Z.js";const _c=e=>({__option:"Some",value:e}),Tl=()=>({__option:"None"}),wc=e=>e&&typeof e=="object"&&"__option"in e&&(e.__option==="Some"&&"value"in e||e.__option==="None"),or=e=>e.__option==="Some",jy=e=>e.__option==="None";function $y(e,t){return or(e)?e.value:t?t():null}const d5=e=>e!==null?_c(e):Tl(),Ly=e=>or(e)?e.value:null,qy=(e,t)=>or(e)?e.value:t();function jp(e,t){if(!e||ArrayBuffer.isView(e))return e;const a=r=>t?jp(r,t):jp(r);return wc(e)?or(e)?a(e.value):t?t():null:Array.isArray(e)?e.map(a):typeof e=="object"?Object.fromEntries(Object.entries(e).map(([r,i])=>[r,a(i)])):e}let Hl=class extends Error{constructor(a,r,i){const n=`Expected a string of base ${r}, got [${a}].`;super(n);Be(this,"name","InvalidBaseStringError");this.cause=i}};const Gl=e=>{const t=e.length,a=BigInt(t);return{description:`base${t}`,fixedSize:null,maxSize:null,serialize(r){if(!r.match(new RegExp(`^[${e}]*$`)))throw new Hl(r,t);if(r==="")return new Uint8Array;const i=[...r];let n=i.findIndex(c=>c!==e[0]);n=n===-1?i.length:n;const s=Array(n).fill(0);if(n===i.length)return Uint8Array.from(s);const l=i.slice(n);let u=0n,o=1n;for(let c=l.length-1;c>=0;c-=1)u+=o*BigInt(e.indexOf(l[c])),o*=a;const d=[];for(;u>0n;)d.unshift(Number(u%256n)),u/=256n;return Uint8Array.from(s.concat(d))},deserialize(r,i=0){if(r.length===0)return["",0];const n=r.slice(i);let s=n.findIndex(d=>d!==0);s=s===-1?n.length:s;const l=e[0].repeat(s);if(s===n.length)return[l,r.length];let u=n.slice(s).reduce((d,c)=>d*256n+BigInt(c),0n);const o=[];for(;u>0n;)o.unshift(e[Number(u%a)]),u/=a;return[l+o.join(""),r.length]}}},Pc=Gl("0123456789"),u5={description:"base16",fixedSize:null,maxSize:null,serialize(e){const t=e.toLowerCase();if(!t.match(/^[0123456789abcdef]*$/))throw new Hl(e,16);const a=t.match(/.{1,2}/g);return Uint8Array.from(a?a.map(r=>parseInt(r,16)):[])},deserialize(e,t=0){return[e.slice(t).reduce((r,i)=>r+i.toString(16).padStart(2,"0"),""),e.length]}},f1=Gl("123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz"),Tt=e=>{const t=e.reduce((i,n)=>i+n.length,0),a=new Uint8Array(t);let r=0;return e.forEach(i=>{a.set(i,r),r+=i.length}),a},Ec=(e,t)=>{if(e.length>=t)return e;const a=new Uint8Array(t).fill(0);return a.set(e),a},zl=(e,t)=>Ec(e.slice(0,t),t);class Ir extends Error{constructor(a){super(`Serializer [${a}] cannot deserialize empty buffers.`);Be(this,"name","DeserializingEmptyBufferError")}}class pn extends Error{constructor(a,r,i){super(`Serializer [${a}] expected ${r} bytes, got ${i}.`);Be(this,"name","NotEnoughBytesError")}}class g1 extends Error{constructor(a){a??(a="Expected a fixed-size serializer, got a variable-size one.");super(a);Be(this,"name","ExpectedFixedSizeSerializerError")}}function Ql(e,t,a){return{description:a??`fixed(${t}, ${e.description})`,fixedSize:t,maxSize:t,serialize:r=>zl(e.serialize(r),t),deserialize:(r,i=0)=>{if(r=r.slice(i,i+t),r.length<t)throw new pn("fixSerializer",t,r.length);e.fixedSize!==null&&(r=zl(r,e.fixedSize));const[n]=e.deserialize(r,0);return[n,i+t]}}}function v1(e,t,a){return{description:e.description,fixedSize:e.fixedSize,maxSize:e.maxSize,serialize:r=>e.serialize(t(r)),deserialize:(r,i=0)=>{const[n,s]=e.deserialize(r,i);return a?[a(n,r,i),s]:[n,s]}}}function p5(e){if(e.fixedSize===null)throw new g1("Cannot reverse a serializer of variable size.");return{...e,serialize:t=>e.serialize(t).reverse(),deserialize:(t,a=0)=>{const r=e.fixedSize,i=Tt([t.slice(0,a),t.slice(a,a+r).reverse(),t.slice(a+r)]);return e.deserialize(i,a)}}}const c5=(e,t)=>{const a=e.length,r=(i,n,s,l)=>{const u=[];let o=0,d=0;const c=(1<<s)-1;for(const p of i)for(o=o<<n|p,d+=n;d>=s;)d-=s,u.push(o>>d&c);return l&&d>0&&u.push(o<<s-d&c),u};return{description:`base${a}`,fixedSize:null,maxSize:null,serialize(i){if(!i.match(new RegExp(`^[${e}]*$`)))throw new Hl(i,a);if(i==="")return new Uint8Array;const n=[...i].map(l=>e.indexOf(l)),s=r(n,t,8,!1);return Uint8Array.from(s)},deserialize(i,n=0){if(i.length===0)return["",0];const s=[...i.slice(n)];return[r(s,8,t,!0).map(u=>e[u]).join(""),i.length]}}},kc=v1(c5("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",6),e=>e.replace(/=/g,""),e=>e.padEnd(Math.ceil(e.length/4)*4,"=")),Tc=e=>e.replace(/\u0000/g,""),m5=(e,t)=>e.padEnd(t,"\0"),Jl={description:"utf8",fixedSize:null,maxSize:null,serialize(e){return new TextEncoder().encode(e)},deserialize(e,t=0){const a=new TextDecoder().decode(e.slice(t));return[Tc(a),e.length]}};class Hs extends Error{constructor(a,r){r=r?`. ${r}`:"";super(`The provided public key is invalid: ${a}${r}`);Be(this,"name","InvalidPublicKeyError");this.invalidPublicKey=a}}const r1=32;function Xt(e,t=!0){const a=typeof e=="string"?e:typeof e=="object"&&"publicKey"in e?e.publicKey:typeof e=="object"&&"toBase58"in e?e.toBase58():Array.isArray(e)?e[0]:f1.deserialize(e)[0];return t&&zc(a),a}const Zy=()=>"11111111111111111111111111111111",On=e=>{try{return zc(e),!0}catch{return!1}},Hy=e=>Array.isArray(e)&&e.length===2&&typeof e[1]=="number"&&On(e[0]);function zc(e){if(typeof e!="string")throw new Hs(e,"Public keys must be strings.");Yl(e)}const Gy=e=>[...new Set(e)],Yl=e=>{if(e.length<32||e.length>44)throw new Hs(e,"Public keys must be between 32 and 44 characters.");let t;try{t=f1.serialize(e)}catch{throw new Hs(e,"Public keys must be base58 encoded.")}if(t.length!==r1)throw new Hs(e,`Public keys must be ${r1} bytes.`);return t},Qy=e=>Xt(e),Jy=(e,t)=>Xt(e)===Xt(t);let i1;(function(e){e.Little="le",e.Big="be"})(i1||(i1={}));class f5 extends RangeError{constructor(a,r,i,n){super(`Serializer [${a}] expected number to be between ${r} and ${i}, got ${n}.`);Be(this,"name","NumberOutOfRangeError")}}function Bt(e){let t,a=e.name;return e.size>1&&(t=!("endian"in e.options)||e.options.endian===i1.Little,a+=t?"(le)":"(be)"),{description:e.options.description??a,fixedSize:e.size,maxSize:e.size,serialize(r){e.range&&g5(e.name,e.range[0],e.range[1],r);const i=new ArrayBuffer(e.size);return e.set(new DataView(i),r,t),new Uint8Array(i)},deserialize(r,i=0){const n=r.slice(i,i+e.size);eb("i8",n,e.size);const s=Xy(n);return[e.get(s,t),i+e.size]}}}const Yy=e=>e.buffer.slice(e.byteOffset,e.byteLength+e.byteOffset),Xy=e=>new DataView(Yy(e)),g5=(e,t,a,r)=>{if(r<t||r>a)throw new f5(e,t,a,r)},eb=(e,t,a)=>{if(t.length===0)throw new Ir(e);if(t.length<a)throw new pn(e,a,t.length)},tb=(e={})=>Bt({name:"f32",size:4,set:(t,a,r)=>t.setFloat32(0,Number(a),r),get:(t,a)=>t.getFloat32(0,a),options:e}),ab=(e={})=>Bt({name:"f64",size:8,set:(t,a,r)=>t.setFloat64(0,Number(a),r),get:(t,a)=>t.getFloat64(0,a),options:e}),rb=(e={})=>Bt({name:"i8",size:1,range:[-+"0x7f"-1,+"0x7f"],set:(t,a)=>t.setInt8(0,Number(a)),get:t=>t.getInt8(0),options:e}),ib=(e={})=>Bt({name:"i16",size:2,range:[-+"0x7fff"-1,+"0x7fff"],set:(t,a,r)=>t.setInt16(0,Number(a),r),get:(t,a)=>t.getInt16(0,a),options:e}),nb=(e={})=>Bt({name:"i32",size:4,range:[-+"0x7fffffff"-1,+"0x7fffffff"],set:(t,a,r)=>t.setInt32(0,Number(a),r),get:(t,a)=>t.getInt32(0,a),options:e}),ob=(e={})=>Bt({name:"i64",size:8,range:[-BigInt("0x7fffffffffffffff")-1n,BigInt("0x7fffffffffffffff")],set:(t,a,r)=>t.setBigInt64(0,BigInt(a),r),get:(t,a)=>t.getBigInt64(0,a),options:e}),sb=(e={})=>Bt({name:"i128",size:16,range:[-BigInt("0x7fffffffffffffffffffffffffffffff")-1n,BigInt("0x7fffffffffffffffffffffffffffffff")],set:(t,a,r)=>{const i=r?8:0,n=r?0:8,s=0xffffffffffffffffn;t.setBigInt64(i,BigInt(a)>>64n,r),t.setBigUint64(n,BigInt(a)&s,r)},get:(t,a)=>{const r=a?8:0,i=a?0:8,n=t.getBigInt64(r,a),s=t.getBigUint64(i,a);return(n<<64n)+s},options:e}),is=(e={})=>Bt({name:"u8",size:1,range:[0,+"0xff"],set:(t,a)=>t.setUint8(0,Number(a)),get:t=>t.getUint8(0),options:e}),lb=(e={})=>Bt({name:"u16",size:2,range:[0,+"0xffff"],set:(t,a,r)=>t.setUint16(0,Number(a),r),get:(t,a)=>t.getUint16(0,a),options:e}),h1=(e={})=>Bt({name:"u32",size:4,range:[0,+"0xffffffff"],set:(t,a,r)=>t.setUint32(0,Number(a),r),get:(t,a)=>t.getUint32(0,a),options:e}),db=(e={})=>Bt({name:"u64",size:8,range:[0,BigInt("0xffffffffffffffff")],set:(t,a,r)=>t.setBigUint64(0,BigInt(a),r),get:(t,a)=>t.getBigUint64(0,a),options:e}),ub=(e={})=>Bt({name:"u128",size:16,range:[0,BigInt("0xffffffffffffffffffffffffffffffff")],set:(t,a,r)=>{const i=r?8:0,n=r?0:8,s=0xffffffffffffffffn;t.setBigUint64(i,BigInt(a)>>64n,r),t.setBigUint64(n,BigInt(a)&s,r)},get:(t,a)=>{const r=a?8:0,i=a?0:8,n=t.getBigUint64(r,a),s=t.getBigUint64(i,a);return(n<<64n)+s},options:e}),pb=(e={})=>({description:e.description??"shortU16",fixedSize:null,maxSize:3,serialize:t=>{g5("shortU16",0,65535,t);const a=[0];for(let r=0;;r+=1){const i=t>>r*7;if(i===0)break;const n=127&i;a[r]=n,r>0&&(a[r-1]|=128)}return new Uint8Array(a)},deserialize:(t,a=0)=>{let r=0,i=0;for(;++i;){const n=i-1,s=t[a+n],l=127&s;if(r|=l<<n*7,!(s&128))break}return[r,a+i]}});class y1 extends Error{constructor(a,r,i){super(`Expected [${a}] to have ${r} items, got ${i}.`);Be(this,"name","InvalidNumberOfItemsError")}}class cb extends Error{constructor(a,r){super(`The remainder of the buffer (${a} bytes) cannot be split into chunks of ${r} bytes. Serializers of "remainder" size must have a remainder that is a multiple of its item size. In other words, ${a} modulo ${r} should be equal to zero.`);Be(this,"name","InvalidArrayLikeRemainderSizeError")}}class v5 extends Error{constructor(a){super(`Unrecognized array-like serializer size: ${JSON.stringify(a)}`);Be(this,"name","UnrecognizedArrayLikeSerializerSizeError")}}class h5 extends Error{constructor(a,r){super(`Invalid data enum variant. Expected one of [${r.join(", ")}], got "${a}".`);Be(this,"name","InvalidDataEnumVariantError")}}class y5 extends Error{constructor(a,r,i,n){super(`Invalid scalar enum variant. Expected one of [${r.join(", ")}] or a number between ${i} and ${n}, got "${a}".`);Be(this,"name","InvalidScalarEnumVariantError")}}class Dc extends RangeError{constructor(a,r,i){super(`Enum discriminator out of range. Expected a number between ${r} and ${i}, got ${a}.`);Be(this,"name","EnumDiscriminatorOutOfRangeError")}}function ha(e){return e.reduce((t,a)=>t===null||a===null?null:t+a,0)}function Mc(e,t,a){if(typeof e=="number")return[e,a];if(typeof e=="object")return e.deserialize(t,a);throw new v5(e)}function cn(e){return typeof e=="object"?e.description:`${e}`}function Kn(e,t){if(typeof e!="number")return null;if(e===0)return 0;const a=ha(t);return a===null?null:a*e}function xc(e,t){return typeof e=="object"?e.serialize(t):new Uint8Array}function mb(e,t={}){const a=t.size??h1();return{description:t.description??`array(${e.description}; ${cn(a)})`,fixedSize:Kn(a,[e.fixedSize]),maxSize:Kn(a,[e.maxSize]),serialize:r=>{if(typeof a=="number"&&r.length!==a)throw new y1("array",a,r.length);return Tt([xc(a,r.length),...r.map(i=>e.serialize(i))])},deserialize:(r,i=0)=>{const n=[];if(typeof a=="object"&&r.slice(i).length===0)return[n,i];if(a==="remainder"){for(;i<r.length;){const[u,o]=e.deserialize(r,i);n.push(u),i=o}return[n,i]}const[s,l]=Mc(a,r,i);i=l;for(let u=0;u<s;u+=1){const[o,d]=e.deserialize(r,i);n.push(o),i=d}return[n,i]}}}const b5=(e,t={})=>{const a=typeof t=="boolean"?{backward:t}:t,r=a.backward??!1,i=r?"; backward":"";return{description:a.description??`bitArray(${e}${i})`,fixedSize:e,maxSize:e,serialize(n){const s=[];for(let l=0;l<e;l+=1){let u=0;for(let o=0;o<8;o+=1){const d=Number(n[l*8+o]??0);u|=d<<(r?o:7-o)}r?s.unshift(u):s.push(u)}return new Uint8Array(s)},deserialize(n,s=0){const l=[];let u=n.slice(s,s+e);if(u=r?u.reverse():u,u.length!==e)throw new pn("bitArray",e,u.length);return u.forEach(o=>{for(let d=0;d<8;d+=1)r?(l.push(!!(o&1)),o>>=1):(l.push(!!(o&128)),o<<=1)}),[l,s+e]}}};function fb(e={}){const t=e.size??is();if(t.fixedSize===null)throw new g1("Serializer [bool] requires a fixed size.");return{description:e.description??`bool(${t.description})`,fixedSize:t.fixedSize,maxSize:t.fixedSize,serialize:a=>t.serialize(a?1:0),deserialize:(a,r=0)=>{if(a.slice(r).length===0)throw new Ir("bool");const[i,n]=t.deserialize(a,r);return[i===1,n]}}}function gb(e={}){const t=e.size??"variable",a=e.description??`bytes(${cn(t)})`,r={description:a,fixedSize:null,maxSize:null,serialize:i=>new Uint8Array(i),deserialize:(i,n=0)=>{const s=i.slice(n);return[s,n+s.length]}};return t==="variable"?r:typeof t=="number"?Ql(r,t,a):{description:a,fixedSize:null,maxSize:null,serialize:i=>{const n=r.serialize(i),s=t.serialize(n.length);return Tt([s,n])},deserialize:(i,n=0)=>{if(i.slice(n).length===0)throw new Ir("bytes");const[s,l]=t.deserialize(i,n),u=Number(s);n=l;const o=i.slice(n,n+u);if(o.length<u)throw new pn("bytes",u,o.length);const[d,c]=r.deserialize(o);return n+=c,[d,n]}}}function A5(e){return e.reduce((t,a)=>t===null||a===null?null:Math.max(t,a),0)}function vb(e,t={}){const a=t.size??is(),r=e.map(([l,u])=>`${String(l)}${u?`: ${u.description}`:""}`).join(", "),n=e.every((l,u,o)=>l[1].fixedSize===o[0][1].fixedSize)?e[0][1].fixedSize:null,s=A5(e.map(([,l])=>l.maxSize));return{description:t.description??`dataEnum(${r}; ${a.description})`,fixedSize:e.length===0?a.fixedSize:ha([a.fixedSize,n]),maxSize:e.length===0?a.maxSize:ha([a.maxSize,s]),serialize:l=>{const u=e.findIndex(([p])=>l.__kind===p);if(u<0)throw new h5(l.__kind,e.map(([p])=>p));const o=a.serialize(u),c=e[u][1].serialize(l);return Tt([o,c])},deserialize:(l,u=0)=>{if(l.slice(u).length===0)throw new Ir("dataEnum");const[o,d]=a.deserialize(l,u);u=d;const c=e[Number(o)]??null;if(!c)throw new Dc(o,0,e.length-1);const[p,m]=c[1].deserialize(l,u);return u=m,[{__kind:c[0],...p??{}},u]}}}function hb(e,t,a={}){const r=a.size??h1();return{description:a.description??`map(${e.description}, ${t.description}; ${cn(r)})`,fixedSize:Kn(r,[e.fixedSize,t.fixedSize]),maxSize:Kn(r,[e.maxSize,t.maxSize]),serialize:i=>{if(typeof r=="number"&&i.size!==r)throw new y1("map",r,i.size);const n=Array.from(i,([s,l])=>Tt([e.serialize(s),t.serialize(l)]));return Tt([xc(r,i.size),...n])},deserialize:(i,n=0)=>{const s=new Map;if(typeof r=="object"&&i.slice(n).length===0)return[s,n];if(r==="remainder"){for(;n<i.length;){const[o,d]=e.deserialize(i,n);n=d;const[c,p]=t.deserialize(i,n);n=p,s.set(o,c)}return[s,n]}const[l,u]=Mc(r,i,n);n=u;for(let o=0;o<l;o+=1){const[d,c]=e.deserialize(i,n);n=c;const[p,m]=t.deserialize(i,n);n=m,s.set(d,p)}return[s,n]}}}function yb(e,t={}){const a=t.prefix??is(),r=t.fixed??!1;let i=`; ${cn(a)}`,n=e.fixedSize===0?a.fixedSize:null;if(r){if(e.fixedSize===null||a.fixedSize===null)throw new g1("Fixed nullables can only be used with fixed-size serializers");i+="; fixed",n=a.fixedSize+e.fixedSize}return{description:t.description??`nullable(${e.description+i})`,fixedSize:n,maxSize:ha([a.maxSize,e.maxSize]),serialize:s=>{const l=a.serialize(+(s!==null));if(r){const o=e.fixedSize,d=s!==null?e.serialize(s).slice(0,o):new Uint8Array(o).fill(0);return Tt([l,d])}const u=s!==null?e.serialize(s):new Uint8Array;return Tt([l,u])},deserialize:(s,l=0)=>{if(s.slice(l).length===0)return[null,l];const u=l+(a.fixedSize??0)+(e.fixedSize??0),[o,d]=a.deserialize(s,l);if(l=d,o===0)return[null,r?u:l];const[c,p]=e.deserialize(s,l);return l=p,[c,r?u:l]}}}function bb(e,t={}){const a=t.prefix??is(),r=t.fixed??!1;let i=`; ${cn(a)}`,n=e.fixedSize===0?a.fixedSize:null;if(r){if(e.fixedSize===null||a.fixedSize===null)throw new g1("Fixed options can only be used with fixed-size serializers");i+="; fixed",n=a.fixedSize+e.fixedSize}return{description:t.description??`option(${e.description+i})`,fixedSize:n,maxSize:ha([a.maxSize,e.maxSize]),serialize:s=>{const l=wc(s)?s:d5(s),u=a.serialize(Number(or(l)));if(r){const d=e.fixedSize,c=or(l)?e.serialize(l.value).slice(0,d):new Uint8Array(d).fill(0);return Tt([u,c])}const o=or(l)?e.serialize(l.value):new Uint8Array;return Tt([u,o])},deserialize:(s,l=0)=>{if(s.slice(l).length===0)return[Tl(),l];const u=l+(a.fixedSize??0)+(e.fixedSize??0),[o,d]=a.deserialize(s,l);if(l=d,o===0)return[Tl(),r?u:l];const[c,p]=e.deserialize(s,l);return l=p,[_c(c),r?u:l]}}}function Ab(e={}){return{description:e.description??"publicKey",fixedSize:32,maxSize:32,serialize:t=>Yl(Xt(t)),deserialize:(t,a=0)=>{const r=t.slice(a,a+32);if(r.length===0)throw new Ir("publicKey");if(r.length<r1)throw new pn("publicKey",r1,r.length);return[Xt(r),a+32]}}}function Sb(e,t={}){const a=t.size??is(),r=Object.keys(e),i=Object.values(e),n=i.some(c=>typeof c=="number"),s=i.filter(c=>typeof c=="string").join(", "),l=0,u=n?i.length/2-1:i.length-1,o=n?[...r]:[...new Set([...r,...i])];function d(c){const p=typeof c=="number"&&(c<l||c>u),m=typeof c=="string"&&!o.includes(c);if(p||m)throw new y5(c,o,l,u)}return{description:t.description??`enum(${s}; ${a.description})`,fixedSize:a.fixedSize,maxSize:a.maxSize,serialize:c=>{if(d(c),typeof c=="number")return a.serialize(c);const p=i.indexOf(c);return p>=0?a.serialize(p):a.serialize(r.indexOf(c))},deserialize:(c,p=0)=>{if(c.slice(p).length===0)throw new Ir("enum");const[m,h]=a.deserialize(c,p),v=Number(m);if(p=h,v<l||v>u)throw new Dc(v,l,u);return[n?v:i[v],p]}}}function _b(e,t={}){const a=t.size??h1();return{description:t.description??`set(${e.description}; ${cn(a)})`,fixedSize:Kn(a,[e.fixedSize]),maxSize:Kn(a,[e.maxSize]),serialize:r=>{if(typeof a=="number"&&r.size!==a)throw new y1("set",a,r.size);const i=Array.from(r,n=>e.serialize(n));return Tt([xc(a,r.size),...i])},deserialize:(r,i=0)=>{const n=new Set;if(typeof a=="object"&&r.slice(i).length===0)return[n,i];if(a==="remainder"){for(;i<r.length;){const[u,o]=e.deserialize(r,i);n.add(u),i=o}return[n,i]}const[s,l]=Mc(a,r,i);i=l;for(let u=0;u<s;u+=1){const[o,d]=e.deserialize(r,i);n.add(o),i=d}return[n,i]}}}function wb(e={}){const t=e.size??h1(),a=e.encoding??Jl,r=e.description??`string(${a.description}; ${cn(t)})`;return t==="variable"?{...a,description:r}:typeof t=="number"?Ql(a,t,r):{description:r,fixedSize:null,maxSize:null,serialize:i=>{const n=a.serialize(i),s=t.serialize(n.length);return Tt([s,n])},deserialize:(i,n=0)=>{if(i.slice(n).length===0)throw new Ir("string");const[s,l]=t.deserialize(i,n),u=Number(s);n=l;const o=i.slice(n,n+u);if(o.length<u)throw new pn("string",u,o.length);const[d,c]=a.deserialize(o);return n+=c,[d,n]}}}function Pb(e,t={}){const a=e.map(([r,i])=>`${String(r)}: ${i.description}`).join(", ");return{description:t.description??`struct(${a})`,fixedSize:ha(e.map(([,r])=>r.fixedSize)),maxSize:ha(e.map(([,r])=>r.maxSize)),serialize:r=>{const i=e.map(([n,s])=>s.serialize(r[n]));return Tt(i)},deserialize:(r,i=0)=>{const n={};return e.forEach(([s,l])=>{const[u,o]=l.deserialize(r,i);i=o,n[s]=u}),[n,i]}}}function Eb(e,t={}){const a=e.map(r=>r.description).join(", ");return{description:t.description??`tuple(${a})`,fixedSize:ha(e.map(r=>r.fixedSize)),maxSize:ha(e.map(r=>r.maxSize)),serialize:r=>{if(r.length!==e.length)throw new y1("tuple",e.length,r.length);return Tt(e.map((i,n)=>i.serialize(r[n])))},deserialize:(r,i=0)=>{const n=[];return e.forEach(s=>{const[l,u]=s.deserialize(r,i);n.push(l),i=u}),[n,i]}}}function kb(e={}){return{description:e.description??"unit",fixedSize:0,maxSize:0,serialize:()=>new Uint8Array,deserialize:(t,a=0)=>[void 0,a]}}const Tb=Object.freeze(Object.defineProperty({__proto__:null,DeserializingEmptyBufferError:Ir,get Endian(){return i1},EnumDiscriminatorOutOfRangeError:Dc,ExpectedFixedSizeSerializerError:g1,InvalidArrayLikeRemainderSizeError:cb,InvalidBaseStringError:Hl,InvalidDataEnumVariantError:h5,InvalidNumberOfItemsError:y1,InvalidScalarEnumVariantError:y5,NotEnoughBytesError:pn,NumberOutOfRangeError:f5,UnrecognizedArrayLikeSerializerSizeError:v5,array:mb,base10:Pc,base16:u5,base58:f1,base64:kc,baseX:Gl,baseXReslice:c5,bitArray:b5,bool:fb,bytes:gb,dataEnum:vb,f32:tb,f64:ab,fixBytes:zl,fixSerializer:Ql,i128:sb,i16:ib,i32:nb,i64:ob,i8:rb,map:hb,mapSerializer:v1,maxSerializerSizes:A5,mergeBytes:Tt,nullable:yb,option:bb,padBytes:Ec,padNullCharacters:m5,publicKey:Ab,removeNullCharacters:Tc,reverseSerializer:p5,scalarEnum:Sb,set:_b,shortU16:pb,string:wb,struct:Pb,sumSerializerSizes:ha,tuple:Eb,u128:ub,u16:lb,u32:h1,u64:db,u8:is,unit:kb,utf8:Jl},Symbol.toStringTag,{value:"Module"})),zb=v1,Db=Ql,Mb=p5,xb=Tt,Ib=Ec,Rb=zl,Cb=Jl,Ob=Gl,Nb=Pc,Vb=f1,Wb=kc,Fb=u5,Bb=b5,Kb=Tc,Ub=m5,jb=i1;class Ic extends Error{constructor(a,r,i,n){super(a);Be(this,"name","UmiError");this.source=r,this.sourceDetails=i,this.cause=n,this.message=`${this.message}
1
+ var My=Object.defineProperty;var xy=(e,t,a)=>t in e?My(e,t,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[t]=a;var Be=(e,t,a)=>xy(e,typeof t!="symbol"?t+"":t,a);import{P as kl,T as Iy,b as Bn,M as Ry,a as Cy,A as Oy,e as $6,K as Zd,c as le,d as s5,r as Sc,f as pe,g as Ny,i as xr,h as L6,j as Zl,s as Vy,S as Yt,k as l5,C as Wy,V as Fy,l as By,m as Ky}from"../main.js";import{C as Uy}from"./contract-bGGxC9_m.js";const _c=e=>({__option:"Some",value:e}),Tl=()=>({__option:"None"}),wc=e=>e&&typeof e=="object"&&"__option"in e&&(e.__option==="Some"&&"value"in e||e.__option==="None"),or=e=>e.__option==="Some",jy=e=>e.__option==="None";function $y(e,t){return or(e)?e.value:t?t():null}const d5=e=>e!==null?_c(e):Tl(),Ly=e=>or(e)?e.value:null,qy=(e,t)=>or(e)?e.value:t();function jp(e,t){if(!e||ArrayBuffer.isView(e))return e;const a=r=>t?jp(r,t):jp(r);return wc(e)?or(e)?a(e.value):t?t():null:Array.isArray(e)?e.map(a):typeof e=="object"?Object.fromEntries(Object.entries(e).map(([r,i])=>[r,a(i)])):e}let Hl=class extends Error{constructor(a,r,i){const n=`Expected a string of base ${r}, got [${a}].`;super(n);Be(this,"name","InvalidBaseStringError");this.cause=i}};const Gl=e=>{const t=e.length,a=BigInt(t);return{description:`base${t}`,fixedSize:null,maxSize:null,serialize(r){if(!r.match(new RegExp(`^[${e}]*$`)))throw new Hl(r,t);if(r==="")return new Uint8Array;const i=[...r];let n=i.findIndex(c=>c!==e[0]);n=n===-1?i.length:n;const s=Array(n).fill(0);if(n===i.length)return Uint8Array.from(s);const l=i.slice(n);let u=0n,o=1n;for(let c=l.length-1;c>=0;c-=1)u+=o*BigInt(e.indexOf(l[c])),o*=a;const d=[];for(;u>0n;)d.unshift(Number(u%256n)),u/=256n;return Uint8Array.from(s.concat(d))},deserialize(r,i=0){if(r.length===0)return["",0];const n=r.slice(i);let s=n.findIndex(d=>d!==0);s=s===-1?n.length:s;const l=e[0].repeat(s);if(s===n.length)return[l,r.length];let u=n.slice(s).reduce((d,c)=>d*256n+BigInt(c),0n);const o=[];for(;u>0n;)o.unshift(e[Number(u%a)]),u/=a;return[l+o.join(""),r.length]}}},Pc=Gl("0123456789"),u5={description:"base16",fixedSize:null,maxSize:null,serialize(e){const t=e.toLowerCase();if(!t.match(/^[0123456789abcdef]*$/))throw new Hl(e,16);const a=t.match(/.{1,2}/g);return Uint8Array.from(a?a.map(r=>parseInt(r,16)):[])},deserialize(e,t=0){return[e.slice(t).reduce((r,i)=>r+i.toString(16).padStart(2,"0"),""),e.length]}},f1=Gl("123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz"),Tt=e=>{const t=e.reduce((i,n)=>i+n.length,0),a=new Uint8Array(t);let r=0;return e.forEach(i=>{a.set(i,r),r+=i.length}),a},Ec=(e,t)=>{if(e.length>=t)return e;const a=new Uint8Array(t).fill(0);return a.set(e),a},zl=(e,t)=>Ec(e.slice(0,t),t);class Ir extends Error{constructor(a){super(`Serializer [${a}] cannot deserialize empty buffers.`);Be(this,"name","DeserializingEmptyBufferError")}}class pn extends Error{constructor(a,r,i){super(`Serializer [${a}] expected ${r} bytes, got ${i}.`);Be(this,"name","NotEnoughBytesError")}}class g1 extends Error{constructor(a){a??(a="Expected a fixed-size serializer, got a variable-size one.");super(a);Be(this,"name","ExpectedFixedSizeSerializerError")}}function Ql(e,t,a){return{description:a??`fixed(${t}, ${e.description})`,fixedSize:t,maxSize:t,serialize:r=>zl(e.serialize(r),t),deserialize:(r,i=0)=>{if(r=r.slice(i,i+t),r.length<t)throw new pn("fixSerializer",t,r.length);e.fixedSize!==null&&(r=zl(r,e.fixedSize));const[n]=e.deserialize(r,0);return[n,i+t]}}}function v1(e,t,a){return{description:e.description,fixedSize:e.fixedSize,maxSize:e.maxSize,serialize:r=>e.serialize(t(r)),deserialize:(r,i=0)=>{const[n,s]=e.deserialize(r,i);return a?[a(n,r,i),s]:[n,s]}}}function p5(e){if(e.fixedSize===null)throw new g1("Cannot reverse a serializer of variable size.");return{...e,serialize:t=>e.serialize(t).reverse(),deserialize:(t,a=0)=>{const r=e.fixedSize,i=Tt([t.slice(0,a),t.slice(a,a+r).reverse(),t.slice(a+r)]);return e.deserialize(i,a)}}}const c5=(e,t)=>{const a=e.length,r=(i,n,s,l)=>{const u=[];let o=0,d=0;const c=(1<<s)-1;for(const p of i)for(o=o<<n|p,d+=n;d>=s;)d-=s,u.push(o>>d&c);return l&&d>0&&u.push(o<<s-d&c),u};return{description:`base${a}`,fixedSize:null,maxSize:null,serialize(i){if(!i.match(new RegExp(`^[${e}]*$`)))throw new Hl(i,a);if(i==="")return new Uint8Array;const n=[...i].map(l=>e.indexOf(l)),s=r(n,t,8,!1);return Uint8Array.from(s)},deserialize(i,n=0){if(i.length===0)return["",0];const s=[...i.slice(n)];return[r(s,8,t,!0).map(u=>e[u]).join(""),i.length]}}},kc=v1(c5("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",6),e=>e.replace(/=/g,""),e=>e.padEnd(Math.ceil(e.length/4)*4,"=")),Tc=e=>e.replace(/\u0000/g,""),m5=(e,t)=>e.padEnd(t,"\0"),Jl={description:"utf8",fixedSize:null,maxSize:null,serialize(e){return new TextEncoder().encode(e)},deserialize(e,t=0){const a=new TextDecoder().decode(e.slice(t));return[Tc(a),e.length]}};class Hs extends Error{constructor(a,r){r=r?`. ${r}`:"";super(`The provided public key is invalid: ${a}${r}`);Be(this,"name","InvalidPublicKeyError");this.invalidPublicKey=a}}const r1=32;function Xt(e,t=!0){const a=typeof e=="string"?e:typeof e=="object"&&"publicKey"in e?e.publicKey:typeof e=="object"&&"toBase58"in e?e.toBase58():Array.isArray(e)?e[0]:f1.deserialize(e)[0];return t&&zc(a),a}const Zy=()=>"11111111111111111111111111111111",On=e=>{try{return zc(e),!0}catch{return!1}},Hy=e=>Array.isArray(e)&&e.length===2&&typeof e[1]=="number"&&On(e[0]);function zc(e){if(typeof e!="string")throw new Hs(e,"Public keys must be strings.");Yl(e)}const Gy=e=>[...new Set(e)],Yl=e=>{if(e.length<32||e.length>44)throw new Hs(e,"Public keys must be between 32 and 44 characters.");let t;try{t=f1.serialize(e)}catch{throw new Hs(e,"Public keys must be base58 encoded.")}if(t.length!==r1)throw new Hs(e,`Public keys must be ${r1} bytes.`);return t},Qy=e=>Xt(e),Jy=(e,t)=>Xt(e)===Xt(t);let i1;(function(e){e.Little="le",e.Big="be"})(i1||(i1={}));class f5 extends RangeError{constructor(a,r,i,n){super(`Serializer [${a}] expected number to be between ${r} and ${i}, got ${n}.`);Be(this,"name","NumberOutOfRangeError")}}function Bt(e){let t,a=e.name;return e.size>1&&(t=!("endian"in e.options)||e.options.endian===i1.Little,a+=t?"(le)":"(be)"),{description:e.options.description??a,fixedSize:e.size,maxSize:e.size,serialize(r){e.range&&g5(e.name,e.range[0],e.range[1],r);const i=new ArrayBuffer(e.size);return e.set(new DataView(i),r,t),new Uint8Array(i)},deserialize(r,i=0){const n=r.slice(i,i+e.size);eb("i8",n,e.size);const s=Xy(n);return[e.get(s,t),i+e.size]}}}const Yy=e=>e.buffer.slice(e.byteOffset,e.byteLength+e.byteOffset),Xy=e=>new DataView(Yy(e)),g5=(e,t,a,r)=>{if(r<t||r>a)throw new f5(e,t,a,r)},eb=(e,t,a)=>{if(t.length===0)throw new Ir(e);if(t.length<a)throw new pn(e,a,t.length)},tb=(e={})=>Bt({name:"f32",size:4,set:(t,a,r)=>t.setFloat32(0,Number(a),r),get:(t,a)=>t.getFloat32(0,a),options:e}),ab=(e={})=>Bt({name:"f64",size:8,set:(t,a,r)=>t.setFloat64(0,Number(a),r),get:(t,a)=>t.getFloat64(0,a),options:e}),rb=(e={})=>Bt({name:"i8",size:1,range:[-+"0x7f"-1,+"0x7f"],set:(t,a)=>t.setInt8(0,Number(a)),get:t=>t.getInt8(0),options:e}),ib=(e={})=>Bt({name:"i16",size:2,range:[-+"0x7fff"-1,+"0x7fff"],set:(t,a,r)=>t.setInt16(0,Number(a),r),get:(t,a)=>t.getInt16(0,a),options:e}),nb=(e={})=>Bt({name:"i32",size:4,range:[-+"0x7fffffff"-1,+"0x7fffffff"],set:(t,a,r)=>t.setInt32(0,Number(a),r),get:(t,a)=>t.getInt32(0,a),options:e}),ob=(e={})=>Bt({name:"i64",size:8,range:[-BigInt("0x7fffffffffffffff")-1n,BigInt("0x7fffffffffffffff")],set:(t,a,r)=>t.setBigInt64(0,BigInt(a),r),get:(t,a)=>t.getBigInt64(0,a),options:e}),sb=(e={})=>Bt({name:"i128",size:16,range:[-BigInt("0x7fffffffffffffffffffffffffffffff")-1n,BigInt("0x7fffffffffffffffffffffffffffffff")],set:(t,a,r)=>{const i=r?8:0,n=r?0:8,s=0xffffffffffffffffn;t.setBigInt64(i,BigInt(a)>>64n,r),t.setBigUint64(n,BigInt(a)&s,r)},get:(t,a)=>{const r=a?8:0,i=a?0:8,n=t.getBigInt64(r,a),s=t.getBigUint64(i,a);return(n<<64n)+s},options:e}),is=(e={})=>Bt({name:"u8",size:1,range:[0,+"0xff"],set:(t,a)=>t.setUint8(0,Number(a)),get:t=>t.getUint8(0),options:e}),lb=(e={})=>Bt({name:"u16",size:2,range:[0,+"0xffff"],set:(t,a,r)=>t.setUint16(0,Number(a),r),get:(t,a)=>t.getUint16(0,a),options:e}),h1=(e={})=>Bt({name:"u32",size:4,range:[0,+"0xffffffff"],set:(t,a,r)=>t.setUint32(0,Number(a),r),get:(t,a)=>t.getUint32(0,a),options:e}),db=(e={})=>Bt({name:"u64",size:8,range:[0,BigInt("0xffffffffffffffff")],set:(t,a,r)=>t.setBigUint64(0,BigInt(a),r),get:(t,a)=>t.getBigUint64(0,a),options:e}),ub=(e={})=>Bt({name:"u128",size:16,range:[0,BigInt("0xffffffffffffffffffffffffffffffff")],set:(t,a,r)=>{const i=r?8:0,n=r?0:8,s=0xffffffffffffffffn;t.setBigUint64(i,BigInt(a)>>64n,r),t.setBigUint64(n,BigInt(a)&s,r)},get:(t,a)=>{const r=a?8:0,i=a?0:8,n=t.getBigUint64(r,a),s=t.getBigUint64(i,a);return(n<<64n)+s},options:e}),pb=(e={})=>({description:e.description??"shortU16",fixedSize:null,maxSize:3,serialize:t=>{g5("shortU16",0,65535,t);const a=[0];for(let r=0;;r+=1){const i=t>>r*7;if(i===0)break;const n=127&i;a[r]=n,r>0&&(a[r-1]|=128)}return new Uint8Array(a)},deserialize:(t,a=0)=>{let r=0,i=0;for(;++i;){const n=i-1,s=t[a+n],l=127&s;if(r|=l<<n*7,!(s&128))break}return[r,a+i]}});class y1 extends Error{constructor(a,r,i){super(`Expected [${a}] to have ${r} items, got ${i}.`);Be(this,"name","InvalidNumberOfItemsError")}}class cb extends Error{constructor(a,r){super(`The remainder of the buffer (${a} bytes) cannot be split into chunks of ${r} bytes. Serializers of "remainder" size must have a remainder that is a multiple of its item size. In other words, ${a} modulo ${r} should be equal to zero.`);Be(this,"name","InvalidArrayLikeRemainderSizeError")}}class v5 extends Error{constructor(a){super(`Unrecognized array-like serializer size: ${JSON.stringify(a)}`);Be(this,"name","UnrecognizedArrayLikeSerializerSizeError")}}class h5 extends Error{constructor(a,r){super(`Invalid data enum variant. Expected one of [${r.join(", ")}], got "${a}".`);Be(this,"name","InvalidDataEnumVariantError")}}class y5 extends Error{constructor(a,r,i,n){super(`Invalid scalar enum variant. Expected one of [${r.join(", ")}] or a number between ${i} and ${n}, got "${a}".`);Be(this,"name","InvalidScalarEnumVariantError")}}class Dc extends RangeError{constructor(a,r,i){super(`Enum discriminator out of range. Expected a number between ${r} and ${i}, got ${a}.`);Be(this,"name","EnumDiscriminatorOutOfRangeError")}}function ha(e){return e.reduce((t,a)=>t===null||a===null?null:t+a,0)}function Mc(e,t,a){if(typeof e=="number")return[e,a];if(typeof e=="object")return e.deserialize(t,a);throw new v5(e)}function cn(e){return typeof e=="object"?e.description:`${e}`}function Kn(e,t){if(typeof e!="number")return null;if(e===0)return 0;const a=ha(t);return a===null?null:a*e}function xc(e,t){return typeof e=="object"?e.serialize(t):new Uint8Array}function mb(e,t={}){const a=t.size??h1();return{description:t.description??`array(${e.description}; ${cn(a)})`,fixedSize:Kn(a,[e.fixedSize]),maxSize:Kn(a,[e.maxSize]),serialize:r=>{if(typeof a=="number"&&r.length!==a)throw new y1("array",a,r.length);return Tt([xc(a,r.length),...r.map(i=>e.serialize(i))])},deserialize:(r,i=0)=>{const n=[];if(typeof a=="object"&&r.slice(i).length===0)return[n,i];if(a==="remainder"){for(;i<r.length;){const[u,o]=e.deserialize(r,i);n.push(u),i=o}return[n,i]}const[s,l]=Mc(a,r,i);i=l;for(let u=0;u<s;u+=1){const[o,d]=e.deserialize(r,i);n.push(o),i=d}return[n,i]}}}const b5=(e,t={})=>{const a=typeof t=="boolean"?{backward:t}:t,r=a.backward??!1,i=r?"; backward":"";return{description:a.description??`bitArray(${e}${i})`,fixedSize:e,maxSize:e,serialize(n){const s=[];for(let l=0;l<e;l+=1){let u=0;for(let o=0;o<8;o+=1){const d=Number(n[l*8+o]??0);u|=d<<(r?o:7-o)}r?s.unshift(u):s.push(u)}return new Uint8Array(s)},deserialize(n,s=0){const l=[];let u=n.slice(s,s+e);if(u=r?u.reverse():u,u.length!==e)throw new pn("bitArray",e,u.length);return u.forEach(o=>{for(let d=0;d<8;d+=1)r?(l.push(!!(o&1)),o>>=1):(l.push(!!(o&128)),o<<=1)}),[l,s+e]}}};function fb(e={}){const t=e.size??is();if(t.fixedSize===null)throw new g1("Serializer [bool] requires a fixed size.");return{description:e.description??`bool(${t.description})`,fixedSize:t.fixedSize,maxSize:t.fixedSize,serialize:a=>t.serialize(a?1:0),deserialize:(a,r=0)=>{if(a.slice(r).length===0)throw new Ir("bool");const[i,n]=t.deserialize(a,r);return[i===1,n]}}}function gb(e={}){const t=e.size??"variable",a=e.description??`bytes(${cn(t)})`,r={description:a,fixedSize:null,maxSize:null,serialize:i=>new Uint8Array(i),deserialize:(i,n=0)=>{const s=i.slice(n);return[s,n+s.length]}};return t==="variable"?r:typeof t=="number"?Ql(r,t,a):{description:a,fixedSize:null,maxSize:null,serialize:i=>{const n=r.serialize(i),s=t.serialize(n.length);return Tt([s,n])},deserialize:(i,n=0)=>{if(i.slice(n).length===0)throw new Ir("bytes");const[s,l]=t.deserialize(i,n),u=Number(s);n=l;const o=i.slice(n,n+u);if(o.length<u)throw new pn("bytes",u,o.length);const[d,c]=r.deserialize(o);return n+=c,[d,n]}}}function A5(e){return e.reduce((t,a)=>t===null||a===null?null:Math.max(t,a),0)}function vb(e,t={}){const a=t.size??is(),r=e.map(([l,u])=>`${String(l)}${u?`: ${u.description}`:""}`).join(", "),n=e.every((l,u,o)=>l[1].fixedSize===o[0][1].fixedSize)?e[0][1].fixedSize:null,s=A5(e.map(([,l])=>l.maxSize));return{description:t.description??`dataEnum(${r}; ${a.description})`,fixedSize:e.length===0?a.fixedSize:ha([a.fixedSize,n]),maxSize:e.length===0?a.maxSize:ha([a.maxSize,s]),serialize:l=>{const u=e.findIndex(([p])=>l.__kind===p);if(u<0)throw new h5(l.__kind,e.map(([p])=>p));const o=a.serialize(u),c=e[u][1].serialize(l);return Tt([o,c])},deserialize:(l,u=0)=>{if(l.slice(u).length===0)throw new Ir("dataEnum");const[o,d]=a.deserialize(l,u);u=d;const c=e[Number(o)]??null;if(!c)throw new Dc(o,0,e.length-1);const[p,m]=c[1].deserialize(l,u);return u=m,[{__kind:c[0],...p??{}},u]}}}function hb(e,t,a={}){const r=a.size??h1();return{description:a.description??`map(${e.description}, ${t.description}; ${cn(r)})`,fixedSize:Kn(r,[e.fixedSize,t.fixedSize]),maxSize:Kn(r,[e.maxSize,t.maxSize]),serialize:i=>{if(typeof r=="number"&&i.size!==r)throw new y1("map",r,i.size);const n=Array.from(i,([s,l])=>Tt([e.serialize(s),t.serialize(l)]));return Tt([xc(r,i.size),...n])},deserialize:(i,n=0)=>{const s=new Map;if(typeof r=="object"&&i.slice(n).length===0)return[s,n];if(r==="remainder"){for(;n<i.length;){const[o,d]=e.deserialize(i,n);n=d;const[c,p]=t.deserialize(i,n);n=p,s.set(o,c)}return[s,n]}const[l,u]=Mc(r,i,n);n=u;for(let o=0;o<l;o+=1){const[d,c]=e.deserialize(i,n);n=c;const[p,m]=t.deserialize(i,n);n=m,s.set(d,p)}return[s,n]}}}function yb(e,t={}){const a=t.prefix??is(),r=t.fixed??!1;let i=`; ${cn(a)}`,n=e.fixedSize===0?a.fixedSize:null;if(r){if(e.fixedSize===null||a.fixedSize===null)throw new g1("Fixed nullables can only be used with fixed-size serializers");i+="; fixed",n=a.fixedSize+e.fixedSize}return{description:t.description??`nullable(${e.description+i})`,fixedSize:n,maxSize:ha([a.maxSize,e.maxSize]),serialize:s=>{const l=a.serialize(+(s!==null));if(r){const o=e.fixedSize,d=s!==null?e.serialize(s).slice(0,o):new Uint8Array(o).fill(0);return Tt([l,d])}const u=s!==null?e.serialize(s):new Uint8Array;return Tt([l,u])},deserialize:(s,l=0)=>{if(s.slice(l).length===0)return[null,l];const u=l+(a.fixedSize??0)+(e.fixedSize??0),[o,d]=a.deserialize(s,l);if(l=d,o===0)return[null,r?u:l];const[c,p]=e.deserialize(s,l);return l=p,[c,r?u:l]}}}function bb(e,t={}){const a=t.prefix??is(),r=t.fixed??!1;let i=`; ${cn(a)}`,n=e.fixedSize===0?a.fixedSize:null;if(r){if(e.fixedSize===null||a.fixedSize===null)throw new g1("Fixed options can only be used with fixed-size serializers");i+="; fixed",n=a.fixedSize+e.fixedSize}return{description:t.description??`option(${e.description+i})`,fixedSize:n,maxSize:ha([a.maxSize,e.maxSize]),serialize:s=>{const l=wc(s)?s:d5(s),u=a.serialize(Number(or(l)));if(r){const d=e.fixedSize,c=or(l)?e.serialize(l.value).slice(0,d):new Uint8Array(d).fill(0);return Tt([u,c])}const o=or(l)?e.serialize(l.value):new Uint8Array;return Tt([u,o])},deserialize:(s,l=0)=>{if(s.slice(l).length===0)return[Tl(),l];const u=l+(a.fixedSize??0)+(e.fixedSize??0),[o,d]=a.deserialize(s,l);if(l=d,o===0)return[Tl(),r?u:l];const[c,p]=e.deserialize(s,l);return l=p,[_c(c),r?u:l]}}}function Ab(e={}){return{description:e.description??"publicKey",fixedSize:32,maxSize:32,serialize:t=>Yl(Xt(t)),deserialize:(t,a=0)=>{const r=t.slice(a,a+32);if(r.length===0)throw new Ir("publicKey");if(r.length<r1)throw new pn("publicKey",r1,r.length);return[Xt(r),a+32]}}}function Sb(e,t={}){const a=t.size??is(),r=Object.keys(e),i=Object.values(e),n=i.some(c=>typeof c=="number"),s=i.filter(c=>typeof c=="string").join(", "),l=0,u=n?i.length/2-1:i.length-1,o=n?[...r]:[...new Set([...r,...i])];function d(c){const p=typeof c=="number"&&(c<l||c>u),m=typeof c=="string"&&!o.includes(c);if(p||m)throw new y5(c,o,l,u)}return{description:t.description??`enum(${s}; ${a.description})`,fixedSize:a.fixedSize,maxSize:a.maxSize,serialize:c=>{if(d(c),typeof c=="number")return a.serialize(c);const p=i.indexOf(c);return p>=0?a.serialize(p):a.serialize(r.indexOf(c))},deserialize:(c,p=0)=>{if(c.slice(p).length===0)throw new Ir("enum");const[m,h]=a.deserialize(c,p),v=Number(m);if(p=h,v<l||v>u)throw new Dc(v,l,u);return[n?v:i[v],p]}}}function _b(e,t={}){const a=t.size??h1();return{description:t.description??`set(${e.description}; ${cn(a)})`,fixedSize:Kn(a,[e.fixedSize]),maxSize:Kn(a,[e.maxSize]),serialize:r=>{if(typeof a=="number"&&r.size!==a)throw new y1("set",a,r.size);const i=Array.from(r,n=>e.serialize(n));return Tt([xc(a,r.size),...i])},deserialize:(r,i=0)=>{const n=new Set;if(typeof a=="object"&&r.slice(i).length===0)return[n,i];if(a==="remainder"){for(;i<r.length;){const[u,o]=e.deserialize(r,i);n.add(u),i=o}return[n,i]}const[s,l]=Mc(a,r,i);i=l;for(let u=0;u<s;u+=1){const[o,d]=e.deserialize(r,i);n.add(o),i=d}return[n,i]}}}function wb(e={}){const t=e.size??h1(),a=e.encoding??Jl,r=e.description??`string(${a.description}; ${cn(t)})`;return t==="variable"?{...a,description:r}:typeof t=="number"?Ql(a,t,r):{description:r,fixedSize:null,maxSize:null,serialize:i=>{const n=a.serialize(i),s=t.serialize(n.length);return Tt([s,n])},deserialize:(i,n=0)=>{if(i.slice(n).length===0)throw new Ir("string");const[s,l]=t.deserialize(i,n),u=Number(s);n=l;const o=i.slice(n,n+u);if(o.length<u)throw new pn("string",u,o.length);const[d,c]=a.deserialize(o);return n+=c,[d,n]}}}function Pb(e,t={}){const a=e.map(([r,i])=>`${String(r)}: ${i.description}`).join(", ");return{description:t.description??`struct(${a})`,fixedSize:ha(e.map(([,r])=>r.fixedSize)),maxSize:ha(e.map(([,r])=>r.maxSize)),serialize:r=>{const i=e.map(([n,s])=>s.serialize(r[n]));return Tt(i)},deserialize:(r,i=0)=>{const n={};return e.forEach(([s,l])=>{const[u,o]=l.deserialize(r,i);i=o,n[s]=u}),[n,i]}}}function Eb(e,t={}){const a=e.map(r=>r.description).join(", ");return{description:t.description??`tuple(${a})`,fixedSize:ha(e.map(r=>r.fixedSize)),maxSize:ha(e.map(r=>r.maxSize)),serialize:r=>{if(r.length!==e.length)throw new y1("tuple",e.length,r.length);return Tt(e.map((i,n)=>i.serialize(r[n])))},deserialize:(r,i=0)=>{const n=[];return e.forEach(s=>{const[l,u]=s.deserialize(r,i);n.push(l),i=u}),[n,i]}}}function kb(e={}){return{description:e.description??"unit",fixedSize:0,maxSize:0,serialize:()=>new Uint8Array,deserialize:(t,a=0)=>[void 0,a]}}const Tb=Object.freeze(Object.defineProperty({__proto__:null,DeserializingEmptyBufferError:Ir,get Endian(){return i1},EnumDiscriminatorOutOfRangeError:Dc,ExpectedFixedSizeSerializerError:g1,InvalidArrayLikeRemainderSizeError:cb,InvalidBaseStringError:Hl,InvalidDataEnumVariantError:h5,InvalidNumberOfItemsError:y1,InvalidScalarEnumVariantError:y5,NotEnoughBytesError:pn,NumberOutOfRangeError:f5,UnrecognizedArrayLikeSerializerSizeError:v5,array:mb,base10:Pc,base16:u5,base58:f1,base64:kc,baseX:Gl,baseXReslice:c5,bitArray:b5,bool:fb,bytes:gb,dataEnum:vb,f32:tb,f64:ab,fixBytes:zl,fixSerializer:Ql,i128:sb,i16:ib,i32:nb,i64:ob,i8:rb,map:hb,mapSerializer:v1,maxSerializerSizes:A5,mergeBytes:Tt,nullable:yb,option:bb,padBytes:Ec,padNullCharacters:m5,publicKey:Ab,removeNullCharacters:Tc,reverseSerializer:p5,scalarEnum:Sb,set:_b,shortU16:pb,string:wb,struct:Pb,sumSerializerSizes:ha,tuple:Eb,u128:ub,u16:lb,u32:h1,u64:db,u8:is,unit:kb,utf8:Jl},Symbol.toStringTag,{value:"Module"})),zb=v1,Db=Ql,Mb=p5,xb=Tt,Ib=Ec,Rb=zl,Cb=Jl,Ob=Gl,Nb=Pc,Vb=f1,Wb=kc,Fb=u5,Bb=b5,Kb=Tc,Ub=m5,jb=i1;class Ic extends Error{constructor(a,r,i,n){super(a);Be(this,"name","UmiError");this.source=r,this.sourceDetails=i,this.cause=n,this.message=`${this.message}
2
2
 
3
3
  Source: ${this.getFullSource()}${this.cause?`
4
4
 
@@ -7,7 +7,7 @@ Caused By: ${this.cause}`:""}
7
7
  Program Logs:
8
8
  ${this.logs.map(n=>`| ${n}`).join(`
9
9
  `)}
10
- `)}}const NA=Object.freeze(Object.defineProperty({__proto__:null,ACCOUNT_HEADER_SIZE:w5,AccountNotFoundError:_5,AmountMismatchError:E5,Endian:jb,GpaBuilder:Oa,HttpRequestBuilder:ua,InterfaceImplementationMissingError:Ua,InvalidBaseStringError:OA,InvalidPublicKeyError:Hs,PUBLIC_KEY_LENGTH:r1,ProgramError:X5,SdkError:xt,TRANSACTION_SIZE_LIMIT:Q5,TransactionBuilder:Dt,TransactionBuilderGroup:Na,UmiError:Ic,UnexpectedAccountError:S5,UnexpectedAmountError:P5,absoluteAmount:M5,addAmounts:Yb,addTransactionSignature:J5,amountToNumber:oA,amountToString:Rc,assertAccountExists:Lb,assertAmount:T5,assertPublicKey:zc,assertSameAmounts:Un,assertSolAmount:Jb,base10:Nb,base16:Fb,base58:Vb,base58PublicKey:Qy,base64:Wb,baseX:Ob,bitArray:Bb,chunk:B5,compareAmounts:A1,createAmount:ns,createAmountFromDecimals:b1,createBigInt:Dl,createBrowserFileFromGenericFile:SA,createGenericFile:ed,createGenericFileFromBrowserFile:bA,createGenericFileFromJson:AA,createNoopSigner:fA,createNullContext:H5,createNullDownloader:C5,createNullEddsa:O5,createNullHttp:N5,createNullProgramRepository:V5,createNullRpc:W5,createNullSerializer:F5,createNullSigner:$p,createNullTransactionFactory:q5,createNullUploader:Z5,createSignerFromKeypair:td,createUmi:Y5,dateTime:n1,defaultPublicKey:Zy,deserializeAccount:$b,displayAmount:sA,divideAmount:Xb,fixBytes:Rb,fixSerializer:Db,formatDateTime:hA,generateRandomString:G5,generateSigner:Cc,generatedSignerIdentity:DA,generatedSignerPayer:MA,getBytesFromGenericFiles:wA,gpaBuilder:kA,isAmount:Xl,isEqualToAmount:eA,isErrorWithLogs:zA,isGenericFile:PA,isGreaterThanAmount:aA,isGreaterThanOrEqualToAmount:rA,isKeypairSigner:TA,isLessThanAmount:tA,isLessThanOrEqualToAmount:x5,isNegativeAmount:nA,isNone:jy,isOption:wc,isPda:Hy,isPositiveAmount:iA,isPublicKey:On,isSigner:mA,isSolAmount:Qb,isSome:or,isZeroAmount:I5,keypairIdentity:xA,keypairPayer:IA,lamports:Xa,mapAmountSerializer:lA,mapDateTimeSerializer:yA,mapSerializer:zb,mergeBytes:xb,multiplyAmount:D5,none:Tl,now:gA,padBytes:Ib,padNullCharacters:Ub,parseJsonFromGenericFile:_A,percentAmount:qb,publicKey:Xt,publicKeyBytes:Yl,removeNullCharacters:Kb,request:Lp,resolveClusterFromEndpoint:R5,reverseSerializer:Mb,sameAmounts:k5,samePublicKey:Jy,signAllTransactions:$5,signTransaction:j5,signerIdentity:Oc,signerPayer:Nc,sol:Hb,some:_c,subtractAmounts:z5,tokenAmount:Zb,transactionBuilder:RA,transactionBuilderGroup:CA,uniqueBy:U5,uniquePublicKeys:Gy,uniqueSigners:L5,unwrapOption:$y,unwrapOptionRecursively:jp,unwrapSome:Ly,unwrapSomeOrElse:qy,usd:Gb,utf8:Cb,wrapNullable:d5,zipMap:K5},Symbol.toStringTag,{value:"Module"}));function VA(e){const t=async(i,n={})=>{const s=await e.http.send(Lp().get(i).withAbortSignal(n.signal));return ed(s.body,i)};return{download:async(i,n={})=>Promise.all(i.map(s=>t(s,n))),downloadJson:async(i,n={})=>(await e.http.send(Lp().get(i).withAbortSignal(n.signal))).data}}const WA=()=>({install(e){e.downloader=VA(e)}});function Fa(e){return e.toBase58()}function It(e){return new kl(e)}function q6(e){return new Iy({keys:e.keys.map(t=>({...t,pubkey:It(t.pubkey)})),programId:It(e.programId),data:Bn.Buffer.from(e.data)})}function Hd(e){return{publicKey:Fa(e.publicKey),secretKey:e.secretKey}}function eg(e){return{version:e.version,header:e.header,accounts:e.staticAccountKeys.map(Fa),blockhash:e.recentBlockhash,instructions:e.compiledInstructions.map(t=>({programIndex:t.programIdIndex,accountIndexes:t.accountKeyIndexes,data:new Uint8Array(t.data)})),addressLookupTables:e.addressTableLookups.map(t=>({publicKey:Fa(t.accountKey),writableIndexes:t.writableIndexes,readonlyIndexes:t.readonlyIndexes}))}}function FA(e){var t;return e.version==="legacy"?Ry.compile({payerKey:It(e.payer),instructions:e.instructions.map(q6),recentBlockhash:e.blockhash}):Cy.compile({payerKey:It(e.payer),instructions:e.instructions.map(q6),recentBlockhash:e.blockhash,addressLookupTableAccounts:(t=e.addressLookupTables)==null?void 0:t.map(a=>new Oy({key:It(a.publicKey),state:{addresses:a.addresses.map(It),authority:void 0,deactivationSlot:BigInt(`0x${"ff".repeat(8)}`),lastExtendedSlot:0,lastExtendedSlotStartIndex:0}}))})}function BA(){return{generateKeypair:()=>Hd(Zd.generate()),createKeypairFromSecretKey:l=>Hd(Zd.fromSecretKey(l)),createKeypairFromSeed:l=>Hd(Zd.fromSeed(l)),isOnCurve:l=>kl.isOnCurve(It(Xt(l))),findPda:(l,u)=>{const[o,d]=kl.findProgramAddressSync(u,It(Xt(l)));return[Fa(o),d]},sign:(l,u)=>$6.sign(l,u.secretKey.slice(0,32)),verify:(l,u,o)=>$6.verify(u,l,Yl(o))}}const KA=()=>({install(e){e.eddsa=BA()}});var Vc={},tg={exports:{}},Wc={};(function(e){e.fetch=i(le.fetch)&&i(le.ReadableStream),e.writableStream=i(le.WritableStream),e.abortController=i(le.AbortController);var t;function a(){if(t!==void 0)return t;if(le.XMLHttpRequest){t=new le.XMLHttpRequest;try{t.open("GET",le.XDomainRequest?"/":"https://example.com")}catch{t=null}}else t=null;return t}function r(n){var s=a();if(!s)return!1;try{return s.responseType=n,s.responseType===n}catch{}return!1}e.arraybuffer=e.fetch||r("arraybuffer"),e.msstream=!e.fetch&&r("ms-stream"),e.mozchunkedarraybuffer=!e.fetch&&r("moz-chunked-arraybuffer"),e.overrideMimeType=e.fetch||(a()?i(a().overrideMimeType):!1);function i(n){return typeof n=="function"}t=null})(Wc);var ad={},qp={exports:{}},ag=s5().EventEmitter,Gd,Z6;function UA(){if(Z6)return Gd;Z6=1;function e(h,v){var g=Object.keys(h);if(Object.getOwnPropertySymbols){var w=Object.getOwnPropertySymbols(h);v&&(w=w.filter(function(P){return Object.getOwnPropertyDescriptor(h,P).enumerable})),g.push.apply(g,w)}return g}function t(h){for(var v=1;v<arguments.length;v++){var g=arguments[v]!=null?arguments[v]:{};v%2?e(Object(g),!0).forEach(function(w){a(h,w,g[w])}):Object.getOwnPropertyDescriptors?Object.defineProperties(h,Object.getOwnPropertyDescriptors(g)):e(Object(g)).forEach(function(w){Object.defineProperty(h,w,Object.getOwnPropertyDescriptor(g,w))})}return h}function a(h,v,g){return v=s(v),v in h?Object.defineProperty(h,v,{value:g,enumerable:!0,configurable:!0,writable:!0}):h[v]=g,h}function r(h,v){if(!(h instanceof v))throw new TypeError("Cannot call a class as a function")}function i(h,v){for(var g=0;g<v.length;g++){var w=v[g];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(h,s(w.key),w)}}function n(h,v,g){return v&&i(h.prototype,v),Object.defineProperty(h,"prototype",{writable:!1}),h}function s(h){var v=l(h,"string");return typeof v=="symbol"?v:String(v)}function l(h,v){if(typeof h!="object"||h===null)return h;var g=h[Symbol.toPrimitive];if(g!==void 0){var w=g.call(h,v);if(typeof w!="object")return w;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(h)}var u=Bn,o=u.Buffer,d=Sc,c=d.inspect,p=c&&c.custom||"inspect";function m(h,v,g){o.prototype.copy.call(h,v,g)}return Gd=function(){function h(){r(this,h),this.head=null,this.tail=null,this.length=0}return n(h,[{key:"push",value:function(g){var w={data:g,next:null};this.length>0?this.tail.next=w:this.head=w,this.tail=w,++this.length}},{key:"unshift",value:function(g){var w={data:g,next:this.head};this.length===0&&(this.tail=w),this.head=w,++this.length}},{key:"shift",value:function(){if(this.length!==0){var g=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,g}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(g){if(this.length===0)return"";for(var w=this.head,P=""+w.data;w=w.next;)P+=g+w.data;return P}},{key:"concat",value:function(g){if(this.length===0)return o.alloc(0);for(var w=o.allocUnsafe(g>>>0),P=this.head,b=0;P;)m(P.data,w,b),b+=P.data.length,P=P.next;return w}},{key:"consume",value:function(g,w){var P;return g<this.head.data.length?(P=this.head.data.slice(0,g),this.head.data=this.head.data.slice(g)):g===this.head.data.length?P=this.shift():P=w?this._getString(g):this._getBuffer(g),P}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(g){var w=this.head,P=1,b=w.data;for(g-=b.length;w=w.next;){var M=w.data,R=g>M.length?M.length:g;if(R===M.length?b+=M:b+=M.slice(0,g),g-=R,g===0){R===M.length?(++P,w.next?this.head=w.next:this.head=this.tail=null):(this.head=w,w.data=M.slice(R));break}++P}return this.length-=P,b}},{key:"_getBuffer",value:function(g){var w=o.allocUnsafe(g),P=this.head,b=1;for(P.data.copy(w),g-=P.data.length;P=P.next;){var M=P.data,R=g>M.length?M.length:g;if(M.copy(w,w.length-g,0,R),g-=R,g===0){R===M.length?(++b,P.next?this.head=P.next:this.head=this.tail=null):(this.head=P,P.data=M.slice(R));break}++b}return this.length-=b,w}},{key:p,value:function(g,w){return c(this,t(t({},w),{},{depth:0,customInspect:!1}))}}]),h}(),Gd}function jA(e,t){var a=this,r=this._readableState&&this._readableState.destroyed,i=this._writableState&&this._writableState.destroyed;return r||i?(t?t(e):e&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,pe.process.nextTick(Zp,this,e)):pe.process.nextTick(Zp,this,e)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,function(n){!t&&n?a._writableState?a._writableState.errorEmitted?pe.process.nextTick(ml,a):(a._writableState.errorEmitted=!0,pe.process.nextTick(H6,a,n)):pe.process.nextTick(H6,a,n):t?(pe.process.nextTick(ml,a),t(n)):pe.process.nextTick(ml,a)}),this)}function H6(e,t){Zp(e,t),ml(e)}function ml(e){e._writableState&&!e._writableState.emitClose||e._readableState&&!e._readableState.emitClose||e.emit("close")}function $A(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}function Zp(e,t){e.emit("error",t)}function LA(e,t){var a=e._readableState,r=e._writableState;a&&a.autoDestroy||r&&r.autoDestroy?e.destroy(t):e.emit("error",t)}var rg={destroy:jA,undestroy:$A,errorOrDestroy:LA},mn={};function qA(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var ig={};function Kt(e,t,a){a||(a=Error);function r(n,s,l){return typeof t=="string"?t:t(n,s,l)}var i=function(n){qA(s,n);function s(l,u,o){return n.call(this,r(l,u,o))||this}return s}(a);i.prototype.name=a.name,i.prototype.code=e,ig[e]=i}function G6(e,t){if(Array.isArray(e)){var a=e.length;return e=e.map(function(r){return String(r)}),a>2?"one of ".concat(t," ").concat(e.slice(0,a-1).join(", "),", or ")+e[a-1]:a===2?"one of ".concat(t," ").concat(e[0]," or ").concat(e[1]):"of ".concat(t," ").concat(e[0])}else return"of ".concat(t," ").concat(String(e))}function ZA(e,t,a){return e.substr(0,t.length)===t}function HA(e,t,a){return(a===void 0||a>e.length)&&(a=e.length),e.substring(a-t.length,a)===t}function GA(e,t,a){return typeof a!="number"&&(a=0),a+t.length>e.length?!1:e.indexOf(t,a)!==-1}Kt("ERR_INVALID_OPT_VALUE",function(e,t){return'The value "'+t+'" is invalid for option "'+e+'"'},TypeError);Kt("ERR_INVALID_ARG_TYPE",function(e,t,a){var r;typeof t=="string"&&ZA(t,"not ")?(r="must not be",t=t.replace(/^not /,"")):r="must be";var i;if(HA(e," argument"))i="The ".concat(e," ").concat(r," ").concat(G6(t,"type"));else{var n=GA(e,".")?"property":"argument";i='The "'.concat(e,'" ').concat(n," ").concat(r," ").concat(G6(t,"type"))}return i+=". Received type ".concat(typeof a),i},TypeError);Kt("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF");Kt("ERR_METHOD_NOT_IMPLEMENTED",function(e){return"The "+e+" method is not implemented"});Kt("ERR_STREAM_PREMATURE_CLOSE","Premature close");Kt("ERR_STREAM_DESTROYED",function(e){return"Cannot call "+e+" after a stream was destroyed"});Kt("ERR_MULTIPLE_CALLBACK","Callback called multiple times");Kt("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable");Kt("ERR_STREAM_WRITE_AFTER_END","write after end");Kt("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError);Kt("ERR_UNKNOWN_ENCODING",function(e){return"Unknown encoding: "+e},TypeError);Kt("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event");mn.codes=ig;var QA=mn.codes.ERR_INVALID_OPT_VALUE;function JA(e,t,a){return e.highWaterMark!=null?e.highWaterMark:t?e[a]:null}function YA(e,t,a,r){var i=JA(t,r,a);if(i!=null){if(!(isFinite(i)&&Math.floor(i)===i)||i<0){var n=r?a:"highWaterMark";throw new QA(n,i)}return Math.floor(i)}return e.objectMode?16:16*1024}var ng={getHighWaterMark:YA},Qd,Q6;function og(){if(Q6)return Qd;Q6=1,Qd=j;function e(S){var z=this;this.next=null,this.entry=null,this.finish=function(){D(z,S)}}var t;j.WritableState=O;var a={deprecate:Ny()},r=ag,i=Bn.Buffer,n=(typeof le<"u"?le:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function s(S){return i.from(S)}function l(S){return i.isBuffer(S)||S instanceof n}var u=rg,o=ng,d=o.getHighWaterMark,c=mn.codes,p=c.ERR_INVALID_ARG_TYPE,m=c.ERR_METHOD_NOT_IMPLEMENTED,h=c.ERR_MULTIPLE_CALLBACK,v=c.ERR_STREAM_CANNOT_PIPE,g=c.ERR_STREAM_DESTROYED,w=c.ERR_STREAM_NULL_VALUES,P=c.ERR_STREAM_WRITE_AFTER_END,b=c.ERR_UNKNOWN_ENCODING,M=u.errorOrDestroy;xr(j,r);function R(){}function O(S,z,N){t=t||jn(),S=S||{},typeof N!="boolean"&&(N=z instanceof t),this.objectMode=!!S.objectMode,N&&(this.objectMode=this.objectMode||!!S.writableObjectMode),this.highWaterMark=d(this,S,"writableHighWaterMark",N),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var B=S.decodeStrings===!1;this.decodeStrings=!B,this.defaultEncoding=S.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(Q){he(z,Q)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=S.emitClose!==!1,this.autoDestroy=!!S.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new e(this)}O.prototype.getBuffer=function(){for(var z=this.bufferedRequest,N=[];z;)N.push(z),z=z.next;return N},function(){try{Object.defineProperty(O.prototype,"buffer",{get:a.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}}();var U;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(U=Function.prototype[Symbol.hasInstance],Object.defineProperty(j,Symbol.hasInstance,{value:function(z){return U.call(this,z)?!0:this!==j?!1:z&&z._writableState instanceof O}})):U=function(z){return z instanceof this};function j(S){t=t||jn();var z=this instanceof t;if(!z&&!U.call(j,this))return new j(S);this._writableState=new O(S,this,z),this.writable=!0,S&&(typeof S.write=="function"&&(this._write=S.write),typeof S.writev=="function"&&(this._writev=S.writev),typeof S.destroy=="function"&&(this._destroy=S.destroy),typeof S.final=="function"&&(this._final=S.final)),r.call(this)}j.prototype.pipe=function(){M(this,new v)};function L(S,z){var N=new P;M(S,N),pe.process.nextTick(z,N)}function ie(S,z,N,B){var Q;return N===null?Q=new w:typeof N!="string"&&!z.objectMode&&(Q=new p("chunk",["string","Buffer"],N)),Q?(M(S,Q),pe.process.nextTick(B,Q),!1):!0}j.prototype.write=function(S,z,N){var B=this._writableState,Q=!1,_=!B.objectMode&&l(S);return _&&!i.isBuffer(S)&&(S=s(S)),typeof z=="function"&&(N=z,z=null),_?z="buffer":z||(z=B.defaultEncoding),typeof N!="function"&&(N=R),B.ending?L(this,N):(_||ie(this,B,S,N))&&(B.pendingcb++,Q=I(this,B,_,S,z,N)),Q},j.prototype.cork=function(){this._writableState.corked++},j.prototype.uncork=function(){var S=this._writableState;S.corked&&(S.corked--,!S.writing&&!S.corked&&!S.bufferProcessing&&S.bufferedRequest&&X(this,S))},j.prototype.setDefaultEncoding=function(z){if(typeof z=="string"&&(z=z.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((z+"").toLowerCase())>-1))throw new b(z);return this._writableState.defaultEncoding=z,this},Object.defineProperty(j.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});function re(S,z,N){return!S.objectMode&&S.decodeStrings!==!1&&typeof z=="string"&&(z=i.from(z,N)),z}Object.defineProperty(j.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function I(S,z,N,B,Q,_){if(!N){var k=re(z,B,Q);B!==k&&(N=!0,Q="buffer",B=k)}var y=z.objectMode?1:B.length;z.length+=y;var E=z.length<z.highWaterMark;if(E||(z.needDrain=!0),z.writing||z.corked){var G=z.lastBufferedRequest;z.lastBufferedRequest={chunk:B,encoding:Q,isBuf:N,callback:_,next:null},G?G.next=z.lastBufferedRequest:z.bufferedRequest=z.lastBufferedRequest,z.bufferedRequestCount+=1}else H(S,z,!1,y,B,Q,_);return E}function H(S,z,N,B,Q,_,k){z.writelen=B,z.writecb=k,z.writing=!0,z.sync=!0,z.destroyed?z.onwrite(new g("write")):N?S._writev(Q,z.onwrite):S._write(Q,_,z.onwrite),z.sync=!1}function se(S,z,N,B,Q){--z.pendingcb,N?(pe.process.nextTick(Q,B),pe.process.nextTick(C,S,z),S._writableState.errorEmitted=!0,M(S,B)):(Q(B),S._writableState.errorEmitted=!0,M(S,B),C(S,z))}function ce(S){S.writing=!1,S.writecb=null,S.length-=S.writelen,S.writelen=0}function he(S,z){var N=S._writableState,B=N.sync,Q=N.writecb;if(typeof Q!="function")throw new h;if(ce(N),z)se(S,N,B,z,Q);else{var _=$(N)||S.destroyed;!_&&!N.corked&&!N.bufferProcessing&&N.bufferedRequest&&X(S,N),B?pe.process.nextTick(_e,S,N,_,Q):_e(S,N,_,Q)}}function _e(S,z,N,B){N||be(S,z),z.pendingcb--,B(),C(S,z)}function be(S,z){z.length===0&&z.needDrain&&(z.needDrain=!1,S.emit("drain"))}function X(S,z){z.bufferProcessing=!0;var N=z.bufferedRequest;if(S._writev&&N&&N.next){var B=z.bufferedRequestCount,Q=new Array(B),_=z.corkedRequestsFree;_.entry=N;for(var k=0,y=!0;N;)Q[k]=N,N.isBuf||(y=!1),N=N.next,k+=1;Q.allBuffers=y,H(S,z,!0,z.length,Q,"",_.finish),z.pendingcb++,z.lastBufferedRequest=null,_.next?(z.corkedRequestsFree=_.next,_.next=null):z.corkedRequestsFree=new e(z),z.bufferedRequestCount=0}else{for(;N;){var E=N.chunk,G=N.encoding,J=N.callback,ne=z.objectMode?1:E.length;if(H(S,z,!1,ne,E,G,J),N=N.next,z.bufferedRequestCount--,z.writing)break}N===null&&(z.lastBufferedRequest=null)}z.bufferedRequest=N,z.bufferProcessing=!1}j.prototype._write=function(S,z,N){N(new m("_write()"))},j.prototype._writev=null,j.prototype.end=function(S,z,N){var B=this._writableState;return typeof S=="function"?(N=S,S=null,z=null):typeof z=="function"&&(N=z,z=null),S!=null&&this.write(S,z),B.corked&&(B.corked=1,this.uncork()),B.ending||T(this,B,N),this},Object.defineProperty(j.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function $(S){return S.ending&&S.length===0&&S.bufferedRequest===null&&!S.finished&&!S.writing}function te(S,z){S._final(function(N){z.pendingcb--,N&&M(S,N),z.prefinished=!0,S.emit("prefinish"),C(S,z)})}function ee(S,z){!z.prefinished&&!z.finalCalled&&(typeof S._final=="function"&&!z.destroyed?(z.pendingcb++,z.finalCalled=!0,pe.process.nextTick(te,S,z)):(z.prefinished=!0,S.emit("prefinish")))}function C(S,z){var N=$(z);if(N&&(ee(S,z),z.pendingcb===0&&(z.finished=!0,S.emit("finish"),z.autoDestroy))){var B=S._readableState;(!B||B.autoDestroy&&B.endEmitted)&&S.destroy()}return N}function T(S,z,N){z.ending=!0,C(S,z),N&&(z.finished?pe.process.nextTick(N):S.once("finish",N)),z.ended=!0,S.writable=!1}function D(S,z,N){var B=S.entry;for(S.entry=null;B;){var Q=B.callback;z.pendingcb--,Q(N),B=B.next}z.corkedRequestsFree.next=S}return Object.defineProperty(j.prototype,"destroyed",{enumerable:!1,get:function(){return this._writableState===void 0?!1:this._writableState.destroyed},set:function(z){this._writableState&&(this._writableState.destroyed=z)}}),j.prototype.destroy=u.destroy,j.prototype._undestroy=u.undestroy,j.prototype._destroy=function(S,z){z(S)},Qd}var Jd,J6;function jn(){if(J6)return Jd;J6=1;var e=Object.keys||function(o){var d=[];for(var c in o)d.push(c);return d};Jd=s;var t=lg(),a=og();xr(s,t);for(var r=e(a.prototype),i=0;i<r.length;i++){var n=r[i];s.prototype[n]||(s.prototype[n]=a.prototype[n])}function s(o){if(!(this instanceof s))return new s(o);t.call(this,o),a.call(this,o),this.allowHalfOpen=!0,o&&(o.readable===!1&&(this.readable=!1),o.writable===!1&&(this.writable=!1),o.allowHalfOpen===!1&&(this.allowHalfOpen=!1,this.once("end",l)))}Object.defineProperty(s.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(s.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(s.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function l(){this._writableState.ended||pe.process.nextTick(u,this)}function u(o){o.end()}return Object.defineProperty(s.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState===void 0||this._writableState===void 0?!1:this._readableState.destroyed&&this._writableState.destroyed},set:function(d){this._readableState===void 0||this._writableState===void 0||(this._readableState.destroyed=d,this._writableState.destroyed=d)}}),Jd}var Y6=mn.codes.ERR_STREAM_PREMATURE_CLOSE;function XA(e){var t=!1;return function(){if(!t){t=!0;for(var a=arguments.length,r=new Array(a),i=0;i<a;i++)r[i]=arguments[i];e.apply(this,r)}}}function eS(){}function tS(e){return e.setHeader&&typeof e.abort=="function"}function sg(e,t,a){if(typeof t=="function")return sg(e,null,t);t||(t={}),a=XA(a||eS);var r=t.readable||t.readable!==!1&&e.readable,i=t.writable||t.writable!==!1&&e.writable,n=function(){e.writable||l()},s=e._writableState&&e._writableState.finished,l=function(){i=!1,s=!0,r||a.call(e)},u=e._readableState&&e._readableState.endEmitted,o=function(){r=!1,u=!0,i||a.call(e)},d=function(h){a.call(e,h)},c=function(){var h;if(r&&!u)return(!e._readableState||!e._readableState.ended)&&(h=new Y6),a.call(e,h);if(i&&!s)return(!e._writableState||!e._writableState.ended)&&(h=new Y6),a.call(e,h)},p=function(){e.req.on("finish",l)};return tS(e)?(e.on("complete",l),e.on("abort",c),e.req?p():e.on("request",p)):i&&!e._writableState&&(e.on("end",n),e.on("close",n)),e.on("end",o),e.on("finish",l),t.error!==!1&&e.on("error",d),e.on("close",c),function(){e.removeListener("complete",l),e.removeListener("abort",c),e.removeListener("request",p),e.req&&e.req.removeListener("finish",l),e.removeListener("end",n),e.removeListener("close",n),e.removeListener("finish",l),e.removeListener("end",o),e.removeListener("error",d),e.removeListener("close",c)}}var Fc=sg,Yd,X6;function aS(){if(X6)return Yd;X6=1;var e;function t(b,M,R){return M=a(M),M in b?Object.defineProperty(b,M,{value:R,enumerable:!0,configurable:!0,writable:!0}):b[M]=R,b}function a(b){var M=r(b,"string");return typeof M=="symbol"?M:String(M)}function r(b,M){if(typeof b!="object"||b===null)return b;var R=b[Symbol.toPrimitive];if(R!==void 0){var O=R.call(b,M);if(typeof O!="object")return O;throw new TypeError("@@toPrimitive must return a primitive value.")}return(M==="string"?String:Number)(b)}var i=Fc,n=Symbol("lastResolve"),s=Symbol("lastReject"),l=Symbol("error"),u=Symbol("ended"),o=Symbol("lastPromise"),d=Symbol("handlePromise"),c=Symbol("stream");function p(b,M){return{value:b,done:M}}function m(b){var M=b[n];if(M!==null){var R=b[c].read();R!==null&&(b[o]=null,b[n]=null,b[s]=null,M(p(R,!1)))}}function h(b){pe.process.nextTick(m,b)}function v(b,M){return function(R,O){b.then(function(){if(M[u]){R(p(void 0,!0));return}M[d](R,O)},O)}}var g=Object.getPrototypeOf(function(){}),w=Object.setPrototypeOf((e={get stream(){return this[c]},next:function(){var M=this,R=this[l];if(R!==null)return Promise.reject(R);if(this[u])return Promise.resolve(p(void 0,!0));if(this[c].destroyed)return new Promise(function(L,ie){pe.process.nextTick(function(){M[l]?ie(M[l]):L(p(void 0,!0))})});var O=this[o],U;if(O)U=new Promise(v(O,this));else{var j=this[c].read();if(j!==null)return Promise.resolve(p(j,!1));U=new Promise(this[d])}return this[o]=U,U}},t(e,Symbol.asyncIterator,function(){return this}),t(e,"return",function(){var M=this;return new Promise(function(R,O){M[c].destroy(null,function(U){if(U){O(U);return}R(p(void 0,!0))})})}),e),g),P=function(M){var R,O=Object.create(w,(R={},t(R,c,{value:M,writable:!0}),t(R,n,{value:null,writable:!0}),t(R,s,{value:null,writable:!0}),t(R,l,{value:null,writable:!0}),t(R,u,{value:M._readableState.endEmitted,writable:!0}),t(R,d,{value:function(j,L){var ie=O[c].read();ie?(O[o]=null,O[n]=null,O[s]=null,j(p(ie,!1))):(O[n]=j,O[s]=L)},writable:!0}),R));return O[o]=null,i(M,function(U){if(U&&U.code!=="ERR_STREAM_PREMATURE_CLOSE"){var j=O[s];j!==null&&(O[o]=null,O[n]=null,O[s]=null,j(U)),O[l]=U;return}var L=O[n];L!==null&&(O[o]=null,O[n]=null,O[s]=null,L(p(void 0,!0))),O[u]=!0}),M.on("readable",h.bind(null,O)),O};return Yd=P,Yd}var Xd,e4;function rS(){return e4||(e4=1,Xd=function(){throw new Error("Readable.from is not available in the browser")}),Xd}var eu,t4;function lg(){if(t4)return eu;t4=1,eu=L;var e;L.ReadableState=j,s5().EventEmitter;var t=function(k,y){return k.listeners(y).length},a=ag,r=Bn.Buffer,i=(typeof le<"u"?le:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function n(_){return r.from(_)}function s(_){return r.isBuffer(_)||_ instanceof i}var l=Sc,u;l&&l.debuglog?u=l.debuglog("stream"):u=function(){};var o=UA(),d=rg,c=ng,p=c.getHighWaterMark,m=mn.codes,h=m.ERR_INVALID_ARG_TYPE,v=m.ERR_STREAM_PUSH_AFTER_EOF,g=m.ERR_METHOD_NOT_IMPLEMENTED,w=m.ERR_STREAM_UNSHIFT_AFTER_END_EVENT,P,b,M;xr(L,a);var R=d.errorOrDestroy,O=["error","close","destroy","pause","resume"];function U(_,k,y){if(typeof _.prependListener=="function")return _.prependListener(k,y);!_._events||!_._events[k]?_.on(k,y):Array.isArray(_._events[k])?_._events[k].unshift(y):_._events[k]=[y,_._events[k]]}function j(_,k,y){e=e||jn(),_=_||{},typeof y!="boolean"&&(y=k instanceof e),this.objectMode=!!_.objectMode,y&&(this.objectMode=this.objectMode||!!_.readableObjectMode),this.highWaterMark=p(this,_,"readableHighWaterMark",y),this.buffer=new o,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=_.emitClose!==!1,this.autoDestroy=!!_.autoDestroy,this.destroyed=!1,this.defaultEncoding=_.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,_.encoding&&(P||(P=L6().StringDecoder),this.decoder=new P(_.encoding),this.encoding=_.encoding)}function L(_){if(e=e||jn(),!(this instanceof L))return new L(_);var k=this instanceof e;this._readableState=new j(_,this,k),this.readable=!0,_&&(typeof _.read=="function"&&(this._read=_.read),typeof _.destroy=="function"&&(this._destroy=_.destroy)),a.call(this)}Object.defineProperty(L.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState===void 0?!1:this._readableState.destroyed},set:function(k){this._readableState&&(this._readableState.destroyed=k)}}),L.prototype.destroy=d.destroy,L.prototype._undestroy=d.undestroy,L.prototype._destroy=function(_,k){k(_)},L.prototype.push=function(_,k){var y=this._readableState,E;return y.objectMode?E=!0:typeof _=="string"&&(k=k||y.defaultEncoding,k!==y.encoding&&(_=r.from(_,k),k=""),E=!0),ie(this,_,k,!1,E)},L.prototype.unshift=function(_){return ie(this,_,null,!0,!1)};function ie(_,k,y,E,G){u("readableAddChunk",k);var J=_._readableState;if(k===null)J.reading=!1,he(_,J);else{var ne;if(G||(ne=I(J,k)),ne)R(_,ne);else if(J.objectMode||k&&k.length>0)if(typeof k!="string"&&!J.objectMode&&Object.getPrototypeOf(k)!==r.prototype&&(k=n(k)),E)J.endEmitted?R(_,new w):re(_,J,k,!0);else if(J.ended)R(_,new v);else{if(J.destroyed)return!1;J.reading=!1,J.decoder&&!y?(k=J.decoder.write(k),J.objectMode||k.length!==0?re(_,J,k,!1):X(_,J)):re(_,J,k,!1)}else E||(J.reading=!1,X(_,J))}return!J.ended&&(J.length<J.highWaterMark||J.length===0)}function re(_,k,y,E){k.flowing&&k.length===0&&!k.sync?(k.awaitDrain=0,_.emit("data",y)):(k.length+=k.objectMode?1:y.length,E?k.buffer.unshift(y):k.buffer.push(y),k.needReadable&&_e(_)),X(_,k)}function I(_,k){var y;return!s(k)&&typeof k!="string"&&k!==void 0&&!_.objectMode&&(y=new h("chunk",["string","Buffer","Uint8Array"],k)),y}L.prototype.isPaused=function(){return this._readableState.flowing===!1},L.prototype.setEncoding=function(_){P||(P=L6().StringDecoder);var k=new P(_);this._readableState.decoder=k,this._readableState.encoding=this._readableState.decoder.encoding;for(var y=this._readableState.buffer.head,E="";y!==null;)E+=k.write(y.data),y=y.next;return this._readableState.buffer.clear(),E!==""&&this._readableState.buffer.push(E),this._readableState.length=E.length,this};var H=1073741824;function se(_){return _>=H?_=H:(_--,_|=_>>>1,_|=_>>>2,_|=_>>>4,_|=_>>>8,_|=_>>>16,_++),_}function ce(_,k){return _<=0||k.length===0&&k.ended?0:k.objectMode?1:_!==_?k.flowing&&k.length?k.buffer.head.data.length:k.length:(_>k.highWaterMark&&(k.highWaterMark=se(_)),_<=k.length?_:k.ended?k.length:(k.needReadable=!0,0))}L.prototype.read=function(_){u("read",_),_=parseInt(_,10);var k=this._readableState,y=_;if(_!==0&&(k.emittedReadable=!1),_===0&&k.needReadable&&((k.highWaterMark!==0?k.length>=k.highWaterMark:k.length>0)||k.ended))return u("read: emitReadable",k.length,k.ended),k.length===0&&k.ended?N(this):_e(this),null;if(_=ce(_,k),_===0&&k.ended)return k.length===0&&N(this),null;var E=k.needReadable;u("need readable",E),(k.length===0||k.length-_<k.highWaterMark)&&(E=!0,u("length less than watermark",E)),k.ended||k.reading?(E=!1,u("reading or ended",E)):E&&(u("do read"),k.reading=!0,k.sync=!0,k.length===0&&(k.needReadable=!0),this._read(k.highWaterMark),k.sync=!1,k.reading||(_=ce(y,k)));var G;return _>0?G=z(_,k):G=null,G===null?(k.needReadable=k.length<=k.highWaterMark,_=0):(k.length-=_,k.awaitDrain=0),k.length===0&&(k.ended||(k.needReadable=!0),y!==_&&k.ended&&N(this)),G!==null&&this.emit("data",G),G};function he(_,k){if(u("onEofChunk"),!k.ended){if(k.decoder){var y=k.decoder.end();y&&y.length&&(k.buffer.push(y),k.length+=k.objectMode?1:y.length)}k.ended=!0,k.sync?_e(_):(k.needReadable=!1,k.emittedReadable||(k.emittedReadable=!0,be(_)))}}function _e(_){var k=_._readableState;u("emitReadable",k.needReadable,k.emittedReadable),k.needReadable=!1,k.emittedReadable||(u("emitReadable",k.flowing),k.emittedReadable=!0,pe.process.nextTick(be,_))}function be(_){var k=_._readableState;u("emitReadable_",k.destroyed,k.length,k.ended),!k.destroyed&&(k.length||k.ended)&&(_.emit("readable"),k.emittedReadable=!1),k.needReadable=!k.flowing&&!k.ended&&k.length<=k.highWaterMark,S(_)}function X(_,k){k.readingMore||(k.readingMore=!0,pe.process.nextTick($,_,k))}function $(_,k){for(;!k.reading&&!k.ended&&(k.length<k.highWaterMark||k.flowing&&k.length===0);){var y=k.length;if(u("maybeReadMore read 0"),_.read(0),y===k.length)break}k.readingMore=!1}L.prototype._read=function(_){R(this,new g("_read()"))},L.prototype.pipe=function(_,k){var y=this,E=this._readableState;switch(E.pipesCount){case 0:E.pipes=_;break;case 1:E.pipes=[E.pipes,_];break;default:E.pipes.push(_);break}E.pipesCount+=1,u("pipe count=%d opts=%j",E.pipesCount,k);var G=(!k||k.end!==!1)&&_!==pe.process.stdout&&_!==pe.process.stderr,J=G?ye:ae;E.endEmitted?pe.process.nextTick(J):y.once("end",J),_.on("unpipe",ne);function ne(fe,ge){u("onunpipe"),fe===y&&ge&&ge.hasUnpiped===!1&&(ge.hasUnpiped=!0,Re())}function ye(){u("onend"),_.end()}var Y=te(y);_.on("drain",Y);var it=!1;function Re(){u("cleanup"),_.removeListener("close",A),_.removeListener("finish",K),_.removeListener("drain",Y),_.removeListener("error",ue),_.removeListener("unpipe",ne),y.removeListener("end",ye),y.removeListener("end",ae),y.removeListener("data",q),it=!0,E.awaitDrain&&(!_._writableState||_._writableState.needDrain)&&Y()}y.on("data",q);function q(fe){u("ondata");var ge=_.write(fe);u("dest.write",ge),ge===!1&&((E.pipesCount===1&&E.pipes===_||E.pipesCount>1&&Q(E.pipes,_)!==-1)&&!it&&(u("false write response, pause",E.awaitDrain),E.awaitDrain++),y.pause())}function ue(fe){u("onerror",fe),ae(),_.removeListener("error",ue),t(_,"error")===0&&R(_,fe)}U(_,"error",ue);function A(){_.removeListener("finish",K),ae()}_.once("close",A);function K(){u("onfinish"),_.removeListener("close",A),ae()}_.once("finish",K);function ae(){u("unpipe"),y.unpipe(_)}return _.emit("pipe",y),E.flowing||(u("pipe resume"),y.resume()),_};function te(_){return function(){var y=_._readableState;u("pipeOnDrain",y.awaitDrain),y.awaitDrain&&y.awaitDrain--,y.awaitDrain===0&&t(_,"data")&&(y.flowing=!0,S(_))}}L.prototype.unpipe=function(_){var k=this._readableState,y={hasUnpiped:!1};if(k.pipesCount===0)return this;if(k.pipesCount===1)return _&&_!==k.pipes?this:(_||(_=k.pipes),k.pipes=null,k.pipesCount=0,k.flowing=!1,_&&_.emit("unpipe",this,y),this);if(!_){var E=k.pipes,G=k.pipesCount;k.pipes=null,k.pipesCount=0,k.flowing=!1;for(var J=0;J<G;J++)E[J].emit("unpipe",this,{hasUnpiped:!1});return this}var ne=Q(k.pipes,_);return ne===-1?this:(k.pipes.splice(ne,1),k.pipesCount-=1,k.pipesCount===1&&(k.pipes=k.pipes[0]),_.emit("unpipe",this,y),this)},L.prototype.on=function(_,k){var y=a.prototype.on.call(this,_,k),E=this._readableState;return _==="data"?(E.readableListening=this.listenerCount("readable")>0,E.flowing!==!1&&this.resume()):_==="readable"&&!E.endEmitted&&!E.readableListening&&(E.readableListening=E.needReadable=!0,E.flowing=!1,E.emittedReadable=!1,u("on readable",E.length,E.reading),E.length?_e(this):E.reading||pe.process.nextTick(C,this)),y},L.prototype.addListener=L.prototype.on,L.prototype.removeListener=function(_,k){var y=a.prototype.removeListener.call(this,_,k);return _==="readable"&&pe.process.nextTick(ee,this),y},L.prototype.removeAllListeners=function(_){var k=a.prototype.removeAllListeners.apply(this,arguments);return(_==="readable"||_===void 0)&&pe.process.nextTick(ee,this),k};function ee(_){var k=_._readableState;k.readableListening=_.listenerCount("readable")>0,k.resumeScheduled&&!k.paused?k.flowing=!0:_.listenerCount("data")>0&&_.resume()}function C(_){u("readable nexttick read 0"),_.read(0)}L.prototype.resume=function(){var _=this._readableState;return _.flowing||(u("resume"),_.flowing=!_.readableListening,T(this,_)),_.paused=!1,this};function T(_,k){k.resumeScheduled||(k.resumeScheduled=!0,pe.process.nextTick(D,_,k))}function D(_,k){u("resume",k.reading),k.reading||_.read(0),k.resumeScheduled=!1,_.emit("resume"),S(_),k.flowing&&!k.reading&&_.read(0)}L.prototype.pause=function(){return u("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(u("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this};function S(_){var k=_._readableState;for(u("flow",k.flowing);k.flowing&&_.read()!==null;);}L.prototype.wrap=function(_){var k=this,y=this._readableState,E=!1;_.on("end",function(){if(u("wrapped end"),y.decoder&&!y.ended){var ne=y.decoder.end();ne&&ne.length&&k.push(ne)}k.push(null)}),_.on("data",function(ne){if(u("wrapped data"),y.decoder&&(ne=y.decoder.write(ne)),!(y.objectMode&&ne==null)&&!(!y.objectMode&&(!ne||!ne.length))){var ye=k.push(ne);ye||(E=!0,_.pause())}});for(var G in _)this[G]===void 0&&typeof _[G]=="function"&&(this[G]=function(ye){return function(){return _[ye].apply(_,arguments)}}(G));for(var J=0;J<O.length;J++)_.on(O[J],this.emit.bind(this,O[J]));return this._read=function(ne){u("wrapped _read",ne),E&&(E=!1,_.resume())},this},typeof Symbol=="function"&&(L.prototype[Symbol.asyncIterator]=function(){return b===void 0&&(b=aS()),b(this)}),Object.defineProperty(L.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(L.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(L.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(k){this._readableState&&(this._readableState.flowing=k)}}),L._fromList=z,Object.defineProperty(L.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}});function z(_,k){if(k.length===0)return null;var y;return k.objectMode?y=k.buffer.shift():!_||_>=k.length?(k.decoder?y=k.buffer.join(""):k.buffer.length===1?y=k.buffer.first():y=k.buffer.concat(k.length),k.buffer.clear()):y=k.buffer.consume(_,k.decoder),y}function N(_){var k=_._readableState;u("endReadable",k.endEmitted),k.endEmitted||(k.ended=!0,pe.process.nextTick(B,k,_))}function B(_,k){if(u("endReadableNT",_.endEmitted,_.length),!_.endEmitted&&_.length===0&&(_.endEmitted=!0,k.readable=!1,k.emit("end"),_.autoDestroy)){var y=k._writableState;(!y||y.autoDestroy&&y.finished)&&k.destroy()}}typeof Symbol=="function"&&(L.from=function(_,k){return M===void 0&&(M=rS()),M(L,_,k)});function Q(_,k){for(var y=0,E=_.length;y<E;y++)if(_[y]===k)return y;return-1}return eu}var dg=Ka,rd=mn.codes,iS=rd.ERR_METHOD_NOT_IMPLEMENTED,nS=rd.ERR_MULTIPLE_CALLBACK,oS=rd.ERR_TRANSFORM_ALREADY_TRANSFORMING,sS=rd.ERR_TRANSFORM_WITH_LENGTH_0,id=jn();xr(Ka,id);function lS(e,t){var a=this._transformState;a.transforming=!1;var r=a.writecb;if(r===null)return this.emit("error",new nS);a.writechunk=null,a.writecb=null,t!=null&&this.push(t),r(e);var i=this._readableState;i.reading=!1,(i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}function Ka(e){if(!(this instanceof Ka))return new Ka(e);id.call(this,e),this._transformState={afterTransform:lS.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,e&&(typeof e.transform=="function"&&(this._transform=e.transform),typeof e.flush=="function"&&(this._flush=e.flush)),this.on("prefinish",dS)}function dS(){var e=this;typeof this._flush=="function"&&!this._readableState.destroyed?this._flush(function(t,a){a4(e,t,a)}):a4(this,null,null)}Ka.prototype.push=function(e,t){return this._transformState.needTransform=!1,id.prototype.push.call(this,e,t)};Ka.prototype._transform=function(e,t,a){a(new iS("_transform()"))};Ka.prototype._write=function(e,t,a){var r=this._transformState;if(r.writecb=a,r.writechunk=e,r.writeencoding=t,!r.transforming){var i=this._readableState;(r.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}};Ka.prototype._read=function(e){var t=this._transformState;t.writechunk!==null&&!t.transforming?(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform)):t.needTransform=!0};Ka.prototype._destroy=function(e,t){id.prototype._destroy.call(this,e,function(a){t(a)})};function a4(e,t,a){if(t)return e.emit("error",t);if(a!=null&&e.push(a),e._writableState.length)throw new sS;if(e._transformState.transforming)throw new oS;return e.push(null)}var uS=o1,ug=dg;xr(o1,ug);function o1(e){if(!(this instanceof o1))return new o1(e);ug.call(this,e)}o1.prototype._transform=function(e,t,a){a(null,e)};var tu;function pS(e){var t=!1;return function(){t||(t=!0,e.apply(void 0,arguments))}}var pg=mn.codes,cS=pg.ERR_MISSING_ARGS,mS=pg.ERR_STREAM_DESTROYED;function r4(e){if(e)throw e}function fS(e){return e.setHeader&&typeof e.abort=="function"}function gS(e,t,a,r){r=pS(r);var i=!1;e.on("close",function(){i=!0}),tu===void 0&&(tu=Fc),tu(e,{readable:t,writable:a},function(s){if(s)return r(s);i=!0,r()});var n=!1;return function(s){if(!i&&!n){if(n=!0,fS(e))return e.abort();if(typeof e.destroy=="function")return e.destroy();r(s||new mS("pipe"))}}}function i4(e){e()}function vS(e,t){return e.pipe(t)}function hS(e){return!e.length||typeof e[e.length-1]!="function"?r4:e.pop()}function yS(){for(var e=arguments.length,t=new Array(e),a=0;a<e;a++)t[a]=arguments[a];var r=hS(t);if(Array.isArray(t[0])&&(t=t[0]),t.length<2)throw new cS("streams");var i,n=t.map(function(s,l){var u=l<t.length-1,o=l>0;return gS(s,u,o,function(d){i||(i=d),d&&n.forEach(i4),!u&&(n.forEach(i4),r(i))})});return t.reduce(vS)}var bS=yS;(function(e,t){t=e.exports=lg(),t.Stream=t,t.Readable=t,t.Writable=og(),t.Duplex=jn(),t.Transform=dg,t.PassThrough=uS,t.finished=Fc,t.pipeline=bS})(qp,qp.exports);var cg=qp.exports,n4=Wc,AS=xr,mg=cg,I1=ad.readyStates={UNSENT:0,OPENED:1,HEADERS_RECEIVED:2,LOADING:3,DONE:4},Bc=ad.IncomingMessage=function(e,t,a,r){var i=this;if(mg.Readable.call(i),i._mode=a,i.headers={},i.rawHeaders=[],i.trailers={},i.rawTrailers=[],i.on("end",function(){pe.process.nextTick(function(){i.emit("close")})}),a==="fetch"){let d=function(){s.read().then(function(c){if(!i._destroyed){if(r(c.done),c.done){i.push(null);return}i.push(pe.Buffer.from(c.value)),d()}}).catch(function(c){r(!0),i._destroyed||i.emit("error",c)})};if(i._fetchResponse=t,i.url=t.url,i.statusCode=t.status,i.statusMessage=t.statusText,t.headers.forEach(function(c,p){i.headers[p.toLowerCase()]=c,i.rawHeaders.push(p,c)}),n4.writableStream){var n=new WritableStream({write:function(c){return r(!1),new Promise(function(p,m){i._destroyed?m():i.push(pe.Buffer.from(c))?p():i._resumeFetch=p})},close:function(){r(!0),i._destroyed||i.push(null)},abort:function(c){r(!0),i._destroyed||i.emit("error",c)}});try{t.body.pipeTo(n).catch(function(c){r(!0),i._destroyed||i.emit("error",c)});return}catch{}}var s=t.body.getReader();d()}else{i._xhr=e,i._pos=0,i.url=e.responseURL,i.statusCode=e.status,i.statusMessage=e.statusText;var l=e.getAllResponseHeaders().split(/\r?\n/);if(l.forEach(function(d){var c=d.match(/^([^:]+):\s*(.*)/);if(c){var p=c[1].toLowerCase();p==="set-cookie"?(i.headers[p]===void 0&&(i.headers[p]=[]),i.headers[p].push(c[2])):i.headers[p]!==void 0?i.headers[p]+=", "+c[2]:i.headers[p]=c[2],i.rawHeaders.push(c[1],c[2])}}),i._charset="x-user-defined",!n4.overrideMimeType){var u=i.rawHeaders["mime-type"];if(u){var o=u.match(/;\s*charset=([^;])(;|$)/);o&&(i._charset=o[1].toLowerCase())}i._charset||(i._charset="utf-8")}}};AS(Bc,mg.Readable);Bc.prototype._read=function(){var e=this,t=e._resumeFetch;t&&(e._resumeFetch=null,t())};Bc.prototype._onXHRProgress=function(e){var t=this,a=t._xhr,r=null;switch(t._mode){case"text":if(r=a.responseText,r.length>t._pos){var i=r.substr(t._pos);if(t._charset==="x-user-defined"){for(var n=pe.Buffer.alloc(i.length),s=0;s<i.length;s++)n[s]=i.charCodeAt(s)&255;t.push(n)}else t.push(i,t._charset);t._pos=r.length}break;case"arraybuffer":if(a.readyState!==I1.DONE||!a.response)break;r=a.response,t.push(pe.Buffer.from(new Uint8Array(r)));break;case"moz-chunked-arraybuffer":if(r=a.response,a.readyState!==I1.LOADING||!r)break;t.push(pe.Buffer.from(new Uint8Array(r)));break;case"ms-stream":if(r=a.response,a.readyState!==I1.LOADING)break;var l=new le.MSStreamReader;l.onprogress=function(){l.result.byteLength>t._pos&&(t.push(pe.Buffer.from(new Uint8Array(l.result.slice(t._pos)))),t._pos=l.result.byteLength)},l.onload=function(){e(!0),t.push(null)},l.readAsArrayBuffer(r);break}t._xhr.readyState===I1.DONE&&t._mode!=="ms-stream"&&(e(!0),t.push(null))};var en=Wc,SS=xr,fg=ad,Kc=cg,_S=fg.IncomingMessage,o4=fg.readyStates;function wS(e,t){return en.fetch&&t?"fetch":en.mozchunkedarraybuffer?"moz-chunked-arraybuffer":en.msstream?"ms-stream":en.arraybuffer&&e?"arraybuffer":"text"}var zt=tg.exports=function(e){var t=this;Kc.Writable.call(t),t._opts=e,t._body=[],t._headers={},e.auth&&t.setHeader("Authorization","Basic "+pe.Buffer.from(e.auth).toString("base64")),Object.keys(e.headers).forEach(function(i){t.setHeader(i,e.headers[i])});var a,r=!0;if(e.mode==="disable-fetch"||"requestTimeout"in e&&!en.abortController)r=!1,a=!0;else if(e.mode==="prefer-streaming")a=!1;else if(e.mode==="allow-wrong-content-type")a=!en.overrideMimeType;else if(!e.mode||e.mode==="default"||e.mode==="prefer-fast")a=!0;else throw new Error("Invalid value for opts.mode");t._mode=wS(a,r),t._fetchTimer=null,t._socketTimeout=null,t._socketTimer=null,t.on("finish",function(){t._onFinish()})};SS(zt,Kc.Writable);zt.prototype.setHeader=function(e,t){var a=this,r=e.toLowerCase();ES.indexOf(r)===-1&&(a._headers[r]={name:e,value:t})};zt.prototype.getHeader=function(e){var t=this._headers[e.toLowerCase()];return t?t.value:null};zt.prototype.removeHeader=function(e){var t=this;delete t._headers[e.toLowerCase()]};zt.prototype._onFinish=function(){var e=this;if(!e._destroyed){var t=e._opts;"timeout"in t&&t.timeout!==0&&e.setTimeout(t.timeout);var a=e._headers,r=null;t.method!=="GET"&&t.method!=="HEAD"&&(r=new Blob(e._body,{type:(a["content-type"]||{}).value||""}));var i=[];if(Object.keys(a).forEach(function(u){var o=a[u].name,d=a[u].value;Array.isArray(d)?d.forEach(function(c){i.push([o,c])}):i.push([o,d])}),e._mode==="fetch"){var n=null;if(en.abortController){var s=new AbortController;n=s.signal,e._fetchAbortController=s,"requestTimeout"in t&&t.requestTimeout!==0&&(e._fetchTimer=le.setTimeout(function(){e.emit("requestTimeout"),e._fetchAbortController&&e._fetchAbortController.abort()},t.requestTimeout))}le.fetch(e._opts.url,{method:e._opts.method,headers:i,body:r||void 0,mode:"cors",credentials:t.withCredentials?"include":"same-origin",signal:n}).then(function(u){e._fetchResponse=u,e._resetTimers(!1),e._connect()},function(u){e._resetTimers(!0),e._destroyed||e.emit("error",u)})}else{var l=e._xhr=new le.XMLHttpRequest;try{l.open(e._opts.method,e._opts.url,!0)}catch(u){pe.process.nextTick(function(){e.emit("error",u)});return}"responseType"in l&&(l.responseType=e._mode),"withCredentials"in l&&(l.withCredentials=!!t.withCredentials),e._mode==="text"&&"overrideMimeType"in l&&l.overrideMimeType("text/plain; charset=x-user-defined"),"requestTimeout"in t&&(l.timeout=t.requestTimeout,l.ontimeout=function(){e.emit("requestTimeout")}),i.forEach(function(u){l.setRequestHeader(u[0],u[1])}),e._response=null,l.onreadystatechange=function(){switch(l.readyState){case o4.LOADING:case o4.DONE:e._onXHRProgress();break}},e._mode==="moz-chunked-arraybuffer"&&(l.onprogress=function(){e._onXHRProgress()}),l.onerror=function(){e._destroyed||(e._resetTimers(!0),e.emit("error",new Error("XHR error")))};try{l.send(r)}catch(u){pe.process.nextTick(function(){e.emit("error",u)});return}}}};function PS(e){try{var t=e.status;return t!==null&&t!==0}catch{return!1}}zt.prototype._onXHRProgress=function(){var e=this;e._resetTimers(!1),!(!PS(e._xhr)||e._destroyed)&&(e._response||e._connect(),e._response._onXHRProgress(e._resetTimers.bind(e)))};zt.prototype._connect=function(){var e=this;e._destroyed||(e._response=new _S(e._xhr,e._fetchResponse,e._mode,e._resetTimers.bind(e)),e._response.on("error",function(t){e.emit("error",t)}),e.emit("response",e._response))};zt.prototype._write=function(e,t,a){var r=this;r._body.push(e),a()};zt.prototype._resetTimers=function(e){var t=this;le.clearTimeout(t._socketTimer),t._socketTimer=null,e?(le.clearTimeout(t._fetchTimer),t._fetchTimer=null):t._socketTimeout&&(t._socketTimer=le.setTimeout(function(){t.emit("timeout")},t._socketTimeout))};zt.prototype.abort=zt.prototype.destroy=function(e){var t=this;t._destroyed=!0,t._resetTimers(!0),t._response&&(t._response._destroyed=!0),t._xhr?t._xhr.abort():t._fetchAbortController&&t._fetchAbortController.abort(),e&&t.emit("error",e)};zt.prototype.end=function(e,t,a){var r=this;typeof e=="function"&&(a=e,e=void 0),Kc.Writable.prototype.end.call(r,e,t,a)};zt.prototype.setTimeout=function(e,t){var a=this;t&&a.once("timeout",t),a._socketTimeout=e,a._resetTimers(!1)};zt.prototype.flushHeaders=function(){};zt.prototype.setNoDelay=function(){};zt.prototype.setSocketKeepAlive=function(){};var ES=["accept-charset","accept-encoding","access-control-request-headers","access-control-request-method","connection","content-length","cookie","cookie2","date","dnt","expect","host","keep-alive","origin","referer","te","trailer","transfer-encoding","upgrade","via"],kS=tg.exports,TS=DS,zS=Object.prototype.hasOwnProperty;function DS(){for(var e={},t=0;t<arguments.length;t++){var a=arguments[t];for(var r in a)zS.call(a,r)&&(e[r]=a[r])}return e}var MS={100:"Continue",101:"Switching Protocols",102:"Processing",200:"OK",201:"Created",202:"Accepted",203:"Non-Authoritative Information",204:"No Content",205:"Reset Content",206:"Partial Content",207:"Multi-Status",208:"Already Reported",226:"IM Used",300:"Multiple Choices",301:"Moved Permanently",302:"Found",303:"See Other",304:"Not Modified",305:"Use Proxy",307:"Temporary Redirect",308:"Permanent Redirect",400:"Bad Request",401:"Unauthorized",402:"Payment Required",403:"Forbidden",404:"Not Found",405:"Method Not Allowed",406:"Not Acceptable",407:"Proxy Authentication Required",408:"Request Timeout",409:"Conflict",410:"Gone",411:"Length Required",412:"Precondition Failed",413:"Payload Too Large",414:"URI Too Long",415:"Unsupported Media Type",416:"Range Not Satisfiable",417:"Expectation Failed",418:"I'm a teapot",421:"Misdirected Request",422:"Unprocessable Entity",423:"Locked",424:"Failed Dependency",425:"Unordered Collection",426:"Upgrade Required",428:"Precondition Required",429:"Too Many Requests",431:"Request Header Fields Too Large",451:"Unavailable For Legal Reasons",500:"Internal Server Error",501:"Not Implemented",502:"Bad Gateway",503:"Service Unavailable",504:"Gateway Timeout",505:"HTTP Version Not Supported",506:"Variant Also Negotiates",507:"Insufficient Storage",508:"Loop Detected",509:"Bandwidth Limit Exceeded",510:"Not Extended",511:"Network Authentication Required"},Hp={exports:{}},Ml={exports:{}};/*! https://mths.be/punycode v1.4.1 by @mathias */Ml.exports;(function(e,t){(function(a){var r=t&&!t.nodeType&&t,i=e&&!e.nodeType&&e,n=typeof le=="object"&&le;(n.global===n||n.window===n||n.self===n)&&(a=n);var s,l=2147483647,u=36,o=1,d=26,c=38,p=700,m=72,h=128,v="-",g=/^xn--/,w=/[^\x20-\x7E]/,P=/[\x2E\u3002\uFF0E\uFF61]/g,b={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},M=u-o,R=Math.floor,O=String.fromCharCode,U;function j($){throw new RangeError(b[$])}function L($,te){for(var ee=$.length,C=[];ee--;)C[ee]=te($[ee]);return C}function ie($,te){var ee=$.split("@"),C="";ee.length>1&&(C=ee[0]+"@",$=ee[1]),$=$.replace(P,".");var T=$.split("."),D=L(T,te).join(".");return C+D}function re($){for(var te=[],ee=0,C=$.length,T,D;ee<C;)T=$.charCodeAt(ee++),T>=55296&&T<=56319&&ee<C?(D=$.charCodeAt(ee++),(D&64512)==56320?te.push(((T&1023)<<10)+(D&1023)+65536):(te.push(T),ee--)):te.push(T);return te}function I($){return L($,function(te){var ee="";return te>65535&&(te-=65536,ee+=O(te>>>10&1023|55296),te=56320|te&1023),ee+=O(te),ee}).join("")}function H($){return $-48<10?$-22:$-65<26?$-65:$-97<26?$-97:u}function se($,te){return $+22+75*($<26)-((te!=0)<<5)}function ce($,te,ee){var C=0;for($=ee?R($/p):$>>1,$+=R($/te);$>M*d>>1;C+=u)$=R($/M);return R(C+(M+1)*$/($+c))}function he($){var te=[],ee=$.length,C,T=0,D=h,S=m,z,N,B,Q,_,k,y,E,G;for(z=$.lastIndexOf(v),z<0&&(z=0),N=0;N<z;++N)$.charCodeAt(N)>=128&&j("not-basic"),te.push($.charCodeAt(N));for(B=z>0?z+1:0;B<ee;){for(Q=T,_=1,k=u;B>=ee&&j("invalid-input"),y=H($.charCodeAt(B++)),(y>=u||y>R((l-T)/_))&&j("overflow"),T+=y*_,E=k<=S?o:k>=S+d?d:k-S,!(y<E);k+=u)G=u-E,_>R(l/G)&&j("overflow"),_*=G;C=te.length+1,S=ce(T-Q,C,Q==0),R(T/C)>l-D&&j("overflow"),D+=R(T/C),T%=C,te.splice(T++,0,D)}return I(te)}function _e($){var te,ee,C,T,D,S,z,N,B,Q,_,k=[],y,E,G,J;for($=re($),y=$.length,te=h,ee=0,D=m,S=0;S<y;++S)_=$[S],_<128&&k.push(O(_));for(C=T=k.length,T&&k.push(v);C<y;){for(z=l,S=0;S<y;++S)_=$[S],_>=te&&_<z&&(z=_);for(E=C+1,z-te>R((l-ee)/E)&&j("overflow"),ee+=(z-te)*E,te=z,S=0;S<y;++S)if(_=$[S],_<te&&++ee>l&&j("overflow"),_==te){for(N=ee,B=u;Q=B<=D?o:B>=D+d?d:B-D,!(N<Q);B+=u)J=N-Q,G=u-Q,k.push(O(se(Q+J%G,0))),N=R(J/G);k.push(O(se(N,0))),D=ce(ee,E,C==T),ee=0,++C}++ee,++te}return k.join("")}function be($){return ie($,function(te){return g.test(te)?he(te.slice(4).toLowerCase()):te})}function X($){return ie($,function(te){return w.test(te)?"xn--"+_e(te):te})}if(s={version:"1.4.1",ucs2:{decode:re,encode:I},decode:he,encode:_e,toASCII:X,toUnicode:be},r&&i)if(e.exports==r)i.exports=s;else for(U in s)s.hasOwnProperty(U)&&(r[U]=s[U]);else a.punycode=s})(le)})(Ml,Ml.exports);var Uc=Ml.exports,ja=TypeError,jc=typeof Map=="function"&&Map.prototype,au=Object.getOwnPropertyDescriptor&&jc?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,xl=jc&&au&&typeof au.get=="function"?au.get:null,s4=jc&&Map.prototype.forEach,$c=typeof Set=="function"&&Set.prototype,ru=Object.getOwnPropertyDescriptor&&$c?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,Il=$c&&ru&&typeof ru.get=="function"?ru.get:null,l4=$c&&Set.prototype.forEach,xS=typeof WeakMap=="function"&&WeakMap.prototype,Gs=xS?WeakMap.prototype.has:null,IS=typeof WeakSet=="function"&&WeakSet.prototype,Qs=IS?WeakSet.prototype.has:null,RS=typeof WeakRef=="function"&&WeakRef.prototype,d4=RS?WeakRef.prototype.deref:null,CS=Boolean.prototype.valueOf,OS=Object.prototype.toString,NS=Function.prototype.toString,VS=String.prototype.match,Lc=String.prototype.slice,ar=String.prototype.replace,WS=String.prototype.toUpperCase,u4=String.prototype.toLowerCase,gg=RegExp.prototype.test,p4=Array.prototype.concat,ca=Array.prototype.join,FS=Array.prototype.slice,c4=Math.floor,Gp=typeof BigInt=="function"?BigInt.prototype.valueOf:null,iu=Object.getOwnPropertySymbols,Qp=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,$n=typeof Symbol=="function"&&typeof Symbol.iterator=="object",Js=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===$n||!0)?Symbol.toStringTag:null,vg=Object.prototype.propertyIsEnumerable,m4=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function f4(e,t){if(e===1/0||e===-1/0||e!==e||e&&e>-1e3&&e<1e3||gg.call(/e/,t))return t;var a=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof e=="number"){var r=e<0?-c4(-e):c4(e);if(r!==e){var i=String(r),n=Lc.call(t,i.length+1);return ar.call(i,a,"$&_")+"."+ar.call(ar.call(n,/([0-9]{3})/g,"$&_"),/_$/,"")}}return ar.call(t,a,"$&_")}var Jp=Sc,g4=Jp.custom,v4=bg(g4)?g4:null,hg={__proto__:null,double:'"',single:"'"},BS={__proto__:null,double:/(["\\])/g,single:/(['\\])/g},nd=function e(t,a,r,i){var n=a||{};if(Ca(n,"quoteStyle")&&!Ca(hg,n.quoteStyle))throw new TypeError('option "quoteStyle" must be "single" or "double"');if(Ca(n,"maxStringLength")&&(typeof n.maxStringLength=="number"?n.maxStringLength<0&&n.maxStringLength!==1/0:n.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var s=Ca(n,"customInspect")?n.customInspect:!0;if(typeof s!="boolean"&&s!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(Ca(n,"indent")&&n.indent!==null&&n.indent!==" "&&!(parseInt(n.indent,10)===n.indent&&n.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(Ca(n,"numericSeparator")&&typeof n.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var l=n.numericSeparator;if(typeof t>"u")return"undefined";if(t===null)return"null";if(typeof t=="boolean")return t?"true":"false";if(typeof t=="string")return Sg(t,n);if(typeof t=="number"){if(t===0)return 1/0/t>0?"0":"-0";var u=String(t);return l?f4(t,u):u}if(typeof t=="bigint"){var o=String(t)+"n";return l?f4(t,o):o}var d=typeof n.depth>"u"?5:n.depth;if(typeof r>"u"&&(r=0),r>=d&&d>0&&typeof t=="object")return Yp(t)?"[Array]":"[Object]";var c=i_(n,r);if(typeof i>"u")i=[];else if(Ag(i,t)>=0)return"[Circular]";function p(H,se,ce){if(se&&(i=FS.call(i),i.push(se)),ce){var he={depth:n.depth};return Ca(n,"quoteStyle")&&(he.quoteStyle=n.quoteStyle),e(H,he,r+1,i)}return e(H,n,r+1,i)}if(typeof t=="function"&&!h4(t)){var m=GS(t),h=R1(t,p);return"[Function"+(m?": "+m:" (anonymous)")+"]"+(h.length>0?" { "+ca.call(h,", ")+" }":"")}if(bg(t)){var v=$n?ar.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):Qp.call(t);return typeof t=="object"&&!$n?ks(v):v}if(t_(t)){for(var g="<"+u4.call(String(t.nodeName)),w=t.attributes||[],P=0;P<w.length;P++)g+=" "+w[P].name+"="+yg(KS(w[P].value),"double",n);return g+=">",t.childNodes&&t.childNodes.length&&(g+="..."),g+="</"+u4.call(String(t.nodeName))+">",g}if(Yp(t)){if(t.length===0)return"[]";var b=R1(t,p);return c&&!r_(b)?"["+Xp(b,c)+"]":"[ "+ca.call(b,", ")+" ]"}if(jS(t)){var M=R1(t,p);return!("cause"in Error.prototype)&&"cause"in t&&!vg.call(t,"cause")?"{ ["+String(t)+"] "+ca.call(p4.call("[cause]: "+p(t.cause),M),", ")+" }":M.length===0?"["+String(t)+"]":"{ ["+String(t)+"] "+ca.call(M,", ")+" }"}if(typeof t=="object"&&s){if(v4&&typeof t[v4]=="function"&&Jp)return Jp(t,{depth:d-r});if(s!=="symbol"&&typeof t.inspect=="function")return t.inspect()}if(QS(t)){var R=[];return s4&&s4.call(t,function(H,se){R.push(p(se,t,!0)+" => "+p(H,t))}),y4("Map",xl.call(t),R,c)}if(XS(t)){var O=[];return l4&&l4.call(t,function(H){O.push(p(H,t))}),y4("Set",Il.call(t),O,c)}if(JS(t))return nu("WeakMap");if(e_(t))return nu("WeakSet");if(YS(t))return nu("WeakRef");if(LS(t))return ks(p(Number(t)));if(ZS(t))return ks(p(Gp.call(t)));if(qS(t))return ks(CS.call(t));if($S(t))return ks(p(String(t)));if(typeof window<"u"&&t===window)return"{ [object Window] }";if(typeof globalThis<"u"&&t===globalThis||typeof le<"u"&&t===le)return"{ [object globalThis] }";if(!US(t)&&!h4(t)){var U=R1(t,p),j=m4?m4(t)===Object.prototype:t instanceof Object||t.constructor===Object,L=t instanceof Object?"":"null prototype",ie=!j&&Js&&Object(t)===t&&Js in t?Lc.call(Rr(t),8,-1):L?"Object":"",re=j||typeof t.constructor!="function"?"":t.constructor.name?t.constructor.name+" ":"",I=re+(ie||L?"["+ca.call(p4.call([],ie||[],L||[]),": ")+"] ":"");return U.length===0?I+"{}":c?I+"{"+Xp(U,c)+"}":I+"{ "+ca.call(U,", ")+" }"}return String(t)};function yg(e,t,a){var r=a.quoteStyle||t,i=hg[r];return i+e+i}function KS(e){return ar.call(String(e),/"/g,"&quot;")}function fn(e){return!Js||!(typeof e=="object"&&(Js in e||typeof e[Js]<"u"))}function Yp(e){return Rr(e)==="[object Array]"&&fn(e)}function US(e){return Rr(e)==="[object Date]"&&fn(e)}function h4(e){return Rr(e)==="[object RegExp]"&&fn(e)}function jS(e){return Rr(e)==="[object Error]"&&fn(e)}function $S(e){return Rr(e)==="[object String]"&&fn(e)}function LS(e){return Rr(e)==="[object Number]"&&fn(e)}function qS(e){return Rr(e)==="[object Boolean]"&&fn(e)}function bg(e){if($n)return e&&typeof e=="object"&&e instanceof Symbol;if(typeof e=="symbol")return!0;if(!e||typeof e!="object"||!Qp)return!1;try{return Qp.call(e),!0}catch{}return!1}function ZS(e){if(!e||typeof e!="object"||!Gp)return!1;try{return Gp.call(e),!0}catch{}return!1}var HS=Object.prototype.hasOwnProperty||function(e){return e in this};function Ca(e,t){return HS.call(e,t)}function Rr(e){return OS.call(e)}function GS(e){if(e.name)return e.name;var t=VS.call(NS.call(e),/^function\s*([\w$]+)/);return t?t[1]:null}function Ag(e,t){if(e.indexOf)return e.indexOf(t);for(var a=0,r=e.length;a<r;a++)if(e[a]===t)return a;return-1}function QS(e){if(!xl||!e||typeof e!="object")return!1;try{xl.call(e);try{Il.call(e)}catch{return!0}return e instanceof Map}catch{}return!1}function JS(e){if(!Gs||!e||typeof e!="object")return!1;try{Gs.call(e,Gs);try{Qs.call(e,Qs)}catch{return!0}return e instanceof WeakMap}catch{}return!1}function YS(e){if(!d4||!e||typeof e!="object")return!1;try{return d4.call(e),!0}catch{}return!1}function XS(e){if(!Il||!e||typeof e!="object")return!1;try{Il.call(e);try{xl.call(e)}catch{return!0}return e instanceof Set}catch{}return!1}function e_(e){if(!Qs||!e||typeof e!="object")return!1;try{Qs.call(e,Qs);try{Gs.call(e,Gs)}catch{return!0}return e instanceof WeakSet}catch{}return!1}function t_(e){return!e||typeof e!="object"?!1:typeof HTMLElement<"u"&&e instanceof HTMLElement?!0:typeof e.nodeName=="string"&&typeof e.getAttribute=="function"}function Sg(e,t){if(e.length>t.maxStringLength){var a=e.length-t.maxStringLength,r="... "+a+" more character"+(a>1?"s":"");return Sg(Lc.call(e,0,t.maxStringLength),t)+r}var i=BS[t.quoteStyle||"single"];i.lastIndex=0;var n=ar.call(ar.call(e,i,"\\$1"),/[\x00-\x1f]/g,a_);return yg(n,"single",t)}function a_(e){var t=e.charCodeAt(0),a={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return a?"\\"+a:"\\x"+(t<16?"0":"")+WS.call(t.toString(16))}function ks(e){return"Object("+e+")"}function nu(e){return e+" { ? }"}function y4(e,t,a,r){var i=r?Xp(a,r):ca.call(a,", ");return e+" ("+t+") {"+i+"}"}function r_(e){for(var t=0;t<e.length;t++)if(Ag(e[t],`
10
+ `)}}const NA=Object.freeze(Object.defineProperty({__proto__:null,ACCOUNT_HEADER_SIZE:w5,AccountNotFoundError:_5,AmountMismatchError:E5,Endian:jb,GpaBuilder:Oa,HttpRequestBuilder:ua,InterfaceImplementationMissingError:Ua,InvalidBaseStringError:OA,InvalidPublicKeyError:Hs,PUBLIC_KEY_LENGTH:r1,ProgramError:X5,SdkError:xt,TRANSACTION_SIZE_LIMIT:Q5,TransactionBuilder:Dt,TransactionBuilderGroup:Na,UmiError:Ic,UnexpectedAccountError:S5,UnexpectedAmountError:P5,absoluteAmount:M5,addAmounts:Yb,addTransactionSignature:J5,amountToNumber:oA,amountToString:Rc,assertAccountExists:Lb,assertAmount:T5,assertPublicKey:zc,assertSameAmounts:Un,assertSolAmount:Jb,base10:Nb,base16:Fb,base58:Vb,base58PublicKey:Qy,base64:Wb,baseX:Ob,bitArray:Bb,chunk:B5,compareAmounts:A1,createAmount:ns,createAmountFromDecimals:b1,createBigInt:Dl,createBrowserFileFromGenericFile:SA,createGenericFile:ed,createGenericFileFromBrowserFile:bA,createGenericFileFromJson:AA,createNoopSigner:fA,createNullContext:H5,createNullDownloader:C5,createNullEddsa:O5,createNullHttp:N5,createNullProgramRepository:V5,createNullRpc:W5,createNullSerializer:F5,createNullSigner:$p,createNullTransactionFactory:q5,createNullUploader:Z5,createSignerFromKeypair:td,createUmi:Y5,dateTime:n1,defaultPublicKey:Zy,deserializeAccount:$b,displayAmount:sA,divideAmount:Xb,fixBytes:Rb,fixSerializer:Db,formatDateTime:hA,generateRandomString:G5,generateSigner:Cc,generatedSignerIdentity:DA,generatedSignerPayer:MA,getBytesFromGenericFiles:wA,gpaBuilder:kA,isAmount:Xl,isEqualToAmount:eA,isErrorWithLogs:zA,isGenericFile:PA,isGreaterThanAmount:aA,isGreaterThanOrEqualToAmount:rA,isKeypairSigner:TA,isLessThanAmount:tA,isLessThanOrEqualToAmount:x5,isNegativeAmount:nA,isNone:jy,isOption:wc,isPda:Hy,isPositiveAmount:iA,isPublicKey:On,isSigner:mA,isSolAmount:Qb,isSome:or,isZeroAmount:I5,keypairIdentity:xA,keypairPayer:IA,lamports:Xa,mapAmountSerializer:lA,mapDateTimeSerializer:yA,mapSerializer:zb,mergeBytes:xb,multiplyAmount:D5,none:Tl,now:gA,padBytes:Ib,padNullCharacters:Ub,parseJsonFromGenericFile:_A,percentAmount:qb,publicKey:Xt,publicKeyBytes:Yl,removeNullCharacters:Kb,request:Lp,resolveClusterFromEndpoint:R5,reverseSerializer:Mb,sameAmounts:k5,samePublicKey:Jy,signAllTransactions:$5,signTransaction:j5,signerIdentity:Oc,signerPayer:Nc,sol:Hb,some:_c,subtractAmounts:z5,tokenAmount:Zb,transactionBuilder:RA,transactionBuilderGroup:CA,uniqueBy:U5,uniquePublicKeys:Gy,uniqueSigners:L5,unwrapOption:$y,unwrapOptionRecursively:jp,unwrapSome:Ly,unwrapSomeOrElse:qy,usd:Gb,utf8:Cb,wrapNullable:d5,zipMap:K5},Symbol.toStringTag,{value:"Module"}));function VA(e){const t=async(i,n={})=>{const s=await e.http.send(Lp().get(i).withAbortSignal(n.signal));return ed(s.body,i)};return{download:async(i,n={})=>Promise.all(i.map(s=>t(s,n))),downloadJson:async(i,n={})=>(await e.http.send(Lp().get(i).withAbortSignal(n.signal))).data}}const WA=()=>({install(e){e.downloader=VA(e)}});function Fa(e){return e.toBase58()}function It(e){return new kl(e)}function q6(e){return new Iy({keys:e.keys.map(t=>({...t,pubkey:It(t.pubkey)})),programId:It(e.programId),data:Bn.Buffer.from(e.data)})}function Hd(e){return{publicKey:Fa(e.publicKey),secretKey:e.secretKey}}function eg(e){return{version:e.version,header:e.header,accounts:e.staticAccountKeys.map(Fa),blockhash:e.recentBlockhash,instructions:e.compiledInstructions.map(t=>({programIndex:t.programIdIndex,accountIndexes:t.accountKeyIndexes,data:new Uint8Array(t.data)})),addressLookupTables:e.addressTableLookups.map(t=>({publicKey:Fa(t.accountKey),writableIndexes:t.writableIndexes,readonlyIndexes:t.readonlyIndexes}))}}function FA(e){var t;return e.version==="legacy"?Ry.compile({payerKey:It(e.payer),instructions:e.instructions.map(q6),recentBlockhash:e.blockhash}):Cy.compile({payerKey:It(e.payer),instructions:e.instructions.map(q6),recentBlockhash:e.blockhash,addressLookupTableAccounts:(t=e.addressLookupTables)==null?void 0:t.map(a=>new Oy({key:It(a.publicKey),state:{addresses:a.addresses.map(It),authority:void 0,deactivationSlot:BigInt(`0x${"ff".repeat(8)}`),lastExtendedSlot:0,lastExtendedSlotStartIndex:0}}))})}function BA(){return{generateKeypair:()=>Hd(Zd.generate()),createKeypairFromSecretKey:l=>Hd(Zd.fromSecretKey(l)),createKeypairFromSeed:l=>Hd(Zd.fromSeed(l)),isOnCurve:l=>kl.isOnCurve(It(Xt(l))),findPda:(l,u)=>{const[o,d]=kl.findProgramAddressSync(u,It(Xt(l)));return[Fa(o),d]},sign:(l,u)=>$6.sign(l,u.secretKey.slice(0,32)),verify:(l,u,o)=>$6.verify(u,l,Yl(o))}}const KA=()=>({install(e){e.eddsa=BA()}});var Vc={},tg={exports:{}},Wc={};(function(e){e.fetch=i(le.fetch)&&i(le.ReadableStream),e.writableStream=i(le.WritableStream),e.abortController=i(le.AbortController);var t;function a(){if(t!==void 0)return t;if(le.XMLHttpRequest){t=new le.XMLHttpRequest;try{t.open("GET",le.XDomainRequest?"/":"https://example.com")}catch{t=null}}else t=null;return t}function r(n){var s=a();if(!s)return!1;try{return s.responseType=n,s.responseType===n}catch{}return!1}e.arraybuffer=e.fetch||r("arraybuffer"),e.msstream=!e.fetch&&r("ms-stream"),e.mozchunkedarraybuffer=!e.fetch&&r("moz-chunked-arraybuffer"),e.overrideMimeType=e.fetch||(a()?i(a().overrideMimeType):!1);function i(n){return typeof n=="function"}t=null})(Wc);var ad={},qp={exports:{}},ag=s5.EventEmitter,Gd,Z6;function UA(){if(Z6)return Gd;Z6=1;function e(h,v){var g=Object.keys(h);if(Object.getOwnPropertySymbols){var w=Object.getOwnPropertySymbols(h);v&&(w=w.filter(function(P){return Object.getOwnPropertyDescriptor(h,P).enumerable})),g.push.apply(g,w)}return g}function t(h){for(var v=1;v<arguments.length;v++){var g=arguments[v]!=null?arguments[v]:{};v%2?e(Object(g),!0).forEach(function(w){a(h,w,g[w])}):Object.getOwnPropertyDescriptors?Object.defineProperties(h,Object.getOwnPropertyDescriptors(g)):e(Object(g)).forEach(function(w){Object.defineProperty(h,w,Object.getOwnPropertyDescriptor(g,w))})}return h}function a(h,v,g){return v=s(v),v in h?Object.defineProperty(h,v,{value:g,enumerable:!0,configurable:!0,writable:!0}):h[v]=g,h}function r(h,v){if(!(h instanceof v))throw new TypeError("Cannot call a class as a function")}function i(h,v){for(var g=0;g<v.length;g++){var w=v[g];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(h,s(w.key),w)}}function n(h,v,g){return v&&i(h.prototype,v),Object.defineProperty(h,"prototype",{writable:!1}),h}function s(h){var v=l(h,"string");return typeof v=="symbol"?v:String(v)}function l(h,v){if(typeof h!="object"||h===null)return h;var g=h[Symbol.toPrimitive];if(g!==void 0){var w=g.call(h,v);if(typeof w!="object")return w;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(h)}var u=Bn,o=u.Buffer,d=Sc,c=d.inspect,p=c&&c.custom||"inspect";function m(h,v,g){o.prototype.copy.call(h,v,g)}return Gd=function(){function h(){r(this,h),this.head=null,this.tail=null,this.length=0}return n(h,[{key:"push",value:function(g){var w={data:g,next:null};this.length>0?this.tail.next=w:this.head=w,this.tail=w,++this.length}},{key:"unshift",value:function(g){var w={data:g,next:this.head};this.length===0&&(this.tail=w),this.head=w,++this.length}},{key:"shift",value:function(){if(this.length!==0){var g=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,g}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(g){if(this.length===0)return"";for(var w=this.head,P=""+w.data;w=w.next;)P+=g+w.data;return P}},{key:"concat",value:function(g){if(this.length===0)return o.alloc(0);for(var w=o.allocUnsafe(g>>>0),P=this.head,b=0;P;)m(P.data,w,b),b+=P.data.length,P=P.next;return w}},{key:"consume",value:function(g,w){var P;return g<this.head.data.length?(P=this.head.data.slice(0,g),this.head.data=this.head.data.slice(g)):g===this.head.data.length?P=this.shift():P=w?this._getString(g):this._getBuffer(g),P}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(g){var w=this.head,P=1,b=w.data;for(g-=b.length;w=w.next;){var M=w.data,R=g>M.length?M.length:g;if(R===M.length?b+=M:b+=M.slice(0,g),g-=R,g===0){R===M.length?(++P,w.next?this.head=w.next:this.head=this.tail=null):(this.head=w,w.data=M.slice(R));break}++P}return this.length-=P,b}},{key:"_getBuffer",value:function(g){var w=o.allocUnsafe(g),P=this.head,b=1;for(P.data.copy(w),g-=P.data.length;P=P.next;){var M=P.data,R=g>M.length?M.length:g;if(M.copy(w,w.length-g,0,R),g-=R,g===0){R===M.length?(++b,P.next?this.head=P.next:this.head=this.tail=null):(this.head=P,P.data=M.slice(R));break}++b}return this.length-=b,w}},{key:p,value:function(g,w){return c(this,t(t({},w),{},{depth:0,customInspect:!1}))}}]),h}(),Gd}function jA(e,t){var a=this,r=this._readableState&&this._readableState.destroyed,i=this._writableState&&this._writableState.destroyed;return r||i?(t?t(e):e&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,pe.process.nextTick(Zp,this,e)):pe.process.nextTick(Zp,this,e)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,function(n){!t&&n?a._writableState?a._writableState.errorEmitted?pe.process.nextTick(ml,a):(a._writableState.errorEmitted=!0,pe.process.nextTick(H6,a,n)):pe.process.nextTick(H6,a,n):t?(pe.process.nextTick(ml,a),t(n)):pe.process.nextTick(ml,a)}),this)}function H6(e,t){Zp(e,t),ml(e)}function ml(e){e._writableState&&!e._writableState.emitClose||e._readableState&&!e._readableState.emitClose||e.emit("close")}function $A(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}function Zp(e,t){e.emit("error",t)}function LA(e,t){var a=e._readableState,r=e._writableState;a&&a.autoDestroy||r&&r.autoDestroy?e.destroy(t):e.emit("error",t)}var rg={destroy:jA,undestroy:$A,errorOrDestroy:LA},mn={};function qA(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var ig={};function Kt(e,t,a){a||(a=Error);function r(n,s,l){return typeof t=="string"?t:t(n,s,l)}var i=function(n){qA(s,n);function s(l,u,o){return n.call(this,r(l,u,o))||this}return s}(a);i.prototype.name=a.name,i.prototype.code=e,ig[e]=i}function G6(e,t){if(Array.isArray(e)){var a=e.length;return e=e.map(function(r){return String(r)}),a>2?"one of ".concat(t," ").concat(e.slice(0,a-1).join(", "),", or ")+e[a-1]:a===2?"one of ".concat(t," ").concat(e[0]," or ").concat(e[1]):"of ".concat(t," ").concat(e[0])}else return"of ".concat(t," ").concat(String(e))}function ZA(e,t,a){return e.substr(0,t.length)===t}function HA(e,t,a){return(a===void 0||a>e.length)&&(a=e.length),e.substring(a-t.length,a)===t}function GA(e,t,a){return typeof a!="number"&&(a=0),a+t.length>e.length?!1:e.indexOf(t,a)!==-1}Kt("ERR_INVALID_OPT_VALUE",function(e,t){return'The value "'+t+'" is invalid for option "'+e+'"'},TypeError);Kt("ERR_INVALID_ARG_TYPE",function(e,t,a){var r;typeof t=="string"&&ZA(t,"not ")?(r="must not be",t=t.replace(/^not /,"")):r="must be";var i;if(HA(e," argument"))i="The ".concat(e," ").concat(r," ").concat(G6(t,"type"));else{var n=GA(e,".")?"property":"argument";i='The "'.concat(e,'" ').concat(n," ").concat(r," ").concat(G6(t,"type"))}return i+=". Received type ".concat(typeof a),i},TypeError);Kt("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF");Kt("ERR_METHOD_NOT_IMPLEMENTED",function(e){return"The "+e+" method is not implemented"});Kt("ERR_STREAM_PREMATURE_CLOSE","Premature close");Kt("ERR_STREAM_DESTROYED",function(e){return"Cannot call "+e+" after a stream was destroyed"});Kt("ERR_MULTIPLE_CALLBACK","Callback called multiple times");Kt("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable");Kt("ERR_STREAM_WRITE_AFTER_END","write after end");Kt("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError);Kt("ERR_UNKNOWN_ENCODING",function(e){return"Unknown encoding: "+e},TypeError);Kt("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event");mn.codes=ig;var QA=mn.codes.ERR_INVALID_OPT_VALUE;function JA(e,t,a){return e.highWaterMark!=null?e.highWaterMark:t?e[a]:null}function YA(e,t,a,r){var i=JA(t,r,a);if(i!=null){if(!(isFinite(i)&&Math.floor(i)===i)||i<0){var n=r?a:"highWaterMark";throw new QA(n,i)}return Math.floor(i)}return e.objectMode?16:16*1024}var ng={getHighWaterMark:YA},Qd,Q6;function og(){if(Q6)return Qd;Q6=1,Qd=j;function e(S){var z=this;this.next=null,this.entry=null,this.finish=function(){D(z,S)}}var t;j.WritableState=O;var a={deprecate:Ny()},r=ag,i=Bn.Buffer,n=(typeof le<"u"?le:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function s(S){return i.from(S)}function l(S){return i.isBuffer(S)||S instanceof n}var u=rg,o=ng,d=o.getHighWaterMark,c=mn.codes,p=c.ERR_INVALID_ARG_TYPE,m=c.ERR_METHOD_NOT_IMPLEMENTED,h=c.ERR_MULTIPLE_CALLBACK,v=c.ERR_STREAM_CANNOT_PIPE,g=c.ERR_STREAM_DESTROYED,w=c.ERR_STREAM_NULL_VALUES,P=c.ERR_STREAM_WRITE_AFTER_END,b=c.ERR_UNKNOWN_ENCODING,M=u.errorOrDestroy;xr(j,r);function R(){}function O(S,z,N){t=t||jn(),S=S||{},typeof N!="boolean"&&(N=z instanceof t),this.objectMode=!!S.objectMode,N&&(this.objectMode=this.objectMode||!!S.writableObjectMode),this.highWaterMark=d(this,S,"writableHighWaterMark",N),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var B=S.decodeStrings===!1;this.decodeStrings=!B,this.defaultEncoding=S.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(Q){he(z,Q)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=S.emitClose!==!1,this.autoDestroy=!!S.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new e(this)}O.prototype.getBuffer=function(){for(var z=this.bufferedRequest,N=[];z;)N.push(z),z=z.next;return N},function(){try{Object.defineProperty(O.prototype,"buffer",{get:a.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}}();var U;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(U=Function.prototype[Symbol.hasInstance],Object.defineProperty(j,Symbol.hasInstance,{value:function(z){return U.call(this,z)?!0:this!==j?!1:z&&z._writableState instanceof O}})):U=function(z){return z instanceof this};function j(S){t=t||jn();var z=this instanceof t;if(!z&&!U.call(j,this))return new j(S);this._writableState=new O(S,this,z),this.writable=!0,S&&(typeof S.write=="function"&&(this._write=S.write),typeof S.writev=="function"&&(this._writev=S.writev),typeof S.destroy=="function"&&(this._destroy=S.destroy),typeof S.final=="function"&&(this._final=S.final)),r.call(this)}j.prototype.pipe=function(){M(this,new v)};function L(S,z){var N=new P;M(S,N),pe.process.nextTick(z,N)}function ie(S,z,N,B){var Q;return N===null?Q=new w:typeof N!="string"&&!z.objectMode&&(Q=new p("chunk",["string","Buffer"],N)),Q?(M(S,Q),pe.process.nextTick(B,Q),!1):!0}j.prototype.write=function(S,z,N){var B=this._writableState,Q=!1,_=!B.objectMode&&l(S);return _&&!i.isBuffer(S)&&(S=s(S)),typeof z=="function"&&(N=z,z=null),_?z="buffer":z||(z=B.defaultEncoding),typeof N!="function"&&(N=R),B.ending?L(this,N):(_||ie(this,B,S,N))&&(B.pendingcb++,Q=I(this,B,_,S,z,N)),Q},j.prototype.cork=function(){this._writableState.corked++},j.prototype.uncork=function(){var S=this._writableState;S.corked&&(S.corked--,!S.writing&&!S.corked&&!S.bufferProcessing&&S.bufferedRequest&&X(this,S))},j.prototype.setDefaultEncoding=function(z){if(typeof z=="string"&&(z=z.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((z+"").toLowerCase())>-1))throw new b(z);return this._writableState.defaultEncoding=z,this},Object.defineProperty(j.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});function re(S,z,N){return!S.objectMode&&S.decodeStrings!==!1&&typeof z=="string"&&(z=i.from(z,N)),z}Object.defineProperty(j.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function I(S,z,N,B,Q,_){if(!N){var k=re(z,B,Q);B!==k&&(N=!0,Q="buffer",B=k)}var y=z.objectMode?1:B.length;z.length+=y;var E=z.length<z.highWaterMark;if(E||(z.needDrain=!0),z.writing||z.corked){var G=z.lastBufferedRequest;z.lastBufferedRequest={chunk:B,encoding:Q,isBuf:N,callback:_,next:null},G?G.next=z.lastBufferedRequest:z.bufferedRequest=z.lastBufferedRequest,z.bufferedRequestCount+=1}else H(S,z,!1,y,B,Q,_);return E}function H(S,z,N,B,Q,_,k){z.writelen=B,z.writecb=k,z.writing=!0,z.sync=!0,z.destroyed?z.onwrite(new g("write")):N?S._writev(Q,z.onwrite):S._write(Q,_,z.onwrite),z.sync=!1}function se(S,z,N,B,Q){--z.pendingcb,N?(pe.process.nextTick(Q,B),pe.process.nextTick(C,S,z),S._writableState.errorEmitted=!0,M(S,B)):(Q(B),S._writableState.errorEmitted=!0,M(S,B),C(S,z))}function ce(S){S.writing=!1,S.writecb=null,S.length-=S.writelen,S.writelen=0}function he(S,z){var N=S._writableState,B=N.sync,Q=N.writecb;if(typeof Q!="function")throw new h;if(ce(N),z)se(S,N,B,z,Q);else{var _=$(N)||S.destroyed;!_&&!N.corked&&!N.bufferProcessing&&N.bufferedRequest&&X(S,N),B?pe.process.nextTick(_e,S,N,_,Q):_e(S,N,_,Q)}}function _e(S,z,N,B){N||be(S,z),z.pendingcb--,B(),C(S,z)}function be(S,z){z.length===0&&z.needDrain&&(z.needDrain=!1,S.emit("drain"))}function X(S,z){z.bufferProcessing=!0;var N=z.bufferedRequest;if(S._writev&&N&&N.next){var B=z.bufferedRequestCount,Q=new Array(B),_=z.corkedRequestsFree;_.entry=N;for(var k=0,y=!0;N;)Q[k]=N,N.isBuf||(y=!1),N=N.next,k+=1;Q.allBuffers=y,H(S,z,!0,z.length,Q,"",_.finish),z.pendingcb++,z.lastBufferedRequest=null,_.next?(z.corkedRequestsFree=_.next,_.next=null):z.corkedRequestsFree=new e(z),z.bufferedRequestCount=0}else{for(;N;){var E=N.chunk,G=N.encoding,J=N.callback,ne=z.objectMode?1:E.length;if(H(S,z,!1,ne,E,G,J),N=N.next,z.bufferedRequestCount--,z.writing)break}N===null&&(z.lastBufferedRequest=null)}z.bufferedRequest=N,z.bufferProcessing=!1}j.prototype._write=function(S,z,N){N(new m("_write()"))},j.prototype._writev=null,j.prototype.end=function(S,z,N){var B=this._writableState;return typeof S=="function"?(N=S,S=null,z=null):typeof z=="function"&&(N=z,z=null),S!=null&&this.write(S,z),B.corked&&(B.corked=1,this.uncork()),B.ending||T(this,B,N),this},Object.defineProperty(j.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function $(S){return S.ending&&S.length===0&&S.bufferedRequest===null&&!S.finished&&!S.writing}function te(S,z){S._final(function(N){z.pendingcb--,N&&M(S,N),z.prefinished=!0,S.emit("prefinish"),C(S,z)})}function ee(S,z){!z.prefinished&&!z.finalCalled&&(typeof S._final=="function"&&!z.destroyed?(z.pendingcb++,z.finalCalled=!0,pe.process.nextTick(te,S,z)):(z.prefinished=!0,S.emit("prefinish")))}function C(S,z){var N=$(z);if(N&&(ee(S,z),z.pendingcb===0&&(z.finished=!0,S.emit("finish"),z.autoDestroy))){var B=S._readableState;(!B||B.autoDestroy&&B.endEmitted)&&S.destroy()}return N}function T(S,z,N){z.ending=!0,C(S,z),N&&(z.finished?pe.process.nextTick(N):S.once("finish",N)),z.ended=!0,S.writable=!1}function D(S,z,N){var B=S.entry;for(S.entry=null;B;){var Q=B.callback;z.pendingcb--,Q(N),B=B.next}z.corkedRequestsFree.next=S}return Object.defineProperty(j.prototype,"destroyed",{enumerable:!1,get:function(){return this._writableState===void 0?!1:this._writableState.destroyed},set:function(z){this._writableState&&(this._writableState.destroyed=z)}}),j.prototype.destroy=u.destroy,j.prototype._undestroy=u.undestroy,j.prototype._destroy=function(S,z){z(S)},Qd}var Jd,J6;function jn(){if(J6)return Jd;J6=1;var e=Object.keys||function(o){var d=[];for(var c in o)d.push(c);return d};Jd=s;var t=lg(),a=og();xr(s,t);for(var r=e(a.prototype),i=0;i<r.length;i++){var n=r[i];s.prototype[n]||(s.prototype[n]=a.prototype[n])}function s(o){if(!(this instanceof s))return new s(o);t.call(this,o),a.call(this,o),this.allowHalfOpen=!0,o&&(o.readable===!1&&(this.readable=!1),o.writable===!1&&(this.writable=!1),o.allowHalfOpen===!1&&(this.allowHalfOpen=!1,this.once("end",l)))}Object.defineProperty(s.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(s.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(s.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function l(){this._writableState.ended||pe.process.nextTick(u,this)}function u(o){o.end()}return Object.defineProperty(s.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState===void 0||this._writableState===void 0?!1:this._readableState.destroyed&&this._writableState.destroyed},set:function(d){this._readableState===void 0||this._writableState===void 0||(this._readableState.destroyed=d,this._writableState.destroyed=d)}}),Jd}var Y6=mn.codes.ERR_STREAM_PREMATURE_CLOSE;function XA(e){var t=!1;return function(){if(!t){t=!0;for(var a=arguments.length,r=new Array(a),i=0;i<a;i++)r[i]=arguments[i];e.apply(this,r)}}}function eS(){}function tS(e){return e.setHeader&&typeof e.abort=="function"}function sg(e,t,a){if(typeof t=="function")return sg(e,null,t);t||(t={}),a=XA(a||eS);var r=t.readable||t.readable!==!1&&e.readable,i=t.writable||t.writable!==!1&&e.writable,n=function(){e.writable||l()},s=e._writableState&&e._writableState.finished,l=function(){i=!1,s=!0,r||a.call(e)},u=e._readableState&&e._readableState.endEmitted,o=function(){r=!1,u=!0,i||a.call(e)},d=function(h){a.call(e,h)},c=function(){var h;if(r&&!u)return(!e._readableState||!e._readableState.ended)&&(h=new Y6),a.call(e,h);if(i&&!s)return(!e._writableState||!e._writableState.ended)&&(h=new Y6),a.call(e,h)},p=function(){e.req.on("finish",l)};return tS(e)?(e.on("complete",l),e.on("abort",c),e.req?p():e.on("request",p)):i&&!e._writableState&&(e.on("end",n),e.on("close",n)),e.on("end",o),e.on("finish",l),t.error!==!1&&e.on("error",d),e.on("close",c),function(){e.removeListener("complete",l),e.removeListener("abort",c),e.removeListener("request",p),e.req&&e.req.removeListener("finish",l),e.removeListener("end",n),e.removeListener("close",n),e.removeListener("finish",l),e.removeListener("end",o),e.removeListener("error",d),e.removeListener("close",c)}}var Fc=sg,Yd,X6;function aS(){if(X6)return Yd;X6=1;var e;function t(b,M,R){return M=a(M),M in b?Object.defineProperty(b,M,{value:R,enumerable:!0,configurable:!0,writable:!0}):b[M]=R,b}function a(b){var M=r(b,"string");return typeof M=="symbol"?M:String(M)}function r(b,M){if(typeof b!="object"||b===null)return b;var R=b[Symbol.toPrimitive];if(R!==void 0){var O=R.call(b,M);if(typeof O!="object")return O;throw new TypeError("@@toPrimitive must return a primitive value.")}return(M==="string"?String:Number)(b)}var i=Fc,n=Symbol("lastResolve"),s=Symbol("lastReject"),l=Symbol("error"),u=Symbol("ended"),o=Symbol("lastPromise"),d=Symbol("handlePromise"),c=Symbol("stream");function p(b,M){return{value:b,done:M}}function m(b){var M=b[n];if(M!==null){var R=b[c].read();R!==null&&(b[o]=null,b[n]=null,b[s]=null,M(p(R,!1)))}}function h(b){pe.process.nextTick(m,b)}function v(b,M){return function(R,O){b.then(function(){if(M[u]){R(p(void 0,!0));return}M[d](R,O)},O)}}var g=Object.getPrototypeOf(function(){}),w=Object.setPrototypeOf((e={get stream(){return this[c]},next:function(){var M=this,R=this[l];if(R!==null)return Promise.reject(R);if(this[u])return Promise.resolve(p(void 0,!0));if(this[c].destroyed)return new Promise(function(L,ie){pe.process.nextTick(function(){M[l]?ie(M[l]):L(p(void 0,!0))})});var O=this[o],U;if(O)U=new Promise(v(O,this));else{var j=this[c].read();if(j!==null)return Promise.resolve(p(j,!1));U=new Promise(this[d])}return this[o]=U,U}},t(e,Symbol.asyncIterator,function(){return this}),t(e,"return",function(){var M=this;return new Promise(function(R,O){M[c].destroy(null,function(U){if(U){O(U);return}R(p(void 0,!0))})})}),e),g),P=function(M){var R,O=Object.create(w,(R={},t(R,c,{value:M,writable:!0}),t(R,n,{value:null,writable:!0}),t(R,s,{value:null,writable:!0}),t(R,l,{value:null,writable:!0}),t(R,u,{value:M._readableState.endEmitted,writable:!0}),t(R,d,{value:function(j,L){var ie=O[c].read();ie?(O[o]=null,O[n]=null,O[s]=null,j(p(ie,!1))):(O[n]=j,O[s]=L)},writable:!0}),R));return O[o]=null,i(M,function(U){if(U&&U.code!=="ERR_STREAM_PREMATURE_CLOSE"){var j=O[s];j!==null&&(O[o]=null,O[n]=null,O[s]=null,j(U)),O[l]=U;return}var L=O[n];L!==null&&(O[o]=null,O[n]=null,O[s]=null,L(p(void 0,!0))),O[u]=!0}),M.on("readable",h.bind(null,O)),O};return Yd=P,Yd}var Xd,e4;function rS(){return e4||(e4=1,Xd=function(){throw new Error("Readable.from is not available in the browser")}),Xd}var eu,t4;function lg(){if(t4)return eu;t4=1,eu=L;var e;L.ReadableState=j,s5.EventEmitter;var t=function(k,y){return k.listeners(y).length},a=ag,r=Bn.Buffer,i=(typeof le<"u"?le:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function n(_){return r.from(_)}function s(_){return r.isBuffer(_)||_ instanceof i}var l=Sc,u;l&&l.debuglog?u=l.debuglog("stream"):u=function(){};var o=UA(),d=rg,c=ng,p=c.getHighWaterMark,m=mn.codes,h=m.ERR_INVALID_ARG_TYPE,v=m.ERR_STREAM_PUSH_AFTER_EOF,g=m.ERR_METHOD_NOT_IMPLEMENTED,w=m.ERR_STREAM_UNSHIFT_AFTER_END_EVENT,P,b,M;xr(L,a);var R=d.errorOrDestroy,O=["error","close","destroy","pause","resume"];function U(_,k,y){if(typeof _.prependListener=="function")return _.prependListener(k,y);!_._events||!_._events[k]?_.on(k,y):Array.isArray(_._events[k])?_._events[k].unshift(y):_._events[k]=[y,_._events[k]]}function j(_,k,y){e=e||jn(),_=_||{},typeof y!="boolean"&&(y=k instanceof e),this.objectMode=!!_.objectMode,y&&(this.objectMode=this.objectMode||!!_.readableObjectMode),this.highWaterMark=p(this,_,"readableHighWaterMark",y),this.buffer=new o,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=_.emitClose!==!1,this.autoDestroy=!!_.autoDestroy,this.destroyed=!1,this.defaultEncoding=_.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,_.encoding&&(P||(P=L6().StringDecoder),this.decoder=new P(_.encoding),this.encoding=_.encoding)}function L(_){if(e=e||jn(),!(this instanceof L))return new L(_);var k=this instanceof e;this._readableState=new j(_,this,k),this.readable=!0,_&&(typeof _.read=="function"&&(this._read=_.read),typeof _.destroy=="function"&&(this._destroy=_.destroy)),a.call(this)}Object.defineProperty(L.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState===void 0?!1:this._readableState.destroyed},set:function(k){this._readableState&&(this._readableState.destroyed=k)}}),L.prototype.destroy=d.destroy,L.prototype._undestroy=d.undestroy,L.prototype._destroy=function(_,k){k(_)},L.prototype.push=function(_,k){var y=this._readableState,E;return y.objectMode?E=!0:typeof _=="string"&&(k=k||y.defaultEncoding,k!==y.encoding&&(_=r.from(_,k),k=""),E=!0),ie(this,_,k,!1,E)},L.prototype.unshift=function(_){return ie(this,_,null,!0,!1)};function ie(_,k,y,E,G){u("readableAddChunk",k);var J=_._readableState;if(k===null)J.reading=!1,he(_,J);else{var ne;if(G||(ne=I(J,k)),ne)R(_,ne);else if(J.objectMode||k&&k.length>0)if(typeof k!="string"&&!J.objectMode&&Object.getPrototypeOf(k)!==r.prototype&&(k=n(k)),E)J.endEmitted?R(_,new w):re(_,J,k,!0);else if(J.ended)R(_,new v);else{if(J.destroyed)return!1;J.reading=!1,J.decoder&&!y?(k=J.decoder.write(k),J.objectMode||k.length!==0?re(_,J,k,!1):X(_,J)):re(_,J,k,!1)}else E||(J.reading=!1,X(_,J))}return!J.ended&&(J.length<J.highWaterMark||J.length===0)}function re(_,k,y,E){k.flowing&&k.length===0&&!k.sync?(k.awaitDrain=0,_.emit("data",y)):(k.length+=k.objectMode?1:y.length,E?k.buffer.unshift(y):k.buffer.push(y),k.needReadable&&_e(_)),X(_,k)}function I(_,k){var y;return!s(k)&&typeof k!="string"&&k!==void 0&&!_.objectMode&&(y=new h("chunk",["string","Buffer","Uint8Array"],k)),y}L.prototype.isPaused=function(){return this._readableState.flowing===!1},L.prototype.setEncoding=function(_){P||(P=L6().StringDecoder);var k=new P(_);this._readableState.decoder=k,this._readableState.encoding=this._readableState.decoder.encoding;for(var y=this._readableState.buffer.head,E="";y!==null;)E+=k.write(y.data),y=y.next;return this._readableState.buffer.clear(),E!==""&&this._readableState.buffer.push(E),this._readableState.length=E.length,this};var H=1073741824;function se(_){return _>=H?_=H:(_--,_|=_>>>1,_|=_>>>2,_|=_>>>4,_|=_>>>8,_|=_>>>16,_++),_}function ce(_,k){return _<=0||k.length===0&&k.ended?0:k.objectMode?1:_!==_?k.flowing&&k.length?k.buffer.head.data.length:k.length:(_>k.highWaterMark&&(k.highWaterMark=se(_)),_<=k.length?_:k.ended?k.length:(k.needReadable=!0,0))}L.prototype.read=function(_){u("read",_),_=parseInt(_,10);var k=this._readableState,y=_;if(_!==0&&(k.emittedReadable=!1),_===0&&k.needReadable&&((k.highWaterMark!==0?k.length>=k.highWaterMark:k.length>0)||k.ended))return u("read: emitReadable",k.length,k.ended),k.length===0&&k.ended?N(this):_e(this),null;if(_=ce(_,k),_===0&&k.ended)return k.length===0&&N(this),null;var E=k.needReadable;u("need readable",E),(k.length===0||k.length-_<k.highWaterMark)&&(E=!0,u("length less than watermark",E)),k.ended||k.reading?(E=!1,u("reading or ended",E)):E&&(u("do read"),k.reading=!0,k.sync=!0,k.length===0&&(k.needReadable=!0),this._read(k.highWaterMark),k.sync=!1,k.reading||(_=ce(y,k)));var G;return _>0?G=z(_,k):G=null,G===null?(k.needReadable=k.length<=k.highWaterMark,_=0):(k.length-=_,k.awaitDrain=0),k.length===0&&(k.ended||(k.needReadable=!0),y!==_&&k.ended&&N(this)),G!==null&&this.emit("data",G),G};function he(_,k){if(u("onEofChunk"),!k.ended){if(k.decoder){var y=k.decoder.end();y&&y.length&&(k.buffer.push(y),k.length+=k.objectMode?1:y.length)}k.ended=!0,k.sync?_e(_):(k.needReadable=!1,k.emittedReadable||(k.emittedReadable=!0,be(_)))}}function _e(_){var k=_._readableState;u("emitReadable",k.needReadable,k.emittedReadable),k.needReadable=!1,k.emittedReadable||(u("emitReadable",k.flowing),k.emittedReadable=!0,pe.process.nextTick(be,_))}function be(_){var k=_._readableState;u("emitReadable_",k.destroyed,k.length,k.ended),!k.destroyed&&(k.length||k.ended)&&(_.emit("readable"),k.emittedReadable=!1),k.needReadable=!k.flowing&&!k.ended&&k.length<=k.highWaterMark,S(_)}function X(_,k){k.readingMore||(k.readingMore=!0,pe.process.nextTick($,_,k))}function $(_,k){for(;!k.reading&&!k.ended&&(k.length<k.highWaterMark||k.flowing&&k.length===0);){var y=k.length;if(u("maybeReadMore read 0"),_.read(0),y===k.length)break}k.readingMore=!1}L.prototype._read=function(_){R(this,new g("_read()"))},L.prototype.pipe=function(_,k){var y=this,E=this._readableState;switch(E.pipesCount){case 0:E.pipes=_;break;case 1:E.pipes=[E.pipes,_];break;default:E.pipes.push(_);break}E.pipesCount+=1,u("pipe count=%d opts=%j",E.pipesCount,k);var G=(!k||k.end!==!1)&&_!==pe.process.stdout&&_!==pe.process.stderr,J=G?ye:ae;E.endEmitted?pe.process.nextTick(J):y.once("end",J),_.on("unpipe",ne);function ne(fe,ge){u("onunpipe"),fe===y&&ge&&ge.hasUnpiped===!1&&(ge.hasUnpiped=!0,Re())}function ye(){u("onend"),_.end()}var Y=te(y);_.on("drain",Y);var it=!1;function Re(){u("cleanup"),_.removeListener("close",A),_.removeListener("finish",K),_.removeListener("drain",Y),_.removeListener("error",ue),_.removeListener("unpipe",ne),y.removeListener("end",ye),y.removeListener("end",ae),y.removeListener("data",q),it=!0,E.awaitDrain&&(!_._writableState||_._writableState.needDrain)&&Y()}y.on("data",q);function q(fe){u("ondata");var ge=_.write(fe);u("dest.write",ge),ge===!1&&((E.pipesCount===1&&E.pipes===_||E.pipesCount>1&&Q(E.pipes,_)!==-1)&&!it&&(u("false write response, pause",E.awaitDrain),E.awaitDrain++),y.pause())}function ue(fe){u("onerror",fe),ae(),_.removeListener("error",ue),t(_,"error")===0&&R(_,fe)}U(_,"error",ue);function A(){_.removeListener("finish",K),ae()}_.once("close",A);function K(){u("onfinish"),_.removeListener("close",A),ae()}_.once("finish",K);function ae(){u("unpipe"),y.unpipe(_)}return _.emit("pipe",y),E.flowing||(u("pipe resume"),y.resume()),_};function te(_){return function(){var y=_._readableState;u("pipeOnDrain",y.awaitDrain),y.awaitDrain&&y.awaitDrain--,y.awaitDrain===0&&t(_,"data")&&(y.flowing=!0,S(_))}}L.prototype.unpipe=function(_){var k=this._readableState,y={hasUnpiped:!1};if(k.pipesCount===0)return this;if(k.pipesCount===1)return _&&_!==k.pipes?this:(_||(_=k.pipes),k.pipes=null,k.pipesCount=0,k.flowing=!1,_&&_.emit("unpipe",this,y),this);if(!_){var E=k.pipes,G=k.pipesCount;k.pipes=null,k.pipesCount=0,k.flowing=!1;for(var J=0;J<G;J++)E[J].emit("unpipe",this,{hasUnpiped:!1});return this}var ne=Q(k.pipes,_);return ne===-1?this:(k.pipes.splice(ne,1),k.pipesCount-=1,k.pipesCount===1&&(k.pipes=k.pipes[0]),_.emit("unpipe",this,y),this)},L.prototype.on=function(_,k){var y=a.prototype.on.call(this,_,k),E=this._readableState;return _==="data"?(E.readableListening=this.listenerCount("readable")>0,E.flowing!==!1&&this.resume()):_==="readable"&&!E.endEmitted&&!E.readableListening&&(E.readableListening=E.needReadable=!0,E.flowing=!1,E.emittedReadable=!1,u("on readable",E.length,E.reading),E.length?_e(this):E.reading||pe.process.nextTick(C,this)),y},L.prototype.addListener=L.prototype.on,L.prototype.removeListener=function(_,k){var y=a.prototype.removeListener.call(this,_,k);return _==="readable"&&pe.process.nextTick(ee,this),y},L.prototype.removeAllListeners=function(_){var k=a.prototype.removeAllListeners.apply(this,arguments);return(_==="readable"||_===void 0)&&pe.process.nextTick(ee,this),k};function ee(_){var k=_._readableState;k.readableListening=_.listenerCount("readable")>0,k.resumeScheduled&&!k.paused?k.flowing=!0:_.listenerCount("data")>0&&_.resume()}function C(_){u("readable nexttick read 0"),_.read(0)}L.prototype.resume=function(){var _=this._readableState;return _.flowing||(u("resume"),_.flowing=!_.readableListening,T(this,_)),_.paused=!1,this};function T(_,k){k.resumeScheduled||(k.resumeScheduled=!0,pe.process.nextTick(D,_,k))}function D(_,k){u("resume",k.reading),k.reading||_.read(0),k.resumeScheduled=!1,_.emit("resume"),S(_),k.flowing&&!k.reading&&_.read(0)}L.prototype.pause=function(){return u("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(u("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this};function S(_){var k=_._readableState;for(u("flow",k.flowing);k.flowing&&_.read()!==null;);}L.prototype.wrap=function(_){var k=this,y=this._readableState,E=!1;_.on("end",function(){if(u("wrapped end"),y.decoder&&!y.ended){var ne=y.decoder.end();ne&&ne.length&&k.push(ne)}k.push(null)}),_.on("data",function(ne){if(u("wrapped data"),y.decoder&&(ne=y.decoder.write(ne)),!(y.objectMode&&ne==null)&&!(!y.objectMode&&(!ne||!ne.length))){var ye=k.push(ne);ye||(E=!0,_.pause())}});for(var G in _)this[G]===void 0&&typeof _[G]=="function"&&(this[G]=function(ye){return function(){return _[ye].apply(_,arguments)}}(G));for(var J=0;J<O.length;J++)_.on(O[J],this.emit.bind(this,O[J]));return this._read=function(ne){u("wrapped _read",ne),E&&(E=!1,_.resume())},this},typeof Symbol=="function"&&(L.prototype[Symbol.asyncIterator]=function(){return b===void 0&&(b=aS()),b(this)}),Object.defineProperty(L.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(L.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(L.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(k){this._readableState&&(this._readableState.flowing=k)}}),L._fromList=z,Object.defineProperty(L.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}});function z(_,k){if(k.length===0)return null;var y;return k.objectMode?y=k.buffer.shift():!_||_>=k.length?(k.decoder?y=k.buffer.join(""):k.buffer.length===1?y=k.buffer.first():y=k.buffer.concat(k.length),k.buffer.clear()):y=k.buffer.consume(_,k.decoder),y}function N(_){var k=_._readableState;u("endReadable",k.endEmitted),k.endEmitted||(k.ended=!0,pe.process.nextTick(B,k,_))}function B(_,k){if(u("endReadableNT",_.endEmitted,_.length),!_.endEmitted&&_.length===0&&(_.endEmitted=!0,k.readable=!1,k.emit("end"),_.autoDestroy)){var y=k._writableState;(!y||y.autoDestroy&&y.finished)&&k.destroy()}}typeof Symbol=="function"&&(L.from=function(_,k){return M===void 0&&(M=rS()),M(L,_,k)});function Q(_,k){for(var y=0,E=_.length;y<E;y++)if(_[y]===k)return y;return-1}return eu}var dg=Ka,rd=mn.codes,iS=rd.ERR_METHOD_NOT_IMPLEMENTED,nS=rd.ERR_MULTIPLE_CALLBACK,oS=rd.ERR_TRANSFORM_ALREADY_TRANSFORMING,sS=rd.ERR_TRANSFORM_WITH_LENGTH_0,id=jn();xr(Ka,id);function lS(e,t){var a=this._transformState;a.transforming=!1;var r=a.writecb;if(r===null)return this.emit("error",new nS);a.writechunk=null,a.writecb=null,t!=null&&this.push(t),r(e);var i=this._readableState;i.reading=!1,(i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}function Ka(e){if(!(this instanceof Ka))return new Ka(e);id.call(this,e),this._transformState={afterTransform:lS.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,e&&(typeof e.transform=="function"&&(this._transform=e.transform),typeof e.flush=="function"&&(this._flush=e.flush)),this.on("prefinish",dS)}function dS(){var e=this;typeof this._flush=="function"&&!this._readableState.destroyed?this._flush(function(t,a){a4(e,t,a)}):a4(this,null,null)}Ka.prototype.push=function(e,t){return this._transformState.needTransform=!1,id.prototype.push.call(this,e,t)};Ka.prototype._transform=function(e,t,a){a(new iS("_transform()"))};Ka.prototype._write=function(e,t,a){var r=this._transformState;if(r.writecb=a,r.writechunk=e,r.writeencoding=t,!r.transforming){var i=this._readableState;(r.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}};Ka.prototype._read=function(e){var t=this._transformState;t.writechunk!==null&&!t.transforming?(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform)):t.needTransform=!0};Ka.prototype._destroy=function(e,t){id.prototype._destroy.call(this,e,function(a){t(a)})};function a4(e,t,a){if(t)return e.emit("error",t);if(a!=null&&e.push(a),e._writableState.length)throw new sS;if(e._transformState.transforming)throw new oS;return e.push(null)}var uS=o1,ug=dg;xr(o1,ug);function o1(e){if(!(this instanceof o1))return new o1(e);ug.call(this,e)}o1.prototype._transform=function(e,t,a){a(null,e)};var tu;function pS(e){var t=!1;return function(){t||(t=!0,e.apply(void 0,arguments))}}var pg=mn.codes,cS=pg.ERR_MISSING_ARGS,mS=pg.ERR_STREAM_DESTROYED;function r4(e){if(e)throw e}function fS(e){return e.setHeader&&typeof e.abort=="function"}function gS(e,t,a,r){r=pS(r);var i=!1;e.on("close",function(){i=!0}),tu===void 0&&(tu=Fc),tu(e,{readable:t,writable:a},function(s){if(s)return r(s);i=!0,r()});var n=!1;return function(s){if(!i&&!n){if(n=!0,fS(e))return e.abort();if(typeof e.destroy=="function")return e.destroy();r(s||new mS("pipe"))}}}function i4(e){e()}function vS(e,t){return e.pipe(t)}function hS(e){return!e.length||typeof e[e.length-1]!="function"?r4:e.pop()}function yS(){for(var e=arguments.length,t=new Array(e),a=0;a<e;a++)t[a]=arguments[a];var r=hS(t);if(Array.isArray(t[0])&&(t=t[0]),t.length<2)throw new cS("streams");var i,n=t.map(function(s,l){var u=l<t.length-1,o=l>0;return gS(s,u,o,function(d){i||(i=d),d&&n.forEach(i4),!u&&(n.forEach(i4),r(i))})});return t.reduce(vS)}var bS=yS;(function(e,t){t=e.exports=lg(),t.Stream=t,t.Readable=t,t.Writable=og(),t.Duplex=jn(),t.Transform=dg,t.PassThrough=uS,t.finished=Fc,t.pipeline=bS})(qp,qp.exports);var cg=qp.exports,n4=Wc,AS=xr,mg=cg,I1=ad.readyStates={UNSENT:0,OPENED:1,HEADERS_RECEIVED:2,LOADING:3,DONE:4},Bc=ad.IncomingMessage=function(e,t,a,r){var i=this;if(mg.Readable.call(i),i._mode=a,i.headers={},i.rawHeaders=[],i.trailers={},i.rawTrailers=[],i.on("end",function(){pe.process.nextTick(function(){i.emit("close")})}),a==="fetch"){let d=function(){s.read().then(function(c){if(!i._destroyed){if(r(c.done),c.done){i.push(null);return}i.push(pe.Buffer.from(c.value)),d()}}).catch(function(c){r(!0),i._destroyed||i.emit("error",c)})};if(i._fetchResponse=t,i.url=t.url,i.statusCode=t.status,i.statusMessage=t.statusText,t.headers.forEach(function(c,p){i.headers[p.toLowerCase()]=c,i.rawHeaders.push(p,c)}),n4.writableStream){var n=new WritableStream({write:function(c){return r(!1),new Promise(function(p,m){i._destroyed?m():i.push(pe.Buffer.from(c))?p():i._resumeFetch=p})},close:function(){r(!0),i._destroyed||i.push(null)},abort:function(c){r(!0),i._destroyed||i.emit("error",c)}});try{t.body.pipeTo(n).catch(function(c){r(!0),i._destroyed||i.emit("error",c)});return}catch{}}var s=t.body.getReader();d()}else{i._xhr=e,i._pos=0,i.url=e.responseURL,i.statusCode=e.status,i.statusMessage=e.statusText;var l=e.getAllResponseHeaders().split(/\r?\n/);if(l.forEach(function(d){var c=d.match(/^([^:]+):\s*(.*)/);if(c){var p=c[1].toLowerCase();p==="set-cookie"?(i.headers[p]===void 0&&(i.headers[p]=[]),i.headers[p].push(c[2])):i.headers[p]!==void 0?i.headers[p]+=", "+c[2]:i.headers[p]=c[2],i.rawHeaders.push(c[1],c[2])}}),i._charset="x-user-defined",!n4.overrideMimeType){var u=i.rawHeaders["mime-type"];if(u){var o=u.match(/;\s*charset=([^;])(;|$)/);o&&(i._charset=o[1].toLowerCase())}i._charset||(i._charset="utf-8")}}};AS(Bc,mg.Readable);Bc.prototype._read=function(){var e=this,t=e._resumeFetch;t&&(e._resumeFetch=null,t())};Bc.prototype._onXHRProgress=function(e){var t=this,a=t._xhr,r=null;switch(t._mode){case"text":if(r=a.responseText,r.length>t._pos){var i=r.substr(t._pos);if(t._charset==="x-user-defined"){for(var n=pe.Buffer.alloc(i.length),s=0;s<i.length;s++)n[s]=i.charCodeAt(s)&255;t.push(n)}else t.push(i,t._charset);t._pos=r.length}break;case"arraybuffer":if(a.readyState!==I1.DONE||!a.response)break;r=a.response,t.push(pe.Buffer.from(new Uint8Array(r)));break;case"moz-chunked-arraybuffer":if(r=a.response,a.readyState!==I1.LOADING||!r)break;t.push(pe.Buffer.from(new Uint8Array(r)));break;case"ms-stream":if(r=a.response,a.readyState!==I1.LOADING)break;var l=new le.MSStreamReader;l.onprogress=function(){l.result.byteLength>t._pos&&(t.push(pe.Buffer.from(new Uint8Array(l.result.slice(t._pos)))),t._pos=l.result.byteLength)},l.onload=function(){e(!0),t.push(null)},l.readAsArrayBuffer(r);break}t._xhr.readyState===I1.DONE&&t._mode!=="ms-stream"&&(e(!0),t.push(null))};var en=Wc,SS=xr,fg=ad,Kc=cg,_S=fg.IncomingMessage,o4=fg.readyStates;function wS(e,t){return en.fetch&&t?"fetch":en.mozchunkedarraybuffer?"moz-chunked-arraybuffer":en.msstream?"ms-stream":en.arraybuffer&&e?"arraybuffer":"text"}var zt=tg.exports=function(e){var t=this;Kc.Writable.call(t),t._opts=e,t._body=[],t._headers={},e.auth&&t.setHeader("Authorization","Basic "+pe.Buffer.from(e.auth).toString("base64")),Object.keys(e.headers).forEach(function(i){t.setHeader(i,e.headers[i])});var a,r=!0;if(e.mode==="disable-fetch"||"requestTimeout"in e&&!en.abortController)r=!1,a=!0;else if(e.mode==="prefer-streaming")a=!1;else if(e.mode==="allow-wrong-content-type")a=!en.overrideMimeType;else if(!e.mode||e.mode==="default"||e.mode==="prefer-fast")a=!0;else throw new Error("Invalid value for opts.mode");t._mode=wS(a,r),t._fetchTimer=null,t._socketTimeout=null,t._socketTimer=null,t.on("finish",function(){t._onFinish()})};SS(zt,Kc.Writable);zt.prototype.setHeader=function(e,t){var a=this,r=e.toLowerCase();ES.indexOf(r)===-1&&(a._headers[r]={name:e,value:t})};zt.prototype.getHeader=function(e){var t=this._headers[e.toLowerCase()];return t?t.value:null};zt.prototype.removeHeader=function(e){var t=this;delete t._headers[e.toLowerCase()]};zt.prototype._onFinish=function(){var e=this;if(!e._destroyed){var t=e._opts;"timeout"in t&&t.timeout!==0&&e.setTimeout(t.timeout);var a=e._headers,r=null;t.method!=="GET"&&t.method!=="HEAD"&&(r=new Blob(e._body,{type:(a["content-type"]||{}).value||""}));var i=[];if(Object.keys(a).forEach(function(u){var o=a[u].name,d=a[u].value;Array.isArray(d)?d.forEach(function(c){i.push([o,c])}):i.push([o,d])}),e._mode==="fetch"){var n=null;if(en.abortController){var s=new AbortController;n=s.signal,e._fetchAbortController=s,"requestTimeout"in t&&t.requestTimeout!==0&&(e._fetchTimer=le.setTimeout(function(){e.emit("requestTimeout"),e._fetchAbortController&&e._fetchAbortController.abort()},t.requestTimeout))}le.fetch(e._opts.url,{method:e._opts.method,headers:i,body:r||void 0,mode:"cors",credentials:t.withCredentials?"include":"same-origin",signal:n}).then(function(u){e._fetchResponse=u,e._resetTimers(!1),e._connect()},function(u){e._resetTimers(!0),e._destroyed||e.emit("error",u)})}else{var l=e._xhr=new le.XMLHttpRequest;try{l.open(e._opts.method,e._opts.url,!0)}catch(u){pe.process.nextTick(function(){e.emit("error",u)});return}"responseType"in l&&(l.responseType=e._mode),"withCredentials"in l&&(l.withCredentials=!!t.withCredentials),e._mode==="text"&&"overrideMimeType"in l&&l.overrideMimeType("text/plain; charset=x-user-defined"),"requestTimeout"in t&&(l.timeout=t.requestTimeout,l.ontimeout=function(){e.emit("requestTimeout")}),i.forEach(function(u){l.setRequestHeader(u[0],u[1])}),e._response=null,l.onreadystatechange=function(){switch(l.readyState){case o4.LOADING:case o4.DONE:e._onXHRProgress();break}},e._mode==="moz-chunked-arraybuffer"&&(l.onprogress=function(){e._onXHRProgress()}),l.onerror=function(){e._destroyed||(e._resetTimers(!0),e.emit("error",new Error("XHR error")))};try{l.send(r)}catch(u){pe.process.nextTick(function(){e.emit("error",u)});return}}}};function PS(e){try{var t=e.status;return t!==null&&t!==0}catch{return!1}}zt.prototype._onXHRProgress=function(){var e=this;e._resetTimers(!1),!(!PS(e._xhr)||e._destroyed)&&(e._response||e._connect(),e._response._onXHRProgress(e._resetTimers.bind(e)))};zt.prototype._connect=function(){var e=this;e._destroyed||(e._response=new _S(e._xhr,e._fetchResponse,e._mode,e._resetTimers.bind(e)),e._response.on("error",function(t){e.emit("error",t)}),e.emit("response",e._response))};zt.prototype._write=function(e,t,a){var r=this;r._body.push(e),a()};zt.prototype._resetTimers=function(e){var t=this;le.clearTimeout(t._socketTimer),t._socketTimer=null,e?(le.clearTimeout(t._fetchTimer),t._fetchTimer=null):t._socketTimeout&&(t._socketTimer=le.setTimeout(function(){t.emit("timeout")},t._socketTimeout))};zt.prototype.abort=zt.prototype.destroy=function(e){var t=this;t._destroyed=!0,t._resetTimers(!0),t._response&&(t._response._destroyed=!0),t._xhr?t._xhr.abort():t._fetchAbortController&&t._fetchAbortController.abort(),e&&t.emit("error",e)};zt.prototype.end=function(e,t,a){var r=this;typeof e=="function"&&(a=e,e=void 0),Kc.Writable.prototype.end.call(r,e,t,a)};zt.prototype.setTimeout=function(e,t){var a=this;t&&a.once("timeout",t),a._socketTimeout=e,a._resetTimers(!1)};zt.prototype.flushHeaders=function(){};zt.prototype.setNoDelay=function(){};zt.prototype.setSocketKeepAlive=function(){};var ES=["accept-charset","accept-encoding","access-control-request-headers","access-control-request-method","connection","content-length","cookie","cookie2","date","dnt","expect","host","keep-alive","origin","referer","te","trailer","transfer-encoding","upgrade","via"],kS=tg.exports,TS=DS,zS=Object.prototype.hasOwnProperty;function DS(){for(var e={},t=0;t<arguments.length;t++){var a=arguments[t];for(var r in a)zS.call(a,r)&&(e[r]=a[r])}return e}var MS={100:"Continue",101:"Switching Protocols",102:"Processing",200:"OK",201:"Created",202:"Accepted",203:"Non-Authoritative Information",204:"No Content",205:"Reset Content",206:"Partial Content",207:"Multi-Status",208:"Already Reported",226:"IM Used",300:"Multiple Choices",301:"Moved Permanently",302:"Found",303:"See Other",304:"Not Modified",305:"Use Proxy",307:"Temporary Redirect",308:"Permanent Redirect",400:"Bad Request",401:"Unauthorized",402:"Payment Required",403:"Forbidden",404:"Not Found",405:"Method Not Allowed",406:"Not Acceptable",407:"Proxy Authentication Required",408:"Request Timeout",409:"Conflict",410:"Gone",411:"Length Required",412:"Precondition Failed",413:"Payload Too Large",414:"URI Too Long",415:"Unsupported Media Type",416:"Range Not Satisfiable",417:"Expectation Failed",418:"I'm a teapot",421:"Misdirected Request",422:"Unprocessable Entity",423:"Locked",424:"Failed Dependency",425:"Unordered Collection",426:"Upgrade Required",428:"Precondition Required",429:"Too Many Requests",431:"Request Header Fields Too Large",451:"Unavailable For Legal Reasons",500:"Internal Server Error",501:"Not Implemented",502:"Bad Gateway",503:"Service Unavailable",504:"Gateway Timeout",505:"HTTP Version Not Supported",506:"Variant Also Negotiates",507:"Insufficient Storage",508:"Loop Detected",509:"Bandwidth Limit Exceeded",510:"Not Extended",511:"Network Authentication Required"},Hp={exports:{}},Ml={exports:{}};/*! https://mths.be/punycode v1.4.1 by @mathias */Ml.exports;(function(e,t){(function(a){var r=t&&!t.nodeType&&t,i=e&&!e.nodeType&&e,n=typeof le=="object"&&le;(n.global===n||n.window===n||n.self===n)&&(a=n);var s,l=2147483647,u=36,o=1,d=26,c=38,p=700,m=72,h=128,v="-",g=/^xn--/,w=/[^\x20-\x7E]/,P=/[\x2E\u3002\uFF0E\uFF61]/g,b={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},M=u-o,R=Math.floor,O=String.fromCharCode,U;function j($){throw new RangeError(b[$])}function L($,te){for(var ee=$.length,C=[];ee--;)C[ee]=te($[ee]);return C}function ie($,te){var ee=$.split("@"),C="";ee.length>1&&(C=ee[0]+"@",$=ee[1]),$=$.replace(P,".");var T=$.split("."),D=L(T,te).join(".");return C+D}function re($){for(var te=[],ee=0,C=$.length,T,D;ee<C;)T=$.charCodeAt(ee++),T>=55296&&T<=56319&&ee<C?(D=$.charCodeAt(ee++),(D&64512)==56320?te.push(((T&1023)<<10)+(D&1023)+65536):(te.push(T),ee--)):te.push(T);return te}function I($){return L($,function(te){var ee="";return te>65535&&(te-=65536,ee+=O(te>>>10&1023|55296),te=56320|te&1023),ee+=O(te),ee}).join("")}function H($){return $-48<10?$-22:$-65<26?$-65:$-97<26?$-97:u}function se($,te){return $+22+75*($<26)-((te!=0)<<5)}function ce($,te,ee){var C=0;for($=ee?R($/p):$>>1,$+=R($/te);$>M*d>>1;C+=u)$=R($/M);return R(C+(M+1)*$/($+c))}function he($){var te=[],ee=$.length,C,T=0,D=h,S=m,z,N,B,Q,_,k,y,E,G;for(z=$.lastIndexOf(v),z<0&&(z=0),N=0;N<z;++N)$.charCodeAt(N)>=128&&j("not-basic"),te.push($.charCodeAt(N));for(B=z>0?z+1:0;B<ee;){for(Q=T,_=1,k=u;B>=ee&&j("invalid-input"),y=H($.charCodeAt(B++)),(y>=u||y>R((l-T)/_))&&j("overflow"),T+=y*_,E=k<=S?o:k>=S+d?d:k-S,!(y<E);k+=u)G=u-E,_>R(l/G)&&j("overflow"),_*=G;C=te.length+1,S=ce(T-Q,C,Q==0),R(T/C)>l-D&&j("overflow"),D+=R(T/C),T%=C,te.splice(T++,0,D)}return I(te)}function _e($){var te,ee,C,T,D,S,z,N,B,Q,_,k=[],y,E,G,J;for($=re($),y=$.length,te=h,ee=0,D=m,S=0;S<y;++S)_=$[S],_<128&&k.push(O(_));for(C=T=k.length,T&&k.push(v);C<y;){for(z=l,S=0;S<y;++S)_=$[S],_>=te&&_<z&&(z=_);for(E=C+1,z-te>R((l-ee)/E)&&j("overflow"),ee+=(z-te)*E,te=z,S=0;S<y;++S)if(_=$[S],_<te&&++ee>l&&j("overflow"),_==te){for(N=ee,B=u;Q=B<=D?o:B>=D+d?d:B-D,!(N<Q);B+=u)J=N-Q,G=u-Q,k.push(O(se(Q+J%G,0))),N=R(J/G);k.push(O(se(N,0))),D=ce(ee,E,C==T),ee=0,++C}++ee,++te}return k.join("")}function be($){return ie($,function(te){return g.test(te)?he(te.slice(4).toLowerCase()):te})}function X($){return ie($,function(te){return w.test(te)?"xn--"+_e(te):te})}if(s={version:"1.4.1",ucs2:{decode:re,encode:I},decode:he,encode:_e,toASCII:X,toUnicode:be},r&&i)if(e.exports==r)i.exports=s;else for(U in s)s.hasOwnProperty(U)&&(r[U]=s[U]);else a.punycode=s})(le)})(Ml,Ml.exports);var Uc=Ml.exports,ja=TypeError,jc=typeof Map=="function"&&Map.prototype,au=Object.getOwnPropertyDescriptor&&jc?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,xl=jc&&au&&typeof au.get=="function"?au.get:null,s4=jc&&Map.prototype.forEach,$c=typeof Set=="function"&&Set.prototype,ru=Object.getOwnPropertyDescriptor&&$c?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,Il=$c&&ru&&typeof ru.get=="function"?ru.get:null,l4=$c&&Set.prototype.forEach,xS=typeof WeakMap=="function"&&WeakMap.prototype,Gs=xS?WeakMap.prototype.has:null,IS=typeof WeakSet=="function"&&WeakSet.prototype,Qs=IS?WeakSet.prototype.has:null,RS=typeof WeakRef=="function"&&WeakRef.prototype,d4=RS?WeakRef.prototype.deref:null,CS=Boolean.prototype.valueOf,OS=Object.prototype.toString,NS=Function.prototype.toString,VS=String.prototype.match,Lc=String.prototype.slice,ar=String.prototype.replace,WS=String.prototype.toUpperCase,u4=String.prototype.toLowerCase,gg=RegExp.prototype.test,p4=Array.prototype.concat,ca=Array.prototype.join,FS=Array.prototype.slice,c4=Math.floor,Gp=typeof BigInt=="function"?BigInt.prototype.valueOf:null,iu=Object.getOwnPropertySymbols,Qp=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,$n=typeof Symbol=="function"&&typeof Symbol.iterator=="object",Js=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===$n||!0)?Symbol.toStringTag:null,vg=Object.prototype.propertyIsEnumerable,m4=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function f4(e,t){if(e===1/0||e===-1/0||e!==e||e&&e>-1e3&&e<1e3||gg.call(/e/,t))return t;var a=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof e=="number"){var r=e<0?-c4(-e):c4(e);if(r!==e){var i=String(r),n=Lc.call(t,i.length+1);return ar.call(i,a,"$&_")+"."+ar.call(ar.call(n,/([0-9]{3})/g,"$&_"),/_$/,"")}}return ar.call(t,a,"$&_")}var Jp=Sc,g4=Jp.custom,v4=bg(g4)?g4:null,hg={__proto__:null,double:'"',single:"'"},BS={__proto__:null,double:/(["\\])/g,single:/(['\\])/g},nd=function e(t,a,r,i){var n=a||{};if(Ca(n,"quoteStyle")&&!Ca(hg,n.quoteStyle))throw new TypeError('option "quoteStyle" must be "single" or "double"');if(Ca(n,"maxStringLength")&&(typeof n.maxStringLength=="number"?n.maxStringLength<0&&n.maxStringLength!==1/0:n.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var s=Ca(n,"customInspect")?n.customInspect:!0;if(typeof s!="boolean"&&s!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(Ca(n,"indent")&&n.indent!==null&&n.indent!==" "&&!(parseInt(n.indent,10)===n.indent&&n.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(Ca(n,"numericSeparator")&&typeof n.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var l=n.numericSeparator;if(typeof t>"u")return"undefined";if(t===null)return"null";if(typeof t=="boolean")return t?"true":"false";if(typeof t=="string")return Sg(t,n);if(typeof t=="number"){if(t===0)return 1/0/t>0?"0":"-0";var u=String(t);return l?f4(t,u):u}if(typeof t=="bigint"){var o=String(t)+"n";return l?f4(t,o):o}var d=typeof n.depth>"u"?5:n.depth;if(typeof r>"u"&&(r=0),r>=d&&d>0&&typeof t=="object")return Yp(t)?"[Array]":"[Object]";var c=i_(n,r);if(typeof i>"u")i=[];else if(Ag(i,t)>=0)return"[Circular]";function p(H,se,ce){if(se&&(i=FS.call(i),i.push(se)),ce){var he={depth:n.depth};return Ca(n,"quoteStyle")&&(he.quoteStyle=n.quoteStyle),e(H,he,r+1,i)}return e(H,n,r+1,i)}if(typeof t=="function"&&!h4(t)){var m=GS(t),h=R1(t,p);return"[Function"+(m?": "+m:" (anonymous)")+"]"+(h.length>0?" { "+ca.call(h,", ")+" }":"")}if(bg(t)){var v=$n?ar.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):Qp.call(t);return typeof t=="object"&&!$n?ks(v):v}if(t_(t)){for(var g="<"+u4.call(String(t.nodeName)),w=t.attributes||[],P=0;P<w.length;P++)g+=" "+w[P].name+"="+yg(KS(w[P].value),"double",n);return g+=">",t.childNodes&&t.childNodes.length&&(g+="..."),g+="</"+u4.call(String(t.nodeName))+">",g}if(Yp(t)){if(t.length===0)return"[]";var b=R1(t,p);return c&&!r_(b)?"["+Xp(b,c)+"]":"[ "+ca.call(b,", ")+" ]"}if(jS(t)){var M=R1(t,p);return!("cause"in Error.prototype)&&"cause"in t&&!vg.call(t,"cause")?"{ ["+String(t)+"] "+ca.call(p4.call("[cause]: "+p(t.cause),M),", ")+" }":M.length===0?"["+String(t)+"]":"{ ["+String(t)+"] "+ca.call(M,", ")+" }"}if(typeof t=="object"&&s){if(v4&&typeof t[v4]=="function"&&Jp)return Jp(t,{depth:d-r});if(s!=="symbol"&&typeof t.inspect=="function")return t.inspect()}if(QS(t)){var R=[];return s4&&s4.call(t,function(H,se){R.push(p(se,t,!0)+" => "+p(H,t))}),y4("Map",xl.call(t),R,c)}if(XS(t)){var O=[];return l4&&l4.call(t,function(H){O.push(p(H,t))}),y4("Set",Il.call(t),O,c)}if(JS(t))return nu("WeakMap");if(e_(t))return nu("WeakSet");if(YS(t))return nu("WeakRef");if(LS(t))return ks(p(Number(t)));if(ZS(t))return ks(p(Gp.call(t)));if(qS(t))return ks(CS.call(t));if($S(t))return ks(p(String(t)));if(typeof window<"u"&&t===window)return"{ [object Window] }";if(typeof globalThis<"u"&&t===globalThis||typeof le<"u"&&t===le)return"{ [object globalThis] }";if(!US(t)&&!h4(t)){var U=R1(t,p),j=m4?m4(t)===Object.prototype:t instanceof Object||t.constructor===Object,L=t instanceof Object?"":"null prototype",ie=!j&&Js&&Object(t)===t&&Js in t?Lc.call(Rr(t),8,-1):L?"Object":"",re=j||typeof t.constructor!="function"?"":t.constructor.name?t.constructor.name+" ":"",I=re+(ie||L?"["+ca.call(p4.call([],ie||[],L||[]),": ")+"] ":"");return U.length===0?I+"{}":c?I+"{"+Xp(U,c)+"}":I+"{ "+ca.call(U,", ")+" }"}return String(t)};function yg(e,t,a){var r=a.quoteStyle||t,i=hg[r];return i+e+i}function KS(e){return ar.call(String(e),/"/g,"&quot;")}function fn(e){return!Js||!(typeof e=="object"&&(Js in e||typeof e[Js]<"u"))}function Yp(e){return Rr(e)==="[object Array]"&&fn(e)}function US(e){return Rr(e)==="[object Date]"&&fn(e)}function h4(e){return Rr(e)==="[object RegExp]"&&fn(e)}function jS(e){return Rr(e)==="[object Error]"&&fn(e)}function $S(e){return Rr(e)==="[object String]"&&fn(e)}function LS(e){return Rr(e)==="[object Number]"&&fn(e)}function qS(e){return Rr(e)==="[object Boolean]"&&fn(e)}function bg(e){if($n)return e&&typeof e=="object"&&e instanceof Symbol;if(typeof e=="symbol")return!0;if(!e||typeof e!="object"||!Qp)return!1;try{return Qp.call(e),!0}catch{}return!1}function ZS(e){if(!e||typeof e!="object"||!Gp)return!1;try{return Gp.call(e),!0}catch{}return!1}var HS=Object.prototype.hasOwnProperty||function(e){return e in this};function Ca(e,t){return HS.call(e,t)}function Rr(e){return OS.call(e)}function GS(e){if(e.name)return e.name;var t=VS.call(NS.call(e),/^function\s*([\w$]+)/);return t?t[1]:null}function Ag(e,t){if(e.indexOf)return e.indexOf(t);for(var a=0,r=e.length;a<r;a++)if(e[a]===t)return a;return-1}function QS(e){if(!xl||!e||typeof e!="object")return!1;try{xl.call(e);try{Il.call(e)}catch{return!0}return e instanceof Map}catch{}return!1}function JS(e){if(!Gs||!e||typeof e!="object")return!1;try{Gs.call(e,Gs);try{Qs.call(e,Qs)}catch{return!0}return e instanceof WeakMap}catch{}return!1}function YS(e){if(!d4||!e||typeof e!="object")return!1;try{return d4.call(e),!0}catch{}return!1}function XS(e){if(!Il||!e||typeof e!="object")return!1;try{Il.call(e);try{xl.call(e)}catch{return!0}return e instanceof Set}catch{}return!1}function e_(e){if(!Qs||!e||typeof e!="object")return!1;try{Qs.call(e,Qs);try{Gs.call(e,Gs)}catch{return!0}return e instanceof WeakSet}catch{}return!1}function t_(e){return!e||typeof e!="object"?!1:typeof HTMLElement<"u"&&e instanceof HTMLElement?!0:typeof e.nodeName=="string"&&typeof e.getAttribute=="function"}function Sg(e,t){if(e.length>t.maxStringLength){var a=e.length-t.maxStringLength,r="... "+a+" more character"+(a>1?"s":"");return Sg(Lc.call(e,0,t.maxStringLength),t)+r}var i=BS[t.quoteStyle||"single"];i.lastIndex=0;var n=ar.call(ar.call(e,i,"\\$1"),/[\x00-\x1f]/g,a_);return yg(n,"single",t)}function a_(e){var t=e.charCodeAt(0),a={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return a?"\\"+a:"\\x"+(t<16?"0":"")+WS.call(t.toString(16))}function ks(e){return"Object("+e+")"}function nu(e){return e+" { ? }"}function y4(e,t,a,r){var i=r?Xp(a,r):ca.call(a,", ");return e+" ("+t+") {"+i+"}"}function r_(e){for(var t=0;t<e.length;t++)if(Ag(e[t],`
11
11
  `)>=0)return!1;return!0}function i_(e,t){var a;if(e.indent===" ")a=" ";else if(typeof e.indent=="number"&&e.indent>0)a=ca.call(Array(e.indent+1)," ");else return null;return{base:a,prev:ca.call(Array(t+1),a)}}function Xp(e,t){if(e.length===0)return"";var a=`
12
12
  `+t.prev+t.base;return a+ca.call(e,","+a)+`
13
13
  `+t.prev}function R1(e,t){var a=Yp(e),r=[];if(a){r.length=e.length;for(var i=0;i<e.length;i++)r[i]=Ca(e,i)?t(e[i],e):""}var n=typeof iu=="function"?iu(e):[],s;if($n){s={};for(var l=0;l<n.length;l++)s["$"+n[l]]=n[l]}for(var u in e)Ca(e,u)&&(a&&String(Number(u))===u&&u<e.length||$n&&s["$"+u]instanceof Symbol||(gg.call(/[^\w$]/,u)?r.push(t(u,e)+": "+t(e[u],e)):r.push(u+": "+t(e[u],e))));if(typeof iu=="function")for(var o=0;o<n.length;o++)vg.call(e,n[o])&&r.push("["+t(n[o])+"]: "+t(e[n[o]],e));return r}var n_=nd,o_=ja,od=function(e,t,a){for(var r=e,i;(i=r.next)!=null;r=i)if(i.key===t)return r.next=i.next,a||(i.next=e.next,e.next=i),i},s_=function(e,t){if(e){var a=od(e,t);return a&&a.value}},l_=function(e,t,a){var r=od(e,t);r?r.value=a:e.next={key:t,next:e.next,value:a}},d_=function(e,t){return e?!!od(e,t):!1},u_=function(e,t){if(e)return od(e,t,!0)},p_=function(){var t,a={assert:function(r){if(!a.has(r))throw new o_("Side channel does not contain "+n_(r))},delete:function(r){var i=t&&t.next,n=u_(t,r);return n&&i&&i===n&&(t=void 0),!!n},get:function(r){return s_(t,r)},has:function(r){return d_(t,r)},set:function(r,i){t||(t={next:void 0}),l_(t,r,i)}};return a},qc=Object,c_=Error,m_=EvalError,f_=RangeError,g_=ReferenceError,_g=SyntaxError,v_=URIError,h_=Math.abs,y_=Math.floor,b_=Math.max,A_=Math.min,S_=Math.pow,__=Math.round,w_=Number.isNaN||function(t){return t!==t},P_=w_,E_=function(t){return P_(t)||t===0?t:t<0?-1:1},k_=Object.getOwnPropertyDescriptor,fl=k_;if(fl)try{fl([],"length")}catch{fl=null}var os=fl,gl=Object.defineProperty||!1;if(gl)try{gl({},"a",{value:1})}catch{gl=!1}var sd=gl,Zc=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var t={},a=Symbol("test"),r=Object(a);if(typeof a=="string"||Object.prototype.toString.call(a)!=="[object Symbol]"||Object.prototype.toString.call(r)!=="[object Symbol]")return!1;var i=42;t[a]=i;for(var n in t)return!1;if(typeof Object.keys=="function"&&Object.keys(t).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(t).length!==0)return!1;var s=Object.getOwnPropertySymbols(t);if(s.length!==1||s[0]!==a||!Object.prototype.propertyIsEnumerable.call(t,a))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var l=Object.getOwnPropertyDescriptor(t,a);if(l.value!==i||l.enumerable!==!0)return!1}return!0},ou,b4;function T_(){if(b4)return ou;b4=1;var e=typeof Symbol<"u"&&Symbol,t=Zc;return ou=function(){return typeof e!="function"||typeof Symbol!="function"||typeof e("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:t()},ou}var wg=typeof Reflect<"u"&&Reflect.getPrototypeOf||null,z_=qc,Pg=z_.getPrototypeOf||null,su,A4;function D_(){if(A4)return su;A4=1;var e="Function.prototype.bind called on incompatible ",t=Object.prototype.toString,a=Math.max,r="[object Function]",i=function(u,o){for(var d=[],c=0;c<u.length;c+=1)d[c]=u[c];for(var p=0;p<o.length;p+=1)d[p+u.length]=o[p];return d},n=function(u,o){for(var d=[],c=o,p=0;c<u.length;c+=1,p+=1)d[p]=u[c];return d},s=function(l,u){for(var o="",d=0;d<l.length;d+=1)o+=l[d],d+1<l.length&&(o+=u);return o};return su=function(u){var o=this;if(typeof o!="function"||t.apply(o)!==r)throw new TypeError(e+o);for(var d=n(arguments,1),c,p=function(){if(this instanceof c){var w=o.apply(this,i(d,arguments));return Object(w)===w?w:this}return o.apply(u,i(d,arguments))},m=a(0,o.length-d.length),h=[],v=0;v<m;v++)h[v]="$"+v;if(c=Function("binder","return function ("+s(h,",")+"){ return binder.apply(this,arguments); }")(p),o.prototype){var g=function(){};g.prototype=o.prototype,c.prototype=new g,g.prototype=null}return c},su}var lu,S4;function S1(){if(S4)return lu;S4=1;var e=D_();return lu=Function.prototype.bind||e,lu}var du,_4;function Hc(){return _4||(_4=1,du=Function.prototype.call),du}var uu,w4;function Gc(){return w4||(w4=1,uu=Function.prototype.apply),uu}var M_=typeof Reflect<"u"&&Reflect&&Reflect.apply,x_=S1(),I_=Gc(),R_=Hc(),C_=M_,Eg=C_||x_.call(R_,I_),O_=S1(),N_=ja,V_=Hc(),W_=Eg,Qc=function(t){if(t.length<1||typeof t[0]!="function")throw new N_("a function is required");return W_(O_,V_,t)},F_=Qc,P4=os,kg;try{kg=[].__proto__===Array.prototype}catch(e){if(!e||typeof e!="object"||!("code"in e)||e.code!=="ERR_PROTO_ACCESS")throw e}var pu=!!kg&&P4&&P4(Object.prototype,"__proto__"),Tg=Object,E4=Tg.getPrototypeOf,B_=pu&&typeof pu.get=="function"?F_([pu.get]):typeof E4=="function"?function(t){return E4(t==null?t:Tg(t))}:!1,k4=wg,T4=Pg,z4=B_,Jc=k4?function(t){return k4(t)}:T4?function(t){if(!t||typeof t!="object"&&typeof t!="function")throw new TypeError("getProto: not an object");return T4(t)}:z4?function(t){return z4(t)}:null,cu,D4;function zg(){if(D4)return cu;D4=1;var e=Function.prototype.call,t=Object.prototype.hasOwnProperty,a=S1();return cu=a.call(e,t),cu}var De,K_=qc,U_=c_,j_=m_,$_=f_,L_=g_,Ln=_g,Nn=ja,q_=v_,Z_=h_,H_=y_,G_=b_,Q_=A_,J_=S_,Y_=__,X_=E_,Dg=Function,mu=function(e){try{return Dg('"use strict"; return ('+e+").constructor;")()}catch{}},s1=os,ew=sd,fu=function(){throw new Nn},tw=s1?function(){try{return arguments.callee,fu}catch{try{return s1(arguments,"callee").get}catch{return fu}}}():fu,yn=T_()(),ft=Jc,aw=Pg,rw=wg,Mg=Gc(),_1=Hc(),Dn={},iw=typeof Uint8Array>"u"||!ft?De:ft(Uint8Array),rn={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?De:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?De:ArrayBuffer,"%ArrayIteratorPrototype%":yn&&ft?ft([][Symbol.iterator]()):De,"%AsyncFromSyncIteratorPrototype%":De,"%AsyncFunction%":Dn,"%AsyncGenerator%":Dn,"%AsyncGeneratorFunction%":Dn,"%AsyncIteratorPrototype%":Dn,"%Atomics%":typeof Atomics>"u"?De:Atomics,"%BigInt%":typeof BigInt>"u"?De:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?De:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?De:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?De:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":U_,"%eval%":eval,"%EvalError%":j_,"%Float16Array%":typeof Float16Array>"u"?De:Float16Array,"%Float32Array%":typeof Float32Array>"u"?De:Float32Array,"%Float64Array%":typeof Float64Array>"u"?De:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?De:FinalizationRegistry,"%Function%":Dg,"%GeneratorFunction%":Dn,"%Int8Array%":typeof Int8Array>"u"?De:Int8Array,"%Int16Array%":typeof Int16Array>"u"?De:Int16Array,"%Int32Array%":typeof Int32Array>"u"?De:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":yn&&ft?ft(ft([][Symbol.iterator]())):De,"%JSON%":typeof JSON=="object"?JSON:De,"%Map%":typeof Map>"u"?De:Map,"%MapIteratorPrototype%":typeof Map>"u"||!yn||!ft?De:ft(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":K_,"%Object.getOwnPropertyDescriptor%":s1,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?De:Promise,"%Proxy%":typeof Proxy>"u"?De:Proxy,"%RangeError%":$_,"%ReferenceError%":L_,"%Reflect%":typeof Reflect>"u"?De:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?De:Set,"%SetIteratorPrototype%":typeof Set>"u"||!yn||!ft?De:ft(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?De:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":yn&&ft?ft(""[Symbol.iterator]()):De,"%Symbol%":yn?Symbol:De,"%SyntaxError%":Ln,"%ThrowTypeError%":tw,"%TypedArray%":iw,"%TypeError%":Nn,"%Uint8Array%":typeof Uint8Array>"u"?De:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?De:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?De:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?De:Uint32Array,"%URIError%":q_,"%WeakMap%":typeof WeakMap>"u"?De:WeakMap,"%WeakRef%":typeof WeakRef>"u"?De:WeakRef,"%WeakSet%":typeof WeakSet>"u"?De:WeakSet,"%Function.prototype.call%":_1,"%Function.prototype.apply%":Mg,"%Object.defineProperty%":ew,"%Object.getPrototypeOf%":aw,"%Math.abs%":Z_,"%Math.floor%":H_,"%Math.max%":G_,"%Math.min%":Q_,"%Math.pow%":J_,"%Math.round%":Y_,"%Math.sign%":X_,"%Reflect.getPrototypeOf%":rw};if(ft)try{null.error}catch(e){var nw=ft(ft(e));rn["%Error.prototype%"]=nw}var ow=function e(t){var a;if(t==="%AsyncFunction%")a=mu("async function () {}");else if(t==="%GeneratorFunction%")a=mu("function* () {}");else if(t==="%AsyncGeneratorFunction%")a=mu("async function* () {}");else if(t==="%AsyncGenerator%"){var r=e("%AsyncGeneratorFunction%");r&&(a=r.prototype)}else if(t==="%AsyncIteratorPrototype%"){var i=e("%AsyncGenerator%");i&&ft&&(a=ft(i.prototype))}return rn[t]=a,a},M4={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},w1=S1(),Rl=zg(),sw=w1.call(_1,Array.prototype.concat),lw=w1.call(Mg,Array.prototype.splice),x4=w1.call(_1,String.prototype.replace),Cl=w1.call(_1,String.prototype.slice),dw=w1.call(_1,RegExp.prototype.exec),uw=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,pw=/\\(\\)?/g,cw=function(t){var a=Cl(t,0,1),r=Cl(t,-1);if(a==="%"&&r!=="%")throw new Ln("invalid intrinsic syntax, expected closing `%`");if(r==="%"&&a!=="%")throw new Ln("invalid intrinsic syntax, expected opening `%`");var i=[];return x4(t,uw,function(n,s,l,u){i[i.length]=l?x4(u,pw,"$1"):s||n}),i},mw=function(t,a){var r=t,i;if(Rl(M4,r)&&(i=M4[r],r="%"+i[0]+"%"),Rl(rn,r)){var n=rn[r];if(n===Dn&&(n=ow(r)),typeof n>"u"&&!a)throw new Nn("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:i,name:r,value:n}}throw new Ln("intrinsic "+t+" does not exist!")},P1=function(t,a){if(typeof t!="string"||t.length===0)throw new Nn("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof a!="boolean")throw new Nn('"allowMissing" argument must be a boolean');if(dw(/^%?[^%]*%?$/,t)===null)throw new Ln("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var r=cw(t),i=r.length>0?r[0]:"",n=mw("%"+i+"%",a),s=n.name,l=n.value,u=!1,o=n.alias;o&&(i=o[0],lw(r,sw([0,1],o)));for(var d=1,c=!0;d<r.length;d+=1){var p=r[d],m=Cl(p,0,1),h=Cl(p,-1);if((m==='"'||m==="'"||m==="`"||h==='"'||h==="'"||h==="`")&&m!==h)throw new Ln("property names with quotes must have matching quotes");if((p==="constructor"||!c)&&(u=!0),i+="."+p,s="%"+i+"%",Rl(rn,s))l=rn[s];else if(l!=null){if(!(p in l)){if(!a)throw new Nn("base intrinsic for "+t+" exists, but the property is not available.");return}if(s1&&d+1>=r.length){var v=s1(l,p);c=!!v,c&&"get"in v&&!("originalValue"in v.get)?l=v.get:l=l[p]}else c=Rl(l,p),l=l[p];c&&!u&&(rn[s]=l)}}return l},xg=P1,Ig=Qc,fw=Ig([xg("%String.prototype.indexOf%")]),Cr=function(t,a){var r=xg(t,!!a);return typeof r=="function"&&fw(t,".prototype.")>-1?Ig([r]):r},gw=P1,E1=Cr,vw=nd,hw=ja,I4=gw("%Map%",!0),yw=E1("Map.prototype.get",!0),bw=E1("Map.prototype.set",!0),Aw=E1("Map.prototype.has",!0),Sw=E1("Map.prototype.delete",!0),_w=E1("Map.prototype.size",!0),Rg=!!I4&&function(){var t,a={assert:function(r){if(!a.has(r))throw new hw("Side channel does not contain "+vw(r))},delete:function(r){if(t){var i=Sw(t,r);return _w(t)===0&&(t=void 0),i}return!1},get:function(r){if(t)return yw(t,r)},has:function(r){return t?Aw(t,r):!1},set:function(r,i){t||(t=new I4),bw(t,r,i)}};return a},ww=P1,ld=Cr,Pw=nd,C1=Rg,Ew=ja,bn=ww("%WeakMap%",!0),kw=ld("WeakMap.prototype.get",!0),Tw=ld("WeakMap.prototype.set",!0),zw=ld("WeakMap.prototype.has",!0),Dw=ld("WeakMap.prototype.delete",!0),Mw=bn?function(){var t,a,r={assert:function(i){if(!r.has(i))throw new Ew("Side channel does not contain "+Pw(i))},delete:function(i){if(bn&&i&&(typeof i=="object"||typeof i=="function")){if(t)return Dw(t,i)}else if(C1&&a)return a.delete(i);return!1},get:function(i){return bn&&i&&(typeof i=="object"||typeof i=="function")&&t?kw(t,i):a&&a.get(i)},has:function(i){return bn&&i&&(typeof i=="object"||typeof i=="function")&&t?zw(t,i):!!a&&a.has(i)},set:function(i,n){bn&&i&&(typeof i=="object"||typeof i=="function")?(t||(t=new bn),Tw(t,i,n)):C1&&(a||(a=C1()),a.set(i,n))}};return r}:C1,xw=ja,Iw=nd,Rw=p_,Cw=Rg,Ow=Mw,Nw=Ow||Cw||Rw,Vw=function(){var t,a={assert:function(r){if(!a.has(r))throw new xw("Side channel does not contain "+Iw(r))},delete:function(r){return!!t&&t.delete(r)},get:function(r){return t&&t.get(r)},has:function(r){return!!t&&t.has(r)},set:function(r,i){t||(t=Nw()),t.set(r,i)}};return a},Ww=String.prototype.replace,Fw=/%20/g,gu={RFC1738:"RFC1738",RFC3986:"RFC3986"},Yc={default:gu.RFC3986,formatters:{RFC1738:function(e){return Ww.call(e,Fw,"+")},RFC3986:function(e){return String(e)}},RFC1738:gu.RFC1738,RFC3986:gu.RFC3986},Bw=Yc,vu=Object.prototype.hasOwnProperty,Xi=Array.isArray,na=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),Kw=function(t){for(;t.length>1;){var a=t.pop(),r=a.obj[a.prop];if(Xi(r)){for(var i=[],n=0;n<r.length;++n)typeof r[n]<"u"&&i.push(r[n]);a.obj[a.prop]=i}}},Cg=function(t,a){for(var r=a&&a.plainObjects?{__proto__:null}:{},i=0;i<t.length;++i)typeof t[i]<"u"&&(r[i]=t[i]);return r},Uw=function e(t,a,r){if(!a)return t;if(typeof a!="object"&&typeof a!="function"){if(Xi(t))t.push(a);else if(t&&typeof t=="object")(r&&(r.plainObjects||r.allowPrototypes)||!vu.call(Object.prototype,a))&&(t[a]=!0);else return[t,a];return t}if(!t||typeof t!="object")return[t].concat(a);var i=t;return Xi(t)&&!Xi(a)&&(i=Cg(t,r)),Xi(t)&&Xi(a)?(a.forEach(function(n,s){if(vu.call(t,s)){var l=t[s];l&&typeof l=="object"&&n&&typeof n=="object"?t[s]=e(l,n,r):t.push(n)}else t[s]=n}),t):Object.keys(a).reduce(function(n,s){var l=a[s];return vu.call(n,s)?n[s]=e(n[s],l,r):n[s]=l,n},i)},jw=function(t,a){return Object.keys(a).reduce(function(r,i){return r[i]=a[i],r},t)},$w=function(e,t,a){var r=e.replace(/\+/g," ");if(a==="iso-8859-1")return r.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(r)}catch{return r}},hu=1024,Lw=function(t,a,r,i,n){if(t.length===0)return t;var s=t;if(typeof t=="symbol"?s=Symbol.prototype.toString.call(t):typeof t!="string"&&(s=String(t)),r==="iso-8859-1")return escape(s).replace(/%u[0-9a-f]{4}/gi,function(m){return"%26%23"+parseInt(m.slice(2),16)+"%3B"});for(var l="",u=0;u<s.length;u+=hu){for(var o=s.length>=hu?s.slice(u,u+hu):s,d=[],c=0;c<o.length;++c){var p=o.charCodeAt(c);if(p===45||p===46||p===95||p===126||p>=48&&p<=57||p>=65&&p<=90||p>=97&&p<=122||n===Bw.RFC1738&&(p===40||p===41)){d[d.length]=o.charAt(c);continue}if(p<128){d[d.length]=na[p];continue}if(p<2048){d[d.length]=na[192|p>>6]+na[128|p&63];continue}if(p<55296||p>=57344){d[d.length]=na[224|p>>12]+na[128|p>>6&63]+na[128|p&63];continue}c+=1,p=65536+((p&1023)<<10|o.charCodeAt(c)&1023),d[d.length]=na[240|p>>18]+na[128|p>>12&63]+na[128|p>>6&63]+na[128|p&63]}l+=d.join("")}return l},qw=function(t){for(var a=[{obj:{o:t},prop:"o"}],r=[],i=0;i<a.length;++i)for(var n=a[i],s=n.obj[n.prop],l=Object.keys(s),u=0;u<l.length;++u){var o=l[u],d=s[o];typeof d=="object"&&d!==null&&r.indexOf(d)===-1&&(a.push({obj:s,prop:o}),r.push(d))}return Kw(a),t},Zw=function(t){return Object.prototype.toString.call(t)==="[object RegExp]"},Hw=function(t){return!t||typeof t!="object"?!1:!!(t.constructor&&t.constructor.isBuffer&&t.constructor.isBuffer(t))},Gw=function(t,a){return[].concat(t,a)},Qw=function(t,a){if(Xi(t)){for(var r=[],i=0;i<t.length;i+=1)r.push(a(t[i]));return r}return a(t)},Og={arrayToObject:Cg,assign:jw,combine:Gw,compact:qw,decode:$w,encode:Lw,isBuffer:Hw,isRegExp:Zw,maybeMap:Qw,merge:Uw},Ng=Vw,vl=Og,Ys=Yc,Jw=Object.prototype.hasOwnProperty,Vg={brackets:function(t){return t+"[]"},comma:"comma",indices:function(t,a){return t+"["+a+"]"},repeat:function(t){return t}},pa=Array.isArray,Yw=Array.prototype.push,Wg=function(e,t){Yw.apply(e,pa(t)?t:[t])},Xw=Date.prototype.toISOString,R4=Ys.default,pt={addQueryPrefix:!1,allowDots:!1,allowEmptyArrays:!1,arrayFormat:"indices",charset:"utf-8",charsetSentinel:!1,commaRoundTrip:!1,delimiter:"&",encode:!0,encodeDotInKeys:!1,encoder:vl.encode,encodeValuesOnly:!1,filter:void 0,format:R4,formatter:Ys.formatters[R4],indices:!1,serializeDate:function(t){return Xw.call(t)},skipNulls:!1,strictNullHandling:!1},eP=function(t){return typeof t=="string"||typeof t=="number"||typeof t=="boolean"||typeof t=="symbol"||typeof t=="bigint"},yu={},tP=function e(t,a,r,i,n,s,l,u,o,d,c,p,m,h,v,g,w,P){for(var b=t,M=P,R=0,O=!1;(M=M.get(yu))!==void 0&&!O;){var U=M.get(t);if(R+=1,typeof U<"u"){if(U===R)throw new RangeError("Cyclic object value");O=!0}typeof M.get(yu)>"u"&&(R=0)}if(typeof d=="function"?b=d(a,b):b instanceof Date?b=m(b):r==="comma"&&pa(b)&&(b=vl.maybeMap(b,function($){return $ instanceof Date?m($):$})),b===null){if(s)return o&&!g?o(a,pt.encoder,w,"key",h):a;b=""}if(eP(b)||vl.isBuffer(b)){if(o){var j=g?a:o(a,pt.encoder,w,"key",h);return[v(j)+"="+v(o(b,pt.encoder,w,"value",h))]}return[v(a)+"="+v(String(b))]}var L=[];if(typeof b>"u")return L;var ie;if(r==="comma"&&pa(b))g&&o&&(b=vl.maybeMap(b,o)),ie=[{value:b.length>0?b.join(",")||null:void 0}];else if(pa(d))ie=d;else{var re=Object.keys(b);ie=c?re.sort(c):re}var I=u?String(a).replace(/\./g,"%2E"):String(a),H=i&&pa(b)&&b.length===1?I+"[]":I;if(n&&pa(b)&&b.length===0)return H+"[]";for(var se=0;se<ie.length;++se){var ce=ie[se],he=typeof ce=="object"&&ce&&typeof ce.value<"u"?ce.value:b[ce];if(!(l&&he===null)){var _e=p&&u?String(ce).replace(/\./g,"%2E"):String(ce),be=pa(b)?typeof r=="function"?r(H,_e):H:H+(p?"."+_e:"["+_e+"]");P.set(t,R);var X=Ng();X.set(yu,P),Wg(L,e(he,be,r,i,n,s,l,u,r==="comma"&&g&&pa(b)?null:o,d,c,p,m,h,v,g,w,X))}}return L},aP=function(t){if(!t)return pt;if(typeof t.allowEmptyArrays<"u"&&typeof t.allowEmptyArrays!="boolean")throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(typeof t.encodeDotInKeys<"u"&&typeof t.encodeDotInKeys!="boolean")throw new TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided");if(t.encoder!==null&&typeof t.encoder<"u"&&typeof t.encoder!="function")throw new TypeError("Encoder has to be a function.");var a=t.charset||pt.charset;if(typeof t.charset<"u"&&t.charset!=="utf-8"&&t.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var r=Ys.default;if(typeof t.format<"u"){if(!Jw.call(Ys.formatters,t.format))throw new TypeError("Unknown format option provided.");r=t.format}var i=Ys.formatters[r],n=pt.filter;(typeof t.filter=="function"||pa(t.filter))&&(n=t.filter);var s;if(t.arrayFormat in Vg?s=t.arrayFormat:"indices"in t?s=t.indices?"indices":"repeat":s=pt.arrayFormat,"commaRoundTrip"in t&&typeof t.commaRoundTrip!="boolean")throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var l=typeof t.allowDots>"u"?t.encodeDotInKeys===!0?!0:pt.allowDots:!!t.allowDots;return{addQueryPrefix:typeof t.addQueryPrefix=="boolean"?t.addQueryPrefix:pt.addQueryPrefix,allowDots:l,allowEmptyArrays:typeof t.allowEmptyArrays=="boolean"?!!t.allowEmptyArrays:pt.allowEmptyArrays,arrayFormat:s,charset:a,charsetSentinel:typeof t.charsetSentinel=="boolean"?t.charsetSentinel:pt.charsetSentinel,commaRoundTrip:!!t.commaRoundTrip,delimiter:typeof t.delimiter>"u"?pt.delimiter:t.delimiter,encode:typeof t.encode=="boolean"?t.encode:pt.encode,encodeDotInKeys:typeof t.encodeDotInKeys=="boolean"?t.encodeDotInKeys:pt.encodeDotInKeys,encoder:typeof t.encoder=="function"?t.encoder:pt.encoder,encodeValuesOnly:typeof t.encodeValuesOnly=="boolean"?t.encodeValuesOnly:pt.encodeValuesOnly,filter:n,format:r,formatter:i,serializeDate:typeof t.serializeDate=="function"?t.serializeDate:pt.serializeDate,skipNulls:typeof t.skipNulls=="boolean"?t.skipNulls:pt.skipNulls,sort:typeof t.sort=="function"?t.sort:null,strictNullHandling:typeof t.strictNullHandling=="boolean"?t.strictNullHandling:pt.strictNullHandling}},rP=function(e,t){var a=e,r=aP(t),i,n;typeof r.filter=="function"?(n=r.filter,a=n("",a)):pa(r.filter)&&(n=r.filter,i=n);var s=[];if(typeof a!="object"||a===null)return"";var l=Vg[r.arrayFormat],u=l==="comma"&&r.commaRoundTrip;i||(i=Object.keys(a)),r.sort&&i.sort(r.sort);for(var o=Ng(),d=0;d<i.length;++d){var c=i[d],p=a[c];r.skipNulls&&p===null||Wg(s,tP(p,c,l,u,r.allowEmptyArrays,r.strictNullHandling,r.skipNulls,r.encodeDotInKeys,r.encode?r.encoder:null,r.filter,r.sort,r.allowDots,r.serializeDate,r.format,r.formatter,r.encodeValuesOnly,r.charset,o))}var m=s.join(r.delimiter),h=r.addQueryPrefix===!0?"?":"";return r.charsetSentinel&&(r.charset==="iso-8859-1"?h+="utf8=%26%2310003%3B&":h+="utf8=%E2%9C%93&"),m.length>0?h+m:""},nn=Og,ec=Object.prototype.hasOwnProperty,C4=Array.isArray,He={allowDots:!1,allowEmptyArrays:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decodeDotInKeys:!1,decoder:nn.decode,delimiter:"&",depth:5,duplicates:"combine",ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictDepth:!1,strictNullHandling:!1,throwOnLimitExceeded:!1},iP=function(e){return e.replace(/&#(\d+);/g,function(t,a){return String.fromCharCode(parseInt(a,10))})},Fg=function(e,t,a){if(e&&typeof e=="string"&&t.comma&&e.indexOf(",")>-1)return e.split(",");if(t.throwOnLimitExceeded&&a>=t.arrayLimit)throw new RangeError("Array limit exceeded. Only "+t.arrayLimit+" element"+(t.arrayLimit===1?"":"s")+" allowed in an array.");return e},nP="utf8=%26%2310003%3B",oP="utf8=%E2%9C%93",sP=function(t,a){var r={__proto__:null},i=a.ignoreQueryPrefix?t.replace(/^\?/,""):t;i=i.replace(/%5B/gi,"[").replace(/%5D/gi,"]");var n=a.parameterLimit===1/0?void 0:a.parameterLimit,s=i.split(a.delimiter,a.throwOnLimitExceeded?n+1:n);if(a.throwOnLimitExceeded&&s.length>n)throw new RangeError("Parameter limit exceeded. Only "+n+" parameter"+(n===1?"":"s")+" allowed.");var l=-1,u,o=a.charset;if(a.charsetSentinel)for(u=0;u<s.length;++u)s[u].indexOf("utf8=")===0&&(s[u]===oP?o="utf-8":s[u]===nP&&(o="iso-8859-1"),l=u,u=s.length);for(u=0;u<s.length;++u)if(u!==l){var d=s[u],c=d.indexOf("]="),p=c===-1?d.indexOf("="):c+1,m,h;p===-1?(m=a.decoder(d,He.decoder,o,"key"),h=a.strictNullHandling?null:""):(m=a.decoder(d.slice(0,p),He.decoder,o,"key"),h=nn.maybeMap(Fg(d.slice(p+1),a,C4(r[m])?r[m].length:0),function(g){return a.decoder(g,He.decoder,o,"value")})),h&&a.interpretNumericEntities&&o==="iso-8859-1"&&(h=iP(String(h))),d.indexOf("[]=")>-1&&(h=C4(h)?[h]:h);var v=ec.call(r,m);v&&a.duplicates==="combine"?r[m]=nn.combine(r[m],h):(!v||a.duplicates==="last")&&(r[m]=h)}return r},lP=function(e,t,a,r){var i=0;if(e.length>0&&e[e.length-1]==="[]"){var n=e.slice(0,-1).join("");i=Array.isArray(t)&&t[n]?t[n].length:0}for(var s=r?t:Fg(t,a,i),l=e.length-1;l>=0;--l){var u,o=e[l];if(o==="[]"&&a.parseArrays)u=a.allowEmptyArrays&&(s===""||a.strictNullHandling&&s===null)?[]:nn.combine([],s);else{u=a.plainObjects?{__proto__:null}:{};var d=o.charAt(0)==="["&&o.charAt(o.length-1)==="]"?o.slice(1,-1):o,c=a.decodeDotInKeys?d.replace(/%2E/g,"."):d,p=parseInt(c,10);!a.parseArrays&&c===""?u={0:s}:!isNaN(p)&&o!==c&&String(p)===c&&p>=0&&a.parseArrays&&p<=a.arrayLimit?(u=[],u[p]=s):c!=="__proto__"&&(u[c]=s)}s=u}return s},dP=function(t,a,r,i){if(t){var n=r.allowDots?t.replace(/\.([^.[]+)/g,"[$1]"):t,s=/(\[[^[\]]*])/,l=/(\[[^[\]]*])/g,u=r.depth>0&&s.exec(n),o=u?n.slice(0,u.index):n,d=[];if(o){if(!r.plainObjects&&ec.call(Object.prototype,o)&&!r.allowPrototypes)return;d.push(o)}for(var c=0;r.depth>0&&(u=l.exec(n))!==null&&c<r.depth;){if(c+=1,!r.plainObjects&&ec.call(Object.prototype,u[1].slice(1,-1))&&!r.allowPrototypes)return;d.push(u[1])}if(u){if(r.strictDepth===!0)throw new RangeError("Input depth exceeded depth option of "+r.depth+" and strictDepth is true");d.push("["+n.slice(u.index)+"]")}return lP(d,a,r,i)}},uP=function(t){if(!t)return He;if(typeof t.allowEmptyArrays<"u"&&typeof t.allowEmptyArrays!="boolean")throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(typeof t.decodeDotInKeys<"u"&&typeof t.decodeDotInKeys!="boolean")throw new TypeError("`decodeDotInKeys` option can only be `true` or `false`, when provided");if(t.decoder!==null&&typeof t.decoder<"u"&&typeof t.decoder!="function")throw new TypeError("Decoder has to be a function.");if(typeof t.charset<"u"&&t.charset!=="utf-8"&&t.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");if(typeof t.throwOnLimitExceeded<"u"&&typeof t.throwOnLimitExceeded!="boolean")throw new TypeError("`throwOnLimitExceeded` option must be a boolean");var a=typeof t.charset>"u"?He.charset:t.charset,r=typeof t.duplicates>"u"?He.duplicates:t.duplicates;if(r!=="combine"&&r!=="first"&&r!=="last")throw new TypeError("The duplicates option must be either combine, first, or last");var i=typeof t.allowDots>"u"?t.decodeDotInKeys===!0?!0:He.allowDots:!!t.allowDots;return{allowDots:i,allowEmptyArrays:typeof t.allowEmptyArrays=="boolean"?!!t.allowEmptyArrays:He.allowEmptyArrays,allowPrototypes:typeof t.allowPrototypes=="boolean"?t.allowPrototypes:He.allowPrototypes,allowSparse:typeof t.allowSparse=="boolean"?t.allowSparse:He.allowSparse,arrayLimit:typeof t.arrayLimit=="number"?t.arrayLimit:He.arrayLimit,charset:a,charsetSentinel:typeof t.charsetSentinel=="boolean"?t.charsetSentinel:He.charsetSentinel,comma:typeof t.comma=="boolean"?t.comma:He.comma,decodeDotInKeys:typeof t.decodeDotInKeys=="boolean"?t.decodeDotInKeys:He.decodeDotInKeys,decoder:typeof t.decoder=="function"?t.decoder:He.decoder,delimiter:typeof t.delimiter=="string"||nn.isRegExp(t.delimiter)?t.delimiter:He.delimiter,depth:typeof t.depth=="number"||t.depth===!1?+t.depth:He.depth,duplicates:r,ignoreQueryPrefix:t.ignoreQueryPrefix===!0,interpretNumericEntities:typeof t.interpretNumericEntities=="boolean"?t.interpretNumericEntities:He.interpretNumericEntities,parameterLimit:typeof t.parameterLimit=="number"?t.parameterLimit:He.parameterLimit,parseArrays:t.parseArrays!==!1,plainObjects:typeof t.plainObjects=="boolean"?t.plainObjects:He.plainObjects,strictDepth:typeof t.strictDepth=="boolean"?!!t.strictDepth:He.strictDepth,strictNullHandling:typeof t.strictNullHandling=="boolean"?t.strictNullHandling:He.strictNullHandling,throwOnLimitExceeded:typeof t.throwOnLimitExceeded=="boolean"?t.throwOnLimitExceeded:!1}},pP=function(e,t){var a=uP(t);if(e===""||e===null||typeof e>"u")return a.plainObjects?{__proto__:null}:{};for(var r=typeof e=="string"?sP(e,a):e,i=a.plainObjects?{__proto__:null}:{},n=Object.keys(r),s=0;s<n.length;++s){var l=n[s],u=dP(l,r[l],a,typeof e=="string");i=nn.merge(i,u,a)}return a.allowSparse===!0?i:nn.compact(i)},cP=rP,mP=pP,fP=Yc,gP={formats:fP,parse:mP,stringify:cP};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var a=Uc,r=gP;function i(q){return q&&typeof q=="object"&&"default"in q?q:{default:q}}var n=i(a),s=i(r),l=n.default;function u(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}var o=/^([a-z0-9.+-]+:)/i,d=/:[0-9]*$/,c=/^(\/\/?(?!\/)[^?\s]*)(\?[^\s]*)?$/,p=["<",">",'"',"`"," ","\r",`
@@ -1,4 +1,4 @@
1
- import{l as i}from"./solana-D0M1N7L4.js";import"../main.js";import"./util-C_16CLeU.js";import"./wallets-B2cUxj0w.js";import"./signer-BRan8q4C.js";import"./chain-Du7paeNG.js";import"./index.es-CBqWEk7T.js";import"./index-Czf_KRcW.js";const v=i`<svg fill="none" viewBox="0 0 40 40">
1
+ import{l as i}from"./solana-C-diloCa.js";import"../main.js";import"./util-C_16CLeU.js";import"./wallets-B2cUxj0w.js";import"./signer-7-tpWjBV.js";import"./chain-DF9mIQM9.js";import"./index-Czf_KRcW.js";import"./index.es-g5_0R3zE.js";const v=i`<svg fill="none" viewBox="0 0 40 40">
2
2
  <g clip-path="url(#a)">
3
3
  <g clip-path="url(#b)">
4
4
  <circle cx="20" cy="19.89" r="20" fill="#5A3E85" />
@@ -1,4 +1,4 @@
1
- import{l as o}from"./solana-D0M1N7L4.js";import"../main.js";import"./util-C_16CLeU.js";import"./wallets-B2cUxj0w.js";import"./signer-BRan8q4C.js";import"./chain-Du7paeNG.js";import"./index.es-CBqWEk7T.js";import"./index-Czf_KRcW.js";const n=o`<svg fill="none" viewBox="0 0 16 16">
1
+ import{l as o}from"./solana-C-diloCa.js";import"../main.js";import"./util-C_16CLeU.js";import"./wallets-B2cUxj0w.js";import"./signer-7-tpWjBV.js";import"./chain-DF9mIQM9.js";import"./index-Czf_KRcW.js";import"./index.es-g5_0R3zE.js";const n=o`<svg fill="none" viewBox="0 0 16 16">
2
2
  <path
3
3
  fill="currentColor"
4
4
  d="m14.36 4.74.01.42c0 4.34-3.3 9.34-9.34 9.34A9.3 9.3 0 0 1 0 13.03a6.6 6.6 0 0 0 4.86-1.36 3.29 3.29 0 0 1-3.07-2.28c.5.1 1 .07 1.48-.06A3.28 3.28 0 0 1 .64 6.11v-.04c.46.26.97.4 1.49.41A3.29 3.29 0 0 1 1.11 2.1a9.32 9.32 0 0 0 6.77 3.43 3.28 3.28 0 0 1 5.6-3 6.59 6.59 0 0 0 2.08-.8 3.3 3.3 0 0 1-1.45 1.82A6.53 6.53 0 0 0 16 3.04c-.44.66-1 1.23-1.64 1.7Z"
@@ -1,4 +1,4 @@
1
- import{l}from"./solana-D0M1N7L4.js";import"../main.js";import"./util-C_16CLeU.js";import"./wallets-B2cUxj0w.js";import"./signer-BRan8q4C.js";import"./chain-Du7paeNG.js";import"./index.es-CBqWEk7T.js";import"./index-Czf_KRcW.js";const m=l`<svg fill="none" viewBox="0 0 28 28">
1
+ import{l}from"./solana-C-diloCa.js";import"../main.js";import"./util-C_16CLeU.js";import"./wallets-B2cUxj0w.js";import"./signer-7-tpWjBV.js";import"./chain-DF9mIQM9.js";import"./index-Czf_KRcW.js";import"./index.es-g5_0R3zE.js";const m=l`<svg fill="none" viewBox="0 0 28 28">
2
2
  <path
3
3
  fill="currentColor"
4
4
  fill-rule="evenodd"
@@ -1,4 +1,4 @@
1
- import{l}from"./solana-D0M1N7L4.js";import"../main.js";import"./util-C_16CLeU.js";import"./wallets-B2cUxj0w.js";import"./signer-BRan8q4C.js";import"./chain-Du7paeNG.js";import"./index.es-CBqWEk7T.js";import"./index-Czf_KRcW.js";const a=l`<svg fill="none" viewBox="0 0 14 14">
1
+ import{l}from"./solana-C-diloCa.js";import"../main.js";import"./util-C_16CLeU.js";import"./wallets-B2cUxj0w.js";import"./signer-7-tpWjBV.js";import"./chain-DF9mIQM9.js";import"./index-Czf_KRcW.js";import"./index.es-g5_0R3zE.js";const a=l`<svg fill="none" viewBox="0 0 14 14">
2
2
  <path
3
3
  fill="currentColor"
4
4
  fill-rule="evenodd"
@@ -1,4 +1,4 @@
1
- import{p as de,s as ue,q as pe,i as f,r as _,a as g,x as a,t as L,e as re,o as se,R as l,m as v,d as X,h as me,u as k,f as he,E as oe,v as G,M as h,O as E,C as q,w as ae,j as A,A as U,T as ve,y as fe,b as ge,g as be}from"./solana-D0M1N7L4.js";import{c as u,n as d,r as w,o as F,U as ye}from"./index-BZCSByFC.js";import"../main.js";import"./util-C_16CLeU.js";import"./wallets-B2cUxj0w.js";import"./signer-BRan8q4C.js";import"./chain-Du7paeNG.js";import"./index.es-CBqWEk7T.js";import"./index-Czf_KRcW.js";const m=de({message:"",open:!1,triggerRect:{width:0,height:0,top:0,left:0},variant:"shade"}),O={state:m,subscribe(s){return pe(m,()=>s(m))},subscribeKey(s,e){return ue(m,s,e)},showTooltip({message:s,triggerRect:e,variant:t}){m.open=!0,m.message=s,m.triggerRect=e,m.variant=t},hide(){m.open=!1,m.message="",m.triggerRect={width:0,height:0,top:0,left:0}}},xe=f`
1
+ import{p as de,s as ue,q as pe,i as f,r as _,a as g,x as a,t as L,e as re,o as se,R as l,m as v,d as X,h as me,u as k,f as he,E as oe,v as G,M as h,O as E,C as q,w as ae,j as A,A as U,T as ve,y as fe,b as ge,g as be}from"./solana-C-diloCa.js";import{c as u,n as d,r as w,o as F,U as ye}from"./index-DusYxt7C.js";import"../main.js";import"./util-C_16CLeU.js";import"./wallets-B2cUxj0w.js";import"./signer-7-tpWjBV.js";import"./chain-DF9mIQM9.js";import"./index-Czf_KRcW.js";import"./index.es-g5_0R3zE.js";const m=de({message:"",open:!1,triggerRect:{width:0,height:0,top:0,left:0},variant:"shade"}),O={state:m,subscribe(s){return pe(m,()=>s(m))},subscribeKey(s,e){return ue(m,s,e)},showTooltip({message:s,triggerRect:e,variant:t}){m.open=!0,m.message=s,m.triggerRect=e,m.variant=t},hide(){m.open=!1,m.message="",m.triggerRect={width:0,height:0,top:0,left:0}}},xe=f`
2
2
  :host {
3
3
  display: block;
4
4
  border-radius: clamp(0px, var(--wui-border-radius-l), 44px);
@@ -1,4 +1,4 @@
1
- import{l as o}from"./solana-D0M1N7L4.js";import"../main.js";import"./util-C_16CLeU.js";import"./wallets-B2cUxj0w.js";import"./signer-BRan8q4C.js";import"./chain-Du7paeNG.js";import"./index.es-CBqWEk7T.js";import"./index-Czf_KRcW.js";const p=o`<svg fill="none" viewBox="0 0 20 20">
1
+ import{l as o}from"./solana-C-diloCa.js";import"../main.js";import"./util-C_16CLeU.js";import"./wallets-B2cUxj0w.js";import"./signer-7-tpWjBV.js";import"./chain-DF9mIQM9.js";import"./index-Czf_KRcW.js";import"./index.es-g5_0R3zE.js";const p=o`<svg fill="none" viewBox="0 0 20 20">
2
2
  <path
3
3
  fill="currentColor"
4
4
  fill-rule="evenodd"
@@ -1,4 +1,4 @@
1
- import{l as a}from"./solana-D0M1N7L4.js";import"../main.js";import"./util-C_16CLeU.js";import"./wallets-B2cUxj0w.js";import"./signer-BRan8q4C.js";import"./chain-Du7paeNG.js";import"./index.es-CBqWEk7T.js";import"./index-Czf_KRcW.js";const p=a`
1
+ import{l as a}from"./solana-C-diloCa.js";import"../main.js";import"./util-C_16CLeU.js";import"./wallets-B2cUxj0w.js";import"./signer-7-tpWjBV.js";import"./chain-DF9mIQM9.js";import"./index-Czf_KRcW.js";import"./index.es-g5_0R3zE.js";const p=a`
2
2
  <svg fill="none" viewBox="0 0 48 44">
3
3
  <path
4
4
  style="fill: var(--wui-color-bg-300);"