@aiquants/markdown 11.6.2 → 11.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +10 -1
- package/dist/{abnfDiagram-VRR7QNED-DxRZdLos.cjs → abnfDiagram-VRR7QNED-Sj5_On-R.cjs} +1 -1
- package/dist/{abnfDiagram-VRR7QNED-BxoYLblG.js → abnfDiagram-VRR7QNED-VkbT6HBV.js} +3 -3
- package/dist/{arc-DPOm7M88.cjs → arc-NrIs4nU8.cjs} +1 -1
- package/dist/{arc-CpcEBiVP.js → arc-py7gf0Yq.js} +1 -1
- package/dist/{architectureDiagram-ZJ3FMSHR-DSxM5fz-.cjs → architectureDiagram-ZJ3FMSHR-CF9WQzks.cjs} +1 -1
- package/dist/{architectureDiagram-ZJ3FMSHR-BqXA6xEy.js → architectureDiagram-ZJ3FMSHR-Cvyg96_8.js} +2 -2
- package/dist/{blockDiagram-677ZJIJ3-B6R2sEZy.js → blockDiagram-677ZJIJ3-B0dz9ipf.js} +3 -3
- package/dist/{blockDiagram-677ZJIJ3-D3S0NzDN.cjs → blockDiagram-677ZJIJ3-B_KNNdhw.cjs} +1 -1
- package/dist/{c4Diagram-LMCZKHZV-CK8-EQJi.js → c4Diagram-LMCZKHZV-BQzHQ6Ki.js} +2 -2
- package/dist/{c4Diagram-LMCZKHZV-B1aKWPmK.cjs → c4Diagram-LMCZKHZV-DENxDmBD.cjs} +1 -1
- package/dist/{channel-DgfX8PtR.cjs → channel-CQu5cMzm.cjs} +1 -1
- package/dist/{channel-8ENRM7U_.js → channel-yrSFSkk7.js} +1 -1
- package/dist/{chunk-2Q5K7J3B-5ByHiOwA.js → chunk-2Q5K7J3B-Ba5deuY_.js} +1 -1
- package/dist/{chunk-2Q5K7J3B-tSX9f5fU.cjs → chunk-2Q5K7J3B-CEWViFa1.cjs} +1 -1
- package/dist/{chunk-32BRIVSS-CFjN16oR.cjs → chunk-32BRIVSS-BYyLfwQB.cjs} +1 -1
- package/dist/{chunk-32BRIVSS-DUTrdpJh.js → chunk-32BRIVSS-DLM-9Wyu.js} +1 -1
- package/dist/{chunk-5VM5RSS4-CwW6aXM0.cjs → chunk-5VM5RSS4-DGj0DWcq.cjs} +1 -1
- package/dist/{chunk-5VM5RSS4-CnX7fno_.js → chunk-5VM5RSS4-DpH_qorY.js} +1 -1
- package/dist/{chunk-EX3LRPZG-C-69aUM9.js → chunk-EX3LRPZG-BE4lnjVR.js} +4 -4
- package/dist/{chunk-EX3LRPZG-CRzNzAXh.cjs → chunk-EX3LRPZG-BLmf1YD_.cjs} +1 -1
- package/dist/{chunk-JWPE2WC7-fhBE0DFW.cjs → chunk-JWPE2WC7-BDTwSGLy.cjs} +1 -1
- package/dist/{chunk-JWPE2WC7-DrR-VmWv.js → chunk-JWPE2WC7-BHosXdjj.js} +1 -1
- package/dist/{chunk-MOJQB5TN-TQ1Ymr_8.cjs → chunk-MOJQB5TN-BpnxyFLL.cjs} +1 -1
- package/dist/{chunk-MOJQB5TN-CAR8MmXh.js → chunk-MOJQB5TN-C8oU3vWm.js} +1 -1
- package/dist/{chunk-PUDLZKDR-DAF6xfgx.cjs → chunk-PUDLZKDR-D58buO98.cjs} +1 -1
- package/dist/{chunk-PUDLZKDR--7cUva8z.js → chunk-PUDLZKDR-DrHNv9n4.js} +6 -6
- package/dist/{chunk-RYQCIY6F-CnTDB6Kv.js → chunk-RYQCIY6F-8tnNpneu.js} +1 -1
- package/dist/{chunk-RYQCIY6F-DqTjQLFd.cjs → chunk-RYQCIY6F-DIVXolrM.cjs} +1 -1
- package/dist/{chunk-V7JOEXUC-DQplRVxs.cjs → chunk-V7JOEXUC-BmodhLLH.cjs} +1 -1
- package/dist/{chunk-V7JOEXUC-BIWZWFdo.js → chunk-V7JOEXUC-C0-NE8tl.js} +5 -5
- package/dist/{chunk-VR4S4FIN-DxzQqHlt.js → chunk-VR4S4FIN-9-hfI-5e.js} +1 -1
- package/dist/{chunk-VR4S4FIN-C7J0XpmK.cjs → chunk-VR4S4FIN-Dcwfx0Xd.cjs} +1 -1
- package/dist/{chunk-XXDRQBXY-DFQcLWWg.cjs → chunk-XXDRQBXY-0hmJ1rrX.cjs} +1 -1
- package/dist/{chunk-XXDRQBXY-CC75iZMQ.js → chunk-XXDRQBXY-BoKfIRNl.js} +1 -1
- package/dist/{classDiagram-v2-EOCWNBFH-CmXfJocx.js → classDiagram-OUVF2IWQ-CEQZaGZr.js} +2 -2
- package/dist/{classDiagram-OUVF2IWQ-Ddcj3Uwq.cjs → classDiagram-OUVF2IWQ-DajSJJi9.cjs} +1 -1
- package/dist/{classDiagram-OUVF2IWQ-CmXfJocx.js → classDiagram-v2-EOCWNBFH-CEQZaGZr.js} +2 -2
- package/dist/{classDiagram-v2-EOCWNBFH-Ddcj3Uwq.cjs → classDiagram-v2-EOCWNBFH-DajSJJi9.cjs} +1 -1
- package/dist/components/MarkdownViewer.d.ts +2 -1
- package/dist/converter.wasm +0 -0
- package/dist/{cose-bilkent-JH36ORCC-1tSd2kLT.js → cose-bilkent-JH36ORCC-CJfephTa.js} +1 -1
- package/dist/{cose-bilkent-JH36ORCC-Oumpy_6v.cjs → cose-bilkent-JH36ORCC-WVMY9rAf.cjs} +1 -1
- package/dist/{cynefinDiagram-TSTJHNR4-LQJGk5ym.cjs → cynefinDiagram-TSTJHNR4-CyHYL4Fv.cjs} +1 -1
- package/dist/{cynefinDiagram-TSTJHNR4-BErSYG1e.js → cynefinDiagram-TSTJHNR4-qBuinPMY.js} +2 -2
- package/dist/{dagre-VKFMJZFB-CuJfEe1q.js → dagre-VKFMJZFB-BGwiWDIl.js} +2 -2
- package/dist/{dagre-VKFMJZFB-CgElKLzH.cjs → dagre-VKFMJZFB-Bxvx3U_t.cjs} +1 -1
- package/dist/{diagram-FQU43EPY-DDiF9qdI.cjs → diagram-FQU43EPY-BwN3uoVa.cjs} +1 -1
- package/dist/{diagram-FQU43EPY-DR5v2F0Z.js → diagram-FQU43EPY-C5Fvw5Tn.js} +2 -2
- package/dist/{diagram-G47NLZAW-xzoC80ba.cjs → diagram-G47NLZAW-CnMUSlXY.cjs} +1 -1
- package/dist/{diagram-G47NLZAW-C9Lb71YK.js → diagram-G47NLZAW-CvGw3XtN.js} +3 -3
- package/dist/{diagram-NH7WQ7WH-87piaHyU.js → diagram-NH7WQ7WH-D7-uO-bT.js} +2 -2
- package/dist/{diagram-NH7WQ7WH-C2N9NHLR.cjs → diagram-NH7WQ7WH-HR3GmiFi.cjs} +1 -1
- package/dist/{diagram-OA4YK3LP-nSppDsyY.cjs → diagram-OA4YK3LP-CUZPu2NV.cjs} +1 -1
- package/dist/{diagram-OA4YK3LP-B2a3T-QK.js → diagram-OA4YK3LP-Cr51HmOj.js} +3 -3
- package/dist/{diagram-WEI45ONY-DEGrkn7x.js → diagram-WEI45ONY-CJ_UXgas.js} +2 -2
- package/dist/{diagram-WEI45ONY-0KDl_dOI.cjs → diagram-WEI45ONY-DW5TKPfj.cjs} +1 -1
- package/dist/{ebnfDiagram-CCIWWBDH-CF-Hez--.js → ebnfDiagram-CCIWWBDH-DTWPepW4.js} +3 -3
- package/dist/{ebnfDiagram-CCIWWBDH-BwNmJMnC.cjs → ebnfDiagram-CCIWWBDH-DhgLuRam.cjs} +1 -1
- package/dist/{erDiagram-Q63AITRT-JQ8mB_gP.cjs → erDiagram-Q63AITRT-K888jRhT.cjs} +1 -1
- package/dist/{erDiagram-Q63AITRT-DOuoCFWQ.js → erDiagram-Q63AITRT-i4-z9VHv.js} +4 -4
- package/dist/{extractHeadings-Bq6RQBHu.js → extractHeadings-BlTc-7J2.js} +3353 -3336
- package/dist/{extractHeadings-DMlRu-i3.cjs → extractHeadings-C5f3OovB.cjs} +63 -63
- package/dist/flowDiagram-23GEKE2U-CoPy7PrM.js +7 -0
- package/dist/flowDiagram-23GEKE2U-De-TVBgx.cjs +1 -0
- package/dist/{ganttDiagram-NO4QXBWP-NCQuQN5D.cjs → ganttDiagram-NO4QXBWP-Bv5IHau7.cjs} +1 -1
- package/dist/{ganttDiagram-NO4QXBWP-CFbmGZ6S.js → ganttDiagram-NO4QXBWP-C4xkpIAZ.js} +2 -2
- package/dist/{gitGraphDiagram-IHSO6WYX-94ecFvIT.js → gitGraphDiagram-IHSO6WYX--LfKa8VN.js} +3 -3
- package/dist/{gitGraphDiagram-IHSO6WYX-DgU3_Ajk.cjs → gitGraphDiagram-IHSO6WYX-CergKBJL.cjs} +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.client.cjs +1 -1
- package/dist/index.client.js +1 -1
- package/dist/index.js +1 -1
- package/dist/{infoDiagram-FWYZ7A6U-CiC8yXhC.js → infoDiagram-FWYZ7A6U-BPjBgSCd.js} +1 -1
- package/dist/{infoDiagram-FWYZ7A6U-CuBWdwjx.cjs → infoDiagram-FWYZ7A6U-BncN8Ibs.cjs} +1 -1
- package/dist/{ishikawaDiagram-FXEZZL3T-D4RXTdAU.cjs → ishikawaDiagram-FXEZZL3T-Bunjpof6.cjs} +1 -1
- package/dist/{ishikawaDiagram-FXEZZL3T-C6Z1R3N-.js → ishikawaDiagram-FXEZZL3T-qvB590dl.js} +1 -1
- package/dist/{journeyDiagram-5HDEW3XC-_vCflT7D.js → journeyDiagram-5HDEW3XC-96BtcW1Q.js} +4 -4
- package/dist/{journeyDiagram-5HDEW3XC-mv3tRB15.cjs → journeyDiagram-5HDEW3XC-B3fF1ZcO.cjs} +1 -1
- package/dist/{kanban-definition-HUTT4EX6-2CVqb3WV.cjs → kanban-definition-HUTT4EX6-BGX92Pg4.cjs} +1 -1
- package/dist/{kanban-definition-HUTT4EX6-d6Fue9SI.js → kanban-definition-HUTT4EX6-D79Ulrl0.js} +2 -2
- package/dist/{linear-wGZBDJV5.cjs → linear-C3cIVEcf.cjs} +1 -1
- package/dist/{linear-CZ-0zX9A.js → linear-Du8Ad8fL.js} +1 -1
- package/dist/{mindmap-definition-LN4V7U3C-CvPFKbRb.js → mindmap-definition-LN4V7U3C-IHeW6T5W.js} +3 -3
- package/dist/{mindmap-definition-LN4V7U3C-i_zSfuBJ.cjs → mindmap-definition-LN4V7U3C-dxTmV8jM.cjs} +1 -1
- package/dist/{pegDiagram-2B236MQR-DW92079M.js → pegDiagram-2B236MQR-C8WdPYuB.js} +3 -3
- package/dist/{pegDiagram-2B236MQR-B1P34Gkv.cjs → pegDiagram-2B236MQR-CCKva8a7.cjs} +1 -1
- package/dist/{pieDiagram-ENE6RG2P-BMtgLQuZ.js → pieDiagram-ENE6RG2P--iua_PNq.js} +3 -3
- package/dist/{pieDiagram-ENE6RG2P-DWodV_iM.cjs → pieDiagram-ENE6RG2P-DDFYPeoq.cjs} +1 -1
- package/dist/{quadrantDiagram-ABIIQ3AL-DmzTM6g2.js → quadrantDiagram-ABIIQ3AL-B1vBDypi.js} +2 -2
- package/dist/{quadrantDiagram-ABIIQ3AL-DgGHlHJM.cjs → quadrantDiagram-ABIIQ3AL-GNHupaaC.cjs} +1 -1
- package/dist/{railroadDiagram-RFXS5EU6-vVH9AAWc.cjs → railroadDiagram-RFXS5EU6-DGrvdfLv.cjs} +1 -1
- package/dist/{railroadDiagram-RFXS5EU6-DP0HnjDZ.js → railroadDiagram-RFXS5EU6-DxVBMmTY.js} +3 -3
- package/dist/{requirementDiagram-TGXJPOKE-DKTUI7CI.js → requirementDiagram-TGXJPOKE-CwzAm7N1.js} +3 -3
- package/dist/{requirementDiagram-TGXJPOKE-TQYdLBAs.cjs → requirementDiagram-TGXJPOKE-Dx1G8Vm4.cjs} +1 -1
- package/dist/{sankeyDiagram-HTMAVEWB-BlYWTcCR.js → sankeyDiagram-HTMAVEWB-B02naxnk.js} +1 -1
- package/dist/{sankeyDiagram-HTMAVEWB-CO5wc4-P.cjs → sankeyDiagram-HTMAVEWB-LZRPX9hl.cjs} +1 -1
- package/dist/{sequenceDiagram-DBY2YBRQ-Jk8ZVpEA.cjs → sequenceDiagram-DBY2YBRQ-DYCLYvHB.cjs} +1 -1
- package/dist/{sequenceDiagram-DBY2YBRQ-D8OanHhC.js → sequenceDiagram-DBY2YBRQ-Dl6_8Nxh.js} +3 -3
- package/dist/{sizeCapture-X5ZJPWSS-D_3GOqqG.cjs → sizeCapture-X5ZJPWSS-BEN184OG.cjs} +1 -1
- package/dist/{sizeCapture-X5ZJPWSS-2F01ERMJ.js → sizeCapture-X5ZJPWSS-BXRn1Qce.js} +1 -1
- package/dist/{stateDiagram-2N3HPSRC-Bax7OFZ-.js → stateDiagram-2N3HPSRC-B3gQQMYs.js} +2 -2
- package/dist/{stateDiagram-2N3HPSRC-DTzhZM4u.cjs → stateDiagram-2N3HPSRC-_5ZWQtfK.cjs} +1 -1
- package/dist/{stateDiagram-v2-6OUMAXLB-B_vcjsId.js → stateDiagram-v2-6OUMAXLB-D7sTymg2.js} +2 -2
- package/dist/{stateDiagram-v2-6OUMAXLB-DB994Mq0.cjs → stateDiagram-v2-6OUMAXLB-Df1IAtWl.cjs} +1 -1
- package/dist/{swimlanes-5IMT3BWC-BOFcVEL5.js → swimlanes-5IMT3BWC-BZOp3NpP.js} +3 -3
- package/dist/{swimlanes-5IMT3BWC-DnJUaQXb.cjs → swimlanes-5IMT3BWC-X71bAiMk.cjs} +1 -1
- package/dist/{swimlanesDiagram-G3AALYLV-CkaRKbTf.cjs → swimlanesDiagram-G3AALYLV-CdGsaAq-.cjs} +1 -1
- package/dist/{swimlanesDiagram-G3AALYLV-D2TI6l_M.js → swimlanesDiagram-G3AALYLV-Cmbz9m9s.js} +2 -2
- package/dist/{timeline-definition-FHXFAJF6-BAUQCcsb.cjs → timeline-definition-FHXFAJF6-0ZZxKj9x.cjs} +1 -1
- package/dist/{timeline-definition-FHXFAJF6-Bn0weCUA.js → timeline-definition-FHXFAJF6-CW8ARSsj.js} +2 -2
- package/dist/{vennDiagram-L72KCM5P-U_ThRT92.js → vennDiagram-L72KCM5P-BJI6ndSG.js} +1 -1
- package/dist/{vennDiagram-L72KCM5P-C4mwLTzX.cjs → vennDiagram-L72KCM5P-RkXD11Pi.cjs} +1 -1
- package/dist/{wardleyDiagram-EHGQE667-7ABE1tnR.cjs → wardleyDiagram-EHGQE667-CoQXacHo.cjs} +1 -1
- package/dist/{wardleyDiagram-EHGQE667-a209zWox.js → wardleyDiagram-EHGQE667-CxZ0GBm_.js} +2 -2
- package/dist/{xychartDiagram-FW5EYKEG-DV1K5Km6.js → xychartDiagram-FW5EYKEG-P_PV9PCQ.js} +2 -2
- package/dist/{xychartDiagram-FW5EYKEG-dNt0UBQC.cjs → xychartDiagram-FW5EYKEG-tj9Y_Wzq.cjs} +1 -1
- package/package.json +9 -9
- package/dist/flowDiagram-23GEKE2U-65_ty-RL.cjs +0 -1
- package/dist/flowDiagram-23GEKE2U-Bafg06Pf.js +0 -7
package/README.md
CHANGED
|
@@ -764,7 +764,7 @@ Total 17,600 MT
|
|
|
764
764
|
row heights and the zoom are not saved (a reload resets all three; the grid also resets the widths when the column count
|
|
765
765
|
changes and the heights when the row count changes, an edit that adds or removes a column or a row included); with
|
|
766
766
|
`autofit=1` a reader's resize lasts until the table or the options change or a web font of the cells' families
|
|
767
|
-
finishes loading (a font
|
|
767
|
+
finishes loading (a font of a family the cells do not use leaves it), and the fit is skipped (the default widths
|
|
768
768
|
stay) when the cells it measures — an editable table's spare row and column included — pass the grid's operation budget;
|
|
769
769
|
printing shows the visible part of the grid only; the toolbar's copy uses the asynchronous clipboard, which browsers grant
|
|
770
770
|
only to a secure page (https or localhost) and with their permission (Ctrl+C in the grid works anywhere).
|
|
@@ -831,6 +831,15 @@ The function receives the scroll container, `[data-aqmd-scroll-container]`, the
|
|
|
831
831
|
A bar that watches the container's size or children must not render React synchronously from a `ResizeObserver` or `MutationObserver` callback (for example by notifying a `useSyncExternalStore` store there). React would then render inside the browser's delivery of the observations, and before such a render it runs the page's pending effects and updates, the viewer's insertion of a drawn Mermaid diagram among them. Elements observed in the same delivery then change size, and the browser reports `ResizeObserver loop completed with undelivered notifications`.
|
|
832
832
|
Measure, and notify React, on the next animation frame instead; notifying from the container's `scroll` event is fine, because the browser dispatches it before it delivers the observations.
|
|
833
833
|
|
|
834
|
+
A bar that draws something over the scroll container beside itself, such as a tap-scroll circle, reserves a lane for it with `scrollBarGutter` (CSS px, default 0):
|
|
835
|
+
|
|
836
|
+
```tsx
|
|
837
|
+
<MarkdownViewer {...props} renderScrollBar={(scroller) => <MyScrollBar target={scroller} />} scrollBarGutter={54} />
|
|
838
|
+
```
|
|
839
|
+
|
|
840
|
+
The viewer adds the lane to the container's inline-end padding, outside `padding`, so no content (a block's toolbar, a focused link) lies under what the bar draws there at any scroll position; where the bar draws inside the lane is the bar's own.
|
|
841
|
+
The lane is kept while the content fits as well, so the text never re-wraps when the bar appears. It is ignored without `renderScrollBar`, and a negative, infinite or NaN value throws a `RangeError`.
|
|
842
|
+
|
|
834
843
|
The native vertical scrollbar never shows beside the host's bar. How it is hidden depends on how the platform draws scrollbars:
|
|
835
844
|
|
|
836
845
|
- **Scrollbars that take space** (Windows, Linux, macOS with "Always" or a mouse attached): only the vertical one is hidden. The scroll container always reserves it (`overflow-y: scroll`, so its thickness is constant), its border box (`box-sizing: border-box`, whatever the host's default) is widened by the measured thickness (`width: calc(100% + <thickness>px)`), and the clipping cell cuts that strip off.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./chunk-MOJQB5TN-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./chunk-MOJQB5TN-BpnxyFLL.cjs"),u=require("./chunk-JWPE2WC7-BDTwSGLy.cjs"),n=require("./extractHeadings-C5f3OovB.cjs"),i=require("./cynefin-VYW2F7L2-MpAliYy9.cjs");var p=i.createRailroadAbnfServices().RailroadAbnf.parser.LangiumParser,o=n.__name(e=>{const r=e.alternatives.map(c);return r.length===1?r[0]:{type:"choice",alternatives:r}},"transformAlternation"),c=n.__name(e=>{const r=e.elements.map(d);return r.length===1?r[0]:{type:"sequence",elements:r}},"transformConcatenation"),f=n.__name(e=>{if(e.includes("*")){const[t,s]=e.split("*"),l=t?parseInt(t,10):0,m=s?parseInt(s,10):1/0;return{min:l,max:m}}const r=parseInt(e,10);return{min:r,max:r}},"parseRepeat"),d=n.__name(e=>{const r=b(e.primary);if(!e.repeat)return r;const{min:t,max:s}=f(e.repeat);return t===0&&s===1?{type:"optional",element:r}:{type:"repetition",element:r,min:t,max:s}},"transformElement"),b=n.__name(e=>{switch(e.$type){case"AbnfStringLiteral":return{type:"terminal",value:e.value};case"AbnfNumVal":return{type:"terminal",value:e.value};case"AbnfRuleName":return{type:"nonterminal",name:e.name};case"AbnfGroup":return o(e.element);case"AbnfOptionalGroup":return{type:"optional",element:o(e.element)};default:throw new Error(`Unsupported ABNF primary node: ${e.$type}`)}},"transformPrimary"),g=n.__name(e=>({name:e.name,definition:o(e.definition)}),"transformRule"),v=n.__name(e=>{u.populateCommonDb(e,a.db),e.title&&a.db.setTitle(e.title),e.rules.map(r=>a.db.addRule(g(r)))},"populateDb"),y={parse:n.__name(e=>{a.db.clear(),n.log.debug("[ABNF Parser] Starting Langium parse");const r=p.parse(e);if(r.lexerErrors.length>0||r.parserErrors.length>0)throw new i.MermaidParseError(r);const t=r.value;n.log.debug("[ABNF Parser] Parsed rules:",t.rules.length),v(t),n.log.debug("[ABNF Parser] Parse complete")},"parse"),parser:{yy:a.db}},_={parser:y,db:a.db,renderer:a.renderer,styles:a.getStyles};exports.diagram=_;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { g as p, r as u, d as a } from "./chunk-MOJQB5TN-
|
|
2
|
-
import { p as f } from "./chunk-JWPE2WC7-
|
|
3
|
-
import { _ as n, U as o } from "./extractHeadings-
|
|
1
|
+
import { g as p, r as u, d as a } from "./chunk-MOJQB5TN-C8oU3vWm.js";
|
|
2
|
+
import { p as f } from "./chunk-JWPE2WC7-BHosXdjj.js";
|
|
3
|
+
import { _ as n, U as o } from "./extractHeadings-BlTc-7J2.js";
|
|
4
4
|
import { M as c, b as d } from "./cynefin-VYW2F7L2-Bkk-F_Js.js";
|
|
5
5
|
var v = d().RailroadAbnf.parser.LangiumParser, i = /* @__PURE__ */ n((e) => {
|
|
6
6
|
const r = e.alternatives.map(g);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const n=require("./extractHeadings-
|
|
1
|
+
"use strict";const n=require("./extractHeadings-C5f3OovB.cjs");function $(o){return o.innerRadius}function b(o){return o.outerRadius}function k(o){return o.startAngle}function _(o){return o.endAngle}function nn(o){return o&&o.padAngle}function en(o,x,D,P,h,v,S,s){var E=D-o,r=P-x,e=S-h,p=s-v,i=p*E-e*r;if(!(i*i<n.epsilon))return i=(e*(x-v)-p*(o-h))/i,[o+i*E,x+i*r]}function M(o,x,D,P,h,v,S){var s=o-D,E=x-P,r=(S?v:-v)/n.sqrt(s*s+E*E),e=r*E,p=-r*s,i=o+e,u=x+p,c=D+e,f=P+p,j=(i+c)/2,l=(u+f)/2,y=c-i,g=f-u,A=y*y+g*g,R=h-v,T=i*f-c*u,H=(g<0?-1:1)*n.sqrt(n.max(0,R*R*A-T*T)),I=(T*g-y*H)/A,O=(-T*y-g*H)/A,q=(T*g+y*H)/A,d=(-T*y+g*H)/A,m=I-j,a=O-l,t=q-j,z=d-l;return m*m+a*a>t*t+z*z&&(I=q,O=d),{cx:I,cy:O,x01:-e,y01:-p,x11:I*(h/R-1),y11:O*(h/R-1)}}function an(){var o=$,x=b,D=n.constant(0),P=null,h=k,v=_,S=nn,s=null,E=n.withPath(r);function r(){var e,p,i=+o.apply(this,arguments),u=+x.apply(this,arguments),c=h.apply(this,arguments)-n.halfPi,f=v.apply(this,arguments)-n.halfPi,j=n.abs(f-c),l=f>c;if(s||(s=e=E()),u<i&&(p=u,u=i,i=p),!(u>n.epsilon))s.moveTo(0,0);else if(j>n.tau-n.epsilon)s.moveTo(u*n.cos(c),u*n.sin(c)),s.arc(0,0,u,c,f,!l),i>n.epsilon&&(s.moveTo(i*n.cos(f),i*n.sin(f)),s.arc(0,0,i,f,c,l));else{var y=c,g=f,A=c,R=f,T=j,H=j,I=S.apply(this,arguments)/2,O=I>n.epsilon&&(P?+P.apply(this,arguments):n.sqrt(i*i+u*u)),q=n.min(n.abs(u-i)/2,+D.apply(this,arguments)),d=q,m=q,a,t;if(O>n.epsilon){var z=n.asin(O/i*n.sin(I)),F=n.asin(O/u*n.sin(I));(T-=z*2)>n.epsilon?(z*=l?1:-1,A+=z,R-=z):(T=0,A=R=(c+f)/2),(H-=F*2)>n.epsilon?(F*=l?1:-1,y+=F,g-=F):(H=0,y=g=(c+f)/2)}var B=u*n.cos(y),C=u*n.sin(y),G=i*n.cos(R),J=i*n.sin(R);if(q>n.epsilon){var K=u*n.cos(g),L=u*n.sin(g),N=i*n.cos(A),Q=i*n.sin(A),w;if(j<n.pi)if(w=en(B,C,N,Q,K,L,G,J)){var U=B-w[0],V=C-w[1],W=K-w[0],X=L-w[1],Y=1/n.sin(n.acos((U*W+V*X)/(n.sqrt(U*U+V*V)*n.sqrt(W*W+X*X)))/2),Z=n.sqrt(w[0]*w[0]+w[1]*w[1]);d=n.min(q,(i-Z)/(Y-1)),m=n.min(q,(u-Z)/(Y+1))}else d=m=0}H>n.epsilon?m>n.epsilon?(a=M(N,Q,B,C,u,m,l),t=M(K,L,G,J,u,m,l),s.moveTo(a.cx+a.x01,a.cy+a.y01),m<q?s.arc(a.cx,a.cy,m,n.atan2(a.y01,a.x01),n.atan2(t.y01,t.x01),!l):(s.arc(a.cx,a.cy,m,n.atan2(a.y01,a.x01),n.atan2(a.y11,a.x11),!l),s.arc(0,0,u,n.atan2(a.cy+a.y11,a.cx+a.x11),n.atan2(t.cy+t.y11,t.cx+t.x11),!l),s.arc(t.cx,t.cy,m,n.atan2(t.y11,t.x11),n.atan2(t.y01,t.x01),!l))):(s.moveTo(B,C),s.arc(0,0,u,y,g,!l)):s.moveTo(B,C),!(i>n.epsilon)||!(T>n.epsilon)?s.lineTo(G,J):d>n.epsilon?(a=M(G,J,K,L,i,-d,l),t=M(B,C,N,Q,i,-d,l),s.lineTo(a.cx+a.x01,a.cy+a.y01),d<q?s.arc(a.cx,a.cy,d,n.atan2(a.y01,a.x01),n.atan2(t.y01,t.x01),!l):(s.arc(a.cx,a.cy,d,n.atan2(a.y01,a.x01),n.atan2(a.y11,a.x11),!l),s.arc(0,0,i,n.atan2(a.cy+a.y11,a.cx+a.x11),n.atan2(t.cy+t.y11,t.cx+t.x11),l),s.arc(t.cx,t.cy,d,n.atan2(t.y11,t.x11),n.atan2(t.y01,t.x01),!l))):s.arc(0,0,i,R,A,l)}if(s.closePath(),e)return s=null,e+""||null}return r.centroid=function(){var e=(+o.apply(this,arguments)+ +x.apply(this,arguments))/2,p=(+h.apply(this,arguments)+ +v.apply(this,arguments))/2-n.pi/2;return[n.cos(p)*e,n.sin(p)*e]},r.innerRadius=function(e){return arguments.length?(o=typeof e=="function"?e:n.constant(+e),r):o},r.outerRadius=function(e){return arguments.length?(x=typeof e=="function"?e:n.constant(+e),r):x},r.cornerRadius=function(e){return arguments.length?(D=typeof e=="function"?e:n.constant(+e),r):D},r.padRadius=function(e){return arguments.length?(P=e==null?null:typeof e=="function"?e:n.constant(+e),r):P},r.startAngle=function(e){return arguments.length?(h=typeof e=="function"?e:n.constant(+e),r):h},r.endAngle=function(e){return arguments.length?(v=typeof e=="function"?e:n.constant(+e),r):v},r.padAngle=function(e){return arguments.length?(S=typeof e=="function"?e:n.constant(+e),r):S},r.context=function(e){return arguments.length?(s=e??null,r):s},r}exports.d3arc=an;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { aF as ln, aG as an, aH as y, aI as tn, aJ as M, aK as I, aL as _, aM as un, aN as rn, aO as j, aP as o, aQ as H, aR as sn, aS as on, aT as fn } from "./extractHeadings-
|
|
1
|
+
import { aF as ln, aG as an, aH as y, aI as tn, aJ as M, aK as I, aL as _, aM as un, aN as rn, aO as j, aP as o, aQ as H, aR as sn, aS as on, aT as fn } from "./extractHeadings-BlTc-7J2.js";
|
|
2
2
|
function cn(l) {
|
|
3
3
|
return l.innerRadius;
|
|
4
4
|
}
|