@aiquants/markdown 11.7.0 → 11.8.1

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.
Files changed (132) hide show
  1. package/README.md +49 -12
  2. package/dist/{abnfDiagram-VRR7QNED-VkbT6HBV.js → abnfDiagram-VRR7QNED-C4drt50B.js} +3 -3
  3. package/dist/{abnfDiagram-VRR7QNED-Sj5_On-R.cjs → abnfDiagram-VRR7QNED-Czh6_Pzi.cjs} +1 -1
  4. package/dist/{arc-py7gf0Yq.js → arc-BTGvYLLb.js} +1 -1
  5. package/dist/{arc-NrIs4nU8.cjs → arc-C3J7MsS-.cjs} +1 -1
  6. package/dist/{architectureDiagram-ZJ3FMSHR-Cvyg96_8.js → architectureDiagram-ZJ3FMSHR-BzIcctpT.js} +2 -2
  7. package/dist/{architectureDiagram-ZJ3FMSHR-CF9WQzks.cjs → architectureDiagram-ZJ3FMSHR-p1zMWwLB.cjs} +1 -1
  8. package/dist/{blockDiagram-677ZJIJ3-B0dz9ipf.js → blockDiagram-677ZJIJ3-B3_YHl9k.js} +3 -3
  9. package/dist/{blockDiagram-677ZJIJ3-B_KNNdhw.cjs → blockDiagram-677ZJIJ3-UEjZ1p8f.cjs} +1 -1
  10. package/dist/{c4Diagram-LMCZKHZV-BQzHQ6Ki.js → c4Diagram-LMCZKHZV-BZD1wV5v.js} +2 -2
  11. package/dist/{c4Diagram-LMCZKHZV-DENxDmBD.cjs → c4Diagram-LMCZKHZV-mO_6E_Mo.cjs} +1 -1
  12. package/dist/{channel-yrSFSkk7.js → channel-DDXAAlrM.js} +1 -1
  13. package/dist/{channel-CQu5cMzm.cjs → channel-DRm-jj0B.cjs} +1 -1
  14. package/dist/{chunk-2Q5K7J3B-Ba5deuY_.js → chunk-2Q5K7J3B-B7GjFRMy.js} +1 -1
  15. package/dist/{chunk-2Q5K7J3B-CEWViFa1.cjs → chunk-2Q5K7J3B-Bww2nx_J.cjs} +1 -1
  16. package/dist/{chunk-32BRIVSS-BYyLfwQB.cjs → chunk-32BRIVSS-BGG0Vzrz.cjs} +1 -1
  17. package/dist/{chunk-32BRIVSS-DLM-9Wyu.js → chunk-32BRIVSS-BbdXHOu9.js} +1 -1
  18. package/dist/{chunk-5VM5RSS4-DGj0DWcq.cjs → chunk-5VM5RSS4-BQjhv0-n.cjs} +1 -1
  19. package/dist/{chunk-5VM5RSS4-DpH_qorY.js → chunk-5VM5RSS4-BcmPxhYv.js} +1 -1
  20. package/dist/{chunk-EX3LRPZG-BLmf1YD_.cjs → chunk-EX3LRPZG-B1YZ1vFU.cjs} +1 -1
  21. package/dist/{chunk-EX3LRPZG-BE4lnjVR.js → chunk-EX3LRPZG-BSTSkQtz.js} +4 -4
  22. package/dist/{chunk-JWPE2WC7-BDTwSGLy.cjs → chunk-JWPE2WC7-BDRWCymR.cjs} +1 -1
  23. package/dist/{chunk-JWPE2WC7-BHosXdjj.js → chunk-JWPE2WC7-DtersqR-.js} +1 -1
  24. package/dist/{chunk-MOJQB5TN-BpnxyFLL.cjs → chunk-MOJQB5TN-0CuDPxrC.cjs} +1 -1
  25. package/dist/{chunk-MOJQB5TN-C8oU3vWm.js → chunk-MOJQB5TN-Dd8CHqwB.js} +1 -1
  26. package/dist/{chunk-PUDLZKDR-D58buO98.cjs → chunk-PUDLZKDR-BXSC8Gu_.cjs} +1 -1
  27. package/dist/{chunk-PUDLZKDR-DrHNv9n4.js → chunk-PUDLZKDR-Ct8nN5La.js} +6 -6
  28. package/dist/{chunk-RYQCIY6F-DIVXolrM.cjs → chunk-RYQCIY6F-DBhmy79i.cjs} +1 -1
  29. package/dist/{chunk-RYQCIY6F-8tnNpneu.js → chunk-RYQCIY6F-DNmPOMS7.js} +1 -1
  30. package/dist/{chunk-V7JOEXUC-BmodhLLH.cjs → chunk-V7JOEXUC-66-yF1A-.cjs} +1 -1
  31. package/dist/{chunk-V7JOEXUC-C0-NE8tl.js → chunk-V7JOEXUC-CE_C6Omz.js} +5 -5
  32. package/dist/{chunk-VR4S4FIN-9-hfI-5e.js → chunk-VR4S4FIN-D6vnTTVa.js} +1 -1
  33. package/dist/{chunk-VR4S4FIN-Dcwfx0Xd.cjs → chunk-VR4S4FIN-D_UlARjR.cjs} +1 -1
  34. package/dist/{chunk-XXDRQBXY-0hmJ1rrX.cjs → chunk-XXDRQBXY-CHQ4xjvz.cjs} +1 -1
  35. package/dist/{chunk-XXDRQBXY-BoKfIRNl.js → chunk-XXDRQBXY-DxM09ngj.js} +1 -1
  36. package/dist/{classDiagram-OUVF2IWQ-DajSJJi9.cjs → classDiagram-OUVF2IWQ-B9uxI2fl.cjs} +1 -1
  37. package/dist/{classDiagram-v2-EOCWNBFH-CEQZaGZr.js → classDiagram-OUVF2IWQ-jJ6UuE0G.js} +2 -2
  38. package/dist/{classDiagram-v2-EOCWNBFH-DajSJJi9.cjs → classDiagram-v2-EOCWNBFH-B9uxI2fl.cjs} +1 -1
  39. package/dist/{classDiagram-OUVF2IWQ-CEQZaGZr.js → classDiagram-v2-EOCWNBFH-jJ6UuE0G.js} +2 -2
  40. package/dist/{code-blocks-Gfo7U6nu.js → code-blocks-UwfqjHr4.js} +134 -125
  41. package/dist/code-blocks-_AnVEB6v.cjs +4 -0
  42. package/dist/code-blocks.cjs +1 -1
  43. package/dist/code-blocks.d.ts +4 -1
  44. package/dist/code-blocks.js +16 -15
  45. package/dist/components/MarkdownRenderer.d.ts +3 -1
  46. package/dist/components/MarkdownViewer.d.ts +3 -1
  47. package/dist/components/SpreadsheetBlock.d.ts +5 -1
  48. package/dist/components/spreadsheetModel.d.ts +2 -1
  49. package/dist/converter.wasm +0 -0
  50. package/dist/{cose-bilkent-JH36ORCC-WVMY9rAf.cjs → cose-bilkent-JH36ORCC-D-Rvw8OU.cjs} +1 -1
  51. package/dist/{cose-bilkent-JH36ORCC-CJfephTa.js → cose-bilkent-JH36ORCC-DSGG9PcV.js} +1 -1
  52. package/dist/{cynefinDiagram-TSTJHNR4-qBuinPMY.js → cynefinDiagram-TSTJHNR4-BN2nXEP2.js} +2 -2
  53. package/dist/{cynefinDiagram-TSTJHNR4-CyHYL4Fv.cjs → cynefinDiagram-TSTJHNR4-CkUvJf5H.cjs} +1 -1
  54. package/dist/{dagre-VKFMJZFB-BGwiWDIl.js → dagre-VKFMJZFB-CYXkN1j9.js} +2 -2
  55. package/dist/{dagre-VKFMJZFB-Bxvx3U_t.cjs → dagre-VKFMJZFB-D8vl7WVr.cjs} +1 -1
  56. package/dist/{diagram-FQU43EPY-C5Fvw5Tn.js → diagram-FQU43EPY-D41uDSK6.js} +2 -2
  57. package/dist/{diagram-FQU43EPY-BwN3uoVa.cjs → diagram-FQU43EPY-ZPLGb9C6.cjs} +1 -1
  58. package/dist/{diagram-G47NLZAW-CvGw3XtN.js → diagram-G47NLZAW-Ci3cml6W.js} +3 -3
  59. package/dist/{diagram-G47NLZAW-CnMUSlXY.cjs → diagram-G47NLZAW-DoacQX3V.cjs} +1 -1
  60. package/dist/{diagram-NH7WQ7WH-D7-uO-bT.js → diagram-NH7WQ7WH-BjQoQdx9.js} +2 -2
  61. package/dist/{diagram-NH7WQ7WH-HR3GmiFi.cjs → diagram-NH7WQ7WH-Dur-6Qn_.cjs} +1 -1
  62. package/dist/{diagram-OA4YK3LP-CUZPu2NV.cjs → diagram-OA4YK3LP-BoW9bfT5.cjs} +1 -1
  63. package/dist/{diagram-OA4YK3LP-Cr51HmOj.js → diagram-OA4YK3LP-C8Q_MhOG.js} +3 -3
  64. package/dist/{diagram-WEI45ONY-DW5TKPfj.cjs → diagram-WEI45ONY-BZ4uT0Rj.cjs} +1 -1
  65. package/dist/{diagram-WEI45ONY-CJ_UXgas.js → diagram-WEI45ONY-D6_yZfox.js} +2 -2
  66. package/dist/{ebnfDiagram-CCIWWBDH-DTWPepW4.js → ebnfDiagram-CCIWWBDH-C_UgNn4T.js} +3 -3
  67. package/dist/{ebnfDiagram-CCIWWBDH-DhgLuRam.cjs → ebnfDiagram-CCIWWBDH-DyfIyzed.cjs} +1 -1
  68. package/dist/{erDiagram-Q63AITRT-i4-z9VHv.js → erDiagram-Q63AITRT-BVdSd8EE.js} +4 -4
  69. package/dist/{erDiagram-Q63AITRT-K888jRhT.cjs → erDiagram-Q63AITRT-SEbTPzis.cjs} +1 -1
  70. package/dist/{extractHeadings-C5f3OovB.cjs → extractHeadings-CqycFjyp.cjs} +66 -66
  71. package/dist/{extractHeadings-BlTc-7J2.js → extractHeadings-DtF_vPft.js} +6189 -6149
  72. package/dist/flowDiagram-23GEKE2U-CgjlFL88.cjs +1 -0
  73. package/dist/flowDiagram-23GEKE2U-DQQK2XS7.js +7 -0
  74. package/dist/{ganttDiagram-NO4QXBWP-Bv5IHau7.cjs → ganttDiagram-NO4QXBWP-BvJvjgBB.cjs} +1 -1
  75. package/dist/{ganttDiagram-NO4QXBWP-C4xkpIAZ.js → ganttDiagram-NO4QXBWP-NSu09usT.js} +2 -2
  76. package/dist/{gitGraphDiagram-IHSO6WYX--LfKa8VN.js → gitGraphDiagram-IHSO6WYX-BdrX1fNr.js} +3 -3
  77. package/dist/{gitGraphDiagram-IHSO6WYX-CergKBJL.cjs → gitGraphDiagram-IHSO6WYX-DGlo8M5c.cjs} +1 -1
  78. package/dist/index.cjs +1 -1
  79. package/dist/index.client.cjs +1 -1
  80. package/dist/index.client.d.ts +1 -1
  81. package/dist/index.client.js +2 -2
  82. package/dist/index.js +2 -2
  83. package/dist/{infoDiagram-FWYZ7A6U-BncN8Ibs.cjs → infoDiagram-FWYZ7A6U-BQ2KDHn7.cjs} +1 -1
  84. package/dist/{infoDiagram-FWYZ7A6U-BPjBgSCd.js → infoDiagram-FWYZ7A6U-Cpllo8Ay.js} +1 -1
  85. package/dist/{ishikawaDiagram-FXEZZL3T-qvB590dl.js → ishikawaDiagram-FXEZZL3T-CfBqlZkJ.js} +1 -1
  86. package/dist/{ishikawaDiagram-FXEZZL3T-Bunjpof6.cjs → ishikawaDiagram-FXEZZL3T-R7t7PhdN.cjs} +1 -1
  87. package/dist/{journeyDiagram-5HDEW3XC-B3fF1ZcO.cjs → journeyDiagram-5HDEW3XC-CYUivBFg.cjs} +1 -1
  88. package/dist/{journeyDiagram-5HDEW3XC-96BtcW1Q.js → journeyDiagram-5HDEW3XC-nQjiMpo7.js} +4 -4
  89. package/dist/{kanban-definition-HUTT4EX6-D79Ulrl0.js → kanban-definition-HUTT4EX6-BaEn9yzf.js} +2 -2
  90. package/dist/{kanban-definition-HUTT4EX6-BGX92Pg4.cjs → kanban-definition-HUTT4EX6-DzbcpTUx.cjs} +1 -1
  91. package/dist/{linear-C3cIVEcf.cjs → linear-BVaigPve.cjs} +1 -1
  92. package/dist/{linear-Du8Ad8fL.js → linear-DrsVMCn4.js} +1 -1
  93. package/dist/{mindmap-definition-LN4V7U3C-dxTmV8jM.cjs → mindmap-definition-LN4V7U3C-CC2tcG-4.cjs} +1 -1
  94. package/dist/{mindmap-definition-LN4V7U3C-IHeW6T5W.js → mindmap-definition-LN4V7U3C-E15w3-v0.js} +3 -3
  95. package/dist/{pegDiagram-2B236MQR-C8WdPYuB.js → pegDiagram-2B236MQR-CPhG0wNC.js} +3 -3
  96. package/dist/{pegDiagram-2B236MQR-CCKva8a7.cjs → pegDiagram-2B236MQR-DoXfoNeB.cjs} +1 -1
  97. package/dist/{pieDiagram-ENE6RG2P--iua_PNq.js → pieDiagram-ENE6RG2P-26xvDL8o.js} +3 -3
  98. package/dist/{pieDiagram-ENE6RG2P-DDFYPeoq.cjs → pieDiagram-ENE6RG2P-DHSRfUNz.cjs} +1 -1
  99. package/dist/{quadrantDiagram-ABIIQ3AL-B1vBDypi.js → quadrantDiagram-ABIIQ3AL-D2EwNK8g.js} +2 -2
  100. package/dist/{quadrantDiagram-ABIIQ3AL-GNHupaaC.cjs → quadrantDiagram-ABIIQ3AL-Dj1A1uBX.cjs} +1 -1
  101. package/dist/{railroadDiagram-RFXS5EU6-DxVBMmTY.js → railroadDiagram-RFXS5EU6-CmVRTon6.js} +3 -3
  102. package/dist/{railroadDiagram-RFXS5EU6-DGrvdfLv.cjs → railroadDiagram-RFXS5EU6-D3lv2Q7P.cjs} +1 -1
  103. package/dist/{requirementDiagram-TGXJPOKE-Dx1G8Vm4.cjs → requirementDiagram-TGXJPOKE-6PGtnf7B.cjs} +1 -1
  104. package/dist/{requirementDiagram-TGXJPOKE-CwzAm7N1.js → requirementDiagram-TGXJPOKE-yhmaA3r-.js} +3 -3
  105. package/dist/{sankeyDiagram-HTMAVEWB-LZRPX9hl.cjs → sankeyDiagram-HTMAVEWB-B_gesApw.cjs} +1 -1
  106. package/dist/{sankeyDiagram-HTMAVEWB-B02naxnk.js → sankeyDiagram-HTMAVEWB-CsXNXTxz.js} +1 -1
  107. package/dist/{sequenceDiagram-DBY2YBRQ-Dl6_8Nxh.js → sequenceDiagram-DBY2YBRQ-B_DxbfeO.js} +3 -3
  108. package/dist/{sequenceDiagram-DBY2YBRQ-DYCLYvHB.cjs → sequenceDiagram-DBY2YBRQ-CHt5e7ke.cjs} +1 -1
  109. package/dist/{sizeCapture-X5ZJPWSS-BEN184OG.cjs → sizeCapture-X5ZJPWSS-BGyd1yDZ.cjs} +1 -1
  110. package/dist/{sizeCapture-X5ZJPWSS-BXRn1Qce.js → sizeCapture-X5ZJPWSS-CxOxfLQd.js} +1 -1
  111. package/dist/{stateDiagram-2N3HPSRC-B3gQQMYs.js → stateDiagram-2N3HPSRC-B8E7AUic.js} +2 -2
  112. package/dist/{stateDiagram-2N3HPSRC-_5ZWQtfK.cjs → stateDiagram-2N3HPSRC-CpVGMgGl.cjs} +1 -1
  113. package/dist/{stateDiagram-v2-6OUMAXLB-D7sTymg2.js → stateDiagram-v2-6OUMAXLB-CR_tgxph.js} +2 -2
  114. package/dist/{stateDiagram-v2-6OUMAXLB-Df1IAtWl.cjs → stateDiagram-v2-6OUMAXLB-DoWuQSH4.cjs} +1 -1
  115. package/dist/styles/markdown.css +1 -1
  116. package/dist/styles/markdown.standalone.css +1 -1
  117. package/dist/{swimlanes-5IMT3BWC-BZOp3NpP.js → swimlanes-5IMT3BWC-B_3S7vnw.js} +3 -3
  118. package/dist/{swimlanes-5IMT3BWC-X71bAiMk.cjs → swimlanes-5IMT3BWC-Bk23bqC6.cjs} +1 -1
  119. package/dist/{swimlanesDiagram-G3AALYLV-Cmbz9m9s.js → swimlanesDiagram-G3AALYLV-97jT_0Hp.js} +2 -2
  120. package/dist/{swimlanesDiagram-G3AALYLV-CdGsaAq-.cjs → swimlanesDiagram-G3AALYLV-ceN3ky5F.cjs} +1 -1
  121. package/dist/{timeline-definition-FHXFAJF6-0ZZxKj9x.cjs → timeline-definition-FHXFAJF6-CeUhiH1R.cjs} +1 -1
  122. package/dist/{timeline-definition-FHXFAJF6-CW8ARSsj.js → timeline-definition-FHXFAJF6-DHAwiGfl.js} +2 -2
  123. package/dist/{vennDiagram-L72KCM5P-RkXD11Pi.cjs → vennDiagram-L72KCM5P-BAaXPRE4.cjs} +1 -1
  124. package/dist/{vennDiagram-L72KCM5P-BJI6ndSG.js → vennDiagram-L72KCM5P-pDhfNh49.js} +1 -1
  125. package/dist/{wardleyDiagram-EHGQE667-CoQXacHo.cjs → wardleyDiagram-EHGQE667-DtSf7K6m.cjs} +1 -1
  126. package/dist/{wardleyDiagram-EHGQE667-CxZ0GBm_.js → wardleyDiagram-EHGQE667-iGNiJ2-c.js} +2 -2
  127. package/dist/{xychartDiagram-FW5EYKEG-tj9Y_Wzq.cjs → xychartDiagram-FW5EYKEG-CT9EuFCG.cjs} +1 -1
  128. package/dist/{xychartDiagram-FW5EYKEG-P_PV9PCQ.js → xychartDiagram-FW5EYKEG-Cb5wTif8.js} +2 -2
  129. package/package.json +9 -9
  130. package/dist/code-blocks-Cpo2S9jm.cjs +0 -4
  131. package/dist/flowDiagram-23GEKE2U-CoPy7PrM.js +0 -7
  132. package/dist/flowDiagram-23GEKE2U-De-TVBgx.cjs +0 -1
