@tickernelz/wardmote-ui 2026.1112.1 → 2026.1114.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/announcement-preview.svg +1 -1
- package/dist/assets/AccessSelectIdentity-F-2a6ecS.js +1 -0
- package/dist/assets/ActiveAgentsPanel-fPDwbNXe.js +1 -0
- package/dist/assets/AdapterManager-Cy72qmLl.js +1 -0
- package/dist/assets/AdvancedToolsRoute-Dea4M5XG.js +39 -0
- package/dist/assets/AgentActionButtons-TU3K865m.js +1 -0
- package/dist/assets/AgentAvatar-U9UbHZ2I.js +1 -0
- package/dist/assets/AgentBubbleActionRow-BgJXUcNP.js +1 -0
- package/dist/assets/AgentCharacter-CdZutGwJ.js +2 -0
- package/dist/assets/AgentChat-DY8t6jev.js +1 -0
- package/dist/assets/AgentChats-CgTNSgGW.js +1 -0
- package/dist/assets/AgentDefaults-B-jLf0OE.js +1 -0
- package/dist/assets/AgentDetail-C69A3j_f.js +38 -0
- package/dist/assets/AgentIconPicker-DOHQ2j-5.js +1 -0
- package/dist/assets/AgentIdentity-88zCb3Go.js +1 -0
- package/dist/assets/AgentMailCredentialField-BVybfhaF.js +1 -0
- package/dist/assets/AgentMultiSelect-DNCWXCnt.js +1 -0
- package/dist/assets/AgentRoleEditor-Day_Xajj.js +1 -0
- package/dist/assets/AgentSetupPrompt-DDYX89-9.js +30 -0
- package/dist/assets/AgentTodoCard-CfAun_uT.js +1 -0
- package/dist/assets/Agents-VdVlPzrq.js +3 -0
- package/dist/assets/AppDetail-BrUELV4l.js +5 -0
- package/dist/assets/AppLogo-BHz1JwFg.js +1 -0
- package/dist/assets/AppNotConnected-CjOPZ48p.js +1 -0
- package/dist/assets/ApprovalCard-ZnAF8kCp.js +1 -0
- package/dist/assets/ApprovalDetail-DPj_0Fkw.js +1 -0
- package/dist/assets/ApprovalPayload-jOfmARC1.js +1 -0
- package/dist/assets/Approvals-DwPcMIwc.js +1 -0
- package/dist/assets/AppsConnect-CZ1lSH2v.js +1 -0
- package/dist/assets/AppsReview-BkXh21w4.js +1 -0
- package/dist/assets/ArtifactCard-DMOLBDhg.js +1 -0
- package/dist/assets/Artifacts-1dMu5Khy.js +1 -0
- package/dist/assets/AssistantConnection-7YkxQoSX.js +1 -0
- package/dist/assets/AttentionInteractionResolver-CWNTB5PG.js +1 -0
- package/dist/assets/AuditHub-CduZGUr8.js +1 -0
- package/dist/assets/Auth-BvXFSqt1.js +3 -0
- package/dist/assets/BoardChat-Cx1qWaPf.js +18 -0
- package/dist/assets/BoardClaim-DSGJlQ5x.js +1 -0
- package/dist/assets/BootstrapSetupUxLab-Ddrh81el.js +1 -0
- package/dist/assets/BreadcrumbContext-DRZhs-5i.js +1 -0
- package/dist/assets/Browse-CWSUY8Ym.js +1 -0
- package/dist/assets/BudgetPolicyCard-D-xGhM9e.js +1 -0
- package/dist/assets/CaseDetail-BlQP0bNO.js +2 -0
- package/dist/assets/CaseIdentifierKey-DoadL0-N.js +1 -0
- package/dist/assets/Cases-CJMhZCTb.js +2 -0
- package/dist/assets/ChatEndpointDetail-DwkMt8Wq.js +5 -0
- package/dist/assets/ChatEndpointSetup-C-Nm12S8.js +1 -0
- package/dist/assets/ChatIdentityConfirm-W-48mshE.js +1 -0
- package/dist/assets/ChoiceControls-D1i7GepN.js +1 -0
- package/dist/assets/CliAuth-C6qylJ0n.js +1 -0
- package/dist/assets/CommentAttributionChip-BgxQOzqr.js +1 -0
- package/dist/assets/Companies-CPzB9-xt.js +1 -0
- package/dist/assets/CompanyAccess-CMc_gWhQ.js +1 -0
- package/dist/assets/CompanyActivity-Cj_EUdBm.js +1 -0
- package/dist/assets/CompanyConnections-BCBCavN8.js +1 -0
- package/dist/assets/CompanyContext-CPlpA2lb.js +1 -0
- package/dist/assets/CompanyEnvironments-NF7NDS0o.js +3 -0
- package/dist/assets/CompanyExport-BuRYJE3L.js +4 -0
- package/dist/assets/CompanyImport-BBIXQMUw.js +1 -0
- package/dist/assets/CompanySettings-OFHr6IRG.js +1 -0
- package/dist/assets/CompanySettingsPluginPage-CCZEpq82.js +1 -0
- package/dist/assets/CompanySkills-CSY9bF2z.js +10 -0
- package/dist/assets/ComposerAddMenu-DvacZ4GQ.js +3 -0
- package/dist/assets/ConfigureBuiltInAgentModal-BrM5oO3Y.js +1 -0
- package/dist/assets/ConnectionSetupFlow-CXPACouF.js +40 -0
- package/dist/assets/CopyText-D_Zgivv6.js +1 -0
- package/dist/assets/CopyableGatewayUrl-D5vz4PC5.js +1 -0
- package/dist/assets/CrossIssueCollaborationUxLab-BCnuyG3D.js +1 -0
- package/dist/assets/Dashboard-C0zfFWOE.js +2 -0
- package/dist/assets/DashboardLive-QIC_XaBZ.js +1 -0
- package/dist/assets/DecisionDateChips-LW_i7O1w.js +1 -0
- package/dist/assets/DecisionModelSettings-B-0DKQnv.js +1 -0
- package/dist/assets/DecisionQueuePage-CMjEZipC.js +1 -0
- package/dist/assets/DesignGuide-D_mymPmJ.js +23 -0
- package/dist/assets/DocumentFrameHeader-CwSlVbS_.js +1 -0
- package/dist/assets/EmailConnectionAccess-CHOe1NbR.js +1 -0
- package/dist/assets/EmailEndpointSetup-D53SnoCl.js +1 -0
- package/dist/assets/EnforcementBanner-Afwo2-lQ.js +1 -0
- package/dist/assets/EntityRow-Cnr0342e.js +1 -0
- package/dist/assets/ExecutionWorkspaceDetail-_2PziEsW.js +19 -0
- package/dist/assets/FilterBar-CZKam-LD.js +1 -0
- package/dist/assets/FoldCurtain-bbm-UBWP.js +1 -0
- package/dist/assets/FolderControls-Dg6pcOhR.js +1 -0
- package/dist/assets/GatewayDetail-KQfj7nv0.js +2 -0
- package/dist/assets/GatewaysList-QFrL2biI.js +1 -0
- package/dist/assets/GoalDetail-BTaMMKjs.js +1 -0
- package/dist/assets/GoalTree-BQNAEW30.js +1 -0
- package/dist/assets/Goals-Lb6_wdxB.js +1 -0
- package/dist/assets/Identity-8QZumPfI.js +1 -0
- package/dist/assets/ImageGalleryModal-DLsKxA2R.js +1 -0
- package/dist/assets/Inbox-BrInYS5S.js +2 -0
- package/dist/assets/InlineBanner-CoJqbItc.js +1 -0
- package/dist/assets/InlineEditor-CA8kcvA_.js +1 -0
- package/dist/assets/InlineEntitySelector-D-qeOeyL.js +1 -0
- package/dist/assets/InstanceAccess-C1e3jqC7.js +1 -0
- package/dist/assets/InstanceAdvanced-CDd3fZ0P.js +1 -0
- package/dist/assets/InstanceFeatures-CYqCDTw8.js +1 -0
- package/dist/assets/InviteLanding-BkL6BOm5.js +1 -0
- package/dist/assets/IssueChatLongThreadPerf-mk4miG24.js +2 -0
- package/dist/assets/IssueChatThread-D2VF_U0u.js +40 -0
- package/dist/assets/IssueDetail-nhRhGyxw.js +9 -0
- package/dist/assets/IssueDocumentAnnotations-CemZBdYS.js +2 -0
- package/dist/assets/IssueOutputSection-DCAtdLYt.js +1 -0
- package/dist/assets/IssueRecoveryActionCard-KN_UxqFa.js +1 -0
- package/dist/assets/IssueReferenceActivitySummary-Dp70EOc2.js +1 -0
- package/dist/assets/IssueReferencePill-BEVp1Js5.js +1 -0
- package/dist/assets/IssueThreadInteractionCard-ChD6Vc9B.js +9 -0
- package/dist/assets/IssueWriteDenialNotice-CRBGsued.js +1 -0
- package/dist/assets/Issues-B8y2ucca.js +3 -0
- package/dist/assets/JoinRequestQueue-C4W-2FBh.js +1 -0
- package/dist/assets/JsonSchemaForm-BEfBha0-.js +1 -0
- package/dist/assets/LiveNowTodoLine-6INiigWn.js +1 -0
- package/dist/assets/ManagedAiConnectionDetails-pjWPNQpl.js +1 -0
- package/dist/assets/MarkdownBody-B_RYK9iU.js +16 -0
- package/dist/assets/MarkdownEditor-CT3CtHAj.js +85 -0
- package/dist/assets/McpConnect-D4Iyr1ff.js +1 -0
- package/dist/assets/MembershipAction-CujgJyD4.js +1 -0
- package/dist/assets/MetricCard-DG2O-prC.js +1 -0
- package/dist/assets/MissingPluginTabPlaceholder-DgohdTaD.js +1 -0
- package/dist/assets/ModelsAndProviders-P7hcMDxR.js +1 -0
- package/dist/assets/MootMark-BtKQGR6r.js +1 -0
- package/dist/assets/NewAgent-BpFB_Fmh.js +1 -0
- package/dist/assets/OmpAllSettings-RJ-rlnXL.js +1 -0
- package/dist/assets/OpenwaGatewayManager-bhI49yii.js +2 -0
- package/dist/assets/PathInstructionsModal-BUCL02kU.js +1 -0
- package/dist/assets/PipelineSettings-Bf74pEoa.js +2 -0
- package/dist/assets/Pipelines-C9YVDX3a.js +1 -0
- package/dist/assets/PixelsOffice-a6NwZFpn.js +2 -0
- package/dist/assets/PluginManager-BlATaJtd.js +1 -0
- package/dist/assets/PluginPage-CX1Bsbez.js +1 -0
- package/dist/assets/PluginSettings-BB1ML576.js +1 -0
- package/dist/assets/ProfileDetailRoute-DpklWMHU.js +1 -0
- package/dist/assets/ProfileSettings-BefN3hG3.js +1 -0
- package/dist/assets/ProfileWizardRoute-DAiCxAXs.js +1 -0
- package/dist/assets/ProjectDetail-CNoJA4R7.js +1 -0
- package/dist/assets/ProjectWorkspaceDetail-Bmqa3L7z.js +29 -0
- package/dist/assets/ProjectWorkspacesContent-tXfXERlK.js +1 -0
- package/dist/assets/Projects-DgXUf7fs.js +1 -0
- package/dist/assets/PublicIssueSharePage-DeUCrjCO.js +1 -0
- package/dist/assets/QuestionForm-CaOUlqsp.js +7 -0
- package/dist/assets/QuotaBar-BSZ05HlD.js +1 -0
- package/dist/assets/RepositoryEditor-B4F3WCYM.js +1 -0
- package/dist/assets/ResponsibleUserDenialNotice-B3ogb0RX.js +1 -0
- package/dist/assets/ResponsibleUserDenialUxLab-R05mXHUA.js +1 -0
- package/dist/assets/ReviewQueueCard-PSx8OKVe.js +1 -0
- package/dist/assets/RichWorkProductCard-C5d3O8x2.js +1 -0
- package/dist/assets/RoutineActivityRow-DJPqSghi.js +1 -0
- package/dist/assets/RoutineDetail-CW38wUMn.js +2 -0
- package/dist/assets/RoutineRunVariablesDialog-Bwx3NcZP.js +1 -0
- package/dist/assets/RoutineVariablesEditor-BlIqaHD7.js +1 -0
- package/dist/assets/Routines-BtgI64OC.js +1 -0
- package/dist/assets/ScrollToBottom-DXR8Kf8r.js +1 -0
- package/dist/assets/Search-qvbr2i0v.js +1 -0
- package/dist/assets/SearchableSelect-DAxMwf7p.js +1 -0
- package/dist/assets/Secrets-DsNbH2aU.js +4 -0
- package/dist/assets/SetupWizard-CyX1SOfj.js +1 -0
- package/dist/assets/SidebarContext-DM8yeAqZ.js +1 -0
- package/dist/assets/SidebarNavItem-CJfTKpVR.js +1 -0
- package/dist/assets/SkillBinaryFile-ChklNbjJ.js +1 -0
- package/dist/assets/SkillCardIcon-CBiYctTu.js +2 -0
- package/dist/assets/SkillSourceTree-B658V6hQ.js +2 -0
- package/dist/assets/SkillSources-CSPpd3N5.js +2 -0
- package/dist/assets/SkillStudio-D4VqFe2L.js +9 -0
- package/dist/assets/SourceTrustBadge-DPHntkgj.js +1 -0
- package/dist/assets/StatusCards-C8MwOQwi.js +1 -0
- package/dist/assets/StatusIcon-CsDhn7kH.js +1 -0
- package/dist/assets/SummarySlotCard-BmhW7fBt.js +1 -0
- package/dist/assets/TaskChatComposerTakeoverContext-BM0nPI_N.js +1 -0
- package/dist/assets/TaskChatLab-CIKyw9HK.js +11 -0
- package/dist/assets/TaskChatMarker-Vs1DipiY.js +2 -0
- package/dist/assets/TaskChatProtocolCard-Cha-CaFw.js +1 -0
- package/dist/assets/TaskChatThreadView-BwnkoMCu.js +4 -0
- package/dist/assets/TaskDetailRelationsPanel-BQYB-r_n.js +1 -0
- package/dist/assets/TaskTreeControls-DPQW-7CE.js +3 -0
- package/dist/assets/Terminal-BKrgCKkV.js +1 -0
- package/dist/assets/TerminalView-Cp_JlT5m.js +58 -0
- package/dist/assets/ThemeContext-DkIKyApz.js +1 -0
- package/dist/assets/ThemeToggle-B5pGLVBk.js +1 -0
- package/dist/assets/ToastContext-pc_NSDO8.js +1 -0
- package/dist/assets/ToolsAdminGate-DvKJJkYK.js +1 -0
- package/dist/assets/TrustPresetSection-DfqMdmaU.js +1 -0
- package/dist/assets/UserProfile-C3LmtKXG.js +1 -0
- package/dist/assets/WebhookUrlWarning-D5QqIOm5.js +1 -0
- package/dist/assets/WhatNeedsMe-DlqmV2_9.js +1 -0
- package/dist/assets/WorkspaceRuntimeControls-DrJU_LOR.js +1 -0
- package/dist/assets/Workspaces-B-qktWpk.js +1 -0
- package/dist/assets/access-Bcz_4BVJ.js +1 -0
- package/dist/assets/activity-Bc5YbOoF.js +1 -0
- package/dist/assets/activity-NKpSxizv.js +1 -0
- package/dist/assets/activity-format-DKP90biT.js +1 -0
- package/dist/assets/adapter-display-registry-BkHKgkyV.js +1 -0
- package/dist/assets/adapters-CWe3iLLC.js +1 -0
- package/dist/assets/agent-avatar-url-DudwzgFd.js +1 -0
- package/dist/assets/agent-config-primitives-DjmKcW83.js +1 -0
- package/dist/assets/agentChats-B-qVpG-j.js +1 -0
- package/dist/assets/agents-BusZWz59.js +1 -0
- package/dist/assets/alert-dialog-BQFOD0AR.js +1 -0
- package/dist/assets/app-connect-policy-CT1M7cxG.js +1 -0
- package/dist/assets/archive-BqFccWd4.js +1 -0
- package/dist/assets/archive-restore-BBGn1s-I.js +1 -0
- package/dist/assets/arrow-down-BRkMrP1R.js +1 -0
- package/dist/assets/arrow-down-left-D9BZPYo2.js +1 -0
- package/dist/assets/arrow-left-BVSmSuVw.js +1 -0
- package/dist/assets/arrow-right-DyLbbrYf.js +1 -0
- package/dist/assets/arrow-up-D_ylw6qE.js +1 -0
- package/dist/assets/arrow-up-down-DfMUkSUq.js +1 -0
- package/dist/assets/arrow-up-right-Csy74riS.js +1 -0
- package/dist/assets/artifacts-Bp8NM8Dh.js +1 -0
- package/dist/assets/assets-C3CFw8uT.js +1 -0
- package/dist/assets/attachment-icon-0pZ1MbWy.js +1 -0
- package/dist/assets/avatar-Cnzd7y-e.js +1 -0
- package/dist/assets/badge-D6gWCBB2.js +1 -0
- package/dist/assets/badge-check-7kcDeVo4.js +1 -0
- package/dist/assets/bot-DCth3dbg.js +1 -0
- package/dist/assets/boxes-Rm5Dpfew.js +1 -0
- package/dist/assets/braces-DsHvsWtt.js +1 -0
- package/dist/assets/browser-use-C_xA8ZFx.js +1 -0
- package/dist/assets/budgets-Dlh3sft0.js +1 -0
- package/dist/assets/button-Cjm24aCl.js +1 -0
- package/dist/assets/calendar-clock-BxumFXR5.js +1 -0
- package/dist/assets/card-C0pWNeqJ.js +1 -0
- package/dist/assets/cases-BEgzG8fb.js +1 -0
- package/dist/assets/chatEndpoints-BvFp31Wp.js +1 -0
- package/dist/assets/check-D25gbkia.js +1 -0
- package/dist/assets/checkbox-BtBVaRcF.js +1 -0
- package/dist/assets/chevron-down-DRTtaJaL.js +1 -0
- package/dist/assets/chevron-left-DyWGebtA.js +1 -0
- package/dist/assets/chevron-right-DRPBYcaQ.js +1 -0
- package/dist/assets/chevron-up-C1CThLD8.js +1 -0
- package/dist/assets/chip-DEksAzpZ.js +1 -0
- package/dist/assets/circle-5aGwoChc.js +1 -0
- package/dist/assets/circle-alert-Dr23_HXm.js +1 -0
- package/dist/assets/circle-dot-Cq_grJwm.js +1 -0
- package/dist/assets/circle-question-mark-C61IbV2j.js +1 -0
- package/dist/assets/circle-slash-BCT_vPHg.js +1 -0
- package/dist/assets/circle-x-BgZC9NRa.js +1 -0
- package/dist/assets/clipboard-paste-CD9XARY6.js +1 -0
- package/dist/assets/clock-CzExhPDZ.js +1 -0
- package/dist/assets/cloud-B6Bj5ET-.js +1 -0
- package/dist/assets/code-xml-CZORJ1t6.js +1 -0
- package/dist/assets/coins-Dp99swNO.js +1 -0
- package/dist/assets/collapsible-w0Gm1Duf.js +1 -0
- package/dist/assets/columns-3-Dwg6adEi.js +1 -0
- package/dist/assets/command-DRxd9M5m.js +5 -0
- package/dist/assets/companies-query-C5h0ehWr.js +1 -0
- package/dist/assets/connection-identity-B77zUDMx.js +1 -0
- package/dist/assets/connection-owner-D60xEDD7.js +1 -0
- package/dist/assets/copy-Ck432-6W.js +1 -0
- package/dist/assets/createLucideIcon-DFq0_SD5.js +94 -0
- package/dist/assets/decision-models-DAJNV6Ek.js +1 -0
- package/dist/assets/definition-DZi-yBK2.js +1 -0
- package/dist/assets/dialog-B6knjPRK.js +1 -0
- package/dist/assets/dist-2G1d7V9E.js +1 -0
- package/dist/assets/dist-BtpC6E52.js +1 -0
- package/dist/assets/dist-BvVm60ff.js +1 -0
- package/dist/assets/dist-CPW84eg0.js +1 -0
- package/dist/assets/dist-Ci-ZUfuY.js +1 -0
- package/dist/assets/dist-CqQt0BcD.js +1 -0
- package/dist/assets/dist-D2VtrOy3.js +1 -0
- package/dist/assets/dist-DVnvJXCY.js +1 -0
- package/dist/assets/dist-Dr85F8WW.js +1 -0
- package/dist/assets/dist-Dz_zv-7l.js +1 -0
- package/dist/assets/dist-oPspc6b7.js +1 -0
- package/dist/assets/dist-wgLSyHIr.js +1 -0
- package/dist/assets/dropdown-menu-Bv-5gi4Z.js +1 -0
- package/dist/assets/ellipsis-6pUps2JA.js +1 -0
- package/dist/assets/ellipsis-vertical-DtmCS_6d.js +1 -0
- package/dist/assets/email-CQEe4aNP.js +1 -0
- package/dist/assets/environment-variables-editor-BkIHpy42.js +1 -0
- package/dist/assets/environments-Dp21mS4n.js +1 -0
- package/dist/assets/es2015-B8GsGeCN.js +41 -0
- package/dist/assets/external-link-BYT2N-qd.js +1 -0
- package/dist/assets/eye-DePHXY9S.js +1 -0
- package/dist/assets/eye-off-BzaGKr4m.js +1 -0
- package/dist/assets/fast-responses-Cbsfq8Ak.js +1 -0
- package/dist/assets/file-CwO10jsS.js +1 -0
- package/dist/assets/file-code-corner-B1hGvhlD.js +1 -0
- package/dist/assets/file-pen-line-DBwntZqZ.js +1 -0
- package/dist/assets/file-question-mark-ByNkGqZU.js +1 -0
- package/dist/assets/file-search-KdZuJEu_.js +1 -0
- package/dist/assets/file-text-CPjqXxv9.js +1 -0
- package/dist/assets/flag-BWH3doOS.js +1 -0
- package/dist/assets/flask-conical-DmYAU0jU.js +1 -0
- package/dist/assets/folder-git-2-BDX-z73H.js +1 -0
- package/dist/assets/folder-open-DdGngi3h.js +1 -0
- package/dist/assets/folder-search-BnlPfb8E.js +1 -0
- package/dist/assets/funnel-qTFYznMQ.js +1 -0
- package/dist/assets/git-pull-request-Bxg55kum.js +1 -0
- package/dist/assets/github-icon-DzdzHvWa.js +1 -0
- package/dist/assets/health-_oZheFQS.js +1 -0
- package/dist/assets/heartbeats-Dn7f2jm7.js +1 -0
- package/dist/assets/inbox-BYzFop55.js +1 -0
- package/dist/assets/inboxArchiveCache-DadMmOlk.js +1 -0
- package/dist/assets/index-CturclrK.js +67 -0
- package/dist/assets/index-KZ2bEg2H.css +2 -0
- package/dist/assets/info-CXAQLLHF.js +1 -0
- package/dist/assets/input-OyH1le9F.js +1 -0
- package/dist/assets/instanceSettings-C68LkOh1.js +1 -0
- package/dist/assets/interaction-audience-DSnAFJS-.js +1 -0
- package/dist/assets/interaction-card-visibility-hAotQiNj.js +1 -0
- package/dist/assets/issue-blockers-BfUep25r.js +1 -0
- package/dist/assets/issue-output-D6f2QAoO.js +1 -0
- package/dist/assets/issue-properties-Bq80d68i.js +4 -0
- package/dist/assets/issue-share-CEVooWcy.js +1 -0
- package/dist/assets/issue-workspace-selection-BjDuxgu4.js +1 -0
- package/dist/assets/key-round-Dz2RdZt-.js +1 -0
- package/dist/assets/label-DkXqkneE.js +1 -0
- package/dist/assets/layout-dashboard-K9mAnWo1.js +1 -0
- package/dist/assets/link-2-CqoCP9d2.js +1 -0
- package/dist/assets/link-BeX_9YF4.js +1 -0
- package/dist/assets/list-filter-BO6nka6p.js +1 -0
- package/dist/assets/list-todo-BRs14Knm.js +1 -0
- package/dist/assets/log-in-CDfTjtDB.js +1 -0
- package/dist/assets/maximize-2-CqdFeZg_.js +1 -0
- package/dist/assets/mention-chips-XGBWyjfr.js +17 -0
- package/dist/assets/message-square-plus-DivlmIBl.js +1 -0
- package/dist/assets/minus-DBeRgFHz.js +1 -0
- package/dist/assets/model-fallback-CARdABIB.js +1 -0
- package/dist/assets/model-picker-fields-DyrF_pml.js +1 -0
- package/dist/assets/network-Dn0XzCEV.js +1 -0
- package/dist/assets/octagon-alert-BSE2kxYA.js +1 -0
- package/dist/assets/octagon-x-DeLWIK-1.js +1 -0
- package/dist/assets/omp-settings-model-CKEwCMG9.js +1 -0
- package/dist/assets/package-BXDmAhqA.js +1 -0
- package/dist/assets/pause-BFubuTGL.js +1 -0
- package/dist/assets/pen-line-MixC8OAX.js +1 -0
- package/dist/assets/pipeline-stage-presentation-BlMUfYSm.js +2 -0
- package/dist/assets/pipelines-DGHN_ZDl.js +1 -0
- package/dist/assets/play-BxobhMNN.js +1 -0
- package/dist/assets/plug-B9LpcqxX.js +1 -0
- package/dist/assets/plugins-C1CBwZxr.js +1 -0
- package/dist/assets/plus-3grZEc6D.js +1 -0
- package/dist/assets/popover-Dboikzj7.js +1 -0
- package/dist/assets/power-BwAEcXE3.js +1 -0
- package/dist/assets/presentation-mode-zPteD84U.js +1 -0
- package/dist/assets/profile-summary-Bx6NntA0.js +1 -0
- package/dist/assets/projects-Dhg0tJ68.js +1 -0
- package/dist/assets/proposal-review-CTbLGzM1.js +1 -0
- package/dist/assets/queryClient-ew36hKeJ.js +1 -0
- package/dist/assets/queryKeys-BjE39RB_.js +1 -0
- package/dist/assets/radio-92dOg5hV.js +1 -0
- package/dist/assets/radio-card-BZzGx1bj.js +1 -0
- package/dist/assets/recent-agent-chats-DL_CkTww.js +1 -0
- package/dist/assets/refresh-cw-DRrmw-ua.js +1 -0
- package/dist/assets/repeat-BK1ZQ6UR.js +1 -0
- package/dist/assets/resizable-panels-BGrsZhXV.js +1 -0
- package/dist/assets/review-policy-DddwYdrf.js +1 -0
- package/dist/assets/rotate-ccw-3dpBz4_v.js +1 -0
- package/dist/assets/rotate-cw-BlbJ5W3e.js +1 -0
- package/dist/assets/router-DxxHzV7q.js +1 -0
- package/dist/assets/routines-Czc76kli.js +1 -0
- package/dist/assets/runRetryState-MbpWYOmV.js +1 -0
- package/dist/assets/save-BPGfeNy8.js +1 -0
- package/dist/assets/schema-config-fields-B36htqHz.js +1 -0
- package/dist/assets/scroll-area-vPDcONOE.js +1 -0
- package/dist/assets/scroll-text-D4bbPQHV.js +1 -0
- package/dist/assets/search-DI6_pp-D.js +1 -0
- package/dist/assets/secrets-BbGN8H56.js +1 -0
- package/dist/assets/select-C2DC5rk6.js +1 -0
- package/dist/assets/send-CB6g5rI-.js +1 -0
- package/dist/assets/separator-GuwKN0ly.js +1 -0
- package/dist/assets/server-DvecsSaC.js +1 -0
- package/dist/assets/server-cog-BNds_biT.js +1 -0
- package/dist/assets/settings-COk8eOW7.js +1 -0
- package/dist/assets/shared-C4wh4A72.js +1 -0
- package/dist/assets/sheet-BGB1wcjf.js +1 -0
- package/dist/assets/shield-Da7znhbq.js +1 -0
- package/dist/assets/shield-alert-400pYbWO.js +1 -0
- package/dist/assets/shield-check-rK8cawGy.js +1 -0
- package/dist/assets/shield-question-mark-Bu8HUTd_.js +1 -0
- package/dist/assets/shield-x-DgETIg3u.js +1 -0
- package/dist/assets/sidebarPreferences-C-DSpjIP.js +1 -0
- package/dist/assets/skeleton-6hT0ziyj.js +1 -0
- package/dist/assets/slots-B1jHPd4d.js +49 -0
- package/dist/assets/smoke-lab-matrix-Cc8gF-EO.js +1 -0
- package/dist/assets/square-BcgffFXM.js +1 -0
- package/dist/assets/star-1UakmInq.js +15 -0
- package/dist/assets/sun-BdXf3WK7.js +1 -0
- package/dist/assets/system-notice-comment-yjZiXPNH.js +1 -0
- package/dist/assets/tabs-8fOwp9Wd.js +1 -0
- package/dist/assets/task-chat-attachments-DY3I4nBN.js +10 -0
- package/dist/assets/terminal-9waEsp12.js +1 -0
- package/dist/assets/textarea-yxs96L-d.js +1 -0
- package/dist/assets/thumbs-down-DWl2i7Ea.js +1 -0
- package/dist/assets/thumbs-up-Caxf3HRW.js +1 -0
- package/dist/assets/toggle-switch-C5IT4laE.js +1 -0
- package/dist/assets/tool-taxonomy-4oizLIC4.js +1 -0
- package/dist/assets/tools-XWaOXIHQ.js +1 -0
- package/dist/assets/tooltip-CrjeF5Py.js +1 -0
- package/dist/assets/transcript-adapter-ByJVfKL8.js +5 -0
- package/dist/assets/trash-CEP6t-OK.js +1 -0
- package/dist/assets/triangle-alert-8W9BE8a7.js +1 -0
- package/dist/assets/use-adapter-capabilities-sembMmIT.js +1 -0
- package/dist/assets/use-copy-action-CFzqHTsL.js +1 -0
- package/dist/assets/useAgentChatEnabled-8Pnx26s0.js +1 -0
- package/dist/assets/useAutosaveIndicator-cVaZS2nh.js +1 -0
- package/dist/assets/useHiddenSettings-zU4NvLoR.js +1 -0
- package/dist/assets/useInfiniteQuery-Wx2UMo1u.js +1 -0
- package/dist/assets/useInstanceFeatureSettings-C4g8yZ-P.js +1 -0
- package/dist/assets/useManagedSandboxOnly-DLQ6H9fl.js +1 -0
- package/dist/assets/useMobileEntityPickerViewportStyle-B_Xv_WNu.js +1 -0
- package/dist/assets/usePrefersReducedMotion-DNg4ExJc.js +1 -0
- package/dist/assets/useProfilesData-BfbgbFMa.js +1 -0
- package/dist/assets/useQueries-c0fWgj-2.js +1 -0
- package/dist/assets/useSecondTick-BZz9TShK.js +1 -0
- package/dist/assets/useSharedPolling-DZrr45g8.js +1 -0
- package/dist/assets/useSummaryDraftStream-CyhKO1CH.js +3 -0
- package/dist/assets/user-C_uFK2oS.js +1 -0
- package/dist/assets/user-check-CG1rKDBr.js +1 -0
- package/dist/assets/user-minus-fYGjtB62.js +1 -0
- package/dist/assets/user-round-D1ny1Q1J.js +1 -0
- package/dist/assets/user-x-BhQvIXbB.js +1 -0
- package/dist/assets/users-DpHy-NzY.js +1 -0
- package/dist/assets/wand-sparkles-DOYDAffy.js +1 -0
- package/dist/assets/webhook-Bb869qRq.js +1 -0
- package/dist/assets/x-DezUz_Fi.js +1 -0
- package/dist/index.html +189 -189
- package/dist/sw.js +1 -1
- package/package.json +1 -1
- package/dist/assets/AccessSelectIdentity-CB0wDF3n.js +0 -1
- package/dist/assets/ActiveAgentsPanel-Bo7ol9wM.js +0 -1
- package/dist/assets/AdapterManager-qVQRmkuD.js +0 -1
- package/dist/assets/AdvancedToolsRoute-tdr_aqij.js +0 -39
- package/dist/assets/AgentActionButtons-DBvhx-_5.js +0 -1
- package/dist/assets/AgentAvatar-DJgnt_yK.js +0 -1
- package/dist/assets/AgentBubbleActionRow-BVtRdgpV.js +0 -1
- package/dist/assets/AgentCharacter-B8TiwhAs.js +0 -2
- package/dist/assets/AgentChat-Dq5ODsuj.js +0 -1
- package/dist/assets/AgentChats-DH_aUycD.js +0 -1
- package/dist/assets/AgentDefaults-DY18HrH_.js +0 -1
- package/dist/assets/AgentDetail-Dy_KTmii.js +0 -38
- package/dist/assets/AgentIconPicker-MGzhYc_Z.js +0 -1
- package/dist/assets/AgentIdentity-C0wbUT4l.js +0 -1
- package/dist/assets/AgentMailCredentialField-MmvxOJ8_.js +0 -1
- package/dist/assets/AgentMultiSelect-BXyfWul8.js +0 -1
- package/dist/assets/AgentRoleEditor-DqtutMCw.js +0 -1
- package/dist/assets/AgentSetupPrompt-BxNphpXd.js +0 -30
- package/dist/assets/AgentTodoCard-CpGx6UXs.js +0 -1
- package/dist/assets/Agents-DNNpk4WA.js +0 -3
- package/dist/assets/AppDetail-C4K9DoXS.js +0 -5
- package/dist/assets/AppLogo-CaJ4MuVw.js +0 -1
- package/dist/assets/AppNotConnected-E-egVPtF.js +0 -1
- package/dist/assets/ApprovalCard-Cr7h7G0F.js +0 -1
- package/dist/assets/ApprovalDetail-uABC5N3X.js +0 -1
- package/dist/assets/ApprovalPayload-DoC5d1Cm.js +0 -1
- package/dist/assets/Approvals-ID3jD__f.js +0 -1
- package/dist/assets/AppsConnect-DrqbBWIS.js +0 -1
- package/dist/assets/AppsReview--rEio59_.js +0 -1
- package/dist/assets/ArtifactCard-D_WjNhtn.js +0 -1
- package/dist/assets/Artifacts-CGEiOhnC.js +0 -1
- package/dist/assets/AssistantConnection-CYAqU3gK.js +0 -1
- package/dist/assets/AttentionInteractionResolver-Bn34WU0b.js +0 -1
- package/dist/assets/AuditHub-BYuXtv31.js +0 -1
- package/dist/assets/Auth-D6ngyWRI.js +0 -3
- package/dist/assets/BoardChat-BUxYfkLN.js +0 -18
- package/dist/assets/BoardClaim-DL0WMV6x.js +0 -1
- package/dist/assets/BootstrapSetupUxLab-C7gHqrq6.js +0 -1
- package/dist/assets/BreadcrumbContext-CJR8QTge.js +0 -1
- package/dist/assets/Browse-DoT14Cha.js +0 -1
- package/dist/assets/BudgetPolicyCard-DfKrPLAq.js +0 -1
- package/dist/assets/CaseDetail-EXlS_4E4.js +0 -2
- package/dist/assets/CaseIdentifierKey-5QJnm55J.js +0 -1
- package/dist/assets/Cases-Bc_3CRq3.js +0 -2
- package/dist/assets/ChatEndpointDetail-CxxiZoSN.js +0 -5
- package/dist/assets/ChatEndpointSetup-B3_nnQk1.js +0 -1
- package/dist/assets/ChatIdentityConfirm-x_4CBs72.js +0 -1
- package/dist/assets/ChoiceControls-BwMN9Kx1.js +0 -1
- package/dist/assets/CliAuth-BlogWi7G.js +0 -1
- package/dist/assets/CommentAttributionChip-CJ3qLsoL.js +0 -1
- package/dist/assets/Companies-pImpt6Ig.js +0 -1
- package/dist/assets/CompanyAccess-DPYDVJ9J.js +0 -1
- package/dist/assets/CompanyActivity-Duq2NAx1.js +0 -1
- package/dist/assets/CompanyConnections-BklpSERT.js +0 -1
- package/dist/assets/CompanyContext-B-YBtpBW.js +0 -1
- package/dist/assets/CompanyEnvironments-CPjyJVqf.js +0 -3
- package/dist/assets/CompanyExport-D4kEi-3_.js +0 -4
- package/dist/assets/CompanyImport-DfMZudBh.js +0 -1
- package/dist/assets/CompanySettings-Lcfxyilm.js +0 -1
- package/dist/assets/CompanySettingsPluginPage-Cqt_9iaJ.js +0 -1
- package/dist/assets/CompanySkills-DYVkszAW.js +0 -10
- package/dist/assets/ComposerAddMenu-H8ZhB5a7.js +0 -3
- package/dist/assets/ConfigureBuiltInAgentModal-BZJcGcK2.js +0 -1
- package/dist/assets/ConnectionSetupFlow-QNFKok6_.js +0 -40
- package/dist/assets/CopyText-DhmNbbYK.js +0 -1
- package/dist/assets/CopyableGatewayUrl-BtRRC-KH.js +0 -1
- package/dist/assets/CrossIssueCollaborationUxLab-CjCPVAnC.js +0 -1
- package/dist/assets/Dashboard-BQMBqQ53.js +0 -2
- package/dist/assets/DashboardLive-CaqWKYr0.js +0 -1
- package/dist/assets/DecisionDateChips-CiOLifB0.js +0 -1
- package/dist/assets/DecisionModelSettings-CDVHW8OW.js +0 -1
- package/dist/assets/DecisionQueuePage-jwcZ64OC.js +0 -1
- package/dist/assets/DesignGuide-MhWqTPmq.js +0 -23
- package/dist/assets/DocumentFrameHeader-DNUKYEhd.js +0 -1
- package/dist/assets/EmailConnectionAccess-8S93XA6z.js +0 -1
- package/dist/assets/EmailEndpointSetup-CPdKO2l5.js +0 -1
- package/dist/assets/EnforcementBanner-Bn8Ewk2q.js +0 -1
- package/dist/assets/EntityRow-Kn7sLVAk.js +0 -1
- package/dist/assets/ExecutionWorkspaceDetail-C9jF_nJj.js +0 -19
- package/dist/assets/FilterBar-BykjlM4D.js +0 -1
- package/dist/assets/FoldCurtain-DsZlPSyG.js +0 -1
- package/dist/assets/FolderControls-D7pVcJbq.js +0 -1
- package/dist/assets/GatewayDetail-DgJS6Qsl.js +0 -2
- package/dist/assets/GatewaysList-DMDaQt4y.js +0 -1
- package/dist/assets/GoalDetail-CY7hLz_l.js +0 -1
- package/dist/assets/GoalTree-WzRFReqJ.js +0 -1
- package/dist/assets/Goals-bCiHMyuG.js +0 -1
- package/dist/assets/Identity-DWzDPvu2.js +0 -1
- package/dist/assets/ImageGalleryModal-BMJBWmGq.js +0 -1
- package/dist/assets/Inbox-Dm3xXThM.js +0 -2
- package/dist/assets/InlineBanner-DPyQUYry.js +0 -1
- package/dist/assets/InlineEditor-KZy2fiwE.js +0 -1
- package/dist/assets/InlineEntitySelector-CCIbALcq.js +0 -1
- package/dist/assets/InstanceAccess-BCrLePWP.js +0 -1
- package/dist/assets/InstanceAdvanced-B6svZNoG.js +0 -1
- package/dist/assets/InstanceFeatures-BmD4NFZF.js +0 -1
- package/dist/assets/InviteLanding-JD8XdJXC.js +0 -1
- package/dist/assets/IssueChatLongThreadPerf-dq1aT0f6.js +0 -2
- package/dist/assets/IssueChatThread-B346j9fq.js +0 -40
- package/dist/assets/IssueDetail-_Zl7wHte.js +0 -9
- package/dist/assets/IssueDocumentAnnotations-B_zLfq5_.js +0 -2
- package/dist/assets/IssueOutputSection-Cq8MaccE.js +0 -1
- package/dist/assets/IssueRecoveryActionCard-aOLJWBM1.js +0 -1
- package/dist/assets/IssueReferenceActivitySummary-Ck5Zl072.js +0 -1
- package/dist/assets/IssueReferencePill-QuPJ3g-v.js +0 -1
- package/dist/assets/IssueThreadInteractionCard-CIRbt21W.js +0 -9
- package/dist/assets/IssueWriteDenialNotice-BaLV_PZi.js +0 -1
- package/dist/assets/Issues-DB37kAvK.js +0 -3
- package/dist/assets/JoinRequestQueue-CADoKnEi.js +0 -1
- package/dist/assets/JsonSchemaForm-ClQxRpGg.js +0 -1
- package/dist/assets/LiveNowTodoLine-MVXtRh5a.js +0 -1
- package/dist/assets/ManagedAiConnectionDetails-wENH5d_C.js +0 -1
- package/dist/assets/MarkdownBody-BOtS4dMf.js +0 -16
- package/dist/assets/MarkdownEditor-CREDiP7R.js +0 -85
- package/dist/assets/McpConnect-ehjA9O1Z.js +0 -1
- package/dist/assets/MembershipAction-ClqNkxvX.js +0 -1
- package/dist/assets/MetricCard-M1QwaikG.js +0 -1
- package/dist/assets/MissingPluginTabPlaceholder-DzHYlqUl.js +0 -1
- package/dist/assets/ModelsAndProviders-BKTWEIUI.js +0 -1
- package/dist/assets/MootMark-BVQVOO3F.js +0 -1
- package/dist/assets/NewAgent-BEY31A86.js +0 -1
- package/dist/assets/OmpAllSettings-CecF1Ytr.js +0 -1
- package/dist/assets/OpenwaGatewayManager-MmgESDjN.js +0 -2
- package/dist/assets/PathInstructionsModal-BIDYvQPi.js +0 -1
- package/dist/assets/PipelineSettings-B2wxYR95.js +0 -2
- package/dist/assets/Pipelines-DYPO8av_.js +0 -1
- package/dist/assets/PixelsOffice-CA1EKsrs.js +0 -2
- package/dist/assets/PluginManager-QL4D5st3.js +0 -1
- package/dist/assets/PluginPage-DblF56oZ.js +0 -1
- package/dist/assets/PluginSettings-Nfi5mtdI.js +0 -1
- package/dist/assets/ProfileDetailRoute-BOYWm9Wx.js +0 -1
- package/dist/assets/ProfileSettings-CIC6hvCw.js +0 -1
- package/dist/assets/ProfileWizardRoute-CdTmv9uk.js +0 -1
- package/dist/assets/ProjectDetail-DAUKX6f4.js +0 -1
- package/dist/assets/ProjectWorkspaceDetail-C_fhXmZy.js +0 -29
- package/dist/assets/ProjectWorkspacesContent-DvH9GlTX.js +0 -1
- package/dist/assets/Projects-Id-HmVce.js +0 -1
- package/dist/assets/PublicIssueSharePage-k5xy8txT.js +0 -1
- package/dist/assets/QuestionForm-Dyl-70ng.js +0 -7
- package/dist/assets/QuotaBar-CW9ibPbm.js +0 -1
- package/dist/assets/RepositoryEditor-Bqfgspkp.js +0 -1
- package/dist/assets/ResponsibleUserDenialNotice-BrYSdVur.js +0 -1
- package/dist/assets/ResponsibleUserDenialUxLab-c26z5HMf.js +0 -1
- package/dist/assets/ReviewQueueCard-C5vucg7V.js +0 -1
- package/dist/assets/RichWorkProductCard-1YFBRbAH.js +0 -1
- package/dist/assets/RoutineActivityRow-BYDJPTZR.js +0 -1
- package/dist/assets/RoutineDetail-C57iUtZ0.js +0 -2
- package/dist/assets/RoutineRunVariablesDialog-BBeO7iQP.js +0 -1
- package/dist/assets/RoutineVariablesEditor-C63kCDOW.js +0 -1
- package/dist/assets/Routines-Cn32Emig.js +0 -1
- package/dist/assets/ScrollToBottom-B0rJSDZt.js +0 -1
- package/dist/assets/Search-rmK6pCyM.js +0 -1
- package/dist/assets/SearchableSelect-CGn964GN.js +0 -1
- package/dist/assets/Secrets-BI9FnVyL.js +0 -4
- package/dist/assets/SetupWizard-Co-2dB38.js +0 -1
- package/dist/assets/SidebarContext-DjMJfUqM.js +0 -1
- package/dist/assets/SidebarNavItem-DKTr6pcQ.js +0 -1
- package/dist/assets/SkillBinaryFile-BDW4aews.js +0 -1
- package/dist/assets/SkillCardIcon-D4OvQKfh.js +0 -2
- package/dist/assets/SkillSourceTree-Cj2JX2sl.js +0 -2
- package/dist/assets/SkillSources-DgY5rAx3.js +0 -2
- package/dist/assets/SkillStudio-C6331b7P.js +0 -9
- package/dist/assets/SourceTrustBadge-DGpGjwcp.js +0 -1
- package/dist/assets/StatusCards-CT1Jn18P.js +0 -1
- package/dist/assets/StatusIcon-C9cotCM2.js +0 -1
- package/dist/assets/SummarySlotCard-BcloWHHY.js +0 -1
- package/dist/assets/TaskChatComposerTakeoverContext-CBExIPnn.js +0 -1
- package/dist/assets/TaskChatLab-CsOwk5pk.js +0 -11
- package/dist/assets/TaskChatMarker-BIQNexae.js +0 -2
- package/dist/assets/TaskChatProtocolCard-BHaDIuxL.js +0 -1
- package/dist/assets/TaskChatThreadView-ZA4WVqbZ.js +0 -4
- package/dist/assets/TaskDetailRelationsPanel-BDkyVyVZ.js +0 -1
- package/dist/assets/TaskTreeControls-gi-wsz2z.js +0 -3
- package/dist/assets/Terminal-Capsrq9m.js +0 -1
- package/dist/assets/TerminalView-C_V4Tg8X.js +0 -58
- package/dist/assets/ThemeContext-DWcltMBl.js +0 -1
- package/dist/assets/ThemeToggle-C-KrI9hg.js +0 -1
- package/dist/assets/ToastContext-CnfhN3mb.js +0 -1
- package/dist/assets/ToolsAdminGate-DRZodD7R.js +0 -1
- package/dist/assets/TrustPresetSection-DFmEjwMW.js +0 -1
- package/dist/assets/UserProfile-C9UHvTEA.js +0 -1
- package/dist/assets/WebhookUrlWarning-Dt3d6VAp.js +0 -1
- package/dist/assets/WhatNeedsMe-CIkAn0ks.js +0 -1
- package/dist/assets/WorkspaceRuntimeControls-KDwNu9Hr.js +0 -1
- package/dist/assets/Workspaces-Dlgnlpwa.js +0 -1
- package/dist/assets/access-BkSc-YvP.js +0 -1
- package/dist/assets/activity-C5VbLfz8.js +0 -1
- package/dist/assets/activity-format-BmraXZtu.js +0 -1
- package/dist/assets/activity-lX5PBpiK.js +0 -1
- package/dist/assets/adapter-display-registry-BkjtA18Z.js +0 -1
- package/dist/assets/adapters-Cb-hqQnw.js +0 -1
- package/dist/assets/agent-avatar-url-D14lFPHx.js +0 -1
- package/dist/assets/agent-config-primitives-xv2Lr18g.js +0 -1
- package/dist/assets/agentChats-DPOGctaa.js +0 -1
- package/dist/assets/agents-rnSnrQC4.js +0 -1
- package/dist/assets/alert-dialog-27IXGF8T.js +0 -1
- package/dist/assets/app-connect-policy-C3MoC1lf.js +0 -1
- package/dist/assets/archive-C8BpeWXz.js +0 -1
- package/dist/assets/archive-restore-BR8_J38G.js +0 -1
- package/dist/assets/arrow-down-Bh_Va5uZ.js +0 -1
- package/dist/assets/arrow-down-left-CmuePyoi.js +0 -1
- package/dist/assets/arrow-left-enre6Ixa.js +0 -1
- package/dist/assets/arrow-right-Ct-JHvJr.js +0 -1
- package/dist/assets/arrow-up-CFw4xH8q.js +0 -1
- package/dist/assets/arrow-up-down-BG6ywjj5.js +0 -1
- package/dist/assets/arrow-up-right-DMPfnj4d.js +0 -1
- package/dist/assets/artifacts-CVbxKL70.js +0 -1
- package/dist/assets/assets-rjB-4CEh.js +0 -1
- package/dist/assets/avatar-DKcs1KMu.js +0 -1
- package/dist/assets/badge-BlSRUe_y.js +0 -1
- package/dist/assets/badge-check-Cs3w7RQz.js +0 -1
- package/dist/assets/bot-D895JZS8.js +0 -1
- package/dist/assets/boxes-_ZUz87Eg.js +0 -1
- package/dist/assets/braces-Dap_c-8X.js +0 -1
- package/dist/assets/browser-use-Djh_XZ4r.js +0 -1
- package/dist/assets/budgets-CgfyCDyJ.js +0 -1
- package/dist/assets/button-uuDxAEeK.js +0 -1
- package/dist/assets/calendar-clock-P5S3hzQD.js +0 -1
- package/dist/assets/card-wriQ3c28.js +0 -1
- package/dist/assets/cases-umCX8Rg2.js +0 -1
- package/dist/assets/chatEndpoints-D1q_GY-Y.js +0 -1
- package/dist/assets/check-B7HoBFck.js +0 -1
- package/dist/assets/checkbox-xiZoUzpN.js +0 -1
- package/dist/assets/chevron-down-D4v3ODNF.js +0 -1
- package/dist/assets/chevron-left-DXwCli7j.js +0 -1
- package/dist/assets/chevron-right-D631sOQD.js +0 -1
- package/dist/assets/chevron-up-PDj14sqg.js +0 -1
- package/dist/assets/chip-BWvgDQvN.js +0 -1
- package/dist/assets/circle-354wNuKi.js +0 -1
- package/dist/assets/circle-alert-CKBZ4SE0.js +0 -1
- package/dist/assets/circle-dot-DM-Ii3V0.js +0 -1
- package/dist/assets/circle-question-mark-mm5duyfd.js +0 -1
- package/dist/assets/circle-slash-BB-tfgP8.js +0 -1
- package/dist/assets/circle-x-HU0vPhh7.js +0 -1
- package/dist/assets/clipboard-paste-BuqVoFyP.js +0 -1
- package/dist/assets/clock-C6IXlHWU.js +0 -1
- package/dist/assets/cloud-B_yqgKcY.js +0 -1
- package/dist/assets/code-xml-CGCFe_kC.js +0 -1
- package/dist/assets/coins-WqvKHxpd.js +0 -1
- package/dist/assets/collapsible-CyncQCx3.js +0 -1
- package/dist/assets/columns-3-CNPp6HXV.js +0 -1
- package/dist/assets/command-D8BTCBWn.js +0 -5
- package/dist/assets/companies-query-C2gaqq9f.js +0 -1
- package/dist/assets/connection-identity-CqeLU24F.js +0 -1
- package/dist/assets/connection-owner-CFkiL1x4.js +0 -1
- package/dist/assets/copy-DHTmNIUf.js +0 -1
- package/dist/assets/createLucideIcon-CojsodAG.js +0 -94
- package/dist/assets/decision-models-CQpdYb1-.js +0 -1
- package/dist/assets/definition-CP66xiVi.js +0 -1
- package/dist/assets/dialog-Bs_ufJb0.js +0 -1
- package/dist/assets/dist-BRCrupm7.js +0 -1
- package/dist/assets/dist-CFv5JlYr.js +0 -1
- package/dist/assets/dist-CHB3iC9F.js +0 -1
- package/dist/assets/dist-CSIaXnc7.js +0 -1
- package/dist/assets/dist-CW_s4tzj.js +0 -1
- package/dist/assets/dist-CbyOEjOt.js +0 -1
- package/dist/assets/dist-DAFE2B0S.js +0 -1
- package/dist/assets/dist-DRpEY_QP.js +0 -1
- package/dist/assets/dist-DbBqvlwv.js +0 -1
- package/dist/assets/dist-DxUPzO-s.js +0 -1
- package/dist/assets/dist-HDq9xIl2.js +0 -1
- package/dist/assets/dist-Q0MGEdIS.js +0 -1
- package/dist/assets/dropdown-menu-cHqW_02l.js +0 -1
- package/dist/assets/ellipsis-CNnYjlml.js +0 -1
- package/dist/assets/ellipsis-vertical-B81g7cQN.js +0 -1
- package/dist/assets/email-BUmA--yX.js +0 -1
- package/dist/assets/environment-variables-editor-CZLDBU2u.js +0 -1
- package/dist/assets/environments-B4HtUJMH.js +0 -1
- package/dist/assets/es2015-Di_ug9Zl.js +0 -41
- package/dist/assets/external-link-BE7QEebN.js +0 -1
- package/dist/assets/eye-D3kSljGD.js +0 -1
- package/dist/assets/eye-off-bJqdlQuR.js +0 -1
- package/dist/assets/fast-responses-BgtwpQdD.js +0 -1
- package/dist/assets/file-code-corner-qPLgdMjB.js +0 -1
- package/dist/assets/file-go8c3gkU.js +0 -1
- package/dist/assets/file-pen-line-0gk6MQQw.js +0 -1
- package/dist/assets/file-question-mark-DPevnhDi.js +0 -1
- package/dist/assets/file-search-DlxHueO4.js +0 -1
- package/dist/assets/file-text-CuNAJLg7.js +0 -1
- package/dist/assets/flag-DW2jnQ04.js +0 -1
- package/dist/assets/flask-conical-BPyiLMC3.js +0 -1
- package/dist/assets/folder-git-2-CiFuRUXD.js +0 -1
- package/dist/assets/folder-open-CDbx5Bf1.js +0 -1
- package/dist/assets/folder-search-DrILeZ_f.js +0 -1
- package/dist/assets/funnel-0FI_WNvS.js +0 -1
- package/dist/assets/git-pull-request-BSUhwKSo.js +0 -1
- package/dist/assets/github-icon-BJwpLTzl.js +0 -1
- package/dist/assets/health-Cy45HB79.js +0 -1
- package/dist/assets/heartbeats-DksJ6pXv.js +0 -1
- package/dist/assets/inbox-Coo1a0g7.js +0 -1
- package/dist/assets/inboxArchiveCache-Bbqbg1Gq.js +0 -1
- package/dist/assets/index-6gpRzgjB.css +0 -2
- package/dist/assets/index-Bd1jE1Sa.js +0 -67
- package/dist/assets/info-DeKs8odF.js +0 -1
- package/dist/assets/input-BqMjeTb7.js +0 -1
- package/dist/assets/instanceSettings-B0jqIvWQ.js +0 -1
- package/dist/assets/interaction-audience-D2Eo5oI1.js +0 -1
- package/dist/assets/interaction-card-visibility-Cht5I5eb.js +0 -1
- package/dist/assets/issue-blockers-1iM2EJDZ.js +0 -1
- package/dist/assets/issue-output-4gsXQIRS.js +0 -1
- package/dist/assets/issue-properties-DMAR83P8.js +0 -4
- package/dist/assets/issue-share-CC-YP8dz.js +0 -1
- package/dist/assets/issue-workspace-selection-DFC8eSrI.js +0 -1
- package/dist/assets/key-round-DreEIzMQ.js +0 -1
- package/dist/assets/label-CNsX54Af.js +0 -1
- package/dist/assets/layout-dashboard-BMT8A-iQ.js +0 -1
- package/dist/assets/link-2-DfOzXF5R.js +0 -1
- package/dist/assets/link-D1GMJn8_.js +0 -1
- package/dist/assets/list-filter-DLTGF3tq.js +0 -1
- package/dist/assets/list-todo-DKtHufdL.js +0 -1
- package/dist/assets/log-in-BHK5X-ot.js +0 -1
- package/dist/assets/maximize-2-0xUMgWv6.js +0 -1
- package/dist/assets/mention-chips-DZcc18SY.js +0 -17
- package/dist/assets/message-square-plus-BzZ6s03I.js +0 -1
- package/dist/assets/minus-Jb-O1SOK.js +0 -1
- package/dist/assets/model-fallback-B0yp3U3Q.js +0 -1
- package/dist/assets/model-picker-fields-Ccq7zMdQ.js +0 -1
- package/dist/assets/network-C7paqmtM.js +0 -1
- package/dist/assets/octagon-alert-CLWkxuf7.js +0 -1
- package/dist/assets/octagon-x-_U_nwO8n.js +0 -1
- package/dist/assets/omp-settings-model-C-bQXrN_.js +0 -1
- package/dist/assets/package-CdGZIMdc.js +0 -1
- package/dist/assets/paperclip-DcV4yaxy.js +0 -1
- package/dist/assets/pause-tqYbR4kc.js +0 -1
- package/dist/assets/pen-line-rhm1kOGj.js +0 -1
- package/dist/assets/pipeline-stage-presentation-uIHc7epi.js +0 -2
- package/dist/assets/pipelines-Y6J2k570.js +0 -1
- package/dist/assets/play-D7kF6VLW.js +0 -1
- package/dist/assets/plug-BVF7h25K.js +0 -1
- package/dist/assets/plugins-Cc8Tovel.js +0 -1
- package/dist/assets/plus-Dud3s9uJ.js +0 -1
- package/dist/assets/popover-DzAyjGvE.js +0 -1
- package/dist/assets/power-CTcXDYpm.js +0 -1
- package/dist/assets/presentation-mode-CqmvDy1c.js +0 -1
- package/dist/assets/profile-summary-BEVwCdvf.js +0 -1
- package/dist/assets/projects-Cf22MjS6.js +0 -1
- package/dist/assets/proposal-review-BBdBAsCE.js +0 -1
- package/dist/assets/queryClient-DpXQ-V50.js +0 -1
- package/dist/assets/queryKeys-Blv2Qg4s.js +0 -1
- package/dist/assets/radio-CLltEHAx.js +0 -1
- package/dist/assets/radio-card-Dm-qsc8I.js +0 -1
- package/dist/assets/recent-agent-chats-BSYdwurI.js +0 -1
- package/dist/assets/refresh-cw-DeIFEmsu.js +0 -1
- package/dist/assets/repeat-y8kA2Co7.js +0 -1
- package/dist/assets/resizable-panels-Bwu8P7eK.js +0 -1
- package/dist/assets/review-policy-DU6Ygdi8.js +0 -1
- package/dist/assets/rotate-ccw-CNHfeMoH.js +0 -1
- package/dist/assets/rotate-cw-B6dxZear.js +0 -1
- package/dist/assets/router-DOn_zzSy.js +0 -1
- package/dist/assets/routines-TsMTAdZC.js +0 -1
- package/dist/assets/runRetryState-fCnurTer.js +0 -1
- package/dist/assets/save-BNG3CVqp.js +0 -1
- package/dist/assets/schema-config-fields-KnYqScRR.js +0 -1
- package/dist/assets/scroll-area-BZETeEJH.js +0 -1
- package/dist/assets/scroll-text-EMNtEcCC.js +0 -1
- package/dist/assets/search-D9Bqed53.js +0 -1
- package/dist/assets/secrets-DGCK1Zxj.js +0 -1
- package/dist/assets/select-DU5Z1Csy.js +0 -1
- package/dist/assets/send-DBJOn-2O.js +0 -1
- package/dist/assets/separator-B9nCk86U.js +0 -1
- package/dist/assets/server-CZv5pXvD.js +0 -1
- package/dist/assets/server-cog-DZWRwDq-.js +0 -1
- package/dist/assets/settings-CgwHmbah.js +0 -1
- package/dist/assets/shared-BbqrFXVm.js +0 -1
- package/dist/assets/sheet-4OXDjtcy.js +0 -1
- package/dist/assets/shield-BwFA7vCY.js +0 -1
- package/dist/assets/shield-alert-C1Ktd_2t.js +0 -1
- package/dist/assets/shield-check-DBM-O2iv.js +0 -1
- package/dist/assets/shield-question-mark-BTZD0oaq.js +0 -1
- package/dist/assets/shield-x-DE2LjQpq.js +0 -1
- package/dist/assets/sidebarPreferences-DYQWiQak.js +0 -1
- package/dist/assets/skeleton-CbKMdGex.js +0 -1
- package/dist/assets/slots-DHBRGzXF.js +0 -49
- package/dist/assets/smoke-lab-matrix-DoVRgq3X.js +0 -1
- package/dist/assets/square-DBYxNP18.js +0 -1
- package/dist/assets/star-Cd42HbvL.js +0 -15
- package/dist/assets/sun-BqkgXCcV.js +0 -1
- package/dist/assets/system-notice-comment-Bugp-NM7.js +0 -1
- package/dist/assets/tabs-CRiPLwDq.js +0 -1
- package/dist/assets/task-chat-attachments-DZzW7RDq.js +0 -10
- package/dist/assets/terminal-BLHLcJMx.js +0 -1
- package/dist/assets/textarea-DVJ0fWFd.js +0 -1
- package/dist/assets/thumbs-down-Bn1gkRqy.js +0 -1
- package/dist/assets/thumbs-up-DufUeQuQ.js +0 -1
- package/dist/assets/toggle-switch-BlkssuJ4.js +0 -1
- package/dist/assets/tool-taxonomy-zIUYRWBM.js +0 -1
- package/dist/assets/tools-ClBZDCoH.js +0 -1
- package/dist/assets/tooltip-BeCPZxhV.js +0 -1
- package/dist/assets/transcript-adapter-B30K__sQ.js +0 -5
- package/dist/assets/trash-B_WDJ65C.js +0 -1
- package/dist/assets/triangle-alert-CnP3ordc.js +0 -1
- package/dist/assets/use-adapter-capabilities-CF0GVPzR.js +0 -1
- package/dist/assets/use-copy-action-C2ICqxF5.js +0 -1
- package/dist/assets/useAgentChatEnabled-CJzVN6Qm.js +0 -1
- package/dist/assets/useAutosaveIndicator-ciffSx9u.js +0 -1
- package/dist/assets/useHiddenSettings-D_QaePfQ.js +0 -1
- package/dist/assets/useInfiniteQuery-D6YfW36r.js +0 -1
- package/dist/assets/useInstanceFeatureSettings-DDfBE4o0.js +0 -1
- package/dist/assets/useManagedSandboxOnly-CQJYQFwC.js +0 -1
- package/dist/assets/useMobileEntityPickerViewportStyle-DhAbt-o4.js +0 -1
- package/dist/assets/usePrefersReducedMotion-BiP8vYW9.js +0 -1
- package/dist/assets/useProfilesData-CxoKFzp0.js +0 -1
- package/dist/assets/useQueries-Jizi9Jtj.js +0 -1
- package/dist/assets/useSecondTick-BCxjc_fQ.js +0 -1
- package/dist/assets/useSharedPolling-BmL_rLDM.js +0 -1
- package/dist/assets/useSummaryDraftStream-CstSZl-F.js +0 -3
- package/dist/assets/user-CiyiSO1b.js +0 -1
- package/dist/assets/user-check-CAJzQMff.js +0 -1
- package/dist/assets/user-minus-DwkKYsBO.js +0 -1
- package/dist/assets/user-round-CWvtJvVV.js +0 -1
- package/dist/assets/user-x-DqPnccpE.js +0 -1
- package/dist/assets/users-DVizyVZY.js +0 -1
- package/dist/assets/wand-sparkles-DZpKl31O.js +0 -1
- package/dist/assets/webhook-DTbHhqRH.js +0 -1
- package/dist/assets/x-Bgd91xX9.js +0 -1
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
var an=Object.defineProperty;var r=(e,n)=>an(e,"name",{value:n,configurable:!0});import{n as on}from"./rolldown-runtime-ZpX3ckPj.js";import{mn as sn,vn as cn}from"./createLucideIcon-CojsodAG.js";import"./agent-avatar-url-D14lFPHx.js";import{i as hn,r as fn}from"./color-contrast-BHHcEMtO.js";var Xe="project://",Ze="agent://",pn="user://",Je="skill://",mn="routine://",gn=/^[0-9a-f]{6}$/i,kn=/^[0-9a-f]{3}$/i,xn=/^#[0-9a-f]{6}$/i,dn=/^#[0-9a-f]{3}$/i,bn=/\[[^\]]*]\((agent:\/\/[^)\s]+)\)/gi,yn=/^[a-z0-9-]+$/i,wn=/^[a-z0-9][a-z0-9-]*$/i;function bt(e){if(!e)return null;const n=e.trim();if(!n)return null;if(xn.test(n))return n.toLowerCase();if(gn.test(n))return`#${n.toLowerCase()}`;if(dn.test(n)){const t=n.slice(1).toLowerCase();return`#${t[0]}${t[0]}${t[1]}${t[1]}${t[2]}${t[2]}`}if(kn.test(n)){const t=n.toLowerCase();return`#${t[0]}${t[0]}${t[1]}${t[1]}${t[2]}${t[2]}`}return null}r(bt,"normalizeHexColor");function Zu(e,n){const t=e.trim(),i=bt(n??null);return i?`${Xe}${t}?c=${encodeURIComponent(i.slice(1))}`:`${Xe}${t}`}r(Zu,"buildProjectMentionHref");function In(e){if(!e.startsWith("project://"))return null;let n;try{n=new URL(e)}catch{return null}if(n.protocol!=="project:")return null;const t=`${n.hostname}${n.pathname}`.replace(/^\/+/,"").trim();return t?{projectId:t,color:bt(n.searchParams.get("c")??n.searchParams.get("color"))}:null}r(In,"parseProjectMentionHref");function Ju(e,n){const t=e.trim(),i=wt(n??null);return i?`${Ze}${t}?i=${encodeURIComponent(i)}`:`${Ze}${t}`}r(Ju,"buildAgentMentionHref");function yt(e){if(!e.startsWith("agent://"))return null;let n;try{n=new URL(e)}catch{return null}if(n.protocol!=="agent:")return null;const t=`${n.hostname}${n.pathname}`.replace(/^\/+/,"").trim();return t?{agentId:t,icon:wt(n.searchParams.get("i")??n.searchParams.get("icon"))}:null}r(yt,"parseAgentMentionHref");function el(e){return`${pn}${e.trim()}`}r(el,"buildUserMentionHref");function Sn(e){if(!e.startsWith("user://"))return null;let n;try{n=new URL(e)}catch{return null}if(n.protocol!=="user:")return null;const t=`${n.hostname}${n.pathname}`.replace(/^\/+/,"").trim();return t?{userId:t}:null}r(Sn,"parseUserMentionHref");function tl(e,n){const t=e.trim(),i=It(n??null);return i?`${Je}${t}?s=${encodeURIComponent(i)}`:`${Je}${t}`}r(tl,"buildSkillMentionHref");function Cn(e){if(!e.startsWith("skill://"))return null;let n;try{n=new URL(e)}catch{return null}if(n.protocol!=="skill:")return null;const t=`${n.hostname}${n.pathname}`.replace(/^\/+/,"").trim();return t?{skillId:t,slug:It(n.searchParams.get("s")??n.searchParams.get("slug"))}:null}r(Cn,"parseSkillMentionHref");function nl(e){return`${mn}${e.trim()}`}r(nl,"buildRoutineMentionHref");function vn(e){if(!e.startsWith("routine://"))return null;let n;try{n=new URL(e)}catch{return null}if(n.protocol!=="routine:")return null;const t=`${n.hostname}${n.pathname}`.replace(/^\/+/,"").trim();return t?{routineId:t}:null}r(vn,"parseRoutineMentionHref");function rl(e){if(!e)return[];const n=new Set,t=new RegExp(bn);let i;for(;(i=t.exec(e))!==null;){const u=yt(i[1]);u&&n.add(u.agentId)}return[...n]}r(rl,"extractAgentMentionIds");function wt(e){if(!e)return null;const n=e.trim().toLowerCase();return!n||!yn.test(n)?null:n}r(wt,"normalizeAgentIcon");function It(e){if(!e)return null;const n=e.trim().toLowerCase();return!n||!wn.test(n)?null:n}r(It,"normalizeSkillSlug");var En=/^[A-Z][A-Z0-9]*-\d+$/;function St(e){const n=e.trim().toUpperCase();return En.test(n)?n:null}r(St,"normalizeIssueIdentifier");function il(e){return`/issues/${St(e)??e.trim()}`}r(il,"buildIssueReferenceHref");function Tn(e){const n=e.trim();if(!n)return null;let t;try{t=n.startsWith("/")?new URL(n,"https://wardmote.invalid"):new URL(n)}catch{return null}const i=t.pathname.split("/").map(u=>u.trim()).filter(Boolean);for(let u=0;u<i.length-1;u+=1){if(i[u]?.toLowerCase()!=="issues")continue;const l=St(i[u+1]??"");if(l)return{identifier:l}}return null}r(Tn,"parseIssueReferenceHref");function K(e,n,t,i){const u=e.length;let l=0,a;if(n<0?n=-n>u?0:u+n:n=n>u?u:n,t=t>0?t:0,i.length<1e4)a=Array.from(i),a.unshift(n,t),e.splice(...a);else for(t&&e.splice(n,t);l<i.length;)a=i.slice(l,l+1e4),a.unshift(n,0),e.splice(...a),l+=1e4,n+=1e4}r(K,"splice");function X(e,n){return e.length>0?(K(e,e.length,0,n),e):n}r(X,"push");var ee=ce(/[A-Za-z]/),J=ce(/[\dA-Za-z]/),zn=ce(/[#-'*+\--9=?A-Z^-~]/);function Me(e){return e!==null&&(e<32||e===127)}r(Me,"asciiControl");var De=ce(/\d/),_n=ce(/[\dA-Fa-f]/),An=ce(/[!-/:-@[-`{-~]/);function z(e){return e!==null&&e<-2}r(z,"markdownLineEnding");function U(e){return e!==null&&(e<0||e===32)}r(U,"markdownLineEndingOrSpace");function L(e){return e===-2||e===-1||e===32}r(L,"markdownSpace");var Ln=ce(new RegExp("\\p{P}|\\p{S}","u")),Fn=ce(/\s/);function ce(e){return n;function n(t){return t!==null&&t>-1&&e.test(String.fromCharCode(t))}}r(ce,"regexCheck");function de(e){if(e===null||U(e)||Fn(e))return 1;if(Ln(e))return 2}r(de,"classifyCharacter");function _e(e,n,t){const i=[];let u=-1;for(;++u<e.length;){const l=e[u].resolveAll;l&&!i.includes(l)&&(n=l(n,t),i.push(l))}return n}r(_e,"resolveAll");function ul(e){let n=(e||{}).singleTilde;const t={name:"strikethrough",tokenize:u,resolveAll:i};return n==null&&(n=!0),{text:{126:t},insideSpan:{null:[t]},attentionMarkers:{null:[126]}};function i(l,a){let o=-1;for(;++o<l.length;)if(l[o][0]==="enter"&&l[o][1].type==="strikethroughSequenceTemporary"&&l[o][1]._close){let s=o;for(;s--;)if(l[s][0]==="exit"&&l[s][1].type==="strikethroughSequenceTemporary"&&l[s][1]._open&&l[o][1].end.offset-l[o][1].start.offset===l[s][1].end.offset-l[s][1].start.offset){l[o][1].type="strikethroughSequence",l[s][1].type="strikethroughSequence";const c={type:"strikethrough",start:Object.assign({},l[s][1].start),end:Object.assign({},l[o][1].end)},p={type:"strikethroughText",start:Object.assign({},l[s][1].end),end:Object.assign({},l[o][1].start)},f=[["enter",c,a],["enter",l[s][1],a],["exit",l[s][1],a],["enter",p,a]],k=a.parser.constructs.insideSpan.null;k&&K(f,f.length,0,_e(k,l.slice(s+1,o),a)),K(f,f.length,0,[["exit",p,a],["enter",l[o][1],a],["exit",l[o][1],a],["exit",c,a]]),K(l,s-1,o-s+3,f),o=s+f.length-2;break}}for(o=-1;++o<l.length;)l[o][1].type==="strikethroughSequenceTemporary"&&(l[o][1].type="data");return l}r(i,"resolveAllStrikethrough");function u(l,a,o){const s=this.previous,c=this.events;let p=0;return f;function f(h){return s===126&&c[c.length-1][1].type!=="characterEscape"?o(h):(l.enter("strikethroughSequenceTemporary"),k(h))}function k(h){const w=de(s);if(h===126)return p>1?o(h):(l.consume(h),p++,k);if(p<2&&!n)return o(h);const C=l.exit("strikethroughSequenceTemporary"),v=de(h);return C._open=!v||v===2&&!!w,C._close=!w||w===2&&!!v,a(h)}}r(u,"tokenizeStrikethrough")}r(ul,"gfmStrikethrough");var Rn=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];Ct.peek=Dn;function ll(){return{canContainEols:["delete"],enter:{strikethrough:Bn},exit:{strikethrough:Mn}}}r(ll,"gfmStrikethroughFromMarkdown");function al(){return{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:Rn}],handlers:{delete:Ct}}}r(al,"gfmStrikethroughToMarkdown");function Bn(e){this.enter({type:"delete",children:[]},e)}r(Bn,"enterStrikethrough");function Mn(e){this.exit(e)}r(Mn,"exitStrikethrough");function Ct(e,n,t,i){const u=t.createTracker(i),l=t.enter("strikethrough");let a=u.move("~~");return a+=t.containerPhrasing(e,{...u.current(),before:a,after:"~"}),a+=u.move("~~"),l(),a}r(Ct,"handleDelete");function Dn(){return"~"}r(Dn,"peekDelete");function ol(e,n){const t=String(e);if(typeof n!="string")throw new TypeError("Expected character");let i=0,u=t.indexOf(n);for(;u!==-1;)i++,u=t.indexOf(n,u+n.length);return i}r(ol,"ccount");function sl(){}r(sl,"ok$1");function cl(){}r(cl,"unreachable");var et=document.createElement("i");function $e(e){const n="&"+e+";";et.innerHTML=n;const t=et.textContent;return t.charCodeAt(t.length-1)===59&&e!=="semi"||t===n?!1:t}r($e,"decodeNamedCharacterReference");function Se(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?tt(e.position):"start"in e||"end"in e?tt(e):"line"in e||"column"in e?Pe(e):""}r(Se,"stringifyPosition");function Pe(e){return nt(e&&e.line)+":"+nt(e&&e.column)}r(Pe,"point$1");function tt(e){return Pe(e&&e.start)+"-"+Pe(e&&e.end)}r(tt,"position");function nt(e){return e&&typeof e=="number"?e:1}r(nt,"index");var G=class extends Error{static{r(this,"VFileMessage")}constructor(e,n,t){super(),typeof n=="string"&&(t=n,n=void 0);let i="",u={},l=!1;if(n&&("line"in n&&"column"in n?u={place:n}:"start"in n&&"end"in n?u={place:n}:"type"in n?u={ancestors:[n],place:n.position}:u={...n}),typeof e=="string"?i=e:!u.cause&&e&&(l=!0,i=e.message,u.cause=e),!u.ruleId&&!u.source&&typeof t=="string"){const o=t.indexOf(":");o===-1?u.ruleId=t:(u.source=t.slice(0,o),u.ruleId=t.slice(o+1))}if(!u.place&&u.ancestors&&u.ancestors){const o=u.ancestors[u.ancestors.length-1];o&&(u.place=o.position)}const a=u.place&&"start"in u.place?u.place.start:u.place;this.ancestors=u.ancestors||void 0,this.cause=u.cause||void 0,this.column=a?a.column:void 0,this.fatal=void 0,this.file="",this.message=i,this.line=a?a.line:void 0,this.name=Se(u.place)||"1:1",this.place=u.place||void 0,this.reason=this.message,this.ruleId=u.ruleId||void 0,this.source=u.source||void 0,this.stack=l&&u.cause&&typeof u.cause.stack=="string"?u.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}};G.prototype.file="";G.prototype.name="";G.prototype.reason="";G.prototype.message="";G.prototype.stack="";G.prototype.column=void 0;G.prototype.line=void 0;G.prototype.ancestors=void 0;G.prototype.cause=void 0;G.prototype.fatal=void 0;G.prototype.place=void 0;G.prototype.ruleId=void 0;G.prototype.source=void 0;var Pn=/[$_\p{ID_Start}]/u,On=/[$_\u{200C}\u{200D}\p{ID_Continue}]/u,$n=/[-$_\u{200C}\u{200D}\p{ID_Continue}]/u,Nn=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,Hn=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,vt={};function hl(e){return e?Pn.test(String.fromCodePoint(e)):!1}r(hl,"start");function fl(e,n){const t=(n||vt).jsx?$n:On;return e?t.test(String.fromCodePoint(e)):!1}r(fl,"cont");function pl(e,n){return((n||vt).jsx?Hn:Nn).test(e)}r(pl,"name");function D(e,n,t,i){const u=i?i-1:Number.POSITIVE_INFINITY;let l=0;return a;function a(s){return L(s)?(e.enter(t),o(s)):n(s)}function o(s){return L(s)&&l++<u?(e.consume(s),o):(e.exit(t),n(s))}}r(D,"factorySpace");function jn(e,n,t,i){const u=t.enter("blockquote"),l=t.createTracker(i);l.move("> "),l.shift(2);const a=t.indentLines(t.containerFlow(e,l.current()),qn);return u(),a}r(jn,"blockquote");function qn(e,n,t){return">"+(t?"":" ")+e}r(qn,"map$1");function Vn(e,n){return rt(e,n.inConstruct,!0)&&!rt(e,n.notInConstruct,!1)}r(Vn,"patternInScope");function rt(e,n,t){if(typeof n=="string"&&(n=[n]),!n||n.length===0)return t;let i=-1;for(;++i<n.length;)if(e.includes(n[i]))return!0;return!1}r(rt,"listInScope");function it(e,n,t,i){let u=-1;for(;++u<t.unsafe.length;)if(t.unsafe[u].character===`
|
|
2
|
-
`&&Vn(t.stack,t.unsafe[u]))return/[ \t]/.test(i.before)?"":" ";return`\\
|
|
3
|
-
`}r(it,"hardBreak");function Un(e,n){const t=String(e);let i=t.indexOf(n),u=i,l=0,a=0;if(typeof n!="string")throw new TypeError("Expected substring");for(;i!==-1;)i===u?++l>a&&(a=l):l=1,u=i+n.length,i=t.indexOf(n,u);return a}r(Un,"longestStreak");function Qn(e,n){return!!(n.options.fences===!1&&e.value&&!e.lang&&/[^ \r\n]/.test(e.value)&&!/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(e.value))}r(Qn,"formatCodeAsIndented");function Wn(e){const n=e.options.fence||"`";if(n!=="`"&&n!=="~")throw new Error("Cannot serialize code with `"+n+"` for `options.fence`, expected `` ` `` or `~`");return n}r(Wn,"checkFence");function Yn(e,n,t,i){const u=Wn(t),l=e.value||"",a=u==="`"?"GraveAccent":"Tilde";if(Qn(e,t)){const f=t.enter("codeIndented"),k=t.indentLines(l,Kn);return f(),k}const o=t.createTracker(i),s=u.repeat(Math.max(Un(l,u)+1,3)),c=t.enter("codeFenced");let p=o.move(s);if(e.lang){const f=t.enter(`codeFencedLang${a}`);p+=o.move(t.safe(e.lang,{before:p,after:" ",encode:["`"],...o.current()})),f()}if(e.lang&&e.meta){const f=t.enter(`codeFencedMeta${a}`);p+=o.move(" "),p+=o.move(t.safe(e.meta,{before:p,after:`
|
|
4
|
-
`,encode:["`"],...o.current()})),f()}return p+=o.move(`
|
|
5
|
-
`),l&&(p+=o.move(l+`
|
|
6
|
-
`)),p+=o.move(s),c(),p}r(Yn,"code");function Kn(e,n,t){return(t?"":" ")+e}r(Kn,"map");function Ne(e){const n=e.options.quote||'"';if(n!=='"'&&n!=="'")throw new Error("Cannot serialize title with `"+n+"` for `options.quote`, expected `\"`, or `'`");return n}r(Ne,"checkQuote");function Gn(e,n,t,i){const u=Ne(t),l=u==='"'?"Quote":"Apostrophe",a=t.enter("definition");let o=t.enter("label");const s=t.createTracker(i);let c=s.move("[");return c+=s.move(t.safe(t.associationId(e),{before:c,after:"]",...s.current()})),c+=s.move("]: "),o(),!e.url||/[\0- \u007F]/.test(e.url)?(o=t.enter("destinationLiteral"),c+=s.move("<"),c+=s.move(t.safe(e.url,{before:c,after:">",...s.current()})),c+=s.move(">")):(o=t.enter("destinationRaw"),c+=s.move(t.safe(e.url,{before:c,after:e.title?" ":`
|
|
7
|
-
`,...s.current()}))),o(),e.title&&(o=t.enter(`title${l}`),c+=s.move(" "+u),c+=s.move(t.safe(e.title,{before:c,after:u,...s.current()})),c+=s.move(u),o()),a(),c}r(Gn,"definition$1");function Xn(e){const n=e.options.emphasis||"*";if(n!=="*"&&n!=="_")throw new Error("Cannot serialize emphasis with `"+n+"` for `options.emphasis`, expected `*`, or `_`");return n}r(Xn,"checkEmphasis");function ve(e){return"&#x"+e.toString(16).toUpperCase()+";"}r(ve,"encodeCharacterReference");function ze(e,n,t){const i=de(e),u=de(n);return i===void 0?u===void 0?t==="_"?{inside:!0,outside:!0}:{inside:!1,outside:!1}:u===1?{inside:!0,outside:!0}:{inside:!1,outside:!0}:i===1?u===void 0?{inside:!1,outside:!1}:u===1?{inside:!0,outside:!0}:{inside:!1,outside:!1}:u===void 0?{inside:!1,outside:!1}:u===1?{inside:!0,outside:!1}:{inside:!1,outside:!1}}r(ze,"encodeInfo");Et.peek=Zn;function Et(e,n,t,i){const u=Xn(t),l=t.enter("emphasis"),a=t.createTracker(i),o=a.move(u);let s=a.move(t.containerPhrasing(e,{after:u,before:o,...a.current()}));const c=s.charCodeAt(0),p=ze(i.before.charCodeAt(i.before.length-1),c,u);p.inside&&(s=ve(c)+s.slice(1));const f=s.charCodeAt(s.length-1),k=ze(i.after.charCodeAt(0),f,u);k.inside&&(s=s.slice(0,-1)+ve(f));const h=a.move(u);return l(),t.attentionEncodeSurroundingInfo={after:k.outside,before:p.outside},o+s+h}r(Et,"emphasis");function Zn(e,n,t){return t.options.emphasis||"*"}r(Zn,"emphasisPeek");var He=r((function(e){if(e==null)return nr;if(typeof e=="function")return Ae(e);if(typeof e=="object")return Array.isArray(e)?Jn(e):er(e);if(typeof e=="string")return tr(e);throw new Error("Expected function, string, or object as test")}),"convert");function Jn(e){const n=[];let t=-1;for(;++t<e.length;)n[t]=He(e[t]);return Ae(i);function i(...u){let l=-1;for(;++l<n.length;)if(n[l].apply(this,u))return!0;return!1}}r(Jn,"anyFactory");function er(e){const n=e;return Ae(t);function t(i){const u=i;let l;for(l in e)if(u[l]!==n[l])return!1;return!0}}r(er,"propertiesFactory");function tr(e){return Ae(n);function n(t){return t&&t.type===e}}r(tr,"typeFactory");function Ae(e){return n;function n(t,i,u){return!!(rr(t)&&e.call(this,t,typeof i=="number"?i:void 0,u||void 0))}}r(Ae,"castFactory");function nr(){return!0}r(nr,"ok");function rr(e){return e!==null&&typeof e=="object"&&"type"in e}r(rr,"looksLikeANode");var Tt=[];function ir(e,n,t,i){let u;typeof n=="function"&&typeof t!="function"?(i=t,t=n):u=n;const l=He(u),a=i?-1:1;o(e,void 0,[])();function o(s,c,p){const f=s&&typeof s=="object"?s:{};if(typeof f.type=="string"){const h=typeof f.tagName=="string"?f.tagName:typeof f.name=="string"?f.name:void 0;Object.defineProperty(k,"name",{value:"node ("+(s.type+(h?"<"+h+">":""))+")"})}return k;function k(){let h=Tt,w,C,v;if((!n||l(s,c,p[p.length-1]||void 0))&&(h=ur(t(s,p)),h[0]===!1))return h;if("children"in s&&s.children){const b=s;if(b.children&&h[0]!=="skip")for(C=(i?b.children.length:-1)+a,v=p.concat(b);C>-1&&C<b.children.length;){const _=b.children[C];if(w=o(_,C,v)(),w[0]===!1)return w;C=typeof w[1]=="number"?w[1]:C+a}}return h}}r(o,"factory")}r(ir,"visitParents");function ur(e){return Array.isArray(e)?e:typeof e=="number"?[!0,e]:e==null?Tt:[e]}r(ur,"toResult");function lr(e,n,t,i){let u,l,a;typeof n=="function"&&typeof t!="function"?(l=void 0,a=n,u=t):(l=n,a=t,u=i),ir(e,l,o,u);function o(s,c){const p=c[c.length-1],f=p?p.children.indexOf(s):void 0;return a(s,f,p)}r(o,"overload")}r(lr,"visit");var ar={};function je(e,n){const t=n||ar;return zt(e,typeof t.includeImageAlt=="boolean"?t.includeImageAlt:!0,typeof t.includeHtml=="boolean"?t.includeHtml:!0)}r(je,"toString");function zt(e,n,t){if(or(e)){if("value"in e)return e.type==="html"&&!t?"":e.value;if(n&&"alt"in e&&e.alt)return e.alt;if("children"in e)return ut(e.children,n,t)}return Array.isArray(e)?ut(e,n,t):""}r(zt,"one");function ut(e,n,t){const i=[];let u=-1;for(;++u<e.length;)i[u]=zt(e[u],n,t);return i.join("")}r(ut,"all");function or(e){return!!(e&&typeof e=="object")}r(or,"node");function sr(e,n){let t=!1;return lr(e,function(i){if("value"in i&&/\r?\n|\r/.test(i.value)||i.type==="break")return t=!0,!1}),!!((!e.depth||e.depth<3)&&je(e)&&(n.options.setext||t))}r(sr,"formatHeadingAsSetext");function cr(e,n,t,i){const u=Math.max(Math.min(6,e.depth||1),1),l=t.createTracker(i);if(sr(e,t)){const p=t.enter("headingSetext"),f=t.enter("phrasing"),k=t.containerPhrasing(e,{...l.current(),before:`
|
|
8
|
-
`,after:`
|
|
9
|
-
`});return f(),p(),k+`
|
|
10
|
-
`+(u===1?"=":"-").repeat(k.length-(Math.max(k.lastIndexOf("\r"),k.lastIndexOf(`
|
|
11
|
-
`))+1))}const a="#".repeat(u),o=t.enter("headingAtx"),s=t.enter("phrasing");l.move(a+" ");let c=t.containerPhrasing(e,{before:"# ",after:`
|
|
12
|
-
`,...l.current()});return/^[\t ]/.test(c)&&(c=ve(c.charCodeAt(0))+c.slice(1)),c=c?a+" "+c:a,t.options.closeAtx&&(c+=" "+a),s(),o(),c}r(cr,"heading");_t.peek=hr;function _t(e){return e.value||""}r(_t,"html");function hr(){return"<"}r(hr,"htmlPeek");At.peek=fr;function At(e,n,t,i){const u=Ne(t),l=u==='"'?"Quote":"Apostrophe",a=t.enter("image");let o=t.enter("label");const s=t.createTracker(i);let c=s.move("![");return c+=s.move(t.safe(e.alt,{before:c,after:"]",...s.current()})),c+=s.move("]("),o(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(o=t.enter("destinationLiteral"),c+=s.move("<"),c+=s.move(t.safe(e.url,{before:c,after:">",...s.current()})),c+=s.move(">")):(o=t.enter("destinationRaw"),c+=s.move(t.safe(e.url,{before:c,after:e.title?" ":")",...s.current()}))),o(),e.title&&(o=t.enter(`title${l}`),c+=s.move(" "+u),c+=s.move(t.safe(e.title,{before:c,after:u,...s.current()})),c+=s.move(u),o()),c+=s.move(")"),a(),c}r(At,"image");function fr(){return"!"}r(fr,"imagePeek");Lt.peek=pr;function Lt(e,n,t,i){const u=e.referenceType,l=t.enter("imageReference");let a=t.enter("label");const o=t.createTracker(i);let s=o.move("![");const c=t.safe(e.alt,{before:s,after:"]",...o.current()});s+=o.move(c+"]["),a();const p=t.stack;t.stack=[],a=t.enter("reference");const f=t.safe(t.associationId(e),{before:s,after:"]",...o.current()});return a(),t.stack=p,l(),u==="full"||!c||c!==f?s+=o.move(f+"]"):u==="shortcut"?s=s.slice(0,-1):s+=o.move("]"),s}r(Lt,"imageReference");function pr(){return"!"}r(pr,"imageReferencePeek");Ft.peek=mr;function Ft(e,n,t){let i=e.value||"",u="`",l=-1;for(;new RegExp("(^|[^`])"+u+"([^`]|$)").test(i);)u+="`";for(/[^ \r\n]/.test(i)&&(/^[ \r\n]/.test(i)&&/[ \r\n]$/.test(i)||/^`|`$/.test(i))&&(i=" "+i+" ");++l<t.unsafe.length;){const a=t.unsafe[l],o=t.compilePattern(a);let s;if(a.atBreak)for(;s=o.exec(i);){let c=s.index;i.charCodeAt(c)===10&&i.charCodeAt(c-1)===13&&c--,i=i.slice(0,c)+" "+i.slice(s.index+1)}}return u+i+u}r(Ft,"inlineCode");function mr(){return"`"}r(mr,"inlineCodePeek");function Rt(e,n){const t=je(e);return!!(!n.options.resourceLink&&e.url&&!e.title&&e.children&&e.children.length===1&&e.children[0].type==="text"&&(t===e.url||"mailto:"+t===e.url)&&/^[a-z][a-z+.-]+:/i.test(e.url)&&!/[\0- <>\u007F]/.test(e.url))}r(Rt,"formatLinkAsAutolink");Bt.peek=gr;function Bt(e,n,t,i){const u=Ne(t),l=u==='"'?"Quote":"Apostrophe",a=t.createTracker(i);let o,s;if(Rt(e,t)){const p=t.stack;t.stack=[],o=t.enter("autolink");let f=a.move("<");return f+=a.move(t.containerPhrasing(e,{before:f,after:">",...a.current()})),f+=a.move(">"),o(),t.stack=p,f}o=t.enter("link"),s=t.enter("label");let c=a.move("[");return c+=a.move(t.containerPhrasing(e,{before:c,after:"](",...a.current()})),c+=a.move("]("),s(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(s=t.enter("destinationLiteral"),c+=a.move("<"),c+=a.move(t.safe(e.url,{before:c,after:">",...a.current()})),c+=a.move(">")):(s=t.enter("destinationRaw"),c+=a.move(t.safe(e.url,{before:c,after:e.title?" ":")",...a.current()}))),s(),e.title&&(s=t.enter(`title${l}`),c+=a.move(" "+u),c+=a.move(t.safe(e.title,{before:c,after:u,...a.current()})),c+=a.move(u),s()),c+=a.move(")"),o(),c}r(Bt,"link");function gr(e,n,t){return Rt(e,t)?"<":"["}r(gr,"linkPeek");Mt.peek=kr;function Mt(e,n,t,i){const u=e.referenceType,l=t.enter("linkReference");let a=t.enter("label");const o=t.createTracker(i);let s=o.move("[");const c=t.containerPhrasing(e,{before:s,after:"]",...o.current()});s+=o.move(c+"]["),a();const p=t.stack;t.stack=[],a=t.enter("reference");const f=t.safe(t.associationId(e),{before:s,after:"]",...o.current()});return a(),t.stack=p,l(),u==="full"||!c||c!==f?s+=o.move(f+"]"):u==="shortcut"?s=s.slice(0,-1):s+=o.move("]"),s}r(Mt,"linkReference");function kr(){return"["}r(kr,"linkReferencePeek");function qe(e){const n=e.options.bullet||"*";if(n!=="*"&&n!=="+"&&n!=="-")throw new Error("Cannot serialize items with `"+n+"` for `options.bullet`, expected `*`, `+`, or `-`");return n}r(qe,"checkBullet");function xr(e){const n=qe(e),t=e.options.bulletOther;if(!t)return n==="*"?"-":"*";if(t!=="*"&&t!=="+"&&t!=="-")throw new Error("Cannot serialize items with `"+t+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(t===n)throw new Error("Expected `bullet` (`"+n+"`) and `bulletOther` (`"+t+"`) to be different");return t}r(xr,"checkBulletOther");function dr(e){const n=e.options.bulletOrdered||".";if(n!=="."&&n!==")")throw new Error("Cannot serialize items with `"+n+"` for `options.bulletOrdered`, expected `.` or `)`");return n}r(dr,"checkBulletOrdered");function Dt(e){const n=e.options.rule||"*";if(n!=="*"&&n!=="-"&&n!=="_")throw new Error("Cannot serialize rules with `"+n+"` for `options.rule`, expected `*`, `-`, or `_`");return n}r(Dt,"checkRule");function br(e,n,t,i){const u=t.enter("list"),l=t.bulletCurrent;let a=e.ordered?dr(t):qe(t);const o=e.ordered?a==="."?")":".":xr(t);let s=n&&t.bulletLastUsed?a===t.bulletLastUsed:!1;if(!e.ordered){const p=e.children?e.children[0]:void 0;if((a==="*"||a==="-")&&p&&(!p.children||!p.children[0])&&t.stack[t.stack.length-1]==="list"&&t.stack[t.stack.length-2]==="listItem"&&t.stack[t.stack.length-3]==="list"&&t.stack[t.stack.length-4]==="listItem"&&t.indexStack[t.indexStack.length-1]===0&&t.indexStack[t.indexStack.length-2]===0&&t.indexStack[t.indexStack.length-3]===0&&(s=!0),Dt(t)===a&&p){let f=-1;for(;++f<e.children.length;){const k=e.children[f];if(k&&k.type==="listItem"&&k.children&&k.children[0]&&k.children[0].type==="thematicBreak"){s=!0;break}}}}s&&(a=o),t.bulletCurrent=a;const c=t.containerFlow(e,i);return t.bulletLastUsed=a,t.bulletCurrent=l,u(),c}r(br,"list$1");function yr(e){const n=e.options.listItemIndent||"one";if(n!=="tab"&&n!=="one"&&n!=="mixed")throw new Error("Cannot serialize items with `"+n+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return n}r(yr,"checkListItemIndent");function wr(e,n,t,i){const u=yr(t);let l=t.bulletCurrent||qe(t);n&&n.type==="list"&&n.ordered&&(l=(typeof n.start=="number"&&n.start>-1?n.start:1)+(t.options.incrementListMarker===!1?0:n.children.indexOf(e))+l);let a=l.length+1;(u==="tab"||u==="mixed"&&(n&&n.type==="list"&&n.spread||e.spread))&&(a=Math.ceil(a/4)*4);const o=t.createTracker(i);o.move(l+" ".repeat(a-l.length)),o.shift(a);const s=t.enter("listItem"),c=t.indentLines(t.containerFlow(e,o.current()),p);return s(),c;function p(f,k,h){return k?(h?"":" ".repeat(a))+f:(h?l:l+" ".repeat(a-l.length))+f}r(p,"map")}r(wr,"listItem");function Ir(e,n,t,i){const u=t.enter("paragraph"),l=t.enter("phrasing"),a=t.containerPhrasing(e,i);return l(),u(),a}r(Ir,"paragraph");var Sr=He(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function Cr(e,n,t,i){return(e.children.some(function(u){return Sr(u)})?t.containerPhrasing:t.containerFlow).call(t,e,i)}r(Cr,"root");function vr(e){const n=e.options.strong||"*";if(n!=="*"&&n!=="_")throw new Error("Cannot serialize strong with `"+n+"` for `options.strong`, expected `*`, or `_`");return n}r(vr,"checkStrong");Pt.peek=Er;function Pt(e,n,t,i){const u=vr(t),l=t.enter("strong"),a=t.createTracker(i),o=a.move(u+u);let s=a.move(t.containerPhrasing(e,{after:u,before:o,...a.current()}));const c=s.charCodeAt(0),p=ze(i.before.charCodeAt(i.before.length-1),c,u);p.inside&&(s=ve(c)+s.slice(1));const f=s.charCodeAt(s.length-1),k=ze(i.after.charCodeAt(0),f,u);k.inside&&(s=s.slice(0,-1)+ve(f));const h=a.move(u+u);return l(),t.attentionEncodeSurroundingInfo={after:k.outside,before:p.outside},o+s+h}r(Pt,"strong");function Er(e,n,t){return t.options.strong||"*"}r(Er,"strongPeek");function Tr(e,n,t,i){return t.safe(e.value,i)}r(Tr,"text$2");function zr(e){const n=e.options.ruleRepetition||3;if(n<3)throw new Error("Cannot serialize rules with repetition `"+n+"` for `options.ruleRepetition`, expected `3` or more");return n}r(zr,"checkRuleRepetition");function _r(e,n,t){const i=(Dt(t)+(t.options.ruleSpaces?" ":"")).repeat(zr(t));return t.options.ruleSpaces?i.slice(0,-1):i}r(_r,"thematicBreak$1");var Ot={blockquote:jn,break:it,code:Yn,definition:Gn,emphasis:Et,hardBreak:it,heading:cr,html:_t,image:At,imageReference:Lt,inlineCode:Ft,link:Bt,linkReference:Mt,list:br,listItem:wr,paragraph:Ir,root:Cr,strong:Pt,text:Tr,thematicBreak:_r};function $t(e,n){const t=Number.parseInt(e,n);return t<9||t===11||t>13&&t<32||t>126&&t<160||t>55295&&t<57344||t>64975&&t<65008||(t&65535)===65535||(t&65535)===65534||t>1114111?"�":String.fromCodePoint(t)}r($t,"decodeNumericCharacterReference");var Ar=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function Lr(e){return e.replace(Ar,Fr)}r(Lr,"decodeString");function Fr(e,n,t){if(n)return n;if(t.charCodeAt(0)===35){const i=t.charCodeAt(1),u=i===120||i===88;return $t(t.slice(u?2:1),u?16:10)}return $e(t)||e}r(Fr,"decode");var lt={}.hasOwnProperty;function Rr(e){const n={};let t=-1;for(;++t<e.length;)Br(n,e[t]);return n}r(Rr,"combineExtensions");function Br(e,n){let t;for(t in n){const i=(lt.call(e,t)?e[t]:void 0)||(e[t]={}),u=n[t];let l;if(u)for(l in u){lt.call(i,l)||(i[l]=[]);const a=u[l];Mr(i[l],Array.isArray(a)?a:a?[a]:[])}}}r(Br,"syntaxExtension");function Mr(e,n){let t=-1;const i=[];for(;++t<n.length;)(n[t].add==="after"?e:i).push(n[t]);K(e,0,0,i)}r(Mr,"constructs");function xe(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}r(xe,"normalizeIdentifier");var Dr={tokenize:Pr};function Pr(e){const n=e.attempt(this.parser.constructs.contentInitial,i,u);let t;return n;function i(o){if(o===null){e.consume(o);return}return e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),D(e,n,"linePrefix")}function u(o){return e.enter("paragraph"),l(o)}function l(o){const s=e.enter("chunkText",{contentType:"text",previous:t});return t&&(t.next=s),t=s,a(o)}function a(o){if(o===null){e.exit("chunkText"),e.exit("paragraph"),e.consume(o);return}return z(o)?(e.consume(o),e.exit("chunkText"),l):(e.consume(o),a)}}r(Pr,"initializeContent");var Or={tokenize:$r},at={tokenize:Nr};function $r(e){const n=this,t=[];let i=0,u,l,a;return o;function o(S){if(i<t.length){const R=t[i];return n.containerState=R[1],e.attempt(R[0].continuation,s,c)(S)}return c(S)}function s(S){if(i++,n.containerState._closeFlow){n.containerState._closeFlow=void 0,u&&_();const R=n.events.length;let F=R,y;for(;F--;)if(n.events[F][0]==="exit"&&n.events[F][1].type==="chunkFlow"){y=n.events[F][1].end;break}b(i);let B=R;for(;B<n.events.length;)n.events[B][1].end={...y},B++;return K(n.events,F+1,0,n.events.slice(R)),n.events.length=B,c(S)}return o(S)}function c(S){if(i===t.length){if(!u)return k(S);if(u.currentConstruct&&u.currentConstruct.concrete)return w(S);n.interrupt=!!(u.currentConstruct&&!u._gfmTableDynamicInterruptHack)}return n.containerState={},e.check(at,p,f)(S)}function p(S){return u&&_(),b(i),k(S)}function f(S){return n.parser.lazy[n.now().line]=i!==t.length,a=n.now().offset,w(S)}function k(S){return n.containerState={},e.attempt(at,h,w)(S)}function h(S){return i++,t.push([n.currentConstruct,n.containerState]),k(S)}function w(S){if(S===null){u&&_(),b(0),e.consume(S);return}return u=u||n.parser.flow(n.now()),e.enter("chunkFlow",{_tokenizer:u,contentType:"flow",previous:l}),C(S)}function C(S){if(S===null){v(e.exit("chunkFlow"),!0),b(0),e.consume(S);return}return z(S)?(e.consume(S),v(e.exit("chunkFlow")),i=0,n.interrupt=void 0,o):(e.consume(S),C)}function v(S,R){const F=n.sliceStream(S);if(R&&F.push(null),S.previous=l,l&&(l.next=S),l=S,u.defineSkip(S.start),u.write(F),n.parser.lazy[S.start.line]){let y=u.events.length;for(;y--;)if(u.events[y][1].start.offset<a&&(!u.events[y][1].end||u.events[y][1].end.offset>a))return;const B=n.events.length;let $=B,P,x;for(;$--;)if(n.events[$][0]==="exit"&&n.events[$][1].type==="chunkFlow"){if(P){x=n.events[$][1].end;break}P=!0}for(b(i),y=B;y<n.events.length;)n.events[y][1].end={...x},y++;K(n.events,$+1,0,n.events.slice(B)),n.events.length=y}}function b(S){let R=t.length;for(;R-- >S;){const F=t[R];n.containerState=F[1],F[0].exit.call(n,e)}t.length=S}function _(){u.write([null]),l=void 0,u=void 0,n.containerState._closeFlow=void 0}}r($r,"initializeDocument");function Nr(e,n,t){return D(e,e.attempt(this.parser.constructs.document,n,t),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}r(Nr,"tokenizeContainer");var Oe={name:"attention",resolveAll:Hr,tokenize:jr};function Hr(e,n){let t=-1,i,u,l,a,o,s,c,p;for(;++t<e.length;)if(e[t][0]==="enter"&&e[t][1].type==="attentionSequence"&&e[t][1]._close){for(i=t;i--;)if(e[i][0]==="exit"&&e[i][1].type==="attentionSequence"&&e[i][1]._open&&n.sliceSerialize(e[i][1]).charCodeAt(0)===n.sliceSerialize(e[t][1]).charCodeAt(0)){if((e[i][1]._close||e[t][1]._open)&&(e[t][1].end.offset-e[t][1].start.offset)%3&&!((e[i][1].end.offset-e[i][1].start.offset+e[t][1].end.offset-e[t][1].start.offset)%3))continue;s=e[i][1].end.offset-e[i][1].start.offset>1&&e[t][1].end.offset-e[t][1].start.offset>1?2:1;const f={...e[i][1].end},k={...e[t][1].start};ot(f,-s),ot(k,s),a={type:s>1?"strongSequence":"emphasisSequence",start:f,end:{...e[i][1].end}},o={type:s>1?"strongSequence":"emphasisSequence",start:{...e[t][1].start},end:k},l={type:s>1?"strongText":"emphasisText",start:{...e[i][1].end},end:{...e[t][1].start}},u={type:s>1?"strong":"emphasis",start:{...a.start},end:{...o.end}},e[i][1].end={...a.start},e[t][1].start={...o.end},c=[],e[i][1].end.offset-e[i][1].start.offset&&(c=X(c,[["enter",e[i][1],n],["exit",e[i][1],n]])),c=X(c,[["enter",u,n],["enter",a,n],["exit",a,n],["enter",l,n]]),c=X(c,_e(n.parser.constructs.insideSpan.null,e.slice(i+1,t),n)),c=X(c,[["exit",l,n],["enter",o,n],["exit",o,n],["exit",u,n]]),e[t][1].end.offset-e[t][1].start.offset?(p=2,c=X(c,[["enter",e[t][1],n],["exit",e[t][1],n]])):p=0,K(e,i-1,t-i+3,c),t=i+c.length-p-2;break}}for(t=-1;++t<e.length;)e[t][1].type==="attentionSequence"&&(e[t][1].type="data");return e}r(Hr,"resolveAllAttention");function jr(e,n){const t=this.parser.constructs.attentionMarkers.null,i=this.previous,u=de(i);let l;return a;function a(s){return l=s,e.enter("attentionSequence"),o(s)}function o(s){if(s===l)return e.consume(s),o;const c=e.exit("attentionSequence"),p=de(s),f=!p||p===2&&u||t.includes(s),k=!u||u===2&&p||t.includes(i);return c._open=!!(l===42?f:f&&(u||!k)),c._close=!!(l===42?k:k&&(p||!f)),n(s)}}r(jr,"tokenizeAttention");function ot(e,n){e.column+=n,e.offset+=n,e._bufferIndex+=n}r(ot,"movePoint");var qr={name:"autolink",tokenize:Vr};function Vr(e,n,t){let i=0;return u;function u(h){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(h),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),l}function l(h){return ee(h)?(e.consume(h),a):h===64?t(h):c(h)}function a(h){return h===43||h===45||h===46||J(h)?(i=1,o(h)):c(h)}function o(h){return h===58?(e.consume(h),i=0,s):(h===43||h===45||h===46||J(h))&&i++<32?(e.consume(h),o):(i=0,c(h))}function s(h){return h===62?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(h),e.exit("autolinkMarker"),e.exit("autolink"),n):h===null||h===32||h===60||Me(h)?t(h):(e.consume(h),s)}function c(h){return h===64?(e.consume(h),p):zn(h)?(e.consume(h),c):t(h)}function p(h){return J(h)?f(h):t(h)}function f(h){return h===46?(e.consume(h),i=0,p):h===62?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(h),e.exit("autolinkMarker"),e.exit("autolink"),n):k(h)}function k(h){if((h===45||J(h))&&i++<63){const w=h===45?k:f;return e.consume(h),w}return t(h)}}r(Vr,"tokenizeAutolink");var Le={partial:!0,tokenize:Ur};function Ur(e,n,t){return i;function i(l){return L(l)?D(e,u,"linePrefix")(l):u(l)}function u(l){return l===null||z(l)?n(l):t(l)}}r(Ur,"tokenizeBlankLine");var Nt={continuation:{tokenize:Wr},exit:Yr,name:"blockQuote",tokenize:Qr};function Qr(e,n,t){const i=this;return u;function u(a){if(a===62){const o=i.containerState;return o.open||(e.enter("blockQuote",{_container:!0}),o.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(a),e.exit("blockQuoteMarker"),l}return t(a)}function l(a){return L(a)?(e.enter("blockQuotePrefixWhitespace"),e.consume(a),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),n):(e.exit("blockQuotePrefix"),n(a))}}r(Qr,"tokenizeBlockQuoteStart");function Wr(e,n,t){const i=this;return u;function u(a){return L(a)?D(e,l,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(a):l(a)}function l(a){return e.attempt(Nt,n,t)(a)}}r(Wr,"tokenizeBlockQuoteContinuation");function Yr(e){e.exit("blockQuote")}r(Yr,"exit$1");var Ht={name:"characterEscape",tokenize:Kr};function Kr(e,n,t){return i;function i(l){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(l),e.exit("escapeMarker"),u}function u(l){return An(l)?(e.enter("characterEscapeValue"),e.consume(l),e.exit("characterEscapeValue"),e.exit("characterEscape"),n):t(l)}}r(Kr,"tokenizeCharacterEscape");var jt={name:"characterReference",tokenize:Gr};function Gr(e,n,t){const i=this;let u=0,l,a;return o;function o(f){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(f),e.exit("characterReferenceMarker"),s}function s(f){return f===35?(e.enter("characterReferenceMarkerNumeric"),e.consume(f),e.exit("characterReferenceMarkerNumeric"),c):(e.enter("characterReferenceValue"),l=31,a=J,p(f))}function c(f){return f===88||f===120?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(f),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),l=6,a=_n,p):(e.enter("characterReferenceValue"),l=7,a=De,p(f))}function p(f){if(f===59&&u){const k=e.exit("characterReferenceValue");return a===J&&!$e(i.sliceSerialize(k))?t(f):(e.enter("characterReferenceMarker"),e.consume(f),e.exit("characterReferenceMarker"),e.exit("characterReference"),n)}return a(f)&&u++<l?(e.consume(f),p):t(f)}}r(Gr,"tokenizeCharacterReference");var st={partial:!0,tokenize:Zr},ct={concrete:!0,name:"codeFenced",tokenize:Xr};function Xr(e,n,t){const i=this,u={partial:!0,tokenize:F};let l=0,a=0,o;return s;function s(y){return c(y)}function c(y){const B=i.events[i.events.length-1];return l=B&&B[1].type==="linePrefix"?B[2].sliceSerialize(B[1],!0).length:0,o=y,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),p(y)}function p(y){return y===o?(a++,e.consume(y),p):a<3?t(y):(e.exit("codeFencedFenceSequence"),L(y)?D(e,f,"whitespace")(y):f(y))}function f(y){return y===null||z(y)?(e.exit("codeFencedFence"),i.interrupt?n(y):e.check(st,C,R)(y)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),k(y))}function k(y){return y===null||z(y)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),f(y)):L(y)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),D(e,h,"whitespace")(y)):y===96&&y===o?t(y):(e.consume(y),k)}function h(y){return y===null||z(y)?f(y):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),w(y))}function w(y){return y===null||z(y)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),f(y)):y===96&&y===o?t(y):(e.consume(y),w)}function C(y){return e.attempt(u,R,v)(y)}function v(y){return e.enter("lineEnding"),e.consume(y),e.exit("lineEnding"),b}function b(y){return l>0&&L(y)?D(e,_,"linePrefix",l+1)(y):_(y)}function _(y){return y===null||z(y)?e.check(st,C,R)(y):(e.enter("codeFlowValue"),S(y))}function S(y){return y===null||z(y)?(e.exit("codeFlowValue"),_(y)):(e.consume(y),S)}function R(y){return e.exit("codeFenced"),n(y)}function F(y,B,$){let P=0;return x;function x(M){return y.enter("lineEnding"),y.consume(M),y.exit("lineEnding"),E}function E(M){return y.enter("codeFencedFence"),L(M)?D(y,T,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(M):T(M)}function T(M){return M===o?(y.enter("codeFencedFenceSequence"),O(M)):$(M)}function O(M){return M===o?(P++,y.consume(M),O):P>=a?(y.exit("codeFencedFenceSequence"),L(M)?D(y,j,"whitespace")(M):j(M)):$(M)}function j(M){return M===null||z(M)?(y.exit("codeFencedFence"),B(M)):$(M)}}}r(Xr,"tokenizeCodeFenced");function Zr(e,n,t){const i=this;return u;function u(a){return a===null?t(a):(e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),l)}function l(a){return i.parser.lazy[i.now().line]?t(a):n(a)}}r(Zr,"tokenizeNonLazyContinuation");var Fe={name:"codeIndented",tokenize:ei},Jr={partial:!0,tokenize:ti};function ei(e,n,t){const i=this;return u;function u(c){return e.enter("codeIndented"),D(e,l,"linePrefix",5)(c)}function l(c){const p=i.events[i.events.length-1];return p&&p[1].type==="linePrefix"&&p[2].sliceSerialize(p[1],!0).length>=4?a(c):t(c)}function a(c){return c===null?s(c):z(c)?e.attempt(Jr,a,s)(c):(e.enter("codeFlowValue"),o(c))}function o(c){return c===null||z(c)?(e.exit("codeFlowValue"),a(c)):(e.consume(c),o)}function s(c){return e.exit("codeIndented"),n(c)}}r(ei,"tokenizeCodeIndented");function ti(e,n,t){const i=this;return u;function u(a){return i.parser.lazy[i.now().line]?t(a):z(a)?(e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),u):D(e,l,"linePrefix",5)(a)}function l(a){const o=i.events[i.events.length-1];return o&&o[1].type==="linePrefix"&&o[2].sliceSerialize(o[1],!0).length>=4?n(a):z(a)?u(a):t(a)}}r(ti,"tokenizeFurtherStart");var ni={name:"codeText",previous:ii,resolve:ri,tokenize:ui};function ri(e){let n=e.length-4,t=3,i,u;if((e[t][1].type==="lineEnding"||e[t][1].type==="space")&&(e[n][1].type==="lineEnding"||e[n][1].type==="space")){for(i=t;++i<n;)if(e[i][1].type==="codeTextData"){e[t][1].type="codeTextPadding",e[n][1].type="codeTextPadding",t+=2,n-=2;break}}for(i=t-1,n++;++i<=n;)u===void 0?i!==n&&e[i][1].type!=="lineEnding"&&(u=i):(i===n||e[i][1].type==="lineEnding")&&(e[u][1].type="codeTextData",i!==u+2&&(e[u][1].end=e[i-1][1].end,e.splice(u+2,i-u-2),n-=i-u-2,i=u+2),u=void 0);return e}r(ri,"resolveCodeText");function ii(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}r(ii,"previous");function ui(e,n,t){let i=0,u,l;return a;function a(f){return e.enter("codeText"),e.enter("codeTextSequence"),o(f)}function o(f){return f===96?(e.consume(f),i++,o):(e.exit("codeTextSequence"),s(f))}function s(f){return f===null?t(f):f===32?(e.enter("space"),e.consume(f),e.exit("space"),s):f===96?(l=e.enter("codeTextSequence"),u=0,p(f)):z(f)?(e.enter("lineEnding"),e.consume(f),e.exit("lineEnding"),s):(e.enter("codeTextData"),c(f))}function c(f){return f===null||f===32||f===96||z(f)?(e.exit("codeTextData"),s(f)):(e.consume(f),c)}function p(f){return f===96?(e.consume(f),u++,p):u===i?(e.exit("codeTextSequence"),e.exit("codeText"),n(f)):(l.type="codeTextData",c(f))}}r(ui,"tokenizeCodeText");var li=class{static{r(this,"SpliceBuffer")}constructor(e){this.left=e?[...e]:[],this.right=[]}get(e){if(e<0||e>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+e+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return e<this.left.length?this.left[e]:this.right[this.right.length-e+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(e,n){const t=n??Number.POSITIVE_INFINITY;return t<this.left.length?this.left.slice(e,t):e>this.left.length?this.right.slice(this.right.length-t+this.left.length,this.right.length-e+this.left.length).reverse():this.left.slice(e).concat(this.right.slice(this.right.length-t+this.left.length).reverse())}splice(e,n,t){const i=n||0;this.setCursor(Math.trunc(e));const u=this.right.splice(this.right.length-i,Number.POSITIVE_INFINITY);return t&&Ie(this.left,t),u.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(e){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(e)}pushMany(e){this.setCursor(Number.POSITIVE_INFINITY),Ie(this.left,e)}unshift(e){this.setCursor(0),this.right.push(e)}unshiftMany(e){this.setCursor(0),Ie(this.right,e.reverse())}setCursor(e){if(!(e===this.left.length||e>this.left.length&&this.right.length===0||e<0&&this.left.length===0))if(e<this.left.length){const n=this.left.splice(e,Number.POSITIVE_INFINITY);Ie(this.right,n.reverse())}else{const n=this.right.splice(this.left.length+this.right.length-e,Number.POSITIVE_INFINITY);Ie(this.left,n.reverse())}}};function Ie(e,n){let t=0;if(n.length<1e4)e.push(...n);else for(;t<n.length;)e.push(...n.slice(t,t+1e4)),t+=1e4}r(Ie,"chunkedPush");function qt(e){const n={};let t=-1,i,u,l,a,o,s,c;const p=new li(e);for(;++t<p.length;){for(;t in n;)t=n[t];if(i=p.get(t),t&&i[1].type==="chunkFlow"&&p.get(t-1)[1].type==="listItemPrefix"&&(s=i[1]._tokenizer.events,l=0,l<s.length&&s[l][1].type==="lineEndingBlank"&&(l+=2),l<s.length&&s[l][1].type==="content"))for(;++l<s.length&&s[l][1].type!=="content";)s[l][1].type==="chunkText"&&(s[l][1]._isInFirstContentOfListItem=!0,l++);if(i[0]==="enter")i[1].contentType&&(Object.assign(n,ai(p,t)),t=n[t],c=!0);else if(i[1]._container){for(l=t,u=void 0;l--;)if(a=p.get(l),a[1].type==="lineEnding"||a[1].type==="lineEndingBlank")a[0]==="enter"&&(u&&(p.get(u)[1].type="lineEndingBlank"),a[1].type="lineEnding",u=l);else if(!(a[1].type==="linePrefix"||a[1].type==="listItemIndent"))break;u&&(i[1].end={...p.get(u)[1].start},o=p.slice(u,t),o.unshift(i),p.splice(u,t-u+1,o))}}return K(e,0,Number.POSITIVE_INFINITY,p.slice(0)),!c}r(qt,"subtokenize");function ai(e,n){const t=e.get(n)[1],i=e.get(n)[2];let u=n-1;const l=[];let a=t._tokenizer;a||(a=i.parser[t.contentType](t.start),t._contentTypeTextTrailing&&(a._contentTypeTextTrailing=!0));const o=a.events,s=[],c={};let p,f,k=-1,h=t,w=0,C=0;const v=[C];for(;h;){for(;e.get(++u)[1]!==h;);l.push(u),h._tokenizer||(p=i.sliceStream(h),h.next||p.push(null),f&&a.defineSkip(h.start),h._isInFirstContentOfListItem&&(a._gfmTasklistFirstContentOfListItem=!0),a.write(p),h._isInFirstContentOfListItem&&(a._gfmTasklistFirstContentOfListItem=void 0)),f=h,h=h.next}for(h=t;++k<o.length;)o[k][0]==="exit"&&o[k-1][0]==="enter"&&o[k][1].type===o[k-1][1].type&&o[k][1].start.line!==o[k][1].end.line&&(C=k+1,v.push(C),h._tokenizer=void 0,h.previous=void 0,h=h.next);for(a.events=[],h?(h._tokenizer=void 0,h.previous=void 0):v.pop(),k=v.length;k--;){const b=o.slice(v[k],v[k+1]),_=l.pop();s.push([_,_+b.length-1]),e.splice(_,2,b)}for(s.reverse(),k=-1;++k<s.length;)c[w+s[k][0]]=w+s[k][1],w+=s[k][1]-s[k][0]-1;return c}r(ai,"subcontent");var oi={resolve:ci,tokenize:hi},si={partial:!0,tokenize:fi};function ci(e){return qt(e),e}r(ci,"resolveContent");function hi(e,n){let t;return i;function i(o){return e.enter("content"),t=e.enter("chunkContent",{contentType:"content"}),u(o)}function u(o){return o===null?l(o):z(o)?e.check(si,a,l)(o):(e.consume(o),u)}function l(o){return e.exit("chunkContent"),e.exit("content"),n(o)}function a(o){return e.consume(o),e.exit("chunkContent"),t.next=e.enter("chunkContent",{contentType:"content",previous:t}),t=t.next,u}}r(hi,"tokenizeContent");function fi(e,n,t){const i=this;return u;function u(a){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),D(e,l,"linePrefix")}function l(a){if(a===null||z(a))return t(a);const o=i.events[i.events.length-1];return!i.parser.constructs.disable.null.includes("codeIndented")&&o&&o[1].type==="linePrefix"&&o[2].sliceSerialize(o[1],!0).length>=4?n(a):e.interrupt(i.parser.constructs.flow,t,n)(a)}}r(fi,"tokenizeContinuation");function Vt(e,n,t,i,u,l,a,o,s){const c=s||Number.POSITIVE_INFINITY;let p=0;return f;function f(b){return b===60?(e.enter(i),e.enter(u),e.enter(l),e.consume(b),e.exit(l),k):b===null||b===32||b===41||Me(b)?t(b):(e.enter(i),e.enter(a),e.enter(o),e.enter("chunkString",{contentType:"string"}),C(b))}function k(b){return b===62?(e.enter(l),e.consume(b),e.exit(l),e.exit(u),e.exit(i),n):(e.enter(o),e.enter("chunkString",{contentType:"string"}),h(b))}function h(b){return b===62?(e.exit("chunkString"),e.exit(o),k(b)):b===null||b===60||z(b)?t(b):(e.consume(b),b===92?w:h)}function w(b){return b===60||b===62||b===92?(e.consume(b),h):h(b)}function C(b){return!p&&(b===null||b===41||U(b))?(e.exit("chunkString"),e.exit(o),e.exit(a),e.exit(i),n(b)):p<c&&b===40?(e.consume(b),p++,C):b===41?(e.consume(b),p--,C):b===null||b===32||b===40||Me(b)?t(b):(e.consume(b),b===92?v:C)}function v(b){return b===40||b===41||b===92?(e.consume(b),C):C(b)}}r(Vt,"factoryDestination");function Ut(e,n,t,i,u,l){const a=this;let o=0,s;return c;function c(h){return e.enter(i),e.enter(u),e.consume(h),e.exit(u),e.enter(l),p}function p(h){return o>999||h===null||h===91||h===93&&!s||h===94&&!o&&"_hiddenFootnoteSupport"in a.parser.constructs?t(h):h===93?(e.exit(l),e.enter(u),e.consume(h),e.exit(u),e.exit(i),n):z(h)?(e.enter("lineEnding"),e.consume(h),e.exit("lineEnding"),p):(e.enter("chunkString",{contentType:"string"}),f(h))}function f(h){return h===null||h===91||h===93||z(h)||o++>999?(e.exit("chunkString"),p(h)):(e.consume(h),s||(s=!L(h)),h===92?k:f)}function k(h){return h===91||h===92||h===93?(e.consume(h),o++,f):f(h)}}r(Ut,"factoryLabel");function Qt(e,n,t,i,u,l){let a;return o;function o(k){return k===34||k===39||k===40?(e.enter(i),e.enter(u),e.consume(k),e.exit(u),a=k===40?41:k,s):t(k)}function s(k){return k===a?(e.enter(u),e.consume(k),e.exit(u),e.exit(i),n):(e.enter(l),c(k))}function c(k){return k===a?(e.exit(l),s(a)):k===null?t(k):z(k)?(e.enter("lineEnding"),e.consume(k),e.exit("lineEnding"),D(e,c,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),p(k))}function p(k){return k===a||k===null||z(k)?(e.exit("chunkString"),c(k)):(e.consume(k),k===92?f:p)}function f(k){return k===a||k===92?(e.consume(k),p):p(k)}}r(Qt,"factoryTitle");function Ce(e,n){let t;return i;function i(u){return z(u)?(e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),t=!0,i):L(u)?D(e,i,t?"linePrefix":"lineSuffix")(u):n(u)}}r(Ce,"factoryWhitespace");var pi={name:"definition",tokenize:gi},mi={partial:!0,tokenize:ki};function gi(e,n,t){const i=this;let u;return l;function l(h){return e.enter("definition"),a(h)}function a(h){return Ut.call(i,e,o,t,"definitionLabel","definitionLabelMarker","definitionLabelString")(h)}function o(h){return u=xe(i.sliceSerialize(i.events[i.events.length-1][1]).slice(1,-1)),h===58?(e.enter("definitionMarker"),e.consume(h),e.exit("definitionMarker"),s):t(h)}function s(h){return U(h)?Ce(e,c)(h):c(h)}function c(h){return Vt(e,p,t,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(h)}function p(h){return e.attempt(mi,f,f)(h)}function f(h){return L(h)?D(e,k,"whitespace")(h):k(h)}function k(h){return h===null||z(h)?(e.exit("definition"),i.parser.defined.push(u),n(h)):t(h)}}r(gi,"tokenizeDefinition");function ki(e,n,t){return i;function i(o){return U(o)?Ce(e,u)(o):t(o)}function u(o){return Qt(e,l,t,"definitionTitle","definitionTitleMarker","definitionTitleString")(o)}function l(o){return L(o)?D(e,a,"whitespace")(o):a(o)}function a(o){return o===null||z(o)?n(o):t(o)}}r(ki,"tokenizeTitleBefore");var xi={name:"hardBreakEscape",tokenize:di};function di(e,n,t){return i;function i(l){return e.enter("hardBreakEscape"),e.consume(l),u}function u(l){return z(l)?(e.exit("hardBreakEscape"),n(l)):t(l)}}r(di,"tokenizeHardBreakEscape");var bi={name:"headingAtx",resolve:yi,tokenize:wi};function yi(e,n){let t=e.length-2,i=3,u,l;return e[i][1].type==="whitespace"&&(i+=2),t-2>i&&e[t][1].type==="whitespace"&&(t-=2),e[t][1].type==="atxHeadingSequence"&&(i===t-1||t-4>i&&e[t-2][1].type==="whitespace")&&(t-=i+1===t?2:4),t>i&&(u={type:"atxHeadingText",start:e[i][1].start,end:e[t][1].end},l={type:"chunkText",start:e[i][1].start,end:e[t][1].end,contentType:"text"},K(e,i,t-i+1,[["enter",u,n],["enter",l,n],["exit",l,n],["exit",u,n]])),e}r(yi,"resolveHeadingAtx");function wi(e,n,t){let i=0;return u;function u(p){return e.enter("atxHeading"),l(p)}function l(p){return e.enter("atxHeadingSequence"),a(p)}function a(p){return p===35&&i++<6?(e.consume(p),a):p===null||U(p)?(e.exit("atxHeadingSequence"),o(p)):t(p)}function o(p){return p===35?(e.enter("atxHeadingSequence"),s(p)):p===null||z(p)?(e.exit("atxHeading"),n(p)):L(p)?D(e,o,"whitespace")(p):(e.enter("atxHeadingText"),c(p))}function s(p){return p===35?(e.consume(p),s):(e.exit("atxHeadingSequence"),o(p))}function c(p){return p===null||p===35||U(p)?(e.exit("atxHeadingText"),o(p)):(e.consume(p),c)}}r(wi,"tokenizeHeadingAtx");var Ii=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],ht=["pre","script","style","textarea"],Si={concrete:!0,name:"htmlFlow",resolveTo:Ei,tokenize:Ti},Ci={partial:!0,tokenize:_i},vi={partial:!0,tokenize:zi};function Ei(e){let n=e.length;for(;n--&&!(e[n][0]==="enter"&&e[n][1].type==="htmlFlow"););return n>1&&e[n-2][1].type==="linePrefix"&&(e[n][1].start=e[n-2][1].start,e[n+1][1].start=e[n-2][1].start,e.splice(n-2,2)),e}r(Ei,"resolveToHtmlFlow");function Ti(e,n,t){const i=this;let u,l,a,o,s;return c;function c(g){return p(g)}function p(g){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(g),f}function f(g){return g===33?(e.consume(g),k):g===47?(e.consume(g),l=!0,C):g===63?(e.consume(g),u=3,i.interrupt?n:m):ee(g)?(e.consume(g),a=String.fromCharCode(g),v):t(g)}function k(g){return g===45?(e.consume(g),u=2,h):g===91?(e.consume(g),u=5,o=0,w):ee(g)?(e.consume(g),u=4,i.interrupt?n:m):t(g)}function h(g){return g===45?(e.consume(g),i.interrupt?n:m):t(g)}function w(g){return g==="CDATA[".charCodeAt(o++)?(e.consume(g),o===6?i.interrupt?n:T:w):t(g)}function C(g){return ee(g)?(e.consume(g),a=String.fromCharCode(g),v):t(g)}function v(g){if(g===null||g===47||g===62||U(g)){const ae=g===47,he=a.toLowerCase();return!ae&&!l&&ht.includes(he)?(u=1,i.interrupt?n(g):T(g)):Ii.includes(a.toLowerCase())?(u=6,ae?(e.consume(g),b):i.interrupt?n(g):T(g)):(u=7,i.interrupt&&!i.parser.lazy[i.now().line]?t(g):l?_(g):S(g))}return g===45||J(g)?(e.consume(g),a+=String.fromCharCode(g),v):t(g)}function b(g){return g===62?(e.consume(g),i.interrupt?n:T):t(g)}function _(g){return L(g)?(e.consume(g),_):x(g)}function S(g){return g===47?(e.consume(g),x):g===58||g===95||ee(g)?(e.consume(g),R):L(g)?(e.consume(g),S):x(g)}function R(g){return g===45||g===46||g===58||g===95||J(g)?(e.consume(g),R):F(g)}function F(g){return g===61?(e.consume(g),y):L(g)?(e.consume(g),F):S(g)}function y(g){return g===null||g===60||g===61||g===62||g===96?t(g):g===34||g===39?(e.consume(g),s=g,B):L(g)?(e.consume(g),y):$(g)}function B(g){return g===s?(e.consume(g),s=null,P):g===null||z(g)?t(g):(e.consume(g),B)}function $(g){return g===null||g===34||g===39||g===47||g===60||g===61||g===62||g===96||U(g)?F(g):(e.consume(g),$)}function P(g){return g===47||g===62||L(g)?S(g):t(g)}function x(g){return g===62?(e.consume(g),E):t(g)}function E(g){return g===null||z(g)?T(g):L(g)?(e.consume(g),E):t(g)}function T(g){return g===45&&u===2?(e.consume(g),Q):g===60&&u===1?(e.consume(g),q):g===62&&u===4?(e.consume(g),le):g===63&&u===3?(e.consume(g),m):g===93&&u===5?(e.consume(g),te):z(g)&&(u===6||u===7)?(e.exit("htmlFlowData"),e.check(Ci,ne,O)(g)):g===null||z(g)?(e.exit("htmlFlowData"),O(g)):(e.consume(g),T)}function O(g){return e.check(vi,j,ne)(g)}function j(g){return e.enter("lineEnding"),e.consume(g),e.exit("lineEnding"),M}function M(g){return g===null||z(g)?O(g):(e.enter("htmlFlowData"),T(g))}function Q(g){return g===45?(e.consume(g),m):T(g)}function q(g){return g===47?(e.consume(g),a="",Z):T(g)}function Z(g){if(g===62){const ae=a.toLowerCase();return ht.includes(ae)?(e.consume(g),le):T(g)}return ee(g)&&a.length<8?(e.consume(g),a+=String.fromCharCode(g),Z):T(g)}function te(g){return g===93?(e.consume(g),m):T(g)}function m(g){return g===62?(e.consume(g),le):g===45&&u===2?(e.consume(g),m):T(g)}function le(g){return g===null||z(g)?(e.exit("htmlFlowData"),ne(g)):(e.consume(g),le)}function ne(g){return e.exit("htmlFlow"),n(g)}}r(Ti,"tokenizeHtmlFlow");function zi(e,n,t){const i=this;return u;function u(a){return z(a)?(e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),l):t(a)}function l(a){return i.parser.lazy[i.now().line]?t(a):n(a)}}r(zi,"tokenizeNonLazyContinuationStart");function _i(e,n,t){return i;function i(u){return e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),e.attempt(Le,n,t)}}r(_i,"tokenizeBlankLineBefore");var Ai={name:"htmlText",tokenize:Li};function Li(e,n,t){const i=this;let u,l,a;return o;function o(m){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(m),s}function s(m){return m===33?(e.consume(m),c):m===47?(e.consume(m),F):m===63?(e.consume(m),S):ee(m)?(e.consume(m),$):t(m)}function c(m){return m===45?(e.consume(m),p):m===91?(e.consume(m),l=0,w):ee(m)?(e.consume(m),_):t(m)}function p(m){return m===45?(e.consume(m),h):t(m)}function f(m){return m===null?t(m):m===45?(e.consume(m),k):z(m)?(a=f,q(m)):(e.consume(m),f)}function k(m){return m===45?(e.consume(m),h):f(m)}function h(m){return m===62?Q(m):m===45?k(m):f(m)}function w(m){return m==="CDATA[".charCodeAt(l++)?(e.consume(m),l===6?C:w):t(m)}function C(m){return m===null?t(m):m===93?(e.consume(m),v):z(m)?(a=C,q(m)):(e.consume(m),C)}function v(m){return m===93?(e.consume(m),b):C(m)}function b(m){return m===62?Q(m):m===93?(e.consume(m),b):C(m)}function _(m){return m===null||m===62?Q(m):z(m)?(a=_,q(m)):(e.consume(m),_)}function S(m){return m===null?t(m):m===63?(e.consume(m),R):z(m)?(a=S,q(m)):(e.consume(m),S)}function R(m){return m===62?Q(m):S(m)}function F(m){return ee(m)?(e.consume(m),y):t(m)}function y(m){return m===45||J(m)?(e.consume(m),y):B(m)}function B(m){return z(m)?(a=B,q(m)):L(m)?(e.consume(m),B):Q(m)}function $(m){return m===45||J(m)?(e.consume(m),$):m===47||m===62||U(m)?P(m):t(m)}function P(m){return m===47?(e.consume(m),Q):m===58||m===95||ee(m)?(e.consume(m),x):z(m)?(a=P,q(m)):L(m)?(e.consume(m),P):Q(m)}function x(m){return m===45||m===46||m===58||m===95||J(m)?(e.consume(m),x):E(m)}function E(m){return m===61?(e.consume(m),T):z(m)?(a=E,q(m)):L(m)?(e.consume(m),E):P(m)}function T(m){return m===null||m===60||m===61||m===62||m===96?t(m):m===34||m===39?(e.consume(m),u=m,O):z(m)?(a=T,q(m)):L(m)?(e.consume(m),T):(e.consume(m),j)}function O(m){return m===u?(e.consume(m),u=void 0,M):m===null?t(m):z(m)?(a=O,q(m)):(e.consume(m),O)}function j(m){return m===null||m===34||m===39||m===60||m===61||m===96?t(m):m===47||m===62||U(m)?P(m):(e.consume(m),j)}function M(m){return m===47||m===62||U(m)?P(m):t(m)}function Q(m){return m===62?(e.consume(m),e.exit("htmlTextData"),e.exit("htmlText"),n):t(m)}function q(m){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(m),e.exit("lineEnding"),Z}function Z(m){return L(m)?D(e,te,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(m):te(m)}function te(m){return e.enter("htmlTextData"),a(m)}}r(Li,"tokenizeHtmlText");var Ve={name:"labelEnd",resolveAll:Mi,resolveTo:Di,tokenize:Pi},Fi={tokenize:Oi},Ri={tokenize:$i},Bi={tokenize:Ni};function Mi(e){let n=-1;const t=[];for(;++n<e.length;){const i=e[n][1];if(t.push(e[n]),i.type==="labelImage"||i.type==="labelLink"||i.type==="labelEnd"){const u=i.type==="labelImage"?4:2;i.type="data",n+=u}}return e.length!==t.length&&K(e,0,e.length,t),e}r(Mi,"resolveAllLabelEnd");function Di(e,n){let t=e.length,i=0,u,l,a,o;for(;t--;)if(u=e[t][1],l){if(u.type==="link"||u.type==="labelLink"&&u._inactive)break;e[t][0]==="enter"&&u.type==="labelLink"&&(u._inactive=!0)}else if(a){if(e[t][0]==="enter"&&(u.type==="labelImage"||u.type==="labelLink")&&!u._balanced&&(l=t,u.type!=="labelLink")){i=2;break}}else u.type==="labelEnd"&&(a=t);const s={type:e[l][1].type==="labelLink"?"link":"image",start:{...e[l][1].start},end:{...e[e.length-1][1].end}},c={type:"label",start:{...e[l][1].start},end:{...e[a][1].end}},p={type:"labelText",start:{...e[l+i+2][1].end},end:{...e[a-2][1].start}};return o=[["enter",s,n],["enter",c,n]],o=X(o,e.slice(l+1,l+i+3)),o=X(o,[["enter",p,n]]),o=X(o,_e(n.parser.constructs.insideSpan.null,e.slice(l+i+4,a-3),n)),o=X(o,[["exit",p,n],e[a-2],e[a-1],["exit",c,n]]),o=X(o,e.slice(a+1)),o=X(o,[["exit",s,n]]),K(e,l,e.length,o),e}r(Di,"resolveToLabelEnd");function Pi(e,n,t){const i=this;let u=i.events.length,l,a;for(;u--;)if((i.events[u][1].type==="labelImage"||i.events[u][1].type==="labelLink")&&!i.events[u][1]._balanced){l=i.events[u][1];break}return o;function o(k){return l?l._inactive?f(k):(a=i.parser.defined.includes(xe(i.sliceSerialize({start:l.end,end:i.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(k),e.exit("labelMarker"),e.exit("labelEnd"),s):t(k)}function s(k){return k===40?e.attempt(Fi,p,a?p:f)(k):k===91?e.attempt(Ri,p,a?c:f)(k):a?p(k):f(k)}function c(k){return e.attempt(Bi,p,f)(k)}function p(k){return n(k)}function f(k){return l._balanced=!0,t(k)}}r(Pi,"tokenizeLabelEnd");function Oi(e,n,t){return i;function i(f){return e.enter("resource"),e.enter("resourceMarker"),e.consume(f),e.exit("resourceMarker"),u}function u(f){return U(f)?Ce(e,l)(f):l(f)}function l(f){return f===41?p(f):Vt(e,a,o,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(f)}function a(f){return U(f)?Ce(e,s)(f):p(f)}function o(f){return t(f)}function s(f){return f===34||f===39||f===40?Qt(e,c,t,"resourceTitle","resourceTitleMarker","resourceTitleString")(f):p(f)}function c(f){return U(f)?Ce(e,p)(f):p(f)}function p(f){return f===41?(e.enter("resourceMarker"),e.consume(f),e.exit("resourceMarker"),e.exit("resource"),n):t(f)}}r(Oi,"tokenizeResource");function $i(e,n,t){const i=this;return u;function u(o){return Ut.call(i,e,l,a,"reference","referenceMarker","referenceString")(o)}function l(o){return i.parser.defined.includes(xe(i.sliceSerialize(i.events[i.events.length-1][1]).slice(1,-1)))?n(o):t(o)}function a(o){return t(o)}}r($i,"tokenizeReferenceFull");function Ni(e,n,t){return i;function i(l){return e.enter("reference"),e.enter("referenceMarker"),e.consume(l),e.exit("referenceMarker"),u}function u(l){return l===93?(e.enter("referenceMarker"),e.consume(l),e.exit("referenceMarker"),e.exit("reference"),n):t(l)}}r(Ni,"tokenizeReferenceCollapsed");var Hi={name:"labelStartImage",resolveAll:Ve.resolveAll,tokenize:ji};function ji(e,n,t){const i=this;return u;function u(o){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(o),e.exit("labelImageMarker"),l}function l(o){return o===91?(e.enter("labelMarker"),e.consume(o),e.exit("labelMarker"),e.exit("labelImage"),a):t(o)}function a(o){return o===94&&"_hiddenFootnoteSupport"in i.parser.constructs?t(o):n(o)}}r(ji,"tokenizeLabelStartImage");var qi={name:"labelStartLink",resolveAll:Ve.resolveAll,tokenize:Vi};function Vi(e,n,t){const i=this;return u;function u(a){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(a),e.exit("labelMarker"),e.exit("labelLink"),l}function l(a){return a===94&&"_hiddenFootnoteSupport"in i.parser.constructs?t(a):n(a)}}r(Vi,"tokenizeLabelStartLink");var Re={name:"lineEnding",tokenize:Ui};function Ui(e,n){return t;function t(i){return e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),D(e,n,"linePrefix")}}r(Ui,"tokenizeLineEnding");var Te={name:"thematicBreak",tokenize:Qi};function Qi(e,n,t){let i=0,u;return l;function l(c){return e.enter("thematicBreak"),a(c)}function a(c){return u=c,o(c)}function o(c){return c===u?(e.enter("thematicBreakSequence"),s(c)):i>=3&&(c===null||z(c))?(e.exit("thematicBreak"),n(c)):t(c)}function s(c){return c===u?(e.consume(c),i++,s):(e.exit("thematicBreakSequence"),L(c)?D(e,o,"whitespace")(c):o(c))}}r(Qi,"tokenizeThematicBreak");var W={continuation:{tokenize:Gi},exit:Zi,name:"list",tokenize:Ki},Wi={partial:!0,tokenize:Ji},Yi={partial:!0,tokenize:Xi};function Ki(e,n,t){const i=this,u=i.events[i.events.length-1];let l=u&&u[1].type==="linePrefix"?u[2].sliceSerialize(u[1],!0).length:0,a=0;return o;function o(h){const w=i.containerState.type||(h===42||h===43||h===45?"listUnordered":"listOrdered");if(w==="listUnordered"?!i.containerState.marker||h===i.containerState.marker:De(h)){if(i.containerState.type||(i.containerState.type=w,e.enter(w,{_container:!0})),w==="listUnordered")return e.enter("listItemPrefix"),h===42||h===45?e.check(Te,t,c)(h):c(h);if(!i.interrupt||h===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),s(h)}return t(h)}function s(h){return De(h)&&++a<10?(e.consume(h),s):(!i.interrupt||a<2)&&(i.containerState.marker?h===i.containerState.marker:h===41||h===46)?(e.exit("listItemValue"),c(h)):t(h)}function c(h){return e.enter("listItemMarker"),e.consume(h),e.exit("listItemMarker"),i.containerState.marker=i.containerState.marker||h,e.check(Le,i.interrupt?t:p,e.attempt(Wi,k,f))}function p(h){return i.containerState.initialBlankLine=!0,l++,k(h)}function f(h){return L(h)?(e.enter("listItemPrefixWhitespace"),e.consume(h),e.exit("listItemPrefixWhitespace"),k):t(h)}function k(h){return i.containerState.size=l+i.sliceSerialize(e.exit("listItemPrefix"),!0).length,n(h)}}r(Ki,"tokenizeListStart");function Gi(e,n,t){const i=this;return i.containerState._closeFlow=void 0,e.check(Le,u,l);function u(o){return i.containerState.furtherBlankLines=i.containerState.furtherBlankLines||i.containerState.initialBlankLine,D(e,n,"listItemIndent",i.containerState.size+1)(o)}r(u,"onBlank");function l(o){return i.containerState.furtherBlankLines||!L(o)?(i.containerState.furtherBlankLines=void 0,i.containerState.initialBlankLine=void 0,a(o)):(i.containerState.furtherBlankLines=void 0,i.containerState.initialBlankLine=void 0,e.attempt(Yi,n,a)(o))}r(l,"notBlank");function a(o){return i.containerState._closeFlow=!0,i.interrupt=void 0,D(e,e.attempt(W,n,t),"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(o)}r(a,"notInCurrentItem")}r(Gi,"tokenizeListContinuation");function Xi(e,n,t){const i=this;return D(e,u,"listItemIndent",i.containerState.size+1);function u(l){const a=i.events[i.events.length-1];return a&&a[1].type==="listItemIndent"&&a[2].sliceSerialize(a[1],!0).length===i.containerState.size?n(l):t(l)}}r(Xi,"tokenizeIndent");function Zi(e){e.exit(this.containerState.type)}r(Zi,"tokenizeListEnd");function Ji(e,n,t){const i=this;return D(e,u,"listItemPrefixWhitespace",i.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function u(l){const a=i.events[i.events.length-1];return!L(l)&&a&&a[1].type==="listItemPrefixWhitespace"?n(l):t(l)}}r(Ji,"tokenizeListItemPrefixWhitespace");var ft={name:"setextUnderline",resolveTo:eu,tokenize:tu};function eu(e,n){let t=e.length,i,u,l;for(;t--;)if(e[t][0]==="enter"){if(e[t][1].type==="content"){i=t;break}e[t][1].type==="paragraph"&&(u=t)}else e[t][1].type==="content"&&e.splice(t,1),!l&&e[t][1].type==="definition"&&(l=t);const a={type:"setextHeading",start:{...e[i][1].start},end:{...e[e.length-1][1].end}};return e[u][1].type="setextHeadingText",l?(e.splice(u,0,["enter",a,n]),e.splice(l+1,0,["exit",e[i][1],n]),e[i][1].end={...e[l][1].end}):e[i][1]=a,e.push(["exit",a,n]),e}r(eu,"resolveToSetextUnderline");function tu(e,n,t){const i=this;let u;return l;function l(c){let p=i.events.length,f;for(;p--;)if(i.events[p][1].type!=="lineEnding"&&i.events[p][1].type!=="linePrefix"&&i.events[p][1].type!=="content"){f=i.events[p][1].type==="paragraph";break}return!i.parser.lazy[i.now().line]&&(i.interrupt||f)?(e.enter("setextHeadingLine"),u=c,a(c)):t(c)}function a(c){return e.enter("setextHeadingLineSequence"),o(c)}function o(c){return c===u?(e.consume(c),o):(e.exit("setextHeadingLineSequence"),L(c)?D(e,s,"lineSuffix")(c):s(c))}function s(c){return c===null||z(c)?(e.exit("setextHeadingLine"),n(c)):t(c)}}r(tu,"tokenizeSetextUnderline");var nu={tokenize:ru};function ru(e){const n=this,t=e.attempt(Le,i,e.attempt(this.parser.constructs.flowInitial,u,D(e,e.attempt(this.parser.constructs.flow,u,e.attempt(oi,u)),"linePrefix")));return t;function i(l){if(l===null){e.consume(l);return}return e.enter("lineEndingBlank"),e.consume(l),e.exit("lineEndingBlank"),n.currentConstruct=void 0,t}function u(l){if(l===null){e.consume(l);return}return e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),n.currentConstruct=void 0,t}}r(ru,"initializeFlow");var iu={resolveAll:Yt()},uu=Wt("string"),lu=Wt("text");function Wt(e){return{resolveAll:Yt(e==="text"?au:void 0),tokenize:n};function n(t){const i=this,u=this.parser.constructs[e],l=t.attempt(u,a,o);return a;function a(p){return c(p)?l(p):o(p)}function o(p){if(p===null){t.consume(p);return}return t.enter("data"),t.consume(p),s}function s(p){return c(p)?(t.exit("data"),l(p)):(t.consume(p),s)}function c(p){if(p===null)return!0;const f=u[p];let k=-1;if(f)for(;++k<f.length;){const h=f[k];if(!h.previous||h.previous.call(i,i.previous))return!0}return!1}}}r(Wt,"initializeFactory");function Yt(e){return n;function n(t,i){let u=-1,l;for(;++u<=t.length;)l===void 0?t[u]&&t[u][1].type==="data"&&(l=u,u++):(!t[u]||t[u][1].type!=="data")&&(u!==l+2&&(t[l][1].end=t[u-1][1].end,t.splice(l+2,u-l-2),u=l+2),l=void 0);return e?e(t,i):t}}r(Yt,"createResolver");function au(e,n){let t=0;for(;++t<=e.length;)if((t===e.length||e[t][1].type==="lineEnding")&&e[t-1][1].type==="data"){const i=e[t-1][1],u=n.sliceStream(i);let l=u.length,a=-1,o=0,s;for(;l--;){const c=u[l];if(typeof c=="string"){for(a=c.length;c.charCodeAt(a-1)===32;)o++,a--;if(a)break;a=-1}else if(c===-2)s=!0,o++;else if(c!==-1){l++;break}}if(n._contentTypeTextTrailing&&t===e.length&&(o=0),o){const c={type:t===e.length||s||o<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:l?a:i.start._bufferIndex+a,_index:i.start._index+l,line:i.end.line,column:i.end.column-o,offset:i.end.offset-o},end:{...i.end}};i.end={...c.start},i.start.offset===i.end.offset?Object.assign(i,c):(e.splice(t,0,["enter",c,n],["exit",c,n]),t+=2)}t++}return e}r(au,"resolveAllLineSuffixes");var ou=on({attentionMarkers:r(()=>ku,"attentionMarkers"),contentInitial:r(()=>cu,"contentInitial"),disable:r(()=>xu,"disable"),document:r(()=>su,"document"),flow:r(()=>fu,"flow"),flowInitial:r(()=>hu,"flowInitial"),insideSpan:r(()=>gu,"insideSpan"),string:r(()=>pu,"string"),text:r(()=>mu,"text")}),su={42:W,43:W,45:W,48:W,49:W,50:W,51:W,52:W,53:W,54:W,55:W,56:W,57:W,62:Nt},cu={91:pi},hu={[-2]:Fe,[-1]:Fe,32:Fe},fu={35:bi,42:Te,45:[ft,Te],60:Si,61:ft,95:Te,96:ct,126:ct},pu={38:jt,92:Ht},mu={[-5]:Re,[-4]:Re,[-3]:Re,33:Hi,38:jt,42:Oe,60:[qr,Ai],91:qi,92:[xi,Ht],93:Ve,95:Oe,96:ni},gu={null:[Oe,iu]},ku={null:[42,95]},xu={null:[]};function du(e,n,t){let i={_bufferIndex:-1,_index:0,line:t&&t.line||1,column:t&&t.column||1,offset:t&&t.offset||0};const u={},l=[];let a=[],o=[];const s={attempt:B(F),check:B(y),consume:_,enter:S,exit:R,interrupt:B(y,{interrupt:!0})},c={code:null,containerState:{},defineSkip:C,events:[],now:w,parser:e,previous:null,sliceSerialize:k,sliceStream:h,write:f};let p=n.tokenize.call(c,s);return n.resolveAll&&l.push(n),c;function f(E){return a=X(a,E),v(),a[a.length-1]!==null?[]:($(n,0),c.events=_e(l,c.events,c),c.events)}r(f,"write");function k(E,T){return yu(h(E),T)}r(k,"sliceSerialize");function h(E){return bu(a,E)}r(h,"sliceStream");function w(){const{_bufferIndex:E,_index:T,line:O,column:j,offset:M}=i;return{_bufferIndex:E,_index:T,line:O,column:j,offset:M}}r(w,"now");function C(E){u[E.line]=E.column,x()}r(C,"defineSkip");function v(){let E;for(;i._index<a.length;){const T=a[i._index];if(typeof T=="string")for(E=i._index,i._bufferIndex<0&&(i._bufferIndex=0);i._index===E&&i._bufferIndex<T.length;)b(T.charCodeAt(i._bufferIndex));else b(T)}}r(v,"main");function b(E){p=p(E)}r(b,"go");function _(E){z(E)?(i.line++,i.column=1,i.offset+=E===-3?2:1,x()):E!==-1&&(i.column++,i.offset++),i._bufferIndex<0?i._index++:(i._bufferIndex++,i._bufferIndex===a[i._index].length&&(i._bufferIndex=-1,i._index++)),c.previous=E}r(_,"consume");function S(E,T){const O=T||{};return O.type=E,O.start=w(),c.events.push(["enter",O,c]),o.push(O),O}r(S,"enter");function R(E){const T=o.pop();return T.end=w(),c.events.push(["exit",T,c]),T}r(R,"exit");function F(E,T){$(E,T.from)}r(F,"onsuccessfulconstruct");function y(E,T){T.restore()}r(y,"onsuccessfulcheck");function B(E,T){return O;function O(j,M,Q){let q,Z,te,m;return Array.isArray(j)?ne(j):"tokenize"in j?ne([j]):le(j);function le(V){return be;function be(re){const fe=re!==null&&V[re],pe=re!==null&&V.null;return ne([...Array.isArray(fe)?fe:fe?[fe]:[],...Array.isArray(pe)?pe:pe?[pe]:[]])(re)}}function ne(V){return q=V,Z=0,V.length===0?Q:g(V[Z])}function g(V){return be;function be(re){return m=P(),te=V,V.partial||(c.currentConstruct=V),V.name&&c.parser.constructs.disable.null.includes(V.name)?he(re):V.tokenize.call(T?Object.assign(Object.create(c),T):c,s,ae,he)(re)}}function ae(V){return E(te,m),M}function he(V){return m.restore(),++Z<q.length?g(q[Z]):Q}}}r(B,"constructFactory");function $(E,T){E.resolveAll&&!l.includes(E)&&l.push(E),E.resolve&&K(c.events,T,c.events.length-T,E.resolve(c.events.slice(T),c)),E.resolveTo&&(c.events=E.resolveTo(c.events,c))}r($,"addResult");function P(){const E=w(),T=c.previous,O=c.currentConstruct,j=c.events.length,M=Array.from(o);return{from:j,restore:Q};function Q(){i=E,c.previous=T,c.currentConstruct=O,c.events.length=j,o=M,x()}}r(P,"store");function x(){i.line in u&&i.column<2&&(i.column=u[i.line],i.offset+=u[i.line]-1)}r(x,"accountForPotentialSkip")}r(du,"createTokenizer");function bu(e,n){const t=n.start._index,i=n.start._bufferIndex,u=n.end._index,l=n.end._bufferIndex;let a;if(t===u)a=[e[t].slice(i,l)];else{if(a=e.slice(t,u),i>-1){const o=a[0];typeof o=="string"?a[0]=o.slice(i):a.shift()}l>0&&a.push(e[u].slice(0,l))}return a}r(bu,"sliceChunks");function yu(e,n){let t=-1;const i=[];let u;for(;++t<e.length;){const l=e[t];let a;if(typeof l=="string")a=l;else switch(l){case-5:a="\r";break;case-4:a=`
|
|
13
|
-
`;break;case-3:a=`\r
|
|
14
|
-
`;break;case-2:a=n?" ":" ";break;case-1:if(!n&&u)continue;a=" ";break;default:a=String.fromCharCode(l)}u=l===-2,i.push(a)}return i.join("")}r(yu,"serializeChunks");function wu(e){const n={constructs:Rr([ou,...(e||{}).extensions||[]]),content:t(Dr),defined:[],document:t(Or),flow:t(nu),lazy:{},string:t(uu),text:t(lu)};return n;function t(i){return u;function u(l){return du(n,i,l)}}}r(wu,"parse");function Iu(e){for(;!qt(e););return e}r(Iu,"postprocess");var pt=/[\0\t\n\r]/g;function Su(){let e=1,n="",t=!0,i;return u;function u(l,a,o){const s=[];let c,p,f,k,h;for(l=n+(typeof l=="string"?l.toString():new TextDecoder(a||void 0).decode(l)),f=0,n="",t&&(l.charCodeAt(0)===65279&&f++,t=void 0);f<l.length;){if(pt.lastIndex=f,c=pt.exec(l),k=c&&c.index!==void 0?c.index:l.length,h=l.charCodeAt(k),!c){n=l.slice(f);break}if(h===10&&f===k&&i)s.push(-3),i=void 0;else switch(i&&(s.push(-5),i=void 0),f<k&&(s.push(l.slice(f,k)),e+=k-f),h){case 0:s.push(65533),e++;break;case 9:for(p=Math.ceil(e/4)*4,s.push(-2);e++<p;)s.push(-1);break;case 10:s.push(-4),e=1;break;default:i=!0,e=1}f=k+1}return o&&(i&&s.push(-5),n&&s.push(n),s.push(null)),s}}r(Su,"preprocess");var Kt={}.hasOwnProperty;function ml(e,n,t){return n&&typeof n=="object"&&(t=n,n=void 0),Cu(t)(Iu(wu(t).document().write(Su()(e,n,!0))))}r(ml,"fromMarkdown");function Cu(e){const n={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:l(Ke),autolinkProtocol:P,autolinkEmail:P,atxHeading:l(Qe),blockQuote:l(pe),characterEscape:P,characterReference:P,codeFenced:l(Ue),codeFencedFenceInfo:a,codeFencedFenceMeta:a,codeIndented:l(Ue,a),codeText:l(Xt,a),codeTextData:P,data:P,codeFlowValue:P,definition:l(Zt),definitionDestinationString:a,definitionLabelString:a,definitionTitleString:a,emphasis:l(Jt),hardBreakEscape:l(We),hardBreakTrailing:l(We),htmlFlow:l(Ye,a),htmlFlowData:P,htmlText:l(Ye,a),htmlTextData:P,image:l(en),label:a,link:l(Ke),listItem:l(tn),listItemValue:k,listOrdered:l(Ge,f),listUnordered:l(Ge),paragraph:l(nn),reference:g,referenceString:a,resourceDestinationString:a,resourceTitleString:a,setextHeading:l(Qe),strong:l(rn),thematicBreak:l(ln)},exit:{atxHeading:s(),atxHeadingSequence:F,autolink:s(),autolinkEmail:fe,autolinkProtocol:re,blockQuote:s(),characterEscapeValue:x,characterReferenceMarkerHexadecimal:he,characterReferenceMarkerNumeric:he,characterReferenceValue:V,characterReference:be,codeFenced:s(v),codeFencedFence:C,codeFencedFenceInfo:h,codeFencedFenceMeta:w,codeFlowValue:x,codeIndented:s(b),codeText:s(M),codeTextData:x,data:x,definition:s(),definitionDestinationString:R,definitionLabelString:_,definitionTitleString:S,emphasis:s(),hardBreakEscape:s(T),hardBreakTrailing:s(T),htmlFlow:s(O),htmlFlowData:x,htmlText:s(j),htmlTextData:x,image:s(q),label:te,labelText:Z,lineEnding:E,link:s(Q),listItem:s(),listOrdered:s(),listUnordered:s(),paragraph:s(),referenceString:ae,resourceDestinationString:m,resourceTitleString:le,resource:ne,setextHeading:s($),setextHeadingLineSequence:B,setextHeadingText:y,strong:s(),thematicBreak:s()}};Gt(n,(e||{}).mdastExtensions||[]);const t={};return i;function i(d){let I={type:"root",children:[]};const A={stack:[I],tokenStack:[],config:n,enter:o,exit:c,buffer:a,resume:p,data:t},N=[];let H=-1;for(;++H<d.length;)(d[H][1].type==="listOrdered"||d[H][1].type==="listUnordered")&&(d[H][0]==="enter"?N.push(H):H=u(d,N.pop(),H));for(H=-1;++H<d.length;){const oe=n[d[H][0]];Kt.call(oe,d[H][1].type)&&oe[d[H][1].type].call(Object.assign({sliceSerialize:d[H][2].sliceSerialize},A),d[H][1])}if(A.tokenStack.length>0){const oe=A.tokenStack[A.tokenStack.length-1];(oe[1]||mt).call(A,void 0,oe[0])}for(I.position={start:se(d.length>0?d[0][1].start:{line:1,column:1,offset:0}),end:se(d.length>0?d[d.length-2][1].end:{line:1,column:1,offset:0})},H=-1;++H<n.transforms.length;)I=n.transforms[H](I)||I;return I}function u(d,I,A){let N=I-1,H=-1,oe=!1,me,ie,ye,we;for(;++N<=A;){const Y=d[N];switch(Y[1].type){case"listUnordered":case"listOrdered":case"blockQuote":Y[0]==="enter"?H++:H--,we=void 0;break;case"lineEndingBlank":Y[0]==="enter"&&(me&&!we&&!H&&!ye&&(ye=N),we=void 0);break;case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:we=void 0}if(!H&&Y[0]==="enter"&&Y[1].type==="listItemPrefix"||H===-1&&Y[0]==="exit"&&(Y[1].type==="listUnordered"||Y[1].type==="listOrdered")){if(me){let ge=N;for(ie=void 0;ge--;){const ue=d[ge];if(ue[1].type==="lineEnding"||ue[1].type==="lineEndingBlank"){if(ue[0]==="exit")continue;ie&&(d[ie][1].type="lineEndingBlank",oe=!0),ue[1].type="lineEnding",ie=ge}else if(!(ue[1].type==="linePrefix"||ue[1].type==="blockQuotePrefix"||ue[1].type==="blockQuotePrefixWhitespace"||ue[1].type==="blockQuoteMarker"||ue[1].type==="listItemIndent"))break}ye&&(!ie||ye<ie)&&(me._spread=!0),me.end=Object.assign({},ie?d[ie][1].start:Y[1].end),d.splice(ie||N,0,["exit",me,Y[2]]),N++,A++}if(Y[1].type==="listItemPrefix"){const ge={type:"listItem",_spread:!1,start:Object.assign({},Y[1].start),end:void 0};me=ge,d.splice(N,0,["enter",ge,Y[2]]),N++,A++,ye=void 0,we=!0}}}return d[I][1]._spread=oe,A}function l(d,I){return A;function A(N){o.call(this,d(N),N),I&&I.call(this,N)}}function a(){this.stack.push({type:"fragment",children:[]})}function o(d,I,A){this.stack[this.stack.length-1].children.push(d),this.stack.push(d),this.tokenStack.push([I,A||void 0]),d.position={start:se(I.start),end:void 0}}function s(d){return I;function I(A){d&&d.call(this,A),c.call(this,A)}}function c(d,I){const A=this.stack.pop(),N=this.tokenStack.pop();if(N)N[0].type!==d.type&&(I?I.call(this,d,N[0]):(N[1]||mt).call(this,d,N[0]));else throw new Error("Cannot close `"+d.type+"` ("+Se({start:d.start,end:d.end})+"): it’s not open");A.position.end=se(d.end)}function p(){return je(this.stack.pop())}function f(){this.data.expectingFirstListItemValue=!0}function k(d){if(this.data.expectingFirstListItemValue){const I=this.stack[this.stack.length-2];I.start=Number.parseInt(this.sliceSerialize(d),10),this.data.expectingFirstListItemValue=void 0}}function h(){const d=this.resume(),I=this.stack[this.stack.length-1];I.lang=d}function w(){const d=this.resume(),I=this.stack[this.stack.length-1];I.meta=d}function C(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function v(){const d=this.resume(),I=this.stack[this.stack.length-1];I.value=d.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function b(){const d=this.resume(),I=this.stack[this.stack.length-1];I.value=d.replace(/(\r?\n|\r)$/g,"")}function _(d){const I=this.resume(),A=this.stack[this.stack.length-1];A.label=I,A.identifier=xe(this.sliceSerialize(d)).toLowerCase()}function S(){const d=this.resume(),I=this.stack[this.stack.length-1];I.title=d}function R(){const d=this.resume(),I=this.stack[this.stack.length-1];I.url=d}function F(d){const I=this.stack[this.stack.length-1];I.depth||(I.depth=this.sliceSerialize(d).length)}function y(){this.data.setextHeadingSlurpLineEnding=!0}function B(d){const I=this.stack[this.stack.length-1];I.depth=this.sliceSerialize(d).codePointAt(0)===61?1:2}function $(){this.data.setextHeadingSlurpLineEnding=void 0}function P(d){const I=this.stack[this.stack.length-1].children;let A=I[I.length-1];(!A||A.type!=="text")&&(A=un(),A.position={start:se(d.start),end:void 0},I.push(A)),this.stack.push(A)}function x(d){const I=this.stack.pop();I.value+=this.sliceSerialize(d),I.position.end=se(d.end)}function E(d){const I=this.stack[this.stack.length-1];if(this.data.atHardBreak){const A=I.children[I.children.length-1];A.position.end=se(d.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&n.canContainEols.includes(I.type)&&(P.call(this,d),x.call(this,d))}function T(){this.data.atHardBreak=!0}function O(){const d=this.resume(),I=this.stack[this.stack.length-1];I.value=d}function j(){const d=this.resume(),I=this.stack[this.stack.length-1];I.value=d}function M(){const d=this.resume(),I=this.stack[this.stack.length-1];I.value=d}function Q(){const d=this.stack[this.stack.length-1];if(this.data.inReference){const I=this.data.referenceType||"shortcut";d.type+="Reference",d.referenceType=I,delete d.url,delete d.title}else delete d.identifier,delete d.label;this.data.referenceType=void 0}function q(){const d=this.stack[this.stack.length-1];if(this.data.inReference){const I=this.data.referenceType||"shortcut";d.type+="Reference",d.referenceType=I,delete d.url,delete d.title}else delete d.identifier,delete d.label;this.data.referenceType=void 0}function Z(d){const I=this.sliceSerialize(d),A=this.stack[this.stack.length-2];A.label=Lr(I),A.identifier=xe(I).toLowerCase()}function te(){const d=this.stack[this.stack.length-1],I=this.resume(),A=this.stack[this.stack.length-1];this.data.inReference=!0,A.type==="link"?A.children=d.children:A.alt=I}function m(){const d=this.resume(),I=this.stack[this.stack.length-1];I.url=d}function le(){const d=this.resume(),I=this.stack[this.stack.length-1];I.title=d}function ne(){this.data.inReference=void 0}function g(){this.data.referenceType="collapsed"}function ae(d){const I=this.resume(),A=this.stack[this.stack.length-1];A.label=I,A.identifier=xe(this.sliceSerialize(d)).toLowerCase(),this.data.referenceType="full"}function he(d){this.data.characterReferenceType=d.type}function V(d){const I=this.sliceSerialize(d),A=this.data.characterReferenceType;let N;A?(N=$t(I,A==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):N=$e(I);const H=this.stack[this.stack.length-1];H.value+=N}function be(d){const I=this.stack.pop();I.position.end=se(d.end)}function re(d){x.call(this,d);const I=this.stack[this.stack.length-1];I.url=this.sliceSerialize(d)}function fe(d){x.call(this,d);const I=this.stack[this.stack.length-1];I.url="mailto:"+this.sliceSerialize(d)}function pe(){return{type:"blockquote",children:[]}}function Ue(){return{type:"code",lang:null,meta:null,value:""}}function Xt(){return{type:"inlineCode",value:""}}function Zt(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function Jt(){return{type:"emphasis",children:[]}}function Qe(){return{type:"heading",depth:0,children:[]}}function We(){return{type:"break"}}function Ye(){return{type:"html",value:""}}function en(){return{type:"image",title:null,url:"",alt:null}}function Ke(){return{type:"link",title:null,url:"",children:[]}}function Ge(d){return{type:"list",ordered:d.type==="listOrdered",start:null,spread:d._spread,children:[]}}function tn(d){return{type:"listItem",spread:d._spread,checked:null,children:[]}}function nn(){return{type:"paragraph",children:[]}}function rn(){return{type:"strong",children:[]}}function un(){return{type:"text",value:""}}function ln(){return{type:"thematicBreak"}}}r(Cu,"compiler");function se(e){return{line:e.line,column:e.column,offset:e.offset}}r(se,"point");function Gt(e,n){let t=-1;for(;++t<n.length;){const i=n[t];Array.isArray(i)?Gt(e,i):vu(e,i)}}r(Gt,"configure");function vu(e,n){let t;for(t in n)if(Kt.call(n,t))switch(t){case"canContainEols":{const i=n[t];i&&e[t].push(...i);break}case"transforms":{const i=n[t];i&&e[t].push(...i);break}case"enter":case"exit":{const i=n[t];i&&Object.assign(e[t],i);break}}}r(vu,"extension");function mt(e,n){throw e?new Error("Cannot close `"+e.type+"` ("+Se({start:e.start,end:e.end})+"): a different token (`"+n.type+"`, "+Se({start:n.start,end:n.end})+") is open"):new Error("Cannot close document, a token (`"+n.type+"`, "+Se({start:n.start,end:n.end})+") is still open")}r(mt,"defaultOnError");var Eu={name:"tasklistCheck",tokenize:Tu};function gl(){return{text:{91:Eu}}}r(gl,"gfmTaskListItem");function Tu(e,n,t){const i=this;return u;function u(s){return i.previous!==null||!i._gfmTasklistFirstContentOfListItem?t(s):(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(s),e.exit("taskListCheckMarker"),l)}function l(s){return U(s)?(e.enter("taskListCheckValueUnchecked"),e.consume(s),e.exit("taskListCheckValueUnchecked"),a):s===88||s===120?(e.enter("taskListCheckValueChecked"),e.consume(s),e.exit("taskListCheckValueChecked"),a):t(s)}function a(s){return s===93?(e.enter("taskListCheckMarker"),e.consume(s),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),o):t(s)}function o(s){return z(s)?n(s):L(s)?e.check({tokenize:zu},n,t)(s):t(s)}}r(Tu,"tokenizeTasklistCheck");function zu(e,n,t){return D(e,i,"whitespace");function i(u){return u===null?t(u):n(u)}}r(zu,"spaceThenNonSpace");function kl(){return{exit:{taskListCheckValueChecked:gt,taskListCheckValueUnchecked:gt,paragraph:_u}}}r(kl,"gfmTaskListItemFromMarkdown");function xl(){return{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:Au}}}r(xl,"gfmTaskListItemToMarkdown");function gt(e){const n=this.stack[this.stack.length-2];n.type,n.checked=e.type==="taskListCheckValueChecked"}r(gt,"exitCheck");function _u(e){const n=this.stack[this.stack.length-2];if(n&&n.type==="listItem"&&typeof n.checked=="boolean"){const t=this.stack[this.stack.length-1];t.type;const i=t.children[0];if(i&&i.type==="text"){const u=n.children;let l=-1,a;for(;++l<u.length;){const o=u[l];if(o.type==="paragraph"){a=o;break}}a===t&&(i.value=i.value.slice(1),i.value.length===0?t.children.shift():t.position&&i.position&&typeof i.position.start.offset=="number"&&(i.position.start.column++,i.position.start.offset++,t.position.start=Object.assign({},i.position.start)))}}this.exit(e)}r(_u,"exitParagraphWithTaskListItem");function Au(e,n,t,i){const u=e.children[0],l=typeof e.checked=="boolean"&&u&&u.type==="paragraph",a="["+(e.checked?"x":" ")+"] ",o=t.createTracker(i);l&&o.move(a);let s=Ot.listItem(e,n,t,{...i,...o.current()});return l&&(s=s.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,c)),s;function c(p){return p+a}r(c,"check")}r(Au,"listItemWithTaskListItem");function Lu(e){return e.length}r(Lu,"defaultStringLength");function Fu(e,n){const t=n||{},i=(t.align||[]).concat(),u=t.stringLength||Lu,l=[],a=[],o=[],s=[];let c=0,p=-1;for(;++p<e.length;){const C=[],v=[];let b=-1;for(e[p].length>c&&(c=e[p].length);++b<e[p].length;){const _=Ru(e[p][b]);if(t.alignDelimiters!==!1){const S=u(_);v[b]=S,(s[b]===void 0||S>s[b])&&(s[b]=S)}C.push(_)}a[p]=C,o[p]=v}let f=-1;if(typeof i=="object"&&"length"in i)for(;++f<c;)l[f]=kt(i[f]);else{const C=kt(i);for(;++f<c;)l[f]=C}f=-1;const k=[],h=[];for(;++f<c;){const C=l[f];let v="",b="";C===99?(v=":",b=":"):C===108?v=":":C===114&&(b=":");let _=t.alignDelimiters===!1?1:Math.max(1,s[f]-v.length-b.length);const S=v+"-".repeat(_)+b;t.alignDelimiters!==!1&&(_=v.length+_+b.length,_>s[f]&&(s[f]=_),h[f]=_),k[f]=S}a.splice(1,0,k),o.splice(1,0,h),p=-1;const w=[];for(;++p<a.length;){const C=a[p],v=o[p];f=-1;const b=[];for(;++f<c;){const _=C[f]||"";let S="",R="";if(t.alignDelimiters!==!1){const F=s[f]-(v[f]||0),y=l[f];y===114?S=" ".repeat(F):y===99?F%2?(S=" ".repeat(F/2+.5),R=" ".repeat(F/2-.5)):(S=" ".repeat(F/2),R=S):R=" ".repeat(F)}t.delimiterStart!==!1&&!f&&b.push("|"),t.padding!==!1&&!(t.alignDelimiters===!1&&_==="")&&(t.delimiterStart!==!1||f)&&b.push(" "),t.alignDelimiters!==!1&&b.push(S),b.push(_),t.alignDelimiters!==!1&&b.push(R),t.padding!==!1&&b.push(" "),(t.delimiterEnd!==!1||f!==c-1)&&b.push("|")}w.push(t.delimiterEnd===!1?b.join("").replace(/ +$/,""):b.join(""))}return w.join(`
|
|
15
|
-
`)}r(Fu,"markdownTable");function Ru(e){return e==null?"":String(e)}r(Ru,"serialize");function kt(e){const n=typeof e=="string"?e.codePointAt(0):0;return n===67||n===99?99:n===76||n===108?108:n===82||n===114?114:0}r(kt,"toAlignment");function dl(){return{enter:{table:Bu,tableData:xt,tableHeader:xt,tableRow:Du},exit:{codeText:Pu,table:Mu,tableData:Be,tableHeader:Be,tableRow:Be}}}r(dl,"gfmTableFromMarkdown");function Bu(e){const n=e._align;this.enter({type:"table",align:n.map(function(t){return t==="none"?null:t}),children:[]},e),this.data.inTable=!0}r(Bu,"enterTable");function Mu(e){this.exit(e),this.data.inTable=void 0}r(Mu,"exitTable");function Du(e){this.enter({type:"tableRow",children:[]},e)}r(Du,"enterRow");function Be(e){this.exit(e)}r(Be,"exit");function xt(e){this.enter({type:"tableCell",children:[]},e)}r(xt,"enterCell");function Pu(e){let n=this.resume();this.data.inTable&&(n=n.replace(/\\([\\|])/g,Ou));const t=this.stack[this.stack.length-1];t.type,t.value=n,this.exit(e)}r(Pu,"exitCodeText");function Ou(e,n){return n==="|"?n:e}r(Ou,"replace");function bl(e){const n=e||{},t=n.tableCellPadding,i=n.tablePipeAlign,u=n.stringLength,l=t?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:`
|
|
16
|
-
`,inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[ :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:k,table:a,tableCell:s,tableRow:o}};function a(h,w,C,v){return c(p(h,C,v),h.align)}function o(h,w,C,v){const b=c([f(h,C,v)]);return b.slice(0,b.indexOf(`
|
|
17
|
-
`))}function s(h,w,C,v){const b=C.enter("tableCell"),_=C.enter("phrasing"),S=C.containerPhrasing(h,{...v,before:l,after:l});return _(),b(),S}function c(h,w){return Fu(h,{align:w,alignDelimiters:i,padding:t,stringLength:u})}function p(h,w,C){const v=h.children;let b=-1;const _=[],S=w.enter("table");for(;++b<v.length;)_[b]=f(v[b],w,C);return S(),_}function f(h,w,C){const v=h.children;let b=-1;const _=[],S=w.enter("tableRow");for(;++b<v.length;)_[b]=s(v[b],h,w,C);return S(),_}function k(h,w,C){let v=Ot.inlineCode(h,w,C);return C.stack.includes("tableCell")&&(v=v.replace(/\|/g,"\\$&")),v}}r(bl,"gfmTableToMarkdown");var $u=class{static{r(this,"EditMap")}constructor(){this.map=[]}add(e,n,t){Nu(this,e,n,t)}consume(e){if(this.map.sort(function(u,l){return u[0]-l[0]}),this.map.length===0)return;let n=this.map.length;const t=[];for(;n>0;)n-=1,t.push(e.slice(this.map[n][0]+this.map[n][1]),this.map[n][2]),e.length=this.map[n][0];t.push(e.slice()),e.length=0;let i=t.pop();for(;i;){for(const u of i)e.push(u);i=t.pop()}this.map.length=0}};function Nu(e,n,t,i){let u=0;if(!(t===0&&i.length===0)){for(;u<e.map.length;){if(e.map[u][0]===n){e.map[u][1]+=t,e.map[u][2].push(...i);return}u+=1}e.map.push([n,t,i])}}r(Nu,"addImplementation");function Hu(e,n){let t=!1;const i=[];for(;n<e.length;){const u=e[n];if(t){if(u[0]==="enter")u[1].type==="tableContent"&&i.push(e[n+1][1].type==="tableDelimiterMarker"?"left":"none");else if(u[1].type==="tableContent"){if(e[n-1][1].type==="tableDelimiterMarker"){const l=i.length-1;i[l]=i[l]==="left"?"center":"right"}}else if(u[1].type==="tableDelimiterRow")break}else u[0]==="enter"&&u[1].type==="tableDelimiterRow"&&(t=!0);n+=1}return i}r(Hu,"gfmTableAlign");function yl(){return{flow:{null:{name:"table",tokenize:ju,resolveAll:qu}}}}r(yl,"gfmTable");function ju(e,n,t){const i=this;let u=0,l=0,a;return o;function o(x){let E=i.events.length-1;for(;E>-1;){const j=i.events[E][1].type;if(j==="lineEnding"||j==="linePrefix")E--;else break}const T=E>-1?i.events[E][1].type:null,O=T==="tableHead"||T==="tableRow"?y:s;return O===y&&i.parser.lazy[i.now().line]?t(x):O(x)}function s(x){return e.enter("tableHead"),e.enter("tableRow"),c(x)}function c(x){return x===124||(a=!0,l+=1),p(x)}function p(x){return x===null?t(x):z(x)?l>1?(l=0,i.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(x),e.exit("lineEnding"),h):t(x):L(x)?D(e,p,"whitespace")(x):(l+=1,a&&(a=!1,u+=1),x===124?(e.enter("tableCellDivider"),e.consume(x),e.exit("tableCellDivider"),a=!0,p):(e.enter("data"),f(x)))}function f(x){return x===null||x===124||U(x)?(e.exit("data"),p(x)):(e.consume(x),x===92?k:f)}function k(x){return x===92||x===124?(e.consume(x),f):f(x)}function h(x){return i.interrupt=!1,i.parser.lazy[i.now().line]?t(x):(e.enter("tableDelimiterRow"),a=!1,L(x)?D(e,w,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(x):w(x))}function w(x){return x===45||x===58?v(x):x===124?(a=!0,e.enter("tableCellDivider"),e.consume(x),e.exit("tableCellDivider"),C):F(x)}function C(x){return L(x)?D(e,v,"whitespace")(x):v(x)}function v(x){return x===58?(l+=1,a=!0,e.enter("tableDelimiterMarker"),e.consume(x),e.exit("tableDelimiterMarker"),b):x===45?(l+=1,b(x)):x===null||z(x)?R(x):F(x)}function b(x){return x===45?(e.enter("tableDelimiterFiller"),_(x)):F(x)}function _(x){return x===45?(e.consume(x),_):x===58?(a=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(x),e.exit("tableDelimiterMarker"),S):(e.exit("tableDelimiterFiller"),S(x))}function S(x){return L(x)?D(e,R,"whitespace")(x):R(x)}function R(x){return x===124?w(x):x===null||z(x)?!a||u!==l?F(x):(e.exit("tableDelimiterRow"),e.exit("tableHead"),n(x)):F(x)}function F(x){return t(x)}function y(x){return e.enter("tableRow"),B(x)}function B(x){return x===124?(e.enter("tableCellDivider"),e.consume(x),e.exit("tableCellDivider"),B):x===null||z(x)?(e.exit("tableRow"),n(x)):L(x)?D(e,B,"whitespace")(x):(e.enter("data"),$(x))}function $(x){return x===null||x===124||U(x)?(e.exit("data"),B(x)):(e.consume(x),x===92?P:$)}function P(x){return x===92||x===124?(e.consume(x),$):$(x)}}r(ju,"tokenizeTable");function qu(e,n){let t=-1,i=!0,u=0,l=[0,0,0,0],a=[0,0,0,0],o=!1,s=0,c,p,f;const k=new $u;for(;++t<e.length;){const h=e[t],w=h[1];h[0]==="enter"?w.type==="tableHead"?(o=!1,s!==0&&(dt(k,n,s,c,p),p=void 0,s=0),c={type:"table",start:Object.assign({},w.start),end:Object.assign({},w.end)},k.add(t,0,[["enter",c,n]])):w.type==="tableRow"||w.type==="tableDelimiterRow"?(i=!0,f=void 0,l=[0,0,0,0],a=[0,t+1,0,0],o&&(o=!1,p={type:"tableBody",start:Object.assign({},w.start),end:Object.assign({},w.end)},k.add(t,0,[["enter",p,n]])),u=w.type==="tableDelimiterRow"?2:p?3:1):u&&(w.type==="data"||w.type==="tableDelimiterMarker"||w.type==="tableDelimiterFiller")?(i=!1,a[2]===0&&(l[1]!==0&&(a[0]=a[1],f=Ee(k,n,l,u,void 0,f),l=[0,0,0,0]),a[2]=t)):w.type==="tableCellDivider"&&(i?i=!1:(l[1]!==0&&(a[0]=a[1],f=Ee(k,n,l,u,void 0,f)),l=a,a=[l[1],t,0,0])):w.type==="tableHead"?(o=!0,s=t):w.type==="tableRow"||w.type==="tableDelimiterRow"?(s=t,l[1]!==0?(a[0]=a[1],f=Ee(k,n,l,u,t,f)):a[1]!==0&&(f=Ee(k,n,a,u,t,f)),u=0):u&&(w.type==="data"||w.type==="tableDelimiterMarker"||w.type==="tableDelimiterFiller")&&(a[3]=t)}for(s!==0&&dt(k,n,s,c,p),k.consume(n.events),t=-1;++t<n.events.length;){const h=n.events[t];h[0]==="enter"&&h[1].type==="table"&&(h[1]._align=Hu(n.events,t))}return e}r(qu,"resolveTable");function Ee(e,n,t,i,u,l){const a=i===1?"tableHeader":i===2?"tableDelimiter":"tableData",o="tableContent";t[0]!==0&&(l.end=Object.assign({},ke(n.events,t[0])),e.add(t[0],0,[["exit",l,n]]));const s=ke(n.events,t[1]);if(l={type:a,start:Object.assign({},s),end:Object.assign({},s)},e.add(t[1],0,[["enter",l,n]]),t[2]!==0){const c=ke(n.events,t[2]),p=ke(n.events,t[3]),f={type:o,start:Object.assign({},c),end:Object.assign({},p)};if(e.add(t[2],0,[["enter",f,n]]),i!==2){const k=n.events[t[2]],h=n.events[t[3]];if(k[1].end=Object.assign({},h[1].end),k[1].type="chunkText",k[1].contentType="text",t[3]>t[2]+1){const w=t[2]+1,C=t[3]-t[2]-1;e.add(w,C,[])}}e.add(t[3]+1,0,[["exit",f,n]])}return u!==void 0&&(l.end=Object.assign({},ke(n.events,u)),e.add(u,0,[["exit",l,n]]),l=void 0),l}r(Ee,"flushCell");function dt(e,n,t,i,u){const l=[],a=ke(n.events,t);u&&(u.end=Object.assign({},a),l.push(["exit",u,n])),i.end=Object.assign({},a),l.push(["exit",i,n]),e.add(t+1,0,l)}r(dt,"flushTableEnd");function ke(e,n){const t=e[n],i=t[0]==="enter"?"start":"end";return t[1][i]}r(ke,"getPoint");function wl(e){if(/^https?:\/\//i.test(e.trim()))return null;const n=Tn(e);if(n)return{kind:"issue",identifier:n.identifier};const t=yt(e);if(t)return{kind:"agent",agentId:t.agentId,icon:t.icon};const i=In(e);if(i)return{kind:"project",projectId:i.projectId,color:i.color};const u=Sn(e);if(u)return{kind:"user",userId:u.userId};const l=Cn(e);if(l)return{kind:"skill",skillId:l.skillId,slug:l.slug};const a=vn(e);return a?{kind:"routine",routineId:a.routineId}:null}r(wl,"parseMentionChipHref");function Vu(e){const n={};if(e.kind==="project"&&e.color){const t=Qu(e.color);Object.assign(n,t),n["--wardmote-mention-project-color"]=e.color}if(e.kind==="agent"){const t=cn(e.appearance,e.agentId);n["--wardmote-mention-avatar-image"]=`url("${sn(t,16,2)}")`}return Object.keys(n).length>0?n:void 0}r(Vu,"mentionChipInlineStyle");function Il(e,n){Uu(e),e.dataset.mentionKind=n.kind,e.setAttribute("contenteditable","false"),e.classList.add("wardmote-mention-chip",`wardmote-mention-chip--${n.kind}`),n.kind==="project"&&e.classList.add("wardmote-project-mention-chip");const t=Vu(n);if(t)for(const[i,u]of Object.entries(t))typeof u=="string"&&(i.startsWith("--")?e.style.setProperty(i,u):e.style[i]=u)}r(Il,"applyMentionChipDecoration");function Uu(e){delete e.dataset.mentionKind,e.classList.remove("wardmote-mention-chip","wardmote-mention-chip--agent","wardmote-mention-chip--issue","wardmote-mention-chip--project","wardmote-mention-chip--routine","wardmote-mention-chip--user","wardmote-mention-chip--skill","wardmote-project-mention-chip"),e.removeAttribute("contenteditable"),e.style.removeProperty("border-color"),e.style.removeProperty("background-color"),e.style.removeProperty("color"),e.style.removeProperty("--wardmote-mention-project-color"),e.style.removeProperty("--wardmote-mention-icon-mask"),e.style.removeProperty("--wardmote-mention-avatar-image")}r(Uu,"clearMentionChipDecoration");function Qu(e){const n=fn(e);return n?{borderColor:e,backgroundColor:`rgba(${n.r}, ${n.g}, ${n.b}, 0.22)`,color:hn(e)}:{}}r(Qu,"projectMentionColors");export{tl as $,$e as A,J as B,Vn as C,hl as D,pl as E,al as F,Ln as G,z as H,ul as I,il as J,Fn as K,_e as L,cl as M,ol as N,G as O,ll as P,nl as Q,de as R,Qn as S,fl as T,U,Me as V,L as W,Ju as X,St as Y,Zu as Z,sr as _,yl as a,He as b,kl as c,ml as d,el as et,Le as f,Ot as g,Lr as h,wl as i,sl as j,Se as k,xl as l,Rr as m,Uu as n,yt as nt,dl as o,xe as p,K as q,Vu as r,bl as s,Il as t,rl as tt,gl as u,lr as v,D as w,ve as x,ir as y,ee as z};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{t as e}from"./createLucideIcon-CojsodAG.js";var a={name:"message-square-plus",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"}],["path",{d:"M12 8v6",key:"1ib9pf"}],["path",{d:"M9 11h6",key:"1fldmi"}]]};a.node;var t=e(a);export{t};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{t as e}from"./createLucideIcon-CojsodAG.js";var a={name:"minus",size:24,node:[["path",{d:"M5 12h14",key:"1ays0h"}]]};a.node;var o=e(a);export{o as t};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var m=Object.defineProperty;var o=(e,t)=>m(e,"name",{value:t,configurable:!0});import{g as d}from"./model-picker-fields-Ccq7zMdQ.js";var u={rate_limit:"rate limit",upstream:"upstream error",refusal:"refusal"},f=/:(off|minimal|low|medium|high|xhigh|max|auto)$/;function h(e,t){const r=e.trim().replace(f,"");for(const a of[e.trim(),r]){const n=d(a,t);if(n.provider)return{...n,id:e}}const l=r.indexOf("/");return l<=0||l===r.length-1?{name:r,provider:null,id:e}:{name:r.slice(l+1),provider:r.slice(0,l),id:e}}o(h,"describeFallbackModel");function s(e){return u[e]??e.replace(/_/g," ")}o(s,"modelFallbackReasonLabel");function i(e,t){const r=e?.[t];return typeof r=="string"&&r.trim()?r.trim():null}o(i,"payloadText");function F(e,t){if(e==="model.fallback"){const r=i(t,"to")??"next model",l=i(t,"primary")??i(t,"from"),a=i(t,"reason"),n=[l,a?s(a):null].filter(Boolean).join(": ");return n?`Fallback: ${r} (primary ${n})`:`Fallback: ${r}`}if(e==="model.fallback_restored"){const r=i(t,"to");return r?`Fallback ended: back on ${r}`:"Fallback ended: back on the primary model"}if(e==="model.fallback_exhausted"){const r=i(t,"primary"),l=Array.isArray(t?.tried)?t.tried.filter(c=>typeof c=="string"):[],a=i(t,"reason"),n=[r?`primary ${r}`:null,l.length>0?`tried ${l.join(", ")}`:null,a?s(a):null].filter(Boolean);return n.length>0?`Fallback models exhausted (${n.join("; ")})`:"Fallback models exhausted"}return null}o(F,"describeModelFallbackEvent");export{F as n,s as r,h as t};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var Y=Object.defineProperty;var s=(e,n)=>Y(e,"name",{value:n,configurable:!0});import{i as H}from"./rolldown-runtime-ZpX3ckPj.js";import{$i as Z,dn as z,ea as I,l as y}from"./createLucideIcon-CojsodAG.js";import{o as S,r as T,t as R}from"./popover-DzAyjGvE.js";import{t as ee}from"./arrow-down-Bh_Va5uZ.js";import{t as te}from"./arrow-up-CFw4xH8q.js";import{t as ne}from"./check-B7HoBFck.js";import{t as F}from"./chevron-down-D4v3ODNF.js";import{t as A}from"./button-uuDxAEeK.js";import{t as K}from"./plus-Dud3s9uJ.js";import{t as se}from"./search-D9Bqed53.js";import{t as U}from"./x-Bgd91xX9.js";import{t as re}from"./chip-BWvgDQvN.js";var j=H(I(),1),t=H(Z(),1);function V(e,n){const r=n.find(d=>d.value===e),a=r?B(r):e;return{name:a,provider:r?.group&&a!==e?r.group:null,id:e}}s(V,"describeModelValue");var ae=/\s*\(([^()]+)\)\s*$/;function P(e){return e.toLowerCase().split(/[^a-z0-9]+/).filter(Boolean)}s(P,"nameTokens");function ie(e,n){if(!n)return e;const r=ae.exec(e),a=r?e.slice(0,r.index).trim():"";if(!r||!a)return e;const d=new Set(P(n)),p=P(r[1]);return p.length>0&&p.every(f=>d.has(f))?a:e}s(ie,"withoutProviderTag");function B(e){return ie(e.name??e.label,e.group)}s(B,"optionDisplayName");function Le(e){return e.provider?`${e.name} · ${e.provider}`:e.name}s(Le,"modelValueText");function le(e,n){const r=n.trim().toLowerCase();return r?[e.name,e.label,e.value,e.group].some(a=>a?.toLowerCase().includes(r)):!0}s(le,"modelOptionMatches");function oe(e){const n=new Map;for(const r of e){const a=r.group??"",d=n.get(a)??{provider:r.group??null,options:[]};d.options.push(r),n.set(a,d)}return[...n.values()]}s(oe,"groupModelOptions");function Q({display:e,layout:n,testId:r,className:a,truncateName:d=!1}){const p=r?`${r}-provider`:void 0;return n==="stacked"?(0,t.jsxs)("span",{className:y("block min-w-0",a),title:e.id,children:[(0,t.jsx)("span",{className:"block truncate text-sm font-medium","data-testid":r,children:e.name}),e.provider?(0,t.jsx)("span",{className:"block truncate text-xs text-ink-3","data-testid":p,children:e.provider}):null]}):(0,t.jsxs)("span",{className:y("flex min-w-0 items-center gap-1.5",a),title:e.id,children:[(0,t.jsx)("span",{className:y("truncate",d?"min-w-0 flex-1":"max-w-full shrink-0"),"data-testid":r,children:e.name}),e.provider?(0,t.jsx)("span",{className:y("max-w-(--sz-12rem) truncate rounded border border-line px-1 text-(length:--text-micro) leading-4 text-ink-3",d?"shrink-0":"min-w-8"),"data-testid":p,children:e.provider}):null]})}s(Q,"ModelValueLabel");function ce({option:e}){const n=B(e);return(0,t.jsxs)("span",{className:"min-w-0 flex-1",title:e.value,children:[(0,t.jsx)("span",{className:"block truncate",children:n}),e.value&&n!==e.value?(0,t.jsx)("span",{className:"block truncate font-mono text-xs text-ink-3",children:e.value}):null]})}s(ce,"ModelOptionText");function de({provider:e,testId:n}){return(0,t.jsx)("div",{role:"presentation",className:"px-2 pb-0.5 pt-2 text-(length:--text-micro) font-medium text-ink-3 first:pt-1","data-testid":n,children:e})}s(de,"ModelOptionGroupHeader");function ue(e){const n=e.trim();return n.includes("/")&&n.slice(0,n.indexOf("/")).trim()||null}s(ue,"extractProviderId");function xe(e){const n=e.trim();return n.includes("/")?n.slice(n.indexOf("/")+1).trim():n}s(xe,"extractModelName");var me=new Set(["wardmote_runner"]);function Ae(e){return me.has(e)}s(Ae,"adapterCuratesModelOrder");var he="Search models or paste an ID",pe="Search or type a value",q="flex w-full min-w-0 items-center gap-2 rounded-md border border-line bg-transparent px-2.5 py-1.5 text-left text-sm transition-colors hover:bg-bg-3/50 focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-focus disabled:cursor-not-allowed disabled:opacity-60 disabled:hover:bg-transparent";function G(e){return e.key.length===1&&e.key!==" "&&!e.metaKey&&!e.ctrlKey&&!e.altKey}s(G,"isPrintableKey");function _e(e,n){const r=e.provider??(n?ue(e.id):null),a=e.label!==e.id?e.label:n?xe(e.id):null;return{value:e.id,label:e.label,...r?{group:r}:{},...a?{name:a}:{},...e.thinking?.length?{efforts:e.thinking}:{}}}s(_e,"modelPickerOption");function W({options:e,selected:n,query:r,onQueryChange:a,onSelect:d,searchPlaceholder:p,label:f,note:m,testId:o}){const u=(0,j.useId)(),k=r.trim(),N=oe(e.filter(i=>le(i,k))),D=N.flatMap(i=>i.options.map(x=>x.value)),b=k&&!e.some(i=>i.value===k)?k:null,g=b?[...D,b]:D,[w,v]=(0,j.useState)(()=>Math.max(0,n?g.indexOf(n):0)),c=g.length===0?-1:Math.min(w,g.length-1),E=s(i=>`${u}-option-${i}`,"optionId");(0,j.useEffect)(()=>{c<0||document.getElementById(E(c))?.scrollIntoView?.({block:"nearest"})});const M=s(i=>{if(i.key==="ArrowDown"||i.key==="ArrowUp"){if(i.preventDefault(),g.length===0)return;const x=i.key==="ArrowDown"?1:-1;v((c+x+g.length)%g.length)}else if(i.key==="Home"||i.key==="End"){if(g.length===0)return;i.preventDefault(),v(i.key==="Home"?0:g.length-1)}else if(i.key==="Enter"){i.preventDefault();const x=g[c];x!==void 0&&d(x)}},"handleKeyDown"),O=s((i,x,l)=>(0,t.jsx)("div",{id:E(x),role:"option","aria-selected":i===n,"data-active":x===c?"true":void 0,"data-testid":`${o}-option`,"data-value":i,onMouseDown:s(h=>h.preventDefault(),"onMouseDown"),onMouseMove:s(()=>{x!==c&&v(x)},"onMouseMove"),onClick:s(()=>d(i),"onClick"),className:"flex cursor-pointer items-center gap-2 rounded-sm px-2 py-1.5 text-sm data-[active=true]:bg-bg-3",children:l},i),"optionRow");return(0,t.jsxs)("div",{className:"flex flex-col",children:[(0,t.jsxs)("div",{className:"relative border-b border-line",children:[(0,t.jsx)(se,{className:"pointer-events-none absolute left-2.5 top-1/2 size-4 -translate-y-1/2 text-ink-3","aria-hidden":"true"}),(0,t.jsx)("input",{type:"text",role:"combobox","aria-expanded":"true","aria-controls":u,"aria-autocomplete":"list","aria-activedescendant":c>=0?E(c):void 0,"aria-label":`Search ${f}`,autoComplete:"off",spellCheck:!1,placeholder:p,value:r,onChange:s(i=>{a(i.target.value),v(0)},"onChange"),onKeyDown:M,className:"h-9 w-full bg-transparent pl-8 pr-2.5 text-sm outline-none placeholder:text-ink-3","data-testid":`${o}-search`})]}),(0,t.jsxs)("div",{id:u,role:"listbox","aria-label":f,className:"max-h-72 overflow-y-auto overscroll-contain p-1","data-testid":`${o}-listbox`,children:[N.map(i=>(0,t.jsxs)("div",{role:"group","aria-label":i.provider??void 0,children:[i.provider?(0,t.jsx)(de,{provider:i.provider,testId:`${o}-group-${i.provider}`}):null,i.options.map(x=>{const l=g.indexOf(x.value),h=m?.(x.value)??null;return O(x.value,l,(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(ce,{option:x}),h?(0,t.jsx)("span",{className:"shrink-0 text-xs text-ink-3",children:h}):null,x.value===n?(0,t.jsx)(ne,{className:"size-4 shrink-0","aria-hidden":"true"}):null]}))})]},i.provider??"")),b?O(b,g.length-1,(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(K,{className:"size-4 shrink-0 text-ink-3","aria-hidden":"true"}),(0,t.jsxs)("span",{className:"min-w-0 flex-1 truncate",children:["Use ",(0,t.jsx)("span",{className:"font-mono text-xs",children:b})]}),m?.(b)?(0,t.jsx)("span",{className:"shrink-0 text-xs text-ink-3",children:m(b)}):null]})):null,g.length===0?(0,t.jsx)("p",{className:"px-2 py-2 text-xs text-ink-3",children:e.length===0?"No options yet. Type a value to use it.":"No match."}):null]})]})}s(W,"OptionSearchList");function Se({value:e,options:n,onChange:r,label:a,emptyLabel:d="Not set",searchPlaceholder:p=pe,clearable:f=!0,disablePortal:m,testId:o="combobox-field",effort:u}){const[k,N]=(0,j.useState)(!1),[D,b]=(0,j.useState)(""),g=n.some(c=>c.value===e),w=e||g?V(e,n):null,v=s(c=>{N(c),c||b("")},"changeOpen");return(0,t.jsxs)("div",{className:"relative min-w-0","data-testid":o,children:[(0,t.jsxs)(R,{open:k,onOpenChange:v,children:[(0,t.jsx)(S,{asChild:!0,children:(0,t.jsxs)("button",{type:"button",role:"combobox","aria-haspopup":"listbox","aria-expanded":k,"aria-label":a,title:e||void 0,className:q,onKeyDown:s(c=>{k||(c.key==="ArrowDown"||c.key==="ArrowUp"?(c.preventDefault(),v(!0)):G(c)&&(c.preventDefault(),b(c.key),N(!0)))},"onKeyDown"),"data-testid":`${o}-trigger`,children:[w?(0,t.jsx)(Q,{display:w,layout:"inline",className:"min-w-0 flex-1",testId:`${o}-value`}):(0,t.jsx)("span",{className:"min-w-0 flex-1 truncate text-ink-3","data-testid":`${o}-value`,children:d}),u&&e&&_(u.value,e,n)?(0,t.jsxs)("span",{className:y("shrink-0 text-xs",u.value?"text-ink":"text-ink-3"),"data-testid":`${o}-effort-value`,children:["· ",u.value??u.defaultLabel??"Default effort"]}):null,f&&e?(0,t.jsx)("span",{className:"w-5 shrink-0","aria-hidden":"true"}):null,(0,t.jsx)(F,{className:"size-4 shrink-0 text-ink-3","aria-hidden":"true"})]})}),(0,t.jsxs)(T,{align:"start",disablePortal:m,className:"w-(--radix-popover-trigger-width) min-w-72 p-0",children:[u&&e&&_(u.value,e,n)?(0,t.jsx)(J,{children:(0,t.jsx)(X,{levels:L(e,n),value:u.value,onChange:s(c=>{u.onChange(c),v(!1)},"onChange"),defaultLabel:u.defaultLabel??"Default",label:`Thinking effort for ${a}`,testId:`${o}-effort`})}):null,(0,t.jsx)(W,{options:n,selected:e||null,query:D,onQueryChange:b,onSelect:s(c=>{r(c),u&&L(c,n).length>0||v(!1)},"onSelect"),searchPlaceholder:p,label:a,testId:o})]})]}),f&&e?(0,t.jsx)("button",{type:"button","aria-label":`Clear ${a}`,onClick:s(()=>r(""),"onClick"),className:"absolute right-8.5 top-1/2 grid size-5 -translate-y-1/2 place-items-center rounded-sm text-ink-3 hover:bg-bg-3 hover:text-ink focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-focus","data-testid":`${o}-clear`,children:(0,t.jsx)(U,{className:"size-3.5","aria-hidden":"true"})}):null]})}s(Se,"ComboboxField");var fe=["off","minimal","low","medium","high","xhigh","max"];function L(e,n){if(!e)return[];const r=n.find(a=>a.value===e);return r?r.efforts??[]:fe}s(L,"effortLevelsFor");function _(e,n,r){return L(n,r).length>0||!!e}s(_,"showsEffortControl");function Te(e,n,r){return!e||L(n,r).includes(e)}s(Te,"keepsEffort");function X({levels:e,value:n,onChange:r,defaultLabel:a="Default",label:d,testId:p}){const f=n&&!e.includes(n)?n:null,m=[{value:null,text:a},...e.map(o=>({value:o,text:o})),...f?[{value:f,text:f,muted:!0}]:[]];return(0,t.jsx)("div",{role:"radiogroup","aria-label":d,className:"flex flex-wrap gap-1","data-testid":p,children:m.map(o=>{const u=(o.value??null)===(n??null);return(0,t.jsx)(re,{selected:u,role:"radio","aria-checked":u,title:o.muted?"Not listed for this model":void 0,onClick:s(()=>r(o.value),"onClick"),"data-testid":`${p}-${o.value??"default"}`,children:o.text},o.value??"")})})}s(X,"EffortChips");function J({children:e}){return(0,t.jsxs)("div",{className:"space-y-1.5 border-b border-line px-2.5 py-2",children:[(0,t.jsx)("span",{className:"block text-xs font-medium text-ink-3",children:"Thinking effort"}),e]})}s(J,"EffortHeader");function ge({levels:e,value:n,onChange:r,label:a,testId:d,disablePortal:p}){const[f,m]=(0,j.useState)(!1);return(0,t.jsxs)(R,{open:f,onOpenChange:m,children:[(0,t.jsx)(S,{asChild:!0,children:(0,t.jsxs)("button",{type:"button","aria-label":a,className:y("inline-flex h-6 shrink-0 items-center gap-1 rounded-md border border-line px-1.5 text-xs transition-colors hover:bg-bg-3/50 focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-focus",!n&&"text-ink-3"),"data-testid":d,children:[n??"Default",(0,t.jsx)(F,{className:"size-3 text-ink-3","aria-hidden":"true"})]})}),(0,t.jsx)(T,{align:"end",disablePortal:p,className:"w-auto max-w-72 p-0",children:(0,t.jsx)(J,{children:(0,t.jsx)(X,{levels:e,value:n,onChange:s(o=>{r(o),m(!1)},"onChange"),label:a,testId:`${d}-chips`})})})]})}s(ge,"EffortButton");function Re({count:e,max:n}){return(0,t.jsxs)("span",{className:"text-xs tabular-nums text-ink-3","data-testid":"model-list-count",children:["· ",e,"/",n]})}s(Re,"ModelListCount");function ze({value:e,options:n,maxItems:r,primary:a,onChange:d,label:p,disablePortal:f,testId:m,currentEfforts:o,onEffortChange:u}){const[k,N]=(0,j.useState)(!1),[D,b]=(0,j.useState)(""),[g,w]=(0,j.useState)(null),v=e.length>=r,c=z([...e],a),E=g??(c.ok?null:c.message),M=s(l=>{N(l&&!v),l||b("")},"changeOpen"),O=s(l=>{const h=z(l,a);return h.ok?h.value.length>r?(w(`Pick at most ${r} fallback models.`),!1):(w(null),d(h.value),!0):(w(h.message),!1)},"commit"),i=s((l,h)=>{const C=l+h;if(C<0||C>=e.length)return;const $=[...e];[$[l],$[C]]=[$[C],$[l]],O($)},"move"),x=s(l=>a&&l===a?"Main model":e.includes(l)?"Added":null,"note");return(0,t.jsxs)("div",{className:"space-y-1.5","data-testid":m,children:[e.length>0?(0,t.jsx)("ol",{className:"divide-y divide-line overflow-hidden rounded-md border border-line","aria-label":p,children:e.map((l,h)=>(0,t.jsxs)("li",{"data-testid":`${m}-item`,className:"flex min-w-0 items-center gap-2 py-1 pl-2.5 pr-1 text-sm",children:[(0,t.jsx)("span",{className:"w-4 shrink-0 text-xs tabular-nums text-ink-3","aria-hidden":"true",children:h+1}),(0,t.jsx)(Q,{display:V(l,n),layout:"inline",className:"min-w-0 flex-1",truncateName:!0}),u&&_(o?.[l],l,n)?(0,t.jsx)(ge,{levels:L(l,n),value:o?.[l]??null,onChange:s(C=>u(l,C),"onChange"),label:`Thinking effort for ${l}`,testId:`${m}-effort`,disablePortal:f}):null,(0,t.jsxs)("div",{className:"flex shrink-0 items-center",children:[(0,t.jsx)(A,{type:"button",variant:"ghost",size:"icon-xs","aria-label":`Move ${l} up`,disabled:h===0,onClick:s(()=>i(h,-1),"onClick"),children:(0,t.jsx)(te,{"aria-hidden":"true"})}),(0,t.jsx)(A,{type:"button",variant:"ghost",size:"icon-xs","aria-label":`Move ${l} down`,disabled:h===e.length-1,onClick:s(()=>i(h,1),"onClick"),children:(0,t.jsx)(ee,{"aria-hidden":"true"})}),(0,t.jsx)(A,{type:"button",variant:"ghost",size:"icon-xs","aria-label":`Remove ${l}`,onClick:s(()=>O(e.filter((C,$)=>$!==h)),"onClick"),children:(0,t.jsx)(U,{"aria-hidden":"true"})})]})]},l))}):null,(0,t.jsx)("div",{"data-testid":`${m}-picker`,children:(0,t.jsxs)(R,{open:k,onOpenChange:M,children:[(0,t.jsx)(S,{asChild:!0,children:(0,t.jsxs)("button",{type:"button","aria-haspopup":"listbox","aria-expanded":k,disabled:v,className:y(q,"border-dashed text-ink-3 hover:text-ink"),onKeyDown:s(l=>{k||!G(l)||(l.preventDefault(),b(l.key),M(!0))},"onKeyDown"),"data-testid":`${m}-add`,children:[(0,t.jsx)(K,{className:"size-4 shrink-0","aria-hidden":"true"}),(0,t.jsx)("span",{className:"min-w-0 flex-1 truncate",children:v?`Limit of ${r} reached. Remove one to add another.`:"Add fallback model"})]})}),(0,t.jsx)(T,{align:"start",disablePortal:f,className:"w-(--radix-popover-trigger-width) min-w-72 p-0",children:(0,t.jsx)(W,{options:n,selected:null,query:D,onQueryChange:b,onSelect:s(l=>{O([...e,l]),M(!1)},"onSelect"),searchPlaceholder:he,label:p,note:x,testId:`${m}-add`})})]})}),E?(0,t.jsx)("p",{role:"alert",className:"text-xs text-bad","data-testid":`${m}-error`,children:E}):null]})}s(ze,"ModelListField");export{oe as _,ze as a,Te as c,Ae as d,ue as f,V as g,Q as h,Re as i,_e as l,ce as m,X as n,W as o,de as p,he as r,L as s,Se as t,_ as u,le as v,Le as y};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{t}from"./createLucideIcon-CojsodAG.js";var e={name:"network",size:24,node:[["rect",{x:"16",y:"16",width:"6",height:"6",rx:"1",key:"4q2zg0"}],["rect",{x:"2",y:"16",width:"6",height:"6",rx:"1",key:"8cvhb9"}],["rect",{x:"9",y:"2",width:"6",height:"6",rx:"1",key:"1egb70"}],["path",{d:"M5 16v-3a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1v3",key:"1jsf9p"}],["path",{d:"M12 12V8",key:"2874zd"}]]};e.node;var h=t(e);export{h as t};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{t}from"./createLucideIcon-CojsodAG.js";var a={name:"octagon-alert",size:24,node:[["path",{d:"M12 16h.01",key:"1drbdi"}],["path",{d:"M12 8v4",key:"1got3b"}],["path",{d:"M15.312 2a2 2 0 0 1 1.414.586l4.688 4.688A2 2 0 0 1 22 8.688v6.624a2 2 0 0 1-.586 1.414l-4.688 4.688a2 2 0 0 1-1.414.586H8.688a2 2 0 0 1-1.414-.586l-4.688-4.688A2 2 0 0 1 2 15.312V8.688a2 2 0 0 1 .586-1.414l4.688-4.688A2 2 0 0 1 8.688 2z",key:"1fd625"}]],aliases:["alert-octagon"]};a.node;var o=t(a);export{o as t};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{t as e}from"./createLucideIcon-CojsodAG.js";var a={name:"octagon-x",size:24,node:[["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"M2.586 16.726A2 2 0 0 1 2 15.312V8.688a2 2 0 0 1 .586-1.414l4.688-4.688A2 2 0 0 1 8.688 2h6.624a2 2 0 0 1 1.414.586l4.688 4.688A2 2 0 0 1 22 8.688v6.624a2 2 0 0 1-.586 1.414l-4.688 4.688a2 2 0 0 1-1.414.586H8.688a2 2 0 0 1-1.414-.586z",key:"2d38gg"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]],aliases:["x-octagon"]};a.node;var t=e(a);export{t};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var p=Object.defineProperty;var a=(e,s)=>p(e,"name",{value:s,configurable:!0});import{G as S,K as M,V as y,W as P,at as b,nt as d,q as T,rt as _,z as f}from"./createLucideIcon-CojsodAG.js";import{r as l,t as u,v as c}from"./queryKeys-Blv2Qg4s.js";import{t as k}from"./agents-rnSnrQC4.js";var i=a(e=>`/companies/${encodeURIComponent(e)}`,"base"),h={get:a(e=>l.get(`${i(e)}/agent-defaults`),"get"),save:a((e,s)=>l.put(`${i(e)}/agent-defaults`,{values:s}),"save"),presetUsage:a(e=>l.get(`${i(e)}/agent-defaults/preset-usage`),"presetUsage"),ompSettings:a(e=>l.get(`${i(e)}/omp/settings`),"ompSettings")},g="omp_local",q={style:{label:"Style",help:"Sets how hard agents think and check"},model:{label:"Model",help:"From the models OMP reports"},thinking:{label:"Thinking",help:"More thinking is slower and costs more"},backup:{label:"Backup models",help:"Used when the model is busy or down"},tools:{label:"Tools",help:"What agents may do on the machine"},limit:{label:"Stop a run after",help:"One value sets OMP's deadline and the process timeout"}};function m(e){const s={};for(const[n,t]of Object.entries(e))if(t!==void 0){if(n==="ompSettings"&&t&&typeof t=="object"&&!Array.isArray(t)){for(const[r,o]of Object.entries(t))o!==void 0&&(s[P+r]=o);continue}s[n]=t}return s}a(m,"settingsValuesFromConfig");function L(e){return Object.fromEntries(Object.entries(e).filter(([,s])=>s!==void 0))}a(L,"omitUndefined");function K(e,s){return Object.keys(f).filter(n=>f[n].some(t=>!b(d(e,t),d(s,t))))}a(K,"changedControls");function N(e,s){const n=m(e),t=m(s);return[...new Set([...Object.keys(n),...Object.keys(t)])].filter(r=>!b(n[r],t[r]))}a(N,"changedPaths");function O(e,s){return s.find(n=>n.id===e)?.label??e}a(O,"modelLabel");function $(e,s,n){const t=_(s)[e];switch(e){case"style":return t?S[t].label:"OMP default";case"model":return t?O(t,n):"OMP default";case"thinking":return t?M[t].label:typeof s.thinking=="string"?s.thinking:"OMP default";case"backup":{const r=Array.isArray(s.fallbackModels)?s.fallbackModels:[];return r.length===0?"None":`${t==="automatic"?"Automatic":"Custom"}: ${r.map(o=>O(o,n)).join(", then ")}`}case"tools":return t?T[t].label:"Custom";case"limit":return t?y[t].label:"OMP default (12 hours)"}}a($,"describeChoice");function w(e){return c({queryKey:u.agents.adapterModels(e??"",g),queryFn:a(()=>k.adapterModels(e,g),"queryFn"),enabled:!!e,staleTime:6e4})}a(w,"useOmpModels");function F(e){return c({queryKey:u.agentDefaults.values(e??""),queryFn:a(()=>h.get(e),"queryFn"),enabled:!!e})}a(F,"useAgentDefaults");function H(e){return c({queryKey:u.agentDefaults.ompSettings(e??""),queryFn:a(()=>h.ompSettings(e),"queryFn"),enabled:!!e,staleTime:3e5})}a(H,"useOmpSettingsCatalog");export{$ as a,F as c,h as d,N as i,w as l,g as n,L as o,K as r,m as s,q as t,H as u};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{t as a}from"./createLucideIcon-CojsodAG.js";var e={name:"cpu",size:24,node:[["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M17 20v2",key:"1rnc9c"}],["path",{d:"M17 2v2",key:"11trls"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M2 17h2",key:"7oei6x"}],["path",{d:"M2 7h2",key:"asdhe0"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"M20 17h2",key:"1fpfkl"}],["path",{d:"M20 7h2",key:"1o8tra"}],["path",{d:"M7 20v2",key:"4gnj0m"}],["path",{d:"M7 2v2",key:"1i4yhu"}],["rect",{x:"4",y:"4",width:"16",height:"16",rx:"2",key:"1vbyd7"}],["rect",{x:"8",y:"8",width:"8",height:"8",rx:"1",key:"z9xiuo"}]]};e.node;var d=a(e),t={name:"package",size:24,node:[["path",{d:"M11 21.73a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 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.73z",key:"1a0edw"}],["path",{d:"M12 22V12",key:"d0xqtd"}],["polyline",{points:"3.29 7 12 12 20.71 7",key:"ousv84"}],["path",{d:"m7.5 4.27 9 5.15",key:"1c824w"}]]};t.node;var p=a(t);export{d as n,p as t};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{t as e}from"./createLucideIcon-CojsodAG.js";var a={name:"paperclip",size:24,node:[["path",{d:"m16 6-8.414 8.586a2 2 0 0 0 2.829 2.829l8.414-8.586a4 4 0 1 0-5.657-5.657l-8.379 8.551a6 6 0 1 0 8.485 8.485l8.379-8.551",key:"1miecu"}]]};a.node;var r=e(a);export{r as t};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{t}from"./createLucideIcon-CojsodAG.js";var e={name:"pause",size:24,node:[["rect",{x:"14",y:"3",width:"5",height:"18",rx:"1",key:"kaeet6"}],["rect",{x:"5",y:"3",width:"5",height:"18",rx:"1",key:"1wsw3u"}]]};e.node;var r=t(e);export{r as t};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{t as e}from"./createLucideIcon-CojsodAG.js";var a={name:"pen-line",size:24,node:[["path",{d:"M13 21h8",key:"1jsn5i"}],["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}]],aliases:["edit-3"]};a.node;var i=e(a);export{i as t};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
var F=Object.defineProperty;var i=(e,t)=>F(e,"name",{value:t,configurable:!0});import{i as S}from"./rolldown-runtime-ZpX3ckPj.js";import{$i as I,ea as C,l as N}from"./createLucideIcon-CojsodAG.js";import{t as f,v as g}from"./queryKeys-Blv2Qg4s.js";import{n as T}from"./CompanyContext-B-YBtpBW.js";import{t as P}from"./router-DOn_zzSy.js";import{t as L}from"./chevron-right-D631sOQD.js";import{t as _}from"./triangle-alert-CnP3ordc.js";import{t as K}from"./agents-rnSnrQC4.js";import{t as R}from"./projects-Cf22MjS6.js";import{t as O}from"./access-BkSc-YvP.js";import{t as h}from"./assignees-DkQNbPzi.js";import{Jn as M}from"./index-Bd1jE1Sa.js";function he(e){return e==="done"||e==="cancelled"}i(he,"isPipelineTerminalStageKind");function be(e){const t={};for(const r of e)(t[r.stageId]??=[]).push(r);return t}i(be,"groupWarningsByStage");var q=S(C(),1);function ye(e={}){const{selectedCompanyId:t}=T(),r=e.companyId??t,n=(e.enabled??!0)&&!!r,s=g({queryKey:r?f.agents.list(r):["agents","standard-mentions","none"],queryFn:i(()=>K.list(r),"queryFn"),enabled:n&&e.agents===void 0}),o=g({queryKey:r?f.projects.list(r):["projects","standard-mentions","none"],queryFn:i(()=>R.list(r),"queryFn"),enabled:n&&e.projects===void 0}),u=g({queryKey:r?f.access.companyUserDirectory(r):["access","standard-mentions","users","none"],queryFn:i(()=>O.listUserDirectory(r),"queryFn"),enabled:n&&e.members===void 0}),l=e.agents??s.data,c=e.projects??o.data,x=e.members??u.data?.users;return(0,q.useMemo)(()=>M({agents:l,projects:c,members:x}),[l,x,c])}i(ye,"useStandardMarkdownMentionOptions");var D=new Set(["nextSuggestedStageId","suggestionResolution","upstreamDrift","upstreamChanged","changeAcknowledgedAt","thisChanged"]);function d(e){return typeof e=="string"&&e.trim()?e.trim():null}i(d,"readString");function b(e){return e&&typeof e=="object"&&!Array.isArray(e)?e:null}i(b,"readRecord");function y(e,t){return!t||!e?null:Array.isArray(e)?e.find(r=>r.key===t||r.id===t)?.name??null:e instanceof Map?e.get(t)??null:e[t]??null}i(y,"stageNameFromLookup");function v(e){return e.replace(/[_-]+/g," ").replace(/([a-z0-9])([A-Z])/g,"$1 $2").trim().replace(/\s+/g," ").replace(/^./,t=>t.toUpperCase())}i(v,"humanizeKey");function ve(e){if(!e)return"Open";const t=e.trim().toLowerCase();return t?{open:"Open",working:"In progress",done:"Done",cancelled:"Removed",in_review:"In review",review:"In review",in_progress:"In progress"}[t]??v(t):"Open"}i(ve,"humanizePipelineItemStatus");function $(e){if(Array.isArray(e)){const r=e.map($).filter(Boolean);return r.length?r.join(", "):"None"}if(e==null||e==="")return"None";if(typeof e=="boolean")return e?"Yes":"No";if(typeof e=="number")return String(e);if(typeof e=="string")return e;const t=b(e);return t?d(t.label)??d(t.name)??d(t.title)??"Added details":String(e)}i($,"formatFieldValue");function xe(e){return Object.entries(e??{}).filter(([t])=>!D.has(t)).map(([t,r])=>({key:t,label:v(t),value:$(r)}))}i(xe,"displayPipelineItemFields");var W=180;function B(e){const t=e.value.trim();return!t||t==="None"?!1:t.includes(`
|
|
2
|
-
`)||t.length>=W}i(B,"isLongPipelineItemField");function ke(e){const t=[],r=[];for(const n of e)B(n)?r.push(n):t.push(n);return{shortFields:t,longFields:r}}i(ke,"splitPipelineItemFields");function p(e){return e?h(e)||h({assigneeAgentId:e.createdByAgentId}):""}i(p,"sourceIssueAssigneeValue");function Ae(e){const t=e.conversationIssue??null,r=h(t??{});if(r)return r;const n=e.conversationSource;if(n?.issue&&n.kind!=="explicit_conversation"){const o=p(n.issue);if(o)return o}const s=(e.issueLinks??[]).filter(o=>o.link.role!=="conversation").slice().reverse();return p(((t?.parentId?s.find(o=>o.issue.id===t.parentId):null)??s.find(o=>p(o.issue)))?.issue)}i(Ae,"pipelineConversationStarterAssigneeValue");function E(e){const t=e.pipeline?.id,r=e.stage;return!t||!r?null:{case:{id:e.id,pipelineId:t,stageId:r.id,caseKey:e.caseKey??null,title:e.title,fields:{},terminalKind:e.terminalKind??null,childCount:e.rollup?.total??e.childGroups?.reduce((n,s)=>n+(s.cases?.length??0),0)??0,createdAt:e.createdAt,updatedAt:e.updatedAt},stage:{id:r.id,pipelineId:t,key:r.key,name:r.name,kind:r.kind,position:0}}}i(E,"treeNodeToChildRow");function we(e){if(Array.isArray(e))return e.filter(r=>{const n=r;return!!(n.case?.id&&n.case.pipelineId&&n.stage?.id)});const t=b(e);return t?(t.childGroups??t.case?.childGroups??[]).flatMap(r=>r.cases??[]).map(E).filter(r=>!!r):[]}i(we,"normalizePipelineChildRows");function Se(e,t){const r=e.fields??{};if(r.suggestionResolution||r.changeAcknowledgedAt)return{visible:!1,reason:"resolved"};const n=e.pendingSuggestion??null,s=n?.toStageKey??d(r.nextSuggestedStageId);return s?{visible:!0,suggestionId:n?.id??null,toStageKey:s,stageName:y(t,s)??"the next stage",rationale:n?.rationale??null}:{visible:!1,reason:"no_next_stage"}}i(Se,"getPendingTransitionBannerState");function Ne(e){const t=e.fields??{};return e.changeAcknowledgedAt||t.changeAcknowledgedAt?null:e.thisChanged||t.thisChanged||t.upstreamChanged||t.upstreamDrift?{title:"This changed",body:"Upstream work changed after this item was created. Review the latest details before continuing."}:null}i(Ne,"itemHasChangedNotice");function U(e){const t=e.filter(r=>r.type==="drift_acknowledged").map(r=>new Date(r.createdAt).getTime()).filter(r=>Number.isFinite(r)).reduce((r,n)=>Math.max(r,n),0);return e.some(r=>{if(r.type!=="upstream_drift")return!1;const n=new Date(r.createdAt).getTime();return Number.isFinite(n)&&n>t})}i(U,"eventsHaveUnacknowledgedDrift");function _e(e){return U(e)?{title:"This changed",body:"Upstream work changed after this item was created. Review the latest details before continuing."}:null}i(_e,"changedNoticeFromEvents");function k(e,t,r){const n=r==="from"?e.fromStage:e.toStage;return n?.name?n.name:y(t,(r==="from"?e.fromStageId:e.toStageId)??void 0)}i(k,"stageName");function A(e){return d(e.decision)?.toLowerCase()??null}i(A,"readDecision");function z(e){return e.actorAgent?.name?e.actorAgent.name:e.actorType==="user"?"Board":e.actorType==="system"?"Wardmote":null}i(z,"actorName");function H(e){const t=d(e.reason);return t?t==="children_terminal"?"all child items done":t:null}i(H,"movementReason");function V(e,t){const r=d(t.transitionClass)?.toLowerCase();return r==="auto"||r==="automatic"||e.actorType==="system"&&d(t.reason)==="children_terminal"?"automatic":r==="manual"?"manual":r}i(V,"movementClass");function G(e){const t=e.automation?.issue;return t?t.identifier??t.title:null}i(G,"automationIssueLabel");function Q(e){return v(e).replace(/^./,t=>t.toLowerCase())}i(Q,"humanizeReason");function $e(e,t){const r=e.type.startsWith("case.")?e.type.slice(5):e.type,n=e.payload??{};if(r==="ingested")return"Item added.";if(r==="updated")return n.action==="stage_automation_rerun_requested"?"Stage automation re-run requested.":"Item details updated.";if(r==="transitioned"){const s=k(e,t,"from"),o=k(e,t,"to"),u=s&&o?`Moved from ${s} to ${o}`:o?`Moved to ${o}`:"Moved to another stage",l=H(n);if(V(e,n)==="automatic")return`${u} — automatic${l?` (${l})`:""}.`;const c=z(e);return l&&c?`${u} — ${c}: '${l}'.`:l?`${u} — '${l}'.`:c&&e.actorType!=="system"?`${u} — ${c}.`:`${u}.`}if(r==="suggested"||r==="transition_suggested")return`Suggested moving to ${y(t,d(b(n.suggestion)?.toStageKey)??d(n.toStageKey))??"the next stage"}.`;if(r==="suggestion_resolved"){const s=A(n);return s==="accept"?"Suggestion approved.":s==="dismiss"?"Suggestion dismissed.":"Suggestion resolved."}if(r==="reviewed"||r==="review_decided"){const s=A(n);return s==="request_changes"?"Review requested changes.":s==="drop"||s==="reject"?"Review removed this item.":s==="approve"?"Review approved this item.":"Review completed."}if(r==="conversation_opened")return"Conversation started.";if(r==="issue_linked")return"Linked to work.";if(r==="issue_unlinked")return"Work link removed.";if(r==="blockers_set")return"Waiting items updated.";if(r==="blockers_resolved")return"Waiting items cleared.";if(r==="children_terminal")return"Built-from items completed.";if(r==="upstream_drift"){const s=d(n.upstreamCaseKey);return s?`Upstream change detected from ${s}.`:"Upstream change detected."}if(r==="drift_acknowledged")return"Upstream change acknowledged.";if(r==="automation_executed"){const s=e.automation?.routine?.title??"the automation",o=G(e);return`Automation completed — ran ${s}${o?` -> ${o}`:""}.`}if(r==="automation_failed"){const s=d(n.error);return`Automation needs attention${s?` — ${Q(s)}`:""}.`}return r==="claimed"?"Work started.":r==="lease_released"||r==="lease_expired"?"Work handoff cleared.":"Activity recorded."}i($e,"formatPipelineItemEvent");var a=S(I(),1);function Y(e){return`${e} thing${e===1?"":"s"} to fix`}i(Y,"warningCount");var Z=5;function j({warning:e}){return(0,a.jsxs)(a.Fragment,{children:[e.message,e.href?(0,a.jsxs)(a.Fragment,{children:[" ",(0,a.jsx)(P,{to:e.href,className:"font-medium underline underline-offset-2",children:e.hrefLabel??"Open"})]}):null]})}i(j,"WarningMessage");function je({warnings:e,onSelectStage:t,className:r}){if(e.length===0)return null;const n=e.slice(0,Z),s=e.length-n.length;return(0,a.jsxs)("div",{role:"region","aria-labelledby":"pipeline-health-bar-heading",className:N("rounded-md border border-amber-200 bg-amber-50 px-3 py-2.5 text-amber-900 dark:border-amber-300/30 dark:bg-amber-400/10 dark:text-amber-200",r),children:[(0,a.jsxs)("h2",{id:"pipeline-health-bar-heading",className:"flex items-center gap-2 text-sm font-semibold",children:[(0,a.jsx)(_,{className:"h-4 w-4 shrink-0"}),(0,a.jsxs)("span",{children:["Some steps won't run yet — ",Y(e.length)]})]}),(0,a.jsx)("ul",{className:"mt-1.5 space-y-1 pl-6 text-sm",children:n.map((o,u)=>{const l=(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("span",{className:"font-medium",children:[o.stageName,":"]})," ",(0,a.jsx)(j,{warning:o})]});return(0,a.jsx)("li",{className:"list-disc",children:o.href?(0,a.jsx)("span",{children:l}):t?(0,a.jsxs)("button",{type:"button","aria-label":`Open ${o.stageName} settings`,className:"group flex w-full items-start gap-1 text-left underline-offset-2 hover:underline",onClick:i(()=>t(o.stageId),"onClick"),children:[(0,a.jsx)("span",{className:"min-w-0 flex-1",children:l}),(0,a.jsx)(L,{className:"mt-0.5 h-3 w-3 shrink-0 opacity-70","aria-hidden":"true"})]}):(0,a.jsx)("span",{children:l})},`${o.stageId}-${o.code}-${u}`)})}),s>0?(0,a.jsxs)("p",{className:"mt-1.5 pl-6 text-xs text-amber-800/80 dark:text-amber-200/70",children:["+",s," more in stage settings"]}):null]})}i(je,"PipelineHealthBar");function Fe({warnings:e,className:t}){return e.length===0?null:(0,a.jsxs)("div",{role:"region","aria-labelledby":"stage-health-warnings-heading",className:N("rounded-md border border-amber-200 bg-amber-50 px-3 py-2.5 text-sm text-amber-900 dark:border-amber-300/30 dark:bg-amber-400/10 dark:text-amber-200",t),children:[(0,a.jsxs)("h2",{id:"stage-health-warnings-heading",className:"flex items-center gap-2 text-sm font-semibold",children:[(0,a.jsx)(_,{className:"h-4 w-4 shrink-0"}),(0,a.jsx)("span",{children:e.length===1?"This step won't run yet":`This step won't run yet — ${e.length} things to fix`})]}),(0,a.jsx)("ul",{className:"mt-1.5 space-y-1 pl-6",children:e.map((r,n)=>(0,a.jsx)("li",{className:"list-disc",children:(0,a.jsx)(j,{warning:r})},`${r.code}-${n}`))})]})}i(Fe,"StageHealthWarnings");function m(e){return typeof e=="string"?e.trim():""}i(m,"asString");function w(e){if(!Array.isArray(e))return[];const t=new Set;return e.flatMap(r=>{const n=m(r);return!n||t.has(n)?[]:(t.add(n),[n])})}i(w,"asStringList");function J(e,t){const r=e.carryOverPolicy;if(r&&typeof r=="object"&&!Array.isArray(r)){const n=r;return{version:1,mode:n.mode==="all_except"||n.mode==="only"?n.mode:"all_except",includeFields:w(n.includeFields),excludeFields:w(n.excludeFields)}}return{version:1,mode:"only",includeFields:t,excludeFields:[]}}i(J,"readCarryOverPolicy");function X(e){const t=e.replace(/[^A-Za-z0-9]/g,"").toLowerCase();return t==="name"||t==="title"||t==="casename"||t==="casetitle"}i(X,"isCarryOverIdentityFieldKey");function Ie(e,t){return!e||X(t)?!1:e.mode==="only"?e.includeFields.includes(t):!e.excludeFields.includes(t)}i(Ie,"isCarryOverFieldEnabled");function Ce(e){const t=e?.config?.breakdown;if(!t||typeof t!="object"||Array.isArray(t))return null;const r=t,n=Array.isArray(r.inheritFields)?r.inheritFields.filter(o=>typeof o=="string"&&o.trim().length>0).map(o=>o.trim()):[],s=J(r,n);return{targetPipelineId:m(r.targetPipelineId),targetStageKey:m(r.targetStageKey),pieceNoun:m(r.pieceNoun)||"piece",inheritFields:n,carryOverPolicy:s,advanceTo:m(r.advanceTo)||null,waitForPieces:r.waitForPieces===!0,whenFinishedMoveTo:m(r.whenFinishedMoveTo)||null}}i(Ce,"readStageBreakdown");function Te(e){return`${e.trim()||"piece"}s`}i(Te,"pieceNounPlural");function ee(e){const t=e.filter(r=>r.trim().length>0);return t.length===0?"":t.length===1?t[0]:t.length===2?`${t[0]} and ${t[1]}`:`${t.slice(0,-1).join(", ")} and ${t[t.length-1]}`}i(ee,"joinWithAnd");function Pe(e,t){if(!e.targetPipelineId||!e.targetStageKey||!t.targetPipelineName)return null;const r=e.pieceNoun,n=[`Wardmote will create one ${r} per item in ${t.targetPipelineName} → ${t.entryStageName}`];t.inheritedFieldLabels.length>0&&n.push(`carry over ${ee(t.inheritedFieldLabels)}`),t.advanceToName&&n.push(`move this case to ${t.advanceToName}`);let s=n.join(", ");return e.waitForPieces&&t.whenFinishedName&&(s+=`, then wait until every ${r} is finished before moving it to ${t.whenFinishedName}`),`${s}.`}i(Pe,"breakdownSummarySentence");var te={outer:"border-line bg-bg",header:"border-line text-ink-3",meta:"border-line",body:"",bodyOver:"bg-bg-3/40"},re={review:{outer:"border-violet-500/25 bg-violet-50/50 dark:bg-violet-950/15",header:"border-violet-500/15 text-violet-700 dark:text-violet-300",meta:"border-violet-500/15",body:"bg-violet-50/30 dark:bg-violet-950/10",bodyOver:"bg-violet-100/65 dark:bg-violet-950/30"},in_review:{outer:"border-violet-500/25 bg-violet-50/50 dark:bg-violet-950/15",header:"border-violet-500/15 text-violet-700 dark:text-violet-300",meta:"border-violet-500/15",body:"bg-violet-50/30 dark:bg-violet-950/10",bodyOver:"bg-violet-100/65 dark:bg-violet-950/30"},done:{outer:"border-green-500/25 bg-green-50/50 dark:bg-green-950/15",header:"border-green-500/15 text-green-700 dark:text-green-300",meta:"border-green-500/15",body:"bg-green-50/30 dark:bg-green-950/10",bodyOver:"bg-green-100/65 dark:bg-green-950/30"},cancelled:{outer:"border-neutral-300/70 bg-bg-3/25 opacity-85 dark:border-neutral-700/70 dark:bg-neutral-900/20",header:"border-line/70 text-ink-3/80",meta:"border-line/70",body:"bg-bg-3/20",bodyOver:"bg-bg-3/45"}};function Le(e){return re[e?.trim().toLowerCase()??""]??te}i(Le,"getPipelineStageColumnTone");function Ke(e,t){return`/pipelines/${e}/settings?stage=${t}§ion=instructions`}i(Ke,"pipelineStageAutomationSettingsHref");export{he as S,we as _,X as a,ye as b,je as c,_e as d,xe as f,Ne as g,ve as h,Ie as i,Fe as l,Se as m,Ke as n,Te as o,$e as p,Pe as r,Ce as s,Le as t,D as u,Ae as v,be as x,ke as y};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var p=Object.defineProperty;var t=(e,s)=>p(e,"name",{value:s,configurable:!0});import{r as n}from"./queryKeys-Blv2Qg4s.js";var m={list:t(e=>n.get(`/companies/${e}/pipelines`),"list"),create:t((e,s)=>n.post(`/companies/${e}/pipelines`,s),"create"),get:t(e=>n.get(`/pipelines/${e}`),"get"),getHealth:t(e=>n.get(`/pipelines/${e}/health`),"getHealth"),update:t((e,s)=>n.patch(`/pipelines/${e}`,s),"update"),createStage:t((e,s)=>n.post(`/pipelines/${e}/stages`,s),"createStage"),updateStage:t((e,s,a)=>n.patch(`/pipelines/${e}/stages/${s}`,a),"updateStage"),updateStageAutomationEnv:t((e,s,a)=>n.patch(`/pipelines/${e}/stages/${s}/automation-env`,a),"updateStageAutomationEnv"),deleteStage:t((e,s,a)=>{const i=new URLSearchParams;a?.moveCasesToStageId&&i.set("moveCasesToStageId",a.moveCasesToStageId);const o=i.toString();return n.delete(`/pipelines/${e}/stages/${s}${o?`?${o}`:""}`)},"deleteStage"),setTransitions:t((e,s)=>n.put(`/pipelines/${e}/transitions`,s),"setTransitions"),getDocument:t((e,s)=>n.get(`/pipelines/${e}/documents/${encodeURIComponent(s)}`),"getDocument"),upsertDocument:t((e,s,a)=>n.put(`/pipelines/${e}/documents/${encodeURIComponent(s)}`,a),"upsertDocument"),listDocumentRevisions:t((e,s)=>n.get(`/pipelines/${e}/documents/${encodeURIComponent(s)}/revisions`),"listDocumentRevisions"),restoreDocumentRevision:t((e,s,a)=>n.post(`/pipelines/${e}/documents/${encodeURIComponent(s)}/revisions/${a}/restore`,{}),"restoreDocumentRevision"),getCaseDocument:t((e,s)=>n.get(`/cases/${e}/documents/${encodeURIComponent(s)}`),"getCaseDocument"),upsertCaseDocument:t((e,s,a)=>n.put(`/cases/${e}/documents/${encodeURIComponent(s)}`,a),"upsertCaseDocument"),listCaseDocumentRevisions:t((e,s)=>n.get(`/cases/${e}/documents/${encodeURIComponent(s)}/revisions`),"listCaseDocumentRevisions"),restoreCaseDocumentRevision:t((e,s,a)=>n.post(`/cases/${e}/documents/${encodeURIComponent(s)}/revisions/${a}/restore`,{}),"restoreCaseDocumentRevision"),getIntakeForm:t(e=>n.get(`/pipelines/${e}/intake-form`),"getIntakeForm"),listCases:t((e,s)=>{const a=new URLSearchParams;s?.parentCaseId&&a.set("parentCaseId",s.parentCaseId),s?.terminal!==void 0&&a.set("terminal",s.terminal?"true":"false");const i=a.toString();return n.get(`/pipelines/${e}/cases${i?`?${i}`:""}`)},"listCases"),getCase:t(e=>n.get(`/cases/${e}`),"getCase"),getCaseChildren:t(e=>n.get(`/cases/${e}/children`),"getCaseChildren"),getCaseChildrenTree:t(e=>n.get(`/cases/${e}/children/tree`),"getCaseChildrenTree"),getCaseEvents:t((e,s)=>{const a=new URLSearchParams;s?.limit!==void 0&&a.set("limit",String(s.limit)),s?.offset!==void 0&&a.set("offset",String(s.offset)),s?.order&&a.set("order",s.order);const i=a.toString();return n.get(`/cases/${e}/events${i?`?${i}`:""}`)},"getCaseEvents"),getCaseIssueLinks:t(e=>n.get(`/cases/${e}/issue-links`),"getCaseIssueLinks"),getCaseOutputs:t(e=>n.get(`/cases/${e}/outputs`),"getCaseOutputs"),createIssueLink:t((e,s)=>s.issueId?n.post(`/cases/${e}/issue-links`,s):n.post(`/cases/${e}/open-conversation`,{}),"createIssueLink"),updateCase:t((e,s)=>n.patch(`/cases/${e}`,s),"updateCase"),acknowledgeDrift:t((e,s)=>n.post(`/cases/${e}/acknowledge-drift`,s??{}),"acknowledgeDrift"),resolveSuggestion:t((e,s)=>n.post(`/cases/${e}/resolve-suggestion`,s),"resolveSuggestion"),transitionCase:t((e,s)=>n.post(`/cases/${e}/transition`,s),"transitionCase"),rerunCurrentStageAutomation:t(e=>n.post(`/cases/${e}/automation/current-stage/rerun`,{}),"rerunCurrentStageAutomation"),getAutomationRetryPlan:t((e,s,a)=>{const i=new URLSearchParams({scope:s});return a&&i.set("targetStageId",a),n.get(`/cases/${e}/automation/retry-plan?${i.toString()}`)},"getAutomationRetryPlan"),retryStageAutomation:t((e,s)=>n.post(`/cases/${e}/automation/retry`,s),"retryStageAutomation"),retryAutomation:t((e,s)=>n.post(`/cases/${e}/automations/${s}/retry`,{}),"retryAutomation"),ingestCasesBatch:t((e,s)=>n.post(`/pipelines/${e}/cases/batch`,s),"ingestCasesBatch"),listAttention:t((e,s)=>{const a=new URLSearchParams;s?.limit!==void 0&&a.set("limit",String(s.limit));const i=a.toString();return n.get(`/companies/${e}/pipelines-attention${i?`?${i}`:""}`)},"listAttention"),listReviewCases:t((e,s)=>{const a=new URLSearchParams;s?.pipelineId&&a.set("pipelineId",s.pipelineId),s?.parentCaseId&&a.set("parentCaseId",s.parentCaseId);const i=a.toString();return n.get(`/companies/${e}/review-cases${i?`?${i}`:""}`)},"listReviewCases"),reviewCase:t((e,s)=>n.post(`/cases/${e}/review`,s),"reviewCase"),bulkReviewCases:t((e,s)=>n.post(`/companies/${e}/review-cases/bulk`,s),"bulkReviewCases"),listCompanyCaseEvents:t((e,s)=>{const a=new URLSearchParams;s?.types&&a.set("types",s.types),s?.limit!==void 0&&a.set("limit",String(s.limit)),s?.offset!==void 0&&a.set("offset",String(s.offset));const i=a.toString();return n.get(`/companies/${e}/case-events${i?`?${i}`:""}`)},"listCompanyCaseEvents")};export{m as t};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{t as e}from"./createLucideIcon-CojsodAG.js";var a={name:"play",size:24,node:[["path",{d:"M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z",key:"10ikf1"}]]};a.node;var t=e(a);export{t};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{t as e}from"./createLucideIcon-CojsodAG.js";var a={name:"plug",size:24,node:[["path",{d:"M12 22v-5",key:"1ega77"}],["path",{d:"M15 8V2",key:"18g5xt"}],["path",{d:"M17 8a1 1 0 0 1 1 1v4a4 4 0 0 1-4 4h-4a4 4 0 0 1-4-4V9a1 1 0 0 1 1-1z",key:"1xoxul"}],["path",{d:"M9 8V2",key:"14iosj"}]]};a.node;var o=e(a);export{o as t};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var a=Object.defineProperty;var l=(e,n)=>a(e,"name",{value:n,configurable:!0});import{r as i}from"./queryKeys-Blv2Qg4s.js";var d={list:l(e=>i.get(`/plugins${e?`?status=${e}`:""}`),"list"),listBundled:l(()=>i.get("/plugins/examples"),"listBundled"),get:l(e=>i.get(`/plugins/${e}`),"get"),install:l(e=>i.post("/plugins/install",e),"install"),uninstall:l((e,n)=>i.delete(`/plugins/${e}${n?"?purge=true":""}`),"uninstall"),enable:l(e=>i.post(`/plugins/${e}/enable`,{}),"enable"),disable:l((e,n)=>i.post(`/plugins/${e}/disable`,n?{reason:n}:{}),"disable"),health:l(e=>i.get(`/plugins/${e}/health`),"health"),dashboard:l(e=>i.get(`/plugins/${e}/dashboard`),"dashboard"),logs:l((e,n)=>{const t=new URLSearchParams;n?.limit&&t.set("limit",String(n.limit)),n?.level&&t.set("level",n.level),n?.since&&t.set("since",n.since);const s=t.toString();return i.get(`/plugins/${e}/logs${s?`?${s}`:""}`)},"logs"),upgrade:l((e,n)=>i.post(`/plugins/${e}/upgrade`,n?{version:n}:{}),"upgrade"),listUiContributions:l(()=>i.get("/plugins/ui-contributions"),"listUiContributions"),getConfig:l((e,n)=>i.get(`/plugins/${e}/config?companyId=${encodeURIComponent(n)}`),"getConfig"),saveConfig:l((e,n,t)=>i.post(`/plugins/${e}/config`,{companyId:n,configJson:t}),"saveConfig"),testConfig:l((e,n,t)=>i.post(`/plugins/${e}/config/test`,{companyId:n,configJson:t}),"testConfig"),listLocalFolders:l((e,n)=>i.get(`/plugins/${e}/companies/${n}/local-folders`),"listLocalFolders"),localFolderStatus:l((e,n,t)=>i.get(`/plugins/${e}/companies/${n}/local-folders/${encodeURIComponent(t)}/status`),"localFolderStatus"),validateLocalFolder:l((e,n,t,s)=>i.post(`/plugins/${e}/companies/${n}/local-folders/${encodeURIComponent(t)}/validate`,s),"validateLocalFolder"),configureLocalFolder:l((e,n,t,s)=>i.put(`/plugins/${e}/companies/${n}/local-folders/${encodeURIComponent(t)}`,s),"configureLocalFolder"),bridgeGetData:l((e,n,t,s,o)=>i.post(`/plugins/${e}/data/${encodeURIComponent(n)}`,{companyId:s??void 0,params:t,renderEnvironment:o??void 0}),"bridgeGetData"),bridgePerformAction:l((e,n,t,s,o)=>i.post(`/plugins/${e}/actions/${encodeURIComponent(n)}`,{companyId:s??void 0,params:t,renderEnvironment:o??void 0}),"bridgePerformAction")};export{d as t};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{t as e}from"./createLucideIcon-CojsodAG.js";var a={name:"plus",size:24,node:[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]]};a.node;var o=e(a);export{o as t};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var m=Object.defineProperty;var e=(t,o)=>m(t,"name",{value:o,configurable:!0});import{i as s}from"./rolldown-runtime-ZpX3ckPj.js";import{$i as c,ea as l,l as r}from"./createLucideIcon-CojsodAG.js";import{c as u,o as f,r as v,s as x,t as g}from"./dist-Q0MGEdIS.js";var b=s(l(),1),a=s(c(),1);function z({...t}){return(0,a.jsx)(x,{"data-slot":"popover",...t})}e(z,"Popover");function N({...t}){return(0,a.jsx)(u,{"data-slot":"popover-trigger",...t})}e(N,"PopoverTrigger");function T({className:t,align:o="center",sideOffset:i=4,disablePortal:d=!1,...p}){const n=(0,a.jsx)(v,{"data-slot":"popover-content",align:o,sideOffset:i,className:r("bg-bg-2 text-ink data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 w-72 origin-(--radix-popover-content-transform-origin) rounded-md border p-4 shadow-md outline-hidden",t),...p});return d?n:(0,a.jsx)(f,{children:n})}e(T,"PopoverContent");function k({...t}){return(0,a.jsx)(g,{"data-slot":"popover-anchor",...t})}e(k,"PopoverAnchor");function q({className:t,...o}){return(0,a.jsx)("div",{"data-slot":"popover-title",className:r("font-medium",t),...o})}e(q,"PopoverTitle");function w({className:t,...o}){return(0,a.jsx)("p",{"data-slot":"popover-description",className:r("text-ink-3",t),...o})}e(w,"PopoverDescription");export{q as a,w as i,k as n,N as o,T as r,z as t};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{t as a}from"./createLucideIcon-CojsodAG.js";var e={name:"power",size:24,node:[["path",{d:"M12 2v10",key:"mnfbl"}],["path",{d:"M18.4 6.6a9 9 0 1 1-12.77.04",key:"obofu9"}]]};e.node;var r=a(e);export{r as t};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var o=Object.defineProperty;var r=(e,t)=>o(e,"name",{value:t,configurable:!0});import{i as a}from"./rolldown-runtime-ZpX3ckPj.js";import{$i as s,ea as m}from"./createLucideIcon-CojsodAG.js";var n=a(m(),1),u=a(s(),1),i=(0,n.createContext)("streamlined");function C({mode:e,children:t}){return(0,u.jsx)(i.Provider,{value:e,children:t})}r(C,"TaskChatPresentationProvider");function c(){return(0,n.useContext)(i)==="streamlined"}r(c,"useStreamlinedTaskChatPresentation");export{c as n,C as t};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var g=Object.defineProperty;var a=(e,t)=>g(e,"name",{value:t,configurable:!0});import{i as h}from"./rolldown-runtime-ZpX3ckPj.js";import{$i as m}from"./createLucideIcon-CojsodAG.js";import{t as d}from"./button-uuDxAEeK.js";import{t as x}from"./triangle-alert-CnP3ordc.js";import{a as C,i as b,n as A,r as D,s as T,t as j}from"./dialog-Bs_ufJb0.js";var n=h(m(),1);function L({kind:e,profile:t,pending:s,onClose:l,onArchive:c,onRestore:u,onDelete:p}){if(!e||!t)return null;const r=e==="delete"&&t.summary.isCompanyDefault,o={archive:{title:"Archive profile",body:`This profile stops applying to ${t.summary.appliesToAgentCount} ${t.summary.appliesToAgentCount===1?"agent":"agents"}. You can restore it later.`,confirm:"Archive",action:c},restore:{title:"Restore profile",body:"This profile will be active again and can be assigned to agents.",confirm:"Restore",action:u},delete:{title:"Delete profile",body:r?"This profile is the organization default. Reassign the organization default to another profile before deleting it.":`This permanently deletes the profile and removes ${t.summary.assignmentCount} ${t.summary.assignmentCount===1?"assignment":"assignments"}.`,confirm:"Delete",action:p}}[e];return(0,n.jsx)(j,{open:!0,onOpenChange:a(f=>!f&&l(),"onOpenChange"),children:(0,n.jsxs)(A,{children:[(0,n.jsxs)(C,{children:[(0,n.jsx)(T,{children:o.title}),(0,n.jsx)(D,{children:o.body})]}),r?(0,n.jsxs)("div",{className:"flex gap-3 rounded-lg border border-bad/40 bg-bad/5 px-3 py-2 text-sm text-bad",children:[(0,n.jsx)(x,{className:"mt-0.5 h-4 w-4 shrink-0"}),(0,n.jsx)("span",{children:"Choose another access profile and make it the organization default first."})]}):null,(0,n.jsxs)(b,{children:[(0,n.jsx)(d,{variant:"ghost",onClick:l,children:"Cancel"}),(0,n.jsx)(d,{variant:e==="delete"?"delete":"primary",disabled:s||r,onClick:o.action,children:o.confirm})]})]})})}a(L,"ProfileActionDialog");function i(e,t,s=`${t}s`){return`${e} ${e===1?t:s}`}a(i,"plural");function B(e){if(e.accessMode==="all_except")return e.excludedToolCount===0?"All tools":`All except ${i(e.excludedToolCount,"tool")}`;const t=[i(e.allowedToolCount,"tool")];return e.allowedApplicationCount>0&&t.push(i(e.allowedApplicationCount,"app")),t.join(" · ")}a(B,"allowsLabel");function N(e){return e.isCompanyDefault?{text:"Organization default",unassigned:!1}:e.appliesToAgentCount>0?{text:i(e.appliesToAgentCount,"agent"),unassigned:!1}:e.assignmentCount>0?{text:i(e.assignmentCount,"assignment"),unassigned:!1}:{text:"Not assigned yet",unassigned:!0}}a(N,"assignedLabel");var O={draft:"Draft",active:"Active",disabled:"Off",archived:"Archived"};function R(e){return e.status==="draft"}a(R,"isDraft");export{L as a,R as i,B as n,N as r,O as t};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var a=Object.defineProperty;var r=(e,o)=>a(e,"name",{value:o,configurable:!0});import{r as c}from"./queryKeys-Blv2Qg4s.js";function i(e={}){return{workspaceCommandId:e.workspaceCommandId??null,runtimeServiceId:e.runtimeServiceId??null,serviceIndex:e.serviceIndex??null}}r(i,"sanitizeWorkspaceRuntimeControlTarget");function m(e,o){return o?`${e}${e.includes("?")?"&":"?"}companyId=${encodeURIComponent(o)}`:e}r(m,"withCompanyScope");function t(e,o,s=""){return m(`/projects/${encodeURIComponent(e)}${s}`,o)}r(t,"projectPath");var l={repositoryOptions:r(e=>c.get(`/companies/${e}/project-repositories`),"repositoryOptions"),setRepositories:r((e,o)=>c.put(t(e,void 0,"/repositories"),{repositoryIds:o}),"setRepositories"),list:r((e,o={})=>{const s=new URLSearchParams;o.includeArchived&&s.set("includeArchived","true");const n=s.toString();return c.get("/companies/"+encodeURIComponent(e)+"/projects"+(n?"?"+n:""))},"list"),get:r((e,o)=>c.get(t(e,o)),"get"),create:r((e,o)=>c.post(`/companies/${e}/projects`,o),"create"),update:r((e,o,s)=>c.patch(t(e,s),o),"update"),listAccessMembers:r((e,o)=>c.get(t(e,o,"/access-members")),"listAccessMembers"),addAccessMember:r((e,o,s)=>c.post(t(e,s,"/access-members"),o),"addAccessMember"),removeAccessMember:r((e,o,s)=>c.delete(t(e,s,`/access-members/${encodeURIComponent(o)}`)),"removeAccessMember"),listWorkspaces:r((e,o)=>c.get(t(e,o,"/workspaces")),"listWorkspaces"),createWorkspace:r((e,o,s)=>c.post(t(e,s,"/workspaces"),o),"createWorkspace"),updateWorkspace:r((e,o,s,n)=>c.patch(t(e,n,`/workspaces/${encodeURIComponent(o)}`),s),"updateWorkspace"),controlWorkspaceRuntimeServices:r((e,o,s,n,p={})=>c.post(t(e,n,`/workspaces/${encodeURIComponent(o)}/runtime-services/${s}`),i(p)),"controlWorkspaceRuntimeServices"),controlWorkspaceCommands:r((e,o,s,n,p={})=>c.post(t(e,n,`/workspaces/${encodeURIComponent(o)}/runtime-commands/${s}`),i(p)),"controlWorkspaceCommands"),removeWorkspace:r((e,o,s)=>c.delete(t(e,s,`/workspaces/${encodeURIComponent(o)}`)),"removeWorkspace"),remove:r((e,o)=>c.delete(t(e,o)),"remove")};export{i as n,l as t};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var Z=Object.defineProperty;var t=(e,n)=>Z(e,"name",{value:n,configurable:!0});import{i as M}from"./rolldown-runtime-ZpX3ckPj.js";import{$i as J,ea as Y,l as g,t as $}from"./createLucideIcon-CojsodAG.js";import{X as ee,_ as F,n as se,t as te}from"./queryKeys-Blv2Qg4s.js";import{t as ne}from"./checkbox-xiZoUzpN.js";import{t as y}from"./label-CNsX54Af.js";import{t as re}from"./copy-DHTmNIUf.js";import{t as ae}from"./key-round-DreEIzMQ.js";import{t as j}from"./button-uuDxAEeK.js";import{t as ie}from"./server-cog-DZWRwDq-.js";import{t as oe}from"./shield-alert-C1Ktd_2t.js";import{i as le,n as ce,r as de,t as pe}from"./tooltip-BeCPZxhV.js";import{t as z}from"./badge-BlSRUe_y.js";import{t as me}from"./AgentAvatar-DJgnt_yK.js";import{a as B}from"./ToastContext-CnfhN3mb.js";import{a as I,i as q,n as L,r as O,s as K,t as W}from"./dialog-Bs_ufJb0.js";import{t as P}from"./input-BqMjeTb7.js";import{t as S}from"./secrets-DGCK1Zxj.js";import{t as ue}from"./textarea-DVJ0fWFd.js";import{t as he}from"./clipboard-CTLKYvRL.js";var G={name:"fingerprint-pattern",size:24,node:[["path",{d:"M12 10a2 2 0 0 0-2 2c0 1.02-.1 2.51-.26 4",key:"1nerag"}],["path",{d:"M14 13.12c0 2.38 0 6.38-1 8.88",key:"o46ks0"}],["path",{d:"M17.29 21.02c.12-.6.43-2.3.5-3.02",key:"ptglia"}],["path",{d:"M2 12a10 10 0 0 1 18-6",key:"ydlgp0"}],["path",{d:"M2 16h.01",key:"1gqxmh"}],["path",{d:"M21.8 16c.2-2 .131-5.354 0-6",key:"drycrb"}],["path",{d:"M5 19.5C5.5 18 6 15 6 12a6 6 0 0 1 .34-2",key:"1tidbn"}],["path",{d:"M8.65 22c.21-.66.45-1.32.57-2",key:"13wd9y"}],["path",{d:"M9 6.8a6 6 0 0 1 9 5.2v2",key:"1fr1j5"}]],aliases:["fingerprint"]};G.node;var T=$(G),H={name:"variable",size:24,node:[["path",{d:"M8 21s-4-3-4-9 4-9 4-9",key:"uto9ud"}],["path",{d:"M16 3s4 3 4 9-4 9-4 9",key:"4w2vsq"}],["line",{x1:"15",x2:"9",y1:"9",y2:"15",key:"f7djnv"}],["line",{x1:"9",x2:"15",y1:"9",y2:"15",key:"1shsy8"}]]};H.node;var xe=$(H),f=M(Y(),1),Ve="env.",Ze="access.",Je=/^[A-Za-z_][A-Za-z0-9_]*$/;function ge(e){return e?e.startsWith("access.")?"api":e.startsWith("env.")?"env":"config":"config"}t(ge,"deliveryModeForConfigPath");function ve(e){switch(e){case"env":return"Env var";case"api":return"API access";default:return"Config"}}t(ve,"deliveryModeLabel");function Ye(e){switch(e){case"env":return"Injected as an environment variable at run start.";case"api":return"Fetched on demand via the run-bound agent API. Never written to the environment.";default:return"Provided through adapter configuration."}}t(Ye,"deliveryModeDescription");function fe(e){return e?e.startsWith("access.")?e.slice(7):e.startsWith("env.")?e.slice(4):e:""}t(fe,"aliasFromConfigPath");function es(e){switch(e){case"agent_api":return"Agent API";case"plugin_worker":return"Plugin worker";case"tool_connection":return"Tool connection";default:return e.charAt(0).toUpperCase()+e.slice(1)}}t(es,"consumerTypeLabel");var je={numeric:!0,sensitivity:"base"};function k(e){return e.kind==="company"?e.secret.name:e.definition.name}t(k,"getSecretPathRowName");function b(e){return e.split("/").filter(n=>n.length>0)}t(b,"splitSecretPath");function ss(e){return b(e).join("/")}t(ss,"normalizeSecretPath");function R(e,n){return n.every((r,a)=>e[a]===r)}t(R,"startsWithSegments");function D(e,n){return e.localeCompare(n,void 0,je)}t(D,"compareNames");function ts(e,n){const r=b(n),a=e.map(i=>({row:i,name:k(i),segments:b(k(i))})),d=new Set,c=[];for(const i of a){if(!R(i.segments,r))continue;const p=i.segments.length-r.length;(p===0||p===1)&&c.push(i.row),p>=2&&d.add(i.segments[r.length])}const m=[...d].map(i=>{const p=[...r,i],u=new Set;let h=0;for(const o of a){if(!R(o.segments,p))continue;const N=o.segments.length-p.length;if(!(N<1)){h+=1;for(let v=1;v<N;v+=1)u.add(o.segments.slice(p.length,p.length+v).join("/"))}}return{name:i,path:p.join("/"),secretCount:h,folderCount:u.size}});return m.sort((i,p)=>D(i.name,p.name)),c.sort((i,p)=>D(k(i),k(p))),{folders:m,secrets:c}}t(ts,"buildSecretPathListing");function ns(e){const n=b(e);return n.map((r,a)=>({name:r,path:n.slice(0,a+1).join("/")}))}t(ns,"buildSecretPathBreadcrumbs");function rs(e){return e.trim()?e.includes("/")?"Folder name cannot contain slashes.":null:"Folder name is required."}t(rs,"validateSecretFolderSegment");var s=M(J(),1);function be({name:e,basePath:n="",className:r,leafClassName:a}){const d=b(e),c=b(n),m=c.length>0&&c.every((h,o)=>d[o]===h)&&d.length>c.length?d.slice(c.length):d,i=m.length>0?m:[e],p=i[i.length-1],u=i.slice(0,-1).join("/");return(0,s.jsxs)("span",{className:g("min-w-0 truncate",r),children:[u?(0,s.jsxs)("span",{className:"text-ink-3",children:[u,"/"]}):null,(0,s.jsx)("span",{className:g("font-medium text-ink",a),children:p})]})}t(be,"SecretPathName");function Ne(e,n){const r=e?`sha256:${e.slice(0,10)}…`:"no fingerprint",a=typeof n=="number"?`${n} ${n===1?"byte":"bytes"}`:null;return a?`${r} · ${a}`:r}t(Ne,"fingerprintLabel");function ye({fingerprint:e,length:n,className:r}){const{pushToast:a}=B(),d=Ne(e,n);if(!e)return(0,s.jsxs)("span",{className:g("inline-flex items-center gap-1 font-mono",r),children:[(0,s.jsx)(T,{className:"size-3 shrink-0"}),d]});const c=`sha256:${e}`;return(0,s.jsxs)("button",{type:"button",onClick:t(()=>{he(c).then(()=>a({title:"Fingerprint copied",tone:"success"})).catch(()=>a({title:"Couldn’t copy fingerprint",tone:"error"}))},"onClick"),title:`Copy full digest — ${c}`,className:g("inline-flex items-center gap-1 font-mono hover:text-ink",r),children:[(0,s.jsx)(T,{className:"size-3 shrink-0"}),d,(0,s.jsx)(re,{className:"size-3 shrink-0 opacity-60"})]})}t(ye,"FingerprintChip");function ke({justification:e,className:n}){return(0,s.jsxs)("div",{className:g("space-y-0.5",n),children:[(0,s.jsx)("p",{className:"text-(length:--text-micro) text-ink-3",children:"Reason given by the agent"}),(0,s.jsxs)("p",{className:"whitespace-pre-wrap break-words text-xs text-ink/80",children:["“",e,"”"]})]})}t(ke,"ProposalJustification");function _({agent:e,className:n}){return(0,s.jsxs)("span",{className:g("inline-flex min-w-0 items-center gap-1",n),children:[(0,s.jsx)(me,{agent:e,size:16,className:"h-3.5 w-3.5 shrink-0 text-ink-3"}),(0,s.jsx)("span",{className:"min-w-0 truncate",children:e.name})]})}t(_,"AgentRefChip");function Ce({configPath:e}){const n=ge(e),r=n==="env",a=n==="api";return(0,s.jsxs)(z,{variant:"outline",className:g("h-5 gap-1 px-1.5 text-(length:--text-nano) font-normal",r&&"border-sky-500/30 bg-sky-500/10 text-sky-700 dark:text-sky-300",a&&"border-violet-500/30 bg-violet-500/10 text-violet-700 dark:text-violet-300",!r&&!a&&"border-line bg-bg-3/40 text-ink-3"),children:[r?(0,s.jsx)(xe,{className:"size-3"}):a?(0,s.jsx)(ie,{className:"size-3"}):null,ve(n)]})}t(Ce,"DeliveryBadge");function Ae({className:e}){return(0,s.jsxs)(z,{variant:"outline",className:g("h-5 gap-1 px-1.5 text-(length:--text-nano) font-medium","border-amber-500/40 bg-amber-500/10 text-amber-700 dark:text-amber-300",e),children:[(0,s.jsx)(oe,{className:"size-3"})," Proposed"]})}t(Ae,"ProposedBadge");function Q(e){return fe(e.configPath)}t(Q,"bindingEnvKey");function Pe(e){return e.secretProposalId?{name:e.secretProposalName??"proposed secret",pending:!0}:{name:e.secretName??"secret",pending:!1}}t(Pe,"bindingSecretLabel");function E(e){return e instanceof se?e.message||`Request failed: ${e.status}`:e instanceof Error?e.message:"Something went wrong. Try again."}t(E,"readableError");function as(e,n=[]){const r=ee(),{pushToast:a}=B(),[d,c]=(0,f.useState)(null),[m,i]=(0,f.useState)(null),[p,u]=(0,f.useState)(""),[h,o]=(0,f.useState)(null),N=(0,f.useCallback)(()=>{e&&(r.invalidateQueries({queryKey:["secret-proposals",e]}),r.invalidateQueries({queryKey:te.secrets.list(e)}))},[e,r]),v=F({mutationFn:t(l=>{const{proposal:x}=l;if(x.kind==="secret"){const A=l.folder.trim()?`${l.folder.trim().replace(/\/+$/,"")}/${l.leaf.trim()}`:l.leaf.trim();return S.approveProposal(e,x.id,{overrides:{name:A,description:l.description.trim()||null,providerConfigId:l.providerConfigId||null}})}return S.approveProposal(e,x.id,{cascade:l.cascade||void 0})},"mutationFn"),onSuccess:t(l=>{a({title:l.kind==="secret"?"Secret approved":"Binding approved",body:l.kind==="secret"?l.proposedName??"Secret created":`${l.target?.name??"Agent"} · ${Q(l)||"binding"}`,tone:"success"}),c(null),o(null),N()},"onSuccess"),onError:t(l=>o(E(l)),"onError")}),C=F({mutationFn:t(({proposal:l,reason:x})=>S.rejectProposal(e,l.id,{reason:x.trim()}),"mutationFn"),onSuccess:t(l=>{a({title:"Proposal rejected",body:l.kind==="secret"?l.proposedName??void 0:void 0,tone:"info"}),i(null),u(""),o(null),N()},"onSuccess"),onError:t(l=>o(E(l)),"onError")}),X=(0,f.useCallback)(l=>{o(null);const x=(l.proposedName??"").split("/"),A=x.pop()??"";c({proposal:l,folder:x.join("/"),leaf:A,description:l.proposedDescription??"",providerConfigId:n.find(w=>w.provider==="local_encrypted"&&w.isDefault)?.id??"",cascade:!!l.secretProposalId})},[n]),U=(0,f.useCallback)(l=>{o(null),u(""),i(l)},[]),V=(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(Se,{draft:d,error:h,pending:v.isPending,providerConfigs:n,onChange:c,onCancel:t(()=>{c(null),o(null)},"onCancel"),onConfirm:t(()=>d&&v.mutate(d),"onConfirm")}),(0,s.jsx)(we,{proposal:m,reason:p,error:h,pending:C.isPending,onReasonChange:u,onCancel:t(()=>{i(null),u(""),o(null)},"onCancel"),onConfirm:t(()=>m&&C.mutate({proposal:m,reason:p}),"onConfirm")})]});return{requestApprove:X,requestReject:U,isBusy:v.isPending||C.isPending,dialogs:V}}t(as,"useProposalReview");function Se({draft:e,error:n,pending:r,providerConfigs:a,onChange:d,onCancel:c,onConfirm:m}){const i=e?.proposal.kind==="secret",p=e?e.folder.trim()?`${e.folder.trim().replace(/\/+$/,"")}/${e.leaf.trim()}`:e.leaf.trim():"",u=a.filter(o=>o.provider==="local_encrypted"),h=i?!!(e&&e.leaf.trim()):!0;return(0,s.jsx)(W,{open:!!e,onOpenChange:t(o=>!o&&c(),"onOpenChange"),children:(0,s.jsx)(L,{className:"sm:max-w-lg",children:e?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)(I,{children:[(0,s.jsx)(K,{children:i?"Approve & create secret":"Approve binding"}),(0,s.jsx)(O,{children:i?"The value is created as the proposing agent recorded it. Re-folder or rename it before it lands.":"Grant the target agent access to this secret. This runs with your permissions."})]}),(0,s.jsxs)("div",{className:"space-y-1.5 rounded-md border border-line bg-bg-3/30 p-2.5 text-xs",children:[(0,s.jsxs)("div",{className:"flex items-center gap-1.5 text-ink-3",children:[(0,s.jsx)("span",{children:"Proposed by"}),(0,s.jsx)(_,{agent:e.proposal.proposedBy,className:"font-medium text-ink"})]}),(0,s.jsx)(ke,{justification:e.proposal.justification})]}),i?(0,s.jsxs)("div",{className:"space-y-3",children:[(0,s.jsxs)("div",{className:"grid grid-cols-2 gap-2",children:[(0,s.jsxs)("div",{className:"space-y-1",children:[(0,s.jsx)(y,{htmlFor:"approve-folder",children:"Folder"}),(0,s.jsx)(P,{id:"approve-folder",value:e.folder,onChange:t(o=>d({...e,folder:o.target.value}),"onChange"),placeholder:"dev/github",className:"font-mono text-xs"})]}),(0,s.jsxs)("div",{className:"space-y-1",children:[(0,s.jsx)(y,{htmlFor:"approve-name",children:"Name"}),(0,s.jsx)(P,{id:"approve-name",value:e.leaf,onChange:t(o=>d({...e,leaf:o.target.value}),"onChange"),placeholder:"client-secret",autoFocus:!0,"aria-invalid":!e.leaf.trim(),className:"font-mono text-xs"})]})]}),(0,s.jsxs)("p",{className:"text-(length:--text-micro) text-ink-3",children:["Lands as"," ",p?(0,s.jsx)(be,{name:p,className:"font-mono"}):(0,s.jsx)("span",{className:"italic",children:"enter a name"})]}),(0,s.jsxs)("div",{className:"space-y-1",children:[(0,s.jsx)(y,{htmlFor:"approve-description",children:"Description"}),(0,s.jsx)(P,{id:"approve-description",value:e.description,onChange:t(o=>d({...e,description:o.target.value}),"onChange"),placeholder:"Optional"})]}),u.length>0?(0,s.jsxs)("div",{className:"space-y-1",children:[(0,s.jsx)(y,{htmlFor:"approve-provider-config",children:"Provider vault"}),(0,s.jsxs)("select",{id:"approve-provider-config",value:e.providerConfigId,onChange:t(o=>d({...e,providerConfigId:o.target.value}),"onChange"),className:"h-9 w-full rounded-md border border-line-strong bg-transparent px-2 text-sm outline-none focus-visible:border-focus focus-visible:ring-3 focus-visible:ring-focus/50",children:[(0,s.jsx)("option",{value:"",children:"Deployment default"}),u.map(o=>(0,s.jsx)("option",{value:o.id,children:o.displayName},o.id))]})]}):null,(0,s.jsx)("div",{className:"rounded-md border border-line bg-bg px-2.5 py-1.5 text-xs text-ink-3",children:(0,s.jsx)(ye,{fingerprint:e.proposal.valueFingerprintSha256,length:e.proposal.valueLength})})]}):(0,s.jsx)(_e,{draft:e,onChange:d}),n?(0,s.jsx)("p",{className:"text-xs text-bad",role:"alert",children:n}):null,(0,s.jsxs)(q,{children:[(0,s.jsx)(j,{variant:"ghost",onClick:c,disabled:r,children:"Cancel"}),(0,s.jsx)(j,{onClick:m,disabled:r||!h,children:r?"Approving…":i?"Approve & create":e.cascade?"Approve secret & bind":"Approve binding"})]})]}):null})})}t(Se,"ApproveDialog");function _e({draft:e,onChange:n}){const{proposal:r}=e,a=Pe(r),d=Q(r);return(0,s.jsxs)("div",{className:"space-y-3 text-sm",children:[(0,s.jsxs)("div",{className:"space-y-2 rounded-md border border-line p-3",children:[(0,s.jsxs)("div",{className:"flex items-center justify-between gap-2",children:[(0,s.jsx)("span",{className:"text-xs text-ink-3",children:"Target agent"}),r.target?(0,s.jsx)(_,{agent:r.target,className:"text-sm font-medium"}):(0,s.jsx)("span",{className:"text-ink-3",children:"—"})]}),(0,s.jsxs)("div",{className:"flex items-center justify-between gap-2",children:[(0,s.jsx)("span",{className:"text-xs text-ink-3",children:"Delivered as"}),(0,s.jsxs)("span",{className:"flex items-center gap-1.5",children:[(0,s.jsx)(Ce,{configPath:r.configPath}),(0,s.jsx)("code",{className:"font-mono text-xs",children:d||r.configPath})]})]}),(0,s.jsxs)("div",{className:"flex items-center justify-between gap-2",children:[(0,s.jsx)("span",{className:"text-xs text-ink-3",children:"Secret"}),(0,s.jsxs)("span",{className:"flex items-center gap-1.5",children:[(0,s.jsx)(ae,{className:"size-3.5 text-ink-3"}),(0,s.jsx)("span",{className:"font-medium",children:a.name}),a.pending?(0,s.jsx)(Ae,{}):null]})]})]}),r.secretProposalId?(0,s.jsxs)("label",{className:"flex items-start gap-2 rounded-md border border-amber-500/30 bg-amber-500/5 p-2.5 text-xs",children:[(0,s.jsx)(ne,{checked:e.cascade,onCheckedChange:t(c=>n({...e,cascade:c===!0}),"onCheckedChange"),className:"mt-0.5","aria-label":"Also approve the proposed secret"}),(0,s.jsxs)("span",{className:"text-ink/90",children:["Also approve the proposed secret"," ",(0,s.jsx)("span",{className:"font-medium",children:a.name})," and create it in the same step. The binding can’t land without it."]})]}):null]})}t(_e,"BindingApproveBody");function we({proposal:e,reason:n,error:r,pending:a,onReasonChange:d,onCancel:c,onConfirm:m}){const i=n.trim().length>0;return(0,s.jsx)(W,{open:!!e,onOpenChange:t(p=>!p&&c(),"onOpenChange"),children:(0,s.jsx)(L,{className:"sm:max-w-md",children:e?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)(I,{children:[(0,s.jsx)(K,{children:"Reject proposal"}),(0,s.jsxs)(O,{children:["The reason is sent back to"," ",(0,s.jsx)(_,{agent:e.proposedBy,className:"text-ink"}),". Dependent bindings are rejected too."]})]}),(0,s.jsxs)("div",{className:"space-y-1",children:[(0,s.jsx)(y,{htmlFor:"reject-reason",children:"Reason"}),(0,s.jsx)(ue,{id:"reject-reason",value:n,onChange:t(p=>d(p.target.value),"onChange"),rows:3,autoFocus:!0,placeholder:"Why is this being rejected?"})]}),r?(0,s.jsx)("p",{className:"text-xs text-bad",role:"alert",children:r}):null,(0,s.jsxs)(q,{children:[(0,s.jsx)(j,{variant:"ghost",onClick:c,disabled:a,children:"Cancel"}),(0,s.jsx)(j,{variant:"secondary",onClick:m,disabled:a||!i,children:a?"Rejecting…":"Reject"})]})]}):null})})}t(we,"RejectDialog");function is({proposal:e,onApprove:n,onReject:r,disabled:a,size:d="sm"}){const c=!e.viewerCanApprove,m=d==="xs"?"h-7 px-2 text-xs":"",i=(0,s.jsx)(j,{size:"sm",className:m,disabled:a||c,onClick:t(()=>n(e),"onClick"),children:"Approve"});return(0,s.jsxs)("div",{className:"flex items-center gap-1.5",children:[c?(0,s.jsx)(de,{children:(0,s.jsxs)(pe,{children:[(0,s.jsx)(le,{asChild:!0,children:(0,s.jsx)("span",{tabIndex:0,children:i})}),(0,s.jsx)(ce,{className:"max-w-72",children:e.approveBlockReason??"You don’t have permission to approve this."})]})}):i,(0,s.jsx)(j,{size:"sm",variant:"secondary",className:m,disabled:a,onClick:t(()=>r(e),"onClick"),children:"Reject"})]})}t(is,"ProposalActions");export{ve as C,ge as S,T,Ve as _,ke as a,es as b,Pe as c,ns as d,ts as f,Ze as g,rs as h,is as i,as as l,ss as m,Ce as n,Ae as o,k as p,ye as r,Q as s,_ as t,be as u,Je as v,xe as w,Ye as x,fe as y};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var Q=Object.defineProperty;var h=(t,e)=>Q(t,"name",{value:e,configurable:!0});import{A as O,B as l,F as v,G as c,H as u,I as g,L as b,N as f,O as M,P as n,R as d,U as y,V as p,q as A,z as m}from"./queryKeys-Blv2Qg4s.js";var q=class extends g{static{h(this,"MutationCache")}#t;#e;#s;constructor(t={}){super(),this.config=t,this.#t=new Set,this.#e=new Map,this.#s=0}build(t,e,s){const i=new M({client:t,mutationCache:this,mutationId:++this.#s,options:t.defaultMutationOptions(e),state:s});return this.add(i),i}add(t){this.#t.add(t);const e=o(t);if(typeof e=="string"){const s=this.#e.get(e);s?s.push(t):this.#e.set(e,[t])}this.notify({type:"added",mutation:t})}remove(t){if(this.#t.delete(t)){const e=o(t);if(typeof e=="string"){const s=this.#e.get(e);if(s)if(s.length>1){const i=s.indexOf(t);i!==-1&&s.splice(i,1)}else s[0]===t&&this.#e.delete(e)}}this.notify({type:"removed",mutation:t})}canRun(t){const e=o(t);if(typeof e=="string"){const s=this.#e.get(e)?.find(i=>i.state.status==="pending");return!s||s===t}else return!0}runNext(t){const e=o(t);return typeof e=="string"?this.#e.get(e)?.find(s=>s!==t&&s.state.isPaused)?.continue()??Promise.resolve():Promise.resolve()}clear(){n.batch(()=>{this.#t.forEach(t=>{this.notify({type:"removed",mutation:t})}),this.#t.clear(),this.#e.clear()})}getAll(){return Array.from(this.#t)}find(t){const e={exact:!0,...t};return this.getAll().find(s=>l(e,s))}findAll(t={}){return this.getAll().filter(e=>l(t,e))}notify(t){n.batch(()=>{this.listeners.forEach(e=>{e(t)})})}resumePausedMutations(){const t=this.getAll().filter(e=>e.state.isPaused);return n.batch(()=>Promise.all(t.map(e=>e.continue().catch(u))))}};function o(t){return t.options.scope?.id}h(o,"scopeFor");var D=class extends g{static{h(this,"QueryCache")}#t;constructor(t={}){super(),this.config=t,this.#t=new Map}build(t,e,s){const i=e.queryKey,r=e.queryHash??m(i,e);let a=this.get(r);return a||(a=new O({client:t,queryKey:i,queryHash:r,options:t.defaultQueryOptions(e),state:s,defaultOptions:t.getQueryDefaults(i)}),this.add(a)),a}add(t){this.#t.has(t.queryHash)||(this.#t.set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const e=this.#t.get(t.queryHash);e&&(t.destroy(),e===t&&this.#t.delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){n.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return this.#t.get(t)}getAll(){return[...this.#t.values()]}find(t){const e={exact:!0,...t};return this.getAll().find(s=>p(e,s))}findAll(t={}){const e=this.getAll();return Object.keys(t).length>0?e.filter(s=>p(t,s)):e}notify(t){n.batch(()=>{this.listeners.forEach(e=>{e(t)})})}onFocus(){n.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){n.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},C=class{static{h(this,"QueryClient")}#t;#e;#s;#r;#a;#i;#n;#u;constructor(t={}){this.#t=t.queryCache||new D,this.#e=t.mutationCache||new q,this.#s=t.defaultOptions||{},this.#r=new Map,this.#a=new Map,this.#i=0}mount(){this.#i++,this.#i===1&&(this.#n=v.subscribe(async t=>{t&&(await this.resumePausedMutations(),this.#t.onFocus())}),this.#u=f.subscribe(async t=>{t&&(await this.resumePausedMutations(),this.#t.onOnline())}))}unmount(){this.#i--,this.#i===0&&(this.#n?.(),this.#n=void 0,this.#u?.(),this.#u=void 0)}isFetching(t){return this.#t.findAll({...t,fetchStatus:"fetching"}).length}isMutating(t){return this.#e.findAll({...t,status:"pending"}).length}getQueryData(t){const e=this.defaultQueryOptions({queryKey:t});return this.#t.get(e.queryHash)?.state.data}ensureQueryData(t){const e=this.defaultQueryOptions(t),s=this.#t.build(this,e),i=s.state.data;return i===void 0?this.fetchQuery(t):(t.revalidateIfStale&&s.isStaleByTime(c(e.staleTime,s))&&this.prefetchQuery(e),Promise.resolve(i))}getQueriesData(t){return this.#t.findAll(t).map(({queryKey:e,state:s})=>[e,s.data])}setQueryData(t,e,s){const i=this.defaultQueryOptions({queryKey:t}),r=this.#t.get(i.queryHash)?.state.data,a=b(e,r);if(a!==void 0)return this.#t.build(this,i).setData(a,{...s,manual:!0})}setQueriesData(t,e,s){return n.batch(()=>this.#t.findAll(t).map(({queryKey:i})=>[i,this.setQueryData(i,e,s)]))}getQueryState(t){const e=this.defaultQueryOptions({queryKey:t});return this.#t.get(e.queryHash)?.state}removeQueries(t){const e=this.#t;n.batch(()=>{e.findAll(t).forEach(s=>{e.remove(s)})})}resetQueries(t,e){const s=this.#t;return n.batch(()=>{const i=s.findAll(t),r=new Set(i);return i.forEach(a=>{a.reset()}),this.refetchQueries({type:"active",predicate:h(a=>r.has(a),"predicate")},e)})}cancelQueries(t,e={}){const s={revert:!0,...e},i=n.batch(()=>this.#t.findAll(t).map(r=>r.cancel(s)));return Promise.all(i).then(u).catch(u)}invalidateQueries(t,e={}){return n.batch(()=>(this.#t.findAll(t).forEach(s=>{s.invalidate()}),t?.refetchType==="none"?Promise.resolve():this.refetchQueries({...t,type:t?.refetchType??t?.type??"active"},e)))}refetchQueries(t,e={}){const s={...e,cancelRefetch:e.cancelRefetch??!0},i=n.batch(()=>this.#t.findAll(t).filter(r=>!r.isDisabled()&&!r.isStatic()).map(r=>{let a=r.fetch(void 0,s);return s.throwOnError||(a=a.catch(u)),r.state.fetchStatus==="paused"?Promise.resolve():a}));return Promise.all(i).then(u)}async query(t){const e=this.defaultQueryOptions(t);e.retry===void 0&&(e.retry=!1);const s=this.#t.build(this,e),i=s.isStaleByTime(c(e.staleTime,s))?await s.fetch(e):s.state.data,r=e.select;return r?r(i):i}fetchQuery(t){const e=this.defaultQueryOptions(t);e.retry===void 0&&(e.retry=!1);const s=this.#t.build(this,e);return s.isStaleByTime(c(e.staleTime,s))?s.fetch(e):Promise.resolve(s.state.data)}prefetchQuery(t){return this.fetchQuery(t).then(u).catch(u)}infiniteQuery(t){return t._type="infinite",this.query(t)}fetchInfiniteQuery(t){return t._type="infinite",this.fetchQuery(t)}prefetchInfiniteQuery(t){return this.fetchInfiniteQuery(t).then(u).catch(u)}ensureInfiniteQueryData(t){return t._type="infinite",this.ensureQueryData(t)}resumePausedMutations(){return f.isOnline()?this.#e.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#t}getMutationCache(){return this.#e}getDefaultOptions(){return this.#s}setDefaultOptions(t){this.#s=t}setQueryDefaults(t,e){this.#r.set(d(t),{queryKey:t,defaultOptions:e})}getQueryDefaults(t){const e=[...this.#r.values()],s={};return e.forEach(i=>{y(t,i.queryKey)&&Object.assign(s,i.defaultOptions)}),s}setMutationDefaults(t,e){this.#a.set(d(t),{mutationKey:t,defaultOptions:e})}getMutationDefaults(t){const e=[...this.#a.values()],s={};return e.forEach(i=>{y(t,i.mutationKey)&&Object.assign(s,i.defaultOptions)}),s}defaultQueryOptions(t){if(t._defaulted)return t;const e={...this.#s.queries,...this.getQueryDefaults(t.queryKey),...t,_defaulted:!0};return e.queryHash||(e.queryHash=m(e.queryKey,e)),e.refetchOnReconnect===void 0&&(e.refetchOnReconnect=e.networkMode!=="always"),e.throwOnError===void 0&&(e.throwOnError=!!e.suspense),!e.networkMode&&e.persister&&(e.networkMode="offlineFirst"),e.queryFn===A&&(e.enabled=!1),e}defaultMutationOptions(t){return t?._defaulted?t:{...this.#s.mutations,...t?.mutationKey&&this.getMutationDefaults(t.mutationKey),...t,_defaulted:!0}}clear(){this.#t.clear(),this.#e.clear()}};export{C as t};
|