@inkeep/open-knowledge 0.41.1 → 0.41.3
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/{acp-harness-probe-5nWJCUzq.mjs → acp-harness-probe-BOwFyTWe.mjs} +2 -2
- package/dist/assets/skills/discovery/SKILL.md +1 -1
- package/dist/assets/skills/project/SKILL.md +1 -1
- package/dist/cli.mjs +45 -45
- package/dist/constants-BVSTPfUv.mjs +2 -0
- package/dist/{git-handle-ZhJgz79A.mjs → git-handle-C0Vkx9lA.mjs} +2 -2
- package/dist/git-handle-z2kbZHY3.mjs +1 -0
- package/dist/index.mjs +1 -1
- package/dist/{init-CMNFw1f5.mjs → init-D6sC54Pr.mjs} +4 -4
- package/dist/init-DBeufZJj.mjs +1 -0
- package/dist/{launch-json-removal-B-KyA7If.mjs → launch-json-removal-IpmYWqR_.mjs} +2 -2
- package/dist/{loader-CjkpHgrm.mjs → loader-5nE64IiE.mjs} +2 -2
- package/dist/loader-rVkazX7x.mjs +1 -0
- package/dist/md-manager-B4y6B-tT.mjs +2 -0
- package/dist/{open-browser-BvP05JKj.mjs → open-browser-B4QMCuDE.mjs} +2 -2
- package/dist/parse-worker.mjs +1 -1
- package/dist/{preview-BnZNzXie.mjs → preview-cTIYUtdg.mjs} +2 -2
- package/dist/preview-lbNLNqVo.mjs +1 -0
- package/dist/public/assets/{ActivityModeContent-BIXiMcGj.js → ActivityModeContent-V56HhfHm.js} +1 -1
- package/dist/public/assets/{ActivityPanelDiffView-BlsCddlr.js → ActivityPanelDiffView-5HC6s5FJ.js} +1 -1
- package/dist/public/assets/{AgentDiffPane-oYjLJDDr.js → AgentDiffPane-DnNDgiq4.js} +2 -2
- package/dist/public/assets/AgentThreadClientBinder-Dg8x_dvd.js +1 -0
- package/dist/public/assets/AppMenubar-P4tLmEVD.js +1 -0
- package/dist/public/assets/CodeMirrorPropInput-CiPNj8ti.js +3 -0
- package/dist/public/assets/ConfigSharingInfoTooltip-DoEZ2Swh.js +1 -0
- package/dist/public/assets/{ConsentDialogBody-Cdr00Adv.js → ConsentDialogBody-Cng5hWwR.js} +1 -1
- package/dist/public/assets/{CopyButton-tIb30IiS.js → CopyButton-1Q6Wnnjb.js} +1 -1
- package/dist/public/assets/{DocumentContext-DNryw5tR.js → DocumentContext-BKR16aYr.js} +10 -10
- package/dist/public/assets/EditorModeToggle-D8dxPhYZ.js +2 -0
- package/dist/public/assets/{EnableSyncConfirmDialog-33nr5d0R.js → EnableSyncConfirmDialog-BzDGK1B9.js} +1 -1
- package/dist/public/assets/FeedbackForm-B-fO65RC.js +1 -0
- package/dist/public/assets/{GraphPanel-9aikCCVz.js → GraphPanel-BB3PZd_i.js} +2 -2
- package/dist/public/assets/{LintConfigEditor-B2jlefwZ.js → LintConfigEditor-DtvxnniJ.js} +1 -1
- package/dist/public/assets/{ManagedArtifactProperties-CPVNyhy5.js → ManagedArtifactProperties-DYQ1JUmF.js} +1 -1
- package/dist/public/assets/{McpConsentDialogBody-CMu1TYud.js → McpConsentDialogBody-DscJLJPg.js} +1 -1
- package/dist/public/assets/{MermaidDocEditor-CQm9yLzC.js → MermaidDocEditor-wUCR0srX.js} +1 -1
- package/dist/public/assets/PropertyPanel-CckAc_Sq.js +2 -0
- package/dist/public/assets/{RegisteredAgentIcon-BYstaLMY.js → RegisteredAgentIcon-CboP_G0l.js} +1 -1
- package/dist/public/assets/{ReportBugDialogBody-BBAPrsS2.js → ReportBugDialogBody-BMejD0M2.js} +1 -1
- package/dist/public/assets/{SchemaConfigEditor-BrLVE7C0.js → SchemaConfigEditor-nuU-YHpP.js} +1 -1
- package/dist/public/assets/SettingsDialogBody-DNdlho-U.js +7 -0
- package/dist/public/assets/{ShareBranchSwitchDialog-0huPygyG.js → ShareBranchSwitchDialog-BzvjNuw_.js} +1 -1
- package/dist/public/assets/{ShareReceiveDialog-hM8VMNZj.js → ShareReceiveDialog-CznGTWez.js} +1 -1
- package/dist/public/assets/{ShareReceiveMissDialog-D8c_k3S3.js → ShareReceiveMissDialog-BKcrHSOs.js} +1 -1
- package/dist/public/assets/{SkillEditorActions-Cb7fW9DL.js → SkillEditorActions-C7jWaMNZ.js} +1 -1
- package/dist/public/assets/{SourceEditor-BMamozBI.js → SourceEditor-DVqYQflP.js} +1 -1
- package/dist/public/assets/{TerminalPanel-C32GYMMi.js → TerminalPanel-CDDchf68.js} +3 -3
- package/dist/public/assets/{TerminalSessionsHost-BLWkOyQV.js → TerminalSessionsHost-DEXiA3WZ.js} +2 -2
- package/dist/public/assets/{TerminalWindowApp-BdSw_Ao-.js → TerminalWindowApp-CSzPSa7h.js} +1 -1
- package/dist/public/assets/{ThreadView-uWP49vc2.js → ThreadView-CoHq4aL7.js} +1 -1
- package/dist/public/assets/{TimelineDiffPane-CwAAi13Y.js → TimelineDiffPane-BTaUZ3Kb.js} +2 -2
- package/dist/public/assets/__vite-browser-external-lJ8jEJ5u.js +1 -0
- package/dist/public/assets/{abnfDiagram-VRR7QNED-Pz-d7QUO.js → abnfDiagram-VRR7QNED-CSAyvmsc.js} +1 -1
- package/dist/public/assets/{agent-diff-store-D-khHmXD.js → agent-diff-store-CE54PhoR.js} +1 -1
- package/dist/public/assets/{agent-visibility-DFPh0MZF.js → agent-visibility-BsnQwNdc.js} +1 -1
- package/dist/public/assets/{arc-zavTz6Mi.js → arc-B9W1msik.js} +1 -1
- package/dist/public/assets/architecture-TIHT7OUA-DKHFhDk7.js +1 -0
- package/dist/public/assets/{architectureDiagram-ZJ3FMSHR-DPFdhM_J.js → architectureDiagram-ZJ3FMSHR-Dy2e_59w.js} +1 -1
- package/dist/public/assets/arrow-up-right-obRIg3Sv.js +1 -0
- package/dist/public/assets/auth-state-cache-nPfU5e_O.js +11 -0
- package/dist/public/assets/{badge-kWhLcwP5.js → badge-DBfQWFob.js} +1 -1
- package/dist/public/assets/{blockDiagram-677ZJIJ3-BcUTUrKf.js → blockDiagram-677ZJIJ3-BmJoPVWJ.js} +1 -1
- package/dist/public/assets/{braces-DUywltjC.js → braces-DwnwFx_V.js} +1 -1
- package/dist/public/assets/button-Gol9BgNB.js +1 -0
- package/dist/public/assets/{c4Diagram-LMCZKHZV-DX6b63EP.js → c4Diagram-LMCZKHZV-C6-daiGI.js} +1 -1
- package/dist/public/assets/{calendar-Be7C-x0e.js → calendar-DXLdgxzp.js} +1 -1
- package/dist/public/assets/{case-sensitive-B_HNX58h.js → case-sensitive-nl0tWMnZ.js} +1 -1
- package/dist/public/assets/channel-NPsbtL4g.js +1 -0
- package/dist/public/assets/check-GqWaoTdV.js +1 -0
- package/dist/public/assets/checkbox-DY-vIhnZ.js +1 -0
- package/dist/public/assets/{chevron-down-DQUaF_vw.js → chevron-down-Bx9f3tW-.js} +1 -1
- package/dist/public/assets/chevron-left-BQ6OM94c.js +1 -0
- package/dist/public/assets/chevron-right-C8oTR6gu.js +1 -0
- package/dist/public/assets/chunk-2Q5K7J3B-DfamThA8.js +1 -0
- package/dist/public/assets/{chunk-32BRIVSS-Demy6w9E.js → chunk-32BRIVSS-C7jABskg.js} +1 -1
- package/dist/public/assets/{chunk-52WLFC77-BlEIphDp.js → chunk-52WLFC77-BUClf2Bp.js} +1 -1
- package/dist/public/assets/{chunk-5FCAYU7R-lS620rLS.js → chunk-5FCAYU7R-Z1dECZ5H.js} +1 -1
- package/dist/public/assets/{chunk-5HE753X5-Ctwpftk0.js → chunk-5HE753X5-Dfo7SN9G.js} +1 -1
- package/dist/public/assets/{chunk-5JV3BV7I-B0xTm5To.js → chunk-5JV3BV7I-D6ZlRq93.js} +1 -1
- package/dist/public/assets/{chunk-5TONJI2A-CTbq1Ges.js → chunk-5TONJI2A-Bc8YFTWv.js} +1 -1
- package/dist/public/assets/{chunk-5VM5RSS4-DIOyJEh7.js → chunk-5VM5RSS4-CvuAf9WZ.js} +1 -1
- package/dist/public/assets/{chunk-7BUUIJ7U-DJAQBDRB.js → chunk-7BUUIJ7U-DY-mK6wf.js} +1 -1
- package/dist/public/assets/{chunk-BIQX33UG-BJ4KOiuD.js → chunk-BIQX33UG-C2_T_i6p.js} +1 -1
- package/dist/public/assets/{chunk-BO2N2NFS-BKwKMCf_.js → chunk-BO2N2NFS-Ce4FT8lM.js} +4 -4
- package/dist/public/assets/{chunk-C7G6YPKG-DKtlXCwT.js → chunk-C7G6YPKG-CvO0R0o7.js} +1 -1
- package/dist/public/assets/{chunk-CQNSW5MT-CztK3zab.js → chunk-CQNSW5MT-DGjPUuGA.js} +1 -1
- package/dist/public/assets/{chunk-CYSBUYHQ-CvFdHE5W.js → chunk-CYSBUYHQ-DskcbjWM.js} +1 -1
- package/dist/public/assets/{chunk-EMLP6XTP-VxWimccr.js → chunk-EMLP6XTP-BKQNoaGS.js} +1 -1
- package/dist/public/assets/{chunk-EX3LRPZG-CO_SPblJ.js → chunk-EX3LRPZG-78TNCFn5.js} +1 -1
- package/dist/public/assets/{chunk-FWX5IMBZ-JMqub3ht.js → chunk-FWX5IMBZ-DxBIwhGr.js} +2 -2
- package/dist/public/assets/{chunk-HOUHSVGY-By4XpU6I.js → chunk-HOUHSVGY-kaNydTBg.js} +1 -1
- package/dist/public/assets/{chunk-ICXQ74PX-DWdDeVYv.js → chunk-ICXQ74PX-D-vGAA8P.js} +1 -1
- package/dist/public/assets/{chunk-JG7HCLWE-BQ8U-ghC.js → chunk-JG7HCLWE-DoSkPoyk.js} +1 -1
- package/dist/public/assets/{chunk-JWPE2WC7-DcQSwMri.js → chunk-JWPE2WC7-rkRE9Qqb.js} +1 -1
- package/dist/public/assets/{chunk-MOJQB5TN-BBaMKQVw.js → chunk-MOJQB5TN-D1DVTiJI.js} +1 -1
- package/dist/public/assets/{chunk-MOZMSUNE-CRVOIrQ5.js → chunk-MOZMSUNE-DiQFG9Cr.js} +1 -1
- package/dist/public/assets/{chunk-OGEWGWER-ba9ltMXK.js → chunk-OGEWGWER-C9QV5NVV.js} +1 -1
- package/dist/public/assets/{chunk-OSBZ3O6U-BwLKYi-M.js → chunk-OSBZ3O6U-Bw7ZAe1u.js} +1 -1
- package/dist/public/assets/{chunk-PUDLZKDR-DJ-xx1Uu.js → chunk-PUDLZKDR-DgVVUNKz.js} +1 -1
- package/dist/public/assets/{chunk-Q4XR5HBZ-BNj93MDr.js → chunk-Q4XR5HBZ-Br_Ek2kF.js} +1 -1
- package/dist/public/assets/{chunk-QBLGF6JB-hOGtWhlz.js → chunk-QBLGF6JB-CZvU2V5k.js} +1 -1
- package/dist/public/assets/{chunk-R7FJI6CG-BjWQRpAc.js → chunk-R7FJI6CG-CYfna_Nn.js} +1 -1
- package/dist/public/assets/{chunk-RYQCIY6F-B9SS86ok.js → chunk-RYQCIY6F-CR_AyEUQ.js} +1 -1
- package/dist/public/assets/{chunk-U6XO7XAA-DBbzoX4Z.js → chunk-U6XO7XAA-yFhPi07f.js} +1 -1
- package/dist/public/assets/{chunk-V7JOEXUC-EpFJBpvk.js → chunk-V7JOEXUC-BM4jn0d2.js} +1 -1
- package/dist/public/assets/chunk-VAUOI2AC-D239kTEr.js +1 -0
- package/dist/public/assets/{chunk-VR4S4FIN-B7zogTZo.js → chunk-VR4S4FIN-DVkUa8jL.js} +1 -1
- package/dist/public/assets/{chunk-WYO6CB5R-bpRilmGb.js → chunk-WYO6CB5R-Dw6T7byG.js} +2 -2
- package/dist/public/assets/chunk-XXDRQBXY-CMjFZ5xa.js +1 -0
- package/dist/public/assets/{chunk-YOTPTUD7-WzuLu2rZ.js → chunk-YOTPTUD7-DaSKW7nc.js} +1 -1
- package/dist/public/assets/{chunk-ZGVPDNZ5-BwWckaeQ.js → chunk-ZGVPDNZ5-OZxGS9Bz.js} +1 -1
- package/dist/public/assets/{chunk-ZIRB5QZD-BtkU1hkD.js → chunk-ZIRB5QZD-PR0SNtII.js} +1 -1
- package/dist/public/assets/classDiagram-OUVF2IWQ-DpqUur3T.js +1 -0
- package/dist/public/assets/classDiagram-v2-EOCWNBFH-C6kGeSfX.js +1 -0
- package/dist/public/assets/client-version-C9dKI6XY.js +1 -0
- package/dist/public/assets/{collapsible-snx-HFVG.js → collapsible-B1mS1n9y.js} +1 -1
- package/dist/public/assets/compiler-runtime-BfE3aGVn.js +1 -0
- package/dist/public/assets/config-context-BD8I9DHH.js +1 -0
- package/dist/public/assets/{config-provider-D6Ee_DYA.js → config-provider-DNKyP_6q.js} +2 -2
- package/dist/public/assets/{copilot-fpMAoCAq.js → copilot-BCybAoDg.js} +1 -1
- package/dist/public/assets/{copy-C1RMi2cI.js → copy-9EDFYcyR.js} +1 -1
- package/dist/public/assets/{cose-bilkent-JH36ORCC-v6AC1hlD.js → cose-bilkent-JH36ORCC-ByxyfkaW.js} +1 -1
- package/dist/public/assets/{createLucideIcon-BwsSSL7z.js → createLucideIcon-DAkhoPjT.js} +1 -1
- package/dist/public/assets/{cursor-BSZbWhxr.js → cursor-DNMIFrEn.js} +1 -1
- package/dist/public/assets/cynefin-VYW2F7L2-BZd3qk2O.js +1 -0
- package/dist/public/assets/{cynefinDiagram-TSTJHNR4-DJT_8PZ9.js → cynefinDiagram-TSTJHNR4-Bg9qBIQz.js} +1 -1
- package/dist/public/assets/{dagre-C139UR6G.js → dagre-BpQy_13x.js} +1 -1
- package/dist/public/assets/{dagre-VKFMJZFB-5RJKKLB6.js → dagre-VKFMJZFB-Bmq16kmA.js} +1 -1
- package/dist/public/assets/{diagram-FQU43EPY-CMw4bmCQ.js → diagram-FQU43EPY-DtqSToqm.js} +1 -1
- package/dist/public/assets/{diagram-G47NLZAW-CYLhDQDm.js → diagram-G47NLZAW-5rAHLii9.js} +1 -1
- package/dist/public/assets/{diagram-NH7WQ7WH-lnG_Yvrf.js → diagram-NH7WQ7WH-CNMy1n8N.js} +1 -1
- package/dist/public/assets/{diagram-OA4YK3LP-tjz67Utc.js → diagram-OA4YK3LP-DKrqwtw9.js} +1 -1
- package/dist/public/assets/{diagram-WEI45ONY-keCs6tdk.js → diagram-WEI45ONY-BEeh1WiJ.js} +1 -1
- package/dist/public/assets/{dialog-BvA78Pbg.js → dialog-D1Bdnm4T.js} +1 -1
- package/dist/public/assets/{dist-BPbnU4MJ.js → dist-BDUhB1eX.js} +1 -1
- package/dist/public/assets/{dist-HcWgGcjp.js → dist-BGfU2QP2.js} +54 -54
- package/dist/public/assets/dist-BJa2CfR3.js +1 -0
- package/dist/public/assets/dist-BNcdLYQI.js +1 -0
- package/dist/public/assets/{dist-t90i8nhW.js → dist-BTjBKsmV.js} +1 -1
- package/dist/public/assets/{dist-DoyeToaO.js → dist-BjDuLI_j.js} +1 -1
- package/dist/public/assets/{dist-Ds91W2q2.js → dist-BoIv4SAA.js} +1 -1
- package/dist/public/assets/{dist-EBCF8Hyi.js → dist-C-31u2Hx.js} +1 -1
- package/dist/public/assets/{dist-CUQV7eXO.js → dist-CHDGRvTt.js} +1 -1
- package/dist/public/assets/{dist-PyCLG6aQ.js → dist-Ci4TMg-i.js} +1 -1
- package/dist/public/assets/{dist-DNTp9iqB.js → dist-CpB1fiWh2.js} +1 -1
- package/dist/public/assets/{dist-DVNg6hPx.js → dist-D5BMBxix.js} +1 -1
- package/dist/public/assets/dist-D6h-uzOv.js +1 -0
- package/dist/public/assets/{dist-UJD1w5LO.js → dist-DAU1MdSo.js} +1 -1
- package/dist/public/assets/{dist-DoAMXMs5.js → dist-DCVeG4ut.js} +1 -1
- package/dist/public/assets/dist-DEamjSXE.js +1 -0
- package/dist/public/assets/dist-DFt8VaPU.js +1 -0
- package/dist/public/assets/{dist-Cm6pClkc2.js → dist-DU-4Kwni.js} +1 -1
- package/dist/public/assets/{dist-CXEsWt_M.js → dist-DhDVYf0S.js} +1 -1
- package/dist/public/assets/{dist-B22zi36Z.js → dist-L0D4gE6z.js} +1 -1
- package/dist/public/assets/{dist-De9aiAJx.js → dist-Nvb76hAm.js} +1 -1
- package/dist/public/assets/{dist-C3RLAwRF.js → dist-PQ5KMVDh.js} +1 -1
- package/dist/public/assets/{dist-CEEceAlU.js → dist-WHJq_4dd.js} +1 -1
- package/dist/public/assets/dist-nHZgBxFS.js +1 -0
- package/dist/public/assets/{dist-BHnd2TCW.js → dist-pk7DKQo2.js} +1 -1
- package/dist/public/assets/{dist-Ck2P_69m.js → dist-qSIybngm.js} +1 -1
- package/dist/public/assets/{doc-hash-B0QmkVn8.js → doc-hash-BSk1YYn9.js} +1 -1
- package/dist/public/assets/{documents-events-Uo9wt1xU.js → documents-events-BtgGTIqA.js} +1 -1
- package/dist/public/assets/dropdown-menu-xw8WTdb-.js +1 -0
- package/dist/public/assets/{ebnfDiagram-CCIWWBDH-B-u3v2zf.js → ebnfDiagram-CCIWWBDH-CuibBQuZ.js} +1 -1
- package/dist/public/assets/{erDiagram-Q63AITRT-CJ_Cnn6b.js → erDiagram-Q63AITRT-zXZiY3yq.js} +1 -1
- package/dist/public/assets/{es2015-BPXMTj9r.js → es2015-BNlmLq62.js} +1 -1
- package/dist/public/assets/{esm-BTOPTNTx.js → esm-CYdiz24Y.js} +1 -1
- package/dist/public/assets/eventmodeling-45OFAUF4-BP9HGrxz.js +1 -0
- package/dist/public/assets/{eye-Bd06Ragq.js → eye-CASw1HTi.js} +1 -1
- package/dist/public/assets/{field-L06JWfWh.js → field-DVIFAnvR.js} +1 -1
- package/dist/public/assets/{file-tree-adapter-BhgVCRpc.js → file-tree-adapter-C0J3tc2q.js} +1 -1
- package/dist/public/assets/{file-tree-utils-CEfCYY3r.js → file-tree-utils-DAVYMBYf.js} +1 -1
- package/dist/public/assets/flowDiagram-23GEKE2U-DanFCWBY.js +1 -0
- package/dist/public/assets/{folder-open-uBVyDcrj.js → folder-open-wLd69QUc.js} +1 -1
- package/dist/public/assets/{follow-file-DcOgGK76.js → follow-file-DWTpe68g.js} +1 -1
- package/dist/public/assets/{form-DqVoiojI.js → form-BWpIYeba.js} +1 -1
- package/dist/public/assets/{ganttDiagram-NO4QXBWP-DHV4x4CM.js → ganttDiagram-NO4QXBWP-BV5e8uSJ.js} +1 -1
- package/dist/public/assets/{git-branch-Dt9AthpR.js → git-branch-CMJAiYLz.js} +1 -1
- package/dist/public/assets/gitGraph-TEB2WS4Q-GM2z_7na.js +1 -0
- package/dist/public/assets/{gitGraphDiagram-IHSO6WYX-BCudlL0f.js → gitGraphDiagram-IHSO6WYX-BsCUZZG-.js} +1 -1
- package/dist/public/assets/globals-BUFslTqe.css +1 -0
- package/dist/public/assets/globals-CnEbugkx.js +9 -0
- package/dist/public/assets/{graphlib-C20MI2IN.js → graphlib-dbceUpjW.js} +1 -1
- package/dist/public/assets/{hash-BBX_Yf_s.js → hash-DNKDqZ18.js} +1 -1
- package/dist/public/assets/{highlighted-body-OFNGDK62-C-4VTnbV.js → highlighted-body-OFNGDK62-B_Qp3LVc.js} +1 -1
- package/dist/public/assets/index-CDpJ2gXn.css +1 -0
- package/dist/public/assets/index-CQ4DveM_.js +2014 -0
- package/dist/public/assets/info-DKCQHKI2-iobk9-Ws.js +1 -0
- package/dist/public/assets/{info-CUyu_utl.js → info-yKMseklR.js} +1 -1
- package/dist/public/assets/{infoDiagram-FWYZ7A6U-BgYy4d56.js → infoDiagram-FWYZ7A6U-NVc44Bk_.js} +1 -1
- package/dist/public/assets/{input-DAAOxj0-.js → input-7sjA3n4i.js} +1 -1
- package/dist/public/assets/{ishikawaDiagram-FXEZZL3T-CCS72EW8.js → ishikawaDiagram-FXEZZL3T-D-yYM5ms.js} +1 -1
- package/dist/public/assets/{journeyDiagram-5HDEW3XC-CoREp23c.js → journeyDiagram-5HDEW3XC-kBiD_QZa.js} +1 -1
- package/dist/public/assets/{jsx-runtime-Dda6ZcOg.js → jsx-runtime-BUgB2tll.js} +1 -1
- package/dist/public/assets/{kanban-definition-HUTT4EX6-DSFIJzBy.js → kanban-definition-HUTT4EX6-DY3T3bWl.js} +1 -1
- package/dist/public/assets/{label-BPs9TAEe.js → label-DyipnO5I.js} +1 -1
- package/dist/public/assets/{lib-7eiHvDyn.js → lib-Iu39CNZE.js} +1 -1
- package/dist/public/assets/{line-DN_hBe-O.js → line-D3ZxbkBh.js} +1 -1
- package/dist/public/assets/{linear-D449kPqH.js → linear-B32W-VIi.js} +1 -1
- package/dist/public/assets/{lint-config-client-DGu5tve1.js → lint-config-client-CNmTHHQl.js} +1 -1
- package/dist/public/assets/loader-circle-Cg5SU7AZ.js +1 -0
- package/dist/public/assets/{map-MD1QDiqI.js → map-DzGP5XyB.js} +1 -1
- package/dist/public/assets/{markdownit-D5ckRcLX.js → markdownit-YwcN3EvW.js} +1 -1
- package/dist/public/assets/{markdownlint-rule-browser-tjMFNWqD.js → markdownlint-rule-browser-IrQQnbe7.js} +1 -1
- package/dist/public/assets/mermaid-GHXKKRXX-CVB7aazr.js +1 -0
- package/dist/public/assets/{mermaid-parser.core-Cm2pHXoA.js → mermaid-parser.core-7ep81ntF.js} +2 -2
- package/dist/public/assets/{mermaid.core-CBLgP-tq.js → mermaid.core-CJOawCp7.js} +3 -3
- package/dist/public/assets/{mindmap-definition-LN4V7U3C-CuiM6FsU.js → mindmap-definition-LN4V7U3C-Voa40XCr.js} +1 -1
- package/dist/public/assets/minus-SecfYzeQ.js +1 -0
- package/dist/public/assets/{miss-dialog-store-tptqlgbE.js → miss-dialog-store-Bx4JLuKB.js} +1 -1
- package/dist/public/assets/{navigation-targets-CHPfEHEd.js → navigation-targets-CGUSVL6j.js} +1 -1
- package/dist/public/assets/{now-Dq6LIEaU.js → now-DWwHYXX2.js} +1 -1
- package/dist/public/assets/{open-managed-artifact-tab-C7p0w8HU.js → open-managed-artifact-tab-CxOXkAIY.js} +1 -1
- package/dist/public/assets/{ordinal-BIOoIzFp.js → ordinal-CDU8wU5Q.js} +1 -1
- package/dist/public/assets/packet-7NZHBO7P-JGiyDeqb.js +1 -0
- package/dist/public/assets/{panel-DoEQccon.js → panel-XnOCz9jd.js} +1 -1
- package/dist/public/assets/{panel-right-open-DXZ0AA7N.js → panel-right-open-B7ziq39V.js} +1 -1
- package/dist/public/assets/{paperclip-B0H0WUBm.js → paperclip-CX7J_G-w.js} +1 -1
- package/dist/public/assets/{pdf-DQbEAtJS.js → pdf-BuVCb1O9.js} +1 -1
- package/dist/public/assets/{pegDiagram-2B236MQR-BLm9aXLc.js → pegDiagram-2B236MQR-DXoRvE2_.js} +1 -1
- package/dist/public/assets/{pending-receive-nav-store-Cr_gpf9x.js → pending-receive-nav-store-D4kTIsaK.js} +1 -1
- package/dist/public/assets/pie-RZYD4A2V-CVccm5ht.js +1 -0
- package/dist/public/assets/{pieDiagram-ENE6RG2P-DWSDBj0y.js → pieDiagram-ENE6RG2P-BXV5OM8g.js} +1 -1
- package/dist/public/assets/project-paths-D3bkszNf.js +1 -0
- package/dist/public/assets/{prop-types-Q2HEN1Rj.js → prop-types-Benz74B2.js} +1 -1
- package/dist/public/assets/{propagation-api-C2s1QQGZ.js → propagation-api-OHat7V1z.js} +1 -1
- package/dist/public/assets/{quadrantDiagram-ABIIQ3AL-y4XpclHG.js → quadrantDiagram-ABIIQ3AL-CBYLKI5l.js} +1 -1
- package/dist/public/assets/radar-I7S5WNFK-Dv_FpNhf.js +1 -0
- package/dist/public/assets/radio-group-CGEdWasQ.js +1 -0
- package/dist/public/assets/railroad-3IZDKUUU-DxxZlb6D.js +1 -0
- package/dist/public/assets/railroad-abnf-AHOZXSZD-Kw1QtP0q.js +1 -0
- package/dist/public/assets/railroad-ebnf-EBAXGLYW-DLTXwgvB.js +1 -0
- package/dist/public/assets/railroad-peg-LSFZ7HO6-CTBWNv5Y.js +1 -0
- package/dist/public/assets/{railroadDiagram-RFXS5EU6-D9LfvazB.js → railroadDiagram-RFXS5EU6-BTEuq3mh.js} +1 -1
- package/dist/public/assets/{react-dom-BtuvISNc.js → react-dom-DPxgxlDT.js} +1 -1
- package/dist/public/assets/{react-BN2QHhcO.js → react-f2sANaYj.js} +1 -1
- package/dist/public/assets/{receive-store-CHxUL4MW.js → receive-store-DbySZt8N.js} +1 -1
- package/dist/public/assets/{refresh-cw-iL3pn0CM.js → refresh-cw-BfeWGCsv.js} +1 -1
- package/dist/public/assets/{requirementDiagram-TGXJPOKE-CagEMoI5.js → requirementDiagram-TGXJPOKE-B-OW4MFD.js} +1 -1
- package/dist/public/assets/{sankeyDiagram-HTMAVEWB-DJKiupTl.js → sankeyDiagram-HTMAVEWB-CQEIYQCZ.js} +1 -1
- package/dist/public/assets/{schema-fields-view-intent-BjfU6Zlh.js → schema-fields-view-intent-CqT4jLW_.js} +1 -1
- package/dist/public/assets/{selection-context-Czw3Gzjc.js → selection-context-DCJMxWzU.js} +1 -1
- package/dist/public/assets/{separator-DDR192VD.js → separator-DExEeoYE.js} +1 -1
- package/dist/public/assets/{sequenceDiagram-DBY2YBRQ-nJTL2lqd.js → sequenceDiagram-DBY2YBRQ-Cf31ZcvD.js} +1 -1
- package/dist/public/assets/{share-metadata-rows-Bv7Ioipm.js → share-metadata-rows-DVsD3vii.js} +1 -1
- package/dist/public/assets/{sizeCapture-X5ZJPWSS-dyd3KiMv.js → sizeCapture-X5ZJPWSS-BsQbG1hw.js} +1 -1
- package/dist/public/assets/{skeleton-CHlN2fwE.js → skeleton-BUPbE7lx.js} +1 -1
- package/dist/public/assets/{skill-actions-CNM51R7-.js → skill-actions-S0UIcdB8.js} +1 -1
- package/dist/public/assets/{skills-api-BQ2-TlzN.js → skills-api-D8XA69bH.js} +1 -1
- package/dist/public/assets/{sliders-horizontal-BF9G548a.js → sliders-horizontal-DhMBnUFY.js} +1 -1
- package/dist/public/assets/{sortable.esm-Cj1OlkyK.js → sortable.esm-Bj4QKaKT.js} +1 -1
- package/dist/public/assets/{square-pen-DYNBYC6t.js → square-pen-C1vIlMAW.js} +1 -1
- package/dist/public/assets/{src-BM1NAcg_.js → src-C224eFw1.js} +1 -1
- package/dist/public/assets/{src-DlF2sh0h.js → src-DrSxCOVW.js} +1 -1
- package/dist/public/assets/{startup-marks-lzQ6NDDC.js → startup-marks-DzPXEHWK.js} +1 -1
- package/dist/public/assets/{stateDiagram-2N3HPSRC-SO_TzvB4.js → stateDiagram-2N3HPSRC-Cf_gE7Q-.js} +1 -1
- package/dist/public/assets/stateDiagram-v2-6OUMAXLB-ds4tEdhm.js +1 -0
- package/dist/public/assets/{stex-CcubjMmP.js → stex-ChFXL4wJ.js} +1 -1
- package/dist/public/assets/{swimlanes-5IMT3BWC-I_fog1Gx.js → swimlanes-5IMT3BWC-C9Z1DWiv.js} +2 -2
- package/dist/public/assets/swimlanesDiagram-G3AALYLV-BEuMfu0N.js +8 -0
- package/dist/public/assets/switch-DYic2V-1.js +1 -0
- package/dist/public/assets/{tag-pill-input-Bvy4mqfW.js → tag-pill-input-CScqBN3p.js} +1 -1
- package/dist/public/assets/{target-navigation-intent-CINxIuHF.js → target-navigation-intent-mVGCycSm.js} +1 -1
- package/dist/public/assets/{telemetry-impl-SsuzKiyK.js → telemetry-impl-DX2no2Pi.js} +2 -2
- package/dist/public/assets/telemetry-startup-djxtrb5t.js +1 -0
- package/dist/public/assets/terminal-input-events-C5UuEsAB.js +1 -0
- package/dist/public/assets/{terminal-launch-events-MUnc4Ao4.js → terminal-launch-events-BMUxfSI9.js} +1 -1
- package/dist/public/assets/{terminal-telemetry-2DZ6gb5C.js → terminal-telemetry-BbC-kUyB.js} +1 -1
- package/dist/public/assets/{textarea-BuxwyMFe.js → textarea-BEHTV0VU.js} +1 -1
- package/dist/public/assets/{thread-client-CZmxW8Kl.js → thread-client-CDPegj1U.js} +1 -1
- package/dist/public/assets/{timeline-definition-FHXFAJF6-BQOKl1Wr.js → timeline-definition-FHXFAJF6-BNgvIw8J.js} +1 -1
- package/dist/public/assets/{timeline-diff-store-C_Gy5mJi.js → timeline-diff-store-xY5A4cfR.js} +1 -1
- package/dist/public/assets/{toggle-group-D6QJybW6.js → toggle-group-CjXmmTGy.js} +1 -1
- package/dist/public/assets/tooltip-B4J7VHmA.js +1 -0
- package/dist/public/assets/{trash-2-Baoxa0CE.js → trash-2-DDVTy8gQ.js} +1 -1
- package/dist/public/assets/treeView-QDETBFTQ-CUFRFwxu.js +1 -0
- package/dist/public/assets/treemap-6X3UGDF4-CMpWG5zr.js +1 -0
- package/dist/public/assets/{triangle-alert-CoYdkHNh.js → triangle-alert-B0VxKCJQ.js} +1 -1
- package/dist/public/assets/{typing-burst-detector-BTAAvRtL.js → typing-burst-detector-w83TGJFT.js} +2 -2
- package/dist/public/assets/uninstall-B8_uL8NV.js +1 -0
- package/dist/public/assets/{use-activity-panel-Cb0fI4Mi.js → use-activity-panel-YhP8vGtR.js} +1 -1
- package/dist/public/assets/{use-apply-config-color-theme-DvEpRM5l.js → use-apply-config-color-theme-u-JcfGJu.js} +2 -2
- package/dist/public/assets/{use-collab-url-YWBnKc4x.js → use-collab-url-DRZdoC-F.js} +1 -1
- package/dist/public/assets/{use-installed-clis-Civ9j_Zf.js → use-installed-clis-DBRSzrR3.js} +1 -1
- package/dist/public/assets/{use-live-xterm-theme--GcodYbe.js → use-live-xterm-theme-DcxHtUZd.js} +1 -1
- package/dist/public/assets/{use-settings-route-BIstEnPj.js → use-settings-route-CcWyPW0f.js} +1 -1
- package/dist/public/assets/{use-terminal-enabled-BKxiEhc6.js → use-terminal-enabled-DznqTIoa.js} +1 -1
- package/dist/public/assets/use-timeline-entry-diff-CYoaYTqW.js +6 -0
- package/dist/public/assets/{use-workspace-DYQ06EP5.js → use-workspace-RSGV5qeq.js} +1 -1
- package/dist/public/assets/{useLintConfigViewMode-B3XLyk60.js → useLintConfigViewMode-BRx7jr5r.js} +1 -1
- package/dist/public/assets/{useQuery-4J-R1a0S.js → useQuery-ZeEDLtxh.js} +1 -1
- package/dist/public/assets/{vennDiagram-L72KCM5P-qzJ6aksY.js → vennDiagram-L72KCM5P-BemdrSYN.js} +1 -1
- package/dist/public/assets/wardley-OPB4EBWU-BJpGGUoN.js +1 -0
- package/dist/public/assets/{wardleyDiagram-EHGQE667-CiP5w3Gp.js → wardleyDiagram-EHGQE667-zyW2lMGX.js} +1 -1
- package/dist/public/assets/{workspace-paths-DnSg30T1.js → workspace-paths-CTLwXmK5.js} +1 -1
- package/dist/public/assets/{wrench-C6cgdqwA.js → wrench-Bjcf-2l0.js} +1 -1
- package/dist/public/assets/x-Cw3EsDCQ.js +1 -0
- package/dist/public/assets/{xychartDiagram-FW5EYKEG-DlKpchAN.js → xychartDiagram-FW5EYKEG-W-VJ6tvK.js} +1 -1
- package/dist/public/index.html +144 -138
- package/dist/public/uninstall.html +74 -0
- package/dist/{repair-launch-json-Cvo7H--u.mjs → repair-launch-json-DcHGX6hC.mjs} +2 -2
- package/dist/{repair-mcp-configs-hUcFqhtN.mjs → repair-mcp-configs-CPUx3Y1R.mjs} +2 -2
- package/dist/repair-skills-BNFFh5kk.mjs +1 -0
- package/dist/{repair-skills-xgU4BBSK.mjs → repair-skills-XXmzc0-v.mjs} +2 -2
- package/dist/{server-lock-D7lpEbZj.mjs → server-lock-NDXM24F6.mjs} +2 -2
- package/dist/server-lock-l_qcQskg.mjs +1 -0
- package/dist/{src-3SN72BHH.mjs → src-BTs5LPkM.mjs} +20 -20
- package/dist/src-BbntdRLo.mjs +3265 -0
- package/dist/src-CdRO3m1f.mjs +1 -0
- package/dist/{src-C-55nUaz.mjs → src-CriPjh3C.mjs} +6 -6
- package/dist/{start-BGQTUqXL.mjs → start-Bo1-QvAn.mjs} +2 -2
- package/dist/start-C0xMv3I3.mjs +1 -0
- package/dist/{write-project-skill-4OvW1cn1.mjs → write-project-skill-C-xPIQus.mjs} +3 -3
- package/package.json +5 -5
- package/dist/constants-OU2a_0ai.mjs +0 -2
- package/dist/git-handle-Cg7vsIVu.mjs +0 -1
- package/dist/init-KqLbVogk.mjs +0 -1
- package/dist/loader-D1SrU2q9.mjs +0 -1
- package/dist/md-manager-BOzKVLRL.mjs +0 -2
- package/dist/preview-CBGJEzmr.mjs +0 -1
- package/dist/public/assets/AgentThreadClientBinder-CDaXXfLH.js +0 -1
- package/dist/public/assets/AppMenubar-CqSGRAc3.js +0 -1
- package/dist/public/assets/CodeMirrorPropInput-BnUZd1PH.js +0 -3
- package/dist/public/assets/EditorModeToggle-nwop4nLB.js +0 -2
- package/dist/public/assets/FeedbackForm-HhQaJvp8.js +0 -1
- package/dist/public/assets/PropertyPanel-DPhBAKy4.js +0 -2
- package/dist/public/assets/SettingsDialogBody-CSEdgzsB.js +0 -7
- package/dist/public/assets/__vite-browser-external-CMoDOr2B.js +0 -1
- package/dist/public/assets/architecture-TIHT7OUA-BmEXwMPm.js +0 -1
- package/dist/public/assets/arrow-up-right-DtHvY6Qg.js +0 -1
- package/dist/public/assets/auth-state-cache-CUE6Jtne.js +0 -11
- package/dist/public/assets/button-B5JstM7q.js +0 -1
- package/dist/public/assets/channel-DnLJ-ZjM.js +0 -1
- package/dist/public/assets/check-DJxEKgxy.js +0 -1
- package/dist/public/assets/checkbox-DgMFNyxc.js +0 -1
- package/dist/public/assets/chevron-left-DemaPXNL.js +0 -1
- package/dist/public/assets/chevron-right-DNxn1CM1.js +0 -1
- package/dist/public/assets/chunk-2Q5K7J3B-Bw7pux3Y.js +0 -1
- package/dist/public/assets/chunk-VAUOI2AC-Dn-E52TZ.js +0 -1
- package/dist/public/assets/chunk-XXDRQBXY-sKXoKzRW.js +0 -1
- package/dist/public/assets/classDiagram-OUVF2IWQ-DnCJ0gX4.js +0 -1
- package/dist/public/assets/classDiagram-v2-EOCWNBFH-Dm_rQEzS.js +0 -1
- package/dist/public/assets/client-version-BCrXgeNu.js +0 -1
- package/dist/public/assets/compiler-runtime-YPpVnfQ-.js +0 -1
- package/dist/public/assets/config-context-Lgd8fBM2.js +0 -1
- package/dist/public/assets/cynefin-VYW2F7L2-BgEeRk9i.js +0 -1
- package/dist/public/assets/dist-B2SLv_cy.js +0 -1
- package/dist/public/assets/dist-BNSJKKYT.js +0 -1
- package/dist/public/assets/dist-CwZTPnUs.js +0 -1
- package/dist/public/assets/dist-DEF-YX4p.js +0 -1
- package/dist/public/assets/dropdown-menu-Br5y3pW-.js +0 -1
- package/dist/public/assets/eventmodeling-45OFAUF4-ZjNWMPgH.js +0 -1
- package/dist/public/assets/flowDiagram-23GEKE2U-emKuZ14A.js +0 -1
- package/dist/public/assets/gitGraph-TEB2WS4Q-DULAthqL.js +0 -1
- package/dist/public/assets/index-Bpb9jEAD.js +0 -2022
- package/dist/public/assets/index-Dghffuut.css +0 -1
- package/dist/public/assets/info-DKCQHKI2-bR6bCx3M.js +0 -1
- package/dist/public/assets/loader-circle-DquHdXOY.js +0 -1
- package/dist/public/assets/mermaid-GHXKKRXX-CmCfs7wO.js +0 -1
- package/dist/public/assets/packet-7NZHBO7P-CcYWaX_e.js +0 -1
- package/dist/public/assets/pie-RZYD4A2V-BDSTcnr_.js +0 -1
- package/dist/public/assets/project-paths-s6FVZ5CP.js +0 -1
- package/dist/public/assets/radar-I7S5WNFK-BxDARIlg.js +0 -1
- package/dist/public/assets/radio-group-CAXEEQ3G.js +0 -1
- package/dist/public/assets/railroad-3IZDKUUU-BCCxSkZw.js +0 -1
- package/dist/public/assets/railroad-abnf-AHOZXSZD-Cuizy3dO.js +0 -1
- package/dist/public/assets/railroad-ebnf-EBAXGLYW-TmaYmurZ.js +0 -1
- package/dist/public/assets/railroad-peg-LSFZ7HO6-DB-VHQzx.js +0 -1
- package/dist/public/assets/stateDiagram-v2-6OUMAXLB-JVqQagQd.js +0 -1
- package/dist/public/assets/swimlanesDiagram-G3AALYLV-DRypLOPY.js +0 -8
- package/dist/public/assets/switch-BHGjWF45.js +0 -1
- package/dist/public/assets/telemetry-startup-BAMftrEk.js +0 -1
- package/dist/public/assets/terminal-input-events-8-6sH7qD.js +0 -1
- package/dist/public/assets/tooltip-BI4ZrlGO.js +0 -1
- package/dist/public/assets/treeView-QDETBFTQ-Dpe2j0i9.js +0 -1
- package/dist/public/assets/treemap-6X3UGDF4-C95sDBTA.js +0 -1
- package/dist/public/assets/use-timeline-entry-diff-BfVMAQlN.js +0 -6
- package/dist/public/assets/wardley-OPB4EBWU-Ce2t1r0s.js +0 -1
- package/dist/public/assets/x-CxAa17gB.js +0 -1
- package/dist/repair-skills-DnayrFzZ.mjs +0 -1
- package/dist/server-lock-CIl-U-as.mjs +0 -1
- package/dist/src-Cf8OhPA7.mjs +0 -1
- package/dist/src-DAzaO37g.mjs +0 -3265
- package/dist/start-8dPNPLii.mjs +0 -1
- /package/dist/public/assets/{agent-presence-DNc33brV.js → agent-presence-D5fVEDeU.js} +0 -0
- /package/dist/public/assets/{array-CymCLnp2.js → array-5xyRnGq4.js} +0 -0
- /package/dist/public/assets/{bundle-mjs-Dy8bHgkj.js → bundle-mjs-SHeFpKGC.js} +0 -0
- /package/dist/public/assets/{chunk-zsgVPwQN.js → chunk-CYidjpOJ.js} +0 -0
- /package/dist/public/assets/{chunk-KEIR6QF5-lISElqQF.js → chunk-KEIR6QF5-6qpXgksS.js} +0 -0
- /package/dist/public/assets/{chunk-Y2CYZVJY-DG6TUVdx.js → chunk-Y2CYZVJY-YF3qT42b.js} +0 -0
- /package/dist/public/assets/{clike-9w8A902Z.js → clike-9DtPTvDi.js} +0 -0
- /package/dist/public/assets/{clipboard-adapter-Drwe8q2F.js → clipboard-adapter-B8XmDGe4.js} +0 -0
- /package/dist/public/assets/{colors-C5iIWSWx.js → colors-DBNHKQeM.js} +0 -0
- /package/dist/public/assets/{cytoscape.esm-o_6HroCP.js → cytoscape.esm-7ouTORdV.js} +0 -0
- /package/dist/public/assets/{defaultLocale-Ci_cmxto.js → defaultLocale-ihAJLooz.js} +0 -0
- /package/dist/public/assets/{desktop-bridge-types-D4yyohEA.js → desktop-bridge-types-BJP-ov02.js} +0 -0
- /package/dist/public/assets/{diff-n4NkdSZN.js → diff-BX2zBrG8.js} +0 -0
- /package/dist/public/assets/{dist-BsjuWfqE.js → dist-0uiGbm0b.js} +0 -0
- /package/dist/public/assets/{dist-AKpDSDgD.js → dist-D9L60t4S.js} +0 -0
- /package/dist/public/assets/{documents-fetch-DjUIhwk3.js → documents-fetch-D6LPbYRt.js} +0 -0
- /package/dist/public/assets/{external-link-I5y7ImPR.js → external-link-CkJSCVND.js} +0 -0
- /package/dist/public/assets/{file-tree-rename-validation-VypXChwN.js → file-tree-rename-validation-BUgsIr8g.js} +0 -0
- /package/dist/public/assets/{floating-ui.dom-DhDEJ-Ns.js → floating-ui.dom-DxCSXcm6.js} +0 -0
- /package/dist/public/assets/{format-Dz9WHgnR.js → format-BBLcLSVu.js} +0 -0
- /package/dist/public/assets/{go-D_ersHVS.js → go-Cmwm8DM7.js} +0 -0
- /package/dist/public/assets/{init-C7ZvyJtv.js → init-BtccacmP.js} +0 -0
- /package/dist/public/assets/{isObject-DaX0mC2K.js → isObject-VshW74Oj.js} +0 -0
- /package/dist/public/assets/{katex-DZtlYSy3.js → katex-BlgnTlTx.js} +0 -0
- /package/dist/public/assets/{libesm-Dk2Xd9ht.js → libesm-BmQ1EgRe.js} +0 -0
- /package/dist/public/assets/{lint-plugin-meta-CZ4Yze5u.js → lint-plugin-meta-ICZKrcJ-.js} +0 -0
- /package/dist/public/assets/{lru-string-cache-mZvIfIzw.js → lru-string-cache-k334Udn4.js} +0 -0
- /package/dist/public/assets/{lua-BZ3SwmRr.js → lua-uCz2GrxX.js} +0 -0
- /package/dist/public/assets/{mcp-consent-store-D6bfXqet.js → mcp-consent-store-Vh9GS7at.js} +0 -0
- /package/dist/public/assets/{min-BNBb-xib.js → min-BVKwPHf7.js} +0 -0
- /package/dist/public/assets/{panzoom.es-ChI1_jtK.js → panzoom.es-BS182qg8.js} +0 -0
- /package/dist/public/assets/{parse-api-error-CWeCvbNN.js → parse-api-error-mt0p1S6a.js} +0 -0
- /package/dist/public/assets/{path-CYY6b8e4.js → path-D5GPuhC0.js} +0 -0
- /package/dist/public/assets/{pdf.worker-DsFSKvhP.js → pdf.worker-qDy_6rvM.js} +0 -0
- /package/dist/public/assets/{perl-FdQByH_S.js → perl-C1bP7rXf.js} +0 -0
- /package/dist/public/assets/{preload-helper-2ej06EnG.js → preload-helper-Chd9yIcd.js} +0 -0
- /package/dist/public/assets/{properties-CBj992v9.js → properties-9eD1XXNO.js} +0 -0
- /package/dist/public/assets/{r-qg1NnfeR.js → r-07m8EdWF.js} +0 -0
- /package/dist/public/assets/{rough.esm-wROa2UhX.js → rough.esm-Cn87Pf5b.js} +0 -0
- /package/dist/public/assets/{ruby-Cg1fwXaw.js → ruby-BQ4RuSdq.js} +0 -0
- /package/dist/public/assets/{shell-CA2_MAbd.js → shell-C7Cp5Nxo.js} +0 -0
- /package/dist/public/assets/{sql-Cr2C6qVg.js → sql-B7qgW1y7.js} +0 -0
- /package/dist/public/assets/{src-CrMlpkn3.js → src-Cuc4Bklf.js} +0 -0
- /package/dist/public/assets/{swift-D3NgIBNg.js → swift-IL6DR1_Z.js} +0 -0
- /package/dist/public/assets/{thread-draft-staging-dd_DuIDX.js → thread-draft-staging-n8iW0G9g.js} +0 -0
- /package/dist/public/assets/{toml-DzNmVe9T.js → toml-C2ndrzEs.js} +0 -0
- /package/dist/public/assets/{trace-api-BEJdTRcX.js → trace-api-DHyWZzIa.js} +0 -0
- /package/dist/public/assets/{w3c-keyname-BPyKWMWB.js → w3c-keyname-DtWCia6R.js} +0 -0
- /package/dist/public/assets/{worktree-store-CcI-M07q.js → worktree-store-BQwOYPdd.js} +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import"./chunk-KEIR6QF5-lISElqQF.js";import{n as e}from"./chunk-BIQX33UG-BJ4KOiuD.js";export{e as createInfoServices};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{t as e}from"./createLucideIcon-BwsSSL7z.js";var t=e(`loader-circle`,[[`path`,{d:`M21 12a9 9 0 1 1-6.219-8.56`,key:`13zald`}]]);export{t};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as e}from"./chunk-BO2N2NFS-BKwKMCf_.js";export{e as Mermaid};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import"./chunk-KEIR6QF5-lISElqQF.js";import{n as e}from"./chunk-EMLP6XTP-VxWimccr.js";export{e as createPacketServices};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import"./chunk-KEIR6QF5-lISElqQF.js";import{n as e}from"./chunk-YOTPTUD7-WzuLu2rZ.js";export{e as createPieServices};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{t as e}from"./jsx-runtime-Dda6ZcOg.js";import{n as t}from"./dist-De9aiAJx.js";import{t as n}from"./compiler-runtime-YPpVnfQ-.js";import{s as r}from"./createLucideIcon-BwsSSL7z.js";import{t as i}from"./label-BPs9TAEe.js";import{n as a,r as o,t as s}from"./radio-group-CAXEEQ3G.js";var c=n(),l=e(),u=`flex items-start gap-2 rounded-md border p-3 text-sm font-normal transition-colors cursor-pointer`;function d(e){let n=(0,c.c)(34),{value:d,onValueChange:f,disabled:p,idPrefix:m,testIdPrefix:h}=e,g=p===void 0?!1:p,_=`${m}-sharing-shared`,v=`${m}-sharing-local-only`,y;n[0]===Symbol.for(`react.memo_cache_sentinel`)?(y=(0,l.jsxs)(`legend`,{className:`flex items-center gap-1.5 text-sm font-medium`,children:[(0,l.jsx)(t,{id:`wtcxiD`}),(0,l.jsx)(o,{})]}),n[0]=y):y=n[0];let b;n[1]===f?b=n[2]:(b=e=>f(e),n[1]=f,n[2]=b);let x=d===`shared`?`border-primary bg-primary/5`:`border-border hover:bg-muted/40`,S;n[3]===x?S=n[4]:(S=r(u,x),n[3]=x,n[4]=S);let C=`${h}-shared`,w;n[5]!==_||n[6]!==C?(w=(0,l.jsx)(a,{id:_,value:`shared`,"data-testid":C,className:`mt-0.5`}),n[5]=_,n[6]=C,n[7]=w):w=n[7];let T;n[8]===Symbol.for(`react.memo_cache_sentinel`)?(T=(0,l.jsx)(`span`,{className:`block font-medium`,children:(0,l.jsx)(t,{id:`0Gd0NU`})}),n[8]=T):T=n[8];let E;n[9]===Symbol.for(`react.memo_cache_sentinel`)?(E=(0,l.jsxs)(`span`,{children:[T,(0,l.jsx)(`span`,{className:`block text-1sm text-muted-foreground`,children:(0,l.jsx)(t,{id:`dJw2_7`})})]}),n[9]=E):E=n[9];let D;n[10]!==_||n[11]!==S||n[12]!==w?(D=(0,l.jsxs)(i,{htmlFor:_,className:S,children:[w,E]}),n[10]=_,n[11]=S,n[12]=w,n[13]=D):D=n[13];let O=d===`local-only`?`border-primary bg-primary/5`:`border-border hover:bg-muted/40`,k;n[14]===O?k=n[15]:(k=r(u,O),n[14]=O,n[15]=k);let A=`${h}-local-only`,j;n[16]!==v||n[17]!==A?(j=(0,l.jsx)(a,{id:v,value:`local-only`,"data-testid":A,className:`mt-0.5`}),n[16]=v,n[17]=A,n[18]=j):j=n[18];let M;n[19]===Symbol.for(`react.memo_cache_sentinel`)?(M=(0,l.jsx)(`span`,{className:`block font-medium`,children:(0,l.jsx)(t,{id:`OgyJSr`})}),n[19]=M):M=n[19];let N;n[20]===Symbol.for(`react.memo_cache_sentinel`)?(N=(0,l.jsxs)(`span`,{children:[M,(0,l.jsx)(`span`,{className:`block text-1sm text-muted-foreground`,children:(0,l.jsx)(t,{id:`cZ_8zB`})})]}),n[20]=N):N=n[20];let P;n[21]!==v||n[22]!==k||n[23]!==j?(P=(0,l.jsxs)(i,{htmlFor:v,className:k,children:[j,N]}),n[21]=v,n[22]=k,n[23]=j,n[24]=P):P=n[24];let F;n[25]!==g||n[26]!==D||n[27]!==P||n[28]!==b||n[29]!==d?(F=(0,l.jsxs)(s,{value:d,onValueChange:b,disabled:g,className:`grid-cols-2 gap-3`,children:[D,P]}),n[25]=g,n[26]=D,n[27]=P,n[28]=b,n[29]=d,n[30]=F):F=n[30];let I;return n[31]!==F||n[32]!==h?(I=(0,l.jsxs)(`fieldset`,{className:`flex flex-col space-y-2`,"data-testid":h,children:[y,F]}),n[31]=F,n[32]=h,n[33]=I):I=n[33],I}function f(){let e=null,t=null,n=new Set,r=!1,i=null;function a(){for(let e of n)e()}function o(){e!==null&&(e=null,a())}return{install({bridge:n}){if(n&&n.onboarding)return r?i??void 0:(r=!0,t=n,i=n.onboarding.onShow(t=>{e=t,a()}),n.onboarding.signalReady(),()=>{i?.(),i=null,r=!1,t=null,o()})},getSnapshot(){return e},subscribe(e){return n.add(e),()=>{n.delete(e)}},async confirm(e){let n=t;if(!n)return{ok:!1,error:`Not attached to desktop bridge`};try{let t=await n.onboarding.confirm(e);return t.ok&&o(),t}catch(e){return{ok:!1,error:e instanceof Error?e.message:`Unknown error`}}},async cancel(){let e=t;if(!e)return{ok:!1,error:`Not attached to desktop bridge`};try{let t=await e.onboarding.cancel();return t.ok&&o(),t}catch(e){return{ok:!1,error:e instanceof Error?e.message:`Unknown error`}}},dismiss(){o()}}}var p=f();function m(e){return p.install(e)}function h(e,t){let n=e=>e.replace(/\\/g,`/`).replace(/\/+$/,``)||(e.startsWith(`/`)?`/`:``),r=n(e),i=n(t);if(r===i)return`.`;let a=r.endsWith(`/`)?r:`${r}/`;return i.startsWith(a)?i.slice(a.length):null}function g(e){if(e===``||e===`.`)return!0;if(e.startsWith(`/`)||/^[A-Za-z]:/.test(e))return!1;let t=e.replace(/\\/g,`/`).split(`/`),n=0;for(let e of t)if(!(e===``||e===`.`))if(e===`..`){if(--n,n<0)return!1}else n+=1;return!0}export{d as a,m as i,h as n,p as r,g as t};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import"./chunk-KEIR6QF5-lISElqQF.js";import{n as e}from"./chunk-QBLGF6JB-hOGtWhlz.js";export{e as createRadarServices};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{o as e}from"./chunk-zsgVPwQN.js";import{t}from"./jsx-runtime-Dda6ZcOg.js";import{t as n}from"./react-BN2QHhcO.js";import{n as r,r as i}from"./dist-De9aiAJx.js";import{t as a}from"./compiler-runtime-YPpVnfQ-.js";import{o,s}from"./createLucideIcon-BwsSSL7z.js";import{a as c,c as l,d as u,o as d,u as f}from"./dist-BNSJKKYT.js";import{i as p,n as m,r as h,t as g}from"./tooltip-BI4ZrlGO.js";import{t as _}from"./dist-DoyeToaO.js";import{t as v}from"./dist-DEF-YX4p.js";import{o as y}from"./dist-CwZTPnUs.js";import{n as b,r as x,t as S}from"./dist-UJD1w5LO.js";import{t as C}from"./info-CUyu_utl.js";var w=e(n(),1),T=t(),E=`Radio`,[D,O]=f(E),[k,A]=D(E),j=w.forwardRef((e,t)=>{let{__scopeRadio:n,name:r,checked:i=!1,required:a,disabled:s,value:c=`on`,onCheck:d,form:f,...p}=e,[m,h]=w.useState(null),g=o(t,e=>h(e)),_=w.useRef(!1),v=m?f||!!m.closest(`form`):!0;return(0,T.jsxs)(k,{scope:n,checked:i,disabled:s,children:[(0,T.jsx)(u.button,{type:`button`,role:`radio`,"aria-checked":i,"data-state":I(i),"data-disabled":s?``:void 0,disabled:s,value:c,...p,ref:g,onClick:l(e.onClick,e=>{i||d?.(),v&&(_.current=e.isPropagationStopped(),_.current||e.stopPropagation())})}),v&&(0,T.jsx)(F,{control:m,bubbles:!_.current,name:r,value:c,checked:i,required:a,disabled:s,form:f,style:{transform:`translateX(-100%)`}})]})});j.displayName=E;var M=`RadioIndicator`,N=w.forwardRef((e,t)=>{let{__scopeRadio:n,forceMount:r,...i}=e,a=A(M,n);return(0,T.jsx)(c,{present:r||a.checked,children:(0,T.jsx)(u.span,{"data-state":I(a.checked),"data-disabled":a.disabled?``:void 0,...i,ref:t})})});N.displayName=M;var P=`RadioBubbleInput`,F=w.forwardRef(({__scopeRadio:e,control:t,checked:n,bubbles:r=!0,...i},a)=>{let s=w.useRef(null),c=o(s,a),l=v(n),d=y(t);return w.useEffect(()=>{let e=s.current;if(!e)return;let t=window.HTMLInputElement.prototype,i=Object.getOwnPropertyDescriptor(t,`checked`).set;if(l!==n&&i){let t=new Event(`click`,{bubbles:r});i.call(e,n),e.dispatchEvent(t)}},[l,n,r]),(0,T.jsx)(u.input,{type:`radio`,"aria-hidden":!0,defaultChecked:n,...i,tabIndex:-1,ref:c,style:{...i.style,...d,position:`absolute`,pointerEvents:`none`,opacity:0,margin:0}})});F.displayName=P;function I(e){return e?`checked`:`unchecked`}var L=[`ArrowUp`,`ArrowDown`,`ArrowLeft`,`ArrowRight`],R=`RadioGroup`,[z,ee]=f(R,[x,O]),B=x(),V=O(),[H,U]=z(R),W=w.forwardRef((e,t)=>{let{__scopeRadioGroup:n,name:r,defaultValue:i,value:a,required:o=!1,disabled:s=!1,orientation:c,dir:l,loop:f=!0,onValueChange:p,...m}=e,h=B(n),g=_(l),[v,y]=d({prop:a,defaultProp:i??null,onChange:p,caller:R});return(0,T.jsx)(H,{scope:n,name:r,required:o,disabled:s,value:v,onValueChange:y,children:(0,T.jsx)(b,{asChild:!0,...h,orientation:c,dir:g,loop:f,children:(0,T.jsx)(u.div,{role:`radiogroup`,"aria-required":o,"aria-orientation":c,"data-disabled":s?``:void 0,dir:g,...m,ref:t})})})});W.displayName=R;var G=`RadioGroupItem`,K=w.forwardRef((e,t)=>{let{__scopeRadioGroup:n,disabled:r,...i}=e,a=U(G,n),s=a.disabled||r,c=B(n),u=V(n),d=w.useRef(null),f=o(t,d),p=a.value===i.value,m=w.useRef(!1);return w.useEffect(()=>{let e=e=>{L.includes(e.key)&&(m.current=!0)},t=()=>m.current=!1;return document.addEventListener(`keydown`,e),document.addEventListener(`keyup`,t),()=>{document.removeEventListener(`keydown`,e),document.removeEventListener(`keyup`,t)}},[]),(0,T.jsx)(S,{asChild:!0,...c,focusable:!s,active:p,children:(0,T.jsx)(j,{disabled:s,required:a.required,checked:p,...u,...i,name:a.name,ref:f,onCheck:()=>a.onValueChange(i.value),onKeyDown:l(e=>{e.key===`Enter`&&e.preventDefault()}),onFocus:l(i.onFocus,()=>{m.current&&d.current?.click()})})})});K.displayName=G;var q=`RadioGroupIndicator`,J=w.forwardRef((e,t)=>{let{__scopeRadioGroup:n,...r}=e;return(0,T.jsx)(N,{...V(n),...r,ref:t})});J.displayName=q;var Y=W,X=K,Z=J,Q=a();function $(){let e=(0,Q.c)(8),{_:t}=i(),n;e[0]===t?n=e[1]:(n=t({id:`RrAIZx`}),e[0]=t,e[1]=n);let a;e[2]===Symbol.for(`react.memo_cache_sentinel`)?(a=(0,T.jsx)(C,{className:`size-3.5`,"aria-hidden":!0}),e[2]=a):a=e[2];let o;e[3]===n?o=e[4]:(o=(0,T.jsx)(p,{className:`text-muted-foreground hover:text-foreground`,"aria-label":n,"data-testid":`config-sharing-info`,children:a}),e[3]=n,e[4]=o);let s;e[5]===Symbol.for(`react.memo_cache_sentinel`)?(s=(0,T.jsx)(m,{className:`max-w-xs`,children:(0,T.jsx)(`p`,{className:`leading-relaxed wrap-break-word`,children:(0,T.jsx)(r,{id:`itxlnr`,components:{0:(0,T.jsx)(`code`,{}),1:(0,T.jsx)(`code`,{}),2:(0,T.jsx)(`br`,{}),3:(0,T.jsx)(`strong`,{className:`font-semibold`}),4:(0,T.jsx)(`br`,{}),5:(0,T.jsx)(`strong`,{className:`font-semibold`}),6:(0,T.jsx)(`code`,{})}})})}),e[5]=s):s=e[5];let c;return e[6]===o?c=e[7]:(c=(0,T.jsx)(h,{children:(0,T.jsxs)(g,{children:[o,s]})}),e[6]=o,e[7]=c),c}function te(e){let t=(0,Q.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=s(`grid w-full gap-2`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,T.jsx)(Y,{"data-slot":`radio-group`,className:i,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}function ne(e){let t=(0,Q.c)(9),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=s(`group/radio-group-item peer relative flex aspect-square size-4 shrink-0 rounded-full border border-input outline-none after:absolute after:-inset-x-3 after:-inset-y-2 focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 aria-invalid:aria-checked:border-primary dark:bg-input/30 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 data-checked:border-primary data-checked:bg-primary data-checked:text-primary-foreground dark:data-checked:bg-primary`,n),t[3]=n,t[4]=i);let a;t[5]===Symbol.for(`react.memo_cache_sentinel`)?(a=(0,T.jsx)(Z,{"data-slot":`radio-group-indicator`,className:`flex size-4 items-center justify-center`,children:(0,T.jsx)(`span`,{className:`absolute top-1/2 left-1/2 size-2 -translate-x-1/2 -translate-y-1/2 rounded-full bg-primary-foreground`})}),t[5]=a):a=t[5];let o;return t[6]!==r||t[7]!==i?(o=(0,T.jsx)(X,{"data-slot":`radio-group-item`,className:i,...r,children:a}),t[6]=r,t[7]=i,t[8]=o):o=t[8],o}export{Y as a,X as i,ne as n,$ as r,te as t};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import"./chunk-KEIR6QF5-lISElqQF.js";import{n as e}from"./chunk-5TONJI2A-CTbq1Ges.js";export{e as createRailroadServices};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import"./chunk-KEIR6QF5-lISElqQF.js";import{n as e}from"./chunk-5HE753X5-Ctwpftk0.js";export{e as createRailroadAbnfServices};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import"./chunk-KEIR6QF5-lISElqQF.js";import{n as e}from"./chunk-U6XO7XAA-DBbzoX4Z.js";export{e as createRailroadEbnfServices};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import"./chunk-KEIR6QF5-lISElqQF.js";import{n as e}from"./chunk-JG7HCLWE-BQ8U-ghC.js";export{e as createRailroadPegServices};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{n as e}from"./chunk-Y2CYZVJY-DG6TUVdx.js";import"./src-BM1NAcg_.js";import"./chunk-WYO6CB5R-bpRilmGb.js";import"./chunk-ICXQ74PX-DWdDeVYv.js";import"./chunk-HOUHSVGY-By4XpU6I.js";import"./chunk-Q4XR5HBZ-BNj93MDr.js";import"./chunk-7BUUIJ7U-DJAQBDRB.js";import"./chunk-OGEWGWER-ba9ltMXK.js";import"./chunk-32BRIVSS-Demy6w9E.js";import"./chunk-XXDRQBXY-sKXoKzRW.js";import"./chunk-VR4S4FIN-B7zogTZo.js";import"./chunk-C7G6YPKG-DKtlXCwT.js";import"./chunk-ZGVPDNZ5-BwWckaeQ.js";import"./chunk-52WLFC77-BlEIphDp.js";import"./chunk-FWX5IMBZ-JMqub3ht.js";import{i as t,n,r,t as i}from"./chunk-EX3LRPZG-CO_SPblJ.js";var a={parser:n,get db(){return new i(2)},renderer:r,styles:t,init:e(e=>{e.state||={},e.state.arrowMarkerAbsolute=e.arrowMarkerAbsolute},`init`)};export{a as diagram};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import{n as e}from"./chunk-Y2CYZVJY-DG6TUVdx.js";import"./src-BM1NAcg_.js";import"./chunk-WYO6CB5R-bpRilmGb.js";import"./chunk-ICXQ74PX-DWdDeVYv.js";import"./chunk-HOUHSVGY-By4XpU6I.js";import"./chunk-Q4XR5HBZ-BNj93MDr.js";import"./chunk-7BUUIJ7U-DJAQBDRB.js";import"./chunk-OGEWGWER-ba9ltMXK.js";import"./chunk-32BRIVSS-Demy6w9E.js";import"./chunk-XXDRQBXY-sKXoKzRW.js";import"./chunk-VR4S4FIN-B7zogTZo.js";import"./chunk-C7G6YPKG-DKtlXCwT.js";import"./chunk-ZGVPDNZ5-BwWckaeQ.js";import"./chunk-52WLFC77-BlEIphDp.js";import"./chunk-FWX5IMBZ-JMqub3ht.js";import"./chunk-ZIRB5QZD-BtkU1hkD.js";import{r as t,t as n}from"./chunk-PUDLZKDR-DJ-xx1Uu.js";var r=n({defaultLayout:`swimlane`,styles:e(e=>`${t(e)}
|
|
2
|
-
.swimlane.cluster rect {
|
|
3
|
-
stroke: ${e.clusterBorder} !important;
|
|
4
|
-
}
|
|
5
|
-
[data-look="neo"].cluster rect {
|
|
6
|
-
filter: none;
|
|
7
|
-
}
|
|
8
|
-
`,`getStyles`)});export{r as diagram};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{o as e}from"./chunk-zsgVPwQN.js";import{t}from"./jsx-runtime-Dda6ZcOg.js";import{t as n}from"./react-BN2QHhcO.js";import{t as r}from"./react-dom-BtuvISNc.js";import{t as i}from"./compiler-runtime-YPpVnfQ-.js";import{o as a,r as o,s,t as c}from"./createLucideIcon-BwsSSL7z.js";import{c as l,d as u,i as d,n as f,o as p,r as m,s as h,t as g,u as _}from"./dist-BNSJKKYT.js";import{a as v}from"./tooltip-BI4ZrlGO.js";import{n as y,t as b}from"./dist-DoyeToaO.js";import{i as x,n as S,r as C,t as w}from"./es2015-BPXMTj9r.js";import{t as T}from"./dist-DEF-YX4p.js";import{a as E,i as ee,n as D,o as O,r as k,t as A}from"./dist-CwZTPnUs.js";import{t as te}from"./check-DJxEKgxy.js";import{t as j}from"./chevron-down-DQUaF_vw.js";var M=e(n(),1),N=e(r(),1);function P(e,[t,n]){return Math.min(n,Math.max(t,e))}var F=t(),I=[` `,`Enter`,`ArrowUp`,`ArrowDown`],ne=[` `,`Enter`],L=`Select`,[R,z,B]=y(L),[V,H]=_(L,[B,E]),U=E(),[re,W]=V(L),[ie,ae]=V(L),G=e=>{let{__scopeSelect:t,children:n,open:r,defaultOpen:i,onOpenChange:a,value:o,defaultValue:s,onValueChange:c,dir:l,name:u,autoComplete:f,disabled:m,required:h,form:g}=e,_=U(t),[v,y]=M.useState(null),[x,S]=M.useState(null),[C,w]=M.useState(!1),T=b(l),[E,D]=p({prop:r,defaultProp:i??!1,onChange:a,caller:L}),[O,k]=p({prop:o,defaultProp:s,onChange:c,caller:L}),A=M.useRef(null),te=v?g||!!v.closest(`form`):!0,[j,N]=M.useState(new Set),P=Array.from(j).map(e=>e.props.value).join(`;`);return(0,F.jsx)(ee,{..._,children:(0,F.jsxs)(re,{required:h,scope:t,trigger:v,onTriggerChange:y,valueNode:x,onValueNodeChange:S,valueNodeHasChildren:C,onValueNodeHasChildrenChange:w,contentId:d(),value:O,onValueChange:k,open:E,onOpenChange:D,dir:T,triggerPointerDownPosRef:A,disabled:m,children:[(0,F.jsx)(R.Provider,{scope:t,children:(0,F.jsx)(ie,{scope:e.__scopeSelect,onNativeOptionAdd:M.useCallback(e=>{N(t=>new Set(t).add(e))},[]),onNativeOptionRemove:M.useCallback(e=>{N(t=>{let n=new Set(t);return n.delete(e),n})},[]),children:n})}),te?(0,F.jsxs)(Je,{"aria-hidden":!0,required:h,tabIndex:-1,name:u,autoComplete:f,value:O,onChange:e=>k(e.target.value),disabled:m,form:g,children:[O===void 0?(0,F.jsx)(`option`,{value:``}):null,Array.from(j)]},P):null]})})};G.displayName=L;var K=`SelectTrigger`,oe=M.forwardRef((e,t)=>{let{__scopeSelect:n,disabled:r=!1,...i}=e,o=U(n),s=W(K,n),c=s.disabled||r,d=a(t,s.onTriggerChange),f=z(n),p=M.useRef(`touch`),[m,h,g]=Xe(e=>{let t=f().filter(e=>!e.disabled),n=Ze(t,e,t.find(e=>e.value===s.value));n!==void 0&&s.onValueChange(n.value)}),_=e=>{c||(s.onOpenChange(!0),g()),e&&(s.triggerPointerDownPosRef.current={x:Math.round(e.pageX),y:Math.round(e.pageY)})};return(0,F.jsx)(A,{asChild:!0,...o,children:(0,F.jsx)(u.button,{type:`button`,role:`combobox`,"aria-controls":s.contentId,"aria-expanded":s.open,"aria-required":s.required,"aria-autocomplete":`none`,dir:s.dir,"data-state":s.open?`open`:`closed`,disabled:c,"data-disabled":c?``:void 0,"data-placeholder":Ye(s.value)?``:void 0,...i,ref:d,onClick:l(i.onClick,e=>{e.currentTarget.focus(),p.current!==`mouse`&&_(e)}),onPointerDown:l(i.onPointerDown,e=>{p.current=e.pointerType;let t=e.target;t.hasPointerCapture(e.pointerId)&&t.releasePointerCapture(e.pointerId),e.button===0&&e.ctrlKey===!1&&e.pointerType===`mouse`&&(_(e),e.preventDefault())}),onKeyDown:l(i.onKeyDown,e=>{let t=m.current!==``;!(e.ctrlKey||e.altKey||e.metaKey)&&e.key.length===1&&h(e.key),!(t&&e.key===` `)&&I.includes(e.key)&&(_(),e.preventDefault())})})})});oe.displayName=K;var se=`SelectValue`,ce=M.forwardRef((e,t)=>{let{__scopeSelect:n,className:r,style:i,children:o,placeholder:s=``,...c}=e,l=W(se,n),{onValueNodeHasChildrenChange:d}=l,f=o!==void 0,p=a(t,l.onValueNodeChange);return h(()=>{d(f)},[d,f]),(0,F.jsx)(u.span,{...c,ref:p,style:{pointerEvents:`none`},children:Ye(l.value)?(0,F.jsx)(F.Fragment,{children:s}):o})});ce.displayName=se;var le=`SelectIcon`,ue=M.forwardRef((e,t)=>{let{__scopeSelect:n,children:r,...i}=e;return(0,F.jsx)(u.span,{"aria-hidden":!0,...i,ref:t,children:r||`▼`})});ue.displayName=le;var de=`SelectPortal`,fe=e=>(0,F.jsx)(g,{asChild:!0,...e});fe.displayName=de;var q=`SelectContent`,pe=M.forwardRef((e,t)=>{let n=W(q,e.__scopeSelect),[r,i]=M.useState();if(h(()=>{i(new DocumentFragment)},[]),!n.open){let t=r;return t?N.createPortal((0,F.jsx)(me,{scope:e.__scopeSelect,children:(0,F.jsx)(R.Slot,{scope:e.__scopeSelect,children:(0,F.jsx)(`div`,{children:e.children})})}),t):null}return(0,F.jsx)(_e,{...e,ref:t})});pe.displayName=q;var J=10,[me,Y]=V(q),he=`SelectContentImpl`,ge=o(`SelectContent.RemoveScroll`),_e=M.forwardRef((e,t)=>{let{__scopeSelect:n,position:r=`item-aligned`,onCloseAutoFocus:i,onEscapeKeyDown:o,onPointerDownOutside:s,side:c,sideOffset:u,align:d,alignOffset:p,arrowPadding:m,collisionBoundary:h,collisionPadding:g,sticky:_,hideWhenDetached:v,avoidCollisions:y,...b}=e,T=W(q,n),[E,ee]=M.useState(null),[D,O]=M.useState(null),k=a(t,e=>ee(e)),[A,te]=M.useState(null),[j,N]=M.useState(null),P=z(n),[I,ne]=M.useState(!1),L=M.useRef(!1);M.useEffect(()=>{if(E)return w(E)},[E]),C();let R=M.useCallback(e=>{let[t,...n]=P().map(e=>e.ref.current),[r]=n.slice(-1),i=document.activeElement;for(let n of e)if(n===i||(n?.scrollIntoView({block:`nearest`}),n===t&&D&&(D.scrollTop=0),n===r&&D&&(D.scrollTop=D.scrollHeight),n?.focus(),document.activeElement!==i))return},[P,D]),B=M.useCallback(()=>R([A,E]),[R,A,E]);M.useEffect(()=>{I&&B()},[I,B]);let{onOpenChange:V,triggerPointerDownPosRef:H}=T;M.useEffect(()=>{if(E){let e={x:0,y:0},t=t=>{e={x:Math.abs(Math.round(t.pageX)-(H.current?.x??0)),y:Math.abs(Math.round(t.pageY)-(H.current?.y??0))}},n=n=>{e.x<=10&&e.y<=10?n.preventDefault():E.contains(n.target)||V(!1),document.removeEventListener(`pointermove`,t),H.current=null};return H.current!==null&&(document.addEventListener(`pointermove`,t),document.addEventListener(`pointerup`,n,{capture:!0,once:!0})),()=>{document.removeEventListener(`pointermove`,t),document.removeEventListener(`pointerup`,n,{capture:!0})}}},[E,V,H]),M.useEffect(()=>{let e=()=>V(!1);return window.addEventListener(`blur`,e),window.addEventListener(`resize`,e),()=>{window.removeEventListener(`blur`,e),window.removeEventListener(`resize`,e)}},[V]);let[U,re]=Xe(e=>{let t=P().filter(e=>!e.disabled),n=Ze(t,e,t.find(e=>e.ref.current===document.activeElement));n&&setTimeout(()=>n.ref.current.focus())}),ie=M.useCallback((e,t,n)=>{let r=!L.current&&!n;(T.value!==void 0&&T.value===t||r)&&(te(e),r&&(L.current=!0))},[T.value]),ae=M.useCallback(()=>E?.focus(),[E]),G=M.useCallback((e,t,n)=>{let r=!L.current&&!n;(T.value!==void 0&&T.value===t||r)&&N(e)},[T.value]),K=r===`popper`?xe:ye,oe=K===xe?{side:c,sideOffset:u,align:d,alignOffset:p,arrowPadding:m,collisionBoundary:h,collisionPadding:g,sticky:_,hideWhenDetached:v,avoidCollisions:y}:{};return(0,F.jsx)(me,{scope:n,content:E,viewport:D,onViewportChange:O,itemRefCallback:ie,selectedItem:A,onItemLeave:ae,itemTextRefCallback:G,focusSelectedItem:B,selectedItemText:j,position:r,isPositioned:I,searchRef:U,children:(0,F.jsx)(S,{as:ge,allowPinchZoom:!0,children:(0,F.jsx)(x,{asChild:!0,trapped:T.open,onMountAutoFocus:e=>{e.preventDefault()},onUnmountAutoFocus:l(i,e=>{T.trigger?.focus({preventScroll:!0}),e.preventDefault()}),children:(0,F.jsx)(f,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:o,onPointerDownOutside:s,onFocusOutside:e=>e.preventDefault(),onDismiss:()=>T.onOpenChange(!1),children:(0,F.jsx)(K,{role:`listbox`,id:T.contentId,"data-state":T.open?`open`:`closed`,dir:T.dir,onContextMenu:e=>e.preventDefault(),...b,...oe,onPlaced:()=>ne(!0),ref:k,style:{display:`flex`,flexDirection:`column`,outline:`none`,...b.style},onKeyDown:l(b.onKeyDown,e=>{let t=e.ctrlKey||e.altKey||e.metaKey;if(e.key===`Tab`&&e.preventDefault(),!t&&e.key.length===1&&re(e.key),[`ArrowUp`,`ArrowDown`,`Home`,`End`].includes(e.key)){let t=P().filter(e=>!e.disabled).map(e=>e.ref.current);if([`ArrowUp`,`End`].includes(e.key)&&(t=t.slice().reverse()),[`ArrowUp`,`ArrowDown`].includes(e.key)){let n=e.target,r=t.indexOf(n);t=t.slice(r+1)}setTimeout(()=>R(t)),e.preventDefault()}})})})})})})});_e.displayName=he;var ve=`SelectItemAlignedPosition`,ye=M.forwardRef((e,t)=>{let{__scopeSelect:n,onPlaced:r,...i}=e,o=W(q,n),s=Y(q,n),[c,l]=M.useState(null),[d,f]=M.useState(null),p=a(t,e=>f(e)),m=z(n),g=M.useRef(!1),_=M.useRef(!0),{viewport:v,selectedItem:y,selectedItemText:b,focusSelectedItem:x}=s,S=M.useCallback(()=>{if(o.trigger&&o.valueNode&&c&&d&&v&&y&&b){let e=o.trigger.getBoundingClientRect(),t=d.getBoundingClientRect(),n=o.valueNode.getBoundingClientRect(),i=b.getBoundingClientRect();if(o.dir!==`rtl`){let r=i.left-t.left,a=n.left-r,o=e.left-a,s=e.width+o,l=Math.max(s,t.width),u=window.innerWidth-J,d=P(a,[J,Math.max(J,u-l)]);c.style.minWidth=s+`px`,c.style.left=d+`px`}else{let r=t.right-i.right,a=window.innerWidth-n.right-r,o=window.innerWidth-e.right-a,s=e.width+o,l=Math.max(s,t.width),u=window.innerWidth-J,d=P(a,[J,Math.max(J,u-l)]);c.style.minWidth=s+`px`,c.style.right=d+`px`}let a=m(),s=window.innerHeight-J*2,l=v.scrollHeight,u=window.getComputedStyle(d),f=parseInt(u.borderTopWidth,10),p=parseInt(u.paddingTop,10),h=parseInt(u.borderBottomWidth,10),_=parseInt(u.paddingBottom,10),x=f+p+l+_+h,S=Math.min(y.offsetHeight*5,x),C=window.getComputedStyle(v),w=parseInt(C.paddingTop,10),T=parseInt(C.paddingBottom,10),E=e.top+e.height/2-J,ee=s-E,D=y.offsetHeight/2,O=y.offsetTop+D,k=f+p+O,A=x-k;if(k<=E){let e=a.length>0&&y===a[a.length-1].ref.current;c.style.bottom=`0px`;let t=d.clientHeight-v.offsetTop-v.offsetHeight,n=k+Math.max(ee,D+(e?T:0)+t+h);c.style.height=n+`px`}else{let e=a.length>0&&y===a[0].ref.current;c.style.top=`0px`;let t=Math.max(E,f+v.offsetTop+(e?w:0)+D)+A;c.style.height=t+`px`,v.scrollTop=k-E+v.offsetTop}c.style.margin=`${J}px 0`,c.style.minHeight=S+`px`,c.style.maxHeight=s+`px`,r?.(),requestAnimationFrame(()=>g.current=!0)}},[m,o.trigger,o.valueNode,c,d,v,y,b,o.dir,r]);h(()=>S(),[S]);let[C,w]=M.useState();return h(()=>{d&&w(window.getComputedStyle(d).zIndex)},[d]),(0,F.jsx)(Se,{scope:n,contentWrapper:c,shouldExpandOnScrollRef:g,onScrollButtonChange:M.useCallback(e=>{e&&_.current===!0&&(S(),x?.(),_.current=!1)},[S,x]),children:(0,F.jsx)(`div`,{ref:l,style:{display:`flex`,flexDirection:`column`,position:`fixed`,zIndex:C},children:(0,F.jsx)(u.div,{...i,ref:p,style:{boxSizing:`border-box`,maxHeight:`100%`,...i.style}})})})});ye.displayName=ve;var be=`SelectPopperPosition`,xe=M.forwardRef((e,t)=>{let{__scopeSelect:n,align:r=`start`,collisionPadding:i=J,...a}=e,o=U(n);return(0,F.jsx)(k,{...o,...a,ref:t,align:r,collisionPadding:i,style:{boxSizing:`border-box`,...a.style,"--radix-select-content-transform-origin":`var(--radix-popper-transform-origin)`,"--radix-select-content-available-width":`var(--radix-popper-available-width)`,"--radix-select-content-available-height":`var(--radix-popper-available-height)`,"--radix-select-trigger-width":`var(--radix-popper-anchor-width)`,"--radix-select-trigger-height":`var(--radix-popper-anchor-height)`}})});xe.displayName=be;var[Se,Ce]=V(q,{}),we=`SelectViewport`,Te=M.forwardRef((e,t)=>{let{__scopeSelect:n,nonce:r,...i}=e,o=Y(we,n),s=Ce(we,n),c=a(t,o.onViewportChange),d=M.useRef(0);return(0,F.jsxs)(F.Fragment,{children:[(0,F.jsx)(`style`,{dangerouslySetInnerHTML:{__html:`[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}`},nonce:r}),(0,F.jsx)(R.Slot,{scope:n,children:(0,F.jsx)(u.div,{"data-radix-select-viewport":``,role:`presentation`,...i,ref:c,style:{position:`relative`,flex:1,overflow:`hidden auto`,...i.style},onScroll:l(i.onScroll,e=>{let t=e.currentTarget,{contentWrapper:n,shouldExpandOnScrollRef:r}=s;if(r?.current&&n){let e=Math.abs(d.current-t.scrollTop);if(e>0){let r=window.innerHeight-J*2,i=parseFloat(n.style.minHeight),a=parseFloat(n.style.height),o=Math.max(i,a);if(o<r){let i=o+e,a=Math.min(r,i),s=i-a;n.style.height=a+`px`,n.style.bottom===`0px`&&(t.scrollTop=s>0?s:0,n.style.justifyContent=`flex-end`)}}}d.current=t.scrollTop})})})]})});Te.displayName=we;var Ee=`SelectGroup`,[De,Oe]=V(Ee),ke=M.forwardRef((e,t)=>{let{__scopeSelect:n,...r}=e,i=d();return(0,F.jsx)(De,{scope:n,id:i,children:(0,F.jsx)(u.div,{role:`group`,"aria-labelledby":i,...r,ref:t})})});ke.displayName=Ee;var Ae=`SelectLabel`,je=M.forwardRef((e,t)=>{let{__scopeSelect:n,...r}=e,i=Oe(Ae,n);return(0,F.jsx)(u.div,{id:i.id,...r,ref:t})});je.displayName=Ae;var X=`SelectItem`,[Me,Ne]=V(X),Pe=M.forwardRef((e,t)=>{let{__scopeSelect:n,value:r,disabled:i=!1,textValue:o,...s}=e,c=W(X,n),f=Y(X,n),p=c.value===r,[m,h]=M.useState(o??``),[g,_]=M.useState(!1),v=a(t,e=>f.itemRefCallback?.(e,r,i)),y=d(),b=M.useRef(`touch`),x=()=>{i||(c.onValueChange(r),c.onOpenChange(!1))};if(r===``)throw Error(`A <Select.Item /> must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder.`);return(0,F.jsx)(Me,{scope:n,value:r,disabled:i,textId:y,isSelected:p,onItemTextChange:M.useCallback(e=>{h(t=>t||(e?.textContent??``).trim())},[]),children:(0,F.jsx)(R.ItemSlot,{scope:n,value:r,disabled:i,textValue:m,children:(0,F.jsx)(u.div,{role:`option`,"aria-labelledby":y,"data-highlighted":g?``:void 0,"aria-selected":p&&g,"data-state":p?`checked`:`unchecked`,"aria-disabled":i||void 0,"data-disabled":i?``:void 0,tabIndex:i?void 0:-1,...s,ref:v,onFocus:l(s.onFocus,()=>_(!0)),onBlur:l(s.onBlur,()=>_(!1)),onClick:l(s.onClick,()=>{b.current!==`mouse`&&x()}),onPointerUp:l(s.onPointerUp,()=>{b.current===`mouse`&&x()}),onPointerDown:l(s.onPointerDown,e=>{b.current=e.pointerType}),onPointerMove:l(s.onPointerMove,e=>{b.current=e.pointerType,i?f.onItemLeave?.():b.current===`mouse`&&e.currentTarget.focus({preventScroll:!0})}),onPointerLeave:l(s.onPointerLeave,e=>{e.currentTarget===document.activeElement&&f.onItemLeave?.()}),onKeyDown:l(s.onKeyDown,e=>{f.searchRef?.current!==``&&e.key===` `||(ne.includes(e.key)&&x(),e.key===` `&&e.preventDefault())})})})})});Pe.displayName=X;var Z=`SelectItemText`,Fe=M.forwardRef((e,t)=>{let{__scopeSelect:n,className:r,style:i,...o}=e,s=W(Z,n),c=Y(Z,n),l=Ne(Z,n),d=ae(Z,n),[f,p]=M.useState(null),m=a(t,e=>p(e),l.onItemTextChange,e=>c.itemTextRefCallback?.(e,l.value,l.disabled)),g=f?.textContent,_=M.useMemo(()=>(0,F.jsx)(`option`,{value:l.value,disabled:l.disabled,children:g},l.value),[l.disabled,l.value,g]),{onNativeOptionAdd:v,onNativeOptionRemove:y}=d;return h(()=>(v(_),()=>y(_)),[v,y,_]),(0,F.jsxs)(F.Fragment,{children:[(0,F.jsx)(u.span,{id:l.textId,...o,ref:m}),l.isSelected&&s.valueNode&&!s.valueNodeHasChildren?N.createPortal(o.children,s.valueNode):null]})});Fe.displayName=Z;var Ie=`SelectItemIndicator`,Le=M.forwardRef((e,t)=>{let{__scopeSelect:n,...r}=e;return Ne(Ie,n).isSelected?(0,F.jsx)(u.span,{"aria-hidden":!0,...r,ref:t}):null});Le.displayName=Ie;var Re=`SelectScrollUpButton`,ze=M.forwardRef((e,t)=>{let n=Y(Re,e.__scopeSelect),r=Ce(Re,e.__scopeSelect),[i,o]=M.useState(!1),s=a(t,r.onScrollButtonChange);return h(()=>{if(n.viewport&&n.isPositioned){let e=function(){o(t.scrollTop>0)},t=n.viewport;return e(),t.addEventListener(`scroll`,e),()=>t.removeEventListener(`scroll`,e)}},[n.viewport,n.isPositioned]),i?(0,F.jsx)(He,{...e,ref:s,onAutoScroll:()=>{let{viewport:e,selectedItem:t}=n;e&&t&&(e.scrollTop-=t.offsetHeight)}}):null});ze.displayName=Re;var Be=`SelectScrollDownButton`,Ve=M.forwardRef((e,t)=>{let n=Y(Be,e.__scopeSelect),r=Ce(Be,e.__scopeSelect),[i,o]=M.useState(!1),s=a(t,r.onScrollButtonChange);return h(()=>{if(n.viewport&&n.isPositioned){let e=function(){let e=t.scrollHeight-t.clientHeight;o(Math.ceil(t.scrollTop)<e)},t=n.viewport;return e(),t.addEventListener(`scroll`,e),()=>t.removeEventListener(`scroll`,e)}},[n.viewport,n.isPositioned]),i?(0,F.jsx)(He,{...e,ref:s,onAutoScroll:()=>{let{viewport:e,selectedItem:t}=n;e&&t&&(e.scrollTop+=t.offsetHeight)}}):null});Ve.displayName=Be;var He=M.forwardRef((e,t)=>{let{__scopeSelect:n,onAutoScroll:r,...i}=e,a=Y(`SelectScrollButton`,n),o=M.useRef(null),s=z(n),c=M.useCallback(()=>{o.current!==null&&(window.clearInterval(o.current),o.current=null)},[]);return M.useEffect(()=>()=>c(),[c]),h(()=>{s().find(e=>e.ref.current===document.activeElement)?.ref.current?.scrollIntoView({block:`nearest`})},[s]),(0,F.jsx)(u.div,{"aria-hidden":!0,...i,ref:t,style:{flexShrink:0,...i.style},onPointerDown:l(i.onPointerDown,()=>{o.current===null&&(o.current=window.setInterval(r,50))}),onPointerMove:l(i.onPointerMove,()=>{a.onItemLeave?.(),o.current===null&&(o.current=window.setInterval(r,50))}),onPointerLeave:l(i.onPointerLeave,()=>{c()})})}),Ue=`SelectSeparator`,We=M.forwardRef((e,t)=>{let{__scopeSelect:n,...r}=e;return(0,F.jsx)(u.div,{"aria-hidden":!0,...r,ref:t})});We.displayName=Ue;var Ge=`SelectArrow`,Ke=M.forwardRef((e,t)=>{let{__scopeSelect:n,...r}=e,i=U(n),a=W(Ge,n),o=Y(Ge,n);return a.open&&o.position===`popper`?(0,F.jsx)(D,{...i,...r,ref:t}):null});Ke.displayName=Ge;var qe=`SelectBubbleInput`,Je=M.forwardRef(({__scopeSelect:e,value:t,...n},r)=>{let i=M.useRef(null),o=a(r,i),s=T(t);return M.useEffect(()=>{let e=i.current;if(!e)return;let n=window.HTMLSelectElement.prototype,r=Object.getOwnPropertyDescriptor(n,`value`).set;if(s!==t&&r){let n=new Event(`change`,{bubbles:!0});r.call(e,t),e.dispatchEvent(n)}},[s,t]),(0,F.jsx)(u.select,{...n,style:{...v,...n.style},ref:o,defaultValue:t})});Je.displayName=qe;function Ye(e){return e===``||e===void 0}function Xe(e){let t=m(e),n=M.useRef(``),r=M.useRef(0),i=M.useCallback(e=>{let i=n.current+e;t(i),(function e(t){n.current=t,window.clearTimeout(r.current),t!==``&&(r.current=window.setTimeout(()=>e(``),1e3))})(i)},[t]),a=M.useCallback(()=>{n.current=``,window.clearTimeout(r.current)},[]);return M.useEffect(()=>()=>window.clearTimeout(r.current),[]),[n,i,a]}function Ze(e,t,n){let r=t.length>1&&Array.from(t).every(e=>e===t[0])?t[0]:t,i=n?e.indexOf(n):-1,a=Qe(e,Math.max(i,0));r.length===1&&(a=a.filter(e=>e!==n));let o=a.find(e=>e.textValue.toLowerCase().startsWith(r.toLowerCase()));return o===n?void 0:o}function Qe(e,t){return e.map((n,r)=>e[(t+r)%e.length])}var $e=G,et=oe,tt=ce,nt=ue,rt=fe,it=pe,at=Te,ot=Pe,st=Fe,ct=Le,lt=ze,ut=Ve,Q=`Switch`,[dt,ft]=_(Q),[pt,mt]=dt(Q),ht=M.forwardRef((e,t)=>{let{__scopeSwitch:n,name:r,checked:i,defaultChecked:o,required:s,disabled:c,value:d=`on`,onCheckedChange:f,form:m,...h}=e,[g,_]=M.useState(null),v=a(t,e=>_(e)),y=M.useRef(!1),b=g?m||!!g.closest(`form`):!0,[x,S]=p({prop:i,defaultProp:o??!1,onChange:f,caller:Q});return(0,F.jsxs)(pt,{scope:n,checked:x,disabled:c,children:[(0,F.jsx)(u.button,{type:`button`,role:`switch`,"aria-checked":x,"aria-required":s,"data-state":bt(x),"data-disabled":c?``:void 0,disabled:c,value:d,...h,ref:v,onClick:l(e.onClick,e=>{S(e=>!e),b&&(y.current=e.isPropagationStopped(),y.current||e.stopPropagation())})}),b&&(0,F.jsx)(yt,{control:g,bubbles:!y.current,name:r,value:d,checked:x,required:s,disabled:c,form:m,style:{transform:`translateX(-100%)`}})]})});ht.displayName=Q;var gt=`SwitchThumb`,_t=M.forwardRef((e,t)=>{let{__scopeSwitch:n,...r}=e,i=mt(gt,n);return(0,F.jsx)(u.span,{"data-state":bt(i.checked),"data-disabled":i.disabled?``:void 0,...r,ref:t})});_t.displayName=gt;var vt=`SwitchBubbleInput`,yt=M.forwardRef(({__scopeSwitch:e,control:t,checked:n,bubbles:r=!0,...i},o)=>{let s=M.useRef(null),c=a(s,o),l=T(n),u=O(t);return M.useEffect(()=>{let e=s.current;if(!e)return;let t=window.HTMLInputElement.prototype,i=Object.getOwnPropertyDescriptor(t,`checked`).set;if(l!==n&&i){let t=new Event(`click`,{bubbles:r});i.call(e,n),e.dispatchEvent(t)}},[l,n,r]),(0,F.jsx)(`input`,{type:`checkbox`,"aria-hidden":!0,defaultChecked:n,...i,tabIndex:-1,ref:c,style:{...i.style,...u,position:`absolute`,pointerEvents:`none`,opacity:0,margin:0}})});yt.displayName=vt;function bt(e){return e?`checked`:`unchecked`}var xt=ht,St=_t,Ct=c(`chevron-up`,[[`path`,{d:`m18 15-6-6-6 6`,key:`153udz`}]]),wt=c(`eye-off`,[[`path`,{d:`M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49`,key:`ct8e1f`}],[`path`,{d:`M14.084 14.158a3 3 0 0 1-4.242-4.242`,key:`151rxh`}],[`path`,{d:`M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143`,key:`13bj9a`}],[`path`,{d:`m2 2 20 20`,key:`1ooewy`}]]),$=i();function Tt(e){let t=(0,$.c)(4),n;t[0]===e?n=t[1]:({...n}=e,t[0]=e,t[1]=n);let r;return t[2]===n?r=t[3]:(r=(0,F.jsx)($e,{"data-slot":`select`,...n}),t[2]=n,t[3]=r),r}function Et(e){let t=(0,$.c)(4),n;t[0]===e?n=t[1]:({...n}=e,t[0]=e,t[1]=n);let r;return t[2]===n?r=t[3]:(r=(0,F.jsx)(tt,{"data-slot":`select-value`,...n}),t[2]=n,t[3]=r),r}function Dt(e){let t=(0,$.c)(13),n,r,i,a;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4]):({className:r,size:a,children:n,...i}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a);let o=a===void 0?`default`:a,c;t[5]===r?c=t[6]:(c=s(`flex w-full items-center justify-between gap-2 rounded-lg border border-input bg-background text-sm whitespace-nowrap shadow-xs transition-[color,box-shadow] outline-none focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50 data-[size=default]:h-8 data-[size=sm]:h-7 data-[size=default]:px-2.5 data-[size=sm]:px-2 data-[placeholder]:text-muted-foreground [&_svg:not([class*='text-'])]:text-muted-foreground [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 dark:bg-input/30 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40`,r),t[5]=r,t[6]=c);let l;t[7]===Symbol.for(`react.memo_cache_sentinel`)?(l=(0,F.jsx)(nt,{asChild:!0,children:(0,F.jsx)(j,{className:`size-4 opacity-50`})}),t[7]=l):l=t[7];let u;return t[8]!==n||t[9]!==i||t[10]!==o||t[11]!==c?(u=(0,F.jsxs)(et,{"data-slot":`select-trigger`,"data-size":o,className:c,...i,children:[n,l]}),t[8]=n,t[9]=i,t[10]=o,t[11]=c,t[12]=u):u=t[12],u}function Ot(e){let t=(0,$.c)(20),n,r,i,a;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4]):({className:r,children:n,position:a,...i}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a);let o=a===void 0?`popper`:a,c=o===`popper`&&`data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1`,l;t[5]!==r||t[6]!==c?(l=s(`relative z-50 max-h-(--radix-select-content-available-height) min-w-32 origin-(--radix-select-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-lg border bg-popover text-popover-foreground shadow-md outline-hidden duration-100 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-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 data-[align-trigger=true]:animate-none motion-reduce:data-open:animate-none motion-reduce:data-closed:animate-none motion-reduce:duration-0`,c,r),t[5]=r,t[6]=c,t[7]=l):l=t[7];let u;t[8]===Symbol.for(`react.memo_cache_sentinel`)?(u=(0,F.jsx)(At,{}),t[8]=u):u=t[8];let d=o===`popper`&&`h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)] scroll-my-1`,f;t[9]===d?f=t[10]:(f=s(`p-1`,d),t[9]=d,t[10]=f);let p;t[11]!==n||t[12]!==f?(p=(0,F.jsx)(at,{className:f,children:n}),t[11]=n,t[12]=f,t[13]=p):p=t[13];let m;t[14]===Symbol.for(`react.memo_cache_sentinel`)?(m=(0,F.jsx)(jt,{}),t[14]=m):m=t[14];let h;return t[15]!==o||t[16]!==i||t[17]!==l||t[18]!==p?(h=(0,F.jsx)(rt,{children:(0,F.jsxs)(it,{"data-slot":`select-content`,"data-ok-layer-spawned":``,position:o,className:l,...i,children:[u,p,m]})}),t[15]=o,t[16]=i,t[17]=l,t[18]=p,t[19]=h):h=t[19],h}function kt(e){let t=(0,$.c)(13),n,r,i;t[0]===e?(n=t[1],r=t[2],i=t[3]):({className:r,children:n,...i}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i);let a;t[4]===r?a=t[5]:(a=s(`relative flex w-full cursor-default items-center gap-2 rounded-sm py-1.5 pr-8 pl-2 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg:not([class*='text-'])]:text-muted-foreground [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 *:[span]:last:flex *:[span]:last:items-center *:[span]:last:gap-2`,r),t[4]=r,t[5]=a);let o;t[6]===Symbol.for(`react.memo_cache_sentinel`)?(o=(0,F.jsx)(`span`,{className:`absolute right-2 flex size-3.5 items-center justify-center`,children:(0,F.jsx)(ct,{children:(0,F.jsx)(te,{className:`size-4`})})}),t[6]=o):o=t[6];let c;t[7]===n?c=t[8]:(c=(0,F.jsx)(st,{children:n}),t[7]=n,t[8]=c);let l;return t[9]!==i||t[10]!==a||t[11]!==c?(l=(0,F.jsxs)(ot,{"data-slot":`select-item`,className:a,...i,children:[o,c]}),t[9]=i,t[10]=a,t[11]=c,t[12]=l):l=t[12],l}function At(e){let t=(0,$.c)(9),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=s(`flex cursor-default items-center justify-center py-1`,n),t[3]=n,t[4]=i);let a;t[5]===Symbol.for(`react.memo_cache_sentinel`)?(a=(0,F.jsx)(Ct,{className:`size-4`}),t[5]=a):a=t[5];let o;return t[6]!==r||t[7]!==i?(o=(0,F.jsx)(lt,{"data-slot":`select-scroll-up-button`,className:i,...r,children:a}),t[6]=r,t[7]=i,t[8]=o):o=t[8],o}function jt(e){let t=(0,$.c)(9),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=s(`flex cursor-default items-center justify-center py-1`,n),t[3]=n,t[4]=i);let a;t[5]===Symbol.for(`react.memo_cache_sentinel`)?(a=(0,F.jsx)(j,{className:`size-4`}),t[5]=a):a=t[5];let o;return t[6]!==r||t[7]!==i?(o=(0,F.jsx)(ut,{"data-slot":`select-scroll-down-button`,className:i,...r,children:a}),t[6]=r,t[7]=i,t[8]=o):o=t[8],o}function Mt(e){let t=(0,$.c)(11),n,r,i;t[0]===e?(n=t[1],r=t[2],i=t[3]):({className:n,size:i,...r}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i);let a=i===void 0?`default`:i,o;t[4]===n?o=t[5]:(o=s(`peer group/switch relative inline-flex shrink-0 items-center rounded-full border border-transparent transition-all outline-none after:absolute after:-inset-x-3 after:-inset-y-2 focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 data-[size=default]:h-[18.4px] data-[size=default]:w-[32px] data-[size=sm]:h-[14px] data-[size=sm]:w-[24px] dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 data-checked:bg-primary data-unchecked:bg-input dark:data-unchecked:bg-input/80 data-disabled:cursor-not-allowed data-disabled:opacity-50`,n),t[4]=n,t[5]=o);let c;t[6]===Symbol.for(`react.memo_cache_sentinel`)?(c=(0,F.jsx)(St,{"data-slot":`switch-thumb`,className:`pointer-events-none block rounded-full bg-background ring-0 transition-transform group-data-[size=default]/switch:size-4 group-data-[size=sm]/switch:size-3 group-data-[size=default]/switch:data-checked:translate-x-[calc(100%-2px)] group-data-[size=sm]/switch:data-checked:translate-x-[calc(100%-2px)] dark:data-checked:bg-primary-foreground group-data-[size=default]/switch:data-unchecked:translate-x-0 group-data-[size=sm]/switch:data-unchecked:translate-x-0 dark:data-unchecked:bg-foreground`}),t[6]=c):c=t[6];let l;return t[7]!==r||t[8]!==a||t[9]!==o?(l=(0,F.jsx)(xt,{"data-slot":`switch`,"data-size":a,className:o,...r,children:c}),t[7]=r,t[8]=a,t[9]=o,t[10]=l):l=t[10],l}export{Dt as a,Ct as c,kt as i,Tt as n,Et as o,Ot as r,wt as s,Mt as t};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{n as e,t}from"./propagation-api-C2s1QQGZ.js";import{n}from"./startup-marks-lzQ6NDDC.js";import{getAppTracer as r}from"./telemetry-impl-SsuzKiyK.js";var i;function a(){if(!i)try{let a=typeof window<`u`?window.okDesktop?.config.startupTraceparent:void 0;if(!a)return;let o=t.extract(e.active(),{traceparent:a}),s=r().startSpan(`ok.app-startup`,void 0,o);i=s,n(e=>{try{s.end(e)}catch{}i=void 0})}catch{}}export{a as initStartupTrace};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{o as e}from"./chunk-zsgVPwQN.js";import{t}from"./jsx-runtime-Dda6ZcOg.js";import{t as n}from"./react-BN2QHhcO.js";import{t as r}from"./compiler-runtime-YPpVnfQ-.js";import{o as i,r as a,s as o,t as s}from"./createLucideIcon-BwsSSL7z.js";import{a as c,c as l,d as u,i as d,n as f,o as p,t as m,u as h}from"./dist-BNSJKKYT.js";import{i as g,n as ee,r as te,t as _}from"./es2015-BPXMTj9r.js";import{a as v,i as ne,n as y,r as re,t as b}from"./dist-CwZTPnUs.js";var x=e(n(),1),ie=(0,x.createContext)(null),S={didCatch:!1,error:null},C=class extends x.Component{constructor(e){super(e),this.resetErrorBoundary=this.resetErrorBoundary.bind(this),this.state=S}static getDerivedStateFromError(e){return{didCatch:!0,error:e}}resetErrorBoundary(...e){let{error:t}=this.state;t!==null&&(this.props.onReset?.({args:e,reason:`imperative-api`}),this.setState(S))}componentDidCatch(e,t){this.props.onError?.(e,t)}componentDidUpdate(e,t){let{didCatch:n}=this.state,{resetKeys:r}=this.props;n&&t.error!==null&&ae(e.resetKeys,r)&&(this.props.onReset?.({next:r,prev:e.resetKeys,reason:`keys`}),this.setState(S))}render(){let{children:e,fallbackRender:t,FallbackComponent:n,fallback:r}=this.props,{didCatch:i,error:a}=this.state,o=e;if(i){let e={error:a,resetErrorBoundary:this.resetErrorBoundary};if(typeof t==`function`)o=t(e);else if(n)o=(0,x.createElement)(n,e);else if(r!==void 0)o=r;else throw a}return(0,x.createElement)(ie.Provider,{value:{didCatch:i,error:a,resetErrorBoundary:this.resetErrorBoundary}},o)}};function ae(e=[],t=[]){return e.length!==t.length||e.some((e,n)=>!Object.is(e,t[n]))}var w=t(),T=`Popover`,[E,oe]=h(T,[v]),D=v(),[O,k]=E(T),A=e=>{let{__scopePopover:t,children:n,open:r,defaultOpen:i,onOpenChange:a,modal:o=!1}=e,s=D(t),c=x.useRef(null),[l,u]=x.useState(!1),[f,m]=p({prop:r,defaultProp:i??!1,onChange:a,caller:T});return(0,w.jsx)(ne,{...s,children:(0,w.jsx)(O,{scope:t,contentId:d(),triggerRef:c,open:f,onOpenChange:m,onOpenToggle:x.useCallback(()=>m(e=>!e),[m]),hasCustomAnchor:l,onCustomAnchorAdd:x.useCallback(()=>u(!0),[]),onCustomAnchorRemove:x.useCallback(()=>u(!1),[]),modal:o,children:n})})};A.displayName=T;var j=`PopoverAnchor`,M=x.forwardRef((e,t)=>{let{__scopePopover:n,...r}=e,i=k(j,n),a=D(n),{onCustomAnchorAdd:o,onCustomAnchorRemove:s}=i;return x.useEffect(()=>(o(),()=>s()),[o,s]),(0,w.jsx)(b,{...a,...r,ref:t})});M.displayName=j;var N=`PopoverTrigger`,P=x.forwardRef((e,t)=>{let{__scopePopover:n,...r}=e,a=k(N,n),o=D(n),s=i(t,a.triggerRef),c=(0,w.jsx)(u.button,{type:`button`,"aria-haspopup":`dialog`,"aria-expanded":a.open,"aria-controls":a.open?a.contentId:void 0,"data-state":J(a.open),...r,ref:s,onClick:l(e.onClick,a.onOpenToggle)});return a.hasCustomAnchor?c:(0,w.jsx)(b,{asChild:!0,...o,children:c})});P.displayName=N;var F=`PopoverPortal`,[I,L]=E(F,{forceMount:void 0}),R=e=>{let{__scopePopover:t,forceMount:n,children:r,container:i}=e,a=k(F,t);return(0,w.jsx)(I,{scope:t,forceMount:n,children:(0,w.jsx)(c,{present:n||a.open,children:(0,w.jsx)(m,{asChild:!0,container:i,children:r})})})};R.displayName=F;var z=`PopoverContent`,B=x.forwardRef((e,t)=>{let n=L(z,e.__scopePopover),{forceMount:r=n.forceMount,...i}=e,a=k(z,e.__scopePopover);return(0,w.jsx)(c,{present:r||a.open,children:a.modal?(0,w.jsx)(H,{...i,ref:t}):(0,w.jsx)(U,{...i,ref:t})})});B.displayName=z;var V=a(`PopoverContent.RemoveScroll`),H=x.forwardRef((e,t)=>{let n=k(z,e.__scopePopover),r=x.useRef(null),a=i(t,r),o=x.useRef(!1);return x.useEffect(()=>{let e=r.current;if(e)return _(e)},[]),(0,w.jsx)(ee,{as:V,allowPinchZoom:!0,children:(0,w.jsx)(W,{...e,ref:a,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:l(e.onCloseAutoFocus,e=>{e.preventDefault(),o.current||n.triggerRef.current?.focus()}),onPointerDownOutside:l(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,n=t.button===0&&t.ctrlKey===!0;o.current=t.button===2||n},{checkForDefaultPrevented:!1}),onFocusOutside:l(e.onFocusOutside,e=>e.preventDefault(),{checkForDefaultPrevented:!1})})})}),U=x.forwardRef((e,t)=>{let n=k(z,e.__scopePopover),r=x.useRef(!1),i=x.useRef(!1);return(0,w.jsx)(W,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{e.onCloseAutoFocus?.(t),t.defaultPrevented||(r.current||n.triggerRef.current?.focus(),t.preventDefault()),r.current=!1,i.current=!1},onInteractOutside:t=>{e.onInteractOutside?.(t),t.defaultPrevented||(r.current=!0,t.detail.originalEvent.type===`pointerdown`&&(i.current=!0));let a=t.target;n.triggerRef.current?.contains(a)&&t.preventDefault(),t.detail.originalEvent.type===`focusin`&&i.current&&t.preventDefault()}})}),W=x.forwardRef((e,t)=>{let{__scopePopover:n,trapFocus:r,onOpenAutoFocus:i,onCloseAutoFocus:a,disableOutsidePointerEvents:o,onEscapeKeyDown:s,onPointerDownOutside:c,onFocusOutside:l,onInteractOutside:u,...d}=e,p=k(z,n),m=D(n);return te(),(0,w.jsx)(g,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:i,onUnmountAutoFocus:a,children:(0,w.jsx)(f,{asChild:!0,disableOutsidePointerEvents:o,onInteractOutside:u,onEscapeKeyDown:s,onPointerDownOutside:c,onFocusOutside:l,onDismiss:()=>p.onOpenChange(!1),deferPointerDownOutside:!0,children:(0,w.jsx)(re,{"data-state":J(p.open),role:`dialog`,id:p.contentId,...m,...d,ref:t,style:{...d.style,"--radix-popover-content-transform-origin":`var(--radix-popper-transform-origin)`,"--radix-popover-content-available-width":`var(--radix-popper-available-width)`,"--radix-popover-content-available-height":`var(--radix-popper-available-height)`,"--radix-popover-trigger-width":`var(--radix-popper-anchor-width)`,"--radix-popover-trigger-height":`var(--radix-popper-anchor-height)`}})})})}),G=`PopoverClose`,K=x.forwardRef((e,t)=>{let{__scopePopover:n,...r}=e,i=k(G,n);return(0,w.jsx)(u.button,{type:`button`,...r,ref:t,onClick:l(e.onClick,()=>i.onOpenChange(!1))})});K.displayName=G;var q=`PopoverArrow`,se=x.forwardRef((e,t)=>{let{__scopePopover:n,...r}=e,i=D(n);return(0,w.jsx)(y,{...i,...r,ref:t})});se.displayName=q;function J(e){return e?`open`:`closed`}var ce=A,le=M,ue=P,de=R,fe=B,pe=s(`plus`,[[`path`,{d:`M5 12h14`,key:`1ays0h`}],[`path`,{d:`M12 5v14`,key:`s699le`}]]),Y=r();function me(e){let t=(0,Y.c)(4),n;t[0]===e?n=t[1]:({...n}=e,t[0]=e,t[1]=n);let r;return t[2]===n?r=t[3]:(r=(0,w.jsx)(ce,{"data-slot":`popover`,...n}),t[2]=n,t[3]=r),r}function he(e){let t=(0,Y.c)(4),n;t[0]===e?n=t[1]:({...n}=e,t[0]=e,t[1]=n);let r;return t[2]===n?r=t[3]:(r=(0,w.jsx)(ue,{"data-slot":`popover-trigger`,...n}),t[2]=n,t[3]=r),r}function ge(e){let t=(0,Y.c)(12),n,r,i,a;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4]):({className:n,align:i,sideOffset:a,...r}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a);let s=i===void 0?`center`:i,c=a===void 0?4:a,l;t[5]===n?l=t[6]:(l=o(`z-50 w-72 rounded-lg border bg-popover p-4 text-popover-foreground shadow-md outline-hidden origin-(--radix-popover-content-transform-origin) duration-100 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 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95 motion-reduce:data-open:animate-none motion-reduce:data-closed:animate-none motion-reduce:duration-0`,n),t[5]=n,t[6]=l);let u;return t[7]!==s||t[8]!==r||t[9]!==c||t[10]!==l?(u=(0,w.jsx)(de,{children:(0,w.jsx)(fe,{"data-slot":`popover-content`,align:s,sideOffset:c,className:l,...r})}),t[7]=s,t[8]=r,t[9]=c,t[10]=l,t[11]=u):u=t[11],u}function _e(e){let t=(0,Y.c)(4),n;t[0]===e?n=t[1]:({...n}=e,t[0]=e,t[1]=n);let r;return t[2]===n?r=t[3]:(r=(0,w.jsx)(le,{"data-slot":`popover-anchor`,...n}),t[2]=n,t[3]=r),r}var X=new Set,Z=null;function ve(){if(Z!==null)return;let e=typeof window<`u`?window.okDesktop:void 0;e==null||typeof e.onMenuAction!=`function`||(Z=e.onMenuAction(e=>{Q(e)}))}function ye(){X.size===0&&Z!==null&&(Z(),Z=null)}function be(e){return X.add(e),ve(),()=>{X.delete(e),ye()}}function Q(e){for(let t of X)try{t(e)}catch(e){console.error(`[local-menu-action-bus] subscriber threw during dispatch:`,e)}}var $=`open-knowledge:active-terminal-input`;function xe(e,t,n=typeof window>`u`?new EventTarget:window){n.dispatchEvent(new CustomEvent($,{detail:{text:e,newTab:t?.newTab===!0,submit:t?.submit===!0}}))}function Se(e,t=typeof window>`u`?new EventTarget:window){let n=t=>{let n=t instanceof CustomEvent?t.detail:void 0;n!==void 0&&typeof n.text==`string`&&e({text:n.text,newTab:n.newTab===!0,submit:n.submit===!0})};return t.addEventListener($,n),()=>t.removeEventListener($,n)}export{me as a,he as c,be as i,pe as l,Se as n,_e as o,Q as r,ge as s,xe as t,C as u};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{o as e}from"./chunk-zsgVPwQN.js";import{t}from"./jsx-runtime-Dda6ZcOg.js";import{t as n}from"./react-BN2QHhcO.js";import{t as r}from"./compiler-runtime-YPpVnfQ-.js";import{i,o as a,s as o}from"./createLucideIcon-BwsSSL7z.js";import{a as s,c,d as l,i as u,n as d,o as f,t as p,u as m}from"./dist-BNSJKKYT.js";import{a as h,i as ee,n as g,r as _,t as v}from"./dist-CwZTPnUs.js";var y=e(n(),1),b=t(),x=Object.freeze({position:`absolute`,border:0,width:1,height:1,padding:0,margin:-1,overflow:`hidden`,clip:`rect(0, 0, 0, 0)`,whiteSpace:`nowrap`,wordWrap:`normal`}),S=`VisuallyHidden`,C=y.forwardRef((e,t)=>(0,b.jsx)(l.span,{...e,ref:t,style:{...x,...e.style}}));C.displayName=S;var w=C,[T,E]=m(`Tooltip`,[h]),D=h(),O=`TooltipProvider`,k=700,A=`tooltip.open`,[te,j]=T(O),M=e=>{let{__scopeTooltip:t,delayDuration:n=k,skipDelayDuration:r=300,disableHoverableContent:i=!1,children:a}=e,o=y.useRef(!0),s=y.useRef(!1),c=y.useRef(0);return y.useEffect(()=>{let e=c.current;return()=>window.clearTimeout(e)},[]),(0,b.jsx)(te,{scope:t,isOpenDelayedRef:o,delayDuration:n,onOpen:y.useCallback(()=>{window.clearTimeout(c.current),o.current=!1},[]),onClose:y.useCallback(()=>{window.clearTimeout(c.current),c.current=window.setTimeout(()=>o.current=!0,r)},[r]),isPointerInTransitRef:s,onPointerInTransitChange:y.useCallback(e=>{s.current=e},[]),disableHoverableContent:i,children:a})};M.displayName=O;var N=`Tooltip`,[P,F]=T(N),I=e=>{let{__scopeTooltip:t,children:n,open:r,defaultOpen:i,onOpenChange:a,disableHoverableContent:o,delayDuration:s}=e,c=j(N,e.__scopeTooltip),l=D(t),[d,p]=y.useState(null),m=u(),h=y.useRef(0),g=o??c.disableHoverableContent,_=s??c.delayDuration,v=y.useRef(!1),[x,S]=f({prop:r,defaultProp:i??!1,onChange:e=>{e?(c.onOpen(),document.dispatchEvent(new CustomEvent(A))):c.onClose(),a?.(e)},caller:N}),C=y.useMemo(()=>x?v.current?`delayed-open`:`instant-open`:`closed`,[x]),w=y.useCallback(()=>{window.clearTimeout(h.current),h.current=0,v.current=!1,S(!0)},[S]),T=y.useCallback(()=>{window.clearTimeout(h.current),h.current=0,S(!1)},[S]),E=y.useCallback(()=>{window.clearTimeout(h.current),h.current=window.setTimeout(()=>{v.current=!0,S(!0),h.current=0},_)},[_,S]);return y.useEffect(()=>()=>{h.current&&=(window.clearTimeout(h.current),0)},[]),(0,b.jsx)(ee,{...l,children:(0,b.jsx)(P,{scope:t,contentId:m,open:x,stateAttribute:C,trigger:d,onTriggerChange:p,onTriggerEnter:y.useCallback(()=>{c.isOpenDelayedRef.current?E():w()},[c.isOpenDelayedRef,E,w]),onTriggerLeave:y.useCallback(()=>{g?T():(window.clearTimeout(h.current),h.current=0)},[T,g]),onOpen:w,onClose:T,disableHoverableContent:g,children:n})})};I.displayName=N;var L=`TooltipTrigger`,R=y.forwardRef((e,t)=>{let{__scopeTooltip:n,...r}=e,i=F(L,n),o=j(L,n),s=D(n),u=a(t,y.useRef(null),i.onTriggerChange),d=y.useRef(!1),f=y.useRef(!1),p=y.useCallback(()=>d.current=!1,[]);return y.useEffect(()=>()=>document.removeEventListener(`pointerup`,p),[p]),(0,b.jsx)(v,{asChild:!0,...s,children:(0,b.jsx)(l.button,{"aria-describedby":i.open?i.contentId:void 0,"data-state":i.stateAttribute,...r,ref:u,onPointerMove:c(e.onPointerMove,e=>{e.pointerType!==`touch`&&!f.current&&!o.isPointerInTransitRef.current&&(i.onTriggerEnter(),f.current=!0)}),onPointerLeave:c(e.onPointerLeave,()=>{i.onTriggerLeave(),f.current=!1}),onPointerDown:c(e.onPointerDown,()=>{i.open&&i.onClose(),d.current=!0,document.addEventListener(`pointerup`,p,{once:!0})}),onFocus:c(e.onFocus,()=>{d.current||i.onOpen()}),onBlur:c(e.onBlur,i.onClose),onClick:c(e.onClick,i.onClose)})})});R.displayName=L;var z=`TooltipPortal`,[B,V]=T(z,{forceMount:void 0}),H=e=>{let{__scopeTooltip:t,forceMount:n,children:r,container:i}=e,a=F(z,t);return(0,b.jsx)(B,{scope:t,forceMount:n,children:(0,b.jsx)(s,{present:n||a.open,children:(0,b.jsx)(p,{asChild:!0,container:i,children:r})})})};H.displayName=z;var U=`TooltipContent`,W=y.forwardRef((e,t)=>{let n=V(U,e.__scopeTooltip),{forceMount:r=n.forceMount,side:i=`top`,...a}=e,o=F(U,e.__scopeTooltip);return(0,b.jsx)(s,{present:r||o.open,children:o.disableHoverableContent?(0,b.jsx)(Y,{side:i,...a,ref:t}):(0,b.jsx)(G,{side:i,...a,ref:t})})}),G=y.forwardRef((e,t)=>{let n=F(U,e.__scopeTooltip),r=j(U,e.__scopeTooltip),i=y.useRef(null),o=a(t,i),[s,c]=y.useState(null),{trigger:l,onClose:u}=n,d=i.current,{onPointerInTransitChange:f}=r,p=y.useCallback(()=>{c(null),f(!1)},[f]),m=y.useCallback((e,t)=>{let n=e.currentTarget,r={x:e.clientX,y:e.clientY},i=re(r,ne(r,n.getBoundingClientRect())),a=ie(t.getBoundingClientRect());c(oe([...i,...a])),f(!0)},[f]);return y.useEffect(()=>()=>p(),[p]),y.useEffect(()=>{if(l&&d){let e=e=>m(e,d),t=e=>m(e,l);return l.addEventListener(`pointerleave`,e),d.addEventListener(`pointerleave`,t),()=>{l.removeEventListener(`pointerleave`,e),d.removeEventListener(`pointerleave`,t)}}},[l,d,m,p]),y.useEffect(()=>{if(s){let e=e=>{let t=e.target,n={x:e.clientX,y:e.clientY},r=l?.contains(t)||d?.contains(t),i=!ae(n,s);r?p():i&&(p(),u())};return document.addEventListener(`pointermove`,e),()=>document.removeEventListener(`pointermove`,e)}},[l,d,s,u,p]),(0,b.jsx)(Y,{...e,ref:o})}),[K,q]=T(N,{isInside:!1}),J=i(`TooltipContent`),Y=y.forwardRef((e,t)=>{let{__scopeTooltip:n,children:r,"aria-label":i,onEscapeKeyDown:a,onPointerDownOutside:o,...s}=e,c=F(U,n),l=D(n),{onClose:u}=c;return y.useEffect(()=>(document.addEventListener(A,u),()=>document.removeEventListener(A,u)),[u]),y.useEffect(()=>{if(c.trigger){let e=e=>{e.target?.contains(c.trigger)&&u()};return window.addEventListener(`scroll`,e,{capture:!0}),()=>window.removeEventListener(`scroll`,e,{capture:!0})}},[c.trigger,u]),(0,b.jsx)(d,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:a,onPointerDownOutside:o,onFocusOutside:e=>e.preventDefault(),onDismiss:u,children:(0,b.jsxs)(_,{"data-state":c.stateAttribute,...l,...s,ref:t,style:{...s.style,"--radix-tooltip-content-transform-origin":`var(--radix-popper-transform-origin)`,"--radix-tooltip-content-available-width":`var(--radix-popper-available-width)`,"--radix-tooltip-content-available-height":`var(--radix-popper-available-height)`,"--radix-tooltip-trigger-width":`var(--radix-popper-anchor-width)`,"--radix-tooltip-trigger-height":`var(--radix-popper-anchor-height)`},children:[(0,b.jsx)(J,{children:r}),(0,b.jsx)(K,{scope:n,isInside:!0,children:(0,b.jsx)(w,{id:c.contentId,role:`tooltip`,children:i||r})})]})})});W.displayName=U;var X=`TooltipArrow`,Z=y.forwardRef((e,t)=>{let{__scopeTooltip:n,...r}=e,i=D(n);return q(X,n).isInside?null:(0,b.jsx)(g,{...i,...r,ref:t})});Z.displayName=X;function ne(e,t){let n=Math.abs(t.top-e.y),r=Math.abs(t.bottom-e.y),i=Math.abs(t.right-e.x),a=Math.abs(t.left-e.x);switch(Math.min(n,r,i,a)){case a:return`left`;case i:return`right`;case n:return`top`;case r:return`bottom`;default:throw Error(`unreachable`)}}function re(e,t,n=5){let r=[];switch(t){case`top`:r.push({x:e.x-n,y:e.y+n},{x:e.x+n,y:e.y+n});break;case`bottom`:r.push({x:e.x-n,y:e.y-n},{x:e.x+n,y:e.y-n});break;case`left`:r.push({x:e.x+n,y:e.y-n},{x:e.x+n,y:e.y+n});break;case`right`:r.push({x:e.x-n,y:e.y-n},{x:e.x-n,y:e.y+n});break}return r}function ie(e){let{top:t,right:n,bottom:r,left:i}=e;return[{x:i,y:t},{x:n,y:t},{x:n,y:r},{x:i,y:r}]}function ae(e,t){let{x:n,y:r}=e,i=!1;for(let e=0,a=t.length-1;e<t.length;a=e++){let o=t[e],s=t[a],c=o.x,l=o.y,u=s.x,d=s.y;l>r!=d>r&&n<(u-c)*(r-l)/(d-l)+c&&(i=!i)}return i}function oe(e){let t=e.slice();return t.sort((e,t)=>e.x<t.x?-1:e.x>t.x?1:e.y<t.y?-1:+(e.y>t.y)),se(t)}function se(e){if(e.length<=1)return e.slice();let t=[];for(let n=0;n<e.length;n++){let r=e[n];for(;t.length>=2;){let e=t[t.length-1],n=t[t.length-2];if((e.x-n.x)*(r.y-n.y)>=(e.y-n.y)*(r.x-n.x))t.pop();else break}t.push(r)}t.pop();let n=[];for(let t=e.length-1;t>=0;t--){let r=e[t];for(;n.length>=2;){let e=n[n.length-1],t=n[n.length-2];if((e.x-t.x)*(r.y-t.y)>=(e.y-t.y)*(r.x-t.x))n.pop();else break}n.push(r)}return n.pop(),t.length===1&&n.length===1&&t[0].x===n[0].x&&t[0].y===n[0].y?t:t.concat(n)}var Q=M,ce=I,le=R,ue=H,de=W,fe=Z,$=r();function pe(e){let t=(0,$.c)(6),n,r;t[0]===e?(n=t[1],r=t[2]):({delayDuration:r,...n}=e,t[0]=e,t[1]=n,t[2]=r);let i=r===void 0?0:r,a;return t[3]!==i||t[4]!==n?(a=(0,b.jsx)(Q,{"data-slot":`tooltip-provider`,delayDuration:i,...n}),t[3]=i,t[4]=n,t[5]=a):a=t[5],a}function me(e){let t=(0,$.c)(4),n;t[0]===e?n=t[1]:({...n}=e,t[0]=e,t[1]=n);let r;return t[2]===n?r=t[3]:(r=(0,b.jsx)(ce,{"data-slot":`tooltip`,...n}),t[2]=n,t[3]=r),r}function he(e){let t=(0,$.c)(8),n,r,i;t[0]===e?(n=t[1],r=t[2],i=t[3]):({asChild:n,type:i,...r}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i);let a=n?i:i??`button`,o;return t[4]!==n||t[5]!==r||t[6]!==a?(o=(0,b.jsx)(le,{"data-slot":`tooltip-trigger`,asChild:n,type:a,...r}),t[4]=n,t[5]=r,t[6]=a,t[7]=o):o=t[7],o}function ge(e){let t=(0,$.c)(13),n,r,i,a;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4]):({className:r,sideOffset:a,children:n,...i}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a);let s=a===void 0?0:a,c;t[5]===r?c=t[6]:(c=o(`z-50 inline-flex w-fit max-w-xs origin-(--radix-tooltip-content-transform-origin) items-center gap-1.5 rounded-md bg-foreground px-3 py-1.5 text-xs text-background has-data-[slot=kbd]:pr-1.5 **:data-[slot=kbd]:relative **:data-[slot=kbd]:isolate **:data-[slot=kbd]:z-50 **:data-[slot=kbd]:rounded-sm 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 data-[state=delayed-open]:animate-in data-[state=delayed-open]:fade-in-0 data-[state=delayed-open]:zoom-in-95 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95 motion-reduce:data-open:animate-none motion-reduce:data-closed:animate-none motion-reduce:data-[state=delayed-open]:animate-none motion-reduce:duration-0`,r),t[5]=r,t[6]=c);let l;t[7]===Symbol.for(`react.memo_cache_sentinel`)?(l=(0,b.jsx)(fe,{className:`z-50 size-2.5 translate-y-[calc(-50%_-_2px)] rotate-45 rounded-[2px] bg-foreground fill-foreground`}),t[7]=l):l=t[7];let u;return t[8]!==n||t[9]!==i||t[10]!==s||t[11]!==c?(u=(0,b.jsx)(ue,{children:(0,b.jsxs)(de,{"data-slot":`tooltip-content`,sideOffset:s,className:c,...i,children:[n,l]})}),t[8]=n,t[9]=i,t[10]=s,t[11]=c,t[12]=u):u=t[12],u}export{x as a,he as i,ge as n,pe as r,me as t};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import"./chunk-KEIR6QF5-lISElqQF.js";import{n as e}from"./chunk-CQNSW5MT-CztK3zab.js";export{e as createTreeViewServices};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import"./chunk-KEIR6QF5-lISElqQF.js";import{n as e}from"./chunk-R7FJI6CG-BjWQRpAc.js";export{e as createTreemapServices};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import{o as e,t}from"./chunk-zsgVPwQN.js";import{t as n}from"./jsx-runtime-Dda6ZcOg.js";import{n as r,p as i}from"./DocumentContext-DNryw5tR.js";import{t as a}from"./react-BN2QHhcO.js";import{t as o}from"./react-dom-BtuvISNc.js";import{t as s}from"./compiler-runtime-YPpVnfQ-.js";import{et as c,k as l,q as u}from"./CodeMirrorPropInput-BnUZd1PH.js";import{$i as d,Fi as f,Ji as p,Qi as m,Si as h,aa as g,ca as _,ei as v,la as y,q as b,qi as x,ra as S,sa as C}from"./dist-HcWgGcjp.js";import{t as ee}from"./libesm-Dk2Xd9ht.js";var w=t((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.Pointer=void 0,e.unescapeToken=t,e.escapeToken=n;function t(e){return e.replace(/~1/g,`/`).replace(/~0/g,`~`)}function n(e){return e.replace(/~/g,`~0`).replace(/\//g,`~1`)}e.Pointer=function(){function e(e){e===void 0&&(e=[``]),this.tokens=e}return e.fromJSON=function(n){var r=n.split(`/`).map(t);if(r[0]!==``)throw Error(`Invalid JSON Pointer: ${n}`);return new e(r)},e.prototype.toString=function(){return this.tokens.map(n).join(`/`)},e.prototype.evaluate=function(e){for(var t=null,n=``,r=e,i=1,a=this.tokens.length;i<a;i++)t=r,n=this.tokens[i],!(n==`__proto__`||n==`constructor`||n==`prototype`)&&(r=(t||{})[n]);return{parent:t,key:n,value:r}},e.prototype.get=function(e){return this.evaluate(e).value},e.prototype.set=function(e,t){var n=this.evaluate(e);n.parent&&(n.parent[n.key]=t)},e.prototype.push=function(e){this.tokens.push(e)},e.prototype.add=function(t){return new e(this.tokens.concat(String(t)))},e.prototype.parent=function(){return new e(this.tokens.length>1?this.tokens.slice(0,-1):[``])},e}()})),T=t((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.hasOwnProperty=void 0,e.objectType=t,e.clone=r,e.hasOwnProperty=Object.prototype.hasOwnProperty;function t(e){return e===void 0?`undefined`:e===null?`null`:Array.isArray(e)?`array`:typeof e}function n(e){return typeof e==`object`&&!!e}function r(t){if(!n(t))return t;if(t.constructor==Array){for(var i=t.length,a=Array(i),o=0;o<i;o++)a[o]=r(t[o]);return a}if(t.constructor==Date)return new Date(+t);var s={};for(var c in t)e.hasOwnProperty.call(t,c)&&(s[c]=r(t[c]));return s}})),E=t((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.isDestructive=n,e.subtract=r,e.intersection=i,e.diffArrays=l,e.diffObjects=u,e.diffAny=d;var t=T();function n(e){var t=e.op;return t===`remove`||t===`replace`||t===`copy`||t===`move`}function r(e,n){var r=[];for(var i in e)t.hasOwnProperty.call(e,i)&&e[i]!==void 0&&!(t.hasOwnProperty.call(n,i)&&n[i]!==void 0)&&r.push(i);return r}function i(e){for(var n=e.length,r={},i=0;i<n;i++){var a=e[i];for(var o in a)t.hasOwnProperty.call(a,o)&&a[o]!==void 0&&(r[o]=(r[o]||0)+1)}for(var o in r)r[o]<n&&delete r[o];return Object.keys(r)}function a(e,n){var r=[];for(var i in e)t.hasOwnProperty.call(e,i)&&e[i]!==void 0&&t.hasOwnProperty.call(n,i)&&n[i]!==void 0&&r.push(i);return r}function o(e){return e.op===`add`}function s(e){return e.op===`remove`}function c(e,t){return{operations:e.operations.concat(t),cost:e.cost+1}}function l(e,t,n,r){r===void 0&&(r=d);var i=Math.max(e.length,t.length),a=new Map([[0,{operations:[],cost:0}]]);function l(o,s){var u=o*i+s,d=a.get(u);if(d===void 0){if(o>0&&s>0&&!r(e[o-1],t[s-1],n.add(String(o-1))).length)d=l(o-1,s-1);else{var f=[];if(o>0){var p=l(o-1,s),m={op:`remove`,index:o-1};f.push(c(p,m))}if(s>0){var h=l(o,s-1),g={op:`add`,index:o-1,value:t[s-1]};f.push(c(h,g))}if(o>0&&s>0){var _=l(o-1,s-1),v={op:`replace`,index:o-1,original:e[o-1],value:t[s-1]};f.push(c(_,v))}d=f.sort(function(e,t){return e.cost-t.cost})[0]}a.set(u,d)}return d}var u=isNaN(e.length)||e.length<=0?0:e.length;return l(u,isNaN(t.length)||t.length<=0?0:t.length).operations.reduce(function(e,t){var i=e[0],a=e[1];if(o(t)){var c=t.index+1+a,l=c<u+a?String(c):`-`,d={op:t.op,path:n.add(l).toString(),value:t.value};return[i.concat(d),a+1]}else if(s(t)){var d={op:t.op,path:n.add(String(t.index+a)).toString()};return[i.concat(d),a-1]}else{var f=n.add(String(t.index+a)),p=r(t.original,t.value,f);return[i.concat.apply(i,p),a]}},[[],0])[0]}function u(e,t,n,i){i===void 0&&(i=d);var o=[];return r(e,t).forEach(function(e){o.push({op:`remove`,path:n.add(e).toString()})}),r(t,e).forEach(function(e){o.push({op:`add`,path:n.add(e).toString(),value:t[e]})}),a(e,t).forEach(function(r){o.push.apply(o,i(e[r],t[r],n.add(r)))}),o}function d(e,n,r,i){if(i===void 0&&(i=d),e===n)return[];var a=(0,t.objectType)(e),o=(0,t.objectType)(n);return a==`array`&&o==`array`?l(e,n,r,i):a==`object`&&o==`object`?u(e,n,r,i):[{op:`replace`,path:r.toString(),value:n}]}})),te=t((e=>{var t=e&&e.__extends||(function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if(typeof n!=`function`&&n!==null)throw TypeError(`Class extends value `+String(n)+` is not a constructor or null`);e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}})();Object.defineProperty(e,`__esModule`,{value:!0}),e.InvalidOperationError=e.TestError=e.MissingError=void 0,e.add=l,e.remove=u,e.replace=d,e.move=f,e.copy=p,e.test=m,e.apply=g;var n=w(),r=T(),i=E(),a=function(e){t(n,e);function n(t){var n=e.call(this,`Value required at path: ${t}`)||this;return n.path=t,n.name=`MissingError`,n}return n}(Error);e.MissingError=a;var o=function(e){t(n,e);function n(t,n){var r=e.call(this,`Test failed: ${t} != ${n}`)||this;return r.actual=t,r.expected=n,r.name=`TestError`,r}return n}(Error);e.TestError=o;function s(e,t,n){if(Array.isArray(e))if(t==`-`)e.push(n);else{var r=parseInt(t,10);e.splice(r,0,n)}else e[t]=n}function c(e,t){if(Array.isArray(e)){var n=parseInt(t,10);e.splice(n,1)}else delete e[t]}function l(e,t,i){var o=n.Pointer.fromJSON(t.path);if(i?.implicitArrayCreation&&o.tokens[o.tokens.length-1]===`-`){var c=o.parent().evaluate(e);c.value===void 0&&(0,r.objectType)(c.parent)===`object`&&(c.parent[c.key]=[])}var l=o.evaluate(e);return l.parent===void 0||i?.implicitArrayCreation&&l.key===`-`&&!Array.isArray(l.parent)?new a(t.path):(s(l.parent,l.key,(0,r.clone)(t.value)),null)}function u(e,t,r){var i=n.Pointer.fromJSON(t.path).evaluate(e);return i.value===void 0?new a(t.path):(c(i.parent,i.key),null)}function d(e,t,i){var o=n.Pointer.fromJSON(t.path).evaluate(e);if(o.parent===null)return new a(t.path);if(Array.isArray(o.parent)){if(parseInt(o.key,10)>=o.parent.length)return new a(t.path)}else if(o.value===void 0)return new a(t.path);return o.parent[o.key]=(0,r.clone)(t.value),null}function f(e,t,r){var i=n.Pointer.fromJSON(t.from).evaluate(e);if(i.value===void 0)return new a(t.from);var o=n.Pointer.fromJSON(t.path).evaluate(e);return o.parent===void 0?new a(t.path):(c(i.parent,i.key),s(o.parent,o.key,i.value),null)}function p(e,t,i){var o=n.Pointer.fromJSON(t.from).evaluate(e);if(o.value===void 0)return new a(t.from);var c=n.Pointer.fromJSON(t.path).evaluate(e);return c.parent===void 0?new a(t.path):(s(c.parent,c.key,(0,r.clone)(o.value)),null)}function m(e,t,r){var a=n.Pointer.fromJSON(t.path).evaluate(e);return(0,i.diffAny)(a.value,t.value,new n.Pointer).length?new o(a.value,t.value):null}var h=function(e){t(n,e);function n(t){var n=e.call(this,`Invalid operation: ${t.op}`)||this;return n.operation=t,n.name=`InvalidOperationError`,n}return n}(Error);e.InvalidOperationError=h;function g(e,t,n){switch(t.op){case`add`:return l(e,t,n);case`remove`:return u(e,t,n);case`replace`:return d(e,t,n);case`move`:return f(e,t,n);case`copy`:return p(e,t,n);case`test`:return m(e,t,n)}return new h(t)}})),ne=t((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.Pointer=void 0,e.applyPatch=i,e.createPatch=o;var t=w();Object.defineProperty(e,`Pointer`,{enumerable:!0,get:function(){return t.Pointer}});var n=te(),r=E();function i(e,t,r){return t.map(function(t){return(0,n.apply)(e,t,r)})}function a(e){function t(n,i,a){var o=e(n,i,a);return Array.isArray(o)?o:(0,r.diffAny)(n,i,a,t)}return t}function o(e,n,i){var o=new t.Pointer;return(i?a(i):r.diffAny)(e,n,o)}})),D=e(a(),1),re=e(o(),1),O=s(),k=ne();function A(){}A.prototype={diff:function(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=n.callback;typeof n==`function`&&(r=n,n={}),this.options=n;var i=this;function a(e){return r?(setTimeout(function(){r(void 0,e)},0),!0):e}e=this.castInput(e),t=this.castInput(t),e=this.removeEmpty(this.tokenize(e)),t=this.removeEmpty(this.tokenize(t));var o=t.length,s=e.length,c=1,l=o+s;n.maxEditLength&&(l=Math.min(l,n.maxEditLength));var u=n.timeout??1/0,d=Date.now()+u,f=[{oldPos:-1,lastComponent:void 0}],p=this.extractCommon(f[0],t,e,0);if(f[0].oldPos+1>=s&&p+1>=o)return a([{value:this.join(t),count:t.length}]);var m=-1/0,h=1/0;function g(){for(var n=Math.max(m,-c);n<=Math.min(h,c);n+=2){var r=void 0,l=f[n-1],u=f[n+1];l&&(f[n-1]=void 0);var d=!1;if(u){var g=u.oldPos-n;d=u&&0<=g&&g<o}var _=l&&l.oldPos+1<s;if(!d&&!_){f[n]=void 0;continue}if(r=!_||d&&l.oldPos+1<u.oldPos?i.addToPath(u,!0,void 0,0):i.addToPath(l,void 0,!0,1),p=i.extractCommon(r,t,e,n),r.oldPos+1>=s&&p+1>=o)return a(ie(i,r.lastComponent,t,e,i.useLongestToken));f[n]=r,r.oldPos+1>=s&&(h=Math.min(h,n-1)),p+1>=o&&(m=Math.max(m,n+1))}c++}if(r)(function e(){setTimeout(function(){if(c>l||Date.now()>d)return r();g()||e()},0)})();else for(;c<=l&&Date.now()<=d;){var _=g();if(_)return _}},addToPath:function(e,t,n,r){var i=e.lastComponent;return i&&i.added===t&&i.removed===n?{oldPos:e.oldPos+r,lastComponent:{count:i.count+1,added:t,removed:n,previousComponent:i.previousComponent}}:{oldPos:e.oldPos+r,lastComponent:{count:1,added:t,removed:n,previousComponent:i}}},extractCommon:function(e,t,n,r){for(var i=t.length,a=n.length,o=e.oldPos,s=o-r,c=0;s+1<i&&o+1<a&&this.equals(t[s+1],n[o+1]);)s++,o++,c++;return c&&(e.lastComponent={count:c,previousComponent:e.lastComponent}),e.oldPos=o,s},equals:function(e,t){return this.options.comparator?this.options.comparator(e,t):e===t||this.options.ignoreCase&&e.toLowerCase()===t.toLowerCase()},removeEmpty:function(e){for(var t=[],n=0;n<e.length;n++)e[n]&&t.push(e[n]);return t},castInput:function(e){return e},tokenize:function(e){return e.split(``)},join:function(e){return e.join(``)}};function ie(e,t,n,r,i){for(var a=[],o;t;)a.push(t),o=t.previousComponent,delete t.previousComponent,t=o;a.reverse();for(var s=0,c=a.length,l=0,u=0;s<c;s++){var d=a[s];if(!d.removed){if(!d.added&&i){var f=n.slice(l,l+d.count);f=f.map(function(e,t){var n=r[u+t];return n.length>e.length?n:e}),d.value=e.join(f)}else d.value=e.join(n.slice(l,l+d.count));l+=d.count,d.added||(u+=d.count)}else if(d.value=e.join(r.slice(u,u+d.count)),u+=d.count,s&&a[s-1].added){var p=a[s-1];a[s-1]=a[s],a[s]=p}}var m=a[c-1];return c>1&&typeof m.value==`string`&&(m.added||m.removed)&&e.equals(``,m.value)&&(a[c-2].value+=m.value,a.pop()),a}var j=new A;function ae(e,t,n){return j.diff(e,t,n)}var M=/^[A-Za-z\xC0-\u02C6\u02C8-\u02D7\u02DE-\u02FF\u1E00-\u1EFF]+$/,N=/\S/,P=new A;P.equals=function(e,t){return this.options.ignoreCase&&(e=e.toLowerCase(),t=t.toLowerCase()),e===t||this.options.ignoreWhitespace&&!N.test(e)&&!N.test(t)},P.tokenize=function(e){for(var t=e.split(/([^\S\r\n]+|[()[\]{}'"\r\n]|\b)/),n=0;n<t.length-1;n++)!t[n+1]&&t[n+2]&&M.test(t[n])&&M.test(t[n+2])&&(t[n]+=t[n+2],t.splice(n+1,2),n--);return t};function oe(e,t,n){return P.diff(e,t,n)}var F=new A;F.tokenize=function(e){this.options.stripTrailingCr&&(e=e.replace(/\r\n/g,`
|
|
2
|
-
`));var t=[],n=e.split(/(\n|\r\n)/);n[n.length-1]||n.pop();for(var r=0;r<n.length;r++){var i=n[r];r%2&&!this.options.newlineIsToken?t[t.length-1]+=i:(this.options.ignoreWhitespace&&(i=i.trim()),t.push(i))}return t};var I=new A;I.tokenize=function(e){return e.split(/(\S.+?[.!?])(?=\s+|$)/)};var se=new A;se.tokenize=function(e){return e.split(/([{}:;,]|\s+)/)};function L(e){"@babel/helpers - typeof";return L=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},L(e)}var ce=Object.prototype.toString,R=new A;R.useLongestToken=!0,R.tokenize=F.tokenize,R.castInput=function(e){var t=this.options,n=t.undefinedReplacement,r=t.stringifyReplacer,i=r===void 0?function(e,t){return t===void 0?n:t}:r;return typeof e==`string`?e:JSON.stringify(z(e,null,null,i),i,` `)},R.equals=function(e,t){return A.prototype.equals.call(R,e.replace(/,([\r\n])/g,`$1`),t.replace(/,([\r\n])/g,`$1`))};function z(e,t,n,r,i){t||=[],n||=[],r&&(e=r(i,e));var a;for(a=0;a<t.length;a+=1)if(t[a]===e)return n[a];var o;if(ce.call(e)===`[object Array]`){for(t.push(e),o=Array(e.length),n.push(o),a=0;a<e.length;a+=1)o[a]=z(e[a],t,n,r,i);return t.pop(),n.pop(),o}if(e&&e.toJSON&&(e=e.toJSON()),L(e)===`object`&&e!==null){t.push(e),o={},n.push(o);var s=[],c;for(c in e)e.hasOwnProperty(c)&&s.push(c);for(s.sort(),a=0;a<s.length;a+=1)c=s[a],o[c]=z(e[c],t,n,r,c);t.pop(),n.pop()}else o=e;return o}var B=new A;B.tokenize=function(e){return e.slice()},B.join=B.removeEmpty=function(e){return e};function V(e,t){let n=t.content.findDiffStart(e.content);if(n===null)return!1;let{a:r,b:i}=t.content.findDiffEnd(e.content),a=n-Math.min(r,i);return a>0&&(e.resolve(n-a).depth<t.resolve(r+a).depth?n-=a:(r+=a,i+=a)),new C(n,i,t.slice(n,r))}function le(e){if(!e.steps.length)return;let t=new _(e.docs[0]),n=e.steps.slice();for(;n.length;){let e=n.shift();for(;n.length&&e.merge(n[0]);){let r=n.shift();e=e instanceof C&&r instanceof C?V(t.doc,r.apply(e.apply(t.doc).doc).doc):e.merge(r)}t.step(e)}return t}function H(e){let t=new _(e);return t.removeMark(0,e.nodeSize-2),t.doc}function U(e,t){let n=t.split(`/`);for(n.shift();n.length;){if(typeof e!=`object`)throw Error();let t=n.shift();e=e[t]}return e}function W(e){return JSON.parse(JSON.stringify(e))}var ue=class{fromDoc;toDoc;complexSteps;wordDiffs;simplifyDiff;schema;tr;currentJSON;finalJSON;ops;constructor(e,t,n={}){let r={complexSteps:!0,wordDiffs:!1,simplifyDiff:!0,...n};this.fromDoc=e,this.toDoc=t,this.complexSteps=r.complexSteps,this.wordDiffs=r.wordDiffs,this.simplifyDiff=r.simplifyDiff,this.schema=e.type.schema,this.tr=new _(e),this.currentJSON={},this.finalJSON={},this.ops=[]}init(){return this.complexSteps?(this.currentJSON=H(this.fromDoc).toJSON(),this.finalJSON=H(this.toDoc).toJSON(),this.ops=(0,k.createPatch)(this.currentJSON,this.finalJSON),this.recreateChangeContentSteps(),this.recreateChangeMarkSteps()):(this.currentJSON=this.fromDoc.toJSON(),this.finalJSON=this.toDoc.toJSON(),this.ops=(0,k.createPatch)(this.currentJSON,this.finalJSON),this.recreateChangeContentSteps()),this.simplifyDiff&&(this.tr=le(this.tr)||this.tr),this.tr}recreateChangeContentSteps(){let e=[];for(;this.ops.length;){let t=this.ops.shift();e.push(t);let n,r=W(this.currentJSON),i=t.path.split(`/`);for(;n==null;){(0,k.applyPatch)(r,[t]);try{n=this.schema.nodeFromJSON(r),n.check()}catch{if(n=null,this.ops.length>0)t=this.ops.shift(),e.push(t);else throw Error(`No valid diff possible applying ${t.path}`)}}this.complexSteps&&e.length===1&&(i.includes(`attrs`)||i.includes(`type`))?(this.addSetNodeMarkup(),e=[]):e.length===1&&t.op===`replace`&&i[i.length-1]===`text`?(this.addReplaceTextSteps(t,r),e=[]):this.addReplaceStep(n,r)&&(e=[])}}addSetNodeMarkup(){let e=this.schema.nodeFromJSON(this.currentJSON),t=this.schema.nodeFromJSON(this.finalJSON),n=t.content.findDiffStart(e.content),r=e.nodeAt(n),i=t.nodeAt(n);if(n!=null){let e=r.type===i.type?null:i.type;try{this.tr.setNodeMarkup(n,e,i.attrs,i.marks)}catch(t){if(e&&t.message.includes(`Invalid content`))this.tr.replaceWith(n,n+r.nodeSize,i);else throw t}return this.currentJSON=H(this.tr.doc).toJSON(),this.ops=(0,k.createPatch)(this.currentJSON,this.finalJSON),!0}return!1}recreateChangeMarkSteps(){this.toDoc.descendants((e,t)=>{if(!e.isInline)return!0;this.tr.doc.nodesBetween(t,t+e.nodeSize,(n,r)=>{if(!n.isInline)return!0;let i=Math.max(t,r),a=Math.min(t+e.nodeSize,r+n.nodeSize);n.marks.forEach(t=>{t.isInSet(e.marks)||this.tr.removeMark(i,a,t)}),e.marks.forEach(e=>{e.isInSet(n.marks)||this.tr.addMark(i,a,e)})})})}addReplaceStep(e,t){let n=V(this.schema.nodeFromJSON(this.currentJSON),e);if(!n)return!1;if(!this.tr.maybeStep(n).failed)return this.currentJSON=t,!0;throw Error(`No valid step found.`)}addReplaceTextSteps(e,t){let n={...e,value:`xx`},r={...e,value:`yy`},i=W(this.currentJSON),a=W(this.currentJSON);(0,k.applyPatch)(i,[n]),(0,k.applyPatch)(a,[r]);let o=this.schema.nodeFromJSON(i),s=this.schema.nodeFromJSON(a),c=e.value,l=U(this.currentJSON,e.path),u=this.wordDiffs?oe(l,c):ae(l,c),d=o.content.findDiffStart(s.content),f=o.resolve(d+1).marks();for(;u.length;){let e=u.shift();if(e.added){let t=this.schema.nodeFromJSON({type:`text`,text:e.value}).mark(f);if(u.length&&u[0].removed){let e=u.shift();this.tr.replaceWith(d,d+e.value.length,t)}else this.tr.insert(d,t);d+=e.value.length}else if(e.removed)if(u.length&&u[0].added){let t=u.shift(),n=this.schema.nodeFromJSON({type:`text`,text:t.value}).mark(f);this.tr.replaceWith(d,d+e.value.length,n),d+=t.value.length}else this.tr.delete(d,d+e.value.length);else d+=e.value.length}this.currentJSON=t}};function de(e,t,n={}){return new ue(e,t,n).init()}var G=new Set([`list`,`bulletList`,`orderedList`,`taskList`]);function K(e){let t=[];return e.forEach((e,n)=>{if(G.has(e.type.name)){let r=n+1,i=0;e.forEach(e=>{let n=r+i;t.push({from:n,to:n+e.nodeSize,key:`${e.type.name}:${e.textContent}`}),i+=e.nodeSize})}else t.push({from:n,to:n+e.nodeSize,key:`${e.type.name}:${e.textContent}`})}),t}function fe(e,t){let n=e.length,r=t.length,i=Array.from({length:n+1},()=>Array(r+1).fill(0));for(let a=n-1;a>=0;a--)for(let n=r-1;n>=0;n--)i[a][n]=e[a].key===t[n].key?i[a+1][n+1]+1:Math.max(i[a+1][n],i[a][n+1]);let a=[],o=0,s=0;for(;o<n&&s<r;)e[o].key===t[s].key?(a.push({type:`same`,b:t[s]}),o++,s++):i[o+1][s]>=i[o][s+1]?(a.push({type:`del`,a:e[o]}),o++):(a.push({type:`ins`,b:t[s]}),s++);for(;o<n;)a.push({type:`del`,a:e[o++]});for(;s<r;)a.push({type:`ins`,b:t[s++]});return a}function pe(e,t){let n=fe(K(e),K(t)),r=[],i=0;for(let e of n)e.type===`same`?i=e.b.to:e.type===`ins`?(r.push({fromA:0,toA:0,fromB:e.b.from,toB:e.b.to}),i=e.b.to):r.push({fromA:e.a.from,toA:e.a.to,fromB:i,toB:i});return r}var me=400;function q(e,t,n){return t.nodeFromJSON(e.parseWithFallback(n))}function he(e,t){let n=t.filter(e=>e.toB>e.fromB),r=[];return e.steps.forEach((t,i)=>{let a=t instanceof S?`add`:t instanceof g?`remove`:null;if(a===null)return;let o=t,s=e.mapping.slice(i+1),c=s.map(o.from,-1),l=s.map(o.to,1);if(l<=c||n.some(e=>e.fromB<=c&&l<=e.toB))return;let u=e.mapping.slice(0,i).invert(),d=u.map(o.from),f=u.map(o.to);f<=d||r.push({fromA:d,toA:f,fromB:c,toB:l,markName:o.mark.type.name,kind:a})}),r}function ge(e,t,n,r){if(e.length>2e5||t.length>2e5)return{ok:!1,reason:`ceiling`};let i,a;try{i=q(r,n,e),a=q(r,n,t)}catch{return{ok:!1,reason:`parse`}}let o=a,s=null;try{s=de(i,a,{complexSteps:!0,wordDiffs:!0,simplifyDiff:!0}),o=s.doc}catch{}let c=pe(i,o),l=s?he(s,c):[];return c.length+l.length>me?{ok:!1,reason:`ceiling`}:{ok:!0,afterDoc:o,beforeDoc:i,changes:c,markChanges:l}}var _e=`.ok-diff-ins, .ok-diff-ins-block, [data-diff-deleted]`;function ve(e){return e.changes.length+2*e.markChanges.length}function J(e){let t=!1;return e.forEach(e=>{e.isBlock&&(t=!0)}),t}function ye(e){if(e.childCount===0)return!1;let t=!0;return e.forEach(e=>{e.type.name!==`listItem`&&e.type.name!==`taskItem`&&(t=!1)}),t}function Y(e,t,n){let r=document.createElement(n?`div`:`span`);r.className=n?`ok-diff-del ok-diff-del-block`:`ok-diff-del`,r.setAttribute(`data-diff-deleted`,``);let i=e.serializeFragment(t);if(n&&ye(t)){let e=document.createElement(`ul`);e.appendChild(i),r.appendChild(e)}else r.appendChild(i);return r}function be(e,t,n,r,i){let a=y.fromSchema(i),o=[];for(let e of r){let n=t.slice(e.fromA,e.toA),r=J(n.content);o.push(x.widget(e.fromB,()=>Y(a,n.content,r),{side:-1,ignoreSelection:!0,marks:[]})),o.push(x.inline(e.fromB,e.toB,{class:`ok-diff-ins`},{inclusiveEnd:!0}))}for(let e of n)if(e.toB>e.fromB&&o.push(x.node(e.fromB,e.toB,{class:`ok-diff-ins-block`})),e.toA>e.fromA){let n=t.slice(e.fromA,e.toA),r=J(n.content);o.push(x.widget(e.fromB,()=>Y(a,n.content,r),{side:-1,ignoreSelection:!0,marks:[]}))}return p.create(e,o)}var xe=new Set([`slashCommand`,`blockDragHandle`,`blockMover`,`tableInsertControls`,`fileHandler`,`gfmAutolink`,`inlineLinkInputRule`,`keyboardNav`,`tiptapFindReplace`,`selectionState`,`sourceDirtyObserver`,`tabFocusTrap`]),X=i.filter(e=>!xe.has(e.name)).map(e=>e.name===`jsxComponent`?b:e),Z=n(),Q=f(X);function Se(e,t){return ge(e,t,Q,l())}var Ce=h.create({name:`renderedDiffDecorations`,addOptions(){return{decorations:p.empty}},addProseMirrorPlugins(){let e=this.options.decorations;return[new m({key:new d(`renderedDiffDecorations`),props:{decorations:()=>e}})]}});function we(e){let t=(0,O.c)(31),{diff:n}=e,r,i,a,o;if(t[0]!==n.afterDoc||t[1]!==n.beforeDoc||t[2]!==n.changes||t[3]!==n.markChanges){let e=be(n.afterDoc,n.beforeDoc,n.changes,n.markChanges,Q);o=c,a=!1,r=X,i=Ce.configure({decorations:e}),t[0]=n.afterDoc,t[1]=n.beforeDoc,t[2]=n.changes,t[3]=n.markChanges,t[4]=r,t[5]=i,t[6]=a,t[7]=o}else r=t[4],i=t[5],a=t[6],o=t[7];let s;t[8]!==r||t[9]!==i?(s=[...r,i],t[8]=r,t[9]=i,t[10]=s):s=t[10];let l;t[11]===n.afterDoc?l=t[12]:(l=n.afterDoc.toJSON(),t[11]=n.afterDoc,t[12]=l);let d;t[13]===Symbol.for(`react.memo_cache_sentinel`)?(d={attributes:{class:`pt-4`}},t[13]=d):d=t[13];let f;t[14]!==a||t[15]!==s||t[16]!==l?(f={editable:a,extensions:s,content:l,editorProps:d},t[14]=a,t[15]=s,t[16]=l,t[17]=f):f=t[17];let p;t[18]===n?p=t[19]:(p=[n],t[18]=n,t[19]=p);let m=o(f,p),[h]=(0,D.useState)(Te),g=(0,D.useRef)(null),_,v;t[20]===h?(_=t[21],v=t[22]):(_=()=>{let e=g.current;if(e)return e.appendChild(h),()=>{h.parentNode===e&&e.removeChild(h)}},v=[h],t[20]=h,t[21]=_,t[22]=v),(0,D.useLayoutEffect)(_,v);let y;t[23]===Symbol.for(`react.memo_cache_sentinel`)?(y=(0,Z.jsx)(`div`,{className:`tiptap-editor`,children:(0,Z.jsx)(`div`,{ref:g,style:{display:`contents`}})}),t[23]=y):y=t[23];let b;t[24]===m?b=t[25]:(b=(0,Z.jsx)(u,{editor:m,className:`tiptap-editor-portal-content`}),t[24]=m,t[25]=b);let x;t[26]!==h||t[27]!==b?(x=(0,re.createPortal)(b,h),t[26]=h,t[27]=b,t[28]=x):x=t[28];let S;return t[29]===x?S=t[30]:(S=(0,Z.jsxs)(`div`,{className:`editor-doc-scroll min-h-0 flex-1`,"data-testid":`rendered-diff-view`,children:[y,x]}),t[29]=x,t[30]=S),S}function Te(){let e=document.createElement(`div`);return e.style.display=`contents`,e}function Ee(e){let t=0,n=!1;for(let r of e.split(`
|
|
3
|
-
`)){let e=r.startsWith(`+`)&&!r.startsWith(`+++`)||r.startsWith(`-`)&&!r.startsWith(`---`);e&&!n&&(t+=1),n=e}return t}function De(e){let t=Array.from(e.querySelectorAll(`.diff-code-insert, .diff-code-delete`)),n=[],r=null;for(let e of t){let t=e.closest(`tr`);t&&((r===null||t.previousElementSibling!==r)&&n.push(e),r=t)}return n}function $(e){let t=0,n=0;for(let r of e.split(`
|
|
4
|
-
`))r.startsWith(`+`)&&!r.startsWith(`+++`)?t++:r.startsWith(`-`)&&!r.startsWith(`---`)&&n++;return{additions:t,deletions:n}}function Oe(e,t){return`${e}\u0000${t}`}function ke(e,t,n){let r=v(e).body,i=v(t).body;return r===i?``:ee(n,r,i,``,``,{context:Math.max(r.split(`
|
|
5
|
-
`).length,i.split(`
|
|
6
|
-
`).length)})}function Ae(e,t,n,i,a){let o=(0,O.c)(10),s=i===void 0?`vs-live`:i,c=a===void 0?null:a,{activeProvider:l}=r(),u;o[0]===Symbol.for(`react.memo_cache_sentinel`)?(u={status:`idle`,diff:null},o[0]=u):u=o[0];let[d,f]=(0,D.useState)(u),p=(0,D.useRef)(l),m;o[1]===l?m=o[2]:(m=()=>{p.current=l},o[1]=l,o[2]=m),(0,D.useEffect)(m);let h,g;return o[3]!==n||o[4]!==t||o[5]!==s||o[6]!==c||o[7]!==e?(h=()=>{if(!e){f({status:`idle`,diff:null});return}let r=e,i=!1;f({status:`loading`,diff:null});let a=async function(e){let r=Oe(t,e),i=n.get(r);if(i!==void 0)return i;let a=await fetch(`/api/history/${e}?docName=${encodeURIComponent(t)}`);if(!a.ok)return console.error(`[timeline-diff] history fetch returned non-ok response`,{sha:e,docName:t,status:a.status}),null;let o=(await a.json()).content??``;return n.set(r,o),o};return(async function(){try{let e=await a(r);if(i)return;if(e===null){f({status:`error`,diff:null});return}let n,o;if(s===`vs-parent`){let t=c?await a(c):``;if(i)return;if(t===null){f({status:`error`,diff:null});return}n=t,o=e}else n=e,o=p.current?.document.getText(`source`).toString()??``;let l=v(n).body,u=v(o).body,d=ke(n,o,t);if(i)return;let{additions:m,deletions:h}=$(d);f({status:`ready`,diff:d,additions:m,deletions:h,before:l,after:u})}catch(e){i||(console.error(`[timeline-diff] failed to load entry diff`,{sha:r,docName:t,mode:s,err:e}),f({status:`error`,diff:null}))}})(),()=>{i=!0}},g=[e,t,n,s,c],o[3]=n,o[4]=t,o[5]=s,o[6]=c,o[7]=e,o[8]=h,o[9]=g):(h=o[8],g=o[9]),(0,D.useEffect)(h,g),d}export{we as a,ve as c,Ee as i,Ae as n,Se as o,De as r,_e as s,$ as t};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import"./chunk-KEIR6QF5-lISElqQF.js";import{n as e}from"./chunk-5FCAYU7R-lS620rLS.js";export{e as createWardleyServices};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{t as e}from"./createLucideIcon-BwsSSL7z.js";var t=e(`x`,[[`path`,{d:`M18 6 6 18`,key:`1bl5f8`}],[`path`,{d:`m6 6 12 12`,key:`d8bk6v`}]]);export{t};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{t as e}from"./repair-skills-xgU4BBSK.mjs";export{e as repairSkills};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as e,o as t,r as n}from"./server-lock-D7lpEbZj.mjs";export{n as markServerLockDraining,e as releaseServerLock,t as updateServerLockPort};
|
package/dist/src-Cf8OhPA7.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{Ba as e,C as t,Ea as n,Ha as r,Qa as i,Ta as a,d as o,l as s,uo as c,wa as l,y as u}from"./src-3SN72BHH.mjs";import{$ as d,$i as f,$n as p,$r as m,$t as h,A as g,Ai as _,An as v,Ar as y,At as b,B as x,Bi as S,Bn as C,Br as w,Bt as T,C as E,Ci as D,Cn as O,Cr as k,Ct as A,D as j,Di as M,Dn as N,Dr as P,Dt as F,E as I,Ei as L,En as R,Er as z,Et as B,F as V,Fi as H,Fn as U,Fr as W,Ft as G,G as K,Gi as q,Gn as J,Gr as Y,Gt as X,H as Z,Hi as Q,Hn as $,Hr as ee,Ht as te,I as ne,Ii as re,In as ie,Ir as ae,It as oe,J as se,Ji as ce,Jn as le,Jt as ue,K as de,Ki as fe,Kn as pe,Kr as me,Kt as he,L as ge,Li as _e,Ln as ve,Lr as ye,Lt as be,M as xe,Mi as Se,Mn as Ce,Mr as we,Mt as Te,N as Ee,Ni as De,Nn as Oe,Nr as ke,Nt as Ae,O as je,Oi as Me,On as Ne,Or as Pe,Ot as Fe,P as Ie,Pi as Le,Pn as Re,Pr as ze,Pt as Be,Q as Ve,Qi as He,Qn as Ue,Qr as We,Qt as Ge,R as Ke,Ri as qe,Rn as Je,Rr as Ye,Rt as Xe,S as Ze,Si as Qe,Sn as $e,Sr as et,St as tt,T as nt,Ti as rt,Tn as it,Tr as at,Tt as ot,U as st,Ui as ct,Un as lt,Ur as ut,Ut as dt,V as ft,Vi as pt,Vn as mt,Vr as ht,Vt as gt,W as _t,Wi as vt,Wn as yt,Wr as bt,Wt as xt,X as St,Xi as Ct,Xn as wt,Xt as Tt,Y as Et,Yi as Dt,Yn as Ot,Yt as kt,Z as At,Zi as jt,Zn as Mt,Zt as Nt,_ as Pt,_i as Ft,_n as It,_r as Lt,a as Rt,aa as zt,ai as Bt,an as Vt,ar as Ht,at as Ut,b as Wt,bi as Gt,bn as Kt,br as qt,bt as Jt,c as Yt,ca as Xt,ci as Zt,cn as Qt,cr as $t,ct as en,d as tn,da as nn,di as rn,dn as an,dr as on,dt as sn,ea as cn,ei as ln,en as un,er as dn,et as fn,f as pn,fa as mn,fi as hn,fn as gn,fr as _n,ft as vn,g as yn,gi as bn,gn as xn,gr as Sn,h as Cn,ha as wn,hi as Tn,hn as En,hr as Dn,i as On,ia as kn,ii as An,in as jn,ir as Mn,it as Nn,j as Pn,ji as Fn,jn as In,jr as Ln,jt as Rn,k as zn,ki as Bn,kn as Vn,kr as Hn,kt as Un,l as Wn,la as Gn,li as Kn,ln as qn,lr as Jn,lt as Yn,m as Xn,ma as Zn,mi as Qn,mn as $n,mr as er,n as tr,na as nr,ni as rr,nn as ir,nr as ar,nt as or,o as sr,oa as cr,oi as lr,on as ur,or as dr,ot as fr,p as pr,pa as mr,pi as hr,pn as gr,pr as _r,q as vr,qi as yr,qn as br,qt as xr,r as Sr,ra as Cr,ri as wr,rn as Tr,rr as Er,rt as Dr,s as Or,sa as kr,si as Ar,sn as jr,sr as Mr,st as Nr,t as Pr,ta as Fr,ti as Ir,tn as Lr,tr as Rr,tt as zr,u as Br,ua as Vr,ui as Hr,un as Ur,ur as Wr,ut as Gr,v as Kr,vi as qr,vn as Jr,vr as Yr,w as Xr,wi as Zr,wn as Qr,wr as $r,wt as ei,x as ti,xi as ni,xn as ri,xr as ii,xt as ai,y as oi,yi as si,yn as ci,yr as li,yt as ui,z as di,zi as fi,zn as pi,zr as mi,zt as hi}from"./src-DAzaO37g.mjs";import{C as gi,E as _i,T as vi,_ as yi,b as bi,c as xi,d as Si,g as Ci,i as wi,l as Ti,m as Ei,n as Di,p as Oi,s as ki,t as Ai,u as ji,v as Mi,w as Ni,x as Pi,y as Fi}from"./fs-traced-Cc6WsRtP.mjs";import{a as Ii,d as Li,f as Ri,i as zi,l as Bi,n as Vi,r as Hi,t as Ui,u as Wi}from"./logger-B7Z8XO-z.mjs";import{_ as Gi,a as Ki,b as qi,c as Ji,f as Yi,g as Xi,h as Zi,i as Qi,l as $i,m as ea,n as ta,o as na,p as ra,r as ia,s as aa,t as oa,u as sa,v as ca,y as la}from"./server-lock-D7lpEbZj.mjs";export{cr as AGENT_ID_MAX_LEN,kr as AGENT_ID_RE,S as AGENT_WRITE_ORIGIN,mr as AcpPermissionStore,Vr as AcpRegistry,_e as AcpThreadManager,H as AgentFocusBroadcaster,Le as AgentPresenceBroadcaster,pt as AgentSessionCapacityError,Q as AgentSessionManager,Jt as AutoStartDisabledError,we as BUNDLE_IDS,ke as BUNDLE_SCOPE,ze as BUNDLE_SKILL_NAME,Mt as BacklinkIndex,Dt as CC1Broadcaster,r as CC1_CONTRACT_VERSION,jr as CONFIG_FILENAME,pe as CONFLICT_MARKER_RE,rr as CURSOR_BUNDLE_PATHS_BY_PLATFORM,Pt as ConfigSchema,In as DEFAULT_CHECKPOINT_RETENTION,qr as DEFAULT_EMBEDDINGS_DIMENSIONS,Xe as DEFAULT_PACK_ID,K as DocumentDurabilityState,si as EMBEDDINGS_API_KEY_ENV,nn as FEATURED_AGENT_IDS,Ce as FILE_SYSTEM_WRITER,wt as FILE_WATCHER_ORIGIN,hn as FileEmbeddingsBackend,ir as GIT_PREFLIGHT_FAIL_SPAN_NAME,Oe as GIT_UPSTREAM_WRITER,Zn as GitDirAccessError,Mn as GitNotAvailableError,Ht as GitTooOldError,ai as HOCUSPOCUS_AUTH_REJECTION_REASONS,tt as HocuspocusAuthRejection,A as HocuspocusAuthTokenSchema,Zt as INSTALLED_AGENTS_SCHEMES,e as LINEAGE_EPOCH_KEY,Z as LIVE_DERIVED_INDEX_DEBOUNCE_MS,hi as LOG_MD_TEMPLATE,Un as MANAGED_RENAME_ORIGIN,qe as MAX_ACP_THREADS,ct as MAX_AGENT_SESSIONS,sn as MCP_CONNECTION_ID_HEADER,l as MCP_SERVER_NAME,vt as MIN_EVICTABLE_IDLE_MS,dr as MIN_GIT_VERSION,de as MISSING_OK_CONFIG_MESSAGE,wn as MalformedGitPointerError,Dr as McpLogger,vr as MissingOkConfigError,V as OBSERVER_SYNC_ORIGIN,Qt as OK_OKIGNORE_TEMPLATE,a as ORPHAN_MODES,c as PROTOCOL_VERSION,Ui as PinoLogger,Ji as ProcessLockCollisionError,Wn as ProjectGitInitError,b as ROLLBACK_ORIGIN,qn as ROOT_GITIGNORE_TEMPLATE,Xi as RUNTIME_VERSION,Re as SERVICE_WRITER,P as SKILL_INSTALL_EVENTS_FILE_REL,u as SKILL_STATE_TARGETS,T as STARTER_FOLDERS,gt as STARTER_FOLDER_FRONTMATTER_FILENAME,te as STARTER_PACKS,dt as STARTER_PACK_IDS,xt as STARTER_TEMPLATES,I as STATE_MANIFEST_FILENAME,Gi as STATE_SCHEMA_VERSION,i as SYSTEM_DOC_NAME,Tt as SeedPrerequisiteError,Nt as SeedRootDirError,oa as ServerLockCollisionError,Pr as SingleFileNotAFileError,tr as SingleFileNotFoundError,Sr as SingleFileNotMarkdownError,j as StateManifestError,nt as TagIndex,W as USER_GLOBAL_BUNDLE_IDS,p as UiLockCollisionError,Rn as __getShowAllWalkStatsForTesting,Te as __resetShowAllWalkStatsForTesting,$i as acquireProcessLock,ta as acquireServerLock,dn as acquireUiLock,q as applyAgentMarkdownWrite,Vn as applyExternalChange,be as applySeed,je as assertCompatibleStateManifest,Mr as assertGitAvailable,It as assertNeverDiskEvent,re as attachAcpThreadSocket,ui as attachIdleShutdown,Kr as bootServer,Sn as buildAndOpenSkill,Ur as buildConfigYmlContent,Ve as buildExecResult,fi as buildOkMcpStdioCommand,Hn as buildSkillZip,X as buildStarterFolderFrontmatterYaml,U as buildWipTree,ae as bundleSkillMdPath,hr as canonicalProjectKey,Jr as classifyEvents,Ai as classifyFsPath,Qn as clearAllEmbeddingsKeys,ni as clearContributors,he as coercePackId,s as colorFromSeed,ie as commitUpstreamImport,ve as commitWip,Je as commitWipFromTree,$t as compareSemver,mi as composeEffectiveLinterConfig,w as composeFrontmatterSchemasConfig,br as containsConflictMarkers,ci as contentHash,Qe as contributorCount,Ke as countShadowObjects,di as countStaleAgentWipRefs,x as countWipRefs,Ae as createApiExtension,Fn as createAssetServeMiddleware,We as createContentFilter,m as createContentFilterAsync,Tn as createEmbeddingsSecretStore,On as createEphemeralProjectDir,v as createExternalChangeHandler,pn as createFileLogger,st as createLiveDerivedIndexExtension,St as createMcpHttpHandler,Kn as createOsProbe,Ie as createPersistenceExtension,E as createServer,xe as createServerObserverExtension,fe as createStreamingErrorWriter,Vi as createTestLogger,bn as describeStoredEmbeddingsKey,yn as detectClaudeDesktopPresence,Jn as detectGit,zn as detectProjectShape,Lt as detectUserSkillHosts,fr as discoverLockDirs,ut as discoverMarkdownlintConfig,Tr as emitPreflightFailureSpan,d as encodeDocName,fn as encodeFolderRoute,zr as encodeSkillRoute,Br as ensureProjectGit,an as ensureProjectSkillGitignore,yr as errorResponse,Kt as evictStaleTrackerEntries,Nr as extractOkBinaryPath,Ue as extractWikiLinksFromMarkdown,Wr as fallbackPaths,tn as findEnclosingGitRoot,En as findEnclosingProjectRoot,bt as findNativeMarkdownlintFile,pr as flushFileLogger,ei as formatAuthRejectionWire,D as formatContributors,Zr as formatContributorsFrom,G as formatPackRationale,pi as gcCheckpointRefs,Nn as getCurrentMcpLogger,Me as getLocalDir,Xn as getLogFilePath,Hi as getLogger,Cn as getLogsDir,qi as getMachineId,Fi as getMeter,Fr as getMetrics,bi as getTracer,nr as handleCollabSocketError,wr as handleSpawnCursor,ft as hasGcLogLatch,o as iconFromClientName,Cr as incrementCollabSocketFilteredError,kn as incrementServerObserverFire,gn as initContent,C as initShadowRepo,Pi as initTelemetry,Wt as initToleranceTelemetryWriter,Gr as installPrettyZodErrors,zi as installTestLoggers,Yr as installUserSkill,De as isAllowedApiOrigin,Ge as isAllowedWorkspaceHostHeader,Ct as isConfigDoc,ot as isHocuspocusAuthRejectionReason,xr as isKnownPackId,jt as isLinkIndexExcludedDoc,h as isLoopbackAddress,He as isManagedArtifactDoc,n as isOrphanMode,ne as isPairedWriteOrigin,An as isPathWithinDir,ca as isProcessAlive,xn as isProjectRoot,_n as isProjectSkillManaged,f as isReservedForUserTree,ri as isSelfWrite,cn as isSystemDoc,ti as isToleranceTelemetryEnabled,la as isValidLockPid,$e as lastKnownHash,mt as listRescueCheckpoints,ue as listStarterPacks,mn as loadCustomAgents,Ee as loadPrincipal,sa as lockFilePath,Ii as loggerFactory,Bi as logsCurrentPath,Wi as logsPreviousPath,Ft as makeLazyEmbeddingsKeyStore,ia as markServerLockDraining,se as mountMcpAndApi,Di as normalizeFsPath,ye as originGitHubHost,gr as packageVersionMajorMinor,B as parseAuthRejectionWire,on as parseGitVersion,F as parseHocuspocusAuthToken,Et as parseKeepaliveConnectionId,O as pathToDocName,oe as planSeed,Rt as prepareSingleFileOpen,en as processCommand,Yn as processUsage,li as readAllTargets,qt as readBundleDecision,Y as readOwnNativeRules,Yi as readProcessLock,ra as readProcessLockDetailed,_t as readProjectHeadState,rn as readProjectLocalSemanticConfig,Qi as readServerLock,ii as readServerPackageVersion,et as readSkillInstallStateSnapshot,_r as readSkillManagement,g as readStateManifest,k as readTargetRecordedAt,$r as readTargetVersion,Rr as readUiLock,le as reconcile,rt as recordContributor,Pe as recordSkillInstallEvent,At as registerAllTools,Qr as registerWrite,ea as releaseProcessLock,Ki as releaseServerLock,ar as releaseUiLock,it as removeLastKnownHash,zt as resetMetrics,t as resolveBundleEnabled,y as resolveBundledSkillDir,Bn as resolveContentDir,Bt as resolveCursorBinaryDefault,lr as resolveCursorSpawnInvocation,ht as resolveEffectiveLinterConfig,Gt as resolveEmbeddingsCredential,_ as resolveLockDir,ee as resolveNativeConfigForDoc,me as resolveNativeMarkdownlintConfig,kt as resolvePack,Or as resolvePackageVersion,or as resolveUiInfo,L as restoreContributors,oi as restoreLifecycleFromConflictsJson,ln as rewriteMarkdownLinksForDocumentRename,Ir as rewriteWikiLinksForDocumentRename,jn as runAuthReposSubprocess,Vt as runAuthStatusSubprocess,un as runCloneSubprocess,ur as runDeviceFlowSubprocess,Ut as runWithMcpLogger,Se as safeContentPath,Be as safeSubdir,$ as safetyCheckpoint,vn as sanitizeClientName,lt as saveInMemoryCheckpoint,yt as saveVersion,Fe as seedBasenameIndex,sr as serializeError,gi as setActiveSpanAttributes,ge as setupServerObservers,J as shadowGit,Ni as shutdownTelemetry,er as skillManagementPath,Li as spansCurrentPath,Ri as spansPreviousPath,Ar as spawnDetached,Ot as splitMarkdownBlocks,R as startWatcher,ce as streamingProblemEvent,M as swapContributors,Ze as teardownToleranceTelemetryWriter,Xt as toBroadcasterKey,wi as tracedAppendFileSync,ki as tracedLinkSync,xi as tracedMkdir,Ti as tracedMkdirSync,ji as tracedRename,Si as tracedRenameSync,Oi as tracedRmSync,Ei as tracedRmdirSync,Ci as tracedUnlinkSync,yi as tracedWriteFile,Mi as tracedWriteFileSync,Xr as trustSystemCertificates,Yt as untrackTrackedProjectSkillProjection,N as updateLastKnownHash,Zi as updateProcessLockPort,na as updateServerLockPort,Er as updateUiLockPort,Gn as validateAgentId,Lr as validateCloneInputs,Ln as validateSkillZip,aa as waitForServerLockDrain,Hr as withHiddenWindowsConsole,vi as withSpan,_i as withSpanSync,at as writeBundleDecision,Ye as writeMarkdownlintRule,$n as writeRootGitignoreForNewRepo,Dn as writeSkillManagement,Pn as writeStateManifest,z as writeTargetVersion,Ne as writeTracker};
|