abstra 3.23.11__py3-none-any.whl → 3.24.0__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 (268) hide show
  1. abstra/ai.py +2 -0
  2. abstra/cli.py +8 -3
  3. {abstra-3.23.11.dist-info → abstra-3.24.0.dist-info}/METADATA +2 -1
  4. {abstra-3.23.11.dist-info → abstra-3.24.0.dist-info}/RECORD +201 -191
  5. abstra_internals/consts/filepaths.py +1 -1
  6. abstra_internals/contracts_generated.py +5382 -5233
  7. abstra_internals/controllers/ai.py +23 -15
  8. abstra_internals/controllers/git.py +305 -0
  9. abstra_internals/controllers/main.py +10 -6
  10. abstra_internals/entities/forms/template.py +2 -2
  11. abstra_internals/environment.py +6 -0
  12. abstra_internals/interface/cli/deploy.py +1 -1
  13. abstra_internals/interface/sdk/ai.py +157 -19
  14. abstra_internals/repositories/git/__init__.py +38 -0
  15. abstra_internals/repositories/git/dulwich.py +1353 -0
  16. abstra_internals/repositories/git/git_test.py +1572 -0
  17. abstra_internals/repositories/git/native.py +578 -0
  18. abstra_internals/repositories/git/types.py +267 -0
  19. abstra_internals/repositories/linter/rules/env_in_bundle.py +5 -5
  20. abstra_internals/repositories/linter/rules/env_in_bundle_test.py +6 -6
  21. abstra_internals/repositories/linter/rules/venv_in_bundle.py +9 -16
  22. abstra_internals/server/blueprints/editor.py +4 -0
  23. abstra_internals/server/routes/ai.py +1 -18
  24. abstra_internals/server/routes/git.py +190 -0
  25. abstra_internals/server/routes/workspace.py +1 -1
  26. abstra_internals/services/file_watcher.py +32 -13
  27. abstra_internals/services/fs.py +8 -5
  28. abstra_internals/services/fs_test.py +4 -6
  29. abstra_internals/templates/__init__.py +0 -11
  30. abstra_statics/dist/assets/AbstraButton.vue_vue_type_script_setup_true_lang.eb8ccb64.js +2 -0
  31. abstra_statics/dist/assets/AbstraLogo.vue_vue_type_script_setup_true_lang.9f98292e.js +2 -0
  32. abstra_statics/dist/assets/ApiKeys.e975c4f3.js +2 -0
  33. abstra_statics/dist/assets/App.f62faff6.js +2 -0
  34. abstra_statics/dist/assets/App.vue_vue_type_style_index_0_lang.5aa45ac1.js +2 -0
  35. abstra_statics/dist/assets/BaseLayout.1ec2c96d.js +2 -0
  36. abstra_statics/dist/assets/Billing.60adc9fa.js +2 -0
  37. abstra_statics/dist/assets/{Breadcrumb.f11a16d0.js → Breadcrumb.26dec5f7.js} +2 -2
  38. abstra_statics/dist/assets/{Builds.2bf5dad8.js → Builds.f86210bc.js} +2 -2
  39. abstra_statics/dist/assets/{Card.6caecaa4.js → Card.6cfffb80.js} +2 -2
  40. abstra_statics/dist/assets/{CircularLoading.bc88c029.js → CircularLoading.a13d6a76.js} +2 -2
  41. abstra_statics/dist/assets/CloseCircleOutlined.30bc25a8.js +2 -0
  42. abstra_statics/dist/assets/{ConnectorsView.aeb00ce8.css → ConnectorsView.33c5380f.css} +1 -1
  43. abstra_statics/dist/assets/ConnectorsView.eb4c769f.js +2 -0
  44. abstra_statics/dist/assets/ConsoleOmniChat.vue_vue_type_script_setup_true_lang.8d2e4672.js +2 -0
  45. abstra_statics/dist/assets/ContentLayout.d03fee5b.js +2 -0
  46. abstra_statics/dist/assets/{CrudView.79588134.js → CrudView.c0824225.js} +2 -2
  47. abstra_statics/dist/assets/{DocsButton.vue_vue_type_script_setup_true_lang.6566ff97.js → DocsButton.vue_vue_type_script_setup_true_lang.3668aee4.js} +2 -2
  48. abstra_statics/dist/assets/{EditorLogin.e704b2ee.js → EditorLogin.46db248f.js} +2 -2
  49. abstra_statics/dist/assets/EditorsView.e72621fa.js +2 -0
  50. abstra_statics/dist/assets/EnvVars.f9f9d61f.js +2 -0
  51. abstra_statics/dist/assets/{Error.f378696f.js → Error.864f05b3.js} +2 -2
  52. abstra_statics/dist/assets/ExclamationCircleOutlined.a489b996.js +2 -0
  53. abstra_statics/dist/assets/{Files.06a52abd.js → Files.afe615e1.js} +2 -2
  54. abstra_statics/dist/assets/Form.556d0de2.js +2 -0
  55. abstra_statics/dist/assets/{FormRunner.2b75fd4d.js → FormRunner.7f56a8c6.js} +2 -2
  56. abstra_statics/dist/assets/Home.287d17f8.js +2 -0
  57. abstra_statics/dist/assets/Home.5b7e9c23.js +2 -0
  58. abstra_statics/dist/assets/{Live.08670b33.js → Live.50bacfea.js} +2 -2
  59. abstra_statics/dist/assets/LoadingContainer.ebace8de.js +2 -0
  60. abstra_statics/dist/assets/{LoadingOutlined.659d6aae.js → LoadingOutlined.9e949112.js} +2 -2
  61. abstra_statics/dist/assets/{Login.8491c4b7.js → Login.536a3067.js} +2 -2
  62. abstra_statics/dist/assets/Login.bec408c9.js +2 -0
  63. abstra_statics/dist/assets/{Login.vue_vue_type_script_setup_true_lang.eb94ecc3.js → Login.vue_vue_type_script_setup_true_lang.1c3f108d.js} +2 -2
  64. abstra_statics/dist/assets/{Logo.a32d36e7.js → Logo.82d6ab70.js} +2 -2
  65. abstra_statics/dist/assets/{Logs.030c8a19.js → Logs.f6135084.js} +2 -2
  66. abstra_statics/dist/assets/{LogsController.7e2c0c7a.js → LogsController.6b666816.js} +2 -2
  67. abstra_statics/dist/assets/Main.77b115f8.js +2 -0
  68. abstra_statics/dist/assets/{MockForm.8b56fd25.js → MockForm.deda9355.js} +2 -2
  69. abstra_statics/dist/assets/Navbar.4a6f2b09.js +2 -0
  70. abstra_statics/dist/assets/NewEditor.5f84de86.css +1 -0
  71. abstra_statics/dist/assets/NewEditor.e558e47d.js +8 -0
  72. abstra_statics/dist/assets/OidcLoginCallback.7f514b45.js +2 -0
  73. abstra_statics/dist/assets/OidcLogoutCallback.038813a1.js +2 -0
  74. abstra_statics/dist/assets/OmniChat.05ba8d8a.css +1 -0
  75. abstra_statics/dist/assets/OmniChat.60d98deb.js +6 -0
  76. abstra_statics/dist/assets/{OnboardingView.262e82cc.js → OnboardingView.9413ee50.js} +2 -2
  77. abstra_statics/dist/assets/{Organization.4f3ccb55.js → Organization.7203cc0b.js} +2 -2
  78. abstra_statics/dist/assets/Organizations.91220ca0.js +2 -0
  79. abstra_statics/dist/assets/{PhArrowCounterClockwise.vue.a1a917b9.js → PhArrowCounterClockwise.vue.8090d021.js} +2 -2
  80. abstra_statics/dist/assets/{PhArrowSquareOut.vue.eb4455ba.js → PhArrowSquareOut.vue.26582195.js} +2 -2
  81. abstra_statics/dist/assets/{PhBookBookmark.vue.7bb66888.js → PhBookBookmark.vue.5b7ab079.js} +2 -2
  82. abstra_statics/dist/assets/{PhChats.vue.88d84608.js → PhChats.vue.b5df7174.js} +2 -2
  83. abstra_statics/dist/assets/{PhClockCounterClockwise.vue.02d85ea5.js → PhClockCounterClockwise.vue.812311ad.js} +2 -2
  84. abstra_statics/dist/assets/{PhCopy.vue.5664181e.js → PhCopy.vue.59b0f1b4.js} +2 -2
  85. abstra_statics/dist/assets/{PhCopySimple.vue.beb69d1f.js → PhCopySimple.vue.d41d9160.js} +2 -2
  86. abstra_statics/dist/assets/{PhCube.vue.8de1132a.js → PhCube.vue.63ae7d32.js} +2 -2
  87. abstra_statics/dist/assets/PhDatabase.vue.edfcb96b.js +2 -0
  88. abstra_statics/dist/assets/{PhDotsThreeVertical.vue.9e306480.js → PhDotsThreeVertical.vue.ab4580a5.js} +2 -2
  89. abstra_statics/dist/assets/PhDownloadSimple.vue.c2eaaad1.js +2 -0
  90. abstra_statics/dist/assets/{PhFolderPlus.vue.658105d4.js → PhFolderPlus.vue.05ba4a5c.js} +2 -2
  91. abstra_statics/dist/assets/{PhGear.vue.68bce043.js → PhGear.vue.0e4a6135.js} +2 -2
  92. abstra_statics/dist/assets/{PhKey.vue.3f5192b6.js → PhKey.vue.b2c184d1.js} +2 -2
  93. abstra_statics/dist/assets/{PhPencil.vue.ee28fb6e.js → PhPencil.vue.2f2fe576.js} +2 -2
  94. abstra_statics/dist/assets/{PhPencilSimple.vue.148807f6.js → PhPencilSimple.vue.cc8620ae.js} +2 -2
  95. abstra_statics/dist/assets/{PhRocket.vue.7ba12859.js → PhRocket.vue.e397203c.js} +2 -2
  96. abstra_statics/dist/assets/{PhSignOut.vue.aa78b6eb.js → PhSignOut.vue.a271f14b.js} +2 -2
  97. abstra_statics/dist/assets/{PhSparkle.vue.7820be45.js → PhSparkle.vue.726defa2.js} +2 -2
  98. abstra_statics/dist/assets/{PhUserList.vue.04f21cbe.js → PhUserList.vue.6a29f16d.js} +2 -2
  99. abstra_statics/dist/assets/{PhUsersThree.vue.8b11b97d.js → PhUsersThree.vue.275d13ab.js} +2 -2
  100. abstra_statics/dist/assets/PhWarningCircle.vue.3b1aca1b.js +2 -0
  101. abstra_statics/dist/assets/{PhWebhooksLogo.vue.9e20d559.js → PhWebhooksLogo.vue.5e772aac.js} +2 -2
  102. abstra_statics/dist/assets/{PlayerConfigProvider.0915b29f.js → PlayerConfigProvider.e90a2b41.js} +2 -2
  103. abstra_statics/dist/assets/{PlayerNavbar.78cf73f2.js → PlayerNavbar.11ec1844.js} +2 -2
  104. abstra_statics/dist/assets/Project.c16740fb.js +2 -0
  105. abstra_statics/dist/assets/ProjectLogin.e7a6f444.js +2 -0
  106. abstra_statics/dist/assets/{ProjectSettings.f9bf9124.js → ProjectSettings.52c19693.js} +2 -2
  107. abstra_statics/dist/assets/{ProjectsView.407ea382.js → ProjectsView.22fa7a8e.js} +2 -2
  108. abstra_statics/dist/assets/{SaveButton.e70cd09e.js → SaveButton.719393d2.js} +2 -2
  109. abstra_statics/dist/assets/{ScrollArea.vue_vue_type_script_setup_true_lang.cf352882.js → ScrollArea.vue_vue_type_script_setup_true_lang.d4028954.js} +2 -2
  110. abstra_statics/dist/assets/{Sidebar.e69f49bd.css → Sidebar.29baeab0.css} +1 -1
  111. abstra_statics/dist/assets/{Sidebar.ce129494.js → Sidebar.5cb8e04e.js} +2 -2
  112. abstra_statics/dist/assets/Sql.23d80bad.js +5 -0
  113. abstra_statics/dist/assets/Sql.90e6e2ba.css +1 -0
  114. abstra_statics/dist/assets/Steps.8e5d201a.js +2 -0
  115. abstra_statics/dist/assets/TableCard.529112b9.css +1 -0
  116. abstra_statics/dist/assets/TableCard.59f95f8f.js +2 -0
  117. abstra_statics/dist/assets/TableEditor.5853a363.css +1 -0
  118. abstra_statics/dist/assets/TableEditor.8539f984.js +2 -0
  119. abstra_statics/dist/assets/Tables.44d953f7.js +2 -0
  120. abstra_statics/dist/assets/TablesDiagram.8e47383c.js +15 -0
  121. abstra_statics/dist/assets/TablesDiagram.a588e7ff.css +1 -0
  122. abstra_statics/dist/assets/TablesTabs.vue_vue_type_script_setup_true_lang.6866fb32.js +2 -0
  123. abstra_statics/dist/assets/{Tasks.c9ba3095.js → Tasks.09551b19.js} +2 -2
  124. abstra_statics/dist/assets/{UploadOutlined.c563b054.js → UploadOutlined.eab75eb0.js} +2 -2
  125. abstra_statics/dist/assets/View.5fd7ddf0.js +2 -0
  126. abstra_statics/dist/assets/{View.vue_vue_type_script_setup_true_lang.a00f21c8.js → View.vue_vue_type_script_setup_true_lang.a904f400.js} +2 -2
  127. abstra_statics/dist/assets/{Watermark.c71c105b.js → Watermark.ab3d818f.js} +2 -2
  128. abstra_statics/dist/assets/WebEditor.d6ec6392.js +2 -0
  129. abstra_statics/dist/assets/{WidgetPreview.8bd406f7.js → WidgetPreview.86b31dec.js} +2 -2
  130. abstra_statics/dist/assets/{ant-design.06b818ab.js → ant-design.a865486e.js} +2 -2
  131. abstra_statics/dist/assets/apiKey.72f497ca.js +2 -0
  132. abstra_statics/dist/assets/{asyncComputed.bfb7341c.js → asyncComputed.cf5282fc.js} +2 -2
  133. abstra_statics/dist/assets/{build.aef51d48.js → build.df2d55cc.js} +2 -2
  134. abstra_statics/dist/assets/colorHelpers.37d9932b.js +2 -0
  135. abstra_statics/dist/assets/console.2bf7f04d.js +17 -0
  136. abstra_statics/dist/assets/{constants.b75d9567.js → constants.7d38ec8b.js} +2 -2
  137. abstra_statics/dist/assets/contracts.generated.590b1102.js +2 -0
  138. abstra_statics/dist/assets/{cssMode.0aa24dcd.js → cssMode.7133c7cb.js} +2 -2
  139. abstra_statics/dist/assets/{datetime.46141396.js → datetime.8de2ff28.js} +2 -2
  140. abstra_statics/dist/assets/dayjs.f18bbbca.js +2 -0
  141. abstra_statics/dist/assets/editor.3a4714e3.js +2 -0
  142. abstra_statics/dist/assets/editor.main.9c635b9a.js +2 -0
  143. abstra_statics/dist/assets/fetch.89fd5b7b.js +2 -0
  144. abstra_statics/dist/assets/{folder.fe6adcd2.js → folder.d8e23009.js} +2 -2
  145. abstra_statics/dist/assets/{freemarker2.8bd96640.js → freemarker2.6698d1ea.js} +2 -2
  146. abstra_statics/dist/assets/{handlebars.e5dd9b19.js → handlebars.a6c42dc0.js} +2 -2
  147. abstra_statics/dist/assets/{html.7bcef916.js → html.493a5410.js} +2 -2
  148. abstra_statics/dist/assets/{htmlMode.ce91c230.js → htmlMode.a28b2fca.js} +2 -2
  149. abstra_statics/dist/assets/{index.fe015dd3.js → index.2af3391c.js} +2 -2
  150. abstra_statics/dist/assets/{index.57a61691.js → index.4176fe88.js} +2 -2
  151. abstra_statics/dist/assets/{index.16664500.js → index.4d20c159.js} +2 -2
  152. abstra_statics/dist/assets/{index.ee218f7a.js → index.5d6b1e62.js} +2 -2
  153. abstra_statics/dist/assets/{index.06cad1f2.js → index.79ce3bf1.js} +2 -2
  154. abstra_statics/dist/assets/{index.161ccee5.js → index.c34a405a.js} +2 -2
  155. abstra_statics/dist/assets/index.fb182bd1.js +2 -0
  156. abstra_statics/dist/assets/{index.005bab7f.js → index.fb49354b.js} +2 -2
  157. abstra_statics/dist/assets/{javascript.4d5c0a37.js → javascript.3a36cf17.js} +2 -2
  158. abstra_statics/dist/assets/{jsonMode.0942a255.js → jsonMode.bead6ac8.js} +2 -2
  159. abstra_statics/dist/assets/{jwt-decode.esm.e1e8e181.js → jwt-decode.esm.d4517a10.js} +8 -8
  160. abstra_statics/dist/assets/{linters.39cc198f.js → linters.2f3141cb.js} +2 -2
  161. abstra_statics/dist/assets/{liquid.884b015e.js → liquid.0c337fae.js} +3 -3
  162. abstra_statics/dist/assets/member.48d6f2cd.js +2 -0
  163. abstra_statics/dist/assets/{metadata.034775c8.js → metadata.c3aed6e1.js} +2 -2
  164. abstra_statics/dist/assets/omniChatStore.c53bcca2.js +8 -0
  165. abstra_statics/dist/assets/{organization.a29009bc.js → organization.928c9bef.js} +2 -2
  166. abstra_statics/dist/assets/player.d3aeafc5.js +2 -0
  167. abstra_statics/dist/assets/{plotly.min.df1e817c.js → plotly.min.7225d3a0.js} +2 -2
  168. abstra_statics/dist/assets/{polling.84bf96db.js → polling.82ee6b45.js} +2 -2
  169. abstra_statics/dist/assets/{project.a9ad86e9.js → project.619b7244.js} +2 -2
  170. abstra_statics/dist/assets/{python.17c791bf.js → python.05764499.js} +3 -3
  171. abstra_statics/dist/assets/{razor.4b071c3b.js → razor.81a45581.js} +2 -2
  172. abstra_statics/dist/assets/record.7f43486c.js +2 -0
  173. abstra_statics/dist/assets/{redirect.cd158e43.js → redirect.f028a879.js} +2 -2
  174. abstra_statics/dist/assets/repository.9534db4b.js +2 -0
  175. abstra_statics/dist/assets/repository.c15239ce.js +2 -0
  176. abstra_statics/dist/assets/router.262190ec.js +2 -0
  177. abstra_statics/dist/assets/router.424f7da9.js +18 -0
  178. abstra_statics/dist/assets/string.0acf5572.js +2 -0
  179. abstra_statics/dist/assets/{tables.928d4c4a.js → tables.1f68ec62.js} +2 -2
  180. abstra_statics/dist/assets/{tasksController.95334db5.js → tasksController.371896de.js} +2 -2
  181. abstra_statics/dist/assets/{toggleHighContrast.67a76682.js → toggleHighContrast.0d0e5662.js} +7 -7
  182. abstra_statics/dist/assets/{tsMode.bd4befb2.js → tsMode.6eadbf06.js} +2 -2
  183. abstra_statics/dist/assets/{typescript.b5722de7.js → typescript.1670e287.js} +2 -2
  184. abstra_statics/dist/assets/url.e8732f77.js +2 -0
  185. abstra_statics/dist/assets/{useCodebaseEvents.47e4fcfe.js → useCodebaseEvents.53dec1f2.js} +2 -2
  186. abstra_statics/dist/assets/useTables.4f034cf8.js +2 -0
  187. abstra_statics/dist/assets/userStore.31024da3.js +2 -0
  188. abstra_statics/dist/assets/uuid.bde15ce7.js +2 -0
  189. abstra_statics/dist/assets/vue-flow-background.818c7852.js +2 -0
  190. abstra_statics/dist/assets/vue-flow-core.1180ec83.js +22 -0
  191. abstra_statics/dist/assets/{vue-quill.esm-bundler.d6a7c536.js → vue-quill.esm-bundler.c4f04985.js} +2 -2
  192. abstra_statics/dist/assets/{workspaceStore.cca10750.js → workspaceStore.6244d03d.js} +2 -2
  193. abstra_statics/dist/assets/{xml.0a62ffce.js → xml.f2867af8.js} +3 -3
  194. abstra_statics/dist/assets/{yaml.1efc213f.js → yaml.5427bb1b.js} +3 -3
  195. abstra_statics/dist/console.html +14 -15
  196. abstra_statics/dist/editor.html +13 -13
  197. abstra_statics/dist/player.html +9 -9
  198. tests/e2e/test_crud_files.py +1 -0
  199. abstra_internals/templates/abstraignore +0 -8
  200. abstra_statics/dist/assets/AbstraButton.vue_vue_type_script_setup_true_lang.3fce0fbb.js +0 -2
  201. abstra_statics/dist/assets/AbstraLogo.vue_vue_type_script_setup_true_lang.4fb1f88a.js +0 -2
  202. abstra_statics/dist/assets/ApiKeys.56b97ced.js +0 -2
  203. abstra_statics/dist/assets/App.bd5ec032.js +0 -2
  204. abstra_statics/dist/assets/App.vue_vue_type_style_index_0_lang.79524273.js +0 -2
  205. abstra_statics/dist/assets/BaseLayout.ac22ef55.js +0 -2
  206. abstra_statics/dist/assets/Billing.2c39d133.js +0 -2
  207. abstra_statics/dist/assets/CloseCircleOutlined.12f63f77.js +0 -2
  208. abstra_statics/dist/assets/ConnectorsView.97a8c63b.js +0 -2
  209. abstra_statics/dist/assets/ConsoleOmniChat.vue_vue_type_script_setup_true_lang.48b29302.js +0 -2
  210. abstra_statics/dist/assets/ContentLayout.072b3790.js +0 -2
  211. abstra_statics/dist/assets/EditorsView.987a7eda.js +0 -2
  212. abstra_statics/dist/assets/EnvVars.c5e84d82.js +0 -2
  213. abstra_statics/dist/assets/ExclamationCircleOutlined.f9a25080.js +0 -2
  214. abstra_statics/dist/assets/Form.4633ab8e.js +0 -2
  215. abstra_statics/dist/assets/Home.a883da25.js +0 -2
  216. abstra_statics/dist/assets/Home.d122da63.js +0 -2
  217. abstra_statics/dist/assets/LoadingContainer.b11f052c.js +0 -2
  218. abstra_statics/dist/assets/Login.84d39327.js +0 -2
  219. abstra_statics/dist/assets/Main.70db8614.js +0 -2
  220. abstra_statics/dist/assets/Navbar.6acd9007.js +0 -2
  221. abstra_statics/dist/assets/NewEditor.15e29eac.js +0 -8
  222. abstra_statics/dist/assets/NewEditor.6dd8f03b.css +0 -1
  223. abstra_statics/dist/assets/OidcLoginCallback.b65a6f9f.js +0 -2
  224. abstra_statics/dist/assets/OidcLogoutCallback.dabd09cf.js +0 -2
  225. abstra_statics/dist/assets/OmniChat.078af315.css +0 -1
  226. abstra_statics/dist/assets/OmniChat.6ed96f8e.js +0 -6
  227. abstra_statics/dist/assets/Organizations.d90dd629.js +0 -2
  228. abstra_statics/dist/assets/PhDownloadSimple.vue.6192bb0e.js +0 -2
  229. abstra_statics/dist/assets/PhPencilSimpleLine.vue.af76e884.js +0 -2
  230. abstra_statics/dist/assets/Project.34c75b7c.js +0 -2
  231. abstra_statics/dist/assets/ProjectLogin.9b8cb3d1.js +0 -2
  232. abstra_statics/dist/assets/Sql.3cdc910a.css +0 -1
  233. abstra_statics/dist/assets/Sql.4e31662a.js +0 -5
  234. abstra_statics/dist/assets/Steps.4c850501.js +0 -2
  235. abstra_statics/dist/assets/TableEditor.1e680eaf.css +0 -1
  236. abstra_statics/dist/assets/TableEditor.e7371677.js +0 -2
  237. abstra_statics/dist/assets/Tables.f2c23e20.js +0 -2
  238. abstra_statics/dist/assets/TablesDiagram.1ec45dd9.css +0 -1
  239. abstra_statics/dist/assets/TablesDiagram.8297ec4b.js +0 -15
  240. abstra_statics/dist/assets/TablesTabs.vue_vue_type_script_setup_true_lang.ec94f9e7.js +0 -2
  241. abstra_statics/dist/assets/View.4c3c38ba.js +0 -2
  242. abstra_statics/dist/assets/WebEditor.4ef39590.js +0 -2
  243. abstra_statics/dist/assets/apiKey.e3aa9e16.js +0 -2
  244. abstra_statics/dist/assets/colorHelpers.e94da383.js +0 -2
  245. abstra_statics/dist/assets/console.86947afb.js +0 -25
  246. abstra_statics/dist/assets/contracts.generated.7508e893.js +0 -2
  247. abstra_statics/dist/assets/dayjs.b4dc8227.js +0 -2
  248. abstra_statics/dist/assets/editor.4f4b7594.js +0 -2
  249. abstra_statics/dist/assets/editor.main.340c0a2d.js +0 -2
  250. abstra_statics/dist/assets/fetch.cfa094a0.js +0 -2
  251. abstra_statics/dist/assets/index.a884598f.js +0 -2
  252. abstra_statics/dist/assets/index.eb8f01b7.js +0 -2
  253. abstra_statics/dist/assets/member.af05829c.js +0 -2
  254. abstra_statics/dist/assets/omniChatStore.19fcae1a.js +0 -8
  255. abstra_statics/dist/assets/player.b9e54e21.js +0 -2
  256. abstra_statics/dist/assets/record.06867f70.js +0 -2
  257. abstra_statics/dist/assets/repository.40cf87c6.js +0 -2
  258. abstra_statics/dist/assets/repository.ecf19994.js +0 -2
  259. abstra_statics/dist/assets/router.8ccbba96.js +0 -10
  260. abstra_statics/dist/assets/router.c00c99d7.js +0 -2
  261. abstra_statics/dist/assets/string.ea3b2597.js +0 -2
  262. abstra_statics/dist/assets/url.62ce842c.js +0 -2
  263. abstra_statics/dist/assets/userStore.51f1e2d0.js +0 -2
  264. abstra_statics/dist/assets/uuid.f4308f15.js +0 -2
  265. abstra_statics/dist/assets/vue-flow-background.03bf6b4b.js +0 -22
  266. {abstra-3.23.11.dist-info → abstra-3.24.0.dist-info}/WHEEL +0 -0
  267. {abstra-3.23.11.dist-info → abstra-3.24.0.dist-info}/entry_points.txt +0 -0
  268. {abstra-3.23.11.dist-info → abstra-3.24.0.dist-info}/top_level.txt +0 -0
