abstra 3.23.7__py3-none-any.whl → 3.23.9__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 (249) hide show
  1. {abstra-3.23.7.dist-info → abstra-3.23.9.dist-info}/METADATA +1 -1
  2. {abstra-3.23.7.dist-info → abstra-3.23.9.dist-info}/RECORD +196 -191
  3. abstra_internals/consts/filepaths.py +1 -1
  4. abstra_internals/controllers/codebase.py +9 -18
  5. abstra_internals/controllers/codebase_events.py +6 -4
  6. abstra_internals/controllers/main.py +56 -67
  7. abstra_internals/entities/forms/template.py +84 -5
  8. abstra_internals/interface/cli/deploy.py +1 -3
  9. abstra_internals/modules_test.py +2 -2
  10. abstra_internals/repositories/linter/repository.py +9 -40
  11. abstra_internals/repositories/linter/rules/__init__.py +2 -0
  12. abstra_internals/repositories/linter/rules/big_py_files.py +40 -0
  13. abstra_internals/repositories/linter/rules/big_py_files_test.py +93 -0
  14. abstra_internals/repositories/linter/rules/duplicate_package_in_requirements.py +16 -4
  15. abstra_internals/repositories/linter/rules/duplicate_package_in_requirements_test.py +24 -3
  16. abstra_internals/repositories/linter/rules/env_in_bundle.py +3 -6
  17. abstra_internals/repositories/linter/rules/env_in_bundle_test.py +4 -3
  18. abstra_internals/repositories/linter/rules/missing_packages_in_requirements.py +12 -1
  19. abstra_internals/repositories/linter/rules/syntax_errors.py +2 -19
  20. abstra_internals/repositories/linter/rules/venv_in_bundle.py +3 -2
  21. abstra_internals/server/routes/requirements.py +7 -3
  22. abstra_internals/server/routes/workspace.py +0 -10
  23. abstra_internals/services/file_watcher.py +17 -14
  24. abstra_internals/services/fs.py +144 -99
  25. abstra_internals/services/fs_test.py +303 -8
  26. abstra_internals/services/requirements.py +271 -81
  27. abstra_internals/services/requirements_test.py +528 -164
  28. abstra_internals/templates/__init__.py +3 -1
  29. abstra_internals/utils/file.py +62 -0
  30. abstra_internals/utils/platform.py +5 -0
  31. abstra_statics/dist/assets/{AbstraButton.vue_vue_type_script_setup_true_lang.9812dba9.js → AbstraButton.vue_vue_type_script_setup_true_lang.e74c1d9b.js} +2 -2
  32. abstra_statics/dist/assets/AbstraLogo.vue_vue_type_script_setup_true_lang.f9d9018b.js +2 -0
  33. abstra_statics/dist/assets/{ApiKeys.902caf82.js → ApiKeys.1d2b9051.js} +2 -2
  34. abstra_statics/dist/assets/App.24328bec.js +2 -0
  35. abstra_statics/dist/assets/App.vue_vue_type_style_index_0_lang.13b52476.js +2 -0
  36. abstra_statics/dist/assets/BaseLayout.e2546be2.js +2 -0
  37. abstra_statics/dist/assets/{Billing.877a4614.js → Billing.ed96ff6d.js} +2 -2
  38. abstra_statics/dist/assets/{Breadcrumb.f312111a.js → Breadcrumb.21c760be.js} +2 -2
  39. abstra_statics/dist/assets/{Builds.a2c45c39.js → Builds.e0882931.js} +2 -2
  40. abstra_statics/dist/assets/{Card.5f504e7b.js → Card.714646f7.js} +5 -5
  41. abstra_statics/dist/assets/{CircularLoading.6f511e29.js → CircularLoading.5ac43298.js} +2 -2
  42. abstra_statics/dist/assets/CloseCircleOutlined.04918c3d.js +2 -0
  43. abstra_statics/dist/assets/ConnectorsView.78da900d.js +2 -0
  44. abstra_statics/dist/assets/{ConnectorsView.17764dde.css → ConnectorsView.aeb00ce8.css} +1 -1
  45. abstra_statics/dist/assets/ConsoleOmniChat.vue_vue_type_script_setup_true_lang.d7b17e09.js +2 -0
  46. abstra_statics/dist/assets/ContentLayout.3a69fd49.js +2 -0
  47. abstra_statics/dist/assets/{CrudView.5a642b48.js → CrudView.77b58a5a.js} +2 -2
  48. abstra_statics/dist/assets/DocsButton.vue_vue_type_script_setup_true_lang.836e8f5e.js +2 -0
  49. abstra_statics/dist/assets/{EditorLogin.d2224782.js → EditorLogin.4d61e44f.js} +2 -2
  50. abstra_statics/dist/assets/{EditorsView.5e769180.js → EditorsView.08a5cd3a.js} +2 -2
  51. abstra_statics/dist/assets/EnvVars.2f33a113.js +2 -0
  52. abstra_statics/dist/assets/{Error.dd899e38.js → Error.8a6cfa01.js} +2 -2
  53. abstra_statics/dist/assets/ExclamationCircleOutlined.93703670.js +2 -0
  54. abstra_statics/dist/assets/Files.6d07f9be.js +2 -0
  55. abstra_statics/dist/assets/Form.c1a08fa6.js +2 -0
  56. abstra_statics/dist/assets/{FormRunner.1c6a88dd.js → FormRunner.a00b296a.js} +2 -2
  57. abstra_statics/dist/assets/Home.332f8b44.js +2 -0
  58. abstra_statics/dist/assets/Home.964d824d.js +2 -0
  59. abstra_statics/dist/assets/{Live.a691b0eb.js → Live.ee0e73dd.js} +2 -2
  60. abstra_statics/dist/assets/LoadingContainer.cbb8e068.js +2 -0
  61. abstra_statics/dist/assets/LoadingOutlined.644899c2.js +2 -0
  62. abstra_statics/dist/assets/{Login.f96858b0.js → Login.0182140b.js} +2 -2
  63. abstra_statics/dist/assets/Login.ebf77147.js +2 -0
  64. abstra_statics/dist/assets/{Login.vue_vue_type_script_setup_true_lang.7d56cca3.js → Login.vue_vue_type_script_setup_true_lang.721bd893.js} +2 -2
  65. abstra_statics/dist/assets/Logo.c74119c7.js +2 -0
  66. abstra_statics/dist/assets/{Logs.8426d360.js → Logs.7a458aba.js} +2 -2
  67. abstra_statics/dist/assets/{LogsController.318117fd.js → LogsController.e7ad74db.js} +2 -2
  68. abstra_statics/dist/assets/Main.a2c84f7b.js +2 -0
  69. abstra_statics/dist/assets/{MockForm.f8600bec.js → MockForm.50f237ad.js} +2 -2
  70. abstra_statics/dist/assets/Navbar.0cf9e650.js +2 -0
  71. abstra_statics/dist/assets/{NewEditor.d3300cf0.css → NewEditor.0044878f.css} +1 -1
  72. abstra_statics/dist/assets/NewEditor.4519d8ac.js +8 -0
  73. abstra_statics/dist/assets/OidcLoginCallback.073de6bd.js +2 -0
  74. abstra_statics/dist/assets/{OidcLogoutCallback.485fb0b9.js → OidcLogoutCallback.e474320b.js} +2 -2
  75. abstra_statics/dist/assets/{OmniChat.097bec71.js → OmniChat.1a6ad90c.js} +4 -4
  76. abstra_statics/dist/assets/{OmniChat.7660057c.css → OmniChat.8a35a659.css} +1 -1
  77. abstra_statics/dist/assets/{OnboardingView.c9a3343e.js → OnboardingView.c4e859f1.js} +2 -2
  78. abstra_statics/dist/assets/{Organization.0833b7fe.js → Organization.432776d6.js} +2 -2
  79. abstra_statics/dist/assets/Organizations.cd6f9f61.js +2 -0
  80. abstra_statics/dist/assets/{PhArrowCounterClockwise.vue.aaa06bc0.js → PhArrowCounterClockwise.vue.72ed46a0.js} +2 -2
  81. abstra_statics/dist/assets/{PhArrowSquareOut.vue.ee4af292.js → PhArrowSquareOut.vue.ddb450f1.js} +2 -2
  82. abstra_statics/dist/assets/{PhBookBookmark.vue.681c5036.js → PhBookBookmark.vue.4a6ba053.js} +2 -2
  83. abstra_statics/dist/assets/{PhChats.vue.d61c3615.js → PhChats.vue.870bbba9.js} +2 -2
  84. abstra_statics/dist/assets/{PhClockCounterClockwise.vue.0457e9b2.js → PhClockCounterClockwise.vue.123f0e9b.js} +2 -2
  85. abstra_statics/dist/assets/{PhCopy.vue.391b0ef7.js → PhCopy.vue.70df4792.js} +2 -2
  86. abstra_statics/dist/assets/{PhCopySimple.vue.e887b43c.js → PhCopySimple.vue.f5246c24.js} +2 -2
  87. abstra_statics/dist/assets/{PhCube.vue.d070a184.js → PhCube.vue.8900248a.js} +2 -2
  88. abstra_statics/dist/assets/{PhDotsThreeVertical.vue.f4b60771.js → PhDotsThreeVertical.vue.14516e2e.js} +2 -2
  89. abstra_statics/dist/assets/{PhDownloadSimple.vue.3444d06b.js → PhDownloadSimple.vue.f8dc6a01.js} +2 -2
  90. abstra_statics/dist/assets/{PhFolderPlus.vue.d5788203.js → PhFolderPlus.vue.65855487.js} +2 -2
  91. abstra_statics/dist/assets/{PhGear.vue.e2b120bb.js → PhGear.vue.172823d3.js} +2 -2
  92. abstra_statics/dist/assets/{PhKey.vue.cf1e08ca.js → PhKey.vue.9d78ceda.js} +2 -2
  93. abstra_statics/dist/assets/{PhPencil.vue.20f1b3c4.js → PhPencil.vue.f326c6d0.js} +2 -2
  94. abstra_statics/dist/assets/{PhPencilSimple.vue.ec2125f5.js → PhPencilSimple.vue.31afd9b3.js} +2 -2
  95. abstra_statics/dist/assets/{PhPencilSimpleLine.vue.22e75a5a.js → PhPencilSimpleLine.vue.394969fe.js} +2 -2
  96. abstra_statics/dist/assets/{PhRocket.vue.27c6f935.js → PhRocket.vue.b69be43b.js} +2 -2
  97. abstra_statics/dist/assets/{PhSignOut.vue.61b63ec0.js → PhSignOut.vue.6be07f90.js} +2 -2
  98. abstra_statics/dist/assets/{PhSparkle.vue.fd6a9ad7.js → PhSparkle.vue.ca8d1014.js} +2 -2
  99. abstra_statics/dist/assets/{PhUserList.vue.abdd6da1.js → PhUserList.vue.43e7a38a.js} +2 -2
  100. abstra_statics/dist/assets/{PhUsersThree.vue.85d1a1f0.js → PhUsersThree.vue.fb26521a.js} +2 -2
  101. abstra_statics/dist/assets/{PhWebhooksLogo.vue.00b65b2c.js → PhWebhooksLogo.vue.ea667ed2.js} +2 -2
  102. abstra_statics/dist/assets/{PlayerConfigProvider.10f46997.js → PlayerConfigProvider.5aec8c16.js} +2 -2
  103. abstra_statics/dist/assets/{PlayerNavbar.f2f66852.js → PlayerNavbar.21883569.js} +2 -2
  104. abstra_statics/dist/assets/Project.a987ec46.js +2 -0
  105. abstra_statics/dist/assets/ProjectLogin.583ce83f.js +2 -0
  106. abstra_statics/dist/assets/{ProjectSettings.50027450.js → ProjectSettings.b949f40f.js} +2 -2
  107. abstra_statics/dist/assets/{ProjectsView.107f5e34.js → ProjectsView.7de28b8a.js} +2 -2
  108. abstra_statics/dist/assets/{SaveButton.cd025dae.js → SaveButton.f6870993.js} +2 -2
  109. abstra_statics/dist/assets/{files.f66880c3.js → ScrollArea.vue_vue_type_script_setup_true_lang.21ea9f38.js} +2 -2
  110. abstra_statics/dist/assets/{Sidebar.c3d5d187.js → Sidebar.1250b960.js} +2 -2
  111. abstra_statics/dist/assets/Sql.3cdc910a.css +1 -0
  112. abstra_statics/dist/assets/Sql.a8abfb57.js +5 -0
  113. abstra_statics/dist/assets/Steps.2f177a1f.js +2 -0
  114. abstra_statics/dist/assets/{TableEditor.7b07ece4.js → TableEditor.25046840.js} +2 -2
  115. abstra_statics/dist/assets/Tables.f0ea43f5.js +2 -0
  116. abstra_statics/dist/assets/{TablesDiagram.6736c045.js → TablesDiagram.eb43ee41.js} +3 -3
  117. abstra_statics/dist/assets/TablesTabs.vue_vue_type_script_setup_true_lang.a35b4471.js +2 -0
  118. abstra_statics/dist/assets/Tasks.5fde94ea.js +2 -0
  119. abstra_statics/dist/assets/{UploadOutlined.732440a5.js → UploadOutlined.3828d031.js} +2 -2
  120. abstra_statics/dist/assets/{View.283e52c1.js → View.f0be1038.js} +2 -2
  121. abstra_statics/dist/assets/View.vue_vue_type_script_setup_true_lang.bddece9c.js +2 -0
  122. abstra_statics/dist/assets/{Watermark.6076ef47.js → Watermark.1655dad8.js} +2 -2
  123. abstra_statics/dist/assets/{WebEditor.6a012d5b.js → WebEditor.f6ba39c6.js} +2 -2
  124. abstra_statics/dist/assets/WidgetPreview.70e3ecb3.js +2 -0
  125. abstra_statics/dist/assets/{ant-design.4302db30.js → ant-design.1cc60cde.js} +2 -2
  126. abstra_statics/dist/assets/{apiKey.1c96dd66.js → apiKey.49b8decf.js} +2 -2
  127. abstra_statics/dist/assets/asyncComputed.92146382.js +2 -0
  128. abstra_statics/dist/assets/{build.656c5601.js → build.261de82e.js} +2 -2
  129. abstra_statics/dist/assets/{colorHelpers.2a607581.js → colorHelpers.59e5ee56.js} +2 -2
  130. abstra_statics/dist/assets/{console.9b13e1da.js → console.0548c6a0.js} +2 -2
  131. abstra_statics/dist/assets/constants.f352d89b.js +2 -0
  132. abstra_statics/dist/assets/contracts.generated.ac0bb8ea.js +2 -0
  133. abstra_statics/dist/assets/{cssMode.6d17ca95.js → cssMode.c55f29d9.js} +2 -2
  134. abstra_statics/dist/assets/datetime.780c5d6b.js +2 -0
  135. abstra_statics/dist/assets/dayjs.b139fc88.js +2 -0
  136. abstra_statics/dist/assets/editor.f7e5ca32.js +2 -0
  137. abstra_statics/dist/assets/editor.main.eea24677.js +2 -0
  138. abstra_statics/dist/assets/fetch.e3c8dd68.js +2 -0
  139. abstra_statics/dist/assets/{folder.9092348a.js → folder.934b13ce.js} +2 -2
  140. abstra_statics/dist/assets/{freemarker2.82f2cb8c.js → freemarker2.72aea997.js} +2 -2
  141. abstra_statics/dist/assets/{handlebars.36ec2a3c.js → handlebars.607ed329.js} +2 -2
  142. abstra_statics/dist/assets/{html.845da565.js → html.1cebc021.js} +3 -3
  143. abstra_statics/dist/assets/{htmlMode.980f76b4.js → htmlMode.b3ab207b.js} +2 -2
  144. abstra_statics/dist/assets/{index.0f357aec.js → index.2efe5ae2.js} +2 -2
  145. abstra_statics/dist/assets/{index.55d10b71.js → index.424d5056.js} +2 -2
  146. abstra_statics/dist/assets/{index.1e12c884.js → index.61710ff9.js} +2 -2
  147. abstra_statics/dist/assets/{index.a2b9d34b.js → index.8ea8b90b.js} +2 -2
  148. abstra_statics/dist/assets/{index.1551abd6.js → index.a5ddebc4.js} +3 -3
  149. abstra_statics/dist/assets/{index.5dbe93c3.js → index.cef986ac.js} +3 -3
  150. abstra_statics/dist/assets/{index.81a2ae08.js → index.d73f307c.js} +2 -2
  151. abstra_statics/dist/assets/{index.b3b62f71.js → index.ded0f9ab.js} +2 -2
  152. abstra_statics/dist/assets/{index.4ecba4f7.js → index.e189c6ed.js} +2 -2
  153. abstra_statics/dist/assets/{javascript.b0154182.js → javascript.595850d9.js} +3 -3
  154. abstra_statics/dist/assets/{jsonMode.f86e9042.js → jsonMode.e3ed1113.js} +2 -2
  155. abstra_statics/dist/assets/{jwt-decode.esm.d86c27e0.js → jwt-decode.esm.1b301f74.js} +8 -8
  156. abstra_statics/dist/assets/linters.0018d44c.js +2 -0
  157. abstra_statics/dist/assets/{liquid.029287f8.js → liquid.3ef83be8.js} +3 -3
  158. abstra_statics/dist/assets/member.3c3a769a.js +2 -0
  159. abstra_statics/dist/assets/{metadata.18d0a278.js → metadata.e6e62729.js} +2 -2
  160. abstra_statics/dist/assets/omniChatStore.8902e4de.js +8 -0
  161. abstra_statics/dist/assets/{organization.8b2c1c53.js → organization.c92a9190.js} +2 -2
  162. abstra_statics/dist/assets/player.82dc9e2f.js +2 -0
  163. abstra_statics/dist/assets/{plotly.min.10467de2.js → plotly.min.ac699f04.js} +2 -2
  164. abstra_statics/dist/assets/polling.a3bae209.js +2 -0
  165. abstra_statics/dist/assets/{project.33809d47.js → project.48a235c1.js} +2 -2
  166. abstra_statics/dist/assets/{python.ee23fd86.js → python.b69cfb2a.js} +2 -2
  167. abstra_statics/dist/assets/{razor.4ae6d2a2.js → razor.0f42fef9.js} +2 -2
  168. abstra_statics/dist/assets/{record.d087b37e.js → record.b96b0275.js} +2 -2
  169. abstra_statics/dist/assets/{redirect.c06a7828.js → redirect.ebab71ed.js} +2 -2
  170. abstra_statics/dist/assets/repository.4920fb3b.js +2 -0
  171. abstra_statics/dist/assets/{repository.6fa74dff.js → repository.c0dc4e22.js} +2 -2
  172. abstra_statics/dist/assets/router.8882099a.js +2 -0
  173. abstra_statics/dist/assets/{router.7936fd78.js → router.99a53337.js} +3 -3
  174. abstra_statics/dist/assets/string.4796d44a.js +2 -0
  175. abstra_statics/dist/assets/{tables.d580be9d.js → tables.13d62f0c.js} +2 -2
  176. abstra_statics/dist/assets/tasksController.3255c760.js +4 -0
  177. abstra_statics/dist/assets/{toggleHighContrast.510bdb1d.js → toggleHighContrast.cb5e834a.js} +7 -7
  178. abstra_statics/dist/assets/{tsMode.5c0f732d.js → tsMode.95528ab9.js} +2 -2
  179. abstra_statics/dist/assets/{typescript.0643a053.js → typescript.b90bd43d.js} +3 -3
  180. abstra_statics/dist/assets/url.84e62ca8.js +2 -0
  181. abstra_statics/dist/assets/useCodebaseEvents.c47ad36d.js +2 -0
  182. abstra_statics/dist/assets/userStore.843da693.js +2 -0
  183. abstra_statics/dist/assets/uuid.58d26ff2.js +2 -0
  184. abstra_statics/dist/assets/{vue-flow-background.011d27ef.js → vue-flow-background.6b5566a8.js} +2 -2
  185. abstra_statics/dist/assets/{vue-quill.esm-bundler.487756a5.js → vue-quill.esm-bundler.3c4b0230.js} +2 -2
  186. abstra_statics/dist/assets/{workspaceStore.87f8dbc6.js → workspaceStore.6a20c00d.js} +2 -2
  187. abstra_statics/dist/assets/{xml.c3c548ab.js → xml.070d3630.js} +3 -3
  188. abstra_statics/dist/assets/{yaml.0d909e29.js → yaml.2a862691.js} +3 -3
  189. abstra_statics/dist/console.html +15 -15
  190. abstra_statics/dist/editor.html +13 -11
  191. abstra_statics/dist/player.html +9 -9
  192. tests/e2e/test_crud_files.py +0 -1
  193. tests/e2e/test_requirements.py +41 -4
  194. abstra_statics/dist/assets/AbstraLogo.vue_vue_type_script_setup_true_lang.0c707a8b.js +0 -2
  195. abstra_statics/dist/assets/App.f0468c7f.js +0 -2
  196. abstra_statics/dist/assets/App.vue_vue_type_style_index_0_lang.864018b5.js +0 -2
  197. abstra_statics/dist/assets/BaseLayout.8bd18c5f.js +0 -2
  198. abstra_statics/dist/assets/CloseCircleOutlined.2815d641.js +0 -2
  199. abstra_statics/dist/assets/ConnectorsView.4e22242f.js +0 -2
  200. abstra_statics/dist/assets/ConsoleOmniChat.vue_vue_type_script_setup_true_lang.17b546d4.js +0 -2
  201. abstra_statics/dist/assets/ContentLayout.c7733a0e.js +0 -2
  202. abstra_statics/dist/assets/DocsButton.vue_vue_type_script_setup_true_lang.2c5aae83.js +0 -2
  203. abstra_statics/dist/assets/EnvVars.74e357b2.js +0 -2
  204. abstra_statics/dist/assets/ExclamationCircleOutlined.9b25ffda.js +0 -2
  205. abstra_statics/dist/assets/Files.d9621f31.js +0 -2
  206. abstra_statics/dist/assets/Form.9eebd960.js +0 -2
  207. abstra_statics/dist/assets/Home.9531e545.js +0 -2
  208. abstra_statics/dist/assets/Home.b12bb81a.js +0 -2
  209. abstra_statics/dist/assets/LoadingContainer.c40ae513.js +0 -2
  210. abstra_statics/dist/assets/LoadingOutlined.b607eff2.js +0 -2
  211. abstra_statics/dist/assets/Login.5f104bb1.js +0 -2
  212. abstra_statics/dist/assets/Logo.a34929e1.js +0 -2
  213. abstra_statics/dist/assets/Main.7030ea1d.js +0 -2
  214. abstra_statics/dist/assets/Navbar.a1055174.js +0 -2
  215. abstra_statics/dist/assets/NewEditor.6b2cb8e6.js +0 -8
  216. abstra_statics/dist/assets/OidcLoginCallback.445dd392.js +0 -2
  217. abstra_statics/dist/assets/Organizations.1c35b6b8.js +0 -2
  218. abstra_statics/dist/assets/Project.2fdca57c.js +0 -2
  219. abstra_statics/dist/assets/ProjectLogin.7660cd84.js +0 -2
  220. abstra_statics/dist/assets/Sql.1afe0bac.css +0 -1
  221. abstra_statics/dist/assets/Sql.7d92acbb.js +0 -5
  222. abstra_statics/dist/assets/Steps.b12e16c6.js +0 -2
  223. abstra_statics/dist/assets/Tables.aa6b418c.js +0 -2
  224. abstra_statics/dist/assets/TablesTabs.vue_vue_type_script_setup_true_lang.95ea10aa.js +0 -2
  225. abstra_statics/dist/assets/Tasks.6660de00.js +0 -2
  226. abstra_statics/dist/assets/View.vue_vue_type_script_setup_true_lang.483e52f9.js +0 -2
  227. abstra_statics/dist/assets/WidgetPreview.b01eed73.js +0 -2
  228. abstra_statics/dist/assets/asyncComputed.59410422.js +0 -2
  229. abstra_statics/dist/assets/constants.733c6549.js +0 -2
  230. abstra_statics/dist/assets/datetime.adbf692e.js +0 -2
  231. abstra_statics/dist/assets/dayjs.9e279491.js +0 -2
  232. abstra_statics/dist/assets/editor.7e30500a.js +0 -2
  233. abstra_statics/dist/assets/editor.main.4675b13a.js +0 -2
  234. abstra_statics/dist/assets/fetch.13b54f0f.js +0 -2
  235. abstra_statics/dist/assets/linters.9ba6d5f8.js +0 -2
  236. abstra_statics/dist/assets/member.3aca30ee.js +0 -2
  237. abstra_statics/dist/assets/omniChatStore.16b8f156.js +0 -10
  238. abstra_statics/dist/assets/player.7f570660.js +0 -2
  239. abstra_statics/dist/assets/polling.0b08b681.js +0 -2
  240. abstra_statics/dist/assets/repository.02efcdbd.js +0 -2
  241. abstra_statics/dist/assets/router.7071f838.js +0 -2
  242. abstra_statics/dist/assets/string.360236ba.js +0 -2
  243. abstra_statics/dist/assets/tasksController.b66c85ee.js +0 -4
  244. abstra_statics/dist/assets/url.b31d406a.js +0 -2
  245. abstra_statics/dist/assets/userStore.f2537ff3.js +0 -2
  246. abstra_statics/dist/assets/uuid.d6d43ef5.js +0 -2
  247. {abstra-3.23.7.dist-info → abstra-3.23.9.dist-info}/WHEEL +0 -0
  248. {abstra-3.23.7.dist-info → abstra-3.23.9.dist-info}/entry_points.txt +0 -0
  249. {abstra-3.23.7.dist-info → abstra-3.23.9.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,2 @@
1
+ import"./jwt-decode.esm.1b301f74.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]="5ba55251-5d92-43e4-9222-fd656064fad3",e._sentryDebugIdIdentifier="sentry-dbid-5ba55251-5d92-43e4-9222-fd656064fad3")}catch{}})();const d=1e3,f=e=>{let n=null;return{startPolling:()=>{const t=async()=>{var o;try{!document.hidden&&!e.keepPollingOnOutOfFocus&&await e.task()}finally{n=setTimeout(t,(o=e.interval)!=null?o:d)}};t()},endPolling:()=>{n&&clearTimeout(n)}}};export{f as u};
2
+ //# sourceMappingURL=polling.a3bae209.js.map
@@ -1,2 +1,2 @@
1
- var h=Object.defineProperty;var l=(a,t,e)=>t in a?h(a,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):a[t]=e;var o=(a,t,e)=>(l(a,typeof t!="symbol"?t+"":t,e),e);import{a as g}from"./record.d087b37e.js";import{h as s}from"./router.7936fd78.js";import"./jwt-decode.esm.d86c27e0.js";(function(){try{var a=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new Error().stack;t&&(a._sentryDebugIds=a._sentryDebugIds||{},a._sentryDebugIds[t]="2bfd43ee-b442-4b22-9634-f4d006d90c4a",a._sentryDebugIdIdentifier="sentry-dbid-2bfd43ee-b442-4b22-9634-f4d006d90c4a")}catch{}})();class y extends Error{constructor(){super("Subdomain already in use")}}class m{constructor(){o(this,"urlPath","projects")}async create({name:t,organizationId:e,folderId:r}){return s.post(`organizations/${e}/${this.urlPath}`,{name:t,folderId:r})}async delete(t){await s.delete(`/${this.urlPath}/${t}`)}async duplicate(t){return await new Promise(e=>setTimeout(e,5e3)),s.post(`/${this.urlPath}/${t}/duplicate`,{})}async list(t){return s.get(`organizations/${t}/${this.urlPath}`)}async get(t){return s.get(`${this.urlPath}/${t}`)}async update(t,e){const r=await s.patch(`${this.urlPath}/${t}`,e);if("error"in r&&r.error==="subdomain-already-in-use")throw new y;if("error"in r)throw new Error("Unknown error");return r}async checkSubdomain(t,e){return s.get(`${this.urlPath}/${t}/check-subdomain/${e}`)}async getStatus(t){return s.get(`${this.urlPath}/${t}/deploy-status`)}async startWebEditor(t){return s.post(`${this.urlPath}/${t}/web-editor/start`,{})}async executeQuery(t,e,r){return s.post(`projects/${t}/execute`,{query:e,params:r})}}const n=new m;class i{constructor(t){o(this,"record");this.record=g.create(n,t)}static formatSubdomain(t){const r=t.toLowerCase().normalize("NFD").replace(/[\u0300-\u036f]/g,""),c=/[a-z0-9]+/g,u=r.matchAll(c);return Array.from(u).map(d=>d[0]).join("-")}static async list(t){return(await n.list(t)).map(r=>new i(r))}static async create(t){const e=await n.create(t);return new i(e)}get folderId(){return this.record.get("folderId")}static async get(t){const e=await n.get(t);return new i(e)}static async getStatus(t){return await n.getStatus(t)}async delete(){await n.delete(this.id)}async duplicate(){const t=await n.duplicate(this.id);return new i(t)}static async executeQuery(t,e,r){return n.executeQuery(t,e,r)}async save(){return this.record.save()}resetChanges(){this.record.resetChanges()}hasChanges(){return this.record.hasChanges()}hasChangesDeep(t){return this.record.hasChangesDeep(t)}get id(){return this.record.get("id")}get name(){return this.record.get("name")}set name(t){this.record.set("name",t)}get organizationId(){return this.record.get("organizationId")}get subdomain(){return this.record.get("subdomain")}set subdomain(t){this.record.set("subdomain",t)}async checkSubdomain(){return await n.checkSubdomain(this.id,this.subdomain)}static async startWebEditor(t){return await n.startWebEditor(t)}getUrl(t=""){const e=t.startsWith("/")?t.slice(1):t;return`https://${this.subdomain}.abstra.app/${e}`}}export{m as P,i as a};
2
- //# sourceMappingURL=project.33809d47.js.map
1
+ var h=Object.defineProperty;var l=(a,t,e)=>t in a?h(a,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):a[t]=e;var o=(a,t,e)=>(l(a,typeof t!="symbol"?t+"":t,e),e);import{a as g}from"./record.b96b0275.js";import{h as s}from"./router.99a53337.js";import"./jwt-decode.esm.1b301f74.js";(function(){try{var a=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new Error().stack;t&&(a._sentryDebugIds=a._sentryDebugIds||{},a._sentryDebugIds[t]="55f2c199-60c8-423a-a925-8e032cdb01d2",a._sentryDebugIdIdentifier="sentry-dbid-55f2c199-60c8-423a-a925-8e032cdb01d2")}catch{}})();class y extends Error{constructor(){super("Subdomain already in use")}}class m{constructor(){o(this,"urlPath","projects")}async create({name:t,organizationId:e,folderId:r}){return s.post(`organizations/${e}/${this.urlPath}`,{name:t,folderId:r})}async delete(t){await s.delete(`/${this.urlPath}/${t}`)}async duplicate(t){return await new Promise(e=>setTimeout(e,5e3)),s.post(`/${this.urlPath}/${t}/duplicate`,{})}async list(t){return s.get(`organizations/${t}/${this.urlPath}`)}async get(t){return s.get(`${this.urlPath}/${t}`)}async update(t,e){const r=await s.patch(`${this.urlPath}/${t}`,e);if("error"in r&&r.error==="subdomain-already-in-use")throw new y;if("error"in r)throw new Error("Unknown error");return r}async checkSubdomain(t,e){return s.get(`${this.urlPath}/${t}/check-subdomain/${e}`)}async getStatus(t){return s.get(`${this.urlPath}/${t}/deploy-status`)}async startWebEditor(t){return s.post(`${this.urlPath}/${t}/web-editor/start`,{})}async executeQuery(t,e,r){return s.post(`projects/${t}/execute`,{query:e,params:r})}}const n=new m;class i{constructor(t){o(this,"record");this.record=g.create(n,t)}static formatSubdomain(t){const r=t.toLowerCase().normalize("NFD").replace(/[\u0300-\u036f]/g,""),c=/[a-z0-9]+/g,u=r.matchAll(c);return Array.from(u).map(d=>d[0]).join("-")}static async list(t){return(await n.list(t)).map(r=>new i(r))}static async create(t){const e=await n.create(t);return new i(e)}get folderId(){return this.record.get("folderId")}static async get(t){const e=await n.get(t);return new i(e)}static async getStatus(t){return await n.getStatus(t)}async delete(){await n.delete(this.id)}async duplicate(){const t=await n.duplicate(this.id);return new i(t)}static async executeQuery(t,e,r){return n.executeQuery(t,e,r)}async save(){return this.record.save()}resetChanges(){this.record.resetChanges()}hasChanges(){return this.record.hasChanges()}hasChangesDeep(t){return this.record.hasChangesDeep(t)}get id(){return this.record.get("id")}get name(){return this.record.get("name")}set name(t){this.record.set("name",t)}get organizationId(){return this.record.get("organizationId")}get subdomain(){return this.record.get("subdomain")}set subdomain(t){this.record.set("subdomain",t)}async checkSubdomain(){return await n.checkSubdomain(this.id,this.subdomain)}static async startWebEditor(t){return await n.startWebEditor(t)}getUrl(t=""){const e=t.startsWith("/")?t.slice(1):t;return`https://${this.subdomain}.abstra.app/${e}`}}export{m as P,i as a};
2
+ //# sourceMappingURL=project.48a235c1.js.map
@@ -1,7 +1,7 @@
1
- import{m as a}from"./toggleHighContrast.510bdb1d.js";import"./jwt-decode.esm.d86c27e0.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]="b7a98398-2bfe-44db-976a-0cad5c3fb706",t._sentryDebugIdIdentifier="sentry-dbid-b7a98398-2bfe-44db-976a-0cad5c3fb706")}catch{}})();/*!-----------------------------------------------------------------------------
1
+ import{m as a}from"./toggleHighContrast.cb5e834a.js";import"./jwt-decode.esm.1b301f74.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]="078b160f-c77e-42e9-bd1a-53136116d2dd",t._sentryDebugIdIdentifier="sentry-dbid-078b160f-c77e-42e9-bd1a-53136116d2dd")}catch{}})();/*!-----------------------------------------------------------------------------
2
2
  * Copyright (c) Microsoft Corporation. All rights reserved.
3
3
  * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f)
