@qitqode/qitqode-android-arm64 0.1.24 → 0.1.26

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 (420) hide show
  1. package/bundle/{chunk-gn9p1d50.js → chunk-01gwb793.js} +1 -1
  2. package/bundle/{chunk-4kse3awh.js → chunk-0304b7xg.js} +1 -1
  3. package/bundle/{chunk-k9d927xe.js → chunk-05amr7y9.js} +1 -1
  4. package/bundle/{chunk-am73j1bt.js → chunk-06x1p3t4.js} +1 -1
  5. package/bundle/{chunk-9798jffg.js → chunk-07net7s8.js} +1 -1
  6. package/bundle/chunk-08y06vgt.js +3 -0
  7. package/bundle/chunk-09ecxdmd.js +2 -0
  8. package/bundle/{chunk-6mscvf6y.js → chunk-0cehm5fn.js} +1 -1
  9. package/bundle/chunk-0jaj2g7x.js +2 -0
  10. package/bundle/{chunk-7gczzccz.js → chunk-0m2tj2h9.js} +1 -1
  11. package/bundle/{chunk-srf73nm4.js → chunk-0mekr486.js} +1 -1
  12. package/bundle/{chunk-gen6f3dn.js → chunk-0ndvy0nh.js} +2 -2
  13. package/bundle/chunk-0nr2925m.js +2 -0
  14. package/bundle/chunk-0vqrakhw.js +3 -0
  15. package/bundle/{chunk-vf1r5ckp.js → chunk-0w5npkgr.js} +1 -1
  16. package/bundle/chunk-0wbq1y92.js +2 -0
  17. package/bundle/chunk-12pxszgn.js +2 -0
  18. package/bundle/chunk-1337582e.js +2 -0
  19. package/bundle/{chunk-hxgb0y1w.js → chunk-14ag9ea0.js} +1 -1
  20. package/bundle/chunk-182jf8fz.js +2 -0
  21. package/bundle/chunk-1ht3zcsh.js +2 -0
  22. package/bundle/{chunk-fhng5her.js → chunk-1n4w8dya.js} +2 -2
  23. package/bundle/{chunk-g7vkkmsk.js → chunk-1qbm1k9y.js} +3 -3
  24. package/bundle/{chunk-apq38bt4.js → chunk-1xkwm21b.js} +3 -3
  25. package/bundle/{chunk-3tkp27x7.js → chunk-1xpx1t40.js} +2 -2
  26. package/bundle/{chunk-w1atxyz0.js → chunk-1yx4jesj.js} +1 -1
  27. package/bundle/chunk-25zkavr0.js +2 -0
  28. package/bundle/{chunk-4k149ews.js → chunk-28vnspd4.js} +1 -1
  29. package/bundle/chunk-2cm91ktc.js +3 -0
  30. package/bundle/chunk-2jfd82jk.js +2 -0
  31. package/bundle/{chunk-ve5gb789.js → chunk-2jn2hd12.js} +2 -2
  32. package/bundle/chunk-2k7bbzj2.js +2 -0
  33. package/bundle/{chunk-7yf15a3a.js → chunk-2kdn66xt.js} +1 -1
  34. package/bundle/{chunk-99n6czag.js → chunk-2q76qax6.js} +2 -2
  35. package/bundle/{chunk-8pe047p0.js → chunk-2sy1wx99.js} +1 -1
  36. package/bundle/{chunk-8651hq0k.js → chunk-2yb59jwr.js} +1 -1
  37. package/bundle/chunk-30081kwd.js +2 -0
  38. package/bundle/{chunk-g0v9g37f.js → chunk-32zrch7h.js} +1 -1
  39. package/bundle/{chunk-7y3y3j51.js → chunk-3bb7y9pq.js} +2 -2
  40. package/bundle/{chunk-jz3aav8a.js → chunk-3kdhvq0p.js} +2 -2
  41. package/bundle/{chunk-m8djypsy.js → chunk-3rgct4bd.js} +1 -1
  42. package/bundle/{chunk-frdc3ysq.js → chunk-3s0d17xe.js} +1 -1
  43. package/bundle/chunk-3vag59se.js +2 -0
  44. package/bundle/{chunk-j1a64ade.js → chunk-3w64fpwn.js} +2 -2
  45. package/bundle/chunk-3x5v6sjw.js +2 -0
  46. package/bundle/{chunk-hqg5qbxk.js → chunk-3zn71txs.js} +1 -1
  47. package/bundle/{chunk-3vbtra1j.js → chunk-41ftye7w.js} +1 -1
  48. package/bundle/chunk-43ep9d7a.js +2 -0
  49. package/bundle/chunk-48j09m6e.js +3 -0
  50. package/bundle/{chunk-6szvs3k9.js → chunk-4920vf6a.js} +1 -1
  51. package/bundle/{chunk-wa2ce2sg.js → chunk-49tqzsy0.js} +2 -2
  52. package/bundle/{chunk-cvchztkc.js → chunk-49ypxzfx.js} +1 -1
  53. package/bundle/{chunk-6nhje520.js → chunk-4k70wrhf.js} +1 -1
  54. package/bundle/{chunk-tk3bve0x.js → chunk-4nck07pc.js} +2 -2
  55. package/bundle/chunk-4qqja22v.js +2 -0
  56. package/bundle/{chunk-23geekk5.js → chunk-54pk7nna.js} +1 -1
  57. package/bundle/{chunk-ewyk4py6.js → chunk-56pwz1kk.js} +1 -1
  58. package/bundle/{chunk-2y8qz8te.js → chunk-56qm8xpt.js} +1 -1
  59. package/bundle/{chunk-y3n31nnx.js → chunk-58gp7wbg.js} +2 -2
  60. package/bundle/{chunk-9easaxy7.js → chunk-5dm3p5r6.js} +1 -1
  61. package/bundle/chunk-5gazgxt5.js +2 -0
  62. package/bundle/{chunk-0ae5q6ck.js → chunk-5jtd006j.js} +2 -2
  63. package/bundle/{chunk-t488d66k.js → chunk-5mec6cde.js} +1 -1
  64. package/bundle/{chunk-gvzfffr4.js → chunk-5yaahmjb.js} +1 -1
  65. package/bundle/{chunk-jbd9k041.js → chunk-5ymj2q6j.js} +2 -2
  66. package/bundle/{chunk-ebjhggdw.js → chunk-613kegcn.js} +1 -1
  67. package/bundle/chunk-63znhwx0.js +2 -0
  68. package/bundle/{chunk-zavtsfxz.js → chunk-6fpfr8tk.js} +1 -1
  69. package/bundle/{chunk-0pvbk8ks.js → chunk-6h2faxs9.js} +2 -2
  70. package/bundle/chunk-6hmyy7n6.js +2 -0
  71. package/bundle/{chunk-78bajmqm.js → chunk-6nk3wx6f.js} +1 -1
  72. package/bundle/{chunk-1jsywey3.js → chunk-6nkcfncg.js} +1 -1
  73. package/bundle/{chunk-ps543k72.js → chunk-6s2f5sv4.js} +1 -1
  74. package/bundle/{chunk-dcx8hjbs.js → chunk-6vb26adv.js} +1 -1
  75. package/bundle/{chunk-r48g0kaq.js → chunk-6wdwwpsc.js} +2 -2
  76. package/bundle/{chunk-8r79zf3y.js → chunk-77e1wh0j.js} +2 -2
  77. package/bundle/chunk-7dyddrpk.js +2 -0
  78. package/bundle/{chunk-4d1a547n.js → chunk-7e1aw8rw.js} +1 -1
  79. package/bundle/{chunk-ac202abt.js → chunk-7ez3ye6e.js} +1 -1
  80. package/bundle/{chunk-wfnk2vsd.js → chunk-7fmy4cvn.js} +1 -1
  81. package/bundle/{chunk-82gs5cmn.js → chunk-7n2kpqh5.js} +1 -1
  82. package/bundle/chunk-7penjsgq.js +2 -0
  83. package/bundle/chunk-7qxn24qa.js +3 -0
  84. package/bundle/{chunk-4q9w2yve.js → chunk-7rxsj310.js} +2 -2
  85. package/bundle/{chunk-dkv2mg97.js → chunk-7ryv0f5h.js} +1 -1
  86. package/bundle/chunk-7t5gzkj6.js +2 -0
  87. package/bundle/{chunk-84gnbzky.js → chunk-7tbvr236.js} +1 -1
  88. package/bundle/{chunk-8cr7ks31.js → chunk-81engf0t.js} +1 -1
  89. package/bundle/{chunk-cy2586rv.js → chunk-880msfsd.js} +1 -1
  90. package/bundle/chunk-89vgt8vq.js +2 -0
  91. package/bundle/{chunk-vftqwdpg.js → chunk-8ahpk8td.js} +1 -1
  92. package/bundle/{chunk-9f7y0dj0.js → chunk-8bzwgcjb.js} +1 -1
  93. package/bundle/chunk-8e8n82f9.js +2 -0
  94. package/bundle/{chunk-xj73j10a.js → chunk-91khd3fq.js} +1 -1
  95. package/bundle/chunk-97exhw9j.js +2 -0
  96. package/bundle/chunk-9cvkaht5.js +2 -0
  97. package/bundle/{chunk-1jh5p5qw.js → chunk-9p83me3p.js} +2 -2
  98. package/bundle/{chunk-ygj1cy0n.js → chunk-9qtf8khv.js} +1 -1
  99. package/bundle/{chunk-kaeyhw2n.js → chunk-9wm41z2f.js} +2 -2
  100. package/bundle/chunk-9zrwbxx0.js +3 -0
  101. package/bundle/{chunk-q6fbyvpq.js → chunk-admgf65a.js} +1 -1
  102. package/bundle/{chunk-spm1yy6w.js → chunk-afhg3w2j.js} +1 -1
  103. package/bundle/chunk-akdvstd9.js +2 -0
  104. package/bundle/{chunk-w7p2x973.js → chunk-atbm0pnt.js} +2 -2
  105. package/bundle/chunk-ave2e4sa.js +2 -0
  106. package/bundle/chunk-axnwehc7.js +2 -0
  107. package/bundle/{chunk-ns0pswww.js → chunk-b79k456s.js} +1 -1
  108. package/bundle/chunk-bmzyxspj.js +2 -0
  109. package/bundle/{chunk-9sy9ws1w.js → chunk-bse8p94q.js} +1 -1
  110. package/bundle/chunk-bvaqpfv8.js +2 -0
  111. package/bundle/{chunk-gf4ek7rv.js → chunk-c0k8j498.js} +1 -1
  112. package/bundle/{chunk-pyq01301.js → chunk-cbmw8fy2.js} +1 -1
  113. package/bundle/{chunk-cesrhm09.js → chunk-cn10hn58.js} +1 -1
  114. package/bundle/{chunk-gc9q0x8z.js → chunk-cqhpbfcn.js} +3 -3
  115. package/bundle/{chunk-jegn6jc3.js → chunk-cr06m77n.js} +2 -2
  116. package/bundle/{chunk-3wzqs241.js → chunk-crap29f6.js} +1 -1
  117. package/bundle/chunk-cxb05cdg.js +2 -0
  118. package/bundle/chunk-cxe92z5c.js +2 -0
  119. package/bundle/{chunk-b643cra9.js → chunk-cyjzqa5p.js} +195 -195
  120. package/bundle/{chunk-0w4v0fbs.js → chunk-d2n09yvh.js} +2 -2
  121. package/bundle/{chunk-fm4xa6yx.js → chunk-d31yrcrn.js} +2 -2
  122. package/bundle/chunk-d5wp85kw.js +2 -0
  123. package/bundle/{chunk-6j0365q3.js → chunk-dazye86e.js} +2 -2
  124. package/bundle/chunk-dm5xnb4t.js +2 -0
  125. package/bundle/chunk-dpeqsvan.js +2 -0
  126. package/bundle/chunk-drxtmg5c.js +2 -0
  127. package/bundle/{chunk-k16hzy2q.js → chunk-dv5zf5gz.js} +1 -1
  128. package/bundle/{chunk-2qcndbxv.js → chunk-e57d1he9.js} +1 -1
  129. package/bundle/{chunk-1d64dywx.js → chunk-e58pdw5k.js} +2 -2
  130. package/bundle/chunk-e9pfdjcy.js +2 -0
  131. package/bundle/chunk-ejn5hfzd.js +2 -0
  132. package/bundle/{chunk-hg563h5r.js → chunk-ek1fawsj.js} +2 -2
  133. package/bundle/{chunk-rvvfs9ps.js → chunk-eq33vmze.js} +1 -1
  134. package/bundle/{chunk-6sdh1q7g.js → chunk-eqaym8gm.js} +1 -1
  135. package/bundle/chunk-ernd18jb.js +2 -0
  136. package/bundle/{chunk-evqxvhdb.js → chunk-ewvgbg68.js} +1 -1
  137. package/bundle/{chunk-wf09j72q.js → chunk-f3c9667r.js} +2 -2
  138. package/bundle/{chunk-9nx8hm57.js → chunk-f3rrd2p6.js} +1 -1
  139. package/bundle/chunk-f416n3mp.js +14 -0
  140. package/bundle/{chunk-hh3w51wp.js → chunk-f6y7a5w3.js} +2 -2
  141. package/bundle/{chunk-zeh481tm.js → chunk-fd9zrmhr.js} +2 -2
  142. package/bundle/chunk-ff9b4cg8.js +2 -0
  143. package/bundle/{chunk-bas6x25m.js → chunk-fffj9447.js} +2 -2
  144. package/bundle/{chunk-5y8efy5b.js → chunk-fk3praj7.js} +1 -1
  145. package/bundle/{chunk-ecwz9nhs.js → chunk-fk8cctjy.js} +2 -2
  146. package/bundle/{chunk-1y9t7nxn.js → chunk-fkat2pw6.js} +1 -1
  147. package/bundle/chunk-fpff6a4q.js +2 -0
  148. package/bundle/chunk-fvy5w4dh.js +7 -0
  149. package/bundle/{chunk-2gxjjqfx.js → chunk-fx7w497c.js} +1 -1
  150. package/bundle/{chunk-5rkmhzq0.js → chunk-fxb6vjcb.js} +2 -2
  151. package/bundle/{chunk-9xvctnjr.js → chunk-g4qwkcdv.js} +1 -1
  152. package/bundle/{chunk-2eardzxs.js → chunk-g6dgc5af.js} +1 -1
  153. package/bundle/{chunk-2mmspnr3.js → chunk-g7vahvkz.js} +1 -1
  154. package/bundle/chunk-g8wvr7a1.js +3 -0
  155. package/bundle/{chunk-21ejqv4v.js → chunk-gaxbbxk6.js} +1 -1
  156. package/bundle/chunk-gq361kdt.js +2 -0
  157. package/bundle/{chunk-n1chdwrs.js → chunk-gxa2r4zc.js} +1 -1
  158. package/bundle/{chunk-p54bzjtv.js → chunk-h56jxxvj.js} +1 -1
  159. package/bundle/{chunk-2z6fzwyc.js → chunk-hb4d06q0.js} +2 -2
  160. package/bundle/chunk-hbagpppv.js +2 -0
  161. package/bundle/chunk-hf473xav.js +2 -0
  162. package/bundle/{chunk-gff87y4n.js → chunk-hjratj6g.js} +1 -1
  163. package/bundle/{chunk-y2jmtfdh.js → chunk-hk8j5ht8.js} +2 -2
  164. package/bundle/{chunk-jr8qcf99.js → chunk-hkmb3zer.js} +2 -2
  165. package/bundle/chunk-hr88054m.js +2 -0
  166. package/bundle/{chunk-ep8zn49w.js → chunk-hybq019j.js} +2 -2
  167. package/bundle/{chunk-1xyn0sp2.js → chunk-hyckncza.js} +2 -2
  168. package/bundle/{chunk-wj6aq50n.js → chunk-hz1hd1bd.js} +1 -1
  169. package/bundle/{chunk-zp2ffbc2.js → chunk-j0ftbmex.js} +2 -2
  170. package/bundle/chunk-j3czd7v2.js +28 -0
  171. package/bundle/{chunk-0w0jfzb4.js → chunk-j7zs1yg2.js} +1 -1
  172. package/bundle/{chunk-xv8gnkh5.js → chunk-j87bvp1b.js} +1 -1
  173. package/bundle/chunk-j9m2d6t5.js +2 -0
  174. package/bundle/chunk-jd9edy2s.js +2 -0
  175. package/bundle/{chunk-4tn69nqs.js → chunk-jdkxeqw5.js} +1 -1
  176. package/bundle/chunk-jwtdbx31.js +2 -0
  177. package/bundle/chunk-jzcz92pq.js +8 -0
  178. package/bundle/{chunk-5h2hcp46.js → chunk-k7h6tfzj.js} +1 -1
  179. package/bundle/{chunk-dann9gfq.js → chunk-kbg3k1az.js} +1 -1
  180. package/bundle/{chunk-va4davgy.js → chunk-kbjwdv1x.js} +259 -253
  181. package/bundle/{chunk-j1veq3zr.js → chunk-kbyk7hyn.js} +2 -2
  182. package/bundle/{chunk-jr9xnvjq.js → chunk-kfk1zqc1.js} +1 -1
  183. package/bundle/{chunk-9jf67xb0.js → chunk-kkdgzeva.js} +2 -2
  184. package/bundle/{chunk-9rqrm9y8.js → chunk-kn318ev4.js} +1 -1
  185. package/bundle/{chunk-pv8jcpnf.js → chunk-kp84yba1.js} +1 -1
  186. package/bundle/{chunk-b8ag61vj.js → chunk-kpnfndkg.js} +1 -1
  187. package/bundle/chunk-krkxrej2.js +2 -0
  188. package/bundle/{chunk-ms1fd6h4.js → chunk-kvz0vzsn.js} +1 -1
  189. package/bundle/chunk-m26mcy8p.js +2 -0
  190. package/bundle/chunk-m62wgqp1.js +2 -0
  191. package/bundle/chunk-m7txgh5w.js +2 -0
  192. package/bundle/chunk-m84cn9c6.js +2 -0
  193. package/bundle/{chunk-kr0fsqas.js → chunk-md7vpe1e.js} +1 -1
  194. package/bundle/{chunk-yz7rqzby.js → chunk-mg239rc3.js} +3 -3
  195. package/bundle/chunk-mvc7pvtq.js +2 -0
  196. package/bundle/{chunk-tsn1jkr7.js → chunk-n07rsssz.js} +1 -1
  197. package/bundle/{chunk-8717htya.js → chunk-n10atvac.js} +1 -1
  198. package/bundle/chunk-nfp9xtca.js +3 -0
  199. package/bundle/{chunk-fdezde1z.js → chunk-ngz5xw45.js} +1 -1
  200. package/bundle/{chunk-7mhffm9f.js → chunk-njzpswgt.js} +183 -183
  201. package/bundle/{chunk-najzfhb2.js → chunk-nszqy06d.js} +1 -1
  202. package/bundle/{chunk-q3x4x2tq.js → chunk-nxjbbq5h.js} +1 -1
  203. package/bundle/{chunk-jmjg8d8a.js → chunk-p0k4sv89.js} +4 -4
  204. package/bundle/{chunk-bf146hz2.js → chunk-p31yg62z.js} +2 -2
  205. package/bundle/chunk-p5t9mq8r.js +2 -0
  206. package/bundle/chunk-pfbykat1.js +2 -0
  207. package/bundle/{chunk-bd21p9zz.js → chunk-pfn1db1m.js} +2 -2
  208. package/bundle/{chunk-1fnmkm0z.js → chunk-pjbbdm96.js} +2 -2
  209. package/bundle/{chunk-k9g77a02.js → chunk-pnj8s20t.js} +1 -1
  210. package/bundle/{chunk-a5zjrwqy.js → chunk-ppvmy940.js} +2 -2
  211. package/bundle/{chunk-r3yqe7x0.js → chunk-ptf09vmp.js} +1 -1
  212. package/bundle/{chunk-sjrmhd3e.js → chunk-q2exgz82.js} +1 -1
  213. package/bundle/{chunk-te1zfpzv.js → chunk-qan3kwbv.js} +1 -1
  214. package/bundle/{chunk-7tgm8wp5.js → chunk-qb5qemtp.js} +1 -1
  215. package/bundle/chunk-qd0nvn4z.js +2 -0
  216. package/bundle/chunk-qh99kv2j.js +2 -0
  217. package/bundle/{chunk-kc3hpmr2.js → chunk-qkwhgfjt.js} +2 -2
  218. package/bundle/{chunk-5kmfnkzv.js → chunk-qm9ezq93.js} +1 -1
  219. package/bundle/chunk-qmhcbdkg.js +8 -0
  220. package/bundle/{chunk-7a6p7dfx.js → chunk-qngs31yf.js} +1 -1
  221. package/bundle/{chunk-hbnr0j7h.js → chunk-qpv4438m.js} +2 -2
  222. package/bundle/{chunk-hv4nhx6q.js → chunk-qq71akpw.js} +2 -2
  223. package/bundle/chunk-qyrafh4m.js +2 -0
  224. package/bundle/{chunk-17ggas8k.js → chunk-r1yqmd4y.js} +1 -1
  225. package/bundle/chunk-rc37cw86.js +2 -0
  226. package/bundle/{chunk-xccs5c50.js → chunk-rf625fxx.js} +1 -1
  227. package/bundle/chunk-rmpty636.js +2 -0
  228. package/bundle/{chunk-9pe4agdz.js → chunk-rs0nx844.js} +2 -2
  229. package/bundle/{chunk-9vcw33dv.js → chunk-rvrjw0fy.js} +1 -1
  230. package/bundle/{chunk-jpygkh1c.js → chunk-rz54qjew.js} +1 -1
  231. package/bundle/{chunk-a9y27zd2.js → chunk-rze20q68.js} +1 -1
  232. package/bundle/{chunk-hg9nk090.js → chunk-s1h0k1yj.js} +1 -1
  233. package/bundle/{chunk-hh4c02fh.js → chunk-s2za1y84.js} +1 -1
  234. package/bundle/chunk-s3wjwxme.js +2 -0
  235. package/bundle/chunk-s4ncnbgd.js +2 -0
  236. package/bundle/{chunk-p4hpr8d7.js → chunk-s54c8fpf.js} +1 -1
  237. package/bundle/{chunk-0pbt75ev.js → chunk-s5krbdvd.js} +1 -1
  238. package/bundle/{chunk-wmw2gne9.js → chunk-s86fj82v.js} +2 -2
  239. package/bundle/{chunk-qywwj58s.js → chunk-sdsggxm4.js} +2 -2
  240. package/bundle/{chunk-r7xp0xcn.js → chunk-se195e52.js} +2 -2
  241. package/bundle/chunk-snz3w30x.js +2 -0
  242. package/bundle/chunk-srw748gr.js +2 -0
  243. package/bundle/{chunk-mj24ntn9.js → chunk-st74db4c.js} +1 -1
  244. package/bundle/{chunk-0rtshz2r.js → chunk-t1vtdgd6.js} +1 -1
  245. package/bundle/{chunk-6dxaty1v.js → chunk-t6xm49ea.js} +1 -1
  246. package/bundle/{chunk-f819a7ec.js → chunk-t7tstr83.js} +1 -1
  247. package/bundle/{chunk-v2kyarwz.js → chunk-tedrfa7d.js} +2 -2
  248. package/bundle/{chunk-zfnbk5gy.js → chunk-tfggzzqw.js} +1 -1
  249. package/bundle/chunk-tn167yyz.js +2 -0
  250. package/bundle/{chunk-d56zc21w.js → chunk-txty44v2.js} +1 -1
  251. package/bundle/{chunk-b6m4yyww.js → chunk-tyy4gx61.js} +1 -1
  252. package/bundle/chunk-v1xwe58d.js +2 -0
  253. package/bundle/{chunk-vvypb02q.js → chunk-vh05n2x3.js} +1 -1
  254. package/bundle/{chunk-agdfqncf.js → chunk-vpqd0t8a.js} +2 -2
  255. package/bundle/chunk-vrfegg5f.js +2 -0
  256. package/bundle/{chunk-tzc4jkzg.js → chunk-vthm5q05.js} +1 -1
  257. package/bundle/{chunk-6g3m7yxf.js → chunk-vw673y0t.js} +2 -2
  258. package/bundle/{chunk-3tdqsm5c.js → chunk-vx837ete.js} +1 -1
  259. package/bundle/{chunk-hjbks7r9.js → chunk-vy9xre57.js} +1 -1
  260. package/bundle/{chunk-x6z2b63w.js → chunk-vyjsng14.js} +1 -1
  261. package/bundle/{chunk-ftk58wxe.js → chunk-vztxv9dj.js} +1 -1
  262. package/bundle/{chunk-1p34bx7c.js → chunk-w01gjnty.js} +2 -2
  263. package/bundle/chunk-w12tky28.js +2 -0
  264. package/bundle/{chunk-t6w96xq2.js → chunk-w2gpgapp.js} +1 -1
  265. package/bundle/{chunk-gn7xgd4c.js → chunk-w3pzv615.js} +1 -1
  266. package/bundle/chunk-w4hbw37v.js +3 -0
  267. package/bundle/chunk-w9ct698t.js +2 -0
  268. package/bundle/{chunk-8ace31r2.js → chunk-wefjbwv6.js} +1 -1
  269. package/bundle/{chunk-sgtgvzv6.js → chunk-wg42cxrw.js} +1 -1
  270. package/bundle/{chunk-02txthqv.js → chunk-wg5dv21f.js} +2 -2
  271. package/bundle/chunk-wms4skr9.js +11 -0
  272. package/bundle/chunk-wr5hdsst.js +9 -0
  273. package/bundle/chunk-wxnqgh8t.js +2 -0
  274. package/bundle/chunk-wzmte7sy.js +3 -0
  275. package/bundle/chunk-x0h1jdxt.js +2 -0
  276. package/bundle/{chunk-ha1w0xzh.js → chunk-x36jhtex.js} +1 -1
  277. package/bundle/{chunk-yzdty5t9.js → chunk-x3931we7.js} +2 -2
  278. package/bundle/{chunk-v7r9np94.js → chunk-x3z8q0ep.js} +1 -1
  279. package/bundle/chunk-x6hsmnhz.js +2 -0
  280. package/bundle/{chunk-fkvccmgk.js → chunk-xak2r993.js} +2 -2
  281. package/bundle/{chunk-c31k8yh0.js → chunk-xc3fadkh.js} +1 -1
  282. package/bundle/{chunk-hh9a709t.js → chunk-xcs2jbz9.js} +1 -1
  283. package/bundle/{chunk-qw2hgs5b.js → chunk-xdv9xt0y.js} +2 -2
  284. package/bundle/{chunk-dgzyn27r.js → chunk-xdwej3ae.js} +1 -1
  285. package/bundle/chunk-xg9e0enb.js +2 -0
  286. package/bundle/{chunk-pfhp78cr.js → chunk-xqxpjbqk.js} +1 -1
  287. package/bundle/chunk-xtxxb25n.js +2 -0
  288. package/bundle/{chunk-8h9r6c8g.js → chunk-y2ch07yv.js} +2 -2
  289. package/bundle/chunk-y3s7sh1e.js +2 -0
  290. package/bundle/chunk-ydvheqw9.js +2 -0
  291. package/bundle/{chunk-0z3z0gk1.js → chunk-ygwe0vf1.js} +2 -2
  292. package/bundle/{chunk-58enbars.js → chunk-ykxde207.js} +2 -2
  293. package/bundle/{chunk-dkm7x8rj.js → chunk-ynfbz3sz.js} +2 -2
  294. package/bundle/{chunk-2wp1w8cy.js → chunk-yqtfvgrp.js} +1 -1
  295. package/bundle/{chunk-edvcz2gd.js → chunk-yt1yk4j1.js} +1 -1
  296. package/bundle/{chunk-yh174jhg.js → chunk-yvj021eg.js} +2 -2
  297. package/bundle/chunk-yxnq0d7k.js +2 -0
  298. package/bundle/{chunk-e346x00p.js → chunk-z2m09m4w.js} +1 -1
  299. package/bundle/{chunk-f3kjp838.js → chunk-z2q3mg73.js} +2 -2
  300. package/bundle/chunk-z2raegj9.js +2 -0
  301. package/bundle/{chunk-y1srca0c.js → chunk-z3hj5bfd.js} +2 -2
  302. package/bundle/chunk-z3pyhmg6.js +2 -0
  303. package/bundle/{chunk-3nhqd8wg.js → chunk-z4ae6jmb.js} +3 -3
  304. package/bundle/{chunk-7dckfame.js → chunk-z559gc3n.js} +1 -1
  305. package/bundle/chunk-z7pg6sw1.js +2 -0
  306. package/bundle/chunk-z84376c6.js +2 -0
  307. package/bundle/{chunk-ktmazmas.js → chunk-ze00x1xb.js} +2 -2
  308. package/bundle/{chunk-pb7rnkke.js → chunk-zjvzc0my.js} +1 -1
  309. package/bundle/chunk-zn8th65r.js +2 -0
  310. package/bundle/{chunk-sswbfqcq.js → chunk-zna6neq5.js} +1 -1
  311. package/bundle/chunk-ztv1brgn.js +2 -0
  312. package/bundle/{chunk-s9amvacw.js → chunk-zvsafnkp.js} +2 -2
  313. package/bundle/chunk-zyxvd9fj.js +2 -0
  314. package/bundle/index.js +16 -16
  315. package/bundle/parser.worker.js +2 -2
  316. package/bundle/worker.js +1 -1
  317. package/package.json +1 -1
  318. package/bundle/chunk-0bvde0cx.js +0 -2
  319. package/bundle/chunk-0kbxnazj.js +0 -2
  320. package/bundle/chunk-19z5q33z.js +0 -2
  321. package/bundle/chunk-1a0wnwna.js +0 -2
  322. package/bundle/chunk-1ddm2wxv.js +0 -2
  323. package/bundle/chunk-1fk4vsmc.js +0 -2
  324. package/bundle/chunk-1j2f9nd5.js +0 -2
  325. package/bundle/chunk-27s736an.js +0 -2
  326. package/bundle/chunk-2j17xrzj.js +0 -2
  327. package/bundle/chunk-2zca3nak.js +0 -2
  328. package/bundle/chunk-2zcvcfq4.js +0 -2
  329. package/bundle/chunk-38hwkfj5.js +0 -2
  330. package/bundle/chunk-3afqxvsn.js +0 -2
  331. package/bundle/chunk-3avc1ppg.js +0 -7
  332. package/bundle/chunk-3v4vtah1.js +0 -2
  333. package/bundle/chunk-3ypk0j2f.js +0 -2
  334. package/bundle/chunk-3z1y040p.js +0 -3
  335. package/bundle/chunk-4aykrj51.js +0 -9
  336. package/bundle/chunk-4dtbmqmq.js +0 -2
  337. package/bundle/chunk-4zjb6rps.js +0 -2
  338. package/bundle/chunk-5hkcjgwh.js +0 -2
  339. package/bundle/chunk-5snrz263.js +0 -2
  340. package/bundle/chunk-653c0mxr.js +0 -11
  341. package/bundle/chunk-6av7hrrk.js +0 -7
  342. package/bundle/chunk-6bswn7w5.js +0 -2
  343. package/bundle/chunk-6epghftw.js +0 -2
  344. package/bundle/chunk-6jjhxh8p.js +0 -2
  345. package/bundle/chunk-6ws7xyc5.js +0 -2
  346. package/bundle/chunk-7g28zhar.js +0 -2
  347. package/bundle/chunk-7v02b2ms.js +0 -2
  348. package/bundle/chunk-7vmp2034.js +0 -2
  349. package/bundle/chunk-7wxrypkr.js +0 -2
  350. package/bundle/chunk-8kk9gvdy.js +0 -2
  351. package/bundle/chunk-8ygpp4y3.js +0 -2
  352. package/bundle/chunk-95q60g1p.js +0 -2
  353. package/bundle/chunk-9mjbenja.js +0 -2
  354. package/bundle/chunk-9vn1gy8h.js +0 -2
  355. package/bundle/chunk-ajp3f08k.js +0 -2
  356. package/bundle/chunk-aptkpdkc.js +0 -2
  357. package/bundle/chunk-bky5a42k.js +0 -3
  358. package/bundle/chunk-bry94ar5.js +0 -2
  359. package/bundle/chunk-btzyvqkf.js +0 -2
  360. package/bundle/chunk-c94pjdfh.js +0 -2
  361. package/bundle/chunk-cct9ds5c.js +0 -2
  362. package/bundle/chunk-czn535v0.js +0 -2
  363. package/bundle/chunk-d7wd5hz1.js +0 -2
  364. package/bundle/chunk-d86cmjrp.js +0 -2
  365. package/bundle/chunk-dnq65xvn.js +0 -2
  366. package/bundle/chunk-dpqv8rtn.js +0 -2
  367. package/bundle/chunk-e9mh7s3z.js +0 -2
  368. package/bundle/chunk-ek2y5f6g.js +0 -2
  369. package/bundle/chunk-epdsay73.js +0 -2
  370. package/bundle/chunk-f89gntcy.js +0 -3
  371. package/bundle/chunk-ffnsn7tv.js +0 -2
  372. package/bundle/chunk-fkezc7ew.js +0 -2
  373. package/bundle/chunk-fsxddgj0.js +0 -2
  374. package/bundle/chunk-gbcsfg6v.js +0 -2
  375. package/bundle/chunk-gfmz85hp.js +0 -2
  376. package/bundle/chunk-gk63k4t6.js +0 -2
  377. package/bundle/chunk-j0vf8s12.js +0 -2
  378. package/bundle/chunk-j1bxt69x.js +0 -2
  379. package/bundle/chunk-jcem8s30.js +0 -2
  380. package/bundle/chunk-jjwjb9w0.js +0 -3
  381. package/bundle/chunk-jpham2a3.js +0 -2
  382. package/bundle/chunk-jzkymnr5.js +0 -2
  383. package/bundle/chunk-k0qtwnhb.js +0 -2
  384. package/bundle/chunk-k2rsky7z.js +0 -2
  385. package/bundle/chunk-kcetcysa.js +0 -2
  386. package/bundle/chunk-kjfc5v3s.js +0 -2
  387. package/bundle/chunk-kkvb2c2z.js +0 -8
  388. package/bundle/chunk-km2ayfyf.js +0 -2
  389. package/bundle/chunk-knrh89eb.js +0 -2
  390. package/bundle/chunk-ksqfjawv.js +0 -2
  391. package/bundle/chunk-mjhb1q0n.js +0 -3
  392. package/bundle/chunk-mxcger73.js +0 -2
  393. package/bundle/chunk-nazkrkeb.js +0 -2
  394. package/bundle/chunk-nk01s49e.js +0 -2
  395. package/bundle/chunk-ns8b7rx1.js +0 -2
  396. package/bundle/chunk-ny6vpkx2.js +0 -2
  397. package/bundle/chunk-q0dd3ak6.js +0 -3
  398. package/bundle/chunk-q2s057bm.js +0 -2
  399. package/bundle/chunk-q5cqg2c0.js +0 -28
  400. package/bundle/chunk-qk2wnp2x.js +0 -2
  401. package/bundle/chunk-r012q335.js +0 -3
  402. package/bundle/chunk-rbdjbgkb.js +0 -2
  403. package/bundle/chunk-rxjprhgh.js +0 -2
  404. package/bundle/chunk-s3w9bmze.js +0 -2
  405. package/bundle/chunk-s3zste1a.js +0 -2
  406. package/bundle/chunk-sbt7qmwm.js +0 -3
  407. package/bundle/chunk-sf6h44pb.js +0 -2
  408. package/bundle/chunk-sgvzxs7m.js +0 -2
  409. package/bundle/chunk-sp9bndyh.js +0 -2
  410. package/bundle/chunk-vavrczqm.js +0 -3
  411. package/bundle/chunk-vg4styg5.js +0 -2
  412. package/bundle/chunk-vh09hhcs.js +0 -2
  413. package/bundle/chunk-vhktpm0n.js +0 -2
  414. package/bundle/chunk-vzjcmwry.js +0 -14
  415. package/bundle/chunk-wtp0yvqw.js +0 -2
  416. package/bundle/chunk-xmzs7q66.js +0 -2
  417. package/bundle/chunk-xv80476w.js +0 -2
  418. package/bundle/chunk-yjvr0et1.js +0 -2
  419. package/bundle/chunk-zk8n8hnh.js +0 -3
  420. package/bundle/chunk-zx3kcfkj.js +0 -2
