@qitqode/qitqode-android-arm64 0.1.32 → 0.1.34

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 (386) hide show
  1. package/bundle/{chunk-x4sp99g6.js → chunk-03xppy47.js} +1 -1
  2. package/bundle/{chunk-2vn41ecx.js → chunk-04hvaaje.js} +1 -1
  3. package/bundle/{chunk-6phh70sp.js → chunk-06k6egt2.js} +1 -1
  4. package/bundle/{chunk-8n20thvd.js → chunk-08f4khsw.js} +2 -2
  5. package/bundle/{chunk-mk1bfzg5.js → chunk-08m0hkdz.js} +1 -1
  6. package/bundle/{chunk-kfxv5rfg.js → chunk-09pkckr1.js} +1 -1
  7. package/bundle/{chunk-6kp07m7p.js → chunk-0c6ep9mc.js} +1 -1
  8. package/bundle/{chunk-8r6ht39z.js → chunk-0csy9x1n.js} +1 -1
  9. package/bundle/{chunk-0v0vqbn5.js → chunk-0h8wdch6.js} +1 -1
  10. package/bundle/{chunk-t56r99hp.js → chunk-0msqaywp.js} +1 -1
  11. package/bundle/chunk-0x5jn813.js +2 -0
  12. package/bundle/{chunk-vhe0tth1.js → chunk-11v7vz3y.js} +1 -1
  13. package/bundle/{chunk-1sgahe1s.js → chunk-1byd3wma.js} +1 -1
  14. package/bundle/{chunk-x3y2xzhn.js → chunk-1dtzxt2w.js} +1 -1
  15. package/bundle/{chunk-31qrzrwy.js → chunk-1gf116rg.js} +1 -1
  16. package/bundle/{chunk-hnvn2c25.js → chunk-1hmq2fpt.js} +2 -2
  17. package/bundle/{chunk-05mce0j3.js → chunk-1me21qdc.js} +1 -1
  18. package/bundle/{chunk-rvkrgkeq.js → chunk-1pg6pv0m.js} +1 -1
  19. package/bundle/{chunk-0bbs01f0.js → chunk-1yt5rsew.js} +1 -1
  20. package/bundle/{chunk-caj1b9y7.js → chunk-28cm7m3t.js} +4 -4
  21. package/bundle/chunk-28t9akfn.js +2 -0
  22. package/bundle/{chunk-6aqyhfag.js → chunk-2fkfbdcy.js} +4 -4
  23. package/bundle/{chunk-52bam8g7.js → chunk-2h1fcqvf.js} +1 -1
  24. package/bundle/chunk-2scyp9ns.js +2 -0
  25. package/bundle/{chunk-hbbsbyyq.js → chunk-2swch6mx.js} +1 -1
  26. package/bundle/chunk-2tw58kwb.js +2 -0
  27. package/bundle/chunk-2vxx0tax.js +2 -0
  28. package/bundle/chunk-2ybt3p5z.js +2 -0
  29. package/bundle/chunk-2zpkw3ge.js +2 -0
  30. package/bundle/{chunk-xthkjax9.js → chunk-34p46th6.js} +1 -1
  31. package/bundle/chunk-397be2x0.js +2 -0
  32. package/bundle/chunk-3c78nkgn.js +2 -0
  33. package/bundle/{chunk-7xm75w1e.js → chunk-3k2b05fv.js} +1 -1
  34. package/bundle/{chunk-tvdmnee6.js → chunk-3mzcr3fw.js} +1 -1
  35. package/bundle/{chunk-wqj0xasg.js → chunk-3vnnxq40.js} +1 -1
  36. package/bundle/{chunk-enpzvmtc.js → chunk-41v0x1jk.js} +1 -1
  37. package/bundle/chunk-425mq6k8.js +2 -0
  38. package/bundle/chunk-43yv7tz1.js +2 -0
  39. package/bundle/{chunk-78ymd20x.js → chunk-499gp5g5.js} +1 -1
  40. package/bundle/{chunk-m2q317gh.js → chunk-4ntbxet5.js} +1 -1
  41. package/bundle/chunk-4sw6frjt.js +2 -0
  42. package/bundle/{chunk-rzhdkkpz.js → chunk-4ttf9rjd.js} +1 -1
  43. package/bundle/{chunk-vywnd5sf.js → chunk-4wxxyrxn.js} +1 -1
  44. package/bundle/chunk-4xw14sed.js +2 -0
  45. package/bundle/chunk-536naqqv.js +2 -0
  46. package/bundle/chunk-57najm15.js +2 -0
  47. package/bundle/{chunk-60v5jvgt.js → chunk-5a7fs1hg.js} +1 -1
  48. package/bundle/chunk-5he3d7cy.js +2 -0
  49. package/bundle/{chunk-2phz0bn9.js → chunk-5vzrn6za.js} +1 -1
  50. package/bundle/{chunk-zaks8cae.js → chunk-5xq3h51b.js} +1 -1
  51. package/bundle/{chunk-gwp17r03.js → chunk-67d5d8mr.js} +1 -1
  52. package/bundle/{chunk-5pb551dx.js → chunk-696z96a6.js} +1 -1
  53. package/bundle/{chunk-yek0sk2q.js → chunk-6a7c7wnf.js} +1 -1
  54. package/bundle/{chunk-9gazyynx.js → chunk-6b196wjz.js} +2 -2
  55. package/bundle/{chunk-fgg9txzb.js → chunk-6gb65bv1.js} +1 -1
  56. package/bundle/chunk-6hybp2mt.js +2 -0
  57. package/bundle/{chunk-d6ry9418.js → chunk-6p94fpbn.js} +2 -2
  58. package/bundle/{chunk-xcmgkc57.js → chunk-6styp5dn.js} +1 -1
  59. package/bundle/{chunk-85wcc1tp.js → chunk-6v9nbb4c.js} +1 -1
  60. package/bundle/chunk-6y423jax.js +3 -0
  61. package/bundle/{chunk-ejrhvy38.js → chunk-6ynxf3q7.js} +1 -1
  62. package/bundle/{chunk-cfgvm15x.js → chunk-71zw0qhf.js} +1 -1
  63. package/bundle/chunk-72ghkgcn.js +2 -0
  64. package/bundle/{chunk-bh53dz71.js → chunk-7311jry1.js} +1 -1
  65. package/bundle/{chunk-d07p6fpk.js → chunk-73myw3bj.js} +2 -2
  66. package/bundle/chunk-741teh8k.js +2 -0
  67. package/bundle/{chunk-10bjs581.js → chunk-79agp7v3.js} +2 -2
  68. package/bundle/chunk-7b3wx6kn.js +2 -0
  69. package/bundle/{chunk-wmqsdt2c.js → chunk-7bwe0ayr.js} +1 -1
  70. package/bundle/{chunk-40efytmk.js → chunk-7eexey82.js} +1 -1
  71. package/bundle/chunk-7hh0654f.js +3 -0
  72. package/bundle/{chunk-33e9y2aw.js → chunk-7mxt5b0h.js} +1 -1
  73. package/bundle/{chunk-yjf3kyej.js → chunk-7vd91wsd.js} +1 -1
  74. package/bundle/{chunk-nv3eyyaj.js → chunk-81trveht.js} +1 -1
  75. package/bundle/{chunk-dnwefyhv.js → chunk-8762ty72.js} +1 -1
  76. package/bundle/{chunk-qc8rsn4v.js → chunk-891yevv2.js} +1 -1
  77. package/bundle/{chunk-15j5cn4t.js → chunk-8d5k45yj.js} +1 -1
  78. package/bundle/{chunk-we9cv8we.js → chunk-8eje5baf.js} +2 -2
  79. package/bundle/{chunk-8qswepp2.js → chunk-8ktgy41r.js} +1 -1
  80. package/bundle/{chunk-w18xs2h5.js → chunk-8q73cjyj.js} +1 -1
  81. package/bundle/chunk-8y623qdx.js +2 -0
  82. package/bundle/chunk-921vn745.js +2 -0
  83. package/bundle/{chunk-4jtxtkj7.js → chunk-94pcpztx.js} +2 -2
  84. package/bundle/{chunk-a7amey9s.js → chunk-9fxkh84w.js} +1 -1
  85. package/bundle/{chunk-pv67gwce.js → chunk-9msnx26q.js} +1 -1
  86. package/bundle/{chunk-8hytwgwf.js → chunk-9qdr9t8c.js} +1 -1
  87. package/bundle/{chunk-gt31468k.js → chunk-9x25d115.js} +1 -1
  88. package/bundle/{chunk-5jx0yadh.js → chunk-9y97bzht.js} +2 -2
  89. package/bundle/{chunk-zs8kqdsf.js → chunk-a0rp7gh4.js} +2 -2
  90. package/bundle/{chunk-tq0239xp.js → chunk-a3a1trap.js} +1 -1
  91. package/bundle/{chunk-n9xns8by.js → chunk-a48t0g95.js} +2 -2
  92. package/bundle/chunk-a8119c3a.js +2 -0
  93. package/bundle/chunk-akk84fnc.js +2 -0
  94. package/bundle/chunk-aw7j7brm.js +2 -0
  95. package/bundle/{chunk-js1n8tgv.js → chunk-azhw650z.js} +1 -1
  96. package/bundle/chunk-b34t8v7x.js +2 -0
  97. package/bundle/{chunk-t8m74g39.js → chunk-b4knxpqh.js} +1 -1
  98. package/bundle/chunk-b8hmj4jq.js +2 -0
  99. package/bundle/{chunk-jef04wyf.js → chunk-ba3h1pzs.js} +1 -1
  100. package/bundle/{chunk-71xz70r9.js → chunk-bbzztav6.js} +1 -1
  101. package/bundle/{chunk-dactgryw.js → chunk-bj00xk8k.js} +1 -1
  102. package/bundle/{chunk-59yqvk48.js → chunk-bja8q0ke.js} +1 -1
  103. package/bundle/{chunk-cxnfy6qk.js → chunk-bk4phk66.js} +1 -1
  104. package/bundle/{chunk-e01wnqvc.js → chunk-bnss5dkk.js} +1 -1
  105. package/bundle/{chunk-fvzwbjh8.js → chunk-bv29k2pf.js} +1 -1
  106. package/bundle/{chunk-v1xjc3s8.js → chunk-by855es0.js} +1 -1
  107. package/bundle/{chunk-zy9w1vkc.js → chunk-c5fa8cb1.js} +1 -1
  108. package/bundle/{chunk-x9rbv6p6.js → chunk-c5pb87yf.js} +1 -1
  109. package/bundle/{chunk-ck2gfaba.js → chunk-c6vfwjg4.js} +1 -1
  110. package/bundle/chunk-cfw9pyt7.js +2 -0
  111. package/bundle/chunk-ckbwdrm3.js +2 -0
  112. package/bundle/{chunk-3632wgg1.js → chunk-cs38g1bx.js} +1 -1
  113. package/bundle/{chunk-53bqcctj.js → chunk-cz3h5n1v.js} +1 -1
  114. package/bundle/{chunk-rg0mrprz.js → chunk-d00c1k9w.js} +1 -1
  115. package/bundle/{chunk-zqqx96jx.js → chunk-d80hk5x9.js} +1 -1
  116. package/bundle/{chunk-wezarrvy.js → chunk-d8dk05kd.js} +1 -1
  117. package/bundle/{chunk-p18axz0m.js → chunk-dcndy4sr.js} +1 -1
  118. package/bundle/{chunk-e7ny0b3x.js → chunk-dctj3c22.js} +1 -1
  119. package/bundle/{chunk-vvxmwyrw.js → chunk-df2aswz3.js} +1 -1
  120. package/bundle/{chunk-skqbaadf.js → chunk-dffhkd30.js} +1 -1
  121. package/bundle/{chunk-pe29yy6s.js → chunk-dhqaqeq6.js} +1 -1
  122. package/bundle/chunk-dwajajaq.js +2 -0
  123. package/bundle/{chunk-dryzt12j.js → chunk-dxcrggvq.js} +1 -1
  124. package/bundle/{chunk-fn9h4ync.js → chunk-dyv2hqvc.js} +1 -1
  125. package/bundle/{chunk-93p131d5.js → chunk-e6xnynaz.js} +1 -1
  126. package/bundle/chunk-e7ah0e61.js +2 -0
  127. package/bundle/{chunk-tqj69nh6.js → chunk-e7v9trve.js} +2 -2
  128. package/bundle/{chunk-chpr8ekb.js → chunk-ebcdxmdd.js} +1 -1
  129. package/bundle/{chunk-zw815d68.js → chunk-ee23d2nz.js} +2 -2
  130. package/bundle/chunk-efndtzby.js +2 -0
  131. package/bundle/{chunk-gb00fh4z.js → chunk-egn55fa2.js} +3 -3
  132. package/bundle/chunk-eq2pepce.js +2 -0
  133. package/bundle/{chunk-7tr9ejyk.js → chunk-esp6jv63.js} +1 -1
  134. package/bundle/chunk-f693s9vn.js +2 -0
  135. package/bundle/chunk-f9v5n0t6.js +2 -0
  136. package/bundle/{chunk-za7mwbye.js → chunk-fdadk5tw.js} +1 -1
  137. package/bundle/{chunk-0dt0bxz6.js → chunk-fg35hwa0.js} +2 -2
  138. package/bundle/{chunk-ktzq4ha1.js → chunk-fmq0m4k5.js} +1 -1
  139. package/bundle/chunk-ftepqwyq.js +2 -0
  140. package/bundle/{chunk-jh0bw59r.js → chunk-g4gjz7sq.js} +1 -1
  141. package/bundle/{chunk-w7vh8cxt.js → chunk-g4nq9swr.js} +1 -1
  142. package/bundle/{chunk-g5rabwre.js → chunk-g6cyhxwg.js} +2 -2
  143. package/bundle/{chunk-k7aenxan.js → chunk-gdb67zmn.js} +1 -1
  144. package/bundle/{chunk-a1wdeapb.js → chunk-ggydr1ze.js} +1 -1
  145. package/bundle/chunk-gk28ffhg.js +2 -0
  146. package/bundle/{chunk-c11d28qn.js → chunk-gmzrvxnv.js} +2 -2
  147. package/bundle/chunk-gpfc4z4v.js +2 -0
  148. package/bundle/chunk-gqvg02zp.js +2 -0
  149. package/bundle/{chunk-3c6p8tm3.js → chunk-gws1rn1v.js} +1 -1
  150. package/bundle/{chunk-hnzegjgv.js → chunk-gy0wm7e1.js} +1 -1
  151. package/bundle/{chunk-zcsgqk9f.js → chunk-h2m8fdqm.js} +1 -1
  152. package/bundle/{chunk-pp2eqkse.js → chunk-h3k1dk9m.js} +1 -1
  153. package/bundle/chunk-h8c3dcqt.js +2 -0
  154. package/bundle/chunk-hfq11w4h.js +2 -0
  155. package/bundle/{chunk-nkkch4h7.js → chunk-hg0etbkx.js} +1 -1
  156. package/bundle/{chunk-01my2y0c.js → chunk-hj3ddt53.js} +1 -1
  157. package/bundle/{chunk-ay8emwym.js → chunk-hw5qyht3.js} +1 -1
  158. package/bundle/chunk-hwf58w1k.js +2 -0
  159. package/bundle/{chunk-rza530gm.js → chunk-j0jdkqf5.js} +1 -1
  160. package/bundle/{chunk-ezfy0b6q.js → chunk-j8q252w3.js} +2 -2
  161. package/bundle/{chunk-kq6b222y.js → chunk-jgjnz82k.js} +1 -1
  162. package/bundle/{chunk-wfb608qf.js → chunk-jkh6eg7d.js} +3 -3
  163. package/bundle/{chunk-xrs18kzn.js → chunk-jm722vy1.js} +1 -1
  164. package/bundle/chunk-kdvs4871.js +2 -0
  165. package/bundle/{chunk-6hpgb8h4.js → chunk-ke7n9t5p.js} +3 -3
  166. package/bundle/{chunk-vcw00k0n.js → chunk-keveg5gx.js} +2 -2
  167. package/bundle/{chunk-dxpj0cxh.js → chunk-kfmz2p27.js} +2 -2
  168. package/bundle/{chunk-xm7wascx.js → chunk-kjyw00jp.js} +1 -1
  169. package/bundle/chunk-kk3ve911.js +2 -0
  170. package/bundle/{chunk-gsar6xda.js → chunk-kmcsz8yv.js} +1 -1
  171. package/bundle/{chunk-mqd1jsg2.js → chunk-knpyt206.js} +1 -1
  172. package/bundle/{chunk-4cnwn1rh.js → chunk-kv72hxkp.js} +2 -2
  173. package/bundle/{chunk-kj20f048.js → chunk-kwx9ewe0.js} +1 -1
  174. package/bundle/chunk-m4j7jyrd.js +3 -0
  175. package/bundle/{chunk-5hw6xa49.js → chunk-md8161zd.js} +1 -1
  176. package/bundle/{chunk-r7sqdfad.js → chunk-mdts0641.js} +1 -1
  177. package/bundle/{chunk-xzrb857v.js → chunk-mex0fe9s.js} +1 -1
  178. package/bundle/{chunk-ctaze2hn.js → chunk-mf3sm0pk.js} +1 -1
  179. package/bundle/chunk-mkng9ykt.js +2 -0
  180. package/bundle/{chunk-mzs2pjyc.js → chunk-mpygdb5a.js} +2 -2
  181. package/bundle/{chunk-81qwdg5s.js → chunk-mq6jn47r.js} +1 -1
  182. package/bundle/{chunk-yp8wyzzm.js → chunk-mr8j7rc6.js} +1 -1
  183. package/bundle/{chunk-h4j5xzc8.js → chunk-n6gtdx5h.js} +1 -1
  184. package/bundle/{chunk-h2afsbm1.js → chunk-n6msxne8.js} +1 -1
  185. package/bundle/{chunk-jbx3s7nw.js → chunk-n96tvjgj.js} +2 -2
  186. package/bundle/{chunk-9f1z9xce.js → chunk-ngccf7ga.js} +1 -1
  187. package/bundle/chunk-nj4d554m.js +11 -0
  188. package/bundle/{chunk-dynv30gm.js → chunk-nj61v4n7.js} +1 -1
  189. package/bundle/{chunk-12vef2pr.js → chunk-nkk4fyqf.js} +1 -1
  190. package/bundle/{chunk-gbpvs0fx.js → chunk-nmehsm3w.js} +1 -1
  191. package/bundle/chunk-npv80mcx.js +2 -0
  192. package/bundle/{chunk-rkyf0cp8.js → chunk-ny9hnvzy.js} +1 -1
  193. package/bundle/{chunk-ew9pdrp9.js → chunk-p15sv2dg.js} +1 -1
  194. package/bundle/{chunk-73e409hd.js → chunk-p3qkexpk.js} +1 -1
  195. package/bundle/{chunk-yhbcbjfk.js → chunk-p825vsjy.js} +1 -1
  196. package/bundle/{chunk-rbk8seme.js → chunk-p9cnzxb8.js} +1 -1
  197. package/bundle/chunk-pe98rznj.js +2 -0
  198. package/bundle/{chunk-15hw2z9t.js → chunk-pkc4ddw1.js} +1 -1
  199. package/bundle/{chunk-x25zkrz7.js → chunk-ppkqr9cn.js} +1 -1
  200. package/bundle/{chunk-1gx18dm5.js → chunk-prh3c44x.js} +1 -1
  201. package/bundle/{chunk-zscer8rc.js → chunk-pxmhe36r.js} +1 -1
  202. package/bundle/{chunk-2wajs9xv.js → chunk-q1czj6be.js} +1 -1
  203. package/bundle/{chunk-d3ermm6d.js → chunk-q5fygrnr.js} +1 -1
  204. package/bundle/chunk-q6wm9yt0.js +2 -0
  205. package/bundle/{chunk-g7ccdh7r.js → chunk-q8hd01j7.js} +1 -1
  206. package/bundle/{chunk-e10py6yr.js → chunk-qa2j0qmy.js} +1 -1
  207. package/bundle/chunk-qbx70v64.js +2 -0
  208. package/bundle/{chunk-ad72gb5f.js → chunk-qc3ce3vc.js} +2 -2
  209. package/bundle/{chunk-g10d6x57.js → chunk-qddt2gcs.js} +1 -1
  210. package/bundle/chunk-qek6a75r.js +2 -0
  211. package/bundle/{chunk-y3b4k38p.js → chunk-qg2vk5fw.js} +1 -1
  212. package/bundle/{chunk-7z5jh4ra.js → chunk-qkjdr337.js} +1 -1
  213. package/bundle/chunk-qkk1as5n.js +2 -0
  214. package/bundle/{chunk-5q4harvc.js → chunk-qrtc3etn.js} +2 -2
  215. package/bundle/chunk-qsm9xw87.js +2 -0
  216. package/bundle/chunk-qyzze0dv.js +2 -0
  217. package/bundle/{chunk-7avcnwv8.js → chunk-qzj6027k.js} +1 -1
  218. package/bundle/{chunk-70ck4v3t.js → chunk-r0k21apr.js} +1 -1
  219. package/bundle/chunk-r2w3gr8d.js +2 -0
  220. package/bundle/chunk-r5bqcpkz.js +2 -0
  221. package/bundle/chunk-r67c858b.js +2 -0
  222. package/bundle/chunk-r9fvfkee.js +2 -0
  223. package/bundle/{chunk-3wetyrjs.js → chunk-rjy5mqwz.js} +1 -1
  224. package/bundle/{chunk-69nzndk7.js → chunk-rkwrjphh.js} +1 -1
  225. package/bundle/{chunk-0mx2psfc.js → chunk-rmve21dh.js} +1 -1
  226. package/bundle/chunk-rq47pn3r.js +2 -0
  227. package/bundle/{chunk-b8gjz6bk.js → chunk-rq4w0by4.js} +1 -1
  228. package/bundle/{chunk-jrqb0jwy.js → chunk-rsszcqxd.js} +1 -1
  229. package/bundle/{chunk-xvwvd4kq.js → chunk-rv1stdvb.js} +1 -1
  230. package/bundle/chunk-rvt1tdy8.js +2 -0
  231. package/bundle/{chunk-3bxg5bta.js → chunk-ry7q8xn6.js} +1 -1
  232. package/bundle/{chunk-rjd8gbs5.js → chunk-ryfqwsft.js} +1 -1
  233. package/bundle/chunk-s27xvrft.js +2 -0
  234. package/bundle/chunk-s2vasbwj.js +2 -0
  235. package/bundle/{chunk-p9qfbr02.js → chunk-s4qtphwx.js} +1 -1
  236. package/bundle/{chunk-qrsveve6.js → chunk-s8hq6trz.js} +1 -1
  237. package/bundle/chunk-scy39p6q.js +2 -0
  238. package/bundle/{chunk-71sjjjr8.js → chunk-seghf5fc.js} +1 -1
  239. package/bundle/{chunk-2zq4k837.js → chunk-sfes6pp1.js} +1 -1
  240. package/bundle/chunk-shenqgrx.js +2 -0
  241. package/bundle/{chunk-htz93dsd.js → chunk-snr44en9.js} +2 -2
  242. package/bundle/{chunk-cphrgyp6.js → chunk-ssk8tkwd.js} +1 -1
  243. package/bundle/{chunk-jdynx7m6.js → chunk-sz0gkx88.js} +1 -1
  244. package/bundle/{chunk-yv0xrnn9.js → chunk-t5qamf96.js} +1 -1
  245. package/bundle/chunk-tt8jke90.js +2 -0
  246. package/bundle/chunk-ttevj0pj.js +2 -0
  247. package/bundle/chunk-v6tgn668.js +2 -0
  248. package/bundle/chunk-v7c54cyj.js +2 -0
  249. package/bundle/chunk-vgefaens.js +2 -0
  250. package/bundle/chunk-vkq0faj8.js +2 -0
  251. package/bundle/{chunk-764fksh3.js → chunk-vkqzmzpw.js} +1 -1
  252. package/bundle/{chunk-24jg9d61.js → chunk-vsr8mnj6.js} +1 -1
  253. package/bundle/{chunk-6d5rrre9.js → chunk-vszbqv24.js} +1 -1
  254. package/bundle/chunk-vv59b4re.js +2 -0
  255. package/bundle/chunk-vwqy7n3g.js +2 -0
  256. package/bundle/{chunk-y6123zvq.js → chunk-w5kg2yz0.js} +1 -1
  257. package/bundle/{chunk-ygs5pzk7.js → chunk-w9nzsd3w.js} +3 -3
  258. package/bundle/chunk-wbzs30fk.js +28 -0
  259. package/bundle/chunk-wet3bnwn.js +2 -0
  260. package/bundle/{chunk-gagtmjmp.js → chunk-wfd5h6ax.js} +2 -2
  261. package/bundle/{chunk-w8saweey.js → chunk-wfegee41.js} +1 -1
  262. package/bundle/{chunk-ht5w06x7.js → chunk-wgk7ynt3.js} +2 -2
  263. package/bundle/{chunk-257me4z3.js → chunk-wmaz57f6.js} +47 -47
  264. package/bundle/chunk-wn076jwj.js +2 -0
  265. package/bundle/{chunk-35xk4g91.js → chunk-wvf5q2hz.js} +1 -1
  266. package/bundle/{chunk-d9hbhkbq.js → chunk-wwgd4rzx.js} +2 -2
  267. package/bundle/chunk-x0m1qye9.js +2 -0
  268. package/bundle/{chunk-p62gb4wj.js → chunk-x66ycpfs.js} +1 -1
  269. package/bundle/chunk-x9s90xd1.js +3 -0
  270. package/bundle/{chunk-48ge2ryx.js → chunk-xgr6jnd6.js} +1 -1
  271. package/bundle/{chunk-q7vasbxn.js → chunk-xhkd9yf3.js} +1 -1
  272. package/bundle/{chunk-pje60pj2.js → chunk-xkv3yta0.js} +1 -1
  273. package/bundle/{chunk-2hc5z7b5.js → chunk-xqdrr7xg.js} +1 -1
  274. package/bundle/{chunk-0c2p3a6v.js → chunk-xy5cjach.js} +1 -1
  275. package/bundle/{chunk-3nx7112w.js → chunk-y370dqf3.js} +2 -2
  276. package/bundle/{chunk-ss2ms1r3.js → chunk-y437vyza.js} +1 -1
  277. package/bundle/chunk-y70aachh.js +2 -0
  278. package/bundle/{chunk-db405hjg.js → chunk-y9zstzed.js} +1 -1
  279. package/bundle/{chunk-gz8sz7z1.js → chunk-ya8g02hv.js} +1 -1
  280. package/bundle/{chunk-avf8v3hb.js → chunk-ygjtwjnk.js} +1 -1
  281. package/bundle/{chunk-pp6vhqrr.js → chunk-yjk6zv2z.js} +1 -1
  282. package/bundle/{chunk-326p5b10.js → chunk-yk97q51d.js} +1 -1
  283. package/bundle/{chunk-kf167jw7.js → chunk-ynwkr3yh.js} +1 -1
  284. package/bundle/{chunk-y9q0hb7b.js → chunk-yqk58hf6.js} +2 -2
  285. package/bundle/chunk-ysgxt83y.js +2 -0
  286. package/bundle/{chunk-tt30dybd.js → chunk-yz6898wy.js} +1 -1
  287. package/bundle/{chunk-x562b0xk.js → chunk-z1ay3qd0.js} +1 -1
  288. package/bundle/{chunk-9emq67vc.js → chunk-z7430qxg.js} +1 -1
  289. package/bundle/{chunk-2maqde7w.js → chunk-z8gdmvgg.js} +2 -2
  290. package/bundle/chunk-za63b5mc.js +5 -0
  291. package/bundle/{chunk-vxyy2dp3.js → chunk-zfcp509b.js} +1 -1
  292. package/bundle/{chunk-x7k5yeey.js → chunk-zfn0z4sh.js} +1 -1
  293. package/bundle/{chunk-ag8kz1e7.js → chunk-zh3fny3z.js} +2 -2
  294. package/bundle/{chunk-whe7h2mj.js → chunk-zm5dfk2b.js} +1 -1
  295. package/bundle/{chunk-02jtpxe0.js → chunk-zpf31kxb.js} +1 -1
  296. package/bundle/{chunk-56z7x7h4.js → chunk-zph1c2q1.js} +2 -2
  297. package/bundle/chunk-zwdnh860.js +2 -0
  298. package/bundle/{chunk-1vb79bw1.js → chunk-zwnhf4z1.js} +1 -1
  299. package/bundle/index.js +3 -3
  300. package/bundle/parser.worker.js +2 -2
  301. package/bundle/worker.js +1 -1
  302. package/package.json +1 -1
  303. package/bundle/chunk-096pd6c4.js +0 -2
  304. package/bundle/chunk-0c5rxty9.js +0 -2
  305. package/bundle/chunk-0e86gt9r.js +0 -2
  306. package/bundle/chunk-0p27fvfr.js +0 -2
  307. package/bundle/chunk-0qs1vx97.js +0 -2
  308. package/bundle/chunk-1r95p0tp.js +0 -2
  309. package/bundle/chunk-1rhhhm88.js +0 -2
  310. package/bundle/chunk-1wbjh23g.js +0 -2
  311. package/bundle/chunk-20702epe.js +0 -2
  312. package/bundle/chunk-42p59wm4.js +0 -2
  313. package/bundle/chunk-4512pvca.js +0 -2
  314. package/bundle/chunk-456bmaww.js +0 -2
  315. package/bundle/chunk-48pajrnt.js +0 -2
  316. package/bundle/chunk-4fy9c54h.js +0 -2
  317. package/bundle/chunk-4sc82a27.js +0 -2
  318. package/bundle/chunk-59y8q9m5.js +0 -2
  319. package/bundle/chunk-5tray1fw.js +0 -3
  320. package/bundle/chunk-634pnryq.js +0 -2
  321. package/bundle/chunk-64ezpbwt.js +0 -2
  322. package/bundle/chunk-7mke41x0.js +0 -2
  323. package/bundle/chunk-7ry9cvby.js +0 -2
  324. package/bundle/chunk-7wczs9mx.js +0 -2
  325. package/bundle/chunk-7z777y9k.js +0 -2
  326. package/bundle/chunk-89w3yhf8.js +0 -2
  327. package/bundle/chunk-8dwq41q1.js +0 -28
  328. package/bundle/chunk-8v96pmqn.js +0 -2
  329. package/bundle/chunk-8y2scz6z.js +0 -2
  330. package/bundle/chunk-8zx7vnx6.js +0 -2
  331. package/bundle/chunk-94a76f8w.js +0 -2
  332. package/bundle/chunk-9ng7jjp7.js +0 -2
  333. package/bundle/chunk-9tpgnjy8.js +0 -2
  334. package/bundle/chunk-a7ym9f0v.js +0 -2
  335. package/bundle/chunk-a8f2xvy3.js +0 -2
  336. package/bundle/chunk-a99cvwta.js +0 -2
  337. package/bundle/chunk-avys5mnz.js +0 -2
  338. package/bundle/chunk-axvjd10y.js +0 -2
  339. package/bundle/chunk-b4pphqab.js +0 -2
  340. package/bundle/chunk-b6087ak4.js +0 -2
  341. package/bundle/chunk-bn0h9dny.js +0 -10
  342. package/bundle/chunk-brkqxbjy.js +0 -2
  343. package/bundle/chunk-c26qxt5g.js +0 -2
  344. package/bundle/chunk-c6zscb38.js +0 -2
  345. package/bundle/chunk-cjww2jmv.js +0 -3
  346. package/bundle/chunk-d0damw6y.js +0 -2
  347. package/bundle/chunk-dafmkrhn.js +0 -2
  348. package/bundle/chunk-dgprdym0.js +0 -2
  349. package/bundle/chunk-dsamees2.js +0 -2
  350. package/bundle/chunk-dyqpxx3b.js +0 -2
  351. package/bundle/chunk-e5mv5wnt.js +0 -2
  352. package/bundle/chunk-gwzw92jt.js +0 -2
  353. package/bundle/chunk-h6f3kbz2.js +0 -2
  354. package/bundle/chunk-hp7tssgv.js +0 -2
  355. package/bundle/chunk-ht0hbdmx.js +0 -2
  356. package/bundle/chunk-k1txw65h.js +0 -2
  357. package/bundle/chunk-k5atbdbm.js +0 -2
  358. package/bundle/chunk-k75jqg60.js +0 -3
  359. package/bundle/chunk-mahgmbt9.js +0 -2
  360. package/bundle/chunk-ngm6pqyt.js +0 -2
  361. package/bundle/chunk-ngtavamt.js +0 -2
  362. package/bundle/chunk-nkhc32s3.js +0 -2
  363. package/bundle/chunk-npse2xrd.js +0 -2
  364. package/bundle/chunk-p6e4vqy7.js +0 -2
  365. package/bundle/chunk-pqkjhn8h.js +0 -2
  366. package/bundle/chunk-qadw6j20.js +0 -2
  367. package/bundle/chunk-qd8w2gkd.js +0 -2
  368. package/bundle/chunk-qggcszs2.js +0 -2
  369. package/bundle/chunk-r8m7rtfc.js +0 -2
  370. package/bundle/chunk-rf12t4n5.js +0 -2
  371. package/bundle/chunk-rpgne7xh.js +0 -2
  372. package/bundle/chunk-rvgj1vky.js +0 -2
  373. package/bundle/chunk-s3mnrhbx.js +0 -5
  374. package/bundle/chunk-s6ktx2sx.js +0 -2
  375. package/bundle/chunk-ss2jvqrg.js +0 -2
  376. package/bundle/chunk-tvwwq4b3.js +0 -2
  377. package/bundle/chunk-v2n26eg4.js +0 -2
  378. package/bundle/chunk-wr42tphe.js +0 -2
  379. package/bundle/chunk-x24y7qyd.js +0 -2
  380. package/bundle/chunk-xj765svc.js +0 -3
  381. package/bundle/chunk-y2d0w09y.js +0 -2
  382. package/bundle/chunk-y7sy3w6z.js +0 -2
  383. package/bundle/chunk-yb79f79m.js +0 -2
  384. package/bundle/chunk-yjnyzpmt.js +0 -2
  385. package/bundle/chunk-yqbcnsa1.js +0 -2
  386. package/bundle/chunk-z3mra3nm.js +0 -2