package/README.md CHANGED
@@ -610,10 +610,10 @@ Total 200 235
610
610
  ````
611
611
 
612
612
  A table drawn as on its original print — no toolbar, no column letters or row numbers, the columns fitted to their text,
613
- at 71 % and every row shown, with the page scrolling past it:
613
+ at 71 % and every row shown, framed as the print frames it, with the page scrolling past it:
614
614
 
615
615
  ````markdown
616
- ```spreadsheets header=1 footer=1 toolbar=0 headings=0 autofit=1 zoom=71 height=1000
616
+ ```spreadsheets header=1 footer=1 toolbar=0 headings=0 autofit=1 zoom=71 height=1000 frame=2
617
617
  Region Demand Note
618
618
  Kanto 17,600 MT The largest market, served from three ports
619
619
  Total 17,600 MT
@@ -631,6 +631,8 @@ Total 17,600 MT
631
631
  | `toolbar=N` | 0, 1 | 1 | 0 leaves out the toolbar and the table's size; the grid's own keys stay (Ctrl+C, Ctrl+Alt+`=` / `-` / `0`, Alt+wheel, Alt+Shift+Arrow and Alt+Shift+`=`), while full screen, saving and the size buttons go with it, and the table starts without the highlight bands (only the toolbar's toggle turns them off) |
632
632
  | `headings=N` | 0, 1 | 1 | 0 leaves out the column letters, the row numbers and their corner, in the grid and in the plain table (Excel's "headings"; `header=` is the table's own header rows) |
633
633
  | `autofit=N` | 0, 1 | 0 | 1 fits every column to the widest text of all its rows (header rows in bold) when the grid loads, when the table or the options change, and when a web font of the cells' families finishes loading; a column without text keeps its width |
634
+ | `frame=N` | 0–3 | 0 | N from 1 draws a line N CSS px wide (at 100 %) just inside the outer edges of the table's body, the frame a printed table has (see the frame below); 0 draws none |
635
+ | `tapscroll=N` | 0, 1 | 0 | 1 shows the grid's tap-scroll circle on this table, half a control's 44 px target across, in the look the host passes; 0 leaves it out, so a reader scrolling the page past a document's tables meets a circle only where its author asked for one (see the circle below) |
634
636
 
635
637
  - **Options are strict**: words are `key=value` separated by white space, each key at most once, each value a decimal integer
636
638
  without a sign or leading zeros. An unknown key, a repeated key, a malformed word, a value out of range or a `zoom` that is
@@ -661,13 +663,47 @@ Total 17,600 MT
661
663
  first shows it, so the page does not shift when the grid replaces it (a block that mounts after the grid has loaded draws
662
664
  the grid at once) and a reader without JavaScript still sees the data: the column letters (A to Z, more than the box shows
663
665
  at the default 100 px width) above the 64 px band of row numbers (both `aria-hidden`), 24 px rows, the header rows in
664
- `<thead>` as `th scope="col"`, and the footer rows at the bottom when the table holds more rows than the box shows, painted
665
- from the same `--aqsp-*` variables as the grid. It follows the options as the grid will: the block's zoom (CSS `zoom`, so
666
+ `<thead>` as `th scope="col"`, and the footer rows at the bottom when the table holds more rows than the box shows (the
667
+ box goes to the header rows first, as in the grid, and the footer rows get what they leave), painted from the same
668
+ `--aqsp-*` variables as the grid. It follows the options as the grid will: the block's zoom (CSS `zoom`, so
666
669
  the box keeps the grid's height), no letters or numbers with `headings=0`, every row in a box that shows them all, and with
667
670
  `autofit=1` each column at the width of its widest text plus the grid's 9 px (a column without text in the rows drawn keeps
668
671
  100 px; the plain table measures only the rows it draws, so a column may shift a little when the grid, which measures
669
- every row, replaces it). Before the grid loads the box takes the column's width, with the plain table at its start. A
670
- failed load keeps the plain table and shows the error with a retry button.
672
+ every row, replaces it). Before the grid loads the box takes the column's width, with the plain table at its start,
673
+ always shows the vertical scroll bar, and draws its bars as thick as the grid's 12 px (scaled by the zoom) where a
674
+ stylesheet can size them (`::-webkit-scrollbar`, with an inherited `scrollbar-color` reset on the box, since Chromium
675
+ ignores the pseudo-element under one), so a table wider than its box keeps its last row, its frame and its lines where
676
+ the grid's will be. Elsewhere (Firefox) the box draws the browser's thin bar, which does not scale with the zoom and may
677
+ cover the bottom of the last row at small zooms until the grid loads. A failed load keeps the plain table and shows the
678
+ error with a retry button.
679
+ - **The frame** (`frame=N`): the grid's range frame (`@aiquants/spreadsheet` 0.18's `frame`) around the table's body — never
680
+ around the spare row and column an editable table grows into, so the frame is the edge of the table written back, and it
681
+ grows when a reader types past it — in `--aqsp-frame-color` (the text's ink: `#1f2937` light, `#f3f4f6` dark, so the frame
682
+ reads darker than the inner lines, as on a print) and `--aqsp-frame-width` (the block writes `Npx` on its box). It lies
683
+ inside the cells' outer edges, so the layout does not move, scales with the zoom like the cells' lines (the frame belongs
684
+ to the table's picture: at `zoom=71` a 2 px frame is 1.42 px on screen), scrolls with the cells (an edge scrolled out of
685
+ view is not drawn, as in Excel) and joins across the frozen panes. The plain table draws the same line before the grid
686
+ loads (an `::after` over the table, inside the letters and numbers when the headings show), so the frame stays in place
687
+ when the grid replaces it, and leaves open an edge the table runs on past what it draws — the bottom when the box shows
688
+ part of the rows (a footer is drawn at the bottom, so a table with one closes it), the top when the footer rows fill a
689
+ box without header rows (only they are drawn), the end when the table has more columns than A to Z — as the grid leaves
690
+ those edges to a scroll. The frame sits under the active cell's frame, so the focus
691
+ indicator is never covered (WCAG 2.4.11–2.4.13), keeps 3:1 or more on every surface it lies on (WCAG 1.4.11; light
692
+ 14.68:1 on the cells and 13.34:1 on the header rows and bands, dark 16.13:1 and 13.33:1), and stays visible under forced
693
+ colours (a border). It is decoration only: no role, no name, nothing announced.
694
+ - **The tap-scroll circle**: `spreadsheetTapScrollCircle` on `MarkdownRenderer` and `MarkdownViewer` gives the tables of a
695
+ document the look and the speeds of the grid's tap-scroll circle (the grid's `tapScrollCircleOptions`, a
696
+ `ScrollBarTapCircleOptions`, such as `@aiquants/virtualscroll`'s sample visual; the grid's own look when absent). A
697
+ document's table shows the circle only when its options say `tapscroll=1`, and then 22 CSS px across (half the 44 px
698
+ target of the block's controls and of the grid's own circle), so the look's `enabled` and `size` are not read. A host
699
+ that renders `SpreadsheetBlock` itself to show one table (a file preview) passes the circle as `tapScrollCircle`, shown
700
+ as given (`tapScrollCircleShownBy`, `"host"` by default); `"options"` applies the document's rule (the tables
701
+ MarkdownRenderer and the mdast path's `CodeNode` draw use it — the mdast path has no prop for the look, so its tables
702
+ show the grid's own). Keep the circle's identity across renders: the viewer draws the document again when it changes,
703
+ and MarkdownRenderer draws every table's grid again. The 22 px circle is below both WCAG target sizes, 2.5.8's 24 px
704
+ (AA) and 2.5.5's 44 px (AAA), and no exception of theirs covers it: it floats over the cells, which are targets
705
+ themselves, and the table's scroll bars are 12 px. It is an aid a writer opts into per table; the table scrolls without
706
+ it by a finger's drag, the wheel and the keys.
671
707
  - **Reading**: a read-only table (the default) is the grid's `readOnly` — every cell refuses edits and is announced as
