abstra 3.23.4__py3-none-any.whl → 3.23.5__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 (211) hide show
  1. {abstra-3.23.4.dist-info → abstra-3.23.5.dist-info}/METADATA +1 -1
  2. {abstra-3.23.4.dist-info → abstra-3.23.5.dist-info}/RECORD +164 -164
  3. abstra_internals/contracts_generated.py +660 -652
  4. abstra_internals/controllers/workflows.py +33 -0
  5. abstra_internals/entities/forms/widgets/file_upload.py +1 -1
  6. abstra_internals/server/routes/mcp.py +2 -1
  7. abstra_statics/dist/assets/AbstraButton.vue_vue_type_script_setup_true_lang.ad9e23f0.js +2 -0
  8. abstra_statics/dist/assets/AbstraLogo.vue_vue_type_script_setup_true_lang.ee29465c.js +2 -0
  9. abstra_statics/dist/assets/{ApiKeys.e132de0a.js → ApiKeys.958a2342.js} +2 -2
  10. abstra_statics/dist/assets/App.6c9e1d73.js +2 -0
  11. abstra_statics/dist/assets/App.vue_vue_type_style_index_0_lang.46bbdba5.js +2 -0
  12. abstra_statics/dist/assets/{BaseLayout.d41dae76.js → BaseLayout.d4459d3a.js} +2 -2
  13. abstra_statics/dist/assets/Billing.920e2b19.js +2 -0
  14. abstra_statics/dist/assets/{Breadcrumb.00a432b7.js → Breadcrumb.2d9d636f.js} +2 -2
  15. abstra_statics/dist/assets/{Builds.329c2faa.js → Builds.11e86dae.js} +2 -2
  16. abstra_statics/dist/assets/{Card.d8993609.js → Card.0b4293e1.js} +2 -2
  17. abstra_statics/dist/assets/{CircularLoading.e0819e0b.js → CircularLoading.e2f7dd80.js} +2 -2
  18. abstra_statics/dist/assets/CloseCircleOutlined.196a309a.js +2 -0
  19. abstra_statics/dist/assets/{ConnectorsView.4c23ea88.js → ConnectorsView.cda5c60f.js} +2 -2
  20. abstra_statics/dist/assets/ConsoleOmniChat.vue_vue_type_script_setup_true_lang.4d7bb007.js +2 -0
  21. abstra_statics/dist/assets/{ContentLayout.9774740e.js → ContentLayout.69b8ab09.js} +2 -2
  22. abstra_statics/dist/assets/{CrudView.01e6ed04.js → CrudView.56ebce1a.js} +2 -2
  23. abstra_statics/dist/assets/DocsButton.vue_vue_type_script_setup_true_lang.4eb7d335.js +2 -0
  24. abstra_statics/dist/assets/{EditorLogin.b9477432.js → EditorLogin.a10e3a50.js} +2 -2
  25. abstra_statics/dist/assets/{EditorsView.ec2e0465.js → EditorsView.1925d1b5.js} +2 -2
  26. abstra_statics/dist/assets/EnvVars.67eed38a.js +2 -0
  27. abstra_statics/dist/assets/Error.66a8e630.js +2 -0
  28. abstra_statics/dist/assets/ExclamationCircleOutlined.3ef65f87.js +2 -0
  29. abstra_statics/dist/assets/{Files.598e1924.js → Files.e978e721.js} +2 -2
  30. abstra_statics/dist/assets/Form.ba1aeab0.js +2 -0
  31. abstra_statics/dist/assets/{FormRunner.22c166b3.js → FormRunner.1a6e12cb.js} +2 -2
  32. abstra_statics/dist/assets/Home.2871cae9.js +2 -0
  33. abstra_statics/dist/assets/Home.de257b98.js +2 -0
  34. abstra_statics/dist/assets/{Live.47f1d55b.js → Live.cf58dd01.js} +2 -2
  35. abstra_statics/dist/assets/LoadingContainer.e6a98e2f.js +2 -0
  36. abstra_statics/dist/assets/LoadingOutlined.398021fd.js +2 -0
  37. abstra_statics/dist/assets/Login.604d7bbd.js +2 -0
  38. abstra_statics/dist/assets/{Login.d4ed4415.js → Login.605b23e8.js} +2 -2
  39. abstra_statics/dist/assets/{Login.vue_vue_type_script_setup_true_lang.7a0b5cb9.js → Login.vue_vue_type_script_setup_true_lang.a8986f39.js} +2 -2
  40. abstra_statics/dist/assets/Logo.0fee0801.js +2 -0
  41. abstra_statics/dist/assets/{Logs.93696d9a.js → Logs.e15923a0.js} +2 -2
  42. abstra_statics/dist/assets/{LogsController.051e4c97.js → LogsController.35cad159.js} +2 -2
  43. abstra_statics/dist/assets/Main.17024018.js +2 -0
  44. abstra_statics/dist/assets/{MockForm.60f0a0c9.js → MockForm.603b1cbb.js} +2 -2
  45. abstra_statics/dist/assets/Navbar.d4751f52.js +2 -0
  46. abstra_statics/dist/assets/{NewEditor.a3f0cf6f.js → NewEditor.bd4c258c.js} +2 -2
  47. abstra_statics/dist/assets/OidcLoginCallback.14f293b0.js +2 -0
  48. abstra_statics/dist/assets/OidcLogoutCallback.cb05eca4.js +2 -0
  49. abstra_statics/dist/assets/{OmniChat.65218812.js → OmniChat.6d6fed9c.js} +2 -2
  50. abstra_statics/dist/assets/{OnboardingView.7b28e3d9.js → OnboardingView.546afa14.js} +2 -2
  51. abstra_statics/dist/assets/{Organization.4d764c53.js → Organization.a7309bfd.js} +2 -2
  52. abstra_statics/dist/assets/Organizations.91c269e6.js +2 -0
  53. abstra_statics/dist/assets/{PhArrowCounterClockwise.vue.731eb94b.js → PhArrowCounterClockwise.vue.2706c012.js} +2 -2
  54. abstra_statics/dist/assets/{PhArrowSquareOut.vue.da6ece6b.js → PhArrowSquareOut.vue.06e1e087.js} +2 -2
  55. abstra_statics/dist/assets/{PhBookBookmark.vue.129658c0.js → PhBookBookmark.vue.b9569168.js} +2 -2
  56. abstra_statics/dist/assets/{PhChats.vue.3eae87f1.js → PhChats.vue.bb8ced1d.js} +2 -2
  57. abstra_statics/dist/assets/{PhClockCounterClockwise.vue.83a88fd2.js → PhClockCounterClockwise.vue.4252e6be.js} +2 -2
  58. abstra_statics/dist/assets/{PhCopy.vue.889171d4.js → PhCopy.vue.59c3a353.js} +2 -2
  59. abstra_statics/dist/assets/{PhCopySimple.vue.fa1be768.js → PhCopySimple.vue.1c5a0760.js} +2 -2
  60. abstra_statics/dist/assets/{PhCube.vue.c868f288.js → PhCube.vue.7728ef5a.js} +2 -2
  61. abstra_statics/dist/assets/{PhDotsThreeVertical.vue.82ed05fc.js → PhDotsThreeVertical.vue.275748da.js} +2 -2
  62. abstra_statics/dist/assets/{PhDownloadSimple.vue.32b4f321.js → PhDownloadSimple.vue.ed1fb44c.js} +2 -2
  63. abstra_statics/dist/assets/{PhFolderPlus.vue.9b394b08.js → PhFolderPlus.vue.aa7bc872.js} +2 -2
  64. abstra_statics/dist/assets/{PhGear.vue.bd7172cf.js → PhGear.vue.ab14d56a.js} +2 -2
  65. abstra_statics/dist/assets/{PhKey.vue.e1681937.js → PhKey.vue.c0768b68.js} +2 -2
  66. abstra_statics/dist/assets/{PhPencil.vue.6abcb050.js → PhPencil.vue.aaf907d1.js} +2 -2
  67. abstra_statics/dist/assets/{PhPencilSimple.vue.9dc4c516.js → PhPencilSimple.vue.2580bcf9.js} +2 -2
  68. abstra_statics/dist/assets/{PhPencilSimpleLine.vue.516b8dd0.js → PhPencilSimpleLine.vue.2c2058ce.js} +2 -2
  69. abstra_statics/dist/assets/{PhRocket.vue.6310b8e2.js → PhRocket.vue.67935a85.js} +2 -2
  70. abstra_statics/dist/assets/{PhSignOut.vue.33352908.js → PhSignOut.vue.87084f39.js} +2 -2
  71. abstra_statics/dist/assets/{PhSparkle.vue.aaea2035.js → PhSparkle.vue.707b3721.js} +2 -2
  72. abstra_statics/dist/assets/{PhUserList.vue.66442c99.js → PhUserList.vue.907c1a2b.js} +2 -2
  73. abstra_statics/dist/assets/{PhUsersThree.vue.dd3dd5e5.js → PhUsersThree.vue.2c3539c7.js} +2 -2
  74. abstra_statics/dist/assets/{PhWebhooksLogo.vue.3159b8c2.js → PhWebhooksLogo.vue.1134426a.js} +2 -2
  75. abstra_statics/dist/assets/{PlayerConfigProvider.608f994d.js → PlayerConfigProvider.bee6a260.js} +2 -2
  76. abstra_statics/dist/assets/{PlayerNavbar.db2b0cc0.js → PlayerNavbar.b15bb1f3.js} +2 -2
  77. abstra_statics/dist/assets/{Project.b5f0a540.js → Project.c5ac4ebe.js} +2 -2
  78. abstra_statics/dist/assets/ProjectLogin.2905a0d6.js +2 -0
  79. abstra_statics/dist/assets/{ProjectSettings.c69dc60b.js → ProjectSettings.e40cc19c.js} +2 -2
  80. abstra_statics/dist/assets/{ProjectsView.7ea6a476.js → ProjectsView.3df99f87.js} +2 -2
  81. abstra_statics/dist/assets/{SaveButton.45360af6.js → SaveButton.5a81e6f5.js} +2 -2
  82. abstra_statics/dist/assets/{Sidebar.5b02858f.js → Sidebar.f23acdbf.js} +2 -2
  83. abstra_statics/dist/assets/{Sql.f80e393a.js → Sql.ea1ee70d.js} +3 -3
  84. abstra_statics/dist/assets/Steps.ad9ac163.js +2 -0
  85. abstra_statics/dist/assets/{TableEditor.9f5307b3.js → TableEditor.3150beb1.js} +2 -2
  86. abstra_statics/dist/assets/Tables.ad8c6f7a.js +2 -0
  87. abstra_statics/dist/assets/{TablesDiagram.174bf25c.js → TablesDiagram.5d3625d1.js} +2 -2
  88. abstra_statics/dist/assets/TablesTabs.vue_vue_type_script_setup_true_lang.58bcff9a.js +2 -0
  89. abstra_statics/dist/assets/{Tasks.6bf6e3ab.js → Tasks.d5e7bdf2.js} +2 -2
  90. abstra_statics/dist/assets/{UploadOutlined.17748ead.js → UploadOutlined.5f3b92b7.js} +2 -2
  91. abstra_statics/dist/assets/{View.fc004ade.js → View.63e7c09c.js} +2 -2
  92. abstra_statics/dist/assets/{View.vue_vue_type_script_setup_true_lang.b156d2b4.js → View.vue_vue_type_script_setup_true_lang.a36086e8.js} +2 -2
  93. abstra_statics/dist/assets/{Watermark.3f4c77a5.js → Watermark.a7a7af90.js} +2 -2
  94. abstra_statics/dist/assets/{WebEditor.1b4c1d6e.js → WebEditor.37194274.js} +2 -2
  95. abstra_statics/dist/assets/WidgetPreview.5d662c77.js +2 -0
  96. abstra_statics/dist/assets/ant-design.9bb31d85.js +2 -0
  97. abstra_statics/dist/assets/{apiKey.2481730b.js → apiKey.4f2a122c.js} +2 -2
  98. abstra_statics/dist/assets/asyncComputed.06839806.js +2 -0
  99. abstra_statics/dist/assets/{build.5e49b52b.js → build.995e6997.js} +2 -2
  100. abstra_statics/dist/assets/{colorHelpers.a41e45a3.js → colorHelpers.eb706cff.js} +2 -2
  101. abstra_statics/dist/assets/{console.d4555e1e.js → console.a07258d6.js} +2 -2
  102. abstra_statics/dist/assets/constants.d30e64e7.js +2 -0
  103. abstra_statics/dist/assets/{cssMode.94fba5f4.js → cssMode.5c9f19b3.js} +2 -2
  104. abstra_statics/dist/assets/datetime.49213c3c.js +2 -0
  105. abstra_statics/dist/assets/dayjs.9d20dd08.js +2 -0
  106. abstra_statics/dist/assets/{editor.68f10cac.js → editor.a151d549.js} +2 -2
  107. abstra_statics/dist/assets/editor.main.f809eb34.js +2 -0
  108. abstra_statics/dist/assets/fetch.ce34efab.js +2 -0
  109. abstra_statics/dist/assets/{files.2d03f0a6.js → files.5dcc78be.js} +2 -2
  110. abstra_statics/dist/assets/{folder.c0b92096.js → folder.777c3209.js} +2 -2
  111. abstra_statics/dist/assets/{freemarker2.a8ae0e5a.js → freemarker2.385a198f.js} +2 -2
  112. abstra_statics/dist/assets/{handlebars.3529fc9d.js → handlebars.806a8b22.js} +2 -2
  113. abstra_statics/dist/assets/{html.193c548a.js → html.8df330b0.js} +3 -3
  114. abstra_statics/dist/assets/{htmlMode.5669aea7.js → htmlMode.08713341.js} +2 -2
  115. abstra_statics/dist/assets/{index.2f9d5f42.js → index.11470ce1.js} +5 -5
  116. abstra_statics/dist/assets/index.15909af6.js +2 -0
  117. abstra_statics/dist/assets/{index.341d2d78.js → index.227be58a.js} +2 -2
  118. abstra_statics/dist/assets/{index.17c9890b.js → index.440bd76c.js} +2 -2
  119. abstra_statics/dist/assets/{index.17c59820.js → index.49f6d313.js} +2 -2
  120. abstra_statics/dist/assets/index.6f004291.js +2 -0
  121. abstra_statics/dist/assets/{index.fd173cc0.js → index.ad15e486.js} +2 -2
  122. abstra_statics/dist/assets/{index.ee7c5f13.js → index.cf5ef754.js} +2 -2
  123. abstra_statics/dist/assets/{index.84a81069.js → index.f219d050.js} +2 -2
  124. abstra_statics/dist/assets/{index.590aa576.js → index.fdbbf978.js} +3 -3
  125. abstra_statics/dist/assets/{javascript.ff046b2c.js → javascript.7e683eb3.js} +3 -3
  126. abstra_statics/dist/assets/{jsonMode.c051f145.js → jsonMode.c71ca5e7.js} +2 -2
  127. abstra_statics/dist/assets/{jwt-decode.esm.f18c394f.js → jwt-decode.esm.bcf2db26.js} +7 -7
  128. abstra_statics/dist/assets/linters.1f3c2bdc.js +2 -0
  129. abstra_statics/dist/assets/{liquid.98fcb8a3.js → liquid.c89ab4d8.js} +3 -3
  130. abstra_statics/dist/assets/member.39a2b810.js +2 -0
  131. abstra_statics/dist/assets/{metadata.218ef86b.js → metadata.77edb2ef.js} +2 -2
  132. abstra_statics/dist/assets/{omniChatStore.405dd08d.js → omniChatStore.13045a23.js} +2 -2
  133. abstra_statics/dist/assets/{organization.c20116a5.js → organization.017d0932.js} +2 -2
  134. abstra_statics/dist/assets/player.490b5a36.js +2 -0
  135. abstra_statics/dist/assets/{plotly.min.b26aecc2.js → plotly.min.ebdb6341.js} +2 -2
  136. abstra_statics/dist/assets/polling.b53cbe3d.js +2 -0
  137. abstra_statics/dist/assets/{project.d26f784f.js → project.6106c0ae.js} +2 -2
  138. abstra_statics/dist/assets/{python.6f801519.js → python.fe5f6c61.js} +3 -3
  139. abstra_statics/dist/assets/{razor.80957baf.js → razor.63a60978.js} +2 -2
  140. abstra_statics/dist/assets/{record.f0e74f25.js → record.6b6d4da9.js} +2 -2
  141. abstra_statics/dist/assets/redirect.b8ba406b.js +2 -0
  142. abstra_statics/dist/assets/{repository.75210ebd.js → repository.54d4a909.js} +2 -2
  143. abstra_statics/dist/assets/{repository.d2158c5f.js → repository.f2f5d880.js} +2 -2
  144. abstra_statics/dist/assets/{router.9924fce0.js → router.e5052323.js} +3 -3
  145. abstra_statics/dist/assets/string.2f1abff3.js +2 -0
  146. abstra_statics/dist/assets/{tables.4cd227ff.js → tables.ecf1f359.js} +2 -2
  147. abstra_statics/dist/assets/{tasksController.f0830c77.js → tasksController.64f43cce.js} +2 -2
  148. abstra_statics/dist/assets/{toggleHighContrast.d8b2c912.js → toggleHighContrast.a33c9afc.js} +7 -7
  149. abstra_statics/dist/assets/{tsMode.7de6acfd.js → tsMode.bbb62deb.js} +2 -2
  150. abstra_statics/dist/assets/{typescript.78bce6b9.js → typescript.f3be1a16.js} +3 -3
  151. abstra_statics/dist/assets/url.79c72bde.js +2 -0
  152. abstra_statics/dist/assets/userStore.5dca7ff0.js +2 -0
  153. abstra_statics/dist/assets/uuid.3f5b8acd.js +2 -0
  154. abstra_statics/dist/assets/{vue-flow-background.57038ee0.js → vue-flow-background.939eca5f.js} +2 -2
  155. abstra_statics/dist/assets/{vue-quill.esm-bundler.130627ea.js → vue-quill.esm-bundler.c86df351.js} +2 -2
  156. abstra_statics/dist/assets/workspaceStore.7283625b.js +2 -0
  157. abstra_statics/dist/assets/{xml.46fa5b06.js → xml.96392483.js} +3 -3
  158. abstra_statics/dist/assets/{yaml.775c20d7.js → yaml.96b91a1d.js} +3 -3
  159. abstra_statics/dist/console.html +15 -15
  160. abstra_statics/dist/editor.html +11 -11
  161. abstra_statics/dist/player.html +9 -9
  162. abstra_statics/dist/assets/AbstraButton.vue_vue_type_script_setup_true_lang.86a761e5.js +0 -2
  163. abstra_statics/dist/assets/AbstraLogo.vue_vue_type_script_setup_true_lang.d02ffa6d.js +0 -2
  164. abstra_statics/dist/assets/App.9aa34c4e.js +0 -2
  165. abstra_statics/dist/assets/App.vue_vue_type_style_index_0_lang.9dc1f7e7.js +0 -2
  166. abstra_statics/dist/assets/Billing.04224d7b.js +0 -2
  167. abstra_statics/dist/assets/CloseCircleOutlined.ae1e7621.js +0 -2
  168. abstra_statics/dist/assets/ConsoleOmniChat.vue_vue_type_script_setup_true_lang.f2c53fd6.js +0 -2
  169. abstra_statics/dist/assets/DocsButton.vue_vue_type_script_setup_true_lang.3efd2188.js +0 -2
  170. abstra_statics/dist/assets/EnvVars.72e8a906.js +0 -2
  171. abstra_statics/dist/assets/Error.75789fcd.js +0 -2
  172. abstra_statics/dist/assets/ExclamationCircleOutlined.443f1727.js +0 -2
  173. abstra_statics/dist/assets/Form.dcd328f9.js +0 -2
  174. abstra_statics/dist/assets/Home.29af870e.js +0 -2
  175. abstra_statics/dist/assets/Home.5a193adf.js +0 -2
  176. abstra_statics/dist/assets/LoadingContainer.4d7a6e83.js +0 -2
  177. abstra_statics/dist/assets/LoadingOutlined.688afd1b.js +0 -2
  178. abstra_statics/dist/assets/Login.543da72d.js +0 -2
  179. abstra_statics/dist/assets/Logo.a483cebb.js +0 -2
  180. abstra_statics/dist/assets/Main.e6271958.js +0 -2
  181. abstra_statics/dist/assets/Navbar.6beb23a2.js +0 -2
  182. abstra_statics/dist/assets/OidcLoginCallback.5d621b1e.js +0 -2
  183. abstra_statics/dist/assets/OidcLogoutCallback.726fd77b.js +0 -2
  184. abstra_statics/dist/assets/Organizations.99154f7f.js +0 -2
  185. abstra_statics/dist/assets/ProjectLogin.ca80209f.js +0 -2
  186. abstra_statics/dist/assets/Steps.2a44bd5a.js +0 -2
  187. abstra_statics/dist/assets/Tables.c8410571.js +0 -2
  188. abstra_statics/dist/assets/TablesTabs.vue_vue_type_script_setup_true_lang.d32d5407.js +0 -2
  189. abstra_statics/dist/assets/WidgetPreview.b3a57be6.js +0 -2
  190. abstra_statics/dist/assets/ant-design.4dde64bb.js +0 -2
  191. abstra_statics/dist/assets/asyncComputed.24fa122c.js +0 -2
  192. abstra_statics/dist/assets/constants.4f491067.js +0 -2
  193. abstra_statics/dist/assets/datetime.215ab936.js +0 -2
  194. abstra_statics/dist/assets/dayjs.cad6407e.js +0 -2
  195. abstra_statics/dist/assets/editor.main.d5278805.js +0 -2
  196. abstra_statics/dist/assets/fetch.b229b6c0.js +0 -2
  197. abstra_statics/dist/assets/index.9d0d77b2.js +0 -2
  198. abstra_statics/dist/assets/index.c3ea2813.js +0 -2
  199. abstra_statics/dist/assets/linters.e4e7bac9.js +0 -2
  200. abstra_statics/dist/assets/member.d0ead44d.js +0 -2
  201. abstra_statics/dist/assets/player.30fb0733.js +0 -2
  202. abstra_statics/dist/assets/polling.775bd07d.js +0 -2
  203. abstra_statics/dist/assets/redirect.47662fd9.js +0 -2
  204. abstra_statics/dist/assets/string.c4805024.js +0 -2
  205. abstra_statics/dist/assets/url.f54a173c.js +0 -2
  206. abstra_statics/dist/assets/userStore.1345e655.js +0 -2
  207. abstra_statics/dist/assets/uuid.2e8600ec.js +0 -2
  208. abstra_statics/dist/assets/workspaceStore.29138ee5.js +0 -2
  209. {abstra-3.23.4.dist-info → abstra-3.23.5.dist-info}/WHEEL +0 -0
  210. {abstra-3.23.4.dist-info → abstra-3.23.5.dist-info}/entry_points.txt +0 -0
  211. {abstra-3.23.4.dist-info → abstra-3.23.5.dist-info}/top_level.txt +0 -0
