abstra 3.24.6__py3-none-any.whl → 3.24.8__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 (219) hide show
  1. {abstra-3.24.6.dist-info → abstra-3.24.8.dist-info}/METADATA +1 -1
  2. {abstra-3.24.6.dist-info → abstra-3.24.8.dist-info}/RECORD +176 -175
  3. abstra_internals/contracts_generated.py +2873 -2735
  4. abstra_internals/repositories/git/native.py +1 -1
  5. abstra_internals/repositories/tasks.py +22 -21
  6. abstra_internals/services/fs.py +25 -0
  7. abstra_internals/tasks_watcher.py +16 -1
  8. abstra_internals/tasks_watcher_test.py +254 -0
  9. abstra_statics/dist/assets/AbstraButton.vue_vue_type_script_setup_true_lang.905e8d9e.js +2 -0
  10. abstra_statics/dist/assets/AbstraLogo.vue_vue_type_script_setup_true_lang.11067aac.js +2 -0
  11. abstra_statics/dist/assets/ApiKeys.c2a1c483.js +2 -0
  12. abstra_statics/dist/assets/App.608af2ed.js +2 -0
  13. abstra_statics/dist/assets/App.vue_vue_type_style_index_0_lang.8bbdcede.js +2 -0
  14. abstra_statics/dist/assets/{BaseLayout.fed5adb7.js → BaseLayout.b03df2cd.js} +2 -2
  15. abstra_statics/dist/assets/Billing.f84cedb5.js +2 -0
  16. abstra_statics/dist/assets/{Breadcrumb.ae24888f.js → Breadcrumb.9686bc9b.js} +2 -2
  17. abstra_statics/dist/assets/{Builds.c30d0eb0.js → Builds.c90a1506.js} +2 -2
  18. abstra_statics/dist/assets/{Card.e1ec3051.js → Card.95a0c7f0.js} +2 -2
  19. abstra_statics/dist/assets/{CircularLoading.26cebe64.js → CircularLoading.6ab785c3.js} +2 -2
  20. abstra_statics/dist/assets/CloseCircleOutlined.66e5f1b1.js +2 -0
  21. abstra_statics/dist/assets/{ConnectorsView.6eae8e1e.js → ConnectorsView.bac282fa.js} +2 -2
  22. abstra_statics/dist/assets/ConsoleOmniChat.vue_vue_type_script_setup_true_lang.e768f033.js +2 -0
  23. abstra_statics/dist/assets/ContentLayout.2ae39d29.js +2 -0
  24. abstra_statics/dist/assets/{CrudView.ca91f805.js → CrudView.391f0e9f.js} +2 -2
  25. abstra_statics/dist/assets/{DocsButton.vue_vue_type_script_setup_true_lang.c50f6a0a.js → DocsButton.vue_vue_type_script_setup_true_lang.e6d1d3ad.js} +2 -2
  26. abstra_statics/dist/assets/{EditorLogin.19fe1dcc.js → EditorLogin.feee5e85.js} +2 -2
  27. abstra_statics/dist/assets/{EditorsView.3f4d1241.js → EditorsView.b9309eb9.js} +2 -2
  28. abstra_statics/dist/assets/EnvVars.facbb73b.js +2 -0
  29. abstra_statics/dist/assets/{Error.f38d90e4.js → Error.cec1d9ae.js} +2 -2
  30. abstra_statics/dist/assets/ExclamationCircleOutlined.81063754.js +2 -0
  31. abstra_statics/dist/assets/{ExecutionContext.69bc5c09.js → ExecutionContext.8c367ef7.js} +2 -2
  32. abstra_statics/dist/assets/{ExecutionStatusIcon.vue_vue_type_script_setup_true_lang.a2a7ab75.js → ExecutionStatusIcon.vue_vue_type_script_setup_true_lang.7bd1f43d.js} +2 -2
  33. abstra_statics/dist/assets/{Files.81259c6b.js → Files.325d463d.js} +2 -2
  34. abstra_statics/dist/assets/{Form.723342d2.js → Form.48029b6f.js} +2 -2
  35. abstra_statics/dist/assets/{FormRunner.d1186e5c.js → FormRunner.7e7ce26d.js} +2 -2
  36. abstra_statics/dist/assets/Home.72bb903d.js +2 -0
  37. abstra_statics/dist/assets/{Home.bad5d80b.js → Home.fb4fb018.js} +2 -2
  38. abstra_statics/dist/assets/LoadingContainer.e7fd3862.js +2 -0
  39. abstra_statics/dist/assets/LoadingOutlined.eb1ab7c7.js +2 -0
  40. abstra_statics/dist/assets/Login.ab4296a6.js +2 -0
  41. abstra_statics/dist/assets/{Login.a40bc609.js → Login.f25e3cc8.js} +2 -2
  42. abstra_statics/dist/assets/{Login.vue_vue_type_script_setup_true_lang.6f146a14.js → Login.vue_vue_type_script_setup_true_lang.c0c3af9a.js} +2 -2
  43. abstra_statics/dist/assets/Logo.417950ea.js +2 -0
  44. abstra_statics/dist/assets/{Logs.859d8699.js → Logs.eff00ffa.js} +2 -2
  45. abstra_statics/dist/assets/Main.9c7e6552.js +2 -0
  46. abstra_statics/dist/assets/{MockForm.958e1a8b.js → MockForm.a8c36e57.js} +2 -2
  47. abstra_statics/dist/assets/{Navbar.299ef0ee.js → Navbar.36275768.js} +2 -2
  48. abstra_statics/dist/assets/{NewEditor.1d3b7038.js → NewEditor.652251d2.js} +2 -2
  49. abstra_statics/dist/assets/OidcLoginCallback.31318c8c.js +2 -0
  50. abstra_statics/dist/assets/OidcLogoutCallback.af3bbbed.js +2 -0
  51. abstra_statics/dist/assets/{OmniChat.fb0615b3.js → OmniChat.6d49a0d2.js} +2 -2
  52. abstra_statics/dist/assets/{OnboardingView.e2af008f.js → OnboardingView.ec680bc2.js} +2 -2
  53. abstra_statics/dist/assets/{Organization.1c340a2f.js → Organization.640cf320.js} +2 -2
  54. abstra_statics/dist/assets/Organizations.be19ecba.js +2 -0
  55. abstra_statics/dist/assets/{PhArrowCounterClockwise.vue.dbc4fdc7.js → PhArrowCounterClockwise.vue.44a61827.js} +2 -2
  56. abstra_statics/dist/assets/{PhArrowSquareOut.vue.5a8d2f86.js → PhArrowSquareOut.vue.d71d80fc.js} +2 -2
  57. abstra_statics/dist/assets/{PhClockCounterClockwise.vue.15ff64b9.js → PhClockCounterClockwise.vue.701e6c6a.js} +2 -2
  58. abstra_statics/dist/assets/{PhCopy.vue.3f2b76a2.js → PhCopy.vue.5aeb9248.js} +2 -2
  59. abstra_statics/dist/assets/{PhCopySimple.vue.7cacc0f7.js → PhCopySimple.vue.33922e71.js} +2 -2
  60. abstra_statics/dist/assets/{PhCube.vue.6a150c53.js → PhCube.vue.3f7281ae.js} +2 -2
  61. abstra_statics/dist/assets/PhDatabase.vue.09fef09d.js +2 -0
  62. abstra_statics/dist/assets/{PhDotsThreeVertical.vue.e305b3a2.js → PhDotsThreeVertical.vue.b3fda5f6.js} +2 -2
  63. abstra_statics/dist/assets/{PhDownloadSimple.vue.2759a067.js → PhDownloadSimple.vue.db22067f.js} +2 -2
  64. abstra_statics/dist/assets/{PhFileArrowUp.vue.7e13d264.js → PhFileArrowUp.vue.1e3b8493.js} +2 -2
  65. abstra_statics/dist/assets/{PhFilePlus.vue.537e8e0d.js → PhFilePlus.vue.1b7fc04b.js} +2 -2
  66. abstra_statics/dist/assets/{PhFolderPlus.vue.53737c9c.js → PhFolderPlus.vue.7b02d45f.js} +2 -2
  67. abstra_statics/dist/assets/{PhGear.vue.3a3d45d2.js → PhGear.vue.3049f8f5.js} +2 -2
  68. abstra_statics/dist/assets/{PhKey.vue.07ccc3ef.js → PhKey.vue.3fb1fd34.js} +2 -2
  69. abstra_statics/dist/assets/{PhPencil.vue.e0099a7f.js → PhPencil.vue.8e94a4bd.js} +2 -2
  70. abstra_statics/dist/assets/{PhPencilSimple.vue.7ffd0edb.js → PhPencilSimple.vue.c30ff752.js} +2 -2
  71. abstra_statics/dist/assets/{PhRocket.vue.a2ca27d6.js → PhRocket.vue.1927fd55.js} +2 -2
  72. abstra_statics/dist/assets/{PhSignOut.vue.4f6997f5.js → PhSignOut.vue.0c10fd8d.js} +2 -2
  73. abstra_statics/dist/assets/{PhSparkle.vue.e6119d8d.js → PhSparkle.vue.88da054d.js} +2 -2
  74. abstra_statics/dist/assets/{PhTranslate.vue.d4756feb.js → PhTranslate.vue.5fd55ee3.js} +2 -2
  75. abstra_statics/dist/assets/{PhUsersThree.vue.50cc946e.js → PhUsersThree.vue.506e9873.js} +2 -2
  76. abstra_statics/dist/assets/{PhWarningCircle.vue.03a6e5c8.js → PhWarningCircle.vue.139a2f32.js} +2 -2
  77. abstra_statics/dist/assets/{PhWebhooksLogo.vue.13c489ce.js → PhWebhooksLogo.vue.28d1edea.js} +2 -2
  78. abstra_statics/dist/assets/{PlayerConfigProvider.d0d5439f.js → PlayerConfigProvider.f7be8491.js} +2 -2
  79. abstra_statics/dist/assets/{PlayerNavbar.fd53d29e.js → PlayerNavbar.fb3a012d.js} +2 -2
  80. abstra_statics/dist/assets/{Project.7c3bdd8a.js → Project.6af32e98.js} +2 -2
  81. abstra_statics/dist/assets/{ProjectLogin.9cec413b.js → ProjectLogin.7f541a88.js} +2 -2
  82. abstra_statics/dist/assets/ProjectSettings.52805237.js +2 -0
  83. abstra_statics/dist/assets/{ProjectsView.4d026e78.js → ProjectsView.53e4ed94.js} +2 -2
  84. abstra_statics/dist/assets/{SaveButton.813aaf8d.js → SaveButton.bf92f582.js} +2 -2
  85. abstra_statics/dist/assets/{ScrollArea.vue_vue_type_script_setup_true_lang.e8269806.js → ScrollArea.vue_vue_type_script_setup_true_lang.b4f189da.js} +2 -2
  86. abstra_statics/dist/assets/{Sidebar.08e9b51a.js → Sidebar.af08c680.js} +2 -2
  87. abstra_statics/dist/assets/{Sql.18a715c6.js → Sql.fd118d60.js} +4 -4
  88. abstra_statics/dist/assets/Steps.27508a86.js +2 -0
  89. abstra_statics/dist/assets/{TableCard.2543b684.js → TableCard.0bcd184a.js} +2 -2
  90. abstra_statics/dist/assets/{TableEditor.ee57cc7f.js → TableEditor.0b14bc7b.js} +2 -2
  91. abstra_statics/dist/assets/{Tables.a358bf91.js → Tables.8dabe248.js} +2 -2
  92. abstra_statics/dist/assets/{TablesDiagram.991fc1b3.js → TablesDiagram.547215e0.js} +2 -2
  93. abstra_statics/dist/assets/{TablesTabs.vue_vue_type_script_setup_true_lang.744da918.js → TablesTabs.vue_vue_type_script_setup_true_lang.9027b106.js} +2 -2
  94. abstra_statics/dist/assets/Tasks.6d16250c.js +2 -0
  95. abstra_statics/dist/assets/{UploadOutlined.113850a1.js → UploadOutlined.736aa5bc.js} +2 -2
  96. abstra_statics/dist/assets/{View.67504c02.js → View.b4fa346f.js} +2 -2
  97. abstra_statics/dist/assets/{View.vue_vue_type_script_setup_true_lang.f7c2ef15.js → View.vue_vue_type_script_setup_true_lang.d5d3a410.js} +2 -2
  98. abstra_statics/dist/assets/{Watermark.6e692419.js → Watermark.e6c4654b.js} +2 -2
  99. abstra_statics/dist/assets/{WebEditor.7a1fcb94.js → WebEditor.49aee538.js} +2 -2
  100. abstra_statics/dist/assets/{WidgetPreview.0b7ab78b.js → WidgetPreview.e0916bed.js} +2 -2
  101. abstra_statics/dist/assets/{WorkflowViewer.95d64da4.js → WorkflowViewer.b2b3ee29.js} +2 -2
  102. abstra_statics/dist/assets/ant-design.805ab95d.js +2 -0
  103. abstra_statics/dist/assets/{apiKey.975dfeae.js → apiKey.1b1aafc4.js} +2 -2
  104. abstra_statics/dist/assets/asyncComputed.0308626b.js +2 -0
  105. abstra_statics/dist/assets/{build.c626214a.js → build.1cc9147c.js} +2 -2
  106. abstra_statics/dist/assets/colorHelpers.93df70ab.js +2 -0
  107. abstra_statics/dist/assets/{console.1e432ec7.js → console.c2a83def.js} +2 -2
  108. abstra_statics/dist/assets/constants.ba2d8460.js +2 -0
  109. abstra_statics/dist/assets/{contracts.generated.c5043d35.js → contracts.generated.bc42bf02.js} +2 -2
  110. abstra_statics/dist/assets/{cssMode.75e3c56c.js → cssMode.da3677b5.js} +2 -2
  111. abstra_statics/dist/assets/datetime.049cd1b4.js +2 -0
  112. abstra_statics/dist/assets/dayjs.ba8d5e03.js +2 -0
  113. abstra_statics/dist/assets/editor.4df699e8.js +2 -0
  114. abstra_statics/dist/assets/editor.main.1441c190.js +2 -0
  115. abstra_statics/dist/assets/fetch.6b0b8dbd.js +2 -0
  116. abstra_statics/dist/assets/files.a48976ba.js +2 -0
  117. abstra_statics/dist/assets/{folder.bd31d9bc.js → folder.1303b3cc.js} +2 -2
  118. abstra_statics/dist/assets/{freemarker2.400d456f.js → freemarker2.78f622a4.js} +2 -2
  119. abstra_statics/dist/assets/{handlebars.d8549cd4.js → handlebars.f24ca206.js} +3 -3
  120. abstra_statics/dist/assets/{html.dcc0e819.js → html.d6232cb7.js} +3 -3
  121. abstra_statics/dist/assets/{htmlMode.b93d1fe9.js → htmlMode.66845b4f.js} +2 -2
  122. abstra_statics/dist/assets/{index.a4dc5332.js → index.4073d3ba.js} +2 -2
  123. abstra_statics/dist/assets/{index.36a090cf.js → index.5654c649.js} +2 -2
  124. abstra_statics/dist/assets/{index.dfc79bf7.js → index.5eda0243.js} +2 -2
  125. abstra_statics/dist/assets/{index.5ecb9a37.js → index.680764ed.js} +2 -2
  126. abstra_statics/dist/assets/{index.ddb89818.js → index.705ce630.js} +2 -2
  127. abstra_statics/dist/assets/{index.99fb59f0.js → index.aa2603a0.js} +2 -2
  128. abstra_statics/dist/assets/{index.ab7dc629.js → index.bbb3a202.js} +2 -2
  129. abstra_statics/dist/assets/index.c25fb6e2.js +2 -0
  130. abstra_statics/dist/assets/{index.2400150a.js → index.fd17682d.js} +2 -2
  131. abstra_statics/dist/assets/{javascript.6a1a2db7.js → javascript.1009e690.js} +3 -3
  132. abstra_statics/dist/assets/{jsonMode.0650153f.js → jsonMode.bd88eaca.js} +2 -2
  133. abstra_statics/dist/assets/{jwt-decode.cfe2994b.css → jwt-decode.aa5b9ed3.css} +1 -1
  134. abstra_statics/dist/assets/{jwt-decode.esm.32f71954.js → jwt-decode.esm.4071145e.js} +9 -8
  135. abstra_statics/dist/assets/{linters.3b9f6de6.js → linters.5d49f0b2.js} +2 -2
  136. abstra_statics/dist/assets/{liquid.612ef64b.js → liquid.fd06ec69.js} +3 -3
  137. abstra_statics/dist/assets/{member.91dd2bc0.js → member.d4cf4c10.js} +2 -2
  138. abstra_statics/dist/assets/{metadata.c5f500d1.js → metadata.bd34dda0.js} +2 -2
  139. abstra_statics/dist/assets/{omniChatStore.10d769d2.js → omniChatStore.3d16b4ad.js} +4 -4
  140. abstra_statics/dist/assets/{organization.2c5a9815.js → organization.1b235ed0.js} +2 -2
  141. abstra_statics/dist/assets/{os.d718583c.js → os.b6b83ab9.js} +2 -2
  142. abstra_statics/dist/assets/player.9c3751ac.js +2 -0
  143. abstra_statics/dist/assets/{plotly.min.cdd940d3.js → plotly.min.5ef097da.js} +2 -2
  144. abstra_statics/dist/assets/polling.cabdf3a3.js +2 -0
  145. abstra_statics/dist/assets/{project.b14b799c.js → project.794c2cba.js} +2 -2
  146. abstra_statics/dist/assets/{python.de00ef26.js → python.014e8707.js} +3 -3
  147. abstra_statics/dist/assets/{razor.7aff1cf0.js → razor.eee706f7.js} +3 -3
  148. abstra_statics/dist/assets/{record.41c9caee.js → record.daabed01.js} +2 -2
  149. abstra_statics/dist/assets/redirect.8303afd7.js +2 -0
  150. abstra_statics/dist/assets/{repository.bfee664a.js → repository.010eeaad.js} +2 -2
  151. abstra_statics/dist/assets/{repository.e580214f.js → repository.997243c1.js} +2 -2
  152. abstra_statics/dist/assets/router.e1e467ab.js +2 -0
  153. abstra_statics/dist/assets/{router.29e08ea4.js → router.ef7a08cf.js} +5 -5
  154. abstra_statics/dist/assets/{string.ff0b4ef9.js → string.0157e442.js} +2 -2
  155. abstra_statics/dist/assets/{tables.94d324c3.js → tables.59457dad.js} +2 -2
  156. abstra_statics/dist/assets/{tasksController.42d22818.js → tasksController.a5bd1328.js} +3 -3
  157. abstra_statics/dist/assets/{toggleHighContrast.7b4a31db.js → toggleHighContrast.2a096764.js} +7 -7
  158. abstra_statics/dist/assets/{tsMode.5cdf91a5.js → tsMode.5a841751.js} +2 -2
  159. abstra_statics/dist/assets/{typescript.53676cd5.js → typescript.a8946c53.js} +3 -3
  160. abstra_statics/dist/assets/url.4aa6f272.js +2 -0
  161. abstra_statics/dist/assets/{useCodebaseEvents.5fbf9bc1.js → useCodebaseEvents.c0197501.js} +2 -2
  162. abstra_statics/dist/assets/useTables.413ae4ce.js +2 -0
  163. abstra_statics/dist/assets/userStore.1004ebc1.js +2 -0
  164. abstra_statics/dist/assets/uuid.14c9b73e.js +2 -0
  165. abstra_statics/dist/assets/{vue-flow-background.7de722ba.js → vue-flow-background.cc5881af.js} +2 -2
  166. abstra_statics/dist/assets/{vue-flow-core.589f776e.js → vue-flow-core.64ea4397.js} +2 -2
  167. abstra_statics/dist/assets/{vue-quill.esm-bundler.d3994d88.js → vue-quill.esm-bundler.404d7a1a.js} +2 -2
  168. abstra_statics/dist/assets/{workspaceStore.5dfe5329.js → workspaceStore.260ac7fc.js} +2 -2
  169. abstra_statics/dist/assets/{xml.a905d090.js → xml.6d7ee5c8.js} +3 -3
  170. abstra_statics/dist/assets/{yaml.112096a6.js → yaml.a48b0813.js} +3 -3
  171. abstra_statics/dist/console.html +15 -15
  172. abstra_statics/dist/editor.html +14 -14
  173. abstra_statics/dist/player.html +10 -10
  174. abstra_statics/dist/assets/AbstraButton.vue_vue_type_script_setup_true_lang.9c0844e1.js +0 -2
  175. abstra_statics/dist/assets/AbstraLogo.vue_vue_type_script_setup_true_lang.f0472c1e.js +0 -2
  176. abstra_statics/dist/assets/ApiKeys.e05d1ca1.js +0 -2
  177. abstra_statics/dist/assets/App.89fb6f4a.js +0 -2
  178. abstra_statics/dist/assets/App.vue_vue_type_style_index_0_lang.7b340da5.js +0 -2
  179. abstra_statics/dist/assets/Billing.f1e5c3f8.js +0 -2
  180. abstra_statics/dist/assets/CloseCircleOutlined.fdea1f27.js +0 -2
  181. abstra_statics/dist/assets/ConsoleOmniChat.vue_vue_type_script_setup_true_lang.cbe8dd45.js +0 -2
  182. abstra_statics/dist/assets/ContentLayout.b1b0e8fb.js +0 -2
  183. abstra_statics/dist/assets/EnvVars.84ca50aa.js +0 -2
  184. abstra_statics/dist/assets/ExclamationCircleOutlined.380af12e.js +0 -2
  185. abstra_statics/dist/assets/Home.889db6be.js +0 -2
  186. abstra_statics/dist/assets/LoadingContainer.395f4c42.js +0 -2
  187. abstra_statics/dist/assets/LoadingOutlined.6f7bdc44.js +0 -2
  188. abstra_statics/dist/assets/Login.90ebb0f6.js +0 -2
  189. abstra_statics/dist/assets/Logo.c75e45a8.js +0 -2
  190. abstra_statics/dist/assets/Main.6fd4bb0a.js +0 -2
  191. abstra_statics/dist/assets/OidcLoginCallback.17eeec42.js +0 -2
  192. abstra_statics/dist/assets/OidcLogoutCallback.b4d1c600.js +0 -2
  193. abstra_statics/dist/assets/Organizations.96e88f77.js +0 -2
  194. abstra_statics/dist/assets/PhDatabase.vue.425a706f.js +0 -2
  195. abstra_statics/dist/assets/ProjectSettings.995a749e.js +0 -2
  196. abstra_statics/dist/assets/Steps.7b2e867b.js +0 -2
  197. abstra_statics/dist/assets/Tasks.932349fa.js +0 -2
  198. abstra_statics/dist/assets/ant-design.a8b36151.js +0 -2
  199. abstra_statics/dist/assets/asyncComputed.f9fa4c71.js +0 -2
  200. abstra_statics/dist/assets/colorHelpers.b41220cb.js +0 -2
  201. abstra_statics/dist/assets/constants.b5d83622.js +0 -2
  202. abstra_statics/dist/assets/datetime.cf8e211d.js +0 -2
  203. abstra_statics/dist/assets/dayjs.68053597.js +0 -2
  204. abstra_statics/dist/assets/editor.a00709d8.js +0 -2
  205. abstra_statics/dist/assets/editor.main.80ee55a4.js +0 -2
  206. abstra_statics/dist/assets/fetch.a8fb4ba0.js +0 -2
  207. abstra_statics/dist/assets/files.e8f04848.js +0 -2
  208. abstra_statics/dist/assets/index.c59ca45b.js +0 -2
  209. abstra_statics/dist/assets/player.66868a86.js +0 -2
  210. abstra_statics/dist/assets/polling.ca800fea.js +0 -2
  211. abstra_statics/dist/assets/redirect.2f506c19.js +0 -2
  212. abstra_statics/dist/assets/router.235ae730.js +0 -2
  213. abstra_statics/dist/assets/url.79cc02c3.js +0 -2
  214. abstra_statics/dist/assets/useTables.64fe45b0.js +0 -2
  215. abstra_statics/dist/assets/userStore.339db438.js +0 -2
  216. abstra_statics/dist/assets/uuid.77e093c3.js +0 -2
  217. {abstra-3.24.6.dist-info → abstra-3.24.8.dist-info}/WHEEL +0 -0
  218. {abstra-3.24.6.dist-info → abstra-3.24.8.dist-info}/entry_points.txt +0 -0
  219. {abstra-3.24.6.dist-info → abstra-3.24.8.dist-info}/top_level.txt +0 -0
