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 +1,2 @@
1
- var c=Object.defineProperty;var l=(t,e,s)=>e in t?c(t,e,{enumerable:!0,configurable:!0,writable:!0,value:s}):t[e]=s;var n=(t,e,s)=>(l(t,typeof e!="symbol"?e+"":e,s),s);import{a as f}from"./asyncComputed.7bc1692e.js";import"./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]="f7a984a8-57b9-4b9b-8714-8b9b47fac847",t._sentryDebugIdIdentifier="sentry-dbid-f7a984a8-57b9-4b9b-8714-8b9b47fac847")}catch{}})();class u{async check(){return(await fetch("/_editor/api/linters/check")).json()}async fix(e,s){const a=await fetch(`/_editor/api/linters/fix/${e}/${s}`,{method:"POST"});if(!a.ok)throw new Error("Failed to fix");return i.refetch(),a.json()}}const r=new u,i=f(async()=>(await r.check()).map(e=>new m(e)));class b{constructor(e,s){n(this,"name");n(this,"label");n(this,"ruleName");this.name=e.name,this.label=e.label,this.ruleName=s}async fix(){await r.fix(this.ruleName,this.name)}}class h{constructor(e,s){n(this,"label");n(this,"fixes");this.ruleName=s,this.label=e.label,this.fixes=e.fixes.map(a=>new b(a,s))}}class m{constructor(e){n(this,"name");n(this,"label");n(this,"type");n(this,"issues");this.name=e.name,this.label=e.label,this.type=e.type,this.issues=e.issues.map(s=>new h(s,this.name))}static get asyncComputed(){return i}static fromName(e){var a;const s=(a=i.result.value)==null?void 0:a.find(o=>o.name===e);if(!s)throw new Error(`Rule ${e} not found`);return s}}export{m as L};
2
- //# sourceMappingURL=linters.7fec18d9.js.map
1
+ var c=Object.defineProperty;var f=(t,e,s)=>e in t?c(t,e,{enumerable:!0,configurable:!0,writable:!0,value:s}):t[e]=s;var n=(t,e,s)=>(f(t,typeof e!="symbol"?e+"":e,s),s);import{a as l}from"./asyncComputed.c73d027a.js";import"./jwt-decode.esm.3348bca5.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]="c795dfe1-17fe-45fa-8bc5-f443f33a2ed9",t._sentryDebugIdIdentifier="sentry-dbid-c795dfe1-17fe-45fa-8bc5-f443f33a2ed9")}catch{}})();class u{async check(){return(await fetch("/_editor/api/linters/check")).json()}async fix(e,s){const a=await fetch(`/_editor/api/linters/fix/${e}/${s}`,{method:"POST"});if(!a.ok)throw new Error("Failed to fix");return i.refetch(),a.json()}}const r=new u,i=l(async()=>(await r.check()).map(e=>new m(e)));class d{constructor(e,s){n(this,"name");n(this,"label");n(this,"ruleName");this.name=e.name,this.label=e.label,this.ruleName=s}async fix(){await r.fix(this.ruleName,this.name)}}class h{constructor(e,s){n(this,"label");n(this,"fixes");this.ruleName=s,this.label=e.label,this.fixes=e.fixes.map(a=>new d(a,s))}}class m{constructor(e){n(this,"name");n(this,"label");n(this,"type");n(this,"issues");this.name=e.name,this.label=e.label,this.type=e.type,this.issues=e.issues.map(s=>new h(s,this.name))}static get asyncComputed(){return i}static fromName(e){var a;const s=(a=i.result.value)==null?void 0:a.find(o=>o.name===e);if(!s)throw new Error(`Rule ${e} not found`);return s}}export{m as L};
2
+ //# sourceMappingURL=linters.903f3240.js.map
@@ -1,7 +1,7 @@
1
- import{m as d}from"./toggleHighContrast.6544a728.js";import"./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]="ba61c967-737a-48e7-9190-f0bb70cbeb5a",t._sentryDebugIdIdentifier="sentry-dbid-ba61c967-737a-48e7-9190-f0bb70cbeb5a")}catch{}})();/*!-----------------------------------------------------------------------------
1
+ import{m as d}from"./toggleHighContrast.23d5a1ab.js";import"./jwt-decode.esm.3348bca5.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]="c82f90e6-61d9-4231-9706-6939c0202767",t._sentryDebugIdIdentifier="sentry-dbid-c82f90e6-61d9-4231-9706-6939c0202767")}catch{}})();/*!-----------------------------------------------------------------------------
2
2
  * Copyright (c) Microsoft Corporation. All rights reserved.
3
3
  * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f)
4
4
  * Released under the MIT license
5
5
  * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
