@tickernelz/wardmote-ui 2026.1115.7 → 2026.1116.0
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.
- package/dist/assets/AccessSelectIdentity-DyKMTa-2.js +1 -0
- package/dist/assets/AdapterManager-CMoCUvWa.js +1 -0
- package/dist/assets/AdvancedToolsRoute-DUtRjHiH.js +39 -0
- package/dist/assets/AgentActionButtons-D5qWk16u.js +1 -0
- package/dist/assets/AgentAvatar-BQHqIQl0.js +1 -0
- package/dist/assets/AgentBubbleActionRow-B7jIOxFN.js +1 -0
- package/dist/assets/AgentCharacter-0yCF81HP.js +2 -0
- package/dist/assets/AgentChat-Dog712un.js +1 -0
- package/dist/assets/AgentChats-Ci_m7Lvn.js +1 -0
- package/dist/assets/AgentDefaults-BepKCQp7.js +1 -0
- package/dist/assets/AgentDetail-DjM1MmME.js +38 -0
- package/dist/assets/AgentIconPicker-Bod-c7zD.js +1 -0
- package/dist/assets/AgentIdentity-DdZnL0Oz.js +1 -0
- package/dist/assets/AgentMailCredentialField-DEV0ZBs4.js +1 -0
- package/dist/assets/AgentMultiSelect-CapmXQjU.js +1 -0
- package/dist/assets/AgentRoleEditor-BwW0xEas.js +1 -0
- package/dist/assets/AgentSetupPrompt-BhB09qgZ.js +30 -0
- package/dist/assets/AgentTodoCard-otXwzAZm.js +1 -0
- package/dist/assets/Agents-ahwRamsG.js +3 -0
- package/dist/assets/AppDetail-DC-yQNnQ.js +5 -0
- package/dist/assets/AppLogo-Dg8_Bsy8.js +1 -0
- package/dist/assets/AppNotConnected-DnBkiIUv.js +1 -0
- package/dist/assets/ApprovalCard-rDFx7-04.js +1 -0
- package/dist/assets/ApprovalDetail-KU0VdGyV.js +1 -0
- package/dist/assets/ApprovalPayload-CGyDmQAy.js +1 -0
- package/dist/assets/Approvals-DGXJFpmV.js +1 -0
- package/dist/assets/AppsConnect-DCb1SMxk.js +1 -0
- package/dist/assets/AppsReview-BwN1HjVy.js +1 -0
- package/dist/assets/ArtifactCard-B8eEuoFg.js +1 -0
- package/dist/assets/Artifacts-Cd3L51Fz.js +1 -0
- package/dist/assets/AssistantConnection-CKzIqH_f.js +1 -0
- package/dist/assets/AttentionInteractionResolver-Crx1nsyQ.js +1 -0
- package/dist/assets/AuditHub-TTHKR9Wo.js +1 -0
- package/dist/assets/Auth-C1qoB-xb.js +3 -0
- package/dist/assets/BoardChat-CHl-V2Ea.js +18 -0
- package/dist/assets/BoardClaim-CDu9wUjA.js +1 -0
- package/dist/assets/BootstrapSetupUxLab-CJ2scW9B.js +1 -0
- package/dist/assets/BreadcrumbContext-BKuehLLK.js +1 -0
- package/dist/assets/Browse-qQ6lOzek.js +1 -0
- package/dist/assets/BudgetPolicyCard-B5MTxjn6.js +1 -0
- package/dist/assets/CaseDetail-B-4i9GsW.js +2 -0
- package/dist/assets/CaseIdentifierKey-BshJUBcE.js +1 -0
- package/dist/assets/Cases-CKWQj8sl.js +2 -0
- package/dist/assets/ChatEndpointDetail-CoBgiD0N.js +5 -0
- package/dist/assets/ChatEndpointSetup-pvuQG9m5.js +1 -0
- package/dist/assets/ChatIdentityConfirm-DqFgVtns.js +1 -0
- package/dist/assets/ChoiceControls-35SaDEMR.js +1 -0
- package/dist/assets/CliAuth-NQIlusSO.js +1 -0
- package/dist/assets/CommentAttributionChip-Ch5MmJ76.js +1 -0
- package/dist/assets/Companies-Dq42Cot7.js +1 -0
- package/dist/assets/CompanyAccess-DDtPfLaM.js +1 -0
- package/dist/assets/CompanyActivity-jxoPtk9B.js +1 -0
- package/dist/assets/CompanyConnections-B3HS2IgM.js +1 -0
- package/dist/assets/CompanyContext-DDkPwMd_.js +1 -0
- package/dist/assets/CompanyEnvironments-CDoEqMln.js +3 -0
- package/dist/assets/CompanyExport-sJA4LXSK.js +4 -0
- package/dist/assets/CompanyImport-CossIByo.js +1 -0
- package/dist/assets/CompanySettings-Bn8-8x6n.js +1 -0
- package/dist/assets/CompanySettingsPluginPage-CYHK2GxW.js +1 -0
- package/dist/assets/CompanySkills-IAjOu6eI.js +10 -0
- package/dist/assets/ComposerAddMenu-DTkE85MU.js +3 -0
- package/dist/assets/ConfigureBuiltInAgentModal-CJ3mIY9N.js +1 -0
- package/dist/assets/ConnectionSetupFlow-6_mx0dVN.js +40 -0
- package/dist/assets/CopyText-B2W23X06.js +1 -0
- package/dist/assets/CopyableGatewayUrl-BGsNay-Q.js +1 -0
- package/dist/assets/CrossIssueCollaborationUxLab-Zj7Ew5eV.js +1 -0
- package/dist/assets/Dashboard-BoHBqg25.js +2 -0
- package/dist/assets/DecisionDateChips-POQMQxue.js +1 -0
- package/dist/assets/DecisionModelSettings-DZEt9KXq.js +1 -0
- package/dist/assets/DecisionQueuePage-l_kQwi5N.js +1 -0
- package/dist/assets/DesignGuide-CVkAQL_7.js +23 -0
- package/dist/assets/DocumentFrameHeader-B0xxQeHn.js +1 -0
- package/dist/assets/EmailConnectionAccess-CWrCJniT.js +1 -0
- package/dist/assets/EmailEndpointSetup-BzsTSJkj.js +1 -0
- package/dist/assets/EnforcementBanner-D0M6dHLX.js +1 -0
- package/dist/assets/EntityRow-BPsJJ7O4.js +1 -0
- package/dist/assets/ExecutionWorkspaceDetail-C8RiXkJy.js +19 -0
- package/dist/assets/FilterBar-Cn70aHys.js +1 -0
- package/dist/assets/FoldCurtain-CDOvRW5T.js +1 -0
- package/dist/assets/FolderControls-D_0DB4bi.js +1 -0
- package/dist/assets/GatewayDetail-5q8ecMe4.js +2 -0
- package/dist/assets/GatewaysList-DtDJLXCq.js +1 -0
- package/dist/assets/GoalDetail-BPl68pxB.js +1 -0
- package/dist/assets/GoalTree-ZGpzA5kc.js +1 -0
- package/dist/assets/Goals-CKr1alQG.js +1 -0
- package/dist/assets/Identity-B9yWW8G4.js +1 -0
- package/dist/assets/ImageGalleryModal-BjoNZm0-.js +1 -0
- package/dist/assets/Inbox-6qMYXKgQ.js +2 -0
- package/dist/assets/InlineBanner-gEhmgZfQ.js +1 -0
- package/dist/assets/InlineEditor-DkPnzhrk.js +1 -0
- package/dist/assets/InlineEntitySelector-CgBxnBih.js +1 -0
- package/dist/assets/InstanceAccess-BNzGyv1i.js +1 -0
- package/dist/assets/InstanceAdvanced-C4umYmKC.js +1 -0
- package/dist/assets/InstanceFeatures-DrcJ0C51.js +1 -0
- package/dist/assets/InviteLanding-739Jvg0J.js +1 -0
- package/dist/assets/IssueChatLongThreadPerf-C7RMdabL.js +2 -0
- package/dist/assets/IssueChatThread-yjWRlqg1.js +40 -0
- package/dist/assets/IssueDetail-BCANztCI.js +9 -0
- package/dist/assets/IssueDocumentAnnotations-GNcAwhgf.js +2 -0
- package/dist/assets/IssueOutputSection-DulFQ10Z.js +1 -0
- package/dist/assets/IssueRecoveryActionCard-MHgiSoCG.js +1 -0
- package/dist/assets/IssueReferencePill-D85urmGG.js +1 -0
- package/dist/assets/IssueThreadInteractionCard-BmkhhPsQ.js +9 -0
- package/dist/assets/IssueWriteDenialNotice-QlLw6KkR.js +1 -0
- package/dist/assets/Issues-DUma6L4J.js +5 -0
- package/dist/assets/JoinRequestQueue-D1etSR6O.js +1 -0
- package/dist/assets/JsonSchemaForm-Ckz-iflW.js +1 -0
- package/dist/assets/LiveNowTodoLine-Cbj262N_.js +1 -0
- package/dist/assets/ManagedAiConnectionDetails-KyWZowOi.js +1 -0
- package/dist/assets/MarkdownBody-Bc72NMxx.js +16 -0
- package/dist/assets/MarkdownEditor-FHFp4TsL.js +85 -0
- package/dist/assets/McpConnect-DTGCIG5t.js +1 -0
- package/dist/assets/MembershipAction-CPzCJKLm.js +1 -0
- package/dist/assets/MetricCard-5yWDacJ8.js +1 -0
- package/dist/assets/MissingPluginTabPlaceholder-DbZFt2TI.js +1 -0
- package/dist/assets/ModelsAndProviders-BDMMkjsw.js +1 -0
- package/dist/assets/MootMark-CF-cz59Y.js +1 -0
- package/dist/assets/NewAgent-SJG4Ro1W.js +1 -0
- package/dist/assets/OmpAllSettings-l6cmjY2K.js +1 -0
- package/dist/assets/OpenwaGatewayManager-D8Ai0WfD.js +2 -0
- package/dist/assets/PathInstructionsModal-wfbc6zP6.js +1 -0
- package/dist/assets/PipelineSettings-_u7yOW1q.js +2 -0
- package/dist/assets/Pipelines-BtQwo80q.js +1 -0
- package/dist/assets/PixelsOffice-DmVd12ZU.js +2 -0
- package/dist/assets/PluginManager-DjS-pjuI.js +1 -0
- package/dist/assets/PluginPage-CwI3xUTn.js +1 -0
- package/dist/assets/PluginSettings-BofyZbwo.js +1 -0
- package/dist/assets/ProfileDetailRoute-DoQWkwQt.js +1 -0
- package/dist/assets/ProfileSettings-BoSC3vY_.js +1 -0
- package/dist/assets/ProfileWizardRoute-DC7qxRnC.js +1 -0
- package/dist/assets/ProjectDetail-BVe9yGM2.js +1 -0
- package/dist/assets/ProjectWorkspaceDetail-CoJF_5kY.js +29 -0
- package/dist/assets/ProjectWorkspacesContent-CrtFaaxU.js +1 -0
- package/dist/assets/Projects-CSFNxSQ6.js +1 -0
- package/dist/assets/PublicIssueSharePage-RGATVCkx.js +1 -0
- package/dist/assets/QuestionForm-EJC8n_Ut.js +7 -0
- package/dist/assets/QuotaBar-CBGDnCsb.js +1 -0
- package/dist/assets/RepositoryEditor-aBi-WQKj.js +1 -0
- package/dist/assets/ResponsibleUserDenialNotice-Onb_6smX.js +1 -0
- package/dist/assets/ResponsibleUserDenialUxLab-cHaFKB04.js +1 -0
- package/dist/assets/ReviewQueueCard-R6jgn1oN.js +1 -0
- package/dist/assets/RichWorkProductCard-GrFCj4we.js +1 -0
- package/dist/assets/RoutineActivityRow-BhoXSJkT.js +1 -0
- package/dist/assets/RoutineDetail-D_kIwzTA.js +2 -0
- package/dist/assets/RoutineRunVariablesDialog-C5UbGvI1.js +1 -0
- package/dist/assets/RoutineVariablesEditor-TKb61uqy.js +1 -0
- package/dist/assets/Routines-D43glZMQ.js +1 -0
- package/dist/assets/ScrollToBottom-BzK-eha2.js +1 -0
- package/dist/assets/Search-DYWckUqn.js +1 -0
- package/dist/assets/SearchableSelect-DH1RjUd3.js +1 -0
- package/dist/assets/Secrets-DuXsVlQo.js +4 -0
- package/dist/assets/SetupWizard-CuSs4W9S.js +1 -0
- package/dist/assets/SidebarContext-pPu6VL94.js +1 -0
- package/dist/assets/SidebarNavItem-BK4r176I.js +1 -0
- package/dist/assets/SkillBinaryFile-BnZXTnsI.js +1 -0
- package/dist/assets/SkillCardIcon-BM0xvmAK.js +2 -0
- package/dist/assets/SkillSourceTree-CKajDsAs.js +2 -0
- package/dist/assets/SkillSources-Czoqgse2.js +2 -0
- package/dist/assets/SkillStudio-Dsfx0nMF.js +9 -0
- package/dist/assets/SourceTrustBadge-C7MxSqrh.js +1 -0
- package/dist/assets/StatusCards-DfymJeQE.js +1 -0
- package/dist/assets/StatusIcon-DoFX9qUS.js +1 -0
- package/dist/assets/SummarySlotCard-Bs7e2XHx.js +1 -0
- package/dist/assets/TaskChatComposerTakeoverContext-DSUqlBfF.js +1 -0
- package/dist/assets/TaskChatLab-cfo1hASp.js +11 -0
- package/dist/assets/TaskChatMarker-DsFISUQx.js +2 -0
- package/dist/assets/TaskChatProtocolCard-BanF01su.js +1 -0
- package/dist/assets/TaskChatThreadView-CBSy_glS.js +4 -0
- package/dist/assets/TaskTreeControls-3vC26uev.js +3 -0
- package/dist/assets/Terminal-DozydWG5.js +1 -0
- package/dist/assets/TerminalView-DqyHNaSa.js +58 -0
- package/dist/assets/ThemeContext-OOiLggdu.js +1 -0
- package/dist/assets/ThemeToggle-DbyRlkaa.js +1 -0
- package/dist/assets/ToastContext-DsstYUZj.js +1 -0
- package/dist/assets/ToolsAdminGate-CyoSm7EA.js +1 -0
- package/dist/assets/TrustPresetSection-C4Su9uCx.js +1 -0
- package/dist/assets/UserProfile-Cd1BysvO.js +1 -0
- package/dist/assets/WebhookUrlWarning-23ohgApq.js +1 -0
- package/dist/assets/WhatNeedsMe-Dt8256mK.js +1 -0
- package/dist/assets/WorkspaceRuntimeControls-Dlnz13Nd.js +1 -0
- package/dist/assets/Workspaces-CqcDnnB8.js +1 -0
- package/dist/assets/access-BuiFGNIG.js +1 -0
- package/dist/assets/activity-BEvzWPLK.js +1 -0
- package/dist/assets/activity-CGB49ksO.js +1 -0
- package/dist/assets/activity-format-bwgO5KUk.js +1 -0
- package/dist/assets/adapter-display-registry-BfLt9lPH.js +1 -0
- package/dist/assets/adapters-p1IZrqiL.js +1 -0
- package/dist/assets/agent-avatar-url-BJEk1JEp.js +1 -0
- package/dist/assets/agent-config-primitives-DdnKZ4aB.js +1 -0
- package/dist/assets/agentChats-CDPoMLHD.js +1 -0
- package/dist/assets/agents-AFYrlmjq.js +1 -0
- package/dist/assets/alert-dialog-Cd543V4l.js +1 -0
- package/dist/assets/app-connect-policy-BbsfdyqP.js +1 -0
- package/dist/assets/archive-fR2exVA8.js +1 -0
- package/dist/assets/archive-restore-C5xp0W8D.js +1 -0
- package/dist/assets/arrow-down-CO6RX3Nq.js +1 -0
- package/dist/assets/arrow-down-left-C9_L-Ffl.js +1 -0
- package/dist/assets/arrow-left-CcP0N_7Q.js +1 -0
- package/dist/assets/arrow-right-BJ3ErK95.js +1 -0
- package/dist/assets/arrow-up-TcCAN85T.js +1 -0
- package/dist/assets/arrow-up-down-DCX6sEu4.js +1 -0
- package/dist/assets/arrow-up-right-B_8hMb8-.js +1 -0
- package/dist/assets/artifacts-CTGrz4ll.js +1 -0
- package/dist/assets/assets-DEAzRcmg.js +1 -0
- package/dist/assets/attachment-icon-ChF_9rtO.js +1 -0
- package/dist/assets/avatar-Bu987Nn-.js +1 -0
- package/dist/assets/badge-CRgLqhpT.js +1 -0
- package/dist/assets/badge-check-DdGg4tPX.js +1 -0
- package/dist/assets/book-open-D3mpf5jz.js +1 -0
- package/dist/assets/bot-BnK2FPxF.js +1 -0
- package/dist/assets/boxes-Dfzf23F-.js +1 -0
- package/dist/assets/braces-vrLET75n.js +1 -0
- package/dist/assets/browser-use-DRXWSJKL.js +1 -0
- package/dist/assets/budgets-DZtlP4r4.js +1 -0
- package/dist/assets/button-C2iRayxA.js +1 -0
- package/dist/assets/calendar-clock-DDnnGmn8.js +1 -0
- package/dist/assets/card-DVnze_wl.js +1 -0
- package/dist/assets/cases-KaIClPZL.js +1 -0
- package/dist/assets/chatEndpoints-CuXemlDg.js +1 -0
- package/dist/assets/check-BchzmnQ5.js +1 -0
- package/dist/assets/checkbox-Dd232ZeG.js +1 -0
- package/dist/assets/chevron-down-C3Yuvso6.js +1 -0
- package/dist/assets/chevron-left-DJLnouEL.js +1 -0
- package/dist/assets/chevron-right-D442agqP.js +1 -0
- package/dist/assets/chevron-up-C-nFZTte.js +1 -0
- package/dist/assets/chip-CvBrnuND.js +1 -0
- package/dist/assets/circle-Bx3SNOhv.js +1 -0
- package/dist/assets/circle-alert-DfYvvUdj.js +1 -0
- package/dist/assets/circle-dot-C-zYRRpn.js +1 -0
- package/dist/assets/circle-question-mark-BmY571Qg.js +1 -0
- package/dist/assets/circle-slash-DRtB1jXG.js +1 -0
- package/dist/assets/circle-x-CAOvRU-F.js +1 -0
- package/dist/assets/clipboard-paste-e_oGSvHZ.js +1 -0
- package/dist/assets/clock-C-kXpt-J.js +1 -0
- package/dist/assets/cloud-BWdmrAEc.js +1 -0
- package/dist/assets/code-xml-BECDmqKi.js +1 -0
- package/dist/assets/coins-BzaDUsI5.js +1 -0
- package/dist/assets/collapsible-KzJ7gDYp.js +1 -0
- package/dist/assets/columns-3-kB9FK0Ul.js +1 -0
- package/dist/assets/command-71syox3g.js +5 -0
- package/dist/assets/companies-query-DlGjFmhK.js +1 -0
- package/dist/assets/connection-identity-DriDMmsp.js +1 -0
- package/dist/assets/connection-owner-B6F942b3.js +1 -0
- package/dist/assets/copy-CHxVIokB.js +1 -0
- package/dist/assets/createLucideIcon-DbIugsLf.js +94 -0
- package/dist/assets/decision-models-B7U5qUYA.js +1 -0
- package/dist/assets/dialog-DZ07X8qs.js +1 -0
- package/dist/assets/dist-B0-TeWJE.js +1 -0
- package/dist/assets/dist-B8stqY8J.js +1 -0
- package/dist/assets/dist-ByLRvAZ8.js +1 -0
- package/dist/assets/dist-C0bQYWJ3.js +1 -0
- package/dist/assets/dist-C0gQ1mBE.js +1 -0
- package/dist/assets/dist-CRlb3mIS.js +1 -0
- package/dist/assets/dist-D9T_59xC.js +1 -0
- package/dist/assets/dist-DLmJ6wwS.js +1 -0
- package/dist/assets/dist-DOp9Y-jD.js +1 -0
- package/dist/assets/dist-DUaly-I6.js +1 -0
- package/dist/assets/dist-DujLPrRZ.js +1 -0
- package/dist/assets/dist-kLjJ9JvH.js +1 -0
- package/dist/assets/dist-rsArfgGb.js +1 -0
- package/dist/assets/dropdown-menu-CiwC77Q4.js +1 -0
- package/dist/assets/ellipsis-HXvpQERi.js +1 -0
- package/dist/assets/ellipsis-vertical-DPUTnqYC.js +1 -0
- package/dist/assets/email-Df8vkpiu.js +1 -0
- package/dist/assets/environment-variables-editor-BRCJeAuQ.js +1 -0
- package/dist/assets/environments-KgjLd2iJ.js +1 -0
- package/dist/assets/es2015--VPhi9Pf.js +41 -0
- package/dist/assets/external-link-4ybEwFXr.js +1 -0
- package/dist/assets/eye-IHOIdP8h.js +1 -0
- package/dist/assets/eye-off-DhpuPzHH.js +1 -0
- package/dist/assets/fast-responses-CdUvD-Td.js +1 -0
- package/dist/assets/file-B507GEIK.js +1 -0
- package/dist/assets/file-code-corner-Bx8u9GpY.js +1 -0
- package/dist/assets/file-question-mark-8nwInCDa.js +1 -0
- package/dist/assets/file-search-CmfdK1h-.js +1 -0
- package/dist/assets/file-text-Bw8ssy8h.js +1 -0
- package/dist/assets/flag-DC4zZHaO.js +1 -0
- package/dist/assets/flask-conical-D4n2vQd6.js +1 -0
- package/dist/assets/folder-git-2-BRNAUErg.js +1 -0
- package/dist/assets/folder-open-BykDC_vY.js +1 -0
- package/dist/assets/folder-search-DeXQtw0j.js +1 -0
- package/dist/assets/funnel-DwG1-Tw3.js +1 -0
- package/dist/assets/git-pull-request-DTrdFlyG.js +1 -0
- package/dist/assets/github-icon-nZRkYlcF.js +1 -0
- package/dist/assets/health-CltA2W6A.js +1 -0
- package/dist/assets/heartbeats-ChFIWEHs.js +1 -0
- package/dist/assets/inbox-D8xpNHi1.js +1 -0
- package/dist/assets/inboxArchiveCache-CEu6OLi2.js +1 -0
- package/dist/assets/index-ChRgVRS6.js +67 -0
- package/dist/assets/info-7_cfJOyX.js +1 -0
- package/dist/assets/input-BKfH9qjX.js +1 -0
- package/dist/assets/instanceSettings-CPnNsgdr.js +1 -0
- package/dist/assets/interaction-audience-BLOJV-mI.js +1 -0
- package/dist/assets/interaction-card-visibility-D5iNbWp0.js +1 -0
- package/dist/assets/issue-blockers-DpoL-yxg.js +1 -0
- package/dist/assets/issue-output-DDMIdx-p.js +1 -0
- package/dist/assets/issue-properties-Clbo4v1u.js +4 -0
- package/dist/assets/issue-share-itpZKplE.js +1 -0
- package/dist/assets/issue-workspace-selection-BksZRGVZ.js +1 -0
- package/dist/assets/key-round-DQ1lvIZ5.js +1 -0
- package/dist/assets/label-BiWbWTie.js +1 -0
- package/dist/assets/layout-dashboard-C81YTjHk.js +1 -0
- package/dist/assets/link-2-BNdFfriC.js +1 -0
- package/dist/assets/link-CY4lJ1-1.js +1 -0
- package/dist/assets/list-filter-2le-_brN.js +1 -0
- package/dist/assets/list-todo-DtStyfaX.js +1 -0
- package/dist/assets/log-in-COT401Ol.js +1 -0
- package/dist/assets/maximize-2-WZ-H0oSx.js +1 -0
- package/dist/assets/mention-chips-CAJcEoDR.js +17 -0
- package/dist/assets/message-square-plus-hwhmFbTR.js +1 -0
- package/dist/assets/minus-D-5IsbJy.js +1 -0
- package/dist/assets/model-fallback-BOi4txmb.js +1 -0
- package/dist/assets/model-picker-fields-Dz3QXZH4.js +1 -0
- package/dist/assets/network-B6bfgTgI.js +1 -0
- package/dist/assets/octagon-alert-BcZ-yQ9Y.js +1 -0
- package/dist/assets/octagon-x-BDboL6pI.js +1 -0
- package/dist/assets/omp-settings-model-B44hZacG.js +1 -0
- package/dist/assets/package-RMab9cWG.js +1 -0
- package/dist/assets/pause--yf80URP.js +1 -0
- package/dist/assets/pen-line-kHvdR5Sc.js +1 -0
- package/dist/assets/pipeline-stage-presentation-C3RrjaM6.js +2 -0
- package/dist/assets/pipelines-ly8Xudg1.js +1 -0
- package/dist/assets/play-C34LHfz0.js +1 -0
- package/dist/assets/plug-BF7xoCu7.js +1 -0
- package/dist/assets/plugins-BICQ7l7B.js +1 -0
- package/dist/assets/plus-CSRL7cb-.js +1 -0
- package/dist/assets/popover-Dkx35kw6.js +1 -0
- package/dist/assets/power-C6RPWj7x.js +1 -0
- package/dist/assets/presentation-mode-CeWoUtx3.js +1 -0
- package/dist/assets/profile-summary-DILaRfKm.js +1 -0
- package/dist/assets/projects-BfenPunG.js +1 -0
- package/dist/assets/proposal-review-DwdSRZVE.js +1 -0
- package/dist/assets/queryClient-C1Hr0iXV.js +1 -0
- package/dist/assets/queryKeys-L54gAEay.js +1 -0
- package/dist/assets/radio-CRfzP4eV.js +1 -0
- package/dist/assets/radio-card-CBIraXEH.js +1 -0
- package/dist/assets/recent-agent-chats-BTvRcEWP.js +1 -0
- package/dist/assets/refresh-cw-DaOeNel8.js +1 -0
- package/dist/assets/repeat-DuXiLHzY.js +1 -0
- package/dist/assets/resizable-panels-CY2fqWWs.js +1 -0
- package/dist/assets/review-policy-ByzcCha8.js +1 -0
- package/dist/assets/rotate-ccw-BzPlasaR.js +1 -0
- package/dist/assets/rotate-cw-3sWh4WKN.js +1 -0
- package/dist/assets/router-D2oU2MKD.js +1 -0
- package/dist/assets/routines-CAy-Dh7l.js +1 -0
- package/dist/assets/runRetryState-BgZStC3B.js +1 -0
- package/dist/assets/save-DeCRoIXf.js +1 -0
- package/dist/assets/schema-config-fields-_pl17UpN.js +1 -0
- package/dist/assets/scroll-area-pZOHmR9Q.js +1 -0
- package/dist/assets/scroll-text-Da9YJALq.js +1 -0
- package/dist/assets/search-BDpR27Ov.js +1 -0
- package/dist/assets/secrets-Bwmx0QhL.js +1 -0
- package/dist/assets/select-DlUevQmR.js +1 -0
- package/dist/assets/send-BJJBJmDS.js +1 -0
- package/dist/assets/separator-NGfHGaHo.js +1 -0
- package/dist/assets/server-CmXF0FCX.js +1 -0
- package/dist/assets/server-cog-Dq80apIc.js +1 -0
- package/dist/assets/settings-3pmxQm-G.js +1 -0
- package/dist/assets/shared-nUJmWt0V.js +1 -0
- package/dist/assets/sheet-Bed3HcU-.js +1 -0
- package/dist/assets/shield-5eEVCHZ9.js +1 -0
- package/dist/assets/shield-alert-BQWRnJXO.js +1 -0
- package/dist/assets/shield-check-NAmCeRih.js +1 -0
- package/dist/assets/shield-question-mark-aBCOYf8d.js +1 -0
- package/dist/assets/shield-x-CvGnYt7Q.js +1 -0
- package/dist/assets/sidebarPreferences-C_l-wg7s.js +1 -0
- package/dist/assets/skeleton-BgIfYCeH.js +1 -0
- package/dist/assets/slots-BLkI4je-.js +49 -0
- package/dist/assets/smoke-lab-matrix-BObZDy3b.js +1 -0
- package/dist/assets/square-BVqgm5TM.js +1 -0
- package/dist/assets/star-DJjul1y1.js +15 -0
- package/dist/assets/sun-BeisV-lG.js +1 -0
- package/dist/assets/system-notice-comment-BIqPCj5J.js +1 -0
- package/dist/assets/tabs-DzdLeOuH.js +1 -0
- package/dist/assets/task-chat-attachments-BBHVGYpI.js +10 -0
- package/dist/assets/terminal-CNJO_raa.js +1 -0
- package/dist/assets/textarea-BJpeWoiw.js +1 -0
- package/dist/assets/thumbs-down-CTVwgPee.js +1 -0
- package/dist/assets/thumbs-up-DYzMzD83.js +1 -0
- package/dist/assets/toggle-switch-8ub0Qg4L.js +1 -0
- package/dist/assets/tools-DF0XFk2-.js +1 -0
- package/dist/assets/tooltip-IqMqrYmN.js +1 -0
- package/dist/assets/transcript-adapter-DZKSRhHc.js +5 -0
- package/dist/assets/trash-CES4oPDg.js +1 -0
- package/dist/assets/triangle-alert-CVNbNVS0.js +1 -0
- package/dist/assets/use-adapter-capabilities-cUHtyM16.js +1 -0
- package/dist/assets/use-copy-action-BA6c1eiR.js +1 -0
- package/dist/assets/useAgentChatEnabled-DDvd2Vu1.js +1 -0
- package/dist/assets/useAutosaveIndicator-McG-VbkA.js +1 -0
- package/dist/assets/useHiddenSettings-BsaIA3lr.js +1 -0
- package/dist/assets/useInfiniteQuery-BVq6YoUL.js +1 -0
- package/dist/assets/useInstanceFeatureSettings-DSoGOug1.js +1 -0
- package/dist/assets/useManagedSandboxOnly-Vvgjf07G.js +1 -0
- package/dist/assets/useMobileEntityPickerViewportStyle-D8QkOxRf.js +1 -0
- package/dist/assets/usePrefersReducedMotion-DE4MGN8M.js +1 -0
- package/dist/assets/useProfilesData-OPdrE-Sr.js +1 -0
- package/dist/assets/useQueries-D5VvPmLf.js +1 -0
- package/dist/assets/useSecondTick-D24YzhuD.js +1 -0
- package/dist/assets/useSharedPolling-CBNdkB7h.js +1 -0
- package/dist/assets/useSummaryDraftStream-pkqPwnU3.js +3 -0
- package/dist/assets/user-check-D71E_Qre.js +1 -0
- package/dist/assets/user-k9eLtc8L.js +1 -0
- package/dist/assets/user-minus-GXYNjvAE.js +1 -0
- package/dist/assets/user-round-DhUw65bT.js +1 -0
- package/dist/assets/user-x-M4w5W4J8.js +1 -0
- package/dist/assets/users-B5JnYogw.js +1 -0
- package/dist/assets/wand-sparkles-DvNJgujO.js +1 -0
- package/dist/assets/webhook-BY6WnbCJ.js +1 -0
- package/dist/assets/workspace-restore-BIbDC_O8.js +1 -0
- package/dist/assets/x-CDhQX2Il.js +1 -0
- package/dist/downloads/local-browser-chromium.zip +0 -0
- package/dist/downloads/local-browser-firefox-unsigned.zip +0 -0
- package/dist/downloads/local-browser-firefox.xpi +0 -0
- package/dist/index.html +190 -190
- package/dist/sw.js +1 -11
- package/package.json +1 -1
- package/dist/assets/AccessSelectIdentity-cLYCMqj2.js +0 -1
- package/dist/assets/AdapterManager-vFOS4UvI.js +0 -1
- package/dist/assets/AdvancedToolsRoute-DZrRFpVP.js +0 -39
- package/dist/assets/AgentActionButtons-Bfr9wZVC.js +0 -1
- package/dist/assets/AgentAvatar-BLZN7-3L.js +0 -1
- package/dist/assets/AgentBubbleActionRow-Bjwgyz-w.js +0 -1
- package/dist/assets/AgentCharacter-DByuzniB.js +0 -2
- package/dist/assets/AgentChat-BVdXFVHr.js +0 -1
- package/dist/assets/AgentChats-DpSwzEXp.js +0 -1
- package/dist/assets/AgentDefaults-Bn23ypsB.js +0 -1
- package/dist/assets/AgentDetail-CSGn8J_Q.js +0 -38
- package/dist/assets/AgentIconPicker-DqR4IWc7.js +0 -1
- package/dist/assets/AgentIdentity-BQpuPwh2.js +0 -1
- package/dist/assets/AgentMailCredentialField-C0vw23BP.js +0 -1
- package/dist/assets/AgentMultiSelect-BBgOsAC7.js +0 -1
- package/dist/assets/AgentRoleEditor-DAHTdBJa.js +0 -1
- package/dist/assets/AgentSetupPrompt-DPqvATs9.js +0 -30
- package/dist/assets/AgentTodoCard-BL20NPh0.js +0 -1
- package/dist/assets/Agents-DRYQYGkt.js +0 -3
- package/dist/assets/AppDetail-ostx-Mo0.js +0 -5
- package/dist/assets/AppLogo-BFZmUieu.js +0 -1
- package/dist/assets/AppNotConnected-4tYAxPCb.js +0 -1
- package/dist/assets/ApprovalCard-BsUm9pGY.js +0 -1
- package/dist/assets/ApprovalDetail-Cmv0cnS4.js +0 -1
- package/dist/assets/ApprovalPayload-BcOZ42zi.js +0 -1
- package/dist/assets/Approvals-DQhnGOTm.js +0 -1
- package/dist/assets/AppsConnect-C5Qj1sl_.js +0 -1
- package/dist/assets/AppsReview-D37ZRgU_.js +0 -1
- package/dist/assets/ArtifactCard-DGei3ggf.js +0 -1
- package/dist/assets/Artifacts-DpG5RAQq.js +0 -1
- package/dist/assets/AssistantConnection-BpCKUhgx.js +0 -1
- package/dist/assets/AttentionInteractionResolver-DidKULsS.js +0 -1
- package/dist/assets/AuditHub-DRjix5ym.js +0 -1
- package/dist/assets/Auth-K-EZEgzG.js +0 -3
- package/dist/assets/BoardChat-C9Gvjyp9.js +0 -18
- package/dist/assets/BoardClaim-BXhDDVHJ.js +0 -1
- package/dist/assets/BootstrapSetupUxLab-C1vtprg5.js +0 -1
- package/dist/assets/BreadcrumbContext-zDw93MZx.js +0 -1
- package/dist/assets/Browse-DQua1gm8.js +0 -1
- package/dist/assets/BudgetPolicyCard-BOkxb4br.js +0 -1
- package/dist/assets/CaseDetail-p0CLPDKa.js +0 -2
- package/dist/assets/CaseIdentifierKey-D1Ddzw8y.js +0 -1
- package/dist/assets/Cases-S2ZFMlxW.js +0 -2
- package/dist/assets/ChatEndpointDetail-DRtj3uZr.js +0 -5
- package/dist/assets/ChatEndpointSetup-ST4Uis-a.js +0 -1
- package/dist/assets/ChatIdentityConfirm-CdSIOnVy.js +0 -1
- package/dist/assets/ChoiceControls-CWglRSOv.js +0 -1
- package/dist/assets/CliAuth-D1Wwui4h.js +0 -1
- package/dist/assets/CommentAttributionChip-BLPZL0CN.js +0 -1
- package/dist/assets/Companies-DOKVvsbn.js +0 -1
- package/dist/assets/CompanyAccess-CADLuNP1.js +0 -1
- package/dist/assets/CompanyActivity-CpLN-eRb.js +0 -1
- package/dist/assets/CompanyConnections-BTb8yRjR.js +0 -1
- package/dist/assets/CompanyContext-D89SijyS.js +0 -1
- package/dist/assets/CompanyEnvironments-BYYyGKfl.js +0 -3
- package/dist/assets/CompanyExport-Dq8Iby3Z.js +0 -4
- package/dist/assets/CompanyImport-DzGgh3AW.js +0 -1
- package/dist/assets/CompanySettings-CJJehp0r.js +0 -1
- package/dist/assets/CompanySettingsPluginPage-CPCQUHiM.js +0 -1
- package/dist/assets/CompanySkills-BaW3Eioj.js +0 -10
- package/dist/assets/ComposerAddMenu-DlZ9yW6a.js +0 -3
- package/dist/assets/ConfigureBuiltInAgentModal-DCCNnp-d.js +0 -1
- package/dist/assets/ConnectionSetupFlow-BsbmkX_F.js +0 -40
- package/dist/assets/CopyText-Bx0zB6z0.js +0 -1
- package/dist/assets/CopyableGatewayUrl-BcTuSy0s.js +0 -1
- package/dist/assets/CrossIssueCollaborationUxLab-D0xmcjkF.js +0 -1
- package/dist/assets/Dashboard-D7xfsZ8U.js +0 -2
- package/dist/assets/DecisionDateChips-UVXfETFg.js +0 -1
- package/dist/assets/DecisionModelSettings-BwHAzbmD.js +0 -1
- package/dist/assets/DecisionQueuePage-C9GAeZNb.js +0 -1
- package/dist/assets/DesignGuide-4Qrfxjl6.js +0 -23
- package/dist/assets/DocumentFrameHeader-ida049bV.js +0 -1
- package/dist/assets/EmailConnectionAccess-DZnrq6lz.js +0 -1
- package/dist/assets/EmailEndpointSetup-Bbrc16Lf.js +0 -1
- package/dist/assets/EnforcementBanner-7AX-jCfE.js +0 -1
- package/dist/assets/EntityRow-CKr9FCgL.js +0 -1
- package/dist/assets/ExecutionWorkspaceDetail-aC0Uqr5o.js +0 -19
- package/dist/assets/FilterBar-5wTp1n_L.js +0 -1
- package/dist/assets/FoldCurtain-89yTb9pG.js +0 -1
- package/dist/assets/FolderControls-BU6t01sT.js +0 -1
- package/dist/assets/GatewayDetail-C0CQ8sbZ.js +0 -2
- package/dist/assets/GatewaysList-XMpYRCgP.js +0 -1
- package/dist/assets/GoalDetail-RV8gzjju.js +0 -1
- package/dist/assets/GoalTree-BjAXPQoC.js +0 -1
- package/dist/assets/Goals-C0L3rtPa.js +0 -1
- package/dist/assets/Identity-BmcmEVNz.js +0 -1
- package/dist/assets/ImageGalleryModal-B-lxi_T9.js +0 -1
- package/dist/assets/Inbox-DL5FEs8Z.js +0 -2
- package/dist/assets/InlineBanner-BJcDJhBs.js +0 -1
- package/dist/assets/InlineEditor-DF_2Iq2g.js +0 -1
- package/dist/assets/InlineEntitySelector-ClNuZKyI.js +0 -1
- package/dist/assets/InstanceAccess-DxBJcSha.js +0 -1
- package/dist/assets/InstanceAdvanced-6lGR4Rwt.js +0 -1
- package/dist/assets/InstanceFeatures-pIodgRY9.js +0 -1
- package/dist/assets/InviteLanding-BzPKTOtF.js +0 -1
- package/dist/assets/IssueChatLongThreadPerf-qPXgwDuQ.js +0 -2
- package/dist/assets/IssueChatThread-CFY_zv5a.js +0 -40
- package/dist/assets/IssueDetail-DsS131t7.js +0 -9
- package/dist/assets/IssueDocumentAnnotations-BddtAWH6.js +0 -2
- package/dist/assets/IssueOutputSection-D0qZxcsW.js +0 -1
- package/dist/assets/IssueRecoveryActionCard-BsCh8Q3n.js +0 -1
- package/dist/assets/IssueReferencePill-BIqEngfF.js +0 -1
- package/dist/assets/IssueThreadInteractionCard-X7Ug2b_D.js +0 -9
- package/dist/assets/IssueWriteDenialNotice-B6TxoZsX.js +0 -1
- package/dist/assets/Issues-SB9BZhXv.js +0 -5
- package/dist/assets/JoinRequestQueue-DokStcgE.js +0 -1
- package/dist/assets/JsonSchemaForm-BsL4gsky.js +0 -1
- package/dist/assets/LiveNowTodoLine-DNw0hUwJ.js +0 -1
- package/dist/assets/ManagedAiConnectionDetails-ClouvF1z.js +0 -1
- package/dist/assets/MarkdownBody-D5KQijmo.js +0 -16
- package/dist/assets/MarkdownEditor-uTRtpg12.js +0 -85
- package/dist/assets/McpConnect-BPZwJjlr.js +0 -1
- package/dist/assets/MembershipAction-DbmMOc8R.js +0 -1
- package/dist/assets/MetricCard-DD6E89S6.js +0 -1
- package/dist/assets/MissingPluginTabPlaceholder-D5u4Vfd0.js +0 -1
- package/dist/assets/ModelsAndProviders-CkGVtQmQ.js +0 -1
- package/dist/assets/MootMark-B4vfsc5p.js +0 -1
- package/dist/assets/NewAgent-ChlmF_BP.js +0 -1
- package/dist/assets/OmpAllSettings-BR42FqrS.js +0 -1
- package/dist/assets/OpenwaGatewayManager-U8l0cJMF.js +0 -2
- package/dist/assets/PathInstructionsModal-BiBAmfYj.js +0 -1
- package/dist/assets/PipelineSettings-DQPSDvRj.js +0 -2
- package/dist/assets/Pipelines-DOWRZl_U.js +0 -1
- package/dist/assets/PixelsOffice-vdU7Eu18.js +0 -2
- package/dist/assets/PluginManager-CcYxEiJ6.js +0 -1
- package/dist/assets/PluginPage-I4wXPiy1.js +0 -1
- package/dist/assets/PluginSettings-D3eSi9fm.js +0 -1
- package/dist/assets/ProfileDetailRoute-B0FI1LeR.js +0 -1
- package/dist/assets/ProfileSettings-m5z4GxBW.js +0 -1
- package/dist/assets/ProfileWizardRoute-Bz9k60fo.js +0 -1
- package/dist/assets/ProjectDetail-Ci6IYGFE.js +0 -1
- package/dist/assets/ProjectWorkspaceDetail-BJw0UaZZ.js +0 -29
- package/dist/assets/ProjectWorkspacesContent-CABsgbUY.js +0 -1
- package/dist/assets/Projects-_hAvuiqZ.js +0 -1
- package/dist/assets/PublicIssueSharePage-DmXAuCrC.js +0 -1
- package/dist/assets/QuestionForm-CtKlX6Nh.js +0 -7
- package/dist/assets/QuotaBar-N3hyIy-Q.js +0 -1
- package/dist/assets/RepositoryEditor-D4bKWskJ.js +0 -1
- package/dist/assets/ResponsibleUserDenialNotice-CvksPeJY.js +0 -1
- package/dist/assets/ResponsibleUserDenialUxLab-mkxyggpa.js +0 -1
- package/dist/assets/ReviewQueueCard-DFt_1J42.js +0 -1
- package/dist/assets/RichWorkProductCard-DYLsskP3.js +0 -1
- package/dist/assets/RoutineActivityRow-CKYMPl0d.js +0 -1
- package/dist/assets/RoutineDetail-DKfS8_Fc.js +0 -2
- package/dist/assets/RoutineRunVariablesDialog-DHpRgzNC.js +0 -1
- package/dist/assets/RoutineVariablesEditor-D_0AZhnI.js +0 -1
- package/dist/assets/Routines-DoACth5s.js +0 -1
- package/dist/assets/ScrollToBottom-CxM9JETk.js +0 -1
- package/dist/assets/Search-iR3yDQDr.js +0 -1
- package/dist/assets/SearchableSelect-B4O5KlVA.js +0 -1
- package/dist/assets/Secrets-CICJWh_c.js +0 -4
- package/dist/assets/SetupWizard-Do1kJtDA.js +0 -1
- package/dist/assets/SidebarContext-B0ZkpTwu.js +0 -1
- package/dist/assets/SidebarNavItem-CVVKMkHv.js +0 -1
- package/dist/assets/SkillBinaryFile-BajQqJZP.js +0 -1
- package/dist/assets/SkillCardIcon-BSAyVL36.js +0 -2
- package/dist/assets/SkillSourceTree-DxIIbsCy.js +0 -2
- package/dist/assets/SkillSources-BulvGllC.js +0 -2
- package/dist/assets/SkillStudio-pZkMRWB0.js +0 -9
- package/dist/assets/SourceTrustBadge-tx9pt8nw.js +0 -1
- package/dist/assets/StatusCards-C7Fx3HPg.js +0 -1
- package/dist/assets/StatusIcon-C7jNClmq.js +0 -1
- package/dist/assets/SummarySlotCard-DprYZuSq.js +0 -1
- package/dist/assets/TaskChatComposerTakeoverContext-Dy8mOSQt.js +0 -1
- package/dist/assets/TaskChatLab-q2n_vacx.js +0 -11
- package/dist/assets/TaskChatMarker-So51W60X.js +0 -2
- package/dist/assets/TaskChatProtocolCard-C1PnM_U-.js +0 -1
- package/dist/assets/TaskChatThreadView-CbRI6fwT.js +0 -4
- package/dist/assets/TaskTreeControls-D3AR_tDr.js +0 -3
- package/dist/assets/Terminal-DMEEshGF.js +0 -1
- package/dist/assets/TerminalView-BhTSckxj.js +0 -58
- package/dist/assets/ThemeContext-N2NpHt1_.js +0 -1
- package/dist/assets/ThemeToggle-BqivhSjv.js +0 -1
- package/dist/assets/ToastContext-D-Mqs4di.js +0 -1
- package/dist/assets/ToolsAdminGate-CkA-of3R.js +0 -1
- package/dist/assets/TrustPresetSection-B0hy2924.js +0 -1
- package/dist/assets/UserProfile-_pr7F6BS.js +0 -1
- package/dist/assets/WebhookUrlWarning-BPZwZQqZ.js +0 -1
- package/dist/assets/WhatNeedsMe-D6DK9gTX.js +0 -1
- package/dist/assets/WorkspaceRuntimeControls-C_gtreIX.js +0 -1
- package/dist/assets/Workspaces-D0Uq8AzW.js +0 -1
- package/dist/assets/access-Ch1N6jrN.js +0 -1
- package/dist/assets/activity-C6in9ccz.js +0 -1
- package/dist/assets/activity-DdoY6l3q.js +0 -1
- package/dist/assets/activity-format-2qUeFFM9.js +0 -1
- package/dist/assets/adapter-display-registry-B-nxMkG4.js +0 -1
- package/dist/assets/adapters-DoxgThMu.js +0 -1
- package/dist/assets/agent-avatar-url-D4zr2EEi.js +0 -1
- package/dist/assets/agent-config-primitives-DdSnNM4K.js +0 -1
- package/dist/assets/agentChats-QaIYmlur.js +0 -1
- package/dist/assets/agents-Boy51qGF.js +0 -1
- package/dist/assets/alert-dialog-CJbRV6SV.js +0 -1
- package/dist/assets/app-connect-policy-BFWJ2eOt.js +0 -1
- package/dist/assets/archive-DCX320D1.js +0 -1
- package/dist/assets/archive-restore-BlBTY_xq.js +0 -1
- package/dist/assets/arrow-down-DLEiig1m.js +0 -1
- package/dist/assets/arrow-down-left-Bbmmj8Cm.js +0 -1
- package/dist/assets/arrow-left-CtrJnaew.js +0 -1
- package/dist/assets/arrow-right-C_bgbn5v.js +0 -1
- package/dist/assets/arrow-up-DGta_vLn.js +0 -1
- package/dist/assets/arrow-up-down-ClLILgLO.js +0 -1
- package/dist/assets/arrow-up-right-BdgNCku-.js +0 -1
- package/dist/assets/artifacts-DJf3FLst.js +0 -1
- package/dist/assets/assets-C8CDscdC.js +0 -1
- package/dist/assets/attachment-icon-BcdYu08V.js +0 -1
- package/dist/assets/avatar-BNoxiTkE.js +0 -1
- package/dist/assets/badge-B56aAvuf.js +0 -1
- package/dist/assets/badge-check-DFPCjZML.js +0 -1
- package/dist/assets/book-open-BOWP0ehs.js +0 -1
- package/dist/assets/bot-DDxTN3jU.js +0 -1
- package/dist/assets/boxes-CyuQgdnj.js +0 -1
- package/dist/assets/braces-DnDbAzy-.js +0 -1
- package/dist/assets/browser-use-BdoJyQNo.js +0 -1
- package/dist/assets/budgets-jAmHLHMA.js +0 -1
- package/dist/assets/button-C9JA0pR9.js +0 -1
- package/dist/assets/calendar-clock-UOi0Tdkl.js +0 -1
- package/dist/assets/card-BaBV-07q.js +0 -1
- package/dist/assets/cases-DdYzMnvq.js +0 -1
- package/dist/assets/chatEndpoints-DLBXmH-H.js +0 -1
- package/dist/assets/check-C1U2nLnR.js +0 -1
- package/dist/assets/checkbox-6fEY2YjF.js +0 -1
- package/dist/assets/chevron-down-D5bzoGsg.js +0 -1
- package/dist/assets/chevron-left-DuUyfq88.js +0 -1
- package/dist/assets/chevron-right-Bmb_ezMx.js +0 -1
- package/dist/assets/chevron-up-DANP87JM.js +0 -1
- package/dist/assets/chip-V6h5FAJ-.js +0 -1
- package/dist/assets/circle-CJoyat9x.js +0 -1
- package/dist/assets/circle-alert-DPz75VwF.js +0 -1
- package/dist/assets/circle-dot-DNCm3Pkz.js +0 -1
- package/dist/assets/circle-question-mark-DLsjfYUH.js +0 -1
- package/dist/assets/circle-slash-BuNNgXEm.js +0 -1
- package/dist/assets/circle-x-cIA5MZ-h.js +0 -1
- package/dist/assets/clipboard-paste-CR1MLK8G.js +0 -1
- package/dist/assets/clock-B4oKbxMj.js +0 -1
- package/dist/assets/cloud-H3gcJcBT.js +0 -1
- package/dist/assets/code-xml-DCCAbAXq.js +0 -1
- package/dist/assets/coins-dPh0UlkY.js +0 -1
- package/dist/assets/collapsible-Bs-NoX6d.js +0 -1
- package/dist/assets/columns-3-kpjNib7M.js +0 -1
- package/dist/assets/command-GVc5ZBLD.js +0 -5
- package/dist/assets/companies-query-FYH9QaJX.js +0 -1
- package/dist/assets/connection-identity-Bm66aoli.js +0 -1
- package/dist/assets/connection-owner-BcF9xtco.js +0 -1
- package/dist/assets/copy-D5hPdWqB.js +0 -1
- package/dist/assets/createLucideIcon-CnVGnh-n.js +0 -94
- package/dist/assets/decision-models-B_LrRIg-.js +0 -1
- package/dist/assets/dialog-1GyfWgga.js +0 -1
- package/dist/assets/dist--bs4f-x5.js +0 -1
- package/dist/assets/dist-3kyUGwme.js +0 -1
- package/dist/assets/dist-AezsIUvL.js +0 -1
- package/dist/assets/dist-BCsXmc0n.js +0 -1
- package/dist/assets/dist-BcjDlT5y.js +0 -1
- package/dist/assets/dist-BeNqqjRb.js +0 -1
- package/dist/assets/dist-BlSxrEFs.js +0 -1
- package/dist/assets/dist-CNEn54cD.js +0 -1
- package/dist/assets/dist-CQlr6qPY.js +0 -1
- package/dist/assets/dist-CV7Tg_q8.js +0 -1
- package/dist/assets/dist-CviigM_y.js +0 -1
- package/dist/assets/dist-Dsq8gHg1.js +0 -1
- package/dist/assets/dist-SK4kaY_q.js +0 -1
- package/dist/assets/dropdown-menu-dYAPklSF.js +0 -1
- package/dist/assets/ellipsis-LWwv_d2o.js +0 -1
- package/dist/assets/ellipsis-vertical-DLCc_kjS.js +0 -1
- package/dist/assets/email-CNJCpA8H.js +0 -1
- package/dist/assets/environment-variables-editor-CwqlPRAw.js +0 -1
- package/dist/assets/environments-CWKpToQy.js +0 -1
- package/dist/assets/es2015-jcJ7T9Sm.js +0 -41
- package/dist/assets/external-link-CrKfWC2s.js +0 -1
- package/dist/assets/eye-CkUyzQ21.js +0 -1
- package/dist/assets/eye-off-Bv7z1y6E.js +0 -1
- package/dist/assets/fast-responses-B1Lcq9rx.js +0 -1
- package/dist/assets/file-BIrkq-9Q.js +0 -1
- package/dist/assets/file-code-corner-5k1_P4wp.js +0 -1
- package/dist/assets/file-question-mark-CJqr_MK_.js +0 -1
- package/dist/assets/file-search--4-VrW3j.js +0 -1
- package/dist/assets/file-text-Dr09wpfT.js +0 -1
- package/dist/assets/flag-CIu6bhD0.js +0 -1
- package/dist/assets/flask-conical-Bu0lk0C2.js +0 -1
- package/dist/assets/folder-git-2-Dkp6V85D.js +0 -1
- package/dist/assets/folder-open-BWyhdPrR.js +0 -1
- package/dist/assets/folder-search-2k8ea1ye.js +0 -1
- package/dist/assets/funnel-DbZ1maAh.js +0 -1
- package/dist/assets/git-pull-request-S2qOx9-a.js +0 -1
- package/dist/assets/github-icon-C1i21pw6.js +0 -1
- package/dist/assets/health-BJGQwMrW.js +0 -1
- package/dist/assets/heartbeats-B3Yvea7r.js +0 -1
- package/dist/assets/inbox-CAC5rIWP.js +0 -1
- package/dist/assets/inboxArchiveCache-CZmOjvVy.js +0 -1
- package/dist/assets/index-B-KXIl2u.js +0 -67
- package/dist/assets/info-DIEuSmOj.js +0 -1
- package/dist/assets/input-BVJKSyV-.js +0 -1
- package/dist/assets/instanceSettings-jpzLJAFD.js +0 -1
- package/dist/assets/interaction-audience-WVYhfMyU.js +0 -1
- package/dist/assets/interaction-card-visibility-DAFLtGUi.js +0 -1
- package/dist/assets/issue-blockers-DY5i7iab.js +0 -1
- package/dist/assets/issue-output-DEHvcvIL.js +0 -1
- package/dist/assets/issue-properties-DAwNT_WG.js +0 -4
- package/dist/assets/issue-share-Dt-qZ_HF.js +0 -1
- package/dist/assets/issue-workspace-selection-DSiOc2Q2.js +0 -1
- package/dist/assets/key-round-mtvLGca-.js +0 -1
- package/dist/assets/label-BC7Ayivp.js +0 -1
- package/dist/assets/layout-dashboard-D3LTu7k0.js +0 -1
- package/dist/assets/link-2-BILyowKB.js +0 -1
- package/dist/assets/link-i-ylU0dl.js +0 -1
- package/dist/assets/list-filter-B1ytuSZw.js +0 -1
- package/dist/assets/list-todo-iCf4vWjc.js +0 -1
- package/dist/assets/log-in-GuBOxNRI.js +0 -1
- package/dist/assets/maximize-2-DL46rR2e.js +0 -1
- package/dist/assets/mention-chips-ClG49uyF.js +0 -17
- package/dist/assets/message-square-plus-Tl3pwEJu.js +0 -1
- package/dist/assets/minus-BiYpQ9LC.js +0 -1
- package/dist/assets/model-fallback-DMSSvw8C.js +0 -1
- package/dist/assets/model-picker-fields-4I2KQaJ5.js +0 -1
- package/dist/assets/network-Dj3aDbp0.js +0 -1
- package/dist/assets/octagon-alert-CxRuo05I.js +0 -1
- package/dist/assets/octagon-x-C-HBZTYy.js +0 -1
- package/dist/assets/omp-settings-model-jf15zx3y.js +0 -1
- package/dist/assets/package-D54DBhDm.js +0 -1
- package/dist/assets/pause-BDr44-C7.js +0 -1
- package/dist/assets/pen-line-DLQe5VND.js +0 -1
- package/dist/assets/pipeline-stage-presentation-DOxlzv5L.js +0 -2
- package/dist/assets/pipelines-BtN6WbTN.js +0 -1
- package/dist/assets/play-mKy5kgSo.js +0 -1
- package/dist/assets/plug-CjnBUEFq.js +0 -1
- package/dist/assets/plugins-NMz-2okp.js +0 -1
- package/dist/assets/plus-iKvhycbm.js +0 -1
- package/dist/assets/popover-vHMlfgIl.js +0 -1
- package/dist/assets/power-CiPDt_ah.js +0 -1
- package/dist/assets/presentation-mode-EAvBw0u7.js +0 -1
- package/dist/assets/profile-summary-BU92PO5r.js +0 -1
- package/dist/assets/projects-DImC99Et.js +0 -1
- package/dist/assets/proposal-review-B_Zdjdus.js +0 -1
- package/dist/assets/queryClient-DuKjJDn0.js +0 -1
- package/dist/assets/queryKeys-DNib4smf.js +0 -1
- package/dist/assets/radio-DmKRcKmA.js +0 -1
- package/dist/assets/radio-card-BP4vXRgV.js +0 -1
- package/dist/assets/recent-agent-chats-Ck-_LZ6Q.js +0 -1
- package/dist/assets/refresh-cw-DftOekY1.js +0 -1
- package/dist/assets/repeat-DHrtv3sK.js +0 -1
- package/dist/assets/resizable-panels-CKWLTvgS.js +0 -1
- package/dist/assets/review-policy-DjuwDywS.js +0 -1
- package/dist/assets/rotate-ccw-Ck2ggAft.js +0 -1
- package/dist/assets/rotate-cw-sTqJLvPc.js +0 -1
- package/dist/assets/router-C-DPy1sQ.js +0 -1
- package/dist/assets/routines-2f34fzsQ.js +0 -1
- package/dist/assets/runRetryState-BK1dhPq1.js +0 -1
- package/dist/assets/save-DQrhvpmC.js +0 -1
- package/dist/assets/schema-config-fields-B3pt6O9F.js +0 -1
- package/dist/assets/scroll-area-BW9jVbMj.js +0 -1
- package/dist/assets/scroll-text-CwbFv2wf.js +0 -1
- package/dist/assets/search-BCl----c.js +0 -1
- package/dist/assets/secrets-D2cgeKhP.js +0 -1
- package/dist/assets/select-DrTXvDZQ.js +0 -1
- package/dist/assets/send-D2l-8jUY.js +0 -1
- package/dist/assets/separator-DNCQYRtp.js +0 -1
- package/dist/assets/server-C3Qz6WkF.js +0 -1
- package/dist/assets/server-cog-DQPBP3QT.js +0 -1
- package/dist/assets/settings-BP6mJKQf.js +0 -1
- package/dist/assets/shared-C40IN7FR.js +0 -1
- package/dist/assets/sheet-CP78zh80.js +0 -1
- package/dist/assets/shield-Dir2RDLp.js +0 -1
- package/dist/assets/shield-alert-DwjjnLTA.js +0 -1
- package/dist/assets/shield-check-BSMrd2w9.js +0 -1
- package/dist/assets/shield-question-mark-CP0-8r03.js +0 -1
- package/dist/assets/shield-x-C8GvHSr5.js +0 -1
- package/dist/assets/sidebarPreferences-CJpJtFYr.js +0 -1
- package/dist/assets/skeleton-DQrVyaZJ.js +0 -1
- package/dist/assets/slots-DWV-QQ9o.js +0 -49
- package/dist/assets/smoke-lab-matrix-DfF8zWZs.js +0 -1
- package/dist/assets/square-Cs3qSr4B.js +0 -1
- package/dist/assets/star-BfGDDjEq.js +0 -15
- package/dist/assets/sun-pz6l1_J5.js +0 -1
- package/dist/assets/system-notice-comment-BFaDewTX.js +0 -1
- package/dist/assets/tabs-C-Mn2w4R.js +0 -1
- package/dist/assets/task-chat-attachments-CJwuQUHy.js +0 -10
- package/dist/assets/terminal-DxeHHgsC.js +0 -1
- package/dist/assets/textarea-z7duB4oz.js +0 -1
- package/dist/assets/thumbs-down-CJoj-pEa.js +0 -1
- package/dist/assets/thumbs-up-CLEDqS-u.js +0 -1
- package/dist/assets/toggle-switch-BvihF3FR.js +0 -1
- package/dist/assets/tools-JAYosseH.js +0 -1
- package/dist/assets/tooltip-DF9afEsd.js +0 -1
- package/dist/assets/transcript-adapter-DmgP29P0.js +0 -5
- package/dist/assets/trash-D40f5EC4.js +0 -1
- package/dist/assets/triangle-alert-DeBU3xr-.js +0 -1
- package/dist/assets/use-adapter-capabilities-mjYxgAGx.js +0 -1
- package/dist/assets/use-copy-action-BnlMVf9i.js +0 -1
- package/dist/assets/useAgentChatEnabled-tzN4IK9m.js +0 -1
- package/dist/assets/useAutosaveIndicator-D3RqtIg_.js +0 -1
- package/dist/assets/useHiddenSettings-CR5feU8a.js +0 -1
- package/dist/assets/useInfiniteQuery-C4lR2e-S.js +0 -1
- package/dist/assets/useInstanceFeatureSettings-BG_VbI4R.js +0 -1
- package/dist/assets/useManagedSandboxOnly-oztCrexs.js +0 -1
- package/dist/assets/useMobileEntityPickerViewportStyle-rTckp9LV.js +0 -1
- package/dist/assets/usePrefersReducedMotion-CrCerO76.js +0 -1
- package/dist/assets/useProfilesData-TUNJLYJC.js +0 -1
- package/dist/assets/useQueries-ho7DFwNj.js +0 -1
- package/dist/assets/useSecondTick-BrlBYA_l.js +0 -1
- package/dist/assets/useSharedPolling-H2kxgrNt.js +0 -1
- package/dist/assets/useSummaryDraftStream-C3FpvWr0.js +0 -3
- package/dist/assets/user-BnWruK-H.js +0 -1
- package/dist/assets/user-check-yce7oJyd.js +0 -1
- package/dist/assets/user-minus-DsqfkFrF.js +0 -1
- package/dist/assets/user-round-BbWJk14Q.js +0 -1
- package/dist/assets/user-x-DUtS1WHM.js +0 -1
- package/dist/assets/users-DRkjos5c.js +0 -1
- package/dist/assets/wand-sparkles-DB5_HxHK.js +0 -1
- package/dist/assets/webhook-wN-UHR9G.js +0 -1
- package/dist/assets/workspace-restore-Dz-CzQw6.js +0 -1
- package/dist/assets/x-BbL4w9tC.js +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var Ae=Object.defineProperty;var s=(e,t)=>Ae(e,"name",{value:t,configurable:!0});import{i as oe}from"./rolldown-runtime-ZpX3ckPj.js";import{na as Me,ta as Ie}from"./createLucideIcon-CnVGnh-n.js";var y=oe(Me(),1),je=oe(Ie(),1),ue=y.createContext(void 0),ce=s(e=>{const t=y.useContext(ue);if(e)return e;if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},"useQueryClient"),It=s(({client:e,children:t})=>(y.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),(0,je.jsx)(ue.Provider,{value:e,children:t})),"QueryClientProvider"),De={setTimeout:s((e,t)=>setTimeout(e,t),"setTimeout"),clearTimeout:s(e=>clearTimeout(e),"clearTimeout"),setInterval:s((e,t)=>setInterval(e,t),"setInterval"),clearInterval:s(e=>clearInterval(e),"clearInterval")},Le=class{static{s(this,"TimeoutManager")}#t=De;#e=!1;setTimeoutProvider(e){this.#t=e}setTimeout(e,t){return this.#t.setTimeout(e,t)}clearTimeout(e){this.#t.clearTimeout(e)}setInterval(e,t){return this.#t.setInterval(e,t)}clearInterval(e){this.#t.clearInterval(e)}},T=new Le;function Ue(e){setTimeout(e,0)}s(Ue,"systemSetTimeoutZero");var Be=typeof window>"u"||"Deno"in globalThis;function _(){}s(_,"noop");function jt(e,t){return typeof e=="function"?e(t):e}s(jt,"functionalUpdate");function le(e){return typeof e=="number"&&e>=0&&e!==1/0}s(le,"isValidTimeout");function he(e,t){return Math.max(e+(t||0)-Date.now(),0)}s(he,"timeUntilStale");function m(e,t){return typeof e=="function"?e(t):e}s(m,"resolveQueryValue");function Dt(e,t){const{type:i="all",exact:n,fetchStatus:r,predicate:l,queryKey:o,stale:u}=e;if(o){if(n){if(t.queryHash!==qe(o,t.options))return!1}else if(!L(t.queryKey,o))return!1}if(i!=="all"){const a=t.isActive();if(i==="active"&&!a||i==="inactive"&&a)return!1}return!(typeof u=="boolean"&&t.isStale()!==u||r&&r!==t.state.fetchStatus||l&&!l(t))}s(Dt,"matchQuery");function Lt(e,t){const{exact:i,status:n,predicate:r,mutationKey:l}=e;if(l){if(!t.options.mutationKey)return!1;if(i){if(I(t.options.mutationKey)!==I(l))return!1}else if(!L(t.options.mutationKey,l))return!1}return!(n&&t.state.status!==n||r&&!r(t))}s(Lt,"matchMutation");function qe(e,t){return(t?.queryKeyHashFn||I)(e)}s(qe,"hashQueryKeyByOptions");function I(e){return JSON.stringify(e,(t,i)=>K(i)?Object.keys(i).sort().reduce((n,r)=>(n[r]=i[r],n),{}):i)}s(I,"hashKey");function L(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(Array.isArray(e)&&Array.isArray(t)){for(let n=0;n<t.length;n++)if(!L(e[n],t[n]))return!1;return!0}const i=Object.keys(t);for(const n of i)if(!L(e[n],t[n]))return!1;return!0}return!1}s(L,"partialMatchKey");var Qe=Object.prototype.hasOwnProperty;function de(e,t,i=0){if(e===t)return e;if(i>500)return t;const n=Y(e)&&Y(t);if(!n&&!(K(e)&&K(t)))return t;const r=(n?e:Object.keys(e)).length,l=n?t:Object.keys(t),o=l.length,u=n?new Array(o):{};let a=0;for(let c=0;c<o;c++){const d=n?c:l[c],h=e[d],g=t[d];if(h===g){u[d]=h,(n?c<r:Qe.call(e,d))&&a++;continue}if(h===null||g===null||typeof h!="object"||typeof g!="object"){u[d]=g;continue}const w=de(h,g,i+1);u[d]=w,w===h&&a++}return r===o&&a===r?e:u}s(de,"replaceEqualDeep");function j(e,t){if(!t||Object.keys(e).length!==Object.keys(t).length)return!1;for(const i in e)if(e[i]!==t[i])return!1;return!0}s(j,"shallowEqualObjects");function Y(e){return Array.isArray(e)&&e.length===Object.keys(e).length}s(Y,"isPlainArray");function K(e){if(!Z(e))return!1;const t=e.constructor;if(t===void 0)return!0;const i=t.prototype;return!(!Z(i)||!i.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}s(K,"isPlainObject");function Z(e){return Object.prototype.toString.call(e)==="[object Object]"}s(Z,"hasObjectPrototype");function Ne(e){return new Promise(t=>{T.setTimeout(t,e)})}s(Ne,"sleep");function G(e,t,i){return typeof i.structuralSharing=="function"?i.structuralSharing(e,t):i.structuralSharing!==!1?de(e,t):t}s(G,"replaceData");function Ke(e,t,i=0){const n=[...e,t];return i&&n.length>i?n.slice(1):n}s(Ke,"addToEnd");function Ge(e,t,i=0){const n=[t,...e];return i&&n.length>i?n.slice(0,-1):n}s(Ge,"addToStart");var fe=Symbol();function pe(e,t){return!e.queryFn&&t?.initialPromise?()=>t.initialPromise:!e.queryFn||e.queryFn===fe?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}s(pe,"ensureQueryFn");function z(e,t){return typeof e=="function"?e(...t):!!e}s(z,"shouldThrowError");function He(e,t,i){let n=!1,r;return Object.defineProperty(e,"signal",{enumerable:!0,get:s(()=>(r??=t(),n||(n=!0,r.aborted?i():r.addEventListener("abort",i,{once:!0})),r),"get")}),e}s(He,"addConsumeAwareSignal");var $e=s(()=>Be,"isServerFn"),J=s(()=>$e(),"isServer"),Q=class{static{s(this,"Subscribable")}constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},We=class extends Q{static{s(this,"FocusManager")}#t;#e;#s;constructor(){super(),this.#s=e=>{if(typeof window<"u"&&window.addEventListener){const t=s(()=>e(),"listener");return window.addEventListener("visibilitychange",t,!1),()=>{window.removeEventListener("visibilitychange",t)}}}}onSubscribe(){this.#e||this.setEventListener(this.#s)}onUnsubscribe(){this.hasListeners()||(this.#e?.(),this.#e=void 0)}setEventListener(e){this.#s=e,this.#e?.(),this.#e=e(t=>{typeof t=="boolean"?this.setFocused(t):this.onFocus()})}setFocused(e){this.#t!==e&&(this.#t=e,this.onFocus())}onFocus(){const e=this.isFocused();this.listeners.forEach(t=>{t(e)})}isFocused(){return typeof this.#t=="boolean"?this.#t:globalThis.document?.visibilityState!=="hidden"}},me=new We,Ve=Ue;function ze(){let e=[],t=0,i=s(u=>{u()},"notifyFn"),n=s(u=>{u()},"batchNotifyFn"),r=Ve;const l=s(u=>{t?e.push(u):r(()=>{i(u)})},"schedule"),o=s(()=>{const u=e;e=[],u.length&&r(()=>{n(()=>{u.forEach(a=>{i(a)})})})},"flush");return{batch:s(u=>{let a;t++;try{a=u()}finally{t--,t||o()}return a},"batch"),batchCalls:s(u=>(...a)=>{l(()=>{u(...a)})},"batchCalls"),schedule:l,setNotifyFunction:s(u=>{i=u},"setNotifyFunction"),setBatchNotifyFunction:s(u=>{n=u},"setBatchNotifyFunction"),setScheduler:s(u=>{r=u},"setScheduler")}}s(ze,"createNotifyManager");var A=ze(),Je=class extends Q{static{s(this,"OnlineManager")}#t=!0;#e;#s;constructor(){super(),this.#s=e=>{if(typeof window<"u"&&window.addEventListener){const t=s(()=>e(!0),"onlineListener"),i=s(()=>e(!1),"offlineListener");return window.addEventListener("online",t,!1),window.addEventListener("offline",i,!1),()=>{window.removeEventListener("online",t),window.removeEventListener("offline",i)}}}}onSubscribe(){this.#e||this.setEventListener(this.#s)}onUnsubscribe(){this.hasListeners()||(this.#e?.(),this.#e=void 0)}setEventListener(e){this.#s=e,this.#e?.(),this.#e=e(this.setOnline.bind(this))}setOnline(e){this.#t!==e&&(this.#t=e,this.listeners.forEach(t=>{t(e)}))}isOnline(){return this.#t}},ye=new Je;function Xe(e){return Math.min(1e3*2**e,3e4)}s(Xe,"defaultRetryDelay");function ve(e){return(e??"online")==="online"?ye.isOnline():!0}s(ve,"canFetch");var H=class extends Error{static{s(this,"CancelledError")}constructor(e){super("CancelledError"),this.revert=e?.revert,this.silent=e?.silent}};function ge(e){let t=!1,i=0,n,r="pending",l,o;const u=new Promise((p,S)=>{l=p,o=S});u.catch(_);const a=s(()=>r!=="pending","isResolved"),c=s(p=>{if(!a()){const S=new H(p);b(S),e.onCancel?.(S)}},"cancel"),d=s(()=>{t=!0},"cancelRetry"),h=s(()=>{t=!1},"continueRetry"),g=s(()=>me.isFocused()&&(e.networkMode==="always"||ye.isOnline())&&e.canRun(),"canContinue"),w=s(()=>ve(e.networkMode)&&e.canRun(),"canStart"),f=s(p=>{a()||(n?.(),r="resolved",l(p))},"resolve"),b=s(p=>{a()||(n?.(),r="rejected",o(p))},"reject"),P=s(()=>new Promise(p=>{n=s(S=>{(a()||g())&&p(S)},"continueFn"),e.onPause?.()}).then(()=>{n=void 0,a()||e.onContinue?.()}),"pause"),E=s(()=>{if(a())return;let p;const S=i===0?e.initialPromise:void 0;try{p=S??e.fn()}catch(R){p=Promise.reject(R)}Promise.resolve(p).then(f).catch(R=>{if(a())return;const v=e.retry??(J()?0:3),O=e.retryDelay??Xe,N=typeof O=="function"?O(i,R):O,_e=v===!0||typeof v=="number"&&i<v||typeof v=="function"&&v(i,R);if(t||!_e){b(R);return}i++,e.onFail?.(i,R),Ne(N).then(()=>g()?void 0:P()).then(()=>{t?b(R):E()})})},"run");return{promise:u,status:s(()=>r,"status"),cancel:c,continue:s(()=>(n?.(),u),"continue"),cancelRetry:d,continueRetry:h,canStart:w,start:s(()=>(w()?E():P().then(E),u),"start")}}s(ge,"createRetryer");var be=class{static{s(this,"Removable")}#t;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),le(this.gcTime)&&(this.#t=T.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(J()?1/0:3e5))}clearGcTimeout(){this.#t!==void 0&&(T.clearTimeout(this.#t),this.#t=void 0)}};function Ye(e){return{onFetch:s((t,i)=>{const n=t.options,r=t.fetchOptions?.meta?.fetchMore?.direction,l=t.state.data?.pages||[],o=t.state.data?.pageParams||[];let u={pages:[],pageParams:[]},a=0;const c=s(async()=>{let d=!1;const h=s(f=>{He(f,()=>t.signal,()=>d=!0)},"addSignalProperty"),g=pe(t.options,t.fetchOptions),w=s(async(f,b,P)=>{if(d)return Promise.reject(t.signal.reason);if(b==null&&f.pages.length)return Promise.resolve(f);const p=s(()=>{const O={client:t.client,queryKey:t.queryKey,pageParam:b,direction:P?"backward":"forward",meta:t.options.meta};return h(O),O},"createQueryFnContext")(),S=await g(p),{maxPages:R}=t.options,v=P?Ge:Ke;return{pages:v(f.pages,S,R),pageParams:v(f.pageParams,b,R)}},"fetchPage");if(r&&l.length){const f=r==="backward",b=f?we:$,P={pages:l,pageParams:o};u=await w(P,b(n,P),f)}else{const f=e??l.length;do{const b=a===0?o[0]??n.initialPageParam:$(n,u);if(a>0&&b==null)break;u=await w(u,b),a++}while(a<f)}return u},"fetchFn");t.options.persister?t.fetchFn=()=>t.options.persister?.(c,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},i):t.fetchFn=c},"onFetch")}}s(Ye,"infiniteQueryBehavior");function $(e,{pages:t,pageParams:i}){const n=t.length-1;return t.length>0?e.getNextPageParam(t[n],t,i[n],i):void 0}s($,"getNextPageParam");function we(e,{pages:t,pageParams:i}){return t.length>0?e.getPreviousPageParam?.(t[0],t,i[0],i):void 0}s(we,"getPreviousPageParam");function Ut(e,t){return t?$(e,t)!=null:!1}s(Ut,"hasNextPage");function Bt(e,t){return!t||!e.getPreviousPageParam?!1:we(e,t)!=null}s(Bt,"hasPreviousPage");var qt=class extends be{static{s(this,"Query")}#t;#e;#s;#i;#r;#n;#o;#u;constructor(e){super(),this.#u=!1,this.#o=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.#r=e.client,this.#i=this.#r.getQueryCache(),this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.#e=te(this.options),this.state=e.state??this.#e,this.scheduleGc()}get meta(){return this.options.meta}get queryType(){return this.#t}get promise(){return this.#n?.promise}setOptions(e){if(this.options={...this.#o,...e},e?._type&&(this.#t=e._type),this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){const t=te(this.options);t.data!==void 0&&(this.setState(ee(t.data,t.dataUpdatedAt)),this.#e=t)}}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&this.#i.remove(this)}setData(e,t){const i=G(this.state.data,e,this.options);return this.#a({data:i,type:"success",dataUpdatedAt:t?.updatedAt,manual:t?.manual}),i}setState(e){this.#a({type:"setState",state:e})}cancel(e){const t=this.#n?.promise;return this.#n?.cancel(e),t?t.then(_).catch(_):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}get resetState(){return this.#e}reset(){this.destroy(),this.setState(this.resetState)}isActive(){return this.observers.some(e=>m(e.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===fe||!this.isFetched()}isFetched(){return this.state.dataUpdateCount+this.state.errorUpdateCount>0}isStatic(){return this.getObserversCount()>0?this.observers.some(e=>m(e.options.staleTime,this)==="static"):!1}isStale(){return this.getObserversCount()>0?this.observers.some(e=>e.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(e=0){return this.state.data===void 0?!0:e==="static"?!1:this.state.isInvalidated?!0:!he(this.state.dataUpdatedAt,e)}onFocus(){this.observers.find(e=>e.shouldFetchOnWindowFocus())?.refetch({cancelRefetch:!1}),this.#n?.continue()}onOnline(){this.observers.find(e=>e.shouldFetchOnReconnect())?.refetch({cancelRefetch:!1}),this.#n?.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),this.#i.notify({type:"observerAdded",query:this,observer:e}))}removeObserver(e){const t=this.observers.indexOf(e);t!==-1&&(this.observers.splice(t,1),this.observers.length||(this.#n&&(this.#u||this.state.fetchStatus==="paused"&&this.state.status==="pending"?this.#n.cancel({revert:!0}):this.#n.cancelRetry()),this.scheduleGc()),this.#i.notify({type:"observerRemoved",query:this,observer:e}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||this.#a({type:"invalidate"})}async fetch(e,t){if(this.state.fetchStatus!=="idle"&&this.#n?.status()!=="rejected"){if(this.state.data!==void 0&&t?.cancelRefetch)this.cancel({silent:!0});else if(this.#n)return this.#n.continueRetry(),this.#n.promise}if(e&&this.setOptions(e),!this.options.queryFn){const a=this.observers.find(c=>c.options.queryFn);a&&this.setOptions(a.options)}const i=new AbortController,n=s(a=>{Object.defineProperty(a,"signal",{enumerable:!0,get:s(()=>(this.#u=!0,i.signal),"get")})},"addSignalProperty"),r=s(()=>{const a=pe(this.options,t),d=s(()=>{const h={client:this.#r,queryKey:this.queryKey,meta:this.meta};return n(h),h},"createQueryFnContext")();return this.#u=!1,this.options.persister?this.options.persister(a,d,this):a(d)},"fetchFn"),o=s(()=>{const a={fetchOptions:t,options:this.options,queryKey:this.queryKey,client:this.#r,state:this.state,fetchFn:r};return n(a),a},"createFetchContext")();(this.#t==="infinite"?Ye(this.options.pages):this.options.behavior)?.onFetch(o,this),this.#s=this.state,(this.state.fetchStatus==="idle"||this.state.fetchMeta!==o.fetchOptions?.meta)&&this.#a({type:"fetch",meta:o.fetchOptions?.meta});const u=this.#n=ge({initialPromise:t?.initialPromise,fn:o.fetchFn,onCancel:s(a=>{a instanceof H&&a.revert&&this.setState({...this.#s,fetchStatus:"idle"}),i.abort()},"onCancel"),onFail:s((a,c)=>{this.#a({type:"failed",failureCount:a,error:c})},"onFail"),onPause:s(()=>{this.#a({type:"pause"})},"onPause"),onContinue:s(()=>{this.#a({type:"continue"})},"onContinue"),retry:o.options.retry,retryDelay:o.options.retryDelay,networkMode:o.options.networkMode,canRun:s(()=>!0,"canRun")});try{const a=await u.start();if(a===void 0)throw new Error(`${this.queryHash} data is undefined`);return this.setData(a),this.#i.config.onSuccess?.(a,this),this.#i.config.onSettled?.(a,this.state.error,this),a}catch(a){if(a instanceof H){if(a.silent)return this.#n.promise;if(a.revert){if(this.state.data===void 0)throw a;return this.state.data}}throw this.#a({type:"error",error:a}),this.#i.config.onError?.(a,this),this.#i.config.onSettled?.(this.state.data,a,this),a}finally{this.#n===u&&(this.#n=void 0),this.scheduleGc()}}#a(e){const t=s(i=>{switch(e.type){case"failed":return{...i,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case"pause":return{...i,fetchStatus:"paused"};case"continue":return{...i,fetchStatus:"fetching"};case"fetch":return{...i,...Se(i.data,this.options),fetchMeta:e.meta??null};case"success":const n={...i,...ee(e.data,e.dataUpdatedAt),dataUpdateCount:i.dataUpdateCount+1,...!e.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return this.#s=e.manual?n:void 0,n;case"error":const r=e.error;return{...i,error:r,errorUpdateCount:i.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:i.fetchFailureCount+1,fetchFailureReason:r,fetchStatus:"idle",status:"error",isInvalidated:!0};case"invalidate":return{...i,isInvalidated:!0};case"setState":return{...i,...e.state}}},"reducer");this.state=t(this.state),A.batch(()=>{this.observers.slice().forEach(i=>{i.onQueryUpdate()}),this.#i.notify({query:this,type:"updated",action:e})})}};function Se(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:ve(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}s(Se,"fetchState");function ee(e,t){return{data:e,dataUpdatedAt:t??Date.now(),error:null,isInvalidated:!1,status:"success"}}s(ee,"successState");function te(e){const t=typeof e.initialData=="function"?e.initialData():e.initialData,i=t!==void 0,n=i?typeof e.initialDataUpdatedAt=="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:i?n??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:i?"success":"pending",fetchStatus:"idle"}}s(te,"getDefaultState$1");var Ze=class extends Q{static{s(this,"QueryObserver")}#t;#e=void 0;#s=void 0;#i=void 0;#r;#n;#o;#u;#a;#f;#l;#h;#c;#p=new Set;constructor(e,t){super(),this.options=t,this.#t=e,this.#o=null,this.bindMethods(),this.setOptions(t)}bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(this.#e.addObserver(this),se(this.#e,this.options)?this.#d():this.updateResult(),this.#b())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return W(this.#e,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return W(this.#e,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.#w(),this.#S(),this.#e.removeObserver(this)}setOptions(e){const t=this.options,i=this.#e;if(this.options=this.#t.defaultQueryOptions(e),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean"&&typeof this.options.enabled!="function"&&typeof m(this.options.enabled,this.#e)!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");this.#R(),this.#e.setOptions(this.options),t._defaulted&&!j(this.options,t)&&this.#t.getQueryCache().notify({type:"observerOptionsUpdated",query:this.#e,observer:this});const n=this.hasListeners();n&&ie(this.#e,i,this.options,t)&&this.#d(),this.updateResult(),n&&(this.#e!==i||m(this.options.enabled,this.#e)!==m(t.enabled,this.#e)||m(this.options.staleTime,this.#e)!==m(t.staleTime,this.#e))&&this.#y();const r=this.#v();n&&(this.#e!==i||m(this.options.enabled,this.#e)!==m(t.enabled,this.#e)||r!==this.#c)&&this.#g(r)}getOptimisticResult(e){const t=this.#t.getQueryCache().build(this.#t,e),i=this.createResult(t,e);return j(this.getCurrentResult(),i)||(this.#i=i,this.#n=this.options,this.#r=this.#e.state),i}getCurrentResult(){return this.#i}trackResult(e,t){return new Proxy(e,{get:s((i,n)=>(this.trackProp(n),t?.(n),Reflect.get(i,n)),"get")})}trackProp(e){this.#p.add(e)}getCurrentQuery(){return this.#e}refetch({...e}={}){return this.fetch({...e})}fetchOptimistic(e){const t=this.#t.defaultQueryOptions(e),i=this.#t.getQueryCache().build(this.#t,t);let n=s(()=>{},"unsubscribe"),r;const l=new Promise(o=>{r=o,n=this.#t.getQueryCache().subscribe(u=>{u.type==="updated"&&u.query.queryHash===i.queryHash&&i.state.data!==void 0&&(n(),o(this.createResult(i,t)))})});return Promise.race([i.fetch().then(()=>{const o=this.createResult(i,t);return r?.(o),o}).finally(()=>{n()}),l])}fetch(e){return this.#d({...e,cancelRefetch:e.cancelRefetch??!0}).then(()=>(this.updateResult(),this.#i))}#d(e){this.#R();let t=this.#e.fetch(this.options,e);return e?.throwOnError||(t=t.catch(_)),t}#m(e){return!J()&&m(this.options.enabled,this.#e)!==!1&&le(e)}#y(){this.#w();const e=m(this.options.staleTime,this.#e);if(this.#i.isStale||!this.#m(e))return;const t=he(this.#i.dataUpdatedAt,e)+1;this.#l=T.setTimeout(()=>{this.#i.isStale||this.updateResult()},t)}#v(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(this.#e):this.options.refetchInterval)??!1}#g(e){this.#S(),this.#c=e,!(this.#c===0||!this.#m(this.#c))&&(this.#h=T.setInterval(()=>{(this.options.refetchIntervalInBackground||me.isFocused())&&this.#d()},this.#c))}#b(){this.#y(),this.#g(this.#v())}#w(){this.#l!==void 0&&(T.clearTimeout(this.#l),this.#l=void 0)}#S(){this.#h!==void 0&&(T.clearInterval(this.#h),this.#h=void 0)}createResult(e,t){const i=this.#e,n=this.options,r=this.#i,l=this.#r,o=this.#n,u=e!==i?e.state:this.#s,{state:a}=e;let c={...a},d=!1,h;if(t._optimisticResults){const v=this.hasListeners(),O=!v&&se(e,t),N=v&&ie(e,i,t,n);(O||N)&&(c={...c,...Se(a.data,e.options)}),t._optimisticResults==="isRestoring"&&(c.fetchStatus="idle")}let{error:g,errorUpdatedAt:w,status:f}=c;h=c.data;let b=!1;if(t.placeholderData!==void 0&&h===void 0&&f==="pending"){let v;r?.isPlaceholderData&&t.placeholderData===o?.placeholderData?(v=r.data,b=!0):v=typeof t.placeholderData=="function"?t.placeholderData(this.#f?.state.data,this.#f):t.placeholderData,v!==void 0&&(f="success",h=G(r?.data,v,t),d=!0)}if(t.select&&h!==void 0&&!b)if(r&&h===l?.data&&t.select===this.#u)h=this.#a;else try{this.#u=t.select,h=t.select(h),h=G(r?.data,h,t),this.#a=h,this.#o=null}catch(v){this.#o=v}else h===void 0&&(this.#o=null);this.#o&&(g=this.#o,h=this.#a,w=Date.now(),f="error",d=!1);const P=c.fetchStatus==="fetching",E=f==="pending",p=f==="error",S=E&&P,R=h!==void 0;return{status:f,fetchStatus:c.fetchStatus,isPending:E,isSuccess:f==="success",isError:p,isInitialLoading:S,isLoading:S,data:h,dataUpdatedAt:c.dataUpdatedAt,error:g,errorUpdatedAt:w,failureCount:c.fetchFailureCount,failureReason:c.fetchFailureReason,errorUpdateCount:c.errorUpdateCount,isFetched:e.isFetched(),isFetchedAfterMount:c.dataUpdateCount>u.dataUpdateCount||c.errorUpdateCount>u.errorUpdateCount,isFetching:P,isRefetching:P&&!E,isLoadingError:p&&!R,isPaused:c.fetchStatus==="paused",isPlaceholderData:d,isRefetchError:p&&R,isStale:X(e,t),refetch:this.refetch,isEnabled:m(t.enabled,e)!==!1}}updateResult(){const e=this.#i,t=this.createResult(this.#e,this.options);if(this.#r=this.#e.state,this.#n=this.options,this.#r.data!==void 0&&(this.#f=this.#e),j(t,e))return;this.#i=t;const n=s(()=>{if(!e)return!0;const{notifyOnChangeProps:r}=this.options,l=typeof r=="function"?r():r;if(l==="all"||!l&&!this.#p.size)return!0;const o=new Set(l??this.#p);return this.options.throwOnError&&o.add("error"),Object.keys(this.#i).some(u=>{const a=u;return this.#i[a]!==e[a]&&o.has(a)})},"shouldNotifyListeners")();A.batch(()=>{n&&this.listeners.forEach(r=>{r(this.#i)}),this.#t.getQueryCache().notify({query:this.#e,type:"observerResultsUpdated"})})}#R(){const e=this.#t.getQueryCache().build(this.#t,this.options);if(e===this.#e)return;const t=this.#e;this.#e=e,this.#s=e.state,this.hasListeners()&&(t?.removeObserver(this),e.addObserver(this))}onQueryUpdate(){this.updateResult(),this.hasListeners()&&this.#b()}};function et(e,t){return m(t.enabled,e)!==!1&&e.state.data===void 0&&!(e.state.status==="error"&&m(t.retryOnMount,e)===!1)}s(et,"shouldLoadOnMount");function se(e,t){return et(e,t)||e.state.data!==void 0&&W(e,t,t.refetchOnMount)}s(se,"shouldFetchOnMount");function W(e,t,i){if(m(t.enabled,e)!==!1&&m(t.staleTime,e)!=="static"){const n=typeof i=="function"?i(e):i;return n==="always"||n!==!1&&X(e,t)}return!1}s(W,"shouldFetchOn");function ie(e,t,i,n){return(e!==t||m(n.enabled,e)===!1)&&(!i.suspense||e.state.status!=="error")&&X(e,i)}s(ie,"shouldFetchOptionally");function X(e,t){return m(t.enabled,e)!==!1&&e.isStaleByTime(m(t.staleTime,e))}s(X,"isStale");var Qt=class extends be{static{s(this,"Mutation")}#t;#e;#s;#i;constructor(e){super(),this.#t=e.client,this.mutationId=e.mutationId,this.#s=e.mutationCache,this.#e=[],this.state=e.state||Re(),this.setOptions(e.options),this.scheduleGc()}setOptions(e){this.options=e,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(e){this.#e.includes(e)||(this.#e.push(e),this.clearGcTimeout(),this.#s.notify({type:"observerAdded",mutation:this,observer:e}))}removeObserver(e){this.#e=this.#e.filter(t=>t!==e),this.scheduleGc(),this.#s.notify({type:"observerRemoved",mutation:this,observer:e})}optionalRemove(){this.#e.length||(this.state.status==="pending"?this.scheduleGc():this.#s.remove(this))}continue(){return this.#i?.continue()??(this.state.status==="pending"?this.execute(this.state.variables):Promise.resolve())}async execute(e){const t=s(()=>{this.#r({type:"continue"})},"onContinue"),i={client:this.#t,meta:this.options.meta,mutationKey:this.options.mutationKey},n=this.#i=ge({fn:s(()=>this.options.mutationFn?this.options.mutationFn(e,i):Promise.reject(new Error("No mutationFn found")),"fn"),onFail:s((o,u)=>{this.#r({type:"failed",failureCount:o,error:u})},"onFail"),onPause:s(()=>{this.#r({type:"pause"})},"onPause"),onContinue:t,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:s(()=>this.#s.canRun(this),"canRun")}),r=this.state.status==="pending",l=!n.canStart();try{if(r)t();else{this.#r({type:"pending",variables:e,isPaused:l}),this.#s.config.onMutate&&await this.#s.config.onMutate(e,this,i);const u=await this.options.onMutate?.(e,i);u!==this.state.context&&this.#r({type:"pending",context:u,variables:e,isPaused:l})}const o=await n.start();return await this.#s.config.onSuccess?.(o,e,this.state.context,this,i),await this.options.onSuccess?.(o,e,this.state.context,i),await this.#s.config.onSettled?.(o,null,this.state.variables,this.state.context,this,i),await this.options.onSettled?.(o,null,e,this.state.context,i),this.#r({type:"success",data:o}),o}catch(o){try{await this.#s.config.onError?.(o,e,this.state.context,this,i)}catch(u){Promise.reject(u)}try{await this.options.onError?.(o,e,this.state.context,i)}catch(u){Promise.reject(u)}try{await this.#s.config.onSettled?.(void 0,o,this.state.variables,this.state.context,this,i)}catch(u){Promise.reject(u)}try{await this.options.onSettled?.(void 0,o,e,this.state.context,i)}catch(u){Promise.reject(u)}throw this.#r({type:"error",error:o}),o}finally{this.#i===n&&(this.#i=void 0),this.#s.runNext(this)}}#r(e){const t=s(i=>{switch(e.type){case"failed":return{...i,failureCount:e.failureCount,failureReason:e.error};case"pause":return{...i,isPaused:!0};case"continue":return{...i,isPaused:!1};case"pending":return{...i,context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:e.isPaused,status:"pending",variables:e.variables,submittedAt:Date.now()};case"success":return{...i,data:e.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...i,data:void 0,error:e.error,failureCount:i.failureCount+1,failureReason:e.error,isPaused:!1,status:"error"}}},"reducer");this.state=t(this.state),A.batch(()=>{this.#e.forEach(i=>{i.onMutationUpdate(e)}),this.#s.notify({mutation:this,type:"updated",action:e})})}};function Re(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}s(Re,"getDefaultState");var tt=class extends Q{static{s(this,"MutationObserver")}#t;#e=void 0;#s;#i;constructor(e,t){super(),this.#t=e,this.setOptions(t),this.bindMethods(),this.#r()}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(e){const t=this.options;this.options=this.#t.defaultMutationOptions(e),j(this.options,t)||this.#t.getMutationCache().notify({type:"observerOptionsUpdated",mutation:this.#s,observer:this}),t?.mutationKey&&this.options.mutationKey&&I(t.mutationKey)!==I(this.options.mutationKey)?this.reset():this.#s?.state.status==="pending"&&this.#s.setOptions(this.options)}onSubscribe(){this.listeners.size===1&&this.#s&&(this.#s.addObserver(this),this.#r())}onUnsubscribe(){this.hasListeners()||this.#s?.removeObserver(this)}onMutationUpdate(e){this.#r(),this.#n(e)}getCurrentResult(){return this.#e}reset(){this.#s?.removeObserver(this),this.#s=void 0,this.#r(),this.#n()}mutate(e,t){return this.#i=t,this.#s?.removeObserver(this),this.#s=this.#t.getMutationCache().build(this.#t,this.options),this.#s.addObserver(this),this.#s.execute(e)}#r(){const e=this.#s?.state??Re();this.#e={...e,isPending:e.status==="pending",isSuccess:e.status==="success",isError:e.status==="error",isIdle:e.status==="idle",mutate:this.mutate,reset:this.reset}}#n(e){A.batch(()=>{if(this.#i&&this.hasListeners()){const t=this.#e.variables,i=this.#e.context,n={client:this.#t,meta:this.options.meta,mutationKey:this.options.mutationKey};if(e?.type==="success"){try{this.#i.onSuccess?.(e.data,t,i,n)}catch(r){Promise.reject(r)}try{this.#i.onSettled?.(e.data,null,t,i,n)}catch(r){Promise.reject(r)}}else if(e?.type==="error"){try{this.#i.onError?.(e.error,t,i,n)}catch(r){Promise.reject(r)}try{this.#i.onSettled?.(void 0,e.error,t,i,n)}catch(r){Promise.reject(r)}}}this.listeners.forEach(t=>{t(this.#e)})})}},Pe=y.createContext(!1),st=s(()=>y.useContext(Pe),"useIsRestoring"),Nt=Pe.Provider;function it(){let e=!1;return{clearReset:s(()=>{e=!1},"clearReset"),reset:s(()=>{e=!0},"reset"),isReset:s(()=>e,"isReset")}}s(it,"createValue");var nt=y.createContext(it()),rt=s(()=>y.useContext(nt),"useQueryErrorResetBoundary"),at=s((e,t,i)=>{const n=i?.state.error&&typeof e.throwOnError=="function"?z(e.throwOnError,[i.state.error,i]):e.throwOnError;(e.suspense||n)&&(t.isReset()||(e.retryOnMount=!1))},"ensurePreventErrorBoundaryRetry"),ot=s(e=>{y.useEffect(()=>{e.clearReset()},[e])},"useClearResetErrorBoundary"),ut=s(({result:e,errorResetBoundary:t,throwOnError:i,query:n,suspense:r})=>e.isError&&!t.isReset()&&!e.isFetching&&n&&(r&&e.data===void 0||z(i,[e.error,n])),"getHasError"),ct=s(e=>{if(e.suspense){const i=s(r=>r==="static"?r:Math.max(r??1e3,1e3),"clamp"),n=e.staleTime;e.staleTime=typeof n=="function"?(...r)=>i(n(...r)):i(n),typeof e.gcTime=="number"&&(e.gcTime=Math.max(e.gcTime,1e3))}},"ensureSuspenseTimers"),lt=s((e,t)=>e?.suspense&&t.isPending,"shouldSuspend"),ht=s((e,t,i)=>t.fetchOptimistic(e).catch(()=>{i.clearReset()}),"fetchOptimistic");function dt(e,t,i){const n=st(),r=rt(),l=ce(i),o=l.defaultQueryOptions(e),u=l.getQueryCache().get(o.queryHash),a=e.subscribed!==!1;o._optimisticResults=n?"isRestoring":a?"optimistic":void 0,ct(o),at(o,r,u),ot(r);const[c]=y.useState(()=>new t(l,o)),d=c.getOptimisticResult(o),h=!n&&a;if(y.useSyncExternalStore(y.useCallback(g=>{const w=h?c.subscribe(A.batchCalls(g)):_;return c.updateResult(),w},[c,h]),()=>c.getCurrentResult(),()=>c.getCurrentResult()),y.useEffect(()=>{c.setOptions(o)},[o,c]),lt(o,d))throw ht(o,c,r);if(ut({result:d,errorResetBoundary:r,throwOnError:o.throwOnError,query:u,suspense:o.suspense}))throw d.error;return o.notifyOnChangeProps?d:c.trackResult(d)}s(dt,"useBaseQuery");function Kt(e,t){return dt(e,Ze,t)}s(Kt,"useQuery");function Gt(e,t){const i=ce(t),[n]=y.useState(()=>new tt(i,e));y.useEffect(()=>{n.setOptions(e)},[n,e]);const r=y.useSyncExternalStore(y.useCallback(o=>n.subscribe(A.batchCalls(o)),[n]),()=>n.getCurrentResult(),()=>n.getCurrentResult()),l=y.useCallback((...o)=>{n.mutate(o[0],o[1]).catch(_)},[n]);if(r.error&&z(n.options.throwOnError,[r.error]))throw r.error;return{...r,mutate:l,mutateAsync:r.mutate}}s(Gt,"useMutation");var ft={visible:!1,focused:!1};function M(){return typeof document>"u"?{visible:!0,focused:!0}:document.visibilityState!=="visible"?ft:{visible:!0,focused:typeof document.hasFocus=="function"?document.hasFocus():!0}}s(M,"getPageVisibility");function pt(e=M()){return e.visible?e.focused?"focused":"visible":"hidden"}s(pt,"getVisibilityHeaderValue");var D=new Set,x=M(),U=!1;function Ce(e,t){return e.visible===t.visible&&e.focused===t.focused}s(Ce,"sameState");function F(){const e=M();if(!Ce(e,x)){x=e;for(const t of D)t()}}s(F,"recompute");function mt(){U||typeof document>"u"||(U=!0,document.addEventListener("visibilitychange",F),window.addEventListener("focus",F),window.addEventListener("blur",F),window.addEventListener("pageshow",F))}s(mt,"attach");function yt(){!U||typeof document>"u"||(U=!1,document.removeEventListener("visibilitychange",F),window.removeEventListener("focus",F),window.removeEventListener("blur",F),window.removeEventListener("pageshow",F))}s(yt,"detach");function vt(e){return D.add(e),mt(),x=M(),()=>{D.delete(e),D.size===0&&yt()}}s(vt,"subscribePageVisibility");function gt(){const e=M();return Ce(e,x)||(x=e),x}s(gt,"getPageVisibilitySnapshot");function bt(){return{visible:!0,focused:!0}}s(bt,"getServerSnapshot");function Ht(){return(0,y.useSyncExternalStore)(vt,gt,bt)}s(Ht,"usePageVisibility");var ne=["KB","MB","GB"],B=null;function wt(e){if(!Number.isFinite(e)||e<=0)return"0 bytes";if(e<1024)return e===1?"1 byte":`${e} bytes`;let t=e/1024,i=0;for(;t>=1024&&i<ne.length-1;)t/=1024,i+=1;return`${t.toFixed(1).replace(/\.0$/,"")} ${ne[i]}`}s(wt,"formatAttachmentSize");function $t(e){!e||!Number.isFinite(e.maxBytes)||e.maxBytes<=0||(B={maxBytes:e.maxBytes,source:e.source})}s($t,"setAttachmentLimit");function Ee(e=B?.maxBytes){return e?`File is larger than the ${wt(e)} limit`:"File is larger than the upload size limit"}s(Ee,"attachmentTooLargeMessage");function St(e){return B!==null&&e.size>B.maxBytes}s(St,"exceedsAttachmentLimit");var Rt=/^\/(?:approvals\/[^/]+\/(?:approve|reject)|issues\/[^/]+\/interactions\/[^/]+\/(?:accept|reject|respond))$/,V=new Set;function Pt(e,t){return e==="POST"&&Rt.test(t.split("?")[0]??"")}s(Pt,"isDecisionRequest");function Ct(){for(const e of V)e()}s(Ct,"noteDecisionMade");function Wt(e){return V.add(e),()=>{V.delete(e)}}s(Wt,"onDecisionMade");var Et="You are offline. Approvals and replies wait until you are back.";function Ot(e){return window.addEventListener("online",e),window.addEventListener("offline",e),()=>{window.removeEventListener("online",e),window.removeEventListener("offline",e)}}s(Ot,"subscribe");function Oe(){return typeof navigator<"u"&&navigator.onLine===!1}s(Oe,"isOffline");function Vt(){return(0,y.useSyncExternalStore)(Ot,Oe,()=>!1)}s(Vt,"useOffline");var ke=class extends Error{static{s(this,"ApiUnavailableError")}status;constructor(e){super("Wardmote is temporarily unavailable. Please try again in a moment."),this.status=e,this.name="ApiUnavailableError"}};function zt(e){return e instanceof ke?!0:e instanceof Error?"status"in e&&[502,503,504].includes(e.status)?!0:e instanceof TypeError&&/fetch|network|load failed/i.test(e.message):!1}s(zt,"isTemporaryApiError");async function Fe(e){try{return await e.json()}catch(t){if(!(t instanceof SyntaxError))throw t;if(e.ok||e.status>=500)throw new ke(e.status);return null}}s(Fe,"readApiJson");var Te="/api",q=class extends Error{static{s(this,"ApiError")}status;body;constructor(e,t,i){super(e),this.name="ApiError",this.status=t,this.body=i}};function Jt(e){return St(e)?new q(Ee(),413,null):null}s(Jt,"oversizedUploadError");function kt(e,t){const i=t?.error;return typeof i=="string"&&i.trim()?i:e===413?Ee():`Request failed: ${e}`}s(kt,"errorMessage");function re(){return new DOMException("The operation was aborted.","AbortError")}s(re,"abortError");function xe(e){if(e.has("X-Wardmote-Tab-Visible"))return;const t=M();e.set("X-Wardmote-Tab-Visible",pt(t)),typeof window<"u"&&window.location&&e.set("X-Wardmote-Route",window.location.pathname)}s(xe,"applyObservabilityHeaders");async function Ft(e,t){const i=(t?.method??"GET").toUpperCase();if(i!=="GET"&&i!=="HEAD"&&Oe())throw new q(Et,0,null);const n=new Headers(t?.headers??void 0);!(t?.body instanceof FormData)&&!n.has("Content-Type")&&n.set("Content-Type","application/json"),xe(n);const r=await fetch(`${Te}${e}`,{credentials:"include",...t,headers:n});if(!r.ok){const l=await Fe(r);throw new q(kt(r.status,l),r.status,l)}return Pt(i,e)&&Ct(),r}s(Ft,"requestResponse");async function k(e,t){const i=await Ft(e,t);if(i.status!==204)return Fe(i)}s(k,"request");var C=new Map;function Tt(e,t){const i=t?.signal;if(i?.aborted)return Promise.reject(re());let n=C.get(e);if(!n){const u=new AbortController,a=k(e,{method:"GET",signal:u.signal,...t?.cache?{cache:t.cache}:{}}),c={promise:a,controller:u,refs:new Set};a.then(()=>{C.get(e)===c&&C.delete(e)},()=>{C.get(e)===c&&C.delete(e)}),C.set(e,c),n=c}const r=n,l=Symbol("caller");r.refs.add(l);const o=s(()=>{r.refs.delete(l)&&r.refs.size===0&&C.get(e)===r&&(C.delete(e),r.controller.abort())},"releaseRef");return new Promise((u,a)=>{const c=s(()=>{i?.removeEventListener("abort",c),o(),a(re())},"onAbort");i&&i.addEventListener("abort",c),r.promise.then(d=>{i?.removeEventListener("abort",c),r.refs.delete(l),u(d)},d=>{i?.removeEventListener("abort",c),r.refs.delete(l),a(d)})})}s(Tt,"coalescedGet");function Xt(e){C.delete(e)}s(Xt,"detachInflightGet");async function xt(e,t){const i=new Headers(t?.headers??void 0);xe(i);const n=await fetch(`${Te}${e}`,{method:"GET",headers:i,credentials:"include",...t?.signal?{signal:t.signal}:{}});if(!n.ok){const r=await n.json().catch(()=>null);throw new q(r?.error??`Request failed: ${n.status}`,n.status,r)}return n.blob()}s(xt,"requestBlob");function ae(e){return typeof e=="object"&&e!==null&&"signal"in e}s(ae,"isRequestOptions");var Yt={get:s((e,t)=>Tt(e,t),"get"),getBlob:s((e,t)=>xt(e,t),"getBlob"),post:s((e,t,i)=>k(e,{method:"POST",body:JSON.stringify(t),signal:i?.signal,...i?.headers?{headers:i.headers}:{}}),"post"),postForm:s((e,t,i)=>k(e,{method:"POST",body:t,signal:i?.signal,...i?.headers?{headers:i.headers}:{}}),"postForm"),put:s((e,t,i)=>k(e,{method:"PUT",body:JSON.stringify(t),signal:i?.signal}),"put"),putRaw:s((e,t,i)=>k(e,{method:"PUT",body:t,signal:i?.signal,headers:{"Content-Type":"application/octet-stream",...i?.headers??{}}}),"putRaw"),patch:s((e,t,i)=>k(e,{method:"PATCH",body:JSON.stringify(t),signal:i?.signal}),"patch"),delete:s((e,t,i)=>{const n=ae(t)?t:i,r=t===void 0||ae(t)?void 0:JSON.stringify(t);return k(e,{method:"DELETE",...r===void 0?{}:{body:r},signal:n?.signal})},"delete"),deleteWithBody:s((e,t,i)=>k(e,{method:"DELETE",body:JSON.stringify(t),signal:i?.signal}),"deleteWithBody")},Zt={skillSources:{preview:s((e,t,i,n,r,l)=>["skill-sources",e,"preview",t,i,n,r,l],"preview"),all:s(e=>["skill-sources",e],"all"),repositories:s(e=>["skill-source-repositories",e],"repositories")},agentChats:{list:s((e,t)=>["agent-chats",e,t],"list"),detail:s((e,t,i)=>["agent-chat",e,t,i],"detail")},companies:{all:["companies"],list:s(e=>["companies","list",e??"anonymous"],"list"),directory:s(e=>["companies","directory",e??"anonymous"],"directory"),detail:s(e=>["companies",e],"detail"),stats:["companies","stats"],exportFidelity:s(e=>["companies",e,"export-fidelity"],"exportFidelity")},apps:{gallery:s(e=>["apps",e,"gallery"],"gallery"),attention:s(e=>["apps",e,"attention"],"attention")},chatEndpoints:{list:s(e=>["chat-endpoints",e],"list"),detail:s(e=>["chat-endpoints","detail",e],"detail"),resources:s(e=>["chat-endpoints",e,"resources"],"resources"),principals:s(e=>["chat-endpoints",e,"principals"],"principals"),conversations:s(e=>["chat-endpoints",e,"conversations"],"conversations"),activity:s(e=>["chat-endpoints",e,"activity"],"activity"),openwaHealth:s(e=>["chat-endpoints",e,"openwa-health"],"openwaHealth"),openwaOwners:s(e=>["chat-endpoints",e,"openwa-owners"],"openwaOwners"),openwaSenderRules:s(e=>["chat-endpoints",e,"openwa-sender-rules"],"openwaSenderRules"),openwaChats:s(e=>["chat-endpoints",e,"openwa-chats"],"openwaChats"),openwaGatewayChats:s(e=>["chat-endpoints",e,"openwa-gateway-chats"],"openwaGatewayChats"),openwaLinkedSessions:s(e=>["chat-endpoints",e,"openwa-linked-sessions"],"openwaLinkedSessions"),openwaLinkableSessions:s(e=>["chat-endpoints",e,"openwa-linkable-sessions"],"openwaLinkableSessions"),openwaGateway:s((e,...t)=>["chat-endpoints",e,"openwa-gateway",...t],"openwaGateway"),openwaLinkedGatewayChats:s((e,t)=>["chat-endpoints",e,"openwa-linked-gateway-chats",t],"openwaLinkedGatewayChats"),audit:s(e=>["chat-endpoints",e,"audit"],"audit"),openwaApprovals:s(e=>["chat-endpoints",e,"openwa-approvals"],"openwaApprovals")},tools:{aggregatorApps:s((e,t)=>["tools","aggregator-apps",e,t],"aggregatorApps"),composioApps:s(e=>["tools","composio-apps",e],"composioApps"),applications:s(e=>["tools",e,"applications"],"applications"),connections:s(e=>["tools",e,"connections"],"connections"),connection:s(e=>["tools","connection",e],"connection"),connectionInstalls:s(e=>["tools","connection",e,"installs"],"connectionInstalls"),connectionGrants:s(e=>["tools","connection",e,"grants"],"connectionGrants"),catalog:s(e=>["tools","connection",e,"catalog"],"catalog"),connectionActivity:s(e=>["tools","connection",e,"activity"],"connectionActivity"),testAgents:s(e=>["tools","connection",e,"test-agents"],"testAgents"),testAgentAccesses:s(()=>["tools","test-agent-access"],"testAgentAccesses"),testAgentAccessesForConnection:s(e=>["tools","test-agent-access",e],"testAgentAccessesForConnection"),testAgentAccess:s((e,t)=>["tools","test-agent-access",e,t],"testAgentAccess"),testCallStatus:s((e,t)=>["tools","connection",e,"test-calls",t],"testCallStatus"),actionRequests:s((e,t)=>["tools",e,"action-requests",t],"actionRequests"),gateways:s(e=>["tools","gateways",e],"gateways"),profiles:s(e=>["tools",e,"profiles"],"profiles"),profileNewTools:s(e=>["tools","profiles",e,"new-tools"],"profileNewTools"),effectiveProfilesForAgent:s((e,t)=>["tools",e,"profiles","effective","agent",t],"effectiveProfilesForAgent"),stdioTemplates:s(e=>["tools",e,"stdio-templates"],"stdioTemplates"),runtimeSlots:s(e=>["tools",e,"runtime-slots"],"runtimeSlots"),runtimeHealth:s(e=>["tools",e,"runtime-health"],"runtimeHealth"),runDecisions:s((e,t)=>["tools",e,"runs",t,"decisions"],"runDecisions"),liveRuntimeSlots:s(e=>["tools",e,"runtime-slots","live"],"liveRuntimeSlots"),policies:s(e=>["tools",e,"policies"],"policies"),trustRules:s(e=>["tools",e,"trust-rules"],"trustRules"),audit:s((e,t)=>["tools",e,"audit",t],"audit"),activity:s((e,t)=>["tools",e,"activity",t.gateway??"__all",t.app??"__all",t.agent??"__all",t.outcome??"__all",t.window??"24h",t.search??""],"activity")},audit:{runs:s((e,t)=>["audit",e,"runs",t??"__all"],"runs"),agentActions:s((e,t)=>["audit",e,"agent-actions",t.actorScope??"agents",t.agentId??"__all",t.responsibleUserId??"__all",t.runId??"__all",t.entityType??"__all",t.entityId??"__all",t.action??"__all",t.actorType??"__all",t.from??"",t.to??""],"agentActions")},smokeLab:{services:s(e=>["smoke-lab",e,"services"],"services"),runs:s(e=>["smoke-lab",e,"runs"],"runs"),run:s((e,t)=>["smoke-lab",e,"runs",t],"run")},companySkills:{list:s(e=>["company-skills",e],"list"),listRecent:s(e=>["company-skills",e,"recent-updated"],"listRecent"),detail:s((e,t)=>["company-skills",e,t],"detail"),versions:s((e,t)=>["company-skills",e,t,"versions"],"versions"),comments:s((e,t)=>["company-skills",e,t,"comments"],"comments"),updateStatus:s((e,t)=>["company-skills",e,t,"update-status"],"updateStatus"),forkPrecheck:s((e,t)=>["company-skills",e,t,"fork-precheck"],"forkPrecheck"),file:s((e,t,i)=>["company-skills",e,t,"file",i],"file"),catalog:s((e={})=>["company-skills","catalog",e.kind??"__all-kinds__",e.category??"__all-categories__",e.q??""],"catalog"),catalogDetail:s(e=>["company-skills","catalog","detail",e],"catalogDetail"),catalogFile:s((e,t)=>["company-skills","catalog","file",e,t],"catalogFile"),testInputs:s((e,t)=>["company-skills",e,t,"test-inputs"],"testInputs"),testRunTemplates:s(e=>["company-skills",e,"test-run-templates"],"testRunTemplates"),testRuns:s((e,t,i)=>["company-skills",e,t,"test-runs",i??"__all-inputs__"],"testRuns"),testRunDetail:s((e,t,i)=>["company-skills",e,t,"test-run",i],"testRunDetail")},teamCatalog:{catalog:s((e={})=>["team-catalog","catalog",e.kind??"__all-kinds__",e.category??"__all-categories__",e.q??""],"catalog"),catalogDetail:s(e=>["team-catalog","catalog","detail",e],"catalogDetail"),catalogFile:s((e,t)=>["team-catalog","catalog","file",e,t],"catalogFile"),installed:s(e=>["team-catalog","installed",e],"installed")},agentDefaults:{values:s(e=>["agent-defaults",e],"values"),presetUsage:s(e=>["agent-defaults",e,"preset-usage"],"presetUsage"),ompSettings:s(e=>["agent-defaults",e,"omp-settings"],"ompSettings")},agents:{identity:s(e=>["agents","identity",e],"identity"),list:s(e=>["agents",e],"list"),detail:s(e=>["agents","detail",e],"detail"),runtimeState:s(e=>["agents","runtime-state",e],"runtimeState"),taskSessions:s(e=>["agents","task-sessions",e],"taskSessions"),skills:s(e=>["agents","skills",e],"skills"),instructionsBundle:s(e=>["agents","instructions-bundle",e],"instructionsBundle"),instructionCandidates:s(e=>["agents","instruction-candidates",e],"instructionCandidates"),instructionsFile:s((e,t)=>["agents","instructions-bundle",e,"file",t],"instructionsFile"),keys:s(e=>["agents","keys",e],"keys"),configRevisions:s(e=>["agents","config-revisions",e],"configRevisions"),adapterConfigBatch:s((e,t)=>["agents",e,"adapter-config-batch",[...t].sort().join(",")],"adapterConfigBatch"),adapterModels:s((e,t,i,n)=>["agents",e,"adapter-models",t,i??null,n??null],"adapterModels"),detectModel:s((e,t)=>["agents",e,"detect-model",t],"detectModel"),authSignal:s((e,t,i)=>["agents",e,"auth-signal",t,i??null],"authSignal"),activeLoginSession:s((e,t)=>["agents",e,"active-login-session",t],"activeLoginSession")},builtInAgents:{list:s(e=>["built-in-agents",e],"list")},summarySlots:{detail:s((e,t,i,n)=>["summary-slots",e,t,i,n??null],"detail"),revisions:s((e,t,i,n)=>["summary-slots",e,t,i,n??null,"revisions"],"revisions")},statusCards:{list:s((e,t)=>["status-cards",e,t?"archived":"active"],"list"),detail:s(e=>["status-cards","detail",e],"detail"),updates:s(e=>["status-cards","detail",e,"updates"],"updates"),summaryRevisions:s(e=>["status-cards","detail",e,"summary-revisions"],"summaryRevisions"),dryRun:s(e=>["status-cards","detail",e,"dry-run"],"dryRun")},pixelsOffice:{snapshot:s(e=>["pixels-office",e],"snapshot"),timeline:s((e,t,i)=>["pixels-office","timeline",e,t,i],"timeline"),unassigned:s(e=>["pixels-office","unassigned",e],"unassigned")},issues:{list:s(e=>["issues",e],"list"),mentionPool:s(e=>["issues",e,"mention-pool"],"mentionPool"),search:s((e,t,i,n)=>["issues",e,"search",t,i??"__all-projects__",n??"__no-limit__"],"search"),listAssignedToMe:s(e=>["issues",e,"assigned-to-me"],"listAssignedToMe"),listMineByMe:s(e=>["issues",e,"mine-by-me"],"listMineByMe"),listTouchedByMe:s(e=>["issues",e,"touched-by-me"],"listTouchedByMe"),listUnreadTouchedByMe:s(e=>["issues",e,"unread-touched-by-me"],"listUnreadTouchedByMe"),listBlockedAttention:s(e=>["issues",e,"blocked-attention"],"listBlockedAttention"),countBlockedAttention:s(e=>["issues",e,"blocked-attention","count"],"countBlockedAttention"),labels:s(e=>["issues",e,"labels"],"labels"),listByProject:s((e,t)=>["issues",e,"project",t],"listByProject"),listPluginOperationsByProject:s((e,t,i)=>["issues",e,"project",t,"plugin-operations",i],"listPluginOperationsByProject"),listParticipatedByAgent:s((e,t)=>["issues",e,"participated-by-agent",t],"listParticipatedByAgent"),listByParent:s((e,t)=>["issues",e,"parent",t],"listByParent"),listCreatedFromIssue:s((e,t)=>["issues",e,"created-from",t],"listCreatedFromIssue"),listByDescendantRoot:s((e,t)=>["issues",e,"descendants",t],"listByDescendantRoot"),listByExecutionWorkspace:s((e,t)=>["issues",e,"execution-workspace",t],"listByExecutionWorkspace"),detail:s(e=>["issues","detail",e],"detail"),refs:s(e=>["issues","ref",e],"refs"),ref:s((e,t)=>["issues","ref",e,t],"ref"),comments:s(e=>["issues","comments",e],"comments"),commentsList:s(e=>["issues","comments",e,"list"],"commentsList"),queuedComments:s(e=>["issues","queued-comments",e],"queuedComments"),interactions:s(e=>["issues","interactions",e],"interactions"),acceptedPlanDecompositions:s(e=>["issues","accepted-plan-decompositions",e],"acceptedPlanDecompositions"),feedbackVotes:s(e=>["issues","feedback-votes",e],"feedbackVotes"),costSummary:s((e,t={})=>t.excludeRoot?["issues","cost-summary",e,"exclude-root"]:["issues","cost-summary",e],"costSummary"),privacyConstraints:s(e=>["issues","privacy-constraints",e],"privacyConstraints"),accessGrants:s(e=>["issues","access-grants",e],"accessGrants"),attachments:s(e=>["issues","attachments",e],"attachments"),attachmentPreview:s(e=>["issues","attachment-preview",e],"attachmentPreview"),documents:s(e=>["issues","documents",e],"documents"),document:s((e,t)=>["issues","document",e,t],"document"),documentRevisions:s((e,t)=>["issues","document-revisions",e,t],"documentRevisions"),documentAnnotations:s((e,t,i="all")=>["issues","document-annotations",e,t,i],"documentAnnotations"),activity:s(e=>["issues","activity",e],"activity"),runs:s(e=>["issues","runs",e],"runs"),approvals:s(e=>["issues","approvals",e],"approvals"),liveRuns:s(e=>["issues","live-runs",e],"liveRuns"),activeRun:s(e=>["issues","active-run",e],"activeRun"),shareLink:s(e=>["issues","share-link",e],"shareLink"),agentTodo:s(e=>["issues",e,"agent-todo"],"agentTodo"),runnerGoal:s((e,t)=>["issues","runner-goal",e,t??"__effective__"],"runnerGoal"),modelOverride:s(e=>["issues","model-override",e],"modelOverride"),workProducts:s(e=>["issues","work-products",e],"workProducts"),workProductPullRequestRefresh:s(e=>["issues","work-product-pr-refresh",e],"workProductPullRequestRefresh"),fileResources:s((e,t={})=>["issues","file-resources",e,"list",t],"fileResources"),fileResource:s((e,t)=>["issues","file-resources",e,"resolve",t],"fileResource"),fileResourceContent:s((e,t)=>["issues","file-resources",e,"content",t],"fileResourceContent"),fileResourceAvailability:s((e,t)=>["issues","file-resources",e,"availability",t],"fileResourceAvailability")},routines:{list:s((e,t)=>["routines",e,t?.projectId??"__all-projects__"],"list"),detail:s(e=>["routines","detail",e],"detail"),runs:s(e=>["routines","runs",e],"runs"),revisions:s(e=>["routines","revisions",e],"revisions"),activity:s((e,t)=>["routines","activity",e,t],"activity"),documentAnnotations:s((e,t,i="all")=>["routines","document-annotations",e,t,i],"documentAnnotations")},folders:{list:s((e,t)=>["folders",e,t],"list")},pipelines:{list:s(e=>["pipelines",e],"list"),detail:s(e=>["pipelines","detail",e],"detail"),cases:s(e=>["pipelines","cases",e],"cases"),caseDetail:s(e=>["pipelines","item",e],"caseDetail"),caseChildren:s(e=>["pipelines","item",e,"children"],"caseChildren"),caseEvents:s(e=>["pipelines","item",e,"events"],"caseEvents"),caseIssueLinks:s(e=>["pipelines","item",e,"issue-links"],"caseIssueLinks"),caseOutputs:s(e=>["pipelines","item",e,"outputs"],"caseOutputs"),caseDocument:s((e,t)=>["pipelines","item",e,"document",t],"caseDocument"),caseDocumentRevisions:s((e,t)=>["pipelines","item",e,"document-revisions",t],"caseDocumentRevisions"),intakeForm:s(e=>["pipelines","intake-form",e],"intakeForm"),health:s(e=>["pipelines","health",e],"health"),document:s((e,t)=>["pipelines","document",e,t],"document"),documentRevisions:s((e,t)=>["pipelines","document-revisions",e,t],"documentRevisions"),attention:s(e=>["pipelines","attention",e],"attention"),reviewCases:s(e=>["pipelines","review-cases",e],"reviewCases"),learnings:s((e,t)=>["pipelines","learnings",e,t],"learnings")},executionWorkspaces:{list:s((e,t)=>["execution-workspaces",e,t??{}],"list"),summaryList:s((e,t)=>["execution-workspaces",e,"summary",t??{}],"summaryList"),overview:s((e,t)=>["execution-workspaces",e,"overview",t??{}],"overview"),detail:s(e=>["execution-workspaces","detail",e],"detail"),closeReadiness:s(e=>["execution-workspaces","close-readiness",e],"closeReadiness"),workspaceOperations:s(e=>["execution-workspaces","workspace-operations",e],"workspaceOperations")},environments:{list:s(e=>["environments",e],"list"),capabilities:s(e=>["environment-capabilities",e],"capabilities"),customImageTemplate:s(e=>["environments",e,"custom-image-template"],"customImageTemplate"),customImageSetupSession:s(e=>["environment-custom-image-setup-sessions",e],"customImageSetupSession")},projects:{all:s(e=>["projects",e],"all"),list:s((e,t={})=>["projects",e,{includeArchived:t.includeArchived===!0}],"list"),detail:s(e=>["projects","detail",e],"detail"),accessMembers:s(e=>["projects","access-members",e],"accessMembers")},cases:{list:s(e=>["cases",e],"list"),detail:s(e=>["cases","detail",e],"detail"),documents:s(e=>["cases","documents",e],"documents"),documentAnnotations:s((e,t,i="all")=>["cases","document-annotations",e,t,i],"documentAnnotations"),events:s(e=>["cases","events",e],"events"),children:s(e=>["cases","children",e],"children"),revisions:s((e,t)=>["cases","revisions",e,t],"revisions"),forIssue:s(e=>["cases","for-issue",e],"forIssue")},externalObjects:{byIssue:s(e=>["external-objects","by-issue",e],"byIssue"),issueSummary:s(e=>["external-objects","issue-summary",e],"issueSummary"),issueSummaries:s((e,t)=>["external-objects","issue-summaries",e,t],"issueSummaries"),projectSummary:s(e=>["external-objects","project-summary",e],"projectSummary")},goals:{list:s(e=>["goals",e],"list"),detail:s(e=>["goals","detail",e],"detail")},artifacts:{list:s((e,t,i,n,r)=>["artifacts",e,t??"all",i??"",n??"none",r??""],"list"),byAgent:s((e,t)=>["artifacts",e,"by-agent",t],"byAgent")},budgets:{overview:s(e=>["budgets","overview",e],"overview")},approvals:{list:s((e,t)=>["approvals",e,t],"list"),detail:s(e=>["approvals","detail",e],"detail"),comments:s(e=>["approvals","comments",e],"comments"),issues:s(e=>["approvals","issues",e],"issues")},access:{invites:s((e,t="all",i=20)=>["access","invites","paginated-v1",e,t,i],"invites"),joinRequests:s((e,t="pending_approval")=>["access","join-requests",e,t],"joinRequests"),companyMembers:s(e=>["access","company-members",e],"companyMembers"),companyUserDirectory:s(e=>["access","company-user-directory",e],"companyUserDirectory"),adminUsers:s(e=>["access","admin-users",e],"adminUsers"),userCompanyAccess:s(e=>["access","user-company-access",e],"userCompanyAccess"),invite:s(e=>["access","invite",e],"invite"),currentBoardAccess:["access","current-board-access"]},publicShare:{view:s((e,t)=>["public-share",e,t??"root"],"view")},auth:{session:["auth","session"]},inboxAgentPolicy:{mine:s(e=>["inbox-agent-policy",e,"me"],"mine")},sidebarPreferences:{companyOrder:s(e=>["sidebar-preferences","company-order",e],"companyOrder"),projectOrder:s((e,t)=>["sidebar-preferences","project-order",e,t],"projectOrder")},primaryAgent:{mine:s((e,t)=>["primary-agent",e,t],"mine")},resourceMemberships:{mine:s(e=>["resource-memberships",e,"me"],"mine")},instance:{settings:["instance","settings"],generalSettings:["instance","general-settings"],localRunLimits:["instance","local-run-limits"],experimentalSettings:["instance","experimental-settings"],attachmentRetention:["instance","attachment-retention"],speechToTextCredentials:["instance","speech-to-text-credentials"],updates:["instance","updates"]},health:["health"],secrets:{list:s(e=>["secrets",e],"list"),providers:s(e=>["secret-providers",e],"providers"),providerConfigs:s(e=>["secret-provider-configs",e],"providerConfigs"),usage:s(e=>["secrets","usage",e],"usage"),accessEvents:s(e=>["secrets","access-events",e],"accessEvents"),userDefinitions:s(e=>["user-secret-definitions",e],"userDefinitions"),userDefinitionCoverage:s((e,t)=>["user-secret-definitions",e,t,"coverage"],"userDefinitionCoverage"),myUserSecrets:s(e=>["my-user-secrets",e],"myUserSecrets"),proposals:s((e,t="pending")=>["secret-proposals",e,t],"proposals")},companySearch:{search:s((e,t,i,n,r)=>["company-search",e,t,i,n,r],"search")},dashboard:s(e=>["dashboard",e],"dashboard"),attention:s(e=>["attention",e],"attention"),attentionCount:s(e=>["attention",e,"count"],"attentionCount"),decisionHistory:s((e,t)=>["attention",e,"history",t],"decisionHistory"),decisions:{list:s((e,t)=>["decisions",e,t??"__all-statuses__"],"list"),detail:s(e=>["decisions","detail",e],"detail"),forTargetIssue:s((e,t)=>["decisions",e,"target",t],"forTargetIssue")},decisionQueues:{list:s(e=>["decision-queues",e],"list"),items:s((e,t)=>["decision-queues",e,"items",t],"items"),seedRules:s(e=>["decision-queues",e,"seed-rules"],"seedRules"),triage:s((e,t,i)=>["decision-triage",e,t,i],"triage")},workTimeline:s((e,t)=>["work-timeline",e,t??"all"],"workTimeline"),userProfile:s((e,t)=>["user-profile",e,t],"userProfile"),sidebarBadges:s(e=>["sidebar-badges",e],"sidebarBadges"),inboxDismissals:s(e=>["inbox-dismissals",e],"inboxDismissals"),autonomyWindows:s(e=>["autonomy-windows",e],"autonomyWindows"),activity:s(e=>["activity",e],"activity"),costs:s((e,t,i)=>["costs",e,t,i],"costs"),usageByProvider:s((e,t,i)=>["usage-by-provider",e,t,i],"usageByProvider"),usageByBiller:s((e,t,i)=>["usage-by-biller",e,t,i],"usageByBiller"),financeSummary:s((e,t,i)=>["finance-summary",e,t,i],"financeSummary"),financeByBiller:s((e,t,i)=>["finance-by-biller",e,t,i],"financeByBiller"),financeByKind:s((e,t,i)=>["finance-by-kind",e,t,i],"financeByKind"),financeEvents:s((e,t,i,n=100)=>["finance-events",e,t,i,n],"financeEvents"),usageWindowSpend:s(e=>["usage-window-spend",e],"usageWindowSpend"),usageQuotaWindows:s(e=>["usage-quota-windows",e],"usageQuotaWindows"),heartbeats:s((e,t)=>["heartbeats",e,t],"heartbeats"),runDetail:s(e=>["heartbeat-run",e],"runDetail"),providerTraceMetadata:s((e,t)=>["provider-trace-metadata",e,[...t].sort()],"providerTraceMetadata"),runWorkspaceOperations:s(e=>["heartbeat-run",e,"workspace-operations"],"runWorkspaceOperations"),liveRuns:s(e=>["live-runs",e],"liveRuns"),pausedTasks:s(e=>["paused-tasks",e],"pausedTasks"),runIssues:s(e=>["run-issues",e],"runIssues"),org:s(e=>["org",e],"org"),skills:{available:["skills","available"]},plugins:{all:["plugins"],examples:["plugins","examples"],detail:s(e=>["plugins",e],"detail"),health:s(e=>["plugins",e,"health"],"health"),uiContributions:["plugins","ui-contributions"],config:s((e,t)=>["plugins",e,"companies",t,"config"],"config"),localFolders:s((e,t)=>["plugins",e,"companies",t,"local-folders"],"localFolders"),dashboard:s(e=>["plugins",e,"dashboard"],"dashboard"),logs:s(e=>["plugins",e,"logs"],"logs")},adapters:{all:["adapters"]}};export{qt as A,Lt as B,at as C,st as D,rt as E,me as F,m as G,_ as H,Q as I,ue as J,j as K,jt as L,Bt as M,ye as N,Qt as O,A as P,I as R,lt as S,ot as T,L as U,Dt as V,de as W,ce as X,It as Y,Gt as _,Jt as a,ct as b,zt as c,Vt as d,Wt as f,Ht as g,M as h,Xt as i,Ut as j,Ze as k,Fe as l,$t as m,q as n,Ft as o,wt as p,fe as q,Yt as r,ke as s,Zt as t,Et as u,Kt as v,ut as w,ht as x,dt as y,qe as z};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{t as e}from"./createLucideIcon-CnVGnh-n.js";var a={name:"radio",size:24,node:[["path",{d:"M16.247 7.761a6 6 0 0 1 0 8.478",key:"1fwjs5"}],["path",{d:"M19.075 4.933a10 10 0 0 1 0 14.134",key:"ehdyv1"}],["path",{d:"M4.925 19.067a10 10 0 0 1 0-14.134",key:"1q22gi"}],["path",{d:"M7.753 16.239a6 6 0 0 1 0-8.478",key:"r2q7qm"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}]]};a.node;var r=e(a);export{r as t};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var p=Object.defineProperty;var n=(r,l)=>p(r,"name",{value:l,configurable:!0});import{i as b}from"./rolldown-runtime-ZpX3ckPj.js";import{l as h,na as g,ta as k}from"./createLucideIcon-CnVGnh-n.js";import{t as w}from"./check-C1U2nLnR.js";var A=b(g(),1),a=b(k(),1);function j({selected:r,title:l,description:t,icon:s,tooltip:c,className:u,...m}){return(0,a.jsxs)("button",{type:"button",role:"radio","aria-checked":r,"data-state":r?"checked":"unchecked",className:h("group relative flex w-full flex-col items-start gap-1 rounded-md border px-4 py-3 text-left transition-colors","motion-safe:transition-(--tp-border-color-background-color) motion-safe:duration-150",r?"border-accent bg-accent/5 ring-1 ring-accent":"border-line hover:border-line hover:bg-bg-3/40","disabled:cursor-not-allowed disabled:opacity-60",u),title:c,...m,children:[(0,a.jsxs)("div",{className:"flex w-full items-center justify-between gap-2",children:[(0,a.jsxs)("span",{className:"flex min-w-0 items-center gap-2 text-sm font-medium",children:[s?(0,a.jsx)("span",{"data-slot":"radio-card-icon",className:"shrink-0 text-ink-3","aria-hidden":"true",children:s}):null,(0,a.jsx)("span",{children:l})]}),r?(0,a.jsx)(w,{className:"h-4 w-4 shrink-0 text-accent"}):null]}),t?(0,a.jsx)("span",{className:"text-xs text-ink-3",children:t}):null]})}n(j,"RadioCard");function D({value:r,onValueChange:l,options:t,ariaLabel:s,disabled:c,className:u}){const m=n(e=>{if(c)return;const x=t.findIndex(i=>i.value===r);if(x===-1)return;let d=null;if(e.key==="ArrowDown"||e.key==="ArrowRight"?d=1:(e.key==="ArrowUp"||e.key==="ArrowLeft")&&(d=-1),d===null)return;e.preventDefault();const o=t.length;for(let i=1;i<=o;i++){const f=t[((x+d*i)%o+o)%o];if(!f.disabled){l(f.value);return}}},"handleKeyDown");return(0,a.jsx)("div",{role:"radiogroup","aria-label":s,className:h("grid gap-2",u),onKeyDown:m,children:t.map(e=>(0,a.jsx)(j,{selected:e.value===r,title:e.title,description:e.description,icon:e.icon,tooltip:e.tooltip,"aria-label":e.accessibleLabel,disabled:c||e.disabled,tabIndex:e.value===r?0:-1,onClick:n(()=>l(e.value),"onClick")},e.value))})}n(D,"RadioCardGroup");export{D as t};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var f=Object.defineProperty;var o=(e,t)=>f(e,"name",{value:t,configurable:!0});import{i as h}from"./rolldown-runtime-ZpX3ckPj.js";import{na as _}from"./createLucideIcon-CnVGnh-n.js";var l=h(_(),1),c="wardmote:recent-agent-chats",g=o((e,t)=>`wardmote.recentAgentChats:${e}:${t??"__local_board__"}`,"key"),w=new Map,u=o((e,t,r)=>`wardmote.recentAgentChatIssue:${e}:${t??"__local_board__"}:${r}`,"issueKey"),s=new Map;function m(e){try{return window.localStorage.getItem(e)??w.get(e)??"[]"}catch{return w.get(e)??"[]"}}o(m,"read");function v(e){try{const t=JSON.parse(e);return Array.isArray(t)?[...new Set(t.filter(r=>typeof r=="string"))].slice(0,50):[]}catch{return[]}}o(v,"parseRecentAgentChats");function E(e,t,r,n){const i=g(e,t),d=JSON.stringify([r,...v(m(i)).filter(a=>a!==r)].slice(0,50));w.set(i,d);try{window.localStorage.setItem(i,d)}catch{}if(n!==void 0){const a=u(e,t,r);try{n?window.localStorage.setItem(a,n):window.localStorage.removeItem(a),s.delete(a)}catch{n?s.set(a,n):s.delete(a)}}window.dispatchEvent(new Event(c))}o(E,"recordAgentChatVisit");function C(e,t,r){const n=u(e,t,r);try{return window.localStorage.getItem(n)??s.get(n)??null}catch{return s.get(n)??null}}o(C,"recordedAgentChatIssueId");function y(e){return window.addEventListener(c,e),window.addEventListener("storage",e),()=>{window.removeEventListener(c,e),window.removeEventListener("storage",e)}}o(y,"subscribe");function I(e,t){const r=(0,l.useCallback)(()=>m(g(e,t)),[e,t]);return v((0,l.useSyncExternalStore)(y,r,()=>"[]"))}o(I,"useRecentAgentChats");export{C as n,I as r,E as t};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{t as a}from"./createLucideIcon-CnVGnh-n.js";var e={name:"refresh-cw",size:24,node:[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]]};e.node;var r=a(e);export{r as t};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{t as e}from"./createLucideIcon-CnVGnh-n.js";var a={name:"repeat",size:24,node:[["path",{d:"m17 2 4 4-4 4",key:"nntrym"}],["path",{d:"M3 11v-1a4 4 0 0 1 4-4h14",key:"84bu3i"}],["path",{d:"m7 22-4-4 4-4",key:"1wqhfi"}],["path",{d:"M21 13v1a4 4 0 0 1-4 4H3",key:"1rx37r"}]]};a.node;var r=e(a);export{r as t};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var pt=Object.defineProperty;var i=(e,t)=>pt(e,"name",{value:t,configurable:!0});import{i as Ue}from"./rolldown-runtime-ZpX3ckPj.js";import{l as pe,na as ht,ta as gt}from"./createLucideIcon-CnVGnh-n.js";var W=Ue(gt(),1),R=Ue(ht(),1);function vt(e,t){const n=getComputedStyle(e);return t*parseFloat(n.fontSize)}i(vt,"St");function mt(e,t){const n=getComputedStyle(e.ownerDocument.documentElement);return t*parseFloat(n.fontSize)}i(mt,"vt");function bt(e){return e/100*window.innerHeight}i(bt,"bt");function yt(e){return e/100*window.innerWidth}i(yt,"zt");function zt(e){switch(typeof e){case"number":return[e,"px"];case"string":{const t=parseFloat(e);return e.endsWith("%")?[t,"%"]:e.endsWith("px")?[t,"px"]:e.endsWith("rem")?[t,"rem"]:e.endsWith("em")?[t,"em"]:e.endsWith("vh")?[t,"vh"]:e.endsWith("vw")?[t,"vw"]:[t,"%"]}}}i(zt,"xt");function ie({groupSize:e,panelElement:t,styleProp:n}){let o;const[r,a]=zt(n);switch(a){case"%":o=r/100*e;break;case"px":o=r;break;case"rem":o=mt(t,r);break;case"em":o=vt(t,r);break;case"vh":o=bt(r);break;case"vw":o=yt(r)}return o}i(ie,"ie");function N(e){return parseFloat(e.toFixed(3))}i(N,"T");function ne({group:e}){const{orientation:t,panels:n}=e;return n.reduce((o,r)=>(o+=t==="horizontal"?r.element.offsetWidth:r.element.offsetHeight,o),0)}i(ne,"ne");function ve(e){const{panels:t}=e,n=ne({group:e});return n===0?t.map(o=>({groupResizeBehavior:o.panelConstraints.groupResizeBehavior,collapsedSize:0,collapsible:o.panelConstraints.collapsible===!0,defaultSize:void 0,disabled:o.panelConstraints.disabled,minSize:0,maxSize:100,panelId:o.id})):t.map(o=>{const{element:r,panelConstraints:a}=o;let d=0;a.collapsedSize!==void 0&&(d=N(ie({groupSize:n,panelElement:r,styleProp:a.collapsedSize})/n*100));let l;a.defaultSize!==void 0&&(l=N(ie({groupSize:n,panelElement:r,styleProp:a.defaultSize})/n*100));let s=0;a.minSize!==void 0&&(s=N(ie({groupSize:n,panelElement:r,styleProp:a.minSize})/n*100));let u=100;return a.maxSize!==void 0&&(u=N(ie({groupSize:n,panelElement:r,styleProp:a.maxSize})/n*100)),{groupResizeBehavior:a.groupResizeBehavior,collapsedSize:d,collapsible:a.collapsible===!0,defaultSize:l,disabled:a.disabled,minSize:s,maxSize:u,panelId:o.id}})}i(ve,"ve");function L(e,t="Assertion error"){if(!e)throw Error(t)}i(L,"C");function me(e,t){return Array.from(t).sort(e==="horizontal"?St:wt)}i(me,"be");function St(e,t){const n=e.element.offsetLeft-t.element.offsetLeft;return n!==0?n:e.element.offsetWidth-t.element.offsetWidth}i(St,"Pt");function wt(e,t){const n=e.element.offsetTop-t.element.offsetTop;return n!==0?n:e.element.offsetHeight-t.element.offsetHeight}i(wt,"wt");function Ve(e){return e!==null&&typeof e=="object"&&"nodeType"in e&&e.nodeType===Node.ELEMENT_NODE}i(Ve,"Ye");function _e(e,t){return{x:e.x>=t.left&&e.x<=t.right?0:Math.min(Math.abs(e.x-t.left),Math.abs(e.x-t.right)),y:e.y>=t.top&&e.y<=t.bottom?0:Math.min(Math.abs(e.y-t.top),Math.abs(e.y-t.bottom))}}i(_e,"Je");function xt({orientation:e,rects:t,targetRect:n}){const o={x:n.x+n.width/2,y:n.y+n.height/2};let r,a=Number.MAX_VALUE;for(const d of t){const{x:l,y:s}=_e(o,d),u=e==="horizontal"?l:s;u<a&&(a=u,r=d)}return L(r,"No rect found"),r}i(xt,"Lt");var ce;function Ct(){return ce===void 0&&(typeof matchMedia=="function"?ce=!!matchMedia("(pointer:coarse)").matches:ce=!1),ce}i(Ct,"Ct");function Ye(e){const{element:t,orientation:n,panels:o,separators:r}=e,a=me(n,Array.from(t.children).filter(Ve).map(p=>({element:p}))).map(({element:p})=>p),d=[];let l=!1,s=!1,u=-1,c=-1,f=0,S,g=[];{let p=-1;for(const h of a)h.hasAttribute("data-panel")&&(p++,h.hasAttribute("data-disabled")||(f++,u===-1&&(u=p),c=p))}if(f>1){let p=-1;for(const h of a)if(h.hasAttribute("data-panel")){p++;const b=o.find(v=>v.element===h);if(b){if(S){const v=S.element.getBoundingClientRect(),m=h.getBoundingClientRect();let y;if(s){const w=n==="horizontal"?new DOMRect(v.right,v.top,0,v.height):new DOMRect(v.left,v.bottom,v.width,0),z=n==="horizontal"?new DOMRect(m.left,m.top,0,m.height):new DOMRect(m.left,m.top,m.width,0);switch(g.length){case 0:y=[w,z];break;case 1:{const M=g[0];y=[M,xt({orientation:n,rects:[v,m],targetRect:M.element.getBoundingClientRect()})===v?z:w];break}default:y=g}}else g.length?y=g:y=[n==="horizontal"?new DOMRect(v.right,m.top,m.left-v.right,m.height):new DOMRect(m.left,v.bottom,m.width,m.top-v.bottom)];for(const w of y){let z="width"in w?w:w.element.getBoundingClientRect();const M=Ct()?e.resizeTargetMinimumSize.coarse:e.resizeTargetMinimumSize.fine;if(z.width<M){const D=M-z.width;z=new DOMRect(z.x-D/2,z.y,z.width+D,z.height)}if(z.height<M){const D=M-z.height;z=new DOMRect(z.x,z.y-D/2,z.width,z.height+D)}!l&&!(p<=u||p>c)&&d.push({group:e,groupSize:ne({group:e}),panels:[S,b],separator:"width"in w?void 0:w,rect:z}),l=!1}}s=!1,S=b,g=[]}}else if(h.hasAttribute("data-separator")){h.ariaDisabled!==null&&(l=!0);const b=r.find(v=>v.element===h);b?g.push(b):(S=void 0,g=[])}else s=!0}return d}i(Ye,"Ze");var Xe=class{static{i(this,"Qe")}#e={};addListener(e,t){const n=this.#e[e];return n===void 0?this.#e[e]=[t]:n.includes(t)||n.push(t),()=>{this.removeListener(e,t)}}emit(e,t){const n=this.#e[e];if(n!==void 0)if(n.length===1)n[0].call(null,t);else{let o=!1,r=null;const a=Array.from(n);for(let d=0;d<a.length;d++){const l=a[d];try{l.call(null,t)}catch(s){r===null&&(o=!0,r=s)}}if(o)throw r}}removeAllListeners(){this.#e={}}removeListener(e,t){const n=this.#e[e];if(n!==void 0){const o=n.indexOf(t);o>=0&&n.splice(o,1)}}},ee={cursorFlags:0,state:"inactive"},be=new Xe;function Y(){return ee}i(Y,"W");function Pt(e){return be.addListener("change",e)}i(Pt,"Rt");function Lt(e){const t=ee,n={...ee};n.cursorFlags=e,ee=n,be.emit("change",{prev:t,next:n})}i(Lt,"Et");function te(e){const t=ee;ee=e,be.emit("change",{prev:t,next:e})}i(te,"te");var Rt=i(e=>e,"Mt"),ge=i(()=>{},"ye"),qe=1,Je=2,Ke=4,Ze=8,Re=3,Ee=12,de;function Me(){return de===void 0&&(de=!1,typeof window<"u"&&(window.navigator.userAgent.includes("Chrome")||window.navigator.userAgent.includes("Firefox"))&&(de=!0)),de}i(Me,"De");function Et({cursorFlags:e,groups:t,state:n}){let o=0,r=0;switch(n){case"active":case"hover":t.forEach(a=>{if(!a.mutableState.disableCursor)switch(a.orientation){case"horizontal":o++;break;case"vertical":r++;break}})}if(!(o===0&&r===0)){switch(n){case"active":if(e&&Me()){const a=(e&qe)!==0,d=(e&Je)!==0,l=(e&Ke)!==0,s=(e&Ze)!==0;if(a)return l?"se-resize":s?"ne-resize":"e-resize";if(d)return l?"sw-resize":s?"nw-resize":"w-resize";if(l)return"s-resize";if(s)return"n-resize"}}return Me()?o>0&&r>0?"move":o>0?"ew-resize":"ns-resize":o>0&&r>0?"grab":o>0?"col-resize":"row-resize"}}i(Et,"It");var ke=new WeakMap;function ye(e){if(!e.defaultView||!e.adoptedStyleSheets)return;let{prevStyle:t,styleSheet:n}=ke.get(e)??{};n===void 0&&(n=new e.defaultView.CSSStyleSheet,e.adoptedStyleSheets&&(Object.isExtensible(e.adoptedStyleSheets)?e.adoptedStyleSheets.push(n):e.adoptedStyleSheets=[...e.adoptedStyleSheets,n]));const o=Y();switch(o.state){case"active":case"hover":{const r=Et({cursorFlags:o.cursorFlags,groups:o.hitRegions.map(d=>d.group),state:o.state}),a=`*, *:hover {cursor: ${r} !important; }`;if(t===a)return;t=a,r?n.cssRules.length===0?n.insertRule(a):n.replaceSync(a):n.cssRules.length===1&&n.deleteRule(0);break}case"inactive":t=void 0,n.cssRules.length===1&&n.deleteRule(0)}ke.set(e,{prevStyle:t,styleSheet:n})}i(ye,"xe");var A=new Map,Qe=new Xe;function Mt(e){A=new Map(A),A.delete(e)}i(Mt,"kt");function De(e,t){for(const[n]of A)if(n.id===e)return n}i(De,"Oe");function U(e,t){for(const[n,o]of A)if(n.id===e)return o;if(t)throw Error(`Could not find data for Group with id ${e}`)}i(U,"H");function V(){return A}i(V,"V");function ze(e,t){return Qe.addListener("groupChange",n=>{n.group.id===e&&t(n)})}i(ze,"Pe");function H(e,t,n){const o=A.get(e);A=new Map(A),A.set(e,t),Qe.emit("groupChange",{group:e,isUserInteraction:n?.isUserInteraction===!0,prev:o,next:t})}i(H,"j");function et(e){const t=Y(),n=V();let o=!1;return t.state==="active"&&(te({cursorFlags:0,state:"inactive"}),t.hitRegions.length>0&&(ye(e),o=!0,t.hitRegions.forEach(r=>{if(!n.has(r.group))return;const a=U(r.group.id,!0);H(r.group,a,{isUserInteraction:!0})}))),o}i(et,"rt");function Ie(e){e.defaultPrevented||et(e.currentTarget)}i(Ie,"Ge");function kt(e,t,n){let o,r={x:1/0,y:1/0};for(const a of t){const d=_e(n,a.rect);switch(e){case"horizontal":d.x<=r.x&&(o=a,r=d);break;case"vertical":d.y<=r.y&&(o=a,r=d)}}return o?{distance:r,hitRegion:o}:void 0}i(kt,"Dt");function Dt(e){return e!==null&&typeof e=="object"&&"nodeType"in e&&e.nodeType===Node.DOCUMENT_FRAGMENT_NODE}i(Dt,"Tt");function It(e,t){if(e===t)throw new Error("Cannot compare node with itself");const n={a:je(e),b:je(t)};let o;for(;n.a.at(-1)===n.b.at(-1);)o=n.a.pop(),n.b.pop();L(o,"Stacking order can only be calculated for elements with a common ancestor");const r={a:Ne(Te(n.a)),b:Ne(Te(n.b))};if(r.a===r.b){const a=o.childNodes,d={a:n.a.at(-1),b:n.b.at(-1)};let l=a.length;for(;l--;){const s=a[l];if(s===d.a)return 1;if(s===d.b)return-1}}return Math.sign(r.a-r.b)}i(It,"Ot");var Tt=/\b(?:position|zIndex|opacity|transform|webkitTransform|mixBlendMode|filter|webkitFilter|isolation)\b/;function Nt(e){const t=getComputedStyle(tt(e)??e).display;return t==="flex"||t==="inline-flex"}i(Nt,"At");function jt(e){const t=getComputedStyle(e);return!!(t.position==="fixed"||t.zIndex!=="auto"&&(t.position!=="static"||Nt(e))||+t.opacity<1||"transform"in t&&t.transform!=="none"||"webkitTransform"in t&&t.webkitTransform!=="none"||"mixBlendMode"in t&&t.mixBlendMode!=="normal"||"filter"in t&&t.filter!=="none"||"webkitFilter"in t&&t.webkitFilter!=="none"||"isolation"in t&&t.isolation==="isolate"||Tt.test(t.willChange)||t.webkitOverflowScrolling==="touch")}i(jt,"Ft");function Te(e){let t=e.length;for(;t--;){const n=e[t];if(L(n,"Missing node"),jt(n))return n}return null}i(Te,"Ae");function Ne(e){return e&&Number(getComputedStyle(e).zIndex)||0}i(Ne,"Fe");function je(e){const t=[];for(;e;)t.push(e),e=tt(e);return t}i(je,"Ne");function tt(e){const{parentNode:t}=e;return Dt(t)?t.host:t}i(tt,"st");function Ot(e,t){return e.x<t.x+t.width&&e.x+e.width>t.x&&e.y<t.y+t.height&&e.y+e.height>t.y}i(Ot,"Nt");function Ft({groupElement:e,hitRegion:t,pointerEventTarget:n}){if(!Ve(n)||n.contains(e)||e.contains(n))return!0;if(It(n,e)>0){let o=n;for(;o;){if(o.contains(e))return!0;if(Ot(o.getBoundingClientRect(),t))return!1;o=o.parentElement}}return!0}i(Ft,"_t");function Se(e,t){const n=[];return t.forEach((o,r)=>{if(r.disabled)return;const a=Ye(r),d=kt(r.orientation,a,{x:e.clientX,y:e.clientY});d&&d.distance.x<=0&&d.distance.y<=0&&Ft({groupElement:r.element,hitRegion:d.hitRegion.rect,pointerEventTarget:e.target})&&n.push(d.hitRegion)}),n}i(Se,"we");function At(e,t){if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(e[n]!=t[n])return!1;return!0}i(At,"$t");function I(e,t,n=0){return Math.abs(N(e)-N(t))<=n}i(I,"k");function F(e,t){return I(e,t)?0:e>t?1:-1}i(F,"A");function Q({overrideDisabledPanels:e,panelConstraints:t,prevSize:n,size:o}){const{collapsedSize:r=0,collapsible:a,disabled:d,maxSize:l=100,minSize:s=0}=t;if(d&&!e)return n;if(F(o,s)<0)if(a){const u=(r+s)/2;F(o,u)<0?o=r:o=s}else o=s;return o=Math.min(l,o),o=N(o),o}i(Q,"Z");function se({delta:e,initialLayout:t,panelConstraints:n,pivotIndices:o,prevLayout:r,trigger:a}){if(I(e,0))return t;const d=a==="imperative-api",l=Object.values(t),s=Object.values(r),u=[...l],[c,f]=o;L(c!=null,"Invalid first pivot index"),L(f!=null,"Invalid second pivot index");let S=0;switch(a){case"keyboard":{const p=e<0?f:c,h=n[p];L(h,`Panel constraints not found for index ${p}`);const{collapsedSize:b=0,collapsible:v,minSize:m=0}=h;if(v){const y=l[p];if(L(y!=null,`Previous layout not found for panel index ${p}`),I(y,b)){const w=m-y;F(w,Math.abs(e))>0&&(e=e<0?0-w:w)}}}{const p=e<0?c:f,h=n[p];L(h,`No panel constraints found for index ${p}`);const{collapsedSize:b=0,collapsible:v,minSize:m=0}=h;if(v){const y=l[p];if(L(y!=null,`Previous layout not found for panel index ${p}`),I(y,m)){const w=y-b;F(w,Math.abs(e))>0&&(e=e<0?0-w:w)}}}break;default:{const p=e<0?f:c,h=n[p];L(h,`Panel constraints not found for index ${p}`);const b=l[p],{collapsible:v,collapsedSize:m,minSize:y}=h;if(v&&F(b,y)<0)if(e>0){const w=y-m,z=w/2;F(b+e,y)<0&&(e=F(e,z)<=0?0:w)}else{const w=y-m,z=100-w/2;F(b-e,y)<0&&(e=F(100+e,z)>0?0:-w)}break}}{const p=e<0?1:-1;let h=e<0?f:c,b=0;for(;;){const m=l[h];L(m!=null,`Previous layout not found for panel index ${h}`);const y=Q({overrideDisabledPanels:d,panelConstraints:n[h],prevSize:m,size:100})-m;if(b+=y,h+=p,h<0||h>=n.length)break}const v=Math.min(Math.abs(e),Math.abs(b));e=e<0?0-v:v}{let p=e<0?c:f;for(;p>=0&&p<n.length;){const h=Math.abs(e)-Math.abs(S),b=l[p];L(b!=null,`Previous layout not found for panel index ${p}`);const v=b-h,m=Q({overrideDisabledPanels:d,panelConstraints:n[p],prevSize:b,size:v});if(!I(b,m)&&(S+=b-m,u[p]=m,S.toFixed(3).localeCompare(Math.abs(e).toFixed(3),void 0,{numeric:!0})>=0))break;e<0?p--:p++}}if(At(s,u))return r;{const p=e<0?f:c,h=l[p];L(h!=null,`Previous layout not found for panel index ${p}`);const b=h+S,v=Q({overrideDisabledPanels:d,panelConstraints:n[p],prevSize:h,size:b});if(u[p]=v,!I(v,b)){let m=b-v,y=e<0?f:c;for(;y>=0&&y<n.length;){const w=u[y];L(w!=null,`Previous layout not found for panel index ${y}`);const z=w+m,M=Q({overrideDisabledPanels:d,panelConstraints:n[y],prevSize:w,size:z});if(I(w,M)||(m-=M-w,u[y]=M),I(m,0))break;e>0?y--:y++}}}if(!I(Object.values(u).reduce((p,h)=>h+p,0),100,.1))return r;const g=Object.keys(r);return u.reduce((p,h,b)=>(p[g[b]]=h,p),{})}i(se,"le");function X(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(t[n]===void 0||F(e[n],t[n])!==0)return!1;return!0}i(X,"K");function q({layout:e,panelConstraints:t}){const n=Object.values(e),o=[...n],r=o.reduce((l,s)=>l+s,0);if(o.length!==t.length)throw Error(`Invalid ${t.length} panel layout: ${o.map(l=>`${l}%`).join(", ")}`);if(!I(r,100)&&o.length>0)for(let l=0;l<t.length;l++){const s=o[l];L(s!=null,`No layout data found for index ${l}`);const u=100/r*s;o[l]=u}let a=0;for(let l=0;l<t.length;l++){const s=n[l];L(s!=null,`No layout data found for index ${l}`);const u=o[l];L(u!=null,`No layout data found for index ${l}`);const c=Q({overrideDisabledPanels:!0,panelConstraints:t[l],prevSize:s,size:u});u!=c&&(a+=u-c,o[l]=c)}if(!I(a,0))for(let l=0;l<t.length;l++){const s=o[l];L(s!=null,`No layout data found for index ${l}`);const u=s+a,c=Q({overrideDisabledPanels:!0,panelConstraints:t[l],prevSize:s,size:u});if(s!==c&&(a-=c-s,o[l]=c,I(a,0)))break}const d=Object.keys(e);return o.reduce((l,s,u)=>(l[d[u]]=s,l),{})}i(q,"X");function nt({groupId:e,panelId:t}){const n=i(()=>{const s=V();for(const[u,{defaultLayoutDeferred:c,derivedPanelConstraints:f,layout:S,groupSize:g,separatorToPanels:p}]of s)if(u.id===e)return{defaultLayoutDeferred:c,derivedPanelConstraints:f,group:u,groupSize:g,layout:S,separatorToPanels:p};throw Error(`Group ${e} not found`)},"n"),o=i(()=>{const s=n().derivedPanelConstraints.find(u=>u.panelId===t);if(s!==void 0)return s;throw Error(`Panel constraints not found for Panel ${t}`)},"o"),r=i(()=>{const s=n().group.panels.find(u=>u.id===t);if(s!==void 0)return s;throw Error(`Layout not found for Panel ${t}`)},"i"),a=i(()=>{const s=n().layout[t];if(s!==void 0)return s;throw Error(`Layout not found for Panel ${t}`)},"s"),d=i(({nextSize:s,panels:u,prevLayout:c,derivedPanelConstraints:f})=>{const S=a(),g=u.findIndex(b=>b.id===t),p=g===0,h=g===u.length-1;if(h&&s<S&&(p||u.slice(0,g).every((b,v)=>{const m=f[v];return m?.collapsible&&I(m.collapsedSize,c[m.panelId])}))){const b=u.slice(0,g).reduce((v,m)=>v+c[m.id],0);return{...c,[t]:N(100-b)}}return se({delta:h?S-s:s-S,initialLayout:c,panelConstraints:f,pivotIndices:h?[g-1,g]:[g,g+1],prevLayout:c,trigger:"imperative-api"})},"u"),l=i(s=>{if(s===a())return;const{defaultLayoutDeferred:u,derivedPanelConstraints:c,group:f,groupSize:S,layout:g,separatorToPanels:p}=n(),h=q({layout:d({nextSize:s,panels:f.panels,prevLayout:g,derivedPanelConstraints:c}),panelConstraints:c});X(g,h)||H(f,{defaultLayoutDeferred:u,derivedPanelConstraints:c,groupSize:S,layout:h,separatorToPanels:p})},"a");return{collapse:i(()=>{const{collapsible:s,collapsedSize:u}=o(),{mutableValues:c}=r(),f=a();s&&f!==u&&(c.expandToSize=f,l(u))},"collapse"),expand:i(()=>{const{collapsible:s,collapsedSize:u,minSize:c}=o(),{mutableValues:f}=r(),S=a();if(s&&S===u){let g=f.expandToSize??c;g===0&&(g=1),l(g)}},"expand"),getSize:i(()=>{const{group:s}=n(),u=a(),{element:c}=r();return{asPercentage:u,inPixels:s.orientation==="horizontal"?c.offsetWidth:c.offsetHeight}},"getSize"),isCollapsed:i(()=>{const{collapsible:s,collapsedSize:u}=o(),c=a();return s&&I(u,c)},"isCollapsed"),resize:i(s=>{const{group:u}=n(),{element:c}=r(),f=ne({group:u}),S=N(ie({groupSize:f,panelElement:c,styleProp:s})/f*100);l(S)},"resize")}}i(nt,"at");function Oe(e){e.defaultPrevented||Se(e,V()).forEach(t=>{if(t.separator&&!t.separator.disableDoubleClick){const n=t.panels.find(o=>o.panelConstraints.defaultSize!==void 0);if(n){const o=n.panelConstraints.defaultSize,r=nt({groupId:t.group.id,panelId:n.id});r&&o!==void 0&&(r.resize(o),e.preventDefault())}}})}i(Oe,"_e");function fe(e){const t=V();for(const[n]of t)if(n.separators.some(o=>o.element===e))return n;throw Error("Could not find parent Group for separator element")}i(fe,"pe");function ot({groupId:e}){const t=i(()=>{const n=V();for(const[o,r]of n)if(o.id===e)return{group:o,...r};throw Error(`Could not find Group with id "${e}"`)},"t");return{getLayout(){const{defaultLayoutDeferred:n,layout:o}=t();return n?{}:o},setLayout(n){const{defaultLayoutDeferred:o,derivedPanelConstraints:r,group:a,groupSize:d,layout:l,separatorToPanels:s}=t(),u=q({layout:n,panelConstraints:r});return o?l:(X(l,u)||H(a,{defaultLayoutDeferred:o,derivedPanelConstraints:r,groupSize:d,layout:u,separatorToPanels:s}),u)}}}i(ot,"lt");function _(e,t){const n=fe(e),o=U(n.id,!0),r=n.separators.find(u=>u.element===e);L(r,"Matching separator not found");const a=o.separatorToPanels.get(r);L(a,"Matching panels not found");const d=a.map(u=>n.panels.indexOf(u)),l=ot({groupId:n.id}).getLayout(),s=q({layout:se({delta:t,initialLayout:l,panelConstraints:o.derivedPanelConstraints,pivotIndices:d,prevLayout:l,trigger:"keyboard"}),panelConstraints:o.derivedPanelConstraints});X(l,s)||H(n,{defaultLayoutDeferred:o.defaultLayoutDeferred,derivedPanelConstraints:o.derivedPanelConstraints,groupSize:o.groupSize,layout:s,separatorToPanels:o.separatorToPanels},{isUserInteraction:!0})}i(_,"B");function Fe(e){if(e.defaultPrevented)return;const t=e.currentTarget,n=fe(t);if(!n.disabled)switch(e.key){case"ArrowDown":e.preventDefault(),n.orientation==="vertical"&&_(t,5);break;case"ArrowLeft":e.preventDefault(),n.orientation==="horizontal"&&_(t,-5);break;case"ArrowRight":e.preventDefault(),n.orientation==="horizontal"&&_(t,5);break;case"ArrowUp":e.preventDefault(),n.orientation==="vertical"&&_(t,-5);break;case"End":e.preventDefault(),_(t,100);break;case"Enter":{e.preventDefault();const o=fe(t),{derivedPanelConstraints:r,layout:a,separatorToPanels:d}=U(o.id,!0),l=o.separators.find(f=>f.element===t);L(l,"Matching separator not found");const s=d.get(l);L(s,"Matching panels not found");const u=s[0],c=r.find(f=>f.panelId===u.id);if(L(c,"Panel metadata not found"),c.collapsible){const f=a[u.id];_(t,(c.collapsedSize===f?o.mutableState.expandedPanelSizes[u.id]??c.minSize:c.collapsedSize)-f)}break}case"F6":{e.preventDefault();const o=fe(t).separators.map(a=>a.element),r=Array.from(o).findIndex(a=>a===e.currentTarget);L(r!==null,"Index not found"),o[e.shiftKey?r>0?r-1:o.length-1:r+1<o.length?r+1:0].focus({preventScroll:!0});break}case"Home":e.preventDefault(),_(t,-100);break}}i(Fe,"$e");function Ae(e){if(e.defaultPrevented||e.pointerType==="mouse"&&e.button>0)return;const t=V(),n=Se(e,t),o=new Map;let r=!1;n.forEach(a=>{a.separator&&(r||(r=!0,a.separator.element.focus({focusVisible:!1,preventScroll:!0})));const d=t.get(a.group);d&&o.set(a.group,d.layout)}),te({cursorFlags:0,hitRegions:n,initialLayoutMap:o,pointerDownAtPoint:{x:e.clientX,y:e.clientY},state:"active"}),n.length&&e.preventDefault()}i(Ae,"je");function rt({document:e,event:t,hitRegions:n,initialLayoutMap:o,mountedGroups:r,pointerDownAtPoint:a,prevCursorFlags:d}){let l=0;n.forEach(u=>{const{group:c,groupSize:f}=u,{orientation:S,panels:g}=c,{disableCursor:p}=c.mutableState;let h=0;a?S==="horizontal"?h=(t.clientX-a.x)/f*100:h=(t.clientY-a.y)/f*100:S==="horizontal"?h=t.clientX<0?-100:100:h=t.clientY<0?-100:100;const b=o.get(c),v=r.get(c);if(!b||!v)return;const{defaultLayoutDeferred:m,derivedPanelConstraints:y,groupSize:w,layout:z,separatorToPanels:M}=v;if(y&&z&&M){const D=se({delta:h,initialLayout:b,panelConstraints:y,pivotIndices:u.panels.map(T=>g.indexOf(T)),prevLayout:z,trigger:"mouse-or-touch"});if(X(D,z)){if(h!==0&&!p)switch(S){case"horizontal":l|=h<0?qe:Je;break;case"vertical":l|=h<0?Ke:Ze;break}}else H(u.group,{defaultLayoutDeferred:m,derivedPanelConstraints:y,groupSize:w,layout:D,separatorToPanels:M})}});let s=0;t.movementX===0?s|=d&Re:s|=l&Re,t.movementY===0?s|=d&Ee:s|=l&Ee,Lt(s),ye(e)}i(rt,"ut");function Ge(e){const t=V(),n=Y();n.state==="active"&&rt({document:e.currentTarget,event:e,hitRegions:n.hitRegions,initialLayoutMap:n.initialLayoutMap,mountedGroups:t,prevCursorFlags:n.cursorFlags})}i(Ge,"He");function Be(e){if(e.defaultPrevented)return;const t=Y(),n=V();switch(t.state){case"active":if(e.buttons===0){te({cursorFlags:0,state:"inactive"}),t.hitRegions.forEach(o=>{if(!n.has(o.group))return;const r=U(o.group.id,!0);H(o.group,r,{isUserInteraction:!0})});return}for(const o of t.hitRegions)if(o.separator){const{element:r}=o.separator;r.hasPointerCapture?.(e.pointerId)||r.setPointerCapture?.(e.pointerId)}rt({document:e.currentTarget,event:e,hitRegions:t.hitRegions,initialLayoutMap:t.initialLayoutMap,mountedGroups:n,pointerDownAtPoint:t.pointerDownAtPoint,prevCursorFlags:t.cursorFlags});break;default:{const o=Se(e,n);o.length===0?t.state!=="inactive"&&te({cursorFlags:0,state:"inactive"}):te({cursorFlags:0,hitRegions:o,state:"hover"}),ye(e.currentTarget);break}}}i(Be,"Ve");function $e(e){e.relatedTarget instanceof HTMLIFrameElement&&Y().state==="hover"&&te({cursorFlags:0,state:"inactive"})}i($e,"Ue");function We(e){e.defaultPrevented||e.pointerType==="mouse"&&e.button>0||et(e.currentTarget)&&e.preventDefault()}i(We,"Be");function He(e){let t=0,n=0;const o={};for(const a of e)if(a.defaultSize!==void 0){t++;const d=N(a.defaultSize);n+=d,o[a.panelId]=d}else o[a.panelId]=void 0;const r=e.length-t;if(r!==0){const a=N((100-n)/r);for(const d of e)d.defaultSize===void 0&&(o[d.panelId]=a)}return o}i(He,"We");function Gt(e,t,n){if(!n[0])return;const o=e.panels.find(s=>s.element===t);if(!o||!o.onResize)return;const r=ne({group:e}),a=e.orientation==="horizontal"?o.element.offsetWidth:o.element.offsetHeight,d=o.mutableValues.prevSize,l={asPercentage:N(a/r*100),inPixels:a};o.mutableValues.prevSize=l,o.onResize(l,o.id,d)}i(Gt,"jt");function Bt(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(e[n]!==t[n])return!1;return!0}i(Bt,"Ht");function $t(e,t){return e.length!==t.length?!1:e.every((n,o)=>Bt(n,t[o]))}i($t,"Vt");function Wt({group:e,nextGroupSize:t,prevGroupSize:n,prevLayout:o}){if(n<=0||t<=0||n===t)return o;let r=0,a=0,d=!1;const l=new Map,s=[];for(const f of e.panels){const S=o[f.id]??0;if(f.panelConstraints.groupResizeBehavior==="preserve-pixel-size"){d=!0;const g=N(S/100*n/t*100);l.set(f.id,g),r+=g}else s.push(f.id),a+=S}if(!d||s.length===0)return o;const u=100-r,c={...o};if(l.forEach((f,S)=>{c[S]=f}),a>0)for(const f of s)c[f]=N((o[f]??0)/a*u);else{const f=N(u/s.length);for(const S of s)c[S]=f}return c}i(Wt,"Ut");function Ht(e,t){const n=e.map(r=>r.id),o=Object.keys(t);if(n.length!==o.length)return!1;for(const r of n)if(!o.includes(r))return!1;return!0}i(Ht,"Bt");var Z=new Map;function Ut(e){let t=!0;L(e.element.ownerDocument.defaultView,"Cannot register an unmounted Group");const n=e.element.ownerDocument.defaultView.ResizeObserver,o=new Set,r=new Set,a=new n(g=>{for(const p of g){const{borderBoxSize:h,target:b}=p;if(b===e.element){if(t){const v=ne({group:e});if(v===0)return;const m=U(e.id);if(!m)return;const y=ve(e),w=m.defaultLayoutDeferred?He(y):m.layout,z=q({layout:Wt({group:e,nextGroupSize:v,prevGroupSize:m.groupSize,prevLayout:w}),panelConstraints:y});if(!m.defaultLayoutDeferred&&X(m.layout,z)&&$t(m.derivedPanelConstraints,y)&&m.groupSize===v)continue;H(e,{defaultLayoutDeferred:!1,derivedPanelConstraints:y,groupSize:v,layout:z,separatorToPanels:m.separatorToPanels})}}else Gt(e,b,h)}});a.observe(e.element),e.panels.forEach(g=>{L(!o.has(g.id),`Panel ids must be unique; id "${g.id}" was used more than once`),o.add(g.id),g.onResize&&a.observe(g.element)});const d=ne({group:e}),l=ve(e),s=e.panels.map(({id:g})=>g).join(",");let u=e.mutableState.defaultLayout;u&&(Ht(e.panels,u)||(u=void 0));const c=q({layout:e.mutableState.layouts[s]??u??He(l),panelConstraints:l}),f=e.element.ownerDocument;Z.set(f,(Z.get(f)??0)+1);const S=new Map;return Ye(e).forEach(g=>{g.separator&&S.set(g.separator,g.panels)}),H(e,{defaultLayoutDeferred:d===0,derivedPanelConstraints:l,groupSize:d,layout:c,separatorToPanels:S}),e.separators.forEach(g=>{L(!r.has(g.id),`Separator ids must be unique; id "${g.id}" was used more than once`),r.add(g.id),g.element.addEventListener("keydown",Fe)}),Z.get(f)===1&&(f.addEventListener("contextmenu",Ie,!0),f.addEventListener("dblclick",Oe,!0),f.addEventListener("pointerdown",Ae,!0),f.addEventListener("pointerleave",Ge),f.addEventListener("pointermove",Be),f.addEventListener("pointerout",$e),f.addEventListener("pointerup",We,!0)),function(){t=!1,Z.set(f,Math.max(0,(Z.get(f)??0)-1)),Mt(e),e.separators.forEach(g=>{g.element.removeEventListener("keydown",Fe)}),Z.get(f)||(f.removeEventListener("contextmenu",Ie,!0),f.removeEventListener("dblclick",Oe,!0),f.removeEventListener("pointerdown",Ae,!0),f.removeEventListener("pointerleave",Ge),f.removeEventListener("pointermove",Be),f.removeEventListener("pointerout",$e),f.removeEventListener("pointerup",We,!0)),a.disconnect()}}i(Ut,"Wt");function Vt(){const[e,t]=(0,R.useState)({});return[e,(0,R.useCallback)(()=>t({}),[])]}i(Vt,"Kt");function we(e){const t=(0,R.useId)();return`${e??t}`}i(we,"Le");var J=typeof window<"u"?R.useLayoutEffect:R.useEffect;function ae(e){const t=(0,R.useRef)(e);return J(()=>{t.current=e},[e]),(0,R.useCallback)((...n)=>t.current?.(...n),[t])}i(ae,"se");function xe(...e){return ae(t=>{e.forEach(n=>{if(n)switch(typeof n){case"function":n(t);break;case"object":n.current=t;break}})})}i(xe,"Ce");function Ce(e){const t=(0,R.useRef)({...e});return J(()=>{for(const n in e)t.current[n]=e[n]},[e]),t.current}i(Ce,"Re");var it=(0,R.createContext)(null);function _t(e,t){const n=(0,R.useRef)({getLayout:i(()=>({}),"getLayout"),setLayout:Rt});(0,R.useImperativeHandle)(t,()=>n.current,[]),J(()=>{Object.assign(n.current,ot({groupId:e}))})}i(_t,"Xt");function at({children:e,className:t,defaultLayout:n,disableCursor:o,disabled:r,elementRef:a,groupRef:d,id:l,onLayoutChange:s,onLayoutChanged:u,orientation:c="horizontal",resizeTargetMinimumSize:f={coarse:20,fine:10},style:S,...g}){const p=(0,R.useRef)({onLayoutChange:{},onLayoutChanged:{}}),h=ae(x=>{X(p.current.onLayoutChange,x)||(p.current.onLayoutChange=x,s?.(x))}),b=ae((x,C)=>{X(p.current.onLayoutChanged,x)||(p.current.onLayoutChanged=x,u?.(x,{isUserInteraction:C}))}),v=we(l),m=(0,R.useRef)(null),[y,w]=Vt(),z=(0,R.useRef)({lastExpandedPanelSizes:{},layouts:{},panels:[],resizeTargetMinimumSize:f,separators:[]}),M=xe(m,a);_t(v,d);const D=ae((x,C)=>{const E=Y(),P=De(x),k=U(x);if(k){let j=!1;return E.state==="active"&&(j=E.hitRegions.some(oe=>oe.group===P)),{flexGrow:k.layout[C]??1,pointerEvents:j?"none":void 0}}if(n?.[C])return{flexGrow:n?.[C]}}),T=Ce({defaultLayout:n,disableCursor:o}),O=(0,R.useMemo)(()=>({get disableCursor(){return!!T.disableCursor},getPanelStyles:D,id:v,orientation:c,registerPanel:i(x=>{const C=z.current;return C.panels=me(c,[...C.panels,x]),w(),()=>{C.panels=C.panels.filter(E=>E!==x),w()}},"registerPanel"),registerSeparator:i(x=>{const C=z.current;return C.separators=me(c,[...C.separators,x]),w(),()=>{C.separators=C.separators.filter(E=>E!==x),w()}},"registerSeparator"),updatePanelProps:i((x,{disabled:C})=>{const E=z.current.panels.find(j=>j.id===x);E&&(E.panelConstraints.disabled=C);const P=De(v),k=U(v);P&&k&&H(P,{...k,derivedPanelConstraints:ve(P)})},"updatePanelProps"),updateSeparatorProps:i((x,{disabled:C,disableDoubleClick:E})=>{const P=z.current.separators.find(k=>k.id===x);P&&(P.disabled=C,P.disableDoubleClick=E)},"updateSeparatorProps")}),[D,v,w,c,T]),G=(0,R.useRef)(null);return J(()=>{const x=m.current;if(x===null)return;const C=z.current;let E;if(T.defaultLayout!==void 0&&Object.keys(T.defaultLayout).length===C.panels.length){E={};for(const B of C.panels){const K=T.defaultLayout[B.id];K!==void 0&&(E[B.id]=K)}}const P={disabled:!!r,element:x,id:v,mutableState:{defaultLayout:E,disableCursor:!!T.disableCursor,expandedPanelSizes:z.current.lastExpandedPanelSizes,layouts:z.current.layouts},orientation:c,panels:C.panels,resizeTargetMinimumSize:C.resizeTargetMinimumSize,separators:C.separators};G.current=P;const k=Ut(P),{defaultLayoutDeferred:j,derivedPanelConstraints:oe,layout:le}=U(P.id,!0);!j&&oe.length>0&&(h(le),b(le,!1));const re=ze(v,B=>{const{defaultLayoutDeferred:K,derivedPanelConstraints:Le,layout:ue}=B.next;if(K||Le.length===0)return;const ut=P.panels.map(({id:$})=>$).join(",");P.mutableState.layouts[ut]=ue,Le.forEach($=>{if($.collapsible){const{layout:he}=B.prev??{};if(he){const dt=I($.collapsedSize,ue[$.panelId]),ft=I($.collapsedSize,he[$.panelId]);dt&&!ft&&(P.mutableState.expandedPanelSizes[$.panelId]=he[$.panelId])}}});const ct=Y().state!=="active";h(ue),ct&&b(ue,B.isUserInteraction)});return()=>{G.current=null,k(),re()}},[r,v,b,h,c,y,T]),(0,R.useEffect)(()=>{const x=G.current;x&&(x.mutableState.defaultLayout=n,x.mutableState.disableCursor=!!o)}),(0,W.jsx)(it.Provider,{value:O,children:(0,W.jsx)("div",{...g,className:t,"data-group":!0,"data-testid":v,id:v,ref:M,style:{height:"100%",width:"100%",overflow:"hidden",...S,display:"flex",flexDirection:c==="horizontal"?"row":"column",flexWrap:"nowrap",touchAction:c==="horizontal"?"pan-y":"pan-x"},children:e})})}i(at,"qt");at.displayName="Group";function Pe(){const e=(0,R.useContext)(it);return L(e,"Group Context not found; did you render a Panel or Separator outside of a Group?"),e}i(Pe,"Ee");function Yt(e,t){const{id:n}=Pe(),o=(0,R.useRef)({collapse:ge,expand:ge,getSize:i(()=>({asPercentage:0,inPixels:0}),"getSize"),isCollapsed:i(()=>!1,"isCollapsed"),resize:ge});(0,R.useImperativeHandle)(t,()=>o.current,[]),J(()=>{Object.assign(o.current,nt({groupId:n,panelId:e}))})}i(Yt,"Zt");function st({children:e,className:t,collapsedSize:n="0%",collapsible:o=!1,defaultSize:r,disabled:a,elementRef:d,groupResizeBehavior:l="preserve-relative-size",id:s,maxSize:u="100%",minSize:c="0%",onResize:f,panelRef:S,style:g,...p}){const h=!!s,b=we(s),v=Ce({disabled:a}),m=(0,R.useRef)(null),y=xe(m,d),{getPanelStyles:w,id:z,orientation:M,registerPanel:D,updatePanelProps:T}=Pe(),O=f!==null,G=ae((P,k,j)=>{f?.(P,s,j)});J(()=>{const P=m.current;if(P!==null){const k={element:P,id:b,idIsStable:h,mutableValues:{expandToSize:void 0,prevSize:void 0},onResize:O?G:void 0,panelConstraints:{groupResizeBehavior:l,collapsedSize:n,collapsible:o,defaultSize:r,disabled:v.disabled,maxSize:u,minSize:c}};return D(k)}},[l,n,o,r,O,b,h,u,c,G,D,v]),(0,R.useEffect)(()=>{T(b,{disabled:a})},[a,b,T]),Yt(b,S);const x=i(()=>{const P=w(z,b);if(P)return JSON.stringify(P)},"x"),C=(0,R.useSyncExternalStore)(P=>ze(z,P),x,x);let E;return C?E=JSON.parse(C):r!==void 0?E={flexGrow:void 0,flexShrink:void 0,flexBasis:r}:E={flexGrow:1},(0,W.jsx)("div",{...p,"data-disabled":a||void 0,"data-panel":!0,"data-testid":b,id:b,ref:y,style:{...Xt,display:"flex",flexBasis:0,flexShrink:1,overflow:"visible",...E},children:(0,W.jsx)("div",{className:t,style:{maxHeight:"100%",maxWidth:"100%",flexGrow:1,overflow:"auto",...g,touchAction:M==="horizontal"?"pan-y":"pan-x"},children:e})})}i(st,"Qt");st.displayName="Panel";var Xt={minHeight:0,maxHeight:"100%",height:"auto",minWidth:0,maxWidth:"100%",width:"auto",border:"none",borderWidth:0,padding:0,margin:0};function qt({layout:e,panelConstraints:t,panelId:n,panelIndex:o}){let r,a;const d=e[n],l=t.find(s=>s.panelId===n);if(l){const s=l.maxSize,u=l.collapsible?l.collapsedSize:l.minSize,c=[o,o+1];a=q({layout:se({delta:u-d,initialLayout:e,panelConstraints:t,pivotIndices:c,prevLayout:e}),panelConstraints:t})[n],r=q({layout:se({delta:s-d,initialLayout:e,panelConstraints:t,pivotIndices:c,prevLayout:e}),panelConstraints:t})[n]}return{valueControls:n,valueMax:r,valueMin:a,valueNow:d}}i(qt,"tn");function lt({children:e,className:t,disabled:n,disableDoubleClick:o,elementRef:r,id:a,style:d,...l}){const s=we(a),u=Ce({disabled:n,disableDoubleClick:o}),[c,f]=(0,R.useState)({}),[S,g]=(0,R.useState)("inactive"),[p,h]=(0,R.useState)(!1),b=(0,R.useRef)(null),v=xe(b,r),{disableCursor:m,id:y,orientation:w,registerSeparator:z,updateSeparatorProps:M}=Pe(),D=w==="horizontal"?"vertical":"horizontal";J(()=>{const G=b.current;if(G!==null){const x={disabled:u.disabled,disableDoubleClick:u.disableDoubleClick,element:G,id:s},C=z(x),E=Pt(k=>{g(k.next.state!=="inactive"&&k.next.hitRegions.some(j=>j.separator===x)?k.next.state:"inactive")}),P=ze(y,k=>{const{derivedPanelConstraints:j,layout:oe,separatorToPanels:le}=k.next,re=le.get(x);if(re){const B=re[0],K=re.indexOf(B);f(qt({layout:oe,panelConstraints:j,panelId:B.id,panelIndex:K}))}});return()=>{E(),P(),C()}}},[y,s,z,u]),(0,R.useEffect)(()=>{M(s,{disabled:n,disableDoubleClick:o})},[n,o,s,M]);let T;n&&!m&&(T="not-allowed");let O;return n?O="disabled":S==="active"?O="active":p?O="focus":O=S,(0,W.jsx)("div",{...l,"aria-controls":c.valueControls,"aria-disabled":n||void 0,"aria-orientation":D,"aria-valuemax":c.valueMax,"aria-valuemin":c.valueMin,"aria-valuenow":c.valueNow,children:e,className:t,"data-separator":O,"data-testid":s,id:s,onBlur:i(()=>h(!1),"onBlur"),onFocus:i(()=>h(!0),"onFocus"),ref:v,role:"separator",style:{flexBasis:"auto",cursor:T,...d,flexGrow:0,flexShrink:0,touchAction:"none"},tabIndex:n?void 0:0})}i(lt,"nn");lt.displayName="Separator";function Jt({className:e,...t}){return(0,W.jsx)(at,{className:pe("flex h-full w-full data-[orientation=vertical]:flex-col",e),resizeTargetMinimumSize:{coarse:24,fine:12},...t})}i(Jt,"ResizablePanelGroup");Jt.displayName="ResizablePanelGroup";function Kt({className:e,...t}){return(0,W.jsx)(st,{className:pe("h-full min-h-0 overflow-hidden",e),...t})}i(Kt,"ResizablePanel");Kt.displayName="ResizablePanel";function Zt({className:e,orientation:t="horizontal",...n}){const o=t==="vertical";return(0,W.jsx)(lt,{className:pe("group relative flex items-center justify-center bg-transparent outline-none","focus-visible:ring-1 focus-visible:ring-focus",o?"h-2 w-full cursor-row-resize":"w-2 h-full cursor-col-resize",e),...n,children:(0,W.jsx)("span",{"aria-hidden":!0,className:pe("bg-line transition-colors group-hover:bg-focus group-data-[dragging]:bg-focus",o?"h-px w-full":"w-px h-full")})})}i(Zt,"ResizableHandle");Zt.displayName="ResizableHandle";export{Kt as n,Jt as r,Zt as t};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var t=Object.defineProperty;var r=(e,n)=>t(e,"name",{value:n,configurable:!0});import{Ni as a}from"./createLucideIcon-CnVGnh-n.js";import{t as i}from"./user-check-yce7oJyd.js";import{t as l}from"./user-minus-DsqfkFrF.js";var s={not_creator:{value:"not_creator",label:"Anyone else",description:"Anyone except whoever asked for the review can approve it.",Icon:l},human_only:{value:"human_only",label:"Human only",description:"Only a person can approve this review. Agents cannot give the verdict.",Icon:i}},o={anyone:"anyone",not_creator:"anyone else",human_only:"human only"};function p(e){return typeof e!="string"?null:s[e]??null}r(p,"issueReviewPolicyBadge");function m(e){return e==null||typeof e!="string"?o.anyone:o[e]??e.replace(/_/g," ")}r(m,"formatReviewPolicyValue");function v(e){const n=e?.reviewPolicy;return typeof n!="string"?null:a.includes(n)?n:null}r(v,"readIssueReviewPolicyMetadata");export{p as n,v as r,m as t};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{t as e}from"./createLucideIcon-CnVGnh-n.js";var a={name:"rotate-ccw",size:24,node:[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}]]};a.node;var o=e(a);export{o as t};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{t}from"./createLucideIcon-CnVGnh-n.js";var a={name:"rotate-cw",size:24,node:[["path",{d:"M21 12a9 9 0 1 1-9-9c2.52 0 4.93 1 6.74 2.74L21 8",key:"1p45f6"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}]]};a.node;var o=t(a);export{o as t};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var Lt=Object.defineProperty;var n=(e,t)=>Lt(e,"name",{value:t,configurable:!0});import{i as Ie}from"./rolldown-runtime-ZpX3ckPj.js";import{Hi as zt,l as P,na as Pt,t as u,ta as qt}from"./createLucideIcon-CnVGnh-n.js";import{a as Ot,c as V,g as Nt,h as Ft,i as Qt,l as Ht,n as Vt,o as Wt,r as Kt,t as Gt,u as Yt,v as Zt}from"./star-BfGDDjEq.js";import{X as Xt,a as Jt,i as er,n as tr,r as o,t as M,v as rr}from"./queryKeys-DNib4smf.js";import{n as nr}from"./CompanyContext-D89SijyS.js";import{o as ar,r as sr,t as or}from"./popover-vHMlfgIl.js";import{t as ir}from"./boxes-CyuQgdnj.js";import{t as dr}from"./circle-dot-DNCm3Pkz.js";import{t as ae}from"./circle-CJoyat9x.js";import{n as cr,t as ur}from"./package-D54DBhDm.js";import{t as lr}from"./search-BCl----c.js";import{t as gr}from"./shield-Dir2RDLp.js";import{t as mr}from"./terminal-DxeHHgsC.js";var m=Ie(Pt(),1),se=60,Q=3600,L=24*Q,oe=7*L,ie=30*L;function pr(e){const t=Date.now(),r=new Date(e).getTime(),a=Math.round((t-r)/1e3);return a<se?"just now":a<Q?`${Math.floor(a/se)}m ago`:a<L?`${Math.floor(a/Q)}h ago`:a<oe?`${Math.floor(a/L)}d ago`:a<ie?`${Math.floor(a/oe)}w ago`:`${Math.floor(a/ie)}mo ago`}n(pr,"timeAgo");var kr=[{label:"My work",views:[{key:"mine",label:"Mine",surface:"inbox",inboxTab:"mine",hint:"Assigned to you or waiting on you"},{key:"unread",label:"Unread",surface:"inbox",inboxTab:"unread",hint:"Tasks you touched with new activity"},{key:"blocked",label:"Blocked",surface:"inbox",inboxTab:"blocked",hint:"Blocked tasks, grouped by blocker"},{key:"recent",label:"Recent",surface:"inbox",inboxTab:"recent",hint:"Everything you touched lately"},{key:"everything",label:"Everything",surface:"inbox",inboxTab:"all",hint:"Tasks, approvals, failed runs and join requests"}]},{label:"Organization",views:[{key:"all",label:"All tasks",surface:"issues",statuses:[],hint:"Every task in the organization"},{key:"active",label:"Active",surface:"issues",statuses:["todo","in_progress","in_review","blocked"],hint:"Open tasks, running or not"},{key:"backlog",label:"Backlog",surface:"issues",statuses:["backlog"],hint:"Not started yet"},{key:"done",label:"Done",surface:"issues",statuses:["done","cancelled"],hint:"Completed and cancelled"}]}],we=new Map(kr.flatMap(e=>e.views.map(t=>[t.key,t]))),$e="mine",Se="view",fr="wardmote:tasks:last-view";function br(e){return typeof e=="string"&&we.has(e)}n(br,"isTaskViewKey");function Ae(e){return we.get(e)}n(Ae,"taskView");function W(e){return br(e)?e:null}n(W,"normalizeTaskViewKey");function ta(e){return`/issues?${Se}=${e}`}n(ta,"taskViewPath");var de={mine:"mine",unread:"unread",blocked:"blocked",recent:"recent",all:"everything"};function ra(e){return e&&e in de?de[e]:$e}n(ra,"taskViewForInboxTab");function na(){try{return W(window.localStorage.getItem("wardmote:tasks:last-view"))??"mine"}catch{return $e}}n(na,"loadLastTaskView");function aa(e){try{window.localStorage.setItem(fr,e)}catch{}}n(aa,"saveLastTaskView");var sa=["assignee","workspace","participantAgentId","q"];function oa(e,t,r){const a=W(e);return t&&(!a||Ae(a).surface==="inbox")?"all":a??r}n(oa,"resolveInitialTaskView");var _e="from",De="fromHref",Ce="wardmote:issue-detail-breadcrumb:";function Ee(e){if(typeof e!="object"||e===null)return!1;const t=e;return typeof t.label=="string"&&typeof t.href=="string"}n(Ee,"isIssueDetailBreadcrumb");function Me(e){return e==="issues"||e==="inbox"}n(Me,"isIssueDetailSource");function Re(e){if(typeof e!="object"||e===null)return!1;const t=e,r=t.originKind===void 0||typeof t.originKind=="string",a=t.originId===void 0||t.originId===null||typeof t.originId=="string",s=t.blockerAttention===void 0||typeof t.blockerAttention=="object"&&t.blockerAttention!==null;return typeof t.id=="string"&&(t.identifier===null||typeof t.identifier=="string")&&typeof t.title=="string"&&typeof t.status=="string"&&s&&typeof t.priority=="string"&&(t.projectId===null||typeof t.projectId=="string")&&(t.projectName===null||typeof t.projectName=="string")&&r&&a}n(Re,"isIssueDetailHeaderSeed");function hr(e){return{id:e.id,identifier:e.identifier??null,title:e.title,status:e.status,blockerAttention:e.blockerAttention,priority:e.priority,projectId:e.projectId??null,projectName:e.project?.name??null,originKind:e.originKind,originId:e.originId??null}}n(hr,"createIssueDetailHeaderSeed");function Te(e,t){const r=hr(t);return typeof e!="object"||e===null?{issueDetailHeaderSeed:r}:{...e,issueDetailHeaderSeed:r}}n(Te,"withIssueDetailHeaderSeed");function yr(e){if(typeof e!="object"||e===null)return null;const t=e.issueDetailHeaderSeed;return Re(t)?t:null}n(yr,"readIssueDetailHeaderSeed");function xr(e){if(!e)return null;const t=new URLSearchParams(e).get(_e);return Me(t)?t:null}n(xr,"readIssueDetailSourceFromSearch");function vr(e){if(!e)return null;const t=new URLSearchParams(e).get(De);return t&&t.startsWith("/")?t:null}n(vr,"readIssueDetailBreadcrumbHrefFromSearch");function Ir(e){const t=e.slice(e.indexOf("?")+1);if(!e.includes("?"))return!1;const r=new URLSearchParams(t).get(Se),a=W(r);return a!==null&&Ae(a).surface==="inbox"}n(Ir,"isInboxBackedTaskViewHref");function je(e,t){return Me(e?.issueDetailSource)?e.issueDetailSource:t?t.href.includes("/inbox")||Ir(t.href)||t.label==="Inbox"?"inbox":t.label==="Tasks"||t.href.includes("/issues")?"issues":null:null}n(je,"inferIssueDetailSource");function ce(e){return e==="inbox"?{label:"Inbox",href:"/inbox"}:{label:"Tasks",href:"/issues"}}n(ce,"breadcrumbForSource");function ia(e,t,r){return{issueDetailBreadcrumb:{label:e,href:t},issueDetailSource:r}}n(ia,"createIssueDetailLocationState");function da(e){return typeof e!="object"||e===null?{issueDetailInboxQuickArchiveArmed:!0}:{...e,issueDetailInboxQuickArchiveArmed:!0}}n(da,"armIssueDetailInboxQuickArchive");function wr(e){if(typeof window>"u"||!window.sessionStorage)return null;const t=window.sessionStorage.getItem(`${Ce}${e}`);if(!t)return null;try{const r=JSON.parse(t),a=Ee(r.issueDetailBreadcrumb)?r.issueDetailBreadcrumb:null,s=je(r,a);if(!a||!s)return null;const i=Re(r.issueDetailHeaderSeed)?r.issueDetailHeaderSeed:void 0;return{issueDetailBreadcrumb:a,issueDetailSource:s,issueDetailInboxQuickArchiveArmed:r.issueDetailInboxQuickArchiveArmed===!0,issueDetailHeaderSeed:i}}catch{return null}}n(wr,"readStoredIssueDetailLocationState");function Ue(e,t){if(typeof e=="object"&&e!==null){const s=e.issueDetailBreadcrumb;if(Ee(s)){const i=je(e,s);if(!i)return null;const d=yr(e)??void 0;return{issueDetailBreadcrumb:s,issueDetailSource:i,issueDetailInboxQuickArchiveArmed:e.issueDetailInboxQuickArchiveArmed===!0,issueDetailHeaderSeed:d}}}const r=xr(t),a=vr(t);return r?{issueDetailBreadcrumb:a?{...ce(r),href:a}:ce(r),issueDetailSource:r,issueDetailInboxQuickArchiveArmed:!1}:null}n(Ue,"normalizeIssueDetailLocationState");function ca(e,t,r){if(typeof window>"u"||!window.sessionStorage)return;const a=Ue(t,r);a&&window.sessionStorage.setItem(`${Ce}${e}`,JSON.stringify(a))}n(ca,"rememberIssueDetailLocationState");function $r(e){return`/issues/${e}`}n($r,"createIssueDetailPath");function ua(e){if(!e)return!1;const t=new URLSearchParams(e);return t.has(_e)||t.has(De)}n(ua,"hasLegacyIssueDetailQuery");function Sr(e,t,r){const a=Ue(t,r);return a||(e?wr(e):null)}n(Sr,"readIssueDetailLocationState");function la(e,t,r){return Sr(e,t,r)?.issueDetailBreadcrumb??null}n(la,"readIssueDetailBreadcrumb");var ue=class extends Error{static{n(this,"CommentSubmissionUnknownError")}constructor(){super("We couldn’t confirm whether this comment was saved. Review the conversation before starting another draft."),this.name="CommentSubmissionUnknownError"}};function le(e){if(!e||typeof e!="object"||Array.isArray(e))return!1;const t=e,r=/^[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$/i;return typeof t.id=="string"&&r.test(t.id)&&typeof t.issueId=="string"&&r.test(t.issueId)&&typeof t.body=="string"}n(le,"hasCommentReceipt");async function ge(e,t){try{const r=await e;if(!t(r))throw new ue;return r}catch(r){throw r instanceof tr&&r.status<500?r:new ue}}n(ge,"confirmedCommentResponse");function me(e){const t=new URLSearchParams;return e?.attention&&t.set("attention",e.attention),e?.status&&t.set("status",e.status),e?.priority&&t.set("priority",e.priority),e?.projectId&&t.set("projectId",e.projectId),e?.parentId&&t.set("parentId",e.parentId),e?.assigneeAgentId&&t.set("assigneeAgentId",e.assigneeAgentId),e?.participantAgentId&&t.set("participantAgentId",e.participantAgentId),e?.assigneeUserId&&t.set("assigneeUserId",e.assigneeUserId),e?.touchedByUserId&&t.set("touchedByUserId",e.touchedByUserId),e?.inboxArchivedByUserId&&t.set("inboxArchivedByUserId",e.inboxArchivedByUserId),e?.unreadForUserId&&t.set("unreadForUserId",e.unreadForUserId),e?.labelId&&t.set("labelId",e.labelId),e?.createdByAgentId&&t.set("createdByAgentId",e.createdByAgentId),e?.createdByUserId&&t.set("createdByUserId",e.createdByUserId),e?.updatedSince&&t.set("updatedSince",e.updatedSince),e?.workspaceId&&t.set("workspaceId",e.workspaceId),e?.executionWorkspaceId&&t.set("executionWorkspaceId",e.executionWorkspaceId),e?.originKind&&t.set("originKind",e.originKind),e?.originKindPrefix&&t.set("originKindPrefix",e.originKindPrefix),e?.originId&&t.set("originId",e.originId),e?.descendantOf&&t.set("descendantOf",e.descendantOf),e?.createdFromIssueId&&t.set("createdFromIssueId",e.createdFromIssueId),e?.includeRoutineExecutions&&t.set("includeRoutineExecutions","true"),e?.includeHidden&&t.set("includeHidden","true"),e?.includeBlockedBy&&t.set("includeBlockedBy","true"),e?.includeBlockedInboxAttention&&t.set("includeBlockedInboxAttention","true"),e?.includeLiveDescendantSummary&&t.set("includeLiveDescendantSummary","true"),e?.hasPlanDocument!==void 0&&t.set("hasPlanDocument",e.hasPlanDocument?"true":"false"),e?.q&&t.set("q",e.q),e?.limit&&t.set("limit",String(e.limit)),e?.offset!==void 0&&t.set("offset",String(e.offset)),e?.sortField&&t.set("sortField",e.sortField),e?.sortDir&&t.set("sortDir",e.sortDir),e?.afterId&&t.set("afterId",e.afterId),t}n(me,"issueListSearchParams");var I={listAll:n(async(e,t,r)=>{const s=new Map;let i;for(;;){const d=await I.list(e,{...t,limit:500,sortField:"id",sortDir:"asc",afterId:i},r);for(const g of d)s.set(g.id,g);if(d.length<500)return[...s.values()];i=d[d.length-1].id}},"listAll"),list:n((e,t,r)=>{const a=me(t).toString(),s=`/companies/${e}/issues${a?`?${a}`:""}`;return r?o.get(s,r):o.get(s)},"list"),listCompact:n((e,t,r)=>{const a=me(t);a.set("view","compact");const s=`/companies/${e}/issues?${a.toString()}`;return r?o.get(s,r):o.get(s)},"listCompact"),count:n((e,t)=>{const r=new URLSearchParams;return r.set("attention",t.attention),t.status&&r.set("status",t.status),t.assigneeAgentId&&r.set("assigneeAgentId",t.assigneeAgentId),t.assigneeUserId&&r.set("assigneeUserId",t.assigneeUserId),t.projectId&&r.set("projectId",t.projectId),t.labelId&&r.set("labelId",t.labelId),t.q&&r.set("q",t.q),o.get(`/companies/${e}/issues/count?${r.toString()}`)},"count"),listLabels:n(e=>o.get(`/companies/${e}/labels`),"listLabels"),createLabel:n((e,t)=>o.post(`/companies/${e}/labels`,t),"createLabel"),deleteLabel:n(e=>o.delete(`/labels/${e}`),"deleteLabel"),get:n((e,t)=>t?o.get(`/issues/${e}`,t):o.get(`/issues/${e}`),"get"),refs:n((e,t)=>o.get(`/companies/${e}/issues/refs?ids=${encodeURIComponent(t.join(","))}`),"refs"),getRunnerGoal:n((e,t)=>{const r=t?`?agentId=${encodeURIComponent(t)}`:"";return o.get(`/issues/${e}/runner-goal${r}`)},"getRunnerGoal"),actOnRunnerGoal:n((e,t)=>o.post(`/issues/${e}/runner-goal/actions`,t),"actOnRunnerGoal"),getModelOverride:n(e=>o.get(`/issues/${e}/model-override`),"getModelOverride"),setModelOverride:n((e,t)=>o.put(`/issues/${e}/model-override`,t),"setModelOverride"),getWatchdog:n(e=>o.get(`/issues/${e}/watchdog`),"getWatchdog"),getAgentTodo:n(e=>o.get(`/issues/${e}/agent-todo`),"getAgentTodo"),upsertWatchdog:n((e,t)=>o.put(`/issues/${e}/watchdog`,t),"upsertWatchdog"),deleteWatchdog:n(e=>o.delete(`/issues/${e}/watchdog`),"deleteWatchdog"),markRead:n(e=>o.post(`/issues/${e}/read`,{}),"markRead"),markUnread:n(e=>o.delete(`/issues/${e}/read`),"markUnread"),archiveFromInbox:n(e=>o.post(`/issues/${e}/inbox-archive`,{}),"archiveFromInbox"),unarchiveFromInbox:n(e=>o.delete(`/issues/${e}/inbox-archive`),"unarchiveFromInbox"),setTitle:n((e,t)=>o.put(`/issues/${e}/title`,t),"setTitle"),create:n((e,t)=>o.post(`/companies/${e}/issues`,t),"create"),update:n((e,t)=>{const r=o.patch(`/issues/${e}`,t);return typeof t.comment=="string"?ge(r,a=>le(a?.comment)):r},"update"),decideStalledReview:n((e,t)=>o.post(`/issues/${e}/stalled-review-decision`,t),"decideStalledReview"),retryWorkspaceExport:n((e,t)=>o.post(`/issues/${e}/recovery-actions/retry-workspace-export`,t),"retryWorkspaceExport"),resolveRecoveryAction:n((e,t)=>o.post(`/issues/${e}/recovery-actions/resolve`,t),"resolveRecoveryAction"),previewTreeControl:n((e,t)=>o.post(`/issues/${e}/tree-control/preview`,t),"previewTreeControl"),createTreeHold:n((e,t)=>o.post(`/issues/${e}/tree-holds`,t),"createTreeHold"),getTreeHold:n((e,t)=>o.get(`/issues/${e}/tree-holds/${t}`),"getTreeHold"),listPausedTasks:n(e=>o.get(`/companies/${e}/paused-tasks`),"listPausedTasks"),listTreeHolds:n((e,t)=>{const r=new URLSearchParams;t?.status&&r.set("status",t.status),t?.mode&&r.set("mode",t.mode),t?.includeMembers&&r.set("includeMembers","true");const a=r.toString();return o.get(`/issues/${e}/tree-holds${a?`?${a}`:""}`)},"listTreeHolds"),getTreeControlState:n(e=>o.get(`/issues/${e}/tree-control/state`),"getTreeControlState"),releaseTreeHold:n((e,t,r)=>o.post(`/issues/${e}/tree-holds/${t}/release`,r),"releaseTreeHold"),checkMonitorNow:n(e=>o.post(`/issues/${e}/monitor/check-now`,{}),"checkMonitorNow"),retryScheduledRetryNow:n(e=>o.post(`/issues/${e}/scheduled-retry/retry-now`,{}),"retryScheduledRetryNow"),remove:n(e=>o.delete(`/issues/${e}`),"remove"),checkout:n((e,t)=>o.post(`/issues/${e}/checkout`,{agentId:t,expectedStatuses:["todo","backlog","blocked","in_review"]}),"checkout"),release:n(e=>o.post(`/issues/${e}/release`,{}),"release"),listComments:n((e,t)=>{const r=new URLSearchParams;t?.after&&r.set("after",t.after),t?.order&&r.set("order",t.order),t?.limit&&r.set("limit",String(t.limit));const a=r.toString();return o.get(`/issues/${e}/comments${a?`?${a}`:""}`)},"listComments"),getQueuedComments:n(e=>o.get(`/issues/${e}/queued-comments`),"getQueuedComments"),editQueuedComment:n((e,t,r)=>o.patch(`/issues/${e}/queued-comments/${t}`,r),"editQueuedComment"),reorderQueuedComments:n((e,t)=>o.put(`/issues/${e}/queued-comments/order`,t),"reorderQueuedComments"),interruptQueuedComments:n((e,t)=>o.post(`/issues/${e}/queued-comments/interrupt`,t),"interruptQueuedComments"),interruptLatestQueuedComments:n(async(e,t)=>{const r=await I.getQueuedComments(e);if(!r.queueId||r.targetRunId&&r.targetRunId!==t)throw new Error("The queued messages changed. Refresh and try again.");return I.interruptQueuedComments(e,{queueId:r.queueId,revision:r.revision,targetRunId:r.targetRunId})},"interruptLatestQueuedComments"),steerQueuedComment:n((e,t,r)=>o.post(`/issues/${e}/queued-comments/${t}/steer`,r),"steerQueuedComment"),discardQueuedComment:n((e,t,r)=>o.delete(`/issues/${e}/queued-comments/${t}`,r),"discardQueuedComment"),listInteractions:n(e=>o.get(`/issues/${e}/interactions`),"listInteractions"),listAcceptedPlanDecompositions:n(e=>o.get(`/issues/${e}/accepted-plan-decompositions`),"listAcceptedPlanDecompositions"),createInteraction:n((e,t)=>o.post(`/issues/${e}/interactions`,t),"createInteraction"),acceptInteraction:n((e,t,r)=>{const{note:a,...s}=r??{};return o.post(`/issues/${e}/interactions/${t}/accept`,a?.trim()?{...s,note:a}:s)},"acceptInteraction"),rejectInteraction:n((e,t,r,a)=>o.post(`/issues/${e}/interactions/${t}/reject`,{...r?{reason:r}:{},...a?.trim()?{note:a}:{}}),"rejectInteraction"),cancelInteraction:n((e,t,r)=>o.post(`/issues/${e}/interactions/${t}/cancel`,r?{reason:r}:{}),"cancelInteraction"),skipInteraction:n((e,t,r)=>o.post(`/issues/${e}/interactions/${t}/skip`,r?{reason:r}:{}),"skipInteraction"),respondToInteraction:n((e,t,r)=>o.post(`/issues/${e}/interactions/${t}/respond`,r),"respondToInteraction"),submitInteractionVerdicts:n((e,t,r)=>o.post(`/issues/${e}/interactions/${t}/verdicts`,{verdicts:r}),"submitInteractionVerdicts"),getComment:n((e,t)=>o.get(`/issues/${e}/comments/${t}`),"getComment"),listFeedbackVotes:n(e=>o.get(`/issues/${e}/feedback-votes`),"listFeedbackVotes"),getCostSummary:n((e,t={})=>{const r=t.excludeRoot?"?excludeRoot=true":"";return o.get(`/issues/${e}/cost-summary${r}`)},"getCostSummary"),listFeedbackTraces:n((e,t)=>{const r=new URLSearchParams;for(const[s,i]of Object.entries(t??{}))i!==void 0&&r.set(s,String(i));const a=r.toString();return o.get(`/issues/${e}/feedback-traces${a?`?${a}`:""}`)},"listFeedbackTraces"),upsertFeedbackVote:n((e,t)=>o.post(`/issues/${e}/feedback-votes`,t),"upsertFeedbackVote"),addComment:n((e,t,r,a,s,i,d)=>ge(o.post(`/issues/${e}/comments`,{body:t,...i?{clientRequestId:i}:{},...r===void 0?{}:{reopen:r},...a===void 0?{}:{interrupt:a},...s?.length?{attachmentIds:s}:{},...d===void 0?{}:{deliver:d}}),le),"addComment"),cancelComment:n((e,t)=>o.delete(`/issues/${e}/comments/${t}?mode=cancel`),"cancelComment"),deleteComment:n((e,t)=>o.delete(`/issues/${e}/comments/${t}`),"deleteComment"),listDocuments:n((e,t)=>o.get(`/issues/${e}/documents${t?.includeSystem?"?includeSystem=true":""}`),"listDocuments"),getDocument:n((e,t)=>o.get(`/issues/${e}/documents/${encodeURIComponent(t)}`),"getDocument"),getDocumentPdf:n((e,t)=>o.getBlob(`/issues/${e}/documents/${encodeURIComponent(t)}/pdf`),"getDocumentPdf"),upsertDocument:n((e,t,r)=>o.put(`/issues/${e}/documents/${encodeURIComponent(t)}`,r),"upsertDocument"),lockDocument:n((e,t)=>o.post(`/issues/${e}/documents/${encodeURIComponent(t)}/lock`,{}),"lockDocument"),unlockDocument:n((e,t)=>o.post(`/issues/${e}/documents/${encodeURIComponent(t)}/unlock`,{}),"unlockDocument"),listDocumentRevisions:n((e,t)=>o.get(`/issues/${e}/documents/${encodeURIComponent(t)}/revisions`),"listDocumentRevisions"),restoreDocumentRevision:n((e,t,r)=>o.post(`/issues/${e}/documents/${encodeURIComponent(t)}/revisions/${r}/restore`,{}),"restoreDocumentRevision"),deleteDocument:n((e,t)=>o.delete(`/issues/${e}/documents/${encodeURIComponent(t)}`),"deleteDocument"),listAttachments:n(e=>o.get(`/issues/${e}/attachments`),"listAttachments"),uploadAttachment:n((e,t,r,a)=>{const s=Jt(r);if(s)return Promise.reject(s);const i=new FormData;return i.append("file",r),a&&i.append("issueCommentId",a),o.postForm(`/companies/${e}/issues/${t}/attachments`,i)},"uploadAttachment"),deleteAttachment:n(e=>o.delete(`/attachments/${e}`),"deleteAttachment"),privacyConstraints:n(e=>o.get(`/issues/${e}/privacy-constraints`),"privacyConstraints"),listAccessGrants:n((e,t)=>t?o.get(`/issues/${e}/access-grants`,t):o.get(`/issues/${e}/access-grants`),"listAccessGrants"),createAccessGrant:n((e,t)=>o.post(`/issues/${e}/access-grants`,t),"createAccessGrant"),revokeAccessGrant:n((e,t)=>o.post(`/issues/${e}/access-grants/${t}/revoke`,{}),"revokeAccessGrant"),setVisibility:n((e,t)=>o.patch(`/issues/${e}`,{visibility:t}),"setVisibility"),listApprovals:n(e=>o.get(`/issues/${e}/approvals`),"listApprovals"),linkApproval:n((e,t)=>o.post(`/issues/${e}/approvals`,{approvalId:t}),"linkApproval"),unlinkApproval:n((e,t)=>o.delete(`/issues/${e}/approvals/${t}`),"unlinkApproval"),listWorkProducts:n((e,t)=>{const r=`/issues/${e}/work-products${t?.refreshPullRequests?"?refreshPullRequests=true":""}`;return t?.fresh&&er(r),o.get(r,{signal:t?.signal})},"listWorkProducts"),ensureWorkProductReviewDocument:n((e,t)=>o.post(`/issues/${e}/work-products/${t}/review-document`,{}),"ensureWorkProductReviewDocument"),createWorkProduct:n((e,t)=>o.post(`/issues/${e}/work-products`,t),"createWorkProduct"),updateWorkProduct:n((e,t)=>o.patch(`/work-products/${e}`,t),"updateWorkProduct"),deleteWorkProduct:n(e=>o.delete(`/work-products/${e}`),"deleteWorkProduct")};function w(e){return new Date(e).getTime()}n(w,"toTimestamp");function Ar(){const e=globalThis.crypto?.randomUUID?.();return e?`optimistic-${e}`:`optimistic-${Date.now()}-${Math.random().toString(36).slice(2,10)}`}n(Ar,"createOptimisticCommentId");function K(e){return[...e].sort((t,r)=>{const a=w(t.createdAt)-w(r.createdAt);return a!==0?a:t.id.localeCompare(r.id)})}n(K,"sortIssueComments");function pe(e){return K(e).reverse()}n(pe,"sortIssueCommentsDesc");function ga(e){const t=new Date,r=Ar();return{id:r,clientId:r,companyId:e.companyId,issueId:e.issueId,authorType:"user",authorAgentId:null,authorUserId:e.authorUserId,body:e.body,presentation:null,metadata:null,clientStatus:e.clientStatus??"pending",queueTargetRunId:e.queueTargetRunId??null,createdAt:t,updatedAt:t}}n(ga,"createOptimisticIssueComment");function ma(e){return e.runId||e.interruptedRunId||e.comment.id&&(e.comment.id===e.activeRunWakeCommentId||e.comment.id===e.activeRunCommentId)||e.comment.authorAgentId&&e.activeRunAgentId&&e.comment.authorAgentId===e.activeRunAgentId?!1:e.comment.clientStatus==="queued"?!0:e.activeRunStartedAt?w(e.comment.createdAt)>=w(e.activeRunStartedAt):!1}n(ma,"isQueuedIssueComment");function pa(e,t){const r=t.queuedTargetRunId??null;return!r||!t.targetRunIsLive||t.runningRunId&&t.runningRunId!==r?e:{...e,clientStatus:"queued",queueState:"queued",queueTargetRunId:r}}n(pa,"applyLocalQueuedIssueCommentState");function ka(e,t){const r=e??[],a=[...r],s=new Set(a.map(d=>d.id)),i=new Set;for(const d of t){if(s.has(d.id))continue;const g=r.find(p=>!i.has(p.id)&&p.issueId===d.issueId&&p.authorType===d.authorType&&p.authorUserId===d.authorUserId&&p.body===d.body&&Math.abs(w(p.createdAt)-w(d.createdAt))<=6e4);if(g){i.add(g.id);const p={...g,clientId:d.clientId};a[a.findIndex(k=>k.id===g.id)]=p;continue}a.push(d)}return K(a)}n(ka,"mergeIssueComments");function fa(e,t){const r=e.findIndex(a=>a.clientId===t);return r===-1?{comments:e,comment:null}:{comments:e.filter(a=>a.clientId!==t),comment:e[r]??null}}n(fa,"takeOptimisticIssueComment");function ba(e){return K((e??[]).flatMap(t=>t))}n(ba,"flattenIssueCommentPages");function _r(e,t){if(!(!e||e.length<t))return e[e.length-1]?.id}n(_r,"getNextIssueCommentPageParam");function ke(e,t){if(!(!e||e.length<t))return e[e.length-1]?.id}n(ke,"getNextPageCursor");async function ha(e){const t=(e.pages??[]).map(d=>[...d]),r=e.pageParams?[...e.pageParams].slice(0,t.length):t.map(()=>null);for(;r.length<t.length;)r.push(null);if(e.pageSize<=0)return{pages:t,pageParams:r};let a=ke(t[t.length-1],e.pageSize);const s=Math.max(0,e.maxPages??Number.POSITIVE_INFINITY),i=new Set;for(;a&&!i.has(a)&&i.size<s;){i.add(a);const d=[...await e.fetchPage(a)];t.push(d),r.push(a),a=ke(d,e.pageSize)}return{pages:t,pageParams:r}}n(ha,"loadRemainingIssueCommentPages");function ya(e){return e.activeDetailTab!=="chat"||!e.hasOlderComments||e.initialPageLoading||e.olderPageLoading||e.loadedCommentCount===0?!1:e.loadedCommentCount<e.autoLoadLimit}n(ya,"shouldAutoloadOlderIssueComments");function xa(e,t){if(!e)return e;const r={...e};return t.reopen===!0&&(e.status==="done"||e.status==="cancelled"||e.status==="blocked")&&(r.status="todo"),t.reassignment&&(r.assigneeAgentId=t.reassignment.assigneeAgentId,r.assigneeUserId=t.reassignment.assigneeUserId),r}n(xa,"applyOptimisticIssueCommentUpdate");function Dr(e,t){if(!e)return e;const r={...e,updatedAt:new Date},a=n(i=>Object.prototype.hasOwnProperty.call(t,i),"hasOwn"),s=n(i=>{a(i)&&(r[i]=t[i])},"assign");if(s("status"),s("priority"),s("assigneeAgentId"),s("assigneeUserId"),s("projectId"),s("parentId"),s("projectWorkspaceId"),s("executionWorkspaceId"),s("executionWorkspacePreference"),s("executionWorkspaceSettings"),s("hiddenAt"),a("labelIds")&&Array.isArray(t.labelIds)){const i=t.labelIds.filter(d=>typeof d=="string");r.labelIds=i,e.labels&&(r.labels=e.labels.filter(d=>i.includes(d.id)))}if(a("blockedByIssueIds")&&Array.isArray(t.blockedByIssueIds)&&e.blockedBy){const i=new Set(t.blockedByIssueIds.filter(d=>typeof d=="string"));r.blockedBy=e.blockedBy.filter(d=>i.has(d.id))}return a("projectId")&&(r.project=e.project?.id===r.projectId?e.project:null),a("parentId")&&(r.ancestors=void 0),a("executionWorkspaceId")&&(r.currentExecutionWorkspace=e.currentExecutionWorkspace?.id===r.executionWorkspaceId?e.currentExecutionWorkspace:null),r}n(Dr,"applyOptimisticIssueFieldUpdate");function Cr(e,t){const r=t instanceof Set?t:new Set(t);return r.has(e.id)||!!e.identifier&&r.has(e.identifier)}n(Cr,"matchesIssueRef$1");function va(e,t,r){if(!e)return e;let a=!1;const s=e.map(i=>Cr(i,t)?(a=!0,Dr(i,r)??i):i);return a?s:e}n(va,"applyOptimisticIssueFieldUpdateToCollection");function Ia(e,t){if(!e||e.length===0)return[[t]];const r=e.map(a=>[...a]);for(let a=0;a<r.length;a+=1){const s=r[a].findIndex(i=>i.id===t.id);if(s!==-1)return r[a][s]=t,r[a]=pe(r[a]),r}return r[0]=pe([...r[0],t]),r}n(Ia,"upsertIssueCommentInPages");function wa(e,t){return!e||e.length===0?[]:e.map(r=>r.filter(a=>a.id!==t)).filter(r=>r.length>0)}n(wa,"removeIssueCommentFromPages");var Er=["issues","detail"],Be=6e4,Mr=3e4;function D(e){return typeof e=="string"&&e.length>0}n(D,"isNonEmptyString");function G(e,t){const r=new Set;return D(e)&&r.add(e),D(t?.id)&&r.add(t.id),D(t?.identifier)&&r.add(t.identifier),Array.from(r)}n(G,"collectIssueRefs");function Rr(e,t){const r=t instanceof Set?t:new Set(t);return r.has(e.id)||!!e.identifier&&r.has(e.identifier)}n(Rr,"matchesIssueRef");function z(e){if(typeof e!="object"||e===null)return!1;const t=e;return D(t.id)&&D(t.companyId)&&typeof t.title=="string"&&typeof t.status=="string"&&typeof t.workMode=="string"&&typeof t.priority=="string"&&(t.projectId===null||typeof t.projectId=="string")&&(t.parentId===null||typeof t.parentId=="string")&&(t.identifier===null||typeof t.identifier=="string")&&(t.description===null||typeof t.description=="string")&&(t.assigneeAgentId===null||typeof t.assigneeAgentId=="string")&&(t.assigneeUserId===null||typeof t.assigneeUserId=="string")&&(t.executionRunId===null||typeof t.executionRunId=="string")&&(t.issueNumber===null||typeof t.issueNumber=="number")&&typeof t.requestDepth=="number"&&t.createdAt!=null&&t.updatedAt!=null}n(z,"isCompleteIssueSnapshot");function fe(e,t){return e?{...e,...t}:t}n(fe,"mergeIssueSnapshots");function $a(e){return G(null,e)}n($a,"getIssueDetailCacheRefs");function Le(e,t,r){const a=G(t,r);for(const s of a){const i=e.getQueryData(M.issues.detail(s));if(z(i))return i}return e.getQueriesData({queryKey:Er}).map(([,s])=>s).find(s=>z(s)&&Rr(s,a))}n(Le,"getCachedIssueDetail");function ze(e,t,r){if(!z(t))return t;const a=G(r?.issueRef,t),s=fe(Le(e,r?.issueRef,t),t);for(const i of a)e.setQueryData(M.issues.detail(i),d=>fe(d,s));return s}n(ze,"seedIssueDetailCache");async function Pe(e,t,r){return ze(e,r?await I.get(t,r):await I.get(t),{issueRef:t})}n(Pe,"fetchIssueDetail");function Tr(e,t,r){return{queryKey:M.issues.detail(t),queryFn:n(({signal:a})=>Pe(e,t,{signal:a}),"queryFn"),placeholderData:Le(e,t,r?.placeholderIssue??void 0)}}n(Tr,"getIssueDetailQueryOptions");function jr(e,t,r){return z(r?.issue)&&ze(e,r.issue,{issueRef:t}),e.prefetchQuery({queryKey:M.issues.detail(t),queryFn:n(()=>Pe(e,t),"queryFn"),staleTime:Be})}n(jr,"prefetchIssueDetail");function Ur(e,t){return e.prefetchInfiniteQuery({queryKey:M.issues.comments(t),queryFn:n(({pageParam:r})=>I.listComments(t,{order:"desc",limit:50,...r?{after:r}:{}}),"queryFn"),initialPageParam:null,getNextPageParam:n(r=>_r(r,50),"getNextPageParam"),staleTime:Mr,pages:1})}n(Ur,"prefetchIssueComments");function Br(e,t,r){return Promise.all([jr(e,t,r),Ur(e,r?.issue?.id??t)])}n(Br,"prefetchIssueDetailForNavigation");var qe={name:"atom",size:24,node:[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["path",{d:"M20.2 20.2c2.04-2.03.02-7.36-4.5-11.9-4.54-4.52-9.87-6.54-11.9-4.5-2.04 2.03-.02 7.36 4.5 11.9 4.54 4.52 9.87 6.54 11.9 4.5Z",key:"1l2ple"}],["path",{d:"M15.7 15.7c4.52-4.54 6.54-9.87 4.5-11.9-2.03-2.04-7.36-.02-11.9 4.5-4.52 4.54-6.54 9.87-4.5 11.9 2.03 2.04 7.36.02 11.9-4.5Z",key:"1wam0m"}]]};qe.node;var Lr=u(qe),Oe={name:"box",size:24,node:[["path",{d:"M21 8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16Z",key:"hh9hay"}],["path",{d:"m3.3 7 8.7 5 8.7-5",key:"g66t2b"}],["path",{d:"M12 22V12",key:"d0xqtd"}]]};Oe.node;var zr=u(Oe),Ne={name:"brain",size:24,node:[["path",{d:"M12 18V5",key:"adv99a"}],["path",{d:"M15 13a4.17 4.17 0 0 1-3-4 4.17 4.17 0 0 1-3 4",key:"1e3is1"}],["path",{d:"M17.598 6.5A3 3 0 1 0 12 5a3 3 0 1 0-5.598 1.5",key:"1gqd8o"}],["path",{d:"M17.997 5.125a4 4 0 0 1 2.526 5.77",key:"iwvgf7"}],["path",{d:"M18 18a4 4 0 0 0 2-7.464",key:"efp6ie"}],["path",{d:"M19.967 17.483A4 4 0 1 1 12 18a4 4 0 1 1-7.967-.517",key:"1gq6am"}],["path",{d:"M6 18a4 4 0 0 1-2-7.464",key:"k1g0md"}],["path",{d:"M6.003 5.125a4 4 0 0 0-2.526 5.77",key:"q97ue3"}]]};Ne.node;var Pr=u(Ne),Fe={name:"briefcase",size:24,node:[["path",{d:"M16 20V4a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v16",key:"jecpp"}],["rect",{width:"20",height:"14",x:"2",y:"6",rx:"2",key:"i6l2r4"}]]};Fe.node;var qr=u(Fe),Qe={name:"bug",size:24,node:[["path",{d:"M12 20v-9",key:"1qisl0"}],["path",{d:"M14 7a4 4 0 0 1 4 4v3a6 6 0 0 1-12 0v-3a4 4 0 0 1 4-4z",key:"uouzyp"}],["path",{d:"M14.12 3.88 16 2",key:"qol33r"}],["path",{d:"M21 21a4 4 0 0 0-3.81-4",key:"1b0z45"}],["path",{d:"M21 5a4 4 0 0 1-3.55 3.97",key:"5cxbf6"}],["path",{d:"M22 13h-4",key:"1jl80f"}],["path",{d:"M3 21a4 4 0 0 1 3.81-4",key:"1fjd4g"}],["path",{d:"M3 5a4 4 0 0 0 3.55 3.97",key:"1d7oge"}],["path",{d:"M6 13H2",key:"82j7cp"}],["path",{d:"m8 2 1.88 1.88",key:"fmnt4t"}],["path",{d:"M9 7.13V6a3 3 0 1 1 6 0v1.13",key:"1vgav8"}]]};Qe.node;var Or=u(Qe),He={name:"circle-dashed",size:24,node:[["path",{d:"M10.1 2.182a10 10 0 0 1 3.8 0",key:"5ilxe3"}],["path",{d:"M13.9 21.818a10 10 0 0 1-3.8 0",key:"11zvb9"}],["path",{d:"M17.609 3.721a10 10 0 0 1 2.69 2.7",key:"1iw5b2"}],["path",{d:"M2.182 13.9a10 10 0 0 1 0-3.8",key:"c0bmvh"}],["path",{d:"M20.279 17.609a10 10 0 0 1-2.7 2.69",key:"1ruxm7"}],["path",{d:"M21.818 10.1a10 10 0 0 1 0 3.8",key:"qkgqxc"}],["path",{d:"M3.721 6.391a10 10 0 0 1 2.7-2.69",key:"1mcia2"}],["path",{d:"M6.391 20.279a10 10 0 0 1-2.69-2.7",key:"1fvljs"}]]};He.node;var Ve=u(He),We={name:"circle-minus",size:24,node:[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M8 12h8",key:"1wcyev"}]],aliases:["minus-circle"]};We.node;var be=u(We),Ke={name:"code",size:24,node:[["path",{d:"m16 18 6-6-6-6",key:"eg8j8"}],["path",{d:"m8 6-6 6 6 6",key:"ppft3o"}]]};Ke.node;var Nr=u(Ke),Ge={name:"cog",size:24,node:[["path",{d:"M11 10.27 7 3.34",key:"16pf9h"}],["path",{d:"m11 13.73-4 6.93",key:"794ttg"}],["path",{d:"M12 22v-2",key:"1osdcq"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M14 12h8",key:"4f43i9"}],["path",{d:"m17 20.66-1-1.73",key:"eq3orb"}],["path",{d:"m17 3.34-1 1.73",key:"2wel8s"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"m20.66 17-1.73-1",key:"sg0v6f"}],["path",{d:"m20.66 7-1.73 1",key:"1ow05n"}],["path",{d:"m3.34 17 1.73-1",key:"nuk764"}],["path",{d:"m3.34 7 1.73 1",key:"1ulond"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}],["circle",{cx:"12",cy:"12",r:"8",key:"46899m"}]]};Ge.node;var Fr=u(Ge),Ye={name:"compass",size:24,node:[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m16.24 7.76-1.804 5.411a2 2 0 0 1-1.265 1.265L7.76 16.24l1.804-5.411a2 2 0 0 1 1.265-1.265z",key:"9ktpf1"}]]};Ye.node;var Qr=u(Ye),Ze={name:"crown",size:24,node:[["path",{d:"M11.562 3.266a.5.5 0 0 1 .876 0L15.39 8.87a1 1 0 0 0 1.516.294L21.183 5.5a.5.5 0 0 1 .798.519l-2.834 10.246a1 1 0 0 1-.956.734H5.81a1 1 0 0 1-.957-.734L2.02 6.02a.5.5 0 0 1 .798-.519l4.276 3.664a1 1 0 0 0 1.516-.294z",key:"1vdc57"}],["path",{d:"M5 21h14",key:"11awu3"}]]};Ze.node;var Hr=u(Ze),Xe={name:"file-code",size:24,node:[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M10 12.5 8 15l2 2.5",key:"1tg20x"}],["path",{d:"m14 12.5 2 2.5-2 2.5",key:"yinavb"}]]};Xe.node;var Vr=u(Xe),Je={name:"flame",size:24,node:[["path",{d:"M12 3q1 4 4 6.5t3 5.5a1 1 0 0 1-14 0 5 5 0 0 1 1-3 1 1 0 0 0 5 0c0-2-1.5-3-1.5-5q0-2 2.5-4",key:"1slcih"}]]};Je.node;var Wr=u(Je),et={name:"gem",size:24,node:[["path",{d:"M10.5 3 8 9l4 13 4-13-2.5-6",key:"b3dvk1"}],["path",{d:"M17 3a2 2 0 0 1 1.6.8l3 4a2 2 0 0 1 .013 2.382l-7.99 10.986a2 2 0 0 1-3.247 0l-7.99-10.986A2 2 0 0 1 2.4 7.8l2.998-3.997A2 2 0 0 1 7 3z",key:"7w4byz"}],["path",{d:"M2 9h20",key:"16fsjt"}]]};et.node;var Kr=u(et),tt={name:"git-branch",size:24,node:[["path",{d:"M15 6a9 9 0 0 0-9 9V3",key:"1cii5b"}],["circle",{cx:"18",cy:"6",r:"3",key:"1h7g24"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}]]};tt.node;var Gr=u(tt),rt={name:"globe",size:24,node:[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]]};rt.node;var Yr=u(rt),nt={name:"hammer",size:24,node:[["path",{d:"m15 12-9.373 9.373a1 1 0 0 1-3.001-3L12 9",key:"1hayfq"}],["path",{d:"m18 15 4-4",key:"16gjal"}],["path",{d:"m21.5 11.5-1.914-1.914A2 2 0 0 1 19 8.172v-.344a2 2 0 0 0-.586-1.414l-1.657-1.657A6 6 0 0 0 12.516 3H9l1.243 1.243A6 6 0 0 1 12 8.485V10l2 2h1.172a2 2 0 0 1 1.414.586L18.5 14.5",key:"15ts47"}]]};nt.node;var Zr=u(nt),at={name:"heart",size:24,node:[["path",{d:"M2 9.5a5.5 5.5 0 0 1 9.591-3.676.56.56 0 0 0 .818 0A5.49 5.49 0 0 1 22 9.5c0 2.29-1.5 4-3 5.5l-5.492 5.313a2 2 0 0 1-3 .019L5 15c-1.5-1.5-3-3.2-3-5.5",key:"mvr1a0"}]]};at.node;var Xr=u(at),st={name:"hexagon",size:24,node:[["path",{d:"M21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16z",key:"yt0hxn"}]]};st.node;var Jr=u(st),ot={name:"layers",size:24,node:[["path",{d:"M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z",key:"zw3jo"}],["path",{d:"M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12",key:"1wduqc"}],["path",{d:"M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17",key:"kqbvx6"}]],aliases:["layers-3"]};ot.node;var en=u(ot),it={name:"lightbulb",size:24,node:[["path",{d:"M15 14c.2-1 .7-1.7 1.5-2.5 1-.9 1.5-2.2 1.5-3.5A6 6 0 0 0 6 8c0 1 .2 2.2 1.5 3.5.7.7 1.3 1.5 1.5 2.5",key:"1gvzjb"}],["path",{d:"M9 18h6",key:"x1upvd"}],["path",{d:"M10 22h4",key:"ceow96"}]]};it.node;var tn=u(it),dt={name:"mail",size:24,node:[["path",{d:"m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7",key:"132q7q"}],["rect",{x:"2",y:"4",width:"20",height:"16",rx:"2",key:"izxlao"}]]};dt.node;var rn=u(dt),ct={name:"message-square",size:24,node:[["path",{d:"M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z",key:"18887p"}]]};ct.node;var nn=u(ct),ut={name:"puzzle",size:24,node:[["path",{d:"M15.39 4.39a1 1 0 0 0 1.68-.474 2.5 2.5 0 1 1 3.014 3.015 1 1 0 0 0-.474 1.68l1.683 1.682a2.414 2.414 0 0 1 0 3.414L19.61 15.39a1 1 0 0 1-1.68-.474 2.5 2.5 0 1 0-3.014 3.015 1 1 0 0 1 .474 1.68l-1.683 1.682a2.414 2.414 0 0 1-3.414 0L8.61 19.61a1 1 0 0 0-1.68.474 2.5 2.5 0 1 1-3.014-3.015 1 1 0 0 0 .474-1.68l-1.683-1.682a2.414 2.414 0 0 1 0-3.414L4.39 8.61a1 1 0 0 1 1.68.474 2.5 2.5 0 1 0 3.014-3.015 1 1 0 0 1-.474-1.68l1.683-1.682a2.414 2.414 0 0 1 3.414 0z",key:"w46dr5"}]]};ut.node;var an=u(ut),lt={name:"radar",size:24,node:[["path",{d:"M19.07 4.93A10 10 0 0 0 6.99 3.34",key:"z3du51"}],["path",{d:"M4 6h.01",key:"oypzma"}],["path",{d:"M2.29 9.62A10 10 0 1 0 21.31 8.35",key:"qzzz0"}],["path",{d:"M16.24 7.76A6 6 0 1 0 8.23 16.67",key:"1yjesh"}],["path",{d:"M12 18h.01",key:"mhygvu"}],["path",{d:"M17.99 11.66A6 6 0 0 1 15.77 16.67",key:"1u2y91"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}],["path",{d:"m13.41 10.59 5.66-5.66",key:"mhq4k0"}]]};lt.node;var sn=u(lt),gt={name:"rocket",size:24,node:[["path",{d:"M12 15v5s3.03-.55 4-2c1.08-1.62 0-5 0-5",key:"qeys4"}],["path",{d:"M4.5 16.5c-1.5 1.26-2 5-2 5s3.74-.5 5-2c.71-.84.7-2.13-.09-2.91a2.18 2.18 0 0 0-2.91-.09",key:"u4xsad"}],["path",{d:"M9 12a22 22 0 0 1 2-3.95A12.88 12.88 0 0 1 22 2c0 2.72-.78 7.5-6 11a22.4 22.4 0 0 1-4 2z",key:"676m9"}],["path",{d:"M9 12H4s.55-3.03 2-4c1.62-1.08 5 .05 5 .05",key:"92ym6u"}]]};gt.node;var on=u(gt),mt={name:"sparkles",size:24,node:[["path",{d:"M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z",key:"1s2grr"}],["path",{d:"M20 2v4",key:"1rf3ol"}],["path",{d:"M22 4h-4",key:"gwowj6"}],["circle",{cx:"4",cy:"20",r:"2",key:"6kqj1y"}]],aliases:["stars"]};mt.node;var dn=u(mt),pt={name:"target",size:24,node:[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"12",r:"6",key:"1vlfrh"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}]]};pt.node;var cn=u(pt),kt={name:"telescope",size:24,node:[["path",{d:"m10.065 12.493-6.18 1.318a.934.934 0 0 1-1.108-.702l-.537-2.15a1.07 1.07 0 0 1 .691-1.265l13.504-4.44",key:"k4qptu"}],["path",{d:"m13.56 11.747 4.332-.924",key:"19l80z"}],["path",{d:"m16 21-3.105-6.21",key:"7oh9d"}],["path",{d:"M16.485 5.94a2 2 0 0 1 1.455-2.425l1.09-.272a1 1 0 0 1 1.212.727l1.515 6.06a1 1 0 0 1-.727 1.213l-1.09.272a2 2 0 0 1-2.425-1.455z",key:"m7xp4m"}],["path",{d:"m6.158 8.633 1.114 4.456",key:"74o979"}],["path",{d:"m8 21 3.105-6.21",key:"1fvxut"}],["circle",{cx:"12",cy:"13",r:"2",key:"1c1ljs"}]]};kt.node;var un=u(kt),ft={name:"wrench",size:24,node:[["path",{d:"M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.106-3.105c.32-.322.863-.22.983.218a6 6 0 0 1-8.259 7.057l-7.91 7.91a1 1 0 0 1-2.999-3l7.91-7.91a6 6 0 0 1 7.057-8.259c.438.12.54.662.219.984z",key:"1ngwbx"}]]};ft.node;var ln=u(ft),bt={name:"zap",size:24,node:[["path",{d:"M15.914 4a1.5 1.5 0 00-2.474-1.561l-9 9A1.5 1.5 0 005.5 14h4.002a.5.5 0 01.471.666L8.086 20a1.5 1.5 0 002.475 1.56l9-9A1.5 1.5 0 0018.5 10h-3.997a.5.5 0 01-.472-.667z",key:"1v7up4"}]]};bt.node;var gn=u(bt),Sa={backlog:"text-ink-3 border-ink-3",todo:"text-amber-600 border-amber-600 dark:text-amber-400 dark:border-amber-400",in_progress:"text-blue-600 border-blue-600 dark:text-blue-400 dark:border-blue-400",in_review:"text-violet-600 border-violet-600 dark:text-violet-400 dark:border-violet-400",done:"text-green-600 border-green-600 dark:text-green-400 dark:border-green-400",cancelled:"text-neutral-500 border-neutral-500",blocked:"text-red-600 border-red-600 dark:text-red-400 dark:border-red-400"},Aa="text-ink-3 border-ink-3",_a={backlog:"text-ink-3",todo:"text-amber-600 dark:text-amber-400",in_progress:"text-blue-600 dark:text-blue-400",in_review:"text-violet-600 dark:text-violet-400",done:"text-green-600 dark:text-green-400",cancelled:"text-neutral-500",blocked:"text-red-600 dark:text-red-400"},Da="text-ink-3",B={gray:"bg-[#F5F3F0] text-[#52585D] border-[#A8AEB2] dark:bg-[#6e696024] dark:text-[#9A958A] dark:border-[#9e958a73]",blue:"bg-[#DBEAFE] text-[#1D4ED8] border-[#2563EB] dark:bg-[#2563eb2e] dark:text-[#2563EB] dark:border-[#2563eb73]",amber:"bg-[#FEF3C7] text-[#B45309] border-[#F59E0B] dark:bg-[#f59e0b24] dark:text-[#F59E0B] dark:border-[#f59e0b73]",green:"bg-[#DCFCE7] text-[#188A3C] border-[#22C55E] dark:bg-[#22c55e1f] dark:text-[#22C55E] dark:border-[#22c55e73]",violet:"bg-[#EDE9FE] text-[#5B21B6] border-[#7C3AED] dark:bg-[#7c3aed2e] dark:text-[#7C3AED] dark:border-[#7c3aed73]",red:"bg-[#FEE2E2] text-[#991B1B] border-[#DC2626] dark:bg-[#dc26262e] dark:text-[#DC2626] dark:border-[#dc262673]"},Ca={active:`border ${B.green}`,running:`border ${B.blue}`,scheduled_retry:"bg-sky-100 text-sky-700 dark:bg-sky-900/50 dark:text-sky-300",paused:`border ${B.amber}`,idle:`border ${B.gray}`,archived:"bg-bg-3 text-ink-3",planned:"bg-bg-3 text-ink-3",achieved:"bg-green-100 text-green-700 dark:bg-green-900/50 dark:text-green-300",completed:"bg-green-100 text-green-700 dark:bg-green-900/50 dark:text-green-300",failed:"bg-red-100 text-red-700 dark:bg-red-900/50 dark:text-red-300",timed_out:"bg-orange-100 text-orange-700 dark:bg-orange-900/50 dark:text-orange-300",succeeded:"bg-green-100 text-green-700 dark:bg-green-900/50 dark:text-green-300",ok:"bg-green-100 text-green-700 dark:bg-green-900/50 dark:text-green-300",warning:"bg-amber-100 text-amber-700 dark:bg-amber-900/50 dark:text-amber-300",error:"bg-red-100 text-red-700 dark:bg-red-900/50 dark:text-red-300",info:"bg-sky-100 text-sky-700 dark:bg-sky-900/50 dark:text-sky-300",terminated:"bg-red-100 text-red-700 dark:bg-red-900/50 dark:text-red-300",pending:"bg-yellow-100 text-yellow-700 dark:bg-yellow-900/50 dark:text-yellow-300",queued:"bg-yellow-100 text-yellow-700 dark:bg-yellow-900/50 dark:text-yellow-300",pending_approval:"bg-amber-100 text-amber-700 dark:bg-amber-900/50 dark:text-amber-300",revision_requested:"bg-amber-100 text-amber-700 dark:bg-amber-900/50 dark:text-amber-300",approved:"bg-green-100 text-green-700 dark:bg-green-900/50 dark:text-green-300",rejected:"bg-red-100 text-red-700 dark:bg-red-900/50 dark:text-red-300",draft:"bg-bg-3 text-ink-3",backlog:"bg-bg-3 text-ink-3",todo:"bg-amber-100 text-amber-700 dark:bg-amber-900/50 dark:text-amber-300",in_progress:"bg-blue-100 text-blue-700 dark:bg-blue-900/50 dark:text-blue-300",in_review:"bg-violet-100 text-violet-700 dark:bg-violet-900/50 dark:text-violet-300",blocked:"bg-red-100 text-red-700 dark:bg-red-900/50 dark:text-red-300",done:"bg-green-100 text-green-700 dark:bg-green-900/50 dark:text-green-300",cancelled:"bg-bg-3 text-ink-3",allowed:"bg-green-100 text-green-700 dark:bg-green-900/50 dark:text-green-300",denied:"bg-red-100 text-red-700 dark:bg-red-900/50 dark:text-red-300",block:"bg-red-100 text-red-700 dark:bg-red-900/50 dark:text-red-300","require-approval":"bg-amber-100 text-amber-700 dark:bg-amber-900/50 dark:text-amber-300",redacted:"bg-violet-100 text-violet-700 dark:bg-violet-900/50 dark:text-violet-300","rate-limit":"bg-orange-100 text-orange-700 dark:bg-orange-900/50 dark:text-orange-300",deferred:"bg-sky-100 text-sky-700 dark:bg-sky-900/50 dark:text-sky-300",hidden:"bg-bg-3 text-ink-3",quarantined:"bg-red-100 text-red-700 dark:bg-red-900/50 dark:text-red-300","runtime-error":"bg-red-100 text-red-700 dark:bg-red-900/50 dark:text-red-300",healthy:"bg-green-100 text-green-700 dark:bg-green-900/50 dark:text-green-300",degraded:"bg-amber-100 text-amber-700 dark:bg-amber-900/50 dark:text-amber-300",unchecked:"bg-bg-3 text-ink-3"},Ea="bg-bg-3 text-ink-3",Ma="text-[#1D4ED8] dark:text-[#2563EB]",Ra="bg-blue-500/10 border-blue-500/30 text-blue-600 dark:text-blue-400",Ta={info:"border-[#2563EB]/40 bg-[#DBEAFE]/50 text-[#1D4ED8] dark:border-[#2563eb59] dark:bg-[#2563eb14] dark:text-[#93C5FD]",warning:"border-[#F59E0B]/50 bg-[#FEF3C7]/60 text-[#B45309] dark:border-[#f59e0b59] dark:bg-[#f59e0b12] dark:text-[#F59E0B]",danger:"border-bad/40 bg-red-100 text-red-700 dark:bg-red-900/50 dark:text-red-300"},ja={idle:"--status-agent-idle",active:"--status-agent-idle",running:"--status-agent-running",paused:"--status-agent-paused",error:"--status-agent-error"},Ua="--status-agent-idle",Ba={idle:"--status-task-backlog",backlog:"--status-task-backlog",todo:"--status-task-todo",in_progress:"--status-task-in_progress",in_review:"--status-task-in_review",done:"--status-task-done",blocked:"--status-task-blocked",cancelled:"--status-task-cancelled"},La="--status-task-backlog",mn={idle:"--status-task-icon-backlog",backlog:"--status-task-icon-backlog",todo:"--status-task-icon-todo",in_progress:"--status-task-icon-in_progress",in_review:"--status-task-icon-in_review",done:"--status-task-icon-done",blocked:"--status-task-icon-blocked",cancelled:"--status-task-icon-cancelled",in_queue:"--status-task-icon-in_queue"};var za={running:"bg-blue-400 animate-pulse",active:"bg-green-400",paused:"bg-yellow-400",idle:"bg-yellow-400",pending_approval:"bg-amber-400",error:"bg-red-400",archived:"bg-neutral-400"},Pa="bg-neutral-400",qa={critical:"text-red-600 dark:text-red-400",high:"text-orange-600 dark:text-orange-400",medium:"text-yellow-600 dark:text-yellow-400",low:"text-blue-600 dark:text-blue-400"},Oa="text-yellow-600 dark:text-yellow-400",Na={unknown:"text-ink-3 border-ink-3",open:"text-blue-600 border-blue-600 dark:text-blue-400 dark:border-blue-400",waiting:"text-amber-600 border-amber-600 dark:text-amber-400 dark:border-amber-400",running:"text-blue-600 border-blue-600 dark:text-blue-400 dark:border-blue-400",succeeded:"text-green-600 border-green-600 dark:text-green-400 dark:border-green-400",merged:"text-violet-600 border-violet-600 dark:text-violet-400 dark:border-violet-400",failed:"text-red-600 border-red-600 dark:text-red-400 dark:border-red-400",blocked:"text-red-600 border-red-600 dark:text-red-400 dark:border-red-400",closed:"text-neutral-500 border-neutral-500",archived:"text-neutral-500 border-neutral-500",auth_required:"text-amber-600 border-amber-600 dark:text-amber-400 dark:border-amber-400",unreachable:"text-red-600 border-red-600 dark:text-red-400 dark:border-red-400"},Fa="text-ink-3 border-ink-3",Qa={unknown:"bg-bg-3 text-ink-3",open:"bg-blue-100 text-blue-700 dark:bg-blue-900/50 dark:text-blue-300",waiting:"bg-amber-100 text-amber-700 dark:bg-amber-900/50 dark:text-amber-300",running:"bg-blue-100 text-blue-700 dark:bg-blue-900/50 dark:text-blue-300",succeeded:"bg-green-100 text-green-700 dark:bg-green-900/50 dark:text-green-300",failed:"bg-red-100 text-red-700 dark:bg-red-900/50 dark:text-red-300",blocked:"bg-red-100 text-red-700 dark:bg-red-900/50 dark:text-red-300",closed:"bg-bg-3 text-ink-3",archived:"bg-bg-3 text-ink-3",auth_required:"bg-amber-100 text-amber-700 dark:bg-amber-900/50 dark:text-amber-300",unreachable:"bg-red-100 text-red-700 dark:bg-red-900/50 dark:text-red-300"},Ha="bg-bg-3 text-ink-3",Va={unknown:"",fresh:"",stale:"opacity-70 [border-style:dashed]",auth_required:"[border-style:dashed]",unreachable:"[border-style:dashed]"},c=Ie(qt(),1),pn={sm:14,md:16,lg:20},kn=u("TaskProgressSpinner",[["circle",{cx:"12",cy:"12",r:"10",pathLength:"100",strokeDasharray:"80 20",key:"progress"}]]),fn={idle:ae,backlog:Ve,todo:ae,in_progress:kn,in_review:dr,done:Ot,blocked:be,cancelled:Wt,in_queue:be},bn=Ve;function hn({status:e,size:t="md",className:r,title:a}){const s=pn[t],i=fn[e]??bn,d=mn[e]??"--status-task-icon-backlog",g=a?{role:"img","aria-label":a}:{"aria-hidden":!0};return(0,c.jsx)(i,{size:s,className:P("inline-block shrink-0 align-middle",e==="in_progress"&&"motion-safe:animate-spin",r),style:{color:`var(${d})`},...g,children:a?(0,c.jsx)("title",{children:a}):null})}n(hn,"StatusGlyph");var he={folder:Kt,rocket:on,code:Nr,terminal:mr,database:Qt,globe:Yr,package:ur,boxes:ir,box:zr,layers:en,briefcase:qr,compass:Qr,target:cn,flame:Wr,zap:gn,star:Gt,bug:Or,wrench:ln,hammer:Zr,lightbulb:tn,sparkles:dn,shield:gr,lock:Vt,search:lr,cog:Fr,brain:Pr,cpu:cr,"git-branch":Gr,"file-code":Vr,puzzle:an,gem:Kr,atom:Lr,heart:Xr,mail:rn,"message-square":nn,crown:Hr,radar:sn,telescope:un,hexagon:Jr},yn="folder";function xn(e){return e&&zt.includes(e)?he[e]:he[yn]}n(xn,"getProjectIcon");var vn={xs:{box:"h-4 w-4 rounded-sm",icon:"h-2.5 w-2.5"},sm:{box:"h-6 w-6 rounded-md",icon:"h-3.5 w-3.5"},md:{box:"h-7 w-7 rounded-lg",icon:"h-4 w-4"},lg:{box:"h-9 w-9 rounded-lg",icon:"h-5 w-5"}};function In({color:e,icon:t,size:r="md",className:a}){const s=vn[r],i=!!e,d=xn(t);return(0,c.jsx)("span",{"aria-hidden":!0,className:P("inline-flex shrink-0 items-center justify-center",s.box,i?"text-white":"bg-bg-3 text-ink-3",a),style:i?{backgroundColor:e??void 0}:void 0,children:(0,c.jsx)(d,{className:s.icon})})}n(In,"ProjectTile");var C=null,H=new Set;function ht(){for(const e of H)e()}n(ht,"emitQuicklookChange");function ye(e){C!==e&&(C=e,ht())}n(ye,"openQuicklookId");function xe(e){C===e&&(C=null,ht())}n(xe,"closeQuicklookId");function wn(e){return H.add(e),()=>{H.delete(e)}}n(wn,"subscribeQuicklook");function $n(e){return m.useSyncExternalStore(wn,()=>C===e,()=>!1)}n($n,"useIsQuicklookOpen");var Sn=120,An=13,_n="w-72 p-3";function Dn(e="start"){return e==="start"?-13:e==="end"?An:0}n(Dn,"quicklookAlignOffset");function Cn(e){if(!e)return null;const t=e.replace(/!\[[^\]]*]\([^)]+\)/g," ").replace(/\[([^\]]+)\]\([^)]+\)/g,"$1").replace(/[#>*_`~-]+/g," ").replace(/\s+/g," ").trim();return t?t.length>180?`${t.slice(0,177).trimEnd()}...`:t:null}n(Cn,"summarizeIssueDescription");function En({className:e}){return(0,c.jsx)("span",{className:P("text-xs",e),"aria-hidden":!0,children:"·"})}n(En,"QuicklookSeparator");function Mn(e){const t=e.replace(/_/g," ");return t.charAt(0).toUpperCase()+t.slice(1)}n(Mn,"statusLabel");function Rn({issue:e,linkTo:t,linkState:r,compact:a=!1}){const s=(0,m.useMemo)(()=>Cn(e.description),[e.description]),i=e.project?.name;return(0,c.jsxs)("div",{className:P("space-y-2",a&&"space-y-1.5"),children:[(0,c.jsxs)("div",{className:"flex items-center gap-1",children:[(0,c.jsxs)("div",{className:"flex min-w-0 flex-1 items-center gap-1",children:[(0,c.jsx)(hn,{status:e.status,size:"md",title:Mn(e.status)}),(0,c.jsx)("span",{className:"shrink-0 font-mono text-(length:--text-micro) text-ink-3",children:e.identifier??e.id.slice(0,8)}),i?(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(En,{className:"shrink-0 text-ink-3"}),(0,c.jsxs)("span",{className:"flex min-w-0 max-w-(--sz-12rem) flex-1 items-center gap-1 text-(length:--text-micro) text-ink-3",title:i,"data-testid":"quicklook-project",children:[(0,c.jsx)(In,{size:"xs"}),(0,c.jsx)("span",{className:"truncate",children:i})]})]}):null]}),(0,c.jsx)("span",{className:"shrink-0 text-(length:--text-micro) text-ink-3",children:pr(new Date(e.updatedAt))})]}),(0,c.jsx)(V,{to:t,state:r??Te(null,e),className:"block text-sm font-medium leading-snug hover:underline line-clamp-2",children:e.title}),s?(0,c.jsx)("p",{className:"text-xs leading-5 text-ink-3 [display:-webkit-box] [-webkit-box-orient:vertical] [-webkit-line-clamp:4] overflow-hidden",children:s}):null]})}n(Rn,"IssueQuicklookCard");var Tn=m.forwardRef(n(function({issuePathId:t,to:r,children:a,className:s,state:i,disableIssueQuicklook:d=!1,issuePrefetch:g=null,issueQuicklookSide:p="top",issueQuicklookAlign:k="start",onClick:T,onClickCapture:j,onMouseEnter:_t,onFocus:Dt,onBlur:Ct,onTouchStart:Et,...Mt},$){const O=Xt(),f=m.useMemo(()=>Symbol("issue-quicklook"),[]),U=$n(f),S=m.useRef(null),Z=m.useRef(null),X=m.useRef(null),Rt=m.useCallback(l=>{Z.current=l,typeof $=="function"?$(l):$&&($.current=l)},[$]),h=m.useCallback(()=>{S.current&&(clearTimeout(S.current),S.current=null)},[]),N=m.useCallback(()=>{h(),ye(f)},[h,f]),Tt=m.useCallback(()=>{h(),S.current=setTimeout(()=>{S.current=null,ye(f)},Sn)},[h,f]),x=m.useCallback(()=>{h(),xe(f)},[h,f]);m.useEffect(()=>()=>{h(),xe(f)},[h,f]),m.useEffect(()=>{if(!U)return;const l=12,re=n((y,_,v)=>{if(!y)return!1;const b=y.getBoundingClientRect();return _>=b.left-l&&_<=b.right+l&&v>=b.top-l&&v<=b.bottom+l},"nearBox"),Bt=n((y,_)=>{const v=Z.current,b=X.current;if(v?.matches(":hover")||b?.matches(":hover")||re(v,y,_)||re(b,y,_))return!0;const F=document.activeElement;return v===F||!!b&&!!F&&b.contains(F)},"stillEngaged"),ne=n(y=>{Bt(y.clientX,y.clientY)||x()},"onPointerMove");return document.addEventListener("pointermove",ne,{passive:!0}),()=>document.removeEventListener("pointermove",ne)},[U,x]);const J=g?Te(i,g):i,{data:ee,isLoading:jt}=rr({...Tr(O,t,{placeholderIssue:g??void 0}),enabled:U,staleTime:Be}),Ut=$r(t),A=m.useCallback(()=>{Br(O,t,{issue:g})},[t,g,O]),te=(0,c.jsx)(V,{ref:Rt,to:r,state:J,className:s,onMouseEnter:n(l=>{A(),_t?.(l)},"onMouseEnter"),onFocus:n(l=>{A(),N(),Dt?.(l)},"onFocus"),onBlur:n(l=>{setTimeout(()=>x(),0),Ct?.(l)},"onBlur"),onTouchStart:n(l=>{A(),Et?.(l)},"onTouchStart"),onClickCapture:n(l=>{A(),j?.(l)},"onClickCapture"),onClick:n(l=>{x(),T?.(l)},"onClick"),...Mt,children:a});return d?te:(0,c.jsxs)(or,{open:U,onOpenChange:n(l=>l?N():x(),"onOpenChange"),children:[(0,c.jsx)(ar,{asChild:!0,onMouseEnter:n(()=>{A(),Tt()},"onMouseEnter"),onMouseLeave:x,children:te}),(0,c.jsx)(sr,{ref:X,"data-quicklook":!0,className:_n,side:p,align:k,alignOffset:Dn(k),onMouseEnter:N,onMouseLeave:x,onOpenAutoFocus:n(l=>l.preventDefault(),"onOpenAutoFocus"),onCloseAutoFocus:n(l=>l.preventDefault(),"onCloseAutoFocus"),children:ee?(0,c.jsx)(Rn,{issue:ee,linkTo:Ut,linkState:J,compact:!0}):(0,c.jsxs)("div",{className:"space-y-2",children:[(0,c.jsx)("div",{className:"h-4 w-24 rounded bg-bg-3/50"}),(0,c.jsx)("div",{className:"h-4 w-full rounded bg-bg-3/40"}),(0,c.jsx)("div",{className:"h-4 w-3/4 rounded bg-bg-3/30"}),jt?null:(0,c.jsx)("p",{className:"text-xs text-ink-3",children:"Unable to load task preview."})]})})]})},"IssueLinkQuicklookImpl")),yt=new Set(["dashboard","companies","company","skills","teams-catalog","org","agents","chats","apps","projects","workspaces","terminal","execution-workspaces","issues","tasks","routines","goals","artifacts","tools","approvals","costs","usage","activity","audit","decisions","inbox","board-chat","artifacts","u","design-guide","search","settings","timeline"]),Y=new Set(["auth","invite","board-claim","cli-auth","mcp-connect","dot-connect","assistant-connections","docs","instance","s"]);function E(e){return e.trim().toUpperCase()}n(E,"normalizeCompanyPrefix");function xt(e){const t=e.match(/^([^?#]*)(\?[^#]*)?(#.*)?$/);return{pathname:t?.[1]??e,search:t?.[2]??"",hash:t?.[3]??""}}n(xt,"splitPath");function jn(e){return e.split("/").filter(Boolean)[0]??null}n(jn,"getRootSegment");function Un(e){if(e==="/")return!0;const t=jn(e);return t?Y.has(t.toLowerCase()):!0}n(Un,"isGlobalPath");function vt(e){const t=e.split("/").filter(Boolean);if(t.length===0)return null;const r=t[0].toLowerCase();return Y.has(r)||yt.has(r)?null:E(t[0])}n(vt,"extractCompanyPrefixFromPath");function ve(e,t){const{pathname:r,search:a,hash:s}=xt(e);if(!r.startsWith("/")||Un(r)||!t)return e;const i=E(t);return vt(r)?e:`/${i}${r}${a}${s}`}n(ve,"applyCompanyPrefix");function Bn(e,...t){const r=["cases",...t].filter(Boolean).join("/");return e?`/${E(e)}/${r}`:`/${r}`}n(Bn,"caseHref");function Wa(e){const{pathname:t,search:r,hash:a}=xt(e),s=t.split("/").filter(Boolean);if(s.length>=2){const i=s[1].toLowerCase();if(!Y.has(s[0].toLowerCase())&&yt.has(i))return`/${s.slice(1).join("/")}${r}${a}`}return`${t}${r}${a}`}n(Wa,"toCompanyRelativePath");var It=/^[A-Z][A-Z0-9]*-\d+$/i,Ln=/^issue:\/\/:?([^?#\s]+)([?#].*)?$/i,zn=/issue:\/\/:?[^\s<>()]+|https?:\/\/[^\s<>()]+|\/(?:[^\s<>()/]+\/)*issues\/[A-Z][A-Z0-9]*-\d+(?=$|[\s<>)\],.;!?:])|\b[A-Z][A-Z0-9]*-\d+\b/gi;function wt(e){if(!e)return null;const t=e.trim();if(!t||/^https?:\/\//i.test(t))return null;const r=t.split(/[?#]/,1)[0].split("/").filter(Boolean),a=r.findIndex(i=>i==="issues");if(a===-1||a===r.length-1)return null;const s=decodeURIComponent(r[a+1]??"");return!s||s.startsWith(":")?null:It.test(s)?s.toUpperCase():s}n(wt,"parseIssuePathIdFromPath");function $t(e,t){if(!e)return null;const r=e.trim(),a=r.match(Ln);if(a?.[1]){const d=decodeURIComponent(a[1]);return{issuePathId:d,href:`/issues/${encodeURIComponent(d)}${a[2]??""}`}}const s=wt(e);if(s)return{issuePathId:s,href:`/issues/${encodeURIComponent(s)}${r.match(/[?#].*$/)?.[0]??""}`};if(!It.test(r))return null;const i=r.toUpperCase();if(t&&t.size>0){const d=i.split("-")[0];if(!d||!t.has(d))return null}return{issuePathId:i,href:`/issues/${encodeURIComponent(i)}`}}n($t,"parseIssueReferenceFromHref");function Pn(e){let t=e,r="";for(;t.length>0;){const a=t.at(-1);if(!a||!/[),.;!?:\]]/.test(a))break;if(a===")"){const s=(t.match(/\(/g)??[]).length;if((t.match(/\)/g)??[]).length<=s)break}if(a==="]"){const s=(t.match(/\[/g)??[]).length;if((t.match(/\]/g)??[]).length<=s)break}r=`${a}${r}`,t=t.slice(0,-1)}return{core:t,trailing:r}}n(Pn,"splitTrailingPunctuation");function St(e,t,r="text"){return{type:"link",url:t,children:[{type:r,value:e}]}}n(St,"createIssueLinkNode");function qn(e,t){const r=[];let a=0,s=!1;for(const i of e.matchAll(zn)){const d=i[0];if(!d)continue;const g=i.index??0,p=g+d.length,{core:k,trailing:T}=Pn(d),j=$t(k,t);j&&(s=!0,g>a&&r.push({type:"text",value:e.slice(a,g)}),r.push(St(k,j.href)),T&&r.push({type:"text",value:T}),a=p)}return s?(a<e.length&&r.push({type:"text",value:e.slice(a)}),r):null}n(qn,"linkifyIssueReferencesInText");function At(e,t){if(!Array.isArray(e.children)||e.children.length===0||e.type==="link"||e.type==="linkReference"||e.type==="code"||e.type==="definition"||e.type==="html")return;const r=[];for(const a of e.children){if(a.type==="inlineCode"&&typeof a.value=="string"){const s=$t(a.value,t);if(s){r.push(St(a.value,s.href,"inlineCode"));continue}}if(a.type==="text"&&typeof a.value=="string"){const s=qn(a.value,t);if(s){r.push(...s);continue}}At(a,t),r.push(a)}e.children=r}n(At,"rewriteMarkdownTree");function Ka(e){const t=e?.knownPrefixes&&e.knownPrefixes.length>0?new Set(e.knownPrefixes.map(r=>r.toUpperCase())):void 0;return r=>{At(r,t)}}n(Ka,"remarkLinkIssueReferences");function q(e,t){if(typeof e=="string")return ve(e,t);if(e.pathname&&e.pathname.startsWith("/")){const r=ve(e.pathname,t);if(r!==e.pathname)return{...e,pathname:r}}return e}n(q,"resolveTo");function R(){const{selectedCompany:e}=nr(),t=Zt(),r=Ft();if(t.companyPrefix)return E(t.companyPrefix);const a=vt(r.pathname);return a||(e?E(e.issuePrefix):null)}n(R,"useActiveCompanyPrefix");function Ga(){const e=R();return m.useCallback((...t)=>Bn(e,...t),[e])}n(Ga,"useCaseHref");var Ya=m.forwardRef(n(function({to:t,disableIssueQuicklook:r=!1,issuePrefetch:a=null,issueQuicklookSide:s,issueQuicklookAlign:i,...d},g){const p=q(t,R()),k=wt(typeof p=="string"?p:p.pathname);return k?(0,c.jsx)(Tn,{ref:g,to:p,issuePathId:k,disableIssueQuicklook:r,issuePrefetch:a,issueQuicklookSide:s,issueQuicklookAlign:i,...d}):(0,c.jsx)(V,{ref:g,to:p,...d})},"CompanyLink")),Za=m.forwardRef(n(function({to:t,...r},a){const s=R();return(0,c.jsx)(Ht,{ref:a,to:q(t,s),...r})},"CompanyNavLink"));function Xa({to:e,...t}){const r=R();return(0,c.jsx)(Yt,{to:q(e,r),...t})}n(Xa,"Navigate");function Ja(){const e=Nt(),t=R();return m.useCallback(((r,a)=>{if(typeof r=="number"){e(r);return}e(q(r,t),a)}),[e,t])}n(Ja,"useNavigate");export{rn as $,na as $t,Na as A,_r as At,Ca as B,ue as Bt,ja as C,Br as Ct,Va as D,va as Dt,B as E,Dr as Et,Da as F,wa as Ft,ln as G,la as Gt,Ba as H,ia as Ht,Ra as I,ya as It,dn as J,ca as Jt,un as K,yr as Kt,qa as L,fa as Lt,Sa as M,ha as Mt,Aa as N,Cr as Nt,Qa as O,ga as Ot,_a as P,ka as Pt,nn as Q,Se as Qt,Oa as R,Ia as Rt,Pa as S,Tr as St,Ta as T,xa as Tt,La as U,$r as Ut,Ea as V,da as Vt,gn as W,ua as Wt,sn as X,sa as Xt,on as Y,Te as Yt,an as Z,kr as Zt,Dn as _,Pr as _t,Ga as a,ta as an,Yr as at,hn as b,Le as bt,Ka as c,Wr as ct,Un as d,Qr as dt,W as en,tn as et,E as f,Fr as ft,_n as g,Or as gt,Rn as h,Ve as ht,R as i,ra as in,Zr as it,Fa as j,ma as jt,Ha as k,ba as kt,ve as l,Vr as lt,Tn as m,be as mt,Za as n,aa as nn,Jr as nt,Ja as o,pr as on,Gr as ot,Wa as p,Nr as pt,cn as q,Sr as qt,Xa as r,Ae as rn,Xr as rt,$t as s,Kr as st,Ya as t,oa as tn,en as tt,vt as u,Hr as ut,In as v,zr as vt,Ua as w,pa as wt,za as x,$a as xt,he as y,Lr as yt,Ma as z,I as zt};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var p=Object.defineProperty;var r=(t,e)=>p(t,"name",{value:e,configurable:!0});import{r as i}from"./queryKeys-DNib4smf.js";import{t as a}from"./activity-DdoY6l3q.js";var d={list:r((t,e)=>{const n=new URLSearchParams;e?.projectId&&n.set("projectId",e.projectId);const o=n.toString();return i.get(`/companies/${t}/routines${o?`?${o}`:""}`)},"list"),create:r((t,e)=>i.post(`/companies/${t}/routines`,e),"create"),get:r(t=>i.get(`/routines/${t}`),"get"),update:r((t,e)=>i.patch(`/routines/${t}`,e),"update"),listRevisions:r(t=>i.get(`/routines/${t}/revisions`),"listRevisions"),restoreRevision:r((t,e,n={})=>i.post(`/routines/${t}/revisions/${e}/restore`,n),"restoreRevision"),listRuns:r((t,e=50)=>i.get(`/routines/${t}/runs?limit=${e}`),"listRuns"),createTrigger:r((t,e)=>i.post(`/routines/${t}/triggers`,e),"createTrigger"),updateTrigger:r((t,e)=>i.patch(`/routine-triggers/${t}`,e),"updateTrigger"),deleteTrigger:r(t=>i.delete(`/routine-triggers/${t}`),"deleteTrigger"),rotateTriggerSecret:r(t=>i.post(`/routine-triggers/${t}/rotate-secret`,{}),"rotateTriggerSecret"),run:r((t,e)=>i.post(`/routines/${t}/run`,e??{}),"run"),activity:r(async(t,e,n)=>{const o=[a.list(t,{entityType:"routine",entityId:e}),...(n?.triggerIds??[]).map(s=>a.list(t,{entityType:"routine_trigger",entityId:s})),...(n?.runIds??[]).map(s=>a.list(t,{entityType:"routine_run",entityId:s}))],u=(await Promise.all(o)).flat();return[...new Map(u.map(s=>[s.id,s])).values()].sort((s,g)=>new Date(g.createdAt).getTime()-new Date(s.createdAt).getTime())},"activity")};export{d as t};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var c=Object.defineProperty;var o=(e,t)=>c(e,"name",{value:t,configurable:!0});import{h as m}from"./createLucideIcon-CnVGnh-n.js";var y={native_provider_overloaded:"Model at capacity",transient_failure:"Transient failure",missing_issue_comment:"Missing task comment",process_lost:"Process lost",assignment_recovery:"Assignment recovery",issue_continuation_needed:"Continuation needed",max_turns_continuation:"Max-turn continuation"};function l(e){return typeof e=="string"&&e.trim().length>0?e.trim():null}o(l,"readNonEmptyString");function u(e){const t=e.filter(n=>!!n);return t.length>0?t.join(" · "):null}o(u,"joinFragments");function b(e){const t=l(e);return t?y[t]??t.replace(/_/g," "):null}o(b,"formatRetryReason");function x(e){const t=typeof e.scheduledRetryAttempt=="number"&&Number.isFinite(e.scheduledRetryAttempt)&&e.scheduledRetryAttempt>0?e.scheduledRetryAttempt:null,n=t?`Attempt ${t}`:null,i=b(e.scheduledRetryReason),s=l(e.retryOfRunId),r=l(e.retryExhaustedReason),d=e.scheduledRetryAt?m(e.scheduledRetryAt):null,a=e.scheduledRetryReason==="max_turns_continuation";return s||i||d||n||r?e.status==="scheduled_retry"?{kind:"scheduled",badgeLabel:a?"Continuation scheduled":"Retry scheduled",tone:"border-blue-500/30 bg-blue-500/10 text-blue-700 dark:text-blue-300",detail:u([n,i]),secondary:d?`${a?"Next continuation":"Next retry"} ${d}`:`${a?"Next continuation":"Next retry"} pending schedule`,retryOfRunId:s}:r?{kind:"exhausted",badgeLabel:a?"Continuation exhausted":"Retry exhausted",tone:"border-amber-500/30 bg-amber-500/10 text-amber-700 dark:text-amber-300",detail:u([n,i,"Automatic retries exhausted"]),secondary:r.includes("Manual intervention required")?r:`${r} Manual intervention required.`,retryOfRunId:s}:{kind:"attempted",badgeLabel:a?"Continued run":"Retried run",tone:"border-slate-500/20 bg-slate-500/10 text-slate-700 dark:text-slate-300",detail:u([n,i]),secondary:null,retryOfRunId:s}:null}o(x,"describeRunRetryState");export{b as n,x as t};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{t as e}from"./createLucideIcon-CnVGnh-n.js";var a={name:"save",size:24,node:[["path",{d:"M15.2 3a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z",key:"1c8476"}],["path",{d:"M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7",key:"1ydtos"}],["path",{d:"M7 3v4a1 1 0 0 0 1 1h7",key:"t51u73"}]]};a.node;var o=e(a);export{o as t};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var $=Object.defineProperty;var r=(t,o)=>$(t,"name",{value:o,configurable:!0});import{i as K}from"./rolldown-runtime-ZpX3ckPj.js";import{an as D,ln as B,na as H,sn as W,ta as q,un as G}from"./createLucideIcon-CnVGnh-n.js";import{o as U,r as Y,t as z}from"./popover-vHMlfgIl.js";import{t as J}from"./chevron-down-D5bzoGsg.js";import{a as Q,c as X,i as Z,r as T,t as ee}from"./model-picker-fields-4I2KQaJ5.js";import{a as F,i as te,n as ne,o as re,r as oe}from"./agent-config-primitives-DdSnNM4K.js";var S=K(H(),1);function ae(t,o){return t?S.Children.map(o,i=>(0,S.isValidElement)(i)?i.type===S.Fragment?(0,S.cloneElement)(i,void 0,ae(t,i.props.children)):(i.props.configSection??"configuration")===t?i:null:null):o}r(ae,"configFieldsForSection");function se(t){return["model","provider"].includes(t)?"adapter":["command","agentCommand","args","extraArgs"].includes(t)?"advanced":["env","envVars","environmentVariables"].includes(t)?"environment":/timeout|grace|lifecycle/i.test(t)||["lifecycleMode","mode","sessionMode","persistSession","sessionKeyStrategy","warmHandleIdleMs"].includes(t)?"runPolicy":"configuration"}r(se,"schemaFieldSection");var s=K(q(),1);function ie({value:t,options:o,onChange:i}){const[c,a]=(0,S.useState)(!1),g=o.find(f=>f.value===t);return(0,s.jsxs)(z,{open:c,onOpenChange:a,children:[(0,s.jsx)(U,{asChild:!0,children:(0,s.jsxs)("button",{className:"inline-flex items-center gap-1.5 rounded-md border border-line px-2.5 py-1.5 text-sm hover:bg-bg-3/50 transition-colors w-full justify-between",children:[(0,s.jsx)("span",{className:t?"":"text-ink-3",children:g?.label??t??"Select..."}),(0,s.jsx)(J,{className:"h-3 w-3 text-ink-3"})]})}),(0,s.jsx)(Y,{className:"w-[var(--radix-popover-trigger-width)] p-1",align:"start",children:o.map(f=>(0,s.jsx)("button",{className:`flex items-center w-full px-2 py-1.5 text-sm rounded hover:bg-bg-3/50 ${f.value===t?"bg-bg-3":""}`,onMouseDown:r(p=>{p.preventDefault(),i(f.value),a(!1)},"onMouseDown"),children:(0,s.jsx)("span",{children:f.label})},f.value))})]})}r(ie,"SelectField");var L="w-full rounded-md border border-line px-2.5 py-1.5 bg-transparent outline-none text-sm font-mono placeholder:text-ink-3/40",V=new Map,_=new Map,A=new Set;async function le(t){const o=V.get(t);if(o!==void 0)return o;if(A.has(t))return null;const i=_.get(t);if(i)return i;const c=(async()=>{try{const a=await fetch(`/api/adapters/${encodeURIComponent(t)}/config-schema`);if(!a.ok)return A.add(t),null;const g=await a.json();return V.set(t,g),g}catch{return A.add(t),null}finally{_.delete(t)}})();return _.set(t,c),c}r(le,"fetchConfigSchema");function xe(t){V.delete(t),A.delete(t)}r(xe,"invalidateConfigSchemaCache");function ce(t){const[o,i]=(0,S.useState)(()=>({adapterType:t,schema:V.get(t)??null}));return(0,S.useEffect)(()=>{let c=!1;return le(t).then(a=>{c||i({adapterType:t,schema:a})}),()=>{c=!0}},[t]),o.adapterType===t?o.schema:V.get(t)??null}r(ce,"useConfigSchema");function N(t){if(t.default!==void 0)return t.default;switch(t.type){case"toggle":return!1;case"number":return 0;case"text":case"textarea":return"";case"select":return t.options?.[0]?.value??""}}r(N,"getDefaultValue");function ue(t,o,i){const c=t.meta?.visibleWhen;if(!c||typeof c!="object"||Array.isArray(c))return!0;const a=c;if(typeof a.key!="string"||a.key.length===0)return!0;const g=i.fields.find(p=>p.key===a.key);if(!g)return!0;const f=String(o(g)??"");if(typeof a.value=="string")return f===a.value;if(Array.isArray(a.values)){const p=a.values.filter(C=>typeof C=="string");return p.length>0&&p.includes(f)}return Array.isArray(a.notValues)?!a.notValues.filter(p=>typeof p=="string").includes(f):!0}r(ue,"fieldMatchesVisibleWhen");function ke({section:t,hideModel:o,adapterType:i,isCreate:c,values:a,set:g,config:f,eff:p,mark:C}){const m=ce(i),w=(0,S.useRef)({adapterType:i,applied:!1});if((0,S.useEffect)(()=>{if(w.current.adapterType!==i&&(w.current={adapterType:i,applied:!1}),!m||!c||w.current.applied||t&&t!=="configuration")return;w.current.applied=!0;const e={};for(const n of m.fields){const l=N(n);l!==void 0&&l!==""&&(e[n.key]=l)}Object.keys(e).length>0&&g?.({adapterSchemaValues:{...e,...a?.adapterSchemaValues}})},[m,i,c,g,a?.adapterSchemaValues,t]),!m||m.fields.length===0)return null;function b(e){if(c)return a?.adapterSchemaValues?.[e.key]??N(e);const n=f[e.key];return p("adapterConfig",e.key,n??N(e))}r(b,"readValue");function R(e){const n=c?a?me(a)[e]:void 0:p("adapterConfig",e,f[e]);return typeof n=="string"&&n.trim()?n.trim():null}r(R,"readPrimary");function P(e){if(c){g?.({adapterSchemaValues:{...a?.adapterSchemaValues,...e}});return}for(const[n,l]of Object.entries(e))C("adapterConfig",n,l)}r(P,"writeValues");function j(e,n){if(c){const l={adapterSchemaValues:{...a?.adapterSchemaValues,[e.key]:n}};if(e.key==="provider"&&m){const d=m.fields.find(y=>y.key==="model");if(d?.meta?.providerModels){const y=d.meta.providerModels[String(n)]??[],u=a?.adapterSchemaValues?.model;u&&String(n)!=="auto"&&!y.includes(String(u))&&(l.adapterSchemaValues.model="")}}g?.(l)}else if(C("adapterConfig",e.key,n),e.key==="provider"&&m){const l=m.fields.find(d=>d.key==="model");if(l?.meta?.providerModels){const d=l.meta.providerModels[String(n)]??[],y=p("adapterConfig","model","");y&&String(n)!=="auto"&&!d.includes(String(y))&&C("adapterConfig","model","")}}}return r(j,"writeValue"),(0,s.jsx)(s.Fragment,{children:m.fields.filter(e=>!o||e.key!=="model").filter(e=>e.key!=="thinking"||!m.fields.some(n=>n.key==="model"&&n.type==="combobox")).filter(e=>!t||se(e.key)===t).filter(e=>!(e.type==="select"&&/permissionMode/i.test(e.key)&&(e.options?.length??0)<=1)).filter(e=>ue(e,b,m)).map(e=>{switch(e.type){case"select":{const n=String(b(e)??"");return(0,s.jsx)(F,{label:e.label,hint:e.hint,children:(0,s.jsx)(ie,{value:n,options:e.options??[],onChange:r(l=>j(e,l),"onChange")})},e.key)}case"toggle":return(0,s.jsx)(re,{label:e.label,hint:e.hint,checked:b(e)===!0,onChange:r(n=>j(e,n),"onChange")},e.key);case"number":return(0,s.jsx)(F,{label:e.label,hint:e.hint,children:(0,s.jsx)(oe,{value:Number(b(e)??0),onCommit:r(n=>j(e,n),"onCommit"),immediate:!0,className:L})},e.key);case"textarea":return(0,s.jsx)(F,{label:e.label,hint:e.hint,children:(0,s.jsx)(te,{value:String(b(e)??""),onCommit:r(n=>j(e,n||void 0),"onCommit"),immediate:!0})},e.key);case"combobox":{const n=String(b(e)??"");let l=e.options??[];if(e.meta?.providerModels){const u=String(b(m.fields.find(k=>k.key==="provider"))??"auto"),M=e.meta.providerModels;if(u==="auto"){const k=m.fields.find(v=>v.key==="provider")?.options??[];l=Object.entries(M).flatMap(([v,x])=>x.map(E=>({label:E,value:E,group:k.find(h=>h.value===v)?.label??v})))}else{const k=M[u]??[],v=m.fields.find(x=>x.key==="provider")?.options?.find(x=>x.value===u)?.label??u;l=k.map(x=>({label:x,value:x,group:v}))}}const d=e.key==="model"?m.fields.find(u=>u.key==="thinking"):void 0,y=d?String(b(d)??""):"";return(0,s.jsx)(F,{label:e.label,hint:e.hint,children:(0,s.jsx)(ee,{value:n,options:l,onChange:r(u=>{d&&!X(y,u,l)?P({[e.key]:u||void 0,[d.key]:void 0}):j(e,u||void 0)},"onChange"),label:e.label,searchPlaceholder:e.meta?.providerModels||/model/i.test(e.key)?T:void 0,testId:`schema-config-combobox-${e.key}`,effort:d?{value:y||null,onChange:r(u=>j(d,u??void 0),"onChange"),defaultLabel:"Auto"}:void 0})},e.key)}case"combobox_list":{const n=typeof e.meta?.distinctFromKey=="string"?e.meta.distinctFromKey:null,l=typeof e.meta?.maxItems=="number"?e.meta.maxItems:5,d=G(b(e)),y=e.options??[],u=e.key==="fallbackModels",M={key:D,label:"Fallback efforts",type:"text"},k=u?B(b(M)):{},v=r(h=>Object.keys(h).length>0?h:void 0,"effortsValue"),x=r(h=>j(M,v(h)),"writeEfforts"),E=r((h,I)=>{const O={...k};I?O[h]=I:delete O[h],x(O)},"setFallbackEffort");return(0,s.jsx)(F,{label:e.label,hint:e.hint,aside:(0,s.jsx)(Z,{count:d.length,max:l}),children:(0,s.jsx)(Q,{value:d,options:y,maxItems:l,primary:n?R(n):null,onChange:r(h=>{P({[e.key]:h.length>0?h:void 0,...u?{[D]:v(W(k,h))}:{}})},"onChange"),label:e.label,testId:`schema-config-list-${e.key}`,currentEfforts:k,onEffortChange:u?E:void 0})},e.key)}default:return(0,s.jsx)(F,{label:e.label,hint:e.hint,children:(0,s.jsx)(ne,{value:String(b(e)??""),onCommit:r(n=>j(e,n||void 0),"onCommit"),immediate:!0,className:L})},e.key)}})})}r(ke,"SchemaConfigFields");function me(t){const o={};return t.model?.trim()&&(o.model=t.model.trim()),t.cwd&&(o.cwd=t.cwd),t.command&&(o.command=t.command),t.instructionsFilePath&&(o.instructionsFilePath=t.instructionsFilePath),t.thinkingEffort&&(o.thinkingEffort=t.thinkingEffort),t.extraArgs&&(o.extraArgs=t.extraArgs.split(/\s+/).filter(Boolean)),t.adapterSchemaValues&&Object.assign(o,t.adapterSchemaValues),o}r(me,"buildSchemaAdapterConfig");export{ae as a,ce as i,me as n,se as o,xe as r,ke as t};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var ce=Object.defineProperty;var s=(l,e)=>ce(l,"name",{value:e,configurable:!0});import{i as J}from"./rolldown-runtime-ZpX3ckPj.js";import{l as K,na as ae,ta as se}from"./createLucideIcon-CnVGnh-n.js";import{a as R,i as ie,n as V,o as ue,s as D}from"./dist-Dsq8gHg1.js";import{i as y}from"./dist-CNEn54cD.js";import{t as de}from"./dist-BCsXmc0n.js";import{l as E}from"./dist-CV7Tg_q8.js";import{m as fe}from"./dist-3kyUGwme.js";var c=J(ae(),1),b=J(se(),1),he=Object.defineProperty,h=s((l,e)=>he(l,"name",{value:e,configurable:!0}),"__name");function Q(l,e){return c.useReducer((r,t)=>e[r][t]??r,l)}s(Q,"useStateMachine");h(Q,"useStateMachine");var Z="ScrollArea",[ee,Me]=ue(Z),[Se,g]=ee(Z),be=c.forwardRef(h(s(function(e,r){const{__scopeScrollArea:t,type:f="hover",dir:o,scrollHideDelay:n=600,...a}=e,[i,u]=c.useState(null),[m,S]=c.useState(null),[v,d]=c.useState(null),[p,x]=c.useState(null),[X,Y]=c.useState(null),[C,z]=c.useState(0),[M,O]=c.useState(0),[I,_]=c.useState(!1),[N,L]=c.useState(!1),w=y(r,u),A=de(o);return(0,b.jsx)(Se,{scope:t,type:f,dir:A,scrollHideDelay:n,scrollArea:i,viewport:m,onViewportChange:S,content:v,onContentChange:d,scrollbarX:p,onScrollbarXChange:x,scrollbarXEnabled:I,onScrollbarXEnabledChange:_,scrollbarY:X,onScrollbarYChange:Y,scrollbarYEnabled:N,onScrollbarYEnabledChange:L,onCornerWidthChange:z,onCornerHeightChange:O,children:(0,b.jsx)(D.div,{dir:A,...a,ref:w,style:{position:"relative","--radix-scroll-area-corner-width":C+"px","--radix-scroll-area-corner-height":M+"px",...e.style}})})},"ScrollArea2"),"ScrollArea")),me="ScrollAreaViewport",ve=c.forwardRef(h(s(function(e,r){const{__scopeScrollArea:t,children:f,nonce:o,...n}=e,a=g(me,t),i=c.useRef(null),u=y(r,i,a.onViewportChange);return(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)(pe,{nonce:o}),(0,b.jsx)(D.div,{"data-radix-scroll-area-viewport":"",...n,ref:u,style:{overflowX:a.scrollbarXEnabled?"scroll":"hidden",overflowY:a.scrollbarYEnabled?"scroll":"hidden",...e.style},children:(0,b.jsx)("div",{ref:a.onContentChange,style:{minWidth:"100%",display:"table"},children:f})})]})},"ScrollAreaViewport2"),"ScrollAreaViewport")),pe=c.memo(h(s(function({nonce:e}){return(0,b.jsx)("style",{dangerouslySetInnerHTML:{__html:"[data-radix-scroll-area-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-scroll-area-viewport]::-webkit-scrollbar{display:none}"},nonce:e})},"ScrollAreaViewportStyle2"),"ScrollAreaViewportStyle"),(l,e)=>l.nonce===e.nonce),P="ScrollAreaScrollbar",we=c.forwardRef(h(s(function(e,r){const{forceMount:t,...f}=e,o=g(P,e.__scopeScrollArea),{onScrollbarXEnabledChange:n,onScrollbarYEnabledChange:a}=o,i=e.orientation==="horizontal";return c.useEffect(()=>(i?n(!0):a(!0),()=>{i?n(!1):a(!1)}),[i,n,a]),o.type==="hover"?(0,b.jsx)(ge,{...f,ref:r,forceMount:t}):o.type==="scroll"?(0,b.jsx)(Ae,{...f,ref:r,forceMount:t}):o.type==="auto"?(0,b.jsx)(re,{...f,ref:r,forceMount:t}):o.type==="always"?(0,b.jsx)(F,{...f,ref:r,"data-state":"visible"}):null},"ScrollAreaScrollbar2"),"ScrollAreaScrollbar")),ge=c.forwardRef(h(s(function(e,r){const{forceMount:t,...f}=e,o=g(P,e.__scopeScrollArea),[n,a]=c.useState(!1);return c.useEffect(()=>{const i=o.scrollArea;let u=0;if(i){const m=h(()=>{window.clearTimeout(u),a(!0)},"handlePointerEnter"),S=h(()=>{u=window.setTimeout(()=>a(!1),o.scrollHideDelay)},"handlePointerLeave");return i.addEventListener("pointerenter",m),i.addEventListener("pointerleave",S),()=>{window.clearTimeout(u),i.removeEventListener("pointerenter",m),i.removeEventListener("pointerleave",S)}}},[o.scrollArea,o.scrollHideDelay]),(0,b.jsx)(V,{present:t||n,children:(0,b.jsx)(re,{"data-state":n?"visible":"hidden",...f,ref:r})})},"ScrollAreaScrollbarHover2"),"ScrollAreaScrollbarHover")),Ae=c.forwardRef(h(s(function(e,r){const{forceMount:t,...f}=e,o=g(P,e.__scopeScrollArea),n=e.orientation==="horizontal",a=W(()=>u("SCROLL_END"),100),[i,u]=Q("hidden",{hidden:{SCROLL:"scrolling"},scrolling:{SCROLL_END:"idle",POINTER_ENTER:"interacting"},interacting:{SCROLL:"interacting",POINTER_LEAVE:"idle"},idle:{HIDE:"hidden",SCROLL:"scrolling",POINTER_ENTER:"interacting"}});return c.useEffect(()=>{if(i==="idle"){const m=window.setTimeout(()=>u("HIDE"),o.scrollHideDelay);return()=>window.clearTimeout(m)}},[i,o.scrollHideDelay,u]),c.useEffect(()=>{const m=o.viewport,S=n?"scrollLeft":"scrollTop";if(m){let v=m[S];const d=h(()=>{const p=m[S];v!==p&&(u("SCROLL"),a()),v=p},"handleScroll");return m.addEventListener("scroll",d),()=>m.removeEventListener("scroll",d)}},[o.viewport,n,u,a]),(0,b.jsx)(V,{present:t||i!=="hidden",children:(0,b.jsx)(F,{"data-state":i==="hidden"?"hidden":"visible",...f,ref:r,onPointerEnter:R(e.onPointerEnter,()=>u("POINTER_ENTER")),onPointerLeave:R(e.onPointerLeave,()=>u("POINTER_LEAVE"))})})},"ScrollAreaScrollbarScroll2"),"ScrollAreaScrollbarScroll")),re=c.forwardRef(h(s(function(e,r){const t=g(P,e.__scopeScrollArea),{forceMount:f,...o}=e,[n,a]=c.useState(!1),i=e.orientation==="horizontal",u=W(()=>{if(t.viewport){const m=t.viewport.offsetWidth<t.viewport.scrollWidth,S=t.viewport.offsetHeight<t.viewport.scrollHeight;a(i?m:S)}},10);return T(t.viewport,u),T(t.content,u),(0,b.jsx)(V,{present:f||n,children:(0,b.jsx)(F,{"data-state":n?"visible":"hidden",...o,ref:r})})},"ScrollAreaScrollbarAuto2"),"ScrollAreaScrollbarAuto")),F=c.forwardRef(h(s(function(e,r){const{orientation:t="vertical",...f}=e,o=g(P,e.__scopeScrollArea),n=c.useRef(null),a=c.useRef(0),[i,u]=c.useState({content:0,viewport:0,scrollbar:{size:0,paddingStart:0,paddingEnd:0}}),m=q(i.viewport,i.content),S={...f,sizes:i,onSizesChange:u,hasThumb:m>0&&m<1,onThumbChange:h(d=>n.current=d,"onThumbChange"),onThumbPointerUp:h(()=>a.current=0,"onThumbPointerUp"),onThumbPointerDown:h(d=>a.current=d,"onThumbPointerDown")};function v(d,p){return ne(d,a.current,i,p)}return s(v,"getScrollPosition"),h(v,"getScrollPosition"),t==="horizontal"?(0,b.jsx)(xe,{...S,ref:r,onThumbPositionChange:s(()=>{if(o.viewport&&n.current){const d=o.viewport.scrollLeft,p=B(d,i,o.dir);n.current.style.transform=`translate3d(${p}px, 0, 0)`}},"onThumbPositionChange"),onWheelScroll:s(d=>{o.viewport&&(o.viewport.scrollLeft=d)},"onWheelScroll"),onDragScroll:s(d=>{o.viewport&&(o.viewport.scrollLeft=v(d,o.dir))},"onDragScroll")}):t==="vertical"?(0,b.jsx)(Pe,{...S,ref:r,onThumbPositionChange:s(()=>{if(o.viewport&&n.current){const d=o.viewport.scrollTop,p=B(d,i);n.current.style.transform=`translate3d(0, ${p}px, 0)`}},"onThumbPositionChange"),onWheelScroll:s(d=>{o.viewport&&(o.viewport.scrollTop=d)},"onWheelScroll"),onDragScroll:s(d=>{o.viewport&&(o.viewport.scrollTop=v(d))},"onDragScroll")}):null},"ScrollAreaScrollbarVisible2"),"ScrollAreaScrollbarVisible")),xe=c.forwardRef(h(s(function(e,r){const{sizes:t,onSizesChange:f,...o}=e,n=g(P,e.__scopeScrollArea),[a,i]=c.useState(),u=c.useRef(null),m=y(r,u,n.onScrollbarXChange);return c.useEffect(()=>{u.current&&i(getComputedStyle(u.current))},[u]),(0,b.jsx)(te,{"data-orientation":"horizontal",...o,ref:m,sizes:t,style:{bottom:0,left:n.dir==="rtl"?"var(--radix-scroll-area-corner-width)":0,right:n.dir==="ltr"?"var(--radix-scroll-area-corner-width)":0,"--radix-scroll-area-thumb-width":H(t)+"px",...e.style},onThumbPointerDown:s(S=>e.onThumbPointerDown(S.x),"onThumbPointerDown"),onDragScroll:s(S=>e.onDragScroll(S.x),"onDragScroll"),onWheelScroll:s((S,v)=>{if(n.viewport){const d=n.viewport.scrollLeft+S.deltaX;e.onWheelScroll(d),G(d,v)&&S.preventDefault()}},"onWheelScroll"),onResize:s(()=>{u.current&&n.viewport&&a&&f({content:n.viewport.scrollWidth,viewport:n.viewport.offsetWidth,scrollbar:{size:u.current.clientWidth,paddingStart:j(a.paddingLeft),paddingEnd:j(a.paddingRight)}})},"onResize")})},"ScrollAreaScrollbarX2"),"ScrollAreaScrollbarX")),Pe=c.forwardRef(h(s(function(e,r){const{sizes:t,onSizesChange:f,...o}=e,n=g(P,e.__scopeScrollArea),[a,i]=c.useState(),u=c.useRef(null),m=y(r,u,n.onScrollbarYChange);return c.useEffect(()=>{u.current&&i(getComputedStyle(u.current))},[u]),(0,b.jsx)(te,{"data-orientation":"vertical",...o,ref:m,sizes:t,style:{top:0,right:n.dir==="ltr"?0:void 0,left:n.dir==="rtl"?0:void 0,bottom:"var(--radix-scroll-area-corner-height)","--radix-scroll-area-thumb-height":H(t)+"px",...e.style},onThumbPointerDown:s(S=>e.onThumbPointerDown(S.y),"onThumbPointerDown"),onDragScroll:s(S=>e.onDragScroll(S.y),"onDragScroll"),onWheelScroll:s((S,v)=>{if(n.viewport){const d=n.viewport.scrollTop+S.deltaY;e.onWheelScroll(d),G(d,v)&&S.preventDefault()}},"onWheelScroll"),onResize:s(()=>{u.current&&n.viewport&&a&&f({content:n.viewport.scrollHeight,viewport:n.viewport.offsetHeight,scrollbar:{size:u.current.clientHeight,paddingStart:j(a.paddingTop),paddingEnd:j(a.paddingBottom)}})},"onResize")})},"ScrollAreaScrollbarY2"),"ScrollAreaScrollbarY")),[Ce,oe]=ee(P),te=c.forwardRef(h(s(function(e,r){const{__scopeScrollArea:t,sizes:f,hasThumb:o,onThumbChange:n,onThumbPointerUp:a,onThumbPointerDown:i,onThumbPositionChange:u,onDragScroll:m,onWheelScroll:S,onResize:v,...d}=e,p=g(P,t),[x,X]=c.useState(null),Y=y(r,X),C=c.useRef(null),z=c.useRef(""),M=p.viewport,O=f.content-f.viewport,I=E(S),_=E(u),N=W(v,10);function L(w){if(C.current){const A=w.clientX-C.current.left,U=w.clientY-C.current.top;m({x:A,y:U})}}return s(L,"handleDragScroll"),h(L,"handleDragScroll"),c.useEffect(()=>{const w=h(A=>{const U=A.target;x?.contains(U)&&I(A,O)},"handleWheel");return document.addEventListener("wheel",w,{passive:!1}),()=>document.removeEventListener("wheel",w,{passive:!1})},[M,x,O,I]),c.useEffect(_,[f,_]),T(x,N),T(p.content,N),(0,b.jsx)(Ce,{scope:t,scrollbar:x,hasThumb:o,onThumbChange:E(n),onThumbPointerUp:E(a),onThumbPositionChange:_,onThumbPointerDown:E(i),children:(0,b.jsx)(D.div,{...d,ref:Y,style:{position:"absolute",...d.style},onPointerDown:R(e.onPointerDown,w=>{w.button===0&&(w.target.setPointerCapture(w.pointerId),C.current=x.getBoundingClientRect(),z.current=document.body.style.webkitUserSelect,document.body.style.webkitUserSelect="none",p.viewport&&(p.viewport.style.scrollBehavior="auto"),L(w))}),onPointerMove:R(e.onPointerMove,L),onPointerUp:R(e.onPointerUp,w=>{const A=w.target;A.hasPointerCapture(w.pointerId)&&A.releasePointerCapture(w.pointerId),document.body.style.webkitUserSelect=z.current,p.viewport&&(p.viewport.style.scrollBehavior=""),C.current=null})})})},"ScrollAreaScrollbarImpl2"),"ScrollAreaScrollbarImpl")),k="ScrollAreaThumb",Ee=c.forwardRef(h(s(function(e,r){const{forceMount:t,...f}=e,o=oe(k,e.__scopeScrollArea);return(0,b.jsx)(V,{present:t||o.hasThumb,children:(0,b.jsx)(Re,{ref:r,...f})})},"ScrollAreaThumb2"),"ScrollAreaThumb")),Re=c.forwardRef(h(s(function(e,r){const{__scopeScrollArea:t,style:f,...o}=e,n=g(k,t),a=oe(k,t),{onThumbPositionChange:i}=a,u=y(r,a.onThumbChange),m=c.useRef(void 0),S=W(()=>{m.current&&(m.current(),m.current=void 0)},100);return c.useEffect(()=>{const v=n.viewport;if(v){const d=h(()=>{if(S(),!m.current){const p=_e(v,i);m.current=p,i()}},"handleScroll");return i(),v.addEventListener("scroll",d),()=>v.removeEventListener("scroll",d)}},[n.viewport,S,i]),(0,b.jsx)(D.div,{"data-state":a.hasThumb?"visible":"hidden",...o,ref:u,style:{width:"var(--radix-scroll-area-thumb-width)",height:"var(--radix-scroll-area-thumb-height)",...f},onPointerDownCapture:R(e.onPointerDownCapture,v=>{const d=v.target.getBoundingClientRect(),p=v.clientX-d.left,x=v.clientY-d.top;a.onThumbPointerDown({x:p,y:x})}),onPointerUp:R(e.onPointerUp,a.onThumbPointerUp)})},"ScrollAreaThumbImpl2"),"ScrollAreaThumbImpl")),le="ScrollAreaCorner",Te=c.forwardRef(h(s(function(e,r){const t=g(le,e.__scopeScrollArea),f=!!(t.scrollbarX&&t.scrollbarY);return t.type!=="scroll"&&f?(0,b.jsx)(ye,{...e,ref:r}):null},"ScrollAreaCorner2"),"ScrollAreaCorner")),ye=c.forwardRef(h(s(function(e,r){const{__scopeScrollArea:t,...f}=e,o=g(le,t),[n,a]=c.useState(0),[i,u]=c.useState(0),m=!!(n&&i),{onCornerWidthChange:S,onCornerHeightChange:v}=o;return T(o.scrollbarX,()=>{const d=o.scrollbarX?.offsetHeight||0;o.onCornerHeightChange(d),u(d)}),T(o.scrollbarY,()=>{const d=o.scrollbarY?.offsetWidth||0;o.onCornerWidthChange(d),a(d)}),c.useEffect(()=>()=>{S(0),v(0)},[S,v]),m?(0,b.jsx)(D.div,{...f,ref:r,style:{width:n,height:i,position:"absolute",right:o.dir==="ltr"?0:void 0,left:o.dir==="rtl"?0:void 0,bottom:0,...e.style}}):null},"ScrollAreaCornerImpl2"),"ScrollAreaCornerImpl"));function j(l){return l?parseInt(l,10):0}s(j,"toInt");h(j,"toInt");function q(l,e){const r=l/e;return isNaN(r)?0:r}s(q,"getThumbRatio");h(q,"getThumbRatio");function H(l){const e=q(l.viewport,l.content),r=l.scrollbar.paddingStart+l.scrollbar.paddingEnd,t=(l.scrollbar.size-r)*e;return Math.max(t,18)}s(H,"getThumbSize");h(H,"getThumbSize");function ne(l,e,r,t="ltr"){const f=H(r),o=f/2,n=e||o,a=f-n,i=r.scrollbar.paddingStart+n,u=r.scrollbar.size-r.scrollbar.paddingEnd-a,m=r.content-r.viewport,S=t==="ltr"?[0,m]:[m*-1,0];return $([i,u],S)(l)}s(ne,"getScrollPositionFromPointer");h(ne,"getScrollPositionFromPointer");function B(l,e,r="ltr"){const t=H(e),f=e.scrollbar.paddingStart+e.scrollbar.paddingEnd,o=e.scrollbar.size-f,n=e.content-e.viewport,a=o-t,i=r==="ltr"?[0,n]:[n*-1,0],u=fe(l,i);return $([0,n],[0,a])(u)}s(B,"getThumbOffsetFromScroll");h(B,"getThumbOffsetFromScroll");function $(l,e){return r=>{if(l[0]===l[1]||e[0]===e[1])return e[0];const t=(e[1]-e[0])/(l[1]-l[0]);return e[0]+t*(r-l[0])}}s($,"linearScale");h($,"linearScale");function G(l,e){return l>0&&l<e}s(G,"isScrollingWithinScrollbarBounds");h(G,"isScrollingWithinScrollbarBounds");var _e=h((l,e=()=>{})=>{let r={left:l.scrollLeft,top:l.scrollTop},t=0;return h(s((function f(){const o={left:l.scrollLeft,top:l.scrollTop},n=r.left!==o.left,a=r.top!==o.top;(n||a)&&e(),r=o,t=window.requestAnimationFrame(f)}),"loop"),"loop")(),()=>window.cancelAnimationFrame(t)},"addUnlinkedScrollListener");function W(l,e){const r=E(l),t=c.useRef(0);return c.useEffect(()=>()=>window.clearTimeout(t.current),[]),c.useCallback(()=>{window.clearTimeout(t.current),t.current=window.setTimeout(r,e)},[r,e])}s(W,"useDebounceCallback");h(W,"useDebounceCallback");function T(l,e){const r=E(e);ie(()=>{let t=0;if(l){const f=new ResizeObserver(()=>{cancelAnimationFrame(t),t=window.requestAnimationFrame(r)});return f.observe(l),()=>{window.cancelAnimationFrame(t),f.unobserve(l)}}},[l,r])}s(T,"useResizeObserver");h(T,"useResizeObserver");var Le=be,je=ve,De=Te;function Ue({className:l,children:e,...r}){return(0,b.jsxs)(Le,{"data-slot":"scroll-area",className:K("relative flex flex-col overflow-hidden",l),...r,children:[(0,b.jsx)(je,{"data-slot":"scroll-area-viewport",className:"flex-1 min-h-0 w-full focus-visible:ring-focus/50 rounded-[inherit] transition-(--tp-color-box-shadow) outline-none focus-visible:ring-(length:--rad-3) focus-visible:outline-1 [&>div]:!block",children:e}),(0,b.jsx)(He,{}),(0,b.jsx)(De,{})]})}s(Ue,"ScrollArea");function He({className:l,orientation:e="vertical",...r}){return(0,b.jsx)(we,{"data-slot":"scroll-area-scrollbar",orientation:e,className:K("flex touch-none p-px transition-colors select-none",e==="vertical"&&"h-full w-2.5 border-l border-l-transparent",e==="horizontal"&&"h-2.5 flex-col border-t border-t-transparent",l),...r,children:(0,b.jsx)(Ee,{"data-slot":"scroll-area-thumb",className:"bg-line relative flex-1 rounded-full"})})}s(He,"ScrollBar");export{Ue as t};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{t as e}from"./createLucideIcon-CnVGnh-n.js";var a={name:"scroll-text",size:24,node:[["path",{d:"M15 12h-5",key:"r7krc0"}],["path",{d:"M15 8h-5",key:"1khuty"}],["path",{d:"M19 17V5a2 2 0 0 0-2-2H4",key:"zz82l3"}],["path",{d:"M8 21h12a2 2 0 0 0 2-2v-1a1 1 0 0 0-1-1H11a1 1 0 0 0-1 1v1a2 2 0 1 1-4 0V5a2 2 0 1 0-4 0v2a1 1 0 0 0 1 1h3",key:"1ph1d7"}]]};a.node;var h=e(a);export{h as t};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{t as a}from"./createLucideIcon-CnVGnh-n.js";var e={name:"search",size:24,node:[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]]};e.node;var c=a(e);export{c as t};
|