boardplot 0.61.0 → 0.62.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.
Files changed (397) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/README.md +2 -2
  3. package/dist/{ReaderBox-75LYQMSA.js → ReaderBox-5QFALZHR.js} +5 -5
  4. package/dist/{annotateEngine-CL6ZSRGG.js → annotateEngine-ONWZYNEM.js} +1 -1
  5. package/dist/build-identity.json +3 -3
  6. package/dist/{chunk-CWP5ZYVQ.js → chunk-23YYVMWH.js} +1 -1
  7. package/dist/{chunk-MNPNLXSI.js → chunk-2MK5437T.js} +7 -7
  8. package/dist/{chunk-V3YQQDR4.js → chunk-2P5KBQLT.js} +4 -4
  9. package/dist/{chunk-WVYC6MR6.js → chunk-2VUEIEUO.js} +2 -2
  10. package/dist/{chunk-TASEX7VA.js → chunk-2YXO645A.js} +1 -1
  11. package/dist/{chunk-36KGPRMX.js → chunk-35JGEMCK.js} +35 -28
  12. package/dist/{chunk-VITZVVCD.js → chunk-3DXOZRRW.js} +3 -3
  13. package/dist/{chunk-RV6JDD6S.js → chunk-3H72EFNC.js} +4 -4
  14. package/dist/{chunk-RDJ3ZU6O.js → chunk-3KYSWAEH.js} +13 -8
  15. package/dist/{chunk-WQPMBAG2.js → chunk-3QJVBKRX.js} +37 -37
  16. package/dist/{chunk-T2DGSOAH.js → chunk-3YSLEJPV.js} +1 -1
  17. package/dist/{chunk-DBKMJWPO.js → chunk-3Z4I6LNK.js} +1 -1
  18. package/dist/{chunk-OYCEFOIW.js → chunk-476R7YF4.js} +16 -16
  19. package/dist/{chunk-P3CZFAFA.js → chunk-47IEMR6C.js} +22 -18
  20. package/dist/{chunk-757IKZZU.js → chunk-4HZKH4HS.js} +2 -2
  21. package/dist/{chunk-BKUTKQMT.js → chunk-4NGKSJBX.js} +72 -22
  22. package/dist/{chunk-ZT5Q6BRT.js → chunk-4SK4IGMK.js} +3 -3
  23. package/dist/{chunk-QK2OFTEB.js → chunk-4TTNLFTJ.js} +1 -1
  24. package/dist/{chunk-RD24ORGR.js → chunk-4XDWZJUX.js} +2 -1
  25. package/dist/{chunk-TS472T4D.js → chunk-5FG24HFB.js} +4 -4
  26. package/dist/{chunk-2X6672YL.js → chunk-5J2PQ5EZ.js} +4 -4
  27. package/dist/{chunk-IXCDKCYE.js → chunk-5LUHGXXE.js} +1 -1
  28. package/dist/{chunk-FYFXOLWI.js → chunk-5OUURZ2T.js} +70 -58
  29. package/dist/{chunk-OLEUVUH3.js → chunk-64D7CHCE.js} +4 -4
  30. package/dist/{chunk-WOTRCVA5.js → chunk-6LYMOF2S.js} +3 -3
  31. package/dist/{chunk-6R6LM337.js → chunk-6MXRNA4Z.js} +17 -17
  32. package/dist/{chunk-3GL23VOF.js → chunk-6OM5IYNK.js} +65 -10
  33. package/dist/{chunk-JTCXK7AG.js → chunk-6PR23T2O.js} +1 -1
  34. package/dist/{chunk-VGOZOBNB.js → chunk-6QQPQ2TX.js} +1 -1
  35. package/dist/{chunk-BQBD6Q5J.js → chunk-6RRK3VFP.js} +1 -1
  36. package/dist/{chunk-YM7MO7WI.js → chunk-6WEJGZVQ.js} +1 -1
  37. package/dist/{chunk-SJORKHHL.js → chunk-6XDX3MIU.js} +5 -5
  38. package/dist/{chunk-Y7O3T4DF.js → chunk-75OLP5KB.js} +32 -32
  39. package/dist/{chunk-UIHGGWES.js → chunk-77LQEREO.js} +1 -1
  40. package/dist/{chunk-PRVX4PAO.js → chunk-7JSGG67J.js} +1 -1
  41. package/dist/{chunk-57XHIICM.js → chunk-7NUNEVOU.js} +14 -9
  42. package/dist/{chunk-7ZPHJOG6.js → chunk-7OT6CVQT.js} +1 -1
  43. package/dist/{chunk-EU45YU5W.js → chunk-7R43Y35G.js} +1 -1
  44. package/dist/{chunk-HTLEHU5D.js → chunk-7RAF2HJA.js} +2 -2
  45. package/dist/{chunk-5JZQXMXU.js → chunk-7S57SH2K.js} +9 -9
  46. package/dist/{chunk-HS4DLZ6H.js → chunk-7ZYGEPY2.js} +52 -28
  47. package/dist/{chunk-2KGF6AIK.js → chunk-ABUJPENV.js} +53 -42
  48. package/dist/{chunk-EV3GY7Y3.js → chunk-ADVFTNDL.js} +4 -4
  49. package/dist/{chunk-NNOKYAFB.js → chunk-AFONROHX.js} +2 -2
  50. package/dist/{chunk-MYYDNK72.js → chunk-AO73FLJT.js} +4 -4
  51. package/dist/{chunk-L6OMA45Q.js → chunk-AU2TQN6F.js} +3 -3
  52. package/dist/{chunk-NJKUODK3.js → chunk-BFHAYXUU.js} +2 -2
  53. package/dist/{chunk-6U4J3T2G.js → chunk-BFJKH4AX.js} +1 -1
  54. package/dist/{chunk-3JG764MI.js → chunk-BHO5H4AF.js} +43 -15
  55. package/dist/{chunk-E7FWHKCI.js → chunk-BKZF27CE.js} +2 -2
  56. package/dist/{chunk-VFXGAEUO.js → chunk-BR2ADMLU.js} +1 -1
  57. package/dist/{chunk-OP7K5NSS.js → chunk-BZUHBKMK.js} +4 -4
  58. package/dist/{chunk-RTSSUQ25.js → chunk-C2X6NYMY.js} +1 -1
  59. package/dist/{chunk-R3IPQHWC.js → chunk-C3ULVZI7.js} +2 -2
  60. package/dist/{chunk-ESZIJ5Z6.js → chunk-CFT6W2QY.js} +3 -3
  61. package/dist/{chunk-2BF6HZV7.js → chunk-CPBJII5T.js} +5 -5
  62. package/dist/{chunk-B62SEOJC.js → chunk-CTRPRU4Y.js} +16 -13
  63. package/dist/{chunk-7D65YEEY.js → chunk-CWBM7MXM.js} +3 -3
  64. package/dist/{chunk-OIMT2SSN.js → chunk-CZZXZFYL.js} +2 -2
  65. package/dist/{chunk-7SSN5ECA.js → chunk-D2I2BUR6.js} +1 -1
  66. package/dist/{chunk-ASRICUAD.js → chunk-DCFK2BUL.js} +2 -2
  67. package/dist/{chunk-JXHTZVSV.js → chunk-DVQR5SFL.js} +2 -2
  68. package/dist/{chunk-6JOLPUTW.js → chunk-DWEVPNNE.js} +2 -2
  69. package/dist/{chunk-NCKINI7K.js → chunk-DYG4XMCC.js} +5 -5
  70. package/dist/{chunk-ZMZNMVPR.js → chunk-E46KFVP5.js} +11 -11
  71. package/dist/{chunk-DITI57ZB.js → chunk-EKKRDPVW.js} +1 -1
  72. package/dist/{chunk-PH274WAF.js → chunk-ELFF5YO7.js} +8 -8
  73. package/dist/{chunk-YO7LCXKN.js → chunk-EPRJX5BI.js} +2 -2
  74. package/dist/{chunk-OGD23BIK.js → chunk-EPS7N5ZS.js} +5 -2
  75. package/dist/{chunk-MM2ADIPB.js → chunk-ERIMFXE3.js} +1 -1
  76. package/dist/{chunk-IKTAVMF2.js → chunk-ESS7GAO5.js} +15 -15
  77. package/dist/{chunk-TIVUSWGT.js → chunk-EW77WN7V.js} +2 -2
  78. package/dist/{chunk-56PPEORW.js → chunk-F2IGRFYM.js} +23 -23
  79. package/dist/{chunk-XGJZRPHC.js → chunk-F7LDXGWD.js} +11 -11
  80. package/dist/{chunk-JZK6ZPUM.js → chunk-FC6H5ATA.js} +2 -2
  81. package/dist/{chunk-FTIQ6TI2.js → chunk-FI5VGWUQ.js} +2 -2
  82. package/dist/{chunk-YSKLERPF.js → chunk-FPF73SCJ.js} +18 -15
  83. package/dist/{chunk-JEAUVQTV.js → chunk-FSRAPSO7.js} +25 -25
  84. package/dist/{chunk-JLJ4QRAE.js → chunk-FXKGNJYB.js} +17 -17
  85. package/dist/{chunk-25JXYOSX.js → chunk-FXQH2QJN.js} +1 -1
  86. package/dist/{chunk-EL5E6O3K.js → chunk-GA7CIH6N.js} +23 -18
  87. package/dist/{chunk-KTFUYWN2.js → chunk-GCOFMXFJ.js} +5 -5
  88. package/dist/{chunk-OQKVFWAO.js → chunk-GGWYJNHH.js} +4 -4
  89. package/dist/{chunk-352V2W5P.js → chunk-GNSAYVND.js} +2 -2
  90. package/dist/{chunk-UFKLGMYZ.js → chunk-H7K3RXBQ.js} +1 -1
  91. package/dist/{chunk-EAMZDY55.js → chunk-HCAPGTEA.js} +1 -1
  92. package/dist/{chunk-2T22INLD.js → chunk-HUU76QHF.js} +1 -1
  93. package/dist/{chunk-CVUHCNQO.js → chunk-HV6OKHM6.js} +1 -1
  94. package/dist/{chunk-SSVOJXFR.js → chunk-HYBGISXA.js} +3 -3
  95. package/dist/{chunk-EWG3PCYJ.js → chunk-I37SEVQ4.js} +104 -68
  96. package/dist/{chunk-B76O5YXI.js → chunk-I3UJHKCS.js} +3 -3
  97. package/dist/{chunk-IIKM6NXU.js → chunk-I56NIVFF.js} +4 -4
  98. package/dist/{chunk-5DH5ACTO.js → chunk-IDMGFWB7.js} +132 -114
  99. package/dist/{chunk-YDYZWCUQ.js → chunk-IHZNRJEV.js} +1 -1
  100. package/dist/{chunk-RT4V47U6.js → chunk-IMKHDTEQ.js} +1 -1
  101. package/dist/{chunk-LEPXK7RN.js → chunk-ISNWAYX2.js} +3 -3
  102. package/dist/{chunk-G3CVCW5K.js → chunk-ITPXKZXT.js} +82 -79
  103. package/dist/{chunk-L5RZFP5B.js → chunk-J233F6JA.js} +3 -3
  104. package/dist/{chunk-EQDLZGZO.js → chunk-J6WWK4VC.js} +1 -1
  105. package/dist/{chunk-NJVXE2DU.js → chunk-J77EYTIA.js} +2 -2
  106. package/dist/{chunk-YZW4VLSO.js → chunk-JCZ64D4G.js} +4 -4
  107. package/dist/{chunk-VE6P436Y.js → chunk-JEC6YG2C.js} +34 -20
  108. package/dist/{chunk-GRMAYSIG.js → chunk-JV3S3OCN.js} +19 -18
  109. package/dist/{chunk-F2IHSUPI.js → chunk-K2ZDFPYP.js} +5 -5
  110. package/dist/{chunk-RXC3XU62.js → chunk-K3METEEY.js} +131 -30
  111. package/dist/{chunk-JLZFXNUE.js → chunk-K464WFSQ.js} +4 -4
  112. package/dist/{chunk-CYMSES53.js → chunk-KDRI3KHH.js} +7 -2
  113. package/dist/{chunk-QSMKLDAO.js → chunk-KK7UXU2E.js} +3 -3
  114. package/dist/{chunk-LLHCEZV2.js → chunk-KNTNUQNS.js} +8 -8
  115. package/dist/{chunk-QZAT46PP.js → chunk-KRSI6U6L.js} +1 -0
  116. package/dist/{chunk-T6XSXJDQ.js → chunk-KU5WGRQJ.js} +26 -26
  117. package/dist/{chunk-KY5MSTME.js → chunk-KWBG3P7W.js} +4 -4
  118. package/dist/{chunk-U2YWY6FH.js → chunk-KWKJYMXJ.js} +3 -3
  119. package/dist/{chunk-THKVAXTQ.js → chunk-KWTVCTWS.js} +246 -83
  120. package/dist/{chunk-7ZHM37LQ.js → chunk-KZ7ECRPL.js} +3 -3
  121. package/dist/{chunk-HUCUNGHB.js → chunk-L46NAICE.js} +5 -5
  122. package/dist/{chunk-64577PGJ.js → chunk-L4VGGSB3.js} +4 -4
  123. package/dist/{chunk-YXHSM7QL.js → chunk-L6T7FXEM.js} +6 -6
  124. package/dist/{chunk-XMI7SCPX.js → chunk-LE6QYQRU.js} +2 -2
  125. package/dist/{chunk-WDLWWEHZ.js → chunk-LIMLKOX7.js} +1 -1
  126. package/dist/{chunk-H5YDEIY2.js → chunk-LK5V7U6C.js} +5 -5
  127. package/dist/{chunk-533SNVDD.js → chunk-LNBYRD5Q.js} +4 -4
  128. package/dist/{chunk-USK77VAZ.js → chunk-LTEGXWSU.js} +4 -4
  129. package/dist/{chunk-TB734IYI.js → chunk-LUIHCUMB.js} +4 -4
  130. package/dist/{chunk-TL5ICZT2.js → chunk-MAA5IGGT.js} +2 -2
  131. package/dist/{chunk-MNVMTW7K.js → chunk-MDGVRYXX.js} +18 -18
  132. package/dist/{chunk-M2LYZUQA.js → chunk-MEIDC7ZF.js} +4 -4
  133. package/dist/{chunk-XTECBM5K.js → chunk-MTJZT6F2.js} +5 -5
  134. package/dist/{chunk-P3TOPI3M.js → chunk-MUYU6KTM.js} +1 -1
  135. package/dist/{chunk-F2WMTUWC.js → chunk-MVA2JWM4.js} +2 -2
  136. package/dist/{chunk-EIQTUVJT.js → chunk-MYDVNJAA.js} +1 -1
  137. package/dist/{chunk-I3GRAQHO.js → chunk-NFEVGJJ6.js} +13 -13
  138. package/dist/{chunk-JUTMQGKU.js → chunk-NFSG2WBI.js} +4 -4
  139. package/dist/{chunk-UERGJOG4.js → chunk-NFYF7P6H.js} +36 -28
  140. package/dist/{chunk-E6IN6QDF.js → chunk-NL2K3CZM.js} +5 -5
  141. package/dist/{chunk-VJAZFGBY.js → chunk-NTONEZH5.js} +20 -20
  142. package/dist/{chunk-QER2YJHC.js → chunk-NTSJ2RXB.js} +4 -4
  143. package/dist/{chunk-OIPBVU7G.js → chunk-NVPORMKX.js} +15 -15
  144. package/dist/{chunk-PGKGK43I.js → chunk-NXA2CNVU.js} +16 -10
  145. package/dist/{chunk-R2RLERPT.js → chunk-NYROTVGH.js} +1 -1
  146. package/dist/{chunk-IKH3DWS2.js → chunk-NZHIXLKM.js} +19 -17
  147. package/dist/{chunk-5ZGCGIHG.js → chunk-OCANU74G.js} +3 -3
  148. package/dist/{chunk-EM33NXGZ.js → chunk-OF4VHET3.js} +4 -4
  149. package/dist/{chunk-UXJXA4NP.js → chunk-OJLXBFI3.js} +1 -1
  150. package/dist/{chunk-BJ5GI5ZB.js → chunk-OLXZXEKQ.js} +1 -1
  151. package/dist/{chunk-FKRL2ZB2.js → chunk-OQGSYQLE.js} +1 -1
  152. package/dist/{chunk-A4UL5GIM.js → chunk-OQQGM2TM.js} +1 -1
  153. package/dist/{chunk-EOPDGMDS.js → chunk-OQRTTGYP.js} +22 -1
  154. package/dist/{chunk-35RSAHLK.js → chunk-OQTD4GN4.js} +1 -1
  155. package/dist/{chunk-UXAON5DO.js → chunk-OXWIBDJP.js} +2 -2
  156. package/dist/{chunk-F7QCIJAY.js → chunk-OYDZO5BR.js} +1 -1
  157. package/dist/{chunk-OR7KKODW.js → chunk-PDUF6EII.js} +9 -9
  158. package/dist/{chunk-XLP6U3FG.js → chunk-PHRQAWK4.js} +2 -2
  159. package/dist/{chunk-FY3VV7TF.js → chunk-PM5D5KYQ.js} +67 -30
  160. package/dist/{chunk-TI5PPS3L.js → chunk-Q5BD6PMX.js} +19 -19
  161. package/dist/{chunk-LMDU5MNF.js → chunk-QEEE2WH5.js} +4 -4
  162. package/dist/{chunk-OUSYBIGE.js → chunk-QMGCL5FR.js} +4 -4
  163. package/dist/{chunk-M4IIJ24E.js → chunk-QMZPQU65.js} +2 -2
  164. package/dist/{chunk-7VWXXBTC.js → chunk-QSNEZ4UR.js} +1 -1
  165. package/dist/{chunk-LT7IY2L3.js → chunk-QSWLPQCW.js} +27 -23
  166. package/dist/{chunk-FBUAKQAI.js → chunk-R55LS2W2.js} +24 -24
  167. package/dist/{chunk-TWMVAPG2.js → chunk-RDXJAEZ4.js} +4 -4
  168. package/dist/{chunk-VR3HLYAT.js → chunk-RDZNRSAB.js} +2 -2
  169. package/dist/{chunk-K2RZKPQ2.js → chunk-RFUSBITY.js} +1 -1
  170. package/dist/{chunk-NSQBT4CM.js → chunk-RIGQU57Y.js} +7 -7
  171. package/dist/{chunk-YBMYW7LD.js → chunk-RNA5GO3B.js} +2 -2
  172. package/dist/{chunk-LH5URXDJ.js → chunk-RODV3OHP.js} +294 -180
  173. package/dist/{chunk-EKYVRXTE.js → chunk-RPK657TE.js} +16 -2
  174. package/dist/{chunk-KJF7SLOA.js → chunk-SAVO62PW.js} +1 -1
  175. package/dist/{chunk-JE54IO26.js → chunk-SB2DHY53.js} +18 -18
  176. package/dist/{chunk-NHQKHMIS.js → chunk-SBHPRHKB.js} +4 -4
  177. package/dist/{chunk-JIVNJBXI.js → chunk-SBPFCQNK.js} +4 -4
  178. package/dist/{chunk-GSR6UO7H.js → chunk-SFPHP3CC.js} +2 -2
  179. package/dist/{chunk-GCZHZVNX.js → chunk-SIZW5V4G.js} +16 -12
  180. package/dist/{chunk-S7AHPU2N.js → chunk-SJ5KVLTG.js} +1 -1
  181. package/dist/{chunk-4ORV4RGE.js → chunk-SJZLWRRY.js} +8 -8
  182. package/dist/{chunk-RMBWY5JE.js → chunk-SOAB4G33.js} +4 -4
  183. package/dist/{chunk-LPLRXEOT.js → chunk-ST2IQX7U.js} +57 -17
  184. package/dist/{chunk-6U7VIQLV.js → chunk-T33R2CM3.js} +7 -7
  185. package/dist/{chunk-3553PK6F.js → chunk-T4ZE7AIX.js} +2 -2
  186. package/dist/{chunk-NWJ4DXAZ.js → chunk-TCQ733WC.js} +15 -15
  187. package/dist/{chunk-X4NDN6PQ.js → chunk-TGTKAIDU.js} +15 -10
  188. package/dist/{chunk-W2QJDTAR.js → chunk-U4PDXI67.js} +4 -4
  189. package/dist/{chunk-5EU5DLA3.js → chunk-UGTYYTPP.js} +2 -2
  190. package/dist/{chunk-PCHV6KYJ.js → chunk-UL3RNOYB.js} +3 -3
  191. package/dist/{chunk-6QUQEN75.js → chunk-UOTZH4TG.js} +2 -2
  192. package/dist/{chunk-LHQFDRQV.js → chunk-UQSH52UJ.js} +4 -4
  193. package/dist/{chunk-SGTSTGIP.js → chunk-UWT66OAR.js} +1 -1
  194. package/dist/{chunk-GNB4JQTB.js → chunk-V4NJTLJP.js} +12 -12
  195. package/dist/{chunk-SY7JC3PH.js → chunk-V4YJRZHE.js} +1 -1
  196. package/dist/{chunk-YUEJZBME.js → chunk-V5Y3CXSU.js} +4 -4
  197. package/dist/{chunk-H26UA4UM.js → chunk-VZFPQMYN.js} +9 -9
  198. package/dist/{chunk-ULXSTWJF.js → chunk-W35C2SL3.js} +2 -2
  199. package/dist/{chunk-TFYVBPGR.js → chunk-W6ZCXWOK.js} +1 -1
  200. package/dist/{chunk-P2QIWGFU.js → chunk-WDP7IDGF.js} +13 -13
  201. package/dist/{chunk-RZQU5DHD.js → chunk-WDQJ2DRZ.js} +14 -14
  202. package/dist/{chunk-DOVEWKJ6.js → chunk-WKBW4JFU.js} +1 -1
  203. package/dist/{chunk-OLAPTOUH.js → chunk-WM65Q3AL.js} +1 -1
  204. package/dist/{chunk-55BVHNZQ.js → chunk-WO6ZJCAO.js} +4 -4
  205. package/dist/chunk-WSRGEK5T.js +89 -0
  206. package/dist/{chunk-MBRVSKFJ.js → chunk-WXGBSBHQ.js} +13 -12
  207. package/dist/{chunk-7JM235F7.js → chunk-WXOSGKMS.js} +8 -8
  208. package/dist/{chunk-V4XTBNZD.js → chunk-XBASXPUJ.js} +2 -2
  209. package/dist/{chunk-BVE5LPOA.js → chunk-XDDFM3BH.js} +6 -6
  210. package/dist/{chunk-7WC2N4QZ.js → chunk-XJOCPL6R.js} +2 -2
  211. package/dist/{chunk-24O6BRKD.js → chunk-XJSI7ZO2.js} +1 -1
  212. package/dist/{chunk-4ZIFMZO4.js → chunk-XKGZWQF7.js} +3 -3
  213. package/dist/{chunk-WY7FHINS.js → chunk-XLHURGH3.js} +5 -5
  214. package/dist/{chunk-UGH3CLTZ.js → chunk-XWQDNJ36.js} +4 -4
  215. package/dist/{chunk-QJPI55S5.js → chunk-YBQ4F27M.js} +4 -4
  216. package/dist/{chunk-WK6LQCUT.js → chunk-YDT6QZZK.js} +9 -9
  217. package/dist/{chunk-YRWJBS6C.js → chunk-YE6B7P6Q.js} +1 -1
  218. package/dist/{chunk-WSHSR3B2.js → chunk-YERTQ576.js} +4 -4
  219. package/dist/{chunk-GEQSZ5RE.js → chunk-YF4DIQJR.js} +3 -3
  220. package/dist/{chunk-LFL4KMKF.js → chunk-YHLKL4R5.js} +3 -3
  221. package/dist/{chunk-I4A4MY3S.js → chunk-YHSY6CVM.js} +4 -4
  222. package/dist/{chunk-XC53YNZG.js → chunk-YJGZ3AOW.js} +2 -2
  223. package/dist/{chunk-F37PADCM.js → chunk-YKK25QM4.js} +4 -4
  224. package/dist/{chunk-YUJK6ZYO.js → chunk-YMBJHKTY.js} +2 -2
  225. package/dist/{chunk-EV7AATQM.js → chunk-YTFU2B5K.js} +2 -2
  226. package/dist/{chunk-GZ6MPJKY.js → chunk-YUIITZCO.js} +3 -3
  227. package/dist/{chunk-XHEG2BG6.js → chunk-Z3VCVPYX.js} +1 -1
  228. package/dist/{chunk-FNDDKZ4Z.js → chunk-ZB4WVG7Q.js} +1 -1
  229. package/dist/{chunk-JG35YUYX.js → chunk-ZCB5MLPW.js} +3 -3
  230. package/dist/{chunk-BF6KECQD.js → chunk-ZDQ2EWWH.js} +32 -28
  231. package/dist/{chunk-LL7ZU6BT.js → chunk-ZG46HLGN.js} +108 -81
  232. package/dist/chunk-ZGL2P56Z.js +11 -0
  233. package/dist/{chunk-WBIMWGV7.js → chunk-ZIAPNZ6R.js} +4 -4
  234. package/dist/{chunk-Z2WGJH2P.js → chunk-ZLIVUVIV.js} +28 -16
  235. package/dist/{chunk-32FGSRR3.js → chunk-ZMCTTTR2.js} +4 -4
  236. package/dist/{chunk-LTYDEWKW.js → chunk-ZYJZ624V.js} +5 -5
  237. package/dist/cli/index.js +2 -2
  238. package/dist/{core-NL6TMYOZ.js → core-2DRDBSL7.js} +2 -1
  239. package/dist/{core-CTI37JP5.js → core-2VAPYQDA.js} +2 -1
  240. package/dist/{core-XINQIYQ6.js → core-3JGHUUZZ.js} +2 -1
  241. package/dist/{core-LCX7EK3Y.js → core-3KMBTZ32.js} +2 -1
  242. package/dist/{core-EQP4ERQK.js → core-4HEB3CRT.js} +2 -1
  243. package/dist/{core-3H2PZVYN.js → core-4WT74WGL.js} +2 -1
  244. package/dist/{core-UPPUXBWO.js → core-4ZUNKYYC.js} +2 -1
  245. package/dist/{core-4SX63YE4.js → core-5VCTJDQM.js} +2 -1
  246. package/dist/{core-NPCHUGTV.js → core-AJANHLTB.js} +2 -1
  247. package/dist/{core-OO22DXBW.js → core-AL3TDBHQ.js} +5 -1
  248. package/dist/{core-76KPBWTL.js → core-ATBNPTR5.js} +2 -1
  249. package/dist/{core-QACGDEDF.js → core-BIEUVBZK.js} +2 -1
  250. package/dist/{core-RZ5ZDSQL.js → core-C2CCLPE5.js} +2 -1
  251. package/dist/{core-BEBRTX5W.js → core-C3VC6YEV.js} +2 -1
  252. package/dist/{core-LSN2YKO4.js → core-DCWAUTD4.js} +2 -1
  253. package/dist/{core-7LODBY2T.js → core-GYDBZC7Q.js} +2 -1
  254. package/dist/{core-SERUDXVA.js → core-H3RRJPQK.js} +2 -1
  255. package/dist/{core-GGKGWGHO.js → core-HAMHEP3M.js} +2 -1
  256. package/dist/{core-FZJOKAFE.js → core-HRBOWCHO.js} +2 -1
  257. package/dist/{core-ZYLCLTFQ.js → core-IHG5XK6Q.js} +2 -1
  258. package/dist/{core-2SCAWP7F.js → core-JNA7L23P.js} +2 -1
  259. package/dist/{core-UOATHRZG.js → core-JTHVZEC4.js} +2 -1
  260. package/dist/{core-2ZRSLX2J.js → core-JXCXTDYK.js} +2 -1
  261. package/dist/{core-DZVYQFBX.js → core-LL2O5PBD.js} +2 -1
  262. package/dist/{core-S56FGRAT.js → core-NNHCWP3B.js} +2 -1
  263. package/dist/{core-E6Q3H52Q.js → core-OM3DGO6B.js} +2 -1
  264. package/dist/{core-7PNZRGK7.js → core-QH3H6ZPI.js} +2 -1
  265. package/dist/{core-V55HGH7X.js → core-QKDNA6KJ.js} +2 -1
  266. package/dist/{core-2IWCOLCX.js → core-R6OE3ORL.js} +2 -1
  267. package/dist/{core-Y3WI32MB.js → core-RZI7LRK3.js} +2 -1
  268. package/dist/{core-J7ZHSASB.js → core-SXBMOZ3W.js} +2 -1
  269. package/dist/{core-W5WF7FHA.js → core-TXADFQ3I.js} +2 -1
  270. package/dist/{core-UYTRLCZY.js → core-UOB4JKCT.js} +2 -1
  271. package/dist/{core-7RSXZIVD.js → core-WIV43MFA.js} +2 -1
  272. package/dist/{core-B7TS5HK6.js → core-XDPELH2B.js} +2 -1
  273. package/dist/{core-DICZFWV4.js → core-YKHQUOAW.js} +2 -1
  274. package/dist/{core-ZFXHFRWI.js → core-ZXGKAECT.js} +2 -1
  275. package/dist/{dataTable-72HO6PCW.js → dataTable-JBVSQNJX.js} +3 -2
  276. package/dist/{engine-UCMXMWGA.js → engine-QUEIPS7M.js} +26 -13
  277. package/dist/fixtures.js +2 -1
  278. package/dist/fonts.js +4 -4
  279. package/dist/index.js +21 -20
  280. package/dist/{main-NS5NPNQ7.js → main-V264O3WR.js} +8 -7
  281. package/dist/mcp/server.js +14 -13
  282. package/dist/react/bar.js +3 -1
  283. package/dist/react/bartable.js +3 -1
  284. package/dist/react/box.js +3 -1
  285. package/dist/react/bullet.js +3 -1
  286. package/dist/react/butterfly.js +3 -1
  287. package/dist/react/choropleth.js +3 -1
  288. package/dist/react/cohort.js +3 -1
  289. package/dist/react/column.js +3 -1
  290. package/dist/react/combo.js +3 -1
  291. package/dist/react/creative.js +3 -1
  292. package/dist/react/diagram.js +3 -1
  293. package/dist/react/dimswitch.js +2 -1
  294. package/dist/react/dot.js +3 -1
  295. package/dist/react/export.js +19 -18
  296. package/dist/react/funnel.js +3 -1
  297. package/dist/react/gantt.js +3 -1
  298. package/dist/react/grid.js +5 -1
  299. package/dist/react/heatmap.js +3 -1
  300. package/dist/react/histogram.js +3 -1
  301. package/dist/react/index.js +86 -84
  302. package/dist/react/kpi.js +3 -1
  303. package/dist/react/likert.js +3 -1
  304. package/dist/react/line.js +3 -1
  305. package/dist/react/mekko.js +3 -1
  306. package/dist/react/pareto.js +3 -1
  307. package/dist/react/pie.js +3 -1
  308. package/dist/react/prepare.js +23 -21
  309. package/dist/react/pvm.js +3 -1
  310. package/dist/react/pyramid.js +3 -1
  311. package/dist/react/sankey.js +3 -1
  312. package/dist/react/scatter.js +3 -1
  313. package/dist/react/slope.js +3 -1
  314. package/dist/react/sparkline.js +3 -1
  315. package/dist/react/spec.js +12 -10
  316. package/dist/react/status.js +3 -1
  317. package/dist/react/story.js +4 -3
  318. package/dist/react/table.js +2 -1
  319. package/dist/react/theme.js +4 -3
  320. package/dist/react/tilemap.js +3 -1
  321. package/dist/react/treemap.js +3 -1
  322. package/dist/react/variance.js +3 -1
  323. package/dist/react/waffle.js +3 -1
  324. package/dist/react/waterfall.js +3 -1
  325. package/dist/{resvg-ZYEZTSUO.js → resvg-M5HJ3ME3.js} +1 -1
  326. package/dist/{rowsModule-QGCXTE6X.js → rowsModule-6UL4SSUC.js} +1 -1
  327. package/dist/{schema-CWOPBOK4.js → schema-3FSG2YXY.js} +1 -1
  328. package/dist/{schema-4SRLAXUP.js → schema-5PQPGEZQ.js} +1 -1
  329. package/dist/{schema-GAUZZRA4.js → schema-6LUORZNN.js} +1 -1
  330. package/dist/{schema-AGKSRVXN.js → schema-6MDHX2E7.js} +1 -1
  331. package/dist/{schema-UEZQN4WK.js → schema-7HXHGBUN.js} +1 -1
  332. package/dist/{schema-G6KGEQRD.js → schema-ACOD4XKI.js} +1 -1
  333. package/dist/{schema-C3PYINCY.js → schema-B3I7XBP3.js} +1 -1
  334. package/dist/{schema-MCA4J2BP.js → schema-CCOTGURZ.js} +1 -1
  335. package/dist/{schema-FSX7WR7M.js → schema-E5O7M5KM.js} +1 -1
  336. package/dist/{schema-RRZXOF5G.js → schema-EWATAK6Z.js} +1 -1
  337. package/dist/{schema-2BFNQ5GW.js → schema-FEBMLOZG.js} +1 -1
  338. package/dist/{schema-WWWWEQAR.js → schema-FL57LIU2.js} +1 -1
  339. package/dist/{schema-YUMFWHIE.js → schema-FTRAVEX3.js} +2 -1
  340. package/dist/{schema-E2WWDYU5.js → schema-GSKCG2WP.js} +1 -1
  341. package/dist/{schema-6WNG4LCV.js → schema-HVDY6QXK.js} +1 -1
  342. package/dist/{schema-3IXLM7X4.js → schema-I267TVQ4.js} +1 -1
  343. package/dist/{schema-6PLNMFVY.js → schema-IG2WGTQO.js} +1 -1
  344. package/dist/{schema-ZFUX3UIO.js → schema-ITZQDKSE.js} +1 -1
  345. package/dist/{schema-JKZBRZSI.js → schema-LCOGZNQF.js} +1 -1
  346. package/dist/{schema-7WNRP7FW.js → schema-MC3CQNPR.js} +1 -1
  347. package/dist/{schema-AMIFJ2JX.js → schema-MP2QNFCN.js} +1 -1
  348. package/dist/{schema-FOBGNU5I.js → schema-NYCMLGOW.js} +1 -1
  349. package/dist/{schema-ENLWEZOI.js → schema-OML7XS7J.js} +1 -1
  350. package/dist/{schema-7XQMEJII.js → schema-QAAVXXYR.js} +1 -1
  351. package/dist/{schema-XQSP5QAX.js → schema-QPYFXSEQ.js} +1 -1
  352. package/dist/{schema-JJIXQIBN.js → schema-RJBIXN5U.js} +1 -1
  353. package/dist/{schema-MM7JPYI7.js → schema-RW47HWVO.js} +1 -1
  354. package/dist/{schema-PVUWOLUB.js → schema-S7Q4YR7R.js} +1 -1
  355. package/dist/{schema-OIY565PO.js → schema-SWVWMZY3.js} +1 -1
  356. package/dist/{schema-EAYC5DVH.js → schema-T3RSFE2V.js} +1 -1
  357. package/dist/{schema-O5HGNE3W.js → schema-T4CGWZLB.js} +4 -2
  358. package/dist/{schema-2XGHH7PU.js → schema-TXYKZ5NT.js} +1 -1
  359. package/dist/{schema-ZBIIPJAI.js → schema-U6CZI6XG.js} +1 -1
  360. package/dist/{schema-BK2TU6XT.js → schema-XE4WY64H.js} +1 -1
  361. package/dist/{schema-ETH6WXZU.js → schema-YDWVXQPK.js} +1 -1
  362. package/dist/{schema-GQPXSWIR.js → schema-YPGXVI22.js} +1 -1
  363. package/dist/{schema-GFRB4BJW.js → schema-ZMOIP2BK.js} +1 -1
  364. package/dist/{specValidation-5AI56FM3.js → specValidation-6LVTTHZI.js} +2 -1
  365. package/dist/theme.js +3 -3
  366. package/dist/{themeShapeRules-GGBYWZY7.js → themeShapeRules-NDEXKFC7.js} +1 -1
  367. package/dist/types/core/charts/bar/layout.d.ts +1 -1
  368. package/dist/types/core/charts/column/model.d.ts +3 -1
  369. package/dist/types/core/charts/grid/metricStack.d.ts +35 -3
  370. package/dist/types/core/charts/grid/metricStackSchema.d.ts +8 -0
  371. package/dist/types/core/charts/grid/schema.d.ts +5 -0
  372. package/dist/types/core/charts/scatter/layout.d.ts +18 -1
  373. package/dist/types/core/charts/scatter/marks.d.ts +94 -0
  374. package/dist/types/core/charts/scatter/zones.d.ts +52 -0
  375. package/dist/types/core/fontMetrics/index.d.ts +3 -1
  376. package/dist/types/core/fontMetrics/injected.d.ts +1 -0
  377. package/dist/types/core/frame.d.ts +7 -2
  378. package/dist/types/core/label/occupied.d.ts +1 -1
  379. package/dist/types/core/registry.d.ts +2 -0
  380. package/dist/types/core/request.d.ts +7 -0
  381. package/dist/types/core/sizing.d.ts +9 -0
  382. package/dist/types/core/themeGeometry.d.ts +184 -0
  383. package/dist/types/core/types/options.d.ts +6 -0
  384. package/dist/types/core/types/scene.d.ts +11 -0
  385. package/dist/types/core/types/theme.d.ts +11 -0
  386. package/dist/types/react/hover/placement.d.ts +11 -0
  387. package/dist/types/react/prepare.d.ts +2 -1
  388. package/dist/types/react/useHover.d.ts +1 -0
  389. package/dist/validate.js +8 -6
  390. package/docs/manual.md +4 -2
  391. package/docs/reference/fixtures.md +3 -0
  392. package/docs/reference/grid.md +23 -10
  393. package/docs/reference/options.md +3 -0
  394. package/docs/reference/react.md +2 -0
  395. package/docs/reference/theme.md +4 -1
  396. package/package.json +1 -1
  397. package/dist/chunk-BOQQARLT.js +0 -89
