n8n-editor-ui 2.45.1 → 2.45.2

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 (540) hide show
  1. package/dist/assets/AddDataTableModal-RTobSHqI.js +1 -0
  2. package/dist/assets/{AgentApprovalSelector-Bkcw_K-5.js → AgentApprovalSelector-Cggd-5lI.js} +1 -1
  3. package/dist/assets/AgentBuilderView-B5QyV-rL.js +13 -0
  4. package/dist/assets/{AgentBuilderView-A82rdsu5.js → AgentBuilderView-r86RyVYu.js} +1 -1
  5. package/dist/assets/AgentChatPanel-CciUcK2s.js +16 -0
  6. package/dist/assets/AgentConfirmationModal-BfyibuBi.js +1 -0
  7. package/dist/assets/AgentDescriptionModal-BFVT5Amo.js +1 -0
  8. package/dist/assets/AgentDuplicateModal-BhVLv8KJ.js +1 -0
  9. package/dist/assets/AgentEditorModal-CbcSQ8bX.js +1 -0
  10. package/dist/assets/AgentJsonImportModal-DPWUp-hq.js +1 -0
  11. package/dist/assets/AgentModal-1r4-EeCT.js +1 -0
  12. package/dist/assets/{AgentModalMultiStep-DUvotqgL.js → AgentModalMultiStep--Ace718x.js} +1 -1
  13. package/dist/assets/AgentN8nChatView-CwDOGm70.js +1 -0
  14. package/dist/assets/AgentPreviewButton-DTN0eH2h.js +3 -0
  15. package/dist/assets/AgentPreviewDock-CCKdkYdA.js +1 -0
  16. package/dist/assets/AgentPublishedModal-WmrxNUk9.js +1 -0
  17. package/dist/assets/AgentSessionTimelineView-DiTyqj3_.js +1 -0
  18. package/dist/assets/{AgentSessionsListView-DIrYjwEr.js → AgentSessionsListView-Vy9Sbz9N.js} +1 -1
  19. package/dist/assets/AgentSessionsListView-zOkihHMw.js +1 -0
  20. package/dist/assets/AgentSkillModal-BDzIDhpY.js +109 -0
  21. package/dist/assets/AgentSubAgentsModal-Bbmdejun.js +1 -0
  22. package/dist/assets/AgentTaskModal-D4PrECxs.js +1 -0
  23. package/dist/assets/{AgentTemplateList-BMWJVFIE.js → AgentTemplateList-R3HyYw2c.js} +1 -1
  24. package/dist/assets/AgentToolConfigModal-Dvdc2CQm.js +1 -0
  25. package/dist/assets/AgentToolConfigTitleIcon--PVniSDC.js +1 -0
  26. package/dist/assets/AgentToolsConnectionModalWrapper-FVYbt8GP.js +1 -0
  27. package/dist/assets/AgentUnpublishedWorkflowsModal-B05DYhFy.js +1 -0
  28. package/dist/assets/AgentVectorStoresModal-aNlZoO93.js +1 -0
  29. package/dist/assets/AgentView-82IGNcsr.js +1 -0
  30. package/dist/assets/AgentsListView-Bei7rEHX.js +1 -0
  31. package/dist/assets/{AnimatedSpinner-Ctg6SogW.js → AnimatedSpinner-CHgTR1wQ.js} +1 -1
  32. package/dist/assets/{AnnotationTagsDropdown.ee-DaRka5kT.js → AnnotationTagsDropdown.ee-awX9A1yP.js} +1 -1
  33. package/dist/assets/AppSidebar-TQbKd8to.js +1 -0
  34. package/dist/assets/AuthLayout-CPusr2e-.js +1 -0
  35. package/dist/assets/AuthView-h97Zh2dg.js +1 -0
  36. package/dist/assets/BrowserUseSetupContent-fXXcFZ0U.js +1 -0
  37. package/dist/assets/BrowserUseSetupModal-CgzsbLn8.js +1 -0
  38. package/dist/assets/ChangePasswordModal-oySKrELP.js +1 -0
  39. package/dist/assets/{ChangePasswordView-Dx83TQ0g.js → ChangePasswordView-Ws8-NaNC.js} +1 -1
  40. package/dist/assets/ChatAgentAvatar-DnQdD86g.js +1 -0
  41. package/dist/assets/ChatAgentSearchSort-CEaTJimN.js +1 -0
  42. package/dist/assets/ChatFile-GwTkzGF5.js +1 -0
  43. package/dist/assets/ChatGreetings-B7uRyVo2.js +3 -0
  44. package/dist/assets/ChatHistoryDropdownTrigger-BXWX43qy.js +1 -0
  45. package/dist/assets/ChatLayout-BIdxC-by.js +1 -0
  46. package/dist/assets/ChatLayout-Ba05PRB8.js +1 -0
  47. package/dist/assets/{ChatMarkdownChunk-COiST6lc.js → ChatMarkdownChunk--N1ozSkk.js} +20 -20
  48. package/dist/assets/ChatPersonalAgentsView-DMTijZW9.js +1 -0
  49. package/dist/assets/ChatView-CJWS2loQ.js +1 -0
  50. package/dist/assets/ChatWorkflowAgentsView-B6fUveni.js +1 -0
  51. package/dist/assets/CollectionParameter-MfDW6esn.js +1 -0
  52. package/dist/assets/CompareCollectionView-CLZQdmBy.js +1 -0
  53. package/dist/assets/{ComputerUseSetupContent-PqEOHUcp.js → ComputerUseSetupContent-BCfv5RJF.js} +1 -1
  54. package/dist/assets/ComputerUseSetupModal-gkRKpLtX.js +1 -0
  55. package/dist/assets/ConfirmEmailChangeView-Dz_I-Gym.js +1 -0
  56. package/dist/assets/ConfirmPasswordModal-D5I8gGWd.js +1 -0
  57. package/dist/assets/ConnectionTracker-BVzDUHWV.js +1 -0
  58. package/dist/assets/CredentialSelectorModal-BSnkbvBq.js +1 -0
  59. package/dist/assets/CredentialsView-DJDj1KCA.js +1 -0
  60. package/dist/assets/DataTableActions-Dl74hzSy.js +1 -0
  61. package/dist/assets/DataTableDetailsView-UTf0FAdA.js +1 -0
  62. package/dist/assets/DataTableTable-vH8mdY0d.js +58 -0
  63. package/dist/assets/DataTableView-D8ZzSnvm.js +1 -0
  64. package/dist/assets/DefaultLayout-DYWfC3MJ.js +1 -0
  65. package/dist/assets/DeleteInstanceRoleModal-CkCkWS0t.js +1 -0
  66. package/dist/assets/DemoDiffView-DQB3zuOw.js +1 -0
  67. package/dist/assets/DemoLayout-CZIosIP3.js +1 -0
  68. package/dist/assets/DependencyPill-tRpaXH9R.js +1 -0
  69. package/dist/assets/{EmptySharedSectionActionBox-Bb-zlWDC.js → EmptySharedSectionActionBox-CWEiraYp.js} +1 -1
  70. package/dist/assets/EntityNotFound-BMxo2TCp.js +1 -0
  71. package/dist/assets/EntityUnAuthorised-BiUeRgP-.js +1 -0
  72. package/dist/assets/ErrorView-RLCPAEI4.js +1 -0
  73. package/dist/assets/EvalCollectionsListView-CoO26602.js +1 -0
  74. package/dist/assets/EvaluationsListSwitcher-D04iCXoY.js +2 -0
  75. package/dist/assets/EvaluationsPaywall-CGsd2XqS.js +1 -0
  76. package/dist/assets/EvaluationsRootView-Bm8VG4X0.js +9 -0
  77. package/dist/assets/EventDestinationSettingsModalAdapter-Bh3FH2iw.js +1 -0
  78. package/dist/assets/ExecutionsTime-C1G7dWfc.js +2 -0
  79. package/dist/assets/ExecutionsView-7OAPKltv.js +1 -0
  80. package/dist/assets/{ExposeAllWorkflowsToMcpModal-DG7WB6UD.js → ExposeAllWorkflowsToMcpModal-D65CKJ0h.js} +1 -1
  81. package/dist/assets/FixedCollectionParameter-Cp7cwlPc.js +1 -0
  82. package/dist/assets/{FolderBreadcrumbs-Q3MhcsaV.js → FolderBreadcrumbs-X7-vI9Gc.js} +1 -1
  83. package/dist/assets/{ForgotMyPasswordView-BwzAMWvi.js → ForgotMyPasswordView-BH8I4lN8.js} +1 -1
  84. package/dist/assets/GroupedMetricChart-C6koXtsb.js +1 -0
  85. package/dist/assets/{ImpactTag-olel2EGR.js → ImpactTag-BuH43MPE.js} +1 -1
  86. package/dist/assets/InboxView-CHxN66Ms.js +1 -0
  87. package/dist/assets/{InsightsChartAverageRuntime-DCYL6yNa.js → InsightsChartAverageRuntime-DUcP7-or.js} +1 -1
  88. package/dist/assets/InsightsChartFailed-UCwjxYAH.js +1 -0
  89. package/dist/assets/InsightsChartFailureRate-BJ46B5eT.js +1 -0
  90. package/dist/assets/{InsightsChartTimeSaved-Bw8ynJ5M.js → InsightsChartTimeSaved-CbxrTuT8.js} +1 -1
  91. package/dist/assets/InsightsChartTotal-_jyYxmMw.js +1 -0
  92. package/dist/assets/InsightsDashboard-DTdpJUaq.js +2 -0
  93. package/dist/assets/InsightsPaywall-Dnokvxqs.js +1 -0
  94. package/dist/assets/InsightsSummary-C71i63gu.js +1 -0
  95. package/dist/assets/InsightsTableWorkflows-o48B0la0.js +2 -0
  96. package/dist/assets/InstanceAiEmptyView-D9oMHzUz.js +1 -0
  97. package/dist/assets/{InstanceAiEmptyView-Bv7Lt6Av.css → InstanceAiEmptyView-z8NPSiUZ.css} +1 -1
  98. package/dist/assets/InstanceAiLayout-Do8Pgj1t.js +1 -0
  99. package/dist/assets/InstanceAiThreadView-BGtabf7J.js +2 -0
  100. package/dist/assets/InstanceAiThreadsView-BgjHgOYK.js +1 -0
  101. package/dist/assets/InstanceAiToolsConnectionModalWrapper-PCjwc-wb.js +1 -0
  102. package/dist/assets/InstanceAiView-BoX2-2tR.js +1 -0
  103. package/dist/assets/InstanceRoleView-DRqfps16.js +1 -0
  104. package/dist/assets/LimitedModeNotice-BsF9tAtI.js +1 -0
  105. package/dist/assets/LogStreamingPaywall-DBad_ZJs.js +1 -0
  106. package/dist/assets/LogStreamingPlaceholderView-Bw0ak2zJ.js +1 -0
  107. package/dist/assets/{MCPOnboardingModal-Bt0qH6FR.js → MCPOnboardingModal-omILa8VJ.js} +1 -1
  108. package/dist/assets/MainHeader-CnpEH-wE.js +1 -0
  109. package/dist/assets/MainSidebarHeader-DBPZfnAP.js +1 -0
  110. package/dist/assets/McpJsonNudgeModal-DhuNo9AO.js +1 -0
  111. package/dist/assets/McpRegistrySuggestionFooter-DmKOir7t.js +1 -0
  112. package/dist/assets/McpToolPermissionsEditor-51RoQ7kc.js +1 -0
  113. package/dist/assets/MfaSetupModal-D36PvA60.js +3 -0
  114. package/dist/assets/MigrationRuleDetail-8rSp7xNF.js +1 -0
  115. package/dist/assets/MigrationRules-DlD-psVt.js +1 -0
  116. package/dist/assets/ModelByIdSelectorModal-BJ48q5My.js +1 -0
  117. package/dist/assets/N8nChatAgentGrid-BSJhESgW.css +1 -0
  118. package/dist/assets/N8nChatAgentGrid-BX4ppBBb.js +1 -0
  119. package/dist/assets/N8nChatAgentLibraryView-aSqgSNgY.js +1 -0
  120. package/dist/assets/N8nChatPageLayout-B4Rb4oUz.js +1 -0
  121. package/dist/assets/NodeCreation-BGOfKHfx.js +2 -0
  122. package/dist/assets/NodeCreator-BwJLOOpn.js +1 -0
  123. package/dist/assets/NodeDetailsView-o4tvrFEO.js +1 -0
  124. package/dist/assets/NodeToolSettingsContent-UbBBs0Om.js +1 -0
  125. package/dist/assets/{NodeView-D7SVUTpC.js → NodeView-RWBmX452.js} +1 -1
  126. package/dist/assets/NodeView-horZlr1i.js +2 -0
  127. package/dist/assets/OAuthConsentView-C-Dmk-sI.js +1 -0
  128. package/dist/assets/PageViewLayout-Mod0tryt.js +1 -0
  129. package/dist/assets/ProjectBreadcrumb-C2h_xlhe.js +1 -0
  130. package/dist/assets/ProjectFilter-BY-7M3Lh.js +1 -0
  131. package/dist/assets/ProjectHeader-DPU3gqLC.js +1 -0
  132. package/dist/assets/ProjectRoleView-CZVYoKLN.js +1 -0
  133. package/dist/assets/ProjectSettings-DMwkRgiL.js +1 -0
  134. package/dist/assets/ProjectVariables-BvZ88aLB.js +1 -0
  135. package/dist/assets/PromotionBindingsFlow-vKkJvBKI.js +1 -0
  136. package/dist/assets/PromotionSelectModal-COq6Wuwt.js +1 -0
  137. package/dist/assets/PromotionsSettingsView-BBZBZntN.js +1 -0
  138. package/dist/assets/PromptMfaCodeModal-Bu9tU2os.js +1 -0
  139. package/dist/assets/ProviderSettingsModal-D3noLr-n.js +1 -0
  140. package/dist/assets/PublicationIndicator-Cd1F-8yH.js +1 -0
  141. package/dist/assets/RecentChatIcon-BGZAtez5.js +1 -0
  142. package/dist/assets/ResolversView-JxSDDvGV.js +1 -0
  143. package/dist/assets/ResourceCenterView-w69TjhYv.js +1 -0
  144. package/dist/assets/{ResourcesListEmptyState-1TRhisTa.js → ResourcesListEmptyState-D3DFMUK_.js} +1 -1
  145. package/dist/assets/ResourcesListLayout-XhhP4F_O.js +1 -0
  146. package/dist/assets/RoleSelectDropdown-B_jCYEE4.js +1 -0
  147. package/dist/assets/RolesView-CGbpgdkO.js +1 -0
  148. package/dist/assets/RunDataHtml-BCEY2V70.js +1 -0
  149. package/dist/assets/RunDataJson-CyP3e9Cz.js +2 -0
  150. package/dist/assets/{RunDataJsonActions-Czd9r4fZ.js → RunDataJsonActions-BHrgyXzH.js} +2 -2
  151. package/dist/assets/{RunDataParsedAiContent-CV60onMQ.js → RunDataParsedAiContent-C2_WDBtP.js} +1 -1
  152. package/dist/assets/{RunDataParsedAiContent-Dtiak0e8.js → RunDataParsedAiContent-DMVtr1Kf.js} +3 -3
  153. package/dist/assets/{RunDataSearch-DSRQDsXT.js → RunDataSearch-48nqe6tI.js} +1 -1
  154. package/dist/assets/RunDataTable-ChuFvp-h.js +1 -0
  155. package/dist/assets/{SamlOnboarding-uDfHOK64.js → SamlOnboarding-DDmEty-o.js} +1 -1
  156. package/dist/assets/SandboxSettingsRow-CbKGwSwk.js +1 -0
  157. package/dist/assets/SecuritySettings-CPyeRxAI.js +1 -0
  158. package/dist/assets/SettingsAIView-D-yZeyk4.js +1 -0
  159. package/dist/assets/SettingsAgentsView-LPdNw3OB.js +1 -0
  160. package/dist/assets/SettingsAiGatewayView-Do5QeA-g.js +1 -0
  161. package/dist/assets/SettingsApiView-Bi4MjYl3.js +1 -0
  162. package/dist/assets/SettingsChatHubView-DMaafhLm.js +1 -0
  163. package/dist/assets/SettingsCommunityNodesView-N7JW9FzS.js +1 -0
  164. package/dist/assets/SettingsContextView-DKVavyZ8.js +1 -0
  165. package/dist/assets/SettingsEncryptionKeys-CQaC8a4Q.js +1 -0
  166. package/dist/assets/SettingsExternalSecrets-CUm1-F0C.js +1 -0
  167. package/dist/assets/SettingsInstanceAiView-CERw-Dba.js +1 -0
  168. package/dist/assets/SettingsLayout-C9ikVf5b.js +1 -0
  169. package/dist/assets/SettingsLdapView-DNf6VEgQ.js +9 -0
  170. package/dist/assets/SettingsLogStreamingView-DvFuWgQi.js +1 -0
  171. package/dist/assets/SettingsMCPAgentsView-CfjWAynC.js +1 -0
  172. package/dist/assets/SettingsMCPClientsView-Cb73IO4C.js +1 -0
  173. package/dist/assets/SettingsMCPView-nMmK7LP7.js +11 -0
  174. package/dist/assets/SettingsMCPWorkflowsView-BTCWGcxu.js +1 -0
  175. package/dist/assets/SettingsOpenTelemetryView-BWAzc5Yz.js +1 -0
  176. package/dist/assets/SettingsPersonalView-DetUYTEO.js +1 -0
  177. package/dist/assets/SettingsPreferencesView-Cbtfu_7b.js +1 -0
  178. package/dist/assets/SettingsSecretsProviders.ee-CStcOJ-M.js +1 -0
  179. package/dist/assets/SettingsSkillsView-BbhFHRJW.js +1 -0
  180. package/dist/assets/SettingsSourceControl-Bg_oPZJ6.js +1 -0
  181. package/dist/assets/SettingsSso-BQ3MLK8L.js +3 -0
  182. package/dist/assets/SettingsUsageAndPlan-kVvGmEaV.js +1 -0
  183. package/dist/assets/SettingsUsersView-BwDPd5cx.js +1 -0
  184. package/dist/assets/{SetupView-CaZKrHDw.js → SetupView-CRRNW4jb.js} +1 -1
  185. package/dist/assets/SetupWorkflowCredentialsButton-BJ6xnMD6.js +1 -0
  186. package/dist/assets/SetupWorkflowFromTemplateView-CLMaHOML.js +1 -0
  187. package/dist/assets/SigninView-cxDw-8OO.js +1 -0
  188. package/dist/assets/SignoutView-8Ym-vDuO.js +1 -0
  189. package/dist/assets/{SignupView-XFZb-Fa3.js → SignupView-CC-nj48S.js} +1 -1
  190. package/dist/assets/{SkeletonAgentCard-D-94xUoc.js → SkeletonAgentCard-ZBQPOk2c.js} +1 -1
  191. package/dist/assets/TemplateList-Cm3qoWlq.js +1 -0
  192. package/dist/assets/TemplatesCollectionView-B6MmiGEA.js +1 -0
  193. package/dist/assets/TemplatesSearchView-BEHytHyi.js +1 -0
  194. package/dist/assets/TemplatesView-Aj-eryBz.js +1 -0
  195. package/dist/assets/TemplatesWorkflowView-oCpRl4o3.js +1 -0
  196. package/dist/assets/TestRunDetailView-Dt88d5PU.js +1 -0
  197. package/dist/assets/ToolCredentialPicker-DjPnM8M9.js +1 -0
  198. package/dist/assets/ToolIcon-Fsk8z5rO.js +1 -0
  199. package/dist/assets/ToolSettingsModal-C-EXc9s4.js +1 -0
  200. package/dist/assets/ToolsConnectionModal-B1BQo-uX.js +1 -0
  201. package/dist/assets/ToolsManagerModal-Bx4gcsBL.js +1 -0
  202. package/dist/assets/ToolsSelector-yhlW3Xpb.js +1 -0
  203. package/dist/assets/TrialIntroModal-CWDdwZ4_.js +1 -0
  204. package/dist/assets/VirtualSchema-DwC9sVru.js +1 -0
  205. package/dist/assets/WorkerView-DZhzYyMP.js +1 -0
  206. package/dist/assets/WorkflowDiffSlot-BzILKhFh.js +1 -0
  207. package/dist/assets/WorkflowExecutionsInfoAccordion-3TVUugHo.js +1 -0
  208. package/dist/assets/WorkflowExecutionsLandingPage-D3sdO3HY.js +1 -0
  209. package/dist/assets/WorkflowExecutionsPreview-D3uf9XL_.js +1 -0
  210. package/dist/assets/WorkflowExecutionsView-KvMjlzx3.js +1 -0
  211. package/dist/assets/WorkflowHistory-D7nvcByj.js +1 -0
  212. package/dist/assets/WorkflowLayout-D7w6wvRN.js +1 -0
  213. package/dist/assets/WorkflowOnboardingView-C0t4Bo8i.js +1 -0
  214. package/dist/assets/WorkflowPreviewHost-CxxJ4jm0.js +1 -0
  215. package/dist/assets/{WorkflowsView-BV6ePbIN.css → WorkflowsView-Bnw-XqDy.css} +1 -1
  216. package/dist/assets/WorkflowsView-CrZv9YHG.js +1 -0
  217. package/dist/assets/{aiTemplatesStarterCollection.store-f3AArB6m.js → aiTemplatesStarterCollection.store-BbLgwGH3.js} +2 -2
  218. package/dist/assets/app-Bw_6dj2Y.css +1 -0
  219. package/dist/assets/app-CEjK-dbs.js +908 -0
  220. package/dist/assets/auth.eventBus-ITyni6EY.js +1 -0
  221. package/dist/assets/{chartjs.utils-RJkC2HWQ.js → chartjs.utils-DHHVE2BF.js} +1 -1
  222. package/dist/assets/context.store-DiPC-BtX.js +1 -0
  223. package/dist/assets/dist-CycAmb8a.js +1 -0
  224. package/dist/assets/{dist-DJ9dUp9v.js → dist-q4GkG-dQ.js} +1 -1
  225. package/dist/assets/en-Dc2VAgbo.js +1 -0
  226. package/dist/assets/{es-QcbKfyQO.js → es-JaqSMU93.js} +1 -1
  227. package/dist/assets/expression-runtime-stub-xAbkNCFD.js +1 -0
  228. package/dist/assets/{index-DKZ2CBPE.js → index-DMhrWljL.js} +1 -1
  229. package/dist/assets/{insights.constants-By8W9kH6.js → insights.constants-BPHQY3Xs.js} +1 -1
  230. package/dist/assets/{insights.store-xzSxn2gU.js → insights.store-BbG8IfrU.js} +1 -1
  231. package/dist/assets/insights.store-Cx2cAwxh.js +1 -0
  232. package/dist/assets/{insights.utils-1tSqwtji.js → insights.utils-B-u_yIAE.js} +1 -1
  233. package/dist/assets/instanceAi.store-DE1izOW6.js +1 -0
  234. package/dist/assets/instanceAiComputerUse.telemetry-DHHonrqI.js +1 -0
  235. package/dist/assets/{instanceAiMcp.store-DLnYXpzv.js → instanceAiMcp.store-CMqkEwxf.js} +1 -1
  236. package/dist/assets/instanceAiMcp.store-DvbPNg6e.js +1 -0
  237. package/dist/assets/instanceAiSetup.telemetry-BCcsxLSt.js +1 -0
  238. package/dist/assets/{instanceRoleScopes-CDBfQybX.js → instanceRoleScopes-apcNLYox.js} +1 -1
  239. package/dist/assets/{languageModules-DZwaA3as.js → languageModules-BGAT7K-3.js} +1 -1
  240. package/dist/assets/logStreaming.store-BLf5JRhe.js +1 -0
  241. package/dist/assets/{mcpRegistry.api-CvFus8Rk.js → mcpRegistry.api-BV-G1sxH.js} +1 -1
  242. package/dist/assets/{mergeRecentChats-B2GXlVby.js → mergeRecentChats-C_xu8uCd.js} +1 -1
  243. package/dist/assets/{node-icons-DszlHJR9.js → node-icons-BSEZz-hW.js} +1 -1
  244. package/dist/assets/omit-CC9sCSeJ.js +1 -0
  245. package/dist/assets/pickBy-DCYGlCVy.js +1 -0
  246. package/dist/assets/{postMessageUtils-BXYQwSrg.js → postMessageUtils-DdzVfpJH.js} +1 -1
  247. package/dist/assets/{projectRoleScopes-CdA6h53T.js → projectRoleScopes-DyRvheKc.js} +1 -1
  248. package/dist/assets/promotions.api-C5OtW5Ij.js +1 -0
  249. package/dist/assets/promotions.eventBus-SqTgWb58.js +1 -0
  250. package/dist/assets/{promotionsSettings.api-LCwIDH72.js → promotionsSettings.api-CkUSGWnk.js} +1 -1
  251. package/dist/assets/pushConnection.store-CtnTTPVQ.js +1 -0
  252. package/dist/assets/{readyToRun.store-BLk7zW3s.js → readyToRun.store-zpeK7r0e.js} +3 -3
  253. package/dist/assets/{readyToRunWorkflows.store-DjCtO1J4.js → readyToRunWorkflows.store-DhOPBRpG.js} +2 -2
  254. package/dist/assets/{resourceCenter.store-Dmu2URgr.js → resourceCenter.store-D_DROR6L.js} +1 -1
  255. package/dist/assets/settings.store-BgORrCZi.js +1 -0
  256. package/dist/assets/skills.store-BEHnDLsg.js +1 -0
  257. package/dist/assets/{src-IPTuBW4n.js → src-BisyMISp.js} +1 -1
  258. package/dist/assets/{src-B6xDjyUC.js → src-C7lyoCFa.js} +1 -1
  259. package/dist/assets/surfaceMcpToNewCloudUsers.store-DtlvyQYn.js +1 -0
  260. package/dist/assets/templateActions-0oeYWg04.js +1 -0
  261. package/dist/assets/thread-title-DMNwYZHJ.js +1 -0
  262. package/dist/assets/{typescript.worker-CfGc5jm9.js → typescript.worker-CqaU97Df.js} +2 -2
  263. package/dist/assets/useActivityDetection-Phdns3Ep.js +1 -0
  264. package/dist/assets/useAgentConfirmationModal-BxIr4kX-.js +1 -0
  265. package/dist/assets/useBuilderStreamingGuard-DOC-wQk3.js +1 -0
  266. package/dist/assets/useCustomAgent-nQv4Ew7C.js +1 -0
  267. package/dist/assets/{useDependencyMenu-CKpFwZRq.js → useDependencyMenu-C2SqzzZB.js} +1 -1
  268. package/dist/assets/useElementOverflow-BS4Ai0qy.js +1 -0
  269. package/dist/assets/{useEvalCollectionsFlag-O2rzsNZx.js → useEvalCollectionsFlag-CH8LylHl.js} +1 -1
  270. package/dist/assets/{useEvaluationsLicense-DekUoTAY.js → useEvaluationsLicense-I5WuJNMv.js} +1 -1
  271. package/dist/assets/{useExecutionData-ZS6cwsOG.js → useExecutionData-PNA3k7oe.js} +1 -1
  272. package/dist/assets/useExecutionDebugging-CxRXi8qW.js +2 -0
  273. package/dist/assets/{useExposeAllWorkflowsToMcpOffer-2RacvKIR.js → useExposeAllWorkflowsToMcpOffer-BXxN56Sh.js} +1 -1
  274. package/dist/assets/{useExtensionDirectConnect-DZoNxDcG.js → useExtensionDirectConnect-D0epiKw4.js} +1 -1
  275. package/dist/assets/useFileDrop-dF1hpAxN.js +1 -0
  276. package/dist/assets/{useImportCurlCommand-BaD-muzH.js → useImportCurlCommand-BbcklOAC.js} +1 -1
  277. package/dist/assets/useInstanceAiConfiguration-D4f1mbgG.js +1 -0
  278. package/dist/assets/{useInstancePromotionConnection-DxKsF8xf.js → useInstancePromotionConnection-C1HI9sNX.js} +1 -1
  279. package/dist/assets/{useIntersectionObserver-DNhtbdo2.js → useIntersectionObserver-CsghdJjZ.js} +1 -1
  280. package/dist/assets/{useIntersectionObserver-Dquw21ul.js → useIntersectionObserver-Dl14YqKN.js} +1 -1
  281. package/dist/assets/useIsAssistantAtMentionsEnabled-WaHG7IPK.js +1 -0
  282. package/dist/assets/useLogsTreeExpand-CO7Uz2l-.js +1 -0
  283. package/dist/assets/{useMcpJsonNudgeEligibility-CWb8lPpo.js → useMcpJsonNudgeEligibility-DTxwHpPg.js} +1 -1
  284. package/dist/assets/useMcpJsonNudgeTrigger-rqpDtP_p.js +1 -0
  285. package/dist/assets/useMcpServerConnect-DvgKlUju.js +1 -0
  286. package/dist/assets/useMergedChatHistory-DxNJC1rO.js +1 -0
  287. package/dist/assets/useOAuthClientRevoke-BXL94dgD.js +1 -0
  288. package/dist/assets/usePagedN8nChatThreads-D6frSJX_.js +1 -0
  289. package/dist/assets/{usePostMessageHandler-kWk6Npqd.js → usePostMessageHandler-B-DUGVlL.js} +2 -2
  290. package/dist/assets/{usePushConnection-DZi1t7OA.js → usePushConnection-CWydDe6C.js} +1 -1
  291. package/dist/assets/usePushConnection-sXNcxK2k.js +1 -0
  292. package/dist/assets/useRoleEditorForm-Bwl8sHZV.js +1 -0
  293. package/dist/assets/{useSecretsProvidersList.ee-C2pMAL3I.js → useSecretsProvidersList.ee-9lScduw6.js} +1 -1
  294. package/dist/assets/useSettingsItems-DQXZ0A-r.js +1 -0
  295. package/dist/assets/{useSidebarLayout-DTSm4wHd.js → useSidebarLayout-BD6SGAHr.js} +1 -1
  296. package/dist/assets/useWorkflowEvaluationState-MN7OiFvP.js +1 -0
  297. package/dist/assets/useWorkflowInitialization-CbKm2S9Z.js +1 -0
  298. package/dist/assets/{useWorkflowReviewsFeature-BEmkimZV.js → useWorkflowReviewsFeature-cyw-JrOp.js} +1 -1
  299. package/dist/assets/useWorkflowsEmptyState-qQ84gjxK.js +1 -0
  300. package/dist/assets/userRoleProvisioning.store-DgDvosLf.js +1 -0
  301. package/dist/assets/{vector-stores-DDzZ1pUD.js → vector-stores-yOe7iq35.js} +1 -1
  302. package/dist/assets/{vendor-BhCrJHkF.js → vendor-CvFzIYav.js} +115 -115
  303. package/dist/assets/verified-Bc_FMJyk.js +1 -0
  304. package/dist/assets/{worker-C1dMulya.js → worker-7iY1JegW.js} +2 -2
  305. package/dist/assets/{workers-D-WgIP5Y.js → workers-Dp499Us8.js} +1 -1
  306. package/dist/index.html +4 -4
  307. package/dist/static/n8n-logo.png +0 -0
  308. package/package.json +1 -1
  309. package/dist/assets/AddDataTableModal-CnouX_lW.js +0 -1
  310. package/dist/assets/AgentBuilderView-16ozBuV4.js +0 -13
  311. package/dist/assets/AgentChatPanel-mr1o-MXb.js +0 -16
  312. package/dist/assets/AgentConfirmationModal-OjlWFYMK.js +0 -1
  313. package/dist/assets/AgentDescriptionModal-B1zrZ7f_.js +0 -1
  314. package/dist/assets/AgentDuplicateModal-Il6GRCiQ.js +0 -1
  315. package/dist/assets/AgentEditorModal-CdQAvv85.js +0 -1
  316. package/dist/assets/AgentJsonImportModal-DJlx0fdC.js +0 -1
  317. package/dist/assets/AgentModal-CY-bt8xE.js +0 -1
  318. package/dist/assets/AgentN8nChatView-BOKY9GPo.js +0 -1
  319. package/dist/assets/AgentPreviewButton-DTZN-1oP.js +0 -3
  320. package/dist/assets/AgentPreviewDock-C62cN3RV.js +0 -1
  321. package/dist/assets/AgentPublishedModal-B58Tz8Xh.js +0 -1
  322. package/dist/assets/AgentSessionTimelineView-rKVuU8QU.js +0 -1
  323. package/dist/assets/AgentSessionsListView-BV_WiAup.js +0 -1
  324. package/dist/assets/AgentSkillModal-Cbej2vaa.js +0 -109
  325. package/dist/assets/AgentSubAgentsModal-Dj2etehf.js +0 -1
  326. package/dist/assets/AgentTaskModal-C5dDwkWt.js +0 -1
  327. package/dist/assets/AgentToolConfigModal-9aut-Av_.js +0 -1
  328. package/dist/assets/AgentToolConfigTitleIcon-C1BFYsMm.js +0 -1
  329. package/dist/assets/AgentToolsConnectionModalWrapper-tQIKnEOR.js +0 -1
  330. package/dist/assets/AgentUnpublishedWorkflowsModal-CNrQTJ3h.js +0 -1
  331. package/dist/assets/AgentVectorStoresModal-DUoSFr61.js +0 -1
  332. package/dist/assets/AgentView-YVpI_0a3.js +0 -1
  333. package/dist/assets/AgentsListView-DAUuOg62.js +0 -1
  334. package/dist/assets/AppSidebar-BQdjxHrS.js +0 -1
  335. package/dist/assets/AuthLayout-CcXILwUv.js +0 -1
  336. package/dist/assets/AuthView-Dn_3iQuw.js +0 -1
  337. package/dist/assets/BrowserUseSetupContent-CVKTjulc.js +0 -1
  338. package/dist/assets/BrowserUseSetupModal-BeNWWm4S.js +0 -1
  339. package/dist/assets/ChangePasswordModal-CTqFVMDg.js +0 -1
  340. package/dist/assets/ChatAgentAvatar-CQ8ilTmV.js +0 -1
  341. package/dist/assets/ChatAgentSearchSort-CaUc4YeZ.js +0 -1
  342. package/dist/assets/ChatFile-CM2lCuwk.js +0 -1
  343. package/dist/assets/ChatGreetings-Bga6bzFM.js +0 -3
  344. package/dist/assets/ChatHistoryDropdownTrigger-DF7wkJhF.js +0 -1
  345. package/dist/assets/ChatLayout-CIeIMmvr.js +0 -1
  346. package/dist/assets/ChatLayout-DLnz8rjh.js +0 -1
  347. package/dist/assets/ChatPersonalAgentsView-COz3LcQX.js +0 -1
  348. package/dist/assets/ChatView-CV_cIQDt.js +0 -1
  349. package/dist/assets/ChatWorkflowAgentsView-DOB5FyAD.js +0 -1
  350. package/dist/assets/CollectionParameter-0vojqp5Z.js +0 -1
  351. package/dist/assets/CompareCollectionView-W9zYWCOv.js +0 -1
  352. package/dist/assets/ComputerUseSetupModal-CYjrQyzm.js +0 -1
  353. package/dist/assets/ConfirmEmailChangeView-BLKoHqmA.js +0 -1
  354. package/dist/assets/ConfirmPasswordModal-C-0DeaZR.js +0 -1
  355. package/dist/assets/ConnectionTracker-Db11XQ0f.js +0 -1
  356. package/dist/assets/CredentialSelectorModal-BLXz4KlG.js +0 -1
  357. package/dist/assets/CredentialsView-Bvq4ib7M.js +0 -1
  358. package/dist/assets/DataTableActions-3_WMdWPu.js +0 -1
  359. package/dist/assets/DataTableDetailsView-Bb20AGC1.js +0 -1
  360. package/dist/assets/DataTableTable-C8UCWkRE.js +0 -58
  361. package/dist/assets/DataTableView-BGLCAgx5.js +0 -1
  362. package/dist/assets/DefaultLayout-2NXDw5qF.js +0 -1
  363. package/dist/assets/DeleteInstanceRoleModal-B5RoykdZ.js +0 -1
  364. package/dist/assets/DemoDiffView-xoaMe_lO.js +0 -1
  365. package/dist/assets/DemoLayout-DZLROl2A.js +0 -1
  366. package/dist/assets/DependencyPill-dKmTyB4q.js +0 -1
  367. package/dist/assets/EntityNotFound-JS8OPYSH.js +0 -1
  368. package/dist/assets/EntityUnAuthorised-DooxTaJg.js +0 -1
  369. package/dist/assets/ErrorView-BZD2XmVN.js +0 -1
  370. package/dist/assets/EvalCollectionsListView-D0BwUbqQ.js +0 -1
  371. package/dist/assets/EvaluationsListSwitcher-Ck3YF3jp.js +0 -2
  372. package/dist/assets/EvaluationsPaywall-C3iSnTyW.js +0 -1
  373. package/dist/assets/EvaluationsRootView-D_iWMnF-.js +0 -9
  374. package/dist/assets/EventDestinationSettingsModalAdapter-BU5CTeca.js +0 -1
  375. package/dist/assets/ExecutionsTime-BNim7ake.js +0 -2
  376. package/dist/assets/ExecutionsView-D6Cu16v8.js +0 -1
  377. package/dist/assets/FixedCollectionParameter-Dc0M5RZb.js +0 -1
  378. package/dist/assets/GroupedMetricChart-F35AoFb5.js +0 -1
  379. package/dist/assets/InboxView-BTsPE3LL.js +0 -1
  380. package/dist/assets/InsightsChartFailed-CZSwN7BY.js +0 -1
  381. package/dist/assets/InsightsChartFailureRate-BUZJgH6k.js +0 -1
  382. package/dist/assets/InsightsChartTotal-BZq2kEsn.js +0 -1
  383. package/dist/assets/InsightsDashboard-CsgNQ0J4.js +0 -2
  384. package/dist/assets/InsightsPaywall-D1xHDCXr.js +0 -1
  385. package/dist/assets/InsightsSummary-CAddOiRy.js +0 -1
  386. package/dist/assets/InsightsTableWorkflows-hqS54BLa.js +0 -2
  387. package/dist/assets/InstanceAiEmptyView-BgN6CEWL.js +0 -1
  388. package/dist/assets/InstanceAiLayout-CUPV2Daa.js +0 -1
  389. package/dist/assets/InstanceAiThreadView-DHi5rwS8.js +0 -2
  390. package/dist/assets/InstanceAiThreadsView-BWqe6dot.js +0 -1
  391. package/dist/assets/InstanceAiToolsConnectionModalWrapper-2PoAXCET.js +0 -1
  392. package/dist/assets/InstanceAiView-Il5CAz76.js +0 -1
  393. package/dist/assets/InstanceRoleView-Cbe5S4Rg.js +0 -1
  394. package/dist/assets/LimitedModeNotice-BSlv9Okx.js +0 -1
  395. package/dist/assets/LogStreamingPaywall-BYN3W5J2.js +0 -1
  396. package/dist/assets/LogStreamingPlaceholderView-DtuAoRMf.js +0 -1
  397. package/dist/assets/MainHeader-DJZs1n_g.js +0 -1
  398. package/dist/assets/MainSidebarHeader-TIQwL7gv.js +0 -1
  399. package/dist/assets/McpJsonNudgeModal-yULAzM4s.js +0 -1
  400. package/dist/assets/McpRegistrySuggestionFooter-CQ0TX658.js +0 -1
  401. package/dist/assets/McpToolPermissionsEditor-Hu6Ok39M.js +0 -1
  402. package/dist/assets/MfaSetupModal-OlryyZcu.js +0 -3
  403. package/dist/assets/MigrationRuleDetail-Dl7Iaoga.js +0 -1
  404. package/dist/assets/MigrationRules-C2oMp5mL.js +0 -1
  405. package/dist/assets/ModelByIdSelectorModal-BikBKx3s.js +0 -1
  406. package/dist/assets/N8nChatAgentGrid-CXaAPVuT.js +0 -1
  407. package/dist/assets/N8nChatAgentGrid-WNyvsQD-.css +0 -1
  408. package/dist/assets/N8nChatAgentLibraryView-B1_kjqbq.js +0 -1
  409. package/dist/assets/N8nChatPageLayout-CfK0ksWs.js +0 -1
  410. package/dist/assets/NodeCreation-C8NQfvSc.js +0 -2
  411. package/dist/assets/NodeCreator-Dhn56G_x.js +0 -1
  412. package/dist/assets/NodeDetailsView-CAAioFB0.js +0 -1
  413. package/dist/assets/NodeToolSettingsContent-CxbIBOhk.js +0 -1
  414. package/dist/assets/NodeView-DmTnEQWu.js +0 -2
  415. package/dist/assets/OAuthConsentView-BrSdVDko.js +0 -1
  416. package/dist/assets/PageViewLayout-BDZtczRw.js +0 -1
  417. package/dist/assets/ProjectBreadcrumb-BQOUCFvv.js +0 -1
  418. package/dist/assets/ProjectFilter-DnVI8kJu.js +0 -1
  419. package/dist/assets/ProjectHeader-DV4GEQFs.js +0 -1
  420. package/dist/assets/ProjectRoleView-Nht7c_dk.js +0 -1
  421. package/dist/assets/ProjectSettings-BxsOIjzO.js +0 -1
  422. package/dist/assets/ProjectVariables-KRENS955.js +0 -1
  423. package/dist/assets/PromotionBindingsFlow-B3AvYFzC.js +0 -1
  424. package/dist/assets/PromotionSelectModal-C3POdwXl.js +0 -1
  425. package/dist/assets/PromotionsSettingsView-BW8iGrPa.js +0 -1
  426. package/dist/assets/PromptMfaCodeModal-D6ZwRtkd.js +0 -1
  427. package/dist/assets/ProviderSettingsModal-BjU0JR3R.js +0 -1
  428. package/dist/assets/PublicationIndicator-C7kmhY5a.js +0 -1
  429. package/dist/assets/RecentChatIcon-CwVcFAsO.js +0 -1
  430. package/dist/assets/ResolversView-DTbt13yV.js +0 -1
  431. package/dist/assets/ResourceCenterView-Ab043YJ7.js +0 -1
  432. package/dist/assets/ResourcesListLayout-LNJiSnId.js +0 -1
  433. package/dist/assets/RoleSelectDropdown-Biptg0T-.js +0 -1
  434. package/dist/assets/RolesView-QEm5MhKn.js +0 -1
  435. package/dist/assets/RunDataHtml-BNASiBsX.js +0 -1
  436. package/dist/assets/RunDataJson-B1QhTFkL.js +0 -2
  437. package/dist/assets/RunDataTable-BQF6HoQi.js +0 -1
  438. package/dist/assets/SandboxSettingsRow-BqnHTu8z.js +0 -1
  439. package/dist/assets/SecuritySettings-4K6YtYx3.js +0 -1
  440. package/dist/assets/SettingsAIView-D5JL2N4p.js +0 -1
  441. package/dist/assets/SettingsAgentsView-qKot8brE.js +0 -1
  442. package/dist/assets/SettingsAiGatewayView-2AkFNSwp.js +0 -1
  443. package/dist/assets/SettingsApiView-B60HA1jQ.js +0 -1
  444. package/dist/assets/SettingsChatHubView-CIyeXFCU.js +0 -1
  445. package/dist/assets/SettingsCommunityNodesView-BYmkekRm.js +0 -1
  446. package/dist/assets/SettingsContextView-QoBEcUBg.js +0 -1
  447. package/dist/assets/SettingsEncryptionKeys-CaMToQ7X.js +0 -1
  448. package/dist/assets/SettingsExternalSecrets-jIWVLWUt.js +0 -1
  449. package/dist/assets/SettingsInstanceAiView-Dnarfh5h.js +0 -1
  450. package/dist/assets/SettingsLayout-hqizRU56.js +0 -1
  451. package/dist/assets/SettingsLdapView-B9WydvoB.js +0 -9
  452. package/dist/assets/SettingsLogStreamingView-CW1aN3Nt.js +0 -1
  453. package/dist/assets/SettingsMCPAgentsView-B4Itmflo.js +0 -1
  454. package/dist/assets/SettingsMCPClientsView-XbsJDBsJ.js +0 -1
  455. package/dist/assets/SettingsMCPView-sQCkNk_S.js +0 -11
  456. package/dist/assets/SettingsMCPWorkflowsView-B3bgUJiw.js +0 -1
  457. package/dist/assets/SettingsOpenTelemetryView-Z1sk0qGD.js +0 -1
  458. package/dist/assets/SettingsPersonalView-frxF_We4.js +0 -1
  459. package/dist/assets/SettingsPreferencesView-B-sWtwkf.js +0 -1
  460. package/dist/assets/SettingsSecretsProviders.ee-BnKfK_Yg.js +0 -1
  461. package/dist/assets/SettingsSkillsView-BcLNUz8X.js +0 -1
  462. package/dist/assets/SettingsSourceControl-3GJA_S7L.js +0 -1
  463. package/dist/assets/SettingsSso-C6KKlP1V.js +0 -3
  464. package/dist/assets/SettingsUsageAndPlan-h-u1_kTt.js +0 -1
  465. package/dist/assets/SettingsUsersView-CqhPDQ_V.js +0 -1
  466. package/dist/assets/SetupWorkflowCredentialsButton-q6BtQkQd.js +0 -1
  467. package/dist/assets/SetupWorkflowFromTemplateView-dKkPxEH8.js +0 -1
  468. package/dist/assets/SigninView-BIMKrVRW.js +0 -1
  469. package/dist/assets/SignoutView-M-89sowN.js +0 -1
  470. package/dist/assets/TemplateList-mDZlQqOt.js +0 -1
  471. package/dist/assets/TemplatesCollectionView-DLoptgJh.js +0 -1
  472. package/dist/assets/TemplatesSearchView-uBPSSiox.js +0 -1
  473. package/dist/assets/TemplatesView-JM8jG3Pt.js +0 -1
  474. package/dist/assets/TemplatesWorkflowView-J84Z3uth.js +0 -1
  475. package/dist/assets/TestRunDetailView-Cr7oiGRJ.js +0 -1
  476. package/dist/assets/ToolCredentialPicker-BcIqfvMX.js +0 -1
  477. package/dist/assets/ToolIcon-D-4dkjTL.js +0 -1
  478. package/dist/assets/ToolSettingsModal-C0PPiCzj.js +0 -1
  479. package/dist/assets/ToolsConnectionModal-DKOrN_Zj.js +0 -1
  480. package/dist/assets/ToolsManagerModal-g74uXI4G.js +0 -1
  481. package/dist/assets/ToolsSelector-D88UpDuv.js +0 -1
  482. package/dist/assets/TrialIntroModal-Cu6LaXt2.js +0 -1
  483. package/dist/assets/VirtualSchema-BXcOHQx2.js +0 -1
  484. package/dist/assets/WorkerView-ClPiut93.js +0 -1
  485. package/dist/assets/WorkflowDiffSlot-B3IcJmG_.js +0 -1
  486. package/dist/assets/WorkflowExecutionsInfoAccordion-DEQUdz74.js +0 -1
  487. package/dist/assets/WorkflowExecutionsLandingPage-zwTq774D.js +0 -1
  488. package/dist/assets/WorkflowExecutionsPreview-Cen7jo6h.js +0 -1
  489. package/dist/assets/WorkflowExecutionsView-Byc1u3TT.js +0 -1
  490. package/dist/assets/WorkflowHistory-aa9n4gFO.js +0 -1
  491. package/dist/assets/WorkflowLayout-8ftOlj69.js +0 -1
  492. package/dist/assets/WorkflowOnboardingView-B7LqnNr1.js +0 -1
  493. package/dist/assets/WorkflowPreviewHost-Mc0L_nNO.js +0 -1
  494. package/dist/assets/WorkflowsView-aeTZb5Zm.js +0 -1
  495. package/dist/assets/app-Dk2ZaS_x.js +0 -908
  496. package/dist/assets/app-Dnd9hgcq.css +0 -1
  497. package/dist/assets/auth.eventBus-4Yg7R9w5.js +0 -1
  498. package/dist/assets/context.store-t_PSgqlz.js +0 -1
  499. package/dist/assets/dist-CmUZjbd7.js +0 -1
  500. package/dist/assets/en-CD0-RqO7.js +0 -1
  501. package/dist/assets/expression-runtime-stub-7uiNVdrO.js +0 -1
  502. package/dist/assets/insights.store-Ddz_Hnu2.js +0 -1
  503. package/dist/assets/instanceAi.store-3Xqzxrgc.js +0 -1
  504. package/dist/assets/instanceAiComputerUse.telemetry-B2rH_ZtP.js +0 -1
  505. package/dist/assets/instanceAiMcp.store-bLeLM92G.js +0 -1
  506. package/dist/assets/instanceAiSetup.telemetry-DgcOUALB.js +0 -1
  507. package/dist/assets/logStreaming.store-HqOw7TdV.js +0 -1
  508. package/dist/assets/omit-C1sllL8n.js +0 -1
  509. package/dist/assets/pickBy-qv54EikE.js +0 -1
  510. package/dist/assets/promotions.api-Bpd2K5jA.js +0 -1
  511. package/dist/assets/promotions.eventBus-CoU6_KPZ.js +0 -1
  512. package/dist/assets/pushConnection.store-Bl9K1sZn.js +0 -1
  513. package/dist/assets/settings.store-BjTEAdn2.js +0 -1
  514. package/dist/assets/skills.store-ZAPQ-6xL.js +0 -1
  515. package/dist/assets/surfaceMcpToNewCloudUsers.store-BAEER1is.js +0 -1
  516. package/dist/assets/templateActions-BedvC9Xe.js +0 -1
  517. package/dist/assets/thread-title-CAq3yr76.js +0 -1
  518. package/dist/assets/useActivityDetection-DxyKMwRM.js +0 -1
  519. package/dist/assets/useAgentConfirmationModal-CSOFBu-M.js +0 -1
  520. package/dist/assets/useBuilderStreamingGuard-BCml8pvL.js +0 -1
  521. package/dist/assets/useCustomAgent-DK2NcFQt.js +0 -1
  522. package/dist/assets/useElementOverflow-BBB_9K_I.js +0 -1
  523. package/dist/assets/useExecutionDebugging-CTk5o6an.js +0 -2
  524. package/dist/assets/useFileDrop-CZ80ncDq.js +0 -1
  525. package/dist/assets/useInstanceAiConfiguration-DkIDywCX.js +0 -1
  526. package/dist/assets/useIsAssistantAtMentionsEnabled-t-InfdQY.js +0 -1
  527. package/dist/assets/useLogsTreeExpand-CxCJfkvS.js +0 -1
  528. package/dist/assets/useMcpJsonNudgeTrigger-a1zGjvj7.js +0 -1
  529. package/dist/assets/useMcpServerConnect-D1omw8xM.js +0 -1
  530. package/dist/assets/useMergedChatHistory-B1bYgBPU.js +0 -1
  531. package/dist/assets/useOAuthClientRevoke-YoP39bPB.js +0 -1
  532. package/dist/assets/usePagedN8nChatThreads-CfZl2qaf.js +0 -1
  533. package/dist/assets/usePushConnection-DfTgWXWk.js +0 -1
  534. package/dist/assets/useRoleEditorForm-lVrfOzEc.js +0 -1
  535. package/dist/assets/useSettingsItems-BrZ8HCc2.js +0 -1
  536. package/dist/assets/useWorkflowEvaluationState-CCfQAPtP.js +0 -1
  537. package/dist/assets/useWorkflowInitialization-DXk_CwyR.js +0 -1
  538. package/dist/assets/useWorkflowsEmptyState-Dxv8z3cM.js +0 -1
  539. package/dist/assets/userRoleProvisioning.store-DPw68R1U.js +0 -1
  540. package/dist/assets/verified-m11ijon0.js +0 -1
@@ -1,3 +0,0 @@
1
- try{(function(){var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`54f50f21-ffab-48a6-a131-f39469188268`,e._sentryDebugIdIdentifier=`sentry-dbid-54f50f21-ffab-48a6-a131-f39469188268`)})()}catch{}import{o as e,t}from"./rolldown-runtime-BobR2NKB.js";import{$d as n,$f as r,Dd as i,Ed as a,Fd as o,Mf as s,Od as c,Sd as l,Td as u,Zd as d,ef as f,ff as p,ip as m,kd as h,zs as g}from"./vendor-BhCrJHkF.js";import{AE as _,TE as v,gi as y,hE as b,hi as x,ni as ee,ww as te,xE as S}from"./app-Dk2ZaS_x.js";var ne=t((e=>{Object.defineProperty(e,`__esModule`,{value:!0});var t=class extends Error{},n=class extends t{constructor(e){super(`Invalid DateTime: ${e.toMessage()}`)}},r=class extends t{constructor(e){super(`Invalid Interval: ${e.toMessage()}`)}},i=class extends t{constructor(e){super(`Invalid Duration: ${e.toMessage()}`)}},a=class extends t{},o=class extends t{constructor(e){super(`Invalid unit ${e}`)}},s=class extends t{},c=class extends t{constructor(){super(`Zone is an abstract class`)}},l=`numeric`,u=`short`,d=`long`,f={year:l,month:l,day:l},p={year:l,month:u,day:l},m={year:l,month:u,day:l,weekday:u},h={year:l,month:d,day:l},g={year:l,month:d,day:l,weekday:d},_={hour:l,minute:l},v={hour:l,minute:l,second:l},y={hour:l,minute:l,second:l,timeZoneName:u},b={hour:l,minute:l,second:l,timeZoneName:d},x={hour:l,minute:l,hourCycle:`h23`},ee={hour:l,minute:l,second:l,hourCycle:`h23`},te={hour:l,minute:l,second:l,hourCycle:`h23`,timeZoneName:u},S={hour:l,minute:l,second:l,hourCycle:`h23`,timeZoneName:d},ne={year:l,month:l,day:l,hour:l,minute:l},re={year:l,month:l,day:l,hour:l,minute:l,second:l},ie={year:l,month:u,day:l,hour:l,minute:l},C={year:l,month:u,day:l,hour:l,minute:l,second:l},ae={year:l,month:u,day:l,weekday:u,hour:l,minute:l},oe={year:l,month:d,day:l,hour:l,minute:l,timeZoneName:u},se={year:l,month:d,day:l,hour:l,minute:l,second:l,timeZoneName:u},ce={year:l,month:d,day:l,weekday:d,hour:l,minute:l,timeZoneName:d},le={year:l,month:d,day:l,weekday:d,hour:l,minute:l,second:l,timeZoneName:d},w=class{get type(){throw new c}get name(){throw new c}get ianaName(){return this.name}get isUniversal(){throw new c}offsetName(e,t){throw new c}formatOffset(e,t){throw new c}offset(e){throw new c}equals(e){throw new c}get isValid(){throw new c}},ue=null,T=class e extends w{static get instance(){return ue===null&&(ue=new e),ue}get type(){return`system`}get name(){return new Intl.DateTimeFormat().resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(e,{format:t,locale:n}){return It(e,t,n)}formatOffset(e,t){return Bt(this.offset(e),t)}offset(e){return-new Date(e).getTimezoneOffset()}equals(e){return e.type===`system`}get isValid(){return!0}},E=new Map;function de(e){let t=E.get(e);return t===void 0&&(t=new Intl.DateTimeFormat(`en-US`,{hour12:!1,timeZone:e,year:`numeric`,month:`2-digit`,day:`2-digit`,hour:`2-digit`,minute:`2-digit`,second:`2-digit`,era:`short`}),E.set(e,t)),t}var fe={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};function pe(e,t){let n=e.format(t).replace(/\u200E/g,``),[,r,i,a,o,s,c,l]=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(n);return[a,r,i,o,s,c,l]}function me(e,t){let n=e.formatToParts(t),r=[];for(let e=0;e<n.length;e++){let{type:t,value:i}=n[e],a=fe[t];t===`era`?r[a]=i:F(a)||(r[a]=parseInt(i,10))}return r}var he=new Map,D=class e extends w{static create(t){let n=he.get(t);return n===void 0&&he.set(t,n=new e(t)),n}static resetCache(){he.clear(),E.clear()}static isValidSpecifier(e){return this.isValidZone(e)}static isValidZone(e){if(!e)return!1;try{return new Intl.DateTimeFormat(`en-US`,{timeZone:e}).format(),!0}catch{return!1}}constructor(t){super(),this.zoneName=t,this.valid=e.isValidZone(t)}get type(){return`iana`}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(e,{format:t,locale:n}){return It(e,t,n,this.name)}formatOffset(e,t){return Bt(this.offset(e),t)}offset(e){if(!this.valid)return NaN;let t=new Date(e);if(isNaN(t))return NaN;let n=de(this.name),[r,i,a,o,s,c,l]=n.formatToParts?me(n,t):pe(n,t);o===`BC`&&(r=-Math.abs(r)+1);let u=Mt({year:r,month:i,day:a,hour:s===24?0:s,minute:c,second:l,millisecond:0}),d=+t,f=d%1e3;return d-=f>=0?f:1e3+f,(u-d)/(60*1e3)}equals(e){return e.type===`iana`&&e.name===this.name}get isValid(){return this.valid}},ge={};function _e(e,t={}){let n=JSON.stringify([e,t]),r=ge[n];return r||(r=new Intl.ListFormat(e,t),ge[n]=r),r}var ve=new Map;function ye(e,t={}){let n=JSON.stringify([e,t]),r=ve.get(n);return r===void 0&&(r=new Intl.DateTimeFormat(e,t),ve.set(n,r)),r}var be=new Map;function xe(e,t={}){let n=JSON.stringify([e,t]),r=be.get(n);return r===void 0&&(r=new Intl.NumberFormat(e,t),be.set(n,r)),r}var Se=new Map;function Ce(e,t={}){let{base:n,...r}=t,i=JSON.stringify([e,r]),a=Se.get(i);return a===void 0&&(a=new Intl.RelativeTimeFormat(e,t),Se.set(i,a)),a}var we=null;function Te(){return we||(we=new Intl.DateTimeFormat().resolvedOptions().locale,we)}var Ee=new Map;function De(e){let t=Ee.get(e);return t===void 0&&(t=new Intl.DateTimeFormat(e).resolvedOptions(),Ee.set(e,t)),t}var Oe=new Map;function ke(e){let t=Oe.get(e);if(!t){let n=new Intl.Locale(e);t=`getWeekInfo`in n?n.getWeekInfo():n.weekInfo,`minimalDays`in t||(t={...ze,...t}),Oe.set(e,t)}return t}function Ae(e){let t=e.indexOf(`-x-`);t!==-1&&(e=e.substring(0,t));let n=e.indexOf(`-u-`);if(n===-1)return[e];{let t,r;try{t=ye(e).resolvedOptions(),r=e}catch{let i=e.substring(0,n);t=ye(i).resolvedOptions(),r=i}let{numberingSystem:i,calendar:a}=t;return[r,i,a]}}function je(e,t,n){return n||t?(e.includes(`-u-`)||(e+=`-u`),n&&(e+=`-ca-${n}`),t&&(e+=`-nu-${t}`),e):e}function Me(e){let t=[];for(let n=1;n<=12;n++){let r=$.utc(2009,n,1);t.push(e(r))}return t}function Ne(e){let t=[];for(let n=1;n<=7;n++){let r=$.utc(2016,11,13+n);t.push(e(r))}return t}function Pe(e,t,n,r){let i=e.listingMode();return i===`error`?null:i===`en`?n(t):r(t)}function Fe(e){return e.numberingSystem&&e.numberingSystem!==`latn`?!1:e.numberingSystem===`latn`||!e.locale||e.locale.startsWith(`en`)||De(e.locale).numberingSystem===`latn`}var Ie=class{constructor(e,t,n){this.padTo=n.padTo||0,this.floor=n.floor||!1;let{padTo:r,floor:i,...a}=n;if(!t||Object.keys(a).length>0){let t={useGrouping:!1,...n};n.padTo>0&&(t.minimumIntegerDigits=n.padTo),this.inf=xe(e,t)}}format(e){if(this.inf){let t=this.floor?Math.floor(e):e;return this.inf.format(t)}else return R(this.floor?Math.floor(e):kt(e,3),this.padTo)}},Le=class{constructor(e,t,n){this.opts=n,this.originalZone=void 0;let r;if(this.opts.timeZone)this.dt=e;else if(e.zone.type===`fixed`){let t=-1*(e.offset/60),n=t>=0?`Etc/GMT+${t}`:`Etc/GMT${t}`;e.offset!==0&&D.create(n).valid?(r=n,this.dt=e):(r=`UTC`,this.dt=e.offset===0?e:e.setZone(`UTC`).plus({minutes:e.offset}),this.originalZone=e.zone)}else e.zone.type===`system`?this.dt=e:e.zone.type===`iana`?(this.dt=e,r=e.zone.name):(r=`UTC`,this.dt=e.setZone(`UTC`).plus({minutes:e.offset}),this.originalZone=e.zone);let i={...this.opts};i.timeZone=i.timeZone||r,this.dtf=ye(t,i)}format(){return this.originalZone?this.formatToParts().map(({value:e})=>e).join(``):this.dtf.format(this.dt.toJSDate())}formatToParts(){let e=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?e.map(e=>{if(e.type===`timeZoneName`){let t=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...e,value:t}}else return e}):e}resolvedOptions(){return this.dtf.resolvedOptions()}},Re=class{constructor(e,t,n){this.opts={style:`long`,...n},!t&&bt()&&(this.rtf=Ce(e,n))}format(e,t){return this.rtf?this.rtf.format(e,t):on(t,e,this.opts.numeric,this.opts.style!==`long`)}formatToParts(e,t){return this.rtf?this.rtf.formatToParts(e,t):[]}},ze={firstDay:1,minimalDays:4,weekend:[6,7]},O=class e{static fromOpts(t){return e.create(t.locale,t.numberingSystem,t.outputCalendar,t.weekSettings,t.defaultToEN)}static create(t,n,r,i,a=!1){let o=t||M.defaultLocale;return new e(o||(a?`en-US`:Te()),n||M.defaultNumberingSystem,r||M.defaultOutputCalendar,Et(i)||M.defaultWeekSettings,o)}static resetCache(){we=null,ve.clear(),be.clear(),Se.clear(),Ee.clear(),Oe.clear()}static fromObject({locale:t,numberingSystem:n,outputCalendar:r,weekSettings:i}={}){return e.create(t,n,r,i)}constructor(e,t,n,r,i){let[a,o,s]=Ae(e);this.locale=a,this.numberingSystem=t||o||null,this.outputCalendar=n||s||null,this.weekSettings=r,this.intl=je(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=i,this.fastNumbersCached=null}get fastNumbers(){return this.fastNumbersCached??=Fe(this),this.fastNumbersCached}listingMode(){let e=this.isEnglish(),t=(this.numberingSystem===null||this.numberingSystem===`latn`)&&(this.outputCalendar===null||this.outputCalendar===`gregory`);return e&&t?`en`:`intl`}clone(t){return!t||Object.getOwnPropertyNames(t).length===0?this:e.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,Et(t.weekSettings)||this.weekSettings,t.defaultToEN||!1)}redefaultToEN(e={}){return this.clone({...e,defaultToEN:!0})}redefaultToSystem(e={}){return this.clone({...e,defaultToEN:!1})}months(e,t=!1){return Pe(this,e,Gt,()=>{let n=this.intl===`ja`||this.intl.startsWith(`ja-`);t&=!n;let r=t?{month:e,day:`numeric`}:{month:e},i=t?`format`:`standalone`;if(!this.monthsCache[i][e]){let t=n?e=>this.dtFormatter(e,r).format():e=>this.extract(e,r,`month`);this.monthsCache[i][e]=Me(t)}return this.monthsCache[i][e]})}weekdays(e,t=!1){return Pe(this,e,Yt,()=>{let n=t?{weekday:e,year:`numeric`,month:`long`,day:`numeric`}:{weekday:e},r=t?`format`:`standalone`;return this.weekdaysCache[r][e]||(this.weekdaysCache[r][e]=Ne(e=>this.extract(e,n,`weekday`))),this.weekdaysCache[r][e]})}meridiems(){return Pe(this,void 0,()=>Xt,()=>{if(!this.meridiemCache){let e={hour:`numeric`,hourCycle:`h12`};this.meridiemCache=[$.utc(2016,11,13,9),$.utc(2016,11,13,19)].map(t=>this.extract(t,e,`dayperiod`))}return this.meridiemCache})}eras(e){return Pe(this,e,en,()=>{let t={era:e};return this.eraCache[e]||(this.eraCache[e]=[$.utc(-40,1,1),$.utc(2017,1,1)].map(e=>this.extract(e,t,`era`))),this.eraCache[e]})}extract(e,t,n){let r=this.dtFormatter(e,t).formatToParts().find(e=>e.type.toLowerCase()===n);return r?r.value:null}numberFormatter(e={}){return new Ie(this.intl,e.forceSimple||this.fastNumbers,e)}dtFormatter(e,t={}){return new Le(e,this.intl,t)}relFormatter(e={}){return new Re(this.intl,this.isEnglish(),e)}listFormatter(e={}){return _e(this.intl,e)}isEnglish(){return this.locale===`en`||this.locale.toLowerCase()===`en-us`||De(this.intl).locale.startsWith(`en-us`)}getWeekSettings(){return this.weekSettings?this.weekSettings:xt()?ke(this.locale):ze}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(e){return this.locale===e.locale&&this.numberingSystem===e.numberingSystem&&this.outputCalendar===e.outputCalendar}toString(){return`Locale(${this.locale}, ${this.numberingSystem}, ${this.outputCalendar})`}},Be=null,k=class e extends w{static get utcInstance(){return Be===null&&(Be=new e(0)),Be}static instance(t){return t===0?e.utcInstance:new e(t)}static parseSpecifier(t){if(t){let n=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(n)return new e(Lt(n[1],n[2]))}return null}constructor(e){super(),this.fixed=e}get type(){return`fixed`}get name(){return this.fixed===0?`UTC`:`UTC${Bt(this.fixed,`narrow`)}`}get ianaName(){return this.fixed===0?`Etc/UTC`:`Etc/GMT${Bt(-this.fixed,`narrow`)}`}offsetName(){return this.name}formatOffset(e,t){return Bt(this.fixed,t)}get isUniversal(){return!0}offset(){return this.fixed}equals(e){return e.type===`fixed`&&e.fixed===this.fixed}get isValid(){return!0}},Ve=class extends w{constructor(e){super(),this.zoneName=e}get type(){return`invalid`}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(){return null}formatOffset(){return``}offset(){return NaN}equals(){return!1}get isValid(){return!1}};function A(e,t){if(F(e)||e===null)return t;if(e instanceof w)return e;if(vt(e)){let n=e.toLowerCase();return n===`default`?t:n===`local`||n===`system`?T.instance:n===`utc`||n===`gmt`?k.utcInstance:k.parseSpecifier(n)||D.create(e)}else if(I(e))return k.instance(e);else if(typeof e==`object`&&`offset`in e&&typeof e.offset==`function`)return e;else return new Ve(e)}var He={arab:`[٠-٩]`,arabext:`[۰-۹]`,bali:`[᭐-᭙]`,beng:`[০-৯]`,deva:`[०-९]`,fullwide:`[0-9]`,gujr:`[૦-૯]`,hanidec:`[〇|一|二|三|四|五|六|七|八|九]`,khmr:`[០-៩]`,knda:`[೦-೯]`,laoo:`[໐-໙]`,limb:`[᥆-᥏]`,mlym:`[൦-൯]`,mong:`[᠐-᠙]`,mymr:`[၀-၉]`,orya:`[୦-୯]`,tamldec:`[௦-௯]`,telu:`[౦-౯]`,thai:`[๐-๙]`,tibt:`[༠-༩]`,latn:`\\d`},Ue={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},We=He.hanidec.replace(/[\[|\]]/g,``).split(``);function Ge(e){let t=parseInt(e,10);if(isNaN(t)){t=``;for(let n=0;n<e.length;n++){let r=e.charCodeAt(n);if(e[n].search(He.hanidec)!==-1)t+=We.indexOf(e[n]);else for(let e in Ue){let[n,i]=Ue[e];r>=n&&r<=i&&(t+=r-n)}}return parseInt(t,10)}else return t}var Ke=new Map;function qe(){Ke.clear()}function j({numberingSystem:e},t=``){let n=e||`latn`,r=Ke.get(n);r===void 0&&(r=new Map,Ke.set(n,r));let i=r.get(t);return i===void 0&&(i=RegExp(`${He[n]}${t}`),r.set(t,i)),i}var Je=()=>Date.now(),Ye=`system`,Xe=null,Ze=null,Qe=null,$e=60,et,tt=null,M=class{static get now(){return Je}static set now(e){Je=e}static set defaultZone(e){Ye=e}static get defaultZone(){return A(Ye,T.instance)}static get defaultLocale(){return Xe}static set defaultLocale(e){Xe=e}static get defaultNumberingSystem(){return Ze}static set defaultNumberingSystem(e){Ze=e}static get defaultOutputCalendar(){return Qe}static set defaultOutputCalendar(e){Qe=e}static get defaultWeekSettings(){return tt}static set defaultWeekSettings(e){tt=Et(e)}static get twoDigitCutoffYear(){return $e}static set twoDigitCutoffYear(e){$e=e%100}static get throwOnInvalid(){return et}static set throwOnInvalid(e){et=e}static resetCaches(){O.resetCache(),D.resetCache(),$.resetCache(),qe()}},N=class{constructor(e,t){this.reason=e,this.explanation=t}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}},nt=[0,31,59,90,120,151,181,212,243,273,304,334],rt=[0,31,60,91,121,152,182,213,244,274,305,335];function P(e,t){return new N(`unit out of range`,`you specified ${t} (of type ${typeof t}) as a ${e}, which is invalid`)}function it(e,t,n){let r=new Date(Date.UTC(e,t-1,n));e<100&&e>=0&&r.setUTCFullYear(r.getUTCFullYear()-1900);let i=r.getUTCDay();return i===0?7:i}function at(e,t,n){return n+(At(e)?rt:nt)[t-1]}function ot(e,t){let n=At(e)?rt:nt,r=n.findIndex(e=>e<t),i=t-n[r];return{month:r+1,day:i}}function st(e,t){return(e-t+7)%7+1}function ct(e,t=4,n=1){let{year:r,month:i,day:a}=e,o=at(r,i,a),s=st(it(r,i,a),n),c=Math.floor((o-s+14-t)/7),l;return c<1?(l=r-1,c=Pt(l,t,n)):c>Pt(r,t,n)?(l=r+1,c=1):l=r,{weekYear:l,weekNumber:c,weekday:s,...Vt(e)}}function lt(e,t=4,n=1){let{weekYear:r,weekNumber:i,weekday:a}=e,o=st(it(r,1,t),n),s=V(r),c=i*7+a-o-7+t,l;c<1?(l=r-1,c+=V(l)):c>s?(l=r+1,c-=V(r)):l=r;let{month:u,day:d}=ot(l,c);return{year:l,month:u,day:d,...Vt(e)}}function ut(e){let{year:t,month:n,day:r}=e;return{year:t,ordinal:at(t,n,r),...Vt(e)}}function dt(e){let{year:t,ordinal:n}=e,{month:r,day:i}=ot(t,n);return{year:t,month:r,day:i,...Vt(e)}}function ft(e,t){if(!F(e.localWeekday)||!F(e.localWeekNumber)||!F(e.localWeekYear)){if(!F(e.weekday)||!F(e.weekNumber)||!F(e.weekYear))throw new a(`Cannot mix locale-based week fields with ISO-based week fields`);return F(e.localWeekday)||(e.weekday=e.localWeekday),F(e.localWeekNumber)||(e.weekNumber=e.localWeekNumber),F(e.localWeekYear)||(e.weekYear=e.localWeekYear),delete e.localWeekday,delete e.localWeekNumber,delete e.localWeekYear,{minDaysInFirstWeek:t.getMinDaysInFirstWeek(),startOfWeek:t.getStartOfWeek()}}else return{minDaysInFirstWeek:4,startOfWeek:1}}function pt(e,t=4,n=1){let r=_t(e.weekYear),i=L(e.weekNumber,1,Pt(e.weekYear,t,n)),a=L(e.weekday,1,7);return r?i?a?!1:P(`weekday`,e.weekday):P(`week`,e.weekNumber):P(`weekYear`,e.weekYear)}function mt(e){let t=_t(e.year),n=L(e.ordinal,1,V(e.year));return t?n?!1:P(`ordinal`,e.ordinal):P(`year`,e.year)}function ht(e){let t=_t(e.year),n=L(e.month,1,12),r=L(e.day,1,jt(e.year,e.month));return t?n?r?!1:P(`day`,e.day):P(`month`,e.month):P(`year`,e.year)}function gt(e){let{hour:t,minute:n,second:r,millisecond:i}=e,a=L(t,0,23)||t===24&&n===0&&r===0&&i===0,o=L(n,0,59),s=L(r,0,59),c=L(i,0,999);return a?o?s?c?!1:P(`millisecond`,i):P(`second`,r):P(`minute`,n):P(`hour`,t)}function F(e){return e===void 0}function I(e){return typeof e==`number`}function _t(e){return typeof e==`number`&&e%1==0}function vt(e){return typeof e==`string`}function yt(e){return Object.prototype.toString.call(e)===`[object Date]`}function bt(){try{return typeof Intl<`u`&&!!Intl.RelativeTimeFormat}catch{return!1}}function xt(){try{return typeof Intl<`u`&&!!Intl.Locale&&(`weekInfo`in Intl.Locale.prototype||`getWeekInfo`in Intl.Locale.prototype)}catch{return!1}}function St(e){return Array.isArray(e)?e:[e]}function Ct(e,t,n){if(e.length!==0)return e.reduce((e,r)=>{let i=[t(r),r];return e&&n(e[0],i[0])===e[0]?e:i},null)[1]}function wt(e,t){return t.reduce((t,n)=>(t[n]=e[n],t),{})}function Tt(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function Et(e){if(e==null)return null;if(typeof e!=`object`)throw new s(`Week settings must be an object`);if(!L(e.firstDay,1,7)||!L(e.minimalDays,1,7)||!Array.isArray(e.weekend)||e.weekend.some(e=>!L(e,1,7)))throw new s(`Invalid week settings`);return{firstDay:e.firstDay,minimalDays:e.minimalDays,weekend:Array.from(e.weekend)}}function L(e,t,n){return _t(e)&&e>=t&&e<=n}function Dt(e,t){return e-t*Math.floor(e/t)}function R(e,t=2){let n=e<0,r;return r=n?`-`+(``+-e).padStart(t,`0`):(``+e).padStart(t,`0`),r}function z(e){if(!(F(e)||e===null||e===``))return parseInt(e,10)}function B(e){if(!(F(e)||e===null||e===``))return parseFloat(e)}function Ot(e){if(!(F(e)||e===null||e===``)){let t=parseFloat(`0.`+e)*1e3;return Math.floor(t)}}function kt(e,t,n=`round`){let r=10**t;switch(n){case`expand`:return e>0?Math.ceil(e*r)/r:Math.floor(e*r)/r;case`trunc`:return Math.trunc(e*r)/r;case`round`:return Math.round(e*r)/r;case`floor`:return Math.floor(e*r)/r;case`ceil`:return Math.ceil(e*r)/r;default:throw RangeError(`Value rounding ${n} is out of range`)}}function At(e){return e%4==0&&(e%100!=0||e%400==0)}function V(e){return At(e)?366:365}function jt(e,t){let n=Dt(t-1,12)+1,r=e+(t-n)/12;return n===2?At(r)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][n-1]}function Mt(e){let t=Date.UTC(e.year,e.month-1,e.day,e.hour,e.minute,e.second,e.millisecond);return e.year<100&&e.year>=0&&(t=new Date(t),t.setUTCFullYear(e.year,e.month-1,e.day)),+t}function Nt(e,t,n){return-st(it(e,1,t),n)+t-1}function Pt(e,t=4,n=1){let r=Nt(e,t,n),i=Nt(e+1,t,n);return(V(e)-r+i)/7}function Ft(e){return e>99?e:e>M.twoDigitCutoffYear?1900+e:2e3+e}function It(e,t,n,r=null){let i=new Date(e),a={hourCycle:`h23`,year:`numeric`,month:`2-digit`,day:`2-digit`,hour:`2-digit`,minute:`2-digit`};r&&(a.timeZone=r);let o={timeZoneName:t,...a},s=new Intl.DateTimeFormat(n,o).formatToParts(i).find(e=>e.type.toLowerCase()===`timezonename`);return s?s.value:null}function Lt(e,t){let n=parseInt(e,10);Number.isNaN(n)&&(n=0);let r=parseInt(t,10)||0,i=n<0||Object.is(n,-0)?-r:r;return n*60+i}function Rt(e){let t=Number(e);if(typeof e==`boolean`||e===``||!Number.isFinite(t))throw new s(`Invalid unit value ${e}`);return t}function zt(e,t){let n={};for(let r in e)if(Tt(e,r)){let i=e[r];if(i==null)continue;n[t(r)]=Rt(i)}return n}function Bt(e,t){let n=Math.trunc(Math.abs(e/60)),r=Math.trunc(Math.abs(e%60)),i=e>=0?`+`:`-`;switch(t){case`short`:return`${i}${R(n,2)}:${R(r,2)}`;case`narrow`:return`${i}${n}${r>0?`:${r}`:``}`;case`techie`:return`${i}${R(n,2)}${R(r,2)}`;default:throw RangeError(`Value format ${t} is out of range for property format`)}}function Vt(e){return wt(e,[`hour`,`minute`,`second`,`millisecond`])}var Ht=[`January`,`February`,`March`,`April`,`May`,`June`,`July`,`August`,`September`,`October`,`November`,`December`],Ut=[`Jan`,`Feb`,`Mar`,`Apr`,`May`,`Jun`,`Jul`,`Aug`,`Sep`,`Oct`,`Nov`,`Dec`],Wt=[`J`,`F`,`M`,`A`,`M`,`J`,`J`,`A`,`S`,`O`,`N`,`D`];function Gt(e){switch(e){case`narrow`:return[...Wt];case`short`:return[...Ut];case`long`:return[...Ht];case`numeric`:return[`1`,`2`,`3`,`4`,`5`,`6`,`7`,`8`,`9`,`10`,`11`,`12`];case`2-digit`:return[`01`,`02`,`03`,`04`,`05`,`06`,`07`,`08`,`09`,`10`,`11`,`12`];default:return null}}var Kt=[`Monday`,`Tuesday`,`Wednesday`,`Thursday`,`Friday`,`Saturday`,`Sunday`],qt=[`Mon`,`Tue`,`Wed`,`Thu`,`Fri`,`Sat`,`Sun`],Jt=[`M`,`T`,`W`,`T`,`F`,`S`,`S`];function Yt(e){switch(e){case`narrow`:return[...Jt];case`short`:return[...qt];case`long`:return[...Kt];case`numeric`:return[`1`,`2`,`3`,`4`,`5`,`6`,`7`];default:return null}}var Xt=[`AM`,`PM`],Zt=[`Before Christ`,`Anno Domini`],Qt=[`BC`,`AD`],$t=[`B`,`A`];function en(e){switch(e){case`narrow`:return[...$t];case`short`:return[...Qt];case`long`:return[...Zt];default:return null}}function tn(e){return Xt[e.hour<12?0:1]}function nn(e,t){return Yt(t)[e.weekday-1]}function rn(e,t){return Gt(t)[e.month-1]}function an(e,t){return en(t)[e.year<0?0:1]}function on(e,t,n=`always`,r=!1){let i={years:[`year`,`yr.`],quarters:[`quarter`,`qtr.`],months:[`month`,`mo.`],weeks:[`week`,`wk.`],days:[`day`,`day`,`days`],hours:[`hour`,`hr.`],minutes:[`minute`,`min.`],seconds:[`second`,`sec.`]},a=[`hours`,`minutes`,`seconds`].indexOf(e)===-1;if(n===`auto`&&a){let n=e===`days`;switch(t){case 1:return n?`tomorrow`:`next ${i[e][0]}`;case-1:return n?`yesterday`:`last ${i[e][0]}`;case 0:return n?`today`:`this ${i[e][0]}`}}let o=Object.is(t,-0)||t<0,s=Math.abs(t),c=s===1,l=i[e],u=r?c?l[1]:l[2]||l[1]:c?i[e][0]:e;return o?`${s} ${u} ago`:`in ${s} ${u}`}function sn(e,t){let n=``;for(let r of e)r.literal?n+=r.val:n+=t(r.val);return n}var cn={D:f,DD:p,DDD:h,DDDD:g,t:_,tt:v,ttt:y,tttt:b,T:x,TT:ee,TTT:te,TTTT:S,f:ne,ff:ie,fff:oe,ffff:ce,F:re,FF:C,FFF:se,FFFF:le},H=class e{static create(t,n={}){return new e(t,n)}static parseFormat(e){let t=null,n=``,r=!1,i=[];for(let a=0;a<e.length;a++){let o=e.charAt(a);o===`'`?((n.length>0||r)&&i.push({literal:r||/^\s+$/.test(n),val:n===``?`'`:n}),t=null,n=``,r=!r):r||o===t?n+=o:(n.length>0&&i.push({literal:/^\s+$/.test(n),val:n}),n=o,t=o)}return n.length>0&&i.push({literal:r||/^\s+$/.test(n),val:n}),i}static macroTokenToFormatOpts(e){return cn[e]}constructor(e,t){this.opts=t,this.loc=e,this.systemLoc=null}formatWithSystemDefault(e,t){return this.systemLoc===null&&(this.systemLoc=this.loc.redefaultToSystem()),this.systemLoc.dtFormatter(e,{...this.opts,...t}).format()}dtFormatter(e,t={}){return this.loc.dtFormatter(e,{...this.opts,...t})}formatDateTime(e,t){return this.dtFormatter(e,t).format()}formatDateTimeParts(e,t){return this.dtFormatter(e,t).formatToParts()}formatInterval(e,t){return this.dtFormatter(e.start,t).dtf.formatRange(e.start.toJSDate(),e.end.toJSDate())}resolvedOptions(e,t){return this.dtFormatter(e,t).resolvedOptions()}num(e,t=0,n=void 0){if(this.opts.forceSimple)return R(e,t);let r={...this.opts};return t>0&&(r.padTo=t),n&&(r.signDisplay=n),this.loc.numberFormatter(r).format(e)}formatDateTimeFromString(t,n){let r=this.loc.listingMode()===`en`,i=this.loc.outputCalendar&&this.loc.outputCalendar!==`gregory`,a=(e,n)=>this.loc.extract(t,e,n),o=e=>t.isOffsetFixed&&t.offset===0&&e.allowZ?`Z`:t.isValid?t.zone.formatOffset(t.ts,e.format):``,s=()=>r?tn(t):a({hour:`numeric`,hourCycle:`h12`},`dayperiod`),c=(e,n)=>r?rn(t,e):a(n?{month:e}:{month:e,day:`numeric`},`month`),l=(e,n)=>r?nn(t,e):a(n?{weekday:e}:{weekday:e,month:`long`,day:`numeric`},`weekday`),u=n=>{let r=e.macroTokenToFormatOpts(n);return r?this.formatWithSystemDefault(t,r):n},d=e=>r?an(t,e):a({era:e},`era`);return sn(e.parseFormat(n),e=>{switch(e){case`S`:return this.num(t.millisecond);case`u`:case`SSS`:return this.num(t.millisecond,3);case`s`:return this.num(t.second);case`ss`:return this.num(t.second,2);case`uu`:return this.num(Math.floor(t.millisecond/10),2);case`uuu`:return this.num(Math.floor(t.millisecond/100));case`m`:return this.num(t.minute);case`mm`:return this.num(t.minute,2);case`h`:return this.num(t.hour%12==0?12:t.hour%12);case`hh`:return this.num(t.hour%12==0?12:t.hour%12,2);case`H`:return this.num(t.hour);case`HH`:return this.num(t.hour,2);case`Z`:return o({format:`narrow`,allowZ:this.opts.allowZ});case`ZZ`:return o({format:`short`,allowZ:this.opts.allowZ});case`ZZZ`:return o({format:`techie`,allowZ:this.opts.allowZ});case`ZZZZ`:return t.zone.offsetName(t.ts,{format:`short`,locale:this.loc.locale});case`ZZZZZ`:return t.zone.offsetName(t.ts,{format:`long`,locale:this.loc.locale});case`z`:return t.zoneName;case`a`:return s();case`d`:return i?a({day:`numeric`},`day`):this.num(t.day);case`dd`:return i?a({day:`2-digit`},`day`):this.num(t.day,2);case`c`:return this.num(t.weekday);case`ccc`:return l(`short`,!0);case`cccc`:return l(`long`,!0);case`ccccc`:return l(`narrow`,!0);case`E`:return this.num(t.weekday);case`EEE`:return l(`short`,!1);case`EEEE`:return l(`long`,!1);case`EEEEE`:return l(`narrow`,!1);case`L`:return i?a({month:`numeric`,day:`numeric`},`month`):this.num(t.month);case`LL`:return i?a({month:`2-digit`,day:`numeric`},`month`):this.num(t.month,2);case`LLL`:return c(`short`,!0);case`LLLL`:return c(`long`,!0);case`LLLLL`:return c(`narrow`,!0);case`M`:return i?a({month:`numeric`},`month`):this.num(t.month);case`MM`:return i?a({month:`2-digit`},`month`):this.num(t.month,2);case`MMM`:return c(`short`,!1);case`MMMM`:return c(`long`,!1);case`MMMMM`:return c(`narrow`,!1);case`y`:return i?a({year:`numeric`},`year`):this.num(t.year);case`yy`:return i?a({year:`2-digit`},`year`):this.num(t.year.toString().slice(-2),2);case`yyyy`:return i?a({year:`numeric`},`year`):this.num(t.year,4);case`yyyyyy`:return i?a({year:`numeric`},`year`):this.num(t.year,6);case`G`:return d(`short`);case`GG`:return d(`long`);case`GGGGG`:return d(`narrow`);case`kk`:return this.num(t.weekYear.toString().slice(-2),2);case`kkkk`:return this.num(t.weekYear,4);case`W`:return this.num(t.weekNumber);case`WW`:return this.num(t.weekNumber,2);case`n`:return this.num(t.localWeekNumber);case`nn`:return this.num(t.localWeekNumber,2);case`ii`:return this.num(t.localWeekYear.toString().slice(-2),2);case`iiii`:return this.num(t.localWeekYear,4);case`o`:return this.num(t.ordinal);case`ooo`:return this.num(t.ordinal,3);case`q`:return this.num(t.quarter);case`qq`:return this.num(t.quarter,2);case`X`:return this.num(Math.floor(t.ts/1e3));case`x`:return this.num(t.ts);default:return u(e)}})}formatDurationFromString(t,n){let r=this.opts.signMode===`negativeLargestOnly`?-1:1,i=e=>{switch(e[0]){case`S`:return`milliseconds`;case`s`:return`seconds`;case`m`:return`minutes`;case`h`:return`hours`;case`d`:return`days`;case`w`:return`weeks`;case`M`:return`months`;case`y`:return`years`;default:return null}},a=(e,t)=>n=>{let a=i(n);if(a){let i=t.isNegativeDuration&&a!==t.largestUnit?r:1,o;return o=this.opts.signMode===`negativeLargestOnly`&&a!==t.largestUnit?`never`:this.opts.signMode===`all`?`always`:`auto`,this.num(e.get(a)*i,n.length,o)}else return n},o=e.parseFormat(n),s=o.reduce((e,{literal:t,val:n})=>t?e:e.concat(n),[]),c=t.shiftTo(...s.map(i).filter(e=>e));return sn(o,a(c,{isNegativeDuration:c<0,largestUnit:Object.keys(c.values)[0]}))}},ln=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function U(...e){let t=e.reduce((e,t)=>e+t.source,``);return RegExp(`^${t}$`)}function W(...e){return t=>e.reduce(([e,n,r],i)=>{let[a,o,s]=i(t,r);return[{...e,...a},o||n,s]},[{},null,1]).slice(0,2)}function G(e,...t){if(e==null)return[null,null];for(let[n,r]of t){let t=n.exec(e);if(t)return r(t)}return[null,null]}function un(...e){return(t,n)=>{let r={},i;for(i=0;i<e.length;i++)r[e[i]]=z(t[n+i]);return[r,null,n+i]}}var dn=/(?:([Zz])|([+-]\d\d)(?::?(\d\d))?)/,fn=`(?:${dn.source}?(?:\\[(${ln.source})\\])?)?`,pn=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,mn=RegExp(`${pn.source}${fn}`),hn=RegExp(`(?:[Tt]${mn.source})?`),gn=/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,_n=/(\d{4})-?W(\d\d)(?:-?(\d))?/,vn=/(\d{4})-?(\d{3})/,yn=un(`weekYear`,`weekNumber`,`weekDay`),bn=un(`year`,`ordinal`),xn=/(\d{4})-(\d\d)-(\d\d)/,Sn=RegExp(`${pn.source} ?(?:${dn.source}|(${ln.source}))?`),Cn=RegExp(`(?: ${Sn.source})?`);function wn(e,t,n){let r=e[t];return F(r)?n:z(r)}function Tn(e,t){return[{year:wn(e,t),month:wn(e,t+1,1),day:wn(e,t+2,1)},null,t+3]}function En(e,t){return[{hours:wn(e,t,0),minutes:wn(e,t+1,0),seconds:wn(e,t+2,0),milliseconds:Ot(e[t+3])},null,t+4]}function Dn(e,t){let n=!e[t]&&!e[t+1],r=Lt(e[t+1],e[t+2]);return[{},n?null:k.instance(r),t+3]}function On(e,t){return[{},e[t]?D.create(e[t]):null,t+1]}var kn=RegExp(`^T?${pn.source}$`),An=/^-?P(?:(?:(-?\d{1,20}(?:\.\d{1,20})?)Y)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20}(?:\.\d{1,20})?)W)?(?:(-?\d{1,20}(?:\.\d{1,20})?)D)?(?:T(?:(-?\d{1,20}(?:\.\d{1,20})?)H)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,20}))?S)?)?)$/;function jn(e){let[t,n,r,i,a,o,s,c,l]=e,u=t[0]===`-`,d=c&&c[0]===`-`,f=(e,t=!1)=>e!==void 0&&(t||e&&u)?-e:e;return[{years:f(B(n)),months:f(B(r)),weeks:f(B(i)),days:f(B(a)),hours:f(B(o)),minutes:f(B(s)),seconds:f(B(c),c===`-0`),milliseconds:f(Ot(l),d)}]}var Mn={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Nn(e,t,n,r,i,a,o){let s={year:t.length===2?Ft(z(t)):z(t),month:Ut.indexOf(n)+1,day:z(r),hour:z(i),minute:z(a)};return o&&(s.second=z(o)),e&&(s.weekday=e.length>3?Kt.indexOf(e)+1:qt.indexOf(e)+1),s}var Pn=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function Fn(e){let[,t,n,r,i,a,o,s,c,l,u,d]=e,f=Nn(t,i,r,n,a,o,s),p;return p=c?Mn[c]:l?0:Lt(u,d),[f,new k(p)]}function In(e){return e.replace(/\([^()]*\)|[\n\t]/g,` `).replace(/(\s\s+)/g,` `).trim()}var Ln=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,Rn=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,zn=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function Bn(e){let[,t,n,r,i,a,o,s]=e;return[Nn(t,i,r,n,a,o,s),k.utcInstance]}function Vn(e){let[,t,n,r,i,a,o,s]=e;return[Nn(t,s,n,r,i,a,o),k.utcInstance]}var Hn=U(gn,hn),Un=U(_n,hn),Wn=U(vn,hn),Gn=U(mn),Kn=W(Tn,En,Dn,On),qn=W(yn,En,Dn,On),Jn=W(bn,En,Dn,On),Yn=W(En,Dn,On);function Xn(e){return G(e,[Hn,Kn],[Un,qn],[Wn,Jn],[Gn,Yn])}function Zn(e){return G(In(e),[Pn,Fn])}function Qn(e){return G(e,[Ln,Bn],[Rn,Bn],[zn,Vn])}function $n(e){return G(e,[An,jn])}var er=W(En);function tr(e){return G(e,[kn,er])}var nr=U(xn,Cn),rr=U(Sn),ir=W(En,Dn,On);function ar(e){return G(e,[nr,Kn],[rr,ir])}var or=`Invalid Duration`,sr={weeks:{days:7,hours:168,minutes:10080,seconds:10080*60,milliseconds:10080*60*1e3},days:{hours:24,minutes:1440,seconds:1440*60,milliseconds:1440*60*1e3},hours:{minutes:60,seconds:3600,milliseconds:3600*1e3},minutes:{seconds:60,milliseconds:60*1e3},seconds:{milliseconds:1e3}},cr={years:{quarters:4,months:12,weeks:52,days:365,hours:365*24,minutes:365*24*60,seconds:365*24*60*60,milliseconds:365*24*60*60*1e3},quarters:{months:3,weeks:13,days:91,hours:2184,minutes:2184*60,seconds:2184*60*60,milliseconds:2184*60*60*1e3},months:{weeks:4,days:30,hours:720,minutes:720*60,seconds:720*60*60,milliseconds:720*60*60*1e3},...sr},K=146097/400,lr=146097/4800,ur={years:{quarters:4,months:12,weeks:K/7,days:K,hours:K*24,minutes:K*24*60,seconds:K*24*60*60,milliseconds:K*24*60*60*1e3},quarters:{months:3,weeks:K/28,days:K/4,hours:K*24/4,minutes:K*24*60/4,seconds:K*24*60*60/4,milliseconds:K*24*60*60*1e3/4},months:{weeks:lr/7,days:lr,hours:lr*24,minutes:lr*24*60,seconds:lr*24*60*60,milliseconds:lr*24*60*60*1e3},...sr},q=[`years`,`quarters`,`months`,`weeks`,`days`,`hours`,`minutes`,`seconds`,`milliseconds`],dr=q.slice(0).reverse();function J(e,t,n=!1){return new Y({values:n?t.values:{...e.values,...t.values||{}},loc:e.loc.clone(t.loc),conversionAccuracy:t.conversionAccuracy||e.conversionAccuracy,matrix:t.matrix||e.matrix})}function fr(e,t){let n=t.milliseconds??0;for(let r of dr.slice(1))t[r]&&(n+=t[r]*e[r].milliseconds);return n}function pr(e,t){let n=fr(e,t)<0?-1:1;q.reduceRight((r,i)=>{if(F(t[i]))return r;if(r){let a=t[r]*n,o=e[i][r],s=Math.floor(a/o);t[i]+=s*n,t[r]-=s*o*n}return i},null),q.reduce((n,r)=>{if(F(t[r]))return n;if(n){let i=t[n]%1;t[n]-=i,t[r]+=i*e[n][r]}return r},null)}function mr(e){let t={};for(let[n,r]of Object.entries(e))r!==0&&(t[n]=r);return t}var Y=class e{constructor(e){let t=e.conversionAccuracy===`longterm`||!1,n=t?ur:cr;e.matrix&&(n=e.matrix),this.values=e.values,this.loc=e.loc||O.create(),this.conversionAccuracy=t?`longterm`:`casual`,this.invalid=e.invalid||null,this.matrix=n,this.isLuxonDuration=!0}static fromMillis(t,n){return e.fromObject({milliseconds:t},n)}static fromObject(t,n={}){if(typeof t!=`object`||!t)throw new s(`Duration.fromObject: argument expected to be an object, got ${t===null?`null`:typeof t}`);return new e({values:zt(t,e.normalizeUnit),loc:O.fromObject(n),conversionAccuracy:n.conversionAccuracy,matrix:n.matrix})}static fromDurationLike(t){if(I(t))return e.fromMillis(t);if(e.isDuration(t))return t;if(typeof t==`object`)return e.fromObject(t);throw new s(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,n){let[r]=$n(t);return r?e.fromObject(r,n):e.invalid(`unparsable`,`the input "${t}" can't be parsed as ISO 8601`)}static fromISOTime(t,n){let[r]=tr(t);return r?e.fromObject(r,n):e.invalid(`unparsable`,`the input "${t}" can't be parsed as ISO 8601`)}static invalid(t,n=null){if(!t)throw new s(`need to specify a reason the Duration is invalid`);let r=t instanceof N?t:new N(t,n);if(M.throwOnInvalid)throw new i(r);return new e({invalid:r})}static normalizeUnit(e){let t={year:`years`,years:`years`,quarter:`quarters`,quarters:`quarters`,month:`months`,months:`months`,week:`weeks`,weeks:`weeks`,day:`days`,days:`days`,hour:`hours`,hours:`hours`,minute:`minutes`,minutes:`minutes`,second:`seconds`,seconds:`seconds`,millisecond:`milliseconds`,milliseconds:`milliseconds`}[e&&e.toLowerCase()];if(!t)throw new o(e);return t}static isDuration(e){return e&&e.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(e,t={}){let n={...t,floor:t.round!==!1&&t.floor!==!1};return this.isValid?H.create(this.loc,n).formatDurationFromString(this,e):or}toHuman(e={}){if(!this.isValid)return or;let t=e.showZeros!==!1,n=q.map(n=>{let r=this.values[n];return F(r)||r===0&&!t?null:this.loc.numberFormatter({style:`unit`,unitDisplay:`long`,...e,unit:n.slice(0,-1)}).format(r)}).filter(e=>e);return this.loc.listFormatter({type:`conjunction`,style:e.listStyle||`narrow`,...e}).format(n)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let e=`P`;return this.years!==0&&(e+=this.years+`Y`),(this.months!==0||this.quarters!==0)&&(e+=this.months+this.quarters*3+`M`),this.weeks!==0&&(e+=this.weeks+`W`),this.days!==0&&(e+=this.days+`D`),(this.hours!==0||this.minutes!==0||this.seconds!==0||this.milliseconds!==0)&&(e+=`T`),this.hours!==0&&(e+=this.hours+`H`),this.minutes!==0&&(e+=this.minutes+`M`),(this.seconds!==0||this.milliseconds!==0)&&(e+=kt(this.seconds+this.milliseconds/1e3,3)+`S`),e===`P`&&(e+=`T0S`),e}toISOTime(e={}){if(!this.isValid)return null;let t=this.toMillis();return t<0||t>=864e5?null:(e={suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:`extended`,...e,includeOffset:!1},$.fromMillis(t,{zone:`UTC`}).toISOTime(e))}toJSON(){return this.toISO()}toString(){return this.toISO()}[Symbol.for(`nodejs.util.inspect.custom`)](){return this.isValid?`Duration { values: ${JSON.stringify(this.values)} }`:`Duration { Invalid, reason: ${this.invalidReason} }`}toMillis(){return this.isValid?fr(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(t){if(!this.isValid)return this;let n=e.fromDurationLike(t),r={};for(let e of q)(Tt(n.values,e)||Tt(this.values,e))&&(r[e]=n.get(e)+this.get(e));return J(this,{values:r},!0)}minus(t){if(!this.isValid)return this;let n=e.fromDurationLike(t);return this.plus(n.negate())}mapUnits(e){if(!this.isValid)return this;let t={};for(let n of Object.keys(this.values))t[n]=Rt(e(this.values[n],n));return J(this,{values:t},!0)}get(t){return this[e.normalizeUnit(t)]}set(t){if(!this.isValid)return this;let n={...this.values,...zt(t,e.normalizeUnit)};return J(this,{values:n})}reconfigure({locale:e,numberingSystem:t,conversionAccuracy:n,matrix:r}={}){let i={loc:this.loc.clone({locale:e,numberingSystem:t}),matrix:r,conversionAccuracy:n};return J(this,i)}as(e){return this.isValid?this.shiftTo(e).get(e):NaN}normalize(){if(!this.isValid)return this;let e=this.toObject();return pr(this.matrix,e),J(this,{values:e},!0)}rescale(){if(!this.isValid)return this;let e=mr(this.normalize().shiftToAll().toObject());return J(this,{values:e},!0)}shiftTo(...t){if(!this.isValid||t.length===0)return this;t=t.map(t=>e.normalizeUnit(t));let n={},r={},i=this.toObject(),a;for(let e of q)if(t.indexOf(e)>=0){a=e;let t=0;for(let n in r)t+=this.matrix[n][e]*r[n],r[n]=0;I(i[e])&&(t+=i[e]);let o=Math.trunc(t);n[e]=o,r[e]=(t*1e3-o*1e3)/1e3}else I(i[e])&&(r[e]=i[e]);for(let e in r)r[e]!==0&&(n[a]+=e===a?r[e]:r[e]/this.matrix[a][e]);return pr(this.matrix,n),J(this,{values:n},!0)}shiftToAll(){return this.isValid?this.shiftTo(`years`,`months`,`weeks`,`days`,`hours`,`minutes`,`seconds`,`milliseconds`):this}negate(){if(!this.isValid)return this;let e={};for(let t of Object.keys(this.values))e[t]=this.values[t]===0?0:-this.values[t];return J(this,{values:e},!0)}removeZeros(){if(!this.isValid)return this;let e=mr(this.values);return J(this,{values:e},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return this.invalid===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(e){if(!this.isValid||!e.isValid||!this.loc.equals(e.loc))return!1;function t(e,t){return e===void 0||e===0?t===void 0||t===0:e===t}for(let n of q)if(!t(this.values[n],e.values[n]))return!1;return!0}},hr=`Invalid Interval`;function gr(e,t){return!e||!e.isValid?_r.invalid(`missing or invalid start`):!t||!t.isValid?_r.invalid(`missing or invalid end`):t<e?_r.invalid(`end before start`,`The end of an interval must be after its start, but you had start=${e.toISO()} and end=${t.toISO()}`):null}var _r=class e{constructor(e){this.s=e.start,this.e=e.end,this.invalid=e.invalid||null,this.isLuxonInterval=!0}static invalid(t,n=null){if(!t)throw new s(`need to specify a reason the Interval is invalid`);let i=t instanceof N?t:new N(t,n);if(M.throwOnInvalid)throw new r(i);return new e({invalid:i})}static fromDateTimes(t,n){let r=_i(t),i=_i(n);return gr(r,i)??new e({start:r,end:i})}static after(t,n){let r=Y.fromDurationLike(n),i=_i(t);return e.fromDateTimes(i,i.plus(r))}static before(t,n){let r=Y.fromDurationLike(n),i=_i(t);return e.fromDateTimes(i.minus(r),i)}static fromISO(t,n){let[r,i]=(t||``).split(`/`,2);if(r&&i){let t,a;try{t=$.fromISO(r,n),a=t.isValid}catch{a=!1}let o,s;try{o=$.fromISO(i,n),s=o.isValid}catch{s=!1}if(a&&s)return e.fromDateTimes(t,o);if(a){let r=Y.fromISO(i,n);if(r.isValid)return e.after(t,r)}else if(s){let t=Y.fromISO(r,n);if(t.isValid)return e.before(o,t)}}return e.invalid(`unparsable`,`the input "${t}" can't be parsed as ISO 8601`)}static isInterval(e){return e&&e.isLuxonInterval||!1}get start(){return this.isValid?this.s:null}get end(){return this.isValid?this.e:null}get lastDateTime(){return this.isValid&&this.e?this.e.minus(1):null}get isValid(){return this.invalidReason===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(e=`milliseconds`){return this.isValid?this.toDuration(e).get(e):NaN}count(e=`milliseconds`,t){if(!this.isValid)return NaN;let n=this.start.startOf(e,t),r;return r=t!=null&&t.useLocaleWeeks?this.end.reconfigure({locale:n.locale}):this.end,r=r.startOf(e,t),Math.floor(r.diff(n,e).get(e))+(r.valueOf()!==this.end.valueOf())}hasSame(e){return this.isValid?this.isEmpty()||this.e.minus(1).hasSame(this.s,e):!1}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(e){return this.isValid?this.s>e:!1}isBefore(e){return this.isValid?this.e<=e:!1}contains(e){return this.isValid?this.s<=e&&this.e>e:!1}set({start:t,end:n}={}){return this.isValid?e.fromDateTimes(t||this.s,n||this.e):this}splitAt(...t){if(!this.isValid)return[];let n=t.map(_i).filter(e=>this.contains(e)).sort((e,t)=>e.toMillis()-t.toMillis()),r=[],{s:i}=this,a=0;for(;i<this.e;){let t=n[a]||this.e,o=+t>+this.e?this.e:t;r.push(e.fromDateTimes(i,o)),i=o,a+=1}return r}splitBy(t){let n=Y.fromDurationLike(t);if(!this.isValid||!n.isValid||n.as(`milliseconds`)===0)return[];let{s:r}=this,i=1,a,o=[];for(;r<this.e;){let t=this.start.plus(n.mapUnits(e=>e*i));a=+t>+this.e?this.e:t,o.push(e.fromDateTimes(r,a)),r=a,i+=1}return o}divideEqually(e){return this.isValid?this.splitBy(this.length()/e).slice(0,e):[]}overlaps(e){return this.e>e.s&&this.s<e.e}abutsStart(e){return this.isValid?+this.e==+e.s:!1}abutsEnd(e){return this.isValid?+e.e==+this.s:!1}engulfs(e){return this.isValid?this.s<=e.s&&this.e>=e.e:!1}equals(e){return!this.isValid||!e.isValid?!1:this.s.equals(e.s)&&this.e.equals(e.e)}intersection(t){if(!this.isValid)return this;let n=this.s>t.s?this.s:t.s,r=this.e<t.e?this.e:t.e;return n>=r?null:e.fromDateTimes(n,r)}union(t){if(!this.isValid)return this;let n=this.s<t.s?this.s:t.s,r=this.e>t.e?this.e:t.e;return e.fromDateTimes(n,r)}static merge(e){let[t,n]=e.sort((e,t)=>e.s-t.s).reduce(([e,t],n)=>t?t.overlaps(n)||t.abutsStart(n)?[e,t.union(n)]:[e.concat([t]),n]:[e,n],[[],null]);return n&&t.push(n),t}static xor(t){let n=null,r=0,i=[],a=t.map(e=>[{time:e.s,type:`s`},{time:e.e,type:`e`}]),o=Array.prototype.concat(...a).sort((e,t)=>e.time-t.time);for(let t of o)r+=t.type===`s`?1:-1,r===1?n=t.time:(n&&+n!=+t.time&&i.push(e.fromDateTimes(n,t.time)),n=null);return e.merge(i)}difference(...t){return e.xor([this].concat(t)).map(e=>this.intersection(e)).filter(e=>e&&!e.isEmpty())}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:hr}[Symbol.for(`nodejs.util.inspect.custom`)](){return this.isValid?`Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }`:`Interval { Invalid, reason: ${this.invalidReason} }`}toLocaleString(e=f,t={}){return this.isValid?H.create(this.s.loc.clone(t),e).formatInterval(this):hr}toISO(e){return this.isValid?`${this.s.toISO(e)}/${this.e.toISO(e)}`:hr}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:hr}toISOTime(e){return this.isValid?`${this.s.toISOTime(e)}/${this.e.toISOTime(e)}`:hr}toFormat(e,{separator:t=` – `}={}){return this.isValid?`${this.s.toFormat(e)}${t}${this.e.toFormat(e)}`:hr}toDuration(e,t){return this.isValid?this.e.diff(this.s,e,t):Y.invalid(this.invalidReason)}mapEndpoints(t){return e.fromDateTimes(t(this.s),t(this.e))}},vr=class{static hasDST(e=M.defaultZone){let t=$.now().setZone(e).set({month:12});return!e.isUniversal&&t.offset!==t.set({month:6}).offset}static isValidIANAZone(e){return D.isValidZone(e)}static normalizeZone(e){return A(e,M.defaultZone)}static getStartOfWeek({locale:e=null,locObj:t=null}={}){return(t||O.create(e)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:e=null,locObj:t=null}={}){return(t||O.create(e)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:e=null,locObj:t=null}={}){return(t||O.create(e)).getWeekendDays().slice()}static months(e=`long`,{locale:t=null,numberingSystem:n=null,locObj:r=null,outputCalendar:i=`gregory`}={}){return(r||O.create(t,n,i)).months(e)}static monthsFormat(e=`long`,{locale:t=null,numberingSystem:n=null,locObj:r=null,outputCalendar:i=`gregory`}={}){return(r||O.create(t,n,i)).months(e,!0)}static weekdays(e=`long`,{locale:t=null,numberingSystem:n=null,locObj:r=null}={}){return(r||O.create(t,n,null)).weekdays(e)}static weekdaysFormat(e=`long`,{locale:t=null,numberingSystem:n=null,locObj:r=null}={}){return(r||O.create(t,n,null)).weekdays(e,!0)}static meridiems({locale:e=null}={}){return O.create(e).meridiems()}static eras(e=`short`,{locale:t=null}={}){return O.create(t,null,`gregory`).eras(e)}static features(){return{relative:bt(),localeWeek:xt()}}};function yr(e,t){let n=e=>e.toUTC(0,{keepLocalTime:!0}).startOf(`day`).valueOf(),r=n(t)-n(e);return Math.floor(Y.fromMillis(r).as(`days`))}function br(e,t,n){let r=[[`years`,(e,t)=>t.year-e.year],[`quarters`,(e,t)=>t.quarter-e.quarter+(t.year-e.year)*4],[`months`,(e,t)=>t.month-e.month+(t.year-e.year)*12],[`weeks`,(e,t)=>{let n=yr(e,t);return(n-n%7)/7}],[`days`,yr]],i={},a=e,o,s;for(let[c,l]of r)n.indexOf(c)>=0&&(o=c,i[c]=l(e,t),s=a.plus(i),s>t?(i[c]--,e=a.plus(i),e>t&&(s=e,i[c]--,e=a.plus(i))):e=s);return[e,i,s,o]}function xr(e,t,n,r){let[i,a,o,s]=br(e,t,n),c=t-i,l=n.filter(e=>[`hours`,`minutes`,`seconds`,`milliseconds`].indexOf(e)>=0);l.length===0&&(o<t&&(o=i.plus({[s]:1})),o!==i&&(a[s]=(a[s]||0)+c/(o-i)));let u=Y.fromObject(a,r);return l.length>0?Y.fromMillis(c,r).shiftTo(...l).plus(u):u}var Sr=`missing Intl.DateTimeFormat.formatToParts support`;function X(e,t=e=>e){return{regex:e,deser:([e])=>t(Ge(e))}}var Cr=`[ \xA0]`,wr=new RegExp(Cr,`g`);function Tr(e){return e.replace(/\./g,`\\.?`).replace(wr,Cr)}function Er(e){return e.replace(/\./g,``).replace(wr,` `).toLowerCase()}function Z(e,t){return e===null?null:{regex:RegExp(e.map(Tr).join(`|`)),deser:([n])=>e.findIndex(e=>Er(n)===Er(e))+t}}function Dr(e,t){return{regex:e,deser:([,e,t])=>Lt(e,t),groups:t}}function Or(e){return{regex:e,deser:([e])=>e}}function kr(e){return e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,`\\$&`)}function Ar(e,t){let n=j(t),r=j(t,`{2}`),i=j(t,`{3}`),a=j(t,`{4}`),o=j(t,`{6}`),s=j(t,`{1,2}`),c=j(t,`{1,3}`),l=j(t,`{1,6}`),u=j(t,`{1,9}`),d=j(t,`{2,4}`),f=j(t,`{4,6}`),p=e=>({regex:RegExp(kr(e.val)),deser:([e])=>e,literal:!0}),m=(m=>{if(e.literal)return p(m);switch(m.val){case`G`:return Z(t.eras(`short`),0);case`GG`:return Z(t.eras(`long`),0);case`y`:return X(l);case`yy`:return X(d,Ft);case`yyyy`:return X(a);case`yyyyy`:return X(f);case`yyyyyy`:return X(o);case`M`:return X(s);case`MM`:return X(r);case`MMM`:return Z(t.months(`short`,!0),1);case`MMMM`:return Z(t.months(`long`,!0),1);case`L`:return X(s);case`LL`:return X(r);case`LLL`:return Z(t.months(`short`,!1),1);case`LLLL`:return Z(t.months(`long`,!1),1);case`d`:return X(s);case`dd`:return X(r);case`o`:return X(c);case`ooo`:return X(i);case`HH`:return X(r);case`H`:return X(s);case`hh`:return X(r);case`h`:return X(s);case`mm`:return X(r);case`m`:return X(s);case`q`:return X(s);case`qq`:return X(r);case`s`:return X(s);case`ss`:return X(r);case`S`:return X(c);case`SSS`:return X(i);case`u`:return Or(u);case`uu`:return Or(s);case`uuu`:return X(n);case`a`:return Z(t.meridiems(),0);case`kkkk`:return X(a);case`kk`:return X(d,Ft);case`W`:return X(s);case`WW`:return X(r);case`E`:case`c`:return X(n);case`EEE`:return Z(t.weekdays(`short`,!1),1);case`EEEE`:return Z(t.weekdays(`long`,!1),1);case`ccc`:return Z(t.weekdays(`short`,!0),1);case`cccc`:return Z(t.weekdays(`long`,!0),1);case`Z`:case`ZZ`:return Dr(RegExp(`([+-]${s.source})(?::(${r.source}))?`),2);case`ZZZ`:return Dr(RegExp(`([+-]${s.source})(${r.source})?`),2);case`z`:return Or(/[a-z_+-/]{1,256}?/i);case` `:return Or(/[^\S\n\r]/);default:return p(m)}})(e)||{invalidReason:Sr};return m.token=e,m}var jr={year:{"2-digit":`yy`,numeric:`yyyyy`},month:{numeric:`M`,"2-digit":`MM`,short:`MMM`,long:`MMMM`},day:{numeric:`d`,"2-digit":`dd`},weekday:{short:`EEE`,long:`EEEE`},dayperiod:`a`,dayPeriod:`a`,hour12:{numeric:`h`,"2-digit":`hh`},hour24:{numeric:`H`,"2-digit":`HH`},minute:{numeric:`m`,"2-digit":`mm`},second:{numeric:`s`,"2-digit":`ss`},timeZoneName:{long:`ZZZZZ`,short:`ZZZ`}};function Mr(e,t,n){let{type:r,value:i}=e;if(r===`literal`){let e=/^\s+$/.test(i);return{literal:!e,val:e?` `:i}}let a=t[r],o=r;r===`hour`&&(o=t.hour12==null?t.hourCycle==null?n.hour12?`hour12`:`hour24`:t.hourCycle===`h11`||t.hourCycle===`h12`?`hour12`:`hour24`:t.hour12?`hour12`:`hour24`);let s=jr[o];if(typeof s==`object`&&(s=s[a]),s)return{literal:!1,val:s}}function Nr(e){return[`^${e.map(e=>e.regex).reduce((e,t)=>`${e}(${t.source})`,``)}$`,e]}function Pr(e,t,n){let r=e.match(t);if(r){let e={},t=1;for(let i in n)if(Tt(n,i)){let a=n[i],o=a.groups?a.groups+1:1;!a.literal&&a.token&&(e[a.token.val[0]]=a.deser(r.slice(t,t+o))),t+=o}return[r,e]}else return[r,{}]}function Fr(e){let t=e=>{switch(e){case`S`:return`millisecond`;case`s`:return`second`;case`m`:return`minute`;case`h`:case`H`:return`hour`;case`d`:return`day`;case`o`:return`ordinal`;case`L`:case`M`:return`month`;case`y`:return`year`;case`E`:case`c`:return`weekday`;case`W`:return`weekNumber`;case`k`:return`weekYear`;case`q`:return`quarter`;default:return null}},n=null,r;return F(e.z)||(n=D.create(e.z)),F(e.Z)||(n||=new k(e.Z),r=e.Z),F(e.q)||(e.M=(e.q-1)*3+1),F(e.h)||(e.h<12&&e.a===1?e.h+=12:e.h===12&&e.a===0&&(e.h=0)),e.G===0&&e.y&&(e.y=-e.y),F(e.u)||(e.S=Ot(e.u)),[Object.keys(e).reduce((n,r)=>{let i=t(r);return i&&(n[i]=e[r]),n},{}),n,r]}var Ir=null;function Lr(){return Ir||=$.fromMillis(1555555555555),Ir}function Rr(e,t){if(e.literal)return e;let n=Ur(H.macroTokenToFormatOpts(e.val),t);return n==null||n.includes(void 0)?e:n}function zr(e,t){return Array.prototype.concat(...e.map(e=>Rr(e,t)))}var Br=class{constructor(e,t){if(this.locale=e,this.format=t,this.tokens=zr(H.parseFormat(t),e),this.units=this.tokens.map(t=>Ar(t,e)),this.disqualifyingUnit=this.units.find(e=>e.invalidReason),!this.disqualifyingUnit){let[e,t]=Nr(this.units);this.regex=RegExp(e,`i`),this.handlers=t}}explainFromTokens(e){if(this.isValid){let[t,n]=Pr(e,this.regex,this.handlers),[r,i,o]=n?Fr(n):[null,null,void 0];if(Tt(n,`a`)&&Tt(n,`H`))throw new a(`Can't include meridiem when specifying 24-hour format`);return{input:e,tokens:this.tokens,regex:this.regex,rawMatches:t,matches:n,result:r,zone:i,specificOffset:o}}else return{input:e,tokens:this.tokens,invalidReason:this.invalidReason}}get isValid(){return!this.disqualifyingUnit}get invalidReason(){return this.disqualifyingUnit?this.disqualifyingUnit.invalidReason:null}};function Vr(e,t,n){return new Br(e,n).explainFromTokens(t)}function Hr(e,t,n){let{result:r,zone:i,specificOffset:a,invalidReason:o}=Vr(e,t,n);return[r,i,a,o]}function Ur(e,t){if(!e)return null;let n=H.create(t,e).dtFormatter(Lr()),r=n.formatToParts(),i=n.resolvedOptions();return r.map(t=>Mr(t,e,i))}var Wr=`Invalid DateTime`,Gr=864e13;function Kr(e){return new N(`unsupported zone`,`the zone "${e.name}" is not supported`)}function qr(e){return e.weekData===null&&(e.weekData=ct(e.c)),e.weekData}function Jr(e){return e.localWeekData===null&&(e.localWeekData=ct(e.c,e.loc.getMinDaysInFirstWeek(),e.loc.getStartOfWeek())),e.localWeekData}function Q(e,t){let n={ts:e.ts,zone:e.zone,c:e.c,o:e.o,loc:e.loc,invalid:e.invalid};return new $({...n,...t,old:n})}function Yr(e,t,n){let r=e-t*60*1e3,i=n.offset(r);if(t===i)return[r,t];r-=(i-t)*60*1e3;let a=n.offset(r);return i===a?[r,i]:[e-Math.min(i,a)*60*1e3,Math.max(i,a)]}function Xr(e,t){e+=t*60*1e3;let n=new Date(e);return{year:n.getUTCFullYear(),month:n.getUTCMonth()+1,day:n.getUTCDate(),hour:n.getUTCHours(),minute:n.getUTCMinutes(),second:n.getUTCSeconds(),millisecond:n.getUTCMilliseconds()}}function Zr(e,t,n){return Yr(Mt(e),t,n)}function Qr(e,t){let n=e.o,r=e.c.year+Math.trunc(t.years),i=e.c.month+Math.trunc(t.months)+Math.trunc(t.quarters)*3,a={...e.c,year:r,month:i,day:Math.min(e.c.day,jt(r,i))+Math.trunc(t.days)+Math.trunc(t.weeks)*7},o=Y.fromObject({years:t.years-Math.trunc(t.years),quarters:t.quarters-Math.trunc(t.quarters),months:t.months-Math.trunc(t.months),weeks:t.weeks-Math.trunc(t.weeks),days:t.days-Math.trunc(t.days),hours:t.hours,minutes:t.minutes,seconds:t.seconds,milliseconds:t.milliseconds}).as(`milliseconds`),[s,c]=Yr(Mt(a),n,e.zone);return o!==0&&(s+=o,c=e.zone.offset(s)),{ts:s,o:c}}function $r(e,t,n,r,i,a){let{setZone:o,zone:s}=n;if(e&&Object.keys(e).length!==0||t){let r=t||s,i=$.fromObject(e,{...n,zone:r,specificOffset:a});return o?i:i.setZone(s)}else return $.invalid(new N(`unparsable`,`the input "${i}" can't be parsed as ${r}`))}function ei(e,t,n=!0){return e.isValid?H.create(O.create(`en-US`),{allowZ:n,forceSimple:!0}).formatDateTimeFromString(e,t):null}function ti(e,t,n){let r=e.c.year>9999||e.c.year<0,i=``;if(r&&e.c.year>=0&&(i+=`+`),i+=R(e.c.year,r?6:4),n===`year`)return i;if(t){if(i+=`-`,i+=R(e.c.month),n===`month`)return i;i+=`-`}else if(i+=R(e.c.month),n===`month`)return i;return i+=R(e.c.day),i}function ni(e,t,n,r,i,a,o){let s=!n||e.c.millisecond!==0||e.c.second!==0,c=``;switch(o){case`day`:case`month`:case`year`:break;default:if(c+=R(e.c.hour),o===`hour`)break;if(t){if(c+=`:`,c+=R(e.c.minute),o===`minute`)break;s&&(c+=`:`,c+=R(e.c.second))}else{if(c+=R(e.c.minute),o===`minute`)break;s&&(c+=R(e.c.second))}if(o===`second`)break;s&&(!r||e.c.millisecond!==0)&&(c+=`.`,c+=R(e.c.millisecond,3))}return i&&(e.isOffsetFixed&&e.offset===0&&!a?c+=`Z`:e.o<0?(c+=`-`,c+=R(Math.trunc(-e.o/60)),c+=`:`,c+=R(Math.trunc(-e.o%60))):(c+=`+`,c+=R(Math.trunc(e.o/60)),c+=`:`,c+=R(Math.trunc(e.o%60)))),a&&(c+=`[`+e.zone.ianaName+`]`),c}var ri={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},ii={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},ai={ordinal:1,hour:0,minute:0,second:0,millisecond:0},oi=[`year`,`month`,`day`,`hour`,`minute`,`second`,`millisecond`],si=[`weekYear`,`weekNumber`,`weekday`,`hour`,`minute`,`second`,`millisecond`],ci=[`year`,`ordinal`,`hour`,`minute`,`second`,`millisecond`];function li(e){let t={year:`year`,years:`year`,month:`month`,months:`month`,day:`day`,days:`day`,hour:`hour`,hours:`hour`,minute:`minute`,minutes:`minute`,quarter:`quarter`,quarters:`quarter`,second:`second`,seconds:`second`,millisecond:`millisecond`,milliseconds:`millisecond`,weekday:`weekday`,weekdays:`weekday`,weeknumber:`weekNumber`,weeksnumber:`weekNumber`,weeknumbers:`weekNumber`,weekyear:`weekYear`,weekyears:`weekYear`,ordinal:`ordinal`}[e.toLowerCase()];if(!t)throw new o(e);return t}function ui(e){switch(e.toLowerCase()){case`localweekday`:case`localweekdays`:return`localWeekday`;case`localweeknumber`:case`localweeknumbers`:return`localWeekNumber`;case`localweekyear`:case`localweekyears`:return`localWeekYear`;default:return li(e)}}function di(e){if(hi===void 0&&(hi=M.now()),e.type!==`iana`)return e.offset(hi);let t=e.name,n=gi.get(t);return n===void 0&&(n=e.offset(hi),gi.set(t,n)),n}function fi(e,t){let n=A(t.zone,M.defaultZone);if(!n.isValid)return $.invalid(Kr(n));let r=O.fromObject(t),i,a;if(F(e.year))i=M.now();else{for(let t of oi)F(e[t])&&(e[t]=ri[t]);let t=ht(e)||gt(e);if(t)return $.invalid(t);let r=di(n);[i,a]=Zr(e,r,n)}return new $({ts:i,zone:n,loc:r,o:a})}function pi(e,t,n){let r=F(n.round)?!0:n.round,i=F(n.rounding)?`trunc`:n.rounding,a=(e,a)=>(e=kt(e,r||n.calendary?0:2,n.calendary?`round`:i),t.loc.clone(n).relFormatter(n).format(e,a)),o=r=>n.calendary?t.hasSame(e,r)?0:t.startOf(r).diff(e.startOf(r),r).get(r):t.diff(e,r).get(r);if(n.unit)return a(o(n.unit),n.unit);for(let e of n.units){let t=o(e);if(Math.abs(t)>=1)return a(t,e)}return a(e>t?-0:0,n.units[n.units.length-1])}function mi(e){let t={},n;return e.length>0&&typeof e[e.length-1]==`object`?(t=e[e.length-1],n=Array.from(e).slice(0,e.length-1)):n=Array.from(e),[t,n]}var hi,gi=new Map,$=class e{constructor(e){let t=e.zone||M.defaultZone,n=e.invalid||(Number.isNaN(e.ts)?new N(`invalid input`):null)||(t.isValid?null:Kr(t));this.ts=F(e.ts)?M.now():e.ts;let r=null,i=null;if(!n)if(e.old&&e.old.ts===this.ts&&e.old.zone.equals(t))[r,i]=[e.old.c,e.old.o];else{let a=I(e.o)&&!e.old?e.o:t.offset(this.ts);r=Xr(this.ts,a),n=Number.isNaN(r.year)?new N(`invalid input`):null,r=n?null:r,i=n?null:a}this._zone=t,this.loc=e.loc||O.create(),this.invalid=n,this.weekData=null,this.localWeekData=null,this.c=r,this.o=i,this.isLuxonDateTime=!0}static now(){return new e({})}static local(){let[e,t]=mi(arguments),[n,r,i,a,o,s,c]=t;return fi({year:n,month:r,day:i,hour:a,minute:o,second:s,millisecond:c},e)}static utc(){let[e,t]=mi(arguments),[n,r,i,a,o,s,c]=t;return e.zone=k.utcInstance,fi({year:n,month:r,day:i,hour:a,minute:o,second:s,millisecond:c},e)}static fromJSDate(t,n={}){let r=yt(t)?t.valueOf():NaN;if(Number.isNaN(r))return e.invalid(`invalid input`);let i=A(n.zone,M.defaultZone);return i.isValid?new e({ts:r,zone:i,loc:O.fromObject(n)}):e.invalid(Kr(i))}static fromMillis(t,n={}){if(!I(t))throw new s(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`);return t<-Gr||t>Gr?e.invalid(`Timestamp out of range`):new e({ts:t,zone:A(n.zone,M.defaultZone),loc:O.fromObject(n)})}static fromSeconds(t,n={}){if(I(t))return new e({ts:t*1e3,zone:A(n.zone,M.defaultZone),loc:O.fromObject(n)});throw new s(`fromSeconds requires a numerical input`)}static fromObject(t,n={}){t||={};let r=A(n.zone,M.defaultZone);if(!r.isValid)return e.invalid(Kr(r));let i=O.fromObject(n),o=zt(t,ui),{minDaysInFirstWeek:s,startOfWeek:c}=ft(o,i),l=M.now(),u=F(n.specificOffset)?r.offset(l):n.specificOffset,d=!F(o.ordinal),f=!F(o.year),p=!F(o.month)||!F(o.day),m=f||p,h=o.weekYear||o.weekNumber;if((m||d)&&h)throw new a(`Can't mix weekYear/weekNumber units with year/month/day or ordinals`);if(p&&d)throw new a(`Can't mix ordinal dates with month/day`);let g=h||o.weekday&&!m,_,v,y=Xr(l,u);g?(_=si,v=ii,y=ct(y,s,c)):d?(_=ci,v=ai,y=ut(y)):(_=oi,v=ri);let b=!1;for(let e of _){let t=o[e];F(t)?b?o[e]=v[e]:o[e]=y[e]:b=!0}let x=(g?pt(o,s,c):d?mt(o):ht(o))||gt(o);if(x)return e.invalid(x);let[ee,te]=Zr(g?lt(o,s,c):d?dt(o):o,u,r),S=new e({ts:ee,zone:r,o:te,loc:i});return o.weekday&&m&&t.weekday!==S.weekday?e.invalid(`mismatched weekday`,`you can't specify both a weekday of ${o.weekday} and a date of ${S.toISO()}`):S.isValid?S:e.invalid(S.invalid)}static fromISO(e,t={}){let[n,r]=Xn(e);return $r(n,r,t,`ISO 8601`,e)}static fromRFC2822(e,t={}){let[n,r]=Zn(e);return $r(n,r,t,`RFC 2822`,e)}static fromHTTP(e,t={}){let[n,r]=Qn(e);return $r(n,r,t,`HTTP`,t)}static fromFormat(t,n,r={}){if(F(t)||F(n))throw new s(`fromFormat requires an input string and a format`);let{locale:i=null,numberingSystem:a=null}=r,[o,c,l,u]=Hr(O.fromOpts({locale:i,numberingSystem:a,defaultToEN:!0}),t,n);return u?e.invalid(u):$r(o,c,r,`format ${n}`,t,l)}static fromString(t,n,r={}){return e.fromFormat(t,n,r)}static fromSQL(e,t={}){let[n,r]=ar(e);return $r(n,r,t,`SQL`,e)}static invalid(t,r=null){if(!t)throw new s(`need to specify a reason the DateTime is invalid`);let i=t instanceof N?t:new N(t,r);if(M.throwOnInvalid)throw new n(i);return new e({invalid:i})}static isDateTime(e){return e&&e.isLuxonDateTime||!1}static parseFormatForOpts(e,t={}){let n=Ur(e,O.fromObject(t));return n?n.map(e=>e?e.val:null).join(``):null}static expandFormat(e,t={}){return zr(H.parseFormat(e),O.fromObject(t)).map(e=>e.val).join(``)}static resetCache(){hi=void 0,gi.clear()}get(e){return this[e]}get isValid(){return this.invalid===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?qr(this).weekYear:NaN}get weekNumber(){return this.isValid?qr(this).weekNumber:NaN}get weekday(){return this.isValid?qr(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Jr(this).weekday:NaN}get localWeekNumber(){return this.isValid?Jr(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Jr(this).weekYear:NaN}get ordinal(){return this.isValid?ut(this.c).ordinal:NaN}get monthShort(){return this.isValid?vr.months(`short`,{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?vr.months(`long`,{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?vr.weekdays(`short`,{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?vr.weekdays(`long`,{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:`short`,locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:`long`,locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return this.isOffsetFixed?!1:this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed)return[this];let e=864e5,t=6e4,n=Mt(this.c),r=this.zone.offset(n-e),i=this.zone.offset(n+e),a=this.zone.offset(n-r*t),o=this.zone.offset(n-i*t);if(a===o)return[this];let s=n-a*t,c=n-o*t,l=Xr(s,a),u=Xr(c,o);return l.hour===u.hour&&l.minute===u.minute&&l.second===u.second&&l.millisecond===u.millisecond?[Q(this,{ts:s}),Q(this,{ts:c})]:[this]}get isInLeapYear(){return At(this.year)}get daysInMonth(){return jt(this.year,this.month)}get daysInYear(){return this.isValid?V(this.year):NaN}get weeksInWeekYear(){return this.isValid?Pt(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?Pt(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(e={}){let{locale:t,numberingSystem:n,calendar:r}=H.create(this.loc.clone(e),e).resolvedOptions(this);return{locale:t,numberingSystem:n,outputCalendar:r}}toUTC(e=0,t={}){return this.setZone(k.instance(e),t)}toLocal(){return this.setZone(M.defaultZone)}setZone(t,{keepLocalTime:n=!1,keepCalendarTime:r=!1}={}){if(t=A(t,M.defaultZone),t.equals(this.zone))return this;if(t.isValid){let e=this.ts;if(n||r){let n=t.offset(this.ts),r=this.toObject();[e]=Zr(r,n,t)}return Q(this,{ts:e,zone:t})}else return e.invalid(Kr(t))}reconfigure({locale:e,numberingSystem:t,outputCalendar:n}={}){let r=this.loc.clone({locale:e,numberingSystem:t,outputCalendar:n});return Q(this,{loc:r})}setLocale(e){return this.reconfigure({locale:e})}set(e){if(!this.isValid)return this;let t=zt(e,ui),{minDaysInFirstWeek:n,startOfWeek:r}=ft(t,this.loc),i=!F(t.weekYear)||!F(t.weekNumber)||!F(t.weekday),o=!F(t.ordinal),s=!F(t.year),c=!F(t.month)||!F(t.day),l=s||c,u=t.weekYear||t.weekNumber;if((l||o)&&u)throw new a(`Can't mix weekYear/weekNumber units with year/month/day or ordinals`);if(c&&o)throw new a(`Can't mix ordinal dates with month/day`);let d;i?d=lt({...ct(this.c,n,r),...t},n,r):F(t.ordinal)?(d={...this.toObject(),...t},F(t.day)&&(d.day=Math.min(jt(d.year,d.month),d.day))):d=dt({...ut(this.c),...t});let[f,p]=Zr(d,this.o,this.zone);return Q(this,{ts:f,o:p})}plus(e){if(!this.isValid)return this;let t=Y.fromDurationLike(e);return Q(this,Qr(this,t))}minus(e){if(!this.isValid)return this;let t=Y.fromDurationLike(e).negate();return Q(this,Qr(this,t))}startOf(e,{useLocaleWeeks:t=!1}={}){if(!this.isValid)return this;let n={},r=Y.normalizeUnit(e);switch(r){case`years`:n.month=1;case`quarters`:case`months`:n.day=1;case`weeks`:case`days`:n.hour=0;case`hours`:n.minute=0;case`minutes`:n.second=0;case`seconds`:n.millisecond=0;break}if(r===`weeks`)if(t){let e=this.loc.getStartOfWeek(),{weekday:t}=this;t<e&&(n.weekNumber=this.weekNumber-1),n.weekday=e}else n.weekday=1;return r===`quarters`&&(n.month=(Math.ceil(this.month/3)-1)*3+1),this.set(n)}endOf(e,t){return this.isValid?this.plus({[e]:1}).startOf(e,t).minus(1):this}toFormat(e,t={}){return this.isValid?H.create(this.loc.redefaultToEN(t)).formatDateTimeFromString(this,e):Wr}toLocaleString(e=f,t={}){return this.isValid?H.create(this.loc.clone(t),e).formatDateTime(this):Wr}toLocaleParts(e={}){return this.isValid?H.create(this.loc.clone(e),e).formatDateTimeParts(this):[]}toISO({format:e=`extended`,suppressSeconds:t=!1,suppressMilliseconds:n=!1,includeOffset:r=!0,extendedZone:i=!1,precision:a=`milliseconds`}={}){if(!this.isValid)return null;a=li(a);let o=e===`extended`,s=ti(this,o,a);return oi.indexOf(a)>=3&&(s+=`T`),s+=ni(this,o,t,n,r,i,a),s}toISODate({format:e=`extended`,precision:t=`day`}={}){return this.isValid?ti(this,e===`extended`,li(t)):null}toISOWeekDate(){return ei(this,`kkkk-'W'WW-c`)}toISOTime({suppressMilliseconds:e=!1,suppressSeconds:t=!1,includeOffset:n=!0,includePrefix:r=!1,extendedZone:i=!1,format:a=`extended`,precision:o=`milliseconds`}={}){return this.isValid?(o=li(o),(r&&oi.indexOf(o)>=3?`T`:``)+ni(this,a===`extended`,t,e,n,i,o)):null}toRFC2822(){return ei(this,`EEE, dd LLL yyyy HH:mm:ss ZZZ`,!1)}toHTTP(){return ei(this.toUTC(),`EEE, dd LLL yyyy HH:mm:ss 'GMT'`)}toSQLDate(){return this.isValid?ti(this,!0):null}toSQLTime({includeOffset:e=!0,includeZone:t=!1,includeOffsetSpace:n=!0}={}){let r=`HH:mm:ss.SSS`;return(t||e)&&(n&&(r+=` `),t?r+=`z`:e&&(r+=`ZZ`)),ei(this,r,!0)}toSQL(e={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(e)}`:null}toString(){return this.isValid?this.toISO():Wr}[Symbol.for(`nodejs.util.inspect.custom`)](){return this.isValid?`DateTime { ts: ${this.toISO()}, zone: ${this.zone.name}, locale: ${this.locale} }`:`DateTime { Invalid, reason: ${this.invalidReason} }`}valueOf(){return this.toMillis()}toMillis(){return this.isValid?this.ts:NaN}toSeconds(){return this.isValid?this.ts/1e3:NaN}toUnixInteger(){return this.isValid?Math.floor(this.ts/1e3):NaN}toJSON(){return this.toISO()}toBSON(){return this.toJSDate()}toObject(e={}){if(!this.isValid)return{};let t={...this.c};return e.includeConfig&&(t.outputCalendar=this.outputCalendar,t.numberingSystem=this.loc.numberingSystem,t.locale=this.loc.locale),t}toJSDate(){return new Date(this.isValid?this.ts:NaN)}diff(e,t=`milliseconds`,n={}){if(!this.isValid||!e.isValid)return Y.invalid(`created by diffing an invalid DateTime`);let r={locale:this.locale,numberingSystem:this.numberingSystem,...n},i=St(t).map(Y.normalizeUnit),a=e.valueOf()>this.valueOf(),o=xr(a?this:e,a?e:this,i,r);return a?o.negate():o}diffNow(t=`milliseconds`,n={}){return this.diff(e.now(),t,n)}until(e){return this.isValid?_r.fromDateTimes(this,e):this}hasSame(e,t,n){if(!this.isValid)return!1;let r=e.valueOf(),i=this.setZone(e.zone,{keepLocalTime:!0});return i.startOf(t,n)<=r&&r<=i.endOf(t,n)}equals(e){return this.isValid&&e.isValid&&this.valueOf()===e.valueOf()&&this.zone.equals(e.zone)&&this.loc.equals(e.loc)}toRelative(t={}){if(!this.isValid)return null;let n=t.base||e.fromObject({},{zone:this.zone}),r=t.padding?this<n?-t.padding:t.padding:0,i=[`years`,`months`,`days`,`hours`,`minutes`,`seconds`],a=t.unit;return Array.isArray(t.unit)&&(i=t.unit,a=void 0),pi(n,this.plus(r),{...t,numeric:`always`,units:i,unit:a})}toRelativeCalendar(t={}){return this.isValid?pi(t.base||e.fromObject({},{zone:this.zone}),this,{...t,numeric:`auto`,units:[`years`,`months`,`days`],calendary:!0}):null}static min(...t){if(!t.every(e.isDateTime))throw new s(`min requires all arguments be DateTimes`);return Ct(t,e=>e.valueOf(),Math.min)}static max(...t){if(!t.every(e.isDateTime))throw new s(`max requires all arguments be DateTimes`);return Ct(t,e=>e.valueOf(),Math.max)}static fromFormatExplain(e,t,n={}){let{locale:r=null,numberingSystem:i=null}=n;return Vr(O.fromOpts({locale:r,numberingSystem:i,defaultToEN:!0}),e,t)}static fromStringExplain(t,n,r={}){return e.fromFormatExplain(t,n,r)}static buildFormatParser(e,t={}){let{locale:n=null,numberingSystem:r=null}=t;return new Br(O.fromOpts({locale:n,numberingSystem:r,defaultToEN:!0}),e)}static fromFormatParser(t,n,r={}){if(F(t)||F(n))throw new s(`fromFormatParser requires an input string and a format parser`);let{locale:i=null,numberingSystem:a=null}=r,o=O.fromOpts({locale:i,numberingSystem:a,defaultToEN:!0});if(!o.equals(n.locale))throw new s(`fromFormatParser called with a locale of ${o}, but the format parser was created for ${n.locale}`);let{result:c,zone:l,specificOffset:u,invalidReason:d}=n.explainFromTokens(t);return d?e.invalid(d):$r(c,l,r,`format ${n.format}`,t,u)}static get DATE_SHORT(){return f}static get DATE_MED(){return p}static get DATE_MED_WITH_WEEKDAY(){return m}static get DATE_FULL(){return h}static get DATE_HUGE(){return g}static get TIME_SIMPLE(){return _}static get TIME_WITH_SECONDS(){return v}static get TIME_WITH_SHORT_OFFSET(){return y}static get TIME_WITH_LONG_OFFSET(){return b}static get TIME_24_SIMPLE(){return x}static get TIME_24_WITH_SECONDS(){return ee}static get TIME_24_WITH_SHORT_OFFSET(){return te}static get TIME_24_WITH_LONG_OFFSET(){return S}static get DATETIME_SHORT(){return ne}static get DATETIME_SHORT_WITH_SECONDS(){return re}static get DATETIME_MED(){return ie}static get DATETIME_MED_WITH_SECONDS(){return C}static get DATETIME_MED_WITH_WEEKDAY(){return ae}static get DATETIME_FULL(){return oe}static get DATETIME_FULL_WITH_SECONDS(){return se}static get DATETIME_HUGE(){return ce}static get DATETIME_HUGE_WITH_SECONDS(){return le}};function _i(e){if($.isDateTime(e))return e;if(e&&e.valueOf&&I(e.valueOf()))return $.fromJSDate(e);if(e&&typeof e==`object`)return $.fromObject(e);throw new s(`Unknown datetime argument: ${e}, of type ${typeof e}`)}e.DateTime=$,e.Duration=Y,e.FixedOffsetZone=k,e.IANAZone=D,e.Info=vr,e.Interval=_r,e.InvalidZone=Ve,e.Settings=M,e.SystemZone=T,e.VERSION=`3.7.2`,e.Zone=w})),re=t((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.RE_RANGE=e.RE_WILDCARDS=e.PRESETS=e.TIME_UNITS_LEN=e.TIME_UNITS=e.TIME_UNITS_MAP=e.ALIASES=e.PARSE_DEFAULTS=e.CONSTRAINTS=void 0,e.CONSTRAINTS=Object.freeze({second:[0,59],minute:[0,59],hour:[0,23],dayOfMonth:[1,31],month:[1,12],dayOfWeek:[0,7]}),e.PARSE_DEFAULTS=Object.freeze({second:`0`,minute:`*`,hour:`*`,dayOfMonth:`*`,month:`*`,dayOfWeek:`*`}),e.ALIASES=Object.freeze({jan:1,feb:2,mar:3,apr:4,may:5,jun:6,jul:7,aug:8,sep:9,oct:10,nov:11,dec:12,sun:0,mon:1,tue:2,wed:3,thu:4,fri:5,sat:6}),e.TIME_UNITS_MAP=Object.freeze({SECOND:`second`,MINUTE:`minute`,HOUR:`hour`,DAY_OF_MONTH:`dayOfMonth`,MONTH:`month`,DAY_OF_WEEK:`dayOfWeek`}),e.TIME_UNITS=Object.freeze(Object.values(e.TIME_UNITS_MAP)),e.TIME_UNITS_LEN=e.TIME_UNITS.length,e.PRESETS=Object.freeze({"@yearly":`0 0 0 1 1 *`,"@monthly":`0 0 0 1 * *`,"@weekly":`0 0 0 * * 0`,"@daily":`0 0 0 * * *`,"@hourly":`0 0 * * * *`,"@minutely":`0 * * * * *`,"@secondly":`* * * * * *`,"@weekdays":`0 0 0 * * 1-5`,"@weekends":`0 0 0 * * 0,6`}),e.RE_WILDCARDS=/\*/g,e.RE_RANGE=/^(\d+)(?:-(\d+))?(?:\/(\d+))?$/g})),ie=t((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.ExclusiveParametersError=e.CronError=void 0;var t=class extends Error{};e.CronError=t,e.ExclusiveParametersError=class extends t{constructor(e,t){super(`You can't specify both ${e} and ${t}`)}}})),C=t((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.CronTime=void 0;var t=ne(),n=re(),r=ie();e.CronTime=class e{constructor(e,n,i){if(this.realDate=!1,this.second={},this.minute={},this.hour={},this.dayOfMonth={},this.month={},this.dayOfWeek={},n!=null&&i!=null)throw new r.ExclusiveParametersError(`timeZone`,`utcOffset`);if(n){if(!t.DateTime.fromObject({},{zone:n}).isValid)throw new r.CronError(`Invalid timezone.`);this.timeZone=n}i!=null&&(this.utcOffset=i),n==null&&i==null&&(this.timeZone=Intl.DateTimeFormat().resolvedOptions().timeZone),e instanceof Date||e instanceof t.DateTime?(this.source=e instanceof Date?t.DateTime.fromJSDate(e):e,this.realDate=!0):(this.source=e,this._parse(this.source))}static validateCronExpression(t){try{return new e(t),{valid:!0}}catch(e){return{valid:!1,error:e}}}_getWeekDay(e){return e.weekday===7?0:e.weekday}sendAt(e){let n=this.realDate&&this.source instanceof t.DateTime?this.source:t.DateTime.utc();if(this.timeZone&&(n=n.setZone(this.timeZone)),this.utcOffset!==void 0){let e=this.utcOffset<0?`-`:`+`,t=Math.trunc(this.utcOffset/60),i=String(Math.abs(t)).padStart(2,`0`),a=Math.abs(this.utcOffset-t*60),o=`UTC${e}${i}:${String(a).padStart(2,`0`)}`;if(n=n.setZone(o),!n.isValid)throw new r.CronError(`ERROR: You specified an invalid UTC offset.`)}if(this.realDate){if(t.DateTime.local()>n)throw new r.CronError(`WARNING: Date in past. Will never be fired.`);return n}if(e===void 0||isNaN(e)||e<0)return this.getNextDateFrom(n);{let t=[];for(;e>0;e--)n=this.getNextDateFrom(n),t.push(n);return t}}getTimeout(){return this.sendAt().toMillis()-t.DateTime.local().toMillis()}toString(){return this.toJSON().join(` `)}toJSON(){return n.TIME_UNITS.map(e=>this._wcOrAll(e))}getNextDateFrom(e,n){e instanceof Date&&(e=t.DateTime.fromJSDate(e)),n?e=e.setZone(n):n=e.zone.zoneName??e.zone.fixed;let i=t.DateTime.fromFormat(`${e.year}-${e.month}-${e.day} ${e.hour}:${e.minute}:${e.second}`,`yyyy-M-d H:m:s`,{zone:`UTC`}),a=i.toMillis();if(this.realDate||i.millisecond>0&&(i=i.set({millisecond:0,second:i.second+1})),!i.isValid)throw new r.CronError(`ERROR: You specified an invalid date.`);let o=t.DateTime.now().plus({years:8});for(;;){if(i>o)throw new r.CronError(`Something went wrong. No execution date was found in the next 8 years.
2
- Please provide the following string if you would like to help debug:
3
- Time Zone: ${n?.toString()??`""`} - Cron String: ${this.source.toString()} - UTC offset: ${i.offset} - current Date: ${t.DateTime.local().toString()}`);if(!(i.month in this.month)&&Object.keys(this.month).length!==12){i=i.plus({month:1}),i=i.set({day:1,hour:0,minute:0,second:0});continue}if(!(i.day in this.dayOfMonth)&&Object.keys(this.dayOfMonth).length!==31&&!(this._getWeekDay(i)in this.dayOfWeek&&Object.keys(this.dayOfWeek).length!==7)||!(this._getWeekDay(i)in this.dayOfWeek)&&Object.keys(this.dayOfWeek).length!==7&&!(i.day in this.dayOfMonth&&Object.keys(this.dayOfMonth).length!==31)){i=i.plus({days:1}),i=i.set({hour:0,minute:0,second:0});continue}if(!(i.hour in this.hour)&&Object.keys(this.hour).length!==24){i=i.plus({hour:1}),i=i.set({minute:0,second:0});continue}if(!(i.minute in this.minute)&&Object.keys(this.minute).length!==60){i=i.plus({minute:1}),i=i.set({second:0});continue}if(i.toMillis()===a||!(i.second in this.second)&&Object.keys(this.second).length!==60){i=i.plus({second:1});continue}break}let s=i.hour,c=i.minute;i=t.DateTime.fromFormat(`${i.year}-${i.month}-${i.day} ${i.hour}:${i.minute}:${i.second}`,`yyyy-M-d H:m:s`,{zone:n});let l=t.DateTime.fromFormat(`${i.year}-1-1 0:0:0`,`yyyy-M-d H:m:s`,{zone:n});if((s!==i.hour||c!==i.minute)&&l.offset!==i.offset){for(;i.minus({minute:1}).offset!==l.offset;)i=i.minus({minute:1});return i}let u=i.minus({hour:1}),d=i.minus({hour:2});(u.hour===i.hour||d.hour===u.hour)&&u>e&&(i=u);let f=i.minus({minute:30});return(f.minute===i.minute||u.minute===f.minute)&&f>e&&(i=f),i}_wcOrAll(e){if(this._hasAll(e))return`*`;let t=[];for(let n in this[e])t.push(n);return t.join(`,`)}_hasAll(e){let t=n.CONSTRAINTS[e],r=t[0],i=e===n.TIME_UNITS_MAP.DAY_OF_WEEK?t[1]-1:t[1];for(let t=r,n=i;t<n;t++)if(!(t in this[e]))return!1;return!0}_parse(e){e=e.toLowerCase(),Object.keys(n.PRESETS).includes(e)&&(e=n.PRESETS[e]),e=e.replace(/[a-z]{1,3}/gi,e=>{if(Object.keys(n.ALIASES).includes(e))return n.ALIASES[e].toString();throw new r.CronError(`Unknown alias: ${e}`)});let t=e.trim().split(/\s+/);if(t.length<n.TIME_UNITS_LEN-1)throw new r.CronError(`Too few fields`);if(t.length>n.TIME_UNITS_LEN)throw new r.CronError(`Too many fields`);let i=t.length;for(let e of n.TIME_UNITS){let r=t[n.TIME_UNITS.indexOf(e)-(n.TIME_UNITS_LEN-i)]??n.PARSE_DEFAULTS[e];this._parseField(r,e)}}_parseField(e,t){let i=this[t],a,o=n.CONSTRAINTS[t],s=o[0],c=o[1];e.split(`,`).forEach(e=>{let t=e.indexOf(`*`);if(t!==-1&&t!==0)throw new r.CronError(`Field (${e}) has an invalid wildcard expression`)}),e=e.replace(n.RE_WILDCARDS,`${s}-${c}`);let l=e.split(`,`);for(let o of l){let l=[...o.matchAll(n.RE_RANGE)][0];if(l?.[1]!==void 0){let[,n,o,u]=l,d=parseInt(n,10),f=o===void 0?void 0:parseInt(o,10),p=u!==void 0,m=parseInt(u??`1`,10);if(m===0)throw new r.CronError(`Field (${t}) has a step of zero`);if(f!==void 0&&d>f)throw new r.CronError(`Field (${t}) has an invalid range`);if(d<s||f!==void 0&&f>c||f===void 0&&d>c)throw new r.CronError(`Field value (${e}) is out of range`);d=Math.min(Math.max(s,~~Math.abs(d)),c),f=f===void 0?p?c:d:Math.min(c,~~Math.abs(f)),a=d;do i[a]=!0,a+=m;while(a<=f);t===`dayOfWeek`&&(!i[0]&&i[7]&&(i[0]=i[7]),delete i[7])}else throw new r.CronError(`Field (${t}) cannot be parsed`)}}}})),ae=t((e=>{var t=e&&e.__awaiter||function(e,t,n,r){function i(e){return e instanceof n?e:new n(function(t){t(e)})}return new(n||=Promise)(function(n,a){function o(e){try{c(r.next(e))}catch(e){a(e)}}function s(e){try{c(r.throw(e))}catch(e){a(e)}}function c(e){e.done?n(e.value):i(e.value).then(o,s)}c((r=r.apply(e,t||[])).next())})};Object.defineProperty(e,`__esModule`,{value:!0}),e.CronJob=void 0;var n=g(),r=ie(),i=C();e.CronJob=class e{get isActive(){return this._isActive}get isCallbackRunning(){return this._isCallbackRunning}constructor(e,t,n,a,o,s,c,l,u,d,f,p,m){if(this.unrefTimeout=!1,this.lastExecution=null,this.runOnce=!1,this.waitForCompletion=!1,this.threshold=250,this._isActive=!1,this._isCallbackRunning=!1,this._callbacks=[],this.context=s??this,this.waitForCompletion=!!d,this.errorHandler=f,o!=null&&l!=null)throw new r.ExclusiveParametersError(`timeZone`,`utcOffset`);o==null?l==null?this.cronTime=new i.CronTime(e,o,l):this.cronTime=new i.CronTime(e,null,l):this.cronTime=new i.CronTime(e,o,null),u!=null&&(this.unrefTimeout=u),n!=null&&(this.onComplete=this._fnWrap(n)),m!=null&&(this.threshold=Math.abs(m)),p!=null&&(this.name=p),this.cronTime.realDate&&(this.runOnce=!0),this.addCallback(this._fnWrap(t)),c&&(this.lastExecution=new Date,this.fireOnTick()),a&&this.start()}static from(t){if(t.timeZone!=null&&t.utcOffset!=null)throw new r.ExclusiveParametersError(`timeZone`,`utcOffset`);return t.timeZone==null?t.utcOffset==null?new e(t.cronTime,t.onTick,t.onComplete,t.start,t.timeZone,t.context,t.runOnInit,t.utcOffset,t.unrefTimeout,t.waitForCompletion,t.errorHandler,t.name,t.threshold):new e(t.cronTime,t.onTick,t.onComplete,t.start,null,t.context,t.runOnInit,t.utcOffset,t.unrefTimeout,t.waitForCompletion,t.errorHandler,t.name,t.threshold):new e(t.cronTime,t.onTick,t.onComplete,t.start,t.timeZone,t.context,t.runOnInit,t.utcOffset,t.unrefTimeout,t.waitForCompletion,t.errorHandler,t.name,t.threshold)}_fnWrap(e){switch(typeof e){case`function`:return e;case`string`:{let[t,...r]=e.split(` `);return n.spawn.bind(void 0,t??e,r,{})}case`object`:return n.spawn.bind(void 0,e.command,e.args??[],e.options??{})}}addCallback(e){typeof e==`function`&&this._callbacks.push(e)}setTime(e){if(!(e instanceof i.CronTime))throw new r.CronError(`time must be an instance of CronTime.`);let t=this._isActive;this.stop(),this.cronTime=e,e.realDate&&(this.runOnce=!0),t&&this.start()}nextDate(){return this.cronTime.sendAt()}fireOnTick(){return t(this,void 0,void 0,function*(){if(!(this.waitForCompletion&&this._isCallbackRunning)){this._isCallbackRunning=!0;try{for(let e of this._callbacks){let t=e.call(this.context,this.onComplete);t&&typeof t==`object`&&typeof t.then==`function`&&(this.waitForCompletion?yield t:t.catch(e=>{this.errorHandler==null?console.error(`[Cron] error in callback`,e):this.errorHandler(e)}))}}catch(e){this.errorHandler==null?console.error(`[Cron] error in callback`,e):this.errorHandler(e)}finally{this._isCallbackRunning=!1}}})}nextDates(e){return this.cronTime.sendAt(e??0)}start(){if(this._isActive)return;this._isActive=!0;let e=2147483647,t=this.cronTime.getTimeout(),n=0,r,i=e=>{r=Date.now(),this._timeout=setTimeout(a,Math.max(e,1)),this.unrefTimeout&&typeof this._timeout.unref==`function`&&this._timeout.unref()},a=()=>{let a=r+t-Date.now();if(a>0){let e=this.cronTime.getTimeout();e>a&&(e=a),n+=e}n?(n>e?(n-=e,t=e):(t=n,n=0),i(t)):(this.lastExecution=new Date,this._isActive=!1,this.runOnce||this.start(),this.fireOnTick())};if(t>=0)t>e&&(n=t-e,t=e),i(t);else{let e=Math.abs(t),n=`[Cron] Missed execution deadline by ${e}ms for job${this.name?` "${this.name}"`:``} with cron expression '${String(this.cronTime.source)}'`;e<=this.threshold?(console.warn(`${n}. Executing immediately.`),this.lastExecution=new Date,this.fireOnTick()):console.warn(`${n}. Skipping execution as it exceeds threshold (${this.threshold}ms).`),t=this.cronTime.getTimeout(),i(t)}}lastDate(){return this.lastExecution}_executeOnComplete(){return t(this,void 0,void 0,function*(){if(typeof this.onComplete==`function`)try{yield this.onComplete.call(this.context)}catch(e){console.error(`[Cron] error in onComplete callback:`,e)}})}_waitForJobCompletion(){return t(this,void 0,void 0,function*(){for(;this._isCallbackRunning;)yield new Promise(e=>setTimeout(e,100))})}stop(){if(this._timeout&&clearTimeout(this._timeout),this._isActive=!1,!this.waitForCompletion){this._executeOnComplete();return}return Promise.resolve().then(()=>t(this,void 0,void 0,function*(){yield this._waitForJobCompletion(),yield this._executeOnComplete()}))}}})),oe=t((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.validateCronExpression=e.timeout=e.sendAt=e.CronTime=e.CronJob=void 0;var t=C(),n=ae();Object.defineProperty(e,`CronJob`,{enumerable:!0,get:function(){return n.CronJob}});var r=C();Object.defineProperty(e,`CronTime`,{enumerable:!0,get:function(){return r.CronTime}}),e.sendAt=e=>new t.CronTime(e).sendAt(),e.timeout=e=>new t.CronTime(e).getTimeout(),e.validateCronExpression=t.CronTime.validateCronExpression})),se=t(((e,t)=>{(function(n,r){typeof e==`object`&&typeof t==`object`?t.exports=r():typeof define==`function`&&define.amd?define(`cronstrue`,[],r):typeof e==`object`?e.cronstrue=r():n.cronstrue=r()})(globalThis,()=>(()=>{var e={6949(e,t,n){Object.defineProperty(t,`__esModule`,{value:!0}),t.CronParser=void 0;var r=n(9515);t.CronParser=function(){function e(e,t,n){t===void 0&&(t=!0),n===void 0&&(n=!1),this.expression=e,this.dayOfWeekStartIndexZero=t,this.monthStartIndexZero=n}return e.prototype.parse=function(){var e,t=this.expression??``;if(t===`@reboot`)return e=[`@reboot`,``,``,``,``,``,``],e;if(t.startsWith(`@`)){var n=this.parseSpecial(this.expression);e=this.extractParts(n)}else e=this.extractParts(this.expression);return this.normalize(e),this.validate(e),e},e.prototype.parseSpecial=function(e){var t={"@yearly":`0 0 1 1 *`,"@annually":`0 0 1 1 *`,"@monthly":`0 0 1 * *`,"@weekly":`0 0 * * 0`,"@daily":`0 0 * * *`,"@midnight":`0 0 * * *`,"@hourly":`0 * * * *`,"@reboot":`@reboot`}[e];if(!t)throw Error(`Unknown special expression.`);return t},e.prototype.extractParts=function(e){if(!this.expression)throw Error(`cron expression is empty`);for(var t=e.trim().split(/[ ]+/),n=0;n<t.length;n++)if(t[n].includes(`,`)){var r=t[n].split(`,`).map(function(e){return e.trim()}).filter(function(e){return e!==``}).map(function(e){return isNaN(Number(e))?e:Number(e)}).filter(function(e){return e!==null&&e!==``});r.length===0&&r.push(`*`),r.sort(function(e,t){return e!==null&&t!==null?e-t:0}),t[n]=r.map(function(e){return e===null?``:e.toString()}).join(`,`)}if(t.length<5)throw Error(`Expression has only ${t.length} part${t.length==1?``:`s`}. At least 5 parts are required.`);if(t.length==5)t.unshift(``),t.push(``);else if(t.length==6)/\d{4}$/.test(t[5])||t[4]==`?`||t[2]==`?`?t.unshift(``):t.push(``);else if(t.length>7)throw Error(`Expression has ${t.length} parts; too many!`);return t},e.prototype.normalize=function(e){var t=this;if(e[3]=e[3].replace(`?`,`*`),e[5]=e[5].replace(`?`,`*`),e[2]=e[2].replace(`?`,`*`),e[0].indexOf(`0/`)==0&&(e[0]=e[0].replace(`0/`,`*/`)),e[1].indexOf(`0/`)==0&&(e[1]=e[1].replace(`0/`,`*/`)),e[2].indexOf(`0/`)==0&&(e[2]=e[2].replace(`0/`,`*/`)),e[3].indexOf(`1/`)==0&&(e[3]=e[3].replace(`1/`,`*/`)),e[4].indexOf(`1/`)==0&&(e[4]=e[4].replace(`1/`,`*/`)),e[6].indexOf(`1/`)==0&&(e[6]=e[6].replace(`1/`,`*/`)),e[5]=e[5].replace(/(^\d)|([^#/\s]\d)/g,function(e){var n=e.replace(/\D/,``),r=n;return t.dayOfWeekStartIndexZero?n==`7`&&(r=`0`):r=(parseInt(n)-1).toString(),e.replace(n,r)}),e[5]==`L`&&(e[5]=`6`),e[3]==`?`&&(e[3]=`*`),e[3].indexOf(`W`)>-1&&(e[3].indexOf(`,`)>-1||e[3].indexOf(`-`)>-1))throw Error(`The 'W' character can be specified only when the day-of-month is a single day, not a range or list of days.`);var n={SUN:0,MON:1,TUE:2,WED:3,THU:4,FRI:5,SAT:6};for(var r in n)e[5]=e[5].replace(new RegExp(r,`gi`),n[r].toString());e[4]=e[4].replace(/(^\d{1,2})|([^#/\s]\d{1,2})/g,function(e){var n=e.replace(/\D/,``),r=n;return t.monthStartIndexZero&&(r=(parseInt(n)+1).toString()),e.replace(n,r)});var i={JAN:1,FEB:2,MAR:3,APR:4,MAY:5,JUN:6,JUL:7,AUG:8,SEP:9,OCT:10,NOV:11,DEC:12};for(var a in i)e[4]=e[4].replace(new RegExp(a,`gi`),i[a].toString());e[0]==`0`&&(e[0]=``),!/\*|\-|\,|\//.test(e[2])&&(/\*|\//.test(e[1])||/\*|\//.test(e[0]))&&(e[2]+=`-${e[2]}`);for(var o=0;o<e.length;o++)if(e[o].indexOf(`,`)!=-1&&(e[o]=e[o].split(`,`).filter(function(e){return e!==``}).join(`,`)||`*`),e[o]==`*/1`&&(e[o]=`*`),e[o].indexOf(`/`)>-1&&!/^\*|\-|\,/.test(e[o])){var s=null;switch(o){case 4:s=`12`;break;case 5:s=`6`;break;case 6:s=`9999`;break;default:s=null;break}if(s!==null){var c=e[o].split(`/`);e[o]=`${c[0]}-${s}/${c[1]}`}}},e.prototype.validate=function(e){var t=`0-9,\\-*/`;this.validateOnlyExpectedCharactersFound(e[0],t),this.validateOnlyExpectedCharactersFound(e[1],t),this.validateOnlyExpectedCharactersFound(e[2],t),this.validateOnlyExpectedCharactersFound(e[3],`0-9,\\-*/LW`),this.validateOnlyExpectedCharactersFound(e[4],t),this.validateOnlyExpectedCharactersFound(e[5],`0-9,\\-*/L#`),this.validateOnlyExpectedCharactersFound(e[6],t),this.validateAnyRanges(e)},e.prototype.validateAnyRanges=function(e){r.default.secondRange(e[0]),r.default.minuteRange(e[1]),r.default.hourRange(e[2]),r.default.dayOfMonthRange(e[3]),r.default.monthRange(e[4],this.monthStartIndexZero),r.default.dayOfWeekRange(e[5],this.dayOfWeekStartIndexZero)},e.prototype.validateOnlyExpectedCharactersFound=function(e,t){var n=e.match(RegExp(`[^${t}]+`,`gi`));if(n&&n.length)throw Error(`Expression contains invalid values: '${n.toString()}'`)},e}()},8333(e,t,n){Object.defineProperty(t,`__esModule`,{value:!0}),t.ExpressionDescriptor=void 0;var r=n(1823),i=n(6949);t.ExpressionDescriptor=function(){function e(t,n){if(this.expression=t,this.options=n,this.expressionParts=[,,,,,],!this.options.locale&&e.defaultLocale&&(this.options.locale=e.defaultLocale),!e.locales[this.options.locale]){var r=Object.keys(e.locales)[0];console.warn(`Locale '${this.options.locale}' could not be found; falling back to '${r}'.`),this.options.locale=r}this.i18n=e.locales[this.options.locale],n.use24HourTimeFormat===void 0&&(n.use24HourTimeFormat=this.i18n.use24HourTimeFormatByDefault())}return e.toString=function(t,n){var r=n===void 0?{}:n,i=r.throwExceptionOnParseError,a=i===void 0?!0:i,o=r.verbose,s=o===void 0?!1:o,c=r.dayOfWeekStartIndexZero,l=c===void 0?!0:c,u=r.monthStartIndexZero,d=u===void 0?!1:u,f=r.use24HourTimeFormat,p=r.trimHoursLeadingZero,m=p===void 0?!1:p,h=r.locale,g=h===void 0?null:h,_=r.logicalAndDayFields,v={throwExceptionOnParseError:a,verbose:s,dayOfWeekStartIndexZero:l,monthStartIndexZero:d,use24HourTimeFormat:f,trimHoursLeadingZero:m,locale:g,logicalAndDayFields:_===void 0?!1:_};return v.tzOffset&&console.warn(`'tzOffset' option has been deprecated and is no longer supported.`),new e(t,v).getFullDescription()},e.initialize=function(t,n){n===void 0&&(n=`en`),e.specialCharacters=[`/`,`-`,`,`,`*`],e.defaultLocale=n,t.load(e.locales)},e.prototype.getFullDescription=function(){var e,t=``;try{if(this.expressionParts=new i.CronParser(this.expression,this.options.dayOfWeekStartIndexZero,this.options.monthStartIndexZero).parse(),this.expressionParts[0]===`@reboot`)return(e=this.i18n).atReboot?.call(e)||`Run once, at startup`;var n=this.getTimeOfDayDescription(),r=this.getDayOfMonthDescription(),a=this.getMonthDescription(),o=this.getDayOfWeekDescription(),s=this.getYearDescription();t+=n+r+o+a+s,t=this.transformVerbosity(t,!!this.options.verbose),t=t.charAt(0).toLocaleUpperCase()+t.substr(1)}catch(e){if(!this.options.throwExceptionOnParseError)t=this.i18n.anErrorOccuredWhenGeneratingTheExpressionD();else throw`${e}`}return t},e.prototype.getTimeOfDayDescription=function(){var t=this.expressionParts[0],n=this.expressionParts[1],i=this.expressionParts[2],a=``;if(!r.StringUtilities.containsAny(n,e.specialCharacters)&&!r.StringUtilities.containsAny(i,e.specialCharacters)&&!r.StringUtilities.containsAny(t,e.specialCharacters))a+=this.i18n.atSpace()+this.formatTime(i,n,t);else if(!t&&n.indexOf(`-`)>-1&&!(n.indexOf(`,`)>-1)&&!(n.indexOf(`/`)>-1)&&!r.StringUtilities.containsAny(i,e.specialCharacters)){var o=n.split(`-`);a+=r.StringUtilities.format(this.i18n.everyMinuteBetweenX0AndX1(),this.formatTime(i,o[0],``),this.formatTime(i,o[1],``))}else if(!t&&i.indexOf(`,`)>-1&&i.indexOf(`-`)==-1&&i.indexOf(`/`)==-1&&!r.StringUtilities.containsAny(n,e.specialCharacters)){var s=i.split(`,`);a+=this.i18n.at();for(var c=0;c<s.length;c++)a&&(a+=` `),a+=this.formatTime(s[c],n,``),c<s.length-2&&(a+=`,`),c==s.length-2&&(a+=this.i18n.spaceAnd())}else{var l=this.getSecondsDescription(),u=this.getMinutesDescription(),d=this.getHoursDescription();if(a+=l,a&&u&&(a+=`, `),a+=u,u===d)return a;a&&d&&(a+=`, `),a+=d}return a},e.prototype.getSecondsDescription=function(){var e=this;return this.getSegmentDescription(this.expressionParts[0],this.i18n.everySecond(),function(e){return e},function(t){return r.StringUtilities.format(e.i18n.everyX0Seconds(t),t)},function(t){return e.i18n.secondsX0ThroughX1PastTheMinute()},function(t){return t==`0`?``:parseInt(t)<20?e.i18n.atX0SecondsPastTheMinute(t):e.i18n.atX0SecondsPastTheMinuteGt20()||e.i18n.atX0SecondsPastTheMinute(t)},{min:0,max:59})},e.prototype.getMinutesDescription=function(){var e=this,t=this.expressionParts[0],n=this.expressionParts[2];return this.getSegmentDescription(this.expressionParts[1],this.i18n.everyMinute(),function(e){return e},function(t){return r.StringUtilities.format(e.i18n.everyX0Minutes(t),t)},function(t){return e.i18n.minutesX0ThroughX1PastTheHour()},function(r){var i;try{return r==`0`&&n.indexOf(`/`)==-1&&t==``?e.i18n.everyHour():r==`0`?(i=e.i18n).onTheHour?.call(i)||e.i18n.atX0MinutesPastTheHour(r):parseInt(r)<20?e.i18n.atX0MinutesPastTheHour(r):e.i18n.atX0MinutesPastTheHourGt20()||e.i18n.atX0MinutesPastTheHour(r)}catch{return e.i18n.atX0MinutesPastTheHour(r)}},{min:0,max:59})},e.prototype.getHoursDescription=function(){var e=this,t=this.expressionParts[2],n=0,i=[];t.split(`/`)[0].split(`,`).forEach(function(e){var t=e.split(`-`);t.length===2&&i.push({value:t[1],index:n+1}),n+=t.length});var a=0;return this.getSegmentDescription(t,this.i18n.everyHour(),function(t){var n=i.find(function(e){return e.value===t&&e.index===a})&&e.expressionParts[1]!==`0`;return a++,n?e.formatTime(t,`59`,``):e.formatTime(t,`0`,``)},function(t){return r.StringUtilities.format(e.i18n.everyX0Hours(t),t)},function(t){return e.i18n.betweenX0AndX1()},function(t){return e.i18n.atX0()},{min:0,max:23})},e.prototype.getDayOfWeekDescription=function(){var e=this,t=this.i18n.daysOfTheWeek(),n=null;return n=this.expressionParts[5]==`*`?``:this.getSegmentDescription(this.expressionParts[5],this.i18n.commaEveryDay(),function(n,r){var i=n;n.indexOf(`#`)>-1?i=n.substring(0,n.indexOf(`#`)):n.indexOf(`L`)>-1&&(i=i.replace(`L`,``));var a=parseInt(i),o=e.i18n.daysOfTheWeekInCase?e.i18n.daysOfTheWeekInCase(r)[a]:t[a];if(n.indexOf(`#`)>-1){var s=null,c=n.substring(n.indexOf(`#`)+1),l=n.substring(0,n.indexOf(`#`));switch(c){case`1`:s=e.i18n.first(l);break;case`2`:s=e.i18n.second(l);break;case`3`:s=e.i18n.third(l);break;case`4`:s=e.i18n.fourth(l);break;case`5`:s=e.i18n.fifth(l);break}o=s+` `+o}return o},function(t){return parseInt(t)==1?``:r.StringUtilities.format(e.i18n.commaEveryX0DaysOfTheWeek(t),t)},function(t){var n=t.substring(0,t.indexOf(`-`));return e.expressionParts[3]==`*`?e.i18n.commaX0ThroughX1(n):e.i18n.commaAndX0ThroughX1(n)},function(t){var n=null;if(t.indexOf(`#`)>-1){var r=t.substring(t.indexOf(`#`)+1),i=t.substring(0,t.indexOf(`#`));n=e.i18n.commaOnThe(r,i).trim()+e.i18n.spaceX0OfTheMonth()}else n=t.indexOf(`L`)>-1?e.i18n.commaOnTheLastX0OfTheMonth(t.replace(`L`,``)):e.expressionParts[3]==`*`||e.options.logicalAndDayFields?e.i18n.commaOnlyOnX0(t):e.i18n.commaAndOnX0();return n}),n},e.prototype.getMonthDescription=function(){var e=this,t=this.i18n.monthsOfTheYear();return this.getSegmentDescription(this.expressionParts[4],``,function(n,r){return r&&e.i18n.monthsOfTheYearInCase?e.i18n.monthsOfTheYearInCase(r)[parseInt(n)-1]:t[parseInt(n)-1]},function(t){return parseInt(t)==1?``:r.StringUtilities.format(e.i18n.commaEveryX0Months(t),t)},function(t){return e.i18n.commaMonthX0ThroughMonthX1()||e.i18n.commaX0ThroughX1()},function(t){return e.i18n.commaOnlyInMonthX0?e.i18n.commaOnlyInMonthX0():e.i18n.commaOnlyInX0()})},e.prototype.getDayOfMonthDescription=function(){var e=this,t=null,n=this.expressionParts[3];switch(n){case`L`:t=this.i18n.commaOnTheLastDayOfTheMonth();break;case`WL`:case`LW`:t=this.i18n.commaOnTheLastWeekdayOfTheMonth();break;default:var i=n.match(/(\d{1,2}W)|(W\d{1,2})/);if(i){var a=parseInt(i[0].replace(`W`,``)),o=a==1?this.i18n.firstWeekday():r.StringUtilities.format(this.i18n.weekdayNearestDayX0(),a.toString());t=r.StringUtilities.format(this.i18n.commaOnTheX0OfTheMonth(),o);break}else{var s=n.match(/L-(\d{1,2})/);if(s){var c=s[1];t=r.StringUtilities.format(this.i18n.commaDaysBeforeTheLastDayOfTheMonth(c),c);break}else if(n==`*`&&this.expressionParts[5]!=`*`)return``;else t=this.getSegmentDescription(n,this.i18n.commaEveryDay(),function(t){return t==`L`?e.i18n.lastDay():e.i18n.dayX0?r.StringUtilities.format(e.i18n.dayX0(),t):t},function(t){return t==`1`?e.i18n.commaEveryDay():e.i18n.commaEveryX0Days(t)},function(t){return e.i18n.commaBetweenDayX0AndX1OfTheMonth(t)},function(t){return e.i18n.commaOnDayX0OfTheMonth(t)});break}}return t},e.prototype.getYearDescription=function(){var e=this;return this.getSegmentDescription(this.expressionParts[6],``,function(e){return/^\d+$/.test(e)?new Date(parseInt(e),1).getFullYear().toString():e},function(t){return r.StringUtilities.format(e.i18n.commaEveryX0Years(t),t)},function(t){return e.i18n.commaYearX0ThroughYearX1()||e.i18n.commaX0ThroughX1()},function(t){return e.i18n.commaOnlyInYearX0?e.i18n.commaOnlyInYearX0():e.i18n.commaOnlyInX0()})},e.prototype.getSegmentDescription=function(e,t,n,i,a,o,s){var c=null,l=e.indexOf(`/`)>-1,u=e.indexOf(`-`)>-1,d=e.indexOf(`,`)>-1;if(!e)c=``;else if(e===`*`)c=t;else if(!l&&!u&&!d)c=r.StringUtilities.format(o(e),n(e));else if(d){for(var f=e.split(`,`),p=``,m=this.i18n.spaceAnd(),h=0;h<f.length;h++)if(h>0&&f.length>2&&(p+=`,`,h<f.length-1&&(p+=` `)),h>0&&f.length>1&&(h==f.length-1||f.length==2)&&(p+=m==`,`&&f.length>2?` `:`${m} `),f[h].indexOf(`/`)>-1||f[h].indexOf(`-`)>-1){var g=f[h].indexOf(`-`)>-1&&f[h].indexOf(`/`)==-1,_=this.getSegmentDescription(f[h],t,n,i,g?this.i18n.commaX0ThroughX1:a,o);g&&(_=_.replace(`, `,``)),p+=_}else if(!l)p+=n(f[h]);else{var v=this.getSegmentDescription(f[h],t,n,i,a,o);v&&v.startsWith(`, `)&&(v=v.substring(2)),p+=v}c=l?p:r.StringUtilities.format(o(e),p)}else if(l){var f=e.split(`/`);if(c=r.StringUtilities.format(i(f[1]),f[1]),f[0].indexOf(`-`)>-1){var y=this.generateRangeSegmentDescription(f[0],a,n);y.indexOf(`, `)!=0&&(c+=`, `),c+=y}else if(f[0].indexOf(`*`)==-1){var b=r.StringUtilities.format(o(f[0]),n(f[0]));b=b.replace(`, `,``),c+=r.StringUtilities.format(this.i18n.commaStartingX0(),b)}c+=this.getWrappingIncrementDescription(e,s,t,n,i,a,o)}else u&&(c=this.generateRangeSegmentDescription(e,a,n));return c},e.prototype.getWrappingIncrementDescription=function(e,t,n,r,i,a,o){if(!this.options.verbose||!t)return``;var s=e.split(`/`),c=s[0],l=s[1],u=parseInt(l),d=t.max-t.min+1,f=c===`*`,p=Number.isInteger(u)&&u>1,m=p&&d%u===0;if(!f||!p||m)return``;for(var h=[],g=t.min;g<=t.max;g+=u)h.push(g);if(h.length<2)return``;var _=this.getSegmentDescription(h.join(`,`),n,r,i,a,o);return _?`, ${_}`:``},e.prototype.generateRangeSegmentDescription=function(e,t,n){var i=``,a=e.split(`-`),o=n(a[0],1),s=n(a[1],2),c=t(e);return i+=r.StringUtilities.format(c,o,s),i},e.prototype.formatTime=function(e,t,n){var r=0,i=0,a=parseInt(e)+r,o=parseInt(t)+i;o>=60?(o-=60,a+=1):o<0&&(o+=60,--a),a>=24?a-=24:a<0&&(a=24+a);var s=``,c=!1;this.options.use24HourTimeFormat||(c=!!(this.i18n.setPeriodBeforeTime&&this.i18n.setPeriodBeforeTime()),s=c?`${this.getPeriod(a)} `:` ${this.getPeriod(a)}`,a>12&&(a-=12),a===0&&(a=12));var l=``;n&&(l=`:${(`00`+n).substring(n.length)}`);var u=a.toString(),d=(`00`+u).substring(u.length),f=o.toString(),p=(`00`+f).substring(f.length),m=this.options.trimHoursLeadingZero?u:d;return`${c?s:``}${m}:${p}${l}${c?``:s}`},e.prototype.transformVerbosity=function(e,t){if(!t&&(e=e.replace(RegExp(`, ${this.i18n.everyMinute()}`,`g`),``),e=e.replace(RegExp(`, ${this.i18n.everyHour()}`,`g`),``),e=e.replace(new RegExp(this.i18n.commaEveryDay(),`g`),``),e=e.replace(/\, ?$/,``),this.i18n.conciseVerbosityReplacements))for(var n=0,r=Object.entries(this.i18n.conciseVerbosityReplacements());n<r.length;n++){var i=r[n],a=i[0],o=i[1];e=e.replace(new RegExp(a,`g`),o)}return e},e.prototype.getPeriod=function(e){return e>=12?this.i18n.pm&&this.i18n.pm()||`PM`:this.i18n.am&&this.i18n.am()||`AM`},e.locales={},e}()},3747(e,t,n){Object.defineProperty(t,`__esModule`,{value:!0}),t.enLocaleLoader=void 0;var r=n(9486);t.enLocaleLoader=function(){function e(){}return e.prototype.load=function(e){e.en=new r.en},e}()},9486(e,t){Object.defineProperty(t,`__esModule`,{value:!0}),t.en=void 0,t.en=function(){function e(){}return e.prototype.atX0SecondsPastTheMinuteGt20=function(){return null},e.prototype.atX0MinutesPastTheHourGt20=function(){return null},e.prototype.commaMonthX0ThroughMonthX1=function(){return null},e.prototype.commaYearX0ThroughYearX1=function(){return null},e.prototype.use24HourTimeFormatByDefault=function(){return!1},e.prototype.anErrorOccuredWhenGeneratingTheExpressionD=function(){return`An error occurred when generating the expression description. Check the cron expression syntax.`},e.prototype.everyMinute=function(){return`every minute`},e.prototype.everyHour=function(){return`every hour`},e.prototype.atSpace=function(){return`At `},e.prototype.everyMinuteBetweenX0AndX1=function(){return`Every minute between %s and %s`},e.prototype.at=function(){return`At`},e.prototype.spaceAnd=function(){return` and`},e.prototype.everySecond=function(){return`every second`},e.prototype.everyX0Seconds=function(){return`every %s seconds`},e.prototype.secondsX0ThroughX1PastTheMinute=function(){return`seconds %s through %s past the minute`},e.prototype.atX0SecondsPastTheMinute=function(){return`at %s seconds past the minute`},e.prototype.everyX0Minutes=function(){return`every %s minutes`},e.prototype.minutesX0ThroughX1PastTheHour=function(){return`minutes %s through %s past the hour`},e.prototype.atX0MinutesPastTheHour=function(){return`at %s minutes past the hour`},e.prototype.everyX0Hours=function(){return`every %s hours`},e.prototype.betweenX0AndX1=function(){return`between %s and %s`},e.prototype.atX0=function(){return`at %s`},e.prototype.commaEveryDay=function(){return`, every day`},e.prototype.commaEveryX0DaysOfTheWeek=function(){return`, every %s days of the week`},e.prototype.commaX0ThroughX1=function(){return`, %s through %s`},e.prototype.commaAndX0ThroughX1=function(){return`, %s through %s`},e.prototype.first=function(){return`first`},e.prototype.second=function(){return`second`},e.prototype.third=function(){return`third`},e.prototype.fourth=function(){return`fourth`},e.prototype.fifth=function(){return`fifth`},e.prototype.commaOnThe=function(){return`, on the `},e.prototype.spaceX0OfTheMonth=function(){return` %s of the month`},e.prototype.lastDay=function(){return`the last day`},e.prototype.commaOnTheLastX0OfTheMonth=function(){return`, on the last %s of the month`},e.prototype.commaOnlyOnX0=function(){return`, only on %s`},e.prototype.commaAndOnX0=function(){return`, and on %s`},e.prototype.commaEveryX0Months=function(){return`, every %s months`},e.prototype.commaOnlyInX0=function(){return`, only in %s`},e.prototype.commaOnTheLastDayOfTheMonth=function(){return`, on the last day of the month`},e.prototype.commaOnTheLastWeekdayOfTheMonth=function(){return`, on the last weekday of the month`},e.prototype.commaDaysBeforeTheLastDayOfTheMonth=function(){return`, %s days before the last day of the month`},e.prototype.firstWeekday=function(){return`first weekday`},e.prototype.weekdayNearestDayX0=function(){return`weekday nearest day %s`},e.prototype.commaOnTheX0OfTheMonth=function(){return`, on the %s of the month`},e.prototype.commaEveryX0Days=function(){return`, every %s days in a month`},e.prototype.commaBetweenDayX0AndX1OfTheMonth=function(){return`, between day %s and %s of the month`},e.prototype.commaOnDayX0OfTheMonth=function(){return`, on day %s of the month`},e.prototype.commaEveryHour=function(){return`, every hour`},e.prototype.commaEveryX0Years=function(){return`, every %s years`},e.prototype.commaStartingX0=function(){return`, starting %s`},e.prototype.daysOfTheWeek=function(){return[`Sunday`,`Monday`,`Tuesday`,`Wednesday`,`Thursday`,`Friday`,`Saturday`]},e.prototype.monthsOfTheYear=function(){return[`January`,`February`,`March`,`April`,`May`,`June`,`July`,`August`,`September`,`October`,`November`,`December`]},e.prototype.atReboot=function(){return`Run once, at startup`},e.prototype.onTheHour=function(){return`on the hour`},e}()},9515(e,t){Object.defineProperty(t,`__esModule`,{value:!0});function n(e,t){if(!e)throw Error(t)}t.default=function(){function e(){}return e.secondRange=function(e){for(var t=e.split(`,`),r=0;r<t.length;r++)if(!isNaN(parseInt(t[r],10))){var i=parseInt(t[r],10);n(i>=0&&i<=59,`seconds part must be >= 0 and <= 59`)}},e.minuteRange=function(e){for(var t=e.split(`,`),r=0;r<t.length;r++)if(!isNaN(parseInt(t[r],10))){var i=parseInt(t[r],10);n(i>=0&&i<=59,`minutes part must be >= 0 and <= 59`)}},e.hourRange=function(e){for(var t=e.split(`,`),r=0;r<t.length;r++)if(!isNaN(parseInt(t[r],10))){var i=parseInt(t[r],10);n(i>=0&&i<=23,`hours part must be >= 0 and <= 23`)}},e.dayOfMonthRange=function(e){for(var t=e.split(`,`),r=0;r<t.length;r++)if(!isNaN(parseInt(t[r],10))){var i=parseInt(t[r],10);n(i>=1&&i<=31,`DOM part must be >= 1 and <= 31`)}},e.monthRange=function(e,t){for(var r=e.split(`,`),i=0;i<r.length;i++)if(!isNaN(parseInt(r[i],10))){var a=parseInt(r[i],10);n(a>=1&&a<=12,t?`month part must be >= 0 and <= 11`:`month part must be >= 1 and <= 12`)}},e.dayOfWeekRange=function(e,t){for(var r=e.split(`,`),i=0;i<r.length;i++)if(!isNaN(parseInt(r[i],10))){var a=parseInt(r[i],10);n(a>=0&&a<=6,t?`DOW part must be >= 0 and <= 6`:`DOW part must be >= 1 and <= 7`)}},e}()},1823(e,t){Object.defineProperty(t,`__esModule`,{value:!0}),t.StringUtilities=void 0,t.StringUtilities=function(){function e(){}return e.format=function(e){var t=[...arguments].slice(1);return e.replace(/%s/g,function(e){return t.shift()})},e.containsAny=function(e,t){return t.some(function(t){return e.indexOf(t)>-1})},e}()}},t={};function n(r){var i=t[r];if(i!==void 0)return i.exports;var a=t[r]={exports:{}};return e[r](a,a.exports,n),a.exports}var r={};return(()=>{var e=r;Object.defineProperty(e,`__esModule`,{value:!0}),e.toString=void 0;var t=n(8333),i=n(3747);t.ExpressionDescriptor.initialize(new i.enLocaleLoader),e.default=t.ExpressionDescriptor,e.toString=t.ExpressionDescriptor.toString})(),r})())})),ce=oe(),le=e(se(),1),w={frequency:`daily`,minute:0,hour:9,dayOfWeek:1,dayOfMonth:1};function ue(e){let{minute:t,hour:n,dayOfWeek:r,dayOfMonth:i,frequency:a}=e;switch(a){case`hourly`:return`${t} * * * *`;case`daily`:return`${t} ${n} * * *`;case`weekly`:return`${t} ${n} * * ${r}`;case`monthly`:return`${t} ${n} ${i} * *`}}function T(e,t,n){if(!/^\d+$/.test(e))return null;let r=Number(e);return r>=t&&r<=n?r:null}function E(e){let t=e.trim().split(/\s+/);if(t.length!==5)return null;let[n,r,i,a,o]=t;if(a!==`*`)return null;let s=T(n,0,59);if(s===null)return null;if(r===`*`&&i===`*`&&o===`*`)return{...w,frequency:`hourly`,minute:s};let c=T(r,0,23);if(c===null)return null;if(i===`*`&&o===`*`)return{...w,frequency:`daily`,minute:s,hour:c};if(i===`*`){let e=T(o,0,7);return e===null?null:{...w,frequency:`weekly`,minute:s,hour:c,dayOfWeek:e===7?0:e}}if(o===`*`){let e=T(i,1,31);return e===null?null:{...w,frequency:`monthly`,minute:s,hour:c,dayOfMonth:e}}return null}function de(e,t){if(!e.trim())return null;try{return new ce.CronTime(e,t).sendAt().toJSDate()}catch{return null}}function fe(e){try{return le.default.toString(e,{throwExceptionOnParseError:!0,use24HourTimeFormat:!0})}catch{return null}}function pe(e,t=`long`){return new Intl.DateTimeFormat(void 0,{weekday:t,timeZone:`UTC`}).format(new Date(Date.UTC(2024,0,7+e)))}function me(e,t){return new Intl.DateTimeFormat(void 0,{hour:`numeric`,minute:`2-digit`}).format(new Date(2024,0,1,e,t))}function he(e,t){return new Intl.DateTimeFormat(void 0,{timeZone:t,weekday:`short`,day:`numeric`,month:`short`,hour:`numeric`,minute:`2-digit`,timeZoneName:`short`}).format(e)}var D={key:0},ge={key:1},_e=5,ve=v(o({__name:`AgentValidationTooltip`,props:{disabled:{type:Boolean},fallback:{},action:{},issues:{default:()=>[]}},setup(e){let t=e,o=_(),g={incompatible_nodes:`agents.builder.preview.issue.tool.workflow.incompatibleNodes`,no_supported_trigger:`agents.builder.preview.issue.tool.workflow.noSupportedTrigger`},v={incompatible_nodes:`agents.publish.issue.tool.workflow.incompatibleNodes`,no_supported_trigger:`agents.publish.issue.tool.workflow.noSupportedTrigger`,not_published:`agents.publish.issue.tool.workflow.notPublished`},te={instructions:`agents.chat.misconfigured.missing.instructions`,model:`agents.chat.misconfigured.missing.model`,credential:`agents.chat.misconfigured.missing.credential`},S={"agent.instructions.missing_required":`agents.builder.preview.issue.agent.instructions.missingRequired`,"agent.model.missing_required":`agents.builder.preview.issue.agent.model.missingRequired`,"agent.model.invalid_value":`agents.builder.preview.issue.agent.model.invalidValue`,"agent.credential.missing_credential":`agents.builder.preview.issue.agent.credential.missingCredential`,"agent.credential.invalid_credential":`agents.builder.preview.issue.agent.credential.invalidCredential`,"agent.credential.incompatible_credential":`agents.builder.preview.issue.agent.credential.incompatibleCredential`,"agent.modelDeploymentName.missing_required":`agents.builder.preview.issue.agent.modelDeploymentName.missingRequired`,"mcpServer.url.missing_required":`agents.builder.preview.issue.mcpServer.missingRequired`},ne={"agent.instructions.missing_required":`agents.publish.issue.agent.instructions.missingRequired`,"agent.model.missing_required":`agents.publish.issue.agent.model.missingRequired`,"agent.model.invalid_value":`agents.publish.issue.agent.model.invalidValue`,"agent.credential.missing_credential":`agents.publish.issue.agent.credential.missingCredential`,"agent.credential.invalid_credential":`agents.publish.issue.agent.credential.invalidCredential`,"agent.credential.incompatible_credential":`agents.publish.issue.agent.credential.incompatibleCredential`,"agent.modelDeploymentName.missing_required":`agents.publish.issue.agent.modelDeploymentName.missingRequired`,"mcpServer.url.missing_required":`agents.publish.issue.mcpServer.missingRequired`,"tool.node.url.invalid_value":`agents.publish.issue.tool.node.url.invalidValue`},re={"subAgent.missing_reference":`agents.builder.preview.issue.subAgent.missingReference`,"subAgent.incompatible_reference":`agents.builder.preview.issue.subAgent.incompatibleReference`,"skill.missing_reference":`agents.builder.preview.issue.skill.missingReference`,"tool.workflow.missing_reference":`agents.builder.preview.issue.tool.workflow.missingReference`,"tool.workflow.incompatible_reference":`agents.builder.preview.issue.tool.workflow.incompatibleReference`,"tool.custom.missing_reference":`agents.builder.preview.issue.tool.custom.missingReference`,"tool.node.missing_reference":`agents.builder.preview.issue.tool.node.missingReference`,"tool.node.missing_credential":`agents.builder.preview.issue.tool.node.missingCredential`,"tool.node.invalid_credential":`agents.builder.preview.issue.tool.node.invalidCredential`,"mcpServer.missing_credential":`agents.builder.preview.issue.mcpServer.missingCredential`,"mcpServer.invalid_credential":`agents.builder.preview.issue.mcpServer.invalidCredential`,"mcpServer.incompatible_credential":`agents.builder.preview.issue.mcpServer.incompatibleCredential`,"vectorStore.invalid_value":`agents.builder.preview.issue.vectorStore.invalidValue`},ie={"channel.missing_credential":`agents.publish.issue.channel.missingCredential`,"channel.invalid_credential":`agents.publish.issue.channel.invalidCredential`,"channel.incompatible_credential":`agents.publish.issue.channel.incompatibleCredential`,"subAgent.missing_reference":`agents.publish.issue.subAgent.missingReference`,"subAgent.incompatible_reference":`agents.publish.issue.subAgent.incompatibleReference`,"skill.missing_reference":`agents.publish.issue.skill.missingReference`,"task.missing_reference":`agents.publish.issue.task.missingReference`,"task.invalid_value":`agents.publish.issue.task.invalidValue`,"tool.workflow.missing_reference":`agents.publish.issue.tool.workflow.missingReference`,"tool.workflow.incompatible_reference":`agents.publish.issue.tool.workflow.incompatibleReference`,"tool.custom.missing_reference":`agents.publish.issue.tool.custom.missingReference`,"tool.node.missing_reference":`agents.publish.issue.tool.node.missingReference`,"tool.node.missing_credential":`agents.publish.issue.tool.node.missingCredential`,"tool.node.invalid_credential":`agents.publish.issue.tool.node.invalidCredential`,"mcpServer.missing_credential":`agents.publish.issue.mcpServer.missingCredential`,"mcpServer.invalid_credential":`agents.publish.issue.mcpServer.invalidCredential`,"mcpServer.incompatible_credential":`agents.publish.issue.mcpServer.incompatibleCredential`,"vectorStore.invalid_value":`agents.publish.issue.vectorStore.invalidValue`},C={agent:`agents.chat.misconfigured.missing.agent`,channel:`agents.builder.triggers.title`,tool:`agents.chat.misconfigured.missing.tools`,mcpServer:`agents.chat.misconfigured.missing.mcpServers`,skill:`agents.builder.sections.skills`,task:`agents.builder.tasks.title`,subAgent:`agents.chat.misconfigured.missing.subAgents.agents`,vectorStore:`agents.builder.vectorStores.panel.title`};function ae(e){return e.capability.kind===`channel`||e.capability.kind===`task`||ee(e)?!1:!(e.code===`invalid_value`&&e.path.endsWith(`.node.nodeParameters.url`))}function oe(e){let t=e.capability.kind===`agent`?te[e.path]:void 0;return o.baseText(t??C[e.capability.kind])}function se(e){if(e.capability.kind===`agent`)return`agent.${e.path}.${e.code}`;if(e.capability.kind===`mcpServer`&&e.path.endsWith(`.url`))return`mcpServer.url.${e.code}`;if(e.capability.kind===`tool`&&e.capability.toolType===`node`&&e.path.endsWith(`.node.nodeParameters.url`))return`tool.node.url.${e.code}`}function ce(e){let t=o.baseText(y(e),{interpolate:x(e)});return`${oe(e)}: ${t}`}function le(e){return ue(e,g,S,re)}function w(e){return ue(e,v,ne,ie)}function ue(e,t,n,r){let{kind:i,toolType:a}=e.capability,s=se(e),c=(e.reason?t[e.reason]:void 0)??(s?n[s]:void 0)??(i===`tool`&&a?r[`tool.${a}.${e.code}`]:void 0)??r[`${i}.${e.code}`];return c?o.baseText(c,{interpolate:x(e)}):ce(e)}let T=u(()=>t.action===`preview`),E=u(()=>{let e=T.value?t.issues.filter(ae):t.issues;return[...new Set(e.map(e=>T.value?le(e):w(e)))]}),de=u(()=>E.value.slice(0,_e)),fe=u(()=>Math.max(E.value.length-_e,0)),pe=u(()=>fe.value>0?o.baseText(`agents.validationTooltip.more`,{interpolate:{count:fe.value}}):``);return(e,o)=>(d(),i(s(b),{disabled:t.disabled,content:t.fallback,"content-class":e.$style.tooltip},{content:p(()=>[E.value.length>0?(d(),h(`div`,{key:0,class:r(e.$style.content)},[a(`div`,{class:r(e.$style.heading)},m(t.fallback),3),a(`div`,{class:r(e.$style.previewDetails)},[(d(!0),h(l,null,n(de.value,e=>(d(),h(`div`,{key:e},m(e),1))),128)),fe.value>0?(d(),h(`div`,D,m(pe.value),1)):c(``,!0)],2)],2)):(d(),h(`span`,ge,m(t.fallback),1))]),default:p(()=>[f(e.$slots,`default`)]),_:3},8,[`disabled`,`content`,`content-class`]))}}),[[`__cssModules`,{$style:{tooltip:`_tooltip_1n0ef_1`,content:`_content_1n0ef_7`,heading:`_heading_1n0ef_13`,previewDetails:`_previewDetails_1n0ef_17`}}]]),ye=o({__name:`AgentPreviewButton`,props:{isRunnable:{type:Boolean},isPreviewOpen:{type:Boolean,default:!1},iconOnly:{type:Boolean,default:!1},variant:{default:`outline`},validationIssues:{default:()=>[]},testId:{default:void 0}},emits:[`open-preview`,`close-preview`],setup(e,{emit:t}){let n=e,r=t,a=_(),o=u(()=>!n.isPreviewOpen&&!n.isRunnable),c=u(()=>n.isPreviewOpen?a.baseText(`agents.builder.preview.close.ariaLabel`):a.baseText(`agents.builder.preview.button`)),l=u(()=>a.baseText(`agents.builder.preview.disabledTooltip`));function f(){if(n.isPreviewOpen){r(`close-preview`);return}o.value||r(`open-preview`)}return(e,t)=>(d(),i(ve,{disabled:!o.value,fallback:l.value,action:`preview`,issues:n.validationIssues},{default:p(()=>[n.iconOnly?(d(),i(s(te),{key:0,"model-value":n.isPreviewOpen,variant:`outline`,size:`medium`,icon:`flask-conical`,label:c.value,disabled:o.value,"data-testid":n.testId,onClick:f},null,8,[`model-value`,`label`,`disabled`,`data-testid`])):(d(),i(s(S),{key:1,variant:n.variant,size:`medium`,icon:`flask-conical`,label:c.value,disabled:o.value,"data-testid":n.testId,onClick:f},null,8,[`variant`,`label`,`disabled`,`data-testid`]))]),_:1},8,[`disabled`,`fallback`,`issues`]))}});export{fe as a,de as c,ue as i,E as l,ve as n,he as o,w as r,me as s,ye as t,pe as u};
@@ -1 +0,0 @@
1
- try{(function(){var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`d611e1d8-8457-444c-9f83-650eebc08d35`,e._sentryDebugIdIdentifier=`sentry-dbid-d611e1d8-8457-444c-9f83-650eebc08d35`)})()}catch{}import{$f as e,Dd as t,Ed as n,Fd as r,Md as i,Mf as a,Nd as o,Od as s,Td as c,Vu as l,Wd as u,Zd as d,cf as f,ef as p,ff as m,gf as h,ip as g,kd as _,ns as v,rf as y,ts as b,uf as x,wf as S,xf as C}from"./vendor-BhCrJHkF.js";import{$C as w,AE as T,Ad as E,As as D,Fw as O,Oy as k,SE as A,TE as j,Xm as M,Xs as N,Yi as P,Zm as ee,aE as te,ah as F,bE as I,eE as L,gE as R,hE as z,oh as ne,qm as B,xy as V}from"./app-Dk2ZaS_x.js";import{i as re,t as H}from"./AgentChatPanel-mr1o-MXb.js";import{n as U,t as W}from"./ChatHistoryDropdownTrigger-DF7wkJhF.js";import{t as G}from"./useAgentConfirmationModal-CSOFBu-M.js";import{n as K,t as q}from"./thread-title-CAq3yr76.js";var J=64;function ie(e){let t=ae(e.routeBacked);return{...t,...se(e,t.effectiveSessionId),...ce(e,t)}}function ae(e){let t=b(),n=v(),r=S(null),i=S(null),a=S(null),{continueSessionId:o,pendingRouteSessionId:s}=oe(e,r,i,a),l=c(()=>(e.value?s.value??o.value:void 0)??r.value??void 0),u=c(()=>i.value!==null&&i.value===l.value),d=c(()=>a.value!==null&&a.value===l.value);function f(o,c=o===i.value){if(r.value=o,i.value=c?o:null,a.value=c?o:null,!e.value)return;s.value=o;let l={...t.query,[B]:o};c&&delete l[M],n.replace({query:l})}function p(e){f(e)}function m(){if(!e.value)return;let{[B]:r,...i}=t.query;n.replace({query:i})}function h(e){e!==`__empty__`&&f(e)}function g(){f(crypto.randomUUID(),!0)}function _(e){i.value===e&&(i.value=null)}return{activeChatSessionId:r,continueSessionId:o,effectiveSessionId:l,currentSessionIsEphemeral:u,currentSessionIsLocallyMinted:d,setSessionInUrl:p,clearContinueSessionParam:m,onSessionPick:h,onNewChat:g,markSessionCreated:_}}function oe(e,t,n,r){let i=b(),a=S(null),o=c(()=>{let e=i.query[B],t=Array.isArray(e)?e[0]:e;return typeof t==`string`&&t.length>0?t:void 0});return x([e,o],([e,i])=>{if(!e){a.value=null;return}i&&i!==r.value&&(n.value=null,r.value=null),a.value!==null&&(a.value=null),i&&(t.value=i)},{immediate:!0}),x(t,t=>{t===null?(a.value=null,n.value=null,r.value=null):(r.value!==null&&t!==r.value&&(n.value=null,r.value=null),e.value&&t!==o.value&&(a.value=t))}),{continueSessionId:o,pendingRouteSessionId:a}}function se({projectId:e,agentId:t},n){let r=K(),i=T(),a=q(),o=c(()=>r.previewThreads.filter(n=>n.canContinueInPreview&&n.projectId===e.value&&n.agentId===t.value)),s=r=>r?.id===n.value&&r?.projectId===e.value&&r?.agentId===t.value,l=c(e=>o.value.find(s)??r.threads.find(s)??(s(e)?e:void 0));return{previewThreads:o,currentSession:l,currentSessionHasMessages:c(()=>!!l.value),currentSessionTitle:c(()=>n.value?l.value?R(a(l.value),J):i.baseText(`agents.builder.chat.newChat.label`):``),sessionMenu:c(()=>o.value.map(e=>({id:e.id,title:a(e),label:R(a(e),J),updatedAt:e.updatedAt})))}}function ce({projectId:e,agentId:t},{effectiveSessionId:n,onNewChat:r}){let i=K(),a=T(),o=w(),s=V(),c=S(!1),l=!1;h()&&C(()=>l=!0);async function u(u){if(l||c.value||!u)return!1;let d=e.value,f=t.value;if(!d||!f)return!1;let p=()=>!l&&e.value===d&&t.value===f;c.value=!0;try{return await o.confirm(a.baseText(`agentSessions.deleteConfirm.message`),a.baseText(`agentSessions.deleteConfirm.headline`),{type:`warning`,confirmButtonText:a.baseText(`agentSessions.deleteConfirm.confirmButtonText`),cancelButtonText:``})!==`confirm`||!p()||(await i.deleteThread(d,f,u),!p())?!1:(s.showMessage({title:a.baseText(`agentSessions.showMessage.deleted`),type:`success`}),n.value===u&&r(),!0)}catch(e){return p()&&s.showError(e,a.baseText(`agentSessions.showError.delete`)),!1}finally{c.value=!1}}return{isDeletingSession:c,deleteSession:u}}var Y=r({__name:`AgentSessionHistoryDropdown`,props:{sessionOptions:{},canDeleteSession:{type:Boolean,default:!1},isDeletingSession:{type:Boolean,default:!1}},emits:[`select`,`delete`],setup(e,{emit:n}){let r=e,i=n,o=T(),s=K(),l=[{id:`delete`,label:o.baseText(`agentSessions.delete`),icon:`trash-2`,variant:`destructive`}],{search:u,filteredItems:f,handleSearch:h}=L(c(()=>r.sessionOptions.map(e=>({id:e.id,label:e.label??e.title,disabled:e.disabled,data:{fullTitle:e.title,updatedAt:e.updatedAt,actions:!e.disabled&&r.canDeleteSession?l:void 0}}))),{isSearchable:e=>!e.disabled,searchFields:e=>[e.label,e.data?.fullTitle]}),g=c(()=>o.baseText(u.value.trim()?`agents.builder.chat.sessionPicker.noMatch`:`agents.builder.chat.sessionPicker.empty`));function _(e,t){e!==`delete`||!r.canDeleteSession||r.isDeletingSession||i(`delete`,t)}return(e,n)=>(d(),t(U,{items:a(f),"search-placeholder":a(o).baseText(`agents.builder.chat.sessionPicker.searchPlaceholder`),"empty-text":g.value,loading:a(s).loading,"action-button-label":a(o).baseText(`agentSessions.actions`),"actions-disabled":r.isDeletingSession,"content-test-id":`agent-preview-session-list`,"data-test-id":`agent-preview-session-switcher`,onSearch:a(h),onSelect:n[0]||=e=>i(`select`,e),onAction:_},{trigger:m(()=>[p(e.$slots,`trigger`)]),_:3},8,[`items`,`search-placeholder`,`empty-text`,`loading`,`action-button-label`,`actions-disabled`,`onSearch`]))}}),X=j(r({__name:`AgentPreviewChatPage`,props:{visible:{type:Boolean,default:!0},initialized:{type:Boolean},projectId:{},agentId:{},agent:{},localConfig:{},connectedTriggers:{},effectiveSessionId:{},newSession:{type:Boolean,default:!1},initialPrompt:{},canSendToAssistant:{type:Boolean},dismissedFixToolCallIds:{default:()=>[]},beforeSend:{},layout:{default:`dock`},budgetCards:{type:Boolean,default:!1},increaseBudget:{type:Function,default:void 0}},emits:[`continue-loaded`,`session-created`,`open-build`,`send-to-assistant`,`initial-consumed`],setup(r,{expose:i,emit:o}){let c=r,l=o,u=S(``),p=f(`chatPanel`);function h(e){p.value?.focusInput(e)}function g(){return p.value?.getConversationMarkdown()??``}function _(e){p.value?.clearBudgetStops(e)}return x([()=>c.initialPrompt,p],([e,t])=>{!e||!t||t.sendMessageFromOutside(e)},{immediate:!0,flush:`post`}),i({focusInput:h,getConversationMarkdown:g,clearBudgetStops:_}),(i,o)=>(d(),t(y(r.layout===`page`?`main`:`div`),{class:e([i.$style.previewPage,{[i.$style.pageLayout]:r.layout===`page`}]),"data-testid":`agent-preview-chat-page`},{default:m(()=>[n(`div`,{class:e(i.$style.chatFrame)},[r.initialized&&r.effectiveSessionId?(d(),t(H,{key:`preview-${r.effectiveSessionId}`,ref_key:`chatPanel`,ref:p,"input-draft":u.value,"onUpdate:inputDraft":o[0]||=e=>u.value=e,"project-id":r.projectId,"agent-id":r.agentId,visible:r.visible,"background-jobs-active":r.visible,mode:`inline`,"continue-session-id":r.effectiveSessionId,"new-session":r.newSession,"agent-config":r.localConfig,"agent-status":a(re)(r.agent),"connected-triggers":r.connectedTriggers,"can-send-to-assistant":r.canSendToAssistant,"dismissed-fix-tool-call-ids":r.dismissedFixToolCallIds,"before-send":r.beforeSend,"budget-cards":r.budgetCards,"increase-budget":r.increaseBudget,onContinueLoaded:o[1]||=e=>l(`continue-loaded`,e),onSessionCreated:o[2]||=e=>l(`session-created`,e),onInitialConsumed:o[3]||=e=>l(`initial-consumed`),onOpenBuild:o[4]||=e=>l(`open-build`),onSendToAssistant:o[5]||=e=>l(`send-to-assistant`,e)},null,8,[`input-draft`,`project-id`,`agent-id`,`visible`,`background-jobs-active`,`continue-session-id`,`new-session`,`agent-config`,`agent-status`,`connected-triggers`,`can-send-to-assistant`,`dismissed-fix-tool-call-ids`,`before-send`,`budget-cards`,`increase-budget`])):s(``,!0)],2)]),_:1},8,[`class`]))}}),[[`__cssModules`,{$style:{previewPage:`_previewPage_dda05_1`,pageLayout:`_pageLayout_dda05_10`,chatFrame:`_chatFrame_dda05_14`}}]]);function le(){let e=T(),t=k(),n=K(),r=E(),{showError:i,showMessage:a}=V(),{openAgentConfirmationModal:o}=G(),s=S(!1),l=c(()=>localStorage.getItem(`instanceAi.debugMode`)===`true`&&t.moduleSettings.agents?.proxyEnabled===!0);async function u({projectId:t,agentId:c,threadId:u}){if(!(!l.value||s.value)){s.value=!0;try{if(await o({title:e.baseText(`agentSessions.langsmithExport.confirm.title`),description:e.baseText(`agentSessions.langsmithExport.confirm.body`),confirmButtonText:e.baseText(`agentSessions.langsmithExport.confirm.button`),cancelButtonText:e.baseText(`generic.cancel`)})!==`confirm`)return;let{traceId:i}=await n.exportThreadToLangSmith(t,c,u);await r.copy(i).catch(()=>{}),a({title:e.baseText(`agentSessions.langsmithExport.success`),message:e.baseText(`agentSessions.langsmithExport.successMessage`,{interpolate:{traceId:i}}),type:`success`})}catch(t){i(t,e.baseText(`agentSessions.langsmithExport.error`))}finally{s.value=!1}}}return{isEnabled:l,isExporting:s,sendSession:u}}var ue={key:0},de={key:1},fe={key:2},Z=`copy-link`,pe=`copy-conversation`,me=`open-in-new-tab`,Q=`toggle-full-width`,he=`export-session`,ge=`delete-session`,_e=j(r({__name:`AgentPreviewMoreMenu`,props:{projectId:{},agentId:{},effectiveSessionId:{},hasSession:{type:Boolean},canDeleteSession:{type:Boolean,default:!1},isDeletingSession:{type:Boolean,default:!1},isFullWidth:{type:Boolean},isLangSmithExportEnabled:{type:Boolean},isExporting:{type:Boolean},getConversationMarkdown:{}},emits:[`toggle-full-width`,`export-session`,`delete-session`],setup(r,{emit:l}){let u=r,f=l,p=T(),h=v(),y=E(),b=V(),C=K(),w=S(null),D=c(function(){return u.hasSession&&!!u.effectiveSessionId}),k=c(()=>[{id:Z,label:p.baseText(`agents.builder.preview.more.copyLink`),icon:{type:`icon`,value:`link`},disabled:!D.value},{id:pe,label:p.baseText(`agents.builder.preview.more.copyConversation`),icon:{type:`icon`,value:`copy`},disabled:!u.hasSession},{id:me,label:p.baseText(`agents.builder.preview.layout.openInNewTab`),icon:{type:`icon`,value:`external-link`},disabled:!D.value},{id:Q,label:p.baseText(`agents.builder.preview.more.fullWidth`),icon:u.isFullWidth?{type:`icon`,value:`minimize-2`}:{type:`icon`,value:`maximize-2`},keepOpen:!0,checkbox:!0,checked:u.isFullWidth},...u.isLangSmithExportEnabled&&u.hasSession&&u.effectiveSessionId?[{id:he,label:p.baseText(`agentSessions.langsmithExport.button`),icon:{type:`icon`,value:`bug`},disabled:u.isExporting}]:[],...u.canDeleteSession?[{id:ge,label:p.baseText(`agentSessions.delete`),icon:{type:`icon`,value:`trash`},divided:!0,destructive:!0,disabled:!u.hasSession||!u.effectiveSessionId||u.isDeletingSession}]:[]]),j=c(()=>{let e=w.value?.source;return!e||e===`chat`||e===`n8n_chat`?p.baseText(`agentSessions.origin.preview`):e===`instance-ai`?p.baseText(`agentSessions.origin.instanceAi`):e===`n8n_chat_production`?p.baseText(`agentSessions.origin.n8nChat`):e.charAt(0).toUpperCase()+e.slice(1)}),M=c(()=>{switch(w.value?.source){case`slack`:case`telegram`:case`linear`:case`discord`:case`whatsapp`:case`teams`:case`mcp`:case`workflow`:case`webhook`:return w.value.source;case`instance-ai`:return`sparkles`;case`n8n_chat_production`:return`message-square`;default:return`bolt-filled`}}),P=c(()=>{let e=w.value;return e?`${(e.totalPromptTokens+e.totalCompletionTokens).toLocaleString()}t ($${e.totalCost.toFixed(4)})`:`—`}),L=c(()=>{let e=w.value?.totalDuration??0;return e<1e3?`${e}ms`:`${(e/1e3).toFixed(1)}s`}),R=c(()=>{let e=w.value?.updatedAt;if(!e)return`—`;let{date:t,time:n}=N(e);return`${t} ${n}`});function re(){return h.resolve({name:F,params:{projectId:u.projectId,agentId:u.agentId},query:{[B]:u.effectiveSessionId,[ee]:`true`}})}async function H(){try{let e=new URL(re().href,window.location.origin).href;await y.copy(e),b.showMessage({title:p.baseText(`agents.builder.preview.more.linkCopied`),type:`success`})}catch(e){b.showError(e,p.baseText(`agents.builder.preview.more.copyLinkError`))}}async function U(){try{let e=u.getConversationMarkdown();if(!e)return;await y.copy(e),b.showMessage({title:p.baseText(`agents.builder.preview.more.conversationCopied`),type:`success`})}catch(e){b.showError(e,p.baseText(`agents.builder.preview.more.copyConversationError`))}}function W(e){switch(e){case Z:if(!D.value)return;H();break;case pe:U();break;case me:{if(!D.value)return;let e=h.resolve({name:ne,params:{projectId:u.projectId,agentId:u.agentId},query:{[B]:u.effectiveSessionId}});window.open(e.href,`_blank`,`noopener`);break}case Q:f(`toggle-full-width`);break;case he:u.hasSession&&u.effectiveSessionId&&!u.isExporting&&f(`export-session`);break;case ge:u.canDeleteSession&&u.hasSession&&u.effectiveSessionId&&!u.isDeletingSession&&f(`delete-session`);break}}let G=0;async function q(){let e=++G,t=u.effectiveSessionId;if(!t){w.value=null;return}try{let n=await C.getThreadDetail(u.projectId,u.agentId,t);e===G&&(w.value={...n.thread,source:n.executions.find(function(e){return e.source!==null})?.source})}catch{e===G&&(w.value=null)}}function J(e){e&&q()}return x([()=>u.projectId,()=>u.agentId,()=>u.effectiveSessionId],function(){w.value=null,q()},{immediate:!0}),(r,c)=>(d(),t(a(z),{placement:`bottom`,content:a(p).baseText(`agents.builder.preview.more.label`)},{default:m(()=>[o(a(te),{items:k.value,placement:`bottom-end`,"extra-popper-class":r.$style.moreMenu,onSelect:W,"onUpdate:modelValue":J},{trigger:m(()=>[o(a(I),{icon:`ellipsis`,variant:`ghost`,size:`small`,"icon-size":`large`,"aria-label":a(p).baseText(`agents.builder.preview.more.label`),"data-testid":`agent-preview-more-btn`},null,8,[`aria-label`])]),"item-trailing":m(({item:n})=>[n.id===Q?(d(),t(a(O),{key:0,"model-value":u.isFullWidth,size:`small`,tabindex:`-1`,"aria-hidden":`true`,class:e(r.$style.layoutSwitch)},null,8,[`model-value`,`class`])):s(``,!0)]),footer:m(()=>[n(`ul`,{class:e(r.$style.sessionMetadata)},[j.value?(d(),_(`li`,ue,[o(a(A),{icon:M.value,size:12},null,8,[`icon`]),i(g(j.value),1)])):s(``,!0),w.value?(d(),_(`li`,de,g(P.value)+` • `+g(L.value),1)):s(``,!0),w.value?.updatedAt?(d(),_(`li`,fe,g(a(p).baseText(`agents.builder.preview.more.lastMessageSent`,{interpolate:{date:R.value}})),1)):s(``,!0)],2)]),_:1},8,[`items`,`extra-popper-class`])]),_:1},8,[`content`]))}}),[[`__cssModules`,{$style:{moreMenu:`_moreMenu_11fp0_1`,layoutSwitch:`_layoutSwitch_11fp0_5`,sessionMetadata:`_sessionMetadata_11fp0_9`}}]]),ve=[`aria-label`,`aria-hidden`,`inert`,`data-preview-layout`],$=function(e){return e.Docked=`docked`,e.Fullpage=`fullpage`,e}($||{}),ye=j(r({__name:`AgentPreviewDock`,props:{sessionTitle:{},sessionOptions:{},hasSession:{type:Boolean},initialized:{type:Boolean},projectId:{},agentId:{},agent:{},localConfig:{},connectedTriggers:{},isOpen:{type:Boolean},effectiveSessionId:{},newSession:{type:Boolean,default:!1},initialPrompt:{},canSendToAssistant:{type:Boolean},dismissedFixToolCallIds:{default:()=>[]},canDeleteSession:{type:Boolean,default:!1},beforeSend:{},isDeletingSession:{type:Boolean,default:!1},budgetCards:{type:Boolean,default:!1},increaseBudget:{type:Function,default:void 0}},emits:[`view-trace`,`new-session`,`delete-session`,`session-select`,`close`,`continue-loaded`,`session-created`,`open-build`,`send-to-assistant`,`initial-consumed`],setup(r,{expose:i,emit:p}){let h=r,g=p,v=T(),y=f(`dock`),{isEnabled:b,isExporting:S,sendSession:C}=le(),w=f(`previewChatPage`),E=l(`N8N_AGENT_PREVIEW_LAYOUT`,$.Docked),O=c(()=>E.value===$.Fullpage?$.Fullpage:$.Docked);function k(){!h.canDeleteSession||!h.hasSession||!h.effectiveSessionId||h.isDeletingSession||g(`delete-session`,h.effectiveSessionId)}function A(){!h.hasSession||!h.effectiveSessionId||(E.value=$.Docked,g(`view-trace`))}function j(){!h.hasSession||!h.effectiveSessionId||C({projectId:h.projectId,agentId:h.agentId,threadId:h.effectiveSessionId})}function M(){g(`new-session`)}function N(){g(`close`)}function ee(){return w.value?.getConversationMarkdown()??``}function te(e){w.value?.clearBudgetStops(e)}function F(){E.value=O.value===$.Fullpage?$.Docked:$.Fullpage}x([()=>h.isOpen,()=>h.initialized,()=>h.effectiveSessionId],async function([e,t,n]){!e||!t||!n||(await u(),w.value?.focusInput({preventScroll:!0}))},{flush:`post`});function L(e){e.defaultPrevented||e.isComposing||e.key!==`Escape`||e.shiftKey||e.altKey||e.ctrlKey||e.metaKey||!h.isOpen||y.value?.contains(e.target)!==!0||e.target instanceof Element&&e.target.closest(`[role="dialog"]`)!==null||(e.preventDefault(),e.stopPropagation(),N())}return P({"ctrl+shift+;":{allowInInputs:!0,disabled:()=>!h.isOpen,run:M}}),i({clearBudgetStops:te}),(r,i)=>(d(),_(`aside`,{ref_key:`dock`,ref:y,class:e([r.$style.dock,{[r.$style.open]:h.isOpen}]),"aria-label":a(v).baseText(`agents.builder.preview.button`),"aria-hidden":!h.isOpen,inert:!h.isOpen,onKeydown:L,"data-preview-layout":O.value,"data-testid":`agent-preview-dock`},[n(`div`,{class:e([r.$style.dockInner,{[r.$style.fullpage]:O.value===$.Fullpage}])},[n(`header`,{class:e(r.$style.header),"data-testid":`agent-preview-dock-header`},[n(`div`,{class:e(r.$style.sessionHistory)},[o(Y,{"session-options":h.sessionOptions,"can-delete-session":h.canDeleteSession,"is-deleting-session":h.isDeletingSession,onSelect:i[0]||=e=>g(`session-select`,e),onDelete:i[1]||=e=>g(`delete-session`,e)},{trigger:m(()=>[o(W,{title:h.hasSession?h.sessionTitle:void 0,"data-testid":`agent-preview-history-trigger`},null,8,[`title`])]),_:1},8,[`session-options`,`can-delete-session`,`is-deleting-session`])],2),n(`div`,{class:e(r.$style.actions)},[h.hasSession&&h.effectiveSessionId?(d(),t(a(z),{key:0,content:a(v).baseText(`agents.builder.preview.viewSession`),placement:`bottom`,"show-after":a(500),"data-testid":`agent-preview-view-session-tooltip`},{default:m(()=>[o(a(I),{icon:`list-tree`,variant:`ghost`,size:`small`,"icon-size":`large`,"aria-label":a(v).baseText(`agents.builder.preview.viewSession`),"data-testid":`agent-preview-view-session-btn`,onClick:A},null,8,[`aria-label`])]),_:1},8,[`content`,`show-after`])):s(``,!0),o(D,{placement:`bottom`,label:a(v).baseText(`agents.builder.chat.newChat.label`),shortcut:{metaKey:!0,shiftKey:!0,keys:[`;`]}},{default:m(()=>[o(a(I),{icon:`message-circle-plus`,variant:`ghost`,size:`small`,"icon-size":`large`,"aria-label":a(v).baseText(`agents.builder.chat.newChat.label`),"data-testid":`agent-preview-new-chat-btn`,onClick:M},null,8,[`aria-label`])]),_:1},8,[`label`]),o(_e,{"project-id":h.projectId,"agent-id":h.agentId,"effective-session-id":h.effectiveSessionId,"has-session":h.hasSession,"can-delete-session":h.canDeleteSession,"is-deleting-session":h.isDeletingSession,"is-full-width":O.value===$.Fullpage,"is-lang-smith-export-enabled":a(b),"is-exporting":a(S),"get-conversation-markdown":ee,onToggleFullWidth:F,onExportSession:j,onDeleteSession:k},null,8,[`project-id`,`agent-id`,`effective-session-id`,`has-session`,`can-delete-session`,`is-deleting-session`,`is-full-width`,`is-lang-smith-export-enabled`,`is-exporting`]),o(D,{placement:`bottom`,label:a(v).baseText(`agents.builder.preview.close.ariaLabel`),shortcut:{metaKey:!1,shiftKey:!1,keys:[`esc`]}},{default:m(()=>[o(a(I),{icon:`x`,variant:`ghost`,size:`small`,"icon-size":`large`,"aria-label":a(v).baseText(`agents.builder.preview.close.ariaLabel`),"data-testid":`agent-preview-close-btn`,onClick:N},null,8,[`aria-label`])]),_:1},8,[`label`])],2)],2),o(X,{ref_key:`previewChatPage`,ref:w,visible:h.isOpen,initialized:h.initialized,"project-id":h.projectId,"agent-id":h.agentId,agent:h.agent,"local-config":h.localConfig,"connected-triggers":h.connectedTriggers,"effective-session-id":h.effectiveSessionId,"new-session":h.newSession,"initial-prompt":h.initialPrompt,"can-send-to-assistant":h.canSendToAssistant,"dismissed-fix-tool-call-ids":h.dismissedFixToolCallIds,"before-send":h.beforeSend,"budget-cards":h.budgetCards,"increase-budget":h.increaseBudget,onContinueLoaded:i[2]||=e=>g(`continue-loaded`,e),onSessionCreated:i[3]||=e=>g(`session-created`,e),onOpenBuild:i[4]||=e=>g(`open-build`),onSendToAssistant:i[5]||=e=>g(`send-to-assistant`,e),onInitialConsumed:i[6]||=e=>g(`initial-consumed`)},null,8,[`visible`,`initialized`,`project-id`,`agent-id`,`agent`,`local-config`,`connected-triggers`,`effective-session-id`,`new-session`,`initial-prompt`,`can-send-to-assistant`,`dismissed-fix-tool-call-ids`,`before-send`,`budget-cards`,`increase-budget`])],2)],42,ve))}}),[[`__cssModules`,{$style:{dock:`_dock_1pag9_1`,fullpage:`_fullpage_1pag9_13`,dockInner:`_dockInner_1pag9_17`,open:`_open_1pag9_30`,header:`_header_1pag9_46`,sessionHistory:`_sessionHistory_1pag9_54`,actions:`_actions_1pag9_58`}}]]);export{ie as a,Y as i,le as n,X as r,ye as t};
@@ -1 +0,0 @@
1
- try{(function(){var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`4265e558-5c67-4559-983d-7becff7a2295`,e._sentryDebugIdIdentifier=`sentry-dbid-4265e558-5c67-4559-983d-7becff7a2295`)})()}catch{}import{$f as e,Dd as t,Ed as n,Fd as r,Md as i,Mf as a,Nd as o,Td as s,Zd as c,ff as l,ip as u,wf as d}from"./vendor-BhCrJHkF.js";import{AE as f,Cy as p,TE as m,Uh as h,Ym as g,pE as _,wT as v,xE as y,yi as b}from"./app-Dk2ZaS_x.js";import{t as x}from"./AgentModal-CY-bt8xE.js";var S=m(r({__name:`AgentPublishedModal`,props:{modalName:{},data:{}},setup(r){let m=r,S=f(),C=h(),{trackDismissedAgentPublishedModal:w}=b(),T=s(()=>C.modalsById[m.modalName]?.open===!0),E=d(!1);function D(e){let t=typeof e==`boolean`?e:!!e;E.value=t,p(g).value=t.toString()}function O(e){e||(w({agentId:m.data.agentId,dontShowAgain:E.value}),C.closeModal(m.modalName))}return(r,s)=>(c(),t(x,{open:T.value,title:a(S).baseText(`agents.publish.modal.title`),"show-cancel":!1,size:`large`,"data-testid":`agent-published-modal`,"onUpdate:open":O},{footerLeft:l(()=>[o(a(v),{"model-value":E.value,"data-testid":`agent-published-modal-dont-show-again`,"onUpdate:modelValue":D},{label:l(()=>[i(u(a(S).baseText(`generic.dontShowAgain`)),1)]),_:1},8,[`model-value`])]),footerActions:l(()=>[o(a(y),{variant:`solid`,"data-testid":`agent-published-modal-got-it`,onClick:s[0]||=e=>O(!1)},{default:l(()=>[i(u(a(S).baseText(`agents.publish.modal.gotIt`)),1)]),_:1})]),default:l(()=>[n(`div`,{class:e(r.$style.content)},[o(a(_),null,{default:l(()=>[i(u(a(S).baseText(`agents.publish.modal.description.readyToUse`)),1)]),_:1}),o(a(_),null,{default:l(()=>[i(u(a(S).baseText(`agents.publish.modal.description.changesNotPublished`)),1)]),_:1})],2)]),_:1},8,[`open`,`title`]))}}),[[`__cssModules`,{$style:{content:`_content_113zd_1`}}]]);export{S as default};
@@ -1 +0,0 @@
1
- try{(function(){var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`c61af318-91bf-4b9f-9b1a-03d03262b614`,e._sentryDebugIdIdentifier=`sentry-dbid-c61af318-91bf-4b9f-9b1a-03d03262b614`)})()}catch{}import{$d as e,$f as t,Af as n,Bd as r,Cu as i,Dd as a,Ed as o,Ef as s,Fd as c,Jd as l,Kd as u,Md as d,Mf as f,Nd as p,Od as m,Of as h,Ou as g,Qd as _,Sd as v,Td as y,W as b,Wd as x,Yd as S,Zd as C,af as w,bd as T,cf as E,ef as D,ff as O,ip as k,kd as A,ns as j,tp as M,ts as N,ud as P,uf as F,wf as I,xd as L,yu as ee}from"./vendor-BhCrJHkF.js";import{$p as R,AE as z,Ch as B,HT as te,Hf as V,JC as H,Jm as U,Jr as W,KT as G,Kl as K,Ks as ne,Lv as re,OT as q,Pl as ie,Qf as ae,Rr as oe,Rv as se,SE as J,Si as ce,Sy as le,TE as Y,Tc as ue,Wf as de,Ww as fe,Xf as X,Xs as pe,Xx as Z,_w as me,aC as he,aE as ge,ah as _e,ai as ve,bE as Q,bh as ye,cE as be,eC as xe,fh as Se,gE as Ce,gT as we,hE as Te,ii as $,kd as Ee,ky as De,ld as Oe,lp as ke,nm as Ae,np as je,pE as Me,pu as Ne,qu as Pe,sh as Fe,si as Ie,ww as Le,xE as Re,xh as ze,xy as Be,yE as Ve}from"./app-Dk2ZaS_x.js";import{A as He,D as Ue,M as We,O as Ge,_ as Ke,f as qe,g as Je,h as Ye,j as Xe,k as Ze,p as Qe,v as $e,y as et}from"./AgentChatPanel-mr1o-MXb.js";import{n as tt,r as nt,t as rt}from"./thread-title-CAq3yr76.js";import{a as it,n as at,t as ot}from"./AgentPreviewDock-C62cN3RV.js";var st=Y(c({__name:`AgentSessionTimelineHeader`,props:{breadcrumbItems:{},projectIcon:{},sessionTitle:{},sessionOptions:{},showMetrics:{type:Boolean},triggerSource:{},triggerIcon:{},triggerLabel:{},totalTokens:{},totalCost:{},durationLabel:{},showLangsmithExport:{type:Boolean},langsmithExportLoading:{type:Boolean},isPreviewOpen:{type:Boolean,default:!1},showPreview:{type:Boolean,default:!1}},emits:[`breadcrumb-select`,`session-select`,`langsmith-export`,`toggle-preview`,`close`],setup(e,{emit:n}){let r=e,i=n,s=z();return(n,c)=>(C(),A(`div`,{class:t(n.$style.topBar)},[o(`div`,{class:t(n.$style.topBarLeft)},[p(f(me),{items:r.breadcrumbItems,theme:`medium`,onItemSelected:c[1]||=e=>i(`breadcrumb-select`,e)},{prepend:O(()=>[p(Ne,{icon:e.projectIcon,"border-less":``,size:`mini`,"aria-hidden":`true`},null,8,[`icon`])]),append:O(()=>[o(`span`,{class:t(n.$style.crumbSeparator),"aria-hidden":`true`},`/`,2),p(f(ge),{items:r.sessionOptions,placement:`bottom-start`,"extra-popper-class":n.$style.sessionDropdownMenu,"data-testid":`session-header-switcher`,onSelect:c[0]||=e=>i(`session-select`,e)},{trigger:O(()=>[p(f(Re),{variant:`ghost`,size:`small`,class:t(n.$style.switcherButton),"aria-label":f(s).baseText(`agentSessions.sessionName`)},{default:O(()=>[o(`span`,{class:t(n.$style.switcherLabel)},k(r.sessionTitle),3),p(f(J),{icon:`chevron-down`,size:12})]),_:1},8,[`class`,`aria-label`])]),"item-label":O(({item:e})=>[o(`span`,{class:t(n.$style.sessionDropdownName)},k(e.label),3)]),"item-trailing":O(({item:e})=>[e.data?.date?(C(),A(`span`,{key:0,class:t(n.$style.sessionDropdownDate)},k(e.data.date),3)):m(``,!0)]),_:1},8,[`items`,`extra-popper-class`])]),_:1},8,[`items`])],2),r.showMetrics||r.showPreview?(C(),A(`div`,{key:0,class:t(n.$style.topBarRight)},[r.showMetrics&&r.showLangsmithExport?(C(),a(f(Te),{key:0,content:f(s).baseText(`agentSessions.langsmithExport.button`),placement:`bottom`,"show-after":f(500)},{default:O(()=>[p(f(Q),{icon:`bug`,variant:`ghost`,size:`small`,"icon-size":`large`,loading:r.langsmithExportLoading,"aria-label":f(s).baseText(`agentSessions.langsmithExport.button`),"data-testid":`agent-session-langsmith-export`,onClick:c[2]||=e=>i(`langsmith-export`)},null,8,[`loading`,`aria-label`])]),_:1},8,[`content`,`show-after`])):m(``,!0),r.showMetrics&&r.triggerSource?(C(),A(`span`,{key:1,class:t(n.$style.metricItem)},[p(f(J),{icon:r.triggerIcon,size:12},null,8,[`icon`]),o(`span`,null,k(r.triggerLabel),1)],2)):m(``,!0),r.showMetrics?(C(),A(`span`,{key:2,class:t(n.$style.sep)},`·`,2)):m(``,!0),r.showMetrics?(C(),A(`span`,{key:3,class:t(n.$style.metricItem)},[p(f(J),{icon:`circle-dollar-sign`,size:12}),o(`span`,null,k(r.totalTokens.toLocaleString())+`t ($`+k(r.totalCost.toFixed(4))+`)`,1)],2)):m(``,!0),r.showMetrics?(C(),A(`span`,{key:4,class:t(n.$style.sep)},`·`,2)):m(``,!0),r.showMetrics?(C(),A(`span`,{key:5,class:t(n.$style.metricItem)},[p(f(J),{icon:`clock`,size:12}),o(`span`,null,k(r.durationLabel),1)],2)):m(``,!0),r.showPreview?(C(),a(f(Le),{key:6,"model-value":r.isPreviewOpen,variant:`ghost`,size:`medium`,icon:`play`,label:f(s).baseText(`agents.builder.preview.button`),"data-testid":`agent-session-timeline-preview-btn`,onClick:c[3]||=e=>i(`toggle-preview`)},null,8,[`model-value`,`label`])):m(``,!0),p(f(Te),{content:f(s).baseText(`generic.close`)},{default:O(()=>[p(f(Re),{variant:`ghost`,"icon-only":``,icon:`x`,size:`medium`,"aria-label":f(s).baseText(`generic.close`),"data-testid":`agent-session-timeline-close`,"data-test-id":`agent-session-timeline-close`,onClick:c[4]||=e=>i(`close`)},null,8,[`aria-label`])]),_:1},8,[`content`])],2)):m(``,!0)],2))}}),[[`__cssModules`,{$style:{topBar:`_topBar_24u6u_1`,topBarLeft:`_topBarLeft_24u6u_12`,topBarRight:`_topBarRight_24u6u_34`,sep:`_sep_24u6u_45`,metricItem:`_metricItem_24u6u_49`,crumbSeparator:`_crumbSeparator_24u6u_56`,switcherButton:`_switcherButton_24u6u_63`,switcherLabel:`_switcherLabel_24u6u_68`,sessionDropdownMenu:`_sessionDropdownMenu_24u6u_76`,sessionDropdownName:`_sessionDropdownName_24u6u_87`,sessionDropdownDate:`_sessionDropdownDate_24u6u_95`}}]]),ct=`load_skill`;function lt(e){return e.endTimestamp??e.timestamp}function ut(e){return e.kind===`tool`&&He(e.toolName)}function dt(e){return typeof e==`string`&&e.length>0?e:Z(e)&&typeof e.message==`string`&&e.message.length>0?e.message:``}function ft(e){if(Z(e.structuredContent)){let t=dt(e.structuredContent.error);if(t)return t}if(!Array.isArray(e.content))return``;for(let t of e.content){if(!Z(t)||t.type!==`text`||typeof t.text!=`string`)continue;let e=t.text.trim();if(e)try{let t=JSON.parse(e);if(typeof t==`string`&&t.length>0)return t;if(Z(t)){let e=dt(t.error);if(e)return e}}catch{return e}}return``}function pt(e){if(e.kind!==`tool`&&e.kind!==`skill`&&e.kind!==`workflow`&&e.kind!==`node`)return!1;if(e.toolOutcome===`error`||e.toolOutcome===void 0&&e.toolSuccess===!1)return!0;if(!Z(e.toolOutput))return!1;let{error:t,status:n,success:r,ok:i,isError:a}=e.toolOutput;return typeof t==`string`&&t.length>0||Z(t)&&typeof t.message==`string`&&t.message.length>0||n===`error`||n===`failed`||r===!1||i===!1||a===!0}function mt(e){return e.kind===`execution-error`||pt(e)}function ht(e){if(!pt(e))return``;let t=e.toolOutput;return Z(t)?dt(t.error)||ft(t):``}var gt={approval:`agentSessions.timeline.approvalRequested`,interaction:`agentSessions.timeline.hitlRequested`,wait:`agentSessions.timeline.waitRequested`},_t={approval:`approval-requested`,interaction:`hitl-requested`,wait:`wait-requested`};function vt(e){return gt[e??`interaction`]}function yt(e){if(e.hitlRequestType===`approval`){if(e.kind===`suspension`)return`agentSessions.timeline.approvalRequestForTool`;if(e.kind===`hitl-response`)return`agentSessions.timeline.approvalResponseForTool`}}function bt(e,t){let n=(e.backgroundJobSignal?.tasks??[]).map(e=>Ye(e,t));return new Intl.ListFormat(t.locale,{style:`long`,type:`conjunction`}).format(n)}function xt(e,t){return t.baseText(e.executionStatus===`interrupted`?`agentSessions.timeline.executionInterrupted`:`agentSessions.timeline.executionFailed`)}function St(e,t){return e.content?e.content:t.baseText(e.executionStatus===`interrupted`?`agentSessions.timeline.executionInterruptedFallback`:`agentSessions.timeline.executionFailedFallback`)}function Ct(e,t){return e.hitlToolDisplayName??e.workflowName??e.nodeDisplayName??Ie(e.toolName,t,e.toolOutput)}function wt(e,t){let n=Ct(e,t),r=yt(e);return r?t.baseText(r,{interpolate:{toolName:n}}):n}function Tt(e){if(e.kind===`hitl-response`)return e.hitlResponseStatus===`approved`?{kind:`hitl-response`,labelKey:`agentSessions.timeline.approved`,theme:`success`}:{kind:`hitl-response`,labelKey:e.hitlResponseStatus===`declined`?`agentSessions.timeline.declined`:`agentSessions.timeline.responseReceived`,theme:`outline`};if(mt(e))return{kind:`tool-error`,labelKey:`agentSessions.timeline.error`,theme:`danger`}}function Et(e){let t=[];for(let n=0;n<e.length-1;n++){let r=e[n],i=e[n+1];if(r.kind===`suspension`||i.kind===`suspension`)continue;let a=lt(r);i.timestamp-a>6e5&&t.push({start:a,end:i.timestamp})}return t}function Dt(e){return e.kind}function Ot(e){if(mt(e))return`error`;if(e.kind===`hitl-response`&&(e.hitlResponseStatus===`approved`||e.hitlResponseStatus===`declined`))return e.hitlResponseStatus}function kt(e,t){if(t.size===0||t.has(Dt(e)))return!0;let n=Ot(e);return n!==void 0&&t.has(n)}function At(e){if(e!==void 0){if(e===null)return`null`;if(typeof e==`string`)return e;if(typeof e==`number`||typeof e==`boolean`||typeof e==`bigint`)return String(e);try{return JSON.stringify(e)??String(e)}catch{return String(e)}}}function jt(e,t){let n=[];n.push(t(Dt(e))),e.kind===`execution-error`&&e.executionStatus===`interrupted`&&n.push(t(`execution-interrupted`)),e.kind===`suspension`&&n.push(t(_t[e.hitlRequestType??`interaction`])),e.kind===`hitl-response`&&n.push(t(`hitl-response`)),e.hitlResponseStatus&&n.push(t(e.hitlResponseStatus)),mt(e)&&n.push(t(`error`));for(let r of e.backgroundJobSignal?.tasks??[])n.push(r.title,t(`background-task-${r.status}`));n.push(e.content,e.toolName,e.workflowName,e.nodeDisplayName,e.skillName,e.subAgentName,At(e.toolInput),At(e.toolOutput),At(e.hitlRequest),At(e.hitlResponse)),e.toolName&&n.push($(e.toolName));let r=Lt(e.toolName,e.toolOutput);return r&&n.push(t(r)),n.filter(e=>typeof e==`string`).join(` `).toLowerCase()}function Mt(e,t,n){return t?jt(e,n).includes(t.toLowerCase()):!0}function Nt(e,t,n,r){return e.map((e,t)=>({item:e,index:t})).filter(({item:e})=>kt(e,t)&&Mt(e,n.trim(),r)).map(({index:e})=>e)}function Pt(e){if(e.length===0)return{start:0,end:1};let t=1/0,n=-1/0;for(let r of e){r.timestamp<t&&(t=r.timestamp);let e=lt(r);e>n&&(n=e)}return n<=t&&(n=t+1),{start:t,end:n}}var Ft={user:`var(--color--blue-600)`,agent:`var(--color--purple-600)`,skill:`var(--color--orange-600)`,tool:`var(--color--green-600)`,node:`var(--color--neutral-600)`,workflow:`var(--color--pink-600)`,"execution-error":`var(--color--red-600)`,suspension:`var(--color--yellow-600)`,"hitl-response":`var(--color--blue-600)`,"background-task-signal":`var(--color--mint-600)`};function It(e){return Ft[e]}function Lt(e,t){return ve(e,t)??null}function Rt(e){if(!e||e<=0)return``;if(e<1e3)return`${e}ms`;if(e<6e4)return`${(e/1e3).toFixed(1)}s`;let t=Math.floor(e/6e4),n=Math.floor(e%6e4/1e3);if(t<60)return n>0?`${t}m ${n}s`:`${t}m`;let r=Math.floor(t/60),i=t%60;return i>0?`${r}h ${i}m`:`${r}h`}function zt(e){return e.timeline??[]}function Bt(e){return Z(e)&&e.declined===!0}function Vt(e){return Z(e)&&e.type===`approval`}function Ht(e){return Z(e)&&e.type===`integration_action`}function Ut(e){return Z(e)&&e.type===`workflow_wait`}function Wt(e){if(e.endTime!==0)return e.success?`success`:`error`}function Gt(e){return e.kind===`skill`||e.name===ct}function Kt(e){let t=/^\[Skill: ([^\]]+)\]/m.exec(e)?.[1];if(t){if(!t.startsWith(`"`))return t;if(!t.endsWith(`"`))return t.slice(1);try{let e=JSON.parse(t);return typeof e==`string`?e:t}catch{return t.slice(1,-1)}}}function qt(e){if(Z(e)){if(typeof e.name==`string`&&e.name.length>0)return e.name;if(Array.isArray(e.value))for(let t of e.value){if(!Z(t)||typeof t.text!=`string`)continue;let e=Kt(t.text);if(e)return e}}}function Jt(e){let t=qt(e.output);if(t)return t;if(Z(e.input))return typeof e.input.name==`string`&&e.input.name.length>0?e.input.name:typeof e.input.skillId==`string`&&e.input.skillId.length>0?e.input.skillId:void 0}function Yt(e,t,n){return Vt(e.suspendPayload)||n.has(e.toolCallId)?`approval`:Ut(e.suspendPayload)?`wait`:e.suspendPayload===void 0&&(t?.kind===`node`||t?.kind===`workflow`)?`approval`:`interaction`}function Xt(e){let t=new Set;for(let n of e)for(let e of zt(n))e.type===`tool-call`&&Bt(e.output)&&t.add(e.toolCallId);return t}function Zt(e,t,n){return n===`approval`?e.suspendPayload??{type:`approval`,toolName:e.toolName,args:e.input??t?.input}:e.suspendPayload!==void 0&&!Ht(e.suspendPayload)?e.suspendPayload:e.input??t?.input??e.suspendPayload}function Qt(e){if(!(!Z(e)||typeof e.displayName!=`string`))return e.displayName}function $t(e,t,n=!1){return e===`approval`&&Z(t)&&typeof t.approved==`boolean`?t.approved?`approved`:`declined`:Bt(t)?`declined`:n&&e===`approval`?`approved`:`responded`}function en(e,t){!e||Bt(t.output)||(e.toolOutput=t.output,e.toolOutcome=Wt(t),e.toolSuccess=t.endTime===0?void 0:t.success,e.kind===`workflow`&&(e.workflowExecutionId=t.workflowExecutionId))}function tn(e,t,n,r,i=!1){return{kind:`hitl-response`,executionId:t,toolName:e.toolName,toolCallId:e.toolCallId,hitlRequestType:e.requestType,hitlResponse:n,hitlResponseStatus:$t(e.requestType,n,i),hitlToolDisplayName:e.toolDisplayName,timestamp:r,endTimestamp:r,workflowName:e.toolCall?.workflowName,nodeDisplayName:e.toolCall?.nodeDisplayName}}function nn(e,t,n){let[r]=Ge([e]);if(r)return{kind:`user`,executionId:t,content:r.content,timestamp:n,...e.author&&{authorName:e.author.name},attachments:r.attachments?.flatMap(({fileId:e,fileName:t,mimeType:n,sizeBytes:r})=>e?[{id:e,fileName:t,mimeType:n,sizeBytes:r??0}]:[])}}function rn(e){let t=[],n=new Map,r=new Map,i=new Map,a=Xt(e);for(let o of e){let e=o.hitlStatus===`resumed`,s=!1,c=zt(o),l=o.startedAt?new Date(o.startedAt).getTime():0,u=[],d=t.length,f=(n,r=t.length)=>{let i=e&&!s;i&&(s=!0);let a=n.timestamp??0;t.splice(r,0,{kind:`agent`,executionId:o.id,content:n.content,timestamp:a,endTimestamp:n.endTime&&n.endTime>a?n.endTime:void 0,resumed:i,...u.length>0&&{thinkingSegments:u}}),u=[]},p=()=>{u.length&&f({type:`text`,content:``,timestamp:u[0].startTime??l,endTime:u.at(-1)?.endTime},d)};if(o.inputMessages!==void 0){let e=new Set(c.filter(e=>e.type===`input`).map(e=>e.messageId));for(let n of o.inputMessages){if(e.has(n.id))continue;let r=nn(n,o.id,l);r&&t.push(r)}}else (o.userMessage||o.attachments?.length)&&t.push({kind:`user`,executionId:o.id,content:o.userMessage??``,timestamp:l,...o.author&&{authorName:o.author.name},...o.attachments?.length&&{attachments:o.attachments}});for(let[e,s]of c.entries())if(s.type===`background-task-signal`)t.push({kind:`background-task-signal`,executionId:o.id,timestamp:s.timestamp,backgroundJobSignal:s.signal});else if(s.type===`input`){p();let e=o.inputMessages?.find(({id:e})=>e===s.messageId);if(!e)continue;let n=nn(e,o.id,s.timestamp);n&&t.push(n)}else if(s.type===`reasoning`){if(!s.content.trim())continue;u.length||(d=t.length),u.push({id:`${o.id}:reasoning:${e}`,content:s.content,startTime:s.timestamp,endTime:s.endTime})}else if(s.type===`text`)f(s);else if(s.type===`tool-call`){let e=i.get(s.toolCallId);if(e){en(e.toolItem,s),e.hasExplicitResponse||t.push(tn(e,o.id,s.output,s.startTime,!0)),i.delete(s.toolCallId);continue}let a=s.kind===`workflow`,c=s.kind===`node`,l=Gt(s);s.toolCallId&&n.set(s.toolCallId,s);let u={kind:a?`workflow`:c?`node`:l?`skill`:`tool`,executionId:o.id,toolName:s.name,skillName:l?Jt(s):void 0,toolCallId:s.toolCallId,toolInput:s.input,toolOutput:s.output,toolOutcome:Wt(s),toolSuccess:s.endTime===0?void 0:s.success,timestamp:s.startTime,endTimestamp:s.endTime||s.startTime,workflowId:a?s.workflowId:void 0,workflowName:a?s.workflowName:void 0,workflowExecutionId:a?s.workflowExecutionId:void 0,workflowTriggerType:a?s.triggerType:void 0,nodeType:c?s.nodeType:void 0,nodeTypeVersion:c?s.nodeTypeVersion:void 0,nodeDisplayName:c?s.nodeDisplayName:void 0,nodeParameters:c?s.nodeParameters:void 0};t.push(u),s.toolCallId&&r.set(s.toolCallId,u)}else if(s.type===`suspension`){let e=n.get(s.toolCallId),c=Yt(s,e,a),l=Zt(s,e,c),u=Qt(l);s.toolCallId&&i.set(s.toolCallId,{requestType:c,toolName:s.toolName||e?.name||``,toolCallId:s.toolCallId,toolCall:e,toolItem:r.get(s.toolCallId),toolDisplayName:u,hasExplicitResponse:!1}),t.push({kind:`suspension`,executionId:o.id,toolName:s.toolName,toolCallId:s.toolCallId,timestamp:s.timestamp??0,hitlRequestType:c,hitlRequest:l,hitlToolDisplayName:u,workflowName:e?.workflowName,nodeDisplayName:e?.nodeDisplayName})}else if(s.type===`hitl-response`){let e=i.get(s.toolCallId);if(!e)continue;e.hasExplicitResponse=!0,t.push(tn(e,o.id,s.response,s.timestamp??0))}if(p(),o.status===`error`||o.status===`interrupted`){let e=o.stoppedAt??o.startedAt??o.createdAt;t.push({kind:`execution-error`,executionId:o.id,executionStatus:o.status,content:o.error??void 0,timestamp:e?new Date(e).getTime():0})}}return t}function an(e){switch(e){case`user`:return{backgroundColor:`var(--color--blue-200)`,color:`var(--color--blue-950)`};case`agent`:return{backgroundColor:`var(--color--purple-200)`,color:`var(--color--purple-950)`};case`skill`:return{backgroundColor:`var(--color--orange-200)`,color:`var(--color--orange-950)`};case`background-task-signal`:case`subagent`:return{backgroundColor:`var(--color--mint-200)`,color:`var(--color--mint-950)`};case`tool`:return{backgroundColor:`var(--color--green-200)`,color:`var(--color--green-950)`};case`workflow`:return{backgroundColor:`var(--color--pink-200)`,color:`var(--color--pink-950)`};case`node`:return{backgroundColor:`var(--color--neutral-200)`,color:`var(--color--neutral-950)`};case`execution-error`:return{backgroundColor:`var(--color--red-150)`,color:`var(--text-color--danger)`};case`suspension`:case`idle`:return{backgroundColor:`var(--color--yellow-200)`,color:`var(--color--yellow-950)`};case`hitl-response`:return{backgroundColor:`var(--color--blue-200)`,color:`var(--color--blue-950)`};default:return{backgroundColor:`var(--color--neutral-200)`,color:`var(--color--neutral-950)`}}}function on(e){return{"--session-timeline-chart-block-color":ut(e)?`var(--color--mint-600)`:It(e.kind)}}function sn(e){return`color-mix(in srgb, ${e} var(--color--session-timeline-block-bg-alpha), transparent)`}var cn=Y(c({__name:`SessionTimelinePill`,props:{kind:{},label:{default:``},showLabel:{type:Boolean,default:!1}},setup(e){let n=e,r=y(()=>{switch(n.kind){case`background-task-signal`:return`list-checks`;case`user`:return`user`;case`agent`:case`subagent`:return`bot`;case`skill`:return`book-open`;case`tool`:return`wrench`;case`workflow`:return`workflow`;case`node`:return`box`;case`execution-error`:return`circle-x`;case`suspension`:case`idle`:return`clock`;case`hitl-response`:return`message-square`;default:return`info`}}),i=y(()=>an(n.kind));return(n,a)=>(C(),A(`span`,{class:t([n.$style.pill,e.showLabel&&n.$style.withLabel]),style:M(i.value)},[p(f(J),{icon:r.value,size:`medium`},null,8,[`icon`]),e.showLabel&&e.label?(C(),A(`span`,{key:0,class:t(n.$style.label)},k(e.label),3)):m(``,!0)],6))}}),[[`__cssModules`,{$style:{pill:`_pill_186z4_1`,withLabel:`_withLabel_186z4_11`,label:`_label_186z4_17`}}]]),ln=[`data-error`],un=[`onMouseenter`],dn=[`data-timeline-index`,`data-error`,`aria-label`,`data-selected`,`onMouseenter`,`onFocus`,`onClick`],fn=48,pn=100,mn=300,hn=Y(c({__name:`SessionTimelineChart`,props:{items:{},idleRanges:{},sessionStart:{},sessionEnd:{},visibleKinds:{},selectedIndex:{}},emits:[`select`],setup(n,{emit:r}){let i=n,s=r,c=z(),h=I(null),g=I(null),_=I(!1),b=I(!1),S=I(!1),w=I(null),T=I(!1),E=y(()=>{let e=w.value?.segment;return e?.kind===`event`?Tt(e.item):void 0}),D=null,j=null,N=null,P=null,L=y(()=>{let e=[],t=[...i.idleRanges].sort((e,t)=>e.start-t.start),n=0;for(let r=0;r<i.items.length;r++){let a=i.items[r];for(;n<t.length&&t[n].start<=a.timestamp;)e.push({kind:`idle`,range:t[n]}),n++;let o=a.endTimestamp?a.endTimestamp-a.timestamp:pn;e.push({kind:`event`,item:a,index:r,duration:o})}for(;n<t.length;)e.push({kind:`idle`,range:t[n]}),n++;return e});function ee(e){return!kt(e,i.visibleKinds)}function R(e){return e.kind===`idle`?{flex:`0 0 56px`}:{flex:`${Math.max(e.duration,1)} 1 0`}}function B(e){let t=on(e);return ee(e)&&(t.opacity=`0.15`,t.pointerEvents=`none`),t}function te(e){return ut(e)?`subagent`:e.kind}function V(e){if(ut(e))return c.baseText(`agentSessions.timeline.subAgent`);switch(e.kind){case`background-task-signal`:return c.baseText(`agents.chat.backgroundTasks.resultsReceived`);case`user`:return c.baseText(`agentSessions.timeline.user`);case`agent`:return c.baseText(`agentSessions.timeline.agent`);case`skill`:return c.baseText(`agentSessions.timeline.skill`);case`tool`:return c.baseText(`agentSessions.timeline.tool`);case`workflow`:return c.baseText(`agentSessions.timeline.workflow`);case`node`:return c.baseText(`agentSessions.timeline.node`);case`execution-error`:return xt(e,c);case`suspension`:return c.baseText(vt(e.hitlRequestType));case`hitl-response`:return c.baseText(`agentSessions.timeline.hitlResponse`);default:return``}}function H(e){if(ut(e))return e.subAgentName??$(e.toolName);switch(e.kind){case`background-task-signal`:return bt(e,c);case`user`:case`agent`:return Ce(e.content??``,80);case`skill`:return e.skillName??Ie(e.toolName,c,e.toolOutput);case`tool`:return Ie(e.toolName,c,e.toolOutput);case`workflow`:return e.workflowName??$(e.toolName);case`node`:return e.nodeDisplayName??$(e.toolName);case`execution-error`:return St(e,c);case`suspension`:case`hitl-response`:return wt(e,c);default:return``}}function U(e){let t=Tt(e);return t?c.baseText(t.labelKey):void 0}function W(e){return!e.endTimestamp||e.endTimestamp<=e.timestamp?``:Rt(e.endTimestamp-e.timestamp)}function G(e){return Rt(e.end-e.start)}function K(e){return e.timestamp?pe(new Date(e.timestamp).toISOString()).time:``}function ne(e){return[V(e),H(e),U(e)].filter(e=>!!e).join(`, `)}function re(e,t){ee(t)||s(`select`,e)}function q(e,t){if(!(t.currentTarget instanceof HTMLElement))return;let n={segment:e,reference:t.currentTarget};t.type===`focus`?P=n:N=n,ie(),D=setTimeout(()=>{w.value=n,T.value=!0},mn)}function ie(){D&&=(clearTimeout(D),null)}function ae(){let e=i.selectedIndex,t=g.value;if(e===null||!t)return;let n=t.querySelector(`[data-timeline-index="${e}"]`);if(!n)return;let r=n.offsetLeft,a=r+n.offsetWidth,o=t.scrollLeft,s=o+t.clientWidth;r-fn<o?t.scrollLeft=Math.max(0,r-fn):a+fn>s&&(t.scrollLeft=a+fn-t.clientWidth)}function oe(){let e=g.value;if(!e){_.value=!1,b.value=!1,S.value=!1;return}let t=h.value?.clientWidth??e.clientWidth,n=Math.max(0,e.scrollWidth-e.clientWidth);_.value=e.scrollWidth-t>1,b.value=_.value&&e.scrollLeft>1,S.value=_.value&&e.scrollLeft<n-1}function se(e){let t=g.value;if(!t)return;let n=Math.max(t.clientWidth-fn,fn),r=window.matchMedia(`(prefers-reduced-motion: reduce)`).matches?`auto`:`smooth`;t.scrollBy({left:e*n,top:0,behavior:r})}function J(e){e.type===`blur`?P=null:N=null,ie();let t=P??N;if(t){w.value=t,T.value=!0;return}T.value=!1,w.value=null}return F(()=>i.selectedIndex,()=>{x(ae)}),F(L,()=>{x(oe)}),l(()=>{let e=g.value;e&&(e.addEventListener(`scroll`,oe,{passive:!0}),j=new ResizeObserver(oe),j.observe(e),h.value&&j.observe(h.value),oe())}),u(()=>{ie(),g.value?.removeEventListener(`scroll`,oe),j?.disconnect()}),(n,r)=>(C(),A(`div`,{ref_key:`carouselRef`,ref:h,class:t(n.$style.carousel)},[_.value?(C(),a(f(Q),{key:0,icon:`chevron-left`,variant:`ghost`,size:`small`,"aria-label":f(c).baseText(`agentSessions.timeline.scrollBackward`),disabled:!b.value,onClick:r[0]||=e=>se(-1)},null,8,[`aria-label`,`disabled`])):m(``,!0),o(`div`,{ref_key:`chartRef`,ref:g,class:t(n.$style.chart)},[p(f(we),{open:T.value,"hide-trigger":``,reference:w.value?.reference,side:`top`,align:`center`,"side-offset":8,"close-delay":0,"max-width":`none`,"content-class":n.$style.hoverCardContent},{content:O(()=>[w.value?.segment.kind===`idle`?(C(),A(`div`,{key:0,class:t(n.$style.popoverInner)},[p(cn,{kind:`idle`,label:f(c).baseText(`agentSessions.timeline.idle`),"show-label":``},null,8,[`label`]),o(`span`,{class:t(n.$style.popoverMeta)},k(G(w.value.segment.range)),3)],2)):w.value?(C(),A(`div`,{key:1,class:t(n.$style.popoverInner)},[p(cn,{kind:te(w.value.segment.item),label:V(w.value.segment.item),"show-label":``},null,8,[`kind`,`label`]),o(`span`,{class:t(n.$style.popoverName)},k(H(w.value.segment.item)),3),E.value?(C(),a(f(be),{key:0,variant:E.value.theme,size:`xsmall`,"data-test-id":E.value.kind===`hitl-response`?`timeline-popover-hitl-response-badge`:w.value.segment.item.kind===`execution-error`?`timeline-popover-execution-error-badge`:`timeline-popover-tool-error-badge`},{default:O(()=>[d(k(f(c).baseText(E.value.labelKey)),1)]),_:1},8,[`variant`,`data-test-id`])):m(``,!0),W(w.value.segment.item)?(C(),A(`span`,{key:1,class:t(n.$style.popoverMeta)},k(W(w.value.segment.item)),3)):m(``,!0),o(`span`,{class:t(n.$style.popoverMeta)},k(K(w.value.segment.item)),3)],2)):m(``,!0)]),_:1},8,[`open`,`reference`,`content-class`]),(C(!0),A(v,null,e(L.value,(e,a)=>(C(),A(`div`,{key:a,"data-test-id":`timeline-cell`,"data-error":e.kind===`event`&&f(mt)(e.item)?`true`:void 0,class:t(n.$style.cell),style:M(R(e))},[e.kind===`idle`?(C(),A(`div`,{key:0,"data-test-id":`timeline-idle`,class:t(n.$style.idle),onMouseenter:t=>q(e,t),onMouseleave:r[1]||=e=>J(e)},[o(`span`,{class:t(n.$style.idleFill)},k(f(c).baseText(`agentSessions.timeline.idle`)),3)],42,un)):(C(),A(`button`,{key:1,type:`button`,"data-test-id":`timeline-block`,"data-timeline-index":e.index,"data-error":f(mt)(e.item)?`true`:void 0,"aria-label":ne(e.item),class:t([n.$style.block,i.selectedIndex===e.index&&n.$style.selected]),"data-selected":i.selectedIndex===e.index?`true`:void 0,style:M(B(e.item)),onMouseenter:t=>q(e,t),onMouseleave:r[2]||=e=>J(e),onFocus:t=>q(e,t),onBlur:r[3]||=e=>J(e),onClick:t=>re(e.index,e.item)},null,46,dn))],14,ln))),128))],2),_.value?(C(),a(f(Q),{key:1,icon:`chevron-right`,variant:`ghost`,size:`small`,"aria-label":f(c).baseText(`agentSessions.timeline.scrollForward`),disabled:!S.value,onClick:r[4]||=e=>se(1)},null,8,[`aria-label`,`disabled`])):m(``,!0)],2))}}),[[`__cssModules`,{$style:{carousel:`_carousel_1olun_2`,chart:`_chart_1olun_10`,cell:`_cell_1olun_27`,block:`_block_1olun_53`,selected:`_selected_1olun_53`,idle:`_idle_1olun_57`,idleFill:`_idleFill_1olun_68`,hoverCardContent:`_hoverCardContent_1olun_97`,popoverInner:`_popoverInner_1olun_110`,popoverName:`_popoverName_1olun_118`,popoverMeta:`_popoverMeta_1olun_124`}}]]),gn=`__reset__`,_n=`__events__`,vn=`__status__`,yn=Y(c({__name:`SessionEventFilter`,props:{available:{},selected:{}},emits:[`update`],setup(e,{emit:n}){let r=e,i=n,s=z(),c=y(()=>{let e=r.available.filter(e=>e.presentation===`swatch`),t=r.available.filter(e=>e.presentation===`badge`),n=[];return e.length>0&&(n.push({id:_n,label:s.baseText(`agentSessions.timeline.events`),header:!0}),n.push(...e.map(l))),t.length>0&&(n.push({id:vn,label:s.baseText(`agentSessions.timeline.status`),header:!0}),n.push(...t.map(l))),n.push({id:gn,label:s.baseText(`generic.reset`),divided:!0,disabled:r.selected.size===0,testId:`filter-clear`}),n});function l(e){return{id:e.key,label:e.label,checked:r.selected.has(e.key),keepOpen:!0,testId:`filter-option-${e.key}`,data:{option:e}}}function u(e){if(e.presentation===`swatch`)return e.color;switch(e.key){case`approved`:return`var(--color--green-600)`;case`error`:return`var(--color--red-600)`;default:return`var(--color--neutral-600)`}}function h(e){if(e===gn){i(`update`,new Set);return}let t=new Set(r.selected);t.has(e)?t.delete(e):t.add(e),i(`update`,t)}return(e,n)=>(C(),a(f(ge),{items:c.value,placement:`bottom-end`,onSelect:h},{trigger:O(()=>[p(f(Te),{"as-child":``,content:f(s).baseText(`agentSessions.timeline.events`),placement:`top`},{default:O(()=>[p(f(Re),{variant:`outline`,icon:`funnel`,"icon-only":``,"aria-label":f(s).baseText(`agentSessions.timeline.events`),class:t(e.$style.trigger),"data-test-id":`filter-trigger`},{default:O(()=>[r.selected.size>0?(C(),A(`span`,{key:0,class:t(e.$style.activeIndicator),"aria-hidden":`true`},null,2)):m(``,!0)]),_:1},8,[`aria-label`,`class`])]),_:1},8,[`content`])]),"item-leading":O(({item:n,ui:r})=>[n.data?.option?(C(),A(`span`,{key:0,class:t([e.$style.swatch,r.class]),style:M({backgroundColor:f(sn)(u(n.data.option))})},null,6)):m(``,!0)]),"item-label":O(({item:n,ui:r})=>[o(`span`,{class:t(r.class)},[d(k(n.label)+` `,1),n.data?.option?(C(),A(`span`,{key:0,class:t(e.$style.count)},k(n.data.option.count),3)):m(``,!0)],2)]),_:1},8,[`items`]))}}),[[`__cssModules`,{$style:{trigger:`_trigger_ek02j_1`,activeIndicator:`_activeIndicator_ek02j_6`,swatch:`_swatch_ek02j_18`,count:`_count_ek02j_24`}}]]),bn=[`href`],xn={key:1},Sn=Y(c({__name:`SessionTimelineRow`,props:{item:{},selected:{type:Boolean}},emits:[`select`],setup(e,{emit:n}){let r=e,i=n,s=j(),c=z(),l=ke(),u=y(()=>r.item.kind!==`node`||!r.item.nodeType?null:l.getNodeType(r.item.nodeType,r.item.nodeTypeVersion)??null),h=y(()=>ut(r.item)),g=y(()=>h.value?`subagent`:r.item.kind),_=y(()=>r.item.timestamp?pe(new Date(r.item.timestamp).toISOString()).time:``),v=y(()=>r.item.kind!==`workflow`||!r.item.workflowId?``:s.resolve({name:le.WORKFLOW,params:{workflowId:r.item.workflowId}}).href),b=y(()=>{let e=r.item;switch(e.kind){case`background-task-signal`:return bt(e,c);case`user`:case`agent`:return Ce(e.content??``,500);case`skill`:return e.skillName??Ie(e.toolName,c,e.toolOutput);case`tool`:return h.value?Ze(c,e.subAgentName??``):Ie(e.toolName,c,e.toolOutput);case`workflow`:return e.workflowName??$(e.toolName);case`node`:return e.nodeDisplayName??$(e.toolName);case`execution-error`:return St(e,c);case`suspension`:case`hitl-response`:return wt(e,c);default:return``}}),x=y(()=>Tt(r.item)),S=y(()=>{let e=r.item.attachments;if(!e?.length)return null;let t=e.length-1;return{label:t>0?`${e[0].fileName} +${t}`:e[0].fileName,tooltip:e.map(e=>e.fileName).join(`, `)}}),w=y(()=>{if(h.value)return c.baseText(`agentSessions.timeline.subAgent`);switch(r.item.kind){case`background-task-signal`:return c.baseText(`agents.chat.backgroundTasks.resultsReceived`);case`user`:return c.baseText(`agentSessions.timeline.user`);case`agent`:return c.baseText(`agentSessions.timeline.agent`);case`skill`:return c.baseText(`agentSessions.timeline.skill`);case`tool`:return c.baseText(`agentSessions.timeline.tool`);case`workflow`:return c.baseText(`agentSessions.timeline.workflow`);case`node`:return c.baseText(`agentSessions.timeline.node`);case`execution-error`:return xt(r.item,c);case`suspension`:return c.baseText(vt(r.item.hitlRequestType));case`hitl-response`:return c.baseText(`agentSessions.timeline.hitlResponse`);default:return``}});return(n,r)=>(C(),A(`div`,{class:t([n.$style.row,e.selected&&n.$style.selected]),role:`gridcell`,onClick:r[1]||=e=>i(`select`)},[p(f(Te),{content:w.value,placement:`top`},{default:O(()=>[u.value?(C(),A(`span`,{key:0,class:t(n.$style.nodeIcon)},[p(K,{"node-type":u.value,size:20},null,8,[`node-type`])],2)):(C(),a(cn,{key:1,kind:g.value},null,8,[`kind`]))]),_:1},8,[`content`]),o(`div`,{class:t(n.$style.info)},[e.item.kind===`workflow`&&v.value?(C(),A(`a`,{key:0,href:v.value,target:`_blank`,rel:`noopener`,class:t(n.$style.workflowLink),onClick:r[0]||=L(()=>{},[`stop`])},k(b.value),11,bn)):(C(),A(`span`,xn,k(b.value),1)),x.value?(C(),a(f(be),{key:2,class:t(n.$style.statusBadge),variant:x.value.theme,size:`xsmall`,"data-test-id":x.value.kind===`hitl-response`?`timeline-hitl-response-badge`:e.item.kind===`execution-error`?`timeline-execution-error-badge`:`timeline-tool-error-badge`},{default:O(()=>[d(k(f(c).baseText(x.value.labelKey)),1)]),_:1},8,[`class`,`variant`,`data-test-id`])):m(``,!0),S.value?(C(),a(f(Te),{key:3,content:S.value.tooltip,placement:`top`},{default:O(()=>[o(`span`,{class:t(n.$style.attachmentChip),"data-testid":`timeline-attachment-chip`},[p(f(J),{icon:`paperclip`,size:`xsmall`}),d(` `+k(S.value.label),1)],2)]),_:1},8,[`content`])):m(``,!0)],2),o(`span`,{class:t(n.$style.time)},k(_.value),3)],2))}}),[[`__cssModules`,{$style:{row:`_row_bvo87_2`,selected:`_selected_bvo87_17`,nodeIcon:`_nodeIcon_bvo87_21`,info:`_info_bvo87_31`,statusBadge:`_statusBadge_bvo87_42`,workflowLink:`_workflowLink_bvo87_52`,attachmentChip:`_attachmentChip_bvo87_57`,time:`_time_bvo87_74`}}]]),Cn=[`aria-label`],wn=[`data-timeline-row-id`,`tabindex`,`aria-selected`,`onClick`,`onKeydown`],Tn=[`data-timeline-row-id`],En=[`data-timeline-row-id`,`tabindex`,`aria-selected`,`onClick`,`onKeydown`],Dn=[`data-timeline-row-id`],On=40,kn=24,An=100,jn=Y(c({__name:`SessionTimelineTable`,props:{items:{},selectedIndex:{},visibleKinds:{},searchQuery:{},idleRanges:{}},emits:[`select`],setup(n,{emit:r}){let i=n,s=r,c=z(),d=I(null),m=I(!1),h=I(!1),g=null;function _(e){let t=Je(e);if(t)return c.baseText(t);switch(e){case`user`:return c.baseText(`agentSessions.timeline.user`);case`agent`:return c.baseText(`agentSessions.timeline.agent`);case`skill`:return c.baseText(`agentSessions.timeline.skill`);case`tool`:return c.baseText(`agentSessions.timeline.tool`);case`workflow`:return c.baseText(`agentSessions.timeline.workflow`);case`node`:return c.baseText(`agentSessions.timeline.node`);case`execution-error`:return c.baseText(`agentSessions.timeline.executionFailed`);case`execution-interrupted`:return c.baseText(`agentSessions.timeline.executionInterrupted`);case`suspension`:return c.baseText(`agentSessions.timeline.hitlRequest`);case`hitl-response`:return c.baseText(`agentSessions.timeline.hitlResponse`);case`approval-requested`:return c.baseText(`agentSessions.timeline.approvalRequested`);case`hitl-requested`:return c.baseText(`agentSessions.timeline.hitlRequested`);case`wait-requested`:return c.baseText(`agentSessions.timeline.waitRequested`);case`approved`:return c.baseText(`agentSessions.timeline.approved`);case`responded`:return c.baseText(`agentSessions.timeline.responseReceived`);case`declined`:return c.baseText(`agentSessions.timeline.declined`);case`error`:return c.baseText(`agentSessions.timeline.error`);default:return e}}let b=y(()=>{let e=Nt(i.items,i.visibleKinds,i.searchQuery??``,_).map(e=>({id:`event-${e}`,kind:`event`,item:i.items[e],index:e,sortKey:i.items[e].timestamp})),t=(i.idleRanges??[]).map((e,t)=>({id:`idle-${e.start}-${e.end}-${t}`,kind:`idle`,range:e,sortKey:e.start}));return[...e,...t].sort((e,t)=>e.sortKey-t.sortKey)}),S=y(()=>b.value.length>An),w=y(()=>{let e=b.value.find(e=>e.kind===`event`&&e.index===i.selectedIndex);if(e?.kind===`event`)return e.index;let t=b.value.find(e=>e.kind===`event`);return t?.kind===`event`?t.index:null});function E(){if(!g){m.value=!1,h.value=!1;return}m.value=g.scrollTop>0,h.value=g.scrollTop+g.clientHeight<g.scrollHeight-1}function D(){let e=d.value?.querySelector(`[data-timeline-scroll-container]`)??d.value?.querySelector(`.recycle-scroller-wrapper`);e!==g&&(g?.removeEventListener(`scroll`,E),g=e??null,g?.addEventListener(`scroll`,E,{passive:!0}),E())}function j(e){let t=d.value?.querySelectorAll(`[data-timeline-row-id]`);return Array.from(t??[]).find(t=>t.dataset.timelineRowId===e)}function M(e){let t=j(e);return t?(t.focus(),!0):!1}function N(e){if(!g)return!1;let t=j(e);if(!t)return!1;let n=g.getBoundingClientRect(),r=t.getBoundingClientRect();return r.top-kn<n.top?g.scrollTop-=n.top-r.top+kn:r.bottom+kn>n.bottom&&(g.scrollTop+=r.bottom-n.bottom+kn),!0}function P(e){if(!g||N(e))return;let t=b.value.findIndex(t=>t.id===e);if(t===-1)return;let n=t*On,r=n+On,i=g.scrollTop,a=i+g.clientHeight;n-kn<i?g.scrollTop=Math.max(0,n-kn):r+kn>a&&(g.scrollTop=r+kn-g.clientHeight),x(()=>{N(e),E()})}return F(()=>b.value.length,()=>{x(()=>{D(),E()})}),l(()=>{x(D)}),u(()=>{g?.removeEventListener(`scroll`,E)}),F(()=>i.selectedIndex,e=>{if(e===null)return;let t=document.activeElement,n=t instanceof HTMLElement&&d.value?.contains(t)===!0&&t.closest(`[data-timeline-row-id]`)!==null,r=`event-${e}`;x(()=>{P(r),E(),n&&!M(r)&&x(()=>M(r))})}),(n,r)=>(C(),A(`div`,{ref_key:`tableRef`,ref:d,class:t([n.$style.table,m.value&&n.$style.canScrollUp,h.value&&n.$style.canScrollDown]),role:`grid`,"aria-label":f(c).baseText(`agentSessions.timeline.events`)},[b.value.length>0&&!S.value?(C(),A(`div`,{key:0,class:t(n.$style.directRows),"data-timeline-scroll-container":``,role:`rowgroup`},[(C(!0),A(v,null,e(b.value,e=>(C(),A(v,{key:e.id},[e.kind===`event`?(C(),A(`div`,{key:0,"data-test-id":`timeline-row`,"data-timeline-row-id":e.id,class:t(n.$style.rowWrapper),role:`row`,tabindex:w.value===e.index?0:-1,"aria-selected":i.selectedIndex===e.index,onClick:t=>s(`select`,e.index),onKeydown:[T(L(t=>s(`select`,e.index),[`self`,`prevent`]),[`enter`]),T(L(t=>s(`select`,e.index),[`self`,`prevent`]),[`space`])]},[p(Sn,{item:e.item,selected:i.selectedIndex===e.index},null,8,[`item`,`selected`])],42,wn)):(C(),A(`div`,{key:1,"data-test-id":`timeline-idle-row`,"data-timeline-row-id":e.id,class:t(n.$style.idleRow),role:`row`},[o(`span`,{class:t(n.$style.idlePill),role:`gridcell`},k(f(c).baseText(`agentSessions.timeline.idle`))+` · `+k(f(Rt)(e.range.end-e.range.start)),3)],10,Tn))],64))),128))],2)):b.value.length>0?(C(),a(f(fe),{key:1,items:b.value,"item-size":On,"item-key":`id`,role:`rowgroup`},{default:O(({item:e})=>[e.kind===`event`?(C(),A(`div`,{key:0,"data-test-id":`timeline-row`,"data-timeline-row-id":e.id,class:t(n.$style.rowWrapper),role:`row`,tabindex:w.value===e.index?0:-1,"aria-selected":i.selectedIndex===e.index,onClick:t=>s(`select`,e.index),onKeydown:[T(L(t=>s(`select`,e.index),[`self`,`prevent`]),[`enter`]),T(L(t=>s(`select`,e.index),[`self`,`prevent`]),[`space`])]},[p(Sn,{item:e.item,selected:i.selectedIndex===e.index},null,8,[`item`,`selected`])],42,En)):(C(),A(`div`,{key:1,"data-test-id":`timeline-idle-row`,"data-timeline-row-id":e.id,class:t(n.$style.idleRow),role:`row`},[o(`span`,{class:t(n.$style.idlePill),role:`gridcell`},k(f(c).baseText(`agentSessions.timeline.idle`))+` · `+k(f(Rt)(e.range.end-e.range.start)),3)],10,Dn))]),_:1},8,[`items`])):(C(),A(`div`,{key:2,"data-test-id":`timeline-empty`,class:t(n.$style.empty)},k(f(c).baseText(`executionsLandingPage.noResults`)),3))],10,Cn))}}),[[`__cssModules`,{$style:{table:`_table_1ssv9_2`,rowWrapper:`_rowWrapper_1ssv9_8`,empty:`_empty_1ssv9_12`,directRows:`_directRows_1ssv9_29`,canScrollDown:`_canScrollDown_1ssv9_39`,canScrollUp:`_canScrollUp_1ssv9_43`,idleRow:`_idleRow_1ssv9_63`,idlePill:`_idlePill_1ssv9_77`}}]]),Mn=[`src`,`alt`],Nn=Y(c({__name:`RichInteractionCard`,props:{input:{},output:{}},setup(n){let r=n,i=y(()=>({input:r.input??{},output:r.output??{}}));return(n,r)=>(C(),A(`div`,{class:t(n.$style.card)},[i.value.input.title?(C(),A(`div`,{key:0,class:t(n.$style.title)},k(i.value.input.title),3)):m(``,!0),i.value.input.message?(C(),A(`div`,{key:1,class:t(n.$style.message)},k(i.value.input.message),3)):m(``,!0),i.value.input.components?(C(!0),A(v,{key:2},e(i.value.input.components,(r,a)=>(C(),A(v,{key:a},[r.type===`section`&&r.text?(C(),A(`div`,{key:0,class:t(n.$style.section)},k(r.text),3)):r.type===`divider`?(C(),A(`hr`,{key:1,class:t(n.$style.divider)},null,2)):r.type===`button`?(C(),A(`div`,{key:2,class:t(n.$style.button)},[o(`span`,{class:t([n.$style.buttonPill,i.value.output.type===`button`&&i.value.output.value===r.value&&n.$style.buttonSelected])},k(r.label??r.value),3)],2)):r.type===`select`||r.type===`radio_select`?(C(),A(`div`,{key:3,class:t(n.$style.selectGroup)},[o(`div`,{class:t(n.$style.selectLabel)},k(r.label),3),(C(!0),A(v,null,e(r.options,e=>(C(),A(`div`,{key:e.value,class:t(n.$style.selectOption)},[o(`span`,{class:t([n.$style.optionDot,i.value.output.type===`select`&&i.value.output.value===e.value&&n.$style.optionSelected])},null,2),o(`span`,null,k(e.label),1),e.description?(C(),A(`span`,{key:0,class:t(n.$style.optionDesc)},k(e.description),3)):m(``,!0)],2))),128))],2)):r.type===`fields`?(C(),A(`div`,{key:4,class:t(n.$style.fieldsGroup)},[(C(!0),A(v,null,e(r.fields??r.items,e=>(C(),A(`div`,{key:e.label,class:t(n.$style.fieldRow)},[o(`span`,{class:t(n.$style.fieldLabel)},k(e.label),3),o(`span`,null,k(e.value),1)],2))),128))],2)):r.type===`image`&&r.url?(C(),A(`img`,{key:5,src:r.url,alt:r.alt??r.altText??``,class:t(n.$style.image)},null,10,Mn)):m(``,!0)],64))),128)):m(``,!0),i.value.output.value&&!i.value.output.displayOnly?(C(),A(`div`,{key:3,class:t(n.$style.response)},[r[0]||=d(` User selected: `,-1),o(`strong`,null,k(i.value.output.value),1)],2)):m(``,!0)],2))}}),[[`__cssModules`,{$style:{card:`_card_ld1nm_1`,title:`_title_ld1nm_6`,message:`_message_ld1nm_11`,section:`_section_ld1nm_16`,divider:`_divider_ld1nm_20`,button:`_button_ld1nm_26`,buttonPill:`_buttonPill_ld1nm_32`,buttonSelected:`_buttonSelected_ld1nm_41`,selectGroup:`_selectGroup_ld1nm_47`,selectLabel:`_selectLabel_ld1nm_51`,selectOption:`_selectOption_ld1nm_56`,optionDot:`_optionDot_ld1nm_63`,optionSelected:`_optionSelected_ld1nm_71`,optionDesc:`_optionDesc_ld1nm_76`,fieldsGroup:`_fieldsGroup_ld1nm_81`,fieldRow:`_fieldRow_ld1nm_85`,fieldLabel:`_fieldLabel_ld1nm_91`,image:`_image_ld1nm_96`,response:`_response_ld1nm_102`}}]]),Pn=Symbol(`StandaloneRunDataHost`),Fn=c({__name:`StandaloneRunData`,props:{workflowObject:{},workflowExecution:{default:void 0},runIndex:{},paneType:{},node:{default:null},overrideOutputs:{default:void 0}},setup(e){if(!r(Pn,!1))throw new he(`StandaloneRunData must be rendered inside StandaloneRunDataHost`);return(t,n)=>(C(),a(ne,{node:e.node,"run-index":e.runIndex,"override-outputs":e.overrideOutputs,"workflow-object":e.workflowObject,"workflow-execution":e.workflowExecution,"pane-type":e.paneType,"display-mode":`schema`,"disable-display-mode-selection":!0,"disable-run-index-selection":!0,compact:!0,"show-actions-on-hover":!0,"disable-pin":!0,"disable-edit":!0,"disable-hover-highlight":!0,"disable-settings-hint":!0,"collapsing-table-column-name":null,"table-header-bg-color":`light`,"executing-message":``,"no-data-in-branch-message":``},null,8,[`node`,`run-index`,`override-outputs`,`workflow-object`,`workflow-execution`,`pane-type`]))}}),In=Y(c({__name:`StandaloneRunDataHost`,props:{execution:{}},emits:[`setupError`],setup(e,{emit:n}){let r=e,i=n,a=ke(),{normalizeWorkflowData:o}=Oe(),c=encodeURIComponent(w()),l=s(null),d=s(null),f=s(),p=y(()=>l.value!==null&&d.value!==null);_(se,y(()=>l.value?.workflowId??r.execution?.workflowData.id??``)),_(re,l),_(Pe,null),_(Pn,!0);let h=null,g=0,v=0,b=!1;function T(){h&&(R(h.ndvStore),V(h.executionStateStore),ze(h.executionDataStore),ae(h.documentStore),h=null,l.value=null,d.value=null,f.value=void 0)}function E(e){let t=`standalone-run-data/${c}/${++g}`,n=X(e.workflowData.id,t),r=je(n),i=de(n),a=B(ye(`${n}/execution`));h={documentStore:r,executionStateStore:i,executionDataStore:a,ndvStore:Ae(n)};let{nodes:s,connections:u}=o(e.workflowData);r.hydrate({...e.workflowData,nodes:s,connections:u,versionId:t});let p=xe(e);a.setExecution(p),i.setDisplayedExecutionId(a.executionId),l.value=r,d.value=r.getWorkflowObjectAccessorSnapshot(),f.value=p.data}async function O(e){let t=++v;if(l.value=null,d.value=null,f.value=void 0,await x(),T(),!(!e||b||t!==v))try{if(await a.loadNodeTypesIfNotLoaded(),b||t!==v)return;E(e)}catch(e){if(b||t!==v)return;T(),i(`setupError`,e)}}return F(()=>r.execution,e=>O(e),{immediate:!0}),u(()=>{b=!0,v+=1,l.value=null,d.value=null,f.value=void 0}),S(()=>{T()}),(e,n)=>p.value&&d.value?(C(),A(`div`,{key:0,class:t(e.$style.root)},[D(e.$slots,`default`,{workflowObject:d.value,workflowExecution:f.value})],2)):m(``,!0)}}),[[`__cssModules`,{$style:{root:`_root_1dd6a_2`}}]]),Ln=`__tool_io__`,Rn=`__tool_io_input__`,zn=Y(c({__name:`ToolIoView`,props:{name:{},input:{},output:{},nodeParameters:{},success:{type:Boolean,default:!0}},setup(e){let n=e,r=z();function i(e){return e==null?[{json:{}}]:Array.isArray(e)?e.map(e=>typeof e==`object`&&e?{json:e}:{json:{value:e}}):typeof e==`object`?[{json:e}]:[{json:{value:e}}]}let s=y(()=>{let e=i(n.nodeParameters&&Object.keys(n.nodeParameters).length>0?n.nodeParameters:n.input),t=i(n.output),r={id:Ln,name:Ln,active:!1,isArchived:!1,nodes:[{id:Rn,name:Rn,type:`n8n-nodes-base.set`,typeVersion:1,position:[0,0],parameters:{}},{id:n.name,name:n.name,type:`n8n-nodes-base.set`,typeVersion:1,position:[220,0],parameters:n.nodeParameters??{}}],connections:{[Rn]:{main:[[{node:n.name,type:`main`,index:0}]]}},settings:{},pinData:{},versionId:``,usedCredentials:[],sharedWithProjects:[],homeProject:void 0,scopes:[],tags:[],createdAt:new Date().toISOString(),updatedAt:new Date().toISOString()},a={[Rn]:[{startTime:0,executionIndex:0,executionTime:0,executionStatus:`success`,source:[],data:{main:[e]}}],[n.name]:[{startTime:0,executionIndex:0,executionTime:0,executionStatus:n.success?`success`:`error`,source:[{previousNode:Rn,previousNodeOutput:0,previousNodeRun:0}],data:{main:[t]},inputOverride:{main:[e]}}]},o=new Date;return{id:Ln,finished:!0,mode:`manual`,status:`success`,startedAt:o,createdAt:o,stoppedAt:o,workflowId:Ln,workflowData:r,data:{startData:{},resultData:{runData:a},executionData:{contextData:{},nodeExecutionStack:[],metadata:{},waitingExecution:{},waitingExecutionSource:{}}}}}),c=y(()=>s.value.workflowData.nodes.find(e=>e.name===n.name)??null);return(n,i)=>(C(),a(In,{execution:s.value},{default:O(({workflowObject:i,workflowExecution:s})=>[o(`div`,{class:t(n.$style.root)},[o(`div`,{class:t(n.$style.pane),"data-test-id":`agent-session-run-data-input`},[o(`div`,{class:t(n.$style.paneTitle)},k(f(r).baseText(`agentSessions.timeline.input`)),3),(C(),a(Fn,{key:`tool-input-${e.name}`,node:c.value,"run-index":0,"workflow-object":i,"workflow-execution":s,"pane-type":`input`},null,8,[`node`,`workflow-object`,`workflow-execution`]))],2),o(`div`,{class:t(n.$style.pane),"data-test-id":`agent-session-run-data-output`},[o(`div`,{class:t(n.$style.paneTitle)},k(f(r).baseText(`agentSessions.timeline.output`)),3),(C(),a(Fn,{key:`tool-output-${e.name}`,node:c.value,"run-index":0,"workflow-object":i,"workflow-execution":s,"pane-type":`output`},null,8,[`node`,`workflow-object`,`workflow-execution`]))],2)],2)]),_:1},8,[`execution`]))}}),[[`__cssModules`,{$style:{root:`_root_12rsu_1`,pane:`_pane_12rsu_7`,paneTitle:`_paneTitle_12rsu_17`}}]]);function Bn(e){let t=Ee(),n=I(`none`),r=new Map,i=y(()=>e.value?.kind===`workflow`&&e.value.workflowId?e.value.workflowExecutionId:void 0);async function a(e){try{let n=await t.fetchExecution(e);if(!n?.data||n.dataTooLargeToDisplay)return`unavailable`;let i=n.data.redactionInfo?.isRedacted?`redacted`:`visible`;return r.set(e,i),i}catch{return`unavailable`}}return F(i,async e=>{if(!e){n.value=`none`;return}let t=r.get(e);if(t){n.value=t;return}n.value=`loading`;let o=await a(e);i.value===e&&(n.value=o)},{immediate:!0}),{access:n}}var Vn={key:2,"data-test-id":`hitl-request-details`},Hn={key:3,"data-test-id":`hitl-response-details`},Un=[`href`],Wn={key:0,"data-test-id":`workflow-input`},Gn={key:2,"data-test-id":`workflow-output`},Kn={key:3,"data-test-id":`workflow-input`},qn={key:0},Jn=Y(c({__name:`SessionDetailPanel`,props:{item:{},projectId:{},agentId:{}},emits:[`close`],setup(n,{emit:r}){let i=z(),s=j(),c=n,l=y(()=>c.item?.kind!==`user`||!c.item.attachments?[]:c.item.attachments.map(e=>({fileId:e.id,fileName:e.fileName,mimeType:e.mimeType,sizeBytes:e.sizeBytes}))),u=y(()=>c.item?.kind!==`workflow`||!c.item.workflowId||!c.item.workflowExecutionId?``:s.resolve({name:le.EXECUTION_PREVIEW,params:{workflowId:c.item.workflowId,executionId:c.item.workflowExecutionId}}).href);function g(){u.value&&window.open(u.value,`_blank`,`noopener`)}let _=r;function x(e){if(!e)return``;let{date:t,time:n}=pe(new Date(e).toISOString());return`${t} ${n}`}let S=y(()=>c.item?.kind===`tool`?We(w(c.item.toolInput))?.card:void 0);function w(e){if(typeof e==`string`)try{return JSON.parse(e)}catch{return e}return e}function T(e){let t=w(e);return typeof t==`string`?t:JSON.stringify(t,null,2)??String(t)}function E(e,t){let n=w(e);if(!Z(n))return``;let r=n[t];return typeof r==`string`?r:``}let D=y(()=>!c.item||c.item.kind!==`tool`&&c.item.kind!==`skill`&&c.item.kind!==`suspension`&&c.item.kind!==`hitl-response`?``:Ie(c.item.toolName,i,c.item.toolOutput)),M=y(()=>{let e=c.item;return e?Ct(e,i):``}),N=y(()=>{let e=c.item;if(!e||e.kind!==`suspension`)return;let t=w(e.hitlRequest);return e.hitlRequestType===`approval`&&typeof t==`object`&&t&&`args`in t?t.args:t}),P=y(()=>c.item?ut(c.item):!1),F=y(()=>{if(!P.value||!c.projectId||!c.agentId||!c.item)return``;let e=E(c.item.toolOutput,`threadId`),t=E(c.item.toolInput,`subAgentId`);return!e||!t?``:s.resolve({name:Fe,params:{projectId:c.projectId,agentId:t===`inline`?c.agentId:t,threadId:e}}).href}),I=y(()=>c.item?Tt(c.item):void 0),L=y(()=>{let e=c.item;if(!e||e.kind!==`agent`)return;let t=e.content?.trim();if(!(!t||!t.startsWith(`{`)&&!t.startsWith(`[`)))try{let e=JSON.parse(t);return typeof e==`object`&&e?e:void 0}catch{return}}),ee=y(()=>{let e=c.item;return e?P.value?Ze(i,e.subAgentName??``):e.kind===`background-task-signal`?i.baseText(`agents.chat.backgroundTasks.resultsReceived`):e.kind===`workflow`?e.workflowName??$(e.toolName):e.kind===`skill`?e.skillName??D.value:e.kind===`tool`?D.value:e.kind===`node`?e.nodeDisplayName??$(e.toolName):e.kind===`user`?e.authorName??i.baseText(`agentSessions.timeline.user`):e.kind===`agent`?i.baseText(`agentSessions.timeline.agent`):e.kind===`execution-error`?xt(e,i):e.kind===`suspension`?e.hitlRequestType===`approval`?wt(e,i):i.baseText(vt(e.hitlRequestType)):e.hitlRequestType===`approval`?wt(e,i):i.baseText(`agentSessions.timeline.hitlResponse`):``}),R=y(()=>{let e=c.item;return e?P.value?`bot`:e.kind===`background-task-signal`?`list-checks`:e.kind===`workflow`?`workflow`:e.kind===`skill`?`book-open`:e.kind===`tool`?`wrench`:e.kind===`node`?`box`:e.kind===`user`?`user`:e.kind===`agent`?`bot`:e.kind===`execution-error`?`circle-x`:e.kind===`hitl-response`?`message-square`:`clock`:`info`}),B=y(()=>c.item?pt(c.item):!1),V=y(()=>{let e=c.item;if(!e||!B.value)return``;let t=i.baseText(`agentSessions.timeline.toolError`),n=ht(e);return n?`${t}: ${n}`:t}),U=y(()=>{let e=c.item?.toolOutput;if(typeof e!=`object`||!e)return null;let t=e;return typeof t.formUrl==`string`?{formUrl:t.formUrl,message:typeof t.message==`string`?t.message:``}:null}),{access:W}=Bn(h(c,`item`)),K=y(()=>{let e=c.item?.toolOutput;if(W.value===`visible`||e===void 0)return e;let t=w(e);if(!Z(t))return;let{data:n,...r}=t;return r});return(r,s)=>(C(),A(`div`,{class:t(r.$style.panel)},[n.item?(C(),A(v,{key:0},[o(`div`,{class:t(r.$style.header)},[o(`div`,{class:t(r.$style.headerTitle)},[p(f(J),{icon:R.value,size:16},null,8,[`icon`]),p(f(Me),{bold:``,class:t(r.$style.headerTitleText)},{default:O(()=>[d(k(ee.value),1)]),_:1},8,[`class`]),F.value?(C(),a(f(Te),{key:0,content:f(i).baseText(`agentSessions.subAgent.openSession`),placement:`top`},{default:O(()=>[p(f(Q),{icon:`external-link`,variant:`ghost`,size:`small`,href:F.value,target:`_blank`,rel:`noopener noreferrer`,"aria-label":f(i).baseText(`agentSessions.subAgent.openSession`),"data-test-id":`open-sub-agent-session`},null,8,[`href`,`aria-label`])]),_:1},8,[`content`])):m(``,!0),I.value?(C(),a(f(be),{key:1,variant:I.value.theme,size:`xsmall`,"data-test-id":I.value.kind===`hitl-response`?`detail-hitl-response-badge`:n.item.kind===`execution-error`?`detail-execution-error-badge`:`detail-tool-error-badge`},{default:O(()=>[d(k(f(i).baseText(I.value.labelKey)),1)]),_:1},8,[`variant`,`data-test-id`])):m(``,!0)],2),p(f(Q),{icon:`x`,variant:`ghost`,"data-test-id":`detail-close`,onClick:s[0]||=e=>_(`close`)})],2),o(`div`,{class:t(r.$style.container)},[p(f(te),null,{default:O(()=>[n.item.timestamp?(C(),A(`dl`,{key:0,class:t(r.$style.infoRow)},[o(`dt`,{class:t(r.$style.label)},k(f(i).baseText(`agentSessions.timeline.created`)),3),o(`dd`,{class:t(r.$style.value)},k(x(n.item.timestamp)),3)],2)):m(``,!0),n.item.kind===`suspension`||n.item.kind===`hitl-response`?(C(),A(`dl`,{key:1,class:t(r.$style.infoRow)},[o(`dt`,{class:t(r.$style.label)},k(f(i).baseText(`agentSessions.timeline.tool`)),3),o(`dd`,{class:t(r.$style.value)},k(M.value),3)],2)):m(``,!0),u.value?(C(),A(`div`,{key:2,class:t(r.$style.executionButton)},[p(f(Re),{variant:`outline`,size:`small`,label:f(i).baseText(`agentSessions.workflowLog.openFull`),"data-test-id":`open-full-execution`,onClick:g},null,8,[`label`])],2)):m(``,!0)]),_:1}),o(`div`,{class:t(r.$style.output)},[n.item.kind===`background-task-signal`?(C(),A(`ul`,{key:0,class:t(r.$style.backgroundJobs),"data-test-id":`background-job-signal-details`},[(C(!0),A(v,null,e(n.item.backgroundJobSignal?.tasks,e=>(C(),A(`li`,{key:e.id},k(f(Ye)(e,f(i))),1))),128))],2)):n.item.kind===`execution-error`?(C(),a(f(G),{key:1,theme:`danger`,"data-test-id":`execution-error-callout`},{default:O(()=>[d(k(f(St)(n.item,f(i))),1)]),_:1})):n.item.kind===`suspension`?(C(),A(`div`,Vn,[o(`div`,{class:t(r.$style.label)},k(f(i).baseText(`agentSessions.timeline.requestDetails`)),3),p(f(H),{code:T(N.value),language:`json`},null,8,[`code`])])):n.item.kind===`hitl-response`?(C(),A(`div`,Hn,[o(`div`,{class:t(r.$style.label)},k(f(i).baseText(`agentSessions.timeline.response`)),3),p(f(H),{code:T(n.item.hitlResponse),language:`json`},null,8,[`code`])])):n.item.kind===`workflow`?(C(),A(v,{key:4},[B.value?(C(),a(f(G),{key:0,theme:`danger`,"data-test-id":`workflow-error-callout`,class:t(r.$style.errorCallout)},{default:O(()=>[d(k(V.value),1)]),_:1},8,[`class`])):m(``,!0),n.item.workflowTriggerType===`form`&&U.value?(C(),A(`div`,{key:1,"data-test-id":`wf-form-card`,class:t(r.$style.formCard)},[o(`p`,null,k(U.value.message),1),o(`a`,{href:U.value.formUrl,target:`_blank`,rel:`noopener`,class:t(r.$style.formLink)},k(f(i).baseText(`agentSessions.timeline.openForm`)),11,Un)],2)):n.item.workflowExecutionId&&n.item.workflowId?(C(),A(v,{key:2},[n.item.toolInput===void 0?m(``,!0):(C(),A(`div`,Wn,[o(`div`,{class:t(r.$style.label)},k(f(i).baseText(`agentSessions.timeline.input`)),3),p(f(H),{code:T(n.item.toolInput),language:`json`},null,8,[`code`])])),f(W)===`loading`?(C(),A(`div`,{key:1,"data-test-id":`workflow-output-loading`,class:t(r.$style.label)},k(f(i).baseText(`agentSessions.workflowLog.loading`)),3)):(C(),A(v,{key:2},[f(W)===`redacted`?(C(),a(f(G),{key:0,theme:`info`,"data-test-id":`workflow-output-redacted`},{default:O(()=>[d(k(f(i).baseText(`agentSessions.workflowLog.outputRedacted`)),1)]),_:1})):f(W)===`unavailable`?(C(),a(f(G),{key:1,theme:`warning`,"data-test-id":`workflow-output-unavailable`},{default:O(()=>[d(k(f(i).baseText(`agentSessions.workflowLog.outputUnavailable`)),1)]),_:1})):m(``,!0),K.value===void 0?m(``,!0):(C(),A(`div`,Gn,[o(`div`,{class:t(r.$style.label)},k(f(i).baseText(`agentSessions.timeline.output`)),3),p(f(H),{code:T(K.value),language:`json`},null,8,[`code`])]))],64))],64)):n.item.toolSuccess===void 0?(C(),A(`div`,Kn,[o(`div`,{class:t(r.$style.label)},k(f(i).baseText(`agentSessions.timeline.input`)),3),p(f(H),{code:T(n.item.toolInput),language:`json`,copyable:!1},null,8,[`code`])])):(C(),A(`div`,{key:4,"data-test-id":`wf-error-fallback`,class:t(r.$style.errorFallback)},[o(`div`,{class:t(r.$style.errorBanner)},k(f(i).baseText(`agentSessions.timeline.workflowError`)),3),p(f(H),{code:T(n.item.toolOutput),language:`json`},null,8,[`code`])],2))],64)):n.item.kind===`tool`||n.item.kind===`skill`?(C(),A(v,{key:5},[B.value?(C(),a(f(G),{key:0,theme:`danger`,"data-test-id":`tool-error-callout`,class:t(r.$style.errorCallout)},{default:O(()=>[d(k(V.value),1)]),_:1},8,[`class`])):m(``,!0),S.value?(C(),a(Nn,{key:1,input:S.value,output:w(n.item.toolOutput)},null,8,[`input`,`output`])):(C(),A(v,{key:2},[o(`div`,null,[o(`div`,{class:t(r.$style.label)},k(f(i).baseText(`agentSessions.timeline.input`)),3),p(f(H),{code:T(n.item.toolInput),language:`json`},null,8,[`code`])]),n.item.toolOutput===void 0?m(``,!0):(C(),A(`div`,qn,[o(`div`,{class:t(r.$style.label)},k(f(i).baseText(`agentSessions.timeline.output`)),3),p(f(H),{code:T(n.item.toolOutput),language:`json`},null,8,[`code`])]))],64))],64)):n.item.kind===`node`?(C(),A(v,{key:6},[V.value?(C(),a(f(G),{key:0,theme:`danger`,"data-test-id":`node-error-callout`},{default:O(()=>[d(k(V.value),1)]),_:1})):m(``,!0),p(zn,{name:(n.item.nodeDisplayName??f($)(n.item.toolName))||`node`,input:n.item.toolInput,output:n.item.toolOutput,"node-parameters":n.item.nodeParameters,success:n.item.toolOutcome?n.item.toolOutcome!==`error`:n.item.toolSuccess},null,8,[`name`,`input`,`output`,`node-parameters`,`success`])],64)):n.item.kind===`agent`&&L.value!==void 0?(C(),a(f(H),{key:7,code:T(L.value),language:`json`},null,8,[`code`])):n.item.kind===`user`||n.item.kind===`agent`?(C(),A(v,{key:8},[l.value.length>0&&n.projectId&&n.agentId?(C(),a(Qe,{key:0,attachments:l.value,"project-id":n.projectId,"agent-id":n.agentId},null,8,[`attachments`,`project-id`,`agent-id`])):m(``,!0),p(f(b),{source:n.item.content??``,class:t(r.$style.markdown)},null,8,[`source`,`class`])],64)):m(``,!0),n.item.kind===`agent`&&n.item.thinkingSegments?.length?(C(),a(Ke,{key:`${n.item.executionId}:${n.item.timestamp}`,segments:n.item.thinkingSegments,active:!1,"duration-sec":f(Ue)(n.item.thinkingSegments),"test-id":`session-agent-thinking`},{default:O(()=>[(C(!0),A(v,null,e(n.item.thinkingSegments,e=>(C(),a($e,{key:e.id,entry:e},null,8,[`entry`]))),128))]),_:1},8,[`segments`,`duration-sec`])):m(``,!0)],2)],2)],64)):(C(),A(`div`,{key:1,class:t(r.$style.empty)},k(f(i).baseText(`agentSessions.timeline.selectItem`)),3))],2))}}),[[`__cssModules`,{$style:{backgroundJobs:`_backgroundJobs_14ac9_1`,panel:`_panel_14ac9_6`,header:`_header_14ac9_13`,headerTitle:`_headerTitle_14ac9_25`,headerTitleText:`_headerTitleText_14ac9_33`,errorCallout:`_errorCallout_14ac9_40`,container:`_container_14ac9_44`,output:`_output_14ac9_56`,info:`_info_14ac9_62`,infoRow:`_infoRow_14ac9_70`,label:`_label_14ac9_77`,value:`_value_14ac9_82`,executionButton:`_executionButton_14ac9_88`,formCard:`_formCard_14ac9_94`,formLink:`_formLink_14ac9_100`,errorFallback:`_errorFallback_14ac9_105`,errorBanner:`_errorBanner_14ac9_111`,empty:`_empty_14ac9_119`,markdown:`_markdown_14ac9_125`}}]]),Yn=Y(c({__name:`AgentSessionTimelinePanel`,props:{projectId:{},agentId:{},threadId:{}},emits:[`loaded`],setup(e,{emit:n}){let r=e,s=n,c=z(),d=Be(),h=tt(),_=ie(),v=ee(),b=E(`panel`),x=i(),S=y(()=>r.projectId),w=I([]),T=I(!0),D=I(null),j=I(null),M=I(new Set),N=I(``),L=0,R=!1,B,te,V=y(()=>rn(w.value)),{subAgentNameById:H}=qe(S,()=>V.value.some(ut)),U=y(()=>V.value.map(e=>{if(!ut(e))return e;let t=Xe(e.toolInput,H.value);return t?{...e,subAgentName:t}:e})),W=y(()=>Et(U.value)),G=y(()=>Pt(U.value));function K(e){let t=Je(e);if(t)return c.baseText(t);switch(e){case`user`:return c.baseText(`agentSessions.timeline.user`);case`agent`:return c.baseText(`agentSessions.timeline.agent`);case`skill`:return c.baseText(`agentSessions.timeline.skill`);case`tool`:return c.baseText(`agentSessions.timeline.tool`);case`workflow`:return c.baseText(`agentSessions.timeline.workflow`);case`node`:return c.baseText(`agentSessions.timeline.node`);case`execution-error`:return c.baseText(`agentSessions.timeline.executionFailed`);case`execution-interrupted`:return c.baseText(`agentSessions.timeline.executionInterrupted`);case`suspension`:return c.baseText(`agentSessions.timeline.hitlRequest`);case`hitl-response`:return c.baseText(`agentSessions.timeline.hitlResponse`);case`approval-requested`:return c.baseText(`agentSessions.timeline.approvalRequested`);case`hitl-requested`:return c.baseText(`agentSessions.timeline.hitlRequested`);case`wait-requested`:return c.baseText(`agentSessions.timeline.waitRequested`);case`approved`:return c.baseText(`agentSessions.timeline.approved`);case`responded`:return c.baseText(`agentSessions.timeline.responseReceived`);case`declined`:return c.baseText(`agentSessions.timeline.declined`);case`error`:return c.baseText(`agentSessions.timeline.error`);default:return e}}let ne=[{key:`approved`,badgeTheme:`success`},{key:`declined`,badgeTheme:`outline`},{key:`error`,badgeTheme:`danger`}],re=y(()=>{let e=new Map,t=new Map;for(let n of U.value){n.kind!==`execution-error`&&e.set(n.kind,(e.get(n.kind)??0)+1);let r=Ot(n);r&&t.set(r,(t.get(r)??0)+1)}return[...Array.from(e.entries()).map(([e,t])=>({key:e,label:K(e),presentation:`swatch`,color:It(e),count:t})),...ne.flatMap(({key:e,badgeTheme:n})=>{let r=t.get(e);return r?[{key:e,label:K(e),presentation:`badge`,badgeTheme:n,count:r}]:[]})]}),q=y(()=>D.value===null?null:U.value[D.value]??null),ae=y(()=>Nt(U.value,M.value,N.value,K));function oe(e){let t=ae.value;if(t.length===0)return;if(j.value===null||!t.includes(j.value)){j.value=e===1?t[0]:t[t.length-1];return}let n=t.indexOf(j.value)+e;n<0||n>=t.length||(j.value=t[n])}function se(e){let t=ae.value;t.length!==0&&(j.value=e===1?t[t.length-1]:t[0])}function ce(e){D.value=e,j.value=e}function le(){let e=v.value;return e instanceof Element?b.value?.contains(e)===!0&&!Se(e):!1}function Y(e){return`${e.executionId}:${e.kind}:${e.toolCallId??e.timestamp}`}function ue(e){if(le()){if(e.key===`Escape`){(D.value!==null||j.value!==null)&&(e.preventDefault(),ce(null));return}e.key===`ArrowDown`?(e.preventDefault(),e.metaKey?se(1):oe(1)):e.key===`ArrowUp`&&(e.preventDefault(),e.metaKey?se(-1):oe(-1))}}g(document,`keydown`,ue);function de(e){le()&&(e.key!==`ArrowDown`&&e.key!==`ArrowUp`||j.value!==D.value&&(e.preventDefault(),ce(j.value)))}g(document,`keyup`,de);function fe(){w.value=[],M.value=new Set,N.value=``,ce(null),T.value=!0,s(`loaded`,null),R=!1,Z(!0)}function X(){return`${r.projectId}:${r.agentId}:${r.threadId}`}async function pe(e){let t=r.projectId,n=r.agentId,i=r.threadId,a=X(),o=++L;try{let r=await h.getThreadDetail(t,n,i);if(o!==L||a!==X())return;let c=!e&&q.value?Y(q.value):null;if(w.value=r.executions,c){let e=U.value.findIndex(e=>Y(e)===c);ce(e>=0?e:null)}s(`loaded`,r)}catch(t){if(o!==L)return;e&&d.showError(t,c.baseText(`agentSessions.showError.load`))}finally{e&&o===L&&(T.value=!1)}}function Z(e){let t=X(),n={identity:t,promise:pe(e)};te=n,n.promise.finally(()=>{te===n&&(te=void 0,R&&t===X()&&(R=!1,me()))})}function me(){if(te?.identity===X()){R=!0;return}Z(!1)}function he(e){e.type===`agentExecutionUpdated`&&e.data.projectId===r.projectId&&e.data.agentId===r.agentId&&e.data.threadId===r.threadId&&me()}return F(x,e=>{e===`visible`&&me()}),F(()=>_.isConnected,(e,t)=>{e&&!t&&me()}),l(()=>{_.pushConnect(),B=_.addEventListener(he)}),u(()=>{L++,R=!1,B?.(),_.pushDisconnect()}),F([()=>r.projectId,()=>r.agentId,()=>r.threadId],fe,{immediate:!0}),(e,n)=>(C(),A(`div`,{ref_key:`panel`,ref:b,class:t(e.$style.panel)},[T.value?m(``,!0):(C(),A(`div`,{key:0,class:t(e.$style.subHeader)},[o(`div`,{class:t(e.$style.search)},[p(f(Ve),{modelValue:N.value,"onUpdate:modelValue":n[0]||=e=>N.value=e,size:`medium`,placeholder:f(c).baseText(`agentSessions.timeline.searchPlaceholder`),clearable:``},{prefix:O(()=>[p(f(J),{icon:`search`,size:12})]),_:1},8,[`modelValue`,`placeholder`])],2),p(yn,{available:re.value,selected:M.value,onUpdate:n[1]||=e=>M.value=e},null,8,[`available`,`selected`])],2)),!T.value&&U.value.length>0?(C(),A(`div`,{key:1,class:t(e.$style.chartRow)},[p(hn,{items:U.value,"idle-ranges":W.value,"session-start":G.value.start,"session-end":G.value.end,"visible-kinds":M.value,"selected-index":j.value,onSelect:ce},null,8,[`items`,`idle-ranges`,`session-start`,`session-end`,`visible-kinds`,`selected-index`])],2)):m(``,!0),o(`div`,{class:t(e.$style.panels)},[o(`div`,{class:t(e.$style.tablePanel)},[T.value?(C(),A(`div`,{key:0,class:t(e.$style.loading)},k(f(c).baseText(`generic.loadingEllipsis`)),3)):(C(),a(jn,{key:1,items:U.value,"idle-ranges":W.value,"selected-index":j.value,"visible-kinds":M.value,"search-query":N.value,onSelect:ce},null,8,[`items`,`idle-ranges`,`selected-index`,`visible-kinds`,`search-query`]))],2),p(P,{name:`session-detail-panel`},{default:O(()=>[q.value?(C(),A(`div`,{key:0,class:t(e.$style.detailPanel)},[p(Jn,{item:q.value,"project-id":r.projectId,"agent-id":r.agentId,onClose:n[2]||=e=>ce(null)},null,8,[`item`,`project-id`,`agent-id`])],2)):m(``,!0)]),_:1})],2)],2))}}),[[`__cssModules`,{$style:{panel:`_panel_xybfu_14`,subHeader:`_subHeader_xybfu_27`,search:`_search_xybfu_37`,chartRow:`_chartRow_xybfu_42`,panels:`_panels_xybfu_49`,tablePanel:`_tablePanel_xybfu_55`,detailPanel:`_detailPanel_xybfu_63`,loading:`_loading_xybfu_100`}}]]);function Xn(e){let t=j();return function(){let r=t.options.history.state.back;if((typeof r==`string`?t.resolve(r):null)?.matched.length){t.back();return}t.push(n(e))}}var Zn=Y(c({__name:`AgentSessionTimelineView`,setup(e){let n=z(),r=rt(),i=N(),s=j(),c=tt(),{isEnabled:l,isExporting:u,sendSession:d}=at(),h=De(),{config:g,fetchConfig:_}=oe(),v=y(()=>i.params.projectId),b=y(()=>i.params.agentId),x=y(()=>i.params.threadId),S=I(null),w=I([]),T=I(null),E=I(!1),D=I(!1),{canUpdate:O}=ce(v),k=y(()=>O.value),{activeChatSessionId:M,effectiveSessionId:P,currentSessionHasMessages:L,currentSessionIsEphemeral:ee,currentSessionIsLocallyMinted:R,currentSessionTitle:B,sessionMenu:te,isDeletingSession:V,onSessionPick:H,onNewChat:G,markSessionCreated:K,deleteSession:ne}=it({routeBacked:y(()=>!1),projectId:v,agentId:b}),re=y(()=>R.value&&P.value!==void 0&&P.value!==x.value),ie=y(()=>w.value.length===0?null:w.value[0].source??`chat`),ae=y(()=>{let e=ie.value;if(!e)return`bolt-filled`;switch(e){case`slack`:return`slack`;case`instance-ai`:return`sparkles`;case`n8n_chat_production`:return`message-square`;default:return`bolt-filled`}}),se=y(()=>{let e=ie.value;return e?e===`chat`||e===`n8n_chat`?n.baseText(`agentSessions.origin.preview`):e===`instance-ai`?n.baseText(`agentSessions.origin.instanceAi`):e===`n8n_chat_production`?n.baseText(`agentSessions.origin.n8nChat`):e.charAt(0).toUpperCase()+e.slice(1):``}),J=y(()=>S.value?Ce(r(S.value),64):``),{projectName:Y,projectIcon:de}=W(v),fe=y(()=>({name:le.PROJECTS_WORKFLOWS,params:{projectId:v.value}})),X=y(()=>({name:_e,params:{projectId:v.value,agentId:b.value}})),Z=y(()=>({...typeof X.value==`object`?X.value:{},query:{section:U}})),me=y(()=>[{id:v.value,label:Y.value??n.baseText(`agents.builder.header.projectFallback`),href:s.resolve(fe.value).href},{id:b.value,label:S.value?.agentName??`…`,href:s.resolve(X.value).href}]),he=y(()=>{let e=c.threads;return e.length===0?[{id:`__empty__`,label:n.baseText(`agentSessions.empty`),disabled:!0}]:e.map(e=>({id:e.id,label:Ce(r(e),64),class:e.id===x.value?`session-dropdown-item-active`:void 0,data:{date:Ae(e.updatedAt),active:e.id===x.value}}))}),ge=y(()=>S.value?S.value.totalPromptTokens+S.value.totalCompletionTokens:0),ve=y(()=>S.value?.id===x.value),Q=y(()=>R.value||ve.value&&S.value?.canContinueInPreview===!0),ye=y(()=>Q.value&&E.value),be=y(()=>S.value?.totalCost??0),xe=y(()=>ke(S.value?.totalDuration??0)),Se=y(()=>S.value!==null&&S.value.id===P.value),we=y(()=>Se.value?J.value:B.value),Te=y(()=>Se.value||L.value);function $(e){S.value=e?.thread??null,w.value=e?.executions??[],Ee(v.value,b.value)}function Ee(e,t){let n=S.value;n?.canContinueInPreview&&n.projectId===e&&n.agentId===t&&c.upsertThread(n)}let Oe=0;F([v,b],async([e,t])=>{let n=++Oe;D.value=!1,T.value=null;try{let[r]=await Promise.all([ue(h.restApiContext,e,t),_(e,t),c.fetchThreads(e,t,{filters:nt()})]);n===Oe&&(T.value=r,Ee(e,t))}finally{n===Oe&&(D.value=!0)}},{immediate:!0}),F(x,e=>{M.value=e},{immediate:!0}),F(re,e=>{e&&(S.value=null,w.value=[])}),et({projectId:v,agentId:b,threadId:P},()=>{!re.value||!P.value||s.replace({name:Fe,params:{projectId:v.value,agentId:b.value,threadId:P.value}})});function ke(e){return!e||e<=0?`0ms`:e<1e3?`${e}ms`:`${(e/1e3).toFixed(1)}s`}function Ae(e){if(!e)return``;let{date:t,time:n}=pe(e);return`${t} ${n}`}let je=Xn(Z);function Me(e){e.id===v.value?s.push(fe.value):e.id===b.value&&s.push(X.value)}function Ne(e){e===`__empty__`||e===x.value||s.push({name:Fe,params:{projectId:v.value,agentId:b.value,threadId:e}})}async function Pe(e){k.value&&(!await ne(e)||e!==x.value||s.replace(Z.value))}function Ie(){Q.value&&(E.value=!E.value)}function Le(){P.value&&Ne(P.value)}return(e,r)=>(C(),A(`div`,{class:t(e.$style.view)},[p(st,{"breadcrumb-items":me.value,"project-icon":f(de),"session-title":J.value,"session-options":he.value,"show-metrics":!!S.value,"trigger-source":ie.value,"trigger-icon":ae.value,"trigger-label":se.value,"total-tokens":ge.value,"total-cost":be.value,"duration-label":xe.value,"show-langsmith-export":f(l)&&ve.value,"langsmith-export-loading":f(u),"show-preview":Q.value,"is-preview-open":ye.value,onBreadcrumbSelect:Me,onSessionSelect:Ne,onLangsmithExport:r[0]||=e=>f(d)({projectId:v.value,agentId:b.value,threadId:x.value}),onTogglePreview:Ie,onClose:f(je)},null,8,[`breadcrumb-items`,`project-icon`,`session-title`,`session-options`,`show-metrics`,`trigger-source`,`trigger-icon`,`trigger-label`,`total-tokens`,`total-cost`,`duration-label`,`show-langsmith-export`,`langsmith-export-loading`,`show-preview`,`is-preview-open`,`onClose`]),o(`div`,{class:t([e.$style.content,{[e.$style.previewOpen]:ye.value}])},[re.value?(C(),A(`div`,{key:1,class:t(e.$style.newSessionEmpty)},[p(f(q),{icon:{type:`icon`,value:`message-square`},heading:f(n).baseText(`agentSessions.timeline.emptyState.heading`),description:f(n).baseText(`agentSessions.timeline.emptyState.description`)},null,8,[`heading`,`description`])],2)):(C(),a(Yn,{key:0,"project-id":v.value,"agent-id":b.value,"thread-id":x.value,onLoaded:$},null,8,[`project-id`,`agent-id`,`thread-id`])),Q.value?(C(),a(ot,{key:2,"is-open":ye.value,"session-title":we.value,"session-options":f(te),"has-session":Te.value,initialized:D.value,"project-id":v.value,"agent-id":b.value,agent:T.value,"local-config":f(g),"connected-triggers":[],"effective-session-id":f(P),"new-session":f(ee),"can-delete-session":k.value,"is-deleting-session":f(V),onViewTrace:Le,onNewSession:f(G),onDeleteSession:Pe,onSessionSelect:f(H),onSessionCreated:f(K),onClose:Ie},null,8,[`is-open`,`session-title`,`session-options`,`has-session`,`initialized`,`project-id`,`agent-id`,`agent`,`local-config`,`effective-session-id`,`new-session`,`can-delete-session`,`is-deleting-session`,`onNewSession`,`onSessionSelect`,`onSessionCreated`])):m(``,!0)],2)],2))}}),[[`__cssModules`,{$style:{view:`_view_1lkg6_1`,content:`_content_1lkg6_8`,previewOpen:`_previewOpen_1lkg6_17`,newSessionEmpty:`_newSessionEmpty_1lkg6_26`}}]]);export{Zn as default};
@@ -1 +0,0 @@
1
- try{(function(){var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`2a4237d6-6a60-4f4e-a019-355110da3247`,e._sentryDebugIdIdentifier=`sentry-dbid-2a4237d6-6a60-4f4e-a019-355110da3247`)})()}catch{}import"./rolldown-runtime-BobR2NKB.js";import{$d as e,$f as t,Ad as n,Dd as r,Ed as i,Es as a,Fd as o,Jd as s,Kd as c,Md as l,Mf as u,Nd as d,Od as f,Sd as p,Td as m,Zd as h,ff as g,ip as _,kd as v,ms as y,ns as b,ts as x,xd as S}from"./vendor-BhCrJHkF.js";import{$C as C,AE as w,FT as T,Jw as E,MT as D,TE as O,Xs as k,cE as A,jT as j,nE as M,pE as N,sh as P,wT as F,xE as I,xy as L}from"./app-Dk2ZaS_x.js";import{n as R,r as z,t as B}from"./thread-title-CAq3yr76.js";var V={"data-test-id":`agent-sessions-filter-form`},H={for:`agent-sessions-filter-status`},U={for:`agent-sessions-filter-origin`},W={for:`agent-sessions-filter-start-date`},G=`YYYY-MM-DD HH:mm`,K=O(o({__name:`AgentSessionsFilter`,props:{modelValue:{}},emits:[`filterChanged`],setup(o,{emit:s}){let c=o,y=s,b=w(),x=[{id:`all`,name:b.baseText(`agentSessions.filters.anyStatus`)},{id:`running`,name:b.baseText(`agentSessions.status.running`)},{id:`succeeded`,name:b.baseText(`agentSessions.status.succeeded`)},{id:`error`,name:b.baseText(`agentSessions.status.error`)},{id:`cancelled`,name:b.baseText(`agentSessions.status.cancelled`)},{id:`interrupted`,name:b.baseText(`agentSessions.status.interrupted`)}],S=[{id:`all`,name:b.baseText(`agentSessions.filters.anyOrigin`)},{id:`preview`,name:b.baseText(`agentSessions.origin.preview`)},{id:`instance-ai`,name:b.baseText(`agentSessions.origin.instanceAi`)},{id:`mcp`,name:b.baseText(`agentSessions.origin.mcp`)},{id:`sub-agent`,name:b.baseText(`agentSessions.origin.subAgent`)},{id:`schedule`,name:b.baseText(`agentSessions.origin.schedule`)},{id:`workflow`,name:b.baseText(`agentSessions.origin.workflow`)},{id:`n8n_chat_production`,name:b.baseText(`agentSessions.origin.n8nChat`)},{id:`slack`,name:b.baseText(`agentSessions.origin.slack`)},{id:`telegram`,name:b.baseText(`agentSessions.origin.telegram`)},{id:`linear`,name:b.baseText(`agentSessions.origin.linear`)},{id:`discord`,name:b.baseText(`agentSessions.origin.discord`)},{id:`whatsapp`,name:b.baseText(`agentSessions.origin.whatsapp`)}],C=m(()=>[c.modelValue.status!==`all`,c.modelValue.origin!==`all`,!!c.modelValue.startDate,!!c.modelValue.endDate].filter(Boolean).length);function O(e){y(`filterChanged`,{...c.modelValue,...e})}function k(){y(`filterChanged`,z())}return(o,s)=>(h(),r(u(E),{side:`bottom`,align:`end`,"position-strategy":`absolute`,width:`calc(var(--spacing--5xl) + var(--spacing--4xl))`,"content-class":o.$style.popoverContent,"show-arrow":``},{trigger:g(()=>[d(u(I),{variant:`outline`,"icon-only":``,icon:`funnel`,size:`medium`,"aria-label":u(b).baseText(`forms.resourceFiltersDropdown.filters`),active:C.value>0,"data-test-id":`agent-sessions-filter-button`,class:t(o.$style.filterButton)},n({_:2},[C.value>0?{name:`default`,fn:g(()=>[d(u(A),{variant:`primary`,class:t(o.$style.filterBadge),"data-test-id":`agent-sessions-filter-badge`},{default:g(()=>[l(_(C.value),1)]),_:1},8,[`class`])]),key:`0`}:void 0]),1032,[`aria-label`,`active`,`class`])]),content:g(()=>[i(`div`,V,[i(`div`,{class:t(o.$style.group)},[i(`label`,H,_(u(b).baseText(`agentSessions.filters.status`)),1),d(u(D),{id:`agent-sessions-filter-status`,"model-value":c.modelValue.status,"data-test-id":`agent-sessions-filter-status`,"onUpdate:modelValue":s[0]||=e=>O({status:e})},{default:g(()=>[(h(),v(p,null,e(x,e=>d(u(T),{key:e.id,label:e.name,value:e.id},null,8,[`label`,`value`])),64))]),_:1},8,[`model-value`])],2),i(`div`,{class:t(o.$style.group)},[i(`label`,U,_(u(b).baseText(`agentSessions.filters.origin`)),1),d(u(D),{id:`agent-sessions-filter-origin`,"model-value":c.modelValue.origin,"data-test-id":`agent-sessions-filter-origin`,"onUpdate:modelValue":s[1]||=e=>O({origin:e})},{default:g(()=>[(h(),v(p,null,e(S,e=>d(u(T),{key:e.id,label:e.name,value:e.id},null,8,[`label`,`value`])),64))]),_:1},8,[`model-value`])],2),i(`div`,{class:t(o.$style.group)},[i(`label`,W,_(u(b).baseText(`agentSessions.filters.lastActivity`)),1),i(`div`,{class:t(o.$style.dates)},[d(u(a),{id:`agent-sessions-filter-start-date`,"model-value":c.modelValue.startDate,type:`datetime`,format:G,placeholder:u(b).baseText(`agentSessions.filters.earliest`),"data-test-id":`agent-sessions-filter-start-date`,onChange:s[2]||=e=>O({startDate:e??``})},null,8,[`model-value`,`placeholder`]),i(`span`,{class:t(o.$style.divider)},_(u(b).baseText(`agentSessions.filters.to`)),3),d(u(a),{id:`agent-sessions-filter-end-date`,"model-value":c.modelValue.endDate,type:`datetime`,format:G,placeholder:u(b).baseText(`agentSessions.filters.latest`),"data-test-id":`agent-sessions-filter-end-date`,onChange:s[3]||=e=>O({endDate:e??``})},null,8,[`model-value`,`placeholder`])],2)],2),C.value>0?(h(),r(u(I),{key:0,variant:`ghost`,size:`large`,class:t(o.$style.resetButton),"data-test-id":`agent-sessions-filter-reset`,onClick:k},{default:g(()=>[l(_(u(b).baseText(`agentSessions.filters.reset`)),1)]),_:1},8,[`class`])):f(``,!0)])]),_:1},8,[`content-class`]))}}),[[`__cssModules`,{$style:{group:`_group_1a7ln_1`,dates:`_dates_1a7ln_8`,divider:`_divider_1a7ln_16`,resetButton:`_resetButton_1a7ln_21`,filterButton:`_filterButton_1a7ln_26`,filterBadge:`_filterBadge_1a7ln_30`,popoverContent:`_popoverContent_1a7ln_37`}}],[`__scopeId`,`data-v-3c63040a`]]),q=[`data-status`,`onClick`],J={colspan:5,style:{"text-align":`center`,padding:`var(--spacing--lg)`}},Y={"data-test-id":`agent-sessions-empty`},ee={colspan:5},X=O(o({__name:`AgentSessionsListView`,props:{embedded:{type:Boolean,default:!1},projectId:{default:void 0},agentId:{default:void 0},manageStoreLifecycle:{type:Boolean,default:!0}},setup(n){let a=n,o=w(),T=B(),E=x(),D=b(),O=L(),z=C(),V=R(),H=!1,U=!1,W=m(()=>a.projectId??E.params.projectId),G=m(()=>a.agentId??E.params.agentId),X=m(()=>{let{status:e,origin:t,startDate:n,endDate:r}=V.filters;return e!==`all`||t!==`all`||!!n||!!r});function Z(){document.visibilityState!==`visible`||!V.autoRefresh||!W.value||!G.value||V.refreshThreads(W.value,G.value)}s(async()=>{if(a.manageStoreLifecycle&&(U=!0,document.addEventListener(`visibilitychange`,Z),W.value&&G.value))try{if(await V.fetchThreads(W.value,G.value),H)return;V.startAutoRefresh()}catch(e){if(H)return;O.showError(e,o.baseText(`agentSessions.showError.load`))}}),c(()=>{H=!0,U&&(document.removeEventListener(`visibilitychange`,Z),V.stopAutoRefresh())});function te(e){let{date:t,time:n}=k(e);return`${t} ${n}`}function ne(e){if(e<1e3)return`${e}ms`;let t=e/1e3;return Number.isInteger(t)?`${t}s`:`${t.toFixed(1)}s`}function re(e){return e===`succeeded`?`success`:e===`error`?`danger`:e===`running`?`text-base`:`warning`}function ie(e){switch(e){case`running`:return o.baseText(`agentSessions.status.running`);case`succeeded`:return o.baseText(`agentSessions.status.succeeded`);case`error`:return o.baseText(`agentSessions.status.error`);case`cancelled`:return o.baseText(`agentSessions.status.cancelled`);case`interrupted`:return o.baseText(`agentSessions.status.interrupted`)}}function Q(e){let t=e.source?.trim(),n=t?t.toLowerCase():void 0;if(e.parentThreadId||n===`subagent`||n===`sub-agent`)return{icon:`bot`,label:o.baseText(`agentSessions.origin.subAgent`)};if(e.taskId||n===`task`)return{icon:`clock`,label:o.baseText(`agentSessions.origin.schedule`)};switch(n){case`instance-ai`:return{icon:`flask-conical`,label:o.baseText(`agentSessions.origin.instanceAi`)};case`mcp`:return{icon:`flask-conical`,label:o.baseText(`agentSessions.origin.mcp`)};case`workflow`:return{icon:`workflow`,label:o.baseText(`agentSessions.origin.workflow`)};case`n8n_chat_production`:return{icon:`message-square`,label:o.baseText(`agentSessions.origin.n8nChat`)};case`slack`:case`telegram`:case`linear`:case`discord`:case`teams`:return{icon:n,label:n.charAt(0).toUpperCase()+n.slice(1)};case`whatsapp`:return{icon:n,label:`WhatsApp`};case`chat`:case`n8n_chat`:case void 0:return{icon:`flask-conical`,label:o.baseText(`agentSessions.origin.preview`)};default:return{icon:`plug`,label:t?t.charAt(0).toUpperCase()+t.slice(1):``}}}function ae(e){let t=[];return e.parentThreadId&&e.parentAgentId&&t.push({id:`goToParentRun`,label:o.baseText(`agentSessions.goToParentRun`),icon:`arrow-up-right`}),t.push({id:`delete`,label:o.baseText(`generic.delete`),icon:`trash-2`,divided:t.length>0}),t}function $(e){let t={name:P,params:{projectId:W.value,agentId:e.agentId,threadId:e.threadId}};D.push(t)}async function oe(e,t){if(e===`goToParentRun`){if(!t.parentAgentId||!t.parentThreadId)return;$({agentId:t.parentAgentId,threadId:t.parentThreadId});return}if(e===`delete`&&await z.confirm(o.baseText(`agentSessions.deleteConfirm.message`),o.baseText(`agentSessions.deleteConfirm.headline`),{type:`warning`,confirmButtonText:o.baseText(`agentSessions.deleteConfirm.confirmButtonText`),cancelButtonText:``})===`confirm`)try{await V.deleteThread(W.value,G.value,t.id),O.showMessage({title:o.baseText(`agentSessions.showMessage.deleted`),type:`success`})}catch(e){O.showError(e,o.baseText(`agentSessions.showError.delete`))}}async function se(){try{await V.loadMore(W.value,G.value)}catch(e){O.showError(e,o.baseText(`agentSessions.showError.load`))}}function ce(e){e?V.startAutoRefresh():V.stopAutoRefresh()}async function le(e){try{await V.setFilters(W.value,G.value,e)}catch(e){O.showError(e,o.baseText(`agentSessions.showError.load`))}}return(n,s)=>(h(),v(`div`,{class:t([n.$style.wrapper,{[n.$style.embedded]:a.embedded}])},[i(`div`,{class:t(n.$style.filters)},[d(u(F),{modelValue:u(V).autoRefresh,"onUpdate:modelValue":[s[0]||=e=>u(V).autoRefresh=e,ce],"data-test-id":`agent-sessions-auto-refresh-checkbox`,label:u(o).baseText(`executionsList.autoRefresh`)},null,8,[`modelValue`,`label`]),d(K,{"model-value":u(V).filters,onFilterChanged:le},null,8,[`model-value`])],2),i(`div`,{class:t(n.$style.tableContainer)},[d(u(j),{class:t(n.$style.sessionsTable)},{default:g(()=>[i(`tbody`,null,[(h(!0),v(p,null,e(u(V).threads,e=>(h(),v(`tr`,{key:e.id,class:t(n.$style.clickableRow),"data-status":e.status,"data-test-id":`agent-session-list-item`,onClick:t=>$({agentId:G.value,threadId:e.id})},[i(`td`,{class:t(n.$style.titleCell)},[i(`button`,{type:`button`,class:t(n.$style.sessionOpen),"data-test-id":`agent-session-open`},[i(`span`,{class:t(n.$style.sessionTitleRow)},[i(`span`,{class:t(n.$style.sessionTitle),"data-test-id":`agent-session-title`},_(u(T)(e)),3),e.status?(h(),v(`span`,{key:0,class:t(n.$style.statusRow)},[d(u(N),{color:re(e.status),size:`small`,"data-testid":`agent-session-status-indicator`},{default:g(()=>[l(_(ie(e.status)),1)]),_:2},1032,[`color`]),e.status===`running`?f(``,!0):(h(),r(u(N),{key:0,color:`text-base`,size:`small`,"data-testid":`agent-session-status-duration`},{default:g(()=>[l(_(u(o).baseText(`executionDetails.runningTimeFinished`,{interpolate:{time:ne(e.totalDuration)}})),1)]),_:2},1024))],2)):f(``,!0)],2)],2)],2),i(`td`,{class:t(n.$style.originCell),"data-test-id":`agent-session-origin`},[d(u(A),{"leading-icon":Q(e).icon,"data-test-id":`agent-session-origin-pill`},{default:g(()=>[l(_(Q(e).label),1)]),_:2},1032,[`leading-icon`])],2),i(`td`,{class:t(n.$style.dateCell),"data-test-id":`agent-session-updated-at`},_(te(e.updatedAt)),3),i(`td`,{class:t(n.$style.tokenCell),"data-test-id":`agent-session-token-usage`},_((e.totalPromptTokens+e.totalCompletionTokens).toLocaleString())+`t `,3),i(`td`,{class:t(n.$style.actionCell),onClick:s[1]||=S(()=>{},[`stop`])},[i(`div`,{class:t(n.$style.actionGroup)},[d(u(M),{items:ae(e),"activator-icon":`ellipsis`,"data-test-id":`agent-session-actions`,onSelect:t=>oe(t,e)},null,8,[`items`,`onSelect`])],2)],2)],10,q))),128)),u(V).loading&&!u(V).threads.length?(h(),v(p,{key:0},e(5,r=>i(`tr`,{key:r,class:t(n.$style.skeletonRow)},[(h(),v(p,null,e(5,e=>i(`td`,{key:e},[d(u(y))])),64))],2)),64)):f(``,!0),!u(V).loading&&!u(V).threads.length?(h(),v(`tr`,{key:1,class:t(n.$style.lastRow)},[i(`td`,J,[!u(V).threads.length&&!u(V).loading?(h(),v(`div`,{key:0,class:t(n.$style.emptyState)},[i(`span`,Y,_(u(o).baseText(X.value?`agentSessions.emptyWithFilters`:`agentSessions.empty`)),1),X.value?f(``,!0):(h(),v(`span`,{key:0,class:t(n.$style.emptyStateDescription),"data-test-id":`agent-sessions-empty-description`},_(u(o).baseText(`agentSessions.emptyDescription`)),3))],2)):f(``,!0)])],2)):f(``,!0),u(V).nextCursor?(h(),v(`tr`,{key:2,class:t(n.$style.lastRow)},[i(`td`,ee,[d(u(I),{icon:`refresh-cw`,variant:`ghost`,title:u(o).baseText(`agentSessions.loadMore`),label:u(o).baseText(`agentSessions.loadMore`),loading:u(V).loading,"data-test-id":`agent-sessions-load-more`,onClick:s[2]||=e=>se()},null,8,[`title`,`label`,`loading`])])],2)):f(``,!0)])]),_:1},8,[`class`])],2)],2))}}),[[`__cssModules`,{$style:{wrapper:`_wrapper_1g07f_3`,embedded:`_embedded_1g07f_16`,tableContainer:`_tableContainer_1g07f_22`,sessionsTable:`_sessionsTable_1g07f_31`,filters:`_filters_1g07f_52`,titleCell:`_titleCell_1g07f_58`,sessionTitle:`_sessionTitle_1g07f_64`,sessionTitleRow:`_sessionTitleRow_1g07f_75`,statusRow:`_statusRow_1g07f_83`,sessionOpen:`_sessionOpen_1g07f_90`,originCell:`_originCell_1g07f_107`,dateCell:`_dateCell_1g07f_108`,tokenCell:`_tokenCell_1g07f_109`,originPill:`_originPill_1g07f_114`,actionCell:`_actionCell_1g07f_135`,actionGroup:`_actionGroup_1g07f_142`,clickableRow:`_clickableRow_1g07f_149`,skeletonRow:`_skeletonRow_1g07f_175`,lastRow:`_lastRow_1g07f_179`,emptyState:`_emptyState_1g07f_193`,emptyStateDescription:`_emptyStateDescription_1g07f_201`}}]]);export{X as t};