@autocode-cli/autocode 0.8.37 → 0.22.0

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 (1534) hide show
  1. package/.output/nitro.json +15 -0
  2. package/.output/public/_i18n/zP5M_e1m/en/messages.json +1 -0
  3. package/.output/public/_i18n/zP5M_e1m/fr/messages.json +1 -0
  4. package/.output/public/_nuxt/BBgAVlXU.js +1 -0
  5. package/.output/public/_nuxt/BZUmpBmU.js +2 -0
  6. package/.output/public/_nuxt/BmGeRwzG.js +1 -0
  7. package/.output/public/_nuxt/Bsd2P-Xc.js +1 -0
  8. package/.output/public/_nuxt/BthlfLoK.js +1 -0
  9. package/.output/public/_nuxt/Bu1Qq2g-.js +1 -0
  10. package/.output/public/_nuxt/BvF9_V7p.js +1 -0
  11. package/.output/public/_nuxt/BvUbqlcZ.js +2 -0
  12. package/.output/public/_nuxt/Bxcwuw3U.js +1 -0
  13. package/.output/public/_nuxt/C0Rlrcoy.js +59 -0
  14. package/.output/public/_nuxt/CTV7-Iux.js +1 -0
  15. package/.output/public/_nuxt/CWENDdnZ.js +1 -0
  16. package/.output/public/_nuxt/CjVJcaTo.js +7 -0
  17. package/.output/public/_nuxt/CoGBQbLh.js +1 -0
  18. package/.output/public/_nuxt/CtVoJCjv.js +1 -0
  19. package/.output/public/_nuxt/D4lcVP-d.js +1 -0
  20. package/.output/public/_nuxt/D8RlVVzC.js +1 -0
  21. package/.output/public/_nuxt/DBuWa6JT.js +1 -0
  22. package/.output/public/_nuxt/DFQ30pd7.js +1 -0
  23. package/.output/public/_nuxt/DNUcHFTN.js +1 -0
  24. package/.output/public/_nuxt/DRo5NaOZ.js +1 -0
  25. package/.output/public/_nuxt/DU0awelf.js +1 -0
  26. package/.output/public/_nuxt/DYYF8rpr.js +1 -0
  27. package/.output/public/_nuxt/DaYBQX26.js +1 -0
  28. package/.output/public/_nuxt/DwfwVH0w.js +1 -0
  29. package/.output/public/_nuxt/DykwyQae.js +1 -0
  30. package/.output/public/_nuxt/FIIaIpPb.js +1 -0
  31. package/.output/public/_nuxt/IssueHeader.BKYJE9Ko.css +1 -0
  32. package/.output/public/_nuxt/LangSwitcher.DDTh1sNN.css +1 -0
  33. package/.output/public/_nuxt/QtPIr4OQ.js +1 -0
  34. package/.output/public/_nuxt/TA-NBooC.js +1 -0
  35. package/.output/public/_nuxt/TB1o0NrH.js +13 -0
  36. package/.output/public/_nuxt/Zzp33YZj.js +1 -0
  37. package/.output/public/_nuxt/_HJO0SwU.js +1 -0
  38. package/.output/public/_nuxt/_id_.CYj9w2Sw.css +1 -0
  39. package/.output/public/_nuxt/_name_.OOW3Ydwv.css +1 -0
  40. package/.output/public/_nuxt/autocreate.-iJ9Pxhm.css +1 -0
  41. package/.output/public/_nuxt/builds/latest.json +1 -0
  42. package/.output/public/_nuxt/builds/meta/83d9a3fc-c99e-4e26-adef-e7f5b329b81a.json +1 -0
  43. package/.output/public/_nuxt/changelog.CziWegef.css +1 -0
  44. package/.output/public/_nuxt/comments.BcvjcN1z.css +1 -0
  45. package/.output/public/_nuxt/default.BaZU2Ea8.css +1 -0
  46. package/.output/public/_nuxt/entry.CzscD3wg.css +1 -0
  47. package/.output/public/_nuxt/graph.BbpRRv0M.css +1 -0
  48. package/.output/public/_nuxt/iHS1jy-1.js +1 -0
  49. package/.output/public/_nuxt/index.CDND7dpO.css +1 -0
  50. package/.output/public/_nuxt/index.COVdL_Kx.css +1 -0
  51. package/.output/public/_nuxt/index.CTkgb9uR.css +1 -0
  52. package/.output/public/_nuxt/index.DkNg_n4G.css +1 -0
  53. package/.output/public/_nuxt/jYigECdj.js +1 -0
  54. package/.output/public/_nuxt/kanban.BuPOCLgG.css +1 -0
  55. package/.output/public/_nuxt/landing.D5KkDm1b.css +1 -0
  56. package/.output/public/_nuxt/new.BFERdqdm.css +1 -0
  57. package/.output/public/_nuxt/new.BzaiohPo.css +1 -0
  58. package/.output/public/_nuxt/prompt.CbFHjm-L.css +1 -0
  59. package/.output/public/_nuxt/prompt.DM4VdPnn.css +1 -0
  60. package/.output/public/_nuxt/prompt.DZ0wdOji.css +1 -0
  61. package/.output/public/_nuxt/stats.CXzKxZ71.css +1 -0
  62. package/.output/public/_nuxt/terminal.BL0EPPyU.css +1 -0
  63. package/.output/public/_nuxt/terminal.D3JI44PH.css +1 -0
  64. package/.output/public/_nuxt/terminal.YXDzS4Ng.css +1 -0
  65. package/.output/public/_payload.json +1 -0
  66. package/.output/public/favicon.svg +11 -0
  67. package/.output/public/index.html +1 -0
  68. package/.output/public/media/podcast/en.m4a +0 -0
  69. package/.output/public/media/podcast/fr.m4a +0 -0
  70. package/.output/public/og-image.svg +58 -0
  71. package/.output/public/robots.txt +5 -0
  72. package/.output/server/chunks/_/attachments.service.mjs +33 -0
  73. package/.output/server/chunks/_/attachments.service.mjs.map +1 -0
  74. package/.output/server/chunks/_/comments.service.mjs +26 -0
  75. package/.output/server/chunks/_/comments.service.mjs.map +1 -0
  76. package/.output/server/chunks/_/en.mjs +538 -0
  77. package/.output/server/chunks/_/en.mjs.map +1 -0
  78. package/.output/server/chunks/_/error-500.mjs +10 -0
  79. package/.output/server/chunks/_/error-500.mjs.map +1 -0
  80. package/.output/server/chunks/_/fr.mjs +538 -0
  81. package/.output/server/chunks/_/fr.mjs.map +1 -0
  82. package/.output/server/chunks/build/AppHeader-styles.D4cFmBur.mjs +8 -0
  83. package/.output/server/chunks/build/AppHeader-styles.D4cFmBur.mjs.map +1 -0
  84. package/.output/server/chunks/build/CatalogPanel-styles.BJ_ozkvH.mjs +8 -0
  85. package/.output/server/chunks/build/CatalogPanel-styles.BJ_ozkvH.mjs.map +1 -0
  86. package/.output/server/chunks/build/IssueHeader-BKlqeUoH.mjs +127 -0
  87. package/.output/server/chunks/build/IssueHeader-BKlqeUoH.mjs.map +1 -0
  88. package/.output/server/chunks/build/IssueHeader-styles.aWkocVax.mjs +8 -0
  89. package/.output/server/chunks/build/IssueHeader-styles.aWkocVax.mjs.map +1 -0
  90. package/.output/server/chunks/build/LandingArchitecture-styles.Don6ug3a.mjs +8 -0
  91. package/.output/server/chunks/build/LandingArchitecture-styles.Don6ug3a.mjs.map +1 -0
  92. package/.output/server/chunks/build/LandingAutonomy-styles.D9JJFMEO.mjs +8 -0
  93. package/.output/server/chunks/build/LandingAutonomy-styles.D9JJFMEO.mjs.map +1 -0
  94. package/.output/server/chunks/build/LandingCommands-styles.BoLpFQgT.mjs +8 -0
  95. package/.output/server/chunks/build/LandingCommands-styles.BoLpFQgT.mjs.map +1 -0
  96. package/.output/server/chunks/build/LandingDemo-styles.WY8VUN9P.mjs +8 -0
  97. package/.output/server/chunks/build/LandingDemo-styles.WY8VUN9P.mjs.map +1 -0
  98. package/.output/server/chunks/build/LandingFooter-styles.CEshuzKW.mjs +8 -0
  99. package/.output/server/chunks/build/LandingFooter-styles.CEshuzKW.mjs.map +1 -0
  100. package/.output/server/chunks/build/LandingMatrixBg-styles.DKJoYVuG.mjs +8 -0
  101. package/.output/server/chunks/build/LandingMatrixBg-styles.DKJoYVuG.mjs.map +1 -0
  102. package/.output/server/chunks/build/LandingPipeline-styles.CL96fyQR.mjs +8 -0
  103. package/.output/server/chunks/build/LandingPipeline-styles.CL96fyQR.mjs.map +1 -0
  104. package/.output/server/chunks/build/LandingPodcast-styles.BUxvpRMa.mjs +8 -0
  105. package/.output/server/chunks/build/LandingPodcast-styles.BUxvpRMa.mjs.map +1 -0
  106. package/.output/server/chunks/build/LandingRoadmap-styles.DX5EsTsx.mjs +8 -0
  107. package/.output/server/chunks/build/LandingRoadmap-styles.DX5EsTsx.mjs.map +1 -0
  108. package/.output/server/chunks/build/LangSwitcher-BcmlkZkS.mjs +32 -0
  109. package/.output/server/chunks/build/LangSwitcher-BcmlkZkS.mjs.map +1 -0
  110. package/.output/server/chunks/build/LangSwitcher-styles.DjejY3Ry.mjs +8 -0
  111. package/.output/server/chunks/build/LangSwitcher-styles.DjejY3Ry.mjs.map +1 -0
  112. package/.output/server/chunks/build/NotificationContainer-styles.CWuUTY5_.mjs +8 -0
  113. package/.output/server/chunks/build/NotificationContainer-styles.CWuUTY5_.mjs.map +1 -0
  114. package/.output/server/chunks/build/PipelineColumn-styles.DeCMKSUU.mjs +8 -0
  115. package/.output/server/chunks/build/PipelineColumn-styles.DeCMKSUU.mjs.map +1 -0
  116. package/.output/server/chunks/build/PipelineSegments-styles.Cx1F1okc.mjs +8 -0
  117. package/.output/server/chunks/build/PipelineSegments-styles.Cx1F1okc.mjs.map +1 -0
  118. package/.output/server/chunks/build/_id_-CE9OXhn_.mjs +78 -0
  119. package/.output/server/chunks/build/_id_-CE9OXhn_.mjs.map +1 -0
  120. package/.output/server/chunks/build/_id_-styles.DrupDd6T.mjs +8 -0
  121. package/.output/server/chunks/build/_id_-styles.DrupDd6T.mjs.map +1 -0
  122. package/.output/server/chunks/build/_name_-UJA12Rs2.mjs +810 -0
  123. package/.output/server/chunks/build/_name_-UJA12Rs2.mjs.map +1 -0
  124. package/.output/server/chunks/build/_name_-styles.megXcys0.mjs +8 -0
  125. package/.output/server/chunks/build/_name_-styles.megXcys0.mjs.map +1 -0
  126. package/.output/server/chunks/build/autocreate-DrAjWR5B.mjs +113 -0
  127. package/.output/server/chunks/build/autocreate-DrAjWR5B.mjs.map +1 -0
  128. package/.output/server/chunks/build/autocreate-styles.BkUFXyS7.mjs +8 -0
  129. package/.output/server/chunks/build/autocreate-styles.BkUFXyS7.mjs.map +1 -0
  130. package/.output/server/chunks/build/changelog-CVp1u2jo.mjs +159 -0
  131. package/.output/server/chunks/build/changelog-CVp1u2jo.mjs.map +1 -0
  132. package/.output/server/chunks/build/changelog-styles.Ct3EgGku.mjs +8 -0
  133. package/.output/server/chunks/build/changelog-styles.Ct3EgGku.mjs.map +1 -0
  134. package/.output/server/chunks/build/client.precomputed.mjs +4 -0
  135. package/.output/server/chunks/build/client.precomputed.mjs.map +1 -0
  136. package/.output/server/chunks/build/comments-CZn-fPmX.mjs +119 -0
  137. package/.output/server/chunks/build/comments-CZn-fPmX.mjs.map +1 -0
  138. package/.output/server/chunks/build/comments-styles.CMP7TEvm.mjs +8 -0
  139. package/.output/server/chunks/build/comments-styles.CMP7TEvm.mjs.map +1 -0
  140. package/.output/server/chunks/build/default-BovpaVrS.mjs +180 -0
  141. package/.output/server/chunks/build/default-BovpaVrS.mjs.map +1 -0
  142. package/.output/server/chunks/build/default-styles.DCCKRaIF.mjs +8 -0
  143. package/.output/server/chunks/build/default-styles.DCCKRaIF.mjs.map +1 -0
  144. package/.output/server/chunks/build/en-1t1dLE2e.mjs +516 -0
  145. package/.output/server/chunks/build/en-1t1dLE2e.mjs.map +1 -0
  146. package/.output/server/chunks/build/error-styles.DYHGS7iv.mjs +8 -0
  147. package/.output/server/chunks/build/error-styles.DYHGS7iv.mjs.map +1 -0
  148. package/.output/server/chunks/build/fetch-B5NxMLIO.mjs +468 -0
  149. package/.output/server/chunks/build/fetch-B5NxMLIO.mjs.map +1 -0
  150. package/.output/server/chunks/build/fr-DHi8X16R.mjs +516 -0
  151. package/.output/server/chunks/build/fr-DHi8X16R.mjs.map +1 -0
  152. package/.output/server/chunks/build/graph-C-r91hz6.mjs +153 -0
  153. package/.output/server/chunks/build/graph-C-r91hz6.mjs.map +1 -0
  154. package/.output/server/chunks/build/graph-styles.BX4kyxPV.mjs +8 -0
  155. package/.output/server/chunks/build/graph-styles.BX4kyxPV.mjs.map +1 -0
  156. package/.output/server/chunks/build/index-Bm8ROtfk.mjs +239 -0
  157. package/.output/server/chunks/build/index-Bm8ROtfk.mjs.map +1 -0
  158. package/.output/server/chunks/build/index-C0DupdV0.mjs +89 -0
  159. package/.output/server/chunks/build/index-C0DupdV0.mjs.map +1 -0
  160. package/.output/server/chunks/build/index-CqyAV1ko.mjs +741 -0
  161. package/.output/server/chunks/build/index-CqyAV1ko.mjs.map +1 -0
  162. package/.output/server/chunks/build/index-D2tcUNO-.mjs +193 -0
  163. package/.output/server/chunks/build/index-D2tcUNO-.mjs.map +1 -0
  164. package/.output/server/chunks/build/index-styles.BJ7kZO7q.mjs +8 -0
  165. package/.output/server/chunks/build/index-styles.BJ7kZO7q.mjs.map +1 -0
  166. package/.output/server/chunks/build/index-styles.BaICoyCD.mjs +8 -0
  167. package/.output/server/chunks/build/index-styles.BaICoyCD.mjs.map +1 -0
  168. package/.output/server/chunks/build/index-styles.Cy221X-R.mjs +8 -0
  169. package/.output/server/chunks/build/index-styles.Cy221X-R.mjs.map +1 -0
  170. package/.output/server/chunks/build/kanban-CMVmXpCA.mjs +304 -0
  171. package/.output/server/chunks/build/kanban-CMVmXpCA.mjs.map +1 -0
  172. package/.output/server/chunks/build/kanban-styles.CWalvI0C.mjs +8 -0
  173. package/.output/server/chunks/build/kanban-styles.CWalvI0C.mjs.map +1 -0
  174. package/.output/server/chunks/build/landing-DK6wjn6b.mjs +52 -0
  175. package/.output/server/chunks/build/landing-DK6wjn6b.mjs.map +1 -0
  176. package/.output/server/chunks/build/landing-styles.Bx73xEdX.mjs +8 -0
  177. package/.output/server/chunks/build/landing-styles.Bx73xEdX.mjs.map +1 -0
  178. package/.output/server/chunks/build/new-BUvtXOoH.mjs +107 -0
  179. package/.output/server/chunks/build/new-BUvtXOoH.mjs.map +1 -0
  180. package/.output/server/chunks/build/new-DMctSKBX.mjs +171 -0
  181. package/.output/server/chunks/build/new-DMctSKBX.mjs.map +1 -0
  182. package/.output/server/chunks/build/new-styles.Chk5u_6M.mjs +8 -0
  183. package/.output/server/chunks/build/new-styles.Chk5u_6M.mjs.map +1 -0
  184. package/.output/server/chunks/build/new-styles.KSbzjZvD.mjs +8 -0
  185. package/.output/server/chunks/build/new-styles.KSbzjZvD.mjs.map +1 -0
  186. package/.output/server/chunks/build/nuxt-link-Cq8xZgFP.mjs +286 -0
  187. package/.output/server/chunks/build/nuxt-link-Cq8xZgFP.mjs.map +1 -0
  188. package/.output/server/chunks/build/prompt-BD-UncOd.mjs +167 -0
  189. package/.output/server/chunks/build/prompt-BD-UncOd.mjs.map +1 -0
  190. package/.output/server/chunks/build/prompt-BzvhmzrW.mjs +121 -0
  191. package/.output/server/chunks/build/prompt-BzvhmzrW.mjs.map +1 -0
  192. package/.output/server/chunks/build/prompt-evT7Aaj_.mjs +118 -0
  193. package/.output/server/chunks/build/prompt-evT7Aaj_.mjs.map +1 -0
  194. package/.output/server/chunks/build/prompt-styles.ByKVLx31.mjs +8 -0
  195. package/.output/server/chunks/build/prompt-styles.ByKVLx31.mjs.map +1 -0
  196. package/.output/server/chunks/build/prompt-styles.DWfublIG.mjs +8 -0
  197. package/.output/server/chunks/build/prompt-styles.DWfublIG.mjs.map +1 -0
  198. package/.output/server/chunks/build/prompt-styles.i7UlDRDv.mjs +8 -0
  199. package/.output/server/chunks/build/prompt-styles.i7UlDRDv.mjs.map +1 -0
  200. package/.output/server/chunks/build/server.mjs +6262 -0
  201. package/.output/server/chunks/build/server.mjs.map +1 -0
  202. package/.output/server/chunks/build/stats-Cxo5MAfa.mjs +184 -0
  203. package/.output/server/chunks/build/stats-Cxo5MAfa.mjs.map +1 -0
  204. package/.output/server/chunks/build/stats-styles.B6f61PbZ.mjs +8 -0
  205. package/.output/server/chunks/build/stats-styles.B6f61PbZ.mjs.map +1 -0
  206. package/.output/server/chunks/build/styles.mjs +82 -0
  207. package/.output/server/chunks/build/styles.mjs.map +1 -0
  208. package/.output/server/chunks/build/terminal-B0__67-c.mjs +134 -0
  209. package/.output/server/chunks/build/terminal-B0__67-c.mjs.map +1 -0
  210. package/.output/server/chunks/build/terminal-BtTmOD6s.mjs +128 -0
  211. package/.output/server/chunks/build/terminal-BtTmOD6s.mjs.map +1 -0
  212. package/.output/server/chunks/build/terminal-D_WbT8Ri.mjs +134 -0
  213. package/.output/server/chunks/build/terminal-D_WbT8Ri.mjs.map +1 -0
  214. package/.output/server/chunks/build/terminal-styles.C3XDlIUb.mjs +8 -0
  215. package/.output/server/chunks/build/terminal-styles.C3XDlIUb.mjs.map +1 -0
  216. package/.output/server/chunks/build/terminal-styles.CPOm0b7Y.mjs +8 -0
  217. package/.output/server/chunks/build/terminal-styles.CPOm0b7Y.mjs.map +1 -0
  218. package/.output/server/chunks/build/terminal-styles.TrVlIkii.mjs +8 -0
  219. package/.output/server/chunks/build/terminal-styles.TrVlIkii.mjs.map +1 -0
  220. package/.output/server/chunks/build/useApiError-BSStUojq.mjs +54 -0
  221. package/.output/server/chunks/build/useApiError-BSStUojq.mjs.map +1 -0
  222. package/.output/server/chunks/build/useNotification-BqDqaGnC.mjs +49 -0
  223. package/.output/server/chunks/build/useNotification-BqDqaGnC.mjs.map +1 -0
  224. package/.output/server/chunks/build/usePipeline-ZPHbtOs6.mjs +158 -0
  225. package/.output/server/chunks/build/usePipeline-ZPHbtOs6.mjs.map +1 -0
  226. package/.output/server/chunks/build/useWebSocket-UbMCn0vY.mjs +47 -0
  227. package/.output/server/chunks/build/useWebSocket-UbMCn0vY.mjs.map +1 -0
  228. package/.output/server/chunks/nitro/nitro.mjs +14666 -0
  229. package/.output/server/chunks/nitro/nitro.mjs.map +1 -0
  230. package/.output/server/chunks/routes/_ws.mjs +50 -0
  231. package/.output/server/chunks/routes/_ws.mjs.map +1 -0
  232. package/.output/server/chunks/routes/api/catalog/autocreate/apply.post.mjs +67 -0
  233. package/.output/server/chunks/routes/api/catalog/autocreate/apply.post.mjs.map +1 -0
  234. package/.output/server/chunks/routes/api/catalog/autocreate.post.mjs +158 -0
  235. package/.output/server/chunks/routes/api/catalog/autocreate.post.mjs.map +1 -0
  236. package/.output/server/chunks/routes/api/changelog/summary.post.mjs +140 -0
  237. package/.output/server/chunks/routes/api/changelog/summary.post.mjs.map +1 -0
  238. package/.output/server/chunks/routes/api/changelog.get.mjs +83 -0
  239. package/.output/server/chunks/routes/api/changelog.get.mjs.map +1 -0
  240. package/.output/server/chunks/routes/api/columns/_slug/actions.get.mjs +43 -0
  241. package/.output/server/chunks/routes/api/columns/_slug/actions.get.mjs.map +1 -0
  242. package/.output/server/chunks/routes/api/columns/_slug/prompt.get.mjs +44 -0
  243. package/.output/server/chunks/routes/api/columns/_slug/prompt.get.mjs.map +1 -0
  244. package/.output/server/chunks/routes/api/health.get.mjs +61 -0
  245. package/.output/server/chunks/routes/api/health.get.mjs.map +1 -0
  246. package/.output/server/chunks/routes/api/index.get.mjs +80 -0
  247. package/.output/server/chunks/routes/api/index.get.mjs.map +1 -0
  248. package/.output/server/chunks/routes/api/index.get2.mjs +39 -0
  249. package/.output/server/chunks/routes/api/index.get2.mjs.map +1 -0
  250. package/.output/server/chunks/routes/api/index.get3.mjs +55 -0
  251. package/.output/server/chunks/routes/api/index.get3.mjs.map +1 -0
  252. package/.output/server/chunks/routes/api/index.get4.mjs +46 -0
  253. package/.output/server/chunks/routes/api/index.get4.mjs.map +1 -0
  254. package/.output/server/chunks/routes/api/index.post.mjs +104 -0
  255. package/.output/server/chunks/routes/api/index.post.mjs.map +1 -0
  256. package/.output/server/chunks/routes/api/index.post2.mjs +73 -0
  257. package/.output/server/chunks/routes/api/index.post2.mjs.map +1 -0
  258. package/.output/server/chunks/routes/api/index.post3.mjs +64 -0
  259. package/.output/server/chunks/routes/api/index.post3.mjs.map +1 -0
  260. package/.output/server/chunks/routes/api/issues/_id/_column/log.get.mjs +90 -0
  261. package/.output/server/chunks/routes/api/issues/_id/_column/log.get.mjs.map +1 -0
  262. package/.output/server/chunks/routes/api/issues/_id/ancestors.get.mjs +57 -0
  263. package/.output/server/chunks/routes/api/issues/_id/ancestors.get.mjs.map +1 -0
  264. package/.output/server/chunks/routes/api/issues/_id/archive.delete.mjs +67 -0
  265. package/.output/server/chunks/routes/api/issues/_id/archive.delete.mjs.map +1 -0
  266. package/.output/server/chunks/routes/api/issues/_id/attachments/_attachmentId_.delete.mjs +75 -0
  267. package/.output/server/chunks/routes/api/issues/_id/attachments/_attachmentId_.delete.mjs.map +1 -0
  268. package/.output/server/chunks/routes/api/issues/_id/attachments/_attachmentId_.get.mjs +73 -0
  269. package/.output/server/chunks/routes/api/issues/_id/attachments/_attachmentId_.get.mjs.map +1 -0
  270. package/.output/server/chunks/routes/api/issues/_id/attachments.get.mjs +51 -0
  271. package/.output/server/chunks/routes/api/issues/_id/attachments.get.mjs.map +1 -0
  272. package/.output/server/chunks/routes/api/issues/_id/attachments.post.mjs +103 -0
  273. package/.output/server/chunks/routes/api/issues/_id/attachments.post.mjs.map +1 -0
  274. package/.output/server/chunks/routes/api/issues/_id/children.get.mjs +57 -0
  275. package/.output/server/chunks/routes/api/issues/_id/children.get.mjs.map +1 -0
  276. package/.output/server/chunks/routes/api/issues/_id/comments.get.mjs +50 -0
  277. package/.output/server/chunks/routes/api/issues/_id/comments.get.mjs.map +1 -0
  278. package/.output/server/chunks/routes/api/issues/_id/comments.post.mjs +66 -0
  279. package/.output/server/chunks/routes/api/issues/_id/comments.post.mjs.map +1 -0
  280. package/.output/server/chunks/routes/api/issues/_id/full-history.get.mjs +79 -0
  281. package/.output/server/chunks/routes/api/issues/_id/full-history.get.mjs.map +1 -0
  282. package/.output/server/chunks/routes/api/issues/_id/full-terminal.get.mjs +88 -0
  283. package/.output/server/chunks/routes/api/issues/_id/full-terminal.get.mjs.map +1 -0
  284. package/.output/server/chunks/routes/api/issues/_id/history/_sessionId/log.get.mjs +84 -0
  285. package/.output/server/chunks/routes/api/issues/_id/history/_sessionId/log.get.mjs.map +1 -0
  286. package/.output/server/chunks/routes/api/issues/_id/history/_sessionId/prompt.get.mjs +57 -0
  287. package/.output/server/chunks/routes/api/issues/_id/history/_sessionId/prompt.get.mjs.map +1 -0
  288. package/.output/server/chunks/routes/api/issues/_id/history.get.mjs +68 -0
  289. package/.output/server/chunks/routes/api/issues/_id/history.get.mjs.map +1 -0
  290. package/.output/server/chunks/routes/api/issues/_id/log.get.mjs +75 -0
  291. package/.output/server/chunks/routes/api/issues/_id/log.get.mjs.map +1 -0
  292. package/.output/server/chunks/routes/api/issues/_id/move.post.mjs +87 -0
  293. package/.output/server/chunks/routes/api/issues/_id/move.post.mjs.map +1 -0
  294. package/.output/server/chunks/routes/api/issues/_id/next.post.mjs +78 -0
  295. package/.output/server/chunks/routes/api/issues/_id/next.post.mjs.map +1 -0
  296. package/.output/server/chunks/routes/api/issues/_id_.get.mjs +63 -0
  297. package/.output/server/chunks/routes/api/issues/_id_.get.mjs.map +1 -0
  298. package/.output/server/chunks/routes/api/issues/_id_.patch.mjs +70 -0
  299. package/.output/server/chunks/routes/api/issues/_id_.patch.mjs.map +1 -0
  300. package/.output/server/chunks/routes/api/issues/actionable.get.mjs +60 -0
  301. package/.output/server/chunks/routes/api/issues/actionable.get.mjs.map +1 -0
  302. package/.output/server/chunks/routes/api/issues/autocomplete.post.mjs +110 -0
  303. package/.output/server/chunks/routes/api/issues/autocomplete.post.mjs.map +1 -0
  304. package/.output/server/chunks/routes/api/issues/graph.get.mjs +69 -0
  305. package/.output/server/chunks/routes/api/issues/graph.get.mjs.map +1 -0
  306. package/.output/server/chunks/routes/api/pipelines/_name/activate.put.mjs +59 -0
  307. package/.output/server/chunks/routes/api/pipelines/_name/activate.put.mjs.map +1 -0
  308. package/.output/server/chunks/routes/api/pipelines/_name/versions/_version/activate.put.mjs +58 -0
  309. package/.output/server/chunks/routes/api/pipelines/_name/versions/_version/activate.put.mjs.map +1 -0
  310. package/.output/server/chunks/routes/api/pipelines/_name/versions/_version/finalize.post.mjs +69 -0
  311. package/.output/server/chunks/routes/api/pipelines/_name/versions/_version/finalize.post.mjs.map +1 -0
  312. package/.output/server/chunks/routes/api/pipelines/_name/versions/_version_.delete.mjs +58 -0
  313. package/.output/server/chunks/routes/api/pipelines/_name/versions/_version_.delete.mjs.map +1 -0
  314. package/.output/server/chunks/routes/api/pipelines/_name/versions/_version_.get.mjs +68 -0
  315. package/.output/server/chunks/routes/api/pipelines/_name/versions/_version_.get.mjs.map +1 -0
  316. package/.output/server/chunks/routes/api/pipelines/_name/versions/_version_.put.mjs +70 -0
  317. package/.output/server/chunks/routes/api/pipelines/_name/versions/_version_.put.mjs.map +1 -0
  318. package/.output/server/chunks/routes/api/pipelines/_name/versions.get.mjs +49 -0
  319. package/.output/server/chunks/routes/api/pipelines/_name/versions.get.mjs.map +1 -0
  320. package/.output/server/chunks/routes/api/pipelines/_name/versions.post.mjs +61 -0
  321. package/.output/server/chunks/routes/api/pipelines/_name/versions.post.mjs.map +1 -0
  322. package/.output/server/chunks/routes/api/pipelines/_name_.delete.mjs +54 -0
  323. package/.output/server/chunks/routes/api/pipelines/_name_.delete.mjs.map +1 -0
  324. package/.output/server/chunks/routes/api/pipelines/_name_.get.mjs +63 -0
  325. package/.output/server/chunks/routes/api/pipelines/_name_.get.mjs.map +1 -0
  326. package/.output/server/chunks/routes/api/pipelines/_name_.put.mjs +78 -0
  327. package/.output/server/chunks/routes/api/pipelines/_name_.put.mjs.map +1 -0
  328. package/.output/server/chunks/routes/api/stats.get.mjs +39 -0
  329. package/.output/server/chunks/routes/api/stats.get.mjs.map +1 -0
  330. package/.output/server/chunks/routes/api/status.get.mjs +38 -0
  331. package/.output/server/chunks/routes/api/status.get.mjs.map +1 -0
  332. package/.output/server/chunks/routes/api/workflow/health.get.mjs +40 -0
  333. package/.output/server/chunks/routes/api/workflow/health.get.mjs.map +1 -0
  334. package/.output/server/chunks/routes/api/ws/status.get.mjs +38 -0
  335. package/.output/server/chunks/routes/api/ws/status.get.mjs.map +1 -0
  336. package/.output/server/chunks/routes/renderer.mjs +399 -0
  337. package/.output/server/chunks/routes/renderer.mjs.map +1 -0
  338. package/.output/server/chunks/virtual/_virtual_spa-template.mjs +4 -0
  339. package/.output/server/chunks/virtual/_virtual_spa-template.mjs.map +1 -0
  340. package/.output/server/index.mjs +28 -0
  341. package/.output/server/index.mjs.map +1 -0
  342. package/.output/server/node_modules/.prisma/client/default.js +5 -0
  343. package/.output/server/node_modules/.prisma/client/index.js +224 -0
  344. package/.output/server/node_modules/.prisma/client/package.json +144 -0
  345. package/.output/server/node_modules/.prisma/client/query_compiler_bg.js +2 -0
  346. package/.output/server/node_modules/.prisma/client/query_compiler_bg.wasm-base64.js +2 -0
  347. package/.output/server/node_modules/.prisma/package.json +4 -0
  348. package/.output/server/node_modules/@babel/parser/lib/index.js +14662 -0
  349. package/.output/server/node_modules/@babel/parser/package.json +50 -0
  350. package/.output/server/node_modules/@intlify/core/dist/core.mjs +31 -0
  351. package/.output/server/node_modules/@intlify/core/package.json +82 -0
  352. package/.output/server/node_modules/@intlify/core-base/dist/core-base.mjs +1886 -0
  353. package/.output/server/node_modules/@intlify/core-base/package.json +80 -0
  354. package/.output/server/node_modules/@intlify/h3/dist/index.mjs +65 -0
  355. package/.output/server/node_modules/@intlify/h3/package.json +122 -0
  356. package/.output/server/node_modules/@intlify/message-compiler/dist/message-compiler.mjs +1530 -0
  357. package/.output/server/node_modules/@intlify/message-compiler/package.json +79 -0
  358. package/.output/server/node_modules/@intlify/shared/dist/shared.mjs +281 -0
  359. package/.output/server/node_modules/@intlify/shared/package.json +69 -0
  360. package/.output/server/node_modules/@intlify/utils/dist/h3.mjs +89 -0
  361. package/.output/server/node_modules/@intlify/utils/dist/shared/utils.9f8159f5.mjs +108 -0
  362. package/.output/server/node_modules/@intlify/utils/package.json +129 -0
  363. package/.output/server/node_modules/@prisma/adapter-better-sqlite3/dist/index.mjs +619 -0
  364. package/.output/server/node_modules/@prisma/adapter-better-sqlite3/package.json +45 -0
  365. package/.output/server/node_modules/@prisma/client/default.js +3 -0
  366. package/.output/server/node_modules/@prisma/client/package.json +281 -0
  367. package/.output/server/node_modules/@prisma/client/runtime/client.js +82 -0
  368. package/.output/server/node_modules/@prisma/client-runtime-utils/dist/index.js +2552 -0
  369. package/.output/server/node_modules/@prisma/client-runtime-utils/package.json +39 -0
  370. package/.output/server/node_modules/@prisma/debug/dist/index.mjs +213 -0
  371. package/.output/server/node_modules/@prisma/debug/package.json +47 -0
  372. package/.output/server/node_modules/@prisma/driver-adapter-utils/dist/index.mjs +245 -0
  373. package/.output/server/node_modules/@prisma/driver-adapter-utils/package.json +40 -0
  374. package/.output/server/node_modules/@vue/compiler-core/dist/compiler-core.cjs.prod.js +6763 -0
  375. package/.output/server/node_modules/@vue/compiler-core/package.json +58 -0
  376. package/.output/server/node_modules/@vue/compiler-dom/dist/compiler-dom.cjs.prod.js +689 -0
  377. package/.output/server/node_modules/@vue/compiler-dom/package.json +57 -0
  378. package/.output/server/node_modules/@vue/compiler-ssr/dist/compiler-ssr.cjs.js +1413 -0
  379. package/.output/server/node_modules/@vue/compiler-ssr/package.json +34 -0
  380. package/.output/server/node_modules/@vue/devtools-api/lib/cjs/api/api.js +2 -0
  381. package/.output/server/node_modules/@vue/devtools-api/lib/cjs/api/app.js +2 -0
  382. package/.output/server/node_modules/@vue/devtools-api/lib/cjs/api/component.js +2 -0
  383. package/.output/server/node_modules/@vue/devtools-api/lib/cjs/api/context.js +2 -0
  384. package/.output/server/node_modules/@vue/devtools-api/lib/cjs/api/hooks.js +2 -0
  385. package/.output/server/node_modules/@vue/devtools-api/lib/cjs/api/index.js +22 -0
  386. package/.output/server/node_modules/@vue/devtools-api/lib/cjs/api/util.js +2 -0
  387. package/.output/server/node_modules/@vue/devtools-api/lib/cjs/const.js +5 -0
  388. package/.output/server/node_modules/@vue/devtools-api/lib/cjs/env.js +17 -0
  389. package/.output/server/node_modules/@vue/devtools-api/lib/cjs/index.js +45 -0
  390. package/.output/server/node_modules/@vue/devtools-api/lib/cjs/plugin.js +2 -0
  391. package/.output/server/node_modules/@vue/devtools-api/lib/cjs/proxy.js +111 -0
  392. package/.output/server/node_modules/@vue/devtools-api/lib/cjs/time.js +28 -0
  393. package/.output/server/node_modules/@vue/devtools-api/package.json +37 -0
  394. package/.output/server/node_modules/@vue/reactivity/dist/reactivity.cjs.prod.js +1853 -0
  395. package/.output/server/node_modules/@vue/reactivity/package.json +55 -0
  396. package/.output/server/node_modules/@vue/runtime-core/dist/runtime-core.cjs.prod.js +6770 -0
  397. package/.output/server/node_modules/@vue/runtime-core/package.json +52 -0
  398. package/.output/server/node_modules/@vue/runtime-dom/dist/runtime-dom.cjs.prod.js +1732 -0
  399. package/.output/server/node_modules/@vue/runtime-dom/package.json +60 -0
  400. package/.output/server/node_modules/@vue/server-renderer/dist/server-renderer.cjs.prod.js +879 -0
  401. package/.output/server/node_modules/@vue/server-renderer/package.json +55 -0
  402. package/.output/server/node_modules/@vue/shared/dist/shared.cjs.prod.js +604 -0
  403. package/.output/server/node_modules/@vue/shared/package.json +47 -0
  404. package/.output/server/node_modules/better-sqlite3/build/Release/better_sqlite3.node +0 -0
  405. package/.output/server/node_modules/better-sqlite3/lib/database.js +90 -0
  406. package/.output/server/node_modules/better-sqlite3/lib/index.js +3 -0
  407. package/.output/server/node_modules/better-sqlite3/lib/methods/aggregate.js +43 -0
  408. package/.output/server/node_modules/better-sqlite3/lib/methods/backup.js +67 -0
  409. package/.output/server/node_modules/better-sqlite3/lib/methods/function.js +31 -0
  410. package/.output/server/node_modules/better-sqlite3/lib/methods/inspect.js +7 -0
  411. package/.output/server/node_modules/better-sqlite3/lib/methods/pragma.js +12 -0
  412. package/.output/server/node_modules/better-sqlite3/lib/methods/serialize.js +16 -0
  413. package/.output/server/node_modules/better-sqlite3/lib/methods/table.js +189 -0
  414. package/.output/server/node_modules/better-sqlite3/lib/methods/transaction.js +78 -0
  415. package/.output/server/node_modules/better-sqlite3/lib/methods/wrappers.js +54 -0
  416. package/.output/server/node_modules/better-sqlite3/lib/sqlite-error.js +20 -0
  417. package/.output/server/node_modules/better-sqlite3/lib/util.js +12 -0
  418. package/.output/server/node_modules/better-sqlite3/package.json +59 -0
  419. package/.output/server/node_modules/bindings/bindings.js +221 -0
  420. package/.output/server/node_modules/bindings/package.json +28 -0
  421. package/.output/server/node_modules/cookie-es/dist/index.mjs +262 -0
  422. package/.output/server/node_modules/cookie-es/package.json +46 -0
  423. package/.output/server/node_modules/d3/package.json +92 -0
  424. package/.output/server/node_modules/d3/src/index.js +30 -0
  425. package/.output/server/node_modules/d3-array/package.json +61 -0
  426. package/.output/server/node_modules/d3-array/src/array.js +4 -0
  427. package/.output/server/node_modules/d3-array/src/ascending.js +3 -0
  428. package/.output/server/node_modules/d3-array/src/bin.js +125 -0
  429. package/.output/server/node_modules/d3-array/src/bisect.js +9 -0
  430. package/.output/server/node_modules/d3-array/src/bisector.js +56 -0
  431. package/.output/server/node_modules/d3-array/src/blur.js +115 -0
  432. package/.output/server/node_modules/d3-array/src/constant.js +3 -0
  433. package/.output/server/node_modules/d3-array/src/count.js +18 -0
  434. package/.output/server/node_modules/d3-array/src/cross.js +33 -0
  435. package/.output/server/node_modules/d3-array/src/cumsum.js +6 -0
  436. package/.output/server/node_modules/d3-array/src/descending.js +7 -0
  437. package/.output/server/node_modules/d3-array/src/deviation.js +6 -0
  438. package/.output/server/node_modules/d3-array/src/difference.js +11 -0
  439. package/.output/server/node_modules/d3-array/src/disjoint.js +15 -0
  440. package/.output/server/node_modules/d3-array/src/every.js +10 -0
  441. package/.output/server/node_modules/d3-array/src/extent.js +29 -0
  442. package/.output/server/node_modules/d3-array/src/filter.js +11 -0
  443. package/.output/server/node_modules/d3-array/src/fsum.js +69 -0
  444. package/.output/server/node_modules/d3-array/src/greatest.js +29 -0
  445. package/.output/server/node_modules/d3-array/src/greatestIndex.js +19 -0
  446. package/.output/server/node_modules/d3-array/src/group.js +65 -0
  447. package/.output/server/node_modules/d3-array/src/groupSort.js +10 -0
  448. package/.output/server/node_modules/d3-array/src/identity.js +3 -0
  449. package/.output/server/node_modules/d3-array/src/index.js +57 -0
  450. package/.output/server/node_modules/d3-array/src/intersection.js +19 -0
  451. package/.output/server/node_modules/d3-array/src/least.js +29 -0
  452. package/.output/server/node_modules/d3-array/src/leastIndex.js +19 -0
  453. package/.output/server/node_modules/d3-array/src/map.js +5 -0
  454. package/.output/server/node_modules/d3-array/src/max.js +20 -0
  455. package/.output/server/node_modules/d3-array/src/maxIndex.js +22 -0
  456. package/.output/server/node_modules/d3-array/src/mean.js +19 -0
  457. package/.output/server/node_modules/d3-array/src/median.js +9 -0
  458. package/.output/server/node_modules/d3-array/src/merge.js +9 -0
  459. package/.output/server/node_modules/d3-array/src/min.js +20 -0
  460. package/.output/server/node_modules/d3-array/src/minIndex.js +22 -0
  461. package/.output/server/node_modules/d3-array/src/mode.js +28 -0
  462. package/.output/server/node_modules/d3-array/src/nice.js +18 -0
  463. package/.output/server/node_modules/d3-array/src/number.js +20 -0
  464. package/.output/server/node_modules/d3-array/src/pairs.js +15 -0
  465. package/.output/server/node_modules/d3-array/src/permute.js +3 -0
  466. package/.output/server/node_modules/d3-array/src/quantile.js +47 -0
  467. package/.output/server/node_modules/d3-array/src/quickselect.js +53 -0
  468. package/.output/server/node_modules/d3-array/src/range.js +13 -0
  469. package/.output/server/node_modules/d3-array/src/rank.js +24 -0
  470. package/.output/server/node_modules/d3-array/src/reduce.js +14 -0
  471. package/.output/server/node_modules/d3-array/src/reverse.js +4 -0
  472. package/.output/server/node_modules/d3-array/src/scan.js +6 -0
  473. package/.output/server/node_modules/d3-array/src/shuffle.js +13 -0
  474. package/.output/server/node_modules/d3-array/src/some.js +10 -0
  475. package/.output/server/node_modules/d3-array/src/sort.js +39 -0
  476. package/.output/server/node_modules/d3-array/src/subset.js +5 -0
  477. package/.output/server/node_modules/d3-array/src/sum.js +18 -0
  478. package/.output/server/node_modules/d3-array/src/superset.js +19 -0
  479. package/.output/server/node_modules/d3-array/src/threshold/freedmanDiaconis.js +7 -0
  480. package/.output/server/node_modules/d3-array/src/threshold/scott.js +7 -0
  481. package/.output/server/node_modules/d3-array/src/threshold/sturges.js +5 -0
  482. package/.output/server/node_modules/d3-array/src/ticks.js +55 -0
  483. package/.output/server/node_modules/d3-array/src/transpose.js +15 -0
  484. package/.output/server/node_modules/d3-array/src/union.js +11 -0
  485. package/.output/server/node_modules/d3-array/src/variance.js +25 -0
  486. package/.output/server/node_modules/d3-array/src/zip.js +5 -0
  487. package/.output/server/node_modules/d3-axis/package.json +54 -0
  488. package/.output/server/node_modules/d3-axis/src/axis.js +174 -0
  489. package/.output/server/node_modules/d3-axis/src/identity.js +3 -0
  490. package/.output/server/node_modules/d3-axis/src/index.js +6 -0
  491. package/.output/server/node_modules/d3-brush/package.json +55 -0
  492. package/.output/server/node_modules/d3-brush/src/brush.js +621 -0
  493. package/.output/server/node_modules/d3-brush/src/constant.js +1 -0
  494. package/.output/server/node_modules/d3-brush/src/event.js +16 -0
  495. package/.output/server/node_modules/d3-brush/src/index.js +6 -0
  496. package/.output/server/node_modules/d3-brush/src/noevent.js +8 -0
  497. package/.output/server/node_modules/d3-chord/package.json +54 -0
  498. package/.output/server/node_modules/d3-chord/src/array.js +1 -0
  499. package/.output/server/node_modules/d3-chord/src/chord.js +122 -0
  500. package/.output/server/node_modules/d3-chord/src/constant.js +5 -0
  501. package/.output/server/node_modules/d3-chord/src/index.js +2 -0
  502. package/.output/server/node_modules/d3-chord/src/math.js +8 -0
  503. package/.output/server/node_modules/d3-chord/src/ribbon.js +134 -0
  504. package/.output/server/node_modules/d3-color/package.json +54 -0
  505. package/.output/server/node_modules/d3-color/src/color.js +396 -0
  506. package/.output/server/node_modules/d3-color/src/cubehelix.js +61 -0
  507. package/.output/server/node_modules/d3-color/src/define.js +10 -0
  508. package/.output/server/node_modules/d3-color/src/index.js +3 -0
  509. package/.output/server/node_modules/d3-color/src/lab.js +123 -0
  510. package/.output/server/node_modules/d3-color/src/math.js +2 -0
  511. package/.output/server/node_modules/d3-contour/package.json +66 -0
  512. package/.output/server/node_modules/d3-contour/src/area.js +5 -0
  513. package/.output/server/node_modules/d3-contour/src/array.js +3 -0
  514. package/.output/server/node_modules/d3-contour/src/ascending.js +3 -0
  515. package/.output/server/node_modules/d3-contour/src/constant.js +1 -0
  516. package/.output/server/node_modules/d3-contour/src/contains.js +27 -0
  517. package/.output/server/node_modules/d3-contour/src/contours.js +225 -0
  518. package/.output/server/node_modules/d3-contour/src/density.js +149 -0
  519. package/.output/server/node_modules/d3-contour/src/index.js +2 -0
  520. package/.output/server/node_modules/d3-contour/src/noop.js +1 -0
  521. package/.output/server/node_modules/d3-delaunay/package.json +62 -0
  522. package/.output/server/node_modules/d3-delaunay/src/delaunay.js +248 -0
  523. package/.output/server/node_modules/d3-delaunay/src/index.js +2 -0
  524. package/.output/server/node_modules/d3-delaunay/src/path.js +37 -0
  525. package/.output/server/node_modules/d3-delaunay/src/polygon.js +17 -0
  526. package/.output/server/node_modules/d3-delaunay/src/voronoi.js +332 -0
  527. package/.output/server/node_modules/d3-dispatch/package.json +50 -0
  528. package/.output/server/node_modules/d3-dispatch/src/dispatch.js +84 -0
  529. package/.output/server/node_modules/d3-dispatch/src/index.js +1 -0
  530. package/.output/server/node_modules/d3-drag/package.json +54 -0
  531. package/.output/server/node_modules/d3-drag/src/constant.js +1 -0
  532. package/.output/server/node_modules/d3-drag/src/drag.js +194 -0
  533. package/.output/server/node_modules/d3-drag/src/event.js +28 -0
  534. package/.output/server/node_modules/d3-drag/src/index.js +2 -0
  535. package/.output/server/node_modules/d3-drag/src/nodrag.js +28 -0
  536. package/.output/server/node_modules/d3-drag/src/noevent.js +13 -0
  537. package/.output/server/node_modules/d3-dsv/package.json +68 -0
  538. package/.output/server/node_modules/d3-dsv/src/autoType.js +20 -0
  539. package/.output/server/node_modules/d3-dsv/src/csv.js +11 -0
  540. package/.output/server/node_modules/d3-dsv/src/dsv.js +164 -0
  541. package/.output/server/node_modules/d3-dsv/src/index.js +4 -0
  542. package/.output/server/node_modules/d3-dsv/src/tsv.js +11 -0
  543. package/.output/server/node_modules/d3-ease/package.json +51 -0
  544. package/.output/server/node_modules/d3-ease/src/back.js +37 -0
  545. package/.output/server/node_modules/d3-ease/src/bounce.js +22 -0
  546. package/.output/server/node_modules/d3-ease/src/circle.js +11 -0
  547. package/.output/server/node_modules/d3-ease/src/cubic.js +11 -0
  548. package/.output/server/node_modules/d3-ease/src/elastic.js +46 -0
  549. package/.output/server/node_modules/d3-ease/src/exp.js +13 -0
  550. package/.output/server/node_modules/d3-ease/src/index.js +66 -0
  551. package/.output/server/node_modules/d3-ease/src/linear.js +1 -0
  552. package/.output/server/node_modules/d3-ease/src/math.js +4 -0
  553. package/.output/server/node_modules/d3-ease/src/poly.js +37 -0
  554. package/.output/server/node_modules/d3-ease/src/quad.js +11 -0
  555. package/.output/server/node_modules/d3-ease/src/sin.js +14 -0
  556. package/.output/server/node_modules/d3-fetch/package.json +53 -0
  557. package/.output/server/node_modules/d3-fetch/src/blob.js +8 -0
  558. package/.output/server/node_modules/d3-fetch/src/buffer.js +8 -0
  559. package/.output/server/node_modules/d3-fetch/src/dsv.js +22 -0
  560. package/.output/server/node_modules/d3-fetch/src/image.js +9 -0
  561. package/.output/server/node_modules/d3-fetch/src/index.js +7 -0
  562. package/.output/server/node_modules/d3-fetch/src/json.js +9 -0
  563. package/.output/server/node_modules/d3-fetch/src/text.js +8 -0
  564. package/.output/server/node_modules/d3-fetch/src/xml.js +12 -0
  565. package/.output/server/node_modules/d3-force/package.json +58 -0
  566. package/.output/server/node_modules/d3-force/src/center.js +40 -0
  567. package/.output/server/node_modules/d3-force/src/collide.js +100 -0
  568. package/.output/server/node_modules/d3-force/src/constant.js +5 -0
  569. package/.output/server/node_modules/d3-force/src/index.js +8 -0
  570. package/.output/server/node_modules/d3-force/src/jiggle.js +3 -0
  571. package/.output/server/node_modules/d3-force/src/lcg.js +9 -0
  572. package/.output/server/node_modules/d3-force/src/link.js +117 -0
  573. package/.output/server/node_modules/d3-force/src/manyBody.js +116 -0
  574. package/.output/server/node_modules/d3-force/src/radial.js +57 -0
  575. package/.output/server/node_modules/d3-force/src/simulation.js +156 -0
  576. package/.output/server/node_modules/d3-force/src/x.js +41 -0
  577. package/.output/server/node_modules/d3-force/src/y.js +41 -0
  578. package/.output/server/node_modules/d3-format/package.json +55 -0
  579. package/.output/server/node_modules/d3-format/src/defaultLocale.js +18 -0
  580. package/.output/server/node_modules/d3-format/src/exponent.js +5 -0
  581. package/.output/server/node_modules/d3-format/src/formatDecimal.js +20 -0
  582. package/.output/server/node_modules/d3-format/src/formatGroup.js +18 -0
  583. package/.output/server/node_modules/d3-format/src/formatNumerals.js +7 -0
  584. package/.output/server/node_modules/d3-format/src/formatPrefixAuto.js +16 -0
  585. package/.output/server/node_modules/d3-format/src/formatRounded.js +11 -0
  586. package/.output/server/node_modules/d3-format/src/formatSpecifier.js +47 -0
  587. package/.output/server/node_modules/d3-format/src/formatTrim.js +11 -0
  588. package/.output/server/node_modules/d3-format/src/formatTypes.js +19 -0
  589. package/.output/server/node_modules/d3-format/src/identity.js +3 -0
  590. package/.output/server/node_modules/d3-format/src/index.js +6 -0
  591. package/.output/server/node_modules/d3-format/src/locale.js +148 -0
  592. package/.output/server/node_modules/d3-format/src/precisionFixed.js +5 -0
  593. package/.output/server/node_modules/d3-format/src/precisionPrefix.js +5 -0
  594. package/.output/server/node_modules/d3-format/src/precisionRound.js +6 -0
  595. package/.output/server/node_modules/d3-geo/package.json +59 -0
  596. package/.output/server/node_modules/d3-geo/src/area.js +76 -0
  597. package/.output/server/node_modules/d3-geo/src/bounds.js +179 -0
  598. package/.output/server/node_modules/d3-geo/src/cartesian.js +33 -0
  599. package/.output/server/node_modules/d3-geo/src/centroid.js +143 -0
  600. package/.output/server/node_modules/d3-geo/src/circle.js +72 -0
  601. package/.output/server/node_modules/d3-geo/src/clip/antimeridian.js +92 -0
  602. package/.output/server/node_modules/d3-geo/src/clip/buffer.js +24 -0
  603. package/.output/server/node_modules/d3-geo/src/clip/circle.js +177 -0
  604. package/.output/server/node_modules/d3-geo/src/clip/extent.js +20 -0
  605. package/.output/server/node_modules/d3-geo/src/clip/index.js +131 -0
  606. package/.output/server/node_modules/d3-geo/src/clip/line.js +59 -0
  607. package/.output/server/node_modules/d3-geo/src/clip/rectangle.js +168 -0
  608. package/.output/server/node_modules/d3-geo/src/clip/rejoin.js +103 -0
  609. package/.output/server/node_modules/d3-geo/src/compose.js +12 -0
  610. package/.output/server/node_modules/d3-geo/src/constant.js +5 -0
  611. package/.output/server/node_modules/d3-geo/src/contains.js +97 -0
  612. package/.output/server/node_modules/d3-geo/src/distance.js +10 -0
  613. package/.output/server/node_modules/d3-geo/src/graticule.js +105 -0
  614. package/.output/server/node_modules/d3-geo/src/identity.js +1 -0
  615. package/.output/server/node_modules/d3-geo/src/index.js +34 -0
  616. package/.output/server/node_modules/d3-geo/src/interpolate.js +36 -0
  617. package/.output/server/node_modules/d3-geo/src/length.js +53 -0
  618. package/.output/server/node_modules/d3-geo/src/math.js +36 -0
  619. package/.output/server/node_modules/d3-geo/src/noop.js +1 -0
  620. package/.output/server/node_modules/d3-geo/src/path/area.js +50 -0
  621. package/.output/server/node_modules/d3-geo/src/path/bounds.js +28 -0
  622. package/.output/server/node_modules/d3-geo/src/path/centroid.js +100 -0
  623. package/.output/server/node_modules/d3-geo/src/path/context.js +45 -0
  624. package/.output/server/node_modules/d3-geo/src/path/index.js +76 -0
  625. package/.output/server/node_modules/d3-geo/src/path/measure.js +45 -0
  626. package/.output/server/node_modules/d3-geo/src/path/string.js +86 -0
  627. package/.output/server/node_modules/d3-geo/src/pointEqual.js +5 -0
  628. package/.output/server/node_modules/d3-geo/src/polygonContains.js +74 -0
  629. package/.output/server/node_modules/d3-geo/src/projection/albers.js +10 -0
  630. package/.output/server/node_modules/d3-geo/src/projection/albersUsa.js +111 -0
  631. package/.output/server/node_modules/d3-geo/src/projection/azimuthal.js +27 -0
  632. package/.output/server/node_modules/d3-geo/src/projection/azimuthalEqualArea.js +17 -0
  633. package/.output/server/node_modules/d3-geo/src/projection/azimuthalEquidistant.js +17 -0
  634. package/.output/server/node_modules/d3-geo/src/projection/conic.js +15 -0
  635. package/.output/server/node_modules/d3-geo/src/projection/conicConformal.js +38 -0
  636. package/.output/server/node_modules/d3-geo/src/projection/conicEqualArea.js +33 -0
  637. package/.output/server/node_modules/d3-geo/src/projection/conicEquidistant.js +32 -0
  638. package/.output/server/node_modules/d3-geo/src/projection/cylindricalEqualArea.js +15 -0
  639. package/.output/server/node_modules/d3-geo/src/projection/equalEarth.js +36 -0
  640. package/.output/server/node_modules/d3-geo/src/projection/equirectangular.js +12 -0
  641. package/.output/server/node_modules/d3-geo/src/projection/fit.js +47 -0
  642. package/.output/server/node_modules/d3-geo/src/projection/gnomonic.js +16 -0
  643. package/.output/server/node_modules/d3-geo/src/projection/identity.js +85 -0
  644. package/.output/server/node_modules/d3-geo/src/projection/index.js +177 -0
  645. package/.output/server/node_modules/d3-geo/src/projection/mercator.js +52 -0
  646. package/.output/server/node_modules/d3-geo/src/projection/naturalEarth1.js +28 -0
  647. package/.output/server/node_modules/d3-geo/src/projection/orthographic.js +15 -0
  648. package/.output/server/node_modules/d3-geo/src/projection/resample.js +102 -0
  649. package/.output/server/node_modules/d3-geo/src/projection/stereographic.js +18 -0
  650. package/.output/server/node_modules/d3-geo/src/projection/transverseMercator.js +27 -0
  651. package/.output/server/node_modules/d3-geo/src/rotation.js +79 -0
  652. package/.output/server/node_modules/d3-geo/src/stream.js +69 -0
  653. package/.output/server/node_modules/d3-geo/src/transform.js +26 -0
  654. package/.output/server/node_modules/d3-hierarchy/package.json +56 -0
  655. package/.output/server/node_modules/d3-hierarchy/src/accessors.js +8 -0
  656. package/.output/server/node_modules/d3-hierarchy/src/array.js +20 -0
  657. package/.output/server/node_modules/d3-hierarchy/src/cluster.js +84 -0
  658. package/.output/server/node_modules/d3-hierarchy/src/constant.js +9 -0
  659. package/.output/server/node_modules/d3-hierarchy/src/hierarchy/ancestors.js +7 -0
  660. package/.output/server/node_modules/d3-hierarchy/src/hierarchy/count.js +12 -0
  661. package/.output/server/node_modules/d3-hierarchy/src/hierarchy/descendants.js +3 -0
  662. package/.output/server/node_modules/d3-hierarchy/src/hierarchy/each.js +7 -0
  663. package/.output/server/node_modules/d3-hierarchy/src/hierarchy/eachAfter.js +15 -0
  664. package/.output/server/node_modules/d3-hierarchy/src/hierarchy/eachBefore.js +12 -0
  665. package/.output/server/node_modules/d3-hierarchy/src/hierarchy/find.js +8 -0
  666. package/.output/server/node_modules/d3-hierarchy/src/hierarchy/index.js +91 -0
  667. package/.output/server/node_modules/d3-hierarchy/src/hierarchy/iterator.js +14 -0
  668. package/.output/server/node_modules/d3-hierarchy/src/hierarchy/leaves.js +9 -0
  669. package/.output/server/node_modules/d3-hierarchy/src/hierarchy/links.js +9 -0
  670. package/.output/server/node_modules/d3-hierarchy/src/hierarchy/path.js +30 -0
  671. package/.output/server/node_modules/d3-hierarchy/src/hierarchy/sort.js +7 -0
  672. package/.output/server/node_modules/d3-hierarchy/src/hierarchy/sum.js +9 -0
  673. package/.output/server/node_modules/d3-hierarchy/src/index.js +15 -0
  674. package/.output/server/node_modules/d3-hierarchy/src/lcg.js +9 -0
  675. package/.output/server/node_modules/d3-hierarchy/src/pack/enclose.js +123 -0
  676. package/.output/server/node_modules/d3-hierarchy/src/pack/index.js +81 -0
  677. package/.output/server/node_modules/d3-hierarchy/src/pack/siblings.js +120 -0
  678. package/.output/server/node_modules/d3-hierarchy/src/partition.js +52 -0
  679. package/.output/server/node_modules/d3-hierarchy/src/stratify.js +145 -0
  680. package/.output/server/node_modules/d3-hierarchy/src/tree.js +237 -0
  681. package/.output/server/node_modules/d3-hierarchy/src/treemap/binary.js +46 -0
  682. package/.output/server/node_modules/d3-hierarchy/src/treemap/dice.js +12 -0
  683. package/.output/server/node_modules/d3-hierarchy/src/treemap/index.js +94 -0
  684. package/.output/server/node_modules/d3-hierarchy/src/treemap/resquarify.js +36 -0
  685. package/.output/server/node_modules/d3-hierarchy/src/treemap/round.js +6 -0
  686. package/.output/server/node_modules/d3-hierarchy/src/treemap/slice.js +12 -0
  687. package/.output/server/node_modules/d3-hierarchy/src/treemap/sliceDice.js +6 -0
  688. package/.output/server/node_modules/d3-hierarchy/src/treemap/squarify.js +66 -0
  689. package/.output/server/node_modules/d3-interpolate/package.json +53 -0
  690. package/.output/server/node_modules/d3-interpolate/src/array.js +22 -0
  691. package/.output/server/node_modules/d3-interpolate/src/basis.js +19 -0
  692. package/.output/server/node_modules/d3-interpolate/src/basisClosed.js +13 -0
  693. package/.output/server/node_modules/d3-interpolate/src/color.js +29 -0
  694. package/.output/server/node_modules/d3-interpolate/src/constant.js +1 -0
  695. package/.output/server/node_modules/d3-interpolate/src/cubehelix.js +29 -0
  696. package/.output/server/node_modules/d3-interpolate/src/date.js +6 -0
  697. package/.output/server/node_modules/d3-interpolate/src/discrete.js +6 -0
  698. package/.output/server/node_modules/d3-interpolate/src/hcl.js +21 -0
  699. package/.output/server/node_modules/d3-interpolate/src/hsl.js +21 -0
  700. package/.output/server/node_modules/d3-interpolate/src/hue.js +9 -0
  701. package/.output/server/node_modules/d3-interpolate/src/index.js +21 -0
  702. package/.output/server/node_modules/d3-interpolate/src/lab.js +16 -0
  703. package/.output/server/node_modules/d3-interpolate/src/number.js +5 -0
  704. package/.output/server/node_modules/d3-interpolate/src/numberArray.js +14 -0
  705. package/.output/server/node_modules/d3-interpolate/src/object.js +23 -0
  706. package/.output/server/node_modules/d3-interpolate/src/piecewise.js +11 -0
  707. package/.output/server/node_modules/d3-interpolate/src/quantize.js +5 -0
  708. package/.output/server/node_modules/d3-interpolate/src/rgb.js +55 -0
  709. package/.output/server/node_modules/d3-interpolate/src/round.js +5 -0
  710. package/.output/server/node_modules/d3-interpolate/src/string.js +64 -0
  711. package/.output/server/node_modules/d3-interpolate/src/transform/decompose.js +26 -0
  712. package/.output/server/node_modules/d3-interpolate/src/transform/index.js +63 -0
  713. package/.output/server/node_modules/d3-interpolate/src/transform/parse.js +18 -0
  714. package/.output/server/node_modules/d3-interpolate/src/value.js +22 -0
  715. package/.output/server/node_modules/d3-interpolate/src/zoom.js +71 -0
  716. package/.output/server/node_modules/d3-path/package.json +54 -0
  717. package/.output/server/node_modules/d3-path/src/index.js +1 -0
  718. package/.output/server/node_modules/d3-path/src/path.js +156 -0
  719. package/.output/server/node_modules/d3-polygon/package.json +51 -0
  720. package/.output/server/node_modules/d3-polygon/src/area.js +15 -0
  721. package/.output/server/node_modules/d3-polygon/src/centroid.js +20 -0
  722. package/.output/server/node_modules/d3-polygon/src/contains.js +16 -0
  723. package/.output/server/node_modules/d3-polygon/src/cross.js +7 -0
  724. package/.output/server/node_modules/d3-polygon/src/hull.js +49 -0
  725. package/.output/server/node_modules/d3-polygon/src/index.js +5 -0
  726. package/.output/server/node_modules/d3-polygon/src/length.js +23 -0
  727. package/.output/server/node_modules/d3-quadtree/package.json +49 -0
  728. package/.output/server/node_modules/d3-quadtree/src/add.js +84 -0
  729. package/.output/server/node_modules/d3-quadtree/src/cover.js +43 -0
  730. package/.output/server/node_modules/d3-quadtree/src/data.js +7 -0
  731. package/.output/server/node_modules/d3-quadtree/src/extent.js +5 -0
  732. package/.output/server/node_modules/d3-quadtree/src/find.js +70 -0
  733. package/.output/server/node_modules/d3-quadtree/src/index.js +1 -0
  734. package/.output/server/node_modules/d3-quadtree/src/quad.js +7 -0
  735. package/.output/server/node_modules/d3-quadtree/src/quadtree.js +73 -0
  736. package/.output/server/node_modules/d3-quadtree/src/remove.js +62 -0
  737. package/.output/server/node_modules/d3-quadtree/src/root.js +3 -0
  738. package/.output/server/node_modules/d3-quadtree/src/size.js +7 -0
  739. package/.output/server/node_modules/d3-quadtree/src/visit.js +16 -0
  740. package/.output/server/node_modules/d3-quadtree/src/visitAfter.js +21 -0
  741. package/.output/server/node_modules/d3-quadtree/src/x.js +7 -0
  742. package/.output/server/node_modules/d3-quadtree/src/y.js +7 -0
  743. package/.output/server/node_modules/d3-random/package.json +51 -0
  744. package/.output/server/node_modules/d3-random/src/bates.js +19 -0
  745. package/.output/server/node_modules/d3-random/src/bernoulli.js +14 -0
  746. package/.output/server/node_modules/d3-random/src/beta.js +19 -0
  747. package/.output/server/node_modules/d3-random/src/binomial.js +38 -0
  748. package/.output/server/node_modules/d3-random/src/cauchy.js +15 -0
  749. package/.output/server/node_modules/d3-random/src/defaultSource.js +1 -0
  750. package/.output/server/node_modules/d3-random/src/exponential.js +13 -0
  751. package/.output/server/node_modules/d3-random/src/gamma.js +34 -0
  752. package/.output/server/node_modules/d3-random/src/geometric.js +17 -0
  753. package/.output/server/node_modules/d3-random/src/index.js +18 -0
  754. package/.output/server/node_modules/d3-random/src/int.js +16 -0
  755. package/.output/server/node_modules/d3-random/src/irwinHall.js +15 -0
  756. package/.output/server/node_modules/d3-random/src/lcg.js +9 -0
  757. package/.output/server/node_modules/d3-random/src/logNormal.js +17 -0
  758. package/.output/server/node_modules/d3-random/src/logistic.js +16 -0
  759. package/.output/server/node_modules/d3-random/src/normal.js +28 -0
  760. package/.output/server/node_modules/d3-random/src/pareto.js +15 -0
  761. package/.output/server/node_modules/d3-random/src/poisson.js +27 -0
  762. package/.output/server/node_modules/d3-random/src/uniform.js +17 -0
  763. package/.output/server/node_modules/d3-random/src/weibull.js +22 -0
  764. package/.output/server/node_modules/d3-scale/package.json +57 -0
  765. package/.output/server/node_modules/d3-scale/src/band.js +101 -0
  766. package/.output/server/node_modules/d3-scale/src/constant.js +5 -0
  767. package/.output/server/node_modules/d3-scale/src/continuous.js +125 -0
  768. package/.output/server/node_modules/d3-scale/src/diverging.js +104 -0
  769. package/.output/server/node_modules/d3-scale/src/identity.js +28 -0
  770. package/.output/server/node_modules/d3-scale/src/index.js +78 -0
  771. package/.output/server/node_modules/d3-scale/src/init.js +26 -0
  772. package/.output/server/node_modules/d3-scale/src/linear.js +70 -0
  773. package/.output/server/node_modules/d3-scale/src/log.js +140 -0
  774. package/.output/server/node_modules/d3-scale/src/nice.js +18 -0
  775. package/.output/server/node_modules/d3-scale/src/number.js +3 -0
  776. package/.output/server/node_modules/d3-scale/src/ordinal.js +46 -0
  777. package/.output/server/node_modules/d3-scale/src/pow.js +50 -0
  778. package/.output/server/node_modules/d3-scale/src/quantile.js +57 -0
  779. package/.output/server/node_modules/d3-scale/src/quantize.js +56 -0
  780. package/.output/server/node_modules/d3-scale/src/radial.js +63 -0
  781. package/.output/server/node_modules/d3-scale/src/sequential.js +107 -0
  782. package/.output/server/node_modules/d3-scale/src/sequentialQuantile.js +38 -0
  783. package/.output/server/node_modules/d3-scale/src/symlog.js +35 -0
  784. package/.output/server/node_modules/d3-scale/src/threshold.js +39 -0
  785. package/.output/server/node_modules/d3-scale/src/tickFormat.js +29 -0
  786. package/.output/server/node_modules/d3-scale/src/time.js +71 -0
  787. package/.output/server/node_modules/d3-scale/src/utcTime.js +8 -0
  788. package/.output/server/node_modules/d3-scale-chromatic/package.json +55 -0
  789. package/.output/server/node_modules/d3-scale-chromatic/src/categorical/Accent.js +3 -0
  790. package/.output/server/node_modules/d3-scale-chromatic/src/categorical/Dark2.js +3 -0
  791. package/.output/server/node_modules/d3-scale-chromatic/src/categorical/Paired.js +3 -0
  792. package/.output/server/node_modules/d3-scale-chromatic/src/categorical/Pastel1.js +3 -0
  793. package/.output/server/node_modules/d3-scale-chromatic/src/categorical/Pastel2.js +3 -0
  794. package/.output/server/node_modules/d3-scale-chromatic/src/categorical/Set1.js +3 -0
  795. package/.output/server/node_modules/d3-scale-chromatic/src/categorical/Set2.js +3 -0
  796. package/.output/server/node_modules/d3-scale-chromatic/src/categorical/Set3.js +3 -0
  797. package/.output/server/node_modules/d3-scale-chromatic/src/categorical/Tableau10.js +3 -0
  798. package/.output/server/node_modules/d3-scale-chromatic/src/categorical/category10.js +3 -0
  799. package/.output/server/node_modules/d3-scale-chromatic/src/categorical/observable10.js +3 -0
  800. package/.output/server/node_modules/d3-scale-chromatic/src/colors.js +5 -0
  801. package/.output/server/node_modules/d3-scale-chromatic/src/diverging/BrBG.js +16 -0
  802. package/.output/server/node_modules/d3-scale-chromatic/src/diverging/PRGn.js +16 -0
  803. package/.output/server/node_modules/d3-scale-chromatic/src/diverging/PiYG.js +16 -0
  804. package/.output/server/node_modules/d3-scale-chromatic/src/diverging/PuOr.js +16 -0
  805. package/.output/server/node_modules/d3-scale-chromatic/src/diverging/RdBu.js +16 -0
  806. package/.output/server/node_modules/d3-scale-chromatic/src/diverging/RdGy.js +16 -0
  807. package/.output/server/node_modules/d3-scale-chromatic/src/diverging/RdYlBu.js +16 -0
  808. package/.output/server/node_modules/d3-scale-chromatic/src/diverging/RdYlGn.js +16 -0
  809. package/.output/server/node_modules/d3-scale-chromatic/src/diverging/Spectral.js +16 -0
  810. package/.output/server/node_modules/d3-scale-chromatic/src/index.js +44 -0
  811. package/.output/server/node_modules/d3-scale-chromatic/src/ramp.js +3 -0
  812. package/.output/server/node_modules/d3-scale-chromatic/src/sequential-multi/BuGn.js +14 -0
  813. package/.output/server/node_modules/d3-scale-chromatic/src/sequential-multi/BuPu.js +14 -0
  814. package/.output/server/node_modules/d3-scale-chromatic/src/sequential-multi/GnBu.js +14 -0
  815. package/.output/server/node_modules/d3-scale-chromatic/src/sequential-multi/OrRd.js +14 -0
  816. package/.output/server/node_modules/d3-scale-chromatic/src/sequential-multi/PuBu.js +14 -0
  817. package/.output/server/node_modules/d3-scale-chromatic/src/sequential-multi/PuBuGn.js +14 -0
  818. package/.output/server/node_modules/d3-scale-chromatic/src/sequential-multi/PuRd.js +14 -0
  819. package/.output/server/node_modules/d3-scale-chromatic/src/sequential-multi/RdPu.js +14 -0
  820. package/.output/server/node_modules/d3-scale-chromatic/src/sequential-multi/YlGn.js +14 -0
  821. package/.output/server/node_modules/d3-scale-chromatic/src/sequential-multi/YlGnBu.js +14 -0
  822. package/.output/server/node_modules/d3-scale-chromatic/src/sequential-multi/YlOrBr.js +14 -0
  823. package/.output/server/node_modules/d3-scale-chromatic/src/sequential-multi/YlOrRd.js +14 -0
  824. package/.output/server/node_modules/d3-scale-chromatic/src/sequential-multi/cividis.js +8 -0
  825. package/.output/server/node_modules/d3-scale-chromatic/src/sequential-multi/cubehelix.js +4 -0
  826. package/.output/server/node_modules/d3-scale-chromatic/src/sequential-multi/rainbow.js +17 -0
  827. package/.output/server/node_modules/d3-scale-chromatic/src/sequential-multi/sinebow.js +14 -0
  828. package/.output/server/node_modules/d3-scale-chromatic/src/sequential-multi/turbo.js +8 -0
  829. package/.output/server/node_modules/d3-scale-chromatic/src/sequential-multi/viridis.js +16 -0
  830. package/.output/server/node_modules/d3-scale-chromatic/src/sequential-single/Blues.js +14 -0
  831. package/.output/server/node_modules/d3-scale-chromatic/src/sequential-single/Greens.js +14 -0
  832. package/.output/server/node_modules/d3-scale-chromatic/src/sequential-single/Greys.js +14 -0
  833. package/.output/server/node_modules/d3-scale-chromatic/src/sequential-single/Oranges.js +14 -0
  834. package/.output/server/node_modules/d3-scale-chromatic/src/sequential-single/Purples.js +14 -0
  835. package/.output/server/node_modules/d3-scale-chromatic/src/sequential-single/Reds.js +14 -0
  836. package/.output/server/node_modules/d3-selection/package.json +51 -0
  837. package/.output/server/node_modules/d3-selection/src/array.js +9 -0
  838. package/.output/server/node_modules/d3-selection/src/constant.js +5 -0
  839. package/.output/server/node_modules/d3-selection/src/create.js +6 -0
  840. package/.output/server/node_modules/d3-selection/src/creator.js +25 -0
  841. package/.output/server/node_modules/d3-selection/src/index.js +15 -0
  842. package/.output/server/node_modules/d3-selection/src/local.js +27 -0
  843. package/.output/server/node_modules/d3-selection/src/matcher.js +12 -0
  844. package/.output/server/node_modules/d3-selection/src/namespace.js +7 -0
  845. package/.output/server/node_modules/d3-selection/src/namespaces.js +9 -0
  846. package/.output/server/node_modules/d3-selection/src/pointer.js +20 -0
  847. package/.output/server/node_modules/d3-selection/src/pointers.js +11 -0
  848. package/.output/server/node_modules/d3-selection/src/select.js +7 -0
  849. package/.output/server/node_modules/d3-selection/src/selectAll.js +8 -0
  850. package/.output/server/node_modules/d3-selection/src/selection/append.js +8 -0
  851. package/.output/server/node_modules/d3-selection/src/selection/attr.js +57 -0
  852. package/.output/server/node_modules/d3-selection/src/selection/call.js +6 -0
  853. package/.output/server/node_modules/d3-selection/src/selection/classed.js +75 -0
  854. package/.output/server/node_modules/d3-selection/src/selection/clone.js +13 -0
  855. package/.output/server/node_modules/d3-selection/src/selection/data.js +128 -0
  856. package/.output/server/node_modules/d3-selection/src/selection/datum.js +5 -0
  857. package/.output/server/node_modules/d3-selection/src/selection/dispatch.js +34 -0
  858. package/.output/server/node_modules/d3-selection/src/selection/each.js +10 -0
  859. package/.output/server/node_modules/d3-selection/src/selection/empty.js +3 -0
  860. package/.output/server/node_modules/d3-selection/src/selection/enter.js +22 -0
  861. package/.output/server/node_modules/d3-selection/src/selection/exit.js +6 -0
  862. package/.output/server/node_modules/d3-selection/src/selection/filter.js +16 -0
  863. package/.output/server/node_modules/d3-selection/src/selection/html.js +25 -0
  864. package/.output/server/node_modules/d3-selection/src/selection/index.js +90 -0
  865. package/.output/server/node_modules/d3-selection/src/selection/insert.js +14 -0
  866. package/.output/server/node_modules/d3-selection/src/selection/iterator.js +7 -0
  867. package/.output/server/node_modules/d3-selection/src/selection/join.js +15 -0
  868. package/.output/server/node_modules/d3-selection/src/selection/lower.js +7 -0
  869. package/.output/server/node_modules/d3-selection/src/selection/merge.js +19 -0
  870. package/.output/server/node_modules/d3-selection/src/selection/node.js +11 -0
  871. package/.output/server/node_modules/d3-selection/src/selection/nodes.js +3 -0
  872. package/.output/server/node_modules/d3-selection/src/selection/on.js +67 -0
  873. package/.output/server/node_modules/d3-selection/src/selection/order.js +13 -0
  874. package/.output/server/node_modules/d3-selection/src/selection/property.js +28 -0
  875. package/.output/server/node_modules/d3-selection/src/selection/raise.js +7 -0
  876. package/.output/server/node_modules/d3-selection/src/selection/remove.js +8 -0
  877. package/.output/server/node_modules/d3-selection/src/selection/select.js +17 -0
  878. package/.output/server/node_modules/d3-selection/src/selection/selectAll.js +25 -0
  879. package/.output/server/node_modules/d3-selection/src/selection/selectChild.js +18 -0
  880. package/.output/server/node_modules/d3-selection/src/selection/selectChildren.js +18 -0
  881. package/.output/server/node_modules/d3-selection/src/selection/size.js +5 -0
  882. package/.output/server/node_modules/d3-selection/src/selection/sort.js +24 -0
  883. package/.output/server/node_modules/d3-selection/src/selection/sparse.js +3 -0
  884. package/.output/server/node_modules/d3-selection/src/selection/style.js +35 -0
  885. package/.output/server/node_modules/d3-selection/src/selection/text.js +25 -0
  886. package/.output/server/node_modules/d3-selection/src/selector.js +7 -0
  887. package/.output/server/node_modules/d3-selection/src/selectorAll.js +9 -0
  888. package/.output/server/node_modules/d3-selection/src/sourceEvent.js +5 -0
  889. package/.output/server/node_modules/d3-selection/src/window.js +5 -0
  890. package/.output/server/node_modules/d3-shape/package.json +55 -0
  891. package/.output/server/node_modules/d3-shape/src/arc.js +268 -0
  892. package/.output/server/node_modules/d3-shape/src/area.js +112 -0
  893. package/.output/server/node_modules/d3-shape/src/areaRadial.js +29 -0
  894. package/.output/server/node_modules/d3-shape/src/array.js +7 -0
  895. package/.output/server/node_modules/d3-shape/src/constant.js +5 -0
  896. package/.output/server/node_modules/d3-shape/src/curve/basis.js +51 -0
  897. package/.output/server/node_modules/d3-shape/src/curve/basisClosed.js +52 -0
  898. package/.output/server/node_modules/d3-shape/src/curve/basisOpen.js +39 -0
  899. package/.output/server/node_modules/d3-shape/src/curve/bump.js +75 -0
  900. package/.output/server/node_modules/d3-shape/src/curve/bundle.js +56 -0
  901. package/.output/server/node_modules/d3-shape/src/curve/cardinal.js +61 -0
  902. package/.output/server/node_modules/d3-shape/src/curve/cardinalClosed.js +61 -0
  903. package/.output/server/node_modules/d3-shape/src/curve/cardinalOpen.js +49 -0
  904. package/.output/server/node_modules/d3-shape/src/curve/catmullRom.js +88 -0
  905. package/.output/server/node_modules/d3-shape/src/curve/catmullRomClosed.js +74 -0
  906. package/.output/server/node_modules/d3-shape/src/curve/catmullRomOpen.js +62 -0
  907. package/.output/server/node_modules/d3-shape/src/curve/linear.js +31 -0
  908. package/.output/server/node_modules/d3-shape/src/curve/linearClosed.js +25 -0
  909. package/.output/server/node_modules/d3-shape/src/curve/monotone.js +104 -0
  910. package/.output/server/node_modules/d3-shape/src/curve/natural.js +65 -0
  911. package/.output/server/node_modules/d3-shape/src/curve/radial.js +36 -0
  912. package/.output/server/node_modules/d3-shape/src/curve/step.js +53 -0
  913. package/.output/server/node_modules/d3-shape/src/descending.js +3 -0
  914. package/.output/server/node_modules/d3-shape/src/identity.js +3 -0
  915. package/.output/server/node_modules/d3-shape/src/index.js +53 -0
  916. package/.output/server/node_modules/d3-shape/src/line.js +58 -0
  917. package/.output/server/node_modules/d3-shape/src/lineRadial.js +19 -0
  918. package/.output/server/node_modules/d3-shape/src/link.js +73 -0
  919. package/.output/server/node_modules/d3-shape/src/math.js +20 -0
  920. package/.output/server/node_modules/d3-shape/src/noop.js +1 -0
  921. package/.output/server/node_modules/d3-shape/src/offset/diverging.js +14 -0
  922. package/.output/server/node_modules/d3-shape/src/offset/expand.js +10 -0
  923. package/.output/server/node_modules/d3-shape/src/offset/none.js +9 -0
  924. package/.output/server/node_modules/d3-shape/src/offset/silhouette.js +10 -0
  925. package/.output/server/node_modules/d3-shape/src/offset/wiggle.js +24 -0
  926. package/.output/server/node_modules/d3-shape/src/order/appearance.js +12 -0
  927. package/.output/server/node_modules/d3-shape/src/order/ascending.js +12 -0
  928. package/.output/server/node_modules/d3-shape/src/order/descending.js +5 -0
  929. package/.output/server/node_modules/d3-shape/src/order/insideOut.js +27 -0
  930. package/.output/server/node_modules/d3-shape/src/order/none.js +5 -0
  931. package/.output/server/node_modules/d3-shape/src/order/reverse.js +5 -0
  932. package/.output/server/node_modules/d3-shape/src/path.js +19 -0
  933. package/.output/server/node_modules/d3-shape/src/pie.js +80 -0
  934. package/.output/server/node_modules/d3-shape/src/point.js +7 -0
  935. package/.output/server/node_modules/d3-shape/src/pointRadial.js +3 -0
  936. package/.output/server/node_modules/d3-shape/src/stack.js +58 -0
  937. package/.output/server/node_modules/d3-shape/src/symbol/asterisk.js +17 -0
  938. package/.output/server/node_modules/d3-shape/src/symbol/circle.js +9 -0
  939. package/.output/server/node_modules/d3-shape/src/symbol/cross.js +20 -0
  940. package/.output/server/node_modules/d3-shape/src/symbol/diamond.js +16 -0
  941. package/.output/server/node_modules/d3-shape/src/symbol/diamond2.js +12 -0
  942. package/.output/server/node_modules/d3-shape/src/symbol/plus.js +11 -0
  943. package/.output/server/node_modules/d3-shape/src/symbol/square.js +9 -0
  944. package/.output/server/node_modules/d3-shape/src/symbol/square2.js +12 -0
  945. package/.output/server/node_modules/d3-shape/src/symbol/star.js +24 -0
  946. package/.output/server/node_modules/d3-shape/src/symbol/times.js +11 -0
  947. package/.output/server/node_modules/d3-shape/src/symbol/triangle.js +13 -0
  948. package/.output/server/node_modules/d3-shape/src/symbol/triangle2.js +15 -0
  949. package/.output/server/node_modules/d3-shape/src/symbol/wye.js +25 -0
  950. package/.output/server/node_modules/d3-shape/src/symbol.js +66 -0
  951. package/.output/server/node_modules/d3-time/package.json +53 -0
  952. package/.output/server/node_modules/d3-time/src/day.js +35 -0
  953. package/.output/server/node_modules/d3-time/src/duration.js +7 -0
  954. package/.output/server/node_modules/d3-time/src/hour.js +26 -0
  955. package/.output/server/node_modules/d3-time/src/index.js +96 -0
  956. package/.output/server/node_modules/d3-time/src/interval.js +69 -0
  957. package/.output/server/node_modules/d3-time/src/millisecond.js +25 -0
  958. package/.output/server/node_modules/d3-time/src/minute.js +26 -0
  959. package/.output/server/node_modules/d3-time/src/month.js +27 -0
  960. package/.output/server/node_modules/d3-time/src/second.js +14 -0
  961. package/.output/server/node_modules/d3-time/src/ticks.js +58 -0
  962. package/.output/server/node_modules/d3-time/src/week.js +56 -0
  963. package/.output/server/node_modules/d3-time/src/year.js +49 -0
  964. package/.output/server/node_modules/d3-time-format/package.json +60 -0
  965. package/.output/server/node_modules/d3-time-format/src/defaultLocale.js +27 -0
  966. package/.output/server/node_modules/d3-time-format/src/index.js +4 -0
  967. package/.output/server/node_modules/d3-time-format/src/isoFormat.js +13 -0
  968. package/.output/server/node_modules/d3-time-format/src/isoParse.js +13 -0
  969. package/.output/server/node_modules/d3-time-format/src/locale.js +697 -0
  970. package/.output/server/node_modules/d3-timer/package.json +53 -0
  971. package/.output/server/node_modules/d3-timer/src/index.js +13 -0
  972. package/.output/server/node_modules/d3-timer/src/interval.js +17 -0
  973. package/.output/server/node_modules/d3-timer/src/timeout.js +11 -0
  974. package/.output/server/node_modules/d3-timer/src/timer.js +110 -0
  975. package/.output/server/node_modules/d3-transition/package.json +65 -0
  976. package/.output/server/node_modules/d3-transition/src/active.js +21 -0
  977. package/.output/server/node_modules/d3-transition/src/index.js +4 -0
  978. package/.output/server/node_modules/d3-transition/src/interrupt.js +24 -0
  979. package/.output/server/node_modules/d3-transition/src/selection/index.js +6 -0
  980. package/.output/server/node_modules/d3-transition/src/selection/interrupt.js +7 -0
  981. package/.output/server/node_modules/d3-transition/src/selection/transition.js +42 -0
  982. package/.output/server/node_modules/d3-transition/src/transition/attr.js +78 -0
  983. package/.output/server/node_modules/d3-transition/src/transition/attrTween.js +44 -0
  984. package/.output/server/node_modules/d3-transition/src/transition/delay.js +23 -0
  985. package/.output/server/node_modules/d3-transition/src/transition/duration.js +23 -0
  986. package/.output/server/node_modules/d3-transition/src/transition/ease.js +16 -0
  987. package/.output/server/node_modules/d3-transition/src/transition/easeVarying.js +14 -0
  988. package/.output/server/node_modules/d3-transition/src/transition/end.js +29 -0
  989. package/.output/server/node_modules/d3-transition/src/transition/filter.js +16 -0
  990. package/.output/server/node_modules/d3-transition/src/transition/index.js +73 -0
  991. package/.output/server/node_modules/d3-transition/src/transition/interpolate.js +10 -0
  992. package/.output/server/node_modules/d3-transition/src/transition/merge.js +19 -0
  993. package/.output/server/node_modules/d3-transition/src/transition/on.js +32 -0
  994. package/.output/server/node_modules/d3-transition/src/transition/remove.js +11 -0
  995. package/.output/server/node_modules/d3-transition/src/transition/schedule.js +153 -0
  996. package/.output/server/node_modules/d3-transition/src/transition/select.js +22 -0
  997. package/.output/server/node_modules/d3-transition/src/transition/selectAll.js +26 -0
  998. package/.output/server/node_modules/d3-transition/src/transition/selection.js +7 -0
  999. package/.output/server/node_modules/d3-transition/src/transition/style.js +80 -0
  1000. package/.output/server/node_modules/d3-transition/src/transition/styleTween.js +24 -0
  1001. package/.output/server/node_modules/d3-transition/src/transition/text.js +20 -0
  1002. package/.output/server/node_modules/d3-transition/src/transition/textTween.js +24 -0
  1003. package/.output/server/node_modules/d3-transition/src/transition/transition.js +24 -0
  1004. package/.output/server/node_modules/d3-transition/src/transition/tween.js +81 -0
  1005. package/.output/server/node_modules/d3-zoom/package.json +57 -0
  1006. package/.output/server/node_modules/d3-zoom/src/constant.js +1 -0
  1007. package/.output/server/node_modules/d3-zoom/src/event.js +14 -0
  1008. package/.output/server/node_modules/d3-zoom/src/index.js +2 -0
  1009. package/.output/server/node_modules/d3-zoom/src/noevent.js +8 -0
  1010. package/.output/server/node_modules/d3-zoom/src/transform.js +51 -0
  1011. package/.output/server/node_modules/d3-zoom/src/zoom.js +447 -0
  1012. package/.output/server/node_modules/defu/dist/defu.mjs +69 -0
  1013. package/.output/server/node_modules/defu/package.json +43 -0
  1014. package/.output/server/node_modules/delaunator/index.js +480 -0
  1015. package/.output/server/node_modules/delaunator/package.json +56 -0
  1016. package/.output/server/node_modules/destr/dist/index.mjs +72 -0
  1017. package/.output/server/node_modules/destr/package.json +47 -0
  1018. package/.output/server/node_modules/devalue/index.js +4 -0
  1019. package/.output/server/node_modules/devalue/package.json +37 -0
  1020. package/.output/server/node_modules/devalue/src/base64.js +110 -0
  1021. package/.output/server/node_modules/devalue/src/constants.js +6 -0
  1022. package/.output/server/node_modules/devalue/src/parse.js +205 -0
  1023. package/.output/server/node_modules/devalue/src/stringify.js +265 -0
  1024. package/.output/server/node_modules/devalue/src/uneval.js +407 -0
  1025. package/.output/server/node_modules/devalue/src/utils.js +118 -0
  1026. package/.output/server/node_modules/entities/dist/commonjs/decode-codepoint.js +77 -0
  1027. package/.output/server/node_modules/entities/dist/commonjs/decode.js +568 -0
  1028. package/.output/server/node_modules/entities/dist/commonjs/generated/decode-data-html.js +7 -0
  1029. package/.output/server/node_modules/entities/dist/commonjs/generated/decode-data-xml.js +7 -0
  1030. package/.output/server/node_modules/entities/dist/commonjs/internal/bin-trie-flags.js +21 -0
  1031. package/.output/server/node_modules/entities/dist/commonjs/internal/decode-shared.js +31 -0
  1032. package/.output/server/node_modules/entities/dist/commonjs/package.json +3 -0
  1033. package/.output/server/node_modules/entities/package.json +113 -0
  1034. package/.output/server/node_modules/estree-walker/dist/umd/estree-walker.js +344 -0
  1035. package/.output/server/node_modules/estree-walker/package.json +37 -0
  1036. package/.output/server/node_modules/file-uri-to-path/index.js +66 -0
  1037. package/.output/server/node_modules/file-uri-to-path/package.json +32 -0
  1038. package/.output/server/node_modules/h3/dist/index.mjs +2478 -0
  1039. package/.output/server/node_modules/h3/package.json +75 -0
  1040. package/.output/server/node_modules/hookable/dist/index.mjs +290 -0
  1041. package/.output/server/node_modules/hookable/package.json +49 -0
  1042. package/.output/server/node_modules/internmap/package.json +43 -0
  1043. package/.output/server/node_modules/internmap/src/index.js +61 -0
  1044. package/.output/server/node_modules/iron-webcrypto/dist/index.js +298 -0
  1045. package/.output/server/node_modules/iron-webcrypto/package.json +72 -0
  1046. package/.output/server/node_modules/marked/lib/marked.esm.js +72 -0
  1047. package/.output/server/node_modules/marked/package.json +103 -0
  1048. package/.output/server/node_modules/node-mock-http/dist/_polyfill/buffer/node.mjs +1 -0
  1049. package/.output/server/node_modules/node-mock-http/dist/_polyfill/events/node.mjs +1 -0
  1050. package/.output/server/node_modules/node-mock-http/dist/index.mjs +1 -0
  1051. package/.output/server/node_modules/node-mock-http/package.json +63 -0
  1052. package/.output/server/node_modules/radix3/dist/index.mjs +262 -0
  1053. package/.output/server/node_modules/radix3/package.json +52 -0
  1054. package/.output/server/node_modules/robust-predicates/esm/incircle.js +765 -0
  1055. package/.output/server/node_modules/robust-predicates/esm/insphere.js +766 -0
  1056. package/.output/server/node_modules/robust-predicates/esm/orient2d.js +184 -0
  1057. package/.output/server/node_modules/robust-predicates/esm/orient3d.js +462 -0
  1058. package/.output/server/node_modules/robust-predicates/esm/util.js +138 -0
  1059. package/.output/server/node_modules/robust-predicates/index.js +5 -0
  1060. package/.output/server/node_modules/robust-predicates/package.json +75 -0
  1061. package/.output/server/node_modules/sortablejs/Sortable.min.js +2 -0
  1062. package/.output/server/node_modules/sortablejs/package.json +56 -0
  1063. package/.output/server/node_modules/source-map-js/lib/array-set.js +121 -0
  1064. package/.output/server/node_modules/source-map-js/lib/base64-vlq.js +140 -0
  1065. package/.output/server/node_modules/source-map-js/lib/base64.js +67 -0
  1066. package/.output/server/node_modules/source-map-js/lib/binary-search.js +111 -0
  1067. package/.output/server/node_modules/source-map-js/lib/mapping-list.js +79 -0
  1068. package/.output/server/node_modules/source-map-js/lib/quick-sort.js +132 -0
  1069. package/.output/server/node_modules/source-map-js/lib/source-map-consumer.js +1188 -0
  1070. package/.output/server/node_modules/source-map-js/lib/source-map-generator.js +444 -0
  1071. package/.output/server/node_modules/source-map-js/lib/source-node.js +413 -0
  1072. package/.output/server/node_modules/source-map-js/lib/util.js +594 -0
  1073. package/.output/server/node_modules/source-map-js/package.json +71 -0
  1074. package/.output/server/node_modules/source-map-js/source-map.js +8 -0
  1075. package/.output/server/node_modules/ufo/dist/index.mjs +638 -0
  1076. package/.output/server/node_modules/ufo/package.json +47 -0
  1077. package/.output/server/node_modules/uncrypto/dist/crypto.node.mjs +16 -0
  1078. package/.output/server/node_modules/uncrypto/package.json +60 -0
  1079. package/.output/server/node_modules/unhead/dist/index.mjs +9 -0
  1080. package/.output/server/node_modules/unhead/dist/parser.mjs +508 -0
  1081. package/.output/server/node_modules/unhead/dist/plugins.mjs +101 -0
  1082. package/.output/server/node_modules/unhead/dist/scripts.mjs +30 -0
  1083. package/.output/server/node_modules/unhead/dist/server.mjs +182 -0
  1084. package/.output/server/node_modules/unhead/dist/shared/unhead.B578PsDV.mjs +266 -0
  1085. package/.output/server/node_modules/unhead/dist/shared/unhead.BPM0-cfG.mjs +44 -0
  1086. package/.output/server/node_modules/unhead/dist/shared/unhead.BYvz9V1x.mjs +43 -0
  1087. package/.output/server/node_modules/unhead/dist/shared/unhead.CApf5sj3.mjs +148 -0
  1088. package/.output/server/node_modules/unhead/dist/shared/unhead.CGCfDSEL.mjs +180 -0
  1089. package/.output/server/node_modules/unhead/dist/shared/unhead.CYpwL2hc.mjs +194 -0
  1090. package/.output/server/node_modules/unhead/dist/shared/unhead.CbpEuj3y.mjs +71 -0
  1091. package/.output/server/node_modules/unhead/dist/shared/unhead.DQc16pHI.mjs +196 -0
  1092. package/.output/server/node_modules/unhead/dist/shared/unhead.ckV6dpEQ.mjs +166 -0
  1093. package/.output/server/node_modules/unhead/dist/shared/unhead.yem5I2v_.mjs +38 -0
  1094. package/.output/server/node_modules/unhead/dist/utils.mjs +5 -0
  1095. package/.output/server/node_modules/unhead/package.json +105 -0
  1096. package/.output/server/node_modules/vue/dist/vue.cjs.js +80 -0
  1097. package/.output/server/node_modules/vue/dist/vue.cjs.prod.js +66 -0
  1098. package/.output/server/node_modules/vue/index.js +7 -0
  1099. package/.output/server/node_modules/vue/index.mjs +1 -0
  1100. package/.output/server/node_modules/vue/package.json +112 -0
  1101. package/.output/server/node_modules/vue/server-renderer/index.mjs +1 -0
  1102. package/.output/server/node_modules/vue-bundle-renderer/dist/runtime.mjs +301 -0
  1103. package/.output/server/node_modules/vue-bundle-renderer/package.json +55 -0
  1104. package/.output/server/node_modules/vue-devtools-stub/dist/index.mjs +11 -0
  1105. package/.output/server/node_modules/vue-devtools-stub/package.json +41 -0
  1106. package/.output/server/node_modules/vue-router/dist/devtools-EWN81iOl.mjs +1220 -0
  1107. package/.output/server/node_modules/vue-router/dist/vue-router.mjs +1557 -0
  1108. package/.output/server/node_modules/vue-router/package.json +153 -0
  1109. package/.output/server/node_modules/vue-router/vue-router.node.mjs +2 -0
  1110. package/.output/server/node_modules/vuedraggable/dist/vuedraggable.umd.min.js +2 -0
  1111. package/.output/server/node_modules/vuedraggable/package.json +97 -0
  1112. package/.output/server/node_modules/yaml/dist/compose/compose-collection.js +90 -0
  1113. package/.output/server/node_modules/yaml/dist/compose/compose-doc.js +45 -0
  1114. package/.output/server/node_modules/yaml/dist/compose/compose-node.js +105 -0
  1115. package/.output/server/node_modules/yaml/dist/compose/compose-scalar.js +88 -0
  1116. package/.output/server/node_modules/yaml/dist/compose/composer.js +222 -0
  1117. package/.output/server/node_modules/yaml/dist/compose/resolve-block-map.js +117 -0
  1118. package/.output/server/node_modules/yaml/dist/compose/resolve-block-scalar.js +200 -0
  1119. package/.output/server/node_modules/yaml/dist/compose/resolve-block-seq.js +51 -0
  1120. package/.output/server/node_modules/yaml/dist/compose/resolve-end.js +39 -0
  1121. package/.output/server/node_modules/yaml/dist/compose/resolve-flow-collection.js +209 -0
  1122. package/.output/server/node_modules/yaml/dist/compose/resolve-flow-scalar.js +225 -0
  1123. package/.output/server/node_modules/yaml/dist/compose/resolve-props.js +148 -0
  1124. package/.output/server/node_modules/yaml/dist/compose/util-contains-newline.js +36 -0
  1125. package/.output/server/node_modules/yaml/dist/compose/util-empty-scalar-position.js +28 -0
  1126. package/.output/server/node_modules/yaml/dist/compose/util-flow-indent-check.js +17 -0
  1127. package/.output/server/node_modules/yaml/dist/compose/util-map-includes.js +15 -0
  1128. package/.output/server/node_modules/yaml/dist/doc/Document.js +337 -0
  1129. package/.output/server/node_modules/yaml/dist/doc/anchors.js +76 -0
  1130. package/.output/server/node_modules/yaml/dist/doc/applyReviver.js +57 -0
  1131. package/.output/server/node_modules/yaml/dist/doc/createNode.js +90 -0
  1132. package/.output/server/node_modules/yaml/dist/doc/directives.js +178 -0
  1133. package/.output/server/node_modules/yaml/dist/errors.js +62 -0
  1134. package/.output/server/node_modules/yaml/dist/index.js +50 -0
  1135. package/.output/server/node_modules/yaml/dist/log.js +19 -0
  1136. package/.output/server/node_modules/yaml/dist/nodes/Alias.js +116 -0
  1137. package/.output/server/node_modules/yaml/dist/nodes/Collection.js +151 -0
  1138. package/.output/server/node_modules/yaml/dist/nodes/Node.js +40 -0
  1139. package/.output/server/node_modules/yaml/dist/nodes/Pair.js +39 -0
  1140. package/.output/server/node_modules/yaml/dist/nodes/Scalar.js +27 -0
  1141. package/.output/server/node_modules/yaml/dist/nodes/YAMLMap.js +147 -0
  1142. package/.output/server/node_modules/yaml/dist/nodes/YAMLSeq.js +115 -0
  1143. package/.output/server/node_modules/yaml/dist/nodes/addPairToJSMap.js +65 -0
  1144. package/.output/server/node_modules/yaml/dist/nodes/identity.js +53 -0
  1145. package/.output/server/node_modules/yaml/dist/nodes/toJS.js +39 -0
  1146. package/.output/server/node_modules/yaml/dist/parse/cst-scalar.js +218 -0
  1147. package/.output/server/node_modules/yaml/dist/parse/cst-stringify.js +63 -0
  1148. package/.output/server/node_modules/yaml/dist/parse/cst-visit.js +99 -0
  1149. package/.output/server/node_modules/yaml/dist/parse/cst.js +112 -0
  1150. package/.output/server/node_modules/yaml/dist/parse/lexer.js +719 -0
  1151. package/.output/server/node_modules/yaml/dist/parse/line-counter.js +41 -0
  1152. package/.output/server/node_modules/yaml/dist/parse/parser.js +972 -0
  1153. package/.output/server/node_modules/yaml/dist/public-api.js +107 -0
  1154. package/.output/server/node_modules/yaml/dist/schema/Schema.js +39 -0
  1155. package/.output/server/node_modules/yaml/dist/schema/common/map.js +19 -0
  1156. package/.output/server/node_modules/yaml/dist/schema/common/null.js +17 -0
  1157. package/.output/server/node_modules/yaml/dist/schema/common/seq.js +19 -0
  1158. package/.output/server/node_modules/yaml/dist/schema/common/string.js +16 -0
  1159. package/.output/server/node_modules/yaml/dist/schema/core/bool.js +21 -0
  1160. package/.output/server/node_modules/yaml/dist/schema/core/float.js +47 -0
  1161. package/.output/server/node_modules/yaml/dist/schema/core/int.js +42 -0
  1162. package/.output/server/node_modules/yaml/dist/schema/core/schema.js +25 -0
  1163. package/.output/server/node_modules/yaml/dist/schema/json/schema.js +64 -0
  1164. package/.output/server/node_modules/yaml/dist/schema/tags.js +99 -0
  1165. package/.output/server/node_modules/yaml/dist/schema/yaml-1.1/binary.js +70 -0
  1166. package/.output/server/node_modules/yaml/dist/schema/yaml-1.1/bool.js +29 -0
  1167. package/.output/server/node_modules/yaml/dist/schema/yaml-1.1/float.js +50 -0
  1168. package/.output/server/node_modules/yaml/dist/schema/yaml-1.1/int.js +76 -0
  1169. package/.output/server/node_modules/yaml/dist/schema/yaml-1.1/merge.js +68 -0
  1170. package/.output/server/node_modules/yaml/dist/schema/yaml-1.1/omap.js +77 -0
  1171. package/.output/server/node_modules/yaml/dist/schema/yaml-1.1/pairs.js +82 -0
  1172. package/.output/server/node_modules/yaml/dist/schema/yaml-1.1/schema.js +41 -0
  1173. package/.output/server/node_modules/yaml/dist/schema/yaml-1.1/set.js +96 -0
  1174. package/.output/server/node_modules/yaml/dist/schema/yaml-1.1/timestamp.js +105 -0
  1175. package/.output/server/node_modules/yaml/dist/stringify/foldFlowLines.js +151 -0
  1176. package/.output/server/node_modules/yaml/dist/stringify/stringify.js +131 -0
  1177. package/.output/server/node_modules/yaml/dist/stringify/stringifyCollection.js +145 -0
  1178. package/.output/server/node_modules/yaml/dist/stringify/stringifyComment.js +24 -0
  1179. package/.output/server/node_modules/yaml/dist/stringify/stringifyDocument.js +87 -0
  1180. package/.output/server/node_modules/yaml/dist/stringify/stringifyNumber.js +26 -0
  1181. package/.output/server/node_modules/yaml/dist/stringify/stringifyPair.js +152 -0
  1182. package/.output/server/node_modules/yaml/dist/stringify/stringifyString.js +338 -0
  1183. package/.output/server/node_modules/yaml/dist/visit.js +236 -0
  1184. package/.output/server/node_modules/yaml/package.json +97 -0
  1185. package/.output/server/package.json +90 -0
  1186. package/README.md +396 -117
  1187. package/bin/autocode +2337 -1
  1188. package/package.json +61 -23
  1189. package/templates/prompts/ready.en.md +29 -0
  1190. package/templates/prompts/ready.fr.md +29 -0
  1191. package/dist/cli/commands/comment.d.ts +0 -9
  1192. package/dist/cli/commands/comment.d.ts.map +0 -1
  1193. package/dist/cli/commands/comment.js +0 -40
  1194. package/dist/cli/commands/comment.js.map +0 -1
  1195. package/dist/cli/commands/health.d.ts +0 -9
  1196. package/dist/cli/commands/health.d.ts.map +0 -1
  1197. package/dist/cli/commands/health.js +0 -101
  1198. package/dist/cli/commands/health.js.map +0 -1
  1199. package/dist/cli/commands/init.d.ts +0 -9
  1200. package/dist/cli/commands/init.d.ts.map +0 -1
  1201. package/dist/cli/commands/init.js +0 -63
  1202. package/dist/cli/commands/init.js.map +0 -1
  1203. package/dist/cli/commands/list.d.ts +0 -9
  1204. package/dist/cli/commands/list.d.ts.map +0 -1
  1205. package/dist/cli/commands/list.js +0 -121
  1206. package/dist/cli/commands/list.js.map +0 -1
  1207. package/dist/cli/commands/move.d.ts +0 -9
  1208. package/dist/cli/commands/move.d.ts.map +0 -1
  1209. package/dist/cli/commands/move.js +0 -66
  1210. package/dist/cli/commands/move.js.map +0 -1
  1211. package/dist/cli/commands/new.d.ts +0 -9
  1212. package/dist/cli/commands/new.d.ts.map +0 -1
  1213. package/dist/cli/commands/new.js +0 -105
  1214. package/dist/cli/commands/new.js.map +0 -1
  1215. package/dist/cli/commands/next.d.ts +0 -9
  1216. package/dist/cli/commands/next.d.ts.map +0 -1
  1217. package/dist/cli/commands/next.js +0 -46
  1218. package/dist/cli/commands/next.js.map +0 -1
  1219. package/dist/cli/commands/parent.d.ts +0 -9
  1220. package/dist/cli/commands/parent.d.ts.map +0 -1
  1221. package/dist/cli/commands/parent.js +0 -94
  1222. package/dist/cli/commands/parent.js.map +0 -1
  1223. package/dist/cli/commands/pipeline.d.ts +0 -9
  1224. package/dist/cli/commands/pipeline.d.ts.map +0 -1
  1225. package/dist/cli/commands/pipeline.js +0 -68
  1226. package/dist/cli/commands/pipeline.js.map +0 -1
  1227. package/dist/cli/commands/pipeline.test.d.ts +0 -5
  1228. package/dist/cli/commands/pipeline.test.d.ts.map +0 -1
  1229. package/dist/cli/commands/pipeline.test.js +0 -171
  1230. package/dist/cli/commands/pipeline.test.js.map +0 -1
  1231. package/dist/cli/commands/serve.d.ts +0 -9
  1232. package/dist/cli/commands/serve.d.ts.map +0 -1
  1233. package/dist/cli/commands/serve.js +0 -249
  1234. package/dist/cli/commands/serve.js.map +0 -1
  1235. package/dist/cli/commands/show.d.ts +0 -9
  1236. package/dist/cli/commands/show.d.ts.map +0 -1
  1237. package/dist/cli/commands/show.js +0 -111
  1238. package/dist/cli/commands/show.js.map +0 -1
  1239. package/dist/cli/commands/stats.d.ts +0 -9
  1240. package/dist/cli/commands/stats.d.ts.map +0 -1
  1241. package/dist/cli/commands/stats.js +0 -108
  1242. package/dist/cli/commands/stats.js.map +0 -1
  1243. package/dist/cli/commands/sync.d.ts +0 -9
  1244. package/dist/cli/commands/sync.d.ts.map +0 -1
  1245. package/dist/cli/commands/sync.js +0 -91
  1246. package/dist/cli/commands/sync.js.map +0 -1
  1247. package/dist/cli/commands/tunnel.d.ts +0 -9
  1248. package/dist/cli/commands/tunnel.d.ts.map +0 -1
  1249. package/dist/cli/commands/tunnel.js +0 -90
  1250. package/dist/cli/commands/tunnel.js.map +0 -1
  1251. package/dist/cli/parser.d.ts +0 -13
  1252. package/dist/cli/parser.d.ts.map +0 -1
  1253. package/dist/cli/parser.js +0 -67
  1254. package/dist/cli/parser.js.map +0 -1
  1255. package/dist/core/catalog.d.ts +0 -52
  1256. package/dist/core/catalog.d.ts.map +0 -1
  1257. package/dist/core/catalog.js +0 -102
  1258. package/dist/core/catalog.js.map +0 -1
  1259. package/dist/core/column.d.ts +0 -50
  1260. package/dist/core/column.d.ts.map +0 -1
  1261. package/dist/core/column.js +0 -134
  1262. package/dist/core/column.js.map +0 -1
  1263. package/dist/core/config.d.ts +0 -20
  1264. package/dist/core/config.d.ts.map +0 -1
  1265. package/dist/core/config.js +0 -54
  1266. package/dist/core/config.js.map +0 -1
  1267. package/dist/core/features.d.ts +0 -24
  1268. package/dist/core/features.d.ts.map +0 -1
  1269. package/dist/core/features.js +0 -33
  1270. package/dist/core/features.js.map +0 -1
  1271. package/dist/core/hierarchy.d.ts +0 -121
  1272. package/dist/core/hierarchy.d.ts.map +0 -1
  1273. package/dist/core/hierarchy.js +0 -350
  1274. package/dist/core/hierarchy.js.map +0 -1
  1275. package/dist/core/implementations/FilesystemIssueRepository.d.ts +0 -18
  1276. package/dist/core/implementations/FilesystemIssueRepository.d.ts.map +0 -1
  1277. package/dist/core/implementations/FilesystemIssueRepository.js +0 -149
  1278. package/dist/core/implementations/FilesystemIssueRepository.js.map +0 -1
  1279. package/dist/core/interfaces/IHierarchyService.d.ts +0 -32
  1280. package/dist/core/interfaces/IHierarchyService.d.ts.map +0 -1
  1281. package/dist/core/interfaces/IHierarchyService.js +0 -2
  1282. package/dist/core/interfaces/IHierarchyService.js.map +0 -1
  1283. package/dist/core/interfaces/IIssueRepository.d.ts +0 -55
  1284. package/dist/core/interfaces/IIssueRepository.d.ts.map +0 -1
  1285. package/dist/core/interfaces/IIssueRepository.js +0 -2
  1286. package/dist/core/interfaces/IIssueRepository.js.map +0 -1
  1287. package/dist/core/interfaces/IPipelineService.d.ts +0 -38
  1288. package/dist/core/interfaces/IPipelineService.d.ts.map +0 -1
  1289. package/dist/core/interfaces/IPipelineService.js +0 -2
  1290. package/dist/core/interfaces/IPipelineService.js.map +0 -1
  1291. package/dist/core/interfaces/IWorkflowService.d.ts +0 -38
  1292. package/dist/core/interfaces/IWorkflowService.d.ts.map +0 -1
  1293. package/dist/core/interfaces/IWorkflowService.js +0 -2
  1294. package/dist/core/interfaces/IWorkflowService.js.map +0 -1
  1295. package/dist/core/interfaces/index.d.ts +0 -5
  1296. package/dist/core/interfaces/index.d.ts.map +0 -1
  1297. package/dist/core/interfaces/index.js +0 -2
  1298. package/dist/core/interfaces/index.js.map +0 -1
  1299. package/dist/core/issue.d.ts +0 -62
  1300. package/dist/core/issue.d.ts.map +0 -1
  1301. package/dist/core/issue.js +0 -255
  1302. package/dist/core/issue.js.map +0 -1
  1303. package/dist/core/loop-detector.d.ts +0 -45
  1304. package/dist/core/loop-detector.d.ts.map +0 -1
  1305. package/dist/core/loop-detector.js +0 -81
  1306. package/dist/core/loop-detector.js.map +0 -1
  1307. package/dist/core/pipeline.d.ts +0 -70
  1308. package/dist/core/pipeline.d.ts.map +0 -1
  1309. package/dist/core/pipeline.js +0 -199
  1310. package/dist/core/pipeline.js.map +0 -1
  1311. package/dist/core/sync.d.ts +0 -41
  1312. package/dist/core/sync.d.ts.map +0 -1
  1313. package/dist/core/sync.js +0 -272
  1314. package/dist/core/sync.js.map +0 -1
  1315. package/dist/core/validation.d.ts +0 -26
  1316. package/dist/core/validation.d.ts.map +0 -1
  1317. package/dist/core/validation.js +0 -67
  1318. package/dist/core/validation.js.map +0 -1
  1319. package/dist/core/workflow.d.ts +0 -68
  1320. package/dist/core/workflow.d.ts.map +0 -1
  1321. package/dist/core/workflow.js +0 -226
  1322. package/dist/core/workflow.js.map +0 -1
  1323. package/dist/index.d.ts +0 -8
  1324. package/dist/index.d.ts.map +0 -1
  1325. package/dist/index.js +0 -12
  1326. package/dist/index.js.map +0 -1
  1327. package/dist/server/api-autocomplete.test.d.ts +0 -6
  1328. package/dist/server/api-autocomplete.test.d.ts.map +0 -1
  1329. package/dist/server/api-autocomplete.test.js +0 -249
  1330. package/dist/server/api-autocomplete.test.js.map +0 -1
  1331. package/dist/server/api.d.ts +0 -9
  1332. package/dist/server/api.d.ts.map +0 -1
  1333. package/dist/server/api.js +0 -1377
  1334. package/dist/server/api.js.map +0 -1
  1335. package/dist/server/dashboard/index.d.ts +0 -10
  1336. package/dist/server/dashboard/index.d.ts.map +0 -1
  1337. package/dist/server/dashboard/index.js +0 -16
  1338. package/dist/server/dashboard/index.js.map +0 -1
  1339. package/dist/server/dashboard/pages/autocreate.d.ts +0 -9
  1340. package/dist/server/dashboard/pages/autocreate.d.ts.map +0 -1
  1341. package/dist/server/dashboard/pages/autocreate.js +0 -854
  1342. package/dist/server/dashboard/pages/autocreate.js.map +0 -1
  1343. package/dist/server/dashboard/pages/changelog.d.ts +0 -9
  1344. package/dist/server/dashboard/pages/changelog.d.ts.map +0 -1
  1345. package/dist/server/dashboard/pages/changelog.js +0 -160
  1346. package/dist/server/dashboard/pages/changelog.js.map +0 -1
  1347. package/dist/server/dashboard/pages/column-edit.d.ts +0 -8
  1348. package/dist/server/dashboard/pages/column-edit.d.ts.map +0 -1
  1349. package/dist/server/dashboard/pages/column-edit.js +0 -303
  1350. package/dist/server/dashboard/pages/column-edit.js.map +0 -1
  1351. package/dist/server/dashboard/pages/column-prompt.d.ts +0 -8
  1352. package/dist/server/dashboard/pages/column-prompt.d.ts.map +0 -1
  1353. package/dist/server/dashboard/pages/column-prompt.js +0 -249
  1354. package/dist/server/dashboard/pages/column-prompt.js.map +0 -1
  1355. package/dist/server/dashboard/pages/column-terminal.d.ts +0 -8
  1356. package/dist/server/dashboard/pages/column-terminal.d.ts.map +0 -1
  1357. package/dist/server/dashboard/pages/column-terminal.js +0 -550
  1358. package/dist/server/dashboard/pages/column-terminal.js.map +0 -1
  1359. package/dist/server/dashboard/pages/index.d.ts +0 -21
  1360. package/dist/server/dashboard/pages/index.d.ts.map +0 -1
  1361. package/dist/server/dashboard/pages/index.js +0 -21
  1362. package/dist/server/dashboard/pages/index.js.map +0 -1
  1363. package/dist/server/dashboard/pages/issue-comments.d.ts +0 -8
  1364. package/dist/server/dashboard/pages/issue-comments.d.ts.map +0 -1
  1365. package/dist/server/dashboard/pages/issue-comments.js +0 -283
  1366. package/dist/server/dashboard/pages/issue-comments.js.map +0 -1
  1367. package/dist/server/dashboard/pages/issue-graph.d.ts +0 -9
  1368. package/dist/server/dashboard/pages/issue-graph.d.ts.map +0 -1
  1369. package/dist/server/dashboard/pages/issue-graph.js +0 -629
  1370. package/dist/server/dashboard/pages/issue-graph.js.map +0 -1
  1371. package/dist/server/dashboard/pages/issue-history.d.ts +0 -8
  1372. package/dist/server/dashboard/pages/issue-history.d.ts.map +0 -1
  1373. package/dist/server/dashboard/pages/issue-history.js +0 -149
  1374. package/dist/server/dashboard/pages/issue-history.js.map +0 -1
  1375. package/dist/server/dashboard/pages/issue-shared.d.ts +0 -27
  1376. package/dist/server/dashboard/pages/issue-shared.d.ts.map +0 -1
  1377. package/dist/server/dashboard/pages/issue-shared.js +0 -297
  1378. package/dist/server/dashboard/pages/issue-shared.js.map +0 -1
  1379. package/dist/server/dashboard/pages/issue-terminal.d.ts +0 -8
  1380. package/dist/server/dashboard/pages/issue-terminal.d.ts.map +0 -1
  1381. package/dist/server/dashboard/pages/issue-terminal.js +0 -363
  1382. package/dist/server/dashboard/pages/issue-terminal.js.map +0 -1
  1383. package/dist/server/dashboard/pages/issue-view.d.ts +0 -8
  1384. package/dist/server/dashboard/pages/issue-view.d.ts.map +0 -1
  1385. package/dist/server/dashboard/pages/issue-view.js +0 -386
  1386. package/dist/server/dashboard/pages/issue-view.js.map +0 -1
  1387. package/dist/server/dashboard/pages/main-dashboard.d.ts +0 -11
  1388. package/dist/server/dashboard/pages/main-dashboard.d.ts.map +0 -1
  1389. package/dist/server/dashboard/pages/main-dashboard.js +0 -228
  1390. package/dist/server/dashboard/pages/main-dashboard.js.map +0 -1
  1391. package/dist/server/dashboard/pages/new-issue.d.ts +0 -8
  1392. package/dist/server/dashboard/pages/new-issue.d.ts.map +0 -1
  1393. package/dist/server/dashboard/pages/new-issue.js +0 -898
  1394. package/dist/server/dashboard/pages/new-issue.js.map +0 -1
  1395. package/dist/server/dashboard/pages/new-issue.test.d.ts +0 -6
  1396. package/dist/server/dashboard/pages/new-issue.test.d.ts.map +0 -1
  1397. package/dist/server/dashboard/pages/new-issue.test.js +0 -824
  1398. package/dist/server/dashboard/pages/new-issue.test.js.map +0 -1
  1399. package/dist/server/dashboard/pages/pipeline-configurator.d.ts +0 -8
  1400. package/dist/server/dashboard/pages/pipeline-configurator.d.ts.map +0 -1
  1401. package/dist/server/dashboard/pages/pipeline-configurator.js +0 -1783
  1402. package/dist/server/dashboard/pages/pipeline-configurator.js.map +0 -1
  1403. package/dist/server/dashboard/pages/shared.d.ts +0 -8
  1404. package/dist/server/dashboard/pages/shared.d.ts.map +0 -1
  1405. package/dist/server/dashboard/pages/shared.js +0 -58
  1406. package/dist/server/dashboard/pages/shared.js.map +0 -1
  1407. package/dist/server/dashboard/pages/stats-page.d.ts +0 -8
  1408. package/dist/server/dashboard/pages/stats-page.d.ts.map +0 -1
  1409. package/dist/server/dashboard/pages/stats-page.js +0 -558
  1410. package/dist/server/dashboard/pages/stats-page.js.map +0 -1
  1411. package/dist/server/dashboard/pages/water-quality-form.d.ts +0 -10
  1412. package/dist/server/dashboard/pages/water-quality-form.d.ts.map +0 -1
  1413. package/dist/server/dashboard/pages/water-quality-form.js +0 -910
  1414. package/dist/server/dashboard/pages/water-quality-form.js.map +0 -1
  1415. package/dist/server/dashboard/scripts/index.d.ts +0 -11
  1416. package/dist/server/dashboard/scripts/index.d.ts.map +0 -1
  1417. package/dist/server/dashboard/scripts/index.js +0 -1278
  1418. package/dist/server/dashboard/scripts/index.js.map +0 -1
  1419. package/dist/server/dashboard/shared/header.d.ts +0 -88
  1420. package/dist/server/dashboard/shared/header.d.ts.map +0 -1
  1421. package/dist/server/dashboard/shared/header.js +0 -209
  1422. package/dist/server/dashboard/shared/header.js.map +0 -1
  1423. package/dist/server/dashboard/shared/i18n-script.d.ts +0 -45
  1424. package/dist/server/dashboard/shared/i18n-script.d.ts.map +0 -1
  1425. package/dist/server/dashboard/shared/i18n-script.js +0 -204
  1426. package/dist/server/dashboard/shared/i18n-script.js.map +0 -1
  1427. package/dist/server/dashboard/shared/index.d.ts +0 -19
  1428. package/dist/server/dashboard/shared/index.d.ts.map +0 -1
  1429. package/dist/server/dashboard/shared/index.js +0 -22
  1430. package/dist/server/dashboard/shared/index.js.map +0 -1
  1431. package/dist/server/dashboard/shared/translations.d.ts +0 -515
  1432. package/dist/server/dashboard/shared/translations.d.ts.map +0 -1
  1433. package/dist/server/dashboard/shared/translations.js +0 -591
  1434. package/dist/server/dashboard/shared/translations.js.map +0 -1
  1435. package/dist/server/dashboard/styles/base.d.ts +0 -5
  1436. package/dist/server/dashboard/styles/base.d.ts.map +0 -1
  1437. package/dist/server/dashboard/styles/base.js +0 -130
  1438. package/dist/server/dashboard/styles/base.js.map +0 -1
  1439. package/dist/server/dashboard/styles/board.d.ts +0 -5
  1440. package/dist/server/dashboard/styles/board.d.ts.map +0 -1
  1441. package/dist/server/dashboard/styles/board.js +0 -168
  1442. package/dist/server/dashboard/styles/board.js.map +0 -1
  1443. package/dist/server/dashboard/styles/comments.d.ts +0 -5
  1444. package/dist/server/dashboard/styles/comments.d.ts.map +0 -1
  1445. package/dist/server/dashboard/styles/comments.js +0 -249
  1446. package/dist/server/dashboard/styles/comments.js.map +0 -1
  1447. package/dist/server/dashboard/styles/components.d.ts +0 -5
  1448. package/dist/server/dashboard/styles/components.d.ts.map +0 -1
  1449. package/dist/server/dashboard/styles/components.js +0 -360
  1450. package/dist/server/dashboard/styles/components.js.map +0 -1
  1451. package/dist/server/dashboard/styles/footer.d.ts +0 -5
  1452. package/dist/server/dashboard/styles/footer.d.ts.map +0 -1
  1453. package/dist/server/dashboard/styles/footer.js +0 -40
  1454. package/dist/server/dashboard/styles/footer.js.map +0 -1
  1455. package/dist/server/dashboard/styles/index.d.ts +0 -8
  1456. package/dist/server/dashboard/styles/index.d.ts.map +0 -1
  1457. package/dist/server/dashboard/styles/index.js +0 -27
  1458. package/dist/server/dashboard/styles/index.js.map +0 -1
  1459. package/dist/server/dashboard/styles/logs.d.ts +0 -5
  1460. package/dist/server/dashboard/styles/logs.d.ts.map +0 -1
  1461. package/dist/server/dashboard/styles/logs.js +0 -89
  1462. package/dist/server/dashboard/styles/logs.js.map +0 -1
  1463. package/dist/server/dashboard/styles/notifications.d.ts +0 -5
  1464. package/dist/server/dashboard/styles/notifications.d.ts.map +0 -1
  1465. package/dist/server/dashboard/styles/notifications.js +0 -51
  1466. package/dist/server/dashboard/styles/notifications.js.map +0 -1
  1467. package/dist/server/dashboard/styles/variables.d.ts +0 -5
  1468. package/dist/server/dashboard/styles/variables.d.ts.map +0 -1
  1469. package/dist/server/dashboard/styles/variables.js +0 -29
  1470. package/dist/server/dashboard/styles/variables.js.map +0 -1
  1471. package/dist/server/dashboard/utils.d.ts +0 -8
  1472. package/dist/server/dashboard/utils.d.ts.map +0 -1
  1473. package/dist/server/dashboard/utils.js +0 -14
  1474. package/dist/server/dashboard/utils.js.map +0 -1
  1475. package/dist/server/dashboard.d.ts +0 -8
  1476. package/dist/server/dashboard.d.ts.map +0 -1
  1477. package/dist/server/dashboard.js +0 -8
  1478. package/dist/server/dashboard.js.map +0 -1
  1479. package/dist/server/index.d.ts +0 -8
  1480. package/dist/server/index.d.ts.map +0 -1
  1481. package/dist/server/index.js +0 -274
  1482. package/dist/server/index.js.map +0 -1
  1483. package/dist/server/watcher.d.ts +0 -13
  1484. package/dist/server/watcher.d.ts.map +0 -1
  1485. package/dist/server/watcher.js +0 -62
  1486. package/dist/server/watcher.js.map +0 -1
  1487. package/dist/server/websocket.d.ts +0 -46
  1488. package/dist/server/websocket.d.ts.map +0 -1
  1489. package/dist/server/websocket.js +0 -204
  1490. package/dist/server/websocket.js.map +0 -1
  1491. package/dist/services/autocreate.d.ts +0 -34
  1492. package/dist/services/autocreate.d.ts.map +0 -1
  1493. package/dist/services/autocreate.js +0 -503
  1494. package/dist/services/autocreate.js.map +0 -1
  1495. package/dist/services/claude.d.ts +0 -79
  1496. package/dist/services/claude.d.ts.map +0 -1
  1497. package/dist/services/claude.js +0 -519
  1498. package/dist/services/claude.js.map +0 -1
  1499. package/dist/services/issue-io.d.ts +0 -81
  1500. package/dist/services/issue-io.d.ts.map +0 -1
  1501. package/dist/services/issue-io.js +0 -249
  1502. package/dist/services/issue-io.js.map +0 -1
  1503. package/dist/services/monitoring.d.ts +0 -47
  1504. package/dist/services/monitoring.d.ts.map +0 -1
  1505. package/dist/services/monitoring.js +0 -136
  1506. package/dist/services/monitoring.js.map +0 -1
  1507. package/dist/services/stats.d.ts +0 -58
  1508. package/dist/services/stats.d.ts.map +0 -1
  1509. package/dist/services/stats.js +0 -196
  1510. package/dist/services/stats.js.map +0 -1
  1511. package/dist/types/index.d.ts +0 -213
  1512. package/dist/types/index.d.ts.map +0 -1
  1513. package/dist/types/index.js +0 -8
  1514. package/dist/types/index.js.map +0 -1
  1515. package/dist/utils/config.d.ts +0 -101
  1516. package/dist/utils/config.d.ts.map +0 -1
  1517. package/dist/utils/config.js +0 -98
  1518. package/dist/utils/config.js.map +0 -1
  1519. package/dist/utils/fs.d.ts +0 -60
  1520. package/dist/utils/fs.d.ts.map +0 -1
  1521. package/dist/utils/fs.js +0 -129
  1522. package/dist/utils/fs.js.map +0 -1
  1523. package/dist/utils/logger.d.ts +0 -23
  1524. package/dist/utils/logger.d.ts.map +0 -1
  1525. package/dist/utils/logger.js +0 -56
  1526. package/dist/utils/logger.js.map +0 -1
  1527. package/dist/utils/tunnel.d.ts +0 -62
  1528. package/dist/utils/tunnel.d.ts.map +0 -1
  1529. package/dist/utils/tunnel.js +0 -240
  1530. package/dist/utils/tunnel.js.map +0 -1
  1531. package/dist/utils/version-check.d.ts +0 -26
  1532. package/dist/utils/version-check.d.ts.map +0 -1
  1533. package/dist/utils/version-check.js +0 -234
  1534. package/dist/utils/version-check.js.map +0 -1