@@ -3,19 +3,19 @@ import {
3
3
  sharedKeys10,
4
4
  sharedKeys5,
5
5
  sharedKeys9
6
- } from "./chunk-IXCDKCYE.js";
6
+ } from "./chunk-5LUHGXXE.js";
7
7
  import {
8
8
  optionKeyCheck
9
9
  } from "./chunk-Z6H5ED2I.js";
10
10
  import {
11
11
  createChartComponent
12
- } from "./chunk-36KGPRMX.js";
12
+ } from "./chunk-35JGEMCK.js";
13
13
  import {
14
14
  bulletCore
15
- } from "./chunk-TI5PPS3L.js";
15
+ } from "./chunk-Q5BD6PMX.js";
16
16
  import {
17
17
  registeredType
18
- } from "./chunk-7SSN5ECA.js";
18
+ } from "./chunk-D2I2BUR6.js";
19
19
 
20
20
  // src/react/charts/bullet.ts
21
21
  var checkOptionKeys = optionKeyCheck({ tree: { target: 0, textScale: 0, textSize: 0, a11y: { title: 0, description: 0, table: 0 }, mode: 0, belowMinimum: 0, size: { width: 0, height: 0, unit: 0 }, embed: { width: 0 }, margin: { top: 0, right: 0, bottom: 0, left: 0 }, canvas: { margin: { top: 0, right: 0, bottom: 0, left: 0 } }, title: 0, subtitle: { company: 0, measure: 0, period: 0, scenarios: 0 }, unit: 0, unitShown: 0, source: 0, footnotes: 0, notes: { maxListed: 0, placement: 0, maxLines: 0, show: 0, pointer: 0 }, theme: { preset: 0, overrides: 0 }, locale: { language: 0, decimal: 0, thousands: 0, minusGlyph: 0, weekStartsOn: 0 }, strings: sharedKeys10, format: 0, smallValues: 0, palette: 0, labelDensity: 0, labels: 0, labelPlacements: 0, labelOffsets: { "*": { x: 0, y: 0 } }, legend: { position: 0, order: 0 }, valueAxis: sharedKeys0, scaleGroup: { y: 0, id: 0 }, rowLabels: { align: 0 }, sort: { categories: 0, segments: 0 }, bandFraction: 0, highlight: 0, story: { steps: { "[]": { id: 0, title: 0, body: 0, highlight: 0 } }, step: 0 }, focus: sharedKeys5, colorblindSafe: 0, interactive: 0, annotations: sharedKeys9, columnOverrides: { "*": { width: 0, align: 0, headAlign: 0, label: 0 } }, columnVisibility: 0, columnOrder: 0, axisTitles: { primary: 0 }, sharedScale: 0, bandKey: 0, targetColumns: 0, density: 0 }, labels: ["category", "point", "axisTitle", "annotation", "position", "direction"] }), BulletChart = createChartComponent(registeredType(bulletCore), checkOptionKeys);
