abstra 3.24.2__py3-none-any.whl → 3.24.3__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (228) hide show
  1. {abstra-3.24.2.dist-info → abstra-3.24.3.dist-info}/METADATA +1 -1
  2. {abstra-3.24.2.dist-info → abstra-3.24.3.dist-info}/RECORD +175 -175
  3. abstra_internals/controllers/main.py +62 -0
  4. abstra_internals/repositories/git/native.py +2 -2
  5. abstra_internals/repositories/project/project.py +1 -1
  6. abstra_internals/server/routes/mcp.py +1 -0
  7. abstra_statics/dist/assets/{AbstraButton.vue_vue_type_script_setup_true_lang.a3ba2a31.js → AbstraButton.vue_vue_type_script_setup_true_lang.13670ae7.js} +2 -2
  8. abstra_statics/dist/assets/AbstraLogo.vue_vue_type_script_setup_true_lang.1035457c.js +2 -0
  9. abstra_statics/dist/assets/{ApiKeys.dafa1dc2.js → ApiKeys.9b0b18b5.js} +2 -2
  10. abstra_statics/dist/assets/App.9ab9cabb.js +2 -0
  11. abstra_statics/dist/assets/App.vue_vue_type_style_index_0_lang.6713c9c9.js +2 -0
  12. abstra_statics/dist/assets/BaseLayout.28c01b5b.js +2 -0
  13. abstra_statics/dist/assets/{Billing.622c9155.js → Billing.f9062d88.js} +2 -2
  14. abstra_statics/dist/assets/{Breadcrumb.8a82fa01.js → Breadcrumb.e54636d6.js} +2 -2
  15. abstra_statics/dist/assets/{Builds.c3fd9633.js → Builds.c7363e1b.js} +2 -2
  16. abstra_statics/dist/assets/{Card.38a860a4.js → Card.4a8a30bb.js} +2 -2
  17. abstra_statics/dist/assets/{CircularLoading.217756fb.js → CircularLoading.d81a4cac.js} +2 -2
  18. abstra_statics/dist/assets/CloseCircleOutlined.39b5ab06.js +2 -0
  19. abstra_statics/dist/assets/{ConnectorsView.121898a9.js → ConnectorsView.d4b67e2e.js} +2 -2
  20. abstra_statics/dist/assets/ConsoleOmniChat.vue_vue_type_script_setup_true_lang.5360224e.js +2 -0
  21. abstra_statics/dist/assets/ContentLayout.10f24838.js +2 -0
  22. abstra_statics/dist/assets/{CrudView.75a430a4.js → CrudView.57e8b29a.js} +2 -2
  23. abstra_statics/dist/assets/{DocsButton.vue_vue_type_script_setup_true_lang.a9c8118b.js → DocsButton.vue_vue_type_script_setup_true_lang.108b18e1.js} +2 -2
  24. abstra_statics/dist/assets/{EditorLogin.fba78ce9.js → EditorLogin.2f00deb7.js} +2 -2
  25. abstra_statics/dist/assets/{EditorsView.1a9ccb13.js → EditorsView.eb87a2d8.js} +2 -2
  26. abstra_statics/dist/assets/EnvVars.883a4a57.js +2 -0
  27. abstra_statics/dist/assets/{Error.5bd293cc.js → Error.98b8036c.js} +2 -2
  28. abstra_statics/dist/assets/ExclamationCircleOutlined.2441b96e.js +2 -0
  29. abstra_statics/dist/assets/{Files.c4ce443f.js → Files.9fc8199a.js} +2 -2
  30. abstra_statics/dist/assets/Form.5d562f15.js +2 -0
  31. abstra_statics/dist/assets/{FormRunner.73650f9e.js → FormRunner.2b1b3c45.js} +2 -2
  32. abstra_statics/dist/assets/Home.191a6dce.js +2 -0
  33. abstra_statics/dist/assets/Home.8502aa41.js +2 -0
  34. abstra_statics/dist/assets/LoadingContainer.ac03ea28.js +2 -0
  35. abstra_statics/dist/assets/LoadingOutlined.4c40acc4.js +2 -0
  36. abstra_statics/dist/assets/Login.8bd6a07a.js +2 -0
  37. abstra_statics/dist/assets/{Login.ecec1ff2.js → Login.edfbdaea.js} +2 -2
  38. abstra_statics/dist/assets/{Login.vue_vue_type_script_setup_true_lang.ada1c6c9.js → Login.vue_vue_type_script_setup_true_lang.02acef81.js} +2 -2
  39. abstra_statics/dist/assets/Logo.fc8ace6c.js +2 -0
  40. abstra_statics/dist/assets/{Logs.c1f01b05.js → Logs.4c6c0b3a.js} +2 -2
  41. abstra_statics/dist/assets/LogsController.61f8e22d.css +1 -0
  42. abstra_statics/dist/assets/LogsController.a58ca42a.js +2 -0
  43. abstra_statics/dist/assets/Main.e6b2d2d5.js +2 -0
  44. abstra_statics/dist/assets/{MockForm.9b7a0df3.js → MockForm.091aa4ce.js} +2 -2
  45. abstra_statics/dist/assets/Navbar.24019fd6.js +2 -0
  46. abstra_statics/dist/assets/NewEditor.2b6f4ed3.js +8 -0
  47. abstra_statics/dist/assets/{NewEditor.e3cfeb2c.css → NewEditor.f2d1c0c3.css} +1 -1
  48. abstra_statics/dist/assets/OidcLoginCallback.987cebba.js +2 -0
  49. abstra_statics/dist/assets/OidcLogoutCallback.6c00d878.js +2 -0
  50. abstra_statics/dist/assets/{OmniChat.c3de8733.js → OmniChat.c78c1e51.js} +2 -2
  51. abstra_statics/dist/assets/{OnboardingView.6cda1bc5.js → OnboardingView.687780ed.js} +2 -2
  52. abstra_statics/dist/assets/{Organization.c36206b7.js → Organization.0ac1bf79.js} +2 -2
  53. abstra_statics/dist/assets/Organizations.fc123489.js +2 -0
  54. abstra_statics/dist/assets/{PhArrowCounterClockwise.vue.9e570570.js → PhArrowCounterClockwise.vue.6ab1b899.js} +2 -2
  55. abstra_statics/dist/assets/{PhArrowSquareOut.vue.bcbdb6e7.js → PhArrowSquareOut.vue.1cebb708.js} +2 -2
  56. abstra_statics/dist/assets/{PhClockCounterClockwise.vue.4bd682d8.js → PhClockCounterClockwise.vue.dae2e135.js} +2 -2
  57. abstra_statics/dist/assets/{PhCopy.vue.29934bc2.js → PhCopy.vue.71703533.js} +2 -2
  58. abstra_statics/dist/assets/PhCopySimple.vue.369eb629.js +2 -0
  59. abstra_statics/dist/assets/{PhCube.vue.0fe2c514.js → PhCube.vue.f8549a9b.js} +2 -2
  60. abstra_statics/dist/assets/PhDatabase.vue.0d3246d7.js +2 -0
  61. abstra_statics/dist/assets/{PhDotsThreeVertical.vue.7a0e0638.js → PhDotsThreeVertical.vue.9d76c4de.js} +2 -2
  62. abstra_statics/dist/assets/PhDownloadSimple.vue.21156b6d.js +2 -0
  63. abstra_statics/dist/assets/{PhFileArrowUp.vue.c292afe1.js → PhFileArrowUp.vue.406b22e3.js} +2 -2
  64. abstra_statics/dist/assets/{PhFilePlus.vue.c39ff1a9.js → PhFilePlus.vue.b180df90.js} +2 -2
  65. abstra_statics/dist/assets/{PhFolderPlus.vue.bc40161e.js → PhFolderPlus.vue.b18fd061.js} +2 -2
  66. abstra_statics/dist/assets/{PhGear.vue.0feed515.js → PhGear.vue.bed38929.js} +2 -2
  67. abstra_statics/dist/assets/{PhKey.vue.15a9e64e.js → PhKey.vue.6ef5fdd3.js} +2 -2
  68. abstra_statics/dist/assets/{PhPencil.vue.a7219766.js → PhPencil.vue.0fc0fcc0.js} +2 -2
  69. abstra_statics/dist/assets/{PhPencilSimple.vue.15a2b403.js → PhPencilSimple.vue.0707effd.js} +2 -2
  70. abstra_statics/dist/assets/{PhRocket.vue.7155b91f.js → PhRocket.vue.761192f5.js} +2 -2
  71. abstra_statics/dist/assets/{PhSignOut.vue.2af17bd7.js → PhSignOut.vue.8d8dfd96.js} +2 -2
  72. abstra_statics/dist/assets/{PhSparkle.vue.c7f06cac.js → PhSparkle.vue.18ed0427.js} +2 -2
  73. abstra_statics/dist/assets/{PhTranslate.vue.2ce651a6.js → PhTranslate.vue.00a17a08.js} +2 -2
  74. abstra_statics/dist/assets/{PhUsersThree.vue.2942df75.js → PhUsersThree.vue.d69f0723.js} +2 -2
  75. abstra_statics/dist/assets/{PhWarningCircle.vue.05a40bc4.js → PhWarningCircle.vue.20bfeba7.js} +2 -2
  76. abstra_statics/dist/assets/{PhWebhooksLogo.vue.e4752384.js → PhWebhooksLogo.vue.58a98824.js} +2 -2
  77. abstra_statics/dist/assets/{PlayerConfigProvider.00af5968.js → PlayerConfigProvider.ad360920.js} +2 -2
  78. abstra_statics/dist/assets/{PlayerNavbar.117f184b.js → PlayerNavbar.97e8dee9.js} +2 -2
  79. abstra_statics/dist/assets/{Project.66111161.js → Project.6c4642b5.js} +2 -2
  80. abstra_statics/dist/assets/{ProjectLogin.d9bb1f86.js → ProjectLogin.f92a038d.js} +2 -2
  81. abstra_statics/dist/assets/ProjectSettings.582746dc.js +2 -0
  82. abstra_statics/dist/assets/ProjectsView.a6b3674b.js +2 -0
  83. abstra_statics/dist/assets/{SaveButton.c3f2a4bb.js → SaveButton.c3ad6e9b.js} +2 -2
  84. abstra_statics/dist/assets/ScrollArea.vue_vue_type_script_setup_true_lang.62178939.js +2 -0
  85. abstra_statics/dist/assets/{Sidebar.1c4e35be.js → Sidebar.69f9369e.js} +2 -2
  86. abstra_statics/dist/assets/Sql.cdefe5b9.js +5 -0
  87. abstra_statics/dist/assets/Steps.82252fc0.js +2 -0
  88. abstra_statics/dist/assets/{TableCard.8c99a870.js → TableCard.5462c89d.js} +2 -2
  89. abstra_statics/dist/assets/{TableEditor.ba7a8b6a.js → TableEditor.fcfa13de.js} +2 -2
  90. abstra_statics/dist/assets/{Tables.113960f2.js → Tables.4ee84a7c.js} +2 -2
  91. abstra_statics/dist/assets/{TablesDiagram.8e6d1e89.js → TablesDiagram.b1d1579e.js} +2 -2
  92. abstra_statics/dist/assets/{TablesTabs.vue_vue_type_script_setup_true_lang.5cc96b0d.js → TablesTabs.vue_vue_type_script_setup_true_lang.3e5206e0.js} +2 -2
  93. abstra_statics/dist/assets/{Tasks.90846020.js → Tasks.fd2605bd.js} +2 -2
  94. abstra_statics/dist/assets/{UploadOutlined.518baf9a.js → UploadOutlined.64837788.js} +2 -2
  95. abstra_statics/dist/assets/{View.ded6b355.js → View.b144c5e3.js} +2 -2
  96. abstra_statics/dist/assets/{View.vue_vue_type_script_setup_true_lang.285b5e2c.js → View.vue_vue_type_script_setup_true_lang.c79117ce.js} +2 -2
  97. abstra_statics/dist/assets/{Watermark.5071a4b2.js → Watermark.c0756030.js} +2 -2
  98. abstra_statics/dist/assets/{WebEditor.18ece735.js → WebEditor.774989ad.js} +2 -2
  99. abstra_statics/dist/assets/{WidgetPreview.88a4f27f.js → WidgetPreview.4fd6afc0.js} +2 -2
  100. abstra_statics/dist/assets/{WorkflowViewer.778c401d.js → WorkflowViewer.2666936e.js} +2 -2
  101. abstra_statics/dist/assets/ant-design.b3eefa58.js +2 -0
  102. abstra_statics/dist/assets/apiKey.ee792d72.js +2 -0
  103. abstra_statics/dist/assets/asyncComputed.c73d027a.js +2 -0
  104. abstra_statics/dist/assets/{build.a8637e29.js → build.6e7d77b3.js} +2 -2
  105. abstra_statics/dist/assets/colorHelpers.5ee17d14.js +2 -0
  106. abstra_statics/dist/assets/{console.2a5ed51a.js → console.38bda98e.js} +2 -2
  107. abstra_statics/dist/assets/constants.be8ad36c.js +2 -0
  108. abstra_statics/dist/assets/{contracts.generated.8ad36e63.js → contracts.generated.f01de5a3.js} +2 -2
  109. abstra_statics/dist/assets/{cssMode.6c4ccf50.js → cssMode.408206bf.js} +2 -2
  110. abstra_statics/dist/assets/datetime.a6d58ce1.js +2 -0
  111. abstra_statics/dist/assets/dayjs.703ebc20.js +2 -0
  112. abstra_statics/dist/assets/editor.a77b56bd.js +2 -0
  113. abstra_statics/dist/assets/editor.main.a1ebf0ab.js +2 -0
  114. abstra_statics/dist/assets/fetch.cd29ef4c.js +2 -0
  115. abstra_statics/dist/assets/{files.8999afd5.js → files.1c1692f5.js} +2 -2
  116. abstra_statics/dist/assets/{folder.81ef8619.js → folder.1b74b12c.js} +2 -2
  117. abstra_statics/dist/assets/{freemarker2.559f77f2.js → freemarker2.e62e067c.js} +2 -2
  118. abstra_statics/dist/assets/{handlebars.8d101b7c.js → handlebars.604fc901.js} +2 -2
  119. abstra_statics/dist/assets/{html.b3e7d3ab.js → html.c02f177e.js} +3 -3
  120. abstra_statics/dist/assets/{htmlMode.2305b1bb.js → htmlMode.64078e03.js} +2 -2
  121. abstra_statics/dist/assets/{index.da4f9d54.js → index.015caad7.js} +2 -2
  122. abstra_statics/dist/assets/{index.d809956c.js → index.2ec95eae.js} +2 -2
  123. abstra_statics/dist/assets/index.5197afb2.js +2 -0
  124. abstra_statics/dist/assets/{index.f2beb20d.js → index.82590a75.js} +2 -2
  125. abstra_statics/dist/assets/{index.71eb83f3.js → index.82842143.js} +2 -2
  126. abstra_statics/dist/assets/{index.f6171691.js → index.a12eba98.js} +2 -2
  127. abstra_statics/dist/assets/{index.90acf038.js → index.b72cb2b3.js} +2 -2
  128. abstra_statics/dist/assets/{index.e5cb42a1.js → index.b91afb03.js} +2 -2
  129. abstra_statics/dist/assets/{index.b74c262c.js → index.bec0ecd0.js} +2 -2
  130. abstra_statics/dist/assets/{javascript.3000fc25.js → javascript.57026f87.js} +2 -2
  131. abstra_statics/dist/assets/{jsonMode.7bbb508d.js → jsonMode.9b45b375.js} +2 -2
  132. abstra_statics/dist/assets/{jwt-decode.esm.c9c37cdc.js → jwt-decode.esm.3348bca5.js} +93 -93
  133. abstra_statics/dist/assets/{linters.7fec18d9.js → linters.903f3240.js} +2 -2
  134. abstra_statics/dist/assets/{liquid.b4ac9aaf.js → liquid.233d5164.js} +3 -3
  135. abstra_statics/dist/assets/member.d878cf3f.js +2 -0
  136. abstra_statics/dist/assets/{metadata.e627ddda.js → metadata.9f7495db.js} +2 -2
  137. abstra_statics/dist/assets/{omniChatStore.508e8ece.js → omniChatStore.40ad0b1b.js} +2 -2
  138. abstra_statics/dist/assets/{organization.cd03f9a8.js → organization.8f08e075.js} +2 -2
  139. abstra_statics/dist/assets/{os.f08724fb.js → os.8ffdbf05.js} +2 -2
  140. abstra_statics/dist/assets/player.7112583e.js +2 -0
  141. abstra_statics/dist/assets/{plotly.min.50ebb925.js → plotly.min.da87d61b.js} +2 -2
  142. abstra_statics/dist/assets/polling.f547718c.js +2 -0
  143. abstra_statics/dist/assets/{project.9a068e8d.js → project.2483de10.js} +2 -2
  144. abstra_statics/dist/assets/{python.51a7c648.js → python.1bdbd404.js} +2 -2
  145. abstra_statics/dist/assets/{razor.99323f5f.js → razor.be821b87.js} +3 -3
  146. abstra_statics/dist/assets/{record.a33d29b1.js → record.a108da5a.js} +2 -2
  147. abstra_statics/dist/assets/redirect.eedb2bf6.js +2 -0
  148. abstra_statics/dist/assets/{repository.c0d70cb2.js → repository.353e892d.js} +2 -2
  149. abstra_statics/dist/assets/{repository.94fb77c7.js → repository.48119e01.js} +2 -2
  150. abstra_statics/dist/assets/{repository.5190b94f.js → repository.677ca13c.js} +2 -2
  151. abstra_statics/dist/assets/{router.a8616541.js → router.c6e27700.js} +5 -5
  152. abstra_statics/dist/assets/router.c7abfb0c.js +2 -0
  153. abstra_statics/dist/assets/string.998fa621.js +2 -0
  154. abstra_statics/dist/assets/{tables.2e1c934b.js → tables.9701f90c.js} +2 -2
  155. abstra_statics/dist/assets/{tasksController.1feffcfe.js → tasksController.5db769f7.js} +2 -2
  156. abstra_statics/dist/assets/{toggleHighContrast.6544a728.js → toggleHighContrast.23d5a1ab.js} +7 -7
  157. abstra_statics/dist/assets/{tsMode.922e04bb.js → tsMode.4558d65a.js} +2 -2
  158. abstra_statics/dist/assets/{typescript.1b4f8286.js → typescript.4445d2fa.js} +3 -3
  159. abstra_statics/dist/assets/url.5d02a63f.js +2 -0
  160. abstra_statics/dist/assets/{useCodebaseEvents.ffe057d1.js → useCodebaseEvents.6ebbc5a2.js} +2 -2
  161. abstra_statics/dist/assets/useTables.4d5edd80.js +2 -0
  162. abstra_statics/dist/assets/userStore.34b8f1eb.js +2 -0
  163. abstra_statics/dist/assets/uuid.6980e2bb.js +2 -0
  164. abstra_statics/dist/assets/{vue-flow-background.3e9183ec.js → vue-flow-background.f1022925.js} +2 -2
  165. abstra_statics/dist/assets/{vue-flow-core.41c647da.js → vue-flow-core.0de753a6.js} +2 -2
  166. abstra_statics/dist/assets/{vue-quill.esm-bundler.36e79a95.js → vue-quill.esm-bundler.8f4ad2b3.js} +2 -2
  167. abstra_statics/dist/assets/{workspaceStore.5a435520.js → workspaceStore.5d3f2aec.js} +2 -2
  168. abstra_statics/dist/assets/{xml.c1692f52.js → xml.8a25758b.js} +3 -3
  169. abstra_statics/dist/assets/{yaml.244444c1.js → yaml.e466330b.js} +3 -3
  170. abstra_statics/dist/console.html +14 -14
  171. abstra_statics/dist/editor.html +13 -13
  172. abstra_statics/dist/player.html +9 -9
  173. abstra_statics/dist/assets/AbstraLogo.vue_vue_type_script_setup_true_lang.b1a71740.js +0 -2
  174. abstra_statics/dist/assets/App.45396b70.js +0 -2
  175. abstra_statics/dist/assets/App.vue_vue_type_style_index_0_lang.db5596a1.js +0 -2
  176. abstra_statics/dist/assets/BaseLayout.135a51d9.js +0 -2
  177. abstra_statics/dist/assets/CloseCircleOutlined.4c4707d8.js +0 -2
  178. abstra_statics/dist/assets/ConsoleOmniChat.vue_vue_type_script_setup_true_lang.502d779a.js +0 -2
  179. abstra_statics/dist/assets/ContentLayout.b1c94c2b.js +0 -2
  180. abstra_statics/dist/assets/EnvVars.d77957ea.js +0 -2
  181. abstra_statics/dist/assets/ExclamationCircleOutlined.5d5c3f30.js +0 -2
  182. abstra_statics/dist/assets/Form.a4787001.js +0 -2
  183. abstra_statics/dist/assets/Home.19a2303b.js +0 -2
  184. abstra_statics/dist/assets/Home.4eff6ce9.js +0 -2
  185. abstra_statics/dist/assets/LoadingContainer.97fa8f2e.js +0 -2
  186. abstra_statics/dist/assets/LoadingOutlined.e309ab16.js +0 -2
  187. abstra_statics/dist/assets/Login.632cada3.js +0 -2
  188. abstra_statics/dist/assets/Logo.d77d5637.js +0 -2
  189. abstra_statics/dist/assets/LogsController.0ff97ed4.css +0 -1
  190. abstra_statics/dist/assets/LogsController.2dceb3d3.js +0 -2
  191. abstra_statics/dist/assets/Main.44b7640e.js +0 -2
  192. abstra_statics/dist/assets/Navbar.0951ed6d.js +0 -2
  193. abstra_statics/dist/assets/NewEditor.d65a400f.js +0 -8
  194. abstra_statics/dist/assets/OidcLoginCallback.66b0f38a.js +0 -2
  195. abstra_statics/dist/assets/OidcLogoutCallback.48d8429a.js +0 -2
  196. abstra_statics/dist/assets/Organizations.2b1c6c65.js +0 -2
  197. abstra_statics/dist/assets/PhCopySimple.vue.0241af8c.js +0 -2
  198. abstra_statics/dist/assets/PhDatabase.vue.fdfb515c.js +0 -2
  199. abstra_statics/dist/assets/PhDownloadSimple.vue.f1245c40.js +0 -2
  200. abstra_statics/dist/assets/ProjectSettings.f8c6f60a.js +0 -2
  201. abstra_statics/dist/assets/ProjectsView.32f6ccff.js +0 -2
  202. abstra_statics/dist/assets/ScrollArea.vue_vue_type_script_setup_true_lang.cb5567cd.js +0 -2
  203. abstra_statics/dist/assets/Sql.8d31ec23.js +0 -5
  204. abstra_statics/dist/assets/Steps.687763a5.js +0 -2
  205. abstra_statics/dist/assets/ant-design.4efc9ccd.js +0 -2
  206. abstra_statics/dist/assets/apiKey.bd946d8c.js +0 -2
  207. abstra_statics/dist/assets/asyncComputed.7bc1692e.js +0 -2
  208. abstra_statics/dist/assets/colorHelpers.8ba18214.js +0 -2
  209. abstra_statics/dist/assets/constants.534f67bc.js +0 -2
  210. abstra_statics/dist/assets/datetime.89495471.js +0 -2
  211. abstra_statics/dist/assets/dayjs.304f38f8.js +0 -2
  212. abstra_statics/dist/assets/editor.c1a1bd33.js +0 -2
  213. abstra_statics/dist/assets/editor.main.84e237cf.js +0 -2
  214. abstra_statics/dist/assets/fetch.452c58e5.js +0 -2
  215. abstra_statics/dist/assets/index.bc97991a.js +0 -2
  216. abstra_statics/dist/assets/member.3c12efee.js +0 -2
  217. abstra_statics/dist/assets/player.7362caf4.js +0 -2
  218. abstra_statics/dist/assets/polling.4db5ee9a.js +0 -2
  219. abstra_statics/dist/assets/redirect.42bf4f0a.js +0 -2
  220. abstra_statics/dist/assets/router.4168cc71.js +0 -2
  221. abstra_statics/dist/assets/string.8fab6b53.js +0 -2
  222. abstra_statics/dist/assets/url.9e033350.js +0 -2
  223. abstra_statics/dist/assets/useTables.5fffa3f1.js +0 -2
  224. abstra_statics/dist/assets/userStore.d962fba4.js +0 -2
  225. abstra_statics/dist/assets/uuid.8581bc03.js +0 -2
  226. {abstra-3.24.2.dist-info → abstra-3.24.3.dist-info}/WHEEL +0 -0
  227. {abstra-3.24.2.dist-info → abstra-3.24.3.dist-info}/entry_points.txt +0 -0
  228. {abstra-3.24.2.dist-info → abstra-3.24.3.dist-info}/top_level.txt +0 -0