@@ -1,3 +1,3 @@
1
1
  // @bun
2
- import{Qr as mJ,Rr as vJ,Sr as dJ,Tr as lJ,Wr as d,Xr as l,Zr as uJ,_r as cJ,bs as pJ,cs as iJ,ds as nJ,es as aJ,fs as rJ,hs as AQ}from"./chunk-wf09j72q.js";import{Ts as CQ,Us as DQ,Zs as FQ,qt as x,zt as GJ}from"./chunk-zk8n8hnh.js";import{AD as PJ,AH as kJ,AJ as gJ,BF as ZJ,DD as T,EH as LJ,FG as TJ,GB as tJ,GD as KJ,HH as SJ,LF as z,LH as xJ,LL as j,ME as qQ,MG as EJ,PH as fJ,QG as MJ,RF as b,TE as _J,TF as CJ,TG as oJ,VC as GQ,XG as RJ,ZG as VJ,_H as E,aH as hJ,aM as o,bG as DJ,cG as FJ,dG as AJ,dI as yJ,eI as bJ,fP as g,gF as BQ,gP as eJ,hF as wQ,jD as $Q,jH as jJ,jP as HQ,kC as wJ,kF as $J,kP as WQ,lF as UJ,lP as R,mI as I,nC as HJ,pG as t,pH as NJ,qC as WJ,qF as zJ,qG as OJ,rD as f,sG as y,xD as IJ}from"./chunk-dkm7x8rj.js";import{AP as u,CP as S,yP as zQ}from"./chunk-hh4c02fh.js";var IX={};u(IX,{resource:()=>BJ,layer:()=>EQ,enabled:()=>OQ,Observability:()=>WX});var p={};u(p,{make:()=>IQ,layer:()=>ZX});var VQ=AJ.pipe(FJ,DJ((J)=>{if(lJ(J)&&J.reason._tag==="StatusCodeError"&&J.reason.response.status===429){let Q=HJ(J.reason.response.headers["retry-after"]).pipe(WJ(CJ),wJ(()=>5));return t(T(Q))}return t(T(1))})),sJ=E(function*(J){let Q=yield*jJ(),X=f(Q,b),Y=f(Q,UJ),$=fJ(Q),G=KJ(IJ(J.exportInterval),PJ),B=void 0,C=nJ(f(Q,pJ)).pipe(iJ(NJ(rJ,!1)),aJ({schedule:VQ,times:3})),V=vJ({"user-agent":`effect-opentelemetry-${J.label}/0.0.0`});if(J.headers)V=dJ(mJ(J.headers),V);let r=uJ(J.url,{headers:V}),O=[],s=OJ(()=>{if(B!==void 0&&X.currentTimeMillisUnsafe()<B)return y;else if(B!==void 0)B=void 0;let h=O;if(J.maxBatchSize!=="disabled"){if(O.length===0)return y;O=[]}return C.execute(cJ(r,J.body(h))).pipe(EJ,SJ(!1))}).pipe(MJ((h)=>{if(B!==void 0)return y;return B=X.currentTimeMillisUnsafe()+60000,O=[],yJ("Disabling exporter for 60 seconds",h)}),bJ({package:"@effect/opentelemetry",module:J.label}));return yield*zJ(Y,s.pipe(RJ,kJ,VJ(J.shutdownTimeout))),yield*hJ(G).pipe(TJ(s),LJ,xJ(Y)),{push(h){if(B!==void 0)return;if(O.push(h),J.maxBatchSize!=="disabled"&&O.length>=J.maxBatchSize)gJ($(s),Y)}}});var jQ=(J)=>{let Q=J.attributes?e(Object.entries(J.attributes)):[];if(Q.push({key:"service.name",value:{stringValue:J.serviceName}}),J.serviceVersion)Q.push({key:"service.version",value:{stringValue:J.serviceVersion}});return{attributes:Q,droppedAttributesCount:0}},JQ=E(function*(J){let Q={...yield*g(o(eJ(j,j)),"OTEL_RESOURCE_ATTRIBUTES"),...J?.attributes},X=J?.serviceName??Q["service.name"]??(yield*g(j,"OTEL_SERVICE_NAME"));delete Q["service.name"];let Y=J?.serviceVersion??Q["service.version"]??(yield*g(o(j),"OTEL_SERVICE_VERSION"));return delete Q["service.version"],jQ({serviceName:X,serviceVersion:Y,attributes:Q})},oJ),QQ=(J)=>{let Q=J.attributes.find((X)=>X.key==="service.name");if(!Q||!Q.value.stringValue)throw Error("Resource does not contain a service name");return Q.value.stringValue},e=(J)=>{let Q=[];for(let[X,Y]of J)Q.push({key:X,value:m(Y)});return Q},m=(J)=>{if(Array.isArray(J))return{arrayValue:{values:J.map(m)}};switch(typeof J){case"string":return{stringValue:J};case"bigint":return{intValue:Number(J)};case"number":return Number.isInteger(J)?{intValue:J}:{doubleValue:J};case"boolean":return{boolValue:J};default:return{stringValue:tJ(J)}}};var c={};u(c,{layerProtobuf:()=>YX,layerJson:()=>XX,OtlpSerialization:()=>M});var N={Varint:0,Fixed64:1,LengthDelimited:2,Fixed32:5},k=(J,Q)=>J<<3|Q,D=(J)=>{let Q=[],X=typeof J==="bigint"?J:BigInt(J);while(X>0x7fn)Q.push(Number(X&0x7fn)|128),X>>=7n;return Q.push(Number(X)),new Uint8Array(Q)};var kQ=(J)=>{let Q=new Uint8Array(8);return new DataView(Q.buffer).setBigUint64(0,J,!0),Q},LQ=(J)=>{let Q=new Uint8Array(4);return new DataView(Q.buffer).setUint32(0,J,!0),Q},SQ=(J)=>{let Q=new Uint8Array(8);return new DataView(Q.buffer).setFloat64(0,J,!0),Q},xQ=(J)=>new TextEncoder().encode(J),fQ=(J)=>{let Q=new Uint8Array(J.length/2);for(let X=0;X<J.length;X+=2)Q[X/2]=parseInt(J.slice(X,X+2),16);return Q},Z=(...J)=>{let Q=J.reduce(($,G)=>$+G.length,0),X=new Uint8Array(Q),Y=0;for(let $ of J)X.set($,Y),Y+=$.length;return X},q=(J,Q)=>Z(D(k(J,N.Varint)),D(Q));var JJ=(J,Q)=>q(J,Q?1:0),W=(J,Q)=>Z(D(k(J,N.Fixed64)),kQ(Q)),v=(J,Q)=>Z(D(k(J,N.Fixed32)),LQ(Q)),F=(J,Q)=>Z(D(k(J,N.Fixed64)),SQ(Q)),L=(J,Q)=>Z(D(k(J,N.LengthDelimited)),D(Q.length),Q),K=(J,Q)=>L(J,xQ(Q)),U=(J,Q)=>L(J,fQ(Q)),w=(J,Q)=>L(J,Q),_=(J,Q,X)=>Z(...Q.map((Y)=>w(J,X(Y))));var H=(J,Q)=>Q!==void 0&&Q!==""?K(J,Q):new Uint8Array(0);var QJ=(J)=>{if(J.stringValue!==void 0&&J.stringValue!==null)return K(1,J.stringValue);if(J.boolValue!==void 0&&J.boolValue!==null)return JJ(2,J.boolValue);if(J.intValue!==void 0&&J.intValue!==null)return q(3,BigInt(J.intValue));if(J.doubleValue!==void 0&&J.doubleValue!==null)return F(4,J.doubleValue);if(J.arrayValue!==void 0)return w(5,bQ(J.arrayValue));if(J.kvlistValue!==void 0)return w(6,gQ(J.kvlistValue));if(J.bytesValue!==void 0)return L(7,J.bytesValue);return new Uint8Array(0)},bQ=(J)=>_(1,J.values,QJ),gQ=(J)=>_(1,J.values,P),P=(J)=>Z(K(1,J.key),w(2,QJ(J.value))),XJ=(J)=>Z(K(1,J.name),H(2,J.version),J.attributes?_(3,J.attributes,P):new Uint8Array(0),J.droppedAttributesCount?q(4,J.droppedAttributesCount):new Uint8Array(0)),YJ=(J)=>Z(_(1,J.attributes,P),J.droppedAttributesCount>0?q(2,J.droppedAttributesCount):new Uint8Array(0));var mQ=(J)=>Z(H(2,J.message),q(3,J.code)),vQ=(J)=>Z(W(1,BigInt(J.timeUnixNano)),K(2,J.name),_(3,J.attributes,P),J.droppedAttributesCount>0?q(4,J.droppedAttributesCount):new Uint8Array(0)),dQ=(J)=>Z(U(1,J.traceId),U(2,J.spanId),H(3,J.traceState),_(4,J.attributes,P),J.droppedAttributesCount>0?q(5,J.droppedAttributesCount):new Uint8Array(0),J.flags!==void 0?v(6,J.flags):new Uint8Array(0)),lQ=(J)=>Z(U(1,J.traceId),U(2,J.spanId),H(3,J.traceState),J.parentSpanId!==void 0?U(4,J.parentSpanId):new Uint8Array(0),K(5,J.name),q(6,J.kind),W(7,BigInt(J.startTimeUnixNano)),W(8,BigInt(J.endTimeUnixNano)),_(9,J.attributes,P),J.droppedAttributesCount>0?q(10,J.droppedAttributesCount):new Uint8Array(0),_(11,J.events,vQ),J.droppedEventsCount>0?q(12,J.droppedEventsCount):new Uint8Array(0),_(13,J.links,dQ),J.droppedLinksCount>0?q(14,J.droppedLinksCount):new Uint8Array(0),w(15,mQ(J.status)),J.flags!==void 0?v(16,J.flags):new Uint8Array(0)),uQ=(J)=>Z(w(1,XJ(J.scope)),_(2,J.spans,lQ),H(3,J.schemaUrl)),cQ=(J)=>Z(w(1,YJ(J.resource)),_(2,J.scopeSpans,uQ),H(3,J.schemaUrl)),XQ=(J)=>_(1,J.resourceSpans,cQ);var YQ=(J)=>Z(W(2,BigInt(J.startTimeUnixNano)),W(3,BigInt(J.timeUnixNano)),J.asDouble!==void 0?F(4,J.asDouble):new Uint8Array(0),J.asInt!==void 0?W(6,BigInt(J.asInt)):new Uint8Array(0),_(7,J.attributes,P),J.flags!==void 0?q(8,J.flags):new Uint8Array(0)),pQ=(J)=>{let Q=Z(...J.bucketCounts.map((Y)=>W(6,BigInt(Y)))),X=Z(...J.explicitBounds.map((Y)=>F(7,Y)));return Z(W(2,BigInt(J.startTimeUnixNano)),W(3,BigInt(J.timeUnixNano)),W(4,BigInt(J.count)),J.sum!==void 0?F(5,J.sum):new Uint8Array(0),Q,X,_(9,J.attributes,P),J.flags!==void 0?q(10,J.flags):new Uint8Array(0),J.min!==void 0?F(11,J.min):new Uint8Array(0),J.max!==void 0?F(12,J.max):new Uint8Array(0))},iQ=(J)=>_(1,J.dataPoints,YQ),nQ=(J)=>Z(_(1,J.dataPoints,YQ),q(2,J.aggregationTemporality),JJ(3,J.isMonotonic)),aQ=(J)=>Z(_(1,J.dataPoints,pQ),q(2,J.aggregationTemporality)),rQ=(J)=>Z(K(1,J.name),H(2,J.description),H(3,J.unit),J.gauge!==void 0?w(5,iQ(J.gauge)):new Uint8Array(0),J.sum!==void 0?w(7,nQ(J.sum)):new Uint8Array(0),J.histogram!==void 0?w(9,aQ(J.histogram)):new Uint8Array(0)),sQ=(J)=>Z(w(1,XJ(J.scope)),_(2,J.metrics,rQ),H(3,J.schemaUrl)),tQ=(J)=>Z(w(1,YJ(J.resource)),_(2,J.scopeMetrics,sQ),H(3,J.schemaUrl)),ZQ=(J)=>_(1,J.resourceMetrics,tQ);var oQ=(J)=>Z(W(1,BigInt(J.timeUnixNano)),J.severityNumber!==void 0?q(2,J.severityNumber):new Uint8Array(0),H(3,J.severityText),J.body!==void 0?w(5,QJ(J.body)):new Uint8Array(0),_(6,J.attributes,P),J.droppedAttributesCount!==void 0&&J.droppedAttributesCount>0?q(7,J.droppedAttributesCount):new Uint8Array(0),J.flags!==void 0?v(8,J.flags):new Uint8Array(0),J.traceId!==void 0&&J.traceId!==""?U(9,J.traceId):new Uint8Array(0),J.spanId!==void 0&&J.spanId!==""?U(10,J.spanId):new Uint8Array(0),J.observedTimeUnixNano!==void 0?W(11,BigInt(J.observedTimeUnixNano)):new Uint8Array(0)),eQ=(J)=>Z(w(1,XJ(J.scope)),_(2,J.logRecords,oQ),H(3,J.schemaUrl)),JX=(J)=>Z(w(1,YJ(J.resource)),_(2,J.scopeLogs,eQ),H(3,J.schemaUrl)),_Q=(J)=>_(1,J.resourceLogs,JX);class M extends $Q()("effect/observability/OtlpSerialization"){}var XX=ZJ(M,{traces:(J)=>l(J),metrics:(J)=>l(J),logs:(J)=>l(J)}),YX=ZJ(M,{traces:(J)=>d(XQ(J),"application/x-protobuf"),metrics:(J)=>d(ZQ(J),"application/x-protobuf"),logs:(J)=>d(_Q(J),"application/x-protobuf")});var IQ=E(function*(J){let Q=yield*M,X=yield*JQ(J.resource),Y={name:QQ(X)},$=yield*sJ({label:"OtlpLogger",url:J.url,headers:J.headers,maxBatchSize:J.maxBatchSize??1000,exportInterval:J.exportInterval??T(1),body:(B)=>Q.logs({resourceLogs:[{resource:X,scopeLogs:[{scope:Y,logRecords:B}]}]}),shutdownTimeout:J.shutdownTimeout??T(3)}),G={excludeLogSpans:J.excludeLogSpans??!1,clock:yield*b};return HQ((B)=>{$.push(_X(B,G))})}),ZX=(J)=>WQ([IQ(J)],{mergeWithExisting:J.mergeWithExisting??!0}),_X=(J,Q)=>{let Y=Q.clock.currentTimeNanosUnsafe().toString(),$=J.date.getTime(),G=e(Object.entries(J.fiber.getRef(BQ)));if(G.push({key:"fiberId",value:{intValue:J.fiber.id}}),!Q.excludeLogSpans)for(let[V,r]of J.fiber.getRef(wQ))G.push({key:`logSpan.${V}`,value:{stringValue:`${$-r}ms`}});if(J.cause.reasons.length>0)G.push({key:"log.error",value:{stringValue:qQ(J.cause)}});let B=GQ(J.message),C={severityNumber:$X(J.logLevel),severityText:J.logLevel,timeUnixNano:Y,observedTimeUnixNano:Y,attributes:G,body:m(B.length===1?B[0]:B),droppedAttributesCount:0};if(J.fiber.currentSpan)C.traceId=J.fiber.currentSpan.traceId,C.spanId=J.fiber.currentSpan.spanId;return C},$X=(J)=>{switch(J){case"Trace":return A.SEVERITY_NUMBER_TRACE;case"Debug":return A.SEVERITY_NUMBER_DEBUG;case"Info":return A.SEVERITY_NUMBER_INFO;case"Warn":return A.SEVERITY_NUMBER_WARN;case"Error":return A.SEVERITY_NUMBER_ERROR;case"Fatal":return A.SEVERITY_NUMBER_FATAL;default:return A.SEVERITY_NUMBER_UNSPECIFIED}},A={SEVERITY_NUMBER_UNSPECIFIED:0,SEVERITY_NUMBER_TRACE:1,SEVERITY_NUMBER_TRACE2:2,SEVERITY_NUMBER_TRACE3:3,SEVERITY_NUMBER_TRACE4:4,SEVERITY_NUMBER_DEBUG:5,SEVERITY_NUMBER_DEBUG2:6,SEVERITY_NUMBER_DEBUG3:7,SEVERITY_NUMBER_DEBUG4:8,SEVERITY_NUMBER_INFO:9,SEVERITY_NUMBER_INFO2:10,SEVERITY_NUMBER_INFO3:11,SEVERITY_NUMBER_INFO4:12,SEVERITY_NUMBER_WARN:13,SEVERITY_NUMBER_WARN2:14,SEVERITY_NUMBER_WARN3:15,SEVERITY_NUMBER_WARN4:16,SEVERITY_NUMBER_ERROR:17,SEVERITY_NUMBER_ERROR2:18,SEVERITY_NUMBER_ERROR3:19,SEVERITY_NUMBER_ERROR4:20,SEVERITY_NUMBER_FATAL:21,SEVERITY_NUMBER_FATAL2:22,SEVERITY_NUMBER_FATAL3:23,SEVERITY_NUMBER_FATAL4:24};var UQ={};u(UQ,{logger:()=>n,layer:()=>qJ,create:()=>KQ});var GX=(J)=>J==="sessionID"?"session.id":J,PQ=(J)=>Object.fromEntries(Object.entries(J??{}).filter((Q)=>Q[1]!==void 0&&Q[1]!==null).map(([Q,X])=>[GX(Q),X])),qX=(J)=>{if(Array.isArray(J))return J.map((Q)=>String(Q)).join(" ");return J===void 0?"":String(J)},i=(J,Q,X,Y)=>{let $=PQ({...Q,...Y}),G=J(X);return Object.keys($).length?I.annotateLogs(G,$):G},n=R.make((J)=>{let Q=PQ(J.fiber.getRef($J.CurrentLogAnnotations)),X=J.date.getTime();for(let[B,C]of J.fiber.getRef($J.CurrentLogSpans))Q[`logSpan.${B}`]=`${X-C}ms`;if(J.cause.reasons.length>0)Q.cause=_J.pretty(J.cause);let Y=typeof Q.service==="string"?Q.service:void 0;if(Y)delete Q.service;let $=Y?GJ.create({service:Y}):GJ.Default,G=qX(J.message);switch(J.logLevel){case"Trace":case"Debug":return $.debug(G,Q);case"Warn":return $.warn(G,Q);case"Error":case"Fatal":return $.error(G,Q);default:return $.info(G,Q)}}),qJ=R.layer([n],{mergeWithExisting:!1}),KQ=(J={})=>({debug:(Q,X)=>i((Y)=>I.logDebug(Y),J,Q,X),info:(Q,X)=>i((Y)=>I.logInfo(Y),J,Q,X),warn:(Q,X)=>i((Y)=>I.logWarning(Y),J,Q,X),error:(Q,X)=>i((Y)=>I.logError(Y),J,Q,X),with:(Q)=>KQ({...J,...Q})});var a=x.OTEL_EXPORTER_OTLP_ENDPOINT,OQ=!!a,BX=crypto.randomUUID(),TQ=x.OTEL_EXPORTER_OTLP_HEADERS?x.OTEL_EXPORTER_OTLP_HEADERS.split(",").reduce((J,Q)=>{let[X,...Y]=Q.split("=");return J[X]=Y.join("="),J},{}):void 0;function BJ(){let J=FQ("main"),Q=(()=>{let X=process.env.OTEL_RESOURCE_ATTRIBUTES;if(!X)return{};try{return Object.fromEntries(X.split(",").map((Y)=>{let $=Y.indexOf("=");if($<1)throw Error("Invalid OTEL_RESOURCE_ATTRIBUTES entry");return[decodeURIComponent(Y.slice(0,$)),decodeURIComponent(Y.slice($+1))]}))}catch{return{}}})();return{serviceName:"qitqode",serviceVersion:CQ,attributes:{...Q,"deployment.environment.name":DQ,"qitqode.client":x.QITQODE_CLIENT,"qitqode.process_role":J.processRole,"qitqode.run_id":J.runID,"service.instance.id":BX}}}function wX(){return R.layer([n,p.make({url:`${a}/v1/logs`,resource:BJ(),headers:TQ})],{mergeWithExisting:!1}).pipe(z.provide(c.layerJson),z.provide(AQ.layer))}var HX=async()=>{let J=await import("./chunk-najzfhb2.js"),Q=await import("./chunk-frdc3ysq.js"),X=await import("./chunk-gf4ek7rv.js"),{AsyncLocalStorageContextManager:Y}=await import("./chunk-6szvs3k9.js").then((m)=>zQ(m.default,1)),{context:$}=await import("./chunk-zx3kcfkj.js").then((m)=>zQ(m.default,1)),G=new Y;return G.enable(),$.setGlobalContextManager(G),J.layer(()=>({resource:BJ(),spanProcessor:new X.BatchSpanProcessor(new Q.OTLPTraceExporter({url:`${a}/v1/traces`,headers:TQ}))}))},EQ=!a?qJ:z.unwrap(I.gen(function*(){let J=yield*I.promise(HX);return z.mergeAll(J,wX())})),WX={enabled:OQ,layer:EQ};var aX=z.makeMemoMapUnsafe();
3
- export{qJ as Kr,UQ as Lr,EQ as Mr,WX as Nr,IX as Or,aX as Pr};
2
+ import{Tr as mJ,Ur as vJ,Vr as dJ,Wr as lJ,Zr as d,_r as l,as as uJ,bs as cJ,es as pJ,fs as iJ,gs as nJ,hs as aJ,is as rJ,ks as AQ}from"./chunk-f3c9667r.js";import{$t as GJ,St as x,Ws as CQ,Xs as DQ,zt as FQ}from"./chunk-08y06vgt.js";import{$G as RJ,BD as IJ,ED as PJ,EH as kJ,EJ as gJ,FF as ZJ,HD as T,IH as LJ,JG as TJ,KB as tJ,KD as KJ,LH as SJ,PF as z,PH as xJ,PL as j,QE as qQ,QG as EJ,TH as fJ,UG as MJ,VF as b,XE as _J,XF as CJ,XG as oJ,ZC as GQ,bH as VJ,cI as E,eH as hJ,eM as o,fG as DJ,gG as FJ,hG as AJ,hI as yJ,iI as bJ,jP as g,kF as BQ,kP as eJ,lF as wQ,nD as $Q,nH as jJ,nP as HQ,oC as wJ,oF as $J,oP as WQ,pF as UJ,pP as R,qI as I,rC as HJ,tG as t,tH as NJ,uC as WJ,uF as zJ,uG as OJ,vD as f,wG as y}from"./chunk-ynfbz3sz.js";import{CP as zQ,EP as u,GP as S}from"./chunk-s2za1y84.js";var IX={};u(IX,{resource:()=>BJ,layer:()=>EQ,enabled:()=>OQ,Observability:()=>WX});var p={};u(p,{make:()=>IQ,layer:()=>ZX});var VQ=AJ.pipe(FJ,DJ((J)=>{if(lJ(J)&&J.reason._tag==="StatusCodeError"&&J.reason.response.status===429){let Q=HJ(J.reason.response.headers["retry-after"]).pipe(WJ(CJ),wJ(()=>5));return t(T(Q))}return t(T(1))})),sJ=E(function*(J){let Q=yield*jJ(),X=f(Q,b),Y=f(Q,UJ),$=fJ(Q),G=KJ(IJ(J.exportInterval),PJ),B=void 0,C=nJ(f(Q,pJ)).pipe(iJ(NJ(rJ,!1)),aJ({schedule:VQ,times:3})),V=vJ({"user-agent":`effect-opentelemetry-${J.label}/0.0.0`});if(J.headers)V=dJ(mJ(J.headers),V);let r=uJ(J.url,{headers:V}),O=[],s=OJ(()=>{if(B!==void 0&&X.currentTimeMillisUnsafe()<B)return y;else if(B!==void 0)B=void 0;let h=O;if(J.maxBatchSize!=="disabled"){if(O.length===0)return y;O=[]}return C.execute(cJ(r,J.body(h))).pipe(EJ,SJ(!1))}).pipe(MJ((h)=>{if(B!==void 0)return y;return B=X.currentTimeMillisUnsafe()+60000,O=[],yJ("Disabling exporter for 60 seconds",h)}),bJ({package:"@effect/opentelemetry",module:J.label}));return yield*zJ(Y,s.pipe(RJ,kJ,VJ(J.shutdownTimeout))),yield*hJ(G).pipe(TJ(s),LJ,xJ(Y)),{push(h){if(B!==void 0)return;if(O.push(h),J.maxBatchSize!=="disabled"&&O.length>=J.maxBatchSize)gJ($(s),Y)}}});var jQ=(J)=>{let Q=J.attributes?e(Object.entries(J.attributes)):[];if(Q.push({key:"service.name",value:{stringValue:J.serviceName}}),J.serviceVersion)Q.push({key:"service.version",value:{stringValue:J.serviceVersion}});return{attributes:Q,droppedAttributesCount:0}},JQ=E(function*(J){let Q={...yield*g(o(eJ(j,j)),"OTEL_RESOURCE_ATTRIBUTES"),...J?.attributes},X=J?.serviceName??Q["service.name"]??(yield*g(j,"OTEL_SERVICE_NAME"));delete Q["service.name"];let Y=J?.serviceVersion??Q["service.version"]??(yield*g(o(j),"OTEL_SERVICE_VERSION"));return delete Q["service.version"],jQ({serviceName:X,serviceVersion:Y,attributes:Q})},oJ),QQ=(J)=>{let Q=J.attributes.find((X)=>X.key==="service.name");if(!Q||!Q.value.stringValue)throw Error("Resource does not contain a service name");return Q.value.stringValue},e=(J)=>{let Q=[];for(let[X,Y]of J)Q.push({key:X,value:m(Y)});return Q},m=(J)=>{if(Array.isArray(J))return{arrayValue:{values:J.map(m)}};switch(typeof J){case"string":return{stringValue:J};case"bigint":return{intValue:Number(J)};case"number":return Number.isInteger(J)?{intValue:J}:{doubleValue:J};case"boolean":return{boolValue:J};default:return{stringValue:tJ(J)}}};var c={};u(c,{layerProtobuf:()=>YX,layerJson:()=>XX,OtlpSerialization:()=>M});var N={Varint:0,Fixed64:1,LengthDelimited:2,Fixed32:5},k=(J,Q)=>J<<3|Q,D=(J)=>{let Q=[],X=typeof J==="bigint"?J:BigInt(J);while(X>0x7fn)Q.push(Number(X&0x7fn)|128),X>>=7n;return Q.push(Number(X)),new Uint8Array(Q)};var kQ=(J)=>{let Q=new Uint8Array(8);return new DataView(Q.buffer).setBigUint64(0,J,!0),Q},LQ=(J)=>{let Q=new Uint8Array(4);return new DataView(Q.buffer).setUint32(0,J,!0),Q},SQ=(J)=>{let Q=new Uint8Array(8);return new DataView(Q.buffer).setFloat64(0,J,!0),Q},xQ=(J)=>new TextEncoder().encode(J),fQ=(J)=>{let Q=new Uint8Array(J.length/2);for(let X=0;X<J.length;X+=2)Q[X/2]=parseInt(J.slice(X,X+2),16);return Q},Z=(...J)=>{let Q=J.reduce(($,G)=>$+G.length,0),X=new Uint8Array(Q),Y=0;for(let $ of J)X.set($,Y),Y+=$.length;return X},q=(J,Q)=>Z(D(k(J,N.Varint)),D(Q));var JJ=(J,Q)=>q(J,Q?1:0),W=(J,Q)=>Z(D(k(J,N.Fixed64)),kQ(Q)),v=(J,Q)=>Z(D(k(J,N.Fixed32)),LQ(Q)),F=(J,Q)=>Z(D(k(J,N.Fixed64)),SQ(Q)),L=(J,Q)=>Z(D(k(J,N.LengthDelimited)),D(Q.length),Q),K=(J,Q)=>L(J,xQ(Q)),U=(J,Q)=>L(J,fQ(Q)),w=(J,Q)=>L(J,Q),_=(J,Q,X)=>Z(...Q.map((Y)=>w(J,X(Y))));var H=(J,Q)=>Q!==void 0&&Q!==""?K(J,Q):new Uint8Array(0);var QJ=(J)=>{if(J.stringValue!==void 0&&J.stringValue!==null)return K(1,J.stringValue);if(J.boolValue!==void 0&&J.boolValue!==null)return JJ(2,J.boolValue);if(J.intValue!==void 0&&J.intValue!==null)return q(3,BigInt(J.intValue));if(J.doubleValue!==void 0&&J.doubleValue!==null)return F(4,J.doubleValue);if(J.arrayValue!==void 0)return w(5,bQ(J.arrayValue));if(J.kvlistValue!==void 0)return w(6,gQ(J.kvlistValue));if(J.bytesValue!==void 0)return L(7,J.bytesValue);return new Uint8Array(0)},bQ=(J)=>_(1,J.values,QJ),gQ=(J)=>_(1,J.values,P),P=(J)=>Z(K(1,J.key),w(2,QJ(J.value))),XJ=(J)=>Z(K(1,J.name),H(2,J.version),J.attributes?_(3,J.attributes,P):new Uint8Array(0),J.droppedAttributesCount?q(4,J.droppedAttributesCount):new Uint8Array(0)),YJ=(J)=>Z(_(1,J.attributes,P),J.droppedAttributesCount>0?q(2,J.droppedAttributesCount):new Uint8Array(0));var mQ=(J)=>Z(H(2,J.message),q(3,J.code)),vQ=(J)=>Z(W(1,BigInt(J.timeUnixNano)),K(2,J.name),_(3,J.attributes,P),J.droppedAttributesCount>0?q(4,J.droppedAttributesCount):new Uint8Array(0)),dQ=(J)=>Z(U(1,J.traceId),U(2,J.spanId),H(3,J.traceState),_(4,J.attributes,P),J.droppedAttributesCount>0?q(5,J.droppedAttributesCount):new Uint8Array(0),J.flags!==void 0?v(6,J.flags):new Uint8Array(0)),lQ=(J)=>Z(U(1,J.traceId),U(2,J.spanId),H(3,J.traceState),J.parentSpanId!==void 0?U(4,J.parentSpanId):new Uint8Array(0),K(5,J.name),q(6,J.kind),W(7,BigInt(J.startTimeUnixNano)),W(8,BigInt(J.endTimeUnixNano)),_(9,J.attributes,P),J.droppedAttributesCount>0?q(10,J.droppedAttributesCount):new Uint8Array(0),_(11,J.events,vQ),J.droppedEventsCount>0?q(12,J.droppedEventsCount):new Uint8Array(0),_(13,J.links,dQ),J.droppedLinksCount>0?q(14,J.droppedLinksCount):new Uint8Array(0),w(15,mQ(J.status)),J.flags!==void 0?v(16,J.flags):new Uint8Array(0)),uQ=(J)=>Z(w(1,XJ(J.scope)),_(2,J.spans,lQ),H(3,J.schemaUrl)),cQ=(J)=>Z(w(1,YJ(J.resource)),_(2,J.scopeSpans,uQ),H(3,J.schemaUrl)),XQ=(J)=>_(1,J.resourceSpans,cQ);var YQ=(J)=>Z(W(2,BigInt(J.startTimeUnixNano)),W(3,BigInt(J.timeUnixNano)),J.asDouble!==void 0?F(4,J.asDouble):new Uint8Array(0),J.asInt!==void 0?W(6,BigInt(J.asInt)):new Uint8Array(0),_(7,J.attributes,P),J.flags!==void 0?q(8,J.flags):new Uint8Array(0)),pQ=(J)=>{let Q=Z(...J.bucketCounts.map((Y)=>W(6,BigInt(Y)))),X=Z(...J.explicitBounds.map((Y)=>F(7,Y)));return Z(W(2,BigInt(J.startTimeUnixNano)),W(3,BigInt(J.timeUnixNano)),W(4,BigInt(J.count)),J.sum!==void 0?F(5,J.sum):new Uint8Array(0),Q,X,_(9,J.attributes,P),J.flags!==void 0?q(10,J.flags):new Uint8Array(0),J.min!==void 0?F(11,J.min):new Uint8Array(0),J.max!==void 0?F(12,J.max):new Uint8Array(0))},iQ=(J)=>_(1,J.dataPoints,YQ),nQ=(J)=>Z(_(1,J.dataPoints,YQ),q(2,J.aggregationTemporality),JJ(3,J.isMonotonic)),aQ=(J)=>Z(_(1,J.dataPoints,pQ),q(2,J.aggregationTemporality)),rQ=(J)=>Z(K(1,J.name),H(2,J.description),H(3,J.unit),J.gauge!==void 0?w(5,iQ(J.gauge)):new Uint8Array(0),J.sum!==void 0?w(7,nQ(J.sum)):new Uint8Array(0),J.histogram!==void 0?w(9,aQ(J.histogram)):new Uint8Array(0)),sQ=(J)=>Z(w(1,XJ(J.scope)),_(2,J.metrics,rQ),H(3,J.schemaUrl)),tQ=(J)=>Z(w(1,YJ(J.resource)),_(2,J.scopeMetrics,sQ),H(3,J.schemaUrl)),ZQ=(J)=>_(1,J.resourceMetrics,tQ);var oQ=(J)=>Z(W(1,BigInt(J.timeUnixNano)),J.severityNumber!==void 0?q(2,J.severityNumber):new Uint8Array(0),H(3,J.severityText),J.body!==void 0?w(5,QJ(J.body)):new Uint8Array(0),_(6,J.attributes,P),J.droppedAttributesCount!==void 0&&J.droppedAttributesCount>0?q(7,J.droppedAttributesCount):new Uint8Array(0),J.flags!==void 0?v(8,J.flags):new Uint8Array(0),J.traceId!==void 0&&J.traceId!==""?U(9,J.traceId):new Uint8Array(0),J.spanId!==void 0&&J.spanId!==""?U(10,J.spanId):new Uint8Array(0),J.observedTimeUnixNano!==void 0?W(11,BigInt(J.observedTimeUnixNano)):new Uint8Array(0)),eQ=(J)=>Z(w(1,XJ(J.scope)),_(2,J.logRecords,oQ),H(3,J.schemaUrl)),JX=(J)=>Z(w(1,YJ(J.resource)),_(2,J.scopeLogs,eQ),H(3,J.schemaUrl)),_Q=(J)=>_(1,J.resourceLogs,JX);class M extends $Q()("effect/observability/OtlpSerialization"){}var XX=ZJ(M,{traces:(J)=>l(J),metrics:(J)=>l(J),logs:(J)=>l(J)}),YX=ZJ(M,{traces:(J)=>d(XQ(J),"application/x-protobuf"),metrics:(J)=>d(ZQ(J),"application/x-protobuf"),logs:(J)=>d(_Q(J),"application/x-protobuf")});var IQ=E(function*(J){let Q=yield*M,X=yield*JQ(J.resource),Y={name:QQ(X)},$=yield*sJ({label:"OtlpLogger",url:J.url,headers:J.headers,maxBatchSize:J.maxBatchSize??1000,exportInterval:J.exportInterval??T(1),body:(B)=>Q.logs({resourceLogs:[{resource:X,scopeLogs:[{scope:Y,logRecords:B}]}]}),shutdownTimeout:J.shutdownTimeout??T(3)}),G={excludeLogSpans:J.excludeLogSpans??!1,clock:yield*b};return HQ((B)=>{$.push(_X(B,G))})}),ZX=(J)=>WQ([IQ(J)],{mergeWithExisting:J.mergeWithExisting??!0}),_X=(J,Q)=>{let Y=Q.clock.currentTimeNanosUnsafe().toString(),$=J.date.getTime(),G=e(Object.entries(J.fiber.getRef(BQ)));if(G.push({key:"fiberId",value:{intValue:J.fiber.id}}),!Q.excludeLogSpans)for(let[V,r]of J.fiber.getRef(wQ))G.push({key:`logSpan.${V}`,value:{stringValue:`${$-r}ms`}});if(J.cause.reasons.length>0)G.push({key:"log.error",value:{stringValue:qQ(J.cause)}});let B=GQ(J.message),C={severityNumber:$X(J.logLevel),severityText:J.logLevel,timeUnixNano:Y,observedTimeUnixNano:Y,attributes:G,body:m(B.length===1?B[0]:B),droppedAttributesCount:0};if(J.fiber.currentSpan)C.traceId=J.fiber.currentSpan.traceId,C.spanId=J.fiber.currentSpan.spanId;return C},$X=(J)=>{switch(J){case"Trace":return A.SEVERITY_NUMBER_TRACE;case"Debug":return A.SEVERITY_NUMBER_DEBUG;case"Info":return A.SEVERITY_NUMBER_INFO;case"Warn":return A.SEVERITY_NUMBER_WARN;case"Error":return A.SEVERITY_NUMBER_ERROR;case"Fatal":return A.SEVERITY_NUMBER_FATAL;default:return A.SEVERITY_NUMBER_UNSPECIFIED}},A={SEVERITY_NUMBER_UNSPECIFIED:0,SEVERITY_NUMBER_TRACE:1,SEVERITY_NUMBER_TRACE2:2,SEVERITY_NUMBER_TRACE3:3,SEVERITY_NUMBER_TRACE4:4,SEVERITY_NUMBER_DEBUG:5,SEVERITY_NUMBER_DEBUG2:6,SEVERITY_NUMBER_DEBUG3:7,SEVERITY_NUMBER_DEBUG4:8,SEVERITY_NUMBER_INFO:9,SEVERITY_NUMBER_INFO2:10,SEVERITY_NUMBER_INFO3:11,SEVERITY_NUMBER_INFO4:12,SEVERITY_NUMBER_WARN:13,SEVERITY_NUMBER_WARN2:14,SEVERITY_NUMBER_WARN3:15,SEVERITY_NUMBER_WARN4:16,SEVERITY_NUMBER_ERROR:17,SEVERITY_NUMBER_ERROR2:18,SEVERITY_NUMBER_ERROR3:19,SEVERITY_NUMBER_ERROR4:20,SEVERITY_NUMBER_FATAL:21,SEVERITY_NUMBER_FATAL2:22,SEVERITY_NUMBER_FATAL3:23,SEVERITY_NUMBER_FATAL4:24};var UQ={};u(UQ,{logger:()=>n,layer:()=>qJ,create:()=>KQ});var GX=(J)=>J==="sessionID"?"session.id":J,PQ=(J)=>Object.fromEntries(Object.entries(J??{}).filter((Q)=>Q[1]!==void 0&&Q[1]!==null).map(([Q,X])=>[GX(Q),X])),qX=(J)=>{if(Array.isArray(J))return J.map((Q)=>String(Q)).join(" ");return J===void 0?"":String(J)},i=(J,Q,X,Y)=>{let $=PQ({...Q,...Y}),G=J(X);return Object.keys($).length?I.annotateLogs(G,$):G},n=R.make((J)=>{let Q=PQ(J.fiber.getRef($J.CurrentLogAnnotations)),X=J.date.getTime();for(let[B,C]of J.fiber.getRef($J.CurrentLogSpans))Q[`logSpan.${B}`]=`${X-C}ms`;if(J.cause.reasons.length>0)Q.cause=_J.pretty(J.cause);let Y=typeof Q.service==="string"?Q.service:void 0;if(Y)delete Q.service;let $=Y?GJ.create({service:Y}):GJ.Default,G=qX(J.message);switch(J.logLevel){case"Trace":case"Debug":return $.debug(G,Q);case"Warn":return $.warn(G,Q);case"Error":case"Fatal":return $.error(G,Q);default:return $.info(G,Q)}}),qJ=R.layer([n],{mergeWithExisting:!1}),KQ=(J={})=>({debug:(Q,X)=>i((Y)=>I.logDebug(Y),J,Q,X),info:(Q,X)=>i((Y)=>I.logInfo(Y),J,Q,X),warn:(Q,X)=>i((Y)=>I.logWarning(Y),J,Q,X),error:(Q,X)=>i((Y)=>I.logError(Y),J,Q,X),with:(Q)=>KQ({...J,...Q})});var a=x.OTEL_EXPORTER_OTLP_ENDPOINT,OQ=!!a,BX=crypto.randomUUID(),TQ=x.OTEL_EXPORTER_OTLP_HEADERS?x.OTEL_EXPORTER_OTLP_HEADERS.split(",").reduce((J,Q)=>{let[X,...Y]=Q.split("=");return J[X]=Y.join("="),J},{}):void 0;function BJ(){let J=FQ("main"),Q=(()=>{let X=process.env.OTEL_RESOURCE_ATTRIBUTES;if(!X)return{};try{return Object.fromEntries(X.split(",").map((Y)=>{let $=Y.indexOf("=");if($<1)throw Error("Invalid OTEL_RESOURCE_ATTRIBUTES entry");return[decodeURIComponent(Y.slice(0,$)),decodeURIComponent(Y.slice($+1))]}))}catch{return{}}})();return{serviceName:"qitqode",serviceVersion:CQ,attributes:{...Q,"deployment.environment.name":DQ,"qitqode.client":x.QITQODE_CLIENT,"qitqode.process_role":J.processRole,"qitqode.run_id":J.runID,"service.instance.id":BX}}}function wX(){return R.layer([n,p.make({url:`${a}/v1/logs`,resource:BJ(),headers:TQ})],{mergeWithExisting:!1}).pipe(z.provide(c.layerJson),z.provide(AQ.layer))}var HX=async()=>{let J=await import("./chunk-nszqy06d.js"),Q=await import("./chunk-3s0d17xe.js"),X=await import("./chunk-c0k8j498.js"),{AsyncLocalStorageContextManager:Y}=await import("./chunk-4920vf6a.js").then((m)=>zQ(m.default,1)),{context:$}=await import("./chunk-w9ct698t.js").then((m)=>zQ(m.default,1)),G=new Y;return G.enable(),$.setGlobalContextManager(G),J.layer(()=>({resource:BJ(),spanProcessor:new X.BatchSpanProcessor(new Q.OTLPTraceExporter({url:`${a}/v1/traces`,headers:TQ}))}))},EQ=!a?qJ:z.unwrap(I.gen(function*(){let J=yield*I.promise(HX);return z.mergeAll(J,wX())})),WX={enabled:OQ,layer:EQ};var aX=z.makeMemoMapUnsafe();
3
+ export{qJ as Nr,UQ as Or,EQ as Pr,WX as Qr,IX as Rr,aX as Sr};
@@ -1,3 +1,3 @@
1
1
  // @bun