@@ -2,10 +2,10 @@ import {
2
2
  distinctCut,
3
3
  fitText,
4
4
  shrinkFont
5
- } from "./chunk-Z2WGJH2P.js";
5
+ } from "./chunk-ZLIVUVIV.js";
6
6
  import {
7
7
  microType
8
- } from "./chunk-BKUTKQMT.js";
8
+ } from "./chunk-4NGKSJBX.js";
9
9
  import {
10
10
  DEFAULT_TARGET,
11
11
  targetFloorsPx
@@ -13,7 +13,7 @@ import {
13
13
  refusedBaseOptions,
14
14
  scenarioField,
15
15
  valueKindSchema
16
- } from "./chunk-OGD23BIK.js";
16
+ } from "./chunk-EPS7N5ZS.js";
17
17
 
18
18
  // src/core/charts/mekko/schema.ts
19
19
  import * as z from "zod";
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-O3VN6BTL.js";
4
4
  import {
5
5
  cleanSum
6
- } from "./chunk-BKUTKQMT.js";
6
+ } from "./chunk-4NGKSJBX.js";
7
7
  import {
8
8
  normalizeCategory,
9
9
  normalizeSeriesValues
@@ -13,7 +13,7 @@ import {
13
13
  scenarioField,
14
14
  topNWithoutRestCount,
15
15
  valueKindSchema
16
- } from "./chunk-OGD23BIK.js";
16
+ } from "./chunk-EPS7N5ZS.js";
17
17
 