@@ -1,2 +0,0 @@
1
- import{O as l}from"./workspaceStore.5a435520.js";import{d as c,U as u,ac as f,f as n,b as o,u as t,o as _,g as r,t as i,i as s,A as p,df as g}from"./jwt-decode.esm.c9c37cdc.js";import"./userStore.d962fba4.js";import"./url.9e033350.js";import"./colorHelpers.8ba18214.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]="6c3d7938-943f-4294-89a6-74a7a3ed3740",e._sentryDebugIdIdentifier="sentry-dbid-6c3d7938-943f-4294-89a6-74a7a3ed3740")}catch{}})();const v=c({__name:"OidcLoginCallback",setup(e){return u(async()=>{await new l().loginCallback()}),(a,d)=>(_(),f("div",null,[n(t(p),null,{default:o(()=>[r(i(t(s).translate("i18n_oidclogincallback_authenticated_title")),1)]),_:1}),n(t(g),null,{default:o(()=>[r(i(t(s).translate("i18n_oidclogincallback_close_window_message")),1)]),_:1})]))}});export{v as default};
2
- //# sourceMappingURL=OidcLoginCallback.66b0f38a.js.map
@@ -1,2 +0,0 @@
1
- import{O as l}from"./workspaceStore.5a435520.js";import{d,U as u,ac as f,f as o,b as n,u as a,o as _,g as r,t as c,i as s,A as b,df as p}from"./jwt-decode.esm.c9c37cdc.js";import"./userStore.d962fba4.js";import"./url.9e033350.js";import"./colorHelpers.8ba18214.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="af5c541b-839b-4cac-9c25-6b34c1c2ffb6",e._sentryDebugIdIdentifier="sentry-dbid-af5c541b-839b-4cac-9c25-6b34c1c2ffb6")}catch{}})();const v=d({__name:"OidcLogoutCallback",setup(e){return u(async()=>{await new l().logoutCallback()}),(t,i)=>(_(),f("div",null,[o(a(b),null,{default:n(()=>[r(c(a(s).translate("i18n_oidclogoutcallback_authenticated_title")),1)]),_:1}),o(a(p),null,{default:n(()=>[r(c(a(s).translate("i18n_oidclogoutcallback_close_window_message")),1)]),_:1})]))}});export{v as default};
2
- //# sourceMappingURL=OidcLogoutCallback.48d8429a.js.map
@@ -1,2 +0,0 @@
1
- import{N as C}from"./Navbar.0951ed6d.js";import{B as I}from"./BaseLayout.135a51d9.js";import{C as x}from"./ContentLayout.b1c94c2b.js";import{C as N}from"./CrudView.75a430a4.js";import{a as O}from"./asyncComputed.7bc1692e.js";import{F as B}from"./PhArrowSquareOut.vue.bcbdb6e7.js";import{G as D}from"./PhPencil.vue.a7219766.js";import{d as h,i as e,ec as F,r as R,c as E,ac as M,f as r,b as s,u as i,aY as V,o as f,a as $,cE as L,bQ as U,cD as j,h as A,M as G}from"./jwt-decode.esm.c9c37cdc.js";import"./router.a8616541.js";import{a as p}from"./organization.cd03f9a8.js";import"./tables.2e1c934b.js";import"./AbstraButton.vue_vue_type_script_setup_true_lang.a3ba2a31.js";import"./constants.534f67bc.js";import"./PhTranslate.vue.2ce651a6.js";import"./PhSignOut.vue.2af17bd7.js";import"./index.bc97991a.js";import"./index.e5cb42a1.js";import"./omniChatStore.508e8ece.js";import"./record.a33d29b1.js";import"./uuid.8581bc03.js";import"./PhCopySimple.vue.0241af8c.js";import"./PhSparkle.vue.c7f06cac.js";import"./index.f2beb20d.js";import"./Breadcrumb.8a82fa01.js";import"./DocsButton.vue_vue_type_script_setup_true_lang.a9c8118b.js";import"./url.9e033350.js";import"./PhDotsThreeVertical.vue.7a0e0638.js";import"./index.da4f9d54.js";import"./string.8fab6b53.js";(function(){try{var l=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},m=new Error().stack;m&&(l._sentryDebugIds=l._sentryDebugIds||{},l._sentryDebugIds[m]="ffe5903d-0351-4aeb-859f-f33efc33d034",l._sentryDebugIdIdentifier="sentry-dbid-ffe5903d-0351-4aeb-859f-f33efc33d034")}catch{}})();const yt=h({__name:"Organizations",setup(l){const m=[{label:e.translate("i18n_organizations_my_organizations"),path:"/organizations"}],u=[{key:"name",label:e.translate("i18n_organizations_organization_name")}],_=F(),{loading:y,result:z,refetch:b}=O(()=>p.list()),d=({key:a})=>{_.push({name:"organization",params:{organizationId:a}})},o=R({state:"idle"});function v(a){o.value={state:"renaming",organizationId:a.id,newName:a.name}}async function c(a){if(o.value.state==="renaming"&&a){const{organizationId:t,newName:n}=o.value;await p.rename(t,n),b()}o.value={state:"idle"}}const w=async a=>{const t=await p.create(a.name);d({key:t.id})},k=E(()=>{var a,t;return{columns:[{title:e.translate("i18n_organizations_organization_name"),align:"left"},{title:e.translate("i18n_organizations_path")},{title:"",align:"right"}],rows:(t=(a=z.value)==null?void 0:a.map(n=>{var g;return{key:n.id,cells:[{type:"link",text:n.name,to:`/organizations/${encodeURIComponent(n.id)}`},{type:"text",text:(g=n.id)!=null?g:null},{type:"actions",actions:[{icon:B,label:e.translate("i18n_organizations_go_to_projects"),onClick:d},{icon:D,label:e.translate("i18n_organizations_rename"),onClick:()=>v(n)}]}]}}))!=null?t:[]}});return(a,t)=>(f(),M(V,null,[r(I,null,{navbar:s(()=>[r(C,{breadcrumb:m})]),content:s(()=>[r(x,null,{default:s(()=>[r(N,{"entity-name":"organization",loading:i(y),title:i(e).translate("i18n_organizations_my_organizations"),description:i(e).translate("i18n_organizations_description"),"create-button-text":i(e).translate("i18n_organizations_create_organization"),"empty-title":i(e).translate("i18n_organizations_empty_title"),table:k.value,fields:u,create:w},null,8,["loading","title","description","create-button-text","empty-title","table"])]),_:1})]),_:1}),r(i(G),{open:o.value.state==="renaming",title:i(e).translate("i18n_organizations_rename_organization"),onCancel:t[1]||(t[1]=n=>c(!1)),onOk:t[2]||(t[2]=n=>c(!0))},{default:s(()=>[o.value.state==="renaming"?(f(),$(i(j),{key:0,layout:"vertical"},{default:s(()=>[r(i(L),{label:i(e).translate("i18n_organizations_new_name")},{default:s(()=>[r(i(U),{value:o.value.newName,"onUpdate:value":t[0]||(t[0]=n=>o.value.newName=n)},null,8,["value"])]),_:1},8,["label"])]),_:1})):A("",!0)]),_:1},8,["open","title"])],64))}});export{yt as default};
2
- //# sourceMappingURL=Organizations.2b1c6c65.js.map
@@ -1,2 +0,0 @@
1
- import{d as m,at as n,c as i,o as t,ac as l,ae as f,h,ed as y,e as r}from"./jwt-decode.esm.c9c37cdc.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},a=new Error().stack;a&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[a]="2d1c8b89-d77c-407e-a478-6d3f4f982ae3",o._sentryDebugIdIdentifier="sentry-dbid-2d1c8b89-d77c-407e-a478-6d3f4f982ae3")}catch{}})();const v=["width","height","fill","transform"],Z={key:0},w=r("path",{d:"M180,64H40A12,12,0,0,0,28,76V216a12,12,0,0,0,12,12H180a12,12,0,0,0,12-12V76A12,12,0,0,0,180,64ZM168,204H52V88H168ZM228,40V180a12,12,0,0,1-24,0V52H76a12,12,0,0,1,0-24H216A12,12,0,0,1,228,40Z"},null,-1),A=[w],M={key:1},b=r("path",{d:"M184,72V216H40V72Z",opacity:"0.2"},null,-1),k=r("path",{d:"M184,64H40a8,8,0,0,0-8,8V216a8,8,0,0,0,8,8H184a8,8,0,0,0,8-8V72A8,8,0,0,0,184,64Zm-8,144H48V80H176ZM224,40V184a8,8,0,0,1-16,0V48H72a8,8,0,0,1,0-16H216A8,8,0,0,1,224,40Z"},null,-1),B=[b,k],I={key:2},S=r("path",{d:"M192,72V216a8,8,0,0,1-8,8H40a8,8,0,0,1-8-8V72a8,8,0,0,1,8-8H184A8,8,0,0,1,192,72Zm24-40H72a8,8,0,0,0,0,16H208V184a8,8,0,0,0,16,0V40A8,8,0,0,0,216,32Z"},null,-1),C=[S],D={key:3},_=r("path",{d:"M184,66H40a6,6,0,0,0-6,6V216a6,6,0,0,0,6,6H184a6,6,0,0,0,6-6V72A6,6,0,0,0,184,66Zm-6,144H46V78H178ZM222,40V184a6,6,0,0,1-12,0V46H72a6,6,0,0,1,0-12H216A6,6,0,0,1,222,40Z"},null,-1),x=[_],z={key:4},N=r("path",{d:"M184,64H40a8,8,0,0,0-8,8V216a8,8,0,0,0,8,8H184a8,8,0,0,0,8-8V72A8,8,0,0,0,184,64Zm-8,144H48V80H176ZM224,40V184a8,8,0,0,1-16,0V48H72a8,8,0,0,1,0-16H216A8,8,0,0,1,224,40Z"},null,-1),E=[N],P={key:5},$=r("path",{d:"M184,68H40a4,4,0,0,0-4,4V216a4,4,0,0,0,4,4H184a4,4,0,0,0,4-4V72A4,4,0,0,0,184,68Zm-4,144H44V76H180ZM220,40V184a4,4,0,0,1-8,0V44H72a4,4,0,0,1,0-8H216A4,4,0,0,1,220,40Z"},null,-1),j=[$],q={name:"PhCopySimple"},G=m({...q,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(o){const a=o,s=n("weight","regular"),u=n("size","1em"),V=n("color","currentColor"),p=n("mirrored",!1),d=i(()=>{var e;return(e=a.weight)!=null?e:s}),H=i(()=>{var e;return(e=a.size)!=null?e:u}),c=i(()=>{var e;return(e=a.color)!=null?e:V}),g=i(()=>a.mirrored!==void 0?a.mirrored?"scale(-1, 1)":void 0:p?"scale(-1, 1)":void 0);return(e,F)=>(t(),l("svg",y({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:H.value,height:H.value,fill:c.value,transform:g.value},e.$attrs),[f(e.$slots,"default"),d.value==="bold"?(t(),l("g",Z,A)):d.value==="duotone"?(t(),l("g",M,B)):d.value==="fill"?(t(),l("g",I,C)):d.value==="light"?(t(),l("g",D,x)):d.value==="regular"?(t(),l("g",z,E)):d.value==="thin"?(t(),l("g",P,j)):h("",!0)],16,v))}});export{G as I};
2
- //# sourceMappingURL=PhCopySimple.vue.0241af8c.js.map
@@ -1,2 +0,0 @@
1
- import{d as v,at as o,c as C,o as t,ac as a,ae as Z,h,ed as V,e as c}from"./jwt-decode.esm.c9c37cdc.js";(function(){try{var l=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},s=new Error().stack;s&&(l._sentryDebugIds=l._sentryDebugIds||{},l._sentryDebugIds[s]="9b889bf9-7946-457b-949d-c1bbd2324862",l._sentryDebugIdIdentifier="sentry-dbid-9b889bf9-7946-457b-949d-c1bbd2324862")}catch{}})();const b=["width","height","fill","transform"],f={key:0},y=c("path",{d:"M196,35.52C177.62,25.51,153.48,20,128,20S78.38,25.51,60,35.52C39.37,46.79,28,62.58,28,80v96c0,17.42,11.37,33.21,32,44.48,18.35,10,42.49,15.52,68,15.52s49.62-5.51,68-15.52c20.66-11.27,32-27.06,32-44.48V80C228,62.58,216.63,46.79,196,35.52ZM204,128c0,17-31.21,36-76,36s-76-19-76-36v-8.46a88.9,88.9,0,0,0,8,4.94c18.35,10,42.49,15.52,68,15.52s49.62-5.51,68-15.52a88.9,88.9,0,0,0,8-4.94ZM128,44c44.79,0,76,19,76,36s-31.21,36-76,36S52,97,52,80,83.21,44,128,44Zm0,168c-44.79,0-76-19-76-36v-8.46a88.9,88.9,0,0,0,8,4.94c18.35,10,42.49,15.52,68,15.52s49.62-5.51,68-15.52a88.9,88.9,0,0,0,8-4.94V176C204,193,172.79,212,128,212Z"},null,-1),w=[y],M={key:1},S=c("path",{d:"M216,80c0,26.51-39.4,48-88,48S40,106.51,40,80s39.4-48,88-48S216,53.49,216,80Z",opacity:"0.2"},null,-1),k=c("path",{d:"M128,24C74.17,24,32,48.6,32,80v96c0,31.4,42.17,56,96,56s96-24.6,96-56V80C224,48.6,181.83,24,128,24Zm80,104c0,9.62-7.88,19.43-21.61,26.92C170.93,163.35,150.19,168,128,168s-42.93-4.65-58.39-13.08C55.88,147.43,48,137.62,48,128V111.36c17.06,15,46.23,24.64,80,24.64s62.94-9.68,80-24.64ZM69.61,53.08C85.07,44.65,105.81,40,128,40s42.93,4.65,58.39,13.08C200.12,60.57,208,70.38,208,80s-7.88,19.43-21.61,26.92C170.93,115.35,150.19,120,128,120s-42.93-4.65-58.39-13.08C55.88,99.43,48,89.62,48,80S55.88,60.57,69.61,53.08ZM186.39,202.92C170.93,211.35,150.19,216,128,216s-42.93-4.65-58.39-13.08C55.88,195.43,48,185.62,48,176V159.36c17.06,15,46.23,24.64,80,24.64s62.94-9.68,80-24.64V176C208,185.62,200.12,195.43,186.39,202.92Z"},null,-1),B=[S,k],D={key:2},I=c("path",{d:"M128,24C74.17,24,32,48.6,32,80v96c0,31.4,42.17,56,96,56s96-24.6,96-56V80C224,48.6,181.83,24,128,24Zm80,104c0,9.62-7.88,19.43-21.61,26.92C170.93,163.35,150.19,168,128,168s-42.93-4.65-58.39-13.08C55.88,147.43,48,137.62,48,128V111.36c17.06,15,46.23,24.64,80,24.64s62.94-9.68,80-24.64Zm-21.61,74.92C170.93,211.35,150.19,216,128,216s-42.93-4.65-58.39-13.08C55.88,195.43,48,185.62,48,176V159.36c17.06,15,46.23,24.64,80,24.64s62.94-9.68,80-24.64V176C208,185.62,200.12,195.43,186.39,202.92Z"},null,-1),_=[I],x={key:3},z=c("path",{d:"M128,26C75.29,26,34,49.72,34,80v96c0,30.28,41.29,54,94,54s94-23.72,94-54V80C222,49.72,180.71,26,128,26Zm0,12c44.45,0,82,19.23,82,42s-37.55,42-82,42S46,102.77,46,80,83.55,38,128,38Zm82,138c0,22.77-37.55,42-82,42s-82-19.23-82-42V154.79C62,171.16,92.37,182,128,182s66-10.84,82-27.21Zm0-48c0,22.77-37.55,42-82,42s-82-19.23-82-42V106.79C62,123.16,92.37,134,128,134s66-10.84,82-27.21Z"},null,-1),N=[z],E={key:4},P=c("path",{d:"M128,24C74.17,24,32,48.6,32,80v96c0,31.4,42.17,56,96,56s96-24.6,96-56V80C224,48.6,181.83,24,128,24Zm80,104c0,9.62-7.88,19.43-21.61,26.92C170.93,163.35,150.19,168,128,168s-42.93-4.65-58.39-13.08C55.88,147.43,48,137.62,48,128V111.36c17.06,15,46.23,24.64,80,24.64s62.94-9.68,80-24.64ZM69.61,53.08C85.07,44.65,105.81,40,128,40s42.93,4.65,58.39,13.08C200.12,60.57,208,70.38,208,80s-7.88,19.43-21.61,26.92C170.93,115.35,150.19,120,128,120s-42.93-4.65-58.39-13.08C55.88,99.43,48,89.62,48,80S55.88,60.57,69.61,53.08ZM186.39,202.92C170.93,211.35,150.19,216,128,216s-42.93-4.65-58.39-13.08C55.88,195.43,48,185.62,48,176V159.36c17.06,15,46.23,24.64,80,24.64s62.94-9.68,80-24.64V176C208,185.62,200.12,195.43,186.39,202.92Z"},null,-1),$=[P],j={key:5},q=c("path",{d:"M192.14,42.55C174.94,33.17,152.16,28,128,28S81.06,33.17,63.86,42.55C45.89,52.35,36,65.65,36,80v96c0,14.35,9.89,27.65,27.86,37.45,17.2,9.38,40,14.55,64.14,14.55s46.94-5.17,64.14-14.55c18-9.8,27.86-23.1,27.86-37.45V80C220,65.65,210.11,52.35,192.14,42.55ZM212,176c0,11.29-8.41,22.1-23.69,30.43C172.27,215.18,150.85,220,128,220s-44.27-4.82-60.31-13.57C52.41,198.1,44,187.29,44,176V149.48c4.69,5.93,11.37,11.34,19.86,16,17.2,9.38,40,14.55,64.14,14.55s46.94-5.17,64.14-14.55c8.49-4.63,15.17-10,19.86-16Zm0-48c0,11.29-8.41,22.1-23.69,30.43C172.27,167.18,150.85,172,128,172s-44.27-4.82-60.31-13.57C52.41,150.1,44,139.29,44,128V101.48c4.69,5.93,11.37,11.34,19.86,16,17.2,9.38,40,14.55,64.14,14.55s46.94-5.17,64.14-14.55c8.49-4.63,15.17-10,19.86-16Zm-23.69-17.57C172.27,119.18,150.85,124,128,124s-44.27-4.82-60.31-13.57C52.41,102.1,44,91.29,44,80s8.41-22.1,23.69-30.43C83.73,40.82,105.15,36,128,36s44.27,4.82,60.31,13.57C203.59,57.9,212,68.71,212,80S203.59,102.1,188.31,110.43Z"},null,-1),A=[q],F={name:"PhDatabase"},H=v({...F,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(l){const s=l,d=o("weight","regular"),i=o("size","1em"),u=o("color","currentColor"),m=o("mirrored",!1),r=C(()=>{var e;return(e=s.weight)!=null?e:d}),n=C(()=>{var e;return(e=s.size)!=null?e:i}),g=C(()=>{var e;return(e=s.color)!=null?e:u}),p=C(()=>s.mirrored!==void 0?s.mirrored?"scale(-1, 1)":void 0:m?"scale(-1, 1)":void 0);return(e,G)=>(t(),a("svg",V({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:n.value,height:n.value,fill:g.value,transform:p.value},e.$attrs),[Z(e.$slots,"default"),r.value==="bold"?(t(),a("g",f,w)):r.value==="duotone"?(t(),a("g",M,B)):r.value==="fill"?(t(),a("g",D,_)):r.value==="light"?(t(),a("g",x,N)):r.value==="regular"?(t(),a("g",E,$)):r.value==="thin"?(t(),a("g",j,A)):h("",!0)],16,b))}});export{H as I};
2
- //# sourceMappingURL=PhDatabase.vue.fdfb515c.js.map
@@ -1,2 +0,0 @@
1
- import{d as V,at as n,c as i,o as t,ac as l,ae as h,h as f,ed as y,e as o}from"./jwt-decode.esm.c9c37cdc.js";(function(){try{var r=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new Error().stack;e&&(r._sentryDebugIds=r._sentryDebugIds||{},r._sentryDebugIds[e]="3ca5e3db-47f2-4b5c-97d1-dda29078d4dc",r._sentryDebugIdIdentifier="sentry-dbid-3ca5e3db-47f2-4b5c-97d1-dda29078d4dc")}catch{}})();const w=["width","height","fill","transform"],H={key:0},b=o("path",{d:"M228,144v64a12,12,0,0,1-12,12H40a12,12,0,0,1-12-12V144a12,12,0,0,1,24,0v52H204V144a12,12,0,0,1,24,0Zm-108.49,8.49a12,12,0,0,0,17,0l40-40a12,12,0,0,0-17-17L140,115V32a12,12,0,0,0-24,0v83L96.49,95.51a12,12,0,0,0-17,17Z"},null,-1),Z=[b],L={key:1},k=o("path",{d:"M216,48V208H40V48A16,16,0,0,1,56,32H200A16,16,0,0,1,216,48Z",opacity:"0.2"},null,-1),M=o("path",{d:"M224,144v64a8,8,0,0,1-8,8H40a8,8,0,0,1-8-8V144a8,8,0,0,1,16,0v56H208V144a8,8,0,0,1,16,0Zm-101.66,5.66a8,8,0,0,0,11.32,0l40-40a8,8,0,0,0-11.32-11.32L136,124.69V32a8,8,0,0,0-16,0v92.69L93.66,98.34a8,8,0,0,0-11.32,11.32Z"},null,-1),B=[k,M],D={key:2},S=o("path",{d:"M224,144v64a8,8,0,0,1-8,8H40a8,8,0,0,1-8-8V144a8,8,0,0,1,16,0v56H208V144a8,8,0,0,1,16,0Zm-101.66,5.66a8,8,0,0,0,11.32,0l40-40A8,8,0,0,0,168,96H136V32a8,8,0,0,0-16,0V96H88a8,8,0,0,0-5.66,13.66Z"},null,-1),I=[S],_={key:3},x=o("path",{d:"M222,144v64a6,6,0,0,1-6,6H40a6,6,0,0,1-6-6V144a6,6,0,0,1,12,0v58H210V144a6,6,0,0,1,12,0Zm-98.24,4.24a6,6,0,0,0,8.48,0l40-40a6,6,0,0,0-8.48-8.48L134,129.51V32a6,6,0,0,0-12,0v97.51L92.24,99.76a6,6,0,0,0-8.48,8.48Z"},null,-1),z=[x],A={key:4},C=o("path",{d:"M224,144v64a8,8,0,0,1-8,8H40a8,8,0,0,1-8-8V144a8,8,0,0,1,16,0v56H208V144a8,8,0,0,1,16,0Zm-101.66,5.66a8,8,0,0,0,11.32,0l40-40a8,8,0,0,0-11.32-11.32L136,124.69V32a8,8,0,0,0-16,0v92.69L93.66,98.34a8,8,0,0,0-11.32,11.32Z"},null,-1),N=[C],E={key:5},P=o("path",{d:"M220,144v64a4,4,0,0,1-4,4H40a4,4,0,0,1-4-4V144a4,4,0,0,1,8,0v60H212V144a4,4,0,0,1,8,0Zm-94.83,2.83a4,4,0,0,0,5.66,0l40-40a4,4,0,1,0-5.66-5.66L132,134.34V32a4,4,0,0,0-8,0V134.34L90.83,101.17a4,4,0,0,0-5.66,5.66Z"},null,-1),$=[P],j={name:"PhDownloadSimple"},W=V({...j,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(r){const e=r,s=n("weight","regular"),v=n("size","1em"),c=n("color","currentColor"),g=n("mirrored",!1),d=i(()=>{var a;return(a=e.weight)!=null?a:s}),u=i(()=>{var a;return(a=e.size)!=null?a:v}),p=i(()=>{var a;return(a=e.color)!=null?a:c}),m=i(()=>e.mirrored!==void 0?e.mirrored?"scale(-1, 1)":void 0:g?"scale(-1, 1)":void 0);return(a,q)=>(t(),l("svg",y({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:u.value,height:u.value,fill:p.value,transform:m.value},a.$attrs),[h(a.$slots,"default"),d.value==="bold"?(t(),l("g",H,Z)):d.value==="duotone"?(t(),l("g",L,B)):d.value==="fill"?(t(),l("g",D,I)):d.value==="light"?(t(),l("g",_,z)):d.value==="regular"?(t(),l("g",A,N)):d.value==="thin"?(t(),l("g",E,$)):f("",!0)],16,w))}});export{W as G};
2
- //# sourceMappingURL=PhDownloadSimple.vue.f1245c40.js.map
@@ -1,2 +0,0 @@
1
- import{a as T}from"./asyncComputed.7bc1692e.js";import{g}from"./router.a8616541.js";import{f as n,ee as x,f8 as B,d as y,r as E,en as F,c as b,a as N,b as i,u as e,o as S,g as d,t as c,i as l,A as C,de as V,df as m,e as h,cE as R,dj as U,bQ as $,b0 as H,cD as q,ei as M,ac as Q,h as z}from"./jwt-decode.esm.c9c37cdc.js";import{a as w}from"./project.9a068e8d.js";import"./tables.2e1c934b.js";import{S as G}from"./SaveButton.c3f2a4bb.js";import{A as J}from"./index.bc97991a.js";import"./index.da4f9d54.js";import"./record.a33d29b1.js";import"./string.8fab6b53.js";import"./ExclamationCircleOutlined.5d5c3f30.js";(function(){try{var r=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},o=new Error().stack;o&&(r._sentryDebugIds=r._sentryDebugIds||{},r._sentryDebugIds[o]="b6a084ec-aec7-4663-9188-0e031a02ca49",r._sentryDebugIdIdentifier="sentry-dbid-b6a084ec-aec7-4663-9188-0e031a02ca49")}catch{}})();function j(r){for(var o=1;o<arguments.length;o++){var a=arguments[o]!=null?Object(arguments[o]):{},t=Object.keys(a);typeof Object.getOwnPropertySymbols=="function"&&(t=t.concat(Object.getOwnPropertySymbols(a).filter(function(u){return Object.getOwnPropertyDescriptor(a,u).enumerable}))),t.forEach(function(u){L(r,u,a[u])})}return r}function L(r,o,a){return o in r?Object.defineProperty(r,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):r[o]=a,r}var f=function(o,a){var t=j({},o,a.attrs);return n(x,j({},t,{icon:B}),null)};f.displayName="CopyOutlined";f.inheritAttrs=!1;const W=f,X=y({__name:"SubdomainEditor",props:{project:{}},emits:["change-subdomain"],setup(r,{emit:o}){const a=r,t=E(void 0),u=F.exports.debounce(async()=>{try{const{available:s}=await a.project.checkSubdomain();t.value=s?"available":"unavailable"}catch{t.value=void 0}},500);function p(){if(!a.project.hasChangesDeep("subdomain")){t.value=void 0;return}a.project.subdomain?(t.value="loading",u()):t.value="invalid"}const v=b(()=>t.value!=="available"||!a.project.hasChangesDeep("subdomain")),A=async()=>{await navigator.clipboard.writeText(a.project.getUrl())},O=b(()=>{switch(t.value){case"invalid":return"error";case"loading":return"validating";case"available":return"success";case"unavailable":return"error";default:return}}),k=b(()=>{switch(t.value){case"loading":return l.translate("i18n_subdomaineditor_checking");case"available":return l.translate("i18n_subdomaineditor_available");case"unavailable":return l.translate("i18n_subdomaineditor_unavailable");case"invalid":return l.translate("i18n_subdomaineditor_invalid");default:return}}),P=()=>{const s=w.formatSubdomain(a.project.subdomain);o("change-subdomain",s),p()};function D(){a.project.resetChanges(),t.value=void 0}return(s,_)=>(S(),N(e(J),{direction:"vertical"},{default:i(()=>[n(e(C),{level:2},{default:i(()=>[d(c(e(l).translate("i18n_subdomaineditor_title")),1)]),_:1}),n(e(V),null,{default:i(()=>[d(c(e(l).translate("i18n_subdomaineditor_description")),1)]),_:1}),n(e(g),null,{default:i(()=>[n(e(m),null,{default:i(()=>[d(c(e(l).translate("i18n_subdomaineditor_forms_available")),1)]),_:1}),n(e(m),{code:""},{default:i(()=>[h("span",null,c(s.project.getUrl("[PATH]")),1)]),_:1})]),_:1}),n(e(g),null,{default:i(()=>[n(e(m),null,{default:i(()=>[d(c(e(l).translate("i18n_subdomaineditor_hooks_available")),1)]),_:1}),n(e(m),{code:""},{default:i(()=>[h("span",null,c(s.project.getUrl("_hooks/[PATH]")),1)]),_:1})]),_:1}),n(e(q),null,{default:i(()=>[n(e(R),{"validate-status":O.value,help:k.value,"has-feedback":""},{default:i(()=>[n(e(U),{gap:"middle"},{default:i(()=>[n(e($),{value:s.project.subdomain,type:"text",loading:t.value==="loading",onBlur:P,onChange:_[0]||(_[0]=I=>o("change-subdomain",I.target.value))},{addonBefore:i(()=>[d("https://")]),addonAfter:i(()=>[d(".abstra.app/")]),_:1},8,["value","loading"]),n(e(H),{placement:"top",title:e(l).translate("i18n_subdomaineditor_copy")},{default:i(()=>[n(e(W),{color:"red",onClick:A})]),_:1},8,["title"])]),_:1})]),_:1},8,["validate-status","help"]),n(G,{model:s.project,disabled:v.value,onError:D},null,8,["model","disabled"])]),_:1})]),_:1}))}}),Y={key:0,class:"project-settings"},ue=y({__name:"ProjectSettings",setup(r){const a=M().params.projectId,{result:t}=T(()=>w.get(a)),u=p=>{t.value.subdomain=p};return(p,v)=>e(t)?(S(),Q("div",Y,[n(e(C),null,{default:i(()=>[d(c(e(l).translate("i18n_projectsettingsview_title")),1)]),_:1}),n(X,{project:e(t),onChangeSubdomain:u},null,8,["project"])])):z("",!0)}});export{ue as default};
2
- //# sourceMappingURL=ProjectSettings.f8c6f60a.js.map
@@ -1,2 +0,0 @@
1
- var W=Object.defineProperty;var K=(p,t,o)=>t in p?W(p,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):p[t]=o;var i=(p,t,o)=>(K(p,typeof t!="symbol"?t+"":t,o),o);import{d as J,at as N,c as C,o as c,ac as F,ae as Y,h as A,ed as X,e as I,r as k,w as ee,en as te,ei as ae,ec as re,f as r,b as l,u as e,a as j,aY as x,g as _,t as m,i as d,A as le,cI as oe,dj as P,ej as Z,eq as V,dd as ie,S as de,cC as se,er as O,cE as S,bQ as $,aI as T,cD as U,M as Q,_ as ne}from"./jwt-decode.esm.c9c37cdc.js";import{_ as g}from"./AbstraButton.vue_vue_type_script_setup_true_lang.a3ba2a31.js";import{H as B}from"./PhCube.vue.0fe2c514.js";import{G}from"./PhFilePlus.vue.c39ff1a9.js";import{a as R,G as ue}from"./PhFolderPlus.vue.bc40161e.js";import{F as ce}from"./PhGear.vue.0feed515.js";import{G as fe}from"./PhPencilSimple.vue.15a2b403.js";import{F as ve}from"./PhUsersThree.vue.2942df75.js";import{l as he,A as me,e as pe,f as _e,C as je}from"./router.a8616541.js";import{M as we}from"./member.3c12efee.js";import{a as ge,P as Fe}from"./project.9a068e8d.js";import"./tables.2e1c934b.js";import{F as ye}from"./folder.81ef8619.js";import{a as q}from"./ant-design.4efc9ccd.js";import{a as be}from"./organization.cd03f9a8.js";import"./index.da4f9d54.js";import"./record.a33d29b1.js";import"./string.8fab6b53.js";(function(){try{var p=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new Error().stack;t&&(p._sentryDebugIds=p._sentryDebugIds||{},p._sentryDebugIds[t]="5413d544-d131-4f8d-9416-7fbccc279554",p._sentryDebugIdIdentifier="sentry-dbid-5413d544-d131-4f8d-9416-7fbccc279554")}catch{}})();const Pe=["width","height","fill","transform"],Ie={key:0},Ce=I("path",{d:"M248.23,112.31A20,20,0,0,0,232,104H220V88a20,20,0,0,0-20-20H132L105.34,48a20.12,20.12,0,0,0-12-4H40A20,20,0,0,0,20,64V208a12,12,0,0,0,12,12H211.1a12,12,0,0,0,11.33-8l28.49-81.47.06-.17A20,20,0,0,0,248.23,112.31ZM92,68l28.8,21.6A12,12,0,0,0,128,92h68v12H69.77a20,20,0,0,0-18.94,13.58L44,137.15V68ZM202.59,196H48.89l23.72-68H226.37Z"},null,-1),Me=[Ce],ke={key:1},He=I("path",{d:"M208,88v24H69.77a8,8,0,0,0-7.59,5.47L32,208V64a8,8,0,0,1,8-8H93.33a8,8,0,0,1,4.8,1.6L128,80h72A8,8,0,0,1,208,88Z",opacity:"0.2"},null,-1),Ae=I("path",{d:"M245,110.64A16,16,0,0,0,232,104H216V88a16,16,0,0,0-16-16H130.67L102.94,51.2a16.14,16.14,0,0,0-9.6-3.2H40A16,16,0,0,0,24,64V208a8,8,0,0,0,8,8H211.1a8,8,0,0,0,7.59-5.47l28.49-85.47A16.05,16.05,0,0,0,245,110.64ZM93.34,64,123.2,86.4A8,8,0,0,0,128,88h72v16H69.77a16,16,0,0,0-15.18,10.94L40,158.7V64Zm112,136H43.1l26.67-80H232Z"},null,-1),Le=[He,Ae],Ne={key:2},Ve=I("path",{d:"M245,110.64A16,16,0,0,0,232,104H216V88a16,16,0,0,0-16-16H130.67L102.94,51.2a16.14,16.14,0,0,0-9.6-3.2H40A16,16,0,0,0,24,64V208h0a8,8,0,0,0,8,8H211.1a8,8,0,0,0,7.59-5.47l28.49-85.47A16.05,16.05,0,0,0,245,110.64ZM93.34,64,123.2,86.4A8,8,0,0,0,128,88h72v16H69.77a16,16,0,0,0-15.18,10.94L40,158.7V64Z"},null,-1),Se=[Ve],ze={key:3},xe=I("path",{d:"M243.36,111.81A14,14,0,0,0,232,106H214V88a14,14,0,0,0-14-14H130L101.74,52.8a14.06,14.06,0,0,0-8.4-2.8H40A14,14,0,0,0,26,64V208a6,6,0,0,0,6,6H211.1a6,6,0,0,0,5.69-4.1l28.49-85.47A14,14,0,0,0,243.36,111.81ZM40,62H93.34a2,2,0,0,1,1.2.4L124.4,84.8A6,6,0,0,0,128,86h72a2,2,0,0,1,2,2v18H69.77a14,14,0,0,0-13.28,9.57L38,171V64A2,2,0,0,1,40,62Zm193.9,58.63L206.78,202H40.33l27.54-82.63a2,2,0,0,1,1.9-1.37H232a2,2,0,0,1,1.9,2.63Z"},null,-1),Ee=[xe],De={key:4},Ze=I("path",{d:"M245,110.64A16,16,0,0,0,232,104H216V88a16,16,0,0,0-16-16H130.67L102.94,51.2a16.14,16.14,0,0,0-9.6-3.2H40A16,16,0,0,0,24,64V208h0a8,8,0,0,0,8,8H211.1a8,8,0,0,0,7.59-5.47l28.49-85.47A16.05,16.05,0,0,0,245,110.64ZM93.34,64,123.2,86.4A8,8,0,0,0,128,88h72v16H69.77a16,16,0,0,0-15.18,10.94L40,158.7V64Zm112,136H43.1l26.67-80H232Z"},null,-1),Oe=[Ze],$e={key:5},Te=I("path",{d:"M241.72,113a11.88,11.88,0,0,0-9.73-5H212V88a12,12,0,0,0-12-12H129.33l-28.8-21.6a12.05,12.05,0,0,0-7.2-2.4H40A12,12,0,0,0,28,64V208a4,4,0,0,0,4,4H211.09a4,4,0,0,0,3.79-2.74l28.49-85.47A11.86,11.86,0,0,0,241.72,113ZM40,60H93.33a4,4,0,0,1,2.4.8L125.6,83.2a4,4,0,0,0,2.4.8h72a4,4,0,0,1,4,4v20H69.76a12,12,0,0,0-11.38,8.21L36,183.35V64A4,4,0,0,1,40,60Zm195.78,61.26L208.2,204H37.55L66,118.74A4,4,0,0,1,69.76,116H232a4,4,0,0,1,3.79,5.26Z"},null,-1),Ue=[Te],Qe={name:"PhFolderOpen"},Be=J({...Qe,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(p){const t=p,o=N("weight","regular"),s=N("size","1em"),n=N("color","currentColor"),y=N("mirrored",!1),b=C(()=>{var f;return(f=t.weight)!=null?f:o}),M=C(()=>{var f;return(f=t.size)!=null?f:s}),a=C(()=>{var f;return(f=t.color)!=null?f:n}),w=C(()=>t.mirrored!==void 0?t.mirrored?"scale(-1, 1)":void 0:y?"scale(-1, 1)":void 0);return(f,v)=>(c(),F("svg",X({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:M.value,height:M.value,fill:a.value,transform:w.value},f.$attrs),[Y(f.$slots,"default"),b.value==="bold"?(c(),F("g",Ie,Me)):b.value==="duotone"?(c(),F("g",ke,Le)):b.value==="fill"?(c(),F("g",Ne,Se)):b.value==="light"?(c(),F("g",ze,Ee)):b.value==="regular"?(c(),F("g",De,Oe)):b.value==="thin"?(c(),F("g",$e,Ue)):A("",!0)],16,Pe))}});class Ge{constructor(t){i(this,"fetchedState",k(null));i(this,"activeFolderIds");i(this,"draftFolder",k(null));i(this,"draftProject",k(null));i(this,"searchQuery",k(""));i(this,"isDraftProjectValid",C(()=>this.validateDraftProject()));i(this,"isDraftFolderValid",C(()=>this.validateDraftFolder()));i(this,"isDraftFolderUnique",k(!0));i(this,"memberOptions",C(()=>this.getMemberOptions()));i(this,"folderOptions",C(()=>this.getFolderOptions()));i(this,"organizationId");i(this,"currentUserEmail");i(this,"handlers");i(this,"apis");i(this,"deleteProject",async()=>{!this.draftProject.value||this.draftProject.value.mode!=="edit"||!await q("Are you sure you want to delete this project? All data will be lost.")||(this.draftProject.value={...this.draftProject.value,buttonLoading:"delete"},await this.apis.project.delete(this.draftProject.value.id),await this.refetchState())});i(this,"deleteFolder",async()=>{if(!this.draftFolder.value||this.draftFolder.value.mode!=="edit")throw new Error("[PROJECTS_CONTROLLER] Invalid state deleting folder");this.getFolderProjects(this.draftFolder.value.id).length>0||!await q("Are you sure you want to delete this empty folder?",{okText:"Delete",cancelText:"Cancel"})||(this.draftFolder.value={...this.draftFolder.value,buttonLoading:"delete"},await this.apis.folder.delete(this.organizationId,this.draftFolder.value.id),await this.refetchState())});i(this,"duplicateProject",async({key:t})=>{var s;const o=(s=this.fetchedState.value)==null?void 0:s.projects.find(n=>n.id===t);if(o){const n=await o.duplicate();this.handlers.navigateToProject(n.id)}});i(this,"openEditFolderModal",t=>{var s;!((s=this.fetchedState.value)!=null&&s.projects.filter(n=>n.folderId===t.id).map(n=>n.id))||(this.draftFolder.value={currentName:t.name,modalTitle:`${t.name} - Settings`,id:t.id,mode:"edit",newName:t.name,newMemberIds:[...t.memberIds],currentMemberIds:t.memberIds,buttonLoading:null})});i(this,"openCreateFolderModal",()=>{var t;if(!this.fetchedState.value)throw new Error("[PROJECTS_CONTROLLER] Invalid state opening create folder modal");this.draftFolder.value={currentName:"",mode:"create",currentMemberIds:[],modalTitle:"Create Folder",newName:"",newMemberIds:[(t=this.fetchedState.value.currentMember)==null?void 0:t.id].filter(Boolean),buttonLoading:null}});i(this,"openCreateProjectModal",(t="")=>{this.draftProject.value={currentName:"",mode:"create",currentFolderId:"",modalTitle:"Create Project",newName:"",newFolderId:t,buttonLoading:null}});i(this,"openEditProjectModal",t=>{this.draftProject.value={id:t.id,mode:"edit",currentName:t.name,currentFolderId:t.folderId,modalTitle:`Edit Project: ${t.name}`,newName:t.name,newFolderId:t.folderId,buttonLoading:null}});i(this,"saveFolder",async()=>{if(this.isDraftFolderUnique.value=!0,!this.draftFolder.value)return;if(!await this.apis.folder.checkNameAvailability(this.organizationId,this.draftFolder.value.newName)){this.isDraftFolderUnique.value=!1;return}this.draftFolder.value={...this.draftFolder.value,buttonLoading:"save"},this.draftFolder.value.mode==="edit"?await this.apis.folder.update(this.organizationId,{id:this.draftFolder.value.id,name:this.draftFolder.value.newName,memberIds:this.draftFolder.value.newMemberIds,organizationId:this.organizationId}):this.draftFolder.value.mode==="create"&&await this.apis.folder.create({organizationId:this.organizationId,name:this.draftFolder.value.newName,memberIds:this.draftFolder.value.newMemberIds}),await this.refetchState()});i(this,"saveProject",async()=>{!this.draftProject.value||(this.draftProject.value={...this.draftProject.value,buttonLoading:"save"},this.draftProject.value.mode==="edit"?await this.apis.project.update(this.draftProject.value.id,{name:this.draftProject.value.newName,folderId:this.draftProject.value.newFolderId}):this.draftProject.value.mode==="create"&&await this.apis.project.create({name:this.draftProject.value.newName,folderId:this.draftProject.value.newFolderId,organizationId:this.organizationId}),await this.refetchState())});i(this,"closeModals",()=>{this.draftFolder.value=null,this.draftProject.value=null,this.activeFolderIds.value=[]});i(this,"validateDraftFolder",()=>{if(!this.draftFolder.value)return!1;const t=this.draftFolder.value.newName!==this.draftFolder.value.currentName,o=this.draftFolder.value.newName.trim().length>0,s=!te.exports.isEqual(this.draftFolder.value.newMemberIds,this.draftFolder.value.currentMemberIds),n=this.draftFolder.value.newMemberIds.length>0;return this.draftFolder.value.mode==="edit"?t&&o||s&&n:o&&n});i(this,"validateDraftProject",()=>{if(!this.draftProject.value)return!1;const t=!!this.draftProject.value.newFolderId,o=this.draftProject.value.newName.trim().length>0,s=this.draftProject.value.newName!==this.draftProject.value.currentName,n=this.draftProject.value.newFolderId!==this.draftProject.value.currentFolderId;return this.draftProject.value.mode==="edit"?s&&o||n:t&&o});i(this,"getMemberOptions",()=>{var t;return(t=this.fetchedState.value)==null?void 0:t.members.map(o=>{var s,n;return{label:o.email,value:o.id,disabled:o.id===((n=(s=this.fetchedState.value)==null?void 0:s.currentMember)==null?void 0:n.id)}}).sort((o,s)=>o.label.localeCompare(s.label))});i(this,"getFolderOptions",()=>{var t;return(t=this.fetchedState.value)==null?void 0:t.folders.map(o=>({label:o.name,value:o.id}))});i(this,"getFolderProjects",t=>{var o;return(o=this.fetchedState.value)==null?void 0:o.projects.filter(s=>s.folderId===t&&(!this.searchQuery.value.trim()||s.name.toLowerCase().includes(this.searchQuery.value.toLowerCase())))});this.organizationId=t.organizationId,this.currentUserEmail=t.currentUserEmail,this.handlers=t.handlers,this.apis=t.apis,t.routeHash.startsWith("#")?this.activeFolderIds=k([t.routeHash.slice(1)]):this.activeFolderIds=k([])}async refetchState(t=!0){var M,a;t&&this.closeModals(),this.fetchedState.value=null;const[o,s,n,y]=await Promise.all([ge.list(this.organizationId),be.get(this.organizationId),this.apis.member.list(this.organizationId),this.apis.folder.list(this.organizationId)]),b=(M=n.find(w=>w.email===this.currentUserEmail))!=null?M:null;y.length===1&&((a=this.activeFolderIds.value)==null||a.includes(y[0].id)),this.fetchedState.value={projects:o.sort((w,f)=>w.name.localeCompare(f.name)),organization:s,members:n,folders:y.sort((w,f)=>w.name.localeCompare(f.name)),currentMember:b},ee(this.searchQuery,w=>{w.trim()?this.activeFolderIds.value=this.listFolders().map(f=>f.id):this.activeFolderIds.value=[]})}listFolders(){var t,o,s,n;return this.searchQuery.value.trim()?(o=(t=this.fetchedState.value)==null?void 0:t.folders.filter(y=>this.getFolderProjects(y.id).length>0))!=null?o:[]:(n=(s=this.fetchedState.value)==null?void 0:s.folders)!=null?n:[]}}const Re={key:0},qe={key:1},Je=J({__name:"ProjectsView",setup(p){var w;const o=ae().params.organizationId,s=re(),n={navigateToProject:f=>s.push({name:"project",params:{organizationId:o,projectId:f}})},y=(w=he.getAuthor())==null?void 0:w.claims.email;if(!y)throw new Error("User not logged in");const b=(f,v)=>v.label.toLowerCase().includes(f.toLowerCase()),M={member:new we,project:new Fe,folder:new ye},a=new Ge({organizationId:o,currentUserEmail:y,handlers:n,apis:M,routeHash:location.hash});return a.refetchState(!1),(f,v)=>{var E,D;return c(),F(x,null,[r(e(le),null,{default:l(()=>[_(m(e(d).translate("i18n_projectsview_title")),1)]),_:1}),r(e(P),{style:{display:"flex","align-items":"center","justify-content":"space-between",gap:"5px",margin:"0px 0px 50px"}},{default:l(()=>[r(e(oe),{value:e(a).searchQuery.value,"onUpdate:value":v[0]||(v[0]=u=>e(a).searchQuery.value=u),placeholder:e(d).translate("i18n_projectsview_search_placeholder"),style:{width:"300px"}},null,8,["value","placeholder"]),r(g,{onClick:e(a).openCreateFolderModal},{default:l(()=>[r(e(R)),_(" "+m(e(d).translate("i18n_projectsview_create_folder")),1)]),_:1},8,["onClick"])]),_:1}),r(e(P),{vertical:"",gap:"middle",style:{"padding-bottom":"50px"}},{default:l(()=>[(c(!0),F(x,null,Z(e(a).listFolders(),u=>(c(),j(e(je),{key:u.id,"active-key":e(a).activeFolderIds.value,"onUpdate:activeKey":v[1]||(v[1]=h=>e(a).activeFolderIds.value=h)},{expandIcon:l(({isActive:h})=>[h?(c(),j(e(Be),{key:0,size:"20"})):(c(),j(e(ue),{key:1,size:"20"}))]),default:l(()=>[(c(),j(e(me),{key:u.id,header:u.name},{extra:l(()=>[r(e(P),{gap:"10"},{default:l(()=>[r(e(P),{gap:"5",align:"flex-start"},{default:l(()=>{var h;return[r(e(B),{size:"20"}),_(" "+m(e(d).translate("i18n_projectsview_projects_count",null,(h=e(a).getFolderProjects(u.id))==null?void 0:h.length)),1)]}),_:2},1024),r(e(P),{gap:"5"},{default:l(()=>[r(e(ve),{size:"20"}),_(" "+m(e(d).translate("i18n_projectsview_editors_count",null,u.memberIds.length)),1)]),_:2},1024),r(g,{size:"small",onClick:V(h=>e(a).openCreateProjectModal(u.id),["stop"])},{default:l(()=>[r(e(G)),_(" "+m(e(d).translate("i18n_projectsview_new_project")),1)]),_:2},1032,["onClick"]),r(g,{size:"small",onClick:V(h=>e(a).openEditFolderModal(u),["stop"])},{default:l(()=>[r(e(ce))]),_:2},1032,["onClick"])]),_:2},1024)]),default:l(()=>[r(e(pe),{locale:{emptyText:e(d).translate("i18n_projectsview_empty_folder")}},{default:l(()=>[(c(!0),F(x,null,Z(e(a).getFolderProjects(u.id),h=>(c(),j(e(_e),{key:h.id,type:"link",class:"project-list-item"},{default:l(()=>[r(e(B)),r(e(ie),{href:`/projects/${h.id}`},{default:l(()=>[_(m(h.name),1)]),_:2},1032,["href"]),r(g,{size:"small",style:{position:"absolute",right:"10px"},onClick:V(H=>e(a).openEditProjectModal(h),["stop"])},{default:l(()=>[r(e(fe))]),_:2},1032,["onClick"])]),_:2},1024))),128))]),_:2},1032,["locale"])]),_:2},1032,["header"]))]),_:2},1032,["active-key"]))),128))]),_:1}),e(a).fetchedState.value?e(a).listFolders().length===0?(c(),j(e(se),{key:1},{description:l(()=>[I("div",null,[e(a).searchQuery.value.trim()?(c(),F("p",Re,m(e(d).translate("i18n_projectsview_no_projects_search",null,e(a).searchQuery.value)),1)):(c(),F("p",qe,m(e(d).translate("i18n_projectsview_no_folders")),1)),I("p",null,m(e(d).translate("i18n_projectsview_click_create_folder")),1)])]),default:l(()=>[e(a).searchQuery.value.trim()?(c(),j(g,{key:0,type:"primary",onClick:v[2]||(v[2]=u=>e(a).openCreateProjectModal())},{default:l(()=>[r(e(G)),_(" "+m(e(d).translate("i18n_projectsview_create_project")),1)]),_:1})):(c(),j(g,{key:1,type:"primary",onClick:e(a).openCreateFolderModal},{default:l(()=>[r(e(R)),_(" "+m(e(d).translate("i18n_projectsview_create_folder")),1)]),_:1},8,["onClick"]))]),_:1})):A("",!0):(c(),j(e(de),{key:0,style:{width:"100%"}})),r(e(Q),{open:!!e(a).draftFolder.value,title:(E=e(a).draftFolder.value)==null?void 0:E.modalTitle,onCancel:e(a).closeModals},{footer:l(()=>{var u;return[r(e(P),{justify:((u=e(a).draftFolder.value)==null?void 0:u.mode)==="edit"?"space-between":"flex-end"},{default:l(()=>{var h,H,L;return[((h=e(a).draftFolder.value)==null?void 0:h.mode)==="edit"?(c(),j(g,{key:0,danger:"","disabled-tooltip":e(d).translate("i18n_projectsview_cannot_delete_folder"),disabled:e(a).getFolderProjects((H=e(a).draftFolder.value)==null?void 0:H.id).length>0,loading:((L=e(a).draftFolder.value)==null?void 0:L.buttonLoading)==="delete",onClick:v[5]||(v[5]=V(z=>e(a).deleteFolder(),["stop"]))},{default:l(()=>[r(e(O)),_(" "+m(e(d).translate("i18n_projectsview_delete_folder")),1)]),_:1},8,["disabled-tooltip","disabled","loading"])):A("",!0),r(e(P),{justify:"flex-end"},{default:l(()=>{var z;return[r(g,{onClick:e(a).closeModals},{default:l(()=>[_(m(e(d).translate("i18n_projectsview_cancel")),1)]),_:1},8,["onClick"]),r(g,{type:"primary",disabled:!e(a).isDraftFolderValid.value,loading:((z=e(a).draftFolder.value)==null?void 0:z.buttonLoading)==="save",onClick:e(a).saveFolder},{default:l(()=>[_(m(e(d).translate("i18n_projectsview_save")),1)]),_:1},8,["disabled","loading","onClick"])]}),_:1})]}),_:1},8,["justify"])]}),default:l(()=>[e(a).draftFolder.value?(c(),j(e(U),{key:0,layout:"vertical"},{default:l(()=>[r(e(S),{label:e(d).translate("i18n_projectsview_folder_name"),"validate-status":e(a).isDraftFolderUnique.value?"":"error",help:e(a).isDraftFolderUnique.value?"":e(d).translate("i18n_projectsview_folder_exists")},{default:l(()=>[r(e($),{value:e(a).draftFolder.value.newName,"onUpdate:value":v[3]||(v[3]=u=>e(a).draftFolder.value.newName=u)},null,8,["value"])]),_:1},8,["label","validate-status","help"]),r(e(S),{label:e(d).translate("i18n_projectsview_editors"),tooltip:e(d).translate("i18n_projectsview_editors_tooltip")},{default:l(()=>[r(e(T),{value:e(a).draftFolder.value.newMemberIds,"onUpdate:value":v[4]||(v[4]=u=>e(a).draftFolder.value.newMemberIds=u),mode:"multiple",options:e(a).memberOptions.value,"filter-option":b,placeholder:e(d).translate("i18n_projectsview_choose_editors")},null,8,["value","options","placeholder"])]),_:1},8,["label","tooltip"])]),_:1})):A("",!0)]),_:1},8,["open","title","onCancel"]),r(e(Q),{open:!!e(a).draftProject.value,title:(D=e(a).draftProject.value)==null?void 0:D.modalTitle,onCancel:e(a).closeModals},{footer:l(()=>{var u;return[r(e(P),{justify:((u=e(a).draftProject.value)==null?void 0:u.mode)==="edit"?"space-between":"flex-end"},{default:l(()=>{var h,H;return[((h=e(a).draftProject.value)==null?void 0:h.mode)==="edit"?(c(),j(g,{key:0,danger:"",loading:((H=e(a).draftProject.value)==null?void 0:H.buttonLoading)==="delete",onClick:e(a).deleteProject},{default:l(()=>[r(e(O)),_(" "+m(e(d).translate("i18n_projectsview_delete_project")),1)]),_:1},8,["loading","onClick"])):A("",!0),r(e(P),{justify:"flex-end"},{default:l(()=>{var L;return[r(g,{onClick:e(a).closeModals},{default:l(()=>[_(m(e(d).translate("i18n_projectsview_cancel")),1)]),_:1},8,["onClick"]),r(g,{disabled:!e(a).isDraftProjectValid.value,type:"primary",loading:((L=e(a).draftProject.value)==null?void 0:L.buttonLoading)==="save",onClick:e(a).saveProject},{default:l(()=>[_(m(e(d).translate("i18n_projectsview_save")),1)]),_:1},8,["disabled","loading","onClick"])]}),_:1})]}),_:1},8,["justify"])]}),default:l(()=>[e(a).draftProject.value?(c(),j(e(U),{key:0,layout:"vertical"},{default:l(()=>[r(e(S),{label:e(d).translate("i18n_projectsview_project_name")},{default:l(()=>[r(e($),{value:e(a).draftProject.value.newName,"onUpdate:value":v[6]||(v[6]=u=>e(a).draftProject.value.newName=u)},null,8,["value"])]),_:1},8,["label"]),r(e(S),{label:e(d).translate("i18n_projectsview_project_folder")},{default:l(()=>[r(e(T),{value:e(a).draftProject.value.newFolderId,"onUpdate:value":v[7]||(v[7]=u=>e(a).draftProject.value.newFolderId=u),options:e(a).folderOptions.value,placeholder:e(d).translate("i18n_projectsview_choose_folder")},null,8,["value","options","placeholder"])]),_:1},8,["label"])]),_:1})):A("",!0)]),_:1},8,["open","title","onCancel"])],64)}}});const mt=ne(Je,[["__scopeId","data-v-fa0e0303"]]);export{mt as default};
2
- //# sourceMappingURL=ProjectsView.32f6ccff.js.map
@@ -1,2 +0,0 @@
1
- import{d,c as o,o as i,ac as u,e as c,ae as f,ad as a,eh as r}from"./jwt-decode.esm.c9c37cdc.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="8afbe45e-3f4a-4015-967b-b8d4038bbc05",e._sentryDebugIdIdentifier="sentry-dbid-8afbe45e-3f4a-4015-967b-b8d4038bbc05")}catch{}})();const p=d({__name:"ScrollArea",props:{innerClass:{},outerClass:{},outerStyle:{},innerStyle:{}},setup(e){const t=e,n=o(()=>t.outerStyle?{position:"relative",...t.outerStyle}:{position:"relative"}),l=o(()=>{var s;return{position:"absolute",inset:0,overflow:"auto",...(s=t.innerStyle)!=null?s:{}}});return(s,y)=>(i(),u("div",{style:a(n.value),class:r(s.outerClass)},[c("div",{style:a(l.value),class:r(s.innerClass)},[f(s.$slots,"default")],6)],6))}});export{p as _};
2
- //# sourceMappingURL=ScrollArea.vue_vue_type_script_setup_true_lang.cb5567cd.js.map
@@ -1,5 +0,0 @@
1
- import{_ as K}from"./AbstraButton.vue_vue_type_script_setup_true_lang.a3ba2a31.js";import{_ as te}from"./ScrollArea.vue_vue_type_script_setup_true_lang.cb5567cd.js";import{a0 as J,Z as C,r as S,w as se,d as ne,ei as ae,en as oe,U as le,ac as I,f as r,e as v,b as c,u as s,aY as O,o as _,t as w,i as E,a as L,S as re,ej as F,h as B,dj as h,g as z,eD as ie,d0 as ce,cC as ue,M as de,cQ as G,_ as me}from"./jwt-decode.esm.c9c37cdc.js";import{G as fe}from"./PhClockCounterClockwise.vue.4bd682d8.js";import{I as pe}from"./PhDatabase.vue.fdfb515c.js";import{G as ye}from"./PhDownloadSimple.vue.f1245c40.js";import{F as _e}from"./PhKey.vue.15a9e64e.js";import{l as D,e as ge}from"./toggleHighContrast.6544a728.js";import{_ as he}from"./TablesTabs.vue_vue_type_script_setup_true_lang.5cc96b0d.js";import{A as ve,C as Ce}from"./router.a8616541.js";import{a as qe}from"./project.9a068e8d.js";import"./tables.2e1c934b.js";import{u as be}from"./useTables.5fffa3f1.js";import"./Card.38a860a4.js";import"./index.da4f9d54.js";import"./record.a33d29b1.js";import"./string.8fab6b53.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]="ad3a3b26-8a5c-4c9d-a729-82cc6f1b8ec6",e._sentryDebugIdIdentifier="sentry-dbid-ad3a3b26-8a5c-4c9d-a729-82cc6f1b8ec6")}catch{}})();const W=e=>{if(e==null)return"";const n=String(e);return n.includes(";")||n.includes(`
2
- `)||n.includes('"')?`"${n.replace(/"/g,'""')}"`:n},we=e=>{let n=e.columns.map(W).join(";")+`
3
- `;e.rows.forEach(m=>{n+=m.map(W).join(";")+`
4
- `});const a=document.createElement("a");a.href="data:text/csv;charset=utf-8,"+encodeURIComponent(n),a.target="_blank",a.download=`${e.fileName}.csv`,a.click()},A=new J(C.array(C.object({projectId:C.string(),lastQuery:C.string()})),"lastQueries"),j=new J(C.array(C.object({id:C.string(),query:C.string(),timestamp:C.number(),projectId:C.string()})),"queryHistory");function Ee(e,n){var $;const a=e.toUpperCase(),m=/\b(FROM|JOIN|UPDATE|INTO)\s+\w*$/i.test(a)||/\bDELETE\s+FROM\s+\w*$/i.test(a),t=/\b(SELECT|WHERE|ON|SET|AND|OR|BY)\s+[\w.]*$/i.test(a)||/\w+\.\w*$/.test(e),u=e.match(/(\w+)\.\w*$/),N=u&&($=n.find(T=>T.name.toUpperCase()===u[1].toUpperCase()))!=null?$:null,q=/\b(SELECT|INSERT|UPDATE|DELETE|CREATE|ALTER|DROP|FROM|WHERE|JOIN)\b/.test(a);return{textBeforeCursor:e,isTableContext:m,isColumnContext:t,specificTable:N,hasSqlKeyword:q}}function $e(e,n,a){const m=[];if(e.specificTable)e.specificTable.getColumns().forEach(t=>{m.push({label:t.name,kind:D.CompletionItemKind.Field,insertText:t.name,detail:`${t.type}`,documentation:`Column from ${e.specificTable.name}`,range:a})});else if(e.isTableContext)n.forEach(t=>{m.push({label:t.name,kind:D.CompletionItemKind.Class,insertText:t.name,detail:"Table",documentation:`${t.getColumns().length} columns`,range:a})});else if(e.isColumnContext)n.forEach(t=>{t.getColumns().forEach(u=>{m.push({label:`${t.name}.${u.name}`,kind:D.CompletionItemKind.Field,insertText:`${t.name}.${u.name}`,detail:`${u.type}`,documentation:`${t.name}.${u.name}`,range:a})})});else{if(!e.hasSqlKeyword)return[];n.forEach(t=>{m.push({label:t.name,kind:D.CompletionItemKind.Class,insertText:t.name,detail:"Table",range:a}),t.getColumns().forEach(u=>{m.push({label:`${t.name}.${u.name}`,kind:D.CompletionItemKind.Field,insertText:`${t.name}.${u.name}`,detail:`${u.type}`,range:a})})})}return m}function ke(e,n){const a=S(""),m=S([]),t=S([]),u=S(!1),N=()=>{const l=A.get();if(!l)A.set([{projectId:e,lastQuery:a.value}]);else{const o=l.findIndex(d=>d.projectId===e);o===-1?l.push({projectId:e,lastQuery:a.value}):l[o].lastQuery=a.value,A.set(l)}},q=()=>{var o;const l=A.get();return(o=l==null?void 0:l.find(d=>d.projectId===e))==null?void 0:o.lastQuery},$=l=>{if(!l.trim())return;const o=j.get()||[],d={id:`${Date.now()}-${Math.random()}`,query:l.trim(),timestamp:Date.now(),projectId:e},y=o.filter(x=>x.projectId===e),g=o.filter(x=>x.projectId!==e),k=[d,...y].slice(0,50);j.set([...k,...g])},T=()=>(j.get()||[]).filter(o=>o.projectId===e).sort((o,d)=>d.timestamp-o.timestamp),M=()=>{const o=(j.get()||[]).filter(d=>d.projectId!==e);j.set(o)},P=async()=>{u.value=!0;const l=await qe.executeQuery(e,a.value,[]);if(N(),$(a.value),u.value=!1,!l)return{returns:{result:[],fields:[]},errors:[]};const{returns:o,errors:d}=l;return t.value=o.fields.map(y=>({title:y.name,key:y.name,dataIndex:y.name})),m.value=o.result.map((y,g)=>{const k={key:`${g+1}`};return Object.entries(y).forEach(([x,R])=>{k[x]=R!=null?String(R):""}),k}),{returns:o,errors:d}};let H=null;const U=()=>{!n.value||n.value.length===0||(H&&H.dispose(),H=D.registerCompletionItemProvider("sql",{provideCompletionItems:(l,o)=>{const d=l.getWordUntilPosition(o),y={startLineNumber:o.lineNumber,endLineNumber:o.lineNumber,startColumn:d.startColumn,endColumn:d.endColumn},g=l.getValueInRange({startLineNumber:1,startColumn:1,endLineNumber:o.lineNumber,endColumn:o.column}),k=Ee(g,n.value);return{suggestions:$e(k,n.value,y)}}}))};return se(n,()=>{n.value&&n.value.length>0&&U()},{immediate:!0}),{sql:a,data:m,columns:t,loading:u,runSql:P,getLastQuery:q,setLastQuery:N,getHistory:T,clearHistory:M}}const xe={class:"sql-main-card"},Se={class:"data-dictionary"},Te={class:"dictionary-header"},Ie=["onClick"],Ne={class:"column-name"},Le={class:"column-type"},De={class:"sql-editor-container"},He={key:1,class:"history-list"},Qe=["onClick"],je={class:"history-query"},Re={class:"history-timestamp"},Ke=ne({__name:"Sql",setup(e){const n=ae(),a=n.params.projectId,m=S(null);let t=null;const{tables:u,loading:N}=be(a),{sql:q,data:$,columns:T,loading:M,runSql:P,getLastQuery:H,setLastQuery:U,getHistory:l,clearHistory:o}=ke(a,u),d=S([]),y=S(!1),g=S([]),k=async()=>{const{errors:f}=await P();g.value=l();for(const p of f)G.error({message:E.translate("i18n_sql_execution_failed"),description:p});f.length||G.success({message:E.translate("i18n_sql_execution_succeeded")})},x=()=>{const f=T.value.map(Q=>Q.dataIndex),p=T.value.map(Q=>Q.title),i=$.value.map(Q=>f.map(ee=>Q[ee])),V=`data-${new Date().toISOString()}`;we({fileName:V,columns:p,rows:i})},R=(f,p)=>{if(!t)return;const i=t.getSelection();if(!i)return;const b=`${f}.${p}`;t.executeEdits("",[{range:i,text:b}]),t.focus()},Y=f=>{t&&(t.setValue(f),q.value=f),y.value=!1},Z=()=>{o(),g.value=[]},X=oe.exports.debounce(U,1e3);return le(()=>{g.value=l(),t=ge.create(m.value,{language:"sql",value:q.value,fontFamily:"monospace",lineNumbers:"on",minimap:{enabled:!1},scrollbar:{vertical:"hidden",horizontal:"visible"},fontSize:14,scrollBeyondLastLine:!1,lineHeight:20,suggestOnTriggerCharacters:!0,quickSuggestions:{other:!0,comments:!1,strings:!1}}),t.onDidChangeModelContent(()=>{!t||(q.value=t.getValue(),X())});const f=n.query.filter;if(f&&typeof f=="string"&&f.trim())q.value=f,t.setValue(f);else{const p=H();p&&(q.value=p,t.setValue(p))}}),(f,p)=>(_(),I(O,null,[r(he),v("div",xe,[r(s(h),{gap:"middle",style:{width:"100%",height:"100%"}},{default:c(()=>[v("div",Se,[v("div",Te,[r(s(pe),{size:16}),v("span",null,w(s(E).translate("i18n_sql_tables")),1)]),s(N)?(_(),L(s(re),{key:0,style:{width:"100%",padding:"20px"}})):(_(),L(s(Ce),{key:1,activeKey:d.value,"onUpdate:activeKey":p[0]||(p[0]=i=>d.value=i),ghost:""},{default:c(()=>[(_(!0),I(O,null,F(s(u),i=>(_(),L(s(ve),{key:i.id,header:i.name},{default:c(()=>[(_(!0),I(O,null,F(i.getColumns(),b=>(_(),I("div",{key:b.id,class:"column-item",onClick:V=>R(i.name,b.name)},[b.primaryKey?(_(),L(s(_e),{key:0,size:12,style:{color:"#faad14"}})):B("",!0),v("span",Ne,w(b.name),1),v("span",Le,w(b.type),1)],8,Ie))),128))]),_:2},1032,["header"]))),128))]),_:1},8,["activeKey"]))]),r(s(h),{vertical:"",style:{flex:"1"},gap:"middle"},{default:c(()=>[v("div",De,[v("div",{ref_key:"sqlEditor",ref:m,class:"sql-editor"},null,512),r(s(h),{justify:"flex-end",class:"bottom-controls",gap:"small",align:"center"},{default:c(()=>[r(s(h),{gap:"small"},{default:c(()=>[r(K,{size:"small",type:"text",onClick:p[1]||(p[1]=i=>y.value=!0)},{default:c(()=>[r(s(h),{gap:"4",align:"center"},{default:c(()=>[r(s(fe),{size:14}),z(" "+w(s(E).translate("i18n_sql_history")),1)]),_:1})]),_:1})]),_:1}),r(s(h),{gap:"small",align:"center"},{default:c(()=>[r(K,{size:"small",type:"primary",loading:s(M),onClick:k},{default:c(()=>[r(s(h),{gap:"4",align:"center"},{default:c(()=>[z(w(s(E).translate("i18n_sql_run"))+" ",1),r(s(ie),{size:12})]),_:1})]),_:1},8,["loading"])]),_:1})]),_:1})]),r(te,{"outer-style":{width:"100%",height:"calc(100% - 220px)"}},{default:c(()=>[r(s(ce),{scroll:{x:100},"data-source":s($),columns:s(T)},null,8,["data-source","columns"])]),_:1},8,["outer-style"]),s($).length?(_(),L(s(h),{key:0,justify:"end"},{default:c(()=>[r(K,{onClick:x},{default:c(()=>[r(s(h),{align:"center",gap:"small"},{default:c(()=>[z(w(s(E).translate("i18n_sql_export_to_csv"))+" ",1),r(s(ye))]),_:1})]),_:1})]),_:1})):B("",!0)]),_:1})]),_:1})]),r(s(de),{open:y.value,"onUpdate:open":p[2]||(p[2]=i=>y.value=i),title:s(E).translate("i18n_sql_query_history"),width:"800px",footer:null},{default:c(()=>[r(s(h),{vertical:"",gap:"middle"},{default:c(()=>[r(s(h),{justify:"end"},{default:c(()=>[r(K,{danger:"",size:"small",onClick:Z},{default:c(()=>[z(w(s(E).translate("i18n_sql_clear_history")),1)]),_:1})]),_:1}),g.value.length?(_(),I("div",He,[(_(!0),I(O,null,F(g.value,i=>(_(),I("div",{key:i.id,class:"history-item",onClick:b=>Y(i.query)},[v("div",je,w(i.query),1),v("div",Re,w(new Date(i.timestamp).toLocaleString()),1)],8,Qe))),128))])):(_(),L(s(ue),{key:0,description:s(E).translate("i18n_sql_no_query_history")},null,8,["description"]))]),_:1})]),_:1},8,["open","title"])],64))}});const st=me(Ke,[["__scopeId","data-v-7c902b8a"]]);export{st as default};
5
- //# sourceMappingURL=Sql.8d31ec23.js.map
@@ -1,2 +0,0 @@
1
- import{A as o}from"./index.71eb83f3.js";import{d as r,c as a,ac as p,f as d,u as f,eh as c,h as l,o as i,_ as u}from"./jwt-decode.esm.c9c37cdc.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},s=new Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="fd5a0185-658b-430f-bd75-313bcee79a58",e._sentryDebugIdIdentifier="sentry-dbid-fd5a0185-658b-430f-bd75-313bcee79a58")}catch{}})();const _=r({__name:"Steps",props:{stepsInfo:{},isPreview:{type:Boolean}},setup(e){const s=e,n=a(()=>s.stepsInfo?Array(s.stepsInfo.total).fill(null).map(()=>({label:"",description:""})):[]);return(t,m)=>t.stepsInfo?(i(),p("nav",{key:0,class:c(["p-steps",{"full-screen":!t.isPreview}])},[d(f(o),{current:t.stepsInfo.current-1,items:n.value,responsive:!1},null,8,["current","items"])],2)):l("",!0)}});const I=u(_,[["__scopeId","data-v-58fdd395"]]);export{I as S};
2
- //# sourceMappingURL=Steps.687763a5.js.map
@@ -1,2 +0,0 @@
1
- import{en as n,M as b}from"./jwt-decode.esm.c9c37cdc.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},r=new Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="a8319ef1-bbfb-48f1-ba53-8ef46f657ddb",e._sentryDebugIdIdentifier="sentry-dbid-a8319ef1-bbfb-48f1-ba53-8ef46f657ddb")}catch{}})();function u(e){return n.exports.isArray(e)?e.length===0?"[ ]":"[ ... ]":n.exports.isObject(e)?Object.keys(e).length===0?"{ }":"{ ... }":n.exports.isString(e)?`'${e}'`:n.exports.isUndefined(e)||n.exports.isNull(e)?"None":e===!0?"True":e===!1?"False":`${e}`}function o(e){if(n.exports.isArray(e))return"array";if(n.exports.isObject(e))return"object";throw new Error("treeKey called with non-object and non-array")}function c(e,r=[],t){const s=t?`'${t}': ${u(e)}`:u(e);if(n.exports.isArray(e)){const f=o(e);return[{title:s,key:[...r,f].join("/"),children:e.flatMap((i,l)=>c(i,[...r,f,`${l}`]))}]}else if(n.exports.isObject(e)){const f=o(e);return[{title:s,key:[...r,f].join("/"),children:Object.entries(e).flatMap(([i,l])=>c(l,[...r,f,i],i))}]}else return[{title:s,key:r.join("/"),children:[]}]}function x(e,r){return new Promise(t=>{b.confirm({title:e,onOk:()=>t(!0),okText:r==null?void 0:r.okText,onCancel:()=>t(!1),cancelText:r==null?void 0:r.cancelText})})}export{x as a,c as t};
2
- //# sourceMappingURL=ant-design.4efc9ccd.js.map
@@ -1,2 +0,0 @@
1
- var d=Object.defineProperty;var o=(a,t,e)=>t in a?d(a,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):a[t]=e;var i=(a,t,e)=>(o(a,typeof t!="symbol"?t+"":t,e),e);import{k as s}from"./router.a8616541.js";import"./jwt-decode.esm.c9c37cdc.js";(function(){try{var a=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new Error().stack;t&&(a._sentryDebugIds=a._sentryDebugIds||{},a._sentryDebugIds[t]="f85b3c14-16ac-4eab-9869-afafa065b5f6",a._sentryDebugIdIdentifier="sentry-dbid-f85b3c14-16ac-4eab-9869-afafa065b5f6")}catch{}})();class u{constructor(){i(this,"urlPath","api-keys")}async create({projectId:t,name:e}){return s.post(`projects/${t}/${this.urlPath}`,{name:e})}async delete(t,e){await s.delete(`projects/${t}/${this.urlPath}/${e}`)}async list(t){return s.get(`projects/${t}/${this.urlPath}`)}}const r=new u;class n{constructor(t){this.dto=t}static async list(t){return(await r.list(t)).map(c=>new n(c))}static async create(t){const e=await r.create(t);return new n(e)}static async delete(t,e){await r.delete(t,e)}get id(){return this.dto.id}get name(){return this.dto.name}get createdAt(){return new Date(this.dto.createdAt)}get ownerId(){return this.dto.createdBy}get value(){var t;return(t=this.dto.value)!=null?t:null}}export{n as A};
2
- //# sourceMappingURL=apiKey.bd946d8c.js.map
@@ -1,2 +0,0 @@
1
- import{$ as c,c as l}from"./jwt-decode.esm.c9c37cdc.js";(function(){try{var r=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new Error().stack;e&&(r._sentryDebugIds=r._sentryDebugIds||{},r._sentryDebugIds[e]="2cb8eb20-8f25-4ca7-8d3b-401aa008d6dc",r._sentryDebugIdIdentifier="sentry-dbid-2cb8eb20-8f25-4ca7-8d3b-401aa008d6dc")}catch{}})();const i=r=>{const e=c({loading:!0,result:null,error:null}),n=t=>(e.value={loading:!1,result:t,error:null},t),a=t=>{e.value={loading:!1,result:null,error:t}},o=async()=>(e.value={loading:!0,result:e.value.result,error:null},r().then(n).catch(a));o();const s=l(()=>e.value.loading),u=l(()=>e.value.result),d=l(()=>e.value.error);return{loading:s,result:u,error:d,refetch:o}};export{i as a};
2
- //# sourceMappingURL=asyncComputed.7bc1692e.js.map
@@ -1,2 +0,0 @@
1
- import"./jwt-decode.esm.c9c37cdc.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="e28d21be-0419-438c-b46d-b3f13ae09f69",e._sentryDebugIdIdentifier="sentry-dbid-e28d21be-0419-438c-b46d-b3f13ae09f69")}catch{}})();function p(e,t){const{r:n,g:r,b:o,usePound:s}=g(e);return w(c(n,-t),c(r,-t),c(o,-t),s)}function c(e,t){const n=e*(100+t*100)/100;return n>255?255:n<0?0:Math.round(n)}function E(e){return e.startsWith("#")||e.match(/^(rgb|hsl)/)}const v=(e,t)=>y(p(y(e),t)),P=e=>k(e)?v(e,.1):p(e,.1);function k(e){const{r:t,g:n,b:r}=g(e);return t*.299+n*.587+r*.114<186}function g(e){let t=!1;e[0]=="#"&&(e=e.slice(1),t=!0);const n=parseInt(e,16);return{r:n>>16&255,g:n>>8&255,b:n&255,usePound:t}}function y(e){const{r:t,g:n,b:r,usePound:o}=g(e);return w(255-t,255-n,255-r,o)}const w=(e,t,n,r=!0)=>(r?"#":"")+(n|t<<8|e<<16).toString(16).padStart(6,"0");function _(e){return new Promise((t,n)=>{const r=document.createElement("img");r.src=e,r.crossOrigin="Anonymous",r.style.display="none",document.body.appendChild(r);let o=0;r.onerror=s=>n(new Error(`Failed to load image: ${s}`)),r.onload=()=>{const{width:s,height:f}=r,a=document.createElement("canvas");a.width=s,a.height=f;const u=a.getContext("2d");if(!u)return t(!1);u.drawImage(r,0,0);const I=u.getImageData(0,0,a.width,a.height),{data:d}=I;let l,b,h,m;for(let i=0,x=d.length;i<x;i+=4)l=d[i],b=d[i+1],h=d[i+2],m=Math.floor((l+b+h)/3),o+=m;const D=Math.floor(o/(s*f));document.body.removeChild(r),t(D<=127)}})}export{k as a,_ as b,P as c,E as i,v as l};
2
- //# sourceMappingURL=colorHelpers.8ba18214.js.map
@@ -1,2 +0,0 @@
1
- import"./jwt-decode.esm.c9c37cdc.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},s=new Error().stack;s&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[s]="89310402-19f7-4fcc-93c4-c1fed0185a82",t._sentryDebugIdIdentifier="sentry-dbid-89310402-19f7-4fcc-93c4-c1fed0185a82")}catch{}})();const e={HOMEPAGE:{}.VITE_HOMEPAGE_URL||"https://abstra.io",DOCS:{}.VITE_DOCS_URL||"https://abstra.io/docs",CLOUD:{}.VITE_CONSOLE_URL||"https://cloud.abstra.io",GITHUB:{}.VITE_GITHUB_URL||"https://github.com/abstra-app/abstra-lib"},c=t=>{if(!t)return e.DOCS;const s=t.startsWith("/")?t.slice(1):t;return`${e.DOCS}/${s}`};export{e as A,c as b};
2
- //# sourceMappingURL=constants.534f67bc.js.map
@@ -1,2 +0,0 @@
1
- import"./jwt-decode.esm.c9c37cdc.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]="3f30d996-5d25-41d4-9bdb-2098499c58f2",e._sentryDebugIdIdentifier="sentry-dbid-3f30d996-5d25-41d4-9bdb-2098499c58f2")}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.89495471.js.map
@@ -1,2 +0,0 @@
1
- import{W as c,dQ as s,dR as i}from"./jwt-decode.esm.c9c37cdc.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]="15ce6034-0ceb-4bd5-adf7-13e8221d5393",e._sentryDebugIdIdentifier="sentry-dbid-15ce6034-0ceb-4bd5-adf7-13e8221d5393")}catch{}})();const{DatePicker:n,WeekPicker:t,MonthPicker:r,YearPicker:f,TimePicker:m,QuarterPicker:o,RangePicker:d}=s(i),u=c(n,{WeekPicker:t,MonthPicker:r,YearPicker:f,RangePicker:d,TimePicker:m,QuarterPicker:o,install:e=>(e.component(n.name,n),e.component(d.name,d),e.component(r.name,r),e.component(t.name,t),e.component(o.name,o),e)});export{u as D,r as M,o as Q,d as R,t as W};
2
- //# sourceMappingURL=dayjs.304f38f8.js.map
@@ -1,2 +0,0 @@
1
- var O=Object.defineProperty;var $=(o,t,e)=>t in o?O(o,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):o[t]=e;var R=(o,t,e)=>($(o,typeof t!="symbol"?t+"":t,e),e);import{d as D,c as v,r as p,w as y,o as P,a as U,b as h,e as I,f as b,u as l,S as B,g as j,t as T,i as C,A as N,T as z,h as W,M as F,_ as H,j as G,k as J,l as S,m as q,n as K,p as Y,q as Q,s as k,v as X,x as Z,y as ee,z as m,B as te,C as oe,D as ae,E as ne,F as se,P as re,G as ie,H as ce,I as le,J as L,K as ue,L as de,N as pe,O as _e}from"./jwt-decode.esm.c9c37cdc.js";import{r as fe,g as ge,a as me}from"./router.4168cc71.js";import{u as he,s as ve}from"./workspaceStore.5a435520.js";import{u as ye}from"./useCodebaseEvents.ffe057d1.js";import{z as be,d as E}from"./index.da4f9d54.js";import{A as we}from"./constants.534f67bc.js";import"./contracts.generated.8ad36e63.js";import"./linters.7fec18d9.js";import"./userStore.d962fba4.js";import"./url.9e033350.js";import"./colorHelpers.8ba18214.js";import"./asyncComputed.7bc1692e.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new Error().stack;t&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[t]="2a0a017e-9b96-411d-b634-e80c538eadf3",o._sentryDebugIdIdentifier="sentry-dbid-2a0a017e-9b96-411d-b634-e80c538eadf3")}catch{}})();const Le={style:{"text-align":"center",padding:"20px"}},Ee=D({__name:"ConnectionModal",props:{open:{type:Boolean},port:{}},emits:["update:open"],setup(o,{emit:t}){const e=o,s=v({get:()=>e.open,set:a=>t("update:open",a)}),r=p(!1);return y(()=>e.open,a=>{if(a){r.value=!1;const n=setTimeout(()=>{r.value=!0},1e4);return()=>clearTimeout(n)}else r.value=!1}),(a,n)=>(P(),U(l(F),{open:s.value,"onUpdate:open":n[0]||(n[0]=u=>s.value=u),closable:!1,"mask-closable":!1,keyboard:!1,footer:null,width:400,centered:""},{default:h(()=>[I("div",Le,[b(l(B),{size:"large"}),b(l(N),{level:4},{default:h(()=>[j(T(l(C).translate("i18n_editor_connection_modal_connecting")),1)]),_:1}),r.value?(P(),U(l(z),{key:0},{default:h(()=>[j(T(l(C).translate("i18n_editor_connection_modal_timeout_message")),1)]),_:1})):W("",!0)])]),_:1},8,["open"]))}});const Pe=H(Ee,[["__scopeId","data-v-970fff16"]]),Ue={style:{height:"100vh","box-sizing":"border-box",width:"100%"}},Re=D({__name:"App",setup(o){const t=ye(),e=p(!1);y(t.isConnected,async a=>{e.value=!a},{immediate:!0});const s={token:{colorPrimary:"#d14056",colorLink:"#d14056",colorLinkHover:"#aa3446"}},r=v(()=>{switch((typeof localStorage<"u"?localStorage.getItem("locale"):null)||navigator.language.split(/[-_]/)[0]){case"pt":return Q;case"es":return Y;case"de":return K;case"fr":return q;case"zh":return be;case"hi":return S;default:return S}});return(a,n)=>{const u=G("RouterView");return P(),U(l(J),{theme:s,locale:r.value,"page-header":{ghost:!1}},{default:h(()=>[I("div",Ue,[b(u)]),b(Pe,{open:e.value,"onUpdate:open":n[0]||(n[0]=g=>e.value=g)},null,8,["open"])]),_:1},8,["locale"])}}});class V{async getLogin(){return await(await fetch("/_editor/api/login")).json()}async createLogin(t){return(await fetch("/_editor/api/login",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({token:t})})).json()}async deleteLogin(){await fetch("/_editor/api/login",{method:"DELETE"})}async getCloudProject(){return(await fetch("/_editor/api/login/info")).json()}async getPublicUrl(){try{return(await(await fetch("/_editor/api/login/public-url")).json()).public_url}catch{return null}}static getLoginUrl(t){return we.CLOUD+"/api-key?"+new URLSearchParams(t)}}const A="h97k86ks",f=class{static boot(t,e){f.booted||(E.Intercom({app_id:A}),E.boot({api_base:"https://api-iam.intercom.io",app_id:A,name:t,email:t,user_hash:e,hide_default_launcher:!0,custom_launcher_selector:".intercom-launcher"}),f.booted=!0)}static shutdown(){E.shutdown(),f.booted=!1}};let _=f;R(_,"booted",!1);const je={"console-url":"https://cloud.abstra.io"},Te=o=>{const t="VITE_"+k.toUpper(k.snakeCase(o)),e={VITE_SENTRY_RELEASE:"230d57be0bbae16a19fe7e7c161fa674bd7d3e5a",BASE_URL:"/",MODE:"production",DEV:!1,PROD:!0}[t];return e||je[o]},d={consoleUrl:Te("console-url")},Ce=X("cloud-project",()=>{const o=new V,t=p(null),e=p(null),s=v(()=>{var i,c;return(c=(i=t.value)==null?void 0:i.logged)!=null?c:!1}),r=p(null),a=v(()=>e.value?{project:`${d.consoleUrl}/projects/${e.value.id}`,users:`${d.consoleUrl}/projects/${e.value.id}/access-control?selected-panel=users`,roles:`${d.consoleUrl}/projects/${e.value.id}/access-control?selected-panel=roles`,builds:`${d.consoleUrl}/projects/${e.value.id}/builds`,login:`${d.consoleUrl}/api-key`}:null),n=async()=>{!s.value||(await o.deleteLogin(),window.open(location.origin+"/_editor","_self"))},u=async i=>{const c=await o.createLogin(i);t.value=c,c.logged&&await g()},g=async()=>e.value=await o.getCloudProject();(async()=>{r.value=await o.getPublicUrl()})();const x=async()=>t.value?t.value:(t.value=await o.getLogin(),t.value.logged);return y(()=>t.value,g),y(()=>t.value,async i=>{if(i&&"info"in i){const{email:c,intercomHash:M}=i.info;_.boot(c,M)}else _.shutdown()}),{loadLogin:x,createLogin:u,deleteLogin:n,publicUrl:r,loginInfo:t,cloudProject:e,isLogged:s,links:a}}),Se=fe.map(o=>({...o,meta:{...o.meta,playerRoute:!0}})),w=Z({history:ee("/"),routes:[{path:"/_editor/",name:"app",component:()=>m(()=>import("./Home.19a2303b.js"),["assets/Home.19a2303b.js","assets/jwt-decode.esm.c9c37cdc.js","assets/jwt-decode.c5760184.css","assets/fetch.452c58e5.js","assets/polling.4db5ee9a.js","assets/Home.afb8d9a6.css"]),children:[{path:"",name:"editor",component:()=>m(()=>import("./NewEditor.d65a400f.js"),["assets/NewEditor.d65a400f.js","assets/asyncComputed.7bc1692e.js","assets/jwt-decode.esm.c9c37cdc.js","assets/jwt-decode.c5760184.css","assets/contracts.generated.8ad36e63.js","assets/linters.7fec18d9.js","assets/workspaceStore.5a435520.js","assets/userStore.d962fba4.js","assets/url.9e033350.js","assets/colorHelpers.8ba18214.js","assets/record.a33d29b1.js","assets/PhWarningCircle.vue.05a40bc4.js","assets/Card.38a860a4.js","assets/router.a8616541.js","assets/index.da4f9d54.js","assets/metadata.e627ddda.js","assets/PhWebhooksLogo.vue.e4752384.js","assets/LogsController.2dceb3d3.js","assets/ant-design.4efc9ccd.js","assets/string.8fab6b53.js","assets/PhCopy.vue.29934bc2.js","assets/index.bc97991a.js","assets/build.a8637e29.js","assets/tables.2e1c934b.js","assets/repository.c0d70cb2.js","assets/LoadingOutlined.e309ab16.js","assets/polling.4db5ee9a.js","assets/LogsController.0ff97ed4.css","assets/omniChatStore.508e8ece.js","assets/uuid.8581bc03.js","assets/PhCopySimple.vue.0241af8c.js","assets/omniChatStore.b58e3bed.css","assets/datetime.89495471.js","assets/OmniChat.c3de8733.js","assets/AbstraLogo.vue_vue_type_script_setup_true_lang.b1a71740.js","assets/Logo.d77d5637.js","assets/Logo.b7d81119.css","assets/files.8999afd5.js","assets/PhClockCounterClockwise.vue.4bd682d8.js","assets/PhDatabase.vue.fdfb515c.js","assets/index.e5cb42a1.js","assets/index.b74c262c.js","assets/OmniChat.60ee26c8.css","assets/AbstraButton.vue_vue_type_script_setup_true_lang.a3ba2a31.js","assets/constants.534f67bc.js","assets/PhTranslate.vue.2ce651a6.js","assets/PhArrowSquareOut.vue.bcbdb6e7.js","assets/PhRocket.vue.7155b91f.js","assets/PhSignOut.vue.2af17bd7.js","assets/useCodebaseEvents.ffe057d1.js","assets/PhDownloadSimple.vue.f1245c40.js","assets/PhFilePlus.vue.c39ff1a9.js","assets/PhPencilSimple.vue.15a2b403.js","assets/CloseCircleOutlined.4c4707d8.js","assets/PhFolderPlus.vue.bc40161e.js","assets/tasksController.1feffcfe.js","assets/vue-flow-core.41c647da.js","assets/os.f08724fb.js","assets/ContentLayout.b1c94c2b.js","assets/ContentLayout.cdae7d24.css","assets/fetch.452c58e5.js","assets/repository.5190b94f.js","assets/SaveButton.c3f2a4bb.js","assets/ExclamationCircleOutlined.5d5c3f30.js","assets/SaveButton.363ea20f.css","assets/View.vue_vue_type_script_setup_true_lang.285b5e2c.js","assets/CrudView.75a430a4.js","assets/DocsButton.vue_vue_type_script_setup_true_lang.a9c8118b.js","assets/PhDotsThreeVertical.vue.7a0e0638.js","assets/CrudView.8abe5bc2.css","assets/PhPencil.vue.a7219766.js","assets/PlayerNavbar.117f184b.js","assets/PlayerNavbar.4dc29a45.css","assets/PlayerConfigProvider.00af5968.js","assets/PlayerConfigProvider.1ce9d3b1.css","assets/LoadingContainer.97fa8f2e.js","assets/LoadingContainer.56fa997a.css","assets/ScrollArea.vue_vue_type_script_setup_true_lang.cb5567cd.js","assets/PhGear.vue.0feed515.js","assets/PhFileArrowUp.vue.c292afe1.js","assets/toggleHighContrast.6544a728.js","assets/toggleHighContrast.30d77c87.css","assets/index.d809956c.js","assets/vue-flow-background.3e9183ec.js","assets/PhArrowCounterClockwise.vue.9e570570.js","assets/FormRunner.73650f9e.js","assets/Login.vue_vue_type_script_setup_true_lang.ada1c6c9.js","assets/CircularLoading.217756fb.js","assets/CircularLoading.a8fe2dc6.css","assets/Login.ac75228f.css","assets/Steps.687763a5.js","assets/index.71eb83f3.js","assets/Steps.2880920a.css","assets/Watermark.5071a4b2.js","assets/Watermark.b0916e90.css","assets/FormRunner.1e6e7d2a.css","assets/repository.94fb77c7.js","assets/redirect.42bf4f0a.js","assets/router.4168cc71.js","assets/NewEditor.e3cfeb2c.css"])},{path:"project-login",name:"projectLogin",component:()=>m(()=>import("./ProjectLogin.d9bb1f86.js"),["assets/ProjectLogin.d9bb1f86.js","assets/AbstraLogo.vue_vue_type_script_setup_true_lang.b1a71740.js","assets/Logo.d77d5637.js","assets/jwt-decode.esm.c9c37cdc.js","assets/jwt-decode.c5760184.css","assets/Logo.b7d81119.css","assets/BaseLayout.135a51d9.js","assets/BaseLayout.e1744dcc.css","assets/index.f2beb20d.js","assets/Breadcrumb.8a82fa01.js","assets/index.e5cb42a1.js","assets/index.bc97991a.js","assets/router.4168cc71.js","assets/workspaceStore.5a435520.js","assets/userStore.d962fba4.js","assets/url.9e033350.js","assets/colorHelpers.8ba18214.js","assets/useCodebaseEvents.ffe057d1.js","assets/contracts.generated.8ad36e63.js","assets/index.da4f9d54.js","assets/constants.534f67bc.js","assets/linters.7fec18d9.js","assets/asyncComputed.7bc1692e.js","assets/ProjectLogin.21a71354.css"]),meta:{title:"Abstra Editor",allowUnauthenticated:!0}},{path:":pathMatch(.*)*",name:"editorFallback",redirect:"/_editor/"}]},{path:"/:path(.*)*",name:"player",component:()=>m(()=>import("./App.45396b70.js"),["assets/App.45396b70.js","assets/App.vue_vue_type_style_index_0_lang.db5596a1.js","assets/userStore.d962fba4.js","assets/jwt-decode.esm.c9c37cdc.js","assets/jwt-decode.c5760184.css","assets/PlayerConfigProvider.00af5968.js","assets/colorHelpers.8ba18214.js","assets/PlayerConfigProvider.1ce9d3b1.css","assets/workspaceStore.5a435520.js","assets/url.9e033350.js","assets/App.0c2736ee.css"]),children:Se}],scrollBehavior(o){if(o.hash)return{el:o.hash}}}),ke=ge(w);w.beforeEach(async(o,t)=>{if(await he().actions.fetch(),o.meta.playerRoute)return ke(o,t);te(o,t);const e=Ce();if(!o.meta.allowUnauthenticated&&!e.isLogged&&!await e.loadLogin()){const s={redirect:location.origin+"/_editor/project-login"};window.open(V.getLoginUrl(s),"_self")}});(async()=>{await ve();const o=await me(),t=oe(),e=ae({render:()=>ue(Re)});ne.init(),se(e,w,o),e.use(w),e.use(re),e.use(t),e.mount("#app"),e.component("VSelect",ie),e.component("Markdown",ce),e.component("Message",le),L(e,de),L(e,pe),L(e,_e)})();export{d as E,Ce as u};
2
- //# sourceMappingURL=editor.c1a1bd33.js.map
@@ -1,2 +0,0 @@
1
- import{C as t,E as d,K as i,a as f,M as l,c as y,P as b,R as c,S as g,b as u,T as k,U as p,e as w,l as D}from"./toggleHighContrast.6544a728.js";import"./jwt-decode.esm.c9c37cdc.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]="10170440-3eaf-4798-8f00-e8d083ab14d2",e._sentryDebugIdIdentifier="sentry-dbid-10170440-3eaf-4798-8f00-e8d083ab14d2")}catch{}})();export{t as CancellationTokenSource,d as Emitter,i as KeyCode,f as KeyMod,l as MarkerSeverity,y as MarkerTag,b as Position,c as Range,g as Selection,u as SelectionDirection,k as Token,p as Uri,w as editor,D as languages};
2
- //# sourceMappingURL=editor.main.84e237cf.js.map
@@ -1,2 +0,0 @@
1
- import"./jwt-decode.esm.c9c37cdc.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]="237c71a8-747d-4690-93ec-e7e222ec9c21",e._sentryDebugIdIdentifier="sentry-dbid-237c71a8-747d-4690-93ec-e7e222ec9c21")}catch{}})();const c=(...e)=>window.fetch(...e);export{c as l};
2
- //# sourceMappingURL=fetch.452c58e5.js.map
@@ -1,2 +0,0 @@
1
- import{d as V,an as W,e7 as q,e8 as L,c as o,r as O,w as M,aX as X,f,W as m,aY as Y,aq as G,c_ as h,aC as j,bA as B,aT as H,ao as J}from"./jwt-decode.esm.c9c37cdc.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]="58977671-8216-4ab1-9625-5471817d6cf2",e._sentryDebugIdIdentifier="sentry-dbid-58977671-8216-4ab1-9625-5471817d6cf2")}catch{}})();const K={small:8,middle:16,large:24},Q=()=>({prefixCls:String,size:{type:[String,Number,Array]},direction:j.oneOf(B("horizontal","vertical")).def("horizontal"),align:j.oneOf(B("start","end","center","baseline")),wrap:H()});function U(e){return typeof e=="string"?K[e]:e||0}const r=V({compatConfig:{MODE:3},name:"ASpace",inheritAttrs:!1,props:Q(),slots:Object,setup(e,c){let{slots:l,attrs:g}=c;const{prefixCls:n,space:y,direction:w}=W("space",e),[E,F]=q(n),x=L(),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();M(s,()=>{[b.value,u.value]=(Array.isArray(s.value)?s.value:[s.value,s.value]).map(a=>U(a))},{immediate:!0});const z=o(()=>e.align===void 0&&e.direction==="horizontal"?"center":e.align),T=o(()=>J(n.value,F.value,`${n.value}-${e.direction}`,{[`${n.value}-rtl`]:w.value==="rtl",[`${n.value}-align-${z.value}`]:z.value})),k=o(()=>w.value==="rtl"?"marginLeft":"marginRight"),P=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:R="horizontal"}=e,_=(a=l.default)===null||a===void 0?void 0:a.call(l),C=X(_),A=C.length;if(A===0)return null;const d=(t=l.split)===null||t===void 0?void 0:t.call(l),I=`${n.value}-item`,D=b.value,S=A-1;return f("div",G(G({},g),{},{class:[T.value,g.class],style:[P.value,g.style]}),[C.map((N,v)=>{let $=_.indexOf(N);$===-1&&($=`$$space-${v}`);let p={};return x.value||(R==="vertical"?v<S&&(p={marginBottom:`${D/(d?2:1)}px`}):p=m(m({},v<S&&{[k.value]:`${D/(d?2:1)}px`}),i&&{paddingBottom:`${u.value}px`})),E(f(Y,{key:$},[f("div",{class:I,style:p},[N]),v<S&&d&&f("span",{class:`${I}-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.bc97991a.js.map
@@ -1,2 +0,0 @@
1
- import{k as r}from"./router.a8616541.js";import"./jwt-decode.esm.c9c37cdc.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]="2a7093ca-9c6f-4afe-ae07-cf7aeb298ab1",a._sentryDebugIdIdentifier="sentry-dbid-2a7093ca-9c6f-4afe-ae07-cf7aeb298ab1")}catch{}})();class i{async create(e){return r.post(`organizations/${e.organizationId}/members`,{email:e.email,folderIds:e.folderIds})}async delete(e){return r.delete(`organizations/${e.organizationId}/members/${e.authorId}`)}async list(e){return r.get(`organizations/${e}/members`)}async get(e,n){return r.get(`organizations/${e}/members/${n}`)}async update(e,n,t){return r.patch(`organizations/${e}/members/${n}`,t)}}export{i as M};
2
- //# sourceMappingURL=member.3c12efee.js.map
@@ -1,2 +0,0 @@
1
- import{C as n,D as r,E as o,F as d,P as c,G as p,H as b,I as f,J as a,K as m,L as u,N as g,O as l}from"./jwt-decode.esm.c9c37cdc.js";import{a as y,b as i}from"./router.4168cc71.js";import{s as w}from"./workspaceStore.5a435520.js";import{_ as h}from"./App.vue_vue_type_style_index_0_lang.db5596a1.js";import"./userStore.d962fba4.js";import"./url.9e033350.js";import"./colorHelpers.8ba18214.js";import"./PlayerConfigProvider.00af5968.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},s=new Error().stack;s&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[s]="003a0b8b-26b1-4496-81ba-cdeb085119fd",t._sentryDebugIdIdentifier="sentry-dbid-003a0b8b-26b1-4496-81ba-cdeb085119fd")}catch{}})();class I{static init(){setInterval(()=>{fetch("/_healthcheck").catch(()=>{})},20*1e3)}}(async()=>{await w();const t=await y(),s=n(),e=r({render:()=>m(h)});o.init(),d(e,i,t),I.init(),e.use(i),e.use(s),e.use(c),e.mount("#app"),e.component("VSelect",p),e.component("Markdown",b),e.component("Message",f),a(e,u),a(e,g),a(e,l)})();
2
- //# sourceMappingURL=player.7362caf4.js.map
@@ -1,2 +0,0 @@
1
- import"./jwt-decode.esm.c9c37cdc.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]="b02e9608-28cc-400a-bea7-6f8082c2c093",e._sentryDebugIdIdentifier="sentry-dbid-b02e9608-28cc-400a-bea7-6f8082c2c093")}catch{}})();const i=1e3,d=e=>{let n=null;return{startPolling:()=>{const t=async()=>{var o;try{!document.hidden&&!e.keepPollingOnOutOfFocus&&await e.task()}finally{n=setTimeout(t,(o=e.interval)!=null?o:i)}};t()},endPolling:()=>{n&&clearTimeout(n)}}};export{d as u};
2
- //# sourceMappingURL=polling.4db5ee9a.js.map
@@ -1,2 +0,0 @@
1
- import{i as c}from"./url.9e033350.js";import"./jwt-decode.esm.c9c37cdc.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},r=new Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="d4452259-6a7e-40b2-8a2f-f7c69d2c1194",e._sentryDebugIdIdentifier="sentry-dbid-d4452259-6a7e-40b2-8a2f-f7c69d2c1194")}catch{}})();function i(e){return e.startsWith("/")?e.slice(1):e}function f(e,r,n={}){if(c(r)){const a=new URL(r),t=new URLSearchParams(n),o=new URLSearchParams(a.search),s=new URLSearchParams([...o,...t]);return a.search=s.toString(),{action:"REPLACE_LOCAL_HREF",newHref:a.toString()}}else{const a=r.replace(/\/$/,"");if(e==="player")return{action:"GOTO_FORM_PLAYER",path:i(a),queryParams:n};if(e==="editor")return{action:"GOTO_FORM_EDITOR",path:i(a),queryParams:n};if(e==="preview")return{action:"GOTO_FORM_PLAYER",path:i(a),queryParams:n};throw new Error(`Invalid routing ${e}`)}}async function w(e,r,n,a={}){const t=f(e,n,a);switch(t.action){case"REPLACE_LOCAL_HREF":window.location.href=t.newHref;break;case"GOTO_FORM_EDITOR":await r.push({name:"formEditor",params:{formPath:t.path},query:t.queryParams});break;case"GOTO_FORM_PLAYER":await r.push({name:e==="preview"?"formPreview":"formPlayer",params:{formPath:t.path},query:t.queryParams});break;default:throw new Error("Invalid routing")}}export{w as r};
2
- //# sourceMappingURL=redirect.42bf4f0a.js.map
@@ -1,2 +0,0 @@
1
- import{x as c,y as d,z as t,B as m}from"./jwt-decode.esm.c9c37cdc.js";import{a as u}from"./workspaceStore.5a435520.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]="98c1c303-89bf-4f3c-9476-eab4660625b2",e._sentryDebugIdIdentifier="sentry-dbid-98c1c303-89bf-4f3c-9476-eab4660625b2")}catch{}})();const f=async()=>{try{const e=await fetch("/_editor/api/workspace/version");return e.ok&&(await e.json()).version||"230d57be0bbae16a19fe7e7c161fa674bd7d3e5a"}catch(e){return console.error("Failed to fetch Abstra version:",e),"230d57be0bbae16a19fe7e7c161fa674bd7d3e5a"}},p=[{path:"/oidc-login-callback",name:"oidcLoginCallback",component:()=>t(()=>import("./OidcLoginCallback.66b0f38a.js"),["assets/OidcLoginCallback.66b0f38a.js","assets/workspaceStore.5a435520.js","assets/jwt-decode.esm.c9c37cdc.js","assets/jwt-decode.c5760184.css","assets/userStore.d962fba4.js","assets/url.9e033350.js","assets/colorHelpers.8ba18214.js"]),meta:{allowUnauthenticated:!0}},{path:"/oidc-logout-callback",name:"oidcLogoutCallback",component:()=>t(()=>import("./OidcLogoutCallback.48d8429a.js"),["assets/OidcLogoutCallback.48d8429a.js","assets/workspaceStore.5a435520.js","assets/jwt-decode.esm.c9c37cdc.js","assets/jwt-decode.c5760184.css","assets/userStore.d962fba4.js","assets/url.9e033350.js","assets/colorHelpers.8ba18214.js"]),meta:{allowUnauthenticated:!0}},{path:"/login",name:"playerLogin",component:()=>t(()=>import("./Login.632cada3.js"),["assets/Login.632cada3.js","assets/Login.vue_vue_type_script_setup_true_lang.ada1c6c9.js","assets/jwt-decode.esm.c9c37cdc.js","assets/jwt-decode.c5760184.css","assets/workspaceStore.5a435520.js","assets/userStore.d962fba4.js","assets/url.9e033350.js","assets/colorHelpers.8ba18214.js","assets/CircularLoading.217756fb.js","assets/CircularLoading.a8fe2dc6.css","assets/Logo.d77d5637.js","assets/Logo.b7d81119.css","assets/string.8fab6b53.js","assets/index.b74c262c.js","assets/Login.ac75228f.css","assets/Login.3b76812d.css"]),meta:{allowUnauthenticated:!0}},{path:"/",name:"main",component:()=>t(()=>import("./Main.44b7640e.js"),["assets/Main.44b7640e.js","assets/PlayerNavbar.117f184b.js","assets/userStore.d962fba4.js","assets/jwt-decode.esm.c9c37cdc.js","assets/jwt-decode.c5760184.css","assets/workspaceStore.5a435520.js","assets/url.9e033350.js","assets/colorHelpers.8ba18214.js","assets/metadata.e627ddda.js","assets/PhWebhooksLogo.vue.e4752384.js","assets/LoadingOutlined.e309ab16.js","assets/PhSignOut.vue.2af17bd7.js","assets/index.e5cb42a1.js","assets/PlayerNavbar.4dc29a45.css","assets/Main.201c14c9.css"]),redirect:{name:"main"},children:[{path:"",name:"playerHome",component:()=>t(()=>import("./Home.4eff6ce9.js"),["assets/Home.4eff6ce9.js","assets/metadata.e627ddda.js","assets/jwt-decode.esm.c9c37cdc.js","assets/jwt-decode.c5760184.css","assets/PhWebhooksLogo.vue.e4752384.js","assets/Watermark.5071a4b2.js","assets/workspaceStore.5a435520.js","assets/userStore.d962fba4.js","assets/url.9e033350.js","assets/colorHelpers.8ba18214.js","assets/constants.534f67bc.js","assets/Watermark.b0916e90.css","assets/PhArrowSquareOut.vue.bcbdb6e7.js","assets/index.90acf038.js","assets/Card.38a860a4.js","assets/LoadingOutlined.e309ab16.js","assets/Home.e8bf9440.css"]),meta:{title:"Home"}},{path:"_player/threads",redirect:{name:"playerThreads"}},{path:"error/:status",name:"error",component:()=>t(()=>import("./Error.5bd293cc.js"),["assets/Error.5bd293cc.js","assets/AbstraLogo.vue_vue_type_script_setup_true_lang.b1a71740.js","assets/Logo.d77d5637.js","assets/jwt-decode.esm.c9c37cdc.js","assets/jwt-decode.c5760184.css","assets/Logo.b7d81119.css","assets/constants.534f67bc.js","assets/workspaceStore.5a435520.js","assets/userStore.d962fba4.js","assets/url.9e033350.js","assets/colorHelpers.8ba18214.js","assets/Card.38a860a4.js","assets/Error.ef2624eb.css"]),meta:{allowUnauthenticated:!0}},{path:":path(.*)*",name:"form",component:()=>t(()=>import("./Form.a4787001.js"),["assets/Form.a4787001.js","assets/userStore.d962fba4.js","assets/jwt-decode.esm.c9c37cdc.js","assets/jwt-decode.c5760184.css","assets/FormRunner.73650f9e.js","assets/Login.vue_vue_type_script_setup_true_lang.ada1c6c9.js","assets/workspaceStore.5a435520.js","assets/url.9e033350.js","assets/colorHelpers.8ba18214.js","assets/CircularLoading.217756fb.js","assets/CircularLoading.a8fe2dc6.css","assets/Logo.d77d5637.js","assets/Logo.b7d81119.css","assets/string.8fab6b53.js","assets/index.b74c262c.js","assets/Login.ac75228f.css","assets/Steps.687763a5.js","assets/index.71eb83f3.js","assets/Steps.2880920a.css","assets/Watermark.5071a4b2.js","assets/constants.534f67bc.js","assets/Watermark.b0916e90.css","assets/FormRunner.1e6e7d2a.css","assets/redirect.42bf4f0a.js","assets/asyncComputed.7bc1692e.js","assets/uuid.8581bc03.js","assets/Form.7493bc0a.css"]),meta:{hideLogin:!0}}]}],o=c({history:d("/"),routes:p,scrollBehavior(e){if(e.hash)return{el:e.hash}}}),l=e=>async(a,r)=>{if(m(a,r),a.meta.allowUnauthenticated)return;const n=await u(a.path),{redirect:i,...s}=a.query;switch(n.status){case"ALLOWED":break;case"UNAUTHORIZED":await e.push({name:"playerLogin",query:{...s,redirect:i||a.path},params:a.params});break;case"NOT_FOUND":await e.push({name:"error",params:{status:"404"}});break;default:await e.push({name:"error",params:{status:"403"}})}};o.beforeEach(l(o));export{f as a,o as b,l as g,p as r};
2
- //# sourceMappingURL=router.4168cc71.js.map
@@ -1,2 +0,0 @@
1
- import{Z as d}from"./jwt-decode.esm.c9c37cdc.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="dd318273-01b2-43b9-bce4-9f6e0006bacb",e._sentryDebugIdIdentifier="sentry-dbid-dd318273-01b2-43b9-bce4-9f6e0006bacb")}catch{}})();function h(e){return d.string().email().safeParse(e).success}function b(e){return e.charAt(0).toUpperCase()+e.slice(1)}function p(e,t,r=!1,a=!0,s=!1,n=!0){const o=(a?e.toLocaleLowerCase():e).normalize("NFD").replace(/[\u0300-\u036f]/g,""),i=`a-zA-Z0-9${s?"/":""}${n?"-":""}`,c=new RegExp(`[^${i}]`,"g"),l=o.replace(c,"_"),f=r?l:l.replace(/_+/g,"_");return t?f:f.replace(/_$/,"")}function w(e){var n;const r=e.toLocaleLowerCase().trim().normalize("NFD").replace(/[\u0300-\u036f]/g,""),a=/[a-z0-9]+/g,s=r.match(a);return(n=s==null?void 0:s.join("-"))!=null?n:""}function m(e,t){if(e.length===0||t.length===0)return!1;const r=e.toLowerCase(),a=t.toLowerCase();return r.split("").reduce((n,u)=>{var i;if(n===!1)return!1;const o=(i=n[n.length-1])!=null?i:null;if(o===null){const c=a.indexOf(u);return c===-1?!1:[c]}else{const l=a.slice(o+1).indexOf(u);return l===-1?!1:[...n,o+1+l]}},[])}function y(e){let t=0;for(let r=0;r<e.length;r++){const a=e.charCodeAt(r);t=(t<<5)-t+a,t=t&t}return t}export{p as a,b as c,m as f,y as h,h as i,w as n};
2
- //# sourceMappingURL=string.8fab6b53.js.map
@@ -1,2 +0,0 @@
1
- import"./jwt-decode.esm.c9c37cdc.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},r=new Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="5cae76c0-a10e-4824-9af2-1dcbcddf43b3",e._sentryDebugIdIdentifier="sentry-dbid-5cae76c0-a10e-4824-9af2-1dcbcddf43b3")}catch{}})();const d=e=>{try{return new URL(e),!0}catch{return!1}},o=(e,r)=>{if(!Object.keys(r).length)return e;const t=new URL(e),n=new URLSearchParams(t.search);return Object.entries(r).forEach(([a,s])=>{t.searchParams.delete(a),n.set(a,s)}),`${t.origin}${t.pathname}?${n.toString()}`};export{d as i,o as m};
2
- //# sourceMappingURL=url.9e033350.js.map
@@ -1,2 +0,0 @@
1
- import"./router.a8616541.js";import{r as i}from"./jwt-decode.esm.c9c37cdc.js";import{T as c}from"./tables.2e1c934b.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]="3cb7f358-cf25-4f09-954b-d61f97ae59dd",e._sentryDebugIdIdentifier="sentry-dbid-3cb7f358-cf25-4f09-954b-d61f97ae59dd")}catch{}})();const s=new Map,n=new Set,y=e=>{const a=i([]),t=i(!1),r=i(null),u=async(f=!1)=>{if(!f&&s.has(e))return a.value=s.get(e),a.value;if(n.has(e)){for(;n.has(e);)await new Promise(l=>setTimeout(l,100));return a.value=s.get(e)||[],a.value}try{t.value=!0,n.add(e),r.value=null;const l=await c.list(e);return a.value=l,s.set(e,l),l}catch(l){throw r.value=l,console.error("Error fetching tables:",l),l}finally{t.value=!1,n.delete(e)}},o=f=>a.value.find(l=>l.id===f)||null,d=()=>{s.delete(e)},b=()=>{s.clear()};return!s.has(e)&&!n.has(e)?u():s.has(e)&&(a.value=s.get(e)),{tables:a,loading:t,error:r,fetchTables:u,getTableById:o,invalidateCache:d,invalidateAllCache:b}};export{y as u};
2
- //# sourceMappingURL=useTables.5fffa3f1.js.map
@@ -1,2 +0,0 @@
1
- import{v as f,a0 as v,Z as w,r as m,c as n,a1 as p}from"./jwt-decode.esm.c9c37cdc.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]="f8ef8c7e-d4ee-4f6e-9e07-7df4603126e3",t._sentryDebugIdIdentifier="sentry-dbid-f8ef8c7e-d4ee-4f6e-9e07-7df4603126e3")}catch{}})();const y=2*60*60,_=t=>{try{const e=p(t);if(!e.exp)throw Error("expired jwt");return{email:e.email,expiresInSeconds:e.exp*1e3}}catch{console.warn("Invalid JWT")}return null},g=f("user",()=>{const t=new v(w.string(),"auth:jwt"),e=m(null),s=()=>{e.value=null,t.remove()},o=r=>{t.set(r),e.value=r},u=()=>{e.value=t.get()},l=n(()=>e.value?{Authorization:`Bearer ${e.value}`}:{}),c=n(()=>e.value?["default",`base64url.bearer.authorization.${e.value}`]:[]),a=n(()=>e.value?_(e.value):null),d=n(()=>{var r;return(r=a.value)==null?void 0:r.email}),i=()=>a.value?a.value.expiresInSeconds-Date.now()>y:!1;return u(),{jwt:e,email:d,saveJWT:o,removeJWT:s,isJWTValid:i,authHeaders:l,wsAuthHeaders:c}});export{g as u};
2
- //# sourceMappingURL=userStore.d962fba4.js.map
@@ -1,2 +0,0 @@
1
- import"./jwt-decode.esm.c9c37cdc.js";(function(){try{var x=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new Error().stack;e&&(x._sentryDebugIds=x._sentryDebugIds||{},x._sentryDebugIds[e]="0229c348-3200-4638-b36f-487294b5131d",x._sentryDebugIdIdentifier="sentry-dbid-0229c348-3200-4638-b36f-487294b5131d")}catch{}})();const d=()=>"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(x){const e=Math.random()*16|0;return(x=="x"?e:e&3|8).toString(16)});export{d as u};
2
- //# sourceMappingURL=uuid.8581bc03.js.map