@@ -0,0 +1,2 @@
1
+ // @bun
2
+ import"./chunk-3k2b05fv.js";var n="./highlights-hk7bwhj4.scm";export{n as default};
@@ -1,2 +1,2 @@
1
1
  // @bun
2
- import"./chunk-kdcnder5.js";import"./chunk-7xm75w1e.js";var e={"ui.sessionReview.title":"Oturum de\u011Fi\u015Fiklikleri","ui.sessionReview.title.lastTurn":"Son tur de\u011Fi\u015Fiklikleri","ui.sessionReview.diffStyle.unified":"Birle\u015Fik","ui.sessionReview.diffStyle.split":"B\xF6l\xFCnm\xFC\u015F","ui.sessionReview.openFile":"Dosyay\u0131 a\xE7","ui.sessionReview.selection.line":"sat\u0131r {{line}}","ui.sessionReview.selection.lines":"sat\u0131rlar {{start}}-{{end}}","ui.sessionReview.expandAll":"T\xFCm\xFCn\xFC geni\u015Flet","ui.sessionReview.collapseAll":"T\xFCm\xFCn\xFC daralt","ui.sessionReview.change.added":"Eklendi","ui.sessionReview.change.removed":"Kald\u0131r\u0131ld\u0131","ui.sessionReview.change.modified":"De\u011Fi\u015Ftirildi","ui.sessionReview.image.loading":"Y\xFCkleniyor...","ui.sessionReview.image.placeholder":"G\xF6rsel","ui.sessionReview.largeDiff.title":"Fark g\xF6sterimi i\xE7in \xE7ok b\xFCy\xFCk","ui.sessionReview.largeDiff.meta":"Limit: {{limit}} de\u011Fi\u015Fen sat\u0131r. Mevcut: {{current}} de\u011Fi\u015Fen sat\u0131r.","ui.sessionReview.largeDiff.renderAnyway":"Yine de g\xF6ster","ui.fileMedia.kind.image":"g\xF6rsel","ui.fileMedia.kind.audio":"ses","ui.fileMedia.state.removed":"{{kind}} dosyas\u0131 kald\u0131r\u0131ld\u0131.","ui.fileMedia.state.loading":"{{kind}} y\xFCkleniyor...","ui.fileMedia.state.error":"{{kind}} y\xFCklenemedi.","ui.fileMedia.state.unavailable":"{{kind}} \xF6nizlemesi kullan\u0131lam\u0131yor.","ui.fileMedia.binary.title":"\u0130kili dosya","ui.fileMedia.binary.description.path":"{{path}} ikili dosyad\u0131r.","ui.fileMedia.binary.description.default":"\u0130kili i\xE7erik","ui.lineComment.label.prefix":"Yorum: ","ui.lineComment.label.suffix":"","ui.lineComment.editorLabel.prefix":"Yorum yap\u0131l\u0131yor: ","ui.lineComment.editorLabel.suffix":"","ui.lineComment.placeholder":"Yorum ekle","ui.lineComment.submit":"Yorum yap","ui.sessionTurn.steps.show":"Ad\u0131mlar\u0131 g\xF6ster","ui.sessionTurn.steps.hide":"Ad\u0131mlar\u0131 gizle","ui.sessionTurn.summary.response":"Yan\u0131t","ui.sessionTurn.diff.showMore":"Daha fazla de\u011Fi\u015Fiklik g\xF6ster ({{count}})","ui.sessionTurn.retry.retrying":"yeniden deneniyor","ui.sessionTurn.retry.inSeconds":"{{seconds}}sn i\xE7inde","ui.sessionTurn.retry.attempt":"deneme #{{attempt}}","ui.sessionTurn.retry.attemptLine":"{{line}} - deneme #{{attempt}}","ui.sessionTurn.retry.geminiHot":"gemini \u015Fu anda a\u015F\u0131r\u0131 yo\u011Fun","ui.sessionTurn.error.freeUsageExceeded":"\xDCcretsiz kullan\u0131m a\u015F\u0131ld\u0131","ui.sessionTurn.error.addQredits":"Kredi ekle","ui.sessionTurn.status.delegating":"G\xF6rev devrediliyor","ui.sessionTurn.status.planning":"Sonraki ad\u0131mlar planlan\u0131yor","ui.sessionTurn.status.gatheringContext":"Ke\u015Ffediliyor","ui.sessionTurn.status.gatheredContext":"Ke\u015Ffedildi","ui.sessionTurn.status.searchingCodebase":"Kod taban\u0131 aran\u0131yor","ui.sessionTurn.status.searchingWeb":"Web aran\u0131yor","ui.sessionTurn.status.makingEdits":"D\xFCzenlemeler yap\u0131l\u0131yor","ui.sessionTurn.status.runningCommands":"Komutlar \xE7al\u0131\u015Ft\u0131r\u0131l\u0131yor","ui.sessionTurn.status.thinking":"D\xFC\u015F\xFCn\xFCyor","ui.sessionTurn.status.thinkingWithTopic":"D\xFC\u015F\xFCn\xFCyor - {{topic}}","ui.sessionTurn.status.gatheringThoughts":"D\xFC\u015F\xFCnceler toplan\u0131yor","ui.sessionTurn.status.consideringNextSteps":"Sonraki ad\u0131mlar de\u011Ferlendiriliyor","ui.messagePart.questions.dismissed":"Sorular reddedildi","ui.messagePart.compaction":"Oturum s\u0131k\u0131\u015Ft\u0131r\u0131ld\u0131","ui.messagePart.context.read.one":"{{count}} okuma","ui.messagePart.context.read.other":"{{count}} okuma","ui.messagePart.context.search.one":"{{count}} arama","ui.messagePart.context.search.other":"{{count}} arama","ui.messagePart.context.list.one":"{{count}} liste","ui.messagePart.context.list.other":"{{count}} liste","ui.messagePart.diagnostic.error":"Hata","ui.messagePart.title.edit":"D\xFCzenle","ui.messagePart.title.write":"Yaz","ui.messagePart.option.typeOwnAnswer":"Kendi cevab\u0131n\u0131z\u0131 yaz\u0131n","ui.messagePart.review.title":"Cevaplar\u0131 inceleyin","ui.list.loading":"Y\xFCkleniyor","ui.list.empty":"Sonu\xE7 bulunamad\u0131","ui.list.clearFilter":"Filtreyi temizle","ui.list.emptyWithFilter.prefix":"Sonu\xE7 bulunamad\u0131:","ui.list.emptyWithFilter.suffix":"","ui.messageNav.newMessage":"Yeni mesaj","ui.textField.copyToClipboard":"Panoya kopyala","ui.textField.copyLink":"Ba\u011Flant\u0131 kopyala","ui.textField.copied":"Kopyaland\u0131","ui.imagePreview.alt":"G\xF6rsel \xF6nizleme","ui.scrollView.ariaLabel":"kayd\u0131r\u0131labilir i\xE7erik","ui.tool.read":"Oku","ui.tool.loaded":"Y\xFCklendi","ui.tool.list":"Listele","ui.tool.glob":"Glob","ui.tool.grep":"Grep","ui.tool.webfetch":"Web getir","ui.tool.websearch":"Web Aramas\u0131","ui.tool.codesearch":"Kod Aramas\u0131","ui.tool.shell":"Kabuk","ui.tool.patch":"Yama","ui.tool.todos":"G\xF6revler","ui.tool.todos.read":"G\xF6revleri oku","ui.tool.questions":"Sorular","ui.tool.agent":"{{type}} Ajan","ui.tool.agent.default":"Ajan","ui.common.file.one":"dosya","ui.common.file.other":"dosya","ui.common.question.one":"soru","ui.common.question.other":"soru","ui.common.add":"Ekle","ui.common.back":"Geri","ui.common.cancel":"\u0130ptal","ui.common.confirm":"Onayla","ui.common.dismiss":"Kapat","ui.common.close":"Kapat","ui.common.next":"\u0130leri","ui.common.submit":"G\xF6nder","ui.permission.deny":"Reddet","ui.permission.allowAlways":"Her zaman izin ver","ui.permission.allowOnce":"Bir kez izin ver","ui.message.expand":"Mesaj\u0131 geni\u015Flet","ui.message.collapse":"Mesaj\u0131 daralt","ui.message.copy":"Kopyala","ui.message.copyMessage":"Mesaj\u0131 kopyala","ui.message.forkMessage":"Yeni oturuma dalland\u0131r","ui.message.revertMessage":"Bu noktaya s\u0131f\u0131rla","ui.message.copyResponse":"Yan\u0131t\u0131 kopyala","ui.message.copied":"Kopyaland\u0131","ui.message.interrupted":"Kesildi","ui.message.queued":"S\u0131rada","ui.message.attachment.alt":"ek","ui.patch.action.deleted":"Silindi","ui.patch.action.created":"Olu\u015Fturuldu","ui.patch.action.moved":"Ta\u015F\u0131nd\u0131","ui.patch.action.patched":"Yamaland\u0131","ui.question.subtitle.answered":"{{count}} cevapland\u0131","ui.question.answer.none":"(cevap yok)","ui.question.review.notAnswered":"(cevaplanmad\u0131)","ui.question.multiHint":"Ge\xE7erli t\xFCm cevaplar\u0131 se\xE7in","ui.question.singleHint":"Bir cevap se\xE7in","ui.question.custom.placeholder":"Cevab\u0131n\u0131z\u0131 yaz\u0131n...","ui.fileSearch.placeholder":"Bul","ui.fileSearch.previousMatch":"\xD6nceki","ui.fileSearch.nextMatch":"Sonraki","ui.fileSearch.close":"Aramay\u0131 kapat","ui.tool.task":"G\xF6rev","ui.tool.skill":"Yetenek","ui.basicTool.called":"`{{tool}}` \xE7a\u011Fr\u0131ld\u0131","ui.toolErrorCard.failed":"Ba\u015Far\u0131s\u0131z","ui.toolErrorCard.copyError":"Hatay\u0131 kopyala","ui.message.duration.seconds":"{{count}}sn","ui.message.duration.minutesSeconds":"{{minutes}}dk {{seconds}}sn"};export{e as dict};
2
+ import"./chunk-kdcnder5.js";import"./chunk-3k2b05fv.js";var e={"ui.sessionReview.title":"Oturum de\u011Fi\u015Fiklikleri","ui.sessionReview.title.lastTurn":"Son tur de\u011Fi\u015Fiklikleri","ui.sessionReview.diffStyle.unified":"Birle\u015Fik","ui.sessionReview.diffStyle.split":"B\xF6l\xFCnm\xFC\u015F","ui.sessionReview.openFile":"Dosyay\u0131 a\xE7","ui.sessionReview.selection.line":"sat\u0131r {{line}}","ui.sessionReview.selection.lines":"sat\u0131rlar {{start}}-{{end}}","ui.sessionReview.expandAll":"T\xFCm\xFCn\xFC geni\u015Flet","ui.sessionReview.collapseAll":"T\xFCm\xFCn\xFC daralt","ui.sessionReview.change.added":"Eklendi","ui.sessionReview.change.removed":"Kald\u0131r\u0131ld\u0131","ui.sessionReview.change.modified":"De\u011Fi\u015Ftirildi","ui.sessionReview.image.loading":"Y\xFCkleniyor...","ui.sessionReview.image.placeholder":"G\xF6rsel","ui.sessionReview.largeDiff.title":"Fark g\xF6sterimi i\xE7in \xE7ok b\xFCy\xFCk","ui.sessionReview.largeDiff.meta":"Limit: {{limit}} de\u011Fi\u015Fen sat\u0131r. Mevcut: {{current}} de\u011Fi\u015Fen sat\u0131r.","ui.sessionReview.largeDiff.renderAnyway":"Yine de g\xF6ster","ui.fileMedia.kind.image":"g\xF6rsel","ui.fileMedia.kind.audio":"ses","ui.fileMedia.state.removed":"{{kind}} dosyas\u0131 kald\u0131r\u0131ld\u0131.","ui.fileMedia.state.loading":"{{kind}} y\xFCkleniyor...","ui.fileMedia.state.error":"{{kind}} y\xFCklenemedi.","ui.fileMedia.state.unavailable":"{{kind}} \xF6nizlemesi kullan\u0131lam\u0131yor.","ui.fileMedia.binary.title":"\u0130kili dosya","ui.fileMedia.binary.description.path":"{{path}} ikili dosyad\u0131r.","ui.fileMedia.binary.description.default":"\u0130kili i\xE7erik","ui.lineComment.label.prefix":"Yorum: ","ui.lineComment.label.suffix":"","ui.lineComment.editorLabel.prefix":"Yorum yap\u0131l\u0131yor: ","ui.lineComment.editorLabel.suffix":"","ui.lineComment.placeholder":"Yorum ekle","ui.lineComment.submit":"Yorum yap","ui.sessionTurn.steps.show":"Ad\u0131mlar\u0131 g\xF6ster","ui.sessionTurn.steps.hide":"Ad\u0131mlar\u0131 gizle","ui.sessionTurn.summary.response":"Yan\u0131t","ui.sessionTurn.diff.showMore":"Daha fazla de\u011Fi\u015Fiklik g\xF6ster ({{count}})","ui.sessionTurn.retry.retrying":"yeniden deneniyor","ui.sessionTurn.retry.inSeconds":"{{seconds}}sn i\xE7inde","ui.sessionTurn.retry.attempt":"deneme #{{attempt}}","ui.sessionTurn.retry.attemptLine":"{{line}} - deneme #{{attempt}}","ui.sessionTurn.retry.geminiHot":"gemini \u015Fu anda a\u015F\u0131r\u0131 yo\u011Fun","ui.sessionTurn.error.freeUsageExceeded":"\xDCcretsiz kullan\u0131m a\u015F\u0131ld\u0131","ui.sessionTurn.error.addQredits":"Kredi ekle","ui.sessionTurn.status.delegating":"G\xF6rev devrediliyor","ui.sessionTurn.status.planning":"Sonraki ad\u0131mlar planlan\u0131yor","ui.sessionTurn.status.gatheringContext":"Ke\u015Ffediliyor","ui.sessionTurn.status.gatheredContext":"Ke\u015Ffedildi","ui.sessionTurn.status.searchingCodebase":"Kod taban\u0131 aran\u0131yor","ui.sessionTurn.status.searchingWeb":"Web aran\u0131yor","ui.sessionTurn.status.makingEdits":"D\xFCzenlemeler yap\u0131l\u0131yor","ui.sessionTurn.status.runningCommands":"Komutlar \xE7al\u0131\u015Ft\u0131r\u0131l\u0131yor","ui.sessionTurn.status.thinking":"D\xFC\u015F\xFCn\xFCyor","ui.sessionTurn.status.thinkingWithTopic":"D\xFC\u015F\xFCn\xFCyor - {{topic}}","ui.sessionTurn.status.gatheringThoughts":"D\xFC\u015F\xFCnceler toplan\u0131yor","ui.sessionTurn.status.consideringNextSteps":"Sonraki ad\u0131mlar de\u011Ferlendiriliyor","ui.messagePart.questions.dismissed":"Sorular reddedildi","ui.messagePart.compaction":"Oturum s\u0131k\u0131\u015Ft\u0131r\u0131ld\u0131","ui.messagePart.context.read.one":"{{count}} okuma","ui.messagePart.context.read.other":"{{count}} okuma","ui.messagePart.context.search.one":"{{count}} arama","ui.messagePart.context.search.other":"{{count}} arama","ui.messagePart.context.list.one":"{{count}} liste","ui.messagePart.context.list.other":"{{count}} liste","ui.messagePart.diagnostic.error":"Hata","ui.messagePart.title.edit":"D\xFCzenle","ui.messagePart.title.write":"Yaz","ui.messagePart.option.typeOwnAnswer":"Kendi cevab\u0131n\u0131z\u0131 yaz\u0131n","ui.messagePart.review.title":"Cevaplar\u0131 inceleyin","ui.list.loading":"Y\xFCkleniyor","ui.list.empty":"Sonu\xE7 bulunamad\u0131","ui.list.clearFilter":"Filtreyi temizle","ui.list.emptyWithFilter.prefix":"Sonu\xE7 bulunamad\u0131:","ui.list.emptyWithFilter.suffix":"","ui.messageNav.newMessage":"Yeni mesaj","ui.textField.copyToClipboard":"Panoya kopyala","ui.textField.copyLink":"Ba\u011Flant\u0131 kopyala","ui.textField.copied":"Kopyaland\u0131","ui.imagePreview.alt":"G\xF6rsel \xF6nizleme","ui.scrollView.ariaLabel":"kayd\u0131r\u0131labilir i\xE7erik","ui.tool.read":"Oku","ui.tool.loaded":"Y\xFCklendi","ui.tool.list":"Listele","ui.tool.glob":"Glob","ui.tool.grep":"Grep","ui.tool.webfetch":"Web getir","ui.tool.websearch":"Web Aramas\u0131","ui.tool.codesearch":"Kod Aramas\u0131","ui.tool.shell":"Kabuk","ui.tool.patch":"Yama","ui.tool.todos":"G\xF6revler","ui.tool.todos.read":"G\xF6revleri oku","ui.tool.questions":"Sorular","ui.tool.agent":"{{type}} Ajan","ui.tool.agent.default":"Ajan","ui.common.file.one":"dosya","ui.common.file.other":"dosya","ui.common.question.one":"soru","ui.common.question.other":"soru","ui.common.add":"Ekle","ui.common.back":"Geri","ui.common.cancel":"\u0130ptal","ui.common.confirm":"Onayla","ui.common.dismiss":"Kapat","ui.common.close":"Kapat","ui.common.next":"\u0130leri","ui.common.submit":"G\xF6nder","ui.permission.deny":"Reddet","ui.permission.allowAlways":"Her zaman izin ver","ui.permission.allowOnce":"Bir kez izin ver","ui.message.expand":"Mesaj\u0131 geni\u015Flet","ui.message.collapse":"Mesaj\u0131 daralt","ui.message.copy":"Kopyala","ui.message.copyMessage":"Mesaj\u0131 kopyala","ui.message.forkMessage":"Yeni oturuma dalland\u0131r","ui.message.revertMessage":"Bu noktaya s\u0131f\u0131rla","ui.message.copyResponse":"Yan\u0131t\u0131 kopyala","ui.message.copied":"Kopyaland\u0131","ui.message.interrupted":"Kesildi","ui.message.queued":"S\u0131rada","ui.message.attachment.alt":"ek","ui.patch.action.deleted":"Silindi","ui.patch.action.created":"Olu\u015Fturuldu","ui.patch.action.moved":"Ta\u015F\u0131nd\u0131","ui.patch.action.patched":"Yamaland\u0131","ui.question.subtitle.answered":"{{count}} cevapland\u0131","ui.question.answer.none":"(cevap yok)","ui.question.review.notAnswered":"(cevaplanmad\u0131)","ui.question.multiHint":"Ge\xE7erli t\xFCm cevaplar\u0131 se\xE7in","ui.question.singleHint":"Bir cevap se\xE7in","ui.question.custom.placeholder":"Cevab\u0131n\u0131z\u0131 yaz\u0131n...","ui.fileSearch.placeholder":"Bul","ui.fileSearch.previousMatch":"\xD6nceki","ui.fileSearch.nextMatch":"Sonraki","ui.fileSearch.close":"Aramay\u0131 kapat","ui.tool.task":"G\xF6rev","ui.tool.skill":"Yetenek","ui.basicTool.called":"`{{tool}}` \xE7a\u011Fr\u0131ld\u0131","ui.toolErrorCard.failed":"Ba\u015Far\u0131s\u0131z","ui.toolErrorCard.copyError":"Hatay\u0131 kopyala","ui.message.duration.seconds":"{{count}}sn","ui.message.duration.minutesSeconds":"{{minutes}}dk {{seconds}}sn"};export{e as dict};
@@ -1,3 +1,3 @@
1
1
  // @bun
2
- import{Oq as z,Rq as B}from"./chunk-ad72gb5f.js";import{Gs as D}from"./chunk-xj765svc.js";import{Yy as r}from"./chunk-gagtmjmp.js";import{OE as R,pH as W,zC as x}from"./chunk-zs8kqdsf.js";var w=x.Reference("~qitqode/InstanceRef",{defaultValue:()=>{return}}),C=x.Reference("~qitqode/WorkspaceRef",{defaultValue:()=>{return}});var V=D.create("instance"),y={async provide(p){return V.provide({workspaceID:p.workspaceID},()=>p.fn())},restore(p,o){return V.provide({workspaceID:p},o)},get workspaceID(){try{return V.use().workspaceID}catch{return}}};var j;function U(p){j=p}function P(){if(!j)throw new D.NotFound("instance");return j()}function H(p,o){if(!o.instance&&!o.workspace)return p;if(!o.instance)return p.pipe(W.provideService(C,o.workspace));if(!o.workspace)return p.pipe(W.provideService(w,o.instance));return p.pipe(W.provideService(w,o.instance),W.provideService(C,o.workspace))}function d(p){try{return H(p,{instance:P(),workspace:y.workspaceID})}catch(o){if(!(o instanceof D.NotFound))throw o}return p}function F(p,o){let G,I=()=>G??=r.make(R.provideMerge(o,z),{memoMap:B});return{runSync:(k)=>I().runSync(d(p.use(k))),runPromiseExit:(k,q)=>I().runPromiseExit(d(p.use(k)),q),runPromise:(k,q)=>I().runPromise(d(p.use(k)),q),runFork:(k)=>I().runFork(d(p.use(k))),runCallback:(k)=>I().runCallback(d(p.use(k)))}}
3
- export{w as Fq,C as Gq,y as Hq,U as Iq,H as Jq,d as Kq,F as Lq};
2
+ import{ls as z,os as B}from"./chunk-qc3ce3vc.js";import{du as D}from"./chunk-x9s90xd1.js";import{vA as r}from"./chunk-wfd5h6ax.js";import{OI as W,YD as x,lG as R}from"./chunk-a0rp7gh4.js";var w=x.Reference("~qitqode/InstanceRef",{defaultValue:()=>{return}}),C=x.Reference("~qitqode/WorkspaceRef",{defaultValue:()=>{return}});var V=D.create("instance"),y={async provide(p){return V.provide({workspaceID:p.workspaceID},()=>p.fn())},restore(p,o){return V.provide({workspaceID:p},o)},get workspaceID(){try{return V.use().workspaceID}catch{return}}};var j;function U(p){j=p}function P(){if(!j)throw new D.NotFound("instance");return j()}function H(p,o){if(!o.instance&&!o.workspace)return p;if(!o.instance)return p.pipe(W.provideService(C,o.workspace));if(!o.workspace)return p.pipe(W.provideService(w,o.instance));return p.pipe(W.provideService(w,o.instance),W.provideService(C,o.workspace))}function d(p){try{return H(p,{instance:P(),workspace:y.workspaceID})}catch(o){if(!(o instanceof D.NotFound))throw o}return p}function F(p,o){let G,I=()=>G??=r.make(R.provideMerge(o,z),{memoMap:B});return{runSync:(k)=>I().runSync(d(p.use(k))),runPromiseExit:(k,q)=>I().runPromiseExit(d(p.use(k)),q),runPromise:(k,q)=>I().runPromise(d(p.use(k)),q),runFork:(k)=>I().runFork(d(p.use(k))),runCallback:(k)=>I().runCallback(d(p.use(k)))}}
3
+ export{w as cs,C as ds,y as es,U as fs,H as gs,d as hs,F as is};
@@ -0,0 +1,2 @@
1
+ // @bun
2
+ import{Yd as a}from"./chunk-rmve21dh.js";import"./chunk-wgk7ynt3.js";import"./chunk-41v0x1jk.js";import"./chunk-a3a1trap.js";import"./chunk-3k2b05fv.js";export{a as fromIni};
@@ -1,5 +1,5 @@
1
1
  // @bun