@@ -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.d8b2c912.js";import"./jwt-decode.esm.f18c394f.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]="331166c4-b028-4f54-898f-bbacc2a09ad6",e._sentryDebugIdIdentifier="sentry-dbid-331166c4-b028-4f54-898f-bbacc2a09ad6")}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.a33c9afc.js";import"./jwt-decode.esm.bcf2db26.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]="43eb14fa-99fd-4406-980f-601083d7a690",e._sentryDebugIdIdentifier="sentry-dbid-43eb14fa-99fd-4406-980f-601083d7a690")}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.94fba5f4.js.map
10
+ //# sourceMappingURL=cssMode.5c9f19b3.js.map
@@ -0,0 +1,2 @@
1
+ import"./jwt-decode.esm.bcf2db26.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]="3c9dac53-df5e-4074-a665-a8cd082d4e27",e._sentryDebugIdIdentifier="sentry-dbid-3c9dac53-df5e-4074-a665-a8cd082d4e27")}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.49213c3c.js.map
@@ -0,0 +1,2 @@
1
+ import{X as s,dJ as i,dK as d}from"./jwt-decode.esm.bcf2db26.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]="80cec148-c0be-4539-96b4-048e5a3681e9",e._sentryDebugIdIdentifier="sentry-dbid-80cec148-c0be-4539-96b4-048e5a3681e9")}catch{}})();const{DatePicker:n,WeekPicker:t,MonthPicker:r,YearPicker:m,TimePicker:f,QuarterPicker:c,RangePicker:o}=i(d),u=s(n,{WeekPicker:t,MonthPicker:r,YearPicker:m,RangePicker:o,TimePicker:f,QuarterPicker:c,install:e=>(e.component(n.name,n),e.component(o.name,o),e.component(r.name,r),e.component(t.name,t),e.component(c.name,c),e)});export{u as D,r as M,c as Q,o as R,t as W};
2
+ //# sourceMappingURL=dayjs.9d20dd08.js.map
@@ -1,2 +1,2 @@
1
- var x=Object.defineProperty;var W=(o,e,t)=>e in o?x(o,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):o[e]=t;var i=(o,e,t)=>(W(o,typeof e!="symbol"?e+"":e,t),t);import{d as V,c as k,r as l,w as E,o as I,a as R,b as y,e as N,f as T,u as _,S as $,g as A,A as B,T as H,h as K,M as F,_ as J,i as S,j as z,k as Y,l as f,m as G,n as q,p as U,q as Q,s as X,t as Z,v as b,x as ee,y as te,z as oe,B as se,C as ne,P as ae,D as re,E as ie,F as ce,G as C,H as le,I as de,J as ue,K as pe}from"./jwt-decode.esm.f18c394f.js";import{r as he,u as _e,g as me,a as ge}from"./workspaceStore.29138ee5.js";import{s as ve}from"./index.341d2d78.js";import{A as fe}from"./linters.e4e7bac9.js";import{A as be}from"./constants.4f491067.js";import{d as P}from"./index.ee7c5f13.js";import"./userStore.1345e655.js";import"./url.f54a173c.js";import"./colorHelpers.a41e45a3.js";import"./asyncComputed.24fa122c.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new Error().stack;e&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[e]="6dc8ec1b-e8e2-464c-a8a7-7869b380bb78",o._sentryDebugIdIdentifier="sentry-dbid-6dc8ec1b-e8e2-464c-a8a7-7869b380bb78")}catch{}})();const ye={style:{"text-align":"center",padding:"20px"}},we=V({__name:"ConnectionModal",props:{open:{type:Boolean},port:{}},emits:["update:open"],setup(o,{emit:e}){const t=o,s=k({get:()=>t.open,set:a=>e("update:open",a)}),n=l(!1);return E(()=>t.open,a=>{if(a){n.value=!1;const r=setTimeout(()=>{n.value=!0},1e4);return()=>clearTimeout(r)}else n.value=!1}),(a,r)=>(I(),R(_(F),{open:s.value,"onUpdate:open":r[0]||(r[0]=d=>s.value=d),closable:!1,"mask-closable":!1,keyboard:!1,footer:null,width:400,centered:""},{default:y(()=>[N("div",ye,[T(_($),{size:"large"}),T(_(B),{level:4},{default:y(()=>[A(" Connecting to server... ")]),_:1}),n.value?(I(),R(_(H),{key:0},{default:y(()=>[A(" Are you sure Abstra is running? ")]),_:1})):K("",!0)])]),_:1},8,["open"]))}});const Ee=J(we,[["__scopeId","data-v-36743132"]]),p=class{constructor(){i(this,"ws",null);i(this,"reconnectTimer");i(this,"keepaliveInterval");i(this,"messageHandlers",new Set);i(this,"KEEPALIVE_INTERVAL",3e4);i(this,"RECONNECT_DELAY",1e3);this.connect()}static getInstance(){return p.instance||(p.instance=new p),p.instance}get url(){return"/_editor/api/codebase/events"}handleMessage(e){try{const t=JSON.parse(e.data),s=fe.parse(t);this.messageHandlers.forEach(n=>{try{n(s)}catch(a){S(a)}})}catch(t){S(t)}}handleClose(){this.clearTimers(),this.scheduleReconnect()}handleError(){this.clearTimers(),this.scheduleReconnect()}clearTimers(){this.keepaliveInterval&&(clearInterval(this.keepaliveInterval),this.keepaliveInterval=void 0),this.reconnectTimer&&(clearTimeout(this.reconnectTimer),this.reconnectTimer=void 0)}scheduleReconnect(){this.reconnectTimer||(this.reconnectTimer=setTimeout(()=>{this.reconnectTimer=void 0,this.connect()},this.RECONNECT_DELAY))}startKeepalive(){this.keepaliveInterval=setInterval(()=>{this.sendKeepalive()},this.KEEPALIVE_INTERVAL)}sendKeepalive(){if(!this.ws||this.ws.readyState!==WebSocket.OPEN){this.handleError();return}try{this.ws.send(JSON.stringify({type:"keepalive"}))}catch(e){console.error("CodebaseEventsService: Failed to send keepalive:",e),this.handleError()}}async connect(){var e;if(((e=this.ws)==null?void 0:e.readyState)!==WebSocket.OPEN)try{this.ws=new WebSocket(this.url),this.ws.onopen=()=>this.startKeepalive(),this.ws.onclose=()=>this.handleClose(),this.ws.onerror=()=>this.handleError(),this.ws.onmessage=t=>this.handleMessage(t)}catch(t){console.error("CodebaseEventsService: Failed to create WebSocket:",t),this.scheduleReconnect()}}subscribe(e){return this.messageHandlers.add(e),()=>this.messageHandlers.delete(e)}isConnected(){var e;return((e=this.ws)==null?void 0:e.readyState)===WebSocket.OPEN}};let w=p;i(w,"instance",null);function Te(){const o=l(!1),e=l(null),t=l(null),s=w.getInstance(),n=v=>{e.value=v},a=()=>{o.value=s.isConnected()};let r;const d=setInterval(a,1e3);return z(()=>{r(),clearInterval(d)}),Y(()=>{r=s.subscribe(n),a()}),{isConnected:f(o),lastEvent:f(e),error:f(t),service:f(s)}}const Le={style:{height:"100vh","box-sizing":"border-box",width:"100%"}},Ce=V({__name:"App",setup(o){const e=Te(),t=l(!1);E(e.isConnected,async n=>{t.value=!n},{immediate:!0});const s={token:{colorPrimary:"#d14056",colorLink:"#d14056",colorLinkHover:"#aa3446"}};return(n,a)=>{const r=G("RouterView");return I(),R(_(q),{theme:s,"page-header":{ghost:!1}},{default:y(()=>[N("div",Le,[T(r)]),T(Ee,{open:t.value,"onUpdate:open":a[0]||(a[0]=d=>t.value=d)},null,8,["open"])]),_:1})}}});class O{async getLogin(){return await(await fetch("/_editor/api/login")).json()}async createLogin(e){return(await fetch("/_editor/api/login",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({token:e})})).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(e){return be.CLOUD+"/api-key?"+new URLSearchParams(e)}}const j="h97k86ks",g=class{static boot(e,t){g.booted||(P.Intercom({app_id:j}),P.boot({api_base:"https://api-iam.intercom.io",app_id:j,name:e,email:e,user_hash:t,hide_default_launcher:!0,custom_launcher_selector:".intercom-launcher"}),g.booted=!0)}static shutdown(){P.shutdown(),g.booted=!1}};let m=g;i(m,"booted",!1);const Pe={"console-url":"https://cloud.abstra.io"},ke=o=>{const e="VITE_"+U.toUpper(U.snakeCase(o)),t={VITE_SENTRY_RELEASE:"daaaeea4b41126e89bb0cb8b38d8d7e78e903a5d",BASE_URL:"/",MODE:"production",DEV:!1,PROD:!0}[e];return t||Pe[o]},h={consoleUrl:ke("console-url")},Ie=Q("cloud-project",()=>{const o=new O,e=l(null),t=l(null),s=k(()=>{var c,u;return(u=(c=e.value)==null?void 0:c.logged)!=null?u:!1}),n=l(null),a=k(()=>t.value?{project:`${h.consoleUrl}/projects/${t.value.id}`,users:`${h.consoleUrl}/projects/${t.value.id}/access-control?selected-panel=users`,roles:`${h.consoleUrl}/projects/${t.value.id}/access-control?selected-panel=roles`,builds:`${h.consoleUrl}/projects/${t.value.id}/builds`,login:`${h.consoleUrl}/api-key`}:null),r=async()=>{!s.value||(await o.deleteLogin(),window.open(location.origin+"/_editor","_self"))},d=async c=>{const u=await o.createLogin(c);e.value=u,u.logged&&await v()},v=async()=>t.value=await o.getCloudProject();(async()=>{n.value=await o.getPublicUrl()})();const D=async()=>e.value?e.value:(e.value=await o.getLogin(),e.value.logged);return E(()=>e.value,v),E(()=>e.value,async c=>{if(c&&"info"in c){const{email:u,intercomHash:M}=c.info;m.boot(u,M)}else m.shutdown()}),{loadLogin:D,createLogin:d,deleteLogin:r,publicUrl:n,loginInfo:e,cloudProject:t,isLogged:s,links:a}}),Re=he.map(o=>({...o,meta:{...o.meta,playerRoute:!0}})),L=X({history:Z("/"),routes:[{path:"/_editor/",name:"app",component:()=>b(()=>import("./Home.29af870e.js"),["assets/Home.29af870e.js","assets/jwt-decode.esm.f18c394f.js","assets/jwt-decode.9f7a5511.css","assets/fetch.b229b6c0.js","assets/polling.775bd07d.js","assets/Home.afb8d9a6.css"]),children:[{path:"",name:"editor",component:()=>b(()=>import("./NewEditor.a3f0cf6f.js"),["assets/NewEditor.a3f0cf6f.js","assets/asyncComputed.24fa122c.js","assets/jwt-decode.esm.f18c394f.js","assets/jwt-decode.9f7a5511.css","assets/linters.e4e7bac9.js","assets/workspaceStore.29138ee5.js","assets/userStore.1345e655.js","assets/url.f54a173c.js","assets/colorHelpers.a41e45a3.js","assets/record.f0e74f25.js","assets/PhPencilSimpleLine.vue.516b8dd0.js","assets/Card.d8993609.js","assets/router.9924fce0.js","assets/index.ee7c5f13.js","assets/metadata.218ef86b.js","assets/PhUserList.vue.66442c99.js","assets/PhWebhooksLogo.vue.3159b8c2.js","assets/LogsController.051e4c97.js","assets/ant-design.4dde64bb.js","assets/string.c4805024.js","assets/PhCopy.vue.889171d4.js","assets/index.9d0d77b2.js","assets/build.5e49b52b.js","assets/tables.4cd227ff.js","assets/repository.75210ebd.js","assets/LoadingOutlined.688afd1b.js","assets/polling.775bd07d.js","assets/LogsController.fb0d96c2.css","assets/omniChatStore.405dd08d.js","assets/uuid.2e8600ec.js","assets/PhCopySimple.vue.fa1be768.js","assets/omniChatStore.ec95fb81.css","assets/datetime.215ab936.js","assets/OmniChat.65218812.js","assets/AbstraLogo.vue_vue_type_script_setup_true_lang.d02ffa6d.js","assets/Logo.a483cebb.js","assets/Logo.b7d81119.css","assets/PhClockCounterClockwise.vue.83a88fd2.js","assets/index.17c9890b.js","assets/index.590aa576.js","assets/OmniChat.10d00525.css","assets/AbstraButton.vue_vue_type_script_setup_true_lang.86a761e5.js","assets/constants.4f491067.js","assets/PhBookBookmark.vue.129658c0.js","assets/PhChats.vue.3eae87f1.js","assets/index.341d2d78.js","assets/PhArrowSquareOut.vue.da6ece6b.js","assets/PhRocket.vue.6310b8e2.js","assets/PhSignOut.vue.33352908.js","assets/CloseCircleOutlined.ae1e7621.js","assets/vue-flow-background.57038ee0.js","assets/SaveButton.45360af6.js","assets/ExclamationCircleOutlined.443f1727.js","assets/SaveButton.932ac6b8.css","assets/ContentLayout.9774740e.js","assets/ContentLayout.cdae7d24.css","assets/fetch.b229b6c0.js","assets/repository.d2158c5f.js","assets/View.vue_vue_type_script_setup_true_lang.b156d2b4.js","assets/CrudView.01e6ed04.js","assets/DocsButton.vue_vue_type_script_setup_true_lang.3efd2188.js","assets/PhDotsThreeVertical.vue.82ed05fc.js","assets/CrudView.c883bb05.css","assets/PhPencil.vue.6abcb050.js","assets/PlayerNavbar.db2b0cc0.js","assets/PlayerNavbar.c456a4e0.css","assets/PlayerConfigProvider.608f994d.js","assets/PlayerConfigProvider.1ce9d3b1.css","assets/LoadingContainer.4d7a6e83.js","assets/LoadingContainer.56fa997a.css","assets/files.2d03f0a6.js","assets/PhGear.vue.bd7172cf.js","assets/tasksController.f0830c77.js","assets/toggleHighContrast.d8b2c912.js","assets/toggleHighContrast.30d77c87.css","assets/PhPencilSimple.vue.9dc4c516.js","assets/PhFolderPlus.vue.9b394b08.js","assets/PhArrowCounterClockwise.vue.731eb94b.js","assets/FormRunner.22c166b3.js","assets/Login.vue_vue_type_script_setup_true_lang.7a0b5cb9.js","assets/CircularLoading.e0819e0b.js","assets/CircularLoading.a8fe2dc6.css","assets/Login.75d13f6c.css","assets/Steps.2a44bd5a.js","assets/index.17c59820.js","assets/Steps.2880920a.css","assets/Watermark.3f4c77a5.js","assets/Watermark.b0916e90.css","assets/FormRunner.714ce2c1.css","assets/redirect.47662fd9.js","assets/NewEditor.b7bcb815.css"])},{path:"project-login",name:"projectLogin",component:()=>b(()=>import("./ProjectLogin.ca80209f.js"),["assets/ProjectLogin.ca80209f.js","assets/AbstraLogo.vue_vue_type_script_setup_true_lang.d02ffa6d.js","assets/Logo.a483cebb.js","assets/jwt-decode.esm.f18c394f.js","assets/jwt-decode.9f7a5511.css","assets/Logo.b7d81119.css","assets/BaseLayout.d41dae76.js","assets/BaseLayout.e1744dcc.css","assets/index.fd173cc0.js","assets/Breadcrumb.00a432b7.js","assets/index.17c9890b.js","assets/index.9d0d77b2.js","assets/workspaceStore.29138ee5.js","assets/userStore.1345e655.js","assets/url.f54a173c.js","assets/colorHelpers.a41e45a3.js","assets/index.341d2d78.js","assets/linters.e4e7bac9.js","assets/asyncComputed.24fa122c.js","assets/constants.4f491067.js","assets/index.ee7c5f13.js","assets/ProjectLogin.21a71354.css"]),meta:{title:"Abstra Editor",allowUnauthenticated:!0}},{path:":pathMatch(.*)*",name:"editorFallback",redirect:"/_editor/"}]},{path:"/:path(.*)*",name:"form",component:()=>b(()=>import("./App.9aa34c4e.js"),["assets/App.9aa34c4e.js","assets/App.vue_vue_type_style_index_0_lang.9dc1f7e7.js","assets/userStore.1345e655.js","assets/jwt-decode.esm.f18c394f.js","assets/jwt-decode.9f7a5511.css","assets/PlayerConfigProvider.608f994d.js","assets/colorHelpers.a41e45a3.js","assets/PlayerConfigProvider.1ce9d3b1.css","assets/workspaceStore.29138ee5.js","assets/url.f54a173c.js","assets/App.0c2736ee.css"]),children:Re}],scrollBehavior(o){if(o.hash)return{el:o.hash}}}),Ae=me(L);L.beforeEach(async(o,e)=>{if(await _e().actions.fetch(),o.meta.playerRoute)return Ae(o,e);ee(o,e);const t=Ie();if(!o.meta.allowUnauthenticated&&!t.isLogged&&!await t.loadLogin()){const s={redirect:location.origin+"/_editor/project-login"};window.open(O.getLoginUrl(s),"_self")}});(async()=>{await ve();const o=await ge(),e=te(),t=oe({render:()=>le(Ce)});se.init(),ne(t,L,o),t.use(L),t.use(ae),t.use(e),t.mount("#app"),t.component("VSelect",re),t.component("Markdown",ie),t.component("Message",ce),C(t,de),C(t,ue),C(t,pe)})();export{h as E,Te as a,Ie as u};
2
- //# sourceMappingURL=editor.68f10cac.js.map
1
+ var x=Object.defineProperty;var W=(o,e,t)=>e in o?x(o,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):o[e]=t;var i=(o,e,t)=>(W(o,typeof e!="symbol"?e+"":e,t),t);import{d as V,c as k,r as l,w as E,o as I,a as R,b as y,e as N,f as T,u as _,S as $,g as A,A as B,T as H,h as K,M as F,_ as J,i as S,j as z,k as Y,l as v,m as G,n as q,p as U,q as Q,s as X,t as Z,v as b,x as ee,y as te,z as oe,B as se,C as ne,P as ae,D as re,E as ie,F as ce,G as C,H as le,I as de,J as ue,K as pe}from"./jwt-decode.esm.bcf2db26.js";import{r as he,u as _e,g as fe,a as me}from"./workspaceStore.7283625b.js";import{s as ge}from"./index.227be58a.js";import{A as ve}from"./linters.1f3c2bdc.js";import{A as be}from"./constants.d30e64e7.js";import{d as P}from"./index.cf5ef754.js";import"./userStore.5dca7ff0.js";import"./url.79c72bde.js";import"./colorHelpers.eb706cff.js";import"./asyncComputed.06839806.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new Error().stack;e&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[e]="d18f1af5-2c59-4494-8240-fe7b0546eaf9",o._sentryDebugIdIdentifier="sentry-dbid-d18f1af5-2c59-4494-8240-fe7b0546eaf9")}catch{}})();const ye={style:{"text-align":"center",padding:"20px"}},we=V({__name:"ConnectionModal",props:{open:{type:Boolean},port:{}},emits:["update:open"],setup(o,{emit:e}){const t=o,s=k({get:()=>t.open,set:a=>e("update:open",a)}),n=l(!1);return E(()=>t.open,a=>{if(a){n.value=!1;const r=setTimeout(()=>{n.value=!0},1e4);return()=>clearTimeout(r)}else n.value=!1}),(a,r)=>(I(),R(_(F),{open:s.value,"onUpdate:open":r[0]||(r[0]=d=>s.value=d),closable:!1,"mask-closable":!1,keyboard:!1,footer:null,width:400,centered:""},{default:y(()=>[N("div",ye,[T(_($),{size:"large"}),T(_(B),{level:4},{default:y(()=>[A(" Connecting to server... ")]),_:1}),n.value?(I(),R(_(H),{key:0},{default:y(()=>[A(" Are you sure Abstra is running? ")]),_:1})):K("",!0)])]),_:1},8,["open"]))}});const Ee=J(we,[["__scopeId","data-v-36743132"]]),p=class{constructor(){i(this,"ws",null);i(this,"reconnectTimer");i(this,"keepaliveInterval");i(this,"messageHandlers",new Set);i(this,"KEEPALIVE_INTERVAL",3e4);i(this,"RECONNECT_DELAY",1e3);this.connect()}static getInstance(){return p.instance||(p.instance=new p),p.instance}get url(){return"/_editor/api/codebase/events"}handleMessage(e){try{const t=JSON.parse(e.data),s=ve.parse(t);this.messageHandlers.forEach(n=>{try{n(s)}catch(a){S(a)}})}catch(t){S(t)}}handleClose(){this.clearTimers(),this.scheduleReconnect()}handleError(){this.clearTimers(),this.scheduleReconnect()}clearTimers(){this.keepaliveInterval&&(clearInterval(this.keepaliveInterval),this.keepaliveInterval=void 0),this.reconnectTimer&&(clearTimeout(this.reconnectTimer),this.reconnectTimer=void 0)}scheduleReconnect(){this.reconnectTimer||(this.reconnectTimer=setTimeout(()=>{this.reconnectTimer=void 0,this.connect()},this.RECONNECT_DELAY))}startKeepalive(){this.keepaliveInterval=setInterval(()=>{this.sendKeepalive()},this.KEEPALIVE_INTERVAL)}sendKeepalive(){if(!this.ws||this.ws.readyState!==WebSocket.OPEN){this.handleError();return}try{this.ws.send(JSON.stringify({type:"keepalive"}))}catch(e){console.error("CodebaseEventsService: Failed to send keepalive:",e),this.handleError()}}async connect(){var e;if(((e=this.ws)==null?void 0:e.readyState)!==WebSocket.OPEN)try{this.ws=new WebSocket(this.url),this.ws.onopen=()=>this.startKeepalive(),this.ws.onclose=()=>this.handleClose(),this.ws.onerror=()=>this.handleError(),this.ws.onmessage=t=>this.handleMessage(t)}catch(t){console.error("CodebaseEventsService: Failed to create WebSocket:",t),this.scheduleReconnect()}}subscribe(e){return this.messageHandlers.add(e),()=>this.messageHandlers.delete(e)}isConnected(){var e;return((e=this.ws)==null?void 0:e.readyState)===WebSocket.OPEN}};let w=p;i(w,"instance",null);function Te(){const o=l(!1),e=l(null),t=l(null),s=w.getInstance(),n=g=>{e.value=g},a=()=>{o.value=s.isConnected()};let r;const d=setInterval(a,1e3);return z(()=>{r(),clearInterval(d)}),Y(()=>{r=s.subscribe(n),a()}),{isConnected:v(o),lastEvent:v(e),error:v(t),service:v(s)}}const Le={style:{height:"100vh","box-sizing":"border-box",width:"100%"}},Ce=V({__name:"App",setup(o){const e=Te(),t=l(!1);E(e.isConnected,async n=>{t.value=!n},{immediate:!0});const s={token:{colorPrimary:"#d14056",colorLink:"#d14056",colorLinkHover:"#aa3446"}};return(n,a)=>{const r=G("RouterView");return I(),R(_(q),{theme:s,"page-header":{ghost:!1}},{default:y(()=>[N("div",Le,[T(r)]),T(Ee,{open:t.value,"onUpdate:open":a[0]||(a[0]=d=>t.value=d)},null,8,["open"])]),_:1})}}});class O{async getLogin(){return await(await fetch("/_editor/api/login")).json()}async createLogin(e){return(await fetch("/_editor/api/login",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({token:e})})).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(e){return be.CLOUD+"/api-key?"+new URLSearchParams(e)}}const j="h97k86ks",m=class{static boot(e,t){m.booted||(P.Intercom({app_id:j}),P.boot({api_base:"https://api-iam.intercom.io",app_id:j,name:e,email:e,user_hash:t,hide_default_launcher:!0,custom_launcher_selector:".intercom-launcher"}),m.booted=!0)}static shutdown(){P.shutdown(),m.booted=!1}};let f=m;i(f,"booted",!1);const Pe={"console-url":"https://cloud.abstra.io"},ke=o=>{const e="VITE_"+U.toUpper(U.snakeCase(o)),t={VITE_SENTRY_RELEASE:"9c059415b4882b9fbe786abd047556fc681021eb",BASE_URL:"/",MODE:"production",DEV:!1,PROD:!0}[e];return t||Pe[o]},h={consoleUrl:ke("console-url")},Ie=Q("cloud-project",()=>{const o=new O,e=l(null),t=l(null),s=k(()=>{var c,u;return(u=(c=e.value)==null?void 0:c.logged)!=null?u:!1}),n=l(null),a=k(()=>t.value?{project:`${h.consoleUrl}/projects/${t.value.id}`,users:`${h.consoleUrl}/projects/${t.value.id}/access-control?selected-panel=users`,roles:`${h.consoleUrl}/projects/${t.value.id}/access-control?selected-panel=roles`,builds:`${h.consoleUrl}/projects/${t.value.id}/builds`,login:`${h.consoleUrl}/api-key`}:null),r=async()=>{!s.value||(await o.deleteLogin(),window.open(location.origin+"/_editor","_self"))},d=async c=>{const u=await o.createLogin(c);e.value=u,u.logged&&await g()},g=async()=>t.value=await o.getCloudProject();(async()=>{n.value=await o.getPublicUrl()})();const D=async()=>e.value?e.value:(e.value=await o.getLogin(),e.value.logged);return E(()=>e.value,g),E(()=>e.value,async c=>{if(c&&"info"in c){const{email:u,intercomHash:M}=c.info;f.boot(u,M)}else f.shutdown()}),{loadLogin:D,createLogin:d,deleteLogin:r,publicUrl:n,loginInfo:e,cloudProject:t,isLogged:s,links:a}}),Re=he.map(o=>({...o,meta:{...o.meta,playerRoute:!0}})),L=X({history:Z("/"),routes:[{path:"/_editor/",name:"app",component:()=>b(()=>import("./Home.2871cae9.js"),["assets/Home.2871cae9.js","assets/jwt-decode.esm.bcf2db26.js","assets/jwt-decode.9f7a5511.css","assets/fetch.ce34efab.js","assets/polling.b53cbe3d.js","assets/Home.afb8d9a6.css"]),children:[{path:"",name:"editor",component:()=>b(()=>import("./NewEditor.bd4c258c.js"),["assets/NewEditor.bd4c258c.js","assets/asyncComputed.06839806.js","assets/jwt-decode.esm.bcf2db26.js","assets/jwt-decode.9f7a5511.css","assets/linters.1f3c2bdc.js","assets/workspaceStore.7283625b.js","assets/userStore.5dca7ff0.js","assets/url.79c72bde.js","assets/colorHelpers.eb706cff.js","assets/record.6b6d4da9.js","assets/PhPencilSimpleLine.vue.2c2058ce.js","assets/Card.0b4293e1.js","assets/router.e5052323.js","assets/index.cf5ef754.js","assets/metadata.77edb2ef.js","assets/PhUserList.vue.907c1a2b.js","assets/PhWebhooksLogo.vue.1134426a.js","assets/LogsController.35cad159.js","assets/ant-design.9bb31d85.js","assets/string.2f1abff3.js","assets/PhCopy.vue.59c3a353.js","assets/index.15909af6.js","assets/build.995e6997.js","assets/tables.ecf1f359.js","assets/repository.54d4a909.js","assets/LoadingOutlined.398021fd.js","assets/polling.b53cbe3d.js","assets/LogsController.fb0d96c2.css","assets/omniChatStore.13045a23.js","assets/uuid.3f5b8acd.js","assets/PhCopySimple.vue.1c5a0760.js","assets/omniChatStore.ec95fb81.css","assets/datetime.49213c3c.js","assets/OmniChat.6d6fed9c.js","assets/AbstraLogo.vue_vue_type_script_setup_true_lang.ee29465c.js","assets/Logo.0fee0801.js","assets/Logo.b7d81119.css","assets/PhClockCounterClockwise.vue.4252e6be.js","assets/index.440bd76c.js","assets/index.fdbbf978.js","assets/OmniChat.10d00525.css","assets/AbstraButton.vue_vue_type_script_setup_true_lang.ad9e23f0.js","assets/constants.d30e64e7.js","assets/PhBookBookmark.vue.b9569168.js","assets/PhChats.vue.bb8ced1d.js","assets/index.227be58a.js","assets/PhArrowSquareOut.vue.06e1e087.js","assets/PhRocket.vue.67935a85.js","assets/PhSignOut.vue.87084f39.js","assets/CloseCircleOutlined.196a309a.js","assets/vue-flow-background.939eca5f.js","assets/SaveButton.5a81e6f5.js","assets/ExclamationCircleOutlined.3ef65f87.js","assets/SaveButton.932ac6b8.css","assets/ContentLayout.69b8ab09.js","assets/ContentLayout.cdae7d24.css","assets/fetch.ce34efab.js","assets/repository.f2f5d880.js","assets/View.vue_vue_type_script_setup_true_lang.a36086e8.js","assets/CrudView.56ebce1a.js","assets/DocsButton.vue_vue_type_script_setup_true_lang.4eb7d335.js","assets/PhDotsThreeVertical.vue.275748da.js","assets/CrudView.c883bb05.css","assets/PhPencil.vue.aaf907d1.js","assets/PlayerNavbar.b15bb1f3.js","assets/PlayerNavbar.c456a4e0.css","assets/PlayerConfigProvider.bee6a260.js","assets/PlayerConfigProvider.1ce9d3b1.css","assets/LoadingContainer.e6a98e2f.js","assets/LoadingContainer.56fa997a.css","assets/files.5dcc78be.js","assets/PhGear.vue.ab14d56a.js","assets/tasksController.64f43cce.js","assets/toggleHighContrast.a33c9afc.js","assets/toggleHighContrast.30d77c87.css","assets/PhPencilSimple.vue.2580bcf9.js","assets/PhFolderPlus.vue.aa7bc872.js","assets/PhArrowCounterClockwise.vue.2706c012.js","assets/FormRunner.1a6e12cb.js","assets/Login.vue_vue_type_script_setup_true_lang.a8986f39.js","assets/CircularLoading.e2f7dd80.js","assets/CircularLoading.a8fe2dc6.css","assets/Login.75d13f6c.css","assets/Steps.ad9ac163.js","assets/index.49f6d313.js","assets/Steps.2880920a.css","assets/Watermark.a7a7af90.js","assets/Watermark.b0916e90.css","assets/FormRunner.714ce2c1.css","assets/redirect.b8ba406b.js","assets/NewEditor.b7bcb815.css"])},{path:"project-login",name:"projectLogin",component:()=>b(()=>import("./ProjectLogin.2905a0d6.js"),["assets/ProjectLogin.2905a0d6.js","assets/AbstraLogo.vue_vue_type_script_setup_true_lang.ee29465c.js","assets/Logo.0fee0801.js","assets/jwt-decode.esm.bcf2db26.js","assets/jwt-decode.9f7a5511.css","assets/Logo.b7d81119.css","assets/BaseLayout.d4459d3a.js","assets/BaseLayout.e1744dcc.css","assets/index.ad15e486.js","assets/Breadcrumb.2d9d636f.js","assets/index.440bd76c.js","assets/index.15909af6.js","assets/workspaceStore.7283625b.js","assets/userStore.5dca7ff0.js","assets/url.79c72bde.js","assets/colorHelpers.eb706cff.js","assets/index.227be58a.js","assets/linters.1f3c2bdc.js","assets/asyncComputed.06839806.js","assets/constants.d30e64e7.js","assets/index.cf5ef754.js","assets/ProjectLogin.21a71354.css"]),meta:{title:"Abstra Editor",allowUnauthenticated:!0}},{path:":pathMatch(.*)*",name:"editorFallback",redirect:"/_editor/"}]},{path:"/:path(.*)*",name:"form",component:()=>b(()=>import("./App.6c9e1d73.js"),["assets/App.6c9e1d73.js","assets/App.vue_vue_type_style_index_0_lang.46bbdba5.js","assets/userStore.5dca7ff0.js","assets/jwt-decode.esm.bcf2db26.js","assets/jwt-decode.9f7a5511.css","assets/PlayerConfigProvider.bee6a260.js","assets/colorHelpers.eb706cff.js","assets/PlayerConfigProvider.1ce9d3b1.css","assets/workspaceStore.7283625b.js","assets/url.79c72bde.js","assets/App.0c2736ee.css"]),children:Re}],scrollBehavior(o){if(o.hash)return{el:o.hash}}}),Ae=fe(L);L.beforeEach(async(o,e)=>{if(await _e().actions.fetch(),o.meta.playerRoute)return Ae(o,e);ee(o,e);const t=Ie();if(!o.meta.allowUnauthenticated&&!t.isLogged&&!await t.loadLogin()){const s={redirect:location.origin+"/_editor/project-login"};window.open(O.getLoginUrl(s),"_self")}});(async()=>{await ge();const o=await me(),e=te(),t=oe({render:()=>le(Ce)});se.init(),ne(t,L,o),t.use(L),t.use(ae),t.use(e),t.mount("#app"),t.component("VSelect",re),t.component("Markdown",ie),t.component("Message",ce),C(t,de),C(t,ue),C(t,pe)})();export{h as E,Te as a,Ie as u};
2
+ //# sourceMappingURL=editor.a151d549.js.map
@@ -0,0 +1,2 @@
1
+ import{C as r,E as t,K as i,a as b,M as f,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.a33c9afc.js";import"./jwt-decode.esm.bcf2db26.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]="d850bec1-6762-47bb-9ddf-85837b5052b8",e._sentryDebugIdIdentifier="sentry-dbid-d850bec1-6762-47bb-9ddf-85837b5052b8")}catch{}})();export{r as CancellationTokenSource,t as Emitter,i as KeyCode,b as KeyMod,f 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.f809eb34.js.map
@@ -0,0 +1,2 @@
1
+ import"./jwt-decode.esm.bcf2db26.js";(function(){try{var d=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new Error().stack;e&&(d._sentryDebugIds=d._sentryDebugIds||{},d._sentryDebugIds[e]="24a7cdd9-b412-4d0e-9aeb-f0dbdd88dc9f",d._sentryDebugIdIdentifier="sentry-dbid-24a7cdd9-b412-4d0e-9aeb-f0dbdd88dc9f")}catch{}})();const f=(...d)=>window.fetch(...d);export{f as l};
2
+ //# sourceMappingURL=fetch.ce34efab.js.map
@@ -1,2 +1,2 @@
1
- import{d as V,am as d,c as i,o as r,a5 as n,a7 as y,h as H,e6 as A,e as o,a6 as g,ea as f}from"./jwt-decode.esm.f18c394f.js";(function(){try{var a=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new Error().stack;e&&(a._sentryDebugIds=a._sentryDebugIds||{},a._sentryDebugIds[e]="8e67648c-a0fd-4ad6-a022-355cf416d0b0",a._sentryDebugIdIdentifier="sentry-dbid-8e67648c-a0fd-4ad6-a022-355cf416d0b0")}catch{}})();const M=["width","height","fill","transform"],Z={key:0},w=o("path",{d:"M216.49,79.52l-56-56A12,12,0,0,0,152,20H56A20,20,0,0,0,36,40V216a20,20,0,0,0,20,20H200a20,20,0,0,0,20-20V88A12,12,0,0,0,216.49,79.52ZM160,57l23,23H160ZM60,212V44h76V92a12,12,0,0,0,12,12h48V212Z"},null,-1),b=[w],S={key:1},k=o("path",{d:"M208,88H152V32Z",opacity:"0.2"},null,-1),C=o("path",{d:"M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40V216a16,16,0,0,0,16,16H200a16,16,0,0,0,16-16V88A8,8,0,0,0,213.66,82.34ZM160,51.31,188.69,80H160ZM200,216H56V40h88V88a8,8,0,0,0,8,8h48V216Z"},null,-1),_=[k,C],I={key:2},z=o("path",{d:"M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40V216a16,16,0,0,0,16,16H200a16,16,0,0,0,16-16V88A8,8,0,0,0,213.66,82.34ZM152,88V44l44,44Z"},null,-1),B=[z],N={key:3},P=o("path",{d:"M212.24,83.76l-56-56A6,6,0,0,0,152,26H56A14,14,0,0,0,42,40V216a14,14,0,0,0,14,14H200a14,14,0,0,0,14-14V88A6,6,0,0,0,212.24,83.76ZM158,46.48,193.52,82H158ZM200,218H56a2,2,0,0,1-2-2V40a2,2,0,0,1,2-2h90V88a6,6,0,0,0,6,6h50V216A2,2,0,0,1,200,218Z"},null,-1),D=[P],j={key:4},x=o("path",{d:"M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40V216a16,16,0,0,0,16,16H200a16,16,0,0,0,16-16V88A8,8,0,0,0,213.66,82.34ZM160,51.31,188.69,80H160ZM200,216H56V40h88V88a8,8,0,0,0,8,8h48V216Z"},null,-1),F=[x],$={key:5},E=o("path",{d:"M210.83,85.17l-56-56A4,4,0,0,0,152,28H56A12,12,0,0,0,44,40V216a12,12,0,0,0,12,12H200a12,12,0,0,0,12-12V88A4,4,0,0,0,210.83,85.17ZM156,41.65,198.34,84H156ZM200,220H56a4,4,0,0,1-4-4V40a4,4,0,0,1,4-4h92V88a4,4,0,0,0,4,4h52V216A4,4,0,0,1,200,220Z"},null,-1),W=[E],q={name:"PhFile"},J=V({...q,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(a){const e=a,u=d("weight","regular"),p=d("size","1em"),l=d("color","currentColor"),c=d("mirrored",!1),s=i(()=>{var t;return(t=e.weight)!=null?t:u}),h=i(()=>{var t;return(t=e.size)!=null?t:p}),m=i(()=>{var t;return(t=e.color)!=null?t:l}),v=i(()=>e.mirrored!==void 0?e.mirrored?"scale(-1, 1)":void 0:c?"scale(-1, 1)":void 0);return(t,O)=>(r(),n("svg",A({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:h.value,height:h.value,fill:m.value,transform:v.value},t.$attrs),[y(t.$slots,"default"),s.value==="bold"?(r(),n("g",Z,b)):s.value==="duotone"?(r(),n("g",S,_)):s.value==="fill"?(r(),n("g",I,B)):s.value==="light"?(r(),n("g",N,D)):s.value==="regular"?(r(),n("g",j,F)):s.value==="thin"?(r(),n("g",$,W)):H("",!0)],16,M))}}),K=V({__name:"ScrollArea",props:{innerClass:{},outerClass:{},outerStyle:{},innerStyle:{}},setup(a){const e=a,u=i(()=>e.outerStyle?{position:"relative",...e.outerStyle}:{position:"relative"}),p=i(()=>{var l;return{position:"absolute",inset:0,overflow:"auto",...(l=e.innerStyle)!=null?l:{}}});return(l,c)=>(r(),n("div",{style:g(u.value),class:f(l.outerClass)},[o("div",{style:g(p.value),class:f(l.innerClass)},[y(l.$slots,"default")],6)],6))}});function L(a){var e;return(e=a.split(/\/|\\/).pop())!=null?e:""}function Q(a){return a.length===0?".":a[a.length-1]}function R(a){return[".png",".svg",".jpg",".jpeg",".ico",".webp"].some(e=>a.endsWith(e))}export{J as I,K as _,L as a,Q as f,R as i};
2
- //# sourceMappingURL=files.2d03f0a6.js.map
1
+ import{d as V,am as u,c as i,o as r,a5 as n,a7 as y,h as H,e6 as A,e as o,a6 as f,ea as g}from"./jwt-decode.esm.bcf2db26.js";(function(){try{var a=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new Error().stack;e&&(a._sentryDebugIds=a._sentryDebugIds||{},a._sentryDebugIds[e]="98efc5d4-9adf-4c4f-adca-1394d23fc8d8",a._sentryDebugIdIdentifier="sentry-dbid-98efc5d4-9adf-4c4f-adca-1394d23fc8d8")}catch{}})();const M=["width","height","fill","transform"],Z={key:0},w=o("path",{d:"M216.49,79.52l-56-56A12,12,0,0,0,152,20H56A20,20,0,0,0,36,40V216a20,20,0,0,0,20,20H200a20,20,0,0,0,20-20V88A12,12,0,0,0,216.49,79.52ZM160,57l23,23H160ZM60,212V44h76V92a12,12,0,0,0,12,12h48V212Z"},null,-1),S=[w],b={key:1},k=o("path",{d:"M208,88H152V32Z",opacity:"0.2"},null,-1),C=o("path",{d:"M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40V216a16,16,0,0,0,16,16H200a16,16,0,0,0,16-16V88A8,8,0,0,0,213.66,82.34ZM160,51.31,188.69,80H160ZM200,216H56V40h88V88a8,8,0,0,0,8,8h48V216Z"},null,-1),_=[k,C],I={key:2},z=o("path",{d:"M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40V216a16,16,0,0,0,16,16H200a16,16,0,0,0,16-16V88A8,8,0,0,0,213.66,82.34ZM152,88V44l44,44Z"},null,-1),B=[z],N={key:3},P=o("path",{d:"M212.24,83.76l-56-56A6,6,0,0,0,152,26H56A14,14,0,0,0,42,40V216a14,14,0,0,0,14,14H200a14,14,0,0,0,14-14V88A6,6,0,0,0,212.24,83.76ZM158,46.48,193.52,82H158ZM200,218H56a2,2,0,0,1-2-2V40a2,2,0,0,1,2-2h90V88a6,6,0,0,0,6,6h50V216A2,2,0,0,1,200,218Z"},null,-1),D=[P],j={key:4},x=o("path",{d:"M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40V216a16,16,0,0,0,16,16H200a16,16,0,0,0,16-16V88A8,8,0,0,0,213.66,82.34ZM160,51.31,188.69,80H160ZM200,216H56V40h88V88a8,8,0,0,0,8,8h48V216Z"},null,-1),F=[x],$={key:5},E=o("path",{d:"M210.83,85.17l-56-56A4,4,0,0,0,152,28H56A12,12,0,0,0,44,40V216a12,12,0,0,0,12,12H200a12,12,0,0,0,12-12V88A4,4,0,0,0,210.83,85.17ZM156,41.65,198.34,84H156ZM200,220H56a4,4,0,0,1-4-4V40a4,4,0,0,1,4-4h92V88a4,4,0,0,0,4,4h52V216A4,4,0,0,1,200,220Z"},null,-1),W=[E],q={name:"PhFile"},J=V({...q,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(a){const e=a,d=u("weight","regular"),c=u("size","1em"),l=u("color","currentColor"),p=u("mirrored",!1),s=i(()=>{var t;return(t=e.weight)!=null?t:d}),h=i(()=>{var t;return(t=e.size)!=null?t:c}),m=i(()=>{var t;return(t=e.color)!=null?t:l}),v=i(()=>e.mirrored!==void 0?e.mirrored?"scale(-1, 1)":void 0:p?"scale(-1, 1)":void 0);return(t,O)=>(r(),n("svg",A({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:h.value,height:h.value,fill:m.value,transform:v.value},t.$attrs),[y(t.$slots,"default"),s.value==="bold"?(r(),n("g",Z,S)):s.value==="duotone"?(r(),n("g",b,_)):s.value==="fill"?(r(),n("g",I,B)):s.value==="light"?(r(),n("g",N,D)):s.value==="regular"?(r(),n("g",j,F)):s.value==="thin"?(r(),n("g",$,W)):H("",!0)],16,M))}}),K=V({__name:"ScrollArea",props:{innerClass:{},outerClass:{},outerStyle:{},innerStyle:{}},setup(a){const e=a,d=i(()=>e.outerStyle?{position:"relative",...e.outerStyle}:{position:"relative"}),c=i(()=>{var l;return{position:"absolute",inset:0,overflow:"auto",...(l=e.innerStyle)!=null?l:{}}});return(l,p)=>(r(),n("div",{style:f(d.value),class:g(l.outerClass)},[o("div",{style:f(c.value),class:g(l.innerClass)},[y(l.$slots,"default")],6)],6))}});function L(a){var e;return(e=a.split(/\/|\\/).pop())!=null?e:""}function Q(a){return a.length===0?".":a[a.length-1]}function R(a){return[".png",".svg",".jpg",".jpeg",".ico",".webp"].some(e=>a.endsWith(e))}export{J as I,K as _,L as a,Q as f,R as i};
2
+ //# sourceMappingURL=files.5dcc78be.js.map
@@ -1,2 +1,2 @@
1
- import{h as r}from"./router.9924fce0.js";import"./jwt-decode.esm.f18c394f.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]="b969e232-9802-4d22-a3c3-0648d83b1ea2",n._sentryDebugIdIdentifier="sentry-dbid-b969e232-9802-4d22-a3c3-0648d83b1ea2")}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.c0b92096.js.map
1
+ import{h as r}from"./router.e5052323.js";import"./jwt-decode.esm.bcf2db26.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]="4a3a273f-d24c-49be-9162-e463e7db0370",n._sentryDebugIdIdentifier="sentry-dbid-4a3a273f-d24c-49be-9162-e463e7db0370")}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.777c3209.js.map
@@ -1,4 +1,4 @@
1
- import{m as b}from"./toggleHighContrast.d8b2c912.js";import"./jwt-decode.esm.f18c394f.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]="0b8bca13-7b87-4992-9016-39c4751b03af",t._sentryDebugIdIdentifier="sentry-dbid-0b8bca13-7b87-4992-9016-39c4751b03af")}catch{}})();/*!-----------------------------------------------------------------------------
1
+ import{m as b}from"./toggleHighContrast.a33c9afc.js";import"./jwt-decode.esm.bcf2db26.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]="7b8afe54-061b-4fee-a64a-5f9b8ca9ea47",t._sentryDebugIdIdentifier="sentry-dbid-7b8afe54-061b-4fee-a64a-5f9b8ca9ea47")}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.d8b2c912.js";import"./jwt-decode.esm.f18
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.a8ae0e5a.js.map
9
+ //# sourceMappingURL=freemarker2.385a198f.js.map
@@ -1,7 +1,7 @@
1
- import{m as l}from"./toggleHighContrast.d8b2c912.js";import"./jwt-decode.esm.f18c394f.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]="096f00af-3553-45f5-ab2d-2c8914d3a830",t._sentryDebugIdIdentifier="sentry-dbid-096f00af-3553-45f5-ab2d-2c8914d3a830")}catch{}})();/*!-----------------------------------------------------------------------------
1
+ import{m as l}from"./toggleHighContrast.a33c9afc.js";import"./jwt-decode.esm.bcf2db26.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]="1604a444-741a-43b7-9331-e16de2d9ad7e",t._sentryDebugIdIdentifier="sentry-dbid-1604a444-741a-43b7-9331-e16de2d9ad7e")}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.3529fc9d.js.map
7
+ //# sourceMappingURL=handlebars.806a8b22.js.map
@@ -1,7 +1,7 @@
1
- import{m as s}from"./toggleHighContrast.d8b2c912.js";import"./jwt-decode.esm.f18c394f.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]="65e89825-3212-4250-9eaa-d7a257d5be9b",t._sentryDebugIdIdentifier="sentry-dbid-65e89825-3212-4250-9eaa-d7a257d5be9b")}catch{}})();/*!-----------------------------------------------------------------------------
1
+ import{m as d}from"./toggleHighContrast.a33c9afc.js";import"./jwt-decode.esm.bcf2db26.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]="c97283e9-c675-42fb-9ea7-67b338f2ca2b",t._sentryDebugIdIdentifier="sentry-dbid-c97283e9-c675-42fb-9ea7-67b338f2ca2b")}catch{}})();/*!-----------------------------------------------------------------------------
2
2
  * Copyright (c) Microsoft Corporation. All rights reserved.
3
3
  * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f)
