orcaq 1.0.33 → 1.1.2

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 (1379) hide show
  1. package/.output/nitro.json +1 -1
  2. package/.output/public/_nuxt/63YtjFEq.js +1 -0
  3. package/.output/public/_nuxt/8tyEaimf.js +30 -0
  4. package/.output/public/_nuxt/AymhMj9v.js +1 -0
  5. package/.output/public/_nuxt/B2IKcIj2.js +1 -0
  6. package/.output/public/_nuxt/B46blMXm.js +7 -0
  7. package/.output/public/_nuxt/B5WGo5x7.js +1 -0
  8. package/.output/public/_nuxt/B6MkNyZd.js +132 -0
  9. package/.output/public/_nuxt/B73IHAoF.js +1 -0
  10. package/.output/public/_nuxt/B8TrrBEb.js +189 -0
  11. package/.output/public/_nuxt/B9uki8o2.js +1 -0
  12. package/.output/public/_nuxt/BEyCol50.js +1 -0
  13. package/.output/public/_nuxt/BJCrbji-.js +24 -0
  14. package/.output/public/_nuxt/BJVPtt2X.js +24 -0
  15. package/.output/public/_nuxt/BL__uYa3.js +1 -0
  16. package/.output/public/_nuxt/BPACuoI0.js +1 -0
  17. package/.output/public/_nuxt/BRFPdiIh.js +1 -0
  18. package/.output/public/_nuxt/BS-LtKx4.js +1 -0
  19. package/.output/public/_nuxt/BTYBVtfa.js +70 -0
  20. package/.output/public/_nuxt/BTheloyh.js +1 -0
  21. package/.output/public/_nuxt/BVUHbgGW.js +27 -0
  22. package/.output/public/_nuxt/BWZ7atse.js +1 -0
  23. package/.output/public/_nuxt/BWebIWit.js +39 -0
  24. package/.output/public/_nuxt/BcsKoAPU.js +984 -0
  25. package/.output/public/_nuxt/Bf6Q3Zl5.js +89 -0
  26. package/.output/public/_nuxt/Bj7ctTfH.js +1 -0
  27. package/.output/public/_nuxt/BjqbQLK3.js +1 -0
  28. package/.output/public/_nuxt/Bmgr9uz4.js +36 -0
  29. package/.output/public/_nuxt/Bmx1kTaZ.js +139 -0
  30. package/.output/public/_nuxt/BoIj4dtd.js +1 -0
  31. package/.output/public/_nuxt/BoMjapT5.js +220 -0
  32. package/.output/public/_nuxt/BogEzQi9.js +12 -0
  33. package/.output/public/_nuxt/BpLDGvqy.js +1 -0
  34. package/.output/public/_nuxt/BpUSbMUb.js +1 -0
  35. package/.output/public/_nuxt/BpvGVfME.js +1 -0
  36. package/.output/public/_nuxt/Bq47tjcm.js +1 -0
  37. package/.output/public/_nuxt/Bq7OeLM1.js +1 -0
  38. package/.output/public/_nuxt/BqU89KuH.js +2 -0
  39. package/.output/public/_nuxt/BrNfge84.js +34 -0
  40. package/.output/public/_nuxt/BtyzMl9p.js +1 -0
  41. package/.output/public/_nuxt/ByiJDSw8.js +68 -0
  42. package/.output/public/_nuxt/ByibjLZn.js +43 -0
  43. package/.output/public/_nuxt/BzvSm28k.js +67 -0
  44. package/.output/public/_nuxt/C2XHqDOf.js +1 -0
  45. package/.output/public/_nuxt/C3ZBsVV_.js +2 -0
  46. package/.output/public/_nuxt/C6dIAdHr.js +1 -0
  47. package/.output/public/_nuxt/C7BQpy74.js +1 -0
  48. package/.output/public/_nuxt/CAnr3OhD.js +1 -0
  49. package/.output/public/_nuxt/CDJKw_ak.js +1 -0
  50. package/.output/public/_nuxt/CHEpbbGc.js +1 -0
  51. package/.output/public/_nuxt/CMkzSwnO.js +61 -0
  52. package/.output/public/_nuxt/COAycMg4.js +1 -0
  53. package/.output/public/_nuxt/COHOh4Oe.js +1 -0
  54. package/.output/public/_nuxt/COq7mAG7.js +10 -0
  55. package/.output/public/_nuxt/CS5akSNT.js +1 -0
  56. package/.output/public/_nuxt/CS9hqyP3.js +1 -0
  57. package/.output/public/_nuxt/CSQ0xnqv.js +6 -0
  58. package/.output/public/_nuxt/C_7gtl40.js +1 -0
  59. package/.output/public/_nuxt/Ca0KO9Xq.js +9 -0
  60. package/.output/public/_nuxt/CerLmMsC.js +22 -0
  61. package/.output/public/_nuxt/Ci5B19-c.js +15 -0
  62. package/.output/public/_nuxt/Cnfx1zWl.js +10 -0
  63. package/.output/public/_nuxt/Cq-MDPLE.js +53 -0
  64. package/.output/public/_nuxt/CrNLwdoE.js +145 -0
  65. package/.output/public/_nuxt/CsRSZpa6.js +15 -0
  66. package/.output/public/_nuxt/CtWq1MER.js +7 -0
  67. package/.output/public/_nuxt/Cww9dXBK.js +1 -0
  68. package/.output/public/_nuxt/CycELG5y.js +65 -0
  69. package/.output/public/_nuxt/CzB2y8br.js +18 -0
  70. package/.output/public/_nuxt/D-9vaM6z.js +4 -0
  71. package/.output/public/_nuxt/D4pAW_0T.js +152 -0
  72. package/.output/public/_nuxt/DAr5YiBT.js +1 -0
  73. package/.output/public/_nuxt/DDebxXP-.js +1 -0
  74. package/.output/public/_nuxt/DEZMnZ2r.js +292 -0
  75. package/.output/public/_nuxt/DGvAu532.js +1 -0
  76. package/.output/public/_nuxt/DHAL8jJG.js +255 -0
  77. package/.output/public/_nuxt/DJH-4SVI.js +1 -0
  78. package/.output/public/_nuxt/DMmjWR_K.js +10 -0
  79. package/.output/public/_nuxt/DNB4Xmyo.js +37 -0
  80. package/.output/public/_nuxt/DNoTlUiY.js +7 -0
  81. package/.output/public/_nuxt/DPIEiNwW.js +1 -0
  82. package/.output/public/_nuxt/DSaBCmOg.js +162 -0
  83. package/.output/public/_nuxt/DVnDb6ua.js +1 -0
  84. package/.output/public/_nuxt/DWqOZJe7.js +1 -0
  85. package/.output/public/_nuxt/DcCF9IZB.js +1 -0
  86. package/.output/public/_nuxt/DfNTLojg.js +1 -0
  87. package/.output/public/_nuxt/DkD29_YA.js +73 -0
  88. package/.output/public/_nuxt/DpEV6S2O.js +1 -0
  89. package/.output/public/_nuxt/DpT8FO1Q.js +70 -0
  90. package/.output/public/_nuxt/Dq1JM9WZ.js +1 -0
  91. package/.output/public/_nuxt/DsmBazLf.js +20 -0
  92. package/.output/public/_nuxt/DuCDilAk.js +1 -0
  93. package/.output/public/_nuxt/FDw04QOj.js +2 -0
  94. package/.output/public/_nuxt/JOg_XIAv.js +1 -0
  95. package/.output/public/_nuxt/L2I3LmpB.js +68 -0
  96. package/.output/public/_nuxt/M6bBaUHa.js +1 -0
  97. package/.output/public/_nuxt/MW5K_zef.js +1 -0
  98. package/.output/public/_nuxt/MeLWmO7R.js +162 -0
  99. package/.output/public/_nuxt/Oe2GG0Lt.js +9 -0
  100. package/.output/public/_nuxt/S1qa1a4x.js +1 -0
  101. package/.output/public/_nuxt/Sf02B6Pt.js +3 -0
  102. package/.output/public/_nuxt/Y1gXUmjt.js +1 -0
  103. package/.output/public/_nuxt/_qKPTuua.js +1 -0
  104. package/.output/public/_nuxt/atdCACH-.js +1 -0
  105. package/.output/public/_nuxt/builds/latest.json +1 -1
  106. package/.output/public/_nuxt/builds/meta/7c171291-8bbd-4c4c-8904-0afae065b82e.json +1 -0
  107. package/.output/public/_nuxt/dNPwafbq.js +1 -0
  108. package/.output/public/_nuxt/dWu56FdP.js +3867 -0
  109. package/.output/public/_nuxt/default.B0xlD4Sl.css +1 -0
  110. package/.output/public/_nuxt/entry.DxCQuGXb.css +1 -0
  111. package/.output/public/_nuxt/iNy-Nl0_.js +1 -0
  112. package/.output/public/_nuxt/ioXB9E2w.js +1 -0
  113. package/.output/public/_nuxt/kvtnkChG.js +1 -0
  114. package/.output/public/_nuxt/qzrMNYut.js +1 -0
  115. package/.output/public/_nuxt/sk7V7xQl.js +1 -0
  116. package/.output/public/_nuxt/vhkvHdfO.js +1 -0
  117. package/.output/public/_nuxt/wRAs0MDn.js +2 -0
  118. package/.output/public/_nuxt/xOD4Ev56.js +1 -0
  119. package/.output/public/_nuxt/xp7rFxcm.js +1 -0
  120. package/.output/server/chunks/_/create-adapter.mjs +38 -7
  121. package/.output/server/chunks/_/create-adapter.mjs.map +1 -1
  122. package/.output/server/chunks/_/database-error.mjs +10 -0
  123. package/.output/server/chunks/_/database-error.mjs.map +1 -1
  124. package/.output/server/chunks/_/database-roles.factory.mjs +126 -22
  125. package/.output/server/chunks/_/database-roles.factory.mjs.map +1 -1
  126. package/.output/server/chunks/_/db-connection.mjs +1202 -81
  127. package/.output/server/chunks/_/db-connection.mjs.map +1 -1
  128. package/.output/server/chunks/_/functions.factory.mjs +97 -6
  129. package/.output/server/chunks/_/functions.factory.mjs.map +1 -1
  130. package/.output/server/chunks/_/instance-insights.factory.mjs +2130 -8
  131. package/.output/server/chunks/_/instance-insights.factory.mjs.map +1 -1
  132. package/.output/server/chunks/_/metadata.factory.mjs +1192 -43
  133. package/.output/server/chunks/_/metadata.factory.mjs.map +1 -1
  134. package/.output/server/chunks/_/native-backup-jobs.mjs +1302 -0
  135. package/.output/server/chunks/_/native-backup-jobs.mjs.map +1 -0
  136. package/.output/server/chunks/_/query.factory.mjs +536 -14
  137. package/.output/server/chunks/_/query.factory.mjs.map +1 -1
  138. package/.output/server/chunks/_/redis-browser.service.mjs +513 -0
  139. package/.output/server/chunks/_/redis-browser.service.mjs.map +1 -0
  140. package/.output/server/chunks/_/redis-instance-insights.service.mjs +442 -0
  141. package/.output/server/chunks/_/redis-instance-insights.service.mjs.map +1 -0
  142. package/.output/server/chunks/_/redis-pubsub.service.mjs +227 -0
  143. package/.output/server/chunks/_/redis-pubsub.service.mjs.map +1 -0
  144. package/.output/server/chunks/_/redis.client.mjs +129 -0
  145. package/.output/server/chunks/_/redis.client.mjs.map +1 -0
  146. package/.output/server/chunks/_/schemaMeta.type.mjs +13 -0
  147. package/.output/server/chunks/_/schemaMeta.type.mjs.map +1 -0
  148. package/.output/server/chunks/_/tables.factory.mjs +917 -37
  149. package/.output/server/chunks/_/tables.factory.mjs.map +1 -1
  150. package/.output/server/chunks/_/type-alias.constants.mjs +242 -0
  151. package/.output/server/chunks/_/type-alias.constants.mjs.map +1 -0
  152. package/.output/server/chunks/_/views.factory.mjs +106 -8
  153. package/.output/server/chunks/_/views.factory.mjs.map +1 -1
  154. package/.output/server/chunks/build/client.manifest.mjs +776 -659
  155. package/.output/server/chunks/build/client.manifest.mjs.map +1 -1
  156. package/.output/server/chunks/nitro/nitro.mjs +1152 -749
  157. package/.output/server/chunks/nitro/nitro.mjs.map +1 -1
  158. package/.output/server/chunks/routes/api/ai/agent.mjs +33 -79
  159. package/.output/server/chunks/routes/api/ai/agent.mjs.map +1 -1
  160. package/.output/server/chunks/routes/api/database-export/export-database.mjs +29 -124
  161. package/.output/server/chunks/routes/api/database-export/export-database.mjs.map +1 -1
  162. package/.output/server/chunks/routes/api/database-export/jobs/_jobId/download.get.mjs +55 -0
  163. package/.output/server/chunks/routes/api/database-export/jobs/_jobId/download.get.mjs.map +1 -0
  164. package/.output/server/chunks/routes/api/database-export/jobs/_jobId_.get.mjs +46 -0
  165. package/.output/server/chunks/routes/api/database-export/jobs/_jobId_.get.mjs.map +1 -0
  166. package/.output/server/chunks/routes/api/database-import/import-database.mjs +72 -134
  167. package/.output/server/chunks/routes/api/database-import/import-database.mjs.map +1 -1
  168. package/.output/server/chunks/routes/api/database-import/jobs/_jobId_.get.mjs +46 -0
  169. package/.output/server/chunks/routes/api/database-import/jobs/_jobId_.get.mjs.map +1 -0
  170. package/.output/server/chunks/routes/api/database-roles/create-role.mjs +5 -0
  171. package/.output/server/chunks/routes/api/database-roles/create-role.mjs.map +1 -1
  172. package/.output/server/chunks/routes/api/database-roles/delete-role.mjs +5 -0
  173. package/.output/server/chunks/routes/api/database-roles/delete-role.mjs.map +1 -1
  174. package/.output/server/chunks/routes/api/database-roles/get-databases-with-permissions.mjs +5 -0
  175. package/.output/server/chunks/routes/api/database-roles/get-databases-with-permissions.mjs.map +1 -1
  176. package/.output/server/chunks/routes/api/database-roles/get-databases.mjs +5 -0
  177. package/.output/server/chunks/routes/api/database-roles/get-databases.mjs.map +1 -1
  178. package/.output/server/chunks/routes/api/database-roles/get-permissions.mjs +5 -0
  179. package/.output/server/chunks/routes/api/database-roles/get-permissions.mjs.map +1 -1
  180. package/.output/server/chunks/routes/api/database-roles/get-role-inheritance.mjs +5 -0
  181. package/.output/server/chunks/routes/api/database-roles/get-role-inheritance.mjs.map +1 -1
  182. package/.output/server/chunks/routes/api/database-roles/get-role.mjs +5 -0
  183. package/.output/server/chunks/routes/api/database-roles/get-role.mjs.map +1 -1
  184. package/.output/server/chunks/routes/api/database-roles/get-roles.mjs +5 -0
  185. package/.output/server/chunks/routes/api/database-roles/get-roles.mjs.map +1 -1
  186. package/.output/server/chunks/routes/api/database-roles/get-schema-objects.mjs +5 -0
  187. package/.output/server/chunks/routes/api/database-roles/get-schema-objects.mjs.map +1 -1
  188. package/.output/server/chunks/routes/api/database-roles/get-schemas.mjs +5 -0
  189. package/.output/server/chunks/routes/api/database-roles/get-schemas.mjs.map +1 -1
  190. package/.output/server/chunks/routes/api/database-roles/grant-bulk-permissions.mjs +5 -0
  191. package/.output/server/chunks/routes/api/database-roles/grant-bulk-permissions.mjs.map +1 -1
  192. package/.output/server/chunks/routes/api/database-roles/grant-permission.mjs +5 -0
  193. package/.output/server/chunks/routes/api/database-roles/grant-permission.mjs.map +1 -1
  194. package/.output/server/chunks/routes/api/database-roles/revoke-permission.mjs +5 -0
  195. package/.output/server/chunks/routes/api/database-roles/revoke-permission.mjs.map +1 -1
  196. package/.output/server/chunks/routes/api/functions/definition.post.mjs +6 -1
  197. package/.output/server/chunks/routes/api/functions/definition.post.mjs.map +1 -1
  198. package/.output/server/chunks/routes/api/functions/delete.post.mjs +6 -1
  199. package/.output/server/chunks/routes/api/functions/delete.post.mjs.map +1 -1
  200. package/.output/server/chunks/routes/api/functions/overview.post.mjs +6 -1
  201. package/.output/server/chunks/routes/api/functions/overview.post.mjs.map +1 -1
  202. package/.output/server/chunks/routes/api/functions/rename.post.mjs +6 -1
  203. package/.output/server/chunks/routes/api/functions/rename.post.mjs.map +1 -1
  204. package/.output/server/chunks/routes/api/functions/signature.post.mjs +6 -1
  205. package/.output/server/chunks/routes/api/functions/signature.post.mjs.map +1 -1
  206. package/.output/server/chunks/routes/api/functions/update.post.mjs +27 -6
  207. package/.output/server/chunks/routes/api/functions/update.post.mjs.map +1 -1
  208. package/.output/server/chunks/routes/api/index.post.mjs +66 -0
  209. package/.output/server/chunks/routes/api/index.post.mjs.map +1 -0
  210. package/.output/server/chunks/routes/api/instance-insights/cancel-query.post.mjs +6 -1
  211. package/.output/server/chunks/routes/api/instance-insights/cancel-query.post.mjs.map +1 -1
  212. package/.output/server/chunks/routes/api/instance-insights/configuration.post.mjs +6 -1
  213. package/.output/server/chunks/routes/api/instance-insights/configuration.post.mjs.map +1 -1
  214. package/.output/server/chunks/routes/api/instance-insights/dashboard.post.mjs +6 -1
  215. package/.output/server/chunks/routes/api/instance-insights/dashboard.post.mjs.map +1 -1
  216. package/.output/server/chunks/routes/api/instance-insights/drop-slot.post.mjs +6 -1
  217. package/.output/server/chunks/routes/api/instance-insights/drop-slot.post.mjs.map +1 -1
  218. package/.output/server/chunks/routes/api/instance-insights/replication.post.mjs +6 -1
  219. package/.output/server/chunks/routes/api/instance-insights/replication.post.mjs.map +1 -1
  220. package/.output/server/chunks/routes/api/instance-insights/state.post.mjs +6 -1
  221. package/.output/server/chunks/routes/api/instance-insights/state.post.mjs.map +1 -1
  222. package/.output/server/chunks/routes/api/instance-insights/terminate-connection.post.mjs +6 -1
  223. package/.output/server/chunks/routes/api/instance-insights/terminate-connection.post.mjs.map +1 -1
  224. package/.output/server/chunks/routes/api/instance-insights/toggle-slot-status.post.mjs +6 -1
  225. package/.output/server/chunks/routes/api/instance-insights/toggle-slot-status.post.mjs.map +1 -1
  226. package/.output/server/chunks/routes/api/instance-insights/view.post.mjs +66 -0
  227. package/.output/server/chunks/routes/api/instance-insights/view.post.mjs.map +1 -0
  228. package/.output/server/chunks/routes/api/managment-connection/health-check.mjs +16 -4
  229. package/.output/server/chunks/routes/api/managment-connection/health-check.mjs.map +1 -1
  230. package/.output/server/chunks/routes/api/metadata/erd.post.mjs +10 -1
  231. package/.output/server/chunks/routes/api/metadata/erd.post.mjs.map +1 -1
  232. package/.output/server/chunks/routes/api/metadata/meta-data.post.mjs +9 -0
  233. package/.output/server/chunks/routes/api/metadata/meta-data.post.mjs.map +1 -1
  234. package/.output/server/chunks/routes/api/metadata/reverse-schemas.post.mjs +10 -1
  235. package/.output/server/chunks/routes/api/metadata/reverse-schemas.post.mjs.map +1 -1
  236. package/.output/server/chunks/routes/api/metrics/monitor.post.mjs +83 -7
  237. package/.output/server/chunks/routes/api/metrics/monitor.post.mjs.map +1 -1
  238. package/.output/server/chunks/routes/api/query/execute.post.mjs +8 -1
  239. package/.output/server/chunks/routes/api/query/execute.post.mjs.map +1 -1
  240. package/.output/server/chunks/routes/api/query/raw-execute-stream.post.mjs +17 -3
  241. package/.output/server/chunks/routes/api/query/raw-execute-stream.post.mjs.map +1 -1
  242. package/.output/server/chunks/routes/api/query/raw-execute.post.mjs +10 -1
  243. package/.output/server/chunks/routes/api/query/raw-execute.post.mjs.map +1 -1
  244. package/.output/server/chunks/routes/api/redis/browser/databases.post.mjs +25 -0
  245. package/.output/server/chunks/routes/api/redis/browser/databases.post.mjs.map +1 -0
  246. package/.output/server/chunks/routes/api/redis/browser/value.patch.mjs +39 -0
  247. package/.output/server/chunks/routes/api/redis/browser/value.patch.mjs.map +1 -0
  248. package/.output/server/chunks/routes/api/redis/browser/value.post.mjs +25 -0
  249. package/.output/server/chunks/routes/api/redis/browser/value.post.mjs.map +1 -0
  250. package/.output/server/chunks/routes/api/redis/index.post.mjs +37 -0
  251. package/.output/server/chunks/routes/api/redis/index.post.mjs.map +1 -0
  252. package/.output/server/chunks/routes/api/redis/instance-insights/kill-client.post.mjs +38 -0
  253. package/.output/server/chunks/routes/api/redis/instance-insights/kill-client.post.mjs.map +1 -0
  254. package/.output/server/chunks/routes/api/redis/instance-insights/overview.post.mjs +35 -0
  255. package/.output/server/chunks/routes/api/redis/instance-insights/overview.post.mjs.map +1 -0
  256. package/.output/server/chunks/routes/api/redis/pubsub/messages.post.mjs +24 -0
  257. package/.output/server/chunks/routes/api/redis/pubsub/messages.post.mjs.map +1 -0
  258. package/.output/server/chunks/routes/api/redis/pubsub/overview.post.mjs +38 -0
  259. package/.output/server/chunks/routes/api/redis/pubsub/overview.post.mjs.map +1 -0
  260. package/.output/server/chunks/routes/api/redis/pubsub/publish.post.mjs +39 -0
  261. package/.output/server/chunks/routes/api/redis/pubsub/publish.post.mjs.map +1 -0
  262. package/.output/server/chunks/routes/api/redis/pubsub/subscribe.post.mjs +39 -0
  263. package/.output/server/chunks/routes/api/redis/pubsub/subscribe.post.mjs.map +1 -0
  264. package/.output/server/chunks/routes/api/redis/pubsub/unsubscribe.post.mjs +24 -0
  265. package/.output/server/chunks/routes/api/redis/pubsub/unsubscribe.post.mjs.map +1 -0
  266. package/.output/server/chunks/routes/api/redis/workbench/execute.post.mjs +60 -0
  267. package/.output/server/chunks/routes/api/redis/workbench/execute.post.mjs.map +1 -0
  268. package/.output/server/chunks/routes/api/tables/bulk-delete.post.mjs +12 -6
  269. package/.output/server/chunks/routes/api/tables/bulk-delete.post.mjs.map +1 -1
  270. package/.output/server/chunks/routes/api/tables/bulk-update.post.mjs +12 -6
  271. package/.output/server/chunks/routes/api/tables/bulk-update.post.mjs.map +1 -1
  272. package/.output/server/chunks/routes/api/tables/ddl.post.mjs +7 -2
  273. package/.output/server/chunks/routes/api/tables/ddl.post.mjs.map +1 -1
  274. package/.output/server/chunks/routes/api/tables/export.post.mjs +8 -3
  275. package/.output/server/chunks/routes/api/tables/export.post.mjs.map +1 -1
  276. package/.output/server/chunks/routes/api/tables/indexes.post.mjs +7 -2
  277. package/.output/server/chunks/routes/api/tables/indexes.post.mjs.map +1 -1
  278. package/.output/server/chunks/routes/api/tables/meta.post.mjs +10 -3
  279. package/.output/server/chunks/routes/api/tables/meta.post.mjs.map +1 -1
  280. package/.output/server/chunks/routes/api/tables/overview.post.mjs +7 -2
  281. package/.output/server/chunks/routes/api/tables/overview.post.mjs.map +1 -1
  282. package/.output/server/chunks/routes/api/tables/rls.post.mjs +7 -2
  283. package/.output/server/chunks/routes/api/tables/rls.post.mjs.map +1 -1
  284. package/.output/server/chunks/routes/api/tables/rules.post.mjs +7 -2
  285. package/.output/server/chunks/routes/api/tables/rules.post.mjs.map +1 -1
  286. package/.output/server/chunks/routes/api/tables/size.post.mjs +7 -2
  287. package/.output/server/chunks/routes/api/tables/size.post.mjs.map +1 -1
  288. package/.output/server/chunks/routes/api/tables/structure.post.mjs +7 -2
  289. package/.output/server/chunks/routes/api/tables/structure.post.mjs.map +1 -1
  290. package/.output/server/chunks/routes/api/tables/triggers.post.mjs +7 -2
  291. package/.output/server/chunks/routes/api/tables/triggers.post.mjs.map +1 -1
  292. package/.output/server/chunks/routes/api/views/definition.post.mjs +5 -0
  293. package/.output/server/chunks/routes/api/views/definition.post.mjs.map +1 -1
  294. package/.output/server/chunks/routes/api/views/dependencies.post.mjs +5 -0
  295. package/.output/server/chunks/routes/api/views/dependencies.post.mjs.map +1 -1
  296. package/.output/server/chunks/routes/api/views/explain.post.mjs +5 -0
  297. package/.output/server/chunks/routes/api/views/explain.post.mjs.map +1 -1
  298. package/.output/server/chunks/routes/api/views/indexes.post.mjs +5 -0
  299. package/.output/server/chunks/routes/api/views/indexes.post.mjs.map +1 -1
  300. package/.output/server/chunks/routes/api/views/meta.post.mjs +5 -0
  301. package/.output/server/chunks/routes/api/views/meta.post.mjs.map +1 -1
  302. package/.output/server/chunks/routes/api/views/overview.post.mjs +5 -0
  303. package/.output/server/chunks/routes/api/views/overview.post.mjs.map +1 -1
  304. package/.output/server/chunks/routes/renderer.mjs +1 -1
  305. package/.output/server/index.mjs +1 -1
  306. package/.output/server/node_modules/@libsql/client/lib-esm/hrana.js +310 -0
  307. package/.output/server/node_modules/@libsql/client/lib-esm/http.js +230 -0
  308. package/.output/server/node_modules/@libsql/client/lib-esm/sql_cache.js +87 -0
  309. package/.output/server/node_modules/@libsql/client/package.json +123 -0
  310. package/.output/server/node_modules/@libsql/core/lib-esm/api.js +16 -0
  311. package/.output/server/node_modules/@libsql/core/lib-esm/config.js +136 -0
  312. package/.output/server/node_modules/@libsql/core/lib-esm/uri.js +120 -0
  313. package/.output/server/node_modules/@libsql/core/lib-esm/util.js +55 -0
  314. package/.output/server/node_modules/@libsql/core/package.json +91 -0
  315. package/.output/server/node_modules/@libsql/hrana-client/lib-esm/batch.js +271 -0
  316. package/.output/server/node_modules/@libsql/hrana-client/lib-esm/byte_queue.js +45 -0
  317. package/.output/server/node_modules/@libsql/hrana-client/lib-esm/client.js +13 -0
  318. package/.output/server/node_modules/@libsql/hrana-client/lib-esm/cursor.js +2 -0
  319. package/.output/server/node_modules/@libsql/hrana-client/lib-esm/describe.js +8 -0
  320. package/.output/server/node_modules/@libsql/hrana-client/lib-esm/encoding/index.js +4 -0
  321. package/.output/server/node_modules/@libsql/hrana-client/lib-esm/encoding/json/decode.js +59 -0
  322. package/.output/server/node_modules/@libsql/hrana-client/lib-esm/encoding/json/encode.js +72 -0
  323. package/.output/server/node_modules/@libsql/hrana-client/lib-esm/encoding/protobuf/decode.js +150 -0
  324. package/.output/server/node_modules/@libsql/hrana-client/lib-esm/encoding/protobuf/encode.js +95 -0
  325. package/.output/server/node_modules/@libsql/hrana-client/lib-esm/encoding/protobuf/util.js +6 -0
  326. package/.output/server/node_modules/@libsql/hrana-client/lib-esm/errors.js +102 -0
  327. package/.output/server/node_modules/@libsql/hrana-client/lib-esm/http/client.js +124 -0
  328. package/.output/server/node_modules/@libsql/hrana-client/lib-esm/http/cursor.js +135 -0
  329. package/.output/server/node_modules/@libsql/hrana-client/lib-esm/http/json_decode.js +62 -0
  330. package/.output/server/node_modules/@libsql/hrana-client/lib-esm/http/json_encode.js +55 -0
  331. package/.output/server/node_modules/@libsql/hrana-client/lib-esm/http/protobuf_decode.js +44 -0
  332. package/.output/server/node_modules/@libsql/hrana-client/lib-esm/http/protobuf_encode.js +78 -0
  333. package/.output/server/node_modules/@libsql/hrana-client/lib-esm/http/stream.js +363 -0
  334. package/.output/server/node_modules/@libsql/hrana-client/lib-esm/id_alloc.js +47 -0
  335. package/.output/server/node_modules/@libsql/hrana-client/lib-esm/index.js +42 -0
  336. package/.output/server/node_modules/@libsql/hrana-client/lib-esm/libsql_url.js +75 -0
  337. package/.output/server/node_modules/@libsql/hrana-client/lib-esm/queue.js +26 -0
  338. package/.output/server/node_modules/@libsql/hrana-client/lib-esm/queue_microtask.js +13 -0
  339. package/.output/server/node_modules/@libsql/hrana-client/lib-esm/result.js +48 -0
  340. package/.output/server/node_modules/@libsql/hrana-client/lib-esm/shared/json_decode.js +106 -0
  341. package/.output/server/node_modules/@libsql/hrana-client/lib-esm/shared/json_encode.js +71 -0
  342. package/.output/server/node_modules/@libsql/hrana-client/lib-esm/shared/protobuf_decode.js +115 -0
  343. package/.output/server/node_modules/@libsql/hrana-client/lib-esm/shared/protobuf_encode.js +85 -0
  344. package/.output/server/node_modules/@libsql/hrana-client/lib-esm/sql.js +46 -0
  345. package/.output/server/node_modules/@libsql/hrana-client/lib-esm/stmt.js +76 -0
  346. package/.output/server/node_modules/@libsql/hrana-client/lib-esm/stream.js +57 -0
  347. package/.output/server/node_modules/@libsql/hrana-client/lib-esm/util.js +4 -0
  348. package/.output/server/node_modules/@libsql/hrana-client/lib-esm/value.js +83 -0
  349. package/.output/server/node_modules/@libsql/hrana-client/lib-esm/ws/client.js +318 -0
  350. package/.output/server/node_modules/@libsql/hrana-client/lib-esm/ws/cursor.js +80 -0
  351. package/.output/server/node_modules/@libsql/hrana-client/lib-esm/ws/json_decode.js +74 -0
  352. package/.output/server/node_modules/@libsql/hrana-client/lib-esm/ws/json_encode.js +77 -0
  353. package/.output/server/node_modules/@libsql/hrana-client/lib-esm/ws/protobuf_decode.js +60 -0
  354. package/.output/server/node_modules/@libsql/hrana-client/lib-esm/ws/protobuf_encode.js +115 -0
  355. package/.output/server/node_modules/@libsql/hrana-client/lib-esm/ws/stream.js +211 -0
  356. package/.output/server/node_modules/@libsql/hrana-client/package.json +60 -0
  357. package/.output/server/node_modules/@libsql/isomorphic-fetch/node.js +6 -0
  358. package/.output/server/node_modules/@libsql/isomorphic-fetch/package.json +51 -0
  359. package/.output/server/node_modules/@libsql/isomorphic-ws/node.mjs +2 -0
  360. package/.output/server/node_modules/@libsql/isomorphic-ws/package.json +53 -0
  361. package/.output/server/node_modules/@redis/bloom/dist/lib/commands/bloom/ADD.js +19 -0
  362. package/.output/server/node_modules/@redis/bloom/dist/lib/commands/bloom/CARD.js +16 -0
  363. package/.output/server/node_modules/@redis/bloom/dist/lib/commands/bloom/EXISTS.js +19 -0
  364. package/.output/server/node_modules/@redis/bloom/dist/lib/commands/bloom/INFO.js +22 -0
  365. package/.output/server/node_modules/@redis/bloom/dist/lib/commands/bloom/INSERT.js +41 -0
  366. package/.output/server/node_modules/@redis/bloom/dist/lib/commands/bloom/LOADCHUNK.js +19 -0
  367. package/.output/server/node_modules/@redis/bloom/dist/lib/commands/bloom/MADD.js +19 -0
  368. package/.output/server/node_modules/@redis/bloom/dist/lib/commands/bloom/MEXISTS.js +19 -0
  369. package/.output/server/node_modules/@redis/bloom/dist/lib/commands/bloom/RESERVE.js +28 -0
  370. package/.output/server/node_modules/@redis/bloom/dist/lib/commands/bloom/SCANDUMP.js +23 -0
  371. package/.output/server/node_modules/@redis/bloom/dist/lib/commands/bloom/helpers.js +28 -0
  372. package/.output/server/node_modules/@redis/bloom/dist/lib/commands/bloom/index.js +53 -0
  373. package/.output/server/node_modules/@redis/bloom/dist/lib/commands/count-min-sketch/INCRBY.js +28 -0
  374. package/.output/server/node_modules/@redis/bloom/dist/lib/commands/count-min-sketch/INFO.js +22 -0
  375. package/.output/server/node_modules/@redis/bloom/dist/lib/commands/count-min-sketch/INITBYDIM.js +19 -0
  376. package/.output/server/node_modules/@redis/bloom/dist/lib/commands/count-min-sketch/INITBYPROB.js +19 -0
  377. package/.output/server/node_modules/@redis/bloom/dist/lib/commands/count-min-sketch/MERGE.js +33 -0
  378. package/.output/server/node_modules/@redis/bloom/dist/lib/commands/count-min-sketch/QUERY.js +18 -0
  379. package/.output/server/node_modules/@redis/bloom/dist/lib/commands/count-min-sketch/index.js +26 -0
  380. package/.output/server/node_modules/@redis/bloom/dist/lib/commands/cuckoo/ADD.js +19 -0
  381. package/.output/server/node_modules/@redis/bloom/dist/lib/commands/cuckoo/ADDNX.js +19 -0
  382. package/.output/server/node_modules/@redis/bloom/dist/lib/commands/cuckoo/COUNT.js +18 -0
  383. package/.output/server/node_modules/@redis/bloom/dist/lib/commands/cuckoo/DEL.js +19 -0
  384. package/.output/server/node_modules/@redis/bloom/dist/lib/commands/cuckoo/EXISTS.js +19 -0
  385. package/.output/server/node_modules/@redis/bloom/dist/lib/commands/cuckoo/INFO.js +22 -0
  386. package/.output/server/node_modules/@redis/bloom/dist/lib/commands/cuckoo/INSERT.js +34 -0
  387. package/.output/server/node_modules/@redis/bloom/dist/lib/commands/cuckoo/INSERTNX.js +44 -0
  388. package/.output/server/node_modules/@redis/bloom/dist/lib/commands/cuckoo/LOADCHUNK.js +19 -0
  389. package/.output/server/node_modules/@redis/bloom/dist/lib/commands/cuckoo/RESERVE.js +31 -0
  390. package/.output/server/node_modules/@redis/bloom/dist/lib/commands/cuckoo/SCANDUMP.js +23 -0
  391. package/.output/server/node_modules/@redis/bloom/dist/lib/commands/cuckoo/index.js +41 -0
  392. package/.output/server/node_modules/@redis/bloom/dist/lib/commands/index.js +18 -0
  393. package/.output/server/node_modules/@redis/bloom/dist/lib/commands/t-digest/ADD.js +20 -0
  394. package/.output/server/node_modules/@redis/bloom/dist/lib/commands/t-digest/BYRANK.js +26 -0
  395. package/.output/server/node_modules/@redis/bloom/dist/lib/commands/t-digest/BYREVRANK.js +41 -0
  396. package/.output/server/node_modules/@redis/bloom/dist/lib/commands/t-digest/CDF.js +21 -0
  397. package/.output/server/node_modules/@redis/bloom/dist/lib/commands/t-digest/CREATE.js +21 -0
  398. package/.output/server/node_modules/@redis/bloom/dist/lib/commands/t-digest/INFO.js +22 -0
  399. package/.output/server/node_modules/@redis/bloom/dist/lib/commands/t-digest/MAX.js +17 -0
  400. package/.output/server/node_modules/@redis/bloom/dist/lib/commands/t-digest/MERGE.js +27 -0
  401. package/.output/server/node_modules/@redis/bloom/dist/lib/commands/t-digest/MIN.js +17 -0
  402. package/.output/server/node_modules/@redis/bloom/dist/lib/commands/t-digest/QUANTILE.js +21 -0
  403. package/.output/server/node_modules/@redis/bloom/dist/lib/commands/t-digest/RANK.js +25 -0
  404. package/.output/server/node_modules/@redis/bloom/dist/lib/commands/t-digest/RESET.js +16 -0
  405. package/.output/server/node_modules/@redis/bloom/dist/lib/commands/t-digest/REVRANK.js +41 -0
  406. package/.output/server/node_modules/@redis/bloom/dist/lib/commands/t-digest/TRIMMED_MEAN.js +20 -0
  407. package/.output/server/node_modules/@redis/bloom/dist/lib/commands/t-digest/index.js +50 -0
  408. package/.output/server/node_modules/@redis/bloom/dist/lib/commands/top-k/ADD.js +18 -0
  409. package/.output/server/node_modules/@redis/bloom/dist/lib/commands/top-k/COUNT.js +18 -0
  410. package/.output/server/node_modules/@redis/bloom/dist/lib/commands/top-k/INCRBY.js +28 -0
  411. package/.output/server/node_modules/@redis/bloom/dist/lib/commands/top-k/INFO.js +24 -0
  412. package/.output/server/node_modules/@redis/bloom/dist/lib/commands/top-k/LIST.js +16 -0
  413. package/.output/server/node_modules/@redis/bloom/dist/lib/commands/top-k/LIST_WITHCOUNT.js +26 -0
  414. package/.output/server/node_modules/@redis/bloom/dist/lib/commands/top-k/QUERY.js +19 -0
  415. package/.output/server/node_modules/@redis/bloom/dist/lib/commands/top-k/RESERVE.js +25 -0
  416. package/.output/server/node_modules/@redis/bloom/dist/lib/commands/top-k/index.js +32 -0
  417. package/.output/server/node_modules/@redis/bloom/dist/lib/index.js +9 -0
  418. package/.output/server/node_modules/@redis/bloom/package.json +36 -0
  419. package/.output/server/node_modules/@redis/client/dist/index.js +53 -0
  420. package/.output/server/node_modules/@redis/client/dist/lib/RESP/decoder.js +727 -0
  421. package/.output/server/node_modules/@redis/client/dist/lib/RESP/encoder.js +24 -0
  422. package/.output/server/node_modules/@redis/client/dist/lib/RESP/verbatim-string.js +12 -0
  423. package/.output/server/node_modules/@redis/client/dist/lib/authx/credentials-provider.js +26 -0
  424. package/.output/server/node_modules/@redis/client/dist/lib/authx/index.js +12 -0
  425. package/.output/server/node_modules/@redis/client/dist/lib/authx/token-manager.js +184 -0
  426. package/.output/server/node_modules/@redis/client/dist/lib/authx/token.js +32 -0
  427. package/.output/server/node_modules/@redis/client/dist/lib/client/cache.js +634 -0
  428. package/.output/server/node_modules/@redis/client/dist/lib/client/commands-queue.js +497 -0
  429. package/.output/server/node_modules/@redis/client/dist/lib/client/enterprise-maintenance-manager.js +387 -0
  430. package/.output/server/node_modules/@redis/client/dist/lib/client/identity.js +65 -0
  431. package/.output/server/node_modules/@redis/client/dist/lib/client/index.js +1118 -0
  432. package/.output/server/node_modules/@redis/client/dist/lib/client/legacy-mode.js +119 -0
  433. package/.output/server/node_modules/@redis/client/dist/lib/client/linked-list.js +212 -0
  434. package/.output/server/node_modules/@redis/client/dist/lib/client/multi-command.js +118 -0
  435. package/.output/server/node_modules/@redis/client/dist/lib/client/parser.js +83 -0
  436. package/.output/server/node_modules/@redis/client/dist/lib/client/pool.js +373 -0
  437. package/.output/server/node_modules/@redis/client/dist/lib/client/pub-sub.js +351 -0
  438. package/.output/server/node_modules/@redis/client/dist/lib/client/socket.js +336 -0
  439. package/.output/server/node_modules/@redis/client/dist/lib/client/tracing.js +122 -0
  440. package/.output/server/node_modules/@redis/client/dist/lib/cluster/cluster-slots.js +657 -0
  441. package/.output/server/node_modules/@redis/client/dist/lib/cluster/index.js +425 -0
  442. package/.output/server/node_modules/@redis/client/dist/lib/cluster/multi-command.js +124 -0
  443. package/.output/server/node_modules/@redis/client/dist/lib/commander.js +91 -0
  444. package/.output/server/node_modules/@redis/client/dist/lib/commands/ACL_CAT.js +19 -0
  445. package/.output/server/node_modules/@redis/client/dist/lib/commands/ACL_DELUSER.js +17 -0
  446. package/.output/server/node_modules/@redis/client/dist/lib/commands/ACL_DRYRUN.js +17 -0
  447. package/.output/server/node_modules/@redis/client/dist/lib/commands/ACL_GENPASS.js +19 -0
  448. package/.output/server/node_modules/@redis/client/dist/lib/commands/ACL_GETUSER.js +33 -0
  449. package/.output/server/node_modules/@redis/client/dist/lib/commands/ACL_LIST.js +15 -0
  450. package/.output/server/node_modules/@redis/client/dist/lib/commands/ACL_LOAD.js +15 -0
  451. package/.output/server/node_modules/@redis/client/dist/lib/commands/ACL_LOG.js +39 -0
  452. package/.output/server/node_modules/@redis/client/dist/lib/commands/ACL_LOG_RESET.js +19 -0
  453. package/.output/server/node_modules/@redis/client/dist/lib/commands/ACL_SAVE.js +15 -0
  454. package/.output/server/node_modules/@redis/client/dist/lib/commands/ACL_SETUSER.js +18 -0
  455. package/.output/server/node_modules/@redis/client/dist/lib/commands/ACL_USERS.js +15 -0
  456. package/.output/server/node_modules/@redis/client/dist/lib/commands/ACL_WHOAMI.js +15 -0
  457. package/.output/server/node_modules/@redis/client/dist/lib/commands/APPEND.js +16 -0
  458. package/.output/server/node_modules/@redis/client/dist/lib/commands/ASKING.js +17 -0
  459. package/.output/server/node_modules/@redis/client/dist/lib/commands/AUTH.js +22 -0
  460. package/.output/server/node_modules/@redis/client/dist/lib/commands/BGREWRITEAOF.js +15 -0
  461. package/.output/server/node_modules/@redis/client/dist/lib/commands/BGSAVE.js +20 -0
  462. package/.output/server/node_modules/@redis/client/dist/lib/commands/BITCOUNT.js +28 -0
  463. package/.output/server/node_modules/@redis/client/dist/lib/commands/BITFIELD.js +33 -0
  464. package/.output/server/node_modules/@redis/client/dist/lib/commands/BITFIELD_RO.js +23 -0
  465. package/.output/server/node_modules/@redis/client/dist/lib/commands/BITOP.js +19 -0
  466. package/.output/server/node_modules/@redis/client/dist/lib/commands/BITPOS.js +31 -0
  467. package/.output/server/node_modules/@redis/client/dist/lib/commands/BLMOVE.js +21 -0
  468. package/.output/server/node_modules/@redis/client/dist/lib/commands/BLMPOP.js +41 -0
  469. package/.output/server/node_modules/@redis/client/dist/lib/commands/BLPOP.js +25 -0
  470. package/.output/server/node_modules/@redis/client/dist/lib/commands/BRPOP.js +22 -0
  471. package/.output/server/node_modules/@redis/client/dist/lib/commands/BRPOPLPUSH.js +19 -0
  472. package/.output/server/node_modules/@redis/client/dist/lib/commands/BZMPOP.js +41 -0
  473. package/.output/server/node_modules/@redis/client/dist/lib/commands/BZPOPMAX.js +34 -0
  474. package/.output/server/node_modules/@redis/client/dist/lib/commands/BZPOPMIN.js +22 -0
  475. package/.output/server/node_modules/@redis/client/dist/lib/commands/CLIENT_CACHING.js +16 -0
  476. package/.output/server/node_modules/@redis/client/dist/lib/commands/CLIENT_GETNAME.js +15 -0
  477. package/.output/server/node_modules/@redis/client/dist/lib/commands/CLIENT_GETREDIR.js +15 -0
  478. package/.output/server/node_modules/@redis/client/dist/lib/commands/CLIENT_ID.js +15 -0
  479. package/.output/server/node_modules/@redis/client/dist/lib/commands/CLIENT_INFO.js +62 -0
  480. package/.output/server/node_modules/@redis/client/dist/lib/commands/CLIENT_KILL.js +66 -0
  481. package/.output/server/node_modules/@redis/client/dist/lib/commands/CLIENT_LIST.js +35 -0
  482. package/.output/server/node_modules/@redis/client/dist/lib/commands/CLIENT_NO-EVICT.js +16 -0
  483. package/.output/server/node_modules/@redis/client/dist/lib/commands/CLIENT_NO-TOUCH.js +16 -0
  484. package/.output/server/node_modules/@redis/client/dist/lib/commands/CLIENT_PAUSE.js +20 -0
  485. package/.output/server/node_modules/@redis/client/dist/lib/commands/CLIENT_SETNAME.js +16 -0
  486. package/.output/server/node_modules/@redis/client/dist/lib/commands/CLIENT_TRACKING.js +53 -0
  487. package/.output/server/node_modules/@redis/client/dist/lib/commands/CLIENT_TRACKINGINFO.js +22 -0
  488. package/.output/server/node_modules/@redis/client/dist/lib/commands/CLIENT_UNPAUSE.js +15 -0
  489. package/.output/server/node_modules/@redis/client/dist/lib/commands/CLUSTER_ADDSLOTS.js +17 -0
  490. package/.output/server/node_modules/@redis/client/dist/lib/commands/CLUSTER_ADDSLOTSRANGE.js +18 -0
  491. package/.output/server/node_modules/@redis/client/dist/lib/commands/CLUSTER_BUMPEPOCH.js +15 -0
  492. package/.output/server/node_modules/@redis/client/dist/lib/commands/CLUSTER_COUNT-FAILURE-REPORTS.js +16 -0
  493. package/.output/server/node_modules/@redis/client/dist/lib/commands/CLUSTER_COUNTKEYSINSLOT.js +16 -0
  494. package/.output/server/node_modules/@redis/client/dist/lib/commands/CLUSTER_DELSLOTS.js +17 -0
  495. package/.output/server/node_modules/@redis/client/dist/lib/commands/CLUSTER_DELSLOTSRANGE.js +18 -0
  496. package/.output/server/node_modules/@redis/client/dist/lib/commands/CLUSTER_FAILOVER.js +24 -0
  497. package/.output/server/node_modules/@redis/client/dist/lib/commands/CLUSTER_FLUSHSLOTS.js +15 -0
  498. package/.output/server/node_modules/@redis/client/dist/lib/commands/CLUSTER_FORGET.js +16 -0
  499. package/.output/server/node_modules/@redis/client/dist/lib/commands/CLUSTER_GETKEYSINSLOT.js +17 -0
  500. package/.output/server/node_modules/@redis/client/dist/lib/commands/CLUSTER_INFO.js +15 -0
  501. package/.output/server/node_modules/@redis/client/dist/lib/commands/CLUSTER_KEYSLOT.js +16 -0
  502. package/.output/server/node_modules/@redis/client/dist/lib/commands/CLUSTER_LINKS.js +28 -0
  503. package/.output/server/node_modules/@redis/client/dist/lib/commands/CLUSTER_MEET.js +17 -0
  504. package/.output/server/node_modules/@redis/client/dist/lib/commands/CLUSTER_MYID.js +15 -0
  505. package/.output/server/node_modules/@redis/client/dist/lib/commands/CLUSTER_MYSHARDID.js +15 -0
  506. package/.output/server/node_modules/@redis/client/dist/lib/commands/CLUSTER_NODES.js +15 -0
  507. package/.output/server/node_modules/@redis/client/dist/lib/commands/CLUSTER_REPLICAS.js +16 -0
  508. package/.output/server/node_modules/@redis/client/dist/lib/commands/CLUSTER_REPLICATE.js +16 -0
  509. package/.output/server/node_modules/@redis/client/dist/lib/commands/CLUSTER_RESET.js +19 -0
  510. package/.output/server/node_modules/@redis/client/dist/lib/commands/CLUSTER_SAVECONFIG.js +15 -0
  511. package/.output/server/node_modules/@redis/client/dist/lib/commands/CLUSTER_SET-CONFIG-EPOCH.js +16 -0
  512. package/.output/server/node_modules/@redis/client/dist/lib/commands/CLUSTER_SETSLOT.js +28 -0
  513. package/.output/server/node_modules/@redis/client/dist/lib/commands/CLUSTER_SLOTS.js +30 -0
  514. package/.output/server/node_modules/@redis/client/dist/lib/commands/COMMAND.js +19 -0
  515. package/.output/server/node_modules/@redis/client/dist/lib/commands/COMMAND_COUNT.js +15 -0
  516. package/.output/server/node_modules/@redis/client/dist/lib/commands/COMMAND_GETKEYS.js +17 -0
  517. package/.output/server/node_modules/@redis/client/dist/lib/commands/COMMAND_GETKEYSANDFLAGS.js +25 -0
  518. package/.output/server/node_modules/@redis/client/dist/lib/commands/COMMAND_INFO.js +20 -0
  519. package/.output/server/node_modules/@redis/client/dist/lib/commands/COMMAND_LIST.js +25 -0
  520. package/.output/server/node_modules/@redis/client/dist/lib/commands/CONFIG_GET.js +21 -0
  521. package/.output/server/node_modules/@redis/client/dist/lib/commands/CONFIG_RESETSTAT.js +15 -0
  522. package/.output/server/node_modules/@redis/client/dist/lib/commands/CONFIG_REWRITE.js +15 -0
  523. package/.output/server/node_modules/@redis/client/dist/lib/commands/CONFIG_SET.js +25 -0
  524. package/.output/server/node_modules/@redis/client/dist/lib/commands/COPY.js +24 -0
  525. package/.output/server/node_modules/@redis/client/dist/lib/commands/DBSIZE.js +15 -0
  526. package/.output/server/node_modules/@redis/client/dist/lib/commands/DECR.js +15 -0
  527. package/.output/server/node_modules/@redis/client/dist/lib/commands/DECRBY.js +17 -0
  528. package/.output/server/node_modules/@redis/client/dist/lib/commands/DEL.js +16 -0
  529. package/.output/server/node_modules/@redis/client/dist/lib/commands/DELEX.js +43 -0
  530. package/.output/server/node_modules/@redis/client/dist/lib/commands/DIGEST.js +20 -0
  531. package/.output/server/node_modules/@redis/client/dist/lib/commands/DUMP.js +16 -0
  532. package/.output/server/node_modules/@redis/client/dist/lib/commands/ECHO.js +16 -0
  533. package/.output/server/node_modules/@redis/client/dist/lib/commands/EVAL.js +31 -0
  534. package/.output/server/node_modules/@redis/client/dist/lib/commands/EVALSHA.js +41 -0
  535. package/.output/server/node_modules/@redis/client/dist/lib/commands/EVALSHA_RO.js +41 -0
  536. package/.output/server/node_modules/@redis/client/dist/lib/commands/EVAL_RO.js +41 -0
  537. package/.output/server/node_modules/@redis/client/dist/lib/commands/EXISTS.js +17 -0
  538. package/.output/server/node_modules/@redis/client/dist/lib/commands/EXPIRE.js +21 -0
  539. package/.output/server/node_modules/@redis/client/dist/lib/commands/EXPIREAT.js +22 -0
  540. package/.output/server/node_modules/@redis/client/dist/lib/commands/EXPIRETIME.js +16 -0
  541. package/.output/server/node_modules/@redis/client/dist/lib/commands/FCALL.js +41 -0
  542. package/.output/server/node_modules/@redis/client/dist/lib/commands/FCALL_RO.js +41 -0
  543. package/.output/server/node_modules/@redis/client/dist/lib/commands/FLUSHALL.js +24 -0
  544. package/.output/server/node_modules/@redis/client/dist/lib/commands/FLUSHDB.js +19 -0
  545. package/.output/server/node_modules/@redis/client/dist/lib/commands/FUNCTION_DELETE.js +16 -0
  546. package/.output/server/node_modules/@redis/client/dist/lib/commands/FUNCTION_DUMP.js +15 -0
  547. package/.output/server/node_modules/@redis/client/dist/lib/commands/FUNCTION_FLUSH.js +19 -0
  548. package/.output/server/node_modules/@redis/client/dist/lib/commands/FUNCTION_KILL.js +15 -0
  549. package/.output/server/node_modules/@redis/client/dist/lib/commands/FUNCTION_LIST.js +38 -0
  550. package/.output/server/node_modules/@redis/client/dist/lib/commands/FUNCTION_LIST_WITHCODE.js +41 -0
  551. package/.output/server/node_modules/@redis/client/dist/lib/commands/FUNCTION_LOAD.js +21 -0
  552. package/.output/server/node_modules/@redis/client/dist/lib/commands/FUNCTION_RESTORE.js +20 -0
  553. package/.output/server/node_modules/@redis/client/dist/lib/commands/FUNCTION_STATS.js +47 -0
  554. package/.output/server/node_modules/@redis/client/dist/lib/commands/GEOADD.js +41 -0
  555. package/.output/server/node_modules/@redis/client/dist/lib/commands/GEODIST.js +26 -0
  556. package/.output/server/node_modules/@redis/client/dist/lib/commands/GEOHASH.js +19 -0
  557. package/.output/server/node_modules/@redis/client/dist/lib/commands/GEOPOS.js +27 -0
  558. package/.output/server/node_modules/@redis/client/dist/lib/commands/GEORADIUS.js +28 -0
  559. package/.output/server/node_modules/@redis/client/dist/lib/commands/GEORADIUSBYMEMBER.js +28 -0
  560. package/.output/server/node_modules/@redis/client/dist/lib/commands/GEORADIUSBYMEMBER_RO.js +46 -0
  561. package/.output/server/node_modules/@redis/client/dist/lib/commands/GEORADIUSBYMEMBER_RO_WITH.js +46 -0
  562. package/.output/server/node_modules/@redis/client/dist/lib/commands/GEORADIUSBYMEMBER_STORE.js +53 -0
  563. package/.output/server/node_modules/@redis/client/dist/lib/commands/GEORADIUSBYMEMBER_WITH.js +36 -0
  564. package/.output/server/node_modules/@redis/client/dist/lib/commands/GEORADIUS_RO.js +45 -0
  565. package/.output/server/node_modules/@redis/client/dist/lib/commands/GEORADIUS_RO_WITH.js +27 -0
  566. package/.output/server/node_modules/@redis/client/dist/lib/commands/GEORADIUS_STORE.js +53 -0
  567. package/.output/server/node_modules/@redis/client/dist/lib/commands/GEORADIUS_WITH.js +56 -0
  568. package/.output/server/node_modules/@redis/client/dist/lib/commands/GEOSEARCH.js +54 -0
  569. package/.output/server/node_modules/@redis/client/dist/lib/commands/GEOSEARCHSTORE.js +27 -0
  570. package/.output/server/node_modules/@redis/client/dist/lib/commands/GEOSEARCH_WITH.js +55 -0
  571. package/.output/server/node_modules/@redis/client/dist/lib/commands/GET.js +17 -0
  572. package/.output/server/node_modules/@redis/client/dist/lib/commands/GETBIT.js +19 -0
  573. package/.output/server/node_modules/@redis/client/dist/lib/commands/GETDEL.js +16 -0
  574. package/.output/server/node_modules/@redis/client/dist/lib/commands/GETEX.js +50 -0
  575. package/.output/server/node_modules/@redis/client/dist/lib/commands/GETRANGE.js +20 -0
  576. package/.output/server/node_modules/@redis/client/dist/lib/commands/GETSET.js +18 -0
  577. package/.output/server/node_modules/@redis/client/dist/lib/commands/HDEL.js +17 -0
  578. package/.output/server/node_modules/@redis/client/dist/lib/commands/HELLO.js +35 -0
  579. package/.output/server/node_modules/@redis/client/dist/lib/commands/HEXISTS.js +19 -0
  580. package/.output/server/node_modules/@redis/client/dist/lib/commands/HEXPIRE.js +35 -0
  581. package/.output/server/node_modules/@redis/client/dist/lib/commands/HEXPIREAT.js +25 -0
  582. package/.output/server/node_modules/@redis/client/dist/lib/commands/HEXPIRETIME.js +26 -0
  583. package/.output/server/node_modules/@redis/client/dist/lib/commands/HGET.js +19 -0
  584. package/.output/server/node_modules/@redis/client/dist/lib/commands/HGETALL.js +22 -0
  585. package/.output/server/node_modules/@redis/client/dist/lib/commands/HGETDEL.js +18 -0
  586. package/.output/server/node_modules/@redis/client/dist/lib/commands/HGETEX.js +30 -0
  587. package/.output/server/node_modules/@redis/client/dist/lib/commands/HINCRBY.js +18 -0
  588. package/.output/server/node_modules/@redis/client/dist/lib/commands/HINCRBYFLOAT.js +18 -0
  589. package/.output/server/node_modules/@redis/client/dist/lib/commands/HKEYS.js +17 -0
  590. package/.output/server/node_modules/@redis/client/dist/lib/commands/HLEN.js +17 -0
  591. package/.output/server/node_modules/@redis/client/dist/lib/commands/HMGET.js +19 -0
  592. package/.output/server/node_modules/@redis/client/dist/lib/commands/HOTKEYS_GET.js +131 -0
  593. package/.output/server/node_modules/@redis/client/dist/lib/commands/HOTKEYS_RESET.js +25 -0
  594. package/.output/server/node_modules/@redis/client/dist/lib/commands/HOTKEYS_START.js +60 -0
  595. package/.output/server/node_modules/@redis/client/dist/lib/commands/HOTKEYS_STOP.js +27 -0
  596. package/.output/server/node_modules/@redis/client/dist/lib/commands/HPERSIST.js +18 -0
  597. package/.output/server/node_modules/@redis/client/dist/lib/commands/HPEXPIRE.js +25 -0
  598. package/.output/server/node_modules/@redis/client/dist/lib/commands/HPEXPIREAT.js +27 -0
  599. package/.output/server/node_modules/@redis/client/dist/lib/commands/HPEXPIRETIME.js +21 -0
  600. package/.output/server/node_modules/@redis/client/dist/lib/commands/HPTTL.js +21 -0
  601. package/.output/server/node_modules/@redis/client/dist/lib/commands/HRANDFIELD.js +18 -0
  602. package/.output/server/node_modules/@redis/client/dist/lib/commands/HRANDFIELD_COUNT.js +20 -0
  603. package/.output/server/node_modules/@redis/client/dist/lib/commands/HRANDFIELD_COUNT_WITHVALUES.js +41 -0
  604. package/.output/server/node_modules/@redis/client/dist/lib/commands/HSCAN.js +35 -0
  605. package/.output/server/node_modules/@redis/client/dist/lib/commands/HSCAN_NOVALUES.js +27 -0
  606. package/.output/server/node_modules/@redis/client/dist/lib/commands/HSET.js +55 -0
  607. package/.output/server/node_modules/@redis/client/dist/lib/commands/HSETEX.js +81 -0
  608. package/.output/server/node_modules/@redis/client/dist/lib/commands/HSETNX.js +21 -0
  609. package/.output/server/node_modules/@redis/client/dist/lib/commands/HSTRLEN.js +21 -0
  610. package/.output/server/node_modules/@redis/client/dist/lib/commands/HTTL.js +19 -0
  611. package/.output/server/node_modules/@redis/client/dist/lib/commands/HVALS.js +17 -0
  612. package/.output/server/node_modules/@redis/client/dist/lib/commands/INCR.js +17 -0
  613. package/.output/server/node_modules/@redis/client/dist/lib/commands/INCRBY.js +19 -0
  614. package/.output/server/node_modules/@redis/client/dist/lib/commands/INCRBYFLOAT.js +19 -0
  615. package/.output/server/node_modules/@redis/client/dist/lib/commands/INFO.js +21 -0
  616. package/.output/server/node_modules/@redis/client/dist/lib/commands/KEYS.js +18 -0
  617. package/.output/server/node_modules/@redis/client/dist/lib/commands/LASTSAVE.js +17 -0
  618. package/.output/server/node_modules/@redis/client/dist/lib/commands/LATENCY_DOCTOR.js +17 -0
  619. package/.output/server/node_modules/@redis/client/dist/lib/commands/LATENCY_GRAPH.js +37 -0
  620. package/.output/server/node_modules/@redis/client/dist/lib/commands/LATENCY_HISTOGRAM.js +39 -0
  621. package/.output/server/node_modules/@redis/client/dist/lib/commands/LATENCY_HISTORY.js +18 -0
  622. package/.output/server/node_modules/@redis/client/dist/lib/commands/LATENCY_LATEST.js +17 -0
  623. package/.output/server/node_modules/@redis/client/dist/lib/commands/LATENCY_RESET.js +24 -0
  624. package/.output/server/node_modules/@redis/client/dist/lib/commands/LCS.js +19 -0
  625. package/.output/server/node_modules/@redis/client/dist/lib/commands/LCS_IDX.js +33 -0
  626. package/.output/server/node_modules/@redis/client/dist/lib/commands/LCS_IDX_WITHMATCHLEN.js +28 -0
  627. package/.output/server/node_modules/@redis/client/dist/lib/commands/LCS_LEN.js +22 -0
  628. package/.output/server/node_modules/@redis/client/dist/lib/commands/LINDEX.js +21 -0
  629. package/.output/server/node_modules/@redis/client/dist/lib/commands/LINSERT.js +22 -0
  630. package/.output/server/node_modules/@redis/client/dist/lib/commands/LLEN.js +19 -0
  631. package/.output/server/node_modules/@redis/client/dist/lib/commands/LMOVE.js +22 -0
  632. package/.output/server/node_modules/@redis/client/dist/lib/commands/LMPOP.js +27 -0
  633. package/.output/server/node_modules/@redis/client/dist/lib/commands/LOLWUT.js +23 -0
  634. package/.output/server/node_modules/@redis/client/dist/lib/commands/LPOP.js +17 -0
  635. package/.output/server/node_modules/@redis/client/dist/lib/commands/LPOP_COUNT.js +23 -0
  636. package/.output/server/node_modules/@redis/client/dist/lib/commands/LPOS.js +28 -0
  637. package/.output/server/node_modules/@redis/client/dist/lib/commands/LPOS_COUNT.js +26 -0
  638. package/.output/server/node_modules/@redis/client/dist/lib/commands/LPUSH.js +19 -0
  639. package/.output/server/node_modules/@redis/client/dist/lib/commands/LPUSHX.js +19 -0
  640. package/.output/server/node_modules/@redis/client/dist/lib/commands/LRANGE.js +22 -0
  641. package/.output/server/node_modules/@redis/client/dist/lib/commands/LREM.js +22 -0
  642. package/.output/server/node_modules/@redis/client/dist/lib/commands/LSET.js +21 -0
  643. package/.output/server/node_modules/@redis/client/dist/lib/commands/LTRIM.js +20 -0
  644. package/.output/server/node_modules/@redis/client/dist/lib/commands/MEMORY_DOCTOR.js +17 -0
  645. package/.output/server/node_modules/@redis/client/dist/lib/commands/MEMORY_MALLOC-STATS.js +17 -0
  646. package/.output/server/node_modules/@redis/client/dist/lib/commands/MEMORY_PURGE.js +17 -0
  647. package/.output/server/node_modules/@redis/client/dist/lib/commands/MEMORY_STATS.js +39 -0
  648. package/.output/server/node_modules/@redis/client/dist/lib/commands/MEMORY_USAGE.js +22 -0
  649. package/.output/server/node_modules/@redis/client/dist/lib/commands/MGET.js +19 -0
  650. package/.output/server/node_modules/@redis/client/dist/lib/commands/MIGRATE.js +48 -0
  651. package/.output/server/node_modules/@redis/client/dist/lib/commands/MODULE_LIST.js +28 -0
  652. package/.output/server/node_modules/@redis/client/dist/lib/commands/MODULE_LOAD.js +22 -0
  653. package/.output/server/node_modules/@redis/client/dist/lib/commands/MODULE_UNLOAD.js +18 -0
  654. package/.output/server/node_modules/@redis/client/dist/lib/commands/MOVE.js +19 -0
  655. package/.output/server/node_modules/@redis/client/dist/lib/commands/MSET.js +46 -0
  656. package/.output/server/node_modules/@redis/client/dist/lib/commands/MSETEX.js +104 -0
  657. package/.output/server/node_modules/@redis/client/dist/lib/commands/MSETNX.js +19 -0
  658. package/.output/server/node_modules/@redis/client/dist/lib/commands/OBJECT_ENCODING.js +18 -0
  659. package/.output/server/node_modules/@redis/client/dist/lib/commands/OBJECT_FREQ.js +18 -0
  660. package/.output/server/node_modules/@redis/client/dist/lib/commands/OBJECT_IDLETIME.js +18 -0
  661. package/.output/server/node_modules/@redis/client/dist/lib/commands/OBJECT_REFCOUNT.js +18 -0
  662. package/.output/server/node_modules/@redis/client/dist/lib/commands/PERSIST.js +17 -0
  663. package/.output/server/node_modules/@redis/client/dist/lib/commands/PEXPIRE.js +24 -0
  664. package/.output/server/node_modules/@redis/client/dist/lib/commands/PEXPIREAT.js +25 -0
  665. package/.output/server/node_modules/@redis/client/dist/lib/commands/PEXPIRETIME.js +18 -0
  666. package/.output/server/node_modules/@redis/client/dist/lib/commands/PFADD.js +22 -0
  667. package/.output/server/node_modules/@redis/client/dist/lib/commands/PFCOUNT.js +18 -0
  668. package/.output/server/node_modules/@redis/client/dist/lib/commands/PFMERGE.js +21 -0
  669. package/.output/server/node_modules/@redis/client/dist/lib/commands/PING.js +21 -0
  670. package/.output/server/node_modules/@redis/client/dist/lib/commands/PSETEX.js +20 -0
  671. package/.output/server/node_modules/@redis/client/dist/lib/commands/PTTL.js +18 -0
  672. package/.output/server/node_modules/@redis/client/dist/lib/commands/PUBLISH.js +20 -0
  673. package/.output/server/node_modules/@redis/client/dist/lib/commands/PUBSUB_CHANNELS.js +21 -0
  674. package/.output/server/node_modules/@redis/client/dist/lib/commands/PUBSUB_NUMPAT.js +17 -0
  675. package/.output/server/node_modules/@redis/client/dist/lib/commands/PUBSUB_NUMSUB.js +34 -0
  676. package/.output/server/node_modules/@redis/client/dist/lib/commands/PUBSUB_SHARDCHANNELS.js +21 -0
  677. package/.output/server/node_modules/@redis/client/dist/lib/commands/PUBSUB_SHARDNUMSUB.js +32 -0
  678. package/.output/server/node_modules/@redis/client/dist/lib/commands/RANDOMKEY.js +17 -0
  679. package/.output/server/node_modules/@redis/client/dist/lib/commands/READONLY.js +17 -0
  680. package/.output/server/node_modules/@redis/client/dist/lib/commands/RENAME.js +19 -0
  681. package/.output/server/node_modules/@redis/client/dist/lib/commands/RENAMENX.js +19 -0
  682. package/.output/server/node_modules/@redis/client/dist/lib/commands/REPLICAOF.js +19 -0
  683. package/.output/server/node_modules/@redis/client/dist/lib/commands/RESTORE-ASKING.js +17 -0
  684. package/.output/server/node_modules/@redis/client/dist/lib/commands/RESTORE.js +34 -0
  685. package/.output/server/node_modules/@redis/client/dist/lib/commands/ROLE.js +60 -0
  686. package/.output/server/node_modules/@redis/client/dist/lib/commands/RPOP.js +17 -0
  687. package/.output/server/node_modules/@redis/client/dist/lib/commands/RPOPLPUSH.js +18 -0
  688. package/.output/server/node_modules/@redis/client/dist/lib/commands/RPOP_COUNT.js +19 -0
  689. package/.output/server/node_modules/@redis/client/dist/lib/commands/RPUSH.js +19 -0
  690. package/.output/server/node_modules/@redis/client/dist/lib/commands/RPUSHX.js +19 -0
  691. package/.output/server/node_modules/@redis/client/dist/lib/commands/SADD.js +19 -0
  692. package/.output/server/node_modules/@redis/client/dist/lib/commands/SCAN.js +71 -0
  693. package/.output/server/node_modules/@redis/client/dist/lib/commands/SCARD.js +19 -0
  694. package/.output/server/node_modules/@redis/client/dist/lib/commands/SCRIPT_DEBUG.js +18 -0
  695. package/.output/server/node_modules/@redis/client/dist/lib/commands/SCRIPT_EXISTS.js +19 -0
  696. package/.output/server/node_modules/@redis/client/dist/lib/commands/SCRIPT_FLUSH.js +21 -0
  697. package/.output/server/node_modules/@redis/client/dist/lib/commands/SCRIPT_KILL.js +17 -0
  698. package/.output/server/node_modules/@redis/client/dist/lib/commands/SCRIPT_LOAD.js +18 -0
  699. package/.output/server/node_modules/@redis/client/dist/lib/commands/SDIFF.js +19 -0
  700. package/.output/server/node_modules/@redis/client/dist/lib/commands/SDIFFSTORE.js +19 -0
  701. package/.output/server/node_modules/@redis/client/dist/lib/commands/SET.js +61 -0
  702. package/.output/server/node_modules/@redis/client/dist/lib/commands/SETBIT.js +21 -0
  703. package/.output/server/node_modules/@redis/client/dist/lib/commands/SETEX.js +20 -0
  704. package/.output/server/node_modules/@redis/client/dist/lib/commands/SETNX.js +19 -0
  705. package/.output/server/node_modules/@redis/client/dist/lib/commands/SETRANGE.js +20 -0
  706. package/.output/server/node_modules/@redis/client/dist/lib/commands/SINTER.js +19 -0
  707. package/.output/server/node_modules/@redis/client/dist/lib/commands/SINTERCARD.js +25 -0
  708. package/.output/server/node_modules/@redis/client/dist/lib/commands/SINTERSTORE.js +20 -0
  709. package/.output/server/node_modules/@redis/client/dist/lib/commands/SISMEMBER.js +21 -0
  710. package/.output/server/node_modules/@redis/client/dist/lib/commands/SMEMBERS.js +22 -0
  711. package/.output/server/node_modules/@redis/client/dist/lib/commands/SMISMEMBER.js +21 -0
  712. package/.output/server/node_modules/@redis/client/dist/lib/commands/SMOVE.js +21 -0
  713. package/.output/server/node_modules/@redis/client/dist/lib/commands/SORT.js +53 -0
  714. package/.output/server/node_modules/@redis/client/dist/lib/commands/SORT_RO.js +40 -0
  715. package/.output/server/node_modules/@redis/client/dist/lib/commands/SORT_STORE.js +22 -0
  716. package/.output/server/node_modules/@redis/client/dist/lib/commands/SPOP.js +18 -0
  717. package/.output/server/node_modules/@redis/client/dist/lib/commands/SPOP_COUNT.js +20 -0
  718. package/.output/server/node_modules/@redis/client/dist/lib/commands/SPUBLISH.js +20 -0
  719. package/.output/server/node_modules/@redis/client/dist/lib/commands/SRANDMEMBER.js +18 -0
  720. package/.output/server/node_modules/@redis/client/dist/lib/commands/SRANDMEMBER_COUNT.js +23 -0
  721. package/.output/server/node_modules/@redis/client/dist/lib/commands/SREM.js +21 -0
  722. package/.output/server/node_modules/@redis/client/dist/lib/commands/SSCAN.js +35 -0
  723. package/.output/server/node_modules/@redis/client/dist/lib/commands/STRLEN.js +20 -0
  724. package/.output/server/node_modules/@redis/client/dist/lib/commands/SUNION.js +20 -0
  725. package/.output/server/node_modules/@redis/client/dist/lib/commands/SUNIONSTORE.js +21 -0
  726. package/.output/server/node_modules/@redis/client/dist/lib/commands/SWAPDB.js +17 -0
  727. package/.output/server/node_modules/@redis/client/dist/lib/commands/TIME.js +18 -0
  728. package/.output/server/node_modules/@redis/client/dist/lib/commands/TOUCH.js +19 -0
  729. package/.output/server/node_modules/@redis/client/dist/lib/commands/TTL.js +19 -0
  730. package/.output/server/node_modules/@redis/client/dist/lib/commands/TYPE.js +20 -0
  731. package/.output/server/node_modules/@redis/client/dist/lib/commands/UNLINK.js +19 -0
  732. package/.output/server/node_modules/@redis/client/dist/lib/commands/VADD.js +42 -0
  733. package/.output/server/node_modules/@redis/client/dist/lib/commands/VCARD.js +18 -0
  734. package/.output/server/node_modules/@redis/client/dist/lib/commands/VDIM.js +18 -0
  735. package/.output/server/node_modules/@redis/client/dist/lib/commands/VEMB.js +21 -0
  736. package/.output/server/node_modules/@redis/client/dist/lib/commands/VEMB_RAW.js +42 -0
  737. package/.output/server/node_modules/@redis/client/dist/lib/commands/VGETATTR.js +21 -0
  738. package/.output/server/node_modules/@redis/client/dist/lib/commands/VINFO.js +27 -0
  739. package/.output/server/node_modules/@redis/client/dist/lib/commands/VLINKS.js +20 -0
  740. package/.output/server/node_modules/@redis/client/dist/lib/commands/VLINKS_WITHSCORES.js +39 -0
  741. package/.output/server/node_modules/@redis/client/dist/lib/commands/VRANDMEMBER.js +22 -0
  742. package/.output/server/node_modules/@redis/client/dist/lib/commands/VRANGE.js +31 -0
  743. package/.output/server/node_modules/@redis/client/dist/lib/commands/VREM.js +20 -0
  744. package/.output/server/node_modules/@redis/client/dist/lib/commands/VSETATTR.js +27 -0
  745. package/.output/server/node_modules/@redis/client/dist/lib/commands/VSIM.js +51 -0
  746. package/.output/server/node_modules/@redis/client/dist/lib/commands/VSIM_WITHSCORES.js +32 -0
  747. package/.output/server/node_modules/@redis/client/dist/lib/commands/WAIT.js +20 -0
  748. package/.output/server/node_modules/@redis/client/dist/lib/commands/XACK.js +23 -0
  749. package/.output/server/node_modules/@redis/client/dist/lib/commands/XACKDEL.js +31 -0
  750. package/.output/server/node_modules/@redis/client/dist/lib/commands/XADD.js +71 -0
  751. package/.output/server/node_modules/@redis/client/dist/lib/commands/XADD_NOMKSTREAM.js +21 -0
  752. package/.output/server/node_modules/@redis/client/dist/lib/commands/XAUTOCLAIM.js +43 -0
  753. package/.output/server/node_modules/@redis/client/dist/lib/commands/XAUTOCLAIM_JUSTID.js +35 -0
  754. package/.output/server/node_modules/@redis/client/dist/lib/commands/XCFGSET.js +28 -0
  755. package/.output/server/node_modules/@redis/client/dist/lib/commands/XCLAIM.js +52 -0
  756. package/.output/server/node_modules/@redis/client/dist/lib/commands/XCLAIM_JUSTID.js +31 -0
  757. package/.output/server/node_modules/@redis/client/dist/lib/commands/XDEL.js +24 -0
  758. package/.output/server/node_modules/@redis/client/dist/lib/commands/XDELEX.js +29 -0
  759. package/.output/server/node_modules/@redis/client/dist/lib/commands/XGROUP_CREATE.js +29 -0
  760. package/.output/server/node_modules/@redis/client/dist/lib/commands/XGROUP_CREATECONSUMER.js +25 -0
  761. package/.output/server/node_modules/@redis/client/dist/lib/commands/XGROUP_DELCONSUMER.js +25 -0
  762. package/.output/server/node_modules/@redis/client/dist/lib/commands/XGROUP_DESTROY.js +24 -0
  763. package/.output/server/node_modules/@redis/client/dist/lib/commands/XGROUP_SETID.js +26 -0
  764. package/.output/server/node_modules/@redis/client/dist/lib/commands/XINFO_CONSUMERS.js +40 -0
  765. package/.output/server/node_modules/@redis/client/dist/lib/commands/XINFO_GROUPS.js +46 -0
  766. package/.output/server/node_modules/@redis/client/dist/lib/commands/XINFO_STREAM.js +72 -0
  767. package/.output/server/node_modules/@redis/client/dist/lib/commands/XLEN.js +23 -0
  768. package/.output/server/node_modules/@redis/client/dist/lib/commands/XPENDING.js +42 -0
  769. package/.output/server/node_modules/@redis/client/dist/lib/commands/XPENDING_RANGE.js +49 -0
  770. package/.output/server/node_modules/@redis/client/dist/lib/commands/XRANGE.js +50 -0
  771. package/.output/server/node_modules/@redis/client/dist/lib/commands/XREAD.js +57 -0
  772. package/.output/server/node_modules/@redis/client/dist/lib/commands/XREADGROUP.js +42 -0
  773. package/.output/server/node_modules/@redis/client/dist/lib/commands/XREVRANGE.js +49 -0
  774. package/.output/server/node_modules/@redis/client/dist/lib/commands/XSETID.js +18 -0
  775. package/.output/server/node_modules/@redis/client/dist/lib/commands/XTRIM.js +36 -0
  776. package/.output/server/node_modules/@redis/client/dist/lib/commands/ZADD.js +73 -0
  777. package/.output/server/node_modules/@redis/client/dist/lib/commands/ZADD_INCR.js +36 -0
  778. package/.output/server/node_modules/@redis/client/dist/lib/commands/ZCARD.js +23 -0
  779. package/.output/server/node_modules/@redis/client/dist/lib/commands/ZCOUNT.js +21 -0
  780. package/.output/server/node_modules/@redis/client/dist/lib/commands/ZDIFF.js +16 -0
  781. package/.output/server/node_modules/@redis/client/dist/lib/commands/ZDIFFSTORE.js +18 -0
  782. package/.output/server/node_modules/@redis/client/dist/lib/commands/ZDIFF_WITHSCORES.js +21 -0
  783. package/.output/server/node_modules/@redis/client/dist/lib/commands/ZINCRBY.js +19 -0
  784. package/.output/server/node_modules/@redis/client/dist/lib/commands/ZINTER.js +26 -0
  785. package/.output/server/node_modules/@redis/client/dist/lib/commands/ZINTERCARD.js +24 -0
  786. package/.output/server/node_modules/@redis/client/dist/lib/commands/ZINTERSTORE.js +20 -0
  787. package/.output/server/node_modules/@redis/client/dist/lib/commands/ZINTER_WITHSCORES.js +20 -0
  788. package/.output/server/node_modules/@redis/client/dist/lib/commands/ZLEXCOUNT.js +21 -0
  789. package/.output/server/node_modules/@redis/client/dist/lib/commands/ZMPOP.js +47 -0
  790. package/.output/server/node_modules/@redis/client/dist/lib/commands/ZMSCORE.js +25 -0
  791. package/.output/server/node_modules/@redis/client/dist/lib/commands/ZPOPMAX.js +34 -0
  792. package/.output/server/node_modules/@redis/client/dist/lib/commands/ZPOPMAX_COUNT.js +19 -0
  793. package/.output/server/node_modules/@redis/client/dist/lib/commands/ZPOPMIN.js +20 -0
  794. package/.output/server/node_modules/@redis/client/dist/lib/commands/ZPOPMIN_COUNT.js +19 -0
  795. package/.output/server/node_modules/@redis/client/dist/lib/commands/ZRANDMEMBER.js +16 -0
  796. package/.output/server/node_modules/@redis/client/dist/lib/commands/ZRANDMEMBER_COUNT.js +21 -0
  797. package/.output/server/node_modules/@redis/client/dist/lib/commands/ZRANDMEMBER_COUNT_WITHSCORES.js +22 -0
  798. package/.output/server/node_modules/@redis/client/dist/lib/commands/ZRANGE.js +45 -0
  799. package/.output/server/node_modules/@redis/client/dist/lib/commands/ZRANGEBYLEX.js +25 -0
  800. package/.output/server/node_modules/@redis/client/dist/lib/commands/ZRANGEBYSCORE.js +25 -0
  801. package/.output/server/node_modules/@redis/client/dist/lib/commands/ZRANGEBYSCORE_WITHSCORES.js +22 -0
  802. package/.output/server/node_modules/@redis/client/dist/lib/commands/ZRANGESTORE.js +37 -0
  803. package/.output/server/node_modules/@redis/client/dist/lib/commands/ZRANGE_WITHSCORES.js +22 -0
  804. package/.output/server/node_modules/@redis/client/dist/lib/commands/ZRANK.js +19 -0
  805. package/.output/server/node_modules/@redis/client/dist/lib/commands/ZRANK_WITHSCORE.js +38 -0
  806. package/.output/server/node_modules/@redis/client/dist/lib/commands/ZREM.js +18 -0
  807. package/.output/server/node_modules/@redis/client/dist/lib/commands/ZREMRANGEBYLEX.js +20 -0
  808. package/.output/server/node_modules/@redis/client/dist/lib/commands/ZREMRANGEBYRANK.js +19 -0
  809. package/.output/server/node_modules/@redis/client/dist/lib/commands/ZREMRANGEBYSCORE.js +20 -0
  810. package/.output/server/node_modules/@redis/client/dist/lib/commands/ZREVRANK.js +19 -0
  811. package/.output/server/node_modules/@redis/client/dist/lib/commands/ZSCAN.js +26 -0
  812. package/.output/server/node_modules/@redis/client/dist/lib/commands/ZSCORE.js +20 -0
  813. package/.output/server/node_modules/@redis/client/dist/lib/commands/ZUNION.js +21 -0
  814. package/.output/server/node_modules/@redis/client/dist/lib/commands/ZUNIONSTORE.js +23 -0
  815. package/.output/server/node_modules/@redis/client/dist/lib/commands/ZUNION_WITHSCORES.js +21 -0
  816. package/.output/server/node_modules/@redis/client/dist/lib/commands/generic-transformers.js +492 -0
  817. package/.output/server/node_modules/@redis/client/dist/lib/commands/index.js +1161 -0
  818. package/.output/server/node_modules/@redis/client/dist/lib/errors.js +110 -0
  819. package/.output/server/node_modules/@redis/client/dist/lib/lua-script.js +16 -0
  820. package/.output/server/node_modules/@redis/client/dist/lib/multi-command.js +48 -0
  821. package/.output/server/node_modules/@redis/client/dist/lib/opentelemetry/client-registry.js +84 -0
  822. package/.output/server/node_modules/@redis/client/dist/lib/opentelemetry/index.js +81 -0
  823. package/.output/server/node_modules/@redis/client/dist/lib/opentelemetry/metrics.js +647 -0
  824. package/.output/server/node_modules/@redis/client/dist/lib/opentelemetry/types.js +120 -0
  825. package/.output/server/node_modules/@redis/client/dist/lib/opentelemetry/utils/error.util.js +199 -0
  826. package/.output/server/node_modules/@redis/client/dist/lib/opentelemetry/utils/index.js +32 -0
  827. package/.output/server/node_modules/@redis/client/dist/lib/sentinel/commands/SENTINEL_MASTER.js +18 -0
  828. package/.output/server/node_modules/@redis/client/dist/lib/sentinel/commands/SENTINEL_MONITOR.js +17 -0
  829. package/.output/server/node_modules/@redis/client/dist/lib/sentinel/commands/SENTINEL_REPLICAS.js +25 -0
  830. package/.output/server/node_modules/@redis/client/dist/lib/sentinel/commands/SENTINEL_SENTINELS.js +25 -0
  831. package/.output/server/node_modules/@redis/client/dist/lib/sentinel/commands/SENTINEL_SET.js +18 -0
  832. package/.output/server/node_modules/@redis/client/dist/lib/sentinel/commands/index.js +23 -0
  833. package/.output/server/node_modules/@redis/client/dist/lib/sentinel/index.js +1229 -0
  834. package/.output/server/node_modules/@redis/client/dist/lib/sentinel/module.js +10 -0
  835. package/.output/server/node_modules/@redis/client/dist/lib/sentinel/multi-commands.js +115 -0
  836. package/.output/server/node_modules/@redis/client/dist/lib/sentinel/pub-sub-proxy.js +150 -0
  837. package/.output/server/node_modules/@redis/client/dist/lib/sentinel/utils.js +98 -0
  838. package/.output/server/node_modules/@redis/client/dist/lib/sentinel/wait-queue.js +24 -0
  839. package/.output/server/node_modules/@redis/client/dist/lib/single-entry-cache.js +38 -0
  840. package/.output/server/node_modules/@redis/client/dist/lib/utils/digest.js +34 -0
  841. package/.output/server/node_modules/@redis/client/dist/package.json +52 -0
  842. package/.output/server/node_modules/@redis/client/package.json +52 -0
  843. package/.output/server/node_modules/@redis/json/dist/lib/commands/ARRAPPEND.js +26 -0
  844. package/.output/server/node_modules/@redis/json/dist/lib/commands/ARRINDEX.js +31 -0
  845. package/.output/server/node_modules/@redis/json/dist/lib/commands/ARRINSERT.js +27 -0
  846. package/.output/server/node_modules/@redis/json/dist/lib/commands/ARRLEN.js +23 -0
  847. package/.output/server/node_modules/@redis/json/dist/lib/commands/ARRPOP.js +32 -0
  848. package/.output/server/node_modules/@redis/json/dist/lib/commands/ARRTRIM.js +22 -0
  849. package/.output/server/node_modules/@redis/json/dist/lib/commands/CLEAR.js +23 -0
  850. package/.output/server/node_modules/@redis/json/dist/lib/commands/DEBUG_MEMORY.js +23 -0
  851. package/.output/server/node_modules/@redis/json/dist/lib/commands/DEL.js +23 -0
  852. package/.output/server/node_modules/@redis/json/dist/lib/commands/FORGET.js +23 -0
  853. package/.output/server/node_modules/@redis/json/dist/lib/commands/GET.js +24 -0
  854. package/.output/server/node_modules/@redis/json/dist/lib/commands/MERGE.js +22 -0
  855. package/.output/server/node_modules/@redis/json/dist/lib/commands/MGET.js +23 -0
  856. package/.output/server/node_modules/@redis/json/dist/lib/commands/MSET.js +25 -0
  857. package/.output/server/node_modules/@redis/json/dist/lib/commands/NUMINCRBY.js +26 -0
  858. package/.output/server/node_modules/@redis/json/dist/lib/commands/NUMMULTBY.js +25 -0
  859. package/.output/server/node_modules/@redis/json/dist/lib/commands/OBJKEYS.js +23 -0
  860. package/.output/server/node_modules/@redis/json/dist/lib/commands/OBJLEN.js +23 -0
  861. package/.output/server/node_modules/@redis/json/dist/lib/commands/SET.js +35 -0
  862. package/.output/server/node_modules/@redis/json/dist/lib/commands/STRAPPEND.js +26 -0
  863. package/.output/server/node_modules/@redis/json/dist/lib/commands/STRLEN.js +23 -0
  864. package/.output/server/node_modules/@redis/json/dist/lib/commands/TOGGLE.js +20 -0
  865. package/.output/server/node_modules/@redis/json/dist/lib/commands/TYPE.js +29 -0
  866. package/.output/server/node_modules/@redis/json/dist/lib/commands/index.js +91 -0
  867. package/.output/server/node_modules/@redis/json/dist/lib/index.js +9 -0
  868. package/.output/server/node_modules/@redis/json/package.json +36 -0
  869. package/.output/server/node_modules/@redis/search/dist/lib/commands/AGGREGATE.js +212 -0
  870. package/.output/server/node_modules/@redis/search/dist/lib/commands/AGGREGATE_WITHCURSOR.js +40 -0
  871. package/.output/server/node_modules/@redis/search/dist/lib/commands/ALIASADD.js +17 -0
  872. package/.output/server/node_modules/@redis/search/dist/lib/commands/ALIASDEL.js +16 -0
  873. package/.output/server/node_modules/@redis/search/dist/lib/commands/ALIASUPDATE.js +17 -0
  874. package/.output/server/node_modules/@redis/search/dist/lib/commands/ALTER.js +19 -0
  875. package/.output/server/node_modules/@redis/search/dist/lib/commands/CONFIG_GET.js +23 -0
  876. package/.output/server/node_modules/@redis/search/dist/lib/commands/CONFIG_SET.js +17 -0
  877. package/.output/server/node_modules/@redis/search/dist/lib/commands/CREATE.js +277 -0
  878. package/.output/server/node_modules/@redis/search/dist/lib/commands/CURSOR_DEL.js +17 -0
  879. package/.output/server/node_modules/@redis/search/dist/lib/commands/CURSOR_READ.js +27 -0
  880. package/.output/server/node_modules/@redis/search/dist/lib/commands/DICTADD.js +18 -0
  881. package/.output/server/node_modules/@redis/search/dist/lib/commands/DICTDEL.js +18 -0
  882. package/.output/server/node_modules/@redis/search/dist/lib/commands/DICTDUMP.js +19 -0
  883. package/.output/server/node_modules/@redis/search/dist/lib/commands/DROPINDEX.js +24 -0
  884. package/.output/server/node_modules/@redis/search/dist/lib/commands/EXPLAIN.js +29 -0
  885. package/.output/server/node_modules/@redis/search/dist/lib/commands/EXPLAINCLI.js +26 -0
  886. package/.output/server/node_modules/@redis/search/dist/lib/commands/HYBRID.js +273 -0
  887. package/.output/server/node_modules/@redis/search/dist/lib/commands/INFO.js +106 -0
  888. package/.output/server/node_modules/@redis/search/dist/lib/commands/PROFILE_AGGREGATE.js +58 -0
  889. package/.output/server/node_modules/@redis/search/dist/lib/commands/PROFILE_SEARCH.js +58 -0
  890. package/.output/server/node_modules/@redis/search/dist/lib/commands/SEARCH.js +160 -0
  891. package/.output/server/node_modules/@redis/search/dist/lib/commands/SEARCH_NOCONTENT.js +34 -0
  892. package/.output/server/node_modules/@redis/search/dist/lib/commands/SPELLCHECK.js +56 -0
  893. package/.output/server/node_modules/@redis/search/dist/lib/commands/SUGADD.js +28 -0
  894. package/.output/server/node_modules/@redis/search/dist/lib/commands/SUGDEL.js +18 -0
  895. package/.output/server/node_modules/@redis/search/dist/lib/commands/SUGGET.js +27 -0
  896. package/.output/server/node_modules/@redis/search/dist/lib/commands/SUGGET_WITHPAYLOADS.js +36 -0
  897. package/.output/server/node_modules/@redis/search/dist/lib/commands/SUGGET_WITHSCORES.js +51 -0
  898. package/.output/server/node_modules/@redis/search/dist/lib/commands/SUGGET_WITHSCORES_WITHPAYLOADS.js +53 -0
  899. package/.output/server/node_modules/@redis/search/dist/lib/commands/SUGLEN.js +15 -0
  900. package/.output/server/node_modules/@redis/search/dist/lib/commands/SYNDUMP.js +27 -0
  901. package/.output/server/node_modules/@redis/search/dist/lib/commands/SYNUPDATE.js +24 -0
  902. package/.output/server/node_modules/@redis/search/dist/lib/commands/TAGVALS.js +20 -0
  903. package/.output/server/node_modules/@redis/search/dist/lib/commands/_LIST.js +18 -0
  904. package/.output/server/node_modules/@redis/search/dist/lib/commands/index.js +125 -0
  905. package/.output/server/node_modules/@redis/search/dist/lib/dialect/default.js +5 -0
  906. package/.output/server/node_modules/@redis/search/dist/lib/index.js +17 -0
  907. package/.output/server/node_modules/@redis/search/package.json +37 -0
  908. package/.output/server/node_modules/@redis/time-series/dist/lib/commands/ADD.js +29 -0
  909. package/.output/server/node_modules/@redis/time-series/dist/lib/commands/ALTER.js +23 -0
  910. package/.output/server/node_modules/@redis/time-series/dist/lib/commands/CREATE.js +24 -0
  911. package/.output/server/node_modules/@redis/time-series/dist/lib/commands/CREATERULE.js +48 -0
  912. package/.output/server/node_modules/@redis/time-series/dist/lib/commands/DECRBY.js +40 -0
  913. package/.output/server/node_modules/@redis/time-series/dist/lib/commands/DEL.js +20 -0
  914. package/.output/server/node_modules/@redis/time-series/dist/lib/commands/DELETERULE.js +17 -0
  915. package/.output/server/node_modules/@redis/time-series/dist/lib/commands/GET.js +33 -0
  916. package/.output/server/node_modules/@redis/time-series/dist/lib/commands/INCRBY.js +40 -0
  917. package/.output/server/node_modules/@redis/time-series/dist/lib/commands/INFO.js +58 -0
  918. package/.output/server/node_modules/@redis/time-series/dist/lib/commands/INFO_DEBUG.js +46 -0
  919. package/.output/server/node_modules/@redis/time-series/dist/lib/commands/MADD.js +20 -0
  920. package/.output/server/node_modules/@redis/time-series/dist/lib/commands/MGET.js +57 -0
  921. package/.output/server/node_modules/@redis/time-series/dist/lib/commands/MGET_SELECTED_LABELS.js +23 -0
  922. package/.output/server/node_modules/@redis/time-series/dist/lib/commands/MGET_WITHLABELS.js +43 -0
  923. package/.output/server/node_modules/@redis/time-series/dist/lib/commands/MRANGE.js +44 -0
  924. package/.output/server/node_modules/@redis/time-series/dist/lib/commands/MRANGE_GROUPBY.js +96 -0
  925. package/.output/server/node_modules/@redis/time-series/dist/lib/commands/MRANGE_SELECTED_LABELS.js +51 -0
  926. package/.output/server/node_modules/@redis/time-series/dist/lib/commands/MRANGE_SELECTED_LABELS_GROUPBY.js +52 -0
  927. package/.output/server/node_modules/@redis/time-series/dist/lib/commands/MRANGE_WITHLABELS.js +59 -0
  928. package/.output/server/node_modules/@redis/time-series/dist/lib/commands/MRANGE_WITHLABELS_GROUPBY.js +52 -0
  929. package/.output/server/node_modules/@redis/time-series/dist/lib/commands/MREVRANGE.js +41 -0
  930. package/.output/server/node_modules/@redis/time-series/dist/lib/commands/MREVRANGE_GROUPBY.js +41 -0
  931. package/.output/server/node_modules/@redis/time-series/dist/lib/commands/MREVRANGE_SELECTED_LABELS.js +41 -0
  932. package/.output/server/node_modules/@redis/time-series/dist/lib/commands/MREVRANGE_SELECTED_LABELS_GROUPBY.js +42 -0
  933. package/.output/server/node_modules/@redis/time-series/dist/lib/commands/MREVRANGE_WITHLABELS.js +41 -0
  934. package/.output/server/node_modules/@redis/time-series/dist/lib/commands/MREVRANGE_WITHLABELS_GROUPBY.js +41 -0
  935. package/.output/server/node_modules/@redis/time-series/dist/lib/commands/QUERYINDEX.js +20 -0
  936. package/.output/server/node_modules/@redis/time-series/dist/lib/commands/RANGE.js +66 -0
  937. package/.output/server/node_modules/@redis/time-series/dist/lib/commands/REVRANGE.js +40 -0
  938. package/.output/server/node_modules/@redis/time-series/dist/lib/commands/helpers.js +237 -0
  939. package/.output/server/node_modules/@redis/time-series/dist/lib/commands/index.js +113 -0
  940. package/.output/server/node_modules/@redis/time-series/dist/lib/index.js +17 -0
  941. package/.output/server/node_modules/@redis/time-series/package.json +36 -0
  942. package/.output/server/node_modules/aws-ssl-profiles/lib/index.js +13 -0
  943. package/.output/server/node_modules/aws-ssl-profiles/lib/profiles/ca/defaults.js +2888 -0
  944. package/.output/server/node_modules/aws-ssl-profiles/lib/profiles/ca/proxies.js +111 -0
  945. package/.output/server/node_modules/aws-ssl-profiles/package.json +52 -0
  946. package/.output/server/node_modules/better-sqlite3/build/Release/better_sqlite3.node +0 -0
  947. package/.output/server/node_modules/better-sqlite3/lib/database.js +90 -0
  948. package/.output/server/node_modules/better-sqlite3/lib/index.js +3 -0
  949. package/.output/server/node_modules/better-sqlite3/lib/methods/aggregate.js +43 -0
  950. package/.output/server/node_modules/better-sqlite3/lib/methods/backup.js +67 -0
  951. package/.output/server/node_modules/better-sqlite3/lib/methods/function.js +31 -0
  952. package/.output/server/node_modules/better-sqlite3/lib/methods/inspect.js +7 -0
  953. package/.output/server/node_modules/better-sqlite3/lib/methods/pragma.js +12 -0
  954. package/.output/server/node_modules/better-sqlite3/lib/methods/serialize.js +16 -0
  955. package/.output/server/node_modules/better-sqlite3/lib/methods/table.js +189 -0
  956. package/.output/server/node_modules/better-sqlite3/lib/methods/transaction.js +78 -0
  957. package/.output/server/node_modules/better-sqlite3/lib/methods/wrappers.js +54 -0
  958. package/.output/server/node_modules/better-sqlite3/lib/sqlite-error.js +20 -0
  959. package/.output/server/node_modules/better-sqlite3/lib/util.js +12 -0
  960. package/.output/server/node_modules/better-sqlite3/package.json +59 -0
  961. package/.output/server/node_modules/cluster-key-slot/lib/index.js +166 -0
  962. package/.output/server/node_modules/cluster-key-slot/package.json +56 -0
  963. package/.output/server/node_modules/cpu-features/build/Release/cpufeatures.node +0 -0
  964. package/.output/server/node_modules/cpu-features/lib/index.js +5 -0
  965. package/.output/server/node_modules/cpu-features/package.json +40 -0
  966. package/.output/server/node_modules/denque/index.js +481 -0
  967. package/.output/server/node_modules/denque/package.json +58 -0
  968. package/.output/server/node_modules/generate-function/index.js +181 -0
  969. package/.output/server/node_modules/generate-function/package.json +32 -0
  970. package/.output/server/node_modules/iconv-lite/encodings/dbcs-codec.js +532 -0
  971. package/.output/server/node_modules/iconv-lite/encodings/dbcs-data.js +185 -0
  972. package/.output/server/node_modules/iconv-lite/encodings/index.js +23 -0
  973. package/.output/server/node_modules/iconv-lite/encodings/internal.js +218 -0
  974. package/.output/server/node_modules/iconv-lite/encodings/sbcs-codec.js +75 -0
  975. package/.output/server/node_modules/iconv-lite/encodings/sbcs-data-generated.js +451 -0
  976. package/.output/server/node_modules/iconv-lite/encodings/sbcs-data.js +178 -0
  977. package/.output/server/node_modules/iconv-lite/encodings/tables/big5-added.json +122 -0
  978. package/.output/server/node_modules/iconv-lite/encodings/tables/cp936.json +264 -0
  979. package/.output/server/node_modules/iconv-lite/encodings/tables/cp949.json +273 -0
  980. package/.output/server/node_modules/iconv-lite/encodings/tables/cp950.json +177 -0
  981. package/.output/server/node_modules/iconv-lite/encodings/tables/eucjp.json +182 -0
  982. package/.output/server/node_modules/iconv-lite/encodings/tables/gb18030-ranges.json +1 -0
  983. package/.output/server/node_modules/iconv-lite/encodings/tables/gbk-added.json +56 -0
  984. package/.output/server/node_modules/iconv-lite/encodings/tables/shiftjis.json +125 -0
  985. package/.output/server/node_modules/iconv-lite/encodings/utf16.js +187 -0
  986. package/.output/server/node_modules/iconv-lite/encodings/utf32.js +307 -0
  987. package/.output/server/node_modules/iconv-lite/encodings/utf7.js +283 -0
  988. package/.output/server/node_modules/iconv-lite/lib/bom-handling.js +48 -0
  989. package/.output/server/node_modules/iconv-lite/lib/helpers/merge-exports.js +13 -0
  990. package/.output/server/node_modules/iconv-lite/lib/index.js +182 -0
  991. package/.output/server/node_modules/iconv-lite/lib/streams.js +105 -0
  992. package/.output/server/node_modules/iconv-lite/package.json +70 -0
  993. package/.output/server/node_modules/is-property/is-property.js +5 -0
  994. package/.output/server/node_modules/is-property/package.json +36 -0
  995. package/.output/server/node_modules/js-base64/base64.mjs +301 -0
  996. package/.output/server/node_modules/js-base64/package.json +43 -0
  997. package/.output/server/node_modules/long/package.json +58 -0
  998. package/.output/server/node_modules/long/umd/index.js +1622 -0
  999. package/.output/server/node_modules/long/umd/package.json +3 -0
  1000. package/.output/server/node_modules/lru.min/lib/index.js +248 -0
  1001. package/.output/server/node_modules/lru.min/package.json +87 -0
  1002. package/.output/server/node_modules/mysql2/index.js +77 -0
  1003. package/.output/server/node_modules/mysql2/lib/auth_41.js +95 -0
  1004. package/.output/server/node_modules/mysql2/lib/auth_plugins/caching_sha2_password.js +115 -0
  1005. package/.output/server/node_modules/mysql2/lib/auth_plugins/index.js +8 -0
  1006. package/.output/server/node_modules/mysql2/lib/auth_plugins/mysql_clear_password.js +17 -0
  1007. package/.output/server/node_modules/mysql2/lib/auth_plugins/mysql_native_password.js +34 -0
  1008. package/.output/server/node_modules/mysql2/lib/auth_plugins/sha256_password.js +74 -0
  1009. package/.output/server/node_modules/mysql2/lib/base/connection.js +1139 -0
  1010. package/.output/server/node_modules/mysql2/lib/base/pool.js +343 -0
  1011. package/.output/server/node_modules/mysql2/lib/commands/auth_switch.js +151 -0
  1012. package/.output/server/node_modules/mysql2/lib/commands/binlog_dump.js +109 -0
  1013. package/.output/server/node_modules/mysql2/lib/commands/change_user.js +68 -0
  1014. package/.output/server/node_modules/mysql2/lib/commands/client_handshake.js +386 -0
  1015. package/.output/server/node_modules/mysql2/lib/commands/close_statement.js +18 -0
  1016. package/.output/server/node_modules/mysql2/lib/commands/command.js +54 -0
  1017. package/.output/server/node_modules/mysql2/lib/commands/execute.js +116 -0
  1018. package/.output/server/node_modules/mysql2/lib/commands/index.js +29 -0
  1019. package/.output/server/node_modules/mysql2/lib/commands/ping.js +36 -0
  1020. package/.output/server/node_modules/mysql2/lib/commands/prepare.js +143 -0
  1021. package/.output/server/node_modules/mysql2/lib/commands/query.js +365 -0
  1022. package/.output/server/node_modules/mysql2/lib/commands/quit.js +29 -0
  1023. package/.output/server/node_modules/mysql2/lib/commands/register_slave.js +27 -0
  1024. package/.output/server/node_modules/mysql2/lib/commands/reset_connection.js +29 -0
  1025. package/.output/server/node_modules/mysql2/lib/commands/server_handshake.js +205 -0
  1026. package/.output/server/node_modules/mysql2/lib/compressed_protocol.js +153 -0
  1027. package/.output/server/node_modules/mysql2/lib/connection.js +12 -0
  1028. package/.output/server/node_modules/mysql2/lib/connection_config.js +299 -0
  1029. package/.output/server/node_modules/mysql2/lib/constants/charset_encodings.js +317 -0
  1030. package/.output/server/node_modules/mysql2/lib/constants/charsets.js +317 -0
  1031. package/.output/server/node_modules/mysql2/lib/constants/client.js +39 -0
  1032. package/.output/server/node_modules/mysql2/lib/constants/commands.js +37 -0
  1033. package/.output/server/node_modules/mysql2/lib/constants/cursor.js +9 -0
  1034. package/.output/server/node_modules/mysql2/lib/constants/encoding_charset.js +50 -0
  1035. package/.output/server/node_modules/mysql2/lib/constants/errors.js +3973 -0
  1036. package/.output/server/node_modules/mysql2/lib/constants/field_flags.js +20 -0
  1037. package/.output/server/node_modules/mysql2/lib/constants/server_status.js +44 -0
  1038. package/.output/server/node_modules/mysql2/lib/constants/session_track.js +11 -0
  1039. package/.output/server/node_modules/mysql2/lib/constants/ssl_profiles.js +11 -0
  1040. package/.output/server/node_modules/mysql2/lib/constants/types.js +64 -0
  1041. package/.output/server/node_modules/mysql2/lib/create_connection.js +10 -0
  1042. package/.output/server/node_modules/mysql2/lib/create_pool.js +10 -0
  1043. package/.output/server/node_modules/mysql2/lib/create_pool_cluster.js +9 -0
  1044. package/.output/server/node_modules/mysql2/lib/helpers.js +83 -0
  1045. package/.output/server/node_modules/mysql2/lib/packet_parser.js +195 -0
  1046. package/.output/server/node_modules/mysql2/lib/packets/auth_next_factor.js +35 -0
  1047. package/.output/server/node_modules/mysql2/lib/packets/auth_switch_request.js +38 -0
  1048. package/.output/server/node_modules/mysql2/lib/packets/auth_switch_request_more_data.js +33 -0
  1049. package/.output/server/node_modules/mysql2/lib/packets/auth_switch_response.js +30 -0
  1050. package/.output/server/node_modules/mysql2/lib/packets/binary_row.js +95 -0
  1051. package/.output/server/node_modules/mysql2/lib/packets/binlog_dump.js +33 -0
  1052. package/.output/server/node_modules/mysql2/lib/packets/binlog_query_statusvars.js +115 -0
  1053. package/.output/server/node_modules/mysql2/lib/packets/change_user.js +97 -0
  1054. package/.output/server/node_modules/mysql2/lib/packets/close_statement.js +21 -0
  1055. package/.output/server/node_modules/mysql2/lib/packets/column_definition.js +291 -0
  1056. package/.output/server/node_modules/mysql2/lib/packets/encode_parameter.js +69 -0
  1057. package/.output/server/node_modules/mysql2/lib/packets/execute.js +177 -0
  1058. package/.output/server/node_modules/mysql2/lib/packets/handshake.js +112 -0
  1059. package/.output/server/node_modules/mysql2/lib/packets/handshake_response.js +173 -0
  1060. package/.output/server/node_modules/mysql2/lib/packets/index.js +154 -0
  1061. package/.output/server/node_modules/mysql2/lib/packets/packet.js +978 -0
  1062. package/.output/server/node_modules/mysql2/lib/packets/prepare_statement.js +27 -0
  1063. package/.output/server/node_modules/mysql2/lib/packets/prepared_statement_header.js +16 -0
  1064. package/.output/server/node_modules/mysql2/lib/packets/query.js +102 -0
  1065. package/.output/server/node_modules/mysql2/lib/packets/register_slave.js +46 -0
  1066. package/.output/server/node_modules/mysql2/lib/packets/reset_connection.js +17 -0
  1067. package/.output/server/node_modules/mysql2/lib/packets/resultset_header.js +124 -0
  1068. package/.output/server/node_modules/mysql2/lib/packets/ssl_request.js +25 -0
  1069. package/.output/server/node_modules/mysql2/lib/packets/text_row.js +47 -0
  1070. package/.output/server/node_modules/mysql2/lib/parsers/binary_parser.js +235 -0
  1071. package/.output/server/node_modules/mysql2/lib/parsers/parser_cache.js +68 -0
  1072. package/.output/server/node_modules/mysql2/lib/parsers/static_binary_parser.js +213 -0
  1073. package/.output/server/node_modules/mysql2/lib/parsers/static_text_parser.js +152 -0
  1074. package/.output/server/node_modules/mysql2/lib/parsers/string.js +50 -0
  1075. package/.output/server/node_modules/mysql2/lib/parsers/text_parser.js +214 -0
  1076. package/.output/server/node_modules/mysql2/lib/pool.js +12 -0
  1077. package/.output/server/node_modules/mysql2/lib/pool_cluster.js +375 -0
  1078. package/.output/server/node_modules/mysql2/lib/pool_config.js +34 -0
  1079. package/.output/server/node_modules/mysql2/lib/pool_connection.js +81 -0
  1080. package/.output/server/node_modules/mysql2/lib/promise/capture_local_err.js +25 -0
  1081. package/.output/server/node_modules/mysql2/lib/promise/connection.js +237 -0
  1082. package/.output/server/node_modules/mysql2/lib/promise/inherit_events.js +27 -0
  1083. package/.output/server/node_modules/mysql2/lib/promise/make_done_cb.js +16 -0
  1084. package/.output/server/node_modules/mysql2/lib/promise/pool.js +118 -0
  1085. package/.output/server/node_modules/mysql2/lib/promise/pool_cluster.js +59 -0
  1086. package/.output/server/node_modules/mysql2/lib/promise/pool_connection.js +19 -0
  1087. package/.output/server/node_modules/mysql2/lib/promise/prepared_statement_info.js +35 -0
  1088. package/.output/server/node_modules/mysql2/lib/server.js +37 -0
  1089. package/.output/server/node_modules/mysql2/lib/tracing.js +81 -0
  1090. package/.output/server/node_modules/mysql2/package.json +95 -0
  1091. package/.output/server/node_modules/mysql2/promise.js +209 -0
  1092. package/.output/server/node_modules/named-placeholders/index.js +179 -0
  1093. package/.output/server/node_modules/named-placeholders/package.json +36 -0
  1094. package/.output/server/node_modules/oracledb/index.js +27 -0
  1095. package/.output/server/node_modules/oracledb/lib/aqDeqOptions.js +186 -0
  1096. package/.output/server/node_modules/oracledb/lib/aqEnqOptions.js +81 -0
  1097. package/.output/server/node_modules/oracledb/lib/aqMessage.js +149 -0
  1098. package/.output/server/node_modules/oracledb/lib/aqQueue.js +293 -0
  1099. package/.output/server/node_modules/oracledb/lib/connection.js +1842 -0
  1100. package/.output/server/node_modules/oracledb/lib/constants.js +210 -0
  1101. package/.output/server/node_modules/oracledb/lib/dbObject.js +606 -0
  1102. package/.output/server/node_modules/oracledb/lib/errors.js +1046 -0
  1103. package/.output/server/node_modules/oracledb/lib/future.js +53 -0
  1104. package/.output/server/node_modules/oracledb/lib/impl/aqDeqOptions.js +206 -0
  1105. package/.output/server/node_modules/oracledb/lib/impl/aqEnqOptions.js +89 -0
  1106. package/.output/server/node_modules/oracledb/lib/impl/aqMessage.js +134 -0
  1107. package/.output/server/node_modules/oracledb/lib/impl/aqQueue.js +82 -0
  1108. package/.output/server/node_modules/oracledb/lib/impl/base.js +45 -0
  1109. package/.output/server/node_modules/oracledb/lib/impl/connection.js +671 -0
  1110. package/.output/server/node_modules/oracledb/lib/impl/datahandlers/buffer.js +1214 -0
  1111. package/.output/server/node_modules/oracledb/lib/impl/datahandlers/constants.js +110 -0
  1112. package/.output/server/node_modules/oracledb/lib/impl/datahandlers/oson.js +852 -0
  1113. package/.output/server/node_modules/oracledb/lib/impl/datahandlers/vector.js +197 -0
  1114. package/.output/server/node_modules/oracledb/lib/impl/dbObject.js +159 -0
  1115. package/.output/server/node_modules/oracledb/lib/impl/index.js +59 -0
  1116. package/.output/server/node_modules/oracledb/lib/impl/lob.js +113 -0
  1117. package/.output/server/node_modules/oracledb/lib/impl/pool.js +230 -0
  1118. package/.output/server/node_modules/oracledb/lib/impl/resultset.js +307 -0
  1119. package/.output/server/node_modules/oracledb/lib/impl/sodaCollection.js +175 -0
  1120. package/.output/server/node_modules/oracledb/lib/impl/sodaDatabase.js +82 -0
  1121. package/.output/server/node_modules/oracledb/lib/impl/sodaDocCursor.js +64 -0
  1122. package/.output/server/node_modules/oracledb/lib/impl/sodaDocument.js +89 -0
  1123. package/.output/server/node_modules/oracledb/lib/impl/sodaOperation.js +110 -0
  1124. package/.output/server/node_modules/oracledb/lib/lob.js +315 -0
  1125. package/.output/server/node_modules/oracledb/lib/oracledb.js +1716 -0
  1126. package/.output/server/node_modules/oracledb/lib/pool.js +873 -0
  1127. package/.output/server/node_modules/oracledb/lib/poolStatistics.js +143 -0
  1128. package/.output/server/node_modules/oracledb/lib/queryStream.js +119 -0
  1129. package/.output/server/node_modules/oracledb/lib/resultset.js +368 -0
  1130. package/.output/server/node_modules/oracledb/lib/settings.js +221 -0
  1131. package/.output/server/node_modules/oracledb/lib/sodaCollection.js +284 -0
  1132. package/.output/server/node_modules/oracledb/lib/sodaDatabase.js +176 -0
  1133. package/.output/server/node_modules/oracledb/lib/sodaDocCursor.js +82 -0
  1134. package/.output/server/node_modules/oracledb/lib/sodaDocument.js +125 -0
  1135. package/.output/server/node_modules/oracledb/lib/sodaOperation.js +236 -0
  1136. package/.output/server/node_modules/oracledb/lib/thin/aq.js +475 -0
  1137. package/.output/server/node_modules/oracledb/lib/thin/connection.js +1504 -0
  1138. package/.output/server/node_modules/oracledb/lib/thin/dbObject.js +737 -0
  1139. package/.output/server/node_modules/oracledb/lib/thin/index.js +40 -0
  1140. package/.output/server/node_modules/oracledb/lib/thin/lob.js +380 -0
  1141. package/.output/server/node_modules/oracledb/lib/thin/pool.js +738 -0
  1142. package/.output/server/node_modules/oracledb/lib/thin/protocol/capabilities.js +145 -0
  1143. package/.output/server/node_modules/oracledb/lib/thin/protocol/constants.js +872 -0
  1144. package/.output/server/node_modules/oracledb/lib/thin/protocol/encryptDecrypt.js +197 -0
  1145. package/.output/server/node_modules/oracledb/lib/thin/protocol/messages/aqArray.js +238 -0
  1146. package/.output/server/node_modules/oracledb/lib/thin/protocol/messages/aqBase.js +305 -0
  1147. package/.output/server/node_modules/oracledb/lib/thin/protocol/messages/aqDeq.js +164 -0
  1148. package/.output/server/node_modules/oracledb/lib/thin/protocol/messages/aqEnq.js +135 -0
  1149. package/.output/server/node_modules/oracledb/lib/thin/protocol/messages/auth.js +376 -0
  1150. package/.output/server/node_modules/oracledb/lib/thin/protocol/messages/base.js +568 -0
  1151. package/.output/server/node_modules/oracledb/lib/thin/protocol/messages/commit.js +56 -0
  1152. package/.output/server/node_modules/oracledb/lib/thin/protocol/messages/dataType.js +401 -0
  1153. package/.output/server/node_modules/oracledb/lib/thin/protocol/messages/execute.js +358 -0
  1154. package/.output/server/node_modules/oracledb/lib/thin/protocol/messages/fastAuth.js +83 -0
  1155. package/.output/server/node_modules/oracledb/lib/thin/protocol/messages/fetch.js +64 -0
  1156. package/.output/server/node_modules/oracledb/lib/thin/protocol/messages/index.js +59 -0
  1157. package/.output/server/node_modules/oracledb/lib/thin/protocol/messages/lobOp.js +195 -0
  1158. package/.output/server/node_modules/oracledb/lib/thin/protocol/messages/logOff.js +52 -0
  1159. package/.output/server/node_modules/oracledb/lib/thin/protocol/messages/ping.js +56 -0
  1160. package/.output/server/node_modules/oracledb/lib/thin/protocol/messages/protocol.js +97 -0
  1161. package/.output/server/node_modules/oracledb/lib/thin/protocol/messages/rollback.js +56 -0
  1162. package/.output/server/node_modules/oracledb/lib/thin/protocol/messages/sessionRelease.js +60 -0
  1163. package/.output/server/node_modules/oracledb/lib/thin/protocol/messages/transactionChangeState.js +99 -0
  1164. package/.output/server/node_modules/oracledb/lib/thin/protocol/messages/transactionSwitch.js +147 -0
  1165. package/.output/server/node_modules/oracledb/lib/thin/protocol/messages/withData.js +920 -0
  1166. package/.output/server/node_modules/oracledb/lib/thin/protocol/packet.js +631 -0
  1167. package/.output/server/node_modules/oracledb/lib/thin/protocol/protocol.js +240 -0
  1168. package/.output/server/node_modules/oracledb/lib/thin/protocol/utils.js +82 -0
  1169. package/.output/server/node_modules/oracledb/lib/thin/resultSet.js +122 -0
  1170. package/.output/server/node_modules/oracledb/lib/thin/sqlnet/ANO.js +438 -0
  1171. package/.output/server/node_modules/oracledb/lib/thin/sqlnet/connStrategy.js +316 -0
  1172. package/.output/server/node_modules/oracledb/lib/thin/sqlnet/constants.js +210 -0
  1173. package/.output/server/node_modules/oracledb/lib/thin/sqlnet/ezConnectResolver.js +466 -0
  1174. package/.output/server/node_modules/oracledb/lib/thin/sqlnet/navNodes.js +904 -0
  1175. package/.output/server/node_modules/oracledb/lib/thin/sqlnet/networkSession.js +733 -0
  1176. package/.output/server/node_modules/oracledb/lib/thin/sqlnet/ntTcp.js +609 -0
  1177. package/.output/server/node_modules/oracledb/lib/thin/sqlnet/nvStrToNvPair.js +780 -0
  1178. package/.output/server/node_modules/oracledb/lib/thin/sqlnet/packet.js +439 -0
  1179. package/.output/server/node_modules/oracledb/lib/thin/sqlnet/paramParser.js +239 -0
  1180. package/.output/server/node_modules/oracledb/lib/thin/sqlnet/sessionAtts.js +198 -0
  1181. package/.output/server/node_modules/oracledb/lib/thin/statement.js +573 -0
  1182. package/.output/server/node_modules/oracledb/lib/thin/statementCache.js +195 -0
  1183. package/.output/server/node_modules/oracledb/lib/thin/util.js +254 -0
  1184. package/.output/server/node_modules/oracledb/lib/traceHandler.js +133 -0
  1185. package/.output/server/node_modules/oracledb/lib/transformer.js +279 -0
  1186. package/.output/server/node_modules/oracledb/lib/types.js +592 -0
  1187. package/.output/server/node_modules/oracledb/lib/util.js +648 -0
  1188. package/.output/server/node_modules/oracledb/lib/version.js +36 -0
  1189. package/.output/server/node_modules/oracledb/package.json +48 -0
  1190. package/.output/server/node_modules/promise-limit/index.js +88 -0
  1191. package/.output/server/node_modules/promise-limit/package.json +39 -0
  1192. package/.output/server/node_modules/redis/dist/index.js +77 -0
  1193. package/.output/server/node_modules/redis/package.json +36 -0
  1194. package/.output/server/node_modules/sql-escaper/lib/index.js +398 -0
  1195. package/.output/server/node_modules/sql-escaper/package.json +81 -0
  1196. package/.output/server/node_modules/sqlite3/build/Release/node_sqlite3.node +0 -0
  1197. package/.output/server/node_modules/ssh2/lib/protocol/crypto/build/Release/sshcrypto.node +0 -0
  1198. package/.output/server/node_modules/ws/lib/buffer-util.js +131 -0
  1199. package/.output/server/node_modules/ws/lib/constants.js +19 -0
  1200. package/.output/server/node_modules/ws/lib/event-target.js +292 -0
  1201. package/.output/server/node_modules/ws/lib/extension.js +203 -0
  1202. package/.output/server/node_modules/ws/lib/limiter.js +55 -0
  1203. package/.output/server/node_modules/ws/lib/permessage-deflate.js +528 -0
  1204. package/.output/server/node_modules/ws/lib/receiver.js +706 -0
  1205. package/.output/server/node_modules/ws/lib/sender.js +602 -0
  1206. package/.output/server/node_modules/ws/lib/stream.js +161 -0
  1207. package/.output/server/node_modules/ws/lib/subprotocol.js +62 -0
  1208. package/.output/server/node_modules/ws/lib/validation.js +152 -0
  1209. package/.output/server/node_modules/ws/lib/websocket-server.js +554 -0
  1210. package/.output/server/node_modules/ws/lib/websocket.js +1393 -0
  1211. package/.output/server/node_modules/ws/package.json +69 -0
  1212. package/.output/server/node_modules/ws/wrapper.mjs +8 -0
  1213. package/.output/server/package.json +29 -18
  1214. package/package.json +9 -3
  1215. package/.output/public/_nuxt/0-wJGyFY.js +0 -2
  1216. package/.output/public/_nuxt/1ntlIJ3J.js +0 -61
  1217. package/.output/public/_nuxt/3c6UPAJG.js +0 -73
  1218. package/.output/public/_nuxt/ACQvpkWm.js +0 -15
  1219. package/.output/public/_nuxt/B-5Px-78.js +0 -1
  1220. package/.output/public/_nuxt/B2GYb2Zp.js +0 -34
  1221. package/.output/public/_nuxt/B2RqwDKD.js +0 -1
  1222. package/.output/public/_nuxt/B8ibHW1N.js +0 -53
  1223. package/.output/public/_nuxt/B9-NZWuC.js +0 -4
  1224. package/.output/public/_nuxt/BBGY5Dij.js +0 -70
  1225. package/.output/public/_nuxt/BC7xWBZm.js +0 -1
  1226. package/.output/public/_nuxt/BCC0qnRS.js +0 -1
  1227. package/.output/public/_nuxt/BEqwcled.js +0 -65
  1228. package/.output/public/_nuxt/BHBluah9.js +0 -39
  1229. package/.output/public/_nuxt/BKKBkPNN.js +0 -160
  1230. package/.output/public/_nuxt/BKltSiU0.js +0 -1
  1231. package/.output/public/_nuxt/BKokR8_i.js +0 -2
  1232. package/.output/public/_nuxt/BL9A1tZd.js +0 -7
  1233. package/.output/public/_nuxt/BOzTRnyW.js +0 -1
  1234. package/.output/public/_nuxt/BP3TGvlW.js +0 -36
  1235. package/.output/public/_nuxt/BPj7cOdr.js +0 -9
  1236. package/.output/public/_nuxt/BSs9H74b.js +0 -1
  1237. package/.output/public/_nuxt/BTp4hJJX.js +0 -30
  1238. package/.output/public/_nuxt/BUolzwzd.js +0 -1
  1239. package/.output/public/_nuxt/BWSKnXVC.js +0 -1
  1240. package/.output/public/_nuxt/BX8ZW8Wz.js +0 -1
  1241. package/.output/public/_nuxt/BZOx0xl6.js +0 -1
  1242. package/.output/public/_nuxt/B_IzdKBm.js +0 -1
  1243. package/.output/public/_nuxt/BaseCodeEditor.SAr2eD8R.css +0 -1
  1244. package/.output/public/_nuxt/BbHeTL4H.js +0 -1
  1245. package/.output/public/_nuxt/Bdd_MGHp.js +0 -1
  1246. package/.output/public/_nuxt/Bdtn2mn5.js +0 -1
  1247. package/.output/public/_nuxt/Bf6dfiAn.js +0 -1
  1248. package/.output/public/_nuxt/BfStSYv5.js +0 -10
  1249. package/.output/public/_nuxt/BiCaG3fA.js +0 -1
  1250. package/.output/public/_nuxt/BiZhfq--.js +0 -1
  1251. package/.output/public/_nuxt/Bj9pfQd-.js +0 -10
  1252. package/.output/public/_nuxt/BjU0QAaV.js +0 -732
  1253. package/.output/public/_nuxt/Bpvd5Z9l.js +0 -132
  1254. package/.output/public/_nuxt/BvXVax75.js +0 -162
  1255. package/.output/public/_nuxt/BwI9KIOm.js +0 -255
  1256. package/.output/public/_nuxt/C-3-JfbB.js +0 -1
  1257. package/.output/public/_nuxt/C-xlKweX.js +0 -1
  1258. package/.output/public/_nuxt/CEj-unU2.js +0 -1
  1259. package/.output/public/_nuxt/CEza5aSi.js +0 -1
  1260. package/.output/public/_nuxt/CJWptbcK.js +0 -1
  1261. package/.output/public/_nuxt/CKSjfllY.js +0 -1
  1262. package/.output/public/_nuxt/CMpNcsXd.js +0 -12
  1263. package/.output/public/_nuxt/CPabAXsJ.js +0 -24
  1264. package/.output/public/_nuxt/CPipTUnI.js +0 -152
  1265. package/.output/public/_nuxt/CQ45OBWa.js +0 -89
  1266. package/.output/public/_nuxt/CQAA248G.js +0 -1
  1267. package/.output/public/_nuxt/CRM1vXw3.js +0 -2
  1268. package/.output/public/_nuxt/CUIMPQKu.js +0 -70
  1269. package/.output/public/_nuxt/CUvvUJMD.js +0 -1
  1270. package/.output/public/_nuxt/CWE6B2ZO.js +0 -1
  1271. package/.output/public/_nuxt/CY1oztNj.js +0 -1
  1272. package/.output/public/_nuxt/Cb_5VLq-.js +0 -1
  1273. package/.output/public/_nuxt/Cc9Pv3NC.js +0 -67
  1274. package/.output/public/_nuxt/CdeKF_Y5.js +0 -1
  1275. package/.output/public/_nuxt/Ceqb0tnW.js +0 -9
  1276. package/.output/public/_nuxt/Cf4SYIMN.js +0 -15
  1277. package/.output/public/_nuxt/CfJy-WiZ.js +0 -2
  1278. package/.output/public/_nuxt/Ch9DdZ1v.js +0 -1
  1279. package/.output/public/_nuxt/Chnnd034.js +0 -1
  1280. package/.output/public/_nuxt/CmPpU8kK.js +0 -7
  1281. package/.output/public/_nuxt/CoTGLOo-.js +0 -10
  1282. package/.output/public/_nuxt/CqvBmMuN.js +0 -1
  1283. package/.output/public/_nuxt/CtJG7C0n.js +0 -1
  1284. package/.output/public/_nuxt/Cv13FokC.js +0 -24
  1285. package/.output/public/_nuxt/CyIart-B.js +0 -1
  1286. package/.output/public/_nuxt/Czb-ugrz.js +0 -1
  1287. package/.output/public/_nuxt/D0HVzqS-.js +0 -1
  1288. package/.output/public/_nuxt/D5MxrHN6.js +0 -1
  1289. package/.output/public/_nuxt/DBC_DJ4H.js +0 -292
  1290. package/.output/public/_nuxt/DD0_MMyC.js +0 -22
  1291. package/.output/public/_nuxt/DLBa45iT.js +0 -68
  1292. package/.output/public/_nuxt/DNX5WjhQ.js +0 -1
  1293. package/.output/public/_nuxt/DS5KvVtc.js +0 -1
  1294. package/.output/public/_nuxt/DeHEBoXc.js +0 -43
  1295. package/.output/public/_nuxt/DiVOI330.js +0 -1
  1296. package/.output/public/_nuxt/DkFAxPAy.js +0 -162
  1297. package/.output/public/_nuxt/DonU4d08.js +0 -3
  1298. package/.output/public/_nuxt/Dsj6LIQK.js +0 -220
  1299. package/.output/public/_nuxt/DuEMN8L_.js +0 -189
  1300. package/.output/public/_nuxt/Dv-XdIM2.js +0 -68
  1301. package/.output/public/_nuxt/DyxiJtlL.js +0 -72
  1302. package/.output/public/_nuxt/Dzy5OQn7.js +0 -139
  1303. package/.output/public/_nuxt/EJAhTysQ.js +0 -1
  1304. package/.output/public/_nuxt/GoTwJjoS.js +0 -39
  1305. package/.output/public/_nuxt/L22G0LO0.js +0 -2
  1306. package/.output/public/_nuxt/MT_t-3iM.js +0 -145
  1307. package/.output/public/_nuxt/NPxge8Vj.js +0 -1
  1308. package/.output/public/_nuxt/PuW66QXY.js +0 -6
  1309. package/.output/public/_nuxt/RVJfUWby.js +0 -1
  1310. package/.output/public/_nuxt/Vvsm7Zcb.js +0 -1
  1311. package/.output/public/_nuxt/Yhg2AuOM.js +0 -1
  1312. package/.output/public/_nuxt/Yzrsuije.js +0 -1
  1313. package/.output/public/_nuxt/_pURwnjj.js +0 -1
  1314. package/.output/public/_nuxt/ak-AMfNO.js +0 -1
  1315. package/.output/public/_nuxt/bTGk4NZ_.js +0 -1
  1316. package/.output/public/_nuxt/builds/meta/b0b2d3d7-8491-43b2-b747-bf8ac00fec15.json +0 -1
  1317. package/.output/public/_nuxt/default.DC7ec2JI.css +0 -1
  1318. package/.output/public/_nuxt/entry.kqv_Ayaq.css +0 -1
  1319. package/.output/public/_nuxt/kehy-5uo.js +0 -1
  1320. package/.output/public/_nuxt/newKnrX1.js +0 -1
  1321. package/.output/public/_nuxt/oXG7qeES.js +0 -1
  1322. package/.output/public/_nuxt/rOvrJUdX.js +0 -1
  1323. package/.output/public/_nuxt/vnfYlYqV.js +0 -1
  1324. package/.output/public/_nuxt/x9AB1FGL.js +0 -3867
  1325. package/.output/server/node_modules/cross-spawn/index.js +0 -39
  1326. package/.output/server/node_modules/cross-spawn/lib/enoent.js +0 -59
  1327. package/.output/server/node_modules/cross-spawn/lib/parse.js +0 -91
  1328. package/.output/server/node_modules/cross-spawn/lib/util/escape.js +0 -47
  1329. package/.output/server/node_modules/cross-spawn/lib/util/readShebang.js +0 -23
  1330. package/.output/server/node_modules/cross-spawn/lib/util/resolveCommand.js +0 -52
  1331. package/.output/server/node_modules/cross-spawn/package.json +0 -73
  1332. package/.output/server/node_modules/execa/index.js +0 -268
  1333. package/.output/server/node_modules/execa/lib/command.js +0 -52
  1334. package/.output/server/node_modules/execa/lib/error.js +0 -88
  1335. package/.output/server/node_modules/execa/lib/kill.js +0 -115
  1336. package/.output/server/node_modules/execa/lib/promise.js +0 -46
  1337. package/.output/server/node_modules/execa/lib/stdio.js +0 -52
  1338. package/.output/server/node_modules/execa/lib/stream.js +0 -97
  1339. package/.output/server/node_modules/execa/package.json +0 -74
  1340. package/.output/server/node_modules/get-stream/buffer-stream.js +0 -52
  1341. package/.output/server/node_modules/get-stream/index.js +0 -61
  1342. package/.output/server/node_modules/get-stream/package.json +0 -47
  1343. package/.output/server/node_modules/human-signals/build/src/core.js +0 -273
  1344. package/.output/server/node_modules/human-signals/build/src/main.js +0 -71
  1345. package/.output/server/node_modules/human-signals/build/src/realtime.js +0 -19
  1346. package/.output/server/node_modules/human-signals/build/src/signals.js +0 -35
  1347. package/.output/server/node_modules/human-signals/package.json +0 -64
  1348. package/.output/server/node_modules/is-stream/index.js +0 -28
  1349. package/.output/server/node_modules/is-stream/package.json +0 -42
  1350. package/.output/server/node_modules/isexe/index.js +0 -57
  1351. package/.output/server/node_modules/isexe/mode.js +0 -41
  1352. package/.output/server/node_modules/isexe/package.json +0 -31
  1353. package/.output/server/node_modules/isexe/windows.js +0 -42
  1354. package/.output/server/node_modules/merge-stream/index.js +0 -41
  1355. package/.output/server/node_modules/merge-stream/package.json +0 -19
  1356. package/.output/server/node_modules/mimic-fn/index.js +0 -13
  1357. package/.output/server/node_modules/mimic-fn/package.json +0 -42
  1358. package/.output/server/node_modules/npm-run-path/index.js +0 -47
  1359. package/.output/server/node_modules/npm-run-path/package.json +0 -44
  1360. package/.output/server/node_modules/onetime/index.js +0 -44
  1361. package/.output/server/node_modules/onetime/package.json +0 -43
  1362. package/.output/server/node_modules/path-key/index.js +0 -16
  1363. package/.output/server/node_modules/path-key/package.json +0 -39
  1364. package/.output/server/node_modules/pg-dump-restore/lib/common.js +0 -33
  1365. package/.output/server/node_modules/pg-dump-restore/lib/index.js +0 -9
  1366. package/.output/server/node_modules/pg-dump-restore/lib/pg-dump.js +0 -95
  1367. package/.output/server/node_modules/pg-dump-restore/lib/pg-restore.js +0 -87
  1368. package/.output/server/node_modules/pg-dump-restore/package.json +0 -66
  1369. package/.output/server/node_modules/shebang-command/index.js +0 -19
  1370. package/.output/server/node_modules/shebang-command/package.json +0 -34
  1371. package/.output/server/node_modules/shebang-regex/index.js +0 -2
  1372. package/.output/server/node_modules/shebang-regex/package.json +0 -35
  1373. package/.output/server/node_modules/signal-exit/index.js +0 -202
  1374. package/.output/server/node_modules/signal-exit/package.json +0 -38
  1375. package/.output/server/node_modules/signal-exit/signals.js +0 -53
  1376. package/.output/server/node_modules/strip-final-newline/index.js +0 -16
  1377. package/.output/server/node_modules/strip-final-newline/package.json +0 -40
  1378. package/.output/server/node_modules/which/package.json +0 -43
  1379. package/.output/server/node_modules/which/which.js +0 -125
