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,36 +0,0 @@
1
- import{_ as dt,L as ke,ac as Ze,l as Se,b as qe,a as Qe,q as Je,t as Ke,g as je,s as _e,A as tr,G as er,H as rr,I as ir,c as Ee,az as me,aA as pe,i as ar,d as nr,y as or,aB as sr,aC as hr}from"./BwI9KIOm.js";import{p as lr}from"./CJWptbcK.js";import{p as fr}from"./BvXVax75.js";import{c as Fe}from"./CyJtwmzi.js";import{bd as cr}from"./BjU0QAaV.js";var he={exports:{}},le={exports:{}},fe={exports:{}},gr=fe.exports,Me;function ur(){return Me||(Me=1,function(I,O){(function(P,N){I.exports=N()})(gr,function(){return function(A){var P={};function N(u){if(P[u])return P[u].exports;var h=P[u]={i:u,l:!1,exports:{}};return A[u].call(h.exports,h,h.exports,N),h.l=!0,h.exports}return N.m=A,N.c=P,N.i=function(u){return u},N.d=function(u,h,a){N.o(u,h)||Object.defineProperty(u,h,{configurable:!1,enumerable:!0,get:a})},N.n=function(u){var h=u&&u.__esModule?function(){return u.default}:function(){return u};return N.d(h,"a",h),h},N.o=function(u,h){return Object.prototype.hasOwnProperty.call(u,h)},N.p="",N(N.s=28)}([function(A,P,N){function u(){}u.QUALITY=1,u.DEFAULT_CREATE_BENDS_AS_NEEDED=!1,u.DEFAULT_INCREMENTAL=!1,u.DEFAULT_ANIMATION_ON_LAYOUT=!0,u.DEFAULT_ANIMATION_DURING_LAYOUT=!1,u.DEFAULT_ANIMATION_PERIOD=50,u.DEFAULT_UNIFORM_LEAF_NODE_SIZES=!1,u.DEFAULT_GRAPH_MARGIN=15,u.NODE_DIMENSIONS_INCLUDE_LABELS=!1,u.SIMPLE_NODE_SIZE=40,u.SIMPLE_NODE_HALF_SIZE=u.SIMPLE_NODE_SIZE/2,u.EMPTY_COMPOUND_NODE_SIZE=40,u.MIN_EDGE_LENGTH=1,u.WORLD_BOUNDARY=1e6,u.INITIAL_WORLD_BOUNDARY=u.WORLD_BOUNDARY/1e3,u.WORLD_CENTER_X=1200,u.WORLD_CENTER_Y=900,A.exports=u},function(A,P,N){var u=N(2),h=N(8),a=N(9);function r(f,i,g){u.call(this,g),this.isOverlapingSourceAndTarget=!1,this.vGraphObject=g,this.bendpoints=[],this.source=f,this.target=i}r.prototype=Object.create(u.prototype);for(var e in u)r[e]=u[e];r.prototype.getSource=function(){return this.source},r.prototype.getTarget=function(){return this.target},r.prototype.isInterGraph=function(){return this.isInterGraph},r.prototype.getLength=function(){return this.length},r.prototype.isOverlapingSourceAndTarget=function(){return this.isOverlapingSourceAndTarget},r.prototype.getBendpoints=function(){return this.bendpoints},r.prototype.getLca=function(){return this.lca},r.prototype.getSourceInLca=function(){return this.sourceInLca},r.prototype.getTargetInLca=function(){return this.targetInLca},r.prototype.getOtherEnd=function(f){if(this.source===f)return this.target;if(this.target===f)return this.source;throw"Node is not incident with this edge"},r.prototype.getOtherEndInGraph=function(f,i){for(var g=this.getOtherEnd(f),t=i.getGraphManager().getRoot();;){if(g.getOwner()==i)return g;if(g.getOwner()==t)break;g=g.getOwner().getParent()}return null},r.prototype.updateLength=function(){var f=new Array(4);this.isOverlapingSourceAndTarget=h.getIntersection(this.target.getRect(),this.source.getRect(),f),this.isOverlapingSourceAndTarget||(this.lengthX=f[0]-f[2],this.lengthY=f[1]-f[3],Math.abs(this.lengthX)<1&&(this.lengthX=a.sign(this.lengthX)),Math.abs(this.lengthY)<1&&(this.lengthY=a.sign(this.lengthY)),this.length=Math.sqrt(this.lengthX*this.lengthX+this.lengthY*this.lengthY))},r.prototype.updateLengthSimple=function(){this.lengthX=this.target.getCenterX()-this.source.getCenterX(),this.lengthY=this.target.getCenterY()-this.source.getCenterY(),Math.abs(this.lengthX)<1&&(this.lengthX=a.sign(this.lengthX)),Math.abs(this.lengthY)<1&&(this.lengthY=a.sign(this.lengthY)),this.length=Math.sqrt(this.lengthX*this.lengthX+this.lengthY*this.lengthY)},A.exports=r},function(A,P,N){function u(h){this.vGraphObject=h}A.exports=u},function(A,P,N){var u=N(2),h=N(10),a=N(13),r=N(0),e=N(16),f=N(5);function i(t,o,s,c){s==null&&c==null&&(c=o),u.call(this,c),t.graphManager!=null&&(t=t.graphManager),this.estimatedSize=h.MIN_VALUE,this.inclusionTreeDepth=h.MAX_VALUE,this.vGraphObject=c,this.edges=[],this.graphManager=t,s!=null&&o!=null?this.rect=new a(o.x,o.y,s.width,s.height):this.rect=new a}i.prototype=Object.create(u.prototype);for(var g in u)i[g]=u[g];i.prototype.getEdges=function(){return this.edges},i.prototype.getChild=function(){return this.child},i.prototype.getOwner=function(){return this.owner},i.prototype.getWidth=function(){return this.rect.width},i.prototype.setWidth=function(t){this.rect.width=t},i.prototype.getHeight=function(){return this.rect.height},i.prototype.setHeight=function(t){this.rect.height=t},i.prototype.getCenterX=function(){return this.rect.x+this.rect.width/2},i.prototype.getCenterY=function(){return this.rect.y+this.rect.height/2},i.prototype.getCenter=function(){return new f(this.rect.x+this.rect.width/2,this.rect.y+this.rect.height/2)},i.prototype.getLocation=function(){return new f(this.rect.x,this.rect.y)},i.prototype.getRect=function(){return this.rect},i.prototype.getDiagonal=function(){return Math.sqrt(this.rect.width*this.rect.width+this.rect.height*this.rect.height)},i.prototype.getHalfTheDiagonal=function(){return Math.sqrt(this.rect.height*this.rect.height+this.rect.width*this.rect.width)/2},i.prototype.setRect=function(t,o){this.rect.x=t.x,this.rect.y=t.y,this.rect.width=o.width,this.rect.height=o.height},i.prototype.setCenter=function(t,o){this.rect.x=t-this.rect.width/2,this.rect.y=o-this.rect.height/2},i.prototype.setLocation=function(t,o){this.rect.x=t,this.rect.y=o},i.prototype.moveBy=function(t,o){this.rect.x+=t,this.rect.y+=o},i.prototype.getEdgeListToNode=function(t){var o=[],s=this;return s.edges.forEach(function(c){if(c.target==t){if(c.source!=s)throw"Incorrect edge source!";o.push(c)}}),o},i.prototype.getEdgesBetween=function(t){var o=[],s=this;return s.edges.forEach(function(c){if(!(c.source==s||c.target==s))throw"Incorrect edge source and/or target";(c.target==t||c.source==t)&&o.push(c)}),o},i.prototype.getNeighborsList=function(){var t=new Set,o=this;return o.edges.forEach(function(s){if(s.source==o)t.add(s.target);else{if(s.target!=o)throw"Incorrect incidency!";t.add(s.source)}}),t},i.prototype.withChildren=function(){var t=new Set,o,s;if(t.add(this),this.child!=null)for(var c=this.child.getNodes(),l=0;l<c.length;l++)o=c[l],s=o.withChildren(),s.forEach(function(T){t.add(T)});return t},i.prototype.getNoOfChildren=function(){var t=0,o;if(this.child==null)t=1;else for(var s=this.child.getNodes(),c=0;c<s.length;c++)o=s[c],t+=o.getNoOfChildren();return t==0&&(t=1),t},i.prototype.getEstimatedSize=function(){if(this.estimatedSize==h.MIN_VALUE)throw"assert failed";return this.estimatedSize},i.prototype.calcEstimatedSize=function(){return this.child==null?this.estimatedSize=(this.rect.width+this.rect.height)/2:(this.estimatedSize=this.child.calcEstimatedSize(),this.rect.width=this.estimatedSize,this.rect.height=this.estimatedSize,this.estimatedSize)},i.prototype.scatter=function(){var t,o,s=-r.INITIAL_WORLD_BOUNDARY,c=r.INITIAL_WORLD_BOUNDARY;t=r.WORLD_CENTER_X+e.nextDouble()*(c-s)+s;var l=-r.INITIAL_WORLD_BOUNDARY,T=r.INITIAL_WORLD_BOUNDARY;o=r.WORLD_CENTER_Y+e.nextDouble()*(T-l)+l,this.rect.x=t,this.rect.y=o},i.prototype.updateBounds=function(){if(this.getChild()==null)throw"assert failed";if(this.getChild().getNodes().length!=0){var t=this.getChild();if(t.updateBounds(!0),this.rect.x=t.getLeft(),this.rect.y=t.getTop(),this.setWidth(t.getRight()-t.getLeft()),this.setHeight(t.getBottom()-t.getTop()),r.NODE_DIMENSIONS_INCLUDE_LABELS){var o=t.getRight()-t.getLeft(),s=t.getBottom()-t.getTop();this.labelWidth&&(this.labelPosHorizontal=="left"?(this.rect.x-=this.labelWidth,this.setWidth(o+this.labelWidth)):this.labelPosHorizontal=="center"&&this.labelWidth>o?(this.rect.x-=(this.labelWidth-o)/2,this.setWidth(this.labelWidth)):this.labelPosHorizontal=="right"&&this.setWidth(o+this.labelWidth)),this.labelHeight&&(this.labelPosVertical=="top"?(this.rect.y-=this.labelHeight,this.setHeight(s+this.labelHeight)):this.labelPosVertical=="center"&&this.labelHeight>s?(this.rect.y-=(this.labelHeight-s)/2,this.setHeight(this.labelHeight)):this.labelPosVertical=="bottom"&&this.setHeight(s+this.labelHeight))}}},i.prototype.getInclusionTreeDepth=function(){if(this.inclusionTreeDepth==h.MAX_VALUE)throw"assert failed";return this.inclusionTreeDepth},i.prototype.transform=function(t){var o=this.rect.x;o>r.WORLD_BOUNDARY?o=r.WORLD_BOUNDARY:o<-r.WORLD_BOUNDARY&&(o=-r.WORLD_BOUNDARY);var s=this.rect.y;s>r.WORLD_BOUNDARY?s=r.WORLD_BOUNDARY:s<-r.WORLD_BOUNDARY&&(s=-r.WORLD_BOUNDARY);var c=new f(o,s),l=t.inverseTransformPoint(c);this.setLocation(l.x,l.y)},i.prototype.getLeft=function(){return this.rect.x},i.prototype.getRight=function(){return this.rect.x+this.rect.width},i.prototype.getTop=function(){return this.rect.y},i.prototype.getBottom=function(){return this.rect.y+this.rect.height},i.prototype.getParent=function(){return this.owner==null?null:this.owner.getParent()},A.exports=i},function(A,P,N){var u=N(0);function h(){}for(var a in u)h[a]=u[a];h.MAX_ITERATIONS=2500,h.DEFAULT_EDGE_LENGTH=50,h.DEFAULT_SPRING_STRENGTH=.45,h.DEFAULT_REPULSION_STRENGTH=4500,h.DEFAULT_GRAVITY_STRENGTH=.4,h.DEFAULT_COMPOUND_GRAVITY_STRENGTH=1,h.DEFAULT_GRAVITY_RANGE_FACTOR=3.8,h.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR=1.5,h.DEFAULT_USE_SMART_IDEAL_EDGE_LENGTH_CALCULATION=!0,h.DEFAULT_USE_SMART_REPULSION_RANGE_CALCULATION=!0,h.DEFAULT_COOLING_FACTOR_INCREMENTAL=.3,h.COOLING_ADAPTATION_FACTOR=.33,h.ADAPTATION_LOWER_NODE_LIMIT=1e3,h.ADAPTATION_UPPER_NODE_LIMIT=5e3,h.MAX_NODE_DISPLACEMENT_INCREMENTAL=100,h.MAX_NODE_DISPLACEMENT=h.MAX_NODE_DISPLACEMENT_INCREMENTAL*3,h.MIN_REPULSION_DIST=h.DEFAULT_EDGE_LENGTH/10,h.CONVERGENCE_CHECK_PERIOD=100,h.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR=.1,h.MIN_EDGE_LENGTH=1,h.GRID_CALCULATION_CHECK_PERIOD=10,A.exports=h},function(A,P,N){function u(h,a){h==null&&a==null?(this.x=0,this.y=0):(this.x=h,this.y=a)}u.prototype.getX=function(){return this.x},u.prototype.getY=function(){return this.y},u.prototype.setX=function(h){this.x=h},u.prototype.setY=function(h){this.y=h},u.prototype.getDifference=function(h){return new DimensionD(this.x-h.x,this.y-h.y)},u.prototype.getCopy=function(){return new u(this.x,this.y)},u.prototype.translate=function(h){return this.x+=h.width,this.y+=h.height,this},A.exports=u},function(A,P,N){var u=N(2),h=N(10),a=N(0),r=N(7),e=N(3),f=N(1),i=N(13),g=N(12),t=N(11);function o(c,l,T){u.call(this,T),this.estimatedSize=h.MIN_VALUE,this.margin=a.DEFAULT_GRAPH_MARGIN,this.edges=[],this.nodes=[],this.isConnected=!1,this.parent=c,l!=null&&l instanceof r?this.graphManager=l:l!=null&&l instanceof Layout&&(this.graphManager=l.graphManager)}o.prototype=Object.create(u.prototype);for(var s in u)o[s]=u[s];o.prototype.getNodes=function(){return this.nodes},o.prototype.getEdges=function(){return this.edges},o.prototype.getGraphManager=function(){return this.graphManager},o.prototype.getParent=function(){return this.parent},o.prototype.getLeft=function(){return this.left},o.prototype.getRight=function(){return this.right},o.prototype.getTop=function(){return this.top},o.prototype.getBottom=function(){return this.bottom},o.prototype.isConnected=function(){return this.isConnected},o.prototype.add=function(c,l,T){if(l==null&&T==null){var d=c;if(this.graphManager==null)throw"Graph has no graph mgr!";if(this.getNodes().indexOf(d)>-1)throw"Node already in graph!";return d.owner=this,this.getNodes().push(d),d}else{var v=c;if(!(this.getNodes().indexOf(l)>-1&&this.getNodes().indexOf(T)>-1))throw"Source or target not in graph!";if(!(l.owner==T.owner&&l.owner==this))throw"Both owners must be this graph!";return l.owner!=T.owner?null:(v.source=l,v.target=T,v.isInterGraph=!1,this.getEdges().push(v),l.edges.push(v),T!=l&&T.edges.push(v),v)}},o.prototype.remove=function(c){var l=c;if(c instanceof e){if(l==null)throw"Node is null!";if(!(l.owner!=null&&l.owner==this))throw"Owner graph is invalid!";if(this.graphManager==null)throw"Owner graph manager is invalid!";for(var T=l.edges.slice(),d,v=T.length,L=0;L<v;L++)d=T[L],d.isInterGraph?this.graphManager.remove(d):d.source.owner.remove(d);var S=this.nodes.indexOf(l);if(S==-1)throw"Node not in owner node list!";this.nodes.splice(S,1)}else if(c instanceof f){var d=c;if(d==null)throw"Edge is null!";if(!(d.source!=null&&d.target!=null))throw"Source and/or target is null!";if(!(d.source.owner!=null&&d.target.owner!=null&&d.source.owner==this&&d.target.owner==this))throw"Source and/or target owner is invalid!";var C=d.source.edges.indexOf(d),G=d.target.edges.indexOf(d);if(!(C>-1&&G>-1))throw"Source and/or target doesn't know this edge!";d.source.edges.splice(C,1),d.target!=d.source&&d.target.edges.splice(G,1);var S=d.source.owner.getEdges().indexOf(d);if(S==-1)throw"Not in owner's edge list!";d.source.owner.getEdges().splice(S,1)}},o.prototype.updateLeftTop=function(){for(var c=h.MAX_VALUE,l=h.MAX_VALUE,T,d,v,L=this.getNodes(),S=L.length,C=0;C<S;C++){var G=L[C];T=G.getTop(),d=G.getLeft(),c>T&&(c=T),l>d&&(l=d)}return c==h.MAX_VALUE?null:(L[0].getParent().paddingLeft!=null?v=L[0].getParent().paddingLeft:v=this.margin,this.left=l-v,this.top=c-v,new g(this.left,this.top))},o.prototype.updateBounds=function(c){for(var l=h.MAX_VALUE,T=-h.MAX_VALUE,d=h.MAX_VALUE,v=-h.MAX_VALUE,L,S,C,G,K,X=this.nodes,Q=X.length,D=0;D<Q;D++){var rt=X[D];c&&rt.child!=null&&rt.updateBounds(),L=rt.getLeft(),S=rt.getRight(),C=rt.getTop(),G=rt.getBottom(),l>L&&(l=L),T<S&&(T=S),d>C&&(d=C),v<G&&(v=G)}var n=new i(l,d,T-l,v-d);l==h.MAX_VALUE&&(this.left=this.parent.getLeft(),this.right=this.parent.getRight(),this.top=this.parent.getTop(),this.bottom=this.parent.getBottom()),X[0].getParent().paddingLeft!=null?K=X[0].getParent().paddingLeft:K=this.margin,this.left=n.x-K,this.right=n.x+n.width+K,this.top=n.y-K,this.bottom=n.y+n.height+K},o.calculateBounds=function(c){for(var l=h.MAX_VALUE,T=-h.MAX_VALUE,d=h.MAX_VALUE,v=-h.MAX_VALUE,L,S,C,G,K=c.length,X=0;X<K;X++){var Q=c[X];L=Q.getLeft(),S=Q.getRight(),C=Q.getTop(),G=Q.getBottom(),l>L&&(l=L),T<S&&(T=S),d>C&&(d=C),v<G&&(v=G)}var D=new i(l,d,T-l,v-d);return D},o.prototype.getInclusionTreeDepth=function(){return this==this.graphManager.getRoot()?1:this.parent.getInclusionTreeDepth()},o.prototype.getEstimatedSize=function(){if(this.estimatedSize==h.MIN_VALUE)throw"assert failed";return this.estimatedSize},o.prototype.calcEstimatedSize=function(){for(var c=0,l=this.nodes,T=l.length,d=0;d<T;d++){var v=l[d];c+=v.calcEstimatedSize()}return c==0?this.estimatedSize=a.EMPTY_COMPOUND_NODE_SIZE:this.estimatedSize=c/Math.sqrt(this.nodes.length),this.estimatedSize},o.prototype.updateConnected=function(){var c=this;if(this.nodes.length==0){this.isConnected=!0;return}var l=new t,T=new Set,d=this.nodes[0],v,L,S=d.withChildren();for(S.forEach(function(D){l.push(D),T.add(D)});l.length!==0;){d=l.shift(),v=d.getEdges();for(var C=v.length,G=0;G<C;G++){var K=v[G];if(L=K.getOtherEndInGraph(d,this),L!=null&&!T.has(L)){var X=L.withChildren();X.forEach(function(D){l.push(D),T.add(D)})}}}if(this.isConnected=!1,T.size>=this.nodes.length){var Q=0;T.forEach(function(D){D.owner==c&&Q++}),Q==this.nodes.length&&(this.isConnected=!0)}},A.exports=o},function(A,P,N){var u,h=N(1);function a(r){u=N(6),this.layout=r,this.graphs=[],this.edges=[]}a.prototype.addRoot=function(){var r=this.layout.newGraph(),e=this.layout.newNode(null),f=this.add(r,e);return this.setRootGraph(f),this.rootGraph},a.prototype.add=function(r,e,f,i,g){if(f==null&&i==null&&g==null){if(r==null)throw"Graph is null!";if(e==null)throw"Parent node is null!";if(this.graphs.indexOf(r)>-1)throw"Graph already in this graph mgr!";if(this.graphs.push(r),r.parent!=null)throw"Already has a parent!";if(e.child!=null)throw"Already has a child!";return r.parent=e,e.child=r,r}else{g=f,i=e,f=r;var t=i.getOwner(),o=g.getOwner();if(!(t!=null&&t.getGraphManager()==this))throw"Source not in this graph mgr!";if(!(o!=null&&o.getGraphManager()==this))throw"Target not in this graph mgr!";if(t==o)return f.isInterGraph=!1,t.add(f,i,g);if(f.isInterGraph=!0,f.source=i,f.target=g,this.edges.indexOf(f)>-1)throw"Edge already in inter-graph edge list!";if(this.edges.push(f),!(f.source!=null&&f.target!=null))throw"Edge source and/or target is null!";if(!(f.source.edges.indexOf(f)==-1&&f.target.edges.indexOf(f)==-1))throw"Edge already in source and/or target incidency list!";return f.source.edges.push(f),f.target.edges.push(f),f}},a.prototype.remove=function(r){if(r instanceof u){var e=r;if(e.getGraphManager()!=this)throw"Graph not in this graph mgr";if(!(e==this.rootGraph||e.parent!=null&&e.parent.graphManager==this))throw"Invalid parent node!";var f=[];f=f.concat(e.getEdges());for(var i,g=f.length,t=0;t<g;t++)i=f[t],e.remove(i);var o=[];o=o.concat(e.getNodes());var s;g=o.length;for(var t=0;t<g;t++)s=o[t],e.remove(s);e==this.rootGraph&&this.setRootGraph(null);var c=this.graphs.indexOf(e);this.graphs.splice(c,1),e.parent=null}else if(r instanceof h){if(i=r,i==null)throw"Edge is null!";if(!i.isInterGraph)throw"Not an inter-graph edge!";if(!(i.source!=null&&i.target!=null))throw"Source and/or target is null!";if(!(i.source.edges.indexOf(i)!=-1&&i.target.edges.indexOf(i)!=-1))throw"Source and/or target doesn't know this edge!";var c=i.source.edges.indexOf(i);if(i.source.edges.splice(c,1),c=i.target.edges.indexOf(i),i.target.edges.splice(c,1),!(i.source.owner!=null&&i.source.owner.getGraphManager()!=null))throw"Edge owner graph or owner graph manager is null!";if(i.source.owner.getGraphManager().edges.indexOf(i)==-1)throw"Not in owner graph manager's edge list!";var c=i.source.owner.getGraphManager().edges.indexOf(i);i.source.owner.getGraphManager().edges.splice(c,1)}},a.prototype.updateBounds=function(){this.rootGraph.updateBounds(!0)},a.prototype.getGraphs=function(){return this.graphs},a.prototype.getAllNodes=function(){if(this.allNodes==null){for(var r=[],e=this.getGraphs(),f=e.length,i=0;i<f;i++)r=r.concat(e[i].getNodes());this.allNodes=r}return this.allNodes},a.prototype.resetAllNodes=function(){this.allNodes=null},a.prototype.resetAllEdges=function(){this.allEdges=null},a.prototype.resetAllNodesToApplyGravitation=function(){this.allNodesToApplyGravitation=null},a.prototype.getAllEdges=function(){if(this.allEdges==null){var r=[],e=this.getGraphs();e.length;for(var f=0;f<e.length;f++)r=r.concat(e[f].getEdges());r=r.concat(this.edges),this.allEdges=r}return this.allEdges},a.prototype.getAllNodesToApplyGravitation=function(){return this.allNodesToApplyGravitation},a.prototype.setAllNodesToApplyGravitation=function(r){if(this.allNodesToApplyGravitation!=null)throw"assert failed";this.allNodesToApplyGravitation=r},a.prototype.getRoot=function(){return this.rootGraph},a.prototype.setRootGraph=function(r){if(r.getGraphManager()!=this)throw"Root not in this graph mgr!";this.rootGraph=r,r.parent==null&&(r.parent=this.layout.newNode("Root node"))},a.prototype.getLayout=function(){return this.layout},a.prototype.isOneAncestorOfOther=function(r,e){if(!(r!=null&&e!=null))throw"assert failed";if(r==e)return!0;var f=r.getOwner(),i;do{if(i=f.getParent(),i==null)break;if(i==e)return!0;if(f=i.getOwner(),f==null)break}while(!0);f=e.getOwner();do{if(i=f.getParent(),i==null)break;if(i==r)return!0;if(f=i.getOwner(),f==null)break}while(!0);return!1},a.prototype.calcLowestCommonAncestors=function(){for(var r,e,f,i,g,t=this.getAllEdges(),o=t.length,s=0;s<o;s++){if(r=t[s],e=r.source,f=r.target,r.lca=null,r.sourceInLca=e,r.targetInLca=f,e==f){r.lca=e.getOwner();continue}for(i=e.getOwner();r.lca==null;){for(r.targetInLca=f,g=f.getOwner();r.lca==null;){if(g==i){r.lca=g;break}if(g==this.rootGraph)break;if(r.lca!=null)throw"assert failed";r.targetInLca=g.getParent(),g=r.targetInLca.getOwner()}if(i==this.rootGraph)break;r.lca==null&&(r.sourceInLca=i.getParent(),i=r.sourceInLca.getOwner())}if(r.lca==null)throw"assert failed"}},a.prototype.calcLowestCommonAncestor=function(r,e){if(r==e)return r.getOwner();var f=r.getOwner();do{if(f==null)break;var i=e.getOwner();do{if(i==null)break;if(i==f)return i;i=i.getParent().getOwner()}while(!0);f=f.getParent().getOwner()}while(!0);return f},a.prototype.calcInclusionTreeDepths=function(r,e){r==null&&e==null&&(r=this.rootGraph,e=1);for(var f,i=r.getNodes(),g=i.length,t=0;t<g;t++)f=i[t],f.inclusionTreeDepth=e,f.child!=null&&this.calcInclusionTreeDepths(f.child,e+1)},a.prototype.includesInvalidEdge=function(){for(var r,e=[],f=this.edges.length,i=0;i<f;i++)r=this.edges[i],this.isOneAncestorOfOther(r.source,r.target)&&e.push(r);for(var i=0;i<e.length;i++)this.remove(e[i]);return!1},A.exports=a},function(A,P,N){var u=N(12);function h(){}h.calcSeparationAmount=function(a,r,e,f){if(!a.intersects(r))throw"assert failed";var i=new Array(2);this.decideDirectionsForOverlappingNodes(a,r,i),e[0]=Math.min(a.getRight(),r.getRight())-Math.max(a.x,r.x),e[1]=Math.min(a.getBottom(),r.getBottom())-Math.max(a.y,r.y),a.getX()<=r.getX()&&a.getRight()>=r.getRight()?e[0]+=Math.min(r.getX()-a.getX(),a.getRight()-r.getRight()):r.getX()<=a.getX()&&r.getRight()>=a.getRight()&&(e[0]+=Math.min(a.getX()-r.getX(),r.getRight()-a.getRight())),a.getY()<=r.getY()&&a.getBottom()>=r.getBottom()?e[1]+=Math.min(r.getY()-a.getY(),a.getBottom()-r.getBottom()):r.getY()<=a.getY()&&r.getBottom()>=a.getBottom()&&(e[1]+=Math.min(a.getY()-r.getY(),r.getBottom()-a.getBottom()));var g=Math.abs((r.getCenterY()-a.getCenterY())/(r.getCenterX()-a.getCenterX()));r.getCenterY()===a.getCenterY()&&r.getCenterX()===a.getCenterX()&&(g=1);var t=g*e[0],o=e[1]/g;e[0]<o?o=e[0]:t=e[1],e[0]=-1*i[0]*(o/2+f),e[1]=-1*i[1]*(t/2+f)},h.decideDirectionsForOverlappingNodes=function(a,r,e){a.getCenterX()<r.getCenterX()?e[0]=-1:e[0]=1,a.getCenterY()<r.getCenterY()?e[1]=-1:e[1]=1},h.getIntersection2=function(a,r,e){var f=a.getCenterX(),i=a.getCenterY(),g=r.getCenterX(),t=r.getCenterY();if(a.intersects(r))return e[0]=f,e[1]=i,e[2]=g,e[3]=t,!0;var o=a.getX(),s=a.getY(),c=a.getRight(),l=a.getX(),T=a.getBottom(),d=a.getRight(),v=a.getWidthHalf(),L=a.getHeightHalf(),S=r.getX(),C=r.getY(),G=r.getRight(),K=r.getX(),X=r.getBottom(),Q=r.getRight(),D=r.getWidthHalf(),rt=r.getHeightHalf(),n=!1,m=!1;if(f===g){if(i>t)return e[0]=f,e[1]=s,e[2]=g,e[3]=X,!1;if(i<t)return e[0]=f,e[1]=T,e[2]=g,e[3]=C,!1}else if(i===t){if(f>g)return e[0]=o,e[1]=i,e[2]=G,e[3]=t,!1;if(f<g)return e[0]=c,e[1]=i,e[2]=S,e[3]=t,!1}else{var p=a.height/a.width,E=r.height/r.width,y=(t-i)/(g-f),R=void 0,w=void 0,F=void 0,W=void 0,x=void 0,Z=void 0;if(-p===y?f>g?(e[0]=l,e[1]=T,n=!0):(e[0]=c,e[1]=s,n=!0):p===y&&(f>g?(e[0]=o,e[1]=s,n=!0):(e[0]=d,e[1]=T,n=!0)),-E===y?g>f?(e[2]=K,e[3]=X,m=!0):(e[2]=G,e[3]=C,m=!0):E===y&&(g>f?(e[2]=S,e[3]=C,m=!0):(e[2]=Q,e[3]=X,m=!0)),n&&m)return!1;if(f>g?i>t?(R=this.getCardinalDirection(p,y,4),w=this.getCardinalDirection(E,y,2)):(R=this.getCardinalDirection(-p,y,3),w=this.getCardinalDirection(-E,y,1)):i>t?(R=this.getCardinalDirection(-p,y,1),w=this.getCardinalDirection(-E,y,3)):(R=this.getCardinalDirection(p,y,2),w=this.getCardinalDirection(E,y,4)),!n)switch(R){case 1:W=s,F=f+-L/y,e[0]=F,e[1]=W;break;case 2:F=d,W=i+v*y,e[0]=F,e[1]=W;break;case 3:W=T,F=f+L/y,e[0]=F,e[1]=W;break;case 4:F=l,W=i+-v*y,e[0]=F,e[1]=W;break}if(!m)switch(w){case 1:Z=C,x=g+-rt/y,e[2]=x,e[3]=Z;break;case 2:x=Q,Z=t+D*y,e[2]=x,e[3]=Z;break;case 3:Z=X,x=g+rt/y,e[2]=x,e[3]=Z;break;case 4:x=K,Z=t+-D*y,e[2]=x,e[3]=Z;break}}return!1},h.getCardinalDirection=function(a,r,e){return a>r?e:1+e%4},h.getIntersection=function(a,r,e,f){if(f==null)return this.getIntersection2(a,r,e);var i=a.x,g=a.y,t=r.x,o=r.y,s=e.x,c=e.y,l=f.x,T=f.y,d=void 0,v=void 0,L=void 0,S=void 0,C=void 0,G=void 0,K=void 0,X=void 0,Q=void 0;return L=o-g,C=i-t,K=t*g-i*o,S=T-c,G=s-l,X=l*c-s*T,Q=L*G-S*C,Q===0?null:(d=(C*X-G*K)/Q,v=(S*K-L*X)/Q,new u(d,v))},h.angleOfVector=function(a,r,e,f){var i=void 0;return a!==e?(i=Math.atan((f-r)/(e-a)),e<a?i+=Math.PI:f<r&&(i+=this.TWO_PI)):f<r?i=this.ONE_AND_HALF_PI:i=this.HALF_PI,i},h.doIntersect=function(a,r,e,f){var i=a.x,g=a.y,t=r.x,o=r.y,s=e.x,c=e.y,l=f.x,T=f.y,d=(t-i)*(T-c)-(l-s)*(o-g);if(d===0)return!1;var v=((T-c)*(l-i)+(s-l)*(T-g))/d,L=((g-o)*(l-i)+(t-i)*(T-g))/d;return 0<v&&v<1&&0<L&&L<1},h.findCircleLineIntersections=function(a,r,e,f,i,g,t){var o=(e-a)*(e-a)+(f-r)*(f-r),s=2*((a-i)*(e-a)+(r-g)*(f-r)),c=(a-i)*(a-i)+(r-g)*(r-g)-t*t,l=s*s-4*o*c;if(l>=0){var T=(-s+Math.sqrt(s*s-4*o*c))/(2*o),d=(-s-Math.sqrt(s*s-4*o*c))/(2*o),v=null;return T>=0&&T<=1?[T]:d>=0&&d<=1?[d]:v}else return null},h.HALF_PI=.5*Math.PI,h.ONE_AND_HALF_PI=1.5*Math.PI,h.TWO_PI=2*Math.PI,h.THREE_PI=3*Math.PI,A.exports=h},function(A,P,N){function u(){}u.sign=function(h){return h>0?1:h<0?-1:0},u.floor=function(h){return h<0?Math.ceil(h):Math.floor(h)},u.ceil=function(h){return h<0?Math.floor(h):Math.ceil(h)},A.exports=u},function(A,P,N){function u(){}u.MAX_VALUE=2147483647,u.MIN_VALUE=-2147483648,A.exports=u},function(A,P,N){var u=function(){function i(g,t){for(var o=0;o<t.length;o++){var s=t[o];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(g,s.key,s)}}return function(g,t,o){return t&&i(g.prototype,t),o&&i(g,o),g}}();function h(i,g){if(!(i instanceof g))throw new TypeError("Cannot call a class as a function")}var a=function(g){return{value:g,next:null,prev:null}},r=function(g,t,o,s){return g!==null?g.next=t:s.head=t,o!==null?o.prev=t:s.tail=t,t.prev=g,t.next=o,s.length++,t},e=function(g,t){var o=g.prev,s=g.next;return o!==null?o.next=s:t.head=s,s!==null?s.prev=o:t.tail=o,g.prev=g.next=null,t.length--,g},f=function(){function i(g){var t=this;h(this,i),this.length=0,this.head=null,this.tail=null,g!=null&&g.forEach(function(o){return t.push(o)})}return u(i,[{key:"size",value:function(){return this.length}},{key:"insertBefore",value:function(t,o){return r(o.prev,a(t),o,this)}},{key:"insertAfter",value:function(t,o){return r(o,a(t),o.next,this)}},{key:"insertNodeBefore",value:function(t,o){return r(o.prev,t,o,this)}},{key:"insertNodeAfter",value:function(t,o){return r(o,t,o.next,this)}},{key:"push",value:function(t){return r(this.tail,a(t),null,this)}},{key:"unshift",value:function(t){return r(null,a(t),this.head,this)}},{key:"remove",value:function(t){return e(t,this)}},{key:"pop",value:function(){return e(this.tail,this).value}},{key:"popNode",value:function(){return e(this.tail,this)}},{key:"shift",value:function(){return e(this.head,this).value}},{key:"shiftNode",value:function(){return e(this.head,this)}},{key:"get_object_at",value:function(t){if(t<=this.length()){for(var o=1,s=this.head;o<t;)s=s.next,o++;return s.value}}},{key:"set_object_at",value:function(t,o){if(t<=this.length()){for(var s=1,c=this.head;s<t;)c=c.next,s++;c.value=o}}}]),i}();A.exports=f},function(A,P,N){function u(h,a,r){this.x=null,this.y=null,h==null&&a==null&&r==null?(this.x=0,this.y=0):typeof h=="number"&&typeof a=="number"&&r==null?(this.x=h,this.y=a):h.constructor.name=="Point"&&a==null&&r==null&&(r=h,this.x=r.x,this.y=r.y)}u.prototype.getX=function(){return this.x},u.prototype.getY=function(){return this.y},u.prototype.getLocation=function(){return new u(this.x,this.y)},u.prototype.setLocation=function(h,a,r){h.constructor.name=="Point"&&a==null&&r==null?(r=h,this.setLocation(r.x,r.y)):typeof h=="number"&&typeof a=="number"&&r==null&&(parseInt(h)==h&&parseInt(a)==a?this.move(h,a):(this.x=Math.floor(h+.5),this.y=Math.floor(a+.5)))},u.prototype.move=function(h,a){this.x=h,this.y=a},u.prototype.translate=function(h,a){this.x+=h,this.y+=a},u.prototype.equals=function(h){if(h.constructor.name=="Point"){var a=h;return this.x==a.x&&this.y==a.y}return this==h},u.prototype.toString=function(){return new u().constructor.name+"[x="+this.x+",y="+this.y+"]"},A.exports=u},function(A,P,N){function u(h,a,r,e){this.x=0,this.y=0,this.width=0,this.height=0,h!=null&&a!=null&&r!=null&&e!=null&&(this.x=h,this.y=a,this.width=r,this.height=e)}u.prototype.getX=function(){return this.x},u.prototype.setX=function(h){this.x=h},u.prototype.getY=function(){return this.y},u.prototype.setY=function(h){this.y=h},u.prototype.getWidth=function(){return this.width},u.prototype.setWidth=function(h){this.width=h},u.prototype.getHeight=function(){return this.height},u.prototype.setHeight=function(h){this.height=h},u.prototype.getRight=function(){return this.x+this.width},u.prototype.getBottom=function(){return this.y+this.height},u.prototype.intersects=function(h){return!(this.getRight()<h.x||this.getBottom()<h.y||h.getRight()<this.x||h.getBottom()<this.y)},u.prototype.getCenterX=function(){return this.x+this.width/2},u.prototype.getMinX=function(){return this.getX()},u.prototype.getMaxX=function(){return this.getX()+this.width},u.prototype.getCenterY=function(){return this.y+this.height/2},u.prototype.getMinY=function(){return this.getY()},u.prototype.getMaxY=function(){return this.getY()+this.height},u.prototype.getWidthHalf=function(){return this.width/2},u.prototype.getHeightHalf=function(){return this.height/2},A.exports=u},function(A,P,N){var u=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(a){return typeof a}:function(a){return a&&typeof Symbol=="function"&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a};function h(){}h.lastID=0,h.createID=function(a){return h.isPrimitive(a)?a:(a.uniqueID!=null||(a.uniqueID=h.getString(),h.lastID++),a.uniqueID)},h.getString=function(a){return a==null&&(a=h.lastID),"Object#"+a},h.isPrimitive=function(a){var r=typeof a>"u"?"undefined":u(a);return a==null||r!="object"&&r!="function"},A.exports=h},function(A,P,N){function u(s){if(Array.isArray(s)){for(var c=0,l=Array(s.length);c<s.length;c++)l[c]=s[c];return l}else return Array.from(s)}var h=N(0),a=N(7),r=N(3),e=N(1),f=N(6),i=N(5),g=N(17),t=N(29);function o(s){t.call(this),this.layoutQuality=h.QUALITY,this.createBendsAsNeeded=h.DEFAULT_CREATE_BENDS_AS_NEEDED,this.incremental=h.DEFAULT_INCREMENTAL,this.animationOnLayout=h.DEFAULT_ANIMATION_ON_LAYOUT,this.animationDuringLayout=h.DEFAULT_ANIMATION_DURING_LAYOUT,this.animationPeriod=h.DEFAULT_ANIMATION_PERIOD,this.uniformLeafNodeSizes=h.DEFAULT_UNIFORM_LEAF_NODE_SIZES,this.edgeToDummyNodes=new Map,this.graphManager=new a(this),this.isLayoutFinished=!1,this.isSubLayout=!1,this.isRemoteUse=!1,s!=null&&(this.isRemoteUse=s)}o.RANDOM_SEED=1,o.prototype=Object.create(t.prototype),o.prototype.getGraphManager=function(){return this.graphManager},o.prototype.getAllNodes=function(){return this.graphManager.getAllNodes()},o.prototype.getAllEdges=function(){return this.graphManager.getAllEdges()},o.prototype.getAllNodesToApplyGravitation=function(){return this.graphManager.getAllNodesToApplyGravitation()},o.prototype.newGraphManager=function(){var s=new a(this);return this.graphManager=s,s},o.prototype.newGraph=function(s){return new f(null,this.graphManager,s)},o.prototype.newNode=function(s){return new r(this.graphManager,s)},o.prototype.newEdge=function(s){return new e(null,null,s)},o.prototype.checkLayoutSuccess=function(){return this.graphManager.getRoot()==null||this.graphManager.getRoot().getNodes().length==0||this.graphManager.includesInvalidEdge()},o.prototype.runLayout=function(){this.isLayoutFinished=!1,this.tilingPreLayout&&this.tilingPreLayout(),this.initParameters();var s;return this.checkLayoutSuccess()?s=!1:s=this.layout(),h.ANIMATE==="during"?!1:(s&&(this.isSubLayout||this.doPostLayout()),this.tilingPostLayout&&this.tilingPostLayout(),this.isLayoutFinished=!0,s)},o.prototype.doPostLayout=function(){this.incremental||this.transform(),this.update()},o.prototype.update2=function(){if(this.createBendsAsNeeded&&(this.createBendpointsFromDummyNodes(),this.graphManager.resetAllEdges()),!this.isRemoteUse){for(var s=this.graphManager.getAllEdges(),c=0;c<s.length;c++)s[c];for(var l=this.graphManager.getRoot().getNodes(),c=0;c<l.length;c++)l[c];this.update(this.graphManager.getRoot())}},o.prototype.update=function(s){if(s==null)this.update2();else if(s instanceof r){var c=s;if(c.getChild()!=null)for(var l=c.getChild().getNodes(),T=0;T<l.length;T++)update(l[T]);if(c.vGraphObject!=null){var d=c.vGraphObject;d.update(c)}}else if(s instanceof e){var v=s;if(v.vGraphObject!=null){var L=v.vGraphObject;L.update(v)}}else if(s instanceof f){var S=s;if(S.vGraphObject!=null){var C=S.vGraphObject;C.update(S)}}},o.prototype.initParameters=function(){this.isSubLayout||(this.layoutQuality=h.QUALITY,this.animationDuringLayout=h.DEFAULT_ANIMATION_DURING_LAYOUT,this.animationPeriod=h.DEFAULT_ANIMATION_PERIOD,this.animationOnLayout=h.DEFAULT_ANIMATION_ON_LAYOUT,this.incremental=h.DEFAULT_INCREMENTAL,this.createBendsAsNeeded=h.DEFAULT_CREATE_BENDS_AS_NEEDED,this.uniformLeafNodeSizes=h.DEFAULT_UNIFORM_LEAF_NODE_SIZES),this.animationDuringLayout&&(this.animationOnLayout=!1)},o.prototype.transform=function(s){if(s==null)this.transform(new i(0,0));else{var c=new g,l=this.graphManager.getRoot().updateLeftTop();if(l!=null){c.setWorldOrgX(s.x),c.setWorldOrgY(s.y),c.setDeviceOrgX(l.x),c.setDeviceOrgY(l.y);for(var T=this.getAllNodes(),d,v=0;v<T.length;v++)d=T[v],d.transform(c)}}},o.prototype.positionNodesRandomly=function(s){if(s==null)this.positionNodesRandomly(this.getGraphManager().getRoot()),this.getGraphManager().getRoot().updateBounds(!0);else for(var c,l,T=s.getNodes(),d=0;d<T.length;d++)c=T[d],l=c.getChild(),l==null||l.getNodes().length==0?c.scatter():(this.positionNodesRandomly(l),c.updateBounds())},o.prototype.getFlatForest=function(){for(var s=[],c=!0,l=this.graphManager.getRoot().getNodes(),T=!0,d=0;d<l.length;d++)l[d].getChild()!=null&&(T=!1);if(!T)return s;var v=new Set,L=[],S=new Map,C=[];for(C=C.concat(l);C.length>0&&c;){for(L.push(C[0]);L.length>0&&c;){var G=L[0];L.splice(0,1),v.add(G);for(var K=G.getEdges(),d=0;d<K.length;d++){var X=K[d].getOtherEnd(G);if(S.get(G)!=X)if(!v.has(X))L.push(X),S.set(X,G);else{c=!1;break}}}if(!c)s=[];else{var Q=[].concat(u(v));s.push(Q);for(var d=0;d<Q.length;d++){var D=Q[d],rt=C.indexOf(D);rt>-1&&C.splice(rt,1)}v=new Set,S=new Map}}return s},o.prototype.createDummyNodesForBendpoints=function(s){for(var c=[],l=s.source,T=this.graphManager.calcLowestCommonAncestor(s.source,s.target),d=0;d<s.bendpoints.length;d++){var v=this.newNode(null);v.setRect(new Point(0,0),new Dimension(1,1)),T.add(v);var L=this.newEdge(null);this.graphManager.add(L,l,v),c.add(v),l=v}var L=this.newEdge(null);return this.graphManager.add(L,l,s.target),this.edgeToDummyNodes.set(s,c),s.isInterGraph()?this.graphManager.remove(s):T.remove(s),c},o.prototype.createBendpointsFromDummyNodes=function(){var s=[];s=s.concat(this.graphManager.getAllEdges()),s=[].concat(u(this.edgeToDummyNodes.keys())).concat(s);for(var c=0;c<s.length;c++){var l=s[c];if(l.bendpoints.length>0){for(var T=this.edgeToDummyNodes.get(l),d=0;d<T.length;d++){var v=T[d],L=new i(v.getCenterX(),v.getCenterY()),S=l.bendpoints.get(d);S.x=L.x,S.y=L.y,v.getOwner().remove(v)}this.graphManager.add(l,l.source,l.target)}}},o.transform=function(s,c,l,T){if(l!=null&&T!=null){var d=c;if(s<=50){var v=c/l;d-=(c-v)/50*(50-s)}else{var L=c*T;d+=(L-c)/50*(s-50)}return d}else{var S,C;return s<=50?(S=9*c/500,C=c/10):(S=9*c/50,C=-8*c),S*s+C}},o.findCenterOfTree=function(s){var c=[];c=c.concat(s);var l=[],T=new Map,d=!1,v=null;(c.length==1||c.length==2)&&(d=!0,v=c[0]);for(var L=0;L<c.length;L++){var S=c[L],C=S.getNeighborsList().size;T.set(S,S.getNeighborsList().size),C==1&&l.push(S)}var G=[];for(G=G.concat(l);!d;){var K=[];K=K.concat(G),G=[];for(var L=0;L<c.length;L++){var S=c[L],X=c.indexOf(S);X>=0&&c.splice(X,1);var Q=S.getNeighborsList();Q.forEach(function(n){if(l.indexOf(n)<0){var m=T.get(n),p=m-1;p==1&&G.push(n),T.set(n,p)}})}l=l.concat(G),(c.length==1||c.length==2)&&(d=!0,v=c[0])}return v},o.prototype.setGraphManager=function(s){this.graphManager=s},A.exports=o},function(A,P,N){function u(){}u.seed=1,u.x=0,u.nextDouble=function(){return u.x=Math.sin(u.seed++)*1e4,u.x-Math.floor(u.x)},A.exports=u},function(A,P,N){var u=N(5);function h(a,r){this.lworldOrgX=0,this.lworldOrgY=0,this.ldeviceOrgX=0,this.ldeviceOrgY=0,this.lworldExtX=1,this.lworldExtY=1,this.ldeviceExtX=1,this.ldeviceExtY=1}h.prototype.getWorldOrgX=function(){return this.lworldOrgX},h.prototype.setWorldOrgX=function(a){this.lworldOrgX=a},h.prototype.getWorldOrgY=function(){return this.lworldOrgY},h.prototype.setWorldOrgY=function(a){this.lworldOrgY=a},h.prototype.getWorldExtX=function(){return this.lworldExtX},h.prototype.setWorldExtX=function(a){this.lworldExtX=a},h.prototype.getWorldExtY=function(){return this.lworldExtY},h.prototype.setWorldExtY=function(a){this.lworldExtY=a},h.prototype.getDeviceOrgX=function(){return this.ldeviceOrgX},h.prototype.setDeviceOrgX=function(a){this.ldeviceOrgX=a},h.prototype.getDeviceOrgY=function(){return this.ldeviceOrgY},h.prototype.setDeviceOrgY=function(a){this.ldeviceOrgY=a},h.prototype.getDeviceExtX=function(){return this.ldeviceExtX},h.prototype.setDeviceExtX=function(a){this.ldeviceExtX=a},h.prototype.getDeviceExtY=function(){return this.ldeviceExtY},h.prototype.setDeviceExtY=function(a){this.ldeviceExtY=a},h.prototype.transformX=function(a){var r=0,e=this.lworldExtX;return e!=0&&(r=this.ldeviceOrgX+(a-this.lworldOrgX)*this.ldeviceExtX/e),r},h.prototype.transformY=function(a){var r=0,e=this.lworldExtY;return e!=0&&(r=this.ldeviceOrgY+(a-this.lworldOrgY)*this.ldeviceExtY/e),r},h.prototype.inverseTransformX=function(a){var r=0,e=this.ldeviceExtX;return e!=0&&(r=this.lworldOrgX+(a-this.ldeviceOrgX)*this.lworldExtX/e),r},h.prototype.inverseTransformY=function(a){var r=0,e=this.ldeviceExtY;return e!=0&&(r=this.lworldOrgY+(a-this.ldeviceOrgY)*this.lworldExtY/e),r},h.prototype.inverseTransformPoint=function(a){var r=new u(this.inverseTransformX(a.x),this.inverseTransformY(a.y));return r},A.exports=h},function(A,P,N){function u(t){if(Array.isArray(t)){for(var o=0,s=Array(t.length);o<t.length;o++)s[o]=t[o];return s}else return Array.from(t)}var h=N(15),a=N(4),r=N(0),e=N(8),f=N(9);function i(){h.call(this),this.useSmartIdealEdgeLengthCalculation=a.DEFAULT_USE_SMART_IDEAL_EDGE_LENGTH_CALCULATION,this.gravityConstant=a.DEFAULT_GRAVITY_STRENGTH,this.compoundGravityConstant=a.DEFAULT_COMPOUND_GRAVITY_STRENGTH,this.gravityRangeFactor=a.DEFAULT_GRAVITY_RANGE_FACTOR,this.compoundGravityRangeFactor=a.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR,this.displacementThresholdPerNode=3*a.DEFAULT_EDGE_LENGTH/100,this.coolingFactor=a.DEFAULT_COOLING_FACTOR_INCREMENTAL,this.initialCoolingFactor=a.DEFAULT_COOLING_FACTOR_INCREMENTAL,this.totalDisplacement=0,this.oldTotalDisplacement=0,this.maxIterations=a.MAX_ITERATIONS}i.prototype=Object.create(h.prototype);for(var g in h)i[g]=h[g];i.prototype.initParameters=function(){h.prototype.initParameters.call(this,arguments),this.totalIterations=0,this.notAnimatedIterations=0,this.useFRGridVariant=a.DEFAULT_USE_SMART_REPULSION_RANGE_CALCULATION,this.grid=[]},i.prototype.calcIdealEdgeLengths=function(){for(var t,o,s,c,l,T,d,v=this.getGraphManager().getAllEdges(),L=0;L<v.length;L++)t=v[L],o=t.idealLength,t.isInterGraph&&(c=t.getSource(),l=t.getTarget(),T=t.getSourceInLca().getEstimatedSize(),d=t.getTargetInLca().getEstimatedSize(),this.useSmartIdealEdgeLengthCalculation&&(t.idealLength+=T+d-2*r.SIMPLE_NODE_SIZE),s=t.getLca().getInclusionTreeDepth(),t.idealLength+=o*a.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR*(c.getInclusionTreeDepth()+l.getInclusionTreeDepth()-2*s))},i.prototype.initSpringEmbedder=function(){var t=this.getAllNodes().length;this.incremental?(t>a.ADAPTATION_LOWER_NODE_LIMIT&&(this.coolingFactor=Math.max(this.coolingFactor*a.COOLING_ADAPTATION_FACTOR,this.coolingFactor-(t-a.ADAPTATION_LOWER_NODE_LIMIT)/(a.ADAPTATION_UPPER_NODE_LIMIT-a.ADAPTATION_LOWER_NODE_LIMIT)*this.coolingFactor*(1-a.COOLING_ADAPTATION_FACTOR))),this.maxNodeDisplacement=a.MAX_NODE_DISPLACEMENT_INCREMENTAL):(t>a.ADAPTATION_LOWER_NODE_LIMIT?this.coolingFactor=Math.max(a.COOLING_ADAPTATION_FACTOR,1-(t-a.ADAPTATION_LOWER_NODE_LIMIT)/(a.ADAPTATION_UPPER_NODE_LIMIT-a.ADAPTATION_LOWER_NODE_LIMIT)*(1-a.COOLING_ADAPTATION_FACTOR)):this.coolingFactor=1,this.initialCoolingFactor=this.coolingFactor,this.maxNodeDisplacement=a.MAX_NODE_DISPLACEMENT),this.maxIterations=Math.max(this.getAllNodes().length*5,this.maxIterations),this.displacementThresholdPerNode=3*a.DEFAULT_EDGE_LENGTH/100,this.totalDisplacementThreshold=this.displacementThresholdPerNode*this.getAllNodes().length,this.repulsionRange=this.calcRepulsionRange()},i.prototype.calcSpringForces=function(){for(var t=this.getAllEdges(),o,s=0;s<t.length;s++)o=t[s],this.calcSpringForce(o,o.idealLength)},i.prototype.calcRepulsionForces=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0,o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,s,c,l,T,d=this.getAllNodes(),v;if(this.useFRGridVariant)for(this.totalIterations%a.GRID_CALCULATION_CHECK_PERIOD==1&&t&&this.updateGrid(),v=new Set,s=0;s<d.length;s++)l=d[s],this.calculateRepulsionForceOfANode(l,v,t,o),v.add(l);else for(s=0;s<d.length;s++)for(l=d[s],c=s+1;c<d.length;c++)T=d[c],l.getOwner()==T.getOwner()&&this.calcRepulsionForce(l,T)},i.prototype.calcGravitationalForces=function(){for(var t,o=this.getAllNodesToApplyGravitation(),s=0;s<o.length;s++)t=o[s],this.calcGravitationalForce(t)},i.prototype.moveNodes=function(){for(var t=this.getAllNodes(),o,s=0;s<t.length;s++)o=t[s],o.move()},i.prototype.calcSpringForce=function(t,o){var s=t.getSource(),c=t.getTarget(),l,T,d,v;if(this.uniformLeafNodeSizes&&s.getChild()==null&&c.getChild()==null)t.updateLengthSimple();else if(t.updateLength(),t.isOverlapingSourceAndTarget)return;l=t.getLength(),l!=0&&(T=t.edgeElasticity*(l-o),d=T*(t.lengthX/l),v=T*(t.lengthY/l),s.springForceX+=d,s.springForceY+=v,c.springForceX-=d,c.springForceY-=v)},i.prototype.calcRepulsionForce=function(t,o){var s=t.getRect(),c=o.getRect(),l=new Array(2),T=new Array(4),d,v,L,S,C,G,K;if(s.intersects(c)){e.calcSeparationAmount(s,c,l,a.DEFAULT_EDGE_LENGTH/2),G=2*l[0],K=2*l[1];var X=t.noOfChildren*o.noOfChildren/(t.noOfChildren+o.noOfChildren);t.repulsionForceX-=X*G,t.repulsionForceY-=X*K,o.repulsionForceX+=X*G,o.repulsionForceY+=X*K}else this.uniformLeafNodeSizes&&t.getChild()==null&&o.getChild()==null?(d=c.getCenterX()-s.getCenterX(),v=c.getCenterY()-s.getCenterY()):(e.getIntersection(s,c,T),d=T[2]-T[0],v=T[3]-T[1]),Math.abs(d)<a.MIN_REPULSION_DIST&&(d=f.sign(d)*a.MIN_REPULSION_DIST),Math.abs(v)<a.MIN_REPULSION_DIST&&(v=f.sign(v)*a.MIN_REPULSION_DIST),L=d*d+v*v,S=Math.sqrt(L),C=(t.nodeRepulsion/2+o.nodeRepulsion/2)*t.noOfChildren*o.noOfChildren/L,G=C*d/S,K=C*v/S,t.repulsionForceX-=G,t.repulsionForceY-=K,o.repulsionForceX+=G,o.repulsionForceY+=K},i.prototype.calcGravitationalForce=function(t){var o,s,c,l,T,d,v,L;o=t.getOwner(),s=(o.getRight()+o.getLeft())/2,c=(o.getTop()+o.getBottom())/2,l=t.getCenterX()-s,T=t.getCenterY()-c,d=Math.abs(l)+t.getWidth()/2,v=Math.abs(T)+t.getHeight()/2,t.getOwner()==this.graphManager.getRoot()?(L=o.getEstimatedSize()*this.gravityRangeFactor,(d>L||v>L)&&(t.gravitationForceX=-this.gravityConstant*l,t.gravitationForceY=-this.gravityConstant*T)):(L=o.getEstimatedSize()*this.compoundGravityRangeFactor,(d>L||v>L)&&(t.gravitationForceX=-this.gravityConstant*l*this.compoundGravityConstant,t.gravitationForceY=-this.gravityConstant*T*this.compoundGravityConstant))},i.prototype.isConverged=function(){var t,o=!1;return this.totalIterations>this.maxIterations/3&&(o=Math.abs(this.totalDisplacement-this.oldTotalDisplacement)<2),t=this.totalDisplacement<this.totalDisplacementThreshold,this.oldTotalDisplacement=this.totalDisplacement,t||o},i.prototype.animate=function(){this.animationDuringLayout&&!this.isSubLayout&&(this.notAnimatedIterations==this.animationPeriod?(this.update(),this.notAnimatedIterations=0):this.notAnimatedIterations++)},i.prototype.calcNoOfChildrenForAllNodes=function(){for(var t,o=this.graphManager.getAllNodes(),s=0;s<o.length;s++)t=o[s],t.noOfChildren=t.getNoOfChildren()},i.prototype.calcGrid=function(t){var o=0,s=0;o=parseInt(Math.ceil((t.getRight()-t.getLeft())/this.repulsionRange)),s=parseInt(Math.ceil((t.getBottom()-t.getTop())/this.repulsionRange));for(var c=new Array(o),l=0;l<o;l++)c[l]=new Array(s);for(var l=0;l<o;l++)for(var T=0;T<s;T++)c[l][T]=new Array;return c},i.prototype.addNodeToGrid=function(t,o,s){var c=0,l=0,T=0,d=0;c=parseInt(Math.floor((t.getRect().x-o)/this.repulsionRange)),l=parseInt(Math.floor((t.getRect().width+t.getRect().x-o)/this.repulsionRange)),T=parseInt(Math.floor((t.getRect().y-s)/this.repulsionRange)),d=parseInt(Math.floor((t.getRect().height+t.getRect().y-s)/this.repulsionRange));for(var v=c;v<=l;v++)for(var L=T;L<=d;L++)this.grid[v][L].push(t),t.setGridCoordinates(c,l,T,d)},i.prototype.updateGrid=function(){var t,o,s=this.getAllNodes();for(this.grid=this.calcGrid(this.graphManager.getRoot()),t=0;t<s.length;t++)o=s[t],this.addNodeToGrid(o,this.graphManager.getRoot().getLeft(),this.graphManager.getRoot().getTop())},i.prototype.calculateRepulsionForceOfANode=function(t,o,s,c){if(this.totalIterations%a.GRID_CALCULATION_CHECK_PERIOD==1&&s||c){var l=new Set;t.surrounding=new Array;for(var T,d=this.grid,v=t.startX-1;v<t.finishX+2;v++)for(var L=t.startY-1;L<t.finishY+2;L++)if(!(v<0||L<0||v>=d.length||L>=d[0].length)){for(var S=0;S<d[v][L].length;S++)if(T=d[v][L][S],!(t.getOwner()!=T.getOwner()||t==T)&&!o.has(T)&&!l.has(T)){var C=Math.abs(t.getCenterX()-T.getCenterX())-(t.getWidth()/2+T.getWidth()/2),G=Math.abs(t.getCenterY()-T.getCenterY())-(t.getHeight()/2+T.getHeight()/2);C<=this.repulsionRange&&G<=this.repulsionRange&&l.add(T)}}t.surrounding=[].concat(u(l))}for(v=0;v<t.surrounding.length;v++)this.calcRepulsionForce(t,t.surrounding[v])},i.prototype.calcRepulsionRange=function(){return 0},A.exports=i},function(A,P,N){var u=N(1),h=N(4);function a(e,f,i){u.call(this,e,f,i),this.idealLength=h.DEFAULT_EDGE_LENGTH,this.edgeElasticity=h.DEFAULT_SPRING_STRENGTH}a.prototype=Object.create(u.prototype);for(var r in u)a[r]=u[r];A.exports=a},function(A,P,N){var u=N(3),h=N(4);function a(e,f,i,g){u.call(this,e,f,i,g),this.nodeRepulsion=h.DEFAULT_REPULSION_STRENGTH,this.springForceX=0,this.springForceY=0,this.repulsionForceX=0,this.repulsionForceY=0,this.gravitationForceX=0,this.gravitationForceY=0,this.displacementX=0,this.displacementY=0,this.startX=0,this.finishX=0,this.startY=0,this.finishY=0,this.surrounding=[]}a.prototype=Object.create(u.prototype);for(var r in u)a[r]=u[r];a.prototype.setGridCoordinates=function(e,f,i,g){this.startX=e,this.finishX=f,this.startY=i,this.finishY=g},A.exports=a},function(A,P,N){function u(h,a){this.width=0,this.height=0,h!==null&&a!==null&&(this.height=a,this.width=h)}u.prototype.getWidth=function(){return this.width},u.prototype.setWidth=function(h){this.width=h},u.prototype.getHeight=function(){return this.height},u.prototype.setHeight=function(h){this.height=h},A.exports=u},function(A,P,N){var u=N(14);function h(){this.map={},this.keys=[]}h.prototype.put=function(a,r){var e=u.createID(a);this.contains(e)||(this.map[e]=r,this.keys.push(a))},h.prototype.contains=function(a){return u.createID(a),this.map[a]!=null},h.prototype.get=function(a){var r=u.createID(a);return this.map[r]},h.prototype.keySet=function(){return this.keys},A.exports=h},function(A,P,N){var u=N(14);function h(){this.set={}}h.prototype.add=function(a){var r=u.createID(a);this.contains(r)||(this.set[r]=a)},h.prototype.remove=function(a){delete this.set[u.createID(a)]},h.prototype.clear=function(){this.set={}},h.prototype.contains=function(a){return this.set[u.createID(a)]==a},h.prototype.isEmpty=function(){return this.size()===0},h.prototype.size=function(){return Object.keys(this.set).length},h.prototype.addAllTo=function(a){for(var r=Object.keys(this.set),e=r.length,f=0;f<e;f++)a.push(this.set[r[f]])},h.prototype.size=function(){return Object.keys(this.set).length},h.prototype.addAll=function(a){for(var r=a.length,e=0;e<r;e++){var f=a[e];this.add(f)}},A.exports=h},function(A,P,N){function u(){}u.multMat=function(h,a){for(var r=[],e=0;e<h.length;e++){r[e]=[];for(var f=0;f<a[0].length;f++){r[e][f]=0;for(var i=0;i<h[0].length;i++)r[e][f]+=h[e][i]*a[i][f]}}return r},u.transpose=function(h){for(var a=[],r=0;r<h[0].length;r++){a[r]=[];for(var e=0;e<h.length;e++)a[r][e]=h[e][r]}return a},u.multCons=function(h,a){for(var r=[],e=0;e<h.length;e++)r[e]=h[e]*a;return r},u.minusOp=function(h,a){for(var r=[],e=0;e<h.length;e++)r[e]=h[e]-a[e];return r},u.dotProduct=function(h,a){for(var r=0,e=0;e<h.length;e++)r+=h[e]*a[e];return r},u.mag=function(h){return Math.sqrt(this.dotProduct(h,h))},u.normalize=function(h){for(var a=[],r=this.mag(h),e=0;e<h.length;e++)a[e]=h[e]/r;return a},u.multGamma=function(h){for(var a=[],r=0,e=0;e<h.length;e++)r+=h[e];r*=-1/h.length;for(var f=0;f<h.length;f++)a[f]=r+h[f];return a},u.multL=function(h,a,r){for(var e=[],f=[],i=[],g=0;g<a[0].length;g++){for(var t=0,o=0;o<a.length;o++)t+=-.5*a[o][g]*h[o];f[g]=t}for(var s=0;s<r.length;s++){for(var c=0,l=0;l<r.length;l++)c+=r[s][l]*f[l];i[s]=c}for(var T=0;T<a.length;T++){for(var d=0,v=0;v<a[0].length;v++)d+=a[T][v]*i[v];e[T]=d}return e},A.exports=u},function(A,P,N){var u=function(){function e(f,i){for(var g=0;g<i.length;g++){var t=i[g];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(f,t.key,t)}}return function(f,i,g){return i&&e(f.prototype,i),g&&e(f,g),f}}();function h(e,f){if(!(e instanceof f))throw new TypeError("Cannot call a class as a function")}var a=N(11),r=function(){function e(f,i){h(this,e),(i!==null||i!==void 0)&&(this.compareFunction=this._defaultCompareFunction);var g=void 0;f instanceof a?g=f.size():g=f.length,this._quicksort(f,0,g-1)}return u(e,[{key:"_quicksort",value:function(i,g,t){if(g<t){var o=this._partition(i,g,t);this._quicksort(i,g,o),this._quicksort(i,o+1,t)}}},{key:"_partition",value:function(i,g,t){for(var o=this._get(i,g),s=g,c=t;;){for(;this.compareFunction(o,this._get(i,c));)c--;for(;this.compareFunction(this._get(i,s),o);)s++;if(s<c)this._swap(i,s,c),s++,c--;else return c}}},{key:"_get",value:function(i,g){return i instanceof a?i.get_object_at(g):i[g]}},{key:"_set",value:function(i,g,t){i instanceof a?i.set_object_at(g,t):i[g]=t}},{key:"_swap",value:function(i,g,t){var o=this._get(i,g);this._set(i,g,this._get(i,t)),this._set(i,t,o)}},{key:"_defaultCompareFunction",value:function(i,g){return g>i}}]),e}();A.exports=r},function(A,P,N){function u(){}u.svd=function(h){this.U=null,this.V=null,this.s=null,this.m=0,this.n=0,this.m=h.length,this.n=h[0].length;var a=Math.min(this.m,this.n);this.s=function(Tt){for(var Ct=[];Tt-- >0;)Ct.push(0);return Ct}(Math.min(this.m+1,this.n)),this.U=function(Tt){var Ct=function Bt(bt){if(bt.length==0)return 0;for(var zt=[],St=0;St<bt[0];St++)zt.push(Bt(bt.slice(1)));return zt};return Ct(Tt)}([this.m,a]),this.V=function(Tt){var Ct=function Bt(bt){if(bt.length==0)return 0;for(var zt=[],St=0;St<bt[0];St++)zt.push(Bt(bt.slice(1)));return zt};return Ct(Tt)}([this.n,this.n]);for(var r=function(Tt){for(var Ct=[];Tt-- >0;)Ct.push(0);return Ct}(this.n),e=function(Tt){for(var Ct=[];Tt-- >0;)Ct.push(0);return Ct}(this.m),f=!0,i=Math.min(this.m-1,this.n),g=Math.max(0,Math.min(this.n-2,this.m)),t=0;t<Math.max(i,g);t++){if(t<i){this.s[t]=0;for(var o=t;o<this.m;o++)this.s[t]=u.hypot(this.s[t],h[o][t]);if(this.s[t]!==0){h[t][t]<0&&(this.s[t]=-this.s[t]);for(var s=t;s<this.m;s++)h[s][t]/=this.s[t];h[t][t]+=1}this.s[t]=-this.s[t]}for(var c=t+1;c<this.n;c++){if(function(Tt,Ct){return Tt&&Ct}(t<i,this.s[t]!==0)){for(var l=0,T=t;T<this.m;T++)l+=h[T][t]*h[T][c];l=-l/h[t][t];for(var d=t;d<this.m;d++)h[d][c]+=l*h[d][t]}r[c]=h[t][c]}if(function(Tt,Ct){return Ct}(f,t<i))for(var v=t;v<this.m;v++)this.U[v][t]=h[v][t];if(t<g){r[t]=0;for(var L=t+1;L<this.n;L++)r[t]=u.hypot(r[t],r[L]);if(r[t]!==0){r[t+1]<0&&(r[t]=-r[t]);for(var S=t+1;S<this.n;S++)r[S]/=r[t];r[t+1]+=1}if(r[t]=-r[t],function(Tt,Ct){return Tt&&Ct}(t+1<this.m,r[t]!==0)){for(var C=t+1;C<this.m;C++)e[C]=0;for(var G=t+1;G<this.n;G++)for(var K=t+1;K<this.m;K++)e[K]+=r[G]*h[K][G];for(var X=t+1;X<this.n;X++)for(var Q=-r[X]/r[t+1],D=t+1;D<this.m;D++)h[D][X]+=Q*e[D]}for(var rt=t+1;rt<this.n;rt++)this.V[rt][t]=r[rt]}}var n=Math.min(this.n,this.m+1);i<this.n&&(this.s[i]=h[i][i]),this.m<n&&(this.s[n-1]=0),g+1<n&&(r[g]=h[g][n-1]),r[n-1]=0;{for(var m=i;m<a;m++){for(var p=0;p<this.m;p++)this.U[p][m]=0;this.U[m][m]=1}for(var E=i-1;E>=0;E--)if(this.s[E]!==0){for(var y=E+1;y<a;y++){for(var R=0,w=E;w<this.m;w++)R+=this.U[w][E]*this.U[w][y];R=-R/this.U[E][E];for(var F=E;F<this.m;F++)this.U[F][y]+=R*this.U[F][E]}for(var W=E;W<this.m;W++)this.U[W][E]=-this.U[W][E];this.U[E][E]=1+this.U[E][E];for(var x=0;x<E-1;x++)this.U[x][E]=0}else{for(var Z=0;Z<this.m;Z++)this.U[Z][E]=0;this.U[E][E]=1}}for(var V=this.n-1;V>=0;V--){if(function(Tt,Ct){return Tt&&Ct}(V<g,r[V]!==0))for(var Y=V+1;Y<a;Y++){for(var et=0,z=V+1;z<this.n;z++)et+=this.V[z][V]*this.V[z][Y];et=-et/this.V[V+1][V];for(var M=V+1;M<this.n;M++)this.V[M][Y]+=et*this.V[M][V]}for(var H=0;H<this.n;H++)this.V[H][V]=0;this.V[V][V]=1}for(var B=n-1,_=Math.pow(2,-52),ht=Math.pow(2,-966);n>0;){var q=void 0,It=void 0;for(q=n-2;q>=-1&&q!==-1;q--)if(Math.abs(r[q])<=ht+_*(Math.abs(this.s[q])+Math.abs(this.s[q+1]))){r[q]=0;break}if(q===n-2)It=4;else{var Nt=void 0;for(Nt=n-1;Nt>=q&&Nt!==q;Nt--){var vt=(Nt!==n?Math.abs(r[Nt]):0)+(Nt!==q+1?Math.abs(r[Nt-1]):0);if(Math.abs(this.s[Nt])<=ht+_*vt){this.s[Nt]=0;break}}Nt===q?It=3:Nt===n-1?It=1:(It=2,q=Nt)}switch(q++,It){case 1:{var it=r[n-2];r[n-2]=0;for(var gt=n-2;gt>=q;gt--){var mt=u.hypot(this.s[gt],it),At=this.s[gt]/mt,Ot=it/mt;this.s[gt]=mt,gt!==q&&(it=-Ot*r[gt-1],r[gt-1]=At*r[gt-1]);for(var Et=0;Et<this.n;Et++)mt=At*this.V[Et][gt]+Ot*this.V[Et][n-1],this.V[Et][n-1]=-Ot*this.V[Et][gt]+At*this.V[Et][n-1],this.V[Et][gt]=mt}}break;case 2:{var Dt=r[q-1];r[q-1]=0;for(var Rt=q;Rt<n;Rt++){var Ht=u.hypot(this.s[Rt],Dt),Ut=this.s[Rt]/Ht,Pt=Dt/Ht;this.s[Rt]=Ht,Dt=-Pt*r[Rt],r[Rt]=Ut*r[Rt];for(var Ft=0;Ft<this.m;Ft++)Ht=Ut*this.U[Ft][Rt]+Pt*this.U[Ft][q-1],this.U[Ft][q-1]=-Pt*this.U[Ft][Rt]+Ut*this.U[Ft][q-1],this.U[Ft][Rt]=Ht}}break;case 3:{var Yt=Math.max(Math.max(Math.max(Math.max(Math.abs(this.s[n-1]),Math.abs(this.s[n-2])),Math.abs(r[n-2])),Math.abs(this.s[q])),Math.abs(r[q])),Vt=this.s[n-1]/Yt,b=this.s[n-2]/Yt,U=r[n-2]/Yt,$=this.s[q]/Yt,J=r[q]/Yt,k=((b+Vt)*(b-Vt)+U*U)/2,at=Vt*U*(Vt*U),ct=0;(function(Tt,Ct){return Tt||Ct})(k!==0,at!==0)&&(ct=Math.sqrt(k*k+at),k<0&&(ct=-ct),ct=at/(k+ct));for(var nt=($+Vt)*($-Vt)+ct,tt=$*J,j=q;j<n-1;j++){var ut=u.hypot(nt,tt),wt=nt/ut,pt=tt/ut;j!==q&&(r[j-1]=ut),nt=wt*this.s[j]+pt*r[j],r[j]=wt*r[j]-pt*this.s[j],tt=pt*this.s[j+1],this.s[j+1]=wt*this.s[j+1];for(var xt=0;xt<this.n;xt++)ut=wt*this.V[xt][j]+pt*this.V[xt][j+1],this.V[xt][j+1]=-pt*this.V[xt][j]+wt*this.V[xt][j+1],this.V[xt][j]=ut;if(ut=u.hypot(nt,tt),wt=nt/ut,pt=tt/ut,this.s[j]=ut,nt=wt*r[j]+pt*this.s[j+1],this.s[j+1]=-pt*r[j]+wt*this.s[j+1],tt=pt*r[j+1],r[j+1]=wt*r[j+1],j<this.m-1)for(var lt=0;lt<this.m;lt++)ut=wt*this.U[lt][j]+pt*this.U[lt][j+1],this.U[lt][j+1]=-pt*this.U[lt][j]+wt*this.U[lt][j+1],this.U[lt][j]=ut}r[n-2]=nt}break;case 4:{if(this.s[q]<=0){this.s[q]=this.s[q]<0?-this.s[q]:0;for(var ot=0;ot<=B;ot++)this.V[ot][q]=-this.V[ot][q]}for(;q<B&&!(this.s[q]>=this.s[q+1]);){var Lt=this.s[q];if(this.s[q]=this.s[q+1],this.s[q+1]=Lt,q<this.n-1)for(var ft=0;ft<this.n;ft++)Lt=this.V[ft][q+1],this.V[ft][q+1]=this.V[ft][q],this.V[ft][q]=Lt;if(q<this.m-1)for(var st=0;st<this.m;st++)Lt=this.U[st][q+1],this.U[st][q+1]=this.U[st][q],this.U[st][q]=Lt;q++}n--}break}}var Xt={U:this.U,V:this.V,S:this.s};return Xt},u.hypot=function(h,a){var r=void 0;return Math.abs(h)>Math.abs(a)?(r=a/h,r=Math.abs(h)*Math.sqrt(1+r*r)):a!=0?(r=h/a,r=Math.abs(a)*Math.sqrt(1+r*r)):r=0,r},A.exports=u},function(A,P,N){var u=function(){function r(e,f){for(var i=0;i<f.length;i++){var g=f[i];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(e,g.key,g)}}return function(e,f,i){return f&&r(e.prototype,f),i&&r(e,i),e}}();function h(r,e){if(!(r instanceof e))throw new TypeError("Cannot call a class as a function")}var a=function(){function r(e,f){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,g=arguments.length>3&&arguments[3]!==void 0?arguments[3]:-1,t=arguments.length>4&&arguments[4]!==void 0?arguments[4]:-1;h(this,r),this.sequence1=e,this.sequence2=f,this.match_score=i,this.mismatch_penalty=g,this.gap_penalty=t,this.iMax=e.length+1,this.jMax=f.length+1,this.grid=new Array(this.iMax);for(var o=0;o<this.iMax;o++){this.grid[o]=new Array(this.jMax);for(var s=0;s<this.jMax;s++)this.grid[o][s]=0}this.tracebackGrid=new Array(this.iMax);for(var c=0;c<this.iMax;c++){this.tracebackGrid[c]=new Array(this.jMax);for(var l=0;l<this.jMax;l++)this.tracebackGrid[c][l]=[null,null,null]}this.alignments=[],this.score=-1,this.computeGrids()}return u(r,[{key:"getScore",value:function(){return this.score}},{key:"getAlignments",value:function(){return this.alignments}},{key:"computeGrids",value:function(){for(var f=1;f<this.jMax;f++)this.grid[0][f]=this.grid[0][f-1]+this.gap_penalty,this.tracebackGrid[0][f]=[!1,!1,!0];for(var i=1;i<this.iMax;i++)this.grid[i][0]=this.grid[i-1][0]+this.gap_penalty,this.tracebackGrid[i][0]=[!1,!0,!1];for(var g=1;g<this.iMax;g++)for(var t=1;t<this.jMax;t++){var o=void 0;this.sequence1[g-1]===this.sequence2[t-1]?o=this.grid[g-1][t-1]+this.match_score:o=this.grid[g-1][t-1]+this.mismatch_penalty;var s=this.grid[g-1][t]+this.gap_penalty,c=this.grid[g][t-1]+this.gap_penalty,l=[o,s,c],T=this.arrayAllMaxIndexes(l);this.grid[g][t]=l[T[0]],this.tracebackGrid[g][t]=[T.includes(0),T.includes(1),T.includes(2)]}this.score=this.grid[this.iMax-1][this.jMax-1]}},{key:"alignmentTraceback",value:function(){var f=[];for(f.push({pos:[this.sequence1.length,this.sequence2.length],seq1:"",seq2:""});f[0];){var i=f[0],g=this.tracebackGrid[i.pos[0]][i.pos[1]];g[0]&&f.push({pos:[i.pos[0]-1,i.pos[1]-1],seq1:this.sequence1[i.pos[0]-1]+i.seq1,seq2:this.sequence2[i.pos[1]-1]+i.seq2}),g[1]&&f.push({pos:[i.pos[0]-1,i.pos[1]],seq1:this.sequence1[i.pos[0]-1]+i.seq1,seq2:"-"+i.seq2}),g[2]&&f.push({pos:[i.pos[0],i.pos[1]-1],seq1:"-"+i.seq1,seq2:this.sequence2[i.pos[1]-1]+i.seq2}),i.pos[0]===0&&i.pos[1]===0&&this.alignments.push({sequence1:i.seq1,sequence2:i.seq2}),f.shift()}return this.alignments}},{key:"getAllIndexes",value:function(f,i){for(var g=[],t=-1;(t=f.indexOf(i,t+1))!==-1;)g.push(t);return g}},{key:"arrayAllMaxIndexes",value:function(f){return this.getAllIndexes(f,Math.max.apply(null,f))}}]),r}();A.exports=a},function(A,P,N){var u=function(){};u.FDLayout=N(18),u.FDLayoutConstants=N(4),u.FDLayoutEdge=N(19),u.FDLayoutNode=N(20),u.DimensionD=N(21),u.HashMap=N(22),u.HashSet=N(23),u.IGeometry=N(8),u.IMath=N(9),u.Integer=N(10),u.Point=N(12),u.PointD=N(5),u.RandomSeed=N(16),u.RectangleD=N(13),u.Transform=N(17),u.UniqueIDGeneretor=N(14),u.Quicksort=N(25),u.LinkedList=N(11),u.LGraphObject=N(2),u.LGraph=N(6),u.LEdge=N(1),u.LGraphManager=N(7),u.LNode=N(3),u.Layout=N(15),u.LayoutConstants=N(0),u.NeedlemanWunsch=N(27),u.Matrix=N(24),u.SVD=N(26),A.exports=u},function(A,P,N){function u(){this.listeners=[]}var h=u.prototype;h.addListener=function(a,r){this.listeners.push({event:a,callback:r})},h.removeListener=function(a,r){for(var e=this.listeners.length;e>=0;e--){var f=this.listeners[e];f.event===a&&f.callback===r&&this.listeners.splice(e,1)}},h.emit=function(a,r){for(var e=0;e<this.listeners.length;e++){var f=this.listeners[e];a===f.event&&f.callback(r)}},A.exports=u}])})}(fe)),fe.exports}var dr=le.exports,Oe;function vr(){return Oe||(Oe=1,function(I,O){(function(P,N){I.exports=N(ur())})(dr,function(A){return(()=>{var P={45:(a,r,e)=>{var f={};f.layoutBase=e(551),f.CoSEConstants=e(806),f.CoSEEdge=e(767),f.CoSEGraph=e(880),f.CoSEGraphManager=e(578),f.CoSELayout=e(765),f.CoSENode=e(991),f.ConstraintHandler=e(902),a.exports=f},806:(a,r,e)=>{var f=e(551).FDLayoutConstants;function i(){}for(var g in f)i[g]=f[g];i.DEFAULT_USE_MULTI_LEVEL_SCALING=!1,i.DEFAULT_RADIAL_SEPARATION=f.DEFAULT_EDGE_LENGTH,i.DEFAULT_COMPONENT_SEPERATION=60,i.TILE=!0,i.TILING_PADDING_VERTICAL=10,i.TILING_PADDING_HORIZONTAL=10,i.TRANSFORM_ON_CONSTRAINT_HANDLING=!0,i.ENFORCE_CONSTRAINTS=!0,i.APPLY_LAYOUT=!0,i.RELAX_MOVEMENT_ON_CONSTRAINTS=!0,i.TREE_REDUCTION_ON_INCREMENTAL=!0,i.PURE_INCREMENTAL=i.DEFAULT_INCREMENTAL,a.exports=i},767:(a,r,e)=>{var f=e(551).FDLayoutEdge;function i(t,o,s){f.call(this,t,o,s)}i.prototype=Object.create(f.prototype);for(var g in f)i[g]=f[g];a.exports=i},880:(a,r,e)=>{var f=e(551).LGraph;function i(t,o,s){f.call(this,t,o,s)}i.prototype=Object.create(f.prototype);for(var g in f)i[g]=f[g];a.exports=i},578:(a,r,e)=>{var f=e(551).LGraphManager;function i(t){f.call(this,t)}i.prototype=Object.create(f.prototype);for(var g in f)i[g]=f[g];a.exports=i},765:(a,r,e)=>{var f=e(551).FDLayout,i=e(578),g=e(880),t=e(991),o=e(767),s=e(806),c=e(902),l=e(551).FDLayoutConstants,T=e(551).LayoutConstants,d=e(551).Point,v=e(551).PointD,L=e(551).DimensionD,S=e(551).Layout,C=e(551).Integer,G=e(551).IGeometry,K=e(551).LGraph,X=e(551).Transform,Q=e(551).LinkedList;function D(){f.call(this),this.toBeTiled={},this.constraints={}}D.prototype=Object.create(f.prototype);for(var rt in f)D[rt]=f[rt];D.prototype.newGraphManager=function(){var n=new i(this);return this.graphManager=n,n},D.prototype.newGraph=function(n){return new g(null,this.graphManager,n)},D.prototype.newNode=function(n){return new t(this.graphManager,n)},D.prototype.newEdge=function(n){return new o(null,null,n)},D.prototype.initParameters=function(){f.prototype.initParameters.call(this,arguments),this.isSubLayout||(s.DEFAULT_EDGE_LENGTH<10?this.idealEdgeLength=10:this.idealEdgeLength=s.DEFAULT_EDGE_LENGTH,this.useSmartIdealEdgeLengthCalculation=s.DEFAULT_USE_SMART_IDEAL_EDGE_LENGTH_CALCULATION,this.gravityConstant=l.DEFAULT_GRAVITY_STRENGTH,this.compoundGravityConstant=l.DEFAULT_COMPOUND_GRAVITY_STRENGTH,this.gravityRangeFactor=l.DEFAULT_GRAVITY_RANGE_FACTOR,this.compoundGravityRangeFactor=l.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR,this.prunedNodesAll=[],this.growTreeIterations=0,this.afterGrowthIterations=0,this.isTreeGrowing=!1,this.isGrowthFinished=!1)},D.prototype.initSpringEmbedder=function(){f.prototype.initSpringEmbedder.call(this),this.coolingCycle=0,this.maxCoolingCycle=this.maxIterations/l.CONVERGENCE_CHECK_PERIOD,this.finalTemperature=.04,this.coolingAdjuster=1},D.prototype.layout=function(){var n=T.DEFAULT_CREATE_BENDS_AS_NEEDED;return n&&(this.createBendpoints(),this.graphManager.resetAllEdges()),this.level=0,this.classicLayout()},D.prototype.classicLayout=function(){if(this.nodesWithGravity=this.calculateNodesToApplyGravitationTo(),this.graphManager.setAllNodesToApplyGravitation(this.nodesWithGravity),this.calcNoOfChildrenForAllNodes(),this.graphManager.calcLowestCommonAncestors(),this.graphManager.calcInclusionTreeDepths(),this.graphManager.getRoot().calcEstimatedSize(),this.calcIdealEdgeLengths(),this.incremental){if(s.TREE_REDUCTION_ON_INCREMENTAL){this.reduceTrees(),this.graphManager.resetAllNodesToApplyGravitation();var m=new Set(this.getAllNodes()),p=this.nodesWithGravity.filter(function(R){return m.has(R)});this.graphManager.setAllNodesToApplyGravitation(p)}}else{var n=this.getFlatForest();if(n.length>0)this.positionNodesRadially(n);else{this.reduceTrees(),this.graphManager.resetAllNodesToApplyGravitation();var m=new Set(this.getAllNodes()),p=this.nodesWithGravity.filter(function(E){return m.has(E)});this.graphManager.setAllNodesToApplyGravitation(p),this.positionNodesRandomly()}}return Object.keys(this.constraints).length>0&&(c.handleConstraints(this),this.initConstraintVariables()),this.initSpringEmbedder(),s.APPLY_LAYOUT&&this.runSpringEmbedder(),!0},D.prototype.tick=function(){if(this.totalIterations++,this.totalIterations===this.maxIterations&&!this.isTreeGrowing&&!this.isGrowthFinished)if(this.prunedNodesAll.length>0)this.isTreeGrowing=!0;else return!0;if(this.totalIterations%l.CONVERGENCE_CHECK_PERIOD==0&&!this.isTreeGrowing&&!this.isGrowthFinished){if(this.isConverged())if(this.prunedNodesAll.length>0)this.isTreeGrowing=!0;else return!0;this.coolingCycle++,this.layoutQuality==0?this.coolingAdjuster=this.coolingCycle:this.layoutQuality==1&&(this.coolingAdjuster=this.coolingCycle/3),this.coolingFactor=Math.max(this.initialCoolingFactor-Math.pow(this.coolingCycle,Math.log(100*(this.initialCoolingFactor-this.finalTemperature))/Math.log(this.maxCoolingCycle))/100*this.coolingAdjuster,this.finalTemperature),this.animationPeriod=Math.ceil(this.initialAnimationPeriod*Math.sqrt(this.coolingFactor))}if(this.isTreeGrowing){if(this.growTreeIterations%10==0)if(this.prunedNodesAll.length>0){this.graphManager.updateBounds(),this.updateGrid(),this.growTree(this.prunedNodesAll),this.graphManager.resetAllNodesToApplyGravitation();var n=new Set(this.getAllNodes()),m=this.nodesWithGravity.filter(function(y){return n.has(y)});this.graphManager.setAllNodesToApplyGravitation(m),this.graphManager.updateBounds(),this.updateGrid(),s.PURE_INCREMENTAL?this.coolingFactor=l.DEFAULT_COOLING_FACTOR_INCREMENTAL/2:this.coolingFactor=l.DEFAULT_COOLING_FACTOR_INCREMENTAL}else this.isTreeGrowing=!1,this.isGrowthFinished=!0;this.growTreeIterations++}if(this.isGrowthFinished){if(this.isConverged())return!0;this.afterGrowthIterations%10==0&&(this.graphManager.updateBounds(),this.updateGrid()),s.PURE_INCREMENTAL?this.coolingFactor=l.DEFAULT_COOLING_FACTOR_INCREMENTAL/2*((100-this.afterGrowthIterations)/100):this.coolingFactor=l.DEFAULT_COOLING_FACTOR_INCREMENTAL*((100-this.afterGrowthIterations)/100),this.afterGrowthIterations++}var p=!this.isTreeGrowing&&!this.isGrowthFinished,E=this.growTreeIterations%10==1&&this.isTreeGrowing||this.afterGrowthIterations%10==1&&this.isGrowthFinished;return this.totalDisplacement=0,this.graphManager.updateBounds(),this.calcSpringForces(),this.calcRepulsionForces(p,E),this.calcGravitationalForces(),this.moveNodes(),this.animate(),!1},D.prototype.getPositionsData=function(){for(var n=this.graphManager.getAllNodes(),m={},p=0;p<n.length;p++){var E=n[p].rect,y=n[p].id;m[y]={id:y,x:E.getCenterX(),y:E.getCenterY(),w:E.width,h:E.height}}return m},D.prototype.runSpringEmbedder=function(){this.initialAnimationPeriod=25,this.animationPeriod=this.initialAnimationPeriod;var n=!1;if(l.ANIMATE==="during")this.emit("layoutstarted");else{for(;!n;)n=this.tick();this.graphManager.updateBounds()}},D.prototype.moveNodes=function(){for(var n=this.getAllNodes(),m,p=0;p<n.length;p++)m=n[p],m.calculateDisplacement();Object.keys(this.constraints).length>0&&this.updateDisplacements();for(var p=0;p<n.length;p++)m=n[p],m.move()},D.prototype.initConstraintVariables=function(){var n=this;this.idToNodeMap=new Map,this.fixedNodeSet=new Set;for(var m=this.graphManager.getAllNodes(),p=0;p<m.length;p++){var E=m[p];this.idToNodeMap.set(E.id,E)}var y=function M(H){for(var B=H.getChild().getNodes(),_,ht=0,q=0;q<B.length;q++)_=B[q],_.getChild()==null?n.fixedNodeSet.has(_.id)&&(ht+=100):ht+=M(_);return ht};if(this.constraints.fixedNodeConstraint){this.constraints.fixedNodeConstraint.forEach(function(B){n.fixedNodeSet.add(B.nodeId)});for(var m=this.graphManager.getAllNodes(),E,p=0;p<m.length;p++)if(E=m[p],E.getChild()!=null){var R=y(E);R>0&&(E.fixedNodeWeight=R)}}if(this.constraints.relativePlacementConstraint){var w=new Map,F=new Map;if(this.dummyToNodeForVerticalAlignment=new Map,this.dummyToNodeForHorizontalAlignment=new Map,this.fixedNodesOnHorizontal=new Set,this.fixedNodesOnVertical=new Set,this.fixedNodeSet.forEach(function(M){n.fixedNodesOnHorizontal.add(M),n.fixedNodesOnVertical.add(M)}),this.constraints.alignmentConstraint){if(this.constraints.alignmentConstraint.vertical)for(var W=this.constraints.alignmentConstraint.vertical,p=0;p<W.length;p++)this.dummyToNodeForVerticalAlignment.set("dummy"+p,[]),W[p].forEach(function(H){w.set(H,"dummy"+p),n.dummyToNodeForVerticalAlignment.get("dummy"+p).push(H),n.fixedNodeSet.has(H)&&n.fixedNodesOnHorizontal.add("dummy"+p)});if(this.constraints.alignmentConstraint.horizontal)for(var x=this.constraints.alignmentConstraint.horizontal,p=0;p<x.length;p++)this.dummyToNodeForHorizontalAlignment.set("dummy"+p,[]),x[p].forEach(function(H){F.set(H,"dummy"+p),n.dummyToNodeForHorizontalAlignment.get("dummy"+p).push(H),n.fixedNodeSet.has(H)&&n.fixedNodesOnVertical.add("dummy"+p)})}if(s.RELAX_MOVEMENT_ON_CONSTRAINTS)this.shuffle=function(M){var H,B,_;for(_=M.length-1;_>=2*M.length/3;_--)H=Math.floor(Math.random()*(_+1)),B=M[_],M[_]=M[H],M[H]=B;return M},this.nodesInRelativeHorizontal=[],this.nodesInRelativeVertical=[],this.nodeToRelativeConstraintMapHorizontal=new Map,this.nodeToRelativeConstraintMapVertical=new Map,this.nodeToTempPositionMapHorizontal=new Map,this.nodeToTempPositionMapVertical=new Map,this.constraints.relativePlacementConstraint.forEach(function(M){if(M.left){var H=w.has(M.left)?w.get(M.left):M.left,B=w.has(M.right)?w.get(M.right):M.right;n.nodesInRelativeHorizontal.includes(H)||(n.nodesInRelativeHorizontal.push(H),n.nodeToRelativeConstraintMapHorizontal.set(H,[]),n.dummyToNodeForVerticalAlignment.has(H)?n.nodeToTempPositionMapHorizontal.set(H,n.idToNodeMap.get(n.dummyToNodeForVerticalAlignment.get(H)[0]).getCenterX()):n.nodeToTempPositionMapHorizontal.set(H,n.idToNodeMap.get(H).getCenterX())),n.nodesInRelativeHorizontal.includes(B)||(n.nodesInRelativeHorizontal.push(B),n.nodeToRelativeConstraintMapHorizontal.set(B,[]),n.dummyToNodeForVerticalAlignment.has(B)?n.nodeToTempPositionMapHorizontal.set(B,n.idToNodeMap.get(n.dummyToNodeForVerticalAlignment.get(B)[0]).getCenterX()):n.nodeToTempPositionMapHorizontal.set(B,n.idToNodeMap.get(B).getCenterX())),n.nodeToRelativeConstraintMapHorizontal.get(H).push({right:B,gap:M.gap}),n.nodeToRelativeConstraintMapHorizontal.get(B).push({left:H,gap:M.gap})}else{var _=F.has(M.top)?F.get(M.top):M.top,ht=F.has(M.bottom)?F.get(M.bottom):M.bottom;n.nodesInRelativeVertical.includes(_)||(n.nodesInRelativeVertical.push(_),n.nodeToRelativeConstraintMapVertical.set(_,[]),n.dummyToNodeForHorizontalAlignment.has(_)?n.nodeToTempPositionMapVertical.set(_,n.idToNodeMap.get(n.dummyToNodeForHorizontalAlignment.get(_)[0]).getCenterY()):n.nodeToTempPositionMapVertical.set(_,n.idToNodeMap.get(_).getCenterY())),n.nodesInRelativeVertical.includes(ht)||(n.nodesInRelativeVertical.push(ht),n.nodeToRelativeConstraintMapVertical.set(ht,[]),n.dummyToNodeForHorizontalAlignment.has(ht)?n.nodeToTempPositionMapVertical.set(ht,n.idToNodeMap.get(n.dummyToNodeForHorizontalAlignment.get(ht)[0]).getCenterY()):n.nodeToTempPositionMapVertical.set(ht,n.idToNodeMap.get(ht).getCenterY())),n.nodeToRelativeConstraintMapVertical.get(_).push({bottom:ht,gap:M.gap}),n.nodeToRelativeConstraintMapVertical.get(ht).push({top:_,gap:M.gap})}});else{var Z=new Map,V=new Map;this.constraints.relativePlacementConstraint.forEach(function(M){if(M.left){var H=w.has(M.left)?w.get(M.left):M.left,B=w.has(M.right)?w.get(M.right):M.right;Z.has(H)?Z.get(H).push(B):Z.set(H,[B]),Z.has(B)?Z.get(B).push(H):Z.set(B,[H])}else{var _=F.has(M.top)?F.get(M.top):M.top,ht=F.has(M.bottom)?F.get(M.bottom):M.bottom;V.has(_)?V.get(_).push(ht):V.set(_,[ht]),V.has(ht)?V.get(ht).push(_):V.set(ht,[_])}});var Y=function(H,B){var _=[],ht=[],q=new Q,It=new Set,Nt=0;return H.forEach(function(vt,it){if(!It.has(it)){_[Nt]=[],ht[Nt]=!1;var gt=it;for(q.push(gt),It.add(gt),_[Nt].push(gt);q.length!=0;){gt=q.shift(),B.has(gt)&&(ht[Nt]=!0);var mt=H.get(gt);mt.forEach(function(At){It.has(At)||(q.push(At),It.add(At),_[Nt].push(At))})}Nt++}}),{components:_,isFixed:ht}},et=Y(Z,n.fixedNodesOnHorizontal);this.componentsOnHorizontal=et.components,this.fixedComponentsOnHorizontal=et.isFixed;var z=Y(V,n.fixedNodesOnVertical);this.componentsOnVertical=z.components,this.fixedComponentsOnVertical=z.isFixed}}},D.prototype.updateDisplacements=function(){var n=this;if(this.constraints.fixedNodeConstraint&&this.constraints.fixedNodeConstraint.forEach(function(z){var M=n.idToNodeMap.get(z.nodeId);M.displacementX=0,M.displacementY=0}),this.constraints.alignmentConstraint){if(this.constraints.alignmentConstraint.vertical)for(var m=this.constraints.alignmentConstraint.vertical,p=0;p<m.length;p++){for(var E=0,y=0;y<m[p].length;y++){if(this.fixedNodeSet.has(m[p][y])){E=0;break}E+=this.idToNodeMap.get(m[p][y]).displacementX}for(var R=E/m[p].length,y=0;y<m[p].length;y++)this.idToNodeMap.get(m[p][y]).displacementX=R}if(this.constraints.alignmentConstraint.horizontal)for(var w=this.constraints.alignmentConstraint.horizontal,p=0;p<w.length;p++){for(var F=0,y=0;y<w[p].length;y++){if(this.fixedNodeSet.has(w[p][y])){F=0;break}F+=this.idToNodeMap.get(w[p][y]).displacementY}for(var W=F/w[p].length,y=0;y<w[p].length;y++)this.idToNodeMap.get(w[p][y]).displacementY=W}}if(this.constraints.relativePlacementConstraint)if(s.RELAX_MOVEMENT_ON_CONSTRAINTS)this.totalIterations%10==0&&(this.shuffle(this.nodesInRelativeHorizontal),this.shuffle(this.nodesInRelativeVertical)),this.nodesInRelativeHorizontal.forEach(function(z){if(!n.fixedNodesOnHorizontal.has(z)){var M=0;n.dummyToNodeForVerticalAlignment.has(z)?M=n.idToNodeMap.get(n.dummyToNodeForVerticalAlignment.get(z)[0]).displacementX:M=n.idToNodeMap.get(z).displacementX,n.nodeToRelativeConstraintMapHorizontal.get(z).forEach(function(H){if(H.right){var B=n.nodeToTempPositionMapHorizontal.get(H.right)-n.nodeToTempPositionMapHorizontal.get(z)-M;B<H.gap&&(M-=H.gap-B)}else{var B=n.nodeToTempPositionMapHorizontal.get(z)-n.nodeToTempPositionMapHorizontal.get(H.left)+M;B<H.gap&&(M+=H.gap-B)}}),n.nodeToTempPositionMapHorizontal.set(z,n.nodeToTempPositionMapHorizontal.get(z)+M),n.dummyToNodeForVerticalAlignment.has(z)?n.dummyToNodeForVerticalAlignment.get(z).forEach(function(H){n.idToNodeMap.get(H).displacementX=M}):n.idToNodeMap.get(z).displacementX=M}}),this.nodesInRelativeVertical.forEach(function(z){if(!n.fixedNodesOnHorizontal.has(z)){var M=0;n.dummyToNodeForHorizontalAlignment.has(z)?M=n.idToNodeMap.get(n.dummyToNodeForHorizontalAlignment.get(z)[0]).displacementY:M=n.idToNodeMap.get(z).displacementY,n.nodeToRelativeConstraintMapVertical.get(z).forEach(function(H){if(H.bottom){var B=n.nodeToTempPositionMapVertical.get(H.bottom)-n.nodeToTempPositionMapVertical.get(z)-M;B<H.gap&&(M-=H.gap-B)}else{var B=n.nodeToTempPositionMapVertical.get(z)-n.nodeToTempPositionMapVertical.get(H.top)+M;B<H.gap&&(M+=H.gap-B)}}),n.nodeToTempPositionMapVertical.set(z,n.nodeToTempPositionMapVertical.get(z)+M),n.dummyToNodeForHorizontalAlignment.has(z)?n.dummyToNodeForHorizontalAlignment.get(z).forEach(function(H){n.idToNodeMap.get(H).displacementY=M}):n.idToNodeMap.get(z).displacementY=M}});else{for(var p=0;p<this.componentsOnHorizontal.length;p++){var x=this.componentsOnHorizontal[p];if(this.fixedComponentsOnHorizontal[p])for(var y=0;y<x.length;y++)this.dummyToNodeForVerticalAlignment.has(x[y])?this.dummyToNodeForVerticalAlignment.get(x[y]).forEach(function(H){n.idToNodeMap.get(H).displacementX=0}):this.idToNodeMap.get(x[y]).displacementX=0;else{for(var Z=0,V=0,y=0;y<x.length;y++)if(this.dummyToNodeForVerticalAlignment.has(x[y])){var Y=this.dummyToNodeForVerticalAlignment.get(x[y]);Z+=Y.length*this.idToNodeMap.get(Y[0]).displacementX,V+=Y.length}else Z+=this.idToNodeMap.get(x[y]).displacementX,V++;for(var et=Z/V,y=0;y<x.length;y++)this.dummyToNodeForVerticalAlignment.has(x[y])?this.dummyToNodeForVerticalAlignment.get(x[y]).forEach(function(H){n.idToNodeMap.get(H).displacementX=et}):this.idToNodeMap.get(x[y]).displacementX=et}}for(var p=0;p<this.componentsOnVertical.length;p++){var x=this.componentsOnVertical[p];if(this.fixedComponentsOnVertical[p])for(var y=0;y<x.length;y++)this.dummyToNodeForHorizontalAlignment.has(x[y])?this.dummyToNodeForHorizontalAlignment.get(x[y]).forEach(function(B){n.idToNodeMap.get(B).displacementY=0}):this.idToNodeMap.get(x[y]).displacementY=0;else{for(var Z=0,V=0,y=0;y<x.length;y++)if(this.dummyToNodeForHorizontalAlignment.has(x[y])){var Y=this.dummyToNodeForHorizontalAlignment.get(x[y]);Z+=Y.length*this.idToNodeMap.get(Y[0]).displacementY,V+=Y.length}else Z+=this.idToNodeMap.get(x[y]).displacementY,V++;for(var et=Z/V,y=0;y<x.length;y++)this.dummyToNodeForHorizontalAlignment.has(x[y])?this.dummyToNodeForHorizontalAlignment.get(x[y]).forEach(function(q){n.idToNodeMap.get(q).displacementY=et}):this.idToNodeMap.get(x[y]).displacementY=et}}}},D.prototype.calculateNodesToApplyGravitationTo=function(){var n=[],m,p=this.graphManager.getGraphs(),E=p.length,y;for(y=0;y<E;y++)m=p[y],m.updateConnected(),m.isConnected||(n=n.concat(m.getNodes()));return n},D.prototype.createBendpoints=function(){var n=[];n=n.concat(this.graphManager.getAllEdges());var m=new Set,p;for(p=0;p<n.length;p++){var E=n[p];if(!m.has(E)){var y=E.getSource(),R=E.getTarget();if(y==R)E.getBendpoints().push(new v),E.getBendpoints().push(new v),this.createDummyNodesForBendpoints(E),m.add(E);else{var w=[];if(w=w.concat(y.getEdgeListToNode(R)),w=w.concat(R.getEdgeListToNode(y)),!m.has(w[0])){if(w.length>1){var F;for(F=0;F<w.length;F++){var W=w[F];W.getBendpoints().push(new v),this.createDummyNodesForBendpoints(W)}}w.forEach(function(x){m.add(x)})}}}if(m.size==n.length)break}},D.prototype.positionNodesRadially=function(n){for(var m=new d(0,0),p=Math.ceil(Math.sqrt(n.length)),E=0,y=0,R=0,w=new v(0,0),F=0;F<n.length;F++){F%p==0&&(R=0,y=E,F!=0&&(y+=s.DEFAULT_COMPONENT_SEPERATION),E=0);var W=n[F],x=S.findCenterOfTree(W);m.x=R,m.y=y,w=D.radialLayout(W,x,m),w.y>E&&(E=Math.floor(w.y)),R=Math.floor(w.x+s.DEFAULT_COMPONENT_SEPERATION)}this.transform(new v(T.WORLD_CENTER_X-w.x/2,T.WORLD_CENTER_Y-w.y/2))},D.radialLayout=function(n,m,p){var E=Math.max(this.maxDiagonalInTree(n),s.DEFAULT_RADIAL_SEPARATION);D.branchRadialLayout(m,null,0,359,0,E);var y=K.calculateBounds(n),R=new X;R.setDeviceOrgX(y.getMinX()),R.setDeviceOrgY(y.getMinY()),R.setWorldOrgX(p.x),R.setWorldOrgY(p.y);for(var w=0;w<n.length;w++){var F=n[w];F.transform(R)}var W=new v(y.getMaxX(),y.getMaxY());return R.inverseTransformPoint(W)},D.branchRadialLayout=function(n,m,p,E,y,R){var w=(E-p+1)/2;w<0&&(w+=180);var F=(w+p)%360,W=F*G.TWO_PI/360,x=y*Math.cos(W),Z=y*Math.sin(W);n.setCenter(x,Z);var V=[];V=V.concat(n.getEdges());var Y=V.length;m!=null&&Y--;for(var et=0,z=V.length,M,H=n.getEdgesBetween(m);H.length>1;){var B=H[0];H.splice(0,1);var _=V.indexOf(B);_>=0&&V.splice(_,1),z--,Y--}m!=null?M=(V.indexOf(H[0])+1)%z:M=0;for(var ht=Math.abs(E-p)/Y,q=M;et!=Y;q=++q%z){var It=V[q].getOtherEnd(n);if(It!=m){var Nt=(p+et*ht)%360,vt=(Nt+ht)%360;D.branchRadialLayout(It,n,Nt,vt,y+R,R),et++}}},D.maxDiagonalInTree=function(n){for(var m=C.MIN_VALUE,p=0;p<n.length;p++){var E=n[p],y=E.getDiagonal();y>m&&(m=y)}return m},D.prototype.calcRepulsionRange=function(){return 2*(this.level+1)*this.idealEdgeLength},D.prototype.groupZeroDegreeMembers=function(){var n=this,m={};this.memberGroups={},this.idToDummyNode={};for(var p=[],E=this.graphManager.getAllNodes(),y=0;y<E.length;y++){var R=E[y],w=R.getParent();this.getNodeDegreeWithChildren(R)===0&&(w.id==null||!this.getToBeTiled(w))&&p.push(R)}for(var y=0;y<p.length;y++){var R=p[y],F=R.getParent().id;typeof m[F]>"u"&&(m[F]=[]),m[F]=m[F].concat(R)}Object.keys(m).forEach(function(W){if(m[W].length>1){var x="DummyCompound_"+W;n.memberGroups[x]=m[W];var Z=m[W][0].getParent(),V=new t(n.graphManager);V.id=x,V.paddingLeft=Z.paddingLeft||0,V.paddingRight=Z.paddingRight||0,V.paddingBottom=Z.paddingBottom||0,V.paddingTop=Z.paddingTop||0,n.idToDummyNode[x]=V;var Y=n.getGraphManager().add(n.newGraph(),V),et=Z.getChild();et.add(V);for(var z=0;z<m[W].length;z++){var M=m[W][z];et.remove(M),Y.add(M)}}})},D.prototype.clearCompounds=function(){var n={},m={};this.performDFSOnCompounds();for(var p=0;p<this.compoundOrder.length;p++)m[this.compoundOrder[p].id]=this.compoundOrder[p],n[this.compoundOrder[p].id]=[].concat(this.compoundOrder[p].getChild().getNodes()),this.graphManager.remove(this.compoundOrder[p].getChild()),this.compoundOrder[p].child=null;this.graphManager.resetAllNodes(),this.tileCompoundMembers(n,m)},D.prototype.clearZeroDegreeMembers=function(){var n=this,m=this.tiledZeroDegreePack=[];Object.keys(this.memberGroups).forEach(function(p){var E=n.idToDummyNode[p];if(m[p]=n.tileNodes(n.memberGroups[p],E.paddingLeft+E.paddingRight),E.rect.width=m[p].width,E.rect.height=m[p].height,E.setCenter(m[p].centerX,m[p].centerY),E.labelMarginLeft=0,E.labelMarginTop=0,s.NODE_DIMENSIONS_INCLUDE_LABELS){var y=E.rect.width,R=E.rect.height;E.labelWidth&&(E.labelPosHorizontal=="left"?(E.rect.x-=E.labelWidth,E.setWidth(y+E.labelWidth),E.labelMarginLeft=E.labelWidth):E.labelPosHorizontal=="center"&&E.labelWidth>y?(E.rect.x-=(E.labelWidth-y)/2,E.setWidth(E.labelWidth),E.labelMarginLeft=(E.labelWidth-y)/2):E.labelPosHorizontal=="right"&&E.setWidth(y+E.labelWidth)),E.labelHeight&&(E.labelPosVertical=="top"?(E.rect.y-=E.labelHeight,E.setHeight(R+E.labelHeight),E.labelMarginTop=E.labelHeight):E.labelPosVertical=="center"&&E.labelHeight>R?(E.rect.y-=(E.labelHeight-R)/2,E.setHeight(E.labelHeight),E.labelMarginTop=(E.labelHeight-R)/2):E.labelPosVertical=="bottom"&&E.setHeight(R+E.labelHeight))}})},D.prototype.repopulateCompounds=function(){for(var n=this.compoundOrder.length-1;n>=0;n--){var m=this.compoundOrder[n],p=m.id,E=m.paddingLeft,y=m.paddingTop,R=m.labelMarginLeft,w=m.labelMarginTop;this.adjustLocations(this.tiledMemberPack[p],m.rect.x,m.rect.y,E,y,R,w)}},D.prototype.repopulateZeroDegreeMembers=function(){var n=this,m=this.tiledZeroDegreePack;Object.keys(m).forEach(function(p){var E=n.idToDummyNode[p],y=E.paddingLeft,R=E.paddingTop,w=E.labelMarginLeft,F=E.labelMarginTop;n.adjustLocations(m[p],E.rect.x,E.rect.y,y,R,w,F)})},D.prototype.getToBeTiled=function(n){var m=n.id;if(this.toBeTiled[m]!=null)return this.toBeTiled[m];var p=n.getChild();if(p==null)return this.toBeTiled[m]=!1,!1;for(var E=p.getNodes(),y=0;y<E.length;y++){var R=E[y];if(this.getNodeDegree(R)>0)return this.toBeTiled[m]=!1,!1;if(R.getChild()==null){this.toBeTiled[R.id]=!1;continue}if(!this.getToBeTiled(R))return this.toBeTiled[m]=!1,!1}return this.toBeTiled[m]=!0,!0},D.prototype.getNodeDegree=function(n){n.id;for(var m=n.getEdges(),p=0,E=0;E<m.length;E++){var y=m[E];y.getSource().id!==y.getTarget().id&&(p=p+1)}return p},D.prototype.getNodeDegreeWithChildren=function(n){var m=this.getNodeDegree(n);if(n.getChild()==null)return m;for(var p=n.getChild().getNodes(),E=0;E<p.length;E++){var y=p[E];m+=this.getNodeDegreeWithChildren(y)}return m},D.prototype.performDFSOnCompounds=function(){this.compoundOrder=[],this.fillCompexOrderByDFS(this.graphManager.getRoot().getNodes())},D.prototype.fillCompexOrderByDFS=function(n){for(var m=0;m<n.length;m++){var p=n[m];p.getChild()!=null&&this.fillCompexOrderByDFS(p.getChild().getNodes()),this.getToBeTiled(p)&&this.compoundOrder.push(p)}},D.prototype.adjustLocations=function(n,m,p,E,y,R,w){m+=E+R,p+=y+w;for(var F=m,W=0;W<n.rows.length;W++){var x=n.rows[W];m=F;for(var Z=0,V=0;V<x.length;V++){var Y=x[V];Y.rect.x=m,Y.rect.y=p,m+=Y.rect.width+n.horizontalPadding,Y.rect.height>Z&&(Z=Y.rect.height)}p+=Z+n.verticalPadding}},D.prototype.tileCompoundMembers=function(n,m){var p=this;this.tiledMemberPack=[],Object.keys(n).forEach(function(E){var y=m[E];if(p.tiledMemberPack[E]=p.tileNodes(n[E],y.paddingLeft+y.paddingRight),y.rect.width=p.tiledMemberPack[E].width,y.rect.height=p.tiledMemberPack[E].height,y.setCenter(p.tiledMemberPack[E].centerX,p.tiledMemberPack[E].centerY),y.labelMarginLeft=0,y.labelMarginTop=0,s.NODE_DIMENSIONS_INCLUDE_LABELS){var R=y.rect.width,w=y.rect.height;y.labelWidth&&(y.labelPosHorizontal=="left"?(y.rect.x-=y.labelWidth,y.setWidth(R+y.labelWidth),y.labelMarginLeft=y.labelWidth):y.labelPosHorizontal=="center"&&y.labelWidth>R?(y.rect.x-=(y.labelWidth-R)/2,y.setWidth(y.labelWidth),y.labelMarginLeft=(y.labelWidth-R)/2):y.labelPosHorizontal=="right"&&y.setWidth(R+y.labelWidth)),y.labelHeight&&(y.labelPosVertical=="top"?(y.rect.y-=y.labelHeight,y.setHeight(w+y.labelHeight),y.labelMarginTop=y.labelHeight):y.labelPosVertical=="center"&&y.labelHeight>w?(y.rect.y-=(y.labelHeight-w)/2,y.setHeight(y.labelHeight),y.labelMarginTop=(y.labelHeight-w)/2):y.labelPosVertical=="bottom"&&y.setHeight(w+y.labelHeight))}})},D.prototype.tileNodes=function(n,m){var p=this.tileNodesByFavoringDim(n,m,!0),E=this.tileNodesByFavoringDim(n,m,!1),y=this.getOrgRatio(p),R=this.getOrgRatio(E),w;return R<y?w=E:w=p,w},D.prototype.getOrgRatio=function(n){var m=n.width,p=n.height,E=m/p;return E<1&&(E=1/E),E},D.prototype.calcIdealRowWidth=function(n,m){var p=s.TILING_PADDING_VERTICAL,E=s.TILING_PADDING_HORIZONTAL,y=n.length,R=0,w=0,F=0;n.forEach(function(z){R+=z.getWidth(),w+=z.getHeight(),z.getWidth()>F&&(F=z.getWidth())});var W=R/y,x=w/y,Z=Math.pow(p-E,2)+4*(W+E)*(x+p)*y,V=(E-p+Math.sqrt(Z))/(2*(W+E)),Y;m?(Y=Math.ceil(V),Y==V&&Y++):Y=Math.floor(V);var et=Y*(W+E)-E;return F>et&&(et=F),et+=E*2,et},D.prototype.tileNodesByFavoringDim=function(n,m,p){var E=s.TILING_PADDING_VERTICAL,y=s.TILING_PADDING_HORIZONTAL,R=s.TILING_COMPARE_BY,w={rows:[],rowWidth:[],rowHeight:[],width:0,height:m,verticalPadding:E,horizontalPadding:y,centerX:0,centerY:0};R&&(w.idealRowWidth=this.calcIdealRowWidth(n,p));var F=function(M){return M.rect.width*M.rect.height},W=function(M,H){return F(H)-F(M)};n.sort(function(z,M){var H=W;return w.idealRowWidth?(H=R,H(z.id,M.id)):H(z,M)});for(var x=0,Z=0,V=0;V<n.length;V++){var Y=n[V];x+=Y.getCenterX(),Z+=Y.getCenterY()}w.centerX=x/n.length,w.centerY=Z/n.length;for(var V=0;V<n.length;V++){var Y=n[V];if(w.rows.length==0)this.insertNodeToRow(w,Y,0,m);else if(this.canAddHorizontal(w,Y.rect.width,Y.rect.height)){var et=w.rows.length-1;w.idealRowWidth||(et=this.getShortestRowIndex(w)),this.insertNodeToRow(w,Y,et,m)}else this.insertNodeToRow(w,Y,w.rows.length,m);this.shiftToLastRow(w)}return w},D.prototype.insertNodeToRow=function(n,m,p,E){var y=E;if(p==n.rows.length){var R=[];n.rows.push(R),n.rowWidth.push(y),n.rowHeight.push(0)}var w=n.rowWidth[p]+m.rect.width;n.rows[p].length>0&&(w+=n.horizontalPadding),n.rowWidth[p]=w,n.width<w&&(n.width=w);var F=m.rect.height;p>0&&(F+=n.verticalPadding);var W=0;F>n.rowHeight[p]&&(W=n.rowHeight[p],n.rowHeight[p]=F,W=n.rowHeight[p]-W),n.height+=W,n.rows[p].push(m)},D.prototype.getShortestRowIndex=function(n){for(var m=-1,p=Number.MAX_VALUE,E=0;E<n.rows.length;E++)n.rowWidth[E]<p&&(m=E,p=n.rowWidth[E]);return m},D.prototype.getLongestRowIndex=function(n){for(var m=-1,p=Number.MIN_VALUE,E=0;E<n.rows.length;E++)n.rowWidth[E]>p&&(m=E,p=n.rowWidth[E]);return m},D.prototype.canAddHorizontal=function(n,m,p){if(n.idealRowWidth){var E=n.rows.length-1,y=n.rowWidth[E];return y+m+n.horizontalPadding<=n.idealRowWidth}var R=this.getShortestRowIndex(n);if(R<0)return!0;var w=n.rowWidth[R];if(w+n.horizontalPadding+m<=n.width)return!0;var F=0;n.rowHeight[R]<p&&R>0&&(F=p+n.verticalPadding-n.rowHeight[R]);var W;n.width-w>=m+n.horizontalPadding?W=(n.height+F)/(w+m+n.horizontalPadding):W=(n.height+F)/n.width,F=p+n.verticalPadding;var x;return n.width<m?x=(n.height+F)/m:x=(n.height+F)/n.width,x<1&&(x=1/x),W<1&&(W=1/W),W<x},D.prototype.shiftToLastRow=function(n){var m=this.getLongestRowIndex(n),p=n.rowWidth.length-1,E=n.rows[m],y=E[E.length-1],R=y.width+n.horizontalPadding;if(n.width-n.rowWidth[p]>R&&m!=p){E.splice(-1,1),n.rows[p].push(y),n.rowWidth[m]=n.rowWidth[m]-R,n.rowWidth[p]=n.rowWidth[p]+R,n.width=n.rowWidth[instance.getLongestRowIndex(n)];for(var w=Number.MIN_VALUE,F=0;F<E.length;F++)E[F].height>w&&(w=E[F].height);m>0&&(w+=n.verticalPadding);var W=n.rowHeight[m]+n.rowHeight[p];n.rowHeight[m]=w,n.rowHeight[p]<y.height+n.verticalPadding&&(n.rowHeight[p]=y.height+n.verticalPadding);var x=n.rowHeight[m]+n.rowHeight[p];n.height+=x-W,this.shiftToLastRow(n)}},D.prototype.tilingPreLayout=function(){s.TILE&&(this.groupZeroDegreeMembers(),this.clearCompounds(),this.clearZeroDegreeMembers())},D.prototype.tilingPostLayout=function(){s.TILE&&(this.repopulateZeroDegreeMembers(),this.repopulateCompounds())},D.prototype.reduceTrees=function(){for(var n=[],m=!0,p;m;){var E=this.graphManager.getAllNodes(),y=[];m=!1;for(var R=0;R<E.length;R++)if(p=E[R],p.getEdges().length==1&&!p.getEdges()[0].isInterGraph&&p.getChild()==null){if(s.PURE_INCREMENTAL){var w=p.getEdges()[0].getOtherEnd(p),F=new L(p.getCenterX()-w.getCenterX(),p.getCenterY()-w.getCenterY());y.push([p,p.getEdges()[0],p.getOwner(),F])}else y.push([p,p.getEdges()[0],p.getOwner()]);m=!0}if(m==!0){for(var W=[],x=0;x<y.length;x++)y[x][0].getEdges().length==1&&(W.push(y[x]),y[x][0].getOwner().remove(y[x][0]));n.push(W),this.graphManager.resetAllNodes(),this.graphManager.resetAllEdges()}}this.prunedNodesAll=n},D.prototype.growTree=function(n){for(var m=n.length,p=n[m-1],E,y=0;y<p.length;y++)E=p[y],this.findPlaceforPrunedNode(E),E[2].add(E[0]),E[2].add(E[1],E[1].source,E[1].target);n.splice(n.length-1,1),this.graphManager.resetAllNodes(),this.graphManager.resetAllEdges()},D.prototype.findPlaceforPrunedNode=function(n){var m,p,E=n[0];if(E==n[1].source?p=n[1].target:p=n[1].source,s.PURE_INCREMENTAL)E.setCenter(p.getCenterX()+n[3].getWidth(),p.getCenterY()+n[3].getHeight());else{var y=p.startX,R=p.finishX,w=p.startY,F=p.finishY,W=0,x=0,Z=0,V=0,Y=[W,Z,x,V];if(w>0)for(var et=y;et<=R;et++)Y[0]+=this.grid[et][w-1].length+this.grid[et][w].length-1;if(R<this.grid.length-1)for(var et=w;et<=F;et++)Y[1]+=this.grid[R+1][et].length+this.grid[R][et].length-1;if(F<this.grid[0].length-1)for(var et=y;et<=R;et++)Y[2]+=this.grid[et][F+1].length+this.grid[et][F].length-1;if(y>0)for(var et=w;et<=F;et++)Y[3]+=this.grid[y-1][et].length+this.grid[y][et].length-1;for(var z=C.MAX_VALUE,M,H,B=0;B<Y.length;B++)Y[B]<z?(z=Y[B],M=1,H=B):Y[B]==z&&M++;if(M==3&&z==0)Y[0]==0&&Y[1]==0&&Y[2]==0?m=1:Y[0]==0&&Y[1]==0&&Y[3]==0?m=0:Y[0]==0&&Y[2]==0&&Y[3]==0?m=3:Y[1]==0&&Y[2]==0&&Y[3]==0&&(m=2);else if(M==2&&z==0){var _=Math.floor(Math.random()*2);Y[0]==0&&Y[1]==0?_==0?m=0:m=1:Y[0]==0&&Y[2]==0?_==0?m=0:m=2:Y[0]==0&&Y[3]==0?_==0?m=0:m=3:Y[1]==0&&Y[2]==0?_==0?m=1:m=2:Y[1]==0&&Y[3]==0?_==0?m=1:m=3:_==0?m=2:m=3}else if(M==4&&z==0){var _=Math.floor(Math.random()*4);m=_}else m=H;m==0?E.setCenter(p.getCenterX(),p.getCenterY()-p.getHeight()/2-l.DEFAULT_EDGE_LENGTH-E.getHeight()/2):m==1?E.setCenter(p.getCenterX()+p.getWidth()/2+l.DEFAULT_EDGE_LENGTH+E.getWidth()/2,p.getCenterY()):m==2?E.setCenter(p.getCenterX(),p.getCenterY()+p.getHeight()/2+l.DEFAULT_EDGE_LENGTH+E.getHeight()/2):E.setCenter(p.getCenterX()-p.getWidth()/2-l.DEFAULT_EDGE_LENGTH-E.getWidth()/2,p.getCenterY())}},a.exports=D},991:(a,r,e)=>{var f=e(551).FDLayoutNode,i=e(551).IMath;function g(o,s,c,l){f.call(this,o,s,c,l)}g.prototype=Object.create(f.prototype);for(var t in f)g[t]=f[t];g.prototype.calculateDisplacement=function(){var o=this.graphManager.getLayout();this.getChild()!=null&&this.fixedNodeWeight?(this.displacementX+=o.coolingFactor*(this.springForceX+this.repulsionForceX+this.gravitationForceX)/this.fixedNodeWeight,this.displacementY+=o.coolingFactor*(this.springForceY+this.repulsionForceY+this.gravitationForceY)/this.fixedNodeWeight):(this.displacementX+=o.coolingFactor*(this.springForceX+this.repulsionForceX+this.gravitationForceX)/this.noOfChildren,this.displacementY+=o.coolingFactor*(this.springForceY+this.repulsionForceY+this.gravitationForceY)/this.noOfChildren),Math.abs(this.displacementX)>o.coolingFactor*o.maxNodeDisplacement&&(this.displacementX=o.coolingFactor*o.maxNodeDisplacement*i.sign(this.displacementX)),Math.abs(this.displacementY)>o.coolingFactor*o.maxNodeDisplacement&&(this.displacementY=o.coolingFactor*o.maxNodeDisplacement*i.sign(this.displacementY)),this.child&&this.child.getNodes().length>0&&this.propogateDisplacementToChildren(this.displacementX,this.displacementY)},g.prototype.propogateDisplacementToChildren=function(o,s){for(var c=this.getChild().getNodes(),l,T=0;T<c.length;T++)l=c[T],l.getChild()==null?(l.displacementX+=o,l.displacementY+=s):l.propogateDisplacementToChildren(o,s)},g.prototype.move=function(){var o=this.graphManager.getLayout();(this.child==null||this.child.getNodes().length==0)&&(this.moveBy(this.displacementX,this.displacementY),o.totalDisplacement+=Math.abs(this.displacementX)+Math.abs(this.displacementY)),this.springForceX=0,this.springForceY=0,this.repulsionForceX=0,this.repulsionForceY=0,this.gravitationForceX=0,this.gravitationForceY=0,this.displacementX=0,this.displacementY=0},g.prototype.setPred1=function(o){this.pred1=o},g.prototype.getPred1=function(){return pred1},g.prototype.getPred2=function(){return pred2},g.prototype.setNext=function(o){this.next=o},g.prototype.getNext=function(){return next},g.prototype.setProcessed=function(o){this.processed=o},g.prototype.isProcessed=function(){return processed},a.exports=g},902:(a,r,e)=>{function f(c){if(Array.isArray(c)){for(var l=0,T=Array(c.length);l<c.length;l++)T[l]=c[l];return T}else return Array.from(c)}var i=e(806),g=e(551).LinkedList,t=e(551).Matrix,o=e(551).SVD;function s(){}s.handleConstraints=function(c){var l={};l.fixedNodeConstraint=c.constraints.fixedNodeConstraint,l.alignmentConstraint=c.constraints.alignmentConstraint,l.relativePlacementConstraint=c.constraints.relativePlacementConstraint;for(var T=new Map,d=new Map,v=[],L=[],S=c.getAllNodes(),C=0,G=0;G<S.length;G++){var K=S[G];K.getChild()==null&&(d.set(K.id,C++),v.push(K.getCenterX()),L.push(K.getCenterY()),T.set(K.id,K))}l.relativePlacementConstraint&&l.relativePlacementConstraint.forEach(function(b){!b.gap&&b.gap!=0&&(b.left?b.gap=i.DEFAULT_EDGE_LENGTH+T.get(b.left).getWidth()/2+T.get(b.right).getWidth()/2:b.gap=i.DEFAULT_EDGE_LENGTH+T.get(b.top).getHeight()/2+T.get(b.bottom).getHeight()/2)});var X=function(U,$){return{x:U.x-$.x,y:U.y-$.y}},Q=function(U){var $=0,J=0;return U.forEach(function(k){$+=v[d.get(k)],J+=L[d.get(k)]}),{x:$/U.size,y:J/U.size}},D=function(U,$,J,k,at){function ct(lt,ot){var Lt=new Set(lt),ft=!0,st=!1,Xt=void 0;try{for(var Tt=ot[Symbol.iterator](),Ct;!(ft=(Ct=Tt.next()).done);ft=!0){var Bt=Ct.value;Lt.add(Bt)}}catch(bt){st=!0,Xt=bt}finally{try{!ft&&Tt.return&&Tt.return()}finally{if(st)throw Xt}}return Lt}var nt=new Map;U.forEach(function(lt,ot){nt.set(ot,0)}),U.forEach(function(lt,ot){lt.forEach(function(Lt){nt.set(Lt.id,nt.get(Lt.id)+1)})});var tt=new Map,j=new Map,ut=new g;nt.forEach(function(lt,ot){lt==0?(ut.push(ot),J||($=="horizontal"?tt.set(ot,d.has(ot)?v[d.get(ot)]:k.get(ot)):tt.set(ot,d.has(ot)?L[d.get(ot)]:k.get(ot)))):tt.set(ot,Number.NEGATIVE_INFINITY),J&&j.set(ot,new Set([ot]))}),J&&at.forEach(function(lt){var ot=[];if(lt.forEach(function(st){J.has(st)&&ot.push(st)}),ot.length>0){var Lt=0;ot.forEach(function(st){$=="horizontal"?(tt.set(st,d.has(st)?v[d.get(st)]:k.get(st)),Lt+=tt.get(st)):(tt.set(st,d.has(st)?L[d.get(st)]:k.get(st)),Lt+=tt.get(st))}),Lt=Lt/ot.length,lt.forEach(function(st){J.has(st)||tt.set(st,Lt)})}else{var ft=0;lt.forEach(function(st){$=="horizontal"?ft+=d.has(st)?v[d.get(st)]:k.get(st):ft+=d.has(st)?L[d.get(st)]:k.get(st)}),ft=ft/lt.length,lt.forEach(function(st){tt.set(st,ft)})}});for(var wt=function(){var ot=ut.shift(),Lt=U.get(ot);Lt.forEach(function(ft){if(tt.get(ft.id)<tt.get(ot)+ft.gap)if(J&&J.has(ft.id)){var st=void 0;if($=="horizontal"?st=d.has(ft.id)?v[d.get(ft.id)]:k.get(ft.id):st=d.has(ft.id)?L[d.get(ft.id)]:k.get(ft.id),tt.set(ft.id,st),st<tt.get(ot)+ft.gap){var Xt=tt.get(ot)+ft.gap-st;j.get(ot).forEach(function(Tt){tt.set(Tt,tt.get(Tt)-Xt)})}}else tt.set(ft.id,tt.get(ot)+ft.gap);nt.set(ft.id,nt.get(ft.id)-1),nt.get(ft.id)==0&&ut.push(ft.id),J&&j.set(ft.id,ct(j.get(ot),j.get(ft.id)))})};ut.length!=0;)wt();if(J){var pt=new Set;U.forEach(function(lt,ot){lt.length==0&&pt.add(ot)});var xt=[];j.forEach(function(lt,ot){if(pt.has(ot)){var Lt=!1,ft=!0,st=!1,Xt=void 0;try{for(var Tt=lt[Symbol.iterator](),Ct;!(ft=(Ct=Tt.next()).done);ft=!0){var Bt=Ct.value;J.has(Bt)&&(Lt=!0)}}catch(St){st=!0,Xt=St}finally{try{!ft&&Tt.return&&Tt.return()}finally{if(st)throw Xt}}if(!Lt){var bt=!1,zt=void 0;xt.forEach(function(St,kt){St.has([].concat(f(lt))[0])&&(bt=!0,zt=kt)}),bt?lt.forEach(function(St){xt[zt].add(St)}):xt.push(new Set(lt))}}}),xt.forEach(function(lt,ot){var Lt=Number.POSITIVE_INFINITY,ft=Number.POSITIVE_INFINITY,st=Number.NEGATIVE_INFINITY,Xt=Number.NEGATIVE_INFINITY,Tt=!0,Ct=!1,Bt=void 0;try{for(var bt=lt[Symbol.iterator](),zt;!(Tt=(zt=bt.next()).done);Tt=!0){var St=zt.value,kt=void 0;$=="horizontal"?kt=d.has(St)?v[d.get(St)]:k.get(St):kt=d.has(St)?L[d.get(St)]:k.get(St);var Kt=tt.get(St);kt<Lt&&(Lt=kt),kt>st&&(st=kt),Kt<ft&&(ft=Kt),Kt>Xt&&(Xt=Kt)}}catch(ee){Ct=!0,Bt=ee}finally{try{!Tt&&bt.return&&bt.return()}finally{if(Ct)throw Bt}}var ce=(Lt+st)/2-(ft+Xt)/2,Qt=!0,jt=!1,_t=void 0;try{for(var Jt=lt[Symbol.iterator](),oe;!(Qt=(oe=Jt.next()).done);Qt=!0){var te=oe.value;tt.set(te,tt.get(te)+ce)}}catch(ee){jt=!0,_t=ee}finally{try{!Qt&&Jt.return&&Jt.return()}finally{if(jt)throw _t}}})}return tt},rt=function(U){var $=0,J=0,k=0,at=0;if(U.forEach(function(j){j.left?v[d.get(j.left)]-v[d.get(j.right)]>=0?$++:J++:L[d.get(j.top)]-L[d.get(j.bottom)]>=0?k++:at++}),$>J&&k>at)for(var ct=0;ct<d.size;ct++)v[ct]=-1*v[ct],L[ct]=-1*L[ct];else if($>J)for(var nt=0;nt<d.size;nt++)v[nt]=-1*v[nt];else if(k>at)for(var tt=0;tt<d.size;tt++)L[tt]=-1*L[tt]},n=function(U){var $=[],J=new g,k=new Set,at=0;return U.forEach(function(ct,nt){if(!k.has(nt)){$[at]=[];var tt=nt;for(J.push(tt),k.add(tt),$[at].push(tt);J.length!=0;){tt=J.shift();var j=U.get(tt);j.forEach(function(ut){k.has(ut.id)||(J.push(ut.id),k.add(ut.id),$[at].push(ut.id))})}at++}}),$},m=function(U){var $=new Map;return U.forEach(function(J,k){$.set(k,[])}),U.forEach(function(J,k){J.forEach(function(at){$.get(k).push(at),$.get(at.id).push({id:k,gap:at.gap,direction:at.direction})})}),$},p=function(U){var $=new Map;return U.forEach(function(J,k){$.set(k,[])}),U.forEach(function(J,k){J.forEach(function(at){$.get(at.id).push({id:k,gap:at.gap,direction:at.direction})})}),$},E=[],y=[],R=!1,w=!1,F=new Set,W=new Map,x=new Map,Z=[];if(l.fixedNodeConstraint&&l.fixedNodeConstraint.forEach(function(b){F.add(b.nodeId)}),l.relativePlacementConstraint&&(l.relativePlacementConstraint.forEach(function(b){b.left?(W.has(b.left)?W.get(b.left).push({id:b.right,gap:b.gap,direction:"horizontal"}):W.set(b.left,[{id:b.right,gap:b.gap,direction:"horizontal"}]),W.has(b.right)||W.set(b.right,[])):(W.has(b.top)?W.get(b.top).push({id:b.bottom,gap:b.gap,direction:"vertical"}):W.set(b.top,[{id:b.bottom,gap:b.gap,direction:"vertical"}]),W.has(b.bottom)||W.set(b.bottom,[]))}),x=m(W),Z=n(x)),i.TRANSFORM_ON_CONSTRAINT_HANDLING){if(l.fixedNodeConstraint&&l.fixedNodeConstraint.length>1)l.fixedNodeConstraint.forEach(function(b,U){E[U]=[b.position.x,b.position.y],y[U]=[v[d.get(b.nodeId)],L[d.get(b.nodeId)]]}),R=!0;else if(l.alignmentConstraint)(function(){var b=0;if(l.alignmentConstraint.vertical){for(var U=l.alignmentConstraint.vertical,$=function(tt){var j=new Set;U[tt].forEach(function(pt){j.add(pt)});var ut=new Set([].concat(f(j)).filter(function(pt){return F.has(pt)})),wt=void 0;ut.size>0?wt=v[d.get(ut.values().next().value)]:wt=Q(j).x,U[tt].forEach(function(pt){E[b]=[wt,L[d.get(pt)]],y[b]=[v[d.get(pt)],L[d.get(pt)]],b++})},J=0;J<U.length;J++)$(J);R=!0}if(l.alignmentConstraint.horizontal){for(var k=l.alignmentConstraint.horizontal,at=function(tt){var j=new Set;k[tt].forEach(function(pt){j.add(pt)});var ut=new Set([].concat(f(j)).filter(function(pt){return F.has(pt)})),wt=void 0;ut.size>0?wt=v[d.get(ut.values().next().value)]:wt=Q(j).y,k[tt].forEach(function(pt){E[b]=[v[d.get(pt)],wt],y[b]=[v[d.get(pt)],L[d.get(pt)]],b++})},ct=0;ct<k.length;ct++)at(ct);R=!0}l.relativePlacementConstraint&&(w=!0)})();else if(l.relativePlacementConstraint){for(var V=0,Y=0,et=0;et<Z.length;et++)Z[et].length>V&&(V=Z[et].length,Y=et);if(V<x.size/2)rt(l.relativePlacementConstraint),R=!1,w=!1;else{var z=new Map,M=new Map,H=[];Z[Y].forEach(function(b){W.get(b).forEach(function(U){U.direction=="horizontal"?(z.has(b)?z.get(b).push(U):z.set(b,[U]),z.has(U.id)||z.set(U.id,[]),H.push({left:b,right:U.id})):(M.has(b)?M.get(b).push(U):M.set(b,[U]),M.has(U.id)||M.set(U.id,[]),H.push({top:b,bottom:U.id}))})}),rt(H),w=!1;var B=D(z,"horizontal"),_=D(M,"vertical");Z[Y].forEach(function(b,U){y[U]=[v[d.get(b)],L[d.get(b)]],E[U]=[],B.has(b)?E[U][0]=B.get(b):E[U][0]=v[d.get(b)],_.has(b)?E[U][1]=_.get(b):E[U][1]=L[d.get(b)]}),R=!0}}if(R){for(var ht=void 0,q=t.transpose(E),It=t.transpose(y),Nt=0;Nt<q.length;Nt++)q[Nt]=t.multGamma(q[Nt]),It[Nt]=t.multGamma(It[Nt]);var vt=t.multMat(q,t.transpose(It)),it=o.svd(vt);ht=t.multMat(it.V,t.transpose(it.U));for(var gt=0;gt<d.size;gt++){var mt=[v[gt],L[gt]],At=[ht[0][0],ht[1][0]],Ot=[ht[0][1],ht[1][1]];v[gt]=t.dotProduct(mt,At),L[gt]=t.dotProduct(mt,Ot)}w&&rt(l.relativePlacementConstraint)}}if(i.ENFORCE_CONSTRAINTS){if(l.fixedNodeConstraint&&l.fixedNodeConstraint.length>0){var Et={x:0,y:0};l.fixedNodeConstraint.forEach(function(b,U){var $={x:v[d.get(b.nodeId)],y:L[d.get(b.nodeId)]},J=b.position,k=X(J,$);Et.x+=k.x,Et.y+=k.y}),Et.x/=l.fixedNodeConstraint.length,Et.y/=l.fixedNodeConstraint.length,v.forEach(function(b,U){v[U]+=Et.x}),L.forEach(function(b,U){L[U]+=Et.y}),l.fixedNodeConstraint.forEach(function(b){v[d.get(b.nodeId)]=b.position.x,L[d.get(b.nodeId)]=b.position.y})}if(l.alignmentConstraint){if(l.alignmentConstraint.vertical)for(var Dt=l.alignmentConstraint.vertical,Rt=function(U){var $=new Set;Dt[U].forEach(function(at){$.add(at)});var J=new Set([].concat(f($)).filter(function(at){return F.has(at)})),k=void 0;J.size>0?k=v[d.get(J.values().next().value)]:k=Q($).x,$.forEach(function(at){F.has(at)||(v[d.get(at)]=k)})},Ht=0;Ht<Dt.length;Ht++)Rt(Ht);if(l.alignmentConstraint.horizontal)for(var Ut=l.alignmentConstraint.horizontal,Pt=function(U){var $=new Set;Ut[U].forEach(function(at){$.add(at)});var J=new Set([].concat(f($)).filter(function(at){return F.has(at)})),k=void 0;J.size>0?k=L[d.get(J.values().next().value)]:k=Q($).y,$.forEach(function(at){F.has(at)||(L[d.get(at)]=k)})},Ft=0;Ft<Ut.length;Ft++)Pt(Ft)}l.relativePlacementConstraint&&function(){var b=new Map,U=new Map,$=new Map,J=new Map,k=new Map,at=new Map,ct=new Set,nt=new Set;if(F.forEach(function(Gt){ct.add(Gt),nt.add(Gt)}),l.alignmentConstraint){if(l.alignmentConstraint.vertical)for(var tt=l.alignmentConstraint.vertical,j=function(yt){$.set("dummy"+yt,[]),tt[yt].forEach(function(Mt){b.set(Mt,"dummy"+yt),$.get("dummy"+yt).push(Mt),F.has(Mt)&&ct.add("dummy"+yt)}),k.set("dummy"+yt,v[d.get(tt[yt][0])])},ut=0;ut<tt.length;ut++)j(ut);if(l.alignmentConstraint.horizontal)for(var wt=l.alignmentConstraint.horizontal,pt=function(yt){J.set("dummy"+yt,[]),wt[yt].forEach(function(Mt){U.set(Mt,"dummy"+yt),J.get("dummy"+yt).push(Mt),F.has(Mt)&&nt.add("dummy"+yt)}),at.set("dummy"+yt,L[d.get(wt[yt][0])])},xt=0;xt<wt.length;xt++)pt(xt)}var lt=new Map,ot=new Map,Lt=function(yt){W.get(yt).forEach(function(Mt){var Zt=void 0,$t=void 0;Mt.direction=="horizontal"?(Zt=b.get(yt)?b.get(yt):yt,b.get(Mt.id)?$t={id:b.get(Mt.id),gap:Mt.gap,direction:Mt.direction}:$t=Mt,lt.has(Zt)?lt.get(Zt).push($t):lt.set(Zt,[$t]),lt.has($t.id)||lt.set($t.id,[])):(Zt=U.get(yt)?U.get(yt):yt,U.get(Mt.id)?$t={id:U.get(Mt.id),gap:Mt.gap,direction:Mt.direction}:$t=Mt,ot.has(Zt)?ot.get(Zt).push($t):ot.set(Zt,[$t]),ot.has($t.id)||ot.set($t.id,[]))})},ft=!0,st=!1,Xt=void 0;try{for(var Tt=W.keys()[Symbol.iterator](),Ct;!(ft=(Ct=Tt.next()).done);ft=!0){var Bt=Ct.value;Lt(Bt)}}catch(Gt){st=!0,Xt=Gt}finally{try{!ft&&Tt.return&&Tt.return()}finally{if(st)throw Xt}}var bt=m(lt),zt=m(ot),St=n(bt),kt=n(zt),Kt=p(lt),ce=p(ot),Qt=[],jt=[];St.forEach(function(Gt,yt){Qt[yt]=[],Gt.forEach(function(Mt){Kt.get(Mt).length==0&&Qt[yt].push(Mt)})}),kt.forEach(function(Gt,yt){jt[yt]=[],Gt.forEach(function(Mt){ce.get(Mt).length==0&&jt[yt].push(Mt)})});var _t=D(lt,"horizontal",ct,k,Qt),Jt=D(ot,"vertical",nt,at,jt),oe=function(yt){$.get(yt)?$.get(yt).forEach(function(Mt){v[d.get(Mt)]=_t.get(yt)}):v[d.get(yt)]=_t.get(yt)},te=!0,ee=!1,Ne=void 0;try{for(var ge=_t.keys()[Symbol.iterator](),Le;!(te=(Le=ge.next()).done);te=!0){var ue=Le.value;oe(ue)}}catch(Gt){ee=!0,Ne=Gt}finally{try{!te&&ge.return&&ge.return()}finally{if(ee)throw Ne}}var $e=function(yt){J.get(yt)?J.get(yt).forEach(function(Mt){L[d.get(Mt)]=Jt.get(yt)}):L[d.get(yt)]=Jt.get(yt)},de=!0,Ce=!1,Ae=void 0;try{for(var ve=Jt.keys()[Symbol.iterator](),we;!(de=(we=ve.next()).done);de=!0){var ue=we.value;$e(ue)}}catch(Gt){Ce=!0,Ae=Gt}finally{try{!de&&ve.return&&ve.return()}finally{if(Ce)throw Ae}}}()}for(var Yt=0;Yt<S.length;Yt++){var Vt=S[Yt];Vt.getChild()==null&&Vt.setCenter(v[d.get(Vt.id)],L[d.get(Vt.id)])}},a.exports=s},551:a=>{a.exports=A}},N={};function u(a){var r=N[a];if(r!==void 0)return r.exports;var e=N[a]={exports:{}};return P[a](e,e.exports,u),e.exports}var h=u(45);return h})()})}(le)),le.exports}var pr=he.exports,De;function yr(){return De||(De=1,function(I,O){(function(P,N){I.exports=N(vr())})(pr,function(A){return(()=>{var P={658:a=>{a.exports=Object.assign!=null?Object.assign.bind(Object):function(r){for(var e=arguments.length,f=Array(e>1?e-1:0),i=1;i<e;i++)f[i-1]=arguments[i];return f.forEach(function(g){Object.keys(g).forEach(function(t){return r[t]=g[t]})}),r}},548:(a,r,e)=>{var f=function(){function t(o,s){var c=[],l=!0,T=!1,d=void 0;try{for(var v=o[Symbol.iterator](),L;!(l=(L=v.next()).done)&&(c.push(L.value),!(s&&c.length===s));l=!0);}catch(S){T=!0,d=S}finally{try{!l&&v.return&&v.return()}finally{if(T)throw d}}return c}return function(o,s){if(Array.isArray(o))return o;if(Symbol.iterator in Object(o))return t(o,s);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),i=e(140).layoutBase.LinkedList,g={};g.getTopMostNodes=function(t){for(var o={},s=0;s<t.length;s++)o[t[s].id()]=!0;var c=t.filter(function(l,T){typeof l=="number"&&(l=T);for(var d=l.parent()[0];d!=null;){if(o[d.id()])return!1;d=d.parent()[0]}return!0});return c},g.connectComponents=function(t,o,s,c){var l=new i,T=new Set,d=[],v=void 0,L=void 0,S=void 0,C=!1,G=1,K=[],X=[],Q=function(){var rt=t.collection();X.push(rt);var n=s[0],m=t.collection();m.merge(n).merge(n.descendants().intersection(o)),d.push(n),m.forEach(function(y){l.push(y),T.add(y),rt.merge(y)});for(var p=function(){n=l.shift();var R=t.collection();n.neighborhood().nodes().forEach(function(x){o.intersection(n.edgesWith(x)).length>0&&R.merge(x)});for(var w=0;w<R.length;w++){var F=R[w];if(v=s.intersection(F.union(F.ancestors())),v!=null&&!T.has(v[0])){var W=v.union(v.descendants());W.forEach(function(x){l.push(x),T.add(x),rt.merge(x),s.has(x)&&d.push(x)})}}};l.length!=0;)p();if(rt.forEach(function(y){o.intersection(y.connectedEdges()).forEach(function(R){rt.has(R.source())&&rt.has(R.target())&&rt.merge(R)})}),d.length==s.length&&(C=!0),!C||C&&G>1){L=d[0],S=L.connectedEdges().length,d.forEach(function(y){y.connectedEdges().length<S&&(S=y.connectedEdges().length,L=y)}),K.push(L.id());var E=t.collection();E.merge(d[0]),d.forEach(function(y){E.merge(y)}),d=[],s=s.difference(E),G++}};do Q();while(!C);return c&&K.length>0&&c.set("dummy"+(c.size+1),K),X},g.relocateComponent=function(t,o,s){if(!s.fixedNodeConstraint){var c=Number.POSITIVE_INFINITY,l=Number.NEGATIVE_INFINITY,T=Number.POSITIVE_INFINITY,d=Number.NEGATIVE_INFINITY;if(s.quality=="draft"){var v=!0,L=!1,S=void 0;try{for(var C=o.nodeIndexes[Symbol.iterator](),G;!(v=(G=C.next()).done);v=!0){var K=G.value,X=f(K,2),Q=X[0],D=X[1],rt=s.cy.getElementById(Q);if(rt){var n=rt.boundingBox(),m=o.xCoords[D]-n.w/2,p=o.xCoords[D]+n.w/2,E=o.yCoords[D]-n.h/2,y=o.yCoords[D]+n.h/2;m<c&&(c=m),p>l&&(l=p),E<T&&(T=E),y>d&&(d=y)}}}catch(x){L=!0,S=x}finally{try{!v&&C.return&&C.return()}finally{if(L)throw S}}var R=t.x-(l+c)/2,w=t.y-(d+T)/2;o.xCoords=o.xCoords.map(function(x){return x+R}),o.yCoords=o.yCoords.map(function(x){return x+w})}else{Object.keys(o).forEach(function(x){var Z=o[x],V=Z.getRect().x,Y=Z.getRect().x+Z.getRect().width,et=Z.getRect().y,z=Z.getRect().y+Z.getRect().height;V<c&&(c=V),Y>l&&(l=Y),et<T&&(T=et),z>d&&(d=z)});var F=t.x-(l+c)/2,W=t.y-(d+T)/2;Object.keys(o).forEach(function(x){var Z=o[x];Z.setCenter(Z.getCenterX()+F,Z.getCenterY()+W)})}}},g.calcBoundingBox=function(t,o,s,c){for(var l=Number.MAX_SAFE_INTEGER,T=Number.MIN_SAFE_INTEGER,d=Number.MAX_SAFE_INTEGER,v=Number.MIN_SAFE_INTEGER,L=void 0,S=void 0,C=void 0,G=void 0,K=t.descendants().not(":parent"),X=K.length,Q=0;Q<X;Q++){var D=K[Q];L=o[c.get(D.id())]-D.width()/2,S=o[c.get(D.id())]+D.width()/2,C=s[c.get(D.id())]-D.height()/2,G=s[c.get(D.id())]+D.height()/2,l>L&&(l=L),T<S&&(T=S),d>C&&(d=C),v<G&&(v=G)}var rt={};return rt.topLeftX=l,rt.topLeftY=d,rt.width=T-l,rt.height=v-d,rt},g.calcParentsWithoutChildren=function(t,o){var s=t.collection();return o.nodes(":parent").forEach(function(c){var l=!1;c.children().forEach(function(T){T.css("display")!="none"&&(l=!0)}),l||s.merge(c)}),s},a.exports=g},816:(a,r,e)=>{var f=e(548),i=e(140).CoSELayout,g=e(140).CoSENode,t=e(140).layoutBase.PointD,o=e(140).layoutBase.DimensionD,s=e(140).layoutBase.LayoutConstants,c=e(140).layoutBase.FDLayoutConstants,l=e(140).CoSEConstants,T=function(v,L){var S=v.cy,C=v.eles,G=C.nodes(),K=C.edges(),X=void 0,Q=void 0,D=void 0,rt={};v.randomize&&(X=L.nodeIndexes,Q=L.xCoords,D=L.yCoords);var n=function(x){return typeof x=="function"},m=function(x,Z){return n(x)?x(Z):x},p=f.calcParentsWithoutChildren(S,C),E=function W(x,Z,V,Y){for(var et=Z.length,z=0;z<et;z++){var M=Z[z],H=null;M.intersection(p).length==0&&(H=M.children());var B=void 0,_=M.layoutDimensions({nodeDimensionsIncludeLabels:Y.nodeDimensionsIncludeLabels});if(M.outerWidth()!=null&&M.outerHeight()!=null)if(Y.randomize)if(!M.isParent())B=x.add(new g(V.graphManager,new t(Q[X.get(M.id())]-_.w/2,D[X.get(M.id())]-_.h/2),new o(parseFloat(_.w),parseFloat(_.h))));else{var ht=f.calcBoundingBox(M,Q,D,X);M.intersection(p).length==0?B=x.add(new g(V.graphManager,new t(ht.topLeftX,ht.topLeftY),new o(ht.width,ht.height))):B=x.add(new g(V.graphManager,new t(ht.topLeftX,ht.topLeftY),new o(parseFloat(_.w),parseFloat(_.h))))}else B=x.add(new g(V.graphManager,new t(M.position("x")-_.w/2,M.position("y")-_.h/2),new o(parseFloat(_.w),parseFloat(_.h))));else B=x.add(new g(this.graphManager));if(B.id=M.data("id"),B.nodeRepulsion=m(Y.nodeRepulsion,M),B.paddingLeft=parseInt(M.css("padding")),B.paddingTop=parseInt(M.css("padding")),B.paddingRight=parseInt(M.css("padding")),B.paddingBottom=parseInt(M.css("padding")),Y.nodeDimensionsIncludeLabels&&(B.labelWidth=M.boundingBox({includeLabels:!0,includeNodes:!1,includeOverlays:!1}).w,B.labelHeight=M.boundingBox({includeLabels:!0,includeNodes:!1,includeOverlays:!1}).h,B.labelPosVertical=M.css("text-valign"),B.labelPosHorizontal=M.css("text-halign")),rt[M.data("id")]=B,isNaN(B.rect.x)&&(B.rect.x=0),isNaN(B.rect.y)&&(B.rect.y=0),H!=null&&H.length>0){var q=void 0;q=V.getGraphManager().add(V.newGraph(),B),W(q,H,V,Y)}}},y=function(x,Z,V){for(var Y=0,et=0,z=0;z<V.length;z++){var M=V[z],H=rt[M.data("source")],B=rt[M.data("target")];if(H&&B&&H!==B&&H.getEdgesBetween(B).length==0){var _=Z.add(x.newEdge(),H,B);_.id=M.id(),_.idealLength=m(v.idealEdgeLength,M),_.edgeElasticity=m(v.edgeElasticity,M),Y+=_.idealLength,et++}}v.idealEdgeLength!=null&&(et>0?l.DEFAULT_EDGE_LENGTH=c.DEFAULT_EDGE_LENGTH=Y/et:n(v.idealEdgeLength)?l.DEFAULT_EDGE_LENGTH=c.DEFAULT_EDGE_LENGTH=50:l.DEFAULT_EDGE_LENGTH=c.DEFAULT_EDGE_LENGTH=v.idealEdgeLength,l.MIN_REPULSION_DIST=c.MIN_REPULSION_DIST=c.DEFAULT_EDGE_LENGTH/10,l.DEFAULT_RADIAL_SEPARATION=c.DEFAULT_EDGE_LENGTH)},R=function(x,Z){Z.fixedNodeConstraint&&(x.constraints.fixedNodeConstraint=Z.fixedNodeConstraint),Z.alignmentConstraint&&(x.constraints.alignmentConstraint=Z.alignmentConstraint),Z.relativePlacementConstraint&&(x.constraints.relativePlacementConstraint=Z.relativePlacementConstraint)};v.nestingFactor!=null&&(l.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR=c.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR=v.nestingFactor),v.gravity!=null&&(l.DEFAULT_GRAVITY_STRENGTH=c.DEFAULT_GRAVITY_STRENGTH=v.gravity),v.numIter!=null&&(l.MAX_ITERATIONS=c.MAX_ITERATIONS=v.numIter),v.gravityRange!=null&&(l.DEFAULT_GRAVITY_RANGE_FACTOR=c.DEFAULT_GRAVITY_RANGE_FACTOR=v.gravityRange),v.gravityCompound!=null&&(l.DEFAULT_COMPOUND_GRAVITY_STRENGTH=c.DEFAULT_COMPOUND_GRAVITY_STRENGTH=v.gravityCompound),v.gravityRangeCompound!=null&&(l.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR=c.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR=v.gravityRangeCompound),v.initialEnergyOnIncremental!=null&&(l.DEFAULT_COOLING_FACTOR_INCREMENTAL=c.DEFAULT_COOLING_FACTOR_INCREMENTAL=v.initialEnergyOnIncremental),v.tilingCompareBy!=null&&(l.TILING_COMPARE_BY=v.tilingCompareBy),v.quality=="proof"?s.QUALITY=2:s.QUALITY=0,l.NODE_DIMENSIONS_INCLUDE_LABELS=c.NODE_DIMENSIONS_INCLUDE_LABELS=s.NODE_DIMENSIONS_INCLUDE_LABELS=v.nodeDimensionsIncludeLabels,l.DEFAULT_INCREMENTAL=c.DEFAULT_INCREMENTAL=s.DEFAULT_INCREMENTAL=!v.randomize,l.ANIMATE=c.ANIMATE=s.ANIMATE=v.animate,l.TILE=v.tile,l.TILING_PADDING_VERTICAL=typeof v.tilingPaddingVertical=="function"?v.tilingPaddingVertical.call():v.tilingPaddingVertical,l.TILING_PADDING_HORIZONTAL=typeof v.tilingPaddingHorizontal=="function"?v.tilingPaddingHorizontal.call():v.tilingPaddingHorizontal,l.DEFAULT_INCREMENTAL=c.DEFAULT_INCREMENTAL=s.DEFAULT_INCREMENTAL=!0,l.PURE_INCREMENTAL=!v.randomize,s.DEFAULT_UNIFORM_LEAF_NODE_SIZES=v.uniformNodeDimensions,v.step=="transformed"&&(l.TRANSFORM_ON_CONSTRAINT_HANDLING=!0,l.ENFORCE_CONSTRAINTS=!1,l.APPLY_LAYOUT=!1),v.step=="enforced"&&(l.TRANSFORM_ON_CONSTRAINT_HANDLING=!1,l.ENFORCE_CONSTRAINTS=!0,l.APPLY_LAYOUT=!1),v.step=="cose"&&(l.TRANSFORM_ON_CONSTRAINT_HANDLING=!1,l.ENFORCE_CONSTRAINTS=!1,l.APPLY_LAYOUT=!0),v.step=="all"&&(v.randomize?l.TRANSFORM_ON_CONSTRAINT_HANDLING=!0:l.TRANSFORM_ON_CONSTRAINT_HANDLING=!1,l.ENFORCE_CONSTRAINTS=!0,l.APPLY_LAYOUT=!0),v.fixedNodeConstraint||v.alignmentConstraint||v.relativePlacementConstraint?l.TREE_REDUCTION_ON_INCREMENTAL=!1:l.TREE_REDUCTION_ON_INCREMENTAL=!0;var w=new i,F=w.newGraphManager();return E(F.addRoot(),f.getTopMostNodes(G),w,v),y(w,F,K),R(w,v),w.runLayout(),rt};a.exports={coseLayout:T}},212:(a,r,e)=>{var f=function(){function v(L,S){for(var C=0;C<S.length;C++){var G=S[C];G.enumerable=G.enumerable||!1,G.configurable=!0,"value"in G&&(G.writable=!0),Object.defineProperty(L,G.key,G)}}return function(L,S,C){return S&&v(L.prototype,S),C&&v(L,C),L}}();function i(v,L){if(!(v instanceof L))throw new TypeError("Cannot call a class as a function")}var g=e(658),t=e(548),o=e(657),s=o.spectralLayout,c=e(816),l=c.coseLayout,T=Object.freeze({quality:"default",randomize:!0,animate:!0,animationDuration:1e3,animationEasing:void 0,fit:!0,padding:30,nodeDimensionsIncludeLabels:!1,uniformNodeDimensions:!1,packComponents:!0,step:"all",samplingType:!0,sampleSize:25,nodeSeparation:75,piTol:1e-7,nodeRepulsion:function(L){return 4500},idealEdgeLength:function(L){return 50},edgeElasticity:function(L){return .45},nestingFactor:.1,gravity:.25,numIter:2500,tile:!0,tilingCompareBy:void 0,tilingPaddingVertical:10,tilingPaddingHorizontal:10,gravityRangeCompound:1.5,gravityCompound:1,gravityRange:3.8,initialEnergyOnIncremental:.3,fixedNodeConstraint:void 0,alignmentConstraint:void 0,relativePlacementConstraint:void 0,ready:function(){},stop:function(){}}),d=function(){function v(L){i(this,v),this.options=g({},T,L)}return f(v,[{key:"run",value:function(){var S=this,C=this.options,G=C.cy,K=C.eles,X=[],Q=[],D=void 0,rt=[];C.fixedNodeConstraint&&(!Array.isArray(C.fixedNodeConstraint)||C.fixedNodeConstraint.length==0)&&(C.fixedNodeConstraint=void 0),C.alignmentConstraint&&(C.alignmentConstraint.vertical&&(!Array.isArray(C.alignmentConstraint.vertical)||C.alignmentConstraint.vertical.length==0)&&(C.alignmentConstraint.vertical=void 0),C.alignmentConstraint.horizontal&&(!Array.isArray(C.alignmentConstraint.horizontal)||C.alignmentConstraint.horizontal.length==0)&&(C.alignmentConstraint.horizontal=void 0)),C.relativePlacementConstraint&&(!Array.isArray(C.relativePlacementConstraint)||C.relativePlacementConstraint.length==0)&&(C.relativePlacementConstraint=void 0);var n=C.fixedNodeConstraint||C.alignmentConstraint||C.relativePlacementConstraint;n&&(C.tile=!1,C.packComponents=!1);var m=void 0,p=!1;if(G.layoutUtilities&&C.packComponents&&(m=G.layoutUtilities("get"),m||(m=G.layoutUtilities()),p=!0),K.nodes().length>0)if(p){var R=t.getTopMostNodes(C.eles.nodes());if(D=t.connectComponents(G,C.eles,R),D.forEach(function(vt){var it=vt.boundingBox();rt.push({x:it.x1+it.w/2,y:it.y1+it.h/2})}),C.randomize&&D.forEach(function(vt){C.eles=vt,X.push(s(C))}),C.quality=="default"||C.quality=="proof"){var w=G.collection();if(C.tile){var F=new Map,W=[],x=[],Z=0,V={nodeIndexes:F,xCoords:W,yCoords:x},Y=[];if(D.forEach(function(vt,it){vt.edges().length==0&&(vt.nodes().forEach(function(gt,mt){w.merge(vt.nodes()[mt]),gt.isParent()||(V.nodeIndexes.set(vt.nodes()[mt].id(),Z++),V.xCoords.push(vt.nodes()[0].position().x),V.yCoords.push(vt.nodes()[0].position().y))}),Y.push(it))}),w.length>1){var et=w.boundingBox();rt.push({x:et.x1+et.w/2,y:et.y1+et.h/2}),D.push(w),X.push(V);for(var z=Y.length-1;z>=0;z--)D.splice(Y[z],1),X.splice(Y[z],1),rt.splice(Y[z],1)}}D.forEach(function(vt,it){C.eles=vt,Q.push(l(C,X[it])),t.relocateComponent(rt[it],Q[it],C)})}else D.forEach(function(vt,it){t.relocateComponent(rt[it],X[it],C)});var M=new Set;if(D.length>1){var H=[],B=K.filter(function(vt){return vt.css("display")=="none"});D.forEach(function(vt,it){var gt=void 0;if(C.quality=="draft"&&(gt=X[it].nodeIndexes),vt.nodes().not(B).length>0){var mt={};mt.edges=[],mt.nodes=[];var At=void 0;vt.nodes().not(B).forEach(function(Ot){if(C.quality=="draft")if(!Ot.isParent())At=gt.get(Ot.id()),mt.nodes.push({x:X[it].xCoords[At]-Ot.boundingbox().w/2,y:X[it].yCoords[At]-Ot.boundingbox().h/2,width:Ot.boundingbox().w,height:Ot.boundingbox().h});else{var Et=t.calcBoundingBox(Ot,X[it].xCoords,X[it].yCoords,gt);mt.nodes.push({x:Et.topLeftX,y:Et.topLeftY,width:Et.width,height:Et.height})}else Q[it][Ot.id()]&&mt.nodes.push({x:Q[it][Ot.id()].getLeft(),y:Q[it][Ot.id()].getTop(),width:Q[it][Ot.id()].getWidth(),height:Q[it][Ot.id()].getHeight()})}),vt.edges().forEach(function(Ot){var Et=Ot.source(),Dt=Ot.target();if(Et.css("display")!="none"&&Dt.css("display")!="none")if(C.quality=="draft"){var Rt=gt.get(Et.id()),Ht=gt.get(Dt.id()),Ut=[],Pt=[];if(Et.isParent()){var Ft=t.calcBoundingBox(Et,X[it].xCoords,X[it].yCoords,gt);Ut.push(Ft.topLeftX+Ft.width/2),Ut.push(Ft.topLeftY+Ft.height/2)}else Ut.push(X[it].xCoords[Rt]),Ut.push(X[it].yCoords[Rt]);if(Dt.isParent()){var Yt=t.calcBoundingBox(Dt,X[it].xCoords,X[it].yCoords,gt);Pt.push(Yt.topLeftX+Yt.width/2),Pt.push(Yt.topLeftY+Yt.height/2)}else Pt.push(X[it].xCoords[Ht]),Pt.push(X[it].yCoords[Ht]);mt.edges.push({startX:Ut[0],startY:Ut[1],endX:Pt[0],endY:Pt[1]})}else Q[it][Et.id()]&&Q[it][Dt.id()]&&mt.edges.push({startX:Q[it][Et.id()].getCenterX(),startY:Q[it][Et.id()].getCenterY(),endX:Q[it][Dt.id()].getCenterX(),endY:Q[it][Dt.id()].getCenterY()})}),mt.nodes.length>0&&(H.push(mt),M.add(it))}});var _=m.packComponents(H,C.randomize).shifts;if(C.quality=="draft")X.forEach(function(vt,it){var gt=vt.xCoords.map(function(At){return At+_[it].dx}),mt=vt.yCoords.map(function(At){return At+_[it].dy});vt.xCoords=gt,vt.yCoords=mt});else{var ht=0;M.forEach(function(vt){Object.keys(Q[vt]).forEach(function(it){var gt=Q[vt][it];gt.setCenter(gt.getCenterX()+_[ht].dx,gt.getCenterY()+_[ht].dy)}),ht++})}}}else{var E=C.eles.boundingBox();if(rt.push({x:E.x1+E.w/2,y:E.y1+E.h/2}),C.randomize){var y=s(C);X.push(y)}C.quality=="default"||C.quality=="proof"?(Q.push(l(C,X[0])),t.relocateComponent(rt[0],Q[0],C)):t.relocateComponent(rt[0],X[0],C)}var q=function(it,gt){if(C.quality=="default"||C.quality=="proof"){typeof it=="number"&&(it=gt);var mt=void 0,At=void 0,Ot=it.data("id");return Q.forEach(function(Dt){Ot in Dt&&(mt={x:Dt[Ot].getRect().getCenterX(),y:Dt[Ot].getRect().getCenterY()},At=Dt[Ot])}),C.nodeDimensionsIncludeLabels&&(At.labelWidth&&(At.labelPosHorizontal=="left"?mt.x+=At.labelWidth/2:At.labelPosHorizontal=="right"&&(mt.x-=At.labelWidth/2)),At.labelHeight&&(At.labelPosVertical=="top"?mt.y+=At.labelHeight/2:At.labelPosVertical=="bottom"&&(mt.y-=At.labelHeight/2))),mt==null&&(mt={x:it.position("x"),y:it.position("y")}),{x:mt.x,y:mt.y}}else{var Et=void 0;return X.forEach(function(Dt){var Rt=Dt.nodeIndexes.get(it.id());Rt!=null&&(Et={x:Dt.xCoords[Rt],y:Dt.yCoords[Rt]})}),Et==null&&(Et={x:it.position("x"),y:it.position("y")}),{x:Et.x,y:Et.y}}};if(C.quality=="default"||C.quality=="proof"||C.randomize){var It=t.calcParentsWithoutChildren(G,K),Nt=K.filter(function(vt){return vt.css("display")=="none"});C.eles=K.not(Nt),K.nodes().not(":parent").not(Nt).layoutPositions(S,C,q),It.length>0&&It.forEach(function(vt){vt.position(q(vt))})}else console.log("If randomize option is set to false, then quality option must be 'default' or 'proof'.")}}]),v}();a.exports=d},657:(a,r,e)=>{var f=e(548),i=e(140).layoutBase.Matrix,g=e(140).layoutBase.SVD,t=function(s){var c=s.cy,l=s.eles,T=l.nodes(),d=l.nodes(":parent"),v=new Map,L=new Map,S=new Map,C=[],G=[],K=[],X=[],Q=[],D=[],rt=[],n=[],m=void 0,p=1e8,E=1e-9,y=s.piTol,R=s.samplingType,w=s.nodeSeparation,F=void 0,W=function(){for(var U=0,$=0,J=!1;$<F;){U=Math.floor(Math.random()*m),J=!1;for(var k=0;k<$;k++)if(X[k]==U){J=!0;break}if(!J)X[$]=U,$++;else continue}},x=function(U,$,J){for(var k=[],at=0,ct=0,nt=0,tt=void 0,j=[],ut=0,wt=1,pt=0;pt<m;pt++)j[pt]=p;for(k[ct]=U,j[U]=0;ct>=at;){nt=k[at++];for(var xt=C[nt],lt=0;lt<xt.length;lt++)tt=L.get(xt[lt]),j[tt]==p&&(j[tt]=j[nt]+1,k[++ct]=tt);D[nt][$]=j[nt]*w}if(J){for(var ot=0;ot<m;ot++)D[ot][$]<Q[ot]&&(Q[ot]=D[ot][$]);for(var Lt=0;Lt<m;Lt++)Q[Lt]>ut&&(ut=Q[Lt],wt=Lt)}return wt},Z=function(U){var $=void 0;if(U){$=Math.floor(Math.random()*m);for(var k=0;k<m;k++)Q[k]=p;for(var at=0;at<F;at++)X[at]=$,$=x($,at,U)}else{W();for(var J=0;J<F;J++)x(X[J],J,U)}for(var ct=0;ct<m;ct++)for(var nt=0;nt<F;nt++)D[ct][nt]*=D[ct][nt];for(var tt=0;tt<F;tt++)rt[tt]=[];for(var j=0;j<F;j++)for(var ut=0;ut<F;ut++)rt[j][ut]=D[X[ut]][j]},V=function(){for(var U=g.svd(rt),$=U.S,J=U.U,k=U.V,at=$[0]*$[0]*$[0],ct=[],nt=0;nt<F;nt++){ct[nt]=[];for(var tt=0;tt<F;tt++)ct[nt][tt]=0,nt==tt&&(ct[nt][tt]=$[nt]/($[nt]*$[nt]+at/($[nt]*$[nt])))}n=i.multMat(i.multMat(k,ct),i.transpose(J))},Y=function(){for(var U=void 0,$=void 0,J=[],k=[],at=[],ct=[],nt=0;nt<m;nt++)J[nt]=Math.random(),k[nt]=Math.random();J=i.normalize(J),k=i.normalize(k);for(var tt=E,j=E,ut=void 0;;){for(var wt=0;wt<m;wt++)at[wt]=J[wt];if(J=i.multGamma(i.multL(i.multGamma(at),D,n)),U=i.dotProduct(at,J),J=i.normalize(J),tt=i.dotProduct(at,J),ut=Math.abs(tt/j),ut<=1+y&&ut>=1)break;j=tt}for(var pt=0;pt<m;pt++)at[pt]=J[pt];for(j=E;;){for(var xt=0;xt<m;xt++)ct[xt]=k[xt];if(ct=i.minusOp(ct,i.multCons(at,i.dotProduct(at,ct))),k=i.multGamma(i.multL(i.multGamma(ct),D,n)),$=i.dotProduct(ct,k),k=i.normalize(k),tt=i.dotProduct(ct,k),ut=Math.abs(tt/j),ut<=1+y&&ut>=1)break;j=tt}for(var lt=0;lt<m;lt++)ct[lt]=k[lt];G=i.multCons(at,Math.sqrt(Math.abs(U))),K=i.multCons(ct,Math.sqrt(Math.abs($)))};f.connectComponents(c,l,f.getTopMostNodes(T),v),d.forEach(function(b){f.connectComponents(c,l,f.getTopMostNodes(b.descendants().intersection(l)),v)});for(var et=0,z=0;z<T.length;z++)T[z].isParent()||L.set(T[z].id(),et++);var M=!0,H=!1,B=void 0;try{for(var _=v.keys()[Symbol.iterator](),ht;!(M=(ht=_.next()).done);M=!0){var q=ht.value;L.set(q,et++)}}catch(b){H=!0,B=b}finally{try{!M&&_.return&&_.return()}finally{if(H)throw B}}for(var It=0;It<L.size;It++)C[It]=[];d.forEach(function(b){for(var U=b.children().intersection(l);U.nodes(":childless").length==0;)U=U.nodes()[0].children().intersection(l);var $=0,J=U.nodes(":childless")[0].connectedEdges().length;U.nodes(":childless").forEach(function(k,at){k.connectedEdges().length<J&&(J=k.connectedEdges().length,$=at)}),S.set(b.id(),U.nodes(":childless")[$].id())}),T.forEach(function(b){var U=void 0;b.isParent()?U=L.get(S.get(b.id())):U=L.get(b.id()),b.neighborhood().nodes().forEach(function($){l.intersection(b.edgesWith($)).length>0&&($.isParent()?C[U].push(S.get($.id())):C[U].push($.id()))})});var Nt=function(U){var $=L.get(U),J=void 0;v.get(U).forEach(function(k){c.getElementById(k).isParent()?J=S.get(k):J=k,C[$].push(J),C[L.get(J)].push(U)})},vt=!0,it=!1,gt=void 0;try{for(var mt=v.keys()[Symbol.iterator](),At;!(vt=(At=mt.next()).done);vt=!0){var Ot=At.value;Nt(Ot)}}catch(b){it=!0,gt=b}finally{try{!vt&&mt.return&&mt.return()}finally{if(it)throw gt}}m=L.size;var Et=void 0;if(m>2){F=m<s.sampleSize?m:s.sampleSize;for(var Dt=0;Dt<m;Dt++)D[Dt]=[];for(var Rt=0;Rt<F;Rt++)n[Rt]=[];return s.quality=="draft"||s.step=="all"?(Z(R),V(),Y(),Et={nodeIndexes:L,xCoords:G,yCoords:K}):(L.forEach(function(b,U){G.push(c.getElementById(U).position("x")),K.push(c.getElementById(U).position("y"))}),Et={nodeIndexes:L,xCoords:G,yCoords:K}),Et}else{var Ht=L.keys(),Ut=c.getElementById(Ht.next().value),Pt=Ut.position(),Ft=Ut.outerWidth();if(G.push(Pt.x),K.push(Pt.y),m==2){var Yt=c.getElementById(Ht.next().value),Vt=Yt.outerWidth();G.push(Pt.x+Ft/2+Vt/2+s.idealEdgeLength),K.push(Pt.y)}return Et={nodeIndexes:L,xCoords:G,yCoords:K},Et}};a.exports={spectralLayout:t}},579:(a,r,e)=>{var f=e(212),i=function(t){t&&t("layout","fcose",f)};typeof cytoscape<"u"&&i(cytoscape),a.exports=i},140:a=>{a.exports=A}},N={};function u(a){var r=N[a];if(r!==void 0)return r.exports;var e=N[a]={exports:{}};return P[a](e,e.exports,u),e.exports}var h=u(579);return h})()})}(he)),he.exports}var Er=yr();const mr=cr(Er);var xe={L:"left",R:"right",T:"top",B:"bottom"},Ie={L:dt(I=>`${I},${I/2} 0,${I} 0,0`,"L"),R:dt(I=>`0,${I/2} ${I},0 ${I},${I}`,"R"),T:dt(I=>`0,0 ${I},0 ${I/2},${I}`,"T"),B:dt(I=>`${I/2},0 ${I},${I} 0,${I}`,"B")},se={L:dt((I,O)=>I-O+2,"L"),R:dt((I,O)=>I-2,"R"),T:dt((I,O)=>I-O+2,"T"),B:dt((I,O)=>I-2,"B")},Tr=dt(function(I){return Wt(I)?I==="L"?"R":"L":I==="T"?"B":"T"},"getOppositeArchitectureDirection"),Re=dt(function(I){const O=I;return O==="L"||O==="R"||O==="T"||O==="B"},"isArchitectureDirection"),Wt=dt(function(I){const O=I;return O==="L"||O==="R"},"isArchitectureDirectionX"),qt=dt(function(I){const O=I;return O==="T"||O==="B"},"isArchitectureDirectionY"),Te=dt(function(I,O){const A=Wt(I)&&qt(O),P=qt(I)&&Wt(O);return A||P},"isArchitectureDirectionXY"),Nr=dt(function(I){const O=I[0],A=I[1],P=Wt(O)&&qt(A),N=qt(O)&&Wt(A);return P||N},"isArchitecturePairXY"),Lr=dt(function(I){return I!=="LL"&&I!=="RR"&&I!=="TT"&&I!=="BB"},"isValidArchitectureDirectionPair"),ye=dt(function(I,O){const A=`${I}${O}`;return Lr(A)?A:void 0},"getArchitectureDirectionPair"),Cr=dt(function([I,O],A){const P=A[0],N=A[1];return Wt(P)?qt(N)?[I+(P==="L"?-1:1),O+(N==="T"?1:-1)]:[I+(P==="L"?-1:1),O]:Wt(N)?[I+(N==="L"?1:-1),O+(P==="T"?1:-1)]:[I,O+(P==="T"?1:-1)]},"shiftPositionByArchitectureDirectionPair"),Ar=dt(function(I){return I==="LT"||I==="TL"?[1,1]:I==="BL"||I==="LB"?[1,-1]:I==="BR"||I==="RB"?[-1,-1]:[-1,1]},"getArchitectureDirectionXYFactors"),wr=dt(function(I,O){return Te(I,O)?"bend":Wt(I)?"horizontal":"vertical"},"getArchitectureDirectionAlignment"),Mr=dt(function(I){return I.type==="service"},"isArchitectureService"),Or=dt(function(I){return I.type==="junction"},"isArchitectureJunction"),be=dt(I=>I.data(),"edgeData"),ie=dt(I=>I.data(),"nodeData"),Dr=ir.architecture,ae,Pe=(ae=class{constructor(){this.nodes={},this.groups={},this.edges=[],this.registeredIds={},this.elements={},this.setAccTitle=qe,this.getAccTitle=Qe,this.setDiagramTitle=Je,this.getDiagramTitle=Ke,this.getAccDescription=je,this.setAccDescription=_e,this.clear()}clear(){this.nodes={},this.groups={},this.edges=[],this.registeredIds={},this.dataStructures=void 0,this.elements={},tr()}addService({id:O,icon:A,in:P,title:N,iconText:u}){if(this.registeredIds[O]!==void 0)throw new Error(`The service id [${O}] is already in use by another ${this.registeredIds[O]}`);if(P!==void 0){if(O===P)throw new Error(`The service [${O}] cannot be placed within itself`);if(this.registeredIds[P]===void 0)throw new Error(`The service [${O}]'s parent does not exist. Please make sure the parent is created before this service`);if(this.registeredIds[P]==="node")throw new Error(`The service [${O}]'s parent is not a group`)}this.registeredIds[O]="node",this.nodes[O]={id:O,type:"service",icon:A,iconText:u,title:N,edges:[],in:P}}getServices(){return Object.values(this.nodes).filter(Mr)}addJunction({id:O,in:A}){if(this.registeredIds[O]!==void 0)throw new Error(`The junction id [${O}] is already in use by another ${this.registeredIds[O]}`);if(A!==void 0){if(O===A)throw new Error(`The junction [${O}] cannot be placed within itself`);if(this.registeredIds[A]===void 0)throw new Error(`The junction [${O}]'s parent does not exist. Please make sure the parent is created before this junction`);if(this.registeredIds[A]==="node")throw new Error(`The junction [${O}]'s parent is not a group`)}this.registeredIds[O]="node",this.nodes[O]={id:O,type:"junction",edges:[],in:A}}getJunctions(){return Object.values(this.nodes).filter(Or)}getNodes(){return Object.values(this.nodes)}getNode(O){return this.nodes[O]??null}addGroup({id:O,icon:A,in:P,title:N}){var u,h,a;if(((u=this.registeredIds)==null?void 0:u[O])!==void 0)throw new Error(`The group id [${O}] is already in use by another ${this.registeredIds[O]}`);if(P!==void 0){if(O===P)throw new Error(`The group [${O}] cannot be placed within itself`);if(((h=this.registeredIds)==null?void 0:h[P])===void 0)throw new Error(`The group [${O}]'s parent does not exist. Please make sure the parent is created before this group`);if(((a=this.registeredIds)==null?void 0:a[P])==="node")throw new Error(`The group [${O}]'s parent is not a group`)}this.registeredIds[O]="group",this.groups[O]={id:O,icon:A,title:N,in:P}}getGroups(){return Object.values(this.groups)}addEdge({lhsId:O,rhsId:A,lhsDir:P,rhsDir:N,lhsInto:u,rhsInto:h,lhsGroup:a,rhsGroup:r,title:e}){if(!Re(P))throw new Error(`Invalid direction given for left hand side of edge ${O}--${A}. Expected (L,R,T,B) got ${String(P)}`);if(!Re(N))throw new Error(`Invalid direction given for right hand side of edge ${O}--${A}. Expected (L,R,T,B) got ${String(N)}`);if(this.nodes[O]===void 0&&this.groups[O]===void 0)throw new Error(`The left-hand id [${O}] does not yet exist. Please create the service/group before declaring an edge to it.`);if(this.nodes[A]===void 0&&this.groups[A]===void 0)throw new Error(`The right-hand id [${A}] does not yet exist. Please create the service/group before declaring an edge to it.`);const f=this.nodes[O].in,i=this.nodes[A].in;if(a&&f&&i&&f==i)throw new Error(`The left-hand id [${O}] is modified to traverse the group boundary, but the edge does not pass through two groups.`);if(r&&f&&i&&f==i)throw new Error(`The right-hand id [${A}] is modified to traverse the group boundary, but the edge does not pass through two groups.`);const g={lhsId:O,lhsDir:P,lhsInto:u,lhsGroup:a,rhsId:A,rhsDir:N,rhsInto:h,rhsGroup:r,title:e};this.edges.push(g),this.nodes[O]&&this.nodes[A]&&(this.nodes[O].edges.push(this.edges[this.edges.length-1]),this.nodes[A].edges.push(this.edges[this.edges.length-1]))}getEdges(){return this.edges}getDataStructures(){if(this.dataStructures===void 0){const O={},A=Object.entries(this.nodes).reduce((r,[e,f])=>(r[e]=f.edges.reduce((i,g)=>{var s,c;const t=(s=this.getNode(g.lhsId))==null?void 0:s.in,o=(c=this.getNode(g.rhsId))==null?void 0:c.in;if(t&&o&&t!==o){const l=wr(g.lhsDir,g.rhsDir);l!=="bend"&&(O[t]??(O[t]={}),O[t][o]=l,O[o]??(O[o]={}),O[o][t]=l)}if(g.lhsId===e){const l=ye(g.lhsDir,g.rhsDir);l&&(i[l]=g.rhsId)}else{const l=ye(g.rhsDir,g.lhsDir);l&&(i[l]=g.lhsId)}return i},{}),r),{}),P=Object.keys(A)[0],N={[P]:1},u=Object.keys(A).reduce((r,e)=>e===P?r:{...r,[e]:1},{}),h=dt(r=>{const e={[r]:[0,0]},f=[r];for(;f.length>0;){const i=f.shift();if(i){N[i]=1,delete u[i];const g=A[i],[t,o]=e[i];Object.entries(g).forEach(([s,c])=>{N[c]||(e[c]=Cr([t,o],s),f.push(c))})}}return e},"BFS"),a=[h(P)];for(;Object.keys(u).length>0;)a.push(h(Object.keys(u)[0]));this.dataStructures={adjList:A,spatialMaps:a,groupAlignments:O}}return this.dataStructures}setElementForId(O,A){this.elements[O]=A}getElementById(O){return this.elements[O]}getConfig(){return er({...Dr,...rr().architecture})}getConfigField(O){return this.getConfig()[O]}},dt(ae,"ArchitectureDB"),ae),xr=dt((I,O)=>{lr(I,O),I.groups.map(A=>O.addGroup(A)),I.services.map(A=>O.addService({...A,type:"service"})),I.junctions.map(A=>O.addJunction({...A,type:"junction"})),I.edges.map(A=>O.addEdge(A))},"populateDb"),Ge={parser:{yy:void 0},parse:dt(async I=>{var P;const O=await fr("architecture",I);Se.debug(O);const A=(P=Ge.parser)==null?void 0:P.yy;if(!(A instanceof Pe))throw new Error("parser.parser?.yy was not a ArchitectureDB. This is due to a bug within Mermaid, please report this issue at https://github.com/mermaid-js/mermaid/issues.");xr(O,A)},"parse")},Ir=dt(I=>`
2
- .edge {
3
- stroke-width: ${I.archEdgeWidth};
4
- stroke: ${I.archEdgeColor};
5
- fill: none;
6
- }
7
-
8
- .arrow {
9
- fill: ${I.archEdgeArrowColor};
10
- }
11
-
12
- .node-bkg {
13
- fill: none;
14
- stroke: ${I.archGroupBorderColor};
15
- stroke-width: ${I.archGroupBorderWidth};
16
- stroke-dasharray: 8;
17
- }
18
- .node-icon-text {
19
- display: flex;
20
- align-items: center;
21
- }
22
-
23
- .node-icon-text > div {
24
- color: #fff;
25
- margin: 1px;
26
- height: fit-content;
27
- text-align: center;
28
- overflow: hidden;
29
- display: -webkit-box;
30
- -webkit-box-orient: vertical;
31
- }
32
- `,"getStyles"),Rr=Ir,re=dt(I=>`<g><rect width="80" height="80" style="fill: #087ebf; stroke-width: 0px;"/>${I}</g>`,"wrapIcon"),ne={prefix:"mermaid-architecture",height:80,width:80,icons:{database:{body:re('<path id="b" data-name="4" d="m20,57.86c0,3.94,8.95,7.14,20,7.14s20-3.2,20-7.14" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><path id="c" data-name="3" d="m20,45.95c0,3.94,8.95,7.14,20,7.14s20-3.2,20-7.14" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><path id="d" data-name="2" d="m20,34.05c0,3.94,8.95,7.14,20,7.14s20-3.2,20-7.14" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><ellipse id="e" data-name="1" cx="40" cy="22.14" rx="20" ry="7.14" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><line x1="20" y1="57.86" x2="20" y2="22.14" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><line x1="60" y1="57.86" x2="60" y2="22.14" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/>')},server:{body:re('<rect x="17.5" y="17.5" width="45" height="45" rx="2" ry="2" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><line x1="17.5" y1="32.5" x2="62.5" y2="32.5" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><line x1="17.5" y1="47.5" x2="62.5" y2="47.5" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><g><path d="m56.25,25c0,.27-.45.5-1,.5h-10.5c-.55,0-1-.23-1-.5s.45-.5,1-.5h10.5c.55,0,1,.23,1,.5Z" style="fill: #fff; stroke-width: 0px;"/><path d="m56.25,25c0,.27-.45.5-1,.5h-10.5c-.55,0-1-.23-1-.5s.45-.5,1-.5h10.5c.55,0,1,.23,1,.5Z" style="fill: none; stroke: #fff; stroke-miterlimit: 10;"/></g><g><path d="m56.25,40c0,.27-.45.5-1,.5h-10.5c-.55,0-1-.23-1-.5s.45-.5,1-.5h10.5c.55,0,1,.23,1,.5Z" style="fill: #fff; stroke-width: 0px;"/><path d="m56.25,40c0,.27-.45.5-1,.5h-10.5c-.55,0-1-.23-1-.5s.45-.5,1-.5h10.5c.55,0,1,.23,1,.5Z" style="fill: none; stroke: #fff; stroke-miterlimit: 10;"/></g><g><path d="m56.25,55c0,.27-.45.5-1,.5h-10.5c-.55,0-1-.23-1-.5s.45-.5,1-.5h10.5c.55,0,1,.23,1,.5Z" style="fill: #fff; stroke-width: 0px;"/><path d="m56.25,55c0,.27-.45.5-1,.5h-10.5c-.55,0-1-.23-1-.5s.45-.5,1-.5h10.5c.55,0,1,.23,1,.5Z" style="fill: none; stroke: #fff; stroke-miterlimit: 10;"/></g><g><circle cx="32.5" cy="25" r=".75" style="fill: #fff; stroke: #fff; stroke-miterlimit: 10;"/><circle cx="27.5" cy="25" r=".75" style="fill: #fff; stroke: #fff; stroke-miterlimit: 10;"/><circle cx="22.5" cy="25" r=".75" style="fill: #fff; stroke: #fff; stroke-miterlimit: 10;"/></g><g><circle cx="32.5" cy="40" r=".75" style="fill: #fff; stroke: #fff; stroke-miterlimit: 10;"/><circle cx="27.5" cy="40" r=".75" style="fill: #fff; stroke: #fff; stroke-miterlimit: 10;"/><circle cx="22.5" cy="40" r=".75" style="fill: #fff; stroke: #fff; stroke-miterlimit: 10;"/></g><g><circle cx="32.5" cy="55" r=".75" style="fill: #fff; stroke: #fff; stroke-miterlimit: 10;"/><circle cx="27.5" cy="55" r=".75" style="fill: #fff; stroke: #fff; stroke-miterlimit: 10;"/><circle cx="22.5" cy="55" r=".75" style="fill: #fff; stroke: #fff; stroke-miterlimit: 10;"/></g>')},disk:{body:re('<rect x="20" y="15" width="40" height="50" rx="1" ry="1" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><ellipse cx="24" cy="19.17" rx=".8" ry=".83" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><ellipse cx="56" cy="19.17" rx=".8" ry=".83" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><ellipse cx="24" cy="60.83" rx=".8" ry=".83" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><ellipse cx="56" cy="60.83" rx=".8" ry=".83" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><ellipse cx="40" cy="33.75" rx="14" ry="14.58" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><ellipse cx="40" cy="33.75" rx="4" ry="4.17" style="fill: #fff; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><path d="m37.51,42.52l-4.83,13.22c-.26.71-1.1,1.02-1.76.64l-4.18-2.42c-.66-.38-.81-1.26-.33-1.84l9.01-10.8c.88-1.05,2.56-.08,2.09,1.2Z" style="fill: #fff; stroke-width: 0px;"/>')},internet:{body:re('<circle cx="40" cy="40" r="22.5" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><line x1="40" y1="17.5" x2="40" y2="62.5" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><line x1="17.5" y1="40" x2="62.5" y2="40" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><path d="m39.99,17.51c-15.28,11.1-15.28,33.88,0,44.98" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><path d="m40.01,17.51c15.28,11.1,15.28,33.88,0,44.98" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><line x1="19.75" y1="30.1" x2="60.25" y2="30.1" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><line x1="19.75" y1="49.9" x2="60.25" y2="49.9" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/>')},cloud:{body:re('<path d="m65,47.5c0,2.76-2.24,5-5,5H20c-2.76,0-5-2.24-5-5,0-1.87,1.03-3.51,2.56-4.36-.04-.21-.06-.42-.06-.64,0-2.6,2.48-4.74,5.65-4.97,1.65-4.51,6.34-7.76,11.85-7.76.86,0,1.69.08,2.5.23,2.09-1.57,4.69-2.5,7.5-2.5,6.1,0,11.19,4.38,12.28,10.17,2.14.56,3.72,2.51,3.72,4.83,0,.03,0,.07-.01.1,2.29.46,4.01,2.48,4.01,4.9Z" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/>')},unknown:hr,blank:{body:re("")}}},Sr=dt(async function(I,O,A){const P=A.getConfigField("padding"),N=A.getConfigField("iconSize"),u=N/2,h=N/6,a=h/2;await Promise.all(O.edges().map(async r=>{var K,X;const{source:e,sourceDir:f,sourceArrow:i,sourceGroup:g,target:t,targetDir:o,targetArrow:s,targetGroup:c,label:l}=be(r);let{x:T,y:d}=r[0].sourceEndpoint();const{x:v,y:L}=r[0].midpoint();let{x:S,y:C}=r[0].targetEndpoint();const G=P+4;if(g&&(Wt(f)?T+=f==="L"?-G:G:d+=f==="T"?-G:G+18),c&&(Wt(o)?S+=o==="L"?-G:G:C+=o==="T"?-G:G+18),!g&&((K=A.getNode(e))==null?void 0:K.type)==="junction"&&(Wt(f)?T+=f==="L"?u:-u:d+=f==="T"?u:-u),!c&&((X=A.getNode(t))==null?void 0:X.type)==="junction"&&(Wt(o)?S+=o==="L"?u:-u:C+=o==="T"?u:-u),r[0]._private.rscratch){const Q=I.insert("g");if(Q.insert("path").attr("d",`M ${T},${d} L ${v},${L} L${S},${C} `).attr("class","edge").attr("id",or(e,t,{prefix:"L"})),i){const D=Wt(f)?se[f](T,h):T-a,rt=qt(f)?se[f](d,h):d-a;Q.insert("polygon").attr("points",Ie[f](h)).attr("transform",`translate(${D},${rt})`).attr("class","arrow")}if(s){const D=Wt(o)?se[o](S,h):S-a,rt=qt(o)?se[o](C,h):C-a;Q.insert("polygon").attr("points",Ie[o](h)).attr("transform",`translate(${D},${rt})`).attr("class","arrow")}if(l){const D=Te(f,o)?"XY":Wt(f)?"X":"Y";let rt=0;D==="X"?rt=Math.abs(T-S):D==="Y"?rt=Math.abs(d-C)/1.5:rt=Math.abs(T-S)/2;const n=Q.append("g");if(await me(n,l,{useHtmlLabels:!1,width:rt,classes:"architecture-service-label"},Ee()),n.attr("dy","1em").attr("alignment-baseline","middle").attr("dominant-baseline","middle").attr("text-anchor","middle"),D==="X")n.attr("transform","translate("+v+", "+L+")");else if(D==="Y")n.attr("transform","translate("+v+", "+L+") rotate(-90)");else if(D==="XY"){const m=ye(f,o);if(m&&Nr(m)){const p=n.node().getBoundingClientRect(),[E,y]=Ar(m);n.attr("dominant-baseline","auto").attr("transform",`rotate(${-1*E*y*45})`);const R=n.node().getBoundingClientRect();n.attr("transform",`
33
- translate(${v}, ${L-p.height/2})
34
- translate(${E*R.width/2}, ${y*R.height/2})
35
- rotate(${-1*E*y*45}, 0, ${p.height/2})
36
- `)}}}}}))},"drawEdges"),Fr=dt(async function(I,O,A){const N=A.getConfigField("padding")*.75,u=A.getConfigField("fontSize"),a=A.getConfigField("iconSize")/2;await Promise.all(O.nodes().map(async r=>{const e=ie(r);if(e.type==="group"){const{h:f,w:i,x1:g,y1:t}=r.boundingBox(),o=I.append("rect");o.attr("id",`group-${e.id}`).attr("x",g+a).attr("y",t+a).attr("width",i).attr("height",f).attr("class","node-bkg");const s=I.append("g");let c=g,l=t;if(e.icon){const T=s.append("g");T.html(`<g>${await pe(e.icon,{height:N,width:N,fallbackPrefix:ne.prefix})}</g>`),T.attr("transform","translate("+(c+a+1)+", "+(l+a+1)+")"),c+=N,l+=u/2-1-2}if(e.label){const T=s.append("g");await me(T,e.label,{useHtmlLabels:!1,width:i,classes:"architecture-service-label"},Ee()),T.attr("dy","1em").attr("alignment-baseline","middle").attr("dominant-baseline","start").attr("text-anchor","start"),T.attr("transform","translate("+(c+a+4)+", "+(l+a+2)+")")}A.setElementForId(e.id,o)}}))},"drawGroups"),br=dt(async function(I,O,A){const P=Ee();for(const N of A){const u=O.append("g"),h=I.getConfigField("iconSize");if(N.title){const f=u.append("g");await me(f,N.title,{useHtmlLabels:!1,width:h*1.5,classes:"architecture-service-label"},P),f.attr("dy","1em").attr("alignment-baseline","middle").attr("dominant-baseline","middle").attr("text-anchor","middle"),f.attr("transform","translate("+h/2+", "+h+")")}const a=u.append("g");if(N.icon)a.html(`<g>${await pe(N.icon,{height:h,width:h,fallbackPrefix:ne.prefix})}</g>`);else if(N.iconText){a.html(`<g>${await pe("blank",{height:h,width:h,fallbackPrefix:ne.prefix})}</g>`);const g=a.append("g").append("foreignObject").attr("width",h).attr("height",h).append("div").attr("class","node-icon-text").attr("style",`height: ${h}px;`).append("div").html(ar(N.iconText,P)),t=parseInt(window.getComputedStyle(g.node(),null).getPropertyValue("font-size").replace(/\D/g,""))??16;g.attr("style",`-webkit-line-clamp: ${Math.floor((h-2)/t)};`)}else a.append("path").attr("class","node-bkg").attr("id","node-"+N.id).attr("d",`M0,${h} V5 Q0,0 5,0 H${h-5} Q${h},0 ${h},5 V${h} Z`);u.attr("id",`service-${N.id}`).attr("class","architecture-service");const{width:r,height:e}=u.node().getBBox();N.width=r,N.height=e,I.setElementForId(N.id,u)}return 0},"drawServices"),Pr=dt(function(I,O,A){A.forEach(P=>{const N=O.append("g"),u=I.getConfigField("iconSize");N.append("g").append("rect").attr("id","node-"+P.id).attr("fill-opacity","0").attr("width",u).attr("height",u),N.attr("class","architecture-junction");const{width:a,height:r}=N._groups[0][0].getBBox();N.width=a,N.height=r,I.setElementForId(P.id,N)})},"drawJunctions");sr([{name:ne.prefix,icons:ne}]);Fe.use(mr);function Ue(I,O,A){I.forEach(P=>{O.add({group:"nodes",data:{type:"service",id:P.id,icon:P.icon,label:P.title,parent:P.in,width:A.getConfigField("iconSize"),height:A.getConfigField("iconSize")},classes:"node-service"})})}dt(Ue,"addServices");function Ye(I,O,A){I.forEach(P=>{O.add({group:"nodes",data:{type:"junction",id:P.id,parent:P.in,width:A.getConfigField("iconSize"),height:A.getConfigField("iconSize")},classes:"node-junction"})})}dt(Ye,"addJunctions");function Xe(I,O){O.nodes().map(A=>{const P=ie(A);if(P.type==="group")return;P.x=A.position().x,P.y=A.position().y,I.getElementById(P.id).attr("transform","translate("+(P.x||0)+","+(P.y||0)+")")})}dt(Xe,"positionNodes");function He(I,O){I.forEach(A=>{O.add({group:"nodes",data:{type:"group",id:A.id,icon:A.icon,label:A.title,parent:A.in},classes:"node-group"})})}dt(He,"addGroups");function We(I,O){I.forEach(A=>{const{lhsId:P,rhsId:N,lhsInto:u,lhsGroup:h,rhsInto:a,lhsDir:r,rhsDir:e,rhsGroup:f,title:i}=A,g=Te(A.lhsDir,A.rhsDir)?"segments":"straight",t={id:`${P}-${N}`,label:i,source:P,sourceDir:r,sourceArrow:u,sourceGroup:h,sourceEndpoint:r==="L"?"0 50%":r==="R"?"100% 50%":r==="T"?"50% 0":"50% 100%",target:N,targetDir:e,targetArrow:a,targetGroup:f,targetEndpoint:e==="L"?"0 50%":e==="R"?"100% 50%":e==="T"?"50% 0":"50% 100%"};O.add({group:"edges",data:t,classes:g})})}dt(We,"addEdges");function Ve(I,O,A){const P=dt((a,r)=>Object.entries(a).reduce((e,[f,i])=>{var o;let g=0;const t=Object.entries(i);if(t.length===1)return e[f]=t[0][1],e;for(let s=0;s<t.length-1;s++)for(let c=s+1;c<t.length;c++){const[l,T]=t[s],[d,v]=t[c];if(((o=A[l])==null?void 0:o[d])===r)e[f]??(e[f]=[]),e[f]=[...e[f],...T,...v];else if(l==="default"||d==="default")e[f]??(e[f]=[]),e[f]=[...e[f],...T,...v];else{const S=`${f}-${g++}`;e[S]=T;const C=`${f}-${g++}`;e[C]=v}}return e},{}),"flattenAlignments"),N=O.map(a=>{const r={},e={};return Object.entries(a).forEach(([f,[i,g]])=>{var o,s,c;const t=((o=I.getNode(f))==null?void 0:o.in)??"default";r[g]??(r[g]={}),(s=r[g])[t]??(s[t]=[]),r[g][t].push(f),e[i]??(e[i]={}),(c=e[i])[t]??(c[t]=[]),e[i][t].push(f)}),{horiz:Object.values(P(r,"horizontal")).filter(f=>f.length>1),vert:Object.values(P(e,"vertical")).filter(f=>f.length>1)}}),[u,h]=N.reduce(([a,r],{horiz:e,vert:f})=>[[...a,...e],[...r,...f]],[[],[]]);return{horizontal:u,vertical:h}}dt(Ve,"getAlignments");function ze(I,O){const A=[],P=dt(u=>`${u[0]},${u[1]}`,"posToStr"),N=dt(u=>u.split(",").map(h=>parseInt(h)),"strToPos");return I.forEach(u=>{const h=Object.fromEntries(Object.entries(u).map(([f,i])=>[P(i),f])),a=[P([0,0])],r={},e={L:[-1,0],R:[1,0],T:[0,1],B:[0,-1]};for(;a.length>0;){const f=a.shift();if(f){r[f]=1;const i=h[f];if(i){const g=N(f);Object.entries(e).forEach(([t,o])=>{const s=P([g[0]+o[0],g[1]+o[1]]),c=h[s];c&&!r[s]&&(a.push(s),A.push({[xe[t]]:c,[xe[Tr(t)]]:i,gap:1.5*O.getConfigField("iconSize")}))})}}}}),A}dt(ze,"getRelativeConstraints");function Be(I,O,A,P,N,{spatialMaps:u,groupAlignments:h}){return new Promise(a=>{const r=nr("body").append("div").attr("id","cy").attr("style","display:none"),e=Fe({container:document.getElementById("cy"),style:[{selector:"edge",style:{"curve-style":"straight",label:"data(label)","source-endpoint":"data(sourceEndpoint)","target-endpoint":"data(targetEndpoint)"}},{selector:"edge.segments",style:{"curve-style":"segments","segment-weights":"0","segment-distances":[.5],"edge-distances":"endpoints","source-endpoint":"data(sourceEndpoint)","target-endpoint":"data(targetEndpoint)"}},{selector:"node",style:{"compound-sizing-wrt-labels":"include"}},{selector:"node[label]",style:{"text-valign":"bottom","text-halign":"center","font-size":`${N.getConfigField("fontSize")}px`}},{selector:".node-service",style:{label:"data(label)",width:"data(width)",height:"data(height)"}},{selector:".node-junction",style:{width:"data(width)",height:"data(height)"}},{selector:".node-group",style:{padding:`${N.getConfigField("padding")}px`}}],layout:{name:"grid",boundingBox:{x1:0,x2:100,y1:0,y2:100}}});r.remove(),He(A,e),Ue(I,e,N),Ye(O,e,N),We(P,e);const f=Ve(N,u,h),i=ze(u,N),g=e.layout({name:"fcose",quality:"proof",styleEnabled:!1,animate:!1,nodeDimensionsIncludeLabels:!1,idealEdgeLength(t){const[o,s]=t.connectedNodes(),{parent:c}=ie(o),{parent:l}=ie(s);return c===l?1.5*N.getConfigField("iconSize"):.5*N.getConfigField("iconSize")},edgeElasticity(t){const[o,s]=t.connectedNodes(),{parent:c}=ie(o),{parent:l}=ie(s);return c===l?.45:.001},alignmentConstraint:f,relativePlacementConstraint:i});g.one("layoutstop",()=>{var o;function t(s,c,l,T){let d,v;const{x:L,y:S}=s,{x:C,y:G}=c;v=(T-S+(L-l)*(S-G)/(L-C))/Math.sqrt(1+Math.pow((S-G)/(L-C),2)),d=Math.sqrt(Math.pow(T-S,2)+Math.pow(l-L,2)-Math.pow(v,2));const K=Math.sqrt(Math.pow(C-L,2)+Math.pow(G-S,2));d=d/K;let X=(C-L)*(T-S)-(G-S)*(l-L);switch(!0){case X>=0:X=1;break;case X<0:X=-1;break}let Q=(C-L)*(l-L)+(G-S)*(T-S);switch(!0){case Q>=0:Q=1;break;case Q<0:Q=-1;break}return v=Math.abs(v)*X,d=d*Q,{distances:v,weights:d}}dt(t,"getSegmentWeights"),e.startBatch();for(const s of Object.values(e.edges()))if((o=s.data)!=null&&o.call(s)){const{x:c,y:l}=s.source().position(),{x:T,y:d}=s.target().position();if(c!==T&&l!==d){const v=s.sourceEndpoint(),L=s.targetEndpoint(),{sourceDir:S}=be(s),[C,G]=qt(S)?[v.x,L.y]:[L.x,v.y],{weights:K,distances:X}=t(v,L,C,G);s.style("segment-distances",X),s.style("segment-weights",K)}}e.endBatch(),g.run()}),g.run(),e.ready(t=>{Se.info("Ready",t),a(e)})})}dt(Be,"layoutArchitecture");var Gr=dt(async(I,O,A,P)=>{const N=P.db,u=N.getServices(),h=N.getJunctions(),a=N.getGroups(),r=N.getEdges(),e=N.getDataStructures(),f=ke(O),i=f.append("g");i.attr("class","architecture-edges");const g=f.append("g");g.attr("class","architecture-services");const t=f.append("g");t.attr("class","architecture-groups"),await br(N,g,u),Pr(N,g,h);const o=await Be(u,h,a,r,N,e);await Sr(i,o,N),await Fr(t,o,N),Xe(N,o),Ze(void 0,f,N.getConfigField("padding"),N.getConfigField("useMaxWidth"))},"draw"),Ur={draw:Gr},zr={parser:Ge,get db(){return new Pe},renderer:Ur,styles:Rr};export{zr as diagram};
@@ -1,9 +0,0 @@
1
- import{d as wn,r as te,ax as Te,c as C,ay as h,u as T,K as Mn,p as Be,ae as ce,az as it,L as Nn,aA as Se,a7 as Tn,ac as nn,ah as lt,a3 as de,aB as at,aC as $e,aD as ze,aE as tn}from"./BjU0QAaV.js";import{Z as yn,a as ut}from"./GoTwJjoS.js";/**
2
- * vee-validate v4.15.0
3
- * (c) 2024 Abdelrahman Awad
4
- * @license MIT
5
- */function Z(e){return typeof e=="function"}function _e(e){return e==null}const ge=e=>e!==null&&!!e&&typeof e=="object"&&!Array.isArray(e);function on(e){return Number(e)>=0}function ot(e){const n=parseFloat(e);return isNaN(n)?e:n}function st(e){return typeof e=="object"&&e!==null}function dt(e){return e==null?e===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}function pn(e){if(!st(e)||dt(e)!=="[object Object]")return!1;if(Object.getPrototypeOf(e)===null)return!0;let n=e;for(;Object.getPrototypeOf(n)!==null;)n=Object.getPrototypeOf(n);return Object.getPrototypeOf(e)===n}function Fe(e,n){return Object.keys(n).forEach(t=>{if(pn(n[t])&&pn(e[t])){e[t]||(e[t]={}),Fe(e[t],n[t]);return}e[t]=n[t]}),e}function Ee(e){const n=e.split(".");if(!n.length)return"";let t=String(n[0]);for(let r=1;r<n.length;r++){if(on(n[r])){t+=`[${n[r]}]`;continue}t+=`.${n[r]}`}return t}const ct={};function ft(e){return ct[e]}function gn(e,n,t){typeof t.value=="object"&&(t.value=w(t.value)),!t.enumerable||t.get||t.set||!t.configurable||!t.writable||n==="__proto__"?Object.defineProperty(e,n,t):e[n]=t.value}function w(e){if(typeof e!="object")return e;var n=0,t,r,a,u=Object.prototype.toString.call(e);if(u==="[object Object]"?a=Object.create(e.__proto__||null):u==="[object Array]"?a=Array(e.length):u==="[object Set]"?(a=new Set,e.forEach(function(s){a.add(w(s))})):u==="[object Map]"?(a=new Map,e.forEach(function(s,c){a.set(w(c),w(s))})):u==="[object Date]"?a=new Date(+e):u==="[object RegExp]"?a=new RegExp(e.source,e.flags):u==="[object DataView]"?a=new e.constructor(w(e.buffer)):u==="[object ArrayBuffer]"?a=e.slice(0):u.slice(-6)==="Array]"&&(a=new e.constructor(e)),a){for(r=Object.getOwnPropertySymbols(e);n<r.length;n++)gn(a,r[n],Object.getOwnPropertyDescriptor(e,r[n]));for(n=0,r=Object.getOwnPropertyNames(e);n<r.length;n++)Object.hasOwnProperty.call(a,t=r[n])&&a[t]===e[t]||gn(a,t,Object.getOwnPropertyDescriptor(e,t))}return a||e}const Oe=Symbol("vee-validate-form"),vt=Symbol("vee-validate-form-context"),sn=Symbol("vee-validate-field-instance"),ke=Symbol("Default empty value"),ht=typeof window<"u";function rn(e){return Z(e)&&!!e.__locatorRef}function ue(e){return!!e&&Z(e.parse)&&e.__type==="VVTypedSchema"}function Ue(e){return!!e&&Z(e.validate)}function Ie(e){return e==="checkbox"||e==="radio"}function mt(e){return ge(e)||Array.isArray(e)}function yt(e){return Array.isArray(e)?e.length===0:ge(e)&&Object.keys(e).length===0}function Pe(e){return/^\[.+\]$/i.test(e)}function pt(e){return Bn(e)&&e.multiple}function Bn(e){return e.tagName==="SELECT"}function gt(e,n){const t=![!1,null,void 0,0].includes(n.multiple)&&!Number.isNaN(n.multiple);return e==="select"&&"multiple"in n&&t}function Ot(e,n){return!gt(e,n)&&n.type!=="file"&&!Ie(n.type)}function bt(e){return kn(e)&&e.target&&"submit"in e.target}function kn(e){return e?!!(typeof Event<"u"&&Z(Event)&&e instanceof Event||e&&e.srcElement):!1}function On(e,n){return n in e&&e[n]!==ke}function K(e,n){if(e===n)return!0;if(e&&n&&typeof e=="object"&&typeof n=="object"){if(e.constructor!==n.constructor)return!1;var t,r,a;if(Array.isArray(e)){if(t=e.length,t!=n.length)return!1;for(r=t;r--!==0;)if(!K(e[r],n[r]))return!1;return!0}if(e instanceof Map&&n instanceof Map){if(e.size!==n.size)return!1;for(r of e.entries())if(!n.has(r[0]))return!1;for(r of e.entries())if(!K(r[1],n.get(r[0])))return!1;return!0}if(Vn(e)&&Vn(n))return!(e.size!==n.size||e.name!==n.name||e.lastModified!==n.lastModified||e.type!==n.type);if(e instanceof Set&&n instanceof Set){if(e.size!==n.size)return!1;for(r of e.entries())if(!n.has(r[0]))return!1;return!0}if(ArrayBuffer.isView(e)&&ArrayBuffer.isView(n)){if(t=e.length,t!=n.length)return!1;for(r=t;r--!==0;)if(e[r]!==n[r])return!1;return!0}if(e.constructor===RegExp)return e.source===n.source&&e.flags===n.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===n.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===n.toString();if(a=Object.keys(e),t=a.length-bn(e,a),t!==Object.keys(n).length-bn(n,Object.keys(n)))return!1;for(r=t;r--!==0;)if(!Object.prototype.hasOwnProperty.call(n,a[r]))return!1;for(r=t;r--!==0;){var u=a[r];if(!K(e[u],n[u]))return!1}return!0}return e!==e&&n!==n}function bn(e,n){let t=0;for(let a=n.length;a--!==0;){var r=n[a];e[r]===void 0&&t++}return t}function Vn(e){return ht?e instanceof File:!1}function Le(e){return Pe(e)?e.replace(/\[|\]/gi,""):e}function z(e,n,t){return e?Pe(n)?e[Le(n)]:(n||"").split(/\.|\[(\d+)\]/).filter(Boolean).reduce((a,u)=>mt(a)&&u in a?a[u]:t,e):t}function H(e,n,t){if(Pe(n)){e[Le(n)]=t;return}const r=n.split(/\.|\[(\d+)\]/).filter(Boolean);let a=e;for(let u=0;u<r.length;u++){if(u===r.length-1){a[r[u]]=t;return}(!(r[u]in a)||_e(a[r[u]]))&&(a[r[u]]=on(r[u+1])?[]:{}),a=a[r[u]]}}function xe(e,n){if(Array.isArray(e)&&on(n)){e.splice(Number(n),1);return}ge(e)&&delete e[n]}function _n(e,n){if(Pe(n)){delete e[Le(n)];return}const t=n.split(/\.|\[(\d+)\]/).filter(Boolean);let r=e;for(let u=0;u<t.length;u++){if(u===t.length-1){xe(r,t[u]);break}if(!(t[u]in r)||_e(r[t[u]]))break;r=r[t[u]]}const a=t.map((u,s)=>z(e,t.slice(0,s).join(".")));for(let u=a.length-1;u>=0;u--)if(yt(a[u])){if(u===0){xe(e,t[0]);continue}xe(a[u-1],t[u-1])}}function ne(e){return Object.keys(e)}function Ce(e,n=void 0){const t=$e();return(t==null?void 0:t.provides[e])||ze(e,n)}function An(e,n,t){if(Array.isArray(e)){const r=[...e],a=r.findIndex(u=>K(u,n));return a>=0?r.splice(a,1):r.push(n),r}return K(e,n)?t:n}function jn(e,n=0){let t=null,r=[];return function(...a){return t&&clearTimeout(t),t=setTimeout(()=>{const u=e(...a);r.forEach(s=>s(u)),r=[]},n),new Promise(u=>r.push(u))}}function Vt(e,n){return ge(n)&&n.number?ot(e):e}function ln(e,n){let t;return async function(...a){const u=e(...a);t=u;const s=await u;return u!==t?s:(t=void 0,n(s,a))}}function _t({get:e,set:n}){const t=te(w(e()));return ce(e,r=>{K(r,t.value)||(t.value=w(r))},{deep:!0}),ce(t,r=>{K(r,e())||n(w(r))},{deep:!0}),t}function an(e){return Array.isArray(e)?e:e?[e]:[]}function dn(e){const n=Ce(Oe),t=e?C(()=>n==null?void 0:n.getPathState(h(e))):void 0,r=e?void 0:ze(sn);return!r&&(t!=null&&t.value),t||r}function Me(e,n){const t={};for(const r in e)n.includes(r)||(t[r]=e[r]);return t}function At(e){let n=null,t=[];return function(...r){const a=de(()=>{if(n!==a)return;const u=e(...r);t.forEach(s=>s(u)),t=[],n=null});return n=a,new Promise(u=>t.push(u))}}function Un(e,n,t){return n.slots.default?typeof e=="string"||!e?n.slots.default(t()):{default:()=>{var r,a;return(a=(r=n.slots).default)===null||a===void 0?void 0:a.call(r,t())}}:n.slots.default}function en(e){if(Rn(e))return e._value}function Rn(e){return"_value"in e}function jt(e){return e.type==="number"||e.type==="range"?Number.isNaN(e.valueAsNumber)?e.value:e.valueAsNumber:e.value}function Re(e){if(!kn(e))return e;const n=e.target;if(Ie(n.type)&&Rn(n))return en(n);if(n.type==="file"&&n.files){const t=Array.from(n.files);return n.multiple?t:t[0]}if(pt(n))return Array.from(n.options).filter(t=>t.selected&&!t.disabled).map(en);if(Bn(n)){const t=Array.from(n.options).find(r=>r.selected);return t?en(t):n.value}return jt(n)}function Dn(e){const n={};return Object.defineProperty(n,"_$$isNormalized",{value:!0,writable:!1,enumerable:!1,configurable:!1}),e?ge(e)&&e._$$isNormalized?e:ge(e)?Object.keys(e).reduce((t,r)=>{const a=St(e[r]);return e[r]!==!1&&(t[r]=Sn(a)),t},n):typeof e!="string"?n:e.split("|").reduce((t,r)=>{const a=Et(r);return a.name&&(t[a.name]=Sn(a.params)),t},n):n}function St(e){return e===!0?[]:Array.isArray(e)||ge(e)?e:[e]}function Sn(e){const n=t=>typeof t=="string"&&t[0]==="@"?Ft(t.slice(1)):t;return Array.isArray(e)?e.map(n):e instanceof RegExp?[e]:Object.keys(e).reduce((t,r)=>(t[r]=n(e[r]),t),{})}const Et=e=>{let n=[];const t=e.split(":")[0];return e.includes(":")&&(n=e.split(":").slice(1).join(":").split(",")),{name:t,params:n}};function Ft(e){const n=t=>{var r;return(r=z(t,e))!==null&&r!==void 0?r:t[e]};return n.__locatorRef=e,n}function It(e){return Array.isArray(e)?e.filter(rn):ne(e).filter(n=>rn(e[n])).map(n=>e[n])}const Pt={generateMessage:({field:e})=>`${e} is not valid.`,bails:!0,validateOnBlur:!0,validateOnChange:!0,validateOnInput:!1,validateOnModelUpdate:!0};let Ct=Object.assign({},Pt);const pe=()=>Ct;async function $n(e,n,t={}){const r=t==null?void 0:t.bails,a={name:(t==null?void 0:t.name)||"{field}",rules:n,label:t==null?void 0:t.label,bails:r??!0,formData:(t==null?void 0:t.values)||{}},u=await wt(a,e);return Object.assign(Object.assign({},u),{valid:!u.errors.length})}async function wt(e,n){const t=e.rules;if(ue(t)||Ue(t))return Nt(n,Object.assign(Object.assign({},e),{rules:t}));if(Z(t)||Array.isArray(t)){const c={field:e.label||e.name,name:e.name,label:e.label,form:e.formData,value:n},v=Array.isArray(t)?t:[t],d=v.length,y=[];for(let _=0;_<d;_++){const M=v[_],A=await M(n,c);if(!(typeof A!="string"&&!Array.isArray(A)&&A)){if(Array.isArray(A))y.push(...A);else{const G=typeof A=="string"?A:Ln(c);y.push(G)}if(e.bails)return{errors:y}}}return{errors:y}}const r=Object.assign(Object.assign({},e),{rules:Dn(t)}),a=[],u=Object.keys(r.rules),s=u.length;for(let c=0;c<s;c++){const v=u[c],d=await Tt(r,n,{name:v,params:r.rules[v]});if(d.error&&(a.push(d.error),e.bails))return{errors:a}}return{errors:a}}function Mt(e){return!!e&&e.name==="ValidationError"}function zn(e){return{__type:"VVTypedSchema",async parse(t,r){var a;try{return{output:await e.validate(t,{abortEarly:!1,context:(r==null?void 0:r.formData)||{}}),errors:[]}}catch(u){if(!Mt(u))throw u;if(!(!((a=u.inner)===null||a===void 0)&&a.length)&&u.errors.length)return{errors:[{path:u.path,errors:u.errors}]};const s=u.inner.reduce((c,v)=>{const d=v.path||"";return c[d]||(c[d]={errors:[],path:d}),c[d].errors.push(...v.errors),c},{});return{errors:Object.values(s)}}}}}async function Nt(e,n){const r=await(ue(n.rules)?n.rules:zn(n.rules)).parse(e,{formData:n.formData}),a=[];for(const u of r.errors)u.errors.length&&a.push(...u.errors);return{value:r.value,errors:a}}async function Tt(e,n,t){const r=ft(t.name);if(!r)throw new Error(`No such validator '${t.name}' exists.`);const a=Bt(t.params,e.formData),u={field:e.label||e.name,name:e.name,label:e.label,value:n,form:e.formData,rule:Object.assign(Object.assign({},t),{params:a})},s=await r(n,a,u);return typeof s=="string"?{error:s}:{error:s?void 0:Ln(u)}}function Ln(e){const n=pe().generateMessage;return n?n(e):"Field is invalid"}function Bt(e,n){const t=r=>rn(r)?r(n):r;return Array.isArray(e)?e.map(t):Object.keys(e).reduce((r,a)=>(r[a]=t(e[a]),r),{})}async function kt(e,n){const r=await(ue(e)?e:zn(e)).parse(w(n),{formData:w(n)}),a={},u={};for(const s of r.errors){const c=s.errors,v=(s.path||"").replace(/\["(\d+)"\]/g,(d,y)=>`[${y}]`);a[v]={valid:!c.length,errors:c},c.length&&(u[v]=c[0])}return{valid:!r.errors.length,results:a,errors:u,values:r.value,source:"schema"}}async function Ut(e,n,t){const a=ne(e).map(async d=>{var y,_,M;const A=(y=t==null?void 0:t.names)===null||y===void 0?void 0:y[d],U=await $n(z(n,d),e[d],{name:(A==null?void 0:A.name)||d,label:A==null?void 0:A.label,values:n,bails:(M=(_=t==null?void 0:t.bailsMap)===null||_===void 0?void 0:_[d])!==null&&M!==void 0?M:!0});return Object.assign(Object.assign({},U),{path:d})});let u=!0;const s=await Promise.all(a),c={},v={};for(const d of s)c[d.path]={valid:d.valid,errors:d.errors},d.valid||(u=!1,v[d.path]=d.errors[0]);return{valid:u,results:c,errors:v,source:"schema"}}let En=0;function Rt(e,n){const{value:t,initialValue:r,setInitialValue:a}=Dt(e,n.modelValue,n.form);if(!n.form){let v=function(A){var U;"value"in A&&(t.value=A.value),"errors"in A&&y(A.errors),"touched"in A&&(M.touched=(U=A.touched)!==null&&U!==void 0?U:M.touched),"initialValue"in A&&a(A.initialValue)};const{errors:d,setErrors:y}=Lt(),_=En>=Number.MAX_SAFE_INTEGER?0:++En,M=zt(t,r,d,n.schema);return{id:_,path:e,value:t,initialValue:r,meta:M,flags:{pendingUnmount:{[_]:!1},pendingReset:!1},errors:d,setState:v}}const u=n.form.createPathState(e,{bails:n.bails,label:n.label,type:n.type,validate:n.validate,schema:n.schema}),s=C(()=>u.errors);function c(v){var d,y,_;"value"in v&&(t.value=v.value),"errors"in v&&((d=n.form)===null||d===void 0||d.setFieldError(T(e),v.errors)),"touched"in v&&((y=n.form)===null||y===void 0||y.setFieldTouched(T(e),(_=v.touched)!==null&&_!==void 0?_:!1)),"initialValue"in v&&a(v.initialValue)}return{id:Array.isArray(u.id)?u.id[u.id.length-1]:u.id,path:e,value:t,errors:s,meta:u,initialValue:r,flags:u.__flags,setState:c}}function Dt(e,n,t){const r=te(T(n));function a(){return t?z(t.initialValues.value,T(e),T(r)):T(r)}function u(d){if(!t){r.value=d;return}t.setFieldInitialValue(T(e),d,!0)}const s=C(a);if(!t)return{value:te(a()),initialValue:s,setInitialValue:u};const c=$t(n,t,s,e);return t.stageInitialValue(T(e),c,!0),{value:C({get(){return z(t.values,T(e))},set(d){t.setFieldValue(T(e),d,!1)}}),initialValue:s,setInitialValue:u}}function $t(e,n,t,r){return Be(e)?T(e):e!==void 0?e:z(n.values,T(r),T(t))}function zt(e,n,t,r){const a=C(()=>{var s,c,v;return(v=(c=(s=h(r))===null||s===void 0?void 0:s.describe)===null||c===void 0?void 0:c.call(s).required)!==null&&v!==void 0?v:!1}),u=Te({touched:!1,pending:!1,valid:!0,required:a,validated:!!T(t).length,initialValue:C(()=>T(n)),dirty:C(()=>!K(T(e),T(n)))});return ce(t,s=>{u.valid=!s.length},{immediate:!0,flush:"sync"}),u}function Lt(){const e=te([]);return{errors:e,setErrors:n=>{e.value=an(n)}}}function qt(e,n,t){return Ie(t==null?void 0:t.type)?Kt(e,n,t):qn(e,n,t)}function qn(e,n,t){const{initialValue:r,validateOnMount:a,bails:u,type:s,checkedValue:c,label:v,validateOnValueUpdate:d,uncheckedValue:y,controlled:_,keepValueOnUnmount:M,syncVModel:A,form:U}=Wt(t),G=_?Ce(Oe):void 0,F=U||G,q=C(()=>Ee(h(e))),W=C(()=>{if(h(F==null?void 0:F.schema))return;const I=T(n);return Ue(I)||ue(I)||Z(I)||Array.isArray(I)?I:Dn(I)}),ve=!Z(W.value)&&ue(h(n)),{id:Q,value:p,initialValue:g,meta:O,setState:P,errors:j,flags:S}=Rt(q,{modelValue:r,form:F,bails:u,label:v,type:s,validate:W.value?ae:void 0,schema:ve?n:void 0}),N=C(()=>j.value[0]);A&&Ht({value:p,prop:A,handleChange:B,shouldValidate:()=>d&&!S.pendingReset});const Y=(m,I=!1)=>{O.touched=!0,I&&oe()};async function be(m){var I,R;if(F!=null&&F.validateSchema){const{results:k}=await F.validateSchema(m);return(I=k[h(q)])!==null&&I!==void 0?I:{valid:!0,errors:[]}}return W.value?$n(p.value,W.value,{name:h(q),label:h(v),values:(R=F==null?void 0:F.values)!==null&&R!==void 0?R:{},bails:u}):{valid:!0,errors:[]}}const oe=ln(async()=>(O.pending=!0,O.validated=!0,be("validated-only")),m=>(S.pendingUnmount[x.id]||(P({errors:m.errors}),O.pending=!1,O.valid=m.valid),m)),le=ln(async()=>be("silent"),m=>(O.valid=m.valid,m));function ae(m){return(m==null?void 0:m.mode)==="silent"?le():oe()}function B(m,I=!0){const R=Re(m);Ae(R,I)}Mn(()=>{if(a)return oe();(!F||!F.validateSchema)&&le()});function qe(m){O.touched=m}function he(m){var I;const R=m&&"value"in m?m.value:g.value;P({value:w(R),initialValue:w(R),touched:(I=m==null?void 0:m.touched)!==null&&I!==void 0?I:!1,errors:(m==null?void 0:m.errors)||[]}),O.pending=!1,O.validated=!1,le()}const me=$e();function Ae(m,I=!0){p.value=me&&A?Vt(m,me.props.modelModifiers):m,(I?oe:le)()}function we(m){P({errors:Array.isArray(m)?m:[m]})}const cn=C({get(){return p.value},set(m){Ae(m,d)}}),x={id:Q,name:q,label:v,value:cn,meta:O,errors:j,errorMessage:N,type:s,checkedValue:c,uncheckedValue:y,bails:u,keepValueOnUnmount:M,resetField:he,handleReset:()=>he(),validate:ae,handleChange:B,handleBlur:Y,setState:P,setTouched:qe,setErrors:we,setValue:Ae};if(tn(sn,x),Be(n)&&typeof T(n)!="function"&&ce(n,(m,I)=>{K(m,I)||(O.validated?oe():le())},{deep:!0}),!F)return x;const We=C(()=>{const m=W.value;return!m||Z(m)||Ue(m)||ue(m)||Array.isArray(m)?{}:Object.keys(m).reduce((I,R)=>{const k=It(m[R]).map(fe=>fe.__locatorRef).reduce((fe,se)=>{const re=z(F.values,se)||F.values[se];return re!==void 0&&(fe[se]=re),fe},{});return Object.assign(I,k),I},{})});return ce(We,(m,I)=>{if(!Object.keys(m).length)return;!K(m,I)&&(O.validated?oe():le())}),Nn(()=>{var m;const I=(m=h(x.keepValueOnUnmount))!==null&&m!==void 0?m:h(F.keepValuesOnUnmount),R=h(q);if(I||!F||S.pendingUnmount[x.id]){F==null||F.removePathState(R,Q);return}S.pendingUnmount[x.id]=!0;const k=F.getPathState(R);if(Array.isArray(k==null?void 0:k.id)&&(k!=null&&k.multiple)?k!=null&&k.id.includes(x.id):(k==null?void 0:k.id)===x.id){if(k!=null&&k.multiple&&Array.isArray(k.value)){const se=k.value.findIndex(re=>K(re,h(x.checkedValue)));if(se>-1){const re=[...k.value];re.splice(se,1),F.setFieldValue(R,re)}Array.isArray(k.id)&&k.id.splice(k.id.indexOf(x.id),1)}else F.unsetPathValue(h(q));F.removePathState(R,Q)}}),x}function Wt(e){const n=()=>({initialValue:void 0,validateOnMount:!1,bails:!0,label:void 0,validateOnValueUpdate:!0,keepValueOnUnmount:void 0,syncVModel:!1,controlled:!0}),t=!!(e!=null&&e.syncVModel),r=typeof(e==null?void 0:e.syncVModel)=="string"?e.syncVModel:(e==null?void 0:e.modelPropName)||"modelValue",a=t&&!("initialValue"in(e||{}))?un($e(),r):e==null?void 0:e.initialValue;if(!e)return Object.assign(Object.assign({},n()),{initialValue:a});const u="valueProp"in e?e.valueProp:e.checkedValue,s="standalone"in e?!e.standalone:e.controlled,c=(e==null?void 0:e.modelPropName)||(e==null?void 0:e.syncVModel)||!1;return Object.assign(Object.assign(Object.assign({},n()),e||{}),{initialValue:a,controlled:s??!0,checkedValue:u,syncVModel:c})}function Kt(e,n,t){const r=t!=null&&t.standalone?void 0:Ce(Oe),a=t==null?void 0:t.checkedValue,u=t==null?void 0:t.uncheckedValue;function s(c){const v=c.handleChange,d=C(()=>{const _=h(c.value),M=h(a);return Array.isArray(_)?_.findIndex(A=>K(A,M))>=0:K(M,_)});function y(_,M=!0){var A,U;if(d.value===((A=_==null?void 0:_.target)===null||A===void 0?void 0:A.checked)){M&&c.validate();return}const G=h(e),F=r==null?void 0:r.getPathState(G),q=Re(_);let W=(U=h(a))!==null&&U!==void 0?U:q;r&&(F!=null&&F.multiple)&&F.type==="checkbox"?W=An(z(r.values,G)||[],W,void 0):(t==null?void 0:t.type)==="checkbox"&&(W=An(h(c.value),W,h(u))),v(W,M)}return Object.assign(Object.assign({},c),{checked:d,checkedValue:a,uncheckedValue:u,handleChange:y})}return s(qn(e,n,t))}function Ht({prop:e,value:n,handleChange:t,shouldValidate:r}){const a=$e();if(!a||!e)return;const u=typeof e=="string"?e:"modelValue",s=`update:${u}`;u in a.props&&(ce(n,c=>{K(c,un(a,u))||a.emit(s,c)}),ce(()=>un(a,u),c=>{if(c===ke&&n.value===void 0)return;const v=c===ke?void 0:c;K(v,n.value)||t(v,r())}))}function un(e,n){if(e)return e.props[n]}const Zt=wn({name:"Field",inheritAttrs:!1,props:{as:{type:[String,Object],default:void 0},name:{type:String,required:!0},rules:{type:[Object,String,Function],default:void 0},validateOnMount:{type:Boolean,default:!1},validateOnBlur:{type:Boolean,default:void 0},validateOnChange:{type:Boolean,default:void 0},validateOnInput:{type:Boolean,default:void 0},validateOnModelUpdate:{type:Boolean,default:void 0},bails:{type:Boolean,default:()=>pe().bails},label:{type:String,default:void 0},uncheckedValue:{type:null,default:void 0},modelValue:{type:null,default:ke},modelModifiers:{type:null,default:()=>({})},"onUpdate:modelValue":{type:null,default:void 0},standalone:{type:Boolean,default:!1},keepValue:{type:Boolean,default:void 0}},setup(e,n){const t=Se(e,"rules"),r=Se(e,"name"),a=Se(e,"label"),u=Se(e,"uncheckedValue"),s=Se(e,"keepValue"),{errors:c,value:v,errorMessage:d,validate:y,handleChange:_,handleBlur:M,setTouched:A,resetField:U,handleReset:G,meta:F,checked:q,setErrors:W,setValue:ve}=qt(r,t,{validateOnMount:e.validateOnMount,bails:e.bails,standalone:e.standalone,type:n.attrs.type,initialValue:Yt(e,n),checkedValue:n.attrs.value,uncheckedValue:u,label:a,validateOnValueUpdate:e.validateOnModelUpdate,keepValueOnUnmount:s,syncVModel:!0}),Q=function(S,N=!0){_(S,N)},p=C(()=>{const{validateOnInput:j,validateOnChange:S,validateOnBlur:N,validateOnModelUpdate:Y}=Gt(e);function be(B){M(B,N),Z(n.attrs.onBlur)&&n.attrs.onBlur(B)}function oe(B){Q(B,j),Z(n.attrs.onInput)&&n.attrs.onInput(B)}function le(B){Q(B,S),Z(n.attrs.onChange)&&n.attrs.onChange(B)}const ae={name:e.name,onBlur:be,onInput:oe,onChange:le};return ae["onUpdate:modelValue"]=B=>Q(B,Y),ae}),g=C(()=>{const j=Object.assign({},p.value);Ie(n.attrs.type)&&q&&(j.checked=q.value);const S=Fn(e,n);return Ot(S,n.attrs)&&(j.value=v.value),j}),O=C(()=>Object.assign(Object.assign({},p.value),{modelValue:v.value}));function P(){return{field:g.value,componentField:O.value,value:v.value,meta:F,errors:c.value,errorMessage:d.value,validate:y,resetField:U,handleChange:Q,handleInput:j=>Q(j,!1),handleReset:G,handleBlur:p.value.onBlur,setTouched:A,setErrors:W,setValue:ve}}return n.expose({value:v,meta:F,errors:c,errorMessage:d,setErrors:W,setTouched:A,setValue:ve,reset:U,validate:y,handleChange:_}),()=>{const j=Tn(Fn(e,n)),S=Un(j,n,P);return j?nn(j,Object.assign(Object.assign({},n.attrs),g.value),S):S}}});function Fn(e,n){let t=e.as||"";return!e.as&&!n.slots.default&&(t="input"),t}function Gt(e){var n,t,r,a;const{validateOnInput:u,validateOnChange:s,validateOnBlur:c,validateOnModelUpdate:v}=pe();return{validateOnInput:(n=e.validateOnInput)!==null&&n!==void 0?n:u,validateOnChange:(t=e.validateOnChange)!==null&&t!==void 0?t:s,validateOnBlur:(r=e.validateOnBlur)!==null&&r!==void 0?r:c,validateOnModelUpdate:(a=e.validateOnModelUpdate)!==null&&a!==void 0?a:v}}function Yt(e,n){return Ie(n.attrs.type)?On(e,"modelValue")?e.modelValue:void 0:On(e,"modelValue")?e.modelValue:n.attrs.value}const or=Zt;let Xt=0;const Ne=["bails","fieldsCount","id","multiple","type","validate"];function Wn(e){const n=(e==null?void 0:e.initialValues)||{},t=Object.assign({},h(n)),r=T(e==null?void 0:e.validationSchema);return r&&ue(r)&&Z(r.cast)?w(r.cast(t)||{}):w(t)}function sr(e){var n;const t=Xt++,r=(e==null?void 0:e.name)||"Form";let a=0;const u=te(!1),s=te(!1),c=te(0),v=[],d=Te(Wn(e)),y=te([]),_=te({}),M=te({}),A=At(()=>{M.value=y.value.reduce((l,i)=>(l[Ee(h(i.path))]=i,l),{})});function U(l,i){const o=B(l);if(!o){typeof l=="string"&&(_.value[Ee(l)]=an(i));return}if(typeof l=="string"){const f=Ee(l);_.value[f]&&delete _.value[f]}o.errors=an(i),o.valid=!o.errors.length}function G(l){ne(l).forEach(i=>{U(i,l[i])})}e!=null&&e.initialErrors&&G(e.initialErrors);const F=C(()=>{const l=y.value.reduce((i,o)=>(o.errors.length&&(i[h(o.path)]=o.errors),i),{});return Object.assign(Object.assign({},_.value),l)}),q=C(()=>ne(F.value).reduce((l,i)=>{const o=F.value[i];return o!=null&&o.length&&(l[i]=o[0]),l},{})),W=C(()=>y.value.reduce((l,i)=>(l[h(i.path)]={name:h(i.path)||"",label:i.label||""},l),{})),ve=C(()=>y.value.reduce((l,i)=>{var o;return l[h(i.path)]=(o=i.bails)!==null&&o!==void 0?o:!0,l},{})),Q=Object.assign({},(e==null?void 0:e.initialErrors)||{}),p=(n=e==null?void 0:e.keepValuesOnUnmount)!==null&&n!==void 0?n:!1,{initialValues:g,originalInitialValues:O,setInitialValues:P}=Qt(y,d,e),j=Jt(y,d,O,q),S=C(()=>y.value.reduce((l,i)=>{const o=z(d,h(i.path));return H(l,h(i.path),o),l},{})),N=e==null?void 0:e.validationSchema;function Y(l,i){var o,f;const V=C(()=>z(g.value,h(l))),E=M.value[h(l)],b=(i==null?void 0:i.type)==="checkbox"||(i==null?void 0:i.type)==="radio";if(E&&b){E.multiple=!0;const ie=a++;return Array.isArray(E.id)?E.id.push(ie):E.id=[E.id,ie],E.fieldsCount++,E.__flags.pendingUnmount[ie]=!1,E}const $=C(()=>z(d,h(l))),L=h(l),X=he.findIndex(ie=>ie===L);X!==-1&&he.splice(X,1);const D=C(()=>{var ie,je,Ye,Xe;const Je=h(N);if(ue(Je))return(je=(ie=Je.describe)===null||ie===void 0?void 0:ie.call(Je,h(l)).required)!==null&&je!==void 0?je:!1;const Qe=h(i==null?void 0:i.schema);return ue(Qe)&&(Xe=(Ye=Qe.describe)===null||Ye===void 0?void 0:Ye.call(Qe).required)!==null&&Xe!==void 0?Xe:!1}),J=a++,ee=Te({id:J,path:l,touched:!1,pending:!1,valid:!0,validated:!!(!((o=Q[L])===null||o===void 0)&&o.length),required:D,initialValue:V,errors:at([]),bails:(f=i==null?void 0:i.bails)!==null&&f!==void 0?f:!1,label:i==null?void 0:i.label,type:(i==null?void 0:i.type)||"default",value:$,multiple:!1,__flags:{pendingUnmount:{[J]:!1},pendingReset:!1},fieldsCount:1,validate:i==null?void 0:i.validate,dirty:C(()=>!K(T($),T(V)))});return y.value.push(ee),M.value[L]=ee,A(),q.value[L]&&!Q[L]&&de(()=>{ye(L,{mode:"silent"})}),Be(l)&&ce(l,ie=>{A();const je=w($.value);M.value[ie]=ee,de(()=>{H(d,ie,je)})}),ee}const be=jn(hn,5),oe=jn(hn,5),le=ln(async l=>await(l==="silent"?be():oe()),(l,[i])=>{const o=ne(I.errorBag.value),V=[...new Set([...ne(l.results),...y.value.map(E=>E.path),...o])].sort().reduce((E,b)=>{var $;const L=b,X=B(L)||qe(L),D=(($=l.results[L])===null||$===void 0?void 0:$.errors)||[],J=h(X==null?void 0:X.path)||L,ee=xt({errors:D,valid:!D.length},E.results[J]);return E.results[J]=ee,ee.valid||(E.errors[J]=ee.errors[0]),X&&_.value[J]&&delete _.value[J],X?(X.valid=ee.valid,i==="silent"||i==="validated-only"&&!X.validated||U(X,ee.errors),E):(U(J,D),E)},{valid:l.valid,results:{},errors:{},source:l.source});return l.values&&(V.values=l.values,V.source=l.source),ne(V.results).forEach(E=>{var b;const $=B(E);$&&i!=="silent"&&(i==="validated-only"&&!$.validated||U($,(b=V.results[E])===null||b===void 0?void 0:b.errors))}),V});function ae(l){y.value.forEach(l)}function B(l){const i=typeof l=="string"?Ee(l):l;return typeof i=="string"?M.value[i]:i}function qe(l){return y.value.filter(o=>l.startsWith(h(o.path))).reduce((o,f)=>o?f.path.length>o.path.length?f:o:f,void 0)}let he=[],me;function Ae(l){return he.push(l),me||(me=de(()=>{[...he].sort().reverse().forEach(o=>{_n(d,o)}),he=[],me=null})),me}function we(l){return function(o,f){return function(E){return E instanceof Event&&(E.preventDefault(),E.stopPropagation()),ae(b=>b.touched=!0),u.value=!0,c.value++,Ve().then(b=>{const $=w(d);if(b.valid&&typeof o=="function"){const L=w(S.value);let X=l?L:$;return b.values&&(X=b.source==="schema"?b.values:Object.assign({},X,b.values)),o(X,{evt:E,controlledValues:L,setErrors:G,setFieldError:U,setTouched:Ke,setFieldTouched:re,setValues:fe,setFieldValue:R,resetForm:He,resetField:fn})}!b.valid&&typeof f=="function"&&f({values:$,evt:E,errors:b.errors,results:b.results})}).then(b=>(u.value=!1,b),b=>{throw u.value=!1,b})}}}const x=we(!1);x.withControlled=we(!0);function We(l,i){const o=y.value.findIndex(V=>V.path===l&&(Array.isArray(V.id)?V.id.includes(i):V.id===i)),f=y.value[o];if(!(o===-1||!f)){if(de(()=>{ye(l,{mode:"silent",warn:!1})}),f.multiple&&f.fieldsCount&&f.fieldsCount--,Array.isArray(f.id)){const V=f.id.indexOf(i);V>=0&&f.id.splice(V,1),delete f.__flags.pendingUnmount[i]}(!f.multiple||f.fieldsCount<=0)&&(y.value.splice(o,1),vn(l),A(),delete M.value[l])}}function m(l){ne(M.value).forEach(i=>{i.startsWith(l)&&delete M.value[i]}),y.value=y.value.filter(i=>!i.path.startsWith(l)),de(()=>{A()})}const I={name:r,formId:t,values:d,controlledValues:S,errorBag:F,errors:q,schema:N,submitCount:c,meta:j,isSubmitting:u,isValidating:s,fieldArrays:v,keepValuesOnUnmount:p,validateSchema:T(N)?le:void 0,validate:Ve,setFieldError:U,validateField:ye,setFieldValue:R,setValues:fe,setErrors:G,setFieldTouched:re,setTouched:Ke,resetForm:He,resetField:fn,handleSubmit:x,useFieldModel:nt,defineInputBinds:tt,defineComponentBinds:rt,defineField:Ge,stageInitialValue:xn,unsetInitialValue:vn,setFieldInitialValue:Ze,createPathState:Y,getPathState:B,unsetPathValue:Ae,removePathState:We,initialValues:g,getAllPathStates:()=>y.value,destroyPath:m,isFieldTouched:Xn,isFieldDirty:Jn,isFieldValid:Qn};function R(l,i,o=!0){const f=w(i),V=typeof l=="string"?l:l.path;B(V)||Y(V),H(d,V,f),o&&ye(V)}function k(l,i=!0){ne(d).forEach(o=>{delete d[o]}),ne(l).forEach(o=>{R(o,l[o],!1)}),i&&Ve()}function fe(l,i=!0){Fe(d,l),v.forEach(o=>o&&o.reset()),i&&Ve()}function se(l,i){const o=B(h(l))||Y(l);return C({get(){return o.value},set(f){var V;const E=h(l);R(E,f,(V=h(i))!==null&&V!==void 0?V:!1)}})}function re(l,i){const o=B(l);o&&(o.touched=i)}function Xn(l){const i=B(l);return i?i.touched:y.value.filter(o=>o.path.startsWith(l)).some(o=>o.touched)}function Jn(l){const i=B(l);return i?i.dirty:y.value.filter(o=>o.path.startsWith(l)).some(o=>o.dirty)}function Qn(l){const i=B(l);return i?i.valid:y.value.filter(o=>o.path.startsWith(l)).every(o=>o.valid)}function Ke(l){if(typeof l=="boolean"){ae(i=>{i.touched=l});return}ne(l).forEach(i=>{re(i,!!l[i])})}function fn(l,i){var o;const f=i&&"value"in i?i.value:z(g.value,l),V=B(l);V&&(V.__flags.pendingReset=!0),Ze(l,w(f),!0),R(l,f,!1),re(l,(o=i==null?void 0:i.touched)!==null&&o!==void 0?o:!1),U(l,(i==null?void 0:i.errors)||[]),de(()=>{V&&(V.__flags.pendingReset=!1)})}function He(l,i){let o=w(l!=null&&l.values?l.values:O.value);o=i!=null&&i.force?o:Fe(O.value,o),o=ue(N)&&Z(N.cast)?N.cast(o):o,P(o,{force:i==null?void 0:i.force}),ae(f=>{var V;f.__flags.pendingReset=!0,f.validated=!1,f.touched=((V=l==null?void 0:l.touched)===null||V===void 0?void 0:V[h(f.path)])||!1,R(h(f.path),z(o,h(f.path)),!1),U(h(f.path),void 0)}),i!=null&&i.force?k(o,!1):fe(o,!1),G((l==null?void 0:l.errors)||{}),c.value=(l==null?void 0:l.submitCount)||0,de(()=>{Ve({mode:"silent"}),ae(f=>{f.__flags.pendingReset=!1})})}async function Ve(l){const i=(l==null?void 0:l.mode)||"force";if(i==="force"&&ae(b=>b.validated=!0),I.validateSchema)return I.validateSchema(i);s.value=!0;const o=await Promise.all(y.value.map(b=>b.validate?b.validate(l).then($=>({key:h(b.path),valid:$.valid,errors:$.errors,value:$.value})):Promise.resolve({key:h(b.path),valid:!0,errors:[],value:void 0})));s.value=!1;const f={},V={},E={};for(const b of o)f[b.key]={valid:b.valid,errors:b.errors},b.value&&H(E,b.key,b.value),b.errors.length&&(V[b.key]=b.errors[0]);return{valid:o.every(b=>b.valid),results:f,errors:V,values:E,source:"fields"}}async function ye(l,i){var o;const f=B(l);if(f&&(i==null?void 0:i.mode)!=="silent"&&(f.validated=!0),N){const{results:V}=await le((i==null?void 0:i.mode)||"validated-only");return V[l]||{errors:[],valid:!0}}return f!=null&&f.validate?f.validate(i):(!f&&(o=i==null?void 0:i.warn),Promise.resolve({errors:[],valid:!0}))}function vn(l){_n(g.value,l)}function xn(l,i,o=!1){Ze(l,i),H(d,l,i),o&&!(e!=null&&e.initialValues)&&H(O.value,l,w(i))}function Ze(l,i,o=!1){H(g.value,l,w(i)),o&&H(O.value,l,w(i))}async function hn(){const l=T(N);if(!l)return{valid:!0,results:{},errors:{},source:"none"};s.value=!0;const i=Ue(l)||ue(l)?await kt(l,d):await Ut(l,d,{names:W.value,bailsMap:ve.value});return s.value=!1,i}const et=x((l,{evt:i})=>{bt(i)&&i.target.submit()});Mn(()=>{if(e!=null&&e.initialErrors&&G(e.initialErrors),e!=null&&e.initialTouched&&Ke(e.initialTouched),e!=null&&e.validateOnMount){Ve();return}I.validateSchema&&I.validateSchema("silent")}),Be(N)&&ce(N,()=>{var l;(l=I.validateSchema)===null||l===void 0||l.call(I,"validated-only")}),tn(Oe,I);function Ge(l,i){const o=Z(i)||i==null?void 0:i.label,f=B(h(l))||Y(l,{label:o}),V=()=>Z(i)?i(Me(f,Ne)):i||{};function E(){var D;f.touched=!0,((D=V().validateOnBlur)!==null&&D!==void 0?D:pe().validateOnBlur)&&ye(h(f.path))}function b(){var D;((D=V().validateOnInput)!==null&&D!==void 0?D:pe().validateOnInput)&&de(()=>{ye(h(f.path))})}function $(){var D;((D=V().validateOnChange)!==null&&D!==void 0?D:pe().validateOnChange)&&de(()=>{ye(h(f.path))})}const L=C(()=>{const D={onChange:$,onInput:b,onBlur:E};return Z(i)?Object.assign(Object.assign({},D),i(Me(f,Ne)).props||{}):i!=null&&i.props?Object.assign(Object.assign({},D),i.props(Me(f,Ne))):D});return[se(l,()=>{var D,J,ee;return(ee=(D=V().validateOnModelUpdate)!==null&&D!==void 0?D:(J=pe())===null||J===void 0?void 0:J.validateOnModelUpdate)!==null&&ee!==void 0?ee:!0}),L]}function nt(l){return Array.isArray(l)?l.map(i=>se(i,!0)):se(l)}function tt(l,i){const[o,f]=Ge(l,i);function V(){f.value.onBlur()}function E($){const L=Re($);R(h(l),L,!1),f.value.onInput()}function b($){const L=Re($);R(h(l),L,!1),f.value.onChange()}return C(()=>Object.assign(Object.assign({},f.value),{onBlur:V,onInput:E,onChange:b,value:o.value}))}function rt(l,i){const[o,f]=Ge(l,i),V=B(h(l));function E(b){o.value=b}return C(()=>{const b=Z(i)?i(Me(V,Ne)):i||{};return Object.assign({[b.model||"modelValue"]:o.value,[`onUpdate:${b.model||"modelValue"}`]:E},f.value)})}const mn=Object.assign(Object.assign({},I),{values:it(d),handleReset:()=>He(),submitForm:et});return tn(vt,mn),mn}function Jt(e,n,t,r){const a={touched:"some",pending:"some",valid:"every"},u=C(()=>!K(n,T(t)));function s(){const v=e.value;return ne(a).reduce((d,y)=>{const _=a[y];return d[y]=v[_](M=>M[y]),d},{})}const c=Te(s());return lt(()=>{const v=s();c.touched=v.touched,c.valid=v.valid,c.pending=v.pending}),C(()=>Object.assign(Object.assign({initialValues:T(t)},c),{valid:c.valid&&!ne(r.value).length,dirty:u.value}))}function Qt(e,n,t){const r=Wn(t),a=te(r),u=te(w(r));function s(c,v){v!=null&&v.force?(a.value=w(c),u.value=w(c)):(a.value=Fe(w(a.value)||{},w(c)),u.value=Fe(w(u.value)||{},w(c))),v!=null&&v.updateFields&&e.value.forEach(d=>{if(d.touched)return;const _=z(a.value,h(d.path));H(n,h(d.path),w(_))})}return{initialValues:a,originalInitialValues:u,setInitialValues:s}}function xt(e,n){return n?{valid:e.valid&&n.valid,errors:[...e.errors,...n.errors]}:e}function dr(e){const n=Ce(Oe,void 0),t=te([]),r=()=>{},a={fields:t,remove:r,push:r,swap:r,insert:r,update:r,replace:r,prepend:r,move:r};if(!n||!T(e))return a;const u=n.fieldArrays.find(p=>T(p.path)===T(e));if(u)return u;let s=0;function c(){return z(n==null?void 0:n.values,h(e),[])||[]}function v(){const p=c();Array.isArray(p)&&(t.value=p.map((g,O)=>y(g,O,t.value)),d())}v();function d(){const p=t.value.length;for(let g=0;g<p;g++){const O=t.value[g];O.isFirst=g===0,O.isLast=g===p-1}}function y(p,g,O){if(O&&!_e(g)&&O[g])return O[g];const P=s++;return{key:P,value:_t({get(){const S=z(n==null?void 0:n.values,h(e),[])||[],N=t.value.findIndex(Y=>Y.key===P);return N===-1?p:S[N]},set(S){const N=t.value.findIndex(Y=>Y.key===P);N!==-1&&q(N,S)}}),isFirst:!1,isLast:!1}}function _(){d(),n==null||n.validate({mode:"silent"})}function M(p){const g=h(e),O=z(n==null?void 0:n.values,g);if(!O||!Array.isArray(O))return;const P=[...O];P.splice(p,1);const j=g+`[${p}]`;n.destroyPath(j),n.unsetInitialValue(j),H(n.values,g,P),t.value.splice(p,1),_()}function A(p){const g=w(p),O=h(e),P=z(n==null?void 0:n.values,O),j=_e(P)?[]:P;if(!Array.isArray(j))return;const S=[...j];S.push(g),n.stageInitialValue(O+`[${S.length-1}]`,g),H(n.values,O,S),t.value.push(y(g)),_()}function U(p,g){const O=h(e),P=z(n==null?void 0:n.values,O);if(!Array.isArray(P)||!(p in P)||!(g in P))return;const j=[...P],S=[...t.value],N=j[p];j[p]=j[g],j[g]=N;const Y=S[p];S[p]=S[g],S[g]=Y,H(n.values,O,j),t.value=S,d()}function G(p,g){const O=w(g),P=h(e),j=z(n==null?void 0:n.values,P);if(!Array.isArray(j)||j.length<p)return;const S=[...j],N=[...t.value];S.splice(p,0,O),N.splice(p,0,y(O)),H(n.values,P,S),t.value=N,_()}function F(p){const g=h(e);n.stageInitialValue(g,p),H(n.values,g,p),v(),_()}function q(p,g){const O=h(e),P=z(n==null?void 0:n.values,O);!Array.isArray(P)||P.length-1<p||(H(n.values,`${O}[${p}]`,g),n==null||n.validate({mode:"validated-only"}))}function W(p){const g=w(p),O=h(e),P=z(n==null?void 0:n.values,O),j=_e(P)?[]:P;if(!Array.isArray(j))return;const S=[g,...j];H(n.values,O,S),n.stageInitialValue(O+"[0]",g),t.value.unshift(y(g)),_()}function ve(p,g){const O=h(e),P=z(n==null?void 0:n.values,O),j=_e(P)?[]:[...P];if(!Array.isArray(P)||!(p in P)||!(g in P))return;const S=[...t.value],N=S[p];S.splice(p,1),S.splice(g,0,N);const Y=j[p];j.splice(p,1),j.splice(g,0,Y),H(n.values,O,j),t.value=S,_()}const Q={fields:t,remove:M,push:A,swap:U,insert:G,update:q,replace:F,prepend:W,move:ve};return n.fieldArrays.push(Object.assign({path:e,reset:v},Q)),Nn(()=>{const p=n.fieldArrays.findIndex(g=>h(g.path)===h(e));p>=0&&n.fieldArrays.splice(p,1)}),ce(c,p=>{const g=t.value.map(O=>O.value);K(p,g)||v()}),Q}const er=wn({name:"ErrorMessage",props:{as:{type:String,default:void 0},name:{type:String,required:!0}},setup(e,n){const t=ze(Oe,void 0),r=C(()=>t==null?void 0:t.errors.value[e.name]);function a(){return{message:r.value}}return()=>{if(!r.value)return;const u=e.as?Tn(e.as):e.as,s=Un(u,n,a),c=Object.assign({role:"alert"},n.attrs);return!u&&(Array.isArray(s)||!s)&&(s!=null&&s.length)?s:(Array.isArray(s)||!s)&&!(s!=null&&s.length)?nn(u||"span",c,r.value):nn(u,c,s)}}}),cr=er;function fr(e){const n=dn(e);return C(()=>{var t,r;return n&&(r="meta"in n?n.meta.dirty:(t=n==null?void 0:n.value)===null||t===void 0?void 0:t.dirty)!==null&&r!==void 0?r:!1})}function vr(e){const n=dn(e);return C(()=>{var t,r;return n&&(r="meta"in n?n.meta.touched:(t=n==null?void 0:n.value)===null||t===void 0?void 0:t.touched)!==null&&r!==void 0?r:!1})}function hr(e){const n=dn(e);return C(()=>{var t,r;return n&&(r="meta"in n?n.meta.valid:(t=n==null?void 0:n.value)===null||t===void 0?void 0:t.valid)!==null&&r!==void 0?r:!1})}function mr(e){const n=Ce(Oe),t=e?void 0:ze(sn);return C(()=>e?n==null?void 0:n.errors.value[h(e)]:t==null?void 0:t.errorMessage.value)}var De;De||(De={});/**
6
- * vee-validate v4.15.0
7
- * (c) 2024 Abdelrahman Awad
8
- * @license MIT
9
- */const In=e=>e!==null&&!!e&&typeof e=="object"&&!Array.isArray(e);function Kn(e){return Number(e)>=0}function nr(e){return typeof e=="object"&&e!==null}function tr(e){return e==null?e===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}function Pn(e){if(!nr(e)||tr(e)!=="[object Object]")return!1;if(Object.getPrototypeOf(e)===null)return!0;let n=e;for(;Object.getPrototypeOf(n)!==null;)n=Object.getPrototypeOf(n);return Object.getPrototypeOf(e)===n}function Hn(e,n){return Object.keys(n).forEach(t=>{if(Pn(n[t])&&Pn(e[t])){e[t]||(e[t]={}),Hn(e[t],n[t]);return}e[t]=n[t]}),e}function rr(e){const n=e.split(".");if(!n.length)return"";let t=String(n[0]);for(let r=1;r<n.length;r++){if(Kn(n[r])){t+=`[${n[r]}]`;continue}t+=`.${n[r]}`}return t}function yr(e,n){return{__type:"VVTypedSchema",async parse(r){const a=await e.safeParseAsync(r,n);if(a.success)return{value:a.data,errors:[]};const u={};return Zn(a.error.issues,u),{errors:Object.values(u)}},cast(r){try{return e.parse(r)}catch{const u=Gn(e);return In(u)&&In(r)?Hn(u,r):r}},describe(r){try{if(!r)return{required:!e.isOptional(),exists:!0};const a=ir(r,e);return a?{required:!a.isOptional(),exists:!0}:{required:!1,exists:!1}}catch{return{required:!1,exists:!1}}}}}function Zn(e,n){e.forEach(t=>{const r=rr(t.path.join("."));t.code==="invalid_union"&&(Zn(t.unionErrors.flatMap(a=>a.issues),n),!r)||(n[r]||(n[r]={errors:[],path:r}),n[r].errors.push(t.message))})}function Gn(e){if(e instanceof yn)return Object.fromEntries(Object.entries(e.shape).map(([n,t])=>t instanceof ut?[n,t._def.defaultValue()]:t instanceof yn?[n,Gn(t)]:[n,void 0]))}function ir(e,n){if(!Cn(n))return null;if(Pe(e))return n.shape[Le(e)];const t=(e||"").split(/\.|\[(\d+)\]/).filter(Boolean);let r=n;for(let a=0;a<=t.length;a++){const u=t[a];if(!u||!r)return r;if(Cn(r)){r=r.shape[u]||null;continue}Kn(u)&&lr(r)&&(r=r._def.type)}return null}function Yn(e){return e._def.typeName}function lr(e){return Yn(e)===De.ZodArray}function Cn(e){return Yn(e)===De.ZodObject}export{cr as E,sn as F,vr as a,fr as b,hr as c,sr as d,or as e,dr as f,yr as t,mr as u};
@@ -1 +0,0 @@
1
- import{aU as X,r as T,Q as Y,aA as $,g as K,c as N,aT as Q,ae as Z,aV as m,aW as j,aX as q,aY as A,aZ as G,a_ as J,a$ as ee,d as ae,b0 as te,m as se,h as W,u as _,_ as le,p as ne,o as oe}from"./BjU0QAaV.js";import{b as re,_ as ce}from"./BHBluah9.js";import{u as ie}from"./kehy-5uo.js";import{u as ue}from"./C-xlKweX.js";const de=X("erdStore",()=>{const i=T(""),s=T([]);function u(l){s.value=l}function f(l){i.value=l}return{currentConnectionId:i,tables:s,setTables:u,setCurrentConnectionId:f}},{persist:!1}),fe=()=>{var a;const i=Y(),s=de();if(s.tables.length>0&&((a=i.selectedConnection)==null?void 0:a.id)===s.currentConnectionId)return{isFetching:!1,tableSchema:$(s.tables||[])};const{data:u,status:f}=ue("/api/metadata/erd",{method:"POST",body:{...K(i.selectedConnection)},onResponseError({response:t}){Q(t==null?void 0:t.statusText)},onResponse:({response:t})=>{var g;const d=t._data.tables||[];s.setTables(d),s.setCurrentConnectionId(((g=i.selectedConnection)==null?void 0:g.id)||"")}},"$13ug5ALprk"),l=N(()=>f.value==="pending"),n=N(()=>{var t;return((t=u.value)==null?void 0:t.tables)||[]});return{isFetching:l,tableSchema:n}},{HORIZONTAL_STEP:M,VERTICAL_STEP:U}=G,D=(i,s)=>{const u=new Map(s.map(a=>[m({schemaName:a.schema,tableName:a.table}),a])),f=u.get(i);if(!f)return{leftTables:[],rightTables:[]};const l=[];for(const a of f.foreign_keys){const t=m({schemaName:a.reference_schema,tableName:a.reference_table}),d=u.get(t);d&&t!==i&&l.push(d)}const n=[];for(const a of s)if(m({schemaName:a.schema,tableName:a.table})!==i){for(const d of a.foreign_keys)if(m({schemaName:d.reference_schema,tableName:d.reference_table})===i){n.push(a);break}}return{leftTables:l,rightTables:n}},he=({mapTablesData:i,startId:s})=>{const u={},f=[{id:s,depth:0}],l=new Set;for(;f.length>0;){const{id:n,depth:a}=f.shift();if(l.has(n))continue;l.add(n),u[n]=a;const t=i.get(n);if(t)for(const d of t.foreign_keys){const g=m({schemaName:d.reference_schema,tableName:d.reference_table});i.has(g)&&!l.has(g)&&f.push({id:g,depth:a+1})}}return u},z=({mapTablesData:i,currentWeight:s,currentLeafId:u,currentMatrix:f,visited:l=new Set})=>{if(l.has(u)||(l.add(u),!i.get(u)))return f;f[u]=s+1;for(const[a,t]of i.entries())for(const d of t.foreign_keys)m({schemaName:d.reference_schema,tableName:d.reference_table})===u&&!l.has(a)&&z({mapTablesData:i,currentWeight:f[u],currentLeafId:a,currentMatrix:f,visited:l});return f};function be(i){const{allTables:s,initialTableId:u,autoExpandInitial:f=!0}=i,l=T(new Set),n=T(new Set),a=T(new Map),t=T({}),d=T(new Map),g=e=>{if(n.value.clear(),l.value.clear(),a.value.clear(),t.value={},d.value.clear(),!f){n.value.add(e),t.value[e]={x:0,y:0};return}const o=J(e,s.value);if(!o)return;const{nodes:b}=ee(o);for(const r of b)n.value.add(r.id),t.value[r.id]=r.position,a.value.set(r.id,new Set(["__initial__"]));l.value.add(e),y()},w=()=>{if(n.value.clear(),l.value.clear(),a.value.clear(),t.value={},d.value.clear(),s.value.length===0)return;const{nodes:e,edges:o,centerId:b}=re(s.value);for(const r of e)n.value.add(r.id),t.value[r.id]=r.position,a.value.set(r.id,new Set(["__initial__"]));b&&l.value.add(b),y()},y=()=>{var o;d.value.clear();const e=new Map;for(const[b,r]of Object.entries(t.value)){const c=s.value.find(h=>m({schemaName:h.schema,tableName:h.table})===b);if(c){const h=A((o=c.columns)==null?void 0:o.length)+U,p=Math.round(r.x/M);e.has(p)||e.set(p,[]),e.get(p).push({y:r.y,height:h})}}for(const[b,r]of e.entries()){const c=Math.max(...r.map(h=>h.y+h.height));d.value.set(b,c)}},I=(e,o,b)=>{var B;const r=A((B=e.columns)==null?void 0:B.length)+U,c=new Map(s.value.map(x=>[m({schemaName:x.schema,tableName:x.table}),x])),h=m({schemaName:e.schema,tableName:e.table});let p=1;if(b==="left")p=(he({mapTablesData:c,startId:h})[h]??0)+1;else{const x={};z({mapTablesData:c,currentWeight:0,currentLeafId:h,currentMatrix:x}),p=x[h]??1}const H=t.value[o]||{x:0},L=Math.round(H.x/M),P=b==="left"?L-p:L+p,V=P*M,O=d.value.get(P)??0;return d.value.set(P,O+r),{x:V,y:O}};Z([u,s],([e,o])=>{o.length!==0&&(e?g(e):w())},{immediate:!0});const S=N(()=>s.value.filter(e=>{const o=m({schemaName:e.schema,tableName:e.table});return n.value.has(o)})),R=N(()=>q(S.value,t.value)),E=N(()=>j(S.value).filter(o=>n.value.has(o.source)&&n.value.has(o.target))),C=e=>{const{leftTables:o,rightTables:b}=D(e,s.value);return o.length>0||b.length>0},k=e=>l.value.has(e),F=e=>{if(l.value.has(e))return;const{leftTables:o,rightTables:b}=D(e,s.value);o.forEach(r=>{const c=m({schemaName:r.schema,tableName:r.table});a.value.has(c)||a.value.set(c,new Set),a.value.get(c).add(e),!n.value.has(c)&&(n.value.add(c),t.value[c]=I(r,e,"left"))}),b.forEach(r=>{const c=m({schemaName:r.schema,tableName:r.table});a.value.has(c)||a.value.set(c,new Set),a.value.get(c).add(e),!n.value.has(c)&&(n.value.add(c),t.value[c]=I(r,e,"right"))}),l.value.add(e)},v=e=>{if(!l.value.has(e))return;const{leftTables:o,rightTables:b}=D(e,s.value),r=[...o,...b];for(const c of r){const h=m({schemaName:c.schema,tableName:c.table}),p=a.value.get(h);p&&(p.delete(e),p.size===0&&h!==u.value&&(n.value.delete(h),delete t.value[h],a.value.delete(h),l.value.has(h)&&v(h)))}l.value.delete(e)};return{expandedTables:l,visibleNodes:R,visibleEdges:E,expandTable:F,collapseTable:v,isExpanded:k,hasRelations:C,matrixPosition:t}}const me=["id"],_e=ae({__name:"WrapperErdDiagram",props:{tableId:{}},setup(i){const s=i,u=T(),{tableSchema:f,isFetching:l}=fe(),n=N(()=>f.value||[]),a=N(()=>{if(!s.tableId)return;const v=n.value.find(e=>m({schemaName:e.schema,tableName:e.table})===s.tableId||e.table===s.tableId);return v?m({schemaName:v.schema,tableName:v.table}):s.tableId}),{visibleNodes:t,visibleEdges:d,expandTable:g,collapseTable:w,isExpanded:y,hasRelations:I,matrixPosition:S}=be({allTables:n,initialTableId:a,autoExpandInitial:!0}),R=N(()=>n.value.filter(v=>{const e=m({schemaName:v.schema,tableName:v.table});return t.value.some(o=>o.id===e)})),E=T(!1),C=()=>{E.value=!E.value},k=v=>{g(v)},F=v=>{w(v)};return te([{key:"meta+f",callback:()=>{C()},isPreventDefault:!0}],{target:u}),(v,e)=>{const o=le;return oe(),se("div",{class:"w-full h-full relative",ref_key:"wrapperRef",ref:u,id:_(ie)()},[W(o,{visible:_(l)},null,8,["visible"]),W(ce,{nodes:_(t),edges:_(d),matrixTablePosition:_(S),focusTableId:a.value,tables:R.value,tableId:s.tableId,isExpanded:_(y),hasRelations:_(I),isShowFilter:_(E),"onUpdate:isShowFilter":e[0]||(e[0]=b=>ne(E)?E.value=b:null),onExpand:k,onCollapse:F},null,8,["nodes","edges","matrixTablePosition","focusTableId","tables","tableId","isExpanded","hasRelations","isShowFilter"])],8,me)}}});export{_e as _};
@@ -1,30 +0,0 @@
1
- import{Q as S,T as z,ax as j,_ as p,g as q,s as Q,a as Z,b as H,t as J,q as K,l as F,c as X,G as Y,L as ee,a4 as te,e as ae,A as re,I as ne}from"./BwI9KIOm.js";import{p as ie}from"./CJWptbcK.js";import{p as se}from"./BvXVax75.js";import{d as P}from"./newKnrX1.js";import{o as le}from"./CmKTTxBW.js";import"./BjU0QAaV.js";import"./Gi6I4Gst.js";function oe(e,a){return a<e?-1:a>e?1:a>=e?0:NaN}function ce(e){return e}function ue(){var e=ce,a=oe,f=null,x=S(0),s=S(z),o=S(0);function l(t){var n,c=(t=j(t)).length,g,y,m=0,u=new Array(c),i=new Array(c),v=+x.apply(this,arguments),A=Math.min(z,Math.max(-z,s.apply(this,arguments)-v)),h,C=Math.min(Math.abs(A)/c,o.apply(this,arguments)),$=C*(A<0?-1:1),d;for(n=0;n<c;++n)(d=i[u[n]=n]=+e(t[n],n,t))>0&&(m+=d);for(a!=null?u.sort(function(w,D){return a(i[w],i[D])}):f!=null&&u.sort(function(w,D){return f(t[w],t[D])}),n=0,y=m?(A-c*$)/m:0;n<c;++n,v=h)g=u[n],d=i[g],h=v+(d>0?d*y:0)+$,i[g]={data:t[g],index:n,value:d,startAngle:v,endAngle:h,padAngle:C};return i}return l.value=function(t){return arguments.length?(e=typeof t=="function"?t:S(+t),l):e},l.sortValues=function(t){return arguments.length?(a=t,f=null,l):a},l.sort=function(t){return arguments.length?(f=t,a=null,l):f},l.startAngle=function(t){return arguments.length?(x=typeof t=="function"?t:S(+t),l):x},l.endAngle=function(t){return arguments.length?(s=typeof t=="function"?t:S(+t),l):s},l.padAngle=function(t){return arguments.length?(o=typeof t=="function"?t:S(+t),l):o},l}var pe=ne.pie,G={sections:new Map,showData:!1},T=G.sections,N=G.showData,ge=structuredClone(pe),de=p(()=>structuredClone(ge),"getConfig"),fe=p(()=>{T=new Map,N=G.showData,re()},"clear"),he=p(({label:e,value:a})=>{if(a<0)throw new Error(`"${e}" has invalid value: ${a}. Negative values are not allowed in pie charts. All slice values must be >= 0.`);T.has(e)||(T.set(e,a),F.debug(`added new section: ${e}, with value: ${a}`))},"addSection"),me=p(()=>T,"getSections"),ve=p(e=>{N=e},"setShowData"),Se=p(()=>N,"getShowData"),R={getConfig:de,clear:fe,setDiagramTitle:K,getDiagramTitle:J,setAccTitle:H,getAccTitle:Z,setAccDescription:Q,getAccDescription:q,addSection:he,getSections:me,setShowData:ve,getShowData:Se},xe=p((e,a)=>{ie(e,a),a.setShowData(e.showData),e.sections.map(a.addSection)},"populateDb"),ye={parse:p(async e=>{const a=await se("pie",e);F.debug(a),xe(a,R)},"parse")},Ae=p(e=>`
2
- .pieCircle{
3
- stroke: ${e.pieStrokeColor};
4
- stroke-width : ${e.pieStrokeWidth};
5
- opacity : ${e.pieOpacity};
6
- }
7
- .pieOuterCircle{
8
- stroke: ${e.pieOuterStrokeColor};
9
- stroke-width: ${e.pieOuterStrokeWidth};
10
- fill: none;
11
- }
12
- .pieTitleText {
13
- text-anchor: middle;
14
- font-size: ${e.pieTitleTextSize};
15
- fill: ${e.pieTitleTextColor};
16
- font-family: ${e.fontFamily};
17
- }
18
- .slice {
19
- font-family: ${e.fontFamily};
20
- fill: ${e.pieSectionTextColor};
21
- font-size:${e.pieSectionTextSize};
22
- // fill: white;
23
- }
24
- .legend text {
25
- fill: ${e.pieLegendTextColor};
26
- font-family: ${e.fontFamily};
27
- font-size: ${e.pieLegendTextSize};
28
- }
29
- `,"getStyles"),we=Ae,De=p(e=>{const a=[...e.values()].reduce((s,o)=>s+o,0),f=[...e.entries()].map(([s,o])=>({label:s,value:o})).filter(s=>s.value/a*100>=1).sort((s,o)=>o.value-s.value);return ue().value(s=>s.value)(f)},"createPieArcs"),Ce=p((e,a,f,x)=>{F.debug(`rendering pie chart
30
- `+e);const s=x.db,o=X(),l=Y(s.getConfig(),o.pie),t=40,n=18,c=4,g=450,y=g,m=ee(a),u=m.append("g");u.attr("transform","translate("+y/2+","+g/2+")");const{themeVariables:i}=o;let[v]=te(i.pieOuterStrokeWidth);v??(v=2);const A=l.textPosition,h=Math.min(y,g)/2-t,C=P().innerRadius(0).outerRadius(h),$=P().innerRadius(h*A).outerRadius(h*A);u.append("circle").attr("cx",0).attr("cy",0).attr("r",h+v/2).attr("class","pieOuterCircle");const d=s.getSections(),w=De(d),D=[i.pie1,i.pie2,i.pie3,i.pie4,i.pie5,i.pie6,i.pie7,i.pie8,i.pie9,i.pie10,i.pie11,i.pie12];let b=0;d.forEach(r=>{b+=r});const W=w.filter(r=>(r.data.value/b*100).toFixed(0)!=="0"),E=le(D);u.selectAll("mySlices").data(W).enter().append("path").attr("d",C).attr("fill",r=>E(r.data.label)).attr("class","pieCircle"),u.selectAll("mySlices").data(W).enter().append("text").text(r=>(r.data.value/b*100).toFixed(0)+"%").attr("transform",r=>"translate("+$.centroid(r)+")").style("text-anchor","middle").attr("class","slice"),u.append("text").text(s.getDiagramTitle()).attr("x",0).attr("y",-400/2).attr("class","pieTitleText");const I=[...d.entries()].map(([r,M])=>({label:r,value:M})),k=u.selectAll(".legend").data(I).enter().append("g").attr("class","legend").attr("transform",(r,M)=>{const O=n+c,B=O*I.length/2,V=12*n,U=M*O-B;return"translate("+V+","+U+")"});k.append("rect").attr("width",n).attr("height",n).style("fill",r=>E(r.label)).style("stroke",r=>E(r.label)),k.append("text").attr("x",n+c).attr("y",n-c).text(r=>s.getShowData()?`${r.label} [${r.value}]`:r.label);const _=Math.max(...k.selectAll("text").nodes().map(r=>(r==null?void 0:r.getBoundingClientRect().width)??0)),L=y+t+n+c+_;m.attr("viewBox",`0 0 ${L} ${g}`),ae(m,g,L,l.useMaxWidth)},"draw"),$e={draw:Ce},Ge={parser:ye,db:R,renderer:$e,styles:we};export{Ge as diagram};
@@ -1 +0,0 @@
1
- import{d as h,Q as v,R as S,S as b,c as n,g as w,m as C,o as g,h as i,u as o,_ as y}from"./BjU0QAaV.js";import{b as E,a as I}from"./BVmBXPoG.js";import{u as O}from"./C-xlKweX.js";import{_ as x}from"./x9AB1FGL.js";import"./L22G0LO0.js";import"./Bdtn2mn5.js";const B={class:"h-full relative p-1"},K=h({__name:"TableOverview",props:{connectionId:{}},setup(m){const d=["name","schema","kind","owner","estimated_row","total_size","data_size","index_size","comment"],t=m,s=v(),l=S(),{schemaId:a}=b(l),u=n(()=>t.connectionId?s.connections.find(e=>e.id===t.connectionId):s.selectedConnection),c=n(()=>({...w(u.value),schema:a.value})),{data:r,status:p}=O("/api/tables/overview",{method:"POST",body:c,watch:[a,c]},"$x2_S2ch44V"),_=n(()=>{const e=r.value||[];return e.length>0?E(e):I(d)});return(e,M)=>{const f=y;return g(),C("div",B,[i(f,{visible:o(p)==="pending"},null,8,["visible"]),i(o(x),{columns:o(_),data:o(r)||[],class:"h-full border rounded-md",columnKeyBy:"field"},null,8,["columns","data"])])}}});export{K as default};
@@ -1 +0,0 @@
1
- import{r as o,g as f,c as b}from"./BjU0QAaV.js";const y=t=>{const a=o(!1),e=o(null),r=o([]),i=async()=>{if(!t.value){e.value="No database connection provided";return}a.value=!0,e.value=null;try{const n=await $fetch("/api/database-roles/get-roles",{method:"POST",body:{...f(t.value)}});r.value=n}catch(n){e.value=n instanceof Error?n.message:"Failed to fetch roles",console.error("Error fetching database roles:",n)}finally{a.value=!1}},s=()=>i(),d=b(()=>{const n=[],l=[],c=[];for(const u of r.value)u.isSuperuser?n.push(u):u.canLogin?l.push(u):c.push(u);return{superusers:n,users:l,roles:c}});return{isLoading:a,error:e,roles:r,categorizedRoles:d,fetchRoles:i,refresh:s}},P=t=>{const a=o(!1),e=o(!1),r=o(null),i=n=>{const l="control plane:",c=n.indexOf(l);if(c===-1)return null;const u=n.slice(c+l.length).trim(),m=u.indexOf("{"),v=u.lastIndexOf("}");if(m===-1||v===-1)return null;const p=u.slice(m,v+1);try{const h=JSON.parse(p);if(h!=null&&h.error&&typeof h.error=="string")return h.error}catch{return null}return null};return{isCreating:a,isDeleting:e,error:r,createRole:async n=>{var l;if(!t.value)return r.value="No database connection provided",null;a.value=!0,r.value=null;try{return await $fetch("/api/database-roles/create-role",{method:"POST",body:{...n,...f(t.value)}})}catch(c){const u=((l=c==null?void 0:c.data)==null?void 0:l.message)||(c instanceof Error?c.message:"Failed to create role"),v=i(u)||u.replace(/^Failed to create role:\s*/i,"").trim();return r.value=v,console.error("Error creating role:",c),{success:!1,message:v,sql:""}}finally{a.value=!1}},deleteRole:async n=>{if(!t.value)return r.value="No database connection provided",null;e.value=!0,r.value=null;try{return await $fetch("/api/database-roles/delete-role",{method:"POST",body:{...f(t.value),roleName:n}})}catch(l){return r.value=l instanceof Error?l.message:"Failed to delete role",console.error("Error deleting role:",l),null}finally{e.value=!1}}}},E=t=>{const a=o(!1),e=o(null),r=o([]);return{isLoading:a,error:e,databasePermissions:r,fetchDatabasePermissions:async s=>{if(!t.value||!s){e.value="Missing connection or role name";return}a.value=!0,e.value=null;try{const d=await $fetch("/api/database-roles/get-databases-with-permissions",{method:"POST",body:{...f(t.value),roleName:s}});r.value=d}catch(d){e.value=d instanceof Error?d.message:"Failed to fetch database permissions",console.error("Error fetching database permissions:",d)}finally{a.value=!1}}}},O=t=>{const a=o(!1),e=o(null),r=o([]);return{isLoading:a,error:e,databases:r,fetchDatabases:async()=>{if(!t.value){e.value="No database connection provided";return}a.value=!0,e.value=null;try{const s=await $fetch("/api/database-roles/get-databases",{method:"POST",body:{...f(t.value)}});r.value=s}catch(s){e.value=s instanceof Error?s.message:"Failed to fetch databases",console.error("Error fetching databases:",s)}finally{a.value=!1}}}},S=t=>{const a=o(!1),e=o(null),r=o([]);return{isLoading:a,error:e,schemas:r,fetchSchemas:async()=>{if(!t.value){e.value="No database connection provided";return}a.value=!0,e.value=null;try{const s=await $fetch("/api/database-roles/get-schemas",{method:"POST",body:{...f(t.value)}});r.value=s}catch(s){e.value=s instanceof Error?s.message:"Failed to fetch schemas",console.error("Error fetching schemas:",s)}finally{a.value=!1}}}},w=t=>{const a=o(!1),e=o(null);return{isGranting:a,error:e,grantBulkPermissions:async i=>{if(!t.value)return e.value="No database connection provided",null;a.value=!0,e.value=null;try{return await $fetch("/api/database-roles/grant-bulk-permissions",{method:"POST",body:{...i,...f(t.value)}})}catch(s){return e.value=s instanceof Error?s.message:"Failed to grant permissions",console.error("Error granting bulk permissions:",s),null}finally{a.value=!1}}}};export{y as a,P as b,O as c,S as d,w as e,E as u};