4
4
  * Released under the MIT license
5
5
  * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
6
6
  *-----------------------------------------------------------------------------*/var l=Object.defineProperty,c=Object.getOwnPropertyDescriptor,p=Object.getOwnPropertyNames,d=Object.prototype.hasOwnProperty,o=(t,e,n,s)=>{if(e&&typeof e=="object"||typeof e=="function")for(let r of p(e))!d.call(t,r)&&r!==n&&l(t,r,{get:()=>e[r],enumerable:!(s=c(e,r))||s.enumerable});return t},g=(t,e,n)=>(o(t,e,"default"),n&&o(n,e,"default")),i={};g(i,a);var f={comments:{lineComment:"#",blockComment:["'''","'''"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"',notIn:["string"]},{open:"'",close:"'",notIn:["string","comment"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],onEnterRules:[{beforeText:new RegExp("^\\s*(?:def|class|for|if|elif|else|while|try|with|finally|except|async|match|case).*?:\\s*$"),action:{indentAction:i.languages.IndentAction.Indent}}],folding:{offSide:!0,markers:{start:new RegExp("^\\s*#region\\b"),end:new RegExp("^\\s*#endregion\\b")}}},m={defaultToken:"",tokenPostfix:".python",keywords:["False","None","True","_","and","as","assert","async","await","break","case","class","continue","def","del","elif","else","except","exec","finally","for","from","global","if","import","in","is","lambda","match","nonlocal","not","or","pass","print","raise","return","try","while","with","yield","int","float","long","complex","hex","abs","all","any","apply","basestring","bin","bool","buffer","bytearray","callable","chr","classmethod","cmp","coerce","compile","complex","delattr","dict","dir","divmod","enumerate","eval","execfile","file","filter","format","frozenset","getattr","globals","hasattr","hash","help","id","input","intern","isinstance","issubclass","iter","len","locals","list","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","reversed","range","raw_input","reduce","reload","repr","reversed","round","self","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","unichr","unicode","vars","xrange","zip","__dict__","__methods__","__members__","__class__","__bases__","__name__","__mro__","__subclasses__","__init__","__import__"],brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.bracket"},{open:"(",close:")",token:"delimiter.parenthesis"}],tokenizer:{root:[{include:"@whitespace"},{include:"@numbers"},{include:"@strings"},[/[,:;]/,"delimiter"],[/[{}\[\]()]/,"@brackets"],[/@[a-zA-Z_]\w*/,"tag"],[/[a-zA-Z_]\w*/,{cases:{"@keywords":"keyword","@default":"identifier"}}]],whitespace:[[/\s+/,"white"],[/(^#.*$)/,"comment"],[/'''/,"string","@endDocString"],[/"""/,"string","@endDblDocString"]],endDocString:[[/[^']+/,"string"],[/\\'/,"string"],[/'''/,"string","@popall"],[/'/,"string"]],endDblDocString:[[/[^"]+/,"string"],[/\\"/,"string"],[/"""/,"string","@popall"],[/"/,"string"]],numbers:[[/-?0x([abcdef]|[ABCDEF]|\d)+[lL]?/,"number.hex"],[/-?(\d*\.)?\d+([eE][+\-]?\d+)?[jJ]?[lL]?/,"number"]],strings:[[/'$/,"string.escape","@popall"],[/'/,"string.escape","@stringBody"],[/"$/,"string.escape","@popall"],[/"/,"string.escape","@dblStringBody"]],stringBody:[[/[^\\']+$/,"string","@popall"],[/[^\\']+/,"string"],[/\\./,"string"],[/'/,"string.escape","@popall"],[/\\$/,"string"]],dblStringBody:[[/[^\\"]+$/,"string","@popall"],[/[^\\"]+/,"string"],[/\\./,"string"],[/"/,"string.escape","@popall"],[/\\$/,"string"]]}};export{f as conf,m as language};
7
- //# sourceMappingURL=python.ee23fd86.js.map
7
+ //# sourceMappingURL=python.b69cfb2a.js.map
@@ -1,7 +1,7 @@
1
- import{m as s}from"./toggleHighContrast.510bdb1d.js";import"./jwt-decode.esm.d86c27e0.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]="ddb07b5d-d7c2-4000-907b-5013781f73f3",t._sentryDebugIdIdentifier="sentry-dbid-ddb07b5d-d7c2-4000-907b-5013781f73f3")}catch{}})();/*!-----------------------------------------------------------------------------
1
+ import{m as s}from"./toggleHighContrast.cb5e834a.js";import"./jwt-decode.esm.1b301f74.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]="c2161b3e-4417-4953-b308-67bb8045053d",t._sentryDebugIdIdentifier="sentry-dbid-c2161b3e-4417-4953-b308-67bb8045053d")}catch{}})();/*!-----------------------------------------------------------------------------
2
2
  * Copyright (c) Microsoft Corporation. All rights reserved.
3
3
  * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f)
4
4
  * Released under the MIT license
5
5
  * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
6
6
  *-----------------------------------------------------------------------------*/var c=Object.defineProperty,l=Object.getOwnPropertyDescriptor,d=Object.getOwnPropertyNames,p=Object.prototype.hasOwnProperty,i=(t,e,r,a)=>{if(e&&typeof e=="object"||typeof e=="function")for(let o of d(e))!p.call(t,o)&&o!==r&&c(t,o,{get:()=>e[o],enumerable:!(a=l(e,o))||a.enumerable});return t},h=(t,e,r)=>(i(t,e,"default"),r&&i(r,e,"default")),n={};h(n,s);var m=["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"],y={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\$\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\s]+)/g,comments:{blockComment:["<!--","-->"]},brackets:[["<!--","-->"],["<",">"],["{","}"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:'"',close:'"'},{open:"'",close:"'"},{open:"<",close:">"}],onEnterRules:[{beforeText:new RegExp(`<(?!(?:${m.join("|")}))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$`,"i"),afterText:/^<\/(\w[\w\d]*)\s*>$/i,action:{indentAction:n.languages.IndentAction.IndentOutdent}},{beforeText:new RegExp(`<(?!(?:${m.join("|")}))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$`,"i"),action:{indentAction:n.languages.IndentAction.Indent}}]},k={defaultToken:"",tokenPostfix:"",tokenizer:{root:[[/@@@@/],[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.root"}],[/<!DOCTYPE/,"metatag.html","@doctype"],[/<!--/,"comment.html","@comment"],[/(<)([\w\-]+)(\/>)/,["delimiter.html","tag.html","delimiter.html"]],[/(<)(script)/,["delimiter.html",{token:"tag.html",next:"@script"}]],[/(<)(style)/,["delimiter.html",{token:"tag.html",next:"@style"}]],[/(<)([:\w\-]+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[/(<\/)([\w\-]+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[/</,"delimiter.html"],[/[ \t\r\n]+/],[/[^<@]+/]],doctype:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.comment"}],[/[^>]+/,"metatag.content.html"],[/>/,"metatag.html","@pop"]],comment:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.comment"}],[/-->/,"comment.html","@pop"],[/[^-]+/,"comment.content.html"],[/./,"comment.content.html"]],otherTag:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.otherTag"}],[/\/?>/,"delimiter.html","@pop"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/]],script:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.script"}],[/type/,"attribute.name","@scriptAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/(<\/)(script\s*)(>)/,["delimiter.html","tag.html",{token:"delimiter.html",next:"@pop"}]]],scriptAfterType:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.scriptAfterType"}],[/=/,"delimiter","@scriptAfterTypeEquals"],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptAfterTypeEquals:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.scriptAfterTypeEquals"}],[/"([^"]*)"/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptWithCustomType:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.scriptWithCustomType.$S2"}],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptEmbedded:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInEmbeddedState.scriptEmbedded.$S2",nextEmbedded:"@pop"}],[/<\/script/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}]],style:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.style"}],[/type/,"attribute.name","@styleAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/(<\/)(style\s*)(>)/,["delimiter.html","tag.html",{token:"delimiter.html",next:"@pop"}]]],styleAfterType:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.styleAfterType"}],[/=/,"delimiter","@styleAfterTypeEquals"],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleAfterTypeEquals:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.styleAfterTypeEquals"}],[/"([^"]*)"/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleWithCustomType:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.styleWithCustomType.$S2"}],[/>/,{token:"delimiter.html",next:"@styleEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleEmbedded:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInEmbeddedState.styleEmbedded.$S2",nextEmbedded:"@pop"}],[/<\/style/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}]],razorInSimpleState:[[/@\*/,"comment.cs","@razorBlockCommentTopLevel"],[/@[{(]/,"metatag.cs","@razorRootTopLevel"],[/(@)(\s*[\w]+)/,["metatag.cs",{token:"identifier.cs",switchTo:"@$S2.$S3"}]],[/[})]/,{token:"metatag.cs",switchTo:"@$S2.$S3"}],[/\*@/,{token:"comment.cs",switchTo:"@$S2.$S3"}]],razorInEmbeddedState:[[/@\*/,"comment.cs","@razorBlockCommentTopLevel"],[/@[{(]/,"metatag.cs","@razorRootTopLevel"],[/(@)(\s*[\w]+)/,["metatag.cs",{token:"identifier.cs",switchTo:"@$S2.$S3",nextEmbedded:"$S3"}]],[/[})]/,{token:"metatag.cs",switchTo:"@$S2.$S3",nextEmbedded:"$S3"}],[/\*@/,{token:"comment.cs",switchTo:"@$S2.$S3",nextEmbedded:"$S3"}]],razorBlockCommentTopLevel:[[/\*@/,"@rematch","@pop"],[/[^*]+/,"comment.cs"],[/./,"comment.cs"]],razorBlockComment:[[/\*@/,"comment.cs","@pop"],[/[^*]+/,"comment.cs"],[/./,"comment.cs"]],razorRootTopLevel:[[/\{/,"delimiter.bracket.cs","@razorRoot"],[/\(/,"delimiter.parenthesis.cs","@razorRoot"],[/[})]/,"@rematch","@pop"],{include:"razorCommon"}],razorRoot:[[/\{/,"delimiter.bracket.cs","@razorRoot"],[/\(/,"delimiter.parenthesis.cs","@razorRoot"],[/\}/,"delimiter.bracket.cs","@pop"],[/\)/,"delimiter.parenthesis.cs","@pop"],{include:"razorCommon"}],razorCommon:[[/[a-zA-Z_]\w*/,{cases:{"@razorKeywords":{token:"keyword.cs"},"@default":"identifier.cs"}}],[/[\[\]]/,"delimiter.array.cs"],[/[ \t\r\n]+/],[/\/\/.*$/,"comment.cs"],[/@\*/,"comment.cs","@razorBlockComment"],[/"([^"]*)"/,"string.cs"],[/'([^']*)'/,"string.cs"],[/(<)([\w\-]+)(\/>)/,["delimiter.html","tag.html","delimiter.html"]],[/(<)([\w\-]+)(>)/,["delimiter.html","tag.html","delimiter.html"]],[/(<\/)([\w\-]+)(>)/,["delimiter.html","tag.html","delimiter.html"]],[/[\+\-\*\%\&\|\^\~\!\=\<\>\/\?\;\:\.\,]/,"delimiter.cs"],[/\d*\d+[eE]([\-+]?\d+)?/,"number.float.cs"],[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float.cs"],[/0[xX][0-9a-fA-F']*[0-9a-fA-F]/,"number.hex.cs"],[/0[0-7']*[0-7]/,"number.octal.cs"],[/0[bB][0-1']*[0-1]/,"number.binary.cs"],[/\d[\d']*/,"number.cs"],[/\d/,"number.cs"]]},razorKeywords:["abstract","as","async","await","base","bool","break","by","byte","case","catch","char","checked","class","const","continue","decimal","default","delegate","do","double","descending","explicit","event","extern","else","enum","false","finally","fixed","float","for","foreach","from","goto","group","if","implicit","in","int","interface","internal","into","is","lock","long","nameof","new","null","namespace","object","operator","out","override","orderby","params","private","protected","public","readonly","ref","return","switch","struct","sbyte","sealed","short","sizeof","stackalloc","static","string","select","this","throw","true","try","typeof","uint","ulong","unchecked","unsafe","ushort","using","var","virtual","volatile","void","when","while","where","yield","model","inject"],escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/};export{y as conf,k as language};
7
- //# sourceMappingURL=razor.4ae6d2a2.js.map
7
+ //# sourceMappingURL=razor.0f42fef9.js.map
@@ -1,2 +1,2 @@
1
- var g=Object.defineProperty;var o=(e,s,t)=>s in e?g(e,s,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[s]=t;var n=(e,s,t)=>(o(e,typeof s!="symbol"?s+"":s,t),t);import{N as p,eD as c,el as r}from"./jwt-decode.esm.d86c27e0.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},s=new Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="6ab928d6-8751-4029-80df-9a8bc4bad158",e._sentryDebugIdIdentifier="sentry-dbid-6ab928d6-8751-4029-80df-9a8bc4bad158")}catch{}})();class b{constructor(){n(this,"topics");n(this,"subUid");this.topics={},this.subUid=-1}subscribe(s,t){const i=(++this.subUid).toString();return this.topics[s]||(this.topics[s]=[]),this.topics[s].push({token:i,func:t}),i}async wait(s){return new Promise(t=>{const i=this.subscribe(s,a=>{this.unsubscribe(i),t(a)})})}async publish(s,...t){if(!this.topics[s])return!1;const i=this.topics[s];let a=i?i.length:0;for(;a--;)await i[a].func(t[0]);return!0}unsubscribe(s){for(const t in this.topics)if(this.topics[t]){for(let i=0,a=this.topics[t].length;i<a;i++)if(this.topics[t][i].token===s)return this.topics[t].splice(i,1),s}return!1}reset(){this.topics={},this.subUid=-1}}class h{constructor(s){n(this,"initialState");n(this,"pubsub");n(this,"_changes");this.initialState=s,this.pubsub=new b,this._changes=p({})}static from(s){return c(new h(s))}get changes(){return this._changes.value}get(s){var t;return(t=this.changes[s])!=null?t:this.initialState[s]}set(s,t){this._changes.value={...this.changes,[s]:t}}hasChanges(s){return s?s in this.changes:Object.keys(this.changes).length>0}hasChangesDeep(s){return s in this.changes&&!r.exports.isEqual(this.initialState[s],this.changes[s])}get state(){return{...this.initialState,...this.changes}}resetChanges(){const s={...this.changes};this._changes.value={},this.pubsub.publish("update",s)}onUpdate(s){this.pubsub.subscribe("update",s)}commit(){this.initialState=this.state,this._changes.value={}}toDTO(){return{...this.state,...this._changes.value}}update(s){this._changes.value={...this.changes,...s}}}class l extends h{constructor(t,i){super(i);n(this,"api");this.api=t}static create(t,i){return c(new l(t,i))}getInitialState(t){return this.initialState[t]}updateInitialState(t,i){this.initialState[t]=i,delete this._changes.value[t]}async save(t){if(Object.keys(this.changes).length===0||t&&!(t in this.changes))return;if(t){const a={[t]:this.changes[t]},u=await this.api.update(this.initialState.id,a);this.initialState={...this.initialState,...u},delete this._changes.value[t];return}this.initialState=await this.api.update(this.initialState.id,this.changes);const i={...this.changes};this._changes.value={},this.pubsub.publish("update",i)}}class d extends h{constructor(t,i){super(i);n(this,"api");n(this,"debouncedSave");this.api=t,this.debouncedSave=r.exports.debounce(()=>{this.save()},500)}static create(t,i){return c(new d(t,i))}getInitialState(t){return this.initialState[t]}updateInitialState(t,i){this.initialState[t]=i,delete this._changes.value[t]}set(t,i){super.set(t,i),this.debouncedSave()}async save(t){if(Object.keys(this.changes).length===0||t&&!(t in this.changes))return;if(t){const a={[t]:this.changes[t]},u=await this.api.update(this.initialState.id,a);this.initialState={...this.initialState,...u},delete this._changes.value[t];return}this.initialState=await this.api.update(this.initialState.id,this.changes);const i={...this.changes};this._changes.value={},this.pubsub.publish("update",i)}}export{d as A,h as E,b as P,l as a};
2
- //# sourceMappingURL=record.d087b37e.js.map
1
+ var o=Object.defineProperty;var d=(e,s,t)=>s in e?o(e,s,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[s]=t;var n=(e,s,t)=>(d(e,typeof s!="symbol"?s+"":s,t),t);import{N as b,eD as c,em as r}from"./jwt-decode.esm.1b301f74.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},s=new Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="5b43abe1-6ed2-46f5-8db8-7ef6797677b0",e._sentryDebugIdIdentifier="sentry-dbid-5b43abe1-6ed2-46f5-8db8-7ef6797677b0")}catch{}})();class p{constructor(){n(this,"topics");n(this,"subUid");this.topics={},this.subUid=-1}subscribe(s,t){const i=(++this.subUid).toString();return this.topics[s]||(this.topics[s]=[]),this.topics[s].push({token:i,func:t}),i}async wait(s){return new Promise(t=>{const i=this.subscribe(s,a=>{this.unsubscribe(i),t(a)})})}async publish(s,...t){if(!this.topics[s])return!1;const i=this.topics[s];let a=i?i.length:0;for(;a--;)await i[a].func(t[0]);return!0}unsubscribe(s){for(const t in this.topics)if(this.topics[t]){for(let i=0,a=this.topics[t].length;i<a;i++)if(this.topics[t][i].token===s)return this.topics[t].splice(i,1),s}return!1}reset(){this.topics={},this.subUid=-1}}class h{constructor(s){n(this,"initialState");n(this,"pubsub");n(this,"_changes");this.initialState=s,this.pubsub=new p,this._changes=b({})}static from(s){return c(new h(s))}get changes(){return this._changes.value}get(s){var t;return(t=this.changes[s])!=null?t:this.initialState[s]}set(s,t){this._changes.value={...this.changes,[s]:t}}hasChanges(s){return s?s in this.changes:Object.keys(this.changes).length>0}hasChangesDeep(s){return s in this.changes&&!r.exports.isEqual(this.initialState[s],this.changes[s])}get state(){return{...this.initialState,...this.changes}}resetChanges(){const s={...this.changes};this._changes.value={},this.pubsub.publish("update",s)}onUpdate(s){this.pubsub.subscribe("update",s)}commit(){this.initialState=this.state,this._changes.value={}}toDTO(){return{...this.state,...this._changes.value}}update(s){this._changes.value={...this.changes,...s}}}class l extends h{constructor(t,i){super(i);n(this,"api");this.api=t}static create(t,i){return c(new l(t,i))}getInitialState(t){return this.initialState[t]}updateInitialState(t,i){this.initialState[t]=i,delete this._changes.value[t]}async save(t){if(Object.keys(this.changes).length===0||t&&!(t in this.changes))return;if(t){const a={[t]:this.changes[t]},u=await this.api.update(this.initialState.id,a);this.initialState={...this.initialState,...u},delete this._changes.value[t];return}this.initialState=await this.api.update(this.initialState.id,this.changes);const i={...this.changes};this._changes.value={},this.pubsub.publish("update",i)}}class g extends h{constructor(t,i){super(i);n(this,"api");n(this,"debouncedSave");this.api=t,this.debouncedSave=r.exports.debounce(()=>{this.save()},500)}static create(t,i){return c(new g(t,i))}getInitialState(t){return this.initialState[t]}updateInitialState(t,i){this.initialState[t]=i,delete this._changes.value[t]}set(t,i){super.set(t,i),this.debouncedSave()}async save(t){if(Object.keys(this.changes).length===0||t&&!(t in this.changes))return;if(t){const a={[t]:this.changes[t]},u=await this.api.update(this.initialState.id,a);this.initialState={...this.initialState,...u},delete this._changes.value[t];return}this.initialState=await this.api.update(this.initialState.id,this.changes);const i={...this.changes};this._changes.value={},this.pubsub.publish("update",i)}}export{g as A,h as E,p as P,l as a};
2
+ //# sourceMappingURL=record.b96b0275.js.map
@@ -1,2 +1,2 @@
1
- import{i as c}from"./url.b31d406a.js";import"./jwt-decode.esm.d86c27e0.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},r=new Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="4f123e33-3849-4192-afd5-569b5c3005bc",e._sentryDebugIdIdentifier="sentry-dbid-4f123e33-3849-4192-afd5-569b5c3005bc")}catch{}})();function i(e){return e.startsWith("/")?e.slice(1):e}function f(e,r,n={}){if(c(r)){const a=new URL(r),t=new URLSearchParams(n),o=new URLSearchParams(a.search),s=new URLSearchParams([...o,...t]);return a.search=s.toString(),{action:"REPLACE_LOCAL_HREF",newHref:a.toString()}}else{const a=r.replace(/\/$/,"");if(e==="player")return{action:"GOTO_FORM_PLAYER",path:i(a),queryParams:n};if(e==="editor")return{action:"GOTO_FORM_EDITOR",path:i(a),queryParams:n};if(e==="preview")return{action:"GOTO_FORM_PLAYER",path:i(a),queryParams:n};throw new Error(`Invalid routing ${e}`)}}async function w(e,r,n,a={}){const t=f(e,n,a);switch(t.action){case"REPLACE_LOCAL_HREF":window.location.href=t.newHref;break;case"GOTO_FORM_EDITOR":await r.push({name:"formEditor",params:{formPath:t.path},query:t.queryParams});break;case"GOTO_FORM_PLAYER":await r.push({name:e==="preview"?"formPreview":"formPlayer",params:{formPath:t.path},query:t.queryParams});break;default:throw new Error("Invalid routing")}}export{w as r};
2
- //# sourceMappingURL=redirect.c06a7828.js.map
1
+ import{i as c}from"./url.84e62ca8.js";import"./jwt-decode.esm.1b301f74.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},r=new Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="ac5f9de9-4896-408c-a5ed-0089e70a367d",e._sentryDebugIdIdentifier="sentry-dbid-ac5f9de9-4896-408c-a5ed-0089e70a367d")}catch{}})();function i(e){return e.startsWith("/")?e.slice(1):e}function d(e,r,n={}){if(c(r)){const a=new URL(r),t=new URLSearchParams(n),o=new URLSearchParams(a.search),s=new URLSearchParams([...o,...t]);return a.search=s.toString(),{action:"REPLACE_LOCAL_HREF",newHref:a.toString()}}else{const a=r.replace(/\/$/,"");if(e==="player")return{action:"GOTO_FORM_PLAYER",path:i(a),queryParams:n};if(e==="editor")return{action:"GOTO_FORM_EDITOR",path:i(a),queryParams:n};if(e==="preview")return{action:"GOTO_FORM_PLAYER",path:i(a),queryParams:n};throw new Error(`Invalid routing ${e}`)}}async function w(e,r,n,a={}){const t=d(e,n,a);switch(t.action){case"REPLACE_LOCAL_HREF":window.location.href=t.newHref;break;case"GOTO_FORM_EDITOR":await r.push({name:"formEditor",params:{formPath:t.path},query:t.queryParams});break;case"GOTO_FORM_PLAYER":await r.push({name:e==="preview"?"formPreview":"formPlayer",params:{formPath:t.path},query:t.queryParams});break;default:throw new Error("Invalid routing")}}export{w as r};
2
+ //# sourceMappingURL=redirect.ebab71ed.js.map
@@ -0,0 +1,2 @@
1
+ import{f as h,e7 as m,eI as S,eJ as I,d as _,o as c,a as l,u,h as $}from"./jwt-decode.esm.1b301f74.js";import{L as x}from"./LoadingOutlined.644899c2.js";import{h as d}from"./router.99a53337.js";(function(){try{var r=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new Error().stack;t&&(r._sentryDebugIds=r._sentryDebugIds||{},r._sentryDebugIds[t]="3f970a32-1dba-4faa-b9a3-a226377425f9",r._sentryDebugIdIdentifier="sentry-dbid-3f970a32-1dba-4faa-b9a3-a226377425f9")}catch{}})();var P={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm192 472c0 4.4-3.6 8-8 8H328c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h368c4.4 0 8 3.6 8 8v48z"}}]},name:"minus-circle",theme:"filled"};const F=P;function w(r){for(var t=1;t<arguments.length;t++){var e=arguments[t]!=null?Object(arguments[t]):{},n=Object.keys(e);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(e).filter(function(s){return Object.getOwnPropertyDescriptor(e,s).enumerable}))),n.forEach(function(s){k(r,s,e[s])})}return r}function k(r,t,e){return t in r?Object.defineProperty(r,t,{value:e,enumerable:!0,configurable:!0,writable:!0}):r[t]=e,r}var b=function(t,e){var n=w({},t,e.attrs);return h(m,w({},n,{icon:S}),null)};b.displayName="CheckCircleFilled";b.inheritAttrs=!1;const E=b;function j(r){for(var t=1;t<arguments.length;t++){var e=arguments[t]!=null?Object(arguments[t]):{},n=Object.keys(e);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(e).filter(function(s){return Object.getOwnPropertyDescriptor(e,s).enumerable}))),n.forEach(function(s){A(r,s,e[s])})}return r}function A(r,t,e){return t in r?Object.defineProperty(r,t,{value:e,enumerable:!0,configurable:!0,writable:!0}):r[t]=e,r}var y=function(t,e){var n=j({},t,e.attrs);return h(m,j({},n,{icon:I}),null)};y.displayName="CloseCircleFilled";y.inheritAttrs=!1;const D=y;function v(r){for(var t=1;t<arguments.length;t++){var e=arguments[t]!=null?Object(arguments[t]):{},n=Object.keys(e);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(e).filter(function(s){return Object.getOwnPropertyDescriptor(e,s).enumerable}))),n.forEach(function(s){M(r,s,e[s])})}return r}function M(r,t,e){return t in r?Object.defineProperty(r,t,{value:e,enumerable:!0,configurable:!0,writable:!0}):r[t]=e,r}var C=function(t,e){var n=v({},t,e.attrs);return h(m,v({},n,{icon:F}),null)};C.displayName="MinusCircleFilled";C.inheritAttrs=!1;const L=C,B=_({__name:"ExecutionStatusIcon",props:{status:{}},setup(r){return(t,e)=>t.status==="finished"?(c(),l(u(E),{key:0,style:{color:"#33b891"}})):t.status==="failed"?(c(),l(u(D),{key:1,style:{color:"#fa675c"}})):t.status==="abandoned"||t.status==="lock-failed"?(c(),l(u(L),{key:2,style:{color:"#f69220"}})):t.status==="running"?(c(),l(u(x),{key:3})):$("",!0)}}),z=["running","lock-failed","failed","finished","abandoned"];class f{constructor(t){this.dto=t}static from(t){return new f(t)}get entries(){return this.dto.sort((t,e)=>t.sequence-e.sequence).filter(t=>t.event!=="form-message")}}class g{constructor(t){this.dto=t}static from(t){return new g(t)}get id(){return this.dto.id}get shortId(){return this.dto.id.slice(0,8)}get createdAt(){return new Date(this.dto.createdAt)}get updatedAt(){return new Date(this.dto.updatedAt)}get status(){return this.dto.status}get context(){return this.dto.context}get buildId(){var t;return(t=this.dto.buildId)!=null?t:""}get stageId(){return this.dto.stageId}get duration_seconds(){return this.status==="running"?"-":`${(this.updatedAt.getTime()-this.createdAt.getTime())/1e3} s`}get stageRunId(){return this.dto.stageRunId}get projectId(){return this.dto.projectId}}class V{async list({projectId:t,...e}){var p,i;const n={...e,offset:(p=e.offset)==null?void 0:p.toString(),limit:(i=e.limit)==null?void 0:i.toString()};Object.keys(n).forEach(o=>n[o]===void 0&&delete n[o]);const s=await d.get(`projects/${t}/executions`,n);return{executions:s.executions.map(o=>g.from(o)),totalCount:s.totalCount}}async fetchLogs(t,e){const n=await d.get(`projects/${t}/executions/${e}/logs`);return f.from(n)}async fetchThreadData(t,e){return(await d.get(`projects/${t}/executions/${e}/thread-data`)).response}async getExecutionTasks(t,e){return await d.get(`projects/${t}/executions/${e}/tasks`)}async fetchStages(){throw new Error("Method not implemented.")}}class G{async list(t){var o,O;const e={...t,offset:(o=t.offset)==null?void 0:o.toString(),limit:(O=t.limit)==null?void 0:O.toString()};Object.keys(e).forEach(a=>e[a]===void 0&&delete e[a]);const n=Object.fromEntries(Object.entries(e!=null?e:{}).filter(([,a])=>a!=null)),s=Object.keys(n).length>0?`?${new URLSearchParams(n).toString()}`:"",i=await(await fetch(`/_editor/api/executions${s}`)).json();return{executions:i.executions.map(a=>g.from(a)),totalCount:i.totalCount}}async fetchLogs(t,e){const s=await(await fetch(`/_editor/api/logs/${e}`)).json();return f.from(s)}async fetchThreadData(){return{}}async getExecutionTasks(t,e){return await(await fetch(`/_editor/api/executions/${e}/tasks`)).json()}async fetchStages(){return await(await fetch("/_editor/api/executions/stages")).json()}}export{E as C,G as L,V as R,B as _,z as e};
2
+ //# sourceMappingURL=repository.4920fb3b.js.map
@@ -1,2 +1,2 @@
1
- var p=Object.defineProperty;var h=(r,t,e)=>t in r?p(r,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):r[t]=e;var c=(r,t,e)=>(h(r,typeof t!="symbol"?t+"":t,e),e);import{h as a}from"./router.7936fd78.js";import{l as u}from"./fetch.13b54f0f.js";import{E as l}from"./record.d087b37e.js";import"./jwt-decode.esm.d86c27e0.js";(function(){try{var r=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new Error().stack;t&&(r._sentryDebugIds=r._sentryDebugIds||{},r._sentryDebugIds[t]="19300faa-f044-4d55-b37d-23d5eeda18b9",r._sentryDebugIdIdentifier="sentry-dbid-19300faa-f044-4d55-b37d-23d5eeda18b9")}catch{}})();class i{constructor(t){c(this,"record");this.record=l.from(t)}get id(){return this.record.get("id")}get name(){return this.record.get("name")}get description(){return this.record.get("description")||""}set description(t){this.record.set("description",t)}get projectId(){return this.record.get("projectId")}static from(t){return new i(t)}commit(){this.record.commit()}hasChanges(){return this.record.hasChanges()}get changes(){return this.record.changes}update(t){this.record.update(t)}}class f{constructor(){c(this,"urlPath","roles")}async create(t,e){return a.post(`projects/${t}/${this.urlPath}`,e)}async delete(t,e){await a.delete(`projects/${t}/${this.urlPath}/${e}`)}async list(t,{limit:e,offset:s}){const o={};e&&(o.limit=e.toString()),s&&(o.offset=s.toString());const d=new URLSearchParams(o);return a.get(`projects/${t}/${this.urlPath}?${d.toString()}`)}async update(t,e,s){return a.patch(`projects/${t}/${this.urlPath}/${e}`,s)}}const n=new f;class I{constructor(t){this.projectId=t}async list(t,e){return(await n.list(this.projectId,{limit:t,offset:e})).map(i.from)}async create(t){await n.create(this.projectId,t)}async update(t,e){await n.update(this.projectId,t,e)}async delete(t){await n.delete(this.projectId,t)}}class ${constructor(t=u){this.fetch=t}async list(t,e){const s={};t&&(s.limit=t.toString()),e&&(s.offset=e.toString());const o=new URLSearchParams(s);return(await(await this.fetch(`/_editor/api/roles?${o.toString()}`,{method:"GET",headers:{"Content-Type":"application/json"}})).json()).map(i.from)}}export{I as C,$ as E};
2
- //# sourceMappingURL=repository.6fa74dff.js.map
1
+ var p=Object.defineProperty;var h=(r,t,e)=>t in r?p(r,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):r[t]=e;var c=(r,t,e)=>(h(r,typeof t!="symbol"?t+"":t,e),e);import{h as a}from"./router.99a53337.js";import{l as u}from"./fetch.e3c8dd68.js";import{E as l}from"./record.b96b0275.js";import"./jwt-decode.esm.1b301f74.js";(function(){try{var r=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new Error().stack;t&&(r._sentryDebugIds=r._sentryDebugIds||{},r._sentryDebugIds[t]="4078176b-6be4-498e-bc28-bef93492f544",r._sentryDebugIdIdentifier="sentry-dbid-4078176b-6be4-498e-bc28-bef93492f544")}catch{}})();class i{constructor(t){c(this,"record");this.record=l.from(t)}get id(){return this.record.get("id")}get name(){return this.record.get("name")}get description(){return this.record.get("description")||""}set description(t){this.record.set("description",t)}get projectId(){return this.record.get("projectId")}static from(t){return new i(t)}commit(){this.record.commit()}hasChanges(){return this.record.hasChanges()}get changes(){return this.record.changes}update(t){this.record.update(t)}}class f{constructor(){c(this,"urlPath","roles")}async create(t,e){return a.post(`projects/${t}/${this.urlPath}`,e)}async delete(t,e){await a.delete(`projects/${t}/${this.urlPath}/${e}`)}async list(t,{limit:e,offset:s}){const o={};e&&(o.limit=e.toString()),s&&(o.offset=s.toString());const d=new URLSearchParams(o);return a.get(`projects/${t}/${this.urlPath}?${d.toString()}`)}async update(t,e,s){return a.patch(`projects/${t}/${this.urlPath}/${e}`,s)}}const n=new f;class I{constructor(t){this.projectId=t}async list(t,e){return(await n.list(this.projectId,{limit:t,offset:e})).map(i.from)}async create(t){await n.create(this.projectId,t)}async update(t,e){await n.update(this.projectId,t,e)}async delete(t){await n.delete(this.projectId,t)}}class ${constructor(t=u){this.fetch=t}async list(t,e){const s={};t&&(s.limit=t.toString()),e&&(s.offset=e.toString());const o=new URLSearchParams(s);return(await(await this.fetch(`/_editor/api/roles?${o.toString()}`,{method:"GET",headers:{"Content-Type":"application/json"}})).json()).map(i.from)}}export{I as C,$ as E};
2
+ //# sourceMappingURL=repository.c0dc4e22.js.map
@@ -0,0 +1,2 @@
1
+ import{m as c,n as d,p as t,q as m}from"./jwt-decode.esm.1b301f74.js";import{a as p}from"./workspaceStore.6a20c00d.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]="5a50c557-bea4-4e6e-b241-0b653d16626d",e._sentryDebugIdIdentifier="sentry-dbid-5a50c557-bea4-4e6e-b241-0b653d16626d")}catch{}})();const b=async()=>{try{const e=await fetch("/_editor/api/workspace/version");return e.ok&&(await e.json()).version||"57e8a874e16f305a2ba34c1fd0e9623f8a71d8ac"}catch(e){return console.error("Failed to fetch Abstra version:",e),"57e8a874e16f305a2ba34c1fd0e9623f8a71d8ac"}},u=[{path:"/oidc-login-callback",name:"oidcLoginCallback",component:()=>t(()=>import("./OidcLoginCallback.073de6bd.js"),["assets/OidcLoginCallback.073de6bd.js","assets/workspaceStore.6a20c00d.js","assets/jwt-decode.esm.1b301f74.js","assets/jwt-decode.9f7a5511.css","assets/userStore.843da693.js","assets/url.84e62ca8.js","assets/colorHelpers.59e5ee56.js"]),meta:{allowUnauthenticated:!0}},{path:"/oidc-logout-callback",name:"oidcLogoutCallback",component:()=>t(()=>import("./OidcLogoutCallback.e474320b.js"),["assets/OidcLogoutCallback.e474320b.js","assets/workspaceStore.6a20c00d.js","assets/jwt-decode.esm.1b301f74.js","assets/jwt-decode.9f7a5511.css","assets/userStore.843da693.js","assets/url.84e62ca8.js","assets/colorHelpers.59e5ee56.js"]),meta:{allowUnauthenticated:!0}},{path:"/login",name:"playerLogin",component:()=>t(()=>import("./Login.ebf77147.js"),["assets/Login.ebf77147.js","assets/Login.vue_vue_type_script_setup_true_lang.721bd893.js","assets/jwt-decode.esm.1b301f74.js","assets/jwt-decode.9f7a5511.css","assets/workspaceStore.6a20c00d.js","assets/userStore.843da693.js","assets/url.84e62ca8.js","assets/colorHelpers.59e5ee56.js","assets/CircularLoading.5ac43298.js","assets/CircularLoading.a8fe2dc6.css","assets/Logo.c74119c7.js","assets/Logo.b7d81119.css","assets/string.4796d44a.js","assets/index.a5ddebc4.js","assets/Login.75d13f6c.css","assets/Login.3b76812d.css"]),meta:{allowUnauthenticated:!0}},{path:"/",name:"main",component:()=>t(()=>import("./Main.a2c84f7b.js"),["assets/Main.a2c84f7b.js","assets/PlayerNavbar.21883569.js","assets/userStore.843da693.js","assets/jwt-decode.esm.1b301f74.js","assets/jwt-decode.9f7a5511.css","assets/workspaceStore.6a20c00d.js","assets/url.84e62ca8.js","assets/colorHelpers.59e5ee56.js","assets/metadata.e6e62729.js","assets/PhUserList.vue.43e7a38a.js","assets/PhWebhooksLogo.vue.ea667ed2.js","assets/LoadingOutlined.644899c2.js","assets/PhSignOut.vue.6be07f90.js","assets/index.2efe5ae2.js","assets/PlayerNavbar.77209eae.css","assets/Main.201c14c9.css"]),redirect:{name:"main"},children:[{path:"",name:"playerHome",component:()=>t(()=>import("./Home.964d824d.js"),["assets/Home.964d824d.js","assets/metadata.e6e62729.js","assets/jwt-decode.esm.1b301f74.js","assets/jwt-decode.9f7a5511.css","assets/PhUserList.vue.43e7a38a.js","assets/PhWebhooksLogo.vue.ea667ed2.js","assets/Watermark.1655dad8.js","assets/workspaceStore.6a20c00d.js","assets/userStore.843da693.js","assets/url.84e62ca8.js","assets/colorHelpers.59e5ee56.js","assets/constants.f352d89b.js","assets/Watermark.b0916e90.css","assets/PhArrowSquareOut.vue.ddb450f1.js","assets/index.d73f307c.js","assets/Card.714646f7.js","assets/LoadingOutlined.644899c2.js","assets/Home.3794e8b4.css"]),meta:{title:"Home"}},{path:"_player/threads",redirect:{name:"playerThreads"}},{path:"error/:status",name:"error",component:()=>t(()=>import("./Error.8a6cfa01.js"),["assets/Error.8a6cfa01.js","assets/AbstraLogo.vue_vue_type_script_setup_true_lang.f9d9018b.js","assets/Logo.c74119c7.js","assets/jwt-decode.esm.1b301f74.js","assets/jwt-decode.9f7a5511.css","assets/Logo.b7d81119.css","assets/constants.f352d89b.js","assets/workspaceStore.6a20c00d.js","assets/userStore.843da693.js","assets/url.84e62ca8.js","assets/colorHelpers.59e5ee56.js","assets/Card.714646f7.js","assets/Error.ef2624eb.css"]),meta:{allowUnauthenticated:!0}},{path:":path(.*)*",name:"form",component:()=>t(()=>import("./Form.c1a08fa6.js"),["assets/Form.c1a08fa6.js","assets/userStore.843da693.js","assets/jwt-decode.esm.1b301f74.js","assets/jwt-decode.9f7a5511.css","assets/FormRunner.a00b296a.js","assets/Login.vue_vue_type_script_setup_true_lang.721bd893.js","assets/workspaceStore.6a20c00d.js","assets/url.84e62ca8.js","assets/colorHelpers.59e5ee56.js","assets/CircularLoading.5ac43298.js","assets/CircularLoading.a8fe2dc6.css","assets/Logo.c74119c7.js","assets/Logo.b7d81119.css","assets/string.4796d44a.js","assets/index.a5ddebc4.js","assets/Login.75d13f6c.css","assets/Steps.2f177a1f.js","assets/index.61710ff9.js","assets/Steps.2880920a.css","assets/Watermark.1655dad8.js","assets/constants.f352d89b.js","assets/Watermark.b0916e90.css","assets/FormRunner.46f6426d.css","assets/redirect.ebab71ed.js","assets/asyncComputed.92146382.js","assets/uuid.58d26ff2.js","assets/Form.7493bc0a.css"]),meta:{hideLogin:!0}}]}],o=c({history:d("/"),routes:u,scrollBehavior(e){if(e.hash)return{el:e.hash}}}),l=e=>async(a,r)=>{if(m(a,r),a.meta.allowUnauthenticated)return;const n=await p(a.path),{redirect:i,...s}=a.query;switch(n.status){case"ALLOWED":break;case"UNAUTHORIZED":await e.push({name:"playerLogin",query:{...s,redirect:i||a.path},params:a.params});break;case"NOT_FOUND":await e.push({name:"error",params:{status:"404"}});break;default:await e.push({name:"error",params:{status:"403"}})}};o.beforeEach(l(o));export{b as a,o as b,l as g,u as r};
2
+ //# sourceMappingURL=router.8882099a.js.map