@thxgg/steward 0.1.5 → 0.1.7

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 (1596) hide show
  1. package/.output/nitro.json +15 -0
  2. package/.output/public/_nuxt/2EtD6e53.js +1 -0
  3. package/.output/public/_nuxt/2UxHyX5q.js +1 -0
  4. package/.output/public/_nuxt/3e1v2bzS.js +1 -0
  5. package/.output/public/_nuxt/4A_iFExJ.js +1 -0
  6. package/.output/public/_nuxt/5X7smno1.js +1 -0
  7. package/.output/public/_nuxt/5i3qLPDT.js +1 -0
  8. package/.output/public/_nuxt/83L43bj1.js +1 -0
  9. package/.output/public/_nuxt/85-TOEBH.js +1 -0
  10. package/.output/public/_nuxt/B0m2ddpp.js +1 -0
  11. package/.output/public/_nuxt/B1dDrJ26.js +1 -0
  12. package/.output/public/_nuxt/B1yitclQ.js +1 -0
  13. package/.output/public/_nuxt/B3hkJjmY.js +1 -0
  14. package/.output/public/_nuxt/B6aJPvgy.js +1 -0
  15. package/.output/public/_nuxt/B7c-h3xW.js +1 -0
  16. package/.output/public/_nuxt/B7mTdjB0.js +1 -0
  17. package/.output/public/_nuxt/B93PlW-d.js +1 -0
  18. package/.output/public/_nuxt/BBf5iR-q.js +1 -0
  19. package/.output/public/_nuxt/BEDo0Tqx.js +1 -0
  20. package/.output/public/_nuxt/BERRCDM3.js +1 -0
  21. package/.output/public/_nuxt/BETggiCN.js +1 -0
  22. package/.output/public/_nuxt/BEwlwnbL.js +1 -0
  23. package/.output/public/_nuxt/BFfxhgS-.js +1 -0
  24. package/.output/public/_nuxt/BGHnOYBU.js +1 -0
  25. package/.output/public/_nuxt/BGJmEYvX.js +1 -0
  26. package/.output/public/_nuxt/BH7IYjvW.js +1 -0
  27. package/.output/public/_nuxt/BIGW1oBm.js +1 -0
  28. package/.output/public/_nuxt/BJDFO7_C.js +1 -0
  29. package/.output/public/_nuxt/BLmx8bSh.js +1 -0
  30. package/.output/public/_nuxt/BLtJtn59.js +1 -0
  31. package/.output/public/_nuxt/BM1_JUlF.js +1 -0
  32. package/.output/public/_nuxt/BMWR74SV.js +1 -0
  33. package/.output/public/_nuxt/BNzFoVmP.js +1 -0
  34. package/.output/public/_nuxt/BPQ3VLAy.js +1 -0
  35. package/.output/public/_nuxt/BQ8w6xss.js +1 -0
  36. package/.output/public/_nuxt/BR5kRUq4.js +1 -0
  37. package/.output/public/_nuxt/BRDbaJqY.js +4 -0
  38. package/.output/public/_nuxt/BRHolxvo.js +1 -0
  39. package/.output/public/_nuxt/BRZ36xJF.js +1 -0
  40. package/.output/public/_nuxt/BTJTHyun.js +1 -0
  41. package/.output/public/_nuxt/BTifaqeh.js +1 -0
  42. package/.output/public/_nuxt/BUw7H-hv.js +1 -0
  43. package/.output/public/_nuxt/BV7otONQ.js +1 -0
  44. package/.output/public/_nuxt/BVQ-GDCI.js +1 -0
  45. package/.output/public/_nuxt/BWvSN4gD.js +1 -0
  46. package/.output/public/_nuxt/BXkSAIEj.js +1 -0
  47. package/.output/public/_nuxt/BYV0-3_D.js +1 -0
  48. package/.output/public/_nuxt/BYunw83y.js +1 -0
  49. package/.output/public/_nuxt/BZvkOJ9d.js +1 -0
  50. package/.output/public/_nuxt/B_m7g4N7.js +1 -0
  51. package/.output/public/_nuxt/Ba13S78F.js +1 -0
  52. package/.output/public/_nuxt/BcOcwvcX.js +1 -0
  53. package/.output/public/_nuxt/BcVCzyr7.js +1 -0
  54. package/.output/public/_nuxt/BdImnpbu.js +1 -0
  55. package/.output/public/_nuxt/BdnUsdx6.js +1 -0
  56. package/.output/public/_nuxt/BfHTSMKl.js +1 -0
  57. package/.output/public/_nuxt/BfjtVDDH.js +1 -0
  58. package/.output/public/_nuxt/BgDCqdQA.js +1 -0
  59. package/.output/public/_nuxt/BhOHFoWU.js +1 -0
  60. package/.output/public/_nuxt/BhRPY-oY.js +1 -0
  61. package/.output/public/_nuxt/Bhrxn6JZ.js +1 -0
  62. package/.output/public/_nuxt/BkioyH1T.js +1 -0
  63. package/.output/public/_nuxt/Bkuqu6BP.js +1 -0
  64. package/.output/public/_nuxt/BmXAJ9_W.js +1 -0
  65. package/.output/public/_nuxt/Bmn6On1c.js +1 -0
  66. package/.output/public/_nuxt/Bo1Fdv48.js +76 -0
  67. package/.output/public/_nuxt/Bp3cYrEr.js +1 -0
  68. package/.output/public/_nuxt/Bp6g37R7.js +1 -0
  69. package/.output/public/_nuxt/BqTXFGrv.js +1 -0
  70. package/.output/public/_nuxt/BqYA7rlc.js +1 -0
  71. package/.output/public/_nuxt/BqmZq_gb.js +1 -0
  72. package/.output/public/_nuxt/Br6cN0cg.js +1 -0
  73. package/.output/public/_nuxt/Bri1ZtcQ.js +1 -0
  74. package/.output/public/_nuxt/BrzmwbiE.js +1 -0
  75. package/.output/public/_nuxt/BsS91CYL.js +1 -0
  76. package/.output/public/_nuxt/BspZqrRM.js +1 -0
  77. package/.output/public/_nuxt/BtCnVYZw.js +1 -0
  78. package/.output/public/_nuxt/BtOb2qkB.js +1 -0
  79. package/.output/public/_nuxt/BthQWCQV.js +1 -0
  80. package/.output/public/_nuxt/BtqSS_iP.js +1 -0
  81. package/.output/public/_nuxt/BtvRca6l.js +1 -0
  82. package/.output/public/_nuxt/Buea-lGh.js +1 -0
  83. package/.output/public/_nuxt/Bv_4Rxtq.js +1 -0
  84. package/.output/public/_nuxt/BvzEVeQv.js +1 -0
  85. package/.output/public/_nuxt/Bw305WKR.js +1 -0
  86. package/.output/public/_nuxt/BxgE0vQu.js +1 -0
  87. package/.output/public/_nuxt/BzJJZx-M.js +1 -0
  88. package/.output/public/_nuxt/BzTr9Aqm.js +1 -0
  89. package/.output/public/_nuxt/C-HG3fhB.js +1 -0
  90. package/.output/public/_nuxt/C-SQnVFl.js +1 -0
  91. package/.output/public/_nuxt/C-sUppwS.js +1 -0
  92. package/.output/public/_nuxt/C0HS_06l.js +1 -0
  93. package/.output/public/_nuxt/C0hk2d4L.js +1 -0
  94. package/.output/public/_nuxt/C151Ov-r.js +1 -0
  95. package/.output/public/_nuxt/C2t-YnRu.js +1 -0
  96. package/.output/public/_nuxt/C39BiMTA.js +1 -0
  97. package/.output/public/_nuxt/C3B-1QV4.js +1 -0
  98. package/.output/public/_nuxt/C3Wv6jpd.js +1 -0
  99. package/.output/public/_nuxt/C3mMm8J8.js +1 -0
  100. package/.output/public/_nuxt/C47S-Tmv.js +1 -0
  101. package/.output/public/_nuxt/C4EeE6gA.js +1 -0
  102. package/.output/public/_nuxt/C4IJs8-o.js +1 -0
  103. package/.output/public/_nuxt/C4gqWexZ.js +1 -0
  104. package/.output/public/_nuxt/C5YyOfLZ.js +1 -0
  105. package/.output/public/_nuxt/C7zT0LnQ.js +1 -0
  106. package/.output/public/_nuxt/C8M2exoo.js +1 -0
  107. package/.output/public/_nuxt/C8lEn-DE.js +1 -0
  108. package/.output/public/_nuxt/C98Dy4si.js +1 -0
  109. package/.output/public/_nuxt/C9XAeP06.js +1 -0
  110. package/.output/public/_nuxt/C9dUb6Cb.js +1 -0
  111. package/.output/public/_nuxt/C9oPPf7i.js +1 -0
  112. package/.output/public/_nuxt/C9tS-k6U.js +1 -0
  113. package/.output/public/_nuxt/CDVJQ6XC.js +1 -0
  114. package/.output/public/_nuxt/CDx5xZoG.js +1 -0
  115. package/.output/public/_nuxt/CEJOILWG.js +1 -0
  116. package/.output/public/_nuxt/CEL-wOlO.js +1 -0
  117. package/.output/public/_nuxt/CEu0bR-o.js +1 -0
  118. package/.output/public/_nuxt/CF10PKvl.js +1 -0
  119. package/.output/public/_nuxt/CFHQjOhq.js +1 -0
  120. package/.output/public/_nuxt/CFsNy2aC.js +1 -0
  121. package/.output/public/_nuxt/CG6Dc4jp.js +1 -0
  122. package/.output/public/_nuxt/CG8Ifv2g.js +1 -0
  123. package/.output/public/_nuxt/CGscLIrv.js +1 -0
  124. package/.output/public/_nuxt/CH1njM8p.js +1 -0
  125. package/.output/public/_nuxt/CHLpvVh8.js +1 -0
  126. package/.output/public/_nuxt/CHM0blh-.js +1 -0
  127. package/.output/public/_nuxt/CJc9bBzg.js +1 -0
  128. package/.output/public/_nuxt/CKIfxQSi.js +1 -0
  129. package/.output/public/_nuxt/CLZrNe3w.js +1 -0
  130. package/.output/public/_nuxt/CLxacb5B.js +1 -0
  131. package/.output/public/_nuxt/CMTm3GFP.js +1 -0
  132. package/.output/public/_nuxt/CMjwMIkn.js +1 -0
  133. package/.output/public/_nuxt/CO1LY3CK.js +1 -0
  134. package/.output/public/_nuxt/COcwbKMJ.js +1 -0
  135. package/.output/public/_nuxt/COkxafJQ.js +1 -0
  136. package/.output/public/_nuxt/COt5Ahok.js +1 -0
  137. package/.output/public/_nuxt/CQ8jqdy-.js +1 -0
  138. package/.output/public/_nuxt/CS3Unz2-.js +1 -0
  139. package/.output/public/_nuxt/CSXwinHm.js +1 -0
  140. package/.output/public/_nuxt/CTRr51gU.js +1 -0
  141. package/.output/public/_nuxt/CVO1_9PV.js +1 -0
  142. package/.output/public/_nuxt/CVdnzihN.js +1 -0
  143. package/.output/public/_nuxt/CW8IKDeL.js +1 -0
  144. package/.output/public/_nuxt/CXZktZb0.js +1 -0
  145. package/.output/public/_nuxt/CXtECtnM.js +1 -0
  146. package/.output/public/_nuxt/CYsAdtH9.js +1 -0
  147. package/.output/public/_nuxt/CZhp0h8q.js +1 -0
  148. package/.output/public/_nuxt/CafNBF8u.js +1 -0
  149. package/.output/public/_nuxt/CbFg5uaA.js +1 -0
  150. package/.output/public/_nuxt/CbfX1IO0.js +1 -0
  151. package/.output/public/_nuxt/CeAyd5Ju.js +1 -0
  152. package/.output/public/_nuxt/CeZK1NFH.js +1 -0
  153. package/.output/public/_nuxt/CenWIFCC.js +1 -0
  154. package/.output/public/_nuxt/CfQXZHmo.js +1 -0
  155. package/.output/public/_nuxt/Cg-RD9OK.js +1 -0
  156. package/.output/public/_nuxt/ChMvpjG-.js +1 -0
  157. package/.output/public/_nuxt/Cj5Yp3dK.js +1 -0
  158. package/.output/public/_nuxt/CjoLj4QM.js +1 -0
  159. package/.output/public/_nuxt/CkByrt1z.js +1 -0
  160. package/.output/public/_nuxt/CkXjmgJE.js +1 -0
  161. package/.output/public/_nuxt/CklMAg4u.js +1 -0
  162. package/.output/public/_nuxt/Cl0AqbOI.js +1 -0
  163. package/.output/public/_nuxt/Cm3UrAx6.js +1 -0
  164. package/.output/public/_nuxt/CmIQRyeF.js +1 -0
  165. package/.output/public/_nuxt/Cmh6b_Ma.js +1 -0
  166. package/.output/public/_nuxt/Cn7AkR1O.js +1 -0
  167. package/.output/public/_nuxt/CnnebwVN.js +1 -0
  168. package/.output/public/_nuxt/CnnmHF94.js +1 -0
  169. package/.output/public/_nuxt/CnsnAmq5.js +1 -0
  170. package/.output/public/_nuxt/Co6uUVPk.js +1 -0
  171. package/.output/public/_nuxt/CoDkCxhg.js +1 -0
  172. package/.output/public/_nuxt/Cp-IABpG.js +1 -0
  173. package/.output/public/_nuxt/CpOuai2O.js +1 -0
  174. package/.output/public/_nuxt/Cq5zzVJU.js +1 -0
  175. package/.output/public/_nuxt/CquLrc37.js +1 -0
  176. package/.output/public/_nuxt/CsfeWuGM.js +1 -0
  177. package/.output/public/_nuxt/Csfq5Kiy.js +1 -0
  178. package/.output/public/_nuxt/CuPHTKiy.js +1 -0
  179. package/.output/public/_nuxt/CufHLc7y.js +1 -0
  180. package/.output/public/_nuxt/Cuk6v7N8.js +1 -0
  181. package/.output/public/_nuxt/Cvjx9yec.js +1 -0
  182. package/.output/public/_nuxt/CwoSXNpI.js +1 -0
  183. package/.output/public/_nuxt/CxGSJlkm.js +1 -0
  184. package/.output/public/_nuxt/CxLEBnE3.js +1 -0
  185. package/.output/public/_nuxt/CxbxFI8M.js +1 -0
  186. package/.output/public/_nuxt/CyktbL80.js +1 -0
  187. package/.output/public/_nuxt/CylS5w8V.js +1 -0
  188. package/.output/public/_nuxt/CzTSHFRz.js +1 -0
  189. package/.output/public/_nuxt/D-2ljcwZ.js +1 -0
  190. package/.output/public/_nuxt/D0YGMca9.js +1 -0
  191. package/.output/public/_nuxt/D0r3Knsf.js +1 -0
  192. package/.output/public/_nuxt/D0zW6lUK.js +1 -0
  193. package/.output/public/_nuxt/D17OF-Vu.js +1 -0
  194. package/.output/public/_nuxt/D1j8_8rp.js +1 -0
  195. package/.output/public/_nuxt/D3lLCCz7.js +1 -0
  196. package/.output/public/_nuxt/D4_iv3hh.js +1 -0
  197. package/.output/public/_nuxt/D4h5O-jR.js +1 -0
  198. package/.output/public/_nuxt/D5-asLiD.js +1 -0
  199. package/.output/public/_nuxt/D53aC0YG.js +1 -0
  200. package/.output/public/_nuxt/D5KoaKCx.js +1 -0
  201. package/.output/public/_nuxt/D7o27uSR.js +1 -0
  202. package/.output/public/_nuxt/D7oLnXFd.js +1 -0
  203. package/.output/public/_nuxt/D82EKSYY.js +1 -0
  204. package/.output/public/_nuxt/D87Tk5Gz.js +1 -0
  205. package/.output/public/_nuxt/D8_7TLub.js +1 -0
  206. package/.output/public/_nuxt/D93ZcfNL.js +1 -0
  207. package/.output/public/_nuxt/D97Zzqfu.js +1 -0
  208. package/.output/public/_nuxt/DAi9KRSo.js +1 -0
  209. package/.output/public/_nuxt/DEthMvLe.js +1 -0
  210. package/.output/public/_nuxt/DFQXde-d.js +1 -0
  211. package/.output/public/_nuxt/DFWUc33u.js +1 -0
  212. package/.output/public/_nuxt/DFXneXwc.js +1 -0
  213. package/.output/public/_nuxt/DGP4VlC8.js +1 -0
  214. package/.output/public/_nuxt/DGztddWO.js +1 -0
  215. package/.output/public/_nuxt/DH5Ifo-i.js +1 -0
  216. package/.output/public/_nuxt/DHCkPAjA.js +1 -0
  217. package/.output/public/_nuxt/DHJKELXO.js +1 -0
  218. package/.output/public/_nuxt/DHQR4-dF.js +1 -0
  219. package/.output/public/_nuxt/DJjDtW9f.js +1 -0
  220. package/.output/public/_nuxt/DM8c43g1.js +1 -0
  221. package/.output/public/_nuxt/DMwsHuHA.js +1 -0
  222. package/.output/public/_nuxt/DMzUqQB5.js +1 -0
  223. package/.output/public/_nuxt/DPfMkruS.js +1 -0
  224. package/.output/public/_nuxt/DQwYQDb2.js +1 -0
  225. package/.output/public/_nuxt/DQyhUUbL.js +1 -0
  226. package/.output/public/_nuxt/DRg8JJMk.js +1 -0
  227. package/.output/public/_nuxt/DRw_LuNl.js +1 -0
  228. package/.output/public/_nuxt/DU1UobuO.js +1 -0
  229. package/.output/public/_nuxt/DUszq2jm.js +1 -0
  230. package/.output/public/_nuxt/DV7GczEv.js +1 -0
  231. package/.output/public/_nuxt/DVFEvuxE.js +1 -0
  232. package/.output/public/_nuxt/DVMEJ2y_.js +1 -0
  233. package/.output/public/_nuxt/DVxCFoDh.js +1 -0
  234. package/.output/public/_nuxt/DWedfzmr.js +1 -0
  235. package/.output/public/_nuxt/DWrx1Km3.js +1 -0
  236. package/.output/public/_nuxt/DXbdFlpD.js +1 -0
  237. package/.output/public/_nuxt/DXmwc3jG.js +1 -0
  238. package/.output/public/_nuxt/DXvB9xmW.js +1 -0
  239. package/.output/public/_nuxt/DYDTtHLR.js +1 -0
  240. package/.output/public/_nuxt/DYoxhk2S.js +1 -0
  241. package/.output/public/_nuxt/DZf3V79B.js +1 -0
  242. package/.output/public/_nuxt/DZu-aV2c.js +1 -0
  243. package/.output/public/_nuxt/DZxFcAj9.js +1 -0
  244. package/.output/public/_nuxt/D_Q5rh1f.js +1 -0
  245. package/.output/public/_nuxt/Da5cRb03.js +1 -0
  246. package/.output/public/_nuxt/DcaNXYhu.js +1 -0
  247. package/.output/public/_nuxt/Dd19v3D-.js +1 -0
  248. package/.output/public/_nuxt/DdkO51Og.js +1 -0
  249. package/.output/public/_nuxt/Ddv68eIx.js +1 -0
  250. package/.output/public/_nuxt/Des-eS-w.js +1 -0
  251. package/.output/public/_nuxt/Df6bDoY_.js +1 -0
  252. package/.output/public/_nuxt/Dg5xB15N.js +1 -0
  253. package/.output/public/_nuxt/DhQtydpF.js +3 -0
  254. package/.output/public/_nuxt/DhmSosst.js +1 -0
  255. package/.output/public/_nuxt/DkFqJrB1.js +1 -0
  256. package/.output/public/_nuxt/DkwncUOv.js +1 -0
  257. package/.output/public/_nuxt/DlAUqK2U.js +1 -0
  258. package/.output/public/_nuxt/DnULxvSX.js +1 -0
  259. package/.output/public/_nuxt/Dpen1YoG.js +1 -0
  260. package/.output/public/_nuxt/Dph4kLrZ.js +1 -0
  261. package/.output/public/_nuxt/DqQDbK_p.js +1 -0
  262. package/.output/public/_nuxt/DqwNpetd.js +1 -0
  263. package/.output/public/_nuxt/DsOJ9woJ.js +1 -0
  264. package/.output/public/_nuxt/Dspwwk_N.js +1 -0
  265. package/.output/public/_nuxt/DsumFeuD.js +1 -0
  266. package/.output/public/_nuxt/Dv7Oe6Be.js +1 -0
  267. package/.output/public/_nuxt/Dx-B1_4e.js +1 -0
  268. package/.output/public/_nuxt/DxNHbxmM.js +1 -0
  269. package/.output/public/_nuxt/DxSwrfjg.js +1 -0
  270. package/.output/public/_nuxt/DyxjwDmM.js +1 -0
  271. package/.output/public/_nuxt/Dzze3sRP.js +1 -0
  272. package/.output/public/_nuxt/E3gJ1_iC.js +1 -0
  273. package/.output/public/_nuxt/GsRaNv29.js +1 -0
  274. package/.output/public/_nuxt/IF9eRakj.js +1 -0
  275. package/.output/public/_nuxt/IeuSbFQv.js +1 -0
  276. package/.output/public/_nuxt/L9t79GZl.js +1 -0
  277. package/.output/public/_nuxt/MzD3tlZU.js +1 -0
  278. package/.output/public/_nuxt/P80f7IUj.js +1 -0
  279. package/.output/public/_nuxt/Pmp26Uib.js +1 -0
  280. package/.output/public/_nuxt/QIJgUcNo.js +1 -0
  281. package/.output/public/_nuxt/RNghxpo_.js +1 -0
  282. package/.output/public/_nuxt/TsXTqZ29.js +1 -0
  283. package/.output/public/_nuxt/VCDPK7BO.js +1 -0
  284. package/.output/public/_nuxt/VOosw3JB.js +1 -0
  285. package/.output/public/_nuxt/W9tJ9s81.js +1 -0
  286. package/.output/public/_nuxt/X6fIXIFO.js +1 -0
  287. package/.output/public/_nuxt/YqXBG_HV.js +1 -0
  288. package/.output/public/_nuxt/Yzrsuije.js +1 -0
  289. package/.output/public/_nuxt/_prd_.DYvuV73Q.css +1 -0
  290. package/.output/public/_nuxt/_ykCGR6B.js +1 -0
  291. package/.output/public/_nuxt/bCR0ucgS.js +1 -0
  292. package/.output/public/_nuxt/bN70gL4F.js +1 -0
  293. package/.output/public/_nuxt/builds/latest.json +1 -0
  294. package/.output/public/_nuxt/builds/meta/6683a0d9-9c02-4098-b750-bbbc0305261e.json +1 -0
  295. package/.output/public/_nuxt/dwOrl1Do.js +1 -0
  296. package/.output/public/_nuxt/entry.Dk19PK4d.css +1 -0
  297. package/.output/public/_nuxt/error-404.o50T1Yh0.css +1 -0
  298. package/.output/public/_nuxt/error-500.DdcU-NLM.css +1 -0
  299. package/.output/public/_nuxt/fKv21gyL.js +1 -0
  300. package/.output/public/_nuxt/fuZLfV_i.js +1 -0
  301. package/.output/public/_nuxt/g9-lgVsj.js +1 -0
  302. package/.output/public/_nuxt/gcz8RCvz.js +1 -0
  303. package/.output/public/_nuxt/hJgmCMqR.js +1 -0
  304. package/.output/public/_nuxt/hegEt444.js +1 -0
  305. package/.output/public/_nuxt/k_qm7-4y.js +1 -0
  306. package/.output/public/_nuxt/lXgVvXCa.js +1 -0
  307. package/.output/public/_nuxt/m17aaUwq.js +1 -0
  308. package/.output/public/_nuxt/mWjccvbQ.js +1 -0
  309. package/.output/public/_nuxt/mjskCLCv.js +1 -0
  310. package/.output/public/_nuxt/n2N0HUVH.js +1 -0
  311. package/.output/public/_nuxt/qdsjHGoJ.js +1 -0
  312. package/.output/public/_nuxt/rGO070M0.js +1 -0
  313. package/.output/public/_nuxt/u5AG7uiY.js +1 -0
  314. package/.output/public/_nuxt/uYugtg8r.js +1 -0
  315. package/.output/public/_nuxt/vGWfd6FD.js +1 -0
  316. package/.output/public/_nuxt/wDzz0qaB.js +1 -0
  317. package/.output/public/_nuxt/yv6CvBhz.js +1 -0
  318. package/.output/server/chunks/_/error-500.mjs +19 -0
  319. package/.output/server/chunks/_/error-500.mjs.map +1 -0
  320. package/.output/server/chunks/_/git-api.mjs +100 -0
  321. package/.output/server/chunks/_/git-api.mjs.map +1 -0
  322. package/.output/server/chunks/_/git.mjs +303 -0
  323. package/.output/server/chunks/_/git.mjs.map +1 -0
  324. package/.output/server/chunks/_/watcher.mjs +129 -0
  325. package/.output/server/chunks/_/watcher.mjs.map +1 -0
  326. package/.output/server/chunks/build/Column-styles.fAtZNsCt.mjs +8 -0
  327. package/.output/server/chunks/build/Column-styles.fAtZNsCt.mjs.map +1 -0
  328. package/.output/server/chunks/build/DiffViewer-styles-1.mjs-ZdBUa15f.mjs +4 -0
  329. package/.output/server/chunks/build/DiffViewer-styles-1.mjs-ZdBUa15f.mjs.map +1 -0
  330. package/.output/server/chunks/build/DiffViewer-styles-2.mjs-X6QKNjM0.mjs +4 -0
  331. package/.output/server/chunks/build/DiffViewer-styles-2.mjs-X6QKNjM0.mjs.map +1 -0
  332. package/.output/server/chunks/build/DiffViewer-styles.0AbHFl6N.mjs +8 -0
  333. package/.output/server/chunks/build/DiffViewer-styles.0AbHFl6N.mjs.map +1 -0
  334. package/.output/server/chunks/build/DiffViewer-styles.CoMVrk_N.mjs +8 -0
  335. package/.output/server/chunks/build/DiffViewer-styles.CoMVrk_N.mjs.map +1 -0
  336. package/.output/server/chunks/build/DiffViewer-styles.cLfMOdMh.mjs +10 -0
  337. package/.output/server/chunks/build/DiffViewer-styles.cLfMOdMh.mjs.map +1 -0
  338. package/.output/server/chunks/build/Viewer-styles.CshnetGw.mjs +8 -0
  339. package/.output/server/chunks/build/Viewer-styles.CshnetGw.mjs.map +1 -0
  340. package/.output/server/chunks/build/_plugin-vue_export-helper-1tPrXgE0.mjs +10 -0
  341. package/.output/server/chunks/build/_plugin-vue_export-helper-1tPrXgE0.mjs.map +1 -0
  342. package/.output/server/chunks/build/_prd_-CnwhMRyf.mjs +4225 -0
  343. package/.output/server/chunks/build/_prd_-CnwhMRyf.mjs.map +1 -0
  344. package/.output/server/chunks/build/client.precomputed.mjs +4 -0
  345. package/.output/server/chunks/build/client.precomputed.mjs.map +1 -0
  346. package/.output/server/chunks/build/default-DGOIWqjD.mjs +2222 -0
  347. package/.output/server/chunks/build/default-DGOIWqjD.mjs.map +1 -0
  348. package/.output/server/chunks/build/error-404-Bf6kdO80.mjs +98 -0
  349. package/.output/server/chunks/build/error-404-Bf6kdO80.mjs.map +1 -0
  350. package/.output/server/chunks/build/error-404-styles.DjEXIT5C.mjs +8 -0
  351. package/.output/server/chunks/build/error-404-styles.DjEXIT5C.mjs.map +1 -0
  352. package/.output/server/chunks/build/error-500-D_bcARXN.mjs +76 -0
  353. package/.output/server/chunks/build/error-500-D_bcARXN.mjs.map +1 -0
  354. package/.output/server/chunks/build/error-500-styles.DObwArFs.mjs +8 -0
  355. package/.output/server/chunks/build/error-500-styles.DObwArFs.mjs.map +1 -0
  356. package/.output/server/chunks/build/index-CTpuP9Mj.mjs +76 -0
  357. package/.output/server/chunks/build/index-CTpuP9Mj.mjs.map +1 -0
  358. package/.output/server/chunks/build/index-D21S97KB.mjs +256 -0
  359. package/.output/server/chunks/build/index-D21S97KB.mjs.map +1 -0
  360. package/.output/server/chunks/build/nuxt-link-SvT1nf8Z.mjs +290 -0
  361. package/.output/server/chunks/build/nuxt-link-SvT1nf8Z.mjs.map +1 -0
  362. package/.output/server/chunks/build/server.mjs +1257 -0
  363. package/.output/server/chunks/build/server.mjs.map +1 -0
  364. package/.output/server/chunks/build/styles.mjs +17 -0
  365. package/.output/server/chunks/build/styles.mjs.map +1 -0
  366. package/.output/server/chunks/build/usePrd-YhvN6Ary.mjs +563 -0
  367. package/.output/server/chunks/build/usePrd-YhvN6Ary.mjs.map +1 -0
  368. package/.output/server/chunks/nitro/nitro.mjs +8056 -0
  369. package/.output/server/chunks/nitro/nitro.mjs.map +1 -0
  370. package/.output/server/chunks/routes/api/browse.get.mjs +55 -0
  371. package/.output/server/chunks/routes/api/browse.get.mjs.map +1 -0
  372. package/.output/server/chunks/routes/api/index.get.mjs +17 -0
  373. package/.output/server/chunks/routes/api/index.get.mjs.map +1 -0
  374. package/.output/server/chunks/routes/api/index.post.mjs +46 -0
  375. package/.output/server/chunks/routes/api/index.post.mjs.map +1 -0
  376. package/.output/server/chunks/routes/api/repos/_repoId/git/commits.get.mjs +111 -0
  377. package/.output/server/chunks/routes/api/repos/_repoId/git/commits.get.mjs.map +1 -0
  378. package/.output/server/chunks/routes/api/repos/_repoId/git/diff.get.mjs +86 -0
  379. package/.output/server/chunks/routes/api/repos/_repoId/git/diff.get.mjs.map +1 -0
  380. package/.output/server/chunks/routes/api/repos/_repoId/git/file-content.get.mjs +95 -0
  381. package/.output/server/chunks/routes/api/repos/_repoId/git/file-content.get.mjs.map +1 -0
  382. package/.output/server/chunks/routes/api/repos/_repoId/git/file-diff.get.mjs +112 -0
  383. package/.output/server/chunks/routes/api/repos/_repoId/git/file-diff.get.mjs.map +1 -0
  384. package/.output/server/chunks/routes/api/repos/_repoId/prd/_prdSlug/progress.get.mjs +44 -0
  385. package/.output/server/chunks/routes/api/repos/_repoId/prd/_prdSlug/progress.get.mjs.map +1 -0
  386. package/.output/server/chunks/routes/api/repos/_repoId/prd/_prdSlug/tasks/_taskId/commits.get.mjs +121 -0
  387. package/.output/server/chunks/routes/api/repos/_repoId/prd/_prdSlug/tasks/_taskId/commits.get.mjs.map +1 -0
  388. package/.output/server/chunks/routes/api/repos/_repoId/prd/_prdSlug/tasks.get.mjs +44 -0
  389. package/.output/server/chunks/routes/api/repos/_repoId/prd/_prdSlug/tasks.get.mjs.map +1 -0
  390. package/.output/server/chunks/routes/api/repos/_repoId/prd/_prdSlug_.get.mjs +81 -0
  391. package/.output/server/chunks/routes/api/repos/_repoId/prd/_prdSlug_.get.mjs.map +1 -0
  392. package/.output/server/chunks/routes/api/repos/_repoId/prds.get.mjs +76 -0
  393. package/.output/server/chunks/routes/api/repos/_repoId/prds.get.mjs.map +1 -0
  394. package/.output/server/chunks/routes/api/repos/_repoId/refresh-git-repos.post.mjs +44 -0
  395. package/.output/server/chunks/routes/api/repos/_repoId/refresh-git-repos.post.mjs.map +1 -0
  396. package/.output/server/chunks/routes/api/repos/_repoId_.delete.mjs +34 -0
  397. package/.output/server/chunks/routes/api/repos/_repoId_.delete.mjs.map +1 -0
  398. package/.output/server/chunks/routes/api/watch.get.mjs +67 -0
  399. package/.output/server/chunks/routes/api/watch.get.mjs.map +1 -0
  400. package/.output/server/chunks/routes/renderer.mjs +500 -0
  401. package/.output/server/chunks/routes/renderer.mjs.map +1 -0
  402. package/.output/server/chunks/virtual/_virtual_spa-template.mjs +4 -0
  403. package/.output/server/chunks/virtual/_virtual_spa-template.mjs.map +1 -0
  404. package/.output/server/index.mjs +11 -0
  405. package/.output/server/index.mjs.map +1 -0
  406. package/.output/server/node_modules/@babel/parser/lib/index.js +14582 -0
  407. package/.output/server/node_modules/@babel/parser/package.json +50 -0
  408. package/.output/server/node_modules/@floating-ui/core/dist/floating-ui.core.mjs +1055 -0
  409. package/.output/server/node_modules/@floating-ui/core/package.json +63 -0
  410. package/.output/server/node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs +777 -0
  411. package/.output/server/node_modules/@floating-ui/dom/package.json +71 -0
  412. package/.output/server/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs +161 -0
  413. package/.output/server/node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs +139 -0
  414. package/.output/server/node_modules/@floating-ui/utils/package.json +70 -0
  415. package/.output/server/node_modules/@floating-ui/vue/dist/floating-ui.vue.mjs +190 -0
  416. package/.output/server/node_modules/@floating-ui/vue/package.json +71 -0
  417. package/.output/server/node_modules/@internationalized/date/dist/BuddhistCalendar.mjs +48 -0
  418. package/.output/server/node_modules/@internationalized/date/dist/CalendarDate.mjs +252 -0
  419. package/.output/server/node_modules/@internationalized/date/dist/DateFormatter.mjs +140 -0
  420. package/.output/server/node_modules/@internationalized/date/dist/EthiopicCalendar.mjs +167 -0
  421. package/.output/server/node_modules/@internationalized/date/dist/GregorianCalendar.mjs +140 -0
  422. package/.output/server/node_modules/@internationalized/date/dist/HebrewCalendar.mjs +150 -0
  423. package/.output/server/node_modules/@internationalized/date/dist/IndianCalendar.mjs +101 -0
  424. package/.output/server/node_modules/@internationalized/date/dist/IslamicCalendar.mjs +161 -0
  425. package/.output/server/node_modules/@internationalized/date/dist/JapaneseCalendar.mjs +174 -0
  426. package/.output/server/node_modules/@internationalized/date/dist/PersianCalendar.mjs +82 -0
  427. package/.output/server/node_modules/@internationalized/date/dist/TaiwanCalendar.mjs +75 -0
  428. package/.output/server/node_modules/@internationalized/date/dist/conversion.mjs +218 -0
  429. package/.output/server/node_modules/@internationalized/date/dist/createCalendar.mjs +64 -0
  430. package/.output/server/node_modules/@internationalized/date/dist/import.mjs +45 -0
  431. package/.output/server/node_modules/@internationalized/date/dist/manipulation.mjs +344 -0
  432. package/.output/server/node_modules/@internationalized/date/dist/queries.mjs +320 -0
  433. package/.output/server/node_modules/@internationalized/date/dist/string.mjs +175 -0
  434. package/.output/server/node_modules/@internationalized/date/dist/utils.mjs +17 -0
  435. package/.output/server/node_modules/@internationalized/date/dist/weekStartData.mjs +113 -0
  436. package/.output/server/node_modules/@internationalized/date/package.json +35 -0
  437. package/.output/server/node_modules/@internationalized/number/dist/NumberFormatter.mjs +152 -0
  438. package/.output/server/node_modules/@internationalized/number/dist/NumberParser.mjs +273 -0
  439. package/.output/server/node_modules/@internationalized/number/dist/import.mjs +19 -0
  440. package/.output/server/node_modules/@internationalized/number/package.json +35 -0
  441. package/.output/server/node_modules/@shikijs/core/dist/index.mjs +2446 -0
  442. package/.output/server/node_modules/@shikijs/core/package.json +56 -0
  443. package/.output/server/node_modules/@shikijs/engine-javascript/dist/engine-compile.mjs +52 -0
  444. package/.output/server/node_modules/@shikijs/engine-javascript/dist/engine-raw.mjs +22 -0
  445. package/.output/server/node_modules/@shikijs/engine-javascript/dist/index.mjs +4 -0
  446. package/.output/server/node_modules/@shikijs/engine-javascript/dist/shared/engine-javascript.hzpS1_41.mjs +93 -0
  447. package/.output/server/node_modules/@shikijs/engine-javascript/package.json +39 -0
  448. package/.output/server/node_modules/@shikijs/engine-oniguruma/dist/index.mjs +448 -0
  449. package/.output/server/node_modules/@shikijs/engine-oniguruma/dist/wasm-inlined.mjs +8 -0
  450. package/.output/server/node_modules/@shikijs/engine-oniguruma/package.json +42 -0
  451. package/.output/server/node_modules/@shikijs/langs/dist/abap.mjs +5 -0
  452. package/.output/server/node_modules/@shikijs/langs/dist/actionscript-3.mjs +5 -0
  453. package/.output/server/node_modules/@shikijs/langs/dist/ada.mjs +5 -0
  454. package/.output/server/node_modules/@shikijs/langs/dist/angular-expression.mjs +5 -0
  455. package/.output/server/node_modules/@shikijs/langs/dist/angular-html.mjs +16 -0
  456. package/.output/server/node_modules/@shikijs/langs/dist/angular-inline-style.mjs +8 -0
  457. package/.output/server/node_modules/@shikijs/langs/dist/angular-inline-template.mjs +10 -0
  458. package/.output/server/node_modules/@shikijs/langs/dist/angular-let-declaration.mjs +8 -0
  459. package/.output/server/node_modules/@shikijs/langs/dist/angular-template-blocks.mjs +10 -0
  460. package/.output/server/node_modules/@shikijs/langs/dist/angular-template.mjs +8 -0
  461. package/.output/server/node_modules/@shikijs/langs/dist/angular-ts.mjs +18 -0
  462. package/.output/server/node_modules/@shikijs/langs/dist/apache.mjs +5 -0
  463. package/.output/server/node_modules/@shikijs/langs/dist/apex.mjs +5 -0
  464. package/.output/server/node_modules/@shikijs/langs/dist/apl.mjs +16 -0
  465. package/.output/server/node_modules/@shikijs/langs/dist/applescript.mjs +5 -0
  466. package/.output/server/node_modules/@shikijs/langs/dist/ara.mjs +5 -0
  467. package/.output/server/node_modules/@shikijs/langs/dist/asciidoc.mjs +5 -0
  468. package/.output/server/node_modules/@shikijs/langs/dist/asm.mjs +5 -0
  469. package/.output/server/node_modules/@shikijs/langs/dist/astro.mjs +18 -0
  470. package/.output/server/node_modules/@shikijs/langs/dist/awk.mjs +5 -0
  471. package/.output/server/node_modules/@shikijs/langs/dist/ballerina.mjs +5 -0
  472. package/.output/server/node_modules/@shikijs/langs/dist/bat.mjs +5 -0
  473. package/.output/server/node_modules/@shikijs/langs/dist/beancount.mjs +5 -0
  474. package/.output/server/node_modules/@shikijs/langs/dist/berry.mjs +5 -0
  475. package/.output/server/node_modules/@shikijs/langs/dist/bibtex.mjs +5 -0
  476. package/.output/server/node_modules/@shikijs/langs/dist/bicep.mjs +5 -0
  477. package/.output/server/node_modules/@shikijs/langs/dist/blade.mjs +20 -0
  478. package/.output/server/node_modules/@shikijs/langs/dist/bsl.mjs +8 -0
  479. package/.output/server/node_modules/@shikijs/langs/dist/c.mjs +5 -0
  480. package/.output/server/node_modules/@shikijs/langs/dist/c3.mjs +5 -0
  481. package/.output/server/node_modules/@shikijs/langs/dist/cadence.mjs +5 -0
  482. package/.output/server/node_modules/@shikijs/langs/dist/cairo.mjs +8 -0
  483. package/.output/server/node_modules/@shikijs/langs/dist/clarity.mjs +5 -0
  484. package/.output/server/node_modules/@shikijs/langs/dist/clojure.mjs +5 -0
  485. package/.output/server/node_modules/@shikijs/langs/dist/cmake.mjs +5 -0
  486. package/.output/server/node_modules/@shikijs/langs/dist/cobol.mjs +10 -0
  487. package/.output/server/node_modules/@shikijs/langs/dist/codeowners.mjs +5 -0
  488. package/.output/server/node_modules/@shikijs/langs/dist/codeql.mjs +5 -0
  489. package/.output/server/node_modules/@shikijs/langs/dist/coffee.mjs +8 -0
  490. package/.output/server/node_modules/@shikijs/langs/dist/common-lisp.mjs +5 -0
  491. package/.output/server/node_modules/@shikijs/langs/dist/coq.mjs +5 -0
  492. package/.output/server/node_modules/@shikijs/langs/dist/cpp-macro.mjs +12 -0
  493. package/.output/server/node_modules/@shikijs/langs/dist/cpp.mjs +14 -0
  494. package/.output/server/node_modules/@shikijs/langs/dist/crystal.mjs +18 -0
  495. package/.output/server/node_modules/@shikijs/langs/dist/csharp.mjs +5 -0
  496. package/.output/server/node_modules/@shikijs/langs/dist/css.mjs +5 -0
  497. package/.output/server/node_modules/@shikijs/langs/dist/csv.mjs +5 -0
  498. package/.output/server/node_modules/@shikijs/langs/dist/cue.mjs +5 -0
  499. package/.output/server/node_modules/@shikijs/langs/dist/cypher.mjs +5 -0
  500. package/.output/server/node_modules/@shikijs/langs/dist/d.mjs +5 -0
  501. package/.output/server/node_modules/@shikijs/langs/dist/dart.mjs +5 -0
  502. package/.output/server/node_modules/@shikijs/langs/dist/dax.mjs +5 -0
  503. package/.output/server/node_modules/@shikijs/langs/dist/desktop.mjs +5 -0
  504. package/.output/server/node_modules/@shikijs/langs/dist/diff.mjs +5 -0
  505. package/.output/server/node_modules/@shikijs/langs/dist/docker.mjs +5 -0
  506. package/.output/server/node_modules/@shikijs/langs/dist/dotenv.mjs +5 -0
  507. package/.output/server/node_modules/@shikijs/langs/dist/dream-maker.mjs +5 -0
  508. package/.output/server/node_modules/@shikijs/langs/dist/edge.mjs +12 -0
  509. package/.output/server/node_modules/@shikijs/langs/dist/elixir.mjs +8 -0
  510. package/.output/server/node_modules/@shikijs/langs/dist/elm.mjs +8 -0
  511. package/.output/server/node_modules/@shikijs/langs/dist/emacs-lisp.mjs +5 -0
  512. package/.output/server/node_modules/@shikijs/langs/dist/erb.mjs +10 -0
  513. package/.output/server/node_modules/@shikijs/langs/dist/erlang.mjs +8 -0
  514. package/.output/server/node_modules/@shikijs/langs/dist/es-tag-css.mjs +12 -0
  515. package/.output/server/node_modules/@shikijs/langs/dist/es-tag-glsl.mjs +12 -0
  516. package/.output/server/node_modules/@shikijs/langs/dist/es-tag-html.mjs +12 -0
  517. package/.output/server/node_modules/@shikijs/langs/dist/es-tag-sql.mjs +10 -0
  518. package/.output/server/node_modules/@shikijs/langs/dist/es-tag-xml.mjs +8 -0
  519. package/.output/server/node_modules/@shikijs/langs/dist/fennel.mjs +5 -0
  520. package/.output/server/node_modules/@shikijs/langs/dist/fish.mjs +5 -0
  521. package/.output/server/node_modules/@shikijs/langs/dist/fluent.mjs +5 -0
  522. package/.output/server/node_modules/@shikijs/langs/dist/fortran-fixed-form.mjs +8 -0
  523. package/.output/server/node_modules/@shikijs/langs/dist/fortran-free-form.mjs +5 -0
  524. package/.output/server/node_modules/@shikijs/langs/dist/fsharp.mjs +8 -0
  525. package/.output/server/node_modules/@shikijs/langs/dist/gdresource.mjs +10 -0
  526. package/.output/server/node_modules/@shikijs/langs/dist/gdscript.mjs +5 -0
  527. package/.output/server/node_modules/@shikijs/langs/dist/gdshader.mjs +5 -0
  528. package/.output/server/node_modules/@shikijs/langs/dist/genie.mjs +5 -0
  529. package/.output/server/node_modules/@shikijs/langs/dist/gherkin.mjs +5 -0
  530. package/.output/server/node_modules/@shikijs/langs/dist/git-commit.mjs +8 -0
  531. package/.output/server/node_modules/@shikijs/langs/dist/git-rebase.mjs +8 -0
  532. package/.output/server/node_modules/@shikijs/langs/dist/gleam.mjs +5 -0
  533. package/.output/server/node_modules/@shikijs/langs/dist/glimmer-js.mjs +14 -0
  534. package/.output/server/node_modules/@shikijs/langs/dist/glimmer-ts.mjs +14 -0
  535. package/.output/server/node_modules/@shikijs/langs/dist/glsl.mjs +8 -0
  536. package/.output/server/node_modules/@shikijs/langs/dist/gn.mjs +5 -0
  537. package/.output/server/node_modules/@shikijs/langs/dist/gnuplot.mjs +5 -0
  538. package/.output/server/node_modules/@shikijs/langs/dist/go.mjs +5 -0
  539. package/.output/server/node_modules/@shikijs/langs/dist/graphql.mjs +14 -0
  540. package/.output/server/node_modules/@shikijs/langs/dist/groovy.mjs +5 -0
  541. package/.output/server/node_modules/@shikijs/langs/dist/hack.mjs +10 -0
  542. package/.output/server/node_modules/@shikijs/langs/dist/haml.mjs +10 -0
  543. package/.output/server/node_modules/@shikijs/langs/dist/handlebars.mjs +14 -0
  544. package/.output/server/node_modules/@shikijs/langs/dist/haskell.mjs +5 -0
  545. package/.output/server/node_modules/@shikijs/langs/dist/haxe.mjs +5 -0
  546. package/.output/server/node_modules/@shikijs/langs/dist/hcl.mjs +5 -0
  547. package/.output/server/node_modules/@shikijs/langs/dist/hjson.mjs +5 -0
  548. package/.output/server/node_modules/@shikijs/langs/dist/hlsl.mjs +5 -0
  549. package/.output/server/node_modules/@shikijs/langs/dist/html-derivative.mjs +8 -0
  550. package/.output/server/node_modules/@shikijs/langs/dist/html.mjs +10 -0
  551. package/.output/server/node_modules/@shikijs/langs/dist/http.mjs +14 -0
  552. package/.output/server/node_modules/@shikijs/langs/dist/hurl.mjs +12 -0
  553. package/.output/server/node_modules/@shikijs/langs/dist/hxml.mjs +8 -0
  554. package/.output/server/node_modules/@shikijs/langs/dist/hy.mjs +5 -0
  555. package/.output/server/node_modules/@shikijs/langs/dist/imba.mjs +5 -0
  556. package/.output/server/node_modules/@shikijs/langs/dist/ini.mjs +5 -0
  557. package/.output/server/node_modules/@shikijs/langs/dist/java.mjs +5 -0
  558. package/.output/server/node_modules/@shikijs/langs/dist/javascript.mjs +5 -0
  559. package/.output/server/node_modules/@shikijs/langs/dist/jinja-html.mjs +8 -0
  560. package/.output/server/node_modules/@shikijs/langs/dist/jinja.mjs +8 -0
  561. package/.output/server/node_modules/@shikijs/langs/dist/jison.mjs +8 -0
  562. package/.output/server/node_modules/@shikijs/langs/dist/json.mjs +5 -0
  563. package/.output/server/node_modules/@shikijs/langs/dist/json5.mjs +5 -0
  564. package/.output/server/node_modules/@shikijs/langs/dist/jsonc.mjs +5 -0
  565. package/.output/server/node_modules/@shikijs/langs/dist/jsonl.mjs +5 -0
  566. package/.output/server/node_modules/@shikijs/langs/dist/jsonnet.mjs +5 -0
  567. package/.output/server/node_modules/@shikijs/langs/dist/jssm.mjs +5 -0
  568. package/.output/server/node_modules/@shikijs/langs/dist/jsx.mjs +5 -0
  569. package/.output/server/node_modules/@shikijs/langs/dist/julia.mjs +16 -0
  570. package/.output/server/node_modules/@shikijs/langs/dist/kdl.mjs +5 -0
  571. package/.output/server/node_modules/@shikijs/langs/dist/kotlin.mjs +5 -0
  572. package/.output/server/node_modules/@shikijs/langs/dist/kusto.mjs +5 -0
  573. package/.output/server/node_modules/@shikijs/langs/dist/latex.mjs +8 -0
  574. package/.output/server/node_modules/@shikijs/langs/dist/lean.mjs +5 -0
  575. package/.output/server/node_modules/@shikijs/langs/dist/less.mjs +5 -0
  576. package/.output/server/node_modules/@shikijs/langs/dist/liquid.mjs +14 -0
  577. package/.output/server/node_modules/@shikijs/langs/dist/llvm.mjs +5 -0
  578. package/.output/server/node_modules/@shikijs/langs/dist/log.mjs +5 -0
  579. package/.output/server/node_modules/@shikijs/langs/dist/logo.mjs +5 -0
  580. package/.output/server/node_modules/@shikijs/langs/dist/lua.mjs +8 -0
  581. package/.output/server/node_modules/@shikijs/langs/dist/luau.mjs +5 -0
  582. package/.output/server/node_modules/@shikijs/langs/dist/make.mjs +5 -0
  583. package/.output/server/node_modules/@shikijs/langs/dist/markdown-nix.mjs +5 -0
  584. package/.output/server/node_modules/@shikijs/langs/dist/markdown-vue.mjs +5 -0
  585. package/.output/server/node_modules/@shikijs/langs/dist/markdown.mjs +5 -0
  586. package/.output/server/node_modules/@shikijs/langs/dist/marko.mjs +14 -0
  587. package/.output/server/node_modules/@shikijs/langs/dist/matlab.mjs +5 -0
  588. package/.output/server/node_modules/@shikijs/langs/dist/mdc.mjs +12 -0
  589. package/.output/server/node_modules/@shikijs/langs/dist/mdx.mjs +5 -0
  590. package/.output/server/node_modules/@shikijs/langs/dist/mermaid.mjs +5 -0
  591. package/.output/server/node_modules/@shikijs/langs/dist/mipsasm.mjs +5 -0
  592. package/.output/server/node_modules/@shikijs/langs/dist/mojo.mjs +5 -0
  593. package/.output/server/node_modules/@shikijs/langs/dist/moonbit.mjs +5 -0
  594. package/.output/server/node_modules/@shikijs/langs/dist/move.mjs +5 -0
  595. package/.output/server/node_modules/@shikijs/langs/dist/narrat.mjs +5 -0
  596. package/.output/server/node_modules/@shikijs/langs/dist/nextflow.mjs +5 -0
  597. package/.output/server/node_modules/@shikijs/langs/dist/nginx.mjs +8 -0
  598. package/.output/server/node_modules/@shikijs/langs/dist/nim.mjs +20 -0
  599. package/.output/server/node_modules/@shikijs/langs/dist/nix.mjs +8 -0
  600. package/.output/server/node_modules/@shikijs/langs/dist/nushell.mjs +5 -0
  601. package/.output/server/node_modules/@shikijs/langs/dist/objective-c.mjs +5 -0
  602. package/.output/server/node_modules/@shikijs/langs/dist/objective-cpp.mjs +5 -0
  603. package/.output/server/node_modules/@shikijs/langs/dist/ocaml.mjs +5 -0
  604. package/.output/server/node_modules/@shikijs/langs/dist/odin.mjs +5 -0
  605. package/.output/server/node_modules/@shikijs/langs/dist/openscad.mjs +5 -0
  606. package/.output/server/node_modules/@shikijs/langs/dist/pascal.mjs +5 -0
  607. package/.output/server/node_modules/@shikijs/langs/dist/perl.mjs +16 -0
  608. package/.output/server/node_modules/@shikijs/langs/dist/php.mjs +18 -0
  609. package/.output/server/node_modules/@shikijs/langs/dist/pkl.mjs +5 -0
  610. package/.output/server/node_modules/@shikijs/langs/dist/plsql.mjs +5 -0
  611. package/.output/server/node_modules/@shikijs/langs/dist/po.mjs +5 -0
  612. package/.output/server/node_modules/@shikijs/langs/dist/polar.mjs +5 -0
  613. package/.output/server/node_modules/@shikijs/langs/dist/postcss.mjs +5 -0
  614. package/.output/server/node_modules/@shikijs/langs/dist/powerquery.mjs +5 -0
  615. package/.output/server/node_modules/@shikijs/langs/dist/powershell.mjs +5 -0
  616. package/.output/server/node_modules/@shikijs/langs/dist/prisma.mjs +5 -0
  617. package/.output/server/node_modules/@shikijs/langs/dist/prolog.mjs +5 -0
  618. package/.output/server/node_modules/@shikijs/langs/dist/proto.mjs +5 -0
  619. package/.output/server/node_modules/@shikijs/langs/dist/pug.mjs +12 -0
  620. package/.output/server/node_modules/@shikijs/langs/dist/puppet.mjs +5 -0
  621. package/.output/server/node_modules/@shikijs/langs/dist/purescript.mjs +5 -0
  622. package/.output/server/node_modules/@shikijs/langs/dist/python.mjs +5 -0
  623. package/.output/server/node_modules/@shikijs/langs/dist/qml.mjs +8 -0
  624. package/.output/server/node_modules/@shikijs/langs/dist/qmldir.mjs +5 -0
  625. package/.output/server/node_modules/@shikijs/langs/dist/qss.mjs +5 -0
  626. package/.output/server/node_modules/@shikijs/langs/dist/r.mjs +5 -0
  627. package/.output/server/node_modules/@shikijs/langs/dist/racket.mjs +5 -0
  628. package/.output/server/node_modules/@shikijs/langs/dist/raku.mjs +5 -0
  629. package/.output/server/node_modules/@shikijs/langs/dist/razor.mjs +10 -0
  630. package/.output/server/node_modules/@shikijs/langs/dist/reg.mjs +5 -0
  631. package/.output/server/node_modules/@shikijs/langs/dist/regexp.mjs +5 -0
  632. package/.output/server/node_modules/@shikijs/langs/dist/rel.mjs +5 -0
  633. package/.output/server/node_modules/@shikijs/langs/dist/riscv.mjs +5 -0
  634. package/.output/server/node_modules/@shikijs/langs/dist/ron.mjs +5 -0
  635. package/.output/server/node_modules/@shikijs/langs/dist/rosmsg.mjs +5 -0
  636. package/.output/server/node_modules/@shikijs/langs/dist/rst.mjs +22 -0
  637. package/.output/server/node_modules/@shikijs/langs/dist/ruby.mjs +30 -0
  638. package/.output/server/node_modules/@shikijs/langs/dist/rust.mjs +5 -0
  639. package/.output/server/node_modules/@shikijs/langs/dist/sas.mjs +8 -0
  640. package/.output/server/node_modules/@shikijs/langs/dist/sass.mjs +5 -0
  641. package/.output/server/node_modules/@shikijs/langs/dist/scala.mjs +5 -0
  642. package/.output/server/node_modules/@shikijs/langs/dist/scheme.mjs +5 -0
  643. package/.output/server/node_modules/@shikijs/langs/dist/scss.mjs +8 -0
  644. package/.output/server/node_modules/@shikijs/langs/dist/sdbl.mjs +5 -0
  645. package/.output/server/node_modules/@shikijs/langs/dist/shaderlab.mjs +8 -0
  646. package/.output/server/node_modules/@shikijs/langs/dist/shellscript.mjs +5 -0
  647. package/.output/server/node_modules/@shikijs/langs/dist/shellsession.mjs +8 -0
  648. package/.output/server/node_modules/@shikijs/langs/dist/smalltalk.mjs +5 -0
  649. package/.output/server/node_modules/@shikijs/langs/dist/solidity.mjs +5 -0
  650. package/.output/server/node_modules/@shikijs/langs/dist/soy.mjs +8 -0
  651. package/.output/server/node_modules/@shikijs/langs/dist/sparql.mjs +8 -0
  652. package/.output/server/node_modules/@shikijs/langs/dist/splunk.mjs +5 -0
  653. package/.output/server/node_modules/@shikijs/langs/dist/sql.mjs +5 -0
  654. package/.output/server/node_modules/@shikijs/langs/dist/ssh-config.mjs +5 -0
  655. package/.output/server/node_modules/@shikijs/langs/dist/stata.mjs +8 -0
  656. package/.output/server/node_modules/@shikijs/langs/dist/stylus.mjs +5 -0
  657. package/.output/server/node_modules/@shikijs/langs/dist/surrealql.mjs +8 -0
  658. package/.output/server/node_modules/@shikijs/langs/dist/svelte.mjs +14 -0
  659. package/.output/server/node_modules/@shikijs/langs/dist/swift.mjs +5 -0
  660. package/.output/server/node_modules/@shikijs/langs/dist/system-verilog.mjs +5 -0
  661. package/.output/server/node_modules/@shikijs/langs/dist/systemd.mjs +5 -0
  662. package/.output/server/node_modules/@shikijs/langs/dist/talonscript.mjs +5 -0
  663. package/.output/server/node_modules/@shikijs/langs/dist/tasl.mjs +5 -0
  664. package/.output/server/node_modules/@shikijs/langs/dist/tcl.mjs +5 -0
  665. package/.output/server/node_modules/@shikijs/langs/dist/templ.mjs +12 -0
  666. package/.output/server/node_modules/@shikijs/langs/dist/terraform.mjs +5 -0
  667. package/.output/server/node_modules/@shikijs/langs/dist/tex.mjs +8 -0
  668. package/.output/server/node_modules/@shikijs/langs/dist/toml.mjs +5 -0
  669. package/.output/server/node_modules/@shikijs/langs/dist/ts-tags.mjs +18 -0
  670. package/.output/server/node_modules/@shikijs/langs/dist/tsv.mjs +5 -0
  671. package/.output/server/node_modules/@shikijs/langs/dist/tsx.mjs +5 -0
  672. package/.output/server/node_modules/@shikijs/langs/dist/turtle.mjs +5 -0
  673. package/.output/server/node_modules/@shikijs/langs/dist/twig.mjs +18 -0
  674. package/.output/server/node_modules/@shikijs/langs/dist/typescript.mjs +5 -0
  675. package/.output/server/node_modules/@shikijs/langs/dist/typespec.mjs +5 -0
  676. package/.output/server/node_modules/@shikijs/langs/dist/typst.mjs +5 -0
  677. package/.output/server/node_modules/@shikijs/langs/dist/v.mjs +5 -0
  678. package/.output/server/node_modules/@shikijs/langs/dist/vala.mjs +5 -0
  679. package/.output/server/node_modules/@shikijs/langs/dist/vb.mjs +5 -0
  680. package/.output/server/node_modules/@shikijs/langs/dist/verilog.mjs +5 -0
  681. package/.output/server/node_modules/@shikijs/langs/dist/vhdl.mjs +5 -0
  682. package/.output/server/node_modules/@shikijs/langs/dist/viml.mjs +5 -0
  683. package/.output/server/node_modules/@shikijs/langs/dist/vue-directives.mjs +5 -0
  684. package/.output/server/node_modules/@shikijs/langs/dist/vue-html.mjs +8 -0
  685. package/.output/server/node_modules/@shikijs/langs/dist/vue-interpolations.mjs +5 -0
  686. package/.output/server/node_modules/@shikijs/langs/dist/vue-sfc-style-variable-injection.mjs +8 -0
  687. package/.output/server/node_modules/@shikijs/langs/dist/vue-vine.mjs +18 -0
  688. package/.output/server/node_modules/@shikijs/langs/dist/vue.mjs +26 -0
  689. package/.output/server/node_modules/@shikijs/langs/dist/vyper.mjs +5 -0
  690. package/.output/server/node_modules/@shikijs/langs/dist/wasm.mjs +5 -0
  691. package/.output/server/node_modules/@shikijs/langs/dist/wenyan.mjs +5 -0
  692. package/.output/server/node_modules/@shikijs/langs/dist/wgsl.mjs +5 -0
  693. package/.output/server/node_modules/@shikijs/langs/dist/wikitext.mjs +5 -0
  694. package/.output/server/node_modules/@shikijs/langs/dist/wit.mjs +5 -0
  695. package/.output/server/node_modules/@shikijs/langs/dist/wolfram.mjs +5 -0
  696. package/.output/server/node_modules/@shikijs/langs/dist/xml.mjs +8 -0
  697. package/.output/server/node_modules/@shikijs/langs/dist/xsl.mjs +8 -0
  698. package/.output/server/node_modules/@shikijs/langs/dist/yaml.mjs +5 -0
  699. package/.output/server/node_modules/@shikijs/langs/dist/zenscript.mjs +5 -0
  700. package/.output/server/node_modules/@shikijs/langs/dist/zig.mjs +5 -0
  701. package/.output/server/node_modules/@shikijs/langs/package.json +380 -0
  702. package/.output/server/node_modules/@shikijs/themes/dist/andromeeda.mjs +2 -0
  703. package/.output/server/node_modules/@shikijs/themes/dist/aurora-x.mjs +2 -0
  704. package/.output/server/node_modules/@shikijs/themes/dist/ayu-dark.mjs +2 -0
  705. package/.output/server/node_modules/@shikijs/themes/dist/ayu-light.mjs +2 -0
  706. package/.output/server/node_modules/@shikijs/themes/dist/ayu-mirage.mjs +2 -0
  707. package/.output/server/node_modules/@shikijs/themes/dist/catppuccin-frappe.mjs +2 -0
  708. package/.output/server/node_modules/@shikijs/themes/dist/catppuccin-latte.mjs +2 -0
  709. package/.output/server/node_modules/@shikijs/themes/dist/catppuccin-macchiato.mjs +2 -0
  710. package/.output/server/node_modules/@shikijs/themes/dist/catppuccin-mocha.mjs +2 -0
  711. package/.output/server/node_modules/@shikijs/themes/dist/dark-plus.mjs +2 -0
  712. package/.output/server/node_modules/@shikijs/themes/dist/dracula-soft.mjs +2 -0
  713. package/.output/server/node_modules/@shikijs/themes/dist/dracula.mjs +2 -0
  714. package/.output/server/node_modules/@shikijs/themes/dist/everforest-dark.mjs +2 -0
  715. package/.output/server/node_modules/@shikijs/themes/dist/everforest-light.mjs +2 -0
  716. package/.output/server/node_modules/@shikijs/themes/dist/github-dark-default.mjs +2 -0
  717. package/.output/server/node_modules/@shikijs/themes/dist/github-dark-dimmed.mjs +2 -0
  718. package/.output/server/node_modules/@shikijs/themes/dist/github-dark-high-contrast.mjs +2 -0
  719. package/.output/server/node_modules/@shikijs/themes/dist/github-dark.mjs +2 -0
  720. package/.output/server/node_modules/@shikijs/themes/dist/github-light-default.mjs +2 -0
  721. package/.output/server/node_modules/@shikijs/themes/dist/github-light-high-contrast.mjs +2 -0
  722. package/.output/server/node_modules/@shikijs/themes/dist/github-light.mjs +2 -0
  723. package/.output/server/node_modules/@shikijs/themes/dist/gruvbox-dark-hard.mjs +2 -0
  724. package/.output/server/node_modules/@shikijs/themes/dist/gruvbox-dark-medium.mjs +2 -0
  725. package/.output/server/node_modules/@shikijs/themes/dist/gruvbox-dark-soft.mjs +2 -0
  726. package/.output/server/node_modules/@shikijs/themes/dist/gruvbox-light-hard.mjs +2 -0
  727. package/.output/server/node_modules/@shikijs/themes/dist/gruvbox-light-medium.mjs +2 -0
  728. package/.output/server/node_modules/@shikijs/themes/dist/gruvbox-light-soft.mjs +2 -0
  729. package/.output/server/node_modules/@shikijs/themes/dist/horizon.mjs +2 -0
  730. package/.output/server/node_modules/@shikijs/themes/dist/houston.mjs +2 -0
  731. package/.output/server/node_modules/@shikijs/themes/dist/kanagawa-dragon.mjs +2 -0
  732. package/.output/server/node_modules/@shikijs/themes/dist/kanagawa-lotus.mjs +2 -0
  733. package/.output/server/node_modules/@shikijs/themes/dist/kanagawa-wave.mjs +2 -0
  734. package/.output/server/node_modules/@shikijs/themes/dist/laserwave.mjs +2 -0
  735. package/.output/server/node_modules/@shikijs/themes/dist/light-plus.mjs +2 -0
  736. package/.output/server/node_modules/@shikijs/themes/dist/material-theme-darker.mjs +2 -0
  737. package/.output/server/node_modules/@shikijs/themes/dist/material-theme-lighter.mjs +2 -0
  738. package/.output/server/node_modules/@shikijs/themes/dist/material-theme-ocean.mjs +2 -0
  739. package/.output/server/node_modules/@shikijs/themes/dist/material-theme-palenight.mjs +2 -0
  740. package/.output/server/node_modules/@shikijs/themes/dist/material-theme.mjs +2 -0
  741. package/.output/server/node_modules/@shikijs/themes/dist/min-dark.mjs +2 -0
  742. package/.output/server/node_modules/@shikijs/themes/dist/min-light.mjs +2 -0
  743. package/.output/server/node_modules/@shikijs/themes/dist/monokai.mjs +2 -0
  744. package/.output/server/node_modules/@shikijs/themes/dist/night-owl-light.mjs +2 -0
  745. package/.output/server/node_modules/@shikijs/themes/dist/night-owl.mjs +2 -0
  746. package/.output/server/node_modules/@shikijs/themes/dist/nord.mjs +2 -0
  747. package/.output/server/node_modules/@shikijs/themes/dist/one-dark-pro.mjs +2 -0
  748. package/.output/server/node_modules/@shikijs/themes/dist/one-light.mjs +2 -0
  749. package/.output/server/node_modules/@shikijs/themes/dist/plastic.mjs +2 -0
  750. package/.output/server/node_modules/@shikijs/themes/dist/poimandres.mjs +2 -0
  751. package/.output/server/node_modules/@shikijs/themes/dist/red.mjs +2 -0
  752. package/.output/server/node_modules/@shikijs/themes/dist/rose-pine-dawn.mjs +2 -0
  753. package/.output/server/node_modules/@shikijs/themes/dist/rose-pine-moon.mjs +2 -0
  754. package/.output/server/node_modules/@shikijs/themes/dist/rose-pine.mjs +2 -0
  755. package/.output/server/node_modules/@shikijs/themes/dist/slack-dark.mjs +2 -0
  756. package/.output/server/node_modules/@shikijs/themes/dist/slack-ochin.mjs +2 -0
  757. package/.output/server/node_modules/@shikijs/themes/dist/snazzy-light.mjs +2 -0
  758. package/.output/server/node_modules/@shikijs/themes/dist/solarized-dark.mjs +2 -0
  759. package/.output/server/node_modules/@shikijs/themes/dist/solarized-light.mjs +2 -0
  760. package/.output/server/node_modules/@shikijs/themes/dist/synthwave-84.mjs +2 -0
  761. package/.output/server/node_modules/@shikijs/themes/dist/tokyo-night.mjs +2 -0
  762. package/.output/server/node_modules/@shikijs/themes/dist/vesper.mjs +2 -0
  763. package/.output/server/node_modules/@shikijs/themes/dist/vitesse-black.mjs +2 -0
  764. package/.output/server/node_modules/@shikijs/themes/dist/vitesse-dark.mjs +2 -0
  765. package/.output/server/node_modules/@shikijs/themes/dist/vitesse-light.mjs +2 -0
  766. package/.output/server/node_modules/@shikijs/themes/package.json +102 -0
  767. package/.output/server/node_modules/@shikijs/types/dist/index.mjs +8 -0
  768. package/.output/server/node_modules/@shikijs/types/package.json +36 -0
  769. package/.output/server/node_modules/@shikijs/vscode-textmate/dist/index.js +3216 -0
  770. package/.output/server/node_modules/@shikijs/vscode-textmate/package.json +46 -0
  771. package/.output/server/node_modules/@swc/helpers/cjs/_check_private_redeclaration.cjs +8 -0
  772. package/.output/server/node_modules/@swc/helpers/cjs/_class_private_field_init.cjs +9 -0
  773. package/.output/server/node_modules/@swc/helpers/esm/_check_private_redeclaration.js +6 -0
  774. package/.output/server/node_modules/@swc/helpers/esm/_class_private_field_init.js +7 -0
  775. package/.output/server/node_modules/@swc/helpers/package.json +694 -0
  776. package/.output/server/node_modules/@tanstack/virtual-core/dist/esm/index.js +887 -0
  777. package/.output/server/node_modules/@tanstack/virtual-core/dist/esm/utils.js +73 -0
  778. package/.output/server/node_modules/@tanstack/virtual-core/package.json +56 -0
  779. package/.output/server/node_modules/@tanstack/vue-virtual/dist/esm/index.js +66 -0
  780. package/.output/server/node_modules/@tanstack/vue-virtual/package.json +68 -0
  781. package/.output/server/node_modules/@vue/compiler-core/dist/compiler-core.cjs.prod.js +6763 -0
  782. package/.output/server/node_modules/@vue/compiler-core/package.json +58 -0
  783. package/.output/server/node_modules/@vue/compiler-dom/dist/compiler-dom.cjs.prod.js +689 -0
  784. package/.output/server/node_modules/@vue/compiler-dom/package.json +57 -0
  785. package/.output/server/node_modules/@vue/compiler-ssr/dist/compiler-ssr.cjs.js +1413 -0
  786. package/.output/server/node_modules/@vue/compiler-ssr/package.json +34 -0
  787. package/.output/server/node_modules/@vue/devtools-api/lib/cjs/api/api.js +2 -0
  788. package/.output/server/node_modules/@vue/devtools-api/lib/cjs/api/app.js +2 -0
  789. package/.output/server/node_modules/@vue/devtools-api/lib/cjs/api/component.js +2 -0
  790. package/.output/server/node_modules/@vue/devtools-api/lib/cjs/api/context.js +2 -0
  791. package/.output/server/node_modules/@vue/devtools-api/lib/cjs/api/hooks.js +2 -0
  792. package/.output/server/node_modules/@vue/devtools-api/lib/cjs/api/index.js +22 -0
  793. package/.output/server/node_modules/@vue/devtools-api/lib/cjs/api/util.js +2 -0
  794. package/.output/server/node_modules/@vue/devtools-api/lib/cjs/const.js +5 -0
  795. package/.output/server/node_modules/@vue/devtools-api/lib/cjs/env.js +17 -0
  796. package/.output/server/node_modules/@vue/devtools-api/lib/cjs/index.js +45 -0
  797. package/.output/server/node_modules/@vue/devtools-api/lib/cjs/plugin.js +2 -0
  798. package/.output/server/node_modules/@vue/devtools-api/lib/cjs/proxy.js +111 -0
  799. package/.output/server/node_modules/@vue/devtools-api/lib/cjs/time.js +28 -0
  800. package/.output/server/node_modules/@vue/devtools-api/package.json +37 -0
  801. package/.output/server/node_modules/@vue/reactivity/dist/reactivity.cjs.prod.js +1870 -0
  802. package/.output/server/node_modules/@vue/reactivity/package.json +55 -0
  803. package/.output/server/node_modules/@vue/runtime-core/dist/runtime-core.cjs.prod.js +6798 -0
  804. package/.output/server/node_modules/@vue/runtime-core/package.json +52 -0
  805. package/.output/server/node_modules/@vue/runtime-dom/dist/runtime-dom.cjs.prod.js +1750 -0
  806. package/.output/server/node_modules/@vue/runtime-dom/package.json +60 -0
  807. package/.output/server/node_modules/@vue/server-renderer/dist/server-renderer.cjs.prod.js +879 -0
  808. package/.output/server/node_modules/@vue/server-renderer/package.json +55 -0
  809. package/.output/server/node_modules/@vue/shared/dist/shared.cjs.prod.js +604 -0
  810. package/.output/server/node_modules/@vue/shared/package.json +47 -0
  811. package/.output/server/node_modules/@vueuse/core/dist/index.js +8596 -0
  812. package/.output/server/node_modules/@vueuse/core/package.json +49 -0
  813. package/.output/server/node_modules/@vueuse/shared/dist/index.js +2066 -0
  814. package/.output/server/node_modules/@vueuse/shared/package.json +42 -0
  815. package/.output/server/node_modules/aria-hidden/dist/es5/index.js +174 -0
  816. package/.output/server/node_modules/aria-hidden/package.json +71 -0
  817. package/.output/server/node_modules/ccount/index.js +27 -0
  818. package/.output/server/node_modules/ccount/package.json +71 -0
  819. package/.output/server/node_modules/character-entities-html4/index.js +259 -0
  820. package/.output/server/node_modules/character-entities-html4/package.json +79 -0
  821. package/.output/server/node_modules/character-entities-legacy/index.js +113 -0
  822. package/.output/server/node_modules/character-entities-legacy/package.json +77 -0
  823. package/.output/server/node_modules/chokidar/handler.js +632 -0
  824. package/.output/server/node_modules/chokidar/index.js +822 -0
  825. package/.output/server/node_modules/chokidar/package.json +63 -0
  826. package/.output/server/node_modules/class-variance-authority/dist/index.mjs +56 -0
  827. package/.output/server/node_modules/class-variance-authority/package.json +63 -0
  828. package/.output/server/node_modules/clsx/dist/clsx.mjs +1 -0
  829. package/.output/server/node_modules/clsx/package.json +60 -0
  830. package/.output/server/node_modules/comma-separated-tokens/index.js +74 -0
  831. package/.output/server/node_modules/comma-separated-tokens/package.json +72 -0
  832. package/.output/server/node_modules/defu/dist/defu.mjs +69 -0
  833. package/.output/server/node_modules/defu/package.json +43 -0
  834. package/.output/server/node_modules/devalue/index.js +4 -0
  835. package/.output/server/node_modules/devalue/package.json +37 -0
  836. package/.output/server/node_modules/devalue/src/base64.js +110 -0
  837. package/.output/server/node_modules/devalue/src/constants.js +7 -0
  838. package/.output/server/node_modules/devalue/src/parse.js +246 -0
  839. package/.output/server/node_modules/devalue/src/stringify.js +350 -0
  840. package/.output/server/node_modules/devalue/src/uneval.js +490 -0
  841. package/.output/server/node_modules/devalue/src/utils.js +148 -0
  842. package/.output/server/node_modules/dompurify/dist/purify.es.mjs +1386 -0
  843. package/.output/server/node_modules/dompurify/package.json +171 -0
  844. package/.output/server/node_modules/entities/dist/commonjs/decode-codepoint.js +77 -0
  845. package/.output/server/node_modules/entities/dist/commonjs/decode.js +568 -0
  846. package/.output/server/node_modules/entities/dist/commonjs/generated/decode-data-html.js +7 -0
  847. package/.output/server/node_modules/entities/dist/commonjs/generated/decode-data-xml.js +7 -0
  848. package/.output/server/node_modules/entities/dist/commonjs/internal/bin-trie-flags.js +21 -0
  849. package/.output/server/node_modules/entities/dist/commonjs/internal/decode-shared.js +31 -0
  850. package/.output/server/node_modules/entities/dist/commonjs/package.json +3 -0
  851. package/.output/server/node_modules/entities/package.json +120 -0
  852. package/.output/server/node_modules/estree-walker/dist/umd/estree-walker.js +344 -0
  853. package/.output/server/node_modules/estree-walker/package.json +37 -0
  854. package/.output/server/node_modules/hast-util-to-html/index.js +8 -0
  855. package/.output/server/node_modules/hast-util-to-html/lib/handle/comment.js +52 -0
  856. package/.output/server/node_modules/hast-util-to-html/lib/handle/doctype.js +27 -0
  857. package/.output/server/node_modules/hast-util-to-html/lib/handle/element.js +265 -0
  858. package/.output/server/node_modules/hast-util-to-html/lib/handle/index.js +47 -0
  859. package/.output/server/node_modules/hast-util-to-html/lib/handle/raw.js +27 -0
  860. package/.output/server/node_modules/hast-util-to-html/lib/handle/root.js +22 -0
  861. package/.output/server/node_modules/hast-util-to-html/lib/handle/text.js +38 -0
  862. package/.output/server/node_modules/hast-util-to-html/lib/index.js +257 -0
  863. package/.output/server/node_modules/hast-util-to-html/lib/omission/closing.js +358 -0
  864. package/.output/server/node_modules/hast-util-to-html/lib/omission/omission.js +44 -0
  865. package/.output/server/node_modules/hast-util-to-html/lib/omission/opening.js +148 -0
  866. package/.output/server/node_modules/hast-util-to-html/lib/omission/util/siblings.js +50 -0
  867. package/.output/server/node_modules/hast-util-to-html/package.json +106 -0
  868. package/.output/server/node_modules/hast-util-whitespace/index.js +1 -0
  869. package/.output/server/node_modules/hast-util-whitespace/lib/index.js +34 -0
  870. package/.output/server/node_modules/hast-util-whitespace/package.json +83 -0
  871. package/.output/server/node_modules/hookable/dist/index.mjs +266 -0
  872. package/.output/server/node_modules/hookable/package.json +52 -0
  873. package/.output/server/node_modules/html-void-elements/index.js +27 -0
  874. package/.output/server/node_modules/html-void-elements/package.json +79 -0
  875. package/.output/server/node_modules/lucide-vue-next/dist/cjs/lucide-vue-next.js +24066 -0
  876. package/.output/server/node_modules/lucide-vue-next/package.json +64 -0
  877. package/.output/server/node_modules/marked/lib/marked.esm.js +72 -0
  878. package/.output/server/node_modules/marked/package.json +103 -0
  879. package/.output/server/node_modules/ohash/dist/crypto/node/index.mjs +5 -0
  880. package/.output/server/node_modules/ohash/dist/index.mjs +10 -0
  881. package/.output/server/node_modules/ohash/dist/shared/ohash.D__AXeF1.mjs +13 -0
  882. package/.output/server/node_modules/ohash/package.json +57 -0
  883. package/.output/server/node_modules/oniguruma-parser/dist/parser/node-utils.js +2 -0
  884. package/.output/server/node_modules/oniguruma-parser/dist/parser/parse.js +2 -0
  885. package/.output/server/node_modules/oniguruma-parser/dist/tokenizer/tokenize.js +34 -0
  886. package/.output/server/node_modules/oniguruma-parser/dist/traverser/traverse.js +2 -0
  887. package/.output/server/node_modules/oniguruma-parser/dist/utils.js +2 -0
  888. package/.output/server/node_modules/oniguruma-parser/package.json +64 -0
  889. package/.output/server/node_modules/oniguruma-to-es/dist/esm/index.js +1876 -0
  890. package/.output/server/node_modules/oniguruma-to-es/dist/esm/package.json +1 -0
  891. package/.output/server/node_modules/oniguruma-to-es/package.json +61 -0
  892. package/.output/server/node_modules/perfect-debounce/dist/index.mjs +89 -0
  893. package/.output/server/node_modules/perfect-debounce/package.json +41 -0
  894. package/.output/server/node_modules/property-information/index.js +17 -0
  895. package/.output/server/node_modules/property-information/lib/aria.js +61 -0
  896. package/.output/server/node_modules/property-information/lib/find.js +97 -0
  897. package/.output/server/node_modules/property-information/lib/hast-to-react.js +30 -0
  898. package/.output/server/node_modules/property-information/lib/html.js +322 -0
  899. package/.output/server/node_modules/property-information/lib/normalize.js +12 -0
  900. package/.output/server/node_modules/property-information/lib/svg.js +567 -0
  901. package/.output/server/node_modules/property-information/lib/util/case-insensitive-transform.js +13 -0
  902. package/.output/server/node_modules/property-information/lib/util/case-sensitive-transform.js +11 -0
  903. package/.output/server/node_modules/property-information/lib/util/create.js +69 -0
  904. package/.output/server/node_modules/property-information/lib/util/defined-info.js +60 -0
  905. package/.output/server/node_modules/property-information/lib/util/info.js +32 -0
  906. package/.output/server/node_modules/property-information/lib/util/merge.js +27 -0
  907. package/.output/server/node_modules/property-information/lib/util/schema.js +29 -0
  908. package/.output/server/node_modules/property-information/lib/util/types.js +13 -0
  909. package/.output/server/node_modules/property-information/lib/xlink.js +17 -0
  910. package/.output/server/node_modules/property-information/lib/xml.js +9 -0
  911. package/.output/server/node_modules/property-information/lib/xmlns.js +9 -0
  912. package/.output/server/node_modules/property-information/package.json +121 -0
  913. package/.output/server/node_modules/readdirp/index.js +272 -0
  914. package/.output/server/node_modules/readdirp/package.json +66 -0
  915. package/.output/server/node_modules/regex/package.json +60 -0
  916. package/.output/server/node_modules/regex/src/atomic.js +224 -0
  917. package/.output/server/node_modules/regex/src/internals.js +2 -0
  918. package/.output/server/node_modules/regex/src/subclass.js +98 -0
  919. package/.output/server/node_modules/regex/src/utils-internals.js +33 -0
  920. package/.output/server/node_modules/regex-recursion/package.json +47 -0
  921. package/.output/server/node_modules/regex-recursion/src/index.js +365 -0
  922. package/.output/server/node_modules/regex-utilities/package.json +35 -0
  923. package/.output/server/node_modules/regex-utilities/src/index.js +170 -0
  924. package/.output/server/node_modules/reka-ui/dist/Accordion/AccordionContent.js +66 -0
  925. package/.output/server/node_modules/reka-ui/dist/Accordion/AccordionHeader.js +53 -0
  926. package/.output/server/node_modules/reka-ui/dist/Accordion/AccordionItem.js +116 -0
  927. package/.output/server/node_modules/reka-ui/dist/Accordion/AccordionRoot.js +96 -0
  928. package/.output/server/node_modules/reka-ui/dist/Accordion/AccordionTrigger.js +68 -0
  929. package/.output/server/node_modules/reka-ui/dist/AlertDialog/AlertDialogAction.js +37 -0
  930. package/.output/server/node_modules/reka-ui/dist/AlertDialog/AlertDialogCancel.js +42 -0
  931. package/.output/server/node_modules/reka-ui/dist/AlertDialog/AlertDialogContent.js +73 -0
  932. package/.output/server/node_modules/reka-ui/dist/AlertDialog/AlertDialogDescription.js +37 -0
  933. package/.output/server/node_modules/reka-ui/dist/AlertDialog/AlertDialogOverlay.js +40 -0
  934. package/.output/server/node_modules/reka-ui/dist/AlertDialog/AlertDialogPortal.js +42 -0
  935. package/.output/server/node_modules/reka-ui/dist/AlertDialog/AlertDialogRoot.js +40 -0
  936. package/.output/server/node_modules/reka-ui/dist/AlertDialog/AlertDialogTitle.js +37 -0
  937. package/.output/server/node_modules/reka-ui/dist/AlertDialog/AlertDialogTrigger.js +37 -0
  938. package/.output/server/node_modules/reka-ui/dist/AspectRatio/AspectRatio.js +56 -0
  939. package/.output/server/node_modules/reka-ui/dist/Avatar/AvatarFallback.js +59 -0
  940. package/.output/server/node_modules/reka-ui/dist/Avatar/AvatarImage.js +76 -0
  941. package/.output/server/node_modules/reka-ui/dist/Avatar/AvatarRoot.js +42 -0
  942. package/.output/server/node_modules/reka-ui/dist/Avatar/utils.js +49 -0
  943. package/.output/server/node_modules/reka-ui/dist/Calendar/CalendarCell.js +53 -0
  944. package/.output/server/node_modules/reka-ui/dist/Calendar/CalendarCellTrigger.js +176 -0
  945. package/.output/server/node_modules/reka-ui/dist/Calendar/CalendarGrid.js +51 -0
  946. package/.output/server/node_modules/reka-ui/dist/Calendar/CalendarGridBody.js +35 -0
  947. package/.output/server/node_modules/reka-ui/dist/Calendar/CalendarGridHead.js +35 -0
  948. package/.output/server/node_modules/reka-ui/dist/Calendar/CalendarGridRow.js +35 -0
  949. package/.output/server/node_modules/reka-ui/dist/Calendar/CalendarHeadCell.js +35 -0
  950. package/.output/server/node_modules/reka-ui/dist/Calendar/CalendarHeader.js +35 -0
  951. package/.output/server/node_modules/reka-ui/dist/Calendar/CalendarHeading.js +37 -0
  952. package/.output/server/node_modules/reka-ui/dist/Calendar/CalendarNext.js +58 -0
  953. package/.output/server/node_modules/reka-ui/dist/Calendar/CalendarPrev.js +58 -0
  954. package/.output/server/node_modules/reka-ui/dist/Calendar/CalendarRoot.js +317 -0
  955. package/.output/server/node_modules/reka-ui/dist/Calendar/useCalendar.js +267 -0
  956. package/.output/server/node_modules/reka-ui/dist/Checkbox/CheckboxGroupRoot.js +115 -0
  957. package/.output/server/node_modules/reka-ui/dist/Checkbox/CheckboxIndicator.js +59 -0
  958. package/.output/server/node_modules/reka-ui/dist/Checkbox/CheckboxRoot.js +157 -0
  959. package/.output/server/node_modules/reka-ui/dist/Checkbox/utils.js +11 -0
  960. package/.output/server/node_modules/reka-ui/dist/Collapsible/CollapsibleContent.js +113 -0
  961. package/.output/server/node_modules/reka-ui/dist/Collapsible/CollapsibleRoot.js +86 -0
  962. package/.output/server/node_modules/reka-ui/dist/Collapsible/CollapsibleTrigger.js +59 -0
  963. package/.output/server/node_modules/reka-ui/dist/Collection/Collection.js +79 -0
  964. package/.output/server/node_modules/reka-ui/dist/Combobox/ComboboxAnchor.js +50 -0
  965. package/.output/server/node_modules/reka-ui/dist/Combobox/ComboboxArrow.js +55 -0
  966. package/.output/server/node_modules/reka-ui/dist/Combobox/ComboboxCancel.js +50 -0
  967. package/.output/server/node_modules/reka-ui/dist/Combobox/ComboboxContent.js +144 -0
  968. package/.output/server/node_modules/reka-ui/dist/Combobox/ComboboxContentImpl.js +214 -0
  969. package/.output/server/node_modules/reka-ui/dist/Combobox/ComboboxEmpty.js +37 -0
  970. package/.output/server/node_modules/reka-ui/dist/Combobox/ComboboxGroup.js +58 -0
  971. package/.output/server/node_modules/reka-ui/dist/Combobox/ComboboxInput.js +134 -0
  972. package/.output/server/node_modules/reka-ui/dist/Combobox/ComboboxItem.js +88 -0
  973. package/.output/server/node_modules/reka-ui/dist/Combobox/ComboboxItemIndicator.js +35 -0
  974. package/.output/server/node_modules/reka-ui/dist/Combobox/ComboboxLabel.js +48 -0
  975. package/.output/server/node_modules/reka-ui/dist/Combobox/ComboboxPortal.js +42 -0
  976. package/.output/server/node_modules/reka-ui/dist/Combobox/ComboboxRoot.js +259 -0
  977. package/.output/server/node_modules/reka-ui/dist/Combobox/ComboboxSeparator.js +36 -0
  978. package/.output/server/node_modules/reka-ui/dist/Combobox/ComboboxTrigger.js +68 -0
  979. package/.output/server/node_modules/reka-ui/dist/Combobox/ComboboxViewport.js +64 -0
  980. package/.output/server/node_modules/reka-ui/dist/Combobox/ComboboxVirtualizer.js +45 -0
  981. package/.output/server/node_modules/reka-ui/dist/ConfigProvider/ConfigProvider.js +58 -0
  982. package/.output/server/node_modules/reka-ui/dist/ContextMenu/ContextMenuArrow.js +51 -0
  983. package/.output/server/node_modules/reka-ui/dist/ContextMenu/ContextMenuCheckboxItem.js +55 -0
  984. package/.output/server/node_modules/reka-ui/dist/ContextMenu/ContextMenuContent.js +136 -0
  985. package/.output/server/node_modules/reka-ui/dist/ContextMenu/ContextMenuGroup.js +36 -0
  986. package/.output/server/node_modules/reka-ui/dist/ContextMenu/ContextMenuItem.js +51 -0
  987. package/.output/server/node_modules/reka-ui/dist/ContextMenu/ContextMenuItemIndicator.js +40 -0
  988. package/.output/server/node_modules/reka-ui/dist/ContextMenu/ContextMenuLabel.js +36 -0
  989. package/.output/server/node_modules/reka-ui/dist/ContextMenu/ContextMenuPortal.js +42 -0
  990. package/.output/server/node_modules/reka-ui/dist/ContextMenu/ContextMenuRadioGroup.js +47 -0
  991. package/.output/server/node_modules/reka-ui/dist/ContextMenu/ContextMenuRadioItem.js +55 -0
  992. package/.output/server/node_modules/reka-ui/dist/ContextMenu/ContextMenuRoot.js +74 -0
  993. package/.output/server/node_modules/reka-ui/dist/ContextMenu/ContextMenuSeparator.js +36 -0
  994. package/.output/server/node_modules/reka-ui/dist/ContextMenu/ContextMenuSub.js +47 -0
  995. package/.output/server/node_modules/reka-ui/dist/ContextMenu/ContextMenuSubContent.js +126 -0
  996. package/.output/server/node_modules/reka-ui/dist/ContextMenu/ContextMenuSubTrigger.js +44 -0
  997. package/.output/server/node_modules/reka-ui/dist/ContextMenu/ContextMenuTrigger.js +124 -0
  998. package/.output/server/node_modules/reka-ui/dist/ContextMenu/utils.js +8 -0
  999. package/.output/server/node_modules/reka-ui/dist/DateField/DateFieldInput.js +90 -0
  1000. package/.output/server/node_modules/reka-ui/dist/DateField/DateFieldRoot.js +284 -0
  1001. package/.output/server/node_modules/reka-ui/dist/DatePicker/DatePickerAnchor.js +38 -0
  1002. package/.output/server/node_modules/reka-ui/dist/DatePicker/DatePickerArrow.js +46 -0
  1003. package/.output/server/node_modules/reka-ui/dist/DatePicker/DatePickerCalendar.js +60 -0
  1004. package/.output/server/node_modules/reka-ui/dist/DatePicker/DatePickerCell.js +38 -0
  1005. package/.output/server/node_modules/reka-ui/dist/DatePicker/DatePickerCellTrigger.js +42 -0
  1006. package/.output/server/node_modules/reka-ui/dist/DatePicker/DatePickerClose.js +34 -0
  1007. package/.output/server/node_modules/reka-ui/dist/DatePicker/DatePickerContent.js +147 -0
  1008. package/.output/server/node_modules/reka-ui/dist/DatePicker/DatePickerField.js +56 -0
  1009. package/.output/server/node_modules/reka-ui/dist/DatePicker/DatePickerGrid.js +34 -0
  1010. package/.output/server/node_modules/reka-ui/dist/DatePicker/DatePickerGridBody.js +34 -0
  1011. package/.output/server/node_modules/reka-ui/dist/DatePicker/DatePickerGridHead.js +34 -0
  1012. package/.output/server/node_modules/reka-ui/dist/DatePicker/DatePickerGridRow.js +34 -0
  1013. package/.output/server/node_modules/reka-ui/dist/DatePicker/DatePickerHeadCell.js +34 -0
  1014. package/.output/server/node_modules/reka-ui/dist/DatePicker/DatePickerHeader.js +34 -0
  1015. package/.output/server/node_modules/reka-ui/dist/DatePicker/DatePickerHeading.js +34 -0
  1016. package/.output/server/node_modules/reka-ui/dist/DatePicker/DatePickerInput.js +38 -0
  1017. package/.output/server/node_modules/reka-ui/dist/DatePicker/DatePickerNext.js +38 -0
  1018. package/.output/server/node_modules/reka-ui/dist/DatePicker/DatePickerPrev.js +38 -0
  1019. package/.output/server/node_modules/reka-ui/dist/DatePicker/DatePickerRoot.js +245 -0
  1020. package/.output/server/node_modules/reka-ui/dist/DatePicker/DatePickerTrigger.js +41 -0
  1021. package/.output/server/node_modules/reka-ui/dist/DateRangeField/DateRangeFieldInput.js +96 -0
  1022. package/.output/server/node_modules/reka-ui/dist/DateRangeField/DateRangeFieldRoot.js +342 -0
  1023. package/.output/server/node_modules/reka-ui/dist/DateRangePicker/DateRangePickerAnchor.js +38 -0
  1024. package/.output/server/node_modules/reka-ui/dist/DateRangePicker/DateRangePickerArrow.js +46 -0
  1025. package/.output/server/node_modules/reka-ui/dist/DateRangePicker/DateRangePickerCalendar.js +66 -0
  1026. package/.output/server/node_modules/reka-ui/dist/DateRangePicker/DateRangePickerCell.js +38 -0
  1027. package/.output/server/node_modules/reka-ui/dist/DateRangePicker/DateRangePickerCellTrigger.js +42 -0
  1028. package/.output/server/node_modules/reka-ui/dist/DateRangePicker/DateRangePickerClose.js +34 -0
  1029. package/.output/server/node_modules/reka-ui/dist/DateRangePicker/DateRangePickerContent.js +147 -0
  1030. package/.output/server/node_modules/reka-ui/dist/DateRangePicker/DateRangePickerField.js +57 -0
  1031. package/.output/server/node_modules/reka-ui/dist/DateRangePicker/DateRangePickerGrid.js +34 -0
  1032. package/.output/server/node_modules/reka-ui/dist/DateRangePicker/DateRangePickerGridBody.js +34 -0
  1033. package/.output/server/node_modules/reka-ui/dist/DateRangePicker/DateRangePickerGridHead.js +34 -0
  1034. package/.output/server/node_modules/reka-ui/dist/DateRangePicker/DateRangePickerGridRow.js +34 -0
  1035. package/.output/server/node_modules/reka-ui/dist/DateRangePicker/DateRangePickerHeadCell.js +34 -0
  1036. package/.output/server/node_modules/reka-ui/dist/DateRangePicker/DateRangePickerHeader.js +34 -0
  1037. package/.output/server/node_modules/reka-ui/dist/DateRangePicker/DateRangePickerHeading.js +34 -0
  1038. package/.output/server/node_modules/reka-ui/dist/DateRangePicker/DateRangePickerInput.js +42 -0
  1039. package/.output/server/node_modules/reka-ui/dist/DateRangePicker/DateRangePickerNext.js +38 -0
  1040. package/.output/server/node_modules/reka-ui/dist/DateRangePicker/DateRangePickerPrev.js +38 -0
  1041. package/.output/server/node_modules/reka-ui/dist/DateRangePicker/DateRangePickerRoot.js +284 -0
  1042. package/.output/server/node_modules/reka-ui/dist/DateRangePicker/DateRangePickerTrigger.js +41 -0
  1043. package/.output/server/node_modules/reka-ui/dist/Dialog/DialogClose.js +42 -0
  1044. package/.output/server/node_modules/reka-ui/dist/Dialog/DialogContent.js +79 -0
  1045. package/.output/server/node_modules/reka-ui/dist/Dialog/DialogContentImpl.js +111 -0
  1046. package/.output/server/node_modules/reka-ui/dist/Dialog/DialogContentModal.js +85 -0
  1047. package/.output/server/node_modules/reka-ui/dist/Dialog/DialogContentNonModal.js +87 -0
  1048. package/.output/server/node_modules/reka-ui/dist/Dialog/DialogDescription.js +39 -0
  1049. package/.output/server/node_modules/reka-ui/dist/Dialog/DialogOverlay.js +52 -0
  1050. package/.output/server/node_modules/reka-ui/dist/Dialog/DialogOverlayImpl.js +48 -0
  1051. package/.output/server/node_modules/reka-ui/dist/Dialog/DialogPortal.js +42 -0
  1052. package/.output/server/node_modules/reka-ui/dist/Dialog/DialogRoot.js +71 -0
  1053. package/.output/server/node_modules/reka-ui/dist/Dialog/DialogTitle.js +39 -0
  1054. package/.output/server/node_modules/reka-ui/dist/Dialog/DialogTrigger.js +58 -0
  1055. package/.output/server/node_modules/reka-ui/dist/Dialog/utils.js +26 -0
  1056. package/.output/server/node_modules/reka-ui/dist/DismissableLayer/DismissableLayer.js +130 -0
  1057. package/.output/server/node_modules/reka-ui/dist/DismissableLayer/DismissableLayerBranch.js +43 -0
  1058. package/.output/server/node_modules/reka-ui/dist/DismissableLayer/utils.js +122 -0
  1059. package/.output/server/node_modules/reka-ui/dist/DropdownMenu/DropdownMenuArrow.js +51 -0
  1060. package/.output/server/node_modules/reka-ui/dist/DropdownMenu/DropdownMenuCheckboxItem.js +55 -0
  1061. package/.output/server/node_modules/reka-ui/dist/DropdownMenu/DropdownMenuContent.js +158 -0
  1062. package/.output/server/node_modules/reka-ui/dist/DropdownMenu/DropdownMenuGroup.js +36 -0
  1063. package/.output/server/node_modules/reka-ui/dist/DropdownMenu/DropdownMenuItem.js +51 -0
  1064. package/.output/server/node_modules/reka-ui/dist/DropdownMenu/DropdownMenuItemIndicator.js +40 -0
  1065. package/.output/server/node_modules/reka-ui/dist/DropdownMenu/DropdownMenuLabel.js +36 -0
  1066. package/.output/server/node_modules/reka-ui/dist/DropdownMenu/DropdownMenuPortal.js +42 -0
  1067. package/.output/server/node_modules/reka-ui/dist/DropdownMenu/DropdownMenuRadioGroup.js +47 -0
  1068. package/.output/server/node_modules/reka-ui/dist/DropdownMenu/DropdownMenuRadioItem.js +52 -0
  1069. package/.output/server/node_modules/reka-ui/dist/DropdownMenu/DropdownMenuRoot.js +82 -0
  1070. package/.output/server/node_modules/reka-ui/dist/DropdownMenu/DropdownMenuSeparator.js +36 -0
  1071. package/.output/server/node_modules/reka-ui/dist/DropdownMenu/DropdownMenuSub.js +47 -0
  1072. package/.output/server/node_modules/reka-ui/dist/DropdownMenu/DropdownMenuSubContent.js +126 -0
  1073. package/.output/server/node_modules/reka-ui/dist/DropdownMenu/DropdownMenuSubTrigger.js +44 -0
  1074. package/.output/server/node_modules/reka-ui/dist/DropdownMenu/DropdownMenuTrigger.js +95 -0
  1075. package/.output/server/node_modules/reka-ui/dist/Editable/EditableArea.js +53 -0
  1076. package/.output/server/node_modules/reka-ui/dist/Editable/EditableCancelTrigger.js +52 -0
  1077. package/.output/server/node_modules/reka-ui/dist/Editable/EditableEditTrigger.js +52 -0
  1078. package/.output/server/node_modules/reka-ui/dist/Editable/EditableInput.js +90 -0
  1079. package/.output/server/node_modules/reka-ui/dist/Editable/EditablePreview.js +62 -0
  1080. package/.output/server/node_modules/reka-ui/dist/Editable/EditableRoot.js +224 -0
  1081. package/.output/server/node_modules/reka-ui/dist/Editable/EditableSubmitTrigger.js +52 -0
  1082. package/.output/server/node_modules/reka-ui/dist/FocusScope/FocusScope.js +154 -0
  1083. package/.output/server/node_modules/reka-ui/dist/FocusScope/stack.js +34 -0
  1084. package/.output/server/node_modules/reka-ui/dist/FocusScope/utils.js +79 -0
  1085. package/.output/server/node_modules/reka-ui/dist/HoverCard/HoverCardArrow.js +51 -0
  1086. package/.output/server/node_modules/reka-ui/dist/HoverCard/HoverCardContent.js +131 -0
  1087. package/.output/server/node_modules/reka-ui/dist/HoverCard/HoverCardContentImpl.js +192 -0
  1088. package/.output/server/node_modules/reka-ui/dist/HoverCard/HoverCardPortal.js +42 -0
  1089. package/.output/server/node_modules/reka-ui/dist/HoverCard/HoverCardRoot.js +88 -0
  1090. package/.output/server/node_modules/reka-ui/dist/HoverCard/HoverCardTrigger.js +70 -0
  1091. package/.output/server/node_modules/reka-ui/dist/HoverCard/utils.js +20 -0
  1092. package/.output/server/node_modules/reka-ui/dist/Label/Label.js +43 -0
  1093. package/.output/server/node_modules/reka-ui/dist/Listbox/ListboxContent.js +79 -0
  1094. package/.output/server/node_modules/reka-ui/dist/Listbox/ListboxFilter.js +104 -0
  1095. package/.output/server/node_modules/reka-ui/dist/Listbox/ListboxGroup.js +39 -0
  1096. package/.output/server/node_modules/reka-ui/dist/Listbox/ListboxGroupLabel.js +41 -0
  1097. package/.output/server/node_modules/reka-ui/dist/Listbox/ListboxItem.js +108 -0
  1098. package/.output/server/node_modules/reka-ui/dist/Listbox/ListboxItemIndicator.js +42 -0
  1099. package/.output/server/node_modules/reka-ui/dist/Listbox/ListboxRoot.js +338 -0
  1100. package/.output/server/node_modules/reka-ui/dist/Listbox/ListboxVirtualizer.js +218 -0
  1101. package/.output/server/node_modules/reka-ui/dist/Listbox/utils.js +22 -0
  1102. package/.output/server/node_modules/reka-ui/dist/Menu/MenuAnchor.js +38 -0
  1103. package/.output/server/node_modules/reka-ui/dist/Menu/MenuArrow.js +46 -0
  1104. package/.output/server/node_modules/reka-ui/dist/Menu/MenuCheckboxItem.js +65 -0
  1105. package/.output/server/node_modules/reka-ui/dist/Menu/MenuContent.js +143 -0
  1106. package/.output/server/node_modules/reka-ui/dist/Menu/MenuContentImpl.js +324 -0
  1107. package/.output/server/node_modules/reka-ui/dist/Menu/MenuGroup.js +34 -0
  1108. package/.output/server/node_modules/reka-ui/dist/Menu/MenuItem.js +90 -0
  1109. package/.output/server/node_modules/reka-ui/dist/Menu/MenuItemImpl.js +100 -0
  1110. package/.output/server/node_modules/reka-ui/dist/Menu/MenuItemIndicator.js +54 -0
  1111. package/.output/server/node_modules/reka-ui/dist/Menu/MenuLabel.js +35 -0
  1112. package/.output/server/node_modules/reka-ui/dist/Menu/MenuPortal.js +42 -0
  1113. package/.output/server/node_modules/reka-ui/dist/Menu/MenuRadioGroup.js +54 -0
  1114. package/.output/server/node_modules/reka-ui/dist/Menu/MenuRadioItem.js +66 -0
  1115. package/.output/server/node_modules/reka-ui/dist/Menu/MenuRoot.js +71 -0
  1116. package/.output/server/node_modules/reka-ui/dist/Menu/MenuRootContentModal.js +135 -0
  1117. package/.output/server/node_modules/reka-ui/dist/Menu/MenuRootContentNonModal.js +129 -0
  1118. package/.output/server/node_modules/reka-ui/dist/Menu/MenuSeparator.js +37 -0
  1119. package/.output/server/node_modules/reka-ui/dist/Menu/MenuSub.js +64 -0
  1120. package/.output/server/node_modules/reka-ui/dist/Menu/MenuSubContent.js +167 -0
  1121. package/.output/server/node_modules/reka-ui/dist/Menu/MenuSubTrigger.js +157 -0
  1122. package/.output/server/node_modules/reka-ui/dist/Menu/utils.js +69 -0
  1123. package/.output/server/node_modules/reka-ui/dist/Menubar/MenubarArrow.js +51 -0
  1124. package/.output/server/node_modules/reka-ui/dist/Menubar/MenubarCheckboxItem.js +55 -0
  1125. package/.output/server/node_modules/reka-ui/dist/Menubar/MenubarContent.js +180 -0
  1126. package/.output/server/node_modules/reka-ui/dist/Menubar/MenubarGroup.js +36 -0
  1127. package/.output/server/node_modules/reka-ui/dist/Menubar/MenubarItem.js +51 -0
  1128. package/.output/server/node_modules/reka-ui/dist/Menubar/MenubarItemIndicator.js +40 -0
  1129. package/.output/server/node_modules/reka-ui/dist/Menubar/MenubarLabel.js +36 -0
  1130. package/.output/server/node_modules/reka-ui/dist/Menubar/MenubarMenu.js +56 -0
  1131. package/.output/server/node_modules/reka-ui/dist/Menubar/MenubarPortal.js +42 -0
  1132. package/.output/server/node_modules/reka-ui/dist/Menubar/MenubarRadioGroup.js +47 -0
  1133. package/.output/server/node_modules/reka-ui/dist/Menubar/MenubarRadioItem.js +52 -0
  1134. package/.output/server/node_modules/reka-ui/dist/Menubar/MenubarRoot.js +100 -0
  1135. package/.output/server/node_modules/reka-ui/dist/Menubar/MenubarSeparator.js +36 -0
  1136. package/.output/server/node_modules/reka-ui/dist/Menubar/MenubarSub.js +47 -0
  1137. package/.output/server/node_modules/reka-ui/dist/Menubar/MenubarSubContent.js +147 -0
  1138. package/.output/server/node_modules/reka-ui/dist/Menubar/MenubarSubTrigger.js +44 -0
  1139. package/.output/server/node_modules/reka-ui/dist/Menubar/MenubarTrigger.js +125 -0
  1140. package/.output/server/node_modules/reka-ui/dist/NavigationMenu/NavigationMenuContent.js +95 -0
  1141. package/.output/server/node_modules/reka-ui/dist/NavigationMenu/NavigationMenuContentImpl.js +166 -0
  1142. package/.output/server/node_modules/reka-ui/dist/NavigationMenu/NavigationMenuIndicator.js +85 -0
  1143. package/.output/server/node_modules/reka-ui/dist/NavigationMenu/NavigationMenuItem.js +121 -0
  1144. package/.output/server/node_modules/reka-ui/dist/NavigationMenu/NavigationMenuLink.js +75 -0
  1145. package/.output/server/node_modules/reka-ui/dist/NavigationMenu/NavigationMenuList.js +57 -0
  1146. package/.output/server/node_modules/reka-ui/dist/NavigationMenu/NavigationMenuRoot.js +183 -0
  1147. package/.output/server/node_modules/reka-ui/dist/NavigationMenu/NavigationMenuSub.js +114 -0
  1148. package/.output/server/node_modules/reka-ui/dist/NavigationMenu/NavigationMenuTrigger.js +150 -0
  1149. package/.output/server/node_modules/reka-ui/dist/NavigationMenu/NavigationMenuViewport.js +158 -0
  1150. package/.output/server/node_modules/reka-ui/dist/NavigationMenu/utils.js +61 -0
  1151. package/.output/server/node_modules/reka-ui/dist/NumberField/NumberFieldDecrement.js +69 -0
  1152. package/.output/server/node_modules/reka-ui/dist/NumberField/NumberFieldIncrement.js +69 -0
  1153. package/.output/server/node_modules/reka-ui/dist/NumberField/NumberFieldInput.js +115 -0
  1154. package/.output/server/node_modules/reka-ui/dist/NumberField/NumberFieldRoot.js +224 -0
  1155. package/.output/server/node_modules/reka-ui/dist/NumberField/utils.js +72 -0
  1156. package/.output/server/node_modules/reka-ui/dist/Pagination/PaginationEllipsis.js +36 -0
  1157. package/.output/server/node_modules/reka-ui/dist/Pagination/PaginationFirst.js +45 -0
  1158. package/.output/server/node_modules/reka-ui/dist/Pagination/PaginationLast.js +45 -0
  1159. package/.output/server/node_modules/reka-ui/dist/Pagination/PaginationList.js +42 -0
  1160. package/.output/server/node_modules/reka-ui/dist/Pagination/PaginationListItem.js +59 -0
  1161. package/.output/server/node_modules/reka-ui/dist/Pagination/PaginationNext.js +45 -0
  1162. package/.output/server/node_modules/reka-ui/dist/Pagination/PaginationPrev.js +45 -0
  1163. package/.output/server/node_modules/reka-ui/dist/Pagination/PaginationRoot.js +96 -0
  1164. package/.output/server/node_modules/reka-ui/dist/Pagination/utils.js +74 -0
  1165. package/.output/server/node_modules/reka-ui/dist/PinInput/PinInputInput.js +210 -0
  1166. package/.output/server/node_modules/reka-ui/dist/PinInput/PinInputRoot.js +149 -0
  1167. package/.output/server/node_modules/reka-ui/dist/Popover/PopoverAnchor.js +48 -0
  1168. package/.output/server/node_modules/reka-ui/dist/Popover/PopoverArrow.js +51 -0
  1169. package/.output/server/node_modules/reka-ui/dist/Popover/PopoverClose.js +48 -0
  1170. package/.output/server/node_modules/reka-ui/dist/Popover/PopoverContent.js +139 -0
  1171. package/.output/server/node_modules/reka-ui/dist/Popover/PopoverContentImpl.js +171 -0
  1172. package/.output/server/node_modules/reka-ui/dist/Popover/PopoverContentModal.js +146 -0
  1173. package/.output/server/node_modules/reka-ui/dist/Popover/PopoverContentNonModal.js +148 -0
  1174. package/.output/server/node_modules/reka-ui/dist/Popover/PopoverPortal.js +42 -0
  1175. package/.output/server/node_modules/reka-ui/dist/Popover/PopoverRoot.js +70 -0
  1176. package/.output/server/node_modules/reka-ui/dist/Popover/PopoverTrigger.js +68 -0
  1177. package/.output/server/node_modules/reka-ui/dist/Popper/PopperAnchor.js +49 -0
  1178. package/.output/server/node_modules/reka-ui/dist/Popper/PopperArrow.js +96 -0
  1179. package/.output/server/node_modules/reka-ui/dist/Popper/PopperContent.js +273 -0
  1180. package/.output/server/node_modules/reka-ui/dist/Popper/PopperRoot.js +27 -0
  1181. package/.output/server/node_modules/reka-ui/dist/Popper/utils.js +52 -0
  1182. package/.output/server/node_modules/reka-ui/dist/Presence/Presence.js +50 -0
  1183. package/.output/server/node_modules/reka-ui/dist/Presence/usePresence.js +122 -0
  1184. package/.output/server/node_modules/reka-ui/dist/Primitive/Primitive.js +33 -0
  1185. package/.output/server/node_modules/reka-ui/dist/Primitive/Slot.js +30 -0
  1186. package/.output/server/node_modules/reka-ui/dist/Primitive/usePrimitiveElement.js +16 -0
  1187. package/.output/server/node_modules/reka-ui/dist/Progress/ProgressIndicator.js +46 -0
  1188. package/.output/server/node_modules/reka-ui/dist/Progress/ProgressRoot.js +124 -0
  1189. package/.output/server/node_modules/reka-ui/dist/RadioGroup/Radio.js +126 -0
  1190. package/.output/server/node_modules/reka-ui/dist/RadioGroup/RadioGroupIndicator.js +57 -0
  1191. package/.output/server/node_modules/reka-ui/dist/RadioGroup/RadioGroupItem.js +132 -0
  1192. package/.output/server/node_modules/reka-ui/dist/RadioGroup/RadioGroupRoot.js +138 -0
  1193. package/.output/server/node_modules/reka-ui/dist/RadioGroup/utils.js +15 -0
  1194. package/.output/server/node_modules/reka-ui/dist/RangeCalendar/RangeCalendarCell.js +53 -0
  1195. package/.output/server/node_modules/reka-ui/dist/RangeCalendar/RangeCalendarCellTrigger.js +237 -0
  1196. package/.output/server/node_modules/reka-ui/dist/RangeCalendar/RangeCalendarGrid.js +52 -0
  1197. package/.output/server/node_modules/reka-ui/dist/RangeCalendar/RangeCalendarGridBody.js +35 -0
  1198. package/.output/server/node_modules/reka-ui/dist/RangeCalendar/RangeCalendarGridHead.js +35 -0
  1199. package/.output/server/node_modules/reka-ui/dist/RangeCalendar/RangeCalendarGridRow.js +35 -0
  1200. package/.output/server/node_modules/reka-ui/dist/RangeCalendar/RangeCalendarHeadCell.js +35 -0
  1201. package/.output/server/node_modules/reka-ui/dist/RangeCalendar/RangeCalendarHeader.js +35 -0
  1202. package/.output/server/node_modules/reka-ui/dist/RangeCalendar/RangeCalendarHeading.js +37 -0
  1203. package/.output/server/node_modules/reka-ui/dist/RangeCalendar/RangeCalendarNext.js +58 -0
  1204. package/.output/server/node_modules/reka-ui/dist/RangeCalendar/RangeCalendarPrev.js +58 -0
  1205. package/.output/server/node_modules/reka-ui/dist/RangeCalendar/RangeCalendarRoot.js +392 -0
  1206. package/.output/server/node_modules/reka-ui/dist/RangeCalendar/useRangeCalendar.js +145 -0
  1207. package/.output/server/node_modules/reka-ui/dist/RovingFocus/RovingFocusGroup.js +145 -0
  1208. package/.output/server/node_modules/reka-ui/dist/RovingFocus/RovingFocusItem.js +110 -0
  1209. package/.output/server/node_modules/reka-ui/dist/RovingFocus/utils.js +47 -0
  1210. package/.output/server/node_modules/reka-ui/dist/ScrollArea/ScrollAreaCorner.js +40 -0
  1211. package/.output/server/node_modules/reka-ui/dist/ScrollArea/ScrollAreaCornerImpl.js +53 -0
  1212. package/.output/server/node_modules/reka-ui/dist/ScrollArea/ScrollAreaRoot.js +128 -0
  1213. package/.output/server/node_modules/reka-ui/dist/ScrollArea/ScrollAreaScrollbar.js +99 -0
  1214. package/.output/server/node_modules/reka-ui/dist/ScrollArea/ScrollAreaScrollbarAuto.js +52 -0
  1215. package/.output/server/node_modules/reka-ui/dist/ScrollArea/ScrollAreaScrollbarGlimpse.js +126 -0
  1216. package/.output/server/node_modules/reka-ui/dist/ScrollArea/ScrollAreaScrollbarHover.js +65 -0
  1217. package/.output/server/node_modules/reka-ui/dist/ScrollArea/ScrollAreaScrollbarImpl.js +123 -0
  1218. package/.output/server/node_modules/reka-ui/dist/ScrollArea/ScrollAreaScrollbarScroll.js +88 -0
  1219. package/.output/server/node_modules/reka-ui/dist/ScrollArea/ScrollAreaScrollbarVisible.js +107 -0
  1220. package/.output/server/node_modules/reka-ui/dist/ScrollArea/ScrollAreaScrollbarX.js +45 -0
  1221. package/.output/server/node_modules/reka-ui/dist/ScrollArea/ScrollAreaScrollbarY.js +46 -0
  1222. package/.output/server/node_modules/reka-ui/dist/ScrollArea/ScrollAreaThumb.js +98 -0
  1223. package/.output/server/node_modules/reka-ui/dist/ScrollArea/ScrollAreaViewport.js +76 -0
  1224. package/.output/server/node_modules/reka-ui/dist/ScrollArea/utils.js +72 -0
  1225. package/.output/server/node_modules/reka-ui/dist/Select/BubbleSelect.js +95 -0
  1226. package/.output/server/node_modules/reka-ui/dist/Select/SelectArrow.js +51 -0
  1227. package/.output/server/node_modules/reka-ui/dist/Select/SelectContent.js +160 -0
  1228. package/.output/server/node_modules/reka-ui/dist/Select/SelectContentImpl.js +311 -0
  1229. package/.output/server/node_modules/reka-ui/dist/Select/SelectGroup.js +39 -0
  1230. package/.output/server/node_modules/reka-ui/dist/Select/SelectIcon.js +38 -0
  1231. package/.output/server/node_modules/reka-ui/dist/Select/SelectItem.js +153 -0
  1232. package/.output/server/node_modules/reka-ui/dist/Select/SelectItemAlignedPosition.js +162 -0
  1233. package/.output/server/node_modules/reka-ui/dist/Select/SelectItemIndicator.js +40 -0
  1234. package/.output/server/node_modules/reka-ui/dist/Select/SelectItemText.js +66 -0
  1235. package/.output/server/node_modules/reka-ui/dist/Select/SelectLabel.js +41 -0
  1236. package/.output/server/node_modules/reka-ui/dist/Select/SelectPopperPosition.js +118 -0
  1237. package/.output/server/node_modules/reka-ui/dist/Select/SelectPortal.js +42 -0
  1238. package/.output/server/node_modules/reka-ui/dist/Select/SelectProvider.js +29 -0
  1239. package/.output/server/node_modules/reka-ui/dist/Select/SelectRoot.js +185 -0
  1240. package/.output/server/node_modules/reka-ui/dist/Select/SelectScrollButtonImpl.js +62 -0
  1241. package/.output/server/node_modules/reka-ui/dist/Select/SelectScrollDownButton.js +62 -0
  1242. package/.output/server/node_modules/reka-ui/dist/Select/SelectScrollUpButton.js +61 -0
  1243. package/.output/server/node_modules/reka-ui/dist/Select/SelectSeparator.js +34 -0
  1244. package/.output/server/node_modules/reka-ui/dist/Select/SelectTrigger.js +132 -0
  1245. package/.output/server/node_modules/reka-ui/dist/Select/SelectValue.js +72 -0
  1246. package/.output/server/node_modules/reka-ui/dist/Select/SelectViewport.js +97 -0
  1247. package/.output/server/node_modules/reka-ui/dist/Select/utils.js +30 -0
  1248. package/.output/server/node_modules/reka-ui/dist/Separator/Separator.js +43 -0
  1249. package/.output/server/node_modules/reka-ui/dist/Slider/SliderHorizontal.js +106 -0
  1250. package/.output/server/node_modules/reka-ui/dist/Slider/SliderImpl.js +78 -0
  1251. package/.output/server/node_modules/reka-ui/dist/Slider/SliderRange.js +58 -0
  1252. package/.output/server/node_modules/reka-ui/dist/Slider/SliderRoot.js +217 -0
  1253. package/.output/server/node_modules/reka-ui/dist/Slider/SliderThumb.js +40 -0
  1254. package/.output/server/node_modules/reka-ui/dist/Slider/SliderThumbImpl.js +103 -0
  1255. package/.output/server/node_modules/reka-ui/dist/Slider/SliderTrack.js +48 -0
  1256. package/.output/server/node_modules/reka-ui/dist/Slider/SliderVertical.js +101 -0
  1257. package/.output/server/node_modules/reka-ui/dist/Slider/utils.js +129 -0
  1258. package/.output/server/node_modules/reka-ui/dist/Splitter/SplitterGroup.js +409 -0
  1259. package/.output/server/node_modules/reka-ui/dist/Splitter/SplitterPanel.js +151 -0
  1260. package/.output/server/node_modules/reka-ui/dist/Splitter/SplitterResizeHandle.js +154 -0
  1261. package/.output/server/node_modules/reka-ui/dist/Stepper/StepperDescription.js +39 -0
  1262. package/.output/server/node_modules/reka-ui/dist/Stepper/StepperIndicator.js +38 -0
  1263. package/.output/server/node_modules/reka-ui/dist/Stepper/StepperItem.js +94 -0
  1264. package/.output/server/node_modules/reka-ui/dist/Stepper/StepperRoot.js +172 -0
  1265. package/.output/server/node_modules/reka-ui/dist/Stepper/StepperSeparator.js +52 -0
  1266. package/.output/server/node_modules/reka-ui/dist/Stepper/StepperTitle.js +39 -0
  1267. package/.output/server/node_modules/reka-ui/dist/Stepper/StepperTrigger.js +115 -0
  1268. package/.output/server/node_modules/reka-ui/dist/Switch/SwitchRoot.js +133 -0
  1269. package/.output/server/node_modules/reka-ui/dist/Switch/SwitchThumb.js +48 -0
  1270. package/.output/server/node_modules/reka-ui/dist/Tabs/TabsContent.js +88 -0
  1271. package/.output/server/node_modules/reka-ui/dist/Tabs/TabsIndicator.js +70 -0
  1272. package/.output/server/node_modules/reka-ui/dist/Tabs/TabsList.js +68 -0
  1273. package/.output/server/node_modules/reka-ui/dist/Tabs/TabsRoot.js +109 -0
  1274. package/.output/server/node_modules/reka-ui/dist/Tabs/TabsTrigger.js +93 -0
  1275. package/.output/server/node_modules/reka-ui/dist/Tabs/utils.js +11 -0
  1276. package/.output/server/node_modules/reka-ui/dist/TagsInput/TagsInputClear.js +47 -0
  1277. package/.output/server/node_modules/reka-ui/dist/TagsInput/TagsInputInput.js +151 -0
  1278. package/.output/server/node_modules/reka-ui/dist/TagsInput/TagsInputItem.js +78 -0
  1279. package/.output/server/node_modules/reka-ui/dist/TagsInput/TagsInputItemDelete.js +61 -0
  1280. package/.output/server/node_modules/reka-ui/dist/TagsInput/TagsInputItemText.js +41 -0
  1281. package/.output/server/node_modules/reka-ui/dist/TagsInput/TagsInputRoot.js +256 -0
  1282. package/.output/server/node_modules/reka-ui/dist/Teleport/Teleport.js +49 -0
  1283. package/.output/server/node_modules/reka-ui/dist/TimeField/TimeFieldInput.js +92 -0
  1284. package/.output/server/node_modules/reka-ui/dist/TimeField/TimeFieldRoot.js +320 -0
  1285. package/.output/server/node_modules/reka-ui/dist/Toast/FocusProxy.js +36 -0
  1286. package/.output/server/node_modules/reka-ui/dist/Toast/ToastAction.js +53 -0
  1287. package/.output/server/node_modules/reka-ui/dist/Toast/ToastAnnounce.js +32 -0
  1288. package/.output/server/node_modules/reka-ui/dist/Toast/ToastAnnounceExclude.js +46 -0
  1289. package/.output/server/node_modules/reka-ui/dist/Toast/ToastClose.js +47 -0
  1290. package/.output/server/node_modules/reka-ui/dist/Toast/ToastDescription.js +36 -0
  1291. package/.output/server/node_modules/reka-ui/dist/Toast/ToastPortal.js +42 -0
  1292. package/.output/server/node_modules/reka-ui/dist/Toast/ToastProvider.js +80 -0
  1293. package/.output/server/node_modules/reka-ui/dist/Toast/ToastRoot.js +140 -0
  1294. package/.output/server/node_modules/reka-ui/dist/Toast/ToastRootImpl.js +234 -0
  1295. package/.output/server/node_modules/reka-ui/dist/Toast/ToastTitle.js +36 -0
  1296. package/.output/server/node_modules/reka-ui/dist/Toast/ToastViewport.js +178 -0
  1297. package/.output/server/node_modules/reka-ui/dist/Toast/utils.js +47 -0
  1298. package/.output/server/node_modules/reka-ui/dist/Toggle/Toggle.js +110 -0
  1299. package/.output/server/node_modules/reka-ui/dist/ToggleGroup/ToggleGroupItem.js +63 -0
  1300. package/.output/server/node_modules/reka-ui/dist/ToggleGroup/ToggleGroupRoot.js +128 -0
  1301. package/.output/server/node_modules/reka-ui/dist/Toolbar/ToolbarButton.js +51 -0
  1302. package/.output/server/node_modules/reka-ui/dist/Toolbar/ToolbarLink.js +49 -0
  1303. package/.output/server/node_modules/reka-ui/dist/Toolbar/ToolbarRoot.js +81 -0
  1304. package/.output/server/node_modules/reka-ui/dist/Toolbar/ToolbarSeparator.js +46 -0
  1305. package/.output/server/node_modules/reka-ui/dist/Toolbar/ToolbarToggleGroup.js +89 -0
  1306. package/.output/server/node_modules/reka-ui/dist/Toolbar/ToolbarToggleItem.js +48 -0
  1307. package/.output/server/node_modules/reka-ui/dist/Tooltip/TooltipArrow.js +47 -0
  1308. package/.output/server/node_modules/reka-ui/dist/Tooltip/TooltipContent.js +104 -0
  1309. package/.output/server/node_modules/reka-ui/dist/Tooltip/TooltipContentHoverable.js +100 -0
  1310. package/.output/server/node_modules/reka-ui/dist/Tooltip/TooltipContentImpl.js +148 -0
  1311. package/.output/server/node_modules/reka-ui/dist/Tooltip/TooltipPortal.js +42 -0
  1312. package/.output/server/node_modules/reka-ui/dist/Tooltip/TooltipProvider.js +78 -0
  1313. package/.output/server/node_modules/reka-ui/dist/Tooltip/TooltipRoot.js +132 -0
  1314. package/.output/server/node_modules/reka-ui/dist/Tooltip/TooltipTrigger.js +114 -0
  1315. package/.output/server/node_modules/reka-ui/dist/Tooltip/utils.js +6 -0
  1316. package/.output/server/node_modules/reka-ui/dist/Tree/TreeItem.js +175 -0
  1317. package/.output/server/node_modules/reka-ui/dist/Tree/TreeRoot.js +243 -0
  1318. package/.output/server/node_modules/reka-ui/dist/Tree/TreeVirtualizer.js +168 -0
  1319. package/.output/server/node_modules/reka-ui/dist/Tree/utils.js +12 -0
  1320. package/.output/server/node_modules/reka-ui/dist/Viewport/Viewport.js +62 -0
  1321. package/.output/server/node_modules/reka-ui/dist/VisuallyHidden/VisuallyHidden.js +66 -0
  1322. package/.output/server/node_modules/reka-ui/dist/VisuallyHidden/VisuallyHiddenInput.js +86 -0
  1323. package/.output/server/node_modules/reka-ui/dist/VisuallyHidden/VisuallyHiddenInputBubble.js +73 -0
  1324. package/.output/server/node_modules/reka-ui/dist/component/Arrow.js +69 -0
  1325. package/.output/server/node_modules/reka-ui/dist/component/BaseSeparator.js +61 -0
  1326. package/.output/server/node_modules/reka-ui/dist/composables/useWindowSplitterBehavior.js +48 -0
  1327. package/.output/server/node_modules/reka-ui/dist/composables/useWindowSplitterPanelGroupBehavior.js +94 -0
  1328. package/.output/server/node_modules/reka-ui/dist/date/calendar.js +156 -0
  1329. package/.output/server/node_modules/reka-ui/dist/date/comparators.js +194 -0
  1330. package/.output/server/node_modules/reka-ui/dist/date/index.js +0 -0
  1331. package/.output/server/node_modules/reka-ui/dist/date/parser.js +135 -0
  1332. package/.output/server/node_modules/reka-ui/dist/date/parts.js +27 -0
  1333. package/.output/server/node_modules/reka-ui/dist/date/placeholders.js +493 -0
  1334. package/.output/server/node_modules/reka-ui/dist/date/segment.js +41 -0
  1335. package/.output/server/node_modules/reka-ui/dist/date/useDateField.js +720 -0
  1336. package/.output/server/node_modules/reka-ui/dist/date/utils.js +85 -0
  1337. package/.output/server/node_modules/reka-ui/dist/index.js +466 -0
  1338. package/.output/server/node_modules/reka-ui/dist/index2.js +0 -0
  1339. package/.output/server/node_modules/reka-ui/dist/shared/arrays.js +42 -0
  1340. package/.output/server/node_modules/reka-ui/dist/shared/browser.js +6 -0
  1341. package/.output/server/node_modules/reka-ui/dist/shared/clamp.js +66 -0
  1342. package/.output/server/node_modules/reka-ui/dist/shared/createContext.js +35 -0
  1343. package/.output/server/node_modules/reka-ui/dist/shared/getActiveElement.js +11 -0
  1344. package/.output/server/node_modules/reka-ui/dist/shared/handleAndDispatchCustomEvent.js +15 -0
  1345. package/.output/server/node_modules/reka-ui/dist/shared/isValueEqualOrExist.js +22 -0
  1346. package/.output/server/node_modules/reka-ui/dist/shared/nullish.js +8 -0
  1347. package/.output/server/node_modules/reka-ui/dist/shared/renderSlotFragments.js +14 -0
  1348. package/.output/server/node_modules/reka-ui/dist/shared/useArrowNavigation.js +64 -0
  1349. package/.output/server/node_modules/reka-ui/dist/shared/useBodyScrollLock.js +95 -0
  1350. package/.output/server/node_modules/reka-ui/dist/shared/useDateFormatter.js +140 -0
  1351. package/.output/server/node_modules/reka-ui/dist/shared/useDirection.js +17 -0
  1352. package/.output/server/node_modules/reka-ui/dist/shared/useEmitAsProps.js +26 -0
  1353. package/.output/server/node_modules/reka-ui/dist/shared/useFilter.js +58 -0
  1354. package/.output/server/node_modules/reka-ui/dist/shared/useFocusGuards.js +37 -0
  1355. package/.output/server/node_modules/reka-ui/dist/shared/useFormControl.js +11 -0
  1356. package/.output/server/node_modules/reka-ui/dist/shared/useForwardExpose.js +57 -0
  1357. package/.output/server/node_modules/reka-ui/dist/shared/useForwardProps.js +37 -0
  1358. package/.output/server/node_modules/reka-ui/dist/shared/useForwardPropsEmits.js +29 -0
  1359. package/.output/server/node_modules/reka-ui/dist/shared/useGraceArea.js +200 -0
  1360. package/.output/server/node_modules/reka-ui/dist/shared/useHideOthers.js +26 -0
  1361. package/.output/server/node_modules/reka-ui/dist/shared/useId.js +24 -0
  1362. package/.output/server/node_modules/reka-ui/dist/shared/useIsUsingKeyboard.js +27 -0
  1363. package/.output/server/node_modules/reka-ui/dist/shared/useKbd.js +43 -0
  1364. package/.output/server/node_modules/reka-ui/dist/shared/useLocale.js +17 -0
  1365. package/.output/server/node_modules/reka-ui/dist/shared/useNonce.js +12 -0
  1366. package/.output/server/node_modules/reka-ui/dist/shared/useSelectionBehavior.js +53 -0
  1367. package/.output/server/node_modules/reka-ui/dist/shared/useSingleOrMultipleValue.js +63 -0
  1368. package/.output/server/node_modules/reka-ui/dist/shared/useSize.js +48 -0
  1369. package/.output/server/node_modules/reka-ui/dist/shared/useStateMachine.js +32 -0
  1370. package/.output/server/node_modules/reka-ui/dist/shared/useTypeahead.js +70 -0
  1371. package/.output/server/node_modules/reka-ui/dist/shared/withDefault.js +25 -0
  1372. package/.output/server/node_modules/reka-ui/dist/utils/assert.js +11 -0
  1373. package/.output/server/node_modules/reka-ui/dist/utils/calculate.js +113 -0
  1374. package/.output/server/node_modules/reka-ui/dist/utils/callPanelCallbacks.js +25 -0
  1375. package/.output/server/node_modules/reka-ui/dist/utils/compare.js +17 -0
  1376. package/.output/server/node_modules/reka-ui/dist/utils/constants.js +6 -0
  1377. package/.output/server/node_modules/reka-ui/dist/utils/debounce.js +15 -0
  1378. package/.output/server/node_modules/reka-ui/dist/utils/dom.js +38 -0
  1379. package/.output/server/node_modules/reka-ui/dist/utils/events.js +36 -0
  1380. package/.output/server/node_modules/reka-ui/dist/utils/layout.js +137 -0
  1381. package/.output/server/node_modules/reka-ui/dist/utils/pivot.js +11 -0
  1382. package/.output/server/node_modules/reka-ui/dist/utils/rects.js +9 -0
  1383. package/.output/server/node_modules/reka-ui/dist/utils/registry.js +183 -0
  1384. package/.output/server/node_modules/reka-ui/dist/utils/resizePanel.js +22 -0
  1385. package/.output/server/node_modules/reka-ui/dist/utils/stackingOrder.js +94 -0
  1386. package/.output/server/node_modules/reka-ui/dist/utils/storage.js +61 -0
  1387. package/.output/server/node_modules/reka-ui/dist/utils/style.js +62 -0
  1388. package/.output/server/node_modules/reka-ui/dist/utils/validation.js +53 -0
  1389. package/.output/server/node_modules/reka-ui/package.json +121 -0
  1390. package/.output/server/node_modules/shiki/dist/bundle-full.mjs +27 -0
  1391. package/.output/server/node_modules/shiki/dist/bundle-web.mjs +366 -0
  1392. package/.output/server/node_modules/shiki/dist/index.mjs +6 -0
  1393. package/.output/server/node_modules/shiki/dist/langs.mjs +1412 -0
  1394. package/.output/server/node_modules/shiki/dist/themes.mjs +389 -0
  1395. package/.output/server/node_modules/shiki/dist/wasm.mjs +2 -0
  1396. package/.output/server/node_modules/shiki/package.json +70 -0
  1397. package/.output/server/node_modules/source-map-js/lib/array-set.js +121 -0
  1398. package/.output/server/node_modules/source-map-js/lib/base64-vlq.js +140 -0
  1399. package/.output/server/node_modules/source-map-js/lib/base64.js +67 -0
  1400. package/.output/server/node_modules/source-map-js/lib/binary-search.js +111 -0
  1401. package/.output/server/node_modules/source-map-js/lib/mapping-list.js +79 -0
  1402. package/.output/server/node_modules/source-map-js/lib/quick-sort.js +132 -0
  1403. package/.output/server/node_modules/source-map-js/lib/source-map-consumer.js +1188 -0
  1404. package/.output/server/node_modules/source-map-js/lib/source-map-generator.js +444 -0
  1405. package/.output/server/node_modules/source-map-js/lib/source-node.js +413 -0
  1406. package/.output/server/node_modules/source-map-js/lib/util.js +594 -0
  1407. package/.output/server/node_modules/source-map-js/package.json +71 -0
  1408. package/.output/server/node_modules/source-map-js/source-map.js +8 -0
  1409. package/.output/server/node_modules/space-separated-tokens/index.js +24 -0
  1410. package/.output/server/node_modules/space-separated-tokens/package.json +67 -0
  1411. package/.output/server/node_modules/stringify-entities/index.js +6 -0
  1412. package/.output/server/node_modules/stringify-entities/lib/constant/dangerous.js +16 -0
  1413. package/.output/server/node_modules/stringify-entities/lib/core.js +117 -0
  1414. package/.output/server/node_modules/stringify-entities/lib/index.js +36 -0
  1415. package/.output/server/node_modules/stringify-entities/lib/util/format-basic.js +9 -0
  1416. package/.output/server/node_modules/stringify-entities/lib/util/format-smart.js +69 -0
  1417. package/.output/server/node_modules/stringify-entities/lib/util/to-decimal.js +16 -0
  1418. package/.output/server/node_modules/stringify-entities/lib/util/to-hexadecimal.js +16 -0
  1419. package/.output/server/node_modules/stringify-entities/lib/util/to-named.js +57 -0
  1420. package/.output/server/node_modules/stringify-entities/package.json +86 -0
  1421. package/.output/server/node_modules/tailwind-merge/dist/bundle-mjs.mjs +3282 -0
  1422. package/.output/server/node_modules/tailwind-merge/package.json +93 -0
  1423. package/.output/server/node_modules/ufo/dist/index.mjs +645 -0
  1424. package/.output/server/node_modules/ufo/package.json +48 -0
  1425. package/.output/server/node_modules/unhead/dist/index.mjs +9 -0
  1426. package/.output/server/node_modules/unhead/dist/parser.mjs +508 -0
  1427. package/.output/server/node_modules/unhead/dist/plugins.mjs +101 -0
  1428. package/.output/server/node_modules/unhead/dist/scripts.mjs +30 -0
  1429. package/.output/server/node_modules/unhead/dist/server.mjs +180 -0
  1430. package/.output/server/node_modules/unhead/dist/shared/unhead.B578PsDV.mjs +266 -0
  1431. package/.output/server/node_modules/unhead/dist/shared/unhead.BFfcxOoW.mjs +180 -0
  1432. package/.output/server/node_modules/unhead/dist/shared/unhead.BPM0-cfG.mjs +44 -0
  1433. package/.output/server/node_modules/unhead/dist/shared/unhead.BYvz9V1x.mjs +43 -0
  1434. package/.output/server/node_modules/unhead/dist/shared/unhead.CApf5sj3.mjs +148 -0
  1435. package/.output/server/node_modules/unhead/dist/shared/unhead.CbpEuj3y.mjs +71 -0
  1436. package/.output/server/node_modules/unhead/dist/shared/unhead.DQc16pHI.mjs +196 -0
  1437. package/.output/server/node_modules/unhead/dist/shared/unhead.ckV6dpEQ.mjs +166 -0
  1438. package/.output/server/node_modules/unhead/dist/shared/unhead.eK9_7LaY.mjs +198 -0
  1439. package/.output/server/node_modules/unhead/dist/shared/unhead.yem5I2v_.mjs +38 -0
  1440. package/.output/server/node_modules/unhead/dist/utils.mjs +5 -0
  1441. package/.output/server/node_modules/unhead/package.json +105 -0
  1442. package/.output/server/node_modules/vue/dist/vue.cjs.js +80 -0
  1443. package/.output/server/node_modules/vue/dist/vue.cjs.prod.js +66 -0
  1444. package/.output/server/node_modules/vue/index.js +7 -0
  1445. package/.output/server/node_modules/vue/index.mjs +1 -0
  1446. package/.output/server/node_modules/vue/package.json +112 -0
  1447. package/.output/server/node_modules/vue/server-renderer/index.mjs +1 -0
  1448. package/.output/server/node_modules/vue-bundle-renderer/dist/runtime.mjs +301 -0
  1449. package/.output/server/node_modules/vue-bundle-renderer/package.json +55 -0
  1450. package/.output/server/node_modules/vue-demi/lib/index.mjs +34 -0
  1451. package/.output/server/node_modules/vue-demi/package.json +47 -0
  1452. package/.output/server/node_modules/vue-router/dist/devtools-EWN81iOl.mjs +1220 -0
  1453. package/.output/server/node_modules/vue-router/dist/vue-router.mjs +1557 -0
  1454. package/.output/server/node_modules/vue-router/package.json +153 -0
  1455. package/.output/server/node_modules/vue-router/vue-router.node.mjs +2 -0
  1456. package/.output/server/node_modules/vue-sonner/lib/vue-sonner.js +801 -0
  1457. package/.output/server/node_modules/vue-sonner/package.json +80 -0
  1458. package/.output/server/node_modules/zwitch/index.js +118 -0
  1459. package/.output/server/node_modules/zwitch/package.json +72 -0
  1460. package/.output/server/package.json +78 -0
  1461. package/README.md +1 -2
  1462. package/dist/host/src/index.js +2 -2
  1463. package/dist/host/src/ui.js +62 -22
  1464. package/dist/server/utils/repos.js +2 -2
  1465. package/package.json +17 -15
  1466. package/app/app.vue +0 -14
  1467. package/app/assets/css/main.css +0 -129
  1468. package/app/components/CommandPalette.vue +0 -182
  1469. package/app/components/ShortcutsHelp.vue +0 -85
  1470. package/app/components/git/ChangesMinimap.vue +0 -143
  1471. package/app/components/git/CommitList.vue +0 -224
  1472. package/app/components/git/DiffPanel.vue +0 -402
  1473. package/app/components/git/DiffViewer.vue +0 -803
  1474. package/app/components/layout/RepoSelector.vue +0 -358
  1475. package/app/components/layout/Sidebar.vue +0 -91
  1476. package/app/components/prd/Meta.vue +0 -69
  1477. package/app/components/prd/Viewer.vue +0 -285
  1478. package/app/components/tasks/Board.vue +0 -86
  1479. package/app/components/tasks/Card.vue +0 -108
  1480. package/app/components/tasks/Column.vue +0 -108
  1481. package/app/components/tasks/Detail.vue +0 -291
  1482. package/app/components/ui/badge/Badge.vue +0 -26
  1483. package/app/components/ui/badge/index.ts +0 -26
  1484. package/app/components/ui/button/Button.vue +0 -29
  1485. package/app/components/ui/button/index.ts +0 -38
  1486. package/app/components/ui/card/Card.vue +0 -22
  1487. package/app/components/ui/card/CardAction.vue +0 -17
  1488. package/app/components/ui/card/CardContent.vue +0 -17
  1489. package/app/components/ui/card/CardDescription.vue +0 -17
  1490. package/app/components/ui/card/CardFooter.vue +0 -17
  1491. package/app/components/ui/card/CardHeader.vue +0 -17
  1492. package/app/components/ui/card/CardTitle.vue +0 -17
  1493. package/app/components/ui/card/index.ts +0 -7
  1494. package/app/components/ui/combobox/Combobox.vue +0 -19
  1495. package/app/components/ui/combobox/ComboboxAnchor.vue +0 -23
  1496. package/app/components/ui/combobox/ComboboxEmpty.vue +0 -21
  1497. package/app/components/ui/combobox/ComboboxGroup.vue +0 -27
  1498. package/app/components/ui/combobox/ComboboxInput.vue +0 -42
  1499. package/app/components/ui/combobox/ComboboxItem.vue +0 -24
  1500. package/app/components/ui/combobox/ComboboxItemIndicator.vue +0 -23
  1501. package/app/components/ui/combobox/ComboboxList.vue +0 -33
  1502. package/app/components/ui/combobox/ComboboxSeparator.vue +0 -21
  1503. package/app/components/ui/combobox/ComboboxTrigger.vue +0 -24
  1504. package/app/components/ui/combobox/ComboboxViewport.vue +0 -23
  1505. package/app/components/ui/combobox/index.ts +0 -13
  1506. package/app/components/ui/command/Command.vue +0 -103
  1507. package/app/components/ui/command/CommandDialog.vue +0 -33
  1508. package/app/components/ui/command/CommandEmpty.vue +0 -27
  1509. package/app/components/ui/command/CommandGroup.vue +0 -45
  1510. package/app/components/ui/command/CommandInput.vue +0 -54
  1511. package/app/components/ui/command/CommandItem.vue +0 -76
  1512. package/app/components/ui/command/CommandList.vue +0 -25
  1513. package/app/components/ui/command/CommandSeparator.vue +0 -21
  1514. package/app/components/ui/command/CommandShortcut.vue +0 -17
  1515. package/app/components/ui/command/index.ts +0 -25
  1516. package/app/components/ui/dialog/Dialog.vue +0 -19
  1517. package/app/components/ui/dialog/DialogClose.vue +0 -15
  1518. package/app/components/ui/dialog/DialogContent.vue +0 -53
  1519. package/app/components/ui/dialog/DialogDescription.vue +0 -23
  1520. package/app/components/ui/dialog/DialogFooter.vue +0 -15
  1521. package/app/components/ui/dialog/DialogHeader.vue +0 -17
  1522. package/app/components/ui/dialog/DialogOverlay.vue +0 -21
  1523. package/app/components/ui/dialog/DialogScrollContent.vue +0 -59
  1524. package/app/components/ui/dialog/DialogTitle.vue +0 -23
  1525. package/app/components/ui/dialog/DialogTrigger.vue +0 -15
  1526. package/app/components/ui/dialog/index.ts +0 -10
  1527. package/app/components/ui/input/Input.vue +0 -33
  1528. package/app/components/ui/input/index.ts +0 -1
  1529. package/app/components/ui/scroll-area/ScrollArea.vue +0 -33
  1530. package/app/components/ui/scroll-area/ScrollBar.vue +0 -32
  1531. package/app/components/ui/scroll-area/index.ts +0 -2
  1532. package/app/components/ui/separator/Separator.vue +0 -29
  1533. package/app/components/ui/separator/index.ts +0 -1
  1534. package/app/components/ui/sheet/Sheet.vue +0 -19
  1535. package/app/components/ui/sheet/SheetClose.vue +0 -15
  1536. package/app/components/ui/sheet/SheetContent.vue +0 -62
  1537. package/app/components/ui/sheet/SheetDescription.vue +0 -21
  1538. package/app/components/ui/sheet/SheetFooter.vue +0 -16
  1539. package/app/components/ui/sheet/SheetHeader.vue +0 -15
  1540. package/app/components/ui/sheet/SheetOverlay.vue +0 -21
  1541. package/app/components/ui/sheet/SheetTitle.vue +0 -21
  1542. package/app/components/ui/sheet/SheetTrigger.vue +0 -15
  1543. package/app/components/ui/sheet/index.ts +0 -8
  1544. package/app/components/ui/tabs/Tabs.vue +0 -24
  1545. package/app/components/ui/tabs/TabsContent.vue +0 -21
  1546. package/app/components/ui/tabs/TabsList.vue +0 -24
  1547. package/app/components/ui/tabs/TabsTrigger.vue +0 -26
  1548. package/app/components/ui/tabs/index.ts +0 -4
  1549. package/app/components/ui/tooltip/Tooltip.vue +0 -19
  1550. package/app/components/ui/tooltip/TooltipContent.vue +0 -34
  1551. package/app/components/ui/tooltip/TooltipProvider.vue +0 -14
  1552. package/app/components/ui/tooltip/TooltipTrigger.vue +0 -15
  1553. package/app/components/ui/tooltip/index.ts +0 -4
  1554. package/app/composables/useFileWatch.ts +0 -78
  1555. package/app/composables/useGit.ts +0 -180
  1556. package/app/composables/useKeyboard.ts +0 -180
  1557. package/app/composables/usePrd.ts +0 -86
  1558. package/app/composables/useRepos.ts +0 -108
  1559. package/app/composables/useThemeMode.ts +0 -38
  1560. package/app/composables/useToast.ts +0 -31
  1561. package/app/layouts/default.vue +0 -197
  1562. package/app/lib/utils.ts +0 -7
  1563. package/app/pages/[repo]/[prd].vue +0 -263
  1564. package/app/pages/index.vue +0 -257
  1565. package/app/types/git.ts +0 -81
  1566. package/app/types/index.ts +0 -29
  1567. package/app/types/prd.ts +0 -49
  1568. package/app/types/repo.ts +0 -37
  1569. package/app/types/task.ts +0 -134
  1570. package/components.json +0 -21
  1571. package/nuxt.config.ts +0 -34
  1572. package/server/api/browse.get.ts +0 -52
  1573. package/server/api/repos/[repoId]/git/commits.get.ts +0 -103
  1574. package/server/api/repos/[repoId]/git/diff.get.ts +0 -77
  1575. package/server/api/repos/[repoId]/git/file-content.get.ts +0 -66
  1576. package/server/api/repos/[repoId]/git/file-diff.get.ts +0 -109
  1577. package/server/api/repos/[repoId]/prd/[prdSlug]/progress.get.ts +0 -36
  1578. package/server/api/repos/[repoId]/prd/[prdSlug]/tasks/[taskId]/commits.get.ts +0 -146
  1579. package/server/api/repos/[repoId]/prd/[prdSlug]/tasks.get.ts +0 -36
  1580. package/server/api/repos/[repoId]/prd/[prdSlug].get.ts +0 -97
  1581. package/server/api/repos/[repoId]/prds.get.ts +0 -85
  1582. package/server/api/repos/[repoId]/refresh-git-repos.post.ts +0 -42
  1583. package/server/api/repos/[repoId].delete.ts +0 -27
  1584. package/server/api/repos/index.get.ts +0 -5
  1585. package/server/api/repos/index.post.ts +0 -39
  1586. package/server/api/watch.get.ts +0 -63
  1587. package/server/plugins/migrate-legacy-state.ts +0 -19
  1588. package/server/tsconfig.json +0 -3
  1589. package/server/utils/db.ts +0 -169
  1590. package/server/utils/git.ts +0 -478
  1591. package/server/utils/prd-state.ts +0 -335
  1592. package/server/utils/repos.ts +0 -322
  1593. package/server/utils/watcher.ts +0 -179
  1594. package/tsconfig.json +0 -4
  1595. /package/{public → .output/public}/favicon.ico +0 -0
  1596. /package/{public → .output/public}/robots.txt +0 -0