672
708
  read-only — while selection, Ctrl+C (the grid's own copy: TSV in Excel's clipboard form and the interop HTML table),
673
709
  scrolling, the zoom, Excel's Ctrl+Arrow data edges, column and row sizes, the active row and column bands (on by default),
@@ -742,8 +778,8 @@ Total 17,600 MT
742
778
  variables on the block's root, for the light scheme (the grid's own defaults) and the dark one (`.dark` or
743
779
  `[data-theme="dark"]` on an ancestor): every text keeps 7:1 on every surface it sits on (the selection, the bands and the
744
780
  error fill composited in), and every mark that carries meaning keeps 3:1 on its surfaces (the selection border, the note
745
- and comment markers, the reference and fill-preview outlines, the freeze divider, the popovers' input border — the same
746
- pairs the grid checks for itself). The toolbar, the menu, the errors and the focus ring use the controls' palette shared
781
+ and comment markers, the reference and fill-preview outlines, the freeze divider, the frame, the popovers' input border —
782
+ the same pairs the grid checks for itself). The toolbar, the menu, the errors and the focus ring use the controls' palette shared
747
783
  with Mermaid.
748
784
  - **Hooks**: `data-aqmd-spreadsheet` (the root, which carries `data-source-lines` and the palette's CSS variables) with its
749
785
  layout `data-aqmd-spreadsheet-layout` (`inline` or `fill`), `data-aqmd-spreadsheet-dialog`, `data-aqmd-spreadsheet-toolbar`,
@@ -754,7 +790,8 @@ Total 17,600 MT
754
790
  `decreaseRowHeight`, `increaseRowHeight`), `data-aqmd-spreadsheet-menu` and `data-aqmd-spreadsheet-menu-item`