@@ -1,2 +1,2 @@
1
- import"./jwt-decode.esm.e1e8e181.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]="c8683524-f564-4adb-beaf-8e59302e8780",t._sentryDebugIdIdentifier="sentry-dbid-c8683524-f564-4adb-beaf-8e59302e8780")}catch{}})();const s={HOMEPAGE:{}.VITE_HOMEPAGE_URL||"https://abstra.io",DOCS:{}.VITE_DOCS_URL||"https://abstra.io/docs",CLOUD:{}.VITE_CONSOLE_URL||"https://cloud.abstra.io",GITHUB:{}.VITE_GITHUB_URL||"https://github.com/abstra-app/abstra-lib"},n=t=>{if(!t)return s.DOCS;const e=t.startsWith("/")?t.slice(1):t;return`${s.DOCS}/${e}`};export{s as A,n as b};
2
- //# sourceMappingURL=constants.b75d9567.js.map
1
+ import"./jwt-decode.esm.d4517a10.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]="166de6e4-b564-4d40-8c27-ec1fb3dffe29",t._sentryDebugIdIdentifier="sentry-dbid-166de6e4-b564-4d40-8c27-ec1fb3dffe29")}catch{}})();const s={HOMEPAGE:{}.VITE_HOMEPAGE_URL||"https://abstra.io",DOCS:{}.VITE_DOCS_URL||"https://abstra.io/docs",CLOUD:{}.VITE_CONSOLE_URL||"https://cloud.abstra.io",GITHUB:{}.VITE_GITHUB_URL||"https://github.com/abstra-app/abstra-lib"},n=t=>{if(!t)return s.DOCS;const e=t.startsWith("/")?t.slice(1):t;return`${s.DOCS}/${e}`};export{s as A,n as b};
2
+ //# sourceMappingURL=constants.7d38ec8b.js.map
@@ -0,0 +1,2 @@
1
+ import{L as o}from"./jwt-decode.esm.d4517a10.js";(function(){try{var n=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},l=new Error().stack;l&&(n._sentryDebugIds=n._sentryDebugIds||{},n._sentryDebugIds[l]="832d7cda-d4c7-46f8-a326-93ebd557c773",n._sentryDebugIdIdentifier="sentry-dbid-832d7cda-d4c7-46f8-a326-93ebd557c773")}catch{}})();const J=o.string(),D=o.array(J),I=o.number(),R=o.string().datetime({local:!0}),y=o.enum(["file","directory"]),T=o.string(),F=o.array(T),E=o.array(F).default([]),S=o.object({pathParts:D,size:I,lastModified:R,type:y,children:E.optional()}),L=o.boolean(),k=o.boolean(),G=o.boolean(),j=o.boolean(),P=o.boolean(),N=o.boolean();o.object({PROJECT_LIVE:L.optional(),ALLOW_RELEASE:k.optional(),CONNECTORS_CONSOLE:G.optional(),DUPLICATE_PROJECTS:j.optional(),WEB_EDITOR:P.optional(),LANGCHAIN_SMART_CHAT:N.optional()});const _=o.string(),W=o.string(),w=o.string(),M=o.string(),x=o.string();o.object({plan:_.optional(),expires:W.optional(),message:w.optional(),messageLink:M.optional(),messageCTA:x.optional()});const O=o.string(),A=o.string(),m=o.string(),H=o.string(),v=o.string(),q=o.object({id:O,name:A,description:m.optional(),projectId:H,createdAt:v}),U=o.string(),B=o.string(),z=o.string(),K=o.string(),$=o.string(),Q=o.enum(["true","false"]),X=o.enum(["true","false"]),Y=o.enum(["true","false"]),Z=o.string().regex(new RegExp("^[0-9]+m$")),oo=o.string().regex(new RegExp("^[0-9]+m$")),to=o.string().regex(new RegExp("^[0-9]+Mi$")),no=o.string().regex(new RegExp("^[0-9]+Mi$")),eo=o.string().regex(new RegExp("^[0-9]+$")),so=o.number(),ao=o.string().regex(new RegExp("^[0-9]+$")),io=o.string(),mo=o.enum(["3.9","3.10","3.11","3.12"]),co=o.string(),ro=o.string(),lo=o.object({watermarkEnabled:Q.optional(),seleniumInstanceEnabled:X.optional(),notificationsEnabled:Y.optional(),requestsCPU:Z.optional(),limitsCPU:oo.optional(),requestsMemory:to.optional(),limitsMemory:no.optional(),minReplicas:eo.optional(),computeUnits:so.optional(),timeoutSeconds:ao.optional(),workerType:io.optional(),pythonVersion:mo.optional(),workerNumber:co.optional(),baseDockerfile:ro.optional()});o.object({id:U,folderId:B,name:z,subdomain:K,organizationId:$,deploymentResources:lo.optional()});const So=o.string(),Ao=o.string(),bo=o.string();o.object({name:So,connectionType:Ao,projectId:bo});const Co=o.string(),go=o.string(),b=o.array(go),C=o.string(),ho=o.string();o.object({id:Co,emailPatterns:b,projectId:C,createdAt:ho});const uo=o.string(),po=o.string(),Vo=o.string(),fo=o.string(),Jo=o.object({key:uo,label:po,description:Vo,logoUrl:fo}),Do=o.literal("tokens"),Io=o.string(),Ro=o.string(),yo=o.string(),To=o.string(),Fo=o.enum(["small-string","large-text","file","radiobox","checkbox"]),Eo=o.string(),Lo=o.string(),ko=o.object({value:Eo,label:Lo}),Go=o.array(ko),jo=o.number(),Po=o.number(),No=o.object({type:Fo,options:Go.optional(),maxSize:jo.optional(),minSize:Po.optional()}),_o=o.object({key:Io,label:Ro,description:yo,instructions:To.optional(),input:No}),c=o.array(_o),Wo=c,wo=o.object({type:Do,tokens:Wo}),Mo=o.literal("oauth2"),xo=o.string(),Oo=o.string(),Ho=o.string(),vo=o.object({key:xo,label:Oo,description:Ho}),qo=o.array(vo),Uo=c,Bo=o.object({type:Mo,scopes:qo,params:Uo}),zo=o.literal("manual"),Ko=o.object({type:zo}),$o=o.literal("ecdsa"),Qo=c,Xo=o.object({type:$o,params:Qo}),Yo=o.union([wo,Bo,Ko,Xo]),Zo=o.string(),ot=o.string(),tt=o.string(),nt=o.record(o.any()),et=o.record(o.any()),st=o.object({key:Zo,label:ot,description:tt,payloadSchema:nt,returnSchema:et}),at=o.array(st),it=o.string(),mt=o.string(),ct=o.record(o.any()),rt=o.object({name:it,description:mt,payloadSchema:ct.optional()}),lt=o.array(rt);o.object({metadata:Jo,auth:Yo,actions:at,triggers:lt});const St=o.enum(["bigint","int8","bigserial","serial8","bit","bit varying","varbit","boolean","bool","box","bytea","character","char","character varying","varchar","cidr","circle","date","double precision","float8","inet","integer","int","int4","interval","json","jsonb","line","lseg","macaddr","money","numeric","decimal","path","pg_lsn","point","polygon","real","float4","smallint","int2","smallserial","serial2","serial","serial4","text","time","time with time zone","timetz","timestamp","timestamp with time zone","timestamptz","tsquery","tsvector","txid_snapshot","uuid","xml"]),At=o.string(),e=o.string().email(),bt=o.string(),r=o.array(bt),Ct=o.string(),gt=o.string(),ht=o.object({id:At,email:e,roles:r,projectId:Ct,createdAt:gt}),ut=o.string().uuid(),pt=o.string(),dt=o.string().uuid(),Vt=o.boolean(),ft=o.string(),Jt=St,Dt=o.boolean(),It=o.boolean(),Rt=o.string(),yt=o.string(),Tt=o.object({columnId:yt}),Ft=o.object({id:dt,primaryKey:Vt,name:ft,type:Jt,unique:Dt.optional(),nullable:It.optional(),default:Rt.optional(),foreignKey:Tt.optional()}),Et=o.array(Ft),Lt=o.record(o.any()),kt=o.array(Lt),Gt=o.object({id:ut,name:pt,columns:Et,data:kt}),jt=o.array(Gt);o.object({tables:jt});const g=o.string(),h=o.string(),Pt=o.boolean(),Nt=o.boolean(),_t=o.boolean(),Wt=o.boolean(),wt=o.boolean(),Mt=o.boolean(),u=o.object({PROJECT_LIVE:Pt,ALLOW_RELEASE:Nt,CONNECTORS_CONSOLE:_t,DUPLICATE_PROJECTS:Wt,WEB_EDITOR:wt.optional(),LANGCHAIN_SMART_CHAT:Mt.optional()}),xt=o.string(),Ot=o.string(),Ht=o.string(),vt=o.string(),qt=o.string(),p=o.object({plan:xt.optional(),expires:Ot.optional(),message:Ht.optional(),messageLink:vt.optional(),messageCTA:qt.optional()}),Ut=o.enum(["true","false"]),Bt=o.enum(["true","false"]),zt=o.enum(["true","false"]),Kt=o.string().regex(new RegExp("^[0-9]+m$")),$t=o.string().regex(new RegExp("^[0-9]+m$")),Qt=o.string().regex(new RegExp("^[0-9]+Mi$")),Xt=o.string().regex(new RegExp("^[0-9]+Mi$")),Yt=o.string().regex(new RegExp("^[0-9]+$")),Zt=o.number(),on=o.string().regex(new RegExp("^[0-9]+$")),tn=o.string(),nn=o.enum(["3.9","3.10","3.11","3.12"]),en=o.string(),sn=o.string(),an=o.object({watermarkEnabled:Ut.optional(),nativeTempDir:Bt.optional(),notificationsEnabled:zt.optional(),requestsCPU:Kt.optional(),limitsCPU:$t.optional(),requestsMemory:Qt.optional(),limitsMemory:Xt.optional(),minReplicas:Yt.optional(),computeUnits:Zt.optional(),timeoutSeconds:on.optional(),workerType:tn.optional(),pythonVersion:nn.optional(),workerNumber:en.optional(),baseDockerfile:sn.optional()}),mn=o.string(),cn=o.array(mn),rn=o.object({whitelistPatterns:cn.optional()});o.object({id:g,name:h,featureFlags:u,billingMetadata:p,deploymentResources:an.optional(),membershipsMetadata:rn.optional()});const ln=o.string(),Sn=o.array(ln);o.object({whitelistPatterns:Sn.optional()});const An=o.string(),bn=o.string(),Cn=o.string(),gn=o.null(),hn=o.union([Cn,gn]),un=o.string(),pn=o.null(),dn=o.union([un,pn]),Vn=o.string(),fn=o.null(),Jn=o.union([Vn,fn]),Dn=o.string(),In=o.null(),Rn=o.union([Dn,In]),yn=o.string(),Tn=o.null(),Fn=o.union([yn,Tn]),En=o.string(),Ln=o.null(),kn=o.union([En,Ln]),Gn=o.string(),jn=o.null(),Pn=o.union([Gn,jn]),Nn=o.object({name:An,language:bn,theme:hn,logo_url:dn,favicon_url:Jn,brand_name:Rn,main_color:Fn,font_family:kn,font_color:Pn}),_n=o.boolean(),Wn=o.string(),wn=o.array(Wn),Mn=o.object({is_public:_n,required_roles:wn}),xn=o.object({access_control:Mn}),On=o.string(),Hn=o.string(),vn=o.string(),qn=o.string(),Un=o.string(),Bn=o.string(),zn=o.string(),Kn=o.null(),$n=o.union([zn,Kn]),s=o.object({id:vn,target_id:qn,target_type:Un,type:Bn,task_type:$n.optional()}),Qn=s,Xn=o.array(Qn),Yn=o.string(),Zn=o.number(),oe=o.array(Zn),te=o.string(),ne=o.object({file:On,title:Hn,transitions:Xn,id:Yn,workflow_position:oe,schedule:te}),ee=ne,se=o.array(ee),ae=o.string(),ie=o.string(),me=s,ce=o.array(me),re=o.string(),le=o.number(),Se=o.array(le),Ae=o.boolean(),be=o.boolean(),Ce=o.string(),ge=o.object({file:ae,title:ie,transitions:ce,id:re,workflow_position:Se,enabled:Ae,is_initial:be,path:Ce}),he=ge,ue=o.array(he),pe=o.string(),de=o.string(),Ve=s,fe=o.array(Ve),Je=o.string(),De=o.number(),Ie=o.array(De),Re=o.boolean(),ye=o.string(),Te=o.null(),Fe=o.union([ye,Te]),Ee=o.string(),Le=o.null(),ke=o.union([Ee,Le]),Ge=o.boolean(),je=o.boolean(),Pe=o.string(),Ne=o.null(),_e=o.union([Pe,Ne]),We=o.boolean(),we=o.string(),Me=o.array(we),xe=o.object({is_public:We,required_roles:Me}),Oe=o.string(),He=o.null(),ve=o.union([Oe,He]),qe=o.string(),Ue=o.null(),Be=o.union([qe,Ue]),ze=o.string(),Ke=o.string(),$e=o.null(),Qe=o.union([Ke,$e]),Xe=o.string(),Ye=o.boolean(),Ze=o.object({variable_name:Xe,enabled:Ye}),os=o.string(),ts=o.null(),ns=o.union([os,ts]),es=o.object({file:pe,title:de,transitions:fe,id:Je,workflow_position:Ie,is_initial:Re,restart_button_text:Fe,error_message:ke,auto_start:Ge,allow_restart:je,start_button_text:_e,access_control:xe,timeout_message:ve,end_message:Be,path:ze,start_message:Qe,notification_trigger:Ze,welcome_title:ns}),ss=es,as=o.array(ss),is=o.string(),ms=o.string(),cs=s,rs=o.array(cs),ls=o.string(),Ss=o.number(),As=o.array(Ss),bs=o.boolean(),Cs=o.object({file:is,title:ms,transitions:rs,id:ls,workflow_position:As,is_initial:bs}),gs=Cs,hs=o.array(gs),us=o.literal("15.0");o.object({workspace:Nn,home:xn,jobs:se,hooks:ue,forms:as,scripts:hs,version:us});const ps=o.string(),ds=o.string(),Vs=o.string(),fs=o.null(),Js=o.union([Vs,fs]),Ds=o.string(),Is=o.null(),Rs=o.union([Ds,Is]),ys=o.string(),Ts=o.null(),Fs=o.union([ys,Ts]),Es=o.string(),Ls=o.null(),ks=o.union([Es,Ls]),Gs=o.string(),js=o.null(),Ps=o.union([Gs,js]),Ns=o.string(),_s=o.null(),Ws=o.union([Ns,_s]),ws=o.string(),Ms=o.null(),xs=o.union([ws,Ms]),Os=o.object({name:ps,language:ds,theme:Js,logo_url:Rs,favicon_url:Fs,brand_name:ks,main_color:Ps,font_family:Ws,font_color:xs}),Hs=o.boolean(),vs=o.string(),qs=o.array(vs),Us=o.object({is_public:Hs,required_roles:qs}),Bs=o.object({access_control:Us}),zs=o.string(),Ks=o.string(),$s=o.string(),Qs=o.string(),Xs=o.string(),Ys=o.literal("task"),Zs=o.string(),oa=o.null(),ta=o.union([Zs,oa]),a=o.object({id:$s,target_id:Qs,target_type:Xs,type:Ys,task_type:ta.optional()}),na=a,ea=o.array(na),sa=o.string(),aa=o.number(),ia=o.array(aa),ma=o.string(),ca=o.object({file:zs,title:Ks,transitions:ea,id:sa,workflow_position:ia,schedule:ma}),ra=ca,la=o.array(ra),Sa=o.string(),Aa=o.string(),ba=a,Ca=o.array(ba),ga=o.string(),ha=o.number(),ua=o.array(ha),pa=o.boolean(),da=o.boolean(),Va=o.string(),fa=o.object({file:Sa,title:Aa,transitions:Ca,id:ga,workflow_position:ua,enabled:pa,is_initial:da,path:Va}),Ja=fa,Da=o.array(Ja),Ia=o.string(),Ra=o.string(),ya=a,Ta=o.array(ya),Fa=o.string(),Ea=o.number(),La=o.array(Ea),ka=o.boolean(),Ga=o.string(),ja=o.null(),Pa=o.union([Ga,ja]),Na=o.string(),_a=o.null(),Wa=o.union([Na,_a]),wa=o.boolean(),Ma=o.boolean(),xa=o.string(),Oa=o.null(),Ha=o.union([xa,Oa]),va=o.boolean(),qa=o.string(),Ua=o.array(qa),Ba=o.object({is_public:va,required_roles:Ua}),za=o.string(),Ka=o.null(),$a=o.union([za,Ka]),Qa=o.string(),Xa=o.null(),Ya=o.union([Qa,Xa]),Za=o.string(),oi=o.string(),ti=o.null(),ni=o.union([oi,ti]),ei=o.string(),si=o.boolean(),ai=o.object({variable_name:ei,enabled:si}),ii=o.string(),mi=o.null(),ci=o.union([ii,mi]),ri=o.object({file:Ia,title:Ra,transitions:Ta,id:Fa,workflow_position:La,is_initial:ka,restart_button_text:Pa,error_message:Wa,auto_start:wa,allow_restart:Ma,start_button_text:Ha,access_control:Ba,timeout_message:$a,end_message:Ya,path:Za,start_message:ni,notification_trigger:ai,welcome_title:ci}),li=ri,Si=o.array(li),Ai=o.string(),bi=o.string(),Ci=a,gi=o.array(Ci),hi=o.string(),ui=o.number(),pi=o.array(ui),di=o.boolean(),Vi=o.object({file:Ai,title:bi,transitions:gi,id:hi,workflow_position:pi,is_initial:di}),fi=Vi,Ji=o.array(fi),Di=o.literal("14.0");o.object({workspace:Os,home:Bs,jobs:la,hooks:Da,forms:Si,scripts:Ji,version:Di});const Ii=o.string(),Ri=o.string(),yi=o.string(),Ti=o.null(),Fi=o.union([yi,Ti]),Ei=o.string(),Li=o.null(),ki=o.union([Ei,Li]),Gi=o.string(),ji=o.null(),Pi=o.union([Gi,ji]),Ni=o.string(),_i=o.null(),Wi=o.union([Ni,_i]),wi=o.string(),Mi=o.null(),xi=o.union([wi,Mi]),Oi=o.string(),Hi=o.null(),vi=o.union([Oi,Hi]),qi=o.string(),Ui=o.null(),Bi=o.union([qi,Ui]),zi=o.object({name:Ii,language:Ri,theme:Fi,logo_url:ki,favicon_url:Pi,brand_name:Wi,main_color:xi,font_family:vi,font_color:Bi}),Ki=o.boolean(),$i=o.string(),Qi=o.array($i),Xi=o.object({is_public:Ki,required_roles:Qi}),Yi=o.object({access_control:Xi}),Zi=o.string(),om=o.string(),tm=o.string(),nm=o.string(),em=o.string(),sm=o.string(),am=o.string(),im=o.null(),mm=o.union([am,im]),t=o.object({id:tm,target_id:nm,target_type:em,type:sm,task_type:mm.optional()}),cm=t,rm=o.array(cm),lm=o.string(),Sm=o.number(),Am=o.array(Sm),bm=o.string(),Cm=o.object({file:Zi,title:om,transitions:rm,id:lm,workflow_position:Am,schedule:bm}),gm=Cm,hm=o.array(gm),um=o.string(),pm=o.string(),dm=t,Vm=o.array(dm),fm=o.string(),Jm=o.number(),Dm=o.array(Jm),Im=o.boolean(),Rm=o.boolean(),ym=o.string(),Tm=o.object({file:um,title:pm,transitions:Vm,id:fm,workflow_position:Dm,enabled:Im,is_initial:Rm,path:ym}),Fm=Tm,Em=o.array(Fm),Lm=o.string(),km=o.string(),Gm=t,jm=o.array(Gm),Pm=o.string(),Nm=o.number(),_m=o.array(Nm),Wm=o.boolean(),wm=o.string(),Mm=o.null(),xm=o.union([wm,Mm]),Om=o.string(),Hm=o.null(),vm=o.union([Om,Hm]),qm=o.boolean(),Um=o.boolean(),Bm=o.string(),zm=o.null(),Km=o.union([Bm,zm]),$m=o.boolean(),Qm=o.string(),Xm=o.array(Qm),Ym=o.object({is_public:$m,required_roles:Xm}),Zm=o.string(),oc=o.null(),tc=o.union([Zm,oc]),nc=o.string(),ec=o.null(),sc=o.union([nc,ec]),ac=o.string(),ic=o.string(),mc=o.null(),cc=o.union([ic,mc]),rc=o.string(),lc=o.boolean(),Sc=o.object({variable_name:rc,enabled:lc}),Ac=o.string(),bc=o.null(),Cc=o.union([Ac,bc]),gc=o.object({file:Lm,title:km,transitions:jm,id:Pm,workflow_position:_m,is_initial:Wm,restart_button_text:xm,error_message:vm,auto_start:qm,allow_restart:Um,start_button_text:Km,access_control:Ym,timeout_message:tc,end_message:sc,path:ac,start_message:cc,notification_trigger:Sc,welcome_title:Cc}),hc=gc,uc=o.array(hc),pc=o.string(),dc=o.string(),Vc=t,fc=o.array(Vc),Jc=o.string(),Dc=o.number(),Ic=o.array(Dc),Rc=o.boolean(),yc=o.object({file:pc,title:dc,transitions:fc,id:Jc,workflow_position:Ic,is_initial:Rc}),Tc=yc,Fc=o.array(Tc),Ec=o.string(),Lc=o.string(),kc=o.string().uuid(),Gc=o.null(),jc=o.union([kc,Gc]),Pc=o.number(),Nc=o.array(Pc),_c=t,Wc=o.array(_c),wc=o.string().uuid(),Mc=o.null(),xc=o.union([wc,Mc]),Oc=o.object({id:Ec,title:Lc,project_id:jc,workflow_position:Nc,transitions:Wc,client_stage_id:xc}),Hc=o.array(Oc),vc=o.string(),qc=o.string(),Uc=o.number(),Bc=o.array(Uc),zc=t,Kc=o.array(zc),$c=o.object({id:vc,title:qc,workflow_position:Bc,transitions:Kc}),Qc=o.array($c),Xc=o.literal("13.0");o.object({workspace:zi,home:Yi,jobs:hm,hooks:Em,forms:uc,scripts:Fc,agents:Hc,clients:Qc,version:Xc});const Yc=o.string(),Zc=o.string(),or=o.string(),tr=o.null(),nr=o.union([or,tr]),er=o.string(),sr=o.null(),ar=o.union([er,sr]),ir=o.string(),mr=o.null(),cr=o.union([ir,mr]),rr=o.string(),lr=o.null(),Sr=o.union([rr,lr]),Ar=o.string(),br=o.null(),Cr=o.union([Ar,br]),gr=o.string(),hr=o.null(),ur=o.union([gr,hr]),pr=o.string(),dr=o.null(),Vr=o.union([pr,dr]),fr=o.object({name:Yc,language:Zc,theme:nr,logo_url:ar,favicon_url:cr,brand_name:Sr,main_color:Cr,font_family:ur,font_color:Vr}),Jr=o.boolean(),Dr=o.string(),Ir=o.array(Dr),Rr=o.object({is_public:Jr,required_roles:Ir}),yr=o.object({access_control:Rr}),Tr=o.string(),Fr=o.string(),Er=o.string(),Lr=o.string(),kr=o.string(),Gr=o.string(),jr=o.string(),Pr=o.null(),Nr=o.union([jr,Pr]),i=o.object({id:Er,target_id:Lr,target_type:kr,type:Gr,task_type:Nr.optional()}),_r=i,Wr=o.array(_r),wr=o.string(),Mr=o.number(),xr=o.array(Mr),Or=o.string(),Hr=o.object({file:Tr,title:Fr,transitions:Wr,id:wr,workflow_position:xr,schedule:Or}),vr=Hr,qr=o.array(vr),Ur=o.string(),Br=o.string(),zr=i,Kr=o.array(zr),$r=o.string(),Qr=o.number(),Xr=o.array(Qr),Yr=o.boolean(),Zr=o.boolean(),ol=o.string(),tl=o.object({file:Ur,title:Br,transitions:Kr,id:$r,workflow_position:Xr,enabled:Yr,is_initial:Zr,path:ol}),nl=tl,el=o.array(nl),sl=o.string(),al=o.string(),il=i,ml=o.array(il),cl=o.string(),rl=o.number(),ll=o.array(rl),Sl=o.boolean(),Al=o.string(),bl=o.null(),Cl=o.union([Al,bl]),gl=o.string(),hl=o.null(),ul=o.union([gl,hl]),pl=o.boolean(),dl=o.boolean(),Vl=o.string(),fl=o.null(),Jl=o.union([Vl,fl]),Dl=o.boolean(),Il=o.string(),Rl=o.array(Il),yl=o.object({is_public:Dl,required_roles:Rl}),Tl=o.string(),Fl=o.null(),El=o.union([Tl,Fl]),Ll=o.string(),kl=o.null(),Gl=o.union([Ll,kl]),jl=o.string(),Pl=o.string(),Nl=o.null(),_l=o.union([Pl,Nl]),Wl=o.string(),wl=o.boolean(),Ml=o.object({variable_name:Wl,enabled:wl}),xl=o.string(),Ol=o.null(),Hl=o.union([xl,Ol]),vl=o.object({file:sl,title:al,transitions:ml,id:cl,workflow_position:ll,is_initial:Sl,restart_button_text:Cl,error_message:ul,auto_start:pl,allow_restart:dl,start_button_text:Jl,access_control:yl,timeout_message:El,end_message:Gl,path:jl,start_message:_l,notification_trigger:Ml,welcome_title:Hl}),ql=vl,Ul=o.array(ql),Bl=o.string(),zl=o.string(),Kl=i,$l=o.array(Kl),Ql=o.string(),Xl=o.number(),Yl=o.array(Xl),Zl=o.boolean(),oS=o.object({file:Bl,title:zl,transitions:$l,id:Ql,workflow_position:Yl,is_initial:Zl}),tS=oS,nS=o.array(tS),eS=o.literal("12.0");o.object({workspace:fr,home:yr,jobs:qr,hooks:el,forms:Ul,scripts:nS,version:eS});const sS=o.enum(["true","false"]),aS=o.enum(["true","false"]),iS=o.enum(["true","false"]),mS=o.string().regex(new RegExp("^[0-9]+m$")),cS=o.string().regex(new RegExp("^[0-9]+m$")),rS=o.string().regex(new RegExp("^[0-9]+Mi$")),lS=o.string().regex(new RegExp("^[0-9]+Mi$")),SS=o.string().regex(new RegExp("^[0-9]+$")),AS=o.number(),bS=o.string().regex(new RegExp("^[0-9]+$")),CS=o.string(),gS=o.enum(["3.9","3.10","3.11","3.12"]),hS=o.string(),uS=o.string();o.object({watermarkEnabled:sS.optional(),nativeTempDir:aS.optional(),notificationsEnabled:iS.optional(),requestsCPU:mS.optional(),limitsCPU:cS.optional(),requestsMemory:rS.optional(),limitsMemory:lS.optional(),minReplicas:SS.optional(),computeUnits:AS.optional(),timeoutSeconds:bS.optional(),workerType:CS.optional(),pythonVersion:gS.optional(),workerNumber:hS.optional(),baseDockerfile:uS.optional()});const pS=o.enum(["true","false"]),dS=o.enum(["true","false"]),VS=o.enum(["true","false"]),fS=o.string().regex(new RegExp("^[0-9]+m$")),JS=o.string().regex(new RegExp("^[0-9]+m$")),DS=o.string().regex(new RegExp("^[0-9]+Mi$")),IS=o.string().regex(new RegExp("^[0-9]+Mi$")),RS=o.string().regex(new RegExp("^[0-9]+$")),yS=o.number(),TS=o.string().regex(new RegExp("^[0-9]+$")),FS=o.string(),ES=o.enum(["3.9","3.10","3.11","3.12"]),LS=o.string(),kS=o.string();o.object({watermarkEnabled:pS.optional(),seleniumInstanceEnabled:dS.optional(),notificationsEnabled:VS.optional(),requestsCPU:fS.optional(),limitsCPU:JS.optional(),requestsMemory:DS.optional(),limitsMemory:IS.optional(),minReplicas:RS.optional(),computeUnits:yS.optional(),timeoutSeconds:TS.optional(),workerType:FS.optional(),pythonVersion:ES.optional(),workerNumber:LS.optional(),baseDockerfile:kS.optional()});const GS=o.enum(["file","directory"]),jS=o.string(),PS=o.string(),NS=o.string().datetime({local:!0}),_S=o.number(),WS=o.string(),wS=o.number(),MS=o.object({type:GS,path:jS,name:PS,date:NS,sizeBytes:_S.optional(),sizeHuman:WS.optional(),itemCount:wS.optional()}),xS=o.literal("replace-code"),OS=o.string(),HS=o.string(),vS=o.literal("replace-code"),qS=o.object({action:xS,actionLabel:OS,newCode:HS,type:vS.optional()}),US=qS,BS=o.literal("edit-stage-name"),zS=o.string(),KS=o.string(),$S=o.literal("edit-stage-name"),QS=o.object({action:BS,actionLabel:zS,newName:KS,type:$S.optional()}),XS=QS,YS=o.literal("add-notifiable-email"),ZS=o.string(),oA=o.string(),tA=o.object({action:YS,actionLabel:ZS,email:oA}),nA=tA,eA=o.literal("edit-stage-filename"),sA=o.string(),aA=o.string(),iA=o.literal("edit-stage-filename"),mA=o.object({action:eA,actionLabel:sA,newFilename:aA,type:iA.optional()}),cA=mA,rA=o.union([US,XS,nA,cA]),lA=o.array(rA);o.object({actions:lA});const SA=o.literal("create-table"),AA=o.string(),bA=o.string().uuid(),CA=o.string(),gA=o.object({action:SA,actionLabel:AA,tableId:bA,tableName:CA}),hA=gA,uA=o.literal("create-column"),pA=o.string(),dA=o.string().uuid(),VA=o.string(),fA=o.enum(["varchar","int","boolean","json","date","timestamp","uuid","real"]),JA=o.boolean(),DA=o.string(),IA=o.boolean(),RA=o.object({action:uA,actionLabel:pA,tableId:dA,columnName:VA,columnType:fA,nullable:JA,default:DA,unique:IA}),yA=RA,TA=o.literal("insert-rows"),FA=o.string(),EA=o.string().uuid(),LA=o.record(o.any()),kA=o.array(LA),GA=o.object({action:TA,actionLabel:FA,tableId:EA,rows:kA}),jA=GA,PA=o.literal("edit-table"),NA=o.string(),_A=o.string().uuid(),WA=o.string(),wA=o.object({action:PA,actionLabel:NA,tableId:_A,newTableName:WA}),MA=wA,xA=o.literal("edit-column"),OA=o.string(),HA=o.string().uuid(),vA=o.string().uuid(),qA=o.string(),UA=o.enum(["varchar","int","boolean","json","date","timestamp","uuid","real"]),BA=o.boolean(),zA=o.string(),KA=o.boolean(),$A=o.string().uuid(),QA=o.object({columnId:$A}),XA=o.object({columnName:qA.optional(),columnType:UA.optional(),nullable:BA.optional(),default:zA.optional(),unique:KA.optional(),foreignKey:QA.optional()}),YA=o.object({action:xA,actionLabel:OA,columnId:HA,tableId:vA,changes:XA}),ZA=YA,ob=o.literal("edit-env-var"),tb=o.string(),nb=o.string(),eb=o.string(),sb=o.object({action:ob,actionLabel:tb,key:nb,newValue:eb}),ab=sb,ib=o.literal("set-env-var"),mb=o.string(),cb=o.string(),rb=o.string(),lb=o.object({action:ib,actionLabel:mb,key:cb,value:rb}),Sb=lb,Ab=o.literal("install-package"),bb=o.string(),Cb=o.string(),gb=o.object({action:Ab,actionLabel:bb,packageName:Cb}),hb=gb,ub=o.literal("create-stage"),pb=o.string(),db=o.string().uuid(),Vb=o.enum(["form","job","hook","tasklet"]),fb=o.string(),Jb=o.string(),Db=o.string(),Ib=o.number(),Rb=o.number(),yb=o.object({x:Ib,y:Rb}),Tb=o.literal("create-stage"),Fb=o.object({action:ub,actionLabel:pb,id:db,stageType:Vb,stageName:fb,code:Jb,filename:Db,position:yb,type:Tb.optional()}),Eb=Fb,Lb=o.literal("add-transition"),kb=o.string(),Gb=o.string().uuid(),jb=o.string().uuid(),Pb=o.object({action:Lb,actionLabel:kb,sourceStageId:Gb,targetStageId:jb}),Nb=Pb,_b=o.literal("edit-stage"),Wb=o.string(),wb=o.string().uuid(),Mb=o.enum(["form","job","hook","tasklet"]),xb=o.string(),Ob=o.object({action:_b,actionLabel:Wb,stageId:wb,stageType:Mb,stageNewTitle:xb}),Hb=Ob,vb=o.union([hA,yA,jA,MA,ZA,ab,Sb,hb,Eb,Nb,Hb]),qb=o.array(vb);o.object({actions:qb});const Ub=o.literal("replace-code"),Bb=o.string(),zb=o.number(),Kb=o.number(),$b=o.object({start:zb,end:Kb}),Qb=o.string(),Xb=o.object({action:Ub,actionLabel:Bb,lines:$b,newCode:Qb}),Yb=Xb,Zb=o.literal("edit-stage-name"),oC=o.string(),tC=o.string(),nC=o.object({action:Zb,actionLabel:oC,newName:tC}),eC=nC,sC=o.literal("add-notifiable-email"),aC=o.string(),iC=o.string(),mC=o.object({action:sC,actionLabel:aC,email:iC}),cC=mC,rC=o.union([Yb,eC,cC]),lC=o.array(rC);o.object({actions:lC});const SC=o.literal("create-table"),AC=o.string(),bC=o.string().uuid(),CC=o.string(),gC=o.object({action:SC,actionLabel:AC,tableId:bC,tableName:CC}),hC=gC,uC=o.literal("create-column"),pC=o.string(),dC=o.string().uuid(),VC=o.string(),fC=o.enum(["varchar","int","boolean","json","date","timestamp","uuid","real"]),JC=o.object({action:uC,actionLabel:pC,tableId:dC,columnName:VC,columnType:fC}),DC=JC,IC=o.literal("set-env-var"),RC=o.string(),yC=o.string(),TC=o.string(),FC=o.object({action:IC,actionLabel:RC,key:yC,value:TC}),EC=FC,LC=o.literal("create-stage"),kC=o.string(),GC=o.string().uuid(),jC=o.enum(["form","job","hook","tasklet"]),PC=o.string(),NC=o.string(),_C=o.string(),WC=o.number(),wC=o.number(),MC=o.object({x:WC,y:wC}),xC=o.object({action:LC,actionLabel:kC,id:GC,stageType:jC,stageName:PC,code:NC,filename:_C,position:MC}),OC=xC,HC=o.literal("add-transition"),vC=o.string(),qC=o.string().uuid(),UC=o.string().uuid(),BC=o.object({action:HC,actionLabel:vC,sourceStageId:qC,targetStageId:UC}),zC=BC,KC=o.union([hC,DC,EC,OC,zC]),$C=o.array(KC);o.object({actions:$C});const QC=g,XC=h,YC=u,ZC=p;o.object({id:QC,name:XC,featureFlags:YC,billingMetadata:ZC});const og=m;o.object({description:og});const tg=o.number(),ng=o.number();o.object({offset:tg.optional(),limit:ng.optional()});const eg=q;o.array(eg);const sg=A,ag=m;o.object({name:sg,description:ag.optional()});const ig=MS,mg=o.array(ig),cg=o.number();o.object({items:mg,totalCount:cg});const rg=e,lg=r;o.object({email:rg.optional(),roles:lg.optional()});const Sg=o.number(),Ag=o.number();o.object({offset:Sg.optional(),limit:Ag.optional()});const bg=ht;o.array(bg);const Cg=e,gg=r;o.object({email:Cg,roles:gg});const hg=b;o.object({emailPatterns:hg});const ug=C;o.object({projectId:ug});const pg=o.literal("tokens"),dg=o.record(o.string());o.object({type:pg,tokens:dg});const Vg=o.string(),fg=o.string();o.object({redirect:Vg,ping:fg});const Jg=o.string(),Dg=o.record(o.any()),Ig=o.string(),Rg=o.object({key:Jg,value:Dg,type:Ig}),yg=Rg,Tg=o.array(yg),Fg=o.string(),Eg=o.string(),Lg=o.record(o.any()),d=o.enum(["waiting","running","processing","finished","failed","abandoned"]),kg=o.string(),Gg=o.string(),jg=o.string(),Pg=o.string();o.object({id:Fg,stage:Eg,data:Lg,status:d,created_at:kg,updated_at:Gg,parent_id:jg.optional(),execution_id:Pg.optional()});const Ng=o.string(),_g=o.string(),Wg=o.string(),wg=o.string(),Mg=d,xg=Tg,Og=o.string(),Hg=o.object({id:Ng,created_at:_g,updated_at:Wg.optional(),assignee:wg.optional(),status:Mg,content:xg,stage:Og.optional()}),vg=Hg,V=o.array(vg),qg=o.string(),Ug=o.enum(["form","hook","job","script"]),Bg=o.string(),zg=o.string(),Kg=o.boolean(),f=o.object({id:qg,type:Ug,title:Bg,path:zg.optional(),can_be_started:Kg}),$g=f,Qg=V,Xg=o.number(),Yg=o.boolean(),Zg=o.object({selected_stage:$g,stage_run_cards:Qg,total_count:Xg,loading:Yg.optional()}),oh=Zg,th=o.array(oh),nh=th;o.object({columns:nh});const eh=V,sh=o.string(),ah=o.array(sh),ih=o.number();o.object({stage_run_cards:eh,not_found_stages:ah,total_count:ih});const mh=f;o.array(mh);const ch=o.string(),rh=ch,lh=o.literal("text"),Sh=o.string(),Ah=o.object({type:lh,text:Sh}),bh=o.literal("file"),Ch=o.string(),gh=o.string(),hh=o.object({type:bh,fileName:Ch,fileContent:gh}),uh=o.union([Ah,hh]),ph=o.array(uh),dh=ph,Vh=o.record(o.any()),fh=o.string();o.object({conversationId:rh,content:dh,context:Vh,humanApproval:fh.optional()});const Jh=o.string(),Dh=o.enum(["changed","created","deleted","moved"]),Ih=o.string(),yp=o.object({filepath:Jh,event:Dh,content:Ih.optional()}),Rh=o.string(),yh=o.string(),Th=o.literal("bug"),Fh=o.string(),Eh=o.string(),Lh=o.string(),kh=o.object({name:Eh,label:Lh}),Gh=kh,jh=o.array(Gh),Ph=o.object({label:Fh,fixes:jh}),Nh=Ph,_h=o.array(Nh),Wh=o.object({name:Rh,label:yh,type:Th,issues:_h}),wh=o.string();o.object({waitingRoomUrl:wh});const Mh=o.string(),xh=o.string(),Oh=o.object({name:Mh,value:xh}),Hh=o.string(),Tp=o.object({separator:Hh}),vh=o.boolean(),Fp=o.object({ok:vh.optional()}),qh=S,Uh=o.enum(["form","hook","job","script"]),Bh=o.string(),zh=o.object({type:Uh,id:Bh}),Kh=o.array(zh),$h=o.object({file:qh,stages:Kh}),Ep=o.array($h),Qh=o.boolean(),Lp=o.object({ok:Qh.optional()}),Xh=o.string(),Yh=o.array(Xh),Zh=o.string(),ou=o.array(Zh),kp=o.object({pathParts:Yh,newPathParts:ou}),tu=o.boolean(),Gp=o.object({ok:tu.optional()}),nu=o.string(),eu=o.number(),su=o.enum(["delete","insert"]),au=o.string(),iu=o.number(),mu=o.object({siteId:nu,pos:eu,type:su,value:au.optional(),length:iu.optional()});o.array(mu);const cu=o.boolean(),jp=o.object({ok:cu.optional()}),Pp=S,ru=o.boolean();o.object({success:ru});const lu=Wh;o.array(lu);const Su=Oh;o.array(Su);const Au=o.string();o.object({message:Au});const bu=o.boolean(),Cu=o.string(),Np=o.object({success:bu,message:Cu}),gu=o.string();o.object({commitHash:gu});const hu=o.boolean(),uu=o.string(),_p=o.object({success:hu,message:uu}),pu=o.boolean(),du=o.string(),Wp=o.object({success:pu,message:du}),Vu=o.boolean(),fu=o.string(),wp=o.object({success:Vu,message:fu}),Ju=o.record(o.string()),Du=o.boolean(),Mp=o.object({remotes:Ju,hasAbstraRemote:Du}),Iu=o.string(),Ru=o.string();o.object({branch:Iu.optional(),commitHash:Ru.optional()});const yu=o.boolean(),Tu=o.string(),xp=o.object({success:yu,message:Tu}),Fu=o.boolean(),Eu=o.string(),Lu=o.string(),ku=o.array(Lu),Gu=o.string(),ju=o.string(),Pu=o.string(),Nu=o.string(),_u=o.object({hash:Gu,message:ju,author:Pu,date:Nu}).nullable(),Wu=o.boolean(),wu=o.string(),Mu=o.array(wu),xu=o.string(),Ou=o.string(),Hu=o.string(),vu=o.object({path:xu,status:Ou,statusCode:Hu}),qu=o.array(vu),Uu=o.boolean(),Bu=o.string().nullable(),zu=o.boolean(),Ku=o.boolean(),$u=o.string().nullable(),Qu=o.string(),Xu=o.array(Qu),Yu=o.number(),Zu=o.number(),op=o.object({ahead:Yu,behind:Zu}).nullable(),tp=o.object({success:Uu,remoteCommit:Bu,hasRemoteChanges:zu,hasConflicts:Ku,message:$u,availableBranches:Xu,aheadBehind:op}).nullable(),Op=o.object({available:Fu,branch:Eu,branches:ku,lastCommit:_u,hasChanges:Wu,changedFiles:Mu,changedFilesWithStatus:qu,remoteStatus:tp}),np=o.string(),ep=o.string(),sp=o.string(),ap=o.string(),ip=o.object({hash:np,message:ep,author:sp,date:ap}),mp=o.array(ip),cp=o.boolean(),Hp=o.object({commits:mp,hasMore:cp}),rp=o.boolean(),lp=o.string(),vp=o.object({success:rp,message:lp}),Sp=e;o.object({email:Sp});const Ap=o.enum(["ALLOWED","UNAUTHORIZED","FORBIDEN","NOT_FOUND"]);o.object({status:Ap});const bp=o.string(),Cp=o.string().datetime({local:!0}),gp=o.enum(["user","assistant"]),hp=o.string(),up=o.string().datetime({local:!0}),pp=o.string(),dp=o.string(),Vp=o.object({role:gp,content:hp,createdAt:up,toolTitle:pp.optional(),toolCallId:dp.optional()}),fp=o.array(Vp),Jp=o.object({id:bp,createdAt:Cp,messages:fp}),Dp=Jp;o.array(Dp);export{yp as A,Ep as a,Pp as b,Fp as c,jp as d,kp as e,Gp as f,Lp as g,Tp as h,Op as i,xp as j,wp as k,Np as l,vp as m,Wp as n,Mp as o,_p as p,Hp as q};
2
+ //# sourceMappingURL=contracts.generated.590b1102.js.map
@@ -1,4 +1,4 @@
1
- var Le=Object.defineProperty;var je=(e,n,i)=>n in e?Le(e,n,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[n]=i;var E=(e,n,i)=>(je(e,typeof n!="symbol"?n+"":n,i),i);import{m as Ne}from"./toggleHighContrast.67a76682.js";import"./jwt-decode.esm.e1e8e181.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]="dffc4ece-1cf0-4764-be20-6cfc5a8e8c0e",e._sentryDebugIdIdentifier="sentry-dbid-dffc4ece-1cf0-4764-be20-6cfc5a8e8c0e")}catch{}})();/*!-----------------------------------------------------------------------------
1
+ var Le=Object.defineProperty;var je=(e,n,i)=>n in e?Le(e,n,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[n]=i;var E=(e,n,i)=>(je(e,typeof n!="symbol"?n+"":n,i),i);import{m as Ne}from"./toggleHighContrast.0d0e5662.js";import"./jwt-decode.esm.d4517a10.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]="f306bab5-fb97-442a-b307-2f085be8f6d1",e._sentryDebugIdIdentifier="sentry-dbid-f306bab5-fb97-442a-b307-2f085be8f6d1")}catch{}})();/*!-----------------------------------------------------------------------------
2
2
  * Copyright (c) Microsoft Corporation. All rights reserved.
3
3
  * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f)
4
4
  * Released under the MIT license
@@ -7,4 +7,4 @@ var Le=Object.defineProperty;var je=(e,n,i)=>n in e?Le(e,n,{enumerable:!0,config
7
7
  `,a==="\r"&&t+1<i.length&&i.charAt(t+1)===`
8
8
  `&&t++}r&&i.length>0&&n.push(i.length),this._lineOffsets=n}return this._lineOffsets},e.prototype.positionAt=function(n){n=Math.max(Math.min(n,this._content.length),0);var i=this.getLineOffsets(),r=0,t=i.length;if(t===0)return k.create(0,n);for(;r<t;){var a=Math.floor((r+t)/2);i[a]>n?t=a:r=a+1}var o=r-1;return k.create(o,n-i[o])},e.prototype.offsetAt=function(n){var i=this.getLineOffsets();if(n.line>=i.length)return this._content.length;if(n.line<0)return 0;var r=i[n.line],t=n.line+1<i.length?i[n.line+1]:this._content.length;return Math.max(Math.min(r+n.character,t),r)},Object.defineProperty(e.prototype,"lineCount",{get:function(){return this.getLineOffsets().length},enumerable:!1,configurable:!0}),e}(),s;(function(e){var n=Object.prototype.toString;function i(f){return typeof f<"u"}e.defined=i;function r(f){return typeof f>"u"}e.undefined=r;function t(f){return f===!0||f===!1}e.boolean=t;function a(f){return n.call(f)==="[object String]"}e.string=a;function o(f){return n.call(f)==="[object Number]"}e.number=o;function u(f,A,N){return n.call(f)==="[object Number]"&&A<=f&&f<=N}e.numberRange=u;function g(f){return n.call(f)==="[object Number]"&&-2147483648<=f&&f<=2147483647}e.integer=g;function d(f){return n.call(f)==="[object Number]"&&0<=f&&f<=2147483647}e.uinteger=d;function v(f){return n.call(f)==="[object Function]"}e.func=v;function w(f){return f!==null&&typeof f=="object"}e.objectLiteral=w;function b(f,A){return Array.isArray(f)&&f.every(A)}e.typedArray=b})(s||(s={}));var $e=class{constructor(e,n,i){E(this,"_disposables",[]);E(this,"_listener",Object.create(null));this._languageId=e,this._worker=n;const r=a=>{let o=a.getLanguageId();if(o!==this._languageId)return;let u;this._listener[a.uri.toString()]=a.onDidChangeContent(()=>{window.clearTimeout(u),u=window.setTimeout(()=>this._doValidate(a.uri,o),500)}),this._doValidate(a.uri,o)},t=a=>{c.editor.setModelMarkers(a,this._languageId,[]);let o=a.uri.toString(),u=this._listener[o];u&&(u.dispose(),delete this._listener[o])};this._disposables.push(c.editor.onDidCreateModel(r)),this._disposables.push(c.editor.onWillDisposeModel(t)),this._disposables.push(c.editor.onDidChangeModelLanguage(a=>{t(a.model),r(a.model)})),this._disposables.push(i(a=>{c.editor.getModels().forEach(o=>{o.getLanguageId()===this._languageId&&(t(o),r(o))})})),this._disposables.push({dispose:()=>{c.editor.getModels().forEach(t);for(let a in this._listener)this._listener[a].dispose()}}),c.editor.getModels().forEach(r)}dispose(){this._disposables.forEach(e=>e&&e.dispose()),this._disposables.length=0}_doValidate(e,n){this._worker(e).then(i=>i.doValidation(e.toString())).then(i=>{const r=i.map(a=>Qe(e,a));let t=c.editor.getModel(e);t&&t.getLanguageId()===n&&c.editor.setModelMarkers(t,n,r)}).then(void 0,i=>{console.error(i)})}};function qe(e){switch(e){case I.Error:return c.MarkerSeverity.Error;case I.Warning:return c.MarkerSeverity.Warning;case I.Information:return c.MarkerSeverity.Info;case I.Hint:return c.MarkerSeverity.Hint;default:return c.MarkerSeverity.Info}}function Qe(e,n){let i=typeof n.code=="number"?String(n.code):n.code;return{severity:qe(n.severity),startLineNumber:n.range.start.line+1,startColumn:n.range.start.character+1,endLineNumber:n.range.end.line+1,endColumn:n.range.end.character+1,message:n.message,code:i,source:n.source}}var Ge=class{constructor(e,n){this._worker=e,this._triggerCharacters=n}get triggerCharacters(){return this._triggerCharacters}provideCompletionItems(e,n,i,r){const t=e.uri;return this._worker(t).then(a=>a.doComplete(t.toString(),y(n))).then(a=>{if(!a)return;const o=e.getWordUntilPosition(n),u=new c.Range(n.lineNumber,o.startColumn,n.lineNumber,o.endColumn),g=a.items.map(d=>{const v={label:d.label,insertText:d.insertText||d.label,sortText:d.sortText,filterText:d.filterText,documentation:d.documentation,detail:d.detail,command:Ze(d.command),range:u,kind:Ye(d.kind)};return d.textEdit&&(Je(d.textEdit)?v.range={insert:m(d.textEdit.insert),replace:m(d.textEdit.replace)}:v.range=m(d.textEdit.range),v.insertText=d.textEdit.newText),d.additionalTextEdits&&(v.additionalTextEdits=d.additionalTextEdits.map(j)),d.insertTextFormat===G.Snippet&&(v.insertTextRules=c.languages.CompletionItemInsertTextRule.InsertAsSnippet),v});return{isIncomplete:a.isIncomplete,suggestions:g}})}};function y(e){if(!!e)return{character:e.column-1,line:e.lineNumber-1}}function Me(e){if(!!e)return{start:{line:e.startLineNumber-1,character:e.startColumn-1},end:{line:e.endLineNumber-1,character:e.endColumn-1}}}function m(e){if(!!e)return new c.Range(e.start.line+1,e.start.character+1,e.end.line+1,e.end.character+1)}function Je(e){return typeof e.insert<"u"&&typeof e.replace<"u"}function Ye(e){const n=c.languages.CompletionItemKind;switch(e){case l.Text:return n.Text;case l.Method:return n.Method;case l.Function:return n.Function;case l.Constructor:return n.Constructor;case l.Field:return n.Field;case l.Variable:return n.Variable;case l.Class:return n.Class;case l.Interface:return n.Interface;case l.Module:return n.Module;case l.Property:return n.Property;case l.Unit:return n.Unit;case l.Value:return n.Value;case l.Enum:return n.Enum;case l.Keyword:return n.Keyword;case l.Snippet:return n.Snippet;case l.Color:return n.Color;case l.File:return n.File;case l.Reference:return n.Reference}return n.Property}function j(e){if(!!e)return{range:m(e.range),text:e.newText}}function Ze(e){return e&&e.command==="editor.action.triggerSuggest"?{id:e.command,title:e.title,arguments:e.arguments}:void 0}var Ke=class{constructor(e){this._worker=e}provideHover(e,n,i){let r=e.uri;return this._worker(r).then(t=>t.doHover(r.toString(),y(n))).then(t=>{if(!!t)return{range:m(t.range),contents:tt(t.contents)}})}};function et(e){return e&&typeof e=="object"&&typeof e.kind=="string"}function De(e){return typeof e=="string"?{value:e}:et(e)?e.kind==="plaintext"?{value:e.value.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")}:{value:e.value}:{value:"```"+e.language+`
9
9
  `+e.value+"\n```\n"}}function tt(e){if(!!e)return Array.isArray(e)?e.map(De):[De(e)]}var rt=class{constructor(e){this._worker=e}provideDocumentHighlights(e,n,i){const r=e.uri;return this._worker(r).then(t=>t.findDocumentHighlights(r.toString(),y(n))).then(t=>{if(!!t)return t.map(a=>({range:m(a.range),kind:nt(a.kind)}))})}};function nt(e){switch(e){case P.Read:return c.languages.DocumentHighlightKind.Read;case P.Write:return c.languages.DocumentHighlightKind.Write;case P.Text:return c.languages.DocumentHighlightKind.Text}return c.languages.DocumentHighlightKind.Text}var it=class{constructor(e){this._worker=e}provideDefinition(e,n,i){const r=e.uri;return this._worker(r).then(t=>t.findDefinition(r.toString(),y(n))).then(t=>{if(!!t)return[Te(t)]})}};function Te(e){return{uri:c.Uri.parse(e.uri),range:m(e.range)}}var at=class{constructor(e){this._worker=e}provideReferences(e,n,i,r){const t=e.uri;return this._worker(t).then(a=>a.findReferences(t.toString(),y(n))).then(a=>{if(!!a)return a.map(Te)})}},ot=class{constructor(e){this._worker=e}provideRenameEdits(e,n,i,r){const t=e.uri;return this._worker(t).then(a=>a.doRename(t.toString(),y(n),i)).then(a=>st(a))}};function st(e){if(!e||!e.changes)return;let n=[];for(let i in e.changes){const r=c.Uri.parse(i);for(let t of e.changes[i])n.push({resource:r,versionId:void 0,textEdit:{range:m(t.range),text:t.newText}})}return{edits:n}}var ut=class{constructor(e){this._worker=e}provideDocumentSymbols(e,n){const i=e.uri;return this._worker(i).then(r=>r.findDocumentSymbols(i.toString())).then(r=>{if(!!r)return r.map(t=>({name:t.name,detail:"",containerName:t.containerName,kind:ct(t.kind),range:m(t.location.range),selectionRange:m(t.location.range),tags:[]}))})}};function ct(e){let n=c.languages.SymbolKind;switch(e){case h.File:return n.Array;case h.Module:return n.Module;case h.Namespace:return n.Namespace;case h.Package:return n.Package;case h.Class:return n.Class;case h.Method:return n.Method;case h.Property:return n.Property;case h.Field:return n.Field;case h.Constructor:return n.Constructor;case h.Enum:return n.Enum;case h.Interface:return n.Interface;case h.Function:return n.Function;case h.Variable:return n.Variable;case h.Constant:return n.Constant;case h.String:return n.String;case h.Number:return n.Number;case h.Boolean:return n.Boolean;case h.Array:return n.Array}return n.Function}var wt=class{constructor(e){this._worker=e}provideLinks(e,n){const i=e.uri;return this._worker(i).then(r=>r.findDocumentLinks(i.toString())).then(r=>{if(!!r)return{links:r.map(t=>({range:m(t.range),url:t.target}))}})}},dt=class{constructor(e){this._worker=e}provideDocumentFormattingEdits(e,n,i){const r=e.uri;return this._worker(r).then(t=>t.format(r.toString(),null,Se(n)).then(a=>{if(!(!a||a.length===0))return a.map(j)}))}},ft=class{constructor(e){this._worker=e}provideDocumentRangeFormattingEdits(e,n,i,r){const t=e.uri;return this._worker(t).then(a=>a.format(t.toString(),Me(n),Se(i)).then(o=>{if(!(!o||o.length===0))return o.map(j)}))}};function Se(e){return{tabSize:e.tabSize,insertSpaces:e.insertSpaces}}var gt=class{constructor(e){this._worker=e}provideDocumentColors(e,n){const i=e.uri;return this._worker(i).then(r=>r.findDocumentColors(i.toString())).then(r=>{if(!!r)return r.map(t=>({color:t.color,range:m(t.range)}))})}provideColorPresentations(e,n,i){const r=e.uri;return this._worker(r).then(t=>t.getColorPresentations(r.toString(),n.color,Me(n.range))).then(t=>{if(!!t)return t.map(a=>{let o={label:a.label};return a.textEdit&&(o.textEdit=j(a.textEdit)),a.additionalTextEdits&&(o.additionalTextEdits=a.additionalTextEdits.map(j)),o})})}},lt=class{constructor(e){this._worker=e}provideFoldingRanges(e,n,i){const r=e.uri;return this._worker(r).then(t=>t.getFoldingRanges(r.toString(),n)).then(t=>{if(!!t)return t.map(a=>{const o={start:a.startLine+1,end:a.endLine+1};return typeof a.kind<"u"&&(o.kind=ht(a.kind)),o})})}};function ht(e){switch(e){case D.Comment:return c.languages.FoldingRangeKind.Comment;case D.Imports:return c.languages.FoldingRangeKind.Imports;case D.Region:return c.languages.FoldingRangeKind.Region}}var vt=class{constructor(e){this._worker=e}provideSelectionRanges(e,n,i){const r=e.uri;return this._worker(r).then(t=>t.getSelectionRanges(r.toString(),n.map(y))).then(t=>{if(!!t)return t.map(a=>{const o=[];for(;a;)o.push({range:m(a.range)}),a=a.parent;return o})})}};function kt(e){const n=[],i=[],r=new Xe(e);n.push(r);const t=(...o)=>r.getLanguageServiceWorker(...o);function a(){const{languageId:o,modeConfiguration:u}=e;Fe(i),u.completionItems&&i.push(c.languages.registerCompletionItemProvider(o,new Ge(t,["/","-",":"]))),u.hovers&&i.push(c.languages.registerHoverProvider(o,new Ke(t))),u.documentHighlights&&i.push(c.languages.registerDocumentHighlightProvider(o,new rt(t))),u.definitions&&i.push(c.languages.registerDefinitionProvider(o,new it(t))),u.references&&i.push(c.languages.registerReferenceProvider(o,new at(t))),u.documentSymbols&&i.push(c.languages.registerDocumentSymbolProvider(o,new ut(t))),u.rename&&i.push(c.languages.registerRenameProvider(o,new ot(t))),u.colors&&i.push(c.languages.registerColorProvider(o,new gt(t))),u.foldingRanges&&i.push(c.languages.registerFoldingRangeProvider(o,new lt(t))),u.diagnostics&&i.push(new $e(o,t,e.onDidChange)),u.selectionRanges&&i.push(c.languages.registerSelectionRangeProvider(o,new vt(t))),u.documentFormattingEdits&&i.push(c.languages.registerDocumentFormattingEditProvider(o,new dt(t))),u.documentRangeFormattingEdits&&i.push(c.languages.registerDocumentRangeFormattingEditProvider(o,new ft(t)))}return a(),n.push(Pe(i)),Pe(n)}function Pe(e){return{dispose:()=>Fe(e)}}function Fe(e){for(;e.length;)e.pop().dispose()}export{Ge as CompletionAdapter,it as DefinitionAdapter,$e as DiagnosticsAdapter,gt as DocumentColorAdapter,dt as DocumentFormattingEditProvider,rt as DocumentHighlightAdapter,wt as DocumentLinkAdapter,ft as DocumentRangeFormattingEditProvider,ut as DocumentSymbolAdapter,lt as FoldingRangeAdapter,Ke as HoverAdapter,at as ReferenceAdapter,ot as RenameAdapter,vt as SelectionRangeAdapter,Xe as WorkerManager,y as fromPosition,Me as fromRange,kt as setupMode,m as toRange,j as toTextEdit};
10
- //# sourceMappingURL=cssMode.0aa24dcd.js.map
10
+ //# sourceMappingURL=cssMode.7133c7cb.js.map
@@ -1,2 +1,2 @@
1
- import"./jwt-decode.esm.e1e8e181.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},d=new Error().stack;d&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[d]="075865eb-bdbd-4168-adf1-67e0e3906022",e._sentryDebugIdIdentifier="sentry-dbid-075865eb-bdbd-4168-adf1-67e0e3906022")}catch{}})();function n(e,d){return e.toLocaleString(void 0,{hour12:!1,timeZoneName:"short",day:"2-digit",month:"2-digit",year:"numeric",hour:"2-digit",minute:"2-digit",second:"2-digit",weekday:"long",...d})}export{n as g};
2
- //# sourceMappingURL=datetime.46141396.js.map
1
+ import"./jwt-decode.esm.d4517a10.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},d=new Error().stack;d&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[d]="34fd59ad-8314-4a8d-9688-31d9c7938fe7",e._sentryDebugIdIdentifier="sentry-dbid-34fd59ad-8314-4a8d-9688-31d9c7938fe7")}catch{}})();function n(e,d){return e.toLocaleString(void 0,{hour12:!1,timeZoneName:"short",day:"2-digit",month:"2-digit",year:"numeric",hour:"2-digit",minute:"2-digit",second:"2-digit",weekday:"long",...d})}export{n as g};
2
+ //# sourceMappingURL=datetime.8de2ff28.js.map
@@ -0,0 +1,2 @@
1
+ import{X as s,dJ as d,dK as i}from"./jwt-decode.esm.d4517a10.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},c=new Error().stack;c&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[c]="2626da8b-9c42-4e1f-ac46-87e2f08d5a2b",e._sentryDebugIdIdentifier="sentry-dbid-2626da8b-9c42-4e1f-ac46-87e2f08d5a2b")}catch{}})();const{DatePicker:n,WeekPicker:t,MonthPicker:r,YearPicker:f,TimePicker:m,QuarterPicker:a,RangePicker:o}=d(i),u=s(n,{WeekPicker:t,MonthPicker:r,YearPicker:f,RangePicker:o,TimePicker:m,QuarterPicker:a,install:e=>(e.component(n.name,n),e.component(o.name,o),e.component(r.name,r),e.component(t.name,t),e.component(a.name,a),e)});export{u as D,r as M,a as Q,o as R,t as W};
2
+ //# sourceMappingURL=dayjs.f18bbbca.js.map
@@ -0,0 +1,2 @@
1
+ var I=Object.defineProperty;var x=(o,t,e)=>t in o?I(o,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):o[t]=e;var R=(o,t,e)=>(x(o,typeof t!="symbol"?t+"":t,e),e);import{d as C,c as L,r as p,w as h,o as E,a as P,b as m,e as k,f as v,u as d,S as M,g as j,A as O,T as $,h as B,M as N,_ as W,i as z,j as F,l as T,k as H,m as G,n as q,p as g,q as J,s as Y,t as K,v as Q,x as X,P as Z,C as ee,y as te,z as oe,B as b,D as ae,E as ne,F as se,G as re}from"./jwt-decode.esm.d4517a10.js";import{r as ie,g as ce,a as le}from"./router.262190ec.js";import{u as ue,s as de}from"./workspaceStore.6244d03d.js";import{u as pe}from"./useCodebaseEvents.53dec1f2.js";import{A as _e}from"./constants.7d38ec8b.js";import"./contracts.generated.590b1102.js";import"./linters.2f3141cb.js";import{d as w}from"./index.4176fe88.js";import"./userStore.31024da3.js";import"./url.e8732f77.js";import"./colorHelpers.37d9932b.js";import"./asyncComputed.cf5282fc.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new Error().stack;t&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[t]="dd01d7de-72c7-46f4-bba5-ca236e820fd0",o._sentryDebugIdIdentifier="sentry-dbid-dd01d7de-72c7-46f4-bba5-ca236e820fd0")}catch{}})();const fe={style:{"text-align":"center",padding:"20px"}},ge=C({__name:"ConnectionModal",props:{open:{type:Boolean},port:{}},emits:["update:open"],setup(o,{emit:t}){const e=o,n=L({get:()=>e.open,set:s=>t("update:open",s)}),a=p(!1);return h(()=>e.open,s=>{if(s){a.value=!1;const r=setTimeout(()=>{a.value=!0},1e4);return()=>clearTimeout(r)}else a.value=!1}),(s,r)=>(E(),P(d(N),{open:n.value,"onUpdate:open":r[0]||(r[0]=l=>n.value=l),closable:!1,"mask-closable":!1,keyboard:!1,footer:null,width:400,centered:""},{default:m(()=>[k("div",fe,[v(d(M),{size:"large"}),v(d(O),{level:4},{default:m(()=>[j(" Connecting to server... ")]),_:1}),a.value?(E(),P(d($),{key:0},{default:m(()=>[j(" Are you sure Abstra is running? ")]),_:1})):B("",!0)])]),_:1},8,["open"]))}});const me=W(ge,[["__scopeId","data-v-36743132"]]),he={style:{height:"100vh","box-sizing":"border-box",width:"100%"}},ve=C({__name:"App",setup(o){const t=pe(),e=p(!1);h(t.isConnected,async a=>{e.value=!a},{immediate:!0});const n={token:{colorPrimary:"#d14056",colorLink:"#d14056",colorLinkHover:"#aa3446"}};return(a,s)=>{const r=z("RouterView");return E(),P(d(F),{theme:n,"page-header":{ghost:!1}},{default:m(()=>[k("div",he,[v(r)]),v(me,{open:e.value,"onUpdate:open":s[0]||(s[0]=l=>e.value=l)},null,8,["open"])]),_:1})}}});class V{async getLogin(){return await(await fetch("/_editor/api/login")).json()}async createLogin(t){return(await fetch("/_editor/api/login",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({token:t})})).json()}async deleteLogin(){await fetch("/_editor/api/login",{method:"DELETE"})}async getCloudProject(){return(await fetch("/_editor/api/login/info")).json()}async getPublicUrl(){try{return(await(await fetch("/_editor/api/login/public-url")).json()).public_url}catch{return null}}static getLoginUrl(t){return _e.CLOUD+"/api-key?"+new URLSearchParams(t)}}const A="h97k86ks",f=class{static boot(t,e){f.booted||(w.Intercom({app_id:A}),w.boot({api_base:"https://api-iam.intercom.io",app_id:A,name:t,email:t,user_hash:e,hide_default_launcher:!0,custom_launcher_selector:".intercom-launcher"}),f.booted=!0)}static shutdown(){w.shutdown(),f.booted=!1}};let _=f;R(_,"booted",!1);const ye={"console-url":"https://cloud.abstra.io"},be=o=>{const t="VITE_"+T.toUpper(T.snakeCase(o)),e={VITE_SENTRY_RELEASE:"62b1689636b03b70ee9767431a83c3ee1f65f540",BASE_URL:"/",MODE:"production",DEV:!1,PROD:!0}[t];return e||ye[o]},u={consoleUrl:be("console-url")},we=H("cloud-project",()=>{const o=new V,t=p(null),e=p(null),n=L(()=>{var i,c;return(c=(i=t.value)==null?void 0:i.logged)!=null?c:!1}),a=p(null),s=L(()=>e.value?{project:`${u.consoleUrl}/projects/${e.value.id}`,users:`${u.consoleUrl}/projects/${e.value.id}/access-control?selected-panel=users`,roles:`${u.consoleUrl}/projects/${e.value.id}/access-control?selected-panel=roles`,builds:`${u.consoleUrl}/projects/${e.value.id}/builds`,login:`${u.consoleUrl}/api-key`}:null),r=async()=>{!n.value||(await o.deleteLogin(),window.open(location.origin+"/_editor","_self"))},l=async i=>{const c=await o.createLogin(i);t.value=c,c.logged&&await U()},U=async()=>e.value=await o.getCloudProject();(async()=>{a.value=await o.getPublicUrl()})();const S=async()=>t.value?t.value:(t.value=await o.getLogin(),t.value.logged);return h(()=>t.value,U),h(()=>t.value,async i=>{if(i&&"info"in i){const{email:c,intercomHash:D}=i.info;_.boot(c,D)}else _.shutdown()}),{loadLogin:S,createLogin:l,deleteLogin:r,publicUrl:a,loginInfo:t,cloudProject:e,isLogged:n,links:s}}),Le=ie.map(o=>({...o,meta:{...o.meta,playerRoute:!0}})),y=G({history:q("/"),routes:[{path:"/_editor/",name:"app",component:()=>g(()=>import("./Home.287d17f8.js"),["assets/Home.287d17f8.js","assets/jwt-decode.esm.d4517a10.js","assets/jwt-decode.9f7a5511.css","assets/fetch.89fd5b7b.js","assets/polling.82ee6b45.js","assets/Home.afb8d9a6.css"]),children:[{path:"",name:"editor",component:()=>g(()=>import("./NewEditor.e558e47d.js"),["assets/NewEditor.e558e47d.js","assets/asyncComputed.cf5282fc.js","assets/jwt-decode.esm.d4517a10.js","assets/jwt-decode.9f7a5511.css","assets/contracts.generated.590b1102.js","assets/linters.2f3141cb.js","assets/workspaceStore.6244d03d.js","assets/userStore.31024da3.js","assets/url.e8732f77.js","assets/colorHelpers.37d9932b.js","assets/record.7f43486c.js","assets/PhWarningCircle.vue.3b1aca1b.js","assets/Card.6cfffb80.js","assets/router.424f7da9.js","assets/index.4176fe88.js","assets/metadata.c3aed6e1.js","assets/PhUserList.vue.6a29f16d.js","assets/PhWebhooksLogo.vue.5e772aac.js","assets/LogsController.6b666816.js","assets/ant-design.a865486e.js","assets/string.0acf5572.js","assets/PhCopy.vue.59b0f1b4.js","assets/index.fb182bd1.js","assets/build.df2d55cc.js","assets/tables.1f68ec62.js","assets/repository.c15239ce.js","assets/LoadingOutlined.9e949112.js","assets/polling.82ee6b45.js","assets/LogsController.fb0d96c2.css","assets/omniChatStore.c53bcca2.js","assets/uuid.bde15ce7.js","assets/PhCopySimple.vue.d41d9160.js","assets/omniChatStore.ec95fb81.css","assets/datetime.8de2ff28.js","assets/OmniChat.60d98deb.js","assets/AbstraLogo.vue_vue_type_script_setup_true_lang.9f98292e.js","assets/Logo.82d6ab70.js","assets/Logo.b7d81119.css","assets/PhClockCounterClockwise.vue.812311ad.js","assets/PhDatabase.vue.edfcb96b.js","assets/index.c34a405a.js","assets/index.2af3391c.js","assets/OmniChat.05ba8d8a.css","assets/AbstraButton.vue_vue_type_script_setup_true_lang.eb8ccb64.js","assets/constants.7d38ec8b.js","assets/PhBookBookmark.vue.5b7ab079.js","assets/PhChats.vue.b5df7174.js","assets/PhArrowSquareOut.vue.26582195.js","assets/PhRocket.vue.e397203c.js","assets/PhSignOut.vue.a271f14b.js","assets/useCodebaseEvents.53dec1f2.js","assets/PhDownloadSimple.vue.c2eaaad1.js","assets/ScrollArea.vue_vue_type_script_setup_true_lang.d4028954.js","assets/PhPencilSimple.vue.cc8620ae.js","assets/CloseCircleOutlined.30bc25a8.js","assets/PhFolderPlus.vue.05ba4a5c.js","assets/tasksController.371896de.js","assets/vue-flow-core.1180ec83.js","assets/ContentLayout.d03fee5b.js","assets/ContentLayout.cdae7d24.css","assets/fetch.89fd5b7b.js","assets/repository.9534db4b.js","assets/SaveButton.719393d2.js","assets/ExclamationCircleOutlined.a489b996.js","assets/SaveButton.932ac6b8.css","assets/View.vue_vue_type_script_setup_true_lang.a904f400.js","assets/CrudView.c0824225.js","assets/DocsButton.vue_vue_type_script_setup_true_lang.3668aee4.js","assets/PhDotsThreeVertical.vue.ab4580a5.js","assets/CrudView.e24590ae.css","assets/PhPencil.vue.2f2fe576.js","assets/PlayerNavbar.11ec1844.js","assets/PlayerNavbar.77209eae.css","assets/PlayerConfigProvider.e90a2b41.js","assets/PlayerConfigProvider.1ce9d3b1.css","assets/LoadingContainer.ebace8de.js","assets/LoadingContainer.56fa997a.css","assets/PhGear.vue.0e4a6135.js","assets/toggleHighContrast.0d0e5662.js","assets/toggleHighContrast.30d77c87.css","assets/vue-flow-background.818c7852.js","assets/PhArrowCounterClockwise.vue.8090d021.js","assets/FormRunner.7f56a8c6.js","assets/Login.vue_vue_type_script_setup_true_lang.1c3f108d.js","assets/CircularLoading.a13d6a76.js","assets/CircularLoading.a8fe2dc6.css","assets/Login.75d13f6c.css","assets/Steps.8e5d201a.js","assets/index.fb49354b.js","assets/Steps.2880920a.css","assets/Watermark.ab3d818f.js","assets/Watermark.b0916e90.css","assets/FormRunner.46f6426d.css","assets/redirect.f028a879.js","assets/router.262190ec.js","assets/NewEditor.5f84de86.css"])},{path:"project-login",name:"projectLogin",component:()=>g(()=>import("./ProjectLogin.e7a6f444.js"),["assets/ProjectLogin.e7a6f444.js","assets/AbstraLogo.vue_vue_type_script_setup_true_lang.9f98292e.js","assets/Logo.82d6ab70.js","assets/jwt-decode.esm.d4517a10.js","assets/jwt-decode.9f7a5511.css","assets/Logo.b7d81119.css","assets/BaseLayout.1ec2c96d.js","assets/BaseLayout.e1744dcc.css","assets/index.5d6b1e62.js","assets/Breadcrumb.26dec5f7.js","assets/index.c34a405a.js","assets/index.fb182bd1.js","assets/router.262190ec.js","assets/workspaceStore.6244d03d.js","assets/userStore.31024da3.js","assets/url.e8732f77.js","assets/colorHelpers.37d9932b.js","assets/useCodebaseEvents.53dec1f2.js","assets/contracts.generated.590b1102.js","assets/constants.7d38ec8b.js","assets/linters.2f3141cb.js","assets/asyncComputed.cf5282fc.js","assets/index.4176fe88.js","assets/ProjectLogin.21a71354.css"]),meta:{title:"Abstra Editor",allowUnauthenticated:!0}},{path:":pathMatch(.*)*",name:"editorFallback",redirect:"/_editor/"}]},{path:"/:path(.*)*",name:"player",component:()=>g(()=>import("./App.f62faff6.js"),["assets/App.f62faff6.js","assets/App.vue_vue_type_style_index_0_lang.5aa45ac1.js","assets/userStore.31024da3.js","assets/jwt-decode.esm.d4517a10.js","assets/jwt-decode.9f7a5511.css","assets/PlayerConfigProvider.e90a2b41.js","assets/colorHelpers.37d9932b.js","assets/PlayerConfigProvider.1ce9d3b1.css","assets/workspaceStore.6244d03d.js","assets/url.e8732f77.js","assets/App.0c2736ee.css"]),children:Le}],scrollBehavior(o){if(o.hash)return{el:o.hash}}}),Ee=ce(y);y.beforeEach(async(o,t)=>{if(await ue().actions.fetch(),o.meta.playerRoute)return Ee(o,t);J(o,t);const e=we();if(!o.meta.allowUnauthenticated&&!e.isLogged&&!await e.loadLogin()){const n={redirect:location.origin+"/_editor/project-login"};window.open(V.getLoginUrl(n),"_self")}});(async()=>{await de();const o=await le(),t=Y(),e=K({render:()=>ae(ve)});Q.init(),X(e,y,o),e.use(y),e.use(Z),e.use(t),e.mount("#app"),e.component("VSelect",ee),e.component("Markdown",te),e.component("Message",oe),b(e,ne),b(e,se),b(e,re)})();export{u as E,we as u};
2
+ //# sourceMappingURL=editor.3a4714e3.js.map
@@ -0,0 +1,2 @@
1
+ import{C as r,E as t,K as f,a as i,M as b,c,P as l,R as y,S as g,b as u,T as k,U as p,e as w,l as D}from"./toggleHighContrast.0d0e5662.js";import"./jwt-decode.esm.d4517a10.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},a=new Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="f515dfdc-ebf8-4fb7-8dce-82d18eb2efbf",e._sentryDebugIdIdentifier="sentry-dbid-f515dfdc-ebf8-4fb7-8dce-82d18eb2efbf")}catch{}})();export{r as CancellationTokenSource,t as Emitter,f as KeyCode,i as KeyMod,b as MarkerSeverity,c as MarkerTag,l as Position,y as Range,g as Selection,u as SelectionDirection,k as Token,p as Uri,w as editor,D as languages};
2
+ //# sourceMappingURL=editor.main.9c635b9a.js.map
@@ -0,0 +1,2 @@
1
+ import"./jwt-decode.esm.d4517a10.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},d=new Error().stack;d&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[d]="98ca47c3-bd4d-4721-9809-751a0c760618",e._sentryDebugIdIdentifier="sentry-dbid-98ca47c3-bd4d-4721-9809-751a0c760618")}catch{}})();const c=(...e)=>window.fetch(...e);export{c as l};
2
+ //# sourceMappingURL=fetch.89fd5b7b.js.map
@@ -1,2 +1,2 @@
1
- import{h as r}from"./router.8ccbba96.js";import"./jwt-decode.esm.e1e8e181.js";(function(){try{var n=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new Error().stack;e&&(n._sentryDebugIds=n._sentryDebugIds||{},n._sentryDebugIds[e]="6befbc70-15fd-4a32-9299-a47d420934ae",n._sentryDebugIdIdentifier="sentry-dbid-6befbc70-15fd-4a32-9299-a47d420934ae")}catch{}})();class d{async list(e){return r.get(`organizations/${e}/folders`)}async create(e){return r.post(`organizations/${e.organizationId}/folders`,{name:e.name,memberIds:e.memberIds})}async checkNameAvailability(e,a){return r.post(`organizations/${e}/folders/name-available`,{folderName:a})}async delete(e,a){return r.delete(`organizations/${e}/folders/${a}`)}async update(e,a){return r.patch(`organizations/${e}/folders/${a.id}/`,{name:a.name,memberIds:a.memberIds})}}export{d as F};
2
- //# sourceMappingURL=folder.fe6adcd2.js.map
1
+ import{k as r}from"./router.424f7da9.js";import"./jwt-decode.esm.d4517a10.js";(function(){try{var n=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new Error().stack;e&&(n._sentryDebugIds=n._sentryDebugIds||{},n._sentryDebugIds[e]="2bc1a5ab-552e-4254-a0ce-75a01637e7cc",n._sentryDebugIdIdentifier="sentry-dbid-2bc1a5ab-552e-4254-a0ce-75a01637e7cc")}catch{}})();class o{async list(e){return r.get(`organizations/${e}/folders`)}async create(e){return r.post(`organizations/${e.organizationId}/folders`,{name:e.name,memberIds:e.memberIds})}async checkNameAvailability(e,a){return r.post(`organizations/${e}/folders/name-available`,{folderName:a})}async delete(e,a){return r.delete(`organizations/${e}/folders/${a}`)}async update(e,a){return r.patch(`organizations/${e}/folders/${a.id}/`,{name:a.name,memberIds:a.memberIds})}}export{o as F};
2
+ //# sourceMappingURL=folder.d8e23009.js.map
@@ -1,4 +1,4 @@
1
- import{m as b}from"./toggleHighContrast.67a76682.js";import"./jwt-decode.esm.e1e8e181.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},n=new Error().stack;n&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[n]="f6494e38-e47b-4ec2-bf42-5f9f5ed29635",t._sentryDebugIdIdentifier="sentry-dbid-f6494e38-e47b-4ec2-bf42-5f9f5ed29635")}catch{}})();/*!-----------------------------------------------------------------------------
1
+ import{m as b}from"./toggleHighContrast.0d0e5662.js";import"./jwt-decode.esm.d4517a10.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},n=new Error().stack;n&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[n]="6e50a1a9-0b35-478e-a377-a1552241be4c",t._sentryDebugIdIdentifier="sentry-dbid-6e50a1a9-0b35-478e-a377-a1552241be4c")}catch{}})();/*!-----------------------------------------------------------------------------
2
2
  * Copyright (c) Microsoft Corporation. All rights reserved.
3
3
  * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f)
4
4
  * Released under the MIT license
@@ -6,4 +6,4 @@ import{m as b}from"./toggleHighContrast.67a76682.js";import"./jwt-decode.esm.e1e
6
6
  *-----------------------------------------------------------------------------*/var F=Object.defineProperty,x=Object.getOwnPropertyDescriptor,$=Object.getOwnPropertyNames,v=Object.prototype.hasOwnProperty,g=(t,n,_,e)=>{if(n&&typeof n=="object"||typeof n=="function")for(let o of $(n))!v.call(t,o)&&o!==_&&F(t,o,{get:()=>n[o],enumerable:!(e=x(n,o))||e.enumerable});return t},E=(t,n,_)=>(g(t,n,"default"),_&&g(_,n,"default")),r={};E(r,b);var d=["assign","flush","ftl","return","global","import","include","break","continue","local","nested","nt","setting","stop","t","lt","rt","fallback"],s=["attempt","autoesc","autoEsc","compress","comment","escape","noescape","function","if","list","items","sep","macro","noparse","noParse","noautoesc","noAutoEsc","outputformat","switch","visit","recurse"],a={close:">",id:"angle",open:"<"},u={close:"\\]",id:"bracket",open:"\\["},D={close:"[>\\]]",id:"auto",open:"[<\\[]"},k={close:"\\}",id:"dollar",open1:"\\$",open2:"\\{"},p={close:"\\]",id:"bracket",open1:"\\[",open2:"="};function l(t){return{brackets:[["<",">"],["[","]"],["(",")"],["{","}"]],comments:{blockComment:[`${t.open}--`,`--${t.close}`]},autoCloseBefore:`
7
7
  \r }]),.:;=`,autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"',notIn:["string"]},{open:"'",close:"'",notIn:["string"]}],surroundingPairs:[{open:'"',close:'"'},{open:"'",close:"'"},{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"}],folding:{markers:{start:new RegExp(`${t.open}#(?:${s.join("|")})([^/${t.close}]*(?!/)${t.close})[^${t.open}]*$`),end:new RegExp(`${t.open}/#(?:${s.join("|")})[\\r\\n\\t ]*>`)}},onEnterRules:[{beforeText:new RegExp(`${t.open}#(?!(?:${d.join("|")}))([a-zA-Z_]+)([^/${t.close}]*(?!/)${t.close})[^${t.open}]*$`),afterText:new RegExp(`^${t.open}/#([a-zA-Z_]+)[\\r\\n\\t ]*${t.close}$`),action:{indentAction:r.languages.IndentAction.IndentOutdent}},{beforeText:new RegExp(`${t.open}#(?!(?:${d.join("|")}))([a-zA-Z_]+)([^/${t.close}]*(?!/)${t.close})[^${t.open}]*$`),action:{indentAction:r.languages.IndentAction.Indent}}]}}function A(){return{brackets:[["<",">"],["[","]"],["(",")"],["{","}"]],autoCloseBefore:`
8
8
  \r }]),.:;=`,autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"',notIn:["string"]},{open:"'",close:"'",notIn:["string"]}],surroundingPairs:[{open:'"',close:'"'},{open:"'",close:"'"},{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"}],folding:{markers:{start:new RegExp(`[<\\[]#(?:${s.join("|")})([^/>\\]]*(?!/)[>\\]])[^<\\[]*$`),end:new RegExp(`[<\\[]/#(?:${s.join("|")})[\\r\\n\\t ]*>`)}},onEnterRules:[{beforeText:new RegExp(`[<\\[]#(?!(?:${d.join("|")}))([a-zA-Z_]+)([^/>\\]]*(?!/)[>\\]])[^[<\\[]]*$`),afterText:new RegExp("^[<\\[]/#([a-zA-Z_]+)[\\r\\n\\t ]*[>\\]]$"),action:{indentAction:r.languages.IndentAction.IndentOutdent}},{beforeText:new RegExp(`[<\\[]#(?!(?:${d.join("|")}))([a-zA-Z_]+)([^/>\\]]*(?!/)[>\\]])[^[<\\[]]*$`),action:{indentAction:r.languages.IndentAction.Indent}}]}}function i(t,n){const _=`_${t.id}_${n.id}`,e=c=>c.replace(/__id__/g,_),o=c=>{const f=c.source.replace(/__id__/g,_);return new RegExp(f,c.flags)};return{unicode:!0,includeLF:!1,start:e("default__id__"),ignoreCase:!1,defaultToken:"invalid",tokenPostfix:".freemarker2",brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"<",close:">",token:"delimiter.angle"}],[e("open__id__")]:new RegExp(t.open),[e("close__id__")]:new RegExp(t.close),[e("iOpen1__id__")]:new RegExp(n.open1),[e("iOpen2__id__")]:new RegExp(n.open2),[e("iClose__id__")]:new RegExp(n.close),[e("startTag__id__")]:o(/(@open__id__)(#)/),[e("endTag__id__")]:o(/(@open__id__)(\/#)/),[e("startOrEndTag__id__")]:o(/(@open__id__)(\/?#)/),[e("closeTag1__id__")]:o(/((?:@blank)*)(@close__id__)/),[e("closeTag2__id__")]:o(/((?:@blank)*\/?)(@close__id__)/),blank:/[ \t\n\r]/,keywords:["false","true","in","as","using"],directiveStartCloseTag1:/attempt|recover|sep|auto[eE]sc|no(?:autoe|AutoE)sc|compress|default|no[eE]scape|comment|no[pP]arse/,directiveStartCloseTag2:/else|break|continue|return|stop|flush|t|lt|rt|nt|nested|recurse|fallback|ftl/,directiveStartBlank:/if|else[iI]f|list|for[eE]ach|switch|case|assign|global|local|include|import|function|macro|transform|visit|stop|return|call|setting|output[fF]ormat|nested|recurse|escape|ftl|items/,directiveEndCloseTag1:/if|list|items|sep|recover|attempt|for[eE]ach|local|global|assign|function|macro|output[fF]ormat|auto[eE]sc|no(?:autoe|AutoE)sc|compress|transform|switch|escape|no[eE]scape/,escapedChar:/\\(?:[ntrfbgla\\'"\{=]|(?:x[0-9A-Fa-f]{1,4}))/,asciiDigit:/[0-9]/,integer:/[0-9]+/,nonEscapedIdStartChar:/[\$@-Z_a-z\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u1FFF\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183-\u2184\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3006\u3031-\u3035\u303B-\u303C\u3040-\u318F\u31A0-\u31BA\u31F0-\u31FF\u3300-\u337F\u3400-\u4DB5\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8D0-\uA8D9\uA8F2-\uA8F7\uA8FB\uA900-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF-\uA9D9\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA50-\uAA59\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5-\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uABC0-\uABE2\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40-\uFB41\uFB43-\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/,escapedIdChar:/\\[\-\.:#]/,idStartChar:/(?:@nonEscapedIdStartChar)|(?:@escapedIdChar)/,id:/(?:@idStartChar)(?:(?:@idStartChar)|(?:@asciiDigit))*/,specialHashKeys:/\*\*|\*|false|true|in|as|using/,namedSymbols:/&lt;=|&gt;=|\\lte|\\lt|&lt;|\\gte|\\gt|&gt;|&amp;&amp;|\\and|-&gt;|->|==|!=|\+=|-=|\*=|\/=|%=|\+\+|--|<=|&&|\|\||:|\.\.\.|\.\.\*|\.\.<|\.\.!|\?\?|=|<|\+|-|\*|\/|%|\||\.\.|\?|!|&|\.|,|;/,arrows:["->","-&gt;"],delimiters:[";",":",",","."],stringOperators:["lte","lt","gte","gt"],noParseTags:["noparse","noParse","comment"],tokenizer:{[e("default__id__")]:[{include:e("@directive_token__id__")},{include:e("@interpolation_and_text_token__id__")}],[e("fmExpression__id__.directive")]:[{include:e("@blank_and_expression_comment_token__id__")},{include:e("@directive_end_token__id__")},{include:e("@expression_token__id__")}],[e("fmExpression__id__.interpolation")]:[{include:e("@blank_and_expression_comment_token__id__")},{include:e("@expression_token__id__")},{include:e("@greater_operators_token__id__")}],[e("inParen__id__.plain")]:[{include:e("@blank_and_expression_comment_token__id__")},{include:e("@directive_end_token__id__")},{include:e("@expression_token__id__")}],[e("inParen__id__.gt")]:[{include:e("@blank_and_expression_comment_token__id__")},{include:e("@expression_token__id__")},{include:e("@greater_operators_token__id__")}],[e("noSpaceExpression__id__")]:[{include:e("@no_space_expression_end_token__id__")},{include:e("@directive_end_token__id__")},{include:e("@expression_token__id__")}],[e("unifiedCall__id__")]:[{include:e("@unified_call_token__id__")}],[e("singleString__id__")]:[{include:e("@string_single_token__id__")}],[e("doubleString__id__")]:[{include:e("@string_double_token__id__")}],[e("rawSingleString__id__")]:[{include:e("@string_single_raw_token__id__")}],[e("rawDoubleString__id__")]:[{include:e("@string_double_raw_token__id__")}],[e("expressionComment__id__")]:[{include:e("@expression_comment_token__id__")}],[e("noParse__id__")]:[{include:e("@no_parse_token__id__")}],[e("terseComment__id__")]:[{include:e("@terse_comment_token__id__")}],[e("directive_token__id__")]:[[o(/(?:@startTag__id__)(@directiveStartCloseTag1)(?:@closeTag1__id__)/),t.id==="auto"?{cases:{"$1==<":{token:"@rematch",switchTo:`@default_angle_${n.id}`},"$1==[":{token:"@rematch",switchTo:`@default_bracket_${n.id}`}}}:[{token:"@brackets.directive"},{token:"delimiter.directive"},{cases:{"@noParseTags":{token:"tag",next:e("@noParse__id__.$3")},"@default":{token:"tag"}}},{token:"delimiter.directive"},{token:"@brackets.directive"}]],[o(/(?:@startTag__id__)(@directiveStartCloseTag2)(?:@closeTag2__id__)/),t.id==="auto"?{cases:{"$1==<":{token:"@rematch",switchTo:`@default_angle_${n.id}`},"$1==[":{token:"@rematch",switchTo:`@default_bracket_${n.id}`}}}:[{token:"@brackets.directive"},{token:"delimiter.directive"},{token:"tag"},{token:"delimiter.directive"},{token:"@brackets.directive"}]],[o(/(?:@startTag__id__)(@directiveStartBlank)(@blank)/),t.id==="auto"?{cases:{"$1==<":{token:"@rematch",switchTo:`@default_angle_${n.id}`},"$1==[":{token:"@rematch",switchTo:`@default_bracket_${n.id}`}}}:[{token:"@brackets.directive"},{token:"delimiter.directive"},{token:"tag"},{token:"",next:e("@fmExpression__id__.directive")}]],[o(/(?:@endTag__id__)(@directiveEndCloseTag1)(?:@closeTag1__id__)/),t.id==="auto"?{cases:{"$1==<":{token:"@rematch",switchTo:`@default_angle_${n.id}`},"$1==[":{token:"@rematch",switchTo:`@default_bracket_${n.id}`}}}:[{token:"@brackets.directive"},{token:"delimiter.directive"},{token:"tag"},{token:"delimiter.directive"},{token:"@brackets.directive"}]],[o(/(@open__id__)(@)/),t.id==="auto"?{cases:{"$1==<":{token:"@rematch",switchTo:`@default_angle_${n.id}`},"$1==[":{token:"@rematch",switchTo:`@default_bracket_${n.id}`}}}:[{token:"@brackets.directive"},{token:"delimiter.directive",next:e("@unifiedCall__id__")}]],[o(/(@open__id__)(\/@)((?:(?:@id)(?:\.(?:@id))*)?)(?:@closeTag1__id__)/),[{token:"@brackets.directive"},{token:"delimiter.directive"},{token:"tag"},{token:"delimiter.directive"},{token:"@brackets.directive"}]],[o(/(@open__id__)#--/),t.id==="auto"?{cases:{"$1==<":{token:"@rematch",switchTo:`@default_angle_${n.id}`},"$1==[":{token:"@rematch",switchTo:`@default_bracket_${n.id}`}}}:{token:"comment",next:e("@terseComment__id__")}],[o(/(?:@startOrEndTag__id__)([a-zA-Z_]+)/),t.id==="auto"?{cases:{"$1==<":{token:"@rematch",switchTo:`@default_angle_${n.id}`},"$1==[":{token:"@rematch",switchTo:`@default_bracket_${n.id}`}}}:[{token:"@brackets.directive"},{token:"delimiter.directive"},{token:"tag.invalid",next:e("@fmExpression__id__.directive")}]]],[e("interpolation_and_text_token__id__")]:[[o(/(@iOpen1__id__)(@iOpen2__id__)/),[{token:n.id==="bracket"?"@brackets.interpolation":"delimiter.interpolation"},{token:n.id==="bracket"?"delimiter.interpolation":"@brackets.interpolation",next:e("@fmExpression__id__.interpolation")}]],[/[\$#<\[\{]|(?:@blank)+|[^\$<#\[\{\n\r\t ]+/,{token:"source"}]],[e("string_single_token__id__")]:[[/[^'\\]/,{token:"string"}],[/@escapedChar/,{token:"string.escape"}],[/'/,{token:"string",next:"@pop"}]],[e("string_double_token__id__")]:[[/[^"\\]/,{token:"string"}],[/@escapedChar/,{token:"string.escape"}],[/"/,{token:"string",next:"@pop"}]],[e("string_single_raw_token__id__")]:[[/[^']+/,{token:"string.raw"}],[/'/,{token:"string.raw",next:"@pop"}]],[e("string_double_raw_token__id__")]:[[/[^"]+/,{token:"string.raw"}],[/"/,{token:"string.raw",next:"@pop"}]],[e("expression_token__id__")]:[[/(r?)(['"])/,{cases:{"r'":[{token:"keyword"},{token:"string.raw",next:e("@rawSingleString__id__")}],'r"':[{token:"keyword"},{token:"string.raw",next:e("@rawDoubleString__id__")}],"'":[{token:"source"},{token:"string",next:e("@singleString__id__")}],'"':[{token:"source"},{token:"string",next:e("@doubleString__id__")}]}}],[/(?:@integer)(?:\.(?:@integer))?/,{cases:{"(?:@integer)":{token:"number"},"@default":{token:"number.float"}}}],[/(\.)(@blank*)(@specialHashKeys)/,[{token:"delimiter"},{token:""},{token:"identifier"}]],[/(?:@namedSymbols)/,{cases:{"@arrows":{token:"meta.arrow"},"@delimiters":{token:"delimiter"},"@default":{token:"operators"}}}],[/@id/,{cases:{"@keywords":{token:"keyword.$0"},"@stringOperators":{token:"operators"},"@default":{token:"identifier"}}}],[/[\[\]\(\)\{\}]/,{cases:{"\\[":{cases:{"$S2==gt":{token:"@brackets",next:e("@inParen__id__.gt")},"@default":{token:"@brackets",next:e("@inParen__id__.plain")}}},"\\]":{cases:{...n.id==="bracket"?{"$S2==interpolation":{token:"@brackets.interpolation",next:"@popall"}}:{},...t.id==="bracket"?{"$S2==directive":{token:"@brackets.directive",next:"@popall"}}:{},[e("$S1==inParen__id__")]:{token:"@brackets",next:"@pop"},"@default":{token:"@brackets"}}},"\\(":{token:"@brackets",next:e("@inParen__id__.gt")},"\\)":{cases:{[e("$S1==inParen__id__")]:{token:"@brackets",next:"@pop"},"@default":{token:"@brackets"}}},"\\{":{cases:{"$S2==gt":{token:"@brackets",next:e("@inParen__id__.gt")},"@default":{token:"@brackets",next:e("@inParen__id__.plain")}}},"\\}":{cases:{...n.id==="bracket"?{}:{"$S2==interpolation":{token:"@brackets.interpolation",next:"@popall"}},[e("$S1==inParen__id__")]:{token:"@brackets",next:"@pop"},"@default":{token:"@brackets"}}}}}],[/\$\{/,{token:"delimiter.invalid"}]],[e("blank_and_expression_comment_token__id__")]:[[/(?:@blank)+/,{token:""}],[/[<\[][#!]--/,{token:"comment",next:e("@expressionComment__id__")}]],[e("directive_end_token__id__")]:[[/>/,t.id==="bracket"?{token:"operators"}:{token:"@brackets.directive",next:"@popall"}],[o(/(\/)(@close__id__)/),[{token:"delimiter.directive"},{token:"@brackets.directive",next:"@popall"}]]],[e("greater_operators_token__id__")]:[[/>/,{token:"operators"}],[/>=/,{token:"operators"}]],[e("no_space_expression_end_token__id__")]:[[/(?:@blank)+/,{token:"",switchTo:e("@fmExpression__id__.directive")}]],[e("unified_call_token__id__")]:[[/(@id)((?:@blank)+)/,[{token:"tag"},{token:"",next:e("@fmExpression__id__.directive")}]],[o(/(@id)(\/?)(@close__id__)/),[{token:"tag"},{token:"delimiter.directive"},{token:"@brackets.directive",next:"@popall"}]],[/./,{token:"@rematch",next:e("@noSpaceExpression__id__")}]],[e("no_parse_token__id__")]:[[o(/(@open__id__)(\/#?)([a-zA-Z]+)((?:@blank)*)(@close__id__)/),{cases:{"$S2==$3":[{token:"@brackets.directive"},{token:"delimiter.directive"},{token:"tag"},{token:""},{token:"@brackets.directive",next:"@popall"}],"$S2==comment":[{token:"comment"},{token:"comment"},{token:"comment"},{token:"comment"},{token:"comment"}],"@default":[{token:"source"},{token:"source"},{token:"source"},{token:"source"},{token:"source"}]}}],[/[^<\[\-]+|[<\[\-]/,{cases:{"$S2==comment":{token:"comment"},"@default":{token:"source"}}}]],[e("expression_comment_token__id__")]:[[/--[>\]]/,{token:"comment",next:"@pop"}],[/[^\->\]]+|[>\]\-]/,{token:"comment"}]],[e("terse_comment_token__id__")]:[[o(/--(?:@close__id__)/),{token:"comment",next:"@popall"}],[/[^<\[\-]+|[<\[\-]/,{token:"comment"}]]}}}function m(t){const n=i(a,t),_=i(u,t),e=i(D,t);return{...n,..._,...e,unicode:!0,includeLF:!1,start:`default_auto_${t.id}`,ignoreCase:!1,defaultToken:"invalid",tokenPostfix:".freemarker2",brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"<",close:">",token:"delimiter.angle"}],tokenizer:{...n.tokenizer,..._.tokenizer,...e.tokenizer}}}var w={conf:l(a),language:i(a,k)},h={conf:l(u),language:i(u,k)},T={conf:l(a),language:i(a,p)},S={conf:l(u),language:i(u,p)},y={conf:A(),language:m(k)},P={conf:A(),language:m(p)};export{T as TagAngleInterpolationBracket,w as TagAngleInterpolationDollar,P as TagAutoInterpolationBracket,y as TagAutoInterpolationDollar,S as TagBracketInterpolationBracket,h as TagBracketInterpolationDollar};
9
- //# sourceMappingURL=freemarker2.8bd96640.js.map
9
+ //# sourceMappingURL=freemarker2.6698d1ea.js.map
@@ -1,7 +1,7 @@
1
- import{m as l}from"./toggleHighContrast.67a76682.js";import"./jwt-decode.esm.e1e8e181.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]="4e512b74-6adc-4b39-a700-75f0e5134a33",t._sentryDebugIdIdentifier="sentry-dbid-4e512b74-6adc-4b39-a700-75f0e5134a33")}catch{}})();/*!-----------------------------------------------------------------------------
1
+ import{m as l}from"./toggleHighContrast.0d0e5662.js";import"./jwt-decode.esm.d4517a10.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]="e733fa60-cbc0-4521-bbe6-a233d3021ff1",t._sentryDebugIdIdentifier="sentry-dbid-e733fa60-cbc0-4521-bbe6-a233d3021ff1")}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 d=Object.defineProperty,s=Object.getOwnPropertyDescriptor,c=Object.getOwnPropertyNames,p=Object.prototype.hasOwnProperty,i=(t,e,n,o)=>{if(e&&typeof e=="object"||typeof e=="function")for(let r of c(e))!p.call(t,r)&&r!==n&&d(t,r,{get:()=>e[r],enumerable:!(o=s(e,r))||o.enumerable});return t},h=(t,e,n)=>(i(t,e,"default"),n&&i(n,e,"default")),a={};h(a,l);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:[[/\{\{!--/,"comment.block.start.handlebars","@commentBlock"],[/\{\{!/,"comment.start.handlebars","@comment"],[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.root"}],[/<!DOCTYPE/,"metatag.html","@doctype"],[/<!--/,"comment.html","@commentHtml"],[/(<)(\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"],[/\{/,"delimiter.html"],[/[^<{]+/]],doctype:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.comment"}],[/[^>]+/,"metatag.content.html"],[/>/,"metatag.html","@pop"]],comment:[[/\}\}/,"comment.end.handlebars","@pop"],[/./,"comment.content.handlebars"]],commentBlock:[[/--\}\}/,"comment.block.end.handlebars","@pop"],[/./,"comment.content.handlebars"]],commentHtml:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.comment"}],[/-->/,"comment.html","@pop"],[/[^-]+/,"comment.content.html"],[/./,"comment.content.html"]],otherTag:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.otherTag"}],[/\/?>/,"delimiter.html","@pop"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/]],script:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.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:"@handlebarsInSimpleState.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:"@handlebarsInSimpleState.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:"@handlebarsInSimpleState.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:"@handlebarsInEmbeddedState.scriptEmbedded.$S2",nextEmbedded:"@pop"}],[/<\/script/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}]],style:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.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:"@handlebarsInSimpleState.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:"@handlebarsInSimpleState.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:"@handlebarsInSimpleState.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:"@handlebarsInEmbeddedState.styleEmbedded.$S2",nextEmbedded:"@pop"}],[/<\/style/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}]],handlebarsInSimpleState:[[/\{\{\{?/,"delimiter.handlebars"],[/\}\}\}?/,{token:"delimiter.handlebars",switchTo:"@$S2.$S3"}],{include:"handlebarsRoot"}],handlebarsInEmbeddedState:[[/\{\{\{?/,"delimiter.handlebars"],[/\}\}\}?/,{token:"delimiter.handlebars",switchTo:"@$S2.$S3",nextEmbedded:"$S3"}],{include:"handlebarsRoot"}],handlebarsRoot:[[/"[^"]*"/,"string.handlebars"],[/[#/][^\s}]+/,"keyword.helper.handlebars"],[/else\b/,"keyword.helper.handlebars"],[/[\s]+/],[/[^}]/,"variable.parameter.handlebars"]]}};export{y as conf,k as language};
7
- //# sourceMappingURL=handlebars.e5dd9b19.js.map
7
+ //# sourceMappingURL=handlebars.a6c42dc0.js.map
@@ -1,7 +1,7 @@
1
- import{m as s}from"./toggleHighContrast.67a76682.js";import"./jwt-decode.esm.e1e8e181.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]="68771480-bdb8-4d99-aae6-472aaad7de76",t._sentryDebugIdIdentifier="sentry-dbid-68771480-bdb8-4d99-aae6-472aaad7de76")}catch{}})();/*!-----------------------------------------------------------------------------
1
+ import{m as s}from"./toggleHighContrast.0d0e5662.js";import"./jwt-decode.esm.d4517a10.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]="f31c0d7e-6d67-4030-b7bd-ae181be6953f",t._sentryDebugIdIdentifier="sentry-dbid-f31c0d7e-6d67-4030-b7bd-ae181be6953f")}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 p=Object.defineProperty,l=Object.getOwnPropertyDescriptor,m=Object.getOwnPropertyNames,c=Object.prototype.hasOwnProperty,a=(t,e,r,o)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of m(e))!c.call(t,n)&&n!==r&&p(t,n,{get:()=>e[n],enumerable:!(o=l(e,n))||o.enumerable});return t},u=(t,e,r)=>(a(t,e,"default"),r&&a(r,e,"default")),i={};u(i,s);var d=["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"],x={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:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"}],onEnterRules:[{beforeText:new RegExp(`<(?!(?:${d.join("|")}))([_:\\w][_:\\w-.\\d]*)([^/>]*(?!/)>)[^<]*$`,"i"),afterText:/^<\/([_:\w][_:\w-.\d]*)\s*>$/i,action:{indentAction:i.languages.IndentAction.IndentOutdent}},{beforeText:new RegExp(`<(?!(?:${d.join("|")}))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$`,"i"),action:{indentAction:i.languages.IndentAction.Indent}}],folding:{markers:{start:new RegExp("^\\s*<!--\\s*#region\\b.*-->"),end:new RegExp("^\\s*<!--\\s*#endregion\\b.*-->")}}},g={defaultToken:"",tokenPostfix:".html",ignoreCase:!0,tokenizer:{root:[[/<!DOCTYPE/,"metatag","@doctype"],[/<!--/,"comment","@comment"],[/(<)((?:[\w\-]+:)?[\w\-]+)(\s*)(\/>)/,["delimiter","tag","","delimiter"]],[/(<)(script)/,["delimiter",{token:"tag",next:"@script"}]],[/(<)(style)/,["delimiter",{token:"tag",next:"@style"}]],[/(<)((?:[\w\-]+:)?[\w\-]+)/,["delimiter",{token:"tag",next:"@otherTag"}]],[/(<\/)((?:[\w\-]+:)?[\w\-]+)/,["delimiter",{token:"tag",next:"@otherTag"}]],[/</,"delimiter"],[/[^<]+/]],doctype:[[/[^>]+/,"metatag.content"],[/>/,"metatag","@pop"]],comment:[[/-->/,"comment","@pop"],[/[^-]+/,"comment.content"],[/./,"comment.content"]],otherTag:[[/\/?>/,"delimiter","@pop"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/]],script:[[/type/,"attribute.name","@scriptAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter",next:"@scriptEmbedded",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/(<\/)(script\s*)(>)/,["delimiter","tag",{token:"delimiter",next:"@pop"}]]],scriptAfterType:[[/=/,"delimiter","@scriptAfterTypeEquals"],[/>/,{token:"delimiter",next:"@scriptEmbedded",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptAfterTypeEquals:[[/"module"/,{token:"attribute.value",switchTo:"@scriptWithCustomType.text/javascript"}],[/'module'/,{token:"attribute.value",switchTo:"@scriptWithCustomType.text/javascript"}],[/"([^"]*)"/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/>/,{token:"delimiter",next:"@scriptEmbedded",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptWithCustomType:[[/>/,{token:"delimiter",next:"@scriptEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptEmbedded:[[/<\/script/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}],[/[^<]+/,""]],style:[[/type/,"attribute.name","@styleAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter",next:"@styleEmbedded",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/(<\/)(style\s*)(>)/,["delimiter","tag",{token:"delimiter",next:"@pop"}]]],styleAfterType:[[/=/,"delimiter","@styleAfterTypeEquals"],[/>/,{token:"delimiter",next:"@styleEmbedded",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleAfterTypeEquals:[[/"([^"]*)"/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/>/,{token:"delimiter",next:"@styleEmbedded",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleWithCustomType:[[/>/,{token:"delimiter",next:"@styleEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleEmbedded:[[/<\/style/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}],[/[^<]+/,""]]}};export{x as conf,g as language};
7
- //# sourceMappingURL=html.7bcef916.js.map
7
+ //# sourceMappingURL=html.493a5410.js.map
@@ -1,4 +1,4 @@
1
- var $e=Object.defineProperty;var qe=(e,n,i)=>n in e?$e(e,n,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[n]=i;var E=(e,n,i)=>(qe(e,typeof n!="symbol"?n+"":n,i),i);import{m as Qe}from"./toggleHighContrast.67a76682.js";import"./jwt-decode.esm.e1e8e181.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]="4617e6a9-fff7-4759-a47e-4270bdd9537b",e._sentryDebugIdIdentifier="sentry-dbid-4617e6a9-fff7-4759-a47e-4270bdd9537b")}catch{}})();/*!-----------------------------------------------------------------------------
1
+ var $e=Object.defineProperty;var qe=(e,n,i)=>n in e?$e(e,n,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[n]=i;var E=(e,n,i)=>(qe(e,typeof n!="symbol"?n+"":n,i),i);import{m as Qe}from"./toggleHighContrast.0d0e5662.js";import"./jwt-decode.esm.d4517a10.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]="134e2dde-e8c6-41f3-9821-24e1add634a0",e._sentryDebugIdIdentifier="sentry-dbid-134e2dde-e8c6-41f3-9821-24e1add634a0")}catch{}})();/*!-----------------------------------------------------------------------------
2
2
  * Copyright (c) Microsoft Corporation. All rights reserved.
3
3
  * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f)
4
4
  * Released under the MIT license
@@ -7,4 +7,4 @@ var $e=Object.defineProperty;var qe=(e,n,i)=>n in e?$e(e,n,{enumerable:!0,config
7
7
  `,a==="\r"&&t+1<i.length&&i.charAt(t+1)===`
8
8
  `&&t++}r&&i.length>0&&n.push(i.length),this._lineOffsets=n}return this._lineOffsets},e.prototype.positionAt=function(n){n=Math.max(Math.min(n,this._content.length),0);var i=this.getLineOffsets(),r=0,t=i.length;if(t===0)return k.create(0,n);for(;r<t;){var a=Math.floor((r+t)/2);i[a]>n?t=a:r=a+1}var o=r-1;return k.create(o,n-i[o])},e.prototype.offsetAt=function(n){var i=this.getLineOffsets();if(n.line>=i.length)return this._content.length;if(n.line<0)return 0;var r=i[n.line],t=n.line+1<i.length?i[n.line+1]:this._content.length;return Math.max(Math.min(r+n.character,t),r)},Object.defineProperty(e.prototype,"lineCount",{get:function(){return this.getLineOffsets().length},enumerable:!1,configurable:!0}),e}(),s;(function(e){var n=Object.prototype.toString;function i(f){return typeof f<"u"}e.defined=i;function r(f){return typeof f>"u"}e.undefined=r;function t(f){return f===!0||f===!1}e.boolean=t;function a(f){return n.call(f)==="[object String]"}e.string=a;function o(f){return n.call(f)==="[object Number]"}e.number=o;function u(f,I,N){return n.call(f)==="[object Number]"&&I<=f&&f<=N}e.numberRange=u;function g(f){return n.call(f)==="[object Number]"&&-2147483648<=f&&f<=2147483647}e.integer=g;function d(f){return n.call(f)==="[object Number]"&&0<=f&&f<=2147483647}e.uinteger=d;function v(f){return n.call(f)==="[object Function]"}e.func=v;function w(f){return f!==null&&typeof f=="object"}e.objectLiteral=w;function b(f,I){return Array.isArray(f)&&f.every(I)}e.typedArray=b})(s||(s={}));var mt=class{constructor(e,n,i){E(this,"_disposables",[]);E(this,"_listener",Object.create(null));this._languageId=e,this._worker=n;const r=a=>{let o=a.getLanguageId();if(o!==this._languageId)return;let u;this._listener[a.uri.toString()]=a.onDidChangeContent(()=>{window.clearTimeout(u),u=window.setTimeout(()=>this._doValidate(a.uri,o),500)}),this._doValidate(a.uri,o)},t=a=>{c.editor.setModelMarkers(a,this._languageId,[]);let o=a.uri.toString(),u=this._listener[o];u&&(u.dispose(),delete this._listener[o])};this._disposables.push(c.editor.onDidCreateModel(r)),this._disposables.push(c.editor.onWillDisposeModel(t)),this._disposables.push(c.editor.onDidChangeModelLanguage(a=>{t(a.model),r(a.model)})),this._disposables.push(i(a=>{c.editor.getModels().forEach(o=>{o.getLanguageId()===this._languageId&&(t(o),r(o))})})),this._disposables.push({dispose:()=>{c.editor.getModels().forEach(t);for(let a in this._listener)this._listener[a].dispose()}}),c.editor.getModels().forEach(r)}dispose(){this._disposables.forEach(e=>e&&e.dispose()),this._disposables.length=0}_doValidate(e,n){this._worker(e).then(i=>i.doValidation(e.toString())).then(i=>{const r=i.map(a=>nt(e,a));let t=c.editor.getModel(e);t&&t.getLanguageId()===n&&c.editor.setModelMarkers(t,n,r)}).then(void 0,i=>{console.error(i)})}};function rt(e){switch(e){case A.Error:return c.MarkerSeverity.Error;case A.Warning:return c.MarkerSeverity.Warning;case A.Information:return c.MarkerSeverity.Info;case A.Hint:return c.MarkerSeverity.Hint;default:return c.MarkerSeverity.Info}}function nt(e,n){let i=typeof n.code=="number"?String(n.code):n.code;return{severity:rt(n.severity),startLineNumber:n.range.start.line+1,startColumn:n.range.start.character+1,endLineNumber:n.range.end.line+1,endColumn:n.range.end.character+1,message:n.message,code:i,source:n.source}}var it=class{constructor(e,n){this._worker=e,this._triggerCharacters=n}get triggerCharacters(){return this._triggerCharacters}provideCompletionItems(e,n,i,r){const t=e.uri;return this._worker(t).then(a=>a.doComplete(t.toString(),C(n))).then(a=>{if(!a)return;const o=e.getWordUntilPosition(n),u=new c.Range(n.lineNumber,o.startColumn,n.lineNumber,o.endColumn),g=a.items.map(d=>{const v={label:d.label,insertText:d.insertText||d.label,sortText:d.sortText,filterText:d.filterText,documentation:d.documentation,detail:d.detail,command:st(d.command),range:u,kind:ot(d.kind)};return d.textEdit&&(at(d.textEdit)?v.range={insert:_(d.textEdit.insert),replace:_(d.textEdit.replace)}:v.range=_(d.textEdit.range),v.insertText=d.textEdit.newText),d.additionalTextEdits&&(v.additionalTextEdits=d.additionalTextEdits.map(j)),d.insertTextFormat===G.Snippet&&(v.insertTextRules=c.languages.CompletionItemInsertTextRule.InsertAsSnippet),v});return{isIncomplete:a.isIncomplete,suggestions:g}})}};function C(e){if(!!e)return{character:e.column-1,line:e.lineNumber-1}}function Se(e){if(!!e)return{start:{line:e.startLineNumber-1,character:e.startColumn-1},end:{line:e.endLineNumber-1,character:e.endColumn-1}}}function _(e){if(!!e)return new c.Range(e.start.line+1,e.start.character+1,e.end.line+1,e.end.character+1)}function at(e){return typeof e.insert<"u"&&typeof e.replace<"u"}function ot(e){const n=c.languages.CompletionItemKind;switch(e){case l.Text:return n.Text;case l.Method:return n.Method;case l.Function:return n.Function;case l.Constructor:return n.Constructor;case l.Field:return n.Field;case l.Variable:return n.Variable;case l.Class:return n.Class;case l.Interface:return n.Interface;case l.Module:return n.Module;case l.Property:return n.Property;case l.Unit:return n.Unit;case l.Value:return n.Value;case l.Enum:return n.Enum;case l.Keyword:return n.Keyword;case l.Snippet:return n.Snippet;case l.Color:return n.Color;case l.File:return n.File;case l.Reference:return n.Reference}return n.Property}function j(e){if(!!e)return{range:_(e.range),text:e.newText}}function st(e){return e&&e.command==="editor.action.triggerSuggest"?{id:e.command,title:e.title,arguments:e.arguments}:void 0}var Te=class{constructor(e){this._worker=e}provideHover(e,n,i){let r=e.uri;return this._worker(r).then(t=>t.doHover(r.toString(),C(n))).then(t=>{if(!!t)return{range:_(t.range),contents:ct(t.contents)}})}};function ut(e){return e&&typeof e=="object"&&typeof e.kind=="string"}function Re(e){return typeof e=="string"?{value:e}:ut(e)?e.kind==="plaintext"?{value:e.value.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")}:{value:e.value}:{value:"```"+e.language+`
9
9
  `+e.value+"\n```\n"}}function ct(e){if(!!e)return Array.isArray(e)?e.map(Re):[Re(e)]}var Fe=class{constructor(e){this._worker=e}provideDocumentHighlights(e,n,i){const r=e.uri;return this._worker(r).then(t=>t.findDocumentHighlights(r.toString(),C(n))).then(t=>{if(!!t)return t.map(a=>({range:_(a.range),kind:dt(a.kind)}))})}};function dt(e){switch(e){case D.Read:return c.languages.DocumentHighlightKind.Read;case D.Write:return c.languages.DocumentHighlightKind.Write;case D.Text:return c.languages.DocumentHighlightKind.Text}return c.languages.DocumentHighlightKind.Text}var _t=class{constructor(e){this._worker=e}provideDefinition(e,n,i){const r=e.uri;return this._worker(r).then(t=>t.findDefinition(r.toString(),C(n))).then(t=>{if(!!t)return[Le(t)]})}};function Le(e){return{uri:c.Uri.parse(e.uri),range:_(e.range)}}var wt=class{constructor(e){this._worker=e}provideReferences(e,n,i,r){const t=e.uri;return this._worker(t).then(a=>a.findReferences(t.toString(),C(n))).then(a=>{if(!!a)return a.map(Le)})}},je=class{constructor(e){this._worker=e}provideRenameEdits(e,n,i,r){const t=e.uri;return this._worker(t).then(a=>a.doRename(t.toString(),C(n),i)).then(a=>ft(a))}};function ft(e){if(!e||!e.changes)return;let n=[];for(let i in e.changes){const r=c.Uri.parse(i);for(let t of e.changes[i])n.push({resource:r,versionId:void 0,textEdit:{range:_(t.range),text:t.newText}})}return{edits:n}}var Ne=class{constructor(e){this._worker=e}provideDocumentSymbols(e,n){const i=e.uri;return this._worker(i).then(r=>r.findDocumentSymbols(i.toString())).then(r=>{if(!!r)return r.map(t=>({name:t.name,detail:"",containerName:t.containerName,kind:gt(t.kind),range:_(t.location.range),selectionRange:_(t.location.range),tags:[]}))})}};function gt(e){let n=c.languages.SymbolKind;switch(e){case h.File:return n.Array;case h.Module:return n.Module;case h.Namespace:return n.Namespace;case h.Package:return n.Package;case h.Class:return n.Class;case h.Method:return n.Method;case h.Property:return n.Property;case h.Field:return n.Field;case h.Constructor:return n.Constructor;case h.Enum:return n.Enum;case h.Interface:return n.Interface;case h.Function:return n.Function;case h.Variable:return n.Variable;case h.Constant:return n.Constant;case h.String:return n.String;case h.Number:return n.Number;case h.Boolean:return n.Boolean;case h.Array:return n.Array}return n.Function}var We=class{constructor(e){this._worker=e}provideLinks(e,n){const i=e.uri;return this._worker(i).then(r=>r.findDocumentLinks(i.toString())).then(r=>{if(!!r)return{links:r.map(t=>({range:_(t.range),url:t.target}))}})}},He=class{constructor(e){this._worker=e}provideDocumentFormattingEdits(e,n,i){const r=e.uri;return this._worker(r).then(t=>t.format(r.toString(),null,Oe(n)).then(a=>{if(!(!a||a.length===0))return a.map(j)}))}},Ue=class{constructor(e){this._worker=e}provideDocumentRangeFormattingEdits(e,n,i,r){const t=e.uri;return this._worker(t).then(a=>a.format(t.toString(),Se(n),Oe(i)).then(o=>{if(!(!o||o.length===0))return o.map(j)}))}};function Oe(e){return{tabSize:e.tabSize,insertSpaces:e.insertSpaces}}var kt=class{constructor(e){this._worker=e}provideDocumentColors(e,n){const i=e.uri;return this._worker(i).then(r=>r.findDocumentColors(i.toString())).then(r=>{if(!!r)return r.map(t=>({color:t.color,range:_(t.range)}))})}provideColorPresentations(e,n,i){const r=e.uri;return this._worker(r).then(t=>t.getColorPresentations(r.toString(),n.color,Se(n.range))).then(t=>{if(!!t)return t.map(a=>{let o={label:a.label};return a.textEdit&&(o.textEdit=j(a.textEdit)),a.additionalTextEdits&&(o.additionalTextEdits=a.additionalTextEdits.map(j)),o})})}},Ve=class{constructor(e){this._worker=e}provideFoldingRanges(e,n,i){const r=e.uri;return this._worker(r).then(t=>t.getFoldingRanges(r.toString(),n)).then(t=>{if(!!t)return t.map(a=>{const o={start:a.startLine+1,end:a.endLine+1};return typeof a.kind<"u"&&(o.kind=lt(a.kind)),o})})}};function lt(e){switch(e){case R.Comment:return c.languages.FoldingRangeKind.Comment;case R.Imports:return c.languages.FoldingRangeKind.Imports;case R.Region:return c.languages.FoldingRangeKind.Region}}var ze=class{constructor(e){this._worker=e}provideSelectionRanges(e,n,i){const r=e.uri;return this._worker(r).then(t=>t.getSelectionRanges(r.toString(),n.map(C))).then(t=>{if(!!t)return t.map(a=>{const o=[];for(;a;)o.push({range:_(a.range)}),a=a.parent;return o})})}},Xe=class extends it{constructor(e){super(e,[".",":","<",'"',"=","/"])}};function bt(e){const n=new Me(e),i=(...t)=>n.getLanguageServiceWorker(...t);let r=e.languageId;c.languages.registerCompletionItemProvider(r,new Xe(i)),c.languages.registerHoverProvider(r,new Te(i)),c.languages.registerDocumentHighlightProvider(r,new Fe(i)),c.languages.registerLinkProvider(r,new We(i)),c.languages.registerFoldingRangeProvider(r,new Ve(i)),c.languages.registerDocumentSymbolProvider(r,new Ne(i)),c.languages.registerSelectionRangeProvider(r,new ze(i)),c.languages.registerRenameProvider(r,new je(i)),r==="html"&&(c.languages.registerDocumentFormattingEditProvider(r,new He(i)),c.languages.registerDocumentRangeFormattingEditProvider(r,new Ue(i)))}function Et(e){const n=[],i=[],r=new Me(e);n.push(r);const t=(...o)=>r.getLanguageServiceWorker(...o);function a(){const{languageId:o,modeConfiguration:u}=e;Be(i),u.completionItems&&i.push(c.languages.registerCompletionItemProvider(o,new Xe(t))),u.hovers&&i.push(c.languages.registerHoverProvider(o,new Te(t))),u.documentHighlights&&i.push(c.languages.registerDocumentHighlightProvider(o,new Fe(t))),u.links&&i.push(c.languages.registerLinkProvider(o,new We(t))),u.documentSymbols&&i.push(c.languages.registerDocumentSymbolProvider(o,new Ne(t))),u.rename&&i.push(c.languages.registerRenameProvider(o,new je(t))),u.foldingRanges&&i.push(c.languages.registerFoldingRangeProvider(o,new Ve(t))),u.selectionRanges&&i.push(c.languages.registerSelectionRangeProvider(o,new ze(t))),u.documentFormattingEdits&&i.push(c.languages.registerDocumentFormattingEditProvider(o,new He(t))),u.documentRangeFormattingEdits&&i.push(c.languages.registerDocumentRangeFormattingEditProvider(o,new Ue(t)))}return a(),n.push(De(i)),De(n)}function De(e){return{dispose:()=>Be(e)}}function Be(e){for(;e.length;)e.pop().dispose()}export{it as CompletionAdapter,_t as DefinitionAdapter,mt as DiagnosticsAdapter,kt as DocumentColorAdapter,He as DocumentFormattingEditProvider,Fe as DocumentHighlightAdapter,We as DocumentLinkAdapter,Ue as DocumentRangeFormattingEditProvider,Ne as DocumentSymbolAdapter,Ve as FoldingRangeAdapter,Te as HoverAdapter,wt as ReferenceAdapter,je as RenameAdapter,ze as SelectionRangeAdapter,Me as WorkerManager,C as fromPosition,Se as fromRange,Et as setupMode,bt as setupMode1,_ as toRange,j as toTextEdit};
10
- //# sourceMappingURL=htmlMode.ce91c230.js.map
10
+ //# sourceMappingURL=htmlMode.a28b2fca.js.map
@@ -1,4 +1,4 @@
1
- import{ab as q,ac as J,X as _,an as K,ad as Q,bt as U,d as ee,ag as ne,N as w,c as oe,ah as te,f as s,a$ as le,aA as ie,aF as ae,aX as se,aZ as re,a_ as ce,aj as R,aY as de,bF as ue,dA as ge,bG as fe,bH as pe,dB as me,dC as ve,dD as $e,dE as ye,av as v}from"./jwt-decode.esm.e1e8e181.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]="ca716554-8227-464a-9580-fede018e909b",e._sentryDebugIdIdentifier="sentry-dbid-ca716554-8227-464a-9580-fede018e909b")}catch{}})();const B=(e,n,o,i,a)=>({backgroundColor:e,border:`${i.lineWidth}px ${i.lineType} ${n}`,[`${a}-icon`]:{color:o}}),be=e=>{const{componentCls:n,motionDurationSlow:o,marginXS:i,marginSM:a,fontSize:u,fontSizeLG:r,lineHeight:g,borderRadiusLG:$,motionEaseInOutCirc:c,alertIconSizeLG:d,colorText:p,paddingContentVerticalSM:m,alertPaddingHorizontal:y,paddingMD:h,paddingContentHorizontalLG:C}=e;return{[n]:_(_({},K(e)),{position:"relative",display:"flex",alignItems:"center",padding:`${m}px ${y}px`,wordWrap:"break-word",borderRadius:$,[`&${n}-rtl`]:{direction:"rtl"},[`${n}-content`]:{flex:1,minWidth:0},[`${n}-icon`]:{marginInlineEnd:i,lineHeight:0},["&-description"]:{display:"none",fontSize:u,lineHeight:g},"&-message":{color:p},[`&${n}-motion-leave`]:{overflow:"hidden",opacity:1,transition:`max-height ${o} ${c}, opacity ${o} ${c},
1
+ import{ab as q,ac as J,X as _,an as K,ad as Q,bt as U,d as ee,ag as ne,N as w,c as oe,ah as te,f as s,a$ as le,aA as ie,aF as ae,aX as se,aZ as re,a_ as ce,aj as R,aY as de,bF as ue,dB as ge,bG as fe,bH as pe,dC as me,dD as ve,dE as $e,dF as ye,av as v}from"./jwt-decode.esm.d4517a10.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]="a6e2f40c-7b74-49b9-9f55-ca22e5d75d18",e._sentryDebugIdIdentifier="sentry-dbid-a6e2f40c-7b74-49b9-9f55-ca22e5d75d18")}catch{}})();const B=(e,n,o,i,a)=>({backgroundColor:e,border:`${i.lineWidth}px ${i.lineType} ${n}`,[`${a}-icon`]:{color:o}}),be=e=>{const{componentCls:n,motionDurationSlow:o,marginXS:i,marginSM:a,fontSize:u,fontSizeLG:r,lineHeight:g,borderRadiusLG:$,motionEaseInOutCirc:c,alertIconSizeLG:d,colorText:p,paddingContentVerticalSM:m,alertPaddingHorizontal:y,paddingMD:h,paddingContentHorizontalLG:C}=e;return{[n]:_(_({},K(e)),{position:"relative",display:"flex",alignItems:"center",padding:`${m}px ${y}px`,wordWrap:"break-word",borderRadius:$,[`&${n}-rtl`]:{direction:"rtl"},[`${n}-content`]:{flex:1,minWidth:0},[`${n}-icon`]:{marginInlineEnd:i,lineHeight:0},["&-description"]:{display:"none",fontSize:u,lineHeight:g},"&-message":{color:p},[`&${n}-motion-leave`]:{overflow:"hidden",opacity:1,transition:`max-height ${o} ${c}, opacity ${o} ${c},
2
2
  padding-top ${o} ${c}, padding-bottom ${o} ${c},
3
3
  margin-bottom ${o} ${c}`},[`&${n}-motion-leave-active`]:{maxHeight:0,marginBottom:"0 !important",paddingTop:0,paddingBottom:0,opacity:0}}),[`${n}-with-description`]:{alignItems:"flex-start",paddingInline:C,paddingBlock:h,[`${n}-icon`]:{marginInlineEnd:a,fontSize:d,lineHeight:0},[`${n}-message`]:{display:"block",marginBottom:i,color:p,fontSize:r},[`${n}-description`]:{display:"block"}},[`${n}-banner`]:{marginBottom:0,border:"0 !important",borderRadius:0}}},he=e=>{const{componentCls:n,colorSuccess:o,colorSuccessBorder:i,colorSuccessBg:a,colorWarning:u,colorWarningBorder:r,colorWarningBg:g,colorError:$,colorErrorBorder:c,colorErrorBg:d,colorInfo:p,colorInfoBorder:m,colorInfoBg:y}=e;return{[n]:{"&-success":B(a,i,o,e,n),"&-info":B(y,m,p,e,n),"&-warning":B(g,r,u,e,n),"&-error":_(_({},B(d,c,$,e,n)),{[`${n}-description > pre`]:{margin:0,padding:0}})}}},Ce=e=>{const{componentCls:n,iconCls:o,motionDurationMid:i,marginXS:a,fontSizeIcon:u,colorIcon:r,colorIconHover:g}=e;return{[n]:{["&-action"]:{marginInlineStart:a},[`${n}-close-icon`]:{marginInlineStart:a,padding:0,overflow:"hidden",fontSize:u,lineHeight:`${u}px`,backgroundColor:"transparent",border:"none",outline:"none",cursor:"pointer",[`${o}-close`]:{color:r,transition:`color ${i}`,"&:hover":{color:g}}},"&-close-text":{color:r,transition:`color ${i}`,"&:hover":{color:g}}}}},Ie=e=>[be(e),he(e),Ce(e)],Se=q("Alert",e=>{const{fontSizeHeading3:n}=e,o=J(e,{alertIconSizeLG:n,alertPaddingHorizontal:12});return[Ie(o)]}),xe={success:ue,info:ge,error:fe,warning:pe},we={success:me,info:ve,error:$e,warning:ye},Be=U("success","info","warning","error"),_e=()=>({type:v.oneOf(Be),closable:{type:Boolean,default:void 0},closeText:v.any,message:v.any,description:v.any,afterClose:Function,showIcon:{type:Boolean,default:void 0},prefixCls:String,banner:{type:Boolean,default:void 0},icon:v.any,closeIcon:v.any,onClose:Function}),He=ee({compatConfig:{MODE:3},name:"AAlert",inheritAttrs:!1,props:_e(),setup(e,n){let{slots:o,emit:i,attrs:a,expose:u}=n;const{prefixCls:r,direction:g}=ne("alert",e),[$,c]=Se(r),d=w(!1),p=w(!1),m=w(),y=l=>{l.preventDefault();const f=m.value;f.style.height=`${f.offsetHeight}px`,f.style.height=`${f.offsetHeight}px`,d.value=!0,i("close",l)},h=()=>{var l;d.value=!1,p.value=!0,(l=e.afterClose)===null||l===void 0||l.call(e)},C=oe(()=>{const{type:l}=e;return l!==void 0?l:e.banner?"warning":"info"});u({animationEnd:h});const j=w({});return()=>{var l,f,H,T,A,E,z,D,F,O;const{banner:G,closeIcon:P=(l=o.closeIcon)===null||l===void 0?void 0:l.call(o)}=e;let{closable:L,showIcon:b}=e;const M=(f=e.closeText)!==null&&f!==void 0?f:(H=o.closeText)===null||H===void 0?void 0:H.call(o),I=(T=e.description)!==null&&T!==void 0?T:(A=o.description)===null||A===void 0?void 0:A.call(o),W=(E=e.message)!==null&&E!==void 0?E:(z=o.message)===null||z===void 0?void 0:z.call(o),S=(D=e.icon)!==null&&D!==void 0?D:(F=o.icon)===null||F===void 0?void 0:F.call(o),N=(O=o.action)===null||O===void 0?void 0:O.call(o);b=G&&b===void 0?!0:b;const k=(I?we:xe)[C.value]||null;M&&(L=!0);const t=r.value,V=te(t,{[`${t}-${C.value}`]:!0,[`${t}-closing`]:d.value,[`${t}-with-description`]:!!I,[`${t}-no-icon`]:!b,[`${t}-banner`]:!!G,[`${t}-closable`]:L,[`${t}-rtl`]:g.value==="rtl",[c.value]:!0}),X=L?s("button",{type:"button",onClick:y,class:`${t}-close-icon`,tabindex:0},[M?s("span",{class:`${t}-close-text`},[M]):P===void 0?s(le,null,null):P]):null,Y=S&&(ie(S)?ae(S,{class:`${t}-icon`}):s("span",{class:`${t}-icon`},[S]))||s(k,{class:`${t}-icon`},null),Z=se(`${t}-motion`,{appear:!1,css:!0,onAfterLeave:h,onBeforeLeave:x=>{x.style.maxHeight=`${x.offsetHeight}px`},onLeave:x=>{x.style.maxHeight="0px"}});return $(p.value?null:s(de,Z,{default:()=>[re(s("div",R(R({role:"alert"},a),{},{style:[a.style,j.value],class:[a.class,V],"data-show":!d.value,ref:m}),[b?Y:null,s("div",{class:`${t}-content`},[W?s("div",{class:`${t}-message`},[W]):null,I?s("div",{class:`${t}-description`},[I]):null]),N?s("div",{class:`${t}-action`},[N]):null,X]),[[ce,!d.value]])]}))}}}),Ae=Q(He);export{Ae as A};
4
- //# sourceMappingURL=index.fe015dd3.js.map
4
+ //# sourceMappingURL=index.2af3391c.js.map
@@ -1,2 +1,2 @@
1
- import{R as y}from"./jwt-decode.esm.e1e8e181.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},o=new Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="b367f479-661b-4018-92fa-f68434974288",e._sentryDebugIdIdentifier="sentry-dbid-b367f479-661b-4018-92fa-f68434974288")}catch{}})();var B={},b={};Object.defineProperty(b,"__esModule",{value:!0});b.regionAPIs=void 0;b.regionAPIs=new Map([["us","https://api-iam.intercom.io"],["eu","https://api-iam.eu.intercom.io"],["ap","https://api-iam.au.intercom.io"]]);var l={},L=y&&y.__awaiter||function(e,o,a,i){function t(r){return r instanceof a?r:new a(function(d){d(r)})}return new(a||(a=Promise))(function(r,d){function _(c){try{h(i.next(c))}catch(f){d(f)}}function I(c){try{h(i.throw(c))}catch(f){d(f)}}function h(c){c.done?r(c.value):t(c.value).then(_,I)}h((i=i.apply(e,o||[])).next())})};Object.defineProperty(l,"__esModule",{value:!0});l.ref=l.init=void 0;const S="_intercom_npm_loader",g=function(){g.loaderQueue(arguments)};g.q=[];g.loaderQueue=function(e){g.q.push(e)};const v=function(){var e,o,a=document;if(!a.getElementById(S)){var i=a.createElement("script");i.type="text/javascript",i.async=!0,i.id=S,i.src="https://widget.intercom.io/widget/"+((e=window.intercomSettings)===null||e===void 0?void 0:e.app_id);var t=a.getElementsByTagName("script")[0];(o=t.parentNode)===null||o===void 0||o.insertBefore(i,t)}},E=()=>document.readyState==="complete"||document.readyState==="interactive",Q=()=>L(void 0,void 0,void 0,function*(){var e=window,o=e.Intercom;e.intercomSettings&&(e.intercomSettings.installation_type="npm-package"),typeof o=="function"?(o("reattach_activator"),o("update",e.intercomSettings)):(e.Intercom=g,E()?v():(document.addEventListener("readystatechange",function(){E()&&v()}),e.attachEvent?e.attachEvent("onload",v):e.addEventListener("load",v,!1)))});l.init=Q;l.ref=void 0;(function(e){var o=y&&y.__rest||function(n,u){var m={};for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&u.indexOf(s)<0&&(m[s]=n[s]);if(n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var w=0,s=Object.getOwnPropertySymbols(n);w<s.length;w++)u.indexOf(s[w])<0&&Object.prototype.propertyIsEnumerable.call(n,s[w])&&(m[s[w]]=n[s[w]]);return m};Object.defineProperty(e,"__esModule",{value:!0}),e.onUserEmailSupplied=e.showConversation=e.showTicket=e.startChecklist=e.startSurvey=e.showNews=e.showArticle=e.startTour=e.getVisitorId=e.trackEvent=e.onUnreadCountChange=e.onShow=e.onHide=e.showNewMessage=e.showMessages=e.showSpace=e.show=e.hide=e.update=e.shutdown=e.boot=e.Intercom=void 0;const a=b,i=l,t=(n,...u)=>{typeof window!==void 0&&window.Intercom?window.Intercom(n,...u):console.warn("Please ensure Intercom is setup and running on client-side!")},r=n=>{if(typeof n!="object"){console.warn("Intercom initialiser called with invalid parameters.");return}const{region:u="us"}=n,m=o(n,["region"]);typeof window<"u"&&!i.ref&&(window.intercomSettings=Object.assign(Object.assign({},m),{api_base:a.regionAPIs.get(u)}),(0,i.init)())};e.Intercom=r,e.default=e.Intercom;const d=n=>t("boot",n);e.boot=d;const _=()=>t("shutdown");e.shutdown=_;const I=n=>t("update",n);e.update=I;const h=()=>t("hide");e.hide=h;const c=()=>t("show");e.show=c;const f=n=>t("showSpace",n);e.showSpace=f;const p=()=>t("showMessages");e.showMessages=p;const C=n=>t("showNewMessage",n);e.showNewMessage=C;const k=n=>t("onHide",n);e.onHide=k;const M=n=>t("onShow",n);e.onShow=M;const O=n=>t("onUnreadCountChange",n);e.onUnreadCountChange=O;const j=(...n)=>t("trackEvent",...n);e.trackEvent=j;const N=()=>t("getVisitorId");e.getVisitorId=N;const T=n=>t("startTour",n);e.startTour=T;const P=n=>t("showArticle",n);e.showArticle=P;const U=n=>t("showNews",n);e.showNews=U;const A=n=>t("startSurvey",n);e.startSurvey=A;const D=n=>t("startChecklist",n);e.startChecklist=D;const H=n=>t("showTicket",n);e.showTicket=H;const V=n=>t("showConversation",n);e.showConversation=V;const q=n=>t("onUserEmailSupplied",n);e.onUserEmailSupplied=q})(B);export{B as d};
2
- //# sourceMappingURL=index.57a61691.js.map
1
+ import{R as y}from"./jwt-decode.esm.d4517a10.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},o=new Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="7ac2927e-af5b-431c-b219-20a695d81d59",e._sentryDebugIdIdentifier="sentry-dbid-7ac2927e-af5b-431c-b219-20a695d81d59")}catch{}})();var B={},b={};Object.defineProperty(b,"__esModule",{value:!0});b.regionAPIs=void 0;b.regionAPIs=new Map([["us","https://api-iam.intercom.io"],["eu","https://api-iam.eu.intercom.io"],["ap","https://api-iam.au.intercom.io"]]);var l={},L=y&&y.__awaiter||function(e,o,a,i){function t(d){return d instanceof a?d:new a(function(r){r(d)})}return new(a||(a=Promise))(function(d,r){function _(c){try{h(i.next(c))}catch(f){r(f)}}function I(c){try{h(i.throw(c))}catch(f){r(f)}}function h(c){c.done?d(c.value):t(c.value).then(_,I)}h((i=i.apply(e,o||[])).next())})};Object.defineProperty(l,"__esModule",{value:!0});l.ref=l.init=void 0;const S="_intercom_npm_loader",g=function(){g.loaderQueue(arguments)};g.q=[];g.loaderQueue=function(e){g.q.push(e)};const v=function(){var e,o,a=document;if(!a.getElementById(S)){var i=a.createElement("script");i.type="text/javascript",i.async=!0,i.id=S,i.src="https://widget.intercom.io/widget/"+((e=window.intercomSettings)===null||e===void 0?void 0:e.app_id);var t=a.getElementsByTagName("script")[0];(o=t.parentNode)===null||o===void 0||o.insertBefore(i,t)}},E=()=>document.readyState==="complete"||document.readyState==="interactive",Q=()=>L(void 0,void 0,void 0,function*(){var e=window,o=e.Intercom;e.intercomSettings&&(e.intercomSettings.installation_type="npm-package"),typeof o=="function"?(o("reattach_activator"),o("update",e.intercomSettings)):(e.Intercom=g,E()?v():(document.addEventListener("readystatechange",function(){E()&&v()}),e.attachEvent?e.attachEvent("onload",v):e.addEventListener("load",v,!1)))});l.init=Q;l.ref=void 0;(function(e){var o=y&&y.__rest||function(n,u){var m={};for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&u.indexOf(s)<0&&(m[s]=n[s]);if(n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var w=0,s=Object.getOwnPropertySymbols(n);w<s.length;w++)u.indexOf(s[w])<0&&Object.prototype.propertyIsEnumerable.call(n,s[w])&&(m[s[w]]=n[s[w]]);return m};Object.defineProperty(e,"__esModule",{value:!0}),e.onUserEmailSupplied=e.showConversation=e.showTicket=e.startChecklist=e.startSurvey=e.showNews=e.showArticle=e.startTour=e.getVisitorId=e.trackEvent=e.onUnreadCountChange=e.onShow=e.onHide=e.showNewMessage=e.showMessages=e.showSpace=e.show=e.hide=e.update=e.shutdown=e.boot=e.Intercom=void 0;const a=b,i=l,t=(n,...u)=>{typeof window!==void 0&&window.Intercom?window.Intercom(n,...u):console.warn("Please ensure Intercom is setup and running on client-side!")},d=n=>{if(typeof n!="object"){console.warn("Intercom initialiser called with invalid parameters.");return}const{region:u="us"}=n,m=o(n,["region"]);typeof window<"u"&&!i.ref&&(window.intercomSettings=Object.assign(Object.assign({},m),{api_base:a.regionAPIs.get(u)}),(0,i.init)())};e.Intercom=d,e.default=e.Intercom;const r=n=>t("boot",n);e.boot=r;const _=()=>t("shutdown");e.shutdown=_;const I=n=>t("update",n);e.update=I;const h=()=>t("hide");e.hide=h;const c=()=>t("show");e.show=c;const f=n=>t("showSpace",n);e.showSpace=f;const p=()=>t("showMessages");e.showMessages=p;const C=n=>t("showNewMessage",n);e.showNewMessage=C;const k=n=>t("onHide",n);e.onHide=k;const M=n=>t("onShow",n);e.onShow=M;const O=n=>t("onUnreadCountChange",n);e.onUnreadCountChange=O;const j=(...n)=>t("trackEvent",...n);e.trackEvent=j;const N=()=>t("getVisitorId");e.getVisitorId=N;const T=n=>t("startTour",n);e.startTour=T;const P=n=>t("showArticle",n);e.showArticle=P;const U=n=>t("showNews",n);e.showNews=U;const A=n=>t("startSurvey",n);e.startSurvey=A;const D=n=>t("startChecklist",n);e.startChecklist=D;const H=n=>t("showTicket",n);e.showTicket=H;const V=n=>t("showConversation",n);e.showConversation=V;const q=n=>t("onUserEmailSupplied",n);e.onUserEmailSupplied=q})(B);export{B as d};
2
+ //# sourceMappingURL=index.4176fe88.js.map
@@ -1,5 +1,5 @@
1
- import{c as b,bZ as Ne,X as k,N as ke,r as q,aK as ve,aA as Me,aF as Fe,a4 as je,am as We,bU as be,ck as He,w as _e,b7 as J,f as T,d as Se,J as Be,aj as Q,ap as Ae,b$ as ze,bz as de,aW as Ie,c0 as Xe,c1 as Ue,c4 as qe,b_ as me,ai as ye,c5 as Ge,as as Je,av as Ce,ab as Ye,c7 as Ze,ao as Qe,b9 as et,ad as tt,bi as nt,bj as lt,ag as at,bk as ot,bl as st,c9 as it,bv as ct,bu as rt,cd as ut,ca as dt,bm as vt,dI as Oe,cc as pt,bq as ht,ah as ft}from"./jwt-decode.esm.e1e8e181.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]="1eb63927-3070-4ae1-8764-e82cb5440ab8",e._sentryDebugIdIdentifier="sentry-dbid-1eb63927-3070-4ae1-8764-e82cb5440ab8")}catch{}})();const we="__RC_CASCADER_SPLIT__",De="SHOW_PARENT",$e="SHOW_CHILD";function ee(e){return e.join(we)}function oe(e){return e.map(ee)}function gt(e){return e.split(we)}function mt(e){const{label:n,value:t,children:a}=e||{},l=t||"value";return{label:n||"label",value:l,key:l,children:a||"children"}}function ie(e,n){var t,a;return(t=e.isLeaf)!==null&&t!==void 0?t:!(!((a=e[n.children])===null||a===void 0)&&a.length)}function Ct(e){const n=e.parentElement;if(!n)return;const t=e.offsetTop-n.offsetTop;t-n.scrollTop<0?n.scrollTo({top:t}):t+e.offsetHeight-n.scrollTop>n.offsetHeight&&n.scrollTo({top:t+e.offsetHeight-n.offsetHeight})}const bt=(e,n)=>b(()=>Ne(e.value,{fieldNames:n.value,initWrapper:a=>k(k({},a),{pathKeyEntities:{}}),processEntity:(a,l)=>{const i=a.nodes.map(r=>r[n.value.value]).join(we);l.pathKeyEntities[i]=a,a.key=i}}).pathKeyEntities);function St(e){const n=ke(!1),t=q({});return ve(()=>{if(!e.value){n.value=!1,t.value={};return}let a={matchInputWidth:!0,limit:50};e.value&&typeof e.value=="object"&&(a=k(k({},a),e.value)),a.limit<=0&&delete a.limit,n.value=!0,t.value=a}),{showSearch:n,searchConfig:t}}const ce="__rc_cascader_search_mark__",yt=(e,n,t)=>{let{label:a}=t;return n.some(l=>String(l[a]).toLowerCase().includes(e.toLowerCase()))},wt=e=>{let{path:n,fieldNames:t}=e;return n.map(a=>a[t.label]).join(" / ")},xt=(e,n,t,a,l,i)=>b(()=>{const{filter:r=yt,render:d=wt,limit:v=50,sort:c}=l.value,o=[];if(!e.value)return[];function C(O,y){O.forEach($=>{if(!c&&v>0&&o.length>=v)return;const g=[...y,$],w=$[t.value.children];(!w||w.length===0||i.value)&&r(e.value,g,{label:t.value.label})&&o.push(k(k({},$),{[t.value.label]:d({inputValue:e.value,path:g,prefixCls:a.value,fieldNames:t.value}),[ce]:g})),w&&C($[t.value.children],g)})}return C(n.value,[]),c&&o.sort((O,y)=>c(O[ce],y[ce],e.value,t.value)),v>0?o.slice(0,v):o});function Pe(e,n,t){const a=new Set(e);return e.filter(l=>{const i=n[l],r=i?i.parent:null,d=i?i.children:null;return t===$e?!(d&&d.some(v=>v.key&&a.has(v.key))):!(r&&!r.node.disabled&&a.has(r.key))})}function re(e,n,t){let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;var l;let i=n;const r=[];for(let d=0;d<e.length;d+=1){const v=e[d],c=i==null?void 0:i.findIndex(C=>{const O=C[t.value];return a?String(O)===String(v):O===v}),o=c!==-1?i==null?void 0:i[c]:null;r.push({value:(l=o==null?void 0:o[t.value])!==null&&l!==void 0?l:v,index:c,option:o}),i=o==null?void 0:o[t.children]}return r}const It=(e,n,t)=>b(()=>{const a=[],l=[];return t.value.forEach(i=>{re(i,e.value,n.value).every(d=>d.option)?l.push(i):a.push(i)}),[l,a]}),Ot=(e,n,t,a,l)=>b(()=>{const i=l.value||(r=>{let{labels:d}=r;const v=a.value?d.slice(-1):d,c=" / ";return v.every(o=>["string","number"].includes(typeof o))?v.join(c):v.reduce((o,C,O)=>{const y=Me(C)?Fe(C,{key:O}):C;return O===0?[y]:[...o,c,y]},[])});return e.value.map(r=>{const d=re(r,n.value,t.value),v=i({labels:d.map(o=>{let{option:C,value:O}=o;var y;return(y=C==null?void 0:C[t.value.label])!==null&&y!==void 0?y:O}),selectedOptions:d.map(o=>{let{option:C}=o;return C})}),c=ee(r);return{label:v,value:c,key:c,valueCells:r}})}),Te=Symbol("CascaderContextKey"),Pt=e=>{je(Te,e)},pe=()=>We(Te),Vt=()=>{const e=be(),{values:n}=pe(),[t,a]=He([]);return _e(()=>e.open,()=>{if(e.open&&!e.multiple){const l=n.value[0];a(l||[])}},{immediate:!0}),[t,a]},kt=(e,n,t,a,l,i)=>{const r=be(),d=b(()=>r.direction==="rtl"),[v,c,o]=[q([]),q(),q([])];ve(()=>{let g=-1,w=n.value;const p=[],x=[],D=a.value.length;for(let _=0;_<D&&w;_+=1){const R=w.findIndex(E=>E[t.value.value]===a.value[_]);if(R===-1)break;g=R,p.push(g),x.push(a.value[_]),w=w[g][t.value.children]}let P=n.value;for(let _=0;_<p.length-1;_+=1)P=P[p[_]][t.value.children];[v.value,c.value,o.value]=[x,g,P]});const C=g=>{l(g)},O=g=>{const w=o.value.length;let p=c.value;p===-1&&g<0&&(p=w);for(let x=0;x<w;x+=1){p=(p+g+w)%w;const D=o.value[p];if(D&&!D.disabled){const P=D[t.value.value],_=v.value.slice(0,-1).concat(P);C(_);return}}},y=()=>{if(v.value.length>1){const g=v.value.slice(0,-1);C(g)}else r.toggleOpen(!1)},$=()=>{var g;const p=(((g=o.value[c.value])===null||g===void 0?void 0:g[t.value.children])||[]).find(x=>!x.disabled);if(p){const x=[...v.value,p[t.value.value]];C(x)}};e.expose({onKeydown:g=>{const{which:w}=g;switch(w){case J.UP:case J.DOWN:{let p=0;w===J.UP?p=-1:w===J.DOWN&&(p=1),p!==0&&O(p);break}case J.LEFT:{d.value?$():y();break}case J.RIGHT:{d.value?y():$();break}case J.BACKSPACE:{r.searchValue||y();break}case J.ENTER:{if(v.value.length){const p=o.value[c.value],x=(p==null?void 0:p[ce])||[];x.length?i(x.map(D=>D[t.value.value]),x[x.length-1]):i(v.value,p)}break}case J.ESC:r.toggleOpen(!1),open&&g.stopPropagation()}},onKeyup:()=>{}})};function he(e){let{prefixCls:n,checked:t,halfChecked:a,disabled:l,onClick:i}=e;const{customSlots:r,checkable:d}=pe(),v=d.value!==!1?r.value.checkable:d.value,c=typeof v=="function"?v():typeof v=="boolean"?null:v;return T("span",{class:{[n]:!0,[`${n}-checked`]:t,[`${n}-indeterminate`]:!t&&a,[`${n}-disabled`]:l},onClick:i},[c])}he.props=["prefixCls","checked","halfChecked","disabled","onClick"];he.displayName="Checkbox";he.inheritAttrs=!1;const Ee="__cascader_fix_label__";function fe(e){let{prefixCls:n,multiple:t,options:a,activeValue:l,prevValuePath:i,onToggleOpen:r,onSelect:d,onActive:v,checkedSet:c,halfCheckedSet:o,loadingKeys:C,isSelectable:O}=e;var y,$,g,w,p,x;const D=`${n}-menu`,P=`${n}-menu-item`,{fieldNames:_,changeOnSelect:R,expandTrigger:E,expandIcon:X,loadingIcon:Y,dropdownMenuColumnStyle:U,customSlots:M}=pe(),F=(y=X.value)!==null&&y!==void 0?y:(g=($=M.value).expandIcon)===null||g===void 0?void 0:g.call($),j=(w=Y.value)!==null&&w!==void 0?w:(x=(p=M.value).loadingIcon)===null||x===void 0?void 0:x.call(p),te=E.value==="hover";return T("ul",{class:D,role:"menu"},[a.map(L=>{var h;const{disabled:I}=L,s=L[ce],S=(h=L[Ee])!==null&&h!==void 0?h:L[_.value.label],m=L[_.value.value],V=ie(L,_.value),N=s?s.map(u=>u[_.value.value]):[...i,m],W=ee(N),H=C.includes(W),Z=c.has(W),ne=o.has(W),le=()=>{!I&&(!te||!V)&&v(N)},B=()=>{O(L)&&d(N,V)};let G;return typeof L.title=="string"?G=L.title:typeof S=="string"&&(G=S),T("li",{key:W,class:[P,{[`${P}-expand`]:!V,[`${P}-active`]:l===m,[`${P}-disabled`]:I,[`${P}-loading`]:H}],style:U.value,role:"menuitemcheckbox",title:G,"aria-checked":Z,"data-path-key":W,onClick:()=>{le(),(!t||V)&&B()},onDblclick:()=>{R.value&&r(!1)},onMouseenter:()=>{te&&le()},onMousedown:u=>{u.preventDefault()}},[t&&T(he,{prefixCls:`${n}-checkbox`,checked:Z,halfChecked:ne,disabled:I,onClick:u=>{u.stopPropagation(),B()}},null),T("div",{class:`${P}-content`},[S]),!H&&F&&!V&&T("div",{class:`${P}-expand-icon`},[F]),H&&j&&T("div",{class:`${P}-loading-icon`},[j])])})])}fe.props=["prefixCls","multiple","options","activeValue","prevValuePath","onToggleOpen","onSelect","onActive","checkedSet","halfCheckedSet","loadingKeys","isSelectable"];fe.displayName="Column";fe.inheritAttrs=!1;const _t=Se({compatConfig:{MODE:3},name:"OptionList",inheritAttrs:!1,setup(e,n){const{attrs:t,slots:a}=n,l=be(),i=q(),r=b(()=>l.direction==="rtl"),{options:d,values:v,halfValues:c,fieldNames:o,changeOnSelect:C,onSelect:O,searchOptions:y,dropdownPrefixCls:$,loadData:g,expandTrigger:w,customSlots:p}=pe(),x=b(()=>$.value||l.prefixCls),D=ke([]),P=h=>{if(!g.value||l.searchValue)return;const s=re(h,d.value,o.value).map(m=>{let{option:V}=m;return V}),S=s[s.length-1];if(S&&!ie(S,o.value)){const m=ee(h);D.value=[...D.value,m],g.value(s)}};ve(()=>{D.value.length&&D.value.forEach(h=>{const I=gt(h),s=re(I,d.value,o.value,!0).map(m=>{let{option:V}=m;return V}),S=s[s.length-1];(!S||S[o.value.children]||ie(S,o.value))&&(D.value=D.value.filter(m=>m!==h))})});const _=b(()=>new Set(oe(v.value))),R=b(()=>new Set(oe(c.value))),[E,X]=Vt(),Y=h=>{X(h),P(h)},U=h=>{const{disabled:I}=h,s=ie(h,o.value);return!I&&(s||C.value||l.multiple)},M=function(h,I){let s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;O(h),!l.multiple&&(I||C.value&&(w.value==="hover"||s))&&l.toggleOpen(!1)},F=b(()=>l.searchValue?y.value:d.value),j=b(()=>{const h=[{options:F.value}];let I=F.value;for(let s=0;s<E.value.length;s+=1){const S=E.value[s],m=I.find(N=>N[o.value.value]===S),V=m==null?void 0:m[o.value.children];if(!(V!=null&&V.length))break;I=V,h.push({options:V})}return h});kt(n,F,o,E,Y,(h,I)=>{U(I)&&M(h,ie(I,o.value),!0)});const L=h=>{h.preventDefault()};return Be(()=>{_e(E,h=>{var I;for(let s=0;s<h.length;s+=1){const S=h.slice(0,s+1),m=ee(S),V=(I=i.value)===null||I===void 0?void 0:I.querySelector(`li[data-path-key="${m.replace(/\\{0,2}"/g,'\\"')}"]`);V&&Ct(V)}},{flush:"post",immediate:!0})}),()=>{var h,I,s,S,m;const{notFoundContent:V=((h=a.notFoundContent)===null||h===void 0?void 0:h.call(a))||((s=(I=p.value).notFoundContent)===null||s===void 0?void 0:s.call(I)),multiple:N,toggleOpen:W}=l,H=!(!((m=(S=j.value[0])===null||S===void 0?void 0:S.options)===null||m===void 0)&&m.length),Z=[{[o.value.value]:"__EMPTY__",[Ee]:V,disabled:!0}],ne=k(k({},t),{multiple:!H&&N,onSelect:M,onActive:Y,onToggleOpen:W,checkedSet:_.value,halfCheckedSet:R.value,loadingKeys:D.value,isSelectable:U}),B=(H?[{options:Z}]:j.value).map((G,u)=>{const f=E.value.slice(0,u),A=E.value[u];return T(fe,Q(Q({key:u},ne),{},{prefixCls:x.value,options:G.options,prevValuePath:f,activeValue:A}),null)});return T("div",{class:[`${x.value}-menus`,{[`${x.value}-menu-empty`]:H,[`${x.value}-rtl`]:r.value}],onMousedown:L,ref:i},[B])}}});function At(){return k(k({},ye(Ge(),["tokenSeparators","mode","showSearch"])),{id:String,prefixCls:String,fieldNames:Je(),children:Array,value:{type:[String,Number,Array]},defaultValue:{type:[String,Number,Array]},changeOnSelect:{type:Boolean,default:void 0},displayRender:Function,checkable:{type:Boolean,default:void 0},showCheckedStrategy:{type:String,default:De},showSearch:{type:[Boolean,Object],default:void 0},searchValue:String,onSearch:Function,expandTrigger:String,options:Array,dropdownPrefixCls:String,loadData:Function,popupVisible:{type:Boolean,default:void 0},popupClassName:String,dropdownClassName:String,dropdownMenuColumnStyle:{type:Object,default:void 0},popupStyle:{type:Object,default:void 0},dropdownStyle:{type:Object,default:void 0},popupPlacement:String,placement:String,onPopupVisibleChange:Function,onDropdownVisibleChange:Function,expandIcon:Ce.any,loadingIcon:Ce.any})}function Re(){return k(k({},At()),{onChange:Function,customSlots:Object})}function Dt(e){return Array.isArray(e)&&Array.isArray(e[0])}function Ve(e){return e?Dt(e)?e:(e.length===0?[]:[e]).map(n=>Array.isArray(n)?n:[n]):[]}const $t=Se({compatConfig:{MODE:3},name:"Cascader",inheritAttrs:!1,props:Ae(Re(),{}),setup(e,n){let{attrs:t,expose:a,slots:l}=n;const i=ze(de(e,"id")),r=b(()=>!!e.checkable),[d,v]=Ie(e.defaultValue,{value:b(()=>e.value),postState:Ve}),c=b(()=>mt(e.fieldNames)),o=b(()=>e.options||[]),C=bt(o,c),O=u=>{const f=C.value;return u.map(A=>{const{nodes:K}=f[A];return K.map(z=>z[c.value.value])})},[y,$]=Ie("",{value:b(()=>e.searchValue),postState:u=>u||""}),g=(u,f)=>{$(u),f.source!=="blur"&&e.onSearch&&e.onSearch(u)},{showSearch:w,searchConfig:p}=St(de(e,"showSearch")),x=xt(y,o,c,b(()=>e.dropdownPrefixCls||e.prefixCls),p,de(e,"changeOnSelect")),D=It(o,c,d),[P,_,R]=[q([]),q([]),q([])],{maxLevel:E,levelEntities:X}=Xe(C);ve(()=>{const[u,f]=D.value;if(!r.value||!d.value.length){[P.value,_.value,R.value]=[u,[],f];return}const A=oe(u),K=C.value,{checkedKeys:z,halfCheckedKeys:se}=me(A,!0,K,E.value,X.value);[P.value,_.value,R.value]=[O(z),O(se),f]});const Y=b(()=>{const u=oe(P.value),f=Pe(u,C.value,e.showCheckedStrategy);return[...R.value,...O(f)]}),U=Ot(Y,o,c,r,de(e,"displayRender")),M=u=>{if(v(u),e.onChange){const f=Ve(u),A=f.map(se=>re(se,o.value,c.value).map(ue=>ue.option)),K=r.value?f:f[0],z=r.value?A:A[0];e.onChange(K,z)}},F=u=>{if($(""),!r.value)M(u);else{const f=ee(u),A=oe(P.value),K=oe(_.value),z=A.includes(f),se=R.value.some(ae=>ee(ae)===f);let ue=P.value,xe=R.value;if(se&&!z)xe=R.value.filter(ae=>ee(ae)!==f);else{const ae=z?A.filter(Ke=>Ke!==f):[...A,f];let ge;z?{checkedKeys:ge}=me(ae,{checked:!1,halfCheckedKeys:K},C.value,E.value,X.value):{checkedKeys:ge}=me(ae,!0,C.value,E.value,X.value);const Le=Pe(ge,C.value,e.showCheckedStrategy);ue=O(Le)}M([...xe,...ue])}},j=(u,f)=>{if(f.type==="clear"){M([]);return}const{valueCells:A}=f.values[0];F(A)},te=b(()=>e.open!==void 0?e.open:e.popupVisible),L=b(()=>e.dropdownClassName||e.popupClassName),h=b(()=>e.dropdownStyle||e.popupStyle||{}),I=b(()=>e.placement||e.popupPlacement),s=u=>{var f,A;(f=e.onDropdownVisibleChange)===null||f===void 0||f.call(e,u),(A=e.onPopupVisibleChange)===null||A===void 0||A.call(e,u)},{changeOnSelect:S,checkable:m,dropdownPrefixCls:V,loadData:N,expandTrigger:W,expandIcon:H,loadingIcon:Z,dropdownMenuColumnStyle:ne,customSlots:le}=Ue(e);Pt({options:o,fieldNames:c,values:P,halfValues:_,changeOnSelect:S,onSelect:F,checkable:m,searchOptions:x,dropdownPrefixCls:V,loadData:N,expandTrigger:W,expandIcon:H,loadingIcon:Z,dropdownMenuColumnStyle:ne,customSlots:le});const B=q();a({focus(){var u;(u=B.value)===null||u===void 0||u.focus()},blur(){var u;(u=B.value)===null||u===void 0||u.blur()},scrollTo(u){var f;(f=B.value)===null||f===void 0||f.scrollTo(u)}});const G=b(()=>ye(e,["id","prefixCls","fieldNames","defaultValue","value","changeOnSelect","onChange","displayRender","checkable","searchValue","onSearch","showSearch","expandTrigger","options","dropdownPrefixCls","loadData","popupVisible","open","popupClassName","dropdownClassName","dropdownMenuColumnStyle","popupPlacement","placement","onDropdownVisibleChange","onPopupVisibleChange","expandIcon","loadingIcon","customSlots","showCheckedStrategy","children"]));return()=>{const u=!(y.value?x.value:o.value).length,{dropdownMatchSelectWidth:f=!1}=e,A=y.value&&p.value.matchInputWidth||u?{}:{minWidth:"auto"};return T(qe,Q(Q(Q({},G.value),t),{},{ref:B,id:i,prefixCls:e.prefixCls,dropdownMatchSelectWidth:f,dropdownStyle:k(k({},h.value),A),displayValues:U.value,onDisplayValuesChange:j,mode:r.value?"multiple":void 0,searchValue:y.value,onSearch:g,showSearch:w.value,OptionList:_t,emptyOptions:u,open:te.value,dropdownClassName:L.value,placement:I.value,onDropdownVisibleChange:s,getRawInputElement:()=>{var K;return(K=l.default)===null||K===void 0?void 0:K.call(l)}}),l)}}}),Tt=e=>{const{prefixCls:n,componentCls:t,antCls:a}=e,l=`${t}-menu-item`,i=`
1
+ import{c as b,bZ as Ne,X as k,N as ke,r as q,aK as ve,aA as Me,aF as Fe,a4 as je,am as We,bU as be,ci as He,w as _e,b7 as J,f as T,d as Se,J as Be,aj as Q,ap as Ae,b$ as ze,bz as de,aW as Ie,c0 as Xe,c1 as Ue,c4 as qe,b_ as me,ai as ye,c5 as Ge,as as Je,av as Ce,ab as Ye,c7 as Ze,ao as Qe,b9 as et,ad as tt,bi as nt,bj as lt,ag as at,bk as ot,bl as st,c9 as it,bv as ct,bu as rt,dx as ut,ca as dt,bm as vt,dt as Oe,cc as pt,bq as ht,ah as ft}from"./jwt-decode.esm.d4517a10.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]="3d5e1563-28ae-4526-b9b0-a4cff9567ea3",e._sentryDebugIdIdentifier="sentry-dbid-3d5e1563-28ae-4526-b9b0-a4cff9567ea3")}catch{}})();const we="__RC_CASCADER_SPLIT__",De="SHOW_PARENT",$e="SHOW_CHILD";function ee(e){return e.join(we)}function oe(e){return e.map(ee)}function gt(e){return e.split(we)}function mt(e){const{label:n,value:t,children:a}=e||{},l=t||"value";return{label:n||"label",value:l,key:l,children:a||"children"}}function ie(e,n){var t,a;return(t=e.isLeaf)!==null&&t!==void 0?t:!(!((a=e[n.children])===null||a===void 0)&&a.length)}function Ct(e){const n=e.parentElement;if(!n)return;const t=e.offsetTop-n.offsetTop;t-n.scrollTop<0?n.scrollTo({top:t}):t+e.offsetHeight-n.scrollTop>n.offsetHeight&&n.scrollTo({top:t+e.offsetHeight-n.offsetHeight})}const bt=(e,n)=>b(()=>Ne(e.value,{fieldNames:n.value,initWrapper:a=>k(k({},a),{pathKeyEntities:{}}),processEntity:(a,l)=>{const i=a.nodes.map(r=>r[n.value.value]).join(we);l.pathKeyEntities[i]=a,a.key=i}}).pathKeyEntities);function St(e){const n=ke(!1),t=q({});return ve(()=>{if(!e.value){n.value=!1,t.value={};return}let a={matchInputWidth:!0,limit:50};e.value&&typeof e.value=="object"&&(a=k(k({},a),e.value)),a.limit<=0&&delete a.limit,n.value=!0,t.value=a}),{showSearch:n,searchConfig:t}}const ce="__rc_cascader_search_mark__",yt=(e,n,t)=>{let{label:a}=t;return n.some(l=>String(l[a]).toLowerCase().includes(e.toLowerCase()))},wt=e=>{let{path:n,fieldNames:t}=e;return n.map(a=>a[t.label]).join(" / ")},xt=(e,n,t,a,l,i)=>b(()=>{const{filter:r=yt,render:d=wt,limit:v=50,sort:c}=l.value,o=[];if(!e.value)return[];function C(O,y){O.forEach($=>{if(!c&&v>0&&o.length>=v)return;const g=[...y,$],w=$[t.value.children];(!w||w.length===0||i.value)&&r(e.value,g,{label:t.value.label})&&o.push(k(k({},$),{[t.value.label]:d({inputValue:e.value,path:g,prefixCls:a.value,fieldNames:t.value}),[ce]:g})),w&&C($[t.value.children],g)})}return C(n.value,[]),c&&o.sort((O,y)=>c(O[ce],y[ce],e.value,t.value)),v>0?o.slice(0,v):o});function Pe(e,n,t){const a=new Set(e);return e.filter(l=>{const i=n[l],r=i?i.parent:null,d=i?i.children:null;return t===$e?!(d&&d.some(v=>v.key&&a.has(v.key))):!(r&&!r.node.disabled&&a.has(r.key))})}function re(e,n,t){let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;var l;let i=n;const r=[];for(let d=0;d<e.length;d+=1){const v=e[d],c=i==null?void 0:i.findIndex(C=>{const O=C[t.value];return a?String(O)===String(v):O===v}),o=c!==-1?i==null?void 0:i[c]:null;r.push({value:(l=o==null?void 0:o[t.value])!==null&&l!==void 0?l:v,index:c,option:o}),i=o==null?void 0:o[t.children]}return r}const It=(e,n,t)=>b(()=>{const a=[],l=[];return t.value.forEach(i=>{re(i,e.value,n.value).every(d=>d.option)?l.push(i):a.push(i)}),[l,a]}),Ot=(e,n,t,a,l)=>b(()=>{const i=l.value||(r=>{let{labels:d}=r;const v=a.value?d.slice(-1):d,c=" / ";return v.every(o=>["string","number"].includes(typeof o))?v.join(c):v.reduce((o,C,O)=>{const y=Me(C)?Fe(C,{key:O}):C;return O===0?[y]:[...o,c,y]},[])});return e.value.map(r=>{const d=re(r,n.value,t.value),v=i({labels:d.map(o=>{let{option:C,value:O}=o;var y;return(y=C==null?void 0:C[t.value.label])!==null&&y!==void 0?y:O}),selectedOptions:d.map(o=>{let{option:C}=o;return C})}),c=ee(r);return{label:v,value:c,key:c,valueCells:r}})}),Te=Symbol("CascaderContextKey"),Pt=e=>{je(Te,e)},pe=()=>We(Te),Vt=()=>{const e=be(),{values:n}=pe(),[t,a]=He([]);return _e(()=>e.open,()=>{if(e.open&&!e.multiple){const l=n.value[0];a(l||[])}},{immediate:!0}),[t,a]},kt=(e,n,t,a,l,i)=>{const r=be(),d=b(()=>r.direction==="rtl"),[v,c,o]=[q([]),q(),q([])];ve(()=>{let g=-1,w=n.value;const p=[],x=[],D=a.value.length;for(let _=0;_<D&&w;_+=1){const R=w.findIndex(E=>E[t.value.value]===a.value[_]);if(R===-1)break;g=R,p.push(g),x.push(a.value[_]),w=w[g][t.value.children]}let P=n.value;for(let _=0;_<p.length-1;_+=1)P=P[p[_]][t.value.children];[v.value,c.value,o.value]=[x,g,P]});const C=g=>{l(g)},O=g=>{const w=o.value.length;let p=c.value;p===-1&&g<0&&(p=w);for(let x=0;x<w;x+=1){p=(p+g+w)%w;const D=o.value[p];if(D&&!D.disabled){const P=D[t.value.value],_=v.value.slice(0,-1).concat(P);C(_);return}}},y=()=>{if(v.value.length>1){const g=v.value.slice(0,-1);C(g)}else r.toggleOpen(!1)},$=()=>{var g;const p=(((g=o.value[c.value])===null||g===void 0?void 0:g[t.value.children])||[]).find(x=>!x.disabled);if(p){const x=[...v.value,p[t.value.value]];C(x)}};e.expose({onKeydown:g=>{const{which:w}=g;switch(w){case J.UP:case J.DOWN:{let p=0;w===J.UP?p=-1:w===J.DOWN&&(p=1),p!==0&&O(p);break}case J.LEFT:{d.value?$():y();break}case J.RIGHT:{d.value?y():$();break}case J.BACKSPACE:{r.searchValue||y();break}case J.ENTER:{if(v.value.length){const p=o.value[c.value],x=(p==null?void 0:p[ce])||[];x.length?i(x.map(D=>D[t.value.value]),x[x.length-1]):i(v.value,p)}break}case J.ESC:r.toggleOpen(!1),open&&g.stopPropagation()}},onKeyup:()=>{}})};function he(e){let{prefixCls:n,checked:t,halfChecked:a,disabled:l,onClick:i}=e;const{customSlots:r,checkable:d}=pe(),v=d.value!==!1?r.value.checkable:d.value,c=typeof v=="function"?v():typeof v=="boolean"?null:v;return T("span",{class:{[n]:!0,[`${n}-checked`]:t,[`${n}-indeterminate`]:!t&&a,[`${n}-disabled`]:l},onClick:i},[c])}he.props=["prefixCls","checked","halfChecked","disabled","onClick"];he.displayName="Checkbox";he.inheritAttrs=!1;const Ee="__cascader_fix_label__";function fe(e){let{prefixCls:n,multiple:t,options:a,activeValue:l,prevValuePath:i,onToggleOpen:r,onSelect:d,onActive:v,checkedSet:c,halfCheckedSet:o,loadingKeys:C,isSelectable:O}=e;var y,$,g,w,p,x;const D=`${n}-menu`,P=`${n}-menu-item`,{fieldNames:_,changeOnSelect:R,expandTrigger:E,expandIcon:X,loadingIcon:Y,dropdownMenuColumnStyle:U,customSlots:M}=pe(),F=(y=X.value)!==null&&y!==void 0?y:(g=($=M.value).expandIcon)===null||g===void 0?void 0:g.call($),j=(w=Y.value)!==null&&w!==void 0?w:(x=(p=M.value).loadingIcon)===null||x===void 0?void 0:x.call(p),te=E.value==="hover";return T("ul",{class:D,role:"menu"},[a.map(L=>{var h;const{disabled:I}=L,s=L[ce],S=(h=L[Ee])!==null&&h!==void 0?h:L[_.value.label],m=L[_.value.value],V=ie(L,_.value),N=s?s.map(u=>u[_.value.value]):[...i,m],W=ee(N),H=C.includes(W),Z=c.has(W),ne=o.has(W),le=()=>{!I&&(!te||!V)&&v(N)},B=()=>{O(L)&&d(N,V)};let G;return typeof L.title=="string"?G=L.title:typeof S=="string"&&(G=S),T("li",{key:W,class:[P,{[`${P}-expand`]:!V,[`${P}-active`]:l===m,[`${P}-disabled`]:I,[`${P}-loading`]:H}],style:U.value,role:"menuitemcheckbox",title:G,"aria-checked":Z,"data-path-key":W,onClick:()=>{le(),(!t||V)&&B()},onDblclick:()=>{R.value&&r(!1)},onMouseenter:()=>{te&&le()},onMousedown:u=>{u.preventDefault()}},[t&&T(he,{prefixCls:`${n}-checkbox`,checked:Z,halfChecked:ne,disabled:I,onClick:u=>{u.stopPropagation(),B()}},null),T("div",{class:`${P}-content`},[S]),!H&&F&&!V&&T("div",{class:`${P}-expand-icon`},[F]),H&&j&&T("div",{class:`${P}-loading-icon`},[j])])})])}fe.props=["prefixCls","multiple","options","activeValue","prevValuePath","onToggleOpen","onSelect","onActive","checkedSet","halfCheckedSet","loadingKeys","isSelectable"];fe.displayName="Column";fe.inheritAttrs=!1;const _t=Se({compatConfig:{MODE:3},name:"OptionList",inheritAttrs:!1,setup(e,n){const{attrs:t,slots:a}=n,l=be(),i=q(),r=b(()=>l.direction==="rtl"),{options:d,values:v,halfValues:c,fieldNames:o,changeOnSelect:C,onSelect:O,searchOptions:y,dropdownPrefixCls:$,loadData:g,expandTrigger:w,customSlots:p}=pe(),x=b(()=>$.value||l.prefixCls),D=ke([]),P=h=>{if(!g.value||l.searchValue)return;const s=re(h,d.value,o.value).map(m=>{let{option:V}=m;return V}),S=s[s.length-1];if(S&&!ie(S,o.value)){const m=ee(h);D.value=[...D.value,m],g.value(s)}};ve(()=>{D.value.length&&D.value.forEach(h=>{const I=gt(h),s=re(I,d.value,o.value,!0).map(m=>{let{option:V}=m;return V}),S=s[s.length-1];(!S||S[o.value.children]||ie(S,o.value))&&(D.value=D.value.filter(m=>m!==h))})});const _=b(()=>new Set(oe(v.value))),R=b(()=>new Set(oe(c.value))),[E,X]=Vt(),Y=h=>{X(h),P(h)},U=h=>{const{disabled:I}=h,s=ie(h,o.value);return!I&&(s||C.value||l.multiple)},M=function(h,I){let s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;O(h),!l.multiple&&(I||C.value&&(w.value==="hover"||s))&&l.toggleOpen(!1)},F=b(()=>l.searchValue?y.value:d.value),j=b(()=>{const h=[{options:F.value}];let I=F.value;for(let s=0;s<E.value.length;s+=1){const S=E.value[s],m=I.find(N=>N[o.value.value]===S),V=m==null?void 0:m[o.value.children];if(!(V!=null&&V.length))break;I=V,h.push({options:V})}return h});kt(n,F,o,E,Y,(h,I)=>{U(I)&&M(h,ie(I,o.value),!0)});const L=h=>{h.preventDefault()};return Be(()=>{_e(E,h=>{var I;for(let s=0;s<h.length;s+=1){const S=h.slice(0,s+1),m=ee(S),V=(I=i.value)===null||I===void 0?void 0:I.querySelector(`li[data-path-key="${m.replace(/\\{0,2}"/g,'\\"')}"]`);V&&Ct(V)}},{flush:"post",immediate:!0})}),()=>{var h,I,s,S,m;const{notFoundContent:V=((h=a.notFoundContent)===null||h===void 0?void 0:h.call(a))||((s=(I=p.value).notFoundContent)===null||s===void 0?void 0:s.call(I)),multiple:N,toggleOpen:W}=l,H=!(!((m=(S=j.value[0])===null||S===void 0?void 0:S.options)===null||m===void 0)&&m.length),Z=[{[o.value.value]:"__EMPTY__",[Ee]:V,disabled:!0}],ne=k(k({},t),{multiple:!H&&N,onSelect:M,onActive:Y,onToggleOpen:W,checkedSet:_.value,halfCheckedSet:R.value,loadingKeys:D.value,isSelectable:U}),B=(H?[{options:Z}]:j.value).map((G,u)=>{const f=E.value.slice(0,u),A=E.value[u];return T(fe,Q(Q({key:u},ne),{},{prefixCls:x.value,options:G.options,prevValuePath:f,activeValue:A}),null)});return T("div",{class:[`${x.value}-menus`,{[`${x.value}-menu-empty`]:H,[`${x.value}-rtl`]:r.value}],onMousedown:L,ref:i},[B])}}});function At(){return k(k({},ye(Ge(),["tokenSeparators","mode","showSearch"])),{id:String,prefixCls:String,fieldNames:Je(),children:Array,value:{type:[String,Number,Array]},defaultValue:{type:[String,Number,Array]},changeOnSelect:{type:Boolean,default:void 0},displayRender:Function,checkable:{type:Boolean,default:void 0},showCheckedStrategy:{type:String,default:De},showSearch:{type:[Boolean,Object],default:void 0},searchValue:String,onSearch:Function,expandTrigger:String,options:Array,dropdownPrefixCls:String,loadData:Function,popupVisible:{type:Boolean,default:void 0},popupClassName:String,dropdownClassName:String,dropdownMenuColumnStyle:{type:Object,default:void 0},popupStyle:{type:Object,default:void 0},dropdownStyle:{type:Object,default:void 0},popupPlacement:String,placement:String,onPopupVisibleChange:Function,onDropdownVisibleChange:Function,expandIcon:Ce.any,loadingIcon:Ce.any})}function Re(){return k(k({},At()),{onChange:Function,customSlots:Object})}function Dt(e){return Array.isArray(e)&&Array.isArray(e[0])}function Ve(e){return e?Dt(e)?e:(e.length===0?[]:[e]).map(n=>Array.isArray(n)?n:[n]):[]}const $t=Se({compatConfig:{MODE:3},name:"Cascader",inheritAttrs:!1,props:Ae(Re(),{}),setup(e,n){let{attrs:t,expose:a,slots:l}=n;const i=ze(de(e,"id")),r=b(()=>!!e.checkable),[d,v]=Ie(e.defaultValue,{value:b(()=>e.value),postState:Ve}),c=b(()=>mt(e.fieldNames)),o=b(()=>e.options||[]),C=bt(o,c),O=u=>{const f=C.value;return u.map(A=>{const{nodes:K}=f[A];return K.map(z=>z[c.value.value])})},[y,$]=Ie("",{value:b(()=>e.searchValue),postState:u=>u||""}),g=(u,f)=>{$(u),f.source!=="blur"&&e.onSearch&&e.onSearch(u)},{showSearch:w,searchConfig:p}=St(de(e,"showSearch")),x=xt(y,o,c,b(()=>e.dropdownPrefixCls||e.prefixCls),p,de(e,"changeOnSelect")),D=It(o,c,d),[P,_,R]=[q([]),q([]),q([])],{maxLevel:E,levelEntities:X}=Xe(C);ve(()=>{const[u,f]=D.value;if(!r.value||!d.value.length){[P.value,_.value,R.value]=[u,[],f];return}const A=oe(u),K=C.value,{checkedKeys:z,halfCheckedKeys:se}=me(A,!0,K,E.value,X.value);[P.value,_.value,R.value]=[O(z),O(se),f]});const Y=b(()=>{const u=oe(P.value),f=Pe(u,C.value,e.showCheckedStrategy);return[...R.value,...O(f)]}),U=Ot(Y,o,c,r,de(e,"displayRender")),M=u=>{if(v(u),e.onChange){const f=Ve(u),A=f.map(se=>re(se,o.value,c.value).map(ue=>ue.option)),K=r.value?f:f[0],z=r.value?A:A[0];e.onChange(K,z)}},F=u=>{if($(""),!r.value)M(u);else{const f=ee(u),A=oe(P.value),K=oe(_.value),z=A.includes(f),se=R.value.some(ae=>ee(ae)===f);let ue=P.value,xe=R.value;if(se&&!z)xe=R.value.filter(ae=>ee(ae)!==f);else{const ae=z?A.filter(Ke=>Ke!==f):[...A,f];let ge;z?{checkedKeys:ge}=me(ae,{checked:!1,halfCheckedKeys:K},C.value,E.value,X.value):{checkedKeys:ge}=me(ae,!0,C.value,E.value,X.value);const Le=Pe(ge,C.value,e.showCheckedStrategy);ue=O(Le)}M([...xe,...ue])}},j=(u,f)=>{if(f.type==="clear"){M([]);return}const{valueCells:A}=f.values[0];F(A)},te=b(()=>e.open!==void 0?e.open:e.popupVisible),L=b(()=>e.dropdownClassName||e.popupClassName),h=b(()=>e.dropdownStyle||e.popupStyle||{}),I=b(()=>e.placement||e.popupPlacement),s=u=>{var f,A;(f=e.onDropdownVisibleChange)===null||f===void 0||f.call(e,u),(A=e.onPopupVisibleChange)===null||A===void 0||A.call(e,u)},{changeOnSelect:S,checkable:m,dropdownPrefixCls:V,loadData:N,expandTrigger:W,expandIcon:H,loadingIcon:Z,dropdownMenuColumnStyle:ne,customSlots:le}=Ue(e);Pt({options:o,fieldNames:c,values:P,halfValues:_,changeOnSelect:S,onSelect:F,checkable:m,searchOptions:x,dropdownPrefixCls:V,loadData:N,expandTrigger:W,expandIcon:H,loadingIcon:Z,dropdownMenuColumnStyle:ne,customSlots:le});const B=q();a({focus(){var u;(u=B.value)===null||u===void 0||u.focus()},blur(){var u;(u=B.value)===null||u===void 0||u.blur()},scrollTo(u){var f;(f=B.value)===null||f===void 0||f.scrollTo(u)}});const G=b(()=>ye(e,["id","prefixCls","fieldNames","defaultValue","value","changeOnSelect","onChange","displayRender","checkable","searchValue","onSearch","showSearch","expandTrigger","options","dropdownPrefixCls","loadData","popupVisible","open","popupClassName","dropdownClassName","dropdownMenuColumnStyle","popupPlacement","placement","onDropdownVisibleChange","onPopupVisibleChange","expandIcon","loadingIcon","customSlots","showCheckedStrategy","children"]));return()=>{const u=!(y.value?x.value:o.value).length,{dropdownMatchSelectWidth:f=!1}=e,A=y.value&&p.value.matchInputWidth||u?{}:{minWidth:"auto"};return T(qe,Q(Q(Q({},G.value),t),{},{ref:B,id:i,prefixCls:e.prefixCls,dropdownMatchSelectWidth:f,dropdownStyle:k(k({},h.value),A),displayValues:U.value,onDisplayValuesChange:j,mode:r.value?"multiple":void 0,searchValue:y.value,onSearch:g,showSearch:w.value,OptionList:_t,emptyOptions:u,open:te.value,dropdownClassName:L.value,placement:I.value,onDropdownVisibleChange:s,getRawInputElement:()=>{var K;return(K=l.default)===null||K===void 0?void 0:K.call(l)}}),l)}}}),Tt=e=>{const{prefixCls:n,componentCls:t,antCls:a}=e,l=`${t}-menu-item`,i=`
2
2
  &${l}-expand ${l}-expand-icon,
3
3
  ${l}-loading-icon
4
4
  `,r=Math.round((e.controlHeight-e.fontSize*e.lineHeight)/2);return[{[t]:{width:e.controlWidth}},{[`${t}-dropdown`]:[Ze(`${n}-checkbox`,e),{[`&${a}-select-dropdown`]:{padding:0}},{[t]:{"&-checkbox":{top:0,marginInlineEnd:e.paddingXS},"&-menus":{display:"flex",flexWrap:"nowrap",alignItems:"flex-start",[`&${t}-menu-empty`]:{[`${t}-menu`]:{width:"100%",height:"auto",[l]:{color:e.colorTextDisabled}}}},"&-menu":{flexGrow:1,minWidth:e.controlItemWidth,height:e.dropdownHeight,margin:0,padding:e.paddingXXS,overflow:"auto",verticalAlign:"top",listStyle:"none","-ms-overflow-style":"-ms-autohiding-scrollbar","&:not(:last-child)":{borderInlineEnd:`${e.lineWidth}px ${e.lineType} ${e.colorSplit}`},"&-item":k(k({},Qe),{display:"flex",flexWrap:"nowrap",alignItems:"center",padding:`${r}px ${e.paddingSM}px`,lineHeight:e.lineHeight,cursor:"pointer",transition:`all ${e.motionDurationMid}`,borderRadius:e.borderRadiusSM,"&:hover":{background:e.controlItemBgHover},"&-disabled":{color:e.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"},[i]:{color:e.colorTextDisabled}},[`&-active:not(${l}-disabled)`]:{["&, &:hover"]:{fontWeight:e.fontWeightStrong,backgroundColor:e.controlItemBgActive}},"&-content":{flex:"auto"},[i]:{marginInlineStart:e.paddingXXS,color:e.colorTextDescription,fontSize:e.fontSizeIcon},"&-keyword":{color:e.colorHighlight}})}}}]},{[`${t}-dropdown-rtl`]:{direction:"rtl"}},et(e)]},Et=Ye("Cascader",e=>[Tt(e)],{controlWidth:184,controlItemWidth:111,dropdownHeight:180});var Rt=globalThis&&globalThis.__rest||function(e,n){var t={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&n.indexOf(a)<0&&(t[a]=e[a]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var l=0,a=Object.getOwnPropertySymbols(e);l<a.length;l++)n.indexOf(a[l])<0&&Object.prototype.propertyIsEnumerable.call(e,a[l])&&(t[a[l]]=e[a[l]]);return t};function Lt(e,n,t){const a=e.toLowerCase().split(n).reduce((r,d,v)=>v===0?[d]:[...r,n,d],[]),l=[];let i=0;return a.forEach((r,d)=>{const v=i+r.length;let c=e.slice(i,v);i=v,d%2===1&&(c=T("span",{class:`${t}-menu-item-keyword`,key:"seperator"},[c])),l.push(c)}),l}const Kt=e=>{let{inputValue:n,path:t,prefixCls:a,fieldNames:l}=e;const i=[],r=n.toLowerCase();return t.forEach((d,v)=>{v!==0&&i.push(" / ");let c=d[l.label];const o=typeof c;(o==="string"||o==="number")&&(c=Lt(String(c),r,a)),i.push(c)}),i};function Nt(){return k(k({},ye(Re(),["customSlots","checkable","options"])),{multiple:{type:Boolean,default:void 0},size:String,bordered:{type:Boolean,default:void 0},placement:{type:String},suffixIcon:Ce.any,status:String,options:Array,popupClassName:String,dropdownClassName:String,"onUpdate:value":Function})}const Mt=Se({compatConfig:{MODE:3},name:"ACascader",inheritAttrs:!1,props:Ae(Nt(),{bordered:!0,choiceTransitionName:"",allowClear:!0}),setup(e,n){let{attrs:t,expose:a,slots:l,emit:i}=n;const r=nt(),d=lt.useInject(),v=b(()=>ht(d.status,e.status)),{prefixCls:c,rootPrefixCls:o,getPrefixCls:C,direction:O,getPopupContainer:y,renderEmpty:$,size:g,disabled:w}=at("cascader",e),p=b(()=>C("select",e.prefixCls)),{compactSize:x,compactItemClassnames:D}=ot(p,O),P=b(()=>x.value||g.value),_=st(),R=b(()=>{var s;return(s=w.value)!==null&&s!==void 0?s:_.value}),[E,X]=it(p),[Y]=Et(c),U=b(()=>O.value==="rtl"),M=b(()=>{if(!e.showSearch)return e.showSearch;let s={render:Kt};return typeof e.showSearch=="object"&&(s=k(k({},s),e.showSearch)),s}),F=b(()=>ft(e.popupClassName||e.dropdownClassName,`${c.value}-dropdown`,{[`${c.value}-dropdown-rtl`]:U.value},X.value)),j=q();a({focus(){var s;(s=j.value)===null||s===void 0||s.focus()},blur(){var s;(s=j.value)===null||s===void 0||s.blur()}});const te=function(){for(var s=arguments.length,S=new Array(s),m=0;m<s;m++)S[m]=arguments[m];i("update:value",S[0]),i("change",...S),r.onFieldChange()},L=function(){for(var s=arguments.length,S=new Array(s),m=0;m<s;m++)S[m]=arguments[m];i("blur",...S),r.onFieldBlur()},h=b(()=>e.showArrow!==void 0?e.showArrow:e.loading||!e.multiple),I=b(()=>e.placement!==void 0?e.placement:O.value==="rtl"?"bottomRight":"bottomLeft");return()=>{var s,S;const{notFoundContent:m=(s=l.notFoundContent)===null||s===void 0?void 0:s.call(l),expandIcon:V=(S=l.expandIcon)===null||S===void 0?void 0:S.call(l),multiple:N,bordered:W,allowClear:H,choiceTransitionName:Z,transitionName:ne,id:le=r.id.value}=e,B=Rt(e,["notFoundContent","expandIcon","multiple","bordered","allowClear","choiceTransitionName","transitionName","id"]),G=m||$("Cascader");let u=V;V||(u=U.value?T(ct,null,null):T(rt,null,null));const f=T("span",{class:`${p.value}-menu-item-loading-icon`},[T(ut,{spin:!0},null)]),{suffixIcon:A,removeIcon:K,clearIcon:z}=dt(k(k({},e),{hasFeedback:d.hasFeedback,feedbackIcon:d.feedbackIcon,multiple:N,prefixCls:p.value,showArrow:h.value}),l);return Y(E(T($t,Q(Q(Q({},B),t),{},{id:le,prefixCls:p.value,class:[c.value,{[`${p.value}-lg`]:P.value==="large",[`${p.value}-sm`]:P.value==="small",[`${p.value}-rtl`]:U.value,[`${p.value}-borderless`]:!W,[`${p.value}-in-form-item`]:d.isFormItemInput},vt(p.value,v.value,d.hasFeedback),D.value,t.class,X.value],disabled:R.value,direction:O.value,placement:I.value,notFoundContent:G,allowClear:H,showSearch:M.value,expandIcon:u,inputIcon:A,removeIcon:K,clearIcon:z,loadingIcon:f,checkable:!!N,dropdownClassName:F.value,dropdownPrefixCls:c.value,choiceTransitionName:Oe(o.value,"",Z),transitionName:Oe(o.value,pt(I.value),ne),getPopupContainer:y==null?void 0:y.value,customSlots:k(k({},l),{checkable:()=>T("span",{class:`${c.value}-checkbox-inner`},null)}),tagRender:e.tagRender||l.tagRender,displayRender:e.displayRender||l.displayRender,maxTagPlaceholder:e.maxTagPlaceholder||l.maxTagPlaceholder,showArrow:d.hasFeedback||e.showArrow,onChange:te,onBlur:L,ref:j}),l)))}}}),jt=tt(k(Mt,{SHOW_CHILD:$e,SHOW_PARENT:De}));export{jt as A};
5
- //# sourceMappingURL=index.16664500.js.map
5
+ //# sourceMappingURL=index.4d20c159.js.map