18
18
  // src/core/charts/variance/schema.ts
19
19
  import * as z from "zod";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  bandSizing
3
- } from "./chunk-FY3VV7TF.js";
3
+ } from "./chunk-PM5D5KYQ.js";
4
4
 
5
5
  // src/core/charts/waterfall/bandFloor.ts
6
6
  var LABEL_AIR = 8, COMPACT_ROW_AIR = 4, BAR_AIR = 2, STAGGER_AIR = BAR_AIR, centre = (rect) => rect.x + rect.w / 2, sameHeight = (a, b) => a.y < b.y + b.h && b.y < a.y + a.h, oneRow = (a, b) => Math.min(a.y + a.h, b.y + b.h) - Math.max(a.y, b.y) >= Math.min(a.h, b.h) / 2;
@@ -3,13 +3,13 @@ import {
3
3
  } from "./chunk-Z6H5ED2I.js";
4
4
  import {
5
5
  createChartComponent
6
- } from "./chunk-36KGPRMX.js";
6
+ } from "./chunk-35JGEMCK.js";
7
7
  import {
8
8
  diagramCore
9
- } from "./chunk-57XHIICM.js";
9
+ } from "./chunk-7NUNEVOU.js";
10
10
  import {
11
11
  registeredType
12
- } from "./chunk-7SSN5ECA.js";
12
+ } from "./chunk-D2I2BUR6.js";
13
13
 
14
14
  // src/react/charts/diagram.ts
15
15
  var checkOptionKeys = optionKeyCheck({ tree: { a11y: { title: 0, description: 0, table: 0 }, target: 0, textScale: 0, textSize: 0, size: { width: 0, height: 0, unit: 0 }, mode: 0, embed: { width: 0 }, margin: { top: 0, right: 0, bottom: 0, left: 0 }, canvas: { margin: { top: 0, right: 0, bottom: 0, left: 0 } }, title: 0, subtitle: { company: 0, measure: 0, period: 0, scenarios: 0 }, source: 0, footnotes: 0, notes: { maxListed: 0, placement: 0, maxLines: 0, show: 0, pointer: 0 }, theme: { preset: 0, overrides: 0 }, locale: { language: 0, decimal: 0, thousands: 0, minusGlyph: 0, weekStartsOn: 0 }, palette: 0, colorblindSafe: 0, interactive: 0, variant: 0, flow: 0, heightFill: 0, highlight: 0 } }), DiagramChart = createChartComponent(registeredType(diagramCore), checkOptionKeys);
@@ -6,7 +6,7 @@ import {
6
6
  ratioTierCanRender,
7
7
  ratioTierMetrics,
8
8
  ratioTierSpacingWarnings
9
- } from "./chunk-NCKINI7K.js";
9
+ } from "./chunk-DYG4XMCC.js";
10
10
  import {
11
11
  FORCE_CATEGORY_RANKS,
12
12
  KEY_EDGE_SERIES,
@@ -43,7 +43,7 @@ import {
43
43
  tickKeyed,
44
44
  toDateOnValues,
45
45
  withCategoryRanks
46
- } from "./chunk-2KGF6AIK.js";
46
+ } from "./chunk-ABUJPENV.js";
47
47
  import {
48
48
  ANOMALY_FLAG_GAP,
49
49
  ANOMALY_FLAG_H,
@@ -54,7 +54,7 @@ import {
54
54
  bandedCrossesBetween,
55
55
  chartString as chartString2,
56
56
  columnCorridorPaint
57
- } from "./chunk-WY7FHINS.js";
57
+ } from "./chunk-XLHURGH3.js";
58
58
  import {
59
59
  DEFAULT_OTHERS_SHADE
60
60
  } from "./chunk-RQ5DNYLG.js";
@@ -65,7 +65,7 @@ import {
65
65
  signColorOverrides,
66
66
  signPaint,
67
67
  totalLabelCandidates
68
- } from "./chunk-EU45YU5W.js";
68
+ } from "./chunk-7R43Y35G.js";
69
69
  import {
70
70
  REFERENCE_MARKER_R,
71
71
  chosenValueIndices,
@@ -75,7 +75,7 @@ import {
75
75
  referenceMarkerKey,
76
76
  withBandValueNotes,
77
77
  withValueLabelDefaults
78
- } from "./chunk-LLHCEZV2.js";
78
+ } from "./chunk-KNTNUQNS.js";
79
79
  import {
80
80
  restValueHiding,
81
81
  restValuesHidden
@@ -84,7 +84,7 @@ import {
84
84
  hasLabelPosition,
85
85
  positionBarLabel,
86
86
  refuseLabelPosition
87
- } from "./chunk-EIQTUVJT.js";
87
+ } from "./chunk-MYDVNJAA.js";
88
88
  import {
89
89
  netLineName,
90
90
  onePartDrawn,
@@ -92,7 +92,7 @@ import {
92
92
  sk,
93
93
  stackParts,
94
94
  withoutShareAnnotations
95
- } from "./chunk-XTECBM5K.js";
95
+ } from "./chunk-MTJZT6F2.js";
96
96
  import {
97
97
  STACK_ROOM,
98
98
  acrossValueLines,
@@ -113,25 +113,25 @@ import {
113
113
  valueShareLines,
114
114
  warnShareParts,
115
115
  warnSliverLabels
116
- } from "./chunk-V4XTBNZD.js";
116
+ } from "./chunk-XBASXPUJ.js";
117
117
  import {
118
118
  axisBreakHeightOrderWarning,
119
119
  stackBreakReversesOrder
120
- } from "./chunk-KJF7SLOA.js";
120
+ } from "./chunk-SAVO62PW.js";
121
121
  import {
122
122
  toleranceKeyed,
123
123
  toleranceLegendKeys
124
- } from "./chunk-4ZIFMZO4.js";
124
+ } from "./chunk-XKGZWQF7.js";
125
125
  import {
126
126
  emitEventLane,
127
127
  percentCellsOnly,
128
128
  percentLevels,
129
129
  runAnnotatePass,
130
130
  settleEventLane
131
- } from "./chunk-U2YWY6FH.js";
131
+ } from "./chunk-KWKJYMXJ.js";
132
132
  import {
133
133
  stepDownFont
134
- } from "./chunk-352V2W5P.js";
134
+ } from "./chunk-GNSAYVND.js";
135
135
  import {
136
136
  noTotal
137
137
  } from "./chunk-KZKWDFIS.js";
@@ -143,13 +143,13 @@ import {
143
143
  import {
144
144
  categoryTargetFields,
145
145
  spliceAnnotationNodes
146
- } from "./chunk-OLAPTOUH.js";
146
+ } from "./chunk-WM65Q3AL.js";
147
147
  import {
148
148
  valueLineLabelsOn
149
- } from "./chunk-FKRL2ZB2.js";
149
+ } from "./chunk-OQGSYQLE.js";
150
150
  import {
151
151
  structureCount
152
- } from "./chunk-YDYZWCUQ.js";
152
+ } from "./chunk-IHZNRJEV.js";
153
153
  import {
154
154
  DIGIT_SEAT,
155
155
  PLOT_FLOOR_PX,
@@ -179,7 +179,7 @@ import {
179
179
  verticalNameRect,
180
180
  yearRowRequests,
181
181
  yieldToRotatedName
182
- } from "./chunk-FY3VV7TF.js";
182
+ } from "./chunk-PM5D5KYQ.js";
183
183
  import {
184
184
  PARTIAL_KEY,
185
185
  POINTED_NOTES,
@@ -217,13 +217,13 @@ import {
217
217
  toDateFont,
218
218
  toDateLabel,
219
219
  toDateRoom
220
- } from "./chunk-Z2WGJH2P.js";
220
+ } from "./chunk-ZLIVUVIV.js";
221
221
  import {
222
222
  disclosuresShown,
223
223
  knownPartsLead,
224
224
  rankKeyShown,
225
225
  recordFreedChrome
226
- } from "./chunk-B76O5YXI.js";
226
+ } from "./chunk-I3UJHKCS.js";
227
227
  import {
228
228
  NOT_AVAILABLE,
229
229
  chartString,
@@ -233,7 +233,7 @@ import {
233
233
  numberRange,
234
234
  stringFields,
235
235
  withLocaleStrings
236
- } from "./chunk-FYFXOLWI.js";
236
+ } from "./chunk-5OUURZ2T.js";
237
237
  import {
238
238
  cellMeta
239
239
  } from "./chunk-O3VN6BTL.js";