755
791
  (`save-with-bom`) with the menu's place `data-aqmd-control-menu` (`start`, `end` or `inside`), `data-aqmd-spreadsheet-size`,
756
792
  `data-aqmd-spreadsheet-box`, `data-aqmd-spreadsheet-static` (with `data-aqmd-spreadsheet-static-letters` and
757
- `data-aqmd-spreadsheet-static-number`), `data-aqmd-spreadsheet-notice`, `data-aqmd-spreadsheet-error` (`options`, `size`
793
+ `data-aqmd-spreadsheet-static-number`, and on a framed table `data-aqmd-spreadsheet-static-frame` with the edges it draws
794
+ by: `-headings`, `-earlier-rows`, `-more-rows` and `-more-columns`), `data-aqmd-spreadsheet-notice`, `data-aqmd-spreadsheet-error` (`options`, `size`
758
795
  or `load`), `data-aqmd-spreadsheet-retry`, and the state attributes `data-aqmd-spreadsheet-editable` and
759
796
  `data-aqmd-spreadsheet-fullscreen` (a host gives the double-click and the keys inside an editable or full-screen table to
760
797
  the grid).
@@ -963,7 +1000,7 @@ placeholder without a value stays as written, so a misspelt one shows rather tha
963
1000
  | `cellAnnouncement`, `readOnlyCellAnnouncement`, `emptyCell` | A cell's announcement (`{cell}` as `B2`, `{value}`) and an empty cell's value | {cell}, {value} / {cell}, {value}, read-only / blank | {cell}、{value} / {cell}、{value}、読み取り専用 / 空白 |