@@ -1 +0,0 @@
1
- import{d as h,J as A,T as N,U as P,V,r as F,W as C,b as _,o as q,w as b,h as R,u,P as B,f as K,X as w,Y as D,Z as U,$ as Y,c as T,K as j,a0 as J,a1 as W,a2 as X,a3 as Z}from"./BjU0QAaV.js";const[z,H]=A("RovingFocusGroup");var L=h({__name:"RovingFocusGroup",props:{orientation:{type:String,required:!1,default:void 0},dir:{type:String,required:!1},loop:{type:Boolean,required:!1,default:!1},currentTabStopId:{type:[String,null],required:!1},defaultCurrentTabStopId:{type:String,required:!1},preventScrollOnEntryFocus:{type:Boolean,required:!1,default:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["entryFocus","update:currentTabStopId"],setup(I,{expose:i,emit:o}){const l=I,d=o,{loop:y,orientation:p,dir:g}=N(l),v=P(g),e=V(l,"currentTabStopId",d,{defaultValue:l.defaultCurrentTabStopId,passive:l.currentTabStopId===void 0}),t=F(!1),a=F(!1),s=F(0),{getItems:S,CollectionSlot:x}=C({isProvider:!0});function E(n){const c=!a.value;if(n.currentTarget&&n.target===n.currentTarget&&c&&!t.value){const f=new CustomEvent(D,U);if(n.currentTarget.dispatchEvent(f),d("entryFocus",f),!f.defaultPrevented){const m=S().map(r=>r.ref).filter(r=>r.dataset.disabled!==""),k=m.find(r=>r.getAttribute("data-active")===""),G=m.find(r=>r.getAttribute("data-highlighted")===""),M=m.find(r=>r.id===e.value),$=[k,G,M,...m].filter(Boolean);w($,l.preventScrollOnEntryFocus)}}a.value=!1}function O(){setTimeout(()=>{a.value=!1},1)}return i({getItems:S}),H({loop:y,dir:v,orientation:p,currentTabStopId:e,onItemFocus:n=>{e.value=n},onItemShiftTab:()=>{t.value=!0},onFocusableItemAdd:()=>{s.value++},onFocusableItemRemove:()=>{s.value--}}),(n,c)=>(q(),_(u(x),null,{default:b(()=>[R(u(B),{tabindex:t.value||s.value===0?-1:0,"data-orientation":u(p),as:n.as,"as-child":n.asChild,dir:u(v),style:{outline:"none"},onMousedown:c[0]||(c[0]=f=>a.value=!0),onMouseup:O,onFocus:E,onBlur:c[1]||(c[1]=f=>t.value=!1)},{default:b(()=>[K(n.$slots,"default")]),_:3},8,["tabindex","data-orientation","as","as-child","dir"])]),_:3}))}}),te=L,Q=h({__name:"RovingFocusItem",props:{tabStopId:{type:String,required:!1},focusable:{type:Boolean,required:!1,default:!0},active:{type:Boolean,required:!1},allowShiftKey:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"span"}},setup(I){const i=I,o=z(),l=Y(),d=T(()=>i.tabStopId||l),y=T(()=>o.currentTabStopId.value===d.value),{getItems:p,CollectionItem:g}=C();j(()=>{i.focusable&&o.onFocusableItemAdd()}),J(()=>{i.focusable&&o.onFocusableItemRemove()});function v(e){if(e.key==="Tab"&&e.shiftKey){o.onItemShiftTab();return}if(e.target!==e.currentTarget)return;const t=W(e,o.orientation.value,o.dir.value);if(t!==void 0){if(e.metaKey||e.ctrlKey||e.altKey||!i.allowShiftKey&&e.shiftKey)return;e.preventDefault();let a=[...p().map(s=>s.ref).filter(s=>s.dataset.disabled!=="")];if(t==="last")a.reverse();else if(t==="prev"||t==="next"){t==="prev"&&a.reverse();const s=a.indexOf(e.currentTarget);a=o.loop.value?X(a,s+1):a.slice(s+1)}Z(()=>w(a))}}return(e,t)=>(q(),_(u(g),null,{default:b(()=>[R(u(B),{tabindex:y.value?0:-1,"data-orientation":u(o).orientation.value,"data-active":e.active?"":void 0,"data-disabled":e.focusable?void 0:"",as:e.as,"as-child":e.asChild,onMousedown:t[0]||(t[0]=a=>{e.focusable?u(o).onItemFocus(d.value):a.preventDefault()}),onFocus:t[1]||(t[1]=a=>u(o).onItemFocus(d.value)),onKeydown:v},{default:b(()=>[K(e.$slots,"default")]),_:3},8,["tabindex","data-orientation","data-active","data-disabled","as","as-child"])]),_:3}))}}),ae=Q;export{ae as R,te as a};
@@ -1 +0,0 @@
1
- import{d as ne,r as k,ae as ie,c as h,m as D,C as e,G as Y,h as b,A as re,w as V,i as M,t as _,u as n,j as ae,n as pe,o as B,cC as Ie,b2 as we,p as ue,M as be,cD as ke,cE as Pe,cF as Oe,cG as Be,g as W,aT as fe,Q as Ce,b as Le,a7 as De,b9 as Me,bb as Ee,l as de,ai as ce,cH as Ne,H as He,aa as ze,E as Fe}from"./BjU0QAaV.js";import{_ as Ve,b as je,c as Ge}from"./BOzTRnyW.js";import{t as P,i as Ue,a as qe,b as Qe,m as Ke,k as We,g as Te,h as Ae,c as Xe,d as ye,e as Ye,f as Je,j as Ze,n as et,l as tt,S as st,o as nt,p as at,_ as $e,q as ot,r as _e,s as it,C as lt,u as rt,v as dt,E as me,w as ct,x as ut,y as pt,z as ft,A as mt,B as gt}from"./B8ibHW1N.js";import{f as vt}from"./BKltSiU0.js";import{f as ht}from"./-lZvfnzr.js";import{_ as ve}from"./x9AB1FGL.js";import{b as se,a as bt}from"./BVmBXPoG.js";import{u as yt}from"./CPipTUnI.js";import"./DNX5WjhQ.js";import"./L22G0LO0.js";import"./Bdtn2mn5.js";var xe={value:"eq","<":"lt","<=":"lte",">":"gt",">=":"gte","=":"eq","!=":"ne","<>":"ne"},_t=function(){function t(s){var l=this._condVal=ye(s)?new RegExp(s):Ye(s)?s:null;if(l==null){var f="";P(f)}}return t.prototype.evaluate=function(s){var l=typeof s;return ye(l)?this._condVal.test(s):Je(l)?this._condVal.test(s+""):!1},t}(),xt=function(){function t(){}return t.prototype.evaluate=function(){return this.value},t}(),St=function(){function t(){}return t.prototype.evaluate=function(){for(var s=this.children,l=0;l<s.length;l++)if(!s[l].evaluate())return!1;return!0},t}(),It=function(){function t(){}return t.prototype.evaluate=function(){for(var s=this.children,l=0;l<s.length;l++)if(s[l].evaluate())return!0;return!1},t}(),Ct=function(){function t(){}return t.prototype.evaluate=function(){return!this.child.evaluate()},t}(),Lt=function(){function t(){}return t.prototype.evaluate=function(){for(var s=!!this.valueParser,l=this.getValue,f=l(this.valueGetterParam),r=s?this.valueParser(f):null,v=0;v<this.subCondList.length;v++)if(!this.subCondList[v].evaluate(s?r:f))return!1;return!0},t}();function he(t,s){if(t===!0||t===!1){var l=new xt;return l.value=t,l}var f="";return Re(t)||P(f),t.and?Se("and",t,s):t.or?Se("or",t,s):t.not?Tt(t,s):At(t,s)}function Se(t,s,l){var f=s[t],r="";Qe(f)||P(r),f.length||P(r);var v=t==="and"?new St:new It;return v.children=Ke(f,function(x){return he(x,l)}),v.children.length||P(r),v}function Tt(t,s){var l=t.not,f="";Re(l)||P(f);var r=new Ct;return r.child=he(l,s),r.child||P(f),r}function At(t,s){for(var l="",f=s.prepareGetValue(t),r=[],v=We(t),x=t.parser,C=x?Te(x):null,c=0;c<v.length;c++){var m=v[c];if(!(m==="parser"||s.valueGetterAttrMap.get(m))){var S=Ae(xe,m)?xe[m]:m,$=t[m],L=C?C($):$,I=Xe(S,L)||S==="reg"&&new _t(L);I||P(l),r.push(I)}}r.length||P(l);var u=new Lt;return u.valueGetterParam=f,u.valueParser=C,u.getValue=s.getValue,u.subCondList=r,u}function Re(t){return Ue(t)&&!qe(t)}var $t=function(){function t(s,l){this._cond=he(s,l)}return t.prototype.evaluate=function(){return this._cond.evaluate()},t}();function Rt(t,s){return new $t(t,s)}var wt={type:"echarts:filter",transform:function(t){for(var s=t.upstream,l,f=Rt(t.config,{valueGetterAttrMap:Ze({dimension:!0}),prepareGetValue:function(C){var c="",m=C.dimension;Ae(C,"dimension")||P(c);var S=s.getDimensionInfo(m);return S||P(c),{dimIdx:S.index}},getValue:function(C){return s.retrieveValueFromItem(l,C.dimIdx)}}),r=[],v=0,x=s.count();v<x;v++)l=s.getRawDataItem(v),f.evaluate()&&r.push(l);return{data:r}}},kt={type:"echarts:sort",transform:function(t){var s=t.upstream,l=t.config,f="",r=et(l);r.length||P(f);var v=[];tt(r,function(S){var $=S.dimension,L=S.order,I=S.parser,u=S.incomparable;if($==null&&P(f),L!=="asc"&&L!=="desc"&&P(f),u&&u!=="min"&&u!=="max"){var i="";P(i)}if(L!=="asc"&&L!=="desc"){var o="";P(o)}var T=s.getDimensionInfo($);T||P(f);var R=I?Te(I):null;I&&!R&&P(f),v.push({dimIdx:T.index,parser:R,comparator:new st(L,u)})});var x=s.sourceFormat;x!==nt&&x!==at&&P(f);for(var C=[],c=0,m=s.count();c<m;c++)C.push(s.getRawDataItem(c));return C.sort(function(S,$){for(var L=0;L<v.length;L++){var I=v[L],u=s.retrieveValueFromItem(S,I.dimIdx),i=s.retrieveValueFromItem($,I.dimIdx);I.parser&&(u=I.parser(u),i=I.parser(i));var o=I.comparator.evaluate(u,i);if(o!==0)return o}return 0}),{data:C}}};function Pt(t){t.registerTransform(wt),t.registerTransform(kt)}var Ot=function(t){$e(s,t);function s(){var l=t!==null&&t.apply(this,arguments)||this;return l.type="dataset",l}return s.prototype.init=function(l,f,r){t.prototype.init.call(this,l,f,r),this._sourceManager=new ot(this),_e(this)},s.prototype.mergeOption=function(l,f){t.prototype.mergeOption.call(this,l,f),_e(this)},s.prototype.optionUpdated=function(){this._sourceManager.dirty()},s.prototype.getSourceManager=function(){return this._sourceManager},s.type="dataset",s.defaultOption={seriesLayoutBy:it},s}(lt),Bt=function(t){$e(s,t);function s(){var l=t!==null&&t.apply(this,arguments)||this;return l.type="dataset",l}return s.type="dataset",s}(rt);function Dt(t){t.registerComponentModel(Ot),t.registerComponentView(Bt)}const X=t=>ht(t??0),U=t=>t==null?"0.00/s":`${t.toFixed(2)}/s`,ge=t=>t==null?"0%":`${t.toFixed(2)}%`,le=t=>{if(!t)return"-";const s=new Date(t);return Number.isNaN(s.getTime())?t:s.toLocaleString()},Mt=t=>{if(t==null)return"-";if(t<60)return`${t}s`;const s=Math.floor(t/60),l=t%60;if(s<60)return`${s}m ${l}s`;const f=Math.floor(s/60),r=s%60;return`${f}h ${r}m`},Et=t=>t==null||t<=0?"0 B":vt(t).replace(" bytes"," B"),Nt=t=>{if(!t)return"-";const s=t.replace(/\s+/g," ").trim();return s?s.length>320?`${s.slice(0,320)}...`:s:"-"},Ht=t=>(t||"").toLowerCase().includes("idle in transaction"),zt={class:"space-y-4"},Ft={class:"flex items-center justify-between"},Vt={key:0,class:"border border-red-300 bg-red-50 text-red-700 rounded-lg p-3 text-sm"},jt={class:"grid grid-cols-1 md:grid-cols-2 xl:grid-cols-4 gap-2.5"},Gt={class:"h-full border rounded-lg p-2.5 space-y-2"},Ut={class:"flex items-center gap-1"},qt={class:"text-sm font-semibold leading-none tabular-nums"},Qt={class:"grid grid-cols-2 gap-x-3 gap-y-1 text-[11px]"},Kt={class:"text-muted-foreground"},Wt={class:"tabular-nums text-foreground"},Xt={class:"text-muted-foreground"},Yt={class:"tabular-nums text-foreground"},Jt={class:"text-muted-foreground"},Zt={class:"tabular-nums text-foreground"},es={class:"text-muted-foreground"},ts={class:"tabular-nums text-foreground"},ss={class:"h-full border rounded-lg p-2.5 space-y-2"},ns={class:"flex items-center gap-1"},as={class:"text-sm font-semibold leading-none tabular-nums"},os={class:"grid grid-cols-2 gap-x-3 gap-y-1 text-[11px]"},is={class:"text-muted-foreground"},ls={class:"tabular-nums text-foreground"},rs={class:"text-muted-foreground"},ds={class:"tabular-nums text-foreground"},cs={class:"text-muted-foreground"},us={class:"tabular-nums text-foreground"},ps={class:"text-muted-foreground"},fs={class:"tabular-nums text-foreground"},ms={class:"h-full border rounded-lg p-2.5 space-y-2"},gs={class:"flex items-center gap-1"},vs={class:"text-sm font-semibold leading-none tabular-nums"},hs={class:"grid grid-cols-2 gap-x-3 gap-y-1 text-[11px]"},bs={class:"text-muted-foreground"},ys={class:"tabular-nums text-foreground"},_s={class:"text-muted-foreground"},xs={class:"tabular-nums text-foreground"},Ss={class:"text-muted-foreground"},Is={class:"tabular-nums text-foreground"},Cs={class:"text-muted-foreground"},Ls={class:"tabular-nums text-foreground"},Ts={class:"h-full border rounded-lg p-2.5 space-y-2"},As={class:"flex items-center gap-1"},$s={class:"text-sm font-semibold leading-none tabular-nums"},Rs={class:"grid grid-cols-2 gap-x-3 gap-y-1 text-[11px]"},ws={class:"text-muted-foreground"},ks={class:"tabular-nums text-foreground"},Ps={class:"text-muted-foreground"},Os={class:"tabular-nums text-foreground"},Bs={class:"text-muted-foreground"},Ds={class:"tabular-nums text-foreground"},Ms={class:"text-muted-foreground"},Es={class:"tabular-nums text-foreground"},Ns={class:"grid grid-cols-1 xl:grid-cols-2 gap-3"},Hs={class:"border rounded-lg p-2.5"},zs={class:"insights-chart-container"},Fs={class:"border rounded-lg p-2.5"},Vs={class:"insights-chart-container"},js={class:"border rounded-lg p-2.5"},Gs={class:"insights-chart-container"},Us=ne({__name:"InstanceInsightsActivitySection",props:{dashboard:{},isLoading:{type:Boolean},isActionLoading:{type:Boolean},onRefresh:{type:Function}},setup(t){dt([ct,ut,pt,Dt,Pt,ft,mt,gt]);const s=t,l=k({}),f=k({}),r=k({}),v=(i,o)=>{o!=null&&o.selected&&(i.value={...o.selected})},x=i=>v(l,i),C=i=>v(f,i),c=i=>v(r,i),m=k([]);ie(()=>s.dashboard,i=>{if(!(i!=null&&i.capturedAt))return;const o=new Date(i.capturedAt).toLocaleTimeString(),T={capturedAt:i.capturedAt,label:o,sessionsTotal:i.sessions.total,sessionsActive:i.sessions.active,sessionsIdle:i.sessions.idle,tps:i.transactions.tps,commits:i.transactions.commitsPerSec,rollbacks:i.transactions.rollbacksPerSec,reads:i.blockIO.readsPerSec,hits:i.blockIO.hitsPerSec,hitRatio:i.blockIO.bufferHitRatio},R=m.value.findIndex(z=>z.capturedAt===T.capturedAt);if(R>=0){m.value[R]=T;return}m.value.push(T),m.value.length>80&&(m.value=m.value.slice(-80))},{immediate:!0,deep:!0});const S=h(()=>m.value.map((i,o)=>({...i,idx:o}))),$=i=>Object.keys(i).length?i:void 0,L=h(()=>({tooltip:{trigger:"axis"},legend:{top:0,selected:$(l.value)},dataset:[{id:"sessions_raw",source:S.value},{id:"sessions_filtered",fromDatasetId:"sessions_raw",transform:{type:"filter",config:{dimension:"idx",gte:0}}}],grid:{left:45,right:20,top:34,bottom:24},xAxis:{type:"category",boundaryGap:!1},yAxis:{type:"value"},series:[{name:"Total",type:"line",smooth:!0,datasetId:"sessions_filtered",encode:{x:"label",y:"sessionsTotal"}},{name:"Active",type:"line",smooth:!0,datasetId:"sessions_filtered",encode:{x:"label",y:"sessionsActive"}},{name:"Idle",type:"line",smooth:!0,datasetId:"sessions_filtered",encode:{x:"label",y:"sessionsIdle"}}]})),I=h(()=>({tooltip:{trigger:"axis"},legend:{top:0,selected:$(f.value)},dataset:[{id:"transactions_dataset",source:S.value}],grid:{left:45,right:20,top:34,bottom:24},xAxis:{type:"category",boundaryGap:!0},yAxis:[{type:"value",name:"TPS"},{type:"value",name:"Commit/Rollback"}],series:[{name:"TPS",type:"line",smooth:!0,yAxisIndex:0,datasetId:"transactions_dataset",encode:{x:"label",y:"tps"}},{name:"Commits/s",type:"bar",yAxisIndex:1,datasetId:"transactions_dataset",encode:{x:"label",y:"commits"}},{name:"Rollbacks/s",type:"bar",yAxisIndex:1,datasetId:"transactions_dataset",encode:{x:"label",y:"rollbacks"}}]})),u=h(()=>({tooltip:{trigger:"axis"},legend:{top:0,selected:$(r.value)},dataset:[{id:"block_io_dataset",source:S.value}],grid:{left:45,right:20,top:34,bottom:24},xAxis:{type:"category",boundaryGap:!0},yAxis:[{type:"value",name:"Blocks/s"},{type:"value",name:"Hit %",min:0,max:100}],series:[{name:"Reads/s",type:"bar",yAxisIndex:0,datasetId:"block_io_dataset",encode:{x:"label",y:"reads"}},{name:"Hits/s",type:"bar",yAxisIndex:0,datasetId:"block_io_dataset",encode:{x:"label",y:"hits"}},{name:"Buffer Hit Ratio",type:"line",smooth:!0,yAxisIndex:1,datasetId:"block_io_dataset",encode:{x:"label",y:"hitRatio"}}]}));return(i,o)=>{var z,d,a,g,w,O,H,q,Q,J,Z,E,A,j,K,ee,te,p,y,F,N;const T=ae,R=re;return B(),D("div",zt,[e("div",Ft,[o[2]||(o[2]=e("div",null,[e("h3",{class:"text-sm font-medium"},"Activity Dashboard"),e("p",{class:"text-xs text-muted-foreground"}," Sessions, TPS, tuples and block I/O ")],-1)),b(R,{variant:"outline",size:"xs",disabled:i.isLoading||i.isActionLoading,class:"font-normal",onClick:o[0]||(o[0]=oe=>i.onRefresh())},{default:V(()=>[b(T,{name:"hugeicons:redo",class:pe(["size-4",i.isLoading&&"animate-spin"])},null,8,["class"]),o[1]||(o[1]=M(" Refresh Activity "))]),_:1},8,["disabled"])]),(z=i.dashboard)!=null&&z.sessions.exceedsThreshold?(B(),D("div",Vt,[o[3]||(o[3]=M(" Total connections are at ")),e("strong",null,_(n(ge)(i.dashboard.sessions.usagePercent)),1),o[4]||(o[4]=M(" of ")),o[5]||(o[5]=e("strong",null,"max_connections",-1)),o[6]||(o[6]=M(". Investigate connection pool usage. "))])):Y("",!0),e("div",jt,[e("div",Gt,[e("div",Ut,[o[7]||(o[7]=e("p",{class:"text-xs uppercase text-muted-foreground"},"Sessions:",-1)),e("p",qt,_(n(X)((d=i.dashboard)==null?void 0:d.sessions.total)),1)]),e("div",Qt,[e("p",Kt,[o[8]||(o[8]=e("span",null,"Active: ",-1)),e("span",Wt,_(n(X)((a=i.dashboard)==null?void 0:a.sessions.active)),1)]),e("p",Xt,[o[9]||(o[9]=e("span",null,"Idle: ",-1)),e("span",Yt,_(n(X)((g=i.dashboard)==null?void 0:g.sessions.idle)),1)]),e("p",Jt,[o[10]||(o[10]=e("span",null,"Max: ",-1)),e("span",Zt,_(n(X)((w=i.dashboard)==null?void 0:w.sessions.maxConnections)),1)]),e("p",es,[o[11]||(o[11]=e("span",null,"Usage: ",-1)),e("span",ts,_(n(ge)((O=i.dashboard)==null?void 0:O.sessions.usagePercent)),1)])])]),e("div",ss,[e("div",ns,[o[12]||(o[12]=e("p",{class:"text-xs uppercase text-muted-foreground"},"TPS:",-1)),e("p",as,_(n(U)((H=i.dashboard)==null?void 0:H.transactions.tps)),1)]),e("div",os,[e("p",is,[o[13]||(o[13]=e("span",null,"Commits/sec: ",-1)),e("span",ls,_(n(U)((q=i.dashboard)==null?void 0:q.transactions.commitsPerSec)),1)]),e("p",rs,[o[14]||(o[14]=e("span",null,"Rollbacks/sec: ",-1)),e("span",ds,_(n(U)((Q=i.dashboard)==null?void 0:Q.transactions.rollbacksPerSec)),1)]),e("p",cs,[o[15]||(o[15]=e("span",null,"Total Commits: ",-1)),e("span",us,_(n(X)((J=i.dashboard)==null?void 0:J.transactions.totalCommits)),1)]),e("p",ps,[o[16]||(o[16]=e("span",null,"Total Rollbacks: ",-1)),e("span",fs,_(n(X)((Z=i.dashboard)==null?void 0:Z.transactions.totalRollbacks)),1)])])]),e("div",ms,[e("div",gs,[o[17]||(o[17]=e("p",{class:"text-xs uppercase text-muted-foreground"},"Tuples:",-1)),e("p",vs,_(n(U)((E=i.dashboard)==null?void 0:E.tuples.insertsPerSec)),1)]),e("div",hs,[e("p",bs,[o[18]||(o[18]=e("span",null,"Updates: ",-1)),e("span",ys,_(n(U)((A=i.dashboard)==null?void 0:A.tuples.updatesPerSec)),1)]),e("p",_s,[o[19]||(o[19]=e("span",null,"Deletes: ",-1)),e("span",xs,_(n(U)((j=i.dashboard)==null?void 0:j.tuples.deletesPerSec)),1)]),e("p",Ss,[o[20]||(o[20]=e("span",null,"Fetched: ",-1)),e("span",Is,_(n(U)((K=i.dashboard)==null?void 0:K.tuples.fetchedPerSec)),1)]),e("p",Cs,[o[21]||(o[21]=e("span",null,"Returned: ",-1)),e("span",Ls,_(n(U)((ee=i.dashboard)==null?void 0:ee.tuples.returnedPerSec)),1)])])]),e("div",Ts,[e("div",As,[o[22]||(o[22]=e("p",{class:"text-xs uppercase text-muted-foreground"},"Block I/O:",-1)),e("p",$s,_(n(ge)((te=i.dashboard)==null?void 0:te.blockIO.bufferHitRatio)),1)]),e("div",Rs,[e("p",ws,[o[23]||(o[23]=e("span",null,"Reads/sec: ",-1)),e("span",ks,_(n(U)((p=i.dashboard)==null?void 0:p.blockIO.readsPerSec)),1)]),e("p",Ps,[o[24]||(o[24]=e("span",null,"Hits/sec: ",-1)),e("span",Os,_(n(U)((y=i.dashboard)==null?void 0:y.blockIO.hitsPerSec)),1)]),e("p",Bs,[o[25]||(o[25]=e("span",null,"Total Reads: ",-1)),e("span",Ds,_(n(X)((F=i.dashboard)==null?void 0:F.blockIO.totalReads)),1)]),e("p",Ms,[o[26]||(o[26]=e("span",null,"Total Hits: ",-1)),e("span",Es,_(n(X)((N=i.dashboard)==null?void 0:N.blockIO.totalHits)),1)])])])]),e("div",Ns,[e("div",Hs,[o[27]||(o[27]=e("p",{class:"text-sm font-medium mb-1.5"},"Sessions Timeline",-1)),e("div",zs,[b(n(me),{option:n(L),autoresize:"",class:"insights-chart",onLegendselectchanged:x},null,8,["option"])])]),e("div",Fs,[o[28]||(o[28]=e("p",{class:"text-sm font-medium mb-1.5"},"Transactions Timeline",-1)),e("div",Vs,[b(n(me),{option:n(I),autoresize:"",class:"insights-chart",onLegendselectchanged:C},null,8,["option"])])])]),e("div",js,[o[29]||(o[29]=e("p",{class:"text-sm font-medium mb-1.5"},"Block I/O Timeline",-1)),e("div",Gs,[b(n(me),{option:n(u),autoresize:"",class:"insights-chart",onLegendselectchanged:c},null,8,["option"])])])])}}}),qs=Ie(Us,[["__scopeId","data-v-ba36a884"]]),Qs={class:"space-y-4 h-full flex flex-col overflow-auto"},Ks={class:"flex items-center justify-between gap-2 flex-wrap"},Ws={class:"h-full"},Xs={class:"flex flex-col sm:flex-row sm:items-center gap-2 mb-2"},Ys={class:"relative flex-1"},Js=ne({__name:"InstanceInsightsConfigurationSection",props:{configuration:{},search:{},isLoading:{type:Boolean},isActionLoading:{type:Boolean},onRefresh:{type:Function}},emits:["update:search"],setup(t,{emit:s}){const l=t,f=s,r=h({get:()=>l.search,set:c=>f("update:search",c)}),v=h(()=>{var c;return((c=l.configuration)==null?void 0:c.rows)||[]}),x=h(()=>v.value.map(c=>({name:c.name,category:c.category,value:c.value,unit:c.unit||"-",requires_restart:c.pendingRestart?"yes":"no",description:c.description}))),C=h(()=>se(x.value));return(c,m)=>{const S=ae,$=re,L=we,I=ve;return B(),D("div",Qs,[e("div",Ks,[m[3]||(m[3]=e("div",null,[e("h3",{class:"text-sm font-medium"},"Configuration"),e("p",{class:"text-xs text-muted-foreground"},"Searchable pg_settings")],-1)),b($,{variant:"outline",size:"xs",disabled:c.isLoading||c.isActionLoading,class:"font-normal",onClick:m[0]||(m[0]=u=>c.onRefresh())},{default:V(()=>[b(S,{name:"hugeicons:redo",class:pe(["size-4",c.isLoading&&"animate-spin"])},null,8,["class"]),m[2]||(m[2]=M(" Refresh Configuration "))]),_:1},8,["disabled"])]),e("div",Ws,[e("div",Xs,[e("div",Ys,[b(S,{name:"hugeicons:search-01",class:"size-4 absolute left-2.5 top-1/2 -translate-y-1/2 text-muted-foreground"}),b(L,{type:"text",placeholder:"Search setting name, category, or description...",class:"h-8 w-full pl-8 pr-3",modelValue:n(r),"onUpdate:modelValue":m[1]||(m[1]=u=>ue(r)?r.value=u:null)},null,8,["modelValue"])])]),b(I,{columns:n(C),data:n(x),class:"h-full border rounded-md",columnKeyBy:"field"},null,8,["columns","data"])])])}}}),Zs={class:"space-y-4"},en={class:"flex items-center justify-between"},tn={key:0,class:"border border-orange-300 bg-orange-50 text-orange-700 rounded-lg p-3 text-sm"},sn={class:"space-y-1.5"},nn={class:"space-y-1.5"},an={key:1,class:"border rounded-lg p-2.5"},on={class:"flex items-center justify-between gap-3 flex-wrap"},ln={class:"text-sm font-medium"},rn={class:"flex items-center gap-2"},dn=300,cn=120,un=44,pn=36,fn=ne({__name:"InstanceInsightsReplicationSection",props:{replication:{},isLoading:{type:Boolean},isActionLoading:{type:Boolean},onRefresh:{type:Function},onToggleSlotStatus:{type:Function},onDropSlot:{type:Function}},setup(t){const s=t,l=h(()=>{var d;return((d=s.replication)==null?void 0:d.replicationStats)||[]}),f=h(()=>{var d;return((d=s.replication)==null?void 0:d.replicationSlots)||[]}),r=k([]),v=d=>{r.value=d},x=h(()=>l.value.map(d=>({pid:d.pid,client_addr:d.clientAddr||"-",application:d.applicationName||"-",state:d.state||"-",sync_state:d.syncState||"-",reply_time:le(d.replyTime),write_lag:d.writeLag||"-",flush_lag:d.flushLag||"-",replay_lag:d.replayLag||"-"}))),C=["pid","client_addr","application","state","sync_state","reply_time","write_lag","flush_lag","replay_lag"],c=h(()=>x.value.length>0?se(x.value):bt(C)),m=h(()=>f.value.map(d=>({slot_name:d.slotName,slot_type:d.slotType,status:d.active?"on":"off",active_pid:d.activePid??"-",restart_lsn:d.restartLsn||"-",retained_wal:Et(d.retainedBytes),temporary:d.temporary?"yes":"no"}))),S=h(()=>se(m.value)),$=d=>d<=0?cn:Math.min(dn,un+d*pn),L=h(()=>`${$(x.value.length)}px`),I=h(()=>`${$(m.value.length)}px`),u=h(()=>{var a;const d=String(((a=r.value[0])==null?void 0:a.slot_name)||"");return d&&f.value.find(g=>g.slotName===d)||null}),i=h(()=>{var d;return(d=u.value)!=null&&d.active?"off":"on"}),o=h(()=>i.value==="off"?"Turn Off Slot":"Turn On Slot"),T=d=>window.confirm(d),R=async()=>{u.value&&T(`Drop replication slot "${u.value.slotName}"? This action cannot be undone.`)&&await s.onDropSlot(u.value.slotName)},z=async()=>{u.value&&T(`Switch replication slot "${u.value.slotName}" to ${i.value.toUpperCase()} status?`)&&await s.onToggleSlotStatus({slotName:u.value.slotName,desiredStatus:i.value,activePid:u.value.activePid,slotType:u.value.slotType})};return(d,a)=>{var H;const g=ae,w=re,O=ve;return B(),D("div",Zs,[e("div",en,[a[2]||(a[2]=e("div",null,[e("h3",{class:"text-sm font-medium"},"Replication"),e("p",{class:"text-xs text-muted-foreground"},"Replication stats and slots")],-1)),b(w,{variant:"outline",size:"xs",disabled:d.isLoading||d.isActionLoading,class:"font-normal",onClick:a[0]||(a[0]=q=>d.onRefresh())},{default:V(()=>[b(g,{name:"hugeicons:redo",class:pe(["size-4",d.isLoading&&"animate-spin"])},null,8,["class"]),a[1]||(a[1]=M(" Refresh Replication "))]),_:1},8,["disabled"])]),(H=d.replication)!=null&&H.staleSlotWarning?(B(),D("div",tn,_(d.replication.staleSlotWarning),1)):Y("",!0),e("div",sn,[a[3]||(a[3]=e("p",{class:"text-sm"},"Replication Stats",-1)),e("div",{class:"max-h-[300px]",style:be({height:n(L)})},[b(O,{columns:n(c),data:n(x),class:"h-full border rounded-md",columnKeyBy:"field"},null,8,["columns","data"])],4)]),e("div",nn,[a[4]||(a[4]=e("h4",{class:"text-sm font-normal"},"Replication Slots",-1)),e("div",{class:"max-h-[300px]",style:be({height:n(I)})},[b(O,{columns:n(S),data:n(m),selectedRows:n(r),class:"h-full border rounded-md",columnKeyBy:"field",onOnSelectedRows:v},null,8,["columns","data","selectedRows"])],4)]),n(u)?(B(),D("div",an,[e("div",on,[e("p",ln," Selected Slot: "+_(n(u).slotName)+" ("+_(n(u).active?"on":"off")+") · Active PID: "+_(n(u).activePid??"-"),1),e("div",rn,[b(w,{variant:"outline",size:"sm",disabled:d.isActionLoading,onClick:z},{default:V(()=>[M(_(n(o)),1)]),_:1},8,["disabled"]),b(w,{variant:"outline",size:"sm",disabled:d.isActionLoading,onClick:R},{default:V(()=>a[5]||(a[5]=[M(" Drop Slot ")])),_:1},8,["disabled"])])])])):Y("",!0)])}}}),mn={class:"space-y-4"},gn={class:"flex items-center justify-between"},vn={class:"space-y-1.5"},hn={class:"h-[360px]"},bn={key:0,class:"border rounded-lg p-2.5 space-y-2"},yn={class:"flex items-center justify-between gap-3 flex-wrap"},_n={class:"text-sm font-medium"},xn={class:"flex gap-2"},Sn=["innerHTML"],In={class:"grid grid-cols-1 xl:grid-cols-2 gap-3"},Cn={class:"space-y-1.5"},Ln={class:"h-[300px]"},Tn={class:"space-y-1.5"},An={class:"h-[300px]"},$n=ne({__name:"InstanceInsightsStateSection",props:{state:{},isLoading:{type:Boolean},isActionLoading:{type:Boolean},onRefresh:{type:Function},onCancelQuery:{type:Function},onTerminateConnection:{type:Function}},setup(t){const s=t,{highlightSql:l}=yt(),f=h(()=>{var a;return((a=s.state)==null?void 0:a.sessions)||[]}),r=h(()=>{var a;return((a=s.state)==null?void 0:a.locks)||[]}),v=h(()=>{var a;return((a=s.state)==null?void 0:a.preparedTransactions)||[]}),x=k([]),C=a=>{x.value=a},c=h(()=>f.value.map(a=>({pid:a.pid,user:a.user,application:a.application||"-",client:a.client||"-",state:a.state||"-",wait_event:a.waitEvent||"-",blocking_pids:a.blockingPids.length?a.blockingPids.join(", "):"-",backend_start:le(a.backendStart),transaction_start:le(a.transactionStart),query_duration:Mt(a.durationSeconds),sql:Nt(a.sql)}))),m=h(()=>se(c.value)),S=h(()=>r.value.map(a=>({lock_type:a.lockType,target_relation:a.targetRelation||"-",mode:a.mode,granted:a.granted?"yes":"no",pid:a.pid??"-",user:a.user||"-",state:a.state||"-"}))),$=h(()=>se(S.value)),L=h(()=>v.value.map(a=>({gid:a.gid,transaction:a.transaction,prepared:le(a.prepared),owner:a.owner,database:a.database}))),I=h(()=>se(L.value)),u=h(()=>{var g;const a=Number(((g=x.value[0])==null?void 0:g.pid)||0);return a&&f.value.find(w=>w.pid===a)||null}),i=a=>{if(!a||!a.trim())return"<pre><code>-</code></pre>";const g=a.replace(/\s+/g," ").trim(),w=g.length>900?`${g.slice(0,900)} ...`:g;return l(w)},o=h(()=>{var a;return i(((a=u.value)==null?void 0:a.sql)||null)}),T=(a,g)=>{const w=String(g.state||"");return Ht(w)?"insights-danger-cell":void 0},R=a=>window.confirm(a),z=async()=>{u.value&&R(`Cancel query for PID ${u.value.pid}?`)&&await s.onCancelQuery(u.value.pid)},d=async()=>{u.value&&R(`Terminate connection for PID ${u.value.pid}?`)&&await s.onTerminateConnection(u.value.pid)};return(a,g)=>{const w=ae,O=re,H=ve;return B(),D("div",mn,[e("div",gn,[g[2]||(g[2]=e("div",null,[e("h3",{class:"text-sm font-medium"},"State"),e("p",{class:"text-xs text-muted-foreground"}," Active sessions, locks, prepared transactions ")],-1)),b(O,{variant:"outline",size:"xs",disabled:a.isLoading||a.isActionLoading,class:"font-normal",onClick:g[0]||(g[0]=q=>a.onRefresh())},{default:V(()=>[b(w,{name:"hugeicons:redo",class:pe(["size-4",a.isLoading&&"animate-spin"])},null,8,["class"]),g[1]||(g[1]=M(" Refresh State "))]),_:1},8,["disabled"])]),e("div",vn,[g[3]||(g[3]=e("h4",{class:"text-sm font-normal"},"Active Sessions",-1)),e("div",hn,[b(H,{columns:n(m),data:n(c),selectedRows:n(x),getCellClass:T,class:"h-full border rounded-md",columnKeyBy:"field",onOnSelectedRows:C},null,8,["columns","data","selectedRows"])])]),n(u)?(B(),D("div",bn,[e("div",yn,[e("p",_n," Selected PID: "+_(n(u).pid)+" ("+_(n(u).state||"-")+") ",1),e("div",xn,[b(O,{variant:"outline",size:"sm",disabled:a.isActionLoading,onClick:z},{default:V(()=>g[4]||(g[4]=[M(" Cancel Query ")])),_:1},8,["disabled"]),b(O,{variant:"outline",size:"sm",disabled:a.isActionLoading,onClick:d},{default:V(()=>g[5]||(g[5]=[M(" Terminate Connection ")])),_:1},8,["disabled"])])]),e("div",null,[g[6]||(g[6]=e("p",{class:"text-xs text-muted-foreground mb-1"},"SQL Preview",-1)),e("div",{class:"sql-preview border rounded-md overflow-hidden",innerHTML:n(o)},null,8,Sn)])])):Y("",!0),e("div",In,[e("div",Cn,[g[7]||(g[7]=e("h4",{class:"text-sm font-normal"},"Locks",-1)),e("div",Ln,[b(H,{columns:n($),data:n(S),class:"h-full border rounded-md",columnKeyBy:"field"},null,8,["columns","data"])])]),e("div",Tn,[g[8]||(g[8]=e("h4",{class:"text-sm font-normal"},"Prepared Transactions",-1)),e("div",An,[b(H,{columns:n(I),data:n(L),class:"h-full border rounded-md",columnKeyBy:"field"},null,8,["columns","data"])])])])])}}}),Rn=Ie($n,[["__scopeId","data-v-2eab93d6"]]),wn=5e3;function kn(t){const s=k("activity"),l=k(!0),f=k(wn),r=k(null),v=k(!1),x=k(!1),C=k(!1),c=k(!1),m=k(!1),S=k(!1),$=k(null),L=k(null),I=k(null),u=k(null),i=k(""),o=ke(i,350),T=h(()=>!!t.value),R=k(!0);Pe(()=>{R.value=!1}),Oe(()=>{R.value=!0});const z=()=>{r.value=null,$.value=null,L.value=null,I.value=null,u.value=null},d=async(p,y)=>{var F;try{return r.value=null,await p()}catch(N){const oe=((F=N==null?void 0:N.data)==null?void 0:F.message)||(N==null?void 0:N.message)||(N==null?void 0:N.statusMessage)||y;return r.value=oe,null}},a=async(p={})=>{if(!T.value)return null;p.silent||(C.value=!0);const y=await d(async()=>await $fetch("/api/instance-insights/dashboard",{method:"POST",body:{...W(t.value)}}),"Failed to fetch activity dashboard");return y&&($.value=y),p.silent||(C.value=!1),y},g=async(p={})=>{if(!T.value)return null;p.silent||(c.value=!0);const y=await d(async()=>await $fetch("/api/instance-insights/state",{method:"POST",body:{...W(t.value)}}),"Failed to fetch active sessions and locks");return y&&(L.value=y),p.silent||(c.value=!1),y},w=async(p={})=>{if(!T.value)return null;p.silent||(m.value=!0);const y=await d(async()=>await $fetch("/api/instance-insights/configuration",{method:"POST",body:{...W(t.value),search:o.value||void 0}}),"Failed to fetch PostgreSQL settings");return y&&(I.value=y),p.silent||(m.value=!1),y},O=async(p={})=>{if(!T.value)return null;p.silent||(S.value=!0);const y=await d(async()=>await $fetch("/api/instance-insights/replication",{method:"POST",body:{...W(t.value)}}),"Failed to fetch replication status");return y&&(u.value=y),p.silent||(S.value=!1),y},H=async(p=s.value,y={})=>{switch(p){case"activity":await a(y);break;case"state":await Promise.all([a({silent:!0}),g(y)]);break;case"configuration":await Promise.all([a({silent:!0}),w(y)]);break;case"replication":await Promise.all([a({silent:!0}),O(y)]);break;default:await a(y);break}},q=async(p={})=>{await Promise.all([a(p),g(p),w(p),O(p)])},Q=async(p,y)=>{if(!T.value)return!1;x.value=!0;const F=await d(p,"Action failed");return x.value=!1,F?(F.success?fe(y,{description:F.message}):fe(F.message,{description:"The server did not complete this action."}),F.success):(fe(r.value||"Action failed",{description:"Check database permissions and try again."}),!1)},J=async p=>{await Q(async()=>await $fetch("/api/instance-insights/cancel-query",{method:"POST",body:{...W(t.value),pid:p}}),`Cancelled query for PID ${p}`)&&await g({silent:!0})},Z=async p=>{await Q(async()=>await $fetch("/api/instance-insights/terminate-connection",{method:"POST",body:{...W(t.value),pid:p}}),`Terminated connection for PID ${p}`)&&(await g({silent:!0}),await a({silent:!0}))},E=async p=>{await Q(async()=>await $fetch("/api/instance-insights/drop-slot",{method:"POST",body:{...W(t.value),slotName:p}}),`Dropped replication slot "${p}"`)&&await O({silent:!0})},A=async p=>{await Q(async()=>await $fetch("/api/instance-insights/toggle-slot-status",{method:"POST",body:{...W(t.value),slotName:p.slotName,desiredStatus:p.desiredStatus,activePid:p.activePid??null,slotType:p.slotType??null}}),`Turned ${p.desiredStatus} slot "${p.slotName}"`)&&await O({silent:!0})},j=async()=>{if(!T.value){z();return}v.value=!0,await q(),v.value=!1};ie(()=>t.value,async p=>{if(!p){z();return}await j()},{immediate:!0}),ie(()=>o.value,async()=>{s.value!=="configuration"||!T.value||await w({silent:!0})}),ie(()=>s.value,async p=>{T.value&&(p==="state"&&!L.value&&await g(),p==="configuration"&&!I.value&&await w(),p==="replication"&&!u.value&&await O())});const{pause:K,resume:ee,isActive:te}=Be(async()=>{!T.value||!R.value||await H(s.value,{silent:!0})},f,{immediate:!1});return ie(()=>l.value,p=>{p?ee():K()},{immediate:!0}),{activeSection:s,autoRefresh:l,isAutoRefreshRunning:te,error:r,isInitialLoading:v,isActionLoading:x,isDashboardLoading:C,isStateLoading:c,isConfigurationLoading:m,isReplicationLoading:S,dashboard:$,state:L,configuration:I,replication:u,configurationSearch:i,refreshSection:H,refreshAll:q,fetchDashboard:a,fetchState:g,fetchConfiguration:w,fetchReplication:O,cancelQuery:J,terminateConnection:Z,dropReplicationSlot:E,toggleReplicationSlotStatus:A}}const Pn={class:"flex flex-col h-full p-3 gap-3 overflow-hidden"},On={class:"flex flex-col lg:flex-row lg:items-start lg:justify-between border rounded-lg p-3 gap-3 bg-background"},Bn={class:"space-y-1"},Dn={class:"flex items-center gap-2"},Mn={class:"text-sm text-muted-foreground flex items-center gap-0.5"},En={class:"flex items-center gap-0.5"},Nn={class:"font-medium text-foreground"},Hn={key:0,class:"flex items-center gap-1.5 mt-0.5"},zn={class:"flex items-center gap-2 flex-wrap"},Fn={class:"text-xs flex items-center gap-2"},Vn={class:"flex items-center justify-between gap-2"},jn={class:"text-xs text-muted-foreground"},Gn={key:0,class:"border border-red-300 bg-red-50 text-red-700 rounded-lg p-3 text-sm"},Un={key:1,class:"border rounded-lg p-6 flex items-center justify-center gap-2 text-muted-foreground"},qn={key:2,class:"flex-1 overflow-y-auto border rounded-lg p-3 bg-background"},Qn=ne({__name:"InstanceInsightsPanel",props:{dbConnectionString:{},databaseName:{},dbType:{}},setup(t){const s=[{id:"activity",tabLabel:"Activity",subtitle:"Sessions, TPS, tuples and block I/O",icon:"hugeicons:artificial-intelligence-08"},{id:"state",tabLabel:"State",subtitle:"Active sessions, locks, prepared transactions",icon:"hugeicons:shield-01"},{id:"configuration",tabLabel:"Config",subtitle:"Searchable pg_settings",icon:"hugeicons:settings-01"},{id:"replication",tabLabel:"Replication",subtitle:"Replication stats and slots",icon:"hugeicons:database"}],l=Ce(),f=h(()=>l.selectedConnection),{activeSection:r,autoRefresh:v,error:x,isInitialLoading:C,isActionLoading:c,isDashboardLoading:m,isStateLoading:S,isConfigurationLoading:$,isReplicationLoading:L,dashboard:I,state:u,configuration:i,replication:o,configurationSearch:T,refreshSection:R,refreshAll:z,cancelQuery:d,terminateConnection:a,dropReplicationSlot:g,toggleReplicationSlotStatus:w}=kn(f);h(()=>s.find(E=>E.id===r.value));const O=h(()=>{var E,A,j,K;return r.value==="activity"?(E=I.value)==null?void 0:E.capturedAt:r.value==="state"?(A=u.value)==null?void 0:A.capturedAt:r.value==="configuration"?(j=i.value)==null?void 0:j.capturedAt:(K=o.value)==null?void 0:K.capturedAt}),H=()=>R("activity"),q=()=>R("state"),Q=()=>R("configuration"),J=()=>R("replication"),Z=E=>w(E);return(E,A)=>{var N,oe;const j=ae,K=Me,ee=Ee,te=re,p=Ge,y=je,F=Ve;return B(),D("div",Pn,[e("div",On,[e("div",Bn,[e("div",Dn,[b(j,{name:"hugeicons:database",class:"size-5 text-primary"}),A[4]||(A[4]=e("h2",{class:"text-lg font-medium"},"Instance Insights",-1))]),e("div",Mn,[A[5]||(A[5]=M(" connection: ")),e("div",En,[E.dbType?(B(),Le(De((N=n(Ne)(E.dbType))==null?void 0:N.icon),{key:0,class:"size-4!"})):Y("",!0),e("span",Nn,_(E.databaseName),1)])]),(oe=n(I))!=null&&oe.version?(B(),D("div",Hn,[b(K,{variant:"outline",class:"text-[10px] h-5 px-1.5 font-normal"},{default:V(()=>[M(" PostgreSQL "+_(n(I).version),1)]),_:1})])):Y("",!0)]),e("div",zn,[e("div",Fn,[b(ee,{id:"insights-auto-refresh","model-value":n(v),"onUpdate:modelValue":A[0]||(A[0]=G=>ue(v)?v.value=G:null),class:"cursor-pointer"},null,8,["model-value"]),A[6]||(A[6]=e("label",{for:"insights-auto-refresh",class:"cursor-pointer"}," Auto refresh ",-1))]),b(te,{variant:"outline",size:"sm",disabled:n(C)||n(c),onClick:A[1]||(A[1]=G=>n(z)()),class:"font-normal"},{default:V(()=>[b(j,{name:"hugeicons:redo",class:"size-4"}),A[7]||(A[7]=M(" Refresh All "))]),_:1},8,["disabled"])])]),e("div",Vn,[b(F,{modelValue:n(r),"onUpdate:modelValue":A[2]||(A[2]=G=>ue(r)?r.value=G:null),class:"gap-0 flex-1 min-w-0"},{default:V(()=>[b(y,{class:"h-8 max-w-full overflow-x-auto justify-start!"},{default:V(()=>[(B(),D(He,null,ze(s,G=>b(p,{key:G.id,value:G.id,class:"text-xs px-1.5 rounded-sm cursor-pointer min-w-fit shrink-0",onClick:Xn=>n(R)(G.id,{silent:!0})},{default:V(()=>[b(j,{name:G.icon,class:"size-3.5!"},null,8,["name"]),M(" "+_(G.tabLabel),1)]),_:2},1032,["value","onClick"])),64))]),_:1})]),_:1},8,["modelValue"]),e("div",jn," Last updated: "+_(n(le)(n(O))),1)]),n(x)?(B(),D("div",Gn,_(n(x)),1)):Y("",!0),n(C)&&!n(I)?(B(),D("div",Un,[b(j,{name:"hugeicons:redo",class:"size-4 animate-spin"}),A[8]||(A[8]=M(" Loading instance insights... "))])):(B(),D("div",qn,[de(b(qs,{dashboard:n(I),isLoading:n(m),isActionLoading:n(c),onRefresh:H},null,8,["dashboard","isLoading","isActionLoading"]),[[ce,n(r)==="activity"]]),de(b(Rn,{state:n(u),isLoading:n(S),isActionLoading:n(c),onRefresh:q,onCancelQuery:n(d),onTerminateConnection:n(a)},null,8,["state","isLoading","isActionLoading","onCancelQuery","onTerminateConnection"]),[[ce,n(r)==="state"]]),de(b(Js,{search:n(T),"onUpdate:search":A[3]||(A[3]=G=>ue(T)?T.value=G:null),configuration:n(i),isLoading:n($),isActionLoading:n(c),onRefresh:Q},null,8,["search","configuration","isLoading","isActionLoading"]),[[ce,n(r)==="configuration"]]),de(b(fn,{replication:n(o),isLoading:n(L),isActionLoading:n(c),onRefresh:J,onDropSlot:n(g),onToggleSlotStatus:Z},null,8,["replication","isLoading","isActionLoading","onDropSlot"]),[[ce,n(r)==="replication"]])]))])}}}),Kn={class:"h-full"},Wn={key:0,class:"h-full p-4 flex flex-col items-center justify-center text-muted-foreground"},ra=ne({__name:"index",setup(t){const s=Fe(),l=Ce(),f=h(()=>String(s.params.connectionId||"")),r=h(()=>f.value?l.connections.find(c=>c.id===f.value):null),v=h(()=>{var c;return((c=r.value)==null?void 0:c.connectionString)||""}),x=h(()=>{var c;return(c=r.value)==null?void 0:c.type}),C=h(()=>{var c,m;return((c=r.value)==null?void 0:c.database)||((m=r.value)==null?void 0:m.name)||"database"});return(c,m)=>{const S=ae;return B(),D("div",Kn,[n(v)?(B(),Le(Qn,{key:1,"db-connection-string":n(v),"database-name":n(C),"db-type":n(x)},null,8,["db-connection-string","database-name","db-type"])):(B(),D("div",Wn,[b(S,{name:"hugeicons:plug-socket",class:"size-12 mb-2 opacity-50"}),m[0]||(m[0]=e("p",{class:"text-sm"},"Select a connection to open Instance Insights",-1))]))])}}});export{ra as default};
@@ -1,43 +0,0 @@
1
- import{_ as l,s as k,g as I,t as R,q as _,a as E,b as F,L as D,A as G,G as y,H as C,I as z,l as P,a1 as W,e as B}from"./BwI9KIOm.js";import{p as H}from"./CJWptbcK.js";import{p as V}from"./BvXVax75.js";import"./BjU0QAaV.js";var m={showLegend:!0,ticks:5,max:null,min:0,graticule:"circle"},w={axes:[],curves:[],options:m},x=structuredClone(w),j=z.radar,q=l(()=>y({...j,...C().radar}),"getConfig"),b=l(()=>x.axes,"getAxes"),N=l(()=>x.curves,"getCurves"),U=l(()=>x.options,"getOptions"),X=l(a=>{x.axes=a.map(t=>({name:t.name,label:t.label??t.name}))},"setAxes"),Y=l(a=>{x.curves=a.map(t=>({name:t.name,label:t.label??t.name,entries:Z(t.entries)}))},"setCurves"),Z=l(a=>{if(a[0].axis==null)return a.map(e=>e.value);const t=b();if(t.length===0)throw new Error("Axes must be populated before curves for reference entries");return t.map(e=>{const r=a.find(s=>{var o;return((o=s.axis)==null?void 0:o.$refText)===e.name});if(r===void 0)throw new Error("Missing entry for axis "+e.label);return r.value})},"computeCurveEntries"),J=l(a=>{var e,r,s,o,i;const t=a.reduce((n,c)=>(n[c.name]=c,n),{});x.options={showLegend:((e=t.showLegend)==null?void 0:e.value)??m.showLegend,ticks:((r=t.ticks)==null?void 0:r.value)??m.ticks,max:((s=t.max)==null?void 0:s.value)??m.max,min:((o=t.min)==null?void 0:o.value)??m.min,graticule:((i=t.graticule)==null?void 0:i.value)??m.graticule}},"setOptions"),K=l(()=>{G(),x=structuredClone(w)},"clear"),$={getAxes:b,getCurves:N,getOptions:U,setAxes:X,setCurves:Y,setOptions:J,getConfig:q,clear:K,setAccTitle:F,getAccTitle:E,setDiagramTitle:_,getDiagramTitle:R,getAccDescription:I,setAccDescription:k},Q=l(a=>{H(a,$);const{axes:t,curves:e,options:r}=a;$.setAxes(t),$.setCurves(e),$.setOptions(r)},"populate"),tt={parse:l(async a=>{const t=await V("radar",a);P.debug(t),Q(t)},"parse")},et=l((a,t,e,r)=>{const s=r.db,o=s.getAxes(),i=s.getCurves(),n=s.getOptions(),c=s.getConfig(),d=s.getDiagramTitle(),p=D(t),u=at(p,c),g=n.max??Math.max(...i.map(f=>Math.max(...f.entries))),h=n.min,v=Math.min(c.width,c.height)/2;rt(u,o,v,n.ticks,n.graticule),st(u,o,v,c),M(u,o,i,h,g,n.graticule,c),T(u,i,n.showLegend,c),u.append("text").attr("class","radarTitle").text(d).attr("x",0).attr("y",-c.height/2-c.marginTop)},"draw"),at=l((a,t)=>{const e=t.width+t.marginLeft+t.marginRight,r=t.height+t.marginTop+t.marginBottom,s={x:t.marginLeft+t.width/2,y:t.marginTop+t.height/2};return B(a,r,e,t.useMaxWidth??!0),a.attr("viewBox",`0 0 ${e} ${r}`),a.append("g").attr("transform",`translate(${s.x}, ${s.y})`)},"drawFrame"),rt=l((a,t,e,r,s)=>{if(s==="circle")for(let o=0;o<r;o++){const i=e*(o+1)/r;a.append("circle").attr("r",i).attr("class","radarGraticule")}else if(s==="polygon"){const o=t.length;for(let i=0;i<r;i++){const n=e*(i+1)/r,c=t.map((d,p)=>{const u=2*p*Math.PI/o-Math.PI/2,g=n*Math.cos(u),h=n*Math.sin(u);return`${g},${h}`}).join(" ");a.append("polygon").attr("points",c).attr("class","radarGraticule")}}},"drawGraticule"),st=l((a,t,e,r)=>{const s=t.length;for(let o=0;o<s;o++){const i=t[o].label,n=2*o*Math.PI/s-Math.PI/2;a.append("line").attr("x1",0).attr("y1",0).attr("x2",e*r.axisScaleFactor*Math.cos(n)).attr("y2",e*r.axisScaleFactor*Math.sin(n)).attr("class","radarAxisLine"),a.append("text").text(i).attr("x",e*r.axisLabelFactor*Math.cos(n)).attr("y",e*r.axisLabelFactor*Math.sin(n)).attr("class","radarAxisLabel")}},"drawAxes");function M(a,t,e,r,s,o,i){const n=t.length,c=Math.min(i.width,i.height)/2;e.forEach((d,p)=>{if(d.entries.length!==n)return;const u=d.entries.map((g,h)=>{const v=2*Math.PI*h/n-Math.PI/2,f=A(g,r,s,c),S=f*Math.cos(v),O=f*Math.sin(v);return{x:S,y:O}});o==="circle"?a.append("path").attr("d",L(u,i.curveTension)).attr("class",`radarCurve-${p}`):o==="polygon"&&a.append("polygon").attr("points",u.map(g=>`${g.x},${g.y}`).join(" ")).attr("class",`radarCurve-${p}`)})}l(M,"drawCurves");function A(a,t,e,r){const s=Math.min(Math.max(a,t),e);return r*(s-t)/(e-t)}l(A,"relativeRadius");function L(a,t){const e=a.length;let r=`M${a[0].x},${a[0].y}`;for(let s=0;s<e;s++){const o=a[(s-1+e)%e],i=a[s],n=a[(s+1)%e],c=a[(s+2)%e],d={x:i.x+(n.x-o.x)*t,y:i.y+(n.y-o.y)*t},p={x:n.x-(c.x-i.x)*t,y:n.y-(c.y-i.y)*t};r+=` C${d.x},${d.y} ${p.x},${p.y} ${n.x},${n.y}`}return`${r} Z`}l(L,"closedRoundCurve");function T(a,t,e,r){if(!e)return;const s=(r.width/2+r.marginRight)*3/4,o=-(r.height/2+r.marginTop)*3/4,i=20;t.forEach((n,c)=>{const d=a.append("g").attr("transform",`translate(${s}, ${o+c*i})`);d.append("rect").attr("width",12).attr("height",12).attr("class",`radarLegendBox-${c}`),d.append("text").attr("x",16).attr("y",0).attr("class","radarLegendText").text(n.label)})}l(T,"drawLegend");var nt={draw:et},ot=l((a,t)=>{let e="";for(let r=0;r<a.THEME_COLOR_LIMIT;r++){const s=a[`cScale${r}`];e+=`
2
- .radarCurve-${r} {
3
- color: ${s};
4
- fill: ${s};
5
- fill-opacity: ${t.curveOpacity};
6
- stroke: ${s};
7
- stroke-width: ${t.curveStrokeWidth};
8
- }
9
- .radarLegendBox-${r} {
10
- fill: ${s};
11
- fill-opacity: ${t.curveOpacity};
12
- stroke: ${s};
13
- }
14
- `}return e},"genIndexStyles"),it=l(a=>{const t=W(),e=C(),r=y(t,e.themeVariables),s=y(r.radar,a);return{themeVariables:r,radarOptions:s}},"buildRadarStyleOptions"),lt=l(({radar:a}={})=>{const{themeVariables:t,radarOptions:e}=it(a);return`
15
- .radarTitle {
16
- font-size: ${t.fontSize};
17
- color: ${t.titleColor};
18
- dominant-baseline: hanging;
19
- text-anchor: middle;
20
- }
21
- .radarAxisLine {
22
- stroke: ${e.axisColor};
23
- stroke-width: ${e.axisStrokeWidth};
24
- }
25
- .radarAxisLabel {
26
- dominant-baseline: middle;
27
- text-anchor: middle;
28
- font-size: ${e.axisLabelFontSize}px;
29
- color: ${e.axisColor};
30
- }
31
- .radarGraticule {
32
- fill: ${e.graticuleColor};
33
- fill-opacity: ${e.graticuleOpacity};
34
- stroke: ${e.graticuleColor};
35
- stroke-width: ${e.graticuleStrokeWidth};
36
- }
37
- .radarLegendText {
38
- text-anchor: start;
39
- font-size: ${e.legendFontSize}px;
40
- dominant-baseline: hanging;
41
- }
42
- ${ot(t,e)}
43
- `},"styles"),gt={parser:tt,db:$,renderer:nt,styles:lt};export{gt as diagram};
@@ -1 +0,0 @@
1
- import{d as r,m as n,n as o,u as a,f as l,e as c,o as d,aF as u}from"./BjU0QAaV.js";const f=r({__name:"Alert",props:{class:{},variant:{}},setup(t){const s=t;return(e,i)=>(d(),n("div",{class:o(a(c)(a(v)({variant:e.variant}),s.class)),role:"alert"},[l(e.$slots,"default")],2))}}),g=r({__name:"AlertDescription",props:{class:{}},setup(t){const s=t;return(e,i)=>(d(),n("div",{class:o(a(c)("text-sm [&_p]:leading-relaxed",s.class))},[l(e.$slots,"default")],2))}}),v=u("relative w-full rounded-lg border px-4 py-3 text-sm [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground [&>svg~*]:pl-7",{variants:{variant:{default:"bg-background text-foreground",destructive:"border-destructive/50 text-destructive dark:border-destructive [&>svg]:text-destructive"}},defaultVariants:{variant:"default"}});export{f as _,g as a};
@@ -1,162 +0,0 @@
1
- import{g as Ht}from"./ACQvpkWm.js";import{_ as m,o as Mt,l as t1,c as b1,d as O1,p as Xt,r as Qt,u as rt,b as Jt,s as Zt,q as $t,a as te,g as ee,t as se,k as ie,v as re,J as ae,x as ne,y as it,z as ue,A as oe,B as le,C as ce}from"./BwI9KIOm.js";import{c as he}from"./CWE6B2ZO.js";import{g as de}from"./D5MxrHN6.js";import{s as pe}from"./Czb-ugrz.js";import{c as fe}from"./CqvBmMuN.js";import"./BjU0QAaV.js";var ge="flowchart-",G1,be=(G1=class{constructor(){this.vertexCounter=0,this.config=b1(),this.vertices=new Map,this.edges=[],this.classes=new Map,this.subGraphs=[],this.subGraphLookup=new Map,this.tooltips=new Map,this.subCount=0,this.firstGraphFlag=!0,this.secCount=-1,this.posCrossRef=[],this.funs=[],this.setAccTitle=Jt,this.setAccDescription=Zt,this.setDiagramTitle=$t,this.getAccTitle=te,this.getAccDescription=ee,this.getDiagramTitle=se,this.funs.push(this.setupToolTips.bind(this)),this.addVertex=this.addVertex.bind(this),this.firstGraph=this.firstGraph.bind(this),this.setDirection=this.setDirection.bind(this),this.addSubGraph=this.addSubGraph.bind(this),this.addLink=this.addLink.bind(this),this.setLink=this.setLink.bind(this),this.updateLink=this.updateLink.bind(this),this.addClass=this.addClass.bind(this),this.setClass=this.setClass.bind(this),this.destructLink=this.destructLink.bind(this),this.setClickEvent=this.setClickEvent.bind(this),this.setTooltip=this.setTooltip.bind(this),this.updateLinkInterpolate=this.updateLinkInterpolate.bind(this),this.setClickFun=this.setClickFun.bind(this),this.bindFunctions=this.bindFunctions.bind(this),this.lex={firstGraph:this.firstGraph.bind(this)},this.clear(),this.setGen("gen-2")}sanitizeText(i){return ie.sanitizeText(i,this.config)}sanitizeNodeLabelType(i){switch(i){case"markdown":case"string":case"text":return i;default:return"markdown"}}lookUpDomId(i){for(const n of this.vertices.values())if(n.id===i)return n.domId;return i}addVertex(i,n,a,u,o,f,c={},A){var L,C;if(!i||i.trim().length===0)return;let r;if(A!==void 0){let d;A.includes(`
2
- `)?d=A+`
3
- `:d=`{
4
- `+A+`
5
- }`,r=re(d,{schema:ae})}const k=this.edges.find(d=>d.id===i);if(k){const d=r;(d==null?void 0:d.animate)!==void 0&&(k.animate=d.animate),(d==null?void 0:d.animation)!==void 0&&(k.animation=d.animation),(d==null?void 0:d.curve)!==void 0&&(k.interpolate=d.curve);return}let y,b=this.vertices.get(i);if(b===void 0&&(b={id:i,labelType:"text",domId:ge+i+"-"+this.vertexCounter,styles:[],classes:[]},this.vertices.set(i,b)),this.vertexCounter++,n!==void 0?(this.config=b1(),y=this.sanitizeText(n.text.trim()),b.labelType=n.type,y.startsWith('"')&&y.endsWith('"')&&(y=y.substring(1,y.length-1)),b.text=y):b.text===void 0&&(b.text=i),a!==void 0&&(b.type=a),u!=null&&u.forEach(d=>{b.styles.push(d)}),o!=null&&o.forEach(d=>{b.classes.push(d)}),f!==void 0&&(b.dir=f),b.props===void 0?b.props=c:c!==void 0&&Object.assign(b.props,c),r!==void 0){if(r.shape){if(r.shape!==r.shape.toLowerCase()||r.shape.includes("_"))throw new Error(`No such shape: ${r.shape}. Shape names should be lowercase.`);if(!ne(r.shape))throw new Error(`No such shape: ${r.shape}.`);b.type=r==null?void 0:r.shape}r!=null&&r.label&&(b.text=r==null?void 0:r.label,b.labelType=this.sanitizeNodeLabelType(r==null?void 0:r.labelType)),r!=null&&r.icon&&(b.icon=r==null?void 0:r.icon,!((L=r.label)!=null&&L.trim())&&b.text===i&&(b.text="")),r!=null&&r.form&&(b.form=r==null?void 0:r.form),r!=null&&r.pos&&(b.pos=r==null?void 0:r.pos),r!=null&&r.img&&(b.img=r==null?void 0:r.img,!((C=r.label)!=null&&C.trim())&&b.text===i&&(b.text="")),r!=null&&r.constraint&&(b.constraint=r.constraint),r.w&&(b.assetWidth=Number(r.w)),r.h&&(b.assetHeight=Number(r.h))}}addSingleLink(i,n,a,u){const c={start:i,end:n,type:void 0,text:"",labelType:"text",classes:[],isUserDefinedId:!1,interpolate:this.edges.defaultInterpolate};t1.info("abc78 Got edge...",c);const A=a.text;if(A!==void 0&&(c.text=this.sanitizeText(A.text.trim()),c.text.startsWith('"')&&c.text.endsWith('"')&&(c.text=c.text.substring(1,c.text.length-1)),c.labelType=this.sanitizeNodeLabelType(A.type)),a!==void 0&&(c.type=a.type,c.stroke=a.stroke,c.length=a.length>10?10:a.length),u&&!this.edges.some(r=>r.id===u))c.id=u,c.isUserDefinedId=!0;else{const r=this.edges.filter(k=>k.start===c.start&&k.end===c.end);r.length===0?c.id=it(c.start,c.end,{counter:0,prefix:"L"}):c.id=it(c.start,c.end,{counter:r.length+1,prefix:"L"})}if(this.edges.length<(this.config.maxEdges??500))t1.info("Pushing edge..."),this.edges.push(c);else throw new Error(`Edge limit exceeded. ${this.edges.length} edges found, but the limit is ${this.config.maxEdges}.
6
-
7
- Initialize mermaid with maxEdges set to a higher number to allow more edges.
8
- You cannot set this config via configuration inside the diagram as it is a secure config.
9
- You have to call mermaid.initialize.`)}isLinkData(i){return i!==null&&typeof i=="object"&&"id"in i&&typeof i.id=="string"}addLink(i,n,a){const u=this.isLinkData(a)?a.id.replace("@",""):void 0;t1.info("addLink",i,n,u);for(const o of i)for(const f of n){const c=o===i[i.length-1],A=f===n[0];c&&A?this.addSingleLink(o,f,a,u):this.addSingleLink(o,f,a,void 0)}}updateLinkInterpolate(i,n){i.forEach(a=>{a==="default"?this.edges.defaultInterpolate=n:this.edges[a].interpolate=n})}updateLink(i,n){i.forEach(a=>{var u,o,f,c,A,r;if(typeof a=="number"&&a>=this.edges.length)throw new Error(`The index ${a} for linkStyle is out of bounds. Valid indices for linkStyle are between 0 and ${this.edges.length-1}. (Help: Ensure that the index is within the range of existing edges.)`);a==="default"?this.edges.defaultStyle=n:(this.edges[a].style=n,(((o=(u=this.edges[a])==null?void 0:u.style)==null?void 0:o.length)??0)>0&&!((c=(f=this.edges[a])==null?void 0:f.style)!=null&&c.some(k=>k==null?void 0:k.startsWith("fill")))&&((r=(A=this.edges[a])==null?void 0:A.style)==null||r.push("fill:none")))})}addClass(i,n){const a=n.join().replace(/\\,/g,"§§§").replace(/,/g,";").replace(/§§§/g,",").split(";");i.split(",").forEach(u=>{let o=this.classes.get(u);o===void 0&&(o={id:u,styles:[],textStyles:[]},this.classes.set(u,o)),a!=null&&a.forEach(f=>{if(/color/.exec(f)){const c=f.replace("fill","bgFill");o.textStyles.push(c)}o.styles.push(f)})})}setDirection(i){this.direction=i.trim(),/.*</.exec(this.direction)&&(this.direction="RL"),/.*\^/.exec(this.direction)&&(this.direction="BT"),/.*>/.exec(this.direction)&&(this.direction="LR"),/.*v/.exec(this.direction)&&(this.direction="TB"),this.direction==="TD"&&(this.direction="TB")}setClass(i,n){for(const a of i.split(",")){const u=this.vertices.get(a);u&&u.classes.push(n);const o=this.edges.find(c=>c.id===a);o&&o.classes.push(n);const f=this.subGraphLookup.get(a);f&&f.classes.push(n)}}setTooltip(i,n){if(n!==void 0){n=this.sanitizeText(n);for(const a of i.split(","))this.tooltips.set(this.version==="gen-1"?this.lookUpDomId(a):a,n)}}setClickFun(i,n,a){const u=this.lookUpDomId(i);if(b1().securityLevel!=="loose"||n===void 0)return;let o=[];if(typeof a=="string"){o=a.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);for(let c=0;c<o.length;c++){let A=o[c].trim();A.startsWith('"')&&A.endsWith('"')&&(A=A.substr(1,A.length-2)),o[c]=A}}o.length===0&&o.push(i);const f=this.vertices.get(i);f&&(f.haveCallback=!0,this.funs.push(()=>{const c=document.querySelector(`[id="${u}"]`);c!==null&&c.addEventListener("click",()=>{rt.runFunc(n,...o)},!1)}))}setLink(i,n,a){i.split(",").forEach(u=>{const o=this.vertices.get(u);o!==void 0&&(o.link=rt.formatUrl(n,this.config),o.linkTarget=a)}),this.setClass(i,"clickable")}getTooltip(i){return this.tooltips.get(i)}setClickEvent(i,n,a){i.split(",").forEach(u=>{this.setClickFun(u,n,a)}),this.setClass(i,"clickable")}bindFunctions(i){this.funs.forEach(n=>{n(i)})}getDirection(){var i;return(i=this.direction)==null?void 0:i.trim()}getVertices(){return this.vertices}getEdges(){return this.edges}getClasses(){return this.classes}setupToolTips(i){const n=he();O1(i).select("svg").selectAll("g.node").on("mouseover",o=>{var r;const f=O1(o.currentTarget),c=f.attr("title");if(c===null)return;const A=(r=o.currentTarget)==null?void 0:r.getBoundingClientRect();n.transition().duration(200).style("opacity",".9"),n.text(f.attr("title")).style("left",window.scrollX+A.left+(A.right-A.left)/2+"px").style("top",window.scrollY+A.bottom+"px"),n.html(ue.sanitize(c)),f.classed("hover",!0)}).on("mouseout",o=>{n.transition().duration(500).style("opacity",0),O1(o.currentTarget).classed("hover",!1)})}clear(i="gen-2"){this.vertices=new Map,this.classes=new Map,this.edges=[],this.funs=[this.setupToolTips.bind(this)],this.subGraphs=[],this.subGraphLookup=new Map,this.subCount=0,this.tooltips=new Map,this.firstGraphFlag=!0,this.version=i,this.config=b1(),oe()}setGen(i){this.version=i||"gen-2"}defaultStyle(){return"fill:#ffa;stroke: #f66; stroke-width: 3px; stroke-dasharray: 5, 5;fill:#ffa;stroke: #666;"}addSubGraph(i,n,a){let u=i.text.trim(),o=a.text;i===a&&/\s/.exec(a.text)&&(u=void 0);const c=m(b=>{const L={boolean:{},number:{},string:{}},C=[];let d;return{nodeList:b.filter(function(z){const Z=typeof z;return z.stmt&&z.stmt==="dir"?(d=z.value,!1):z.trim()===""?!1:Z in L?L[Z].hasOwnProperty(z)?!1:L[Z][z]=!0:C.includes(z)?!1:C.push(z)}),dir:d}},"uniq")(n.flat()),A=c.nodeList;let r=c.dir;const k=b1().flowchart??{};if(r=r??(k.inheritDir?this.getDirection()??b1().direction??void 0:void 0),this.version==="gen-1")for(let b=0;b<A.length;b++)A[b]=this.lookUpDomId(A[b]);u=u??"subGraph"+this.subCount,o=o||"",o=this.sanitizeText(o),this.subCount=this.subCount+1;const y={id:u,nodes:A,title:o.trim(),classes:[],dir:r,labelType:this.sanitizeNodeLabelType(a==null?void 0:a.type)};return t1.info("Adding",y.id,y.nodes,y.dir),y.nodes=this.makeUniq(y,this.subGraphs).nodes,this.subGraphs.push(y),this.subGraphLookup.set(u,y),u}getPosForId(i){for(const[n,a]of this.subGraphs.entries())if(a.id===i)return n;return-1}indexNodes2(i,n){const a=this.subGraphs[n].nodes;if(this.secCount=this.secCount+1,this.secCount>2e3)return{result:!1,count:0};if(this.posCrossRef[this.secCount]=n,this.subGraphs[n].id===i)return{result:!0,count:0};let u=0,o=1;for(;u<a.length;){const f=this.getPosForId(a[u]);if(f>=0){const c=this.indexNodes2(i,f);if(c.result)return{result:!0,count:o+c.count};o=o+c.count}u=u+1}return{result:!1,count:o}}getDepthFirstPos(i){return this.posCrossRef[i]}indexNodes(){this.secCount=-1,this.subGraphs.length>0&&this.indexNodes2("none",this.subGraphs.length-1)}getSubGraphs(){return this.subGraphs}firstGraph(){return this.firstGraphFlag?(this.firstGraphFlag=!1,!0):!1}destructStartLink(i){let n=i.trim(),a="arrow_open";switch(n[0]){case"<":a="arrow_point",n=n.slice(1);break;case"x":a="arrow_cross",n=n.slice(1);break;case"o":a="arrow_circle",n=n.slice(1);break}let u="normal";return n.includes("=")&&(u="thick"),n.includes(".")&&(u="dotted"),{type:a,stroke:u}}countChar(i,n){const a=n.length;let u=0;for(let o=0;o<a;++o)n[o]===i&&++u;return u}destructEndLink(i){const n=i.trim();let a=n.slice(0,-1),u="arrow_open";switch(n.slice(-1)){case"x":u="arrow_cross",n.startsWith("x")&&(u="double_"+u,a=a.slice(1));break;case">":u="arrow_point",n.startsWith("<")&&(u="double_"+u,a=a.slice(1));break;case"o":u="arrow_circle",n.startsWith("o")&&(u="double_"+u,a=a.slice(1));break}let o="normal",f=a.length-1;a.startsWith("=")&&(o="thick"),a.startsWith("~")&&(o="invisible");const c=this.countChar(".",a);return c&&(o="dotted",f=c),{type:u,stroke:o,length:f}}destructLink(i,n){const a=this.destructEndLink(i);let u;if(n){if(u=this.destructStartLink(n),u.stroke!==a.stroke)return{type:"INVALID",stroke:"INVALID"};if(u.type==="arrow_open")u.type=a.type;else{if(u.type!==a.type)return{type:"INVALID",stroke:"INVALID"};u.type="double_"+u.type}return u.type==="double_arrow"&&(u.type="double_arrow_point"),u.length=a.length,u}return a}exists(i,n){for(const a of i)if(a.nodes.includes(n))return!0;return!1}makeUniq(i,n){const a=[];return i.nodes.forEach((u,o)=>{this.exists(n,u)||a.push(i.nodes[o])}),{nodes:a}}getTypeFromVertex(i){if(i.img)return"imageSquare";if(i.icon)return i.form==="circle"?"iconCircle":i.form==="square"?"iconSquare":i.form==="rounded"?"iconRounded":"icon";switch(i.type){case"square":case void 0:return"squareRect";case"round":return"roundedRect";case"ellipse":return"ellipse";default:return i.type}}findNode(i,n){return i.find(a=>a.id===n)}destructEdgeType(i){let n="none",a="arrow_point";switch(i){case"arrow_point":case"arrow_circle":case"arrow_cross":a=i;break;case"double_arrow_point":case"double_arrow_circle":case"double_arrow_cross":n=i.replace("double_",""),a=n;break}return{arrowTypeStart:n,arrowTypeEnd:a}}addNodeFromVertex(i,n,a,u,o,f){var k;const c=a.get(i.id),A=u.get(i.id)??!1,r=this.findNode(n,i.id);if(r)r.cssStyles=i.styles,r.cssCompiledStyles=this.getCompiledStyles(i.classes),r.cssClasses=i.classes.join(" ");else{const y={id:i.id,label:i.text,labelType:i.labelType,labelStyle:"",parentId:c,padding:((k=o.flowchart)==null?void 0:k.padding)||8,cssStyles:i.styles,cssCompiledStyles:this.getCompiledStyles(["default","node",...i.classes]),cssClasses:"default "+i.classes.join(" "),dir:i.dir,domId:i.domId,look:f,link:i.link,linkTarget:i.linkTarget,tooltip:this.getTooltip(i.id),icon:i.icon,pos:i.pos,img:i.img,assetWidth:i.assetWidth,assetHeight:i.assetHeight,constraint:i.constraint};A?n.push({...y,isGroup:!0,shape:"rect"}):n.push({...y,isGroup:!1,shape:this.getTypeFromVertex(i)})}}getCompiledStyles(i){let n=[];for(const a of i){const u=this.classes.get(a);u!=null&&u.styles&&(n=[...n,...u.styles??[]].map(o=>o.trim())),u!=null&&u.textStyles&&(n=[...n,...u.textStyles??[]].map(o=>o.trim()))}return n}getData(){const i=b1(),n=[],a=[],u=this.getSubGraphs(),o=new Map,f=new Map;for(let r=u.length-1;r>=0;r--){const k=u[r];k.nodes.length>0&&f.set(k.id,!0);for(const y of k.nodes)o.set(y,k.id)}for(let r=u.length-1;r>=0;r--){const k=u[r];n.push({id:k.id,label:k.title,labelStyle:"",labelType:k.labelType,parentId:o.get(k.id),padding:8,cssCompiledStyles:this.getCompiledStyles(k.classes),cssClasses:k.classes.join(" "),shape:"rect",dir:k.dir,isGroup:!0,look:i.look})}this.getVertices().forEach(r=>{this.addNodeFromVertex(r,n,o,f,i,i.look||"classic")});const A=this.getEdges();return A.forEach((r,k)=>{var d;const{arrowTypeStart:y,arrowTypeEnd:b}=this.destructEdgeType(r.type),L=[...A.defaultStyle??[]];r.style&&L.push(...r.style);const C={id:it(r.start,r.end,{counter:k,prefix:"L"},r.id),isUserDefinedId:r.isUserDefinedId,start:r.start,end:r.end,type:r.type??"normal",label:r.text,labelType:r.labelType,labelpos:"c",thickness:r.stroke,minlen:r.length,classes:(r==null?void 0:r.stroke)==="invisible"?"":"edge-thickness-normal edge-pattern-solid flowchart-link",arrowTypeStart:(r==null?void 0:r.stroke)==="invisible"||(r==null?void 0:r.type)==="arrow_open"?"none":y,arrowTypeEnd:(r==null?void 0:r.stroke)==="invisible"||(r==null?void 0:r.type)==="arrow_open"?"none":b,arrowheadStyle:"fill: #333",cssCompiledStyles:this.getCompiledStyles(r.classes),labelStyle:L,style:L,pattern:r.stroke,look:i.look,animate:r.animate,animation:r.animation,curve:r.interpolate||this.edges.defaultInterpolate||((d=i.flowchart)==null?void 0:d.curve)};a.push(C)}),{nodes:n,edges:a,other:{},config:i}}defaultConfig(){return le.flowchart}},m(G1,"FlowDB"),G1),Ae=m(function(s,i){return i.db.getClasses()},"getClasses"),ke=m(async function(s,i,n,a){var L;t1.info("REF0:"),t1.info("Drawing state diagram (v2)",i);const{securityLevel:u,flowchart:o,layout:f}=b1();let c;u==="sandbox"&&(c=O1("#i"+i));const A=u==="sandbox"?c.nodes()[0].contentDocument:document;t1.debug("Before getData: ");const r=a.db.getData();t1.debug("Data: ",r);const k=de(i,u),y=a.db.getDirection();r.type=a.type,r.layoutAlgorithm=Xt(f),r.layoutAlgorithm==="dagre"&&f==="elk"&&t1.warn("flowchart-elk was moved to an external package in Mermaid v11. Please refer [release notes](https://github.com/mermaid-js/mermaid/releases/tag/v11.0.0) for more details. This diagram will be rendered using `dagre` layout as a fallback."),r.direction=y,r.nodeSpacing=(o==null?void 0:o.nodeSpacing)||50,r.rankSpacing=(o==null?void 0:o.rankSpacing)||50,r.markers=["point","circle","cross"],r.diagramId=i,t1.debug("REF1:",r),await Qt(r,k);const b=((L=r.config.flowchart)==null?void 0:L.diagramPadding)??8;rt.insertTitle(k,"flowchartTitleText",(o==null?void 0:o.titleTopMargin)||0,a.db.getDiagramTitle()),pe(k,b,"flowchart",(o==null?void 0:o.useMaxWidth)||!1);for(const C of r.nodes){const d=O1(`#${i} [id="${C.id}"]`);if(!d||!C.link)continue;const J=A.createElementNS("http://www.w3.org/2000/svg","a");J.setAttributeNS("http://www.w3.org/2000/svg","class",C.cssClasses),J.setAttributeNS("http://www.w3.org/2000/svg","rel","noopener"),u==="sandbox"?J.setAttributeNS("http://www.w3.org/2000/svg","target","_top"):C.linkTarget&&J.setAttributeNS("http://www.w3.org/2000/svg","target",C.linkTarget);const z=d.insert(function(){return J},":first-child"),Z=d.select(".label-container");Z&&z.append(function(){return Z.node()});const A1=d.select(".label");A1&&z.append(function(){return A1.node()})}},"draw"),me={getClasses:Ae,draw:ke},at=function(){var s=m(function(g1,h,p,g){for(p=p||{},g=g1.length;g--;p[g1[g]]=h);return p},"o"),i=[1,4],n=[1,3],a=[1,5],u=[1,8,9,10,11,27,34,36,38,44,60,84,85,86,87,88,89,102,105,106,109,111,114,115,116,121,122,123,124,125],o=[2,2],f=[1,13],c=[1,14],A=[1,15],r=[1,16],k=[1,23],y=[1,25],b=[1,26],L=[1,27],C=[1,50],d=[1,49],J=[1,29],z=[1,30],Z=[1,31],A1=[1,32],M1=[1,33],V=[1,45],I=[1,47],w=[1,43],R=[1,48],N=[1,44],G=[1,51],P=[1,46],O=[1,52],M=[1,53],U1=[1,34],z1=[1,35],W1=[1,36],j1=[1,37],K1=[1,38],p1=[1,58],E=[1,8,9,10,11,27,32,34,36,38,44,60,84,85,86,87,88,89,102,105,106,109,111,114,115,116,121,122,123,124,125],e1=[1,62],s1=[1,61],i1=[1,63],T1=[8,9,11,75,77,78],nt=[1,79],S1=[1,92],D1=[1,97],x1=[1,96],y1=[1,93],E1=[1,89],F1=[1,95],_1=[1,91],B1=[1,98],v1=[1,94],L1=[1,99],V1=[1,90],k1=[8,9,10,11,40,75,77,78],W=[8,9,10,11,40,46,75,77,78],q=[8,9,10,11,29,40,44,46,48,50,52,54,56,58,60,63,65,67,68,70,75,77,78,89,102,105,106,109,111,114,115,116],ut=[8,9,11,44,60,75,77,78,89,102,105,106,109,111,114,115,116],I1=[44,60,89,102,105,106,109,111,114,115,116],ot=[1,122],lt=[1,123],Y1=[1,125],q1=[1,124],ct=[44,60,62,74,89,102,105,106,109,111,114,115,116],ht=[1,134],dt=[1,148],pt=[1,149],ft=[1,150],gt=[1,151],bt=[1,136],At=[1,138],kt=[1,142],mt=[1,143],Ct=[1,144],Tt=[1,145],St=[1,146],Dt=[1,147],xt=[1,152],yt=[1,153],Et=[1,132],Ft=[1,133],_t=[1,140],Bt=[1,135],vt=[1,139],Lt=[1,137],J1=[8,9,10,11,27,32,34,36,38,44,60,84,85,86,87,88,89,102,105,106,109,111,114,115,116,121,122,123,124,125],Vt=[1,155],It=[1,157],B=[8,9,11],H=[8,9,10,11,14,44,60,89,105,106,109,111,114,115,116],T=[1,177],j=[1,173],K=[1,174],S=[1,178],D=[1,175],x=[1,176],w1=[77,116,119],F=[8,9,10,11,12,14,27,29,32,44,60,75,84,85,86,87,88,89,90,105,109,111,114,115,116],wt=[10,106],f1=[31,49,51,53,55,57,62,64,66,67,69,71,116,117,118],r1=[1,248],a1=[1,246],n1=[1,250],u1=[1,244],o1=[1,245],l1=[1,247],c1=[1,249],h1=[1,251],R1=[1,269],Rt=[8,9,11,106],$=[8,9,10,11,60,84,105,106,109,110,111,112],Z1={trace:m(function(){},"trace"),yy:{},symbols_:{error:2,start:3,graphConfig:4,document:5,line:6,statement:7,SEMI:8,NEWLINE:9,SPACE:10,EOF:11,GRAPH:12,NODIR:13,DIR:14,FirstStmtSeparator:15,ending:16,endToken:17,spaceList:18,spaceListNewline:19,vertexStatement:20,separator:21,styleStatement:22,linkStyleStatement:23,classDefStatement:24,classStatement:25,clickStatement:26,subgraph:27,textNoTags:28,SQS:29,text:30,SQE:31,end:32,direction:33,acc_title:34,acc_title_value:35,acc_descr:36,acc_descr_value:37,acc_descr_multiline_value:38,shapeData:39,SHAPE_DATA:40,link:41,node:42,styledVertex:43,AMP:44,vertex:45,STYLE_SEPARATOR:46,idString:47,DOUBLECIRCLESTART:48,DOUBLECIRCLEEND:49,PS:50,PE:51,"(-":52,"-)":53,STADIUMSTART:54,STADIUMEND:55,SUBROUTINESTART:56,SUBROUTINEEND:57,VERTEX_WITH_PROPS_START:58,"NODE_STRING[field]":59,COLON:60,"NODE_STRING[value]":61,PIPE:62,CYLINDERSTART:63,CYLINDEREND:64,DIAMOND_START:65,DIAMOND_STOP:66,TAGEND:67,TRAPSTART:68,TRAPEND:69,INVTRAPSTART:70,INVTRAPEND:71,linkStatement:72,arrowText:73,TESTSTR:74,START_LINK:75,edgeText:76,LINK:77,LINK_ID:78,edgeTextToken:79,STR:80,MD_STR:81,textToken:82,keywords:83,STYLE:84,LINKSTYLE:85,CLASSDEF:86,CLASS:87,CLICK:88,DOWN:89,UP:90,textNoTagsToken:91,stylesOpt:92,"idString[vertex]":93,"idString[class]":94,CALLBACKNAME:95,CALLBACKARGS:96,HREF:97,LINK_TARGET:98,"STR[link]":99,"STR[tooltip]":100,alphaNum:101,DEFAULT:102,numList:103,INTERPOLATE:104,NUM:105,COMMA:106,style:107,styleComponent:108,NODE_STRING:109,UNIT:110,BRKT:111,PCT:112,idStringToken:113,MINUS:114,MULT:115,UNICODE_TEXT:116,TEXT:117,TAGSTART:118,EDGE_TEXT:119,alphaNumToken:120,direction_tb:121,direction_bt:122,direction_rl:123,direction_lr:124,direction_td:125,$accept:0,$end:1},terminals_:{2:"error",8:"SEMI",9:"NEWLINE",10:"SPACE",11:"EOF",12:"GRAPH",13:"NODIR",14:"DIR",27:"subgraph",29:"SQS",31:"SQE",32:"end",34:"acc_title",35:"acc_title_value",36:"acc_descr",37:"acc_descr_value",38:"acc_descr_multiline_value",40:"SHAPE_DATA",44:"AMP",46:"STYLE_SEPARATOR",48:"DOUBLECIRCLESTART",49:"DOUBLECIRCLEEND",50:"PS",51:"PE",52:"(-",53:"-)",54:"STADIUMSTART",55:"STADIUMEND",56:"SUBROUTINESTART",57:"SUBROUTINEEND",58:"VERTEX_WITH_PROPS_START",59:"NODE_STRING[field]",60:"COLON",61:"NODE_STRING[value]",62:"PIPE",63:"CYLINDERSTART",64:"CYLINDEREND",65:"DIAMOND_START",66:"DIAMOND_STOP",67:"TAGEND",68:"TRAPSTART",69:"TRAPEND",70:"INVTRAPSTART",71:"INVTRAPEND",74:"TESTSTR",75:"START_LINK",77:"LINK",78:"LINK_ID",80:"STR",81:"MD_STR",84:"STYLE",85:"LINKSTYLE",86:"CLASSDEF",87:"CLASS",88:"CLICK",89:"DOWN",90:"UP",93:"idString[vertex]",94:"idString[class]",95:"CALLBACKNAME",96:"CALLBACKARGS",97:"HREF",98:"LINK_TARGET",99:"STR[link]",100:"STR[tooltip]",102:"DEFAULT",104:"INTERPOLATE",105:"NUM",106:"COMMA",109:"NODE_STRING",110:"UNIT",111:"BRKT",112:"PCT",114:"MINUS",115:"MULT",116:"UNICODE_TEXT",117:"TEXT",118:"TAGSTART",119:"EDGE_TEXT",121:"direction_tb",122:"direction_bt",123:"direction_rl",124:"direction_lr",125:"direction_td"},productions_:[0,[3,2],[5,0],[5,2],[6,1],[6,1],[6,1],[6,1],[6,1],[4,2],[4,2],[4,2],[4,3],[16,2],[16,1],[17,1],[17,1],[17,1],[15,1],[15,1],[15,2],[19,2],[19,2],[19,1],[19,1],[18,2],[18,1],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[7,9],[7,6],[7,4],[7,1],[7,2],[7,2],[7,1],[21,1],[21,1],[21,1],[39,2],[39,1],[20,4],[20,3],[20,4],[20,2],[20,2],[20,1],[42,1],[42,6],[42,5],[43,1],[43,3],[45,4],[45,4],[45,6],[45,4],[45,4],[45,4],[45,8],[45,4],[45,4],[45,4],[45,6],[45,4],[45,4],[45,4],[45,4],[45,4],[45,1],[41,2],[41,3],[41,3],[41,1],[41,3],[41,4],[76,1],[76,2],[76,1],[76,1],[72,1],[72,2],[73,3],[30,1],[30,2],[30,1],[30,1],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[28,1],[28,2],[28,1],[28,1],[24,5],[25,5],[26,2],[26,4],[26,3],[26,5],[26,3],[26,5],[26,5],[26,7],[26,2],[26,4],[26,2],[26,4],[26,4],[26,6],[22,5],[23,5],[23,5],[23,9],[23,9],[23,7],[23,7],[103,1],[103,3],[92,1],[92,3],[107,1],[107,2],[108,1],[108,1],[108,1],[108,1],[108,1],[108,1],[108,1],[108,1],[113,1],[113,1],[113,1],[113,1],[113,1],[113,1],[113,1],[113,1],[113,1],[113,1],[113,1],[82,1],[82,1],[82,1],[82,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[79,1],[79,1],[120,1],[120,1],[120,1],[120,1],[120,1],[120,1],[120,1],[120,1],[120,1],[120,1],[120,1],[47,1],[47,2],[101,1],[101,2],[33,1],[33,1],[33,1],[33,1],[33,1]],performAction:m(function(h,p,g,l,_,t,P1){var e=t.length-1;switch(_){case 2:this.$=[];break;case 3:(!Array.isArray(t[e])||t[e].length>0)&&t[e-1].push(t[e]),this.$=t[e-1];break;case 4:case 183:this.$=t[e];break;case 11:l.setDirection("TB"),this.$="TB";break;case 12:l.setDirection(t[e-1]),this.$=t[e-1];break;case 27:this.$=t[e-1].nodes;break;case 28:case 29:case 30:case 31:case 32:this.$=[];break;case 33:this.$=l.addSubGraph(t[e-6],t[e-1],t[e-4]);break;case 34:this.$=l.addSubGraph(t[e-3],t[e-1],t[e-3]);break;case 35:this.$=l.addSubGraph(void 0,t[e-1],void 0);break;case 37:this.$=t[e].trim(),l.setAccTitle(this.$);break;case 38:case 39:this.$=t[e].trim(),l.setAccDescription(this.$);break;case 43:this.$=t[e-1]+t[e];break;case 44:this.$=t[e];break;case 45:l.addVertex(t[e-1][t[e-1].length-1],void 0,void 0,void 0,void 0,void 0,void 0,t[e]),l.addLink(t[e-3].stmt,t[e-1],t[e-2]),this.$={stmt:t[e-1],nodes:t[e-1].concat(t[e-3].nodes)};break;case 46:l.addLink(t[e-2].stmt,t[e],t[e-1]),this.$={stmt:t[e],nodes:t[e].concat(t[e-2].nodes)};break;case 47:l.addLink(t[e-3].stmt,t[e-1],t[e-2]),this.$={stmt:t[e-1],nodes:t[e-1].concat(t[e-3].nodes)};break;case 48:this.$={stmt:t[e-1],nodes:t[e-1]};break;case 49:l.addVertex(t[e-1][t[e-1].length-1],void 0,void 0,void 0,void 0,void 0,void 0,t[e]),this.$={stmt:t[e-1],nodes:t[e-1],shapeData:t[e]};break;case 50:this.$={stmt:t[e],nodes:t[e]};break;case 51:this.$=[t[e]];break;case 52:l.addVertex(t[e-5][t[e-5].length-1],void 0,void 0,void 0,void 0,void 0,void 0,t[e-4]),this.$=t[e-5].concat(t[e]);break;case 53:this.$=t[e-4].concat(t[e]);break;case 54:this.$=t[e];break;case 55:this.$=t[e-2],l.setClass(t[e-2],t[e]);break;case 56:this.$=t[e-3],l.addVertex(t[e-3],t[e-1],"square");break;case 57:this.$=t[e-3],l.addVertex(t[e-3],t[e-1],"doublecircle");break;case 58:this.$=t[e-5],l.addVertex(t[e-5],t[e-2],"circle");break;case 59:this.$=t[e-3],l.addVertex(t[e-3],t[e-1],"ellipse");break;case 60:this.$=t[e-3],l.addVertex(t[e-3],t[e-1],"stadium");break;case 61:this.$=t[e-3],l.addVertex(t[e-3],t[e-1],"subroutine");break;case 62:this.$=t[e-7],l.addVertex(t[e-7],t[e-1],"rect",void 0,void 0,void 0,Object.fromEntries([[t[e-5],t[e-3]]]));break;case 63:this.$=t[e-3],l.addVertex(t[e-3],t[e-1],"cylinder");break;case 64:this.$=t[e-3],l.addVertex(t[e-3],t[e-1],"round");break;case 65:this.$=t[e-3],l.addVertex(t[e-3],t[e-1],"diamond");break;case 66:this.$=t[e-5],l.addVertex(t[e-5],t[e-2],"hexagon");break;case 67:this.$=t[e-3],l.addVertex(t[e-3],t[e-1],"odd");break;case 68:this.$=t[e-3],l.addVertex(t[e-3],t[e-1],"trapezoid");break;case 69:this.$=t[e-3],l.addVertex(t[e-3],t[e-1],"inv_trapezoid");break;case 70:this.$=t[e-3],l.addVertex(t[e-3],t[e-1],"lean_right");break;case 71:this.$=t[e-3],l.addVertex(t[e-3],t[e-1],"lean_left");break;case 72:this.$=t[e],l.addVertex(t[e]);break;case 73:t[e-1].text=t[e],this.$=t[e-1];break;case 74:case 75:t[e-2].text=t[e-1],this.$=t[e-2];break;case 76:this.$=t[e];break;case 77:var v=l.destructLink(t[e],t[e-2]);this.$={type:v.type,stroke:v.stroke,length:v.length,text:t[e-1]};break;case 78:var v=l.destructLink(t[e],t[e-2]);this.$={type:v.type,stroke:v.stroke,length:v.length,text:t[e-1],id:t[e-3]};break;case 79:this.$={text:t[e],type:"text"};break;case 80:this.$={text:t[e-1].text+""+t[e],type:t[e-1].type};break;case 81:this.$={text:t[e],type:"string"};break;case 82:this.$={text:t[e],type:"markdown"};break;case 83:var v=l.destructLink(t[e]);this.$={type:v.type,stroke:v.stroke,length:v.length};break;case 84:var v=l.destructLink(t[e]);this.$={type:v.type,stroke:v.stroke,length:v.length,id:t[e-1]};break;case 85:this.$=t[e-1];break;case 86:this.$={text:t[e],type:"text"};break;case 87:this.$={text:t[e-1].text+""+t[e],type:t[e-1].type};break;case 88:this.$={text:t[e],type:"string"};break;case 89:case 104:this.$={text:t[e],type:"markdown"};break;case 101:this.$={text:t[e],type:"text"};break;case 102:this.$={text:t[e-1].text+""+t[e],type:t[e-1].type};break;case 103:this.$={text:t[e],type:"text"};break;case 105:this.$=t[e-4],l.addClass(t[e-2],t[e]);break;case 106:this.$=t[e-4],l.setClass(t[e-2],t[e]);break;case 107:case 115:this.$=t[e-1],l.setClickEvent(t[e-1],t[e]);break;case 108:case 116:this.$=t[e-3],l.setClickEvent(t[e-3],t[e-2]),l.setTooltip(t[e-3],t[e]);break;case 109:this.$=t[e-2],l.setClickEvent(t[e-2],t[e-1],t[e]);break;case 110:this.$=t[e-4],l.setClickEvent(t[e-4],t[e-3],t[e-2]),l.setTooltip(t[e-4],t[e]);break;case 111:this.$=t[e-2],l.setLink(t[e-2],t[e]);break;case 112:this.$=t[e-4],l.setLink(t[e-4],t[e-2]),l.setTooltip(t[e-4],t[e]);break;case 113:this.$=t[e-4],l.setLink(t[e-4],t[e-2],t[e]);break;case 114:this.$=t[e-6],l.setLink(t[e-6],t[e-4],t[e]),l.setTooltip(t[e-6],t[e-2]);break;case 117:this.$=t[e-1],l.setLink(t[e-1],t[e]);break;case 118:this.$=t[e-3],l.setLink(t[e-3],t[e-2]),l.setTooltip(t[e-3],t[e]);break;case 119:this.$=t[e-3],l.setLink(t[e-3],t[e-2],t[e]);break;case 120:this.$=t[e-5],l.setLink(t[e-5],t[e-4],t[e]),l.setTooltip(t[e-5],t[e-2]);break;case 121:this.$=t[e-4],l.addVertex(t[e-2],void 0,void 0,t[e]);break;case 122:this.$=t[e-4],l.updateLink([t[e-2]],t[e]);break;case 123:this.$=t[e-4],l.updateLink(t[e-2],t[e]);break;case 124:this.$=t[e-8],l.updateLinkInterpolate([t[e-6]],t[e-2]),l.updateLink([t[e-6]],t[e]);break;case 125:this.$=t[e-8],l.updateLinkInterpolate(t[e-6],t[e-2]),l.updateLink(t[e-6],t[e]);break;case 126:this.$=t[e-6],l.updateLinkInterpolate([t[e-4]],t[e]);break;case 127:this.$=t[e-6],l.updateLinkInterpolate(t[e-4],t[e]);break;case 128:case 130:this.$=[t[e]];break;case 129:case 131:t[e-2].push(t[e]),this.$=t[e-2];break;case 133:this.$=t[e-1]+t[e];break;case 181:this.$=t[e];break;case 182:this.$=t[e-1]+""+t[e];break;case 184:this.$=t[e-1]+""+t[e];break;case 185:this.$={stmt:"dir",value:"TB"};break;case 186:this.$={stmt:"dir",value:"BT"};break;case 187:this.$={stmt:"dir",value:"RL"};break;case 188:this.$={stmt:"dir",value:"LR"};break;case 189:this.$={stmt:"dir",value:"TD"};break}},"anonymous"),table:[{3:1,4:2,9:i,10:n,12:a},{1:[3]},s(u,o,{5:6}),{4:7,9:i,10:n,12:a},{4:8,9:i,10:n,12:a},{13:[1,9],14:[1,10]},{1:[2,1],6:11,7:12,8:f,9:c,10:A,11:r,20:17,22:18,23:19,24:20,25:21,26:22,27:k,33:24,34:y,36:b,38:L,42:28,43:39,44:C,45:40,47:41,60:d,84:J,85:z,86:Z,87:A1,88:M1,89:V,102:I,105:w,106:R,109:N,111:G,113:42,114:P,115:O,116:M,121:U1,122:z1,123:W1,124:j1,125:K1},s(u,[2,9]),s(u,[2,10]),s(u,[2,11]),{8:[1,55],9:[1,56],10:p1,15:54,18:57},s(E,[2,3]),s(E,[2,4]),s(E,[2,5]),s(E,[2,6]),s(E,[2,7]),s(E,[2,8]),{8:e1,9:s1,11:i1,21:59,41:60,72:64,75:[1,65],77:[1,67],78:[1,66]},{8:e1,9:s1,11:i1,21:68},{8:e1,9:s1,11:i1,21:69},{8:e1,9:s1,11:i1,21:70},{8:e1,9:s1,11:i1,21:71},{8:e1,9:s1,11:i1,21:72},{8:e1,9:s1,10:[1,73],11:i1,21:74},s(E,[2,36]),{35:[1,75]},{37:[1,76]},s(E,[2,39]),s(T1,[2,50],{18:77,39:78,10:p1,40:nt}),{10:[1,80]},{10:[1,81]},{10:[1,82]},{10:[1,83]},{14:S1,44:D1,60:x1,80:[1,87],89:y1,95:[1,84],97:[1,85],101:86,105:E1,106:F1,109:_1,111:B1,114:v1,115:L1,116:V1,120:88},s(E,[2,185]),s(E,[2,186]),s(E,[2,187]),s(E,[2,188]),s(E,[2,189]),s(k1,[2,51]),s(k1,[2,54],{46:[1,100]}),s(W,[2,72],{113:113,29:[1,101],44:C,48:[1,102],50:[1,103],52:[1,104],54:[1,105],56:[1,106],58:[1,107],60:d,63:[1,108],65:[1,109],67:[1,110],68:[1,111],70:[1,112],89:V,102:I,105:w,106:R,109:N,111:G,114:P,115:O,116:M}),s(q,[2,181]),s(q,[2,142]),s(q,[2,143]),s(q,[2,144]),s(q,[2,145]),s(q,[2,146]),s(q,[2,147]),s(q,[2,148]),s(q,[2,149]),s(q,[2,150]),s(q,[2,151]),s(q,[2,152]),s(u,[2,12]),s(u,[2,18]),s(u,[2,19]),{9:[1,114]},s(ut,[2,26],{18:115,10:p1}),s(E,[2,27]),{42:116,43:39,44:C,45:40,47:41,60:d,89:V,102:I,105:w,106:R,109:N,111:G,113:42,114:P,115:O,116:M},s(E,[2,40]),s(E,[2,41]),s(E,[2,42]),s(I1,[2,76],{73:117,62:[1,119],74:[1,118]}),{76:120,79:121,80:ot,81:lt,116:Y1,119:q1},{75:[1,126],77:[1,127]},s(ct,[2,83]),s(E,[2,28]),s(E,[2,29]),s(E,[2,30]),s(E,[2,31]),s(E,[2,32]),{10:ht,12:dt,14:pt,27:ft,28:128,32:gt,44:bt,60:At,75:kt,80:[1,130],81:[1,131],83:141,84:mt,85:Ct,86:Tt,87:St,88:Dt,89:xt,90:yt,91:129,105:Et,109:Ft,111:_t,114:Bt,115:vt,116:Lt},s(J1,o,{5:154}),s(E,[2,37]),s(E,[2,38]),s(T1,[2,48],{44:Vt}),s(T1,[2,49],{18:156,10:p1,40:It}),s(k1,[2,44]),{44:C,47:158,60:d,89:V,102:I,105:w,106:R,109:N,111:G,113:42,114:P,115:O,116:M},{102:[1,159],103:160,105:[1,161]},{44:C,47:162,60:d,89:V,102:I,105:w,106:R,109:N,111:G,113:42,114:P,115:O,116:M},{44:C,47:163,60:d,89:V,102:I,105:w,106:R,109:N,111:G,113:42,114:P,115:O,116:M},s(B,[2,107],{10:[1,164],96:[1,165]}),{80:[1,166]},s(B,[2,115],{120:168,10:[1,167],14:S1,44:D1,60:x1,89:y1,105:E1,106:F1,109:_1,111:B1,114:v1,115:L1,116:V1}),s(B,[2,117],{10:[1,169]}),s(H,[2,183]),s(H,[2,170]),s(H,[2,171]),s(H,[2,172]),s(H,[2,173]),s(H,[2,174]),s(H,[2,175]),s(H,[2,176]),s(H,[2,177]),s(H,[2,178]),s(H,[2,179]),s(H,[2,180]),{44:C,47:170,60:d,89:V,102:I,105:w,106:R,109:N,111:G,113:42,114:P,115:O,116:M},{30:171,67:T,80:j,81:K,82:172,116:S,117:D,118:x},{30:179,67:T,80:j,81:K,82:172,116:S,117:D,118:x},{30:181,50:[1,180],67:T,80:j,81:K,82:172,116:S,117:D,118:x},{30:182,67:T,80:j,81:K,82:172,116:S,117:D,118:x},{30:183,67:T,80:j,81:K,82:172,116:S,117:D,118:x},{30:184,67:T,80:j,81:K,82:172,116:S,117:D,118:x},{109:[1,185]},{30:186,67:T,80:j,81:K,82:172,116:S,117:D,118:x},{30:187,65:[1,188],67:T,80:j,81:K,82:172,116:S,117:D,118:x},{30:189,67:T,80:j,81:K,82:172,116:S,117:D,118:x},{30:190,67:T,80:j,81:K,82:172,116:S,117:D,118:x},{30:191,67:T,80:j,81:K,82:172,116:S,117:D,118:x},s(q,[2,182]),s(u,[2,20]),s(ut,[2,25]),s(T1,[2,46],{39:192,18:193,10:p1,40:nt}),s(I1,[2,73],{10:[1,194]}),{10:[1,195]},{30:196,67:T,80:j,81:K,82:172,116:S,117:D,118:x},{77:[1,197],79:198,116:Y1,119:q1},s(w1,[2,79]),s(w1,[2,81]),s(w1,[2,82]),s(w1,[2,168]),s(w1,[2,169]),{76:199,79:121,80:ot,81:lt,116:Y1,119:q1},s(ct,[2,84]),{8:e1,9:s1,10:ht,11:i1,12:dt,14:pt,21:201,27:ft,29:[1,200],32:gt,44:bt,60:At,75:kt,83:141,84:mt,85:Ct,86:Tt,87:St,88:Dt,89:xt,90:yt,91:202,105:Et,109:Ft,111:_t,114:Bt,115:vt,116:Lt},s(F,[2,101]),s(F,[2,103]),s(F,[2,104]),s(F,[2,157]),s(F,[2,158]),s(F,[2,159]),s(F,[2,160]),s(F,[2,161]),s(F,[2,162]),s(F,[2,163]),s(F,[2,164]),s(F,[2,165]),s(F,[2,166]),s(F,[2,167]),s(F,[2,90]),s(F,[2,91]),s(F,[2,92]),s(F,[2,93]),s(F,[2,94]),s(F,[2,95]),s(F,[2,96]),s(F,[2,97]),s(F,[2,98]),s(F,[2,99]),s(F,[2,100]),{6:11,7:12,8:f,9:c,10:A,11:r,20:17,22:18,23:19,24:20,25:21,26:22,27:k,32:[1,203],33:24,34:y,36:b,38:L,42:28,43:39,44:C,45:40,47:41,60:d,84:J,85:z,86:Z,87:A1,88:M1,89:V,102:I,105:w,106:R,109:N,111:G,113:42,114:P,115:O,116:M,121:U1,122:z1,123:W1,124:j1,125:K1},{10:p1,18:204},{44:[1,205]},s(k1,[2,43]),{10:[1,206],44:C,60:d,89:V,102:I,105:w,106:R,109:N,111:G,113:113,114:P,115:O,116:M},{10:[1,207]},{10:[1,208],106:[1,209]},s(wt,[2,128]),{10:[1,210],44:C,60:d,89:V,102:I,105:w,106:R,109:N,111:G,113:113,114:P,115:O,116:M},{10:[1,211],44:C,60:d,89:V,102:I,105:w,106:R,109:N,111:G,113:113,114:P,115:O,116:M},{80:[1,212]},s(B,[2,109],{10:[1,213]}),s(B,[2,111],{10:[1,214]}),{80:[1,215]},s(H,[2,184]),{80:[1,216],98:[1,217]},s(k1,[2,55],{113:113,44:C,60:d,89:V,102:I,105:w,106:R,109:N,111:G,114:P,115:O,116:M}),{31:[1,218],67:T,82:219,116:S,117:D,118:x},s(f1,[2,86]),s(f1,[2,88]),s(f1,[2,89]),s(f1,[2,153]),s(f1,[2,154]),s(f1,[2,155]),s(f1,[2,156]),{49:[1,220],67:T,82:219,116:S,117:D,118:x},{30:221,67:T,80:j,81:K,82:172,116:S,117:D,118:x},{51:[1,222],67:T,82:219,116:S,117:D,118:x},{53:[1,223],67:T,82:219,116:S,117:D,118:x},{55:[1,224],67:T,82:219,116:S,117:D,118:x},{57:[1,225],67:T,82:219,116:S,117:D,118:x},{60:[1,226]},{64:[1,227],67:T,82:219,116:S,117:D,118:x},{66:[1,228],67:T,82:219,116:S,117:D,118:x},{30:229,67:T,80:j,81:K,82:172,116:S,117:D,118:x},{31:[1,230],67:T,82:219,116:S,117:D,118:x},{67:T,69:[1,231],71:[1,232],82:219,116:S,117:D,118:x},{67:T,69:[1,234],71:[1,233],82:219,116:S,117:D,118:x},s(T1,[2,45],{18:156,10:p1,40:It}),s(T1,[2,47],{44:Vt}),s(I1,[2,75]),s(I1,[2,74]),{62:[1,235],67:T,82:219,116:S,117:D,118:x},s(I1,[2,77]),s(w1,[2,80]),{77:[1,236],79:198,116:Y1,119:q1},{30:237,67:T,80:j,81:K,82:172,116:S,117:D,118:x},s(J1,o,{5:238}),s(F,[2,102]),s(E,[2,35]),{43:239,44:C,45:40,47:41,60:d,89:V,102:I,105:w,106:R,109:N,111:G,113:42,114:P,115:O,116:M},{10:p1,18:240},{10:r1,60:a1,84:n1,92:241,105:u1,107:242,108:243,109:o1,110:l1,111:c1,112:h1},{10:r1,60:a1,84:n1,92:252,104:[1,253],105:u1,107:242,108:243,109:o1,110:l1,111:c1,112:h1},{10:r1,60:a1,84:n1,92:254,104:[1,255],105:u1,107:242,108:243,109:o1,110:l1,111:c1,112:h1},{105:[1,256]},{10:r1,60:a1,84:n1,92:257,105:u1,107:242,108:243,109:o1,110:l1,111:c1,112:h1},{44:C,47:258,60:d,89:V,102:I,105:w,106:R,109:N,111:G,113:42,114:P,115:O,116:M},s(B,[2,108]),{80:[1,259]},{80:[1,260],98:[1,261]},s(B,[2,116]),s(B,[2,118],{10:[1,262]}),s(B,[2,119]),s(W,[2,56]),s(f1,[2,87]),s(W,[2,57]),{51:[1,263],67:T,82:219,116:S,117:D,118:x},s(W,[2,64]),s(W,[2,59]),s(W,[2,60]),s(W,[2,61]),{109:[1,264]},s(W,[2,63]),s(W,[2,65]),{66:[1,265],67:T,82:219,116:S,117:D,118:x},s(W,[2,67]),s(W,[2,68]),s(W,[2,70]),s(W,[2,69]),s(W,[2,71]),s([10,44,60,89,102,105,106,109,111,114,115,116],[2,85]),s(I1,[2,78]),{31:[1,266],67:T,82:219,116:S,117:D,118:x},{6:11,7:12,8:f,9:c,10:A,11:r,20:17,22:18,23:19,24:20,25:21,26:22,27:k,32:[1,267],33:24,34:y,36:b,38:L,42:28,43:39,44:C,45:40,47:41,60:d,84:J,85:z,86:Z,87:A1,88:M1,89:V,102:I,105:w,106:R,109:N,111:G,113:42,114:P,115:O,116:M,121:U1,122:z1,123:W1,124:j1,125:K1},s(k1,[2,53]),{43:268,44:C,45:40,47:41,60:d,89:V,102:I,105:w,106:R,109:N,111:G,113:42,114:P,115:O,116:M},s(B,[2,121],{106:R1}),s(Rt,[2,130],{108:270,10:r1,60:a1,84:n1,105:u1,109:o1,110:l1,111:c1,112:h1}),s($,[2,132]),s($,[2,134]),s($,[2,135]),s($,[2,136]),s($,[2,137]),s($,[2,138]),s($,[2,139]),s($,[2,140]),s($,[2,141]),s(B,[2,122],{106:R1}),{10:[1,271]},s(B,[2,123],{106:R1}),{10:[1,272]},s(wt,[2,129]),s(B,[2,105],{106:R1}),s(B,[2,106],{113:113,44:C,60:d,89:V,102:I,105:w,106:R,109:N,111:G,114:P,115:O,116:M}),s(B,[2,110]),s(B,[2,112],{10:[1,273]}),s(B,[2,113]),{98:[1,274]},{51:[1,275]},{62:[1,276]},{66:[1,277]},{8:e1,9:s1,11:i1,21:278},s(E,[2,34]),s(k1,[2,52]),{10:r1,60:a1,84:n1,105:u1,107:279,108:243,109:o1,110:l1,111:c1,112:h1},s($,[2,133]),{14:S1,44:D1,60:x1,89:y1,101:280,105:E1,106:F1,109:_1,111:B1,114:v1,115:L1,116:V1,120:88},{14:S1,44:D1,60:x1,89:y1,101:281,105:E1,106:F1,109:_1,111:B1,114:v1,115:L1,116:V1,120:88},{98:[1,282]},s(B,[2,120]),s(W,[2,58]),{30:283,67:T,80:j,81:K,82:172,116:S,117:D,118:x},s(W,[2,66]),s(J1,o,{5:284}),s(Rt,[2,131],{108:270,10:r1,60:a1,84:n1,105:u1,109:o1,110:l1,111:c1,112:h1}),s(B,[2,126],{120:168,10:[1,285],14:S1,44:D1,60:x1,89:y1,105:E1,106:F1,109:_1,111:B1,114:v1,115:L1,116:V1}),s(B,[2,127],{120:168,10:[1,286],14:S1,44:D1,60:x1,89:y1,105:E1,106:F1,109:_1,111:B1,114:v1,115:L1,116:V1}),s(B,[2,114]),{31:[1,287],67:T,82:219,116:S,117:D,118:x},{6:11,7:12,8:f,9:c,10:A,11:r,20:17,22:18,23:19,24:20,25:21,26:22,27:k,32:[1,288],33:24,34:y,36:b,38:L,42:28,43:39,44:C,45:40,47:41,60:d,84:J,85:z,86:Z,87:A1,88:M1,89:V,102:I,105:w,106:R,109:N,111:G,113:42,114:P,115:O,116:M,121:U1,122:z1,123:W1,124:j1,125:K1},{10:r1,60:a1,84:n1,92:289,105:u1,107:242,108:243,109:o1,110:l1,111:c1,112:h1},{10:r1,60:a1,84:n1,92:290,105:u1,107:242,108:243,109:o1,110:l1,111:c1,112:h1},s(W,[2,62]),s(E,[2,33]),s(B,[2,124],{106:R1}),s(B,[2,125],{106:R1})],defaultActions:{},parseError:m(function(h,p){if(p.recoverable)this.trace(h);else{var g=new Error(h);throw g.hash=p,g}},"parseError"),parse:m(function(h){var p=this,g=[0],l=[],_=[null],t=[],P1=this.table,e="",v=0,Nt=0,jt=2,Gt=1,Kt=t.slice.call(arguments,1),U=Object.create(this.lexer),m1={yy:{}};for(var $1 in this.yy)Object.prototype.hasOwnProperty.call(this.yy,$1)&&(m1.yy[$1]=this.yy[$1]);U.setInput(h,m1.yy),m1.yy.lexer=U,m1.yy.parser=this,typeof U.yylloc>"u"&&(U.yylloc={});var tt=U.yylloc;t.push(tt);var Yt=U.options&&U.options.ranges;typeof m1.yy.parseError=="function"?this.parseError=m1.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function qt(X){g.length=g.length-2*X,_.length=_.length-X,t.length=t.length-X}m(qt,"popStack");function Pt(){var X;return X=l.pop()||U.lex()||Gt,typeof X!="number"&&(X instanceof Array&&(l=X,X=l.pop()),X=p.symbols_[X]||X),X}m(Pt,"lex");for(var Y,C1,Q,et,N1={},X1,d1,Ot,Q1;;){if(C1=g[g.length-1],this.defaultActions[C1]?Q=this.defaultActions[C1]:((Y===null||typeof Y>"u")&&(Y=Pt()),Q=P1[C1]&&P1[C1][Y]),typeof Q>"u"||!Q.length||!Q[0]){var st="";Q1=[];for(X1 in P1[C1])this.terminals_[X1]&&X1>jt&&Q1.push("'"+this.terminals_[X1]+"'");U.showPosition?st="Parse error on line "+(v+1)+`:
10
- `+U.showPosition()+`
11
- Expecting `+Q1.join(", ")+", got '"+(this.terminals_[Y]||Y)+"'":st="Parse error on line "+(v+1)+": Unexpected "+(Y==Gt?"end of input":"'"+(this.terminals_[Y]||Y)+"'"),this.parseError(st,{text:U.match,token:this.terminals_[Y]||Y,line:U.yylineno,loc:tt,expected:Q1})}if(Q[0]instanceof Array&&Q.length>1)throw new Error("Parse Error: multiple actions possible at state: "+C1+", token: "+Y);switch(Q[0]){case 1:g.push(Y),_.push(U.yytext),t.push(U.yylloc),g.push(Q[1]),Y=null,Nt=U.yyleng,e=U.yytext,v=U.yylineno,tt=U.yylloc;break;case 2:if(d1=this.productions_[Q[1]][1],N1.$=_[_.length-d1],N1._$={first_line:t[t.length-(d1||1)].first_line,last_line:t[t.length-1].last_line,first_column:t[t.length-(d1||1)].first_column,last_column:t[t.length-1].last_column},Yt&&(N1._$.range=[t[t.length-(d1||1)].range[0],t[t.length-1].range[1]]),et=this.performAction.apply(N1,[e,Nt,v,m1.yy,Q[1],_,t].concat(Kt)),typeof et<"u")return et;d1&&(g=g.slice(0,-1*d1*2),_=_.slice(0,-1*d1),t=t.slice(0,-1*d1)),g.push(this.productions_[Q[1]][0]),_.push(N1.$),t.push(N1._$),Ot=P1[g[g.length-2]][g[g.length-1]],g.push(Ot);break;case 3:return!0}}return!0},"parse")},Wt=function(){var g1={EOF:1,parseError:m(function(p,g){if(this.yy.parser)this.yy.parser.parseError(p,g);else throw new Error(p)},"parseError"),setInput:m(function(h,p){return this.yy=p||this.yy||{},this._input=h,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:m(function(){var h=this._input[0];this.yytext+=h,this.yyleng++,this.offset++,this.match+=h,this.matched+=h;var p=h.match(/(?:\r\n?|\n).*/g);return p?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),h},"input"),unput:m(function(h){var p=h.length,g=h.split(/(?:\r\n?|\n)/g);this._input=h+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-p),this.offset-=p;var l=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),g.length-1&&(this.yylineno-=g.length-1);var _=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:g?(g.length===l.length?this.yylloc.first_column:0)+l[l.length-g.length].length-g[0].length:this.yylloc.first_column-p},this.options.ranges&&(this.yylloc.range=[_[0],_[0]+this.yyleng-p]),this.yyleng=this.yytext.length,this},"unput"),more:m(function(){return this._more=!0,this},"more"),reject:m(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
12
- `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:m(function(h){this.unput(this.match.slice(h))},"less"),pastInput:m(function(){var h=this.matched.substr(0,this.matched.length-this.match.length);return(h.length>20?"...":"")+h.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:m(function(){var h=this.match;return h.length<20&&(h+=this._input.substr(0,20-h.length)),(h.substr(0,20)+(h.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:m(function(){var h=this.pastInput(),p=new Array(h.length+1).join("-");return h+this.upcomingInput()+`
13
- `+p+"^"},"showPosition"),test_match:m(function(h,p){var g,l,_;if(this.options.backtrack_lexer&&(_={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(_.yylloc.range=this.yylloc.range.slice(0))),l=h[0].match(/(?:\r\n?|\n).*/g),l&&(this.yylineno+=l.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:l?l[l.length-1].length-l[l.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+h[0].length},this.yytext+=h[0],this.match+=h[0],this.matches=h,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(h[0].length),this.matched+=h[0],g=this.performAction.call(this,this.yy,this,p,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),g)return g;if(this._backtrack){for(var t in _)this[t]=_[t];return!1}return!1},"test_match"),next:m(function(){if(this.done)return this.EOF;this._input||(this.done=!0);var h,p,g,l;this._more||(this.yytext="",this.match="");for(var _=this._currentRules(),t=0;t<_.length;t++)if(g=this._input.match(this.rules[_[t]]),g&&(!p||g[0].length>p[0].length)){if(p=g,l=t,this.options.backtrack_lexer){if(h=this.test_match(g,_[t]),h!==!1)return h;if(this._backtrack){p=!1;continue}else return!1}else if(!this.options.flex)break}return p?(h=this.test_match(p,_[l]),h!==!1?h:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text.
14
- `+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:m(function(){var p=this.next();return p||this.lex()},"lex"),begin:m(function(p){this.conditionStack.push(p)},"begin"),popState:m(function(){var p=this.conditionStack.length-1;return p>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:m(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},"_currentRules"),topState:m(function(p){return p=this.conditionStack.length-1-Math.abs(p||0),p>=0?this.conditionStack[p]:"INITIAL"},"topState"),pushState:m(function(p){this.begin(p)},"pushState"),stateStackSize:m(function(){return this.conditionStack.length},"stateStackSize"),options:{},performAction:m(function(p,g,l,_){switch(l){case 0:return this.begin("acc_title"),34;case 1:return this.popState(),"acc_title_value";case 2:return this.begin("acc_descr"),36;case 3:return this.popState(),"acc_descr_value";case 4:this.begin("acc_descr_multiline");break;case 5:this.popState();break;case 6:return"acc_descr_multiline_value";case 7:return this.pushState("shapeData"),g.yytext="",40;case 8:return this.pushState("shapeDataStr"),40;case 9:return this.popState(),40;case 10:const t=/\n\s*/g;return g.yytext=g.yytext.replace(t,"<br/>"),40;case 11:return 40;case 12:this.popState();break;case 13:this.begin("callbackname");break;case 14:this.popState();break;case 15:this.popState(),this.begin("callbackargs");break;case 16:return 95;case 17:this.popState();break;case 18:return 96;case 19:return"MD_STR";case 20:this.popState();break;case 21:this.begin("md_string");break;case 22:return"STR";case 23:this.popState();break;case 24:this.pushState("string");break;case 25:return 84;case 26:return 102;case 27:return 85;case 28:return 104;case 29:return 86;case 30:return 87;case 31:return 97;case 32:this.begin("click");break;case 33:this.popState();break;case 34:return 88;case 35:return p.lex.firstGraph()&&this.begin("dir"),12;case 36:return p.lex.firstGraph()&&this.begin("dir"),12;case 37:return p.lex.firstGraph()&&this.begin("dir"),12;case 38:return 27;case 39:return 32;case 40:return 98;case 41:return 98;case 42:return 98;case 43:return 98;case 44:return this.popState(),13;case 45:return this.popState(),14;case 46:return this.popState(),14;case 47:return this.popState(),14;case 48:return this.popState(),14;case 49:return this.popState(),14;case 50:return this.popState(),14;case 51:return this.popState(),14;case 52:return this.popState(),14;case 53:return this.popState(),14;case 54:return this.popState(),14;case 55:return 121;case 56:return 122;case 57:return 123;case 58:return 124;case 59:return 125;case 60:return 78;case 61:return 105;case 62:return 111;case 63:return 46;case 64:return 60;case 65:return 44;case 66:return 8;case 67:return 106;case 68:return 115;case 69:return this.popState(),77;case 70:return this.pushState("edgeText"),75;case 71:return 119;case 72:return this.popState(),77;case 73:return this.pushState("thickEdgeText"),75;case 74:return 119;case 75:return this.popState(),77;case 76:return this.pushState("dottedEdgeText"),75;case 77:return 119;case 78:return 77;case 79:return this.popState(),53;case 80:return"TEXT";case 81:return this.pushState("ellipseText"),52;case 82:return this.popState(),55;case 83:return this.pushState("text"),54;case 84:return this.popState(),57;case 85:return this.pushState("text"),56;case 86:return 58;case 87:return this.pushState("text"),67;case 88:return this.popState(),64;case 89:return this.pushState("text"),63;case 90:return this.popState(),49;case 91:return this.pushState("text"),48;case 92:return this.popState(),69;case 93:return this.popState(),71;case 94:return 117;case 95:return this.pushState("trapText"),68;case 96:return this.pushState("trapText"),70;case 97:return 118;case 98:return 67;case 99:return 90;case 100:return"SEP";case 101:return 89;case 102:return 115;case 103:return 111;case 104:return 44;case 105:return 109;case 106:return 114;case 107:return 116;case 108:return this.popState(),62;case 109:return this.pushState("text"),62;case 110:return this.popState(),51;case 111:return this.pushState("text"),50;case 112:return this.popState(),31;case 113:return this.pushState("text"),29;case 114:return this.popState(),66;case 115:return this.pushState("text"),65;case 116:return"TEXT";case 117:return"QUOTE";case 118:return 9;case 119:return 10;case 120:return 11}},"anonymous"),rules:[/^(?:accTitle\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*\{\s*)/,/^(?:[\}])/,/^(?:[^\}]*)/,/^(?:@\{)/,/^(?:["])/,/^(?:["])/,/^(?:[^\"]+)/,/^(?:[^}^"]+)/,/^(?:\})/,/^(?:call[\s]+)/,/^(?:\([\s]*\))/,/^(?:\()/,/^(?:[^(]*)/,/^(?:\))/,/^(?:[^)]*)/,/^(?:[^`"]+)/,/^(?:[`]["])/,/^(?:["][`])/,/^(?:[^"]+)/,/^(?:["])/,/^(?:["])/,/^(?:style\b)/,/^(?:default\b)/,/^(?:linkStyle\b)/,/^(?:interpolate\b)/,/^(?:classDef\b)/,/^(?:class\b)/,/^(?:href[\s])/,/^(?:click[\s]+)/,/^(?:[\s\n])/,/^(?:[^\s\n]*)/,/^(?:flowchart-elk\b)/,/^(?:graph\b)/,/^(?:flowchart\b)/,/^(?:subgraph\b)/,/^(?:end\b\s*)/,/^(?:_self\b)/,/^(?:_blank\b)/,/^(?:_parent\b)/,/^(?:_top\b)/,/^(?:(\r?\n)*\s*\n)/,/^(?:\s*LR\b)/,/^(?:\s*RL\b)/,/^(?:\s*TB\b)/,/^(?:\s*BT\b)/,/^(?:\s*TD\b)/,/^(?:\s*BR\b)/,/^(?:\s*<)/,/^(?:\s*>)/,/^(?:\s*\^)/,/^(?:\s*v\b)/,/^(?:.*direction\s+TB[^\n]*)/,/^(?:.*direction\s+BT[^\n]*)/,/^(?:.*direction\s+RL[^\n]*)/,/^(?:.*direction\s+LR[^\n]*)/,/^(?:.*direction\s+TD[^\n]*)/,/^(?:[^\s\"]+@(?=[^\{\"]))/,/^(?:[0-9]+)/,/^(?:#)/,/^(?::::)/,/^(?::)/,/^(?:&)/,/^(?:;)/,/^(?:,)/,/^(?:\*)/,/^(?:\s*[xo<]?--+[-xo>]\s*)/,/^(?:\s*[xo<]?--\s*)/,/^(?:[^-]|-(?!-)+)/,/^(?:\s*[xo<]?==+[=xo>]\s*)/,/^(?:\s*[xo<]?==\s*)/,/^(?:[^=]|=(?!))/,/^(?:\s*[xo<]?-?\.+-[xo>]?\s*)/,/^(?:\s*[xo<]?-\.\s*)/,/^(?:[^\.]|\.(?!))/,/^(?:\s*~~[\~]+\s*)/,/^(?:[-/\)][\)])/,/^(?:[^\(\)\[\]\{\}]|!\)+)/,/^(?:\(-)/,/^(?:\]\))/,/^(?:\(\[)/,/^(?:\]\])/,/^(?:\[\[)/,/^(?:\[\|)/,/^(?:>)/,/^(?:\)\])/,/^(?:\[\()/,/^(?:\)\)\))/,/^(?:\(\(\()/,/^(?:[\\(?=\])][\]])/,/^(?:\/(?=\])\])/,/^(?:\/(?!\])|\\(?!\])|[^\\\[\]\(\)\{\}\/]+)/,/^(?:\[\/)/,/^(?:\[\\)/,/^(?:<)/,/^(?:>)/,/^(?:\^)/,/^(?:\\\|)/,/^(?:v\b)/,/^(?:\*)/,/^(?:#)/,/^(?:&)/,/^(?:([A-Za-z0-9!"\#$%&'*+\.`?\\_\/]|-(?=[^\>\-\.])|(?!))+)/,/^(?:-)/,/^(?:[\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6]|[\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377]|[\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5]|[\u03F7-\u0481\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA]|[\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE]|[\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA]|[\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0]|[\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977]|[\u0979-\u097F\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2]|[\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A]|[\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39]|[\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8]|[\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C]|[\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C]|[\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99]|[\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0]|[\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D]|[\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3]|[\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10]|[\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1]|[\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81]|[\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3]|[\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6]|[\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A]|[\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081]|[\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D]|[\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0]|[\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310]|[\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C]|[\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u1700-\u170C\u170E-\u1711]|[\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7]|[\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C]|[\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16]|[\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF]|[\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC]|[\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D]|[\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D]|[\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3]|[\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F]|[\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128]|[\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184]|[\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3]|[\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6]|[\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE]|[\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C]|[\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D]|[\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC]|[\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B]|[\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788]|[\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805]|[\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB]|[\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28]|[\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5]|[\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4]|[\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E]|[\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D]|[\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36]|[\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D]|[\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC]|[\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF]|[\uFFD2-\uFFD7\uFFDA-\uFFDC])/,/^(?:\|)/,/^(?:\|)/,/^(?:\))/,/^(?:\()/,/^(?:\])/,/^(?:\[)/,/^(?:(\}))/,/^(?:\{)/,/^(?:[^\[\]\(\)\{\}\|\"]+)/,/^(?:")/,/^(?:(\r?\n)+)/,/^(?:\s)/,/^(?:$)/],conditions:{shapeDataEndBracket:{rules:[21,24,78,81,83,85,89,91,95,96,109,111,113,115],inclusive:!1},shapeDataStr:{rules:[9,10,21,24,78,81,83,85,89,91,95,96,109,111,113,115],inclusive:!1},shapeData:{rules:[8,11,12,21,24,78,81,83,85,89,91,95,96,109,111,113,115],inclusive:!1},callbackargs:{rules:[17,18,21,24,78,81,83,85,89,91,95,96,109,111,113,115],inclusive:!1},callbackname:{rules:[14,15,16,21,24,78,81,83,85,89,91,95,96,109,111,113,115],inclusive:!1},href:{rules:[21,24,78,81,83,85,89,91,95,96,109,111,113,115],inclusive:!1},click:{rules:[21,24,33,34,78,81,83,85,89,91,95,96,109,111,113,115],inclusive:!1},dottedEdgeText:{rules:[21,24,75,77,78,81,83,85,89,91,95,96,109,111,113,115],inclusive:!1},thickEdgeText:{rules:[21,24,72,74,78,81,83,85,89,91,95,96,109,111,113,115],inclusive:!1},edgeText:{rules:[21,24,69,71,78,81,83,85,89,91,95,96,109,111,113,115],inclusive:!1},trapText:{rules:[21,24,78,81,83,85,89,91,92,93,94,95,96,109,111,113,115],inclusive:!1},ellipseText:{rules:[21,24,78,79,80,81,83,85,89,91,95,96,109,111,113,115],inclusive:!1},text:{rules:[21,24,78,81,82,83,84,85,88,89,90,91,95,96,108,109,110,111,112,113,114,115,116],inclusive:!1},vertex:{rules:[21,24,78,81,83,85,89,91,95,96,109,111,113,115],inclusive:!1},dir:{rules:[21,24,44,45,46,47,48,49,50,51,52,53,54,78,81,83,85,89,91,95,96,109,111,113,115],inclusive:!1},acc_descr_multiline:{rules:[5,6,21,24,78,81,83,85,89,91,95,96,109,111,113,115],inclusive:!1},acc_descr:{rules:[3,21,24,78,81,83,85,89,91,95,96,109,111,113,115],inclusive:!1},acc_title:{rules:[1,21,24,78,81,83,85,89,91,95,96,109,111,113,115],inclusive:!1},md_string:{rules:[19,20,21,24,78,81,83,85,89,91,95,96,109,111,113,115],inclusive:!1},string:{rules:[21,22,23,24,78,81,83,85,89,91,95,96,109,111,113,115],inclusive:!1},INITIAL:{rules:[0,2,4,7,13,21,24,25,26,27,28,29,30,31,32,35,36,37,38,39,40,41,42,43,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,72,73,75,76,78,81,83,85,86,87,89,91,95,96,97,98,99,100,101,102,103,104,105,106,107,109,111,113,115,117,118,119,120],inclusive:!0}}};return g1}();Z1.lexer=Wt;function H1(){this.yy={}}return m(H1,"Parser"),H1.prototype=Z1,Z1.Parser=H1,new H1}();at.parser=at;var Ut=at,zt=Object.assign({},Ut);zt.parse=s=>{const i=s.replace(/}\s*\n/g,`}
15
- `);return Ut.parse(i)};var Ce=zt,Te=m((s,i)=>{const n=fe,a=n(s,"r"),u=n(s,"g"),o=n(s,"b");return ce(a,u,o,i)},"fade"),Se=m(s=>`.label {
16
- font-family: ${s.fontFamily};
17
- color: ${s.nodeTextColor||s.textColor};
18
- }
19
- .cluster-label text {
20
- fill: ${s.titleColor};
21
- }
22
- .cluster-label span {
23
- color: ${s.titleColor};
24
- }
25
- .cluster-label span p {
26
- background-color: transparent;
27
- }
28
-
29
- .label text,span {
30
- fill: ${s.nodeTextColor||s.textColor};
31
- color: ${s.nodeTextColor||s.textColor};
32
- }
33
-
34
- .node rect,
35
- .node circle,
36
- .node ellipse,
37
- .node polygon,
38
- .node path {
39
- fill: ${s.mainBkg};
40
- stroke: ${s.nodeBorder};
41
- stroke-width: 1px;
42
- }
43
- .rough-node .label text , .node .label text, .image-shape .label, .icon-shape .label {
44
- text-anchor: middle;
45
- }
46
- // .flowchart-label .text-outer-tspan {
47
- // text-anchor: middle;
48
- // }
49
- // .flowchart-label .text-inner-tspan {
50
- // text-anchor: start;
51
- // }
52
-
53
- .node .katex path {
54
- fill: #000;
55
- stroke: #000;
56
- stroke-width: 1px;
57
- }
58
-
59
- .rough-node .label,.node .label, .image-shape .label, .icon-shape .label {
60
- text-align: center;
61
- }
62
- .node.clickable {
63
- cursor: pointer;
64
- }
65
-
66
-
67
- .root .anchor path {
68
- fill: ${s.lineColor} !important;
69
- stroke-width: 0;
70
- stroke: ${s.lineColor};
71
- }
72
-
73
- .arrowheadPath {
74
- fill: ${s.arrowheadColor};
75
- }
76
-
77
- .edgePath .path {
78
- stroke: ${s.lineColor};
79
- stroke-width: 2.0px;
80
- }
81
-
82
- .flowchart-link {
83
- stroke: ${s.lineColor};
84
- fill: none;
85
- }
86
-
87
- .edgeLabel {
88
- background-color: ${s.edgeLabelBackground};
89
- p {
90
- background-color: ${s.edgeLabelBackground};
91
- }
92
- rect {
93
- opacity: 0.5;
94
- background-color: ${s.edgeLabelBackground};
95
- fill: ${s.edgeLabelBackground};
96
- }
97
- text-align: center;
98
- }
99
-
100
- /* For html labels only */
101
- .labelBkg {
102
- background-color: ${Te(s.edgeLabelBackground,.5)};
103
- // background-color:
104
- }
105
-
106
- .cluster rect {
107
- fill: ${s.clusterBkg};
108
- stroke: ${s.clusterBorder};
109
- stroke-width: 1px;
110
- }
111
-
112
- .cluster text {
113
- fill: ${s.titleColor};
114
- }
115
-
116
- .cluster span {
117
- color: ${s.titleColor};
118
- }
119
- /* .cluster div {
120
- color: ${s.titleColor};
121
- } */
122
-
123
- div.mermaidTooltip {
124
- position: absolute;
125
- text-align: center;
126
- max-width: 200px;
127
- padding: 2px;
128
- font-family: ${s.fontFamily};
129
- font-size: 12px;
130
- background: ${s.tertiaryColor};
131
- border: 1px solid ${s.border2};
132
- border-radius: 2px;
133
- pointer-events: none;
134
- z-index: 100;
135
- }
136
-
137
- .flowchartTitleText {
138
- text-anchor: middle;
139
- font-size: 18px;
140
- fill: ${s.textColor};
141
- }
142
-
143
- rect.text {
144
- fill: none;
145
- stroke-width: 0;
146
- }
147
-
148
- .icon-shape, .image-shape {
149
- background-color: ${s.edgeLabelBackground};
150
- p {
151
- background-color: ${s.edgeLabelBackground};
152
- padding: 2px;
153
- }
154
- .label rect {
155
- opacity: 0.5;
156
- background-color: ${s.edgeLabelBackground};
157
- fill: ${s.edgeLabelBackground};
158
- }
159
- text-align: center;
160
- }
161
- ${Ht()}
162
- `,"getStyles"),De=Se,Le={parser:Ce,get db(){return new be},renderer:me,styles:De,init:m(s=>{s.flowchart||(s.flowchart={}),s.layout&&Mt({layout:s.layout}),s.flowchart.arrowMarkerAbsolute=s.arrowMarkerAbsolute,Mt({flowchart:{arrowMarkerAbsolute:s.arrowMarkerAbsolute}})},"init")};export{Le as diagram};
@@ -1,3 +0,0 @@
1
- import{d as M,c3 as pe,b as C,w as l,O as re,u as t,f as ce,o as s,c as N,b9 as te,n as O,h as e,i as p,e as fe,j as W,t as b,r as $,m as u,C as n,G as V,H as I,aa as A,aI as ve,aJ as ge,A as ue,ba as _e,aK as be,ca as he,ae as ie,B as ye,s as xe,x as Ce,y as $e,b3 as J,b1 as ke,b4 as Ne,b5 as Te,b6 as we,b8 as Ee,b2 as Pe,z as Se,q as De,E as je,Q as Re,K as de,p as Be,g as X,_ as ze,M as Ie,a8 as Le}from"./BjU0QAaV.js";import{C as Oe,a as Ue,b as Ve}from"./CEza5aSi.js";import{_ as Ae}from"./EJAhTysQ.js";import{u as Me,_ as Ge}from"./Ceqb0tnW.js";import{u as qe}from"./BWSKnXVC.js";import"./DNX5WjhQ.js";import"./Bdtn2mn5.js";import"./CPipTUnI.js";const Fe=M({__name:"Collapsible",props:{defaultOpen:{type:Boolean},open:{type:Boolean},disabled:{type:Boolean},unmountOnHide:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["update:open"],setup(w,{emit:h}){const a=pe(w,h);return(k,g)=>(s(),C(t(Oe),re({"data-slot":"collapsible"},t(a)),{default:l(({open:T})=>[ce(k.$slots,"default",{open:T})]),_:3},16))}}),He=M({__name:"CollapsibleContent",props:{forceMount:{type:Boolean},asChild:{type:Boolean},as:{}},setup(w){const h=w;return(f,d)=>(s(),C(t(Ue),re({"data-slot":"collapsible-content"},h),{default:l(()=>[ce(f.$slots,"default")]),_:3},16))}}),Ke=M({__name:"CollapsibleTrigger",props:{asChild:{type:Boolean},as:{}},setup(w){const h=w;return(f,d)=>(s(),C(t(Ve),re({"data-slot":"collapsible-trigger"},h),{default:l(()=>[ce(f.$slots,"default")]),_:3},16))}}),me=M({__name:"PermissionBadge",props:{label:{},value:{type:[Boolean,String]},type:{default:"boolean"}},setup(w){const h=w,f=N(()=>h.type==="boolean"),d=N(()=>h.value===!0);return(a,k)=>{const g=W,T=te;return t(f)?(s(),C(T,{key:0,variant:"outline",class:O(["text-xs items-center flex gap-1 ",!t(d)&&"opacity-50"])},{default:l(()=>[e(g,{name:t(d)?"lucide:check":"lucide:x",class:O(t(fe)("size-3",t(d)&&"text-green-500"))},null,8,["name","class"]),p(" "+b(a.label),1)]),_:1},8,["class"])):(s(),C(T,{key:1,variant:"secondary",class:"text-xs"},{default:l(()=>[p(b(a.label)+": "+b(a.value),1)]),_:1}))}}}),Qe={class:"rounded-md border"},Je={key:1,class:"ml-auto flex gap-1"},Xe={key:0,class:"border-t bg-muted/20 p-3"},We={class:"px-3 py-2 border-b border-border/50"},Ye={class:"flex flex-wrap gap-2"},Ze={class:"flex border-b border-border/50"},es=["onClick"],ss={class:"max-h-[350px] overflow-y-auto"},ts={key:0,class:"flex flex-col items-center justify-center py-6 text-muted-foreground"},ns={class:"text-xs"},as={key:1,class:"divide-y divide-border/50"},os={class:"flex-1 min-w-0"},ls={class:"text-xs font-medium truncate"},is={class:"text-muted-foreground"},rs={class:"flex items-center gap-0.5"},cs={key:1,class:"flex items-center gap-2 p-3 text-xs text-muted-foreground bg-muted/30 rounded"},us=M({__name:"DatabasePermissionCard",props:{database:{},isExpanded:{type:Boolean},isCurrentDatabase:{type:Boolean},permissions:{}},emits:["toggle","updatePermission"],setup(w,{emit:h}){const f=w,d=h,a=$("tables"),k=[{id:"schemas",label:"Schemas",icon:"hugeicons:folder-02"},{id:"tables",label:"Tables",icon:"hugeicons:grid-table"},{id:"views",label:"Views",icon:"hugeicons:property-view"},{id:"functions",label:"Functions",icon:"gravity-ui:function"}],g=N(()=>{if(!f.permissions)return[];switch(a.value){case"schemas":return f.permissions.schemaPermissions;case"tables":return f.permissions.tablePermissions;case"views":return f.permissions.viewPermissions;case"functions":return f.permissions.functionPermissions;default:return[]}}),T=N(()=>{var c,m,_,E;return{tables:((c=f.permissions)==null?void 0:c.tablePermissions.length)??0,schemas:((m=f.permissions)==null?void 0:m.schemaPermissions.length)??0,views:((_=f.permissions)==null?void 0:_.viewPermissions.length)??0,functions:((E=f.permissions)==null?void 0:E.functionPermissions.length)??0}}),y=c=>{switch(c){case"table":return"hugeicons:grid-table";case"schema":return"hugeicons:folder-02";case"view":return"hugeicons:property-view";case"function":return"gravity-ui:function";default:return"hugeicons:knight-shield"}},D=N(()=>[{id:"connect",label:"CONNECT",value:f.database.canConnect,type:"boolean"},{id:"create",label:"CREATE",value:f.database.canCreate,type:"boolean"},{id:"temp",label:"TEMP",value:f.database.canTemp,type:"boolean"}]);return(c,m)=>{const _=W,E=te,R=ue,j=ge,B=be,Q=ve,G=he;return s(),u("div",Qe,[n("div",{class:O(["flex items-center gap-1 px-3 py-2 cursor-pointer hover:bg-accent/50",!c.database.canConnect&&"opacity-50 cursor-not-allowed"]),onClick:m[0]||(m[0]=v=>c.database.canConnect&&d("toggle"))},[e(_,{name:c.isExpanded?"hugeicons:arrow-down-01":"hugeicons:arrow-right-01",class:O(["size-4 transition-transform",!c.database.canConnect&&"invisible"])},null,8,["name","class"]),e(_,{name:c.database.canConnect?"hugeicons:database":"hugeicons:database-locked",class:O(["size-4",c.database.canConnect?"text-yellow-400":"text-muted-foreground"])},null,8,["name","class"]),n("span",{class:O(["text-sm font-medium",!c.database.canConnect&&"text-muted-foreground"])},b(c.database.databaseName),3),c.database.canConnect?(s(),u("div",Je,[c.database.canConnect?(s(),C(E,{key:0,variant:"outline",class:"text-xs"},{default:l(()=>m[1]||(m[1]=[p("CONNECT")])),_:1})):V("",!0),c.database.canCreate?(s(),C(E,{key:1,variant:"outline",class:"text-xs"},{default:l(()=>m[2]||(m[2]=[p("CREATE")])),_:1})):V("",!0),c.database.canTemp?(s(),C(E,{key:2,variant:"outline",class:"text-xs"},{default:l(()=>m[3]||(m[3]=[p("TEMP")])),_:1})):V("",!0)])):(s(),C(_,{key:0,name:"hugeicons:circle-lock-01",class:"size-3 text-muted-foreground ml-auto"}))],2),c.isExpanded&&c.database.canConnect?(s(),u("div",Xe,[n("div",We,[m[4]||(m[4]=n("p",{class:"text-xs text-muted-foreground mb-2"}," Database-level privileges: ",-1)),n("div",Ye,[(s(!0),u(I,null,A(t(D),v=>(s(),C(me,{key:v.id,label:v.label,value:v.value,type:v.type},null,8,["label","value","type"]))),128))])]),c.isCurrentDatabase?(s(),u(I,{key:0},[n("div",Ze,[(s(),u(I,null,A(k,v=>n("button",{key:v.id,class:O(["flex items-center gap-1 px-3 py-1.5 text-xs transition-colors cursor-pointer",t(a)===v.id?"border-b-2 border-primary text-foreground":"text-muted-foreground border-b-2 border-transparent hover:text-foreground"]),onClick:L=>a.value=v.id},[e(_,{name:v.icon,class:"size-3"},null,8,["name"]),p(" "+b(v.label)+" ",1),e(E,{variant:"secondary",class:"ml-1 text-xs px-1 py-0"},{default:l(()=>[p(b(t(T)[v.id]),1)]),_:2},1024)],10,es)),64))]),n("div",ss,[t(g).length?(s(),u("div",as,[(s(!0),u(I,null,A(t(g),(v,L)=>(s(),u("div",{key:`${v.schemaName}-${v.objectName}-${L}`,class:"group flex items-center gap-2 px-3 py-2 hover:bg-accent/30"},[e(_,{name:y(v.objectType),class:"size-4 text-muted-foreground shrink-0"},null,8,["name"]),n("div",os,[n("p",ls,[n("span",is,b(v.schemaName)+".",1),p(b(v.objectName),1)])]),n("div",rs,[(s(!0),u(I,null,A(v.privileges,H=>(s(),C(E,{variant:"outline",class:"text-xs normal-case"},{default:l(()=>[p(b(H),1)]),_:2},1024))),256))]),e(G,null,{default:l(()=>[e(Q,null,{default:l(()=>[e(j,{"as-child":""},{default:l(()=>[e(R,{variant:"ghost",size:"iconSm",onClick:_e(H=>d("updatePermission",v),["stop"])},{default:l(()=>[e(_,{name:"hugeicons:pencil-edit-02",class:"size-3"})]),_:2},1032,["onClick"])]),_:2},1024),e(B,null,{default:l(()=>m[5]||(m[5]=[p("Update Permission")])),_:1})]),_:2},1024)]),_:2},1024)]))),128))])):(s(),u("div",ts,[e(_,{name:"hugeicons:knight-shield",class:"size-8 mb-1 opacity-50"}),n("p",ns,"No "+b(t(a))+" permissions",1)]))])],64)):(s(),u("div",cs,[e(_,{name:"hugeicons:information-circle",class:"size-4"}),m[6]||(m[6]=n("span",null,"Connect to this database to view tables, schemas, and functions permissions.",-1))]))])):V("",!0)])}}}),ds={class:"grid gap-4 py-2"},ms={class:"grid gap-2"},ps={class:"grid gap-2"},fs={class:"grid gap-2"},vs={class:"grid gap-2"},gs={class:"grid grid-cols-2 md:grid-cols-3 gap-2"},_s={class:"text-xs"},bs={class:"grid gap-2"},hs=M({__name:"GrantRevokeDialog",props:{open:{type:Boolean},mode:{},roleName:{},permission:{},loading:{type:Boolean}},emits:["update:open","confirm"],setup(w,{emit:h}){const f=["SELECT","INSERT","UPDATE","DELETE","TRUNCATE","REFERENCES","TRIGGER"],d=["USAGE","CREATE"],a=["EXECUTE"],k=["USAGE","SELECT","UPDATE"],g=w,T=h,y=$("table"),D=$("public"),c=$(""),m=$([]),_=$([]);Me();const E=N(()=>{switch(y.value){case"table":return f;case"schema":return d;case"function":return a;case"sequence":return k;default:return[]}});ie(()=>g.open,x=>{x&&(g.permission?(y.value=g.permission.objectType,D.value=g.permission.schemaName,c.value=g.permission.objectName,_.value=[...g.permission.privileges],m.value=[...g.permission.privileges]):(y.value="table",D.value="public",c.value="",_.value=[],m.value=[]))});const R=N(()=>m.value),j=N(()=>f.filter(x=>!m.value.includes(x))),B=N(()=>R.value.length>0||j.value.length>0),Q=N(()=>{const x=D.value||"<schema>",i=c.value||"<object>",q=g.roleName||"<role>",F=`${y.value.toUpperCase()} "${x}"."${i}"`,U=[];return R.value.length&&U.push(`GRANT ${R.value.join(", ")} ON ${F} TO "${q}";`),j.value.length&&U.push(`REVOKE ${j.value.join(", ")} ON ${F} FROM "${q}";`),U.length?U.join(`
2
-
3
- `):"-- No permission changes"}),G=x=>{const i=m.value.indexOf(x);i>-1?m.value.splice(i,1):m.value.push(x)},v=()=>{B.value&&T("confirm",{objectType:y.value,schemaName:D.value,objectName:c.value,grant:R.value,revoke:j.value})},L=()=>T("update:open",!1),H=N(()=>g.mode==="grant"?`Grant Permission to ${g.roleName}`:`Update Permission for ${g.roleName}`);return(x,i)=>{const q=Ce,F=$e,U=xe,ne=Te,o=Ne,r=Ee,z=we,Y=ke,Z=Pe,ae=Ae,oe=Ge,ee=ue,se=W,P=Se,K=De,le=ye;return s(),C(le,{open:x.open,"onUpdate:open":i[3]||(i[3]=S=>T("update:open",S))},{default:l(()=>[e(K,{class:"max-w-[45vw]! w-[45vw]!"},{default:l(()=>[e(U,null,{default:l(()=>[e(q,null,{default:l(()=>[p(b(H.value),1)]),_:1}),e(F,null,{default:l(()=>i[4]||(i[4]=[p(" Tick to grant, untick to revoke privileges. ")])),_:1})]),_:1}),n("div",ds,[n("div",ms,[e(t(J),null,{default:l(()=>i[5]||(i[5]=[p("Object Type")])),_:1}),e(Y,{modelValue:y.value,"onUpdate:modelValue":i[0]||(i[0]=S=>y.value=S),disabled:x.mode==="update"},{default:l(()=>[e(o,null,{default:l(()=>[e(ne)]),_:1}),e(z,null,{default:l(()=>[e(r,{value:"table"},{default:l(()=>i[6]||(i[6]=[p("Table")])),_:1}),e(r,{value:"schema"},{default:l(()=>i[7]||(i[7]=[p("Schema")])),_:1}),e(r,{value:"function"},{default:l(()=>i[8]||(i[8]=[p("Function")])),_:1}),e(r,{value:"sequence"},{default:l(()=>i[9]||(i[9]=[p("Sequence")])),_:1})]),_:1})]),_:1},8,["modelValue","disabled"])]),n("div",ps,[e(t(J),null,{default:l(()=>i[10]||(i[10]=[p("Schema")])),_:1}),e(Z,{modelValue:D.value,"onUpdate:modelValue":i[1]||(i[1]=S=>D.value=S),disabled:x.mode==="update"},null,8,["modelValue","disabled"])]),n("div",fs,[e(t(J),null,{default:l(()=>i[11]||(i[11]=[p("Object Name")])),_:1}),e(Z,{modelValue:c.value,"onUpdate:modelValue":i[2]||(i[2]=S=>c.value=S),disabled:x.mode==="update"},null,8,["modelValue","disabled"])]),n("div",vs,[e(t(J),null,{default:l(()=>i[12]||(i[12]=[p("Privileges")])),_:1}),n("div",gs,[(s(!0),u(I,null,A(E.value,S=>(s(),u("div",{key:S,class:"flex items-center gap-2 cursor-pointer"},[e(ae,{"model-value":m.value.includes(S),"onUpdate:modelValue":Hs=>G(S)},null,8,["model-value","onUpdate:modelValue"]),n("span",_s,b(S),1)]))),128))])]),n("div",bs,[e(t(J),null,{default:l(()=>i[13]||(i[13]=[p("SQL Preview")])),_:1}),e(oe,{code:Q.value,"show-copy-button":"","max-height":"24rem"},null,8,["code"])])]),e(P,null,{default:l(()=>[e(ee,{variant:"outline",onClick:L},{default:l(()=>i[14]||(i[14]=[p(" Cancel ")])),_:1}),e(ee,{disabled:!B.value||x.loading,onClick:v},{default:l(()=>[x.loading?(s(),C(se,{key:0,name:"hugeicons:loading-03",class:"size-4 mr-2 animate-spin"})):V("",!0),p(" "+b(x.mode==="grant"?"Grant":"Update"),1)]),_:1},8,["disabled"])]),_:1})]),_:1})]),_:1},8,["open"])}}}),ys={class:"px-4 py-3 shrink-0"},xs={class:"flex items-center gap-2 mb-2"},Cs={key:0,class:"flex flex-wrap gap-2"},$s={key:1,class:"mt-2 text-xs text-muted-foreground"},ks={class:"text-foreground"},Ns=M({__name:"RoleAttributesCard",props:{roleInfo:{}},setup(w){const h=w,f=N(()=>{if(!h.roleInfo)return[];const a=h.roleInfo;return[{id:"superuser",label:"Superuser",value:a.isSuperuser,type:"boolean"},{id:"login",label:"Can Login",value:a.canLogin,type:"boolean"},{id:"createdb",label:"Create DB",value:a.canCreateDb,type:"boolean"},{id:"createrole",label:"Create Role",value:a.canCreateRole,type:"boolean"},{id:"replication",label:"Replication",value:a.isReplication,type:"boolean"},{id:"connlimit",label:"Connections",value:a.connectionLimit===-1?"Unlimited":`${a.connectionLimit}`,type:"text"}]}),d=N(()=>{var a,k;return(k=(a=h.roleInfo)==null?void 0:a.memberOf)!=null&&k.length?h.roleInfo.memberOf:[]});return(a,k)=>{const g=W,T=te;return s(),u("div",ys,[n("div",xs,[e(g,{name:"hugeicons:shield-01",class:"size-4"}),k[0]||(k[0]=n("p",{class:"text-sm font-medium"},"Role Attributes",-1))]),a.roleInfo?(s(),u("div",Cs,[(s(!0),u(I,null,A(t(f),y=>(s(),C(me,{key:y.id,label:y.label,value:y.value,type:y.type},null,8,["label","value","type"]))),128)),a.roleInfo.validUntil?(s(),C(T,{key:0,variant:"secondary",class:"text-xs"},{default:l(()=>[e(g,{name:"lucide:calendar",class:"size-3 mr-1"}),p(" Expires: "+b(new Date(a.roleInfo.validUntil).toLocaleDateString()),1)]),_:1})):V("",!0)])):V("",!0),t(d).length?(s(),u("div",$s,[k[1]||(k[1]=p(" Member of: ")),n("span",ks,b(t(d).join(", ")),1)])):V("",!0)])}}}),Ts={class:"flex flex-col h-full p-1 relative"},ws={class:"flex flex-col h-full border rounded-md overflow-hidden"},Es={class:"flex items-center gap-3 px-4 py-1 bg-sidebar"},Ps={class:"font-normal text-sm"},Ss={class:"ml-auto flex items-center gap-2"},Ds={key:0,class:"flex-1 flex items-center justify-center"},js={key:1,class:"flex-1 flex flex-col items-center justify-center p-4"},Rs={class:"text-sm text-destructive"},Bs={class:"px-4 pt-0 pb-3"},zs={class:"flex items-center gap-2 mb-2"},Is={class:"flex items-center gap-2"},Ls={variant:"secondary",class:"text-xs cursor-pointer text-muted-foreground flex items-center gap-1"},Os={class:"text-xs ml-1"},Us={key:0,class:"flex items-center gap-2 text-muted-foreground"},Vs={key:1,class:"text-sm text-muted-foreground"},As={key:2,class:"space-y-1"},Ms={class:"flex flex-col flex-1 min-h-0 p-4 pt-0"},Gs={class:"flex items-center gap-2 mb-3 shrink-0"},qs={key:0,class:"flex items-center gap-2 text-muted-foreground"},Fs={key:2,class:"space-y-1 flex-1 overflow-y-auto"},st=M({__name:"[roleName]",setup(w){const h=je(),f=Re(),d=N(()=>h.params.roleName),a=N(()=>f.selectedConnection),k=N(()=>{if(!a.value)return"";if(a.value.database)return a.value.database;const o=a.value.connectionString;if(!o)return"";try{return new URL(o).pathname.slice(1)||""}catch{const r=o.match(/\/([^/?]+)(\?|$)/);return(r==null?void 0:r[1])||""}}),g=o=>k.value.toLowerCase()===o.toLowerCase(),T=$(null),y=$([]),D=async()=>{if(!(!a.value||!d.value))try{const r=await $fetch("/api/database-roles/get-role",{method:"POST",body:{...X(a.value),roleName:d.value}});r&&(T.value={isSuperuser:r.isSuperuser,canLogin:r.canLogin,canCreateDb:r.canCreateDb,canCreateRole:r.canCreateRole,isReplication:r.isReplication,connectionLimit:r.connectionLimit,validUntil:r.validUntil,memberOf:r.memberOf})}catch(o){console.error("Error fetching role info:",o)}},c=$(!1),m=async()=>{if(!(!a.value||!d.value)){c.value=!0;try{const o=await $fetch("/api/database-roles/get-role-inheritance",{method:"POST",body:{...X(a.value),roleName:d.value}});y.value=o}catch(o){console.error("Error fetching role inheritance:",o),y.value=[]}finally{c.value=!1}}},_=$(!1),E=$(!1),R=$(null),j=$(null),B=async()=>{if(!(!a.value||!d.value)){_.value=!0,j.value=null;try{const o=await $fetch("/api/database-roles/get-permissions",{method:"POST",body:{...X(a.value),roleName:d.value}});R.value=o}catch(o){j.value=o instanceof Error?o.message:"Failed to fetch permissions",console.error("Error fetching permissions:",o)}finally{_.value=!1}}};de(()=>{B(),D(),m()}),ie(d,()=>{B(),D(),m()});const{isLoading:Q,databasePermissions:G,fetchDatabasePermissions:v}=qe(a),L=$(new Set),H=o=>{L.value.has(o)?L.value.delete(o):L.value.add(o)},x=o=>L.value.has(o);de(()=>v(d.value)),ie(d,o=>v(o));const i=$(!1),q=$("grant"),F=$(),U=o=>{q.value="update",F.value=o,i.value=!0},ne=async o=>{if(!(!a.value||!d.value)){E.value=!0;try{const r=[];o.grant.length>0&&r.push($fetch("/api/database-roles/grant-permission",{method:"POST",body:{...X(a.value),roleName:d.value,objectType:o.objectType,schemaName:o.schemaName,objectName:o.objectName,privileges:o.grant}})),o.revoke.length>0&&r.push($fetch("/api/database-roles/revoke-permission",{method:"POST",body:{...X(a.value),roleName:d.value,objectType:o.objectType,schemaName:o.schemaName,objectName:o.objectName,privileges:o.revoke}})),await Promise.all(r),i.value=!1,await B()}catch(r){console.error("Error updating permissions:",r)}finally{E.value=!1}}};return(o,r)=>{const z=W,Y=ue,Z=Ke,ae=He,oe=Fe,ee=te,se=Le;return s(),u("div",Ts,[n("div",ws,[n("div",Es,[n("div",null,[n("p",Ps,b(t(d)),1)]),n("div",Ss,[e(Y,{variant:"outline",size:"iconSm",disabled:t(_),onClick:B},{default:l(()=>[e(z,{name:t(_)?"hugeicons:loading-03":"lucide:refresh-cw",class:O(["size-4",t(_)&&"animate-spin"])},null,8,["name","class"])]),_:1},8,["disabled"])])]),t(_)?(s(),u("div",Ds,[e(t(ze),{visible:t(_)},null,8,["visible"])])):t(j)?(s(),u("div",js,[e(z,{name:"hugeicons:information-circle",class:"size-12 text-destructive"}),n("p",Rs,b(t(j)),1),e(Y,{variant:"outline",size:"sm",class:"mt-4 font-normal",onClick:B},{default:l(()=>r[1]||(r[1]=[p(" Retry ")])),_:1})])):t(R)?(s(),u(I,{key:2},[e(Ns,{"role-info":t(T)},null,8,["role-info"]),n("div",Bs,[e(oe,{"default-open":!0},{default:l(({open:P})=>[n("div",zs,[n("div",Is,[e(z,{name:"lucide:git-branch",class:"size-4 text-muted-foreground"}),r[2]||(r[2]=n("p",{class:"text-sm font-medium"},"Inherited from",-1))]),e(Z,{"as-child":""},{default:l(()=>[n("div",Ls,[n("span",Os,b(P?"Collapse":"Expand"),1),e(z,{name:"lucide:chevron-down",class:O(["size-4 transition-transform",P&&"rotate-180"])},null,8,["class"])])]),_:2},1024)]),e(ae,null,{default:l(()=>[t(c)?(s(),u("div",Us,[e(z,{name:"hugeicons:loading-03",class:"size-4 animate-spin"}),r[3]||(r[3]=n("span",{class:"text-sm"},"Loading inheritance...",-1))])):t(y).length===0?(s(),u("div",Vs," No inherited roles ")):(s(),u("div",As,[(s(!0),u(I,null,A(t(y),(K,le)=>(s(),u("div",{key:`${K.roleName}-${le}`,class:"flex items-center text-sm gap-1 hover:bg-accent rounded-sm",style:Ie({paddingLeft:`${K.depth*16}px`})},[e(z,{name:"lucide:corner-down-right",class:"size-3 text-muted-foreground"}),n("span",null,b(K.roleName),1)],4))),128))]))]),_:1})]),_:1})]),n("div",Ms,[n("div",Gs,[e(z,{name:"hugeicons:database",class:"size-5 text-yellow-400"}),r[4]||(r[4]=n("p",{class:"text-sm font-medium"},"Database Access",-1)),e(ee,{variant:"secondary",class:"text-xs"},{default:l(()=>[p(b(t(G).filter(P=>P.canConnect).length),1)]),_:1})]),t(Q)?(s(),u("div",qs,[e(z,{name:"hugeicons:loading-03",class:"size-4 animate-spin"}),r[5]||(r[5]=n("span",{class:"text-sm"},"Loading databases...",-1))])):t(G).length===0?(s(),C(se,{key:1,title:"No permissions found",desc:"No database permissions were found for this role."})):(s(),u("div",Fs,[(s(!0),u(I,null,A(t(G),P=>(s(),C(us,{key:P.databaseName,database:P,"is-expanded":x(P.databaseName),"is-current-database":g(P.databaseName),permissions:t(R),onToggle:K=>H(P.databaseName),onUpdatePermission:U},null,8,["database","is-expanded","is-current-database","permissions","onToggle"]))),128))]))])],64)):(s(),C(se,{key:3,icon:"hugeicons:shield-01",title:"No data available",desc:"No permissions data is available for the current selection."}))]),e(hs,{open:t(i),"onUpdate:open":r[0]||(r[0]=P=>Be(i)?i.value=P:null),mode:t(q),roleName:t(d),permission:t(F),loading:t(E),onConfirm:ne},null,8,["open","mode","roleName","permission","loading"])])}}});export{st as default};