abstra 3.24.1__py3-none-any.whl → 3.24.2__py3-none-any.whl

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 (320) hide show
  1. {abstra-3.24.1.dist-info → abstra-3.24.2.dist-info}/METADATA +1 -1
  2. {abstra-3.24.1.dist-info → abstra-3.24.2.dist-info}/RECORD +200 -204
  3. abstra_internals/contracts_generated.py +1016 -758
  4. abstra_internals/controllers/git.py +4 -2
  5. abstra_internals/controllers/main.py +1 -1
  6. abstra_internals/repositories/git/git_test.py +5 -2
  7. abstra_internals/repositories/git/native.py +11 -5
  8. abstra_internals/repositories/git/types.py +1 -1
  9. abstra_internals/server/routes/git.py +11 -2
  10. abstra_statics/dist/assets/AbstraButton.vue_vue_type_script_setup_true_lang.a3ba2a31.js +2 -0
  11. abstra_statics/dist/assets/AbstraLogo.vue_vue_type_script_setup_true_lang.b1a71740.js +2 -0
  12. abstra_statics/dist/assets/ApiKeys.dafa1dc2.js +2 -0
  13. abstra_statics/dist/assets/App.45396b70.js +2 -0
  14. abstra_statics/dist/assets/App.vue_vue_type_style_index_0_lang.db5596a1.js +2 -0
  15. abstra_statics/dist/assets/{BaseLayout.72a6c8f2.js → BaseLayout.135a51d9.js} +2 -2
  16. abstra_statics/dist/assets/Billing.622c9155.js +2 -0
  17. abstra_statics/dist/assets/{Breadcrumb.5c786c09.js → Breadcrumb.8a82fa01.js} +3 -3
  18. abstra_statics/dist/assets/Builds.38c0f966.css +1 -0
  19. abstra_statics/dist/assets/Builds.c3fd9633.js +2 -0
  20. abstra_statics/dist/assets/{Card.fc77085c.js → Card.38a860a4.js} +5 -5
  21. abstra_statics/dist/assets/{CircularLoading.998b223a.js → CircularLoading.217756fb.js} +2 -2
  22. abstra_statics/dist/assets/CloseCircleOutlined.4c4707d8.js +2 -0
  23. abstra_statics/dist/assets/ConnectorsView.121898a9.js +2 -0
  24. abstra_statics/dist/assets/ConnectorsView.b594798e.css +1 -0
  25. abstra_statics/dist/assets/ConsoleOmniChat.vue_vue_type_script_setup_true_lang.502d779a.js +2 -0
  26. abstra_statics/dist/assets/ContentLayout.b1c94c2b.js +2 -0
  27. abstra_statics/dist/assets/CrudView.75a430a4.js +2 -0
  28. abstra_statics/dist/assets/CrudView.8abe5bc2.css +1 -0
  29. abstra_statics/dist/assets/DocsButton.vue_vue_type_script_setup_true_lang.a9c8118b.js +2 -0
  30. abstra_statics/dist/assets/EditorLogin.fba78ce9.js +2 -0
  31. abstra_statics/dist/assets/EditorsView.1a9ccb13.js +2 -0
  32. abstra_statics/dist/assets/EnvVars.d77957ea.js +2 -0
  33. abstra_statics/dist/assets/Error.5bd293cc.js +2 -0
  34. abstra_statics/dist/assets/ExclamationCircleOutlined.5d5c3f30.js +2 -0
  35. abstra_statics/dist/assets/Files.39b07d88.css +1 -0
  36. abstra_statics/dist/assets/Files.c4ce443f.js +2 -0
  37. abstra_statics/dist/assets/Form.a4787001.js +2 -0
  38. abstra_statics/dist/assets/{FormRunner.46f6426d.css → FormRunner.1e6e7d2a.css} +1 -1
  39. abstra_statics/dist/assets/FormRunner.73650f9e.js +2 -0
  40. abstra_statics/dist/assets/Home.19a2303b.js +2 -0
  41. abstra_statics/dist/assets/Home.4eff6ce9.js +2 -0
  42. abstra_statics/dist/assets/Home.e8bf9440.css +1 -0
  43. abstra_statics/dist/assets/LoadingContainer.97fa8f2e.js +2 -0
  44. abstra_statics/dist/assets/LoadingOutlined.e309ab16.js +2 -0
  45. abstra_statics/dist/assets/Login.632cada3.js +2 -0
  46. abstra_statics/dist/assets/{Login.75d13f6c.css → Login.ac75228f.css} +1 -1
  47. abstra_statics/dist/assets/Login.ecec1ff2.js +2 -0
  48. abstra_statics/dist/assets/Login.vue_vue_type_script_setup_true_lang.ada1c6c9.js +2 -0
  49. abstra_statics/dist/assets/Logo.d77d5637.js +2 -0
  50. abstra_statics/dist/assets/Logs.c1f01b05.js +2 -0
  51. abstra_statics/dist/assets/LogsController.0ff97ed4.css +1 -0
  52. abstra_statics/dist/assets/LogsController.2dceb3d3.js +2 -0
  53. abstra_statics/dist/assets/Main.44b7640e.js +2 -0
  54. abstra_statics/dist/assets/{MockForm.0b819a52.js → MockForm.9b7a0df3.js} +2 -2
  55. abstra_statics/dist/assets/Navbar.0951ed6d.js +2 -0
  56. abstra_statics/dist/assets/Navbar.61d3e0a6.css +1 -0
  57. abstra_statics/dist/assets/NewEditor.d65a400f.js +8 -0
  58. abstra_statics/dist/assets/NewEditor.e3cfeb2c.css +1 -0
  59. abstra_statics/dist/assets/OidcLoginCallback.66b0f38a.js +2 -0
  60. abstra_statics/dist/assets/OidcLogoutCallback.48d8429a.js +2 -0
  61. abstra_statics/dist/assets/OmniChat.60ee26c8.css +1 -0
  62. abstra_statics/dist/assets/OmniChat.c3de8733.js +6 -0
  63. abstra_statics/dist/assets/OnboardingView.6cda1bc5.js +2 -0
  64. abstra_statics/dist/assets/OnboardingView.e871e6d8.css +1 -0
  65. abstra_statics/dist/assets/Organization.c36206b7.js +2 -0
  66. abstra_statics/dist/assets/Organizations.2b1c6c65.js +2 -0
  67. abstra_statics/dist/assets/{PhArrowCounterClockwise.vue.78877a50.js → PhArrowCounterClockwise.vue.9e570570.js} +2 -2
  68. abstra_statics/dist/assets/{PhArrowSquareOut.vue.2ddfc219.js → PhArrowSquareOut.vue.bcbdb6e7.js} +2 -2
  69. abstra_statics/dist/assets/{PhClockCounterClockwise.vue.854c3cb5.js → PhClockCounterClockwise.vue.4bd682d8.js} +2 -2
  70. abstra_statics/dist/assets/{PhCopy.vue.d116ddfb.js → PhCopy.vue.29934bc2.js} +2 -2
  71. abstra_statics/dist/assets/{PhCopySimple.vue.5d0f839d.js → PhCopySimple.vue.0241af8c.js} +2 -2
  72. abstra_statics/dist/assets/{PhCube.vue.abf4a034.js → PhCube.vue.0fe2c514.js} +2 -2
  73. abstra_statics/dist/assets/PhDatabase.vue.fdfb515c.js +2 -0
  74. abstra_statics/dist/assets/{PhDotsThreeVertical.vue.5e8ae2a9.js → PhDotsThreeVertical.vue.7a0e0638.js} +2 -2
  75. abstra_statics/dist/assets/PhDownloadSimple.vue.f1245c40.js +2 -0
  76. abstra_statics/dist/assets/PhFileArrowUp.vue.c292afe1.js +2 -0
  77. abstra_statics/dist/assets/PhFilePlus.vue.c39ff1a9.js +2 -0
  78. abstra_statics/dist/assets/{PhFolderPlus.vue.21d377a3.js → PhFolderPlus.vue.bc40161e.js} +2 -2
  79. abstra_statics/dist/assets/{PhGear.vue.363dd83c.js → PhGear.vue.0feed515.js} +2 -2
  80. abstra_statics/dist/assets/{PhKey.vue.23f3a465.js → PhKey.vue.15a9e64e.js} +2 -2
  81. abstra_statics/dist/assets/{PhPencil.vue.feb383e2.js → PhPencil.vue.a7219766.js} +2 -2
  82. abstra_statics/dist/assets/PhPencilSimple.vue.15a2b403.js +2 -0
  83. abstra_statics/dist/assets/PhRocket.vue.7155b91f.js +2 -0
  84. abstra_statics/dist/assets/{PhSignOut.vue.d1d6498f.js → PhSignOut.vue.2af17bd7.js} +2 -2
  85. abstra_statics/dist/assets/{PhSparkle.vue.b6712d34.js → PhSparkle.vue.c7f06cac.js} +2 -2
  86. abstra_statics/dist/assets/PhTranslate.vue.2ce651a6.js +2 -0
  87. abstra_statics/dist/assets/{PhUsersThree.vue.8889f957.js → PhUsersThree.vue.2942df75.js} +2 -2
  88. abstra_statics/dist/assets/{PhWarningCircle.vue.2087be7d.js → PhWarningCircle.vue.05a40bc4.js} +2 -2
  89. abstra_statics/dist/assets/PhWebhooksLogo.vue.e4752384.js +2 -0
  90. abstra_statics/dist/assets/PlayerConfigProvider.00af5968.js +2 -0
  91. abstra_statics/dist/assets/PlayerNavbar.117f184b.js +2 -0
  92. abstra_statics/dist/assets/{PlayerNavbar.77209eae.css → PlayerNavbar.4dc29a45.css} +1 -1
  93. abstra_statics/dist/assets/Project.66111161.js +2 -0
  94. abstra_statics/dist/assets/Project.9c418d2e.css +1 -0
  95. abstra_statics/dist/assets/ProjectLogin.d9bb1f86.js +2 -0
  96. abstra_statics/dist/assets/ProjectSettings.f8c6f60a.js +2 -0
  97. abstra_statics/dist/assets/ProjectsView.32f6ccff.js +2 -0
  98. abstra_statics/dist/assets/ProjectsView.e26ddfd5.css +1 -0
  99. abstra_statics/dist/assets/SaveButton.363ea20f.css +1 -0
  100. abstra_statics/dist/assets/SaveButton.c3f2a4bb.js +2 -0
  101. abstra_statics/dist/assets/ScrollArea.vue_vue_type_script_setup_true_lang.cb5567cd.js +2 -0
  102. abstra_statics/dist/assets/{Sidebar.29baeab0.css → Sidebar.161522da.css} +1 -1
  103. abstra_statics/dist/assets/Sidebar.1c4e35be.js +2 -0
  104. abstra_statics/dist/assets/Sql.6d9a778c.css +1 -0
  105. abstra_statics/dist/assets/Sql.8d31ec23.js +5 -0
  106. abstra_statics/dist/assets/Steps.687763a5.js +2 -0
  107. abstra_statics/dist/assets/TableCard.8c99a870.js +2 -0
  108. abstra_statics/dist/assets/{TableEditor.5853a363.css → TableEditor.20fecc75.css} +1 -1
  109. abstra_statics/dist/assets/TableEditor.ba7a8b6a.js +2 -0
  110. abstra_statics/dist/assets/Tables.113960f2.js +39 -0
  111. abstra_statics/dist/assets/TablesDiagram.8e6d1e89.js +15 -0
  112. abstra_statics/dist/assets/TablesTabs.vue_vue_type_script_setup_true_lang.5cc96b0d.js +2 -0
  113. abstra_statics/dist/assets/Tasks.90846020.js +2 -0
  114. abstra_statics/dist/assets/{UploadOutlined.9aa845de.js → UploadOutlined.518baf9a.js} +2 -2
  115. abstra_statics/dist/assets/View.ded6b355.js +2 -0
  116. abstra_statics/dist/assets/View.vue_vue_type_script_setup_true_lang.285b5e2c.js +2 -0
  117. abstra_statics/dist/assets/Watermark.5071a4b2.js +2 -0
  118. abstra_statics/dist/assets/WebEditor.18ece735.js +2 -0
  119. abstra_statics/dist/assets/WebEditor.b886e4d1.css +1 -0
  120. abstra_statics/dist/assets/WidgetPreview.88a4f27f.js +2 -0
  121. abstra_statics/dist/assets/WorkflowViewer.3b6aee8e.css +1 -0
  122. abstra_statics/dist/assets/WorkflowViewer.778c401d.js +2 -0
  123. abstra_statics/dist/assets/{ant-design.42419021.js → ant-design.4efc9ccd.js} +2 -2
  124. abstra_statics/dist/assets/{apiKey.403049eb.js → apiKey.bd946d8c.js} +2 -2
  125. abstra_statics/dist/assets/asyncComputed.7bc1692e.js +2 -0
  126. abstra_statics/dist/assets/{build.45b511b6.js → build.a8637e29.js} +2 -2
  127. abstra_statics/dist/assets/{colorHelpers.50ced1e9.js → colorHelpers.8ba18214.js} +2 -2
  128. abstra_statics/dist/assets/{console.f0f09e6f.js → console.2a5ed51a.js} +4 -4
  129. abstra_statics/dist/assets/constants.534f67bc.js +2 -0
  130. abstra_statics/dist/assets/contracts.generated.8ad36e63.js +2 -0
  131. abstra_statics/dist/assets/{cssMode.23271d4a.js → cssMode.6c4ccf50.js} +2 -2
  132. abstra_statics/dist/assets/datetime.89495471.js +2 -0
  133. abstra_statics/dist/assets/dayjs.304f38f8.js +2 -0
  134. abstra_statics/dist/assets/editor.c1a1bd33.js +2 -0
  135. abstra_statics/dist/assets/editor.main.84e237cf.js +2 -0
  136. abstra_statics/dist/assets/fetch.452c58e5.js +2 -0
  137. abstra_statics/dist/assets/{files.8b58ee7e.js → files.8999afd5.js} +2 -2
  138. abstra_statics/dist/assets/{folder.13d3acac.js → folder.81ef8619.js} +2 -2
  139. abstra_statics/dist/assets/{freemarker2.f79b510b.js → freemarker2.559f77f2.js} +2 -2
  140. abstra_statics/dist/assets/{handlebars.07d5febe.js → handlebars.8d101b7c.js} +2 -2
  141. abstra_statics/dist/assets/{html.7d6a59b4.js → html.b3e7d3ab.js} +3 -3
  142. abstra_statics/dist/assets/{htmlMode.7779ff94.js → htmlMode.2305b1bb.js} +2 -2
  143. abstra_statics/dist/assets/{index.d31da2c3.js → index.71eb83f3.js} +2 -2
  144. abstra_statics/dist/assets/index.90acf038.js +2 -0
  145. abstra_statics/dist/assets/index.b74c262c.js +4 -0
  146. abstra_statics/dist/assets/index.bc97991a.js +2 -0
  147. abstra_statics/dist/assets/index.d809956c.js +2 -0
  148. abstra_statics/dist/assets/{index.57042181.css → index.da037bc0.css} +1 -1
  149. abstra_statics/dist/assets/index.da4f9d54.js +2 -0
  150. abstra_statics/dist/assets/{index.c8a56795.js → index.e5cb42a1.js} +2 -2
  151. abstra_statics/dist/assets/{index.482df04a.js → index.f2beb20d.js} +2 -2
  152. abstra_statics/dist/assets/{index.e71a5f84.js → index.f6171691.js} +3 -3
  153. abstra_statics/dist/assets/{javascript.4c528c2c.js → javascript.3000fc25.js} +2 -2
  154. abstra_statics/dist/assets/{jsonMode.d6441e9d.js → jsonMode.7bbb508d.js} +2 -2
  155. abstra_statics/dist/assets/{jwt-decode.9f7a5511.css → jwt-decode.c5760184.css} +2 -2
  156. abstra_statics/dist/assets/{jwt-decode.esm.54a1ea22.js → jwt-decode.esm.c9c37cdc.js} +197 -197
  157. abstra_statics/dist/assets/{linters.a0f2aa84.js → linters.7fec18d9.js} +2 -2
  158. abstra_statics/dist/assets/{liquid.0c441ad2.js → liquid.b4ac9aaf.js} +3 -3
  159. abstra_statics/dist/assets/member.3c12efee.js +2 -0
  160. abstra_statics/dist/assets/metadata.e627ddda.js +2 -0
  161. abstra_statics/dist/assets/omniChatStore.508e8ece.js +9 -0
  162. abstra_statics/dist/assets/omniChatStore.b58e3bed.css +1 -0
  163. abstra_statics/dist/assets/{organization.668d1b58.js → organization.cd03f9a8.js} +2 -2
  164. abstra_statics/dist/assets/os.f08724fb.js +2 -0
  165. abstra_statics/dist/assets/player.7362caf4.js +2 -0
  166. abstra_statics/dist/assets/{plotly.min.2a87d7e2.js → plotly.min.50ebb925.js} +2 -2
  167. abstra_statics/dist/assets/polling.4db5ee9a.js +2 -0
  168. abstra_statics/dist/assets/{project.1b8374f4.js → project.9a068e8d.js} +2 -2
  169. abstra_statics/dist/assets/{python.7ac27a56.js → python.51a7c648.js} +3 -3
  170. abstra_statics/dist/assets/{razor.860a0279.js → razor.99323f5f.js} +2 -2
  171. abstra_statics/dist/assets/{record.e83a2eb2.js → record.a33d29b1.js} +2 -2
  172. abstra_statics/dist/assets/{redirect.586749f4.js → redirect.42bf4f0a.js} +2 -2
  173. abstra_statics/dist/assets/{repository.66c7567c.js → repository.5190b94f.js} +2 -2
  174. abstra_statics/dist/assets/repository.94fb77c7.js +2 -0
  175. abstra_statics/dist/assets/{repository.3a331f0f.js → repository.c0d70cb2.js} +2 -2
  176. abstra_statics/dist/assets/router.4168cc71.js +2 -0
  177. abstra_statics/dist/assets/{router.4dfadf5d.js → router.a8616541.js} +5 -5
  178. abstra_statics/dist/assets/string.8fab6b53.js +2 -0
  179. abstra_statics/dist/assets/{tables.1bcb1140.js → tables.2e1c934b.js} +2 -2
  180. abstra_statics/dist/assets/tasksController.1feffcfe.js +4 -0
  181. abstra_statics/dist/assets/{toggleHighContrast.9535bf54.js → toggleHighContrast.6544a728.js} +7 -7
  182. abstra_statics/dist/assets/{tsMode.c0f9fe1a.js → tsMode.922e04bb.js} +2 -2
  183. abstra_statics/dist/assets/{typescript.310eae6d.js → typescript.1b4f8286.js} +3 -3
  184. abstra_statics/dist/assets/url.9e033350.js +2 -0
  185. abstra_statics/dist/assets/{useCodebaseEvents.276cc8f0.js → useCodebaseEvents.ffe057d1.js} +2 -2
  186. abstra_statics/dist/assets/useTables.5fffa3f1.js +2 -0
  187. abstra_statics/dist/assets/userStore.d962fba4.js +2 -0
  188. abstra_statics/dist/assets/uuid.8581bc03.js +2 -0
  189. abstra_statics/dist/assets/vue-flow-background.3e9183ec.js +2 -0
  190. abstra_statics/dist/assets/{vue-flow-core.6cb99d32.js → vue-flow-core.41c647da.js} +2 -2
  191. abstra_statics/dist/assets/{vue-quill.esm-bundler.e3d34d0e.js → vue-quill.esm-bundler.36e79a95.js} +2 -2
  192. abstra_statics/dist/assets/{workspaceStore.fac1e9a9.js → workspaceStore.5a435520.js} +2 -2
  193. abstra_statics/dist/assets/{xml.04864db4.js → xml.c1692f52.js} +3 -3
  194. abstra_statics/dist/assets/{yaml.f30375fe.js → yaml.244444c1.js} +3 -3
  195. abstra_statics/dist/console.html +15 -15
  196. abstra_statics/dist/editor.html +15 -15
  197. abstra_statics/dist/player.html +10 -10
  198. abstra/connectors/banking/__init__.py +0 -0
  199. abstra/connectors/banking/brazil.py +0 -5
  200. abstra_internals/services/banking/__init__.py +0 -3
  201. abstra_internals/services/banking/banking_service.py +0 -104
  202. abstra_internals/services/banking/client_factory.py +0 -70
  203. abstra_internals/services/banking/sdk/__init__.py +0 -0
  204. abstra_internals/services/banking/sdk/generate_totalbank_api.py +0 -383
  205. abstra_statics/dist/assets/AbstraButton.vue_vue_type_script_setup_true_lang.aefce2d3.js +0 -2
  206. abstra_statics/dist/assets/AbstraLogo.vue_vue_type_script_setup_true_lang.28bc9fc9.js +0 -2
  207. abstra_statics/dist/assets/ApiKeys.3c1e70dc.js +0 -2
  208. abstra_statics/dist/assets/App.9d8bd2aa.js +0 -2
  209. abstra_statics/dist/assets/App.vue_vue_type_style_index_0_lang.a64c7cee.js +0 -2
  210. abstra_statics/dist/assets/Billing.6b07f282.js +0 -2
  211. abstra_statics/dist/assets/Builds.ace9e3da.css +0 -1
  212. abstra_statics/dist/assets/Builds.d8c5c61b.js +0 -2
  213. abstra_statics/dist/assets/CloseCircleOutlined.9ff269cc.js +0 -2
  214. abstra_statics/dist/assets/ConnectorsView.33c5380f.css +0 -1
  215. abstra_statics/dist/assets/ConnectorsView.e670738b.js +0 -2
  216. abstra_statics/dist/assets/ConsoleOmniChat.vue_vue_type_script_setup_true_lang.3ca66327.js +0 -2
  217. abstra_statics/dist/assets/ContentLayout.0db8d7fb.js +0 -2
  218. abstra_statics/dist/assets/CrudView.cc6aeaf0.js +0 -2
  219. abstra_statics/dist/assets/CrudView.e24590ae.css +0 -1
  220. abstra_statics/dist/assets/DocsButton.vue_vue_type_script_setup_true_lang.689d8ce7.js +0 -2
  221. abstra_statics/dist/assets/EditorLogin.691452b4.js +0 -2
  222. abstra_statics/dist/assets/EditorsView.fcdf0186.js +0 -2
  223. abstra_statics/dist/assets/EnvVars.5519b4ce.js +0 -2
  224. abstra_statics/dist/assets/Error.11fd1f21.js +0 -2
  225. abstra_statics/dist/assets/ExclamationCircleOutlined.d0aa47da.js +0 -2
  226. abstra_statics/dist/assets/Files.6ea18d46.js +0 -2
  227. abstra_statics/dist/assets/Files.d0e8d2ff.css +0 -1
  228. abstra_statics/dist/assets/Form.09de384c.js +0 -2
  229. abstra_statics/dist/assets/FormRunner.15be6fa0.js +0 -2
  230. abstra_statics/dist/assets/Home.3794e8b4.css +0 -1
  231. abstra_statics/dist/assets/Home.782c5702.js +0 -2
  232. abstra_statics/dist/assets/Home.7c495aa9.js +0 -2
  233. abstra_statics/dist/assets/Live.37415b2d.css +0 -1
  234. abstra_statics/dist/assets/Live.48c10605.js +0 -2
  235. abstra_statics/dist/assets/LoadingContainer.82ac3d44.js +0 -2
  236. abstra_statics/dist/assets/LoadingOutlined.66639b08.js +0 -2
  237. abstra_statics/dist/assets/Login.4a05f5c5.js +0 -2
  238. abstra_statics/dist/assets/Login.4e852955.js +0 -2
  239. abstra_statics/dist/assets/Login.vue_vue_type_script_setup_true_lang.5161f328.js +0 -2
  240. abstra_statics/dist/assets/Logo.65e0b37c.js +0 -2
  241. abstra_statics/dist/assets/Logs.7d1acf32.js +0 -2
  242. abstra_statics/dist/assets/LogsController.0eb2eb30.js +0 -2
  243. abstra_statics/dist/assets/LogsController.fb0d96c2.css +0 -1
  244. abstra_statics/dist/assets/Main.0313f4fc.js +0 -2
  245. abstra_statics/dist/assets/Navbar.2dc6d02c.css +0 -1
  246. abstra_statics/dist/assets/Navbar.ef64aa09.js +0 -2
  247. abstra_statics/dist/assets/NewEditor.b9c410fe.css +0 -1
  248. abstra_statics/dist/assets/NewEditor.c928dbe9.js +0 -8
  249. abstra_statics/dist/assets/OidcLoginCallback.42a7c4f9.js +0 -2
  250. abstra_statics/dist/assets/OidcLogoutCallback.35931a68.js +0 -2
  251. abstra_statics/dist/assets/OmniChat.73d9f6bb.js +0 -6
  252. abstra_statics/dist/assets/OmniChat.a21fec40.css +0 -1
  253. abstra_statics/dist/assets/OnboardingView.25042384.js +0 -2
  254. abstra_statics/dist/assets/OnboardingView.3996b08d.css +0 -1
  255. abstra_statics/dist/assets/Organization.66f64939.js +0 -2
  256. abstra_statics/dist/assets/Organizations.47868beb.js +0 -2
  257. abstra_statics/dist/assets/PhBookBookmark.vue.41108214.js +0 -2
  258. abstra_statics/dist/assets/PhChats.vue.71e5cb89.js +0 -2
  259. abstra_statics/dist/assets/PhDatabase.vue.a94d95f6.js +0 -2
  260. abstra_statics/dist/assets/PhDownloadSimple.vue.e88f64f1.js +0 -2
  261. abstra_statics/dist/assets/PhPencilSimple.vue.ec0eebb4.js +0 -2
  262. abstra_statics/dist/assets/PhRocket.vue.261a42b2.js +0 -2
  263. abstra_statics/dist/assets/PhUserList.vue.e0b8c21b.js +0 -2
  264. abstra_statics/dist/assets/PhWebhooksLogo.vue.d164db1e.js +0 -2
  265. abstra_statics/dist/assets/PlayerConfigProvider.28e29025.js +0 -2
  266. abstra_statics/dist/assets/PlayerNavbar.aaad1dfd.js +0 -2
  267. abstra_statics/dist/assets/Project.2de506d7.js +0 -2
  268. abstra_statics/dist/assets/Project.9c75c141.css +0 -1
  269. abstra_statics/dist/assets/ProjectLogin.22c8b093.js +0 -2
  270. abstra_statics/dist/assets/ProjectSettings.d065c292.js +0 -2
  271. abstra_statics/dist/assets/ProjectsView.16d8ecf6.css +0 -1
  272. abstra_statics/dist/assets/ProjectsView.cbd118ac.js +0 -2
  273. abstra_statics/dist/assets/SaveButton.428227de.js +0 -2
  274. abstra_statics/dist/assets/SaveButton.932ac6b8.css +0 -1
  275. abstra_statics/dist/assets/ScrollArea.vue_vue_type_script_setup_true_lang.6d724b05.js +0 -2
  276. abstra_statics/dist/assets/Sidebar.41173d8e.js +0 -2
  277. abstra_statics/dist/assets/Sql.90e6e2ba.css +0 -1
  278. abstra_statics/dist/assets/Sql.c070dd2c.js +0 -5
  279. abstra_statics/dist/assets/Steps.dd51a108.js +0 -2
  280. abstra_statics/dist/assets/TableCard.c9a1cf41.js +0 -2
  281. abstra_statics/dist/assets/TableEditor.1bc47a95.js +0 -2
  282. abstra_statics/dist/assets/Tables.eff119eb.js +0 -2
  283. abstra_statics/dist/assets/TablesDiagram.d633acaf.js +0 -15
  284. abstra_statics/dist/assets/TablesTabs.vue_vue_type_script_setup_true_lang.cf7e34c5.js +0 -2
  285. abstra_statics/dist/assets/Tasks.c311b05f.js +0 -2
  286. abstra_statics/dist/assets/View.dd7ba25a.js +0 -2
  287. abstra_statics/dist/assets/View.vue_vue_type_script_setup_true_lang.e6563207.js +0 -2
  288. abstra_statics/dist/assets/Watermark.9c9358e3.js +0 -2
  289. abstra_statics/dist/assets/WebEditor.83f2a960.js +0 -2
  290. abstra_statics/dist/assets/WebEditor.c2e271d1.css +0 -1
  291. abstra_statics/dist/assets/WidgetPreview.7c6a231c.js +0 -2
  292. abstra_statics/dist/assets/asyncComputed.47aec2b5.js +0 -2
  293. abstra_statics/dist/assets/constants.d569f33d.js +0 -2
  294. abstra_statics/dist/assets/contracts.generated.aefe8d0a.js +0 -2
  295. abstra_statics/dist/assets/datetime.82608dfb.js +0 -2
  296. abstra_statics/dist/assets/dayjs.7f71c60a.js +0 -2
  297. abstra_statics/dist/assets/editor.02184ced.js +0 -2
  298. abstra_statics/dist/assets/editor.main.0f931e87.js +0 -2
  299. abstra_statics/dist/assets/fetch.1b3d01a0.js +0 -2
  300. abstra_statics/dist/assets/index.581e2edd.js +0 -2
  301. abstra_statics/dist/assets/index.966ac1b9.js +0 -2
  302. abstra_statics/dist/assets/index.c7a996a6.js +0 -2
  303. abstra_statics/dist/assets/index.d53182ed.js +0 -4
  304. abstra_statics/dist/assets/member.2260c37e.js +0 -2
  305. abstra_statics/dist/assets/metadata.0098e20c.js +0 -2
  306. abstra_statics/dist/assets/omniChatStore.dd7a1c46.js +0 -8
  307. abstra_statics/dist/assets/omniChatStore.ec95fb81.css +0 -1
  308. abstra_statics/dist/assets/player.4ab4aed5.js +0 -2
  309. abstra_statics/dist/assets/polling.b5a32c22.js +0 -2
  310. abstra_statics/dist/assets/router.06ee2b9d.js +0 -2
  311. abstra_statics/dist/assets/string.61e11a30.js +0 -2
  312. abstra_statics/dist/assets/tasksController.f3adf725.js +0 -4
  313. abstra_statics/dist/assets/url.f5664225.js +0 -2
  314. abstra_statics/dist/assets/useTables.18fc3efd.js +0 -2
  315. abstra_statics/dist/assets/userStore.6ab1e5ac.js +0 -2
  316. abstra_statics/dist/assets/uuid.5b8ba8af.js +0 -2
  317. abstra_statics/dist/assets/vue-flow-background.af096866.js +0 -2
  318. {abstra-3.24.1.dist-info → abstra-3.24.2.dist-info}/WHEEL +0 -0
  319. {abstra-3.24.1.dist-info → abstra-3.24.2.dist-info}/entry_points.txt +0 -0
  320. {abstra-3.24.1.dist-info → abstra-3.24.2.dist-info}/top_level.txt +0 -0