@@ -269,7 +269,7 @@ import {
269
269
  textBreaksLine,
270
270
  textScaleOf,
271
271
  withSegmentSeams
272
- } from "./chunk-BKUTKQMT.js";
272
+ } from "./chunk-4NGKSJBX.js";
273
273
  import {
274
274
  fmtPathNumber
275
275
  } from "./chunk-6IUK6PAH.js";
@@ -278,6 +278,9 @@ import {
278
278
  accessibleTitle,
279
279
  scaleTextPx
280
280
  } from "./chunk-RJICOOB3.js";
281
+ import {
282
+ isCachedTextMeasurer
283
+ } from "./chunk-77LQEREO.js";
281
284
  import {
282
285
  maxOf,
283
286
  minOf,
@@ -563,7 +566,7 @@ function anomalyRuleRequest(domain, area, requests, warnings) {
563
566
  });
564
567
  }
565
568
  function categoryRequests(domain, area, requests) {
566
- let { cats, anomaly } = domain, { catPlan, band } = area, dateTicks = catPlan.dateNumeric, categoryLabelGap = anomaly ? 4 : 6, catX = catPlan.x, keep = catPlan.keep, namesLost = !dateTicks && catPlan.warnings.some((w) => w.code === "category-stride" && w.severity === "warn"), rotated = catPlan.rotation !== 0, rowY = area.catRowY + categoryLabelGap;
569
+ let { cats, anomaly } = domain, { band } = area, catPlan = area.catPlan(), dateTicks = catPlan.dateNumeric, categoryLabelGap = anomaly ? 4 : 6, catX = catPlan.x, keep = catPlan.keep, namesLost = !dateTicks && catPlan.warnings.some((w) => w.code === "category-stride" && w.severity === "warn"), rotated = catPlan.rotation !== 0, rowY = area.catRowY + categoryLabelGap;
567
570
  cats.forEach((c, ci) => {
568
571
  let info = catPlan.infos[ci], bold = !rotated && (c.role === "total" || domain.highlights.has(c.id)), boldFont = { ...catPlan.font, weight: emphasisWeight(domain.theme) }, w = bold ? Math.max(info.w, ...info.lines.map((line) => domain.measure(line, boldFont).width)) : info.w, at = (yy) => ({ x: catX(ci) - (w - info.w) / 2, y: yy, w, h: info.h }), below = { slot: "below", rect: at(rowY), penalty: 0 }, belowShifted = { slot: "belowShifted", rect: at(rowY + area.gtH + 4), penalty: 1 };
569
572
  requests.push({
@@ -750,9 +753,9 @@ function planColumnLabels(domain, area, scene, requests, warnings) {
750
753
  }), growthPoints;
751
754
  }
752
755
  function extremeNameRequest(domain, area, scene, requests) {
753
- if (domain.options.labels === !1 || !area.showCatRow || area.catPlan.dateNumeric || area.catPlan.keep.every(Boolean)) return;
756
+ if (domain.options.labels === !1 || !area.showCatRow || area.catPlan().dateNumeric || area.catPlan().keep.every(Boolean)) return;
754
757
  let extreme = scene.bars.reduce((best, place) => !best || Math.abs(place.v) > Math.abs(best.v) ? place : best, void 0);
755
- if (!extreme || area.catPlan.keep[extreme.ci]) return;
758
+ if (!extreme || area.catPlan().keep[extreme.ci]) return;
756
759
  let { c, s, v, rect } = extreme, text = domain.variant === "grouped" && contentOf(domain.options, "point", ["absolute"]) !== null ? c.label ?? c.id : `${c.label ?? c.id} ${domain.valueSpec.forSeries(s)(v)}`, font = { ...area.labelFont, weight: emphasisWeight(domain.theme) }, size = domain.measure(text, font), cx = rect.x + rect.w / 2, endY = v < 0 ? rect.y + rect.h + 4 : rect.y - size.height - 4, box = (x, y) => ({ x, y, w: size.width, h: size.height });
757
760
  requests.push({
758
761
  id: `extreme:${s.id}:${c.id}`,
@@ -885,7 +888,10 @@ function columnPaints(domain, warnings) {
885
888
  let { options, theme, palette, highlights, cats, dataSeries, variant, plottedOf, othersId, signColor, uniformScenario } = domain, resolved = /* @__PURE__ */ new Map(), paintCss = (paint) => {
886
889
  let key = JSON.stringify(paint), css = resolved.get(key);
887
890
  return css === void 0 && resolved.set(key, css = paintColor(theme, paint)), css;
888
- }, authored = domain.seriesNorm.filter((s) => dataSeries.includes(s)), roleOf = (s) => seriesScenarioRole(s.scenario, s.vals.filter((val) => val.v !== null).map((val) => val.scenario)), stackLike = variant === "stacked" || variant === "stacked100", ownPaint = (x) => !!x.fill || !!x.colorRole || highlights.has(x.id), scenarioPartner = stackLike ? scenarioPartners(dataSeries, (x) => x.scenario, ownPaint, !0) : scenarioPartners(authored, roleOf, ownPaint, !1), roles = colorRolePaints(authored), ownPaints = authored.map((s) => s.fill ? { css: s.fill } : s.colorRole ? roles.get(s.id) : highlights.has(s.id) ? { token: "focus" } : void 0), dealt = authored.filter((s) => stackLike || ownPaint(s) || !scenarioPartner.has(s.id)), authoredSlots = rampSlots(theme, dealt.map((s) => ownPaints[authored.indexOf(s)]), palette, { labels: dealt.map((s) => s.label), warnings }), stackOwn = (variant === "stacked" || variant === "stacked100") && ownPaints.some(Boolean) ? ownPaints : void 0, quietRest = !!options.seriesRamp && (options.othersShade ?? DEFAULT_OTHERS_SHADE) === "quietest" && authored.some((s) => s.colorRole === "others" && !s.fill);
891
+ }, authored = domain.seriesNorm.filter((s) => dataSeries.includes(s)), seriesRoles = new Map(dataSeries.map((s) => [s, seriesScenarioRole(
892
+ s.scenario,
893
+ s.vals.filter((val) => val.v !== null).map((val) => val.scenario)
894
+ )])), roleOf = (s) => seriesRoles.get(s), stackLike = variant === "stacked" || variant === "stacked100", ownPaint = (x) => !!x.fill || !!x.colorRole || highlights.has(x.id), scenarioPartner = stackLike ? scenarioPartners(dataSeries, (x) => x.scenario, ownPaint, !0) : scenarioPartners(authored, roleOf, ownPaint, !1), roles = colorRolePaints(authored), ownPaints = authored.map((s) => s.fill ? { css: s.fill } : s.colorRole ? roles.get(s.id) : highlights.has(s.id) ? { token: "focus" } : void 0), dealt = authored.filter((s) => stackLike || ownPaint(s) || !scenarioPartner.has(s.id)), authoredSlots = rampSlots(theme, dealt.map((s) => ownPaints[authored.indexOf(s)]), palette, { labels: dealt.map((s) => s.label), warnings }), stackOwn = (variant === "stacked" || variant === "stacked100") && ownPaints.some(Boolean) ? ownPaints : void 0, quietRest = !!options.seriesRamp && (options.othersShade ?? DEFAULT_OTHERS_SHADE) === "quietest" && authored.some((s) => s.colorRole === "others" && !s.fill);
889
895
  quietRest && warnings.push(...othersShadeUnavailableWarnings(theme, { token: "markInk" }));
890
896
  let slotOf = new Map(dealt.map((s, i) => [s.id, authoredSlots[i] ?? i])), receding = recedingSeriesId(dataSeries, highlights), slots = dataSeries.map((s, i) => slotOf.get(s.id) ?? i), rampIds = stackLike && !options.seriesRamp ? recedingRampIds(authored.filter((s) => !scenarioPartner.has(s.id)), highlights) : [], marked = authored.some((s) => s.colorRole !== void 0 || highlights.has(s.id) || s.id === receding), stackPlain = (variant === "stacked" || variant === "stacked100") && palette === void 0 && !marked ? authored.filter((s) => !s.fill) : [], seriesIdentityPaint = (s, dataIdx, scenario = roleOf(s)) => {
891
897
  if (s.fill) return { css: s.fill };
@@ -899,7 +905,7 @@ function columnPaints(domain, warnings) {
899
905
  if (partner) return seriesIdentityPaint(partner, dataSeries.indexOf(partner), scenario);
900
906
  let slot = slots[dataIdx] ?? dataIdx;
901
907
  return dataSeries.length === 1 ? seriesPaint(slot, palette, scenario, !0) : stackPlain.length > 1 && stackPlain.includes(s) ? stackRampPaint(stackPlain.indexOf(s), stackPlain.length, slot) : stackOwn && authored.includes(s) ? stackApartPaint(stackOwn, authored.indexOf(s), slot, palette) : stackLike ? seriesPaint(slot, palette) : scenarioSlotPaint(slot, palette, scenario);
902
- }, restRecedes = dataSeries.length === 1 && cats.some((c, ci) => highlights.has(c.id) && (plottedOf(dataSeries[0], ci) ?? 0) !== 0), seriesBasePaint = (s, dataIdx) => restRecedes && !s.fill && !s.colorRole && !s.scenario ? { token: "rest" } : seriesIdentityPaint(s, dataIdx), cellPaint = (s, val, cat, dataIdx) => val.fill ? { css: val.fill } : othersId !== null && cat.id === othersId ? { token: "othersMark" } : highlights.has(s.id) || highlights.has(cat.id) && dataSeries.length === 1 ? s.fill ? { css: s.fill } : s.colorRole ? roles.get(s.id) ?? markRolePaint(s.colorRole, !0) : markRolePaint("focus", !0) : signColor ? signPaint(s, val.v, options.colorblindSafe) : uniformScenario.has(cat.id) ? seriesIdentityPaint(s, dataIdx, val.scenario ?? s.scenario) : val.scenario ? seriesIdentityPaint(s, dataIdx, val.scenario) : seriesBasePaint(s, dataIdx), scenarioPattern = (s, val, cat) => {
908
+ }, restRecedes = dataSeries.length === 1 && cats.some((c, ci) => highlights.has(c.id) && (plottedOf(dataSeries[0], ci) ?? 0) !== 0), basePaints = dataSeries.map((s, dataIdx) => restRecedes && !s.fill && !s.colorRole && !s.scenario ? { token: "rest" } : seriesIdentityPaint(s, dataIdx)), seriesBasePaint = (_s, dataIdx) => basePaints[dataIdx], cellPaint = (s, val, cat, dataIdx) => val.fill ? { css: val.fill } : othersId !== null && cat.id === othersId ? { token: "othersMark" } : highlights.has(s.id) || highlights.has(cat.id) && dataSeries.length === 1 ? s.fill ? { css: s.fill } : s.colorRole ? roles.get(s.id) ?? markRolePaint(s.colorRole, !0) : markRolePaint("focus", !0) : signColor ? signPaint(s, val.v, options.colorblindSafe) : uniformScenario.has(cat.id) ? seriesIdentityPaint(s, dataIdx, val.scenario ?? s.scenario) : val.scenario ? seriesIdentityPaint(s, dataIdx, val.scenario) : seriesBasePaint(s, dataIdx), scenarioPattern = (s, val, cat) => {
903
909
  let sc = val.scenario ?? s.scenario;
904
910
  if (uniformScenario.get(cat.id) !== "PL")
905
911
  return sc === "FC" ? "hatch45" : sc === "PL" ? "outline" : void 0;
@@ -933,11 +939,15 @@ function columnPaints(domain, warnings) {
933
939
  // src/core/charts/column/plot.ts
934
940
  var TILED_BANDS = /* @__PURE__ */ Symbol("tiledBands"), SEGMENT_NOTE = /* @__PURE__ */ Symbol("segmentNote"), CATEGORY_NOTES = /* @__PURE__ */ Symbol("categoryNotes"), CAGR_PAD = /* @__PURE__ */ Symbol("cagrPad");
935
941
  function uniformCellLook(domain, paints, s, i) {
936
- let looks = domain.cats.flatMap((c, ci) => {
942
+ let first;
943
+ for (let [ci, c] of domain.cats.entries()) {
937
944
  let v = domain.plottedOf(s, ci);
938
- return v === null || domain.variant !== "grouped" && v === 0 ? [] : [{ paint: paints.cell(s, s.vals[ci], c, i), pattern: paints.pattern(s, s.vals[ci], c) }];
939
- }), first = looks[0];
940
- if (!first || looks.some((look) => look.pattern !== first.pattern || paints.css(look.paint) !== paints.css(first.paint))) return {};
945
+ if (v === null || domain.variant !== "grouped" && v === 0) continue;
946
+ let val = s.vals[ci], paint = paints.cell(s, val, c, i), pattern = paints.pattern(s, val, c);
947
+ if (!first) first = { paint, pattern };
948
+ else if (pattern !== first.pattern || paint !== first.paint && paints.css(paint) !== paints.css(first.paint)) return {};
949
+ }
950
+ if (!first) return {};
941
951
  let hatchGround = segmentHatchGround(domain.variant === "grouped" ? "bar" : "segment", first.pattern, first.paint);
942
952
  return { paint: first.paint, pattern: first.pattern, ...hatchGround ? { hatchGround } : {} };
943
953
  }
@@ -1041,8 +1051,8 @@ function bandKeyRow(domain, paints, eventKey) {
1041
1051
  let single = domain.dataSeries.length === 1 ? domain.dataSeries[0].id : void 0, items = columnLegendItems(domain, paints).filter((item) => item.id !== single);
1042
1052
  return { options: { position: "top" }, items };
1043
1053
  }
1044
- function solveColumnFrame(domain, paints, warnings, eventKey) {
1045
- let { options, theme, size, measure, anomaly, corridorShown, statFmt, netLineOn, netLineSeries, variant } = domain, claims = createOccupiedIndex({ x: 0, y: 0, w: size.width, h: size.height }), decorationFont = { family: theme.type.family, ...theme.type.label, weight: emphasisWeight(theme) }, anomalyRuleLabelWidth = anomaly?.usable ? anomalyRuleReserve(anomalyRuleLines(theme, anomaly, corridorShown, { statFmt, corridorFmt: domain.corridorFmt }, { token: "warn" }, options.strings), { family: theme.type.family, ...theme.type.label }, measure) : 0, decorationRight = Math.max(
1054
+ function columnFrameFurniture(domain, paints, warnings, eventKey) {
1055
+ let { options, theme, size, measure, anomaly, corridorShown, statFmt, netLineOn, netLineSeries, variant } = domain, decorationFont = { family: theme.type.family, ...theme.type.label, weight: emphasisWeight(theme) }, anomalyRuleLabelWidth = anomaly?.usable ? anomalyRuleReserve(anomalyRuleLines(theme, anomaly, corridorShown, { statFmt, corridorFmt: domain.corridorFmt }, { token: "warn" }, options.strings), { family: theme.type.family, ...theme.type.label }, measure) : 0, decorationRight = Math.max(
1046
1056
  netLineOn ? measure(netLineName(domain.dataSeries, netLineSeries, domain.stacks, options.strings), decorationFont).width + 12 : 0,
1047
1057
  anomalyRuleLabelWidth
1048
1058
  ), tokenMargin = canvasMargin(theme, size.width), edgeNamesRight = options.seriesLabels?.at !== "left-edge" && rightEdgeSeriesLabels(domain).length > 0, margin = {
@@ -1061,7 +1071,11 @@ function solveColumnFrame(domain, paints, warnings, eventKey) {
1061
1071
  options[TICK_LABEL_RESERVE] ?? 0
1062
1072
  );
1063
1073
  let legend = columnLegend(domain, paints, warnings) ?? bandKeyRow(domain, paints, eventKey);
1064
- return { frame: solveFrame(
1074
+ return { margin, legend };
1075
+ }
1076
+ function solveColumnFrame(domain, paints, warnings, eventKey, memo) {
1077
+ let { options, theme, size, measure } = domain, claims = createOccupiedIndex({ x: 0, y: 0, w: size.width, h: size.height }), cached = !eventKey && memo?.furniture, before = warnings.length, { margin, legend } = cached || columnFrameFurniture(domain, paints, warnings, eventKey);
1078
+ return cached ? pushAll(warnings, cached.warnings) : !eventKey && memo && (memo.furniture = { margin, legend, warnings: warnings.slice(before) }), { frame: solveFrame(
1065
1079
  {
1066
1080
  size,
1067
1081
  margin,
@@ -1107,18 +1121,18 @@ function widestSegmentValue(domain, font = { family: domain.theme.type.family, .
1107
1121
  });
1108
1122
  return widest;
1109
1123
  }
1110
- function columnBand(domain, frame, valueAxisReserve, tickFont, warnings, stair, beforeCategoryRow) {
1111
- let { options, theme, measure, cats, va } = domain, plotX0 = frame.plot.x + (va.show ? valueAxisReserve : 0), plotW0 = va.show ? Math.max(10, frame.plot.w - valueAxisReserve) : frame.plot.w, narrow = domain.ribbonsOn && domain.ribbonRank, ribbonColumn = narrow ? Math.min(0.15, Math.max(RIBBON_COLUMN, (widestSegmentValue(domain) + 8) / plotW0)) : 0, ribbonFraction = ribbonColumn * (cats.length - 1) / (1 - 2 * ribbonColumn), grouped = domain.variant === "grouped" && domain.dataSeries.length > 1, panelGroup = options.bandFraction === void 0 && !narrow && grouped && panelTypeClass(options) !== void 0, bandFraction = panelGroup ? PANEL_GROUP_FRACTION : options.bandFraction ?? (narrow ? Math.min(0.7, Math.max(ribbonColumn, ribbonFraction)) : domain.pyRef ? pyTickKeyed(domain, frame.legend) ? 0.5 : 0.42 : grouped ? COLUMN_FRACTION_MAX : columnBandFraction(plotW0, cats.length)), bandFor = (x0, w) => bandScale(cats.length, [x0, x0 + w], {
1124
+ function columnBandWidth(domain, frame, valueAxisReserve, tickFont, stair) {
1125
+ let { options, theme, measure, cats, va } = domain, plotX0 = frame.plot.x + (va.show ? valueAxisReserve : 0), plotW0 = va.show ? Math.max(10, frame.plot.w - valueAxisReserve) : frame.plot.w, narrow = domain.ribbonsOn && domain.ribbonRank, ribbonColumn = narrow ? Math.min(0.15, Math.max(RIBBON_COLUMN, (widestSegmentValue(domain) + 8) / plotW0)) : 0, ribbonFraction = ribbonColumn * (cats.length - 1) / (1 - 2 * ribbonColumn), grouped = domain.variant === "grouped" && domain.dataSeries.length > 1, panelGroup = options.bandFraction === void 0 && !narrow && grouped && panelTypeClass(options) !== void 0, bandFraction = panelGroup ? PANEL_GROUP_FRACTION : options.bandFraction ?? (narrow ? Math.min(0.7, Math.max(ribbonColumn, ribbonFraction)) : domain.pyRef ? pyTickKeyed(domain, frame.legend) ? 0.5 : 0.42 : grouped ? COLUMN_FRACTION_MAX : columnBandFraction(plotW0, cats.length)), gapAfter = cats.map((c, ci) => {
1126
+ let authored = c.gapAfter === !0 ? 0.5 : typeof c.gapAfter == "number" ? Math.max(0, c.gapAfter) : 0, gap = cats[ci + 1]?.role === "total" ? Math.max(authored, 0.5) : authored;
1127
+ return c.breakAfter ? Math.max(gap, 0.5) : gap;
1128
+ }), bandFor = (x0, w) => bandScale(cats.length, [x0, x0 + w], {
1112
1129
  paddingInner: 1 - bandFraction,
1113
1130
  // Histogram bins tile the number line: the plot ends at the outer bin edges.
1114
1131
  paddingOuter: narrow ? bandFraction / 2 : options[TILED_BANDS] === !0 ? (1 - bandFraction) / 2 : (1 - bandFraction) / 2 + 0.05,
1115
- gapAfter: cats.map((c, ci) => {
1116
- let authored2 = c.gapAfter === !0 ? 0.5 : typeof c.gapAfter == "number" ? Math.max(0, c.gapAfter) : 0, gap = cats[ci + 1]?.role === "total" ? Math.max(authored2, 0.5) : authored2;
1117
- return c.breakAfter ? Math.max(gap, 0.5) : gap;
1118
- })
1132
+ gapAfter
1119
1133
  }), edgeNames = rightEdgeSeriesLabels(domain), edgeLeft = options.seriesLabels?.at === "left-edge", edgeNeed = edgeNames.length === 0 ? 0 : maxOf(edgeNames.map((series) => measure(series.label, edgeNameFont({ family: theme.type.family, ...theme.type.label }, domain)).width)) + RIGHT_EDGE_GAP, edgeGiven = 0, edgePad = (x0, w) => {
1120
- let band2 = bandFor(x0, w);
1121
- return edgeLeft ? band2.position(0) - x0 : x0 + w - (band2.position(cats.length - 1) + band2.bandwidth);
1134
+ let band = bandFor(x0, w);
1135
+ return edgeLeft ? band.position(0) - x0 : x0 + w - (band.position(cats.length - 1) + band.bandwidth);
1122
1136
  }, giveEdgeRoom = () => {
1123
1137
  if (edgeNeed === 0 || edgeGiven > 0 && edgeGiven + edgePad(plotX0, plotW0) >= edgeNeed) return;
1124
1138
  let room = edgeNeed - edgeGiven;
@@ -1206,13 +1220,18 @@ function columnBand(domain, frame, valueAxisReserve, tickFont, warnings, stair,
1206
1220
  if (giveEdgeRoom(), plotW0 === before) break;
1207
1221
  fitColumnWidth();
1208
1222
  }
1209
- let band = bandFor(plotX0, plotW0);
1223
+ return { band: bandFor(plotX0, plotW0), plotX0, plotW0, bandFor };
1224
+ }
1225
+ function columnBand(domain, frame, valueAxisReserve, tickFont, warnings, stair, beforeCategoryRow, memo) {
1226
+ let { options, theme, measure, cats } = domain, cached = stair && memo ? memo.width : void 0, keyed = !!(stair && memo && domain.pyRef) && pyTickKeyed(domain, frame.legend), same = cached && cached.x === frame.plot.x && cached.w === frame.plot.w && cached.axis === valueAxisReserve && cached.keyed === keyed, width = same ? cached.plan : columnBandWidth(domain, frame, valueAxisReserve, tickFont, stair);
1227
+ stair && memo && !same && (memo.width = { x: frame.plot.x, w: frame.plot.w, axis: valueAxisReserve, keyed, plan: width });
1228
+ let { plotX0, plotW0, bandFor } = width, band = width.band;
1210
1229
  beforeCategoryRow?.(band.bandwidth);
1211
1230
  let authored = authoredDateTicks(cats, options, warnings);
1212
1231
  bandedCrossesBetween(options, warnings);
1213
- let planRow = (b, ticked2, rotate) => {
1232
+ let planRow = (b, ticked, rotate) => {
1214
1233
  let row = categoryLabelsAndMarks(cats, { count: authoredFootnoteCount(options), warnings }, partialAxisWords(options.strings, options, frame.legend?.items.some((item) => item.id === "__partial") || partialNamedOnValues(domain)));
1215
- ticked2?.name(row);
1234
+ ticked?.name(row);
1216
1235
  let plan = withCategoryRanks(planCategoryRow({
1217
1236
  target: options.target,
1218
1237
  textScale: textScaleOf(options),
@@ -1231,9 +1250,9 @@ function columnBand(domain, frame, valueAxisReserve, tickFont, warnings, stair,
1231
1250
  // Without the rank key, nominal names keep one name per column (rotate, then ellipsis).
1232
1251
  // Under notes.show 'ranks' alone a cut name takes no mark, since its note does not print.
1233
1252
  ...disclosuresShown(options) ? { cutMarkFrom: authoredFootnoteCount(options) + 1 } : rankKeyShown(options) ? {} : { everyName: !0 },
1234
- ...ticked2?.plan,
1253
+ ...ticked?.plan,
1235
1254
  // An authored interval counts back from the latest period, as on a line.
1236
- ...ticked2 !== void 0 && ticked2 === authored ? { ordered: !0, strideFromEnd: !0 } : {},
1255
+ ...ticked !== void 0 && ticked === authored ? { ordered: !0, strideFromEnd: !0 } : {},
1237
1256
  ...rotate === !1 ? { rotate } : {}
1238
1257
  }), measure, cats.map((c) => c.label ?? c.id), options[FORCE_CATEGORY_RANKS] === !0, rankKeyShown(options));
1239
1258
  if (plan.rotation !== 0) {
@@ -1241,8 +1260,13 @@ function columnBand(domain, frame, valueAxisReserve, tickFont, warnings, stair,
1241
1260
  plan.infos = plan.infos.map((info, ci) => cats[ci].role === "total" || domain.highlights.has(cats[ci].id) ? { ...info, w: Math.max(info.w, ...info.lines.map((line) => measure(line, boldFont).width)) } : info), plan.rowHeight += (widest() - before) * (plan.rotation === 90 ? 1 : Math.SQRT1_2);
1242
1261
  }
1243
1262
  return plan;
1244
- }, catPlan = planRow(band, authored), ticked = authored ?? longDayMonths(cats, catPlan.stride, options.locale?.language);
1245
- return ticked && ticked !== authored && (catPlan = planRow(band, ticked)), stair || ({ plan: catPlan, band } = yieldToRotatedName(catPlan, band, cats.length, plotX0, plotW0, bandFor, (b, rotate) => planRow(b, ticked, rotate))), { band, catPlan, ...authored?.ticks ? { intervalTicks: authored.ticks } : {} };
1263
+ }, planned, catPlan = () => {
1264
+ if (planned) return planned;
1265
+ planned = planRow(band, authored);
1266
+ let ticked = authored ?? longDayMonths(cats, planned.stride, options.locale?.language);
1267
+ return ticked && ticked !== authored && (planned = planRow(band, ticked)), stair || ({ plan: planned, band } = yieldToRotatedName(planned, band, cats.length, plotX0, plotW0, bandFor, (b, rotate) => planRow(b, ticked, rotate))), planned;
1268
+ };
1269
+ return (!stair || cats.some((c) => c.footnote !== void 0)) && catPlan(), { band, catPlan, ...authored?.ticks ? { intervalTicks: authored.ticks } : {} };
1246
1270
  }
1247
1271
  var CAGR_ON_ARM_ROOM = 26, STACKED100_COLUMN_MAX = 110, CAGR_ON_ARM_MIN = 16;
1248
1272
  function bracketsOverColumns(annotation, domain) {
@@ -1253,7 +1277,7 @@ function bracketsOverColumns(annotation, domain) {
1253
1277
  }, [i, j] = [index(from), index(to)];
1254
1278
  return i >= 0 && j >= 0 && Math.abs(i - j) > 1;
1255
1279
  }
1256
- function columnPlotArea(domain, frame, warnings, beforeCategoryRow) {
1280
+ function columnPlotArea(domain, frame, warnings, beforeCategoryRow, widthMemo) {
1257
1281
  let { options, theme, size, measure, variant, va, fmt, valueSpec, cats, dLo, dHi } = domain, percentAxis = variant !== "stacked100" && percentCellsOnly(domain.dataSeries), axisFmt = variant === "stacked100" ? (v) => formatAutomaticPercent(v, 0, !1, options.locale?.language) : percentAxis ? valueSpec.fmtPercent : fmt, axisSpec = variant === "stacked100" ? void 0 : percentAxis ? valueSpec.percentSpec : valueSpec.spec, valueAxisReserve = va.show ? measureValueAxisWidth([dLo, dHi], axisFmt, theme, measure, 5, axisSpec) : 0, ratioTierPrepared = prepareRatioTier(
1258
1282
  options.ratioTier,
1259
1283
  cats,
@@ -1275,9 +1299,9 @@ function columnPlotArea(domain, frame, warnings, beforeCategoryRow) {
1275
1299
  options.axisTitles?.primary,
1276
1300
  options,
1277
1301
  valueAxisUnit(options.unit, domain.dataSeries, variant === "stacked100")
1278
- ), theme, measure, frame.plot.w) : void 0, stair = staircaseOn(options.categoryLabels, options) && kindSetting(options, "category") !== !1 && cats.length > 1, { band, catPlan, intervalTicks } = columnBand(domain, frame, valueAxisReserve, tickFont, warnings, stair, beforeCategoryRow), showCatRow = kindSetting(options, "category") !== !1 && cats.length > 0 && !stair;
1279
- showCatRow && pushAll(warnings, catPlan.warnings), showCatRow && catPlan.step === "ranks" && warnings.push(categoryRanksLint(cats.map((c) => c.label ?? c.id), band.step));
1280
- let tickReserve = showCatRow ? catPlan.rowHeight + 8 : 0, catBandH = tier ? 6 + catPlan.rowHeight + ratioTierMetrics.categoryCaptionGap - theme.space.tierGap : tickReserve, ratioTierHeight = tier?.reserveHeight ?? 0, lowest = Math.min(0, minOf(domain.negBotP)), pointsHang = variant === "grouped" && (kindSetting(options, "point") !== !1 || domain.anomaly !== void 0), hangingEnd = Math.min(0, minOf(cats.map((_, ci) => pointsHang || domain.gtContent && domain.posTopP[ci] <= 0 ? domain.negBotP[ci] : 0))), hangingRoom = showCatRow && options.labels !== !1 ? Math.max(measure("0", labelFont).height, gtH) + 4 + (domain.anomaly ? ANOMALY_FLAG_GAP + ANOMALY_FLAG_H : 0) : 0, axisTitleH = valueAxisTitleBand(axisTitle, theme, measure), cagrRoom = Math.max(CAGR_ON_ARM_MIN, CAGR_ON_ARM_ROOM - axisTitleH - ruleH - integratedGrowthH);
1302
+ ), theme, measure, frame.plot.w) : void 0, stair = staircaseOn(options.categoryLabels, options) && kindSetting(options, "category") !== !1 && cats.length > 1, { band, catPlan, intervalTicks } = columnBand(domain, frame, valueAxisReserve, tickFont, warnings, stair, beforeCategoryRow, widthMemo), showCatRow = kindSetting(options, "category") !== !1 && cats.length > 0 && !stair;
1303
+ showCatRow && pushAll(warnings, catPlan().warnings), showCatRow && catPlan().step === "ranks" && warnings.push(categoryRanksLint(cats.map((c) => c.label ?? c.id), band.step));
1304
+ let tickReserve = showCatRow ? catPlan().rowHeight + 8 : 0, catBandH = tier ? 6 + catPlan().rowHeight + ratioTierMetrics.categoryCaptionGap - theme.space.tierGap : tickReserve, ratioTierHeight = tier?.reserveHeight ?? 0, lowest = Math.min(0, minOf(domain.negBotP)), pointsHang = variant === "grouped" && (kindSetting(options, "point") !== !1 || domain.anomaly !== void 0), hangingEnd = Math.min(0, minOf(cats.map((_, ci) => pointsHang || domain.gtContent && domain.posTopP[ci] <= 0 ? domain.negBotP[ci] : 0))), hangingRoom = showCatRow && options.labels !== !1 ? Math.max(measure("0", labelFont).height, gtH) + 4 + (domain.anomaly ? ANOMALY_FLAG_GAP + ANOMALY_FLAG_H : 0) : 0, axisTitleH = valueAxisTitleBand(axisTitle, theme, measure), cagrRoom = Math.max(CAGR_ON_ARM_MIN, CAGR_ON_ARM_ROOM - axisTitleH - ruleH - integratedGrowthH);
1281
1305
  hasCagr && cagrRoom < 30 && recordFreedChrome(frame.frame, "cagr-headroom", 30 - cagrRoom);
1282
1306
  let cagrPad = options[CAGR_PAD] ?? 0;
1283
1307
  hasCagr && cagrPad > 0 && recordFreedChrome(frame.frame, "cagr-pad", cagrPad);
@@ -1285,7 +1309,7 @@ function columnPlotArea(domain, frame, warnings, beforeCategoryRow) {
1285
1309
  for (; bandPad > 0 && frame.plot.h - catBandH - ratioTierHeight - (baseTopPad + bandPad) - hangingLabelReserve(frame.plot.h - catBandH - ratioTierHeight - (baseTopPad + bandPad), [dLo, dHi], hangingEnd, hangingRoom) < minRawH; )
1286
1310
  bandPad--;
1287
1311
  let topPad = baseTopPad + bandPad, plotH0 = frame.plot.h - catBandH - ratioTierHeight - topPad, hangingReserve = hangingLabelReserve(plotH0, [dLo, dHi], hangingEnd, hangingRoom);
1288
- if (!stair && options.categoryLabels !== "staircase" && ["fit", "wrap", "font-down", "stride"].includes(catPlan.step) && !options.annotations?.some((annotation) => annotation.kind === "cagr" || annotation.kind === "event" || bracketsOverColumns(annotation, domain)) && ![CAGR_PAD, VALUE_LINE_RESERVE, TICK_LABEL_RESERVE, BAND_PAD].some((marker) => marker in options)) {
1312
+ if (!stair && options.categoryLabels !== "staircase" && ["fit", "wrap", "font-down", "stride"].includes(catPlan().step) && !options.annotations?.some((annotation) => annotation.kind === "cagr" || annotation.kind === "event" || bracketsOverColumns(annotation, domain)) && ![CAGR_PAD, VALUE_LINE_RESERVE, TICK_LABEL_RESERVE, BAND_PAD].some((marker) => marker in options)) {
1289
1313
  fixedPlotChrome(frame);
1290
1314
  let chrome = plotChromeFloor.get(frame.frame);
1291
1315
  if (chrome !== void 0) {
@@ -1334,7 +1358,9 @@ function columnPlotArea(domain, frame, warnings, beforeCategoryRow) {
1334
1358
  ...stair ? { stairTop: frame.plot.y + ruleH + (axisTitle ? axisTitle.height + 8 : 0) } : {},
1335
1359
  // A date row stays at the plot's bottom band; prose reads under the
1336
1360
  // lowest column and the value hanging under it.
1337
- catRowY: catPlan.dateNumeric ? plot.y + plot.h + hangingReserve : categoryRowTop(y, lowest, hangingEnd, hangingRoom),
1361
+ get catRowY() {
1362
+ return catPlan().dateNumeric ? plot.y + plot.h + hangingReserve : categoryRowTop(y, lowest, hangingEnd, hangingRoom);
1363
+ },
1338
1364
  plot,
1339
1365
  y,
1340
1366
  y0: y(0)
@@ -1570,7 +1596,7 @@ function assembleColumnGeometry(domain, area, scene, solved, annotated, tierStat
1570
1596
  domain.theme,
1571
1597
  allLabels,
1572
1598
  (l) => tierState?.fontByLabelId.get(l.id) ?? // A total column (categories[].role 'total') prints its head and values bold.
1573
- (totalIds.has(l.owner.categoryId ?? "") && (l.kind === "segment" || l.kind === "category") ? { ...l.kind === "category" ? catPlan.font : strongFont, weight: emphasisWeight(domain.theme) } : void 0) ?? (bandLabelIds.has(l.id) ? tickFont : l.kind === "grandTotal" || l.kind === "total" ? strongFont : l.kind === "category" ? area.stairTop !== void 0 ? tickFont : catPlan.font : l.kind === "tick" ? tickFont : l.kind === "annotation" || l.kind === "valueLine" ? { ...labelFont, weight: emphasisWeight(domain.theme) } : l.kind === "point" ? pointFont : labelFont),
1599
+ (totalIds.has(l.owner.categoryId ?? "") && (l.kind === "segment" || l.kind === "category") ? { ...l.kind === "category" ? catPlan().font : strongFont, weight: emphasisWeight(domain.theme) } : void 0) ?? (bandLabelIds.has(l.id) ? tickFont : l.kind === "grandTotal" || l.kind === "total" ? strongFont : l.kind === "category" ? area.stairTop !== void 0 ? tickFont : catPlan().font : l.kind === "tick" ? tickFont : l.kind === "annotation" || l.kind === "valueLine" ? { ...labelFont, weight: emphasisWeight(domain.theme) } : l.kind === "point" ? pointFont : labelFont),
1574
1600
  nodes
1575
1601
  );
1576
1602
  return pushAll(nodes, labelNodes.filter((node) => node.part === "leader")), pushAll(nodes, labelNodes.filter((node) => node.part !== "leader")), lane && pushAll(nodes, lane.nodes), axes.unshift({
@@ -1613,11 +1639,11 @@ function assembleColumnGeometry(domain, area, scene, solved, annotated, tierStat
1613
1639
  ...showCatRow ? {
1614
1640
  tickBand: {
1615
1641
  reserved: area.tickReserve,
1616
- measuredLines: catPlan.maxLines,
1617
- lineHeight: catPlan.font.size * 1.2,
1642
+ measuredLines: catPlan().maxLines,
1643
+ lineHeight: catPlan().font.size * 1.2,
1618
1644
  // Rotated rows reserve more than lines × line height; the receipt names it.
1619
- extra: catPlan.rowHeight - catPlan.maxLines * catPlan.font.size * 1.2,
1620
- dateNumeric: catPlan.dateNumeric,
1645
+ extra: catPlan().rowHeight - catPlan().maxLines * catPlan().font.size * 1.2,
1646
+ dateNumeric: catPlan().dateNumeric,
1621
1647
  position: "below"
1622
1648
  }
1623
1649
  } : {},
@@ -1689,8 +1715,10 @@ function layoutColumnWithNotes(data, options, keepEachValue, axis = { on: !1 })
1689
1715
  }
1690
1716
  function layoutColumnSettled(data, options, keepEachValue, probe, stopAfterFirst) {
1691
1717
  let named = /* @__PURE__ */ new Map(), pass, minimumChrome = 1 / 0, first = !0, run = (next) => {
1692
- pass = layoutColumnPass(data, next, keepEachValue, first ? probe : void 0, first && stopAfterFirst !== void 0), first = !1;
1693
- let settled = settleStaircase(next, (o) => (pass = layoutColumnPass(data, o, keepEachValue)).staircase, pass.staircase);
1718
+ let staircase = next.categoryLabels === "staircase" ? {} : void 0, draw = (o) => {
1719
+ let trial = layoutColumnPass(data, o, keepEachValue, first ? probe : void 0, first && stopAfterFirst !== void 0, staircase);
1720
+ return first = !1, "retry" in trial ? trial.retry : (pass = trial, pass.staircase);
1721
+ }, settled = settleStaircase(next, draw, draw(next));
1694
1722
  return minimumChrome = Math.min(minimumChrome, plotChromeFloor.get(pass.geometry.frame) ?? NaN), settled;
1695
1723
  }, settleBandHeadroom = (next) => {
1696
1724
  let bandPad = next[BAND_PAD] ?? 0;
@@ -1738,10 +1766,12 @@ function layoutColumnSettled(data, options, keepEachValue, probe, stopAfterFirst
1738
1766
  return item !== void 0 && (node.t === "rect" || node.t === "path") && node.separation ? { ...node, separation: { ...node.separation, notedAs: item } } : node;
1739
1767
  }), Number.isFinite(minimumChrome) ? plotChromeFloor.set(pass.geometry.frame, minimumChrome) : plotChromeFloor.delete(pass.geometry.frame), pass.geometry;
1740
1768
  }
1741
- function layoutColumnPass(data, options, keepEachValue, axisProbe, probeAxis = !1) {
1742
- let prepared = axisProbe?.prepared;
1769
+ function layoutColumnPass(data, options, keepEachValue, axisProbe, probeAxis = !1, staircaseInputs) {
1770
+ let retry = staircaseInputs?.prepared, prepared = retry ?? axisProbe?.prepared;
1743
1771
  axisProbe && (axisProbe.prepared = void 0);
1744
- let warnings = prepared ? [...prepared.warnings] : [], domain = prepared ? { ...prepared.domain, options: { ...prepared.domain.options, valueAxis: options.valueAxis }, va: options.valueAxis } : resolveColumnDomain(data, options, warnings), paints = prepared?.paints ?? columnPaints(domain, warnings), preparedWarnings = warnings.length, fallback = () => {
1772
+ let warnings = prepared ? [...prepared.warnings] : [], domain = retry ? { ...retry.domain, options } : prepared ? { ...prepared.domain, options: { ...prepared.domain.options, valueAxis: options.valueAxis }, va: options.valueAxis } : resolveColumnDomain(data, options, warnings), paints = prepared?.paints ?? columnPaints(domain, warnings);
1773
+ staircaseInputs && !retry && domain.options === options && (staircaseInputs.prepared = { domain: { ...domain }, paints, warnings: [...warnings] });
1774
+ let preparedWarnings = warnings.length, fallback = () => {
1745
1775
  throw axisProbe.prepared = { domain, paints, warnings: warnings.slice(0, preparedWarnings) }, AXIS_FALLBACK;
1746
1776
  }, { size, theme } = domain, probe = probeAxis && options.valueAxis?.show === void 0 && panelTypeClass(options) === void 0 && domain.variant === "grouped" && kindSetting(options, "point") !== !1 && !options.ratioTier && options.categoryLabels !== "staircase" && !domain.cats.some((c) => c.partial) && !domain.annList.some((a) => a.kind === "event"), beforeCategoryRow = probe && domain.dataSeries.length > 1 ? (bandwidth) => {
1747
1777
  let font = compactValueLabelFont({ family: theme.type.family, ...theme.type.label }, theme.type.footnote, options.target, textScaleOf(options));
@@ -1755,7 +1785,7 @@ function layoutColumnPass(data, options, keepEachValue, axisProbe, probeAxis = !
1755
1785
  ).firstSeriesOnly) return;
1756
1786
  let off = new Set(data.series.flatMap((s) => s.values.flatMap((cell, ci) => cellMeta(cell)?.label === !1 ? [`${s.id}|${data.categories[ci]?.id}`] : [])));
1757
1787
  domain.dataSeries.slice(1).some((s) => !domain.highlights.has(s.id) && domain.cats.some((c, ci) => domain.plottedOf(s, ci) !== null && !off.has(`${s.id}|${c.id}`) && !domain.highlights.has(c.id) && !domain.anomaly?.flagByCategory.has(c.id))) && fallback();
1758
- } : void 0, areaWarningsAt = 0, settled = settleEventLane({
1788
+ } : void 0, staircaseMemo = staircaseInputs?.prepared && isCachedTextMeasurer(domain.measure) ? staircaseInputs : void 0, areaWarningsAt = 0, settled = settleEventLane({
1759
1789
  annotations: domain.annList,
1760
1790
  categories: domain.cats,
1761
1791
  events: options.events,
@@ -1767,8 +1797,8 @@ function layoutColumnPass(data, options, keepEachValue, axisProbe, probeAxis = !
1767
1797
  measure: domain.measure,
1768
1798
  size,
1769
1799
  compact: options.mode === "compact",
1770
- solve: (key, w) => solveColumnFrame(domain, paints, w, key),
1771
- area: (framed2, w) => (areaWarningsAt = w.length, columnPlotArea(domain, framed2.frame, w, beforeCategoryRow)),
1800
+ solve: (key, w) => solveColumnFrame(domain, paints, w, key, staircaseMemo),
1801
+ area: (framed2, w) => (areaWarningsAt = w.length, columnPlotArea(domain, framed2.frame, w, beforeCategoryRow, staircaseMemo)),
1772
1802
  axis: (area2) => ({ x: (ci) => area2.band.center(ci), step: area2.band.step, plot: area2.plot }),
1773
1803
  warnings
1774
1804
  }), framed = settled.framed, occupied = framed.claims, area = settled.area;
@@ -1797,7 +1827,13 @@ function layoutColumnPass(data, options, keepEachValue, axisProbe, probeAxis = !
1797
1827
  cap: STAIRCASE_MAX_PAD * area.frame.plot.h,
1798
1828
  occupied,
1799
1829
  requests
1800
- }), noted = { items: /* @__PURE__ */ new Map(), slivers: /* @__PURE__ */ new Set() }, digits = { requests: [], slivers: [], warningAt: 0 }, pointFont = planColumnValueLabels(domain, paints, area, scene, requests, warnings, noted, digits), paintWarningRules = [];
1830
+ });
1831
+ if (stair && domain.annList.length === 0 && !domain.cats.some((c) => c.partial) && isCachedTextMeasurer(domain.measure)) {
1832
+ if ("failed" in stair) return { retry: { deficit: 0, failed: stair.failed } };
1833
+ if (stair.deficit > 0.5) return { retry: { deficit: stair.deficit } };
1834
+ }
1835
+ scene.paintStack && (scene.nodes = scene.paintStack());
1836
+ let noted = { items: /* @__PURE__ */ new Map(), slivers: /* @__PURE__ */ new Set() }, digits = { requests: [], slivers: [], warningAt: 0 }, pointFont = planColumnValueLabels(domain, paints, area, scene, requests, warnings, noted, digits), paintWarningRules = [];
1801
1837
  pushAll(warnings, rectSeriesAdjacentWarnings(scene.nodes, paints.css, "vertical", domain.highlights, theme, { rules: paintWarningRules, before: warnings.filter((warning) => !["pie-ramp-crowded", "likert-ramp-invisible", "band-lightness-insufficient", "series-adjacent-similar", "highlight-reads-as-loss"].includes(warning.code)).length }));
1802
1838
  let growthPoints = planColumnLabels(domain, area, scene, requests, warnings), solveCtx = labelCtx(theme, size, options, {
1803
1839
  density: domain.density,
@@ -1850,7 +1886,7 @@ function layoutColumnPass(data, options, keepEachValue, axisProbe, probeAxis = !
1850
1886
  let unprinted = new Map([...noted.items].filter(([id]) => !pointedAt.has(id) && // The note names what is not drawn: a sliver a pin placed is drawn, and so is one whose total prints its value.
1851
1887
  solved.placed.some((label) => label.id === id && (label.hidden === "collision" || label.hidden !== void 0 && label.printedIn === void 0 && noted.slivers.has(id))))), geometry = assembleColumnGeometry(domain, area, scene, solved, annotated, tierState, pointFont, growthPoints, ratioTierResult, occupied, warnings, paintWarningRules, lane);
1852
1888
  geometry.scene = raiseOverRules(geometry.scene, crossed);
1853
- let planNotes = area.showCatRow ? area.catPlan.step === "ranks" ? rankNotes(domain.cats.map((c) => c.label ?? c.id), domain.options) : area.catPlan.cutNotes : [], categoryNotes = options[CATEGORY_NOTES] ? [] : planNotes, valueLineReserve = hiddenValueLineReserve(geometry.labels, (text) => domain.measure(text, { ...area.labelFont, weight: emphasisWeight(domain.theme) }).width, size.width), lastCategory = domain.cats.at(-1), lastTick = domain.pyRef && lastCategory ? geometry.labels.find((label) => label.id === `tick:${domain.pyRef.id}:${lastCategory.id}` && (label.hidden === "collision" || label.hidden === "note")) : void 0, lastBar = lastTick && lastCategory ? area.band.position(domain.cats.length - 1) + area.band.bandwidth : 0, tickReserve = lastTick ? Math.max(0, Math.ceil(lastBar + PY_TICK_LEAD + domain.measure(lastTick.text, area.tickFont).width + 2 - size.width)) : 0, rankKey = () => rankNotes(domain.cats.map((c) => c.label ?? c.id), domain.options), unseatedLabels = domain.variant === "stacked100" ? annotated.placed.flatMap((entry) => (entry.kind === "callout" || entry.kind === "note") && entry.labelId !== void 0 ? geometry.labels.filter((label) => label.id === entry.labelId && label.hidden !== void 0) : []) : [], seatNeed = Math.ceil(maxOf(unseatedLabels.map((label) => label.rect.h))) + CALLOUT_SEAT_AIR;
1889
+ let planNotes = area.showCatRow ? area.catPlan().step === "ranks" ? rankNotes(domain.cats.map((c) => c.label ?? c.id), domain.options) : area.catPlan().cutNotes : [], categoryNotes = options[CATEGORY_NOTES] ? [] : planNotes, valueLineReserve = hiddenValueLineReserve(geometry.labels, (text) => domain.measure(text, { ...area.labelFont, weight: emphasisWeight(domain.theme) }).width, size.width), lastCategory = domain.cats.at(-1), lastTick = domain.pyRef && lastCategory ? geometry.labels.find((label) => label.id === `tick:${domain.pyRef.id}:${lastCategory.id}` && (label.hidden === "collision" || label.hidden === "note")) : void 0, lastBar = lastTick && lastCategory ? area.band.position(domain.cats.length - 1) + area.band.bandwidth : 0, tickReserve = lastTick ? Math.max(0, Math.ceil(lastBar + PY_TICK_LEAD + domain.measure(lastTick.text, area.tickFont).width + 2 - size.width)) : 0, rankKey = () => rankNotes(domain.cats.map((c) => c.label ?? c.id), domain.options), unseatedLabels = domain.variant === "stacked100" ? annotated.placed.flatMap((entry) => (entry.kind === "callout" || entry.kind === "note") && entry.labelId !== void 0 ? geometry.labels.filter((label) => label.id === entry.labelId && label.hidden !== void 0) : []) : [], seatNeed = Math.ceil(maxOf(unseatedLabels.map((label) => label.rect.h))) + CALLOUT_SEAT_AIR;
1854
1890
  return { geometry, unprinted, categoryNotes, planNotes, rankKey, legDeficit: annotated.legDeficit, bandNeed: annotated.bandNeed, valueLineReserve, tickReserve: tickReserve <= size.width / 3 ? tickReserve : 0, unseated: unseatedLabels.length, seatNeed: unseatedLabels.length > 0 ? seatNeed : 0, ...staircase ? { staircase } : {} };
1855
1891
  }
1856
1892
 
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  localeStrings,
3
3
  stringFields
4
- } from "./chunk-FYFXOLWI.js";
4
+ } from "./chunk-5OUURZ2T.js";
5
5
  import {
6
6
  typeWidthClass
7
- } from "./chunk-BKUTKQMT.js";
7
+ } from "./chunk-4NGKSJBX.js";
8
8
  import {
9
9
  DEFAULT_TARGET,
10
10
  scaleTextAtFloor,
@@ -14,7 +14,7 @@ import {
14
14
  import {
15
15
  hasAuthoredTypeSize,
16
16
  wrapText
17
- } from "./chunk-UIHGGWES.js";
17
+ } from "./chunk-77LQEREO.js";
18
18
  import {
19
19
  plainText
20
20
  } from "./chunk-SRUV7AT6.js";