964
1001
  | `selectionAnnouncement` | A selection's announcement (`{range}` as `A1` or `A1:C3`) | {range} selected | {range} を選択 |
965
1002
  | `readOnly`, `formatRefused`, `fenceRefused`, `editConflict`, `unwritable` | The notices of a refused edit | Why the edit was not saved, one text per reason | 同じ |
966
- | `optionsError` | The error of an option that cannot be read (`{word}`, `{frozenMax}`, `{heightMax}`, `{zoomSteps}`) | The table option “{word}” cannot be read. … | 表の指定「{word}」を読めません。… |
1003
+ | `optionsError` | The error of an option that cannot be read (`{word}`, `{frozenMax}`, `{heightMax}`, `{zoomSteps}`, `{frameMax}`) | The table option “{word}” cannot be read. … | 表の指定「{word}」を読めません。… |
967
1004
  | `tooLarge` | The error of a table past the budget (`{cells}`, `{max}`) | This table has {cells} cells, more than the {max} a table shows. Its text is still in the document. | この表のセルは {cells} 個で、表が見せられる {max} 個を超えます。表の文字は文書の中にあります。 |
968
1005
  | `loadFailed`, `retry` | The error of a failed load and its retry button | Could not load the spreadsheet. Check the connection and retry. / Retry | 表を読み込めませんでした。接続を確かめて再試行してください。 / 再試行 |
