vibelet 1.2.247 → 1.2.249
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/index.cjs +1 -1
- package/dist/inventory-scan-worker.cjs +1 -1
- package/dist/runtime-version.cjs +1 -1
- package/dist/web/assets/App-CqANyaMK.css +97 -0
- package/dist/web/assets/App-gwVbOIB1.js +2 -0
- package/dist/web/assets/BrowserControlPanel-ChZyiZg8.js +1 -0
- package/dist/web/assets/{ChatPane-CzxrCqL_.css → ChatPane-CWKGXZWT.css} +1 -1
- package/dist/web/assets/ChatPane-fH0IY48w.js +1 -0
- package/dist/web/assets/{ChipGroup-Cbd--u_m.js → ChipGroup-0exv9rzn.js} +1 -1
- package/dist/web/assets/ComposerMenus-DhMX49q9.js +1 -0
- package/dist/web/assets/DiffDrawer-D4eELjEe.js +1 -0
- package/dist/web/assets/FilesControlPanel-Bz4i0bf2.js +1 -0
- package/dist/web/assets/FilesControlPanel-JMh8U1IC.css +1 -0
- package/dist/web/assets/{GlobalPendingDialog-D0U5NTjf.js → GlobalPendingDialog-tews3DVC.js} +1 -1
- package/dist/web/assets/ImageViewer-BojwpCb-.js +1 -0
- package/dist/web/assets/{LanguageSettingsPanel-D50Rgg1g.js → LanguageSettingsPanel-C1ZHQpVG.js} +1 -1
- package/dist/web/assets/{MarkdownModePanel-hRmnhycR.js → MarkdownModePanel-B4iVncFO.js} +1 -1
- package/dist/web/assets/NewSessionDialog-CsOHExrY.js +1 -0
- package/dist/web/assets/{NotificationSettingsPanel-Ca1v3Yw7.js → NotificationSettingsPanel-BA0Lj4kT.js} +1 -1
- package/dist/web/assets/{PanelFind-BGfoRqNH.js → PanelFind-D_pRPFBN.js} +1 -1
- package/dist/web/assets/RemoteLifeOSBlock-CZkQLmE5.js +2 -0
- package/dist/web/assets/RemoteWorkspaceSettings-tDqbDqj4.js +1 -0
- package/dist/web/assets/{SessionTerminalPanel-CyP16k5u.js → SessionTerminalPanel-B-TvX4Fz.js} +2 -2
- package/dist/web/assets/{SpeechInputSettingsPanel-CHpkkut8.js → SpeechInputSettingsPanel-Buqwjrth.js} +1 -1
- package/dist/web/assets/{ThemeSettingsPanel-DoGwtHdu.js → ThemeSettingsPanel-Bph9zVcN.js} +1 -1
- package/dist/web/assets/{__vite-browser-external-2447137e-Bh2jUCqE.js → __vite-browser-external-2447137e-Dbwxx6PZ.js} +1 -1
- package/dist/web/assets/_baseMerge-YHvLFG89.js +1 -0
- package/dist/web/assets/{_initCloneObject-BR1zWEqJ.js → _initCloneObject-CgHgrY9n.js} +1 -1
- package/dist/web/assets/abnfDiagram-VRR7QNED-dJfL32qR.js +1 -0
- package/dist/web/assets/arc-BYAxnPQ_.js +1 -0
- package/dist/web/assets/architectureDiagram-ZJ3FMSHR-LXgKoYZv.js +1 -0
- package/dist/web/assets/{arrow-left-BheihJdy.js → arrow-left-CagvtJU8.js} +1 -1
- package/dist/web/assets/{arrow-right-DWvq76Kx.js → arrow-right-CW797wzk.js} +1 -1
- package/dist/web/assets/blockDiagram-677ZJIJ3-BOLqwY0y.js +1 -0
- package/dist/web/assets/c4Diagram-LMCZKHZV-BvwC7DIr.js +1 -0
- package/dist/web/assets/channel-DpGkajT1.js +1 -0
- package/dist/web/assets/chevron-up-DfL2d5fV.js +1 -0
- package/dist/web/assets/{chunk-2Q5K7J3B-BUZSuBjW.js → chunk-2Q5K7J3B-D2B_BdaG.js} +1 -1
- package/dist/web/assets/{chunk-32BRIVSS-yM66by0K.js → chunk-32BRIVSS-B93XkYif.js} +1 -1
- package/dist/web/assets/{chunk-5VM5RSS4-B2fuQ7dD.js → chunk-5VM5RSS4-Uv1D4oA2.js} +1 -1
- package/dist/web/assets/{chunk-EX3LRPZG-DPAeNg2a.js → chunk-EX3LRPZG-xZrFFOcj.js} +1 -1
- package/dist/web/assets/{chunk-JWPE2WC7-DM5_6RSD.js → chunk-JWPE2WC7-1--FpPFR.js} +1 -1
- package/dist/web/assets/{chunk-MOJQB5TN-TH_KhX6Q.js → chunk-MOJQB5TN-BLOL5fhw.js} +1 -1
- package/dist/web/assets/{chunk-RYQCIY6F-DHBpVrg3.js → chunk-RYQCIY6F-z7wmcSRp.js} +1 -1
- package/dist/web/assets/{chunk-V7JOEXUC-DkZydjGy.js → chunk-V7JOEXUC-DPvobQwd.js} +1 -1
- package/dist/web/assets/{chunk-VR4S4FIN-BYAxXJbL.js → chunk-VR4S4FIN-DD3Gj91z.js} +1 -1
- package/dist/web/assets/{chunk-XXDRQBXY-B0Y1r05u.js → chunk-XXDRQBXY-DoVRk31D.js} +1 -1
- package/dist/web/assets/classDiagram-OUVF2IWQ-oZMIKKng.js +1 -0
- package/dist/web/assets/classDiagram-v2-EOCWNBFH-oZMIKKng.js +1 -0
- package/dist/web/assets/clsx-DoZLeicy.js +1 -0
- package/dist/web/assets/collectMessageImages-B2EAkrhU.js +1 -0
- package/dist/web/assets/cose-bilkent-JH36ORCC-BQknAy25.js +1 -0
- package/dist/web/assets/{cynefin-VYW2F7L2-3RkBUicE.js → cynefin-VYW2F7L2-09uNSfvT.js} +1 -1
- package/dist/web/assets/cynefinDiagram-TSTJHNR4-CgKhj0m5.js +1 -0
- package/dist/web/assets/dagre-VKFMJZFB-CLCxvrOo.js +1 -0
- package/dist/web/assets/diagram-FQU43EPY-B4VfNgsF.js +1 -0
- package/dist/web/assets/diagram-G47NLZAW-CQC0I6zX.js +1 -0
- package/dist/web/assets/diagram-NH7WQ7WH-CSBbTiMh.js +1 -0
- package/dist/web/assets/diagram-OA4YK3LP-CkUx0v34.js +1 -0
- package/dist/web/assets/diagram-WEI45ONY-dlEY_W2R.js +1 -0
- package/dist/web/assets/ebnfDiagram-CCIWWBDH-BsxdwE2E.js +1 -0
- package/dist/web/assets/erDiagram-Q63AITRT-CE8BUsrY.js +1 -0
- package/dist/web/assets/{file-editor-FileCodeEditor-hW_NGerr.js → file-editor-FileCodeEditor-HR6Wsm5I.js} +1 -1
- package/dist/web/assets/{file-editor-ObsidianCodeEditor-B4GG5hP9.js → file-editor-ObsidianCodeEditor-BMcU5Aqo.js} +6 -6
- package/dist/web/assets/file-editor-ObsidianFileEditor-BuzsfQwA.js +2 -0
- package/dist/web/assets/{flowDiagram-23GEKE2U-BpiBPX14.js → flowDiagram-23GEKE2U-DUiI830l.js} +1 -1
- package/dist/web/assets/{folder-plus-BId9YFae.js → folder-plus-Byi2WQUY.js} +1 -1
- package/dist/web/assets/ganttDiagram-NO4QXBWP-x0WR7K4r.js +1 -0
- package/dist/web/assets/gitGraphDiagram-IHSO6WYX-BJA7zQjW.js +1 -0
- package/dist/web/assets/highlighted-body-TPN3WLV5-lW0JmP5H.js +1 -0
- package/dist/web/assets/index-1M7_HtDu.js +1 -0
- package/dist/web/assets/index-76-ZfKAK.css +1 -0
- package/dist/web/assets/index-8TM1eFHE.js +1 -0
- package/dist/web/assets/index-S4bzeLfy.js +1 -0
- package/dist/web/assets/{index-O-t39Ol4.js → index-c9Eb0rEZ.js} +2 -2
- package/dist/web/assets/infoDiagram-FWYZ7A6U-BfA2fWjL.js +1 -0
- package/dist/web/assets/ishikawaDiagram-FXEZZL3T-B7WW0j7E.js +1 -0
- package/dist/web/assets/journeyDiagram-5HDEW3XC-BEMtGLhR.js +1 -0
- package/dist/web/assets/kanban-definition-HUTT4EX6-DqIkrGPA.js +1 -0
- package/dist/web/assets/{key-round-CJlgo5fm.js → key-round-y1oxWXOB.js} +1 -1
- package/dist/web/assets/{layout-CmMX872C.js → layout-CAp4KseL.js} +1 -1
- package/dist/web/assets/{linear-ChteFaL7.js → linear-DRFQGBEA.js} +1 -1
- package/dist/web/assets/logo-iv8HSlJj.webp +0 -0
- package/dist/web/assets/{map-Dwt0FgOz.js → map-XtUTTYLw.js} +1 -1
- package/dist/web/assets/mermaid-O7DHMXV3-9HC6mORt.js +2 -0
- package/dist/web/assets/{mermaid.core-DOs1qq05.js → mermaid.core-LEKKQwXZ.js} +2 -2
- package/dist/web/assets/{mic-DgKOZklf.js → mic-BOKcmdUn.js} +1 -1
- package/dist/web/assets/mindmap-definition-LN4V7U3C-Bt6LtGWO.js +1 -0
- package/dist/web/assets/pegDiagram-2B236MQR-DVdodUA1.js +1 -0
- package/dist/web/assets/pieDiagram-ENE6RG2P-CeQnXIl7.js +1 -0
- package/dist/web/assets/quadrantDiagram-ABIIQ3AL-DNGl4Hse.js +1 -0
- package/dist/web/assets/railroadDiagram-RFXS5EU6-BiFr0x3V.js +1 -0
- package/dist/web/assets/requirementDiagram-TGXJPOKE-DIx4dpS7.js +1 -0
- package/dist/web/assets/sankeyDiagram-HTMAVEWB-D_zRhmQ_.js +1 -0
- package/dist/web/assets/sequenceDiagram-DBY2YBRQ-ChMRMmPd.js +1 -0
- package/dist/web/assets/{shield-check-_XipaBh-.js → shield-check-DM9poYLJ.js} +1 -1
- package/dist/web/assets/sizeCapture-X5ZJPWSS-CLVxFMDT.js +1 -0
- package/dist/web/assets/square-K9kFBDil.js +1 -0
- package/dist/web/assets/stateDiagram-2N3HPSRC-Dn7yCHtf.js +1 -0
- package/dist/web/assets/stateDiagram-v2-6OUMAXLB-DkgnQPrP.js +1 -0
- package/dist/web/assets/swimlanes-5IMT3BWC-Dhut6RY-.js +2 -0
- package/dist/web/assets/swimlanesDiagram-G3AALYLV-D62G5R34.js +1 -0
- package/dist/web/assets/timeline-definition-FHXFAJF6-D_9aY3SL.js +1 -0
- package/dist/web/assets/useComposerCompletion-DcHhaHlX.js +1 -0
- package/dist/web/assets/vennDiagram-L72KCM5P-Bxsjs1td.js +1 -0
- package/dist/web/assets/wardleyDiagram-EHGQE667-B8vO0orG.js +1 -0
- package/dist/web/assets/xychartDiagram-FW5EYKEG-CUBLdGVB.js +1 -0
- package/dist/web/assets/{zap-DIz95-hU.js → zap-4rbaTb6R.js} +1 -1
- package/dist/web/icon.webp +0 -0
- package/dist/web/index.html +3 -3
- package/dist/web/manifest.webmanifest +3 -3
- package/dist/web/obsidian-editor-assets.json +1 -1
- package/package.json +1 -1
- package/dist/web/assets/App-C5Ke5Qz2.js +0 -2
- package/dist/web/assets/App-CihlV_9g.css +0 -97
- package/dist/web/assets/BrowserControlPanel-DRsXEBY6.js +0 -1
- package/dist/web/assets/ChatPane-CoduXfLX.js +0 -2
- package/dist/web/assets/ComposerMenus-C3CZ6V5F.js +0 -1
- package/dist/web/assets/DiffDrawer-DTXgIy0u.js +0 -1
- package/dist/web/assets/FilesControlPanel-C1UimFxr.js +0 -1
- package/dist/web/assets/FilesControlPanel-DQpsZVYc.css +0 -1
- package/dist/web/assets/ImageViewer-CYbSqwSM.js +0 -1
- package/dist/web/assets/MessageImage-DiNeC4GI.js +0 -1
- package/dist/web/assets/MessageImage-XcPrPLDn.css +0 -1
- package/dist/web/assets/NewSessionDialog-CsCx6bp4.js +0 -1
- package/dist/web/assets/RemoteLifeOSBlock-Bfye1f_N.js +0 -2
- package/dist/web/assets/RemoteWorkspaceSettings-DZsCZkRi.js +0 -1
- package/dist/web/assets/_baseMerge-DBQbsGvS.js +0 -1
- package/dist/web/assets/abnfDiagram-VRR7QNED-Bl6M1eHG.js +0 -1
- package/dist/web/assets/arc-DHud4-qM.js +0 -1
- package/dist/web/assets/architectureDiagram-ZJ3FMSHR-DsY-OmdQ.js +0 -1
- package/dist/web/assets/blockDiagram-677ZJIJ3-CCiH2ovQ.js +0 -1
- package/dist/web/assets/c4Diagram-LMCZKHZV-oPKbj-tD.js +0 -1
- package/dist/web/assets/channel-qswV9hQ1.js +0 -1
- package/dist/web/assets/chevron-up-DyGp4_xQ.js +0 -1
- package/dist/web/assets/classDiagram-OUVF2IWQ-BbcMepqX.js +0 -1
- package/dist/web/assets/classDiagram-v2-EOCWNBFH-BbcMepqX.js +0 -1
- package/dist/web/assets/collectMessageImages-LZqbfYFM.js +0 -1
- package/dist/web/assets/cose-bilkent-JH36ORCC-CipRUUdk.js +0 -1
- package/dist/web/assets/cynefinDiagram-TSTJHNR4-U5wqcyo5.js +0 -1
- package/dist/web/assets/dagre-VKFMJZFB-CazbK_9P.js +0 -1
- package/dist/web/assets/diagram-FQU43EPY-GC_c9wSi.js +0 -1
- package/dist/web/assets/diagram-G47NLZAW-sDw3CSv1.js +0 -1
- package/dist/web/assets/diagram-NH7WQ7WH-BjU9kJdq.js +0 -1
- package/dist/web/assets/diagram-OA4YK3LP-BzYVy01J.js +0 -1
- package/dist/web/assets/diagram-WEI45ONY-j3zAMnGS.js +0 -1
- package/dist/web/assets/ebnfDiagram-CCIWWBDH-BwMNqNll.js +0 -1
- package/dist/web/assets/erDiagram-Q63AITRT-h5OGRT55.js +0 -1
- package/dist/web/assets/file-editor-ObsidianFileEditor-DDurkrha.js +0 -2
- package/dist/web/assets/ganttDiagram-NO4QXBWP-B-T7q40C.js +0 -1
- package/dist/web/assets/gitGraphDiagram-IHSO6WYX-ouRgBDu4.js +0 -1
- package/dist/web/assets/highlighted-body-TPN3WLV5-BCal2OYT.js +0 -1
- package/dist/web/assets/imageViewerCopy-CXfvoTW4.js +0 -1
- package/dist/web/assets/index-BNl2LlC5.js +0 -1
- package/dist/web/assets/index-BmEMOBO7.js +0 -1
- package/dist/web/assets/index-CEW0z0zw.css +0 -1
- package/dist/web/assets/index-CXYWGIsF.js +0 -1
- package/dist/web/assets/index-Cuon_DTJ.js +0 -1
- package/dist/web/assets/infoDiagram-FWYZ7A6U-3_x-vAEu.js +0 -1
- package/dist/web/assets/ishikawaDiagram-FXEZZL3T-UT_Ib2PE.js +0 -1
- package/dist/web/assets/journeyDiagram-5HDEW3XC-BHxjC2dQ.js +0 -1
- package/dist/web/assets/kanban-definition-HUTT4EX6-DIfhTI-4.js +0 -1
- package/dist/web/assets/logo-Caf1Fn81.webp +0 -0
- package/dist/web/assets/mermaid-O7DHMXV3-BGiAAYhO.js +0 -2
- package/dist/web/assets/mindmap-definition-LN4V7U3C-CTEmFam1.js +0 -1
- package/dist/web/assets/pegDiagram-2B236MQR-BVGzKW4X.js +0 -1
- package/dist/web/assets/pieDiagram-ENE6RG2P-qD1W6lJB.js +0 -1
- package/dist/web/assets/quadrantDiagram-ABIIQ3AL-DgJoLYiW.js +0 -1
- package/dist/web/assets/railroadDiagram-RFXS5EU6-DeCC2e4U.js +0 -1
- package/dist/web/assets/requirementDiagram-TGXJPOKE-Pux2SX4g.js +0 -1
- package/dist/web/assets/sankeyDiagram-HTMAVEWB-C_Tket24.js +0 -1
- package/dist/web/assets/sequenceDiagram-DBY2YBRQ-Be1RO90J.js +0 -1
- package/dist/web/assets/sizeCapture-X5ZJPWSS-BsxnAGbY.js +0 -1
- package/dist/web/assets/stateDiagram-2N3HPSRC-BAnzOKuR.js +0 -1
- package/dist/web/assets/stateDiagram-v2-6OUMAXLB-aK2wnXKH.js +0 -1
- package/dist/web/assets/swimlanes-5IMT3BWC-BcQd1NOU.js +0 -2
- package/dist/web/assets/swimlanesDiagram-G3AALYLV-hN_0Yx5L.js +0 -1
- package/dist/web/assets/timeline-definition-FHXFAJF6-BD1EIOzx.js +0 -1
- package/dist/web/assets/useComposerCompletion-BiNrjwsC.js +0 -1
- package/dist/web/assets/useMessageImage-CVaCgkzu.js +0 -1
- package/dist/web/assets/vennDiagram-L72KCM5P-YDBTWj4n.js +0 -1
- package/dist/web/assets/wardleyDiagram-EHGQE667-BFNiy9ul.js +0 -1
- package/dist/web/assets/xychartDiagram-FW5EYKEG-CuqC4pEX.js +0 -1
- package/dist/web/icon.svg +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var t;import{p as e}from"./chunk-JWPE2WC7-DM5_6RSD.js";import{_ as a,s as r,g as n,p as o,o as i,a as s,b as l,W as d,z as c,B as p,l as x,F as h,e as y,q as g,c as f}from"./mermaid.core-DOs1qq05.js";import{p as u}from"./cynefin-VYW2F7L2-3RkBUicE.js";import"./index-O-t39Ol4.js";import"./RemoteLifeOSBlock-Bfye1f_N.js";import"./index-CXYWGIsF.js";import"./index-BmEMOBO7.js";import"./file-editor-CodeHighlight-aQ9kP3Wv.js";import"./App-C5Ke5Qz2.js";import"./chevron-up-DyGp4_xQ.js";import"./__vite-browser-external-2447137e-Bh2jUCqE.js";import"./purify.es-BNLkGfTg.js";import"./marked.esm-BBjA1da9.js";var m=a((t,e)=>{const a=t<=1?100*t:t;if(a<0||a>100)throw new Error(`${e} must be between 0-1 (decimal) or 0-100 (percentage). Received: ${t}`);return a},"toPercent"),w=a((t,e,a)=>({x:m(e,`${a} evolution`),y:m(t,`${a} visibility`)}),"toCoordinates"),k=a(t=>{if(t)return"+<>"===t?"bidirectional":"+<"===t?"backward":"+>"===t?"forward":void 0},"getFlowFromPort"),b=a(t=>{if(!t?.startsWith("+"))return{};const e=/^\+'([^']*)'/.exec(t),a=e?.[1];return t.includes("<>")?{flow:"bidirectional",label:a}:t.includes("<")?{flow:"backward",label:a}:t.includes(">")?{flow:"forward",label:a}:{label:a}},"extractFlowFromArrow"),$=a((t,a)=>{if(e(t,a),t.size&&a.setSize(t.size.width,t.size.height),t.evolution){const e=t.evolution.stages.map(t=>t.secondName?`${t.name.trim()} / ${t.secondName.trim()}`:t.name.trim()),r=t.evolution.stages.filter(t=>void 0!==t.boundary).map(t=>t.boundary);a.updateAxes({stages:e,stageBoundaries:r})}if(t.anchors.forEach(t=>{const e=w(t.visibility,t.evolution,`Anchor "${t.name}"`);a.addNode(t.name,t.name,e.x,e.y,"anchor")}),t.components.forEach(t=>{const e=w(t.visibility,t.evolution,`Component "${t.name}"`),r=t.label?(t.label.negX?-1:1)*t.label.offsetX:void 0,n=t.label?(t.label.negY?-1:1)*t.label.offsetY:void 0,o=t.decorator?.strategy;a.addNode(t.name,t.name,e.x,e.y,"component",r,n,t.inertia,o)}),t.notes.forEach(t=>{const e=w(t.visibility,t.evolution,`Note "${t.text}"`);a.addNote(t.text,e.x,e.y)}),t.pipelines.forEach(t=>{const e=a.getNode(t.parent);if(!e||"number"!=typeof e.y)throw new Error(`Pipeline "${t.parent}" must reference an existing component with coordinates.`);const r=e.y;a.startPipeline(t.parent),t.components.forEach(e=>{const n=`${t.parent}_${e.name}`,o=e.label?(e.label.negX?-1:1)*e.label.offsetX:void 0,i=e.label?(e.label.negY?-1:1)*e.label.offsetY:void 0,s=m(e.evolution,`Pipeline component "${e.name}" evolution`);a.addNode(n,e.name,s,r,"pipeline-component",o,i),a.addPipelineComponent(t.parent,n)})}),t.links.forEach(t=>{const e=!!t.arrow&&(t.arrow.includes("-.->")||t.arrow.includes(".-."));let r=k(t.fromPort)??k(t.toPort);const{flow:n,label:o}=b(t.arrow);!r&&n&&(r=n);const i=t.linkLabel,s=o??i;a.addLink(a.resolveNodeId(t.from),a.resolveNodeId(t.to),e,s,r)}),t.evolves.forEach(t=>{const e=a.getNode(t.component);if(void 0!==e?.y){const r=m(t.target,`Evolve target for "${t.component}"`);a.addTrend(t.component,r,e.y)}}),t.annotations.length>0){const e=t.annotations[0],r=w(e.x,e.y,"Annotations box");a.setAnnotationsBox(r.x,r.y)}t.annotation.forEach(t=>{const e=w(t.x,t.y,`Annotation ${t.number}`);a.addAnnotation(t.number,[{x:e.x,y:e.y}],t.text)}),t.accelerators.forEach(t=>{const e=w(t.x,t.y,`Accelerator "${t.name}"`);a.addAccelerator(t.name,e.x,e.y)}),t.deaccelerators.forEach(t=>{const e=w(t.x,t.y,`Deaccelerator "${t.name}"`);a.addDeaccelerator(t.name,e.x,e.y)})},"populateDb"),v={parser:{yy:void 0},parse:a(async t=>{const e=await u("wardley",t);x.debug(e);const a=v.parser?.yy;if(!a||"function"!=typeof a.addNode)throw new Error("parser.parser?.yy was not a WardleyDB. This is due to a bug within Mermaid, please report this issue at https://github.com/mermaid-js/mermaid/issues.");$(e,a)},"parse")},S=new(a(t=class{constructor(){this.nodes=new Map,this.links=[],this.trends=new Map,this.pipelines=new Map,this.annotations=[],this.notes=[],this.accelerators=[],this.deaccelerators=[],this.axes={}}addNode(t){const e=this.nodes.get(t.id)??{id:t.id,label:t.label},a={...e,...t,className:t.className??e.className,labelOffsetX:t.labelOffsetX??e.labelOffsetX,labelOffsetY:t.labelOffsetY??e.labelOffsetY};this.nodes.set(t.id,a)}addLink(t){this.links.push(t)}addTrend(t){this.trends.set(t.nodeId,t)}startPipeline(t){this.pipelines.set(t,{nodeId:t,componentIds:[]});const e=this.nodes.get(t);e&&(e.isPipelineParent=!0)}addPipelineComponent(t,e){const a=this.pipelines.get(t);a&&a.componentIds.push(e);const r=this.nodes.get(e);r&&(r.inPipeline=!0)}addAnnotation(t){this.annotations.push(t)}addNote(t){this.notes.push(t)}addAccelerator(t){this.accelerators.push(t)}addDeaccelerator(t){this.deaccelerators.push(t)}setAnnotationsBox(t,e){this.annotationsBox={x:t,y:e}}setAxes(t){this.axes={...this.axes,...t}}setSize(t,e){this.size={width:t,height:e}}getNode(t){return this.nodes.get(t)}resolveNodeId(t){if(this.nodes.has(t))return t;for(const[e,a]of this.nodes)if(a.label===t)return e;return t}build(){const t=[];for(const e of this.nodes.values()){if("number"!=typeof e.x||"number"!=typeof e.y)throw new Error(`Node "${e.label}" is missing coordinates`);t.push(e)}return{nodes:t,links:[...this.links],trends:[...this.trends.values()],pipelines:[...this.pipelines.values()],annotations:[...this.annotations],notes:[...this.notes],accelerators:[...this.accelerators],deaccelerators:[...this.deaccelerators],annotationsBox:this.annotationsBox,axes:{...this.axes},size:this.size}}clear(){this.nodes.clear(),this.links=[],this.trends.clear(),this.pipelines.clear(),this.annotations=[],this.notes=[],this.accelerators=[],this.deaccelerators=[],this.annotationsBox=void 0,this.axes={},this.size=void 0}},"WardleyBuilder"),t);function C(){return f()["wardley-beta"]}function M(t,e,a,r,n,o,i,s,l){S.addNode({id:t,label:e,x:a,y:r,className:n,labelOffsetX:o,labelOffsetY:i,inertia:s,sourceStrategy:l})}function P(t,e,a=!1,r,n){S.addLink({source:t,target:e,dashed:a,label:r,flow:n})}function N(t,e,a){S.addTrend({nodeId:t,targetX:e,targetY:a})}function z(t,e,a){S.addAnnotation({number:t,coordinates:e,text:a})}function L(t,e,a){S.addNote({text:t,x:e,y:a})}function T(t,e,a){S.addAccelerator({name:t,x:e,y:a})}function A(t,e,a){S.addDeaccelerator({name:t,x:e,y:a})}function E(t,e){S.setAnnotationsBox(t,e)}function I(t,e){S.setSize(t,e)}function B(t){S.startPipeline(t)}function R(t,e){S.addPipelineComponent(t,e)}function F(t){S.setAxes(t)}function Y(t){return S.getNode(t)}function j(t){return S.resolveNodeId(t)}function O(){return S.build()}function X(){S.clear(),g()}a(C,"getConfig"),a(M,"addNode"),a(P,"addLink"),a(N,"addTrend"),a(z,"addAnnotation"),a(L,"addNote"),a(T,"addAccelerator"),a(A,"addDeaccelerator"),a(E,"setAnnotationsBox"),a(I,"setSize"),a(B,"startPipeline"),a(R,"addPipelineComponent"),a(F,"updateAxes"),a(Y,"getNode"),a(j,"resolveNodeId"),a(O,"getWardleyData"),a(X,"clear");var W={getConfig:C,addNode:M,addLink:P,addTrend:N,addAnnotation:z,addNote:L,addAccelerator:T,addDeaccelerator:A,setAnnotationsBox:E,setSize:I,startPipeline:B,addPipelineComponent:R,updateAxes:F,getNode:Y,resolveNodeId:j,getWardleyData:O,clear:X,setAccTitle:l,getAccTitle:s,setDiagramTitle:i,getDiagramTitle:o,getAccDescription:n,setAccDescription:r},D=["Genesis","Custom Built","Product","Commodity"],q=a(()=>{const{themeVariables:t}=f();return{backgroundColor:t.wardley?.backgroundColor??t.background??"#fff",axisColor:t.wardley?.axisColor??"#000",axisTextColor:t.wardley?.axisTextColor??t.primaryTextColor??"#222",gridColor:t.wardley?.gridColor??"rgba(100, 100, 100, 0.2)",componentFill:t.wardley?.componentFill??"#fff",componentStroke:t.wardley?.componentStroke??"#000",componentLabelColor:t.wardley?.componentLabelColor??t.primaryTextColor??"#222",linkStroke:t.wardley?.linkStroke??"#000",evolutionStroke:t.wardley?.evolutionStroke??"#dc3545",annotationStroke:t.wardley?.annotationStroke??"#000",annotationTextColor:t.wardley?.annotationTextColor??t.primaryTextColor??"#222",annotationFill:t.wardley?.annotationFill??t.background??"#fff"}},"getTheme"),V=a(()=>{const t=f()["wardley-beta"];return{width:t?.width??900,height:t?.height??600,padding:t?.padding??48,nodeRadius:t?.nodeRadius??6,nodeLabelOffset:t?.nodeLabelOffset??8,axisFontSize:t?.axisFontSize??12,labelFontSize:t?.labelFontSize??10,showGrid:t?.showGrid??!1,useMaxWidth:t?.useMaxWidth??!0}},"getConfigValues"),G={parser:v,db:W,renderer:{draw:a((t,e,r,n)=>{x.debug("Rendering Wardley map\n"+t);const o=V(),i=q(),s=1.6*o.nodeRadius,l=n.db,d=l.getWardleyData(),c=l.getDiagramTitle(),p=d.size?.width??o.width,g=d.size?.height??o.height,f=h(e);f.selectAll("*").remove(),y(f,g,p,o.useMaxWidth),f.attr("viewBox",`0 0 ${p} ${g}`);const u=f.append("g").attr("class","wardley-map"),m=f.append("defs");m.append("marker").attr("id",`arrow-${e}`).attr("viewBox","0 0 10 10").attr("refX",9).attr("refY",5).attr("markerWidth",6).attr("markerHeight",6).attr("orient","auto-start-reverse").append("path").attr("d","M 0 0 L 10 5 L 0 10 z").attr("fill",i.evolutionStroke).attr("stroke","none"),m.append("marker").attr("id",`link-arrow-end-${e}`).attr("viewBox","0 0 10 10").attr("refX",9).attr("refY",5).attr("markerWidth",5).attr("markerHeight",5).attr("orient","auto").append("path").attr("d","M 0 0 L 10 5 L 0 10 z").attr("fill",i.linkStroke).attr("stroke","none"),m.append("marker").attr("id",`link-arrow-start-${e}`).attr("viewBox","0 0 10 10").attr("refX",1).attr("refY",5).attr("markerWidth",5).attr("markerHeight",5).attr("orient","auto").append("path").attr("d","M 10 0 L 0 5 L 10 10 z").attr("fill",i.linkStroke).attr("stroke","none"),u.append("rect").attr("class","wardley-background").attr("width",p).attr("height",g).attr("fill",i.backgroundColor);const w=p-2*o.padding,k=g-2*o.padding;c&&u.append("text").attr("class","wardley-title").attr("x",p/2).attr("y",o.padding/2).attr("fill",i.axisTextColor).attr("font-size",1.05*o.axisFontSize).attr("font-weight","bold").attr("text-anchor","middle").attr("dominant-baseline","middle").text(c);const b=a(t=>o.padding+t/100*w,"projectX"),$=a(t=>g-o.padding-t/100*k,"projectY"),v=u.append("g").attr("class","wardley-axes");v.append("line").attr("x1",o.padding).attr("x2",p-o.padding).attr("y1",g-o.padding).attr("y2",g-o.padding).attr("stroke",i.axisColor).attr("stroke-width",1),v.append("line").attr("x1",o.padding).attr("x2",o.padding).attr("y1",o.padding).attr("y2",g-o.padding).attr("stroke",i.axisColor).attr("stroke-width",1);const S=d.axes.xLabel??"Evolution",C=d.axes.yLabel??"Visibility";v.append("text").attr("class","wardley-axis-label wardley-axis-label-x").attr("x",o.padding+w/2).attr("y",g-o.padding/4).attr("fill",i.axisTextColor).attr("font-size",o.axisFontSize).attr("font-weight","bold").attr("text-anchor","middle").text(S),v.append("text").attr("class","wardley-axis-label wardley-axis-label-y").attr("x",o.padding/3).attr("y",o.padding+k/2).attr("fill",i.axisTextColor).attr("font-size",o.axisFontSize).attr("font-weight","bold").attr("text-anchor","middle").attr("transform",`rotate(-90 ${o.padding/3} ${o.padding+k/2})`).text(C);const M=d.axes.stages&&d.axes.stages.length>0?d.axes.stages:D;if(M.length>0){const t=u.append("g").attr("class","wardley-stages"),e=d.axes.stageBoundaries,a=[];if(e&&e.length===M.length){let t=0;e.forEach(e=>{a.push({start:t,end:e}),t=e})}else{const t=1/M.length;M.forEach((e,r)=>{a.push({start:r*t,end:(r+1)*t})})}M.forEach((e,r)=>{const n=a[r],s=o.padding+n.start*w,l=(s+(o.padding+n.end*w))/2;r>0&&t.append("line").attr("x1",s).attr("x2",s).attr("y1",o.padding).attr("y2",g-o.padding).attr("stroke","#000").attr("stroke-width",1).attr("stroke-dasharray","5 5").attr("opacity",.8),t.append("text").attr("class","wardley-stage-label").attr("x",l).attr("y",g-o.padding/1.5).attr("fill",i.axisTextColor).attr("font-size",o.axisFontSize-2).attr("text-anchor","middle").text(e)})}if(o.showGrid){const t=u.append("g").attr("class","wardley-grid");for(let e=1;e<4;e++){const a=e/4,r=o.padding+w*a;t.append("line").attr("x1",r).attr("x2",r).attr("y1",o.padding).attr("y2",g-o.padding).attr("stroke",i.gridColor).attr("stroke-dasharray","2 6"),t.append("line").attr("x1",o.padding).attr("x2",p-o.padding).attr("y1",g-o.padding-k*a).attr("y2",g-o.padding-k*a).attr("stroke",i.gridColor).attr("stroke-dasharray","2 6")}}const P=new Map;if(d.nodes.forEach(t=>{P.set(t.id,{x:b(t.x),y:$(t.y),node:t})}),d.pipelines.length>0){const t=u.append("g").attr("class","wardley-pipelines"),e=u.append("g").attr("class","wardley-pipeline-links");d.pipelines.forEach(a=>{if(0===a.componentIds.length)return;const r=a.componentIds.map(t=>({id:t,pos:P.get(t),node:d.nodes.find(e=>e.id===t)})).filter(t=>t.pos&&t.node).sort((t,e)=>t.node.x-e.node.x);for(let t=0;t<r.length-1;t++){const a=r[t],n=r[t+1];e.append("line").attr("class","wardley-pipeline-evolution-link").attr("x1",a.pos.x).attr("y1",a.pos.y).attr("x2",n.pos.x).attr("y2",n.pos.y).attr("stroke",i.linkStroke).attr("stroke-width",1).attr("stroke-dasharray","4 4")}let n=1/0,l=-1/0,c=0;if(a.componentIds.forEach(t=>{const e=P.get(t);e&&(n=Math.min(n,e.x),l=Math.max(l,e.x),c=e.y)}),n!==1/0&&l!==-1/0){const e=15,r=4*o.nodeRadius,d=c-r/2,p=P.get(a.nodeId);if(p){const t=(n+l)/2;p.x=t,p.y=d-s/6}t.append("rect").attr("class","wardley-pipeline-box").attr("x",n-e).attr("y",d).attr("width",l-n+2*e).attr("height",r).attr("fill","none").attr("stroke",i.axisColor).attr("stroke-width",1.5).attr("rx",4).attr("ry",4)}})}const N=u.append("g").attr("class","wardley-links"),z=new Map;d.pipelines.forEach(t=>{z.set(t.nodeId,new Set(t.componentIds))});const L=d.links.filter(t=>{if(!P.has(t.source)||!P.has(t.target))return!1;const e=z.get(t.target);return!e?.has(t.source)});N.selectAll("line").data(L).enter().append("line").attr("class",t=>"wardley-link"+(t.dashed?" wardley-link--dashed":"")).attr("x1",t=>{const e=P.get(t.source),a=P.get(t.target),r=d.nodes.find(e=>e.id===t.source).isPipelineParent?s/Math.sqrt(2):o.nodeRadius,n=a.x-e.x,i=a.y-e.y,l=Math.sqrt(n*n+i*i);return e.x+n/l*r}).attr("y1",t=>{const e=P.get(t.source),a=P.get(t.target),r=d.nodes.find(e=>e.id===t.source).isPipelineParent?s/Math.sqrt(2):o.nodeRadius,n=a.x-e.x,i=a.y-e.y,l=Math.sqrt(n*n+i*i);return e.y+i/l*r}).attr("x2",t=>{const e=P.get(t.source),a=P.get(t.target),r=d.nodes.find(e=>e.id===t.target).isPipelineParent?s/Math.sqrt(2):o.nodeRadius,n=e.x-a.x,i=e.y-a.y,l=Math.sqrt(n*n+i*i);return a.x+n/l*r}).attr("y2",t=>{const e=P.get(t.source),a=P.get(t.target),r=d.nodes.find(e=>e.id===t.target).isPipelineParent?s/Math.sqrt(2):o.nodeRadius,n=e.x-a.x,i=e.y-a.y,l=Math.sqrt(n*n+i*i);return a.y+i/l*r}).attr("stroke",i.linkStroke).attr("stroke-width",1).attr("stroke-dasharray",t=>t.dashed?"6 6":null).attr("marker-end",t=>"forward"===t.flow||"bidirectional"===t.flow?`url(#link-arrow-end-${e})`:null).attr("marker-start",t=>"backward"===t.flow||"bidirectional"===t.flow?`url(#link-arrow-start-${e})`:null),N.selectAll("text").data(L.filter(t=>t.label)).enter().append("text").attr("class","wardley-link-label").attr("x",t=>{const e=P.get(t.source),a=P.get(t.target),r=(e.x+a.x)/2,n=a.y-e.y,o=a.x-e.x;return r+n/Math.sqrt(o*o+n*n)*8}).attr("y",t=>{const e=P.get(t.source),a=P.get(t.target),r=(e.y+a.y)/2,n=a.x-e.x,o=a.y-e.y;return r+-n/Math.sqrt(n*n+o*o)*8}).attr("fill",i.axisTextColor).attr("font-size",o.labelFontSize).attr("text-anchor","middle").attr("dominant-baseline","middle").attr("transform",t=>{const e=P.get(t.source),a=P.get(t.target),r=(e.x+a.x)/2,n=(e.y+a.y)/2,o=a.x-e.x,i=a.y-e.y,s=Math.sqrt(o*o+i*i),l=r+i/s*8,d=n+-o/s*8;let c=180*Math.atan2(i,o)/Math.PI;return(c>90||c<-90)&&(c+=180),`rotate(${c} ${l} ${d})`}).text(t=>t.label);const T=u.append("g").attr("class","wardley-trends"),A=d.trends.map(t=>{const e=P.get(t.nodeId);if(!e)return null;const a=b(t.targetX),r=$(t.targetY),n=a-e.x,i=r-e.y,s=Math.sqrt(n*n+i*i),l=o.nodeRadius+2;return{origin:e,targetX:a,targetY:r,adjustedX2:s>l?a-n/s*l:a,adjustedY2:s>l?r-i/s*l:r}}).filter(t=>null!==t);T.selectAll("line").data(A).enter().append("line").attr("class","wardley-trend").attr("x1",t=>t.origin.x).attr("y1",t=>t.origin.y).attr("x2",t=>t.adjustedX2).attr("y2",t=>t.adjustedY2).attr("stroke",i.evolutionStroke).attr("stroke-width",1).attr("stroke-dasharray","4 4").attr("marker-end",`url(#arrow-${e})`);const E=u.append("g").attr("class","wardley-nodes").selectAll("g").data(d.nodes).enter().append("g").attr("class",t=>["wardley-node",t.className?`wardley-node--${t.className}`:""].filter(Boolean).join(" "));E.filter(t=>"outsource"===t.sourceStrategy).append("circle").attr("class","wardley-outsource-overlay").attr("cx",t=>P.get(t.id).x).attr("cy",t=>P.get(t.id).y).attr("r",2*o.nodeRadius).attr("fill","#666").attr("stroke",i.componentStroke).attr("stroke-width",1),E.filter(t=>"buy"===t.sourceStrategy).append("circle").attr("class","wardley-buy-overlay").attr("cx",t=>P.get(t.id).x).attr("cy",t=>P.get(t.id).y).attr("r",2*o.nodeRadius).attr("fill","#ccc").attr("stroke",i.componentStroke).attr("stroke-width",1),E.filter(t=>"build"===t.sourceStrategy).append("circle").attr("class","wardley-build-overlay").attr("cx",t=>P.get(t.id).x).attr("cy",t=>P.get(t.id).y).attr("r",2*o.nodeRadius).attr("fill","#eee").attr("stroke","#000").attr("stroke-width",1);const I=E.filter(t=>"market"===t.sourceStrategy);I.append("circle").attr("class","wardley-market-overlay").attr("cx",t=>P.get(t.id).x).attr("cy",t=>P.get(t.id).y).attr("r",2*o.nodeRadius).attr("fill","white").attr("stroke",i.componentStroke).attr("stroke-width",1),E.filter(t=>!t.isPipelineParent&&"market"!==t.sourceStrategy&&"anchor"!==t.className).append("circle").attr("cx",t=>P.get(t.id).x).attr("cy",t=>P.get(t.id).y).attr("r",o.nodeRadius).attr("fill",i.componentFill).attr("stroke",i.componentStroke).attr("stroke-width",1);const B=.7*o.nodeRadius,R=1.2*o.nodeRadius;if(I.append("line").attr("class","wardley-market-line").attr("x1",t=>P.get(t.id).x).attr("y1",t=>P.get(t.id).y-R).attr("x2",t=>P.get(t.id).x-R*Math.cos(Math.PI/6)).attr("y2",t=>P.get(t.id).y+R*Math.sin(Math.PI/6)).attr("stroke",i.componentStroke).attr("stroke-width",1),I.append("line").attr("class","wardley-market-line").attr("x1",t=>P.get(t.id).x-R*Math.cos(Math.PI/6)).attr("y1",t=>P.get(t.id).y+R*Math.sin(Math.PI/6)).attr("x2",t=>P.get(t.id).x+R*Math.cos(Math.PI/6)).attr("y2",t=>P.get(t.id).y+R*Math.sin(Math.PI/6)).attr("stroke",i.componentStroke).attr("stroke-width",1),I.append("line").attr("class","wardley-market-line").attr("x1",t=>P.get(t.id).x+R*Math.cos(Math.PI/6)).attr("y1",t=>P.get(t.id).y+R*Math.sin(Math.PI/6)).attr("x2",t=>P.get(t.id).x).attr("y2",t=>P.get(t.id).y-R).attr("stroke",i.componentStroke).attr("stroke-width",1),I.append("circle").attr("class","wardley-market-dot").attr("cx",t=>P.get(t.id).x).attr("cy",t=>P.get(t.id).y-R).attr("r",B).attr("fill","white").attr("stroke",i.componentStroke).attr("stroke-width",2),I.append("circle").attr("class","wardley-market-dot").attr("cx",t=>P.get(t.id).x-R*Math.cos(Math.PI/6)).attr("cy",t=>P.get(t.id).y+R*Math.sin(Math.PI/6)).attr("r",B).attr("fill","white").attr("stroke",i.componentStroke).attr("stroke-width",2),I.append("circle").attr("class","wardley-market-dot").attr("cx",t=>P.get(t.id).x+R*Math.cos(Math.PI/6)).attr("cy",t=>P.get(t.id).y+R*Math.sin(Math.PI/6)).attr("r",B).attr("fill","white").attr("stroke",i.componentStroke).attr("stroke-width",2),E.filter(t=>!0===t.isPipelineParent).append("rect").attr("x",t=>P.get(t.id).x-s/2).attr("y",t=>P.get(t.id).y-s/2).attr("width",s).attr("height",s).attr("fill",i.componentFill).attr("stroke",i.componentStroke).attr("stroke-width",1),E.filter(t=>!0===t.inertia).append("line").attr("class","wardley-inertia").attr("x1",t=>{const e=P.get(t.id);let a=t.isPipelineParent?s/2+15:o.nodeRadius+15;return t.sourceStrategy&&(a+=o.nodeRadius+10),e.x+a}).attr("y1",t=>{const e=P.get(t.id),a=t.isPipelineParent?s:2*o.nodeRadius;return e.y-a/2}).attr("x2",t=>{const e=P.get(t.id);let a=t.isPipelineParent?s/2+15:o.nodeRadius+15;return t.sourceStrategy&&(a+=o.nodeRadius+10),e.x+a}).attr("y2",t=>{const e=P.get(t.id),a=t.isPipelineParent?s:2*o.nodeRadius;return e.y+a/2}).attr("stroke",i.componentStroke).attr("stroke-width",6),E.append("text").attr("x",t=>{const e=P.get(t.id);if("anchor"===t.className)return void 0!==t.labelOffsetX?e.x+t.labelOffsetX:e.x;let a=o.nodeLabelOffset;t.sourceStrategy&&void 0===t.labelOffsetX&&(a+=10);const r=t.labelOffsetX??a;return e.x+r}).attr("y",t=>{const e=P.get(t.id);if("anchor"===t.className)return void 0!==t.labelOffsetY?e.y+t.labelOffsetY:e.y-3;let a=-o.nodeLabelOffset;t.sourceStrategy&&void 0===t.labelOffsetY&&(a-=10);const r=t.labelOffsetY??a;return e.y+r}).attr("class","wardley-node-label").attr("fill",t=>"evolved"===t.className?i.evolutionStroke:"anchor"===t.className?"#000":i.componentLabelColor).attr("font-size",o.labelFontSize).attr("font-weight",t=>"anchor"===t.className?"bold":"normal").attr("text-anchor",t=>"anchor"===t.className?"middle":"start").attr("dominant-baseline",t=>"anchor"===t.className?"middle":"auto").text(t=>t.label),d.annotations.length>0){const t=u.append("g").attr("class","wardley-annotations");if(d.annotations.forEach(e=>{const a=e.coordinates.map(t=>({x:b(t.x),y:$(t.y)}));if(a.length>1)for(let r=0;r<a.length-1;r++)t.append("line").attr("class","wardley-annotation-line").attr("x1",a[r].x).attr("y1",a[r].y).attr("x2",a[r+1].x).attr("y2",a[r+1].y).attr("stroke",i.axisColor).attr("stroke-width",1.5).attr("stroke-dasharray","4 4");a.forEach(a=>{const r=t.append("g").attr("class","wardley-annotation");r.append("circle").attr("cx",a.x).attr("cy",a.y).attr("r",10).attr("fill","white").attr("stroke",i.axisColor).attr("stroke-width",1.5),r.append("text").attr("x",a.x).attr("y",a.y).attr("text-anchor","middle").attr("dominant-baseline","central").attr("font-size",10).attr("fill",i.axisTextColor).attr("font-weight","bold").text(e.number)})}),d.annotationsBox){let e=b(d.annotationsBox.x),a=$(d.annotationsBox.y);const r=10,n=16,s=11,l=t.append("g").attr("class","wardley-annotations-box"),c=[...d.annotations].filter(t=>t.text).sort((t,e)=>t.number-e.number),x=[];if(c.forEach((t,o)=>{const d=l.append("text").attr("x",e+r).attr("y",a+r+(o+1)*n).attr("font-size",s).attr("fill",i.axisTextColor).attr("text-anchor","start").attr("dominant-baseline","middle").text(`${t.number}. ${t.text}`);x.push(d)}),x.length>0){let t=0,s=0;x.forEach(e=>{const a=e.node(),r=a.getComputedTextLength();t=Math.max(t,r);const n=a.getBBox();s=Math.max(s,n.height)});const d=t+2*r+105,h=c.length*n+2*r+s/2,y=o.padding,f=p-o.padding-d,u=o.padding,m=g-o.padding-h;e=Math.max(y,Math.min(e,f)),a=Math.max(u,Math.min(a,m)),x.forEach((t,o)=>{t.attr("x",e+r).attr("y",a+r+(o+1)*n)}),l.insert("rect","text").attr("x",e).attr("y",a).attr("width",d).attr("height",h).attr("fill","white").attr("stroke",i.axisColor).attr("stroke-width",1.5).attr("rx",4).attr("ry",4)}}}if(d.notes.length>0){const t=u.append("g").attr("class","wardley-notes");d.notes.forEach(e=>{const a=b(e.x),r=$(e.y);t.append("text").attr("x",a).attr("y",r).attr("text-anchor","start").attr("font-size",11).attr("fill",i.axisTextColor).attr("font-weight","bold").text(e.text)})}if(d.accelerators.length>0){const t=u.append("g").attr("class","wardley-accelerators");d.accelerators.forEach(e=>{const a=b(e.x),r=$(e.y),n=`\n M ${a} ${r-15}\n L ${a+60-20} ${r-15}\n L ${a+60-20} ${r-15-8}\n L ${a+60} ${r}\n L ${a+60-20} ${r+15+8}\n L ${a+60-20} ${r+15}\n L ${a} ${r+15}\n Z\n `;t.append("path").attr("d",n).attr("fill","white").attr("stroke",i.componentStroke).attr("stroke-width",1),t.append("text").attr("x",a+30).attr("y",r+15+15).attr("text-anchor","middle").attr("font-size",10).attr("fill",i.axisTextColor).attr("font-weight","bold").text(e.name)})}if(d.deaccelerators.length>0){const t=u.append("g").attr("class","wardley-deaccelerators");d.deaccelerators.forEach(e=>{const a=b(e.x),r=$(e.y),n=`\n M ${a+60} ${r-15}\n L ${a+20} ${r-15}\n L ${a+20} ${r-15-8}\n L ${a} ${r}\n L ${a+20} ${r+15+8}\n L ${a+20} ${r+15}\n L ${a+60} ${r+15}\n Z\n `;t.append("path").attr("d",n).attr("fill","white").attr("stroke",i.componentStroke).attr("stroke-width",1),t.append("text").attr("x",a+30).attr("y",r+15+15).attr("text-anchor","middle").attr("font-size",10).attr("fill",i.axisTextColor).attr("font-weight","bold").text(e.name)})}},"draw")},styles:a(({wardley:t}={})=>{const e=d(),a=c(),r=p(e,a.themeVariables),n=p(r.wardley,t);return`\n .wardley-background {\n fill: ${n.backgroundColor};\n }\n .wardley-axes line, .wardley-axes path {\n stroke: ${n.axisColor};\n }\n .wardley-axis-label {\n fill: ${n.axisTextColor};\n }\n .wardley-stage-label {\n fill: ${n.axisTextColor};\n }\n .wardley-grid line {\n stroke: ${n.gridColor};\n }\n .wardley-node circle {\n fill: ${n.componentFill};\n stroke: ${n.componentStroke};\n }\n .wardley-node-label {\n fill: ${n.componentLabelColor};\n }\n .wardley-link {\n stroke: ${n.linkStroke};\n }\n .wardley-link--dashed {\n stroke-dasharray: 4 4;\n }\n .wardley-link-label {\n fill: ${n.axisTextColor};\n }\n .wardley-trend line {\n stroke: ${n.evolutionStroke};\n }\n .wardley-annotation-line {\n stroke: ${n.annotationStroke};\n }\n .wardley-annotation circle {\n fill: ${n.annotationFill};\n stroke: ${n.annotationStroke};\n }\n .wardley-annotation text {\n fill: ${n.annotationTextColor};\n }\n .wardley-annotations-box rect {\n fill: ${n.annotationFill};\n stroke: ${n.annotationStroke};\n }\n .wardley-annotations-box text {\n fill: ${n.annotationTextColor};\n }\n .wardley-pipeline-box {\n stroke: ${n.componentStroke};\n }\n .wardley-notes text {\n fill: ${n.axisTextColor};\n }\n `},"styles")};export{G as diagram};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var t,i,e,s,a,n,o,h,r,l;import{_ as c,s as g,g as u,p as x,o as d,a as p,b as f,l as m,F as y,e as b,q as A,z as w,B as C,D as S,W as k,i as _,ay as R,a6 as T}from"./mermaid.core-DOs1qq05.js";import{i as D}from"./init-C0SZ43gy.js";import{o as L}from"./ordinal-BXL5nHgV.js";import{l as P}from"./linear-ChteFaL7.js";import"./index-O-t39Ol4.js";import"./RemoteLifeOSBlock-Bfye1f_N.js";import"./index-CXYWGIsF.js";import"./index-BmEMOBO7.js";import"./file-editor-CodeHighlight-aQ9kP3Wv.js";import"./App-C5Ke5Qz2.js";import"./chevron-up-DyGp4_xQ.js";import"./__vite-browser-external-2447137e-Bh2jUCqE.js";import"./purify.es-BNLkGfTg.js";import"./marked.esm-BBjA1da9.js";import"./defaultLocale-Z7o9ZNZF.js";function v(){var t,i,e=L().unknown(void 0),s=e.domain,a=e.range,n=0,o=1,h=!1,r=0,l=0,c=.5;function g(){var e=s().length,g=o<n,u=g?o:n,x=g?n:o;t=(x-u)/Math.max(1,e-r+2*l),h&&(t=Math.floor(t)),u+=(x-u-t*(e-r))*c,i=t*(1-r),h&&(u=Math.round(u),i=Math.round(i));var d=function(t,i,e){t=+t,i=+i,e=(a=arguments.length)<2?(i=t,t=0,1):a<3?1:+e;for(var s=-1,a=0|Math.max(0,Math.ceil((i-t)/e)),n=new Array(a);++s<a;)n[s]=t+s*e;return n}(e).map(function(i){return u+t*i});return a(g?d.reverse():d)}return delete e.unknown,e.domain=function(t){return arguments.length?(s(t),g()):s()},e.range=function(t){return arguments.length?([n,o]=t,n=+n,o=+o,g()):[n,o]},e.rangeRound=function(t){return[n,o]=t,n=+n,o=+o,h=!0,g()},e.bandwidth=function(){return i},e.step=function(){return t},e.round=function(t){return arguments.length?(h=!!t,g()):h},e.padding=function(t){return arguments.length?(r=Math.min(1,l=+t),g()):r},e.paddingInner=function(t){return arguments.length?(r=Math.min(1,t),g()):r},e.paddingOuter=function(t){return arguments.length?(l=+t,g()):l},e.align=function(t){return arguments.length?(c=Math.max(0,Math.min(1,t)),g()):c},e.copy=function(){return v(s(),[n,o]).round(h).paddingInner(r).paddingOuter(l).align(c)},D.apply(g(),arguments)}var E=function(){var t=c(function(t,i,e,s){for(e=e||{},s=t.length;s--;e[t[s]]=i);return e},"o"),i=[1,10,12,14,16,18,19,21,23],e=[2,6],s=[1,3],a=[1,5],n=[1,6],o=[1,7],h=[1,5,10,12,14,16,18,19,21,23,36,37,38],r=[1,25],l=[1,26],g=[1,28],u=[1,29],x=[1,30],d=[1,31],p=[1,32],f=[1,33],m=[1,34],y=[1,35],b=[1,36],A=[1,37],w=[1,43],C=[1,42],S=[1,47],k=[1,50],_=[1,10,12,14,16,18,19,21,23,36,37,38],R=[1,10,12,14,16,18,19,21,23,24,26,28,29,36,37,38],T=[1,10,12,14,16,18,19,21,23,24,26,28,29,36,37,38,42,43,44,45,46,47,48,49,50,51],D=[1,65],L=[26,28],P={trace:c(function(){},"trace"),yy:{},symbols_:{error:2,start:3,eol:4,XYCHART:5,chartConfig:6,document:7,CHART_ORIENTATION:8,statement:9,title:10,text:11,X_AXIS:12,parseXAxis:13,Y_AXIS:14,parseYAxis:15,LINE:16,plotData:17,BAR:18,acc_title:19,acc_title_value:20,acc_descr:21,acc_descr_value:22,acc_descr_multiline_value:23,SQUARE_BRACES_START:24,dataPoints:25,SQUARE_BRACES_END:26,dataPoint:27,COMMA:28,NUMBER_WITH_DECIMAL:29,STR:30,xAxisData:31,bandData:32,ARROW_DELIMITER:33,commaSeparatedTexts:34,yAxisData:35,NEWLINE:36,SEMI:37,EOF:38,alphaNum:39,MD_STR:40,alphaNumToken:41,AMP:42,NUM:43,ALPHA:44,PLUS:45,EQUALS:46,MULT:47,DOT:48,BRKT:49,MINUS:50,UNDERSCORE:51,$accept:0,$end:1},terminals_:{2:"error",5:"XYCHART",8:"CHART_ORIENTATION",10:"title",12:"X_AXIS",14:"Y_AXIS",16:"LINE",18:"BAR",19:"acc_title",20:"acc_title_value",21:"acc_descr",22:"acc_descr_value",23:"acc_descr_multiline_value",24:"SQUARE_BRACES_START",26:"SQUARE_BRACES_END",28:"COMMA",29:"NUMBER_WITH_DECIMAL",30:"STR",33:"ARROW_DELIMITER",36:"NEWLINE",37:"SEMI",38:"EOF",40:"MD_STR",42:"AMP",43:"NUM",44:"ALPHA",45:"PLUS",46:"EQUALS",47:"MULT",48:"DOT",49:"BRKT",50:"MINUS",51:"UNDERSCORE"},productions_:[0,[3,2],[3,3],[3,2],[3,1],[6,1],[7,0],[7,2],[9,2],[9,2],[9,2],[9,2],[9,2],[9,3],[9,2],[9,3],[9,2],[9,2],[9,1],[17,3],[25,3],[25,1],[27,2],[27,1],[13,1],[13,2],[13,1],[31,1],[31,3],[32,3],[34,3],[34,1],[15,1],[15,2],[15,1],[35,3],[4,1],[4,1],[4,1],[11,1],[11,1],[11,1],[39,1],[39,2],[41,1],[41,1],[41,1],[41,1],[41,1],[41,1],[41,1],[41,1],[41,1],[41,1]],performAction:c(function(t,i,e,s,a,n,o){var h=n.length-1;switch(a){case 5:s.setOrientation(n[h]);break;case 9:s.setDiagramTitle(n[h].text.trim());break;case 12:s.setLineData({text:"",type:"text"},n[h]);break;case 13:s.setLineData(n[h-1],n[h]);break;case 14:s.setBarData({text:"",type:"text"},n[h]);break;case 15:s.setBarData(n[h-1],n[h]);break;case 16:this.$=n[h].trim(),s.setAccTitle(this.$);break;case 17:case 18:this.$=n[h].trim(),s.setAccDescription(this.$);break;case 19:case 29:this.$=n[h-1];break;case 20:case 30:this.$=[n[h-2],...n[h]];break;case 21:case 31:this.$=[n[h]];break;case 22:this.$={value:Number(n[h-1]),label:n[h]};break;case 23:this.$={value:Number(n[h]),label:""};break;case 24:s.setXAxisTitle(n[h]);break;case 25:s.setXAxisTitle(n[h-1]);break;case 26:s.setXAxisTitle({type:"text",text:""});break;case 27:s.setXAxisBand(n[h]);break;case 28:s.setXAxisRangeData(Number(n[h-2]),Number(n[h]));break;case 32:s.setYAxisTitle(n[h]);break;case 33:s.setYAxisTitle(n[h-1]);break;case 34:s.setYAxisTitle({type:"text",text:""});break;case 35:s.setYAxisRangeData(Number(n[h-2]),Number(n[h]));break;case 39:case 40:this.$={text:n[h],type:"text"};break;case 41:this.$={text:n[h],type:"markdown"};break;case 42:this.$=n[h];break;case 43:this.$=n[h-1]+""+n[h]}},"anonymous"),table:[t(i,e,{3:1,4:2,7:4,5:s,36:a,37:n,38:o}),{1:[3]},t(i,e,{4:2,7:4,3:8,5:s,36:a,37:n,38:o}),t(i,e,{4:2,7:4,6:9,3:10,5:s,8:[1,11],36:a,37:n,38:o}),{1:[2,4],9:12,10:[1,13],12:[1,14],14:[1,15],16:[1,16],18:[1,17],19:[1,18],21:[1,19],23:[1,20]},t(h,[2,36]),t(h,[2,37]),t(h,[2,38]),{1:[2,1]},t(i,e,{4:2,7:4,3:21,5:s,36:a,37:n,38:o}),{1:[2,3]},t(h,[2,5]),t(i,[2,7],{4:22,36:a,37:n,38:o}),{11:23,30:r,39:24,40:l,41:27,42:g,43:u,44:x,45:d,46:p,47:f,48:m,49:y,50:b,51:A},{11:39,13:38,24:w,29:C,30:r,31:40,32:41,39:24,40:l,41:27,42:g,43:u,44:x,45:d,46:p,47:f,48:m,49:y,50:b,51:A},{11:45,15:44,29:S,30:r,35:46,39:24,40:l,41:27,42:g,43:u,44:x,45:d,46:p,47:f,48:m,49:y,50:b,51:A},{11:49,17:48,24:k,30:r,39:24,40:l,41:27,42:g,43:u,44:x,45:d,46:p,47:f,48:m,49:y,50:b,51:A},{11:52,17:51,24:k,30:r,39:24,40:l,41:27,42:g,43:u,44:x,45:d,46:p,47:f,48:m,49:y,50:b,51:A},{20:[1,53]},{22:[1,54]},t(_,[2,18]),{1:[2,2]},t(_,[2,8]),t(_,[2,9]),t(R,[2,39],{41:55,42:g,43:u,44:x,45:d,46:p,47:f,48:m,49:y,50:b,51:A}),t(R,[2,40]),t(R,[2,41]),t(T,[2,42]),t(T,[2,44]),t(T,[2,45]),t(T,[2,46]),t(T,[2,47]),t(T,[2,48]),t(T,[2,49]),t(T,[2,50]),t(T,[2,51]),t(T,[2,52]),t(T,[2,53]),t(_,[2,10]),t(_,[2,24],{32:41,31:56,24:w,29:C}),t(_,[2,26]),t(_,[2,27]),{33:[1,57]},{11:59,30:r,34:58,39:24,40:l,41:27,42:g,43:u,44:x,45:d,46:p,47:f,48:m,49:y,50:b,51:A},t(_,[2,11]),t(_,[2,32],{35:60,29:S}),t(_,[2,34]),{33:[1,61]},t(_,[2,12]),{17:62,24:k},{25:63,27:64,29:D},t(_,[2,14]),{17:66,24:k},t(_,[2,16]),t(_,[2,17]),t(T,[2,43]),t(_,[2,25]),{29:[1,67]},{26:[1,68]},{26:[2,31],28:[1,69]},t(_,[2,33]),{29:[1,70]},t(_,[2,13]),{26:[1,71]},{26:[2,21],28:[1,72]},t(L,[2,23],{30:[1,73]}),t(_,[2,15]),t(_,[2,28]),t(_,[2,29]),{11:59,30:r,34:74,39:24,40:l,41:27,42:g,43:u,44:x,45:d,46:p,47:f,48:m,49:y,50:b,51:A},t(_,[2,35]),t(_,[2,19]),{25:75,27:64,29:D},t(L,[2,22]),{26:[2,30]},{26:[2,20]}],defaultActions:{8:[2,1],10:[2,3],21:[2,2],74:[2,30],75:[2,20]},parseError:c(function(t,i){if(!i.recoverable){var e=new Error(t);throw e.hash=i,e}this.trace(t)},"parseError"),parse:c(function(t){var i=this,e=[0],s=[],a=[null],n=[],o=this.table,h="",r=0,l=0,g=n.slice.call(arguments,1),u=Object.create(this.lexer),x={yy:{}};for(var d in this.yy)Object.prototype.hasOwnProperty.call(this.yy,d)&&(x.yy[d]=this.yy[d]);u.setInput(t,x.yy),x.yy.lexer=u,x.yy.parser=this,void 0===u.yylloc&&(u.yylloc={});var p=u.yylloc;n.push(p);var f=u.options&&u.options.ranges;function m(){var t;return"number"!=typeof(t=s.pop()||u.lex()||1)&&(t instanceof Array&&(t=(s=t).pop()),t=i.symbols_[t]||t),t}"function"==typeof x.yy.parseError?this.parseError=x.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError,c(function(t){e.length=e.length-2*t,a.length=a.length-t,n.length=n.length-t},"popStack"),c(m,"lex");for(var y,b,A,w,C,S,k,_,R={};;){if(b=e[e.length-1],this.defaultActions[b]?A=this.defaultActions[b]:(null==y&&(y=m()),A=o[b]&&o[b][y]),void 0===A||!A.length||!A[0]){var T;for(C in _=[],o[b])this.terminals_[C]&&C>2&&_.push("'"+this.terminals_[C]+"'");T=u.showPosition?"Parse error on line "+(r+1)+":\n"+u.showPosition()+"\nExpecting "+_.join(", ")+", got '"+(this.terminals_[y]||y)+"'":"Parse error on line "+(r+1)+": Unexpected "+(1==y?"end of input":"'"+(this.terminals_[y]||y)+"'"),this.parseError(T,{text:u.match,token:this.terminals_[y]||y,line:u.yylineno,loc:p,expected:_})}if(A[0]instanceof Array&&A.length>1)throw new Error("Parse Error: multiple actions possible at state: "+b+", token: "+y);switch(A[0]){case 1:e.push(y),a.push(u.yytext),n.push(u.yylloc),e.push(A[1]),y=null,l=u.yyleng,h=u.yytext,r=u.yylineno,p=u.yylloc;break;case 2:if(S=this.productions_[A[1]][1],R.$=a[a.length-S],R._$={first_line:n[n.length-(S||1)].first_line,last_line:n[n.length-1].last_line,first_column:n[n.length-(S||1)].first_column,last_column:n[n.length-1].last_column},f&&(R._$.range=[n[n.length-(S||1)].range[0],n[n.length-1].range[1]]),void 0!==(w=this.performAction.apply(R,[h,l,r,x.yy,A[1],a,n].concat(g))))return w;S&&(e=e.slice(0,-1*S*2),a=a.slice(0,-1*S),n=n.slice(0,-1*S)),e.push(this.productions_[A[1]][0]),a.push(R.$),n.push(R._$),k=o[e[e.length-2]][e[e.length-1]],e.push(k);break;case 3:return!0}}return!0},"parse")},v=function(){return{EOF:1,parseError:c(function(t,i){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,i)},"parseError"),setInput:c(function(t,i){return this.yy=i||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:c(function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},"input"),unput:c(function(t){var i=t.length,e=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-i),this.offset-=i;var s=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),e.length-1&&(this.yylineno-=e.length-1);var a=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:e?(e.length===s.length?this.yylloc.first_column:0)+s[s.length-e.length].length-e[0].length:this.yylloc.first_column-i},this.options.ranges&&(this.yylloc.range=[a[0],a[0]+this.yyleng-i]),this.yyleng=this.yytext.length,this},"unput"),more:c(function(){return this._more=!0,this},"more"),reject:c(function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},"reject"),less:c(function(t){this.unput(this.match.slice(t))},"less"),pastInput:c(function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:c(function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:c(function(){var t=this.pastInput(),i=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+i+"^"},"showPosition"),test_match:c(function(t,i){var e,s,a;if(this.options.backtrack_lexer&&(a={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(a.yylloc.range=this.yylloc.range.slice(0))),(s=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=s.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:s?s[s.length-1].length-s[s.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],e=this.performAction.call(this,this.yy,this,i,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),e)return e;if(this._backtrack){for(var n in a)this[n]=a[n];return!1}return!1},"test_match"),next:c(function(){if(this.done)return this.EOF;var t,i,e,s;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var a=this._currentRules(),n=0;n<a.length;n++)if((e=this._input.match(this.rules[a[n]]))&&(!i||e[0].length>i[0].length)){if(i=e,s=n,this.options.backtrack_lexer){if(!1!==(t=this.test_match(e,a[n])))return t;if(this._backtrack){i=!1;continue}return!1}if(!this.options.flex)break}return i?!1!==(t=this.test_match(i,a[s]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:c(function(){return this.next()||this.lex()},"lex"),begin:c(function(t){this.conditionStack.push(t)},"begin"),popState:c(function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:c(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},"_currentRules"),topState:c(function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},"topState"),pushState:c(function(t){this.begin(t)},"pushState"),stateStackSize:c(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:c(function(t,i,e,s){switch(e){case 0:case 1:case 5:case 44:break;case 2:case 3:return this.popState(),36;case 4:return 36;case 6:return 10;case 7:return this.pushState("acc_title"),19;case 8:return this.popState(),"acc_title_value";case 9:return this.pushState("acc_descr"),21;case 10:return this.popState(),"acc_descr_value";case 11:this.pushState("acc_descr_multiline");break;case 12:case 26:case 28:this.popState();break;case 13:return"acc_descr_multiline_value";case 14:case 15:return 5;case 16:return 8;case 17:return this.pushState("axis_data"),"X_AXIS";case 18:return this.pushState("axis_data"),"Y_AXIS";case 19:return this.pushState("axis_band_data"),24;case 20:return 33;case 21:return this.pushState("data"),16;case 22:return this.pushState("data"),18;case 23:return this.pushState("data_inner"),24;case 24:return 29;case 25:return this.popState(),26;case 27:this.pushState("string");break;case 29:return"STR";case 30:return 24;case 31:return 26;case 32:return 44;case 33:return"COLON";case 34:return 45;case 35:return 28;case 36:return 46;case 37:return 47;case 38:return 49;case 39:return 51;case 40:return 48;case 41:return 42;case 42:return 50;case 43:return 43;case 45:return 37;case 46:return 38}},"anonymous"),rules:[/^(?:%%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:(\r?\n))/i,/^(?:(\r?\n))/i,/^(?:[\n\r]+)/i,/^(?:%%[^\n]*)/i,/^(?:title\b)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:\})/i,/^(?:[^\}]*)/i,/^(?:xychart-beta\b)/i,/^(?:xychart\b)/i,/^(?:(?:vertical|horizontal))/i,/^(?:x-axis\b)/i,/^(?:y-axis\b)/i,/^(?:\[)/i,/^(?:-->)/i,/^(?:line\b)/i,/^(?:bar\b)/i,/^(?:\[)/i,/^(?:[+-]?(?:\d+(?:\.\d+)?|\.\d+))/i,/^(?:\])/i,/^(?:(?:`\) \{ this\.pushState\(md_string\); \}\n<md_string>\(\?:\(\?!`"\)\.\)\+ \{ return MD_STR; \}\n<md_string>\(\?:`))/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:\[)/i,/^(?:\])/i,/^(?:[A-Za-z]+)/i,/^(?::)/i,/^(?:\+)/i,/^(?:,)/i,/^(?:=)/i,/^(?:\*)/i,/^(?:#)/i,/^(?:[\_])/i,/^(?:\.)/i,/^(?:&)/i,/^(?:-)/i,/^(?:[0-9]+)/i,/^(?:\s+)/i,/^(?:;)/i,/^(?:$)/i],conditions:{data_inner:{rules:[0,1,4,5,6,7,9,11,14,15,16,17,18,21,22,24,25,26,27,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46],inclusive:!0},data:{rules:[0,1,3,4,5,6,7,9,11,14,15,16,17,18,21,22,23,26,27,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46],inclusive:!0},axis_band_data:{rules:[0,1,4,5,6,7,9,11,14,15,16,17,18,21,22,25,26,27,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46],inclusive:!0},axis_data:{rules:[0,1,2,4,5,6,7,9,11,14,15,16,17,18,19,20,21,22,24,26,27,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46],inclusive:!0},acc_descr_multiline:{rules:[12,13],inclusive:!1},acc_descr:{rules:[10],inclusive:!1},acc_title:{rules:[8],inclusive:!1},title:{rules:[],inclusive:!1},md_string:{rules:[],inclusive:!1},string:{rules:[28,29],inclusive:!1},INITIAL:{rules:[0,1,4,5,6,7,9,11,14,15,16,17,18,21,22,26,27,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46],inclusive:!0}}}}();function E(){this.yy={}}return P.lexer=v,c(E,"Parser"),E.prototype=P,P.Parser=E,new E}();E.parser=E;var M=E;function I(t){return"bar"===t.type}function z(t){return"band"===t.type}function B(t){return"linear"===t.type}c(I,"isBarPlot"),c(z,"isBandAxisData"),c(B,"isLinearAxisData");var $=(c(t=class{constructor(t){this.parentGroup=t}getMaxDimension(t,i){if(!this.parentGroup)return{width:t.reduce((t,i)=>Math.max(i.length,t),0)*i,height:i};const e={width:0,height:0},s=this.parentGroup.append("g").attr("visibility","hidden").attr("font-size",i);for(const a of t){const t=R(s,1,a),n=t?t.width:a.length*i,o=t?t.height:i;e.width=Math.max(e.width,n),e.height=Math.max(e.height,o)}return s.remove(),e}},"TextDimensionCalculatorWithFont"),t),O=(c(i=class{constructor(t,i,e,s){this.axisConfig=t,this.title=i,this.textDimensionCalculator=e,this.axisThemeConfig=s,this.boundingRect={x:0,y:0,width:0,height:0},this.axisPosition="left",this.showTitle=!1,this.showLabel=!1,this.showTick=!1,this.showAxisLine=!1,this.outerPadding=0,this.titleTextHeight=0,this.labelTextHeight=0,this.normalizedLabelRotationInRad=0,this.range=[0,10],this.boundingRect={x:0,y:0,width:0,height:0},this.axisPosition="left",this.normalizedLabelRotationInRad=this.axisConfig.labelRotation>=-90&&this.axisConfig.labelRotation<=90?this.axisConfig.labelRotation*Math.PI/180:0}setRange(t){this.range=t,"left"===this.axisPosition||"right"===this.axisPosition?this.boundingRect.height=t[1]-t[0]:this.boundingRect.width=t[1]-t[0],this.recalculateScale()}getRange(){return[this.range[0]+this.outerPadding,this.range[1]-this.outerPadding]}setAxisPosition(t){this.axisPosition=t,this.setRange(this.range)}getTickDistance(){const t=this.getRange();return Math.abs(t[0]-t[1])/this.getTickValues().length}getAxisOuterPadding(){return this.outerPadding}getLabelDimension(){return this.textDimensionCalculator.getMaxDimension(this.getTickValues().map(t=>t.toString()),this.axisConfig.labelFontSize)}recalculateOuterPaddingToDrawBar(){.7*this.getTickDistance()>2*this.outerPadding&&(this.outerPadding=Math.floor(.7*this.getTickDistance()/2)),this.recalculateScale()}calculateSpaceIfDrawnHorizontally(t){let i=t.height;if(this.axisConfig.showAxisLine&&i>this.axisConfig.axisLineWidth&&(i-=this.axisConfig.axisLineWidth,this.showAxisLine=!0),this.axisConfig.showLabel){const e=this.getLabelDimension(),s=.2*t.width;this.outerPadding=Math.min(e.width/2,s);let a=e.height;"bottom"===this.axisPosition&&0!==this.normalizedLabelRotationInRad&&(a=Math.max(a,Math.abs(Math.sin(this.normalizedLabelRotationInRad)*e.width)+Math.abs(Math.cos(this.normalizedLabelRotationInRad)*e.height))),a+=2*this.axisConfig.labelPadding,this.labelTextHeight=e.height,a<=i&&(i-=a,this.showLabel=!0)}if(this.axisConfig.showTick&&i>=this.axisConfig.tickLength&&(this.showTick=!0,i-=this.axisConfig.tickLength),this.axisConfig.showTitle&&this.title){const t=this.textDimensionCalculator.getMaxDimension([this.title],this.axisConfig.titleFontSize),e=t.height+2*this.axisConfig.titlePadding;this.titleTextHeight=t.height,e<=i&&(i-=e,this.showTitle=!0)}this.boundingRect.width=t.width,this.boundingRect.height=t.height-i}calculateSpaceIfDrawnVertical(t){let i=t.width;if(this.axisConfig.showAxisLine&&i>this.axisConfig.axisLineWidth&&(i-=this.axisConfig.axisLineWidth,this.showAxisLine=!0),this.axisConfig.showLabel){const e=this.getLabelDimension(),s=.2*t.height;this.outerPadding=Math.min(e.height/2,s);const a=e.width+2*this.axisConfig.labelPadding;a<=i&&(i-=a,this.showLabel=!0)}if(this.axisConfig.showTick&&i>=this.axisConfig.tickLength&&(this.showTick=!0,i-=this.axisConfig.tickLength),this.axisConfig.showTitle&&this.title){const t=this.textDimensionCalculator.getMaxDimension([this.title],this.axisConfig.titleFontSize),e=t.height+2*this.axisConfig.titlePadding;this.titleTextHeight=t.height,e<=i&&(i-=e,this.showTitle=!0)}this.boundingRect.width=t.width-i,this.boundingRect.height=t.height}calculateSpace(t){return"left"===this.axisPosition||"right"===this.axisPosition?this.calculateSpaceIfDrawnVertical(t):this.calculateSpaceIfDrawnHorizontally(t),this.recalculateScale(),{width:this.boundingRect.width,height:this.boundingRect.height}}setBoundingBoxXY(t){this.boundingRect.x=t.x,this.boundingRect.y=t.y}calculateOffsetByRotation(t){const i=this.normalizedLabelRotationInRad;return 0===i?0:Math.sin(i)*this.getLabelDimension()[t]/2}getDrawableElementsForLeftAxis(){const t=[];if(this.showAxisLine){const i=this.boundingRect.x+this.boundingRect.width-this.axisConfig.axisLineWidth/2;t.push({type:"path",groupTexts:["left-axis","axisl-line"],data:[{path:`M ${i},${this.boundingRect.y} L ${i},${this.boundingRect.y+this.boundingRect.height} `,strokeFill:this.axisThemeConfig.axisLineColor,strokeWidth:this.axisConfig.axisLineWidth}]})}if(this.showLabel&&t.push({type:"text",groupTexts:["left-axis","label"],data:this.getTickValues().map(t=>({text:t.toString(),x:this.boundingRect.x+this.boundingRect.width-(this.showLabel?this.axisConfig.labelPadding:0)-(this.showTick?this.axisConfig.tickLength:0)-(this.showAxisLine?this.axisConfig.axisLineWidth:0),y:this.getScaleValue(t),fill:this.axisThemeConfig.labelColor,fontSize:this.axisConfig.labelFontSize,rotation:0,verticalPos:"middle",horizontalPos:"right"}))}),this.showTick){const i=this.boundingRect.x+this.boundingRect.width-(this.showAxisLine?this.axisConfig.axisLineWidth:0);t.push({type:"path",groupTexts:["left-axis","ticks"],data:this.getTickValues().map(t=>({path:`M ${i},${this.getScaleValue(t)} L ${i-this.axisConfig.tickLength},${this.getScaleValue(t)}`,strokeFill:this.axisThemeConfig.tickColor,strokeWidth:this.axisConfig.tickWidth}))})}return this.showTitle&&t.push({type:"text",groupTexts:["left-axis","title"],data:[{text:this.title,x:this.boundingRect.x+this.axisConfig.titlePadding,y:this.boundingRect.y+this.boundingRect.height/2,fill:this.axisThemeConfig.titleColor,fontSize:this.axisConfig.titleFontSize,rotation:270,verticalPos:"top",horizontalPos:"center"}]}),t}getDrawableElementsForBottomAxis(){const t=[];if(this.showAxisLine){const i=this.boundingRect.y+this.axisConfig.axisLineWidth/2;t.push({type:"path",groupTexts:["bottom-axis","axis-line"],data:[{path:`M ${this.boundingRect.x},${i} L ${this.boundingRect.x+this.boundingRect.width},${i}`,strokeFill:this.axisThemeConfig.axisLineColor,strokeWidth:this.axisConfig.axisLineWidth}]})}if(this.showLabel&&t.push({type:"text",groupTexts:["bottom-axis","label"],data:this.getTickValues().map(t=>({text:t.toString(),x:this.getScaleValue(t)+this.calculateOffsetByRotation("height"),y:this.boundingRect.y+this.axisConfig.labelPadding+(this.showTick?this.axisConfig.tickLength:0)+(this.showAxisLine?this.axisConfig.axisLineWidth:0)+Math.abs(this.calculateOffsetByRotation("width")),fill:this.axisThemeConfig.labelColor,fontSize:this.axisConfig.labelFontSize,rotation:180*this.normalizedLabelRotationInRad/Math.PI,verticalPos:"top",horizontalPos:"center"}))}),this.showTick){const i=this.boundingRect.y+(this.showAxisLine?this.axisConfig.axisLineWidth:0);t.push({type:"path",groupTexts:["bottom-axis","ticks"],data:this.getTickValues().map(t=>({path:`M ${this.getScaleValue(t)},${i} L ${this.getScaleValue(t)},${i+this.axisConfig.tickLength}`,strokeFill:this.axisThemeConfig.tickColor,strokeWidth:this.axisConfig.tickWidth}))})}return this.showTitle&&t.push({type:"text",groupTexts:["bottom-axis","title"],data:[{text:this.title,x:this.range[0]+(this.range[1]-this.range[0])/2,y:this.boundingRect.y+this.boundingRect.height-this.axisConfig.titlePadding-this.titleTextHeight,fill:this.axisThemeConfig.titleColor,fontSize:this.axisConfig.titleFontSize,rotation:0,verticalPos:"top",horizontalPos:"center"}]}),t}getDrawableElementsForTopAxis(){const t=[];if(this.showAxisLine){const i=this.boundingRect.y+this.boundingRect.height-this.axisConfig.axisLineWidth/2;t.push({type:"path",groupTexts:["top-axis","axis-line"],data:[{path:`M ${this.boundingRect.x},${i} L ${this.boundingRect.x+this.boundingRect.width},${i}`,strokeFill:this.axisThemeConfig.axisLineColor,strokeWidth:this.axisConfig.axisLineWidth}]})}if(this.showLabel&&t.push({type:"text",groupTexts:["top-axis","label"],data:this.getTickValues().map(t=>({text:t.toString(),x:this.getScaleValue(t),y:this.boundingRect.y+(this.showTitle?this.titleTextHeight+2*this.axisConfig.titlePadding:0)+this.axisConfig.labelPadding,fill:this.axisThemeConfig.labelColor,fontSize:this.axisConfig.labelFontSize,rotation:0,verticalPos:"top",horizontalPos:"center"}))}),this.showTick){const i=this.boundingRect.y;t.push({type:"path",groupTexts:["top-axis","ticks"],data:this.getTickValues().map(t=>({path:`M ${this.getScaleValue(t)},${i+this.boundingRect.height-(this.showAxisLine?this.axisConfig.axisLineWidth:0)} L ${this.getScaleValue(t)},${i+this.boundingRect.height-this.axisConfig.tickLength-(this.showAxisLine?this.axisConfig.axisLineWidth:0)}`,strokeFill:this.axisThemeConfig.tickColor,strokeWidth:this.axisConfig.tickWidth}))})}return this.showTitle&&t.push({type:"text",groupTexts:["top-axis","title"],data:[{text:this.title,x:this.boundingRect.x+this.boundingRect.width/2,y:this.boundingRect.y+this.axisConfig.titlePadding,fill:this.axisThemeConfig.titleColor,fontSize:this.axisConfig.titleFontSize,rotation:0,verticalPos:"top",horizontalPos:"center"}]}),t}getDrawableElements(){if("left"===this.axisPosition)return this.getDrawableElementsForLeftAxis();if("right"===this.axisPosition)throw Error("Drawing of right axis is not implemented");return"bottom"===this.axisPosition?this.getDrawableElementsForBottomAxis():"top"===this.axisPosition?this.getDrawableElementsForTopAxis():[]}},"BaseAxis"),i),F=(c(e=class extends O{constructor(t,i,e,s,a){super(t,s,a,i),this.categories=e,this.scale=v().domain(this.categories).range(this.getRange())}setRange(t){super.setRange(t)}recalculateScale(){this.scale=v().domain(this.categories).range(this.getRange()).paddingInner(1).paddingOuter(0).align(.5),m.trace("BandAxis axis final categories, range: ",this.categories,this.getRange())}getTickValues(){return this.categories}getScaleValue(t){return this.scale(t)??this.getRange()[0]}},"BandAxis"),e),W=(c(s=class extends O{constructor(t,i,e,s,a){super(t,s,a,i),this.domain=e,this.scale=P().domain(this.domain).range(this.getRange())}getTickValues(){return this.scale.ticks()}recalculateScale(){const t=[...this.domain];"left"===this.axisPosition&&t.reverse(),this.scale=P().domain(t).range(this.getRange())}getScaleValue(t){return this.scale(t)}},"LinearAxis"),s);function X(t,i,e,s){const a=new $(s);return z(t)?new F(i,e,t.categories,t.title,a):new W(i,e,[t.min,t.max],t.title,a)}c(X,"getAxis");var N=(c(a=class{constructor(t,i,e,s){this.textDimensionCalculator=t,this.chartConfig=i,this.chartData=e,this.chartThemeConfig=s,this.boundingRect={x:0,y:0,width:0,height:0},this.showChartTitle=!1}setBoundingBoxXY(t){this.boundingRect.x=t.x,this.boundingRect.y=t.y}calculateSpace(t){const i=this.textDimensionCalculator.getMaxDimension([this.chartData.title],this.chartConfig.titleFontSize),e=Math.max(i.width,t.width),s=i.height+2*this.chartConfig.titlePadding;return i.width<=e&&i.height<=s&&this.chartConfig.showTitle&&this.chartData.title&&(this.boundingRect.width=e,this.boundingRect.height=s,this.showChartTitle=!0),{width:this.boundingRect.width,height:this.boundingRect.height}}getDrawableElements(){const t=[];return this.showChartTitle&&t.push({groupTexts:["chart-title"],type:"text",data:[{fontSize:this.chartConfig.titleFontSize,text:this.chartData.title,verticalPos:"middle",horizontalPos:"center",x:this.boundingRect.x+this.boundingRect.width/2,y:this.boundingRect.y+this.boundingRect.height/2,fill:this.chartThemeConfig.titleColor,rotation:0}]}),t}},"ChartTitle"),a);function V(t,i,e,s){const a=new $(s);return new N(a,t,i,e)}c(V,"getChartTitleComponent");var Y=(c(n=class{constructor(t,i,e,s,a){this.plotData=t,this.xAxis=i,this.yAxis=e,this.orientation=s,this.plotIndex=a}getDrawableElement(){const t=this.plotData.data.map(t=>[this.xAxis.getScaleValue(t[0]),this.yAxis.getScaleValue(t[1])]);let i;if(i="horizontal"===this.orientation?T().y(t=>t[0]).x(t=>t[1])(t):T().x(t=>t[0]).y(t=>t[1])(t),!i)return[];const e=[{groupTexts:["plot",`line-plot-${this.plotIndex}`],type:"path",data:[{path:i,strokeFill:this.plotData.strokeFill,strokeWidth:this.plotData.strokeWidth}]}];if(this.plotData.pointLabels&&this.plotData.pointLabels.length>0){const i=10,s=12,a=[];for(const[e,[n,o]]of t.entries()){const t=this.plotData.pointLabels[e];t&&("horizontal"===this.orientation?a.push({x:o+i,y:n,text:t,fill:this.plotData.strokeFill,verticalPos:"middle",horizontalPos:"left",fontSize:s,rotation:0}):a.push({x:n,y:o-i,text:t,fill:this.plotData.strokeFill,verticalPos:"middle",horizontalPos:"center",fontSize:s,rotation:0}))}a.length>0&&e.push({groupTexts:["plot",`line-plot-${this.plotIndex}`,"labels"],type:"text",data:a})}return e}},"LinePlot"),n),j=(c(o=class{constructor(t,i,e,s,a,n){this.barData=t,this.boundingRect=i,this.xAxis=e,this.yAxis=s,this.orientation=a,this.plotIndex=n}getDrawableElement(){const t=this.barData.data.map(t=>[this.xAxis.getScaleValue(t[0]),this.yAxis.getScaleValue(t[1])]),i=.95*Math.min(2*this.xAxis.getAxisOuterPadding(),this.xAxis.getTickDistance()),e=i/2;return"horizontal"===this.orientation?[{groupTexts:["plot",`bar-plot-${this.plotIndex}`],type:"rect",data:t.map(t=>({x:this.boundingRect.x,y:t[0]-e,height:i,width:t[1]-this.boundingRect.x,fill:this.barData.fill,strokeWidth:0,strokeFill:this.barData.fill}))}]:[{groupTexts:["plot",`bar-plot-${this.plotIndex}`],type:"rect",data:t.map(t=>({x:t[0]-e,y:t[1],width:i,height:this.boundingRect.y+this.boundingRect.height-t[1],fill:this.barData.fill,strokeWidth:0,strokeFill:this.barData.fill}))}]}},"BarPlot"),o),H=(c(h=class{constructor(t,i,e){this.chartConfig=t,this.chartData=i,this.chartThemeConfig=e,this.boundingRect={x:0,y:0,width:0,height:0}}setAxes(t,i){this.xAxis=t,this.yAxis=i}setBoundingBoxXY(t){this.boundingRect.x=t.x,this.boundingRect.y=t.y}calculateSpace(t){return this.boundingRect.width=t.width,this.boundingRect.height=t.height,{width:this.boundingRect.width,height:this.boundingRect.height}}getDrawableElements(){if(!this.xAxis||!this.yAxis)throw Error("Axes must be passed to render Plots");const t=[];for(const[i,e]of this.chartData.plots.entries())switch(e.type){case"line":{const s=new Y(e,this.xAxis,this.yAxis,this.chartConfig.chartOrientation,i);t.push(...s.getDrawableElement())}break;case"bar":{const s=new j(e,this.boundingRect,this.xAxis,this.yAxis,this.chartConfig.chartOrientation,i);t.push(...s.getDrawableElement())}}return t}},"BasePlot"),h);function U(t,i,e){return new H(t,i,e)}c(U,"getPlotComponent");var G,Q=(c(r=class{constructor(t,i,e,s){this.chartConfig=t,this.chartData=i,this.componentStore={title:V(t,i,e,s),plot:U(t,i,e),xAxis:X(i.xAxis,t.xAxis,{titleColor:e.xAxisTitleColor,labelColor:e.xAxisLabelColor,tickColor:e.xAxisTickColor,axisLineColor:e.xAxisLineColor},s),yAxis:X(i.yAxis,t.yAxis,{titleColor:e.yAxisTitleColor,labelColor:e.yAxisLabelColor,tickColor:e.yAxisTickColor,axisLineColor:e.yAxisLineColor},s)}}calculateVerticalSpace(){let t=this.chartConfig.width,i=this.chartConfig.height,e=0,s=0,a=Math.floor(t*this.chartConfig.plotReservedSpacePercent/100),n=Math.floor(i*this.chartConfig.plotReservedSpacePercent/100),o=this.componentStore.plot.calculateSpace({width:a,height:n});t-=o.width,i-=o.height,o=this.componentStore.title.calculateSpace({width:this.chartConfig.width,height:i}),s=o.height,i-=o.height,this.componentStore.xAxis.setAxisPosition("bottom"),o=this.componentStore.xAxis.calculateSpace({width:t,height:i}),i-=o.height,this.componentStore.yAxis.setAxisPosition("left"),o=this.componentStore.yAxis.calculateSpace({width:t,height:i}),e=o.width,t-=o.width,t>0&&(a+=t,t=0),i>0&&(n+=i,i=0),this.componentStore.plot.calculateSpace({width:a,height:n}),this.componentStore.plot.setBoundingBoxXY({x:e,y:s}),this.componentStore.xAxis.setRange([e,e+a]),this.componentStore.xAxis.setBoundingBoxXY({x:e,y:s+n}),this.componentStore.yAxis.setRange([s,s+n]),this.componentStore.yAxis.setBoundingBoxXY({x:0,y:s}),this.chartData.plots.some(t=>I(t))&&this.componentStore.xAxis.recalculateOuterPaddingToDrawBar()}calculateHorizontalSpace(){let t=this.chartConfig.width,i=this.chartConfig.height,e=0,s=0,a=0,n=Math.floor(t*this.chartConfig.plotReservedSpacePercent/100),o=Math.floor(i*this.chartConfig.plotReservedSpacePercent/100),h=this.componentStore.plot.calculateSpace({width:n,height:o});t-=h.width,i-=h.height,h=this.componentStore.title.calculateSpace({width:this.chartConfig.width,height:i}),e=h.height,i-=h.height,this.componentStore.xAxis.setAxisPosition("left"),h=this.componentStore.xAxis.calculateSpace({width:t,height:i}),t-=h.width,s=h.width,this.componentStore.yAxis.setAxisPosition("top"),h=this.componentStore.yAxis.calculateSpace({width:t,height:i}),i-=h.height,a=e+h.height,t>0&&(n+=t,t=0),i>0&&(o+=i,i=0),this.componentStore.plot.calculateSpace({width:n,height:o}),this.componentStore.plot.setBoundingBoxXY({x:s,y:a}),this.componentStore.yAxis.setRange([s,s+n]),this.componentStore.yAxis.setBoundingBoxXY({x:s,y:e}),this.componentStore.xAxis.setRange([a,a+o]),this.componentStore.xAxis.setBoundingBoxXY({x:0,y:a}),this.chartData.plots.some(t=>I(t))&&this.componentStore.xAxis.recalculateOuterPaddingToDrawBar()}calculateSpace(){"horizontal"===this.chartConfig.chartOrientation?this.calculateHorizontalSpace():this.calculateVerticalSpace()}getDrawableElement(){this.calculateSpace();const t=[];this.componentStore.plot.setAxes(this.componentStore.xAxis,this.componentStore.yAxis);for(const i of Object.values(this.componentStore))t.push(...i.getDrawableElements());return t}},"Orchestrator"),r),K=(c(l=class{static build(t,i,e,s){return new Q(t,i,e,s).getDrawableElement()}},"XYChartBuilder"),l),q=0,Z=nt(),J=at(),tt={yAxis:{type:"linear",title:"",min:1/0,max:-1/0},xAxis:{type:"band",title:"",categories:[]},title:"",plots:[]},it=J.plotColorPalette.split(",").map(t=>t.trim()),et=!1,st=!1;function at(){const t=k(),i=w();return C(t.xyChart,i.themeVariables.xyChart)}function nt(){const t=w();return C(S.xyChart,t.xyChart)}function ot(t){const i=w();return _(t.trim(),i)}function ht(t){G=t}function rt(t){Z.chartOrientation="horizontal"===t?"horizontal":"vertical"}function lt(t){tt.xAxis.title=ot(t.text)}function ct(t,i){tt.xAxis={type:"linear",title:tt.xAxis.title,min:t,max:i},et=!0}function gt(t){tt.xAxis={type:"band",title:tt.xAxis.title,categories:t.map(t=>ot(t.text))},et=!0}function ut(t){tt.yAxis.title=ot(t.text)}function xt(t,i){tt.yAxis={type:"linear",title:tt.yAxis.title,min:t,max:i},st=!0}function dt(t){const i=Math.min(...t),e=Math.max(...t),s=B(tt.yAxis)?tt.yAxis.min:1/0,a=B(tt.yAxis)?tt.yAxis.max:-1/0;tt.yAxis={type:"linear",title:tt.yAxis.title,min:Math.min(s,i),max:Math.max(a,e)}}function pt(t){let i=[];if(0===t.length)return i;if(!et){const i=B(tt.xAxis)?tt.xAxis.min:1/0,e=B(tt.xAxis)?tt.xAxis.max:-1/0;ct(Math.min(i,1),Math.max(e,t.length))}if(z(tt.xAxis)&&t.length>tt.xAxis.categories.length&&(t=t.slice(0,tt.xAxis.categories.length)),st||dt(t),z(tt.xAxis)&&(i=tt.xAxis.categories.map((i,e)=>[i,t[e]])),B(tt.xAxis)){const e=tt.xAxis.min,s=tt.xAxis.max,a=(s-e)/(t.length-1),n=[];for(let t=e;t<=s;t+=a)n.push(`${t}`);i=n.map((i,e)=>[i,t[e]])}return i}function ft(t){return it[0===t?0:t%it.length]}function mt(t,i){const e=i.map(t=>t.value),s=i.map(t=>t.label?ot(t.label):""),a=pt(e),n=s.some(t=>""!==t);tt.plots.push({type:"line",strokeFill:ft(q),strokeWidth:2,data:a,...n?{pointLabels:s}:{}}),q++}function yt(t,i){const e=pt(i.map(t=>t.value));tt.plots.push({type:"bar",fill:ft(q),data:e}),q++}function bt(){if(0===tt.plots.length)throw Error("No Plot to render, please provide a plot with some data");return tt.title=x(),K.build(Z,tt,J,G)}function At(){return J}function wt(){return Z}function Ct(){return tt}c(at,"getChartDefaultThemeConfig"),c(nt,"getChartDefaultConfig"),c(function(){return{yAxis:{type:"linear",title:"",min:1/0,max:-1/0},xAxis:{type:"band",title:"",categories:[]},title:"",plots:[]}},"getChartDefaultData"),c(ot,"textSanitizer"),c(ht,"setTmpSVGG"),c(rt,"setOrientation"),c(lt,"setXAxisTitle"),c(ct,"setXAxisRangeData"),c(gt,"setXAxisBand"),c(ut,"setYAxisTitle"),c(xt,"setYAxisRangeData"),c(dt,"setYAxisRangeFromPlotData"),c(pt,"transformDataWithoutCategory"),c(ft,"getPlotColorFromPalette"),c(mt,"setLineData"),c(yt,"setBarData"),c(bt,"getDrawableElem"),c(At,"getChartThemeConfig"),c(wt,"getChartConfig"),c(Ct,"getXYChartData");var St={parser:M,db:{getDrawableElem:bt,clear:c(function(){A(),q=0,Z=nt(),tt={yAxis:{type:"linear",title:"",min:1/0,max:-1/0},xAxis:{type:"band",title:"",categories:[]},title:"",plots:[]},J=at(),it=J.plotColorPalette.split(",").map(t=>t.trim()),et=!1,st=!1},"clear"),setAccTitle:f,getAccTitle:p,setDiagramTitle:d,getDiagramTitle:x,getAccDescription:u,setAccDescription:g,setOrientation:rt,setXAxisTitle:lt,setXAxisRangeData:ct,setXAxisBand:gt,setYAxisTitle:ut,setYAxisRangeData:xt,setLineData:mt,setBarData:yt,setTmpSVGG:ht,getChartThemeConfig:At,getChartConfig:wt,getXYChartData:Ct},renderer:{draw:c((t,i,e,s)=>{const a=s.db,n=a.getChartThemeConfig(),o=a.getChartConfig(),h=a.getXYChartData().plots[0].data.map(t=>t[1]);function r(t){return"top"===t?"text-before-edge":"middle"}function l(t){return"left"===t?"start":"right"===t?"end":"middle"}function g(t){return`translate(${t.x}, ${t.y}) rotate(${t.rotation||0})`}c(r,"getDominantBaseLine"),c(l,"getTextAnchor"),c(g,"getTextTransformation"),m.debug("Rendering xychart chart\n"+t);const u=y(i),x=u.append("g").attr("class","main"),d=x.append("rect").attr("width",o.width).attr("height",o.height).attr("class","background");b(u,o.height,o.width,!0),u.attr("viewBox",`0 0 ${o.width} ${o.height}`),d.attr("fill",n.backgroundColor),a.setTmpSVGG(u.append("g").attr("class","mermaid-tmp-group"));const p=a.getDrawableElem(),f={};function A(t){let i=x,e="";for(const[s]of t.entries()){let a=x;s>0&&f[e]&&(a=f[e]),e+=t[s],i=f[e],i||(i=f[e]=a.append("g").attr("class",t[s]))}return i}c(A,"getGroup");for(const m of p){if(0===m.data.length)continue;const t=A(m.groupTexts);switch(m.type){case"rect":if(t.selectAll("rect").data(m.data).enter().append("rect").attr("x",t=>t.x).attr("y",t=>t.y).attr("width",t=>t.width).attr("height",t=>t.height).attr("fill",t=>t.fill).attr("stroke",t=>t.strokeFill).attr("stroke-width",t=>t.strokeWidth),o.showDataLabel){const i=o.showDataLabelOutsideBar;if("horizontal"===o.chartOrientation){let e=function(t,i){const{data:e,label:n}=t;return i*n.length*s<=e.width-a};c(e,"fitsHorizontally");const s=.7,a=10,o=m.data.map((t,i)=>({data:t,label:h[i].toString()})).filter(t=>t.data.width>0&&t.data.height>0),r=o.map(t=>{const{data:i}=t;let s=.7*i.height;for(;!e(t,s)&&s>0;)s-=1;return s}),l=Math.floor(Math.min(...r)),g=c(t=>i?t.data.x+t.data.width+a:t.data.x+t.data.width-a,"determineLabelXPosition");t.selectAll("text").data(o).enter().append("text").attr("x",g).attr("y",t=>t.data.y+t.data.height/2).attr("text-anchor",i?"start":"end").attr("dominant-baseline","middle").attr("fill",n.dataLabelColor).attr("font-size",`${l}px`).text(t=>t.label)}else{let e=function(t,i,e){const{data:s,label:a}=t,n=i*a.length*.7,o=s.x+s.width/2,h=o+n/2,r=o-n/2>=s.x&&h<=s.x+s.width,l=s.y+e+i<=s.y+s.height;return r&&l};c(e,"fitsInBar");const s=10,a=m.data.map((t,i)=>({data:t,label:h[i].toString()})).filter(t=>t.data.width>0&&t.data.height>0),o=a.map(t=>{const{data:i,label:a}=t;let n=i.width/(.7*a.length);for(;!e(t,n,s)&&n>0;)n-=1;return n}),r=Math.floor(Math.min(...o)),l=c(t=>i?t.data.y-s:t.data.y+s,"determineLabelYPosition");t.selectAll("text").data(a).enter().append("text").attr("x",t=>t.data.x+t.data.width/2).attr("y",l).attr("text-anchor","middle").attr("dominant-baseline",i?"auto":"hanging").attr("fill",n.dataLabelColor).attr("font-size",`${r}px`).text(t=>t.label)}}break;case"text":t.selectAll("text").data(m.data).enter().append("text").attr("x",0).attr("y",0).attr("fill",t=>t.fill).attr("font-size",t=>t.fontSize).attr("dominant-baseline",t=>r(t.verticalPos)).attr("text-anchor",t=>l(t.horizontalPos)).attr("transform",t=>g(t)).text(t=>t.text);break;case"path":t.selectAll("path").data(m.data).enter().append("path").attr("d",t=>t.path).attr("fill",t=>t.fill?t.fill:"none").attr("stroke",t=>t.strokeFill).attr("stroke-width",t=>t.strokeWidth)}}},"draw")}};export{St as diagram};
|
package/dist/web/icon.svg
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1024 1024"><image width="1024" height="1024" href="data:image/webp;base64,UklGRjInAABXRUJQVlA4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