@@ -0,0 +1,2446 @@
1
+ import { ShikiError as ShikiError$1 } from '@shikijs/types';
2
+ export * from '@shikijs/types';
3
+ import { FontStyle, INITIAL, EncodedTokenMetadata, Registry as Registry$1, Theme } from '@shikijs/vscode-textmate';
4
+ import { toHtml } from 'hast-util-to-html';
5
+
6
+ function resolveColorReplacements(theme, options) {
7
+ const replacements = typeof theme === "string" ? {} : { ...theme.colorReplacements };
8
+ const themeName = typeof theme === "string" ? theme : theme.name;
9
+ for (const [key, value] of Object.entries(options?.colorReplacements || {})) {
10
+ if (typeof value === "string")
11
+ replacements[key] = value;
12
+ else if (key === themeName)
13
+ Object.assign(replacements, value);
14
+ }
15
+ return replacements;
16
+ }
17
+ function applyColorReplacements(color, replacements) {
18
+ if (!color)
19
+ return color;
20
+ return replacements?.[color?.toLowerCase()] || color;
21
+ }
22
+
23
+ function toArray(x) {
24
+ return Array.isArray(x) ? x : [x];
25
+ }
26
+ async function normalizeGetter(p) {
27
+ return Promise.resolve(typeof p === "function" ? p() : p).then((r) => r.default || r);
28
+ }
29
+ function isPlainLang(lang) {
30
+ return !lang || ["plaintext", "txt", "text", "plain"].includes(lang);
31
+ }
32
+ function isSpecialLang(lang) {
33
+ return lang === "ansi" || isPlainLang(lang);
34
+ }
35
+ function isNoneTheme(theme) {
36
+ return theme === "none";
37
+ }
38
+ function isSpecialTheme(theme) {
39
+ return isNoneTheme(theme);
40
+ }
41
+
42
+ function addClassToHast(node, className) {
43
+ if (!className)
44
+ return node;
45
+ node.properties ||= {};
46
+ node.properties.class ||= [];
47
+ if (typeof node.properties.class === "string")
48
+ node.properties.class = node.properties.class.split(/\s+/g);
49
+ if (!Array.isArray(node.properties.class))
50
+ node.properties.class = [];
51
+ const targets = Array.isArray(className) ? className : className.split(/\s+/g);
52
+ for (const c of targets) {
53
+ if (c && !node.properties.class.includes(c))
54
+ node.properties.class.push(c);
55
+ }
56
+ return node;
57
+ }
58
+
59
+ function splitLines(code, preserveEnding = false) {
60
+ if (code.length === 0) {
61
+ return [["", 0]];
62
+ }
63
+ const parts = code.split(/(\r?\n)/g);
64
+ let index = 0;
65
+ const lines = [];
66
+ for (let i = 0; i < parts.length; i += 2) {
67
+ const line = preserveEnding ? parts[i] + (parts[i + 1] || "") : parts[i];
68
+ lines.push([line, index]);
69
+ index += parts[i].length;
70
+ index += parts[i + 1]?.length || 0;
71
+ }
72
+ return lines;
73
+ }
74
+ function createPositionConverter(code) {
75
+ const lines = splitLines(code, true).map(([line]) => line);
76
+ function indexToPos(index) {
77
+ if (index === code.length) {
78
+ return {
79
+ line: lines.length - 1,
80
+ character: lines[lines.length - 1].length
81
+ };
82
+ }
83
+ let character = index;
84
+ let line = 0;
85
+ for (const lineText of lines) {
86
+ if (character < lineText.length)
87
+ break;
88
+ character -= lineText.length;
89
+ line++;
90
+ }
91
+ return { line, character };
92
+ }
93
+ function posToIndex(line, character) {
94
+ let index = 0;
95
+ for (let i = 0; i < line; i++)
96
+ index += lines[i].length;
97
+ index += character;
98
+ return index;
99
+ }
100
+ return {
101
+ lines,
102
+ indexToPos,
103
+ posToIndex
104
+ };
105
+ }
106
+ function guessEmbeddedLanguages(code, _lang, highlighter) {
107
+ const langs = /* @__PURE__ */ new Set();
108
+ for (const match of code.matchAll(/:?lang=["']([^"']+)["']/g)) {
109
+ const lang = match[1].toLowerCase().trim();
110
+ if (lang)
111
+ langs.add(lang);
112
+ }
113
+ for (const match of code.matchAll(/(?:```|~~~)([\w-]+)/g)) {
114
+ const lang = match[1].toLowerCase().trim();
115
+ if (lang)
116
+ langs.add(lang);
117
+ }
118
+ for (const match of code.matchAll(/\\begin\{([\w-]+)\}/g)) {
119
+ const lang = match[1].toLowerCase().trim();
120
+ if (lang)
121
+ langs.add(lang);
122
+ }
123
+ for (const match of code.matchAll(/<script\s+(?:type|lang)=["']([^"']+)["']/gi)) {
124
+ const fullType = match[1].toLowerCase().trim();
125
+ const lang = fullType.includes("/") ? fullType.split("/").pop() : fullType;
126
+ if (lang)
127
+ langs.add(lang);
128
+ }
129
+ if (!highlighter)
130
+ return Array.from(langs);
131
+ const bundle = highlighter.getBundledLanguages();
132
+ return Array.from(langs).filter((l) => l && bundle[l]);
133
+ }
134
+
135
+ const DEFAULT_COLOR_LIGHT_DARK = "light-dark()";
136
+ const COLOR_KEYS = ["color", "background-color"];
137
+
138
+ function splitToken(token, offsets) {
139
+ let lastOffset = 0;
140
+ const tokens = [];
141
+ for (const offset of offsets) {
142
+ if (offset > lastOffset) {
143
+ tokens.push({
144
+ ...token,
145
+ content: token.content.slice(lastOffset, offset),
146
+ offset: token.offset + lastOffset
147
+ });
148
+ }
149
+ lastOffset = offset;
150
+ }
151
+ if (lastOffset < token.content.length) {
152
+ tokens.push({
153
+ ...token,
154
+ content: token.content.slice(lastOffset),
155
+ offset: token.offset + lastOffset
156
+ });
157
+ }
158
+ return tokens;
159
+ }
160
+ function splitTokens(tokens, breakpoints) {
161
+ const sorted = Array.from(breakpoints instanceof Set ? breakpoints : new Set(breakpoints)).sort((a, b) => a - b);
162
+ if (!sorted.length)
163
+ return tokens;
164
+ return tokens.map((line) => {
165
+ return line.flatMap((token) => {
166
+ const breakpointsInToken = sorted.filter((i) => token.offset < i && i < token.offset + token.content.length).map((i) => i - token.offset).sort((a, b) => a - b);
167
+ if (!breakpointsInToken.length)
168
+ return token;
169
+ return splitToken(token, breakpointsInToken);
170
+ });
171
+ });
172
+ }
173
+ function flatTokenVariants(merged, variantsOrder, cssVariablePrefix, defaultColor, colorsRendering = "css-vars") {
174
+ const token = {
175
+ content: merged.content,
176
+ explanation: merged.explanation,
177
+ offset: merged.offset
178
+ };
179
+ const styles = variantsOrder.map((t) => getTokenStyleObject(merged.variants[t]));
180
+ const styleKeys = new Set(styles.flatMap((t) => Object.keys(t)));
181
+ const mergedStyles = {};
182
+ const varKey = (idx, key) => {
183
+ const keyName = key === "color" ? "" : key === "background-color" ? "-bg" : `-${key}`;
184
+ return cssVariablePrefix + variantsOrder[idx] + (key === "color" ? "" : keyName);
185
+ };
186
+ styles.forEach((cur, idx) => {
187
+ for (const key of styleKeys) {
188
+ const value = cur[key] || "inherit";
189
+ if (idx === 0 && defaultColor && COLOR_KEYS.includes(key)) {
190
+ if (defaultColor === DEFAULT_COLOR_LIGHT_DARK && styles.length > 1) {
191
+ const lightIndex = variantsOrder.findIndex((t) => t === "light");
192
+ const darkIndex = variantsOrder.findIndex((t) => t === "dark");
193
+ if (lightIndex === -1 || darkIndex === -1)
194
+ throw new ShikiError$1('When using `defaultColor: "light-dark()"`, you must provide both `light` and `dark` themes');
195
+ const lightValue = styles[lightIndex][key] || "inherit";
196
+ const darkValue = styles[darkIndex][key] || "inherit";
197
+ mergedStyles[key] = `light-dark(${lightValue}, ${darkValue})`;
198
+ if (colorsRendering === "css-vars")
199
+ mergedStyles[varKey(idx, key)] = value;
200
+ } else {
201
+ mergedStyles[key] = value;
202
+ }
203
+ } else {
204
+ if (colorsRendering === "css-vars")
205
+ mergedStyles[varKey(idx, key)] = value;
206
+ }
207
+ }
208
+ });
209
+ token.htmlStyle = mergedStyles;
210
+ return token;
211
+ }
212
+ function getTokenStyleObject(token) {
213
+ const styles = {};
214
+ if (token.color)
215
+ styles.color = token.color;
216
+ if (token.bgColor)
217
+ styles["background-color"] = token.bgColor;
218
+ if (token.fontStyle) {
219
+ if (token.fontStyle & FontStyle.Italic)
220
+ styles["font-style"] = "italic";
221
+ if (token.fontStyle & FontStyle.Bold)
222
+ styles["font-weight"] = "bold";
223
+ const decorations = [];
224
+ if (token.fontStyle & FontStyle.Underline)
225
+ decorations.push("underline");
226
+ if (token.fontStyle & FontStyle.Strikethrough)
227
+ decorations.push("line-through");
228
+ if (decorations.length)
229
+ styles["text-decoration"] = decorations.join(" ");
230
+ }
231
+ return styles;
232
+ }
233
+ function stringifyTokenStyle(token) {
234
+ if (typeof token === "string")
235
+ return token;
236
+ return Object.entries(token).map(([key, value]) => `${key}:${value}`).join(";");
237
+ }
238
+
239
+ const _grammarStateMap = /* @__PURE__ */ new WeakMap();
240
+ function setLastGrammarStateToMap(keys, state) {
241
+ _grammarStateMap.set(keys, state);
242
+ }
243
+ function getLastGrammarStateFromMap(keys) {
244
+ return _grammarStateMap.get(keys);
245
+ }
246
+ class GrammarState {
247
+ /**
248
+ * Theme to Stack mapping
249
+ */
250
+ _stacks = {};
251
+ lang;
252
+ get themes() {
253
+ return Object.keys(this._stacks);
254
+ }
255
+ get theme() {
256
+ return this.themes[0];
257
+ }
258
+ get _stack() {
259
+ return this._stacks[this.theme];
260
+ }
261
+ /**
262
+ * Static method to create a initial grammar state.
263
+ */
264
+ static initial(lang, themes) {
265
+ return new GrammarState(
266
+ Object.fromEntries(toArray(themes).map((theme) => [theme, INITIAL])),
267
+ lang
268
+ );
269
+ }
270
+ constructor(...args) {
271
+ if (args.length === 2) {
272
+ const [stacksMap, lang] = args;
273
+ this.lang = lang;
274
+ this._stacks = stacksMap;
275
+ } else {
276
+ const [stack, lang, theme] = args;
277
+ this.lang = lang;
278
+ this._stacks = { [theme]: stack };
279
+ }
280
+ }
281
+ /**
282
+ * Get the internal stack object.
283
+ * @internal
284
+ */
285
+ getInternalStack(theme = this.theme) {
286
+ return this._stacks[theme];
287
+ }
288
+ getScopes(theme = this.theme) {
289
+ return getScopes(this._stacks[theme]);
290
+ }
291
+ toJSON() {
292
+ return {
293
+ lang: this.lang,
294
+ theme: this.theme,
295
+ themes: this.themes,
296
+ scopes: this.getScopes()
297
+ };
298
+ }
299
+ }
300
+ function getScopes(stack) {
301
+ const scopes = [];
302
+ const visited = /* @__PURE__ */ new Set();
303
+ function pushScope(stack2) {
304
+ if (visited.has(stack2))
305
+ return;
306
+ visited.add(stack2);
307
+ const name = stack2?.nameScopesList?.scopeName;
308
+ if (name)
309
+ scopes.push(name);
310
+ if (stack2.parent)
311
+ pushScope(stack2.parent);
312
+ }
313
+ pushScope(stack);
314
+ return scopes;
315
+ }
316
+ function getGrammarStack(state, theme) {
317
+ if (!(state instanceof GrammarState))
318
+ throw new ShikiError$1("Invalid grammar state");
319
+ return state.getInternalStack(theme);
320
+ }
321
+
322
+ function transformerDecorations() {
323
+ const map = /* @__PURE__ */ new WeakMap();
324
+ function getContext(shiki) {
325
+ if (!map.has(shiki.meta)) {
326
+ let normalizePosition = function(p) {
327
+ if (typeof p === "number") {
328
+ if (p < 0 || p > shiki.source.length)
329
+ throw new ShikiError$1(`Invalid decoration offset: ${p}. Code length: ${shiki.source.length}`);
330
+ return {
331
+ ...converter.indexToPos(p),
332
+ offset: p
333
+ };
334
+ } else {
335
+ const line = converter.lines[p.line];
336
+ if (line === void 0)
337
+ throw new ShikiError$1(`Invalid decoration position ${JSON.stringify(p)}. Lines length: ${converter.lines.length}`);
338
+ let character = p.character;
339
+ if (character < 0)
340
+ character = line.length + character;
341
+ if (character < 0 || character > line.length)
342
+ throw new ShikiError$1(`Invalid decoration position ${JSON.stringify(p)}. Line ${p.line} length: ${line.length}`);
343
+ return {
344
+ ...p,
345
+ character,
346
+ offset: converter.posToIndex(p.line, character)
347
+ };
348
+ }
349
+ };
350
+ const converter = createPositionConverter(shiki.source);
351
+ const decorations = (shiki.options.decorations || []).map((d) => ({
352
+ ...d,
353
+ start: normalizePosition(d.start),
354
+ end: normalizePosition(d.end)
355
+ }));
356
+ verifyIntersections(decorations);
357
+ map.set(shiki.meta, {
358
+ decorations,
359
+ converter,
360
+ source: shiki.source
361
+ });
362
+ }
363
+ return map.get(shiki.meta);
364
+ }
365
+ return {
366
+ name: "shiki:decorations",
367
+ tokens(tokens) {
368
+ if (!this.options.decorations?.length)
369
+ return;
370
+ const ctx = getContext(this);
371
+ const breakpoints = ctx.decorations.flatMap((d) => [d.start.offset, d.end.offset]);
372
+ const splitted = splitTokens(tokens, breakpoints);
373
+ return splitted;
374
+ },
375
+ code(codeEl) {
376
+ if (!this.options.decorations?.length)
377
+ return;
378
+ const ctx = getContext(this);
379
+ const lines = Array.from(codeEl.children).filter((i) => i.type === "element" && i.tagName === "span");
380
+ if (lines.length !== ctx.converter.lines.length)
381
+ throw new ShikiError$1(`Number of lines in code element (${lines.length}) does not match the number of lines in the source (${ctx.converter.lines.length}). Failed to apply decorations.`);
382
+ function applyLineSection(line, start, end, decoration) {
383
+ const lineEl = lines[line];
384
+ let text = "";
385
+ let startIndex = -1;
386
+ let endIndex = -1;
387
+ if (start === 0)
388
+ startIndex = 0;
389
+ if (end === 0)
390
+ endIndex = 0;
391
+ if (end === Number.POSITIVE_INFINITY)
392
+ endIndex = lineEl.children.length;
393
+ if (startIndex === -1 || endIndex === -1) {
394
+ for (let i = 0; i < lineEl.children.length; i++) {
395
+ text += stringify(lineEl.children[i]);
396
+ if (startIndex === -1 && text.length === start)
397
+ startIndex = i + 1;
398
+ if (endIndex === -1 && text.length === end)
399
+ endIndex = i + 1;
400
+ }
401
+ }
402
+ if (startIndex === -1)
403
+ throw new ShikiError$1(`Failed to find start index for decoration ${JSON.stringify(decoration.start)}`);
404
+ if (endIndex === -1)
405
+ throw new ShikiError$1(`Failed to find end index for decoration ${JSON.stringify(decoration.end)}`);
406
+ const children = lineEl.children.slice(startIndex, endIndex);
407
+ if (!decoration.alwaysWrap && children.length === lineEl.children.length) {
408
+ applyDecoration(lineEl, decoration, "line");
409
+ } else if (!decoration.alwaysWrap && children.length === 1 && children[0].type === "element") {
410
+ applyDecoration(children[0], decoration, "token");
411
+ } else {
412
+ const wrapper = {
413
+ type: "element",
414
+ tagName: "span",
415
+ properties: {},
416
+ children
417
+ };
418
+ applyDecoration(wrapper, decoration, "wrapper");
419
+ lineEl.children.splice(startIndex, children.length, wrapper);
420
+ }
421
+ }
422
+ function applyLine(line, decoration) {
423
+ lines[line] = applyDecoration(lines[line], decoration, "line");
424
+ }
425
+ function applyDecoration(el, decoration, type) {
426
+ const properties = decoration.properties || {};
427
+ const transform = decoration.transform || ((i) => i);
428
+ el.tagName = decoration.tagName || "span";
429
+ el.properties = {
430
+ ...el.properties,
431
+ ...properties,
432
+ class: el.properties.class
433
+ };
434
+ if (decoration.properties?.class)
435
+ addClassToHast(el, decoration.properties.class);
436
+ el = transform(el, type) || el;
437
+ return el;
438
+ }
439
+ const lineApplies = [];
440
+ const sorted = ctx.decorations.sort((a, b) => b.start.offset - a.start.offset || a.end.offset - b.end.offset);
441
+ for (const decoration of sorted) {
442
+ const { start, end } = decoration;
443
+ if (start.line === end.line) {
444
+ applyLineSection(start.line, start.character, end.character, decoration);
445
+ } else if (start.line < end.line) {
446
+ applyLineSection(start.line, start.character, Number.POSITIVE_INFINITY, decoration);
447
+ for (let i = start.line + 1; i < end.line; i++)
448
+ lineApplies.unshift(() => applyLine(i, decoration));
449
+ applyLineSection(end.line, 0, end.character, decoration);
450
+ }
451
+ }
452
+ lineApplies.forEach((i) => i());
453
+ }
454
+ };
455
+ }
456
+ function verifyIntersections(items) {
457
+ for (let i = 0; i < items.length; i++) {
458
+ const foo = items[i];
459
+ if (foo.start.offset > foo.end.offset)
460
+ throw new ShikiError$1(`Invalid decoration range: ${JSON.stringify(foo.start)} - ${JSON.stringify(foo.end)}`);
461
+ for (let j = i + 1; j < items.length; j++) {
462
+ const bar = items[j];
463
+ const isFooHasBarStart = foo.start.offset <= bar.start.offset && bar.start.offset < foo.end.offset;
464
+ const isFooHasBarEnd = foo.start.offset < bar.end.offset && bar.end.offset <= foo.end.offset;
465
+ const isBarHasFooStart = bar.start.offset <= foo.start.offset && foo.start.offset < bar.end.offset;
466
+ const isBarHasFooEnd = bar.start.offset < foo.end.offset && foo.end.offset <= bar.end.offset;
467
+ if (isFooHasBarStart || isFooHasBarEnd || isBarHasFooStart || isBarHasFooEnd) {
468
+ if (isFooHasBarStart && isFooHasBarEnd)
469
+ continue;
470
+ if (isBarHasFooStart && isBarHasFooEnd)
471
+ continue;
472
+ if (isBarHasFooStart && foo.start.offset === foo.end.offset)
473
+ continue;
474
+ if (isFooHasBarEnd && bar.start.offset === bar.end.offset)
475
+ continue;
476
+ throw new ShikiError$1(`Decorations ${JSON.stringify(foo.start)} and ${JSON.stringify(bar.start)} intersect.`);
477
+ }
478
+ }
479
+ }
480
+ }
481
+ function stringify(el) {
482
+ if (el.type === "text")
483
+ return el.value;
484
+ if (el.type === "element")
485
+ return el.children.map(stringify).join("");
486
+ return "";
487
+ }
488
+
489
+ const builtInTransformers = [
490
+ /* @__PURE__ */ transformerDecorations()
491
+ ];
492
+ function getTransformers(options) {
493
+ const transformers = sortTransformersByEnforcement(options.transformers || []);
494
+ return [
495
+ ...transformers.pre,
496
+ ...transformers.normal,
497
+ ...transformers.post,
498
+ ...builtInTransformers
499
+ ];
500
+ }
501
+ function sortTransformersByEnforcement(transformers) {
502
+ const pre = [];
503
+ const post = [];
504
+ const normal = [];
505
+ for (const transformer of transformers) {
506
+ switch (transformer.enforce) {
507
+ case "pre":
508
+ pre.push(transformer);
509
+ break;
510
+ case "post":
511
+ post.push(transformer);
512
+ break;
513
+ default:
514
+ normal.push(transformer);
515
+ }
516
+ }
517
+ return { pre, post, normal };
518
+ }
519
+
520
+ // src/colors.ts
521
+ var namedColors = [
522
+ "black",
523
+ "red",
524
+ "green",
525
+ "yellow",
526
+ "blue",
527
+ "magenta",
528
+ "cyan",
529
+ "white",
530
+ "brightBlack",
531
+ "brightRed",
532
+ "brightGreen",
533
+ "brightYellow",
534
+ "brightBlue",
535
+ "brightMagenta",
536
+ "brightCyan",
537
+ "brightWhite"
538
+ ];
539
+
540
+ // src/decorations.ts
541
+ var decorations = {
542
+ 1: "bold",
543
+ 2: "dim",
544
+ 3: "italic",
545
+ 4: "underline",
546
+ 7: "reverse",
547
+ 8: "hidden",
548
+ 9: "strikethrough"
549
+ };
550
+
551
+ // src/parser.ts
552
+ function findSequence(value, position) {
553
+ const nextEscape = value.indexOf("\x1B", position);
554
+ if (nextEscape !== -1) {
555
+ if (value[nextEscape + 1] === "[") {
556
+ const nextClose = value.indexOf("m", nextEscape);
557
+ if (nextClose !== -1) {
558
+ return {
559
+ sequence: value.substring(nextEscape + 2, nextClose).split(";"),
560
+ startPosition: nextEscape,
561
+ position: nextClose + 1
562
+ };
563
+ }
564
+ }
565
+ }
566
+ return {
567
+ position: value.length
568
+ };
569
+ }
570
+ function parseColor(sequence) {
571
+ const colorMode = sequence.shift();
572
+ if (colorMode === "2") {
573
+ const rgb = sequence.splice(0, 3).map((x) => Number.parseInt(x));
574
+ if (rgb.length !== 3 || rgb.some((x) => Number.isNaN(x)))
575
+ return;
576
+ return {
577
+ type: "rgb",
578
+ rgb
579
+ };
580
+ } else if (colorMode === "5") {
581
+ const index = sequence.shift();
582
+ if (index) {
583
+ return { type: "table", index: Number(index) };
584
+ }
585
+ }
586
+ }
587
+ function parseSequence(sequence) {
588
+ const commands = [];
589
+ while (sequence.length > 0) {
590
+ const code = sequence.shift();
591
+ if (!code)
592
+ continue;
593
+ const codeInt = Number.parseInt(code);
594
+ if (Number.isNaN(codeInt))
595
+ continue;
596
+ if (codeInt === 0) {
597
+ commands.push({ type: "resetAll" });
598
+ } else if (codeInt <= 9) {
599
+ const decoration = decorations[codeInt];
600
+ if (decoration) {
601
+ commands.push({
602
+ type: "setDecoration",
603
+ value: decorations[codeInt]
604
+ });
605
+ }
606
+ } else if (codeInt <= 29) {
607
+ const decoration = decorations[codeInt - 20];
608
+ if (decoration) {
609
+ commands.push({
610
+ type: "resetDecoration",
611
+ value: decoration
612
+ });
613
+ if (decoration === "dim") {
614
+ commands.push({
615
+ type: "resetDecoration",
616
+ value: "bold"
617
+ });
618
+ }
619
+ }
620
+ } else if (codeInt <= 37) {
621
+ commands.push({
622
+ type: "setForegroundColor",
623
+ value: { type: "named", name: namedColors[codeInt - 30] }
624
+ });
625
+ } else if (codeInt === 38) {
626
+ const color = parseColor(sequence);
627
+ if (color) {
628
+ commands.push({
629
+ type: "setForegroundColor",
630
+ value: color
631
+ });
632
+ }
633
+ } else if (codeInt === 39) {
634
+ commands.push({
635
+ type: "resetForegroundColor"
636
+ });
637
+ } else if (codeInt <= 47) {
638
+ commands.push({
639
+ type: "setBackgroundColor",
640
+ value: { type: "named", name: namedColors[codeInt - 40] }
641
+ });
642
+ } else if (codeInt === 48) {
643
+ const color = parseColor(sequence);
644
+ if (color) {
645
+ commands.push({
646
+ type: "setBackgroundColor",
647
+ value: color
648
+ });
649
+ }
650
+ } else if (codeInt === 49) {
651
+ commands.push({
652
+ type: "resetBackgroundColor"
653
+ });
654
+ } else if (codeInt === 53) {
655
+ commands.push({
656
+ type: "setDecoration",
657
+ value: "overline"
658
+ });
659
+ } else if (codeInt === 55) {
660
+ commands.push({
661
+ type: "resetDecoration",
662
+ value: "overline"
663
+ });
664
+ } else if (codeInt >= 90 && codeInt <= 97) {
665
+ commands.push({
666
+ type: "setForegroundColor",
667
+ value: { type: "named", name: namedColors[codeInt - 90 + 8] }
668
+ });
669
+ } else if (codeInt >= 100 && codeInt <= 107) {
670
+ commands.push({
671
+ type: "setBackgroundColor",
672
+ value: { type: "named", name: namedColors[codeInt - 100 + 8] }
673
+ });
674
+ }
675
+ }
676
+ return commands;
677
+ }
678
+ function createAnsiSequenceParser() {
679
+ let foreground = null;
680
+ let background = null;
681
+ let decorations2 = /* @__PURE__ */ new Set();
682
+ return {
683
+ parse(value) {
684
+ const tokens = [];
685
+ let position = 0;
686
+ do {
687
+ const findResult = findSequence(value, position);
688
+ const text = findResult.sequence ? value.substring(position, findResult.startPosition) : value.substring(position);
689
+ if (text.length > 0) {
690
+ tokens.push({
691
+ value: text,
692
+ foreground,
693
+ background,
694
+ decorations: new Set(decorations2)
695
+ });
696
+ }
697
+ if (findResult.sequence) {
698
+ const commands = parseSequence(findResult.sequence);
699
+ for (const styleToken of commands) {
700
+ if (styleToken.type === "resetAll") {
701
+ foreground = null;
702
+ background = null;
703
+ decorations2.clear();
704
+ } else if (styleToken.type === "resetForegroundColor") {
705
+ foreground = null;
706
+ } else if (styleToken.type === "resetBackgroundColor") {
707
+ background = null;
708
+ } else if (styleToken.type === "resetDecoration") {
709
+ decorations2.delete(styleToken.value);
710
+ }
711
+ }
712
+ for (const styleToken of commands) {
713
+ if (styleToken.type === "setForegroundColor") {
714
+ foreground = styleToken.value;
715
+ } else if (styleToken.type === "setBackgroundColor") {
716
+ background = styleToken.value;
717
+ } else if (styleToken.type === "setDecoration") {
718
+ decorations2.add(styleToken.value);
719
+ }
720
+ }
721
+ }
722
+ position = findResult.position;
723
+ } while (position < value.length);
724
+ return tokens;
725
+ }
726
+ };
727
+ }
728
+
729
+ // src/palette.ts
730
+ var defaultNamedColorsMap = {
731
+ black: "#000000",
732
+ red: "#bb0000",
733
+ green: "#00bb00",
734
+ yellow: "#bbbb00",
735
+ blue: "#0000bb",
736
+ magenta: "#ff00ff",
737
+ cyan: "#00bbbb",
738
+ white: "#eeeeee",
739
+ brightBlack: "#555555",
740
+ brightRed: "#ff5555",
741
+ brightGreen: "#00ff00",
742
+ brightYellow: "#ffff55",
743
+ brightBlue: "#5555ff",
744
+ brightMagenta: "#ff55ff",
745
+ brightCyan: "#55ffff",
746
+ brightWhite: "#ffffff"
747
+ };
748
+ function createColorPalette(namedColorsMap = defaultNamedColorsMap) {
749
+ function namedColor(name) {
750
+ return namedColorsMap[name];
751
+ }
752
+ function rgbColor(rgb) {
753
+ return `#${rgb.map((x) => Math.max(0, Math.min(x, 255)).toString(16).padStart(2, "0")).join("")}`;
754
+ }
755
+ let colorTable;
756
+ function getColorTable() {
757
+ if (colorTable) {
758
+ return colorTable;
759
+ }
760
+ colorTable = [];
761
+ for (let i = 0; i < namedColors.length; i++) {
762
+ colorTable.push(namedColor(namedColors[i]));
763
+ }
764
+ let levels = [0, 95, 135, 175, 215, 255];
765
+ for (let r = 0; r < 6; r++) {
766
+ for (let g = 0; g < 6; g++) {
767
+ for (let b = 0; b < 6; b++) {
768
+ colorTable.push(rgbColor([levels[r], levels[g], levels[b]]));
769
+ }
770
+ }
771
+ }
772
+ let level = 8;
773
+ for (let i = 0; i < 24; i++, level += 10) {
774
+ colorTable.push(rgbColor([level, level, level]));
775
+ }
776
+ return colorTable;
777
+ }
778
+ function tableColor(index) {
779
+ return getColorTable()[index];
780
+ }
781
+ function value(color) {
782
+ switch (color.type) {
783
+ case "named":
784
+ return namedColor(color.name);
785
+ case "rgb":
786
+ return rgbColor(color.rgb);
787
+ case "table":
788
+ return tableColor(color.index);
789
+ }
790
+ }
791
+ return {
792
+ value
793
+ };
794
+ }
795
+
796
+ const defaultAnsiColors = {
797
+ black: "#000000",
798
+ red: "#cd3131",
799
+ green: "#0DBC79",
800
+ yellow: "#E5E510",
801
+ blue: "#2472C8",
802
+ magenta: "#BC3FBC",
803
+ cyan: "#11A8CD",
804
+ white: "#E5E5E5",
805
+ brightBlack: "#666666",
806
+ brightRed: "#F14C4C",
807
+ brightGreen: "#23D18B",
808
+ brightYellow: "#F5F543",
809
+ brightBlue: "#3B8EEA",
810
+ brightMagenta: "#D670D6",
811
+ brightCyan: "#29B8DB",
812
+ brightWhite: "#FFFFFF"
813
+ };
814
+ function tokenizeAnsiWithTheme(theme, fileContents, options) {
815
+ const colorReplacements = resolveColorReplacements(theme, options);
816
+ const lines = splitLines(fileContents);
817
+ const ansiPalette = Object.fromEntries(
818
+ namedColors.map((name) => {
819
+ const key = `terminal.ansi${name[0].toUpperCase()}${name.substring(1)}`;
820
+ const themeColor = theme.colors?.[key];
821
+ return [name, themeColor || defaultAnsiColors[name]];
822
+ })
823
+ );
824
+ const colorPalette = createColorPalette(ansiPalette);
825
+ const parser = createAnsiSequenceParser();
826
+ return lines.map(
827
+ (line) => parser.parse(line[0]).map((token) => {
828
+ let color;
829
+ let bgColor;
830
+ if (token.decorations.has("reverse")) {
831
+ color = token.background ? colorPalette.value(token.background) : theme.bg;
832
+ bgColor = token.foreground ? colorPalette.value(token.foreground) : theme.fg;
833
+ } else {
834
+ color = token.foreground ? colorPalette.value(token.foreground) : theme.fg;
835
+ bgColor = token.background ? colorPalette.value(token.background) : void 0;
836
+ }
837
+ color = applyColorReplacements(color, colorReplacements);
838
+ bgColor = applyColorReplacements(bgColor, colorReplacements);
839
+ if (token.decorations.has("dim"))
840
+ color = dimColor(color);
841
+ let fontStyle = FontStyle.None;
842
+ if (token.decorations.has("bold"))
843
+ fontStyle |= FontStyle.Bold;
844
+ if (token.decorations.has("italic"))
845
+ fontStyle |= FontStyle.Italic;
846
+ if (token.decorations.has("underline"))
847
+ fontStyle |= FontStyle.Underline;
848
+ if (token.decorations.has("strikethrough"))
849
+ fontStyle |= FontStyle.Strikethrough;
850
+ return {
851
+ content: token.value,
852
+ offset: line[1],
853
+ // TODO: more accurate offset? might need to fork ansi-sequence-parser
854
+ color,
855
+ bgColor,
856
+ fontStyle
857
+ };
858
+ })
859
+ );
860
+ }
861
+ function dimColor(color) {
862
+ const hexMatch = color.match(/#([0-9a-f]{3,8})/i);
863
+ if (hexMatch) {
864
+ const hex = hexMatch[1];
865
+ if (hex.length === 8) {
866
+ const alpha = Math.round(Number.parseInt(hex.slice(6, 8), 16) / 2).toString(16).padStart(2, "0");
867
+ return `#${hex.slice(0, 6)}${alpha}`;
868
+ } else if (hex.length === 6) {
869
+ return `#${hex}80`;
870
+ } else if (hex.length === 4) {
871
+ const r = hex[0];
872
+ const g = hex[1];
873
+ const b = hex[2];
874
+ const a = hex[3];
875
+ const alpha = Math.round(Number.parseInt(`${a}${a}`, 16) / 2).toString(16).padStart(2, "0");
876
+ return `#${r}${r}${g}${g}${b}${b}${alpha}`;
877
+ } else if (hex.length === 3) {
878
+ const r = hex[0];
879
+ const g = hex[1];
880
+ const b = hex[2];
881
+ return `#${r}${r}${g}${g}${b}${b}80`;
882
+ }
883
+ }
884
+ const cssVarMatch = color.match(/var\((--[\w-]+-ansi-[\w-]+)\)/);
885
+ if (cssVarMatch)
886
+ return `var(${cssVarMatch[1]}-dim)`;
887
+ return color;
888
+ }
889
+
890
+ function codeToTokensBase(internal, code, options = {}) {
891
+ const {
892
+ theme: themeName = internal.getLoadedThemes()[0]
893
+ } = options;
894
+ const lang = internal.resolveLangAlias(options.lang || "text");
895
+ if (isPlainLang(lang) || isNoneTheme(themeName))
896
+ return splitLines(code).map((line) => [{ content: line[0], offset: line[1] }]);
897
+ const { theme, colorMap } = internal.setTheme(themeName);
898
+ if (lang === "ansi")
899
+ return tokenizeAnsiWithTheme(theme, code, options);
900
+ const _grammar = internal.getLanguage(options.lang || "text");
901
+ if (options.grammarState) {
902
+ if (options.grammarState.lang !== _grammar.name) {
903
+ throw new ShikiError$1(`Grammar state language "${options.grammarState.lang}" does not match highlight language "${_grammar.name}"`);
904
+ }
905
+ if (!options.grammarState.themes.includes(theme.name)) {
906
+ throw new ShikiError$1(`Grammar state themes "${options.grammarState.themes}" do not contain highlight theme "${theme.name}"`);
907
+ }
908
+ }
909
+ return tokenizeWithTheme(code, _grammar, theme, colorMap, options);
910
+ }
911
+ function getLastGrammarState(...args) {
912
+ if (args.length === 2) {
913
+ return getLastGrammarStateFromMap(args[1]);
914
+ }
915
+ const [internal, code, options = {}] = args;
916
+ const {
917
+ lang = "text",
918
+ theme: themeName = internal.getLoadedThemes()[0]
919
+ } = options;
920
+ if (isPlainLang(lang) || isNoneTheme(themeName))
921
+ throw new ShikiError$1("Plain language does not have grammar state");
922
+ if (lang === "ansi")
923
+ throw new ShikiError$1("ANSI language does not have grammar state");
924
+ const { theme, colorMap } = internal.setTheme(themeName);
925
+ const _grammar = internal.getLanguage(lang);
926
+ return new GrammarState(
927
+ _tokenizeWithTheme(code, _grammar, theme, colorMap, options).stateStack,
928
+ _grammar.name,
929
+ theme.name
930
+ );
931
+ }
932
+ function tokenizeWithTheme(code, grammar, theme, colorMap, options) {
933
+ const result = _tokenizeWithTheme(code, grammar, theme, colorMap, options);
934
+ const grammarState = new GrammarState(
935
+ result.stateStack,
936
+ grammar.name,
937
+ theme.name
938
+ );
939
+ setLastGrammarStateToMap(result.tokens, grammarState);
940
+ return result.tokens;
941
+ }
942
+ function _tokenizeWithTheme(code, grammar, theme, colorMap, options) {
943
+ const colorReplacements = resolveColorReplacements(theme, options);
944
+ const {
945
+ tokenizeMaxLineLength = 0,
946
+ tokenizeTimeLimit = 500
947
+ } = options;
948
+ const lines = splitLines(code);
949
+ let stateStack = options.grammarState ? getGrammarStack(options.grammarState, theme.name) ?? INITIAL : options.grammarContextCode != null ? _tokenizeWithTheme(
950
+ options.grammarContextCode,
951
+ grammar,
952
+ theme,
953
+ colorMap,
954
+ {
955
+ ...options,
956
+ grammarState: void 0,
957
+ grammarContextCode: void 0
958
+ }
959
+ ).stateStack : INITIAL;
960
+ let actual = [];
961
+ const final = [];
962
+ for (let i = 0, len = lines.length; i < len; i++) {
963
+ const [line, lineOffset] = lines[i];
964
+ if (line === "") {
965
+ actual = [];
966
+ final.push([]);
967
+ continue;
968
+ }
969
+ if (tokenizeMaxLineLength > 0 && line.length >= tokenizeMaxLineLength) {
970
+ actual = [];
971
+ final.push([{
972
+ content: line,
973
+ offset: lineOffset,
974
+ color: "",
975
+ fontStyle: 0
976
+ }]);
977
+ continue;
978
+ }
979
+ let resultWithScopes;
980
+ let tokensWithScopes;
981
+ let tokensWithScopesIndex;
982
+ if (options.includeExplanation) {
983
+ resultWithScopes = grammar.tokenizeLine(line, stateStack, tokenizeTimeLimit);
984
+ tokensWithScopes = resultWithScopes.tokens;
985
+ tokensWithScopesIndex = 0;
986
+ }
987
+ const result = grammar.tokenizeLine2(line, stateStack, tokenizeTimeLimit);
988
+ const tokensLength = result.tokens.length / 2;
989
+ for (let j = 0; j < tokensLength; j++) {
990
+ const startIndex = result.tokens[2 * j];
991
+ const nextStartIndex = j + 1 < tokensLength ? result.tokens[2 * j + 2] : line.length;
992
+ if (startIndex === nextStartIndex)
993
+ continue;
994
+ const metadata = result.tokens[2 * j + 1];
995
+ const color = applyColorReplacements(
996
+ colorMap[EncodedTokenMetadata.getForeground(metadata)],
997
+ colorReplacements
998
+ );
999
+ const fontStyle = EncodedTokenMetadata.getFontStyle(metadata);
1000
+ const token = {
1001
+ content: line.substring(startIndex, nextStartIndex),
1002
+ offset: lineOffset + startIndex,
1003
+ color,
1004
+ fontStyle
1005
+ };
1006
+ if (options.includeExplanation) {
1007
+ const themeSettingsSelectors = [];
1008
+ if (options.includeExplanation !== "scopeName") {
1009
+ for (const setting of theme.settings) {
1010
+ let selectors;
1011
+ switch (typeof setting.scope) {
1012
+ case "string":
1013
+ selectors = setting.scope.split(/,/).map((scope) => scope.trim());
1014
+ break;
1015
+ case "object":
1016
+ selectors = setting.scope;
1017
+ break;
1018
+ default:
1019
+ continue;
1020
+ }
1021
+ themeSettingsSelectors.push({
1022
+ settings: setting,
1023
+ selectors: selectors.map((selector) => selector.split(/ /))
1024
+ });
1025
+ }
1026
+ }
1027
+ token.explanation = [];
1028
+ let offset = 0;
1029
+ while (startIndex + offset < nextStartIndex) {
1030
+ const tokenWithScopes = tokensWithScopes[tokensWithScopesIndex];
1031
+ const tokenWithScopesText = line.substring(
1032
+ tokenWithScopes.startIndex,
1033
+ tokenWithScopes.endIndex
1034
+ );
1035
+ offset += tokenWithScopesText.length;
1036
+ token.explanation.push({
1037
+ content: tokenWithScopesText,
1038
+ scopes: options.includeExplanation === "scopeName" ? explainThemeScopesNameOnly(
1039
+ tokenWithScopes.scopes
1040
+ ) : explainThemeScopesFull(
1041
+ themeSettingsSelectors,
1042
+ tokenWithScopes.scopes
1043
+ )
1044
+ });
1045
+ tokensWithScopesIndex += 1;
1046
+ }
1047
+ }
1048
+ actual.push(token);
1049
+ }
1050
+ final.push(actual);
1051
+ actual = [];
1052
+ stateStack = result.ruleStack;
1053
+ }
1054
+ return {
1055
+ tokens: final,
1056
+ stateStack
1057
+ };
1058
+ }
1059
+ function explainThemeScopesNameOnly(scopes) {
1060
+ return scopes.map((scope) => ({ scopeName: scope }));
1061
+ }
1062
+ function explainThemeScopesFull(themeSelectors, scopes) {
1063
+ const result = [];
1064
+ for (let i = 0, len = scopes.length; i < len; i++) {
1065
+ const scope = scopes[i];
1066
+ result[i] = {
1067
+ scopeName: scope,
1068
+ themeMatches: explainThemeScope(themeSelectors, scope, scopes.slice(0, i))
1069
+ };
1070
+ }
1071
+ return result;
1072
+ }
1073
+ function matchesOne(selector, scope) {
1074
+ return selector === scope || scope.substring(0, selector.length) === selector && scope[selector.length] === ".";
1075
+ }
1076
+ function matches(selectors, scope, parentScopes) {
1077
+ if (!matchesOne(selectors[selectors.length - 1], scope))
1078
+ return false;
1079
+ let selectorParentIndex = selectors.length - 2;
1080
+ let parentIndex = parentScopes.length - 1;
1081
+ while (selectorParentIndex >= 0 && parentIndex >= 0) {
1082
+ if (matchesOne(selectors[selectorParentIndex], parentScopes[parentIndex]))
1083
+ selectorParentIndex -= 1;
1084
+ parentIndex -= 1;
1085
+ }
1086
+ if (selectorParentIndex === -1)
1087
+ return true;
1088
+ return false;
1089
+ }
1090
+ function explainThemeScope(themeSettingsSelectors, scope, parentScopes) {
1091
+ const result = [];
1092
+ for (const { selectors, settings } of themeSettingsSelectors) {
1093
+ for (const selectorPieces of selectors) {
1094
+ if (matches(selectorPieces, scope, parentScopes)) {
1095
+ result.push(settings);
1096
+ break;
1097
+ }
1098
+ }
1099
+ }
1100
+ return result;
1101
+ }
1102
+
1103
+ function codeToTokensWithThemes(internal, code, options) {
1104
+ const themes = Object.entries(options.themes).filter((i) => i[1]).map((i) => ({ color: i[0], theme: i[1] }));
1105
+ const themedTokens = themes.map((t) => {
1106
+ const tokens2 = codeToTokensBase(internal, code, {
1107
+ ...options,
1108
+ theme: t.theme
1109
+ });
1110
+ const state = getLastGrammarStateFromMap(tokens2);
1111
+ const theme = typeof t.theme === "string" ? t.theme : t.theme.name;
1112
+ return {
1113
+ tokens: tokens2,
1114
+ state,
1115
+ theme
1116
+ };
1117
+ });
1118
+ const tokens = syncThemesTokenization(
1119
+ ...themedTokens.map((i) => i.tokens)
1120
+ );
1121
+ const mergedTokens = tokens[0].map(
1122
+ (line, lineIdx) => line.map((_token, tokenIdx) => {
1123
+ const mergedToken = {
1124
+ content: _token.content,
1125
+ variants: {},
1126
+ offset: _token.offset
1127
+ };
1128
+ if ("includeExplanation" in options && options.includeExplanation) {
1129
+ mergedToken.explanation = _token.explanation;
1130
+ }
1131
+ tokens.forEach((t, themeIdx) => {
1132
+ const {
1133
+ content: _,
1134
+ explanation: __,
1135
+ offset: ___,
1136
+ ...styles
1137
+ } = t[lineIdx][tokenIdx];
1138
+ mergedToken.variants[themes[themeIdx].color] = styles;
1139
+ });
1140
+ return mergedToken;
1141
+ })
1142
+ );
1143
+ const mergedGrammarState = themedTokens[0].state ? new GrammarState(
1144
+ Object.fromEntries(themedTokens.map((s) => [s.theme, s.state?.getInternalStack(s.theme)])),
1145
+ themedTokens[0].state.lang
1146
+ ) : void 0;
1147
+ if (mergedGrammarState)
1148
+ setLastGrammarStateToMap(mergedTokens, mergedGrammarState);
1149
+ return mergedTokens;
1150
+ }
1151
+ function syncThemesTokenization(...themes) {
1152
+ const outThemes = themes.map(() => []);
1153
+ const count = themes.length;
1154
+ for (let i = 0; i < themes[0].length; i++) {
1155
+ const lines = themes.map((t) => t[i]);
1156
+ const outLines = outThemes.map(() => []);
1157
+ outThemes.forEach((t, i2) => t.push(outLines[i2]));
1158
+ const indexes = lines.map(() => 0);
1159
+ const current = lines.map((l) => l[0]);
1160
+ while (current.every((t) => t)) {
1161
+ const minLength = Math.min(...current.map((t) => t.content.length));
1162
+ for (let n = 0; n < count; n++) {
1163
+ const token = current[n];
1164
+ if (token.content.length === minLength) {
1165
+ outLines[n].push(token);
1166
+ indexes[n] += 1;
1167
+ current[n] = lines[n][indexes[n]];
1168
+ } else {
1169
+ outLines[n].push({
1170
+ ...token,
1171
+ content: token.content.slice(0, minLength)
1172
+ });
1173
+ current[n] = {
1174
+ ...token,
1175
+ content: token.content.slice(minLength),
1176
+ offset: token.offset + minLength
1177
+ };
1178
+ }
1179
+ }
1180
+ }
1181
+ }
1182
+ return outThemes;
1183
+ }
1184
+
1185
+ function codeToTokens(internal, code, options) {
1186
+ let bg;
1187
+ let fg;
1188
+ let tokens;
1189
+ let themeName;
1190
+ let rootStyle;
1191
+ let grammarState;
1192
+ if ("themes" in options) {
1193
+ const {
1194
+ defaultColor = "light",
1195
+ cssVariablePrefix = "--shiki-",
1196
+ colorsRendering = "css-vars"
1197
+ } = options;
1198
+ const themes = Object.entries(options.themes).filter((i) => i[1]).map((i) => ({ color: i[0], theme: i[1] })).sort((a, b) => a.color === defaultColor ? -1 : b.color === defaultColor ? 1 : 0);
1199
+ if (themes.length === 0)
1200
+ throw new ShikiError$1("`themes` option must not be empty");
1201
+ const themeTokens = codeToTokensWithThemes(
1202
+ internal,
1203
+ code,
1204
+ options
1205
+ );
1206
+ grammarState = getLastGrammarStateFromMap(themeTokens);
1207
+ if (defaultColor && DEFAULT_COLOR_LIGHT_DARK !== defaultColor && !themes.find((t) => t.color === defaultColor))
1208
+ throw new ShikiError$1(`\`themes\` option must contain the defaultColor key \`${defaultColor}\``);
1209
+ const themeRegs = themes.map((t) => internal.getTheme(t.theme));
1210
+ const themesOrder = themes.map((t) => t.color);
1211
+ tokens = themeTokens.map((line) => line.map((token) => flatTokenVariants(token, themesOrder, cssVariablePrefix, defaultColor, colorsRendering)));
1212
+ if (grammarState)
1213
+ setLastGrammarStateToMap(tokens, grammarState);
1214
+ const themeColorReplacements = themes.map((t) => resolveColorReplacements(t.theme, options));
1215
+ fg = mapThemeColors(themes, themeRegs, themeColorReplacements, cssVariablePrefix, defaultColor, "fg", colorsRendering);
1216
+ bg = mapThemeColors(themes, themeRegs, themeColorReplacements, cssVariablePrefix, defaultColor, "bg", colorsRendering);
1217
+ themeName = `shiki-themes ${themeRegs.map((t) => t.name).join(" ")}`;
1218
+ rootStyle = defaultColor ? void 0 : [fg, bg].join(";");
1219
+ } else if ("theme" in options) {
1220
+ const colorReplacements = resolveColorReplacements(options.theme, options);
1221
+ tokens = codeToTokensBase(
1222
+ internal,
1223
+ code,
1224
+ options
1225
+ );
1226
+ const _theme = internal.getTheme(options.theme);
1227
+ bg = applyColorReplacements(_theme.bg, colorReplacements);
1228
+ fg = applyColorReplacements(_theme.fg, colorReplacements);
1229
+ themeName = _theme.name;
1230
+ grammarState = getLastGrammarStateFromMap(tokens);
1231
+ } else {
1232
+ throw new ShikiError$1("Invalid options, either `theme` or `themes` must be provided");
1233
+ }
1234
+ return {
1235
+ tokens,
1236
+ fg,
1237
+ bg,
1238
+ themeName,
1239
+ rootStyle,
1240
+ grammarState
1241
+ };
1242
+ }
1243
+ function mapThemeColors(themes, themeRegs, themeColorReplacements, cssVariablePrefix, defaultColor, property, colorsRendering) {
1244
+ return themes.map((t, idx) => {
1245
+ const value = applyColorReplacements(themeRegs[idx][property], themeColorReplacements[idx]) || "inherit";
1246
+ const cssVar = `${cssVariablePrefix + t.color}${property === "bg" ? "-bg" : ""}:${value}`;
1247
+ if (idx === 0 && defaultColor) {
1248
+ if (defaultColor === DEFAULT_COLOR_LIGHT_DARK && themes.length > 1) {
1249
+ const lightIndex = themes.findIndex((t2) => t2.color === "light");
1250
+ const darkIndex = themes.findIndex((t2) => t2.color === "dark");
1251
+ if (lightIndex === -1 || darkIndex === -1)
1252
+ throw new ShikiError$1('When using `defaultColor: "light-dark()"`, you must provide both `light` and `dark` themes');
1253
+ const lightValue = applyColorReplacements(themeRegs[lightIndex][property], themeColorReplacements[lightIndex]) || "inherit";
1254
+ const darkValue = applyColorReplacements(themeRegs[darkIndex][property], themeColorReplacements[darkIndex]) || "inherit";
1255
+ return `light-dark(${lightValue}, ${darkValue});${cssVar}`;
1256
+ }
1257
+ return value;
1258
+ }
1259
+ if (colorsRendering === "css-vars") {
1260
+ return cssVar;
1261
+ }
1262
+ return null;
1263
+ }).filter((i) => !!i).join(";");
1264
+ }
1265
+
1266
+ function codeToHast(internal, code, options, transformerContext = {
1267
+ meta: {},
1268
+ options,
1269
+ codeToHast: (_code, _options) => codeToHast(internal, _code, _options),
1270
+ codeToTokens: (_code, _options) => codeToTokens(internal, _code, _options)
1271
+ }) {
1272
+ let input = code;
1273
+ for (const transformer of getTransformers(options))
1274
+ input = transformer.preprocess?.call(transformerContext, input, options) || input;
1275
+ let {
1276
+ tokens,
1277
+ fg,
1278
+ bg,
1279
+ themeName,
1280
+ rootStyle,
1281
+ grammarState
1282
+ } = codeToTokens(internal, input, options);
1283
+ const {
1284
+ mergeWhitespaces = true,
1285
+ mergeSameStyleTokens = false
1286
+ } = options;
1287
+ if (mergeWhitespaces === true)
1288
+ tokens = mergeWhitespaceTokens(tokens);
1289
+ else if (mergeWhitespaces === "never")
1290
+ tokens = splitWhitespaceTokens(tokens);
1291
+ if (mergeSameStyleTokens) {
1292
+ tokens = mergeAdjacentStyledTokens(tokens);
1293
+ }
1294
+ const contextSource = {
1295
+ ...transformerContext,
1296
+ get source() {
1297
+ return input;
1298
+ }
1299
+ };
1300
+ for (const transformer of getTransformers(options))
1301
+ tokens = transformer.tokens?.call(contextSource, tokens) || tokens;
1302
+ return tokensToHast(
1303
+ tokens,
1304
+ {
1305
+ ...options,
1306
+ fg,
1307
+ bg,
1308
+ themeName,
1309
+ rootStyle: options.rootStyle === false ? false : options.rootStyle ?? rootStyle
1310
+ },
1311
+ contextSource,
1312
+ grammarState
1313
+ );
1314
+ }
1315
+ function tokensToHast(tokens, options, transformerContext, grammarState = getLastGrammarStateFromMap(tokens)) {
1316
+ const transformers = getTransformers(options);
1317
+ const lines = [];
1318
+ const root = {
1319
+ type: "root",
1320
+ children: []
1321
+ };
1322
+ const {
1323
+ structure = "classic",
1324
+ tabindex = "0"
1325
+ } = options;
1326
+ const properties = {
1327
+ class: `shiki ${options.themeName || ""}`
1328
+ };
1329
+ if (options.rootStyle !== false) {
1330
+ if (options.rootStyle != null)
1331
+ properties.style = options.rootStyle;
1332
+ else
1333
+ properties.style = `background-color:${options.bg};color:${options.fg}`;
1334
+ }
1335
+ if (tabindex !== false && tabindex != null)
1336
+ properties.tabindex = tabindex.toString();
1337
+ for (const [key, value] of Object.entries(options.meta || {})) {
1338
+ if (!key.startsWith("_"))
1339
+ properties[key] = value;
1340
+ }
1341
+ let preNode = {
1342
+ type: "element",
1343
+ tagName: "pre",
1344
+ properties,
1345
+ children: [],
1346
+ data: options.data
1347
+ };
1348
+ let codeNode = {
1349
+ type: "element",
1350
+ tagName: "code",
1351
+ properties: {},
1352
+ children: lines
1353
+ };
1354
+ const lineNodes = [];
1355
+ const context = {
1356
+ ...transformerContext,
1357
+ structure,
1358
+ addClassToHast,
1359
+ get source() {
1360
+ return transformerContext.source;
1361
+ },
1362
+ get tokens() {
1363
+ return tokens;
1364
+ },
1365
+ get options() {
1366
+ return options;
1367
+ },
1368
+ get root() {
1369
+ return root;
1370
+ },
1371
+ get pre() {
1372
+ return preNode;
1373
+ },
1374
+ get code() {
1375
+ return codeNode;
1376
+ },
1377
+ get lines() {
1378
+ return lineNodes;
1379
+ }
1380
+ };
1381
+ tokens.forEach((line, idx) => {
1382
+ if (idx) {
1383
+ if (structure === "inline")
1384
+ root.children.push({ type: "element", tagName: "br", properties: {}, children: [] });
1385
+ else if (structure === "classic")
1386
+ lines.push({ type: "text", value: "\n" });
1387
+ }
1388
+ let lineNode = {
1389
+ type: "element",
1390
+ tagName: "span",
1391
+ properties: { class: "line" },
1392
+ children: []
1393
+ };
1394
+ let col = 0;
1395
+ for (const token of line) {
1396
+ let tokenNode = {
1397
+ type: "element",
1398
+ tagName: "span",
1399
+ properties: {
1400
+ ...token.htmlAttrs
1401
+ },
1402
+ children: [{ type: "text", value: token.content }]
1403
+ };
1404
+ const style = stringifyTokenStyle(token.htmlStyle || getTokenStyleObject(token));
1405
+ if (style)
1406
+ tokenNode.properties.style = style;
1407
+ for (const transformer of transformers)
1408
+ tokenNode = transformer?.span?.call(context, tokenNode, idx + 1, col, lineNode, token) || tokenNode;
1409
+ if (structure === "inline")
1410
+ root.children.push(tokenNode);
1411
+ else if (structure === "classic")
1412
+ lineNode.children.push(tokenNode);
1413
+ col += token.content.length;
1414
+ }
1415
+ if (structure === "classic") {
1416
+ for (const transformer of transformers)
1417
+ lineNode = transformer?.line?.call(context, lineNode, idx + 1) || lineNode;
1418
+ lineNodes.push(lineNode);
1419
+ lines.push(lineNode);
1420
+ } else if (structure === "inline") {
1421
+ lineNodes.push(lineNode);
1422
+ }
1423
+ });
1424
+ if (structure === "classic") {
1425
+ for (const transformer of transformers)
1426
+ codeNode = transformer?.code?.call(context, codeNode) || codeNode;
1427
+ preNode.children.push(codeNode);
1428
+ for (const transformer of transformers)
1429
+ preNode = transformer?.pre?.call(context, preNode) || preNode;
1430
+ root.children.push(preNode);
1431
+ } else if (structure === "inline") {
1432
+ const syntheticLines = [];
1433
+ let currentLine = {
1434
+ type: "element",
1435
+ tagName: "span",
1436
+ properties: { class: "line" },
1437
+ children: []
1438
+ };
1439
+ for (const child of root.children) {
1440
+ if (child.type === "element" && child.tagName === "br") {
1441
+ syntheticLines.push(currentLine);
1442
+ currentLine = {
1443
+ type: "element",
1444
+ tagName: "span",
1445
+ properties: { class: "line" },
1446
+ children: []
1447
+ };
1448
+ } else if (child.type === "element" || child.type === "text") {
1449
+ currentLine.children.push(child);
1450
+ }
1451
+ }
1452
+ syntheticLines.push(currentLine);
1453
+ const syntheticCode = {
1454
+ type: "element",
1455
+ tagName: "code",
1456
+ properties: {},
1457
+ children: syntheticLines
1458
+ };
1459
+ let transformedCode = syntheticCode;
1460
+ for (const transformer of transformers)
1461
+ transformedCode = transformer?.code?.call(context, transformedCode) || transformedCode;
1462
+ root.children = [];
1463
+ for (let i = 0; i < transformedCode.children.length; i++) {
1464
+ if (i > 0)
1465
+ root.children.push({ type: "element", tagName: "br", properties: {}, children: [] });
1466
+ const line = transformedCode.children[i];
1467
+ if (line.type === "element")
1468
+ root.children.push(...line.children);
1469
+ }
1470
+ }
1471
+ let result = root;
1472
+ for (const transformer of transformers)
1473
+ result = transformer?.root?.call(context, result) || result;
1474
+ if (grammarState)
1475
+ setLastGrammarStateToMap(result, grammarState);
1476
+ return result;
1477
+ }
1478
+ function mergeWhitespaceTokens(tokens) {
1479
+ return tokens.map((line) => {
1480
+ const newLine = [];
1481
+ let carryOnContent = "";
1482
+ let firstOffset;
1483
+ line.forEach((token, idx) => {
1484
+ const isDecorated = token.fontStyle && (token.fontStyle & FontStyle.Underline || token.fontStyle & FontStyle.Strikethrough);
1485
+ const couldMerge = !isDecorated;
1486
+ if (couldMerge && token.content.match(/^\s+$/) && line[idx + 1]) {
1487
+ if (firstOffset === void 0)
1488
+ firstOffset = token.offset;
1489
+ carryOnContent += token.content;
1490
+ } else {
1491
+ if (carryOnContent) {
1492
+ if (couldMerge) {
1493
+ newLine.push({
1494
+ ...token,
1495
+ offset: firstOffset,
1496
+ content: carryOnContent + token.content
1497
+ });
1498
+ } else {
1499
+ newLine.push(
1500
+ {
1501
+ content: carryOnContent,
1502
+ offset: firstOffset
1503
+ },
1504
+ token
1505
+ );
1506
+ }
1507
+ firstOffset = void 0;
1508
+ carryOnContent = "";
1509
+ } else {
1510
+ newLine.push(token);
1511
+ }
1512
+ }
1513
+ });
1514
+ return newLine;
1515
+ });
1516
+ }
1517
+ function splitWhitespaceTokens(tokens) {
1518
+ return tokens.map((line) => {
1519
+ return line.flatMap((token) => {
1520
+ if (token.content.match(/^\s+$/))
1521
+ return token;
1522
+ const match = token.content.match(/^(\s*)(.*?)(\s*)$/);
1523
+ if (!match)
1524
+ return token;
1525
+ const [, leading, content, trailing] = match;
1526
+ if (!leading && !trailing)
1527
+ return token;
1528
+ const expanded = [{
1529
+ ...token,
1530
+ offset: token.offset + leading.length,
1531
+ content
1532
+ }];
1533
+ if (leading) {
1534
+ expanded.unshift({
1535
+ content: leading,
1536
+ offset: token.offset
1537
+ });
1538
+ }
1539
+ if (trailing) {
1540
+ expanded.push({
1541
+ content: trailing,
1542
+ offset: token.offset + leading.length + content.length
1543
+ });
1544
+ }
1545
+ return expanded;
1546
+ });
1547
+ });
1548
+ }
1549
+ function mergeAdjacentStyledTokens(tokens) {
1550
+ return tokens.map((line) => {
1551
+ const newLine = [];
1552
+ for (const token of line) {
1553
+ if (newLine.length === 0) {
1554
+ newLine.push({ ...token });
1555
+ continue;
1556
+ }
1557
+ const prevToken = newLine[newLine.length - 1];
1558
+ const prevStyle = stringifyTokenStyle(prevToken.htmlStyle || getTokenStyleObject(prevToken));
1559
+ const currentStyle = stringifyTokenStyle(token.htmlStyle || getTokenStyleObject(token));
1560
+ const isPrevDecorated = prevToken.fontStyle && (prevToken.fontStyle & FontStyle.Underline || prevToken.fontStyle & FontStyle.Strikethrough);
1561
+ const isDecorated = token.fontStyle && (token.fontStyle & FontStyle.Underline || token.fontStyle & FontStyle.Strikethrough);
1562
+ if (!isPrevDecorated && !isDecorated && prevStyle === currentStyle) {
1563
+ prevToken.content += token.content;
1564
+ } else {
1565
+ newLine.push({ ...token });
1566
+ }
1567
+ }
1568
+ return newLine;
1569
+ });
1570
+ }
1571
+
1572
+ const hastToHtml = toHtml;
1573
+ function codeToHtml(internal, code, options) {
1574
+ const context = {
1575
+ meta: {},
1576
+ options,
1577
+ codeToHast: (_code, _options) => codeToHast(internal, _code, _options),
1578
+ codeToTokens: (_code, _options) => codeToTokens(internal, _code, _options)
1579
+ };
1580
+ let result = hastToHtml(codeToHast(internal, code, options, context));
1581
+ for (const transformer of getTransformers(options))
1582
+ result = transformer.postprocess?.call(context, result, options) || result;
1583
+ return result;
1584
+ }
1585
+
1586
+ const VSCODE_FALLBACK_EDITOR_FG = { light: "#333333", dark: "#bbbbbb" };
1587
+ const VSCODE_FALLBACK_EDITOR_BG = { light: "#fffffe", dark: "#1e1e1e" };
1588
+ const RESOLVED_KEY = "__shiki_resolved";
1589
+ function normalizeTheme(rawTheme) {
1590
+ if (rawTheme?.[RESOLVED_KEY])
1591
+ return rawTheme;
1592
+ const theme = {
1593
+ ...rawTheme
1594
+ };
1595
+ if (theme.tokenColors && !theme.settings) {
1596
+ theme.settings = theme.tokenColors;
1597
+ delete theme.tokenColors;
1598
+ }
1599
+ theme.type ||= "dark";
1600
+ theme.colorReplacements = { ...theme.colorReplacements };
1601
+ theme.settings ||= [];
1602
+ let { bg, fg } = theme;
1603
+ if (!bg || !fg) {
1604
+ const globalSetting = theme.settings ? theme.settings.find((s) => !s.name && !s.scope) : void 0;
1605
+ if (globalSetting?.settings?.foreground)
1606
+ fg = globalSetting.settings.foreground;
1607
+ if (globalSetting?.settings?.background)
1608
+ bg = globalSetting.settings.background;
1609
+ if (!fg && theme?.colors?.["editor.foreground"])
1610
+ fg = theme.colors["editor.foreground"];
1611
+ if (!bg && theme?.colors?.["editor.background"])
1612
+ bg = theme.colors["editor.background"];
1613
+ if (!fg)
1614
+ fg = theme.type === "light" ? VSCODE_FALLBACK_EDITOR_FG.light : VSCODE_FALLBACK_EDITOR_FG.dark;
1615
+ if (!bg)
1616
+ bg = theme.type === "light" ? VSCODE_FALLBACK_EDITOR_BG.light : VSCODE_FALLBACK_EDITOR_BG.dark;
1617
+ theme.fg = fg;
1618
+ theme.bg = bg;
1619
+ }
1620
+ if (!(theme.settings[0] && theme.settings[0].settings && !theme.settings[0].scope)) {
1621
+ theme.settings.unshift({
1622
+ settings: {
1623
+ foreground: theme.fg,
1624
+ background: theme.bg
1625
+ }
1626
+ });
1627
+ }
1628
+ let replacementCount = 0;
1629
+ const replacementMap = /* @__PURE__ */ new Map();
1630
+ function getReplacementColor(value) {
1631
+ if (replacementMap.has(value))
1632
+ return replacementMap.get(value);
1633
+ replacementCount += 1;
1634
+ const hex = `#${replacementCount.toString(16).padStart(8, "0").toLowerCase()}`;
1635
+ if (theme.colorReplacements?.[`#${hex}`])
1636
+ return getReplacementColor(value);
1637
+ replacementMap.set(value, hex);
1638
+ return hex;
1639
+ }
1640
+ theme.settings = theme.settings.map((setting) => {
1641
+ const replaceFg = setting.settings?.foreground && !setting.settings.foreground.startsWith("#");
1642
+ const replaceBg = setting.settings?.background && !setting.settings.background.startsWith("#");
1643
+ if (!replaceFg && !replaceBg)
1644
+ return setting;
1645
+ const clone = {
1646
+ ...setting,
1647
+ settings: {
1648
+ ...setting.settings
1649
+ }
1650
+ };
1651
+ if (replaceFg) {
1652
+ const replacement = getReplacementColor(setting.settings.foreground);
1653
+ theme.colorReplacements[replacement] = setting.settings.foreground;
1654
+ clone.settings.foreground = replacement;
1655
+ }
1656
+ if (replaceBg) {
1657
+ const replacement = getReplacementColor(setting.settings.background);
1658
+ theme.colorReplacements[replacement] = setting.settings.background;
1659
+ clone.settings.background = replacement;
1660
+ }
1661
+ return clone;
1662
+ });
1663
+ for (const key of Object.keys(theme.colors || {})) {
1664
+ if (key === "editor.foreground" || key === "editor.background" || key.startsWith("terminal.ansi")) {
1665
+ if (!theme.colors[key]?.startsWith("#")) {
1666
+ const replacement = getReplacementColor(theme.colors[key]);
1667
+ theme.colorReplacements[replacement] = theme.colors[key];
1668
+ theme.colors[key] = replacement;
1669
+ }
1670
+ }
1671
+ }
1672
+ Object.defineProperty(theme, RESOLVED_KEY, {
1673
+ enumerable: false,
1674
+ writable: false,
1675
+ value: true
1676
+ });
1677
+ return theme;
1678
+ }
1679
+
1680
+ async function resolveLangs(langs) {
1681
+ return Array.from(new Set((await Promise.all(
1682
+ langs.filter((l) => !isSpecialLang(l)).map(async (lang) => await normalizeGetter(lang).then((r) => Array.isArray(r) ? r : [r]))
1683
+ )).flat()));
1684
+ }
1685
+ async function resolveThemes(themes) {
1686
+ const resolved = await Promise.all(
1687
+ themes.map(
1688
+ async (theme) => isSpecialTheme(theme) ? null : normalizeTheme(await normalizeGetter(theme))
1689
+ )
1690
+ );
1691
+ return resolved.filter((i) => !!i);
1692
+ }
1693
+
1694
+ let _emitDeprecation = 3;
1695
+ let _emitError = false;
1696
+ function enableDeprecationWarnings(emitDeprecation = true, emitError = false) {
1697
+ _emitDeprecation = emitDeprecation;
1698
+ _emitError = emitError;
1699
+ }
1700
+ function warnDeprecated(message, version = 3) {
1701
+ if (!_emitDeprecation)
1702
+ return;
1703
+ if (typeof _emitDeprecation === "number" && version > _emitDeprecation)
1704
+ return;
1705
+ if (_emitError) {
1706
+ throw new Error(`[SHIKI DEPRECATE]: ${message}`);
1707
+ } else {
1708
+ console.trace(`[SHIKI DEPRECATE]: ${message}`);
1709
+ }
1710
+ }
1711
+
1712
+ class ShikiError extends Error {
1713
+ constructor(message) {
1714
+ super(message);
1715
+ this.name = "ShikiError";
1716
+ }
1717
+ }
1718
+
1719
+ function resolveLangAlias(name, alias) {
1720
+ if (!alias)
1721
+ return name;
1722
+ if (alias[name]) {
1723
+ const resolved = /* @__PURE__ */ new Set([name]);
1724
+ while (alias[name]) {
1725
+ name = alias[name];
1726
+ if (resolved.has(name))
1727
+ throw new ShikiError(`Circular alias \`${Array.from(resolved).join(" -> ")} -> ${name}\``);
1728
+ resolved.add(name);
1729
+ }
1730
+ }
1731
+ return name;
1732
+ }
1733
+
1734
+ class Registry extends Registry$1 {
1735
+ constructor(_resolver, _themes, _langs, _alias = {}) {
1736
+ super(_resolver);
1737
+ this._resolver = _resolver;
1738
+ this._themes = _themes;
1739
+ this._langs = _langs;
1740
+ this._alias = _alias;
1741
+ this._themes.map((t) => this.loadTheme(t));
1742
+ this.loadLanguages(this._langs);
1743
+ }
1744
+ _resolvedThemes = /* @__PURE__ */ new Map();
1745
+ _resolvedGrammars = /* @__PURE__ */ new Map();
1746
+ _langMap = /* @__PURE__ */ new Map();
1747
+ _langGraph = /* @__PURE__ */ new Map();
1748
+ _textmateThemeCache = /* @__PURE__ */ new WeakMap();
1749
+ _loadedThemesCache = null;
1750
+ _loadedLanguagesCache = null;
1751
+ getTheme(theme) {
1752
+ if (typeof theme === "string")
1753
+ return this._resolvedThemes.get(theme);
1754
+ else
1755
+ return this.loadTheme(theme);
1756
+ }
1757
+ loadTheme(theme) {
1758
+ const _theme = normalizeTheme(theme);
1759
+ if (_theme.name) {
1760
+ this._resolvedThemes.set(_theme.name, _theme);
1761
+ this._loadedThemesCache = null;
1762
+ }
1763
+ return _theme;
1764
+ }
1765
+ getLoadedThemes() {
1766
+ if (!this._loadedThemesCache)
1767
+ this._loadedThemesCache = [...this._resolvedThemes.keys()];
1768
+ return this._loadedThemesCache;
1769
+ }
1770
+ // Override and re-implement this method to cache the textmate themes as `TextMateTheme.createFromRawTheme`
1771
+ // is expensive. Themes can switch often especially for dual-theme support.
1772
+ //
1773
+ // The parent class also accepts `colorMap` as the second parameter, but since we don't use that,
1774
+ // we omit here so it's easier to cache the themes.
1775
+ setTheme(theme) {
1776
+ let textmateTheme = this._textmateThemeCache.get(theme);
1777
+ if (!textmateTheme) {
1778
+ textmateTheme = Theme.createFromRawTheme(theme);
1779
+ this._textmateThemeCache.set(theme, textmateTheme);
1780
+ }
1781
+ this._syncRegistry.setTheme(textmateTheme);
1782
+ }
1783
+ getGrammar(name) {
1784
+ name = resolveLangAlias(name, this._alias);
1785
+ return this._resolvedGrammars.get(name);
1786
+ }
1787
+ loadLanguage(lang) {
1788
+ if (this.getGrammar(lang.name))
1789
+ return;
1790
+ const embeddedLazilyBy = new Set(
1791
+ [...this._langMap.values()].filter((i) => i.embeddedLangsLazy?.includes(lang.name))
1792
+ );
1793
+ this._resolver.addLanguage(lang);
1794
+ const grammarConfig = {
1795
+ balancedBracketSelectors: lang.balancedBracketSelectors || ["*"],
1796
+ unbalancedBracketSelectors: lang.unbalancedBracketSelectors || []
1797
+ };
1798
+ this._syncRegistry._rawGrammars.set(lang.scopeName, lang);
1799
+ const g = this.loadGrammarWithConfiguration(lang.scopeName, 1, grammarConfig);
1800
+ g.name = lang.name;
1801
+ this._resolvedGrammars.set(lang.name, g);
1802
+ if (lang.aliases) {
1803
+ lang.aliases.forEach((alias) => {
1804
+ this._alias[alias] = lang.name;
1805
+ });
1806
+ }
1807
+ this._loadedLanguagesCache = null;
1808
+ if (embeddedLazilyBy.size) {
1809
+ for (const e of embeddedLazilyBy) {
1810
+ this._resolvedGrammars.delete(e.name);
1811
+ this._loadedLanguagesCache = null;
1812
+ this._syncRegistry?._injectionGrammars?.delete(e.scopeName);
1813
+ this._syncRegistry?._grammars?.delete(e.scopeName);
1814
+ this.loadLanguage(this._langMap.get(e.name));
1815
+ }
1816
+ }
1817
+ }
1818
+ dispose() {
1819
+ super.dispose();
1820
+ this._resolvedThemes.clear();
1821
+ this._resolvedGrammars.clear();
1822
+ this._langMap.clear();
1823
+ this._langGraph.clear();
1824
+ this._loadedThemesCache = null;
1825
+ }
1826
+ loadLanguages(langs) {
1827
+ for (const lang of langs)
1828
+ this.resolveEmbeddedLanguages(lang);
1829
+ const langsGraphArray = Array.from(this._langGraph.entries());
1830
+ const missingLangs = langsGraphArray.filter(([_, lang]) => !lang);
1831
+ if (missingLangs.length) {
1832
+ const dependents = langsGraphArray.filter(([_, lang]) => {
1833
+ if (!lang)
1834
+ return false;
1835
+ const embedded = lang.embeddedLanguages || lang.embeddedLangs;
1836
+ return embedded?.some((l) => missingLangs.map(([name]) => name).includes(l));
1837
+ }).filter((lang) => !missingLangs.includes(lang));
1838
+ throw new ShikiError(`Missing languages ${missingLangs.map(([name]) => `\`${name}\``).join(", ")}, required by ${dependents.map(([name]) => `\`${name}\``).join(", ")}`);
1839
+ }
1840
+ for (const [_, lang] of langsGraphArray)
1841
+ this._resolver.addLanguage(lang);
1842
+ for (const [_, lang] of langsGraphArray)
1843
+ this.loadLanguage(lang);
1844
+ }
1845
+ getLoadedLanguages() {
1846
+ if (!this._loadedLanguagesCache) {
1847
+ this._loadedLanguagesCache = [
1848
+ .../* @__PURE__ */ new Set([...this._resolvedGrammars.keys(), ...Object.keys(this._alias)])
1849
+ ];
1850
+ }
1851
+ return this._loadedLanguagesCache;
1852
+ }
1853
+ resolveEmbeddedLanguages(lang) {
1854
+ this._langMap.set(lang.name, lang);
1855
+ this._langGraph.set(lang.name, lang);
1856
+ const embedded = lang.embeddedLanguages ?? lang.embeddedLangs;
1857
+ if (embedded) {
1858
+ for (const embeddedLang of embedded)
1859
+ this._langGraph.set(embeddedLang, this._langMap.get(embeddedLang));
1860
+ }
1861
+ }
1862
+ }
1863
+
1864
+ class Resolver {
1865
+ _langs = /* @__PURE__ */ new Map();
1866
+ _scopeToLang = /* @__PURE__ */ new Map();
1867
+ _injections = /* @__PURE__ */ new Map();
1868
+ _onigLib;
1869
+ constructor(engine, langs) {
1870
+ this._onigLib = {
1871
+ createOnigScanner: (patterns) => engine.createScanner(patterns),
1872
+ createOnigString: (s) => engine.createString(s)
1873
+ };
1874
+ langs.forEach((i) => this.addLanguage(i));
1875
+ }
1876
+ get onigLib() {
1877
+ return this._onigLib;
1878
+ }
1879
+ getLangRegistration(langIdOrAlias) {
1880
+ return this._langs.get(langIdOrAlias);
1881
+ }
1882
+ loadGrammar(scopeName) {
1883
+ return this._scopeToLang.get(scopeName);
1884
+ }
1885
+ addLanguage(l) {
1886
+ this._langs.set(l.name, l);
1887
+ if (l.aliases) {
1888
+ l.aliases.forEach((a) => {
1889
+ this._langs.set(a, l);
1890
+ });
1891
+ }
1892
+ this._scopeToLang.set(l.scopeName, l);
1893
+ if (l.injectTo) {
1894
+ l.injectTo.forEach((i) => {
1895
+ if (!this._injections.get(i))
1896
+ this._injections.set(i, []);
1897
+ this._injections.get(i).push(l.scopeName);
1898
+ });
1899
+ }
1900
+ }
1901
+ getInjections(scopeName) {
1902
+ const scopeParts = scopeName.split(".");
1903
+ let injections = [];
1904
+ for (let i = 1; i <= scopeParts.length; i++) {
1905
+ const subScopeName = scopeParts.slice(0, i).join(".");
1906
+ injections = [...injections, ...this._injections.get(subScopeName) || []];
1907
+ }
1908
+ return injections;
1909
+ }
1910
+ }
1911
+
1912
+ let instancesCount = 0;
1913
+ function createShikiInternalSync(options) {
1914
+ instancesCount += 1;
1915
+ if (options.warnings !== false && instancesCount >= 10 && instancesCount % 10 === 0)
1916
+ console.warn(`[Shiki] ${instancesCount} instances have been created. Shiki is supposed to be used as a singleton, consider refactoring your code to cache your highlighter instance; Or call \`highlighter.dispose()\` to release unused instances.`);
1917
+ let isDisposed = false;
1918
+ if (!options.engine)
1919
+ throw new ShikiError("`engine` option is required for synchronous mode");
1920
+ const langs = (options.langs || []).flat(1);
1921
+ const themes = (options.themes || []).flat(1).map(normalizeTheme);
1922
+ const resolver = new Resolver(options.engine, langs);
1923
+ const _registry = new Registry(resolver, themes, langs, options.langAlias);
1924
+ let _lastTheme;
1925
+ function resolveLangAlias$1(name) {
1926
+ return resolveLangAlias(name, options.langAlias);
1927
+ }
1928
+ function getLanguage(name) {
1929
+ ensureNotDisposed();
1930
+ const _lang = _registry.getGrammar(typeof name === "string" ? name : name.name);
1931
+ if (!_lang)
1932
+ throw new ShikiError(`Language \`${name}\` not found, you may need to load it first`);
1933
+ return _lang;
1934
+ }
1935
+ function getTheme(name) {
1936
+ if (name === "none")
1937
+ return { bg: "", fg: "", name: "none", settings: [], type: "dark" };
1938
+ ensureNotDisposed();
1939
+ const _theme = _registry.getTheme(name);
1940
+ if (!_theme)
1941
+ throw new ShikiError(`Theme \`${name}\` not found, you may need to load it first`);
1942
+ return _theme;
1943
+ }
1944
+ function setTheme(name) {
1945
+ ensureNotDisposed();
1946
+ const theme = getTheme(name);
1947
+ if (_lastTheme !== name) {
1948
+ _registry.setTheme(theme);
1949
+ _lastTheme = name;
1950
+ }
1951
+ const colorMap = _registry.getColorMap();
1952
+ return {
1953
+ theme,
1954
+ colorMap
1955
+ };
1956
+ }
1957
+ function getLoadedThemes() {
1958
+ ensureNotDisposed();
1959
+ return _registry.getLoadedThemes();
1960
+ }
1961
+ function getLoadedLanguages() {
1962
+ ensureNotDisposed();
1963
+ return _registry.getLoadedLanguages();
1964
+ }
1965
+ function loadLanguageSync(...langs2) {
1966
+ ensureNotDisposed();
1967
+ _registry.loadLanguages(langs2.flat(1));
1968
+ }
1969
+ async function loadLanguage(...langs2) {
1970
+ return loadLanguageSync(await resolveLangs(langs2));
1971
+ }
1972
+ function loadThemeSync(...themes2) {
1973
+ ensureNotDisposed();
1974
+ for (const theme of themes2.flat(1)) {
1975
+ _registry.loadTheme(theme);
1976
+ }
1977
+ }
1978
+ async function loadTheme(...themes2) {
1979
+ ensureNotDisposed();
1980
+ return loadThemeSync(await resolveThemes(themes2));
1981
+ }
1982
+ function ensureNotDisposed() {
1983
+ if (isDisposed)
1984
+ throw new ShikiError("Shiki instance has been disposed");
1985
+ }
1986
+ function dispose() {
1987
+ if (isDisposed)
1988
+ return;
1989
+ isDisposed = true;
1990
+ _registry.dispose();
1991
+ instancesCount -= 1;
1992
+ }
1993
+ return {
1994
+ setTheme,
1995
+ getTheme,
1996
+ getLanguage,
1997
+ getLoadedThemes,
1998
+ getLoadedLanguages,
1999
+ resolveLangAlias: resolveLangAlias$1,
2000
+ loadLanguage,
2001
+ loadLanguageSync,
2002
+ loadTheme,
2003
+ loadThemeSync,
2004
+ dispose,
2005
+ [Symbol.dispose]: dispose
2006
+ };
2007
+ }
2008
+
2009
+ async function createShikiInternal(options) {
2010
+ if (!options.engine) {
2011
+ warnDeprecated("`engine` option is required. Use `createOnigurumaEngine` or `createJavaScriptRegexEngine` to create an engine.");
2012
+ }
2013
+ const [
2014
+ themes,
2015
+ langs,
2016
+ engine
2017
+ ] = await Promise.all([
2018
+ resolveThemes(options.themes || []),
2019
+ resolveLangs(options.langs || []),
2020
+ options.engine
2021
+ ]);
2022
+ return createShikiInternalSync({
2023
+ ...options,
2024
+ themes,
2025
+ langs,
2026
+ engine
2027
+ });
2028
+ }
2029
+
2030
+ async function createHighlighterCore(options) {
2031
+ const internal = await createShikiInternal(options);
2032
+ return {
2033
+ getLastGrammarState: (...args) => getLastGrammarState(internal, ...args),
2034
+ codeToTokensBase: (code, options2) => codeToTokensBase(internal, code, options2),
2035
+ codeToTokensWithThemes: (code, options2) => codeToTokensWithThemes(internal, code, options2),
2036
+ codeToTokens: (code, options2) => codeToTokens(internal, code, options2),
2037
+ codeToHast: (code, options2) => codeToHast(internal, code, options2),
2038
+ codeToHtml: (code, options2) => codeToHtml(internal, code, options2),
2039
+ getBundledLanguages: () => ({}),
2040
+ getBundledThemes: () => ({}),
2041
+ ...internal,
2042
+ getInternalContext: () => internal
2043
+ };
2044
+ }
2045
+ function createHighlighterCoreSync(options) {
2046
+ const internal = createShikiInternalSync(options);
2047
+ return {
2048
+ getLastGrammarState: (...args) => getLastGrammarState(internal, ...args),
2049
+ codeToTokensBase: (code, options2) => codeToTokensBase(internal, code, options2),
2050
+ codeToTokensWithThemes: (code, options2) => codeToTokensWithThemes(internal, code, options2),
2051
+ codeToTokens: (code, options2) => codeToTokens(internal, code, options2),
2052
+ codeToHast: (code, options2) => codeToHast(internal, code, options2),
2053
+ codeToHtml: (code, options2) => codeToHtml(internal, code, options2),
2054
+ getBundledLanguages: () => ({}),
2055
+ getBundledThemes: () => ({}),
2056
+ ...internal,
2057
+ getInternalContext: () => internal
2058
+ };
2059
+ }
2060
+ function makeSingletonHighlighterCore(createHighlighter) {
2061
+ let _shiki;
2062
+ async function getSingletonHighlighterCore2(options) {
2063
+ if (!_shiki) {
2064
+ _shiki = createHighlighter({
2065
+ ...options,
2066
+ themes: options.themes || [],
2067
+ langs: options.langs || []
2068
+ });
2069
+ return _shiki;
2070
+ } else {
2071
+ const s = await _shiki;
2072
+ await Promise.all([
2073
+ s.loadTheme(...options.themes || []),
2074
+ s.loadLanguage(...options.langs || [])
2075
+ ]);
2076
+ return s;
2077
+ }
2078
+ }
2079
+ return getSingletonHighlighterCore2;
2080
+ }
2081
+ const getSingletonHighlighterCore = /* @__PURE__ */ makeSingletonHighlighterCore(createHighlighterCore);
2082
+
2083
+ function createBundledHighlighter(options) {
2084
+ const bundledLanguages = options.langs;
2085
+ const bundledThemes = options.themes;
2086
+ const engine = options.engine;
2087
+ async function createHighlighter(options2) {
2088
+ function resolveLang(lang) {
2089
+ if (typeof lang === "string") {
2090
+ lang = options2.langAlias?.[lang] || lang;
2091
+ if (isSpecialLang(lang))
2092
+ return [];
2093
+ const bundle = bundledLanguages[lang];
2094
+ if (!bundle)
2095
+ throw new ShikiError$1(`Language \`${lang}\` is not included in this bundle. You may want to load it from external source.`);
2096
+ return bundle;
2097
+ }
2098
+ return lang;
2099
+ }
2100
+ function resolveTheme(theme) {
2101
+ if (isSpecialTheme(theme))
2102
+ return "none";
2103
+ if (typeof theme === "string") {
2104
+ const bundle = bundledThemes[theme];
2105
+ if (!bundle)
2106
+ throw new ShikiError$1(`Theme \`${theme}\` is not included in this bundle. You may want to load it from external source.`);
2107
+ return bundle;
2108
+ }
2109
+ return theme;
2110
+ }
2111
+ const _themes = (options2.themes ?? []).map((i) => resolveTheme(i));
2112
+ const langs = (options2.langs ?? []).map((i) => resolveLang(i));
2113
+ const core = await createHighlighterCore({
2114
+ engine: options2.engine ?? engine(),
2115
+ ...options2,
2116
+ themes: _themes,
2117
+ langs
2118
+ });
2119
+ return {
2120
+ ...core,
2121
+ loadLanguage(...langs2) {
2122
+ return core.loadLanguage(...langs2.map(resolveLang));
2123
+ },
2124
+ loadTheme(...themes) {
2125
+ return core.loadTheme(...themes.map(resolveTheme));
2126
+ },
2127
+ getBundledLanguages() {
2128
+ return bundledLanguages;
2129
+ },
2130
+ getBundledThemes() {
2131
+ return bundledThemes;
2132
+ }
2133
+ };
2134
+ }
2135
+ return createHighlighter;
2136
+ }
2137
+ function makeSingletonHighlighter(createHighlighter) {
2138
+ let _shiki;
2139
+ async function getSingletonHighlighter(options = {}) {
2140
+ if (!_shiki) {
2141
+ _shiki = createHighlighter({
2142
+ ...options,
2143
+ themes: [],
2144
+ langs: []
2145
+ });
2146
+ const s = await _shiki;
2147
+ await Promise.all([
2148
+ s.loadTheme(...options.themes || []),
2149
+ s.loadLanguage(...options.langs || [])
2150
+ ]);
2151
+ return s;
2152
+ } else {
2153
+ const s = await _shiki;
2154
+ await Promise.all([
2155
+ s.loadTheme(...options.themes || []),
2156
+ s.loadLanguage(...options.langs || [])
2157
+ ]);
2158
+ return s;
2159
+ }
2160
+ }
2161
+ return getSingletonHighlighter;
2162
+ }
2163
+ function createSingletonShorthands(createHighlighter, config) {
2164
+ const getSingletonHighlighter = makeSingletonHighlighter(createHighlighter);
2165
+ async function get(code, options) {
2166
+ const shiki = await getSingletonHighlighter({
2167
+ langs: [options.lang],
2168
+ themes: "theme" in options ? [options.theme] : Object.values(options.themes)
2169
+ });
2170
+ const langs = await config?.guessEmbeddedLanguages?.(code, options.lang, shiki);
2171
+ if (langs) {
2172
+ await shiki.loadLanguage(...langs);
2173
+ }
2174
+ return shiki;
2175
+ }
2176
+ return {
2177
+ getSingletonHighlighter(options) {
2178
+ return getSingletonHighlighter(options);
2179
+ },
2180
+ async codeToHtml(code, options) {
2181
+ const shiki = await get(code, options);
2182
+ return shiki.codeToHtml(code, options);
2183
+ },
2184
+ async codeToHast(code, options) {
2185
+ const shiki = await get(code, options);
2186
+ return shiki.codeToHast(code, options);
2187
+ },
2188
+ async codeToTokens(code, options) {
2189
+ const shiki = await get(code, options);
2190
+ return shiki.codeToTokens(code, options);
2191
+ },
2192
+ async codeToTokensBase(code, options) {
2193
+ const shiki = await get(code, options);
2194
+ return shiki.codeToTokensBase(code, options);
2195
+ },
2196
+ async codeToTokensWithThemes(code, options) {
2197
+ const shiki = await get(code, options);
2198
+ return shiki.codeToTokensWithThemes(code, options);
2199
+ },
2200
+ async getLastGrammarState(code, options) {
2201
+ const shiki = await getSingletonHighlighter({
2202
+ langs: [options.lang],
2203
+ themes: [options.theme]
2204
+ });
2205
+ return shiki.getLastGrammarState(code, options);
2206
+ }
2207
+ };
2208
+ }
2209
+ const createdBundledHighlighter = createBundledHighlighter;
2210
+
2211
+ function createCssVariablesTheme(options = {}) {
2212
+ const {
2213
+ name = "css-variables",
2214
+ variablePrefix = "--shiki-",
2215
+ fontStyle = true
2216
+ } = options;
2217
+ const variable = (name2) => {
2218
+ if (options.variableDefaults?.[name2])
2219
+ return `var(${variablePrefix}${name2}, ${options.variableDefaults[name2]})`;
2220
+ return `var(${variablePrefix}${name2})`;
2221
+ };
2222
+ const theme = {
2223
+ name,
2224
+ type: "dark",
2225
+ colors: {
2226
+ "editor.foreground": variable("foreground"),
2227
+ "editor.background": variable("background"),
2228
+ "terminal.ansiBlack": variable("ansi-black"),
2229
+ "terminal.ansiRed": variable("ansi-red"),
2230
+ "terminal.ansiGreen": variable("ansi-green"),
2231
+ "terminal.ansiYellow": variable("ansi-yellow"),
2232
+ "terminal.ansiBlue": variable("ansi-blue"),
2233
+ "terminal.ansiMagenta": variable("ansi-magenta"),
2234
+ "terminal.ansiCyan": variable("ansi-cyan"),
2235
+ "terminal.ansiWhite": variable("ansi-white"),
2236
+ "terminal.ansiBrightBlack": variable("ansi-bright-black"),
2237
+ "terminal.ansiBrightRed": variable("ansi-bright-red"),
2238
+ "terminal.ansiBrightGreen": variable("ansi-bright-green"),
2239
+ "terminal.ansiBrightYellow": variable("ansi-bright-yellow"),
2240
+ "terminal.ansiBrightBlue": variable("ansi-bright-blue"),
2241
+ "terminal.ansiBrightMagenta": variable("ansi-bright-magenta"),
2242
+ "terminal.ansiBrightCyan": variable("ansi-bright-cyan"),
2243
+ "terminal.ansiBrightWhite": variable("ansi-bright-white")
2244
+ },
2245
+ tokenColors: [
2246
+ {
2247
+ scope: [
2248
+ "keyword.operator.accessor",
2249
+ "meta.group.braces.round.function.arguments",
2250
+ "meta.template.expression",
2251
+ "markup.fenced_code meta.embedded.block"
2252
+ ],
2253
+ settings: {
2254
+ foreground: variable("foreground")
2255
+ }
2256
+ },
2257
+ {
2258
+ scope: "emphasis",
2259
+ settings: {
2260
+ fontStyle: "italic"
2261
+ }
2262
+ },
2263
+ {
2264
+ scope: ["strong", "markup.heading.markdown", "markup.bold.markdown"],
2265
+ settings: {
2266
+ fontStyle: "bold"
2267
+ }
2268
+ },
2269
+ {
2270
+ scope: ["markup.italic.markdown"],
2271
+ settings: {
2272
+ fontStyle: "italic"
2273
+ }
2274
+ },
2275
+ {
2276
+ scope: "meta.link.inline.markdown",
2277
+ settings: {
2278
+ fontStyle: "underline",
2279
+ foreground: variable("token-link")
2280
+ }
2281
+ },
2282
+ {
2283
+ scope: ["string", "markup.fenced_code", "markup.inline"],
2284
+ settings: {
2285
+ foreground: variable("token-string")
2286
+ }
2287
+ },
2288
+ {
2289
+ scope: ["comment", "string.quoted.docstring.multi"],
2290
+ settings: {
2291
+ foreground: variable("token-comment")
2292
+ }
2293
+ },
2294
+ {
2295
+ scope: [
2296
+ "constant.numeric",
2297
+ "constant.language",
2298
+ "constant.other.placeholder",
2299
+ "constant.character.format.placeholder",
2300
+ "variable.language.this",
2301
+ "variable.other.object",
2302
+ "variable.other.class",
2303
+ "variable.other.constant",
2304
+ "meta.property-name",
2305
+ "meta.property-value",
2306
+ "support"
2307
+ ],
2308
+ settings: {
2309
+ foreground: variable("token-constant")
2310
+ }
2311
+ },
2312
+ {
2313
+ scope: [
2314
+ "keyword",
2315
+ "storage.modifier",
2316
+ "storage.type",
2317
+ "storage.control.clojure",
2318
+ "entity.name.function.clojure",
2319
+ "entity.name.tag.yaml",
2320
+ "support.function.node",
2321
+ "support.type.property-name.json",
2322
+ "punctuation.separator.key-value",
2323
+ "punctuation.definition.template-expression"
2324
+ ],
2325
+ settings: {
2326
+ foreground: variable("token-keyword")
2327
+ }
2328
+ },
2329
+ {
2330
+ scope: "variable.parameter.function",
2331
+ settings: {
2332
+ foreground: variable("token-parameter")
2333
+ }
2334
+ },
2335
+ {
2336
+ scope: [
2337
+ "support.function",
2338
+ "entity.name.type",
2339
+ "entity.other.inherited-class",
2340
+ "meta.function-call",
2341
+ "meta.instance.constructor",
2342
+ "entity.other.attribute-name",
2343
+ "entity.name.function",
2344
+ "constant.keyword.clojure"
2345
+ ],
2346
+ settings: {
2347
+ foreground: variable("token-function")
2348
+ }
2349
+ },
2350
+ {
2351
+ scope: [
2352
+ "entity.name.tag",
2353
+ "string.quoted",
2354
+ "string.regexp",
2355
+ "string.interpolated",
2356
+ "string.template",
2357
+ "string.unquoted.plain.out.yaml",
2358
+ "keyword.other.template"
2359
+ ],
2360
+ settings: {
2361
+ foreground: variable("token-string-expression")
2362
+ }
2363
+ },
2364
+ {
2365
+ scope: [
2366
+ "punctuation.definition.arguments",
2367
+ "punctuation.definition.dict",
2368
+ "punctuation.separator",
2369
+ "meta.function-call.arguments"
2370
+ ],
2371
+ settings: {
2372
+ foreground: variable("token-punctuation")
2373
+ }
2374
+ },
2375
+ {
2376
+ // [Custom] Markdown links
2377
+ scope: [
2378
+ "markup.underline.link",
2379
+ "punctuation.definition.metadata.markdown"
2380
+ ],
2381
+ settings: {
2382
+ foreground: variable("token-link")
2383
+ }
2384
+ },
2385
+ {
2386
+ // [Custom] Markdown list
2387
+ scope: ["beginning.punctuation.definition.list.markdown"],
2388
+ settings: {
2389
+ foreground: variable("token-string")
2390
+ }
2391
+ },
2392
+ {
2393
+ // [Custom] Markdown punctuation definition brackets
2394
+ scope: [
2395
+ "punctuation.definition.string.begin.markdown",
2396
+ "punctuation.definition.string.end.markdown",
2397
+ "string.other.link.title.markdown",
2398
+ "string.other.link.description.markdown"
2399
+ ],
2400
+ settings: {
2401
+ foreground: variable("token-keyword")
2402
+ }
2403
+ },
2404
+ {
2405
+ // [Custom] Diff
2406
+ scope: [
2407
+ "markup.inserted",
2408
+ "meta.diff.header.to-file",
2409
+ "punctuation.definition.inserted"
2410
+ ],
2411
+ settings: {
2412
+ foreground: variable("token-inserted")
2413
+ }
2414
+ },
2415
+ {
2416
+ scope: [
2417
+ "markup.deleted",
2418
+ "meta.diff.header.from-file",
2419
+ "punctuation.definition.deleted"
2420
+ ],
2421
+ settings: {
2422
+ foreground: variable("token-deleted")
2423
+ }
2424
+ },
2425
+ {
2426
+ scope: [
2427
+ "markup.changed",
2428
+ "punctuation.definition.changed"
2429
+ ],
2430
+ settings: {
2431
+ foreground: variable("token-changed")
2432
+ }
2433
+ }
2434
+ ]
2435
+ };
2436
+ if (!fontStyle) {
2437
+ theme.tokenColors = theme.tokenColors?.map((tokenColor) => {
2438
+ if (tokenColor.settings?.fontStyle)
2439
+ delete tokenColor.settings.fontStyle;
2440
+ return tokenColor;
2441
+ });
2442
+ }
2443
+ return theme;
2444
+ }
2445
+
2446
+ export { addClassToHast, applyColorReplacements, codeToHast, codeToHtml, codeToTokens, codeToTokensBase, codeToTokensWithThemes, createBundledHighlighter, createCssVariablesTheme, createHighlighterCore, createHighlighterCoreSync, createPositionConverter, createShikiInternal, createShikiInternalSync, createSingletonShorthands, createdBundledHighlighter, enableDeprecationWarnings, flatTokenVariants, getSingletonHighlighterCore, getTokenStyleObject, guessEmbeddedLanguages, hastToHtml, isNoneTheme, isPlainLang, isSpecialLang, isSpecialTheme, makeSingletonHighlighter, makeSingletonHighlighterCore, normalizeGetter, normalizeTheme, resolveColorReplacements, splitLines, splitToken, splitTokens, stringifyTokenStyle, toArray, tokenizeAnsiWithTheme, tokenizeWithTheme, tokensToHast, transformerDecorations, warnDeprecated };