@qitqode/qitqode-android-arm64 0.1.30 → 0.1.32

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 (417) hide show
  1. package/bundle/{chunk-37n34pzd.js → chunk-01my2y0c.js} +1 -1
  2. package/bundle/{chunk-ejjea8hh.js → chunk-02jtpxe0.js} +1 -1
  3. package/bundle/{chunk-6qy1ghrx.js → chunk-05mce0j3.js} +1 -1
  4. package/bundle/chunk-096pd6c4.js +2 -0
  5. package/bundle/{chunk-g1dwbvkg.js → chunk-0bbs01f0.js} +1 -1
  6. package/bundle/chunk-0c2p3a6v.js +2 -0
  7. package/bundle/chunk-0c5rxty9.js +2 -0
  8. package/bundle/{chunk-j6emx6jn.js → chunk-0dt0bxz6.js} +2 -2
  9. package/bundle/chunk-0e86gt9r.js +2 -0
  10. package/bundle/{chunk-mskwkcgj.js → chunk-0mx2psfc.js} +1 -1
  11. package/bundle/chunk-0p27fvfr.js +2 -0
  12. package/bundle/chunk-0qs1vx97.js +2 -0
  13. package/bundle/{chunk-f45tp3e3.js → chunk-0v0vqbn5.js} +1 -1
  14. package/bundle/{chunk-be216spx.js → chunk-10bjs581.js} +2 -2
  15. package/bundle/{chunk-bss414qz.js → chunk-12vef2pr.js} +1 -1
  16. package/bundle/{chunk-jm1ptn8n.js → chunk-15hw2z9t.js} +1 -1
  17. package/bundle/chunk-15j5cn4t.js +2 -0
  18. package/bundle/{chunk-srh4xvsj.js → chunk-1gx18dm5.js} +1 -1
  19. package/bundle/chunk-1r95p0tp.js +2 -0
  20. package/bundle/chunk-1rhhhm88.js +2 -0
  21. package/bundle/{chunk-b0syck9r.js → chunk-1sgahe1s.js} +1 -1
  22. package/bundle/{chunk-26nfphsg.js → chunk-1vb79bw1.js} +1 -1
  23. package/bundle/chunk-1wbjh23g.js +2 -0
  24. package/bundle/chunk-20702epe.js +2 -0
  25. package/bundle/{chunk-371r2111.js → chunk-24jg9d61.js} +1 -1
  26. package/bundle/chunk-257me4z3.js +800 -0
  27. package/bundle/{chunk-1sgby720.js → chunk-2hc5z7b5.js} +1 -1
  28. package/bundle/{chunk-yq3m8190.js → chunk-2maqde7w.js} +2 -2
  29. package/bundle/{chunk-mrw279k3.js → chunk-2phz0bn9.js} +1 -1
  30. package/bundle/{chunk-b8tw709r.js → chunk-2vn41ecx.js} +1 -1
  31. package/bundle/chunk-2wajs9xv.js +2 -0
  32. package/bundle/{chunk-w87a3mzm.js → chunk-2zq4k837.js} +1 -1
  33. package/bundle/{chunk-1bhvt33f.js → chunk-31qrzrwy.js} +1 -1
  34. package/bundle/{chunk-d5bxan80.js → chunk-326p5b10.js} +2 -2
  35. package/bundle/{chunk-0df4kede.js → chunk-33e9y2aw.js} +1 -1
  36. package/bundle/{chunk-zcm2jdr5.js → chunk-35xk4g91.js} +1 -1
  37. package/bundle/{chunk-5fz8tph5.js → chunk-3632wgg1.js} +1 -1
  38. package/bundle/{chunk-1ngtxja9.js → chunk-3bxg5bta.js} +1 -1
  39. package/bundle/{chunk-mgk9sh16.js → chunk-3c6p8tm3.js} +1 -1
  40. package/bundle/{chunk-fqw4y7x0.js → chunk-3nx7112w.js} +2 -2
  41. package/bundle/{chunk-n26yf3he.js → chunk-3wetyrjs.js} +1 -1
  42. package/bundle/{chunk-2jmxt3fb.js → chunk-40efytmk.js} +1 -1
  43. package/bundle/chunk-42p59wm4.js +2 -0
  44. package/bundle/chunk-4512pvca.js +2 -0
  45. package/bundle/chunk-456bmaww.js +2 -0
  46. package/bundle/{chunk-c5e6sk9c.js → chunk-48ge2ryx.js} +1 -1
  47. package/bundle/chunk-48pajrnt.js +2 -0
  48. package/bundle/{chunk-12bssxd4.js → chunk-4cnwn1rh.js} +2 -2
  49. package/bundle/chunk-4fy9c54h.js +2 -0
  50. package/bundle/{chunk-4tbwha3m.js → chunk-4jtxtkj7.js} +2 -2
  51. package/bundle/chunk-4sc82a27.js +2 -0
  52. package/bundle/chunk-52bam8g7.js +2 -0
  53. package/bundle/{chunk-6fp8a9ek.js → chunk-53bqcctj.js} +1 -1
  54. package/bundle/{chunk-hwbyqezq.js → chunk-56z7x7h4.js} +2 -2
  55. package/bundle/chunk-59y8q9m5.js +2 -0
  56. package/bundle/chunk-59yqvk48.js +3 -0
  57. package/bundle/{chunk-a1pw9r6f.js → chunk-5hw6xa49.js} +2 -2
  58. package/bundle/{chunk-8qkhddq3.js → chunk-5jx0yadh.js} +2 -2
  59. package/bundle/chunk-5pb551dx.js +2 -0
  60. package/bundle/{chunk-qrey2gwb.js → chunk-5q4harvc.js} +2 -2
  61. package/bundle/chunk-5tray1fw.js +3 -0
  62. package/bundle/{chunk-my6sz5d6.js → chunk-60v5jvgt.js} +1 -1
  63. package/bundle/chunk-634pnryq.js +2 -0
  64. package/bundle/chunk-64ezpbwt.js +2 -0
  65. package/bundle/{chunk-5fgx6fa4.js → chunk-69nzndk7.js} +1 -1
  66. package/bundle/{chunk-k8ss3135.js → chunk-6aqyhfag.js} +218 -218
  67. package/bundle/{chunk-chmrvbbj.js → chunk-6d5rrre9.js} +1 -1
  68. package/bundle/{chunk-g3dhsmbt.js → chunk-6hpgb8h4.js} +3 -3
  69. package/bundle/{chunk-drs1gv2b.js → chunk-6kp07m7p.js} +1 -1
  70. package/bundle/{chunk-wy46mbwt.js → chunk-6phh70sp.js} +1 -1
  71. package/bundle/{chunk-v2zp22r3.js → chunk-70ck4v3t.js} +1 -1
  72. package/bundle/{chunk-2tnarng3.js → chunk-71sjjjr8.js} +1 -1
  73. package/bundle/{chunk-ds69qc8b.js → chunk-71xz70r9.js} +1 -1
  74. package/bundle/{chunk-2dzk5txw.js → chunk-73e409hd.js} +1 -1
  75. package/bundle/chunk-764fksh3.js +2 -0
  76. package/bundle/{chunk-g7rjtehn.js → chunk-78ymd20x.js} +1 -1
  77. package/bundle/{chunk-szr0f7k2.js → chunk-7avcnwv8.js} +1 -1
  78. package/bundle/{chunk-z8v2tsz2.js → chunk-7hm0c2yg.js} +1 -1
  79. package/bundle/chunk-7mke41x0.js +2 -0
  80. package/bundle/chunk-7ry9cvby.js +2 -0
  81. package/bundle/chunk-7tr9ejyk.js +7 -0
  82. package/bundle/chunk-7wczs9mx.js +2 -0
  83. package/bundle/{chunk-aztre27e.js → chunk-7xm75w1e.js} +1 -1
  84. package/bundle/{chunk-s3yna2wm.js → chunk-7z5jh4ra.js} +1 -1
  85. package/bundle/chunk-7z777y9k.js +2 -0
  86. package/bundle/{chunk-vj62pc0h.js → chunk-81qwdg5s.js} +1 -1
  87. package/bundle/chunk-85wcc1tp.js +3 -0
  88. package/bundle/chunk-89w3yhf8.js +2 -0
  89. package/bundle/chunk-8dwq41q1.js +28 -0
  90. package/bundle/{chunk-6hv59ere.js → chunk-8hytwgwf.js} +1 -1
  91. package/bundle/{chunk-wz0zcddf.js → chunk-8n20thvd.js} +2 -2
  92. package/bundle/{chunk-s07j8hfy.js → chunk-8qswepp2.js} +1 -1
  93. package/bundle/{chunk-bpbptx89.js → chunk-8r6ht39z.js} +1 -1
  94. package/bundle/chunk-8v96pmqn.js +2 -0
  95. package/bundle/chunk-8y2scz6z.js +2 -0
  96. package/bundle/chunk-8zx7vnx6.js +2 -0
  97. package/bundle/{chunk-qhc90p4a.js → chunk-93p131d5.js} +1 -1
  98. package/bundle/chunk-94a76f8w.js +2 -0
  99. package/bundle/{chunk-ppfjf7qx.js → chunk-9emq67vc.js} +1 -1
  100. package/bundle/{chunk-bvkq0a5q.js → chunk-9f1z9xce.js} +1 -1
  101. package/bundle/{chunk-dcvatax2.js → chunk-9gazyynx.js} +2 -2
  102. package/bundle/chunk-9ng7jjp7.js +2 -0
  103. package/bundle/chunk-9tpgnjy8.js +2 -0
  104. package/bundle/{chunk-mk6cddvd.js → chunk-a1wdeapb.js} +1 -1
  105. package/bundle/{chunk-qjn86fc0.js → chunk-a7amey9s.js} +1 -1
  106. package/bundle/chunk-a7ym9f0v.js +2 -0
  107. package/bundle/chunk-a8f2xvy3.js +2 -0
  108. package/bundle/chunk-a99cvwta.js +2 -0
  109. package/bundle/{chunk-42f7p0hq.js → chunk-ad72gb5f.js} +2 -2
  110. package/bundle/{chunk-89v6dgpp.js → chunk-ag8kz1e7.js} +2 -2
  111. package/bundle/{chunk-zv6pjtz1.js → chunk-avf8v3hb.js} +1 -1
  112. package/bundle/chunk-avys5mnz.js +2 -0
  113. package/bundle/chunk-axvjd10y.js +2 -0
  114. package/bundle/{chunk-m612agnk.js → chunk-ay8emwym.js} +1 -1
  115. package/bundle/chunk-b4pphqab.js +2 -0
  116. package/bundle/chunk-b6087ak4.js +2 -0
  117. package/bundle/{chunk-msegx0t7.js → chunk-b8gjz6bk.js} +1 -1
  118. package/bundle/{chunk-gf0pdgjs.js → chunk-bh53dz71.js} +1 -1
  119. package/bundle/chunk-bn0h9dny.js +10 -0
  120. package/bundle/chunk-brkqxbjy.js +2 -0
  121. package/bundle/{chunk-09kba1hg.js → chunk-c11d28qn.js} +2 -2
  122. package/bundle/chunk-c26qxt5g.js +2 -0
  123. package/bundle/chunk-c6zscb38.js +2 -0
  124. package/bundle/{chunk-ddnpx1yx.js → chunk-caj1b9y7.js} +5 -5
  125. package/bundle/{chunk-pekm54ce.js → chunk-cfgvm15x.js} +1 -1
  126. package/bundle/{chunk-v4xcysh0.js → chunk-chpr8ekb.js} +1 -1
  127. package/bundle/chunk-cjww2jmv.js +3 -0
  128. package/bundle/{chunk-m67tcnk4.js → chunk-ck2gfaba.js} +1 -1
  129. package/bundle/{chunk-9j1qqdr2.js → chunk-cphrgyp6.js} +1 -1
  130. package/bundle/{chunk-eb9mytjq.js → chunk-ctaze2hn.js} +1 -1
  131. package/bundle/{chunk-5qam3c8r.js → chunk-cxnfy6qk.js} +1 -1
  132. package/bundle/{chunk-cafzcmrg.js → chunk-d07p6fpk.js} +2 -2
  133. package/bundle/chunk-d0damw6y.js +2 -0
  134. package/bundle/{chunk-b8bytvka.js → chunk-d3ermm6d.js} +2 -2
  135. package/bundle/{chunk-4qqkqrn9.js → chunk-d6ry9418.js} +2 -2
  136. package/bundle/{chunk-sn4nez18.js → chunk-d9hbhkbq.js} +2 -2
  137. package/bundle/{chunk-ztc3gm8y.js → chunk-dactgryw.js} +1 -1
  138. package/bundle/chunk-dafmkrhn.js +2 -0
  139. package/bundle/{chunk-dfnv7vkn.js → chunk-db405hjg.js} +1 -1
  140. package/bundle/chunk-dgprdym0.js +2 -0
  141. package/bundle/{chunk-7yrhe3xq.js → chunk-dnwefyhv.js} +1 -1
  142. package/bundle/chunk-dryzt12j.js +2 -0
  143. package/bundle/chunk-dsamees2.js +2 -0
  144. package/bundle/{chunk-xpc2zgj7.js → chunk-dxpj0cxh.js} +2 -2
  145. package/bundle/{chunk-yjtdgcq5.js → chunk-dynv30gm.js} +1 -1
  146. package/bundle/chunk-dyqpxx3b.js +2 -0
  147. package/bundle/{chunk-2rs39vj2.js → chunk-e01wnqvc.js} +1 -1
  148. package/bundle/{chunk-2vepzgek.js → chunk-e10py6yr.js} +1 -1
  149. package/bundle/chunk-e5mv5wnt.js +2 -0
  150. package/bundle/{chunk-qv2s39dv.js → chunk-e7ny0b3x.js} +1 -1
  151. package/bundle/{chunk-n8h6x2en.js → chunk-ejrhvy38.js} +1 -1
  152. package/bundle/{chunk-dq9kpj4a.js → chunk-enpzvmtc.js} +1 -1
  153. package/bundle/chunk-ew9pdrp9.js +3 -0
  154. package/bundle/{chunk-gj3hzx3d.js → chunk-ezfy0b6q.js} +2 -2
  155. package/bundle/{chunk-2km50rd3.js → chunk-fgg9txzb.js} +1 -1
  156. package/bundle/{chunk-b9za12y1.js → chunk-fn9h4ync.js} +1 -1
  157. package/bundle/{chunk-ngchsw2g.js → chunk-fvzwbjh8.js} +1 -1
  158. package/bundle/{chunk-nzehfpxp.js → chunk-g10d6x57.js} +1 -1
  159. package/bundle/{chunk-zyhdxggp.js → chunk-g5rabwre.js} +2 -2
  160. package/bundle/{chunk-kfsb2stm.js → chunk-g7ccdh7r.js} +1 -1
  161. package/bundle/{chunk-phxrg7aw.js → chunk-gagtmjmp.js} +2 -2
  162. package/bundle/{chunk-yp0a8q29.js → chunk-gb00fh4z.js} +3 -3
  163. package/bundle/{chunk-hw1dmx28.js → chunk-gbpvs0fx.js} +1 -1
  164. package/bundle/{chunk-j8efst22.js → chunk-gj0wt0cy.js} +1 -1
  165. package/bundle/{chunk-2q96x1t5.js → chunk-gsar6xda.js} +1 -1
  166. package/bundle/{chunk-xs3xtz6x.js → chunk-gt31468k.js} +1 -1
  167. package/bundle/{chunk-ecn8gbtz.js → chunk-gwp17r03.js} +1 -1
  168. package/bundle/chunk-gwzw92jt.js +2 -0
  169. package/bundle/chunk-gz8sz7z1.js +9 -0
  170. package/bundle/{chunk-2bn4b42t.js → chunk-h2afsbm1.js} +1 -1
  171. package/bundle/{chunk-tj78jsp9.js → chunk-h4j5xzc8.js} +1 -1
  172. package/bundle/chunk-h6f3kbz2.js +2 -0
  173. package/bundle/{chunk-b3dqcbsc.js → chunk-hbbsbyyq.js} +1 -1
  174. package/bundle/{chunk-2gerf08b.js → chunk-hnvn2c25.js} +2 -2
  175. package/bundle/{chunk-vn7nkrqb.js → chunk-hnzegjgv.js} +1 -1
  176. package/bundle/chunk-hp7tssgv.js +2 -0
  177. package/bundle/chunk-ht0hbdmx.js +2 -0
  178. package/bundle/{chunk-j9pcnkkq.js → chunk-ht5w06x7.js} +2 -2
  179. package/bundle/{chunk-a1p2f16h.js → chunk-htz93dsd.js} +2 -2
  180. package/bundle/{chunk-q6ztpfcs.js → chunk-jbx3s7nw.js} +2 -2
  181. package/bundle/{chunk-hxz2rdjq.js → chunk-jdynx7m6.js} +1 -1
  182. package/bundle/{chunk-h9pvnp5c.js → chunk-jef04wyf.js} +1 -1
  183. package/bundle/{chunk-ct48575c.js → chunk-jh0bw59r.js} +1 -1
  184. package/bundle/{chunk-knpt9n8f.js → chunk-jrqb0jwy.js} +1 -1
  185. package/bundle/{chunk-1dwcga8g.js → chunk-js1n8tgv.js} +1 -1
  186. package/bundle/chunk-k1txw65h.js +2 -0
  187. package/bundle/chunk-k5atbdbm.js +2 -0
  188. package/bundle/chunk-k75jqg60.js +3 -0
  189. package/bundle/{chunk-yn6sbycg.js → chunk-k7aenxan.js} +2 -2
  190. package/bundle/{chunk-1rp1cvmc.js → chunk-kf167jw7.js} +1 -1
  191. package/bundle/{chunk-wsy0m70r.js → chunk-kfxv5rfg.js} +1 -1
  192. package/bundle/{chunk-btz9jvec.js → chunk-kj20f048.js} +1 -1
  193. package/bundle/{chunk-j5kb0y1m.js → chunk-kq6b222y.js} +1 -1
  194. package/bundle/{chunk-1t9jne14.js → chunk-ktzq4ha1.js} +1 -1
  195. package/bundle/{chunk-5v4py9p2.js → chunk-m2q317gh.js} +1 -1
  196. package/bundle/chunk-mahgmbt9.js +2 -0
  197. package/bundle/{chunk-1qshjfzm.js → chunk-mk1bfzg5.js} +1 -1
  198. package/bundle/{chunk-2y90ad1v.js → chunk-mqd1jsg2.js} +1 -1
  199. package/bundle/{chunk-t12xrrfr.js → chunk-mzs2pjyc.js} +2 -2
  200. package/bundle/{chunk-m02zt1a3.js → chunk-n9xns8by.js} +2 -2
  201. package/bundle/chunk-ngm6pqyt.js +2 -0
  202. package/bundle/chunk-ngtavamt.js +2 -0
  203. package/bundle/chunk-nkhc32s3.js +2 -0
  204. package/bundle/{chunk-wpajh5s5.js → chunk-nkkch4h7.js} +1 -1
  205. package/bundle/chunk-npse2xrd.js +2 -0
  206. package/bundle/{chunk-k7gq9bra.js → chunk-nv3eyyaj.js} +1 -1
  207. package/bundle/{chunk-ab6cabxh.js → chunk-p18axz0m.js} +1 -1
  208. package/bundle/{chunk-jje0srjq.js → chunk-p62gb4wj.js} +1 -1
  209. package/bundle/chunk-p6e4vqy7.js +2 -0
  210. package/bundle/{chunk-m1h5a4vg.js → chunk-p9qfbr02.js} +1 -1
  211. package/bundle/{chunk-ggqst87g.js → chunk-pe29yy6s.js} +1 -1
  212. package/bundle/{chunk-yy526n9c.js → chunk-pje60pj2.js} +1 -1
  213. package/bundle/{chunk-3n1324bt.js → chunk-pp2eqkse.js} +1 -1
  214. package/bundle/{chunk-x067eetw.js → chunk-pp6vhqrr.js} +1 -1
  215. package/bundle/chunk-pqkjhn8h.js +2 -0
  216. package/bundle/{chunk-ezja6njs.js → chunk-pv67gwce.js} +1 -1
  217. package/bundle/{chunk-b3rpzkcb.js → chunk-q7vasbxn.js} +1 -1
  218. package/bundle/chunk-qadw6j20.js +2 -0
  219. package/bundle/{chunk-89q1y7tc.js → chunk-qc8rsn4v.js} +1 -1
  220. package/bundle/chunk-qd8w2gkd.js +2 -0
  221. package/bundle/chunk-qggcszs2.js +2 -0
  222. package/bundle/{chunk-q1v2pytx.js → chunk-qrsveve6.js} +1 -1
  223. package/bundle/chunk-r7sqdfad.js +2 -0
  224. package/bundle/chunk-r8m7rtfc.js +2 -0
  225. package/bundle/{chunk-7ppd2phw.js → chunk-rbk8seme.js} +1 -1
  226. package/bundle/chunk-rf12t4n5.js +2 -0
  227. package/bundle/{chunk-04tw0r4s.js → chunk-rg0mrprz.js} +1 -1
  228. package/bundle/{chunk-cdhmc0t0.js → chunk-rjd8gbs5.js} +1 -1
  229. package/bundle/chunk-rkyf0cp8.js +2 -0
  230. package/bundle/chunk-rpgne7xh.js +2 -0
  231. package/bundle/chunk-rvgj1vky.js +2 -0
  232. package/bundle/{chunk-c01z3cvg.js → chunk-rvkrgkeq.js} +1 -1
  233. package/bundle/chunk-rza530gm.js +5 -0
  234. package/bundle/{chunk-2ahqhh4z.js → chunk-rzhdkkpz.js} +1 -1
  235. package/bundle/chunk-s3mnrhbx.js +5 -0
  236. package/bundle/chunk-s6ktx2sx.js +2 -0
  237. package/bundle/{chunk-kqn9h2gk.js → chunk-skqbaadf.js} +1 -1
  238. package/bundle/chunk-ss2jvqrg.js +2 -0
  239. package/bundle/{chunk-ydp0q1hk.js → chunk-ss2ms1r3.js} +1 -1
  240. package/bundle/{chunk-1fbeendk.js → chunk-t56r99hp.js} +1 -1
  241. package/bundle/{chunk-xc5044tm.js → chunk-t8m74g39.js} +1 -1
  242. package/bundle/{chunk-s6bar2f9.js → chunk-t9mz17gb.js} +2 -2
  243. package/bundle/{chunk-cvdxgsq1.js → chunk-tq0239xp.js} +1 -1
  244. package/bundle/{chunk-whxjkz9a.js → chunk-tqj69nh6.js} +2 -2
  245. package/bundle/{chunk-hj5y7fvk.js → chunk-tt30dybd.js} +1 -1
  246. package/bundle/{chunk-5a5t01ka.js → chunk-tvdmnee6.js} +1 -1
  247. package/bundle/chunk-tvwwq4b3.js +2 -0
  248. package/bundle/{chunk-dhjp0zx2.js → chunk-v1xjc3s8.js} +1 -1
  249. package/bundle/chunk-v2n26eg4.js +2 -0
  250. package/bundle/chunk-vcw00k0n.js +3 -0
  251. package/bundle/{chunk-7jbz3dgt.js → chunk-vhe0tth1.js} +1 -1
  252. package/bundle/{chunk-yfkvjphe.js → chunk-vvxmwyrw.js} +1 -1
  253. package/bundle/{chunk-p68rwmhc.js → chunk-vxyy2dp3.js} +2 -2
  254. package/bundle/{chunk-y2v09y71.js → chunk-vywnd5sf.js} +1 -1
  255. package/bundle/{chunk-0jgsp4c2.js → chunk-w18xs2h5.js} +1 -1
  256. package/bundle/{chunk-fjgyrsbw.js → chunk-w7vh8cxt.js} +1 -1
  257. package/bundle/chunk-w8saweey.js +2 -0
  258. package/bundle/chunk-we9cv8we.js +8 -0
  259. package/bundle/chunk-wezarrvy.js +2 -0
  260. package/bundle/{chunk-d6r4xwtg.js → chunk-wfb608qf.js} +3 -3
  261. package/bundle/{chunk-3g1yz39h.js → chunk-whe7h2mj.js} +1 -1
  262. package/bundle/chunk-wmqsdt2c.js +3 -0
  263. package/bundle/chunk-wqj0xasg.js +2 -0
  264. package/bundle/chunk-wr42tphe.js +2 -0
  265. package/bundle/chunk-x24y7qyd.js +2 -0
  266. package/bundle/{chunk-07g7cybt.js → chunk-x25zkrz7.js} +1 -1
  267. package/bundle/{chunk-tr8sf0dk.js → chunk-x3y2xzhn.js} +1 -1
  268. package/bundle/{chunk-27yxgy03.js → chunk-x4sp99g6.js} +1 -1
  269. package/bundle/{chunk-3nwve06r.js → chunk-x562b0xk.js} +1 -1
  270. package/bundle/{chunk-61c62e5s.js → chunk-x7k5yeey.js} +1 -1
  271. package/bundle/{chunk-fkgv2hqd.js → chunk-x9rbv6p6.js} +1 -1
  272. package/bundle/{chunk-wnqwb6fd.js → chunk-xcmgkc57.js} +1 -1
  273. package/bundle/chunk-xj765svc.js +3 -0
  274. package/bundle/{chunk-gm85xefs.js → chunk-xm7wascx.js} +1 -1
  275. package/bundle/{chunk-whcg14sc.js → chunk-xrs18kzn.js} +1 -1
  276. package/bundle/{chunk-6nbzdb0r.js → chunk-xthkjax9.js} +1 -1
  277. package/bundle/{chunk-scnz207s.js → chunk-xvwvd4kq.js} +2 -2
  278. package/bundle/{chunk-zb0me4kk.js → chunk-xzrb857v.js} +1 -1
  279. package/bundle/chunk-y2d0w09y.js +2 -0
  280. package/bundle/{chunk-3nyqh1d6.js → chunk-y3b4k38p.js} +1 -1
  281. package/bundle/{chunk-svvgv1s0.js → chunk-y6123zvq.js} +1 -1
  282. package/bundle/chunk-y7sy3w6z.js +2 -0
  283. package/bundle/{chunk-vg2fmyje.js → chunk-y9q0hb7b.js} +2 -2
  284. package/bundle/chunk-yb79f79m.js +2 -0
  285. package/bundle/{chunk-fnbpap62.js → chunk-yek0sk2q.js} +1 -1
  286. package/bundle/{chunk-wfs4pcwa.js → chunk-ygs5pzk7.js} +4 -4
  287. package/bundle/{chunk-3bmzjznz.js → chunk-yhbcbjfk.js} +1 -1
  288. package/bundle/{chunk-sermjas1.js → chunk-yjf3kyej.js} +1 -1
  289. package/bundle/chunk-yjnyzpmt.js +2 -0
  290. package/bundle/{chunk-0a0vat1h.js → chunk-yp5bypsp.js} +2 -2
  291. package/bundle/{chunk-h0rpmne5.js → chunk-yp8wyzzm.js} +1 -1
  292. package/bundle/chunk-yqbcnsa1.js +2 -0
  293. package/bundle/{chunk-4xh1qm90.js → chunk-yv0xrnn9.js} +1 -1
  294. package/bundle/chunk-z3mra3nm.js +2 -0
  295. package/bundle/chunk-za7mwbye.js +2 -0
  296. package/bundle/chunk-zaks8cae.js +11 -0
  297. package/bundle/{chunk-0fmbz83g.js → chunk-zcsgqk9f.js} +1 -1
  298. package/bundle/chunk-zqqx96jx.js +3 -0
  299. package/bundle/{chunk-snm5q21k.js → chunk-zs8kqdsf.js} +2 -2
  300. package/bundle/{chunk-y062spw2.js → chunk-zscer8rc.js} +1 -1
  301. package/bundle/{chunk-qjjch1zt.js → chunk-zw815d68.js} +2 -2
  302. package/bundle/chunk-zy9w1vkc.js +2 -0
  303. package/bundle/index.js +3 -3
  304. package/bundle/parser.worker.js +2 -2
  305. package/bundle/worker.js +1 -1
  306. package/package.json +1 -1
  307. package/bundle/chunk-07ws99b1.js +0 -2
  308. package/bundle/chunk-09c4ngag.js +0 -2
  309. package/bundle/chunk-0ch32p4c.js +0 -3
  310. package/bundle/chunk-0jgst767.js +0 -2
  311. package/bundle/chunk-0psrr9vp.js +0 -2
  312. package/bundle/chunk-1j73cnvz.js +0 -2
  313. package/bundle/chunk-1yddn03z.js +0 -2
  314. package/bundle/chunk-27dgtm8r.js +0 -2
  315. package/bundle/chunk-2ec6ps8r.js +0 -5
  316. package/bundle/chunk-38g8yzw0.js +0 -2
  317. package/bundle/chunk-3bkd0ar3.js +0 -2
  318. package/bundle/chunk-3f4zht9e.js +0 -2
  319. package/bundle/chunk-3pxnp6jb.js +0 -2
  320. package/bundle/chunk-3szwfy7w.js +0 -3
  321. package/bundle/chunk-426dt7be.js +0 -2
  322. package/bundle/chunk-4amgp4yd.js +0 -3
  323. package/bundle/chunk-4p5e5tsz.js +0 -28
  324. package/bundle/chunk-4pjm21a5.js +0 -2
  325. package/bundle/chunk-4sz3jbc5.js +0 -2
  326. package/bundle/chunk-58x5seqn.js +0 -2
  327. package/bundle/chunk-5xe6x2rt.js +0 -2
  328. package/bundle/chunk-618tmyx9.js +0 -2
  329. package/bundle/chunk-6d9wsjxm.js +0 -2
  330. package/bundle/chunk-730a2d1k.js +0 -2
  331. package/bundle/chunk-76wrw0cs.js +0 -2
  332. package/bundle/chunk-7bd0x9vf.js +0 -2
  333. package/bundle/chunk-7czkntef.js +0 -2
  334. package/bundle/chunk-7ex57nyh.js +0 -2
  335. package/bundle/chunk-7gpczxbh.js +0 -2
  336. package/bundle/chunk-7j0bgeh2.js +0 -2
  337. package/bundle/chunk-7py443fe.js +0 -2
  338. package/bundle/chunk-90q5sae0.js +0 -2
  339. package/bundle/chunk-9amwe0ed.js +0 -2
  340. package/bundle/chunk-9grvepmd.js +0 -2
  341. package/bundle/chunk-9hrh15p2.js +0 -2
  342. package/bundle/chunk-a0v55ywn.js +0 -8
  343. package/bundle/chunk-a2qz9m10.js +0 -2
  344. package/bundle/chunk-av6ezvxm.js +0 -2
  345. package/bundle/chunk-beksar7w.js +0 -2
  346. package/bundle/chunk-bg66rqrx.js +0 -2
  347. package/bundle/chunk-bn15mzd7.js +0 -2
  348. package/bundle/chunk-bt6yw07v.js +0 -2
  349. package/bundle/chunk-cy9s1ma5.js +0 -2
  350. package/bundle/chunk-d0nkvp57.js +0 -2
  351. package/bundle/chunk-dvk2wwjj.js +0 -2
  352. package/bundle/chunk-dxe29jj6.js +0 -2
  353. package/bundle/chunk-e0jy9qxd.js +0 -2
  354. package/bundle/chunk-eercqt72.js +0 -2
  355. package/bundle/chunk-efxd6b2k.js +0 -2
  356. package/bundle/chunk-eneawsj8.js +0 -2
  357. package/bundle/chunk-f72pppr7.js +0 -2
  358. package/bundle/chunk-feyphhxd.js +0 -2
  359. package/bundle/chunk-fnnch1e9.js +0 -2
  360. package/bundle/chunk-ft93f33g.js +0 -3
  361. package/bundle/chunk-gk34kh8p.js +0 -2
  362. package/bundle/chunk-gn50xqbd.js +0 -2
  363. package/bundle/chunk-h6rv626m.js +0 -2
  364. package/bundle/chunk-h7s2w1e2.js +0 -2
  365. package/bundle/chunk-hmv2cdnz.js +0 -2
  366. package/bundle/chunk-ht81ensf.js +0 -2
  367. package/bundle/chunk-hxpgs78j.js +0 -5
  368. package/bundle/chunk-j59ktwny.js +0 -2
  369. package/bundle/chunk-jmz2mq3t.js +0 -2
  370. package/bundle/chunk-jvqbvgjy.js +0 -11
  371. package/bundle/chunk-k309zez0.js +0 -3
  372. package/bundle/chunk-k3fn3yed.js +0 -2
  373. package/bundle/chunk-kpw6nghv.js +0 -2
  374. package/bundle/chunk-m5ghbt5y.js +0 -2
  375. package/bundle/chunk-mj4bepvj.js +0 -2
  376. package/bundle/chunk-mn41f9qv.js +0 -2
  377. package/bundle/chunk-mqjf9sbm.js +0 -2
  378. package/bundle/chunk-n5gwrrbb.js +0 -2
  379. package/bundle/chunk-nfjhem1c.js +0 -2
  380. package/bundle/chunk-ngytjdg2.js +0 -3
  381. package/bundle/chunk-nj4d554m.js +0 -11
  382. package/bundle/chunk-nrc3bj9p.js +0 -2
  383. package/bundle/chunk-nt4e3em9.js +0 -3
  384. package/bundle/chunk-nxyyn2ra.js +0 -2
  385. package/bundle/chunk-p5tceb4k.js +0 -2
  386. package/bundle/chunk-pvpy9kq1.js +0 -800
  387. package/bundle/chunk-qjgm3e2p.js +0 -2
  388. package/bundle/chunk-qt80mhdn.js +0 -2
  389. package/bundle/chunk-qtw5nrr4.js +0 -2
  390. package/bundle/chunk-rc9ex3vt.js +0 -2
  391. package/bundle/chunk-s9672vvv.js +0 -2
  392. package/bundle/chunk-sbyey0qb.js +0 -2
  393. package/bundle/chunk-shpq6es1.js +0 -3
  394. package/bundle/chunk-sj5v361q.js +0 -2
  395. package/bundle/chunk-ta3k9syc.js +0 -2
  396. package/bundle/chunk-tk5afan4.js +0 -2
  397. package/bundle/chunk-tpndnprb.js +0 -2
  398. package/bundle/chunk-v965rsr8.js +0 -3
  399. package/bundle/chunk-vcmrrt8b.js +0 -3
  400. package/bundle/chunk-vcrn3v70.js +0 -2
  401. package/bundle/chunk-vwxfgea7.js +0 -2
  402. package/bundle/chunk-w0kgcz1t.js +0 -2
  403. package/bundle/chunk-wgpsmxqx.js +0 -7
  404. package/bundle/chunk-wksczmes.js +0 -2
  405. package/bundle/chunk-wsxta33r.js +0 -2
  406. package/bundle/chunk-xck0sq3k.js +0 -2
  407. package/bundle/chunk-xjyhtm8r.js +0 -2
  408. package/bundle/chunk-xm08fc2q.js +0 -3
  409. package/bundle/chunk-ygc5qegv.js +0 -2
  410. package/bundle/chunk-yjqmzm51.js +0 -2
  411. package/bundle/chunk-yzc53n88.js +0 -2
  412. package/bundle/chunk-yzjc15vp.js +0 -9
  413. package/bundle/chunk-z7y9pdj7.js +0 -2
  414. package/bundle/chunk-z8g819cz.js +0 -2
  415. package/bundle/chunk-z8r65yw3.js +0 -2
  416. package/bundle/chunk-zt1nbwmm.js +0 -2
  417. package/bundle/chunk-zz36xg2n.js +0 -2