@@ -1,15 +0,0 @@
1
- import{_ as mn,d as pe}from"./vue-flow-background.af096866.js";import{u as De,d as gn,h as pn,_ as vn,i as mt,a as yn,g as ve,e as wn}from"./vue-flow-core.6cb99d32.js";import{d as qt,eM as _n,eR as Pe,r as Qt,a4 as kn,bz as Jt,c as Y,aK as bn,o as K,a as wt,b as zt,a5 as ct,u as q,ed as xn,h as Mn,aR as Xe,ec as $n,a6 as Fe,ea as It,e as Dt,am as Nn,eA as Cn,e6 as He,ef as En,f as lt,eb as Sn,i as zn,_ as Rn}from"./jwt-decode.esm.54a1ea22.js";import{T as Tn}from"./TableCard.c9a1cf41.js";import{_ as An}from"./TablesTabs.vue_vue_type_script_setup_true_lang.cf7e34c5.js";import{u as Bn}from"./useTables.18fc3efd.js";import"./AbstraButton.vue_vue_type_script_setup_true_lang.aefce2d3.js";import"./PhKey.vue.23f3a465.js";import"./PhPencil.vue.feb383e2.js";import"./Card.fc77085c.js";import"./router.4dfadf5d.js";import"./index.c7a996a6.js";import"./tables.1bcb1140.js";import"./record.e83a2eb2.js";import"./string.61e11a30.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="aed3eb36-ceb1-455a-b12b-ea3df940a8e3",t._sentryDebugIdIdentifier="sentry-dbid-aed3eb36-ceb1-455a-b12b-ea3df940a8e3")}catch{}})();var In={value:()=>{}};function ue(){for(var t=0,e=arguments.length,n={},r;t<e;++t){if(!(r=arguments[t]+"")||r in n||/[\s.]/.test(r))throw new Error("illegal type: "+r);n[r]=[]}return new Rt(n)}function Rt(t){this._=t}function Dn(t,e){return t.trim().split(/^|\s+/).map(function(n){var r="",i=n.indexOf(".");if(i>=0&&(r=n.slice(i+1),n=n.slice(0,i)),n&&!e.hasOwnProperty(n))throw new Error("unknown type: "+n);return{type:n,name:r}})}Rt.prototype=ue.prototype={constructor:Rt,on:function(t,e){var n=this._,r=Dn(t+"",n),i,s=-1,o=r.length;if(arguments.length<2){for(;++s<o;)if((i=(t=r[s]).type)&&(i=Pn(n[i],t.name)))return i;return}if(e!=null&&typeof e!="function")throw new Error("invalid callback: "+e);for(;++s<o;)if(i=(t=r[s]).type)n[i]=ye(n[i],t.name,e);else if(e==null)for(i in n)n[i]=ye(n[i],t.name,null);return this},copy:function(){var t={},e=this._;for(var n in e)t[n]=e[n].slice();return new Rt(t)},call:function(t,e){if((i=arguments.length-2)>0)for(var n=new Array(i),r=0,i,s;r<i;++r)n[r]=arguments[r+2];if(!this._.hasOwnProperty(t))throw new Error("unknown type: "+t);for(s=this._[t],r=0,i=s.length;r<i;++r)s[r].value.apply(e,n)},apply:function(t,e,n){if(!this._.hasOwnProperty(t))throw new Error("unknown type: "+t);for(var r=this._[t],i=0,s=r.length;i<s;++i)r[i].value.apply(e,n)}};function Pn(t,e){for(var n=0,r=t.length,i;n<r;++n)if((i=t[n]).name===e)return i.value}function ye(t,e,n){for(var r=0,i=t.length;r<i;++r)if(t[r].name===e){t[r]=In,t=t.slice(0,r).concat(t.slice(r+1));break}return n!=null&&t.push({name:e,value:n}),t}var jt="http://www.w3.org/1999/xhtml";const we={svg:"http://www.w3.org/2000/svg",xhtml:jt,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function Lt(t){var e=t+="",n=e.indexOf(":");return n>=0&&(e=t.slice(0,n))!=="xmlns"&&(t=t.slice(n+1)),we.hasOwnProperty(e)?{space:we[e],local:t}:t}function Xn(t){return function(){var e=this.ownerDocument,n=this.namespaceURI;return n===jt&&e.documentElement.namespaceURI===jt?e.createElement(t):e.createElementNS(n,t)}}function Fn(t){return function(){return this.ownerDocument.createElementNS(t.space,t.local)}}function Ye(t){var e=Lt(t);return(e.local?Fn:Xn)(e)}function Hn(){}function le(t){return t==null?Hn:function(){return this.querySelector(t)}}function Yn(t){typeof t!="function"&&(t=le(t));for(var e=this._groups,n=e.length,r=new Array(n),i=0;i<n;++i)for(var s=e[i],o=s.length,a=r[i]=new Array(o),u,l,h=0;h<o;++h)(u=s[h])&&(l=t.call(u,u.__data__,h,s))&&("__data__"in u&&(l.__data__=u.__data__),a[h]=l);return new L(r,this._parents)}function Vn(t){return t==null?[]:Array.isArray(t)?t:Array.from(t)}function qn(){return[]}function Ve(t){return t==null?qn:function(){return this.querySelectorAll(t)}}function Ln(t){return function(){return Vn(t.apply(this,arguments))}}function On(t){typeof t=="function"?t=Ln(t):t=Ve(t);for(var e=this._groups,n=e.length,r=[],i=[],s=0;s<n;++s)for(var o=e[s],a=o.length,u,l=0;l<a;++l)(u=o[l])&&(r.push(t.call(u,u.__data__,l,o)),i.push(u));return new L(r,i)}function qe(t){return function(){return this.matches(t)}}function Le(t){return function(e){return e.matches(t)}}var Kn=Array.prototype.find;function Gn(t){return function(){return Kn.call(this.children,t)}}function Un(){return this.firstElementChild}function Wn(t){return this.select(t==null?Un:Gn(typeof t=="function"?t:Le(t)))}var Zn=Array.prototype.filter;function Qn(){return Array.from(this.children)}function Jn(t){return function(){return Zn.call(this.children,t)}}function jn(t){return this.selectAll(t==null?Qn:Jn(typeof t=="function"?t:Le(t)))}function tr(t){typeof t!="function"&&(t=qe(t));for(var e=this._groups,n=e.length,r=new Array(n),i=0;i<n;++i)for(var s=e[i],o=s.length,a=r[i]=[],u,l=0;l<o;++l)(u=s[l])&&t.call(u,u.__data__,l,s)&&a.push(u);return new L(r,this._parents)}function Oe(t){return new Array(t.length)}function er(){return new L(this._enter||this._groups.map(Oe),this._parents)}function Pt(t,e){this.ownerDocument=t.ownerDocument,this.namespaceURI=t.namespaceURI,this._next=null,this._parent=t,this.__data__=e}Pt.prototype={constructor:Pt,appendChild:function(t){return this._parent.insertBefore(t,this._next)},insertBefore:function(t,e){return this._parent.insertBefore(t,e)},querySelector:function(t){return this._parent.querySelector(t)},querySelectorAll:function(t){return this._parent.querySelectorAll(t)}};function nr(t){return function(){return t}}function rr(t,e,n,r,i,s){for(var o=0,a,u=e.length,l=s.length;o<l;++o)(a=e[o])?(a.__data__=s[o],r[o]=a):n[o]=new Pt(t,s[o]);for(;o<u;++o)(a=e[o])&&(i[o]=a)}function ir(t,e,n,r,i,s,o){var a,u,l=new Map,h=e.length,f=s.length,p=new Array(h),y;for(a=0;a<h;++a)(u=e[a])&&(p[a]=y=o.call(u,u.__data__,a,e)+"",l.has(y)?i[a]=u:l.set(y,u));for(a=0;a<f;++a)y=o.call(t,s[a],a,s)+"",(u=l.get(y))?(r[a]=u,u.__data__=s[a],l.delete(y)):n[a]=new Pt(t,s[a]);for(a=0;a<h;++a)(u=e[a])&&l.get(p[a])===u&&(i[a]=u)}function or(t){return t.__data__}function sr(t,e){if(!arguments.length)return Array.from(this,or);var n=e?ir:rr,r=this._parents,i=this._groups;typeof t!="function"&&(t=nr(t));for(var s=i.length,o=new Array(s),a=new Array(s),u=new Array(s),l=0;l<s;++l){var h=r[l],f=i[l],p=f.length,y=ar(t.call(h,h&&h.__data__,l,r)),C=y.length,E=a[l]=new Array(C),R=o[l]=new Array(C),k=u[l]=new Array(p);n(h,f,E,R,k,y,e);for(var D=0,z=0,T,M;D<C;++D)if(T=E[D]){for(D>=z&&(z=D+1);!(M=R[z])&&++z<C;);T._next=M||null}}return o=new L(o,r),o._enter=a,o._exit=u,o}function ar(t){return typeof t=="object"&&"length"in t?t:Array.from(t)}function ur(){return new L(this._exit||this._groups.map(Oe),this._parents)}function lr(t,e,n){var r=this.enter(),i=this,s=this.exit();return typeof t=="function"?(r=t(r),r&&(r=r.selection())):r=r.append(t+""),e!=null&&(i=e(i),i&&(i=i.selection())),n==null?s.remove():n(s),r&&i?r.merge(i).order():i}function cr(t){for(var e=t.selection?t.selection():t,n=this._groups,r=e._groups,i=n.length,s=r.length,o=Math.min(i,s),a=new Array(i),u=0;u<o;++u)for(var l=n[u],h=r[u],f=l.length,p=a[u]=new Array(f),y,C=0;C<f;++C)(y=l[C]||h[C])&&(p[C]=y);for(;u<i;++u)a[u]=n[u];return new L(a,this._parents)}function hr(){for(var t=this._groups,e=-1,n=t.length;++e<n;)for(var r=t[e],i=r.length-1,s=r[i],o;--i>=0;)(o=r[i])&&(s&&o.compareDocumentPosition(s)^4&&s.parentNode.insertBefore(o,s),s=o);return this}function fr(t){t||(t=dr);function e(f,p){return f&&p?t(f.__data__,p.__data__):!f-!p}for(var n=this._groups,r=n.length,i=new Array(r),s=0;s<r;++s){for(var o=n[s],a=o.length,u=i[s]=new Array(a),l,h=0;h<a;++h)(l=o[h])&&(u[h]=l);u.sort(e)}return new L(i,this._parents).order()}function dr(t,e){return t<e?-1:t>e?1:t>=e?0:NaN}function mr(){var t=arguments[0];return arguments[0]=this,t.apply(null,arguments),this}function gr(){return Array.from(this)}function pr(){for(var t=this._groups,e=0,n=t.length;e<n;++e)for(var r=t[e],i=0,s=r.length;i<s;++i){var o=r[i];if(o)return o}return null}function vr(){let t=0;for(const e of this)++t;return t}function yr(){return!this.node()}function wr(t){for(var e=this._groups,n=0,r=e.length;n<r;++n)for(var i=e[n],s=0,o=i.length,a;s<o;++s)(a=i[s])&&t.call(a,a.__data__,s,i);return this}function _r(t){return function(){this.removeAttribute(t)}}function kr(t){return function(){this.removeAttributeNS(t.space,t.local)}}function br(t,e){return function(){this.setAttribute(t,e)}}function xr(t,e){return function(){this.setAttributeNS(t.space,t.local,e)}}function Mr(t,e){return function(){var n=e.apply(this,arguments);n==null?this.removeAttribute(t):this.setAttribute(t,n)}}function $r(t,e){return function(){var n=e.apply(this,arguments);n==null?this.removeAttributeNS(t.space,t.local):this.setAttributeNS(t.space,t.local,n)}}function Nr(t,e){var n=Lt(t);if(arguments.length<2){var r=this.node();return n.local?r.getAttributeNS(n.space,n.local):r.getAttribute(n)}return this.each((e==null?n.local?kr:_r:typeof e=="function"?n.local?$r:Mr:n.local?xr:br)(n,e))}function Ke(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView}function Cr(t){return function(){this.style.removeProperty(t)}}function Er(t,e,n){return function(){this.style.setProperty(t,e,n)}}function Sr(t,e,n){return function(){var r=e.apply(this,arguments);r==null?this.style.removeProperty(t):this.style.setProperty(t,r,n)}}function zr(t,e,n){return arguments.length>1?this.each((e==null?Cr:typeof e=="function"?Sr:Er)(t,e,n==null?"":n)):ft(this.node(),t)}function ft(t,e){return t.style.getPropertyValue(e)||Ke(t).getComputedStyle(t,null).getPropertyValue(e)}function Rr(t){return function(){delete this[t]}}function Tr(t,e){return function(){this[t]=e}}function Ar(t,e){return function(){var n=e.apply(this,arguments);n==null?delete this[t]:this[t]=n}}function Br(t,e){return arguments.length>1?this.each((e==null?Rr:typeof e=="function"?Ar:Tr)(t,e)):this.node()[t]}function Ge(t){return t.trim().split(/^|\s+/)}function ce(t){return t.classList||new Ue(t)}function Ue(t){this._node=t,this._names=Ge(t.getAttribute("class")||"")}Ue.prototype={add:function(t){var e=this._names.indexOf(t);e<0&&(this._names.push(t),this._node.setAttribute("class",this._names.join(" ")))},remove:function(t){var e=this._names.indexOf(t);e>=0&&(this._names.splice(e,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(t){return this._names.indexOf(t)>=0}};function We(t,e){for(var n=ce(t),r=-1,i=e.length;++r<i;)n.add(e[r])}function Ze(t,e){for(var n=ce(t),r=-1,i=e.length;++r<i;)n.remove(e[r])}function Ir(t){return function(){We(this,t)}}function Dr(t){return function(){Ze(this,t)}}function Pr(t,e){return function(){(e.apply(this,arguments)?We:Ze)(this,t)}}function Xr(t,e){var n=Ge(t+"");if(arguments.length<2){for(var r=ce(this.node()),i=-1,s=n.length;++i<s;)if(!r.contains(n[i]))return!1;return!0}return this.each((typeof e=="function"?Pr:e?Ir:Dr)(n,e))}function Fr(){this.textContent=""}function Hr(t){return function(){this.textContent=t}}function Yr(t){return function(){var e=t.apply(this,arguments);this.textContent=e==null?"":e}}function Vr(t){return arguments.length?this.each(t==null?Fr:(typeof t=="function"?Yr:Hr)(t)):this.node().textContent}function qr(){this.innerHTML=""}function Lr(t){return function(){this.innerHTML=t}}function Or(t){return function(){var e=t.apply(this,arguments);this.innerHTML=e==null?"":e}}function Kr(t){return arguments.length?this.each(t==null?qr:(typeof t=="function"?Or:Lr)(t)):this.node().innerHTML}function Gr(){this.nextSibling&&this.parentNode.appendChild(this)}function Ur(){return this.each(Gr)}function Wr(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function Zr(){return this.each(Wr)}function Qr(t){var e=typeof t=="function"?t:Ye(t);return this.select(function(){return this.appendChild(e.apply(this,arguments))})}function Jr(){return null}function jr(t,e){var n=typeof t=="function"?t:Ye(t),r=e==null?Jr:typeof e=="function"?e:le(e);return this.select(function(){return this.insertBefore(n.apply(this,arguments),r.apply(this,arguments)||null)})}function ti(){var t=this.parentNode;t&&t.removeChild(this)}function ei(){return this.each(ti)}function ni(){var t=this.cloneNode(!1),e=this.parentNode;return e?e.insertBefore(t,this.nextSibling):t}function ri(){var t=this.cloneNode(!0),e=this.parentNode;return e?e.insertBefore(t,this.nextSibling):t}function ii(t){return this.select(t?ri:ni)}function oi(t){return arguments.length?this.property("__data__",t):this.node().__data__}function si(t){return function(e){t.call(this,e,this.__data__)}}function ai(t){return t.trim().split(/^|\s+/).map(function(e){var n="",r=e.indexOf(".");return r>=0&&(n=e.slice(r+1),e=e.slice(0,r)),{type:e,name:n}})}function ui(t){return function(){var e=this.__on;if(!!e){for(var n=0,r=-1,i=e.length,s;n<i;++n)s=e[n],(!t.type||s.type===t.type)&&s.name===t.name?this.removeEventListener(s.type,s.listener,s.options):e[++r]=s;++r?e.length=r:delete this.__on}}}function li(t,e,n){return function(){var r=this.__on,i,s=si(e);if(r){for(var o=0,a=r.length;o<a;++o)if((i=r[o]).type===t.type&&i.name===t.name){this.removeEventListener(i.type,i.listener,i.options),this.addEventListener(i.type,i.listener=s,i.options=n),i.value=e;return}}this.addEventListener(t.type,s,n),i={type:t.type,name:t.name,value:e,listener:s,options:n},r?r.push(i):this.__on=[i]}}function ci(t,e,n){var r=ai(t+""),i,s=r.length,o;if(arguments.length<2){var a=this.node().__on;if(a){for(var u=0,l=a.length,h;u<l;++u)for(i=0,h=a[u];i<s;++i)if((o=r[i]).type===h.type&&o.name===h.name)return h.value}return}for(a=e?li:ui,i=0;i<s;++i)this.each(a(r[i],e,n));return this}function Qe(t,e,n){var r=Ke(t),i=r.CustomEvent;typeof i=="function"?i=new i(e,n):(i=r.document.createEvent("Event"),n?(i.initEvent(e,n.bubbles,n.cancelable),i.detail=n.detail):i.initEvent(e,!1,!1)),t.dispatchEvent(i)}function hi(t,e){return function(){return Qe(this,t,e)}}function fi(t,e){return function(){return Qe(this,t,e.apply(this,arguments))}}function di(t,e){return this.each((typeof e=="function"?fi:hi)(t,e))}function*mi(){for(var t=this._groups,e=0,n=t.length;e<n;++e)for(var r=t[e],i=0,s=r.length,o;i<s;++i)(o=r[i])&&(yield o)}var Je=[null];function L(t,e){this._groups=t,this._parents=e}function Mt(){return new L([[document.documentElement]],Je)}function gi(){return this}L.prototype=Mt.prototype={constructor:L,select:Yn,selectAll:On,selectChild:Wn,selectChildren:jn,filter:tr,data:sr,enter:er,exit:ur,join:lr,merge:cr,selection:gi,order:hr,sort:fr,call:mr,nodes:gr,node:pr,size:vr,empty:yr,each:wr,attr:Nr,style:zr,property:Br,classed:Xr,text:Vr,html:Kr,raise:Ur,lower:Zr,append:Qr,insert:jr,remove:ei,clone:ii,datum:oi,on:ci,dispatch:di,[Symbol.iterator]:mi};function ot(t){return typeof t=="string"?new L([[document.querySelector(t)]],[document.documentElement]):new L([[t]],Je)}function pi(t){let e;for(;e=t.sourceEvent;)t=e;return t}function rt(t,e){if(t=pi(t),e===void 0&&(e=t.currentTarget),e){var n=e.ownerSVGElement||e;if(n.createSVGPoint){var r=n.createSVGPoint();return r.x=t.clientX,r.y=t.clientY,r=r.matrixTransform(e.getScreenCTM().inverse()),[r.x,r.y]}if(e.getBoundingClientRect){var i=e.getBoundingClientRect();return[t.clientX-i.left-e.clientLeft,t.clientY-i.top-e.clientTop]}}return[t.pageX,t.pageY]}const te={capture:!0,passive:!1};function ee(t){t.preventDefault(),t.stopImmediatePropagation()}function vi(t){var e=t.document.documentElement,n=ot(t).on("dragstart.drag",ee,te);"onselectstart"in e?n.on("selectstart.drag",ee,te):(e.__noselect=e.style.MozUserSelect,e.style.MozUserSelect="none")}function yi(t,e){var n=t.document.documentElement,r=ot(t).on("dragstart.drag",null);e&&(r.on("click.drag",ee,te),setTimeout(function(){r.on("click.drag",null)},0)),"onselectstart"in n?r.on("selectstart.drag",null):(n.style.MozUserSelect=n.__noselect,delete n.__noselect)}function he(t,e,n){t.prototype=e.prototype=n,n.constructor=t}function je(t,e){var n=Object.create(t.prototype);for(var r in e)n[r]=e[r];return n}function $t(){}var _t=.7,Xt=1/_t,ht="\\s*([+-]?\\d+)\\s*",kt="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",W="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",wi=/^#([0-9a-f]{3,8})$/,_i=new RegExp(`^rgb\\(${ht},${ht},${ht}\\)$`),ki=new RegExp(`^rgb\\(${W},${W},${W}\\)$`),bi=new RegExp(`^rgba\\(${ht},${ht},${ht},${kt}\\)$`),xi=new RegExp(`^rgba\\(${W},${W},${W},${kt}\\)$`),Mi=new RegExp(`^hsl\\(${kt},${W},${W}\\)$`),$i=new RegExp(`^hsla\\(${kt},${W},${W},${kt}\\)$`),_e={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};he($t,bt,{copy(t){return Object.assign(new this.constructor,this,t)},displayable(){return this.rgb().displayable()},hex:ke,formatHex:ke,formatHex8:Ni,formatHsl:Ci,formatRgb:be,toString:be});function ke(){return this.rgb().formatHex()}function Ni(){return this.rgb().formatHex8()}function Ci(){return tn(this).formatHsl()}function be(){return this.rgb().formatRgb()}function bt(t){var e,n;return t=(t+"").trim().toLowerCase(),(e=wi.exec(t))?(n=e[1].length,e=parseInt(e[1],16),n===6?xe(e):n===3?new V(e>>8&15|e>>4&240,e>>4&15|e&240,(e&15)<<4|e&15,1):n===8?Nt(e>>24&255,e>>16&255,e>>8&255,(e&255)/255):n===4?Nt(e>>12&15|e>>8&240,e>>8&15|e>>4&240,e>>4&15|e&240,((e&15)<<4|e&15)/255):null):(e=_i.exec(t))?new V(e[1],e[2],e[3],1):(e=ki.exec(t))?new V(e[1]*255/100,e[2]*255/100,e[3]*255/100,1):(e=bi.exec(t))?Nt(e[1],e[2],e[3],e[4]):(e=xi.exec(t))?Nt(e[1]*255/100,e[2]*255/100,e[3]*255/100,e[4]):(e=Mi.exec(t))?Ne(e[1],e[2]/100,e[3]/100,1):(e=$i.exec(t))?Ne(e[1],e[2]/100,e[3]/100,e[4]):_e.hasOwnProperty(t)?xe(_e[t]):t==="transparent"?new V(NaN,NaN,NaN,0):null}function xe(t){return new V(t>>16&255,t>>8&255,t&255,1)}function Nt(t,e,n,r){return r<=0&&(t=e=n=NaN),new V(t,e,n,r)}function Ei(t){return t instanceof $t||(t=bt(t)),t?(t=t.rgb(),new V(t.r,t.g,t.b,t.opacity)):new V}function ne(t,e,n,r){return arguments.length===1?Ei(t):new V(t,e,n,r==null?1:r)}function V(t,e,n,r){this.r=+t,this.g=+e,this.b=+n,this.opacity=+r}he(V,ne,je($t,{brighter(t){return t=t==null?Xt:Math.pow(Xt,t),new V(this.r*t,this.g*t,this.b*t,this.opacity)},darker(t){return t=t==null?_t:Math.pow(_t,t),new V(this.r*t,this.g*t,this.b*t,this.opacity)},rgb(){return this},clamp(){return new V(at(this.r),at(this.g),at(this.b),Ft(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:Me,formatHex:Me,formatHex8:Si,formatRgb:$e,toString:$e}));function Me(){return`#${st(this.r)}${st(this.g)}${st(this.b)}`}function Si(){return`#${st(this.r)}${st(this.g)}${st(this.b)}${st((isNaN(this.opacity)?1:this.opacity)*255)}`}function $e(){const t=Ft(this.opacity);return`${t===1?"rgb(":"rgba("}${at(this.r)}, ${at(this.g)}, ${at(this.b)}${t===1?")":`, ${t})`}`}function Ft(t){return isNaN(t)?1:Math.max(0,Math.min(1,t))}function at(t){return Math.max(0,Math.min(255,Math.round(t)||0))}function st(t){return t=at(t),(t<16?"0":"")+t.toString(16)}function Ne(t,e,n,r){return r<=0?t=e=n=NaN:n<=0||n>=1?t=e=NaN:e<=0&&(t=NaN),new G(t,e,n,r)}function tn(t){if(t instanceof G)return new G(t.h,t.s,t.l,t.opacity);if(t instanceof $t||(t=bt(t)),!t)return new G;if(t instanceof G)return t;t=t.rgb();var e=t.r/255,n=t.g/255,r=t.b/255,i=Math.min(e,n,r),s=Math.max(e,n,r),o=NaN,a=s-i,u=(s+i)/2;return a?(e===s?o=(n-r)/a+(n<r)*6:n===s?o=(r-e)/a+2:o=(e-n)/a+4,a/=u<.5?s+i:2-s-i,o*=60):a=u>0&&u<1?0:o,new G(o,a,u,t.opacity)}function zi(t,e,n,r){return arguments.length===1?tn(t):new G(t,e,n,r==null?1:r)}function G(t,e,n,r){this.h=+t,this.s=+e,this.l=+n,this.opacity=+r}he(G,zi,je($t,{brighter(t){return t=t==null?Xt:Math.pow(Xt,t),new G(this.h,this.s,this.l*t,this.opacity)},darker(t){return t=t==null?_t:Math.pow(_t,t),new G(this.h,this.s,this.l*t,this.opacity)},rgb(){var t=this.h%360+(this.h<0)*360,e=isNaN(t)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*e,i=2*n-r;return new V(Ut(t>=240?t-240:t+120,i,r),Ut(t,i,r),Ut(t<120?t+240:t-120,i,r),this.opacity)},clamp(){return new G(Ce(this.h),Ct(this.s),Ct(this.l),Ft(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const t=Ft(this.opacity);return`${t===1?"hsl(":"hsla("}${Ce(this.h)}, ${Ct(this.s)*100}%, ${Ct(this.l)*100}%${t===1?")":`, ${t})`}`}}));function Ce(t){return t=(t||0)%360,t<0?t+360:t}function Ct(t){return Math.max(0,Math.min(1,t||0))}function Ut(t,e,n){return(t<60?e+(n-e)*t/60:t<180?n:t<240?e+(n-e)*(240-t)/60:e)*255}const en=t=>()=>t;function Ri(t,e){return function(n){return t+n*e}}function Ti(t,e,n){return t=Math.pow(t,n),e=Math.pow(e,n)-t,n=1/n,function(r){return Math.pow(t+r*e,n)}}function Ai(t){return(t=+t)==1?nn:function(e,n){return n-e?Ti(e,n,t):en(isNaN(e)?n:e)}}function nn(t,e){var n=e-t;return n?Ri(t,n):en(isNaN(t)?e:t)}const Ee=function t(e){var n=Ai(e);function r(i,s){var o=n((i=ne(i)).r,(s=ne(s)).r),a=n(i.g,s.g),u=n(i.b,s.b),l=nn(i.opacity,s.opacity);return function(h){return i.r=o(h),i.g=a(h),i.b=u(h),i.opacity=l(h),i+""}}return r.gamma=t,r}(1);function it(t,e){return t=+t,e=+e,function(n){return t*(1-n)+e*n}}var re=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,Wt=new RegExp(re.source,"g");function Bi(t){return function(){return t}}function Ii(t){return function(e){return t(e)+""}}function Di(t,e){var n=re.lastIndex=Wt.lastIndex=0,r,i,s,o=-1,a=[],u=[];for(t=t+"",e=e+"";(r=re.exec(t))&&(i=Wt.exec(e));)(s=i.index)>n&&(s=e.slice(n,s),a[o]?a[o]+=s:a[++o]=s),(r=r[0])===(i=i[0])?a[o]?a[o]+=i:a[++o]=i:(a[++o]=null,u.push({i:o,x:it(r,i)})),n=Wt.lastIndex;return n<e.length&&(s=e.slice(n),a[o]?a[o]+=s:a[++o]=s),a.length<2?u[0]?Ii(u[0].x):Bi(e):(e=u.length,function(l){for(var h=0,f;h<e;++h)a[(f=u[h]).i]=f.x(l);return a.join("")})}var Se=180/Math.PI,ie={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function rn(t,e,n,r,i,s){var o,a,u;return(o=Math.sqrt(t*t+e*e))&&(t/=o,e/=o),(u=t*n+e*r)&&(n-=t*u,r-=e*u),(a=Math.sqrt(n*n+r*r))&&(n/=a,r/=a,u/=a),t*r<e*n&&(t=-t,e=-e,u=-u,o=-o),{translateX:i,translateY:s,rotate:Math.atan2(e,t)*Se,skewX:Math.atan(u)*Se,scaleX:o,scaleY:a}}var Et;function Pi(t){const e=new(typeof DOMMatrix=="function"?DOMMatrix:WebKitCSSMatrix)(t+"");return e.isIdentity?ie:rn(e.a,e.b,e.c,e.d,e.e,e.f)}function Xi(t){return t==null||(Et||(Et=document.createElementNS("http://www.w3.org/2000/svg","g")),Et.setAttribute("transform",t),!(t=Et.transform.baseVal.consolidate()))?ie:(t=t.matrix,rn(t.a,t.b,t.c,t.d,t.e,t.f))}function on(t,e,n,r){function i(l){return l.length?l.pop()+" ":""}function s(l,h,f,p,y,C){if(l!==f||h!==p){var E=y.push("translate(",null,e,null,n);C.push({i:E-4,x:it(l,f)},{i:E-2,x:it(h,p)})}else(f||p)&&y.push("translate("+f+e+p+n)}function o(l,h,f,p){l!==h?(l-h>180?h+=360:h-l>180&&(l+=360),p.push({i:f.push(i(f)+"rotate(",null,r)-2,x:it(l,h)})):h&&f.push(i(f)+"rotate("+h+r)}function a(l,h,f,p){l!==h?p.push({i:f.push(i(f)+"skewX(",null,r)-2,x:it(l,h)}):h&&f.push(i(f)+"skewX("+h+r)}function u(l,h,f,p,y,C){if(l!==f||h!==p){var E=y.push(i(y)+"scale(",null,",",null,")");C.push({i:E-4,x:it(l,f)},{i:E-2,x:it(h,p)})}else(f!==1||p!==1)&&y.push(i(y)+"scale("+f+","+p+")")}return function(l,h){var f=[],p=[];return l=t(l),h=t(h),s(l.translateX,l.translateY,h.translateX,h.translateY,f,p),o(l.rotate,h.rotate,f,p),a(l.skewX,h.skewX,f,p),u(l.scaleX,l.scaleY,h.scaleX,h.scaleY,f,p),l=h=null,function(y){for(var C=-1,E=p.length,R;++C<E;)f[(R=p[C]).i]=R.x(y);return f.join("")}}}var Fi=on(Pi,"px, ","px)","deg)"),Hi=on(Xi,", ",")",")"),Yi=1e-12;function ze(t){return((t=Math.exp(t))+1/t)/2}function Vi(t){return((t=Math.exp(t))-1/t)/2}function qi(t){return((t=Math.exp(2*t))-1)/(t+1)}const Li=function t(e,n,r){function i(s,o){var a=s[0],u=s[1],l=s[2],h=o[0],f=o[1],p=o[2],y=h-a,C=f-u,E=y*y+C*C,R,k;if(E<Yi)k=Math.log(p/l)/e,R=function(x){return[a+x*y,u+x*C,l*Math.exp(e*x*k)]};else{var D=Math.sqrt(E),z=(p*p-l*l+r*E)/(2*l*n*D),T=(p*p-l*l-r*E)/(2*p*n*D),M=Math.log(Math.sqrt(z*z+1)-z),$=Math.log(Math.sqrt(T*T+1)-T);k=($-M)/e,R=function(x){var b=x*k,A=ze(M),S=l/(n*D)*(A*qi(e*b+M)-Vi(M));return[a+S*y,u+S*C,l*A/ze(e*b+M)]}}return R.duration=k*1e3*e/Math.SQRT2,R}return i.rho=function(s){var o=Math.max(.001,+s),a=o*o,u=a*a;return t(o,a,u)},i}(Math.SQRT2,2,4);var dt=0,vt=0,gt=0,sn=1e3,Ht,yt,Yt=0,ut=0,Ot=0,xt=typeof performance=="object"&&performance.now?performance:Date,an=typeof window=="object"&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(t){setTimeout(t,17)};function fe(){return ut||(an(Oi),ut=xt.now()+Ot)}function Oi(){ut=0}function Vt(){this._call=this._time=this._next=null}Vt.prototype=un.prototype={constructor:Vt,restart:function(t,e,n){if(typeof t!="function")throw new TypeError("callback is not a function");n=(n==null?fe():+n)+(e==null?0:+e),!this._next&&yt!==this&&(yt?yt._next=this:Ht=this,yt=this),this._call=t,this._time=n,oe()},stop:function(){this._call&&(this._call=null,this._time=1/0,oe())}};function un(t,e,n){var r=new Vt;return r.restart(t,e,n),r}function Ki(){fe(),++dt;for(var t=Ht,e;t;)(e=ut-t._time)>=0&&t._call.call(void 0,e),t=t._next;--dt}function Re(){ut=(Yt=xt.now())+Ot,dt=vt=0;try{Ki()}finally{dt=0,Ui(),ut=0}}function Gi(){var t=xt.now(),e=t-Yt;e>sn&&(Ot-=e,Yt=t)}function Ui(){for(var t,e=Ht,n,r=1/0;e;)e._call?(r>e._time&&(r=e._time),t=e,e=e._next):(n=e._next,e._next=null,e=t?t._next=n:Ht=n);yt=t,oe(r)}function oe(t){if(!dt){vt&&(vt=clearTimeout(vt));var e=t-ut;e>24?(t<1/0&&(vt=setTimeout(Re,t-xt.now()-Ot)),gt&&(gt=clearInterval(gt))):(gt||(Yt=xt.now(),gt=setInterval(Gi,sn)),dt=1,an(Re))}}function Te(t,e,n){var r=new Vt;return e=e==null?0:+e,r.restart(i=>{r.stop(),t(i+e)},e,n),r}var Wi=ue("start","end","cancel","interrupt"),Zi=[],ln=0,Ae=1,se=2,Tt=3,Be=4,ae=5,At=6;function Kt(t,e,n,r,i,s){var o=t.__transition;if(!o)t.__transition={};else if(n in o)return;Qi(t,n,{name:e,index:r,group:i,on:Wi,tween:Zi,time:s.time,delay:s.delay,duration:s.duration,ease:s.ease,timer:null,state:ln})}function de(t,e){var n=U(t,e);if(n.state>ln)throw new Error("too late; already scheduled");return n}function Z(t,e){var n=U(t,e);if(n.state>Tt)throw new Error("too late; already running");return n}function U(t,e){var n=t.__transition;if(!n||!(n=n[e]))throw new Error("transition not found");return n}function Qi(t,e,n){var r=t.__transition,i;r[e]=n,n.timer=un(s,0,n.time);function s(l){n.state=Ae,n.timer.restart(o,n.delay,n.time),n.delay<=l&&o(l-n.delay)}function o(l){var h,f,p,y;if(n.state!==Ae)return u();for(h in r)if(y=r[h],y.name===n.name){if(y.state===Tt)return Te(o);y.state===Be?(y.state=At,y.timer.stop(),y.on.call("interrupt",t,t.__data__,y.index,y.group),delete r[h]):+h<e&&(y.state=At,y.timer.stop(),y.on.call("cancel",t,t.__data__,y.index,y.group),delete r[h])}if(Te(function(){n.state===Tt&&(n.state=Be,n.timer.restart(a,n.delay,n.time),a(l))}),n.state=se,n.on.call("start",t,t.__data__,n.index,n.group),n.state===se){for(n.state=Tt,i=new Array(p=n.tween.length),h=0,f=-1;h<p;++h)(y=n.tween[h].value.call(t,t.__data__,n.index,n.group))&&(i[++f]=y);i.length=f+1}}function a(l){for(var h=l<n.duration?n.ease.call(null,l/n.duration):(n.timer.restart(u),n.state=ae,1),f=-1,p=i.length;++f<p;)i[f].call(t,h);n.state===ae&&(n.on.call("end",t,t.__data__,n.index,n.group),u())}function u(){n.state=At,n.timer.stop(),delete r[e];for(var l in r)return;delete t.__transition}}function Bt(t,e){var n=t.__transition,r,i,s=!0,o;if(!!n){e=e==null?null:e+"";for(o in n){if((r=n[o]).name!==e){s=!1;continue}i=r.state>se&&r.state<ae,r.state=At,r.timer.stop(),r.on.call(i?"interrupt":"cancel",t,t.__data__,r.index,r.group),delete n[o]}s&&delete t.__transition}}function Ji(t){return this.each(function(){Bt(this,t)})}function ji(t,e){var n,r;return function(){var i=Z(this,t),s=i.tween;if(s!==n){r=n=s;for(var o=0,a=r.length;o<a;++o)if(r[o].name===e){r=r.slice(),r.splice(o,1);break}}i.tween=r}}function to(t,e,n){var r,i;if(typeof n!="function")throw new Error;return function(){var s=Z(this,t),o=s.tween;if(o!==r){i=(r=o).slice();for(var a={name:e,value:n},u=0,l=i.length;u<l;++u)if(i[u].name===e){i[u]=a;break}u===l&&i.push(a)}s.tween=i}}function eo(t,e){var n=this._id;if(t+="",arguments.length<2){for(var r=U(this.node(),n).tween,i=0,s=r.length,o;i<s;++i)if((o=r[i]).name===t)return o.value;return null}return this.each((e==null?ji:to)(n,t,e))}function me(t,e,n){var r=t._id;return t.each(function(){var i=Z(this,r);(i.value||(i.value={}))[e]=n.apply(this,arguments)}),function(i){return U(i,r).value[e]}}function cn(t,e){var n;return(typeof e=="number"?it:e instanceof bt?Ee:(n=bt(e))?(e=n,Ee):Di)(t,e)}function no(t){return function(){this.removeAttribute(t)}}function ro(t){return function(){this.removeAttributeNS(t.space,t.local)}}function io(t,e,n){var r,i=n+"",s;return function(){var o=this.getAttribute(t);return o===i?null:o===r?s:s=e(r=o,n)}}function oo(t,e,n){var r,i=n+"",s;return function(){var o=this.getAttributeNS(t.space,t.local);return o===i?null:o===r?s:s=e(r=o,n)}}function so(t,e,n){var r,i,s;return function(){var o,a=n(this),u;return a==null?void this.removeAttribute(t):(o=this.getAttribute(t),u=a+"",o===u?null:o===r&&u===i?s:(i=u,s=e(r=o,a)))}}function ao(t,e,n){var r,i,s;return function(){var o,a=n(this),u;return a==null?void this.removeAttributeNS(t.space,t.local):(o=this.getAttributeNS(t.space,t.local),u=a+"",o===u?null:o===r&&u===i?s:(i=u,s=e(r=o,a)))}}function uo(t,e){var n=Lt(t),r=n==="transform"?Hi:cn;return this.attrTween(t,typeof e=="function"?(n.local?ao:so)(n,r,me(this,"attr."+t,e)):e==null?(n.local?ro:no)(n):(n.local?oo:io)(n,r,e))}function lo(t,e){return function(n){this.setAttribute(t,e.call(this,n))}}function co(t,e){return function(n){this.setAttributeNS(t.space,t.local,e.call(this,n))}}function ho(t,e){var n,r;function i(){var s=e.apply(this,arguments);return s!==r&&(n=(r=s)&&co(t,s)),n}return i._value=e,i}function fo(t,e){var n,r;function i(){var s=e.apply(this,arguments);return s!==r&&(n=(r=s)&&lo(t,s)),n}return i._value=e,i}function mo(t,e){var n="attr."+t;if(arguments.length<2)return(n=this.tween(n))&&n._value;if(e==null)return this.tween(n,null);if(typeof e!="function")throw new Error;var r=Lt(t);return this.tween(n,(r.local?ho:fo)(r,e))}function go(t,e){return function(){de(this,t).delay=+e.apply(this,arguments)}}function po(t,e){return e=+e,function(){de(this,t).delay=e}}function vo(t){var e=this._id;return arguments.length?this.each((typeof t=="function"?go:po)(e,t)):U(this.node(),e).delay}function yo(t,e){return function(){Z(this,t).duration=+e.apply(this,arguments)}}function wo(t,e){return e=+e,function(){Z(this,t).duration=e}}function _o(t){var e=this._id;return arguments.length?this.each((typeof t=="function"?yo:wo)(e,t)):U(this.node(),e).duration}function ko(t,e){if(typeof e!="function")throw new Error;return function(){Z(this,t).ease=e}}function bo(t){var e=this._id;return arguments.length?this.each(ko(e,t)):U(this.node(),e).ease}function xo(t,e){return function(){var n=e.apply(this,arguments);if(typeof n!="function")throw new Error;Z(this,t).ease=n}}function Mo(t){if(typeof t!="function")throw new Error;return this.each(xo(this._id,t))}function $o(t){typeof t!="function"&&(t=qe(t));for(var e=this._groups,n=e.length,r=new Array(n),i=0;i<n;++i)for(var s=e[i],o=s.length,a=r[i]=[],u,l=0;l<o;++l)(u=s[l])&&t.call(u,u.__data__,l,s)&&a.push(u);return new nt(r,this._parents,this._name,this._id)}function No(t){if(t._id!==this._id)throw new Error;for(var e=this._groups,n=t._groups,r=e.length,i=n.length,s=Math.min(r,i),o=new Array(r),a=0;a<s;++a)for(var u=e[a],l=n[a],h=u.length,f=o[a]=new Array(h),p,y=0;y<h;++y)(p=u[y]||l[y])&&(f[y]=p);for(;a<r;++a)o[a]=e[a];return new nt(o,this._parents,this._name,this._id)}function Co(t){return(t+"").trim().split(/^|\s+/).every(function(e){var n=e.indexOf(".");return n>=0&&(e=e.slice(0,n)),!e||e==="start"})}function Eo(t,e,n){var r,i,s=Co(e)?de:Z;return function(){var o=s(this,t),a=o.on;a!==r&&(i=(r=a).copy()).on(e,n),o.on=i}}function So(t,e){var n=this._id;return arguments.length<2?U(this.node(),n).on.on(t):this.each(Eo(n,t,e))}function zo(t){return function(){var e=this.parentNode;for(var n in this.__transition)if(+n!==t)return;e&&e.removeChild(this)}}function Ro(){return this.on("end.remove",zo(this._id))}function To(t){var e=this._name,n=this._id;typeof t!="function"&&(t=le(t));for(var r=this._groups,i=r.length,s=new Array(i),o=0;o<i;++o)for(var a=r[o],u=a.length,l=s[o]=new Array(u),h,f,p=0;p<u;++p)(h=a[p])&&(f=t.call(h,h.__data__,p,a))&&("__data__"in h&&(f.__data__=h.__data__),l[p]=f,Kt(l[p],e,n,p,l,U(h,n)));return new nt(s,this._parents,e,n)}function Ao(t){var e=this._name,n=this._id;typeof t!="function"&&(t=Ve(t));for(var r=this._groups,i=r.length,s=[],o=[],a=0;a<i;++a)for(var u=r[a],l=u.length,h,f=0;f<l;++f)if(h=u[f]){for(var p=t.call(h,h.__data__,f,u),y,C=U(h,n),E=0,R=p.length;E<R;++E)(y=p[E])&&Kt(y,e,n,E,p,C);s.push(p),o.push(h)}return new nt(s,o,e,n)}var Bo=Mt.prototype.constructor;function Io(){return new Bo(this._groups,this._parents)}function Do(t,e){var n,r,i;return function(){var s=ft(this,t),o=(this.style.removeProperty(t),ft(this,t));return s===o?null:s===n&&o===r?i:i=e(n=s,r=o)}}function hn(t){return function(){this.style.removeProperty(t)}}function Po(t,e,n){var r,i=n+"",s;return function(){var o=ft(this,t);return o===i?null:o===r?s:s=e(r=o,n)}}function Xo(t,e,n){var r,i,s;return function(){var o=ft(this,t),a=n(this),u=a+"";return a==null&&(u=a=(this.style.removeProperty(t),ft(this,t))),o===u?null:o===r&&u===i?s:(i=u,s=e(r=o,a))}}function Fo(t,e){var n,r,i,s="style."+e,o="end."+s,a;return function(){var u=Z(this,t),l=u.on,h=u.value[s]==null?a||(a=hn(e)):void 0;(l!==n||i!==h)&&(r=(n=l).copy()).on(o,i=h),u.on=r}}function Ho(t,e,n){var r=(t+="")=="transform"?Fi:cn;return e==null?this.styleTween(t,Do(t,r)).on("end.style."+t,hn(t)):typeof e=="function"?this.styleTween(t,Xo(t,r,me(this,"style."+t,e))).each(Fo(this._id,t)):this.styleTween(t,Po(t,r,e),n).on("end.style."+t,null)}function Yo(t,e,n){return function(r){this.style.setProperty(t,e.call(this,r),n)}}function Vo(t,e,n){var r,i;function s(){var o=e.apply(this,arguments);return o!==i&&(r=(i=o)&&Yo(t,o,n)),r}return s._value=e,s}function qo(t,e,n){var r="style."+(t+="");if(arguments.length<2)return(r=this.tween(r))&&r._value;if(e==null)return this.tween(r,null);if(typeof e!="function")throw new Error;return this.tween(r,Vo(t,e,n==null?"":n))}function Lo(t){return function(){this.textContent=t}}function Oo(t){return function(){var e=t(this);this.textContent=e==null?"":e}}function Ko(t){return this.tween("text",typeof t=="function"?Oo(me(this,"text",t)):Lo(t==null?"":t+""))}function Go(t){return function(e){this.textContent=t.call(this,e)}}function Uo(t){var e,n;function r(){var i=t.apply(this,arguments);return i!==n&&(e=(n=i)&&Go(i)),e}return r._value=t,r}function Wo(t){var e="text";if(arguments.length<1)return(e=this.tween(e))&&e._value;if(t==null)return this.tween(e,null);if(typeof t!="function")throw new Error;return this.tween(e,Uo(t))}function Zo(){for(var t=this._name,e=this._id,n=fn(),r=this._groups,i=r.length,s=0;s<i;++s)for(var o=r[s],a=o.length,u,l=0;l<a;++l)if(u=o[l]){var h=U(u,e);Kt(u,t,n,l,o,{time:h.time+h.delay+h.duration,delay:0,duration:h.duration,ease:h.ease})}return new nt(r,this._parents,t,n)}function Qo(){var t,e,n=this,r=n._id,i=n.size();return new Promise(function(s,o){var a={value:o},u={value:function(){--i===0&&s()}};n.each(function(){var l=Z(this,r),h=l.on;h!==t&&(e=(t=h).copy(),e._.cancel.push(a),e._.interrupt.push(a),e._.end.push(u)),l.on=e}),i===0&&s()})}var Jo=0;function nt(t,e,n,r){this._groups=t,this._parents=e,this._name=n,this._id=r}function fn(){return++Jo}var tt=Mt.prototype;nt.prototype={constructor:nt,select:To,selectAll:Ao,selectChild:tt.selectChild,selectChildren:tt.selectChildren,filter:$o,merge:No,selection:Io,transition:Zo,call:tt.call,nodes:tt.nodes,node:tt.node,size:tt.size,empty:tt.empty,each:tt.each,on:So,attr:uo,attrTween:mo,style:Ho,styleTween:qo,text:Ko,textTween:Wo,remove:Ro,tween:eo,delay:vo,duration:_o,ease:bo,easeVarying:Mo,end:Qo,[Symbol.iterator]:tt[Symbol.iterator]};function jo(t){return((t*=2)<=1?t*t*t:(t-=2)*t*t+2)/2}var ts={time:null,delay:0,duration:250,ease:jo};function es(t,e){for(var n;!(n=t.__transition)||!(n=n[e]);)if(!(t=t.parentNode))throw new Error(`transition ${e} not found`);return n}function ns(t){var e,n;t instanceof nt?(e=t._id,t=t._name):(e=fn(),(n=ts).time=fe(),t=t==null?null:t+"");for(var r=this._groups,i=r.length,s=0;s<i;++s)for(var o=r[s],a=o.length,u,l=0;l<a;++l)(u=o[l])&&Kt(u,t,e,l,o,n||es(u,e));return new nt(r,this._parents,t,e)}Mt.prototype.interrupt=Ji;Mt.prototype.transition=ns;const St=t=>()=>t;function rs(t,{sourceEvent:e,target:n,transform:r,dispatch:i}){Object.defineProperties(this,{type:{value:t,enumerable:!0,configurable:!0},sourceEvent:{value:e,enumerable:!0,configurable:!0},target:{value:n,enumerable:!0,configurable:!0},transform:{value:r,enumerable:!0,configurable:!0},_:{value:i}})}function et(t,e,n){this.k=t,this.x=e,this.y=n}et.prototype={constructor:et,scale:function(t){return t===1?this:new et(this.k*t,this.x,this.y)},translate:function(t,e){return t===0&e===0?this:new et(this.k,this.x+this.k*t,this.y+this.k*e)},apply:function(t){return[t[0]*this.k+this.x,t[1]*this.k+this.y]},applyX:function(t){return t*this.k+this.x},applyY:function(t){return t*this.k+this.y},invert:function(t){return[(t[0]-this.x)/this.k,(t[1]-this.y)/this.k]},invertX:function(t){return(t-this.x)/this.k},invertY:function(t){return(t-this.y)/this.k},rescaleX:function(t){return t.copy().domain(t.range().map(this.invertX,this).map(t.invert,t))},rescaleY:function(t){return t.copy().domain(t.range().map(this.invertY,this).map(t.invert,t))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}};var ge=new et(1,0,0);et.prototype;function Zt(t){t.stopImmediatePropagation()}function pt(t){t.preventDefault(),t.stopImmediatePropagation()}function is(t){return(!t.ctrlKey||t.type==="wheel")&&!t.button}function os(){var t=this;return t instanceof SVGElement?(t=t.ownerSVGElement||t,t.hasAttribute("viewBox")?(t=t.viewBox.baseVal,[[t.x,t.y],[t.x+t.width,t.y+t.height]]):[[0,0],[t.width.baseVal.value,t.height.baseVal.value]]):[[0,0],[t.clientWidth,t.clientHeight]]}function Ie(){return this.__zoom||ge}function ss(t){return-t.deltaY*(t.deltaMode===1?.05:t.deltaMode?1:.002)*(t.ctrlKey?10:1)}function as(){return navigator.maxTouchPoints||"ontouchstart"in this}function us(t,e,n){var r=t.invertX(e[0][0])-n[0][0],i=t.invertX(e[1][0])-n[1][0],s=t.invertY(e[0][1])-n[0][1],o=t.invertY(e[1][1])-n[1][1];return t.translate(i>r?(r+i)/2:Math.min(0,r)||Math.max(0,i),o>s?(s+o)/2:Math.min(0,s)||Math.max(0,o))}function ls(){var t=is,e=os,n=us,r=ss,i=as,s=[0,1/0],o=[[-1/0,-1/0],[1/0,1/0]],a=250,u=Li,l=ue("start","zoom","end"),h,f,p,y=500,C=150,E=0,R=10;function k(c){c.property("__zoom",Ie).on("wheel.zoom",b,{passive:!1}).on("mousedown.zoom",A).on("dblclick.zoom",S).filter(i).on("touchstart.zoom",Q).on("touchmove.zoom",J).on("touchend.zoom touchcancel.zoom",j).style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}k.transform=function(c,w,d,_){var g=c.selection?c.selection():c;g.property("__zoom",Ie),c!==g?M(c,w,d,_):g.interrupt().each(function(){$(this,arguments).event(_).start().zoom(null,typeof w=="function"?w.apply(this,arguments):w).end()})},k.scaleBy=function(c,w,d,_){k.scaleTo(c,function(){var g=this.__zoom.k,v=typeof w=="function"?w.apply(this,arguments):w;return g*v},d,_)},k.scaleTo=function(c,w,d,_){k.transform(c,function(){var g=e.apply(this,arguments),v=this.__zoom,m=d==null?T(g):typeof d=="function"?d.apply(this,arguments):d,N=v.invert(m),B=typeof w=="function"?w.apply(this,arguments):w;return n(z(D(v,B),m,N),g,o)},d,_)},k.translateBy=function(c,w,d,_){k.transform(c,function(){return n(this.__zoom.translate(typeof w=="function"?w.apply(this,arguments):w,typeof d=="function"?d.apply(this,arguments):d),e.apply(this,arguments),o)},null,_)},k.translateTo=function(c,w,d,_,g){k.transform(c,function(){var v=e.apply(this,arguments),m=this.__zoom,N=_==null?T(v):typeof _=="function"?_.apply(this,arguments):_;return n(ge.translate(N[0],N[1]).scale(m.k).translate(typeof w=="function"?-w.apply(this,arguments):-w,typeof d=="function"?-d.apply(this,arguments):-d),v,o)},_,g)};function D(c,w){return w=Math.max(s[0],Math.min(s[1],w)),w===c.k?c:new et(w,c.x,c.y)}function z(c,w,d){var _=w[0]-d[0]*c.k,g=w[1]-d[1]*c.k;return _===c.x&&g===c.y?c:new et(c.k,_,g)}function T(c){return[(+c[0][0]+ +c[1][0])/2,(+c[0][1]+ +c[1][1])/2]}function M(c,w,d,_){c.on("start.zoom",function(){$(this,arguments).event(_).start()}).on("interrupt.zoom end.zoom",function(){$(this,arguments).event(_).end()}).tween("zoom",function(){var g=this,v=arguments,m=$(g,v).event(_),N=e.apply(g,v),B=d==null?T(N):typeof d=="function"?d.apply(g,v):d,P=Math.max(N[1][0]-N[0][0],N[1][1]-N[0][1]),I=g.__zoom,X=typeof w=="function"?w.apply(g,v):w,H=u(I.invert(B).concat(P/I.k),X.invert(B).concat(P/X.k));return function(F){if(F===1)F=X;else{var O=H(F),Gt=P/O[2];F=new et(Gt,B[0]-O[0]*Gt,B[1]-O[1]*Gt)}m.zoom(null,F)}})}function $(c,w,d){return!d&&c.__zooming||new x(c,w)}function x(c,w){this.that=c,this.args=w,this.active=0,this.sourceEvent=null,this.extent=e.apply(c,w),this.taps=0}x.prototype={event:function(c){return c&&(this.sourceEvent=c),this},start:function(){return++this.active===1&&(this.that.__zooming=this,this.emit("start")),this},zoom:function(c,w){return this.mouse&&c!=="mouse"&&(this.mouse[1]=w.invert(this.mouse[0])),this.touch0&&c!=="touch"&&(this.touch0[1]=w.invert(this.touch0[0])),this.touch1&&c!=="touch"&&(this.touch1[1]=w.invert(this.touch1[0])),this.that.__zoom=w,this.emit("zoom"),this},end:function(){return--this.active===0&&(delete this.that.__zooming,this.emit("end")),this},emit:function(c){var w=ot(this.that).datum();l.call(c,this.that,new rs(c,{sourceEvent:this.sourceEvent,target:k,type:c,transform:this.that.__zoom,dispatch:l}),w)}};function b(c,...w){if(!t.apply(this,arguments))return;var d=$(this,w).event(c),_=this.__zoom,g=Math.max(s[0],Math.min(s[1],_.k*Math.pow(2,r.apply(this,arguments)))),v=rt(c);if(d.wheel)(d.mouse[0][0]!==v[0]||d.mouse[0][1]!==v[1])&&(d.mouse[1]=_.invert(d.mouse[0]=v)),clearTimeout(d.wheel);else{if(_.k===g)return;d.mouse=[v,_.invert(v)],Bt(this),d.start()}pt(c),d.wheel=setTimeout(m,C),d.zoom("mouse",n(z(D(_,g),d.mouse[0],d.mouse[1]),d.extent,o));function m(){d.wheel=null,d.end()}}function A(c,...w){if(p||!t.apply(this,arguments))return;var d=c.currentTarget,_=$(this,w,!0).event(c),g=ot(c.view).on("mousemove.zoom",B,!0).on("mouseup.zoom",P,!0),v=rt(c,d),m=c.clientX,N=c.clientY;vi(c.view),Zt(c),_.mouse=[v,this.__zoom.invert(v)],Bt(this),_.start();function B(I){if(pt(I),!_.moved){var X=I.clientX-m,H=I.clientY-N;_.moved=X*X+H*H>E}_.event(I).zoom("mouse",n(z(_.that.__zoom,_.mouse[0]=rt(I,d),_.mouse[1]),_.extent,o))}function P(I){g.on("mousemove.zoom mouseup.zoom",null),yi(I.view,_.moved),pt(I),_.event(I).end()}}function S(c,...w){if(!!t.apply(this,arguments)){var d=this.__zoom,_=rt(c.changedTouches?c.changedTouches[0]:c,this),g=d.invert(_),v=d.k*(c.shiftKey?.5:2),m=n(z(D(d,v),_,g),e.apply(this,w),o);pt(c),a>0?ot(this).transition().duration(a).call(M,m,_,c):ot(this).call(k.transform,m,_,c)}}function Q(c,...w){if(!!t.apply(this,arguments)){var d=c.touches,_=d.length,g=$(this,w,c.changedTouches.length===_).event(c),v,m,N,B;for(Zt(c),m=0;m<_;++m)N=d[m],B=rt(N,this),B=[B,this.__zoom.invert(B),N.identifier],g.touch0?!g.touch1&&g.touch0[2]!==B[2]&&(g.touch1=B,g.taps=0):(g.touch0=B,v=!0,g.taps=1+!!h);h&&(h=clearTimeout(h)),v&&(g.taps<2&&(f=B[0],h=setTimeout(function(){h=null},y)),Bt(this),g.start())}}function J(c,...w){if(!!this.__zooming){var d=$(this,w).event(c),_=c.changedTouches,g=_.length,v,m,N,B;for(pt(c),v=0;v<g;++v)m=_[v],N=rt(m,this),d.touch0&&d.touch0[2]===m.identifier?d.touch0[0]=N:d.touch1&&d.touch1[2]===m.identifier&&(d.touch1[0]=N);if(m=d.that.__zoom,d.touch1){var P=d.touch0[0],I=d.touch0[1],X=d.touch1[0],H=d.touch1[1],F=(F=X[0]-P[0])*F+(F=X[1]-P[1])*F,O=(O=H[0]-I[0])*O+(O=H[1]-I[1])*O;m=D(m,Math.sqrt(F/O)),N=[(P[0]+X[0])/2,(P[1]+X[1])/2],B=[(I[0]+H[0])/2,(I[1]+H[1])/2]}else if(d.touch0)N=d.touch0[0],B=d.touch0[1];else return;d.zoom("touch",n(z(m,N,B),d.extent,o))}}function j(c,...w){if(!!this.__zooming){var d=$(this,w).event(c),_=c.changedTouches,g=_.length,v,m;for(Zt(c),p&&clearTimeout(p),p=setTimeout(function(){p=null},y),v=0;v<g;++v)m=_[v],d.touch0&&d.touch0[2]===m.identifier?delete d.touch0:d.touch1&&d.touch1[2]===m.identifier&&delete d.touch1;if(d.touch1&&!d.touch0&&(d.touch0=d.touch1,delete d.touch1),d.touch0)d.touch0[1]=this.__zoom.invert(d.touch0[0]);else if(d.end(),d.taps===2&&(m=rt(m,this),Math.hypot(f[0]-m[0],f[1]-m[1])<R)){var N=ot(this).on("dblclick.zoom");N&&N.apply(this,arguments)}}}return k.wheelDelta=function(c){return arguments.length?(r=typeof c=="function"?c:St(+c),k):r},k.filter=function(c){return arguments.length?(t=typeof c=="function"?c:St(!!c),k):t},k.touchable=function(c){return arguments.length?(i=typeof c=="function"?c:St(!!c),k):i},k.extent=function(c){return arguments.length?(e=typeof c=="function"?c:St([[+c[0][0],+c[0][1]],[+c[1][0],+c[1][1]]]),k):e},k.scaleExtent=function(c){return arguments.length?(s[0]=+c[0],s[1]=+c[1],k):[s[0],s[1]]},k.translateExtent=function(c){return arguments.length?(o[0][0]=+c[0][0],o[1][0]=+c[1][0],o[0][1]=+c[0][1],o[1][1]=+c[1][1],k):[[o[0][0],o[0][1]],[o[1][0],o[1][1]]]},k.constrain=function(c){return arguments.length?(n=c,k):n},k.duration=function(c){return arguments.length?(a=+c,k):a},k.interpolate=function(c){return arguments.length?(u=c,k):u},k.on=function(){var c=l.on.apply(l,arguments);return c===l?k:c},k.clickDistance=function(c){return arguments.length?(E=(c=+c)*c,k):Math.sqrt(E)},k.tapDistance=function(c){return arguments.length?(R=+c,k):R},k}const dn=Symbol("MiniMapSlots"),cs=["id","x","y","rx","ry","width","height","fill","stroke","stroke-width","shape-rendering"],hs={name:"MiniMapNode",compatConfig:{MODE:3}},fs=qt({...hs,props:{id:{},type:{},selected:{type:Boolean},dragging:{type:Boolean},position:{},dimensions:{},borderRadius:{},color:{},shapeRendering:{},strokeColor:{},strokeWidth:{}},emits:["click","dblclick","mouseenter","mousemove","mouseleave"],setup(t,{emit:e}){const n=t,r=Nn(dn),i=Pe(),s=Jt(()=>{var f;return(f=i.style)!=null?f:{}});function o(f){e("click",f)}function a(f){e("dblclick",f)}function u(f){e("mouseenter",f)}function l(f){e("mousemove",f)}function h(f){e("mouseleave",f)}return(f,p)=>q(r)[`node-${n.type}`]?(K(),wt(En(q(r)[`node-${n.type}`]),Cn(He({key:0},n)),null,16)):(K(),ct("rect",{key:1,id:f.id,class:It(["vue-flow__minimap-node",{selected:f.selected,dragging:f.dragging}]),x:f.position.x,y:f.position.y,rx:f.borderRadius,ry:f.borderRadius,width:f.dimensions.width,height:f.dimensions.height,fill:f.color||s.value.background||s.value.backgroundColor,stroke:f.strokeColor,"stroke-width":f.strokeWidth,"shape-rendering":f.shapeRendering,onClick:o,onDblclick:a,onMouseenter:u,onMousemove:l,onMouseleave:h},null,42,cs))}}),ds=["width","height","viewBox","aria-labelledby"],ms=["id"],gs=["d","fill","stroke","stroke-width"],ps={name:"MiniMap",compatConfig:{MODE:3}},vs=qt({...ps,props:{nodeColor:{type:[String,Function],default:"#e2e2e2"},nodeStrokeColor:{type:[String,Function],default:"transparent"},nodeClassName:{type:[String,Function]},nodeBorderRadius:{default:5},nodeStrokeWidth:{default:2},maskColor:{default:"rgb(240, 240, 240, 0.6)"},maskStrokeColor:{default:"none"},maskStrokeWidth:{default:1},position:{default:"bottom-right"},pannable:{type:Boolean,default:!1},zoomable:{type:Boolean,default:!1},width:{},height:{},ariaLabel:{default:"Vue Flow mini map"},inversePan:{type:Boolean,default:!1},zoomStep:{default:10},offsetScale:{default:5},maskBorderRadius:{default:0}},emits:["click","nodeClick","nodeDblclick","nodeMouseenter","nodeMousemove","nodeMouseleave"],setup(t,{emit:e}){const n=_n(),r=Pe(),i=200,s=150,{id:o,edges:a,viewport:u,translateExtent:l,dimensions:h,emits:f,d3Selection:p,d3Zoom:y,getNodesInitialized:C}=De(),E=Qt();kn(dn,n);const R=Jt(()=>{var v,m;var g;return(m=(v=t.width)!=null?v:(g=r.style)==null?void 0:g.width)!=null?m:i}),k=Jt(()=>{var v,m;var g;return(m=(v=t.height)!=null?v:(g=r.style)==null?void 0:g.height)!=null?m:s}),D=typeof window>"u"||!!window.chrome?"crispEdges":"geometricPrecision",z=Y(()=>typeof t.nodeColor=="string"?()=>t.nodeColor:t.nodeColor),T=Y(()=>typeof t.nodeStrokeColor=="string"?()=>t.nodeStrokeColor:t.nodeStrokeColor),M=Y(()=>typeof t.nodeClassName=="string"?()=>t.nodeClassName:typeof t.nodeClassName=="function"?t.nodeClassName:()=>""),$=Y(()=>gn(C.value)),x=Y(()=>({x:-u.value.x/u.value.zoom,y:-u.value.y/u.value.zoom,width:h.value.width/u.value.zoom,height:h.value.height/u.value.zoom})),b=Y(()=>C.value&&C.value.length?pn($.value,x.value):x.value),A=Y(()=>{const g=b.value.width/R.value,v=b.value.height/k.value;return Math.max(g,v)}),S=Y(()=>{const g=A.value*R.value,v=A.value*k.value,m=t.offsetScale*A.value;return{offset:m,x:b.value.x-(g-b.value.width)/2-m,y:b.value.y-(v-b.value.height)/2-m,width:g+m*2,height:v+m*2}}),Q=Y(()=>!S.value.x||!S.value.y?"":`
2
- M${S.value.x-S.value.offset},${S.value.y-S.value.offset}
3
- h${S.value.width+S.value.offset*2}
4
- v${S.value.height+S.value.offset*2}
5
- h${-S.value.width-S.value.offset*2}z
6
- M${x.value.x+t.maskBorderRadius},${x.value.y}
7
- h${x.value.width-2*t.maskBorderRadius}
8
- a${t.maskBorderRadius},${t.maskBorderRadius} 0 0 1 ${t.maskBorderRadius},${t.maskBorderRadius}
9
- v${x.value.height-2*t.maskBorderRadius}
10
- a${t.maskBorderRadius},${t.maskBorderRadius} 0 0 1 -${t.maskBorderRadius},${t.maskBorderRadius}
11
- h${-(x.value.width-2*t.maskBorderRadius)}
12
- a${t.maskBorderRadius},${t.maskBorderRadius} 0 0 1 -${t.maskBorderRadius},-${t.maskBorderRadius}
13
- v${-(x.value.height-2*t.maskBorderRadius)}
14
- a${t.maskBorderRadius},${t.maskBorderRadius} 0 0 1 ${t.maskBorderRadius},-${t.maskBorderRadius}z`);bn(g=>{if(E.value){const v=ot(E.value),m=P=>{if(P.sourceEvent.type!=="wheel"||!p.value||!y.value)return;const I=-P.sourceEvent.deltaY*(P.sourceEvent.deltaMode===1?.05:P.sourceEvent.deltaMode?1:.002)*t.zoomStep,X=u.value.zoom*2**I;y.value.scaleTo(p.value,X)},N=P=>{if(P.sourceEvent.type!=="mousemove"||!p.value||!y.value)return;const I=A.value*Math.max(1,u.value.zoom)*(t.inversePan?-1:1),X={x:u.value.x-P.sourceEvent.movementX*I,y:u.value.y-P.sourceEvent.movementY*I},H=[[0,0],[h.value.width,h.value.height]],F=ge.translate(X.x,X.y).scale(u.value.zoom),O=y.value.constrain()(F,H,l.value);y.value.transform(p.value,O)},B=ls().on("zoom",t.pannable?N:()=>{}).on("zoom.wheel",t.zoomable?m:()=>{});v.call(B),g(()=>{v.on("zoom",null)})}},{flush:"post"});function J(g){const[v,m]=rt(g);e("click",{event:g,position:{x:v,y:m}})}function j(g,v){const m={event:g,node:v,connectedEdges:mt([v],a.value)};f.miniMapNodeClick(m),e("nodeClick",m)}function c(g,v){const m={event:g,node:v,connectedEdges:mt([v],a.value)};f.miniMapNodeDoubleClick(m),e("nodeDblclick",m)}function w(g,v){const m={event:g,node:v,connectedEdges:mt([v],a.value)};f.miniMapNodeMouseEnter(m),e("nodeMouseenter",m)}function d(g,v){const m={event:g,node:v,connectedEdges:mt([v],a.value)};f.miniMapNodeMouseMove(m),e("nodeMousemove",m)}function _(g,v){const m={event:g,node:v,connectedEdges:mt([v],a.value)};f.miniMapNodeMouseLeave(m),e("nodeMouseleave",m)}return(g,v)=>(K(),wt(q(vn),{position:g.position,class:It(["vue-flow__minimap",{pannable:g.pannable,zoomable:g.zoomable}])},{default:zt(()=>[(K(),ct("svg",{ref_key:"el",ref:E,width:R.value,height:k.value,viewBox:[S.value.x,S.value.y,S.value.width,S.value.height].join(" "),role:"img","aria-labelledby":`vue-flow__minimap-${q(o)}`,onClick:J},[g.ariaLabel?(K(),ct("title",{key:0,id:`vue-flow__minimap-${q(o)}`},xn(g.ariaLabel),9,ms)):Mn("",!0),(K(!0),ct(Xe,null,$n(q(C),m=>(K(),wt(fs,{id:m.id,key:m.id,position:m.computedPosition,dimensions:m.dimensions,selected:m.selected,dragging:m.dragging,style:Fe(m.style),class:It(M.value(m)),color:z.value(m),"border-radius":g.nodeBorderRadius,"stroke-color":T.value(m),"stroke-width":g.nodeStrokeWidth,"shape-rendering":q(D),type:m.type,onClick:N=>j(N,m),onDblclick:N=>c(N,m),onMouseenter:N=>w(N,m),onMousemove:N=>d(N,m),onMouseleave:N=>_(N,m)},null,8,["id","position","dimensions","selected","dragging","style","class","color","border-radius","stroke-color","stroke-width","shape-rendering","type","onClick","onDblclick","onMouseenter","onMousemove","onMouseleave"]))),128)),Dt("path",{class:"vue-flow__minimap-mask",d:Q.value,fill:g.maskColor,stroke:g.maskStrokeColor,"stroke-width":g.maskStrokeWidth,"fill-rule":"evenodd"},null,8,gs)],8,ds))]),_:1},8,["position","class"]))}}),ys=["d"],ws=qt({__name:"TableEdge",props:{id:{},sourceNode:{},targetNode:{},source:{},target:{},type:{},label:{type:[String,Object,Function]},style:{},selected:{type:Boolean},sourcePosition:{},targetPosition:{},sourceHandleId:{},targetHandleId:{},animated:{type:Boolean},updatable:{type:Boolean},markerStart:{},markerEnd:{},curvature:{},interactionWidth:{},data:{},events:{},labelStyle:{},labelShowBg:{type:Boolean},labelBgStyle:{},labelBgPadding:{},labelBgBorderRadius:{},sourceX:{},sourceY:{},targetX:{},targetY:{},isHovered:{type:Boolean}},emits:["mouseenter","mouseleave","click"],setup(t,{emit:e}){const n=t,r=Y(()=>({type:"arrowclosed",width:20,height:20,color:n.isHovered?"#1890ff":"#b1b1b7"})),i=Y(()=>({stroke:n.isHovered?"#1890ff":"#b1b1b7",strokeWidth:n.isHovered?3:2,transition:"all 0.2s ease"}));function s(a,u,l,h,f,p,y,C){const E=a+l/2,R=u+h/2,k=f+y/2,D=p+C/2,z=k-E,T=D-R;let M=E,$=R;Math.abs(z)>Math.abs(T)?z>0?(M=a+l,$=R+T/z*(l/2)):(M=a,$=R+T/z*(-l/2)):T>0?($=u+h,M=E+z/T*(h/2)):($=u,M=E+z/T*(-h/2));let x=k,b=D;return Math.abs(z)>Math.abs(T)?z>0?(x=f,b=D-T/z*(y/2)):(x=f+y,b=D-T/z*(-y/2)):T>0?(b=p,x=k-z/T*(C/2)):(b=p+C,x=k-z/T*(-C/2)),{sourceX:M,sourceY:$,targetX:x,targetY:b}}const o=Y(()=>{const a=n.sourceNode,u=n.targetNode;if(!a||!u)return ve({sourceX:0,sourceY:0,targetX:0,targetY:0});const l=s(a.computedPosition.x,a.computedPosition.y,a.dimensions.width,a.dimensions.height,u.computedPosition.x,u.computedPosition.y,u.dimensions.width,u.dimensions.height);return ve(l)});return(a,u)=>(K(),ct("g",{style:{cursor:"pointer"},onMouseenter:u[0]||(u[0]=l=>e("mouseenter")),onMouseleave:u[1]||(u[1]=l=>e("mouseleave")),onClick:u[2]||(u[2]=l=>e("click"))},[lt(q(yn),{path:o.value[0],"marker-end":r.value,style:Fe(i.value)},null,8,["path","marker-end","style"]),Dt("path",{d:o.value[0],fill:"none",stroke:"transparent","stroke-width":"20",class:"hover-target"},null,8,ys)],32))}}),_s={class:"flow-container",style:{height:"calc(100vh - 160px)",width:"100%"}},ks={class:"diagram-table-card"},bs=qt({__name:"TablesDiagram",setup(t){const e=(M,$)=>{const x=new pe.graphlib.Graph;return x.setGraph({rankdir:"TD",ranksep:150,nodesep:100,edgesep:30,ranker:"network-simplex",align:void 0}),x.setDefaultEdgeLabel(()=>({})),M.forEach(b=>{x.setNode(b.id,{width:300,height:320})}),$.forEach(b=>{x.setEdge(b.source,b.target)}),pe.layout(x),M.map(b=>({...b,position:{x:x.node(b.id).x,y:x.node(b.id).y}}))},r=Sn().params.projectId,{tables:i,loading:s}=Bn(r),o=Y(()=>{var M,$;return($=(M=i.value)==null?void 0:M.flatMap(x=>x.getColumns().filter(b=>b.foreignKey).map(b=>{const A=i.value.find(S=>S.getColumn(b.foreignKey.columnId));return{id:`${x.id}:${b.id}:${b.foreignKey.columnId}`,source:x.id,target:A.id,data:{sourceColumnId:b.id,targetColumnId:b.foreignKey.columnId}}})))!=null?$:[]}),a=Y(()=>s.value?[]:e(i.value.map(M=>({id:M.id,type:"table",data:M,position:{x:0,y:0}})),o.value)),u=Qt(null),l=M=>{u.value=M},h=M=>{var b,A;if(!u.value)return[];const $=o.value.find(S=>S.id===u.value);if(!$)return[];const x=[];return $.source===M&&((b=$.data)==null?void 0:b.sourceColumnId)&&x.push($.data.sourceColumnId),$.target===M&&((A=$.data)==null?void 0:A.targetColumnId)&&x.push($.data.targetColumnId),x},f=M=>{if(!u.value)return!1;const $=o.value.find(x=>x.id===u.value);return $?$.source===M||$.target===M:!1},p=M=>{var Q,J,j,c;const x=z.value.find(w=>w.id===M);if(!x)return;const b=(J=(Q=x.computedPosition)==null?void 0:Q.x)!=null?J:x.position.x,A=(c=(j=x.computedPosition)==null?void 0:j.y)!=null?c:x.position.y,S=200;D({x:b-S,y:A-S,width:400+S*2,height:420+S*2},{duration:800,padding:.1})},y=M=>{var v,m,N,B,P,I,X,H;const $=o.value.find(F=>F.id===M);if(!$)return;const x=z.value,b=x.find(F=>F.id===$.source),A=x.find(F=>F.id===$.target);if(!b||!A)return;const S=(m=(v=b.computedPosition)==null?void 0:v.x)!=null?m:b.position.x,Q=(B=(N=b.computedPosition)==null?void 0:N.y)!=null?B:b.position.y,J=(I=(P=A.computedPosition)==null?void 0:P.x)!=null?I:A.position.x,j=(H=(X=A.computedPosition)==null?void 0:X.y)!=null?H:A.position.y,c=Math.min(S,J),w=Math.min(Q,j),d=Math.max(S+300,J+300),_=Math.max(Q+320,j+320),g=50;D({x:c-g,y:w-g,width:d-c+g*2,height:_-w+g*2},{duration:800,padding:.1})},{onInit:C,onNodeDragStop:E,onConnect:R,addEdges:k,fitBounds:D,getNodes:z}=De(),T=Qt(!1);return C(M=>{M.fitView()}),E(({event:M,nodes:$,node:x})=>{console.log("Node Drag Stop",{event:M,nodes:$,node:x})}),R(M=>{k(M)}),(M,$)=>{const x=zn("AntSpin");return K(),ct(Xe,null,[lt(An),Dt("div",_s,[q(s)?(K(),wt(x,{key:0,style:{width:"100%"}})):(K(),wt(q(wn),{key:1,nodes:a.value,edges:o.value,class:It([{dark:T.value},"basic-flow"]),"default-viewport":{zoom:1.5},"fit-view-on-init":"","min-zoom":.01,"max-zoom":4,"pan-on-scroll":""},{"node-table":zt(b=>[Dt("div",ks,[lt(Tn,{table:b.data,"project-id":q(r),"show-handles":!1,"highlighted-columns":h(b.data.id),"is-highlighted":f(b.data.id),onDblclick:A=>p(b.data.id)},null,8,["table","project-id","highlighted-columns","is-highlighted","onDblclick"])])]),"edge-default":zt(b=>[lt(ws,He(b,{"is-hovered":u.value===b.id,onMouseenter:A=>l(b.id),onMouseleave:$[0]||($[0]=A=>l(null)),onClick:A=>y(b.id)}),null,16,["is-hovered","onMouseenter","onClick"])]),default:zt(()=>[lt(q(mn),{"pattern-color":"#aaa",gap:16}),lt(q(vs),{pannable:""})]),_:1},8,["nodes","edges","class"]))])],64)}}});const Xs=Rn(bs,[["__scopeId","data-v-4b7d90f2"]]);export{Xs as default};
15
- //# sourceMappingURL=TablesDiagram.d633acaf.js.map
@@ -1,2 +0,0 @@
1
- import{d as i,e5 as f,eb as m,o as c,a as p,b as l,a5 as _,ec as g,f as y,e as v,ed as k,u as n,aR as w}from"./jwt-decode.esm.54a1ea22.js";import{A as I,T}from"./Card.fc77085c.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},a=new Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="c8571a30-96c1-4ee8-975c-ba9bbfc9d83e",e._sentryDebugIdIdentifier="sentry-dbid-c8571a30-96c1-4ee8-975c-ba9bbfc9d83e")}catch{}})();const R=i({__name:"TablesTabs",setup(e){const a=f(),t=m(),u=String(t.name),d=t.params.projectId,r=[{label:"Tables list",value:"tables"},{label:"Diagram view",value:"tables-diagram"},{label:"Run SQL",value:"sql"}],b=o=>{a.push({name:String(o),params:{projectId:d}})};return(o,D)=>(c(),p(n(T),{"active-key":n(u),options:r,"onUpdate:activeKey":b},{default:l(()=>[(c(),_(w,null,g(r,s=>y(n(I),{key:s.value,name:s.value},{tab:l(()=>[v("span",null,k(s.label),1)]),_:2},1032,["name"])),64))]),_:1},8,["active-key"]))}});export{R as _};
2
- //# sourceMappingURL=TablesTabs.vue_vue_type_script_setup_true_lang.cf7e34c5.js.map
@@ -1,2 +0,0 @@
1
- import{f as l,e7 as E,d as L,c as N,J as M,I as U,a5 as T,b as a,u as e,aR as I,o as u,cx as C,aB as z,cw as J,a as f,c$ as q,g as S,d8 as k,ef as G,d6 as H,ed as x,dc as P,d2 as Q,h as O,em as W,S as X,cV as Y,cF as Z,eb as K,A as ee}from"./jwt-decode.esm.54a1ea22.js";import{_ as te}from"./AbstraButton.vue_vue_type_script_setup_true_lang.aefce2d3.js";import{I as ae}from"./PhCopy.vue.d116ddfb.js";import{T as le,R as ne}from"./tasksController.f3adf725.js";import{s as se}from"./metadata.0098e20c.js";import{t as re}from"./ant-design.42419021.js";import{c as oe}from"./string.61e11a30.js";import{R as ie}from"./dayjs.7f71c60a.js";import{g as R,a as v}from"./router.4dfadf5d.js";import{a as de,B as ue}from"./build.45b511b6.js";import{a as ce}from"./project.1b8374f4.js";import"./tables.1bcb1140.js";import{a as pe}from"./asyncComputed.47aec2b5.js";import"./contracts.generated.aefe8d0a.js";import"./record.e83a2eb2.js";import"./linters.a0f2aa84.js";import"./polling.b5a32c22.js";import"./PhUserList.vue.e0b8c21b.js";import"./PhWebhooksLogo.vue.d164db1e.js";import"./index.c7a996a6.js";(function(){try{var r=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},o=new Error().stack;o&&(r._sentryDebugIds=r._sentryDebugIds||{},r._sentryDebugIds[o]="e58ec688-3f5f-406b-8b22-98870c8bd63c",r._sentryDebugIdIdentifier="sentry-dbid-e58ec688-3f5f-406b-8b22-98870c8bd63c")}catch{}})();var fe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M168 504.2c1-43.7 10-86.1 26.9-126 17.3-41 42.1-77.7 73.7-109.4S337 212.3 378 195c42.4-17.9 87.4-27 133.9-27s91.5 9.1 133.8 27A341.5 341.5 0 01755 268.8c9.9 9.9 19.2 20.4 27.8 31.4l-60.2 47a8 8 0 003 14.1l175.7 43c5 1.2 9.9-2.6 9.9-7.7l.8-180.9c0-6.7-7.7-10.5-12.9-6.3l-56.4 44.1C765.8 155.1 646.2 92 511.8 92 282.7 92 96.3 275.6 92 503.8a8 8 0 008 8.2h60c4.4 0 7.9-3.5 8-7.8zm756 7.8h-60c-4.4 0-7.9 3.5-8 7.8-1 43.7-10 86.1-26.9 126-17.3 41-42.1 77.8-73.7 109.4A342.45 342.45 0 01512.1 856a342.24 342.24 0 01-243.2-100.8c-9.9-9.9-19.2-20.4-27.8-31.4l60.2-47a8 8 0 00-3-14.1l-175.7-43c-5-1.2-9.9 2.6-9.9 7.7l-.7 181c0 6.7 7.7 10.5 12.9 6.3l56.4-44.1C258.2 868.9 377.8 932 512.2 932c229.2 0 415.5-183.7 419.8-411.8a8 8 0 00-8-8.2z"}}]},name:"sync",theme:"outlined"};const ge=fe;function B(r){for(var o=1;o<arguments.length;o++){var n=arguments[o]!=null?Object(arguments[o]):{},g=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(g=g.concat(Object.getOwnPropertySymbols(n).filter(function(p){return Object.getOwnPropertyDescriptor(n,p).enumerable}))),g.forEach(function(p){me(r,p,n[p])})}return r}function me(r,o,n){return o in r?Object.defineProperty(r,o,{value:n,enumerable:!0,configurable:!0,writable:!0}):r[o]=n,r}var D=function(o,n){var g=B({},o,n.attrs);return l(E,B({},g,{icon:ge}),null)};D.displayName="SyncOutlined";D.inheritAttrs=!1;const ye=D,Se={key:4,style:{"min-width":"100px"}},be=L({__name:"TasksView",props:{api:{},stages:{},editor:{type:Boolean}},setup(r,{expose:o}){const n=r,{setup:g,tearDown:p,state:s,getColumns:m,fetchTasks:b,clearAllTasks:w}=le({api:n.api,poll:!0,stages:n.stages}),A=t=>t.dataIndex===void 0&&"children"in t&&Array.isArray(t.children)&&t.children.length===0,h=N(()=>n.stages?s.tasks.map(t=>{var d,y,c;const i=(d=n.stages)==null?void 0:d.find(_=>_.id===t.targetStageId);return i?{...t,targetStageTitle:i.stageTitle,targetStageType:i.stageType,completedAt:(c=t.completed)!=null&&c.at?new Date(t.completed.at).toLocaleString():"Not completed",createdAt:new Date(t.created.at).toLocaleString(),deleted:!1}:{...t,targetStageTitle:null,targetStageType:null,completedAt:(y=t.completed)!=null&&y.at?new Date(t.completed.at).toLocaleString():"Not completed",createdAt:new Date(t.created.at).toLocaleString(),deleted:!0}}):s.tasks.map(t=>{var i;return{...t,deleted:!1,completedAt:(i=t.completed)!=null&&i.at?new Date(t.completed.at).toLocaleString():"Not completed",createdAt:new Date(t.created.at).toLocaleString()}})),$=(t,i,d)=>{var _,j;const y=(_=t.current)!=null?_:1,c=(j=t.pageSize)!=null?j:10;s.pagination.currentIndex=y-1,s.pagination.pageSize=c,b()},F=(t,i)=>`/_editor/${t}/${i}`,V=t=>{typeof t=="object"?navigator.clipboard.writeText(JSON.stringify(t)):navigator.clipboard.writeText(String(t)),Z.success({content:"Copied to clipboard"})};return o({clearAllTasks:w}),M(()=>g()),U(()=>p()),(t,i)=>(u(),T(I,null,[l(e(J),{layout:"vertical"},{default:a(()=>[l(e(R),{gutter:10},{default:a(()=>[l(e(v),{span:10},{default:a(()=>[l(e(C),{label:"Stage"},{default:a(()=>[l(e(z),{value:e(s).filters.stage,"onUpdate:value":i[0]||(i[0]=d=>e(s).filters.stage=d),options:e(s).filterOptions.stages,placeholder:"All","allow-clear":""},null,8,["value","options"])]),_:1})]),_:1}),l(e(v),{span:6},{default:a(()=>[l(e(C),{label:"Status"},{default:a(()=>[l(e(z),{value:e(s).filters.status,"onUpdate:value":i[1]||(i[1]=d=>e(s).filters.status=d),options:e(s).filterOptions.statuses,"option-label":"label","option-value":"value",filter:!1,placeholder:"All","allow-clear":""},null,8,["value","options"])]),_:1})]),_:1}),l(e(v),{span:8},{default:a(()=>[l(e(C),{label:"Created at date"},{default:a(()=>[l(e(ie),{value:e(s).filters.dateRange,"onUpdate:value":i[2]||(i[2]=d=>e(s).filters.dateRange=d),style:{width:"100%"}},null,8,["value"])]),_:1})]),_:1})]),_:1})]),_:1}),l(e(Y),{columns:e(m)(),"data-source":h.value,scroll:{x:"max-content",y:1e3},bordered:"",size:"small",pagination:{current:e(s).pagination.currentIndex+1,pageSize:e(s).pagination.pageSize,total:e(s).pagination.totalCount},onChange:$},{bodyCell:a(({column:d,text:y,record:c})=>[d.key==="payload"?(u(),f(e(q),{key:0,"tree-data":e(re)(c.payload),selectable:!1},null,8,["tree-data"])):d.key==="targetStageTitle"?(u(),T(I,{key:1},[c.deleted?(u(),f(e(k),{key:0},{default:a(()=>[S("Not found")]),_:1})):(u(),f(e(P),{key:1,gap:"small",justify:"center"},{default:a(()=>[(u(),f(G(e(se)(c.targetStageType)),{size:"20"})),t.editor?(u(),f(e(H),{key:0,href:F(c.targetStageType,c.targetStageId)},{default:a(()=>[S(x(c.targetStageTitle),1)]),_:2},1032,["href"])):(u(),f(e(k),{key:1},{default:a(()=>[S(x(c.targetStageTitle),1)]),_:2},1024))]),_:2},1024))],64)):d.dataIndex==="status"?(u(),f(e(P),{key:2,gap:"small",justify:"center"},{default:a(()=>[l(e(Q),null,{default:a(()=>[S(x(e(oe)(String(y)))+" ",1),y==="started"?(u(),f(e(ye),{key:0,spin:!0,style:{"margin-left":"4px"}})):O("",!0)]),_:2},1024)]),_:2},1024)):d.dataIndex==="actions"?(u(),f(te,{key:3,type:"text",size:"small",tooltip:"Copy Payload Data",onClick:W(_=>V(c.payload),["stop"])},{default:a(()=>[l(e(ae))]),_:2},1032,["onClick"])):A(d)?(u(),T("div",Se)):O("",!0)]),footer:a(()=>[l(e(R),{justify:"end",gutter:10},{default:a(()=>[l(e(v),null,{default:a(()=>[l(e(X),{size:"small"})]),_:1}),l(e(v),null,{default:a(()=>[l(e(k),null,{default:a(()=>[S(" auto updating ")]),_:1})]),_:1})]),_:1})]),_:1},8,["columns","data-source","pagination"])],64))}}),Fe=L({__name:"Tasks",setup(r){const n=K().params.projectId,g=new ne(n),{result:p}=pe(async()=>{const b=(await de.list(n)).find(h=>h.latest);if(!b)return null;const[w,A]=await Promise.all([ue.get(b.id),ce.get(n)]);return{buildSpec:w,project:A}}),s=N(()=>!p.value||!p.value.buildSpec?null:p.value.buildSpec.runtimes.map(m=>({id:m.id,stageTitle:m.title,stageType:m.type})));return(m,b)=>(u(),T(I,null,[l(e(ee),null,{default:a(()=>[S("Tasks")]),_:1}),s.value?(u(),f(be,{key:0,class:"tasks",api:e(g),stages:s.value},null,8,["api","stages"])):O("",!0)],64))}});export{Fe as default};
2
- //# sourceMappingURL=Tasks.c311b05f.js.map
@@ -1,2 +0,0 @@
1
- var me=Object.defineProperty;var fe=(s,e,a)=>e in s?me(s,e,{enumerable:!0,configurable:!0,writable:!0,value:a}):s[e]=a;var U=(s,e,a)=>(fe(s,typeof e!="symbol"?e+"":e,a),a);import{a as q}from"./asyncComputed.47aec2b5.js";import{d as b,r as x,a as g,b as l,u as t,o as y,f as r,cN as J,g as h,aB as G,cP as ge,bR as _,dc as he,ae as S,cx as w,bJ as T,cw as B,c as H,a5 as Q,ec as ve,d2 as _e,ed as we,aR as W,en as X,cC as Y,eb as be,J as Ce,h as I,A as ke,d7 as Pe}from"./jwt-decode.esm.54a1ea22.js";import{A as E}from"./index.966ac1b9.js";import{_ as Ue}from"./DocsButton.vue_vue_type_script_setup_true_lang.689d8ce7.js";import{d as F,k as R,p as k}from"./router.4dfadf5d.js";import{C as ee}from"./CrudView.cc6aeaf0.js";import{G as te}from"./PhPencil.vue.feb383e2.js";import{C as Re}from"./repository.66c7567c.js";import{E as ae}from"./record.e83a2eb2.js";import{a as M}from"./ant-design.42419021.js";import{A as Z,T as Ee}from"./Card.fc77085c.js";import"./constants.d569f33d.js";import"./index.c7a996a6.js";import"./url.f5664225.js";import"./PhDotsThreeVertical.vue.5e8ae2a9.js";import"./fetch.1b3d01a0.js";(function(){try{var s=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new Error().stack;e&&(s._sentryDebugIds=s._sentryDebugIds||{},s._sentryDebugIds[e]="e76bde38-a623-4d0e-9d72-775bd1c771f9",s._sentryDebugIdIdentifier="sentry-dbid-e76bde38-a623-4d0e-9d72-775bd1c771f9")}catch{}})();const xe=b({__name:"View",props:{signupPolicy:{}},emits:["updated","save"],setup(s,{emit:e}){const a=s,o=x(a.signupPolicy.strategy),n=x(a.signupPolicy.strategy==="patternOnly"?a.signupPolicy.emailPatterns:[]),i=x(a.signupPolicy.strategy==="patternOnly"?a.signupPolicy.emailPatterns.map(c=>({label:c})):[]),m=c=>{const C=c;if(n.value=C,C.length===0){o.value="inviteOnly",f("inviteOnly");return}i.value=C.map(P=>({label:P})),a.signupPolicy.emailPatterns=c,e("updated",a.signupPolicy)},p=()=>{e("save")},f=c=>{o.value=c,c!=="patternOnly"&&(c==="inviteOnly"&&a.signupPolicy.allowOnlyInvited(),e("updated",a.signupPolicy))};return(c,C)=>(y(),g(t(he),{style:{"padding-top":"8px",width:"100%"},justify:"space-between",align:"flex-end"},{default:l(()=>[r(t(ge),{value:o.value,"onUpdate:value":f},{default:l(()=>[r(t(E),{direction:"vertical"},{default:l(()=>[r(t(J),{value:"inviteOnly"},{default:l(()=>[h("Allow listed users only")]),_:1}),r(t(E),null,{default:l(()=>[r(t(J),{value:"patternOnly"},{default:l(()=>[h("Allow everyone from this domain:")]),_:1}),r(t(G),{mode:"tags",value:c.signupPolicy.emailPatterns,style:{"min-width":"300px"},placeholder:"@domain.com or sub.domain.com",disabled:o.value!=="patternOnly",options:i.value,"dropdown-match-select-width":"",open:!1,"onUpdate:value":m},null,8,["value","disabled","options"])]),_:1})]),_:1})]),_:1},8,["value"]),r(t(_),{disabled:!c.signupPolicy.hasChanges,type:"primary",onClick:p},{default:l(()=>[h(" Save changes ")]),_:1},8,["disabled"])]),_:1}))}}),Ae=b({__name:"NewUser",props:{roleOptions:{}},emits:["created","cancel"],setup(s,{emit:e}){const o=s.roleOptions.map(p=>({label:p.name,value:p.name})),n=S({email:"",roles:[]});function i(){e("cancel")}function m(){!n.email||e("created",n)}return(p,f)=>(y(),g(t(F),{open:"",title:"New user",width:720,"body-style":{paddingBottom:"80px"},"footer-style":{textAlign:"right"},onClose:i},{extra:l(()=>[r(t(E),null,{default:l(()=>[r(t(_),{onClick:i},{default:l(()=>[h("Cancel")]),_:1}),r(t(_),{type:"primary",onClick:m},{default:l(()=>[h("Submit")]),_:1})]),_:1})]),default:l(()=>[r(t(B),{model:n,layout:"vertical"},{default:l(()=>[r(t(w),{key:"email",label:"Email",required:!0},{default:l(()=>[r(t(T),{value:n.email,"onUpdate:value":f[0]||(f[0]=c=>n.email=c)},null,8,["value"])]),_:1}),r(t(w),{key:"role",label:"Role"},{default:l(()=>[r(t(G),{value:n.roles,"onUpdate:value":f[1]||(f[1]=c=>n.roles=c),mode:"multiple",options:t(o)},null,8,["value","options"])]),_:1})]),_:1},8,["model"])]),_:1}))}}),Oe=b({__name:"UpdateUser",props:{roleOptions:{},email:{},roles:{}},emits:["updated","cancel"],setup(s,{emit:e}){const a=s,o=a.roleOptions.map(p=>({label:p.name,value:p.name})),n=S({email:a.email,roles:a.roles});function i(){e("cancel")}function m(){e("updated",n)}return(p,f)=>(y(),g(t(F),{open:"",title:"Update user",width:720,"body-style":{paddingBottom:"80px"},"footer-style":{textAlign:"right"},onClose:i},{extra:l(()=>[r(t(E),null,{default:l(()=>[r(t(_),{onClick:i},{default:l(()=>[h("Cancel")]),_:1}),r(t(_),{type:"primary",onClick:m},{default:l(()=>[h("Submit")]),_:1})]),_:1})]),default:l(()=>[r(t(B),{model:n,layout:"vertical"},{default:l(()=>[r(t(w),{key:"email",label:"Email"},{default:l(()=>[r(t(T),{value:n.email,"onUpdate:value":f[0]||(f[0]=c=>n.email=c)},null,8,["value"])]),_:1}),r(t(w),{key:"role",label:"Role"},{default:l(()=>[r(t(G),{value:n.roles,"onUpdate:value":f[1]||(f[1]=c=>n.roles=c),mode:"multiple",options:t(o)},null,8,["value","options"])]),_:1})]),_:1},8,["model"])]),_:1}))}}),$e=b({__name:"View",props:{loading:{type:Boolean},users:{},onCreate:{type:Function},onEdit:{type:Function},onDelete:{type:Function}},setup(s){const e=s,a=H(()=>{var o;return{columns:[{title:"Email"},{title:"Roles"},{title:"",align:"right"}],rows:(o=e.users.map(n=>({key:n.email,cells:[{type:"text",text:n.email},{type:"slot",key:"roles",payload:{roles:n.roles}},{type:"actions",actions:[{icon:te,label:"Edit",onClick:()=>e.onEdit(n)},{icon:X,label:"Delete",onClick:()=>e.onDelete(n)}]}]})))!=null?o:[]}});return(o,n)=>(y(),g(ee,{"entity-name":"users",title:"",loading:o.loading,description:"List all app users.","empty-title":"No users yet",table:a.value,"create-button-text":"Add users",create:o.onCreate},{roles:l(({payload:i})=>[(y(!0),Q(W,null,ve(i.roles,m=>(y(),g(t(_e),{key:m,bordered:""},{default:l(()=>[h(we(m),1)]),_:2},1024))),128))]),_:1},8,["loading","table","create"]))}}),De=b({__name:"NewRole",emits:["created","cancel"],setup(s,{emit:e}){const a=S({name:"",description:""});function o(){e("cancel")}function n(){!a.name||e("created",a)}return(i,m)=>(y(),g(t(F),{open:"",title:"New role",width:720,"body-style":{paddingBottom:"80px"},"footer-style":{textAlign:"right"},onClose:o},{extra:l(()=>[r(t(E),null,{default:l(()=>[r(t(_),{onClick:o},{default:l(()=>[h("Cancel")]),_:1}),r(t(_),{type:"primary",onClick:n},{default:l(()=>[h("Submit")]),_:1})]),_:1})]),default:l(()=>[r(t(B),{model:a,layout:"vertical"},{default:l(()=>[r(t(w),{key:"name",label:"Name",required:!0},{default:l(()=>[r(t(T),{value:a.name,"onUpdate:value":m[0]||(m[0]=p=>a.name=p)},null,8,["value"])]),_:1}),r(t(w),{key:"description",label:"Description"},{default:l(()=>[r(t(Y),{value:a.description,"onUpdate:value":m[1]||(m[1]=p=>a.description=p),placeholder:"Optional description",rows:3},null,8,["value"])]),_:1})]),_:1},8,["model"])]),_:1}))}}),Ie=b({__name:"UpdateRole",props:{name:{},description:{}},emits:["updated","cancel"],setup(s,{emit:e}){const a=s,o=S({description:a.description});function n(){e("cancel")}function i(){e("updated",o)}return(m,p)=>(y(),g(t(F),{open:"",title:"Update role",width:720,"body-style":{paddingBottom:"80px"},"footer-style":{textAlign:"right"},onClose:n},{extra:l(()=>[r(t(E),null,{default:l(()=>[r(t(_),{onClick:n},{default:l(()=>[h("Cancel")]),_:1}),r(t(_),{type:"primary",onClick:i},{default:l(()=>[h("Submit")]),_:1})]),_:1})]),default:l(()=>[r(t(B),{model:o,layout:"vertical"},{default:l(()=>[r(t(w),{key:"name",label:"Name"},{default:l(()=>[r(t(T),{value:a.name,disabled:""},null,8,["value"])]),_:1}),r(t(w),{key:"role",label:"Role"},{default:l(()=>[r(t(Y),{value:o.description,"onUpdate:value":p[0]||(p[0]=f=>o.description=f),placeholder:"Optional description",rows:3},null,8,["value"])]),_:1})]),_:1},8,["model"])]),_:1}))}}),je=b({__name:"View",props:{loading:{type:Boolean},roles:{},onCreate:{type:Function},onEdit:{type:Function},onDelete:{type:Function}},setup(s){const e=s,a=H(()=>{var o;return{columns:[{title:"Name"},{title:"Description"},{title:"",align:"right"}],rows:(o=e.roles.map(n=>({key:n.id,cells:[{type:"text",text:n.name},{type:"text",text:n.description},{type:"actions",actions:[{icon:te,label:"Edit",onClick:()=>e.onEdit(n)},{icon:X,label:"Delete",onClick:()=>e.onDelete(n)}]}]})))!=null?o:[]}});return(o,n)=>(y(),g(ee,{"entity-name":"roles",loading:o.loading,title:"",description:"List all app roles.","empty-title":"No roles yet",table:a.value,"create-button-text":"Add roles",create:o.onCreate},null,8,["loading","table","create"]))}}),N=class{constructor(e){U(this,"record");this.dto=e,this.record=ae.from(e)}static from(e){return new N(e)}toDTO(){return this.record.toDTO()}get id(){return this.record.get("id")}get projectId(){return this.record.get("projectId")}get emailPatterns(){return this.record.get("emailPatterns")}set emailPatterns(e){this.record.set("emailPatterns",e)}get hasChanges(){return this.record.hasChangesDeep("emailPatterns")}get strategy(){return this.dto.emailPatterns.length===0?"inviteOnly":"patternOnly"}get changes(){return this.record.changes}allowOnlyInvited(){this.record.set("emailPatterns",[])}static validate(e){return N.pattern.test(e)}};let A=N;U(A,"pattern",new RegExp("^@?(?!-)[A-Za-z0-9-]{1,}(?<!-)(\\.[A-Za-z]{2,})+$"));class Ne{constructor(){U(this,"urlPath","signup-policy")}async update(e,a){return R.patch(`projects/${e}/${this.urlPath}`,a)}async get(e){return R.get(`projects/${e}/${this.urlPath}`)}}const K=new Ne;class Se{constructor(e){this.projectId=e}async update(e){const{emailPatterns:a}=e.changes;if(!a)return e;const o=await K.update(this.projectId,{emailPatterns:a});return A.from(o)}async get(){const e=await K.get(this.projectId);return A.from(e)}}class z{constructor(e){U(this,"record");this.dto=e,this.record=ae.from(e)}static from(e){return new z(e)}toDTO(){return this.record.toDTO()}get changes(){return this.record.changes}get id(){return this.record.get("id")}get email(){return this.record.get("email")}set email(e){this.record.set("email",e)}get projectId(){return this.record.get("projectId")}get roles(){return this.record.get("roles")}set roles(e){this.record.set("roles",e)}update(e){this.record.update(e)}resetChanges(){this.record.resetChanges()}}class Te{constructor(){U(this,"urlPath","users")}async create(e,a){return R.post(`projects/${e}/${this.urlPath}`,a)}async delete(e,a){await R.delete(`projects/${e}/${this.urlPath}/${a}`)}async list(e,{limit:a,offset:o}){const n={};a&&(n.limit=a.toString()),o&&(n.offset=o.toString());const i=new URLSearchParams(n);return R.get(`projects/${e}/${this.urlPath}?${i.toString()}`)}async update(e,a,o){return R.patch(`projects/${e}/${this.urlPath}/${a}`,o)}}const j=new Te;class Be{constructor(e){this.projectId=e}async create(e){await j.create(this.projectId,e)}async update(e,a){await j.update(this.projectId,e,a)}async delete(e){await j.delete(this.projectId,e)}async list(e,a){return(await j.list(this.projectId,{limit:e,offset:a})).map(z.from)}}const at=b({__name:"View",setup(s){const a=be().params.projectId,o=x({type:"initial"}),n=x("users");Ce(()=>{const d=new URLSearchParams(location.search).get("selected-panel")||"users",v=["roles","users"].includes(d)?d:"users";d&&(n.value=v)});const i=()=>{o.value.type="initial"},m=()=>{o.value.type="creatingUser"},p=u=>{o.value={type:"editingUser",payload:u}},f=()=>{o.value.type="creatingRole"},c=u=>{o.value={type:"editingRole",payload:u}},C=new Se(a),{result:P,refetch:oe}=q(()=>C.get()),ne=async()=>{if(!!P.value)try{await C.update(P.value),oe()}catch(u){u instanceof Error&&k("Update Error",u.message)}},O=new Be(a),{loading:re,result:le,refetch:$}=q(()=>O.list(100,0)),D=new Re(a),{loading:se,result:V,refetch:L}=q(()=>D.list(100,0)),ie=async u=>{try{if(o.value.type!=="creatingUser")return;await O.create(u),i(),$()}catch(d){d instanceof Error&&k("Create Error",d.message)}},ce=async u=>{try{if(o.value.type!=="editingUser")return;await O.update(o.value.payload.id,u),i(),$()}catch(d){d instanceof Error&&k("Update Error",d.message)}},ue=async u=>{if(!!await M("Deleting users revoke their access to your application (in case they aren't allowed by a domain rule). Are you sure you want to continue?"))try{await O.delete(u.id),$()}catch(v){v instanceof Error&&k("Delete Error",v.message)}},de=async u=>{try{if(o.value.type!=="creatingRole")return;await D.create(u),i(),L()}catch(d){d instanceof Error&&k("Create Error",d.message)}},pe=async u=>{try{if(o.value.type!=="editingRole")return;await D.update(o.value.payload.id,u),i(),L()}catch(d){d instanceof Error&&k("Update Error",d.message)}},ye=async u=>{if(!!await M("Deleteing roles may revoke access to some features in your application. Are you sure you want to continue?"))try{await D.delete(u.id),L(),$()}catch(v){v instanceof Error&&k("Delete Error",v.message)}};return(u,d)=>(y(),Q(W,null,[r(t(ke),null,{default:l(()=>[h("Access Control")]),_:1}),r(t(Pe),null,{default:l(()=>[h(" Manage how your end users interect with your application. "),r(Ue,{path:"tools/access-control"})]),_:1}),r(t(Ee),{"active-key":n.value,"onUpdate:activeKey":d[0]||(d[0]=v=>n.value=v)},{default:l(()=>[r(t(Z),{key:"users",tab:"Users"}),r(t(Z),{key:"roles",tab:"Roles"})]),_:1},8,["active-key"]),n.value==="users"&&t(P)?(y(),g(xe,{key:0,"signup-policy":t(P),onSave:ne},null,8,["signup-policy"])):I("",!0),n.value==="users"?(y(),g($e,{key:1,loading:t(re),users:t(le)||[],onCreate:m,onEdit:p,onDelete:ue},null,8,["loading","users"])):I("",!0),n.value==="roles"?(y(),g(je,{key:2,loading:t(se),roles:t(V)||[],onCreate:f,onEdit:c,onDelete:ye},null,8,["loading","roles"])):I("",!0),o.value.type==="creatingUser"?(y(),g(Ae,{key:3,"role-options":t(V)||[],onCancel:i,onCreated:ie},null,8,["role-options"])):o.value.type==="editingUser"?(y(),g(Oe,{key:4,email:o.value.payload.email,roles:o.value.payload.roles||[],"role-options":t(V)||[],onUpdated:ce,onCancel:i},null,8,["email","roles","role-options"])):o.value.type==="creatingRole"?(y(),g(De,{key:5,onCancel:i,onCreated:de})):o.value.type==="editingRole"?(y(),g(Ie,{key:6,name:o.value.payload.name,description:o.value.payload.description,onUpdated:pe,onCancel:i},null,8,["name","description"])):I("",!0)],64))}});export{at as default};
2
- //# sourceMappingURL=View.dd7ba25a.js.map
@@ -1,2 +0,0 @@
1
- var x=Object.defineProperty;var _=(i,e,t)=>e in i?x(i,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):i[e]=t;var s=(i,e,t)=>(_(i,typeof e!="symbol"?e+"":e,t),t);import{k as C}from"./router.4dfadf5d.js";import{l as D}from"./fetch.1b3d01a0.js";import{E as U}from"./record.e83a2eb2.js";import{N as I,r as R,en as S,d as $,w as F,J as O,aq as B,a5 as L,u as a,a as h,ek as M,b as o,h as v,aR as N,o as u,g as f,ed as b,f as y,cw as P,d8 as G,cC as W,cx as z,M as J}from"./jwt-decode.esm.54a1ea22.js";import{S as A}from"./SaveButton.428227de.js";import{C as Z}from"./CrudView.cc6aeaf0.js";import{a as q}from"./asyncComputed.47aec2b5.js";import{o as m}from"./omniChatStore.dd7a1c46.js";import{G as H}from"./PhPencil.vue.feb383e2.js";import{u as K}from"./useCodebaseEvents.276cc8f0.js";import{A as Q}from"./index.d53182ed.js";(function(){try{var i=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new Error().stack;e&&(i._sentryDebugIds=i._sentryDebugIds||{},i._sentryDebugIds[e]="868c0aff-9bbe-40e8-8fd0-e234bf0d0bd2",i._sentryDebugIdIdentifier="sentry-dbid-868c0aff-9bbe-40e8-8fd0-e234bf0d0bd2")}catch{}})();class g{constructor(e){s(this,"data");s(this,"deleted");s(this,"wasDeleted",e=>this.deleted.value.includes(e));s(this,"wasUpdated",e=>this.data.hasChangesDeep(e));s(this,"set",(e,t)=>{this.data.set(e,t),this.deleted.value=this.deleted.value.filter(n=>n!==e)});s(this,"get",e=>{if(!this.deleted.value.includes(e))return this.data.get(e)});s(this,"delete",e=>{this.deleted.value=[...this.deleted.value,e]});s(this,"values",()=>{const e={},t=Object.keys(this.data.changes).concat(Object.keys(this.data.initialState));for(const n of t)this.deleted.value.includes(n)||(e[n]=this.data.get(n));return e});s(this,"commit",()=>{this.data=U.from(this.values()),this.deleted.value=[]});this.data=U.from(e),this.deleted=I([])}static from(e){const t=e.reduce((n,{name:d,value:p})=>(n[d]=p,n),{});return new g(t)}get changes(){const e=this.deleted.value.map(t=>({name:t,change:"delete"}));for(const t of Object.keys(this.data.changes))if(!this.deleted.value.includes(t)){if(this.data.initialState[t]===void 0){e.push({name:t,value:this.data.get(t),change:"create"});continue}this.data.hasChangesDeep(t)&&e.push({name:t,value:this.data.get(t),change:"update"})}return e}}class X{constructor(){s(this,"urlPath","env-vars")}async list(e){return await C.get(`projects/${e}/${this.urlPath}`)}async update(e,t){await C.patch(`projects/${e}/${this.urlPath}`,t)}}const T=new X;class ce{constructor(e){this.projectId=e}async get(){const e=await T.list(this.projectId);return g.from(e.map(t=>({...t,value:""})))}async update(e){await T.update(this.projectId,e)}}class he{constructor(e=D){this.fetch=e}async get(){const e=await this.fetch("/_editor/api/env-vars");if(!e.ok)throw new Error("Failed to list env vars");const t=await e.json();return g.from(t)}async update(e){await this.fetch("/_editor/api/env-vars",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)})}}class w{constructor(e,t,n){s(this,"envVarRepo");s(this,"envVars");s(this,"state",R({type:"idle"}));s(this,"mode");s(this,"validate",e=>{const t=/^[A-Za-z_][A-Za-z0-9_]*$/,{key:n,value:d}=e;if(d.trim()!==d)throw new Error("Environment variable values cannot have leading or trailing whitespace.");if(!t.test(n))throw new Error(`Invalid key: \u2018${n}\u2019. A key must begin with a letter or an underscore, and may only include letters, numbers, and underscores.`)});s(this,"create",e=>{this.validate(e),this.envVars.set(e.key,e.value),this.state.value={type:"idle"}});s(this,"delete",e=>{this.envVars.delete(e),this.state.value={type:"idle"}});s(this,"startUpdating",e=>{this.state.value={type:"updating",name:e,value:this.envVars.get(e)||""}});s(this,"confirmUpdate",()=>{this.state.value.type==="updating"&&(this.envVars.set(this.state.value.name,this.state.value.value),this.state.value={type:"idle"})});s(this,"cancelUpdate",()=>{this.state.value={type:"idle"}});s(this,"refetch",async()=>{if(!this.isLocalEditor)return;const e=await this.envVarRepo.get();Object.entries(e.values()).forEach(([t,n])=>{this.envVars.wasDeleted(t)||this.envVars.get(t)===void 0&&this.envVars.set(t,n)})});s(this,"columns",()=>[{title:"Key"},{title:"Value"},{title:""}]);s(this,"rows",()=>Object.entries(this.envVars.values()).map(([e])=>({key:e,cells:[{type:"text",text:e,contentType:this.wasUpdated(e)?"warning":"default"},{type:"text",text:"*********",contentType:this.wasUpdated(e)?"warning":"default"},{type:"actions",actions:[{icon:S,label:"Delete",onClick:()=>this.delete(e),dangerous:!0},{icon:H,label:"Update",onClick:()=>this.startUpdating(e)}]}]})));s(this,"save",async()=>{await this.envVarRepo.update(this.envVars.changes),this.envVars.commit()});s(this,"hasChanges",()=>this.envVars.changes.length>0);s(this,"table",()=>({columns:this.columns(),rows:this.rows()}));this.envVarRepo=e,this.envVars=t,this.mode=n}static async create(e,t){const n=await e.get();return new w(e,n,t)}get isLocalEditor(){return this.mode==="editor"}get saveMessage(){return this.isLocalEditor?"Save":"Save and Apply"}get creationFields(){return[{label:"Variable name",key:"key"},{label:"Variable value",key:"value",type:"multiline-text"}]}get isUpdating(){return this.state.value.type==="updating"}wasUpdated(e){return this.envVars.wasUpdated(e)}}const ve=$({__name:"View",props:{envVarRepository:{},mode:{},hideTitle:{type:Boolean}},setup(i){const e=i,{result:t,loading:n,refetch:d}=q(async()=>await w.create(e.envVarRepository,e.mode)),p=K();F(p.lastEvent,async l=>{var r;l&&l.filepath&&l.filepath.endsWith(".env")&&await((r=t.value)==null?void 0:r.refetch())});const j={columns:[],rows:[]};return O(()=>{const l=m.subscribe("envVarCreated",()=>{d()}),r=m.subscribe("envVarEdited",()=>{d()});B(()=>{m.unsubscribe(l),m.unsubscribe(r)})}),(l,r)=>{var V,k;return u(),L(N,null,[a(t)?(u(),h(Z,{key:0,"entity-name":"Env var",loading:a(n),title:e.hideTitle?"":"Environment Variables",description:e.hideTitle?"":"Set environment variables for your project.","empty-title":"No environment variables set",table:a(t).table()||j,"create-button-text":"Add Environment Variable",create:a(t).create,fields:a(t).creationFields||[],live:a(t).isLocalEditor},M({_:2},[(V=a(t))!=null&&V.isLocalEditor?{name:"secondary",fn:o(()=>[l.mode=="editor"?(u(),h(A,{key:0,model:a(t),disabled:!a(t).hasChanges()},{"with-changes":o(()=>[f(b(a(t).saveMessage),1)]),_:1},8,["model","disabled"])):v("",!0)]),key:"0"}:void 0,(k=a(t))!=null&&k.isLocalEditor?{name:"extra",fn:o(()=>[y(a(Q),{"show-icon":"",style:{"margin-top":"20px"}},{message:o(()=>[f(" This is simply a helper to manage your environment variables locally. The variables set here will not be deployed to Cloud with your project. ")]),_:1})]),key:"1"}:void 0,a(t)?{name:"more",fn:o(()=>[l.mode=="console"?(u(),h(A,{key:0,model:a(t),disabled:!a(t).hasChanges()},{"with-changes":o(()=>[f(b(a(t).saveMessage),1)]),_:1},8,["model","disabled"])):v("",!0)]),key:"2"}:void 0]),1032,["loading","title","description","table","create","fields","live"])):v("",!0),a(t)?(u(),h(a(J),{key:1,open:a(t).isUpdating,title:"Update value",onCancel:r[1]||(r[1]=c=>{var E;return(E=a(t))==null?void 0:E.cancelUpdate()}),onOk:r[2]||(r[2]=()=>{var c;return(c=a(t))==null?void 0:c.confirmUpdate()})},{default:o(()=>[a(t).state.value.type==="updating"?(u(),h(a(P),{key:0,layout:"vertical"},{default:o(()=>[y(a(z),null,{default:o(()=>[y(a(G),null,{default:o(()=>[f(b(a(t).state.value.name),1)]),_:1}),y(a(W),{value:a(t).state.value.value,"onUpdate:value":r[0]||(r[0]=c=>a(t).state.value.value=c)},null,8,["value"])]),_:1})]),_:1})):v("",!0)]),_:1},8,["open"])):v("",!0)],64)}}});export{ce as C,he as E,ve as _};
2
- //# sourceMappingURL=View.vue_vue_type_script_setup_true_lang.e6563207.js.map
@@ -1,2 +0,0 @@
1
- import{S as d}from"./workspaceStore.fac1e9a9.js";import{A as p}from"./constants.d569f33d.js";import{d as l,u as t,a5 as f,g as _,ed as c,h as C,eD as u,o as h,eH as m,_ as g}from"./jwt-decode.esm.54a1ea22.js";(function(){try{var a=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new Error().stack;e&&(a._sentryDebugIds=a._sentryDebugIds||{},a._sentryDebugIds[e]="6b629705-a102-45ba-9f36-1bd72da3abd0",a._sentryDebugIdIdentifier="sentry-dbid-6b629705-a102-45ba-9f36-1bd72da3abd0")}catch{}})();const v=["href"],b=u('<svg width="44" height="32" viewBox="0 0 256 256" fill="none" xmlns="http://www.w3.org/2000/svg" data-v-e084ae6f><g clip-path="url(#clip0_405_116214)" data-v-e084ae6f><path d="M188.697 133.808L172.68 148.263C172.68 148.263 216.044 185.966 217.997 187.72C219.951 189.475 234.405 174.566 232.843 173.266C231.28 171.966 188.697 133.808 188.697 133.808Z" fill="#E36C7C" data-v-e084ae6f></path><path d="M188.697 133.808L172.68 148.263C172.68 148.263 216.044 185.966 217.997 187.72C219.951 189.475 234.405 174.566 232.843 173.266C231.28 171.966 188.697 133.808 188.697 133.808Z" fill="url(#paint0_linear_405_116214)" data-v-e084ae6f></path><path d="M218.387 91.2249L176.195 127.557L173.851 129.51C151.192 149.849 149.853 152.309 141.642 152.584L141.584 152.586C139.612 152.652 135.357 152.795 131.875 149.849C126.797 145.552 120.155 140.083 117.03 137.348C115.34 135.869 112.465 133.039 109.998 131.097C107.902 129.448 106.482 127.581 104.919 127.581C103.357 127.581 100.622 129.925 96.3246 133.832C92.0272 137.739 82.6511 146.333 82.6511 146.333L65.0712 161.569C65.0712 161.569 42.5857 180.688 36.7256 185.376C30.8656 190.064 16.5797 175.69 21.4895 171.703C21.9628 171.23 26.2429 167.755 29.7179 164.915C32.2165 162.84 34.2084 161.179 34.2084 161.179C34.9897 160.397 66.2433 133.051 66.2433 133.051L87.723 114.573C87.723 114.573 95.9339 106.094 105.701 106.094C108.826 106.094 112.83 106.485 126.015 118.205C129.531 121.33 131.485 122.542 135.782 126.409C137.345 127.816 139.852 130.316 140.861 130.316C141.882 130.316 143.986 128.363 145.549 127.023C145.549 127.023 195.897 84.4149 202.37 77.9421C207.839 72.4726 223.075 86.9273 218.387 91.2249Z" fill="url(#paint1_linear_405_116214)" data-v-e084ae6f></path><path d="M33.238 67.1372C31.2846 68.6564 23.9305 75.1737 22.2992 76.9039C19.3366 80.0417 21.3638 81.3905 25.6611 84.9065C29.9585 88.4225 57.8962 112.712 64.8542 118.963L79.9642 105.221L41.288 71.2331C36.5999 67.1372 35.1913 65.6179 33.238 67.1372Z" fill="url(#paint2_linear_405_116214)" data-v-e084ae6f></path></g><defs data-v-e084ae6f><linearGradient id="paint0_linear_405_116214" x1="172.68" y1="133.808" x2="183.059" y2="196.169" gradientUnits="userSpaceOnUse" data-v-e084ae6f><stop offset="0.114583" stop-color="#FF98A6" data-v-e084ae6f></stop><stop offset="1" stop-color="#E36C7C" data-v-e084ae6f></stop></linearGradient><linearGradient id="paint1_linear_405_116214" x1="219.271" y1="186.305" x2="206.115" y2="57.7298" gradientUnits="userSpaceOnUse" data-v-e084ae6f><stop stop-color="#E36C7C" data-v-e084ae6f></stop><stop offset="0.859375" stop-color="#FF98A6" data-v-e084ae6f></stop></linearGradient><linearGradient id="paint2_linear_405_116214" x1="20.8984" y1="66.56" x2="30.8589" y2="127.049" gradientUnits="userSpaceOnUse" data-v-e084ae6f><stop stop-color="#E36C7C" data-v-e084ae6f></stop><stop offset="0.859375" stop-color="#FF98A6" data-v-e084ae6f></stop></linearGradient><clipPath id="clip0_405_116214" data-v-e084ae6f><rect width="256" height="256" fill="white" data-v-e084ae6f></rect></clipPath></defs></svg><b data-v-e084ae6f>Abstra</b>',2),w=l({__name:"Watermark",props:{pageId:{},locale:{}},setup(a){var s;const e=a,r=window.location.hostname.split(".")[0],o=(s=d.instance)==null?void 0:s.showWatermark,n=new URLSearchParams({utm_source:"abstra_pages",utm_medium:"badge",utm_campaign:e.pageId,origin_subdomain:r});return(i,y)=>t(o)?(h(),f("a",{key:0,href:`${t(p).HOMEPAGE}?${t(n).toString()}`,target:"_blank",class:"watermark"},[_(c(t(m).translate("i18n_watermark_text",i.locale))+" ",1),b],8,v)):C("",!0)}});const S=g(w,[["__scopeId","data-v-e084ae6f"]]);export{S as W};
2
- //# sourceMappingURL=Watermark.9c9358e3.js.map
@@ -1,2 +0,0 @@
1
- var _=Object.defineProperty;var m=(e,t,n)=>t in e?_(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var i=(e,t,n)=>(m(e,typeof t!="symbol"?t+"":t,n),n);import{d as g,J as v,I as y,a as c,b as s,o as d,f as o,u as r,dc as h,cM as w,A as I,g as p,d8 as u,_ as b,r as P,eb as x}from"./jwt-decode.esm.54a1ea22.js";import{_ as W}from"./AbstraLogo.vue_vue_type_script_setup_true_lang.28bc9fc9.js";import{B as j}from"./BaseLayout.72a6c8f2.js";import{l as f}from"./fetch.1b3d01a0.js";import"./router.4dfadf5d.js";import{a as A}from"./project.1b8374f4.js";import"./tables.1bcb1140.js";import"./Logo.65e0b37c.js";import"./index.c7a996a6.js";import"./record.e83a2eb2.js";import"./string.61e11a30.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="060a6435-faae-45a5-90c2-7acdf84029b4",e._sentryDebugIdIdentifier="sentry-dbid-060a6435-faae-45a5-90c2-7acdf84029b4")}catch{}})();const E=g({__name:"View",props:{controller:{}},setup(e){const t=e,n=t.controller.loadingPercentage();return v(()=>{t.controller.start()}),y(()=>{t.controller.cleanUp()}),(a,l)=>(d(),c(j,null,{content:s(()=>[o(r(h),{align:"center",justify:"center",style:{width:"100vw",height:"100dvh"}},{default:s(()=>[o(r(h),{gap:"large",align:"center",justify:"space-evenly",vertical:"",style:{width:"45%","min-width":"600px",height:"100%"}},{default:s(()=>[o(W,{size:"large"}),o(r(w),{size:[10,10],"show-info":!1,percent:r(n),"stroke-color":"#EA576A"},null,8,["percent"]),o(r(I),{level:3},{default:s(()=>[p("Preparing your environment")]),_:1}),r(n)<100?(d(),c(r(u),{key:0},{default:s(()=>[p("We are setting things up... This may take up to 1 minute.")]),_:1})):(d(),c(r(u),{key:1},{default:s(()=>[p("You will be redirected soon")]),_:1}))]),_:1})]),_:1})]),_:1}))}});const T=b(E,[["__scopeId","data-v-0794e790"]]);function k(e,t){if(!e)return"";const n=t.toString();if(!n)return e;const l=e.includes("?")?"&":"?";return`${e}${l}${n}`}class R{constructor(t,n,a=f){i(this,"projectId");i(this,"loading");i(this,"fetch",f);i(this,"interval",null);i(this,"urls",null);i(this,"totalWaitTime");i(this,"poolingInterval");i(this,"pingResponded",!1);i(this,"redirectPath");this.projectId=t,this.loading=P(0),this.fetch=a,this.totalWaitTime=6e4,this.poolingInterval=2500,this.redirectPath=n}increment(){this.loading.value+=100/(this.totalWaitTime/this.poolingInterval)}speedUp(){this.totalWaitTime=5e3,this.poolingInterval=500,this.interval&&clearInterval(this.interval),this.interval=setInterval(async()=>{this.increment(),this.loading.value>=100&&this.navigate()},this.poolingInterval)}navigate(){if(this.urls){const t=new URLSearchParams;this.redirectPath&&t.set("redirect",this.redirectPath);const n=k(this.urls.redirect,t);window.location.replace(n)}this.cleanUp()}async ping(){if(!this.urls)return!1;if(this.pingResponded)return!0;const t=await this.fetch(this.urls.ping,{signal:AbortSignal.timeout(500)});return this.pingResponded=t.status===200,this.pingResponded}async start(){const t=await A.startWebEditor(this.projectId);this.urls=t,this.interval=setInterval(async()=>{this.increment(),this.pingResponded||await this.ping()&&this.speedUp(),this.loading.value>=100&&this.navigate()},this.poolingInterval)}cleanUp(){this.interval&&clearInterval(this.interval)}loadingPercentage(){return this.loading}}const Q=g({__name:"WebEditor",setup(e){const t=x(),n=t.params.projectId,a=t.query.redirect,l=new R(n,a);return(U,V)=>(d(),c(T,{controller:r(l)},null,8,["controller"]))}});export{Q as default};
2
- //# sourceMappingURL=WebEditor.83f2a960.js.map
@@ -1 +0,0 @@
1
- .video-container[data-v-0794e790]{position:relative;width:100%;overflow:hidden;padding-top:56.25%}.responsive-iframe[data-v-0794e790]{position:absolute;top:0;left:0;bottom:0;right:0;width:100%;height:100%}
@@ -1,2 +0,0 @@
1
- import{d as k,r as B,J as A,o as n,a as u,b as p,f as I,g as P,ed as S,ea as C,eG as D,u as y,bR as N,eX as E,_ as h,eb as V,h as g,e as b,a5 as c,ec as v,ef as q,aR as w,E as x,F}from"./jwt-decode.esm.54a1ea22.js";import{S as L}from"./Steps.dd51a108.js";import{W as $}from"./PlayerConfigProvider.28e29025.js";import"./index.d31da2c3.js";import"./colorHelpers.50ced1e9.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new Error().stack;t&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[t]="fb0825fe-cfb7-4862-84c6-5d08e41f600a",o._sentryDebugIdIdentifier="sentry-dbid-fb0825fe-cfb7-4862-84c6-5d08e41f600a")}catch{}})();const K=k({__name:"ActionButton",props:{action:{},displayName:{},disabled:{type:Boolean},loading:{type:Boolean}},emits:["click"],setup(o,{emit:t}){const d=o,l=B(null);return A(()=>{l.value&&d.action.setElement(l.value)}),(r,i)=>(n(),u(y(E),null,{default:p(()=>[I(y(N),{ref_key:"element",ref:l,class:C(["next-button",r.disabled?"disabled":""]),loading:r.loading,disabled:r.disabled,onClick:i[0]||(i[0]=f=>t("click")),onKeydown:i[1]||(i[1]=D(f=>t("click"),["enter"]))},{default:p(()=>[P(S(r.displayName),1)]),_:1},8,["loading","disabled","class"])]),_:1}))}});const R=h(K,[["__scopeId","data-v-aea27bb7"]]),J={class:"form"},M={class:"form-wrapper"},O={key:0,class:"buttons"},z=k({__name:"WidgetPreview",setup(o){const t=V(),d=B([]);function l(e){return x[e]||F[e]||null}function r(e){try{const s=JSON.parse(e);if(s.component=l(s.type),!s.component)throw new Error(`Widget ${s.type} not found`);return s.component?s:null}catch{return null}}function i(){const e=t.query.widget;return Array.isArray(e)?e.map(r).filter(Boolean):[r(e)]}function f(){return t.query.steps==="true"}function _(){const e=t.query.button;return e?Array.isArray(e)?e:[e]:[]}const m=e=>({name:e,isDefault:!1,isFocused:!1,focusOnButton:()=>{},addKeydownListener:()=>{},setElement:()=>{}});return(e,s)=>(n(),u($,{"main-color":"#d14056",class:"preview",background:"#fbfbfb","font-family":"Inter",locale:"en"},{default:p(()=>[f()?(n(),u(L,{key:0,class:"steps","steps-info":{current:1,total:3},"is-preview":""})):g("",!0),b("div",J,[b("div",M,[(n(!0),c(w,null,v(i(),(a,W)=>(n(),c("div",{key:W,class:"widget"},[(n(),u(q(a.component),{"user-props":a.userProps,value:a.userProps.value,errors:d.value},null,8,["user-props","value","errors"]))]))),128))]),_().length?(n(),c("div",O,[(n(!0),c(w,null,v(_(),a=>(n(),u(R,{key:a,"display-name":m(a).name,action:m(a)},null,8,["display-name","action"]))),128))])):g("",!0)])]),_:1}))}});const T=h(z,[["__scopeId","data-v-d3d01da6"]]);export{T as default};
2
- //# sourceMappingURL=WidgetPreview.7c6a231c.js.map
@@ -1,2 +0,0 @@
1
- import{N as c,c as l}from"./jwt-decode.esm.54a1ea22.js";(function(){try{var r=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new Error().stack;e&&(r._sentryDebugIds=r._sentryDebugIds||{},r._sentryDebugIds[e]="af481dde-b897-464c-a03e-022363385d0b",r._sentryDebugIdIdentifier="sentry-dbid-af481dde-b897-464c-a03e-022363385d0b")}catch{}})();const i=r=>{const e=c({loading:!0,result:null,error:null}),n=t=>(e.value={loading:!1,result:t,error:null},t),s=t=>{e.value={loading:!1,result:null,error:t}},o=async()=>(e.value={loading:!0,result:e.value.result,error:null},r().then(n).catch(s));o();const u=l(()=>e.value.loading),a=l(()=>e.value.result),d=l(()=>e.value.error);return{loading:u,result:a,error:d,refetch:o}};export{i as a};
2
- //# sourceMappingURL=asyncComputed.47aec2b5.js.map
@@ -1,2 +0,0 @@
1
- import"./jwt-decode.esm.54a1ea22.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="28e6c4d9-74b2-492f-ac6d-10e5bb9d20f8",t._sentryDebugIdIdentifier="sentry-dbid-28e6c4d9-74b2-492f-ac6d-10e5bb9d20f8")}catch{}})();const s={HOMEPAGE:{}.VITE_HOMEPAGE_URL||"https://abstra.io",DOCS:{}.VITE_DOCS_URL||"https://abstra.io/docs",CLOUD:{}.VITE_CONSOLE_URL||"https://cloud.abstra.io",GITHUB:{}.VITE_GITHUB_URL||"https://github.com/abstra-app/abstra-lib"},b=t=>{if(!t)return s.DOCS;const e=t.startsWith("/")?t.slice(1):t;return`${s.DOCS}/${e}`};export{s as A,b};
2
- //# sourceMappingURL=constants.d569f33d.js.map
@@ -1,2 +0,0 @@
1
- import{L as o}from"./jwt-decode.esm.54a1ea22.js";(function(){try{var n=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},l=new Error().stack;l&&(n._sentryDebugIds=n._sentryDebugIds||{},n._sentryDebugIds[l]="4cb22ebc-324e-4829-86d5-86d10f369d6e",n._sentryDebugIdIdentifier="sentry-dbid-4cb22ebc-324e-4829-86d5-86d10f369d6e")}catch{}})();const J=o.string(),D=o.array(J),I=o.number(),R=o.string().datetime({local:!0}),y=o.enum(["file","directory"]),T=o.string(),F=o.array(T),E=o.array(F).default([]),S=o.object({pathParts:D,size:I,lastModified:R,type:y,children:E.optional()}),L=o.boolean(),k=o.boolean(),G=o.boolean(),j=o.boolean(),P=o.boolean(),N=o.boolean();o.object({PROJECT_LIVE:L.optional(),ALLOW_RELEASE:k.optional(),CONNECTORS_CONSOLE:G.optional(),DUPLICATE_PROJECTS:j.optional(),WEB_EDITOR:P.optional(),LANGCHAIN_SMART_CHAT:N.optional()});const _=o.string(),W=o.string(),w=o.string(),M=o.string(),x=o.string();o.object({plan:_.optional(),expires:W.optional(),message:w.optional(),messageLink:M.optional(),messageCTA:x.optional()});const O=o.string(),A=o.string(),m=o.string(),H=o.string(),v=o.string(),q=o.object({id:O,name:A,description:m.optional(),projectId:H,createdAt:v}),U=o.string(),B=o.string(),z=o.string(),K=o.string(),$=o.string(),Q=o.enum(["true","false"]),X=o.enum(["true","false"]),Y=o.enum(["true","false"]),Z=o.string().regex(new RegExp("^[0-9]+m$")),oo=o.string().regex(new RegExp("^[0-9]+m$")),to=o.string().regex(new RegExp("^[0-9]+Mi$")),no=o.string().regex(new RegExp("^[0-9]+Mi$")),eo=o.string().regex(new RegExp("^[0-9]+$")),so=o.number(),ao=o.string().regex(new RegExp("^[0-9]+$")),io=o.string(),mo=o.enum(["3.9","3.10","3.11","3.12"]),co=o.string(),ro=o.string(),lo=o.object({watermarkEnabled:Q.optional(),seleniumInstanceEnabled:X.optional(),notificationsEnabled:Y.optional(),requestsCPU:Z.optional(),limitsCPU:oo.optional(),requestsMemory:to.optional(),limitsMemory:no.optional(),minReplicas:eo.optional(),computeUnits:so.optional(),timeoutSeconds:ao.optional(),workerType:io.optional(),pythonVersion:mo.optional(),workerNumber:co.optional(),baseDockerfile:ro.optional()});o.object({id:U,folderId:B,name:z,subdomain:K,organizationId:$,deploymentResources:lo.optional()});const So=o.string(),Ao=o.string(),bo=o.string();o.object({name:So,connectionType:Ao,projectId:bo});const Co=o.string(),go=o.string(),b=o.array(go),C=o.string(),ho=o.string();o.object({id:Co,emailPatterns:b,projectId:C,createdAt:ho});const uo=o.string(),po=o.string(),Vo=o.string(),fo=o.string(),Jo=o.object({key:uo,label:po,description:Vo,logoUrl:fo}),Do=o.literal("tokens"),Io=o.string(),Ro=o.string(),yo=o.string(),To=o.string(),Fo=o.enum(["small-string","large-text","file","radiobox","checkbox"]),Eo=o.string(),Lo=o.string(),ko=o.object({value:Eo,label:Lo}),Go=o.array(ko),jo=o.number(),Po=o.number(),No=o.object({type:Fo,options:Go.optional(),maxSize:jo.optional(),minSize:Po.optional()}),_o=o.object({key:Io,label:Ro,description:yo,instructions:To.optional(),input:No}),c=o.array(_o),Wo=c,wo=o.object({type:Do,tokens:Wo}),Mo=o.literal("oauth2"),xo=o.string(),Oo=o.string(),Ho=o.string(),vo=o.object({key:xo,label:Oo,description:Ho}),qo=o.array(vo),Uo=c,Bo=o.object({type:Mo,scopes:qo,params:Uo}),zo=o.literal("manual"),Ko=o.object({type:zo}),$o=o.literal("ecdsa"),Qo=c,Xo=o.object({type:$o,params:Qo}),Yo=o.union([wo,Bo,Ko,Xo]),Zo=o.string(),ot=o.string(),tt=o.string(),nt=o.record(o.any()),et=o.record(o.any()),st=o.object({key:Zo,label:ot,description:tt,payloadSchema:nt,returnSchema:et}),at=o.array(st),it=o.string(),mt=o.string(),ct=o.record(o.any()),rt=o.object({name:it,description:mt,payloadSchema:ct.optional()}),lt=o.array(rt);o.object({metadata:Jo,auth:Yo,actions:at,triggers:lt});const St=o.enum(["bigint","int8","bigserial","serial8","bit","bit varying","varbit","boolean","bool","box","bytea","character","char","character varying","varchar","cidr","circle","date","double precision","float8","inet","integer","int","int4","interval","json","jsonb","line","lseg","macaddr","money","numeric","decimal","path","pg_lsn","point","polygon","real","float4","smallint","int2","smallserial","serial2","serial","serial4","text","time","time with time zone","timetz","timestamp","timestamp with time zone","timestamptz","tsquery","tsvector","txid_snapshot","uuid","xml"]),At=o.string(),e=o.string().email(),bt=o.string(),r=o.array(bt),Ct=o.string(),gt=o.string(),ht=o.object({id:At,email:e,roles:r,projectId:Ct,createdAt:gt}),ut=o.string().uuid(),pt=o.string(),dt=o.string().uuid(),Vt=o.boolean(),ft=o.string(),Jt=St,Dt=o.boolean(),It=o.boolean(),Rt=o.string(),yt=o.string(),Tt=o.object({columnId:yt}),Ft=o.object({id:dt,primaryKey:Vt,name:ft,type:Jt,unique:Dt.optional(),nullable:It.optional(),default:Rt.optional(),foreignKey:Tt.optional()}),Et=o.array(Ft),Lt=o.record(o.any()),kt=o.array(Lt),Gt=o.object({id:ut,name:pt,columns:Et,data:kt}),jt=o.array(Gt);o.object({tables:jt});const g=o.string(),h=o.string(),Pt=o.boolean(),Nt=o.boolean(),_t=o.boolean(),Wt=o.boolean(),wt=o.boolean(),Mt=o.boolean(),u=o.object({PROJECT_LIVE:Pt,ALLOW_RELEASE:Nt,CONNECTORS_CONSOLE:_t,DUPLICATE_PROJECTS:Wt,WEB_EDITOR:wt.optional(),LANGCHAIN_SMART_CHAT:Mt.optional()}),xt=o.string(),Ot=o.string(),Ht=o.string(),vt=o.string(),qt=o.string(),p=o.object({plan:xt.optional(),expires:Ot.optional(),message:Ht.optional(),messageLink:vt.optional(),messageCTA:qt.optional()}),Ut=o.enum(["true","false"]),Bt=o.enum(["true","false"]),zt=o.enum(["true","false"]),Kt=o.string().regex(new RegExp("^[0-9]+m$")),$t=o.string().regex(new RegExp("^[0-9]+m$")),Qt=o.string().regex(new RegExp("^[0-9]+Mi$")),Xt=o.string().regex(new RegExp("^[0-9]+Mi$")),Yt=o.string().regex(new RegExp("^[0-9]+$")),Zt=o.number(),on=o.string().regex(new RegExp("^[0-9]+$")),tn=o.string(),nn=o.enum(["3.9","3.10","3.11","3.12"]),en=o.string(),sn=o.string(),an=o.object({watermarkEnabled:Ut.optional(),nativeTempDir:Bt.optional(),notificationsEnabled:zt.optional(),requestsCPU:Kt.optional(),limitsCPU:$t.optional(),requestsMemory:Qt.optional(),limitsMemory:Xt.optional(),minReplicas:Yt.optional(),computeUnits:Zt.optional(),timeoutSeconds:on.optional(),workerType:tn.optional(),pythonVersion:nn.optional(),workerNumber:en.optional(),baseDockerfile:sn.optional()}),mn=o.string(),cn=o.array(mn),rn=o.object({whitelistPatterns:cn.optional()});o.object({id:g,name:h,featureFlags:u,billingMetadata:p,deploymentResources:an.optional(),membershipsMetadata:rn.optional()});const ln=o.string(),Sn=o.array(ln);o.object({whitelistPatterns:Sn.optional()});const An=o.string(),bn=o.string(),Cn=o.string(),gn=o.null(),hn=o.union([Cn,gn]),un=o.string(),pn=o.null(),dn=o.union([un,pn]),Vn=o.string(),fn=o.null(),Jn=o.union([Vn,fn]),Dn=o.string(),In=o.null(),Rn=o.union([Dn,In]),yn=o.string(),Tn=o.null(),Fn=o.union([yn,Tn]),En=o.string(),Ln=o.null(),kn=o.union([En,Ln]),Gn=o.string(),jn=o.null(),Pn=o.union([Gn,jn]),Nn=o.object({name:An,language:bn,theme:hn,logo_url:dn,favicon_url:Jn,brand_name:Rn,main_color:Fn,font_family:kn,font_color:Pn}),_n=o.boolean(),Wn=o.string(),wn=o.array(Wn),Mn=o.object({is_public:_n,required_roles:wn}),xn=o.object({access_control:Mn}),On=o.string(),Hn=o.string(),vn=o.string(),qn=o.string(),Un=o.string(),Bn=o.null(),zn=o.union([Un,Bn]),s=o.object({id:On,target_id:Hn,target_type:vn,type:qn,task_type:zn.optional()}),Kn=s,$n=o.array(Kn),Qn=o.string(),Xn=o.number(),Yn=o.array(Xn),Zn=o.string(),oe=o.string(),te=o.string(),ne=o.object({transitions:$n,id:Qn,workflow_position:Yn,file:Zn,title:oe,schedule:te}),ee=ne,se=o.array(ee),ae=s,ie=o.array(ae),me=o.string(),ce=o.number(),re=o.array(ce),le=o.string(),Se=o.string(),Ae=o.boolean(),be=o.string(),Ce=o.boolean(),ge=o.object({transitions:ie,id:me,workflow_position:re,file:le,title:Se,is_initial:Ae,path:be,enabled:Ce}),he=ge,ue=o.array(he),pe=s,de=o.array(pe),Ve=o.string(),fe=o.number(),Je=o.array(fe),De=o.string(),Ie=o.string(),Re=o.string(),ye=o.string(),Te=o.null(),Fe=o.union([ye,Te]),Ee=o.string(),Le=o.null(),ke=o.union([Ee,Le]),Ge=o.boolean(),je=o.string(),Pe=o.null(),Ne=o.union([je,Pe]),_e=o.string(),We=o.null(),we=o.union([_e,We]),Me=o.string(),xe=o.null(),Oe=o.union([Me,xe]),He=o.boolean(),ve=o.string(),qe=o.array(ve),Ue=o.object({is_public:He,required_roles:qe}),Be=o.boolean(),ze=o.boolean(),Ke=o.string(),$e=o.null(),Qe=o.union([Ke,$e]),Xe=o.string(),Ye=o.boolean(),Ze=o.object({variable_name:Xe,enabled:Ye}),os=o.string(),ts=o.null(),ns=o.union([os,ts]),es=o.object({transitions:de,id:Ve,workflow_position:Je,file:De,title:Ie,path:Re,restart_button_text:Fe,start_message:ke,allow_restart:Ge,end_message:Ne,start_button_text:we,timeout_message:Oe,access_control:Ue,auto_start:Be,is_initial:ze,error_message:Qe,notification_trigger:Ze,welcome_title:ns}),ss=es,as=o.array(ss),is=s,ms=o.array(is),cs=o.string(),rs=o.number(),ls=o.array(rs),Ss=o.string(),As=o.string(),bs=o.boolean(),Cs=o.object({transitions:ms,id:cs,workflow_position:ls,file:Ss,title:As,is_initial:bs}),gs=Cs,hs=o.array(gs),us=o.literal("15.0");o.object({workspace:Nn,home:xn,jobs:se,hooks:ue,forms:as,scripts:hs,version:us});const ps=o.string(),ds=o.string(),Vs=o.string(),fs=o.null(),Js=o.union([Vs,fs]),Ds=o.string(),Is=o.null(),Rs=o.union([Ds,Is]),ys=o.string(),Ts=o.null(),Fs=o.union([ys,Ts]),Es=o.string(),Ls=o.null(),ks=o.union([Es,Ls]),Gs=o.string(),js=o.null(),Ps=o.union([Gs,js]),Ns=o.string(),_s=o.null(),Ws=o.union([Ns,_s]),ws=o.string(),Ms=o.null(),xs=o.union([ws,Ms]),Os=o.object({name:ps,language:ds,theme:Js,logo_url:Rs,favicon_url:Fs,brand_name:ks,main_color:Ps,font_family:Ws,font_color:xs}),Hs=o.boolean(),vs=o.string(),qs=o.array(vs),Us=o.object({is_public:Hs,required_roles:qs}),Bs=o.object({access_control:Us}),zs=o.string(),Ks=o.string(),$s=o.string(),Qs=o.literal("task"),Xs=o.string(),Ys=o.null(),Zs=o.union([Xs,Ys]),a=o.object({id:zs,target_id:Ks,target_type:$s,type:Qs,task_type:Zs.optional()}),oa=a,ta=o.array(oa),na=o.string(),ea=o.number(),sa=o.array(ea),aa=o.string(),ia=o.string(),ma=o.string(),ca=o.object({transitions:ta,id:na,workflow_position:sa,file:aa,title:ia,schedule:ma}),ra=ca,la=o.array(ra),Sa=a,Aa=o.array(Sa),ba=o.string(),Ca=o.number(),ga=o.array(Ca),ha=o.string(),ua=o.string(),pa=o.boolean(),da=o.string(),Va=o.boolean(),fa=o.object({transitions:Aa,id:ba,workflow_position:ga,file:ha,title:ua,is_initial:pa,path:da,enabled:Va}),Ja=fa,Da=o.array(Ja),Ia=a,Ra=o.array(Ia),ya=o.string(),Ta=o.number(),Fa=o.array(Ta),Ea=o.string(),La=o.string(),ka=o.string(),Ga=o.string(),ja=o.null(),Pa=o.union([Ga,ja]),Na=o.string(),_a=o.null(),Wa=o.union([Na,_a]),wa=o.boolean(),Ma=o.string(),xa=o.null(),Oa=o.union([Ma,xa]),Ha=o.string(),va=o.null(),qa=o.union([Ha,va]),Ua=o.string(),Ba=o.null(),za=o.union([Ua,Ba]),Ka=o.boolean(),$a=o.string(),Qa=o.array($a),Xa=o.object({is_public:Ka,required_roles:Qa}),Ya=o.boolean(),Za=o.boolean(),oi=o.string(),ti=o.null(),ni=o.union([oi,ti]),ei=o.string(),si=o.boolean(),ai=o.object({variable_name:ei,enabled:si}),ii=o.string(),mi=o.null(),ci=o.union([ii,mi]),ri=o.object({transitions:Ra,id:ya,workflow_position:Fa,file:Ea,title:La,path:ka,restart_button_text:Pa,start_message:Wa,allow_restart:wa,end_message:Oa,start_button_text:qa,timeout_message:za,access_control:Xa,auto_start:Ya,is_initial:Za,error_message:ni,notification_trigger:ai,welcome_title:ci}),li=ri,Si=o.array(li),Ai=a,bi=o.array(Ai),Ci=o.string(),gi=o.number(),hi=o.array(gi),ui=o.string(),pi=o.string(),di=o.boolean(),Vi=o.object({transitions:bi,id:Ci,workflow_position:hi,file:ui,title:pi,is_initial:di}),fi=Vi,Ji=o.array(fi),Di=o.literal("14.0");o.object({workspace:Os,home:Bs,jobs:la,hooks:Da,forms:Si,scripts:Ji,version:Di});const Ii=o.string(),Ri=o.string(),yi=o.string(),Ti=o.null(),Fi=o.union([yi,Ti]),Ei=o.string(),Li=o.null(),ki=o.union([Ei,Li]),Gi=o.string(),ji=o.null(),Pi=o.union([Gi,ji]),Ni=o.string(),_i=o.null(),Wi=o.union([Ni,_i]),wi=o.string(),Mi=o.null(),xi=o.union([wi,Mi]),Oi=o.string(),Hi=o.null(),vi=o.union([Oi,Hi]),qi=o.string(),Ui=o.null(),Bi=o.union([qi,Ui]),zi=o.object({name:Ii,language:Ri,theme:Fi,logo_url:ki,favicon_url:Pi,brand_name:Wi,main_color:xi,font_family:vi,font_color:Bi}),Ki=o.boolean(),$i=o.string(),Qi=o.array($i),Xi=o.object({is_public:Ki,required_roles:Qi}),Yi=o.object({access_control:Xi}),Zi=o.string(),om=o.string(),tm=o.string(),nm=o.string(),em=o.string(),sm=o.null(),am=o.union([em,sm]),t=o.object({id:Zi,target_id:om,target_type:tm,type:nm,task_type:am.optional()}),im=t,mm=o.array(im),cm=o.string(),rm=o.number(),lm=o.array(rm),Sm=o.string(),Am=o.string(),bm=o.string(),Cm=o.object({transitions:mm,id:cm,workflow_position:lm,file:Sm,title:Am,schedule:bm}),gm=Cm,hm=o.array(gm),um=t,pm=o.array(um),dm=o.string(),Vm=o.number(),fm=o.array(Vm),Jm=o.string(),Dm=o.string(),Im=o.boolean(),Rm=o.string(),ym=o.boolean(),Tm=o.object({transitions:pm,id:dm,workflow_position:fm,file:Jm,title:Dm,is_initial:Im,path:Rm,enabled:ym}),Fm=Tm,Em=o.array(Fm),Lm=t,km=o.array(Lm),Gm=o.string(),jm=o.number(),Pm=o.array(jm),Nm=o.string(),_m=o.string(),Wm=o.string(),wm=o.string(),Mm=o.null(),xm=o.union([wm,Mm]),Om=o.string(),Hm=o.null(),vm=o.union([Om,Hm]),qm=o.boolean(),Um=o.string(),Bm=o.null(),zm=o.union([Um,Bm]),Km=o.string(),$m=o.null(),Qm=o.union([Km,$m]),Xm=o.string(),Ym=o.null(),Zm=o.union([Xm,Ym]),oc=o.boolean(),tc=o.string(),nc=o.array(tc),ec=o.object({is_public:oc,required_roles:nc}),sc=o.boolean(),ac=o.boolean(),ic=o.string(),mc=o.null(),cc=o.union([ic,mc]),rc=o.string(),lc=o.boolean(),Sc=o.object({variable_name:rc,enabled:lc}),Ac=o.string(),bc=o.null(),Cc=o.union([Ac,bc]),gc=o.object({transitions:km,id:Gm,workflow_position:Pm,file:Nm,title:_m,path:Wm,restart_button_text:xm,start_message:vm,allow_restart:qm,end_message:zm,start_button_text:Qm,timeout_message:Zm,access_control:ec,auto_start:sc,is_initial:ac,error_message:cc,notification_trigger:Sc,welcome_title:Cc}),hc=gc,uc=o.array(hc),pc=t,dc=o.array(pc),Vc=o.string(),fc=o.number(),Jc=o.array(fc),Dc=o.string(),Ic=o.string(),Rc=o.boolean(),yc=o.object({transitions:dc,id:Vc,workflow_position:Jc,file:Dc,title:Ic,is_initial:Rc}),Tc=yc,Fc=o.array(Tc),Ec=o.string(),Lc=o.string(),kc=o.string().uuid(),Gc=o.null(),jc=o.union([kc,Gc]),Pc=o.number(),Nc=o.array(Pc),_c=t,Wc=o.array(_c),wc=o.string().uuid(),Mc=o.null(),xc=o.union([wc,Mc]),Oc=o.object({id:Ec,title:Lc,project_id:jc,workflow_position:Nc,transitions:Wc,client_stage_id:xc}),Hc=o.array(Oc),vc=o.string(),qc=o.string(),Uc=o.number(),Bc=o.array(Uc),zc=t,Kc=o.array(zc),$c=o.object({id:vc,title:qc,workflow_position:Bc,transitions:Kc}),Qc=o.array($c),Xc=o.literal("13.0");o.object({workspace:zi,home:Yi,jobs:hm,hooks:Em,forms:uc,scripts:Fc,agents:Hc,clients:Qc,version:Xc});const Yc=o.string(),Zc=o.string(),or=o.string(),tr=o.null(),nr=o.union([or,tr]),er=o.string(),sr=o.null(),ar=o.union([er,sr]),ir=o.string(),mr=o.null(),cr=o.union([ir,mr]),rr=o.string(),lr=o.null(),Sr=o.union([rr,lr]),Ar=o.string(),br=o.null(),Cr=o.union([Ar,br]),gr=o.string(),hr=o.null(),ur=o.union([gr,hr]),pr=o.string(),dr=o.null(),Vr=o.union([pr,dr]),fr=o.object({name:Yc,language:Zc,theme:nr,logo_url:ar,favicon_url:cr,brand_name:Sr,main_color:Cr,font_family:ur,font_color:Vr}),Jr=o.boolean(),Dr=o.string(),Ir=o.array(Dr),Rr=o.object({is_public:Jr,required_roles:Ir}),yr=o.object({access_control:Rr}),Tr=o.string(),Fr=o.string(),Er=o.string(),Lr=o.string(),kr=o.string(),Gr=o.null(),jr=o.union([kr,Gr]),i=o.object({id:Tr,target_id:Fr,target_type:Er,type:Lr,task_type:jr.optional()}),Pr=i,Nr=o.array(Pr),_r=o.string(),Wr=o.number(),wr=o.array(Wr),Mr=o.string(),xr=o.string(),Or=o.string(),Hr=o.object({transitions:Nr,id:_r,workflow_position:wr,file:Mr,title:xr,schedule:Or}),vr=Hr,qr=o.array(vr),Ur=i,Br=o.array(Ur),zr=o.string(),Kr=o.number(),$r=o.array(Kr),Qr=o.string(),Xr=o.string(),Yr=o.boolean(),Zr=o.string(),ol=o.boolean(),tl=o.object({transitions:Br,id:zr,workflow_position:$r,file:Qr,title:Xr,is_initial:Yr,path:Zr,enabled:ol}),nl=tl,el=o.array(nl),sl=i,al=o.array(sl),il=o.string(),ml=o.number(),cl=o.array(ml),rl=o.string(),ll=o.string(),Sl=o.string(),Al=o.string(),bl=o.null(),Cl=o.union([Al,bl]),gl=o.string(),hl=o.null(),ul=o.union([gl,hl]),pl=o.boolean(),dl=o.string(),Vl=o.null(),fl=o.union([dl,Vl]),Jl=o.string(),Dl=o.null(),Il=o.union([Jl,Dl]),Rl=o.string(),yl=o.null(),Tl=o.union([Rl,yl]),Fl=o.boolean(),El=o.string(),Ll=o.array(El),kl=o.object({is_public:Fl,required_roles:Ll}),Gl=o.boolean(),jl=o.boolean(),Pl=o.string(),Nl=o.null(),_l=o.union([Pl,Nl]),Wl=o.string(),wl=o.boolean(),Ml=o.object({variable_name:Wl,enabled:wl}),xl=o.string(),Ol=o.null(),Hl=o.union([xl,Ol]),vl=o.object({transitions:al,id:il,workflow_position:cl,file:rl,title:ll,path:Sl,restart_button_text:Cl,start_message:ul,allow_restart:pl,end_message:fl,start_button_text:Il,timeout_message:Tl,access_control:kl,auto_start:Gl,is_initial:jl,error_message:_l,notification_trigger:Ml,welcome_title:Hl}),ql=vl,Ul=o.array(ql),Bl=i,zl=o.array(Bl),Kl=o.string(),$l=o.number(),Ql=o.array($l),Xl=o.string(),Yl=o.string(),Zl=o.boolean(),oS=o.object({transitions:zl,id:Kl,workflow_position:Ql,file:Xl,title:Yl,is_initial:Zl}),tS=oS,nS=o.array(tS),eS=o.literal("12.0");o.object({workspace:fr,home:yr,jobs:qr,hooks:el,forms:Ul,scripts:nS,version:eS});const sS=o.enum(["true","false"]),aS=o.enum(["true","false"]),iS=o.enum(["true","false"]),mS=o.string().regex(new RegExp("^[0-9]+m$")),cS=o.string().regex(new RegExp("^[0-9]+m$")),rS=o.string().regex(new RegExp("^[0-9]+Mi$")),lS=o.string().regex(new RegExp("^[0-9]+Mi$")),SS=o.string().regex(new RegExp("^[0-9]+$")),AS=o.number(),bS=o.string().regex(new RegExp("^[0-9]+$")),CS=o.string(),gS=o.enum(["3.9","3.10","3.11","3.12"]),hS=o.string(),uS=o.string();o.object({watermarkEnabled:sS.optional(),nativeTempDir:aS.optional(),notificationsEnabled:iS.optional(),requestsCPU:mS.optional(),limitsCPU:cS.optional(),requestsMemory:rS.optional(),limitsMemory:lS.optional(),minReplicas:SS.optional(),computeUnits:AS.optional(),timeoutSeconds:bS.optional(),workerType:CS.optional(),pythonVersion:gS.optional(),workerNumber:hS.optional(),baseDockerfile:uS.optional()});const pS=o.enum(["true","false"]),dS=o.enum(["true","false"]),VS=o.enum(["true","false"]),fS=o.string().regex(new RegExp("^[0-9]+m$")),JS=o.string().regex(new RegExp("^[0-9]+m$")),DS=o.string().regex(new RegExp("^[0-9]+Mi$")),IS=o.string().regex(new RegExp("^[0-9]+Mi$")),RS=o.string().regex(new RegExp("^[0-9]+$")),yS=o.number(),TS=o.string().regex(new RegExp("^[0-9]+$")),FS=o.string(),ES=o.enum(["3.9","3.10","3.11","3.12"]),LS=o.string(),kS=o.string();o.object({watermarkEnabled:pS.optional(),seleniumInstanceEnabled:dS.optional(),notificationsEnabled:VS.optional(),requestsCPU:fS.optional(),limitsCPU:JS.optional(),requestsMemory:DS.optional(),limitsMemory:IS.optional(),minReplicas:RS.optional(),computeUnits:yS.optional(),timeoutSeconds:TS.optional(),workerType:FS.optional(),pythonVersion:ES.optional(),workerNumber:LS.optional(),baseDockerfile:kS.optional()});const GS=o.enum(["file","directory"]),jS=o.string(),PS=o.string(),NS=o.string().datetime({local:!0}),_S=o.number(),WS=o.string(),wS=o.number(),MS=o.object({type:GS,path:jS,name:PS,date:NS,sizeBytes:_S.optional(),sizeHuman:WS.optional(),itemCount:wS.optional()}),xS=o.literal("replace-code"),OS=o.string(),HS=o.string(),vS=o.literal("replace-code"),qS=o.object({action:xS,actionLabel:OS,newCode:HS,type:vS.optional()}),US=qS,BS=o.literal("edit-stage-name"),zS=o.string(),KS=o.string(),$S=o.literal("edit-stage-name"),QS=o.object({action:BS,actionLabel:zS,newName:KS,type:$S.optional()}),XS=QS,YS=o.literal("add-notifiable-email"),ZS=o.string(),oA=o.string(),tA=o.object({action:YS,actionLabel:ZS,email:oA}),nA=tA,eA=o.literal("edit-stage-filename"),sA=o.string(),aA=o.string(),iA=o.literal("edit-stage-filename"),mA=o.object({action:eA,actionLabel:sA,newFilename:aA,type:iA.optional()}),cA=mA,rA=o.union([US,XS,nA,cA]),lA=o.array(rA);o.object({actions:lA});const SA=o.literal("create-table"),AA=o.string(),bA=o.string().uuid(),CA=o.string(),gA=o.object({action:SA,actionLabel:AA,tableId:bA,tableName:CA}),hA=gA,uA=o.literal("create-column"),pA=o.string(),dA=o.string().uuid(),VA=o.string(),fA=o.enum(["varchar","int","boolean","json","date","timestamp","uuid","real"]),JA=o.boolean(),DA=o.string(),IA=o.boolean(),RA=o.object({action:uA,actionLabel:pA,tableId:dA,columnName:VA,columnType:fA,nullable:JA,default:DA,unique:IA}),yA=RA,TA=o.literal("insert-rows"),FA=o.string(),EA=o.string().uuid(),LA=o.record(o.any()),kA=o.array(LA),GA=o.object({action:TA,actionLabel:FA,tableId:EA,rows:kA}),jA=GA,PA=o.literal("edit-table"),NA=o.string(),_A=o.string().uuid(),WA=o.string(),wA=o.object({action:PA,actionLabel:NA,tableId:_A,newTableName:WA}),MA=wA,xA=o.literal("edit-column"),OA=o.string(),HA=o.string().uuid(),vA=o.string().uuid(),qA=o.string(),UA=o.enum(["varchar","int","boolean","json","date","timestamp","uuid","real"]),BA=o.boolean(),zA=o.string(),KA=o.boolean(),$A=o.string().uuid(),QA=o.object({columnId:$A}),XA=o.object({columnName:qA.optional(),columnType:UA.optional(),nullable:BA.optional(),default:zA.optional(),unique:KA.optional(),foreignKey:QA.optional()}),YA=o.object({action:xA,actionLabel:OA,columnId:HA,tableId:vA,changes:XA}),ZA=YA,ob=o.literal("edit-env-var"),tb=o.string(),nb=o.string(),eb=o.string(),sb=o.object({action:ob,actionLabel:tb,key:nb,newValue:eb}),ab=sb,ib=o.literal("set-env-var"),mb=o.string(),cb=o.string(),rb=o.string(),lb=o.object({action:ib,actionLabel:mb,key:cb,value:rb}),Sb=lb,Ab=o.literal("install-package"),bb=o.string(),Cb=o.string(),gb=o.object({action:Ab,actionLabel:bb,packageName:Cb}),hb=gb,ub=o.literal("create-stage"),pb=o.string(),db=o.string().uuid(),Vb=o.enum(["form","job","hook","tasklet"]),fb=o.string(),Jb=o.string(),Db=o.string(),Ib=o.number(),Rb=o.number(),yb=o.object({x:Ib,y:Rb}),Tb=o.literal("create-stage"),Fb=o.object({action:ub,actionLabel:pb,id:db,stageType:Vb,stageName:fb,code:Jb,filename:Db,position:yb,type:Tb.optional()}),Eb=Fb,Lb=o.literal("add-transition"),kb=o.string(),Gb=o.string().uuid(),jb=o.string().uuid(),Pb=o.object({action:Lb,actionLabel:kb,sourceStageId:Gb,targetStageId:jb}),Nb=Pb,_b=o.literal("edit-stage"),Wb=o.string(),wb=o.string().uuid(),Mb=o.enum(["form","job","hook","tasklet"]),xb=o.string(),Ob=o.object({action:_b,actionLabel:Wb,stageId:wb,stageType:Mb,stageNewTitle:xb}),Hb=Ob,vb=o.union([hA,yA,jA,MA,ZA,ab,Sb,hb,Eb,Nb,Hb]),qb=o.array(vb);o.object({actions:qb});const Ub=o.literal("replace-code"),Bb=o.string(),zb=o.number(),Kb=o.number(),$b=o.object({start:zb,end:Kb}),Qb=o.string(),Xb=o.object({action:Ub,actionLabel:Bb,lines:$b,newCode:Qb}),Yb=Xb,Zb=o.literal("edit-stage-name"),oC=o.string(),tC=o.string(),nC=o.object({action:Zb,actionLabel:oC,newName:tC}),eC=nC,sC=o.literal("add-notifiable-email"),aC=o.string(),iC=o.string(),mC=o.object({action:sC,actionLabel:aC,email:iC}),cC=mC,rC=o.union([Yb,eC,cC]),lC=o.array(rC);o.object({actions:lC});const SC=o.literal("create-table"),AC=o.string(),bC=o.string().uuid(),CC=o.string(),gC=o.object({action:SC,actionLabel:AC,tableId:bC,tableName:CC}),hC=gC,uC=o.literal("create-column"),pC=o.string(),dC=o.string().uuid(),VC=o.string(),fC=o.enum(["varchar","int","boolean","json","date","timestamp","uuid","real"]),JC=o.object({action:uC,actionLabel:pC,tableId:dC,columnName:VC,columnType:fC}),DC=JC,IC=o.literal("set-env-var"),RC=o.string(),yC=o.string(),TC=o.string(),FC=o.object({action:IC,actionLabel:RC,key:yC,value:TC}),EC=FC,LC=o.literal("create-stage"),kC=o.string(),GC=o.string().uuid(),jC=o.enum(["form","job","hook","tasklet"]),PC=o.string(),NC=o.string(),_C=o.string(),WC=o.number(),wC=o.number(),MC=o.object({x:WC,y:wC}),xC=o.object({action:LC,actionLabel:kC,id:GC,stageType:jC,stageName:PC,code:NC,filename:_C,position:MC}),OC=xC,HC=o.literal("add-transition"),vC=o.string(),qC=o.string().uuid(),UC=o.string().uuid(),BC=o.object({action:HC,actionLabel:vC,sourceStageId:qC,targetStageId:UC}),zC=BC,KC=o.union([hC,DC,EC,OC,zC]),$C=o.array(KC);o.object({actions:$C});const QC=g,XC=h,YC=u,ZC=p;o.object({id:QC,name:XC,featureFlags:YC,billingMetadata:ZC});const og=m;o.object({description:og});const tg=o.number(),ng=o.number();o.object({offset:tg.optional(),limit:ng.optional()});const eg=q;o.array(eg);const sg=A,ag=m;o.object({name:sg,description:ag.optional()});const ig=MS,mg=o.array(ig),cg=o.number();o.object({items:mg,totalCount:cg});const rg=e,lg=r;o.object({email:rg.optional(),roles:lg.optional()});const Sg=o.number(),Ag=o.number();o.object({offset:Sg.optional(),limit:Ag.optional()});const bg=ht;o.array(bg);const Cg=e,gg=r;o.object({email:Cg,roles:gg});const hg=b;o.object({emailPatterns:hg});const ug=C;o.object({projectId:ug});const pg=o.literal("tokens"),dg=o.record(o.string());o.object({type:pg,tokens:dg});const Vg=o.string(),fg=o.string();o.object({redirect:Vg,ping:fg});const Jg=o.string(),Dg=o.record(o.any()),Ig=o.string(),Rg=o.object({key:Jg,value:Dg,type:Ig}),yg=Rg,Tg=o.array(yg),Fg=o.string(),Eg=o.string(),Lg=o.record(o.any()),d=o.enum(["waiting","running","processing","finished","failed","abandoned"]),kg=o.string(),Gg=o.string(),jg=o.string(),Pg=o.string();o.object({id:Fg,stage:Eg,data:Lg,status:d,created_at:kg,updated_at:Gg,parent_id:jg.optional(),execution_id:Pg.optional()});const Ng=o.string(),_g=o.string(),Wg=o.string(),wg=o.string(),Mg=d,xg=Tg,Og=o.string(),Hg=o.object({id:Ng,created_at:_g,updated_at:Wg.optional(),assignee:wg.optional(),status:Mg,content:xg,stage:Og.optional()}),vg=Hg,V=o.array(vg),qg=o.string(),Ug=o.enum(["form","hook","job","script"]),Bg=o.string(),zg=o.string(),Kg=o.boolean(),f=o.object({id:qg,type:Ug,title:Bg,path:zg.optional(),can_be_started:Kg}),$g=f,Qg=V,Xg=o.number(),Yg=o.boolean(),Zg=o.object({selected_stage:$g,stage_run_cards:Qg,total_count:Xg,loading:Yg.optional()}),oh=Zg,th=o.array(oh),nh=th;o.object({columns:nh});const eh=V,sh=o.string(),ah=o.array(sh),ih=o.number();o.object({stage_run_cards:eh,not_found_stages:ah,total_count:ih});const mh=f;o.array(mh);const ch=o.string(),rh=ch,lh=o.literal("text"),Sh=o.string(),Ah=o.object({type:lh,text:Sh}),bh=o.literal("file"),Ch=o.string(),gh=o.string(),hh=o.object({type:bh,fileName:Ch,fileContent:gh}),uh=o.union([Ah,hh]),ph=o.array(uh),dh=ph,Vh=o.record(o.any()),fh=o.string();o.object({conversationId:rh,content:dh,context:Vh,humanApproval:fh.optional()});const Jh=o.string(),Dh=o.enum(["changed","created","deleted","moved"]),Ih=o.string(),Fp=o.object({filepath:Jh,event:Dh,content:Ih.optional()}),Rh=o.string(),yh=o.string(),Th=o.literal("bug"),Fh=o.string(),Eh=o.string(),Lh=o.string(),kh=o.object({name:Eh,label:Lh}),Gh=kh,jh=o.array(Gh),Ph=o.object({label:Fh,fixes:jh}),Nh=Ph,_h=o.array(Nh),Wh=o.object({name:Rh,label:yh,type:Th,issues:_h}),wh=o.string();o.object({waitingRoomUrl:wh});const Mh=o.string(),xh=o.string(),Oh=o.object({name:Mh,value:xh}),Hh=o.string(),Ep=o.object({separator:Hh}),vh=o.boolean(),Lp=o.object({ok:vh.optional()}),qh=S,Uh=o.enum(["form","hook","job","script"]),Bh=o.string(),zh=o.object({type:Uh,id:Bh}),Kh=o.array(zh),$h=o.object({file:qh,stages:Kh}),kp=o.array($h),Qh=o.boolean(),Gp=o.object({ok:Qh.optional()}),Xh=o.string(),Yh=o.array(Xh),Zh=o.string(),ou=o.array(Zh),jp=o.object({pathParts:Yh,newPathParts:ou}),tu=o.boolean(),Pp=o.object({ok:tu.optional()}),nu=o.string(),eu=o.number(),su=o.enum(["delete","insert"]),au=o.string(),iu=o.number(),mu=o.object({siteId:nu,pos:eu,type:su,value:au.optional(),length:iu.optional()});o.array(mu);const cu=o.boolean(),Np=o.object({ok:cu.optional()}),_p=S,ru=o.boolean();o.object({success:ru});const lu=Wh;o.array(lu);const Su=Oh;o.array(Su);const Au=o.string();o.object({message:Au});const bu=o.boolean(),Cu=o.string(),Wp=o.object({success:bu,message:Cu}),gu=o.string();o.object({commitHash:gu});const hu=o.boolean(),uu=o.string(),wp=o.object({success:hu,message:uu}),pu=o.boolean(),du=o.string(),Mp=o.object({success:pu,message:du}),Vu=o.boolean(),fu=o.string(),xp=o.object({success:Vu,message:fu}),Ju=o.record(o.string()),Du=o.boolean(),Op=o.object({remotes:Ju,hasAbstraRemote:Du}),Iu=o.string(),Ru=o.string();o.object({branch:Iu.optional(),commitHash:Ru.optional()});const yu=o.boolean(),Tu=o.string(),Hp=o.object({success:yu,message:Tu}),Fu=o.boolean(),Eu=o.boolean(),Lu=o.boolean(),ku=o.string(),Gu=o.string(),ju=o.array(Gu),Pu=o.string(),Nu=o.string(),_u=o.string(),Wu=o.string(),wu=o.object({hash:Pu,message:Nu,author:_u,date:Wu}).nullable(),Mu=o.boolean(),xu=o.string(),Ou=o.array(xu),Hu=o.string(),vu=o.string(),qu=o.string(),Uu=o.object({path:Hu,status:vu,statusCode:qu}),Bu=o.array(Uu),zu=o.boolean(),Ku=o.string().nullable(),$u=o.boolean(),Qu=o.boolean(),Xu=o.string().nullable(),Yu=o.string(),Zu=o.array(Yu),op=o.number(),tp=o.number(),np=o.object({ahead:op,behind:tp}).nullable(),ep=o.object({success:zu,remoteCommit:Ku,hasRemoteChanges:$u,hasConflicts:Qu,message:Xu,availableBranches:Zu,aheadBehind:np}).nullable(),vp=o.object({available:Fu,gitInstalled:Eu,isMonorepo:Lu,branch:ku,branches:ju,lastCommit:wu,hasChanges:Mu,changedFiles:Ou,changedFilesWithStatus:Bu,remoteStatus:ep}),sp=o.string(),ap=o.string(),ip=o.string(),mp=o.string(),cp=o.object({hash:sp,message:ap,author:ip,date:mp}),rp=o.array(cp),lp=o.boolean(),qp=o.object({commits:rp,hasMore:lp}),Sp=o.boolean(),Ap=o.string(),Up=o.object({success:Sp,message:Ap}),bp=e;o.object({email:bp});const Cp=o.enum(["ALLOWED","UNAUTHORIZED","FORBIDEN","NOT_FOUND"]);o.object({status:Cp});const gp=o.string(),hp=o.string().datetime({local:!0}),up=o.enum(["user","assistant"]),pp=o.string(),dp=o.string().datetime({local:!0}),Vp=o.string(),fp=o.string(),Jp=o.object({role:up,content:pp,createdAt:dp,toolTitle:Vp.optional(),toolCallId:fp.optional()}),Dp=o.array(Jp),Ip=o.object({id:gp,createdAt:hp,messages:Dp}),Rp=Ip;o.array(Rp);export{Fp as A,kp as a,_p as b,Lp as c,Np as d,jp as e,Pp as f,Gp as g,Ep as h,vp as i,Hp as j,xp as k,Wp as l,Up as m,Mp as n,Op as o,wp as p,qp as q};
2
- //# sourceMappingURL=contracts.generated.aefe8d0a.js.map
@@ -1,2 +0,0 @@
1
- import"./jwt-decode.esm.54a1ea22.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="ba24f388-3cea-4fb8-921b-82f9c02c592d",e._sentryDebugIdIdentifier="sentry-dbid-ba24f388-3cea-4fb8-921b-82f9c02c592d")}catch{}})();function n(e,t){return e.toLocaleString(void 0,{hour12:!1,timeZoneName:"short",day:"2-digit",month:"2-digit",year:"numeric",hour:"2-digit",minute:"2-digit",second:"2-digit",weekday:"long",...t})}export{n as g};
2
- //# sourceMappingURL=datetime.82608dfb.js.map
@@ -1,2 +0,0 @@
1
- import{X as s,dJ as d,dK as i}from"./jwt-decode.esm.54a1ea22.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},o=new Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="4afc8d4b-7c22-4537-95cb-1090a1db1b78",e._sentryDebugIdIdentifier="sentry-dbid-4afc8d4b-7c22-4537-95cb-1090a1db1b78")}catch{}})();const{DatePicker:n,WeekPicker:t,MonthPicker:r,YearPicker:b,TimePicker:f,QuarterPicker:a,RangePicker:c}=d(i),u=s(n,{WeekPicker:t,MonthPicker:r,YearPicker:b,RangePicker:c,TimePicker:f,QuarterPicker:a,install:e=>(e.component(n.name,n),e.component(c.name,c),e.component(r.name,r),e.component(t.name,t),e.component(a.name,a),e)});export{u as D,r as M,a as Q,c as R,t as W};
2
- //# sourceMappingURL=dayjs.7f71c60a.js.map
@@ -1,2 +0,0 @@
1
- var I=Object.defineProperty;var x=(o,t,e)=>t in o?I(o,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):o[t]=e;var R=(o,t,e)=>(x(o,typeof t!="symbol"?t+"":t,e),e);import{d as C,c as L,r as p,w as h,o as E,a as P,b as m,e as k,f as b,u as d,S as M,g as j,A as O,T as $,h as B,M as N,_ as W,i as z,j as F,l as T,k as H,m as G,n as q,p as g,q as J,s as Y,t as K,v as Q,x as X,P as Z,C as ee,y as te,z as oe,B as y,D as ae,E as ne,F as se,G as re}from"./jwt-decode.esm.54a1ea22.js";import{r as ie,g as ce,a as le}from"./router.06ee2b9d.js";import{u as ue,s as de}from"./workspaceStore.fac1e9a9.js";import{u as pe}from"./useCodebaseEvents.276cc8f0.js";import{A as _e}from"./constants.d569f33d.js";import"./contracts.generated.aefe8d0a.js";import"./linters.a0f2aa84.js";import{d as w}from"./index.c7a996a6.js";import"./userStore.6ab1e5ac.js";import"./url.f5664225.js";import"./colorHelpers.50ced1e9.js";import"./asyncComputed.47aec2b5.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new Error().stack;t&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[t]="5fd8241f-649e-4a97-9a41-ba7a62a5f5bb",o._sentryDebugIdIdentifier="sentry-dbid-5fd8241f-649e-4a97-9a41-ba7a62a5f5bb")}catch{}})();const fe={style:{"text-align":"center",padding:"20px"}},ge=C({__name:"ConnectionModal",props:{open:{type:Boolean},port:{}},emits:["update:open"],setup(o,{emit:t}){const e=o,n=L({get:()=>e.open,set:s=>t("update:open",s)}),a=p(!1);return h(()=>e.open,s=>{if(s){a.value=!1;const r=setTimeout(()=>{a.value=!0},1e4);return()=>clearTimeout(r)}else a.value=!1}),(s,r)=>(E(),P(d(N),{open:n.value,"onUpdate:open":r[0]||(r[0]=l=>n.value=l),closable:!1,"mask-closable":!1,keyboard:!1,footer:null,width:400,centered:""},{default:m(()=>[k("div",fe,[b(d(M),{size:"large"}),b(d(O),{level:4},{default:m(()=>[j(" Connecting to server... ")]),_:1}),a.value?(E(),P(d($),{key:0},{default:m(()=>[j(" Are you sure Abstra is running? ")]),_:1})):B("",!0)])]),_:1},8,["open"]))}});const me=W(ge,[["__scopeId","data-v-36743132"]]),he={style:{height:"100vh","box-sizing":"border-box",width:"100%"}},be=C({__name:"App",setup(o){const t=pe(),e=p(!1);h(t.isConnected,async a=>{e.value=!a},{immediate:!0});const n={token:{colorPrimary:"#d14056",colorLink:"#d14056",colorLinkHover:"#aa3446"}};return(a,s)=>{const r=z("RouterView");return E(),P(d(F),{theme:n,"page-header":{ghost:!1}},{default:m(()=>[k("div",he,[b(r)]),b(me,{open:e.value,"onUpdate:open":s[0]||(s[0]=l=>e.value=l)},null,8,["open"])]),_:1})}}});class V{async getLogin(){return await(await fetch("/_editor/api/login")).json()}async createLogin(t){return(await fetch("/_editor/api/login",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({token:t})})).json()}async deleteLogin(){await fetch("/_editor/api/login",{method:"DELETE"})}async getCloudProject(){return(await fetch("/_editor/api/login/info")).json()}async getPublicUrl(){try{return(await(await fetch("/_editor/api/login/public-url")).json()).public_url}catch{return null}}static getLoginUrl(t){return _e.CLOUD+"/api-key?"+new URLSearchParams(t)}}const A="h97k86ks",f=class{static boot(t,e){f.booted||(w.Intercom({app_id:A}),w.boot({api_base:"https://api-iam.intercom.io",app_id:A,name:t,email:t,user_hash:e,hide_default_launcher:!0,custom_launcher_selector:".intercom-launcher"}),f.booted=!0)}static shutdown(){w.shutdown(),f.booted=!1}};let _=f;R(_,"booted",!1);const ve={"console-url":"https://cloud.abstra.io"},ye=o=>{const t="VITE_"+T.toUpper(T.snakeCase(o)),e={VITE_SENTRY_RELEASE:"c070b077427b34a670ba8422f8dad30dfba7dde3",BASE_URL:"/",MODE:"production",DEV:!1,PROD:!0}[t];return e||ve[o]},u={consoleUrl:ye("console-url")},we=H("cloud-project",()=>{const o=new V,t=p(null),e=p(null),n=L(()=>{var i,c;return(c=(i=t.value)==null?void 0:i.logged)!=null?c:!1}),a=p(null),s=L(()=>e.value?{project:`${u.consoleUrl}/projects/${e.value.id}`,users:`${u.consoleUrl}/projects/${e.value.id}/access-control?selected-panel=users`,roles:`${u.consoleUrl}/projects/${e.value.id}/access-control?selected-panel=roles`,builds:`${u.consoleUrl}/projects/${e.value.id}/builds`,login:`${u.consoleUrl}/api-key`}:null),r=async()=>{!n.value||(await o.deleteLogin(),window.open(location.origin+"/_editor","_self"))},l=async i=>{const c=await o.createLogin(i);t.value=c,c.logged&&await U()},U=async()=>e.value=await o.getCloudProject();(async()=>{a.value=await o.getPublicUrl()})();const S=async()=>t.value?t.value:(t.value=await o.getLogin(),t.value.logged);return h(()=>t.value,U),h(()=>t.value,async i=>{if(i&&"info"in i){const{email:c,intercomHash:D}=i.info;_.boot(c,D)}else _.shutdown()}),{loadLogin:S,createLogin:l,deleteLogin:r,publicUrl:a,loginInfo:t,cloudProject:e,isLogged:n,links:s}}),Le=ie.map(o=>({...o,meta:{...o.meta,playerRoute:!0}})),v=G({history:q("/"),routes:[{path:"/_editor/",name:"app",component:()=>g(()=>import("./Home.782c5702.js"),["assets/Home.782c5702.js","assets/jwt-decode.esm.54a1ea22.js","assets/jwt-decode.9f7a5511.css","assets/fetch.1b3d01a0.js","assets/polling.b5a32c22.js","assets/Home.afb8d9a6.css"]),children:[{path:"",name:"editor",component:()=>g(()=>import("./NewEditor.c928dbe9.js"),["assets/NewEditor.c928dbe9.js","assets/asyncComputed.47aec2b5.js","assets/jwt-decode.esm.54a1ea22.js","assets/jwt-decode.9f7a5511.css","assets/contracts.generated.aefe8d0a.js","assets/linters.a0f2aa84.js","assets/workspaceStore.fac1e9a9.js","assets/userStore.6ab1e5ac.js","assets/url.f5664225.js","assets/colorHelpers.50ced1e9.js","assets/record.e83a2eb2.js","assets/PhWarningCircle.vue.2087be7d.js","assets/Card.fc77085c.js","assets/router.4dfadf5d.js","assets/index.c7a996a6.js","assets/metadata.0098e20c.js","assets/PhUserList.vue.e0b8c21b.js","assets/PhWebhooksLogo.vue.d164db1e.js","assets/LogsController.0eb2eb30.js","assets/ant-design.42419021.js","assets/string.61e11a30.js","assets/PhCopy.vue.d116ddfb.js","assets/index.966ac1b9.js","assets/build.45b511b6.js","assets/tables.1bcb1140.js","assets/repository.3a331f0f.js","assets/LoadingOutlined.66639b08.js","assets/polling.b5a32c22.js","assets/LogsController.fb0d96c2.css","assets/omniChatStore.dd7a1c46.js","assets/uuid.5b8ba8af.js","assets/PhCopySimple.vue.5d0f839d.js","assets/omniChatStore.ec95fb81.css","assets/datetime.82608dfb.js","assets/OmniChat.73d9f6bb.js","assets/AbstraLogo.vue_vue_type_script_setup_true_lang.28bc9fc9.js","assets/Logo.65e0b37c.js","assets/Logo.b7d81119.css","assets/files.8b58ee7e.js","assets/PhClockCounterClockwise.vue.854c3cb5.js","assets/PhDatabase.vue.a94d95f6.js","assets/index.c8a56795.js","assets/index.d53182ed.js","assets/OmniChat.a21fec40.css","assets/AbstraButton.vue_vue_type_script_setup_true_lang.aefce2d3.js","assets/constants.d569f33d.js","assets/PhBookBookmark.vue.41108214.js","assets/PhChats.vue.71e5cb89.js","assets/PhArrowSquareOut.vue.2ddfc219.js","assets/PhRocket.vue.261a42b2.js","assets/PhSignOut.vue.d1d6498f.js","assets/useCodebaseEvents.276cc8f0.js","assets/PhDownloadSimple.vue.e88f64f1.js","assets/PhPencilSimple.vue.ec0eebb4.js","assets/CloseCircleOutlined.9ff269cc.js","assets/PhFolderPlus.vue.21d377a3.js","assets/tasksController.f3adf725.js","assets/vue-flow-core.6cb99d32.js","assets/ContentLayout.0db8d7fb.js","assets/ContentLayout.cdae7d24.css","assets/fetch.1b3d01a0.js","assets/repository.66c7567c.js","assets/SaveButton.428227de.js","assets/ExclamationCircleOutlined.d0aa47da.js","assets/SaveButton.932ac6b8.css","assets/View.vue_vue_type_script_setup_true_lang.e6563207.js","assets/CrudView.cc6aeaf0.js","assets/DocsButton.vue_vue_type_script_setup_true_lang.689d8ce7.js","assets/PhDotsThreeVertical.vue.5e8ae2a9.js","assets/CrudView.e24590ae.css","assets/PhPencil.vue.feb383e2.js","assets/PlayerNavbar.aaad1dfd.js","assets/PlayerNavbar.77209eae.css","assets/PlayerConfigProvider.28e29025.js","assets/PlayerConfigProvider.1ce9d3b1.css","assets/LoadingContainer.82ac3d44.js","assets/LoadingContainer.56fa997a.css","assets/ScrollArea.vue_vue_type_script_setup_true_lang.6d724b05.js","assets/PhGear.vue.363dd83c.js","assets/toggleHighContrast.9535bf54.js","assets/toggleHighContrast.30d77c87.css","assets/vue-flow-background.af096866.js","assets/PhArrowCounterClockwise.vue.78877a50.js","assets/FormRunner.15be6fa0.js","assets/Login.vue_vue_type_script_setup_true_lang.5161f328.js","assets/CircularLoading.998b223a.js","assets/CircularLoading.a8fe2dc6.css","assets/Login.75d13f6c.css","assets/Steps.dd51a108.js","assets/index.d31da2c3.js","assets/Steps.2880920a.css","assets/Watermark.9c9358e3.js","assets/Watermark.b0916e90.css","assets/FormRunner.46f6426d.css","assets/redirect.586749f4.js","assets/router.06ee2b9d.js","assets/NewEditor.b9c410fe.css"])},{path:"project-login",name:"projectLogin",component:()=>g(()=>import("./ProjectLogin.22c8b093.js"),["assets/ProjectLogin.22c8b093.js","assets/AbstraLogo.vue_vue_type_script_setup_true_lang.28bc9fc9.js","assets/Logo.65e0b37c.js","assets/jwt-decode.esm.54a1ea22.js","assets/jwt-decode.9f7a5511.css","assets/Logo.b7d81119.css","assets/BaseLayout.72a6c8f2.js","assets/BaseLayout.e1744dcc.css","assets/index.482df04a.js","assets/Breadcrumb.5c786c09.js","assets/index.c8a56795.js","assets/index.966ac1b9.js","assets/router.06ee2b9d.js","assets/workspaceStore.fac1e9a9.js","assets/userStore.6ab1e5ac.js","assets/url.f5664225.js","assets/colorHelpers.50ced1e9.js","assets/useCodebaseEvents.276cc8f0.js","assets/contracts.generated.aefe8d0a.js","assets/constants.d569f33d.js","assets/linters.a0f2aa84.js","assets/asyncComputed.47aec2b5.js","assets/index.c7a996a6.js","assets/ProjectLogin.21a71354.css"]),meta:{title:"Abstra Editor",allowUnauthenticated:!0}},{path:":pathMatch(.*)*",name:"editorFallback",redirect:"/_editor/"}]},{path:"/:path(.*)*",name:"player",component:()=>g(()=>import("./App.9d8bd2aa.js"),["assets/App.9d8bd2aa.js","assets/App.vue_vue_type_style_index_0_lang.a64c7cee.js","assets/userStore.6ab1e5ac.js","assets/jwt-decode.esm.54a1ea22.js","assets/jwt-decode.9f7a5511.css","assets/PlayerConfigProvider.28e29025.js","assets/colorHelpers.50ced1e9.js","assets/PlayerConfigProvider.1ce9d3b1.css","assets/workspaceStore.fac1e9a9.js","assets/url.f5664225.js","assets/App.0c2736ee.css"]),children:Le}],scrollBehavior(o){if(o.hash)return{el:o.hash}}}),Ee=ce(v);v.beforeEach(async(o,t)=>{if(await ue().actions.fetch(),o.meta.playerRoute)return Ee(o,t);J(o,t);const e=we();if(!o.meta.allowUnauthenticated&&!e.isLogged&&!await e.loadLogin()){const n={redirect:location.origin+"/_editor/project-login"};window.open(V.getLoginUrl(n),"_self")}});(async()=>{await de();const o=await le(),t=Y(),e=K({render:()=>ae(be)});Q.init(),X(e,v,o),e.use(v),e.use(Z),e.use(t),e.mount("#app"),e.component("VSelect",ee),e.component("Markdown",te),e.component("Message",oe),y(e,ne),y(e,se),y(e,re)})();export{u as E,we as u};
2
- //# sourceMappingURL=editor.02184ced.js.map
@@ -1,2 +0,0 @@
1
- import{C as t,E as d,K as i,a as f,M as b,c,P as l,R as y,S as g,b as u,T as k,U as p,e as w,l as D}from"./toggleHighContrast.9535bf54.js";import"./jwt-decode.esm.54a1ea22.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},a=new Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="f2d4ac3b-4870-4d4a-b111-180604bf41f7",e._sentryDebugIdIdentifier="sentry-dbid-f2d4ac3b-4870-4d4a-b111-180604bf41f7")}catch{}})();export{t as CancellationTokenSource,d as Emitter,i as KeyCode,f as KeyMod,b as MarkerSeverity,c as MarkerTag,l as Position,y as Range,g as Selection,u as SelectionDirection,k as Token,p as Uri,w as editor,D as languages};
2
- //# sourceMappingURL=editor.main.0f931e87.js.map
@@ -1,2 +0,0 @@
1
- import"./jwt-decode.esm.54a1ea22.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},d=new Error().stack;d&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[d]="45b45b32-2b63-4e29-9c22-93e1cd665ab6",e._sentryDebugIdIdentifier="sentry-dbid-45b45b32-2b63-4e29-9c22-93e1cd665ab6")}catch{}})();const b=(...e)=>window.fetch(...e);export{b as l};
2
- //# sourceMappingURL=fetch.1b3d01a0.js.map
@@ -1,2 +0,0 @@
1
- import{C as o}from"./Card.fc77085c.js";import{d as g,ag as b,bT as i,f as r,bD as d,c as y}from"./jwt-decode.esm.54a1ea22.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},n=new Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="38b3923d-5103-41a3-81c2-f497924f470a",e._sentryDebugIdIdentifier="sentry-dbid-38b3923d-5103-41a3-81c2-f497924f470a")}catch{}})();const _=()=>({prefixCls:String,title:d(),description:d(),avatar:d()}),c=g({compatConfig:{MODE:3},name:"ACardMeta",props:_(),slots:Object,setup(e,n){let{slots:a}=n;const{prefixCls:t}=b("card",e);return()=>{const l={[`${t.value}-meta`]:!0},s=i(a,e,"avatar"),f=i(a,e,"title"),v=i(a,e,"description"),C=s?r("div",{class:`${t.value}-meta-avatar`},[s]):null,m=f?r("div",{class:`${t.value}-meta-title`},[f]):null,p=v?r("div",{class:`${t.value}-meta-description`},[v]):null,D=m||p?r("div",{class:`${t.value}-meta-detail`},[m,p]):null;return r("div",{class:l},[C,D])}}}),M=()=>({prefixCls:String,hoverable:{type:Boolean,default:!0}}),u=g({compatConfig:{MODE:3},name:"ACardGrid",__ANT_CARD_GRID:!0,props:M(),setup(e,n){let{slots:a}=n;const{prefixCls:t}=b("card",e),l=y(()=>({[`${t.value}-grid`]:!0,[`${t.value}-grid-hoverable`]:e.hoverable}));return()=>{var s;return r("div",{class:l.value},[(s=a.default)===null||s===void 0?void 0:s.call(a)])}}});o.Meta=c;o.Grid=u;o.install=function(e){return e.component(o.name,o),e.component(c.name,c),e.component(u.name,u),e};export{u as G,c as M};
2
- //# sourceMappingURL=index.581e2edd.js.map
@@ -1,2 +0,0 @@
1
- import{d as P,ag as V,e0 as L,e1 as Q,c as o,r as O,w as W,aQ as X,f,X as m,aR as q,aj as j,cT as h,av as G,bt as B,aM as H,ah as J}from"./jwt-decode.esm.54a1ea22.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},c=new Error().stack;c&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[c]="5778e1a3-2bdd-44d8-8db5-6171fb8018d9",e._sentryDebugIdIdentifier="sentry-dbid-5778e1a3-2bdd-44d8-8db5-6171fb8018d9")}catch{}})();const K={small:8,middle:16,large:24},U=()=>({prefixCls:String,size:{type:[String,Number,Array]},direction:G.oneOf(B("horizontal","vertical")).def("horizontal"),align:G.oneOf(B("start","end","center","baseline")),wrap:H()});function Y(e){return typeof e=="string"?K[e]:e||0}const r=P({compatConfig:{MODE:3},name:"ASpace",inheritAttrs:!1,props:U(),slots:Object,setup(e,c){let{slots:l,attrs:g}=c;const{prefixCls:n,space:y,direction:w}=V("space",e),[E,F]=L(n),x=Q(),s=o(()=>{var t,a,i;return(i=(t=e.size)!==null&&t!==void 0?t:(a=y==null?void 0:y.value)===null||a===void 0?void 0:a.size)!==null&&i!==void 0?i:"small"}),b=O(),u=O();W(s,()=>{[b.value,u.value]=(Array.isArray(s.value)?s.value:[s.value,s.value]).map(t=>Y(t))},{immediate:!0});const z=o(()=>e.align===void 0&&e.direction==="horizontal"?"center":e.align),R=o(()=>J(n.value,F.value,`${n.value}-${e.direction}`,{[`${n.value}-rtl`]:w.value==="rtl",[`${n.value}-align-${z.value}`]:z.value})),T=o(()=>w.value==="rtl"?"marginLeft":"marginRight"),k=o(()=>{const t={};return x.value&&(t.columnGap=`${b.value}px`,t.rowGap=`${u.value}px`),m(m({},t),e.wrap&&{flexWrap:"wrap",marginBottom:`${-u.value}px`})});return()=>{var t,a;const{wrap:i,direction:M="horizontal"}=e,_=(t=l.default)===null||t===void 0?void 0:t.call(l),C=X(_),I=C.length;if(I===0)return null;const d=(a=l.split)===null||a===void 0?void 0:a.call(l),A=`${n.value}-item`,D=b.value,S=I-1;return f("div",j(j({},g),{},{class:[R.value,g.class],style:[k.value,g.style]}),[C.map((N,v)=>{let $=_.indexOf(N);$===-1&&($=`$$space-${v}`);let p={};return x.value||(M==="vertical"?v<S&&(p={marginBottom:`${D/(d?2:1)}px`}):p=m(m({},v<S&&{[T.value]:`${D/(d?2:1)}px`}),i&&{paddingBottom:`${u.value}px`})),E(f(q,{key:$},[f("div",{class:A,style:p},[N]),v<S&&d&&f("span",{class:`${A}-split`,style:p},[d])]))})])}}});r.Compact=h;r.install=function(e){return e.component(r.name,r),e.component(h.name,h),e};const ee=r;export{ee as A};
2
- //# sourceMappingURL=index.966ac1b9.js.map
@@ -1,2 +0,0 @@
1
- import{R as y}from"./jwt-decode.esm.54a1ea22.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},o=new Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="5cef2cac-11fa-473e-94ce-846d06651551",e._sentryDebugIdIdentifier="sentry-dbid-5cef2cac-11fa-473e-94ce-846d06651551")}catch{}})();var B={},_={};Object.defineProperty(_,"__esModule",{value:!0});_.regionAPIs=void 0;_.regionAPIs=new Map([["us","https://api-iam.intercom.io"],["eu","https://api-iam.eu.intercom.io"],["ap","https://api-iam.au.intercom.io"]]);var l={},L=y&&y.__awaiter||function(e,o,a,i){function t(d){return d instanceof a?d:new a(function(r){r(d)})}return new(a||(a=Promise))(function(d,r){function b(s){try{h(i.next(s))}catch(f){r(f)}}function I(s){try{h(i.throw(s))}catch(f){r(f)}}function h(s){s.done?d(s.value):t(s.value).then(b,I)}h((i=i.apply(e,o||[])).next())})};Object.defineProperty(l,"__esModule",{value:!0});l.ref=l.init=void 0;const S="_intercom_npm_loader",g=function(){g.loaderQueue(arguments)};g.q=[];g.loaderQueue=function(e){g.q.push(e)};const v=function(){var e,o,a=document;if(!a.getElementById(S)){var i=a.createElement("script");i.type="text/javascript",i.async=!0,i.id=S,i.src="https://widget.intercom.io/widget/"+((e=window.intercomSettings)===null||e===void 0?void 0:e.app_id);var t=a.getElementsByTagName("script")[0];(o=t.parentNode)===null||o===void 0||o.insertBefore(i,t)}},E=()=>document.readyState==="complete"||document.readyState==="interactive",Q=()=>L(void 0,void 0,void 0,function*(){var e=window,o=e.Intercom;e.intercomSettings&&(e.intercomSettings.installation_type="npm-package"),typeof o=="function"?(o("reattach_activator"),o("update",e.intercomSettings)):(e.Intercom=g,E()?v():(document.addEventListener("readystatechange",function(){E()&&v()}),e.attachEvent?e.attachEvent("onload",v):e.addEventListener("load",v,!1)))});l.init=Q;l.ref=void 0;(function(e){var o=y&&y.__rest||function(n,u){var m={};for(var c in n)Object.prototype.hasOwnProperty.call(n,c)&&u.indexOf(c)<0&&(m[c]=n[c]);if(n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var w=0,c=Object.getOwnPropertySymbols(n);w<c.length;w++)u.indexOf(c[w])<0&&Object.prototype.propertyIsEnumerable.call(n,c[w])&&(m[c[w]]=n[c[w]]);return m};Object.defineProperty(e,"__esModule",{value:!0}),e.onUserEmailSupplied=e.showConversation=e.showTicket=e.startChecklist=e.startSurvey=e.showNews=e.showArticle=e.startTour=e.getVisitorId=e.trackEvent=e.onUnreadCountChange=e.onShow=e.onHide=e.showNewMessage=e.showMessages=e.showSpace=e.show=e.hide=e.update=e.shutdown=e.boot=e.Intercom=void 0;const a=_,i=l,t=(n,...u)=>{typeof window!==void 0&&window.Intercom?window.Intercom(n,...u):console.warn("Please ensure Intercom is setup and running on client-side!")},d=n=>{if(typeof n!="object"){console.warn("Intercom initialiser called with invalid parameters.");return}const{region:u="us"}=n,m=o(n,["region"]);typeof window<"u"&&!i.ref&&(window.intercomSettings=Object.assign(Object.assign({},m),{api_base:a.regionAPIs.get(u)}),(0,i.init)())};e.Intercom=d,e.default=e.Intercom;const r=n=>t("boot",n);e.boot=r;const b=()=>t("shutdown");e.shutdown=b;const I=n=>t("update",n);e.update=I;const h=()=>t("hide");e.hide=h;const s=()=>t("show");e.show=s;const f=n=>t("showSpace",n);e.showSpace=f;const p=()=>t("showMessages");e.showMessages=p;const C=n=>t("showNewMessage",n);e.showNewMessage=C;const k=n=>t("onHide",n);e.onHide=k;const M=n=>t("onShow",n);e.onShow=M;const O=n=>t("onUnreadCountChange",n);e.onUnreadCountChange=O;const j=(...n)=>t("trackEvent",...n);e.trackEvent=j;const N=()=>t("getVisitorId");e.getVisitorId=N;const T=n=>t("startTour",n);e.startTour=T;const P=n=>t("showArticle",n);e.showArticle=P;const U=n=>t("showNews",n);e.showNews=U;const A=n=>t("startSurvey",n);e.startSurvey=A;const D=n=>t("startChecklist",n);e.startChecklist=D;const H=n=>t("showTicket",n);e.showTicket=H;const V=n=>t("showConversation",n);e.showConversation=V;const q=n=>t("onUserEmailSupplied",n);e.onUserEmailSupplied=q})(B);export{B as d};
2
- //# sourceMappingURL=index.c7a996a6.js.map
@@ -1,4 +0,0 @@
1
- import{ab as q,ac as J,X as _,an as K,ad as Q,bt as U,d as ee,ag as ne,N as w,c as oe,ah as te,f as s,a$ as le,aA as ie,aF as ae,aX as se,aZ as re,a_ as ce,aj as R,aY as de,bF as ue,dB as ge,bG as fe,bH as pe,dC as me,dD as ve,dE as $e,dF as ye,av as v}from"./jwt-decode.esm.54a1ea22.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},n=new Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="14439f68-de4e-4f60-9513-970f37de91bb",e._sentryDebugIdIdentifier="sentry-dbid-14439f68-de4e-4f60-9513-970f37de91bb")}catch{}})();const B=(e,n,o,i,a)=>({backgroundColor:e,border:`${i.lineWidth}px ${i.lineType} ${n}`,[`${a}-icon`]:{color:o}}),be=e=>{const{componentCls:n,motionDurationSlow:o,marginXS:i,marginSM:a,fontSize:u,fontSizeLG:r,lineHeight:g,borderRadiusLG:$,motionEaseInOutCirc:c,alertIconSizeLG:d,colorText:p,paddingContentVerticalSM:m,alertPaddingHorizontal:y,paddingMD:h,paddingContentHorizontalLG:C}=e;return{[n]:_(_({},K(e)),{position:"relative",display:"flex",alignItems:"center",padding:`${m}px ${y}px`,wordWrap:"break-word",borderRadius:$,[`&${n}-rtl`]:{direction:"rtl"},[`${n}-content`]:{flex:1,minWidth:0},[`${n}-icon`]:{marginInlineEnd:i,lineHeight:0},["&-description"]:{display:"none",fontSize:u,lineHeight:g},"&-message":{color:p},[`&${n}-motion-leave`]:{overflow:"hidden",opacity:1,transition:`max-height ${o} ${c}, opacity ${o} ${c},
2
- padding-top ${o} ${c}, padding-bottom ${o} ${c},
3
- margin-bottom ${o} ${c}`},[`&${n}-motion-leave-active`]:{maxHeight:0,marginBottom:"0 !important",paddingTop:0,paddingBottom:0,opacity:0}}),[`${n}-with-description`]:{alignItems:"flex-start",paddingInline:C,paddingBlock:h,[`${n}-icon`]:{marginInlineEnd:a,fontSize:d,lineHeight:0},[`${n}-message`]:{display:"block",marginBottom:i,color:p,fontSize:r},[`${n}-description`]:{display:"block"}},[`${n}-banner`]:{marginBottom:0,border:"0 !important",borderRadius:0}}},he=e=>{const{componentCls:n,colorSuccess:o,colorSuccessBorder:i,colorSuccessBg:a,colorWarning:u,colorWarningBorder:r,colorWarningBg:g,colorError:$,colorErrorBorder:c,colorErrorBg:d,colorInfo:p,colorInfoBorder:m,colorInfoBg:y}=e;return{[n]:{"&-success":B(a,i,o,e,n),"&-info":B(y,m,p,e,n),"&-warning":B(g,r,u,e,n),"&-error":_(_({},B(d,c,$,e,n)),{[`${n}-description > pre`]:{margin:0,padding:0}})}}},Ce=e=>{const{componentCls:n,iconCls:o,motionDurationMid:i,marginXS:a,fontSizeIcon:u,colorIcon:r,colorIconHover:g}=e;return{[n]:{["&-action"]:{marginInlineStart:a},[`${n}-close-icon`]:{marginInlineStart:a,padding:0,overflow:"hidden",fontSize:u,lineHeight:`${u}px`,backgroundColor:"transparent",border:"none",outline:"none",cursor:"pointer",[`${o}-close`]:{color:r,transition:`color ${i}`,"&:hover":{color:g}}},"&-close-text":{color:r,transition:`color ${i}`,"&:hover":{color:g}}}}},Ie=e=>[be(e),he(e),Ce(e)],Se=q("Alert",e=>{const{fontSizeHeading3:n}=e,o=J(e,{alertIconSizeLG:n,alertPaddingHorizontal:12});return[Ie(o)]}),xe={success:ue,info:ge,error:fe,warning:pe},we={success:me,info:ve,error:$e,warning:ye},Be=U("success","info","warning","error"),_e=()=>({type:v.oneOf(Be),closable:{type:Boolean,default:void 0},closeText:v.any,message:v.any,description:v.any,afterClose:Function,showIcon:{type:Boolean,default:void 0},prefixCls:String,banner:{type:Boolean,default:void 0},icon:v.any,closeIcon:v.any,onClose:Function}),He=ee({compatConfig:{MODE:3},name:"AAlert",inheritAttrs:!1,props:_e(),setup(e,n){let{slots:o,emit:i,attrs:a,expose:u}=n;const{prefixCls:r,direction:g}=ne("alert",e),[$,c]=Se(r),d=w(!1),p=w(!1),m=w(),y=l=>{l.preventDefault();const f=m.value;f.style.height=`${f.offsetHeight}px`,f.style.height=`${f.offsetHeight}px`,d.value=!0,i("close",l)},h=()=>{var l;d.value=!1,p.value=!0,(l=e.afterClose)===null||l===void 0||l.call(e)},C=oe(()=>{const{type:l}=e;return l!==void 0?l:e.banner?"warning":"info"});u({animationEnd:h});const j=w({});return()=>{var l,f,H,T,A,E,z,D,F,O;const{banner:G,closeIcon:P=(l=o.closeIcon)===null||l===void 0?void 0:l.call(o)}=e;let{closable:L,showIcon:b}=e;const M=(f=e.closeText)!==null&&f!==void 0?f:(H=o.closeText)===null||H===void 0?void 0:H.call(o),I=(T=e.description)!==null&&T!==void 0?T:(A=o.description)===null||A===void 0?void 0:A.call(o),W=(E=e.message)!==null&&E!==void 0?E:(z=o.message)===null||z===void 0?void 0:z.call(o),S=(D=e.icon)!==null&&D!==void 0?D:(F=o.icon)===null||F===void 0?void 0:F.call(o),N=(O=o.action)===null||O===void 0?void 0:O.call(o);b=G&&b===void 0?!0:b;const k=(I?we:xe)[C.value]||null;M&&(L=!0);const t=r.value,V=te(t,{[`${t}-${C.value}`]:!0,[`${t}-closing`]:d.value,[`${t}-with-description`]:!!I,[`${t}-no-icon`]:!b,[`${t}-banner`]:!!G,[`${t}-closable`]:L,[`${t}-rtl`]:g.value==="rtl",[c.value]:!0}),X=L?s("button",{type:"button",onClick:y,class:`${t}-close-icon`,tabindex:0},[M?s("span",{class:`${t}-close-text`},[M]):P===void 0?s(le,null,null):P]):null,Y=S&&(ie(S)?ae(S,{class:`${t}-icon`}):s("span",{class:`${t}-icon`},[S]))||s(k,{class:`${t}-icon`},null),Z=se(`${t}-motion`,{appear:!1,css:!0,onAfterLeave:h,onBeforeLeave:x=>{x.style.maxHeight=`${x.offsetHeight}px`},onLeave:x=>{x.style.maxHeight="0px"}});return $(p.value?null:s(de,Z,{default:()=>[re(s("div",R(R({role:"alert"},a),{},{style:[a.style,j.value],class:[a.class,V],"data-show":!d.value,ref:m}),[b?Y:null,s("div",{class:`${t}-content`},[W?s("div",{class:`${t}-message`},[W]):null,I?s("div",{class:`${t}-description`},[I]):null]),N?s("div",{class:`${t}-action`},[N]):null,X]),[[ce,!d.value]])]}))}}}),Ae=Q(He);export{Ae as A};
4
- //# sourceMappingURL=index.d53182ed.js.map
@@ -1,2 +0,0 @@
1
- import{k as a}from"./router.4dfadf5d.js";import"./jwt-decode.esm.54a1ea22.js";(function(){try{var r=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new Error().stack;e&&(r._sentryDebugIds=r._sentryDebugIds||{},r._sentryDebugIds[e]="60562fac-9c0a-4bdd-9c98-ce39b42ada52",r._sentryDebugIdIdentifier="sentry-dbid-60562fac-9c0a-4bdd-9c98-ce39b42ada52")}catch{}})();class s{async create(e){return a.post(`organizations/${e.organizationId}/members`,{email:e.email,folderIds:e.folderIds})}async delete(e){return a.delete(`organizations/${e.organizationId}/members/${e.authorId}`)}async list(e){return a.get(`organizations/${e}/members`)}async get(e,n){return a.get(`organizations/${e}/members/${n}`)}async update(e,n,t){return a.patch(`organizations/${e}/members/${n}`,t)}}export{s as M};
2
- //# sourceMappingURL=member.2260c37e.js.map
@@ -1,2 +0,0 @@
1
- import{d as c,am as n,c as s,o as l,a5 as r,a7 as p,h as g,e6 as Z,e as o}from"./jwt-decode.esm.54a1ea22.js";import{F as y,G as w,I as M}from"./PhUserList.vue.e0b8c21b.js";import{G as $}from"./PhWebhooksLogo.vue.d164db1e.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="bc1e5cbc-8961-44c2-b46f-29d745f28714",e._sentryDebugIdIdentifier="sentry-dbid-bc1e5cbc-8961-44c2-b46f-29d745f28714")}catch{}})();const k=["width","height","fill","transform"],A={key:0},b=o("path",{d:"M222.14,105.85l-80-80a20,20,0,0,0-28.28,0l-80,80A19.86,19.86,0,0,0,28,120v96a12,12,0,0,0,12,12h64a12,12,0,0,0,12-12V164h24v52a12,12,0,0,0,12,12h64a12,12,0,0,0,12-12V120A19.86,19.86,0,0,0,222.14,105.85ZM204,204H164V152a12,12,0,0,0-12-12H104a12,12,0,0,0-12,12v52H52V121.65l76-76,76,76Z"},null,-1),N=[b],x={key:1},B=o("path",{d:"M216,120v96H152V152H104v64H40V120a8,8,0,0,1,2.34-5.66l80-80a8,8,0,0,1,11.32,0l80,80A8,8,0,0,1,216,120Z",opacity:"0.2"},null,-1),I=o("path",{d:"M219.31,108.68l-80-80a16,16,0,0,0-22.62,0l-80,80A15.87,15.87,0,0,0,32,120v96a8,8,0,0,0,8,8h64a8,8,0,0,0,8-8V160h32v56a8,8,0,0,0,8,8h64a8,8,0,0,0,8-8V120A15.87,15.87,0,0,0,219.31,108.68ZM208,208H160V152a8,8,0,0,0-8-8H104a8,8,0,0,0-8,8v56H48V120l80-80,80,80Z"},null,-1),S=[B,I],z={key:2},C=o("path",{d:"M224,120v96a8,8,0,0,1-8,8H160a8,8,0,0,1-8-8V164a4,4,0,0,0-4-4H108a4,4,0,0,0-4,4v52a8,8,0,0,1-8,8H40a8,8,0,0,1-8-8V120a16,16,0,0,1,4.69-11.31l80-80a16,16,0,0,1,22.62,0l80,80A16,16,0,0,1,224,120Z"},null,-1),D=[C],E={key:3},P=o("path",{d:"M217.9,110.1l-80-80a14,14,0,0,0-19.8,0l-80,80A13.92,13.92,0,0,0,34,120v96a6,6,0,0,0,6,6h64a6,6,0,0,0,6-6V158h36v58a6,6,0,0,0,6,6h64a6,6,0,0,0,6-6V120A13.92,13.92,0,0,0,217.9,110.1ZM210,210H158V152a6,6,0,0,0-6-6H104a6,6,0,0,0-6,6v58H46V120a2,2,0,0,1,.58-1.42l80-80a2,2,0,0,1,2.84,0l80,80A2,2,0,0,1,210,120Z"},null,-1),_=[P],G={key:4},j=o("path",{d:"M219.31,108.68l-80-80a16,16,0,0,0-22.62,0l-80,80A15.87,15.87,0,0,0,32,120v96a8,8,0,0,0,8,8h64a8,8,0,0,0,8-8V160h32v56a8,8,0,0,0,8,8h64a8,8,0,0,0,8-8V120A15.87,15.87,0,0,0,219.31,108.68ZM208,208H160V152a8,8,0,0,0-8-8H104a8,8,0,0,0-8,8v56H48V120l80-80,80,80Z"},null,-1),F=[j],W={key:5},q=o("path",{d:"M216.49,111.51l-80-80a12,12,0,0,0-17,0l-80,80A12,12,0,0,0,36,120v96a4,4,0,0,0,4,4h64a4,4,0,0,0,4-4V156h40v60a4,4,0,0,0,4,4h64a4,4,0,0,0,4-4V120A12,12,0,0,0,216.49,111.51ZM212,212H156V152a4,4,0,0,0-4-4H104a4,4,0,0,0-4,4v60H44V120a4,4,0,0,1,1.17-2.83l80-80a4,4,0,0,1,5.66,0l80,80A4,4,0,0,1,212,120Z"},null,-1),J=[q],K={name:"PhHouse"},R=c({...K,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(e){const t=e,h=n("weight","regular"),d=n("size","1em"),V=n("color","currentColor"),H=n("mirrored",!1),i=s(()=>{var a;return(a=t.weight)!=null?a:h}),v=s(()=>{var a;return(a=t.size)!=null?a:d}),u=s(()=>{var a;return(a=t.color)!=null?a:V}),m=s(()=>t.mirrored!==void 0?t.mirrored?"scale(-1, 1)":void 0:H?"scale(-1, 1)":void 0);return(a,f)=>(l(),r("svg",Z({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:v.value,height:v.value,fill:u.value,transform:m.value},a.$attrs),[p(a.$slots,"default"),i.value==="bold"?(l(),r("g",A,N)):i.value==="duotone"?(l(),r("g",x,S)):i.value==="fill"?(l(),r("g",z,D)):i.value==="light"?(l(),r("g",E,_)):i.value==="regular"?(l(),r("g",G,F)):i.value==="thin"?(l(),r("g",W,J)):g("",!0)],16,k))}}),L=["width","height","fill","transform"],O={key:0},Q=o("path",{d:"M216,44H40A12,12,0,0,0,28,56V208a20,20,0,0,0,20,20H88a20,20,0,0,0,20-20V164h40v12a20,20,0,0,0,20,20h40a20,20,0,0,0,20-20V56A12,12,0,0,0,216,44Zm-12,64H172V68h32ZM84,68v40H52V68Zm0,136H52V132H84Zm24-64V68h40v72Zm64,32V132h32v40Z"},null,-1),U=[Q],X={key:1},Y=o("path",{d:"M216,56v64H160V56ZM40,208a8,8,0,0,0,8,8H88a8,8,0,0,0,8-8V120H40Z",opacity:"0.2"},null,-1),T=o("path",{d:"M216,48H40a8,8,0,0,0-8,8V208a16,16,0,0,0,16,16H88a16,16,0,0,0,16-16V160h48v16a16,16,0,0,0,16,16h40a16,16,0,0,0,16-16V56A8,8,0,0,0,216,48Zm-8,64H168V64h40ZM88,64v48H48V64Zm0,144H48V128H88Zm16-64V64h48v80Zm64,32V128h40v48Z"},null,-1),a0=[Y,T],e0={key:2},t0=o("path",{d:"M160,56v96a8,8,0,0,1-8,8H112a8,8,0,0,1-8-8V56a8,8,0,0,1,8-8h40A8,8,0,0,1,160,56Zm64-8H184a8,8,0,0,0-8,8v52a4,4,0,0,0,4,4h48a4,4,0,0,0,4-4V56A8,8,0,0,0,224,48Zm4,80H180a4,4,0,0,0-4,4v44a16,16,0,0,0,16,16h24a16,16,0,0,0,16-16V132A4,4,0,0,0,228,128ZM80,48H40a8,8,0,0,0-8,8v52a4,4,0,0,0,4,4H84a4,4,0,0,0,4-4V56A8,8,0,0,0,80,48Zm4,80H36a4,4,0,0,0-4,4v76a16,16,0,0,0,16,16H72a16,16,0,0,0,16-16V132A4,4,0,0,0,84,128Z"},null,-1),l0=[t0],r0={key:3},o0=o("path",{d:"M216,50H40a6,6,0,0,0-6,6V208a14,14,0,0,0,14,14H88a14,14,0,0,0,14-14V158h52v18a14,14,0,0,0,14,14h40a14,14,0,0,0,14-14V56A6,6,0,0,0,216,50Zm-6,64H166V62h44ZM90,62v52H46V62Zm0,146a2,2,0,0,1-2,2H48a2,2,0,0,1-2-2V126H90Zm12-62V62h52v84Zm106,32H168a2,2,0,0,1-2-2V126h44v50A2,2,0,0,1,208,178Z"},null,-1),i0=[o0],n0={key:4},s0=o("path",{d:"M216,48H40a8,8,0,0,0-8,8V208a16,16,0,0,0,16,16H88a16,16,0,0,0,16-16V160h48v16a16,16,0,0,0,16,16h40a16,16,0,0,0,16-16V56A8,8,0,0,0,216,48ZM88,208H48V128H88Zm0-96H48V64H88Zm64,32H104V64h48Zm56,32H168V128h40Zm0-64H168V64h40Z"},null,-1),h0=[s0],v0={key:5},d0=o("path",{d:"M216,52H40a4,4,0,0,0-4,4V208a12,12,0,0,0,12,12H88a12,12,0,0,0,12-12V156h56v20a12,12,0,0,0,12,12h40a12,12,0,0,0,12-12V56A4,4,0,0,0,216,52ZM92,208a4,4,0,0,1-4,4H48a4,4,0,0,1-4-4V124H92Zm0-92H44V60H92Zm64,32H100V60h56Zm56,28a4,4,0,0,1-4,4H168a4,4,0,0,1-4-4V124h48Zm0-60H164V60h48Z"},null,-1),V0=[d0],H0={name:"PhKanban"},u0=c({...H0,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(e){const t=e,h=n("weight","regular"),d=n("size","1em"),V=n("color","currentColor"),H=n("mirrored",!1),i=s(()=>{var a;return(a=t.weight)!=null?a:h}),v=s(()=>{var a;return(a=t.size)!=null?a:d}),u=s(()=>{var a;return(a=t.color)!=null?a:V}),m=s(()=>t.mirrored!==void 0?t.mirrored?"scale(-1, 1)":void 0:H?"scale(-1, 1)":void 0);return(a,f)=>(l(),r("svg",Z({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:v.value,height:v.value,fill:u.value,transform:m.value},a.$attrs),[p(a.$slots,"default"),i.value==="bold"?(l(),r("g",O,U)):i.value==="duotone"?(l(),r("g",X,a0)):i.value==="fill"?(l(),r("g",e0,l0)):i.value==="light"?(l(),r("g",r0,i0)):i.value==="regular"?(l(),r("g",n0,h0)):i.value==="thin"?(l(),r("g",v0,V0)):g("",!0)],16,L))}}),m0={stages:[{icon:y,typeName:"forms",description:"Wait for a user input",key:"F",title:"Forms"},{typeName:"hooks",title:"Hooks",icon:$,description:"Wait for a trigger from an external service",key:"H"},{typeName:"jobs",title:"Jobs",icon:w,description:"Executed periodically",key:"J"},{typeName:"scripts",title:"Tasklets",icon:M,description:"Run a script when a task arrives",key:"T"}]};function c0(e){e==="tasklet"&&(e="script");const t=m0.stages.find(h=>h.typeName===e||h.typeName===`${e}s`);if(!t)throw new Error(`No metadata found for stage ${e}`);return t.icon}const f0=e=>e==="kanban"?u0:e==="home"?R:c0(e);export{f0 as i,c0 as s,m0 as w};
2
- //# sourceMappingURL=metadata.0098e20c.js.map