abstra 3.24.6__py3-none-any.whl → 3.24.7__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 (216) hide show
  1. {abstra-3.24.6.dist-info → abstra-3.24.7.dist-info}/METADATA +1 -1
  2. {abstra-3.24.6.dist-info → abstra-3.24.7.dist-info}/RECORD +172 -171
  3. abstra_internals/tasks_watcher.py +16 -1
  4. abstra_internals/tasks_watcher_test.py +254 -0
  5. abstra_statics/dist/assets/{AbstraButton.vue_vue_type_script_setup_true_lang.9c0844e1.js → AbstraButton.vue_vue_type_script_setup_true_lang.865dcbf3.js} +2 -2
  6. abstra_statics/dist/assets/AbstraLogo.vue_vue_type_script_setup_true_lang.8204f8e4.js +2 -0
  7. abstra_statics/dist/assets/ApiKeys.0ebb0b5f.js +2 -0
  8. abstra_statics/dist/assets/App.fa5bd988.js +2 -0
  9. abstra_statics/dist/assets/App.vue_vue_type_style_index_0_lang.35b9297a.js +2 -0
  10. abstra_statics/dist/assets/BaseLayout.31267389.js +2 -0
  11. abstra_statics/dist/assets/Billing.44f40d95.js +2 -0
  12. abstra_statics/dist/assets/{Breadcrumb.ae24888f.js → Breadcrumb.bc48ca6d.js} +2 -2
  13. abstra_statics/dist/assets/{Builds.c30d0eb0.js → Builds.5c884494.js} +2 -2
  14. abstra_statics/dist/assets/{Card.e1ec3051.js → Card.eab9832f.js} +2 -2
  15. abstra_statics/dist/assets/{CircularLoading.26cebe64.js → CircularLoading.a4bd5a70.js} +2 -2
  16. abstra_statics/dist/assets/CloseCircleOutlined.87d100e7.js +2 -0
  17. abstra_statics/dist/assets/{ConnectorsView.6eae8e1e.js → ConnectorsView.89e278ce.js} +2 -2
  18. abstra_statics/dist/assets/ConsoleOmniChat.vue_vue_type_script_setup_true_lang.b3c015f9.js +2 -0
  19. abstra_statics/dist/assets/ContentLayout.8cfadb43.js +2 -0
  20. abstra_statics/dist/assets/{CrudView.ca91f805.js → CrudView.f8f7347d.js} +2 -2
  21. abstra_statics/dist/assets/{DocsButton.vue_vue_type_script_setup_true_lang.c50f6a0a.js → DocsButton.vue_vue_type_script_setup_true_lang.264a92d9.js} +2 -2
  22. abstra_statics/dist/assets/{EditorLogin.19fe1dcc.js → EditorLogin.b8cbc772.js} +2 -2
  23. abstra_statics/dist/assets/{EditorsView.3f4d1241.js → EditorsView.580cabb0.js} +2 -2
  24. abstra_statics/dist/assets/EnvVars.8f5b7bdb.js +2 -0
  25. abstra_statics/dist/assets/Error.ee721fce.js +2 -0
  26. abstra_statics/dist/assets/ExclamationCircleOutlined.40ff37b4.js +2 -0
  27. abstra_statics/dist/assets/{ExecutionContext.69bc5c09.js → ExecutionContext.3f4e1ec7.js} +2 -2
  28. abstra_statics/dist/assets/{ExecutionStatusIcon.vue_vue_type_script_setup_true_lang.a2a7ab75.js → ExecutionStatusIcon.vue_vue_type_script_setup_true_lang.4f510b9a.js} +2 -2
  29. abstra_statics/dist/assets/{Files.81259c6b.js → Files.db0a38ea.js} +2 -2
  30. abstra_statics/dist/assets/{Form.723342d2.js → Form.7ffaca31.js} +2 -2
  31. abstra_statics/dist/assets/{FormRunner.d1186e5c.js → FormRunner.eae15d54.js} +2 -2
  32. abstra_statics/dist/assets/{Home.bad5d80b.js → Home.31aa421b.js} +2 -2
  33. abstra_statics/dist/assets/Home.5a499863.js +2 -0
  34. abstra_statics/dist/assets/LoadingContainer.6b2e55a8.js +2 -0
  35. abstra_statics/dist/assets/LoadingOutlined.bcf2a831.js +2 -0
  36. abstra_statics/dist/assets/Login.53d97380.js +2 -0
  37. abstra_statics/dist/assets/{Login.a40bc609.js → Login.779e9007.js} +2 -2
  38. abstra_statics/dist/assets/{Login.vue_vue_type_script_setup_true_lang.6f146a14.js → Login.vue_vue_type_script_setup_true_lang.f1a48ab2.js} +2 -2
  39. abstra_statics/dist/assets/Logo.c4ca8242.js +2 -0
  40. abstra_statics/dist/assets/{Logs.859d8699.js → Logs.ef6eb243.js} +2 -2
  41. abstra_statics/dist/assets/Main.b3e5d5fe.js +2 -0
  42. abstra_statics/dist/assets/{MockForm.958e1a8b.js → MockForm.2aa4fc17.js} +2 -2
  43. abstra_statics/dist/assets/{Navbar.299ef0ee.js → Navbar.89b7a1da.js} +2 -2
  44. abstra_statics/dist/assets/{NewEditor.1d3b7038.js → NewEditor.0cd895fd.js} +2 -2
  45. abstra_statics/dist/assets/OidcLoginCallback.9dd86a22.js +2 -0
  46. abstra_statics/dist/assets/OidcLogoutCallback.a60b6160.js +2 -0
  47. abstra_statics/dist/assets/{OmniChat.fb0615b3.js → OmniChat.00da5ca5.js} +2 -2
  48. abstra_statics/dist/assets/{OnboardingView.e2af008f.js → OnboardingView.86178ead.js} +2 -2
  49. abstra_statics/dist/assets/Organization.9bf814e7.js +2 -0
  50. abstra_statics/dist/assets/Organizations.7473e524.js +2 -0
  51. abstra_statics/dist/assets/{PhArrowCounterClockwise.vue.dbc4fdc7.js → PhArrowCounterClockwise.vue.9a0ef441.js} +2 -2
  52. abstra_statics/dist/assets/{PhArrowSquareOut.vue.5a8d2f86.js → PhArrowSquareOut.vue.e64bebdd.js} +2 -2
  53. abstra_statics/dist/assets/{PhClockCounterClockwise.vue.15ff64b9.js → PhClockCounterClockwise.vue.090be995.js} +2 -2
  54. abstra_statics/dist/assets/{PhCopy.vue.3f2b76a2.js → PhCopy.vue.2163dc9b.js} +2 -2
  55. abstra_statics/dist/assets/{PhCopySimple.vue.7cacc0f7.js → PhCopySimple.vue.df39762b.js} +2 -2
  56. abstra_statics/dist/assets/{PhCube.vue.6a150c53.js → PhCube.vue.099137c1.js} +2 -2
  57. abstra_statics/dist/assets/{PhDatabase.vue.425a706f.js → PhDatabase.vue.33681014.js} +2 -2
  58. abstra_statics/dist/assets/{PhDotsThreeVertical.vue.e305b3a2.js → PhDotsThreeVertical.vue.e9b1faec.js} +2 -2
  59. abstra_statics/dist/assets/{PhDownloadSimple.vue.2759a067.js → PhDownloadSimple.vue.cba09010.js} +2 -2
  60. abstra_statics/dist/assets/{PhFileArrowUp.vue.7e13d264.js → PhFileArrowUp.vue.8f2790df.js} +2 -2
  61. abstra_statics/dist/assets/{PhFilePlus.vue.537e8e0d.js → PhFilePlus.vue.18b183d7.js} +2 -2
  62. abstra_statics/dist/assets/{PhFolderPlus.vue.53737c9c.js → PhFolderPlus.vue.8dc4e304.js} +2 -2
  63. abstra_statics/dist/assets/{PhGear.vue.3a3d45d2.js → PhGear.vue.15aaccf5.js} +2 -2
  64. abstra_statics/dist/assets/{PhKey.vue.07ccc3ef.js → PhKey.vue.55642d36.js} +2 -2
  65. abstra_statics/dist/assets/{PhPencil.vue.e0099a7f.js → PhPencil.vue.ea9f0def.js} +2 -2
  66. abstra_statics/dist/assets/{PhPencilSimple.vue.7ffd0edb.js → PhPencilSimple.vue.2d6e76ca.js} +2 -2
  67. abstra_statics/dist/assets/{PhRocket.vue.a2ca27d6.js → PhRocket.vue.ec0249c6.js} +2 -2
  68. abstra_statics/dist/assets/{PhSignOut.vue.4f6997f5.js → PhSignOut.vue.1cca1af4.js} +2 -2
  69. abstra_statics/dist/assets/{PhSparkle.vue.e6119d8d.js → PhSparkle.vue.5ff46bd3.js} +2 -2
  70. abstra_statics/dist/assets/{PhTranslate.vue.d4756feb.js → PhTranslate.vue.077070e7.js} +2 -2
  71. abstra_statics/dist/assets/{PhUsersThree.vue.50cc946e.js → PhUsersThree.vue.a78365b2.js} +2 -2
  72. abstra_statics/dist/assets/{PhWarningCircle.vue.03a6e5c8.js → PhWarningCircle.vue.40ea25aa.js} +2 -2
  73. abstra_statics/dist/assets/{PhWebhooksLogo.vue.13c489ce.js → PhWebhooksLogo.vue.a73cf99c.js} +2 -2
  74. abstra_statics/dist/assets/{PlayerConfigProvider.d0d5439f.js → PlayerConfigProvider.8a1d38e8.js} +2 -2
  75. abstra_statics/dist/assets/{PlayerNavbar.fd53d29e.js → PlayerNavbar.53f81c7f.js} +2 -2
  76. abstra_statics/dist/assets/{Project.7c3bdd8a.js → Project.1b9b8eee.js} +2 -2
  77. abstra_statics/dist/assets/ProjectLogin.972cff72.js +2 -0
  78. abstra_statics/dist/assets/{ProjectSettings.995a749e.js → ProjectSettings.183e39d3.js} +2 -2
  79. abstra_statics/dist/assets/{ProjectsView.4d026e78.js → ProjectsView.31637152.js} +2 -2
  80. abstra_statics/dist/assets/{SaveButton.813aaf8d.js → SaveButton.8e4a5fbe.js} +2 -2
  81. abstra_statics/dist/assets/ScrollArea.vue_vue_type_script_setup_true_lang.2a9a82d1.js +2 -0
  82. abstra_statics/dist/assets/{Sidebar.08e9b51a.js → Sidebar.adfed738.js} +2 -2
  83. abstra_statics/dist/assets/{Sql.18a715c6.js → Sql.bf31b294.js} +2 -2
  84. abstra_statics/dist/assets/Steps.a55d381b.js +2 -0
  85. abstra_statics/dist/assets/{TableCard.2543b684.js → TableCard.f71238a1.js} +2 -2
  86. abstra_statics/dist/assets/{TableEditor.ee57cc7f.js → TableEditor.1f5f6b45.js} +2 -2
  87. abstra_statics/dist/assets/{Tables.a358bf91.js → Tables.ae22a918.js} +2 -2
  88. abstra_statics/dist/assets/{TablesDiagram.991fc1b3.js → TablesDiagram.29966818.js} +2 -2
  89. abstra_statics/dist/assets/{TablesTabs.vue_vue_type_script_setup_true_lang.744da918.js → TablesTabs.vue_vue_type_script_setup_true_lang.9567dc60.js} +2 -2
  90. abstra_statics/dist/assets/{Tasks.932349fa.js → Tasks.db070216.js} +2 -2
  91. abstra_statics/dist/assets/{UploadOutlined.113850a1.js → UploadOutlined.654fb655.js} +2 -2
  92. abstra_statics/dist/assets/{View.67504c02.js → View.64f7c00a.js} +2 -2
  93. abstra_statics/dist/assets/{View.vue_vue_type_script_setup_true_lang.f7c2ef15.js → View.vue_vue_type_script_setup_true_lang.8892f80d.js} +2 -2
  94. abstra_statics/dist/assets/{Watermark.6e692419.js → Watermark.2b4d030d.js} +2 -2
  95. abstra_statics/dist/assets/{WebEditor.7a1fcb94.js → WebEditor.a5e97d7a.js} +2 -2
  96. abstra_statics/dist/assets/{WidgetPreview.0b7ab78b.js → WidgetPreview.40cbebe3.js} +2 -2
  97. abstra_statics/dist/assets/{WorkflowViewer.95d64da4.js → WorkflowViewer.b9f96c37.js} +2 -2
  98. abstra_statics/dist/assets/ant-design.5ec0b6b3.js +2 -0
  99. abstra_statics/dist/assets/apiKey.1bb9c6d2.js +2 -0
  100. abstra_statics/dist/assets/asyncComputed.7ddee0b0.js +2 -0
  101. abstra_statics/dist/assets/{build.c626214a.js → build.bfc699c6.js} +2 -2
  102. abstra_statics/dist/assets/colorHelpers.53158244.js +2 -0
  103. abstra_statics/dist/assets/{console.1e432ec7.js → console.21189c1b.js} +2 -2
  104. abstra_statics/dist/assets/constants.0deee127.js +2 -0
  105. abstra_statics/dist/assets/{contracts.generated.c5043d35.js → contracts.generated.0a04f0c8.js} +2 -2
  106. abstra_statics/dist/assets/{cssMode.75e3c56c.js → cssMode.766de8eb.js} +2 -2
  107. abstra_statics/dist/assets/datetime.0048a7b9.js +2 -0
  108. abstra_statics/dist/assets/dayjs.618c5367.js +2 -0
  109. abstra_statics/dist/assets/editor.64e4d209.js +2 -0
  110. abstra_statics/dist/assets/editor.main.08984606.js +2 -0
  111. abstra_statics/dist/assets/fetch.7b0def40.js +2 -0
  112. abstra_statics/dist/assets/files.8583d431.js +2 -0
  113. abstra_statics/dist/assets/folder.c07afb46.js +2 -0
  114. abstra_statics/dist/assets/{freemarker2.400d456f.js → freemarker2.a1e074e9.js} +2 -2
  115. abstra_statics/dist/assets/{handlebars.d8549cd4.js → handlebars.ef746198.js} +2 -2
  116. abstra_statics/dist/assets/{html.dcc0e819.js → html.36bc618f.js} +2 -2
  117. abstra_statics/dist/assets/{htmlMode.b93d1fe9.js → htmlMode.2557714f.js} +2 -2
  118. abstra_statics/dist/assets/{index.ddb89818.js → index.0389f2ff.js} +2 -2
  119. abstra_statics/dist/assets/index.36af13ac.js +2 -0
  120. abstra_statics/dist/assets/{index.5ecb9a37.js → index.6a5e28c0.js} +2 -2
  121. abstra_statics/dist/assets/{index.99fb59f0.js → index.8391f105.js} +2 -2
  122. abstra_statics/dist/assets/{index.ab7dc629.js → index.88a43c5d.js} +2 -2
  123. abstra_statics/dist/assets/{index.36a090cf.js → index.95966207.js} +2 -2
  124. abstra_statics/dist/assets/{index.c59ca45b.js → index.b57ea477.js} +2 -2
  125. abstra_statics/dist/assets/{index.2400150a.js → index.cb46e99b.js} +2 -2
  126. abstra_statics/dist/assets/{index.a4dc5332.js → index.cfbca287.js} +2 -2
  127. abstra_statics/dist/assets/{javascript.6a1a2db7.js → javascript.3ef3ca8e.js} +3 -3
  128. abstra_statics/dist/assets/{jsonMode.0650153f.js → jsonMode.bc3f9dc2.js} +2 -2
  129. abstra_statics/dist/assets/{jwt-decode.cfe2994b.css → jwt-decode.aa5b9ed3.css} +1 -1
  130. abstra_statics/dist/assets/{jwt-decode.esm.32f71954.js → jwt-decode.esm.b9bb33e7.js} +9 -8
  131. abstra_statics/dist/assets/{linters.3b9f6de6.js → linters.f033aedb.js} +2 -2
  132. abstra_statics/dist/assets/{liquid.612ef64b.js → liquid.b8dbec9f.js} +3 -3
  133. abstra_statics/dist/assets/{member.91dd2bc0.js → member.a66ab498.js} +2 -2
  134. abstra_statics/dist/assets/{metadata.c5f500d1.js → metadata.17375f25.js} +2 -2
  135. abstra_statics/dist/assets/{omniChatStore.10d769d2.js → omniChatStore.c81c7dd1.js} +4 -4
  136. abstra_statics/dist/assets/{organization.2c5a9815.js → organization.31d7490b.js} +2 -2
  137. abstra_statics/dist/assets/{os.d718583c.js → os.cc382050.js} +2 -2
  138. abstra_statics/dist/assets/player.4ba2218c.js +2 -0
  139. abstra_statics/dist/assets/{plotly.min.cdd940d3.js → plotly.min.e2ba2e19.js} +2 -2
  140. abstra_statics/dist/assets/polling.bdac3134.js +2 -0
  141. abstra_statics/dist/assets/{project.b14b799c.js → project.f3f1cd2e.js} +2 -2
  142. abstra_statics/dist/assets/{python.de00ef26.js → python.ca19a8f2.js} +3 -3
  143. abstra_statics/dist/assets/{razor.7aff1cf0.js → razor.b73e652a.js} +2 -2
  144. abstra_statics/dist/assets/{record.41c9caee.js → record.c01e7f08.js} +2 -2
  145. abstra_statics/dist/assets/{redirect.2f506c19.js → redirect.9d08109f.js} +2 -2
  146. abstra_statics/dist/assets/{repository.bfee664a.js → repository.819ee626.js} +2 -2
  147. abstra_statics/dist/assets/{repository.e580214f.js → repository.88fdba21.js} +2 -2
  148. abstra_statics/dist/assets/{router.29e08ea4.js → router.135b49e3.js} +5 -5
  149. abstra_statics/dist/assets/router.d8fe262e.js +2 -0
  150. abstra_statics/dist/assets/{string.ff0b4ef9.js → string.04644599.js} +2 -2
  151. abstra_statics/dist/assets/{tables.94d324c3.js → tables.d6f8baad.js} +2 -2
  152. abstra_statics/dist/assets/{tasksController.42d22818.js → tasksController.866fa385.js} +3 -3
  153. abstra_statics/dist/assets/{toggleHighContrast.7b4a31db.js → toggleHighContrast.5c061b5e.js} +7 -7
  154. abstra_statics/dist/assets/{tsMode.5cdf91a5.js → tsMode.75ac2754.js} +2 -2
  155. abstra_statics/dist/assets/{typescript.53676cd5.js → typescript.3c9ee25c.js} +3 -3
  156. abstra_statics/dist/assets/{url.79cc02c3.js → url.7fa35693.js} +2 -2
  157. abstra_statics/dist/assets/{useCodebaseEvents.5fbf9bc1.js → useCodebaseEvents.fd37c61f.js} +2 -2
  158. abstra_statics/dist/assets/useTables.1d5bf2b4.js +2 -0
  159. abstra_statics/dist/assets/userStore.3a2d2697.js +2 -0
  160. abstra_statics/dist/assets/uuid.40423699.js +2 -0
  161. abstra_statics/dist/assets/{vue-flow-background.7de722ba.js → vue-flow-background.6bb2a806.js} +2 -2
  162. abstra_statics/dist/assets/{vue-flow-core.589f776e.js → vue-flow-core.0cbcaed0.js} +2 -2
  163. abstra_statics/dist/assets/{vue-quill.esm-bundler.d3994d88.js → vue-quill.esm-bundler.6713b0a3.js} +2 -2
  164. abstra_statics/dist/assets/{workspaceStore.5dfe5329.js → workspaceStore.583d9afd.js} +2 -2
  165. abstra_statics/dist/assets/{xml.a905d090.js → xml.046c0d24.js} +3 -3
  166. abstra_statics/dist/assets/{yaml.112096a6.js → yaml.ebe5a918.js} +3 -3
  167. abstra_statics/dist/console.html +15 -15
  168. abstra_statics/dist/editor.html +14 -14
  169. abstra_statics/dist/player.html +10 -10
  170. abstra_statics/dist/assets/AbstraLogo.vue_vue_type_script_setup_true_lang.f0472c1e.js +0 -2
  171. abstra_statics/dist/assets/ApiKeys.e05d1ca1.js +0 -2
  172. abstra_statics/dist/assets/App.89fb6f4a.js +0 -2
  173. abstra_statics/dist/assets/App.vue_vue_type_style_index_0_lang.7b340da5.js +0 -2
  174. abstra_statics/dist/assets/BaseLayout.fed5adb7.js +0 -2
  175. abstra_statics/dist/assets/Billing.f1e5c3f8.js +0 -2
  176. abstra_statics/dist/assets/CloseCircleOutlined.fdea1f27.js +0 -2
  177. abstra_statics/dist/assets/ConsoleOmniChat.vue_vue_type_script_setup_true_lang.cbe8dd45.js +0 -2
  178. abstra_statics/dist/assets/ContentLayout.b1b0e8fb.js +0 -2
  179. abstra_statics/dist/assets/EnvVars.84ca50aa.js +0 -2
  180. abstra_statics/dist/assets/Error.f38d90e4.js +0 -2
  181. abstra_statics/dist/assets/ExclamationCircleOutlined.380af12e.js +0 -2
  182. abstra_statics/dist/assets/Home.889db6be.js +0 -2
  183. abstra_statics/dist/assets/LoadingContainer.395f4c42.js +0 -2
  184. abstra_statics/dist/assets/LoadingOutlined.6f7bdc44.js +0 -2
  185. abstra_statics/dist/assets/Login.90ebb0f6.js +0 -2
  186. abstra_statics/dist/assets/Logo.c75e45a8.js +0 -2
  187. abstra_statics/dist/assets/Main.6fd4bb0a.js +0 -2
  188. abstra_statics/dist/assets/OidcLoginCallback.17eeec42.js +0 -2
  189. abstra_statics/dist/assets/OidcLogoutCallback.b4d1c600.js +0 -2
  190. abstra_statics/dist/assets/Organization.1c340a2f.js +0 -2
  191. abstra_statics/dist/assets/Organizations.96e88f77.js +0 -2
  192. abstra_statics/dist/assets/ProjectLogin.9cec413b.js +0 -2
  193. abstra_statics/dist/assets/ScrollArea.vue_vue_type_script_setup_true_lang.e8269806.js +0 -2
  194. abstra_statics/dist/assets/Steps.7b2e867b.js +0 -2
  195. abstra_statics/dist/assets/ant-design.a8b36151.js +0 -2
  196. abstra_statics/dist/assets/apiKey.975dfeae.js +0 -2
  197. abstra_statics/dist/assets/asyncComputed.f9fa4c71.js +0 -2
  198. abstra_statics/dist/assets/colorHelpers.b41220cb.js +0 -2
  199. abstra_statics/dist/assets/constants.b5d83622.js +0 -2
  200. abstra_statics/dist/assets/datetime.cf8e211d.js +0 -2
  201. abstra_statics/dist/assets/dayjs.68053597.js +0 -2
  202. abstra_statics/dist/assets/editor.a00709d8.js +0 -2
  203. abstra_statics/dist/assets/editor.main.80ee55a4.js +0 -2
  204. abstra_statics/dist/assets/fetch.a8fb4ba0.js +0 -2
  205. abstra_statics/dist/assets/files.e8f04848.js +0 -2
  206. abstra_statics/dist/assets/folder.bd31d9bc.js +0 -2
  207. abstra_statics/dist/assets/index.dfc79bf7.js +0 -2
  208. abstra_statics/dist/assets/player.66868a86.js +0 -2
  209. abstra_statics/dist/assets/polling.ca800fea.js +0 -2
  210. abstra_statics/dist/assets/router.235ae730.js +0 -2
  211. abstra_statics/dist/assets/useTables.64fe45b0.js +0 -2
  212. abstra_statics/dist/assets/userStore.339db438.js +0 -2
  213. abstra_statics/dist/assets/uuid.77e093c3.js +0 -2
  214. {abstra-3.24.6.dist-info → abstra-3.24.7.dist-info}/WHEEL +0 -0
  215. {abstra-3.24.6.dist-info → abstra-3.24.7.dist-info}/entry_points.txt +0 -0
  216. {abstra-3.24.6.dist-info → abstra-3.24.7.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,2 @@
1
+ import"./jwt-decode.esm.b9bb33e7.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]="1b685689-8e97-4f65-9d72-ee4249d4c6e2",e._sentryDebugIdIdentifier="sentry-dbid-1b685689-8e97-4f65-9d72-ee4249d4c6e2")}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.bdac3134.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.41c9caee.js";import{k as s}from"./router.29e08ea4.js";import"./jwt-decode.esm.32f71954.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]="1d42fdec-8327-416d-93cf-29f996be0c9d",a._sentryDebugIdIdentifier="sentry-dbid-1d42fdec-8327-416d-93cf-29f996be0c9d")}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.b14b799c.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.c01e7f08.js";import{k as s}from"./router.135b49e3.js";import"./jwt-decode.esm.b9bb33e7.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]="482598ce-543f-44d1-96f4-ee9a6d76b46e",a._sentryDebugIdIdentifier="sentry-dbid-482598ce-543f-44d1-96f4-ee9a6d76b46e")}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.f3f1cd2e.js.map
@@ -1,7 +1,7 @@
1
- import{m as a}from"./toggleHighContrast.7b4a31db.js";import"./jwt-decode.esm.32f71954.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]="194125f9-3f5e-4476-9c6a-70502eb39ec0",t._sentryDebugIdIdentifier="sentry-dbid-194125f9-3f5e-4476-9c6a-70502eb39ec0")}catch{}})();/*!-----------------------------------------------------------------------------
1
+ import{m as a}from"./toggleHighContrast.5c061b5e.js";import"./jwt-decode.esm.b9bb33e7.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]="5a396531-a809-4c11-9ac9-182e86c3abc3",t._sentryDebugIdIdentifier="sentry-dbid-5a396531-a809-4c11-9ac9-182e86c3abc3")}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.de00ef26.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 m={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")}}},f={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{m as conf,f as language};
7
+ //# sourceMappingURL=python.ca19a8f2.js.map
@@ -1,7 +1,7 @@
1
- import{m as s}from"./toggleHighContrast.7b4a31db.js";import"./jwt-decode.esm.32f71954.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]="dd4637af-3446-466e-b4b2-ddcac25d0a9b",t._sentryDebugIdIdentifier="sentry-dbid-dd4637af-3446-466e-b4b2-ddcac25d0a9b")}catch{}})();/*!-----------------------------------------------------------------------------
1
+ import{m as s}from"./toggleHighContrast.5c061b5e.js";import"./jwt-decode.esm.b9bb33e7.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]="9e256caf-88a5-45f5-9d69-c552821e7a08",t._sentryDebugIdIdentifier="sentry-dbid-9e256caf-88a5-45f5-9d69-c552821e7a08")}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,n)=>{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:!(n=l(e,o))||n.enumerable});return t},h=(t,e,r)=>(i(t,e,"default"),r&&i(r,e,"default")),a={};h(a,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:a.languages.IndentAction.IndentOutdent}},{beforeText:new RegExp(`<(?!(?:${m.join("|")}))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$`,"i"),action:{indentAction:a.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.7aff1cf0.js.map
7
+ //# sourceMappingURL=razor.b73e652a.js.map
@@ -1,2 +1,2 @@
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{$ as p,eK as c,en as r}from"./jwt-decode.esm.32f71954.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]="b4a29532-7280-4fcb-95d7-4f162362980f",e._sentryDebugIdIdentifier="sentry-dbid-b4a29532-7280-4fcb-95d7-4f162362980f")}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 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,b as P,l as a};
2
- //# sourceMappingURL=record.41c9caee.js.map
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{$ as p,eK as c,en as r}from"./jwt-decode.esm.b9bb33e7.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]="760512f8-f10c-4204-92de-52dbde937617",e._sentryDebugIdIdentifier="sentry-dbid-760512f8-f10c-4204-92de-52dbde937617")}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.c01e7f08.js.map
@@ -1,2 +1,2 @@
1
- import{i as c}from"./url.79cc02c3.js";import"./jwt-decode.esm.32f71954.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]="b05a17ef-5acb-4a38-82f6-e8f906106244",e._sentryDebugIdIdentifier="sentry-dbid-b05a17ef-5acb-4a38-82f6-e8f906106244")}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.2f506c19.js.map
1
+ import{i as c}from"./url.7fa35693.js";import"./jwt-decode.esm.b9bb33e7.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]="962489f3-b919-45f9-aacb-abd9b652c792",e._sentryDebugIdIdentifier="sentry-dbid-962489f3-b919-45f9-aacb-abd9b652c792")}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.9d08109f.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{k as a}from"./router.29e08ea4.js";import{l as u}from"./fetch.a8fb4ba0.js";import{E as l}from"./record.41c9caee.js";import"./jwt-decode.esm.32f71954.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]="1ebc00c0-46f5-4e43-9070-358727f9b620",r._sentryDebugIdIdentifier="sentry-dbid-1ebc00c0-46f5-4e43-9070-358727f9b620")}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.bfee664a.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 i=(r,t,e)=>(h(r,typeof t!="symbol"?t+"":t,e),e);import{k as a}from"./router.135b49e3.js";import{l as u}from"./fetch.7b0def40.js";import{E as l}from"./record.c01e7f08.js";import"./jwt-decode.esm.b9bb33e7.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]="28a5fad0-d7b3-4b27-9849-f3cdb5c706e8",r._sentryDebugIdIdentifier="sentry-dbid-28a5fad0-d7b3-4b27-9849-f3cdb5c706e8")}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.819ee626.js.map
@@ -1,2 +1,2 @@
1
- var c=Object.defineProperty;var i=(a,t,e)=>t in a?c(a,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):a[t]=e;var d=(a,t,e)=>(i(a,typeof t!="symbol"?t+"":t,e),e);import{k as r}from"./router.29e08ea4.js";import"./jwt-decode.esm.32f71954.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]="f55e072a-d1ec-4b6a-95c5-30b79974e326",a._sentryDebugIdIdentifier="sentry-dbid-f55e072a-d1ec-4b6a-95c5-30b79974e326")}catch{}})();class y{async createTask(t,e,s){return fetch("/_editor/api/tasks",{method:"POST",body:JSON.stringify({name:t,payload:s,stage_id:e}),headers:{"Content-Type":"application/json"}}).then(n=>n.json())}async getAllTasks(t,e){const s={offset:t.currentIndex*t.pageSize,limit:t.pageSize,filter:{stage:e.stage,status:e.status,startDate:e.dateRange?e.dateRange[0]:void 0,endDate:e.dateRange?e.dateRange[1]:void 0}};return fetch("/_editor/api/tasks/list",{method:"POST",body:JSON.stringify(s),headers:{"Content-Type":"application/json"}}).then(n=>n.json())}async getStageTasks(t){return fetch(`/_editor/api/tasks/${t}`).then(e=>e.json())}async getSentStageTasks(t){return fetch(`/_editor/api/tasks/${t}/sent`).then(e=>e.json())}async updateTaskStatus(t,e){return fetch(`/_editor/api/tasks/${t}/status`,{method:"PUT",body:JSON.stringify({status:e}),headers:{"Content-Type":"application/json"}}).then(s=>s.json())}async clearAllTasks(){return fetch("/_editor/api/tasks/clear",{method:"DELETE"}).then(t=>t.json())}}class h{constructor(t){d(this,"projectId");this.projectId=t}async createTask(t,e,s){return await r.post(`projects/${this.projectId}/tasks`,{name:t,stageId:e,payload:s})}async getAllTasks(t,e){const s={offset:(t.currentIndex*t.pageSize).toString(),limit:t.pageSize.toString(),stageId:e.stage,status:e.status,startDate:e.dateRange?e.dateRange[0]:void 0,endDate:e.dateRange?e.dateRange[1]:void 0};return Object.keys(s).forEach(o=>s[o]===void 0&&delete s[o]),await r.get(`projects/${this.projectId}/tasks`,s)}async getTasksStatistics(){return await r.get(`projects/${this.projectId}/tasks/statistics`)}async getStageTasks(t){const e={stageId:t,offset:"0",limit:"1000"};return await r.get(`projects/${this.projectId}/tasks`,e)}async getSentStageTasks(t){const e={sourceStageId:t,offset:"0",limit:"1000"};return await r.get(`projects/${this.projectId}/tasks`,e)}async updateTaskStatus(t,e){throw new Error("Method not implemented.")}async fetchStages(){throw new Error("Method not implemented.")}async fetchStatuses(){throw new Error("Method not implemented.")}async clearAllTasks(){throw new Error("Method not implemented.")}}export{y as L,h as R};
2
- //# sourceMappingURL=repository.e580214f.js.map
1
+ var c=Object.defineProperty;var i=(a,t,e)=>t in a?c(a,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):a[t]=e;var d=(a,t,e)=>(i(a,typeof t!="symbol"?t+"":t,e),e);import{k as r}from"./router.135b49e3.js";import"./jwt-decode.esm.b9bb33e7.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]="a2602e96-f06a-4d90-a7da-bb4458c1f04a",a._sentryDebugIdIdentifier="sentry-dbid-a2602e96-f06a-4d90-a7da-bb4458c1f04a")}catch{}})();class y{async createTask(t,e,s){return fetch("/_editor/api/tasks",{method:"POST",body:JSON.stringify({name:t,payload:s,stage_id:e}),headers:{"Content-Type":"application/json"}}).then(n=>n.json())}async getAllTasks(t,e){const s={offset:t.currentIndex*t.pageSize,limit:t.pageSize,filter:{stage:e.stage,status:e.status,startDate:e.dateRange?e.dateRange[0]:void 0,endDate:e.dateRange?e.dateRange[1]:void 0}};return fetch("/_editor/api/tasks/list",{method:"POST",body:JSON.stringify(s),headers:{"Content-Type":"application/json"}}).then(n=>n.json())}async getStageTasks(t){return fetch(`/_editor/api/tasks/${t}`).then(e=>e.json())}async getSentStageTasks(t){return fetch(`/_editor/api/tasks/${t}/sent`).then(e=>e.json())}async updateTaskStatus(t,e){return fetch(`/_editor/api/tasks/${t}/status`,{method:"PUT",body:JSON.stringify({status:e}),headers:{"Content-Type":"application/json"}}).then(s=>s.json())}async clearAllTasks(){return fetch("/_editor/api/tasks/clear",{method:"DELETE"}).then(t=>t.json())}}class h{constructor(t){d(this,"projectId");this.projectId=t}async createTask(t,e,s){return await r.post(`projects/${this.projectId}/tasks`,{name:t,stageId:e,payload:s})}async getAllTasks(t,e){const s={offset:(t.currentIndex*t.pageSize).toString(),limit:t.pageSize.toString(),stageId:e.stage,status:e.status,startDate:e.dateRange?e.dateRange[0]:void 0,endDate:e.dateRange?e.dateRange[1]:void 0};return Object.keys(s).forEach(o=>s[o]===void 0&&delete s[o]),await r.get(`projects/${this.projectId}/tasks`,s)}async getTasksStatistics(){return await r.get(`projects/${this.projectId}/tasks/statistics`)}async getStageTasks(t){const e={stageId:t,offset:"0",limit:"1000"};return await r.get(`projects/${this.projectId}/tasks`,e)}async getSentStageTasks(t){const e={sourceStageId:t,offset:"0",limit:"1000"};return await r.get(`projects/${this.projectId}/tasks`,e)}async updateTaskStatus(t,e){throw new Error("Method not implemented.")}async fetchStages(){throw new Error("Method not implemented.")}async fetchStatuses(){throw new Error("Method not implemented.")}async clearAllTasks(){throw new Error("Method not implemented.")}}export{y as L,h as R};
2
+ //# sourceMappingURL=repository.88fdba21.js.map