@@ -1,4 +1,4 @@
1
1
  // @bun
2
- import{aQ as O,dQ as n}from"./chunk-aztre27e.js";var m=O((Y6,nq)=>{var V8=Number.MAX_SAFE_INTEGER||9007199254740991,X8=["major","premajor","minor","preminor","patch","prepatch","prerelease"];nq.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:16,MAX_SAFE_BUILD_LENGTH:250,MAX_SAFE_INTEGER:V8,RELEASE_TYPES:X8,SEMVER_SPEC_VERSION:"2.0.0",FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}});var s=O((W6,aq)=>{var O8=typeof process==="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...q)=>console.error("SEMVER",...q):()=>{};aq.exports=O8});var p=O((u,iq)=>{var{MAX_SAFE_COMPONENT_LENGTH:Aq,MAX_SAFE_BUILD_LENGTH:F8,MAX_LENGTH:x8}=m(),D8=s();u=iq.exports={};var U8=u.re=[],N8=u.safeRe=[],V=u.src=[],L8=u.safeSrc=[],X=u.t={},G8=0,Cq="[a-zA-Z0-9-]",P8=[["\\s",1],["\\d",x8],[Cq,F8]],A8=(q)=>{for(let[Z,$]of P8)q=q.split(`${Z}*`).join(`${Z}{0,${$}}`).split(`${Z}+`).join(`${Z}{1,${$}}`);return q},D=(q,Z,$)=>{let Q=A8(Z),K=G8++;D8(q,K,Z),X[q]=K,V[K]=Z,L8[K]=Q,U8[K]=new RegExp(Z,$?"g":void 0),N8[K]=new RegExp(Q,$?"g":void 0)};D("NUMERICIDENTIFIER","0|[1-9]\\d*");D("NUMERICIDENTIFIERLOOSE","\\d+");D("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${Cq}*`);D("MAINVERSION",`(${V[X.NUMERICIDENTIFIER]})\\.(${V[X.NUMERICIDENTIFIER]})\\.(${V[X.NUMERICIDENTIFIER]})`);D("MAINVERSIONLOOSE",`(${V[X.NUMERICIDENTIFIERLOOSE]})\\.(${V[X.NUMERICIDENTIFIERLOOSE]})\\.(${V[X.NUMERICIDENTIFIERLOOSE]})`);D("PRERELEASEIDENTIFIER",`(?:${V[X.NONNUMERICIDENTIFIER]}|${V[X.NUMERICIDENTIFIER]})`);D("PRERELEASEIDENTIFIERLOOSE",`(?:${V[X.NONNUMERICIDENTIFIER]}|${V[X.NUMERICIDENTIFIERLOOSE]})`);D("PRERELEASE",`(?:-(${V[X.PRERELEASEIDENTIFIER]}(?:\\.${V[X.PRERELEASEIDENTIFIER]})*))`);D("PRERELEASELOOSE",`(?:-?(${V[X.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${V[X.PRERELEASEIDENTIFIERLOOSE]})*))`);D("BUILDIDENTIFIER",`${Cq}+`);D("BUILD",`(?:\\+(${V[X.BUILDIDENTIFIER]}(?:\\.${V[X.BUILDIDENTIFIER]})*))`);D("FULLPLAIN",`v?${V[X.MAINVERSION]}${V[X.PRERELEASE]}?${V[X.BUILD]}?`);D("FULL",`^${V[X.FULLPLAIN]}$`);D("LOOSEPLAIN",`[v=\\s]*${V[X.MAINVERSIONLOOSE]}${V[X.PRERELEASELOOSE]}?${V[X.BUILD]}?`);D("LOOSE",`^${V[X.LOOSEPLAIN]}$`);D("GTLT","((?:<|>)?=?)");D("XRANGEIDENTIFIERLOOSE",`${V[X.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);D("XRANGEIDENTIFIER",`${V[X.NUMERICIDENTIFIER]}|x|X|\\*`);D("XRANGEPLAIN",`[v=\\s]*(${V[X.XRANGEIDENTIFIER]})(?:\\.(${V[X.XRANGEIDENTIFIER]})(?:\\.(${V[X.XRANGEIDENTIFIER]})(?:${V[X.PRERELEASE]})?${V[X.BUILD]}?)?)?`);D("XRANGEPLAINLOOSE",`[v=\\s]*(${V[X.XRANGEIDENTIFIERLOOSE]})(?:\\.(${V[X.XRANGEIDENTIFIERLOOSE]})(?:\\.(${V[X.XRANGEIDENTIFIERLOOSE]})(?:${V[X.PRERELEASELOOSE]})?${V[X.BUILD]}?)?)?`);D("XRANGE",`^${V[X.GTLT]}\\s*${V[X.XRANGEPLAIN]}$`);D("XRANGELOOSE",`^${V[X.GTLT]}\\s*${V[X.XRANGEPLAINLOOSE]}$`);D("COERCEPLAIN",`(^|[^\\d])(\\d{1,${Aq}})(?:\\.(\\d{1,${Aq}}))?(?:\\.(\\d{1,${Aq}}))?`);D("COERCE",`${V[X.COERCEPLAIN]}(?:$|[^\\d])`);D("COERCEFULL",V[X.COERCEPLAIN]+`(?:${V[X.PRERELEASE]})?(?:${V[X.BUILD]})?(?:$|[^\\d])`);D("COERCERTL",V[X.COERCE],!0);D("COERCERTLFULL",V[X.COERCEFULL],!0);D("LONETILDE","(?:~>?)");D("TILDETRIM",`(\\s*)${V[X.LONETILDE]}\\s+`,!0);u.tildeTrimReplace="$1~";D("TILDE",`^${V[X.LONETILDE]}${V[X.XRANGEPLAIN]}$`);D("TILDELOOSE",`^${V[X.LONETILDE]}${V[X.XRANGEPLAINLOOSE]}$`);D("LONECARET","(?:\\^)");D("CARETTRIM",`(\\s*)${V[X.LONECARET]}\\s+`,!0);u.caretTrimReplace="$1^";D("CARET",`^${V[X.LONECARET]}${V[X.XRANGEPLAIN]}$`);D("CARETLOOSE",`^${V[X.LONECARET]}${V[X.XRANGEPLAINLOOSE]}$`);D("COMPARATORLOOSE",`^${V[X.GTLT]}\\s*(${V[X.LOOSEPLAIN]})$|^$`);D("COMPARATOR",`^${V[X.GTLT]}\\s*(${V[X.FULLPLAIN]})$|^$`);D("COMPARATORTRIM",`(\\s*)${V[X.GTLT]}\\s*(${V[X.LOOSEPLAIN]}|${V[X.XRANGEPLAIN]})`,!0);u.comparatorTrimReplace="$1$2$3";D("HYPHENRANGE",`^\\s*(${V[X.XRANGEPLAIN]})\\s+-\\s+(${V[X.XRANGEPLAIN]})\\s*$`);D("HYPHENRANGELOOSE",`^\\s*(${V[X.XRANGEPLAINLOOSE]})\\s+-\\s+(${V[X.XRANGEPLAINLOOSE]})\\s*$`);D("STAR","(<|>)?=?\\s*\\*");D("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$");D("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")});var Wq=O((z6,sq)=>{var C8=Object.freeze({loose:!0}),E8=Object.freeze({}),H8=(q)=>{if(!q)return E8;if(typeof q!=="object")return C8;return q};sq.exports=H8});var Eq=O((_6,tq)=>{var rq=/^[0-9]+$/,oq=(q,Z)=>{if(typeof q==="number"&&typeof Z==="number")return q===Z?0:q<Z?-1:1;let $=rq.test(q),Q=rq.test(Z);if($&&Q)q=+q,Z=+Z;return q===Z?0:$&&!Q?-1:Q&&!$?1:q<Z?-1:1},k8=(q,Z)=>oq(Z,q);tq.exports={compareIdentifiers:oq,rcompareIdentifiers:k8}});var R=O((I6,q0)=>{var zq=s(),{MAX_LENGTH:eq,MAX_SAFE_INTEGER:_q}=m(),{safeRe:Iq,t:Bq}=p(),R8=Wq(),{compareIdentifiers:Hq}=Eq(),y8=(q,Z)=>{let $=Z.split(".");if($.length>q.length)return!1;for(let Q=0;Q<$.length;Q++)if(Hq(q[Q],$[Q])!==0)return!1;return!0};class v{constructor(q,Z){if(Z=R8(Z),q instanceof v)if(q.loose===!!Z.loose&&q.includePrerelease===!!Z.includePrerelease)return q;else q=q.version;else if(typeof q!=="string")throw TypeError(`Invalid version. Must be a string. Got type "${typeof q}".`);if(q.length>eq)throw TypeError(`version is longer than ${eq} characters`);zq("SemVer",q,Z),this.options=Z,this.loose=!!Z.loose,this.includePrerelease=!!Z.includePrerelease;let $=q.trim().match(Z.loose?Iq[Bq.LOOSE]:Iq[Bq.FULL]);if(!$)throw TypeError(`Invalid Version: ${q}`);if(this.raw=q,this.major=+$[1],this.minor=+$[2],this.patch=+$[3],this.major>_q||this.major<0)throw TypeError("Invalid major version");if(this.minor>_q||this.minor<0)throw TypeError("Invalid minor version");if(this.patch>_q||this.patch<0)throw TypeError("Invalid patch version");if(!$[4])this.prerelease=[];else this.prerelease=$[4].split(".").map((Q)=>{if(/^[0-9]+$/.test(Q)){let K=+Q;if(K>=0&&K<_q)return K}return Q});this.build=$[5]?$[5].split("."):[],this.format()}format(){if(this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length)this.version+=`-${this.prerelease.join(".")}`;return this.version}toString(){return this.version}compare(q){if(zq("SemVer.compare",this.version,this.options,q),!(q instanceof v)){if(typeof q==="string"&&q===this.version)return 0;q=new v(q,this.options)}if(q.version===this.version)return 0;return this.compareMain(q)||this.comparePre(q)}compareMain(q){if(!(q instanceof v))q=new v(q,this.options);if(this.major<q.major)return-1;if(this.major>q.major)return 1;if(this.minor<q.minor)return-1;if(this.minor>q.minor)return 1;if(this.patch<q.patch)return-1;if(this.patch>q.patch)return 1;return 0}comparePre(q){if(!(q instanceof v))q=new v(q,this.options);if(this.prerelease.length&&!q.prerelease.length)return-1;else if(!this.prerelease.length&&q.prerelease.length)return 1;else if(!this.prerelease.length&&!q.prerelease.length)return 0;let Z=0;do{let $=this.prerelease[Z],Q=q.prerelease[Z];if(zq("prerelease compare",Z,$,Q),$===void 0&&Q===void 0)return 0;else if(Q===void 0)return 1;else if($===void 0)return-1;else if($===Q)continue;else return Hq($,Q)}while(++Z)}compareBuild(q){if(!(q instanceof v))q=new v(q,this.options);let Z=0;do{let $=this.build[Z],Q=q.build[Z];if(zq("build compare",Z,$,Q),$===void 0&&Q===void 0)return 0;else if(Q===void 0)return 1;else if($===void 0)return-1;else if($===Q)continue;else return Hq($,Q)}while(++Z)}inc(q,Z,$){if(q.startsWith("pre")){if(!Z&&$===!1)throw Error("invalid increment argument: identifier is empty");if(Z){let Q=`-${Z}`.match(this.options.loose?Iq[Bq.PRERELEASELOOSE]:Iq[Bq.PRERELEASE]);if(!Q||Q[1]!==Z)throw Error(`invalid identifier: ${Z}`)}}switch(q){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",Z,$);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",Z,$);break;case"prepatch":this.prerelease.length=0,this.inc("patch",Z,$),this.inc("pre",Z,$);break;case"prerelease":if(this.prerelease.length===0)this.inc("patch",Z,$);this.inc("pre",Z,$);break;case"release":if(this.prerelease.length===0)throw Error(`version ${this.raw} is not a prerelease`);this.prerelease.length=0;break;case"major":if(this.minor!==0||this.patch!==0||this.prerelease.length===0)this.major++;this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":if(this.patch!==0||this.prerelease.length===0)this.minor++;this.patch=0,this.prerelease=[];break;case"patch":if(this.prerelease.length===0)this.patch++;this.prerelease=[];break;case"pre":{let Q=Number($)?1:0;if(this.prerelease.length===0)this.prerelease=[Q];else{let K=this.prerelease.length;while(--K>=0)if(typeof this.prerelease[K]==="number")this.prerelease[K]++,K=-2;if(K===-1){if(Z===this.prerelease.join(".")&&$===!1)throw Error("invalid increment argument: identifier already exists");this.prerelease.push(Q)}}if(Z){let K=[Z,Q];if($===!1)K=[Z];if(y8(this.prerelease,Z)){let Y=this.prerelease[Z.split(".").length];if(isNaN(Y))this.prerelease=K}else this.prerelease=K}break}default:throw Error(`invalid increment argument: ${q}`)}if(this.raw=this.format(),this.build.length)this.raw+=`+${this.build.join(".")}`;return this}}q0.exports=v});var d=O((B6,$0)=>{var Z0=R(),w8=(q,Z,$=!1)=>{if(q instanceof Z0)return q;try{return new Z0(q,Z)}catch(Q){if(!$)return null;throw Q}};$0.exports=w8});var K0=O((J6,Q0)=>{var S8=d(),T8=(q,Z)=>{let $=S8(q,Z);return $?$.version:null};Q0.exports=T8});var W0=O((V6,Y0)=>{var j8=d(),M8=(q,Z)=>{let $=j8(q.trim().replace(/^[=v]+/,""),Z);return $?$.version:null};Y0.exports=M8});var I0=O((X6,_0)=>{var z0=R(),b8=(q,Z,$,Q,K)=>{if(typeof $==="string")K=Q,Q=$,$=void 0;try{return new z0(q instanceof z0?q.version:q,$).inc(Z,Q,K).version}catch(Y){return null}};_0.exports=b8});var V0=O((O6,J0)=>{var B0=d(),v8=(q,Z)=>{let $=B0(q,null,!0),Q=B0(Z,null,!0),K=$.compare(Q);if(K===0)return null;let Y=K>0,W=Y?$:Q,z=Y?Q:$,_=!!W.prerelease.length;if(!!z.prerelease.length&&!_){if(!z.patch&&!z.minor)return"major";if(z.compareMain(W)===0){if(z.minor&&!z.patch)return"minor";return"patch"}}let J=_?"pre":"";if($.major!==Q.major)return J+"major";if($.minor!==Q.minor)return J+"minor";if($.patch!==Q.patch)return J+"patch";return"prerelease"};J0.exports=v8});var O0=O((F6,X0)=>{var u8=R(),f8=(q,Z)=>new u8(q,Z).major;X0.exports=f8});var x0=O((x6,F0)=>{var d8=R(),h8=(q,Z)=>new d8(q,Z).minor;F0.exports=h8});var U0=O((D6,D0)=>{var l8=R(),g8=(q,Z)=>new l8(q,Z).patch;D0.exports=g8});var L0=O((U6,N0)=>{var c8=d(),m8=(q,Z)=>{let $=c8(q,Z);return $&&$.prerelease.length?$.prerelease:null};N0.exports=m8});var M=O((N6,P0)=>{var G0=R(),p8=(q,Z,$)=>new G0(q,$).compare(new G0(Z,$));P0.exports=p8});var C0=O((L6,A0)=>{var n8=M(),a8=(q,Z,$)=>n8(Z,q,$);A0.exports=a8});var H0=O((G6,E0)=>{var i8=M(),s8=(q,Z)=>i8(q,Z,!0);E0.exports=s8});var Jq=O((P6,R0)=>{var k0=R(),r8=(q,Z,$)=>{let Q=new k0(q,$),K=new k0(Z,$);return Q.compare(K)||Q.compareBuild(K)};R0.exports=r8});var w0=O((A6,y0)=>{var o8=Jq(),t8=(q,Z)=>q.sort(($,Q)=>o8($,Q,Z));y0.exports=t8});var T0=O((C6,S0)=>{var e8=Jq(),q9=(q,Z)=>q.sort(($,Q)=>e8(Q,$,Z));S0.exports=q9});var r=O((E6,j0)=>{var Z9=M(),$9=(q,Z,$)=>Z9(q,Z,$)>0;j0.exports=$9});var Vq=O((H6,M0)=>{var Q9=M(),K9=(q,Z,$)=>Q9(q,Z,$)<0;M0.exports=K9});var kq=O((k6,b0)=>{var Y9=M(),W9=(q,Z,$)=>Y9(q,Z,$)===0;b0.exports=W9});var Rq=O((R6,v0)=>{var z9=M(),_9=(q,Z,$)=>z9(q,Z,$)!==0;v0.exports=_9});var Xq=O((y6,u0)=>{var I9=M(),B9=(q,Z,$)=>I9(q,Z,$)>=0;u0.exports=B9});var Oq=O((w6,f0)=>{var J9=M(),V9=(q,Z,$)=>J9(q,Z,$)<=0;f0.exports=V9});var yq=O((S6,d0)=>{var X9=kq(),O9=Rq(),F9=r(),x9=Xq(),D9=Vq(),U9=Oq(),N9=(q,Z,$,Q)=>{switch(Z){case"===":if(typeof q==="object")q=q.version;if(typeof $==="object")$=$.version;return q===$;case"!==":if(typeof q==="object")q=q.version;if(typeof $==="object")$=$.version;return q!==$;case"":case"=":case"==":return X9(q,$,Q);case"!=":return O9(q,$,Q);case">":return F9(q,$,Q);case">=":return x9(q,$,Q);case"<":return D9(q,$,Q);case"<=":return U9(q,$,Q);default:throw TypeError(`Invalid operator: ${Z}`)}};d0.exports=N9});var l0=O((T6,h0)=>{var L9=R(),G9=d(),{safeRe:Fq,t:xq}=p(),P9=(q,Z)=>{if(q instanceof L9)return q;if(typeof q==="number")q=String(q);if(typeof q!=="string")return null;Z=Z||{};let $=null;if(!Z.rtl)$=q.match(Z.includePrerelease?Fq[xq.COERCEFULL]:Fq[xq.COERCE]);else{let _=Z.includePrerelease?Fq[xq.COERCERTLFULL]:Fq[xq.COERCERTL],I;while((I=_.exec(q))&&(!$||$.index+$[0].length!==q.length)){if(!$||I.index+I[0].length!==$.index+$[0].length)$=I;_.lastIndex=I.index+I[1].length+I[2].length}_.lastIndex=-1}if($===null)return null;let Q=$[2],K=$[3]||"0",Y=$[4]||"0",W=Z.includePrerelease&&$[5]?`-${$[5]}`:"",z=Z.includePrerelease&&$[6]?`+${$[6]}`:"";return G9(`${Q}.${K}.${Y}${W}${z}`,Z)};h0.exports=P9});var c0=O((j6,g0)=>{var A9=d(),C9=m(),E9=R(),H9=(q,Z,$)=>{if(!C9.RELEASE_TYPES.includes(Z))return null;let Q=k9(q,$);return Q&&R9(Q,Z)},k9=(q,Z)=>{let $=q instanceof E9?q.version:q;return A9($,Z)},R9=(q,Z)=>{if(y9(Z))return q.version;switch(q.prerelease=[],Z){case"major":q.minor=0,q.patch=0;break;case"minor":q.patch=0;break}return q.format()},y9=(q)=>{return q.startsWith("pre")};g0.exports=H9});var n0=O((M6,p0)=>{class m0{constructor(){this.max=1000,this.map=new Map}get(q){let Z=this.map.get(q);if(Z===void 0)return;else return this.map.delete(q),this.map.set(q,Z),Z}delete(q){return this.map.delete(q)}set(q,Z){if(!this.delete(q)&&Z!==void 0){if(this.map.size>=this.max){let Q=this.map.keys().next().value;this.delete(Q)}this.map.set(q,Z)}return this}}p0.exports=m0});var b=O((b6,r0)=>{var w9=/\s+/g;class o{constructor(q,Z){if(Z=T9(Z),q instanceof o)if(q.loose===!!Z.loose&&q.includePrerelease===!!Z.includePrerelease)return q;else return new o(q.raw,Z);if(q instanceof wq)return this.raw=q.value,this.set=[[q]],this.formatted=void 0,this;if(this.options=Z,this.loose=!!Z.loose,this.includePrerelease=!!Z.includePrerelease,this.raw=q.trim().replace(w9," "),this.set=this.raw.split("||").map(($)=>this.parseRange($.trim())).filter(($)=>$.length),!this.set.length)throw TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){let $=this.set[0];if(this.set=this.set.filter((Q)=>!i0(Q[0])),this.set.length===0)this.set=[$];else if(this.set.length>1){for(let Q of this.set)if(Q.length===1&&l9(Q[0])){this.set=[Q];break}}}this.formatted=void 0}get range(){if(this.formatted===void 0){this.formatted="";for(let q=0;q<this.set.length;q++){if(q>0)this.formatted+="||";let Z=this.set[q];for(let $=0;$<Z.length;$++){if($>0)this.formatted+=" ";this.formatted+=Z[$].toString().trim()}}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange(q){q=q.replace(h9,"");let $=((this.options.includePrerelease&&f9)|(this.options.loose&&d9))+":"+q,Q=a0.get($);if(Q)return Q;let K=this.options.loose,Y=K?S[y.HYPHENRANGELOOSE]:S[y.HYPHENRANGE];q=q.replace(Y,o9(this.options.includePrerelease)),P("hyphen replace",q),q=q.replace(S[y.COMPARATORTRIM],b9),P("comparator trim",q),q=q.replace(S[y.TILDETRIM],v9),P("tilde trim",q),q=q.replace(S[y.CARETTRIM],u9),P("caret trim",q);let W=q.split(" ").map((J)=>g9(J,this.options)).join(" ").split(/\s+/).map((J)=>r9(J,this.options));if(K)W=W.filter((J)=>{return P("loose invalid filter",J,this.options),!!J.match(S[y.COMPARATORLOOSE])});P("range list",W);let z=new Map,_=W.map((J)=>new wq(J,this.options));for(let J of _){if(i0(J))return[J];z.set(J.value,J)}if(z.size>1&&z.has(""))z.delete("");let I=[...z.values()];return a0.set($,I),I}intersects(q,Z){if(!(q instanceof o))throw TypeError("a Range is required");return this.set.some(($)=>{return s0($,Z)&&q.set.some((Q)=>{return s0(Q,Z)&&$.every((K)=>{return Q.every((Y)=>{return K.intersects(Y,Z)})})})})}test(q){if(!q)return!1;if(typeof q==="string")try{q=new j9(q,this.options)}catch(Z){return!1}for(let Z=0;Z<this.set.length;Z++)if(t9(this.set[Z],q,this.options))return!0;return!1}}r0.exports=o;var S9=n0(),a0=new S9,T9=Wq(),wq=t(),P=s(),j9=R(),{safeRe:S,src:M9,t:y,comparatorTrimReplace:b9,tildeTrimReplace:v9,caretTrimReplace:u9}=p(),{FLAG_INCLUDE_PRERELEASE:f9,FLAG_LOOSE:d9}=m(),h9=new RegExp(M9[y.BUILD],"g"),i0=(q)=>q.value==="<0.0.0-0",l9=(q)=>q.value==="",s0=(q,Z)=>{let $=!0,Q=q.slice(),K=Q.pop();while($&&Q.length)$=Q.every((Y)=>{return K.intersects(Y,Z)}),K=Q.pop();return $},g9=(q,Z)=>{return q=q.replace(S[y.BUILD],""),P("comp",q,Z),q=p9(q,Z),P("caret",q),q=c9(q,Z),P("tildes",q),q=a9(q,Z),P("xrange",q),q=s9(q,Z),P("stars",q),q},T=(q)=>!q||q.toLowerCase()==="x"||q==="*",c9=(q,Z)=>{return q.trim().split(/\s+/).map(($)=>m9($,Z)).join(" ")},m9=(q,Z)=>{let $=Z.loose?S[y.TILDELOOSE]:S[y.TILDE];return q.replace($,(Q,K,Y,W,z)=>{P("tilde",q,Q,K,Y,W,z);let _;if(T(K))_="";else if(T(Y))_=`>=${K}.0.0 <${+K+1}.0.0-0`;else if(T(W))_=`>=${K}.${Y}.0 <${K}.${+Y+1}.0-0`;else if(z)P("replaceTilde pr",z),_=`>=${K}.${Y}.${W}-${z} <${K}.${+Y+1}.0-0`;else _=`>=${K}.${Y}.${W} <${K}.${+Y+1}.0-0`;return P("tilde return",_),_})},p9=(q,Z)=>{return q.trim().split(/\s+/).map(($)=>n9($,Z)).join(" ")},n9=(q,Z)=>{P("caret",q,Z);let $=Z.loose?S[y.CARETLOOSE]:S[y.CARET],Q=Z.includePrerelease?"-0":"";return q.replace($,(K,Y,W,z,_)=>{P("caret",q,K,Y,W,z,_);let I;if(T(Y))I="";else if(T(W))I=`>=${Y}.0.0${Q} <${+Y+1}.0.0-0`;else if(T(z))if(Y==="0")I=`>=${Y}.${W}.0${Q} <${Y}.${+W+1}.0-0`;else I=`>=${Y}.${W}.0${Q} <${+Y+1}.0.0-0`;else if(_)if(P("replaceCaret pr",_),Y==="0")if(W==="0")I=`>=${Y}.${W}.${z}-${_} <${Y}.${W}.${+z+1}-0`;else I=`>=${Y}.${W}.${z}-${_} <${Y}.${+W+1}.0-0`;else I=`>=${Y}.${W}.${z}-${_} <${+Y+1}.0.0-0`;else if(P("no pr"),Y==="0")if(W==="0")I=`>=${Y}.${W}.${z}${Q} <${Y}.${W}.${+z+1}-0`;else I=`>=${Y}.${W}.${z}${Q} <${Y}.${+W+1}.0-0`;else I=`>=${Y}.${W}.${z} <${+Y+1}.0.0-0`;return P("caret return",I),I})},a9=(q,Z)=>{return P("replaceXRanges",q,Z),q.split(/\s+/).map(($)=>i9($,Z)).join(" ")},i9=(q,Z)=>{q=q.trim();let $=Z.loose?S[y.XRANGELOOSE]:S[y.XRANGE];return q.replace($,(Q,K,Y,W,z,_)=>{P("xRange",q,Q,K,Y,W,z,_);let I=T(Y),J=I||T(W),F=J||T(z),N=F;if(K==="="&&N)K="";if(_=Z.includePrerelease?"-0":"",I)if(K===">"||K==="<")Q="<0.0.0-0";else Q="*";else if(K&&N){if(J)W=0;if(z=0,K===">")if(K=">=",J)Y=+Y+1,W=0,z=0;else W=+W+1,z=0;else if(K==="<=")if(K="<",J)Y=+Y+1;else W=+W+1;if(K==="<")_="-0";Q=`${K+Y}.${W}.${z}${_}`}else if(J)Q=`>=${Y}.0.0${_} <${+Y+1}.0.0-0`;else if(F)Q=`>=${Y}.${W}.0${_} <${Y}.${+W+1}.0-0`;return P("xRange return",Q),Q})},s9=(q,Z)=>{return P("replaceStars",q,Z),q.trim().replace(S[y.STAR],"")},r9=(q,Z)=>{return P("replaceGTE0",q,Z),q.trim().replace(S[Z.includePrerelease?y.GTE0PRE:y.GTE0],"")},o9=(q)=>(Z,$,Q,K,Y,W,z,_,I,J,F,N)=>{if(T(Q))$="";else if(T(K))$=`>=${Q}.0.0${q?"-0":""}`;else if(T(Y))$=`>=${Q}.${K}.0${q?"-0":""}`;else if(W)$=`>=${$}`;else $=`>=${$}${q?"-0":""}`;if(T(I))_="";else if(T(J))_=`<${+I+1}.0.0-0`;else if(T(F))_=`<${I}.${+J+1}.0-0`;else if(N)_=`<=${I}.${J}.${F}-${N}`;else if(q)_=`<${I}.${J}.${+F+1}-0`;else _=`<=${_}`;return`${$} ${_}`.trim()},t9=(q,Z,$)=>{for(let Q=0;Q<q.length;Q++)if(!q[Q].test(Z))return!1;if(Z.prerelease.length&&!$.includePrerelease){for(let Q=0;Q<q.length;Q++){if(P(q[Q].semver),q[Q].semver===wq.ANY)continue;if(q[Q].semver.prerelease.length>0){let K=q[Q].semver;if(K.major===Z.major&&K.minor===Z.minor&&K.patch===Z.patch)return!0}}return!1}return!0}});var t=O((v6,$1)=>{var e=Symbol("SemVer ANY");class Dq{static get ANY(){return e}constructor(q,Z){if(Z=o0(Z),q instanceof Dq)if(q.loose===!!Z.loose)return q;else q=q.value;if(q=q.trim().split(/\s+/).join(" "),Tq("comparator",q,Z),this.options=Z,this.loose=!!Z.loose,this.parse(q),this.semver===e)this.value="";else this.value=this.operator+this.semver.version;Tq("comp",this)}parse(q){let Z=this.options.loose?t0[e0.COMPARATORLOOSE]:t0[e0.COMPARATOR],$=q.match(Z);if(!$)throw TypeError(`Invalid comparator: ${q}`);if(this.operator=$[1]!==void 0?$[1]:"",this.operator==="=")this.operator="";if(!$[2])this.semver=e;else this.semver=new q1($[2],this.options.loose)}toString(){return this.value}test(q){if(Tq("Comparator.test",q,this.options.loose),this.semver===e||q===e)return!0;if(typeof q==="string")try{q=new q1(q,this.options)}catch(Z){return!1}return Sq(q,this.operator,this.semver,this.options)}intersects(q,Z){if(!(q instanceof Dq))throw TypeError("a Comparator is required");if(this.operator===""){if(this.value==="")return!0;return new Z1(q.value,Z).test(this.value)}else if(q.operator===""){if(q.value==="")return!0;return new Z1(this.value,Z).test(q.semver)}if(Z=o0(Z),Z.includePrerelease&&(this.value==="<0.0.0-0"||q.value==="<0.0.0-0"))return!1;if(!Z.includePrerelease&&(this.value.startsWith("<0.0.0")||q.value.startsWith("<0.0.0")))return!1;if(this.operator.startsWith(">")&&q.operator.startsWith(">"))return!0;if(this.operator.startsWith("<")&&q.operator.startsWith("<"))return!0;if(this.semver.version===q.semver.version&&this.operator.includes("=")&&q.operator.includes("="))return!0;if(Sq(this.semver,"<",q.semver,Z)&&this.operator.startsWith(">")&&q.operator.startsWith("<"))return!0;if(Sq(this.semver,">",q.semver,Z)&&this.operator.startsWith("<")&&q.operator.startsWith(">"))return!0;return!1}}$1.exports=Dq;var o0=Wq(),{safeRe:t0,t:e0}=p(),Sq=yq(),Tq=s(),q1=R(),Z1=b()});var qq=O((u6,Q1)=>{var e9=b(),qZ=(q,Z,$)=>{try{Z=new e9(Z,$)}catch(Q){return!1}return Z.test(q)};Q1.exports=qZ});var Y1=O((f6,K1)=>{var ZZ=b(),$Z=(q,Z)=>new ZZ(q,Z).set.map(($)=>$.map((Q)=>Q.value).join(" ").trim().split(" "));K1.exports=$Z});var z1=O((d6,W1)=>{var QZ=R(),KZ=b(),YZ=(q,Z,$)=>{let Q=null,K=null,Y=null;try{Y=new KZ(Z,$)}catch(W){return null}return q.forEach((W)=>{if(Y.test(W)){if(!Q||K.compare(W)===-1)Q=W,K=new QZ(Q,$)}}),Q};W1.exports=YZ});var I1=O((h6,_1)=>{var WZ=R(),zZ=b(),_Z=(q,Z,$)=>{let Q=null,K=null,Y=null;try{Y=new zZ(Z,$)}catch(W){return null}return q.forEach((W)=>{if(Y.test(W)){if(!Q||K.compare(W)===1)Q=W,K=new WZ(Q,$)}}),Q};_1.exports=_Z});var V1=O((l6,J1)=>{var jq=R(),IZ=b(),B1=r(),BZ=(q,Z)=>{q=new IZ(q,Z);let $=new jq("0.0.0");if(q.test($))return $;if($=new jq("0.0.0-0"),q.test($))return $;$=null;for(let Q=0;Q<q.set.length;++Q){let K=q.set[Q],Y=null;if(K.forEach((W)=>{let z=new jq(W.semver.version);switch(W.operator){case">":if(z.prerelease.length===0)z.patch++;else z.prerelease.push(0);z.raw=z.format();case"":case">=":if(!Y||B1(z,Y))Y=z;break;case"<":case"<=":break;default:throw Error(`Unexpected operation: ${W.operator}`)}}),Y&&(!$||B1($,Y)))$=Y}if($&&q.test($))return $;return null};J1.exports=BZ});var O1=O((g6,X1)=>{var JZ=b(),VZ=(q,Z)=>{try{return new JZ(q,Z).range||"*"}catch($){return null}};X1.exports=VZ});var Uq=O((c6,U1)=>{var XZ=R(),D1=t(),{ANY:OZ}=D1,FZ=b(),xZ=qq(),F1=r(),x1=Vq(),DZ=Oq(),UZ=Xq(),NZ=(q,Z,$,Q)=>{q=new XZ(q,Q),Z=new FZ(Z,Q);let K,Y,W,z,_;switch($){case">":K=F1,Y=DZ,W=x1,z=">",_=">=";break;case"<":K=x1,Y=UZ,W=F1,z="<",_="<=";break;default:throw TypeError('Must provide a hilo val of "<" or ">"')}if(xZ(q,Z,Q))return!1;for(let I=0;I<Z.set.length;++I){let J=Z.set[I],F=null,N=null;if(J.forEach((B)=>{if(B.semver===OZ)B=new D1(">=0.0.0");if(F=F||B,N=N||B,K(B.semver,F.semver,Q))F=B;else if(W(B.semver,N.semver,Q))N=B}),F.operator===z||F.operator===_)return!1;if((!N.operator||N.operator===z)&&Y(q,N.semver))return!1;else if(N.operator===_&&W(q,N.semver))return!1}return!0};U1.exports=NZ});var L1=O((m6,N1)=>{var LZ=Uq(),GZ=(q,Z,$)=>LZ(q,Z,">",$);N1.exports=GZ});var P1=O((p6,G1)=>{var PZ=Uq(),AZ=(q,Z,$)=>PZ(q,Z,"<",$);G1.exports=AZ});var E1=O((n6,C1)=>{var A1=b(),CZ=(q,Z,$)=>{return q=new A1(q,$),Z=new A1(Z,$),q.intersects(Z,$)};C1.exports=CZ});var k1=O((a6,H1)=>{var EZ=qq(),HZ=M();H1.exports=(q,Z,$)=>{let Q=[],K=null,Y=null,W=q.sort((J,F)=>HZ(J,F,$));for(let J of W)if(EZ(J,Z,$)){if(Y=J,!K)K=J}else{if(Y)Q.push([K,Y]);Y=null,K=null}if(K)Q.push([K,null]);let z=[];for(let[J,F]of Q)if(J===F)z.push(J);else if(!F&&J===W[0])z.push("*");else if(!F)z.push(`>=${J}`);else if(J===W[0])z.push(`<=${F}`);else z.push(`${J} - ${F}`);let _=z.join(" || "),I=typeof Z.raw==="string"?Z.raw:String(Z);return _.length<I.length?_:Z}});var j1=O((i6,T1)=>{var R1=b(),vq=t(),{ANY:Mq}=vq,bq=qq(),uq=M(),kZ=(q,Z,$={})=>{if(q===Z)return!0;q=new R1(q,$),Z=new R1(Z,$);let Q=!1;q:for(let K of q.set){for(let Y of Z.set){let W=yZ(K,Y,$);if(Q=Q||W!==null,W)continue q}if(Q)return!1}return!0},RZ=[new vq(">=0.0.0-0")],y1=[new vq(">=0.0.0")],yZ=(q,Z,$)=>{if(q===Z)return!0;if(q.length===1&&q[0].semver===Mq)if(Z.length===1&&Z[0].semver===Mq)return!0;else if($.includePrerelease)q=RZ;else q=y1;if(Z.length===1&&Z[0].semver===Mq)if($.includePrerelease)return!0;else Z=y1;let Q=new Set,K,Y;for(let B of q)if(B.operator===">"||B.operator===">=")K=w1(K,B,$);else if(B.operator==="<"||B.operator==="<=")Y=S1(Y,B,$);else Q.add(B.semver);if(Q.size>1)return null;let W;if(K&&Y){if(W=uq(K.semver,Y.semver,$),W>0)return null;else if(W===0&&(K.operator!==">="||Y.operator!=="<="))return null}for(let B of Q){if(K&&!bq(B,String(K),$))return null;if(Y&&!bq(B,String(Y),$))return null;for(let G of Z)if(!bq(B,String(G),$))return!1;return!0}let z,_,I,J,F=Y&&!$.includePrerelease&&Y.semver.prerelease.length?Y.semver:!1,N=K&&!$.includePrerelease&&K.semver.prerelease.length?K.semver:!1;if(F&&F.prerelease.length===1&&Y.operator==="<"&&F.prerelease[0]===0)F=!1;for(let B of Z){if(J=J||B.operator===">"||B.operator===">=",I=I||B.operator==="<"||B.operator==="<=",K){if(N){if(B.semver.prerelease&&B.semver.prerelease.length&&B.semver.major===N.major&&B.semver.minor===N.minor&&B.semver.patch===N.patch)N=!1}if(B.operator===">"||B.operator===">="){if(z=w1(K,B,$),z===B&&z!==K)return!1}else if(K.operator===">="&&!B.test(K.semver))return!1}if(Y){if(F){if(B.semver.prerelease&&B.semver.prerelease.length&&B.semver.major===F.major&&B.semver.minor===F.minor&&B.semver.patch===F.patch)F=!1}if(B.operator==="<"||B.operator==="<="){if(_=S1(Y,B,$),_===B&&_!==Y)return!1}else if(Y.operator==="<="&&!B.test(Y.semver))return!1}if(!B.operator&&(Y||K)&&W!==0)return!1}if(K&&I&&!Y&&W!==0)return!1;if(Y&&J&&!K&&W!==0)return!1;if(N||F)return!1;return!0},w1=(q,Z,$)=>{if(!q)return Z;let Q=uq(q.semver,Z.semver,$);return Q>0?q:Q<0?Z:Z.operator===">"&&q.operator===">="?Z:q},S1=(q,Z,$)=>{if(!q)return Z;let Q=uq(q.semver,Z.semver,$);return Q<0?q:Q>0?Z:Z.operator==="<"&&q.operator==="<="?Z:q};T1.exports=kZ});var u1=O((s6,v1)=>{var fq=p(),M1=m(),wZ=R(),b1=Eq(),SZ=d(),TZ=K0(),jZ=W0(),MZ=I0(),bZ=V0(),vZ=O0(),uZ=x0(),fZ=U0(),dZ=L0(),hZ=M(),lZ=C0(),gZ=H0(),cZ=Jq(),mZ=w0(),pZ=T0(),nZ=r(),aZ=Vq(),iZ=kq(),sZ=Rq(),rZ=Xq(),oZ=Oq(),tZ=yq(),eZ=l0(),q5=c0(),Z5=t(),$5=b(),Q5=qq(),K5=Y1(),Y5=z1(),W5=I1(),z5=V1(),_5=O1(),I5=Uq(),B5=L1(),J5=P1(),V5=E1(),X5=k1(),O5=j1();v1.exports={parse:SZ,valid:TZ,clean:jZ,inc:MZ,diff:bZ,major:vZ,minor:uZ,patch:fZ,prerelease:dZ,compare:hZ,rcompare:lZ,compareLoose:gZ,compareBuild:cZ,sort:mZ,rsort:pZ,gt:nZ,lt:aZ,eq:iZ,neq:sZ,gte:rZ,lte:oZ,cmp:tZ,coerce:eZ,truncate:q5,Comparator:Z5,Range:$5,satisfies:Q5,toComparators:K5,maxSatisfying:Y5,minSatisfying:W5,minVersion:z5,validRange:_5,outside:I5,gtr:B5,ltr:J5,intersects:V5,simplifyRange:X5,subset:O5,SemVer:wZ,re:fq.re,src:fq.src,tokens:fq.t,SEMVER_SPEC_VERSION:M1.SEMVER_SPEC_VERSION,RELEASE_TYPES:M1.RELEASE_TYPES,compareIdentifiers:b1.compareIdentifiers,rcompareIdentifiers:b1.rcompareIdentifiers}});var d1=O((r6,f1)=>{var F5=Symbol("proc-log.meta");f1.exports={META:F5,output:{LEVELS:["standard","error","buffer","flush"],KEYS:{standard:"standard",error:"error",buffer:"buffer",flush:"flush"},standard:function(...q){return process.emit("output","standard",...q)},error:function(...q){return process.emit("output","error",...q)},buffer:function(...q){return process.emit("output","buffer",...q)},flush:function(...q){return process.emit("output","flush",...q)}},log:{LEVELS:["notice","error","warn","info","verbose","http","silly","timing","pause","resume"],KEYS:{notice:"notice",error:"error",warn:"warn",info:"info",verbose:"verbose",http:"http",silly:"silly",timing:"timing",pause:"pause",resume:"resume"},error:function(...q){return process.emit("log","error",...q)},notice:function(...q){return process.emit("log","notice",...q)},warn:function(...q){return process.emit("log","warn",...q)},info:function(...q){return process.emit("log","info",...q)},verbose:function(...q){return process.emit("log","verbose",...q)},http:function(...q){return process.emit("log","http",...q)},silly:function(...q){return process.emit("log","silly",...q)},timing:function(...q){return process.emit("log","timing",...q)},pause:function(){return process.emit("log","pause")},resume:function(){return process.emit("log","resume")}},time:{LEVELS:["start","end"],KEYS:{start:"start",end:"end"},start:function(q,Z){process.emit("time","start",q);function $(){return process.emit("time","end",q)}if(typeof Z==="function"){let Q=Z();if(Q&&Q.finally)return Q.finally($);return $(),Q}return $},end:function(q){return process.emit("time","end",q)}},input:{LEVELS:["start","end","read"],KEYS:{start:"start",end:"end",read:"read"},start:function(...q){let Z;if(typeof q[0]==="function")Z=q.shift();process.emit("input","start",...q);function $(){return process.emit("input","end",...q)}if(typeof Z==="function"){let Q=Z();if(Q&&Q.finally)return Q.finally($);return $(),Q}return $},end:function(...q){return process.emit("input","end",...q)},read:function(...q){let Z,$,Q=new Promise((K,Y)=>{Z=K,$=Y});return process.emit("input","read",Z,$,...q),Q}}}});var n1=O((m1)=>{var l1=(q,Z)=>()=>(Z||q((Z={exports:{}}).exports,Z),Z.exports),x5=l1((q)=>{Object.defineProperty(q,"__esModule",{value:!0}),q.tracing=q.metrics=void 0;var Z=n("diagnostics_channel");q.metrics=(0,Z.channel)("lru-cache:metrics"),q.tracing=(0,Z.tracingChannel)("lru-cache")}),D5=l1((q)=>{Object.defineProperty(q,"__esModule",{value:!0}),q.defaultPerf=void 0,q.defaultPerf=typeof performance=="object"&&performance&&typeof performance.now=="function"?performance:Date});Object.defineProperty(m1,"__esModule",{value:!0});m1.LRUCache=void 0;var A=x5(),U5=D5(),dq=()=>A.metrics.hasSubscribers||A.tracing.hasSubscribers,g1=new Set,h1=typeof process=="object"&&process?process:{},N5=(q,Z,$,Q)=>{typeof h1.emitWarning=="function"?h1.emitWarning(q,Z,$,Q):console.error(`[${$}] ${Z}: ${q}`)},L5=(q)=>!g1.has(q),h=(q)=>!!q&&q===Math.floor(q)&&q>0&&isFinite(q),c1=(q)=>h(q)?q<=Math.pow(2,8)?Uint8Array:q<=Math.pow(2,16)?Uint16Array:q<=Math.pow(2,32)?Uint32Array:q<=Number.MAX_SAFE_INTEGER?Nq:null:null,Nq=class extends Array{constructor(q){super(q),this.fill(0)}},G5=class q{heap;length;static#K=!1;static create(Z){let $=c1(Z);if(!$)return[];q.#K=!0;let Q=new q(Z,$);return q.#K=!1,Q}constructor(Z,$){if(!q.#K)throw TypeError("instantiate Stack using Stack.create(n)");this.heap=new $(Z),this.length=0}push(Z){this.heap[this.length++]=Z}pop(){return this.heap[--this.length]}},P5=class q{#K;#I;#Z;#y;#D;#b;#v;#U;get perf(){return this.#U}ttl;ttlResolution;ttlAutopurge;updateAgeOnGet;updateAgeOnHas;allowStale;noDisposeOnSet;noUpdateTTL;maxEntrySize;sizeCalculation;noDeleteOnFetchRejection;noDeleteOnStaleGet;allowStaleOnFetchAbort;allowStaleOnFetchRejection;ignoreFetchAbort;backgroundFetchSize;#W;#N;#Y;#Q;#q;#J;#X;#B;#z;#L;#_;#G;#P;#O;#F;#A;#u;#V;#w;static unsafeExposeInternals(Z){return{starts:Z.#P,ttls:Z.#O,autopurgeTimers:Z.#F,sizes:Z.#G,keyMap:Z.#Y,keyList:Z.#Q,valList:Z.#q,next:Z.#J,prev:Z.#X,get head(){return Z.#B},get tail(){return Z.#z},free:Z.#L,isBackgroundFetch:($)=>Z.#$($),backgroundFetch:($,Q,K,Y)=>Z.#h($,Q,K,Y),moveToTail:($)=>Z.#M($),indexes:($)=>Z.#C($),rindexes:($)=>Z.#E($),isStale:($)=>Z.#x($)}}get max(){return this.#K}get maxSize(){return this.#I}get calculatedSize(){return this.#N}get size(){return this.#W}get fetchMethod(){return this.#b}get memoMethod(){return this.#v}get dispose(){return this.#Z}get onInsert(){return this.#y}get disposeAfter(){return this.#D}constructor(Z){let{max:$=0,ttl:Q,ttlResolution:K=1,ttlAutopurge:Y,updateAgeOnGet:W,updateAgeOnHas:z,allowStale:_,dispose:I,onInsert:J,disposeAfter:F,noDisposeOnSet:N,noUpdateTTL:B,maxSize:G=0,maxEntrySize:x=0,sizeCalculation:H,fetchMethod:U,memoMethod:k,noDeleteOnFetchRejection:f,noDeleteOnStaleGet:w,allowStaleOnFetchRejection:C,allowStaleOnFetchAbort:i,ignoreFetchAbort:g,backgroundFetchSize:Yq=1,perf:c}=Z;if(this.backgroundFetchSize=Yq,c!==void 0&&typeof c?.now!="function")throw TypeError("perf option must have a now() method if specified");if(this.#U=c??U5.defaultPerf,$!==0&&!h($))throw TypeError("max option must be a nonnegative integer");let Gq=$?c1($):Array;if(!Gq)throw Error("invalid max value: "+$);if(this.#K=$,this.#I=G,this.maxEntrySize=x||this.#I,this.sizeCalculation=H,this.sizeCalculation){if(!this.#I&&!this.maxEntrySize)throw TypeError("cannot set sizeCalculation without setting maxSize or maxEntrySize");if(typeof this.sizeCalculation!="function")throw TypeError("sizeCalculation set to non-function")}if(k!==void 0&&typeof k!="function")throw TypeError("memoMethod must be a function if defined");if(this.#v=k,U!==void 0&&typeof U!="function")throw TypeError("fetchMethod must be a function if specified");if(this.#b=U,this.#u=!!U,this.#Y=new Map,this.#Q=Array.from({length:$}).fill(void 0),this.#q=Array.from({length:$}).fill(void 0),this.#J=new Gq($),this.#X=new Gq($),this.#B=0,this.#z=0,this.#L=G5.create($),this.#W=0,this.#N=0,typeof I=="function"&&(this.#Z=I),typeof J=="function"&&(this.#y=J),typeof F=="function"?(this.#D=F,this.#_=[]):(this.#D=void 0,this.#_=void 0),this.#A=!!this.#Z,this.#w=!!this.#y,this.#V=!!this.#D,this.noDisposeOnSet=!!N,this.noUpdateTTL=!!B,this.noDeleteOnFetchRejection=!!f,this.allowStaleOnFetchRejection=!!C,this.allowStaleOnFetchAbort=!!i,this.ignoreFetchAbort=!!g,this.maxEntrySize!==0){if(this.#I!==0&&!h(this.#I))throw TypeError("maxSize must be a positive integer if specified");if(!h(this.maxEntrySize))throw TypeError("maxEntrySize must be a positive integer if specified");this.#i()}if(this.allowStale=!!_,this.noDeleteOnStaleGet=!!w,this.updateAgeOnGet=!!W,this.updateAgeOnHas=!!z,this.ttlResolution=h(K)||K===0?K:1,this.ttlAutopurge=!!Y,this.ttl=Q||0,this.ttl){if(!h(this.ttl))throw TypeError("ttl must be a positive integer if specified");this.#l()}if(this.#K===0&&this.ttl===0&&this.#I===0)throw TypeError("At least one of max, maxSize, or ttl is required");if(!this.ttlAutopurge&&!this.#K&&!this.#I){let Pq="LRU_CACHE_UNBOUNDED";L5(Pq)&&(g1.add(Pq),N5("TTL caching without ttlAutopurge, max, or maxSize can result in unbounded memory consumption.","UnboundedCacheWarning",Pq,q))}}getRemainingTTL(Z){return this.#Y.has(Z)?1/0:0}#l(){let Z=new Nq(this.#K),$=new Nq(this.#K);this.#O=Z,this.#P=$;let Q=this.ttlAutopurge?Array.from({length:this.#K}):void 0;this.#F=Q,this.#g=(z,_,I=this.#U.now())=>{$[z]=_!==0?I:0,Z[z]=_,K(z,_)},this.#S=(z)=>{$[z]=Z[z]!==0?this.#U.now():0,K(z,Z[z])};let K=this.ttlAutopurge?(z,_)=>{if(Q?.[z]&&(clearTimeout(Q[z]),Q[z]=void 0),_&&_!==0&&Q){let I=setTimeout(()=>{this.#x(z)&&this.#H(this.#Q[z],"expire")},_+1);I.unref&&I.unref(),Q[z]=I}}:()=>{};this.#k=(z,_)=>{if(Z[_]){let I=Z[_],J=$[_];if(!I||!J)return;z.ttl=I,z.start=J,z.now=Y||W();let F=z.now-J;z.remainingTTL=I-F}};let Y=0,W=()=>{let z=this.#U.now();if(this.ttlResolution>0){Y=z;let _=setTimeout(()=>Y=0,this.ttlResolution);_.unref&&_.unref()}return z};this.getRemainingTTL=(z)=>{let _=this.#Y.get(z);if(_===void 0)return 0;let I=Z[_],J=$[_];if(!I||!J)return 1/0;let F=(Y||W())-J;return I-F},this.#x=(z)=>{let _=$[z],I=Z[z];return!!I&&!!_&&(Y||W())-_>I}}#S=()=>{};#k=()=>{};#g=()=>{};#x=()=>!1;#i(){let Z=new Nq(this.#K);this.#N=0,this.#G=Z,this.#T=($)=>{this.#N-=Z[$],Z[$]=0},this.#c=($,Q,K,Y)=>{if(!h(K)){if(this.#$(Q))return this.backgroundFetchSize;if(Y){if(typeof Y!="function")throw TypeError("sizeCalculation must be a function");if(K=Y(Q,$),!h(K))throw TypeError("sizeCalculation return invalid (expect positive integer)")}else throw TypeError("invalid size value (must be positive integer). When maxSize or maxEntrySize is used, sizeCalculation or size must be set.")}return K},this.#f=($,Q,K)=>{if(Z[$]=Q,this.#I){let Y=this.#I-Z[$];for(;this.#N>Y;)this.#d(!0)}this.#N+=Z[$],K&&(K.entrySize=Q,K.totalCalculatedSize=this.#N)}}#T=(Z)=>{};#f=(Z,$,Q)=>{};#c=(Z,$,Q,K)=>{if(Q||K)throw TypeError("cannot set size without setting maxSize or maxEntrySize on cache");return 0};*#C({allowStale:Z=this.allowStale}={}){if(this.#W)for(let $=this.#z;this.#m($)&&((Z||!this.#x($))&&(yield $),$!==this.#B);)$=this.#X[$]}*#E({allowStale:Z=this.allowStale}={}){if(this.#W)for(let $=this.#B;this.#m($)&&((Z||!this.#x($))&&(yield $),$!==this.#z);)$=this.#J[$]}#m(Z){return Z!==void 0&&this.#Y.get(this.#Q[Z])===Z}*entries(){for(let Z of this.#C())this.#q[Z]!==void 0&&this.#Q[Z]!==void 0&&!this.#$(this.#q[Z])&&(yield[this.#Q[Z],this.#q[Z]])}*rentries(){for(let Z of this.#E())this.#q[Z]!==void 0&&this.#Q[Z]!==void 0&&!this.#$(this.#q[Z])&&(yield[this.#Q[Z],this.#q[Z]])}*keys(){for(let Z of this.#C()){let $=this.#Q[Z];$!==void 0&&!this.#$(this.#q[Z])&&(yield $)}}*rkeys(){for(let Z of this.#E()){let $=this.#Q[Z];$!==void 0&&!this.#$(this.#q[Z])&&(yield $)}}*values(){for(let Z of this.#C())this.#q[Z]!==void 0&&!this.#$(this.#q[Z])&&(yield this.#q[Z])}*rvalues(){for(let Z of this.#E())this.#q[Z]!==void 0&&!this.#$(this.#q[Z])&&(yield this.#q[Z])}[Symbol.iterator](){return this.entries()}[Symbol.toStringTag]="LRUCache";find(Z,$={}){for(let Q of this.#C()){let K=this.#q[Q],Y=this.#$(K)?K.__staleWhileFetching:K;if(Y!==void 0&&Z(Y,this.#Q[Q],this))return this.#j(this.#Q[Q],$)}}forEach(Z,$=this){for(let Q of this.#C()){let K=this.#q[Q],Y=this.#$(K)?K.__staleWhileFetching:K;Y!==void 0&&Z.call($,Y,this.#Q[Q],this)}}rforEach(Z,$=this){for(let Q of this.#E()){let K=this.#q[Q],Y=this.#$(K)?K.__staleWhileFetching:K;Y!==void 0&&Z.call($,Y,this.#Q[Q],this)}}purgeStale(){let Z=!1;for(let $ of this.#E({allowStale:!0}))this.#x($)&&(this.#H(this.#Q[$],"expire"),Z=!0);return Z}info(Z){let $=this.#Y.get(Z);if($===void 0)return;let Q=this.#q[$],K=this.#$(Q)?Q.__staleWhileFetching:Q;if(K===void 0)return;let Y={value:K};if(this.#O&&this.#P){let W=this.#O[$],z=this.#P[$];if(W&&z){let _=W-(this.#U.now()-z);Y.ttl=_,Y.start=Date.now()}}return this.#G&&(Y.size=this.#G[$]),Y}dump(){let Z=[];for(let $ of this.#C({allowStale:!0})){let Q=this.#Q[$],K=this.#q[$],Y=this.#$(K)?K.__staleWhileFetching:K;if(Y===void 0||Q===void 0)continue;let W={value:Y};if(this.#O&&this.#P){W.ttl=this.#O[$];let z=this.#U.now()-this.#P[$];W.start=Math.floor(Date.now()-z)}this.#G&&(W.size=this.#G[$]),Z.unshift([Q,W])}return Z}load(Z){this.clear();for(let[$,Q]of Z){if(Q.start){let K=Date.now()-Q.start;Q.start=this.#U.now()-K}this.#R($,Q.value,Q)}}set(Z,$,Q={}){let{status:K=A.metrics.hasSubscribers?{}:void 0}=Q;Q.status=K,K&&(K.op="set",K.key=Z,$!==void 0&&(K.value=$),K.cache=this);let Y=this.#R(Z,$,Q);return K&&A.metrics.hasSubscribers&&A.metrics.publish(K),Y}#R(Z,$,Q,K){let{ttl:Y=this.ttl,start:W,noDisposeOnSet:z=this.noDisposeOnSet,sizeCalculation:_=this.sizeCalculation,status:I}=Q,J=this.#$($);if($===void 0)return I&&(I.set="deleted"),this.delete(Z),this;let{noUpdateTTL:F=this.noUpdateTTL}=Q;I&&!J&&(I.value=$);let N=this.#c(Z,$,Q.size||0,_,I);if(this.maxEntrySize&&N>this.maxEntrySize)return this.#H(Z,"set"),I&&(I.set="miss",I.maxEntrySizeExceeded=!0),this;let B=this.#W===0?void 0:this.#Y.get(Z);if(B===void 0)B=this.#W===0?this.#z:this.#L.length!==0?this.#L.pop():this.#W===this.#K?this.#d(!1):this.#W,this.#Q[B]=Z,this.#q[B]=$,this.#Y.set(Z,B),this.#J[this.#z]=B,this.#X[B]=this.#z,this.#z=B,this.#W++,this.#f(B,N,I),I&&(I.set="add"),F=!1,this.#w&&!J&&this.#y?.($,Z,"add");else{this.#M(B);let G=this.#q[B];if($!==G){if(!z)if(this.#$(G)){G!==K&&G.__abortController.abort(Error("replaced"));let{__staleWhileFetching:x}=G;x!==void 0&&x!==$&&(this.#A&&this.#Z?.(x,Z,"set"),this.#V&&this.#_?.push([x,Z,"set"]))}else this.#A&&this.#Z?.(G,Z,"set"),this.#V&&this.#_?.push([G,Z,"set"]);if(this.#T(B),this.#f(B,N,I),this.#q[B]=$,!J){let x=G&&this.#$(G)?G.__staleWhileFetching:G,H=x===void 0?"add":$!==x?"replace":"update";I&&(I.set=H,x!==void 0&&(I.oldValue=x)),this.#w&&this.onInsert?.($,Z,H)}}else J||(I&&(I.set="update"),this.#w&&this.onInsert?.($,Z,"update"))}if(Y!==0&&!this.#O&&this.#l(),this.#O&&(F||this.#g(B,Y,W),I&&this.#k(I,B)),!z&&this.#V&&this.#_){let G=this.#_,x;for(;x=G?.shift();)this.#D?.(...x)}return this}pop(){try{for(;this.#W;){let Z=this.#q[this.#B];if(this.#d(!0),this.#$(Z)){if(Z.__staleWhileFetching)return Z.__staleWhileFetching}else if(Z!==void 0)return Z}}finally{if(this.#V&&this.#_){let Z=this.#_,$;for(;$=Z?.shift();)this.#D?.(...$)}}}#d(Z){let $=this.#B,Q=this.#Q[$],K=this.#q[$],Y=this.#$(K);Y&&K.__abortController.abort(Error("evicted"));let W=Y?K.__staleWhileFetching:K;return(this.#A||this.#V)&&W!==void 0&&(this.#A&&this.#Z?.(W,Q,"evict"),this.#V&&this.#_?.push([W,Q,"evict"])),this.#T($),this.#F?.[$]&&(clearTimeout(this.#F[$]),this.#F[$]=void 0),Z&&(this.#Q[$]=void 0,this.#q[$]=void 0,this.#L.push($)),this.#W===1?(this.#B=this.#z=0,this.#L.length=0):this.#B=this.#J[$],this.#Y.delete(Q),this.#W--,$}has(Z,$={}){let{status:Q=A.metrics.hasSubscribers?{}:void 0}=$;$.status=Q,Q&&(Q.op="has",Q.key=Z,Q.cache=this);let K=this.#s(Z,$);return A.metrics.hasSubscribers&&A.metrics.publish(Q),K}#s(Z,$={}){let{updateAgeOnHas:Q=this.updateAgeOnHas,status:K}=$,Y=this.#Y.get(Z);if(Y!==void 0){let W=this.#q[Y];if(this.#$(W)&&W.__staleWhileFetching===void 0)return!1;if(this.#x(Y))K&&(K.has="stale",this.#k(K,Y));else return Q&&this.#S(Y),K&&(K.has="hit",this.#k(K,Y)),!0}else K&&(K.has="miss");return!1}peek(Z,$={}){let{status:Q=dq()?{}:void 0}=$;Q&&(Q.op="peek",Q.key=Z,Q.cache=this),$.status=Q;let K=this.#r(Z,$);return A.metrics.hasSubscribers&&A.metrics.publish(Q),K}#r(Z,$){let{status:Q,allowStale:K=this.allowStale}=$,Y=this.#Y.get(Z);if(Y===void 0||!K&&this.#x(Y)){Q&&(Q.peek=Y===void 0?"miss":"stale");return}let W=this.#q[Y],z=this.#$(W)?W.__staleWhileFetching:W;return Q&&(z!==void 0?(Q.peek="hit",Q.value=z):Q.peek="miss"),z}#h(Z,$,Q,K){let Y=$===void 0?void 0:this.#q[$];if(this.#$(Y))return Y;let W=new AbortController,{signal:z}=Q;z?.addEventListener("abort",()=>W.abort(z.reason),{signal:W.signal});let _={signal:W.signal,options:Q,context:K},I=(x,H=!1)=>{let{aborted:U}=W.signal,k=Q.ignoreFetchAbort&&x!==void 0,f=Q.ignoreFetchAbort||!!(Q.allowStaleOnFetchAbort&&x!==void 0);if(Q.status&&(U&&!H?(Q.status.fetchAborted=!0,Q.status.fetchError=W.signal.reason,k&&(Q.status.fetchAbortIgnored=!0)):Q.status.fetchResolved=!0),U&&!k&&!H)return F(W.signal.reason,f);let w=B,C=this.#q[$];return(C===B||C===void 0&&k&&H)&&(x===void 0?w.__staleWhileFetching!==void 0?this.#q[$]=w.__staleWhileFetching:this.#H(Z,"fetch"):(Q.status&&(Q.status.fetchUpdated=!0),this.#R(Z,x,_.options,w))),x},J=(x)=>(Q.status&&(Q.status.fetchRejected=!0,Q.status.fetchError=x),F(x,!1)),F=(x,H)=>{let{aborted:U}=W.signal,k=U&&Q.allowStaleOnFetchAbort,f=k||Q.allowStaleOnFetchRejection,w=f||Q.noDeleteOnFetchRejection,C=B;if(this.#q[$]===B&&(!w||!H&&C.__staleWhileFetching===void 0?this.#H(Z,"fetch"):k||(this.#q[$]=C.__staleWhileFetching)),f)return Q.status&&C.__staleWhileFetching!==void 0&&(Q.status.returnedStale=!0),C.__staleWhileFetching;if(C.__returned===C)throw x},N=(x,H)=>{let U=this.#b?.(Z,Y,_);W.signal.addEventListener("abort",()=>{(!Q.ignoreFetchAbort||Q.allowStaleOnFetchAbort)&&(x(void 0),Q.allowStaleOnFetchAbort&&(x=(k)=>I(k,!0)))}),U&&U instanceof Promise?U.then((k)=>x(k===void 0?void 0:k),H):U!==void 0&&x(U)};Q.status&&(Q.status.fetchDispatched=!0);let B=new Promise(N).then(I,J),G=Object.assign(B,{__abortController:W,__staleWhileFetching:Y,__returned:void 0});return $===void 0?(this.#R(Z,G,{..._.options,status:void 0}),$=this.#Y.get(Z)):this.#q[$]=G,G}#$(Z){if(!this.#u)return!1;let $=Z;return!!$&&$ instanceof Promise&&$.hasOwnProperty("__staleWhileFetching")&&$.__abortController instanceof AbortController}fetch(Z,$={}){let Q=A.tracing.hasSubscribers,{status:K=dq()?{}:void 0}=$;$.status=K,K&&$.context&&(K.context=$.context);let Y=this.#p(Z,$);return K&&Q&&(K.trace=!0,A.tracing.tracePromise(()=>Y,K).catch(()=>{})),Y}async#p(Z,$={}){let{allowStale:Q=this.allowStale,updateAgeOnGet:K=this.updateAgeOnGet,noDeleteOnStaleGet:Y=this.noDeleteOnStaleGet,ttl:W=this.ttl,noDisposeOnSet:z=this.noDisposeOnSet,size:_=0,sizeCalculation:I=this.sizeCalculation,noUpdateTTL:J=this.noUpdateTTL,noDeleteOnFetchRejection:F=this.noDeleteOnFetchRejection,allowStaleOnFetchRejection:N=this.allowStaleOnFetchRejection,ignoreFetchAbort:B=this.ignoreFetchAbort,allowStaleOnFetchAbort:G=this.allowStaleOnFetchAbort,context:x,forceRefresh:H=!1,status:U,signal:k}=$;if(U&&(U.op="fetch",U.key=Z,H&&(U.forceRefresh=!0),U.cache=this),!this.#u)return U&&(U.fetch="get"),this.#j(Z,{allowStale:Q,updateAgeOnGet:K,noDeleteOnStaleGet:Y,status:U});let f={allowStale:Q,updateAgeOnGet:K,noDeleteOnStaleGet:Y,ttl:W,noDisposeOnSet:z,size:_,sizeCalculation:I,noUpdateTTL:J,noDeleteOnFetchRejection:F,allowStaleOnFetchRejection:N,allowStaleOnFetchAbort:G,ignoreFetchAbort:B,status:U,signal:k},w=this.#Y.get(Z);if(w===void 0){U&&(U.fetch="miss");let C=this.#h(Z,w,f,x);return C.__returned=C}else{let C=this.#q[w];if(this.#$(C)){let c=Q&&C.__staleWhileFetching!==void 0;return U&&(U.fetch="inflight",c&&(U.returnedStale=!0)),c?C.__staleWhileFetching:C.__returned=C}let i=this.#x(w);if(!H&&!i)return U&&(U.fetch="hit"),this.#M(w),K&&this.#S(w),U&&this.#k(U,w),C;let g=this.#h(Z,w,f,x),Yq=g.__staleWhileFetching!==void 0&&Q;return U&&(U.fetch=i?"stale":"refresh",Yq&&i&&(U.returnedStale=!0)),Yq?g.__staleWhileFetching:g.__returned=g}}forceFetch(Z,$={}){let Q=A.tracing.hasSubscribers,{status:K=dq()?{}:void 0}=$;$.status=K,K&&$.context&&(K.context=$.context);let Y=this.#o(Z,$);return K&&Q&&(K.trace=!0,A.tracing.tracePromise(()=>Y,K).catch(()=>{})),Y}async#o(Z,$={}){let Q=await this.#p(Z,$);if(Q===void 0)throw Error("fetch() returned undefined");return Q}memo(Z,$={}){let{status:Q=A.metrics.hasSubscribers?{}:void 0}=$;$.status=Q,Q&&(Q.op="memo",Q.key=Z,$.context&&(Q.context=$.context),Q.cache=this);let K=this.#t(Z,$);return Q&&(Q.value=K),A.metrics.hasSubscribers&&A.metrics.publish(Q),K}#t(Z,$={}){let Q=this.#v;if(!Q)throw Error("no memoMethod provided to constructor");let{context:K,status:Y,forceRefresh:W,...z}=$;Y&&W&&(Y.forceRefresh=!0);let _=this.#j(Z,z),I=W||_===void 0;if(Y&&(Y.memo=I?"miss":"hit",I||(Y.value=_)),!I)return _;let J=Q(Z,_,{options:z,context:K});return Y&&(Y.value=J),this.#R(Z,J,z),J}get(Z,$={}){let{status:Q=A.metrics.hasSubscribers?{}:void 0}=$;$.status=Q,Q&&(Q.op="get",Q.key=Z,Q.cache=this);let K=this.#j(Z,$);return Q&&(K!==void 0&&(Q.value=K),A.metrics.hasSubscribers&&A.metrics.publish(Q)),K}#j(Z,$={}){let{allowStale:Q=this.allowStale,updateAgeOnGet:K=this.updateAgeOnGet,noDeleteOnStaleGet:Y=this.noDeleteOnStaleGet,status:W}=$,z=this.#Y.get(Z);if(z===void 0){W&&(W.get="miss");return}let _=this.#q[z],I=this.#$(_);return W&&this.#k(W,z),this.#x(z)?I?(W&&(W.get="stale-fetching"),Q&&_.__staleWhileFetching!==void 0?(W&&(W.returnedStale=!0),_.__staleWhileFetching):void 0):(Y||this.#H(Z,"expire"),W&&(W.get="stale"),Q?(W&&(W.returnedStale=!0),_):void 0):(W&&(W.get=I?"fetching":"hit"),this.#M(z),K&&this.#S(z),I?_.__staleWhileFetching:_)}#n(Z,$){this.#X[$]=Z,this.#J[Z]=$}#M(Z){Z!==this.#z&&(Z===this.#B?this.#B=this.#J[Z]:this.#n(this.#X[Z],this.#J[Z]),this.#n(this.#z,Z),this.#z=Z)}delete(Z){return this.#H(Z,"delete")}#H(Z,$){A.metrics.hasSubscribers&&A.metrics.publish({op:"delete",delete:$,key:Z,cache:this});let Q=!1;if(this.#W!==0){let K=this.#Y.get(Z);if(K!==void 0)if(this.#F?.[K]&&(clearTimeout(this.#F?.[K]),this.#F[K]=void 0),Q=!0,this.#W===1)this.#a($);else{this.#T(K);let Y=this.#q[K];if(this.#$(Y)?Y.__abortController.abort(Error("deleted")):(this.#A||this.#V)&&(this.#A&&this.#Z?.(Y,Z,$),this.#V&&this.#_?.push([Y,Z,$])),this.#Y.delete(Z),this.#Q[K]=void 0,this.#q[K]=void 0,K===this.#z)this.#z=this.#X[K];else if(K===this.#B)this.#B=this.#J[K];else{let W=this.#X[K];this.#J[W]=this.#J[K];let z=this.#J[K];this.#X[z]=this.#X[K]}this.#W--,this.#L.push(K)}}if(this.#V&&this.#_?.length){let K=this.#_,Y;for(;Y=K?.shift();)this.#D?.(...Y)}return Q}clear(){return this.#a("delete")}#a(Z){for(let $ of this.#E({allowStale:!0})){let Q=this.#q[$];if(this.#$(Q))Q.__abortController.abort(Error("deleted"));else{let K=this.#Q[$];this.#A&&this.#Z?.(Q,K,Z),this.#V&&this.#_?.push([Q,K,Z])}}if(this.#Y.clear(),this.#q.fill(void 0),this.#Q.fill(void 0),this.#O&&this.#P){this.#O.fill(0),this.#P.fill(0);for(let $ of this.#F??[])$!==void 0&&clearTimeout($);this.#F?.fill(void 0)}if(this.#G&&this.#G.fill(0),this.#B=0,this.#z=0,this.#L.length=0,this.#N=0,this.#W=0,this.#V&&this.#_){let $=this.#_,Q;for(;Q=$?.shift();)this.#D?.(...Q)}}};m1.LRUCache=P5});var s1=O((e6,i1)=>{var L=(...q)=>q.every((Z)=>Z)?q.join(""):"",E=(q)=>q?encodeURIComponent(q):"",a1=(q)=>q.toLowerCase().replace(/^\W+/g,"").replace(/(?<!\W)\W+$/,"").replace(/\//g,"").replace(/\W+/g,"-"),A5={sshtemplate:({domain:q,user:Z,project:$,committish:Q})=>`git@${q}:${Z}/${$}.git${L("#",Q)}`,sshurltemplate:({domain:q,user:Z,project:$,committish:Q})=>`git+ssh://git@${q}/${Z}/${$}.git${L("#",Q)}`,edittemplate:({domain:q,user:Z,project:$,committish:Q,editpath:K,path:Y})=>`https://${q}/${Z}/${$}${L("/",K,"/",E(Q||"HEAD"),"/",Y)}`,browsetemplate:({domain:q,user:Z,project:$,committish:Q,treepath:K})=>`https://${q}/${Z}/${$}${L("/",K,"/",E(Q))}`,browsetreetemplate:({domain:q,user:Z,project:$,committish:Q,treepath:K,path:Y,fragment:W,hashformat:z})=>`https://${q}/${Z}/${$}/${K}/${E(Q||"HEAD")}/${Y}${L("#",z(W||""))}`,browseblobtemplate:({domain:q,user:Z,project:$,committish:Q,blobpath:K,path:Y,fragment:W,hashformat:z})=>`https://${q}/${Z}/${$}/${K}/${E(Q||"HEAD")}/${Y}${L("#",z(W||""))}`,docstemplate:({domain:q,user:Z,project:$,treepath:Q,committish:K})=>`https://${q}/${Z}/${$}${L("/",Q,"/",E(K))}#readme`,httpstemplate:({auth:q,domain:Z,user:$,project:Q,committish:K})=>`git+https://${L(q,"@")}${Z}/${$}/${Q}.git${L("#",K)}`,filetemplate:({domain:q,user:Z,project:$,committish:Q,path:K})=>`https://${q}/${Z}/${$}/raw/${E(Q||"HEAD")}/${K}`,shortcuttemplate:({type:q,user:Z,project:$,committish:Q})=>`${q}:${Z}/${$}${L("#",Q)}`,pathtemplate:({user:q,project:Z,committish:$})=>`${q}/${Z}${L("#",$)}`,bugstemplate:({domain:q,user:Z,project:$})=>`https://${q}/${Z}/${$}/issues`,hashformat:a1},l={};l.github={protocols:["git:","http:","git+ssh:","git+https:","ssh:","https:"],domain:"github.com",treepath:"tree",blobpath:"blob",editpath:"edit",filetemplate:({auth:q,user:Z,project:$,committish:Q,path:K})=>`https://${L(q,"@")}raw.githubusercontent.com/${Z}/${$}/${E(Q||"HEAD")}/${K}`,gittemplate:({auth:q,domain:Z,user:$,project:Q,committish:K})=>`git://${L(q,"@")}${Z}/${$}/${Q}.git${L("#",K)}`,tarballtemplate:({domain:q,user:Z,project:$,committish:Q})=>`https://codeload.${q}/${Z}/${$}/tar.gz/${E(Q||"HEAD")}`,extract:(q)=>{let[,Z,$,Q,K]=q.pathname.split("/",5);if(Q&&Q!=="tree")return;if(!Q)K=q.hash.slice(1);if($&&$.endsWith(".git"))$=$.slice(0,-4);if(!Z||!$)return;return{user:Z,project:$,committish:K}}};l.bitbucket={protocols:["git+ssh:","git+https:","ssh:","https:"],domain:"bitbucket.org",treepath:"src",blobpath:"src",editpath:"?mode=edit",edittemplate:({domain:q,user:Z,project:$,committish:Q,treepath:K,path:Y,editpath:W})=>`https://${q}/${Z}/${$}${L("/",K,"/",E(Q||"HEAD"),"/",Y,W)}`,tarballtemplate:({domain:q,user:Z,project:$,committish:Q})=>`https://${q}/${Z}/${$}/get/${E(Q||"HEAD")}.tar.gz`,extract:(q)=>{let[,Z,$,Q]=q.pathname.split("/",4);if(["get"].includes(Q))return;if($&&$.endsWith(".git"))$=$.slice(0,-4);if(!Z||!$)return;return{user:Z,project:$,committish:q.hash.slice(1)}}};l.gitlab={protocols:["git+ssh:","git+https:","ssh:","https:"],domain:"gitlab.com",treepath:"tree",blobpath:"tree",editpath:"-/edit",tarballtemplate:({domain:q,user:Z,project:$,committish:Q})=>`https://${q}/api/v4/projects/${E(Z+"/"+$)}/repository/archive.tar.gz?sha=${E(Q||"HEAD")}`,extract:(q)=>{let Z=q.pathname.slice(1);if(Z.includes("/-/")||Z.includes("/archive.tar.gz"))return;let $=Z.split("/"),Q=$.pop();if(Q.endsWith(".git"))Q=Q.slice(0,-4);let K=$.join("/");if(!K||!Q)return;return{user:K,project:Q,committish:q.hash.slice(1)}}};l.gist={protocols:["git:","git+ssh:","git+https:","ssh:","https:"],domain:"gist.github.com",editpath:"edit",sshtemplate:({domain:q,project:Z,committish:$})=>`git@${q}:${Z}.git${L("#",$)}`,sshurltemplate:({domain:q,project:Z,committish:$})=>`git+ssh://git@${q}/${Z}.git${L("#",$)}`,edittemplate:({domain:q,user:Z,project:$,committish:Q,editpath:K})=>`https://${q}/${Z}/${$}${L("/",E(Q))}/${K}`,browsetemplate:({domain:q,project:Z,committish:$})=>`https://${q}/${Z}${L("/",E($))}`,browsetreetemplate:({domain:q,project:Z,committish:$,path:Q,hashformat:K})=>`https://${q}/${Z}${L("/",E($))}${L("#",K(Q))}`,browseblobtemplate:({domain:q,project:Z,committish:$,path:Q,hashformat:K})=>`https://${q}/${Z}${L("/",E($))}${L("#",K(Q))}`,docstemplate:({domain:q,project:Z,committish:$})=>`https://${q}/${Z}${L("/",E($))}`,httpstemplate:({domain:q,project:Z,committish:$})=>`git+https://${q}/${Z}.git${L("#",$)}`,filetemplate:({user:q,project:Z,committish:$,path:Q})=>`https://gist.githubusercontent.com/${q}/${Z}/raw${L("/",E($))}/${Q}`,shortcuttemplate:({type:q,project:Z,committish:$})=>`${q}:${Z}${L("#",$)}`,pathtemplate:({project:q,committish:Z})=>`${q}${L("#",Z)}`,bugstemplate:({domain:q,project:Z})=>`https://${q}/${Z}`,gittemplate:({domain:q,project:Z,committish:$})=>`git://${q}/${Z}.git${L("#",$)}`,tarballtemplate:({project:q,committish:Z})=>`https://codeload.github.com/gist/${q}/tar.gz/${E(Z||"HEAD")}`,extract:(q)=>{let[,Z,$,Q]=q.pathname.split("/",4);if(Q==="raw")return;if(!$){if(!Z)return;$=Z,Z=null}if($.endsWith(".git"))$=$.slice(0,-4);return{user:Z,project:$,committish:q.hash.slice(1)}},hashformat:function(q){return q&&"file-"+a1(q)}};l.sourcehut={protocols:["git+ssh:","https:"],domain:"git.sr.ht",treepath:"tree",blobpath:"tree",filetemplate:({domain:q,user:Z,project:$,committish:Q,path:K})=>`https://${q}/${Z}/${$}/blob/${E(Q)||"HEAD"}/${K}`,httpstemplate:({domain:q,user:Z,project:$,committish:Q})=>`https://${q}/${Z}/${$}${L("#",Q)}`,tarballtemplate:({domain:q,user:Z,project:$,committish:Q})=>`https://${q}/${Z}/${$}/archive/${E(Q)||"HEAD"}.tar.gz`,bugstemplate:()=>null,extract:(q)=>{let[,Z,$,Q]=q.pathname.split("/",4);if(["archive"].includes(Q))return;if($&&$.endsWith(".git"))$=$.slice(0,-4);if(!Z||!$)return;return{user:Z,project:$,committish:q.hash.slice(1)}}};for(let[q,Z]of Object.entries(l))l[q]=Object.assign({},A5,Z);i1.exports=l});var lq=O((q7,o1)=>{var C5=n("url"),hq=(q,Z,$)=>{let Q=q.indexOf($);return q.lastIndexOf(Z,Q>-1?Q:1/0)},r1=(q)=>{try{return new C5.URL(q)}catch{}},E5=(q,Z)=>{let $=q.indexOf(":"),Q=q.slice(0,$+1);if(Object.prototype.hasOwnProperty.call(Z,Q))return q;if(q.substr($,3)==="://")return q;let K=q.indexOf("@");if(K>-1)if(K>$)return`git+ssh://${q}`;else return q;return`${q.slice(0,$+1)}//${q.slice($+1)}`},H5=(q)=>{let Z=hq(q,"@","#"),$=hq(q,":","#");if($>Z)q=q.slice(0,$)+"/"+q.slice($+1);if(hq(q,":","#")===-1&&q.indexOf("//")===-1)q=`git+ssh://${q}`;return q};o1.exports=(q,Z)=>{let $=Z?E5(q,Z):q;return r1($)||r1(H5($))}});var e1=O((Z7,t1)=>{var k5=lq(),R5=(q)=>{let Z=q.indexOf("#"),$=q.indexOf("/"),Q=q.indexOf("/",$+1),K=q.indexOf(":"),Y=/\s/.exec(q),W=q.indexOf("@"),z=!Y||Z>-1&&Y.index>Z,_=W===-1||Z>-1&&W>Z,I=K===-1||Z>-1&&K>Z,J=Q===-1||Z>-1&&Q>Z,F=$>0,N=Z>-1?q[Z-1]!=="/":!q.endsWith("/"),B=!q.startsWith(".");return z&&F&&N&&B&&_&&I&&J};t1.exports=(q,Z,{gitHosts:$,protocols:Q})=>{if(!q)return;let K=R5(q)?`github:${q}`:q,Y=k5(K,Q);if(!Y)return;let W=$.byShortcut[Y.protocol],z=$.byDomain[Y.hostname.startsWith("www.")?Y.hostname.slice(4):Y.hostname],_=W||z;if(!_)return;let I=$[W||z],J=null;if(Q[Y.protocol]?.auth&&(Y.username||Y.password))J=`${Y.username}${Y.password?":"+Y.password:""}`;let F=null,N=null,B=null,G=null;try{if(W){let x=Y.pathname.startsWith("/")?Y.pathname.slice(1):Y.pathname,H=x.indexOf("@");if(H>-1)x=x.slice(H+1);let U=x.lastIndexOf("/");if(U>-1){if(N=decodeURIComponent(x.slice(0,U)),!N)N=null;B=decodeURIComponent(x.slice(U+1))}else B=decodeURIComponent(x);if(B.endsWith(".git"))B=B.slice(0,-4);if(Y.hash)F=decodeURIComponent(Y.hash.slice(1));G="shortcut"}else{if(!I.protocols.includes(Y.protocol))return;let x=I.extract(Y);if(!x)return;N=x.user&&decodeURIComponent(x.user),B=decodeURIComponent(x.project),F=decodeURIComponent(x.committish),G=Q[Y.protocol]?.name||Y.protocol.slice(0,-1)}}catch(x){if(x instanceof URIError)return;else throw x}return[_,N,J,B,F,G,Z]}});var Z8=O(($7,q8)=>{var{LRUCache:y5}=n1(),w5=s1(),S5=e1(),T5=lq(),gq=new y5({max:1000});function j5(q){try{let{protocol:Z,hostname:$,pathname:Q}=new URL(q);if(!$)return null;let K=/(?:git\+)http:$/.test(Z)?"http:":"https:",Y=Q.replace(/\.git$/,"");return`${K}//${$}${Y}`}catch{return null}}class j{constructor(q,Z,$,Q,K,Y,W={}){Object.assign(this,j.#K[q],{type:q,user:Z,auth:$,project:Q,committish:K,default:Y,opts:W})}static#K={byShortcut:{},byDomain:{}};static#I={"git+ssh:":{name:"sshurl"},"ssh:":{name:"sshurl"},"git+https:":{name:"https",auth:!0},"git:":{auth:!0},"http:":{auth:!0},"https:":{auth:!0},"git+http:":{auth:!0}};static addHost(q,Z){j.#K[q]=Z,j.#K.byDomain[Z.domain]=q,j.#K.byShortcut[`${q}:`]=q,j.#I[`${q}:`]={name:q}}static fromUrl(q,Z){if(typeof q!=="string")return;let $=q+JSON.stringify(Z||{});if(!gq.has($)){let Q=S5(q,Z,{gitHosts:j.#K,protocols:j.#I});gq.set($,Q?new j(...Q):void 0)}return gq.get($)}static fromManifest(q,Z={}){if(!q||typeof q!=="object")return;let $=q.repository,Q=$&&(typeof $==="string"?$:typeof $==="object"&&typeof $.url==="string"?$.url:null);if(!Q)throw Error("no repository");let K=Q&&j.fromUrl(Q.replace(/^git\+/,""),Z)||null;if(K)return K;let Y=j5(Q);return j.fromUrl(Y,Z)||Y}static parseUrl(q){return T5(q)}#Z(q,Z){if(typeof q!=="function")return null;let $={...this,...this.opts,...Z};if(!$.path)$.path="";if($.path.startsWith("/"))$.path=$.path.slice(1);if($.noCommittish)$.committish=null;let Q=q($);return $.noGitPlus&&Q.startsWith("git+")?Q.slice(4):Q}hash(){return this.committish?`#${this.committish}`:""}ssh(q){return this.#Z(this.sshtemplate,q)}sshurl(q){return this.#Z(this.sshurltemplate,q)}browse(q,...Z){if(typeof q!=="string")return this.#Z(this.browsetemplate,q);if(typeof Z[0]!=="string")return this.#Z(this.browsetreetemplate,{...Z[0],path:q});return this.#Z(this.browsetreetemplate,{...Z[1],fragment:Z[0],path:q})}browseFile(q,...Z){if(typeof Z[0]!=="string")return this.#Z(this.browseblobtemplate,{...Z[0],path:q});return this.#Z(this.browseblobtemplate,{...Z[1],fragment:Z[0],path:q})}docs(q){return this.#Z(this.docstemplate,q)}bugs(q){return this.#Z(this.bugstemplate,q)}https(q){return this.#Z(this.httpstemplate,q)}git(q){return this.#Z(this.gittemplate,q)}shortcut(q){return this.#Z(this.shortcuttemplate,q)}path(q){return this.#Z(this.pathtemplate,q)}tarball(q){return this.#Z(this.tarballtemplate,{...q,noCommittish:!1})}file(q,Z){return this.#Z(this.filetemplate,{...Z,path:q})}edit(q,Z){return this.#Z(this.edittemplate,{...Z,path:q})}getDefaultRepresentation(){return this.default}toString(q){if(this.default&&typeof this[this.default]==="function")return this[this.default](q);return this.sshurl(q)}}for(let[q,Z]of Object.entries(w5))j.addHost(q,Z);q8.exports=j});var $8=O((Q7,M5)=>{M5.exports=["_http_agent","_http_client","_http_common","_http_incoming","_http_outgoing","_http_server","_stream_duplex","_stream_passthrough","_stream_readable","_stream_transform","_stream_wrap","_stream_writable","_tls_common","_tls_wrap","assert","assert/strict","async_hooks","buffer","child_process","cluster","console","constants","crypto","dgram","diagnostics_channel","dns","dns/promises","domain","events","fs","fs/promises","http","http2","https","inspector","inspector/promises","module","net","os","path","path/posix","path/win32","perf_hooks","process","punycode","querystring","readline","readline/promises","repl","stream","stream/consumers","stream/promises","stream/web","string_decoder","sys","timers","timers/promises","tls","trace_events","tty","url","util","util/types","v8","vm","wasi","worker_threads","zlib","node:sea","node:sqlite","node:test","node:test/reporters"]});var K8=O((K7,Q8)=>{var b5=$8(),v5=new RegExp("^(?:@([^/]+?)[/])?([^/]+?)$"),u5=["node_modules","favicon.ico"];function f5(q){var Z=[],$=[];if(q===null)return $.push("name cannot be null"),Zq(Z,$);if(q===void 0)return $.push("name cannot be undefined"),Zq(Z,$);if(typeof q!=="string")return $.push("name must be a string"),Zq(Z,$);if(!q.length)$.push("name length must be greater than zero");if(q.startsWith("."))$.push("name cannot start with a period");if(q.startsWith("-"))$.push("name cannot start with a hyphen");if(q.match(/^_/))$.push("name cannot start with an underscore");if(q.trim()!==q)$.push("name cannot contain leading or trailing spaces");if(u5.forEach(function(W){if(q.toLowerCase()===W)$.push(W+" is not a valid package name")}),b5.includes(q.toLowerCase()))Z.push(q+" is a core module name");if(q.length>214)Z.push("name can no longer contain more than 214 characters");if(q.toLowerCase()!==q)Z.push("name can no longer contain capital letters");if(/[~'!()*]/.test(q.split("/").slice(-1)[0]))Z.push(`name can no longer contain special characters ("~'!()*")`);if(encodeURIComponent(q)!==q){var Q=q.match(v5);if(Q){var K=Q[1],Y=Q[2];if(Y.startsWith("."))$.push("name cannot start with a period");if(encodeURIComponent(K)===K&&encodeURIComponent(Y)===Y)return Zq(Z,$)}$.push("name can only contain URL-friendly characters")}return Zq(Z,$)}var Zq=function(q,Z){var $={validForNewPackages:Z.length===0&&q.length===0,validForOldPackages:Z.length===0,warnings:q,errors:Z};if(!$.warnings.length)delete $.warnings;if(!$.errors.length)delete $.errors;return $};Q8.exports=f5});var K6=O((Y7,Kq)=>{var Qq=process.platform==="win32",{URL:cq}=n("url"),a=Qq?n("path/win32"):n("path"),{homedir:d5}=n("os"),h5=Z8(),Y8=u1(),_8=K8(),{log:l5}=d1(),I8=Qq?/\\|[/]/:/[/]/,B8=/^(?:git[+])?[a-z]+:/i,g5=/^[^@]+@[^:.]+\.[^:]+:.+$/i,pq=/[.](?:tgz|tar\.gz|tar)$/i,c5=/:[0-9]+(\/|$)/i,m5=/^(?:[.]|~[/]|[/\\]|[a-zA-Z]:)/,p5=/^(?:[.]|~[/]|[/]|[a-zA-Z]:)/;function $q(q,Z){let $,Q;if(typeof q==="object")if(q instanceof Lq&&(!Z||Z===q.where))return q;else if(q.name&&q.rawSpec)return $q.resolve(q.name,q.rawSpec,Z||q.where);else return $q(q.raw,Z||q.where);let K=q.indexOf("@",1),Y=K>0?q.slice(0,K):q;if(B8.test(q))Q=q;else if(g5.test(q))Q=`git+ssh://${q}`;else if(!Y.startsWith("@")&&(I8.test(Y)||pq.test(Y)))Q=q;else if(K>0)$=Y,Q=q.slice(K+1)||"*";else if(_8(q).validForOldPackages)$=q,Q="*";else Q=q;return J8($,Q,Z,q)}function n5(q){if(!q)return!1;if(q.toLowerCase().startsWith("file:"))return!0;if(Qq)return m5.test(q);return p5.test(q)}function a5(q){if(!q)return!1;return q.toLowerCase().startsWith("npm:")}function J8(q,Z,$,Q){let K=new Lq({raw:Q,name:q,rawSpec:Z,fromArgument:Q!=null});if(q)K.name=q;if(!$)$=process.cwd();if(n5(Z))return z8(K,$);else if(a5(Z))return $6(K,$);let Y=h5.fromUrl(Z,{noGitPlus:!0,noCommittish:!0});if(Y)return e5(K,Y);else if(Z&&B8.test(Z))return Z6(K);else if(Z&&(I8.test(Z)||pq.test(Z)))return z8(K,$);else return Q6(K)}function i5(q,Z="https://registry.npmjs.org"){let $=$q(q);if($.type!=="version")throw o5($.type,$.raw);let Q="pkg:npm/"+$.name.replace(/^@/,"%40")+"@"+$.rawSpec;if(Z!=="https://registry.npmjs.org")Q+="?repository_url="+Z;return Q}function s5(q,Z,$){let Q=Error(`Invalid package name "${q}" of package "${$}": ${Z.errors.join("; ")}.`);return Q.code="EINVALIDPACKAGENAME",Q}function r5(q,Z){let $=Error(`Invalid tag name "${q}" of package "${Z}": Tags may not have any characters that encodeURIComponent encodes.`);return $.code="EINVALIDTAGNAME",$}function o5(q,Z){let $=Error(`Invalid type "${q}" of package "${Z}": Purl can only be generated for "version" types.`);return $.code="EINVALIDPURLTYPE",$}class Lq{constructor(q){if(this.type=q.type,this.registry=q.registry,this.where=q.where,q.raw==null)this.raw=q.name?`${q.name}@${q.rawSpec}`:q.rawSpec;else this.raw=q.raw;if(this.name=void 0,this.escapedName=void 0,this.scope=void 0,this.rawSpec=q.rawSpec||"",this.saveSpec=q.saveSpec,this.fetchSpec=q.fetchSpec,q.name)this.setName(q.name);this.gitRange=q.gitRange,this.gitCommittish=q.gitCommittish,this.gitSubdir=q.gitSubdir,this.hosted=q.hosted}setName(q){let Z=_8(q);if(!Z.validForOldPackages)throw s5(q,Z,this.raw);return this.name=q,this.scope=q[0]==="@"?q.slice(0,q.indexOf("/")):void 0,this.escapedName=q.replace("/","%2f"),this}toString(){let q=[];if(this.name!=null&&this.name!=="")q.push(this.name);let Z=this.saveSpec||this.fetchSpec||this.rawSpec;if(Z!=null&&Z!=="")q.push(Z);return q.length?q.join("@"):this.raw}toJSON(){let q=Object.assign({},this);return delete q.hosted,q}}function mq(q,Z){if(!Z){q.gitCommittish=null;return}for(let $ of Z.split("::")){if(!$.includes(":")){if(q.gitRange)throw Error("cannot override existing semver range with a committish");if(q.gitCommittish)throw Error("cannot override existing committish with a second committish");q.gitCommittish=$;continue}let[Q,K]=$.split(":");if(Q==="semver"){if(q.gitCommittish)throw Error("cannot override existing committish with a semver range");if(q.gitRange)throw Error("cannot override existing semver range with a second semver range");q.gitRange=decodeURIComponent(K);continue}if(Q==="path"){if(q.gitSubdir)throw Error("cannot override existing path with a second path");q.gitSubdir=`/${K}`;continue}l5.warn("npm-package-arg",`ignoring unknown key "${Q}"`)}}var t5=new Map([["\x00","%00"],["\t","%09"],[`
2
+ import{CO as O,FO as n}from"./chunk-7xm75w1e.js";var m=O((Y6,nq)=>{var V8=Number.MAX_SAFE_INTEGER||9007199254740991,X8=["major","premajor","minor","preminor","patch","prepatch","prerelease"];nq.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:16,MAX_SAFE_BUILD_LENGTH:250,MAX_SAFE_INTEGER:V8,RELEASE_TYPES:X8,SEMVER_SPEC_VERSION:"2.0.0",FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}});var s=O((W6,aq)=>{var O8=typeof process==="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...q)=>console.error("SEMVER",...q):()=>{};aq.exports=O8});var p=O((u,iq)=>{var{MAX_SAFE_COMPONENT_LENGTH:Aq,MAX_SAFE_BUILD_LENGTH:F8,MAX_LENGTH:x8}=m(),D8=s();u=iq.exports={};var U8=u.re=[],N8=u.safeRe=[],V=u.src=[],L8=u.safeSrc=[],X=u.t={},G8=0,Cq="[a-zA-Z0-9-]",P8=[["\\s",1],["\\d",x8],[Cq,F8]],A8=(q)=>{for(let[Z,$]of P8)q=q.split(`${Z}*`).join(`${Z}{0,${$}}`).split(`${Z}+`).join(`${Z}{1,${$}}`);return q},D=(q,Z,$)=>{let Q=A8(Z),K=G8++;D8(q,K,Z),X[q]=K,V[K]=Z,L8[K]=Q,U8[K]=new RegExp(Z,$?"g":void 0),N8[K]=new RegExp(Q,$?"g":void 0)};D("NUMERICIDENTIFIER","0|[1-9]\\d*");D("NUMERICIDENTIFIERLOOSE","\\d+");D("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${Cq}*`);D("MAINVERSION",`(${V[X.NUMERICIDENTIFIER]})\\.(${V[X.NUMERICIDENTIFIER]})\\.(${V[X.NUMERICIDENTIFIER]})`);D("MAINVERSIONLOOSE",`(${V[X.NUMERICIDENTIFIERLOOSE]})\\.(${V[X.NUMERICIDENTIFIERLOOSE]})\\.(${V[X.NUMERICIDENTIFIERLOOSE]})`);D("PRERELEASEIDENTIFIER",`(?:${V[X.NONNUMERICIDENTIFIER]}|${V[X.NUMERICIDENTIFIER]})`);D("PRERELEASEIDENTIFIERLOOSE",`(?:${V[X.NONNUMERICIDENTIFIER]}|${V[X.NUMERICIDENTIFIERLOOSE]})`);D("PRERELEASE",`(?:-(${V[X.PRERELEASEIDENTIFIER]}(?:\\.${V[X.PRERELEASEIDENTIFIER]})*))`);D("PRERELEASELOOSE",`(?:-?(${V[X.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${V[X.PRERELEASEIDENTIFIERLOOSE]})*))`);D("BUILDIDENTIFIER",`${Cq}+`);D("BUILD",`(?:\\+(${V[X.BUILDIDENTIFIER]}(?:\\.${V[X.BUILDIDENTIFIER]})*))`);D("FULLPLAIN",`v?${V[X.MAINVERSION]}${V[X.PRERELEASE]}?${V[X.BUILD]}?`);D("FULL",`^${V[X.FULLPLAIN]}$`);D("LOOSEPLAIN",`[v=\\s]*${V[X.MAINVERSIONLOOSE]}${V[X.PRERELEASELOOSE]}?${V[X.BUILD]}?`);D("LOOSE",`^${V[X.LOOSEPLAIN]}$`);D("GTLT","((?:<|>)?=?)");D("XRANGEIDENTIFIERLOOSE",`${V[X.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);D("XRANGEIDENTIFIER",`${V[X.NUMERICIDENTIFIER]}|x|X|\\*`);D("XRANGEPLAIN",`[v=\\s]*(${V[X.XRANGEIDENTIFIER]})(?:\\.(${V[X.XRANGEIDENTIFIER]})(?:\\.(${V[X.XRANGEIDENTIFIER]})(?:${V[X.PRERELEASE]})?${V[X.BUILD]}?)?)?`);D("XRANGEPLAINLOOSE",`[v=\\s]*(${V[X.XRANGEIDENTIFIERLOOSE]})(?:\\.(${V[X.XRANGEIDENTIFIERLOOSE]})(?:\\.(${V[X.XRANGEIDENTIFIERLOOSE]})(?:${V[X.PRERELEASELOOSE]})?${V[X.BUILD]}?)?)?`);D("XRANGE",`^${V[X.GTLT]}\\s*${V[X.XRANGEPLAIN]}$`);D("XRANGELOOSE",`^${V[X.GTLT]}\\s*${V[X.XRANGEPLAINLOOSE]}$`);D("COERCEPLAIN",`(^|[^\\d])(\\d{1,${Aq}})(?:\\.(\\d{1,${Aq}}))?(?:\\.(\\d{1,${Aq}}))?`);D("COERCE",`${V[X.COERCEPLAIN]}(?:$|[^\\d])`);D("COERCEFULL",V[X.COERCEPLAIN]+`(?:${V[X.PRERELEASE]})?(?:${V[X.BUILD]})?(?:$|[^\\d])`);D("COERCERTL",V[X.COERCE],!0);D("COERCERTLFULL",V[X.COERCEFULL],!0);D("LONETILDE","(?:~>?)");D("TILDETRIM",`(\\s*)${V[X.LONETILDE]}\\s+`,!0);u.tildeTrimReplace="$1~";D("TILDE",`^${V[X.LONETILDE]}${V[X.XRANGEPLAIN]}$`);D("TILDELOOSE",`^${V[X.LONETILDE]}${V[X.XRANGEPLAINLOOSE]}$`);D("LONECARET","(?:\\^)");D("CARETTRIM",`(\\s*)${V[X.LONECARET]}\\s+`,!0);u.caretTrimReplace="$1^";D("CARET",`^${V[X.LONECARET]}${V[X.XRANGEPLAIN]}$`);D("CARETLOOSE",`^${V[X.LONECARET]}${V[X.XRANGEPLAINLOOSE]}$`);D("COMPARATORLOOSE",`^${V[X.GTLT]}\\s*(${V[X.LOOSEPLAIN]})$|^$`);D("COMPARATOR",`^${V[X.GTLT]}\\s*(${V[X.FULLPLAIN]})$|^$`);D("COMPARATORTRIM",`(\\s*)${V[X.GTLT]}\\s*(${V[X.LOOSEPLAIN]}|${V[X.XRANGEPLAIN]})`,!0);u.comparatorTrimReplace="$1$2$3";D("HYPHENRANGE",`^\\s*(${V[X.XRANGEPLAIN]})\\s+-\\s+(${V[X.XRANGEPLAIN]})\\s*$`);D("HYPHENRANGELOOSE",`^\\s*(${V[X.XRANGEPLAINLOOSE]})\\s+-\\s+(${V[X.XRANGEPLAINLOOSE]})\\s*$`);D("STAR","(<|>)?=?\\s*\\*");D("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$");D("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")});var Wq=O((z6,sq)=>{var C8=Object.freeze({loose:!0}),E8=Object.freeze({}),H8=(q)=>{if(!q)return E8;if(typeof q!=="object")return C8;return q};sq.exports=H8});var Eq=O((_6,tq)=>{var rq=/^[0-9]+$/,oq=(q,Z)=>{if(typeof q==="number"&&typeof Z==="number")return q===Z?0:q<Z?-1:1;let $=rq.test(q),Q=rq.test(Z);if($&&Q)q=+q,Z=+Z;return q===Z?0:$&&!Q?-1:Q&&!$?1:q<Z?-1:1},k8=(q,Z)=>oq(Z,q);tq.exports={compareIdentifiers:oq,rcompareIdentifiers:k8}});var R=O((I6,q0)=>{var zq=s(),{MAX_LENGTH:eq,MAX_SAFE_INTEGER:_q}=m(),{safeRe:Iq,t:Bq}=p(),R8=Wq(),{compareIdentifiers:Hq}=Eq(),y8=(q,Z)=>{let $=Z.split(".");if($.length>q.length)return!1;for(let Q=0;Q<$.length;Q++)if(Hq(q[Q],$[Q])!==0)return!1;return!0};class v{constructor(q,Z){if(Z=R8(Z),q instanceof v)if(q.loose===!!Z.loose&&q.includePrerelease===!!Z.includePrerelease)return q;else q=q.version;else if(typeof q!=="string")throw TypeError(`Invalid version. Must be a string. Got type "${typeof q}".`);if(q.length>eq)throw TypeError(`version is longer than ${eq} characters`);zq("SemVer",q,Z),this.options=Z,this.loose=!!Z.loose,this.includePrerelease=!!Z.includePrerelease;let $=q.trim().match(Z.loose?Iq[Bq.LOOSE]:Iq[Bq.FULL]);if(!$)throw TypeError(`Invalid Version: ${q}`);if(this.raw=q,this.major=+$[1],this.minor=+$[2],this.patch=+$[3],this.major>_q||this.major<0)throw TypeError("Invalid major version");if(this.minor>_q||this.minor<0)throw TypeError("Invalid minor version");if(this.patch>_q||this.patch<0)throw TypeError("Invalid patch version");if(!$[4])this.prerelease=[];else this.prerelease=$[4].split(".").map((Q)=>{if(/^[0-9]+$/.test(Q)){let K=+Q;if(K>=0&&K<_q)return K}return Q});this.build=$[5]?$[5].split("."):[],this.format()}format(){if(this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length)this.version+=`-${this.prerelease.join(".")}`;return this.version}toString(){return this.version}compare(q){if(zq("SemVer.compare",this.version,this.options,q),!(q instanceof v)){if(typeof q==="string"&&q===this.version)return 0;q=new v(q,this.options)}if(q.version===this.version)return 0;return this.compareMain(q)||this.comparePre(q)}compareMain(q){if(!(q instanceof v))q=new v(q,this.options);if(this.major<q.major)return-1;if(this.major>q.major)return 1;if(this.minor<q.minor)return-1;if(this.minor>q.minor)return 1;if(this.patch<q.patch)return-1;if(this.patch>q.patch)return 1;return 0}comparePre(q){if(!(q instanceof v))q=new v(q,this.options);if(this.prerelease.length&&!q.prerelease.length)return-1;else if(!this.prerelease.length&&q.prerelease.length)return 1;else if(!this.prerelease.length&&!q.prerelease.length)return 0;let Z=0;do{let $=this.prerelease[Z],Q=q.prerelease[Z];if(zq("prerelease compare",Z,$,Q),$===void 0&&Q===void 0)return 0;else if(Q===void 0)return 1;else if($===void 0)return-1;else if($===Q)continue;else return Hq($,Q)}while(++Z)}compareBuild(q){if(!(q instanceof v))q=new v(q,this.options);let Z=0;do{let $=this.build[Z],Q=q.build[Z];if(zq("build compare",Z,$,Q),$===void 0&&Q===void 0)return 0;else if(Q===void 0)return 1;else if($===void 0)return-1;else if($===Q)continue;else return Hq($,Q)}while(++Z)}inc(q,Z,$){if(q.startsWith("pre")){if(!Z&&$===!1)throw Error("invalid increment argument: identifier is empty");if(Z){let Q=`-${Z}`.match(this.options.loose?Iq[Bq.PRERELEASELOOSE]:Iq[Bq.PRERELEASE]);if(!Q||Q[1]!==Z)throw Error(`invalid identifier: ${Z}`)}}switch(q){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",Z,$);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",Z,$);break;case"prepatch":this.prerelease.length=0,this.inc("patch",Z,$),this.inc("pre",Z,$);break;case"prerelease":if(this.prerelease.length===0)this.inc("patch",Z,$);this.inc("pre",Z,$);break;case"release":if(this.prerelease.length===0)throw Error(`version ${this.raw} is not a prerelease`);this.prerelease.length=0;break;case"major":if(this.minor!==0||this.patch!==0||this.prerelease.length===0)this.major++;this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":if(this.patch!==0||this.prerelease.length===0)this.minor++;this.patch=0,this.prerelease=[];break;case"patch":if(this.prerelease.length===0)this.patch++;this.prerelease=[];break;case"pre":{let Q=Number($)?1:0;if(this.prerelease.length===0)this.prerelease=[Q];else{let K=this.prerelease.length;while(--K>=0)if(typeof this.prerelease[K]==="number")this.prerelease[K]++,K=-2;if(K===-1){if(Z===this.prerelease.join(".")&&$===!1)throw Error("invalid increment argument: identifier already exists");this.prerelease.push(Q)}}if(Z){let K=[Z,Q];if($===!1)K=[Z];if(y8(this.prerelease,Z)){let Y=this.prerelease[Z.split(".").length];if(isNaN(Y))this.prerelease=K}else this.prerelease=K}break}default:throw Error(`invalid increment argument: ${q}`)}if(this.raw=this.format(),this.build.length)this.raw+=`+${this.build.join(".")}`;return this}}q0.exports=v});var d=O((B6,$0)=>{var Z0=R(),w8=(q,Z,$=!1)=>{if(q instanceof Z0)return q;try{return new Z0(q,Z)}catch(Q){if(!$)return null;throw Q}};$0.exports=w8});var K0=O((J6,Q0)=>{var S8=d(),T8=(q,Z)=>{let $=S8(q,Z);return $?$.version:null};Q0.exports=T8});var W0=O((V6,Y0)=>{var j8=d(),M8=(q,Z)=>{let $=j8(q.trim().replace(/^[=v]+/,""),Z);return $?$.version:null};Y0.exports=M8});var I0=O((X6,_0)=>{var z0=R(),b8=(q,Z,$,Q,K)=>{if(typeof $==="string")K=Q,Q=$,$=void 0;try{return new z0(q instanceof z0?q.version:q,$).inc(Z,Q,K).version}catch(Y){return null}};_0.exports=b8});var V0=O((O6,J0)=>{var B0=d(),v8=(q,Z)=>{let $=B0(q,null,!0),Q=B0(Z,null,!0),K=$.compare(Q);if(K===0)return null;let Y=K>0,W=Y?$:Q,z=Y?Q:$,_=!!W.prerelease.length;if(!!z.prerelease.length&&!_){if(!z.patch&&!z.minor)return"major";if(z.compareMain(W)===0){if(z.minor&&!z.patch)return"minor";return"patch"}}let J=_?"pre":"";if($.major!==Q.major)return J+"major";if($.minor!==Q.minor)return J+"minor";if($.patch!==Q.patch)return J+"patch";return"prerelease"};J0.exports=v8});var O0=O((F6,X0)=>{var u8=R(),f8=(q,Z)=>new u8(q,Z).major;X0.exports=f8});var x0=O((x6,F0)=>{var d8=R(),h8=(q,Z)=>new d8(q,Z).minor;F0.exports=h8});var U0=O((D6,D0)=>{var l8=R(),g8=(q,Z)=>new l8(q,Z).patch;D0.exports=g8});var L0=O((U6,N0)=>{var c8=d(),m8=(q,Z)=>{let $=c8(q,Z);return $&&$.prerelease.length?$.prerelease:null};N0.exports=m8});var M=O((N6,P0)=>{var G0=R(),p8=(q,Z,$)=>new G0(q,$).compare(new G0(Z,$));P0.exports=p8});var C0=O((L6,A0)=>{var n8=M(),a8=(q,Z,$)=>n8(Z,q,$);A0.exports=a8});var H0=O((G6,E0)=>{var i8=M(),s8=(q,Z)=>i8(q,Z,!0);E0.exports=s8});var Jq=O((P6,R0)=>{var k0=R(),r8=(q,Z,$)=>{let Q=new k0(q,$),K=new k0(Z,$);return Q.compare(K)||Q.compareBuild(K)};R0.exports=r8});var w0=O((A6,y0)=>{var o8=Jq(),t8=(q,Z)=>q.sort(($,Q)=>o8($,Q,Z));y0.exports=t8});var T0=O((C6,S0)=>{var e8=Jq(),q9=(q,Z)=>q.sort(($,Q)=>e8(Q,$,Z));S0.exports=q9});var r=O((E6,j0)=>{var Z9=M(),$9=(q,Z,$)=>Z9(q,Z,$)>0;j0.exports=$9});var Vq=O((H6,M0)=>{var Q9=M(),K9=(q,Z,$)=>Q9(q,Z,$)<0;M0.exports=K9});var kq=O((k6,b0)=>{var Y9=M(),W9=(q,Z,$)=>Y9(q,Z,$)===0;b0.exports=W9});var Rq=O((R6,v0)=>{var z9=M(),_9=(q,Z,$)=>z9(q,Z,$)!==0;v0.exports=_9});var Xq=O((y6,u0)=>{var I9=M(),B9=(q,Z,$)=>I9(q,Z,$)>=0;u0.exports=B9});var Oq=O((w6,f0)=>{var J9=M(),V9=(q,Z,$)=>J9(q,Z,$)<=0;f0.exports=V9});var yq=O((S6,d0)=>{var X9=kq(),O9=Rq(),F9=r(),x9=Xq(),D9=Vq(),U9=Oq(),N9=(q,Z,$,Q)=>{switch(Z){case"===":if(typeof q==="object")q=q.version;if(typeof $==="object")$=$.version;return q===$;case"!==":if(typeof q==="object")q=q.version;if(typeof $==="object")$=$.version;return q!==$;case"":case"=":case"==":return X9(q,$,Q);case"!=":return O9(q,$,Q);case">":return F9(q,$,Q);case">=":return x9(q,$,Q);case"<":return D9(q,$,Q);case"<=":return U9(q,$,Q);default:throw TypeError(`Invalid operator: ${Z}`)}};d0.exports=N9});var l0=O((T6,h0)=>{var L9=R(),G9=d(),{safeRe:Fq,t:xq}=p(),P9=(q,Z)=>{if(q instanceof L9)return q;if(typeof q==="number")q=String(q);if(typeof q!=="string")return null;Z=Z||{};let $=null;if(!Z.rtl)$=q.match(Z.includePrerelease?Fq[xq.COERCEFULL]:Fq[xq.COERCE]);else{let _=Z.includePrerelease?Fq[xq.COERCERTLFULL]:Fq[xq.COERCERTL],I;while((I=_.exec(q))&&(!$||$.index+$[0].length!==q.length)){if(!$||I.index+I[0].length!==$.index+$[0].length)$=I;_.lastIndex=I.index+I[1].length+I[2].length}_.lastIndex=-1}if($===null)return null;let Q=$[2],K=$[3]||"0",Y=$[4]||"0",W=Z.includePrerelease&&$[5]?`-${$[5]}`:"",z=Z.includePrerelease&&$[6]?`+${$[6]}`:"";return G9(`${Q}.${K}.${Y}${W}${z}`,Z)};h0.exports=P9});var c0=O((j6,g0)=>{var A9=d(),C9=m(),E9=R(),H9=(q,Z,$)=>{if(!C9.RELEASE_TYPES.includes(Z))return null;let Q=k9(q,$);return Q&&R9(Q,Z)},k9=(q,Z)=>{let $=q instanceof E9?q.version:q;return A9($,Z)},R9=(q,Z)=>{if(y9(Z))return q.version;switch(q.prerelease=[],Z){case"major":q.minor=0,q.patch=0;break;case"minor":q.patch=0;break}return q.format()},y9=(q)=>{return q.startsWith("pre")};g0.exports=H9});var n0=O((M6,p0)=>{class m0{constructor(){this.max=1000,this.map=new Map}get(q){let Z=this.map.get(q);if(Z===void 0)return;else return this.map.delete(q),this.map.set(q,Z),Z}delete(q){return this.map.delete(q)}set(q,Z){if(!this.delete(q)&&Z!==void 0){if(this.map.size>=this.max){let Q=this.map.keys().next().value;this.delete(Q)}this.map.set(q,Z)}return this}}p0.exports=m0});var b=O((b6,r0)=>{var w9=/\s+/g;class o{constructor(q,Z){if(Z=T9(Z),q instanceof o)if(q.loose===!!Z.loose&&q.includePrerelease===!!Z.includePrerelease)return q;else return new o(q.raw,Z);if(q instanceof wq)return this.raw=q.value,this.set=[[q]],this.formatted=void 0,this;if(this.options=Z,this.loose=!!Z.loose,this.includePrerelease=!!Z.includePrerelease,this.raw=q.trim().replace(w9," "),this.set=this.raw.split("||").map(($)=>this.parseRange($.trim())).filter(($)=>$.length),!this.set.length)throw TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){let $=this.set[0];if(this.set=this.set.filter((Q)=>!i0(Q[0])),this.set.length===0)this.set=[$];else if(this.set.length>1){for(let Q of this.set)if(Q.length===1&&l9(Q[0])){this.set=[Q];break}}}this.formatted=void 0}get range(){if(this.formatted===void 0){this.formatted="";for(let q=0;q<this.set.length;q++){if(q>0)this.formatted+="||";let Z=this.set[q];for(let $=0;$<Z.length;$++){if($>0)this.formatted+=" ";this.formatted+=Z[$].toString().trim()}}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange(q){q=q.replace(h9,"");let $=((this.options.includePrerelease&&f9)|(this.options.loose&&d9))+":"+q,Q=a0.get($);if(Q)return Q;let K=this.options.loose,Y=K?S[y.HYPHENRANGELOOSE]:S[y.HYPHENRANGE];q=q.replace(Y,o9(this.options.includePrerelease)),P("hyphen replace",q),q=q.replace(S[y.COMPARATORTRIM],b9),P("comparator trim",q),q=q.replace(S[y.TILDETRIM],v9),P("tilde trim",q),q=q.replace(S[y.CARETTRIM],u9),P("caret trim",q);let W=q.split(" ").map((J)=>g9(J,this.options)).join(" ").split(/\s+/).map((J)=>r9(J,this.options));if(K)W=W.filter((J)=>{return P("loose invalid filter",J,this.options),!!J.match(S[y.COMPARATORLOOSE])});P("range list",W);let z=new Map,_=W.map((J)=>new wq(J,this.options));for(let J of _){if(i0(J))return[J];z.set(J.value,J)}if(z.size>1&&z.has(""))z.delete("");let I=[...z.values()];return a0.set($,I),I}intersects(q,Z){if(!(q instanceof o))throw TypeError("a Range is required");return this.set.some(($)=>{return s0($,Z)&&q.set.some((Q)=>{return s0(Q,Z)&&$.every((K)=>{return Q.every((Y)=>{return K.intersects(Y,Z)})})})})}test(q){if(!q)return!1;if(typeof q==="string")try{q=new j9(q,this.options)}catch(Z){return!1}for(let Z=0;Z<this.set.length;Z++)if(t9(this.set[Z],q,this.options))return!0;return!1}}r0.exports=o;var S9=n0(),a0=new S9,T9=Wq(),wq=t(),P=s(),j9=R(),{safeRe:S,src:M9,t:y,comparatorTrimReplace:b9,tildeTrimReplace:v9,caretTrimReplace:u9}=p(),{FLAG_INCLUDE_PRERELEASE:f9,FLAG_LOOSE:d9}=m(),h9=new RegExp(M9[y.BUILD],"g"),i0=(q)=>q.value==="<0.0.0-0",l9=(q)=>q.value==="",s0=(q,Z)=>{let $=!0,Q=q.slice(),K=Q.pop();while($&&Q.length)$=Q.every((Y)=>{return K.intersects(Y,Z)}),K=Q.pop();return $},g9=(q,Z)=>{return q=q.replace(S[y.BUILD],""),P("comp",q,Z),q=p9(q,Z),P("caret",q),q=c9(q,Z),P("tildes",q),q=a9(q,Z),P("xrange",q),q=s9(q,Z),P("stars",q),q},T=(q)=>!q||q.toLowerCase()==="x"||q==="*",c9=(q,Z)=>{return q.trim().split(/\s+/).map(($)=>m9($,Z)).join(" ")},m9=(q,Z)=>{let $=Z.loose?S[y.TILDELOOSE]:S[y.TILDE];return q.replace($,(Q,K,Y,W,z)=>{P("tilde",q,Q,K,Y,W,z);let _;if(T(K))_="";else if(T(Y))_=`>=${K}.0.0 <${+K+1}.0.0-0`;else if(T(W))_=`>=${K}.${Y}.0 <${K}.${+Y+1}.0-0`;else if(z)P("replaceTilde pr",z),_=`>=${K}.${Y}.${W}-${z} <${K}.${+Y+1}.0-0`;else _=`>=${K}.${Y}.${W} <${K}.${+Y+1}.0-0`;return P("tilde return",_),_})},p9=(q,Z)=>{return q.trim().split(/\s+/).map(($)=>n9($,Z)).join(" ")},n9=(q,Z)=>{P("caret",q,Z);let $=Z.loose?S[y.CARETLOOSE]:S[y.CARET],Q=Z.includePrerelease?"-0":"";return q.replace($,(K,Y,W,z,_)=>{P("caret",q,K,Y,W,z,_);let I;if(T(Y))I="";else if(T(W))I=`>=${Y}.0.0${Q} <${+Y+1}.0.0-0`;else if(T(z))if(Y==="0")I=`>=${Y}.${W}.0${Q} <${Y}.${+W+1}.0-0`;else I=`>=${Y}.${W}.0${Q} <${+Y+1}.0.0-0`;else if(_)if(P("replaceCaret pr",_),Y==="0")if(W==="0")I=`>=${Y}.${W}.${z}-${_} <${Y}.${W}.${+z+1}-0`;else I=`>=${Y}.${W}.${z}-${_} <${Y}.${+W+1}.0-0`;else I=`>=${Y}.${W}.${z}-${_} <${+Y+1}.0.0-0`;else if(P("no pr"),Y==="0")if(W==="0")I=`>=${Y}.${W}.${z}${Q} <${Y}.${W}.${+z+1}-0`;else I=`>=${Y}.${W}.${z}${Q} <${Y}.${+W+1}.0-0`;else I=`>=${Y}.${W}.${z} <${+Y+1}.0.0-0`;return P("caret return",I),I})},a9=(q,Z)=>{return P("replaceXRanges",q,Z),q.split(/\s+/).map(($)=>i9($,Z)).join(" ")},i9=(q,Z)=>{q=q.trim();let $=Z.loose?S[y.XRANGELOOSE]:S[y.XRANGE];return q.replace($,(Q,K,Y,W,z,_)=>{P("xRange",q,Q,K,Y,W,z,_);let I=T(Y),J=I||T(W),F=J||T(z),N=F;if(K==="="&&N)K="";if(_=Z.includePrerelease?"-0":"",I)if(K===">"||K==="<")Q="<0.0.0-0";else Q="*";else if(K&&N){if(J)W=0;if(z=0,K===">")if(K=">=",J)Y=+Y+1,W=0,z=0;else W=+W+1,z=0;else if(K==="<=")if(K="<",J)Y=+Y+1;else W=+W+1;if(K==="<")_="-0";Q=`${K+Y}.${W}.${z}${_}`}else if(J)Q=`>=${Y}.0.0${_} <${+Y+1}.0.0-0`;else if(F)Q=`>=${Y}.${W}.0${_} <${Y}.${+W+1}.0-0`;return P("xRange return",Q),Q})},s9=(q,Z)=>{return P("replaceStars",q,Z),q.trim().replace(S[y.STAR],"")},r9=(q,Z)=>{return P("replaceGTE0",q,Z),q.trim().replace(S[Z.includePrerelease?y.GTE0PRE:y.GTE0],"")},o9=(q)=>(Z,$,Q,K,Y,W,z,_,I,J,F,N)=>{if(T(Q))$="";else if(T(K))$=`>=${Q}.0.0${q?"-0":""}`;else if(T(Y))$=`>=${Q}.${K}.0${q?"-0":""}`;else if(W)$=`>=${$}`;else $=`>=${$}${q?"-0":""}`;if(T(I))_="";else if(T(J))_=`<${+I+1}.0.0-0`;else if(T(F))_=`<${I}.${+J+1}.0-0`;else if(N)_=`<=${I}.${J}.${F}-${N}`;else if(q)_=`<${I}.${J}.${+F+1}-0`;else _=`<=${_}`;return`${$} ${_}`.trim()},t9=(q,Z,$)=>{for(let Q=0;Q<q.length;Q++)if(!q[Q].test(Z))return!1;if(Z.prerelease.length&&!$.includePrerelease){for(let Q=0;Q<q.length;Q++){if(P(q[Q].semver),q[Q].semver===wq.ANY)continue;if(q[Q].semver.prerelease.length>0){let K=q[Q].semver;if(K.major===Z.major&&K.minor===Z.minor&&K.patch===Z.patch)return!0}}return!1}return!0}});var t=O((v6,$1)=>{var e=Symbol("SemVer ANY");class Dq{static get ANY(){return e}constructor(q,Z){if(Z=o0(Z),q instanceof Dq)if(q.loose===!!Z.loose)return q;else q=q.value;if(q=q.trim().split(/\s+/).join(" "),Tq("comparator",q,Z),this.options=Z,this.loose=!!Z.loose,this.parse(q),this.semver===e)this.value="";else this.value=this.operator+this.semver.version;Tq("comp",this)}parse(q){let Z=this.options.loose?t0[e0.COMPARATORLOOSE]:t0[e0.COMPARATOR],$=q.match(Z);if(!$)throw TypeError(`Invalid comparator: ${q}`);if(this.operator=$[1]!==void 0?$[1]:"",this.operator==="=")this.operator="";if(!$[2])this.semver=e;else this.semver=new q1($[2],this.options.loose)}toString(){return this.value}test(q){if(Tq("Comparator.test",q,this.options.loose),this.semver===e||q===e)return!0;if(typeof q==="string")try{q=new q1(q,this.options)}catch(Z){return!1}return Sq(q,this.operator,this.semver,this.options)}intersects(q,Z){if(!(q instanceof Dq))throw TypeError("a Comparator is required");if(this.operator===""){if(this.value==="")return!0;return new Z1(q.value,Z).test(this.value)}else if(q.operator===""){if(q.value==="")return!0;return new Z1(this.value,Z).test(q.semver)}if(Z=o0(Z),Z.includePrerelease&&(this.value==="<0.0.0-0"||q.value==="<0.0.0-0"))return!1;if(!Z.includePrerelease&&(this.value.startsWith("<0.0.0")||q.value.startsWith("<0.0.0")))return!1;if(this.operator.startsWith(">")&&q.operator.startsWith(">"))return!0;if(this.operator.startsWith("<")&&q.operator.startsWith("<"))return!0;if(this.semver.version===q.semver.version&&this.operator.includes("=")&&q.operator.includes("="))return!0;if(Sq(this.semver,"<",q.semver,Z)&&this.operator.startsWith(">")&&q.operator.startsWith("<"))return!0;if(Sq(this.semver,">",q.semver,Z)&&this.operator.startsWith("<")&&q.operator.startsWith(">"))return!0;return!1}}$1.exports=Dq;var o0=Wq(),{safeRe:t0,t:e0}=p(),Sq=yq(),Tq=s(),q1=R(),Z1=b()});var qq=O((u6,Q1)=>{var e9=b(),qZ=(q,Z,$)=>{try{Z=new e9(Z,$)}catch(Q){return!1}return Z.test(q)};Q1.exports=qZ});var Y1=O((f6,K1)=>{var ZZ=b(),$Z=(q,Z)=>new ZZ(q,Z).set.map(($)=>$.map((Q)=>Q.value).join(" ").trim().split(" "));K1.exports=$Z});var z1=O((d6,W1)=>{var QZ=R(),KZ=b(),YZ=(q,Z,$)=>{let Q=null,K=null,Y=null;try{Y=new KZ(Z,$)}catch(W){return null}return q.forEach((W)=>{if(Y.test(W)){if(!Q||K.compare(W)===-1)Q=W,K=new QZ(Q,$)}}),Q};W1.exports=YZ});var I1=O((h6,_1)=>{var WZ=R(),zZ=b(),_Z=(q,Z,$)=>{let Q=null,K=null,Y=null;try{Y=new zZ(Z,$)}catch(W){return null}return q.forEach((W)=>{if(Y.test(W)){if(!Q||K.compare(W)===1)Q=W,K=new WZ(Q,$)}}),Q};_1.exports=_Z});var V1=O((l6,J1)=>{var jq=R(),IZ=b(),B1=r(),BZ=(q,Z)=>{q=new IZ(q,Z);let $=new jq("0.0.0");if(q.test($))return $;if($=new jq("0.0.0-0"),q.test($))return $;$=null;for(let Q=0;Q<q.set.length;++Q){let K=q.set[Q],Y=null;if(K.forEach((W)=>{let z=new jq(W.semver.version);switch(W.operator){case">":if(z.prerelease.length===0)z.patch++;else z.prerelease.push(0);z.raw=z.format();case"":case">=":if(!Y||B1(z,Y))Y=z;break;case"<":case"<=":break;default:throw Error(`Unexpected operation: ${W.operator}`)}}),Y&&(!$||B1($,Y)))$=Y}if($&&q.test($))return $;return null};J1.exports=BZ});var O1=O((g6,X1)=>{var JZ=b(),VZ=(q,Z)=>{try{return new JZ(q,Z).range||"*"}catch($){return null}};X1.exports=VZ});var Uq=O((c6,U1)=>{var XZ=R(),D1=t(),{ANY:OZ}=D1,FZ=b(),xZ=qq(),F1=r(),x1=Vq(),DZ=Oq(),UZ=Xq(),NZ=(q,Z,$,Q)=>{q=new XZ(q,Q),Z=new FZ(Z,Q);let K,Y,W,z,_;switch($){case">":K=F1,Y=DZ,W=x1,z=">",_=">=";break;case"<":K=x1,Y=UZ,W=F1,z="<",_="<=";break;default:throw TypeError('Must provide a hilo val of "<" or ">"')}if(xZ(q,Z,Q))return!1;for(let I=0;I<Z.set.length;++I){let J=Z.set[I],F=null,N=null;if(J.forEach((B)=>{if(B.semver===OZ)B=new D1(">=0.0.0");if(F=F||B,N=N||B,K(B.semver,F.semver,Q))F=B;else if(W(B.semver,N.semver,Q))N=B}),F.operator===z||F.operator===_)return!1;if((!N.operator||N.operator===z)&&Y(q,N.semver))return!1;else if(N.operator===_&&W(q,N.semver))return!1}return!0};U1.exports=NZ});var L1=O((m6,N1)=>{var LZ=Uq(),GZ=(q,Z,$)=>LZ(q,Z,">",$);N1.exports=GZ});var P1=O((p6,G1)=>{var PZ=Uq(),AZ=(q,Z,$)=>PZ(q,Z,"<",$);G1.exports=AZ});var E1=O((n6,C1)=>{var A1=b(),CZ=(q,Z,$)=>{return q=new A1(q,$),Z=new A1(Z,$),q.intersects(Z,$)};C1.exports=CZ});var k1=O((a6,H1)=>{var EZ=qq(),HZ=M();H1.exports=(q,Z,$)=>{let Q=[],K=null,Y=null,W=q.sort((J,F)=>HZ(J,F,$));for(let J of W)if(EZ(J,Z,$)){if(Y=J,!K)K=J}else{if(Y)Q.push([K,Y]);Y=null,K=null}if(K)Q.push([K,null]);let z=[];for(let[J,F]of Q)if(J===F)z.push(J);else if(!F&&J===W[0])z.push("*");else if(!F)z.push(`>=${J}`);else if(J===W[0])z.push(`<=${F}`);else z.push(`${J} - ${F}`);let _=z.join(" || "),I=typeof Z.raw==="string"?Z.raw:String(Z);return _.length<I.length?_:Z}});var j1=O((i6,T1)=>{var R1=b(),vq=t(),{ANY:Mq}=vq,bq=qq(),uq=M(),kZ=(q,Z,$={})=>{if(q===Z)return!0;q=new R1(q,$),Z=new R1(Z,$);let Q=!1;q:for(let K of q.set){for(let Y of Z.set){let W=yZ(K,Y,$);if(Q=Q||W!==null,W)continue q}if(Q)return!1}return!0},RZ=[new vq(">=0.0.0-0")],y1=[new vq(">=0.0.0")],yZ=(q,Z,$)=>{if(q===Z)return!0;if(q.length===1&&q[0].semver===Mq)if(Z.length===1&&Z[0].semver===Mq)return!0;else if($.includePrerelease)q=RZ;else q=y1;if(Z.length===1&&Z[0].semver===Mq)if($.includePrerelease)return!0;else Z=y1;let Q=new Set,K,Y;for(let B of q)if(B.operator===">"||B.operator===">=")K=w1(K,B,$);else if(B.operator==="<"||B.operator==="<=")Y=S1(Y,B,$);else Q.add(B.semver);if(Q.size>1)return null;let W;if(K&&Y){if(W=uq(K.semver,Y.semver,$),W>0)return null;else if(W===0&&(K.operator!==">="||Y.operator!=="<="))return null}for(let B of Q){if(K&&!bq(B,String(K),$))return null;if(Y&&!bq(B,String(Y),$))return null;for(let G of Z)if(!bq(B,String(G),$))return!1;return!0}let z,_,I,J,F=Y&&!$.includePrerelease&&Y.semver.prerelease.length?Y.semver:!1,N=K&&!$.includePrerelease&&K.semver.prerelease.length?K.semver:!1;if(F&&F.prerelease.length===1&&Y.operator==="<"&&F.prerelease[0]===0)F=!1;for(let B of Z){if(J=J||B.operator===">"||B.operator===">=",I=I||B.operator==="<"||B.operator==="<=",K){if(N){if(B.semver.prerelease&&B.semver.prerelease.length&&B.semver.major===N.major&&B.semver.minor===N.minor&&B.semver.patch===N.patch)N=!1}if(B.operator===">"||B.operator===">="){if(z=w1(K,B,$),z===B&&z!==K)return!1}else if(K.operator===">="&&!B.test(K.semver))return!1}if(Y){if(F){if(B.semver.prerelease&&B.semver.prerelease.length&&B.semver.major===F.major&&B.semver.minor===F.minor&&B.semver.patch===F.patch)F=!1}if(B.operator==="<"||B.operator==="<="){if(_=S1(Y,B,$),_===B&&_!==Y)return!1}else if(Y.operator==="<="&&!B.test(Y.semver))return!1}if(!B.operator&&(Y||K)&&W!==0)return!1}if(K&&I&&!Y&&W!==0)return!1;if(Y&&J&&!K&&W!==0)return!1;if(N||F)return!1;return!0},w1=(q,Z,$)=>{if(!q)return Z;let Q=uq(q.semver,Z.semver,$);return Q>0?q:Q<0?Z:Z.operator===">"&&q.operator===">="?Z:q},S1=(q,Z,$)=>{if(!q)return Z;let Q=uq(q.semver,Z.semver,$);return Q<0?q:Q>0?Z:Z.operator==="<"&&q.operator==="<="?Z:q};T1.exports=kZ});var u1=O((s6,v1)=>{var fq=p(),M1=m(),wZ=R(),b1=Eq(),SZ=d(),TZ=K0(),jZ=W0(),MZ=I0(),bZ=V0(),vZ=O0(),uZ=x0(),fZ=U0(),dZ=L0(),hZ=M(),lZ=C0(),gZ=H0(),cZ=Jq(),mZ=w0(),pZ=T0(),nZ=r(),aZ=Vq(),iZ=kq(),sZ=Rq(),rZ=Xq(),oZ=Oq(),tZ=yq(),eZ=l0(),q5=c0(),Z5=t(),$5=b(),Q5=qq(),K5=Y1(),Y5=z1(),W5=I1(),z5=V1(),_5=O1(),I5=Uq(),B5=L1(),J5=P1(),V5=E1(),X5=k1(),O5=j1();v1.exports={parse:SZ,valid:TZ,clean:jZ,inc:MZ,diff:bZ,major:vZ,minor:uZ,patch:fZ,prerelease:dZ,compare:hZ,rcompare:lZ,compareLoose:gZ,compareBuild:cZ,sort:mZ,rsort:pZ,gt:nZ,lt:aZ,eq:iZ,neq:sZ,gte:rZ,lte:oZ,cmp:tZ,coerce:eZ,truncate:q5,Comparator:Z5,Range:$5,satisfies:Q5,toComparators:K5,maxSatisfying:Y5,minSatisfying:W5,minVersion:z5,validRange:_5,outside:I5,gtr:B5,ltr:J5,intersects:V5,simplifyRange:X5,subset:O5,SemVer:wZ,re:fq.re,src:fq.src,tokens:fq.t,SEMVER_SPEC_VERSION:M1.SEMVER_SPEC_VERSION,RELEASE_TYPES:M1.RELEASE_TYPES,compareIdentifiers:b1.compareIdentifiers,rcompareIdentifiers:b1.rcompareIdentifiers}});var d1=O((r6,f1)=>{var F5=Symbol("proc-log.meta");f1.exports={META:F5,output:{LEVELS:["standard","error","buffer","flush"],KEYS:{standard:"standard",error:"error",buffer:"buffer",flush:"flush"},standard:function(...q){return process.emit("output","standard",...q)},error:function(...q){return process.emit("output","error",...q)},buffer:function(...q){return process.emit("output","buffer",...q)},flush:function(...q){return process.emit("output","flush",...q)}},log:{LEVELS:["notice","error","warn","info","verbose","http","silly","timing","pause","resume"],KEYS:{notice:"notice",error:"error",warn:"warn",info:"info",verbose:"verbose",http:"http",silly:"silly",timing:"timing",pause:"pause",resume:"resume"},error:function(...q){return process.emit("log","error",...q)},notice:function(...q){return process.emit("log","notice",...q)},warn:function(...q){return process.emit("log","warn",...q)},info:function(...q){return process.emit("log","info",...q)},verbose:function(...q){return process.emit("log","verbose",...q)},http:function(...q){return process.emit("log","http",...q)},silly:function(...q){return process.emit("log","silly",...q)},timing:function(...q){return process.emit("log","timing",...q)},pause:function(){return process.emit("log","pause")},resume:function(){return process.emit("log","resume")}},time:{LEVELS:["start","end"],KEYS:{start:"start",end:"end"},start:function(q,Z){process.emit("time","start",q);function $(){return process.emit("time","end",q)}if(typeof Z==="function"){let Q=Z();if(Q&&Q.finally)return Q.finally($);return $(),Q}return $},end:function(q){return process.emit("time","end",q)}},input:{LEVELS:["start","end","read"],KEYS:{start:"start",end:"end",read:"read"},start:function(...q){let Z;if(typeof q[0]==="function")Z=q.shift();process.emit("input","start",...q);function $(){return process.emit("input","end",...q)}if(typeof Z==="function"){let Q=Z();if(Q&&Q.finally)return Q.finally($);return $(),Q}return $},end:function(...q){return process.emit("input","end",...q)},read:function(...q){let Z,$,Q=new Promise((K,Y)=>{Z=K,$=Y});return process.emit("input","read",Z,$,...q),Q}}}});var n1=O((m1)=>{var l1=(q,Z)=>()=>(Z||q((Z={exports:{}}).exports,Z),Z.exports),x5=l1((q)=>{Object.defineProperty(q,"__esModule",{value:!0}),q.tracing=q.metrics=void 0;var Z=n("diagnostics_channel");q.metrics=(0,Z.channel)("lru-cache:metrics"),q.tracing=(0,Z.tracingChannel)("lru-cache")}),D5=l1((q)=>{Object.defineProperty(q,"__esModule",{value:!0}),q.defaultPerf=void 0,q.defaultPerf=typeof performance=="object"&&performance&&typeof performance.now=="function"?performance:Date});Object.defineProperty(m1,"__esModule",{value:!0});m1.LRUCache=void 0;var A=x5(),U5=D5(),dq=()=>A.metrics.hasSubscribers||A.tracing.hasSubscribers,g1=new Set,h1=typeof process=="object"&&process?process:{},N5=(q,Z,$,Q)=>{typeof h1.emitWarning=="function"?h1.emitWarning(q,Z,$,Q):console.error(`[${$}] ${Z}: ${q}`)},L5=(q)=>!g1.has(q),h=(q)=>!!q&&q===Math.floor(q)&&q>0&&isFinite(q),c1=(q)=>h(q)?q<=Math.pow(2,8)?Uint8Array:q<=Math.pow(2,16)?Uint16Array:q<=Math.pow(2,32)?Uint32Array:q<=Number.MAX_SAFE_INTEGER?Nq:null:null,Nq=class extends Array{constructor(q){super(q),this.fill(0)}},G5=class q{heap;length;static#K=!1;static create(Z){let $=c1(Z);if(!$)return[];q.#K=!0;let Q=new q(Z,$);return q.#K=!1,Q}constructor(Z,$){if(!q.#K)throw TypeError("instantiate Stack using Stack.create(n)");this.heap=new $(Z),this.length=0}push(Z){this.heap[this.length++]=Z}pop(){return this.heap[--this.length]}},P5=class q{#K;#I;#Z;#y;#D;#b;#v;#U;get perf(){return this.#U}ttl;ttlResolution;ttlAutopurge;updateAgeOnGet;updateAgeOnHas;allowStale;noDisposeOnSet;noUpdateTTL;maxEntrySize;sizeCalculation;noDeleteOnFetchRejection;noDeleteOnStaleGet;allowStaleOnFetchAbort;allowStaleOnFetchRejection;ignoreFetchAbort;backgroundFetchSize;#W;#N;#Y;#Q;#q;#J;#X;#B;#z;#L;#_;#G;#P;#O;#F;#A;#u;#V;#w;static unsafeExposeInternals(Z){return{starts:Z.#P,ttls:Z.#O,autopurgeTimers:Z.#F,sizes:Z.#G,keyMap:Z.#Y,keyList:Z.#Q,valList:Z.#q,next:Z.#J,prev:Z.#X,get head(){return Z.#B},get tail(){return Z.#z},free:Z.#L,isBackgroundFetch:($)=>Z.#$($),backgroundFetch:($,Q,K,Y)=>Z.#h($,Q,K,Y),moveToTail:($)=>Z.#M($),indexes:($)=>Z.#C($),rindexes:($)=>Z.#E($),isStale:($)=>Z.#x($)}}get max(){return this.#K}get maxSize(){return this.#I}get calculatedSize(){return this.#N}get size(){return this.#W}get fetchMethod(){return this.#b}get memoMethod(){return this.#v}get dispose(){return this.#Z}get onInsert(){return this.#y}get disposeAfter(){return this.#D}constructor(Z){let{max:$=0,ttl:Q,ttlResolution:K=1,ttlAutopurge:Y,updateAgeOnGet:W,updateAgeOnHas:z,allowStale:_,dispose:I,onInsert:J,disposeAfter:F,noDisposeOnSet:N,noUpdateTTL:B,maxSize:G=0,maxEntrySize:x=0,sizeCalculation:H,fetchMethod:U,memoMethod:k,noDeleteOnFetchRejection:f,noDeleteOnStaleGet:w,allowStaleOnFetchRejection:C,allowStaleOnFetchAbort:i,ignoreFetchAbort:g,backgroundFetchSize:Yq=1,perf:c}=Z;if(this.backgroundFetchSize=Yq,c!==void 0&&typeof c?.now!="function")throw TypeError("perf option must have a now() method if specified");if(this.#U=c??U5.defaultPerf,$!==0&&!h($))throw TypeError("max option must be a nonnegative integer");let Gq=$?c1($):Array;if(!Gq)throw Error("invalid max value: "+$);if(this.#K=$,this.#I=G,this.maxEntrySize=x||this.#I,this.sizeCalculation=H,this.sizeCalculation){if(!this.#I&&!this.maxEntrySize)throw TypeError("cannot set sizeCalculation without setting maxSize or maxEntrySize");if(typeof this.sizeCalculation!="function")throw TypeError("sizeCalculation set to non-function")}if(k!==void 0&&typeof k!="function")throw TypeError("memoMethod must be a function if defined");if(this.#v=k,U!==void 0&&typeof U!="function")throw TypeError("fetchMethod must be a function if specified");if(this.#b=U,this.#u=!!U,this.#Y=new Map,this.#Q=Array.from({length:$}).fill(void 0),this.#q=Array.from({length:$}).fill(void 0),this.#J=new Gq($),this.#X=new Gq($),this.#B=0,this.#z=0,this.#L=G5.create($),this.#W=0,this.#N=0,typeof I=="function"&&(this.#Z=I),typeof J=="function"&&(this.#y=J),typeof F=="function"?(this.#D=F,this.#_=[]):(this.#D=void 0,this.#_=void 0),this.#A=!!this.#Z,this.#w=!!this.#y,this.#V=!!this.#D,this.noDisposeOnSet=!!N,this.noUpdateTTL=!!B,this.noDeleteOnFetchRejection=!!f,this.allowStaleOnFetchRejection=!!C,this.allowStaleOnFetchAbort=!!i,this.ignoreFetchAbort=!!g,this.maxEntrySize!==0){if(this.#I!==0&&!h(this.#I))throw TypeError("maxSize must be a positive integer if specified");if(!h(this.maxEntrySize))throw TypeError("maxEntrySize must be a positive integer if specified");this.#i()}if(this.allowStale=!!_,this.noDeleteOnStaleGet=!!w,this.updateAgeOnGet=!!W,this.updateAgeOnHas=!!z,this.ttlResolution=h(K)||K===0?K:1,this.ttlAutopurge=!!Y,this.ttl=Q||0,this.ttl){if(!h(this.ttl))throw TypeError("ttl must be a positive integer if specified");this.#l()}if(this.#K===0&&this.ttl===0&&this.#I===0)throw TypeError("At least one of max, maxSize, or ttl is required");if(!this.ttlAutopurge&&!this.#K&&!this.#I){let Pq="LRU_CACHE_UNBOUNDED";L5(Pq)&&(g1.add(Pq),N5("TTL caching without ttlAutopurge, max, or maxSize can result in unbounded memory consumption.","UnboundedCacheWarning",Pq,q))}}getRemainingTTL(Z){return this.#Y.has(Z)?1/0:0}#l(){let Z=new Nq(this.#K),$=new Nq(this.#K);this.#O=Z,this.#P=$;let Q=this.ttlAutopurge?Array.from({length:this.#K}):void 0;this.#F=Q,this.#g=(z,_,I=this.#U.now())=>{$[z]=_!==0?I:0,Z[z]=_,K(z,_)},this.#S=(z)=>{$[z]=Z[z]!==0?this.#U.now():0,K(z,Z[z])};let K=this.ttlAutopurge?(z,_)=>{if(Q?.[z]&&(clearTimeout(Q[z]),Q[z]=void 0),_&&_!==0&&Q){let I=setTimeout(()=>{this.#x(z)&&this.#H(this.#Q[z],"expire")},_+1);I.unref&&I.unref(),Q[z]=I}}:()=>{};this.#k=(z,_)=>{if(Z[_]){let I=Z[_],J=$[_];if(!I||!J)return;z.ttl=I,z.start=J,z.now=Y||W();let F=z.now-J;z.remainingTTL=I-F}};let Y=0,W=()=>{let z=this.#U.now();if(this.ttlResolution>0){Y=z;let _=setTimeout(()=>Y=0,this.ttlResolution);_.unref&&_.unref()}return z};this.getRemainingTTL=(z)=>{let _=this.#Y.get(z);if(_===void 0)return 0;let I=Z[_],J=$[_];if(!I||!J)return 1/0;let F=(Y||W())-J;return I-F},this.#x=(z)=>{let _=$[z],I=Z[z];return!!I&&!!_&&(Y||W())-_>I}}#S=()=>{};#k=()=>{};#g=()=>{};#x=()=>!1;#i(){let Z=new Nq(this.#K);this.#N=0,this.#G=Z,this.#T=($)=>{this.#N-=Z[$],Z[$]=0},this.#c=($,Q,K,Y)=>{if(!h(K)){if(this.#$(Q))return this.backgroundFetchSize;if(Y){if(typeof Y!="function")throw TypeError("sizeCalculation must be a function");if(K=Y(Q,$),!h(K))throw TypeError("sizeCalculation return invalid (expect positive integer)")}else throw TypeError("invalid size value (must be positive integer). When maxSize or maxEntrySize is used, sizeCalculation or size must be set.")}return K},this.#f=($,Q,K)=>{if(Z[$]=Q,this.#I){let Y=this.#I-Z[$];for(;this.#N>Y;)this.#d(!0)}this.#N+=Z[$],K&&(K.entrySize=Q,K.totalCalculatedSize=this.#N)}}#T=(Z)=>{};#f=(Z,$,Q)=>{};#c=(Z,$,Q,K)=>{if(Q||K)throw TypeError("cannot set size without setting maxSize or maxEntrySize on cache");return 0};*#C({allowStale:Z=this.allowStale}={}){if(this.#W)for(let $=this.#z;this.#m($)&&((Z||!this.#x($))&&(yield $),$!==this.#B);)$=this.#X[$]}*#E({allowStale:Z=this.allowStale}={}){if(this.#W)for(let $=this.#B;this.#m($)&&((Z||!this.#x($))&&(yield $),$!==this.#z);)$=this.#J[$]}#m(Z){return Z!==void 0&&this.#Y.get(this.#Q[Z])===Z}*entries(){for(let Z of this.#C())this.#q[Z]!==void 0&&this.#Q[Z]!==void 0&&!this.#$(this.#q[Z])&&(yield[this.#Q[Z],this.#q[Z]])}*rentries(){for(let Z of this.#E())this.#q[Z]!==void 0&&this.#Q[Z]!==void 0&&!this.#$(this.#q[Z])&&(yield[this.#Q[Z],this.#q[Z]])}*keys(){for(let Z of this.#C()){let $=this.#Q[Z];$!==void 0&&!this.#$(this.#q[Z])&&(yield $)}}*rkeys(){for(let Z of this.#E()){let $=this.#Q[Z];$!==void 0&&!this.#$(this.#q[Z])&&(yield $)}}*values(){for(let Z of this.#C())this.#q[Z]!==void 0&&!this.#$(this.#q[Z])&&(yield this.#q[Z])}*rvalues(){for(let Z of this.#E())this.#q[Z]!==void 0&&!this.#$(this.#q[Z])&&(yield this.#q[Z])}[Symbol.iterator](){return this.entries()}[Symbol.toStringTag]="LRUCache";find(Z,$={}){for(let Q of this.#C()){let K=this.#q[Q],Y=this.#$(K)?K.__staleWhileFetching:K;if(Y!==void 0&&Z(Y,this.#Q[Q],this))return this.#j(this.#Q[Q],$)}}forEach(Z,$=this){for(let Q of this.#C()){let K=this.#q[Q],Y=this.#$(K)?K.__staleWhileFetching:K;Y!==void 0&&Z.call($,Y,this.#Q[Q],this)}}rforEach(Z,$=this){for(let Q of this.#E()){let K=this.#q[Q],Y=this.#$(K)?K.__staleWhileFetching:K;Y!==void 0&&Z.call($,Y,this.#Q[Q],this)}}purgeStale(){let Z=!1;for(let $ of this.#E({allowStale:!0}))this.#x($)&&(this.#H(this.#Q[$],"expire"),Z=!0);return Z}info(Z){let $=this.#Y.get(Z);if($===void 0)return;let Q=this.#q[$],K=this.#$(Q)?Q.__staleWhileFetching:Q;if(K===void 0)return;let Y={value:K};if(this.#O&&this.#P){let W=this.#O[$],z=this.#P[$];if(W&&z){let _=W-(this.#U.now()-z);Y.ttl=_,Y.start=Date.now()}}return this.#G&&(Y.size=this.#G[$]),Y}dump(){let Z=[];for(let $ of this.#C({allowStale:!0})){let Q=this.#Q[$],K=this.#q[$],Y=this.#$(K)?K.__staleWhileFetching:K;if(Y===void 0||Q===void 0)continue;let W={value:Y};if(this.#O&&this.#P){W.ttl=this.#O[$];let z=this.#U.now()-this.#P[$];W.start=Math.floor(Date.now()-z)}this.#G&&(W.size=this.#G[$]),Z.unshift([Q,W])}return Z}load(Z){this.clear();for(let[$,Q]of Z){if(Q.start){let K=Date.now()-Q.start;Q.start=this.#U.now()-K}this.#R($,Q.value,Q)}}set(Z,$,Q={}){let{status:K=A.metrics.hasSubscribers?{}:void 0}=Q;Q.status=K,K&&(K.op="set",K.key=Z,$!==void 0&&(K.value=$),K.cache=this);let Y=this.#R(Z,$,Q);return K&&A.metrics.hasSubscribers&&A.metrics.publish(K),Y}#R(Z,$,Q,K){let{ttl:Y=this.ttl,start:W,noDisposeOnSet:z=this.noDisposeOnSet,sizeCalculation:_=this.sizeCalculation,status:I}=Q,J=this.#$($);if($===void 0)return I&&(I.set="deleted"),this.delete(Z),this;let{noUpdateTTL:F=this.noUpdateTTL}=Q;I&&!J&&(I.value=$);let N=this.#c(Z,$,Q.size||0,_,I);if(this.maxEntrySize&&N>this.maxEntrySize)return this.#H(Z,"set"),I&&(I.set="miss",I.maxEntrySizeExceeded=!0),this;let B=this.#W===0?void 0:this.#Y.get(Z);if(B===void 0)B=this.#W===0?this.#z:this.#L.length!==0?this.#L.pop():this.#W===this.#K?this.#d(!1):this.#W,this.#Q[B]=Z,this.#q[B]=$,this.#Y.set(Z,B),this.#J[this.#z]=B,this.#X[B]=this.#z,this.#z=B,this.#W++,this.#f(B,N,I),I&&(I.set="add"),F=!1,this.#w&&!J&&this.#y?.($,Z,"add");else{this.#M(B);let G=this.#q[B];if($!==G){if(!z)if(this.#$(G)){G!==K&&G.__abortController.abort(Error("replaced"));let{__staleWhileFetching:x}=G;x!==void 0&&x!==$&&(this.#A&&this.#Z?.(x,Z,"set"),this.#V&&this.#_?.push([x,Z,"set"]))}else this.#A&&this.#Z?.(G,Z,"set"),this.#V&&this.#_?.push([G,Z,"set"]);if(this.#T(B),this.#f(B,N,I),this.#q[B]=$,!J){let x=G&&this.#$(G)?G.__staleWhileFetching:G,H=x===void 0?"add":$!==x?"replace":"update";I&&(I.set=H,x!==void 0&&(I.oldValue=x)),this.#w&&this.onInsert?.($,Z,H)}}else J||(I&&(I.set="update"),this.#w&&this.onInsert?.($,Z,"update"))}if(Y!==0&&!this.#O&&this.#l(),this.#O&&(F||this.#g(B,Y,W),I&&this.#k(I,B)),!z&&this.#V&&this.#_){let G=this.#_,x;for(;x=G?.shift();)this.#D?.(...x)}return this}pop(){try{for(;this.#W;){let Z=this.#q[this.#B];if(this.#d(!0),this.#$(Z)){if(Z.__staleWhileFetching)return Z.__staleWhileFetching}else if(Z!==void 0)return Z}}finally{if(this.#V&&this.#_){let Z=this.#_,$;for(;$=Z?.shift();)this.#D?.(...$)}}}#d(Z){let $=this.#B,Q=this.#Q[$],K=this.#q[$],Y=this.#$(K);Y&&K.__abortController.abort(Error("evicted"));let W=Y?K.__staleWhileFetching:K;return(this.#A||this.#V)&&W!==void 0&&(this.#A&&this.#Z?.(W,Q,"evict"),this.#V&&this.#_?.push([W,Q,"evict"])),this.#T($),this.#F?.[$]&&(clearTimeout(this.#F[$]),this.#F[$]=void 0),Z&&(this.#Q[$]=void 0,this.#q[$]=void 0,this.#L.push($)),this.#W===1?(this.#B=this.#z=0,this.#L.length=0):this.#B=this.#J[$],this.#Y.delete(Q),this.#W--,$}has(Z,$={}){let{status:Q=A.metrics.hasSubscribers?{}:void 0}=$;$.status=Q,Q&&(Q.op="has",Q.key=Z,Q.cache=this);let K=this.#s(Z,$);return A.metrics.hasSubscribers&&A.metrics.publish(Q),K}#s(Z,$={}){let{updateAgeOnHas:Q=this.updateAgeOnHas,status:K}=$,Y=this.#Y.get(Z);if(Y!==void 0){let W=this.#q[Y];if(this.#$(W)&&W.__staleWhileFetching===void 0)return!1;if(this.#x(Y))K&&(K.has="stale",this.#k(K,Y));else return Q&&this.#S(Y),K&&(K.has="hit",this.#k(K,Y)),!0}else K&&(K.has="miss");return!1}peek(Z,$={}){let{status:Q=dq()?{}:void 0}=$;Q&&(Q.op="peek",Q.key=Z,Q.cache=this),$.status=Q;let K=this.#r(Z,$);return A.metrics.hasSubscribers&&A.metrics.publish(Q),K}#r(Z,$){let{status:Q,allowStale:K=this.allowStale}=$,Y=this.#Y.get(Z);if(Y===void 0||!K&&this.#x(Y)){Q&&(Q.peek=Y===void 0?"miss":"stale");return}let W=this.#q[Y],z=this.#$(W)?W.__staleWhileFetching:W;return Q&&(z!==void 0?(Q.peek="hit",Q.value=z):Q.peek="miss"),z}#h(Z,$,Q,K){let Y=$===void 0?void 0:this.#q[$];if(this.#$(Y))return Y;let W=new AbortController,{signal:z}=Q;z?.addEventListener("abort",()=>W.abort(z.reason),{signal:W.signal});let _={signal:W.signal,options:Q,context:K},I=(x,H=!1)=>{let{aborted:U}=W.signal,k=Q.ignoreFetchAbort&&x!==void 0,f=Q.ignoreFetchAbort||!!(Q.allowStaleOnFetchAbort&&x!==void 0);if(Q.status&&(U&&!H?(Q.status.fetchAborted=!0,Q.status.fetchError=W.signal.reason,k&&(Q.status.fetchAbortIgnored=!0)):Q.status.fetchResolved=!0),U&&!k&&!H)return F(W.signal.reason,f);let w=B,C=this.#q[$];return(C===B||C===void 0&&k&&H)&&(x===void 0?w.__staleWhileFetching!==void 0?this.#q[$]=w.__staleWhileFetching:this.#H(Z,"fetch"):(Q.status&&(Q.status.fetchUpdated=!0),this.#R(Z,x,_.options,w))),x},J=(x)=>(Q.status&&(Q.status.fetchRejected=!0,Q.status.fetchError=x),F(x,!1)),F=(x,H)=>{let{aborted:U}=W.signal,k=U&&Q.allowStaleOnFetchAbort,f=k||Q.allowStaleOnFetchRejection,w=f||Q.noDeleteOnFetchRejection,C=B;if(this.#q[$]===B&&(!w||!H&&C.__staleWhileFetching===void 0?this.#H(Z,"fetch"):k||(this.#q[$]=C.__staleWhileFetching)),f)return Q.status&&C.__staleWhileFetching!==void 0&&(Q.status.returnedStale=!0),C.__staleWhileFetching;if(C.__returned===C)throw x},N=(x,H)=>{let U=this.#b?.(Z,Y,_);W.signal.addEventListener("abort",()=>{(!Q.ignoreFetchAbort||Q.allowStaleOnFetchAbort)&&(x(void 0),Q.allowStaleOnFetchAbort&&(x=(k)=>I(k,!0)))}),U&&U instanceof Promise?U.then((k)=>x(k===void 0?void 0:k),H):U!==void 0&&x(U)};Q.status&&(Q.status.fetchDispatched=!0);let B=new Promise(N).then(I,J),G=Object.assign(B,{__abortController:W,__staleWhileFetching:Y,__returned:void 0});return $===void 0?(this.#R(Z,G,{..._.options,status:void 0}),$=this.#Y.get(Z)):this.#q[$]=G,G}#$(Z){if(!this.#u)return!1;let $=Z;return!!$&&$ instanceof Promise&&$.hasOwnProperty("__staleWhileFetching")&&$.__abortController instanceof AbortController}fetch(Z,$={}){let Q=A.tracing.hasSubscribers,{status:K=dq()?{}:void 0}=$;$.status=K,K&&$.context&&(K.context=$.context);let Y=this.#p(Z,$);return K&&Q&&(K.trace=!0,A.tracing.tracePromise(()=>Y,K).catch(()=>{})),Y}async#p(Z,$={}){let{allowStale:Q=this.allowStale,updateAgeOnGet:K=this.updateAgeOnGet,noDeleteOnStaleGet:Y=this.noDeleteOnStaleGet,ttl:W=this.ttl,noDisposeOnSet:z=this.noDisposeOnSet,size:_=0,sizeCalculation:I=this.sizeCalculation,noUpdateTTL:J=this.noUpdateTTL,noDeleteOnFetchRejection:F=this.noDeleteOnFetchRejection,allowStaleOnFetchRejection:N=this.allowStaleOnFetchRejection,ignoreFetchAbort:B=this.ignoreFetchAbort,allowStaleOnFetchAbort:G=this.allowStaleOnFetchAbort,context:x,forceRefresh:H=!1,status:U,signal:k}=$;if(U&&(U.op="fetch",U.key=Z,H&&(U.forceRefresh=!0),U.cache=this),!this.#u)return U&&(U.fetch="get"),this.#j(Z,{allowStale:Q,updateAgeOnGet:K,noDeleteOnStaleGet:Y,status:U});let f={allowStale:Q,updateAgeOnGet:K,noDeleteOnStaleGet:Y,ttl:W,noDisposeOnSet:z,size:_,sizeCalculation:I,noUpdateTTL:J,noDeleteOnFetchRejection:F,allowStaleOnFetchRejection:N,allowStaleOnFetchAbort:G,ignoreFetchAbort:B,status:U,signal:k},w=this.#Y.get(Z);if(w===void 0){U&&(U.fetch="miss");let C=this.#h(Z,w,f,x);return C.__returned=C}else{let C=this.#q[w];if(this.#$(C)){let c=Q&&C.__staleWhileFetching!==void 0;return U&&(U.fetch="inflight",c&&(U.returnedStale=!0)),c?C.__staleWhileFetching:C.__returned=C}let i=this.#x(w);if(!H&&!i)return U&&(U.fetch="hit"),this.#M(w),K&&this.#S(w),U&&this.#k(U,w),C;let g=this.#h(Z,w,f,x),Yq=g.__staleWhileFetching!==void 0&&Q;return U&&(U.fetch=i?"stale":"refresh",Yq&&i&&(U.returnedStale=!0)),Yq?g.__staleWhileFetching:g.__returned=g}}forceFetch(Z,$={}){let Q=A.tracing.hasSubscribers,{status:K=dq()?{}:void 0}=$;$.status=K,K&&$.context&&(K.context=$.context);let Y=this.#o(Z,$);return K&&Q&&(K.trace=!0,A.tracing.tracePromise(()=>Y,K).catch(()=>{})),Y}async#o(Z,$={}){let Q=await this.#p(Z,$);if(Q===void 0)throw Error("fetch() returned undefined");return Q}memo(Z,$={}){let{status:Q=A.metrics.hasSubscribers?{}:void 0}=$;$.status=Q,Q&&(Q.op="memo",Q.key=Z,$.context&&(Q.context=$.context),Q.cache=this);let K=this.#t(Z,$);return Q&&(Q.value=K),A.metrics.hasSubscribers&&A.metrics.publish(Q),K}#t(Z,$={}){let Q=this.#v;if(!Q)throw Error("no memoMethod provided to constructor");let{context:K,status:Y,forceRefresh:W,...z}=$;Y&&W&&(Y.forceRefresh=!0);let _=this.#j(Z,z),I=W||_===void 0;if(Y&&(Y.memo=I?"miss":"hit",I||(Y.value=_)),!I)return _;let J=Q(Z,_,{options:z,context:K});return Y&&(Y.value=J),this.#R(Z,J,z),J}get(Z,$={}){let{status:Q=A.metrics.hasSubscribers?{}:void 0}=$;$.status=Q,Q&&(Q.op="get",Q.key=Z,Q.cache=this);let K=this.#j(Z,$);return Q&&(K!==void 0&&(Q.value=K),A.metrics.hasSubscribers&&A.metrics.publish(Q)),K}#j(Z,$={}){let{allowStale:Q=this.allowStale,updateAgeOnGet:K=this.updateAgeOnGet,noDeleteOnStaleGet:Y=this.noDeleteOnStaleGet,status:W}=$,z=this.#Y.get(Z);if(z===void 0){W&&(W.get="miss");return}let _=this.#q[z],I=this.#$(_);return W&&this.#k(W,z),this.#x(z)?I?(W&&(W.get="stale-fetching"),Q&&_.__staleWhileFetching!==void 0?(W&&(W.returnedStale=!0),_.__staleWhileFetching):void 0):(Y||this.#H(Z,"expire"),W&&(W.get="stale"),Q?(W&&(W.returnedStale=!0),_):void 0):(W&&(W.get=I?"fetching":"hit"),this.#M(z),K&&this.#S(z),I?_.__staleWhileFetching:_)}#n(Z,$){this.#X[$]=Z,this.#J[Z]=$}#M(Z){Z!==this.#z&&(Z===this.#B?this.#B=this.#J[Z]:this.#n(this.#X[Z],this.#J[Z]),this.#n(this.#z,Z),this.#z=Z)}delete(Z){return this.#H(Z,"delete")}#H(Z,$){A.metrics.hasSubscribers&&A.metrics.publish({op:"delete",delete:$,key:Z,cache:this});let Q=!1;if(this.#W!==0){let K=this.#Y.get(Z);if(K!==void 0)if(this.#F?.[K]&&(clearTimeout(this.#F?.[K]),this.#F[K]=void 0),Q=!0,this.#W===1)this.#a($);else{this.#T(K);let Y=this.#q[K];if(this.#$(Y)?Y.__abortController.abort(Error("deleted")):(this.#A||this.#V)&&(this.#A&&this.#Z?.(Y,Z,$),this.#V&&this.#_?.push([Y,Z,$])),this.#Y.delete(Z),this.#Q[K]=void 0,this.#q[K]=void 0,K===this.#z)this.#z=this.#X[K];else if(K===this.#B)this.#B=this.#J[K];else{let W=this.#X[K];this.#J[W]=this.#J[K];let z=this.#J[K];this.#X[z]=this.#X[K]}this.#W--,this.#L.push(K)}}if(this.#V&&this.#_?.length){let K=this.#_,Y;for(;Y=K?.shift();)this.#D?.(...Y)}return Q}clear(){return this.#a("delete")}#a(Z){for(let $ of this.#E({allowStale:!0})){let Q=this.#q[$];if(this.#$(Q))Q.__abortController.abort(Error("deleted"));else{let K=this.#Q[$];this.#A&&this.#Z?.(Q,K,Z),this.#V&&this.#_?.push([Q,K,Z])}}if(this.#Y.clear(),this.#q.fill(void 0),this.#Q.fill(void 0),this.#O&&this.#P){this.#O.fill(0),this.#P.fill(0);for(let $ of this.#F??[])$!==void 0&&clearTimeout($);this.#F?.fill(void 0)}if(this.#G&&this.#G.fill(0),this.#B=0,this.#z=0,this.#L.length=0,this.#N=0,this.#W=0,this.#V&&this.#_){let $=this.#_,Q;for(;Q=$?.shift();)this.#D?.(...Q)}}};m1.LRUCache=P5});var s1=O((e6,i1)=>{var L=(...q)=>q.every((Z)=>Z)?q.join(""):"",E=(q)=>q?encodeURIComponent(q):"",a1=(q)=>q.toLowerCase().replace(/^\W+/g,"").replace(/(?<!\W)\W+$/,"").replace(/\//g,"").replace(/\W+/g,"-"),A5={sshtemplate:({domain:q,user:Z,project:$,committish:Q})=>`git@${q}:${Z}/${$}.git${L("#",Q)}`,sshurltemplate:({domain:q,user:Z,project:$,committish:Q})=>`git+ssh://git@${q}/${Z}/${$}.git${L("#",Q)}`,edittemplate:({domain:q,user:Z,project:$,committish:Q,editpath:K,path:Y})=>`https://${q}/${Z}/${$}${L("/",K,"/",E(Q||"HEAD"),"/",Y)}`,browsetemplate:({domain:q,user:Z,project:$,committish:Q,treepath:K})=>`https://${q}/${Z}/${$}${L("/",K,"/",E(Q))}`,browsetreetemplate:({domain:q,user:Z,project:$,committish:Q,treepath:K,path:Y,fragment:W,hashformat:z})=>`https://${q}/${Z}/${$}/${K}/${E(Q||"HEAD")}/${Y}${L("#",z(W||""))}`,browseblobtemplate:({domain:q,user:Z,project:$,committish:Q,blobpath:K,path:Y,fragment:W,hashformat:z})=>`https://${q}/${Z}/${$}/${K}/${E(Q||"HEAD")}/${Y}${L("#",z(W||""))}`,docstemplate:({domain:q,user:Z,project:$,treepath:Q,committish:K})=>`https://${q}/${Z}/${$}${L("/",Q,"/",E(K))}#readme`,httpstemplate:({auth:q,domain:Z,user:$,project:Q,committish:K})=>`git+https://${L(q,"@")}${Z}/${$}/${Q}.git${L("#",K)}`,filetemplate:({domain:q,user:Z,project:$,committish:Q,path:K})=>`https://${q}/${Z}/${$}/raw/${E(Q||"HEAD")}/${K}`,shortcuttemplate:({type:q,user:Z,project:$,committish:Q})=>`${q}:${Z}/${$}${L("#",Q)}`,pathtemplate:({user:q,project:Z,committish:$})=>`${q}/${Z}${L("#",$)}`,bugstemplate:({domain:q,user:Z,project:$})=>`https://${q}/${Z}/${$}/issues`,hashformat:a1},l={};l.github={protocols:["git:","http:","git+ssh:","git+https:","ssh:","https:"],domain:"github.com",treepath:"tree",blobpath:"blob",editpath:"edit",filetemplate:({auth:q,user:Z,project:$,committish:Q,path:K})=>`https://${L(q,"@")}raw.githubusercontent.com/${Z}/${$}/${E(Q||"HEAD")}/${K}`,gittemplate:({auth:q,domain:Z,user:$,project:Q,committish:K})=>`git://${L(q,"@")}${Z}/${$}/${Q}.git${L("#",K)}`,tarballtemplate:({domain:q,user:Z,project:$,committish:Q})=>`https://codeload.${q}/${Z}/${$}/tar.gz/${E(Q||"HEAD")}`,extract:(q)=>{let[,Z,$,Q,K]=q.pathname.split("/",5);if(Q&&Q!=="tree")return;if(!Q)K=q.hash.slice(1);if($&&$.endsWith(".git"))$=$.slice(0,-4);if(!Z||!$)return;return{user:Z,project:$,committish:K}}};l.bitbucket={protocols:["git+ssh:","git+https:","ssh:","https:"],domain:"bitbucket.org",treepath:"src",blobpath:"src",editpath:"?mode=edit",edittemplate:({domain:q,user:Z,project:$,committish:Q,treepath:K,path:Y,editpath:W})=>`https://${q}/${Z}/${$}${L("/",K,"/",E(Q||"HEAD"),"/",Y,W)}`,tarballtemplate:({domain:q,user:Z,project:$,committish:Q})=>`https://${q}/${Z}/${$}/get/${E(Q||"HEAD")}.tar.gz`,extract:(q)=>{let[,Z,$,Q]=q.pathname.split("/",4);if(["get"].includes(Q))return;if($&&$.endsWith(".git"))$=$.slice(0,-4);if(!Z||!$)return;return{user:Z,project:$,committish:q.hash.slice(1)}}};l.gitlab={protocols:["git+ssh:","git+https:","ssh:","https:"],domain:"gitlab.com",treepath:"tree",blobpath:"tree",editpath:"-/edit",tarballtemplate:({domain:q,user:Z,project:$,committish:Q})=>`https://${q}/api/v4/projects/${E(Z+"/"+$)}/repository/archive.tar.gz?sha=${E(Q||"HEAD")}`,extract:(q)=>{let Z=q.pathname.slice(1);if(Z.includes("/-/")||Z.includes("/archive.tar.gz"))return;let $=Z.split("/"),Q=$.pop();if(Q.endsWith(".git"))Q=Q.slice(0,-4);let K=$.join("/");if(!K||!Q)return;return{user:K,project:Q,committish:q.hash.slice(1)}}};l.gist={protocols:["git:","git+ssh:","git+https:","ssh:","https:"],domain:"gist.github.com",editpath:"edit",sshtemplate:({domain:q,project:Z,committish:$})=>`git@${q}:${Z}.git${L("#",$)}`,sshurltemplate:({domain:q,project:Z,committish:$})=>`git+ssh://git@${q}/${Z}.git${L("#",$)}`,edittemplate:({domain:q,user:Z,project:$,committish:Q,editpath:K})=>`https://${q}/${Z}/${$}${L("/",E(Q))}/${K}`,browsetemplate:({domain:q,project:Z,committish:$})=>`https://${q}/${Z}${L("/",E($))}`,browsetreetemplate:({domain:q,project:Z,committish:$,path:Q,hashformat:K})=>`https://${q}/${Z}${L("/",E($))}${L("#",K(Q))}`,browseblobtemplate:({domain:q,project:Z,committish:$,path:Q,hashformat:K})=>`https://${q}/${Z}${L("/",E($))}${L("#",K(Q))}`,docstemplate:({domain:q,project:Z,committish:$})=>`https://${q}/${Z}${L("/",E($))}`,httpstemplate:({domain:q,project:Z,committish:$})=>`git+https://${q}/${Z}.git${L("#",$)}`,filetemplate:({user:q,project:Z,committish:$,path:Q})=>`https://gist.githubusercontent.com/${q}/${Z}/raw${L("/",E($))}/${Q}`,shortcuttemplate:({type:q,project:Z,committish:$})=>`${q}:${Z}${L("#",$)}`,pathtemplate:({project:q,committish:Z})=>`${q}${L("#",Z)}`,bugstemplate:({domain:q,project:Z})=>`https://${q}/${Z}`,gittemplate:({domain:q,project:Z,committish:$})=>`git://${q}/${Z}.git${L("#",$)}`,tarballtemplate:({project:q,committish:Z})=>`https://codeload.github.com/gist/${q}/tar.gz/${E(Z||"HEAD")}`,extract:(q)=>{let[,Z,$,Q]=q.pathname.split("/",4);if(Q==="raw")return;if(!$){if(!Z)return;$=Z,Z=null}if($.endsWith(".git"))$=$.slice(0,-4);return{user:Z,project:$,committish:q.hash.slice(1)}},hashformat:function(q){return q&&"file-"+a1(q)}};l.sourcehut={protocols:["git+ssh:","https:"],domain:"git.sr.ht",treepath:"tree",blobpath:"tree",filetemplate:({domain:q,user:Z,project:$,committish:Q,path:K})=>`https://${q}/${Z}/${$}/blob/${E(Q)||"HEAD"}/${K}`,httpstemplate:({domain:q,user:Z,project:$,committish:Q})=>`https://${q}/${Z}/${$}${L("#",Q)}`,tarballtemplate:({domain:q,user:Z,project:$,committish:Q})=>`https://${q}/${Z}/${$}/archive/${E(Q)||"HEAD"}.tar.gz`,bugstemplate:()=>null,extract:(q)=>{let[,Z,$,Q]=q.pathname.split("/",4);if(["archive"].includes(Q))return;if($&&$.endsWith(".git"))$=$.slice(0,-4);if(!Z||!$)return;return{user:Z,project:$,committish:q.hash.slice(1)}}};for(let[q,Z]of Object.entries(l))l[q]=Object.assign({},A5,Z);i1.exports=l});var lq=O((q7,o1)=>{var C5=n("url"),hq=(q,Z,$)=>{let Q=q.indexOf($);return q.lastIndexOf(Z,Q>-1?Q:1/0)},r1=(q)=>{try{return new C5.URL(q)}catch{}},E5=(q,Z)=>{let $=q.indexOf(":"),Q=q.slice(0,$+1);if(Object.prototype.hasOwnProperty.call(Z,Q))return q;if(q.substr($,3)==="://")return q;let K=q.indexOf("@");if(K>-1)if(K>$)return`git+ssh://${q}`;else return q;return`${q.slice(0,$+1)}//${q.slice($+1)}`},H5=(q)=>{let Z=hq(q,"@","#"),$=hq(q,":","#");if($>Z)q=q.slice(0,$)+"/"+q.slice($+1);if(hq(q,":","#")===-1&&q.indexOf("//")===-1)q=`git+ssh://${q}`;return q};o1.exports=(q,Z)=>{let $=Z?E5(q,Z):q;return r1($)||r1(H5($))}});var e1=O((Z7,t1)=>{var k5=lq(),R5=(q)=>{let Z=q.indexOf("#"),$=q.indexOf("/"),Q=q.indexOf("/",$+1),K=q.indexOf(":"),Y=/\s/.exec(q),W=q.indexOf("@"),z=!Y||Z>-1&&Y.index>Z,_=W===-1||Z>-1&&W>Z,I=K===-1||Z>-1&&K>Z,J=Q===-1||Z>-1&&Q>Z,F=$>0,N=Z>-1?q[Z-1]!=="/":!q.endsWith("/"),B=!q.startsWith(".");return z&&F&&N&&B&&_&&I&&J};t1.exports=(q,Z,{gitHosts:$,protocols:Q})=>{if(!q)return;let K=R5(q)?`github:${q}`:q,Y=k5(K,Q);if(!Y)return;let W=$.byShortcut[Y.protocol],z=$.byDomain[Y.hostname.startsWith("www.")?Y.hostname.slice(4):Y.hostname],_=W||z;if(!_)return;let I=$[W||z],J=null;if(Q[Y.protocol]?.auth&&(Y.username||Y.password))J=`${Y.username}${Y.password?":"+Y.password:""}`;let F=null,N=null,B=null,G=null;try{if(W){let x=Y.pathname.startsWith("/")?Y.pathname.slice(1):Y.pathname,H=x.indexOf("@");if(H>-1)x=x.slice(H+1);let U=x.lastIndexOf("/");if(U>-1){if(N=decodeURIComponent(x.slice(0,U)),!N)N=null;B=decodeURIComponent(x.slice(U+1))}else B=decodeURIComponent(x);if(B.endsWith(".git"))B=B.slice(0,-4);if(Y.hash)F=decodeURIComponent(Y.hash.slice(1));G="shortcut"}else{if(!I.protocols.includes(Y.protocol))return;let x=I.extract(Y);if(!x)return;N=x.user&&decodeURIComponent(x.user),B=decodeURIComponent(x.project),F=decodeURIComponent(x.committish),G=Q[Y.protocol]?.name||Y.protocol.slice(0,-1)}}catch(x){if(x instanceof URIError)return;else throw x}return[_,N,J,B,F,G,Z]}});var Z8=O(($7,q8)=>{var{LRUCache:y5}=n1(),w5=s1(),S5=e1(),T5=lq(),gq=new y5({max:1000});function j5(q){try{let{protocol:Z,hostname:$,pathname:Q}=new URL(q);if(!$)return null;let K=/(?:git\+)http:$/.test(Z)?"http:":"https:",Y=Q.replace(/\.git$/,"");return`${K}//${$}${Y}`}catch{return null}}class j{constructor(q,Z,$,Q,K,Y,W={}){Object.assign(this,j.#K[q],{type:q,user:Z,auth:$,project:Q,committish:K,default:Y,opts:W})}static#K={byShortcut:{},byDomain:{}};static#I={"git+ssh:":{name:"sshurl"},"ssh:":{name:"sshurl"},"git+https:":{name:"https",auth:!0},"git:":{auth:!0},"http:":{auth:!0},"https:":{auth:!0},"git+http:":{auth:!0}};static addHost(q,Z){j.#K[q]=Z,j.#K.byDomain[Z.domain]=q,j.#K.byShortcut[`${q}:`]=q,j.#I[`${q}:`]={name:q}}static fromUrl(q,Z){if(typeof q!=="string")return;let $=q+JSON.stringify(Z||{});if(!gq.has($)){let Q=S5(q,Z,{gitHosts:j.#K,protocols:j.#I});gq.set($,Q?new j(...Q):void 0)}return gq.get($)}static fromManifest(q,Z={}){if(!q||typeof q!=="object")return;let $=q.repository,Q=$&&(typeof $==="string"?$:typeof $==="object"&&typeof $.url==="string"?$.url:null);if(!Q)throw Error("no repository");let K=Q&&j.fromUrl(Q.replace(/^git\+/,""),Z)||null;if(K)return K;let Y=j5(Q);return j.fromUrl(Y,Z)||Y}static parseUrl(q){return T5(q)}#Z(q,Z){if(typeof q!=="function")return null;let $={...this,...this.opts,...Z};if(!$.path)$.path="";if($.path.startsWith("/"))$.path=$.path.slice(1);if($.noCommittish)$.committish=null;let Q=q($);return $.noGitPlus&&Q.startsWith("git+")?Q.slice(4):Q}hash(){return this.committish?`#${this.committish}`:""}ssh(q){return this.#Z(this.sshtemplate,q)}sshurl(q){return this.#Z(this.sshurltemplate,q)}browse(q,...Z){if(typeof q!=="string")return this.#Z(this.browsetemplate,q);if(typeof Z[0]!=="string")return this.#Z(this.browsetreetemplate,{...Z[0],path:q});return this.#Z(this.browsetreetemplate,{...Z[1],fragment:Z[0],path:q})}browseFile(q,...Z){if(typeof Z[0]!=="string")return this.#Z(this.browseblobtemplate,{...Z[0],path:q});return this.#Z(this.browseblobtemplate,{...Z[1],fragment:Z[0],path:q})}docs(q){return this.#Z(this.docstemplate,q)}bugs(q){return this.#Z(this.bugstemplate,q)}https(q){return this.#Z(this.httpstemplate,q)}git(q){return this.#Z(this.gittemplate,q)}shortcut(q){return this.#Z(this.shortcuttemplate,q)}path(q){return this.#Z(this.pathtemplate,q)}tarball(q){return this.#Z(this.tarballtemplate,{...q,noCommittish:!1})}file(q,Z){return this.#Z(this.filetemplate,{...Z,path:q})}edit(q,Z){return this.#Z(this.edittemplate,{...Z,path:q})}getDefaultRepresentation(){return this.default}toString(q){if(this.default&&typeof this[this.default]==="function")return this[this.default](q);return this.sshurl(q)}}for(let[q,Z]of Object.entries(w5))j.addHost(q,Z);q8.exports=j});var $8=O((Q7,M5)=>{M5.exports=["_http_agent","_http_client","_http_common","_http_incoming","_http_outgoing","_http_server","_stream_duplex","_stream_passthrough","_stream_readable","_stream_transform","_stream_wrap","_stream_writable","_tls_common","_tls_wrap","assert","assert/strict","async_hooks","buffer","child_process","cluster","console","constants","crypto","dgram","diagnostics_channel","dns","dns/promises","domain","events","fs","fs/promises","http","http2","https","inspector","inspector/promises","module","net","os","path","path/posix","path/win32","perf_hooks","process","punycode","querystring","readline","readline/promises","repl","stream","stream/consumers","stream/promises","stream/web","string_decoder","sys","timers","timers/promises","tls","trace_events","tty","url","util","util/types","v8","vm","wasi","worker_threads","zlib","node:sea","node:sqlite","node:test","node:test/reporters"]});var K8=O((K7,Q8)=>{var b5=$8(),v5=new RegExp("^(?:@([^/]+?)[/])?([^/]+?)$"),u5=["node_modules","favicon.ico"];function f5(q){var Z=[],$=[];if(q===null)return $.push("name cannot be null"),Zq(Z,$);if(q===void 0)return $.push("name cannot be undefined"),Zq(Z,$);if(typeof q!=="string")return $.push("name must be a string"),Zq(Z,$);if(!q.length)$.push("name length must be greater than zero");if(q.startsWith("."))$.push("name cannot start with a period");if(q.startsWith("-"))$.push("name cannot start with a hyphen");if(q.match(/^_/))$.push("name cannot start with an underscore");if(q.trim()!==q)$.push("name cannot contain leading or trailing spaces");if(u5.forEach(function(W){if(q.toLowerCase()===W)$.push(W+" is not a valid package name")}),b5.includes(q.toLowerCase()))Z.push(q+" is a core module name");if(q.length>214)Z.push("name can no longer contain more than 214 characters");if(q.toLowerCase()!==q)Z.push("name can no longer contain capital letters");if(/[~'!()*]/.test(q.split("/").slice(-1)[0]))Z.push(`name can no longer contain special characters ("~'!()*")`);if(encodeURIComponent(q)!==q){var Q=q.match(v5);if(Q){var K=Q[1],Y=Q[2];if(Y.startsWith("."))$.push("name cannot start with a period");if(encodeURIComponent(K)===K&&encodeURIComponent(Y)===Y)return Zq(Z,$)}$.push("name can only contain URL-friendly characters")}return Zq(Z,$)}var Zq=function(q,Z){var $={validForNewPackages:Z.length===0&&q.length===0,validForOldPackages:Z.length===0,warnings:q,errors:Z};if(!$.warnings.length)delete $.warnings;if(!$.errors.length)delete $.errors;return $};Q8.exports=f5});var K6=O((Y7,Kq)=>{var Qq=process.platform==="win32",{URL:cq}=n("url"),a=Qq?n("path/win32"):n("path"),{homedir:d5}=n("os"),h5=Z8(),Y8=u1(),_8=K8(),{log:l5}=d1(),I8=Qq?/\\|[/]/:/[/]/,B8=/^(?:git[+])?[a-z]+:/i,g5=/^[^@]+@[^:.]+\.[^:]+:.+$/i,pq=/[.](?:tgz|tar\.gz|tar)$/i,c5=/:[0-9]+(\/|$)/i,m5=/^(?:[.]|~[/]|[/\\]|[a-zA-Z]:)/,p5=/^(?:[.]|~[/]|[/]|[a-zA-Z]:)/;function $q(q,Z){let $,Q;if(typeof q==="object")if(q instanceof Lq&&(!Z||Z===q.where))return q;else if(q.name&&q.rawSpec)return $q.resolve(q.name,q.rawSpec,Z||q.where);else return $q(q.raw,Z||q.where);let K=q.indexOf("@",1),Y=K>0?q.slice(0,K):q;if(B8.test(q))Q=q;else if(g5.test(q))Q=`git+ssh://${q}`;else if(!Y.startsWith("@")&&(I8.test(Y)||pq.test(Y)))Q=q;else if(K>0)$=Y,Q=q.slice(K+1)||"*";else if(_8(q).validForOldPackages)$=q,Q="*";else Q=q;return J8($,Q,Z,q)}function n5(q){if(!q)return!1;if(q.toLowerCase().startsWith("file:"))return!0;if(Qq)return m5.test(q);return p5.test(q)}function a5(q){if(!q)return!1;return q.toLowerCase().startsWith("npm:")}function J8(q,Z,$,Q){let K=new Lq({raw:Q,name:q,rawSpec:Z,fromArgument:Q!=null});if(q)K.name=q;if(!$)$=process.cwd();if(n5(Z))return z8(K,$);else if(a5(Z))return $6(K,$);let Y=h5.fromUrl(Z,{noGitPlus:!0,noCommittish:!0});if(Y)return e5(K,Y);else if(Z&&B8.test(Z))return Z6(K);else if(Z&&(I8.test(Z)||pq.test(Z)))return z8(K,$);else return Q6(K)}function i5(q,Z="https://registry.npmjs.org"){let $=$q(q);if($.type!=="version")throw o5($.type,$.raw);let Q="pkg:npm/"+$.name.replace(/^@/,"%40")+"@"+$.rawSpec;if(Z!=="https://registry.npmjs.org")Q+="?repository_url="+Z;return Q}function s5(q,Z,$){let Q=Error(`Invalid package name "${q}" of package "${$}": ${Z.errors.join("; ")}.`);return Q.code="EINVALIDPACKAGENAME",Q}function r5(q,Z){let $=Error(`Invalid tag name "${q}" of package "${Z}": Tags may not have any characters that encodeURIComponent encodes.`);return $.code="EINVALIDTAGNAME",$}function o5(q,Z){let $=Error(`Invalid type "${q}" of package "${Z}": Purl can only be generated for "version" types.`);return $.code="EINVALIDPURLTYPE",$}class Lq{constructor(q){if(this.type=q.type,this.registry=q.registry,this.where=q.where,q.raw==null)this.raw=q.name?`${q.name}@${q.rawSpec}`:q.rawSpec;else this.raw=q.raw;if(this.name=void 0,this.escapedName=void 0,this.scope=void 0,this.rawSpec=q.rawSpec||"",this.saveSpec=q.saveSpec,this.fetchSpec=q.fetchSpec,q.name)this.setName(q.name);this.gitRange=q.gitRange,this.gitCommittish=q.gitCommittish,this.gitSubdir=q.gitSubdir,this.hosted=q.hosted}setName(q){let Z=_8(q);if(!Z.validForOldPackages)throw s5(q,Z,this.raw);return this.name=q,this.scope=q[0]==="@"?q.slice(0,q.indexOf("/")):void 0,this.escapedName=q.replace("/","%2f"),this}toString(){let q=[];if(this.name!=null&&this.name!=="")q.push(this.name);let Z=this.saveSpec||this.fetchSpec||this.rawSpec;if(Z!=null&&Z!=="")q.push(Z);return q.length?q.join("@"):this.raw}toJSON(){let q=Object.assign({},this);return delete q.hosted,q}}function mq(q,Z){if(!Z){q.gitCommittish=null;return}for(let $ of Z.split("::")){if(!$.includes(":")){if(q.gitRange)throw Error("cannot override existing semver range with a committish");if(q.gitCommittish)throw Error("cannot override existing committish with a second committish");q.gitCommittish=$;continue}let[Q,K]=$.split(":");if(Q==="semver"){if(q.gitCommittish)throw Error("cannot override existing committish with a semver range");if(q.gitRange)throw Error("cannot override existing semver range with a second semver range");q.gitRange=decodeURIComponent(K);continue}if(Q==="path"){if(q.gitSubdir)throw Error("cannot override existing path with a second path");q.gitSubdir=`/${K}`;continue}l5.warn("npm-package-arg",`ignoring unknown key "${Q}"`)}}var t5=new Map([["\x00","%00"],["\t","%09"],[`
3
3
  `,"%0A"],["\r","%0D"],[" ","%20"],['"',"%22"],["#","%23"],["%","%25"],["?","%3F"],["[","%5B"],["\\",Qq?"/":"%5C"],["]","%5D"],["^","%5E"],["|","%7C"],["~","%7E"]]);function W8(q){let Z="";for(let $=0;$<q.length;$++)Z=`${Z}${t5.get(q[$])??q[$]}`;if(Z.startsWith("file:"))return Z;return`file:${Z}`}function z8(q,Z){q.type=pq.test(q.rawSpec)?"file":"directory",q.where=Z;let $=W8(q.rawSpec);if($.startsWith("file:/")){if(/^file:\/\/[^/]/.test($))$=`file:/${$.slice(5)}`;if(/^\/{1,3}\.\.?(\/|$)/.test($.slice(5)))$=$.replace(/^file:\/{1,3}/,"file:")}let Q,K;try{Q=new cq($,`${W8(a.resolve(Z))}/`),K=new cq($)}catch(z){let _=Error("Invalid file: URL, must comply with RFC 8089");throw Object.assign(_,{raw:q.rawSpec,spec:q,where:Z,originalError:z})}let Y=decodeURIComponent(K.pathname),W=decodeURIComponent(Q.pathname);if(Qq)Y=Y.replace(/^\/+([a-z]:\/)/i,"$1"),W=W.replace(/^\/+([a-z]:\/)/i,"$1");if(/^\/~(\/|$)/.test(Y))q.saveSpec=`file:${Y.substr(1)}`,W=a.resolve(d5(),Y.substr(3));else if(!a.isAbsolute($.slice(5)))q.saveSpec=`file:${a.relative(Z,W)}`;else q.saveSpec=`file:${a.resolve(W)}`;if(q.fetchSpec=a.resolve(Z,W),q.saveSpec=q.saveSpec.split("\\").join("/"),q.saveSpec.startsWith("file://"))q.saveSpec=`file:/${q.saveSpec.slice(7)}`;return q}function e5(q,Z){return q.type="git",q.hosted=Z,q.saveSpec=Z.toString({noGitPlus:!1,noCommittish:!1}),q.fetchSpec=Z.getDefaultRepresentation()==="shortcut"?null:Z.toString(),mq(q,Z.committish),q}function q6(q,Z){let $=Error(`Unsupported URL Type "${q}": ${Z}`);return $.code="EUNSUPPORTEDPROTOCOL",$}function Z6(q){let Z=q.rawSpec;if(q.saveSpec=Z,Z.startsWith("git+ssh:")){let Q=Z.match(/^git\+ssh:\/\/([^:#]+:[^#]+(?:\.git)?)(?:#(.*))?$/i);if(Q&&!Q[1].match(c5))return q.type="git",mq(q,Q[2]),q.fetchSpec=Q[1],q}else if(Z.startsWith("git+file://"))Z=Z.replace(/\\/g,"/");let $=new cq(Z);switch($.protocol){case"git:":case"git+http:":case"git+https:":case"git+rsync:":case"git+ftp:":case"git+file:":case"git+ssh:":if(q.type="git",mq(q,$.hash.slice(1)),$.protocol==="git+file:"&&/^git\+file:\/\/[a-z]:/i.test(Z))q.fetchSpec=`git+file://${$.host.toLowerCase()}:${$.pathname}`;else $.hash="",q.fetchSpec=$.toString();if(q.fetchSpec.startsWith("git+"))q.fetchSpec=q.fetchSpec.slice(4);break;case"http:":case"https:":q.type="remote",q.fetchSpec=q.saveSpec;break;default:throw q6($.protocol,Z)}return q}function $6(q,Z){let $=$q(q.rawSpec.substr(4),Z);if($.type==="alias")throw Error("nested aliases not supported");if(!$.registry)throw Error("aliases only work for registry deps");if(!$.name)throw Error("aliases must have a name");return q.subSpec=$,q.registry=!0,q.type="alias",q.saveSpec=null,q.fetchSpec=null,q}function Q6(q){q.registry=!0;let Z=q.rawSpec.trim();q.saveSpec=null,q.fetchSpec=Z;let $=Y8.valid(Z,!0),Q=Y8.validRange(Z,!0);if($)q.type="version";else if(Q)q.type="range";else{if(encodeURIComponent(Z)!==Z)throw r5(Z,q.raw);q.type="tag"}return q}Kq.exports=$q;Kq.exports.resolve=J8;Kq.exports.toPurl=i5;Kq.exports.Result=Lq});
4
- export{n1 as ft,Z8 as gt,K0 as ht,W0 as it,qq as jt,O1 as kt,u1 as lt,d1 as mt,K6 as nt};
4
+ export{n1 as Hr,Z8 as Ir,K0 as Jr,W0 as Kr,qq as Lr,O1 as Mr,u1 as Nr,d1 as Or,K6 as Pr};
@@ -0,0 +1,2 @@
1
+ // @bun
2
+ import{Rd as b}from"./chunk-yajd975f.js";import{Vf as t}from"./chunk-rbk8seme.js";import{gh as u}from"./chunk-caj1b9y7.js";import"./chunk-ygs5pzk7.js";import"./chunk-vxyy2dp3.js";import"./chunk-yp5bypsp.js";import"./chunk-7hm0c2yg.js";import"./chunk-gj0wt0cy.js";import"./chunk-5hw6xa49.js";import"./chunk-326p5b10.js";import{rl as y,yk as m}from"./chunk-257me4z3.js";import{Pl as v}from"./chunk-nkkch4h7.js";import{lm as a}from"./chunk-s3mnrhbx.js";import"./chunk-ezfy0b6q.js";import"./chunk-bn0h9dny.js";import"./chunk-hnvn2c25.js";import"./chunk-3nx7112w.js";import"./chunk-htz93dsd.js";import"./chunk-vcw00k0n.js";import"./chunk-we9cv8we.js";import"./chunk-2hc5z7b5.js";import"./chunk-9gazyynx.js";import"./chunk-4jtxtkj7.js";import"./chunk-ay8emwym.js";import"./chunk-2maqde7w.js";import"./chunk-kj20f048.js";import"./chunk-cqtkxwd8.js";import"./chunk-x9rbv6p6.js";import"./chunk-g5rabwre.js";import"./chunk-jbx3s7nw.js";import"./chunk-15hw2z9t.js";import"./chunk-48ge2ryx.js";import"./chunk-n9xns8by.js";import"./chunk-y9q0hb7b.js";import"./chunk-d9hbhkbq.js";import"./chunk-ad72gb5f.js";import"./chunk-d6ry9418.js";import"./chunk-0dt0bxz6.js";import"./chunk-10bjs581.js";import"./chunk-4cnwn1rh.js";import"./chunk-764fksh3.js";import"./chunk-xj765svc.js";import"./chunk-tqj69nh6.js";import"./chunk-ag8kz1e7.js";import"./chunk-5tray1fw.js";import"./chunk-c11d28qn.js";import"./chunk-mzs2pjyc.js";import"./chunk-gagtmjmp.js";import{pH as s}from"./chunk-zs8kqdsf.js";import"./chunk-dxpj0cxh.js";import"./chunk-zw815d68.js";import"./chunk-7xm75w1e.js";import{EOL as f}from"os";var M=b({command:"models [provider]",describe:"list all available models",builder:(r)=>{return r.positional("provider",{describe:"provider ID to filter models by",type:"string",array:!1}).option("verbose",{describe:"use more verbose model output (includes metadata like costs)",type:"boolean"}).option("refresh",{describe:"refresh the models cache from models.dev",type:"boolean"})},handler:async(r)=>{if(r.refresh)await v.refresh(!0),t.println(t.Style.TEXT_SUCCESS_BOLD+"Models cache refreshed"+t.Style.TEXT_NORMAL);await a.provide({directory:process.cwd(),async fn(){await u.runPromise(s.gen(function*(){let n=yield*(yield*y.Service).list(),l=(e,o)=>{let i=n[e],d=Object.entries(i.models).sort(([c],[p])=>c.localeCompare(p));for(let[c,p]of d)if(process.stdout.write(`${e}/${c}`),process.stdout.write(f),o)process.stdout.write(JSON.stringify(p,null,2)),process.stdout.write(f)};if(r.provider){let e=m.make(r.provider);if(!n[e]){yield*s.sync(()=>t.error(`Provider not found: ${r.provider}`));return}yield*s.sync(()=>l(e,r.verbose));return}let h=Object.keys(n).sort((e,o)=>{let i=e.startsWith("opencode"),d=o.startsWith("opencode");if(i&&!d)return-1;if(!i&&d)return 1;return e.localeCompare(o)});yield*s.sync(()=>{for(let e of h)l(m.make(e),r.verbose)})}))}})}});export{M as ModelsCommand};
@@ -1,2 +1,2 @@
1
1
  // @bun
2
- import{Be as w}from"./chunk-j9pcnkkq.js";import{Ce as oe}from"./chunk-dq9kpj4a.js";import{wf as l}from"./chunk-cvdxgsq1.js";import{$P as i,dQ as f}from"./chunk-aztre27e.js";var g=i(l(),1);var ce=i(l(),1);var O=i(w(),1),S=i(l(),1);var q=i(w(),1),b=i(l(),1),j=(e,s,t)=>{let n={EcsContainer:async(r)=>{let{fromHttp:a}=await import("./chunk-7py443fe.js"),{fromContainerMetadata:c}=await import("./chunk-s07j8hfy.js");return t?.debug("@aws-sdk/credential-provider-ini - credential_source is EcsContainer"),async()=>b.chain(a(r??{}),c(r))().then(L)},Ec2InstanceMetadata:async(r)=>{t?.debug("@aws-sdk/credential-provider-ini - credential_source is Ec2InstanceMetadata");let{fromInstanceMetadata:a}=await import("./chunk-s07j8hfy.js");return async()=>a(r)().then(L)},Environment:async(r)=>{t?.debug("@aws-sdk/credential-provider-ini - credential_source is Environment");let{fromEnv:a}=await import("./chunk-ygc5qegv.js");return async()=>a(r)().then(L)}};if(e in n)return n[e];else throw new b.CredentialsProviderError(`Unsupported credential source in profile ${s}. Got ${e}, expected EcsContainer or Ec2InstanceMetadata or Environment.`,{logger:t})},L=(e)=>q.setCredentialFeature(e,"CREDENTIALS_PROFILE_NAMED_PROVIDER","p");var G=(e,{profile:s="default",logger:t}={})=>{return Boolean(e)&&typeof e==="object"&&typeof e.role_arn==="string"&&["undefined","string"].indexOf(typeof e.role_session_name)>-1&&["undefined","string"].indexOf(typeof e.external_id)>-1&&["undefined","string"].indexOf(typeof e.mfa_serial)>-1&&(re(e,{profile:s,logger:t})||ae(e,{profile:s,logger:t}))},re=(e,{profile:s,logger:t})=>{let n=typeof e.source_profile==="string"&&typeof e.credential_source>"u";if(n)t?.debug?.(` ${s} isAssumeRoleWithSourceProfile source_profile=${e.source_profile}`);return n},ae=(e,{profile:s,logger:t})=>{let n=typeof e.credential_source==="string"&&typeof e.source_profile>"u";if(n)t?.debug?.(` ${s} isCredentialSourceProfile credential_source=${e.credential_source}`);return n},J=async(e,s,t,n,r={},a)=>{t.logger?.debug("@aws-sdk/credential-provider-ini - resolveAssumeRoleCredentials (STS)");let c=s[e],{source_profile:h,region:I}=c;if(!t.roleAssumer){let{getDefaultRoleAssumer:o}=await import("./chunk-5fgx6fa4.js");t.roleAssumer=o({...t.clientConfig,credentialProviderLogger:t.logger,parentClientConfig:{...n,...t?.parentClientConfig,region:I??t?.parentClientConfig?.region??n?.region}},t.clientPlugins)}if(h&&h in r)throw new S.CredentialsProviderError(`Detected a cycle attempting to resolve credentials for profile ${S.getProfileName(t)}. Profiles visited: `+Object.keys(r).join(", "),{logger:t.logger});t.logger?.debug(`@aws-sdk/credential-provider-ini - finding credential resolver using ${h?`source_profile=[${h}]`:`profile=[${e}]`}`);let T=h?a(h,s,t,n,{...r,[h]:!0},U(s[h]??{})):(await j(c.credential_source,e,t.logger)(t))();if(U(c))return T.then((o)=>O.setCredentialFeature(o,"CREDENTIALS_PROFILE_SOURCE_PROFILE","o"));else{let o={RoleArn:c.role_arn,RoleSessionName:c.role_session_name||`aws-sdk-js-${Date.now()}`,ExternalId:c.external_id,DurationSeconds:parseInt(c.duration_seconds||"3600",10)},{mfa_serial:u}=c;if(u){if(!t.mfaCodeProvider)throw new S.CredentialsProviderError(`Profile ${e} requires multi-factor authentication, but no MFA code callback was provided.`,{logger:t.logger,tryNextLink:!1});o.SerialNumber=u,o.TokenCode=await t.mfaCodeProvider(u)}let y=await T;return t.roleAssumer(y,o).then((k)=>O.setCredentialFeature(k,"CREDENTIALS_PROFILE_SOURCE_PROFILE","o"))}},U=(e)=>{return!e.role_arn&&!!e.credential_source};var z=i(w(),1);var Y=i(w(),1),x=i(l(),1);var d=i(l(),1),v=i(oe(),1);import{createHash as ie,createPrivateKey as he,createPublicKey as ye,sign as ue}from"crypto";import{promises as R}from"fs";import{homedir as de}from"os";import{dirname as we,join as N}from"path";class K{profileData;init;callerClientConfig;static REFRESH_THRESHOLD=300000;constructor(e,s,t){this.profileData=e,this.init=s,this.callerClientConfig=t}async loadCredentials(){let e=await this.loadToken();if(!e)throw new d.CredentialsProviderError(`Failed to load a token for session ${this.loginSession}, please re-authenticate using aws login`,{tryNextLink:!1,logger:this.logger});let s=e.accessToken,t=Date.now();if(new Date(s.expiresAt).getTime()-t<=K.REFRESH_THRESHOLD)return this.refresh(e);return{accessKeyId:s.accessKeyId,secretAccessKey:s.secretAccessKey,sessionToken:s.sessionToken,accountId:s.accountId,expiration:new Date(s.expiresAt)}}get logger(){return this.init?.logger}get loginSession(){return this.profileData.login_session}async refresh(e){let{SigninClient:s,CreateOAuth2TokenCommand:t}=await import("./chunk-7jbz3dgt.js"),{logger:n,userAgentAppId:r}=this.callerClientConfig??{},c=((o)=>{return o?.metadata?.handlerProtocol==="h2"})(this.callerClientConfig?.requestHandler)?void 0:this.callerClientConfig?.requestHandler,h=this.profileData.region??await this.callerClientConfig?.region?.()??process.env.AWS_REGION,I=new s({credentials:{accessKeyId:"",secretAccessKey:""},region:h,requestHandler:c,logger:n,userAgentAppId:r,...this.init?.clientConfig});this.createDPoPInterceptor(I.middlewareStack);let T={tokenInput:{clientId:e.clientId,refreshToken:e.refreshToken,grantType:"refresh_token"}};try{let o=await I.send(new t(T)),{accessKeyId:u,secretAccessKey:y,sessionToken:k}=o.tokenOutput?.accessToken??{},{refreshToken:E,expiresIn:B}=o.tokenOutput??{};if(!u||!y||!k||!E)throw new d.CredentialsProviderError("Token refresh response missing required fields",{logger:this.logger,tryNextLink:!1});let A=(B??900)*1000,m=new Date(Date.now()+A),H={...e,accessToken:{...e.accessToken,accessKeyId:u,secretAccessKey:y,sessionToken:k,expiresAt:m.toISOString()},refreshToken:E};await this.saveToken(H);let _=H.accessToken;return{accessKeyId:_.accessKeyId,secretAccessKey:_.secretAccessKey,sessionToken:_.sessionToken,accountId:_.accountId,expiration:m}}catch(o){if(o.name==="AccessDeniedException"){let u=o.error,y;switch(u){case"TOKEN_EXPIRED":y="Your session has expired. Please reauthenticate.";break;case"USER_CREDENTIALS_CHANGED":y="Unable to refresh credentials because of a change in your password. Please reauthenticate with your new password.";break;case"INSUFFICIENT_PERMISSIONS":y="Unable to refresh credentials due to insufficient permissions. You may be missing permission for the 'CreateOAuth2Token' action.";break;default:y=`Failed to refresh token: ${String(o)}. Please re-authenticate using \`aws login\``}throw new d.CredentialsProviderError(y,{logger:this.logger,tryNextLink:!1})}throw new d.CredentialsProviderError(`Failed to refresh token: ${String(o)}. Please re-authenticate using aws login`,{logger:this.logger})}}async loadToken(){let e=this.getTokenFilePath();try{let s;try{s=await d.readFile(e,{ignoreCache:this.init?.ignoreCache})}catch{s=await R.readFile(e,"utf8")}let t=JSON.parse(s),n=["accessToken","clientId","refreshToken","dpopKey"].filter((r)=>!t[r]);if(!t.accessToken?.accountId)n.push("accountId");if(n.length>0)throw new d.CredentialsProviderError(`Token validation failed, missing fields: ${n.join(", ")}`,{logger:this.logger,tryNextLink:!1});return t}catch(s){throw new d.CredentialsProviderError(`Failed to load token from ${e}: ${String(s)}`,{logger:this.logger,tryNextLink:!1})}}async saveToken(e){let s=this.getTokenFilePath(),t=we(s);try{await R.mkdir(t,{recursive:!0})}catch(n){}await R.writeFile(s,JSON.stringify(e,null,2),"utf8")}getTokenFilePath(){let e=process.env.AWS_LOGIN_CACHE_DIRECTORY??N(de(),".aws","login","cache"),s=Buffer.from(this.loginSession,"utf8"),t=ie("sha256").update(s).digest("hex");return N(e,`${t}.json`)}derToRawSignature(e){let s=2;if(e[s]!==2)throw Error("Invalid DER signature");s++;let t=e[s++],n=e.subarray(s,s+t);if(s+=t,e[s]!==2)throw Error("Invalid DER signature");s++;let r=e[s++],a=e.subarray(s,s+r);n=n[0]===0?n.subarray(1):n,a=a[0]===0?a.subarray(1):a;let c=Buffer.concat([Buffer.alloc(32-n.length),n]),h=Buffer.concat([Buffer.alloc(32-a.length),a]);return Buffer.concat([c,h])}createDPoPInterceptor(e){e.add((s)=>async(t)=>{if(v.HttpRequest.isInstance(t.request)){let n=t.request,r=`${n.protocol}//${n.hostname}${n.port?`:${n.port}`:""}${n.path}`,a=await this.generateDpop(n.method,r);n.headers={...n.headers,DPoP:a}}return s(t)},{step:"finalizeRequest",name:"dpopInterceptor",override:!0})}async generateDpop(e="POST",s){let t=await this.loadToken();try{let n=he({key:t.dpopKey,format:"pem",type:"sec1"}),a=ye(n).export({format:"der",type:"spki"}),c=-1;for(let m=0;m<a.length;m++)if(a[m]===4){c=m;break}let h=a.slice(c+1,c+33),I=a.slice(c+33,c+65),T={alg:"ES256",typ:"dpop+jwt",jwk:{kty:"EC",crv:"P-256",x:h.toString("base64url"),y:I.toString("base64url")}},o={jti:crypto.randomUUID(),htm:e,htu:s,iat:Math.floor(Date.now()/1000)},u=Buffer.from(JSON.stringify(T)).toString("base64url"),y=Buffer.from(JSON.stringify(o)).toString("base64url"),k=`${u}.${y}`,E=ue("sha256",Buffer.from(k),n),A=this.derToRawSignature(E).toString("base64url");return`${k}.${A}`}catch(n){throw new d.CredentialsProviderError(`Failed to generate Dpop proof: ${n instanceof Error?n.message:String(n)}`,{logger:this.logger,tryNextLink:!1})}}}var W=(e)=>async({callerClientConfig:s}={})=>{e?.logger?.debug?.("@aws-sdk/credential-providers - fromLoginCredentials");let t=await x.parseKnownFiles(e||{}),n=x.getProfileName({profile:e?.profile??s?.profile}),r=t[n];if(!r?.login_session)throw new x.CredentialsProviderError(`Profile ${n} does not contain login_session.`,{tryNextLink:!0,logger:e?.logger});let c=await new K(r,e,s).loadCredentials();return Y.setCredentialFeature(c,"CREDENTIALS_LOGIN","AD")};var C=(e)=>{return Boolean(e&&e.login_session)},X=async(e,s,t)=>{let n=await W({...s,profile:e})({callerClientConfig:t});return z.setCredentialFeature(n,"CREDENTIALS_PROFILE_LOGIN","AC")};var Q=i(w(),1),V=(e)=>Boolean(e)&&typeof e==="object"&&typeof e.credential_process==="string",Z=async(e,s)=>import("./chunk-m5ghbt5y.js").then(({fromProcess:t})=>t({...e,profile:s})().then((n)=>Q.setCredentialFeature(n,"CREDENTIALS_PROFILE_PROCESS","v")));var D=i(w(),1),M=async(e,s,t={},n)=>{let{fromSSO:r}=await import("./chunk-jmz2mq3t.js");return r({profile:e,logger:t.logger,parentClientConfig:t.parentClientConfig,clientConfig:t.clientConfig})({callerClientConfig:n}).then((a)=>{if(s.sso_session)return D.setCredentialFeature(a,"CREDENTIALS_PROFILE_SSO","r");else return D.setCredentialFeature(a,"CREDENTIALS_PROFILE_SSO_LEGACY","t")})},p=(e)=>e&&(typeof e.sso_start_url==="string"||typeof e.sso_account_id==="string"||typeof e.sso_session==="string"||typeof e.sso_region==="string"||typeof e.sso_role_name==="string");var ee=i(w(),1),$=(e)=>Boolean(e)&&typeof e==="object"&&typeof e.aws_access_key_id==="string"&&typeof e.aws_secret_access_key==="string"&&["undefined","string"].indexOf(typeof e.aws_session_token)>-1&&["undefined","string"].indexOf(typeof e.aws_account_id)>-1,P=async(e,s)=>{s?.logger?.debug("@aws-sdk/credential-provider-ini - resolveStaticCredentials");let t={accessKeyId:e.aws_access_key_id,secretAccessKey:e.aws_secret_access_key,sessionToken:e.aws_session_token,...e.aws_credential_scope&&{credentialScope:e.aws_credential_scope},...e.aws_account_id&&{accountId:e.aws_account_id}};return ee.setCredentialFeature(t,"CREDENTIALS_PROFILE","n")};var te=i(w(),1),se=(e)=>Boolean(e)&&typeof e==="object"&&typeof e.web_identity_token_file==="string"&&typeof e.role_arn==="string"&&["undefined","string"].indexOf(typeof e.role_session_name)>-1,ne=async(e,s,t)=>import("./chunk-nxyyn2ra.js").then(({fromTokenFile:n})=>n({webIdentityTokenFile:e.web_identity_token_file,roleArn:e.role_arn,roleSessionName:e.role_session_name,roleAssumerWithWebIdentity:s.roleAssumerWithWebIdentity,logger:s.logger,parentClientConfig:s.parentClientConfig})({callerClientConfig:t}).then((r)=>te.setCredentialFeature(r,"CREDENTIALS_PROFILE_STS_WEB_ID_TOKEN","q")));var F=async(e,s,t,n,r={},a=!1)=>{let c=s[e];if(Object.keys(r).length>0&&$(c))return P(c,t);if(a||G(c,{profile:e,logger:t.logger}))return J(e,s,t,n,r,F);if($(c))return P(c,t);if(se(c))return ne(c,t,n);if(V(c))return Z(t,e);if(p(c))return await M(e,c,t,n);if(C(c))return X(e,t,n);throw new ce.CredentialsProviderError(`Could not resolve credentials using profile: [${e}] in configuration/credentials file(s).`,{logger:t.logger})};var je=(e={})=>async({callerClientConfig:s}={})=>{e.logger?.debug("@aws-sdk/credential-provider-ini - fromIni");let t=await g.parseKnownFiles(e);return F(g.getProfileName({profile:e.profile??s?.profile}),t,e,s)};export{W as Xd,je as Yd};
2
+ import{Be as w}from"./chunk-ht5w06x7.js";import{Ce as oe}from"./chunk-enpzvmtc.js";import{wf as l}from"./chunk-tq0239xp.js";import{BO as i,FO as f}from"./chunk-7xm75w1e.js";var g=i(l(),1);var ce=i(l(),1);var O=i(w(),1),S=i(l(),1);var q=i(w(),1),b=i(l(),1),j=(e,s,t)=>{let n={EcsContainer:async(r)=>{let{fromHttp:a}=await import("./chunk-a7ym9f0v.js"),{fromContainerMetadata:c}=await import("./chunk-8qswepp2.js");return t?.debug("@aws-sdk/credential-provider-ini - credential_source is EcsContainer"),async()=>b.chain(a(r??{}),c(r))().then(L)},Ec2InstanceMetadata:async(r)=>{t?.debug("@aws-sdk/credential-provider-ini - credential_source is Ec2InstanceMetadata");let{fromInstanceMetadata:a}=await import("./chunk-8qswepp2.js");return async()=>a(r)().then(L)},Environment:async(r)=>{t?.debug("@aws-sdk/credential-provider-ini - credential_source is Environment");let{fromEnv:a}=await import("./chunk-v2n26eg4.js");return async()=>a(r)().then(L)}};if(e in n)return n[e];else throw new b.CredentialsProviderError(`Unsupported credential source in profile ${s}. Got ${e}, expected EcsContainer or Ec2InstanceMetadata or Environment.`,{logger:t})},L=(e)=>q.setCredentialFeature(e,"CREDENTIALS_PROFILE_NAMED_PROVIDER","p");var G=(e,{profile:s="default",logger:t}={})=>{return Boolean(e)&&typeof e==="object"&&typeof e.role_arn==="string"&&["undefined","string"].indexOf(typeof e.role_session_name)>-1&&["undefined","string"].indexOf(typeof e.external_id)>-1&&["undefined","string"].indexOf(typeof e.mfa_serial)>-1&&(re(e,{profile:s,logger:t})||ae(e,{profile:s,logger:t}))},re=(e,{profile:s,logger:t})=>{let n=typeof e.source_profile==="string"&&typeof e.credential_source>"u";if(n)t?.debug?.(` ${s} isAssumeRoleWithSourceProfile source_profile=${e.source_profile}`);return n},ae=(e,{profile:s,logger:t})=>{let n=typeof e.credential_source==="string"&&typeof e.source_profile>"u";if(n)t?.debug?.(` ${s} isCredentialSourceProfile credential_source=${e.credential_source}`);return n},J=async(e,s,t,n,r={},a)=>{t.logger?.debug("@aws-sdk/credential-provider-ini - resolveAssumeRoleCredentials (STS)");let c=s[e],{source_profile:h,region:I}=c;if(!t.roleAssumer){let{getDefaultRoleAssumer:o}=await import("./chunk-69nzndk7.js");t.roleAssumer=o({...t.clientConfig,credentialProviderLogger:t.logger,parentClientConfig:{...n,...t?.parentClientConfig,region:I??t?.parentClientConfig?.region??n?.region}},t.clientPlugins)}if(h&&h in r)throw new S.CredentialsProviderError(`Detected a cycle attempting to resolve credentials for profile ${S.getProfileName(t)}. Profiles visited: `+Object.keys(r).join(", "),{logger:t.logger});t.logger?.debug(`@aws-sdk/credential-provider-ini - finding credential resolver using ${h?`source_profile=[${h}]`:`profile=[${e}]`}`);let T=h?a(h,s,t,n,{...r,[h]:!0},U(s[h]??{})):(await j(c.credential_source,e,t.logger)(t))();if(U(c))return T.then((o)=>O.setCredentialFeature(o,"CREDENTIALS_PROFILE_SOURCE_PROFILE","o"));else{let o={RoleArn:c.role_arn,RoleSessionName:c.role_session_name||`aws-sdk-js-${Date.now()}`,ExternalId:c.external_id,DurationSeconds:parseInt(c.duration_seconds||"3600",10)},{mfa_serial:u}=c;if(u){if(!t.mfaCodeProvider)throw new S.CredentialsProviderError(`Profile ${e} requires multi-factor authentication, but no MFA code callback was provided.`,{logger:t.logger,tryNextLink:!1});o.SerialNumber=u,o.TokenCode=await t.mfaCodeProvider(u)}let y=await T;return t.roleAssumer(y,o).then((k)=>O.setCredentialFeature(k,"CREDENTIALS_PROFILE_SOURCE_PROFILE","o"))}},U=(e)=>{return!e.role_arn&&!!e.credential_source};var z=i(w(),1);var Y=i(w(),1),x=i(l(),1);var d=i(l(),1),v=i(oe(),1);import{createHash as ie,createPrivateKey as he,createPublicKey as ye,sign as ue}from"crypto";import{promises as R}from"fs";import{homedir as de}from"os";import{dirname as we,join as N}from"path";class K{profileData;init;callerClientConfig;static REFRESH_THRESHOLD=300000;constructor(e,s,t){this.profileData=e,this.init=s,this.callerClientConfig=t}async loadCredentials(){let e=await this.loadToken();if(!e)throw new d.CredentialsProviderError(`Failed to load a token for session ${this.loginSession}, please re-authenticate using aws login`,{tryNextLink:!1,logger:this.logger});let s=e.accessToken,t=Date.now();if(new Date(s.expiresAt).getTime()-t<=K.REFRESH_THRESHOLD)return this.refresh(e);return{accessKeyId:s.accessKeyId,secretAccessKey:s.secretAccessKey,sessionToken:s.sessionToken,accountId:s.accountId,expiration:new Date(s.expiresAt)}}get logger(){return this.init?.logger}get loginSession(){return this.profileData.login_session}async refresh(e){let{SigninClient:s,CreateOAuth2TokenCommand:t}=await import("./chunk-vhe0tth1.js"),{logger:n,userAgentAppId:r}=this.callerClientConfig??{},c=((o)=>{return o?.metadata?.handlerProtocol==="h2"})(this.callerClientConfig?.requestHandler)?void 0:this.callerClientConfig?.requestHandler,h=this.profileData.region??await this.callerClientConfig?.region?.()??process.env.AWS_REGION,I=new s({credentials:{accessKeyId:"",secretAccessKey:""},region:h,requestHandler:c,logger:n,userAgentAppId:r,...this.init?.clientConfig});this.createDPoPInterceptor(I.middlewareStack);let T={tokenInput:{clientId:e.clientId,refreshToken:e.refreshToken,grantType:"refresh_token"}};try{let o=await I.send(new t(T)),{accessKeyId:u,secretAccessKey:y,sessionToken:k}=o.tokenOutput?.accessToken??{},{refreshToken:E,expiresIn:B}=o.tokenOutput??{};if(!u||!y||!k||!E)throw new d.CredentialsProviderError("Token refresh response missing required fields",{logger:this.logger,tryNextLink:!1});let A=(B??900)*1000,m=new Date(Date.now()+A),H={...e,accessToken:{...e.accessToken,accessKeyId:u,secretAccessKey:y,sessionToken:k,expiresAt:m.toISOString()},refreshToken:E};await this.saveToken(H);let _=H.accessToken;return{accessKeyId:_.accessKeyId,secretAccessKey:_.secretAccessKey,sessionToken:_.sessionToken,accountId:_.accountId,expiration:m}}catch(o){if(o.name==="AccessDeniedException"){let u=o.error,y;switch(u){case"TOKEN_EXPIRED":y="Your session has expired. Please reauthenticate.";break;case"USER_CREDENTIALS_CHANGED":y="Unable to refresh credentials because of a change in your password. Please reauthenticate with your new password.";break;case"INSUFFICIENT_PERMISSIONS":y="Unable to refresh credentials due to insufficient permissions. You may be missing permission for the 'CreateOAuth2Token' action.";break;default:y=`Failed to refresh token: ${String(o)}. Please re-authenticate using \`aws login\``}throw new d.CredentialsProviderError(y,{logger:this.logger,tryNextLink:!1})}throw new d.CredentialsProviderError(`Failed to refresh token: ${String(o)}. Please re-authenticate using aws login`,{logger:this.logger})}}async loadToken(){let e=this.getTokenFilePath();try{let s;try{s=await d.readFile(e,{ignoreCache:this.init?.ignoreCache})}catch{s=await R.readFile(e,"utf8")}let t=JSON.parse(s),n=["accessToken","clientId","refreshToken","dpopKey"].filter((r)=>!t[r]);if(!t.accessToken?.accountId)n.push("accountId");if(n.length>0)throw new d.CredentialsProviderError(`Token validation failed, missing fields: ${n.join(", ")}`,{logger:this.logger,tryNextLink:!1});return t}catch(s){throw new d.CredentialsProviderError(`Failed to load token from ${e}: ${String(s)}`,{logger:this.logger,tryNextLink:!1})}}async saveToken(e){let s=this.getTokenFilePath(),t=we(s);try{await R.mkdir(t,{recursive:!0})}catch(n){}await R.writeFile(s,JSON.stringify(e,null,2),"utf8")}getTokenFilePath(){let e=process.env.AWS_LOGIN_CACHE_DIRECTORY??N(de(),".aws","login","cache"),s=Buffer.from(this.loginSession,"utf8"),t=ie("sha256").update(s).digest("hex");return N(e,`${t}.json`)}derToRawSignature(e){let s=2;if(e[s]!==2)throw Error("Invalid DER signature");s++;let t=e[s++],n=e.subarray(s,s+t);if(s+=t,e[s]!==2)throw Error("Invalid DER signature");s++;let r=e[s++],a=e.subarray(s,s+r);n=n[0]===0?n.subarray(1):n,a=a[0]===0?a.subarray(1):a;let c=Buffer.concat([Buffer.alloc(32-n.length),n]),h=Buffer.concat([Buffer.alloc(32-a.length),a]);return Buffer.concat([c,h])}createDPoPInterceptor(e){e.add((s)=>async(t)=>{if(v.HttpRequest.isInstance(t.request)){let n=t.request,r=`${n.protocol}//${n.hostname}${n.port?`:${n.port}`:""}${n.path}`,a=await this.generateDpop(n.method,r);n.headers={...n.headers,DPoP:a}}return s(t)},{step:"finalizeRequest",name:"dpopInterceptor",override:!0})}async generateDpop(e="POST",s){let t=await this.loadToken();try{let n=he({key:t.dpopKey,format:"pem",type:"sec1"}),a=ye(n).export({format:"der",type:"spki"}),c=-1;for(let m=0;m<a.length;m++)if(a[m]===4){c=m;break}let h=a.slice(c+1,c+33),I=a.slice(c+33,c+65),T={alg:"ES256",typ:"dpop+jwt",jwk:{kty:"EC",crv:"P-256",x:h.toString("base64url"),y:I.toString("base64url")}},o={jti:crypto.randomUUID(),htm:e,htu:s,iat:Math.floor(Date.now()/1000)},u=Buffer.from(JSON.stringify(T)).toString("base64url"),y=Buffer.from(JSON.stringify(o)).toString("base64url"),k=`${u}.${y}`,E=ue("sha256",Buffer.from(k),n),A=this.derToRawSignature(E).toString("base64url");return`${k}.${A}`}catch(n){throw new d.CredentialsProviderError(`Failed to generate Dpop proof: ${n instanceof Error?n.message:String(n)}`,{logger:this.logger,tryNextLink:!1})}}}var W=(e)=>async({callerClientConfig:s}={})=>{e?.logger?.debug?.("@aws-sdk/credential-providers - fromLoginCredentials");let t=await x.parseKnownFiles(e||{}),n=x.getProfileName({profile:e?.profile??s?.profile}),r=t[n];if(!r?.login_session)throw new x.CredentialsProviderError(`Profile ${n} does not contain login_session.`,{tryNextLink:!0,logger:e?.logger});let c=await new K(r,e,s).loadCredentials();return Y.setCredentialFeature(c,"CREDENTIALS_LOGIN","AD")};var C=(e)=>{return Boolean(e&&e.login_session)},X=async(e,s,t)=>{let n=await W({...s,profile:e})({callerClientConfig:t});return z.setCredentialFeature(n,"CREDENTIALS_PROFILE_LOGIN","AC")};var Q=i(w(),1),V=(e)=>Boolean(e)&&typeof e==="object"&&typeof e.credential_process==="string",Z=async(e,s)=>import("./chunk-b4pphqab.js").then(({fromProcess:t})=>t({...e,profile:s})().then((n)=>Q.setCredentialFeature(n,"CREDENTIALS_PROFILE_PROCESS","v")));var D=i(w(),1),M=async(e,s,t={},n)=>{let{fromSSO:r}=await import("./chunk-ht0hbdmx.js");return r({profile:e,logger:t.logger,parentClientConfig:t.parentClientConfig,clientConfig:t.clientConfig})({callerClientConfig:n}).then((a)=>{if(s.sso_session)return D.setCredentialFeature(a,"CREDENTIALS_PROFILE_SSO","r");else return D.setCredentialFeature(a,"CREDENTIALS_PROFILE_SSO_LEGACY","t")})},p=(e)=>e&&(typeof e.sso_start_url==="string"||typeof e.sso_account_id==="string"||typeof e.sso_session==="string"||typeof e.sso_region==="string"||typeof e.sso_role_name==="string");var ee=i(w(),1),$=(e)=>Boolean(e)&&typeof e==="object"&&typeof e.aws_access_key_id==="string"&&typeof e.aws_secret_access_key==="string"&&["undefined","string"].indexOf(typeof e.aws_session_token)>-1&&["undefined","string"].indexOf(typeof e.aws_account_id)>-1,P=async(e,s)=>{s?.logger?.debug("@aws-sdk/credential-provider-ini - resolveStaticCredentials");let t={accessKeyId:e.aws_access_key_id,secretAccessKey:e.aws_secret_access_key,sessionToken:e.aws_session_token,...e.aws_credential_scope&&{credentialScope:e.aws_credential_scope},...e.aws_account_id&&{accountId:e.aws_account_id}};return ee.setCredentialFeature(t,"CREDENTIALS_PROFILE","n")};var te=i(w(),1),se=(e)=>Boolean(e)&&typeof e==="object"&&typeof e.web_identity_token_file==="string"&&typeof e.role_arn==="string"&&["undefined","string"].indexOf(typeof e.role_session_name)>-1,ne=async(e,s,t)=>import("./chunk-0qs1vx97.js").then(({fromTokenFile:n})=>n({webIdentityTokenFile:e.web_identity_token_file,roleArn:e.role_arn,roleSessionName:e.role_session_name,roleAssumerWithWebIdentity:s.roleAssumerWithWebIdentity,logger:s.logger,parentClientConfig:s.parentClientConfig})({callerClientConfig:t}).then((r)=>te.setCredentialFeature(r,"CREDENTIALS_PROFILE_STS_WEB_ID_TOKEN","q")));var F=async(e,s,t,n,r={},a=!1)=>{let c=s[e];if(Object.keys(r).length>0&&$(c))return P(c,t);if(a||G(c,{profile:e,logger:t.logger}))return J(e,s,t,n,r,F);if($(c))return P(c,t);if(se(c))return ne(c,t,n);if(V(c))return Z(t,e);if(p(c))return await M(e,c,t,n);if(C(c))return X(e,t,n);throw new ce.CredentialsProviderError(`Could not resolve credentials using profile: [${e}] in configuration/credentials file(s).`,{logger:t.logger})};var je=(e={})=>async({callerClientConfig:s}={})=>{e.logger?.debug("@aws-sdk/credential-provider-ini - fromIni");let t=await g.parseKnownFiles(e);return F(g.getProfileName({profile:e.profile??s?.profile}),t,e,s)};export{W as Xd,je as Yd};
@@ -0,0 +1,2 @@
1
+ // @bun
2
+ import"./chunk-7xm75w1e.js";var t=Object.fromEntries([]);export{t as modules};
@@ -0,0 +1,2 @@
1
+ // @bun
2
+ import{Vd as a,Wd as b}from"./chunk-rg0mrprz.js";import"./chunk-ht5w06x7.js";import"./chunk-enpzvmtc.js";import"./chunk-tq0239xp.js";import"./chunk-7xm75w1e.js";export{a as fromWebToken,b as fromTokenFile};