2
- import{ze as oe}from"./chunk-3nhqd8wg.js";import{uf as _}from"./chunk-jbd9k041.js";import{CP as ee,yP as m}from"./chunk-hh4c02fh.js";var p=m(_(),1);var K=(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 R=m(oe(),1);var c=m(_(),1);var b=300000,k="To refresh this SSO session run 'aws sso login' with the corresponding profile.";var H=async(e,o={},r)=>{let{SSOOIDCClient:t}=await import("./chunk-c31k8yh0.js"),n=(f)=>o.clientConfig?.[f]??o.parentClientConfig?.[f]??r?.[f];return new t(Object.assign({},o.clientConfig??{},{region:e??o.clientConfig?.region,logger:n("logger"),userAgentAppId:n("userAgentAppId")}))};var U=async(e,o,r={},t)=>{let{CreateTokenCommand:n}=await import("./chunk-c31k8yh0.js");return(await H(o,r,t)).send(new n({clientId:e.clientId,clientSecret:e.clientSecret,refreshToken:e.refreshToken,grantType:"refresh_token"}))};var q=m(_(),1);var C=(e)=>{if(e.expiration&&e.expiration.getTime()<Date.now())throw new q.TokenProviderError(`Token is expired. ${k}`,!1)};var W=m(_(),1);var w=(e,o,r=!1)=>{if(typeof o>"u")throw new W.TokenProviderError(`Value not present for '${e}' in SSO Token${r?". Cannot refresh":""}. ${k}`,!1)};var j=m(_(),1);import{promises as Q}from"fs";var{writeFile:Z}=Q,X=(e,o)=>{let r=j.getSSOTokenFilepath(e),t=JSON.stringify(o,null,2);return Z(r,t)};var z=new Date(0),J=(e={})=>async({callerClientConfig:o}={})=>{e.logger?.debug("@aws-sdk/token-providers - fromSso");let r=await c.parseKnownFiles(e),t=c.getProfileName({profile:e.profile??o?.profile}),n=r[t];if(!n)throw new c.TokenProviderError(`Profile '${t}' could not be found in shared credentials file.`,!1);else if(!n.sso_session)throw new c.TokenProviderError(`Profile '${t}' is missing required property 'sso_session'.`);let a=n.sso_session,S=(await c.loadSsoSessionData(e))[a];if(!S)throw new c.TokenProviderError(`Sso session '${a}' could not be found in shared credentials file.`,!1);for(let i of["sso_start_url","sso_region"])if(!S[i])throw new c.TokenProviderError(`Sso session '${a}' is missing required property '${i}'.`,!1);let{sso_start_url:g,sso_region:O}=S,s;try{s=await c.getSSOTokenFromFile(a)}catch(i){throw new c.TokenProviderError(`The SSO session token associated with profile=${t} was not found or is invalid. ${k}`,!1)}w("accessToken",s.accessToken),w("expiresAt",s.expiresAt);let{accessToken:x,expiresAt:T}=s,l={token:x,expiration:new Date(T)};if(l.expiration.getTime()-Date.now()>b)return l;if(Date.now()-z.getTime()<30000)return C(l),l;w("clientId",s.clientId,!0),w("clientSecret",s.clientSecret,!0),w("refreshToken",s.refreshToken,!0);try{z.setTime(Date.now());let i=await U(s,O,e,o);w("accessToken",i.accessToken),w("expiresIn",i.expiresIn);let y=new Date(Date.now()+i.expiresIn*1000);try{await X(a,{...s,accessToken:i.accessToken,expiresAt:y.toISOString(),refreshToken:i.refreshToken})}catch(I){}return{token:i.accessToken,expiration:y}}catch(i){return C(l),l}};var d=m(_(),1),E=!1,v=async({ssoStartUrl:e,ssoSession:o,ssoAccountId:r,ssoRegion:t,ssoRoleName:n,ssoClient:a,clientConfig:f,parentClientConfig:S,callerClientConfig:g,profile:O,filepath:s,configFilepath:x,ignoreCache:T,logger:l})=>{let i,y="To refresh this SSO session run aws sso login with the corresponding profile.";if(o)try{let h=await J({profile:O,filepath:s,configFilepath:x,ignoreCache:T})();i={accessToken:h.token,expiresAt:new Date(h.expiration).toISOString()}}catch(h){throw new d.CredentialsProviderError(h.message,{tryNextLink:E,logger:l})}else try{i=await d.getSSOTokenFromFile(e)}catch(h){throw new d.CredentialsProviderError("The SSO session associated with this profile is invalid. To refresh this SSO session run aws sso login with the corresponding profile.",{tryNextLink:E,logger:l})}if(new Date(i.expiresAt).getTime()-Date.now()<=0)throw new d.CredentialsProviderError("The SSO session associated with this profile has expired. To refresh this SSO session run aws sso login with the corresponding profile.",{tryNextLink:E,logger:l});let{accessToken:I}=i,{SSOClient:u,GetRoleCredentialsCommand:A}=await import("./chunk-2eardzxs.js"),B=a||new u(Object.assign({},f??{},{logger:f?.logger??g?.logger??S?.logger,region:f?.region??t,userAgentAppId:f?.userAgentAppId??g?.userAgentAppId??S?.userAgentAppId})),F;try{F=await B.send(new A({accountId:r,roleName:n,accessToken:I}))}catch(h){throw new d.CredentialsProviderError(h,{tryNextLink:E,logger:l})}let{roleCredentials:{accessKeyId:P,secretAccessKey:D,sessionToken:$,expiration:L,credentialScope:M,accountId:G}={}}=F;if(!P||!D||!$||!L)throw new d.CredentialsProviderError("SSO returns an invalid temporary credential.",{tryNextLink:E,logger:l});let N={accessKeyId:P,secretAccessKey:D,sessionToken:$,expiration:new Date(L),...M&&{credentialScope:M},...G&&{accountId:G}};if(o)R.setCredentialFeature(N,"CREDENTIALS_SSO","s");else R.setCredentialFeature(N,"CREDENTIALS_SSO_LEGACY","u");return N};var V=m(_(),1),Y=(e,o)=>{let{sso_start_url:r,sso_account_id:t,sso_region:n,sso_role_name:a}=e;if(!r||!t||!n||!a)throw new V.CredentialsProviderError(`Profile is configured with invalid SSO credentials. Required parameters "sso_account_id", "sso_region", "sso_role_name", "sso_start_url". Got ${Object.keys(e).join(", ")}
3
- Reference: https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-sso.html`,{tryNextLink:!1,logger:o});return e};var Oe=(e={})=>async({callerClientConfig:o}={})=>{e.logger?.debug("@aws-sdk/credential-provider-sso - fromSSO");let{ssoStartUrl:r,ssoAccountId:t,ssoRegion:n,ssoRoleName:a,ssoSession:f}=e,{ssoClient:S}=e,g=p.getProfileName({profile:e.profile??o?.profile});if(!r&&!t&&!n&&!a&&!f){let s=(await p.parseKnownFiles(e))[g];if(!s)throw new p.CredentialsProviderError(`Profile ${g} was not found.`,{logger:e.logger});if(!K(s))throw new p.CredentialsProviderError(`Profile ${g} is not configured with SSO credentials.`,{logger:e.logger});if(s?.sso_session){let u=(await p.loadSsoSessionData(e))[s.sso_session],A=` configurations in profile ${g} and sso-session ${s.sso_session}`;if(n&&n!==u.sso_region)throw new p.CredentialsProviderError("Conflicting SSO region"+A,{tryNextLink:!1,logger:e.logger});if(r&&r!==u.sso_start_url)throw new p.CredentialsProviderError("Conflicting SSO start_url"+A,{tryNextLink:!1,logger:e.logger});s.sso_region=u.sso_region,s.sso_start_url=u.sso_start_url}let{sso_start_url:x,sso_account_id:T,sso_region:l,sso_role_name:i,sso_session:y}=Y(s,e.logger);return v({ssoStartUrl:x,ssoSession:y,ssoAccountId:T,ssoRegion:l,ssoRoleName:i,ssoClient:S,clientConfig:e.clientConfig,parentClientConfig:e.parentClientConfig,callerClientConfig:e.callerClientConfig,profile:g,filepath:e.filepath,configFilepath:e.configFilepath,ignoreCache:e.ignoreCache,logger:e.logger})}else if(!r||!t||!n||!a)throw new p.CredentialsProviderError('Incomplete configuration. The fromSSO() argument hash must include "ssoStartUrl", "ssoAccountId", "ssoRegion", "ssoRoleName"',{tryNextLink:!1,logger:e.logger});else return v({ssoStartUrl:r,ssoSession:f,ssoAccountId:t,ssoRegion:n,ssoRoleName:a,ssoClient:S,clientConfig:e.clientConfig,parentClientConfig:e.parentClientConfig,callerClientConfig:e.callerClientConfig,profile:g,filepath:e.filepath,configFilepath:e.configFilepath,ignoreCache:e.ignoreCache,logger:e.logger})};export{K as Qd,Y as Rd,Oe as Sd};
2
+ import{Ae as oe}from"./chunk-z4ae6jmb.js";import{vf as _}from"./chunk-5ymj2q6j.js";import{CP as m,GP as ee}from"./chunk-s2za1y84.js";var p=m(_(),1);var K=(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 R=m(oe(),1);var c=m(_(),1);var b=300000,k="To refresh this SSO session run 'aws sso login' with the corresponding profile.";var H=async(e,o={},r)=>{let{SSOOIDCClient:t}=await import("./chunk-xc3fadkh.js"),n=(f)=>o.clientConfig?.[f]??o.parentClientConfig?.[f]??r?.[f];return new t(Object.assign({},o.clientConfig??{},{region:e??o.clientConfig?.region,logger:n("logger"),userAgentAppId:n("userAgentAppId")}))};var U=async(e,o,r={},t)=>{let{CreateTokenCommand:n}=await import("./chunk-xc3fadkh.js");return(await H(o,r,t)).send(new n({clientId:e.clientId,clientSecret:e.clientSecret,refreshToken:e.refreshToken,grantType:"refresh_token"}))};var q=m(_(),1);var C=(e)=>{if(e.expiration&&e.expiration.getTime()<Date.now())throw new q.TokenProviderError(`Token is expired. ${k}`,!1)};var W=m(_(),1);var w=(e,o,r=!1)=>{if(typeof o>"u")throw new W.TokenProviderError(`Value not present for '${e}' in SSO Token${r?". Cannot refresh":""}. ${k}`,!1)};var j=m(_(),1);import{promises as Q}from"fs";var{writeFile:Z}=Q,X=(e,o)=>{let r=j.getSSOTokenFilepath(e),t=JSON.stringify(o,null,2);return Z(r,t)};var z=new Date(0),J=(e={})=>async({callerClientConfig:o}={})=>{e.logger?.debug("@aws-sdk/token-providers - fromSso");let r=await c.parseKnownFiles(e),t=c.getProfileName({profile:e.profile??o?.profile}),n=r[t];if(!n)throw new c.TokenProviderError(`Profile '${t}' could not be found in shared credentials file.`,!1);else if(!n.sso_session)throw new c.TokenProviderError(`Profile '${t}' is missing required property 'sso_session'.`);let a=n.sso_session,S=(await c.loadSsoSessionData(e))[a];if(!S)throw new c.TokenProviderError(`Sso session '${a}' could not be found in shared credentials file.`,!1);for(let i of["sso_start_url","sso_region"])if(!S[i])throw new c.TokenProviderError(`Sso session '${a}' is missing required property '${i}'.`,!1);let{sso_start_url:g,sso_region:O}=S,s;try{s=await c.getSSOTokenFromFile(a)}catch(i){throw new c.TokenProviderError(`The SSO session token associated with profile=${t} was not found or is invalid. ${k}`,!1)}w("accessToken",s.accessToken),w("expiresAt",s.expiresAt);let{accessToken:x,expiresAt:T}=s,l={token:x,expiration:new Date(T)};if(l.expiration.getTime()-Date.now()>b)return l;if(Date.now()-z.getTime()<30000)return C(l),l;w("clientId",s.clientId,!0),w("clientSecret",s.clientSecret,!0),w("refreshToken",s.refreshToken,!0);try{z.setTime(Date.now());let i=await U(s,O,e,o);w("accessToken",i.accessToken),w("expiresIn",i.expiresIn);let y=new Date(Date.now()+i.expiresIn*1000);try{await X(a,{...s,accessToken:i.accessToken,expiresAt:y.toISOString(),refreshToken:i.refreshToken})}catch(I){}return{token:i.accessToken,expiration:y}}catch(i){return C(l),l}};var d=m(_(),1),E=!1,v=async({ssoStartUrl:e,ssoSession:o,ssoAccountId:r,ssoRegion:t,ssoRoleName:n,ssoClient:a,clientConfig:f,parentClientConfig:S,callerClientConfig:g,profile:O,filepath:s,configFilepath:x,ignoreCache:T,logger:l})=>{let i,y="To refresh this SSO session run aws sso login with the corresponding profile.";if(o)try{let h=await J({profile:O,filepath:s,configFilepath:x,ignoreCache:T})();i={accessToken:h.token,expiresAt:new Date(h.expiration).toISOString()}}catch(h){throw new d.CredentialsProviderError(h.message,{tryNextLink:E,logger:l})}else try{i=await d.getSSOTokenFromFile(e)}catch(h){throw new d.CredentialsProviderError("The SSO session associated with this profile is invalid. To refresh this SSO session run aws sso login with the corresponding profile.",{tryNextLink:E,logger:l})}if(new Date(i.expiresAt).getTime()-Date.now()<=0)throw new d.CredentialsProviderError("The SSO session associated with this profile has expired. To refresh this SSO session run aws sso login with the corresponding profile.",{tryNextLink:E,logger:l});let{accessToken:I}=i,{SSOClient:u,GetRoleCredentialsCommand:A}=await import("./chunk-g6dgc5af.js"),B=a||new u(Object.assign({},f??{},{logger:f?.logger??g?.logger??S?.logger,region:f?.region??t,userAgentAppId:f?.userAgentAppId??g?.userAgentAppId??S?.userAgentAppId})),F;try{F=await B.send(new A({accountId:r,roleName:n,accessToken:I}))}catch(h){throw new d.CredentialsProviderError(h,{tryNextLink:E,logger:l})}let{roleCredentials:{accessKeyId:P,secretAccessKey:D,sessionToken:$,expiration:L,credentialScope:M,accountId:G}={}}=F;if(!P||!D||!$||!L)throw new d.CredentialsProviderError("SSO returns an invalid temporary credential.",{tryNextLink:E,logger:l});let N={accessKeyId:P,secretAccessKey:D,sessionToken:$,expiration:new Date(L),...M&&{credentialScope:M},...G&&{accountId:G}};if(o)R.setCredentialFeature(N,"CREDENTIALS_SSO","s");else R.setCredentialFeature(N,"CREDENTIALS_SSO_LEGACY","u");return N};var V=m(_(),1),Y=(e,o)=>{let{sso_start_url:r,sso_account_id:t,sso_region:n,sso_role_name:a}=e;if(!r||!t||!n||!a)throw new V.CredentialsProviderError(`Profile is configured with invalid SSO credentials. Required parameters "sso_account_id", "sso_region", "sso_role_name", "sso_start_url". Got ${Object.keys(e).join(", ")}
3
+ Reference: https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-sso.html`,{tryNextLink:!1,logger:o});return e};var Oe=(e={})=>async({callerClientConfig:o}={})=>{e.logger?.debug("@aws-sdk/credential-provider-sso - fromSSO");let{ssoStartUrl:r,ssoAccountId:t,ssoRegion:n,ssoRoleName:a,ssoSession:f}=e,{ssoClient:S}=e,g=p.getProfileName({profile:e.profile??o?.profile});if(!r&&!t&&!n&&!a&&!f){let s=(await p.parseKnownFiles(e))[g];if(!s)throw new p.CredentialsProviderError(`Profile ${g} was not found.`,{logger:e.logger});if(!K(s))throw new p.CredentialsProviderError(`Profile ${g} is not configured with SSO credentials.`,{logger:e.logger});if(s?.sso_session){let u=(await p.loadSsoSessionData(e))[s.sso_session],A=` configurations in profile ${g} and sso-session ${s.sso_session}`;if(n&&n!==u.sso_region)throw new p.CredentialsProviderError("Conflicting SSO region"+A,{tryNextLink:!1,logger:e.logger});if(r&&r!==u.sso_start_url)throw new p.CredentialsProviderError("Conflicting SSO start_url"+A,{tryNextLink:!1,logger:e.logger});s.sso_region=u.sso_region,s.sso_start_url=u.sso_start_url}let{sso_start_url:x,sso_account_id:T,sso_region:l,sso_role_name:i,sso_session:y}=Y(s,e.logger);return v({ssoStartUrl:x,ssoSession:y,ssoAccountId:T,ssoRegion:l,ssoRoleName:i,ssoClient:S,clientConfig:e.clientConfig,parentClientConfig:e.parentClientConfig,callerClientConfig:e.callerClientConfig,profile:g,filepath:e.filepath,configFilepath:e.configFilepath,ignoreCache:e.ignoreCache,logger:e.logger})}else if(!r||!t||!n||!a)throw new p.CredentialsProviderError('Incomplete configuration. The fromSSO() argument hash must include "ssoStartUrl", "ssoAccountId", "ssoRegion", "ssoRoleName"',{tryNextLink:!1,logger:e.logger});else return v({ssoStartUrl:r,ssoSession:f,ssoAccountId:t,ssoRegion:n,ssoRoleName:a,ssoClient:S,clientConfig:e.clientConfig,parentClientConfig:e.parentClientConfig,callerClientConfig:e.callerClientConfig,profile:g,filepath:e.filepath,configFilepath:e.configFilepath,ignoreCache:e.ignoreCache,logger:e.logger})};export{K as Rd,Y as Sd,Oe as Td};
@@ -0,0 +1,2 @@
1
+ // @bun
2
+ import"./chunk-s2za1y84.js";var q="./tree-sitter-powershell-ryb2ffqs.wasm";export{q as default};
@@ -1,5 +1,5 @@
1
1
  // @bun
2
- import{$j as f,Hj as s,Mj as e,Nj as j,Oj as v,_j as u}from"./chunk-7mhffm9f.js";import{Dl as D,Hl as b,Il as a,Jl as t,ul as r,vl as C,wl as k,xl as m}from"./chunk-0z3z0gk1.js";import{an as x,bn as q,dn as n,en as o,gn as K,in as c,pn as i}from"./chunk-m8djypsy.js";import{pt as O_,zt as Q_}from"./chunk-zk8n8hnh.js";import{Ot as d,Tt as g}from"./chunk-1jh5p5qw.js";import{AP as S_}from"./chunk-hh4c02fh.js";var l={};S_(l,{run:()=>h_,encodeDir:()=>k_,ClaudeImport:()=>l});import E_ from"path";import W_ from"path";import{access as X_,readFile as Y_}from"fs/promises";var G=n("external_import",{source:q().$type().notNull(),source_key:q().notNull(),session_id:q().$type().notNull(),source_path:q().notNull(),source_mtime:x().notNull(),time_imported:x().notNull(),message_ids:q({mode:"json"}).$type()},(N)=>[o({columns:[N.source,N.source_key]})]);function Z_(){return{scanned:0,imported:0,resynced:0,skipped:0,errors:[]}}async function L_(N){if(!N||!await g.exists(N))return{id:b.global,worktree:N||"/",vcs:null};if(!await a(N))return{id:b.global,worktree:N,vcs:null};return{id:await t(N),worktree:N,vcs:"git"}}function __(N){return N.split(`
2
+ import{$j as u,Ij as s,Nj as e,Oj as j,Pj as v,ak as f}from"./chunk-njzpswgt.js";import{El as D,Il as b,Jl as a,Kl as t,vl as r,wl as C,xl as k,yl as m}from"./chunk-ygwe0vf1.js";import{bn as x,cn as q,en as n,fn as o,hn as K,jn as c,qn as i}from"./chunk-3rgct4bd.js";import{$t as Q_,Rt as O_}from"./chunk-08y06vgt.js";import{ou as d,tu as g}from"./chunk-9p83me3p.js";import{EP as S_}from"./chunk-s2za1y84.js";var l={};S_(l,{run:()=>h_,encodeDir:()=>k_,ClaudeImport:()=>l});import E_ from"path";import W_ from"path";import{access as X_,readFile as Y_}from"fs/promises";var G=n("external_import",{source:q().$type().notNull(),source_key:q().notNull(),session_id:q().$type().notNull(),source_path:q().notNull(),source_mtime:x().notNull(),time_imported:x().notNull(),message_ids:q({mode:"json"}).$type()},(N)=>[o({columns:[N.source,N.source_key]})]);function Z_(){return{scanned:0,imported:0,resynced:0,skipped:0,errors:[]}}async function L_(N){if(!N||!await g.exists(N))return{id:b.global,worktree:N||"/",vcs:null};if(!await a(N))return{id:b.global,worktree:N,vcs:null};return{id:await t(N),worktree:N,vcs:"git"}}function __(N){return N.split(`
3
3
  `).map((_)=>_.trim()).filter(Boolean).flatMap((_)=>{try{return[JSON.parse(_)]}catch{return[]}})}function N_(N){let _=N.find((H)=>H.trim()&&!H.trim().startsWith("<"));if(!_)return;return _.trim().replace(/\s+/g," ").slice(0,100)}function R_(N,_){return D.use((H)=>H.select().from(G).where(c(K(G.source,N),K(G.source_key,_))).get())}function G_(N,_){if(!_)return{existing:void 0,existingUpdated:void 0};let H=_,O=D.use((Z)=>Z.select({updated:C.time_updated}).from(C).where(K(C.id,H.session_id)).get());if(!O)return D.use((Z)=>Z.delete(G).where(c(K(G.source,N),K(G.source_key,H.source_key))).run()),{existing:void 0,existingUpdated:void 0};return{existing:_,existingUpdated:O.updated}}function J_(N,_,H,O){N.insert(r).values({id:_.id,worktree:_.worktree,vcs:_.vcs,sandboxes:[],time_created:H,time_updated:O}).onConflictDoNothing().run()}function K_(N,_,H){if(_.message_ids?.length)for(let O=0;O<_.message_ids.length;O+=500)N.delete(k).where(i(k.id,_.message_ids.slice(O,O+500))).run();else N.delete(k).where(K(k.session_id,H)).run()}function A_(N,_,H){N.update(C).set({project_id:H.projectId,directory:H.directory,version:H.version,time_updated:Math.max(H.existingUpdated??0,H.timeUpdated)}).where(K(C.id,_)).run()}function $_(N){return async(_)=>F_({...N,force:_?.force})}async function F_(N){let _=Z_();if(!await X_(N.root).then(()=>!0).catch(()=>!1))return _;let H=await d.scan(N.pattern,{cwd:N.root,absolute:!0});for(let O of H){_.scanned++;try{let Z=W_.basename(O,".jsonl"),A=await g.statAsync(O);if(!A){_.skipped++;continue}let F=Math.floor(Number(A.mtimeMs)),Y=R_(N.source,Z);if(Y&&Y.source_mtime===F&&!N.force){_.skipped++;continue}let S=G_(N.source,Y);Y=S.existing;let T=S.existingUpdated,Q=Y?Y.session_id:e.descending(),V=N.parse(await Y_(O,"utf-8"),Q);if(!V||V.messages.length===0){_.skipped++;continue}let E=await L_(V.cwd),U=Date.now(),X=V.messages.map(($)=>$.info.id);if(D.transaction(($)=>{if(J_($,E,V.timeCreated,V.timeUpdated),Y)K_($,Y,Q),A_($,Q,{projectId:E.id,directory:V.cwd,version:V.version,existingUpdated:T,timeUpdated:V.timeUpdated});else $.insert(C).values({id:Q,project_id:E.id,slug:s.create(),directory:V.cwd,title:V.title,version:V.version,time_created:V.timeCreated,time_updated:V.timeUpdated}).run();for(let L of V.messages){let{id:B,sessionID:I,agentID:w,...z}=L.info;$.insert(k).values({id:B,session_id:Q,agent_id:"main",time_created:L.info.time.created,data:z}).onConflictDoUpdate({target:k.id,set:{data:z}}).run();for(let J of L.parts){let{id:y,sessionID:p,messageID:P,...h}=J.part;$.insert(m).values({id:y,message_id:L.info.id,session_id:Q,time_created:J.time,data:h}).onConflictDoUpdate({target:m.id,set:{data:h}}).run()}}$.insert(G).values({source:N.source,source_key:Z,session_id:Q,source_path:O,source_mtime:F,time_imported:U,message_ids:X}).onConflictDoUpdate({target:[G.source,G.source_key],set:{session_id:Q,source_path:O,source_mtime:F,time_imported:U,message_ids:X}}).run()}),Y)_.resynced++;else _.imported++}catch(Z){_.errors.push(`${O}: ${Z}`)}}if(_.imported+_.resynced>0||_.errors.length>0)N.log.info(N.logMessage,{..._,errors:_.errors.length});return _}var B_=Q_.create({service:"claude-import"});function k_(N){return N.replace(/[^a-zA-Z0-9]/g,"-")}function z_(N){if(!N)return{providerID:u.anthropic,modelID:f.make("unknown")};let _=N.indexOf("/");if(_===-1)return{providerID:u.anthropic,modelID:f.make(N)};return{providerID:u.make(N.slice(0,_)),modelID:f.make(N.slice(_+1))}}function H_(N){let _=N??{};return{input:_.input_tokens??0,output:_.output_tokens??0,reasoning:0,cache:{read:_.cache_read_input_tokens??0,write:_.cache_creation_input_tokens??0}}}function C_(N){if(typeof N==="string")return N;if(Array.isArray(N))return N.map((_)=>_&&typeof _==="object"&&("type"in _)&&_.type==="text"?_.text:JSON.stringify(_)).join(`
4
4
  `);return N==null?"":JSON.stringify(N)}function U_(N,_){let H=__(N);if(H.length===0)return;let O,Z,A,F=0,Y,S=[],T=new Map,Q=null,V=null,E=z_(void 0),U=()=>{if(Q)S.push(Q);Q=null};for(let X of H){if(X.type!=="user"&&X.type!=="assistant")continue;let $=X.timestamp?Date.parse(X.timestamp):Date.now();if(!O&&X.cwd)O=X.cwd;if(!Z&&X.version)Z=X.version;if(A===void 0)A=$;F=Math.max(F,$);let L=X.message;if(!L)continue;if(X.type==="user"){let z=L.content,J=typeof z==="string"?[]:Array.isArray(z)?z:[];for(let W of J.filter((R)=>R?.type==="tool_result")){let R=T.get(W.tool_use_id);if(!R)continue;let M=C_(W.content);R.part.state=W.is_error?{status:"error",input:R.part.state.input??{},error:M,time:{start:R.start,end:$}}:{status:"completed",input:R.part.state.input??{},output:M,title:R.part.tool,metadata:{},time:{start:R.start,end:$}}}let y=typeof z==="string"?z.trim()?[z]:[]:J.filter((W)=>W?.type==="text"&&typeof W.text==="string"&&W.text.trim()).map((W)=>W.text),p=J.filter((W)=>W?.type==="image"&&W.source);if(y.length===0&&p.length===0)continue;U();let P=j.ascending(),h=[];for(let W of y)h.push({part:{id:v.ascending(),sessionID:_,messageID:P,type:"text",text:W},time:$});for(let W of p){let R=W.source.media_type??"image/png",M=W.source.type==="base64"?`data:${R};base64,${W.source.data}`:W.source.url??"";if(M)h.push({part:{id:v.ascending(),sessionID:_,messageID:P,type:"file",mime:R,url:M},time:$})}let V_={id:P,sessionID:_,role:"user",agent:"main",time:{created:$},model:{providerID:E.providerID,modelID:E.modelID}};if(S.push({info:V_,parts:h}),V=P,!Y)Y=N_(y);continue}let B=z_(L.model);if(E=B,!V){let z=j.ascending();S.push({info:{id:z,sessionID:_,role:"user",agent:"main",time:{created:$},model:{providerID:B.providerID,modelID:B.modelID}},parts:[]}),V=z}if(!Q||Q.info.role!=="assistant"||Q.info.parentID!==V)U(),Q={info:{id:j.ascending(),sessionID:_,role:"assistant",time:{created:$,completed:$},parentID:V,modelID:B.modelID,providerID:B.providerID,mode:"build",agent:"main",path:{cwd:O??X.cwd??"",root:O??X.cwd??""},cost:0,tokens:H_(L.usage)},parts:[]};let I=Q.info;I.time.completed=$,I.tokens=H_(L.usage);let w=Q.info.id;for(let z of Array.isArray(L.content)?L.content:[])if(z?.type==="thinking"||z?.type==="reasoning")Q.parts.push({part:{id:v.ascending(),sessionID:_,messageID:w,type:"reasoning",text:z.thinking??z.text??"",time:{start:$,end:$}},time:$});else if(z?.type==="text"&&typeof z.text==="string")Q.parts.push({part:{id:v.ascending(),sessionID:_,messageID:w,type:"text",text:z.text},time:$});else if(z?.type==="tool_use"){let J={id:v.ascending(),sessionID:_,messageID:w,type:"tool",callID:z.id,tool:z.name,state:{status:"pending",input:z.input??{},raw:JSON.stringify(z.input??{})}};Q.parts.push({part:J,time:$}),T.set(z.id,{part:J,start:$})}}return U(),{cwd:O??"",version:Z??"claude-code",title:Y??"Claude Code session",timeCreated:A??Date.now(),timeUpdated:F||A||Date.now(),messages:S}}var h_=$_({source:"cc",root:E_.join(O_.Path.home,".claude","projects"),pattern:"*/*.jsonl",log:B_,logMessage:"claude import",parse:U_});
5
- export{G as $f,Z_ as ag,L_ as bg,__ as cg,N_ as dg,R_ as eg,G_ as fg,J_ as gg,K_ as hg,A_ as ig,$_ as jg,k_ as kg,h_ as lg,l as mg};
5
+ export{G as ag,Z_ as bg,L_ as cg,__ as dg,N_ as eg,R_ as fg,G_ as gg,J_ as hg,K_ as ig,A_ as jg,$_ as kg,k_ as lg,h_ as mg,l as ng};
@@ -0,0 +1,2 @@
1
+ // @bun
2
+ import{Xd as a}from"./chunk-8bzwgcjb.js";import"./chunk-z4ae6jmb.js";import"./chunk-xak2r993.js";import"./chunk-5ymj2q6j.js";import"./chunk-s2za1y84.js";export{a as fromIni};
@@ -0,0 +1,2 @@
1
+ // @bun
2
+ import"./chunk-s2za1y84.js";var t=Object.fromEntries([]);export{t as modules};
@@ -0,0 +1,2 @@
1
+ // @bun
2
+ import{GP as t}from"./chunk-s2za1y84.js";var e=await import("./chunk-v1xwe58d.js",{with:{type:"file"}}),a=e.default;export{a as default};
@@ -1,2 +1,2 @@
1
1
  // @bun
2
- import{ze as K}from"./chunk-3nhqd8wg.js";import{uf as A}from"./chunk-jbd9k041.js";import{yP as w}from"./chunk-hh4c02fh.js";var i=w(A(),1);var t=w(A(),1);import{exec as T}from"child_process";import{promisify as y}from"util";var x=w(K(),1),_=(c,n,e)=>{if(n.Version!==1)throw Error(`Profile ${c} credential_process did not return Version 1.`);if(n.AccessKeyId===void 0||n.SecretAccessKey===void 0)throw Error(`Profile ${c} credential_process returned invalid credentials.`);if(n.Expiration){let u=new Date;if(new Date(n.Expiration)<u)throw Error(`Profile ${c} credential_process returned expired credentials.`)}let s=n.AccountId;if(!s&&e?.[c]?.aws_account_id)s=e[c].aws_account_id;let o={accessKeyId:n.AccessKeyId,secretAccessKey:n.SecretAccessKey,...n.SessionToken&&{sessionToken:n.SessionToken},...n.Expiration&&{expiration:new Date(n.Expiration)},...n.CredentialScope&&{credentialScope:n.CredentialScope},...s&&{accountId:s}};return x.setCredentialFeature(o,"CREDENTIALS_PROCESS","w"),o};var E=async(c,n,e)=>{let s=n[c];if(n[c]){let o=s.credential_process;if(o!==void 0){let u=y(t.externalDataInterceptor?.getTokenRecord?.().exec??T);try{let{stdout:r}=await u(o),S;try{S=JSON.parse(r.trim())}catch{throw Error(`Profile ${c} credential_process returned invalid JSON.`)}return _(c,S,n)}catch(r){throw new t.CredentialsProviderError(r.message,{logger:e})}}else throw new t.CredentialsProviderError(`Profile ${c} did not contain credential_process.`,{logger:e})}else throw new t.CredentialsProviderError(`Profile ${c} could not be found in shared credentials file.`,{logger:e})};var C=(c={})=>async({callerClientConfig:n}={})=>{c.logger?.debug("@aws-sdk/credential-provider-process - fromProcess");let e=await i.parseKnownFiles(c);return E(i.getProfileName({profile:c.profile??n?.profile}),e,c.logger)};export{C as qe};
2
+ import{Ae as K}from"./chunk-z4ae6jmb.js";import{vf as A}from"./chunk-5ymj2q6j.js";import{CP as w}from"./chunk-s2za1y84.js";var i=w(A(),1);var t=w(A(),1);import{exec as T}from"child_process";import{promisify as y}from"util";var x=w(K(),1),_=(c,n,e)=>{if(n.Version!==1)throw Error(`Profile ${c} credential_process did not return Version 1.`);if(n.AccessKeyId===void 0||n.SecretAccessKey===void 0)throw Error(`Profile ${c} credential_process returned invalid credentials.`);if(n.Expiration){let u=new Date;if(new Date(n.Expiration)<u)throw Error(`Profile ${c} credential_process returned expired credentials.`)}let s=n.AccountId;if(!s&&e?.[c]?.aws_account_id)s=e[c].aws_account_id;let o={accessKeyId:n.AccessKeyId,secretAccessKey:n.SecretAccessKey,...n.SessionToken&&{sessionToken:n.SessionToken},...n.Expiration&&{expiration:new Date(n.Expiration)},...n.CredentialScope&&{credentialScope:n.CredentialScope},...s&&{accountId:s}};return x.setCredentialFeature(o,"CREDENTIALS_PROCESS","w"),o};var E=async(c,n,e)=>{let s=n[c];if(n[c]){let o=s.credential_process;if(o!==void 0){let u=y(t.externalDataInterceptor?.getTokenRecord?.().exec??T);try{let{stdout:r}=await u(o),S;try{S=JSON.parse(r.trim())}catch{throw Error(`Profile ${c} credential_process returned invalid JSON.`)}return _(c,S,n)}catch(r){throw new t.CredentialsProviderError(r.message,{logger:e})}}else throw new t.CredentialsProviderError(`Profile ${c} did not contain credential_process.`,{logger:e})}else throw new t.CredentialsProviderError(`Profile ${c} could not be found in shared credentials file.`,{logger:e})};var C=(c={})=>async({callerClientConfig:n}={})=>{c.logger?.debug("@aws-sdk/credential-provider-process - fromProcess");let e=await i.parseKnownFiles(c);return E(i.getProfileName({profile:c.profile??n?.profile}),e,c.logger)};export{C as re};
@@ -1,5 +1,5 @@
1
1
  // @bun
2
- import"./chunk-hh4c02fh.js";var{create:Hn,defineProperty:rt,getOwnPropertyDescriptor:Gn,getOwnPropertyNames:Zn,getPrototypeOf:Xn}=Object,zn=Object.prototype.hasOwnProperty,Vt=(t)=>{throw TypeError(t)},er=(t,e,n)=>(e in t)?rt(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,Le=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),Qt=(t,e)=>{for(var n in e)rt(t,n,{get:e[n],enumerable:!0})},tr=(t,e,n,u)=>{if(e&&typeof e=="object"||typeof e=="function")for(let g of Zn(e))!zn.call(t,g)&&g!==n&&rt(t,g,{get:()=>e[g],enumerable:!(u=Gn(e,g))||u.enumerable});return t},bt=(t,e,n)=>(n=t!=null?Hn(Xn(t)):{},tr(e||!t||!t.__esModule?rt(n,"default",{value:t,enumerable:!0}):n,t)),Rt=(t,e,n)=>er(t,typeof e!="symbol"?e+"":e,n),wt=(t,e,n)=>e.has(t)||Vt("Cannot "+n),Ue=(t,e,n)=>(wt(t,e,"read from private field"),n?n.call(t):e.get(t)),lt=(t,e,n)=>e.has(t)?Vt("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(t):e.set(t,n),Jt=(t,e,n,u)=>(wt(t,e,"write to private field"),u?u.call(t,n):e.set(t,n),n),Xe=(t,e,n)=>(wt(t,e,"access private method"),n),Ce=Le((t)=>{var e={ANCHOR:"&",COMMENT:"#",TAG:"!",DIRECTIVES_END:"-",DOCUMENT_END:"."},n={ALIAS:"ALIAS",BLANK_LINE:"BLANK_LINE",BLOCK_FOLDED:"BLOCK_FOLDED",BLOCK_LITERAL:"BLOCK_LITERAL",COMMENT:"COMMENT",DIRECTIVE:"DIRECTIVE",DOCUMENT:"DOCUMENT",FLOW_MAP:"FLOW_MAP",FLOW_SEQ:"FLOW_SEQ",MAP:"MAP",MAP_KEY:"MAP_KEY",MAP_VALUE:"MAP_VALUE",PLAIN:"PLAIN",QUOTE_DOUBLE:"QUOTE_DOUBLE",QUOTE_SINGLE:"QUOTE_SINGLE",SEQ:"SEQ",SEQ_ITEM:"SEQ_ITEM"},u="tag:yaml.org,2002:",g={MAP:"tag:yaml.org,2002:map",SEQ:"tag:yaml.org,2002:seq",STR:"tag:yaml.org,2002:str"};function E(l){let i=[0],r=l.indexOf(`
2
+ import"./chunk-s2za1y84.js";var{create:Hn,defineProperty:rt,getOwnPropertyDescriptor:Gn,getOwnPropertyNames:Zn,getPrototypeOf:Xn}=Object,zn=Object.prototype.hasOwnProperty,Vt=(t)=>{throw TypeError(t)},er=(t,e,n)=>(e in t)?rt(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,Le=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),Qt=(t,e)=>{for(var n in e)rt(t,n,{get:e[n],enumerable:!0})},tr=(t,e,n,u)=>{if(e&&typeof e=="object"||typeof e=="function")for(let g of Zn(e))!zn.call(t,g)&&g!==n&&rt(t,g,{get:()=>e[g],enumerable:!(u=Gn(e,g))||u.enumerable});return t},bt=(t,e,n)=>(n=t!=null?Hn(Xn(t)):{},tr(e||!t||!t.__esModule?rt(n,"default",{value:t,enumerable:!0}):n,t)),Rt=(t,e,n)=>er(t,typeof e!="symbol"?e+"":e,n),wt=(t,e,n)=>e.has(t)||Vt("Cannot "+n),Ue=(t,e,n)=>(wt(t,e,"read from private field"),n?n.call(t):e.get(t)),lt=(t,e,n)=>e.has(t)?Vt("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(t):e.set(t,n),Jt=(t,e,n,u)=>(wt(t,e,"write to private field"),u?u.call(t,n):e.set(t,n),n),Xe=(t,e,n)=>(wt(t,e,"access private method"),n),Ce=Le((t)=>{var e={ANCHOR:"&",COMMENT:"#",TAG:"!",DIRECTIVES_END:"-",DOCUMENT_END:"."},n={ALIAS:"ALIAS",BLANK_LINE:"BLANK_LINE",BLOCK_FOLDED:"BLOCK_FOLDED",BLOCK_LITERAL:"BLOCK_LITERAL",COMMENT:"COMMENT",DIRECTIVE:"DIRECTIVE",DOCUMENT:"DOCUMENT",FLOW_MAP:"FLOW_MAP",FLOW_SEQ:"FLOW_SEQ",MAP:"MAP",MAP_KEY:"MAP_KEY",MAP_VALUE:"MAP_VALUE",PLAIN:"PLAIN",QUOTE_DOUBLE:"QUOTE_DOUBLE",QUOTE_SINGLE:"QUOTE_SINGLE",SEQ:"SEQ",SEQ_ITEM:"SEQ_ITEM"},u="tag:yaml.org,2002:",g={MAP:"tag:yaml.org,2002:map",SEQ:"tag:yaml.org,2002:seq",STR:"tag:yaml.org,2002:str"};function E(l){let i=[0],r=l.indexOf(`
3
3
  `);for(;r!==-1;)r+=1,i.push(r),r=l.indexOf(`
4
4
  `,r);return i}function b(l){let i,r;return typeof l=="string"?(i=E(l),r=l):(Array.isArray(l)&&(l=l[0]),l&&l.context&&(l.lineStarts||(l.lineStarts=E(l.context.src)),i=l.lineStarts,r=l.context.src)),{lineStarts:i,src:r}}function T(l,i){if(typeof l!="number"||l<0)return null;let{lineStarts:r,src:s}=b(i);if(!r||!s||l>s.length)return null;for(let p=0;p<r.length;++p){let c=r[p];if(l<c)return{line:p,col:l-r[p-1]+1};if(l===c)return{line:p+1,col:1}}let o=r.length;return{line:o,col:l-r[o-1]+1}}function M(l,i){let{lineStarts:r,src:s}=b(i);if(!r||!(l>=1)||l>r.length)return null;let o=r[l-1],p=r[l];for(;p&&p>o&&s[p-1]===`
5
5
  `;)--p;return s.slice(o,p)}function I({start:l,end:i},r,s=80){let o=M(l.line,r);if(!o)return null;let{col:p}=l;if(o.length>s)if(p<=s-10)o=o.substr(0,s-1)+"\u2026";else{let C=Math.round(s/2);o.length>p+C&&(o=o.substr(0,p+C-1)+"\u2026"),p-=o.length-s,o="\u2026"+o.substr(1-s)}let c=1,h="";i&&(i.line===l.line&&p+(i.col-l.col)<=s+1?c=i.col-l.col:(c=Math.min(o.length+1,s)-p,h="\u2026"));let v=p>1?" ".repeat(p-1):"",O="^".repeat(c);return`${o}
@@ -1,3 +1,3 @@
1
1
  // @bun
2
- import{pf as u}from"./chunk-yh174jhg.js";import{CP as Kq,zP as Q}from"./chunk-hh4c02fh.js";var D=Q((iq,j)=>{var{defineProperty:X,getOwnPropertyDescriptor:r,getOwnPropertyNames:o}=Object,a=Object.prototype.hasOwnProperty,t=(q,z)=>X(q,"name",{value:z,configurable:!0}),qq=(q,z)=>{for(var G in z)X(q,G,{get:z[G],enumerable:!0})},zq=(q,z,G,K)=>{if(z&&typeof z==="object"||typeof z==="function"){for(let I of o(z))if(!a.call(q,I)&&I!==G)X(q,I,{get:()=>z[I],enumerable:!(K=r(z,I))||K.enumerable})}return q},Gq=(q)=>zq(X({},"__esModule",{value:!0}),q),J={};qq(J,{isArrayBuffer:()=>Iq});j.exports=Gq(J);var Iq=t((q)=>typeof ArrayBuffer==="function"&&q instanceof ArrayBuffer||Object.prototype.toString.call(q)==="[object ArrayBuffer]","isArrayBuffer")});var O=Q((dq,R)=>{var{defineProperty:Y,getOwnPropertyDescriptor:Qq,getOwnPropertyNames:Vq}=Object,Wq=Object.prototype.hasOwnProperty,E=(q,z)=>Y(q,"name",{value:z,configurable:!0}),Xq=(q,z)=>{for(var G in z)Y(q,G,{get:z[G],enumerable:!0})},Yq=(q,z,G,K)=>{if(z&&typeof z==="object"||typeof z==="function"){for(let I of Vq(z))if(!Wq.call(q,I)&&I!==G)Y(q,I,{get:()=>z[I],enumerable:!(K=Qq(z,I))||K.enumerable})}return q},Zq=(q)=>Yq(Y({},"__esModule",{value:!0}),q),L={};Xq(L,{fromArrayBuffer:()=>Nq,fromString:()=>Fq});R.exports=Zq(L);var $q=D(),$=Kq("buffer"),Nq=E((q,z=0,G=q.byteLength-z)=>{if(!(0,$q.isArrayBuffer)(q))throw TypeError(`The "input" argument must be ArrayBuffer. Received type ${typeof q} (${q})`);return $.Buffer.from(q,z,G)},"fromArrayBuffer"),Fq=E((q,z)=>{if(typeof q!=="string")throw TypeError(`The "input" argument must be of type string. Received type ${typeof q} (${q})`);return z?$.Buffer.from(q,z):$.Buffer.from(q)},"fromString")});var A=Q((mq,h)=>{var{defineProperty:Z,getOwnPropertyDescriptor:Hq,getOwnPropertyNames:Bq}=Object,Jq=Object.prototype.hasOwnProperty,N=(q,z)=>Z(q,"name",{value:z,configurable:!0}),jq=(q,z)=>{for(var G in z)Z(q,G,{get:z[G],enumerable:!0})},Dq=(q,z,G,K)=>{if(z&&typeof z==="object"||typeof z==="function"){for(let I of Bq(z))if(!Jq.call(q,I)&&I!==G)Z(q,I,{get:()=>z[I],enumerable:!(K=Hq(z,I))||K.enumerable})}return q},Eq=(q)=>Dq(Z({},"__esModule",{value:!0}),q),v={};jq(v,{fromUtf8:()=>S,toUint8Array:()=>Lq,toUtf8:()=>Rq});h.exports=Eq(v);var M=O(),S=N((q)=>{let z=(0,M.fromString)(q,"utf8");return new Uint8Array(z.buffer,z.byteOffset,z.byteLength/Uint8Array.BYTES_PER_ELEMENT)},"fromUtf8"),Lq=N((q)=>{if(typeof q==="string")return S(q);if(ArrayBuffer.isView(q))return new Uint8Array(q.buffer,q.byteOffset,q.byteLength/Uint8Array.BYTES_PER_ELEMENT);return new Uint8Array(q)},"toUint8Array"),Rq=N((q)=>{if(typeof q==="string")return q;if(typeof q!=="object"||typeof q.byteOffset!=="number"||typeof q.byteLength!=="number")throw Error("@smithy/util-utf8: toUtf8 encoder function only accepts string | Uint8Array.");return(0,M.fromArrayBuffer)(q.buffer,q.byteOffset,q.byteLength).toString("utf8")},"toUtf8")});var w=Q((C)=>{Object.defineProperty(C,"__esModule",{value:!0});C.convertToBuffer=void 0;var Oq=A(),vq=typeof Buffer<"u"&&Buffer.from?function(q){return Buffer.from(q,"utf8")}:Oq.fromUtf8;function Mq(q){if(q instanceof Uint8Array)return q;if(typeof q==="string")return vq(q);if(ArrayBuffer.isView(q))return new Uint8Array(q.buffer,q.byteOffset,q.byteLength/Uint8Array.BYTES_PER_ELEMENT);return new Uint8Array(q)}C.convertToBuffer=Mq});var U=Q((P)=>{Object.defineProperty(P,"__esModule",{value:!0});P.isEmptyData=void 0;function Sq(q){if(typeof q==="string")return q.length===0;return q.byteLength===0}P.isEmptyData=Sq});var y=Q((b)=>{Object.defineProperty(b,"__esModule",{value:!0});b.numToUint8=void 0;function hq(q){return new Uint8Array([(q&4278190080)>>24,(q&16711680)>>16,(q&65280)>>8,q&255])}b.numToUint8=hq});var l=Q((x)=>{Object.defineProperty(x,"__esModule",{value:!0});x.uint32ArrayFrom=void 0;function Aq(q){if(!Uint32Array.from){var z=new Uint32Array(q.length),G=0;while(G<q.length)z[G]=q[G],G+=1;return z}return Uint32Array.from(q)}x.uint32ArrayFrom=Aq});var F=Q((V)=>{Object.defineProperty(V,"__esModule",{value:!0});V.uint32ArrayFrom=V.numToUint8=V.isEmptyData=V.convertToBuffer=void 0;var Cq=w();Object.defineProperty(V,"convertToBuffer",{enumerable:!0,get:function(){return Cq.convertToBuffer}});var Tq=U();Object.defineProperty(V,"isEmptyData",{enumerable:!0,get:function(){return Tq.isEmptyData}});var wq=y();Object.defineProperty(V,"numToUint8",{enumerable:!0,get:function(){return wq.numToUint8}});var Pq=l();Object.defineProperty(V,"uint32ArrayFrom",{enumerable:!0,get:function(){return Pq.uint32ArrayFrom}})});var m=Q((i)=>{Object.defineProperty(i,"__esModule",{value:!0});i.AwsCrc32=void 0;var s=u(),H=F(),f=n(),Uq=function(){function q(){this.crc32=new f.Crc32}return q.prototype.update=function(z){if((0,H.isEmptyData)(z))return;this.crc32.update((0,H.convertToBuffer)(z))},q.prototype.digest=function(){return s.__awaiter(this,void 0,void 0,function(){return s.__generator(this,function(z){return[2,(0,H.numToUint8)(this.crc32.digest())]})})},q.prototype.reset=function(){this.crc32=new f.Crc32},q}();i.AwsCrc32=Uq});var n=Q((B)=>{Object.defineProperty(B,"__esModule",{value:!0});B.AwsCrc32=B.Crc32=B.crc32=void 0;var bq=u(),gq=F();function yq(q){return new p().update(q).digest()}B.crc32=yq;var p=function(){function q(){this.checksum=4294967295}return q.prototype.update=function(z){var G,K;try{for(var I=bq.__values(z),W=I.next();!W.done;W=I.next()){var _=W.value;this.checksum=this.checksum>>>8^cq[(this.checksum^_)&255]}}catch(e){G={error:e}}finally{try{if(W&&!W.done&&(K=I.return))K.call(I)}finally{if(G)throw G.error}}return this},q.prototype.digest=function(){return(this.checksum^4294967295)>>>0},q}();B.Crc32=p;var xq=[0,1996959894,3993919788,2567524794,124634137,1886057615,3915621685,2657392035,249268274,2044508324,3772115230,2547177864,162941995,2125561021,3887607047,2428444049,498536548,1789927666,4089016648,2227061214,450548861,1843258603,4107580753,2211677639,325883990,1684777152,4251122042,2321926636,335633487,1661365465,4195302755,2366115317,997073096,1281953886,3579855332,2724688242,1006888145,1258607687,3524101629,2768942443,901097722,1119000684,3686517206,2898065728,853044451,1172266101,3705015759,2882616665,651767980,1373503546,3369554304,3218104598,565507253,1454621731,3485111705,3099436303,671266974,1594198024,3322730930,2970347812,795835527,1483230225,3244367275,3060149565,1994146192,31158534,2563907772,4023717930,1907459465,112637215,2680153253,3904427059,2013776290,251722036,2517215374,3775830040,2137656763,141376813,2439277719,3865271297,1802195444,476864866,2238001368,4066508878,1812370925,453092731,2181625025,4111451223,1706088902,314042704,2344532202,4240017532,1658658271,366619977,2362670323,4224994405,1303535960,984961486,2747007092,3569037538,1256170817,1037604311,2765210733,3554079995,1131014506,879679996,2909243462,3663771856,1141124467,855842277,2852801631,3708648649,1342533948,654459306,3188396048,3373015174,1466479909,544179635,3110523913,3462522015,1591671054,702138776,2966460450,3352799412,1504918807,783551873,3082640443,3233442989,3988292384,2596254646,62317068,1957810842,3939845945,2647816111,81470997,1943803523,3814918930,2489596804,225274430,2053790376,3826175755,2466906013,167816743,2097651377,4027552580,2265490386,503444072,1762050814,4150417245,2154129355,426522225,1852507879,4275313526,2312317920,282753626,1742555852,4189708143,2394877945,397917763,1622183637,3604390888,2714866558,953729732,1340076626,3518719985,2797360999,1068828381,1219638859,3624741850,2936675148,906185462,1090812512,3747672003,2825379669,829329135,1181335161,3412177804,3160834842,628085408,1382605366,3423369109,3138078467,570562233,1426400815,3317316542,2998733608,733239954,1555261956,3268935591,3050360625,752459403,1541320221,2607071920,3965973030,1969922972,40735498,2617837225,3943577151,1913087877,83908371,2512341634,3803740692,2075208622,213261112,2463272603,3855990285,2094854071,198958881,2262029012,4057260610,1759359992,534414190,2176718541,4139329115,1873836001,414664567,2282248934,4279200368,1711684554,285281116,2405801727,4167216745,1634467795,376229701,2685067896,3608007406,1308918612,956543938,2808555105,3495958263,1231636301,1047427035,2932959818,3654703836,1088359270,936918000,2847714899,3736837829,1202900863,817233897,3183342108,3401237130,1404277552,615818150,3134207493,3453421203,1423857449,601450431,3009837614,3294710456,1567103746,711928724,3020668471,3272380065,1510334235,755167117],cq=(0,gq.uint32ArrayFrom)(xq),lq=m();Object.defineProperty(B,"AwsCrc32",{enumerable:!0,get:function(){return lq.AwsCrc32}})});
3
- export{n as of};
2
+ import{qf as u}from"./chunk-yvj021eg.js";import{DP as Q,GP as Kq}from"./chunk-s2za1y84.js";var D=Q((iq,j)=>{var{defineProperty:X,getOwnPropertyDescriptor:r,getOwnPropertyNames:o}=Object,a=Object.prototype.hasOwnProperty,t=(q,z)=>X(q,"name",{value:z,configurable:!0}),qq=(q,z)=>{for(var G in z)X(q,G,{get:z[G],enumerable:!0})},zq=(q,z,G,K)=>{if(z&&typeof z==="object"||typeof z==="function"){for(let I of o(z))if(!a.call(q,I)&&I!==G)X(q,I,{get:()=>z[I],enumerable:!(K=r(z,I))||K.enumerable})}return q},Gq=(q)=>zq(X({},"__esModule",{value:!0}),q),J={};qq(J,{isArrayBuffer:()=>Iq});j.exports=Gq(J);var Iq=t((q)=>typeof ArrayBuffer==="function"&&q instanceof ArrayBuffer||Object.prototype.toString.call(q)==="[object ArrayBuffer]","isArrayBuffer")});var O=Q((dq,R)=>{var{defineProperty:Y,getOwnPropertyDescriptor:Qq,getOwnPropertyNames:Vq}=Object,Wq=Object.prototype.hasOwnProperty,E=(q,z)=>Y(q,"name",{value:z,configurable:!0}),Xq=(q,z)=>{for(var G in z)Y(q,G,{get:z[G],enumerable:!0})},Yq=(q,z,G,K)=>{if(z&&typeof z==="object"||typeof z==="function"){for(let I of Vq(z))if(!Wq.call(q,I)&&I!==G)Y(q,I,{get:()=>z[I],enumerable:!(K=Qq(z,I))||K.enumerable})}return q},Zq=(q)=>Yq(Y({},"__esModule",{value:!0}),q),L={};Xq(L,{fromArrayBuffer:()=>Nq,fromString:()=>Fq});R.exports=Zq(L);var $q=D(),$=Kq("buffer"),Nq=E((q,z=0,G=q.byteLength-z)=>{if(!(0,$q.isArrayBuffer)(q))throw TypeError(`The "input" argument must be ArrayBuffer. Received type ${typeof q} (${q})`);return $.Buffer.from(q,z,G)},"fromArrayBuffer"),Fq=E((q,z)=>{if(typeof q!=="string")throw TypeError(`The "input" argument must be of type string. Received type ${typeof q} (${q})`);return z?$.Buffer.from(q,z):$.Buffer.from(q)},"fromString")});var A=Q((mq,h)=>{var{defineProperty:Z,getOwnPropertyDescriptor:Hq,getOwnPropertyNames:Bq}=Object,Jq=Object.prototype.hasOwnProperty,N=(q,z)=>Z(q,"name",{value:z,configurable:!0}),jq=(q,z)=>{for(var G in z)Z(q,G,{get:z[G],enumerable:!0})},Dq=(q,z,G,K)=>{if(z&&typeof z==="object"||typeof z==="function"){for(let I of Bq(z))if(!Jq.call(q,I)&&I!==G)Z(q,I,{get:()=>z[I],enumerable:!(K=Hq(z,I))||K.enumerable})}return q},Eq=(q)=>Dq(Z({},"__esModule",{value:!0}),q),v={};jq(v,{fromUtf8:()=>S,toUint8Array:()=>Lq,toUtf8:()=>Rq});h.exports=Eq(v);var M=O(),S=N((q)=>{let z=(0,M.fromString)(q,"utf8");return new Uint8Array(z.buffer,z.byteOffset,z.byteLength/Uint8Array.BYTES_PER_ELEMENT)},"fromUtf8"),Lq=N((q)=>{if(typeof q==="string")return S(q);if(ArrayBuffer.isView(q))return new Uint8Array(q.buffer,q.byteOffset,q.byteLength/Uint8Array.BYTES_PER_ELEMENT);return new Uint8Array(q)},"toUint8Array"),Rq=N((q)=>{if(typeof q==="string")return q;if(typeof q!=="object"||typeof q.byteOffset!=="number"||typeof q.byteLength!=="number")throw Error("@smithy/util-utf8: toUtf8 encoder function only accepts string | Uint8Array.");return(0,M.fromArrayBuffer)(q.buffer,q.byteOffset,q.byteLength).toString("utf8")},"toUtf8")});var w=Q((C)=>{Object.defineProperty(C,"__esModule",{value:!0});C.convertToBuffer=void 0;var Oq=A(),vq=typeof Buffer<"u"&&Buffer.from?function(q){return Buffer.from(q,"utf8")}:Oq.fromUtf8;function Mq(q){if(q instanceof Uint8Array)return q;if(typeof q==="string")return vq(q);if(ArrayBuffer.isView(q))return new Uint8Array(q.buffer,q.byteOffset,q.byteLength/Uint8Array.BYTES_PER_ELEMENT);return new Uint8Array(q)}C.convertToBuffer=Mq});var U=Q((P)=>{Object.defineProperty(P,"__esModule",{value:!0});P.isEmptyData=void 0;function Sq(q){if(typeof q==="string")return q.length===0;return q.byteLength===0}P.isEmptyData=Sq});var y=Q((b)=>{Object.defineProperty(b,"__esModule",{value:!0});b.numToUint8=void 0;function hq(q){return new Uint8Array([(q&4278190080)>>24,(q&16711680)>>16,(q&65280)>>8,q&255])}b.numToUint8=hq});var l=Q((x)=>{Object.defineProperty(x,"__esModule",{value:!0});x.uint32ArrayFrom=void 0;function Aq(q){if(!Uint32Array.from){var z=new Uint32Array(q.length),G=0;while(G<q.length)z[G]=q[G],G+=1;return z}return Uint32Array.from(q)}x.uint32ArrayFrom=Aq});var F=Q((V)=>{Object.defineProperty(V,"__esModule",{value:!0});V.uint32ArrayFrom=V.numToUint8=V.isEmptyData=V.convertToBuffer=void 0;var Cq=w();Object.defineProperty(V,"convertToBuffer",{enumerable:!0,get:function(){return Cq.convertToBuffer}});var Tq=U();Object.defineProperty(V,"isEmptyData",{enumerable:!0,get:function(){return Tq.isEmptyData}});var wq=y();Object.defineProperty(V,"numToUint8",{enumerable:!0,get:function(){return wq.numToUint8}});var Pq=l();Object.defineProperty(V,"uint32ArrayFrom",{enumerable:!0,get:function(){return Pq.uint32ArrayFrom}})});var m=Q((i)=>{Object.defineProperty(i,"__esModule",{value:!0});i.AwsCrc32=void 0;var s=u(),H=F(),f=n(),Uq=function(){function q(){this.crc32=new f.Crc32}return q.prototype.update=function(z){if((0,H.isEmptyData)(z))return;this.crc32.update((0,H.convertToBuffer)(z))},q.prototype.digest=function(){return s.__awaiter(this,void 0,void 0,function(){return s.__generator(this,function(z){return[2,(0,H.numToUint8)(this.crc32.digest())]})})},q.prototype.reset=function(){this.crc32=new f.Crc32},q}();i.AwsCrc32=Uq});var n=Q((B)=>{Object.defineProperty(B,"__esModule",{value:!0});B.AwsCrc32=B.Crc32=B.crc32=void 0;var bq=u(),gq=F();function yq(q){return new p().update(q).digest()}B.crc32=yq;var p=function(){function q(){this.checksum=4294967295}return q.prototype.update=function(z){var G,K;try{for(var I=bq.__values(z),W=I.next();!W.done;W=I.next()){var _=W.value;this.checksum=this.checksum>>>8^cq[(this.checksum^_)&255]}}catch(e){G={error:e}}finally{try{if(W&&!W.done&&(K=I.return))K.call(I)}finally{if(G)throw G.error}}return this},q.prototype.digest=function(){return(this.checksum^4294967295)>>>0},q}();B.Crc32=p;var xq=[0,1996959894,3993919788,2567524794,124634137,1886057615,3915621685,2657392035,249268274,2044508324,3772115230,2547177864,162941995,2125561021,3887607047,2428444049,498536548,1789927666,4089016648,2227061214,450548861,1843258603,4107580753,2211677639,325883990,1684777152,4251122042,2321926636,335633487,1661365465,4195302755,2366115317,997073096,1281953886,3579855332,2724688242,1006888145,1258607687,3524101629,2768942443,901097722,1119000684,3686517206,2898065728,853044451,1172266101,3705015759,2882616665,651767980,1373503546,3369554304,3218104598,565507253,1454621731,3485111705,3099436303,671266974,1594198024,3322730930,2970347812,795835527,1483230225,3244367275,3060149565,1994146192,31158534,2563907772,4023717930,1907459465,112637215,2680153253,3904427059,2013776290,251722036,2517215374,3775830040,2137656763,141376813,2439277719,3865271297,1802195444,476864866,2238001368,4066508878,1812370925,453092731,2181625025,4111451223,1706088902,314042704,2344532202,4240017532,1658658271,366619977,2362670323,4224994405,1303535960,984961486,2747007092,3569037538,1256170817,1037604311,2765210733,3554079995,1131014506,879679996,2909243462,3663771856,1141124467,855842277,2852801631,3708648649,1342533948,654459306,3188396048,3373015174,1466479909,544179635,3110523913,3462522015,1591671054,702138776,2966460450,3352799412,1504918807,783551873,3082640443,3233442989,3988292384,2596254646,62317068,1957810842,3939845945,2647816111,81470997,1943803523,3814918930,2489596804,225274430,2053790376,3826175755,2466906013,167816743,2097651377,4027552580,2265490386,503444072,1762050814,4150417245,2154129355,426522225,1852507879,4275313526,2312317920,282753626,1742555852,4189708143,2394877945,397917763,1622183637,3604390888,2714866558,953729732,1340076626,3518719985,2797360999,1068828381,1219638859,3624741850,2936675148,906185462,1090812512,3747672003,2825379669,829329135,1181335161,3412177804,3160834842,628085408,1382605366,3423369109,3138078467,570562233,1426400815,3317316542,2998733608,733239954,1555261956,3268935591,3050360625,752459403,1541320221,2607071920,3965973030,1969922972,40735498,2617837225,3943577151,1913087877,83908371,2512341634,3803740692,2075208622,213261112,2463272603,3855990285,2094854071,198958881,2262029012,4057260610,1759359992,534414190,2176718541,4139329115,1873836001,414664567,2282248934,4279200368,1711684554,285281116,2405801727,4167216745,1634467795,376229701,2685067896,3608007406,1308918612,956543938,2808555105,3495958263,1231636301,1047427035,2932959818,3654703836,1088359270,936918000,2847714899,3736837829,1202900863,817233897,3183342108,3401237130,1404277552,615818150,3134207493,3453421203,1423857449,601450431,3009837614,3294710456,1567103746,711928724,3020668471,3272380065,1510334235,755167117],cq=(0,gq.uint32ArrayFrom)(xq),lq=m();Object.defineProperty(B,"AwsCrc32",{enumerable:!0,get:function(){return lq.AwsCrc32}})});
3
+ export{n as pf};
@@ -0,0 +1,2 @@
1
+ // @bun
2
+ import"./chunk-s2za1y84.js";var G="./tree-sitter-bash-hq5s6fxb.wasm";export{G as default};
@@ -0,0 +1,2 @@
1
+ // @bun
2
+ import{re as a}from"./chunk-dv5zf5gz.js";import"./chunk-z4ae6jmb.js";import"./chunk-xak2r993.js";import"./chunk-5ymj2q6j.js";import"./chunk-s2za1y84.js";export{a as fromProcess};
@@ -1,3 +1,3 @@
1
1
  // @bun
2
- import{Vk as x}from"./chunk-7mhffm9f.js";import{sl as Z$}from"./chunk-0z3z0gk1.js";import{Zl as f$}from"./chunk-g7vkkmsk.js";import{Vt as k}from"./chunk-f89gntcy.js";import{ID as e,SF as $$,TE as r,eG as J$,mI as _}from"./chunk-dkm7x8rj.js";import{AP as D$,zP as D}from"./chunk-hh4c02fh.js";var l=D((l$,R)=>{var W$=["||","&&",";;","|&","<(","<<<",">>",">&","<&","&",";","(",")","|","<",">"],S=/[\n\r\u2028\u2029]/,P$=/[\s#!"$&'():;<=>@\\^`|]/g;R.exports=function(Z){return Z.map(function($){if($==="")return"''";if($&&typeof $==="object"){if($.op==="glob"){if(typeof $.pattern!=="string")throw TypeError("glob token requires a string `pattern`");if(S.test($.pattern))throw TypeError("glob `pattern` must not contain line terminators");return $.pattern.replace(P$,"\\$&")}if(typeof $.op==="string"){if(W$.indexOf($.op)<0)throw TypeError("invalid `op` value: "+JSON.stringify($.op));return $.op.replace(/[\s\S]/g,"\\$&")}if(typeof $.comment==="string"){if(S.test($.comment))throw TypeError("`comment` must not contain line terminators");return"#"+$.comment}throw TypeError("unrecognized object token shape")}if(/["\s\\]/.test($)&&!/'/.test($))return"'"+$.replace(/(['])/g,"\\$1")+"'";if(/["'\s]/.test($))return'"'+$.replace(/(["\\$`!])/g,"\\$1")+'"';return String($).replace(/([A-Za-z]:)?([#!"$&'()*,:;<=>?@[\\\]^`{|}])/g,"$1\\$2")}).join(" ")}});var i=D((p$,E)=>{var n="(?:"+["\\|\\|","\\&\\&",";;","\\|\\&","\\<\\(","\\<\\<\\<",">>",">\\&","<\\&","[&;()|<>]"].join("|")+")",p=new RegExp("^"+n+"$"),O="|&;()<> \\t",w$='"((\\\\"|[^"])*?)"',G$="'((\\\\'|[^'])*?)'",L$=/^#$/,T="'",h='"',I="$",g="",U$=4294967296;for(Y=0;Y<4;Y++)g+=(U$*Math.random()).toString(16);var Y,g$=new RegExp("^"+g);function C$(J,Z){var $=Z.lastIndex,H=[],X;while(X=Z.exec(J))if(H.push(X),Z.lastIndex===X.index)Z.lastIndex+=1;return Z.lastIndex=$,H}function Q$(J,Z,$){var H=typeof J==="function"?J($):J[$];if(typeof H>"u"&&$!="")H="";else if(typeof H>"u")H="$";if(typeof H==="object")return Z+g+JSON.stringify(H)+g;return Z+H}function V$(J,Z,$){if(!$)$={};var H=$.escape||"\\",X="(\\"+H+`['"`+O+`]|[^\\s'"`+O+"])+",W=new RegExp(["("+n+")","("+X+"|"+w$+"|"+G$+")+"].join("|"),"g"),P=C$(J,W);if(P.length===0)return[];if(!Z)Z={};var L=!1;return P.map(function(G){var f=G[0];if(!f||L)return;if(p.test(f))return{op:f};var C=!1,F=!1,w="",K=!1,z;function A(){z+=1;var U,V,B=f.charAt(z);if(B==="{"){if(z+=1,f.charAt(z)==="}")throw Error("Bad substitution: "+f.slice(z-2,z+1));if(U=f.indexOf("}",z),U<0)throw Error("Bad substitution: "+f.slice(z));V=f.slice(z,U),z=U}else if(/[*@#?$!_-]/.test(B))V=B,z+=1;else{var y=f.slice(z);if(U=y.match(/[^\w\d_]/),!U)V=y,z=f.length;else V=y.slice(0,U.index),z+=U.index-1}return Q$(Z,"",V)}for(z=0;z<f.length;z++){var q=f.charAt(z);if(K=K||!C&&(q==="*"||q==="?"),F)w+=q,F=!1;else if(C)if(q===C)C=!1;else if(C==T)w+=q;else if(q===H)if(z+=1,q=f.charAt(z),q===h||q===H||q===I)w+=q;else w+=H+q;else if(q===I)w+=A();else w+=q;else if(q===h||q===T)C=q;else if(p.test(q))return{op:f};else if(L$.test(q)){L=!0;var u={comment:J.slice(G.index+z+1)};if(w.length)return[w,u];return[u]}else if(q===H)F=!0;else if(q===I)w+=A();else w+=q}if(K)return{op:"glob",pattern:w};return w}).reduce(function(G,f){return typeof f>"u"?G:G.concat(f)},[])}E.exports=function(Z,$,H){var X=V$(Z,$,H);if(typeof $!=="function")return X;return X.reduce(function(W,P){if(typeof P==="object")return W.concat(P);var L=P.split(RegExp("("+g+".*?"+g+")","g"));if(L.length===1)return W.concat(L[0]);return W.concat(L.filter(Boolean).map(function(G){if(g$.test(G))return JSON.parse(G.split(g)[1]);return G}))},[])}});var F$=D((Y$)=>{Y$.quote=l();Y$.parse=i()});var b={};D$(b,{retryable:()=>z$,policy:()=>R$,persistentRetryDelay:()=>S$,isRetryableTransientError:()=>X$,delay:()=>q$,SessionRetry:()=>b,RETRY_MAX_DELAY_NO_HEADERS:()=>N$,RETRY_MAX_DELAY:()=>j$,RETRY_INITIAL_DELAY:()=>I$,RETRY_BACKOFF_FACTOR:()=>M$,PERSISTENT_RETRY_MAX_DELAY:()=>A$,PERSISTENT_RETRY_MAX_ATTEMPTS:()=>u$,PERSISTENT_RETRY_INITIAL_DELAY:()=>_$,PERSISTENT_RETRY_BACKOFF_FACTOR:()=>b$,GO_UPSELL_MESSAGE:()=>H$});var v=2000,d=2,m=30000,t=2147483647,K$=new Set(["ECONNRESET","EPIPE","ETIMEDOUT"]);var B$=new Set([429,500,502,503,504,529]);function o(J){if(!(J instanceof Error))return!1;let Z=J.status??J.statusCode??J.response?.status;if(typeof Z==="number"&&B$.has(Z))return!0;let $=J.code;if(typeof $==="string"&&K$.has($))return!0;if(J.message==="SSE read timed out")return!0;return!1}function Q(J){return Math.min(J,2147483647)}function c(J,Z){if(Z){if(typeof Z.retryAfterMs==="number"&&!Number.isNaN(Z.retryAfterMs))return Q(Z.retryAfterMs);let $=Z.data?.responseHeaders;if($){let H=$["retry-after-ms"];if(H){let W=Number.parseFloat(H);if(!Number.isNaN(W))return Q(W)}let X=$["retry-after"];if(X){let W=Number.parseFloat(X);if(!Number.isNaN(W))return Q(Math.ceil(W*1000));let P=Date.parse(X)-Date.now();if(!Number.isNaN(P)&&P>0)return Q(Math.ceil(P))}return Q(2000*Math.pow(2,J-1))}}return Q(Math.min(2000*Math.pow(2,J-1),30000))}var M=500,N=2,j=300000,a=10;function s(J){return Math.min(M*N**(J-1),j)}var H$="Free usage exceeded, subscribe to Go https://opencode.ai/go",I$=v,M$=d,N$=m,j$=t,X$=o,q$=c,_$=M,b$=N,A$=j,u$=a,S$=s;function z$(J){if(x.ContextOverflowError.isInstance(J))return;if(X$(J))return J.message||"Transient network error";if(x.APIError.isInstance(J)){let X=J.data.statusCode;if(!J.data.isRetryable&&!(X!==void 0&&X>=500))return;if(J.data.responseBody?.includes("FreeUsageLimitError"))return H$;return J.data.message.includes("Overloaded")?"Provider is overloaded":J.data.message}let Z=J.data?.message;if(typeof Z==="string"){let X=Z.toLowerCase();if(X.includes("rate increased too quickly")||X.includes("rate limit")||X.includes("too many requests"))return Z}let $=Z$(()=>{try{if(typeof J.data?.message==="string")return JSON.parse(J.data.message);return JSON.parse(J.data.message)}catch{return}});if(!$||typeof $!=="object")return;let H=typeof $.code==="string"?$.code:"";if($.type==="error"&&$.error?.type==="too_many_requests")return"Too Many Requests";if(H.includes("exhausted")||H.includes("unavailable"))return"Provider is overloaded";if($.type==="error"&&typeof $.error?.code==="string"&&$.error.code.includes("rate_limit"))return"Rate Limited";return}function R$(J){return J$.fromStepWithMetadata(_.succeed((Z)=>{let $=J.parse(Z.input),H=z$($);if(!H)return r.done(Z.attempt);return _.gen(function*(){let X=Z.input,W=typeof X?.retryAfterMs==="number"?X.retryAfterMs:void 0,P=q$(Z.attempt,x.APIError.isInstance($)?$:W!==void 0?{retryAfterMs:W}:void 0),L=yield*$$.currentTimeMillis;return yield*J.set({attempt:Z.attempt,message:H,next:L+P}),[Z.attempt,e.millis(P)]})}))}var v$=f$.define("tui.instructions.loaded",k.object({files:k.array(k.string()).describe("Display labels of loaded instruction files: worktree-relative path, ~-path, or absolute")}));
3
- export{v$ as th,F$ as uh,X$ as vh,_$ as wh,b$ as xh,A$ as yh,u$ as zh,S$ as Ah,b as Bh};
2
+ import{Wk as x}from"./chunk-njzpswgt.js";import{tl as Z$}from"./chunk-ygwe0vf1.js";import{_l as f$}from"./chunk-1qbm1k9y.js";import{vu as k}from"./chunk-48j09m6e.js";import{MD as e,WF as $$,XE as r,iG as J$,qI as _}from"./chunk-ynfbz3sz.js";import{DP as D,EP as D$}from"./chunk-s2za1y84.js";var l=D((l$,R)=>{var W$=["||","&&",";;","|&","<(","<<<",">>",">&","<&","&",";","(",")","|","<",">"],S=/[\n\r\u2028\u2029]/,P$=/[\s#!"$&'():;<=>@\\^`|]/g;R.exports=function(Z){return Z.map(function($){if($==="")return"''";if($&&typeof $==="object"){if($.op==="glob"){if(typeof $.pattern!=="string")throw TypeError("glob token requires a string `pattern`");if(S.test($.pattern))throw TypeError("glob `pattern` must not contain line terminators");return $.pattern.replace(P$,"\\$&")}if(typeof $.op==="string"){if(W$.indexOf($.op)<0)throw TypeError("invalid `op` value: "+JSON.stringify($.op));return $.op.replace(/[\s\S]/g,"\\$&")}if(typeof $.comment==="string"){if(S.test($.comment))throw TypeError("`comment` must not contain line terminators");return"#"+$.comment}throw TypeError("unrecognized object token shape")}if(/["\s\\]/.test($)&&!/'/.test($))return"'"+$.replace(/(['])/g,"\\$1")+"'";if(/["'\s]/.test($))return'"'+$.replace(/(["\\$`!])/g,"\\$1")+'"';return String($).replace(/([A-Za-z]:)?([#!"$&'()*,:;<=>?@[\\\]^`{|}])/g,"$1\\$2")}).join(" ")}});var i=D((p$,E)=>{var n="(?:"+["\\|\\|","\\&\\&",";;","\\|\\&","\\<\\(","\\<\\<\\<",">>",">\\&","<\\&","[&;()|<>]"].join("|")+")",p=new RegExp("^"+n+"$"),O="|&;()<> \\t",w$='"((\\\\"|[^"])*?)"',G$="'((\\\\'|[^'])*?)'",L$=/^#$/,T="'",h='"',I="$",g="",U$=4294967296;for(Y=0;Y<4;Y++)g+=(U$*Math.random()).toString(16);var Y,g$=new RegExp("^"+g);function C$(J,Z){var $=Z.lastIndex,H=[],X;while(X=Z.exec(J))if(H.push(X),Z.lastIndex===X.index)Z.lastIndex+=1;return Z.lastIndex=$,H}function Q$(J,Z,$){var H=typeof J==="function"?J($):J[$];if(typeof H>"u"&&$!="")H="";else if(typeof H>"u")H="$";if(typeof H==="object")return Z+g+JSON.stringify(H)+g;return Z+H}function V$(J,Z,$){if(!$)$={};var H=$.escape||"\\",X="(\\"+H+`['"`+O+`]|[^\\s'"`+O+"])+",W=new RegExp(["("+n+")","("+X+"|"+w$+"|"+G$+")+"].join("|"),"g"),P=C$(J,W);if(P.length===0)return[];if(!Z)Z={};var L=!1;return P.map(function(G){var f=G[0];if(!f||L)return;if(p.test(f))return{op:f};var C=!1,F=!1,w="",K=!1,z;function A(){z+=1;var U,V,B=f.charAt(z);if(B==="{"){if(z+=1,f.charAt(z)==="}")throw Error("Bad substitution: "+f.slice(z-2,z+1));if(U=f.indexOf("}",z),U<0)throw Error("Bad substitution: "+f.slice(z));V=f.slice(z,U),z=U}else if(/[*@#?$!_-]/.test(B))V=B,z+=1;else{var y=f.slice(z);if(U=y.match(/[^\w\d_]/),!U)V=y,z=f.length;else V=y.slice(0,U.index),z+=U.index-1}return Q$(Z,"",V)}for(z=0;z<f.length;z++){var q=f.charAt(z);if(K=K||!C&&(q==="*"||q==="?"),F)w+=q,F=!1;else if(C)if(q===C)C=!1;else if(C==T)w+=q;else if(q===H)if(z+=1,q=f.charAt(z),q===h||q===H||q===I)w+=q;else w+=H+q;else if(q===I)w+=A();else w+=q;else if(q===h||q===T)C=q;else if(p.test(q))return{op:f};else if(L$.test(q)){L=!0;var u={comment:J.slice(G.index+z+1)};if(w.length)return[w,u];return[u]}else if(q===H)F=!0;else if(q===I)w+=A();else w+=q}if(K)return{op:"glob",pattern:w};return w}).reduce(function(G,f){return typeof f>"u"?G:G.concat(f)},[])}E.exports=function(Z,$,H){var X=V$(Z,$,H);if(typeof $!=="function")return X;return X.reduce(function(W,P){if(typeof P==="object")return W.concat(P);var L=P.split(RegExp("("+g+".*?"+g+")","g"));if(L.length===1)return W.concat(L[0]);return W.concat(L.filter(Boolean).map(function(G){if(g$.test(G))return JSON.parse(G.split(g)[1]);return G}))},[])}});var F$=D((Y$)=>{Y$.quote=l();Y$.parse=i()});var b={};D$(b,{retryable:()=>z$,policy:()=>R$,persistentRetryDelay:()=>S$,isRetryableTransientError:()=>X$,delay:()=>q$,SessionRetry:()=>b,RETRY_MAX_DELAY_NO_HEADERS:()=>N$,RETRY_MAX_DELAY:()=>j$,RETRY_INITIAL_DELAY:()=>I$,RETRY_BACKOFF_FACTOR:()=>M$,PERSISTENT_RETRY_MAX_DELAY:()=>A$,PERSISTENT_RETRY_MAX_ATTEMPTS:()=>u$,PERSISTENT_RETRY_INITIAL_DELAY:()=>_$,PERSISTENT_RETRY_BACKOFF_FACTOR:()=>b$,GO_UPSELL_MESSAGE:()=>H$});var v=2000,d=2,m=30000,t=2147483647,K$=new Set(["ECONNRESET","EPIPE","ETIMEDOUT"]);var B$=new Set([429,500,502,503,504,529]);function o(J){if(!(J instanceof Error))return!1;let Z=J.status??J.statusCode??J.response?.status;if(typeof Z==="number"&&B$.has(Z))return!0;let $=J.code;if(typeof $==="string"&&K$.has($))return!0;if(J.message==="SSE read timed out")return!0;return!1}function Q(J){return Math.min(J,2147483647)}function c(J,Z){if(Z){if(typeof Z.retryAfterMs==="number"&&!Number.isNaN(Z.retryAfterMs))return Q(Z.retryAfterMs);let $=Z.data?.responseHeaders;if($){let H=$["retry-after-ms"];if(H){let W=Number.parseFloat(H);if(!Number.isNaN(W))return Q(W)}let X=$["retry-after"];if(X){let W=Number.parseFloat(X);if(!Number.isNaN(W))return Q(Math.ceil(W*1000));let P=Date.parse(X)-Date.now();if(!Number.isNaN(P)&&P>0)return Q(Math.ceil(P))}return Q(2000*Math.pow(2,J-1))}}return Q(Math.min(2000*Math.pow(2,J-1),30000))}var M=500,N=2,j=300000,a=10;function s(J){return Math.min(M*N**(J-1),j)}var H$="Free usage exceeded, subscribe to Go https://opencode.ai/go",I$=v,M$=d,N$=m,j$=t,X$=o,q$=c,_$=M,b$=N,A$=j,u$=a,S$=s;function z$(J){if(x.ContextOverflowError.isInstance(J))return;if(X$(J))return J.message||"Transient network error";if(x.APIError.isInstance(J)){let X=J.data.statusCode;if(!J.data.isRetryable&&!(X!==void 0&&X>=500))return;if(J.data.responseBody?.includes("FreeUsageLimitError"))return H$;return J.data.message.includes("Overloaded")?"Provider is overloaded":J.data.message}let Z=J.data?.message;if(typeof Z==="string"){let X=Z.toLowerCase();if(X.includes("rate increased too quickly")||X.includes("rate limit")||X.includes("too many requests"))return Z}let $=Z$(()=>{try{if(typeof J.data?.message==="string")return JSON.parse(J.data.message);return JSON.parse(J.data.message)}catch{return}});if(!$||typeof $!=="object")return;let H=typeof $.code==="string"?$.code:"";if($.type==="error"&&$.error?.type==="too_many_requests")return"Too Many Requests";if(H.includes("exhausted")||H.includes("unavailable"))return"Provider is overloaded";if($.type==="error"&&typeof $.error?.code==="string"&&$.error.code.includes("rate_limit"))return"Rate Limited";return}function R$(J){return J$.fromStepWithMetadata(_.succeed((Z)=>{let $=J.parse(Z.input),H=z$($);if(!H)return r.done(Z.attempt);return _.gen(function*(){let X=Z.input,W=typeof X?.retryAfterMs==="number"?X.retryAfterMs:void 0,P=q$(Z.attempt,x.APIError.isInstance($)?$:W!==void 0?{retryAfterMs:W}:void 0),L=yield*$$.currentTimeMillis;return yield*J.set({attempt:Z.attempt,message:H,next:L+P}),[Z.attempt,e.millis(P)]})}))}var v$=f$.define("tui.instructions.loaded",k.object({files:k.array(k.string()).describe("Display labels of loaded instruction files: worktree-relative path, ~-path, or absolute")}));
3
+ export{v$ as vh,F$ as wh,X$ as xh,_$ as yh,b$ as zh,A$ as Ah,u$ as Bh,S$ as Ch,b as Dh};
@@ -1,4 +1,4 @@
1
1
  // @bun
2
- import{Ho as j,Io as R,Jo as O,Ko as A,Qo as y,Vo as q,Wo as M,Yo as C,cp as K}from"./chunk-wmw2gne9.js";import{mt as v,pt as D}from"./chunk-zk8n8hnh.js";import{At as m,Ct as b,It as I,Tt as d}from"./chunk-1jh5p5qw.js";import{DP as T,EP as _}from"./chunk-hh4c02fh.js";import P from"path";function pt(t){let e=t&&typeof t==="object"&&"cause"in t?t.cause??t:t;if(!(e instanceof I.RunFailedError))return{error:e,detail:b(e),missing:!1};let r=e.stderr.toString().split(/\r?\n/).map((o)=>o.trim()).filter(Boolean),n=r.filter((o)=>o.startsWith("error:")).map((o)=>o.replace(/^error:\s*/,""));return{error:e,detail:n[0]??r.at(-1),missing:r.some((o)=>o.includes("No version matching"))}}var $={resolve:(t)=>q(t)},z={readText:(t)=>d.readText(t),write:async(t,e)=>{await d.write(t,e)},exists:(t)=>d.exists(t),files:(t,e)=>K(t,e)},G=z;function V(t){if(typeof t==="string")return t;if(!Array.isArray(t))return;if(typeof t[0]!=="string")return;return t[0]}function H(t){if(!t||typeof t!=="object"||Array.isArray(t))return;let e=t;if(!Array.isArray(e.plugin))return;return e.plugin}function Q(t){if(typeof t==="string"){let e=t.trim();if(e)return e;return}if(!m(t))return;for(let e of["import","default"]){let r=t[e];if(typeof r!=="string")continue;let n=r.trim();if(!n)continue;return n}}function U(t){if(!m(t))return;let e=t.config;if(!m(e))return;return e}function E(t,e){let r=t.exports;if(!m(r))return;let n=r[`./${e}`];if(!Q(n))return;return{opts:U(n)}}function X(t){let e=t.main;if(typeof e!=="string")return!1;return Boolean(e.trim())}function Y(t){let e=typeof t.json.name==="string"&&t.json.name.trim().length>0?t.json.name.trim():P.basename(t.dir),r=[],n=E(t.json,"server");if(n)r.push({kind:"server",opts:n.opts});else if(X(t.json))r.push({kind:"server"});let o=E(t.json,"tui");if(o)r.push({kind:"tui",opts:o.opts});if(!r.some((c)=>c.kind==="tui")&&C(e,t).length)r.push({kind:"tui"});return r}function g(t,e,r,n=!1){return A(t,O(t,e,r,{formattingOptions:{tabSize:2,insertSpaces:!0},isArrayInsertion:n}))}function Z(t,e,r,n,o=!1){let c=y(r).pkg,u=(e??[]).map((i,p)=>({item:i,i:p,spec:V(i)})).filter((i)=>{if(!i.spec)return!1;if(i.spec===r)return!0;if(i.spec.startsWith("file://"))return!1;return y(i.spec).pkg===c});if(!u.length){if(!e)return{mode:"add",text:g(t,["plugin"],[n])};return{mode:"add",text:g(t,["plugin",e.length],n,!0)}}if(!o)return{mode:"noop",text:t};let s=u[0];if(!s)return{mode:"noop",text:t};if(u.length===1&&s.spec===r)return{mode:"noop",text:t};let a=t;if(typeof s.item==="string")a=g(a,["plugin",s.i],n);if(Array.isArray(s.item)&&typeof s.item[0]==="string")a=g(a,["plugin",s.i,0],r);let l=u.map((i)=>i.i).filter((i)=>i!==s.i).sort((i,p)=>p-i);for(let i of l)a=g(a,["plugin",i],void 0);return{mode:"replace",text:a}}async function gt(t,e=$){let r=await e.resolve(t).then((n)=>({ok:!0,item:n}),(n)=>({ok:!1,error:n}));if(!r.ok)return{ok:!1,code:"install_failed",error:r.error};return{ok:!0,target:r.item}}async function dt(t){let e=await M(t).then((n)=>({ok:!0,item:n}),(n)=>({ok:!1,error:n}));if(!e.ok)return{ok:!1,code:"manifest_read_failed",file:t,error:e.error};let r=await Promise.resolve().then(()=>Y(e.item)).then((n)=>({ok:!0,item:n}),(n)=>({ok:!1,error:n}));if(!r.ok)return{ok:!1,code:"manifest_read_failed",file:e.item.pkg,error:r.error};if(!r.item.length)return{ok:!1,code:"manifest_no_targets",file:e.item.pkg};return{ok:!0,targets:r.item}}function tt(t){if(t.global)return t.config??D.Path.config;let r=t.vcs==="git"&&t.worktree!=="/"?t.worktree:t.directory;return P.join(r,".qitqode")}function et(t){if(t==="server")return"qitqode";return"tui"}async function rt(t,e,r,n,o){let x=[];try{let c=et(e.kind);const S=T(x,await v.acquire(`plug-config:${d.resolve(P.join(t,c))}`),1);let u=o.files(t,c);let s=u[0];for(let f of u){if(!await o.exists(f))continue;s=f;break}let a=await o.readText(s).catch((f)=>{if(f.code==="ENOENT")return"{}";return f});if(a instanceof Error)return{ok:!1,code:"patch_failed",kind:e.kind,error:a};let l=a.trim()?a:"{}";let i=[];let p=j(l,i,{allowTrailingComma:!0});if(i.length){let f=i[0],h=l.substring(0,f.offset).split(`
2
+ import{Io as j,Jo as R,Ko as O,Lo as A,Ro as y,Wo as q,Xo as M,Zo as C,dp as K}from"./chunk-s86fj82v.js";import{Ot as v,Rt as D}from"./chunk-08y06vgt.js";import{au as m,cu as b,iu as I,tu as d}from"./chunk-9p83me3p.js";import{HP as T,IP as _}from"./chunk-s2za1y84.js";import P from"path";function pt(t){let e=t&&typeof t==="object"&&"cause"in t?t.cause??t:t;if(!(e instanceof I.RunFailedError))return{error:e,detail:b(e),missing:!1};let r=e.stderr.toString().split(/\r?\n/).map((o)=>o.trim()).filter(Boolean),n=r.filter((o)=>o.startsWith("error:")).map((o)=>o.replace(/^error:\s*/,""));return{error:e,detail:n[0]??r.at(-1),missing:r.some((o)=>o.includes("No version matching"))}}var $={resolve:(t)=>q(t)},z={readText:(t)=>d.readText(t),write:async(t,e)=>{await d.write(t,e)},exists:(t)=>d.exists(t),files:(t,e)=>K(t,e)},G=z;function V(t){if(typeof t==="string")return t;if(!Array.isArray(t))return;if(typeof t[0]!=="string")return;return t[0]}function H(t){if(!t||typeof t!=="object"||Array.isArray(t))return;let e=t;if(!Array.isArray(e.plugin))return;return e.plugin}function Q(t){if(typeof t==="string"){let e=t.trim();if(e)return e;return}if(!m(t))return;for(let e of["import","default"]){let r=t[e];if(typeof r!=="string")continue;let n=r.trim();if(!n)continue;return n}}function U(t){if(!m(t))return;let e=t.config;if(!m(e))return;return e}function E(t,e){let r=t.exports;if(!m(r))return;let n=r[`./${e}`];if(!Q(n))return;return{opts:U(n)}}function X(t){let e=t.main;if(typeof e!=="string")return!1;return Boolean(e.trim())}function Y(t){let e=typeof t.json.name==="string"&&t.json.name.trim().length>0?t.json.name.trim():P.basename(t.dir),r=[],n=E(t.json,"server");if(n)r.push({kind:"server",opts:n.opts});else if(X(t.json))r.push({kind:"server"});let o=E(t.json,"tui");if(o)r.push({kind:"tui",opts:o.opts});if(!r.some((c)=>c.kind==="tui")&&C(e,t).length)r.push({kind:"tui"});return r}function g(t,e,r,n=!1){return A(t,O(t,e,r,{formattingOptions:{tabSize:2,insertSpaces:!0},isArrayInsertion:n}))}function Z(t,e,r,n,o=!1){let c=y(r).pkg,u=(e??[]).map((i,p)=>({item:i,i:p,spec:V(i)})).filter((i)=>{if(!i.spec)return!1;if(i.spec===r)return!0;if(i.spec.startsWith("file://"))return!1;return y(i.spec).pkg===c});if(!u.length){if(!e)return{mode:"add",text:g(t,["plugin"],[n])};return{mode:"add",text:g(t,["plugin",e.length],n,!0)}}if(!o)return{mode:"noop",text:t};let s=u[0];if(!s)return{mode:"noop",text:t};if(u.length===1&&s.spec===r)return{mode:"noop",text:t};let a=t;if(typeof s.item==="string")a=g(a,["plugin",s.i],n);if(Array.isArray(s.item)&&typeof s.item[0]==="string")a=g(a,["plugin",s.i,0],r);let l=u.map((i)=>i.i).filter((i)=>i!==s.i).sort((i,p)=>p-i);for(let i of l)a=g(a,["plugin",i],void 0);return{mode:"replace",text:a}}async function gt(t,e=$){let r=await e.resolve(t).then((n)=>({ok:!0,item:n}),(n)=>({ok:!1,error:n}));if(!r.ok)return{ok:!1,code:"install_failed",error:r.error};return{ok:!0,target:r.item}}async function dt(t){let e=await M(t).then((n)=>({ok:!0,item:n}),(n)=>({ok:!1,error:n}));if(!e.ok)return{ok:!1,code:"manifest_read_failed",file:t,error:e.error};let r=await Promise.resolve().then(()=>Y(e.item)).then((n)=>({ok:!0,item:n}),(n)=>({ok:!1,error:n}));if(!r.ok)return{ok:!1,code:"manifest_read_failed",file:e.item.pkg,error:r.error};if(!r.item.length)return{ok:!1,code:"manifest_no_targets",file:e.item.pkg};return{ok:!0,targets:r.item}}function tt(t){if(t.global)return t.config??D.Path.config;let r=t.vcs==="git"&&t.worktree!=="/"?t.worktree:t.directory;return P.join(r,".qitqode")}function et(t){if(t==="server")return"qitqode";return"tui"}async function rt(t,e,r,n,o){let x=[];try{let c=et(e.kind);const S=T(x,await v.acquire(`plug-config:${d.resolve(P.join(t,c))}`),1);let u=o.files(t,c);let s=u[0];for(let f of u){if(!await o.exists(f))continue;s=f;break}let a=await o.readText(s).catch((f)=>{if(f.code==="ENOENT")return"{}";return f});if(a instanceof Error)return{ok:!1,code:"patch_failed",kind:e.kind,error:a};let l=a.trim()?a:"{}";let i=[];let p=j(l,i,{allowTrailingComma:!0});if(i.length){let f=i[0],h=l.substring(0,f.offset).split(`
3
3
  `);return{ok:!1,code:"invalid_json",kind:e.kind,file:s,line:h.length,col:h[h.length-1].length+1,parse:R(f.error)}}let N=H(p);let F=e.opts?[r,e.opts]:r;let k=Z(l,N,r,F,n);if(k.mode==="noop")return{ok:!0,item:{kind:e.kind,mode:k.mode,file:s}};let w=await o.write(s,k.text).catch((f)=>f);if(w instanceof Error)return{ok:!1,code:"patch_failed",kind:e.kind,error:w};return{ok:!0,item:{kind:e.kind,mode:k.mode,file:s}}}catch(J){var B=J,L=1}finally{var W=_(x,B,L);W&&await W}}async function mt(t,e=G){let r=tt(t),n=[];for(let o of t.targets){let c=await rt(r,o,t.spec,Boolean(t.force),e);if(!c.ok)return{...c,dir:r};n.push(c.item)}return{ok:!0,dir:r,items:n}}
4
4
  export{pt as o,z as p,gt as q,dt as r,mt as s};
@@ -1,2 +1,2 @@
1
1
  // @bun
2
- import"./chunk-hh4c02fh.js";var e={"ui.sessionReview.title":"\u0418\u0437\u043C\u0435\u043D\u0435\u043D\u0438\u044F \u0441\u0435\u0441\u0441\u0438\u0438","ui.sessionReview.title.lastTurn":"\u0418\u0437\u043C\u0435\u043D\u0435\u043D\u0438\u044F \u043F\u043E\u0441\u043B\u0435\u0434\u043D\u0435\u0433\u043E \u0445\u043E\u0434\u0430","ui.sessionReview.diffStyle.unified":"\u041E\u0431\u044A\u0435\u0434\u0438\u043D\u0451\u043D\u043D\u044B\u0439","ui.sessionReview.diffStyle.split":"\u0420\u0430\u0437\u0434\u0435\u043B\u0451\u043D\u043D\u044B\u0439","ui.sessionReview.openFile":"\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u0444\u0430\u0439\u043B","ui.sessionReview.selection.line":"\u0441\u0442\u0440\u043E\u043A\u0430 {{line}}","ui.sessionReview.selection.lines":"\u0441\u0442\u0440\u043E\u043A\u0438 {{start}}-{{end}}","ui.sessionReview.expandAll":"\u0420\u0430\u0437\u0432\u0435\u0440\u043D\u0443\u0442\u044C \u0432\u0441\u0451","ui.sessionReview.collapseAll":"\u0421\u0432\u0435\u0440\u043D\u0443\u0442\u044C \u0432\u0441\u0451","ui.sessionReview.change.added":"\u0414\u043E\u0431\u0430\u0432\u043B\u0435\u043D\u043E","ui.sessionReview.change.removed":"\u0423\u0434\u0430\u043B\u0435\u043D\u043E","ui.sessionReview.change.modified":"\u0418\u0437\u043C\u0435\u043D\u0435\u043D\u043E","ui.sessionReview.image.loading":"\u0417\u0430\u0433\u0440\u0443\u0437\u043A\u0430...","ui.sessionReview.image.placeholder":"\u0418\u0437\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435","ui.sessionReview.largeDiff.title":"Diff \u0441\u043B\u0438\u0448\u043A\u043E\u043C \u0431\u043E\u043B\u044C\u0448\u043E\u0439 \u0434\u043B\u044F \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u044F","ui.sessionReview.largeDiff.meta":"\u041B\u0438\u043C\u0438\u0442: {{limit}} \u0438\u0437\u043C\u0435\u043D\u0451\u043D\u043D\u044B\u0445 \u0441\u0442\u0440\u043E\u043A. \u0422\u0435\u043A\u0443\u0449\u0438\u0439: {{current}} \u0438\u0437\u043C\u0435\u043D\u0451\u043D\u043D\u044B\u0445 \u0441\u0442\u0440\u043E\u043A.","ui.sessionReview.largeDiff.renderAnyway":"\u041E\u0442\u043E\u0431\u0440\u0430\u0437\u0438\u0442\u044C \u0432\u0441\u0451 \u0440\u0430\u0432\u043D\u043E","ui.fileMedia.kind.image":"\u0438\u0437\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435","ui.fileMedia.kind.audio":"\u0430\u0443\u0434\u0438\u043E","ui.fileMedia.state.removed":"{{kind}} \u0443\u0434\u0430\u043B\u0435\u043D\u043E","ui.fileMedia.state.loading":"\u0417\u0430\u0433\u0440\u0443\u0436\u0430\u0435\u0442\u0441\u044F {{kind}}...","ui.fileMedia.state.error":"\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044C {{kind}}","ui.fileMedia.state.unavailable":"{{kind}} \u043D\u0435\u0434\u043E\u0441\u0442\u0443\u043F\u043D\u043E","ui.fileMedia.binary.title":"\u0411\u0438\u043D\u0430\u0440\u043D\u044B\u0439 \u0444\u0430\u0439\u043B","ui.fileMedia.binary.description.path":"\u041D\u0435\u0432\u043E\u0437\u043C\u043E\u0436\u043D\u043E \u043E\u0442\u043E\u0431\u0440\u0430\u0437\u0438\u0442\u044C {{path}}, \u0442\u0430\u043A \u043A\u0430\u043A \u044D\u0442\u043E \u0431\u0438\u043D\u0430\u0440\u043D\u044B\u0439 \u0444\u0430\u0439\u043B.","ui.fileMedia.binary.description.default":"\u041D\u0435\u0432\u043E\u0437\u043C\u043E\u0436\u043D\u043E \u043E\u0442\u043E\u0431\u0440\u0430\u0437\u0438\u0442\u044C \u044D\u0442\u043E\u0442 \u0444\u0430\u0439\u043B, \u0442\u0430\u043A \u043A\u0430\u043A \u043E\u043D \u0431\u0438\u043D\u0430\u0440\u043D\u044B\u0439.","ui.lineComment.label.prefix":"\u041A\u043E\u043C\u043C\u0435\u043D\u0442\u0430\u0440\u0438\u0439 \u043A ","ui.lineComment.label.suffix":"","ui.lineComment.editorLabel.prefix":"\u041A\u043E\u043C\u043C\u0435\u043D\u0442\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u0435: ","ui.lineComment.editorLabel.suffix":"","ui.lineComment.placeholder":"\u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C \u043A\u043E\u043C\u043C\u0435\u043D\u0442\u0430\u0440\u0438\u0439","ui.lineComment.submit":"\u041A\u043E\u043C\u043C\u0435\u043D\u0442\u0438\u0440\u043E\u0432\u0430\u0442\u044C","ui.sessionTurn.steps.show":"\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u0448\u0430\u0433\u0438","ui.sessionTurn.steps.hide":"\u0421\u043A\u0440\u044B\u0442\u044C \u0448\u0430\u0433\u0438","ui.sessionTurn.summary.response":"\u041E\u0442\u0432\u0435\u0442","ui.sessionTurn.diff.showMore":"\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u0435\u0449\u0451 \u0438\u0437\u043C\u0435\u043D\u0435\u043D\u0438\u0439 ({{count}})","ui.sessionTurn.retry.retrying":"\u043F\u043E\u0432\u0442\u043E\u0440","ui.sessionTurn.retry.inSeconds":"\u0447\u0435\u0440\u0435\u0437 {{seconds}}\u0441","ui.sessionTurn.retry.attempt":"\u043F\u043E\u043F\u044B\u0442\u043A\u0430 \u2116{{attempt}}","ui.sessionTurn.retry.attemptLine":"{{line}} - \u043F\u043E\u043F\u044B\u0442\u043A\u0430 \u2116{{attempt}}","ui.sessionTurn.retry.geminiHot":"gemini \u0441\u0435\u0439\u0447\u0430\u0441 \u043F\u0435\u0440\u0435\u0433\u0440\u0443\u0436\u0435\u043D","ui.sessionTurn.error.freeUsageExceeded":"\u041B\u0438\u043C\u0438\u0442 \u0431\u0435\u0441\u043F\u043B\u0430\u0442\u043D\u043E\u0433\u043E \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u044F \u043F\u0440\u0435\u0432\u044B\u0448\u0435\u043D","ui.sessionTurn.error.addQredits":"\u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C \u043A\u0440\u0435\u0434\u0438\u0442\u044B","ui.sessionTurn.status.delegating":"\u0414\u0435\u043B\u0435\u0433\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u0435 \u0440\u0430\u0431\u043E\u0442\u044B","ui.sessionTurn.status.planning":"\u041F\u043B\u0430\u043D\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u0435 \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0438\u0445 \u0448\u0430\u0433\u043E\u0432","ui.sessionTurn.status.gatheringContext":"\u0418\u0441\u0441\u043B\u0435\u0434\u043E\u0432\u0430\u043D\u0438\u0435","ui.sessionTurn.status.gatheredContext":"\u0418\u0441\u0441\u043B\u0435\u0434\u043E\u0432\u0430\u043D\u043E","ui.sessionTurn.status.searchingCodebase":"\u041F\u043E\u0438\u0441\u043A \u0432 \u043A\u043E\u0434\u043E\u0432\u043E\u0439 \u0431\u0430\u0437\u0435","ui.sessionTurn.status.searchingWeb":"\u041F\u043E\u0438\u0441\u043A \u0432 \u0438\u043D\u0442\u0435\u0440\u043D\u0435\u0442\u0435","ui.sessionTurn.status.makingEdits":"\u0412\u043D\u0435\u0441\u0435\u043D\u0438\u0435 \u0438\u0437\u043C\u0435\u043D\u0435\u043D\u0438\u0439","ui.sessionTurn.status.runningCommands":"\u0412\u044B\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u0435 \u043A\u043E\u043C\u0430\u043D\u0434","ui.sessionTurn.status.thinking":"\u0420\u0430\u0437\u043C\u044B\u0448\u043B\u0435\u043D\u0438\u0435","ui.sessionTurn.status.thinkingWithTopic":"\u0420\u0430\u0437\u043C\u044B\u0448\u043B\u0435\u043D\u0438\u0435 - {{topic}}","ui.sessionTurn.status.gatheringThoughts":"\u0421\u0431\u043E\u0440 \u043C\u044B\u0441\u043B\u0435\u0439","ui.sessionTurn.status.consideringNextSteps":"\u0420\u0430\u0441\u0441\u043C\u043E\u0442\u0440\u0435\u043D\u0438\u0435 \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0438\u0445 \u0448\u0430\u0433\u043E\u0432","ui.messagePart.questions.dismissed":"\u0412\u043E\u043F\u0440\u043E\u0441\u044B \u043E\u0442\u043A\u043B\u043E\u043D\u0435\u043D\u044B","ui.messagePart.compaction":"\u0421\u0435\u0441\u0441\u0438\u044F \u0441\u0436\u0430\u0442\u0430","ui.messagePart.context.read.one":"{{count}} \u0447\u0442\u0435\u043D\u0438\u0435","ui.messagePart.context.read.other":"{{count}} \u0447\u0442\u0435\u043D\u0438\u0439","ui.messagePart.context.search.one":"{{count}} \u043F\u043E\u0438\u0441\u043A","ui.messagePart.context.search.other":"{{count}} \u043F\u043E\u0438\u0441\u043A\u043E\u0432","ui.messagePart.context.list.one":"{{count}} \u0441\u043F\u0438\u0441\u043E\u043A","ui.messagePart.context.list.other":"{{count}} \u0441\u043F\u0438\u0441\u043A\u043E\u0432","ui.messagePart.diagnostic.error":"\u041E\u0448\u0438\u0431\u043A\u0430","ui.messagePart.title.edit":"\u0420\u0435\u0434\u0430\u043A\u0442\u0438\u0440\u043E\u0432\u0430\u0442\u044C","ui.messagePart.title.write":"\u041D\u0430\u043F\u0438\u0441\u0430\u0442\u044C","ui.messagePart.option.typeOwnAnswer":"\u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u0441\u0432\u043E\u0439 \u043E\u0442\u0432\u0435\u0442","ui.messagePart.review.title":"\u041F\u0440\u043E\u0432\u0435\u0440\u044C\u0442\u0435 \u0432\u0430\u0448\u0438 \u043E\u0442\u0432\u0435\u0442\u044B","ui.list.loading":"\u0417\u0430\u0433\u0440\u0443\u0437\u043A\u0430","ui.list.empty":"\u041D\u0435\u0442 \u0440\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u043E\u0432","ui.list.clearFilter":"\u041E\u0447\u0438\u0441\u0442\u0438\u0442\u044C \u0444\u0438\u043B\u044C\u0442\u0440","ui.list.emptyWithFilter.prefix":"\u041D\u0435\u0442 \u0440\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u043E\u0432 \u0434\u043B\u044F","ui.list.emptyWithFilter.suffix":"","ui.messageNav.newMessage":"\u041D\u043E\u0432\u043E\u0435 \u0441\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u0435","ui.textField.copyToClipboard":"\u041A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0432 \u0431\u0443\u0444\u0435\u0440 \u043E\u0431\u043C\u0435\u043D\u0430","ui.textField.copyLink":"\u041A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0441\u0441\u044B\u043B\u043A\u0443","ui.textField.copied":"\u0421\u043A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u043D\u043E","ui.imagePreview.alt":"\u041F\u0440\u0435\u0434\u043F\u0440\u043E\u0441\u043C\u043E\u0442\u0440 \u0438\u0437\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u044F","ui.scrollView.ariaLabel":"\u043F\u0440\u043E\u043A\u0440\u0443\u0447\u0438\u0432\u0430\u0435\u043C\u044B\u0439 \u043A\u043E\u043D\u0442\u0435\u043D\u0442","ui.tool.read":"\u0427\u0442\u0435\u043D\u0438\u0435","ui.tool.loaded":"\u0417\u0430\u0433\u0440\u0443\u0436\u0435\u043D\u043E","ui.tool.list":"\u0421\u043F\u0438\u0441\u043E\u043A","ui.tool.glob":"Glob","ui.tool.grep":"Grep","ui.tool.webfetch":"Webfetch","ui.tool.websearch":"\u0412\u0435\u0431-\u043F\u043E\u0438\u0441\u043A","ui.tool.codesearch":"\u041F\u043E\u0438\u0441\u043A \u043A\u043E\u0434\u0430","ui.tool.shell":"\u041E\u0431\u043E\u043B\u043E\u0447\u043A\u0430","ui.tool.patch":"\u041F\u0430\u0442\u0447","ui.tool.todos":"\u0417\u0430\u0434\u0430\u0447\u0438","ui.tool.todos.read":"\u0427\u0438\u0442\u0430\u0442\u044C \u0437\u0430\u0434\u0430\u0447\u0438","ui.tool.questions":"\u0412\u043E\u043F\u0440\u043E\u0441\u044B","ui.tool.agent":"\u0410\u0433\u0435\u043D\u0442 {{type}}","ui.tool.agent.default":"\u0410\u0433\u0435\u043D\u0442","ui.common.file.one":"\u0444\u0430\u0439\u043B","ui.common.file.other":"\u0444\u0430\u0439\u043B\u043E\u0432","ui.common.question.one":"\u0432\u043E\u043F\u0440\u043E\u0441","ui.common.question.other":"\u0432\u043E\u043F\u0440\u043E\u0441\u043E\u0432","ui.common.add":"\u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C","ui.common.back":"\u041D\u0430\u0437\u0430\u0434","ui.common.cancel":"\u041E\u0442\u043C\u0435\u043D\u0430","ui.common.confirm":"\u041F\u043E\u0434\u0442\u0432\u0435\u0440\u0434\u0438\u0442\u044C","ui.common.dismiss":"\u0417\u0430\u043A\u0440\u044B\u0442\u044C","ui.common.close":"\u0417\u0430\u043A\u0440\u044B\u0442\u044C","ui.common.next":"\u0414\u0430\u043B\u0435\u0435","ui.common.submit":"\u041E\u0442\u043F\u0440\u0430\u0432\u0438\u0442\u044C","ui.permission.deny":"\u0417\u0430\u043F\u0440\u0435\u0442\u0438\u0442\u044C","ui.permission.allowAlways":"\u0420\u0430\u0437\u0440\u0435\u0448\u0438\u0442\u044C \u0432\u0441\u0435\u0433\u0434\u0430","ui.permission.allowOnce":"\u0420\u0430\u0437\u0440\u0435\u0448\u0438\u0442\u044C \u043E\u0434\u0438\u043D \u0440\u0430\u0437","ui.message.expand":"\u0420\u0430\u0437\u0432\u0435\u0440\u043D\u0443\u0442\u044C \u0441\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u0435","ui.message.collapse":"\u0421\u0432\u0435\u0440\u043D\u0443\u0442\u044C \u0441\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u0435","ui.message.copy":"\u041A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C","ui.message.copyMessage":"\u041A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0441\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u0435","ui.message.forkMessage":"\u041E\u0442\u0432\u0435\u0442\u0432\u0438\u0442\u044C \u0432 \u043D\u043E\u0432\u0443\u044E \u0441\u0435\u0441\u0441\u0438\u044E","ui.message.revertMessage":"\u0421\u0431\u0440\u043E\u0441\u0438\u0442\u044C \u0434\u043E \u044D\u0442\u043E\u0433\u043E \u043C\u043E\u043C\u0435\u043D\u0442\u0430","ui.message.copyResponse":"\u041A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u043E\u0442\u0432\u0435\u0442","ui.message.copied":"\u0421\u043A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u043D\u043E!","ui.message.interrupted":"\u041F\u0440\u0435\u0440\u0432\u0430\u043D\u043E","ui.message.queued":"\u0412 \u043E\u0447\u0435\u0440\u0435\u0434\u0438","ui.message.attachment.alt":"\u0432\u043B\u043E\u0436\u0435\u043D\u0438\u0435","ui.patch.action.deleted":"\u0423\u0434\u0430\u043B\u0435\u043D\u043E","ui.patch.action.created":"\u0421\u043E\u0437\u0434\u0430\u043D\u043E","ui.patch.action.moved":"\u041F\u0435\u0440\u0435\u043C\u0435\u0449\u0435\u043D\u043E","ui.patch.action.patched":"\u0418\u0437\u043C\u0435\u043D\u0435\u043D\u043E","ui.question.subtitle.answered":"{{count}} \u043E\u0442\u0432\u0435\u0447\u0435\u043D\u043E","ui.question.answer.none":"(\u043D\u0435\u0442 \u043E\u0442\u0432\u0435\u0442\u0430)","ui.question.review.notAnswered":"(\u043D\u0435 \u043E\u0442\u0432\u0435\u0447\u0435\u043D\u043E)","ui.question.multiHint":"\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0432\u0441\u0435 \u043F\u043E\u0434\u0445\u043E\u0434\u044F\u0449\u0438\u0435","ui.question.singleHint":"\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u043E\u0434\u0438\u043D \u043E\u0442\u0432\u0435\u0442","ui.question.custom.placeholder":"\u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u0432\u0430\u0448 \u043E\u0442\u0432\u0435\u0442...","ui.fileSearch.placeholder":"\u041D\u0430\u0439\u0442\u0438","ui.fileSearch.previousMatch":"\u041F\u0440\u0435\u0434\u044B\u0434\u0443\u0449\u0435\u0435","ui.fileSearch.nextMatch":"\u0421\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u0435","ui.fileSearch.close":"\u0417\u0430\u043A\u0440\u044B\u0442\u044C \u043F\u043E\u0438\u0441\u043A","ui.tool.task":"\u0417\u0430\u0434\u0430\u0447\u0430","ui.tool.skill":"\u041D\u0430\u0432\u044B\u043A","ui.basicTool.called":"\u0412\u044B\u0437\u0432\u0430\u043D `{{tool}}`","ui.toolErrorCard.failed":"\u041E\u0448\u0438\u0431\u043A\u0430","ui.toolErrorCard.copyError":"\u0421\u043A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u043E\u0448\u0438\u0431\u043A\u0443","ui.message.duration.seconds":"{{count}}\u0441","ui.message.duration.minutesSeconds":"{{minutes}}\u043C {{seconds}}\u0441"};export{e as dict};
2
+ import"./chunk-s2za1y84.js";var e={"ui.sessionReview.title":"\u0418\u0437\u043C\u0435\u043D\u0435\u043D\u0438\u044F \u0441\u0435\u0441\u0441\u0438\u0438","ui.sessionReview.title.lastTurn":"\u0418\u0437\u043C\u0435\u043D\u0435\u043D\u0438\u044F \u043F\u043E\u0441\u043B\u0435\u0434\u043D\u0435\u0433\u043E \u0445\u043E\u0434\u0430","ui.sessionReview.diffStyle.unified":"\u041E\u0431\u044A\u0435\u0434\u0438\u043D\u0451\u043D\u043D\u044B\u0439","ui.sessionReview.diffStyle.split":"\u0420\u0430\u0437\u0434\u0435\u043B\u0451\u043D\u043D\u044B\u0439","ui.sessionReview.openFile":"\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u0444\u0430\u0439\u043B","ui.sessionReview.selection.line":"\u0441\u0442\u0440\u043E\u043A\u0430 {{line}}","ui.sessionReview.selection.lines":"\u0441\u0442\u0440\u043E\u043A\u0438 {{start}}-{{end}}","ui.sessionReview.expandAll":"\u0420\u0430\u0437\u0432\u0435\u0440\u043D\u0443\u0442\u044C \u0432\u0441\u0451","ui.sessionReview.collapseAll":"\u0421\u0432\u0435\u0440\u043D\u0443\u0442\u044C \u0432\u0441\u0451","ui.sessionReview.change.added":"\u0414\u043E\u0431\u0430\u0432\u043B\u0435\u043D\u043E","ui.sessionReview.change.removed":"\u0423\u0434\u0430\u043B\u0435\u043D\u043E","ui.sessionReview.change.modified":"\u0418\u0437\u043C\u0435\u043D\u0435\u043D\u043E","ui.sessionReview.image.loading":"\u0417\u0430\u0433\u0440\u0443\u0437\u043A\u0430...","ui.sessionReview.image.placeholder":"\u0418\u0437\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435","ui.sessionReview.largeDiff.title":"Diff \u0441\u043B\u0438\u0448\u043A\u043E\u043C \u0431\u043E\u043B\u044C\u0448\u043E\u0439 \u0434\u043B\u044F \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u044F","ui.sessionReview.largeDiff.meta":"\u041B\u0438\u043C\u0438\u0442: {{limit}} \u0438\u0437\u043C\u0435\u043D\u0451\u043D\u043D\u044B\u0445 \u0441\u0442\u0440\u043E\u043A. \u0422\u0435\u043A\u0443\u0449\u0438\u0439: {{current}} \u0438\u0437\u043C\u0435\u043D\u0451\u043D\u043D\u044B\u0445 \u0441\u0442\u0440\u043E\u043A.","ui.sessionReview.largeDiff.renderAnyway":"\u041E\u0442\u043E\u0431\u0440\u0430\u0437\u0438\u0442\u044C \u0432\u0441\u0451 \u0440\u0430\u0432\u043D\u043E","ui.fileMedia.kind.image":"\u0438\u0437\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435","ui.fileMedia.kind.audio":"\u0430\u0443\u0434\u0438\u043E","ui.fileMedia.state.removed":"{{kind}} \u0443\u0434\u0430\u043B\u0435\u043D\u043E","ui.fileMedia.state.loading":"\u0417\u0430\u0433\u0440\u0443\u0436\u0430\u0435\u0442\u0441\u044F {{kind}}...","ui.fileMedia.state.error":"\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044C {{kind}}","ui.fileMedia.state.unavailable":"{{kind}} \u043D\u0435\u0434\u043E\u0441\u0442\u0443\u043F\u043D\u043E","ui.fileMedia.binary.title":"\u0411\u0438\u043D\u0430\u0440\u043D\u044B\u0439 \u0444\u0430\u0439\u043B","ui.fileMedia.binary.description.path":"\u041D\u0435\u0432\u043E\u0437\u043C\u043E\u0436\u043D\u043E \u043E\u0442\u043E\u0431\u0440\u0430\u0437\u0438\u0442\u044C {{path}}, \u0442\u0430\u043A \u043A\u0430\u043A \u044D\u0442\u043E \u0431\u0438\u043D\u0430\u0440\u043D\u044B\u0439 \u0444\u0430\u0439\u043B.","ui.fileMedia.binary.description.default":"\u041D\u0435\u0432\u043E\u0437\u043C\u043E\u0436\u043D\u043E \u043E\u0442\u043E\u0431\u0440\u0430\u0437\u0438\u0442\u044C \u044D\u0442\u043E\u0442 \u0444\u0430\u0439\u043B, \u0442\u0430\u043A \u043A\u0430\u043A \u043E\u043D \u0431\u0438\u043D\u0430\u0440\u043D\u044B\u0439.","ui.lineComment.label.prefix":"\u041A\u043E\u043C\u043C\u0435\u043D\u0442\u0430\u0440\u0438\u0439 \u043A ","ui.lineComment.label.suffix":"","ui.lineComment.editorLabel.prefix":"\u041A\u043E\u043C\u043C\u0435\u043D\u0442\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u0435: ","ui.lineComment.editorLabel.suffix":"","ui.lineComment.placeholder":"\u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C \u043A\u043E\u043C\u043C\u0435\u043D\u0442\u0430\u0440\u0438\u0439","ui.lineComment.submit":"\u041A\u043E\u043C\u043C\u0435\u043D\u0442\u0438\u0440\u043E\u0432\u0430\u0442\u044C","ui.sessionTurn.steps.show":"\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u0448\u0430\u0433\u0438","ui.sessionTurn.steps.hide":"\u0421\u043A\u0440\u044B\u0442\u044C \u0448\u0430\u0433\u0438","ui.sessionTurn.summary.response":"\u041E\u0442\u0432\u0435\u0442","ui.sessionTurn.diff.showMore":"\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u0435\u0449\u0451 \u0438\u0437\u043C\u0435\u043D\u0435\u043D\u0438\u0439 ({{count}})","ui.sessionTurn.retry.retrying":"\u043F\u043E\u0432\u0442\u043E\u0440","ui.sessionTurn.retry.inSeconds":"\u0447\u0435\u0440\u0435\u0437 {{seconds}}\u0441","ui.sessionTurn.retry.attempt":"\u043F\u043E\u043F\u044B\u0442\u043A\u0430 \u2116{{attempt}}","ui.sessionTurn.retry.attemptLine":"{{line}} - \u043F\u043E\u043F\u044B\u0442\u043A\u0430 \u2116{{attempt}}","ui.sessionTurn.retry.geminiHot":"gemini \u0441\u0435\u0439\u0447\u0430\u0441 \u043F\u0435\u0440\u0435\u0433\u0440\u0443\u0436\u0435\u043D","ui.sessionTurn.error.freeUsageExceeded":"\u041B\u0438\u043C\u0438\u0442 \u0431\u0435\u0441\u043F\u043B\u0430\u0442\u043D\u043E\u0433\u043E \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u044F \u043F\u0440\u0435\u0432\u044B\u0448\u0435\u043D","ui.sessionTurn.error.addQredits":"\u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C \u043A\u0440\u0435\u0434\u0438\u0442\u044B","ui.sessionTurn.status.delegating":"\u0414\u0435\u043B\u0435\u0433\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u0435 \u0440\u0430\u0431\u043E\u0442\u044B","ui.sessionTurn.status.planning":"\u041F\u043B\u0430\u043D\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u0435 \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0438\u0445 \u0448\u0430\u0433\u043E\u0432","ui.sessionTurn.status.gatheringContext":"\u0418\u0441\u0441\u043B\u0435\u0434\u043E\u0432\u0430\u043D\u0438\u0435","ui.sessionTurn.status.gatheredContext":"\u0418\u0441\u0441\u043B\u0435\u0434\u043E\u0432\u0430\u043D\u043E","ui.sessionTurn.status.searchingCodebase":"\u041F\u043E\u0438\u0441\u043A \u0432 \u043A\u043E\u0434\u043E\u0432\u043E\u0439 \u0431\u0430\u0437\u0435","ui.sessionTurn.status.searchingWeb":"\u041F\u043E\u0438\u0441\u043A \u0432 \u0438\u043D\u0442\u0435\u0440\u043D\u0435\u0442\u0435","ui.sessionTurn.status.makingEdits":"\u0412\u043D\u0435\u0441\u0435\u043D\u0438\u0435 \u0438\u0437\u043C\u0435\u043D\u0435\u043D\u0438\u0439","ui.sessionTurn.status.runningCommands":"\u0412\u044B\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u0435 \u043A\u043E\u043C\u0430\u043D\u0434","ui.sessionTurn.status.thinking":"\u0420\u0430\u0437\u043C\u044B\u0448\u043B\u0435\u043D\u0438\u0435","ui.sessionTurn.status.thinkingWithTopic":"\u0420\u0430\u0437\u043C\u044B\u0448\u043B\u0435\u043D\u0438\u0435 - {{topic}}","ui.sessionTurn.status.gatheringThoughts":"\u0421\u0431\u043E\u0440 \u043C\u044B\u0441\u043B\u0435\u0439","ui.sessionTurn.status.consideringNextSteps":"\u0420\u0430\u0441\u0441\u043C\u043E\u0442\u0440\u0435\u043D\u0438\u0435 \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0438\u0445 \u0448\u0430\u0433\u043E\u0432","ui.messagePart.questions.dismissed":"\u0412\u043E\u043F\u0440\u043E\u0441\u044B \u043E\u0442\u043A\u043B\u043E\u043D\u0435\u043D\u044B","ui.messagePart.compaction":"\u0421\u0435\u0441\u0441\u0438\u044F \u0441\u0436\u0430\u0442\u0430","ui.messagePart.context.read.one":"{{count}} \u0447\u0442\u0435\u043D\u0438\u0435","ui.messagePart.context.read.other":"{{count}} \u0447\u0442\u0435\u043D\u0438\u0439","ui.messagePart.context.search.one":"{{count}} \u043F\u043E\u0438\u0441\u043A","ui.messagePart.context.search.other":"{{count}} \u043F\u043E\u0438\u0441\u043A\u043E\u0432","ui.messagePart.context.list.one":"{{count}} \u0441\u043F\u0438\u0441\u043E\u043A","ui.messagePart.context.list.other":"{{count}} \u0441\u043F\u0438\u0441\u043A\u043E\u0432","ui.messagePart.diagnostic.error":"\u041E\u0448\u0438\u0431\u043A\u0430","ui.messagePart.title.edit":"\u0420\u0435\u0434\u0430\u043A\u0442\u0438\u0440\u043E\u0432\u0430\u0442\u044C","ui.messagePart.title.write":"\u041D\u0430\u043F\u0438\u0441\u0430\u0442\u044C","ui.messagePart.option.typeOwnAnswer":"\u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u0441\u0432\u043E\u0439 \u043E\u0442\u0432\u0435\u0442","ui.messagePart.review.title":"\u041F\u0440\u043E\u0432\u0435\u0440\u044C\u0442\u0435 \u0432\u0430\u0448\u0438 \u043E\u0442\u0432\u0435\u0442\u044B","ui.list.loading":"\u0417\u0430\u0433\u0440\u0443\u0437\u043A\u0430","ui.list.empty":"\u041D\u0435\u0442 \u0440\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u043E\u0432","ui.list.clearFilter":"\u041E\u0447\u0438\u0441\u0442\u0438\u0442\u044C \u0444\u0438\u043B\u044C\u0442\u0440","ui.list.emptyWithFilter.prefix":"\u041D\u0435\u0442 \u0440\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u043E\u0432 \u0434\u043B\u044F","ui.list.emptyWithFilter.suffix":"","ui.messageNav.newMessage":"\u041D\u043E\u0432\u043E\u0435 \u0441\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u0435","ui.textField.copyToClipboard":"\u041A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0432 \u0431\u0443\u0444\u0435\u0440 \u043E\u0431\u043C\u0435\u043D\u0430","ui.textField.copyLink":"\u041A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0441\u0441\u044B\u043B\u043A\u0443","ui.textField.copied":"\u0421\u043A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u043D\u043E","ui.imagePreview.alt":"\u041F\u0440\u0435\u0434\u043F\u0440\u043E\u0441\u043C\u043E\u0442\u0440 \u0438\u0437\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u044F","ui.scrollView.ariaLabel":"\u043F\u0440\u043E\u043A\u0440\u0443\u0447\u0438\u0432\u0430\u0435\u043C\u044B\u0439 \u043A\u043E\u043D\u0442\u0435\u043D\u0442","ui.tool.read":"\u0427\u0442\u0435\u043D\u0438\u0435","ui.tool.loaded":"\u0417\u0430\u0433\u0440\u0443\u0436\u0435\u043D\u043E","ui.tool.list":"\u0421\u043F\u0438\u0441\u043E\u043A","ui.tool.glob":"Glob","ui.tool.grep":"Grep","ui.tool.webfetch":"Webfetch","ui.tool.websearch":"\u0412\u0435\u0431-\u043F\u043E\u0438\u0441\u043A","ui.tool.codesearch":"\u041F\u043E\u0438\u0441\u043A \u043A\u043E\u0434\u0430","ui.tool.shell":"\u041E\u0431\u043E\u043B\u043E\u0447\u043A\u0430","ui.tool.patch":"\u041F\u0430\u0442\u0447","ui.tool.todos":"\u0417\u0430\u0434\u0430\u0447\u0438","ui.tool.todos.read":"\u0427\u0438\u0442\u0430\u0442\u044C \u0437\u0430\u0434\u0430\u0447\u0438","ui.tool.questions":"\u0412\u043E\u043F\u0440\u043E\u0441\u044B","ui.tool.agent":"\u0410\u0433\u0435\u043D\u0442 {{type}}","ui.tool.agent.default":"\u0410\u0433\u0435\u043D\u0442","ui.common.file.one":"\u0444\u0430\u0439\u043B","ui.common.file.other":"\u0444\u0430\u0439\u043B\u043E\u0432","ui.common.question.one":"\u0432\u043E\u043F\u0440\u043E\u0441","ui.common.question.other":"\u0432\u043E\u043F\u0440\u043E\u0441\u043E\u0432","ui.common.add":"\u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C","ui.common.back":"\u041D\u0430\u0437\u0430\u0434","ui.common.cancel":"\u041E\u0442\u043C\u0435\u043D\u0430","ui.common.confirm":"\u041F\u043E\u0434\u0442\u0432\u0435\u0440\u0434\u0438\u0442\u044C","ui.common.dismiss":"\u0417\u0430\u043A\u0440\u044B\u0442\u044C","ui.common.close":"\u0417\u0430\u043A\u0440\u044B\u0442\u044C","ui.common.next":"\u0414\u0430\u043B\u0435\u0435","ui.common.submit":"\u041E\u0442\u043F\u0440\u0430\u0432\u0438\u0442\u044C","ui.permission.deny":"\u0417\u0430\u043F\u0440\u0435\u0442\u0438\u0442\u044C","ui.permission.allowAlways":"\u0420\u0430\u0437\u0440\u0435\u0448\u0438\u0442\u044C \u0432\u0441\u0435\u0433\u0434\u0430","ui.permission.allowOnce":"\u0420\u0430\u0437\u0440\u0435\u0448\u0438\u0442\u044C \u043E\u0434\u0438\u043D \u0440\u0430\u0437","ui.message.expand":"\u0420\u0430\u0437\u0432\u0435\u0440\u043D\u0443\u0442\u044C \u0441\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u0435","ui.message.collapse":"\u0421\u0432\u0435\u0440\u043D\u0443\u0442\u044C \u0441\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u0435","ui.message.copy":"\u041A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C","ui.message.copyMessage":"\u041A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0441\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u0435","ui.message.forkMessage":"\u041E\u0442\u0432\u0435\u0442\u0432\u0438\u0442\u044C \u0432 \u043D\u043E\u0432\u0443\u044E \u0441\u0435\u0441\u0441\u0438\u044E","ui.message.revertMessage":"\u0421\u0431\u0440\u043E\u0441\u0438\u0442\u044C \u0434\u043E \u044D\u0442\u043E\u0433\u043E \u043C\u043E\u043C\u0435\u043D\u0442\u0430","ui.message.copyResponse":"\u041A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u043E\u0442\u0432\u0435\u0442","ui.message.copied":"\u0421\u043A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u043D\u043E!","ui.message.interrupted":"\u041F\u0440\u0435\u0440\u0432\u0430\u043D\u043E","ui.message.queued":"\u0412 \u043E\u0447\u0435\u0440\u0435\u0434\u0438","ui.message.attachment.alt":"\u0432\u043B\u043E\u0436\u0435\u043D\u0438\u0435","ui.patch.action.deleted":"\u0423\u0434\u0430\u043B\u0435\u043D\u043E","ui.patch.action.created":"\u0421\u043E\u0437\u0434\u0430\u043D\u043E","ui.patch.action.moved":"\u041F\u0435\u0440\u0435\u043C\u0435\u0449\u0435\u043D\u043E","ui.patch.action.patched":"\u0418\u0437\u043C\u0435\u043D\u0435\u043D\u043E","ui.question.subtitle.answered":"{{count}} \u043E\u0442\u0432\u0435\u0447\u0435\u043D\u043E","ui.question.answer.none":"(\u043D\u0435\u0442 \u043E\u0442\u0432\u0435\u0442\u0430)","ui.question.review.notAnswered":"(\u043D\u0435 \u043E\u0442\u0432\u0435\u0447\u0435\u043D\u043E)","ui.question.multiHint":"\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0432\u0441\u0435 \u043F\u043E\u0434\u0445\u043E\u0434\u044F\u0449\u0438\u0435","ui.question.singleHint":"\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u043E\u0434\u0438\u043D \u043E\u0442\u0432\u0435\u0442","ui.question.custom.placeholder":"\u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u0432\u0430\u0448 \u043E\u0442\u0432\u0435\u0442...","ui.fileSearch.placeholder":"\u041D\u0430\u0439\u0442\u0438","ui.fileSearch.previousMatch":"\u041F\u0440\u0435\u0434\u044B\u0434\u0443\u0449\u0435\u0435","ui.fileSearch.nextMatch":"\u0421\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u0435","ui.fileSearch.close":"\u0417\u0430\u043A\u0440\u044B\u0442\u044C \u043F\u043E\u0438\u0441\u043A","ui.tool.task":"\u0417\u0430\u0434\u0430\u0447\u0430","ui.tool.skill":"\u041D\u0430\u0432\u044B\u043A","ui.basicTool.called":"\u0412\u044B\u0437\u0432\u0430\u043D `{{tool}}`","ui.toolErrorCard.failed":"\u041E\u0448\u0438\u0431\u043A\u0430","ui.toolErrorCard.copyError":"\u0421\u043A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u043E\u0448\u0438\u0431\u043A\u0443","ui.message.duration.seconds":"{{count}}\u0441","ui.message.duration.minutesSeconds":"{{minutes}}\u043C {{seconds}}\u0441"};export{e as dict};
@@ -0,0 +1,2 @@
1
+ // @bun
2
+ import"./chunk-s2za1y84.js";var L="./libopentui-430t0qv0.dylib";export{L as default};
@@ -1,5 +1,5 @@
1
1
  // @bun
2
- import"./chunk-hh4c02fh.js";var{create:Zr,defineProperty:xt,getOwnPropertyDescriptor:Xr,getOwnPropertyNames:Yr,getPrototypeOf:es}=Object,ts=Object.prototype.hasOwnProperty,A=(e,s)=>()=>(s||e((s={exports:{}}).exports,s),s.exports),Xt=(e,s)=>{for(var n in s)xt(e,n,{get:s[n],enumerable:!0})},rs=(e,s,n,o)=>{if(s&&typeof s=="object"||typeof s=="function")for(let c of Yr(s))!ts.call(e,c)&&c!==n&&xt(e,c,{get:()=>s[c],enumerable:!(o=Xr(s,c))||o.enumerable});return e},xe=(e,s,n)=>(n=e!=null?Zr(es(e)):{},rs(s||!e||!e.__esModule?xt(n,"default",{value:e,enumerable:!0}):n,e)),ss=A((e,s)=>{var n=String,o=function(){return{isColorSupported:!1,reset:n,bold:n,dim:n,italic:n,underline:n,inverse:n,hidden:n,strikethrough:n,black:n,red:n,green:n,yellow:n,blue:n,magenta:n,cyan:n,white:n,gray:n,bgBlack:n,bgRed:n,bgGreen:n,bgYellow:n,bgBlue:n,bgMagenta:n,bgCyan:n,bgWhite:n,blackBright:n,redBright:n,greenBright:n,yellowBright:n,blueBright:n,magentaBright:n,cyanBright:n,whiteBright:n,bgBlackBright:n,bgRedBright:n,bgGreenBright:n,bgYellowBright:n,bgBlueBright:n,bgMagentaBright:n,bgCyanBright:n,bgWhiteBright:n}};s.exports=o(),s.exports.createColors=o}),Yt=A(()=>{}),kt=A((e,s)=>{var n=ss(),o=Yt(),c=class i extends Error{constructor(h,p,m,u,r,t){super(h),this.name="CssSyntaxError",this.reason=h,r&&(this.file=r),u&&(this.source=u),t&&(this.plugin=t),typeof p<"u"&&typeof m<"u"&&(typeof p=="number"?(this.line=p,this.column=m):(this.line=p.line,this.column=p.column,this.endLine=m.line,this.endColumn=m.column)),this.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(this,i)}setMessage(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"<css input>",typeof this.line<"u"&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason}showSourceCode(h){if(!this.source)return"";let p=this.source;h==null&&(h=n.isColorSupported);let m=(l)=>l,u=(l)=>l,r=(l)=>l;if(h){let{bold:l,gray:w,red:y}=n.createColors(!0);u=(v)=>l(y(v)),m=(v)=>w(v),o&&(r=(v)=>o(v))}let t=p.split(/\r?\n/),f=Math.max(this.line-3,0),a=Math.min(this.line+2,t.length),d=String(a).length;return t.slice(f,a).map((l,w)=>{let y=f+1+w,v=" "+(" "+y).slice(-d)+" | ";if(y===this.line){if(l.length>160){let x=20,b=Math.max(0,this.column-x),T=Math.max(this.column+x,this.endColumn+x),O=l.slice(b,T),k=m(v.replace(/\d/g," "))+l.slice(0,Math.min(this.column-1,x-1)).replace(/[^\t]/g," ");return u(">")+m(v)+r(O)+`
2
+ import"./chunk-s2za1y84.js";var{create:Zr,defineProperty:xt,getOwnPropertyDescriptor:Xr,getOwnPropertyNames:Yr,getPrototypeOf:es}=Object,ts=Object.prototype.hasOwnProperty,A=(e,s)=>()=>(s||e((s={exports:{}}).exports,s),s.exports),Xt=(e,s)=>{for(var n in s)xt(e,n,{get:s[n],enumerable:!0})},rs=(e,s,n,o)=>{if(s&&typeof s=="object"||typeof s=="function")for(let c of Yr(s))!ts.call(e,c)&&c!==n&&xt(e,c,{get:()=>s[c],enumerable:!(o=Xr(s,c))||o.enumerable});return e},xe=(e,s,n)=>(n=e!=null?Zr(es(e)):{},rs(s||!e||!e.__esModule?xt(n,"default",{value:e,enumerable:!0}):n,e)),ss=A((e,s)=>{var n=String,o=function(){return{isColorSupported:!1,reset:n,bold:n,dim:n,italic:n,underline:n,inverse:n,hidden:n,strikethrough:n,black:n,red:n,green:n,yellow:n,blue:n,magenta:n,cyan:n,white:n,gray:n,bgBlack:n,bgRed:n,bgGreen:n,bgYellow:n,bgBlue:n,bgMagenta:n,bgCyan:n,bgWhite:n,blackBright:n,redBright:n,greenBright:n,yellowBright:n,blueBright:n,magentaBright:n,cyanBright:n,whiteBright:n,bgBlackBright:n,bgRedBright:n,bgGreenBright:n,bgYellowBright:n,bgBlueBright:n,bgMagentaBright:n,bgCyanBright:n,bgWhiteBright:n}};s.exports=o(),s.exports.createColors=o}),Yt=A(()=>{}),kt=A((e,s)=>{var n=ss(),o=Yt(),c=class i extends Error{constructor(h,p,m,u,r,t){super(h),this.name="CssSyntaxError",this.reason=h,r&&(this.file=r),u&&(this.source=u),t&&(this.plugin=t),typeof p<"u"&&typeof m<"u"&&(typeof p=="number"?(this.line=p,this.column=m):(this.line=p.line,this.column=p.column,this.endLine=m.line,this.endColumn=m.column)),this.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(this,i)}setMessage(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"<css input>",typeof this.line<"u"&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason}showSourceCode(h){if(!this.source)return"";let p=this.source;h==null&&(h=n.isColorSupported);let m=(l)=>l,u=(l)=>l,r=(l)=>l;if(h){let{bold:l,gray:w,red:y}=n.createColors(!0);u=(v)=>l(y(v)),m=(v)=>w(v),o&&(r=(v)=>o(v))}let t=p.split(/\r?\n/),f=Math.max(this.line-3,0),a=Math.min(this.line+2,t.length),d=String(a).length;return t.slice(f,a).map((l,w)=>{let y=f+1+w,v=" "+(" "+y).slice(-d)+" | ";if(y===this.line){if(l.length>160){let x=20,b=Math.max(0,this.column-x),T=Math.max(this.column+x,this.endColumn+x),O=l.slice(b,T),k=m(v.replace(/\d/g," "))+l.slice(0,Math.min(this.column-1,x-1)).replace(/[^\t]/g," ");return u(">")+m(v)+r(O)+`
3
3
  `+k+u("^")}let g=m(v.replace(/\d/g," "))+l.slice(0,this.column-1).replace(/[^\t]/g," ");return u(">")+m(v)+r(l)+`
4
4
  `+g+u("^")}return" "+m(v)+r(l)}).join(`
5
5
  `)}toString(){let h=this.showSourceCode();return h&&(h=`