969
1006
 
@@ -991,8 +1028,8 @@ read as text only), `SPREADSHEETS_LANGUAGE`, `parseSpreadsheetOptions` (the one
991
1028
  word throws `SpreadsheetOptionsError`, a `RangeError` whose `word` names it), `SPREADSHEET_OPTION_RULES` (each option's
992
1029
  field, range, the only values it takes inside the range — `steps`, `null` for any — and value when absent),
993
1030
  `SPREADSHEET_ZOOM_STEP_PERCENTS` (the percents `zoom=` takes: the grid's zoom steps as the toolbar shows them) and the
994
- limits `DEFAULT_SPREADSHEET_VISIBLE_ROWS` (15), `MAX_SPREADSHEET_VISIBLE_ROWS` (1000) and `MAX_SPREADSHEET_FROZEN_TRACKS`
995
- (128). A host's own sanitizer keeps `data-code-meta` on `code` with this name.
1031
+ limits `DEFAULT_SPREADSHEET_VISIBLE_ROWS` (15), `MAX_SPREADSHEET_VISIBLE_ROWS` (1000), `MAX_SPREADSHEET_FROZEN_TRACKS`
1032
+ (128) and `MAX_SPREADSHEET_FRAME_WIDTH_PX` (3). A host's own sanitizer keeps `data-code-meta` on `code` with this name.
996
1033
  It also holds the table block's label catalogs (`SPREADSHEET_BLOCK_LABEL_CATALOGS`) and the placeholders each label's
997
1034
  text takes (`SPREADSHEET_BLOCK_LABEL_PLACEHOLDERS`), so a host can derive its own label keys and texts from them.
998
1035
 
@@ -1,6 +1,6 @@
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";
1
+ import { g as p, r as u, d as a } from "./chunk-MOJQB5TN-Dd8CHqwB.js";
2
+ import { p as f } from "./chunk-JWPE2WC7-DtersqR-.js";
3
+ import { _ as n, U as o } from "./extractHeadings-DtF_vPft.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";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
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./chunk-MOJQB5TN-0CuDPxrC.cjs"),u=require("./chunk-JWPE2WC7-BDRWCymR.cjs"),n=require("./extractHeadings-CqycFjyp.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,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-BlTc-7J2.js";
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-DtF_vPft.js";
2
2
  function cn(l) {
3
3
  return l.innerRadius;
4
4
  }
@@ -1 +1 @@
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
+ "use strict";const n=require("./extractHeadings-CqycFjyp.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,5 +1,5 @@
1
- import { p as Ze } from "./chunk-JWPE2WC7-BHosXdjj.js";
2
- import { bN as qe, _ as gt, an as Qe, aD as Je, U as Fe, O as Ke, K as je, a8 as _e, a9 as tr, J as er, G as rr, ae as ir, ak as ar, ai as nr, al as or, Q as Ee, bG as Te, aZ as pe, Y as sr, R as hr, ad as lr, a_ as fr, bO as cr } from "./extractHeadings-BlTc-7J2.js";
1
+ import { p as Ze } from "./chunk-JWPE2WC7-DtersqR-.js";
2
+ import { bN as qe, _ as gt, an as Qe, aD as Je, U as Fe, O as Ke, K as je, a8 as _e, a9 as tr, J as er, G as rr, ae as ir, ak as ar, ai as nr, al as or, Q as Ee, bG as Te, aZ as pe, Y as sr, R as hr, ad as lr, a_ as fr, bO as cr } from "./extractHeadings-DtF_vPft.js";
3
3
  import { p as gr } from "./cynefin-VYW2F7L2-Bkk-F_Js.js";
4
4
  import { c as be } from "./cytoscape.esm-kVAWcYoG.js";
5
5
  var he = { exports: {} }, le = { exports: {} }, fe = { exports: {} }, ur = fe.exports, Oe;