4
4
  * Released under the MIT license
5
5
  * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
6
- *-----------------------------------------------------------------------------*/var 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.193c548a.js.map
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,d);var s=["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(`<(?!(?:${s.join("|")}))([_:\\w][_:\\w-.\\d]*)([^/>]*(?!/)>)[^<]*$`,"i"),afterText:/^<\/([_:\w][_:\w-.\d]*)\s*>$/i,action:{indentAction:i.languages.IndentAction.IndentOutdent}},{beforeText:new RegExp(`<(?!(?:${s.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.8df330b0.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.d8b2c912.js";import"./jwt-decode.esm.f18c394f.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]="6c048d98-2675-4ee6-89f8-489923d35af5",e._sentryDebugIdIdentifier="sentry-dbid-6c048d98-2675-4ee6-89f8-489923d35af5")}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.a33c9afc.js";import"./jwt-decode.esm.bcf2db26.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]="4adc5f5a-1e23-4432-a6e9-d85fcf1db6ec",e._sentryDebugIdIdentifier="sentry-dbid-4adc5f5a-1e23-4432-a6e9-d85fcf1db6ec")}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.5669aea7.js.map
10
+ //# sourceMappingURL=htmlMode.08713341.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 Y,f as T,d as Se,k 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 Ye,av as Ce,ab as Ze,c7 as Je,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.f18c394f.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]="41a925df-4104-4d8f-8def-93086dfe0c82",e._sentryDebugIdIdentifier="sentry-dbid-41a925df-4104-4d8f-8def-93086dfe0c82")}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 Y.UP:case Y.DOWN:{let p=0;w===Y.UP?p=-1:w===Y.DOWN&&(p=1),p!==0&&O(p);break}case Y.LEFT:{d.value?$():y();break}case Y.RIGHT:{d.value?y():$();break}case Y.BACKSPACE:{r.searchValue||y();break}case Y.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 Y.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:Z,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=Z.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),J=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":J,"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:J,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(),Z=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,Z,(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),J=[{[o.value.value]:"__EMPTY__",[Ee]:V,disabled:!0}],ne=k(k({},t),{multiple:!H&&N,onSelect:M,onActive:Z,onToggleOpen:W,checkedSet:_.value,halfCheckedSet:R.value,loadingKeys:D.value,isSelectable:U}),B=(H?[{options:J}]: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:Ye(),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 Z=b(()=>{const u=oe(P.value),f=Pe(u,C.value,e.showCheckedStrategy);return[...R.value,...O(f)]}),U=Ot(Z,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:J,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:J,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
- &${l}-expand ${l}-expand-icon,
3
- ${l}-loading-icon
4
- `,r=Math.round((e.controlHeight-e.fontSize*e.lineHeight)/2);return[{[t]:{width:e.controlWidth}},{[`${t}-dropdown`]:[Je(`${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=Ze("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),[Z]=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:J,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 Z(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,"",J),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.2f9d5f42.js.map
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 Y,f as T,d as Se,k 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 Ye,av as Ce,ab as Ze,c7 as Je,ao as Qe,b9 as et,ad as tt,bi as nt,bj as at,ag as lt,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.bcf2db26.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]="96a65daa-8e7f-4eb0-a751-a423f0279ef4",e._sentryDebugIdIdentifier="sentry-dbid-96a65daa-8e7f-4eb0-a751-a423f0279ef4")}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:l}=e||{},a=t||"value";return{label:n||"label",value:a,key:a,children:l||"children"}}function ie(e,n){var t,l;return(t=e.isLeaf)!==null&&t!==void 0?t:!(!((l=e[n.children])===null||l===void 0)&&l.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:l=>k(k({},l),{pathKeyEntities:{}}),processEntity:(l,a)=>{const i=l.nodes.map(r=>r[n.value.value]).join(we);a.pathKeyEntities[i]=l,l.key=i}}).pathKeyEntities);function St(e){const n=ke(!1),t=q({});return ve(()=>{if(!e.value){n.value=!1,t.value={};return}let l={matchInputWidth:!0,limit:50};e.value&&typeof e.value=="object"&&(l=k(k({},l),e.value)),l.limit<=0&&delete l.limit,n.value=!0,t.value=l}),{showSearch:n,searchConfig:t}}const ce="__rc_cascader_search_mark__",yt=(e,n,t)=>{let{label:l}=t;return n.some(a=>String(a[l]).toLowerCase().includes(e.toLowerCase()))},wt=e=>{let{path:n,fieldNames:t}=e;return n.map(l=>l[t.label]).join(" / ")},xt=(e,n,t,l,a,i)=>b(()=>{const{filter:r=yt,render:d=wt,limit:v=50,sort:c}=a.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:l.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 l=new Set(e);return e.filter(a=>{const i=n[a],r=i?i.parent:null,d=i?i.children:null;return t===$e?!(d&&d.some(v=>v.key&&l.has(v.key))):!(r&&!r.node.disabled&&l.has(r.key))})}function re(e,n,t){let l=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;var a;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 l?String(O)===String(v):O===v}),o=c!==-1?i==null?void 0:i[c]:null;r.push({value:(a=o==null?void 0:o[t.value])!==null&&a!==void 0?a:v,index:c,option:o}),i=o==null?void 0:o[t.children]}return r}const It=(e,n,t)=>b(()=>{const l=[],a=[];return t.value.forEach(i=>{re(i,e.value,n.value).every(d=>d.option)?a.push(i):l.push(i)}),[a,l]}),Ot=(e,n,t,l,a)=>b(()=>{const i=a.value||(r=>{let{labels:d}=r;const v=l.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,l]=He([]);return _e(()=>e.open,()=>{if(e.open&&!e.multiple){const a=n.value[0];l(a||[])}},{immediate:!0}),[t,l]},kt=(e,n,t,l,a,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=l.value.length;for(let _=0;_<D&&w;_+=1){const R=w.findIndex(E=>E[t.value.value]===l.value[_]);if(R===-1)break;g=R,p.push(g),x.push(l.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=>{a(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 Y.UP:case Y.DOWN:{let p=0;w===Y.UP?p=-1:w===Y.DOWN&&(p=1),p!==0&&O(p);break}case Y.LEFT:{d.value?$():y();break}case Y.RIGHT:{d.value?y():$();break}case Y.BACKSPACE:{r.searchValue||y();break}case Y.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 Y.ESC:r.toggleOpen(!1),open&&g.stopPropagation()}},onKeyup:()=>{}})};function he(e){let{prefixCls:n,checked:t,halfChecked:l,disabled:a,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&&l,[`${n}-disabled`]:a},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:l,activeValue:a,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:Z,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=Z.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"},[l.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),J=c.has(W),ne=o.has(W),ae=()=>{!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`]:a===m,[`${P}-disabled`]:I,[`${P}-loading`]:H}],style:U.value,role:"menuitemcheckbox",title:G,"aria-checked":J,"data-path-key":W,onClick:()=>{ae(),(!t||V)&&B()},onDblclick:()=>{R.value&&r(!1)},onMouseenter:()=>{te&&ae()},onMousedown:u=>{u.preventDefault()}},[t&&T(he,{prefixCls:`${n}-checkbox`,checked:J,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:l}=n,a=be(),i=q(),r=b(()=>a.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||a.prefixCls),D=ke([]),P=h=>{if(!g.value||a.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(),Z=h=>{X(h),P(h)},U=h=>{const{disabled:I}=h,s=ie(h,o.value);return!I&&(s||C.value||a.multiple)},M=function(h,I){let s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;O(h),!a.multiple&&(I||C.value&&(w.value==="hover"||s))&&a.toggleOpen(!1)},F=b(()=>a.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,Z,(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=l.notFoundContent)===null||h===void 0?void 0:h.call(l))||((s=(I=p.value).notFoundContent)===null||s===void 0?void 0:s.call(I)),multiple:N,toggleOpen:W}=a,H=!(!((m=(S=j.value[0])===null||S===void 0?void 0:S.options)===null||m===void 0)&&m.length),J=[{[o.value.value]:"__EMPTY__",[Ee]:V,disabled:!0}],ne=k(k({},t),{multiple:!H&&N,onSelect:M,onActive:Z,onToggleOpen:W,checkedSet:_.value,halfCheckedSet:R.value,loadingKeys:D.value,isSelectable:U}),B=(H?[{options:J}]: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:Ye(),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:l,slots:a}=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 Z=b(()=>{const u=oe(P.value),f=Pe(u,C.value,e.showCheckedStrategy);return[...R.value,...O(f)]}),U=Ot(Z,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(le=>ee(le)===f);let ue=P.value,xe=R.value;if(se&&!z)xe=R.value.filter(le=>ee(le)!==f);else{const le=z?A.filter(Ke=>Ke!==f):[...A,f];let ge;z?{checkedKeys:ge}=me(le,{checked:!1,halfCheckedKeys:K},C.value,E.value,X.value):{checkedKeys:ge}=me(le,!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:J,dropdownMenuColumnStyle:ne,customSlots:ae}=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:J,dropdownMenuColumnStyle:ne,customSlots:ae});const B=q();l({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=a.default)===null||K===void 0?void 0:K.call(a)}}),a)}}}),Tt=e=>{const{prefixCls:n,componentCls:t,antCls:l}=e,a=`${t}-menu-item`,i=`
2
+ &${a}-expand ${a}-expand-icon,
3
+ ${a}-loading-icon
4
+ `,r=Math.round((e.controlHeight-e.fontSize*e.lineHeight)/2);return[{[t]:{width:e.controlWidth}},{[`${t}-dropdown`]:[Je(`${n}-checkbox`,e),{[`&${l}-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",[a]:{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(${a}-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=Ze("Cascader",e=>[Tt(e)],{controlWidth:184,controlItemWidth:111,dropdownHeight:180});var Rt=globalThis&&globalThis.__rest||function(e,n){var t={};for(var l in e)Object.prototype.hasOwnProperty.call(e,l)&&n.indexOf(l)<0&&(t[l]=e[l]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,l=Object.getOwnPropertySymbols(e);a<l.length;a++)n.indexOf(l[a])<0&&Object.prototype.propertyIsEnumerable.call(e,l[a])&&(t[l[a]]=e[l[a]]);return t};function Lt(e,n,t){const l=e.toLowerCase().split(n).reduce((r,d,v)=>v===0?[d]:[...r,n,d],[]),a=[];let i=0;return l.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])),a.push(c)}),a}const Kt=e=>{let{inputValue:n,path:t,prefixCls:l,fieldNames:a}=e;const i=[],r=n.toLowerCase();return t.forEach((d,v)=>{v!==0&&i.push(" / ");let c=d[a.label];const o=typeof c;(o==="string"||o==="number")&&(c=Lt(String(c),r,l)),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:l,slots:a,emit:i}=n;const r=nt(),d=at.useInject(),v=b(()=>ht(d.status,e.status)),{prefixCls:c,rootPrefixCls:o,getPrefixCls:C,direction:O,getPopupContainer:y,renderEmpty:$,size:g,disabled:w}=lt("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),[Z]=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();l({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=a.notFoundContent)===null||s===void 0?void 0:s.call(a),expandIcon:V=(S=a.expandIcon)===null||S===void 0?void 0:S.call(a),multiple:N,bordered:W,allowClear:H,choiceTransitionName:J,transitionName:ne,id:ae=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}),a);return Z(E(T($t,Q(Q(Q({},B),t),{},{id:ae,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,"",J),transitionName:Oe(o.value,pt(I.value),ne),getPopupContainer:y==null?void 0:y.value,customSlots:k(k({},a),{checkable:()=>T("span",{class:`${c.value}-checkbox-inner`},null)}),tagRender:e.tagRender||a.tagRender,displayRender:e.displayRender||a.displayRender,maxTagPlaceholder:e.maxTagPlaceholder||a.maxTagPlaceholder,showArrow:d.hasFeedback||e.showArrow,onChange:te,onBlur:L,ref:j}),a)))}}}),jt=tt(k(Mt,{SHOW_CHILD:$e,SHOW_PARENT:De}));export{jt as A};
5
+ //# sourceMappingURL=index.11470ce1.js.map
@@ -0,0 +1,2 @@
1
+ import{d as P,ag as T,e0 as L,e1 as Q,c as o,r as O,w as W,aQ as X,f,X as m,aR as q,aj as j,cV as h,av as G,bt as B,aM as H,ah as J}from"./jwt-decode.esm.bcf2db26.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]="699314c8-fd40-443a-a638-d43eed30be0b",e._sentryDebugIdIdentifier="sentry-dbid-699314c8-fd40-443a-a638-d43eed30be0b")}catch{}})();const K={small:8,middle:16,large:24},U=()=>({prefixCls:String,size:{type:[String,Number,Array]},direction:G.oneOf(B("horizontal","vertical")).def("horizontal"),align:G.oneOf(B("start","end","center","baseline")),wrap:H()});function Y(e){return typeof e=="string"?K[e]:e||0}const r=P({compatConfig:{MODE:3},name:"ASpace",inheritAttrs:!1,props:U(),slots:Object,setup(e,c){let{slots:l,attrs:g}=c;const{prefixCls:n,space:y,direction:w}=T("space",e),[E,F]=L(n),x=Q(),s=o(()=>{var a,t,i;return(i=(a=e.size)!==null&&a!==void 0?a:(t=y==null?void 0:y.value)===null||t===void 0?void 0:t.size)!==null&&i!==void 0?i:"small"}),b=O(),u=O();W(s,()=>{[b.value,u.value]=(Array.isArray(s.value)?s.value:[s.value,s.value]).map(a=>Y(a))},{immediate:!0});const z=o(()=>e.align===void 0&&e.direction==="horizontal"?"center":e.align),R=o(()=>J(n.value,F.value,`${n.value}-${e.direction}`,{[`${n.value}-rtl`]:w.value==="rtl",[`${n.value}-align-${z.value}`]:z.value})),V=o(()=>w.value==="rtl"?"marginLeft":"marginRight"),k=o(()=>{const a={};return x.value&&(a.columnGap=`${b.value}px`,a.rowGap=`${u.value}px`),m(m({},a),e.wrap&&{flexWrap:"wrap",marginBottom:`${-u.value}px`})});return()=>{var a,t;const{wrap:i,direction:M="horizontal"}=e,_=(a=l.default)===null||a===void 0?void 0:a.call(l),C=X(_),I=C.length;if(I===0)return null;const d=(t=l.split)===null||t===void 0?void 0:t.call(l),A=`${n.value}-item`,D=b.value,S=I-1;return f("div",j(j({},g),{},{class:[R.value,g.class],style:[k.value,g.style]}),[C.map((N,v)=>{let $=_.indexOf(N);$===-1&&($=`$$space-${v}`);let p={};return x.value||(M==="vertical"?v<S&&(p={marginBottom:`${D/(d?2:1)}px`}):p=m(m({},v<S&&{[V.value]:`${D/(d?2:1)}px`}),i&&{paddingBottom:`${u.value}px`})),E(f(q,{key:$},[f("div",{class:A,style:p},[N]),v<S&&d&&f("span",{class:`${A}-split`,style:p},[d])]))})])}}});r.Compact=h;r.install=function(e){return e.component(r.name,r),e.component(h.name,h),e};const ee=r;export{ee as A};
2
+ //# sourceMappingURL=index.15909af6.js.map