abstra 3.23.2__py3-none-any.whl → 3.23.3__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 (206) hide show
  1. {abstra-3.23.2.dist-info → abstra-3.23.3.dist-info}/METADATA +1 -1
  2. {abstra-3.23.2.dist-info → abstra-3.23.3.dist-info}/RECORD +161 -161
  3. abstra_internals/cloud_api/__init__.py +0 -1
  4. abstra_statics/dist/assets/{AbstraButton.vue_vue_type_script_setup_true_lang.a26848e1.js → AbstraButton.vue_vue_type_script_setup_true_lang.c714d609.js} +2 -2
  5. abstra_statics/dist/assets/AbstraLogo.vue_vue_type_script_setup_true_lang.37e7ad5b.js +2 -0
  6. abstra_statics/dist/assets/{ApiKeys.c3f389e0.js → ApiKeys.94113392.js} +2 -2
  7. abstra_statics/dist/assets/App.6c102d26.js +2 -0
  8. abstra_statics/dist/assets/App.vue_vue_type_style_index_0_lang.26121baf.js +2 -0
  9. abstra_statics/dist/assets/{BaseLayout.d1e9245a.js → BaseLayout.670b8441.js} +2 -2
  10. abstra_statics/dist/assets/{Billing.fd83dd78.js → Billing.80a50079.js} +2 -2
  11. abstra_statics/dist/assets/{Breadcrumb.b1d16b92.js → Breadcrumb.1d42c80c.js} +2 -2
  12. abstra_statics/dist/assets/{Builds.763995e5.js → Builds.4641dcf9.js} +2 -2
  13. abstra_statics/dist/assets/{Card.8279f4c6.js → Card.774e5d67.js} +2 -2
  14. abstra_statics/dist/assets/{CircularLoading.f56438b2.js → CircularLoading.02fd7b7b.js} +2 -2
  15. abstra_statics/dist/assets/CloseCircleOutlined.7ac8e1e8.js +2 -0
  16. abstra_statics/dist/assets/{ConnectorsView.f84c0309.js → ConnectorsView.746c7417.js} +2 -2
  17. abstra_statics/dist/assets/ConsoleOmniChat.vue_vue_type_script_setup_true_lang.b85f86d8.js +2 -0
  18. abstra_statics/dist/assets/ContentLayout.4fc85c66.js +2 -0
  19. abstra_statics/dist/assets/{CrudView.78833c51.js → CrudView.7f2cbde4.js} +2 -2
  20. abstra_statics/dist/assets/DocsButton.vue_vue_type_script_setup_true_lang.0b26fb89.js +2 -0
  21. abstra_statics/dist/assets/{EditorLogin.cf53a7a7.js → EditorLogin.45764526.js} +2 -2
  22. abstra_statics/dist/assets/{EditorsView.b77efb1d.js → EditorsView.e9452d34.js} +2 -2
  23. abstra_statics/dist/assets/EnvVars.ccc24231.js +2 -0
  24. abstra_statics/dist/assets/Error.1bf571a6.js +2 -0
  25. abstra_statics/dist/assets/ExclamationCircleOutlined.f71fa58b.js +2 -0
  26. abstra_statics/dist/assets/{Files.71854289.js → Files.8bcd4d1f.js} +2 -2
  27. abstra_statics/dist/assets/Form.288a7191.js +2 -0
  28. abstra_statics/dist/assets/{FormRunner.12c3bcc8.js → FormRunner.f721431d.js} +2 -2
  29. abstra_statics/dist/assets/Home.23f0cff8.js +2 -0
  30. abstra_statics/dist/assets/Home.5ce6aade.js +2 -0
  31. abstra_statics/dist/assets/{Live.51f470f8.js → Live.2bbd1666.js} +2 -2
  32. abstra_statics/dist/assets/LoadingContainer.3ea9ec8d.js +2 -0
  33. abstra_statics/dist/assets/LoadingOutlined.11688830.js +2 -0
  34. abstra_statics/dist/assets/{Login.94f07e07.js → Login.186f24a9.js} +2 -2
  35. abstra_statics/dist/assets/Login.2a4c7e48.js +2 -0
  36. abstra_statics/dist/assets/{Login.vue_vue_type_script_setup_true_lang.1cd9267a.js → Login.vue_vue_type_script_setup_true_lang.fab46c0c.js} +2 -2
  37. abstra_statics/dist/assets/Logo.cc2d4a95.js +2 -0
  38. abstra_statics/dist/assets/{Logs.819710e0.js → Logs.f57284a4.js} +2 -2
  39. abstra_statics/dist/assets/{LogsController.01feb949.js → LogsController.353f0002.js} +2 -2
  40. abstra_statics/dist/assets/Main.635e443c.js +2 -0
  41. abstra_statics/dist/assets/{MockForm.acd1d2e5.js → MockForm.9b6a244c.js} +2 -2
  42. abstra_statics/dist/assets/Navbar.dacca218.js +2 -0
  43. abstra_statics/dist/assets/{NewEditor.44a9115d.js → NewEditor.1d7ddf86.js} +2 -2
  44. abstra_statics/dist/assets/OidcLoginCallback.0dff6320.js +2 -0
  45. abstra_statics/dist/assets/{OidcLogoutCallback.32654f13.js → OidcLogoutCallback.1f077fbb.js} +2 -2
  46. abstra_statics/dist/assets/{OmniChat.0152feb0.js → OmniChat.5e68be1c.js} +2 -2
  47. abstra_statics/dist/assets/{OnboardingView.87e7dd5a.js → OnboardingView.8733d184.js} +2 -2
  48. abstra_statics/dist/assets/{Organization.9e473847.js → Organization.bcb76b94.js} +2 -2
  49. abstra_statics/dist/assets/Organizations.3dbd99e1.js +2 -0
  50. abstra_statics/dist/assets/{PhArrowCounterClockwise.vue.412b5e18.js → PhArrowCounterClockwise.vue.d273955f.js} +2 -2
  51. abstra_statics/dist/assets/{PhArrowSquareOut.vue.f8745aca.js → PhArrowSquareOut.vue.0d20b8e9.js} +2 -2
  52. abstra_statics/dist/assets/{PhBookBookmark.vue.9aa9ef2e.js → PhBookBookmark.vue.8611e54f.js} +2 -2
  53. abstra_statics/dist/assets/{PhChats.vue.d6b59014.js → PhChats.vue.3dd1c2d7.js} +2 -2
  54. abstra_statics/dist/assets/{PhClockCounterClockwise.vue.a0df4d36.js → PhClockCounterClockwise.vue.853bd5ec.js} +2 -2
  55. abstra_statics/dist/assets/{PhCopy.vue.c5a6ae9d.js → PhCopy.vue.b1c2f21f.js} +2 -2
  56. abstra_statics/dist/assets/PhCopySimple.vue.ffc7ec94.js +2 -0
  57. abstra_statics/dist/assets/{PhCube.vue.fb3e6ff4.js → PhCube.vue.b5e79047.js} +2 -2
  58. abstra_statics/dist/assets/{PhDotsThreeVertical.vue.f70cea78.js → PhDotsThreeVertical.vue.89b627bd.js} +2 -2
  59. abstra_statics/dist/assets/{PhDownloadSimple.vue.0f718f50.js → PhDownloadSimple.vue.2c2eeb2c.js} +2 -2
  60. abstra_statics/dist/assets/{PhFolderPlus.vue.62f8ca48.js → PhFolderPlus.vue.e199ba17.js} +2 -2
  61. abstra_statics/dist/assets/{PhGear.vue.f08cfdf5.js → PhGear.vue.fbac4098.js} +2 -2
  62. abstra_statics/dist/assets/{PhKey.vue.0a54e40c.js → PhKey.vue.1850e466.js} +2 -2
  63. abstra_statics/dist/assets/{PhPencil.vue.d787cc70.js → PhPencil.vue.c3c70f7d.js} +2 -2
  64. abstra_statics/dist/assets/{PhPencilSimple.vue.22b071d6.js → PhPencilSimple.vue.ee9d03fc.js} +2 -2
  65. abstra_statics/dist/assets/{PhPencilSimpleLine.vue.9a1c7eaa.js → PhPencilSimpleLine.vue.6eedd1e6.js} +2 -2
  66. abstra_statics/dist/assets/{PhRocket.vue.df3fb791.js → PhRocket.vue.56a9b767.js} +2 -2
  67. abstra_statics/dist/assets/{PhSignOut.vue.a4fe2185.js → PhSignOut.vue.ee548b4c.js} +2 -2
  68. abstra_statics/dist/assets/{PhSparkle.vue.85f211d8.js → PhSparkle.vue.dc906cc7.js} +2 -2
  69. abstra_statics/dist/assets/{PhUserList.vue.1da93bbd.js → PhUserList.vue.6d0e7bc8.js} +2 -2
  70. abstra_statics/dist/assets/{PhUsersThree.vue.ad14fabd.js → PhUsersThree.vue.528ec19f.js} +2 -2
  71. abstra_statics/dist/assets/{PhWebhooksLogo.vue.872d4c72.js → PhWebhooksLogo.vue.49b66d69.js} +2 -2
  72. abstra_statics/dist/assets/{PlayerConfigProvider.171bf305.js → PlayerConfigProvider.ead35c7b.js} +2 -2
  73. abstra_statics/dist/assets/{PlayerNavbar.526fab6f.js → PlayerNavbar.523eb145.js} +2 -2
  74. abstra_statics/dist/assets/{Project.0d5075ee.js → Project.d667be48.js} +2 -2
  75. abstra_statics/dist/assets/{ProjectLogin.3aab045f.js → ProjectLogin.ed25cb39.js} +2 -2
  76. abstra_statics/dist/assets/{ProjectSettings.42270d9c.js → ProjectSettings.78ebb6ae.js} +2 -2
  77. abstra_statics/dist/assets/{ProjectsView.069081b7.js → ProjectsView.0a9b802f.js} +2 -2
  78. abstra_statics/dist/assets/{SaveButton.b04687f7.js → SaveButton.7c95c711.js} +2 -2
  79. abstra_statics/dist/assets/{Sidebar.1e7f6307.js → Sidebar.88ff0297.js} +2 -2
  80. abstra_statics/dist/assets/{Sql.b1300e7e.js → Sql.cbcb65af.js} +5 -5
  81. abstra_statics/dist/assets/Steps.4c7bc2b0.js +2 -0
  82. abstra_statics/dist/assets/{TableEditor.ab91c3a5.js → TableEditor.8166dbd3.js} +2 -2
  83. abstra_statics/dist/assets/Tables.0da330b6.js +2 -0
  84. abstra_statics/dist/assets/{TablesDiagram.219dafea.js → TablesDiagram.67a07e98.js} +2 -2
  85. abstra_statics/dist/assets/TablesTabs.vue_vue_type_script_setup_true_lang.2d88acf3.js +2 -0
  86. abstra_statics/dist/assets/{Tasks.ec374896.js → Tasks.d7e74b8f.js} +2 -2
  87. abstra_statics/dist/assets/{UploadOutlined.0febb328.js → UploadOutlined.6515c426.js} +2 -2
  88. abstra_statics/dist/assets/{View.fb46eda6.js → View.2cf966b9.js} +2 -2
  89. abstra_statics/dist/assets/{View.vue_vue_type_script_setup_true_lang.70fb2375.js → View.vue_vue_type_script_setup_true_lang.17304c45.js} +2 -2
  90. abstra_statics/dist/assets/{Watermark.2c100fb0.js → Watermark.4b6da85c.js} +2 -2
  91. abstra_statics/dist/assets/{WebEditor.3fbca28c.js → WebEditor.969d0862.js} +2 -2
  92. abstra_statics/dist/assets/{WidgetPreview.fe9eac30.js → WidgetPreview.6cc6a025.js} +2 -2
  93. abstra_statics/dist/assets/{ant-design.a7203613.js → ant-design.771baa34.js} +2 -2
  94. abstra_statics/dist/assets/apiKey.8e591cfc.js +2 -0
  95. abstra_statics/dist/assets/asyncComputed.0f036eae.js +2 -0
  96. abstra_statics/dist/assets/{build.3d214204.js → build.c819a477.js} +2 -2
  97. abstra_statics/dist/assets/colorHelpers.c4e8851c.js +2 -0
  98. abstra_statics/dist/assets/{console.6be03675.js → console.072f10aa.js} +2 -2
  99. abstra_statics/dist/assets/constants.6f822a9d.js +2 -0
  100. abstra_statics/dist/assets/{cssMode.0190ddfd.js → cssMode.b24669f0.js} +2 -2
  101. abstra_statics/dist/assets/datetime.7d5f4744.js +2 -0
  102. abstra_statics/dist/assets/dayjs.19defe89.js +2 -0
  103. abstra_statics/dist/assets/editor.6fa2da52.js +2 -0
  104. abstra_statics/dist/assets/editor.main.91c25311.js +2 -0
  105. abstra_statics/dist/assets/fetch.41281c28.js +2 -0
  106. abstra_statics/dist/assets/{files.2e1c6b7d.js → files.ff551888.js} +2 -2
  107. abstra_statics/dist/assets/folder.92a70293.js +2 -0
  108. abstra_statics/dist/assets/{freemarker2.7b845050.js → freemarker2.c3563cfb.js} +2 -2
  109. abstra_statics/dist/assets/{handlebars.b2522067.js → handlebars.bedd8360.js} +2 -2
  110. abstra_statics/dist/assets/{html.72be183a.js → html.3cfc37f8.js} +3 -3
  111. abstra_statics/dist/assets/{htmlMode.907f3161.js → htmlMode.f9c29f9d.js} +2 -2
  112. abstra_statics/dist/assets/{index.85d1a54f.js → index.138ad220.js} +2 -2
  113. abstra_statics/dist/assets/{index.18f988e9.js → index.26a34a52.js} +2 -2
  114. abstra_statics/dist/assets/{index.887b9cea.js → index.5429e60c.js} +2 -2
  115. abstra_statics/dist/assets/{index.6b334162.js → index.9028af84.js} +2 -2
  116. abstra_statics/dist/assets/index.a9e83a57.js +2 -0
  117. abstra_statics/dist/assets/{index.644cef68.js → index.b69b3146.js} +2 -2
  118. abstra_statics/dist/assets/index.dccc1696.js +2 -0
  119. abstra_statics/dist/assets/{index.00bda673.js → index.dfc9f500.js} +2 -2
  120. abstra_statics/dist/assets/{index.3369e1c3.js → index.e6b397aa.js} +3 -3
  121. abstra_statics/dist/assets/{index.c85af12a.js → index.e7bc0e19.js} +2 -2
  122. abstra_statics/dist/assets/{javascript.13ddefba.js → javascript.a4a24e63.js} +3 -3
  123. abstra_statics/dist/assets/{jsonMode.cccb83b3.js → jsonMode.4df0cb48.js} +2 -2
  124. abstra_statics/dist/assets/{jwt-decode.esm.611ae497.js → jwt-decode.esm.b204fb7d.js} +7 -7
  125. abstra_statics/dist/assets/{linters.46cf69bd.js → linters.5b679742.js} +2 -2
  126. abstra_statics/dist/assets/{liquid.91546d57.js → liquid.6539d262.js} +3 -3
  127. abstra_statics/dist/assets/{member.0b1d7ee4.js → member.c5283d66.js} +2 -2
  128. abstra_statics/dist/assets/{metadata.72772346.js → metadata.e6e36ac2.js} +2 -2
  129. abstra_statics/dist/assets/{omniChatStore.9863f4c9.js → omniChatStore.0470e5b1.js} +2 -2
  130. abstra_statics/dist/assets/{organization.b7e48cf9.js → organization.04cff158.js} +2 -2
  131. abstra_statics/dist/assets/player.c715ca22.js +2 -0
  132. abstra_statics/dist/assets/{plotly.min.9d629259.js → plotly.min.e185d882.js} +2 -2
  133. abstra_statics/dist/assets/polling.5f85e241.js +2 -0
  134. abstra_statics/dist/assets/{project.f311bb5d.js → project.c198d794.js} +2 -2
  135. abstra_statics/dist/assets/{python.11017bf1.js → python.5c45007e.js} +3 -3
  136. abstra_statics/dist/assets/{razor.a34acd16.js → razor.dbd79c37.js} +2 -2
  137. abstra_statics/dist/assets/{record.88233bcd.js → record.316e025a.js} +2 -2
  138. abstra_statics/dist/assets/redirect.d1904049.js +2 -0
  139. abstra_statics/dist/assets/{repository.7471bf9f.js → repository.ae6e826f.js} +2 -2
  140. abstra_statics/dist/assets/{repository.4376f3d5.js → repository.babdc912.js} +2 -2
  141. abstra_statics/dist/assets/{router.1f8c25cb.js → router.29d47df0.js} +3 -3
  142. abstra_statics/dist/assets/string.4a80abd5.js +2 -0
  143. abstra_statics/dist/assets/{tables.5944415f.js → tables.e80a0328.js} +2 -2
  144. abstra_statics/dist/assets/{tasksController.96c29436.js → tasksController.307be8dc.js} +3 -3
  145. abstra_statics/dist/assets/{toggleHighContrast.b35b098c.js → toggleHighContrast.4184537f.js} +7 -7
  146. abstra_statics/dist/assets/{tsMode.e6cc8920.js → tsMode.12c94eed.js} +2 -2
  147. abstra_statics/dist/assets/{typescript.74643ff2.js → typescript.e087b68e.js} +3 -3
  148. abstra_statics/dist/assets/url.371275cf.js +2 -0
  149. abstra_statics/dist/assets/userStore.26658284.js +2 -0
  150. abstra_statics/dist/assets/uuid.ffd92735.js +2 -0
  151. abstra_statics/dist/assets/{vue-flow-background.d870ecf6.js → vue-flow-background.402b0a32.js} +2 -2
  152. abstra_statics/dist/assets/{vue-quill.esm-bundler.b5c1d4e1.js → vue-quill.esm-bundler.10d49c97.js} +2 -2
  153. abstra_statics/dist/assets/workspaceStore.9caf566c.js +2 -0
  154. abstra_statics/dist/assets/{xml.ff273c0a.js → xml.c4ef7130.js} +3 -3
  155. abstra_statics/dist/assets/{yaml.7fe41d58.js → yaml.5eb27541.js} +3 -3
  156. abstra_statics/dist/console.html +15 -15
  157. abstra_statics/dist/editor.html +11 -11
  158. abstra_statics/dist/player.html +9 -9
  159. abstra_statics/dist/assets/AbstraLogo.vue_vue_type_script_setup_true_lang.b5d6685a.js +0 -2
  160. abstra_statics/dist/assets/App.9dd0b77a.js +0 -2
  161. abstra_statics/dist/assets/App.vue_vue_type_style_index_0_lang.3921dda6.js +0 -2
  162. abstra_statics/dist/assets/CloseCircleOutlined.b631df3b.js +0 -2
  163. abstra_statics/dist/assets/ConsoleOmniChat.vue_vue_type_script_setup_true_lang.e31ada03.js +0 -2
  164. abstra_statics/dist/assets/ContentLayout.3aa966dd.js +0 -2
  165. abstra_statics/dist/assets/DocsButton.vue_vue_type_script_setup_true_lang.78b2e715.js +0 -2
  166. abstra_statics/dist/assets/EnvVars.499ec26c.js +0 -2
  167. abstra_statics/dist/assets/Error.cb93e0e7.js +0 -2
  168. abstra_statics/dist/assets/ExclamationCircleOutlined.55a99fcd.js +0 -2
  169. abstra_statics/dist/assets/Form.6ad486f6.js +0 -2
  170. abstra_statics/dist/assets/Home.23434c66.js +0 -2
  171. abstra_statics/dist/assets/Home.8703c037.js +0 -2
  172. abstra_statics/dist/assets/LoadingContainer.5d37f646.js +0 -2
  173. abstra_statics/dist/assets/LoadingOutlined.9851c13d.js +0 -2
  174. abstra_statics/dist/assets/Login.d7667a41.js +0 -2
  175. abstra_statics/dist/assets/Logo.e83946ea.js +0 -2
  176. abstra_statics/dist/assets/Main.9732085e.js +0 -2
  177. abstra_statics/dist/assets/Navbar.2a821b28.js +0 -2
  178. abstra_statics/dist/assets/OidcLoginCallback.488ca2a1.js +0 -2
  179. abstra_statics/dist/assets/Organizations.4a51e135.js +0 -2
  180. abstra_statics/dist/assets/PhCopySimple.vue.ae2a0dda.js +0 -2
  181. abstra_statics/dist/assets/Steps.aa7e59b1.js +0 -2
  182. abstra_statics/dist/assets/Tables.bcc29e4f.js +0 -2
  183. abstra_statics/dist/assets/TablesTabs.vue_vue_type_script_setup_true_lang.09e41362.js +0 -2
  184. abstra_statics/dist/assets/apiKey.36511602.js +0 -2
  185. abstra_statics/dist/assets/asyncComputed.97ac15a2.js +0 -2
  186. abstra_statics/dist/assets/colorHelpers.729d7a40.js +0 -2
  187. abstra_statics/dist/assets/constants.60843cd3.js +0 -2
  188. abstra_statics/dist/assets/datetime.39f65a27.js +0 -2
  189. abstra_statics/dist/assets/dayjs.3a6ced6e.js +0 -2
  190. abstra_statics/dist/assets/editor.771a972f.js +0 -2
  191. abstra_statics/dist/assets/editor.main.aa5842e8.js +0 -2
  192. abstra_statics/dist/assets/fetch.bc00bb7a.js +0 -2
  193. abstra_statics/dist/assets/folder.10930186.js +0 -2
  194. abstra_statics/dist/assets/index.4f928bfe.js +0 -2
  195. abstra_statics/dist/assets/index.c36bb044.js +0 -2
  196. abstra_statics/dist/assets/player.63b74a06.js +0 -2
  197. abstra_statics/dist/assets/polling.06d43d12.js +0 -2
  198. abstra_statics/dist/assets/redirect.5f56a6ae.js +0 -2
  199. abstra_statics/dist/assets/string.12f8032a.js +0 -2
  200. abstra_statics/dist/assets/url.b17313e6.js +0 -2
  201. abstra_statics/dist/assets/userStore.2632fa83.js +0 -2
  202. abstra_statics/dist/assets/uuid.8943c176.js +0 -2
  203. abstra_statics/dist/assets/workspaceStore.5c88cf6a.js +0 -2
  204. {abstra-3.23.2.dist-info → abstra-3.23.3.dist-info}/WHEEL +0 -0
  205. {abstra-3.23.2.dist-info → abstra-3.23.3.dist-info}/entry_points.txt +0 -0
  206. {abstra-3.23.2.dist-info → abstra-3.23.3.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,2 @@
1
+ import"./jwt-decode.esm.b204fb7d.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]="b6940687-a0e0-46e7-98a0-814517706cc8",e._sentryDebugIdIdentifier="sentry-dbid-b6940687-a0e0-46e7-98a0-814517706cc8")}catch{}})();const i=1e3,r=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:i)}};t()},endPolling:()=>{n&&clearTimeout(n)}}};export{r as u};
2
+ //# sourceMappingURL=polling.5f85e241.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.88233bcd.js";import{h as s}from"./router.1f8c25cb.js";import"./jwt-decode.esm.611ae497.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]="e1010d06-9134-44cf-bcee-67a46f42332a",a._sentryDebugIdIdentifier="sentry-dbid-e1010d06-9134-44cf-bcee-67a46f42332a")}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.f311bb5d.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.316e025a.js";import{h as s}from"./router.29d47df0.js";import"./jwt-decode.esm.b204fb7d.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]="851fd269-a4aa-4c57-9395-3d2123422410",a._sentryDebugIdIdentifier="sentry-dbid-851fd269-a4aa-4c57-9395-3d2123422410")}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.c198d794.js.map
@@ -1,7 +1,7 @@
1
- import{m as a}from"./toggleHighContrast.b35b098c.js";import"./jwt-decode.esm.611ae497.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]="e90cc082-7887-41fd-8c33-f4814f25bcab",t._sentryDebugIdIdentifier="sentry-dbid-e90cc082-7887-41fd-8c33-f4814f25bcab")}catch{}})();/*!-----------------------------------------------------------------------------
1
+ import{m as a}from"./toggleHighContrast.4184537f.js";import"./jwt-decode.esm.b204fb7d.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]="55da24f0-9c4c-45f5-8e6d-b5155ba38893",t._sentryDebugIdIdentifier="sentry-dbid-55da24f0-9c4c-45f5-8e6d-b5155ba38893")}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
- *-----------------------------------------------------------------------------*/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 b={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{b as conf,m as language};
7
- //# sourceMappingURL=python.11017bf1.js.map
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.5c45007e.js.map
@@ -1,7 +1,7 @@
1
- import{m as s}from"./toggleHighContrast.b35b098c.js";import"./jwt-decode.esm.611ae497.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]="5d6fa590-3f47-435c-b172-2e130afc5027",t._sentryDebugIdIdentifier="sentry-dbid-5d6fa590-3f47-435c-b172-2e130afc5027")}catch{}})();/*!-----------------------------------------------------------------------------
1
+ import{m as s}from"./toggleHighContrast.4184537f.js";import"./jwt-decode.esm.b204fb7d.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]="dfc9d89e-ec0e-4649-895e-55809c3e5bc0",t._sentryDebugIdIdentifier="sentry-dbid-dfc9d89e-ec0e-4649-895e-55809c3e5bc0")}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.a34acd16.js.map
7
+ //# sourceMappingURL=razor.dbd79c37.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 u,el as r}from"./jwt-decode.esm.611ae497.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]="3ac33124-dd5c-420d-aaf6-004075463caa",e._sentryDebugIdIdentifier="sentry-dbid-3ac33124-dd5c-420d-aaf6-004075463caa")}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 u(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 u(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]},c=await this.api.update(this.initialState.id,a);this.initialState={...this.initialState,...c},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 u(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]},c=await this.api.update(this.initialState.id,a);this.initialState={...this.initialState,...c},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.88233bcd.js.map
1
+ var o=Object.defineProperty;var b=(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)=>(b(e,typeof s!="symbol"?s+"":s,t),t);import{N as p,eD as u,el as r}from"./jwt-decode.esm.b204fb7d.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]="acc2380f-cb99-4c3f-b8f7-058be4b98f6a",e._sentryDebugIdIdentifier="sentry-dbid-acc2380f-cb99-4c3f-b8f7-058be4b98f6a")}catch{}})();class d{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 d,this._changes=p({})}static from(s){return u(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 u(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]},c=await this.api.update(this.initialState.id,a);this.initialState={...this.initialState,...c},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 u(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]},c=await this.api.update(this.initialState.id,a);this.initialState={...this.initialState,...c},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,d as P,l as a};
2
+ //# sourceMappingURL=record.316e025a.js.map
@@ -0,0 +1,2 @@
1
+ import{i as c}from"./url.371275cf.js";import"./jwt-decode.esm.b204fb7d.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]="815b7544-7832-4483-a670-d2a32921d45a",e._sentryDebugIdIdentifier="sentry-dbid-815b7544-7832-4483-a670-d2a32921d45a")}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.d1904049.js.map
@@ -1,2 +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.611ae497.js";import{L as x}from"./LoadingOutlined.9851c13d.js";import{h as d}from"./router.1f8c25cb.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]="5d4f288f-44cf-4dd3-a160-983ffd9ecc77",r._sentryDebugIdIdentifier="sentry-dbid-5d4f288f-44cf-4dd3-a160-983ffd9ecc77")}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 e=1;e<arguments.length;e++){var t=arguments[e]!=null?Object(arguments[e]):{},n=Object.keys(t);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(t).filter(function(s){return Object.getOwnPropertyDescriptor(t,s).enumerable}))),n.forEach(function(s){k(r,s,t[s])})}return r}function k(r,e,t){return e in r?Object.defineProperty(r,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):r[e]=t,r}var b=function(e,t){var n=w({},e,t.attrs);return h(m,w({},n,{icon:S}),null)};b.displayName="CheckCircleFilled";b.inheritAttrs=!1;const E=b;function j(r){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?Object(arguments[e]):{},n=Object.keys(t);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(t).filter(function(s){return Object.getOwnPropertyDescriptor(t,s).enumerable}))),n.forEach(function(s){A(r,s,t[s])})}return r}function A(r,e,t){return e in r?Object.defineProperty(r,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):r[e]=t,r}var y=function(e,t){var n=j({},e,t.attrs);return h(m,j({},n,{icon:I}),null)};y.displayName="CloseCircleFilled";y.inheritAttrs=!1;const D=y;function v(r){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?Object(arguments[e]):{},n=Object.keys(t);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(t).filter(function(s){return Object.getOwnPropertyDescriptor(t,s).enumerable}))),n.forEach(function(s){M(r,s,t[s])})}return r}function M(r,e,t){return e in r?Object.defineProperty(r,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):r[e]=t,r}var C=function(e,t){var n=v({},e,t.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(e,t)=>e.status==="finished"?(c(),l(u(E),{key:0,style:{color:"#33b891"}})):e.status==="failed"?(c(),l(u(D),{key:1,style:{color:"#fa675c"}})):e.status==="abandoned"||e.status==="lock-failed"?(c(),l(u(L),{key:2,style:{color:"#f69220"}})):e.status==="running"?(c(),l(u(x),{key:3})):$("",!0)}}),z=["running","lock-failed","failed","finished","abandoned"];class f{constructor(e){this.dto=e}static from(e){return new f(e)}get entries(){return this.dto.sort((e,t)=>e.sequence-t.sequence).filter(e=>e.event!=="form-message")}}class g{constructor(e){this.dto=e}static from(e){return new g(e)}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 e;return(e=this.dto.buildId)!=null?e:""}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:e,...t}){var p,a;const n={...t,offset:(p=t.offset)==null?void 0:p.toString(),limit:(a=t.limit)==null?void 0:a.toString()};Object.keys(n).forEach(o=>n[o]===void 0&&delete n[o]);const s=await d.get(`projects/${e}/executions`,n);return{executions:s.executions.map(o=>g.from(o)),totalCount:s.totalCount}}async fetchLogs(e,t){const n=await d.get(`projects/${e}/executions/${t}/logs`);return f.from(n)}async fetchThreadData(e,t){return(await d.get(`projects/${e}/executions/${t}/thread-data`)).response}async getExecutionTasks(e,t){return await d.get(`projects/${e}/executions/${t}/tasks`)}async fetchStages(){throw new Error("Method not implemented.")}}class G{async list(e){var o,O;const t={...e,offset:(o=e.offset)==null?void 0:o.toString(),limit:(O=e.limit)==null?void 0:O.toString()};Object.keys(t).forEach(i=>t[i]===void 0&&delete t[i]);const n=Object.fromEntries(Object.entries(t!=null?t:{}).filter(([,i])=>i!=null)),s=Object.keys(n).length>0?`?${new URLSearchParams(n).toString()}`:"",a=await(await fetch(`/_editor/api/executions${s}`)).json();return{executions:a.executions.map(i=>g.from(i)),totalCount:a.totalCount}}async fetchLogs(e,t){const s=await(await fetch(`/_editor/api/logs/${t}`)).json();return f.from(s)}async fetchThreadData(){return{}}async getExecutionTasks(e,t){return await(await fetch(`/_editor/api/executions/${t}/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.7471bf9f.js.map
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.b204fb7d.js";import{L as x}from"./LoadingOutlined.11688830.js";import{h as d}from"./router.29d47df0.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]="24e2bcd9-3f85-49ad-990b-f1a8b47e341e",r._sentryDebugIdIdentifier="sentry-dbid-24e2bcd9-3f85-49ad-990b-f1a8b47e341e")}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 e=1;e<arguments.length;e++){var t=arguments[e]!=null?Object(arguments[e]):{},n=Object.keys(t);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(t).filter(function(s){return Object.getOwnPropertyDescriptor(t,s).enumerable}))),n.forEach(function(s){k(r,s,t[s])})}return r}function k(r,e,t){return e in r?Object.defineProperty(r,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):r[e]=t,r}var b=function(e,t){var n=w({},e,t.attrs);return h(m,w({},n,{icon:S}),null)};b.displayName="CheckCircleFilled";b.inheritAttrs=!1;const E=b;function j(r){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?Object(arguments[e]):{},n=Object.keys(t);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(t).filter(function(s){return Object.getOwnPropertyDescriptor(t,s).enumerable}))),n.forEach(function(s){A(r,s,t[s])})}return r}function A(r,e,t){return e in r?Object.defineProperty(r,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):r[e]=t,r}var y=function(e,t){var n=j({},e,t.attrs);return h(m,j({},n,{icon:I}),null)};y.displayName="CloseCircleFilled";y.inheritAttrs=!1;const D=y;function v(r){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?Object(arguments[e]):{},n=Object.keys(t);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(t).filter(function(s){return Object.getOwnPropertyDescriptor(t,s).enumerable}))),n.forEach(function(s){M(r,s,t[s])})}return r}function M(r,e,t){return e in r?Object.defineProperty(r,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):r[e]=t,r}var C=function(e,t){var n=v({},e,t.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(e,t)=>e.status==="finished"?(c(),l(u(E),{key:0,style:{color:"#33b891"}})):e.status==="failed"?(c(),l(u(D),{key:1,style:{color:"#fa675c"}})):e.status==="abandoned"||e.status==="lock-failed"?(c(),l(u(L),{key:2,style:{color:"#f69220"}})):e.status==="running"?(c(),l(u(x),{key:3})):$("",!0)}}),z=["running","lock-failed","failed","finished","abandoned"];class f{constructor(e){this.dto=e}static from(e){return new f(e)}get entries(){return this.dto.sort((e,t)=>e.sequence-t.sequence).filter(e=>e.event!=="form-message")}}class g{constructor(e){this.dto=e}static from(e){return new g(e)}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 e;return(e=this.dto.buildId)!=null?e:""}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:e,...t}){var p,a;const n={...t,offset:(p=t.offset)==null?void 0:p.toString(),limit:(a=t.limit)==null?void 0:a.toString()};Object.keys(n).forEach(o=>n[o]===void 0&&delete n[o]);const s=await d.get(`projects/${e}/executions`,n);return{executions:s.executions.map(o=>g.from(o)),totalCount:s.totalCount}}async fetchLogs(e,t){const n=await d.get(`projects/${e}/executions/${t}/logs`);return f.from(n)}async fetchThreadData(e,t){return(await d.get(`projects/${e}/executions/${t}/thread-data`)).response}async getExecutionTasks(e,t){return await d.get(`projects/${e}/executions/${t}/tasks`)}async fetchStages(){throw new Error("Method not implemented.")}}class G{async list(e){var o,O;const t={...e,offset:(o=e.offset)==null?void 0:o.toString(),limit:(O=e.limit)==null?void 0:O.toString()};Object.keys(t).forEach(i=>t[i]===void 0&&delete t[i]);const n=Object.fromEntries(Object.entries(t!=null?t:{}).filter(([,i])=>i!=null)),s=Object.keys(n).length>0?`?${new URLSearchParams(n).toString()}`:"",a=await(await fetch(`/_editor/api/executions${s}`)).json();return{executions:a.executions.map(i=>g.from(i)),totalCount:a.totalCount}}async fetchLogs(e,t){const s=await(await fetch(`/_editor/api/logs/${t}`)).json();return f.from(s)}async fetchThreadData(){return{}}async getExecutionTasks(e,t){return await(await fetch(`/_editor/api/executions/${t}/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.ae6e826f.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 i=(r,t,e)=>(h(r,typeof t!="symbol"?t+"":t,e),e);import{h as a}from"./router.1f8c25cb.js";import{l as u}from"./fetch.bc00bb7a.js";import{E as l}from"./record.88233bcd.js";import"./jwt-decode.esm.611ae497.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]="2efcba45-b2fa-4002-a4e0-d9ff02eb9cbd",r._sentryDebugIdIdentifier="sentry-dbid-2efcba45-b2fa-4002-a4e0-d9ff02eb9cbd")}catch{}})();class c{constructor(t){i(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 c(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(){i(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(c.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(c.from)}}export{I as C,$ as E};
2
- //# sourceMappingURL=repository.4376f3d5.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.29d47df0.js";import{l as u}from"./fetch.41281c28.js";import{E as l}from"./record.316e025a.js";import"./jwt-decode.esm.b204fb7d.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]="a207ad04-d337-4f69-9f26-ec337635d3a5",r._sentryDebugIdIdentifier="sentry-dbid-a207ad04-d337-4f69-9f26-ec337635d3a5")}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 ${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 b{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{$ as C,b as E};
2
+ //# sourceMappingURL=repository.babdc912.js.map