@@ -0,0 +1,1886 @@
1
+ /*!
2
+ * core-base v11.2.8
3
+ * (c) 2025 kazuya kawaguchi
4
+ * Released under the MIT License.
5
+ */
6
+ import { getGlobalThis, isObject, hasOwn, isNumber, create, isString, isBoolean, warn, format as format$1, isFunction, isPromise, isArray, isPlainObject, assign, isRegExp, warnOnce, isEmptyObject, isDate, join, toDisplayString, sanitizeTranslatedHtml, escapeHtml, inBrowser, mark, measure, generateCodeFrame, generateFormatCacheKey } from '@intlify/shared';
7
+ import { detectHtmlTag, defaultOnError, baseCompile as baseCompile$1, COMPILE_ERROR_CODES_EXTEND_POINT, createCompileError } from '@intlify/message-compiler';
8
+ export { CompileErrorCodes, createCompileError } from '@intlify/message-compiler';
9
+
10
+ /**
11
+ * This is only called in esm-bundler builds.
12
+ * istanbul-ignore-next
13
+ */
14
+ function initFeatureFlags() {
15
+ if (typeof __INTLIFY_PROD_DEVTOOLS__ !== 'boolean') {
16
+ getGlobalThis().__INTLIFY_PROD_DEVTOOLS__ = false;
17
+ }
18
+ if (typeof __INTLIFY_DROP_MESSAGE_COMPILER__ !== 'boolean') {
19
+ getGlobalThis().__INTLIFY_DROP_MESSAGE_COMPILER__ = false;
20
+ }
21
+ }
22
+
23
+ function isMessageAST(val) {
24
+ return (isObject(val) &&
25
+ resolveType(val) === 0 &&
26
+ (hasOwn(val, 'b') || hasOwn(val, 'body')));
27
+ }
28
+ const PROPS_BODY = ['b', 'body'];
29
+ function resolveBody(node) {
30
+ return resolveProps(node, PROPS_BODY);
31
+ }
32
+ const PROPS_CASES = ['c', 'cases'];
33
+ function resolveCases(node) {
34
+ return resolveProps(node, PROPS_CASES, []);
35
+ }
36
+ const PROPS_STATIC = ['s', 'static'];
37
+ function resolveStatic(node) {
38
+ return resolveProps(node, PROPS_STATIC);
39
+ }
40
+ const PROPS_ITEMS = ['i', 'items'];
41
+ function resolveItems(node) {
42
+ return resolveProps(node, PROPS_ITEMS, []);
43
+ }
44
+ const PROPS_TYPE = ['t', 'type'];
45
+ function resolveType(node) {
46
+ return resolveProps(node, PROPS_TYPE);
47
+ }
48
+ const PROPS_VALUE = ['v', 'value'];
49
+ function resolveValue$1(node, type) {
50
+ const resolved = resolveProps(node, PROPS_VALUE);
51
+ if (resolved != null) {
52
+ return resolved;
53
+ }
54
+ else {
55
+ throw createUnhandleNodeError(type);
56
+ }
57
+ }
58
+ const PROPS_MODIFIER = ['m', 'modifier'];
59
+ function resolveLinkedModifier(node) {
60
+ return resolveProps(node, PROPS_MODIFIER);
61
+ }
62
+ const PROPS_KEY = ['k', 'key'];
63
+ function resolveLinkedKey(node) {
64
+ const resolved = resolveProps(node, PROPS_KEY);
65
+ if (resolved) {
66
+ return resolved;
67
+ }
68
+ else {
69
+ throw createUnhandleNodeError(6 /* NodeTypes.Linked */);
70
+ }
71
+ }
72
+ function resolveProps(node, props, defaultValue) {
73
+ for (let i = 0; i < props.length; i++) {
74
+ const prop = props[i];
75
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
76
+ if (hasOwn(node, prop) && node[prop] != null) {
77
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
78
+ return node[prop];
79
+ }
80
+ }
81
+ return defaultValue;
82
+ }
83
+ const AST_NODE_PROPS_KEYS = [
84
+ ...PROPS_BODY,
85
+ ...PROPS_CASES,
86
+ ...PROPS_STATIC,
87
+ ...PROPS_ITEMS,
88
+ ...PROPS_KEY,
89
+ ...PROPS_MODIFIER,
90
+ ...PROPS_VALUE,
91
+ ...PROPS_TYPE
92
+ ];
93
+ function createUnhandleNodeError(type) {
94
+ return new Error(`unhandled node type: ${type}`);
95
+ }
96
+
97
+ function format(ast) {
98
+ const msg = (ctx) => formatParts(ctx, ast);
99
+ return msg;
100
+ }
101
+ function formatParts(ctx, ast) {
102
+ const body = resolveBody(ast);
103
+ if (body == null) {
104
+ throw createUnhandleNodeError(0 /* NodeTypes.Resource */);
105
+ }
106
+ const type = resolveType(body);
107
+ if (type === 1 /* NodeTypes.Plural */) {
108
+ const plural = body;
109
+ const cases = resolveCases(plural);
110
+ return ctx.plural(cases.reduce((messages, c) => [
111
+ ...messages,
112
+ formatMessageParts(ctx, c)
113
+ ], []));
114
+ }
115
+ else {
116
+ return formatMessageParts(ctx, body);
117
+ }
118
+ }
119
+ function formatMessageParts(ctx, node) {
120
+ const static_ = resolveStatic(node);
121
+ if (static_ != null) {
122
+ return ctx.type === 'text'
123
+ ? static_
124
+ : ctx.normalize([static_]);
125
+ }
126
+ else {
127
+ const messages = resolveItems(node).reduce((acm, c) => [...acm, formatMessagePart(ctx, c)], []);
128
+ return ctx.normalize(messages);
129
+ }
130
+ }
131
+ function formatMessagePart(ctx, node) {
132
+ const type = resolveType(node);
133
+ switch (type) {
134
+ case 3 /* NodeTypes.Text */: {
135
+ return resolveValue$1(node, type);
136
+ }
137
+ case 9 /* NodeTypes.Literal */: {
138
+ return resolveValue$1(node, type);
139
+ }
140
+ case 4 /* NodeTypes.Named */: {
141
+ const named = node;
142
+ if (hasOwn(named, 'k') && named.k) {
143
+ return ctx.interpolate(ctx.named(named.k));
144
+ }
145
+ if (hasOwn(named, 'key') && named.key) {
146
+ return ctx.interpolate(ctx.named(named.key));
147
+ }
148
+ throw createUnhandleNodeError(type);
149
+ }
150
+ case 5 /* NodeTypes.List */: {
151
+ const list = node;
152
+ if (hasOwn(list, 'i') && isNumber(list.i)) {
153
+ return ctx.interpolate(ctx.list(list.i));
154
+ }
155
+ if (hasOwn(list, 'index') && isNumber(list.index)) {
156
+ return ctx.interpolate(ctx.list(list.index));
157
+ }
158
+ throw createUnhandleNodeError(type);
159
+ }
160
+ case 6 /* NodeTypes.Linked */: {
161
+ const linked = node;
162
+ const modifier = resolveLinkedModifier(linked);
163
+ const key = resolveLinkedKey(linked);
164
+ return ctx.linked(formatMessagePart(ctx, key), modifier ? formatMessagePart(ctx, modifier) : undefined, ctx.type);
165
+ }
166
+ case 7 /* NodeTypes.LinkedKey */: {
167
+ return resolveValue$1(node, type);
168
+ }
169
+ case 8 /* NodeTypes.LinkedModifier */: {
170
+ return resolveValue$1(node, type);
171
+ }
172
+ default:
173
+ throw new Error(`unhandled node on format message part: ${type}`);
174
+ }
175
+ }
176
+
177
+ const WARN_MESSAGE = `Detected HTML in '{source}' message. Recommend not using HTML messages to avoid XSS.`;
178
+ function checkHtmlMessage(source, warnHtmlMessage) {
179
+ if (warnHtmlMessage && detectHtmlTag(source)) {
180
+ warn(format$1(WARN_MESSAGE, { source }));
181
+ }
182
+ }
183
+ const defaultOnCacheKey = (message) => message;
184
+ let compileCache = create();
185
+ function clearCompileCache() {
186
+ compileCache = create();
187
+ }
188
+ function baseCompile(message, options = {}) {
189
+ // error detecting on compile
190
+ let detectError = false;
191
+ const onError = options.onError || defaultOnError;
192
+ options.onError = (err) => {
193
+ detectError = true;
194
+ onError(err);
195
+ };
196
+ // compile with mesasge-compiler
197
+ return { ...baseCompile$1(message, options), detectError };
198
+ }
199
+ /* #__NO_SIDE_EFFECTS__ */
200
+ function compile(message, context) {
201
+ if ((!__INTLIFY_DROP_MESSAGE_COMPILER__) &&
202
+ isString(message)) {
203
+ // check HTML message
204
+ const warnHtmlMessage = isBoolean(context.warnHtmlMessage)
205
+ ? context.warnHtmlMessage
206
+ : true;
207
+ (process.env.NODE_ENV !== 'production') && checkHtmlMessage(message, warnHtmlMessage);
208
+ // check caches
209
+ const onCacheKey = context.onCacheKey || defaultOnCacheKey;
210
+ const cacheKey = onCacheKey(message);
211
+ const cached = compileCache[cacheKey];
212
+ if (cached) {
213
+ return cached;
214
+ }
215
+ // compile with JIT mode
216
+ const { ast, detectError } = baseCompile(message, {
217
+ ...context,
218
+ location: (process.env.NODE_ENV !== 'production'),
219
+ jit: true
220
+ });
221
+ // compose message function from AST
222
+ const msg = format(ast);
223
+ // if occurred compile error, don't cache
224
+ return !detectError
225
+ ? (compileCache[cacheKey] = msg)
226
+ : msg;
227
+ }
228
+ else {
229
+ if ((process.env.NODE_ENV !== 'production') && !isMessageAST(message)) {
230
+ warn(`the message that is resolve with key '${context.key}' is not supported for jit compilation`);
231
+ return (() => message);
232
+ }
233
+ // AST case (passed from bundler)
234
+ const cacheKey = message.cacheKey;
235
+ if (cacheKey) {
236
+ const cached = compileCache[cacheKey];
237
+ if (cached) {
238
+ return cached;
239
+ }
240
+ // compose message function from message (AST)
241
+ return (compileCache[cacheKey] =
242
+ format(message));
243
+ }
244
+ else {
245
+ return format(message);
246
+ }
247
+ }
248
+ }
249
+
250
+ let devtools = null;
251
+ function setDevToolsHook(hook) {
252
+ devtools = hook;
253
+ }
254
+ function getDevToolsHook() {
255
+ return devtools;
256
+ }
257
+ function initI18nDevTools(i18n, version, meta) {
258
+ // TODO: queue if devtools is undefined
259
+ devtools &&
260
+ devtools.emit('i18n:init', {
261
+ timestamp: Date.now(),
262
+ i18n,
263
+ version,
264
+ meta
265
+ });
266
+ }
267
+ const translateDevTools =
268
+ /* #__PURE__*/ createDevToolsHook('function:translate');
269
+ function createDevToolsHook(hook) {
270
+ return (payloads) => devtools && devtools.emit(hook, payloads);
271
+ }
272
+
273
+ const CoreErrorCodes = {
274
+ INVALID_ARGUMENT: COMPILE_ERROR_CODES_EXTEND_POINT, // 17
275
+ INVALID_DATE_ARGUMENT: 18,
276
+ INVALID_ISO_DATE_ARGUMENT: 19,
277
+ NOT_SUPPORT_NON_STRING_MESSAGE: 20,
278
+ NOT_SUPPORT_LOCALE_PROMISE_VALUE: 21,
279
+ NOT_SUPPORT_LOCALE_ASYNC_FUNCTION: 22,
280
+ NOT_SUPPORT_LOCALE_TYPE: 23
281
+ };
282
+ const CORE_ERROR_CODES_EXTEND_POINT = 24;
283
+ function createCoreError(code) {
284
+ return createCompileError(code, null, (process.env.NODE_ENV !== 'production') ? { messages: errorMessages } : undefined);
285
+ }
286
+ /** @internal */
287
+ const errorMessages = {
288
+ [CoreErrorCodes.INVALID_ARGUMENT]: 'Invalid arguments',
289
+ [CoreErrorCodes.INVALID_DATE_ARGUMENT]: 'The date provided is an invalid Date object.' +
290
+ 'Make sure your Date represents a valid date.',
291
+ [CoreErrorCodes.INVALID_ISO_DATE_ARGUMENT]: 'The argument provided is not a valid ISO date string',
292
+ [CoreErrorCodes.NOT_SUPPORT_NON_STRING_MESSAGE]: 'Not support non-string message',
293
+ [CoreErrorCodes.NOT_SUPPORT_LOCALE_PROMISE_VALUE]: 'cannot support promise value',
294
+ [CoreErrorCodes.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION]: 'cannot support async function',
295
+ [CoreErrorCodes.NOT_SUPPORT_LOCALE_TYPE]: 'cannot support locale type'
296
+ };
297
+
298
+ /** @internal */
299
+ function getLocale(context, options) {
300
+ return options.locale != null
301
+ ? resolveLocale(options.locale)
302
+ : resolveLocale(context.locale);
303
+ }
304
+ let _resolveLocale;
305
+ /** @internal */
306
+ function resolveLocale(locale) {
307
+ if (isString(locale)) {
308
+ return locale;
309
+ }
310
+ else {
311
+ if (isFunction(locale)) {
312
+ if (locale.resolvedOnce && _resolveLocale != null) {
313
+ return _resolveLocale;
314
+ }
315
+ else if (locale.constructor.name === 'Function') {
316
+ const resolve = locale();
317
+ if (isPromise(resolve)) {
318
+ throw createCoreError(CoreErrorCodes.NOT_SUPPORT_LOCALE_PROMISE_VALUE);
319
+ }
320
+ return (_resolveLocale = resolve);
321
+ }
322
+ else {
323
+ throw createCoreError(CoreErrorCodes.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION);
324
+ }
325
+ }
326
+ else {
327
+ throw createCoreError(CoreErrorCodes.NOT_SUPPORT_LOCALE_TYPE);
328
+ }
329
+ }
330
+ }
331
+ /**
332
+ * Fallback with simple implemenation
333
+ *
334
+ * @remarks
335
+ * A fallback locale function implemented with a simple fallback algorithm.
336
+ *
337
+ * Basically, it returns the value as specified in the `fallbackLocale` props, and is processed with the fallback inside intlify.
338
+ *
339
+ * @param ctx - A {@link CoreContext | context}
340
+ * @param fallback - A {@link FallbackLocale | fallback locale}
341
+ * @param start - A starting {@link Locale | locale}
342
+ *
343
+ * @returns Fallback locales
344
+ *
345
+ * @VueI18nGeneral
346
+ */
347
+ function fallbackWithSimple(ctx, fallback, start) {
348
+ // prettier-ignore
349
+ return [...new Set([
350
+ start,
351
+ ...(isArray(fallback)
352
+ ? fallback
353
+ : isObject(fallback)
354
+ ? Object.keys(fallback)
355
+ : isString(fallback)
356
+ ? [fallback]
357
+ : [start])
358
+ ])];
359
+ }
360
+ /**
361
+ * Fallback with locale chain
362
+ *
363
+ * @remarks
364
+ * A fallback locale function implemented with a fallback chain algorithm. It's used in VueI18n as default.
365
+ *
366
+ * @param ctx - A {@link CoreContext | context}
367
+ * @param fallback - A {@link FallbackLocale | fallback locale}
368
+ * @param start - A starting {@link Locale | locale}
369
+ *
370
+ * @returns Fallback locales
371
+ *
372
+ * @VueI18nSee [Fallbacking](../guide/essentials/fallback)
373
+ *
374
+ * @VueI18nGeneral
375
+ */
376
+ function fallbackWithLocaleChain(ctx, fallback, start) {
377
+ const startLocale = isString(start) ? start : DEFAULT_LOCALE;
378
+ const context = ctx;
379
+ if (!context.__localeChainCache) {
380
+ context.__localeChainCache = new Map();
381
+ }
382
+ let chain = context.__localeChainCache.get(startLocale);
383
+ if (!chain) {
384
+ chain = [];
385
+ // first block defined by start
386
+ let block = [start];
387
+ // while any intervening block found
388
+ while (isArray(block)) {
389
+ block = appendBlockToChain(chain, block, fallback);
390
+ }
391
+ // prettier-ignore
392
+ // last block defined by default
393
+ const defaults = isArray(fallback) || !isPlainObject(fallback)
394
+ ? fallback
395
+ : fallback['default']
396
+ ? fallback['default']
397
+ : null;
398
+ // convert defaults to array
399
+ block = isString(defaults) ? [defaults] : defaults;
400
+ if (isArray(block)) {
401
+ appendBlockToChain(chain, block, false);
402
+ }
403
+ context.__localeChainCache.set(startLocale, chain);
404
+ }
405
+ return chain;
406
+ }
407
+ function appendBlockToChain(chain, block, blocks) {
408
+ let follow = true;
409
+ for (let i = 0; i < block.length && isBoolean(follow); i++) {
410
+ const locale = block[i];
411
+ if (isString(locale)) {
412
+ follow = appendLocaleToChain(chain, block[i], blocks);
413
+ }
414
+ }
415
+ return follow;
416
+ }
417
+ function appendLocaleToChain(chain, locale, blocks) {
418
+ let follow;
419
+ const tokens = locale.split('-');
420
+ do {
421
+ const target = tokens.join('-');
422
+ follow = appendItemToChain(chain, target, blocks);
423
+ tokens.splice(-1, 1);
424
+ } while (tokens.length && follow === true);
425
+ return follow;
426
+ }
427
+ function appendItemToChain(chain, target, blocks) {
428
+ let follow = false;
429
+ if (!chain.includes(target)) {
430
+ follow = true;
431
+ if (target) {
432
+ follow = target[target.length - 1] !== '!';
433
+ const locale = target.replace(/!/g, '');
434
+ chain.push(locale);
435
+ if ((isArray(blocks) || isPlainObject(blocks)) &&
436
+ blocks[locale] // eslint-disable-line @typescript-eslint/no-explicit-any
437
+ ) {
438
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
439
+ follow = blocks[locale];
440
+ }
441
+ }
442
+ }
443
+ return follow;
444
+ }
445
+
446
+ const pathStateMachine = [];
447
+ pathStateMachine[0 /* States.BEFORE_PATH */] = {
448
+ ["w" /* PathCharTypes.WORKSPACE */]: [0 /* States.BEFORE_PATH */],
449
+ ["i" /* PathCharTypes.IDENT */]: [3 /* States.IN_IDENT */, 0 /* Actions.APPEND */],
450
+ ["[" /* PathCharTypes.LEFT_BRACKET */]: [4 /* States.IN_SUB_PATH */],
451
+ ["o" /* PathCharTypes.END_OF_FAIL */]: [7 /* States.AFTER_PATH */]
452
+ };
453
+ pathStateMachine[1 /* States.IN_PATH */] = {
454
+ ["w" /* PathCharTypes.WORKSPACE */]: [1 /* States.IN_PATH */],
455
+ ["." /* PathCharTypes.DOT */]: [2 /* States.BEFORE_IDENT */],
456
+ ["[" /* PathCharTypes.LEFT_BRACKET */]: [4 /* States.IN_SUB_PATH */],
457
+ ["o" /* PathCharTypes.END_OF_FAIL */]: [7 /* States.AFTER_PATH */]
458
+ };
459
+ pathStateMachine[2 /* States.BEFORE_IDENT */] = {
460
+ ["w" /* PathCharTypes.WORKSPACE */]: [2 /* States.BEFORE_IDENT */],
461
+ ["i" /* PathCharTypes.IDENT */]: [3 /* States.IN_IDENT */, 0 /* Actions.APPEND */],
462
+ ["0" /* PathCharTypes.ZERO */]: [3 /* States.IN_IDENT */, 0 /* Actions.APPEND */]
463
+ };
464
+ pathStateMachine[3 /* States.IN_IDENT */] = {
465
+ ["i" /* PathCharTypes.IDENT */]: [3 /* States.IN_IDENT */, 0 /* Actions.APPEND */],
466
+ ["0" /* PathCharTypes.ZERO */]: [3 /* States.IN_IDENT */, 0 /* Actions.APPEND */],
467
+ ["w" /* PathCharTypes.WORKSPACE */]: [1 /* States.IN_PATH */, 1 /* Actions.PUSH */],
468
+ ["." /* PathCharTypes.DOT */]: [2 /* States.BEFORE_IDENT */, 1 /* Actions.PUSH */],
469
+ ["[" /* PathCharTypes.LEFT_BRACKET */]: [4 /* States.IN_SUB_PATH */, 1 /* Actions.PUSH */],
470
+ ["o" /* PathCharTypes.END_OF_FAIL */]: [7 /* States.AFTER_PATH */, 1 /* Actions.PUSH */]
471
+ };
472
+ pathStateMachine[4 /* States.IN_SUB_PATH */] = {
473
+ ["'" /* PathCharTypes.SINGLE_QUOTE */]: [5 /* States.IN_SINGLE_QUOTE */, 0 /* Actions.APPEND */],
474
+ ["\"" /* PathCharTypes.DOUBLE_QUOTE */]: [6 /* States.IN_DOUBLE_QUOTE */, 0 /* Actions.APPEND */],
475
+ ["[" /* PathCharTypes.LEFT_BRACKET */]: [
476
+ 4 /* States.IN_SUB_PATH */,
477
+ 2 /* Actions.INC_SUB_PATH_DEPTH */
478
+ ],
479
+ ["]" /* PathCharTypes.RIGHT_BRACKET */]: [1 /* States.IN_PATH */, 3 /* Actions.PUSH_SUB_PATH */],
480
+ ["o" /* PathCharTypes.END_OF_FAIL */]: 8 /* States.ERROR */,
481
+ ["l" /* PathCharTypes.ELSE */]: [4 /* States.IN_SUB_PATH */, 0 /* Actions.APPEND */]
482
+ };
483
+ pathStateMachine[5 /* States.IN_SINGLE_QUOTE */] = {
484
+ ["'" /* PathCharTypes.SINGLE_QUOTE */]: [4 /* States.IN_SUB_PATH */, 0 /* Actions.APPEND */],
485
+ ["o" /* PathCharTypes.END_OF_FAIL */]: 8 /* States.ERROR */,
486
+ ["l" /* PathCharTypes.ELSE */]: [5 /* States.IN_SINGLE_QUOTE */, 0 /* Actions.APPEND */]
487
+ };
488
+ pathStateMachine[6 /* States.IN_DOUBLE_QUOTE */] = {
489
+ ["\"" /* PathCharTypes.DOUBLE_QUOTE */]: [4 /* States.IN_SUB_PATH */, 0 /* Actions.APPEND */],
490
+ ["o" /* PathCharTypes.END_OF_FAIL */]: 8 /* States.ERROR */,
491
+ ["l" /* PathCharTypes.ELSE */]: [6 /* States.IN_DOUBLE_QUOTE */, 0 /* Actions.APPEND */]
492
+ };
493
+ /**
494
+ * Check if an expression is a literal value.
495
+ */
496
+ const literalValueRE = /^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;
497
+ function isLiteral(exp) {
498
+ return literalValueRE.test(exp);
499
+ }
500
+ /**
501
+ * Strip quotes from a string
502
+ */
503
+ function stripQuotes(str) {
504
+ const a = str.charCodeAt(0);
505
+ const b = str.charCodeAt(str.length - 1);
506
+ return a === b && (a === 0x22 || a === 0x27) ? str.slice(1, -1) : str;
507
+ }
508
+ /**
509
+ * Determine the type of a character in a keypath.
510
+ */
511
+ function getPathCharType(ch) {
512
+ if (ch === undefined || ch === null) {
513
+ return "o" /* PathCharTypes.END_OF_FAIL */;
514
+ }
515
+ const code = ch.charCodeAt(0);
516
+ switch (code) {
517
+ case 0x5b: // [
518
+ case 0x5d: // ]
519
+ case 0x2e: // .
520
+ case 0x22: // "
521
+ case 0x27: // '
522
+ return ch;
523
+ case 0x5f: // _
524
+ case 0x24: // $
525
+ case 0x2d: // -
526
+ return "i" /* PathCharTypes.IDENT */;
527
+ case 0x09: // Tab (HT)
528
+ case 0x0a: // Newline (LF)
529
+ case 0x0d: // Return (CR)
530
+ case 0xa0: // No-break space (NBSP)
531
+ case 0xfeff: // Byte Order Mark (BOM)
532
+ case 0x2028: // Line Separator (LS)
533
+ case 0x2029: // Paragraph Separator (PS)
534
+ return "w" /* PathCharTypes.WORKSPACE */;
535
+ }
536
+ return "i" /* PathCharTypes.IDENT */;
537
+ }
538
+ /**
539
+ * Format a subPath, return its plain form if it is
540
+ * a literal string or number. Otherwise prepend the
541
+ * dynamic indicator (*).
542
+ */
543
+ function formatSubPath(path) {
544
+ const trimmed = path.trim();
545
+ // invalid leading 0
546
+ if (path.charAt(0) === '0' && isNaN(parseInt(path))) {
547
+ return false;
548
+ }
549
+ return isLiteral(trimmed)
550
+ ? stripQuotes(trimmed)
551
+ : "*" /* PathCharTypes.ASTARISK */ + trimmed;
552
+ }
553
+ /**
554
+ * Parse a string path into an array of segments
555
+ */
556
+ function parse(path) {
557
+ const keys = [];
558
+ let index = -1;
559
+ let mode = 0 /* States.BEFORE_PATH */;
560
+ let subPathDepth = 0;
561
+ let c;
562
+ let key; // eslint-disable-line
563
+ let newChar;
564
+ let type;
565
+ let transition;
566
+ let action;
567
+ let typeMap;
568
+ const actions = [];
569
+ actions[0 /* Actions.APPEND */] = () => {
570
+ if (key === undefined) {
571
+ key = newChar;
572
+ }
573
+ else {
574
+ key += newChar;
575
+ }
576
+ };
577
+ actions[1 /* Actions.PUSH */] = () => {
578
+ if (key !== undefined) {
579
+ keys.push(key);
580
+ key = undefined;
581
+ }
582
+ };
583
+ actions[2 /* Actions.INC_SUB_PATH_DEPTH */] = () => {
584
+ actions[0 /* Actions.APPEND */]();
585
+ subPathDepth++;
586
+ };
587
+ actions[3 /* Actions.PUSH_SUB_PATH */] = () => {
588
+ if (subPathDepth > 0) {
589
+ subPathDepth--;
590
+ mode = 4 /* States.IN_SUB_PATH */;
591
+ actions[0 /* Actions.APPEND */]();
592
+ }
593
+ else {
594
+ subPathDepth = 0;
595
+ if (key === undefined) {
596
+ return false;
597
+ }
598
+ key = formatSubPath(key);
599
+ if (key === false) {
600
+ return false;
601
+ }
602
+ else {
603
+ actions[1 /* Actions.PUSH */]();
604
+ }
605
+ }
606
+ };
607
+ function maybeUnescapeQuote() {
608
+ const nextChar = path[index + 1];
609
+ if ((mode === 5 /* States.IN_SINGLE_QUOTE */ &&
610
+ nextChar === "'" /* PathCharTypes.SINGLE_QUOTE */) ||
611
+ (mode === 6 /* States.IN_DOUBLE_QUOTE */ &&
612
+ nextChar === "\"" /* PathCharTypes.DOUBLE_QUOTE */)) {
613
+ index++;
614
+ newChar = '\\' + nextChar;
615
+ actions[0 /* Actions.APPEND */]();
616
+ return true;
617
+ }
618
+ }
619
+ while (mode !== null) {
620
+ index++;
621
+ c = path[index];
622
+ if (c === '\\' && maybeUnescapeQuote()) {
623
+ continue;
624
+ }
625
+ type = getPathCharType(c);
626
+ typeMap = pathStateMachine[mode];
627
+ transition = typeMap[type] || typeMap["l" /* PathCharTypes.ELSE */] || 8 /* States.ERROR */;
628
+ // check parse error
629
+ if (transition === 8 /* States.ERROR */) {
630
+ return;
631
+ }
632
+ mode = transition[0];
633
+ if (transition[1] !== undefined) {
634
+ action = actions[transition[1]];
635
+ if (action) {
636
+ newChar = c;
637
+ if (action() === false) {
638
+ return;
639
+ }
640
+ }
641
+ }
642
+ // check parse finish
643
+ if (mode === 7 /* States.AFTER_PATH */) {
644
+ return keys;
645
+ }
646
+ }
647
+ }
648
+ // path token cache
649
+ const cache = new Map();
650
+ /**
651
+ * key-value message resolver
652
+ *
653
+ * @remarks
654
+ * Resolves messages with the key-value structure. Note that messages with a hierarchical structure such as objects cannot be resolved
655
+ *
656
+ * @param obj - A target object to be resolved with path
657
+ * @param path - A {@link Path | path} to resolve the value of message
658
+ *
659
+ * @returns A resolved {@link PathValue | path value}
660
+ *
661
+ * @VueI18nGeneral
662
+ */
663
+ function resolveWithKeyValue(obj, path) {
664
+ return isObject(obj) ? obj[path] : null;
665
+ }
666
+ /**
667
+ * message resolver
668
+ *
669
+ * @remarks
670
+ * Resolves messages. messages with a hierarchical structure such as objects can be resolved. This resolver is used in VueI18n as default.
671
+ *
672
+ * @param obj - A target object to be resolved with path
673
+ * @param path - A {@link Path | path} to resolve the value of message
674
+ *
675
+ * @returns A resolved {@link PathValue | path value}
676
+ *
677
+ * @VueI18nGeneral
678
+ */
679
+ function resolveValue(obj, path) {
680
+ // check object
681
+ if (!isObject(obj)) {
682
+ return null;
683
+ }
684
+ // parse path
685
+ let hit = cache.get(path);
686
+ if (!hit) {
687
+ hit = parse(path);
688
+ if (hit) {
689
+ cache.set(path, hit);
690
+ }
691
+ }
692
+ // check hit
693
+ if (!hit) {
694
+ return null;
695
+ }
696
+ // resolve path value
697
+ const len = hit.length;
698
+ let last = obj;
699
+ let i = 0;
700
+ while (i < len) {
701
+ const key = hit[i];
702
+ /**
703
+ * NOTE:
704
+ * if `key` is intlify message format AST node key and `last` is intlify message format AST, skip it.
705
+ * because the AST node is not a key-value structure.
706
+ */
707
+ if (AST_NODE_PROPS_KEYS.includes(key) && isMessageAST(last)) {
708
+ return null;
709
+ }
710
+ const val = last[key];
711
+ if (val === undefined) {
712
+ return null;
713
+ }
714
+ if (isFunction(last)) {
715
+ return null;
716
+ }
717
+ last = val;
718
+ i++;
719
+ }
720
+ return last;
721
+ }
722
+
723
+ const CoreWarnCodes = {
724
+ NOT_FOUND_KEY: 1,
725
+ FALLBACK_TO_TRANSLATE: 2,
726
+ CANNOT_FORMAT_NUMBER: 3,
727
+ FALLBACK_TO_NUMBER_FORMAT: 4,
728
+ CANNOT_FORMAT_DATE: 5,
729
+ FALLBACK_TO_DATE_FORMAT: 6,
730
+ EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER: 7
731
+ };
732
+ const CORE_WARN_CODES_EXTEND_POINT = 8;
733
+ /** @internal */
734
+ const warnMessages = {
735
+ [CoreWarnCodes.NOT_FOUND_KEY]: `Not found '{key}' key in '{locale}' locale messages.`,
736
+ [CoreWarnCodes.FALLBACK_TO_TRANSLATE]: `Fall back to translate '{key}' key with '{target}' locale.`,
737
+ [CoreWarnCodes.CANNOT_FORMAT_NUMBER]: `Cannot format a number value due to not supported Intl.NumberFormat.`,
738
+ [CoreWarnCodes.FALLBACK_TO_NUMBER_FORMAT]: `Fall back to number format '{key}' key with '{target}' locale.`,
739
+ [CoreWarnCodes.CANNOT_FORMAT_DATE]: `Cannot format a date value due to not supported Intl.DateTimeFormat.`,
740
+ [CoreWarnCodes.FALLBACK_TO_DATE_FORMAT]: `Fall back to datetime format '{key}' key with '{target}' locale.`,
741
+ [CoreWarnCodes.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER]: `This project is using Custom Message Compiler, which is an experimental feature. It may receive breaking changes or be removed in the future.`
742
+ };
743
+ function getWarnMessage(code, ...args) {
744
+ return format$1(warnMessages[code], ...args);
745
+ }
746
+
747
+ /* eslint-disable @typescript-eslint/no-explicit-any */
748
+ /**
749
+ * Intlify core-base version
750
+ * @internal
751
+ */
752
+ const VERSION = '11.2.8';
753
+ const NOT_REOSLVED = -1;
754
+ const DEFAULT_LOCALE = 'en-US';
755
+ const MISSING_RESOLVE_VALUE = '';
756
+ const capitalize = (str) => `${str.charAt(0).toLocaleUpperCase()}${str.substr(1)}`;
757
+ function getDefaultLinkedModifiers() {
758
+ return {
759
+ upper: (val, type) => {
760
+ // prettier-ignore
761
+ return type === 'text' && isString(val)
762
+ ? val.toUpperCase()
763
+ : type === 'vnode' && isObject(val) && '__v_isVNode' in val
764
+ ? val.children.toUpperCase()
765
+ : val;
766
+ },
767
+ lower: (val, type) => {
768
+ // prettier-ignore
769
+ return type === 'text' && isString(val)
770
+ ? val.toLowerCase()
771
+ : type === 'vnode' && isObject(val) && '__v_isVNode' in val
772
+ ? val.children.toLowerCase()
773
+ : val;
774
+ },
775
+ capitalize: (val, type) => {
776
+ // prettier-ignore
777
+ return (type === 'text' && isString(val)
778
+ ? capitalize(val)
779
+ : type === 'vnode' && isObject(val) && '__v_isVNode' in val
780
+ ? capitalize(val.children)
781
+ : val);
782
+ }
783
+ };
784
+ }
785
+ let _compiler;
786
+ function registerMessageCompiler(compiler) {
787
+ _compiler = compiler;
788
+ }
789
+ let _resolver;
790
+ /**
791
+ * Register the message resolver
792
+ *
793
+ * @param resolver - A {@link MessageResolver} function
794
+ *
795
+ * @VueI18nGeneral
796
+ */
797
+ function registerMessageResolver(resolver) {
798
+ _resolver = resolver;
799
+ }
800
+ let _fallbacker;
801
+ /**
802
+ * Register the locale fallbacker
803
+ *
804
+ * @param fallbacker - A {@link LocaleFallbacker} function
805
+ *
806
+ * @VueI18nGeneral
807
+ */
808
+ function registerLocaleFallbacker(fallbacker) {
809
+ _fallbacker = fallbacker;
810
+ }
811
+ // Additional Meta for Intlify DevTools
812
+ let _additionalMeta = null;
813
+ /* #__NO_SIDE_EFFECTS__ */
814
+ const setAdditionalMeta = (meta) => {
815
+ _additionalMeta = meta;
816
+ };
817
+ /* #__NO_SIDE_EFFECTS__ */
818
+ const getAdditionalMeta = () => _additionalMeta;
819
+ let _fallbackContext = null;
820
+ const setFallbackContext = (context) => {
821
+ _fallbackContext = context;
822
+ };
823
+ const getFallbackContext = () => _fallbackContext;
824
+ // ID for CoreContext
825
+ let _cid = 0;
826
+ function createCoreContext(options = {}) {
827
+ // setup options
828
+ const onWarn = isFunction(options.onWarn) ? options.onWarn : warn;
829
+ const version = isString(options.version) ? options.version : VERSION;
830
+ const locale = isString(options.locale) || isFunction(options.locale)
831
+ ? options.locale
832
+ : DEFAULT_LOCALE;
833
+ const _locale = isFunction(locale) ? DEFAULT_LOCALE : locale;
834
+ const fallbackLocale = isArray(options.fallbackLocale) ||
835
+ isPlainObject(options.fallbackLocale) ||
836
+ isString(options.fallbackLocale) ||
837
+ options.fallbackLocale === false
838
+ ? options.fallbackLocale
839
+ : _locale;
840
+ const messages = isPlainObject(options.messages)
841
+ ? options.messages
842
+ : createResources(_locale);
843
+ const datetimeFormats = isPlainObject(options.datetimeFormats)
844
+ ? options.datetimeFormats
845
+ : createResources(_locale)
846
+ ;
847
+ const numberFormats = isPlainObject(options.numberFormats)
848
+ ? options.numberFormats
849
+ : createResources(_locale)
850
+ ;
851
+ const modifiers = assign(create(), options.modifiers, getDefaultLinkedModifiers());
852
+ const pluralRules = options.pluralRules || create();
853
+ const missing = isFunction(options.missing) ? options.missing : null;
854
+ const missingWarn = isBoolean(options.missingWarn) || isRegExp(options.missingWarn)
855
+ ? options.missingWarn
856
+ : true;
857
+ const fallbackWarn = isBoolean(options.fallbackWarn) || isRegExp(options.fallbackWarn)
858
+ ? options.fallbackWarn
859
+ : true;
860
+ const fallbackFormat = !!options.fallbackFormat;
861
+ const unresolving = !!options.unresolving;
862
+ const postTranslation = isFunction(options.postTranslation)
863
+ ? options.postTranslation
864
+ : null;
865
+ const processor = isPlainObject(options.processor) ? options.processor : null;
866
+ const warnHtmlMessage = isBoolean(options.warnHtmlMessage)
867
+ ? options.warnHtmlMessage
868
+ : true;
869
+ const escapeParameter = !!options.escapeParameter;
870
+ const messageCompiler = isFunction(options.messageCompiler)
871
+ ? options.messageCompiler
872
+ : _compiler;
873
+ if ((process.env.NODE_ENV !== 'production') &&
874
+ !false &&
875
+ !false &&
876
+ isFunction(options.messageCompiler)) {
877
+ warnOnce(getWarnMessage(CoreWarnCodes.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER));
878
+ }
879
+ const messageResolver = isFunction(options.messageResolver)
880
+ ? options.messageResolver
881
+ : _resolver || resolveWithKeyValue;
882
+ const localeFallbacker = isFunction(options.localeFallbacker)
883
+ ? options.localeFallbacker
884
+ : _fallbacker || fallbackWithSimple;
885
+ const fallbackContext = isObject(options.fallbackContext)
886
+ ? options.fallbackContext
887
+ : undefined;
888
+ // setup internal options
889
+ const internalOptions = options;
890
+ const __datetimeFormatters = isObject(internalOptions.__datetimeFormatters)
891
+ ? internalOptions.__datetimeFormatters
892
+ : new Map()
893
+ ;
894
+ const __numberFormatters = isObject(internalOptions.__numberFormatters)
895
+ ? internalOptions.__numberFormatters
896
+ : new Map()
897
+ ;
898
+ const __meta = isObject(internalOptions.__meta) ? internalOptions.__meta : {};
899
+ _cid++;
900
+ const context = {
901
+ version,
902
+ cid: _cid,
903
+ locale,
904
+ fallbackLocale,
905
+ messages,
906
+ modifiers,
907
+ pluralRules,
908
+ missing,
909
+ missingWarn,
910
+ fallbackWarn,
911
+ fallbackFormat,
912
+ unresolving,
913
+ postTranslation,
914
+ processor,
915
+ warnHtmlMessage,
916
+ escapeParameter,
917
+ messageCompiler,
918
+ messageResolver,
919
+ localeFallbacker,
920
+ fallbackContext,
921
+ onWarn,
922
+ __meta
923
+ };
924
+ {
925
+ context.datetimeFormats = datetimeFormats;
926
+ context.numberFormats = numberFormats;
927
+ context.__datetimeFormatters = __datetimeFormatters;
928
+ context.__numberFormatters = __numberFormatters;
929
+ }
930
+ // for vue-devtools timeline event
931
+ if ((process.env.NODE_ENV !== 'production')) {
932
+ context.__v_emitter =
933
+ internalOptions.__v_emitter != null
934
+ ? internalOptions.__v_emitter
935
+ : undefined;
936
+ }
937
+ // NOTE: experimental !!
938
+ if ((process.env.NODE_ENV !== 'production') || __INTLIFY_PROD_DEVTOOLS__) {
939
+ initI18nDevTools(context, version, __meta);
940
+ }
941
+ return context;
942
+ }
943
+ const createResources = (locale) => ({ [locale]: create() });
944
+ /** @internal */
945
+ function isTranslateFallbackWarn(fallback, key) {
946
+ return fallback instanceof RegExp ? fallback.test(key) : fallback;
947
+ }
948
+ /** @internal */
949
+ function isTranslateMissingWarn(missing, key) {
950
+ return missing instanceof RegExp ? missing.test(key) : missing;
951
+ }
952
+ /** @internal */
953
+ function handleMissing(context, key, locale, missingWarn, type) {
954
+ const { missing, onWarn } = context;
955
+ // for vue-devtools timeline event
956
+ if ((process.env.NODE_ENV !== 'production')) {
957
+ const emitter = context.__v_emitter;
958
+ if (emitter) {
959
+ emitter.emit('missing', {
960
+ locale,
961
+ key,
962
+ type,
963
+ groupId: `${type}:${key}`
964
+ });
965
+ }
966
+ }
967
+ if (missing !== null) {
968
+ const ret = missing(context, locale, key, type);
969
+ return isString(ret) ? ret : key;
970
+ }
971
+ else {
972
+ if ((process.env.NODE_ENV !== 'production') && isTranslateMissingWarn(missingWarn, key)) {
973
+ onWarn(getWarnMessage(CoreWarnCodes.NOT_FOUND_KEY, { key, locale }));
974
+ }
975
+ return key;
976
+ }
977
+ }
978
+ /** @internal */
979
+ function updateFallbackLocale(ctx, locale, fallback) {
980
+ const context = ctx;
981
+ context.__localeChainCache = new Map();
982
+ ctx.localeFallbacker(ctx, fallback, locale);
983
+ }
984
+ /** @internal */
985
+ function isAlmostSameLocale(locale, compareLocale) {
986
+ if (locale === compareLocale)
987
+ return false;
988
+ return locale.split('-')[0] === compareLocale.split('-')[0];
989
+ }
990
+ /** @internal */
991
+ function isImplicitFallback(targetLocale, locales) {
992
+ const index = locales.indexOf(targetLocale);
993
+ if (index === -1) {
994
+ return false;
995
+ }
996
+ for (let i = index + 1; i < locales.length; i++) {
997
+ if (isAlmostSameLocale(targetLocale, locales[i])) {
998
+ return true;
999
+ }
1000
+ }
1001
+ return false;
1002
+ }
1003
+ /* eslint-enable @typescript-eslint/no-explicit-any */
1004
+
1005
+ const intlDefined = typeof Intl !== 'undefined';
1006
+ const Availabilities = {
1007
+ dateTimeFormat: intlDefined && typeof Intl.DateTimeFormat !== 'undefined',
1008
+ numberFormat: intlDefined && typeof Intl.NumberFormat !== 'undefined'
1009
+ };
1010
+
1011
+ // implementation of `datetime` function
1012
+ function datetime(context, ...args) {
1013
+ const { datetimeFormats, unresolving, fallbackLocale, onWarn, localeFallbacker } = context;
1014
+ const { __datetimeFormatters } = context;
1015
+ if ((process.env.NODE_ENV !== 'production') && !Availabilities.dateTimeFormat) {
1016
+ onWarn(getWarnMessage(CoreWarnCodes.CANNOT_FORMAT_DATE));
1017
+ return MISSING_RESOLVE_VALUE;
1018
+ }
1019
+ const [key, value, options, overrides] = parseDateTimeArgs(...args);
1020
+ const missingWarn = isBoolean(options.missingWarn)
1021
+ ? options.missingWarn
1022
+ : context.missingWarn;
1023
+ const fallbackWarn = isBoolean(options.fallbackWarn)
1024
+ ? options.fallbackWarn
1025
+ : context.fallbackWarn;
1026
+ const part = !!options.part;
1027
+ const locale = getLocale(context, options);
1028
+ const locales = localeFallbacker(context, // eslint-disable-line @typescript-eslint/no-explicit-any
1029
+ fallbackLocale, locale);
1030
+ if (!isString(key) || key === '') {
1031
+ return new Intl.DateTimeFormat(locale, overrides).format(value);
1032
+ }
1033
+ // resolve format
1034
+ let datetimeFormat = {};
1035
+ let targetLocale;
1036
+ let format = null;
1037
+ let from = locale;
1038
+ let to = null;
1039
+ const type = 'datetime format';
1040
+ for (let i = 0; i < locales.length; i++) {
1041
+ targetLocale = to = locales[i];
1042
+ if ((process.env.NODE_ENV !== 'production') &&
1043
+ locale !== targetLocale &&
1044
+ isTranslateFallbackWarn(fallbackWarn, key)) {
1045
+ onWarn(getWarnMessage(CoreWarnCodes.FALLBACK_TO_DATE_FORMAT, {
1046
+ key,
1047
+ target: targetLocale
1048
+ }));
1049
+ }
1050
+ // for vue-devtools timeline event
1051
+ if ((process.env.NODE_ENV !== 'production') && locale !== targetLocale) {
1052
+ const emitter = context.__v_emitter;
1053
+ if (emitter) {
1054
+ emitter.emit('fallback', {
1055
+ type,
1056
+ key,
1057
+ from,
1058
+ to,
1059
+ groupId: `${type}:${key}`
1060
+ });
1061
+ }
1062
+ }
1063
+ datetimeFormat =
1064
+ datetimeFormats[targetLocale] || {};
1065
+ format = datetimeFormat[key];
1066
+ if (isPlainObject(format))
1067
+ break;
1068
+ handleMissing(context, key, targetLocale, missingWarn, type); // eslint-disable-line @typescript-eslint/no-explicit-any
1069
+ from = to;
1070
+ }
1071
+ // checking format and target locale
1072
+ if (!isPlainObject(format) || !isString(targetLocale)) {
1073
+ return unresolving ? NOT_REOSLVED : key;
1074
+ }
1075
+ let id = `${targetLocale}__${key}`;
1076
+ if (!isEmptyObject(overrides)) {
1077
+ id = `${id}__${JSON.stringify(overrides)}`;
1078
+ }
1079
+ let formatter = __datetimeFormatters.get(id);
1080
+ if (!formatter) {
1081
+ formatter = new Intl.DateTimeFormat(targetLocale, assign({}, format, overrides));
1082
+ __datetimeFormatters.set(id, formatter);
1083
+ }
1084
+ return !part ? formatter.format(value) : formatter.formatToParts(value);
1085
+ }
1086
+ /** @internal */
1087
+ const DATETIME_FORMAT_OPTIONS_KEYS = [
1088
+ 'localeMatcher',
1089
+ 'weekday',
1090
+ 'era',
1091
+ 'year',
1092
+ 'month',
1093
+ 'day',
1094
+ 'hour',
1095
+ 'minute',
1096
+ 'second',
1097
+ 'timeZoneName',
1098
+ 'formatMatcher',
1099
+ 'hour12',
1100
+ 'timeZone',
1101
+ 'dateStyle',
1102
+ 'timeStyle',
1103
+ 'calendar',
1104
+ 'dayPeriod',
1105
+ 'numberingSystem',
1106
+ 'hourCycle',
1107
+ 'fractionalSecondDigits'
1108
+ ];
1109
+ /** @internal */
1110
+ function parseDateTimeArgs(...args) {
1111
+ const [arg1, arg2, arg3, arg4] = args;
1112
+ const options = create();
1113
+ let overrides = create();
1114
+ let value;
1115
+ if (isString(arg1)) {
1116
+ // Only allow ISO strings - other date formats are often supported,
1117
+ // but may cause different results in different browsers.
1118
+ const matches = arg1.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);
1119
+ if (!matches) {
1120
+ throw createCoreError(CoreErrorCodes.INVALID_ISO_DATE_ARGUMENT);
1121
+ }
1122
+ // Some browsers can not parse the iso datetime separated by space,
1123
+ // this is a compromise solution by replace the 'T'/' ' with 'T'
1124
+ const dateTime = matches[3]
1125
+ ? matches[3].trim().startsWith('T')
1126
+ ? `${matches[1].trim()}${matches[3].trim()}`
1127
+ : `${matches[1].trim()}T${matches[3].trim()}`
1128
+ : matches[1].trim();
1129
+ value = new Date(dateTime);
1130
+ try {
1131
+ // This will fail if the date is not valid
1132
+ value.toISOString();
1133
+ }
1134
+ catch {
1135
+ throw createCoreError(CoreErrorCodes.INVALID_ISO_DATE_ARGUMENT);
1136
+ }
1137
+ }
1138
+ else if (isDate(arg1)) {
1139
+ if (isNaN(arg1.getTime())) {
1140
+ throw createCoreError(CoreErrorCodes.INVALID_DATE_ARGUMENT);
1141
+ }
1142
+ value = arg1;
1143
+ }
1144
+ else if (isNumber(arg1)) {
1145
+ value = arg1;
1146
+ }
1147
+ else {
1148
+ throw createCoreError(CoreErrorCodes.INVALID_ARGUMENT);
1149
+ }
1150
+ if (isString(arg2)) {
1151
+ options.key = arg2;
1152
+ }
1153
+ else if (isPlainObject(arg2)) {
1154
+ Object.keys(arg2).forEach(key => {
1155
+ if (DATETIME_FORMAT_OPTIONS_KEYS.includes(key)) {
1156
+ overrides[key] = arg2[key];
1157
+ }
1158
+ else {
1159
+ options[key] = arg2[key];
1160
+ }
1161
+ });
1162
+ }
1163
+ if (isString(arg3)) {
1164
+ options.locale = arg3;
1165
+ }
1166
+ else if (isPlainObject(arg3)) {
1167
+ overrides = arg3;
1168
+ }
1169
+ if (isPlainObject(arg4)) {
1170
+ overrides = arg4;
1171
+ }
1172
+ return [options.key || '', value, options, overrides];
1173
+ }
1174
+ /** @internal */
1175
+ function clearDateTimeFormat(ctx, locale, format) {
1176
+ const context = ctx;
1177
+ for (const key in format) {
1178
+ const id = `${locale}__${key}`;
1179
+ if (!context.__datetimeFormatters.has(id)) {
1180
+ continue;
1181
+ }
1182
+ context.__datetimeFormatters.delete(id);
1183
+ }
1184
+ }
1185
+
1186
+ // implementation of `number` function
1187
+ function number(context, ...args) {
1188
+ const { numberFormats, unresolving, fallbackLocale, onWarn, localeFallbacker } = context;
1189
+ const { __numberFormatters } = context;
1190
+ if ((process.env.NODE_ENV !== 'production') && !Availabilities.numberFormat) {
1191
+ onWarn(getWarnMessage(CoreWarnCodes.CANNOT_FORMAT_NUMBER));
1192
+ return MISSING_RESOLVE_VALUE;
1193
+ }
1194
+ const [key, value, options, overrides] = parseNumberArgs(...args);
1195
+ const missingWarn = isBoolean(options.missingWarn)
1196
+ ? options.missingWarn
1197
+ : context.missingWarn;
1198
+ const fallbackWarn = isBoolean(options.fallbackWarn)
1199
+ ? options.fallbackWarn
1200
+ : context.fallbackWarn;
1201
+ const part = !!options.part;
1202
+ const locale = getLocale(context, options);
1203
+ const locales = localeFallbacker(context, // eslint-disable-line @typescript-eslint/no-explicit-any
1204
+ fallbackLocale, locale);
1205
+ if (!isString(key) || key === '') {
1206
+ return new Intl.NumberFormat(locale, overrides).format(value);
1207
+ }
1208
+ // resolve format
1209
+ let numberFormat = {};
1210
+ let targetLocale;
1211
+ let format = null;
1212
+ let from = locale;
1213
+ let to = null;
1214
+ const type = 'number format';
1215
+ for (let i = 0; i < locales.length; i++) {
1216
+ targetLocale = to = locales[i];
1217
+ if ((process.env.NODE_ENV !== 'production') &&
1218
+ locale !== targetLocale &&
1219
+ isTranslateFallbackWarn(fallbackWarn, key)) {
1220
+ onWarn(getWarnMessage(CoreWarnCodes.FALLBACK_TO_NUMBER_FORMAT, {
1221
+ key,
1222
+ target: targetLocale
1223
+ }));
1224
+ }
1225
+ // for vue-devtools timeline event
1226
+ if ((process.env.NODE_ENV !== 'production') && locale !== targetLocale) {
1227
+ const emitter = context.__v_emitter;
1228
+ if (emitter) {
1229
+ emitter.emit('fallback', {
1230
+ type,
1231
+ key,
1232
+ from,
1233
+ to,
1234
+ groupId: `${type}:${key}`
1235
+ });
1236
+ }
1237
+ }
1238
+ numberFormat =
1239
+ numberFormats[targetLocale] || {};
1240
+ format = numberFormat[key];
1241
+ if (isPlainObject(format))
1242
+ break;
1243
+ handleMissing(context, key, targetLocale, missingWarn, type); // eslint-disable-line @typescript-eslint/no-explicit-any
1244
+ from = to;
1245
+ }
1246
+ // checking format and target locale
1247
+ if (!isPlainObject(format) || !isString(targetLocale)) {
1248
+ return unresolving ? NOT_REOSLVED : key;
1249
+ }
1250
+ let id = `${targetLocale}__${key}`;
1251
+ if (!isEmptyObject(overrides)) {
1252
+ id = `${id}__${JSON.stringify(overrides)}`;
1253
+ }
1254
+ let formatter = __numberFormatters.get(id);
1255
+ if (!formatter) {
1256
+ formatter = new Intl.NumberFormat(targetLocale, assign({}, format, overrides));
1257
+ __numberFormatters.set(id, formatter);
1258
+ }
1259
+ return !part ? formatter.format(value) : formatter.formatToParts(value);
1260
+ }
1261
+ /** @internal */
1262
+ const NUMBER_FORMAT_OPTIONS_KEYS = [
1263
+ 'localeMatcher',
1264
+ 'style',
1265
+ 'currency',
1266
+ 'currencyDisplay',
1267
+ 'currencySign',
1268
+ 'useGrouping',
1269
+ 'minimumIntegerDigits',
1270
+ 'minimumFractionDigits',
1271
+ 'maximumFractionDigits',
1272
+ 'minimumSignificantDigits',
1273
+ 'maximumSignificantDigits',
1274
+ 'compactDisplay',
1275
+ 'notation',
1276
+ 'signDisplay',
1277
+ 'unit',
1278
+ 'unitDisplay',
1279
+ 'roundingMode',
1280
+ 'roundingPriority',
1281
+ 'roundingIncrement',
1282
+ 'trailingZeroDisplay'
1283
+ ];
1284
+ /** @internal */
1285
+ function parseNumberArgs(...args) {
1286
+ const [arg1, arg2, arg3, arg4] = args;
1287
+ const options = create();
1288
+ let overrides = create();
1289
+ if (!isNumber(arg1)) {
1290
+ throw createCoreError(CoreErrorCodes.INVALID_ARGUMENT);
1291
+ }
1292
+ const value = arg1;
1293
+ if (isString(arg2)) {
1294
+ options.key = arg2;
1295
+ }
1296
+ else if (isPlainObject(arg2)) {
1297
+ Object.keys(arg2).forEach(key => {
1298
+ if (NUMBER_FORMAT_OPTIONS_KEYS.includes(key)) {
1299
+ overrides[key] = arg2[key];
1300
+ }
1301
+ else {
1302
+ options[key] = arg2[key];
1303
+ }
1304
+ });
1305
+ }
1306
+ if (isString(arg3)) {
1307
+ options.locale = arg3;
1308
+ }
1309
+ else if (isPlainObject(arg3)) {
1310
+ overrides = arg3;
1311
+ }
1312
+ if (isPlainObject(arg4)) {
1313
+ overrides = arg4;
1314
+ }
1315
+ return [options.key || '', value, options, overrides];
1316
+ }
1317
+ /** @internal */
1318
+ function clearNumberFormat(ctx, locale, format) {
1319
+ const context = ctx;
1320
+ for (const key in format) {
1321
+ const id = `${locale}__${key}`;
1322
+ if (!context.__numberFormatters.has(id)) {
1323
+ continue;
1324
+ }
1325
+ context.__numberFormatters.delete(id);
1326
+ }
1327
+ }
1328
+
1329
+ const DEFAULT_MODIFIER = (str) => str;
1330
+ const DEFAULT_MESSAGE = (ctx) => ''; // eslint-disable-line
1331
+ const DEFAULT_MESSAGE_DATA_TYPE = 'text';
1332
+ const DEFAULT_NORMALIZE = (values) => values.length === 0 ? '' : join(values);
1333
+ const DEFAULT_INTERPOLATE = toDisplayString;
1334
+ function pluralDefault(choice, choicesLength) {
1335
+ choice = Math.abs(choice);
1336
+ if (choicesLength === 2) {
1337
+ // prettier-ignore
1338
+ return choice
1339
+ ? choice > 1
1340
+ ? 1
1341
+ : 0
1342
+ : 1;
1343
+ }
1344
+ return choice ? Math.min(choice, 2) : 0;
1345
+ }
1346
+ function getPluralIndex(options) {
1347
+ // prettier-ignore
1348
+ const index = isNumber(options.pluralIndex)
1349
+ ? options.pluralIndex
1350
+ : -1;
1351
+ // prettier-ignore
1352
+ return options.named && (isNumber(options.named.count) || isNumber(options.named.n))
1353
+ ? isNumber(options.named.count)
1354
+ ? options.named.count
1355
+ : isNumber(options.named.n)
1356
+ ? options.named.n
1357
+ : index
1358
+ : index;
1359
+ }
1360
+ function normalizeNamed(pluralIndex, props) {
1361
+ if (!props.count) {
1362
+ props.count = pluralIndex;
1363
+ }
1364
+ if (!props.n) {
1365
+ props.n = pluralIndex;
1366
+ }
1367
+ }
1368
+ function createMessageContext(options = {}) {
1369
+ const locale = options.locale;
1370
+ const pluralIndex = getPluralIndex(options);
1371
+ const pluralRule = isObject(options.pluralRules) &&
1372
+ isString(locale) &&
1373
+ isFunction(options.pluralRules[locale])
1374
+ ? options.pluralRules[locale]
1375
+ : pluralDefault;
1376
+ const orgPluralRule = isObject(options.pluralRules) &&
1377
+ isString(locale) &&
1378
+ isFunction(options.pluralRules[locale])
1379
+ ? pluralDefault
1380
+ : undefined;
1381
+ const plural = (messages) => {
1382
+ return messages[pluralRule(pluralIndex, messages.length, orgPluralRule)];
1383
+ };
1384
+ const _list = options.list || [];
1385
+ const list = (index) => _list[index];
1386
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
1387
+ const _named = options.named || create();
1388
+ isNumber(options.pluralIndex) && normalizeNamed(pluralIndex, _named);
1389
+ const named = (key) => _named[key];
1390
+ function message(key, useLinked) {
1391
+ // prettier-ignore
1392
+ const msg = isFunction(options.messages)
1393
+ ? options.messages(key, !!useLinked)
1394
+ : isObject(options.messages)
1395
+ ? options.messages[key]
1396
+ : false;
1397
+ return !msg
1398
+ ? options.parent
1399
+ ? options.parent.message(key) // resolve from parent messages
1400
+ : DEFAULT_MESSAGE
1401
+ : msg;
1402
+ }
1403
+ const _modifier = (name) => options.modifiers
1404
+ ? options.modifiers[name]
1405
+ : DEFAULT_MODIFIER;
1406
+ const normalize = isPlainObject(options.processor) && isFunction(options.processor.normalize)
1407
+ ? options.processor.normalize
1408
+ : DEFAULT_NORMALIZE;
1409
+ const interpolate = isPlainObject(options.processor) &&
1410
+ isFunction(options.processor.interpolate)
1411
+ ? options.processor.interpolate
1412
+ : DEFAULT_INTERPOLATE;
1413
+ const type = isPlainObject(options.processor) && isString(options.processor.type)
1414
+ ? options.processor.type
1415
+ : DEFAULT_MESSAGE_DATA_TYPE;
1416
+ const linked = (key, ...args) => {
1417
+ const [arg1, arg2] = args;
1418
+ let type = 'text';
1419
+ let modifier = '';
1420
+ if (args.length === 1) {
1421
+ if (isObject(arg1)) {
1422
+ modifier = arg1.modifier || modifier;
1423
+ type = arg1.type || type;
1424
+ }
1425
+ else if (isString(arg1)) {
1426
+ modifier = arg1 || modifier;
1427
+ }
1428
+ }
1429
+ else if (args.length === 2) {
1430
+ if (isString(arg1)) {
1431
+ modifier = arg1 || modifier;
1432
+ }
1433
+ if (isString(arg2)) {
1434
+ type = arg2 || type;
1435
+ }
1436
+ }
1437
+ const ret = message(key, true)(ctx);
1438
+ const msg =
1439
+ // The message in vnode resolved with linked are returned as an array by processor.nomalize
1440
+ type === 'vnode' && isArray(ret) && modifier
1441
+ ? ret[0]
1442
+ : ret;
1443
+ return modifier ? _modifier(modifier)(msg, type) : msg;
1444
+ };
1445
+ const ctx = {
1446
+ ["list" /* HelperNameMap.LIST */]: list,
1447
+ ["named" /* HelperNameMap.NAMED */]: named,
1448
+ ["plural" /* HelperNameMap.PLURAL */]: plural,
1449
+ ["linked" /* HelperNameMap.LINKED */]: linked,
1450
+ ["message" /* HelperNameMap.MESSAGE */]: message,
1451
+ ["type" /* HelperNameMap.TYPE */]: type,
1452
+ ["interpolate" /* HelperNameMap.INTERPOLATE */]: interpolate,
1453
+ ["normalize" /* HelperNameMap.NORMALIZE */]: normalize,
1454
+ ["values" /* HelperNameMap.VALUES */]: assign(create(), _list, _named)
1455
+ };
1456
+ return ctx;
1457
+ }
1458
+
1459
+ const NOOP_MESSAGE_FUNCTION = () => '';
1460
+ const isMessageFunction = (val) => isFunction(val);
1461
+ // implementation of `translate` function
1462
+ function translate(context, ...args) {
1463
+ const { fallbackFormat, postTranslation, unresolving, messageCompiler, fallbackLocale, messages } = context;
1464
+ const [key, options] = parseTranslateArgs(...args);
1465
+ const missingWarn = isBoolean(options.missingWarn)
1466
+ ? options.missingWarn
1467
+ : context.missingWarn;
1468
+ const fallbackWarn = isBoolean(options.fallbackWarn)
1469
+ ? options.fallbackWarn
1470
+ : context.fallbackWarn;
1471
+ const escapeParameter = isBoolean(options.escapeParameter)
1472
+ ? options.escapeParameter
1473
+ : context.escapeParameter;
1474
+ const resolvedMessage = !!options.resolvedMessage;
1475
+ // prettier-ignore
1476
+ const defaultMsgOrKey = isString(options.default) || isBoolean(options.default) // default by function option
1477
+ ? !isBoolean(options.default)
1478
+ ? options.default
1479
+ : (!messageCompiler ? () => key : key)
1480
+ : fallbackFormat // default by `fallbackFormat` option
1481
+ ? (!messageCompiler ? () => key : key)
1482
+ : null;
1483
+ const enableDefaultMsg = fallbackFormat ||
1484
+ (defaultMsgOrKey != null &&
1485
+ (isString(defaultMsgOrKey) || isFunction(defaultMsgOrKey)));
1486
+ const locale = getLocale(context, options);
1487
+ // escape params
1488
+ escapeParameter && escapeParams(options);
1489
+ // resolve message format
1490
+ // eslint-disable-next-line prefer-const
1491
+ let [formatScope, targetLocale, message] = !resolvedMessage
1492
+ ? resolveMessageFormat(context, key, locale, fallbackLocale, fallbackWarn, missingWarn)
1493
+ : [
1494
+ key,
1495
+ locale,
1496
+ messages[locale] || create()
1497
+ ];
1498
+ // NOTE:
1499
+ // Fix to work around `ssrTransfrom` bug in Vite.
1500
+ // https://github.com/vitejs/vite/issues/4306
1501
+ // To get around this, use temporary variables.
1502
+ // https://github.com/nuxt/framework/issues/1461#issuecomment-954606243
1503
+ let format = formatScope;
1504
+ // if you use default message, set it as message format!
1505
+ let cacheBaseKey = key;
1506
+ if (!resolvedMessage &&
1507
+ !(isString(format) ||
1508
+ isMessageAST(format) ||
1509
+ isMessageFunction(format))) {
1510
+ if (enableDefaultMsg) {
1511
+ format = defaultMsgOrKey;
1512
+ cacheBaseKey = format;
1513
+ }
1514
+ }
1515
+ // checking message format and target locale
1516
+ if (!resolvedMessage &&
1517
+ (!(isString(format) ||
1518
+ isMessageAST(format) ||
1519
+ isMessageFunction(format)) ||
1520
+ !isString(targetLocale))) {
1521
+ return unresolving ? NOT_REOSLVED : key;
1522
+ }
1523
+ // TODO: refactor
1524
+ if ((process.env.NODE_ENV !== 'production') && isString(format) && context.messageCompiler == null) {
1525
+ warn(`The message format compilation is not supported in this build. ` +
1526
+ `Because message compiler isn't included. ` +
1527
+ `You need to pre-compilation all message format. ` +
1528
+ `So translate function return '${key}'.`);
1529
+ return key;
1530
+ }
1531
+ // setup compile error detecting
1532
+ let occurred = false;
1533
+ const onError = () => {
1534
+ occurred = true;
1535
+ };
1536
+ // compile message format
1537
+ const msg = !isMessageFunction(format)
1538
+ ? compileMessageFormat(context, key, targetLocale, format, cacheBaseKey, onError)
1539
+ : format;
1540
+ // if occurred compile error, return the message format
1541
+ if (occurred) {
1542
+ return format;
1543
+ }
1544
+ // evaluate message with context
1545
+ const ctxOptions = getMessageContextOptions(context, targetLocale, message, options);
1546
+ const msgContext = createMessageContext(ctxOptions);
1547
+ const messaged = evaluateMessage(context, msg, msgContext);
1548
+ // if use post translation option, proceed it with handler
1549
+ let ret = postTranslation
1550
+ ? postTranslation(messaged, key)
1551
+ : messaged;
1552
+ // apply HTML sanitization for security
1553
+ if (escapeParameter && isString(ret)) {
1554
+ ret = sanitizeTranslatedHtml(ret);
1555
+ }
1556
+ // NOTE: experimental !!
1557
+ if ((process.env.NODE_ENV !== 'production') || __INTLIFY_PROD_DEVTOOLS__) {
1558
+ // prettier-ignore
1559
+ const payloads = {
1560
+ timestamp: Date.now(),
1561
+ key: isString(key)
1562
+ ? key
1563
+ : isMessageFunction(format)
1564
+ ? format.key
1565
+ : '',
1566
+ locale: targetLocale || (isMessageFunction(format)
1567
+ ? format.locale
1568
+ : ''),
1569
+ format: isString(format)
1570
+ ? format
1571
+ : isMessageFunction(format)
1572
+ ? format.source
1573
+ : '',
1574
+ message: ret
1575
+ };
1576
+ payloads.meta = assign({}, context.__meta, getAdditionalMeta() || {});
1577
+ translateDevTools(payloads);
1578
+ }
1579
+ return ret;
1580
+ }
1581
+ function escapeParams(options) {
1582
+ if (isArray(options.list)) {
1583
+ options.list = options.list.map(item => isString(item) ? escapeHtml(item) : item);
1584
+ }
1585
+ else if (isObject(options.named)) {
1586
+ Object.keys(options.named).forEach(key => {
1587
+ if (isString(options.named[key])) {
1588
+ options.named[key] = escapeHtml(options.named[key]);
1589
+ }
1590
+ });
1591
+ }
1592
+ }
1593
+ function resolveMessageFormat(context, key, locale, fallbackLocale, fallbackWarn, missingWarn) {
1594
+ const { messages, onWarn, messageResolver: resolveValue, localeFallbacker } = context;
1595
+ const locales = localeFallbacker(context, fallbackLocale, locale); // eslint-disable-line @typescript-eslint/no-explicit-any
1596
+ let message = create();
1597
+ let targetLocale;
1598
+ let format = null;
1599
+ let from = locale;
1600
+ let to = null;
1601
+ const type = 'translate';
1602
+ for (let i = 0; i < locales.length; i++) {
1603
+ targetLocale = to = locales[i];
1604
+ if ((process.env.NODE_ENV !== 'production') &&
1605
+ locale !== targetLocale &&
1606
+ !isAlmostSameLocale(locale, targetLocale) &&
1607
+ isTranslateFallbackWarn(fallbackWarn, key)) {
1608
+ onWarn(getWarnMessage(CoreWarnCodes.FALLBACK_TO_TRANSLATE, {
1609
+ key,
1610
+ target: targetLocale
1611
+ }));
1612
+ }
1613
+ // for vue-devtools timeline event
1614
+ if ((process.env.NODE_ENV !== 'production') && locale !== targetLocale) {
1615
+ const emitter = context.__v_emitter;
1616
+ if (emitter) {
1617
+ emitter.emit('fallback', {
1618
+ type,
1619
+ key,
1620
+ from,
1621
+ to,
1622
+ groupId: `${type}:${key}`
1623
+ });
1624
+ }
1625
+ }
1626
+ message =
1627
+ messages[targetLocale] || create();
1628
+ // for vue-devtools timeline event
1629
+ let start = null;
1630
+ let startTag;
1631
+ let endTag;
1632
+ if ((process.env.NODE_ENV !== 'production') && inBrowser) {
1633
+ start = window.performance.now();
1634
+ startTag = 'intlify-message-resolve-start';
1635
+ endTag = 'intlify-message-resolve-end';
1636
+ mark && mark(startTag);
1637
+ }
1638
+ if ((format = resolveValue(message, key)) === null) {
1639
+ // if null, resolve with object key path
1640
+ format = message[key]; // eslint-disable-line @typescript-eslint/no-explicit-any
1641
+ }
1642
+ // for vue-devtools timeline event
1643
+ if ((process.env.NODE_ENV !== 'production') && inBrowser) {
1644
+ const end = window.performance.now();
1645
+ const emitter = context.__v_emitter;
1646
+ if (emitter && start && format) {
1647
+ emitter.emit('message-resolve', {
1648
+ type: 'message-resolve',
1649
+ key,
1650
+ message: format,
1651
+ time: end - start,
1652
+ groupId: `${type}:${key}`
1653
+ });
1654
+ }
1655
+ if (startTag && endTag && mark && measure) {
1656
+ mark(endTag);
1657
+ measure('intlify message resolve', startTag, endTag);
1658
+ }
1659
+ }
1660
+ if (isString(format) || isMessageAST(format) || isMessageFunction(format)) {
1661
+ break;
1662
+ }
1663
+ if (!isImplicitFallback(targetLocale, locales)) {
1664
+ const missingRet = handleMissing(context, // eslint-disable-line @typescript-eslint/no-explicit-any
1665
+ key, targetLocale, missingWarn, type);
1666
+ if (missingRet !== key) {
1667
+ format = missingRet;
1668
+ }
1669
+ }
1670
+ from = to;
1671
+ }
1672
+ return [format, targetLocale, message];
1673
+ }
1674
+ function compileMessageFormat(context, key, targetLocale, format, cacheBaseKey, onError) {
1675
+ const { messageCompiler, warnHtmlMessage } = context;
1676
+ if (isMessageFunction(format)) {
1677
+ const msg = format;
1678
+ msg.locale = msg.locale || targetLocale;
1679
+ msg.key = msg.key || key;
1680
+ return msg;
1681
+ }
1682
+ if (messageCompiler == null) {
1683
+ const msg = (() => format);
1684
+ msg.locale = targetLocale;
1685
+ msg.key = key;
1686
+ return msg;
1687
+ }
1688
+ // for vue-devtools timeline event
1689
+ let start = null;
1690
+ let startTag;
1691
+ let endTag;
1692
+ if ((process.env.NODE_ENV !== 'production') && inBrowser) {
1693
+ start = window.performance.now();
1694
+ startTag = 'intlify-message-compilation-start';
1695
+ endTag = 'intlify-message-compilation-end';
1696
+ mark && mark(startTag);
1697
+ }
1698
+ const msg = messageCompiler(format, getCompileContext(context, targetLocale, cacheBaseKey, format, warnHtmlMessage, onError));
1699
+ // for vue-devtools timeline event
1700
+ if ((process.env.NODE_ENV !== 'production') && inBrowser) {
1701
+ const end = window.performance.now();
1702
+ const emitter = context.__v_emitter;
1703
+ if (emitter && start) {
1704
+ emitter.emit('message-compilation', {
1705
+ type: 'message-compilation',
1706
+ message: format,
1707
+ time: end - start,
1708
+ groupId: `${'translate'}:${key}`
1709
+ });
1710
+ }
1711
+ if (startTag && endTag && mark && measure) {
1712
+ mark(endTag);
1713
+ measure('intlify message compilation', startTag, endTag);
1714
+ }
1715
+ }
1716
+ msg.locale = targetLocale;
1717
+ msg.key = key;
1718
+ msg.source = format;
1719
+ return msg;
1720
+ }
1721
+ function evaluateMessage(context, msg, msgCtx) {
1722
+ // for vue-devtools timeline event
1723
+ let start = null;
1724
+ let startTag;
1725
+ let endTag;
1726
+ if ((process.env.NODE_ENV !== 'production') && inBrowser) {
1727
+ start = window.performance.now();
1728
+ startTag = 'intlify-message-evaluation-start';
1729
+ endTag = 'intlify-message-evaluation-end';
1730
+ mark && mark(startTag);
1731
+ }
1732
+ const messaged = msg(msgCtx);
1733
+ // for vue-devtools timeline event
1734
+ if ((process.env.NODE_ENV !== 'production') && inBrowser) {
1735
+ const end = window.performance.now();
1736
+ const emitter = context.__v_emitter;
1737
+ if (emitter && start) {
1738
+ emitter.emit('message-evaluation', {
1739
+ type: 'message-evaluation',
1740
+ value: messaged,
1741
+ time: end - start,
1742
+ groupId: `${'translate'}:${msg.key}`
1743
+ });
1744
+ }
1745
+ if (startTag && endTag && mark && measure) {
1746
+ mark(endTag);
1747
+ measure('intlify message evaluation', startTag, endTag);
1748
+ }
1749
+ }
1750
+ return messaged;
1751
+ }
1752
+ /** @internal */
1753
+ function parseTranslateArgs(...args) {
1754
+ const [arg1, arg2, arg3] = args;
1755
+ const options = create();
1756
+ if (!isString(arg1) &&
1757
+ !isNumber(arg1) &&
1758
+ !isMessageFunction(arg1) &&
1759
+ !isMessageAST(arg1)) {
1760
+ throw createCoreError(CoreErrorCodes.INVALID_ARGUMENT);
1761
+ }
1762
+ // prettier-ignore
1763
+ const key = isNumber(arg1)
1764
+ ? String(arg1)
1765
+ : isMessageFunction(arg1)
1766
+ ? arg1
1767
+ : arg1;
1768
+ if (isNumber(arg2)) {
1769
+ options.plural = arg2;
1770
+ }
1771
+ else if (isString(arg2)) {
1772
+ options.default = arg2;
1773
+ }
1774
+ else if (isPlainObject(arg2) && !isEmptyObject(arg2)) {
1775
+ options.named = arg2;
1776
+ }
1777
+ else if (isArray(arg2)) {
1778
+ options.list = arg2;
1779
+ }
1780
+ if (isNumber(arg3)) {
1781
+ options.plural = arg3;
1782
+ }
1783
+ else if (isString(arg3)) {
1784
+ options.default = arg3;
1785
+ }
1786
+ else if (isPlainObject(arg3)) {
1787
+ assign(options, arg3);
1788
+ }
1789
+ return [key, options];
1790
+ }
1791
+ function getCompileContext(context, locale, key, source, warnHtmlMessage, onError) {
1792
+ return {
1793
+ locale,
1794
+ key,
1795
+ warnHtmlMessage,
1796
+ onError: (err) => {
1797
+ onError && onError(err);
1798
+ if ((process.env.NODE_ENV !== 'production')) {
1799
+ const _source = getSourceForCodeFrame(source);
1800
+ const message = `Message compilation error: ${err.message}`;
1801
+ const codeFrame = err.location &&
1802
+ _source &&
1803
+ generateCodeFrame(_source, err.location.start.offset, err.location.end.offset);
1804
+ const emitter = context.__v_emitter;
1805
+ if (emitter && _source) {
1806
+ emitter.emit('compile-error', {
1807
+ message: _source,
1808
+ error: err.message,
1809
+ start: err.location && err.location.start.offset,
1810
+ end: err.location && err.location.end.offset,
1811
+ groupId: `${'translate'}:${key}`
1812
+ });
1813
+ }
1814
+ console.error(codeFrame ? `${message}\n${codeFrame}` : message);
1815
+ }
1816
+ else {
1817
+ throw err;
1818
+ }
1819
+ },
1820
+ onCacheKey: (source) => generateFormatCacheKey(locale, key, source)
1821
+ };
1822
+ }
1823
+ function getSourceForCodeFrame(source) {
1824
+ if (isString(source)) {
1825
+ return source;
1826
+ }
1827
+ else {
1828
+ if (source.loc && source.loc.source) {
1829
+ return source.loc.source;
1830
+ }
1831
+ }
1832
+ }
1833
+ function getMessageContextOptions(context, locale, message, options) {
1834
+ const { modifiers, pluralRules, messageResolver: resolveValue, fallbackLocale, fallbackWarn, missingWarn, fallbackContext } = context;
1835
+ const resolveMessage = (key, useLinked) => {
1836
+ let val = resolveValue(message, key);
1837
+ // fallback
1838
+ if (val == null && (fallbackContext || useLinked)) {
1839
+ const [, , message] = resolveMessageFormat(fallbackContext || context, // NOTE: if has fallbackContext, fallback to root, else if use linked, fallback to local context
1840
+ key, locale, fallbackLocale, fallbackWarn, missingWarn);
1841
+ val = resolveValue(message, key);
1842
+ }
1843
+ if (isString(val) || isMessageAST(val)) {
1844
+ let occurred = false;
1845
+ const onError = () => {
1846
+ occurred = true;
1847
+ };
1848
+ const msg = compileMessageFormat(context, key, locale, val, key, onError);
1849
+ return !occurred
1850
+ ? msg
1851
+ : NOOP_MESSAGE_FUNCTION;
1852
+ }
1853
+ else if (isMessageFunction(val)) {
1854
+ return val;
1855
+ }
1856
+ else {
1857
+ // TODO: should be implemented warning message
1858
+ return NOOP_MESSAGE_FUNCTION;
1859
+ }
1860
+ };
1861
+ const ctxOptions = {
1862
+ locale,
1863
+ modifiers,
1864
+ pluralRules,
1865
+ messages: resolveMessage
1866
+ };
1867
+ if (context.processor) {
1868
+ ctxOptions.processor = context.processor;
1869
+ }
1870
+ if (options.list) {
1871
+ ctxOptions.list = options.list;
1872
+ }
1873
+ if (options.named) {
1874
+ ctxOptions.named = options.named;
1875
+ }
1876
+ if (isNumber(options.plural)) {
1877
+ ctxOptions.pluralIndex = options.plural;
1878
+ }
1879
+ return ctxOptions;
1880
+ }
1881
+
1882
+ {
1883
+ initFeatureFlags();
1884
+ }
1885
+
1886
+ export { AST_NODE_PROPS_KEYS, CORE_ERROR_CODES_EXTEND_POINT, CORE_WARN_CODES_EXTEND_POINT, CoreErrorCodes, CoreWarnCodes, DATETIME_FORMAT_OPTIONS_KEYS, DEFAULT_LOCALE, DEFAULT_MESSAGE_DATA_TYPE, MISSING_RESOLVE_VALUE, NOT_REOSLVED, NUMBER_FORMAT_OPTIONS_KEYS, VERSION, clearCompileCache, clearDateTimeFormat, clearNumberFormat, compile, createCoreContext, createCoreError, createMessageContext, datetime, fallbackWithLocaleChain, fallbackWithSimple, getAdditionalMeta, getDevToolsHook, getFallbackContext, getLocale, getWarnMessage, handleMissing, initI18nDevTools, isAlmostSameLocale, isImplicitFallback, isMessageAST, isMessageFunction, isTranslateFallbackWarn, isTranslateMissingWarn, number, parse, parseDateTimeArgs, parseNumberArgs, parseTranslateArgs, registerLocaleFallbacker, registerMessageCompiler, registerMessageResolver, resolveLocale, resolveValue, resolveWithKeyValue, setAdditionalMeta, setDevToolsHook, setFallbackContext, translate, translateDevTools, updateFallbackLocale };