@@ -1,2 +1,2 @@
1
- var o=Object.defineProperty;var l=(t,e,s)=>e in t?o(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 u}from"./asyncComputed.f9fa4c71.js";import"./jwt-decode.esm.32f71954.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="32f16c2d-8e86-4c7e-99a6-99d8c64b4ce6",t._sentryDebugIdIdentifier="sentry-dbid-32f16c2d-8e86-4c7e-99a6-99d8c64b4ce6")}catch{}})();class f{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 f,i=u(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(c=>c.name===e);if(!s)throw new Error(`Rule ${e} not found`);return s}}export{m as L};
2
- //# sourceMappingURL=linters.3b9f6de6.js.map
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 u}from"./asyncComputed.0308626b.js";import"./jwt-decode.esm.4071145e.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]="dbfc3aa4-95de-4331-b03b-3bd86ce53b44",t._sentryDebugIdIdentifier="sentry-dbid-dbfc3aa4-95de-4331-b03b-3bd86ce53b44")}catch{}})();class f{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 f,i=u(async()=>(await r.check()).map(e=>new h(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 b{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 h{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 b(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{h as L};
2
+ //# sourceMappingURL=linters.5d49f0b2.js.map
@@ -1,7 +1,7 @@
1
- import{m as d}from"./toggleHighContrast.7b4a31db.js";import"./jwt-decode.esm.32f71954.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="51778b86-9443-492b-b406-8db7285fe7ad",t._sentryDebugIdIdentifier="sentry-dbid-51778b86-9443-492b-b406-8db7285fe7ad")}catch{}})();/*!-----------------------------------------------------------------------------
1
+ import{m as d}from"./toggleHighContrast.2a096764.js";import"./jwt-decode.esm.4071145e.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]="9c5a98a2-1c7b-4a42-a700-84823864859b",t._sentryDebugIdIdentifier="sentry-dbid-9c5a98a2-1c7b-4a42-a700-84823864859b")}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,u=Object.getOwnPropertyDescriptor,c=Object.getOwnPropertyNames,m=Object.prototype.hasOwnProperty,a=(t,e,i,o)=>{if(e&&typeof e=="object"||typeof e=="function")for(let r of c(e))!m.call(t,r)&&r!==i&&s(t,r,{get:()=>e[r],enumerable:!(o=u(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.612ef64b.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"],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.fd06ec69.js.map
@@ -1,2 +1,2 @@
1
- import{k as n}from"./router.29e08ea4.js";import"./jwt-decode.esm.32f71954.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]="32bafe82-1535-4177-826a-a741cc39ed1d",r._sentryDebugIdIdentifier="sentry-dbid-32bafe82-1535-4177-826a-a741cc39ed1d")}catch{}})();class d{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{d as M};
2
- //# sourceMappingURL=member.91dd2bc0.js.map
1
+ import{k as n}from"./router.ef7a08cf.js";import"./jwt-decode.esm.4071145e.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]="c242e7a3-c2f2-4168-8620-958205fd36f4",r._sentryDebugIdIdentifier="sentry-dbid-c242e7a3-c2f2-4168-8620-958205fd36f4")}catch{}})();class i{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{i as M};
2
+ //# sourceMappingURL=member.d4cf4c10.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.32f71954.js";import{F as _,G as y,a as k,I as M}from"./PhWebhooksLogo.vue.13c489ce.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]="af0f5507-08ab-4acf-b21a-2b24be4029b0",e._sentryDebugIdIdentifier="sentry-dbid-af0f5507-08ab-4acf-b21a-2b24be4029b0")}catch{}})();const $=["width","height","fill","transform"],b={key:0},A=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=[A],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",b,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.c5f500d1.js.map
1
+ import{d as g,at as s,c as h,o as r,ac as l,ae as p,h as Z,ed as f,e as o,i}from"./jwt-decode.esm.4071145e.js";import{F as _,G as y,a as k,I as M}from"./PhWebhooksLogo.vue.28d1edea.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]="b2cda61b-e43c-4926-83cd-b9991c14fb9a",e._sentryDebugIdIdentifier="sentry-dbid-b2cda61b-e43c-4926-83cd-b9991c14fb9a")}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",f({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)):Z("",!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",f({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)):Z("",!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 f0=e=>e==="kanban"?H0:e==="home"?O:g0(e);export{f0 as i,g0 as s,c0 as w};
2
+ //# sourceMappingURL=metadata.bd34dda0.js.map
@@ -1,9 +1,9 @@
1
- var z=Object.defineProperty;var V=(o,e,t)=>e in o?z(o,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):o[e]=t;var r=(o,e,t)=>(V(o,typeof e!="symbol"?e+"":e,t),t);import{k as S}from"./router.29e08ea4.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 ae,$ as O}from"./jwt-decode.esm.32f71954.js";import{P as oe}from"./record.41c9caee.js";import{u as C}from"./uuid.77e093c3.js";import{I as ne}from"./PhCopySimple.vue.7cacc0f7.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new Error().stack;e&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[e]="69a9a96a-ae67-4962-a79d-7833606908ab",o._sentryDebugIdIdentifier="sentry-dbid-69a9a96a-ae67-4962-a79d-7833606908ab")}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),Ce=[we],be={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(o){const e=o,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,Ce)):l.value==="regular"?(p(),m("g",be,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(o){const e=o,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-${C()}`,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
- `):"");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=C(),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 a=v;if(typeof a=="string"){if(a.includes("abstra__trigger__retry"))throw new Error("AI service requested a retry");F+=a,I+=a,this._logService.log({type:"ai-output",log:I},M)}else if(a instanceof Object)if(a.type==="ai-tool-approval"){const J=(i=a.args)==null?void 0:i.file,k=!!(((u=a.args)==null?void 0:u.replacements)||((l=a.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:a.toolCallId,description:a.title,args:a.args,disabled:k,needsApproval:!0,loading:!1,...$&&{message:$}}),((h=a.args)==null?void 0:h.file)&&((d=a.args)==null?void 0:d.replacements)){let b=a.args.replacements;typeof b=="string"&&(b=JSON.parse(b)),this.codeForApproval.value={file:a.args.file,replacements:b.map(H=>({oldContext:H.old_context,newContext:H.new_context}))}}else((g=a.args)==null?void 0:g.file)&&((n=a.args)==null?void 0:n.content)&&(this.codeForApproval.value={file:a.args.file,code:a.args.content})}else a.type==="ai-tool-call"?(this._logService.log({type:"ai-tool-approval",toolCallId:a.toolCallId,description:a.title,args:a.args,disabled:!1,needsApproval:!1,loading:!1}),M=C(),I=""):a.type==="ai-tool-call-response"&&this._logService.log({type:"ai-tool-call-response",toolCallId:a.toolCallId,response:a.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:
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.ef7a08cf.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.4071145e.js";import{P as ae}from"./record.daabed01.js";import{u as b}from"./uuid.14c9b73e.js";import{I as ne}from"./PhCopySimple.vue.33922e71.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]="8ebdf0be-adfd-4b45-acbe-47b23217e679",a._sentryDebugIdIdentifier="sentry-dbid-8ebdf0be-adfd-4b45-acbe-47b23217e679")}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
+ `):"");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(`
5
5
  `)),await this.send()});r(this,"fixIssueWithAI",async(e,t)=>{this._logService.clear(),this.setInput(["Fix the following issue in my code:",e.label,t.label].join(`
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
- `+e.log),Object.assign(s,e)):this.logs.push({...e,id:t||C()}),this.notifyListeners(e),t}clear(){this.logState.log=[]}listen(e){const t=C();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 oe,qe=ae("omniChat",()=>{const o=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=()=>{o.value=!0,l()},g=()=>{o.value=!1,h()};return{isOpen:o,isInputFocused:e,focusInput:l,blurInput:h,open:d,close:g,toggle:()=>{o.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.10d769d2.js.map
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.3d16b4ad.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.29e08ea4.js";import"./jwt-decode.esm.32f71954.js";(function(){try{var a=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new Error().stack;t&&(a._sentryDebugIds=a._sentryDebugIds||{},a._sentryDebugIds[t]="56c0c40b-095d-4bd0-86a8-7e389b138994",a._sentryDebugIdIdentifier="sentry-dbid-56c0c40b-095d-4bd0-86a8-7e389b138994")}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.2c5a9815.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.ef7a08cf.js";import"./jwt-decode.esm.4071145e.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]="383796eb-2b5a-4227-a83d-1ce7dfd0cee1",a._sentryDebugIdIdentifier="sentry-dbid-383796eb-2b5a-4227-a83d-1ce7dfd0cee1")}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.1b235ed0.js.map
@@ -1,2 +1,2 @@
1
- import{d as c,at as i,c as Z,o as l,ac as t,ae as H,h as M,ed as p,e as r}from"./jwt-decode.esm.32f71954.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]="54e4dde1-c755-4ee8-851b-feccfc87cdb2",h._sentryDebugIdIdentifier="sentry-dbid-54e4dde1-c755-4ee8-851b-feccfc87cdb2")}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=c({...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),[H(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)):M("",!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=c({...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),[H(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)):M("",!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.d718583c.js.map
1
+ import{d as H,at as i,c as Z,o as l,ac as t,ae as M,h as p,ed as c,e as r}from"./jwt-decode.esm.4071145e.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]="6af5e64f-0955-4b30-b8e5-101e05649482",h._sentryDebugIdIdentifier="sentry-dbid-6af5e64f-0955-4b30-b8e5-101e05649482")}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",c({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)):p("",!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",c({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)):p("",!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.b6b83ab9.js.map
@@ -0,0 +1,2 @@
1
+ import{C as n,D as r,E as o,F as d,P as p,G as c,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.4071145e.js";import{a as y,b as i}from"./router.e1e467ab.js";import{s as w}from"./workspaceStore.260ac7fc.js";import{_ as h}from"./App.vue_vue_type_style_index_0_lang.8bbdcede.js";import"./userStore.1004ebc1.js";import"./url.4aa6f272.js";import"./colorHelpers.93df70ab.js";import"./PlayerConfigProvider.f7be8491.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]="33b48ae4-92a4-4103-8b9d-1be2b99120e2",t._sentryDebugIdIdentifier="sentry-dbid-33b48ae4-92a4-4103-8b9d-1be2b99120e2")}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(),d(e,i,t),I.init(),e.use(i),e.use(s),e.use(p),e.mount("#app"),e.component("VSelect",c),e.component("Markdown",b),e.component("Message",m),a(e,f),a(e,g),a(e,l)})();
2
+ //# sourceMappingURL=player.9c3751ac.js.map