2
- import{Qd as w1}from"./chunk-x4sp99g6.js";import{BO as r,CO as e1}from"./chunk-7xm75w1e.js";var I1=e1((D0,_1)=>{var e={to(S,J){if(!J)return`\x1B[${S+1}G`;return`\x1B[${J+1};${S+1}H`},move(S,J){let G="";if(S<0)G+=`\x1B[${-S}D`;else if(S>0)G+=`\x1B[${S}C`;if(J<0)G+=`\x1B[${-J}A`;else if(J>0)G+=`\x1B[${J}B`;return G},up:(S=1)=>`\x1B[${S}A`,down:(S=1)=>`\x1B[${S}B`,forward:(S=1)=>`\x1B[${S}C`,backward:(S=1)=>`\x1B[${S}D`,nextLine:(S=1)=>"\x1B[E".repeat(S),prevLine:(S=1)=>"\x1B[F".repeat(S),left:"\x1B[G",hide:"\x1B[?25l",show:"\x1B[?25h",save:"\x1B7",restore:"\x1B8"},I0={up:(S=1)=>"\x1B[S".repeat(S),down:(S=1)=>"\x1B[T".repeat(S)},S0={screen:"\x1B[2J",up:(S=1)=>"\x1B[1J".repeat(S),down:(S=1)=>"\x1B[J".repeat(S),line:"\x1B[2K",lineEnd:"\x1B[K",lineStart:"\x1B[1K",lines(S){let J="";for(let G=0;G<S;G++)J+=this.line+(G<S-1?e.up():"");if(S)J+=e.left;return J}};_1.exports={cursor:e,scroll:I0,erase:S0,beep:"\x07"}});var _=r(I1(),1),f=r(w1(),1);import{stdin as f1,stdout as $1}from"process";import*as E from"readline";import J0 from"readline";import{ReadStream as k1,WriteStream as II}from"tty";function G0({onlyFirst:S=!1}={}){let J=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?(?:\\u0007|\\u001B\\u005C|\\u009C))","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-nq-uy=><~]))"].join("|");return new RegExp(J,S?void 0:"g")}var K0=G0();function E1(S){if(typeof S!="string")throw TypeError(`Expected a \`string\`, got \`${typeof S}\``);return S.replace(K0,"")}function x1(S){return S&&S.__esModule&&Object.prototype.hasOwnProperty.call(S,"default")?S.default:S}var g1={exports:{}};(function(S){var J={};S.exports=J,J.eastAsianWidth=function(W){var z=W.charCodeAt(0),H=W.length==2?W.charCodeAt(1):0,I=z;return 55296<=z&&z<=56319&&56320<=H&&H<=57343&&(z&=1023,H&=1023,I=z<<10|H,I+=65536),I==12288||65281<=I&&I<=65376||65504<=I&&I<=65510?"F":I==8361||65377<=I&&I<=65470||65474<=I&&I<=65479||65482<=I&&I<=65487||65490<=I&&I<=65495||65498<=I&&I<=65500||65512<=I&&I<=65518?"H":4352<=I&&I<=4447||4515<=I&&I<=4519||4602<=I&&I<=4607||9001<=I&&I<=9002||11904<=I&&I<=11929||11931<=I&&I<=12019||12032<=I&&I<=12245||12272<=I&&I<=12283||12289<=I&&I<=12350||12353<=I&&I<=12438||12441<=I&&I<=12543||12549<=I&&I<=12589||12593<=I&&I<=12686||12688<=I&&I<=12730||12736<=I&&I<=12771||12784<=I&&I<=12830||12832<=I&&I<=12871||12880<=I&&I<=13054||13056<=I&&I<=19903||19968<=I&&I<=42124||42128<=I&&I<=42182||43360<=I&&I<=43388||44032<=I&&I<=55203||55216<=I&&I<=55238||55243<=I&&I<=55291||63744<=I&&I<=64255||65040<=I&&I<=65049||65072<=I&&I<=65106||65108<=I&&I<=65126||65128<=I&&I<=65131||110592<=I&&I<=110593||127488<=I&&I<=127490||127504<=I&&I<=127546||127552<=I&&I<=127560||127568<=I&&I<=127569||131072<=I&&I<=194367||177984<=I&&I<=196605||196608<=I&&I<=262141?"W":32<=I&&I<=126||162<=I&&I<=163||165<=I&&I<=166||I==172||I==175||10214<=I&&I<=10221||10629<=I&&I<=10630?"Na":I==161||I==164||167<=I&&I<=168||I==170||173<=I&&I<=174||176<=I&&I<=180||182<=I&&I<=186||188<=I&&I<=191||I==198||I==208||215<=I&&I<=216||222<=I&&I<=225||I==230||232<=I&&I<=234||236<=I&&I<=237||I==240||242<=I&&I<=243||247<=I&&I<=250||I==252||I==254||I==257||I==273||I==275||I==283||294<=I&&I<=295||I==299||305<=I&&I<=307||I==312||319<=I&&I<=322||I==324||328<=I&&I<=331||I==333||338<=I&&I<=339||358<=I&&I<=359||I==363||I==462||I==464||I==466||I==468||I==470||I==472||I==474||I==476||I==593||I==609||I==708||I==711||713<=I&&I<=715||I==717||I==720||728<=I&&I<=731||I==733||I==735||768<=I&&I<=879||913<=I&&I<=929||931<=I&&I<=937||945<=I&&I<=961||963<=I&&I<=969||I==1025||1040<=I&&I<=1103||I==1105||I==8208||8211<=I&&I<=8214||8216<=I&&I<=8217||8220<=I&&I<=8221||8224<=I&&I<=8226||8228<=I&&I<=8231||I==8240||8242<=I&&I<=8243||I==8245||I==8251||I==8254||I==8308||I==8319||8321<=I&&I<=8324||I==8364||I==8451||I==8453||I==8457||I==8467||I==8470||8481<=I&&I<=8482||I==8486||I==8491||8531<=I&&I<=8532||8539<=I&&I<=8542||8544<=I&&I<=8555||8560<=I&&I<=8569||I==8585||8592<=I&&I<=8601||8632<=I&&I<=8633||I==8658||I==8660||I==8679||I==8704||8706<=I&&I<=8707||8711<=I&&I<=8712||I==8715||I==8719||I==8721||I==8725||I==8730||8733<=I&&I<=8736||I==8739||I==8741||8743<=I&&I<=8748||I==8750||8756<=I&&I<=8759||8764<=I&&I<=8765||I==8776||I==8780||I==8786||8800<=I&&I<=8801||8804<=I&&I<=8807||8810<=I&&I<=8811||8814<=I&&I<=8815||8834<=I&&I<=8835||8838<=I&&I<=8839||I==8853||I==8857||I==8869||I==8895||I==8978||9312<=I&&I<=9449||9451<=I&&I<=9547||9552<=I&&I<=9587||9600<=I&&I<=9615||9618<=I&&I<=9621||9632<=I&&I<=9633||9635<=I&&I<=9641||9650<=I&&I<=9651||9654<=I&&I<=9655||9660<=I&&I<=9661||9664<=I&&I<=9665||9670<=I&&I<=9672||I==9675||9678<=I&&I<=9681||9698<=I&&I<=9701||I==9711||9733<=I&&I<=9734||I==9737||9742<=I&&I<=9743||9748<=I&&I<=9749||I==9756||I==9758||I==9792||I==9794||9824<=I&&I<=9825||9827<=I&&I<=9829||9831<=I&&I<=9834||9836<=I&&I<=9837||I==9839||9886<=I&&I<=9887||9918<=I&&I<=9919||9924<=I&&I<=9933||9935<=I&&I<=9953||I==9955||9960<=I&&I<=9983||I==10045||I==10071||10102<=I&&I<=10111||11093<=I&&I<=11097||12872<=I&&I<=12879||57344<=I&&I<=63743||65024<=I&&I<=65039||I==65533||127232<=I&&I<=127242||127248<=I&&I<=127277||127280<=I&&I<=127337||127344<=I&&I<=127386||917760<=I&&I<=917999||983040<=I&&I<=1048573||1048576<=I&&I<=1114109?"A":"N"},J.characterLength=function(W){var z=this.eastAsianWidth(W);return z=="F"||z=="W"||z=="A"?2:1};function G(W){return W.match(/[\uD800-\uDBFF][\uDC00-\uDFFF]|[^\uD800-\uDFFF]/g)||[]}J.length=function(W){for(var z=G(W),H=0,I=0;I<z.length;I++)H=H+this.characterLength(z[I]);return H},J.slice=function(W,z,H){textLen=J.length(W),z=z||0,H=H||1,z<0&&(z=textLen+z),H<0&&(H=textLen+H);for(var I="",Q=0,q=G(W),Z=0;Z<q.length;Z++){var X=q[Z],C=J.length(X);if(Q>=z-(C==2?1:0))if(Q+C<=H)I+=X;else break;Q+=C}return I}})(g1);var W0=g1.exports,z0=x1(W0),H0=function(){return/\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62(?:\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73|\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74|\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67)\uDB40\uDC7F|(?:\uD83E\uDDD1\uD83C\uDFFF\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFE])|(?:\uD83E\uDDD1\uD83C\uDFFE\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFD\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFC\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFB\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFB\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFC-\uDFFF])|\uD83D\uDC68(?:\uD83C\uDFFB(?:\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF]))|\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFC-\uDFFF])|[\u2695\u2696\u2708]\uFE0F|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))?|(?:\uD83C[\uDFFC-\uDFFF])\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF]))|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83D\uDC68|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFE])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])\uFE0F|\u200D(?:(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D[\uDC66\uDC67])|\uD83D[\uDC66\uDC67])|\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC)?|(?:\uD83D\uDC69(?:\uD83C\uDFFB\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|(?:\uD83C[\uDFFC-\uDFFF])\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69]))|\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1)(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC69(?:\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83E\uDDD1(?:\u200D(?:\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83D\uDC69\u200D\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D[\uDC66\uDC67])|\uD83D\uDC69\u200D\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D\uDC41\uFE0F\u200D\uD83D\uDDE8|\uD83E\uDDD1(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|\uD83D\uDC69(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|\uD83D\uDE36\u200D\uD83C\uDF2B|\uD83C\uDFF3\uFE0F\u200D\u26A7|\uD83D\uDC3B\u200D\u2744|(?:(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF])\u200D[\u2640\u2642]|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|\uD83C\uDFF4\u200D\u2620|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])\u200D[\u2640\u2642]|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u2600-\u2604\u260E\u2611\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26B0\u26B1\u26C8\u26CF\u26D1\u26D3\u26E9\u26F0\u26F1\u26F4\u26F7\u26F8\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u3030\u303D\u3297\u3299]|\uD83C[\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]|\uD83D[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3])\uFE0F|\uD83C\uDFF3\uFE0F\u200D\uD83C\uDF08|\uD83D\uDC69\u200D\uD83D\uDC67|\uD83D\uDC69\u200D\uD83D\uDC66|\uD83D\uDE35\u200D\uD83D\uDCAB|\uD83D\uDE2E\u200D\uD83D\uDCA8|\uD83D\uDC15\u200D\uD83E\uDDBA|\uD83E\uDDD1(?:\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC|\uD83C\uDFFB)?|\uD83D\uDC69(?:\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC|\uD83C\uDFFB)?|\uD83C\uDDFD\uD83C\uDDF0|\uD83C\uDDF6\uD83C\uDDE6|\uD83C\uDDF4\uD83C\uDDF2|\uD83D\uDC08\u200D\u2B1B|\u2764\uFE0F\u200D(?:\uD83D\uDD25|\uD83E\uDE79)|\uD83D\uDC41\uFE0F|\uD83C\uDFF3\uFE0F|\uD83C\uDDFF(?:\uD83C[\uDDE6\uDDF2\uDDFC])|\uD83C\uDDFE(?:\uD83C[\uDDEA\uDDF9])|\uD83C\uDDFC(?:\uD83C[\uDDEB\uDDF8])|\uD83C\uDDFB(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA])|\uD83C\uDDFA(?:\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF])|\uD83C\uDDF9(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF])|\uD83C\uDDF8(?:\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF])|\uD83C\uDDF7(?:\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC])|\uD83C\uDDF5(?:\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE])|\uD83C\uDDF3(?:\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF])|\uD83C\uDDF2(?:\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF])|\uD83C\uDDF1(?:\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE])|\uD83C\uDDF0(?:\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF])|\uD83C\uDDEF(?:\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5])|\uD83C\uDDEE(?:\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9])|\uD83C\uDDED(?:\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA])|\uD83C\uDDEC(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE])|\uD83C\uDDEB(?:\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7])|\uD83C\uDDEA(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA])|\uD83C\uDDE9(?:\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF])|\uD83C\uDDE8(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF])|\uD83C\uDDE7(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF])|\uD83C\uDDE6(?:\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF])|[#\*0-9]\uFE0F\u20E3|\u2764\uFE0F|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])|\uD83C\uDFF4|(?:[\u270A\u270B]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5])(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u270C\u270D]|\uD83D[\uDD74\uDD90])(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])|[\u270A\u270B]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC08\uDC15\uDC3B\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE2E\uDE35\uDE36\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5]|\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD]|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF]|[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0D\uDD0E\uDD10-\uDD17\uDD1D\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78\uDD7A-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCB\uDDD0\uDDE0-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6]|(?:[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u270A\u270B\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF93\uDFA0-\uDFCA\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF4\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC3E\uDC40\uDC42-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDD7A\uDD95\uDD96\uDDA4\uDDFB-\uDE4F\uDE80-\uDEC5\uDECC\uDED0-\uDED2\uDED5-\uDED7\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDD78\uDD7A-\uDDCB\uDDCD-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6])|(?:[#\*0-9\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u261D\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692-\u2697\u2699\u269B\u269C\u26A0\u26A1\u26A7\u26AA\u26AB\u26B0\u26B1\u26BD\u26BE\u26C4\u26C5\u26C8\u26CE\u26CF\u26D1\u26D3\u26D4\u26E9\u26EA\u26F0-\u26F5\u26F7-\u26FA\u26FD\u2702\u2705\u2708-\u270D\u270F\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763\u2764\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC04\uDCCF\uDD70\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE02\uDE1A\uDE2F\uDE32-\uDE3A\uDE50\uDE51\uDF00-\uDF21\uDF24-\uDF93\uDF96\uDF97\uDF99-\uDF9B\uDF9E-\uDFF0\uDFF3-\uDFF5\uDFF7-\uDFFF]|\uD83D[\uDC00-\uDCFD\uDCFF-\uDD3D\uDD49-\uDD4E\uDD50-\uDD67\uDD6F\uDD70\uDD73-\uDD7A\uDD87\uDD8A-\uDD8D\uDD90\uDD95\uDD96\uDDA4\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA-\uDE4F\uDE80-\uDEC5\uDECB-\uDED2\uDED5-\uDED7\uDEE0-\uDEE5\uDEE9\uDEEB\uDEEC\uDEF0\uDEF3-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDD78\uDD7A-\uDDCB\uDDCD-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6])\uFE0F|(?:[\u261D\u26F9\u270A-\u270D]|\uD83C[\uDF85\uDFC2-\uDFC4\uDFC7\uDFCA-\uDFCC]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66-\uDC78\uDC7C\uDC81-\uDC83\uDC85-\uDC87\uDC8F\uDC91\uDCAA\uDD74\uDD75\uDD7A\uDD90\uDD95\uDD96\uDE45-\uDE47\uDE4B-\uDE4F\uDEA3\uDEB4-\uDEB6\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1F\uDD26\uDD30-\uDD39\uDD3C-\uDD3E\uDD77\uDDB5\uDDB6\uDDB8\uDDB9\uDDBB\uDDCD-\uDDCF\uDDD1-\uDDDD])/g},Q0=x1(H0);function a(S,J={}){if(typeof S!="string"||S.length===0||(J={ambiguousIsNarrow:!0,...J},S=E1(S),S.length===0))return 0;S=S.replace(Q0()," ");let G=J.ambiguousIsNarrow?1:2,W=0;for(let z of S){let H=z.codePointAt(0);if(H<=31||H>=127&&H<=159||H>=768&&H<=879)continue;switch(z0.eastAsianWidth(z)){case"F":case"W":W+=2;break;case"A":W+=G;break;default:W+=1}}return W}var S1=10,A1=(S=0)=>(J)=>`\x1B[${J+S}m`,V1=(S=0)=>(J)=>`\x1B[${38+S};5;${J}m`,O1=(S=0)=>(J,G,W)=>`\x1B[${38+S};2;${J};${G};${W}m`,U={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],overline:[53,55],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],gray:[90,39],grey:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgGray:[100,49],bgGrey:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};Object.keys(U.modifier);var Y0=Object.keys(U.color),Z0=Object.keys(U.bgColor);[...Y0,...Z0];function q0(){let S=new Map;for(let[J,G]of Object.entries(U)){for(let[W,z]of Object.entries(G))U[W]={open:`\x1B[${z[0]}m`,close:`\x1B[${z[1]}m`},G[W]=U[W],S.set(z[0],z[1]);Object.defineProperty(U,J,{value:G,enumerable:!1})}return Object.defineProperty(U,"codes",{value:S,enumerable:!1}),U.color.close="\x1B[39m",U.bgColor.close="\x1B[49m",U.color.ansi=A1(),U.color.ansi256=V1(),U.color.ansi16m=O1(),U.bgColor.ansi=A1(S1),U.bgColor.ansi256=V1(S1),U.bgColor.ansi16m=O1(S1),Object.defineProperties(U,{rgbToAnsi256:{value:(J,G,W)=>J===G&&G===W?J<8?16:J>248?231:Math.round((J-8)/247*24)+232:16+36*Math.round(J/255*5)+6*Math.round(G/255*5)+Math.round(W/255*5),enumerable:!1},hexToRgb:{value:(J)=>{let G=/[a-f\d]{6}|[a-f\d]{3}/i.exec(J.toString(16));if(!G)return[0,0,0];let[W]=G;W.length===3&&(W=[...W].map((H)=>H+H).join(""));let z=Number.parseInt(W,16);return[z>>16&255,z>>8&255,z&255]},enumerable:!1},hexToAnsi256:{value:(J)=>U.rgbToAnsi256(...U.hexToRgb(J)),enumerable:!1},ansi256ToAnsi:{value:(J)=>{if(J<8)return 30+J;if(J<16)return 90+(J-8);let G,W,z;if(J>=232)G=((J-232)*10+8)/255,W=G,z=G;else{J-=16;let Q=J%36;G=Math.floor(J/36)/5,W=Math.floor(Q/6)/5,z=Q%6/5}let H=Math.max(G,W,z)*2;if(H===0)return 30;let I=30+(Math.round(z)<<2|Math.round(W)<<1|Math.round(G));return H===2&&(I+=60),I},enumerable:!1},rgbToAnsi:{value:(J,G,W)=>U.ansi256ToAnsi(U.rgbToAnsi256(J,G,W)),enumerable:!1},hexToAnsi:{value:(J)=>U.ansi256ToAnsi(U.hexToAnsi256(J)),enumerable:!1}}),U}var X0=q0(),i=new Set(["\x1B","\x9B"]),C0=39,z1="\x07",h1="[",N0="]",v1="m",H1=`${N0}8;;`,j1=(S)=>`${i.values().next().value}${h1}${S}${v1}`,B1=(S)=>`${i.values().next().value}${H1}${S}${z1}`,U0=(S)=>S.split(" ").map((J)=>a(J)),J1=(S,J,G)=>{let W=[...J],z=!1,H=!1,I=a(E1(S[S.length-1]));for(let[Q,q]of W.entries()){let Z=a(q);if(I+Z<=G?S[S.length-1]+=q:(S.push(q),I=0),i.has(q)&&(z=!0,H=W.slice(Q+1).join("").startsWith(H1)),z){H?q===z1&&(z=!1,H=!1):q===v1&&(z=!1);continue}I+=Z,I===G&&Q<W.length-1&&(S.push(""),I=0)}!I&&S[S.length-1].length>0&&S.length>1&&(S[S.length-2]+=S.pop())},L0=(S)=>{let J=S.split(" "),G=J.length;for(;G>0&&!(a(J[G-1])>0);)G--;return G===J.length?S:J.slice(0,G).join(" ")+J.slice(G).join("")},P0=(S,J,G={})=>{if(G.trim!==!1&&S.trim()==="")return"";let W="",z,H,I=U0(S),Q=[""];for(let[Z,X]of S.split(" ").entries()){G.trim!==!1&&(Q[Q.length-1]=Q[Q.length-1].trimStart());let C=a(Q[Q.length-1]);if(Z!==0&&(C>=J&&(G.wordWrap===!1||G.trim===!1)&&(Q.push(""),C=0),(C>0||G.trim===!1)&&(Q[Q.length-1]+=" ",C++)),G.hard&&I[Z]>J){let k=J-C,N=1+Math.floor((I[Z]-k-1)/J);Math.floor((I[Z]-1)/J)<N&&Q.push(""),J1(Q,X,J);continue}if(C+I[Z]>J&&C>0&&I[Z]>0){if(G.wordWrap===!1&&C<J){J1(Q,X,J);continue}Q.push("")}if(C+I[Z]>J&&G.wordWrap===!1){J1(Q,X,J);continue}Q[Q.length-1]+=X}G.trim!==!1&&(Q=Q.map((Z)=>L0(Z)));let q=[...Q.join(`
2
+ import{Qd as w1}from"./chunk-03xppy47.js";import{$P as e1,_P as r}from"./chunk-3k2b05fv.js";var I1=e1((D0,_1)=>{var e={to(S,J){if(!J)return`\x1B[${S+1}G`;return`\x1B[${J+1};${S+1}H`},move(S,J){let G="";if(S<0)G+=`\x1B[${-S}D`;else if(S>0)G+=`\x1B[${S}C`;if(J<0)G+=`\x1B[${-J}A`;else if(J>0)G+=`\x1B[${J}B`;return G},up:(S=1)=>`\x1B[${S}A`,down:(S=1)=>`\x1B[${S}B`,forward:(S=1)=>`\x1B[${S}C`,backward:(S=1)=>`\x1B[${S}D`,nextLine:(S=1)=>"\x1B[E".repeat(S),prevLine:(S=1)=>"\x1B[F".repeat(S),left:"\x1B[G",hide:"\x1B[?25l",show:"\x1B[?25h",save:"\x1B7",restore:"\x1B8"},I0={up:(S=1)=>"\x1B[S".repeat(S),down:(S=1)=>"\x1B[T".repeat(S)},S0={screen:"\x1B[2J",up:(S=1)=>"\x1B[1J".repeat(S),down:(S=1)=>"\x1B[J".repeat(S),line:"\x1B[2K",lineEnd:"\x1B[K",lineStart:"\x1B[1K",lines(S){let J="";for(let G=0;G<S;G++)J+=this.line+(G<S-1?e.up():"");if(S)J+=e.left;return J}};_1.exports={cursor:e,scroll:I0,erase:S0,beep:"\x07"}});var _=r(I1(),1),f=r(w1(),1);import{stdin as f1,stdout as $1}from"process";import*as E from"readline";import J0 from"readline";import{ReadStream as k1,WriteStream as II}from"tty";function G0({onlyFirst:S=!1}={}){let J=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?(?:\\u0007|\\u001B\\u005C|\\u009C))","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-nq-uy=><~]))"].join("|");return new RegExp(J,S?void 0:"g")}var K0=G0();function E1(S){if(typeof S!="string")throw TypeError(`Expected a \`string\`, got \`${typeof S}\``);return S.replace(K0,"")}function x1(S){return S&&S.__esModule&&Object.prototype.hasOwnProperty.call(S,"default")?S.default:S}var g1={exports:{}};(function(S){var J={};S.exports=J,J.eastAsianWidth=function(W){var z=W.charCodeAt(0),H=W.length==2?W.charCodeAt(1):0,I=z;return 55296<=z&&z<=56319&&56320<=H&&H<=57343&&(z&=1023,H&=1023,I=z<<10|H,I+=65536),I==12288||65281<=I&&I<=65376||65504<=I&&I<=65510?"F":I==8361||65377<=I&&I<=65470||65474<=I&&I<=65479||65482<=I&&I<=65487||65490<=I&&I<=65495||65498<=I&&I<=65500||65512<=I&&I<=65518?"H":4352<=I&&I<=4447||4515<=I&&I<=4519||4602<=I&&I<=4607||9001<=I&&I<=9002||11904<=I&&I<=11929||11931<=I&&I<=12019||12032<=I&&I<=12245||12272<=I&&I<=12283||12289<=I&&I<=12350||12353<=I&&I<=12438||12441<=I&&I<=12543||12549<=I&&I<=12589||12593<=I&&I<=12686||12688<=I&&I<=12730||12736<=I&&I<=12771||12784<=I&&I<=12830||12832<=I&&I<=12871||12880<=I&&I<=13054||13056<=I&&I<=19903||19968<=I&&I<=42124||42128<=I&&I<=42182||43360<=I&&I<=43388||44032<=I&&I<=55203||55216<=I&&I<=55238||55243<=I&&I<=55291||63744<=I&&I<=64255||65040<=I&&I<=65049||65072<=I&&I<=65106||65108<=I&&I<=65126||65128<=I&&I<=65131||110592<=I&&I<=110593||127488<=I&&I<=127490||127504<=I&&I<=127546||127552<=I&&I<=127560||127568<=I&&I<=127569||131072<=I&&I<=194367||177984<=I&&I<=196605||196608<=I&&I<=262141?"W":32<=I&&I<=126||162<=I&&I<=163||165<=I&&I<=166||I==172||I==175||10214<=I&&I<=10221||10629<=I&&I<=10630?"Na":I==161||I==164||167<=I&&I<=168||I==170||173<=I&&I<=174||176<=I&&I<=180||182<=I&&I<=186||188<=I&&I<=191||I==198||I==208||215<=I&&I<=216||222<=I&&I<=225||I==230||232<=I&&I<=234||236<=I&&I<=237||I==240||242<=I&&I<=243||247<=I&&I<=250||I==252||I==254||I==257||I==273||I==275||I==283||294<=I&&I<=295||I==299||305<=I&&I<=307||I==312||319<=I&&I<=322||I==324||328<=I&&I<=331||I==333||338<=I&&I<=339||358<=I&&I<=359||I==363||I==462||I==464||I==466||I==468||I==470||I==472||I==474||I==476||I==593||I==609||I==708||I==711||713<=I&&I<=715||I==717||I==720||728<=I&&I<=731||I==733||I==735||768<=I&&I<=879||913<=I&&I<=929||931<=I&&I<=937||945<=I&&I<=961||963<=I&&I<=969||I==1025||1040<=I&&I<=1103||I==1105||I==8208||8211<=I&&I<=8214||8216<=I&&I<=8217||8220<=I&&I<=8221||8224<=I&&I<=8226||8228<=I&&I<=8231||I==8240||8242<=I&&I<=8243||I==8245||I==8251||I==8254||I==8308||I==8319||8321<=I&&I<=8324||I==8364||I==8451||I==8453||I==8457||I==8467||I==8470||8481<=I&&I<=8482||I==8486||I==8491||8531<=I&&I<=8532||8539<=I&&I<=8542||8544<=I&&I<=8555||8560<=I&&I<=8569||I==8585||8592<=I&&I<=8601||8632<=I&&I<=8633||I==8658||I==8660||I==8679||I==8704||8706<=I&&I<=8707||8711<=I&&I<=8712||I==8715||I==8719||I==8721||I==8725||I==8730||8733<=I&&I<=8736||I==8739||I==8741||8743<=I&&I<=8748||I==8750||8756<=I&&I<=8759||8764<=I&&I<=8765||I==8776||I==8780||I==8786||8800<=I&&I<=8801||8804<=I&&I<=8807||8810<=I&&I<=8811||8814<=I&&I<=8815||8834<=I&&I<=8835||8838<=I&&I<=8839||I==8853||I==8857||I==8869||I==8895||I==8978||9312<=I&&I<=9449||9451<=I&&I<=9547||9552<=I&&I<=9587||9600<=I&&I<=9615||9618<=I&&I<=9621||9632<=I&&I<=9633||9635<=I&&I<=9641||9650<=I&&I<=9651||9654<=I&&I<=9655||9660<=I&&I<=9661||9664<=I&&I<=9665||9670<=I&&I<=9672||I==9675||9678<=I&&I<=9681||9698<=I&&I<=9701||I==9711||9733<=I&&I<=9734||I==9737||9742<=I&&I<=9743||9748<=I&&I<=9749||I==9756||I==9758||I==9792||I==9794||9824<=I&&I<=9825||9827<=I&&I<=9829||9831<=I&&I<=9834||9836<=I&&I<=9837||I==9839||9886<=I&&I<=9887||9918<=I&&I<=9919||9924<=I&&I<=9933||9935<=I&&I<=9953||I==9955||9960<=I&&I<=9983||I==10045||I==10071||10102<=I&&I<=10111||11093<=I&&I<=11097||12872<=I&&I<=12879||57344<=I&&I<=63743||65024<=I&&I<=65039||I==65533||127232<=I&&I<=127242||127248<=I&&I<=127277||127280<=I&&I<=127337||127344<=I&&I<=127386||917760<=I&&I<=917999||983040<=I&&I<=1048573||1048576<=I&&I<=1114109?"A":"N"},J.characterLength=function(W){var z=this.eastAsianWidth(W);return z=="F"||z=="W"||z=="A"?2:1};function G(W){return W.match(/[\uD800-\uDBFF][\uDC00-\uDFFF]|[^\uD800-\uDFFF]/g)||[]}J.length=function(W){for(var z=G(W),H=0,I=0;I<z.length;I++)H=H+this.characterLength(z[I]);return H},J.slice=function(W,z,H){textLen=J.length(W),z=z||0,H=H||1,z<0&&(z=textLen+z),H<0&&(H=textLen+H);for(var I="",Q=0,q=G(W),Z=0;Z<q.length;Z++){var X=q[Z],C=J.length(X);if(Q>=z-(C==2?1:0))if(Q+C<=H)I+=X;else break;Q+=C}return I}})(g1);var W0=g1.exports,z0=x1(W0),H0=function(){return/\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62(?:\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73|\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74|\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67)\uDB40\uDC7F|(?:\uD83E\uDDD1\uD83C\uDFFF\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFE])|(?:\uD83E\uDDD1\uD83C\uDFFE\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFD\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFC\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFB\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFB\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFC-\uDFFF])|\uD83D\uDC68(?:\uD83C\uDFFB(?:\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF]))|\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFC-\uDFFF])|[\u2695\u2696\u2708]\uFE0F|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))?|(?:\uD83C[\uDFFC-\uDFFF])\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF]))|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83D\uDC68|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFE])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])\uFE0F|\u200D(?:(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D[\uDC66\uDC67])|\uD83D[\uDC66\uDC67])|\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC)?|(?:\uD83D\uDC69(?:\uD83C\uDFFB\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|(?:\uD83C[\uDFFC-\uDFFF])\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69]))|\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1)(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC69(?:\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83E\uDDD1(?:\u200D(?:\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83D\uDC69\u200D\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D[\uDC66\uDC67])|\uD83D\uDC69\u200D\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D\uDC41\uFE0F\u200D\uD83D\uDDE8|\uD83E\uDDD1(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|\uD83D\uDC69(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|\uD83D\uDE36\u200D\uD83C\uDF2B|\uD83C\uDFF3\uFE0F\u200D\u26A7|\uD83D\uDC3B\u200D\u2744|(?:(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF])\u200D[\u2640\u2642]|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|\uD83C\uDFF4\u200D\u2620|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])\u200D[\u2640\u2642]|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u2600-\u2604\u260E\u2611\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26B0\u26B1\u26C8\u26CF\u26D1\u26D3\u26E9\u26F0\u26F1\u26F4\u26F7\u26F8\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u3030\u303D\u3297\u3299]|\uD83C[\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]|\uD83D[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3])\uFE0F|\uD83C\uDFF3\uFE0F\u200D\uD83C\uDF08|\uD83D\uDC69\u200D\uD83D\uDC67|\uD83D\uDC69\u200D\uD83D\uDC66|\uD83D\uDE35\u200D\uD83D\uDCAB|\uD83D\uDE2E\u200D\uD83D\uDCA8|\uD83D\uDC15\u200D\uD83E\uDDBA|\uD83E\uDDD1(?:\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC|\uD83C\uDFFB)?|\uD83D\uDC69(?:\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC|\uD83C\uDFFB)?|\uD83C\uDDFD\uD83C\uDDF0|\uD83C\uDDF6\uD83C\uDDE6|\uD83C\uDDF4\uD83C\uDDF2|\uD83D\uDC08\u200D\u2B1B|\u2764\uFE0F\u200D(?:\uD83D\uDD25|\uD83E\uDE79)|\uD83D\uDC41\uFE0F|\uD83C\uDFF3\uFE0F|\uD83C\uDDFF(?:\uD83C[\uDDE6\uDDF2\uDDFC])|\uD83C\uDDFE(?:\uD83C[\uDDEA\uDDF9])|\uD83C\uDDFC(?:\uD83C[\uDDEB\uDDF8])|\uD83C\uDDFB(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA])|\uD83C\uDDFA(?:\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF])|\uD83C\uDDF9(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF])|\uD83C\uDDF8(?:\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF])|\uD83C\uDDF7(?:\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC])|\uD83C\uDDF5(?:\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE])|\uD83C\uDDF3(?:\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF])|\uD83C\uDDF2(?:\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF])|\uD83C\uDDF1(?:\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE])|\uD83C\uDDF0(?:\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF])|\uD83C\uDDEF(?:\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5])|\uD83C\uDDEE(?:\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9])|\uD83C\uDDED(?:\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA])|\uD83C\uDDEC(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE])|\uD83C\uDDEB(?:\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7])|\uD83C\uDDEA(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA])|\uD83C\uDDE9(?:\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF])|\uD83C\uDDE8(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF])|\uD83C\uDDE7(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF])|\uD83C\uDDE6(?:\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF])|[#\*0-9]\uFE0F\u20E3|\u2764\uFE0F|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])|\uD83C\uDFF4|(?:[\u270A\u270B]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5])(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u270C\u270D]|\uD83D[\uDD74\uDD90])(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])|[\u270A\u270B]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC08\uDC15\uDC3B\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE2E\uDE35\uDE36\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5]|\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD]|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF]|[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0D\uDD0E\uDD10-\uDD17\uDD1D\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78\uDD7A-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCB\uDDD0\uDDE0-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6]|(?:[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u270A\u270B\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF93\uDFA0-\uDFCA\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF4\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC3E\uDC40\uDC42-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDD7A\uDD95\uDD96\uDDA4\uDDFB-\uDE4F\uDE80-\uDEC5\uDECC\uDED0-\uDED2\uDED5-\uDED7\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDD78\uDD7A-\uDDCB\uDDCD-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6])|(?:[#\*0-9\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u261D\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692-\u2697\u2699\u269B\u269C\u26A0\u26A1\u26A7\u26AA\u26AB\u26B0\u26B1\u26BD\u26BE\u26C4\u26C5\u26C8\u26CE\u26CF\u26D1\u26D3\u26D4\u26E9\u26EA\u26F0-\u26F5\u26F7-\u26FA\u26FD\u2702\u2705\u2708-\u270D\u270F\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763\u2764\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC04\uDCCF\uDD70\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE02\uDE1A\uDE2F\uDE32-\uDE3A\uDE50\uDE51\uDF00-\uDF21\uDF24-\uDF93\uDF96\uDF97\uDF99-\uDF9B\uDF9E-\uDFF0\uDFF3-\uDFF5\uDFF7-\uDFFF]|\uD83D[\uDC00-\uDCFD\uDCFF-\uDD3D\uDD49-\uDD4E\uDD50-\uDD67\uDD6F\uDD70\uDD73-\uDD7A\uDD87\uDD8A-\uDD8D\uDD90\uDD95\uDD96\uDDA4\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA-\uDE4F\uDE80-\uDEC5\uDECB-\uDED2\uDED5-\uDED7\uDEE0-\uDEE5\uDEE9\uDEEB\uDEEC\uDEF0\uDEF3-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDD78\uDD7A-\uDDCB\uDDCD-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6])\uFE0F|(?:[\u261D\u26F9\u270A-\u270D]|\uD83C[\uDF85\uDFC2-\uDFC4\uDFC7\uDFCA-\uDFCC]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66-\uDC78\uDC7C\uDC81-\uDC83\uDC85-\uDC87\uDC8F\uDC91\uDCAA\uDD74\uDD75\uDD7A\uDD90\uDD95\uDD96\uDE45-\uDE47\uDE4B-\uDE4F\uDEA3\uDEB4-\uDEB6\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1F\uDD26\uDD30-\uDD39\uDD3C-\uDD3E\uDD77\uDDB5\uDDB6\uDDB8\uDDB9\uDDBB\uDDCD-\uDDCF\uDDD1-\uDDDD])/g},Q0=x1(H0);function a(S,J={}){if(typeof S!="string"||S.length===0||(J={ambiguousIsNarrow:!0,...J},S=E1(S),S.length===0))return 0;S=S.replace(Q0()," ");let G=J.ambiguousIsNarrow?1:2,W=0;for(let z of S){let H=z.codePointAt(0);if(H<=31||H>=127&&H<=159||H>=768&&H<=879)continue;switch(z0.eastAsianWidth(z)){case"F":case"W":W+=2;break;case"A":W+=G;break;default:W+=1}}return W}var S1=10,A1=(S=0)=>(J)=>`\x1B[${J+S}m`,V1=(S=0)=>(J)=>`\x1B[${38+S};5;${J}m`,O1=(S=0)=>(J,G,W)=>`\x1B[${38+S};2;${J};${G};${W}m`,U={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],overline:[53,55],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],gray:[90,39],grey:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgGray:[100,49],bgGrey:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};Object.keys(U.modifier);var Y0=Object.keys(U.color),Z0=Object.keys(U.bgColor);[...Y0,...Z0];function q0(){let S=new Map;for(let[J,G]of Object.entries(U)){for(let[W,z]of Object.entries(G))U[W]={open:`\x1B[${z[0]}m`,close:`\x1B[${z[1]}m`},G[W]=U[W],S.set(z[0],z[1]);Object.defineProperty(U,J,{value:G,enumerable:!1})}return Object.defineProperty(U,"codes",{value:S,enumerable:!1}),U.color.close="\x1B[39m",U.bgColor.close="\x1B[49m",U.color.ansi=A1(),U.color.ansi256=V1(),U.color.ansi16m=O1(),U.bgColor.ansi=A1(S1),U.bgColor.ansi256=V1(S1),U.bgColor.ansi16m=O1(S1),Object.defineProperties(U,{rgbToAnsi256:{value:(J,G,W)=>J===G&&G===W?J<8?16:J>248?231:Math.round((J-8)/247*24)+232:16+36*Math.round(J/255*5)+6*Math.round(G/255*5)+Math.round(W/255*5),enumerable:!1},hexToRgb:{value:(J)=>{let G=/[a-f\d]{6}|[a-f\d]{3}/i.exec(J.toString(16));if(!G)return[0,0,0];let[W]=G;W.length===3&&(W=[...W].map((H)=>H+H).join(""));let z=Number.parseInt(W,16);return[z>>16&255,z>>8&255,z&255]},enumerable:!1},hexToAnsi256:{value:(J)=>U.rgbToAnsi256(...U.hexToRgb(J)),enumerable:!1},ansi256ToAnsi:{value:(J)=>{if(J<8)return 30+J;if(J<16)return 90+(J-8);let G,W,z;if(J>=232)G=((J-232)*10+8)/255,W=G,z=G;else{J-=16;let Q=J%36;G=Math.floor(J/36)/5,W=Math.floor(Q/6)/5,z=Q%6/5}let H=Math.max(G,W,z)*2;if(H===0)return 30;let I=30+(Math.round(z)<<2|Math.round(W)<<1|Math.round(G));return H===2&&(I+=60),I},enumerable:!1},rgbToAnsi:{value:(J,G,W)=>U.ansi256ToAnsi(U.rgbToAnsi256(J,G,W)),enumerable:!1},hexToAnsi:{value:(J)=>U.ansi256ToAnsi(U.hexToAnsi256(J)),enumerable:!1}}),U}var X0=q0(),i=new Set(["\x1B","\x9B"]),C0=39,z1="\x07",h1="[",N0="]",v1="m",H1=`${N0}8;;`,j1=(S)=>`${i.values().next().value}${h1}${S}${v1}`,B1=(S)=>`${i.values().next().value}${H1}${S}${z1}`,U0=(S)=>S.split(" ").map((J)=>a(J)),J1=(S,J,G)=>{let W=[...J],z=!1,H=!1,I=a(E1(S[S.length-1]));for(let[Q,q]of W.entries()){let Z=a(q);if(I+Z<=G?S[S.length-1]+=q:(S.push(q),I=0),i.has(q)&&(z=!0,H=W.slice(Q+1).join("").startsWith(H1)),z){H?q===z1&&(z=!1,H=!1):q===v1&&(z=!1);continue}I+=Z,I===G&&Q<W.length-1&&(S.push(""),I=0)}!I&&S[S.length-1].length>0&&S.length>1&&(S[S.length-2]+=S.pop())},L0=(S)=>{let J=S.split(" "),G=J.length;for(;G>0&&!(a(J[G-1])>0);)G--;return G===J.length?S:J.slice(0,G).join(" ")+J.slice(G).join("")},P0=(S,J,G={})=>{if(G.trim!==!1&&S.trim()==="")return"";let W="",z,H,I=U0(S),Q=[""];for(let[Z,X]of S.split(" ").entries()){G.trim!==!1&&(Q[Q.length-1]=Q[Q.length-1].trimStart());let C=a(Q[Q.length-1]);if(Z!==0&&(C>=J&&(G.wordWrap===!1||G.trim===!1)&&(Q.push(""),C=0),(C>0||G.trim===!1)&&(Q[Q.length-1]+=" ",C++)),G.hard&&I[Z]>J){let k=J-C,N=1+Math.floor((I[Z]-k-1)/J);Math.floor((I[Z]-1)/J)<N&&Q.push(""),J1(Q,X,J);continue}if(C+I[Z]>J&&C>0&&I[Z]>0){if(G.wordWrap===!1&&C<J){J1(Q,X,J);continue}Q.push("")}if(C+I[Z]>J&&G.wordWrap===!1){J1(Q,X,J);continue}Q[Q.length-1]+=X}G.trim!==!1&&(Q=Q.map((Z)=>L0(Z)));let q=[...Q.join(`
3
3
  `)];for(let[Z,X]of q.entries()){if(W+=X,i.has(X)){let{groups:k}=new RegExp(`(?:\\${h1}(?<code>\\d+)m|\\${H1}(?<uri>.*)${z1})`).exec(q.slice(Z).join(""))||{groups:{}};if(k.code!==void 0){let N=Number.parseFloat(k.code);z=N===C0?void 0:N}else k.uri!==void 0&&(H=k.uri.length===0?void 0:k.uri)}let C=X0.codes.get(Number(z));q[Z+1]===`
4
4
  `?(H&&(W+=B1("")),z&&C&&(W+=j1(C))):X===`
5
5
  `&&(z&&C&&(W+=j1(z)),H&&(W+=B1(H)))}return W};function M1(S,J,G){return String(S).normalize().replace(/\r\n/g,`
@@ -0,0 +1,3 @@
1
+ // @bun
2
+ import{Eu as d,Ru as X}from"./chunk-e7v9trve.js";import{Tu as Qr}from"./chunk-m4j7jyrd.js";import{HF as go,KP as oo,OI as W,YD as rr,lG as mr}from"./chunk-a0rp7gh4.js";import{aQ as J,dQ as vo,eQ as eo}from"./chunk-3k2b05fv.js";var Po={};J(Po,{validateArchiveMetadata:()=>Fo,validateArchiveEntries:()=>zo,replaceDirectoryAtomically:()=>Uo,extractZip:()=>Pr,assertArchiveDestinationSafe:()=>so});import I from"path";import V from"fs/promises";function zo(o,r){let m=I.resolve(r);for(let f of o){let n=f.trim().replaceAll("\\","/");if(!n)continue;if(n.includes("\x00")||I.posix.isAbsolute(n)||/^[a-z]:\//i.test(n))throw Error(`Unsafe archive entry: ${f}`);if(n.split("/").includes(".."))throw Error(`Unsafe archive entry: ${f}`);let s=I.resolve(m,...n.split("/"));if(s!==m&&!s.startsWith(`${m}${I.sep}`))throw Error(`Unsafe archive entry: ${f}`)}}function Fo(o){for(let r of o.split(/\r?\n/))if(/^[bclps]/.test(r))throw Error("Archive contains an unsafe special entry")}async function qo(o){let r=await V.readdir(o,{withFileTypes:!0});await Promise.all(r.map(async(m)=>{let f=I.join(o,m.name);if(m.isSymbolicLink())throw Error(`Archive contains a symbolic link: ${m.name}`);if(m.isDirectory())await qo(f)}))}async function Xo(o){return V.lstat(o).catch((r)=>{if(r.code==="ENOENT")return;throw r})}async function so(o){let r=I.resolve(o),m=I.parse(r),f=m.root;for(let n of r.slice(m.root.length).split(I.sep).filter(Boolean)){f=I.join(f,n);let s=await Xo(f);if(!s)return;if(s.isSymbolicLink())throw Error(`Archive destination contains a symbolic link: ${f}`)}}async function Uo(o,r){let m=I.resolve(r);await so(m);let f=await Xo(m);if(f&&!f.isDirectory())throw Error("Archive destination must be a directory");let n=I.join(I.dirname(m),`.qitqode-backup-${crypto.randomUUID()}`);if(f)await V.rename(m,n);try{await V.rename(o,m)}catch(s){if(f)await V.rename(n,m);throw s}if(f)await V.rm(n,{recursive:!0,force:!0})}async function Pr(o,r){let m=I.resolve(o),f=I.resolve(r),n=await d(process.platform==="win32"?["tar","-tf",m]:["unzip","-Z1",m]);zo(n.stdout.toString().split(/\r?\n/),f);let s=await d(process.platform==="win32"?["tar","-tvf",m]:["unzip","-Z","-l",m]);Fo(s.stdout.toString()),await so(I.dirname(f)),await V.mkdir(I.dirname(f),{recursive:!0}),await so(I.dirname(f));let a=await V.mkdtemp(I.join(I.dirname(f),".qitqode-extract-"));try{if(process.platform==="win32"){let t=m.replace(/'/g,"''"),x=a.replace(/'/g,"''"),N=`$global:ProgressPreference = 'SilentlyContinue'; Expand-Archive -Path '${t}' -DestinationPath '${x}' -Force`;await d(["powershell","-NoProfile","-NonInteractive","-Command",N])}else await d(["unzip","-o","-q",m,"-d",a]);await qo(a),await Uo(a,f)}finally{await V.rm(a,{recursive:!0,force:!0})}}var Eo={};J(Eo,{isValidHex:()=>Ao,hexToRgb:()=>Zo,hexToAnsiBold:()=>Ar});function Ao(o){if(!o)return!1;return/^#[0-9a-fA-F]{6}$/.test(o)}function Zo(o){let r=parseInt(o.slice(1,3),16),m=parseInt(o.slice(3,5),16),f=parseInt(o.slice(5,7),16);return{r,g:m,b:f}}function Ar(o){if(!Ao(o))return;let{r,g:m,b:f}=Zo(o);return`\x1B[38;2;${r};${m};${f}m\x1B[1m`}var Lo={};J(Lo,{awaitDeferred:()=>Zr});function Zr(o,r){return W.ensuring(go.await(o),W.sync(r))}import K from"os";var _={};J(_,{Path:()=>$,Global:()=>_});import q from"fs/promises";import xo from"path";import mm from"os";import ao from"path";import gr from"os";import{randomBytes as Lr,randomUUID as Dr}from"crypto";import{mkdir as to,readFile as dr,rm as g,stat as hr,utimes as vr,writeFile as Do}from"fs/promises";import{createHash as Er}from"crypto";var bo;((Yf)=>{function o(r){return Er("sha1").update(r).digest("hex")}Yf.fast=o})(bo||={});var io;((ho)=>{let o;function r(u){o=u}ho.setGlobal=r;let m=()=>{if(!o)throw Error("Flock global not set");return ao.join(o.state,"locks")},f={staleMs:60000,timeoutMs:300000,baseDelayMs:100,maxDelayMs:2000};function n(u){if(typeof u!=="object"||u===null||!("code"in u))return;let i=u.code;if(typeof i!=="string")return;return i}function s(u,i){return new Promise((c,M)=>{if(i?.aborted){M(i.reason??Error("Aborted"));return}let R,b=()=>{i?.removeEventListener("abort",j),c()},j=()=>{if(R)clearTimeout(R);i?.removeEventListener("abort",j),M(i?.reason??Error("Aborted"))};if(i?.addEventListener("abort",j,{once:!0}),R=setTimeout(b,u),i?.aborted)j()})}function a(u){let i=Math.floor(u*0.3),c=Math.floor(Math.random()*(2*i+1))-i;return Math.max(0,u+c)}function t(){return performance.now()}function x(){return performance.timeOrigin+t()}async function N(u){try{return await hr(u)}catch(i){let c=n(i);if(c==="ENOENT"||c==="ENOTDIR")return;throw i}}async function T(u,i,c,M){let R=x(),b=await N(i);if(b)return R-b.mtimeMs>M;let j=await N(c);if(j)return R-j.mtimeMs>M;let H=await N(u);if(!H)return!1;return R-H.mtimeMs>M}async function A(u,i){let c=Dr?.()??Lr(16).toString("hex"),M=ao.join(u,"meta.json"),R=ao.join(u,"heartbeat");try{await to(u,{mode:448})}catch(D){if(n(D)!=="EEXIST")throw D;if(!await T(u,R,M,i.staleMs))return{acquired:!1};let S=u+".breaker";try{await to(S,{mode:448})}catch(B){let E=n(B);if(E==="EEXIST"){let Yo=await N(S);if(Yo&&x()-Yo.mtimeMs>i.staleMs)await g(S,{recursive:!0,force:!0}).catch(()=>{return});return{acquired:!1}}if(E==="ENOENT"||E==="ENOTDIR")return{acquired:!1};throw B}try{if(!await T(u,R,M,i.staleMs))return{acquired:!1};await g(u,{recursive:!0,force:!0});try{await to(u,{mode:448})}catch(B){let E=n(B);if(E==="EEXIST"||E==="ENOTEMPTY")return{acquired:!1};throw B}}finally{await g(S,{recursive:!0,force:!0}).catch(()=>{return})}}let b={token:c,pid:process.pid,hostname:gr.hostname(),createdAt:new Date().toISOString()};await Do(R,"",{flag:"wx"}).catch(async()=>{throw await g(u,{recursive:!0,force:!0}),Error("Lock acquired but heartbeat already existed (possible compromise).")}),await Do(M,JSON.stringify(b,null,2),{flag:"wx"}).catch(async()=>{throw await g(u,{recursive:!0,force:!0}),Error("Lock acquired but meta.json already existed (possible compromise).")});let j;return{acquired:!0,startHeartbeat:(D=Math.max(100,Math.floor(i.staleMs/3)))=>{if(j)return;j=setInterval(()=>{let S=new Date;vr(R,S,S).catch(()=>{return})},D),j.unref?.()},release:async()=>{if(j)clearInterval(j),j=void 0;if((await dr(M,"utf8").then((S)=>{let B=JSON.parse(S);if(!B||typeof B!=="object")return{};return{token:"token"in B&&typeof B.token==="string"?B.token:void 0}}).catch((S)=>{let B=n(S);if(B==="ENOENT"||B==="ENOTDIR")throw Error("Refusing to release: lock is compromised (metadata missing).");if(S instanceof SyntaxError)throw Error("Refusing to release: lock is compromised (metadata invalid).");throw S})).token!==c)throw Error("Refusing to release: lock token mismatch (not the owner).");await g(u,{recursive:!0,force:!0})}}}async function no(u,i,c){let M=t()+c.timeoutMs,R=0,b=0,j=c.baseDelayMs;while(!0){i.signal?.throwIfAborted();let H=await A(u,c);if(H.acquired)return H;if(t()>M)throw Error(`Timed out waiting for lock: ${i.key}`);R+=1;let Z=a(j);await i.onWait?.({key:i.key,attempt:R,delay:Z,waited:b}),await s(Z,i.signal),b+=Z,j=Math.min(c.maxDelayMs,Math.floor(j*1.7))}}async function Xr(u,i={}){i.signal?.throwIfAborted();let c={staleMs:i.staleMs??f.staleMs,timeoutMs:i.timeoutMs??f.timeoutMs,baseDelayMs:i.baseDelayMs??f.baseDelayMs,maxDelayMs:i.maxDelayMs??f.maxDelayMs},M=i.dir??m();await to(M,{recursive:!0});let R=ao.join(M,bo.fast(u)+".lock"),b=await no(R,{key:u,onWait:i.onWait,signal:i.signal},c);b.startHeartbeat();let j,H=()=>{return j??=b.release()};return{release:H,[Symbol.asyncDispose](){return H()}}}ho.acquire=Xr;async function Qf(u,i,c={}){let R=[];try{const M=vo(R,await Xr(u,c),1);c.signal?.throwIfAborted();return await i()}catch(b){var j=b,H=1}finally{var Z=eo(R,j,H);Z&&await Z}}ho.withLock=Qf,ho.effect=W.fn("Flock.effect")(function*(u,i={}){return yield*W.acquireRelease(W.promise((c)=>io.acquire(u,{...i,signal:c})).pipe(W.withSpan("Flock.acquire",{attributes:{key:u}})),(c)=>W.promise(()=>c.release()).pipe(W.withSpan("Flock.release"))).pipe(W.asVoid)})})(io||={});import w from"path";import er from"os";import uo from"path";var y=er.homedir(),{env:F}=process,h=F.XDG_DATA_HOME||(y?uo.join(y,".local","share"):void 0),po=F.XDG_CONFIG_HOME||(y?uo.join(y,".config"):void 0),ko=F.XDG_STATE_HOME||(y?uo.join(y,".local","state"):void 0),lo=F.XDG_CACHE_HOME||(y?uo.join(y,".cache"):void 0),Df=F.XDG_RUNTIME_DIR||void 0,kr=(F.XDG_DATA_DIRS||"/usr/local/share/:/usr/share/").split(":");if(h)kr.unshift(h);var lr=(F.XDG_CONFIG_DIRS||"/etc/xdg").split(":");if(po)lr.unshift(po);import om from"os";var v="qitqode";function Bo(o=process.env){let r=o.QITQODE_HOME;if(r){if(!w.isAbsolute(r))throw Error(`QITQODE_HOME must be an absolute path, got: ${JSON.stringify(r)}`);return{mode:"qitqode_home",root:r,data:w.join(r,"data"),cache:w.join(r,"cache"),config:w.join(r,"config"),state:w.join(r,"state")}}return{mode:"xdg",data:w.join(h,v),cache:w.join(lo,v),config:w.join(po,v),state:w.join(ko,v)}}function So(o=process.env){let r=o.QITQODE_LOG_DIR;if(r){if(!w.isAbsolute(r))throw Error(`QITQODE_LOG_DIR must be an absolute path, got: ${JSON.stringify(r)}`);return r}return w.join(h,v,"log")}var rm;((or)=>{class o extends rr.Service()("@qitqode/Global"){}or.Service=o,or.layer=mr.effect(o,W.gen(function*(){let m=process.env.HOME||process.env.USERPROFILE||om.homedir(),{data:f,cache:n,config:s,state:a}=yield*W.sync(()=>Bo()),t=w.join(n,"bin"),x=yield*W.sync(()=>So());return o.of({home:m,data:f,cache:n,config:s,state:a,bin:t,log:x})}))})(rm||={});var{data:fm,cache:fr,config:nm,state:sr}=Bo(),$={get home(){return process.env.HOME||process.env.USERPROFILE||mm.homedir()},data:fm,bin:xo.join(fr,"bin"),log:So(),cache:fr,config:nm,state:sr};io.setGlobal({state:sr});await Promise.all([q.mkdir($.data,{recursive:!0}),q.mkdir($.config,{recursive:!0}),q.mkdir($.state,{recursive:!0}),q.mkdir($.log,{recursive:!0}),q.mkdir($.bin,{recursive:!0})]);var nr="21",sm=await X.readText(xo.join($.cache,"version")).catch(()=>"0");if(sm!==nr){try{let o=await q.readdir($.cache);await Promise.all(o.map((r)=>q.rm(xo.join($.cache,r),{recursive:!0,force:!0})))}catch{}await X.write(xo.join($.cache,"version"),nr)}var ar="0.1.34",tr="latest",an="3abe63bcecbaf0c89b31cc16efcf43145e1d73d3",tn=!1;import am from"path";var U;async function ir(){if(U)return U;let o=am.join(_.Path.data,"installation_id"),r=await X.readText(o).catch(()=>{return});if(r&&r.trim())return U=r.trim(),U;return U=crypto.randomUUID(),await X.write(o,U),U}var pr="QITQODE_RUN_ID",ur="QITQODE_PROCESS_ROLE";function tm(){return process.env.QITQODE_RUN_ID??=crypto.randomUUID()}function im(o){return process.env.QITQODE_PROCESS_ROLE??=o}function Nn(o){return{runID:tm(),processRole:im(o)}}function jn(o){let r=Object.fromEntries(Object.entries(process.env).filter((m)=>m[1]!==void 0));return o?Object.assign(r,o):r}function pm(){if(process.env.USER)return process.env.USER;if(process.env.USERNAME)return process.env.USERNAME;return K.userInfo().username}function um(){return Intl.DateTimeFormat().resolvedOptions().locale}function xm(){return Intl.DateTimeFormat().resolvedOptions().timeZone}async function cm(){let o=K.cpus();return{os:{platform:K.platform(),arch:K.arch(),release:K.release(),hostname:K.hostname()},cpu:{model:o[0]?.model??"unknown",count:o.length},memory:{total_bytes:K.totalmem()},user:{username:pm(),homedir:K.homedir()},runtime:{bun_version:Bun.version,node_version:process.versions.node,pid:process.pid,timezone:xm(),locale:um()},paths:{cwd:process.cwd(),data:_.Path.data,config:_.Path.config},qitqode:{version:ar,channel:tr,installation_id:await ir(),run_id:pr,process_role:ur}}}var Rr={};J(Rr,{toString:()=>hm,parse:()=>vm,match:()=>Dm,fromParsedKey:()=>dm});var Y={done:!1,hasNext:!1};function P(o,...r){let m=o,f=r.map((s)=>("lazy"in s)?Om(s):void 0),n=0;for(;n<r.length;){if(f[n]===void 0||!Nm(m)){let x=r[n];m=x(m),n+=1;continue}let s=[];for(let x=n;x<r.length;x++){let N=f[x];if(N===void 0||(s.push(N),N.isSingle))break}let a=[];for(let x of m)if(xr(x,a,s))break;let{isSingle:t}=s.at(-1);m=t?a[0]:a,n+=s.length}return m}function xr(o,r,m){if(m.length===0)return r.push(o),!1;let f=o,n=Y,s=!1;for(let[a,t]of m.entries()){let{index:x,items:N}=t;if(N.push(f),n=t(f,x,N),t.index+=1,n.hasNext){if(n.hasMany??!1){for(let T of n.next)if(xr(T,r,m.slice(a+1)))return!0;return s}f=n.next}if(!n.hasNext)break;n.done&&(s=!0)}return n.hasNext&&r.push(f),s}function Om(o){let{lazy:r,lazyArgs:m}=o,f=r(...m);return Object.assign(f,{isSingle:r.single??!1,index:0,items:[]})}function Nm(o){return typeof o=="string"||typeof o=="object"&&o!==null&&Symbol.iterator in o}function co(o,r){let m=r.length-o.length;if(m===1){let[f,...n]=r;return P(f,{lazy:o,lazyArgs:n})}if(m===0){let f={lazy:o,lazyArgs:r};return Object.assign((n)=>P(n,f),f)}throw Error("Wrong number of arguments")}function jm(...o){return co(Rm,o)}function Rm(){let o=new Set;return(r)=>o.has(r)?Y:(o.add(r),{done:!1,hasNext:!0,next:r})}function Tm(...o){return co(Im,o)}function Im(o){let r=o,m=new Set;return(f,n,s)=>{let a=r(f,n,s);return m.has(a)?Y:(m.add(a),{done:!1,hasNext:!0,next:f})}}function cr(o,r,m){let f=(n)=>o(n,...r);return m===void 0?f:Object.assign(f,{lazy:m,lazyArgs:r})}function O(o,r,m){let f=o.length-r.length;if(f===0)return o(...r);if(f===1)return cr(o,r,m);throw Error("Wrong number of arguments")}function Mm(...o){return O(Object.values,o)}var Nr={asc:(o,r)=>o>r,desc:(o,r)=>o<r};function Oo(o,r){let[m,...f]=r;if(!Wm(m)){let s=Jo(...f);return o(m,s)}let n=Jo(m,...f);return(s)=>o(s,n)}function Jo(o,r,...m){let f=typeof o=="function"?o:o[0],n=typeof o=="function"?"asc":o[1],{[n]:s}=Nr,a=r===void 0?void 0:Jo(r,...m);return(t,x)=>{let N=f(t),T=f(x);return s(N,T)?1:s(T,N)?-1:a?.(t,x)??0}}function Wm(o){if(Or(o))return!0;if(typeof o!="object"||!Array.isArray(o))return!1;let[r,m,...f]=o;return Or(r)&&typeof m=="string"&&m in Nr&&f.length===0}var Or=(o)=>typeof o=="function"&&o.length===1;function No(...o){return Oo(bm,o)}var bm=(o,r)=>[...o].sort(r);function Bm(...o){return O(Sm,o)}function Sm(o,r){let m={};for(let[f,n]of Object.entries(o))r(n,f,o)&&(m[f]=n);return m}function wo(o){if(typeof o!="object"||o===null)return!1;let r=Object.getPrototypeOf(o);return r===null||r===Object.prototype}function Jm(...o){return O(jr,o)}function jr(o,r){let m={...o,...r};for(let f in r){if(!(f in o))continue;let{[f]:n}=o;if(!wo(n))continue;let{[f]:s}=r;wo(s)&&(m[f]=jr(n,s))}return m}function e(...o){return O(wm,o)}var wm=(o,r)=>o.length>=r;function _m(...o){return O(Cm,o)}function Cm(o,r){if(!e(r,1))return{...o};if(!e(r,2)){let{[r[0]]:f,...n}=o;return n}let m={...o};for(let f of r)delete m[f];return m}function Hm(...o){return O(Qm,o)}function Qm(o,r){let m={};for(let[f,n]of Object.entries(o)){let s=r(n,f,o);m[f]=s}return m}function $m(...o){return O(Gm,o,Vm)}var Gm=(o,r)=>o.map(r),Vm=(o)=>(r,m,f)=>({done:!1,hasNext:!0,next:o(r,m,f)});function ym(...o){return O(Km,o)}var Km=(o,r)=>{let m=Object.create(null);for(let f=0;f<o.length;f++){let n=o[f],s=r(n,f,o);if(s!==void 0){let a=m[s];a===void 0?m[s]=[n]:a.push(n)}}return Object.setPrototypeOf(m,Object.prototype),m};function _o(...o){return O(k,o)}function k(o,r){if(o===r||Object.is(o,r))return!0;if(typeof o!="object"||typeof r!="object"||o===null||r===null||Object.getPrototypeOf(o)!==Object.getPrototypeOf(r))return!1;if(Array.isArray(o))return Ym(o,r);if(o instanceof Map)return zm(o,r);if(o instanceof Set)return Fm(o,r);if(o instanceof Date)return o.getTime()===r.getTime();if(o instanceof RegExp)return o.toString()===r.toString();if(Object.keys(o).length!==Object.keys(r).length)return!1;for(let[m,f]of Object.entries(o))if(!(m in r)||!k(f,r[m]))return!1;return!0}function Ym(o,r){if(o.length!==r.length)return!1;for(let[m,f]of o.entries())if(!k(f,r[m]))return!1;return!0}function zm(o,r){if(o.size!==r.size)return!1;for(let[m,f]of o.entries())if(!r.has(m)||!k(f,r.get(m)))return!1;return!0}function Fm(o,r){if(o.size!==r.size)return!1;let m=[...r];for(let f of o){let n=!1;for(let[s,a]of m.entries())if(k(f,a)){n=!0,m.splice(s,1);break}if(!n)return!1}return!0}function qm(...o){return Oo(Xm,o)}function Xm(o,r){if(!e(o,2))return o[0];let[m]=o,[,...f]=o;for(let n of f)r(n,m)<0&&(m=n);return m}function Um(...o){return O(Pm,o,Am)}var Pm=(o,r)=>o.flatMap(r),Am=(o)=>(r,m,f)=>{let n=o(r,m,f);return Array.isArray(n)?{done:!1,hasNext:!0,hasMany:!0,next:n}:{done:!1,hasNext:!0,next:n}};function Zm(...o){return O(Object.entries,o)}function Em(...o){return O(gm,o,Lm)}var gm=(o,r)=>o.filter(r),Lm=(o)=>(r,m,f)=>o(r,m,f)?{done:!1,hasNext:!0,next:r}:Y;function Dm(o,r){if(!o)return!1;let m={...o,super:o.super??!1},f={...r,super:r.super??!1};return _o(m,f)}function dm(o,r=!1){return{name:o.name===" "?"space":o.name,ctrl:o.ctrl,meta:o.meta,shift:o.shift,super:o.super??!1,leader:r}}function hm(o){if(!o)return"";let r=[];if(o.ctrl)r.push("ctrl");if(o.meta)r.push("alt");if(o.super)r.push("super");if(o.shift)r.push("shift");if(o.name)if(o.name==="delete")r.push("del");else r.push(o.name);let m=r.join("+");if(o.leader)m=m?`<leader> ${m}`:"<leader>";return m}function vm(o){if(o==="none")return[];return o.split(",").map((r)=>{let f=r.replace(/<leader>/g,"leader+").toLowerCase().split("+"),n={ctrl:!1,meta:!1,shift:!1,leader:!1,name:""};for(let s of f)switch(s){case"ctrl":n.ctrl=!0;break;case"alt":case"meta":case"option":n.meta=!0;break;case"super":n.super=!0;break;case"shift":n.shift=!0;break;case"leader":n.leader=!0;break;case"esc":n.name="escape";break;default:n.name=s;break}return n})}var Tr={};J(Tr,{create:()=>km,NotFound:()=>Co});import{AsyncLocalStorage as em}from"async_hooks";class Co extends Error{name;constructor(o){super(`No context found for ${o}`);this.name=o}}function km(o){let r=new em;return{use(){let m=r.getStore();if(!m)throw new Co(o);return m},provide(m,f){return r.run(m,f)}}}var Mr={};J(Mr,{truncateMiddle:()=>nf,truncate:()=>ff,todayTimeOrDateTime:()=>of,titlecase:()=>lm,time:()=>Ho,pluralize:()=>sf,number:()=>rf,duration:()=>mf,datetime:()=>Ir});function lm(o){return o.replace(/\b\w/g,(r)=>r.toUpperCase())}function Ho(o){return new Date(o).toLocaleTimeString(void 0,{timeStyle:"short"})}function Ir(o){let r=new Date(o),m=Ho(o),f=r.toLocaleDateString();return`${m} \xB7 ${f}`}function of(o){let r=new Date(o),m=new Date;if(r.getFullYear()===m.getFullYear()&&r.getMonth()===m.getMonth()&&r.getDate()===m.getDate())return Ho(o);else return Ir(o)}function rf(o){if(o>=1e6)return(o/1e6).toFixed(1)+"M";else if(o>=1000)return(o/1000).toFixed(1)+"K";return o.toString()}function mf(o){if(o<1000)return`${o}ms`;if(o<60000)return`${(o/1000).toFixed(1)}s`;if(o<3600000){let f=Math.floor(o/60000),n=Math.floor(o%60000/1000);return`${f}m ${n}s`}if(o<86400000){let f=Math.floor(o/3600000),n=Math.floor(o%3600000/60000);return`${f}h ${n}m`}let r=Math.floor(o%86400000/3600000);return`${Math.floor(o/86400000)}d ${r}h`}function ff(o,r){if(r<=0)return"";if(o.length<=r)return o;return o.slice(0,r-1)+"\u2026"}function nf(o,r=35){if(r<=0)return"";if(o.length<=r)return o;let m="\u2026",f=Math.ceil((r-m.length)/2),n=Math.floor((r-m.length)/2);return o.slice(0,f)+m+(n>0?o.slice(-n):"")}function sf(o,r,m){return(o===1?r:m).replace("{}",o.toString())}var Br={};J(Br,{write:()=>pf,read:()=>tf});var l=new Map;function Wr(o){if(!l.has(o))l.set(o,{readers:0,writer:!1,waitingReaders:[],waitingWriters:[]});return l.get(o)}function af(o){let r=l.get(o);if(!r||r.writer||r.readers>0)return;if(r.waitingWriters.length>0){r.waitingWriters.shift()();return}while(r.waitingReaders.length>0)r.waitingReaders.shift()();if(r.readers===0&&!r.writer&&r.waitingReaders.length===0&&r.waitingWriters.length===0)l.delete(o)}function br(o){return new Promise((r)=>{let m=()=>{o.acquire();let f=!1;r({[Symbol.dispose]:()=>{if(f)return;f=!0,o.release(),af(o.key)}})};if(o.available())m();else o.waiting.push(m)})}async function tf(o){let r=Wr(o);return br({key:o,available:()=>!r.writer&&r.waitingWriters.length===0,acquire:()=>r.readers++,release:()=>r.readers--,waiting:r.waitingReaders})}async function pf(o){let r=Wr(o);return br({key:o,available:()=>!r.writer&&r.readers===0,acquire:()=>{r.writer=!0},release:()=>{r.writer=!1},waiting:r.waitingWriters})}var Kr={};J(Kr,{redactValue:()=>Vo,init:()=>Mf,flush:()=>Wf,file:()=>If,enabled:()=>Rf,create:()=>yo,Level:()=>cf,Default:()=>Tf});import Io from"path";import z from"fs/promises";import{createWriteStream as $r}from"fs";var ku="https://qortex.forgewise.tech/api/v1/qortex/streamTier",lu=new URL("https://qortex.forgewise.tech/api/v1/qortex/streamTier").origin,Sr="https://qortex.forgewise.tech/api/v1/qortex/streamTier".replace(/\/streamTier$/,""),ox={name:"QitQode",family:"qlex",npm:"@qitqode/qlex-provider",limit:{context:200000,output:16384},capabilities:{temperature:!0,reasoning:!1,attachment:!0,toolcall:!0,input:{text:!0,audio:!1,image:!0,video:!1,pdf:!1},output:{text:!0,audio:!1,image:!1,video:!1,pdf:!1},interleaved:!1},release_date:"2025-07-06"};function Q(o){return o.replace(/provider\s+'[^']*'\s*(?:stream\s+)?(?:failed|error)?\s*:?\s*/gi,"").replace(/\b(?:anthropic|openai|google|vertex\s*ai|bedrock|azure|x\.?ai|mistral|deepseek|cohere|groq|together(?:\.ai)?|openrouter|fireworks|perplexity|meta)\b/gi,"").replace(/\b(?:gpt|claude|gemini|grok|llama|qwen|sonnet|opus|haiku|o[0-9])[-\w.]*/gi,"").replace(/\s+/g," ").replace(/^[\s:;,.\-]+/,"").replace(/[\s.]+$/,"").trim()}var rx={notLoggedIn:"Not logged in to QitQode. Run `qitqode auth login` to sign in with your Forgewise account.",rateLimit:"Rate limit exceeded. Please wait a moment before sending more requests.",insufficientBalance:(o)=>{let r=o?Q(o):"";return`Insufficient qredits${r?`: ${r}`:""}. Add qredits at qitqode.com to continue.`},invalidCredentials:(o)=>{let r=o?Q(o):"";return`QitQode sign-in was rejected by the server${r?` (${r})`:""}. Please sign in again with your Forgewise account or a valid API key.`},accountNotLinked:(o)=>{let r=o?Q(o):"";return`This credential isn't linked to a QitQode account${r?` (${r})`:""}, so there is no wallet to read. Sign in with your Forgewise account, or use a key issued to that account.`},gatewayUnavailable:(o)=>{let r=o?Q(o):"";return`The QitQode model gateway is unavailable${r?` (${r})`:""}. Your sign-in is still valid \u2014 the model backend isn't reachable through its trusted gateway yet. This is a server-side configuration issue, not a login problem.`},streamFailed:(o)=>{let r=o?Q(o):"";return`The QitQode model stream failed${r?`: ${r}`:""}.`},requestRejected:(o,r)=>{let m=o?Q(o):"",f=r?Q(r):"";return`QitQode built an invalid request and the server rejected it${f?` (field: ${f})`:""}${m?`: ${m}`:""}. This is a problem with the request QitQode sent \u2014 not your sign-in, and not a gateway outage. Sending the same thing again will fail the same way.`},requestNotSent:(o)=>{let r=o?Q(o):"";return`QitQode did not send this request${r?`: ${r}`:""}. Nothing was sent and no qredits were spent. This is a problem inside QitQode \u2014 not your sign-in, and not a gateway outage.`},requestTooLargeRecovering:(o)=>{let r=o?Q(o):"";return`This request was too large to send${r?` (${r})`:""}, so QitQode removed some earlier conversation detail and is trying once more. Your sign-in is fine and the service is reachable.`},requestTooLargeIrreducible:(o)=>{let r=o?Q(o):"";return`This request is too large for the service to accept${r?` (${r})`:""}, and QitQode couldn't make it smaller without losing your current request. Try removing large pasted text or attachments from your message, or start a new session. This isn't a sign-in problem or a service outage.`},requestTooLargeAfterReduction:(o)=>{let r=o?Q(o):"";return`This request was still too large for the service after QitQode removed earlier conversation detail${r?` (${r})`:""}, so it stopped rather than retrying again. Start a new session, or send a shorter message with fewer attachments. This isn't a sign-in problem or a service outage.`},insufficientBalanceFallback:"Insufficient qredits.",insufficientBalanceCliSuffix:" Visit qitqode.com to add qredits.",invalidCredentialsFallback:"QitQode sign-in was rejected by the server. Please sign in again.",apiKeyPrompt:"Paste your Qortex API key:",apiKeyPlaceholder:"qortex-...",loginMenuForgewise:"Sign in with Forgewise account",loginMenuApiKey:"Paste a Qortex API key",waitingForgewise:"\u23F3 Waiting for Forgewise sign-in in your browser\u2026"};function p(o){let r=process.env[o]?.toLowerCase();return r==="true"||r==="1"}function Qo(o){let r=process.env[o]?.toLowerCase();return r==="false"||r==="0"}function G(o){let r=process.env[o];if(!r)return;let m=Number(r);return Number.isInteger(m)&&m>0?m:void 0}var L=p("QITQODE_EXPERIMENTAL"),jo=p("QITQODE_DISABLE_CLAUDE_CODE"),Ro=p("QITQODE_DISABLE_EXTERNAL_SKILLS"),uf=Ro||jo||p("QITQODE_DISABLE_CLAUDE_CODE_SKILLS"),xf=process.env.QITQODE_EXPERIMENTAL_DISABLE_COPY_ON_SELECT,Jr={OTEL_EXPORTER_OTLP_ENDPOINT:process.env.OTEL_EXPORTER_OTLP_ENDPOINT,OTEL_EXPORTER_OTLP_HEADERS:process.env.OTEL_EXPORTER_OTLP_HEADERS,QITQODE_AUTO_SHARE:p("QITQODE_AUTO_SHARE"),QITQODE_AUTO_HEAP_SNAPSHOT:p("QITQODE_AUTO_HEAP_SNAPSHOT"),QITQODE_GIT_BASH_PATH:process.env.QITQODE_GIT_BASH_PATH,QITQODE_CONFIG:process.env.QITQODE_CONFIG,QITQODE_CONFIG_CONTENT:process.env.QITQODE_CONFIG_CONTENT,get QITQODE_BACKEND_URL(){return process.env.QITQODE_BACKEND_URL??Sr},get QITQODE_QLEX_MAX_REQUEST_BYTES(){return G("QITQODE_QLEX_MAX_REQUEST_BYTES")},QITQODE_DISABLE_AUTOUPDATE:p("QITQODE_DISABLE_AUTOUPDATE"),QITQODE_DISABLE_LOG_ROTATION:p("QITQODE_DISABLE_LOG_ROTATION"),QITQODE_ALWAYS_NOTIFY_UPDATE:p("QITQODE_ALWAYS_NOTIFY_UPDATE"),QITQODE_DISABLE_PRUNE:p("QITQODE_DISABLE_PRUNE"),QITQODE_DISABLE_TERMINAL_TITLE:p("QITQODE_DISABLE_TERMINAL_TITLE"),QITQODE_SHOW_TTFD:p("QITQODE_SHOW_TTFD"),QITQODE_PERMISSION:process.env.QITQODE_PERMISSION,QITQODE_DISABLE_DEFAULT_PLUGINS:p("QITQODE_DISABLE_DEFAULT_PLUGINS"),QITQODE_DISABLE_LSP_DOWNLOAD:!0,QITQODE_ENABLE_EXPERIMENTAL_MODELS:p("QITQODE_ENABLE_EXPERIMENTAL_MODELS"),QITQODE_DISABLE_AUTOCOMPACT:p("QITQODE_DISABLE_AUTOCOMPACT"),QITQODE_DISABLE_MODELS_FETCH:p("QITQODE_DISABLE_MODELS_FETCH"),QITQODE_DISABLE_MOUSE:p("QITQODE_DISABLE_MOUSE"),QITQODE_OUTPUT_LENGTH_CONTINUATION_LIMIT:G("QITQODE_OUTPUT_LENGTH_CONTINUATION_LIMIT")??3,QITQODE_INVALID_OUTPUT_CONTINUATION_LIMIT:G("QITQODE_INVALID_OUTPUT_CONTINUATION_LIMIT")??2,QITQODE_TEXT_NGRAM_N:G("QITQODE_TEXT_NGRAM_N")??6,QITQODE_TEXT_REPEAT_THRESHOLD:G("QITQODE_TEXT_REPEAT_THRESHOLD")??3,QITQODE_TEXT_WINDOW_TOKENS:G("QITQODE_TEXT_WINDOW_TOKENS")??500,QITQODE_MAX_PROMPT_IMAGES:G("QITQODE_MAX_PROMPT_IMAGES")??4,QITQODE_MAX_PROMPT_IMAGE_SIZE:G("QITQODE_MAX_PROMPT_IMAGE_SIZE")??393216,QITQODE_DISABLE_PROVIDER_ENV:p("QITQODE_DISABLE_PROVIDER_ENV"),QITQODE_DISABLE_CLAUDE_CODE:jo,get QITQODE_DISABLE_CLAUDE_CODE_MCP(){return jo||p("QITQODE_DISABLE_CLAUDE_CODE_MCP")},QITQODE_DISABLE_CLAUDE_CODE_PROMPT:jo||p("QITQODE_DISABLE_CLAUDE_CODE_PROMPT"),QITQODE_DISABLE_CLAUDE_CODE_COMMANDS:p("QITQODE_DISABLE_CLAUDE_CODE_COMMANDS"),QITQODE_DISABLE_CLAUDE_CODE_SKILLS:uf,QITQODE_DISABLE_EXTERNAL_SKILLS:Ro,QITQODE_DISABLE_CODEX_SKILLS:Ro||p("QITQODE_DISABLE_CODEX_SKILLS"),QITQODE_DISABLE_OPENCODE_SKILLS:Ro||p("QITQODE_DISABLE_OPENCODE_SKILLS"),QITQODE_FAKE_VCS:process.env.QITQODE_FAKE_VCS,QITQODE_DISABLE_GIT:p("QITQODE_DISABLE_GIT"),get QITQODE_SERVER_PASSWORD(){return process.env.QITQODE_SERVER_PASSWORD},get QITQODE_SERVER_USERNAME(){return process.env.QITQODE_SERVER_USERNAME},QITQODE_ENABLE_QUESTION_TOOL:p("QITQODE_ENABLE_QUESTION_TOOL"),QITQODE_EXPERIMENTAL:L,QITQODE_EXPERIMENTAL_FILEWATCHER:oo.boolean("QITQODE_EXPERIMENTAL_FILEWATCHER").pipe(oo.withDefault(!1)),QITQODE_EXPERIMENTAL_DISABLE_FILEWATCHER:oo.boolean("QITQODE_EXPERIMENTAL_DISABLE_FILEWATCHER").pipe(oo.withDefault(!1)),QITQODE_EXPERIMENTAL_ICON_DISCOVERY:L||p("QITQODE_EXPERIMENTAL_ICON_DISCOVERY"),QITQODE_EXPERIMENTAL_DISABLE_COPY_ON_SELECT:xf===void 0?process.platform==="win32":p("QITQODE_EXPERIMENTAL_DISABLE_COPY_ON_SELECT"),QITQODE_ENABLE_EXA:p("QITQODE_ENABLE_EXA")||L||p("QITQODE_EXPERIMENTAL_EXA"),QITQODE_EXPERIMENTAL_BASH_DEFAULT_TIMEOUT_MS:G("QITQODE_EXPERIMENTAL_BASH_DEFAULT_TIMEOUT_MS"),QITQODE_EXPERIMENTAL_OUTPUT_TOKEN_MAX:G("QITQODE_EXPERIMENTAL_OUTPUT_TOKEN_MAX"),QITQODE_EXPERIMENTAL_OXFMT:L||p("QITQODE_EXPERIMENTAL_OXFMT"),QITQODE_EXPERIMENTAL_LSP_TY:p("QITQODE_EXPERIMENTAL_LSP_TY"),QITQODE_EXPERIMENTAL_LSP_TOOL:L||p("QITQODE_EXPERIMENTAL_LSP_TOOL"),QITQODE_EXPERIMENTAL_WORKFLOW_TOOL:!Qo("QITQODE_EXPERIMENTAL_WORKFLOW_TOOL"),QITQODE_EXPERIMENTAL_MARKDOWN:!Qo("QITQODE_EXPERIMENTAL_MARKDOWN"),QITQODE_MODELS_URL:process.env.QITQODE_MODELS_URL,QITQODE_MODELS_PATH:process.env.QITQODE_MODELS_PATH,QITQODE_DB:process.env.QITQODE_DB,QITQODE_DISABLE_CHANNEL_DB:!Qo("QITQODE_DISABLE_CHANNEL_DB"),QITQODE_SKIP_MIGRATIONS:p("QITQODE_SKIP_MIGRATIONS"),QITQODE_STRICT_CONFIG_DEPS:p("QITQODE_STRICT_CONFIG_DEPS"),QITQODE_WORKSPACE_ID:process.env.QITQODE_WORKSPACE_ID,QITQODE_EXPERIMENTAL_HTTPAPI:p("QITQODE_EXPERIMENTAL_HTTPAPI"),QITQODE_EXPERIMENTAL_WORKSPACES:L||p("QITQODE_EXPERIMENTAL_WORKSPACES"),get QITQODE_DISABLE_COMPOSE_SKILLS(){return p("QITQODE_DISABLE_COMPOSE_SKILLS")},get QITQODE_DISABLE_BUILTIN_SKILLS(){return p("QITQODE_DISABLE_BUILTIN_SKILLS")},get QITQODE_DISABLE_PROJECT_CONFIG(){return p("QITQODE_DISABLE_PROJECT_CONFIG")},get QITQODE_TUI_CONFIG(){return process.env.QITQODE_TUI_CONFIG},get QITQODE_CONFIG_DIR(){return process.env.QITQODE_CONFIG_DIR},get QITQODE_HOME(){return process.env.QITQODE_HOME},get QITQODE_PURE(){return p("QITQODE_PURE")},get QITQODE_PLUGIN_META_FILE(){return process.env.QITQODE_PLUGIN_META_FILE},get QITQODE_CLIENT(){return process.env.QITQODE_CLIENT??"cli"}};var cf=Qr.enum(["DEBUG","INFO","WARN","ERROR"]).meta({ref:"LogLevel",description:"Log level"}),wr={DEBUG:0,INFO:1,WARN:2,ERROR:3},Of=10,Nf=52428800,jf=209715200,Gr="INFO";function ro(o){return wr[o]>=wr[Gr]}function Rf(o){return ro(o)}var _r=new Map,Tf=yo({service:"default"}),C="";function If(){return C}var fo,To=0,Cr=!0,mo=(o)=>{return process.stderr.write(o),o.length};function Mo(){return new Date().toISOString().split(".")[0].replace(/:/g,"")}async function Mf(o){if(o.level)Gr=o.level;if(Cr=o.rotate??!Jr.QITQODE_DISABLE_LOG_ROTATION,Vr(_.Path.log),o.print)return;if(C=Io.join(_.Path.log,o.dev?"dev.log":Mo()+".log"),o.dev){let r=await z.stat(C).catch(()=>null);if(r&&r.size>0)await z.rename(C,`${C}.${Mo()}`).catch(()=>{})}else await z.truncate(C).catch(()=>{});fo=$r(C,{flags:"a"}),To=0,mo=(r)=>{return Go=Go.then(async()=>{if(To+=Buffer.byteLength(r),Cr&&To>=Nf)To=Buffer.byteLength(r),await bf();await new Promise((m)=>{if(!fo){m();return}fo.write(r,()=>m())})}).catch(()=>{}),r.length}}var Go=Promise.resolve();async function Wf(){await Go}async function bf(){let o=fo,r=`${C}.${Mo()}`;for(let m=2;await z.stat(r).then(()=>!0,()=>!1);m++)r=`${C}.${Mo()}.${m}`;if(await z.rename(C,r).catch(()=>{}),fo=$r(C,{flags:"a"}),o)o.end();Vr(_.Path.log)}async function Vr(o){let r=await z.readdir(o).catch(()=>[]),f=(await Promise.all(r.filter((t)=>t.includes(".log")&&Io.join(o,t)!==C).map(async(t)=>{let x=await z.stat(Io.join(o,t)).catch(()=>null);return x?.isFile()?{name:t,size:x.size}:null}))).flatMap((t)=>t?[t]:[]).sort((t,x)=>t.name<x.name?-1:t.name>x.name?1:0),n=f.reduce((t,x)=>t+x.size,0),s=f.length,a=f.filter((t)=>{if(s<=Of&&n<=jf)return!1;return n-=t.size,s-=1,!0});await Promise.all(a.map((t)=>z.unlink(Io.join(o,t.name)).catch(()=>{})))}var Bf=/token|secret|password|passwd|credential|api[_-]?key|authorization|cookie|set-cookie/i;function Vo(o,r){if(Bf.test(o)&&r!==void 0&&r!==null)return"[REDACTED]";return r}var $o=10240;function Sf(o){try{let r=JSON.stringify(o,function(m,f){return m?Vo(m,f):f});if(typeof r==="string"&&r.length>$o)return r.slice(0,$o)+`\u2026[truncated ${r.length-$o} chars]`;return r}catch{return"[unserializable]"}}function yr(o,r=0){let m=o.message;return o.cause instanceof Error&&r<10?m+" Caused by: "+yr(o.cause,r+1):m}var Hr=Date.now();function yo(o){o=o||{};let r=o.service;if(r&&typeof r==="string"){let n=_r.get(r);if(n)return n}function m(n,s){let a=Object.entries({...o,...s}).filter(([N,T])=>T!==void 0&&T!==null).map(([N,T])=>{let A=`${N}=`;if(T instanceof Error)return A+yr(T);let no=Vo(N,T);if(no!==T)return A+no;if(typeof T==="object"&&T!==null)return A+Sf(T);return A+T}).join(" "),t=new Date,x=t.getTime()-Hr;return Hr=t.getTime(),[t.toISOString().split(".")[0],"+"+x+"ms",a,n].filter(Boolean).join(" ")+`
3
+ `}let f={debug(n,s){if(ro("DEBUG"))mo("DEBUG "+m(n,s))},info(n,s){if(ro("INFO"))mo("INFO "+m(n,s))},error(n,s){if(ro("ERROR"))mo("ERROR "+m(n,s))},warn(n,s){if(ro("WARN"))mo("WARN "+m(n,s))},tag(n,s){if(o)o[n]=s;return f},clone(){return yo({...o})},time(n,s){let a=Date.now();f.info(n,{status:"started",...s});function t(){f.info(n,{status:"completed",duration:Date.now()-a,...s})}return{stop:t,[Symbol.dispose](){t()}}}};if(r&&typeof r==="string")_r.set(r,f);return f}var Yr={};J(Yr,{listen:()=>Jf,emit:()=>wf,client:()=>_f});function Jf(o){onmessage=async(r)=>{let m=JSON.parse(r.data);if(m.type==="rpc.request")try{let f=await o[m.method](m.input);postMessage(JSON.stringify({type:"rpc.result",result:f,id:m.id}))}catch(f){postMessage(JSON.stringify({type:"rpc.result",error:f instanceof Error?f.message:String(f),id:m.id}))}}}function wf(o,r){postMessage(JSON.stringify({type:"rpc.event",event:o,data:r}))}function _f(o){let r=new Map,m=new Map,f=0;return o.onmessage=async(n)=>{let s=JSON.parse(n.data);if(s.type==="rpc.result"){let a=r.get(s.id);if(a)if(r.delete(s.id),"error"in s)a.reject(Error(typeof s.error==="string"?s.error:"RPC call failed"));else a.resolve(s.result)}if(s.type==="rpc.event"){let a=m.get(s.event);if(a)for(let t of a)t(s.data)}},{call(n,s){let a=f++;return new Promise((t,x)=>{r.set(a,{resolve:t,reject:x});try{o.postMessage(JSON.stringify({type:"rpc.request",method:n,input:s,id:a}))}catch(N){r.delete(a),x(N)}})},on(n,s){let a=m.get(n);if(!a)a=new Set,m.set(n,a);return a.add(s),()=>{a.delete(s)}}}}var Fr={};J(Fr,{estimate:()=>zr});function zr(o){return Math.max(0,Math.round((o||"").length/4))}var qr={};J(qr,{match:()=>Wo,allStructured:()=>Hf,all:()=>Cf});function Wo(o,r){if(o)o=o.replaceAll("\\","/");if(r)r=r.replaceAll("\\","/");let m=r.replace(/[.+^${}()|[\]\\]/g,"\\$&").replace(/\*/g,".*").replace(/\?/g,".");if(m.endsWith(" .*"))m=m.slice(0,-3)+"( .*)?";let f=process.platform==="win32"?"si":"s";return new RegExp("^"+m+"$",f).test(o)}function Cf(o,r){let m=P(r,Object.entries,No([([n])=>n.length,"asc"],[([n])=>n,"asc"])),f=void 0;for(let[n,s]of m)if(Wo(o,n)){f=s;continue}return f}function Hf(o,r){let m=P(r,Object.entries,No([([n])=>n.length,"asc"],[([n])=>n,"asc"])),f=void 0;for(let[n,s]of m){let a=n.split(/\s+/);if(!Wo(o.head,a[0]))continue;if(a.length===1||Ko(o.tail,a.slice(1))){f=s;continue}}return f}function Ko(o,r){if(r.length===0)return!0;let[m,...f]=r;if(m==="*")return Ko(o,f);for(let n=0;n<o.length;n++)if(Wo(o[n],m)&&Ko(o.slice(n+1),f))return!0;return!1}export{ar as st,tr as tt,an as ut,tn as vt,P as wt,jm as xt,Tm as yt,Mm as zt,No as At,Bm as Bt,Jm as Ct,_m as Dt,Hm as Et,$m as Ft,ym as Gt,_o as Ht,qm as It,Um as Jt,Zm as Kt,Em as Lt,Wo as Mt,qr as Nt,ku as Ot,lu as Pt,Sr as Qt,ox as Rt,Q as St,rx as Tt,pr as Ut,ur as Vt,tm as Wt,Nn as Xt,jn as Yt,Po as Zt,Eo as _t,Lo as $t,ir as au,cm as bu,Rr as cu,Tr as du,Mr as eu,Br as fu,_f as gu,Yr as hu,Fr as iu,bo as ju,io as ku,rm as lu,$ as mu,_ as nu,Jr as ou,cf as pu,Rf as qu,Tf as ru,If as su,Mf as tu,Wf as uu,Vo as vu,yo as wu,Kr as xu};
@@ -1,3 +1,3 @@
1
1
  // @bun
2
2
  import x from"crypto";function B(q=43){let w=x.randomBytes(q);return z(w)}function C(q){let w=x.createHash("sha256").update(q).digest();return z(w)}function z(q){return q.toString("base64").replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")}
3
- export{B as rq,C as sq};
3
+ export{B as Qr,C as Rr};
@@ -1,3 +1,3 @@
1
1
  // @bun
2
- import{Zr as c,bs as s}from"./chunk-xj765svc.js";var r=["openai","anthropic"],p=["deepseek","zai","zhipuai","moonshotai","moonshotai-cn","kimi-for-coding","stepfun"],d=["opencode","openrouter"],l=["alibaba","alibaba-cn","bytedance","alibaba-coding-plan","alibaba-coding-plan-cn","zai-coding-plan","zhipuai-coding-plan","tencent-coding-plan","minimax-coding-plan","minimax-cn-coding-plan","kuae-cloud-coding-plan"],R=["opencode-go","github-copilot","google","vercel"],P=[r,p,d,l,R],g=Object.fromEntries(P.flatMap((i,a,e)=>{let n=e.slice(0,a).reduce((o,t)=>o+t.length,0);return i.map((o,t)=>[o,n+t])}));function m(i){return i in g}function O(i,a,e){return c(i,s((n)=>a[n.id]??99,(n)=>n.name??n.id),(n)=>n.map((o)=>({label:o.name,value:o.id,hint:e(o)})))}
2
+ import{At as s,wt as c}from"./chunk-x9s90xd1.js";var r=["openai","anthropic"],p=["deepseek","zai","zhipuai","moonshotai","moonshotai-cn","kimi-for-coding","stepfun"],d=["opencode","openrouter"],l=["alibaba","alibaba-cn","bytedance","alibaba-coding-plan","alibaba-coding-plan-cn","zai-coding-plan","zhipuai-coding-plan","tencent-coding-plan","minimax-coding-plan","minimax-cn-coding-plan","kuae-cloud-coding-plan"],R=["opencode-go","github-copilot","google","vercel"],P=[r,p,d,l,R],g=Object.fromEntries(P.flatMap((i,a,e)=>{let n=e.slice(0,a).reduce((o,t)=>o+t.length,0);return i.map((o,t)=>[o,n+t])}));function m(i){return i in g}function O(i,a,e){return c(i,s((n)=>a[n.id]??99,(n)=>n.name??n.id),(n)=>n.map((o)=>({label:o.name,value:o.id,hint:e(o)})))}
3
3
  export{g as L,m as M,O as N};
@@ -1,5 +1,5 @@
1
1
  // @bun
2
- import{N as R9}from"./chunk-q7vasbxn.js";import{Ed as E9}from"./chunk-x25zkrz7.js";import{Fd as P6,Id as p$,Jd as S9,Kd as U9,Nd as H9,Od as q6}from"./chunk-p62gb4wj.js";import"./chunk-x4sp99g6.js";import{Rd as T0}from"./chunk-yajd975f.js";import{Vf as O}from"./chunk-rbk8seme.js";import{Vg as j9,ch as I9,gh as E$}from"./chunk-caj1b9y7.js";import"./chunk-ygs5pzk7.js";import"./chunk-vxyy2dp3.js";import"./chunk-yp5bypsp.js";import"./chunk-7hm0c2yg.js";import"./chunk-gj0wt0cy.js";import"./chunk-5hw6xa49.js";import"./chunk-326p5b10.js";import{Cl as b9,Wj as T9,lk as O6,mk as M0,rl as w9,tl as D9}from"./chunk-257me4z3.js";import{Pl as N9}from"./chunk-nkkch4h7.js";import{cm as A0,lm as T$}from"./chunk-s3mnrhbx.js";import"./chunk-ezfy0b6q.js";import"./chunk-bn0h9dny.js";import"./chunk-hnvn2c25.js";import"./chunk-3nx7112w.js";import"./chunk-htz93dsd.js";import"./chunk-vcw00k0n.js";import"./chunk-we9cv8we.js";import"./chunk-2hc5z7b5.js";import"./chunk-9gazyynx.js";import"./chunk-4jtxtkj7.js";import"./chunk-ay8emwym.js";import"./chunk-2maqde7w.js";import"./chunk-kj20f048.js";import"./chunk-cqtkxwd8.js";import"./chunk-x9rbv6p6.js";import"./chunk-g5rabwre.js";import"./chunk-jbx3s7nw.js";import"./chunk-15hw2z9t.js";import"./chunk-48ge2ryx.js";import"./chunk-n9xns8by.js";import"./chunk-y9q0hb7b.js";import"./chunk-d9hbhkbq.js";import"./chunk-ad72gb5f.js";import"./chunk-d6ry9418.js";import"./chunk-0dt0bxz6.js";import"./chunk-10bjs581.js";import"./chunk-4cnwn1rh.js";import"./chunk-764fksh3.js";import{Zr as V9,as as R6,bs as L9,gs as F9}from"./chunk-xj765svc.js";import{ht as C6,st as A9}from"./chunk-tqj69nh6.js";import"./chunk-ag8kz1e7.js";import"./chunk-5tray1fw.js";import"./chunk-c11d28qn.js";import"./chunk-mzs2pjyc.js";import"./chunk-gagtmjmp.js";import{pH as M9}from"./chunk-zs8kqdsf.js";import"./chunk-dxpj0cxh.js";import"./chunk-zw815d68.js";import{BO as q0,CO as D,FO as E}from"./chunk-7xm75w1e.js";var JZ=D((zZ)=>{/*!
2
+ import{N as R9}from"./chunk-xhkd9yf3.js";import{Ed as E9}from"./chunk-ppkqr9cn.js";import{Fd as P6,Id as p$,Jd as S9,Kd as U9,Nd as H9,Od as q6}from"./chunk-x66ycpfs.js";import"./chunk-03xppy47.js";import{Rd as T0}from"./chunk-yajd975f.js";import{Vf as O}from"./chunk-p9cnzxb8.js";import{Vg as j9,ch as I9,gh as E$}from"./chunk-28cm7m3t.js";import"./chunk-w9nzsd3w.js";import"./chunk-zfcp509b.js";import"./chunk-yp5bypsp.js";import"./chunk-7hm0c2yg.js";import"./chunk-gj0wt0cy.js";import"./chunk-md8161zd.js";import"./chunk-yk97q51d.js";import{Cl as b9,Wj as T9,lk as O6,mk as M0,rl as w9,tl as D9}from"./chunk-wmaz57f6.js";import{Pl as N9}from"./chunk-hg0etbkx.js";import{cm as A0,lm as T$}from"./chunk-za63b5mc.js";import"./chunk-j8q252w3.js";import"./chunk-nj4d554m.js";import"./chunk-1hmq2fpt.js";import"./chunk-y370dqf3.js";import"./chunk-snr44en9.js";import"./chunk-keveg5gx.js";import"./chunk-8eje5baf.js";import"./chunk-xqdrr7xg.js";import"./chunk-6b196wjz.js";import"./chunk-94pcpztx.js";import"./chunk-hw5qyht3.js";import"./chunk-z8gdmvgg.js";import"./chunk-kwx9ewe0.js";import"./chunk-cqtkxwd8.js";import"./chunk-c5pb87yf.js";import"./chunk-g6cyhxwg.js";import"./chunk-n96tvjgj.js";import"./chunk-pkc4ddw1.js";import"./chunk-xgr6jnd6.js";import"./chunk-a48t0g95.js";import"./chunk-yqk58hf6.js";import"./chunk-wwgd4rzx.js";import"./chunk-qc3ce3vc.js";import"./chunk-6p94fpbn.js";import"./chunk-fg35hwa0.js";import"./chunk-79agp7v3.js";import"./chunk-kv72hxkp.js";import"./chunk-vkqzmzpw.js";import{At as L9,Ft as F9,wt as V9,zt as R6}from"./chunk-x9s90xd1.js";import{Gu as C6,Ru as A9}from"./chunk-e7v9trve.js";import"./chunk-zh3fny3z.js";import"./chunk-m4j7jyrd.js";import"./chunk-gmzrvxnv.js";import"./chunk-mpygdb5a.js";import"./chunk-wfd5h6ax.js";import{OI as M9}from"./chunk-a0rp7gh4.js";import"./chunk-kfmz2p27.js";import"./chunk-ee23d2nz.js";import{$P as D,_P as q0,cQ as E}from"./chunk-3k2b05fv.js";var JZ=D((zZ)=>{/*!
3
3
  * content-type
4
4
  * Copyright(c) 2015 Douglas Christopher Wilson
5
5
  * MIT Licensed
@@ -1,3 +1,3 @@
1
1
  // @bun
2
2
  function u(r){let e,t=!1,n=()=>{if(t)return e;return e=r(),t=!0,e};return n.reset=()=>{t=!1,e=void 0},n}
3
- export{u as Co};
3
+ export{u as $p};
@@ -1,2 +1,2 @@
1
1
  // @bun
2
- import{Ed as s}from"./chunk-x25zkrz7.js";import{Rd as r}from"./chunk-yajd975f.js";import{gh as i}from"./chunk-caj1b9y7.js";import{Th as z,Uh as B,ih as u,jh as g,nh as q}from"./chunk-ygs5pzk7.js";import"./chunk-vxyy2dp3.js";import"./chunk-yp5bypsp.js";import"./chunk-7hm0c2yg.js";import"./chunk-gj0wt0cy.js";import"./chunk-5hw6xa49.js";import"./chunk-326p5b10.js";import{Cl as K,Dl as J,Xk as f,lk as G,mk as V,pk as S,rl as x,xk as $}from"./chunk-257me4z3.js";import"./chunk-nkkch4h7.js";import{jm as R,lm as p}from"./chunk-s3mnrhbx.js";import"./chunk-ezfy0b6q.js";import"./chunk-bn0h9dny.js";import"./chunk-hnvn2c25.js";import"./chunk-3nx7112w.js";import"./chunk-htz93dsd.js";import"./chunk-vcw00k0n.js";import"./chunk-we9cv8we.js";import"./chunk-2hc5z7b5.js";import"./chunk-9gazyynx.js";import"./chunk-4jtxtkj7.js";import"./chunk-ay8emwym.js";import"./chunk-2maqde7w.js";import"./chunk-kj20f048.js";import"./chunk-cqtkxwd8.js";import"./chunk-x9rbv6p6.js";import"./chunk-g5rabwre.js";import"./chunk-jbx3s7nw.js";import"./chunk-15hw2z9t.js";import"./chunk-48ge2ryx.js";import"./chunk-n9xns8by.js";import"./chunk-y9q0hb7b.js";import"./chunk-d9hbhkbq.js";import"./chunk-ad72gb5f.js";import"./chunk-d6ry9418.js";import"./chunk-0dt0bxz6.js";import"./chunk-10bjs581.js";import"./chunk-4cnwn1rh.js";import"./chunk-764fksh3.js";import{Qs as U,_s as w}from"./chunk-xj765svc.js";import"./chunk-tqj69nh6.js";import"./chunk-ag8kz1e7.js";import"./chunk-5tray1fw.js";import"./chunk-c11d28qn.js";import"./chunk-mzs2pjyc.js";import"./chunk-gagtmjmp.js";import{QN as A,pH as c}from"./chunk-zs8kqdsf.js";import"./chunk-dxpj0cxh.js";import"./chunk-zw815d68.js";import{GO as v,HO as P}from"./chunk-7xm75w1e.js";import{EOL as X}from"os";var k=r({command:"config",describe:"show resolved configuration",builder:(e)=>e,async handler(){await s(process.cwd(),async()=>{let e=await i.runPromise(J.Service.use((o)=>o.get()));process.stdout.write(JSON.stringify(e,null,2)+X)})}});import{EOL as y}from"os";var Y=r({command:"search <query>",describe:"search files by query",builder:(e)=>e.positional("query",{type:"string",demandOption:!0,description:"Search query"}),async handler(e){await s(process.cwd(),async()=>{let o=await i.runPromise(g.Service.use((t)=>t.search({query:e.query})));process.stdout.write(o.join(y)+y)})}}),Z=r({command:"read <path>",describe:"read file contents as JSON",builder:(e)=>e.positional("path",{type:"string",demandOption:!0,description:"File path to read"}),async handler(e){await s(process.cwd(),async()=>{let o=await i.runPromise(g.Service.use((t)=>t.read(e.path)));process.stdout.write(JSON.stringify(o,null,2)+y)})}}),H=r({command:"status",describe:"show file status information",builder:(e)=>e,async handler(){await s(process.cwd(),async()=>{let e=await i.runPromise(g.Service.use((o)=>o.status()));process.stdout.write(JSON.stringify(e,null,2)+y)})}}),ee=r({command:"list <path>",describe:"list files in a directory",builder:(e)=>e.positional("path",{type:"string",demandOption:!0,description:"File path to list"}),async handler(e){await s(process.cwd(),async()=>{let o=await i.runPromise(g.Service.use((t)=>t.list(e.path)));process.stdout.write(JSON.stringify(o,null,2)+y)})}}),oe=r({command:"tree [dir]",describe:"show directory tree",builder:(e)=>e.positional("dir",{type:"string",description:"Directory to tree",default:process.cwd()}),async handler(e){await s(process.cwd(),async()=>{let o=await i.runPromise(u.Service.use((t)=>t.tree({cwd:e.dir,limit:200})));console.log(JSON.stringify(o,null,2))})}}),L=r({command:"file",describe:"file system debugging utilities",builder:(e)=>e.command(Z).command(H).command(ee).command(Y).command(oe).demandCommand(),async handler(){}});import{EOL as D}from"os";var E=r({command:"lsp",describe:"LSP debugging utilities",builder:(e)=>e.command(te).command(re).command(ie).demandCommand(),async handler(){}}),te=r({command:"diagnostics <file>",describe:"get diagnostics for a file",builder:(e)=>e.positional("file",{type:"string",demandOption:!0}),async handler(e){await s(process.cwd(),async()=>{let o=await i.runPromise(S.Service.use((t)=>c.gen(function*(){return yield*t.touchFile(e.file,!0),yield*c.sleep(1000),yield*t.diagnostics()})));process.stdout.write(JSON.stringify(o,null,2)+D)})}}),re=r({command:"symbols <query>",describe:"search workspace symbols",builder:(e)=>e.positional("query",{type:"string",demandOption:!0}),async handler(e){await s(process.cwd(),async()=>{let n=[];try{const o=v(n,w.Default.time("symbols"),0);let t=await i.runPromise(S.Service.use((d)=>d.workspaceSymbol(e.query)));process.stdout.write(JSON.stringify(t,null,2)+D)}catch(a){var m=a,l=1}finally{P(n,m,l)}})}}),ie=r({command:"document-symbols <uri>",describe:"get symbols from a document",builder:(e)=>e.positional("uri",{type:"string",demandOption:!0}),async handler(e){await s(process.cwd(),async()=>{let n=[];try{const o=v(n,w.Default.time("document-symbols"),0);let t=await i.runPromise(S.Service.use((d)=>d.documentSymbol(e.uri)));process.stdout.write(JSON.stringify(t,null,2)+D)}catch(a){var m=a,l=1}finally{P(n,m,l)}})}});import{EOL as C}from"os";var F=r({command:"rg",describe:"ripgrep debugging utilities",builder:(e)=>e.command(se).command(ne).command(ae).demandCommand(),async handler(){}}),se=r({command:"tree",describe:"show file tree using ripgrep",builder:(e)=>e.option("limit",{type:"number"}),async handler(e){await s(process.cwd(),async()=>{let o=await i.runPromise(u.Service.use((t)=>t.tree({cwd:p.directory,limit:e.limit})));process.stdout.write(o+C)})}}),ne=r({command:"files",describe:"list files using ripgrep",builder:(e)=>e.option("query",{type:"string",description:"Filter files by query"}).option("glob",{type:"string",description:"Glob pattern to match files"}).option("limit",{type:"number",description:"Limit number of results"}),async handler(e){await s(process.cwd(),async()=>{let o=await i.runPromise(c.gen(function*(){return yield*(yield*u.Service).files({cwd:p.directory,glob:e.glob?[e.glob]:void 0}).pipe(A.take(e.limit??1/0),A.runCollect,c.map((n)=>[...n]))}));process.stdout.write(o.join(C)+C)})}}),ae=r({command:"search <pattern>",describe:"search file contents using ripgrep",builder:(e)=>e.positional("pattern",{type:"string",demandOption:!0,description:"Search pattern"}).option("glob",{type:"array",description:"File glob patterns"}).option("limit",{type:"number",description:"Limit number of results"}),async handler(e){await s(process.cwd(),async()=>{let o=await i.runPromise(u.Service.use((t)=>t.search({cwd:p.directory,pattern:e.pattern,glob:e.glob,limit:e.limit})));process.stdout.write(JSON.stringify(o.items,null,2)+C)})}});import{EOL as me}from"os";var T=r({command:"scrap",describe:"list all known projects",builder:(e)=>e,async handler(){let e=w.Default.time("scrap"),o=await R.list();process.stdout.write(JSON.stringify(o,null,2)+me),e.stop()}});import{EOL as ce}from"os";var j=r({command:"skill",describe:"list all available skills",builder:(e)=>e,async handler(){await s(process.cwd(),async()=>{let e=await i.runPromise(c.gen(function*(){return yield*(yield*q.Service).all()}));process.stdout.write(JSON.stringify(e,null,2)+ce)})}});var M=r({command:"snapshot",describe:"snapshot debugging utilities",builder:(e)=>e.command(de).command(le).command(pe).demandCommand(),async handler(){}}),I=(e)=>s(process.cwd(),async()=>{console.log(await i.runPromise($.Service.use(e)))}),_=(e)=>e.positional("hash",{type:"string",description:"hash",demandOption:!0}),de=r({command:"track",describe:"track current snapshot state",async handler(){await I((e)=>e.track())}}),le=r({command:"patch <hash>",describe:"show patch for a snapshot hash",builder:_,async handler(e){await I((o)=>o.patch(e.hash))}}),pe=r({command:"diff <hash>",describe:"show diff for a snapshot hash",builder:_,async handler(e){await I((o)=>o.diff(e.hash))}});import{EOL as b}from"os";import{basename as ue}from"path";var Q=r({command:"agent <name>",describe:"show agent configuration details",builder:(e)=>e.positional("name",{type:"string",demandOption:!0,description:"Agent name"}).option("tool",{type:"string",description:"Tool id to execute"}).option("params",{type:"string",description:"Tool params as a JSON object"}),async handler(e){await s(process.cwd(),async()=>{let o=e.name,t=await i.runPromise(B.Service.use((d)=>d.get(o)));if(!t)process.stderr.write(`Agent ${o} not found, run '${ue(process.execPath)} agent list' to get an agent list`+b),process.exit(1);let n=await fe(t),a=await ye(t,n),m=e.tool;if(m){let d=n.find((W)=>W.id===m);if(!d)process.stderr.write(`Tool ${m} not found for agent ${o}`+b),process.exit(1);if(a[m]===!1)process.stderr.write(`Tool ${m} is disabled for agent ${o}`+b),process.exit(1);let h=ge(e.params),O=await we(t),N=await d.execute(h,O);process.stdout.write(JSON.stringify({tool:m,input:h,result:N},null,2)+b);return}let l={...t,tools:a};process.stdout.write(JSON.stringify(l,null,2)+b)})}});async function fe(e){return i.runPromise(c.gen(function*(){let o=yield*x.Service,t=yield*z.Service,n=e.model??(yield*o.defaultModel());return yield*t.tools({...n,agent:e})}))}async function ye(e,o){let t=f.disabled(o.map((a)=>a.id),e.permission),n={};for(let a of o)n[a.id]=!t.has(a.id);return n}function ge(e){if(!e)return{};let o=e.trim();if(o.length===0)return{};let t=(()=>{try{return JSON.parse(o)}catch{throw Error("Failed to parse --params. Provide a valid JSON object.")}})();if(!t||typeof t!=="object"||Array.isArray(t))throw Error("Tool params must be an object.");return t}async function we(e){let{session:o,messageID:t}=await i.runPromise(c.gen(function*(){let a=yield*K.Service,m=yield*a.create({title:`Debug tool run (${e.name})`}),l=G.ascending(),d=e.model?e.model:yield*c.gen(function*(){return yield*(yield*x.Service).defaultModel()}),h=Date.now(),O={id:l,sessionID:m.id,role:"assistant",time:{created:h},parentID:l,modelID:d.modelID,providerID:d.providerID,mode:"debug",agent:e.name,path:{cwd:p.directory,root:p.worktree},cost:0,tokens:{input:0,output:0,reasoning:0,cache:{read:0,write:0}}};return yield*a.updateMessage(O),{session:m,messageID:l}})),n=f.merge(e.permission,o.permission??[]);return{sessionID:o.id,messageID:t,callID:V.ascending(),agent:e.name,abort:new AbortController().signal,messages:[],metadata:()=>c.void,ask(a){return c.sync(()=>{for(let m of a.patterns)if(f.evaluate(a.permission,m,n).action==="deny")throw new f.DeniedError({ruleset:n})})}}}var jo=r({command:"debug",describe:"debugging and troubleshooting tools",builder:(e)=>e.command(k).command(E).command(F).command(L).command(T).command(j).command(M).command(Q).command(be).command({command:"wait",describe:"wait indefinitely (for debugging)",async handler(){await s(process.cwd(),async()=>{await new Promise((o)=>setTimeout(o,86400000))})}}).demandCommand(),async handler(){}}),be=r({command:"paths",describe:"show global paths (data, config, cache, state)",handler(){for(let[e,o]of Object.entries(U.Path))console.log(e.padEnd(10),o)}});export{jo as DebugCommand};
2
+ import{Ed as s}from"./chunk-ppkqr9cn.js";import{Rd as r}from"./chunk-yajd975f.js";import{gh as i}from"./chunk-28cm7m3t.js";import{Th as z,Uh as B,ih as u,jh as g,nh as q}from"./chunk-w9nzsd3w.js";import"./chunk-zfcp509b.js";import"./chunk-yp5bypsp.js";import"./chunk-7hm0c2yg.js";import"./chunk-gj0wt0cy.js";import"./chunk-md8161zd.js";import"./chunk-yk97q51d.js";import{Cl as K,Dl as J,Xk as f,lk as G,mk as V,pk as S,rl as x,xk as $}from"./chunk-wmaz57f6.js";import"./chunk-hg0etbkx.js";import{jm as R,lm as p}from"./chunk-za63b5mc.js";import"./chunk-j8q252w3.js";import"./chunk-nj4d554m.js";import"./chunk-1hmq2fpt.js";import"./chunk-y370dqf3.js";import"./chunk-snr44en9.js";import"./chunk-keveg5gx.js";import"./chunk-8eje5baf.js";import"./chunk-xqdrr7xg.js";import"./chunk-6b196wjz.js";import"./chunk-94pcpztx.js";import"./chunk-hw5qyht3.js";import"./chunk-z8gdmvgg.js";import"./chunk-kwx9ewe0.js";import"./chunk-cqtkxwd8.js";import"./chunk-c5pb87yf.js";import"./chunk-g6cyhxwg.js";import"./chunk-n96tvjgj.js";import"./chunk-pkc4ddw1.js";import"./chunk-xgr6jnd6.js";import"./chunk-a48t0g95.js";import"./chunk-yqk58hf6.js";import"./chunk-wwgd4rzx.js";import"./chunk-qc3ce3vc.js";import"./chunk-6p94fpbn.js";import"./chunk-fg35hwa0.js";import"./chunk-79agp7v3.js";import"./chunk-kv72hxkp.js";import"./chunk-vkqzmzpw.js";import{nu as U,xu as w}from"./chunk-x9s90xd1.js";import"./chunk-e7v9trve.js";import"./chunk-zh3fny3z.js";import"./chunk-m4j7jyrd.js";import"./chunk-gmzrvxnv.js";import"./chunk-mpygdb5a.js";import"./chunk-wfd5h6ax.js";import{OI as c,nP as A}from"./chunk-a0rp7gh4.js";import"./chunk-kfmz2p27.js";import"./chunk-ee23d2nz.js";import{dQ as v,eQ as P}from"./chunk-3k2b05fv.js";import{EOL as X}from"os";var k=r({command:"config",describe:"show resolved configuration",builder:(e)=>e,async handler(){await s(process.cwd(),async()=>{let e=await i.runPromise(J.Service.use((o)=>o.get()));process.stdout.write(JSON.stringify(e,null,2)+X)})}});import{EOL as y}from"os";var Y=r({command:"search <query>",describe:"search files by query",builder:(e)=>e.positional("query",{type:"string",demandOption:!0,description:"Search query"}),async handler(e){await s(process.cwd(),async()=>{let o=await i.runPromise(g.Service.use((t)=>t.search({query:e.query})));process.stdout.write(o.join(y)+y)})}}),Z=r({command:"read <path>",describe:"read file contents as JSON",builder:(e)=>e.positional("path",{type:"string",demandOption:!0,description:"File path to read"}),async handler(e){await s(process.cwd(),async()=>{let o=await i.runPromise(g.Service.use((t)=>t.read(e.path)));process.stdout.write(JSON.stringify(o,null,2)+y)})}}),H=r({command:"status",describe:"show file status information",builder:(e)=>e,async handler(){await s(process.cwd(),async()=>{let e=await i.runPromise(g.Service.use((o)=>o.status()));process.stdout.write(JSON.stringify(e,null,2)+y)})}}),ee=r({command:"list <path>",describe:"list files in a directory",builder:(e)=>e.positional("path",{type:"string",demandOption:!0,description:"File path to list"}),async handler(e){await s(process.cwd(),async()=>{let o=await i.runPromise(g.Service.use((t)=>t.list(e.path)));process.stdout.write(JSON.stringify(o,null,2)+y)})}}),oe=r({command:"tree [dir]",describe:"show directory tree",builder:(e)=>e.positional("dir",{type:"string",description:"Directory to tree",default:process.cwd()}),async handler(e){await s(process.cwd(),async()=>{let o=await i.runPromise(u.Service.use((t)=>t.tree({cwd:e.dir,limit:200})));console.log(JSON.stringify(o,null,2))})}}),L=r({command:"file",describe:"file system debugging utilities",builder:(e)=>e.command(Z).command(H).command(ee).command(Y).command(oe).demandCommand(),async handler(){}});import{EOL as D}from"os";var E=r({command:"lsp",describe:"LSP debugging utilities",builder:(e)=>e.command(te).command(re).command(ie).demandCommand(),async handler(){}}),te=r({command:"diagnostics <file>",describe:"get diagnostics for a file",builder:(e)=>e.positional("file",{type:"string",demandOption:!0}),async handler(e){await s(process.cwd(),async()=>{let o=await i.runPromise(S.Service.use((t)=>c.gen(function*(){return yield*t.touchFile(e.file,!0),yield*c.sleep(1000),yield*t.diagnostics()})));process.stdout.write(JSON.stringify(o,null,2)+D)})}}),re=r({command:"symbols <query>",describe:"search workspace symbols",builder:(e)=>e.positional("query",{type:"string",demandOption:!0}),async handler(e){await s(process.cwd(),async()=>{let n=[];try{const o=v(n,w.Default.time("symbols"),0);let t=await i.runPromise(S.Service.use((d)=>d.workspaceSymbol(e.query)));process.stdout.write(JSON.stringify(t,null,2)+D)}catch(a){var m=a,l=1}finally{P(n,m,l)}})}}),ie=r({command:"document-symbols <uri>",describe:"get symbols from a document",builder:(e)=>e.positional("uri",{type:"string",demandOption:!0}),async handler(e){await s(process.cwd(),async()=>{let n=[];try{const o=v(n,w.Default.time("document-symbols"),0);let t=await i.runPromise(S.Service.use((d)=>d.documentSymbol(e.uri)));process.stdout.write(JSON.stringify(t,null,2)+D)}catch(a){var m=a,l=1}finally{P(n,m,l)}})}});import{EOL as C}from"os";var F=r({command:"rg",describe:"ripgrep debugging utilities",builder:(e)=>e.command(se).command(ne).command(ae).demandCommand(),async handler(){}}),se=r({command:"tree",describe:"show file tree using ripgrep",builder:(e)=>e.option("limit",{type:"number"}),async handler(e){await s(process.cwd(),async()=>{let o=await i.runPromise(u.Service.use((t)=>t.tree({cwd:p.directory,limit:e.limit})));process.stdout.write(o+C)})}}),ne=r({command:"files",describe:"list files using ripgrep",builder:(e)=>e.option("query",{type:"string",description:"Filter files by query"}).option("glob",{type:"string",description:"Glob pattern to match files"}).option("limit",{type:"number",description:"Limit number of results"}),async handler(e){await s(process.cwd(),async()=>{let o=await i.runPromise(c.gen(function*(){return yield*(yield*u.Service).files({cwd:p.directory,glob:e.glob?[e.glob]:void 0}).pipe(A.take(e.limit??1/0),A.runCollect,c.map((n)=>[...n]))}));process.stdout.write(o.join(C)+C)})}}),ae=r({command:"search <pattern>",describe:"search file contents using ripgrep",builder:(e)=>e.positional("pattern",{type:"string",demandOption:!0,description:"Search pattern"}).option("glob",{type:"array",description:"File glob patterns"}).option("limit",{type:"number",description:"Limit number of results"}),async handler(e){await s(process.cwd(),async()=>{let o=await i.runPromise(u.Service.use((t)=>t.search({cwd:p.directory,pattern:e.pattern,glob:e.glob,limit:e.limit})));process.stdout.write(JSON.stringify(o.items,null,2)+C)})}});import{EOL as me}from"os";var T=r({command:"scrap",describe:"list all known projects",builder:(e)=>e,async handler(){let e=w.Default.time("scrap"),o=await R.list();process.stdout.write(JSON.stringify(o,null,2)+me),e.stop()}});import{EOL as ce}from"os";var j=r({command:"skill",describe:"list all available skills",builder:(e)=>e,async handler(){await s(process.cwd(),async()=>{let e=await i.runPromise(c.gen(function*(){return yield*(yield*q.Service).all()}));process.stdout.write(JSON.stringify(e,null,2)+ce)})}});var M=r({command:"snapshot",describe:"snapshot debugging utilities",builder:(e)=>e.command(de).command(le).command(pe).demandCommand(),async handler(){}}),I=(e)=>s(process.cwd(),async()=>{console.log(await i.runPromise($.Service.use(e)))}),_=(e)=>e.positional("hash",{type:"string",description:"hash",demandOption:!0}),de=r({command:"track",describe:"track current snapshot state",async handler(){await I((e)=>e.track())}}),le=r({command:"patch <hash>",describe:"show patch for a snapshot hash",builder:_,async handler(e){await I((o)=>o.patch(e.hash))}}),pe=r({command:"diff <hash>",describe:"show diff for a snapshot hash",builder:_,async handler(e){await I((o)=>o.diff(e.hash))}});import{EOL as b}from"os";import{basename as ue}from"path";var Q=r({command:"agent <name>",describe:"show agent configuration details",builder:(e)=>e.positional("name",{type:"string",demandOption:!0,description:"Agent name"}).option("tool",{type:"string",description:"Tool id to execute"}).option("params",{type:"string",description:"Tool params as a JSON object"}),async handler(e){await s(process.cwd(),async()=>{let o=e.name,t=await i.runPromise(B.Service.use((d)=>d.get(o)));if(!t)process.stderr.write(`Agent ${o} not found, run '${ue(process.execPath)} agent list' to get an agent list`+b),process.exit(1);let n=await fe(t),a=await ye(t,n),m=e.tool;if(m){let d=n.find((W)=>W.id===m);if(!d)process.stderr.write(`Tool ${m} not found for agent ${o}`+b),process.exit(1);if(a[m]===!1)process.stderr.write(`Tool ${m} is disabled for agent ${o}`+b),process.exit(1);let h=ge(e.params),O=await we(t),N=await d.execute(h,O);process.stdout.write(JSON.stringify({tool:m,input:h,result:N},null,2)+b);return}let l={...t,tools:a};process.stdout.write(JSON.stringify(l,null,2)+b)})}});async function fe(e){return i.runPromise(c.gen(function*(){let o=yield*x.Service,t=yield*z.Service,n=e.model??(yield*o.defaultModel());return yield*t.tools({...n,agent:e})}))}async function ye(e,o){let t=f.disabled(o.map((a)=>a.id),e.permission),n={};for(let a of o)n[a.id]=!t.has(a.id);return n}function ge(e){if(!e)return{};let o=e.trim();if(o.length===0)return{};let t=(()=>{try{return JSON.parse(o)}catch{throw Error("Failed to parse --params. Provide a valid JSON object.")}})();if(!t||typeof t!=="object"||Array.isArray(t))throw Error("Tool params must be an object.");return t}async function we(e){let{session:o,messageID:t}=await i.runPromise(c.gen(function*(){let a=yield*K.Service,m=yield*a.create({title:`Debug tool run (${e.name})`}),l=G.ascending(),d=e.model?e.model:yield*c.gen(function*(){return yield*(yield*x.Service).defaultModel()}),h=Date.now(),O={id:l,sessionID:m.id,role:"assistant",time:{created:h},parentID:l,modelID:d.modelID,providerID:d.providerID,mode:"debug",agent:e.name,path:{cwd:p.directory,root:p.worktree},cost:0,tokens:{input:0,output:0,reasoning:0,cache:{read:0,write:0}}};return yield*a.updateMessage(O),{session:m,messageID:l}})),n=f.merge(e.permission,o.permission??[]);return{sessionID:o.id,messageID:t,callID:V.ascending(),agent:e.name,abort:new AbortController().signal,messages:[],metadata:()=>c.void,ask(a){return c.sync(()=>{for(let m of a.patterns)if(f.evaluate(a.permission,m,n).action==="deny")throw new f.DeniedError({ruleset:n})})}}}var jo=r({command:"debug",describe:"debugging and troubleshooting tools",builder:(e)=>e.command(k).command(E).command(F).command(L).command(T).command(j).command(M).command(Q).command(be).command({command:"wait",describe:"wait indefinitely (for debugging)",async handler(){await s(process.cwd(),async()=>{await new Promise((o)=>setTimeout(o,86400000))})}}).demandCommand(),async handler(){}}),be=r({command:"paths",describe:"show global paths (data, config, cache, state)",handler(){for(let[e,o]of Object.entries(U.Path))console.log(e.padEnd(10),o)}});export{jo as DebugCommand};
@@ -1,5 +1,5 @@
1
1
  // @bun
2
- import{go as a0}from"./chunk-htz93dsd.js";import{Pq as f0,Rq as l0}from"./chunk-ad72gb5f.js";import{Pr as o0}from"./chunk-0dt0bxz6.js";import{Sr as T0}from"./chunk-4cnwn1rh.js";import{Ms as C0,Os as s,Qs as H0,Rs as r,_r as P0}from"./chunk-xj765svc.js";import{$s as a,it as n0,ot as f,st as S}from"./chunk-tqj69nh6.js";import{ut as p}from"./chunk-5tray1fw.js";import{Yy as u0}from"./chunk-gagtmjmp.js";import{OE as g,RM as w,YN as s0,Zz as p0,cH as N0,hF as C,pH as J,uB as L,zC as R0}from"./chunk-zs8kqdsf.js";import{BO as X0,DO as i0,FO as _2}from"./chunk-7xm75w1e.js";function h0(Z,Q){let z,$=()=>z??=u0.make(g.provideMerge(Q,f0.layer),{memoMap:l0});return{runSync:(X)=>$().runSync(Z.use(X)),runPromiseExit:(X,Y)=>$().runPromiseExit(Z.use(X),Y),runPromise:(X,Y)=>$().runPromise(Z.use(X),Y),runFork:(X)=>$().runFork(Z.use(X)),runCallback:(X)=>$().runCallback(Z.use(X))}}var Y0={};i0(Y0,{which:()=>w2,sanitize:()=>t0,outdated:()=>K2,layer:()=>e0,install:()=>N2,defaultLayer:()=>Z2,add:()=>F2,Service:()=>z0,Npm:()=>Y0,InstallFailedError:()=>V0});var r0=X0(o0(),1),b0=X0(a0(),1);import k from"path";import I0 from"path";import A2 from"os";import{randomUUID as D2}from"crypto";var B0;((Q0)=>{class Z extends w.TaggedErrorClass()("LockTimeoutError",{key:w.String}){}Q0.LockTimeoutError=Z;class Q extends w.TaggedErrorClass()("LockCompromisedError",{detail:w.String}){}Q0.LockCompromisedError=Q;class z extends w.TaggedErrorClass()("ReleaseError",{detail:w.String,cause:w.optional(w.Defect)}){get message(){return this.detail}}class $ extends w.TaggedErrorClass()("NotAcquired",{}){}let X=60000,Y=300000,U=100,G=2000,W=Math.max(100,Math.floor(X/3)),I=C.exponential(U,1.7).pipe(C.either(C.spaced(G)),C.jittered,C.while((j)=>j.elapsed<Y)),H=w.fromJsonString(w.Struct({token:w.String,pid:w.Number,hostname:w.String,createdAt:w.String})),q=w.decodeUnknownSync(H),R=w.encodeSync(H);class N extends R0.Service()("EffectFlock"){}Q0.Service=N;function A(){return performance.timeOrigin+performance.now()}let O=(j)=>L.getOrElse(j.mtime,()=>new Date(0)).getTime(),K=(j)=>j.reason._tag==="NotFound"||j.reason._tag==="Unknown";Q0.layer=g.effect(N,J.gen(function*(){let j=yield*s.Service,_=yield*f.Service,V=I0.join(j.state,"locks"),B=A2.hostname(),M=new Set,m=(D)=>_.stat(D).pipe(J.catchIf(K,()=>J.void),J.orDie),l=(D)=>_.remove(D,{recursive:!0}).pipe(J.ignore),d=(D)=>_.makeDirectory(D,{mode:448}).pipe(J.as(!0),J.catchIf((T)=>T.reason._tag==="AlreadyExists",()=>J.succeed(!1)),J.orDie),M0=(D,T,E,P)=>_.writeFileString(D,T,{flag:"wx"}).pipe(J.catch(()=>J.gen(function*(){return yield*l(E),yield*new Q({detail:P})}))),w0=J.fnUntraced(function*(D){let T=yield*m(D);if(T&&A()-O(T)>X)yield*l(D);return!1}),Z0=J.fnUntraced(function*(D){if(M.has(D))return;yield*_.makeDirectory(D,{recursive:!0}).pipe(J.orDie),M.add(D)}),F=J.fnUntraced(function*(D,T,E){let P=A(),h=yield*m(T);if(h)return P-O(h)>X;let $0=yield*m(E);if($0)return P-O($0)>X;let q0=yield*m(D);if(!q0)return!1;return P-O(q0)>X}),b=(D,T)=>J.gen(function*(){let E=D2(),P=I0.join(D,"meta.json"),h=I0.join(D,"heartbeat");if(!(yield*d(D))){if(!(yield*F(D,h,P)))return yield*new $;let O0=D+".breaker";if(!(yield*_.makeDirectory(O0,{mode:448}).pipe(J.as(!0),J.catchIf((V2)=>V2.reason._tag==="AlreadyExists",()=>w0(O0)),J.catchIf(K,()=>J.succeed(!1)),J.orDie)))return yield*new $;if(!(yield*J.gen(function*(){if(!(yield*F(D,h,P)))return!1;return yield*l(D),yield*d(D)}).pipe(J.ensuring(l(O0)))))return yield*new $}yield*M0(h,"",D,"heartbeat already existed");let q0=R({token:E,pid:process.pid,hostname:B,createdAt:new Date().toISOString()});return yield*M0(P,q0,D,"meta.json already existed"),{token:E,metaPath:P,heartbeatPath:h,lockDir:D}}).pipe(J.withSpan("EffectFlock.tryAcquire",{attributes:{key:T}})),U0=(D,T)=>b(D,T).pipe(J.retry({while:(E)=>E._tag==="NotAcquired",schedule:I}),J.catchTag("NotAcquired",()=>J.fail(new Z({key:T})))),i=(D)=>J.gen(function*(){let T=yield*_.readFileString(D.metaPath).pipe(J.catch((P)=>{if(K(P))return J.die(new z({detail:"metadata missing"}));return J.die(P)}));if((yield*J.try({try:()=>q(T),catch:(P)=>new z({detail:"metadata invalid",cause:P})}).pipe(J.orDie)).token!==D.token)return yield*J.die(new z({detail:"token mismatch"}));yield*l(D.lockDir)}),k0=J.fn("EffectFlock.acquire")(function*(D,T){let E=T??V;yield*Z0(E);let P=I0.join(E,C0.fast(D)+".lock"),h=yield*J.acquireRelease(U0(P,D),($0)=>i($0));yield*_.utimes(h.heartbeatPath,new Date,new Date).pipe(J.ignore,J.repeat(C.spaced(W)),J.forkScoped)}),B2=p0.dual((D)=>J.isEffect(D[0]),(D,T,E)=>J.scoped(J.gen(function*(){return yield*k0(T,E),yield*D})));return N.of({acquire:k0,withLock:B2})})),Q0.defaultLayer=Q0.layer.pipe(g.provide(f.defaultLayer),g.provide(s.layer))})(B0||={});class V0 extends w.TaggedErrorClass()("NpmInstallFailedError",{add:w.Array(w.String).pipe(w.optional),dir:w.String,cause:w.optional(w.Defect)}){}class z0 extends R0.Service()("@qitqode/Npm"){}var c0=process.platform==="win32"?new Set(["<",">",":",'"',"|","?","*"]):void 0;function t0(Z){if(!c0)return Z;return Array.from(Z,(Q)=>c0.has(Q)||Q.charCodeAt(0)<32?"_":Q).join("")}var d0=(Z,Q)=>{let z;try{let $=typeof Bun<"u"?import.meta.resolve(Z,Q):import.meta.resolve(Q);z=L.some($)}catch{z=L.none()}return{directory:Q,entrypoint:z}},e0=g.effect(z0,J.gen(function*(){let Z=yield*f.Service,Q=yield*s.Service,z=yield*s0.FileSystem,$=yield*B0.Service,X=(H)=>k.join(Q.cache,"packages",t0(H)),Y=(H)=>J.gen(function*(){yield*$.acquire(`npm-install:${H.dir}`);let{Arborist:q}=yield*J.promise(()=>import("./chunk-gb00fh4z.js").then((m)=>X0(m.default,1))),R=new q({path:H.dir,binLinks:!0,progress:!1,savePrefix:"",ignoreScripts:!0});return yield*J.tryPromise({try:()=>R.reify({add:H?.add||[],save:!0,saveType:"prod"}),catch:(N)=>new V0({cause:N,add:H?.add,dir:H.dir})})}).pipe(J.withSpan("Npm.reify",{attributes:H})),U=J.fn("Npm.outdated")(function*(H,q){let R=yield*J.tryPromise({try:()=>fetch(`https://registry.npmjs.org/${H}`),catch:()=>{return}}).pipe(J.orElseSucceed(()=>{return}));if(!R||!R.ok)return!1;let A=(yield*J.tryPromise({try:()=>R.json(),catch:()=>{return}}).pipe(J.orElseSucceed(()=>{return})))?.["dist-tags"]?.latest;if(!A)return!1;if(/[\s^~*xX<>|=]/.test(q))return!b0.default.satisfies(A,q);return b0.default.lt(q,A)}),G=J.fn("Npm.add")(function*(H){let q=X(H),R=(()=>{try{return r0.default(H).name??H}catch{return H}})();if(yield*Z.existsSafe(q))return d0(R,k.join(q,"node_modules",R));let A=(yield*Y({dir:q,add:[H]})).edgesOut.values().next().value?.to;if(!A)return yield*new V0({add:[H],dir:q});return d0(A.name,A.path)},J.scoped),W=J.fn("Npm.install")(function*(H,q){if(!(yield*Z.access(H,{writable:!0}).pipe(J.as(!0),J.orElseSucceed(()=>!1))))return;let N=q?.add.map((A)=>[A.name,A.version].filter(Boolean).join("@"))??[];if(yield*J.gen(function*(){if(!(yield*Z.existsSafe(k.join(H,"node_modules"))))return yield*Y({add:N,dir:H}),!0;return!1}).pipe(J.withSpan("Npm.checkNodeModules")))return;yield*J.gen(function*(){let A=yield*Z.readJson(k.join(H,"package.json")).pipe(J.orElseSucceed(()=>({}))),O=yield*Z.readJson(k.join(H,"package-lock.json")).pipe(J.orElseSucceed(()=>({}))),K=A,y=O,v=new Set([...Object.keys(K?.dependencies||{}),...Object.keys(K?.devDependencies||{}),...Object.keys(K?.peerDependencies||{}),...Object.keys(K?.optionalDependencies||{}),...(q?.add||[]).map((V)=>V.name)]),j=y?.packages?.[""]||{},_=new Set([...Object.keys(j?.dependencies||{}),...Object.keys(j?.devDependencies||{}),...Object.keys(j?.peerDependencies||{}),...Object.keys(j?.optionalDependencies||{})]);for(let V of v)if(!_.has(V)){yield*Y({dir:H,add:N});return}}).pipe(J.withSpan("Npm.checkDirty"));return},J.scoped),I=J.fn("Npm.which")(function*(H){let q=X(H),R=k.join(q,"node_modules",".bin"),N=J.fnUntraced(function*(){let A=yield*z.readDirectory(R).pipe(J.catch(()=>J.succeed([])));if(A.length===0)return L.none();if(A.length===1)return L.some(A[0]);let O=yield*Z.readJson(k.join(q,"node_modules",H,"package.json")).pipe(J.option);if(L.isSome(O)){let K=O.value;if(K?.bin){let y=H.startsWith("@")?H.split("/")[1]:H,v=K.bin;if(typeof v==="string")return L.some(y);let j=Object.keys(v);if(j.length===1)return L.some(j[0]);return v[y]?L.some(y):L.some(j[0])}}return L.some(A[0])});return yield*J.gen(function*(){let A=yield*N();if(L.isSome(A))return L.some(k.join(R,A.value));yield*z.remove(k.join(q,"package-lock.json")).pipe(J.orElseSucceed(()=>{})),yield*G(H);let O=yield*N();if(L.isNone(O))return L.none();return L.some(k.join(R,O.value))}).pipe(J.scoped,J.orElseSucceed(()=>L.none()))});return z0.of({add:G,install:W,outdated:U,which:I})})),Z2=e0.pipe(g.provide(B0.layer),g.provide(f.layer),g.provide(s.layer),g.provide(n0.layer)),{runPromise:A0}=h0(z0,Z2);async function N2(...Z){return A0((Q)=>Q.install(...Z))}async function F2(...Z){let Q=await A0((z)=>z.add(...Z));return{directory:Q.directory,entrypoint:L.getOrUndefined(Q.entrypoint)}}async function K2(...Z){return A0((Q)=>Q.outdated(...Z))}async function w2(...Z){let Q=await A0((z)=>z.which(...Z));return L.getOrUndefined(Q)}var Q2=X0(o0(),1),D0=X0(a0(),1);import u from"path";import{fileURLToPath as _0,pathToFileURL as n}from"url";var O2=["opencode-openai-codex-auth","opencode-copilot-auth"];function _Z(Z){return O2.some((Q)=>Z.includes(Q))}function z2(Z){try{return Q2.default(Z)}catch{}}function NZ(Z){let Q=z2(Z);if(Q?.type==="alias"&&!Q.name){let z=Q.subSpec;if(z?.name){let $=!z.rawSpec||z.rawSpec==="*"?"latest":z.rawSpec;return{pkg:z.name,version:$}}}if(!Q?.name)return{pkg:Z,version:""};if(Q.raw===Q.name)return{pkg:Q.name,version:"latest"};return{pkg:Q.name,version:Q.rawSpec}}var b2=["index.ts","index.tsx","index.js","index.mjs","index.cjs"];function X2(Z){if(J2(Z))return"file";return"npm"}function L2(Z,Q){if(Z.startsWith("file://"))return _0(Z);if(u.isAbsolute(Z))return Z;return u.resolve(Q,Z)}function Y2(Z){return u.isAbsolute(Z)||/^[A-Za-z]:[\\/]/.test(Z)}function T2(Z){if(typeof Z==="string")return Z;if(!a(Z))return;for(let Q of["import","default"]){let z=Z[Q];if(typeof z==="string")return z}return}function y2(Z){let Q=Z.json.main;if(typeof Q!=="string")return;let z=Q.trim();if(!z)return;return z}function H2(Z,Q,z,$){let X=L2(Q,$.dir),Y=S.resolve($.dir),U=S.resolve(X);if(!S.contains(Y,U))throw Error(`Plugin ${Z} resolved ${z} entry outside plugin directory`);return U}function $2(Z,Q,z,$){return n(H2(Z,Q,z,$)).href}function P2(Z,Q,z){let $=z.json.exports;if(a($)){let Y=T2($[`./${Q}`]);if(Y)return $2(Z,Y,Q,z)}if(Q!=="server")return;let X=y2(z);if(!X)return;return $2(Z,X,Q,z)}function S2(Z){if(Z.startsWith("file://"))return _0(Z);if(u.isAbsolute(Z))return Z}async function L0(Z){for(let Q of b2){let z=u.join(Z,Q);if(await S.exists(z))return z}}async function m2(Z){let Q=S2(Z);if(!Q)return;if(!(await S.statAsync(Q))?.isDirectory())return;return Q}async function E2(Z,Q,z,$){let X=X2(Z),Y=$??(X==="npm"?await o(Q):await o(Q).catch(()=>{return}));if(!Y)return Q;let U=P2(Z,z,Y);if(U)return U;let G=await m2(Q);if(z==="tui"){if(X==="file"&&G){let W=await L0(G);if(W)return n(W).href}if(X==="npm")return;if(G)return;return Q}if(G&&a(Y.json.exports)){if(X==="file"){let W=await L0(G);if(W)return n(W).href}return}return Q}function J2(Z){return Z.startsWith("file://")||Z.startsWith(".")||Y2(Z)}async function v2(Z){let Q=Z.startsWith("file://")?_0(Z):Z,z=u.isAbsolute(Q)||/^[A-Za-z]:[\\/]/.test(Q)?Q:u.resolve(Q);if(!(await S.statAsync(z))?.isDirectory()){if(Z.startsWith("file://"))return Z;return n(z).href}if(await S.exists(u.join(z,"package.json")))return n(z).href;let X=await L0(z);if(X)return n(X).href;throw Error(`Plugin directory ${z} is missing package.json or index file`)}async function FZ(Z,Q,z){if(!D0.default.valid(Q)||D0.default.major(Q)===0)return;let $=z??await o(Z).catch(()=>{return});if(!$)return;let X=$.json.engines;if(!a(X))return;let Y=X.qitqode??X.opencode;if(typeof Y!=="string")return;if(!D0.default.satisfies(Q,Y))throw Error(`Plugin requires qitqode ${Y} but running ${Q}`)}async function KZ(Z){if(J2(Z))return v2(Z);let Q=z2(Z),z=Q?.name&&Q.raw===Q.name?`${Q.name}@latest`:Z;return(await Y0.add(z)).directory}async function o(Z){let Q=Z.startsWith("file://")?_0(Z):Z,$=(await S.statAsync(Q))?.isDirectory()?Q:u.dirname(Q),X=u.join($,"package.json"),Y=await S.readJson(X);return{dir:$,pkg:X,json:Y}}async function wZ(Z,Q,z){let $=X2(Z),X=$==="npm"?await o(Q):await o(Q).catch(()=>{return}),Y=await E2(Z,Q,z,X);return{spec:Z,source:$,target:Q,pkg:X,entry:Y}}function OZ(Z,Q){let z=Q.json["oc-themes"];if(z===void 0)return[];if(!Array.isArray(z))throw TypeError(`Plugin ${Z} has invalid oc-themes field`);let $=z.map((X)=>{if(typeof X!=="string")throw TypeError(`Plugin ${Z} has invalid oc-themes entry`);let Y=X.trim();if(!Y)throw TypeError(`Plugin ${Z} has empty oc-themes entry`);if(Y.startsWith("file://")||Y2(Y))throw TypeError(`Plugin ${Z} oc-themes entry must be relative: ${X}`);return H2(Z,Y,"oc-themes",Q)});return Array.from(new Set($))}function bZ(Z,Q){if(Z===void 0)return;if(typeof Z!=="string")throw TypeError(`Plugin ${Q} has invalid id type ${typeof Z}`);let z=Z.trim();if(!z)throw TypeError(`Plugin ${Q} has an empty id`);return z}function LZ(Z,Q,z,$="strict"){let X=Z.default;if(!a(X)){if($==="detect")return;throw TypeError(`Plugin ${Q} must default export an object with ${z}()`)}if($==="detect"&&!("id"in X)&&!("server"in X)&&!("tui"in X))return;let Y="server"in X?X.server:void 0,U="tui"in X?X.tui:void 0;if(Y!==void 0&&typeof Y!=="function")throw TypeError(`Plugin ${Q} has invalid server export`);if(U!==void 0&&typeof U!=="function")throw TypeError(`Plugin ${Q} has invalid tui export`);if(Y!==void 0&&U!==void 0)throw TypeError(`Plugin ${Q} must default export either server() or tui(), not both`);if(z==="server"&&Y===void 0)throw TypeError(`Plugin ${Q} must default export an object with server()`);if(z==="tui"&&U===void 0)throw TypeError(`Plugin ${Q} must default export an object with tui()`);return X}async function TZ(Z,Q,z,$,X){if(Z==="file"){if($)return $;throw TypeError(`Path plugin ${Q} must export id`)}if($)return $;let Y=X??await o(z);if(typeof Y.json.name!=="string"||!Y.json.name.trim())throw TypeError(`Plugin package ${Y.pkg} is missing name`);return Y.json.name.trim()}var S0={};i0(S0,{readFile:()=>l2,files:()=>g2,fileInDirectory:()=>f2,directories:()=>k2,claudeCommandDirectories:()=>u2,ConfigPaths:()=>S0});import y0 from"path";var W2=T0.create("ConfigJsonError",p.object({path:p.string(),message:p.string().optional()})),mZ=T0.create("ConfigInvalidError",p.object({path:p.string(),issues:p.custom().optional(),message:p.string().optional()}));var g2=N0("ConfigPaths.projectFiles")(function*(Z,Q,z){return(yield*(yield*f.Service).up({targets:[`${Z}.jsonc`,`${Z}.json`],start:Q,stop:z})).toReversed()}),k2=N0("ConfigPaths.directories")(function*(Z,Q){let z=yield*f.Service;return P0([H0.Path.config,...!r.QITQODE_DISABLE_PROJECT_CONFIG?yield*z.up({targets:[".qitqode"],start:Z,stop:Q}):[],...yield*z.up({targets:[".qitqode"],start:H0.Path.home,stop:H0.Path.home}),...r.QITQODE_CONFIG_DIR?[r.QITQODE_CONFIG_DIR]:[]])}),u2=N0("ConfigPaths.claudeCommandDirectories")(function*(Z,Q){if(r.QITQODE_DISABLE_CLAUDE_CODE_COMMANDS)return[];let z=yield*f.Service;return P0([y0.join(H0.Path.home,".claude"),...!r.QITQODE_DISABLE_PROJECT_CONFIG?yield*z.up({targets:[".claude"],start:Z,stop:Q}):[]])});function f2(Z,Q){return[y0.join(Z,`${Q}.json`),y0.join(Z,`${Q}.jsonc`)]}async function l2(Z){return S.readText(Z).catch((Q)=>{if(Q.code==="ENOENT")return;throw new W2({path:Z},{cause:Q})})}function W0(Z,Q=!1){let z=Z.length,$=0,X="",Y=0,U=16,G=0,W=0,I=0,H=0,q=0;function R(j,_){let V=0,B=0;while(V<j||!_){let M=Z.charCodeAt($);if(M>=48&&M<=57)B=B*16+M-48;else if(M>=65&&M<=70)B=B*16+M-65+10;else if(M>=97&&M<=102)B=B*16+M-97+10;else break;$++,V++}if(V<j)B=-1;return B}function N(j){$=j,X="",Y=0,U=16,q=0}function A(){let j=$;if(Z.charCodeAt($)===48)$++;else{$++;while($<Z.length&&t(Z.charCodeAt($)))$++}if($<Z.length&&Z.charCodeAt($)===46)if($++,$<Z.length&&t(Z.charCodeAt($))){$++;while($<Z.length&&t(Z.charCodeAt($)))$++}else return q=3,Z.substring(j,$);let _=$;if($<Z.length&&(Z.charCodeAt($)===69||Z.charCodeAt($)===101)){if($++,$<Z.length&&Z.charCodeAt($)===43||Z.charCodeAt($)===45)$++;if($<Z.length&&t(Z.charCodeAt($))){$++;while($<Z.length&&t(Z.charCodeAt($)))$++;_=$}else q=3}return Z.substring(j,_)}function O(){let j="",_=$;while(!0){if($>=z){j+=Z.substring(_,$),q=2;break}let V=Z.charCodeAt($);if(V===34){j+=Z.substring(_,$),$++;break}if(V===92){if(j+=Z.substring(_,$),$++,$>=z){q=2;break}switch(Z.charCodeAt($++)){case 34:j+='"';break;case 92:j+="\\";break;case 47:j+="/";break;case 98:j+="\b";break;case 102:j+="\f";break;case 110:j+=`
2
+ import{Fp as a0}from"./chunk-snr44en9.js";import{ms as f0,os as l0}from"./chunk-qc3ce3vc.js";import{mt as o0}from"./chunk-fg35hwa0.js";import{pt as T0}from"./chunk-kv72hxkp.js";import{ju as C0,lu as s,nu as H0,ou as r,xt as P0}from"./chunk-x9s90xd1.js";import{Hu as n0,Nu as f,Ru as S,yu as a}from"./chunk-e7v9trve.js";import{Tu as p}from"./chunk-m4j7jyrd.js";import{vA as u0}from"./chunk-wfd5h6ax.js";import{BI as N0,GG as C,OI as J,TC as L,YD as R0,lG as g,oO as w,vP as s0,wB as p0}from"./chunk-a0rp7gh4.js";import{_P as X0,aQ as i0,cQ as _2}from"./chunk-3k2b05fv.js";function h0(Z,Q){let z,$=()=>z??=u0.make(g.provideMerge(Q,f0.layer),{memoMap:l0});return{runSync:(X)=>$().runSync(Z.use(X)),runPromiseExit:(X,Y)=>$().runPromiseExit(Z.use(X),Y),runPromise:(X,Y)=>$().runPromise(Z.use(X),Y),runFork:(X)=>$().runFork(Z.use(X)),runCallback:(X)=>$().runCallback(Z.use(X))}}var Y0={};i0(Y0,{which:()=>w2,sanitize:()=>t0,outdated:()=>K2,layer:()=>e0,install:()=>N2,defaultLayer:()=>Z2,add:()=>F2,Service:()=>z0,Npm:()=>Y0,InstallFailedError:()=>V0});var r0=X0(o0(),1),b0=X0(a0(),1);import k from"path";import I0 from"path";import A2 from"os";import{randomUUID as D2}from"crypto";var B0;((Q0)=>{class Z extends w.TaggedErrorClass()("LockTimeoutError",{key:w.String}){}Q0.LockTimeoutError=Z;class Q extends w.TaggedErrorClass()("LockCompromisedError",{detail:w.String}){}Q0.LockCompromisedError=Q;class z extends w.TaggedErrorClass()("ReleaseError",{detail:w.String,cause:w.optional(w.Defect)}){get message(){return this.detail}}class $ extends w.TaggedErrorClass()("NotAcquired",{}){}let X=60000,Y=300000,U=100,G=2000,W=Math.max(100,Math.floor(X/3)),I=C.exponential(U,1.7).pipe(C.either(C.spaced(G)),C.jittered,C.while((j)=>j.elapsed<Y)),H=w.fromJsonString(w.Struct({token:w.String,pid:w.Number,hostname:w.String,createdAt:w.String})),q=w.decodeUnknownSync(H),R=w.encodeSync(H);class N extends R0.Service()("EffectFlock"){}Q0.Service=N;function A(){return performance.timeOrigin+performance.now()}let O=(j)=>L.getOrElse(j.mtime,()=>new Date(0)).getTime(),K=(j)=>j.reason._tag==="NotFound"||j.reason._tag==="Unknown";Q0.layer=g.effect(N,J.gen(function*(){let j=yield*s.Service,_=yield*f.Service,V=I0.join(j.state,"locks"),B=A2.hostname(),M=new Set,m=(D)=>_.stat(D).pipe(J.catchIf(K,()=>J.void),J.orDie),l=(D)=>_.remove(D,{recursive:!0}).pipe(J.ignore),d=(D)=>_.makeDirectory(D,{mode:448}).pipe(J.as(!0),J.catchIf((T)=>T.reason._tag==="AlreadyExists",()=>J.succeed(!1)),J.orDie),M0=(D,T,E,P)=>_.writeFileString(D,T,{flag:"wx"}).pipe(J.catch(()=>J.gen(function*(){return yield*l(E),yield*new Q({detail:P})}))),w0=J.fnUntraced(function*(D){let T=yield*m(D);if(T&&A()-O(T)>X)yield*l(D);return!1}),Z0=J.fnUntraced(function*(D){if(M.has(D))return;yield*_.makeDirectory(D,{recursive:!0}).pipe(J.orDie),M.add(D)}),F=J.fnUntraced(function*(D,T,E){let P=A(),h=yield*m(T);if(h)return P-O(h)>X;let $0=yield*m(E);if($0)return P-O($0)>X;let q0=yield*m(D);if(!q0)return!1;return P-O(q0)>X}),b=(D,T)=>J.gen(function*(){let E=D2(),P=I0.join(D,"meta.json"),h=I0.join(D,"heartbeat");if(!(yield*d(D))){if(!(yield*F(D,h,P)))return yield*new $;let O0=D+".breaker";if(!(yield*_.makeDirectory(O0,{mode:448}).pipe(J.as(!0),J.catchIf((V2)=>V2.reason._tag==="AlreadyExists",()=>w0(O0)),J.catchIf(K,()=>J.succeed(!1)),J.orDie)))return yield*new $;if(!(yield*J.gen(function*(){if(!(yield*F(D,h,P)))return!1;return yield*l(D),yield*d(D)}).pipe(J.ensuring(l(O0)))))return yield*new $}yield*M0(h,"",D,"heartbeat already existed");let q0=R({token:E,pid:process.pid,hostname:B,createdAt:new Date().toISOString()});return yield*M0(P,q0,D,"meta.json already existed"),{token:E,metaPath:P,heartbeatPath:h,lockDir:D}}).pipe(J.withSpan("EffectFlock.tryAcquire",{attributes:{key:T}})),U0=(D,T)=>b(D,T).pipe(J.retry({while:(E)=>E._tag==="NotAcquired",schedule:I}),J.catchTag("NotAcquired",()=>J.fail(new Z({key:T})))),i=(D)=>J.gen(function*(){let T=yield*_.readFileString(D.metaPath).pipe(J.catch((P)=>{if(K(P))return J.die(new z({detail:"metadata missing"}));return J.die(P)}));if((yield*J.try({try:()=>q(T),catch:(P)=>new z({detail:"metadata invalid",cause:P})}).pipe(J.orDie)).token!==D.token)return yield*J.die(new z({detail:"token mismatch"}));yield*l(D.lockDir)}),k0=J.fn("EffectFlock.acquire")(function*(D,T){let E=T??V;yield*Z0(E);let P=I0.join(E,C0.fast(D)+".lock"),h=yield*J.acquireRelease(U0(P,D),($0)=>i($0));yield*_.utimes(h.heartbeatPath,new Date,new Date).pipe(J.ignore,J.repeat(C.spaced(W)),J.forkScoped)}),B2=p0.dual((D)=>J.isEffect(D[0]),(D,T,E)=>J.scoped(J.gen(function*(){return yield*k0(T,E),yield*D})));return N.of({acquire:k0,withLock:B2})})),Q0.defaultLayer=Q0.layer.pipe(g.provide(f.defaultLayer),g.provide(s.layer))})(B0||={});class V0 extends w.TaggedErrorClass()("NpmInstallFailedError",{add:w.Array(w.String).pipe(w.optional),dir:w.String,cause:w.optional(w.Defect)}){}class z0 extends R0.Service()("@qitqode/Npm"){}var c0=process.platform==="win32"?new Set(["<",">",":",'"',"|","?","*"]):void 0;function t0(Z){if(!c0)return Z;return Array.from(Z,(Q)=>c0.has(Q)||Q.charCodeAt(0)<32?"_":Q).join("")}var d0=(Z,Q)=>{let z;try{let $=typeof Bun<"u"?import.meta.resolve(Z,Q):import.meta.resolve(Q);z=L.some($)}catch{z=L.none()}return{directory:Q,entrypoint:z}},e0=g.effect(z0,J.gen(function*(){let Z=yield*f.Service,Q=yield*s.Service,z=yield*s0.FileSystem,$=yield*B0.Service,X=(H)=>k.join(Q.cache,"packages",t0(H)),Y=(H)=>J.gen(function*(){yield*$.acquire(`npm-install:${H.dir}`);let{Arborist:q}=yield*J.promise(()=>import("./chunk-egn55fa2.js").then((m)=>X0(m.default,1))),R=new q({path:H.dir,binLinks:!0,progress:!1,savePrefix:"",ignoreScripts:!0});return yield*J.tryPromise({try:()=>R.reify({add:H?.add||[],save:!0,saveType:"prod"}),catch:(N)=>new V0({cause:N,add:H?.add,dir:H.dir})})}).pipe(J.withSpan("Npm.reify",{attributes:H})),U=J.fn("Npm.outdated")(function*(H,q){let R=yield*J.tryPromise({try:()=>fetch(`https://registry.npmjs.org/${H}`),catch:()=>{return}}).pipe(J.orElseSucceed(()=>{return}));if(!R||!R.ok)return!1;let A=(yield*J.tryPromise({try:()=>R.json(),catch:()=>{return}}).pipe(J.orElseSucceed(()=>{return})))?.["dist-tags"]?.latest;if(!A)return!1;if(/[\s^~*xX<>|=]/.test(q))return!b0.default.satisfies(A,q);return b0.default.lt(q,A)}),G=J.fn("Npm.add")(function*(H){let q=X(H),R=(()=>{try{return r0.default(H).name??H}catch{return H}})();if(yield*Z.existsSafe(q))return d0(R,k.join(q,"node_modules",R));let A=(yield*Y({dir:q,add:[H]})).edgesOut.values().next().value?.to;if(!A)return yield*new V0({add:[H],dir:q});return d0(A.name,A.path)},J.scoped),W=J.fn("Npm.install")(function*(H,q){if(!(yield*Z.access(H,{writable:!0}).pipe(J.as(!0),J.orElseSucceed(()=>!1))))return;let N=q?.add.map((A)=>[A.name,A.version].filter(Boolean).join("@"))??[];if(yield*J.gen(function*(){if(!(yield*Z.existsSafe(k.join(H,"node_modules"))))return yield*Y({add:N,dir:H}),!0;return!1}).pipe(J.withSpan("Npm.checkNodeModules")))return;yield*J.gen(function*(){let A=yield*Z.readJson(k.join(H,"package.json")).pipe(J.orElseSucceed(()=>({}))),O=yield*Z.readJson(k.join(H,"package-lock.json")).pipe(J.orElseSucceed(()=>({}))),K=A,y=O,v=new Set([...Object.keys(K?.dependencies||{}),...Object.keys(K?.devDependencies||{}),...Object.keys(K?.peerDependencies||{}),...Object.keys(K?.optionalDependencies||{}),...(q?.add||[]).map((V)=>V.name)]),j=y?.packages?.[""]||{},_=new Set([...Object.keys(j?.dependencies||{}),...Object.keys(j?.devDependencies||{}),...Object.keys(j?.peerDependencies||{}),...Object.keys(j?.optionalDependencies||{})]);for(let V of v)if(!_.has(V)){yield*Y({dir:H,add:N});return}}).pipe(J.withSpan("Npm.checkDirty"));return},J.scoped),I=J.fn("Npm.which")(function*(H){let q=X(H),R=k.join(q,"node_modules",".bin"),N=J.fnUntraced(function*(){let A=yield*z.readDirectory(R).pipe(J.catch(()=>J.succeed([])));if(A.length===0)return L.none();if(A.length===1)return L.some(A[0]);let O=yield*Z.readJson(k.join(q,"node_modules",H,"package.json")).pipe(J.option);if(L.isSome(O)){let K=O.value;if(K?.bin){let y=H.startsWith("@")?H.split("/")[1]:H,v=K.bin;if(typeof v==="string")return L.some(y);let j=Object.keys(v);if(j.length===1)return L.some(j[0]);return v[y]?L.some(y):L.some(j[0])}}return L.some(A[0])});return yield*J.gen(function*(){let A=yield*N();if(L.isSome(A))return L.some(k.join(R,A.value));yield*z.remove(k.join(q,"package-lock.json")).pipe(J.orElseSucceed(()=>{})),yield*G(H);let O=yield*N();if(L.isNone(O))return L.none();return L.some(k.join(R,O.value))}).pipe(J.scoped,J.orElseSucceed(()=>L.none()))});return z0.of({add:G,install:W,outdated:U,which:I})})),Z2=e0.pipe(g.provide(B0.layer),g.provide(f.layer),g.provide(s.layer),g.provide(n0.layer)),{runPromise:A0}=h0(z0,Z2);async function N2(...Z){return A0((Q)=>Q.install(...Z))}async function F2(...Z){let Q=await A0((z)=>z.add(...Z));return{directory:Q.directory,entrypoint:L.getOrUndefined(Q.entrypoint)}}async function K2(...Z){return A0((Q)=>Q.outdated(...Z))}async function w2(...Z){let Q=await A0((z)=>z.which(...Z));return L.getOrUndefined(Q)}var Q2=X0(o0(),1),D0=X0(a0(),1);import u from"path";import{fileURLToPath as _0,pathToFileURL as n}from"url";var O2=["opencode-openai-codex-auth","opencode-copilot-auth"];function _Z(Z){return O2.some((Q)=>Z.includes(Q))}function z2(Z){try{return Q2.default(Z)}catch{}}function NZ(Z){let Q=z2(Z);if(Q?.type==="alias"&&!Q.name){let z=Q.subSpec;if(z?.name){let $=!z.rawSpec||z.rawSpec==="*"?"latest":z.rawSpec;return{pkg:z.name,version:$}}}if(!Q?.name)return{pkg:Z,version:""};if(Q.raw===Q.name)return{pkg:Q.name,version:"latest"};return{pkg:Q.name,version:Q.rawSpec}}var b2=["index.ts","index.tsx","index.js","index.mjs","index.cjs"];function X2(Z){if(J2(Z))return"file";return"npm"}function L2(Z,Q){if(Z.startsWith("file://"))return _0(Z);if(u.isAbsolute(Z))return Z;return u.resolve(Q,Z)}function Y2(Z){return u.isAbsolute(Z)||/^[A-Za-z]:[\\/]/.test(Z)}function T2(Z){if(typeof Z==="string")return Z;if(!a(Z))return;for(let Q of["import","default"]){let z=Z[Q];if(typeof z==="string")return z}return}function y2(Z){let Q=Z.json.main;if(typeof Q!=="string")return;let z=Q.trim();if(!z)return;return z}function H2(Z,Q,z,$){let X=L2(Q,$.dir),Y=S.resolve($.dir),U=S.resolve(X);if(!S.contains(Y,U))throw Error(`Plugin ${Z} resolved ${z} entry outside plugin directory`);return U}function $2(Z,Q,z,$){return n(H2(Z,Q,z,$)).href}function P2(Z,Q,z){let $=z.json.exports;if(a($)){let Y=T2($[`./${Q}`]);if(Y)return $2(Z,Y,Q,z)}if(Q!=="server")return;let X=y2(z);if(!X)return;return $2(Z,X,Q,z)}function S2(Z){if(Z.startsWith("file://"))return _0(Z);if(u.isAbsolute(Z))return Z}async function L0(Z){for(let Q of b2){let z=u.join(Z,Q);if(await S.exists(z))return z}}async function m2(Z){let Q=S2(Z);if(!Q)return;if(!(await S.statAsync(Q))?.isDirectory())return;return Q}async function E2(Z,Q,z,$){let X=X2(Z),Y=$??(X==="npm"?await o(Q):await o(Q).catch(()=>{return}));if(!Y)return Q;let U=P2(Z,z,Y);if(U)return U;let G=await m2(Q);if(z==="tui"){if(X==="file"&&G){let W=await L0(G);if(W)return n(W).href}if(X==="npm")return;if(G)return;return Q}if(G&&a(Y.json.exports)){if(X==="file"){let W=await L0(G);if(W)return n(W).href}return}return Q}function J2(Z){return Z.startsWith("file://")||Z.startsWith(".")||Y2(Z)}async function v2(Z){let Q=Z.startsWith("file://")?_0(Z):Z,z=u.isAbsolute(Q)||/^[A-Za-z]:[\\/]/.test(Q)?Q:u.resolve(Q);if(!(await S.statAsync(z))?.isDirectory()){if(Z.startsWith("file://"))return Z;return n(z).href}if(await S.exists(u.join(z,"package.json")))return n(z).href;let X=await L0(z);if(X)return n(X).href;throw Error(`Plugin directory ${z} is missing package.json or index file`)}async function FZ(Z,Q,z){if(!D0.default.valid(Q)||D0.default.major(Q)===0)return;let $=z??await o(Z).catch(()=>{return});if(!$)return;let X=$.json.engines;if(!a(X))return;let Y=X.qitqode??X.opencode;if(typeof Y!=="string")return;if(!D0.default.satisfies(Q,Y))throw Error(`Plugin requires qitqode ${Y} but running ${Q}`)}async function KZ(Z){if(J2(Z))return v2(Z);let Q=z2(Z),z=Q?.name&&Q.raw===Q.name?`${Q.name}@latest`:Z;return(await Y0.add(z)).directory}async function o(Z){let Q=Z.startsWith("file://")?_0(Z):Z,$=(await S.statAsync(Q))?.isDirectory()?Q:u.dirname(Q),X=u.join($,"package.json"),Y=await S.readJson(X);return{dir:$,pkg:X,json:Y}}async function wZ(Z,Q,z){let $=X2(Z),X=$==="npm"?await o(Q):await o(Q).catch(()=>{return}),Y=await E2(Z,Q,z,X);return{spec:Z,source:$,target:Q,pkg:X,entry:Y}}function OZ(Z,Q){let z=Q.json["oc-themes"];if(z===void 0)return[];if(!Array.isArray(z))throw TypeError(`Plugin ${Z} has invalid oc-themes field`);let $=z.map((X)=>{if(typeof X!=="string")throw TypeError(`Plugin ${Z} has invalid oc-themes entry`);let Y=X.trim();if(!Y)throw TypeError(`Plugin ${Z} has empty oc-themes entry`);if(Y.startsWith("file://")||Y2(Y))throw TypeError(`Plugin ${Z} oc-themes entry must be relative: ${X}`);return H2(Z,Y,"oc-themes",Q)});return Array.from(new Set($))}function bZ(Z,Q){if(Z===void 0)return;if(typeof Z!=="string")throw TypeError(`Plugin ${Q} has invalid id type ${typeof Z}`);let z=Z.trim();if(!z)throw TypeError(`Plugin ${Q} has an empty id`);return z}function LZ(Z,Q,z,$="strict"){let X=Z.default;if(!a(X)){if($==="detect")return;throw TypeError(`Plugin ${Q} must default export an object with ${z}()`)}if($==="detect"&&!("id"in X)&&!("server"in X)&&!("tui"in X))return;let Y="server"in X?X.server:void 0,U="tui"in X?X.tui:void 0;if(Y!==void 0&&typeof Y!=="function")throw TypeError(`Plugin ${Q} has invalid server export`);if(U!==void 0&&typeof U!=="function")throw TypeError(`Plugin ${Q} has invalid tui export`);if(Y!==void 0&&U!==void 0)throw TypeError(`Plugin ${Q} must default export either server() or tui(), not both`);if(z==="server"&&Y===void 0)throw TypeError(`Plugin ${Q} must default export an object with server()`);if(z==="tui"&&U===void 0)throw TypeError(`Plugin ${Q} must default export an object with tui()`);return X}async function TZ(Z,Q,z,$,X){if(Z==="file"){if($)return $;throw TypeError(`Path plugin ${Q} must export id`)}if($)return $;let Y=X??await o(z);if(typeof Y.json.name!=="string"||!Y.json.name.trim())throw TypeError(`Plugin package ${Y.pkg} is missing name`);return Y.json.name.trim()}var S0={};i0(S0,{readFile:()=>l2,files:()=>g2,fileInDirectory:()=>f2,directories:()=>k2,claudeCommandDirectories:()=>u2,ConfigPaths:()=>S0});import y0 from"path";var W2=T0.create("ConfigJsonError",p.object({path:p.string(),message:p.string().optional()})),mZ=T0.create("ConfigInvalidError",p.object({path:p.string(),issues:p.custom().optional(),message:p.string().optional()}));var g2=N0("ConfigPaths.projectFiles")(function*(Z,Q,z){return(yield*(yield*f.Service).up({targets:[`${Z}.jsonc`,`${Z}.json`],start:Q,stop:z})).toReversed()}),k2=N0("ConfigPaths.directories")(function*(Z,Q){let z=yield*f.Service;return P0([H0.Path.config,...!r.QITQODE_DISABLE_PROJECT_CONFIG?yield*z.up({targets:[".qitqode"],start:Z,stop:Q}):[],...yield*z.up({targets:[".qitqode"],start:H0.Path.home,stop:H0.Path.home}),...r.QITQODE_CONFIG_DIR?[r.QITQODE_CONFIG_DIR]:[]])}),u2=N0("ConfigPaths.claudeCommandDirectories")(function*(Z,Q){if(r.QITQODE_DISABLE_CLAUDE_CODE_COMMANDS)return[];let z=yield*f.Service;return P0([y0.join(H0.Path.home,".claude"),...!r.QITQODE_DISABLE_PROJECT_CONFIG?yield*z.up({targets:[".claude"],start:Z,stop:Q}):[]])});function f2(Z,Q){return[y0.join(Z,`${Q}.json`),y0.join(Z,`${Q}.jsonc`)]}async function l2(Z){return S.readText(Z).catch((Q)=>{if(Q.code==="ENOENT")return;throw new W2({path:Z},{cause:Q})})}function W0(Z,Q=!1){let z=Z.length,$=0,X="",Y=0,U=16,G=0,W=0,I=0,H=0,q=0;function R(j,_){let V=0,B=0;while(V<j||!_){let M=Z.charCodeAt($);if(M>=48&&M<=57)B=B*16+M-48;else if(M>=65&&M<=70)B=B*16+M-65+10;else if(M>=97&&M<=102)B=B*16+M-97+10;else break;$++,V++}if(V<j)B=-1;return B}function N(j){$=j,X="",Y=0,U=16,q=0}function A(){let j=$;if(Z.charCodeAt($)===48)$++;else{$++;while($<Z.length&&t(Z.charCodeAt($)))$++}if($<Z.length&&Z.charCodeAt($)===46)if($++,$<Z.length&&t(Z.charCodeAt($))){$++;while($<Z.length&&t(Z.charCodeAt($)))$++}else return q=3,Z.substring(j,$);let _=$;if($<Z.length&&(Z.charCodeAt($)===69||Z.charCodeAt($)===101)){if($++,$<Z.length&&Z.charCodeAt($)===43||Z.charCodeAt($)===45)$++;if($<Z.length&&t(Z.charCodeAt($))){$++;while($<Z.length&&t(Z.charCodeAt($)))$++;_=$}else q=3}return Z.substring(j,_)}function O(){let j="",_=$;while(!0){if($>=z){j+=Z.substring(_,$),q=2;break}let V=Z.charCodeAt($);if(V===34){j+=Z.substring(_,$),$++;break}if(V===92){if(j+=Z.substring(_,$),$++,$>=z){q=2;break}switch(Z.charCodeAt($++)){case 34:j+='"';break;case 92:j+="\\";break;case 47:j+="/";break;case 98:j+="\b";break;case 102:j+="\f";break;case 110:j+=`
3
3
  `;break;case 114:j+="\r";break;case 116:j+="\t";break;case 117:let M=R(4,!0);if(M>=0)j+=String.fromCharCode(M);else q=4;break;default:q=5}_=$;continue}if(V>=0&&V<=31)if(J0(V)){j+=Z.substring(_,$),q=2;break}else q=6;$++}return j}function K(){if(X="",q=0,Y=$,W=G,H=I,$>=z)return Y=z,U=17;let j=Z.charCodeAt($);if(m0(j)){do $++,X+=String.fromCharCode(j),j=Z.charCodeAt($);while(m0(j));return U=15}if(J0(j)){if($++,X+=String.fromCharCode(j),j===13&&Z.charCodeAt($)===10)$++,X+=`
4
4
  `;return G++,I=$,U=14}switch(j){case 123:return $++,U=1;case 125:return $++,U=2;case 91:return $++,U=3;case 93:return $++,U=4;case 58:return $++,U=6;case 44:return $++,U=5;case 34:return $++,X=O(),U=10;case 47:let _=$-1;if(Z.charCodeAt($+1)===47){$+=2;while($<z){if(J0(Z.charCodeAt($)))break;$++}return X=Z.substring(_,$),U=12}if(Z.charCodeAt($+1)===42){$+=2;let V=z-1,B=!1;while($<V){let M=Z.charCodeAt($);if(M===42&&Z.charCodeAt($+1)===47){$+=2,B=!0;break}if($++,J0(M)){if(M===13&&Z.charCodeAt($)===10)$++;G++,I=$}}if(!B)$++,q=1;return X=Z.substring(_,$),U=13}return X+=String.fromCharCode(j),$++,U=16;case 45:if(X+=String.fromCharCode(j),$++,$===z||!t(Z.charCodeAt($)))return U=16;case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return X+=A(),U=11;default:while($<z&&y(j))$++,j=Z.charCodeAt($);if(Y!==$){switch(X=Z.substring(Y,$),X){case"true":return U=8;case"false":return U=9;case"null":return U=7}return U=16}return X+=String.fromCharCode(j),$++,U=16}}function y(j){if(m0(j)||J0(j))return!1;switch(j){case 125:case 93:case 123:case 91:case 34:case 58:case 44:case 47:return!1}return!0}function v(){let j;do j=K();while(j>=12&&j<=15);return j}return{setPosition:N,getPosition:()=>$,scan:Q?v:K,getToken:()=>U,getTokenValue:()=>X,getTokenOffset:()=>Y,getTokenLength:()=>$-Y,getTokenStartLine:()=>W,getTokenStartCharacter:()=>Y-H,getTokenError:()=>q}}function m0(Z){return Z===32||Z===9}function J0(Z){return Z===10||Z===13}function t(Z){return Z>=48&&Z<=57}var G2;(function(Z){Z[Z.lineFeed=10]="lineFeed",Z[Z.carriageReturn=13]="carriageReturn",Z[Z.space=32]="space",Z[Z._0=48]="_0",Z[Z._1=49]="_1",Z[Z._2=50]="_2",Z[Z._3=51]="_3",Z[Z._4=52]="_4",Z[Z._5=53]="_5",Z[Z._6=54]="_6",Z[Z._7=55]="_7",Z[Z._8=56]="_8",Z[Z._9=57]="_9",Z[Z.a=97]="a",Z[Z.b=98]="b",Z[Z.c=99]="c",Z[Z.d=100]="d",Z[Z.e=101]="e",Z[Z.f=102]="f",Z[Z.g=103]="g",Z[Z.h=104]="h",Z[Z.i=105]="i",Z[Z.j=106]="j",Z[Z.k=107]="k",Z[Z.l=108]="l",Z[Z.m=109]="m",Z[Z.n=110]="n",Z[Z.o=111]="o",Z[Z.p=112]="p",Z[Z.q=113]="q",Z[Z.r=114]="r",Z[Z.s=115]="s",Z[Z.t=116]="t",Z[Z.u=117]="u",Z[Z.v=118]="v",Z[Z.w=119]="w",Z[Z.x=120]="x",Z[Z.y=121]="y",Z[Z.z=122]="z",Z[Z.A=65]="A",Z[Z.B=66]="B",Z[Z.C=67]="C",Z[Z.D=68]="D",Z[Z.E=69]="E",Z[Z.F=70]="F",Z[Z.G=71]="G",Z[Z.H=72]="H",Z[Z.I=73]="I",Z[Z.J=74]="J",Z[Z.K=75]="K",Z[Z.L=76]="L",Z[Z.M=77]="M",Z[Z.N=78]="N",Z[Z.O=79]="O",Z[Z.P=80]="P",Z[Z.Q=81]="Q",Z[Z.R=82]="R",Z[Z.S=83]="S",Z[Z.T=84]="T",Z[Z.U=85]="U",Z[Z.V=86]="V",Z[Z.W=87]="W",Z[Z.X=88]="X",Z[Z.Y=89]="Y",Z[Z.Z=90]="Z",Z[Z.asterisk=42]="asterisk",Z[Z.backslash=92]="backslash",Z[Z.closeBrace=125]="closeBrace",Z[Z.closeBracket=93]="closeBracket",Z[Z.colon=58]="colon",Z[Z.comma=44]="comma",Z[Z.dot=46]="dot",Z[Z.doubleQuote=34]="doubleQuote",Z[Z.minus=45]="minus",Z[Z.openBrace=123]="openBrace",Z[Z.openBracket=91]="openBracket",Z[Z.plus=43]="plus",Z[Z.slash=47]="slash",Z[Z.formFeed=12]="formFeed",Z[Z.tab=9]="tab"})(G2||(G2={}));var x=Array(20).fill(0).map((Z,Q)=>{return" ".repeat(Q)});var E0={" ":{"\n":Array(200).fill(0).map((Z,Q)=>{return`
5
5
  `+" ".repeat(Q)}),"\r":Array(200).fill(0).map((Z,Q)=>{return"\r"+" ".repeat(Q)}),"\r\n":Array(200).fill(0).map((Z,Q)=>{return`\r
@@ -14,4 +14,4 @@ import{go as a0}from"./chunk-htz93dsd.js";import{Pq as f0,Rq as l0}from"./chunk-
14
14
  `}return Z&&Z.eol||`
15
15
  `}function G0(Z,Q){return`\r
16
16
  `.indexOf(Z.charAt(Q))!==-1}var j0;(function(Z){Z.DEFAULT={allowTrailingComma:!1}})(j0||(j0={}));function M2(Z,Q=[],z=j0.DEFAULT){let $=null,X=[],Y=[];function U(W){if(Array.isArray(X))X.push(W);else if($!==null)X[$]=W}return g0(Z,{onObjectBegin:()=>{let W={};U(W),Y.push(X),X=W,$=null},onObjectProperty:(W)=>{$=W},onObjectEnd:()=>{X=Y.pop()},onArrayBegin:()=>{let W=[];U(W),Y.push(X),X=W,$=null},onArrayEnd:()=>{X=Y.pop()},onLiteralValue:U,onError:(W,I,H)=>{Q.push({error:W,offset:I,length:H})}},z),X[0]}function x0(Z,Q=[],z=j0.DEFAULT){let $={type:"array",offset:-1,length:-1,children:[],parent:void 0};function X(W){if($.type==="property")$.length=W-$.offset,$=$.parent}function Y(W){return $.children.push(W),W}g0(Z,{onObjectBegin:(W)=>{$=Y({type:"object",offset:W,length:-1,parent:$,children:[]})},onObjectProperty:(W,I,H)=>{$=Y({type:"property",offset:I,length:-1,parent:$,children:[]}),$.children.push({type:"string",value:W,offset:I,length:H,parent:$})},onObjectEnd:(W,I)=>{X(W+I),$.length=W+I-$.offset,$=$.parent,X(W+I)},onArrayBegin:(W,I)=>{$=Y({type:"array",offset:W,length:-1,parent:$,children:[]})},onArrayEnd:(W,I)=>{$.length=W+I-$.offset,$=$.parent,X(W+I)},onLiteralValue:(W,I,H)=>{Y({type:d2(W),offset:I,length:H,parent:$,value:W}),X(I+H)},onSeparator:(W,I,H)=>{if($.type==="property"){if(W===":")$.colonOffset=I;else if(W===",")X(I)}},onError:(W,I,H)=>{Q.push({error:W,offset:I,length:H})}},z);let G=$.children[0];if(G)delete G.parent;return G}function F0(Z,Q){if(!Z)return;let z=Z;for(let $ of Q)if(typeof $==="string"){if(z.type!=="object"||!Array.isArray(z.children))return;let X=!1;for(let Y of z.children)if(Array.isArray(Y.children)&&Y.children[0].value===$&&Y.children.length===2){z=Y.children[1],X=!0;break}if(!X)return}else{let X=$;if(z.type!=="array"||X<0||!Array.isArray(z.children)||X>=z.children.length)return;z=z.children[X]}return z}function g0(Z,Q,z=j0.DEFAULT){let $=W0(Z,!1),X=[],Y=0;function U(F){return F?()=>Y===0&&F($.getTokenOffset(),$.getTokenLength(),$.getTokenStartLine(),$.getTokenStartCharacter()):()=>!0}function G(F){return F?(b)=>Y===0&&F(b,$.getTokenOffset(),$.getTokenLength(),$.getTokenStartLine(),$.getTokenStartCharacter()):()=>!0}function W(F){return F?(b)=>Y===0&&F(b,$.getTokenOffset(),$.getTokenLength(),$.getTokenStartLine(),$.getTokenStartCharacter(),()=>X.slice()):()=>!0}function I(F){return F?()=>{if(Y>0)Y++;else if(F($.getTokenOffset(),$.getTokenLength(),$.getTokenStartLine(),$.getTokenStartCharacter(),()=>X.slice())===!1)Y=1}:()=>!0}function H(F){return F?()=>{if(Y>0)Y--;if(Y===0)F($.getTokenOffset(),$.getTokenLength(),$.getTokenStartLine(),$.getTokenStartCharacter())}:()=>!0}let q=I(Q.onObjectBegin),R=W(Q.onObjectProperty),N=H(Q.onObjectEnd),A=I(Q.onArrayBegin),O=H(Q.onArrayEnd),K=W(Q.onLiteralValue),y=G(Q.onSeparator),v=U(Q.onComment),j=G(Q.onError),_=z&&z.disallowComments,V=z&&z.allowTrailingComma;function B(){while(!0){let F=$.scan();switch($.getTokenError()){case 4:M(14);break;case 5:M(15);break;case 3:M(13);break;case 1:if(!_)M(11);break;case 2:M(12);break;case 6:M(16);break}switch(F){case 12:case 13:if(_)M(10);else v();break;case 16:M(1);break;case 15:case 14:break;default:return F}}}function M(F,b=[],U0=[]){if(j(F),b.length+U0.length>0){let i=$.getToken();while(i!==17){if(b.indexOf(i)!==-1){B();break}else if(U0.indexOf(i)!==-1)break;i=B()}}}function m(F){let b=$.getTokenValue();if(F)K(b);else R(b),X.push(b);return B(),!0}function l(){switch($.getToken()){case 11:let F=$.getTokenValue(),b=Number(F);if(isNaN(b))M(2),b=0;K(b);break;case 7:K(null);break;case 8:K(!0);break;case 9:K(!1);break;default:return!1}return B(),!0}function d(){if($.getToken()!==10)return M(3,[],[2,5]),!1;if(m(!1),$.getToken()===6){if(y(":"),B(),!Z0())M(4,[],[2,5])}else M(5,[],[2,5]);return X.pop(),!0}function M0(){q(),B();let F=!1;while($.getToken()!==2&&$.getToken()!==17){if($.getToken()===5){if(!F)M(4,[],[]);if(y(","),B(),$.getToken()===2&&V)break}else if(F)M(6,[],[]);if(!d())M(4,[],[2,5]);F=!0}if(N(),$.getToken()!==2)M(7,[2],[]);else B();return!0}function w0(){A(),B();let F=!0,b=!1;while($.getToken()!==4&&$.getToken()!==17){if($.getToken()===5){if(!b)M(4,[],[]);if(y(","),B(),$.getToken()===4&&V)break}else if(b)M(6,[],[]);if(F)X.push(0),F=!1;else X[X.length-1]++;if(!Z0())M(4,[],[4,5]);b=!0}if(O(),!F)X.pop();if($.getToken()!==4)M(8,[4],[]);else B();return!0}function Z0(){switch($.getToken()){case 3:return w0();case 1:return M0();case 10:return m(!0);default:return l()}}if(B(),$.getToken()===17){if(z.allowEmptyContent)return!0;return M(4,[],[]),!1}if(!Z0())return M(4,[],[]),!1;if($.getToken()!==17)M(9,[],[]);return!0}function d2(Z){switch(typeof Z){case"boolean":return"boolean";case"number":return"number";case"string":return"string";case"object":{if(!Z)return"null";else if(Array.isArray(Z))return"array";return"object"}default:return"null"}}function U2(Z,Q,z,$){let X=Q.slice(),U=x0(Z,[]),G=void 0,W=void 0;while(X.length>0)if(W=X.pop(),G=F0(U,X),G===void 0&&z!==void 0)if(typeof W==="string")z={[W]:z};else z=[z];else break;if(!G){if(z===void 0)throw Error("Can not delete in empty document");return c(Z,{offset:U?U.offset:0,length:U?U.length:0,content:JSON.stringify(z)},$)}else if(G.type==="object"&&typeof W==="string"&&Array.isArray(G.children)){let I=F0(G,[W]);if(I!==void 0)if(z===void 0){if(!I.parent)throw Error("Malformed AST");let H=G.children.indexOf(I.parent),q,R=I.parent.offset+I.parent.length;if(H>0){let N=G.children[H-1];q=N.offset+N.length}else if(q=G.offset+1,G.children.length>1)R=G.children[1].offset;return c(Z,{offset:q,length:R-q,content:""},$)}else return c(Z,{offset:I.offset,length:I.length,content:JSON.stringify(z)},$);else{if(z===void 0)return[];let H=`${JSON.stringify(W)}: ${JSON.stringify(z)}`,q=$.getInsertionIndex?$.getInsertionIndex(G.children.map((N)=>N.children[0].value)):G.children.length,R;if(q>0){let N=G.children[q-1];R={offset:N.offset+N.length,length:0,content:","+H}}else if(G.children.length===0)R={offset:G.offset+1,length:0,content:H};else R={offset:G.offset+1,length:0,content:H+","};return c(Z,R,$)}}else if(G.type==="array"&&typeof W==="number"&&Array.isArray(G.children)){let I=W;if(I===-1){let H=`${JSON.stringify(z)}`,q;if(G.children.length===0)q={offset:G.offset+1,length:0,content:H};else{let R=G.children[G.children.length-1];q={offset:R.offset+R.length,length:0,content:","+H}}return c(Z,q,$)}else if(z===void 0&&G.children.length>=0){let H=W,q=G.children[H],R;if(G.children.length===1)R={offset:G.offset+1,length:G.length-2,content:""};else if(G.children.length-1===H){let N=G.children[H-1],A=N.offset+N.length,O=G.offset+G.length;R={offset:A,length:O-2-A,content:""}}else R={offset:q.offset,length:G.children[H+1].offset-q.offset,content:""};return c(Z,R,$)}else if(z!==void 0){let H,q=`${JSON.stringify(z)}`;if(!$.isArrayInsertion&&G.children.length>W){let R=G.children[W];H={offset:R.offset,length:R.length,content:q}}else if(G.children.length===0||W===0)H={offset:G.offset+1,length:0,content:G.children.length===0?q:q+","};else{let R=W>G.children.length?G.children.length:W,N=G.children[R-1];H={offset:N.offset+N.length,length:0,content:","+q}}return c(Z,H,$)}else throw Error(`Can not ${z===void 0?"remove":$.isArrayInsertion?"insert":"modify"} Array index ${I} as length is not sufficient`)}else throw Error(`Can not add ${typeof W!=="number"?"index":"property"} to parent of type ${G.type}`)}function c(Z,Q,z){if(!z.formattingOptions)return[Q];let $=K0(Z,Q),X=Q.offset,Y=Q.offset+Q.content.length;if(Q.length===0||Q.content.length===0){while(X>0&&!G0($,X-1))X--;while(Y<$.length&&!G0($,Y))Y++}let U=v0($,{offset:X,length:Y-X},{...z.formattingOptions,keepLines:!1});for(let W=U.length-1;W>=0;W--){let I=U[W];$=K0($,I),X=Math.min(X,I.offset),Y=Math.max(Y,I.offset+I.length),Y+=I.content.length-I.length}let G=Z.length-($.length-Y)-X;return[{offset:X,length:G,content:$.substring(X,Y)}]}function K0(Z,Q){return Z.substring(0,Q.offset)+Q.content+Z.substring(Q.offset+Q.length)}var q2;(function(Z){Z[Z.None=0]="None",Z[Z.UnexpectedEndOfComment=1]="UnexpectedEndOfComment",Z[Z.UnexpectedEndOfString=2]="UnexpectedEndOfString",Z[Z.UnexpectedEndOfNumber=3]="UnexpectedEndOfNumber",Z[Z.InvalidUnicode=4]="InvalidUnicode",Z[Z.InvalidEscapeCharacter=5]="InvalidEscapeCharacter",Z[Z.InvalidCharacter=6]="InvalidCharacter"})(q2||(q2={}));var I2;(function(Z){Z[Z.OpenBraceToken=1]="OpenBraceToken",Z[Z.CloseBraceToken=2]="CloseBraceToken",Z[Z.OpenBracketToken=3]="OpenBracketToken",Z[Z.CloseBracketToken=4]="CloseBracketToken",Z[Z.CommaToken=5]="CommaToken",Z[Z.ColonToken=6]="ColonToken",Z[Z.NullKeyword=7]="NullKeyword",Z[Z.TrueKeyword=8]="TrueKeyword",Z[Z.FalseKeyword=9]="FalseKeyword",Z[Z.StringLiteral=10]="StringLiteral",Z[Z.NumericLiteral=11]="NumericLiteral",Z[Z.LineCommentTrivia=12]="LineCommentTrivia",Z[Z.BlockCommentTrivia=13]="BlockCommentTrivia",Z[Z.LineBreakTrivia=14]="LineBreakTrivia",Z[Z.Trivia=15]="Trivia",Z[Z.Unknown=16]="Unknown",Z[Z.EOF=17]="EOF"})(I2||(I2={}));var rZ=M2;var R2;(function(Z){Z[Z.InvalidSymbol=1]="InvalidSymbol",Z[Z.InvalidNumberFormat=2]="InvalidNumberFormat",Z[Z.PropertyNameExpected=3]="PropertyNameExpected",Z[Z.ValueExpected=4]="ValueExpected",Z[Z.ColonExpected=5]="ColonExpected",Z[Z.CommaExpected=6]="CommaExpected",Z[Z.CloseBraceExpected=7]="CloseBraceExpected",Z[Z.CloseBracketExpected=8]="CloseBracketExpected",Z[Z.EndOfFileExpected=9]="EndOfFileExpected",Z[Z.InvalidCommentToken=10]="InvalidCommentToken",Z[Z.UnexpectedEndOfComment=11]="UnexpectedEndOfComment",Z[Z.UnexpectedEndOfString=12]="UnexpectedEndOfString",Z[Z.UnexpectedEndOfNumber=13]="UnexpectedEndOfNumber",Z[Z.InvalidUnicode=14]="InvalidUnicode",Z[Z.InvalidEscapeCharacter=15]="InvalidEscapeCharacter",Z[Z.InvalidCharacter=16]="InvalidCharacter"})(R2||(R2={}));function tZ(Z){switch(Z){case 1:return"InvalidSymbol";case 2:return"InvalidNumberFormat";case 3:return"PropertyNameExpected";case 4:return"ValueExpected";case 5:return"ColonExpected";case 6:return"CommaExpected";case 7:return"CloseBraceExpected";case 8:return"CloseBracketExpected";case 9:return"EndOfFileExpected";case 10:return"InvalidCommentToken";case 11:return"UnexpectedEndOfComment";case 12:return"UnexpectedEndOfString";case 13:return"UnexpectedEndOfNumber";case 14:return"InvalidUnicode";case 15:return"InvalidEscapeCharacter";case 16:return"InvalidCharacter"}return"<unknown ParseErrorCode>"}function eZ(Z,Q,z,$){return U2(Z,Q,z,$)}function Z$(Z,Q){let z=Q.slice(0).sort((X,Y)=>{let U=X.offset-Y.offset;if(U===0)return X.length-Y.length;return U}),$=Z.length;for(let X=z.length-1;X>=0;X--){let Y=z[X];if(Y.offset+Y.length<=$)Z=K0(Z,Y);else throw Error("Overlapping edit");$=Y.offset}return Z}
17
- export{B0 as Hn,rZ as In,tZ as Jn,eZ as Kn,Z$ as Ln,W2 as Mn,mZ as Nn,h0 as On,Y0 as Pn,_Z as Qn,NZ as Rn,X2 as Sn,J2 as Tn,v2 as Un,FZ as Vn,KZ as Wn,o as Xn,wZ as Yn,OZ as Zn,bZ as _n,LZ as $n,TZ as ao,g2 as bo,k2 as co,f2 as do,l2 as eo,S0 as fo};
17
+ export{B0 as ep,rZ as fp,tZ as gp,eZ as hp,Z$ as ip,W2 as jp,mZ as kp,h0 as lp,Y0 as mp,_Z as np,NZ as op,X2 as pp,J2 as qp,v2 as rp,FZ as sp,KZ as tp,o as up,wZ as vp,OZ as wp,bZ as xp,LZ as yp,TZ as zp,g2 as Ap,k2 as Bp,f2 as Cp,l2 as Dp,S0 as Ep};
@@ -1,2 +1,2 @@
1
1
  // @bun
2
- import{De as u,Ee as S,Fe as v}from"./chunk-1sgahe1s.js";import{$e as A,Ge as q,Le as U,Pe as k,Se as y,Ve as $,We as D,_e as N,df as E,ff as H,hf as O}from"./chunk-e7ny0b3x.js";import"./chunk-kj20f048.js";import"./chunk-cqtkxwd8.js";import"./chunk-x9rbv6p6.js";import{St as j}from"./chunk-c11d28qn.js";import"./chunk-mzs2pjyc.js";import"./chunk-7xm75w1e.js";var C=$(()=>D(j.object({error:j.object({message:j.string()})}))),f=$(()=>D(j.object({id:j.string().nullish(),model:j.string().nullish(),results:j.array(j.object({index:j.number(),relevance_score:j.number()})),usage:j.object({prompt_tokens:j.number(),completion_tokens:j.number(),total_tokens:j.number()})}))),M=$(()=>D(j.object({rankFields:j.array(j.string()).optional()}))),h=class{constructor(F,G){this.specificationVersion="v3",this.modelId=F,this.config=G}get provider(){return this.config.provider}async doRerank({documents:F,headers:G,query:K,topN:V,abortSignal:W,providerOptions:Y}){var J,P;let Z=await N({provider:"togetherai",providerOptions:Y,schema:M}),{responseHeaders:X,value:B,rawValue:x}=await A({url:`${this.config.baseURL}/rerank`,headers:q(this.config.headers(),G),body:{model:this.modelId,documents:F.values,query:K,top_n:V,rank_fields:Z==null?void 0:Z.rankFields,return_documents:!1},failedResponseHandler:E({errorSchema:C,errorToMessage:(Q)=>Q.error.message}),successfulResponseHandler:H(f),abortSignal:W,fetch:this.config.fetch});return{ranking:B.results.map((Q)=>({index:Q.index,relevanceScore:Q.relevance_score})),response:{id:(J=B.id)!=null?J:void 0,modelId:(P=B.model)!=null?P:void 0,headers:X,body:x}}}},I=class{constructor(F,G){this.modelId=F,this.config=G,this.specificationVersion="v3",this.maxImagesPerCall=1}get provider(){return this.config.provider}async doGenerate({prompt:F,n:G,size:K,seed:V,providerOptions:W,headers:Y,abortSignal:J,files:P,mask:Z}){var X,B,x;let Q=[];if(Z!=null)throw Error("Together AI does not support mask-based image editing. Use FLUX Kontext models (e.g., black-forest-labs/FLUX.1-kontext-pro) with a reference image and descriptive prompt instead.");if(K!=null)Q.push({type:"unsupported",feature:"aspectRatio",details:"This model does not support the `aspectRatio` option. Use `size` instead."});let _=(x=(B=(X=this.config._internal)==null?void 0:X.currentDate)==null?void 0:B.call(X))!=null?x:new Date,R=await N({provider:"togetherai",providerOptions:W,schema:m}),w;if(P!=null&&P.length>0){if(w=U(P[0]),P.length>1)Q.push({type:"other",message:"Together AI only supports a single input image. Additional images are ignored."})}let T=K==null?void 0:K.split("x"),{value:b,responseHeaders:z}=await A({url:`${this.config.baseURL}/images/generations`,headers:q(this.config.headers(),Y),body:{model:this.modelId,prompt:F,seed:V,...G>1?{n:G}:{},...T&&{width:parseInt(T[0]),height:parseInt(T[1])},...w!=null?{image_url:w}:{},response_format:"base64",...R!=null?R:{}},failedResponseHandler:E({errorSchema:g,errorToMessage:(L)=>L.error.message}),successfulResponseHandler:H(c),abortSignal:J,fetch:this.config.fetch});return{images:b.data.map((L)=>L.b64_json),warnings:Q,response:{timestamp:_,modelId:this.modelId,headers:z}}}},c=j.object({data:j.array(j.object({b64_json:j.string()}))}),g=j.object({error:j.object({message:j.string()})}),m=$(()=>D(j.object({steps:j.number().nullish(),guidance:j.number().nullish(),negative_prompt:j.string().nullish(),disable_safety_checker:j.boolean().nullish()}).passthrough())),p="2.0.41";function l(){if(typeof process>"u")return;if(typeof process.env.TOGETHER_API_KEY==="string")return;let F=process.env.TOGETHER_AI_API_KEY;if(typeof F==="string")console.warn("TOGETHER_AI_API_KEY is deprecated and will be removed in a future release. Please use TOGETHER_API_KEY instead.");return F}function n(F={}){var G;let K=O((G=F.baseURL)!=null?G:"https://api.together.xyz/v1/"),V=()=>{var x;return k({Authorization:`Bearer ${y({apiKey:(x=F.apiKey)!=null?x:l(),environmentVariableName:"TOGETHER_API_KEY",description:"TogetherAI"})}`,...F.headers},`ai-sdk/togetherai/${p}`)},W=(x)=>({provider:`togetherai.${x}`,url:({path:Q})=>`${K}${Q}`,headers:V,fetch:F.fetch}),Y=(x)=>{return new u(x,W("chat"))},J=(x)=>new S(x,W("completion")),P=(x)=>new v(x,W("embedding")),Z=(x)=>new I(x,{...W("image"),baseURL:K!=null?K:"https://api.together.xyz/v1/"}),X=(x)=>new h(x,{...W("reranking"),baseURL:K!=null?K:"https://api.together.xyz/v1/"}),B=(x)=>Y(x);return B.specificationVersion="v3",B.completionModel=J,B.languageModel=Y,B.chatModel=Y,B.embeddingModel=P,B.textEmbeddingModel=P,B.image=Z,B.imageModel=Z,B.reranking=X,B.rerankingModel=X,B}var xj=n();export{xj as togetherai,n as createTogetherAI,p as VERSION};
2
+ import{De as u,Ee as S,Fe as v}from"./chunk-1byd3wma.js";import{$e as A,Ge as q,Le as U,Pe as k,Se as y,Ve as $,We as D,_e as N,df as E,ff as H,hf as O}from"./chunk-dctj3c22.js";import"./chunk-kwx9ewe0.js";import"./chunk-cqtkxwd8.js";import"./chunk-c5pb87yf.js";import{pv as j}from"./chunk-gmzrvxnv.js";import"./chunk-mpygdb5a.js";import"./chunk-3k2b05fv.js";var C=$(()=>D(j.object({error:j.object({message:j.string()})}))),f=$(()=>D(j.object({id:j.string().nullish(),model:j.string().nullish(),results:j.array(j.object({index:j.number(),relevance_score:j.number()})),usage:j.object({prompt_tokens:j.number(),completion_tokens:j.number(),total_tokens:j.number()})}))),M=$(()=>D(j.object({rankFields:j.array(j.string()).optional()}))),h=class{constructor(F,G){this.specificationVersion="v3",this.modelId=F,this.config=G}get provider(){return this.config.provider}async doRerank({documents:F,headers:G,query:K,topN:V,abortSignal:W,providerOptions:Y}){var J,P;let Z=await N({provider:"togetherai",providerOptions:Y,schema:M}),{responseHeaders:X,value:B,rawValue:x}=await A({url:`${this.config.baseURL}/rerank`,headers:q(this.config.headers(),G),body:{model:this.modelId,documents:F.values,query:K,top_n:V,rank_fields:Z==null?void 0:Z.rankFields,return_documents:!1},failedResponseHandler:E({errorSchema:C,errorToMessage:(Q)=>Q.error.message}),successfulResponseHandler:H(f),abortSignal:W,fetch:this.config.fetch});return{ranking:B.results.map((Q)=>({index:Q.index,relevanceScore:Q.relevance_score})),response:{id:(J=B.id)!=null?J:void 0,modelId:(P=B.model)!=null?P:void 0,headers:X,body:x}}}},I=class{constructor(F,G){this.modelId=F,this.config=G,this.specificationVersion="v3",this.maxImagesPerCall=1}get provider(){return this.config.provider}async doGenerate({prompt:F,n:G,size:K,seed:V,providerOptions:W,headers:Y,abortSignal:J,files:P,mask:Z}){var X,B,x;let Q=[];if(Z!=null)throw Error("Together AI does not support mask-based image editing. Use FLUX Kontext models (e.g., black-forest-labs/FLUX.1-kontext-pro) with a reference image and descriptive prompt instead.");if(K!=null)Q.push({type:"unsupported",feature:"aspectRatio",details:"This model does not support the `aspectRatio` option. Use `size` instead."});let _=(x=(B=(X=this.config._internal)==null?void 0:X.currentDate)==null?void 0:B.call(X))!=null?x:new Date,R=await N({provider:"togetherai",providerOptions:W,schema:m}),w;if(P!=null&&P.length>0){if(w=U(P[0]),P.length>1)Q.push({type:"other",message:"Together AI only supports a single input image. Additional images are ignored."})}let T=K==null?void 0:K.split("x"),{value:b,responseHeaders:z}=await A({url:`${this.config.baseURL}/images/generations`,headers:q(this.config.headers(),Y),body:{model:this.modelId,prompt:F,seed:V,...G>1?{n:G}:{},...T&&{width:parseInt(T[0]),height:parseInt(T[1])},...w!=null?{image_url:w}:{},response_format:"base64",...R!=null?R:{}},failedResponseHandler:E({errorSchema:g,errorToMessage:(L)=>L.error.message}),successfulResponseHandler:H(c),abortSignal:J,fetch:this.config.fetch});return{images:b.data.map((L)=>L.b64_json),warnings:Q,response:{timestamp:_,modelId:this.modelId,headers:z}}}},c=j.object({data:j.array(j.object({b64_json:j.string()}))}),g=j.object({error:j.object({message:j.string()})}),m=$(()=>D(j.object({steps:j.number().nullish(),guidance:j.number().nullish(),negative_prompt:j.string().nullish(),disable_safety_checker:j.boolean().nullish()}).passthrough())),p="2.0.41";function l(){if(typeof process>"u")return;if(typeof process.env.TOGETHER_API_KEY==="string")return;let F=process.env.TOGETHER_AI_API_KEY;if(typeof F==="string")console.warn("TOGETHER_AI_API_KEY is deprecated and will be removed in a future release. Please use TOGETHER_API_KEY instead.");return F}function n(F={}){var G;let K=O((G=F.baseURL)!=null?G:"https://api.together.xyz/v1/"),V=()=>{var x;return k({Authorization:`Bearer ${y({apiKey:(x=F.apiKey)!=null?x:l(),environmentVariableName:"TOGETHER_API_KEY",description:"TogetherAI"})}`,...F.headers},`ai-sdk/togetherai/${p}`)},W=(x)=>({provider:`togetherai.${x}`,url:({path:Q})=>`${K}${Q}`,headers:V,fetch:F.fetch}),Y=(x)=>{return new u(x,W("chat"))},J=(x)=>new S(x,W("completion")),P=(x)=>new v(x,W("embedding")),Z=(x)=>new I(x,{...W("image"),baseURL:K!=null?K:"https://api.together.xyz/v1/"}),X=(x)=>new h(x,{...W("reranking"),baseURL:K!=null?K:"https://api.together.xyz/v1/"}),B=(x)=>Y(x);return B.specificationVersion="v3",B.completionModel=J,B.languageModel=Y,B.chatModel=Y,B.embeddingModel=P,B.textEmbeddingModel=P,B.image=Z,B.imageModel=Z,B.reranking=X,B.rerankingModel=X,B}var xj=n();export{xj as togetherai,n as createTogetherAI,p as VERSION};
@@ -0,0 +1,2 @@
1
+ // @bun
2
+ import{Hf as a}from"./chunk-zfn0z4sh.js";import"./chunk-qa2j0qmy.js";import"./chunk-3k2b05fv.js";export default a();