6
- *-----------------------------------------------------------------------------*/var s=Object.defineProperty,c=Object.getOwnPropertyDescriptor,u=Object.getOwnPropertyNames,m=Object.prototype.hasOwnProperty,a=(t,e,i,o)=>{if(e&&typeof e=="object"||typeof e=="function")for(let r of u(e))!m.call(t,r)&&r!==i&&s(t,r,{get:()=>e[r],enumerable:!(o=c(e,r))||o.enumerable});return t},p=(t,e,i)=>(a(t,e,"default"),i&&a(i,e,"default")),n={};p(n,d);var l=["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"],f={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\$\^\&\*\(\)\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\s]+)/g,brackets:[["<!--","-->"],["<",">"],["{{","}}"],["{%","%}"],["{","}"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"%",close:"%"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"<",close:">"},{open:'"',close:'"'},{open:"'",close:"'"}],onEnterRules:[{beforeText:new RegExp(`<(?!(?:${l.join("|")}))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$`,"i"),afterText:/^<\/(\w[\w\d]*)\s*>$/i,action:{indentAction:n.languages.IndentAction.IndentOutdent}},{beforeText:new RegExp(`<(?!(?:${l.join("|")}))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$`,"i"),action:{indentAction:n.languages.IndentAction.Indent}}]},g={defaultToken:"",tokenPostfix:"",builtinTags:["if","else","elseif","endif","render","assign","capture","endcapture","case","endcase","comment","endcomment","cycle","decrement","for","endfor","include","increment","layout","raw","endraw","render","tablerow","endtablerow","unless","endunless"],builtinFilters:["abs","append","at_least","at_most","capitalize","ceil","compact","date","default","divided_by","downcase","escape","escape_once","first","floor","join","json","last","lstrip","map","minus","modulo","newline_to_br","plus","prepend","remove","remove_first","replace","replace_first","reverse","round","rstrip","size","slice","sort","sort_natural","split","strip","strip_html","strip_newlines","times","truncate","truncatewords","uniq","upcase","url_decode","url_encode","where"],constants:["true","false"],operators:["==","!=",">","<",">=","<="],symbol:/[=><!]+/,identifier:/[a-zA-Z_][\w]*/,tokenizer:{root:[[/\{\%\s*comment\s*\%\}/,"comment.start.liquid","@comment"],[/\{\{/,{token:"@rematch",switchTo:"@liquidState.root"}],[/\{\%/,{token:"@rematch",switchTo:"@liquidState.root"}],[/(<)([\w\-]+)(\/>)/,["delimiter.html","tag.html","delimiter.html"]],[/(<)([:\w]+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[/(<\/)([\w\-]+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[/</,"delimiter.html"],[/\{/,"delimiter.html"],[/[^<{]+/]],comment:[[/\{\%\s*endcomment\s*\%\}/,"comment.end.liquid","@pop"],[/./,"comment.content.liquid"]],otherTag:[[/\{\{/,{token:"@rematch",switchTo:"@liquidState.otherTag"}],[/\{\%/,{token:"@rematch",switchTo:"@liquidState.otherTag"}],[/\/?>/,"delimiter.html","@pop"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/]],liquidState:[[/\{\{/,"delimiter.output.liquid"],[/\}\}/,{token:"delimiter.output.liquid",switchTo:"@$S2.$S3"}],[/\{\%/,"delimiter.tag.liquid"],[/raw\s*\%\}/,"delimiter.tag.liquid","@liquidRaw"],[/\%\}/,{token:"delimiter.tag.liquid",switchTo:"@$S2.$S3"}],{include:"liquidRoot"}],liquidRaw:[[/^(?!\{\%\s*endraw\s*\%\}).+/],[/\{\%/,"delimiter.tag.liquid"],[/@identifier/],[/\%\}/,{token:"delimiter.tag.liquid",next:"@root"}]],liquidRoot:[[/\d+(\.\d+)?/,"number.liquid"],[/"[^"]*"/,"string.liquid"],[/'[^']*'/,"string.liquid"],[/\s+/],[/@symbol/,{cases:{"@operators":"operator.liquid","@default":""}}],[/\./],[/@identifier/,{cases:{"@constants":"keyword.liquid","@builtinFilters":"predefined.liquid","@builtinTags":"predefined.liquid","@default":"variable.liquid"}}],[/[^}|%]/,"variable.liquid"]]}};export{f as conf,g as language};
7
- //# sourceMappingURL=liquid.b4ac9aaf.js.map
6
+ *-----------------------------------------------------------------------------*/var s=Object.defineProperty,c=Object.getOwnPropertyDescriptor,u=Object.getOwnPropertyNames,m=Object.prototype.hasOwnProperty,a=(t,e,i,o)=>{if(e&&typeof e=="object"||typeof e=="function")for(let r of u(e))!m.call(t,r)&&r!==i&&s(t,r,{get:()=>e[r],enumerable:!(o=c(e,r))||o.enumerable});return t},p=(t,e,i)=>(a(t,e,"default"),i&&a(i,e,"default")),n={};p(n,d);var l=["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"],g={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\$\^\&\*\(\)\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\s]+)/g,brackets:[["<!--","-->"],["<",">"],["{{","}}"],["{%","%}"],["{","}"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"%",close:"%"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"<",close:">"},{open:'"',close:'"'},{open:"'",close:"'"}],onEnterRules:[{beforeText:new RegExp(`<(?!(?:${l.join("|")}))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$`,"i"),afterText:/^<\/(\w[\w\d]*)\s*>$/i,action:{indentAction:n.languages.IndentAction.IndentOutdent}},{beforeText:new RegExp(`<(?!(?:${l.join("|")}))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$`,"i"),action:{indentAction:n.languages.IndentAction.Indent}}]},b={defaultToken:"",tokenPostfix:"",builtinTags:["if","else","elseif","endif","render","assign","capture","endcapture","case","endcase","comment","endcomment","cycle","decrement","for","endfor","include","increment","layout","raw","endraw","render","tablerow","endtablerow","unless","endunless"],builtinFilters:["abs","append","at_least","at_most","capitalize","ceil","compact","date","default","divided_by","downcase","escape","escape_once","first","floor","join","json","last","lstrip","map","minus","modulo","newline_to_br","plus","prepend","remove","remove_first","replace","replace_first","reverse","round","rstrip","size","slice","sort","sort_natural","split","strip","strip_html","strip_newlines","times","truncate","truncatewords","uniq","upcase","url_decode","url_encode","where"],constants:["true","false"],operators:["==","!=",">","<",">=","<="],symbol:/[=><!]+/,identifier:/[a-zA-Z_][\w]*/,tokenizer:{root:[[/\{\%\s*comment\s*\%\}/,"comment.start.liquid","@comment"],[/\{\{/,{token:"@rematch",switchTo:"@liquidState.root"}],[/\{\%/,{token:"@rematch",switchTo:"@liquidState.root"}],[/(<)([\w\-]+)(\/>)/,["delimiter.html","tag.html","delimiter.html"]],[/(<)([:\w]+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[/(<\/)([\w\-]+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[/</,"delimiter.html"],[/\{/,"delimiter.html"],[/[^<{]+/]],comment:[[/\{\%\s*endcomment\s*\%\}/,"comment.end.liquid","@pop"],[/./,"comment.content.liquid"]],otherTag:[[/\{\{/,{token:"@rematch",switchTo:"@liquidState.otherTag"}],[/\{\%/,{token:"@rematch",switchTo:"@liquidState.otherTag"}],[/\/?>/,"delimiter.html","@pop"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/]],liquidState:[[/\{\{/,"delimiter.output.liquid"],[/\}\}/,{token:"delimiter.output.liquid",switchTo:"@$S2.$S3"}],[/\{\%/,"delimiter.tag.liquid"],[/raw\s*\%\}/,"delimiter.tag.liquid","@liquidRaw"],[/\%\}/,{token:"delimiter.tag.liquid",switchTo:"@$S2.$S3"}],{include:"liquidRoot"}],liquidRaw:[[/^(?!\{\%\s*endraw\s*\%\}).+/],[/\{\%/,"delimiter.tag.liquid"],[/@identifier/],[/\%\}/,{token:"delimiter.tag.liquid",next:"@root"}]],liquidRoot:[[/\d+(\.\d+)?/,"number.liquid"],[/"[^"]*"/,"string.liquid"],[/'[^']*'/,"string.liquid"],[/\s+/],[/@symbol/,{cases:{"@operators":"operator.liquid","@default":""}}],[/\./],[/@identifier/,{cases:{"@constants":"keyword.liquid","@builtinFilters":"predefined.liquid","@builtinTags":"predefined.liquid","@default":"variable.liquid"}}],[/[^}|%]/,"variable.liquid"]]}};export{g as conf,b as language};
7
+ //# sourceMappingURL=liquid.233d5164.js.map
@@ -0,0 +1,2 @@
1
+ import{k as n}from"./router.c6e27700.js";import"./jwt-decode.esm.3348bca5.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]="d1f60275-12f6-4285-86ed-fd8820442259",r._sentryDebugIdIdentifier="sentry-dbid-d1f60275-12f6-4285-86ed-fd8820442259")}catch{}})();class s{async create(e){return n.post(`organizations/${e.organizationId}/members`,{email:e.email,folderIds:e.folderIds})}async delete(e){return n.delete(`organizations/${e.organizationId}/members/${e.authorId}`)}async list(e){return n.get(`organizations/${e}/members`)}async get(e,t){return n.get(`organizations/${e}/members/${t}`)}async update(e,t,a){return n.patch(`organizations/${e}/members/${t}`,a)}}export{s as M};
2
+ //# sourceMappingURL=member.d878cf3f.js.map
@@ -1,2 +1,2 @@
1
- import{d as g,at as s,c as h,o as r,ac as l,ae as p,h as f,ed as Z,e as o,i}from"./jwt-decode.esm.c9c37cdc.js";import{F as _,G as y,a as k,I as M}from"./PhWebhooksLogo.vue.e4752384.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]="0de90a22-3c91-4bf6-ab77-7a00d96597f7",e._sentryDebugIdIdentifier="sentry-dbid-0de90a22-3c91-4bf6-ab77-7a00d96597f7")}catch{}})();const $=["width","height","fill","transform"],A={key:0},b=o("path",{d:"M222.14,105.85l-80-80a20,20,0,0,0-28.28,0l-80,80A19.86,19.86,0,0,0,28,120v96a12,12,0,0,0,12,12h64a12,12,0,0,0,12-12V164h24v52a12,12,0,0,0,12,12h64a12,12,0,0,0,12-12V120A19.86,19.86,0,0,0,222.14,105.85ZM204,204H164V152a12,12,0,0,0-12-12H104a12,12,0,0,0-12,12v52H52V121.65l76-76,76,76Z"},null,-1),N=[b],B={key:1},I=o("path",{d:"M216,120v96H152V152H104v64H40V120a8,8,0,0,1,2.34-5.66l80-80a8,8,0,0,1,11.32,0l80,80A8,8,0,0,1,216,120Z",opacity:"0.2"},null,-1),S=o("path",{d:"M219.31,108.68l-80-80a16,16,0,0,0-22.62,0l-80,80A15.87,15.87,0,0,0,32,120v96a8,8,0,0,0,8,8h64a8,8,0,0,0,8-8V160h32v56a8,8,0,0,0,8,8h64a8,8,0,0,0,8-8V120A15.87,15.87,0,0,0,219.31,108.68ZM208,208H160V152a8,8,0,0,0-8-8H104a8,8,0,0,0-8,8v56H48V120l80-80,80,80Z"},null,-1),z=[I,S],x={key:2},P=o("path",{d:"M224,120v96a8,8,0,0,1-8,8H160a8,8,0,0,1-8-8V164a4,4,0,0,0-4-4H108a4,4,0,0,0-4,4v52a8,8,0,0,1-8,8H40a8,8,0,0,1-8-8V120a16,16,0,0,1,4.69-11.31l80-80a16,16,0,0,1,22.62,0l80,80A16,16,0,0,1,224,120Z"},null,-1),j=[P],C={key:3},D=o("path",{d:"M217.9,110.1l-80-80a14,14,0,0,0-19.8,0l-80,80A13.92,13.92,0,0,0,34,120v96a6,6,0,0,0,6,6h64a6,6,0,0,0,6-6V158h36v58a6,6,0,0,0,6,6h64a6,6,0,0,0,6-6V120A13.92,13.92,0,0,0,217.9,110.1ZM210,210H158V152a6,6,0,0,0-6-6H104a6,6,0,0,0-6,6v58H46V120a2,2,0,0,1,.58-1.42l80-80a2,2,0,0,1,2.84,0l80,80A2,2,0,0,1,210,120Z"},null,-1),E=[D],G={key:4},F=o("path",{d:"M219.31,108.68l-80-80a16,16,0,0,0-22.62,0l-80,80A15.87,15.87,0,0,0,32,120v96a8,8,0,0,0,8,8h64a8,8,0,0,0,8-8V160h32v56a8,8,0,0,0,8,8h64a8,8,0,0,0,8-8V120A15.87,15.87,0,0,0,219.31,108.68ZM208,208H160V152a8,8,0,0,0-8-8H104a8,8,0,0,0-8,8v56H48V120l80-80,80,80Z"},null,-1),q=[F],K={key:5},W=o("path",{d:"M216.49,111.51l-80-80a12,12,0,0,0-17,0l-80,80A12,12,0,0,0,36,120v96a4,4,0,0,0,4,4h64a4,4,0,0,0,4-4V156h40v60a4,4,0,0,0,4,4h64a4,4,0,0,0,4-4V120A12,12,0,0,0,216.49,111.51ZM212,212H156V152a4,4,0,0,0-4-4H104a4,4,0,0,0-4,4v60H44V120a4,4,0,0,1,1.17-2.83l80-80a4,4,0,0,1,5.66,0l80,80A4,4,0,0,1,212,120Z"},null,-1),J=[W],L={name:"PhHouse"},O=g({...L,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(e){const t=e,d=s("weight","regular"),v=s("size","1em"),V=s("color","currentColor"),m=s("mirrored",!1),n=h(()=>{var a;return(a=t.weight)!=null?a:d}),u=h(()=>{var a;return(a=t.size)!=null?a:v}),H=h(()=>{var a;return(a=t.color)!=null?a:V}),c=h(()=>t.mirrored!==void 0?t.mirrored?"scale(-1, 1)":void 0:m?"scale(-1, 1)":void 0);return(a,w)=>(r(),l("svg",Z({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:u.value,height:u.value,fill:H.value,transform:c.value},a.$attrs),[p(a.$slots,"default"),n.value==="bold"?(r(),l("g",A,N)):n.value==="duotone"?(r(),l("g",B,z)):n.value==="fill"?(r(),l("g",x,j)):n.value==="light"?(r(),l("g",C,E)):n.value==="regular"?(r(),l("g",G,q)):n.value==="thin"?(r(),l("g",K,J)):f("",!0)],16,$))}}),Q=["width","height","fill","transform"],R={key:0},U=o("path",{d:"M216,44H40A12,12,0,0,0,28,56V208a20,20,0,0,0,20,20H88a20,20,0,0,0,20-20V164h40v12a20,20,0,0,0,20,20h40a20,20,0,0,0,20-20V56A12,12,0,0,0,216,44Zm-12,64H172V68h32ZM84,68v40H52V68Zm0,136H52V132H84Zm24-64V68h40v72Zm64,32V132h32v40Z"},null,-1),X=[U],Y={key:1},T=o("path",{d:"M216,56v64H160V56ZM40,208a8,8,0,0,0,8,8H88a8,8,0,0,0,8-8V120H40Z",opacity:"0.2"},null,-1),a0=o("path",{d:"M216,48H40a8,8,0,0,0-8,8V208a16,16,0,0,0,16,16H88a16,16,0,0,0,16-16V160h48v16a16,16,0,0,0,16,16h40a16,16,0,0,0,16-16V56A8,8,0,0,0,216,48Zm-8,64H168V64h40ZM88,64v48H48V64Zm0,144H48V128H88Zm16-64V64h48v80Zm64,32V128h40v48Z"},null,-1),e0=[T,a0],t0={key:2},r0=o("path",{d:"M160,56v96a8,8,0,0,1-8,8H112a8,8,0,0,1-8-8V56a8,8,0,0,1,8-8h40A8,8,0,0,1,160,56Zm64-8H184a8,8,0,0,0-8,8v52a4,4,0,0,0,4,4h48a4,4,0,0,0,4-4V56A8,8,0,0,0,224,48Zm4,80H180a4,4,0,0,0-4,4v44a16,16,0,0,0,16,16h24a16,16,0,0,0,16-16V132A4,4,0,0,0,228,128ZM80,48H40a8,8,0,0,0-8,8v52a4,4,0,0,0,4,4H84a4,4,0,0,0,4-4V56A8,8,0,0,0,80,48Zm4,80H36a4,4,0,0,0-4,4v76a16,16,0,0,0,16,16H72a16,16,0,0,0,16-16V132A4,4,0,0,0,84,128Z"},null,-1),l0=[r0],o0={key:3},n0=o("path",{d:"M216,50H40a6,6,0,0,0-6,6V208a14,14,0,0,0,14,14H88a14,14,0,0,0,14-14V158h52v18a14,14,0,0,0,14,14h40a14,14,0,0,0,14-14V56A6,6,0,0,0,216,50Zm-6,64H166V62h44ZM90,62v52H46V62Zm0,146a2,2,0,0,1-2,2H48a2,2,0,0,1-2-2V126H90Zm12-62V62h52v84Zm106,32H168a2,2,0,0,1-2-2V126h44v50A2,2,0,0,1,208,178Z"},null,-1),i0=[n0],s0={key:4},h0=o("path",{d:"M216,48H40a8,8,0,0,0-8,8V208a16,16,0,0,0,16,16H88a16,16,0,0,0,16-16V160h48v16a16,16,0,0,0,16,16h40a16,16,0,0,0,16-16V56A8,8,0,0,0,216,48ZM88,208H48V128H88Zm0-96H48V64H88Zm64,32H104V64h48Zm56,32H168V128h40Zm0-64H168V64h40Z"},null,-1),d0=[h0],u0={key:5},v0=o("path",{d:"M216,52H40a4,4,0,0,0-4,4V208a12,12,0,0,0,12,12H88a12,12,0,0,0,12-12V156h56v20a12,12,0,0,0,12,12h40a12,12,0,0,0,12-12V56A4,4,0,0,0,216,52ZM92,208a4,4,0,0,1-4,4H48a4,4,0,0,1-4-4V124H92Zm0-92H44V60H92Zm64,32H100V60h56Zm56,28a4,4,0,0,1-4,4H168a4,4,0,0,1-4-4V124h48Zm0-60H164V60h48Z"},null,-1),V0=[v0],m0={name:"PhKanban"},H0=g({...m0,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(e){const t=e,d=s("weight","regular"),v=s("size","1em"),V=s("color","currentColor"),m=s("mirrored",!1),n=h(()=>{var a;return(a=t.weight)!=null?a:d}),u=h(()=>{var a;return(a=t.size)!=null?a:v}),H=h(()=>{var a;return(a=t.color)!=null?a:V}),c=h(()=>t.mirrored!==void 0?t.mirrored?"scale(-1, 1)":void 0:m?"scale(-1, 1)":void 0);return(a,w)=>(r(),l("svg",Z({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:u.value,height:u.value,fill:H.value,transform:c.value},a.$attrs),[p(a.$slots,"default"),n.value==="bold"?(r(),l("g",R,X)):n.value==="duotone"?(r(),l("g",Y,e0)):n.value==="fill"?(r(),l("g",t0,l0)):n.value==="light"?(r(),l("g",o0,i0)):n.value==="regular"?(r(),l("g",s0,d0)):n.value==="thin"?(r(),l("g",u0,V0)):f("",!0)],16,Q))}}),c0={stages:[{icon:_,typeName:"forms",get description(){return i.translate("i18n_workflow_metadata_forms_description")},key:"F",get title(){return i.translate("i18n_workflow_metadata_forms_title")}},{typeName:"hooks",get title(){return i.translate("i18n_workflow_metadata_hooks_title")},icon:y,get description(){return i.translate("i18n_workflow_metadata_hooks_description")},key:"H"},{typeName:"jobs",get title(){return i.translate("i18n_workflow_metadata_jobs_title")},icon:k,get description(){return i.translate("i18n_workflow_metadata_jobs_description")},key:"J"},{typeName:"scripts",get title(){return i.translate("i18n_workflow_metadata_tasklets_title")},icon:M,get description(){return i.translate("i18n_workflow_metadata_scripts_description")},key:"T"}]};function g0(e){e==="tasklet"&&(e="script");const t=c0.stages.find(d=>d.typeName===e||d.typeName===`${e}s`);if(!t)throw new Error(`No metadata found for stage ${e}`);return t.icon}const Z0=e=>e==="kanban"?H0:e==="home"?O:g0(e);export{Z0 as i,g0 as s,c0 as w};
2
- //# sourceMappingURL=metadata.e627ddda.js.map
1
+ import{d as g,at as s,c as h,o as r,ac as l,ae as f,h as p,ed as Z,e as o,i}from"./jwt-decode.esm.3348bca5.js";import{F as _,G as y,a as k,I as M}from"./PhWebhooksLogo.vue.58a98824.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]="0f126ecc-dc2f-4575-9158-f78fd8c4c968",e._sentryDebugIdIdentifier="sentry-dbid-0f126ecc-dc2f-4575-9158-f78fd8c4c968")}catch{}})();const $=["width","height","fill","transform"],A={key:0},b=o("path",{d:"M222.14,105.85l-80-80a20,20,0,0,0-28.28,0l-80,80A19.86,19.86,0,0,0,28,120v96a12,12,0,0,0,12,12h64a12,12,0,0,0,12-12V164h24v52a12,12,0,0,0,12,12h64a12,12,0,0,0,12-12V120A19.86,19.86,0,0,0,222.14,105.85ZM204,204H164V152a12,12,0,0,0-12-12H104a12,12,0,0,0-12,12v52H52V121.65l76-76,76,76Z"},null,-1),N=[b],B={key:1},I=o("path",{d:"M216,120v96H152V152H104v64H40V120a8,8,0,0,1,2.34-5.66l80-80a8,8,0,0,1,11.32,0l80,80A8,8,0,0,1,216,120Z",opacity:"0.2"},null,-1),S=o("path",{d:"M219.31,108.68l-80-80a16,16,0,0,0-22.62,0l-80,80A15.87,15.87,0,0,0,32,120v96a8,8,0,0,0,8,8h64a8,8,0,0,0,8-8V160h32v56a8,8,0,0,0,8,8h64a8,8,0,0,0,8-8V120A15.87,15.87,0,0,0,219.31,108.68ZM208,208H160V152a8,8,0,0,0-8-8H104a8,8,0,0,0-8,8v56H48V120l80-80,80,80Z"},null,-1),z=[I,S],x={key:2},P=o("path",{d:"M224,120v96a8,8,0,0,1-8,8H160a8,8,0,0,1-8-8V164a4,4,0,0,0-4-4H108a4,4,0,0,0-4,4v52a8,8,0,0,1-8,8H40a8,8,0,0,1-8-8V120a16,16,0,0,1,4.69-11.31l80-80a16,16,0,0,1,22.62,0l80,80A16,16,0,0,1,224,120Z"},null,-1),j=[P],C={key:3},D=o("path",{d:"M217.9,110.1l-80-80a14,14,0,0,0-19.8,0l-80,80A13.92,13.92,0,0,0,34,120v96a6,6,0,0,0,6,6h64a6,6,0,0,0,6-6V158h36v58a6,6,0,0,0,6,6h64a6,6,0,0,0,6-6V120A13.92,13.92,0,0,0,217.9,110.1ZM210,210H158V152a6,6,0,0,0-6-6H104a6,6,0,0,0-6,6v58H46V120a2,2,0,0,1,.58-1.42l80-80a2,2,0,0,1,2.84,0l80,80A2,2,0,0,1,210,120Z"},null,-1),E=[D],G={key:4},F=o("path",{d:"M219.31,108.68l-80-80a16,16,0,0,0-22.62,0l-80,80A15.87,15.87,0,0,0,32,120v96a8,8,0,0,0,8,8h64a8,8,0,0,0,8-8V160h32v56a8,8,0,0,0,8,8h64a8,8,0,0,0,8-8V120A15.87,15.87,0,0,0,219.31,108.68ZM208,208H160V152a8,8,0,0,0-8-8H104a8,8,0,0,0-8,8v56H48V120l80-80,80,80Z"},null,-1),q=[F],K={key:5},W=o("path",{d:"M216.49,111.51l-80-80a12,12,0,0,0-17,0l-80,80A12,12,0,0,0,36,120v96a4,4,0,0,0,4,4h64a4,4,0,0,0,4-4V156h40v60a4,4,0,0,0,4,4h64a4,4,0,0,0,4-4V120A12,12,0,0,0,216.49,111.51ZM212,212H156V152a4,4,0,0,0-4-4H104a4,4,0,0,0-4,4v60H44V120a4,4,0,0,1,1.17-2.83l80-80a4,4,0,0,1,5.66,0l80,80A4,4,0,0,1,212,120Z"},null,-1),J=[W],L={name:"PhHouse"},O=g({...L,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(e){const t=e,d=s("weight","regular"),v=s("size","1em"),V=s("color","currentColor"),m=s("mirrored",!1),n=h(()=>{var a;return(a=t.weight)!=null?a:d}),u=h(()=>{var a;return(a=t.size)!=null?a:v}),H=h(()=>{var a;return(a=t.color)!=null?a:V}),c=h(()=>t.mirrored!==void 0?t.mirrored?"scale(-1, 1)":void 0:m?"scale(-1, 1)":void 0);return(a,w)=>(r(),l("svg",Z({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:u.value,height:u.value,fill:H.value,transform:c.value},a.$attrs),[f(a.$slots,"default"),n.value==="bold"?(r(),l("g",A,N)):n.value==="duotone"?(r(),l("g",B,z)):n.value==="fill"?(r(),l("g",x,j)):n.value==="light"?(r(),l("g",C,E)):n.value==="regular"?(r(),l("g",G,q)):n.value==="thin"?(r(),l("g",K,J)):p("",!0)],16,$))}}),Q=["width","height","fill","transform"],R={key:0},U=o("path",{d:"M216,44H40A12,12,0,0,0,28,56V208a20,20,0,0,0,20,20H88a20,20,0,0,0,20-20V164h40v12a20,20,0,0,0,20,20h40a20,20,0,0,0,20-20V56A12,12,0,0,0,216,44Zm-12,64H172V68h32ZM84,68v40H52V68Zm0,136H52V132H84Zm24-64V68h40v72Zm64,32V132h32v40Z"},null,-1),X=[U],Y={key:1},T=o("path",{d:"M216,56v64H160V56ZM40,208a8,8,0,0,0,8,8H88a8,8,0,0,0,8-8V120H40Z",opacity:"0.2"},null,-1),a0=o("path",{d:"M216,48H40a8,8,0,0,0-8,8V208a16,16,0,0,0,16,16H88a16,16,0,0,0,16-16V160h48v16a16,16,0,0,0,16,16h40a16,16,0,0,0,16-16V56A8,8,0,0,0,216,48Zm-8,64H168V64h40ZM88,64v48H48V64Zm0,144H48V128H88Zm16-64V64h48v80Zm64,32V128h40v48Z"},null,-1),e0=[T,a0],t0={key:2},r0=o("path",{d:"M160,56v96a8,8,0,0,1-8,8H112a8,8,0,0,1-8-8V56a8,8,0,0,1,8-8h40A8,8,0,0,1,160,56Zm64-8H184a8,8,0,0,0-8,8v52a4,4,0,0,0,4,4h48a4,4,0,0,0,4-4V56A8,8,0,0,0,224,48Zm4,80H180a4,4,0,0,0-4,4v44a16,16,0,0,0,16,16h24a16,16,0,0,0,16-16V132A4,4,0,0,0,228,128ZM80,48H40a8,8,0,0,0-8,8v52a4,4,0,0,0,4,4H84a4,4,0,0,0,4-4V56A8,8,0,0,0,80,48Zm4,80H36a4,4,0,0,0-4,4v76a16,16,0,0,0,16,16H72a16,16,0,0,0,16-16V132A4,4,0,0,0,84,128Z"},null,-1),l0=[r0],o0={key:3},n0=o("path",{d:"M216,50H40a6,6,0,0,0-6,6V208a14,14,0,0,0,14,14H88a14,14,0,0,0,14-14V158h52v18a14,14,0,0,0,14,14h40a14,14,0,0,0,14-14V56A6,6,0,0,0,216,50Zm-6,64H166V62h44ZM90,62v52H46V62Zm0,146a2,2,0,0,1-2,2H48a2,2,0,0,1-2-2V126H90Zm12-62V62h52v84Zm106,32H168a2,2,0,0,1-2-2V126h44v50A2,2,0,0,1,208,178Z"},null,-1),i0=[n0],s0={key:4},h0=o("path",{d:"M216,48H40a8,8,0,0,0-8,8V208a16,16,0,0,0,16,16H88a16,16,0,0,0,16-16V160h48v16a16,16,0,0,0,16,16h40a16,16,0,0,0,16-16V56A8,8,0,0,0,216,48ZM88,208H48V128H88Zm0-96H48V64H88Zm64,32H104V64h48Zm56,32H168V128h40Zm0-64H168V64h40Z"},null,-1),d0=[h0],u0={key:5},v0=o("path",{d:"M216,52H40a4,4,0,0,0-4,4V208a12,12,0,0,0,12,12H88a12,12,0,0,0,12-12V156h56v20a12,12,0,0,0,12,12h40a12,12,0,0,0,12-12V56A4,4,0,0,0,216,52ZM92,208a4,4,0,0,1-4,4H48a4,4,0,0,1-4-4V124H92Zm0-92H44V60H92Zm64,32H100V60h56Zm56,28a4,4,0,0,1-4,4H168a4,4,0,0,1-4-4V124h48Zm0-60H164V60h48Z"},null,-1),V0=[v0],m0={name:"PhKanban"},H0=g({...m0,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(e){const t=e,d=s("weight","regular"),v=s("size","1em"),V=s("color","currentColor"),m=s("mirrored",!1),n=h(()=>{var a;return(a=t.weight)!=null?a:d}),u=h(()=>{var a;return(a=t.size)!=null?a:v}),H=h(()=>{var a;return(a=t.color)!=null?a:V}),c=h(()=>t.mirrored!==void 0?t.mirrored?"scale(-1, 1)":void 0:m?"scale(-1, 1)":void 0);return(a,w)=>(r(),l("svg",Z({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:u.value,height:u.value,fill:H.value,transform:c.value},a.$attrs),[f(a.$slots,"default"),n.value==="bold"?(r(),l("g",R,X)):n.value==="duotone"?(r(),l("g",Y,e0)):n.value==="fill"?(r(),l("g",t0,l0)):n.value==="light"?(r(),l("g",o0,i0)):n.value==="regular"?(r(),l("g",s0,d0)):n.value==="thin"?(r(),l("g",u0,V0)):p("",!0)],16,Q))}}),c0={stages:[{icon:_,typeName:"forms",get description(){return i.translate("i18n_workflow_metadata_forms_description")},key:"F",get title(){return i.translate("i18n_workflow_metadata_forms_title")}},{typeName:"hooks",get title(){return i.translate("i18n_workflow_metadata_hooks_title")},icon:y,get description(){return i.translate("i18n_workflow_metadata_hooks_description")},key:"H"},{typeName:"jobs",get title(){return i.translate("i18n_workflow_metadata_jobs_title")},icon:k,get description(){return i.translate("i18n_workflow_metadata_jobs_description")},key:"J"},{typeName:"scripts",get title(){return i.translate("i18n_workflow_metadata_tasklets_title")},icon:M,get description(){return i.translate("i18n_workflow_metadata_scripts_description")},key:"T"}]};function g0(e){e==="tasklet"&&(e="script");const t=c0.stages.find(d=>d.typeName===e||d.typeName===`${e}s`);if(!t)throw new Error(`No metadata found for stage ${e}`);return t.icon}const Z0=e=>e==="kanban"?H0:e==="home"?O:g0(e);export{Z0 as i,g0 as s,c0 as w};
2
+ //# sourceMappingURL=metadata.9f7495db.js.map
@@ -1,4 +1,4 @@
1
- var z=Object.defineProperty;var V=(a,e,t)=>e in a?z(a,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):a[e]=t;var r=(a,e,t)=>(V(a,typeof e!="symbol"?e+"":e,t),t);import{k as S}from"./router.a8616541.js";import{d as P,at as x,c as w,o as p,ac as m,ae as W,h as G,ed as Q,e as _,r as c,i as L,a as A,b as N,g as X,t as Y,u as T,b0 as K,_ as ee,f as te,eN as se,Q as re,al as ie,v as oe,$ as O}from"./jwt-decode.esm.c9c37cdc.js";import{P as ae}from"./record.a33d29b1.js";import{u as b}from"./uuid.8581bc03.js";import{I as ne}from"./PhCopySimple.vue.0241af8c.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]="635f0874-8752-4854-a1b7-78806c673b37",a._sentryDebugIdIdentifier="sentry-dbid-635f0874-8752-4854-a1b7-78806c673b37")}catch{}})();const le=["width","height","fill","transform"],ce={key:0},he=_("path",{d:"M176.49,95.51a12,12,0,0,1,0,17l-56,56a12,12,0,0,1-17,0l-24-24a12,12,0,1,1,17-17L112,143l47.51-47.52A12,12,0,0,1,176.49,95.51ZM236,128A108,108,0,1,1,128,20,108.12,108.12,0,0,1,236,128Zm-24,0a84,84,0,1,0-84,84A84.09,84.09,0,0,0,212,128Z"},null,-1),de=[he],ue={key:1},ge=_("path",{d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"},null,-1),fe=_("path",{d:"M173.66,98.34a8,8,0,0,1,0,11.32l-56,56a8,8,0,0,1-11.32,0l-24-24a8,8,0,0,1,11.32-11.32L112,148.69l50.34-50.35A8,8,0,0,1,173.66,98.34ZM232,128A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128Z"},null,-1),pe=[ge,fe],ye={key:2},ve=_("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm45.66,85.66-56,56a8,8,0,0,1-11.32,0l-24-24a8,8,0,0,1,11.32-11.32L112,148.69l50.34-50.35a8,8,0,0,1,11.32,11.32Z"},null,-1),_e=[ve],me={key:3},we=_("path",{d:"M172.24,99.76a6,6,0,0,1,0,8.48l-56,56a6,6,0,0,1-8.48,0l-24-24a6,6,0,0,1,8.48-8.48L112,151.51l51.76-51.75A6,6,0,0,1,172.24,99.76ZM230,128A102,102,0,1,1,128,26,102.12,102.12,0,0,1,230,128Zm-12,0a90,90,0,1,0-90,90A90.1,90.1,0,0,0,218,128Z"},null,-1),be=[we],Ce={key:4},Se=_("path",{d:"M173.66,98.34a8,8,0,0,1,0,11.32l-56,56a8,8,0,0,1-11.32,0l-24-24a8,8,0,0,1,11.32-11.32L112,148.69l50.34-50.35A8,8,0,0,1,173.66,98.34ZM232,128A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128Z"},null,-1),xe=[Se],Ie={key:5},Ae=_("path",{d:"M170.83,101.17a4,4,0,0,1,0,5.66l-56,56a4,4,0,0,1-5.66,0l-24-24a4,4,0,0,1,5.66-5.66L112,154.34l53.17-53.17A4,4,0,0,1,170.83,101.17ZM228,128A100,100,0,1,1,128,28,100.11,100.11,0,0,1,228,128Zm-8,0a92,92,0,1,0-92,92A92.1,92.1,0,0,0,220,128Z"},null,-1),Te=[Ae],Ee={name:"PhCheckCircle"},Fe=P({...Ee,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(a){const e=a,t=x("weight","regular"),s=x("size","1em"),i=x("color","currentColor"),u=x("mirrored",!1),l=w(()=>{var n;return(n=e.weight)!=null?n:t}),h=w(()=>{var n;return(n=e.size)!=null?n:s}),d=w(()=>{var n;return(n=e.color)!=null?n:i}),g=w(()=>e.mirrored!==void 0?e.mirrored?"scale(-1, 1)":void 0:u?"scale(-1, 1)":void 0);return(n,f)=>(p(),m("svg",Q({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:h.value,height:h.value,fill:d.value,transform:g.value},n.$attrs),[W(n.$slots,"default"),l.value==="bold"?(p(),m("g",ce,de)):l.value==="duotone"?(p(),m("g",ue,pe)):l.value==="fill"?(p(),m("g",ye,_e)):l.value==="light"?(p(),m("g",me,be)):l.value==="regular"?(p(),m("g",Ce,xe)):l.value==="thin"?(p(),m("g",Ie,Te)):G("",!0)],16,le))}});class Z{constructor(e,t){r(this,"staging");this.flag=e,this.acc=t,this.staging=""}}class Me extends Z{constructor(){super("___JSON_MODE___",[])}reduceChar(e){try{this.staging+=e;const t=JSON.parse(this.staging);return this.acc.push(t),this.staging="",t}catch{return}}reduce(e){const t=[];for(const s of e){const i=this.reduceChar(s);i!==void 0&&t.push(i)}return t}}class ke extends Z{constructor(){super("___TEXT_MODE___","")}reduce(e){return this.staging+=e,this.acc=this.staging,e}}class R{constructor(){r(this,"mode");r(this,"modes",[new ke,new Me]);r(this,"staging","");r(this,"chunkOnBuffer","");r(this,"flagMap");r(this,"flagPrefixes");this.mode=this.modes[0],this.flagMap=new Map,this.flagPrefixes=new Set;for(const e of this.modes){this.flagMap.set(e.flag,e);for(let t=1;t<e.flag.length;t++)this.flagPrefixes.add(e.flag.slice(0,t))}}*reduce(e){for(const t of e){if(this.staging+=t,this.flagMap.has(this.staging)){this.mode=this.flagMap.get(this.staging),this.staging="";continue}if(!this.flagPrefixes.has(this.staging))for(;this.staging.length>0;){const s=this.staging[0];this.staging=this.staging.slice(1);const i=this.mode.reduce(s);if(i!==void 0&&(Array.isArray(i)?yield*i:yield i),this.flagPrefixes.has(this.staging))break}}}*reduceInChunks(e,t){let s="";for(const i of this.reduce(t))if(typeof i=="string")for(s+=i;s.length>=e;)yield s.slice(0,e),s=s.slice(e);else s.length>0&&(yield s,s=""),yield i;s.length>0&&(yield s)}}const j=300;class $e{constructor(){r(this,"_baseUrl","/_editor/api/ai");r(this,"_headers",{"Content-Type":"application/json"})}async*sendMessage(e,t,s,i,u){var n;const l={conversationId:e,content:t,context:s,humanApproval:u},h=await fetch(`${this._baseUrl}/stream`,{method:"POST",headers:this._headers,body:JSON.stringify(l)});if(!h.ok)throw new Error("Failed to send message");const d=(n=h.body)==null?void 0:n.getReader();if(!d)throw new Error("No response body");const g=new R;for(;!i();){const f=await d.read();if(f.done)break;for(const y of g.reduceInChunks(j,new TextDecoder().decode(f.value)))yield y}}async deleteThread(e){if(!(await fetch(`${this._baseUrl}/thread/${e}`,{method:"DELETE",headers:this._headers})).ok)throw new Error("Failed to delete thread")}async abortStreaming(e){if(!(await fetch(`${this._baseUrl}/abort`,{method:"POST",headers:this._headers,body:JSON.stringify({langGraphThreadId:e})})).ok)throw new Error("Failed to abort streaming")}async getHistory(e,t){const s=await fetch(`${this._baseUrl}/history?limit=${e}&offset=${t}`,{method:"GET"});if(!s.ok)throw new Error("Failed to fetch history");return await s.json()}startConversation(){return new Promise((e,t)=>{fetch(`${this._baseUrl}/start-conversation`,{method:"POST",headers:this._headers}).then(s=>{if(!s.ok)throw new Error("Failed to start conversation");return s.json()}).then(s=>e(s)).catch(s=>t(s))})}}class He{constructor(e){r(this,"projectId");r(this,"baseUrl");this.projectId=e,this.baseUrl=`projects/${e}`}startConversation(){throw new Error("Method not implemented.")}async*sendMessage(e,t,s,i,u){var n;const l={conversationId:e,content:t,context:s,humanApproval:u},d=(n=(await S.postRaw(`${this.baseUrl}/messages`,l)).body)==null?void 0:n.getReader();if(!d)throw new Error("No response body");const g=new R;for(;!i();){const f=await d.read();if(f.done)break;for(const y of g.reduceInChunks(j,new TextDecoder().decode(f.value)))yield y}}async abortStreaming(e){await S.post(`${this.baseUrl}/abort`,{langGraphThreadId:e})}async getHistory(e,t){const s={limit:`${e}`,offset:`${t}`};return await S.get(`${this.baseUrl}/history`,s)}async deleteThread(e){await S.delete(`${this.baseUrl}/threads/${e}`)}}const Le=P({__name:"CopyButton",props:{textToCopy:{}},setup(a){const e=a,t=c(!1),s=()=>{navigator.clipboard.writeText(e.textToCopy),t.value=!0,setTimeout(()=>t.value=!1,2e3)},i=w(()=>t.value?L.translate("i18n_copybutton_copied"):L.translate("i18n_copybutton_copy_to_clipboard"));return(u,l)=>(p(),A(T(K),null,{title:N(()=>[X(Y(i.value),1)]),default:N(()=>[_("div",{class:"copy-button",onClick:s},[t.value?(p(),A(T(Fe),{key:1,color:"#fff",size:"22"})):(p(),A(T(ne),{key:0,color:"#fff",size:"22"}))])]),_:1}))}});const Ne=ee(Le,[["__scopeId","data-v-95878e02"]]);class B{constructor(e,t){r(this,"_repository");r(this,"conversationId");r(this,"_input");r(this,"_attachments");r(this,"_badgeState");r(this,"_smartChatState");r(this,"_logService");r(this,"_hasError",c(null));r(this,"_isLoadingHistory",c(!1));r(this,"_history",c([]));r(this,"_threadHistoryFetchInfo",c({limit:10,offset:0,done:!1}));r(this,"_executingFormFile",c(null));r(this,"_recentlyAccessedThreads",c([]));r(this,"loadingAbort",c(!1));r(this,"codeForApproval",c(null));r(this,"setupThread",async()=>{this.conversationId.value=`abstra-assistant-thread-${b()}`,this._recentlyAccessedThreads.value.unshift({id:this.conversationId.value,messages:[],createdAt:new Date().toISOString()})});r(this,"fetchHistory",async()=>{this._isLoadingHistory.value=!0;const e=await this._repository.getHistory(this._threadHistoryFetchInfo.value.limit,this._threadHistoryFetchInfo.value.offset);this._history.value=e,this._isLoadingHistory.value=!1});r(this,"loadMoreHistory",async()=>{this._isLoadingHistory.value=!0,this._threadHistoryFetchInfo.value.offset+=this._threadHistoryFetchInfo.value.limit;const e=await this._repository.getHistory(this._threadHistoryFetchInfo.value.limit,this._threadHistoryFetchInfo.value.offset);e.length<this._threadHistoryFetchInfo.value.limit&&(this._threadHistoryFetchInfo.value.done=!0);const t=[...this._history.value,...e];this._history.value=t,this._isLoadingHistory.value=!1});r(this,"setError",e=>{this._hasError.value=e});r(this,"setExecutingFormFile",e=>{this._executingFormFile.value=e});r(this,"_fillChat",e=>{this._logService.clear();for(const t of e)if(t.toolTitle)this._logService.log({type:"ai-tool-approval",toolCallId:t.toolCallId,description:t.toolTitle,args:{},disabled:!1,needsApproval:!1,loading:!1}),this._logService.log({type:"ai-tool-call-response",toolCallId:t.toolCallId,response:this.extractTextContent(t.content)});else{const s=this.extractAttachmentsFromContent(t.content);s.length>0&&t.role==="user"?this._logService.log({type:"ai-input",log:this.extractTextContent(t.content),attachments:s}):this._logService.log({type:t.role==="user"?"ai-input":"ai-output",log:this.extractTextContent(t.content)})}this.renderCopyButtons()});r(this,"moveThreadFromHistoryToRecents",e=>{this.conversationId.value=e;const t=this._history.value.find(i=>i.id===e);if(!t)throw new Error(`Thread ${e} not found`);const s=this._recentlyAccessedThreads.value.findIndex(i=>i.id===e);s!==-1&&this._recentlyAccessedThreads.value.splice(s,1),this._recentlyAccessedThreads.value.unshift(t),this._fillChat(t.messages)});r(this,"deleteThread",e=>{this._repository.deleteThread(e),this.removeFromRecentlyAccessedThreads(e);const t=this._history.value.findIndex(s=>s.id===e);t!==-1&&this._history.value.splice(t,1)});r(this,"setCurrentThreadFromRecents",e=>{this.conversationId.value=e;const t=this._recentlyAccessedThreads.value.findIndex(i=>i.id===e);if(t===-1)throw new Error(`Thread ${e} not found`);const[s]=this._recentlyAccessedThreads.value.splice(t,1);this._recentlyAccessedThreads.value.unshift(s),this._fillChat(s.messages)});r(this,"removeFromRecentlyAccessedThreads",e=>{const t=this._recentlyAccessedThreads.value.findIndex(s=>s.id===e);if(t===-1)throw new Error(`Thread ${e} not found`);if(this._recentlyAccessedThreads.value.splice(t,1),this._logService.clear(),this._recentlyAccessedThreads.value.length===0)this.conversationId.value=null;else{const s=this._recentlyAccessedThreads.value[0];this.conversationId.value=s.id,this._fillChat(s.messages)}});r(this,"renderCopyButtons",()=>{document.querySelectorAll("pre").forEach(t=>{t.style.position="relative";const s=te(Ne,{textToCopy:t.textContent});se(s,t)})});r(this,"clearLogService",()=>{this._logService.clear()});r(this,"extractTextContent",e=>typeof e=="string"?e:Array.isArray(e)?e.filter(t=>t.type==="text"&&t.text).map(t=>t.text).join(`
1
+ var z=Object.defineProperty;var V=(a,e,t)=>e in a?z(a,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):a[e]=t;var r=(a,e,t)=>(V(a,typeof e!="symbol"?e+"":e,t),t);import{k as S}from"./router.c6e27700.js";import{d as P,at as x,c as w,o as p,ac as m,ae as W,h as G,ed as Q,e as _,r as c,i as L,a as A,b as N,g as X,t as Y,u as T,b0 as K,_ as ee,f as te,eN as se,Q as re,al as ie,v as oe,$ as O}from"./jwt-decode.esm.3348bca5.js";import{P as ae}from"./record.a108da5a.js";import{u as b}from"./uuid.6980e2bb.js";import{I as ne}from"./PhCopySimple.vue.369eb629.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]="e953dbc7-22b5-47b9-a9a1-21be6d4f8c56",a._sentryDebugIdIdentifier="sentry-dbid-e953dbc7-22b5-47b9-a9a1-21be6d4f8c56")}catch{}})();const le=["width","height","fill","transform"],ce={key:0},he=_("path",{d:"M176.49,95.51a12,12,0,0,1,0,17l-56,56a12,12,0,0,1-17,0l-24-24a12,12,0,1,1,17-17L112,143l47.51-47.52A12,12,0,0,1,176.49,95.51ZM236,128A108,108,0,1,1,128,20,108.12,108.12,0,0,1,236,128Zm-24,0a84,84,0,1,0-84,84A84.09,84.09,0,0,0,212,128Z"},null,-1),de=[he],ue={key:1},ge=_("path",{d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"},null,-1),fe=_("path",{d:"M173.66,98.34a8,8,0,0,1,0,11.32l-56,56a8,8,0,0,1-11.32,0l-24-24a8,8,0,0,1,11.32-11.32L112,148.69l50.34-50.35A8,8,0,0,1,173.66,98.34ZM232,128A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128Z"},null,-1),pe=[ge,fe],ye={key:2},ve=_("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm45.66,85.66-56,56a8,8,0,0,1-11.32,0l-24-24a8,8,0,0,1,11.32-11.32L112,148.69l50.34-50.35a8,8,0,0,1,11.32,11.32Z"},null,-1),_e=[ve],me={key:3},we=_("path",{d:"M172.24,99.76a6,6,0,0,1,0,8.48l-56,56a6,6,0,0,1-8.48,0l-24-24a6,6,0,0,1,8.48-8.48L112,151.51l51.76-51.75A6,6,0,0,1,172.24,99.76ZM230,128A102,102,0,1,1,128,26,102.12,102.12,0,0,1,230,128Zm-12,0a90,90,0,1,0-90,90A90.1,90.1,0,0,0,218,128Z"},null,-1),be=[we],Ce={key:4},Se=_("path",{d:"M173.66,98.34a8,8,0,0,1,0,11.32l-56,56a8,8,0,0,1-11.32,0l-24-24a8,8,0,0,1,11.32-11.32L112,148.69l50.34-50.35A8,8,0,0,1,173.66,98.34ZM232,128A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128Z"},null,-1),xe=[Se],Ie={key:5},Ae=_("path",{d:"M170.83,101.17a4,4,0,0,1,0,5.66l-56,56a4,4,0,0,1-5.66,0l-24-24a4,4,0,0,1,5.66-5.66L112,154.34l53.17-53.17A4,4,0,0,1,170.83,101.17ZM228,128A100,100,0,1,1,128,28,100.11,100.11,0,0,1,228,128Zm-8,0a92,92,0,1,0-92,92A92.1,92.1,0,0,0,220,128Z"},null,-1),Te=[Ae],Ee={name:"PhCheckCircle"},Fe=P({...Ee,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(a){const e=a,t=x("weight","regular"),s=x("size","1em"),i=x("color","currentColor"),u=x("mirrored",!1),l=w(()=>{var n;return(n=e.weight)!=null?n:t}),h=w(()=>{var n;return(n=e.size)!=null?n:s}),d=w(()=>{var n;return(n=e.color)!=null?n:i}),g=w(()=>e.mirrored!==void 0?e.mirrored?"scale(-1, 1)":void 0:u?"scale(-1, 1)":void 0);return(n,f)=>(p(),m("svg",Q({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:h.value,height:h.value,fill:d.value,transform:g.value},n.$attrs),[W(n.$slots,"default"),l.value==="bold"?(p(),m("g",ce,de)):l.value==="duotone"?(p(),m("g",ue,pe)):l.value==="fill"?(p(),m("g",ye,_e)):l.value==="light"?(p(),m("g",me,be)):l.value==="regular"?(p(),m("g",Ce,xe)):l.value==="thin"?(p(),m("g",Ie,Te)):G("",!0)],16,le))}});class Z{constructor(e,t){r(this,"staging");this.flag=e,this.acc=t,this.staging=""}}class Me extends Z{constructor(){super("___JSON_MODE___",[])}reduceChar(e){try{this.staging+=e;const t=JSON.parse(this.staging);return this.acc.push(t),this.staging="",t}catch{return}}reduce(e){const t=[];for(const s of e){const i=this.reduceChar(s);i!==void 0&&t.push(i)}return t}}class ke extends Z{constructor(){super("___TEXT_MODE___","")}reduce(e){return this.staging+=e,this.acc=this.staging,e}}class R{constructor(){r(this,"mode");r(this,"modes",[new ke,new Me]);r(this,"staging","");r(this,"chunkOnBuffer","");r(this,"flagMap");r(this,"flagPrefixes");this.mode=this.modes[0],this.flagMap=new Map,this.flagPrefixes=new Set;for(const e of this.modes){this.flagMap.set(e.flag,e);for(let t=1;t<e.flag.length;t++)this.flagPrefixes.add(e.flag.slice(0,t))}}*reduce(e){for(const t of e){if(this.staging+=t,this.flagMap.has(this.staging)){this.mode=this.flagMap.get(this.staging),this.staging="";continue}if(!this.flagPrefixes.has(this.staging))for(;this.staging.length>0;){const s=this.staging[0];this.staging=this.staging.slice(1);const i=this.mode.reduce(s);if(i!==void 0&&(Array.isArray(i)?yield*i:yield i),this.flagPrefixes.has(this.staging))break}}}*reduceInChunks(e,t){let s="";for(const i of this.reduce(t))if(typeof i=="string")for(s+=i;s.length>=e;)yield s.slice(0,e),s=s.slice(e);else s.length>0&&(yield s,s=""),yield i;s.length>0&&(yield s)}}const j=300;class $e{constructor(){r(this,"_baseUrl","/_editor/api/ai");r(this,"_headers",{"Content-Type":"application/json"})}async*sendMessage(e,t,s,i,u){var n;const l={conversationId:e,content:t,context:s,humanApproval:u},h=await fetch(`${this._baseUrl}/stream`,{method:"POST",headers:this._headers,body:JSON.stringify(l)});if(!h.ok)throw new Error("Failed to send message");const d=(n=h.body)==null?void 0:n.getReader();if(!d)throw new Error("No response body");const g=new R;for(;!i();){const f=await d.read();if(f.done)break;for(const y of g.reduceInChunks(j,new TextDecoder().decode(f.value)))yield y}}async deleteThread(e){if(!(await fetch(`${this._baseUrl}/thread/${e}`,{method:"DELETE",headers:this._headers})).ok)throw new Error("Failed to delete thread")}async abortStreaming(e){if(!(await fetch(`${this._baseUrl}/abort`,{method:"POST",headers:this._headers,body:JSON.stringify({langGraphThreadId:e})})).ok)throw new Error("Failed to abort streaming")}async getHistory(e,t){const s=await fetch(`${this._baseUrl}/history?limit=${e}&offset=${t}`,{method:"GET"});if(!s.ok)throw new Error("Failed to fetch history");return await s.json()}startConversation(){return new Promise((e,t)=>{fetch(`${this._baseUrl}/start-conversation`,{method:"POST",headers:this._headers}).then(s=>{if(!s.ok)throw new Error("Failed to start conversation");return s.json()}).then(s=>e(s)).catch(s=>t(s))})}}class He{constructor(e){r(this,"projectId");r(this,"baseUrl");this.projectId=e,this.baseUrl=`projects/${e}`}startConversation(){throw new Error("Method not implemented.")}async*sendMessage(e,t,s,i,u){var n;const l={conversationId:e,content:t,context:s,humanApproval:u},d=(n=(await S.postRaw(`${this.baseUrl}/messages`,l)).body)==null?void 0:n.getReader();if(!d)throw new Error("No response body");const g=new R;for(;!i();){const f=await d.read();if(f.done)break;for(const y of g.reduceInChunks(j,new TextDecoder().decode(f.value)))yield y}}async abortStreaming(e){await S.post(`${this.baseUrl}/abort`,{langGraphThreadId:e})}async getHistory(e,t){const s={limit:`${e}`,offset:`${t}`};return await S.get(`${this.baseUrl}/history`,s)}async deleteThread(e){await S.delete(`${this.baseUrl}/threads/${e}`)}}const Le=P({__name:"CopyButton",props:{textToCopy:{}},setup(a){const e=a,t=c(!1),s=()=>{navigator.clipboard.writeText(e.textToCopy),t.value=!0,setTimeout(()=>t.value=!1,2e3)},i=w(()=>t.value?L.translate("i18n_copybutton_copied"):L.translate("i18n_copybutton_copy_to_clipboard"));return(u,l)=>(p(),A(T(K),null,{title:N(()=>[X(Y(i.value),1)]),default:N(()=>[_("div",{class:"copy-button",onClick:s},[t.value?(p(),A(T(Fe),{key:1,color:"#fff",size:"22"})):(p(),A(T(ne),{key:0,color:"#fff",size:"22"}))])]),_:1}))}});const Ne=ee(Le,[["__scopeId","data-v-95878e02"]]);class B{constructor(e,t){r(this,"_repository");r(this,"conversationId");r(this,"_input");r(this,"_attachments");r(this,"_badgeState");r(this,"_smartChatState");r(this,"_logService");r(this,"_hasError",c(null));r(this,"_isLoadingHistory",c(!1));r(this,"_history",c([]));r(this,"_threadHistoryFetchInfo",c({limit:10,offset:0,done:!1}));r(this,"_executingFormFile",c(null));r(this,"_recentlyAccessedThreads",c([]));r(this,"loadingAbort",c(!1));r(this,"codeForApproval",c(null));r(this,"setupThread",async()=>{this.conversationId.value=`abstra-assistant-thread-${b()}`,this._recentlyAccessedThreads.value.unshift({id:this.conversationId.value,messages:[],createdAt:new Date().toISOString()})});r(this,"fetchHistory",async()=>{this._isLoadingHistory.value=!0;const e=await this._repository.getHistory(this._threadHistoryFetchInfo.value.limit,this._threadHistoryFetchInfo.value.offset);this._history.value=e,this._isLoadingHistory.value=!1});r(this,"loadMoreHistory",async()=>{this._isLoadingHistory.value=!0,this._threadHistoryFetchInfo.value.offset+=this._threadHistoryFetchInfo.value.limit;const e=await this._repository.getHistory(this._threadHistoryFetchInfo.value.limit,this._threadHistoryFetchInfo.value.offset);e.length<this._threadHistoryFetchInfo.value.limit&&(this._threadHistoryFetchInfo.value.done=!0);const t=[...this._history.value,...e];this._history.value=t,this._isLoadingHistory.value=!1});r(this,"setError",e=>{this._hasError.value=e});r(this,"setExecutingFormFile",e=>{this._executingFormFile.value=e});r(this,"_fillChat",e=>{this._logService.clear();for(const t of e)if(t.toolTitle)this._logService.log({type:"ai-tool-approval",toolCallId:t.toolCallId,description:t.toolTitle,args:{},disabled:!1,needsApproval:!1,loading:!1}),this._logService.log({type:"ai-tool-call-response",toolCallId:t.toolCallId,response:this.extractTextContent(t.content)});else{const s=this.extractAttachmentsFromContent(t.content);s.length>0&&t.role==="user"?this._logService.log({type:"ai-input",log:this.extractTextContent(t.content),attachments:s}):this._logService.log({type:t.role==="user"?"ai-input":"ai-output",log:this.extractTextContent(t.content)})}this.renderCopyButtons()});r(this,"moveThreadFromHistoryToRecents",e=>{this.conversationId.value=e;const t=this._history.value.find(i=>i.id===e);if(!t)throw new Error(`Thread ${e} not found`);const s=this._recentlyAccessedThreads.value.findIndex(i=>i.id===e);s!==-1&&this._recentlyAccessedThreads.value.splice(s,1),this._recentlyAccessedThreads.value.unshift(t),this._fillChat(t.messages)});r(this,"deleteThread",e=>{this._repository.deleteThread(e),this.removeFromRecentlyAccessedThreads(e);const t=this._history.value.findIndex(s=>s.id===e);t!==-1&&this._history.value.splice(t,1)});r(this,"setCurrentThreadFromRecents",e=>{this.conversationId.value=e;const t=this._recentlyAccessedThreads.value.findIndex(i=>i.id===e);if(t===-1)throw new Error(`Thread ${e} not found`);const[s]=this._recentlyAccessedThreads.value.splice(t,1);this._recentlyAccessedThreads.value.unshift(s),this._fillChat(s.messages)});r(this,"removeFromRecentlyAccessedThreads",e=>{const t=this._recentlyAccessedThreads.value.findIndex(s=>s.id===e);if(t===-1)throw new Error(`Thread ${e} not found`);if(this._recentlyAccessedThreads.value.splice(t,1),this._logService.clear(),this._recentlyAccessedThreads.value.length===0)this.conversationId.value=null;else{const s=this._recentlyAccessedThreads.value[0];this.conversationId.value=s.id,this._fillChat(s.messages)}});r(this,"renderCopyButtons",()=>{document.querySelectorAll("pre").forEach(t=>{t.style.position="relative";const s=te(Ne,{textToCopy:t.textContent});se(s,t)})});r(this,"clearLogService",()=>{this._logService.clear()});r(this,"extractTextContent",e=>typeof e=="string"?e:Array.isArray(e)?e.filter(t=>t.type==="text"&&t.text).map(t=>t.text).join(`
2
2
  `):"");r(this,"extractAttachmentsFromContent",e=>{if(typeof e=="string"||!Array.isArray(e))return[];let t=0;return e.filter(s=>{var i;return s.type==="image_url"&&((i=s.image_url)==null?void 0:i.url)}).map(s=>{t++;const u=s.image_url.url.match(/^data:([^;]+);base64,(.+)$/);if(u){const[,l,h]=u,d=Math.ceil(h.length*3/4),g=l.split("/")[1]||"jpg";return{fileName:`image_${t}.${g}`,fileContent:h,fileSize:d,mimeType:l}}return{fileName:`image_${t}.jpg`,fileContent:"",fileSize:0,mimeType:"image/jpeg"}})});r(this,"send",async(e,t,s=0)=>{var i,u,l,h,d,g,n;this.conversationId.value||await this.setupThread(),s===0&&this._logService.log({type:"ai-input",log:this._input.value,attachments:this._attachments.value}),this._smartChatState.value="processing";try{const f=b(),y=this.conversationId.value;if(!y)throw new Error("Conversation ID is not set");const D=[{type:"text",text:this._input.value},...this._attachments.value.map(v=>({type:"file",fileName:v.fileName,fileContent:v.fileContent}))],U={currentEditorUrl:window.location.href,panesInfo:e||{}},q=this._repository.sendMessage(y,D,U,this.isIdle.bind(this),t);let F="",M=f,I="";for await(const v of q){if(this.isIdle())break;this._smartChatState.value==="processing"&&(this._smartChatState.value="answering");const o=v;if(typeof o=="string"){if(o.includes("abstra__trigger__retry"))throw new Error("AI service requested a retry");F+=o,I+=o,this._logService.log({type:"ai-output",log:I},M)}else if(o instanceof Object)if(o.type==="ai-tool-approval"){const J=(i=o.args)==null?void 0:i.file,k=!!(((u=o.args)==null?void 0:u.replacements)||((l=o.args)==null?void 0:l.content))&&this._executingFormFile.value===J,$=k?"This action can\u2019t be performed while the form is running":void 0;if(this._logService.log({type:"ai-tool-approval",toolCallId:o.toolCallId,description:o.title,args:o.args,disabled:k,needsApproval:!0,loading:!1,...$&&{message:$}}),((h=o.args)==null?void 0:h.file)&&((d=o.args)==null?void 0:d.replacements)){let C=o.args.replacements;typeof C=="string"&&(C=JSON.parse(C)),this.codeForApproval.value={file:o.args.file,replacements:C.map(H=>({oldContext:H.old_context,newContext:H.new_context}))}}else((g=o.args)==null?void 0:g.file)&&((n=o.args)==null?void 0:n.content)&&(this.codeForApproval.value={file:o.args.file,code:o.args.content})}else o.type==="ai-tool-call"?(this._logService.log({type:"ai-tool-approval",toolCallId:o.toolCallId,description:o.title,args:o.args,disabled:!1,needsApproval:!1,loading:!1}),M=b(),I=""):o.type==="ai-tool-call-response"&&this._logService.log({type:"ai-tool-call-response",toolCallId:o.toolCallId,response:o.response})}this._recentlyAccessedThreads.value=this._recentlyAccessedThreads.value.map(v=>(v.id===this.conversationId.value&&v.messages.unshift({role:"assistant",content:F,createdAt:new Date().toISOString()}),v)),this._input.value="",this._attachments.value=[],this._smartChatState.value="idle",this.renderCopyButtons()}catch(f){console.error(f),re(f),s>3?(this._logService.log({type:"ai-output",log:"Sorry, there was an issue processing your request. Please try again later."}),this._input.value="",this._smartChatState.value="idle",this.renderCopyButtons()):(this._logService.log({type:"ai-output",log:"We had some trouble, but we are already retrying your request..."}),await this.abort(),this._input.value="There was an unexpected error, please try again. You must continue from where you stopped as if nothing happened.",this.send(e,t,s+1))}});r(this,"abort",async()=>{if(!this.conversationId.value)throw new Error("Conversation ID is not set");this.loadingAbort.value=!0,await this._repository.abortStreaming(this.conversationId.value),this._smartChatState.value="idle",this.loadingAbort.value=!1});r(this,"isLoadingHistory",()=>this._isLoadingHistory.value);r(this,"isProcessing",()=>this._smartChatState.value==="processing");r(this,"isAnswering",()=>this._smartChatState.value==="answering");r(this,"isIdle",()=>this._smartChatState.value==="idle");r(this,"setSeen",()=>{this._badgeState.value={type:"seen"}});r(this,"setUnseen",e=>{this._badgeState.value={type:"unseen",count:this._badgeState.value.type==="unseen"?this._badgeState.value.count+1:1,severity:e.type==="stderr"?"error":"info"}});r(this,"setInput",(e,t)=>{e=e==null?void 0:e.trimEnd(),this._input.value=e||"",this._attachments.value=t||[]});r(this,"regenerateLast",async()=>{for(let e=this._logService.logs.length-1;e>=0;e--){const t=this._logService.logs[e];if(t.type==="ai-input"){this.setInput(t.log);break}}await this.send()});r(this,"fixJson",async(e,t)=>{this._logService.clear(),this._logService.log({type:"ai-input",log:`here is my json code:
3
3
  ${e}
4
4
  And I got this error:`}),this._logService.log({type:"stderr",log:t}),this.setSeen(),this.setInput("Can you fix this JSON?"),await this.send()});r(this,"askAboutError",async(e,t)=>{this._logService.clear(),this.setInput(["Fix the following error based on my logs:",...e.entries.map(s=>s.payload.text),`My current code is: ${t||"No code provided"}`].join(`
@@ -6,4 +6,4 @@ var z=Object.defineProperty;var V=(a,e,t)=>e in a?z(a,e,{enumerable:!0,configura
6
6
  `)),await this.send()});this._repository=e,this._logService=t,this.conversationId=c(null),this._input=c(""),this._attachments=c([]),this._badgeState=c({type:"seen"}),this._smartChatState=c("idle")}init(){this.setupThread(),this.renderCopyButtons()}get hasError(){var e;return((e=this._hasError.value)==null?void 0:e.payload)||null}get logService(){return this._logService}shouldRenderLoadMoreHistory(){return!this._threadHistoryFetchInfo.value.done}get pastThreads(){return this._history.value.map(e=>{if(e.messages.length===0)return{threadId:e.id,title:"New thread"};{const t=this.extractTextContent(e.messages[0].content);return{threadId:e.id,title:t.slice(0,20)+"..."}}})}get recentlyAccessedThreads(){return this._recentlyAccessedThreads.value.map(e=>{if(e.messages.length===0)return{threadId:e.id,title:"New thread"};{const t=this.extractTextContent(e.messages[0].content);return{threadId:e.id,title:t.slice(0,20)+"..."}}})}get badgeState(){return this._badgeState.value}get input(){return this._input.value}}class E{constructor(){r(this,"logState",ie({log:[]}));r(this,"_listeners",{});r(this,"getLastExecutionLogs",e=>{let t="";for(let s=this.logs.length-1;s>=0;s--){const i=this.logs[s];if(i.type!==e&&t.length>0)break;i.type===e&&(t=`${i.log}
7
7
  ${t}`)}return t})}static create(){return new E}get logs(){return this.logState.log}hasAiLogs(){return this.logs.some(e=>e.type==="ai-input"||e.type==="ai-output")}log(e,t){if(e.type!=="restart"&&e.type!=="ai-tool-approval"&&e.type!=="ai-tool-call-response"&&"log"in e&&e.log.trim()==="")return;const s=t?this.logs.find(i=>i.id===t):null;return s?(s.type==="stderr"&&e.type==="stderr"&&(e.log=s.log+`
8
8
  `+e.log),Object.assign(s,e)):this.logs.push({...e,id:t||b()}),this.notifyListeners(e),t}clear(){this.logState.log=[]}listen(e){const t=b();return this._listeners[t]=e,t}unlisten(e){delete this._listeners[e]}notifyListeners(e){Object.values(this._listeners).forEach(t=>t(e))}}const Ue=new ae,qe=oe("omniChat",()=>{const a=c(!0),e=c(!1),t=E.create(),s=O(),i=O(),u=(f,y)=>{if(!i.value)if(f==="console"){if(!y)throw new Error("Project ID is required for console chat");s.value=new He(y),i.value=new B(s.value,t)}else s.value=new $e,i.value=new B(s.value,t)},l=()=>{e.value=!0},h=()=>{e.value=!1},d=()=>{a.value=!0,l()},g=()=>{a.value=!1,h()};return{isOpen:a,isInputFocused:e,focusInput:l,blurInput:h,open:d,close:g,toggle:()=>{a.value?g():d()},controller:w(()=>i.value),repository:s,init:u}});export{Fe as H,$e as L,B as S,E as a,Ue as o,qe as u};
9
- //# sourceMappingURL=omniChatStore.508e8ece.js.map
9
+ //# sourceMappingURL=omniChatStore.40ad0b1b.js.map
@@ -1,2 +1,2 @@
1
- var c=Object.defineProperty;var d=(a,t,e)=>t in a?c(a,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):a[t]=e;var i=(a,t,e)=>(d(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]="d53cf3a8-394c-4ac7-8bda-42b1a2b84106",a._sentryDebugIdIdentifier="sentry-dbid-d53cf3a8-394c-4ac7-8bda-42b1a2b84106")}catch{}})();class l{constructor(){i(this,"urlPath","organizations")}async create(t){return s.post(`${this.urlPath}`,t)}async delete(t){await s.delete(`${this.urlPath}/${t}`)}async rename(t,e){await s.patch(`${this.urlPath}/${t}`,{name:e})}async list(){return s.get(`${this.urlPath}`)}async get(t){return s.get(`${this.urlPath}/${t}`)}async getUsageReportUrl(t){return s.get(`${this.urlPath}/${t}/usage-report`)}}const r=new l;class n{constructor(t){this.dto=t}static async list(){return(await r.list()).map(e=>new n(e))}static async create(t){const e=await r.create({name:t});return new n(e)}static async get(t){const e=await r.get(t);return new n(e)}static async rename(t,e){return r.rename(t,e)}get id(){return this.dto.id}get name(){return this.dto.name}get featureFlags(){return this.dto.featureFlags}get billingMetadata(){return this.dto.billingMetadata}get coalescedPlan(){var t;return(t=this.billingMetadata.plan)!=null?t:"No active plan"}get hasUsageReport(){return["Business","Abstra"].includes(this.coalescedPlan)}async getUsageReportUrl(){return r.getUsageReportUrl(this.id)}}export{l as O,n as a};
2
- //# sourceMappingURL=organization.cd03f9a8.js.map
1
+ var c=Object.defineProperty;var d=(a,t,e)=>t in a?c(a,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):a[t]=e;var i=(a,t,e)=>(d(a,typeof t!="symbol"?t+"":t,e),e);import{k as s}from"./router.c6e27700.js";import"./jwt-decode.esm.3348bca5.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]="78cd6553-59c8-4e73-98ea-9187e1706ded",a._sentryDebugIdIdentifier="sentry-dbid-78cd6553-59c8-4e73-98ea-9187e1706ded")}catch{}})();class l{constructor(){i(this,"urlPath","organizations")}async create(t){return s.post(`${this.urlPath}`,t)}async delete(t){await s.delete(`${this.urlPath}/${t}`)}async rename(t,e){await s.patch(`${this.urlPath}/${t}`,{name:e})}async list(){return s.get(`${this.urlPath}`)}async get(t){return s.get(`${this.urlPath}/${t}`)}async getUsageReportUrl(t){return s.get(`${this.urlPath}/${t}/usage-report`)}}const r=new l;class n{constructor(t){this.dto=t}static async list(){return(await r.list()).map(e=>new n(e))}static async create(t){const e=await r.create({name:t});return new n(e)}static async get(t){const e=await r.get(t);return new n(e)}static async rename(t,e){return r.rename(t,e)}get id(){return this.dto.id}get name(){return this.dto.name}get featureFlags(){return this.dto.featureFlags}get billingMetadata(){return this.dto.billingMetadata}get coalescedPlan(){var t;return(t=this.billingMetadata.plan)!=null?t:"No active plan"}get hasUsageReport(){return["Business","Abstra"].includes(this.coalescedPlan)}async getUsageReportUrl(){return r.getUsageReportUrl(this.id)}}export{l as O,n as a};
2
+ //# sourceMappingURL=organization.8f08e075.js.map
@@ -1,2 +1,2 @@
1
- import{d as H,at as i,c as Z,o as l,ac as t,ae as M,h as c,ed as p,e as r}from"./jwt-decode.esm.c9c37cdc.js";(function(){try{var h=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new Error().stack;e&&(h._sentryDebugIds=h._sentryDebugIds||{},h._sentryDebugIds[e]="8245e7f3-c539-40a2-9b42-069061802924",h._sentryDebugIdIdentifier="sentry-dbid-8245e7f3-c539-40a2-9b42-069061802924")}catch{}})();const y=["width","height","fill","transform"],f={key:0},w=r("path",{d:"M128,20A108,108,0,1,0,236,128,108.12,108.12,0,0,0,128,20Zm0,187a113.4,113.4,0,0,1-20.39-35h40.82a116.94,116.94,0,0,1-10,20.77A108.61,108.61,0,0,1,128,207Zm-26.49-59a135.42,135.42,0,0,1,0-40h53a135.42,135.42,0,0,1,0,40ZM44,128a83.49,83.49,0,0,1,2.43-20H77.25a160.63,160.63,0,0,0,0,40H46.43A83.49,83.49,0,0,1,44,128Zm84-79a113.4,113.4,0,0,1,20.39,35H107.59a116.94,116.94,0,0,1,10-20.77A108.61,108.61,0,0,1,128,49Zm50.73,59h30.82a83.52,83.52,0,0,1,0,40H178.75a160.63,160.63,0,0,0,0-40Zm20.77-24H173.71a140.82,140.82,0,0,0-15.5-34.36A84.51,84.51,0,0,1,199.52,84ZM97.79,49.64A140.82,140.82,0,0,0,82.29,84H56.48A84.51,84.51,0,0,1,97.79,49.64ZM56.48,172H82.29a140.82,140.82,0,0,0,15.5,34.36A84.51,84.51,0,0,1,56.48,172Zm101.73,34.36A140.82,140.82,0,0,0,173.71,172h25.81A84.51,84.51,0,0,1,158.21,206.36Z"},null,-1),$=[w],b={key:1},k=r("path",{d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"},null,-1),S=r("path",{d:"M128,24h0A104,104,0,1,0,232,128,104.12,104.12,0,0,0,128,24Zm88,104a87.61,87.61,0,0,1-3.33,24H174.16a157.44,157.44,0,0,0,0-48h38.51A87.61,87.61,0,0,1,216,128ZM102,168H154a115.11,115.11,0,0,1-26,45A115.27,115.27,0,0,1,102,168Zm-3.9-16a140.84,140.84,0,0,1,0-48h59.88a140.84,140.84,0,0,1,0,48ZM40,128a87.61,87.61,0,0,1,3.33-24H81.84a157.44,157.44,0,0,0,0,48H43.33A87.61,87.61,0,0,1,40,128ZM154,88H102a115.11,115.11,0,0,1,26-45A115.27,115.27,0,0,1,154,88Zm52.33,0H170.71a135.28,135.28,0,0,0-22.3-45.6A88.29,88.29,0,0,1,206.37,88ZM107.59,42.4A135.28,135.28,0,0,0,85.29,88H49.63A88.29,88.29,0,0,1,107.59,42.4ZM49.63,168H85.29a135.28,135.28,0,0,0,22.3,45.6A88.29,88.29,0,0,1,49.63,168Zm98.78,45.6a135.28,135.28,0,0,0,22.3-45.6h35.66A88.29,88.29,0,0,1,148.41,213.6Z"},null,-1),B=[k,S],C={key:2},z=r("path",{d:"M128,24h0A104,104,0,1,0,232,128,104.12,104.12,0,0,0,128,24Zm78.36,64H170.71a135.28,135.28,0,0,0-22.3-45.6A88.29,88.29,0,0,1,206.37,88ZM216,128a87.61,87.61,0,0,1-3.33,24H174.16a157.44,157.44,0,0,0,0-48h38.51A87.61,87.61,0,0,1,216,128ZM128,43a115.27,115.27,0,0,1,26,45H102A115.11,115.11,0,0,1,128,43ZM102,168H154a115.11,115.11,0,0,1-26,45A115.27,115.27,0,0,1,102,168Zm-3.9-16a140.84,140.84,0,0,1,0-48h59.88a140.84,140.84,0,0,1,0,48Zm50.35,61.6a135.28,135.28,0,0,0,22.3-45.6h35.66A88.29,88.29,0,0,1,148.41,213.6Z"},null,-1),L=[z],V={key:3},x=r("path",{d:"M128,26A102,102,0,1,0,230,128,102.12,102.12,0,0,0,128,26Zm81.57,64H169.19a132.58,132.58,0,0,0-25.73-50.67A90.29,90.29,0,0,1,209.57,90ZM218,128a89.7,89.7,0,0,1-3.83,26H171.81a155.43,155.43,0,0,0,0-52h42.36A89.7,89.7,0,0,1,218,128Zm-90,87.83a110,110,0,0,1-15.19-19.45A124.24,124.24,0,0,1,99.35,166h57.3a124.24,124.24,0,0,1-13.46,30.38A110,110,0,0,1,128,215.83ZM96.45,154a139.18,139.18,0,0,1,0-52h63.1a139.18,139.18,0,0,1,0,52ZM38,128a89.7,89.7,0,0,1,3.83-26H84.19a155.43,155.43,0,0,0,0,52H41.83A89.7,89.7,0,0,1,38,128Zm90-87.83a110,110,0,0,1,15.19,19.45A124.24,124.24,0,0,1,156.65,90H99.35a124.24,124.24,0,0,1,13.46-30.38A110,110,0,0,1,128,40.17Zm-15.46-.84A132.58,132.58,0,0,0,86.81,90H46.43A90.29,90.29,0,0,1,112.54,39.33ZM46.43,166H86.81a132.58,132.58,0,0,0,25.73,50.67A90.29,90.29,0,0,1,46.43,166Zm97,50.67A132.58,132.58,0,0,0,169.19,166h40.38A90.29,90.29,0,0,1,143.46,216.67Z"},null,-1),N=[x],P={key:4},_=r("path",{d:"M128,24h0A104,104,0,1,0,232,128,104.12,104.12,0,0,0,128,24Zm88,104a87.61,87.61,0,0,1-3.33,24H174.16a157.44,157.44,0,0,0,0-48h38.51A87.61,87.61,0,0,1,216,128ZM102,168H154a115.11,115.11,0,0,1-26,45A115.27,115.27,0,0,1,102,168Zm-3.9-16a140.84,140.84,0,0,1,0-48h59.88a140.84,140.84,0,0,1,0,48ZM40,128a87.61,87.61,0,0,1,3.33-24H81.84a157.44,157.44,0,0,0,0,48H43.33A87.61,87.61,0,0,1,40,128ZM154,88H102a115.11,115.11,0,0,1,26-45A115.27,115.27,0,0,1,154,88Zm52.33,0H170.71a135.28,135.28,0,0,0-22.3-45.6A88.29,88.29,0,0,1,206.37,88ZM107.59,42.4A135.28,135.28,0,0,0,85.29,88H49.63A88.29,88.29,0,0,1,107.59,42.4ZM49.63,168H85.29a135.28,135.28,0,0,0,22.3,45.6A88.29,88.29,0,0,1,49.63,168Zm98.78,45.6a135.28,135.28,0,0,0,22.3-45.6h35.66A88.29,88.29,0,0,1,148.41,213.6Z"},null,-1),I=[_],D={key:5},E=r("path",{d:"M128,28h0A100,100,0,1,0,228,128,100.11,100.11,0,0,0,128,28Zm0,190.61c-6.33-6.09-23-24.41-31.27-54.61h62.54C151,194.2,134.33,212.52,128,218.61ZM94.82,156a140.42,140.42,0,0,1,0-56h66.36a140.42,140.42,0,0,1,0,56ZM128,37.39c6.33,6.09,23,24.41,31.27,54.61H96.73C105,61.8,121.67,43.48,128,37.39ZM169.41,100h46.23a92.09,92.09,0,0,1,0,56H169.41a152.65,152.65,0,0,0,0-56Zm43.25-8h-45a129.39,129.39,0,0,0-29.19-55.4A92.25,92.25,0,0,1,212.66,92ZM117.54,36.6A129.39,129.39,0,0,0,88.35,92h-45A92.25,92.25,0,0,1,117.54,36.6ZM40.36,100H86.59a152.65,152.65,0,0,0,0,56H40.36a92.09,92.09,0,0,1,0-56Zm3,64h45a129.39,129.39,0,0,0,29.19,55.4A92.25,92.25,0,0,1,43.34,164Zm95.12,55.4A129.39,129.39,0,0,0,167.65,164h45A92.25,92.25,0,0,1,138.46,219.4Z"},null,-1),O=[E],T={name:"PhGlobe"},A1=H({...T,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(h){const e=h,A=i("weight","regular"),s=i("size","1em"),u=i("color","currentColor"),d=i("mirrored",!1),o=Z(()=>{var a;return(a=e.weight)!=null?a:A}),n=Z(()=>{var a;return(a=e.size)!=null?a:s}),m=Z(()=>{var a;return(a=e.color)!=null?a:u}),g=Z(()=>e.mirrored!==void 0?e.mirrored?"scale(-1, 1)":void 0:d?"scale(-1, 1)":void 0);return(a,v)=>(l(),t("svg",p({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:n.value,height:n.value,fill:m.value,transform:g.value},a.$attrs),[M(a.$slots,"default"),o.value==="bold"?(l(),t("g",f,$)):o.value==="duotone"?(l(),t("g",b,B)):o.value==="fill"?(l(),t("g",C,L)):o.value==="light"?(l(),t("g",V,N)):o.value==="regular"?(l(),t("g",P,I)):o.value==="thin"?(l(),t("g",D,O)):c("",!0)],16,y))}}),j=["width","height","fill","transform"],R={key:0},q=r("path",{d:"M120,137,48,201A12,12,0,1,1,32,183l61.91-55L32,73A12,12,0,1,1,48,55l72,64A12,12,0,0,1,120,137Zm96,43H120a12,12,0,0,0,0,24h96a12,12,0,0,0,0-24Z"},null,-1),F=[q],G={key:1},W=r("path",{d:"M216,80V192H40V64H200A16,16,0,0,1,216,80Z",opacity:"0.2"},null,-1),U=r("path",{d:"M117.31,134l-72,64a8,8,0,1,1-10.63-12L100,128,34.69,70A8,8,0,1,1,45.32,58l72,64a8,8,0,0,1,0,12ZM216,184H120a8,8,0,0,0,0,16h96a8,8,0,0,0,0-16Z"},null,-1),X=[W,U],J={key:2},K=r("path",{d:"M216,40H40A16,16,0,0,0,24,56V200a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40ZM77.66,173.66a8,8,0,0,1-11.32-11.32L100.69,128,66.34,93.66A8,8,0,0,1,77.66,82.34l40,40a8,8,0,0,1,0,11.32ZM192,176H128a8,8,0,0,1,0-16h64a8,8,0,0,1,0,16Z"},null,-1),Q=[K],Y={key:3},a1=r("path",{d:"M116,132.48l-72,64a6,6,0,0,1-8-9L103,128,36,68.49a6,6,0,0,1,8-9l72,64a6,6,0,0,1,0,9ZM216,186H120a6,6,0,0,0,0,12h96a6,6,0,0,0,0-12Z"},null,-1),e1=[a1],l1={key:4},t1=r("path",{d:"M117.31,134l-72,64a8,8,0,1,1-10.63-12L100,128,34.69,70A8,8,0,1,1,45.32,58l72,64a8,8,0,0,1,0,12ZM216,184H120a8,8,0,0,0,0,16h96a8,8,0,0,0,0-16Z"},null,-1),r1=[t1],o1={key:5},h1=r("path",{d:"M116,128a4,4,0,0,1-1.34,3l-72,64a4,4,0,1,1-5.32-6L106,128,37.34,67a4,4,0,0,1,5.32-6l72,64A4,4,0,0,1,116,128Zm100,60H120a4,4,0,0,0,0,8h96a4,4,0,0,0,0-8Z"},null,-1),i1=[h1],Z1={name:"PhTerminal"},s1=H({...Z1,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(h){const e=h,A=i("weight","regular"),s=i("size","1em"),u=i("color","currentColor"),d=i("mirrored",!1),o=Z(()=>{var a;return(a=e.weight)!=null?a:A}),n=Z(()=>{var a;return(a=e.size)!=null?a:s}),m=Z(()=>{var a;return(a=e.color)!=null?a:u}),g=Z(()=>e.mirrored!==void 0?e.mirrored?"scale(-1, 1)":void 0:d?"scale(-1, 1)":void 0);return(a,v)=>(l(),t("svg",p({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:n.value,height:n.value,fill:m.value,transform:g.value},a.$attrs),[M(a.$slots,"default"),o.value==="bold"?(l(),t("g",R,F)):o.value==="duotone"?(l(),t("g",G,X)):o.value==="fill"?(l(),t("g",J,Q)):o.value==="light"?(l(),t("g",Y,e1)):o.value==="regular"?(l(),t("g",l1,r1)):o.value==="thin"?(l(),t("g",o1,i1)):c("",!0)],16,j))}});class u1{static get isMac(){return navigator.userAgent.includes("Mac OS X")}static get buildPlatform(){return{}.CURRENT_PLATFORM||"web"}}export{s1 as F,A1 as I,u1 as O};
2
- //# sourceMappingURL=os.f08724fb.js.map
1
+ import{d as H,at as i,c as Z,o as l,ac as t,ae as M,h as c,ed as p,e as r}from"./jwt-decode.esm.3348bca5.js";(function(){try{var h=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new Error().stack;e&&(h._sentryDebugIds=h._sentryDebugIds||{},h._sentryDebugIds[e]="d240b272-e751-4fde-b6c9-6e20080094bd",h._sentryDebugIdIdentifier="sentry-dbid-d240b272-e751-4fde-b6c9-6e20080094bd")}catch{}})();const y=["width","height","fill","transform"],f={key:0},w=r("path",{d:"M128,20A108,108,0,1,0,236,128,108.12,108.12,0,0,0,128,20Zm0,187a113.4,113.4,0,0,1-20.39-35h40.82a116.94,116.94,0,0,1-10,20.77A108.61,108.61,0,0,1,128,207Zm-26.49-59a135.42,135.42,0,0,1,0-40h53a135.42,135.42,0,0,1,0,40ZM44,128a83.49,83.49,0,0,1,2.43-20H77.25a160.63,160.63,0,0,0,0,40H46.43A83.49,83.49,0,0,1,44,128Zm84-79a113.4,113.4,0,0,1,20.39,35H107.59a116.94,116.94,0,0,1,10-20.77A108.61,108.61,0,0,1,128,49Zm50.73,59h30.82a83.52,83.52,0,0,1,0,40H178.75a160.63,160.63,0,0,0,0-40Zm20.77-24H173.71a140.82,140.82,0,0,0-15.5-34.36A84.51,84.51,0,0,1,199.52,84ZM97.79,49.64A140.82,140.82,0,0,0,82.29,84H56.48A84.51,84.51,0,0,1,97.79,49.64ZM56.48,172H82.29a140.82,140.82,0,0,0,15.5,34.36A84.51,84.51,0,0,1,56.48,172Zm101.73,34.36A140.82,140.82,0,0,0,173.71,172h25.81A84.51,84.51,0,0,1,158.21,206.36Z"},null,-1),b=[w],$={key:1},k=r("path",{d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"},null,-1),S=r("path",{d:"M128,24h0A104,104,0,1,0,232,128,104.12,104.12,0,0,0,128,24Zm88,104a87.61,87.61,0,0,1-3.33,24H174.16a157.44,157.44,0,0,0,0-48h38.51A87.61,87.61,0,0,1,216,128ZM102,168H154a115.11,115.11,0,0,1-26,45A115.27,115.27,0,0,1,102,168Zm-3.9-16a140.84,140.84,0,0,1,0-48h59.88a140.84,140.84,0,0,1,0,48ZM40,128a87.61,87.61,0,0,1,3.33-24H81.84a157.44,157.44,0,0,0,0,48H43.33A87.61,87.61,0,0,1,40,128ZM154,88H102a115.11,115.11,0,0,1,26-45A115.27,115.27,0,0,1,154,88Zm52.33,0H170.71a135.28,135.28,0,0,0-22.3-45.6A88.29,88.29,0,0,1,206.37,88ZM107.59,42.4A135.28,135.28,0,0,0,85.29,88H49.63A88.29,88.29,0,0,1,107.59,42.4ZM49.63,168H85.29a135.28,135.28,0,0,0,22.3,45.6A88.29,88.29,0,0,1,49.63,168Zm98.78,45.6a135.28,135.28,0,0,0,22.3-45.6h35.66A88.29,88.29,0,0,1,148.41,213.6Z"},null,-1),B=[k,S],C={key:2},z=r("path",{d:"M128,24h0A104,104,0,1,0,232,128,104.12,104.12,0,0,0,128,24Zm78.36,64H170.71a135.28,135.28,0,0,0-22.3-45.6A88.29,88.29,0,0,1,206.37,88ZM216,128a87.61,87.61,0,0,1-3.33,24H174.16a157.44,157.44,0,0,0,0-48h38.51A87.61,87.61,0,0,1,216,128ZM128,43a115.27,115.27,0,0,1,26,45H102A115.11,115.11,0,0,1,128,43ZM102,168H154a115.11,115.11,0,0,1-26,45A115.27,115.27,0,0,1,102,168Zm-3.9-16a140.84,140.84,0,0,1,0-48h59.88a140.84,140.84,0,0,1,0,48Zm50.35,61.6a135.28,135.28,0,0,0,22.3-45.6h35.66A88.29,88.29,0,0,1,148.41,213.6Z"},null,-1),L=[z],V={key:3},x=r("path",{d:"M128,26A102,102,0,1,0,230,128,102.12,102.12,0,0,0,128,26Zm81.57,64H169.19a132.58,132.58,0,0,0-25.73-50.67A90.29,90.29,0,0,1,209.57,90ZM218,128a89.7,89.7,0,0,1-3.83,26H171.81a155.43,155.43,0,0,0,0-52h42.36A89.7,89.7,0,0,1,218,128Zm-90,87.83a110,110,0,0,1-15.19-19.45A124.24,124.24,0,0,1,99.35,166h57.3a124.24,124.24,0,0,1-13.46,30.38A110,110,0,0,1,128,215.83ZM96.45,154a139.18,139.18,0,0,1,0-52h63.1a139.18,139.18,0,0,1,0,52ZM38,128a89.7,89.7,0,0,1,3.83-26H84.19a155.43,155.43,0,0,0,0,52H41.83A89.7,89.7,0,0,1,38,128Zm90-87.83a110,110,0,0,1,15.19,19.45A124.24,124.24,0,0,1,156.65,90H99.35a124.24,124.24,0,0,1,13.46-30.38A110,110,0,0,1,128,40.17Zm-15.46-.84A132.58,132.58,0,0,0,86.81,90H46.43A90.29,90.29,0,0,1,112.54,39.33ZM46.43,166H86.81a132.58,132.58,0,0,0,25.73,50.67A90.29,90.29,0,0,1,46.43,166Zm97,50.67A132.58,132.58,0,0,0,169.19,166h40.38A90.29,90.29,0,0,1,143.46,216.67Z"},null,-1),N=[x],P={key:4},_=r("path",{d:"M128,24h0A104,104,0,1,0,232,128,104.12,104.12,0,0,0,128,24Zm88,104a87.61,87.61,0,0,1-3.33,24H174.16a157.44,157.44,0,0,0,0-48h38.51A87.61,87.61,0,0,1,216,128ZM102,168H154a115.11,115.11,0,0,1-26,45A115.27,115.27,0,0,1,102,168Zm-3.9-16a140.84,140.84,0,0,1,0-48h59.88a140.84,140.84,0,0,1,0,48ZM40,128a87.61,87.61,0,0,1,3.33-24H81.84a157.44,157.44,0,0,0,0,48H43.33A87.61,87.61,0,0,1,40,128ZM154,88H102a115.11,115.11,0,0,1,26-45A115.27,115.27,0,0,1,154,88Zm52.33,0H170.71a135.28,135.28,0,0,0-22.3-45.6A88.29,88.29,0,0,1,206.37,88ZM107.59,42.4A135.28,135.28,0,0,0,85.29,88H49.63A88.29,88.29,0,0,1,107.59,42.4ZM49.63,168H85.29a135.28,135.28,0,0,0,22.3,45.6A88.29,88.29,0,0,1,49.63,168Zm98.78,45.6a135.28,135.28,0,0,0,22.3-45.6h35.66A88.29,88.29,0,0,1,148.41,213.6Z"},null,-1),I=[_],D={key:5},E=r("path",{d:"M128,28h0A100,100,0,1,0,228,128,100.11,100.11,0,0,0,128,28Zm0,190.61c-6.33-6.09-23-24.41-31.27-54.61h62.54C151,194.2,134.33,212.52,128,218.61ZM94.82,156a140.42,140.42,0,0,1,0-56h66.36a140.42,140.42,0,0,1,0,56ZM128,37.39c6.33,6.09,23,24.41,31.27,54.61H96.73C105,61.8,121.67,43.48,128,37.39ZM169.41,100h46.23a92.09,92.09,0,0,1,0,56H169.41a152.65,152.65,0,0,0,0-56Zm43.25-8h-45a129.39,129.39,0,0,0-29.19-55.4A92.25,92.25,0,0,1,212.66,92ZM117.54,36.6A129.39,129.39,0,0,0,88.35,92h-45A92.25,92.25,0,0,1,117.54,36.6ZM40.36,100H86.59a152.65,152.65,0,0,0,0,56H40.36a92.09,92.09,0,0,1,0-56Zm3,64h45a129.39,129.39,0,0,0,29.19,55.4A92.25,92.25,0,0,1,43.34,164Zm95.12,55.4A129.39,129.39,0,0,0,167.65,164h45A92.25,92.25,0,0,1,138.46,219.4Z"},null,-1),O=[E],T={name:"PhGlobe"},A1=H({...T,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(h){const e=h,A=i("weight","regular"),d=i("size","1em"),s=i("color","currentColor"),u=i("mirrored",!1),o=Z(()=>{var a;return(a=e.weight)!=null?a:A}),n=Z(()=>{var a;return(a=e.size)!=null?a:d}),m=Z(()=>{var a;return(a=e.color)!=null?a:s}),g=Z(()=>e.mirrored!==void 0?e.mirrored?"scale(-1, 1)":void 0:u?"scale(-1, 1)":void 0);return(a,v)=>(l(),t("svg",p({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:n.value,height:n.value,fill:m.value,transform:g.value},a.$attrs),[M(a.$slots,"default"),o.value==="bold"?(l(),t("g",f,b)):o.value==="duotone"?(l(),t("g",$,B)):o.value==="fill"?(l(),t("g",C,L)):o.value==="light"?(l(),t("g",V,N)):o.value==="regular"?(l(),t("g",P,I)):o.value==="thin"?(l(),t("g",D,O)):c("",!0)],16,y))}}),j=["width","height","fill","transform"],R={key:0},q=r("path",{d:"M120,137,48,201A12,12,0,1,1,32,183l61.91-55L32,73A12,12,0,1,1,48,55l72,64A12,12,0,0,1,120,137Zm96,43H120a12,12,0,0,0,0,24h96a12,12,0,0,0,0-24Z"},null,-1),F=[q],G={key:1},W=r("path",{d:"M216,80V192H40V64H200A16,16,0,0,1,216,80Z",opacity:"0.2"},null,-1),U=r("path",{d:"M117.31,134l-72,64a8,8,0,1,1-10.63-12L100,128,34.69,70A8,8,0,1,1,45.32,58l72,64a8,8,0,0,1,0,12ZM216,184H120a8,8,0,0,0,0,16h96a8,8,0,0,0,0-16Z"},null,-1),X=[W,U],J={key:2},K=r("path",{d:"M216,40H40A16,16,0,0,0,24,56V200a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40ZM77.66,173.66a8,8,0,0,1-11.32-11.32L100.69,128,66.34,93.66A8,8,0,0,1,77.66,82.34l40,40a8,8,0,0,1,0,11.32ZM192,176H128a8,8,0,0,1,0-16h64a8,8,0,0,1,0,16Z"},null,-1),Q=[K],Y={key:3},a1=r("path",{d:"M116,132.48l-72,64a6,6,0,0,1-8-9L103,128,36,68.49a6,6,0,0,1,8-9l72,64a6,6,0,0,1,0,9ZM216,186H120a6,6,0,0,0,0,12h96a6,6,0,0,0,0-12Z"},null,-1),e1=[a1],l1={key:4},t1=r("path",{d:"M117.31,134l-72,64a8,8,0,1,1-10.63-12L100,128,34.69,70A8,8,0,1,1,45.32,58l72,64a8,8,0,0,1,0,12ZM216,184H120a8,8,0,0,0,0,16h96a8,8,0,0,0,0-16Z"},null,-1),r1=[t1],o1={key:5},h1=r("path",{d:"M116,128a4,4,0,0,1-1.34,3l-72,64a4,4,0,1,1-5.32-6L106,128,37.34,67a4,4,0,0,1,5.32-6l72,64A4,4,0,0,1,116,128Zm100,60H120a4,4,0,0,0,0,8h96a4,4,0,0,0,0-8Z"},null,-1),i1=[h1],Z1={name:"PhTerminal"},d1=H({...Z1,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(h){const e=h,A=i("weight","regular"),d=i("size","1em"),s=i("color","currentColor"),u=i("mirrored",!1),o=Z(()=>{var a;return(a=e.weight)!=null?a:A}),n=Z(()=>{var a;return(a=e.size)!=null?a:d}),m=Z(()=>{var a;return(a=e.color)!=null?a:s}),g=Z(()=>e.mirrored!==void 0?e.mirrored?"scale(-1, 1)":void 0:u?"scale(-1, 1)":void 0);return(a,v)=>(l(),t("svg",p({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:n.value,height:n.value,fill:m.value,transform:g.value},a.$attrs),[M(a.$slots,"default"),o.value==="bold"?(l(),t("g",R,F)):o.value==="duotone"?(l(),t("g",G,X)):o.value==="fill"?(l(),t("g",J,Q)):o.value==="light"?(l(),t("g",Y,e1)):o.value==="regular"?(l(),t("g",l1,r1)):o.value==="thin"?(l(),t("g",o1,i1)):c("",!0)],16,j))}});class s1{static get isMac(){return navigator.userAgent.includes("Mac OS X")}static get buildPlatform(){return{}.CURRENT_PLATFORM||"web"}}export{d1 as F,A1 as I,s1 as O};
2
+ //# sourceMappingURL=os.8ffdbf05.js.map
@@ -0,0 +1,2 @@
1
+ import{C as n,D as r,E as o,F as c,P as d,G as p,H as b,I as m,J as a,K as u,L as f,N as g,O as l}from"./jwt-decode.esm.3348bca5.js";import{a as y,b as i}from"./router.c7abfb0c.js";import{s as w}from"./workspaceStore.5d3f2aec.js";import{_ as h}from"./App.vue_vue_type_style_index_0_lang.6713c9c9.js";import"./userStore.34b8f1eb.js";import"./url.5d02a63f.js";import"./colorHelpers.5ee17d14.js";import"./PlayerConfigProvider.ad360920.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]="759a4547-d56b-42ac-b0a3-9bc2471845b9",t._sentryDebugIdIdentifier="sentry-dbid-759a4547-d56b-42ac-b0a3-9bc2471845b9")}catch{}})();class I{static init(){setInterval(()=>{fetch("/_healthcheck").catch(()=>{})},20*1e3)}}(async()=>{await w();const t=await y(),s=n(),e=r({render:()=>u(h)});o.init(),c(e,i,t),I.init(),e.use(i),e.use(s),e.use(d),e.mount("#app"),e.component("VSelect",p),e.component("Markdown",b),e.component("Message",m),a(e,f),a(e,g),a(e,l)})();
2
+ //# sourceMappingURL=player.7112583e.js.map