@syidax/advanced 0.0.0-stage → 1.0.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 (2206) hide show
  1. package/LICENSE.md +360 -0
  2. package/NOTICE.md +8554 -0
  3. package/README.md +28 -2
  4. package/dist/advanced/advanced.esm.js +1 -0
  5. package/dist/advanced/index.esm.js +1 -0
  6. package/dist/advanced/p-047a8d2a.entry.js +1 -0
  7. package/dist/advanced/p-0d722333.entry.js +1 -0
  8. package/dist/advanced/p-10092cd7.entry.js +1 -0
  9. package/dist/advanced/p-3bfe768d.entry.js +1 -0
  10. package/dist/advanced/p-3c0e11bb.entry.js +1 -0
  11. package/dist/advanced/p-425cc46f.entry.js +1 -0
  12. package/dist/advanced/p-46a30369.entry.js +1 -0
  13. package/dist/advanced/p-4729eab2.entry.js +1 -0
  14. package/dist/advanced/p-4CjYGJmq.js +1 -0
  15. package/dist/advanced/p-4c936a0b.entry.js +1 -0
  16. package/dist/advanced/p-4d4d7a4e.entry.js +1 -0
  17. package/dist/advanced/p-52ccaa06.entry.js +2 -0
  18. package/dist/advanced/p-5a331221.entry.js +1 -0
  19. package/dist/advanced/p-5a901d75.entry.js +1 -0
  20. package/dist/advanced/p-5fe7ccff.entry.js +1 -0
  21. package/dist/advanced/p-6cc14adc.entry.js +1 -0
  22. package/dist/advanced/p-754e1389.entry.js +1 -0
  23. package/dist/advanced/p-7953cc9e.entry.js +1 -0
  24. package/dist/advanced/p-81391f84.entry.js +1 -0
  25. package/dist/advanced/p-84491b0f.entry.js +1 -0
  26. package/dist/advanced/p-84631cf9.entry.js +1 -0
  27. package/dist/advanced/p-87416587.entry.js +1 -0
  28. package/dist/advanced/p-89b3d2c2.entry.js +1 -0
  29. package/dist/advanced/p-8d7b586a.entry.js +1 -0
  30. package/dist/advanced/p-9d1f8f10.entry.js +1 -0
  31. package/dist/advanced/p-AzDRbG7D.js +1 -0
  32. package/dist/advanced/p-B6K1arcd.js +1 -0
  33. package/dist/advanced/p-BKZM2o7w.js +1 -0
  34. package/dist/advanced/p-BVmDGX0a.js +1 -0
  35. package/dist/advanced/p-BYBaMhHn.js +1 -0
  36. package/dist/advanced/p-Bl66fnTv.js +1 -0
  37. package/dist/advanced/p-Brtcd7ZV.js +1 -0
  38. package/dist/advanced/p-BsBcTKjx.js +1 -0
  39. package/dist/advanced/p-BwM4aW0R.js +1 -0
  40. package/dist/advanced/p-BwtrZuf8.js +1 -0
  41. package/dist/advanced/p-C-xxpQIO.js +1 -0
  42. package/dist/advanced/p-C0f63Npv.js +1 -0
  43. package/dist/advanced/p-C1RaN8eG.js +1 -0
  44. package/dist/advanced/p-C1vfsnDY.js +1 -0
  45. package/dist/advanced/p-C374wsaF.js +1 -0
  46. package/dist/advanced/p-CFyLRM--.js +1 -0
  47. package/dist/advanced/p-CIwqM40T.js +1 -0
  48. package/dist/advanced/p-CKEqyWf8.js +1 -0
  49. package/dist/advanced/p-CMRCw_kT.js +4 -0
  50. package/dist/advanced/p-CTrT2jn4.js +1 -0
  51. package/dist/advanced/p-C_2TIPHD.js +1 -0
  52. package/dist/advanced/p-CitzwxIw.js +1 -0
  53. package/dist/advanced/p-D4a88iaH.js +7 -0
  54. package/dist/advanced/p-D5aEHK78.js +1 -0
  55. package/dist/advanced/p-D6sPnRDQ.js +1 -0
  56. package/dist/advanced/p-D8Cooryu.js +1 -0
  57. package/dist/advanced/p-DChj4qx2.js +1 -0
  58. package/dist/advanced/p-DEKAlpFE.js +1 -0
  59. package/dist/advanced/p-DO6vGxJP.js +1 -0
  60. package/dist/advanced/p-DQ1RB1XB.js +1 -0
  61. package/dist/advanced/p-DQuL1Twl.js +1 -0
  62. package/dist/advanced/p-DTZUbymc.js +1 -0
  63. package/dist/advanced/p-DUELYDa7.js +1 -0
  64. package/dist/advanced/p-DXJS1EXW.js +1 -0
  65. package/dist/advanced/p-DYKIyOfR.js +1 -0
  66. package/dist/advanced/p-Dd9TQ3qQ.js +1 -0
  67. package/dist/advanced/p-DdNwMQsx.js +1 -0
  68. package/dist/advanced/p-Dl9apb8A.js +1 -0
  69. package/dist/advanced/p-DogpgTFv.js +1 -0
  70. package/dist/advanced/p-Dx-FsUbT.js +1 -0
  71. package/dist/advanced/p-Dz9vozhJ.js +1 -0
  72. package/dist/advanced/p-EXuVQfpl.js +1 -0
  73. package/dist/advanced/p-HAy9hTj2.js +1 -0
  74. package/dist/advanced/p-I8kmugWt.js +1 -0
  75. package/dist/advanced/p-S3uzYKsD.js +1 -0
  76. package/dist/advanced/p-WQSantHg.js +1 -0
  77. package/dist/advanced/p-Yjd8T1ZK.js +1 -0
  78. package/dist/advanced/p-_AFoWkvk.js +1 -0
  79. package/dist/advanced/p-aafa98ca.entry.js +1 -0
  80. package/dist/advanced/p-ab6a2087.entry.js +1 -0
  81. package/dist/advanced/p-aed71cba.entry.js +1 -0
  82. package/dist/advanced/p-e0549f37.entry.js +1 -0
  83. package/dist/advanced/p-ea07ff0e.entry.js +1 -0
  84. package/dist/advanced/p-ee62b647.entry.js +1 -0
  85. package/dist/advanced/p-f5148ac0.entry.js +1 -0
  86. package/dist/advanced/p-f8102c9d.entry.js +1 -0
  87. package/dist/advanced/p-f87fee01.entry.js +1 -0
  88. package/dist/advanced/p-gsi3BtH2.js +1 -0
  89. package/dist/advanced/p-kJe8wHkN.js +1 -0
  90. package/dist/advanced/p-nxlSIIWU.js +1 -0
  91. package/dist/advanced/p-smFnxv_V.js +1 -0
  92. package/dist/advanced/p-x7RF8NVg.js +1 -0
  93. package/dist/advanced/p-zrH7aO3p.js +1 -0
  94. package/dist/assets/style/advanced.css +1 -0
  95. package/dist/assets/style/board.css +0 -0
  96. package/dist/assets/style/chart.css +1 -0
  97. package/dist/assets/style/grid.css +0 -0
  98. package/dist/cjs/_syidax-chart-build-tier-De_XDaQO.js +1 -0
  99. package/dist/cjs/advanced.cjs.js +1 -0
  100. package/dist/cjs/app-globals-V2Kpy_OQ.js +1 -0
  101. package/dist/cjs/auto-labels-biCCU4IR.js +1 -0
  102. package/dist/cjs/axis-label-thinning-xlRYEkLr.js +1 -0
  103. package/dist/cjs/brand-logo-CJN4NV6G.js +1 -0
  104. package/dist/cjs/brand-mark-default-DvQHU2qS.js +1 -0
  105. package/dist/cjs/brush-interaction-DLBwLxOH.js +1 -0
  106. package/dist/cjs/cartesian-contract-BVApIzMy.js +1 -0
  107. package/dist/cjs/cartesian-frame-interaction-w1OfXe9B.js +1 -0
  108. package/dist/cjs/cartesian-series-contract-IfUitFYk.js +1 -0
  109. package/dist/cjs/cf-builder-chunk-D6ajo9Mh.js +1 -0
  110. package/dist/cjs/chart-brand-CEKOnWyE.js +1 -0
  111. package/dist/cjs/chart-brand-license-COyo1Vbl.js +1 -0
  112. package/dist/cjs/chart-element-loader-BGPJwN21.js +1 -0
  113. package/dist/cjs/chart-license-bridge-DAODso1A.js +1 -0
  114. package/dist/cjs/chart-streaming-gate-DX4tlXCx.js +1 -0
  115. package/dist/cjs/column-stack-BbD_lcgG.js +1 -0
  116. package/dist/cjs/component-runtime-chunk-BCXKlIzs.js +1 -0
  117. package/dist/cjs/connector-8ebOKxbI.js +1 -0
  118. package/dist/cjs/contracts-CtPI2qPw.js +1 -0
  119. package/dist/cjs/data-zoom-model-DWEnQJnh.js +1 -0
  120. package/dist/cjs/data-zoom-target-BO1_-I0t.js +1 -0
  121. package/dist/cjs/device-pixel-box-COQLb1eD.js +1 -0
  122. package/dist/cjs/drawing-export-CdJsjlzv.js +1 -0
  123. package/dist/cjs/engine-swap-license-BYrMn26A.js +1 -0
  124. package/dist/cjs/errors-DNua3ZWy.js +1 -0
  125. package/dist/cjs/grid-import-chunk-BlBvP3p6.js +1 -0
  126. package/dist/cjs/grid-license-session-BRxDNKOX.js +7 -0
  127. package/dist/cjs/index-BS2KctDY.js +1 -0
  128. package/dist/cjs/index-CKeHnO3Q.js +5 -0
  129. package/dist/cjs/index.cjs.js +1 -0
  130. package/dist/cjs/interpolate-BWPQ5Hyd.js +1 -0
  131. package/dist/cjs/legend-CbjQG1uh.js +1 -0
  132. package/dist/cjs/legend-interaction-Cc6htppF.js +1 -0
  133. package/dist/cjs/live-object-model-CjPqHT6U.js +1 -0
  134. package/dist/cjs/loader.cjs.js +1 -0
  135. package/dist/cjs/number-Dq6GiQsL.js +1 -0
  136. package/dist/cjs/parse-CoFqMZ-2.js +1 -0
  137. package/dist/cjs/pie-animator-Bvgo8ICN.js +1 -0
  138. package/dist/cjs/pie-geometry-d5pwtOxJ.js +1 -0
  139. package/dist/cjs/point-context-menu-CWB4nv9m.js +1 -0
  140. package/dist/cjs/resolve-Cti85ZtE.js +1 -0
  141. package/dist/cjs/row-drag-chunk-kA4TVsmj.js +1 -0
  142. package/dist/cjs/row-layout-chunk-CyH-tG1Y.js +1 -0
  143. package/dist/cjs/safe-formatter-B0DDURao.js +1 -0
  144. package/dist/cjs/scheme-KzZHS7kW.js +1 -0
  145. package/dist/cjs/standard-engine-status-C4zMZsEh.js +1 -0
  146. package/dist/cjs/stream-interp-CVi5SGFf.js +1 -0
  147. package/dist/cjs/sy-area-chart.cjs.entry.js +1 -0
  148. package/dist/cjs/sy-bar-chart.cjs.entry.js +1 -0
  149. package/dist/cjs/sy-bubble-chart.cjs.entry.js +1 -0
  150. package/dist/cjs/sy-chart.cjs.entry.js +2 -0
  151. package/dist/cjs/sy-column-chart.cjs.entry.js +1 -0
  152. package/dist/cjs/sy-data-zoom.cjs.entry.js +1 -0
  153. package/dist/cjs/sy-dot-plot-chart.cjs.entry.js +1 -0
  154. package/dist/cjs/sy-dumbbell-chart.cjs.entry.js +1 -0
  155. package/dist/cjs/sy-funnel-chart.cjs.entry.js +1 -0
  156. package/dist/cjs/sy-gauge-chart.cjs.entry.js +1 -0
  157. package/dist/cjs/sy-grid.sy-grid-standard-BNEY4YEK.js +4 -0
  158. package/dist/cjs/sy-grid_2.cjs.entry.js +1 -0
  159. package/dist/cjs/sy-histogram-chart.cjs.entry.js +1 -0
  160. package/dist/cjs/sy-item-chart.cjs.entry.js +1 -0
  161. package/dist/cjs/sy-line-chart-path-Cfasx_t5.js +1 -0
  162. package/dist/cjs/sy-line-chart.cjs.entry.js +1 -0
  163. package/dist/cjs/sy-lollipop-chart.cjs.entry.js +1 -0
  164. package/dist/cjs/sy-marimekko-chart.cjs.entry.js +1 -0
  165. package/dist/cjs/sy-navigator.cjs.entry.js +1 -0
  166. package/dist/cjs/sy-pareto-chart.cjs.entry.js +1 -0
  167. package/dist/cjs/sy-pictorial-chart.cjs.entry.js +1 -0
  168. package/dist/cjs/sy-pie-chart.cjs.entry.js +1 -0
  169. package/dist/cjs/sy-polar-chart.cjs.entry.js +1 -0
  170. package/dist/cjs/sy-radar-chart.cjs.entry.js +1 -0
  171. package/dist/cjs/sy-scatter-chart.cjs.entry.js +1 -0
  172. package/dist/cjs/sy-stem-leaf-chart.cjs.entry.js +1 -0
  173. package/dist/cjs/sy-tilemap.cjs.entry.js +1 -0
  174. package/dist/cjs/sy-tornado-chart.cjs.entry.js +1 -0
  175. package/dist/cjs/sy-variwide-chart.cjs.entry.js +1 -0
  176. package/dist/cjs/sy-visual-map.cjs.entry.js +1 -0
  177. package/dist/cjs/sy-wafer-correlation.cjs.entry.js +1 -0
  178. package/dist/cjs/sy-wafer-map.cjs.entry.js +1 -0
  179. package/dist/cjs/sy-wafer-stack.cjs.entry.js +1 -0
  180. package/dist/cjs/sy-word-cloud.cjs.entry.js +1 -0
  181. package/dist/cjs/sy-yield-zone-chart.cjs.entry.js +1 -0
  182. package/dist/cjs/types-jSXHeK-g.js +1 -0
  183. package/dist/cjs/viewport-zoom-h9w4q7XJ.js +1 -0
  184. package/dist/cjs/visual-map-binding-Ddnoet7F.js +1 -0
  185. package/dist/cjs/wafer-stack-1qlPI-im.js +1 -0
  186. package/dist/cjs/wafer-value-CZzFL0S-.js +1 -0
  187. package/dist/cjs/zoom-interaction-C3K9MKr2.js +1 -0
  188. package/dist/cjs/zoom-window-oCyi6HPg.js +1 -0
  189. package/dist/collection/collection-manifest.json +213 -0
  190. package/dist/collection/components/_shared/brand/brand-decision.js +1 -0
  191. package/dist/collection/components/_shared/brand/brand-export-default.js +1 -0
  192. package/dist/collection/components/_shared/brand/brand-export.js +1 -0
  193. package/dist/collection/components/_shared/brand/brand-integrity.js +1 -0
  194. package/dist/collection/components/_shared/brand/brand-lockup-default.js +1 -0
  195. package/dist/collection/components/_shared/brand/brand-logo.js +1 -0
  196. package/dist/collection/components/_shared/brand/brand-mark-default.js +1 -0
  197. package/dist/collection/components/_shared/brand/brand-mark.js +1 -0
  198. package/dist/collection/components/_shared/brand/index.js +1 -0
  199. package/dist/collection/components/_shared/brand/types.js +1 -0
  200. package/dist/collection/components/chart/_shared/core/a11y/a11y.js +1 -0
  201. package/dist/collection/components/chart/_shared/core/a11y/contrast.js +1 -0
  202. package/dist/collection/components/chart/_shared/core/a11y/index.js +1 -0
  203. package/dist/collection/components/chart/_shared/core/action/action-contract.js +1 -0
  204. package/dist/collection/components/chart/_shared/core/action/index.js +1 -0
  205. package/dist/collection/components/chart/_shared/core/adapter/animatable-mark.js +1 -0
  206. package/dist/collection/components/chart/_shared/core/adapter/deferred-pro-renderer.js +1 -0
  207. package/dist/collection/components/chart/_shared/core/adapter/gpu-availability.js +1 -0
  208. package/dist/collection/components/chart/_shared/core/adapter/index.js +1 -0
  209. package/dist/collection/components/chart/_shared/core/adapter/streamable-series.js +1 -0
  210. package/dist/collection/components/chart/_shared/core/animation/flip.js +1 -0
  211. package/dist/collection/components/chart/_shared/core/animation/heatmap-animator.js +1 -0
  212. package/dist/collection/components/chart/_shared/core/animation/index.js +1 -0
  213. package/dist/collection/components/chart/_shared/core/animation/interruptible.js +1 -0
  214. package/dist/collection/components/chart/_shared/core/animation/morph-paint-order.js +1 -0
  215. package/dist/collection/components/chart/_shared/core/animation/scene3d-exit.js +1 -0
  216. package/dist/collection/components/chart/_shared/core/animation/stream-interp.js +1 -0
  217. package/dist/collection/components/chart/_shared/core/animation/transition.js +1 -0
  218. package/dist/collection/components/chart/_shared/core/animation/tween.js +1 -0
  219. package/dist/collection/components/chart/_shared/core/annotation/index.js +1 -0
  220. package/dist/collection/components/chart/_shared/core/axis/auto-labels.js +1 -0
  221. package/dist/collection/components/chart/_shared/core/axis/axis-base.js +1 -0
  222. package/dist/collection/components/chart/_shared/core/axis/category-axis.js +1 -0
  223. package/dist/collection/components/chart/_shared/core/axis/index.js +1 -0
  224. package/dist/collection/components/chart/_shared/core/axis/label-collision.js +1 -0
  225. package/dist/collection/components/chart/_shared/core/axis/linear-axis.js +1 -0
  226. package/dist/collection/components/chart/_shared/core/axis/log-axis.js +1 -0
  227. package/dist/collection/components/chart/_shared/core/axis/time-axis.js +1 -0
  228. package/dist/collection/components/chart/_shared/core/brand/brand-placement.js +1 -0
  229. package/dist/collection/components/chart/_shared/core/brand/chart-brand-config.js +1 -0
  230. package/dist/collection/components/chart/_shared/core/brand/chart-brand-export.js +1 -0
  231. package/dist/collection/components/chart/_shared/core/brand/chart-brand-host.js +1 -0
  232. package/dist/collection/components/chart/_shared/core/brand/chart-brand-lazy.js +1 -0
  233. package/dist/collection/components/chart/_shared/core/brand/chart-brand-palette.js +1 -0
  234. package/dist/collection/components/chart/_shared/core/brand/chart-brand-theme.js +1 -0
  235. package/dist/collection/components/chart/_shared/core/brand/chart-brand.js +1 -0
  236. package/dist/collection/components/chart/_shared/core/brand/license/chart-brand-license.js +1 -0
  237. package/dist/collection/components/chart/_shared/core/brush/brush-contract.js +1 -0
  238. package/dist/collection/components/chart/_shared/core/brush/brush-geometry.js +1 -0
  239. package/dist/collection/components/chart/_shared/core/brush/brush-interaction.js +1 -0
  240. package/dist/collection/components/chart/_shared/core/brush/index.js +1 -0
  241. package/dist/collection/components/chart/_shared/core/color/heatmap-color.js +1 -0
  242. package/dist/collection/components/chart/_shared/core/color/index.js +1 -0
  243. package/dist/collection/components/chart/_shared/core/color/interpolate.js +1 -0
  244. package/dist/collection/components/chart/_shared/core/color/named-colors.js +1 -0
  245. package/dist/collection/components/chart/_shared/core/color/parse.js +1 -0
  246. package/dist/collection/components/chart/_shared/core/color/resolve.js +1 -0
  247. package/dist/collection/components/chart/_shared/core/color/rgba.js +1 -0
  248. package/dist/collection/components/chart/_shared/core/color/scheme.js +1 -0
  249. package/dist/collection/components/chart/_shared/core/contract/bar3d-contract.js +1 -0
  250. package/dist/collection/components/chart/_shared/core/contract/box-plot-contract.js +1 -0
  251. package/dist/collection/components/chart/_shared/core/contract/bubble-contract.js +1 -0
  252. package/dist/collection/components/chart/_shared/core/contract/calendar-heatmap-contract.js +1 -0
  253. package/dist/collection/components/chart/_shared/core/contract/candlestick-contract.js +1 -0
  254. package/dist/collection/components/chart/_shared/core/contract/cartesian-contract.js +1 -0
  255. package/dist/collection/components/chart/_shared/core/contract/cartesian-series-contract.js +1 -0
  256. package/dist/collection/components/chart/_shared/core/contract/chord-contract.js +1 -0
  257. package/dist/collection/components/chart/_shared/core/contract/dendrogram-contract.js +1 -0
  258. package/dist/collection/components/chart/_shared/core/contract/density-map-contract.js +1 -0
  259. package/dist/collection/components/chart/_shared/core/contract/error-bar-contract.js +1 -0
  260. package/dist/collection/components/chart/_shared/core/contract/flow-lines-contract.js +1 -0
  261. package/dist/collection/components/chart/_shared/core/contract/gantt-contract.js +1 -0
  262. package/dist/collection/components/chart/_shared/core/contract/geo-map-contract.js +1 -0
  263. package/dist/collection/components/chart/_shared/core/contract/geo-map-features-contract.js +1 -0
  264. package/dist/collection/components/chart/_shared/core/contract/heatmap-contract.js +1 -0
  265. package/dist/collection/components/chart/_shared/core/contract/icicle-contract.js +1 -0
  266. package/dist/collection/components/chart/_shared/core/contract/index.js +1 -0
  267. package/dist/collection/components/chart/_shared/core/contract/network-graph-contract.js +1 -0
  268. package/dist/collection/components/chart/_shared/core/contract/parallel-coordinates-contract.js +1 -0
  269. package/dist/collection/components/chart/_shared/core/contract/sankey-contract.js +1 -0
  270. package/dist/collection/components/chart/_shared/core/contract/scatter3d-contract.js +1 -0
  271. package/dist/collection/components/chart/_shared/core/contract/scene3d-camera-contract.js +1 -0
  272. package/dist/collection/components/chart/_shared/core/contract/scene3d-chart-contract.js +1 -0
  273. package/dist/collection/components/chart/_shared/core/contract/scene3d-lighting-contract.js +1 -0
  274. package/dist/collection/components/chart/_shared/core/contract/scene3d-orbit-contract.js +1 -0
  275. package/dist/collection/components/chart/_shared/core/contract/spectrogram-contract.js +1 -0
  276. package/dist/collection/components/chart/_shared/core/contract/sunburst-contract.js +1 -0
  277. package/dist/collection/components/chart/_shared/core/contract/surface3d-contract.js +1 -0
  278. package/dist/collection/components/chart/_shared/core/contract/theme-river-contract.js +1 -0
  279. package/dist/collection/components/chart/_shared/core/contract/treemap-contract.js +1 -0
  280. package/dist/collection/components/chart/_shared/core/contract/waterfall-contract.js +1 -0
  281. package/dist/collection/components/chart/_shared/core/crosshair/category-snap.js +1 -0
  282. package/dist/collection/components/chart/_shared/core/crosshair/crosshair.js +1 -0
  283. package/dist/collection/components/chart/_shared/core/crosshair/index.js +1 -0
  284. package/dist/collection/components/chart/_shared/core/data/dataset.js +1 -0
  285. package/dist/collection/components/chart/_shared/core/data/encode.js +1 -0
  286. package/dist/collection/components/chart/_shared/core/data/index.js +1 -0
  287. package/dist/collection/components/chart/_shared/core/data/transforms.js +1 -0
  288. package/dist/collection/components/chart/_shared/core/data/values-attribute.js +1 -0
  289. package/dist/collection/components/chart/_shared/core/drawing/drawing-contract.js +1 -0
  290. package/dist/collection/components/chart/_shared/core/drawing/drawing-cursor.js +1 -0
  291. package/dist/collection/components/chart/_shared/core/drawing/drawing-export.js +1 -0
  292. package/dist/collection/components/chart/_shared/core/drawing/drawing-hit.js +1 -0
  293. package/dist/collection/components/chart/_shared/core/drawing/drawing-interaction.js +1 -0
  294. package/dist/collection/components/chart/_shared/core/drawing/drawing-measure.js +1 -0
  295. package/dist/collection/components/chart/_shared/core/drawing/drawing-projection.js +1 -0
  296. package/dist/collection/components/chart/_shared/core/drawing/drawing-tools.js +1 -0
  297. package/dist/collection/components/chart/_shared/core/drawing/index.js +1 -0
  298. package/dist/collection/components/chart/_shared/core/engine/resolve-chart-engine.js +1 -0
  299. package/dist/collection/components/chart/_shared/core/engine/types.js +1 -0
  300. package/dist/collection/components/chart/_shared/core/event/hit-test.js +1 -0
  301. package/dist/collection/components/chart/_shared/core/event/index.js +1 -0
  302. package/dist/collection/components/chart/_shared/core/event/point-context-menu.js +1 -0
  303. package/dist/collection/components/chart/_shared/core/event/pointer.js +1 -0
  304. package/dist/collection/components/chart/_shared/core/export/chart-export.js +2 -0
  305. package/dist/collection/components/chart/_shared/core/export/data-table.js +1 -0
  306. package/dist/collection/components/chart/_shared/core/export/html-overlay.js +1 -0
  307. package/dist/collection/components/chart/_shared/core/export/index.js +1 -0
  308. package/dist/collection/components/chart/_shared/core/export/svg-fonts.js +1 -0
  309. package/dist/collection/components/chart/_shared/core/financial-bars.js +1 -0
  310. package/dist/collection/components/chart/_shared/core/format/datetime.js +1 -0
  311. package/dist/collection/components/chart/_shared/core/format/duration.js +1 -0
  312. package/dist/collection/components/chart/_shared/core/format/index.js +1 -0
  313. package/dist/collection/components/chart/_shared/core/format/number.js +1 -0
  314. package/dist/collection/components/chart/_shared/core/format/safe-formatter.js +1 -0
  315. package/dist/collection/components/chart/_shared/core/graph/strongly-connected.js +1 -0
  316. package/dist/collection/components/chart/_shared/core/hover/highlight.js +1 -0
  317. package/dist/collection/components/chart/_shared/core/hover/index.js +1 -0
  318. package/dist/collection/components/chart/_shared/core/index.js +1 -0
  319. package/dist/collection/components/chart/_shared/core/layout/axis-label-thinning.js +1 -0
  320. package/dist/collection/components/chart/_shared/core/layout/cartesian-frame-interaction.js +1 -0
  321. package/dist/collection/components/chart/_shared/core/layout/cartesian-frame.js +1 -0
  322. package/dist/collection/components/chart/_shared/core/layout/cartesian-render-domain.js +1 -0
  323. package/dist/collection/components/chart/_shared/core/layout/device-pixel-box.js +1 -0
  324. package/dist/collection/components/chart/_shared/core/layout/frame.js +1 -0
  325. package/dist/collection/components/chart/_shared/core/layout/index.js +1 -0
  326. package/dist/collection/components/chart/_shared/core/layout/label-geometry.js +1 -0
  327. package/dist/collection/components/chart/_shared/core/layout/label-obstacle-index.js +1 -0
  328. package/dist/collection/components/chart/_shared/core/layout/legend-interaction.js +1 -0
  329. package/dist/collection/components/chart/_shared/core/layout/legend.js +1 -0
  330. package/dist/collection/components/chart/_shared/core/layout/plot-area.js +1 -0
  331. package/dist/collection/components/chart/_shared/core/layout/title.js +1 -0
  332. package/dist/collection/components/chart/_shared/core/license/chart-license-bridge.js +1 -0
  333. package/dist/collection/components/chart/_shared/core/license/chart-license-features.js +1 -0
  334. package/dist/collection/components/chart/_shared/core/license/chart-license-notice.js +1 -0
  335. package/dist/collection/components/chart/_shared/core/limits/point-cap.js +1 -0
  336. package/dist/collection/components/chart/_shared/core/loading/chart-build-tier.js +1 -0
  337. package/dist/collection/components/chart/_shared/core/loading/chart-element-loader.js +1 -0
  338. package/dist/collection/components/chart/_shared/core/loading/chart-load-controller.js +1 -0
  339. package/dist/collection/components/chart/_shared/core/loading/chart-type-rows.js +1 -0
  340. package/dist/collection/components/chart/_shared/core/loading/chart-type-table.js +1 -0
  341. package/dist/collection/components/chart/_shared/core/loading/index.js +1 -0
  342. package/dist/collection/components/chart/_shared/core/locale/index.js +1 -0
  343. package/dist/collection/components/chart/_shared/core/locale/locale.js +1 -0
  344. package/dist/collection/components/chart/_shared/core/math/ease.js +1 -0
  345. package/dist/collection/components/chart/_shared/core/math/index.js +1 -0
  346. package/dist/collection/components/chart/_shared/core/math/primitives.js +1 -0
  347. package/dist/collection/components/chart/_shared/core/math/stat.js +1 -0
  348. package/dist/collection/components/chart/_shared/core/menu/context-menu.js +1 -0
  349. package/dist/collection/components/chart/_shared/core/menu/index.js +1 -0
  350. package/dist/collection/components/chart/_shared/core/numeric/quickselect.js +1 -0
  351. package/dist/collection/components/chart/_shared/core/numeric/safe-numeric.js +1 -0
  352. package/dist/collection/components/chart/_shared/core/progressive/index.js +1 -0
  353. package/dist/collection/components/chart/_shared/core/progressive/progressive-draw.js +1 -0
  354. package/dist/collection/components/chart/_shared/core/scale/band.js +1 -0
  355. package/dist/collection/components/chart/_shared/core/scale/diverging.js +1 -0
  356. package/dist/collection/components/chart/_shared/core/scale/index.js +1 -0
  357. package/dist/collection/components/chart/_shared/core/scale/linear.js +1 -0
  358. package/dist/collection/components/chart/_shared/core/scale/log.js +1 -0
  359. package/dist/collection/components/chart/_shared/core/scale/ordinal.js +1 -0
  360. package/dist/collection/components/chart/_shared/core/scale/point.js +1 -0
  361. package/dist/collection/components/chart/_shared/core/scale/pow.js +1 -0
  362. package/dist/collection/components/chart/_shared/core/scale/quantile.js +1 -0
  363. package/dist/collection/components/chart/_shared/core/scale/quantize.js +1 -0
  364. package/dist/collection/components/chart/_shared/core/scale/sequential.js +1 -0
  365. package/dist/collection/components/chart/_shared/core/scale/symlog.js +1 -0
  366. package/dist/collection/components/chart/_shared/core/scale/threshold.js +1 -0
  367. package/dist/collection/components/chart/_shared/core/scale/tick-strategy.js +1 -0
  368. package/dist/collection/components/chart/_shared/core/scale/time-tick-strategy.js +1 -0
  369. package/dist/collection/components/chart/_shared/core/scale/time.js +1 -0
  370. package/dist/collection/components/chart/_shared/core/spatial/index.js +1 -0
  371. package/dist/collection/components/chart/_shared/core/spatial/kdtree.js +1 -0
  372. package/dist/collection/components/chart/_shared/core/spatial/kernel.js +1 -0
  373. package/dist/collection/components/chart/_shared/core/spatial/quadtree.js +1 -0
  374. package/dist/collection/components/chart/_shared/core/state/index.js +1 -0
  375. package/dist/collection/components/chart/_shared/core/state/state-model.js +1 -0
  376. package/dist/collection/components/chart/_shared/core/stream/batch-flush-runtime.js +1 -0
  377. package/dist/collection/components/chart/_shared/core/stream/batch-flush.js +1 -0
  378. package/dist/collection/components/chart/_shared/core/stream/category-upserts.js +1 -0
  379. package/dist/collection/components/chart/_shared/core/stream/frame-budget.js +1 -0
  380. package/dist/collection/components/chart/_shared/core/stream/index.js +1 -0
  381. package/dist/collection/components/chart/_shared/core/stream/keyed-object-stream-runtime.js +1 -0
  382. package/dist/collection/components/chart/_shared/core/stream/keyed-object-stream.js +1 -0
  383. package/dist/collection/components/chart/_shared/core/stream/ring-buffer-runtime.js +1 -0
  384. package/dist/collection/components/chart/_shared/core/stream/ring-buffer.js +1 -0
  385. package/dist/collection/components/chart/_shared/core/stream/stream-source-runtime.js +1 -0
  386. package/dist/collection/components/chart/_shared/core/stream/stream-source.js +1 -0
  387. package/dist/collection/components/chart/_shared/core/stream/time-window-runtime.js +1 -0
  388. package/dist/collection/components/chart/_shared/core/stream/time-window.js +1 -0
  389. package/dist/collection/components/chart/_shared/core/theme/index.js +1 -0
  390. package/dist/collection/components/chart/_shared/core/theme/theme.js +1 -0
  391. package/dist/collection/components/chart/_shared/core/tooltip/card-a11y.js +1 -0
  392. package/dist/collection/components/chart/_shared/core/tooltip/cell-tooltip-controller.js +1 -0
  393. package/dist/collection/components/chart/_shared/core/tooltip/connector.js +1 -0
  394. package/dist/collection/components/chart/_shared/core/tooltip/formatter.js +1 -0
  395. package/dist/collection/components/chart/_shared/core/tooltip/index.js +1 -0
  396. package/dist/collection/components/chart/_shared/core/tooltip/tooltip-engine.js +1 -0
  397. package/dist/collection/components/chart/_shared/core/tooltip/tooltip-transfer.js +1 -0
  398. package/dist/collection/components/chart/_shared/core/types.js +1 -0
  399. package/dist/collection/components/chart/_shared/core/visual-map/index.js +1 -0
  400. package/dist/collection/components/chart/_shared/core/visual-map/visual-map-binding.js +1 -0
  401. package/dist/collection/components/chart/_shared/core/visual-map/visual-map-contract.js +1 -0
  402. package/dist/collection/components/chart/_shared/core/zoom/crosshair-sync.js +1 -0
  403. package/dist/collection/components/chart/_shared/core/zoom/index.js +1 -0
  404. package/dist/collection/components/chart/_shared/core/zoom/viewport-zoom.js +1 -0
  405. package/dist/collection/components/chart/_shared/core/zoom/zoom-connect.js +1 -0
  406. package/dist/collection/components/chart/_shared/core/zoom/zoom-contract.js +1 -0
  407. package/dist/collection/components/chart/_shared/core/zoom/zoom-drag.js +1 -0
  408. package/dist/collection/components/chart/_shared/core/zoom/zoom-host.js +1 -0
  409. package/dist/collection/components/chart/_shared/core/zoom/zoom-interaction.js +1 -0
  410. package/dist/collection/components/chart/_shared/core/zoom/zoom-window.js +1 -0
  411. package/dist/collection/components/chart/_shared/render/canvas.js +1 -0
  412. package/dist/collection/components/chart/_shared/render/index.js +1 -0
  413. package/dist/collection/components/chart/_shared/render/series.js +1 -0
  414. package/dist/collection/components/chart/area-chart/core/animation/animator.js +1 -0
  415. package/dist/collection/components/chart/area-chart/core/animation/easing.js +1 -0
  416. package/dist/collection/components/chart/area-chart/core/animation/index.js +1 -0
  417. package/dist/collection/components/chart/area-chart/core/animation/path-morph.js +1 -0
  418. package/dist/collection/components/chart/area-chart/core/area-chart-core.js +1 -0
  419. package/dist/collection/components/chart/area-chart/core/area-pro-renderer-loader.js +1 -0
  420. package/dist/collection/components/chart/area-chart/core/pattern-kind.js +1 -0
  421. package/dist/collection/components/chart/area-chart/core/streaming/index.js +1 -0
  422. package/dist/collection/components/chart/area-chart/core/streaming/ring-buffer-runtime.js +1 -0
  423. package/dist/collection/components/chart/area-chart/core/streaming/ring-buffer.js +1 -0
  424. package/dist/collection/components/chart/area-chart/core/streaming/stream-source-runtime.js +1 -0
  425. package/dist/collection/components/chart/area-chart/core/streaming/stream-source.js +1 -0
  426. package/dist/collection/components/chart/area-chart/core/types.js +1 -0
  427. package/dist/collection/components/chart/area-chart/core/visual-regression/baseline.js +1 -0
  428. package/dist/collection/components/chart/area-chart/core/visual-regression/dom-snapshot.js +1 -0
  429. package/dist/collection/components/chart/area-chart/core/visual-regression/stream-frame-snapshot.js +1 -0
  430. package/dist/collection/components/chart/area-chart/engines/standard/area-chart-standard-renderer.js +1 -0
  431. package/dist/collection/components/chart/area-chart/engines/standard/index.js +1 -0
  432. package/dist/collection/components/chart/area-chart/engines/standard/sy-area-chart-path.js +1 -0
  433. package/dist/collection/components/chart/area-chart/index.js +1 -0
  434. package/dist/collection/components/chart/area-chart/sy-area-chart.css +1 -0
  435. package/dist/collection/components/chart/area-chart/sy-area-chart.js +1 -0
  436. package/dist/collection/components/chart/bar-chart/core/animation/animator.js +1 -0
  437. package/dist/collection/components/chart/bar-chart/core/animation/baseline-grow.js +1 -0
  438. package/dist/collection/components/chart/bar-chart/core/animation/easing.js +1 -0
  439. package/dist/collection/components/chart/bar-chart/core/animation/index.js +1 -0
  440. package/dist/collection/components/chart/bar-chart/core/animation/path-morph.js +1 -0
  441. package/dist/collection/components/chart/bar-chart/core/bar-border.js +1 -0
  442. package/dist/collection/components/chart/bar-chart/core/bar-chart-core.js +1 -0
  443. package/dist/collection/components/chart/bar-chart/core/bar-layout.js +1 -0
  444. package/dist/collection/components/chart/bar-chart/core/bar-pro-renderer-loader.js +1 -0
  445. package/dist/collection/components/chart/bar-chart/core/streaming/index.js +1 -0
  446. package/dist/collection/components/chart/bar-chart/core/streaming/ring-buffer-runtime.js +1 -0
  447. package/dist/collection/components/chart/bar-chart/core/streaming/ring-buffer.js +1 -0
  448. package/dist/collection/components/chart/bar-chart/core/streaming/stream-source-runtime.js +1 -0
  449. package/dist/collection/components/chart/bar-chart/core/streaming/stream-source.js +1 -0
  450. package/dist/collection/components/chart/bar-chart/core/types.js +1 -0
  451. package/dist/collection/components/chart/bar-chart/engines/standard/bar-chart-standard-renderer.js +1 -0
  452. package/dist/collection/components/chart/bar-chart/engines/standard/index.js +1 -0
  453. package/dist/collection/components/chart/bar-chart/engines/standard/sy-bar-chart-path.js +1 -0
  454. package/dist/collection/components/chart/bar-chart/index.js +1 -0
  455. package/dist/collection/components/chart/bar-chart/sy-bar-chart.css +1 -0
  456. package/dist/collection/components/chart/bar-chart/sy-bar-chart.js +1 -0
  457. package/dist/collection/components/chart/bubble-chart/core/bubble-chart-core.js +1 -0
  458. package/dist/collection/components/chart/bubble-chart/core/bubble-color.js +1 -0
  459. package/dist/collection/components/chart/bubble-chart/core/bubble-data.js +1 -0
  460. package/dist/collection/components/chart/bubble-chart/core/bubble-geometry.js +1 -0
  461. package/dist/collection/components/chart/bubble-chart/core/bubble-morph.js +1 -0
  462. package/dist/collection/components/chart/bubble-chart/core/bubble-pack.js +1 -0
  463. package/dist/collection/components/chart/bubble-chart/core/bubble-pro-renderer-loader.js +1 -0
  464. package/dist/collection/components/chart/bubble-chart/core/bubble-projection.js +1 -0
  465. package/dist/collection/components/chart/bubble-chart/core/bubble-stream-source-runtime.js +1 -0
  466. package/dist/collection/components/chart/bubble-chart/core/bubble-stream-source.js +1 -0
  467. package/dist/collection/components/chart/bubble-chart/core/types.js +1 -0
  468. package/dist/collection/components/chart/bubble-chart/engines/standard/bubble-standard-renderer.js +1 -0
  469. package/dist/collection/components/chart/bubble-chart/engines/standard/index.js +1 -0
  470. package/dist/collection/components/chart/bubble-chart/index.js +1 -0
  471. package/dist/collection/components/chart/bubble-chart/sy-bubble-chart.css +1 -0
  472. package/dist/collection/components/chart/bubble-chart/sy-bubble-chart.js +1 -0
  473. package/dist/collection/components/chart/column-chart/core/animation/animator.js +1 -0
  474. package/dist/collection/components/chart/column-chart/core/animation/easing.js +1 -0
  475. package/dist/collection/components/chart/column-chart/core/animation/index.js +1 -0
  476. package/dist/collection/components/chart/column-chart/core/animation/path-morph.js +1 -0
  477. package/dist/collection/components/chart/column-chart/core/column-border.js +1 -0
  478. package/dist/collection/components/chart/column-chart/core/column-chart-core.js +1 -0
  479. package/dist/collection/components/chart/column-chart/core/column-pro-renderer-loader.js +1 -0
  480. package/dist/collection/components/chart/column-chart/core/column-stack.js +1 -0
  481. package/dist/collection/components/chart/column-chart/core/streaming/index.js +1 -0
  482. package/dist/collection/components/chart/column-chart/core/streaming/ring-buffer-runtime.js +1 -0
  483. package/dist/collection/components/chart/column-chart/core/streaming/ring-buffer.js +1 -0
  484. package/dist/collection/components/chart/column-chart/core/streaming/stream-source-runtime.js +1 -0
  485. package/dist/collection/components/chart/column-chart/core/streaming/stream-source.js +1 -0
  486. package/dist/collection/components/chart/column-chart/core/types.js +1 -0
  487. package/dist/collection/components/chart/column-chart/engines/standard/column-chart-standard-renderer.js +1 -0
  488. package/dist/collection/components/chart/column-chart/engines/standard/index.js +1 -0
  489. package/dist/collection/components/chart/column-chart/engines/standard/sy-column-chart-path.js +1 -0
  490. package/dist/collection/components/chart/column-chart/index.js +1 -0
  491. package/dist/collection/components/chart/column-chart/sy-column-chart.css +1 -0
  492. package/dist/collection/components/chart/column-chart/sy-column-chart.js +1 -0
  493. package/dist/collection/components/chart/data-zoom/core/data-zoom-model.js +1 -0
  494. package/dist/collection/components/chart/data-zoom/core/data-zoom-target.js +1 -0
  495. package/dist/collection/components/chart/data-zoom/sy-data-zoom.css +1 -0
  496. package/dist/collection/components/chart/data-zoom/sy-data-zoom.js +1 -0
  497. package/dist/collection/components/chart/dot-plot-chart/core/dot-plot-animator.js +1 -0
  498. package/dist/collection/components/chart/dot-plot-chart/core/dot-plot-chart-core.js +1 -0
  499. package/dist/collection/components/chart/dot-plot-chart/core/dot-plot-geometry.js +1 -0
  500. package/dist/collection/components/chart/dot-plot-chart/core/dot-plot-stream-source-runtime.js +1 -0
  501. package/dist/collection/components/chart/dot-plot-chart/core/dot-plot-stream-source.js +1 -0
  502. package/dist/collection/components/chart/dot-plot-chart/core/types.js +1 -0
  503. package/dist/collection/components/chart/dot-plot-chart/engines/standard/index.js +1 -0
  504. package/dist/collection/components/chart/dot-plot-chart/index.js +1 -0
  505. package/dist/collection/components/chart/dot-plot-chart/sy-dot-plot-chart.css +1 -0
  506. package/dist/collection/components/chart/dot-plot-chart/sy-dot-plot-chart.js +1 -0
  507. package/dist/collection/components/chart/dumbbell-chart/core/dumbbell-animator.js +1 -0
  508. package/dist/collection/components/chart/dumbbell-chart/core/dumbbell-chart-core.js +1 -0
  509. package/dist/collection/components/chart/dumbbell-chart/core/dumbbell-data.js +1 -0
  510. package/dist/collection/components/chart/dumbbell-chart/core/dumbbell-geometry.js +1 -0
  511. package/dist/collection/components/chart/dumbbell-chart/core/dumbbell-stream-source-runtime.js +1 -0
  512. package/dist/collection/components/chart/dumbbell-chart/core/dumbbell-stream-source.js +1 -0
  513. package/dist/collection/components/chart/dumbbell-chart/core/types.js +1 -0
  514. package/dist/collection/components/chart/dumbbell-chart/engines/standard/index.js +1 -0
  515. package/dist/collection/components/chart/dumbbell-chart/index.js +1 -0
  516. package/dist/collection/components/chart/dumbbell-chart/sy-dumbbell-chart.css +1 -0
  517. package/dist/collection/components/chart/dumbbell-chart/sy-dumbbell-chart.js +1 -0
  518. package/dist/collection/components/chart/facade-types.js +1 -0
  519. package/dist/collection/components/chart/funnel-chart/core/funnel-animator.js +1 -0
  520. package/dist/collection/components/chart/funnel-chart/core/funnel-chart-core.js +1 -0
  521. package/dist/collection/components/chart/funnel-chart/core/funnel-geometry.js +1 -0
  522. package/dist/collection/components/chart/funnel-chart/core/funnel-stream-source-runtime.js +1 -0
  523. package/dist/collection/components/chart/funnel-chart/core/funnel-stream-source.js +1 -0
  524. package/dist/collection/components/chart/funnel-chart/core/funnel-tooltip.js +1 -0
  525. package/dist/collection/components/chart/funnel-chart/core/types.js +1 -0
  526. package/dist/collection/components/chart/funnel-chart/engines/standard/index.js +1 -0
  527. package/dist/collection/components/chart/funnel-chart/index.js +1 -0
  528. package/dist/collection/components/chart/funnel-chart/sy-funnel-chart.css +1 -0
  529. package/dist/collection/components/chart/funnel-chart/sy-funnel-chart.js +1 -0
  530. package/dist/collection/components/chart/gauge-chart/core/gauge-animator.js +1 -0
  531. package/dist/collection/components/chart/gauge-chart/core/gauge-chart-core.js +1 -0
  532. package/dist/collection/components/chart/gauge-chart/core/gauge-geometry.js +1 -0
  533. package/dist/collection/components/chart/gauge-chart/core/gauge-stream-source-runtime.js +1 -0
  534. package/dist/collection/components/chart/gauge-chart/core/gauge-stream-source.js +1 -0
  535. package/dist/collection/components/chart/gauge-chart/core/gauge-tooltip.js +1 -0
  536. package/dist/collection/components/chart/gauge-chart/core/types.js +1 -0
  537. package/dist/collection/components/chart/gauge-chart/engines/standard/index.js +1 -0
  538. package/dist/collection/components/chart/gauge-chart/index.js +1 -0
  539. package/dist/collection/components/chart/gauge-chart/sy-gauge-chart.css +1 -0
  540. package/dist/collection/components/chart/gauge-chart/sy-gauge-chart.js +1 -0
  541. package/dist/collection/components/chart/histogram-chart/core/histogram-animator.js +1 -0
  542. package/dist/collection/components/chart/histogram-chart/core/histogram-binning.js +1 -0
  543. package/dist/collection/components/chart/histogram-chart/core/histogram-chart-core.js +1 -0
  544. package/dist/collection/components/chart/histogram-chart/core/histogram-measure.js +1 -0
  545. package/dist/collection/components/chart/histogram-chart/core/histogram-pro-renderer-loader.js +1 -0
  546. package/dist/collection/components/chart/histogram-chart/core/histogram-stream-source-runtime.js +1 -0
  547. package/dist/collection/components/chart/histogram-chart/core/histogram-stream-source.js +1 -0
  548. package/dist/collection/components/chart/histogram-chart/core/types.js +1 -0
  549. package/dist/collection/components/chart/histogram-chart/engines/standard/index.js +1 -0
  550. package/dist/collection/components/chart/histogram-chart/index.js +1 -0
  551. package/dist/collection/components/chart/histogram-chart/sy-histogram-chart.css +1 -0
  552. package/dist/collection/components/chart/histogram-chart/sy-histogram-chart.js +1 -0
  553. package/dist/collection/components/chart/item-chart/core/item-chart-core.js +1 -0
  554. package/dist/collection/components/chart/item-chart/core/item-geometry.js +1 -0
  555. package/dist/collection/components/chart/item-chart/core/item-stream-source-runtime.js +1 -0
  556. package/dist/collection/components/chart/item-chart/core/item-stream-source.js +1 -0
  557. package/dist/collection/components/chart/item-chart/core/item-tooltip.js +1 -0
  558. package/dist/collection/components/chart/item-chart/core/types.js +1 -0
  559. package/dist/collection/components/chart/item-chart/engines/standard/index.js +1 -0
  560. package/dist/collection/components/chart/item-chart/index.js +1 -0
  561. package/dist/collection/components/chart/item-chart/sy-item-chart.css +1 -0
  562. package/dist/collection/components/chart/item-chart/sy-item-chart.js +1 -0
  563. package/dist/collection/components/chart/line-chart/core/animation/animator.js +1 -0
  564. package/dist/collection/components/chart/line-chart/core/animation/easing.js +1 -0
  565. package/dist/collection/components/chart/line-chart/core/animation/index.js +1 -0
  566. package/dist/collection/components/chart/line-chart/core/animation/path-morph.js +1 -0
  567. package/dist/collection/components/chart/line-chart/core/event/hit-test.js +1 -0
  568. package/dist/collection/components/chart/line-chart/core/event/index.js +1 -0
  569. package/dist/collection/components/chart/line-chart/core/license/engine-swap-license.js +1 -0
  570. package/dist/collection/components/chart/line-chart/core/line-chart-core.js +1 -0
  571. package/dist/collection/components/chart/line-chart/core/pro-renderer-loader.js +1 -0
  572. package/dist/collection/components/chart/line-chart/core/streaming/index.js +1 -0
  573. package/dist/collection/components/chart/line-chart/core/streaming/ring-buffer-runtime.js +1 -0
  574. package/dist/collection/components/chart/line-chart/core/streaming/ring-buffer.js +1 -0
  575. package/dist/collection/components/chart/line-chart/core/streaming/stream-source-runtime.js +1 -0
  576. package/dist/collection/components/chart/line-chart/core/streaming/stream-source.js +1 -0
  577. package/dist/collection/components/chart/line-chart/core/types.js +1 -0
  578. package/dist/collection/components/chart/line-chart/core/visual-regression/baseline.js +1 -0
  579. package/dist/collection/components/chart/line-chart/core/visual-regression/dom-snapshot.js +1 -0
  580. package/dist/collection/components/chart/line-chart/core/visual-regression/stream-frame-snapshot.js +1 -0
  581. package/dist/collection/components/chart/line-chart/engines/standard/index.js +1 -0
  582. package/dist/collection/components/chart/line-chart/engines/standard/line-chart-standard-renderer.js +1 -0
  583. package/dist/collection/components/chart/line-chart/engines/standard/sy-line-chart-path.js +1 -0
  584. package/dist/collection/components/chart/line-chart/index.js +1 -0
  585. package/dist/collection/components/chart/line-chart/sy-line-chart.css +1 -0
  586. package/dist/collection/components/chart/line-chart/sy-line-chart.js +1 -0
  587. package/dist/collection/components/chart/lollipop-chart/core/lollipop-animator.js +1 -0
  588. package/dist/collection/components/chart/lollipop-chart/core/lollipop-chart-core.js +1 -0
  589. package/dist/collection/components/chart/lollipop-chart/core/lollipop-geometry.js +1 -0
  590. package/dist/collection/components/chart/lollipop-chart/core/lollipop-stream-source-runtime.js +1 -0
  591. package/dist/collection/components/chart/lollipop-chart/core/lollipop-stream-source.js +1 -0
  592. package/dist/collection/components/chart/lollipop-chart/core/types.js +1 -0
  593. package/dist/collection/components/chart/lollipop-chart/engines/standard/index.js +1 -0
  594. package/dist/collection/components/chart/lollipop-chart/index.js +1 -0
  595. package/dist/collection/components/chart/lollipop-chart/sy-lollipop-chart.css +1 -0
  596. package/dist/collection/components/chart/lollipop-chart/sy-lollipop-chart.js +1 -0
  597. package/dist/collection/components/chart/marimekko-chart/core/marimekko-animator.js +1 -0
  598. package/dist/collection/components/chart/marimekko-chart/core/marimekko-chart-core.js +1 -0
  599. package/dist/collection/components/chart/marimekko-chart/core/marimekko-geometry.js +1 -0
  600. package/dist/collection/components/chart/marimekko-chart/core/marimekko-stream-source-runtime.js +1 -0
  601. package/dist/collection/components/chart/marimekko-chart/core/marimekko-stream-source.js +1 -0
  602. package/dist/collection/components/chart/marimekko-chart/core/types.js +1 -0
  603. package/dist/collection/components/chart/marimekko-chart/engines/standard/index.js +1 -0
  604. package/dist/collection/components/chart/marimekko-chart/index.js +1 -0
  605. package/dist/collection/components/chart/marimekko-chart/sy-marimekko-chart.css +1 -0
  606. package/dist/collection/components/chart/marimekko-chart/sy-marimekko-chart.js +1 -0
  607. package/dist/collection/components/chart/navigator/core/navigator-preview.js +1 -0
  608. package/dist/collection/components/chart/navigator/sy-navigator.css +1 -0
  609. package/dist/collection/components/chart/navigator/sy-navigator.js +1 -0
  610. package/dist/collection/components/chart/pareto-chart/core/pareto-animator.js +1 -0
  611. package/dist/collection/components/chart/pareto-chart/core/pareto-chart-core.js +1 -0
  612. package/dist/collection/components/chart/pareto-chart/core/pareto-geometry.js +1 -0
  613. package/dist/collection/components/chart/pareto-chart/core/pareto-stream-source-runtime.js +1 -0
  614. package/dist/collection/components/chart/pareto-chart/core/pareto-stream-source.js +1 -0
  615. package/dist/collection/components/chart/pareto-chart/core/types.js +1 -0
  616. package/dist/collection/components/chart/pareto-chart/engines/standard/index.js +1 -0
  617. package/dist/collection/components/chart/pareto-chart/index.js +1 -0
  618. package/dist/collection/components/chart/pareto-chart/sy-pareto-chart.css +1 -0
  619. package/dist/collection/components/chart/pareto-chart/sy-pareto-chart.js +1 -0
  620. package/dist/collection/components/chart/pictorial-chart/core/path-bounds.js +1 -0
  621. package/dist/collection/components/chart/pictorial-chart/core/pictorial-animator.js +1 -0
  622. package/dist/collection/components/chart/pictorial-chart/core/pictorial-chart-core.js +1 -0
  623. package/dist/collection/components/chart/pictorial-chart/core/pictorial-geometry.js +1 -0
  624. package/dist/collection/components/chart/pictorial-chart/core/pictorial-stream-source-runtime.js +1 -0
  625. package/dist/collection/components/chart/pictorial-chart/core/pictorial-stream-source.js +1 -0
  626. package/dist/collection/components/chart/pictorial-chart/core/types.js +1 -0
  627. package/dist/collection/components/chart/pictorial-chart/engines/standard/index.js +1 -0
  628. package/dist/collection/components/chart/pictorial-chart/index.js +1 -0
  629. package/dist/collection/components/chart/pictorial-chart/sy-pictorial-chart.css +1 -0
  630. package/dist/collection/components/chart/pictorial-chart/sy-pictorial-chart.js +1 -0
  631. package/dist/collection/components/chart/pie-chart/core/pie-animator.js +1 -0
  632. package/dist/collection/components/chart/pie-chart/core/pie-chart-core.js +1 -0
  633. package/dist/collection/components/chart/pie-chart/core/pie-flip.js +1 -0
  634. package/dist/collection/components/chart/pie-chart/core/pie-geometry.js +1 -0
  635. package/dist/collection/components/chart/pie-chart/core/pie-labels.js +1 -0
  636. package/dist/collection/components/chart/pie-chart/core/pie-leader-lines.js +1 -0
  637. package/dist/collection/components/chart/pie-chart/core/pie-stream-source-runtime.js +1 -0
  638. package/dist/collection/components/chart/pie-chart/core/pie-stream-source.js +1 -0
  639. package/dist/collection/components/chart/pie-chart/core/pie-tooltip.js +1 -0
  640. package/dist/collection/components/chart/pie-chart/core/types.js +1 -0
  641. package/dist/collection/components/chart/pie-chart/engines/standard/index.js +1 -0
  642. package/dist/collection/components/chart/pie-chart/index.js +1 -0
  643. package/dist/collection/components/chart/pie-chart/license/chart-streaming-gate.js +1 -0
  644. package/dist/collection/components/chart/pie-chart/license/standard-engine-status.js +1 -0
  645. package/dist/collection/components/chart/pie-chart/sy-pie-chart.css +1 -0
  646. package/dist/collection/components/chart/pie-chart/sy-pie-chart.js +1 -0
  647. package/dist/collection/components/chart/polar-chart/core/polar-chart-core.js +1 -0
  648. package/dist/collection/components/chart/polar-chart/core/polar-geometry.js +1 -0
  649. package/dist/collection/components/chart/polar-chart/core/polar-pro-records.js +1 -0
  650. package/dist/collection/components/chart/polar-chart/core/polar-pro-renderer-loader.js +1 -0
  651. package/dist/collection/components/chart/polar-chart/core/polar-sector-bounds.js +1 -0
  652. package/dist/collection/components/chart/polar-chart/core/polar-stream-source-runtime.js +1 -0
  653. package/dist/collection/components/chart/polar-chart/core/polar-stream-source.js +1 -0
  654. package/dist/collection/components/chart/polar-chart/core/polar-tooltip.js +1 -0
  655. package/dist/collection/components/chart/polar-chart/core/types.js +1 -0
  656. package/dist/collection/components/chart/polar-chart/engines/standard/index.js +1 -0
  657. package/dist/collection/components/chart/polar-chart/index.js +1 -0
  658. package/dist/collection/components/chart/polar-chart/sy-polar-chart.css +1 -0
  659. package/dist/collection/components/chart/polar-chart/sy-polar-chart.js +1 -0
  660. package/dist/collection/components/chart/radar-chart/core/radar-animator.js +1 -0
  661. package/dist/collection/components/chart/radar-chart/core/radar-chart-core.js +1 -0
  662. package/dist/collection/components/chart/radar-chart/core/radar-crosshair.js +1 -0
  663. package/dist/collection/components/chart/radar-chart/core/radar-geometry.js +1 -0
  664. package/dist/collection/components/chart/radar-chart/core/radar-stream-source-runtime.js +1 -0
  665. package/dist/collection/components/chart/radar-chart/core/radar-stream-source.js +1 -0
  666. package/dist/collection/components/chart/radar-chart/core/radar-tooltip.js +1 -0
  667. package/dist/collection/components/chart/radar-chart/core/types.js +1 -0
  668. package/dist/collection/components/chart/radar-chart/engines/standard/index.js +1 -0
  669. package/dist/collection/components/chart/radar-chart/index.js +1 -0
  670. package/dist/collection/components/chart/radar-chart/sy-radar-chart.css +1 -0
  671. package/dist/collection/components/chart/radar-chart/sy-radar-chart.js +1 -0
  672. package/dist/collection/components/chart/scatter-chart/core/animation/easing.js +1 -0
  673. package/dist/collection/components/chart/scatter-chart/core/animation/index.js +1 -0
  674. package/dist/collection/components/chart/scatter-chart/core/animation/scatter-animator.js +1 -0
  675. package/dist/collection/components/chart/scatter-chart/core/perf.js +1 -0
  676. package/dist/collection/components/chart/scatter-chart/core/scatter-chart-core.js +1 -0
  677. package/dist/collection/components/chart/scatter-chart/core/scatter-draw-signature.js +1 -0
  678. package/dist/collection/components/chart/scatter-chart/core/scatter-pro-renderer-loader.js +1 -0
  679. package/dist/collection/components/chart/scatter-chart/core/streaming/index.js +1 -0
  680. package/dist/collection/components/chart/scatter-chart/core/streaming/scatter-stream-source-runtime.js +1 -0
  681. package/dist/collection/components/chart/scatter-chart/core/streaming/scatter-stream-source.js +1 -0
  682. package/dist/collection/components/chart/scatter-chart/core/types.js +1 -0
  683. package/dist/collection/components/chart/scatter-chart/core/visual-map.js +1 -0
  684. package/dist/collection/components/chart/scatter-chart/engines/standard/index.js +1 -0
  685. package/dist/collection/components/chart/scatter-chart/engines/standard/scatter-chart-standard-renderer.js +1 -0
  686. package/dist/collection/components/chart/scatter-chart/engines/standard/sy-scatter-chart-path.js +1 -0
  687. package/dist/collection/components/chart/scatter-chart/index.js +1 -0
  688. package/dist/collection/components/chart/scatter-chart/sy-scatter-chart.css +1 -0
  689. package/dist/collection/components/chart/scatter-chart/sy-scatter-chart.js +1 -0
  690. package/dist/collection/components/chart/stem-leaf-chart/core/stem-leaf-core.js +1 -0
  691. package/dist/collection/components/chart/stem-leaf-chart/core/stem-leaf-model.js +1 -0
  692. package/dist/collection/components/chart/stem-leaf-chart/core/stem-leaf-stream-source-runtime.js +1 -0
  693. package/dist/collection/components/chart/stem-leaf-chart/core/stem-leaf-stream-source.js +1 -0
  694. package/dist/collection/components/chart/stem-leaf-chart/core/stem-leaf-tooltip.js +1 -0
  695. package/dist/collection/components/chart/stem-leaf-chart/core/types.js +1 -0
  696. package/dist/collection/components/chart/stem-leaf-chart/engines/standard/index.js +1 -0
  697. package/dist/collection/components/chart/stem-leaf-chart/index.js +1 -0
  698. package/dist/collection/components/chart/stem-leaf-chart/sy-stem-leaf-chart.css +1 -0
  699. package/dist/collection/components/chart/stem-leaf-chart/sy-stem-leaf-chart.js +1 -0
  700. package/dist/collection/components/chart/sy-chart.css +1 -0
  701. package/dist/collection/components/chart/sy-chart.js +1 -0
  702. package/dist/collection/components/chart/tilemap-chart/core/tilemap-core.js +1 -0
  703. package/dist/collection/components/chart/tilemap-chart/core/tilemap-geometry.js +1 -0
  704. package/dist/collection/components/chart/tilemap-chart/core/tilemap-legend.js +1 -0
  705. package/dist/collection/components/chart/tilemap-chart/core/tilemap-stream-source-runtime.js +1 -0
  706. package/dist/collection/components/chart/tilemap-chart/core/tilemap-stream-source.js +1 -0
  707. package/dist/collection/components/chart/tilemap-chart/core/tilemap-tooltip.js +1 -0
  708. package/dist/collection/components/chart/tilemap-chart/core/types.js +1 -0
  709. package/dist/collection/components/chart/tilemap-chart/engines/standard/index.js +1 -0
  710. package/dist/collection/components/chart/tilemap-chart/index.js +1 -0
  711. package/dist/collection/components/chart/tilemap-chart/sy-tilemap.css +1 -0
  712. package/dist/collection/components/chart/tilemap-chart/sy-tilemap.js +1 -0
  713. package/dist/collection/components/chart/tornado-chart/core/tornado-animator.js +1 -0
  714. package/dist/collection/components/chart/tornado-chart/core/tornado-chart-core.js +1 -0
  715. package/dist/collection/components/chart/tornado-chart/core/tornado-geometry.js +1 -0
  716. package/dist/collection/components/chart/tornado-chart/core/tornado-stream-source-runtime.js +1 -0
  717. package/dist/collection/components/chart/tornado-chart/core/tornado-stream-source.js +1 -0
  718. package/dist/collection/components/chart/tornado-chart/core/types.js +1 -0
  719. package/dist/collection/components/chart/tornado-chart/engines/standard/index.js +1 -0
  720. package/dist/collection/components/chart/tornado-chart/index.js +1 -0
  721. package/dist/collection/components/chart/tornado-chart/sy-tornado-chart.css +1 -0
  722. package/dist/collection/components/chart/tornado-chart/sy-tornado-chart.js +1 -0
  723. package/dist/collection/components/chart/variwide-chart/core/types.js +1 -0
  724. package/dist/collection/components/chart/variwide-chart/core/variwide-animator.js +1 -0
  725. package/dist/collection/components/chart/variwide-chart/core/variwide-chart-core.js +1 -0
  726. package/dist/collection/components/chart/variwide-chart/core/variwide-geometry.js +1 -0
  727. package/dist/collection/components/chart/variwide-chart/core/variwide-stream-source-runtime.js +1 -0
  728. package/dist/collection/components/chart/variwide-chart/core/variwide-stream-source.js +1 -0
  729. package/dist/collection/components/chart/variwide-chart/engines/standard/index.js +1 -0
  730. package/dist/collection/components/chart/variwide-chart/index.js +1 -0
  731. package/dist/collection/components/chart/variwide-chart/sy-variwide-chart.css +1 -0
  732. package/dist/collection/components/chart/variwide-chart/sy-variwide-chart.js +1 -0
  733. package/dist/collection/components/chart/visual-map/sy-visual-map.css +1 -0
  734. package/dist/collection/components/chart/visual-map/sy-visual-map.js +1 -0
  735. package/dist/collection/components/chart/wafer-map-chart/core/types.js +1 -0
  736. package/dist/collection/components/chart/wafer-map-chart/core/wafer-animator.js +1 -0
  737. package/dist/collection/components/chart/wafer-map-chart/core/wafer-bin.js +1 -0
  738. package/dist/collection/components/chart/wafer-map-chart/core/wafer-correlation.js +1 -0
  739. package/dist/collection/components/chart/wafer-map-chart/core/wafer-defect.js +1 -0
  740. package/dist/collection/components/chart/wafer-map-chart/core/wafer-die-index.js +1 -0
  741. package/dist/collection/components/chart/wafer-map-chart/core/wafer-geometry.js +1 -0
  742. package/dist/collection/components/chart/wafer-map-chart/core/wafer-legend.js +1 -0
  743. package/dist/collection/components/chart/wafer-map-chart/core/wafer-map-core.js +1 -0
  744. package/dist/collection/components/chart/wafer-map-chart/core/wafer-render.js +1 -0
  745. package/dist/collection/components/chart/wafer-map-chart/core/wafer-shot.js +1 -0
  746. package/dist/collection/components/chart/wafer-map-chart/core/wafer-stack.js +1 -0
  747. package/dist/collection/components/chart/wafer-map-chart/core/wafer-stream-source-runtime.js +1 -0
  748. package/dist/collection/components/chart/wafer-map-chart/core/wafer-stream-source.js +1 -0
  749. package/dist/collection/components/chart/wafer-map-chart/core/wafer-value.js +1 -0
  750. package/dist/collection/components/chart/wafer-map-chart/core/wafer-yield-zone.js +1 -0
  751. package/dist/collection/components/chart/wafer-map-chart/engines/standard/index.js +1 -0
  752. package/dist/collection/components/chart/wafer-map-chart/index.js +1 -0
  753. package/dist/collection/components/chart/wafer-map-chart/sy-wafer-correlation.js +1 -0
  754. package/dist/collection/components/chart/wafer-map-chart/sy-wafer-map.css +1 -0
  755. package/dist/collection/components/chart/wafer-map-chart/sy-wafer-map.js +1 -0
  756. package/dist/collection/components/chart/wafer-map-chart/sy-wafer-stack.js +1 -0
  757. package/dist/collection/components/chart/wafer-map-chart/sy-yield-zone-chart.js +1 -0
  758. package/dist/collection/components/chart/word-cloud-chart/core/types.js +1 -0
  759. package/dist/collection/components/chart/word-cloud-chart/core/word-cloud-core.js +1 -0
  760. package/dist/collection/components/chart/word-cloud-chart/core/word-layout.js +1 -0
  761. package/dist/collection/components/chart/word-cloud-chart/core/word-measure.js +1 -0
  762. package/dist/collection/components/chart/word-cloud-chart/core/word-stream-source-runtime.js +1 -0
  763. package/dist/collection/components/chart/word-cloud-chart/core/word-stream-source.js +1 -0
  764. package/dist/collection/components/chart/word-cloud-chart/core/word-tooltip.js +1 -0
  765. package/dist/collection/components/chart/word-cloud-chart/engines/standard/index.js +1 -0
  766. package/dist/collection/components/chart/word-cloud-chart/index.js +1 -0
  767. package/dist/collection/components/chart/word-cloud-chart/sy-word-cloud.css +1 -0
  768. package/dist/collection/components/chart/word-cloud-chart/sy-word-cloud.js +1 -0
  769. package/dist/collection/components/dynamic-source.js +1 -0
  770. package/dist/collection/components/grid/core/a11y/aria-grid.js +1 -0
  771. package/dist/collection/components/grid/core/a11y/audit-checklist.js +1 -0
  772. package/dist/collection/components/grid/core/a11y/contrast.js +1 -0
  773. package/dist/collection/components/grid/core/a11y/screen-reader-transcript.js +1 -0
  774. package/dist/collection/components/grid/core/a11y/snapshot.js +1 -0
  775. package/dist/collection/components/grid/core/api/base-types.js +1 -0
  776. package/dist/collection/components/grid/core/api/contracts.js +1 -0
  777. package/dist/collection/components/grid/core/api/index.js +1 -0
  778. package/dist/collection/components/grid/core/api/live-object-model.js +1 -0
  779. package/dist/collection/components/grid/core/audit/audit-export.js +1 -0
  780. package/dist/collection/components/grid/core/audit/audit-log.js +1 -0
  781. package/dist/collection/components/grid/core/brand/grid-brand.js +2 -0
  782. package/dist/collection/components/grid/core/build-tier.js +1 -0
  783. package/dist/collection/components/grid/core/cell/cell-class-rules.js +1 -0
  784. package/dist/collection/components/grid/core/cell/cell-style.js +1 -0
  785. package/dist/collection/components/grid/core/cell/expression-runtime.js +1 -0
  786. package/dist/collection/components/grid/core/cell/index.js +1 -0
  787. package/dist/collection/components/grid/core/cell/renderer-registry.js +1 -0
  788. package/dist/collection/components/grid/core/cell/value-formatter.js +1 -0
  789. package/dist/collection/components/grid/core/cell/value-getter.js +1 -0
  790. package/dist/collection/components/grid/core/cell-cycle.js +1 -0
  791. package/dist/collection/components/grid/core/cell-flash/cell-flash.js +1 -0
  792. package/dist/collection/components/grid/core/cell-tooltip/hover-delay.js +1 -0
  793. package/dist/collection/components/grid/core/cell-tooltip/index.js +1 -0
  794. package/dist/collection/components/grid/core/cell-tooltip/tooltip-text.js +1 -0
  795. package/dist/collection/components/grid/core/chart-link/chart-bridge-types-probe.js +1 -0
  796. package/dist/collection/components/grid/core/clipboard/parse.js +1 -0
  797. package/dist/collection/components/grid/core/clipboard/paste-plan.js +1 -0
  798. package/dist/collection/components/grid/core/clipboard/serialize.js +1 -0
  799. package/dist/collection/components/grid/core/collab-css.js +1 -0
  800. package/dist/collection/components/grid/core/collab-loader.js +1 -0
  801. package/dist/collection/components/grid/core/collab-mentions.js +1 -0
  802. package/dist/collection/components/grid/core/collab-types.js +1 -0
  803. package/dist/collection/components/grid/core/column/column-auto-size.js +1 -0
  804. package/dist/collection/components/grid/core/column/column-groups.js +1 -0
  805. package/dist/collection/components/grid/core/column/column-pin.js +1 -0
  806. package/dist/collection/components/grid/core/column/column-reorder.js +1 -0
  807. package/dist/collection/components/grid/core/column/column-resize.js +1 -0
  808. package/dist/collection/components/grid/core/column/column-sort.js +1 -0
  809. package/dist/collection/components/grid/core/column/column-state.js +1 -0
  810. package/dist/collection/components/grid/core/column/column-visibility.js +1 -0
  811. package/dist/collection/components/grid/core/column/index.js +1 -0
  812. package/dist/collection/components/grid/core/component/async-value-source.js +1 -0
  813. package/dist/collection/components/grid/core/component/component-runtime-chunk.js +1 -0
  814. package/dist/collection/components/grid/core/component/contracts.js +1 -0
  815. package/dist/collection/components/grid/core/component/editor-adapter.js +1 -0
  816. package/dist/collection/components/grid/core/component/editor-facade-controller.js +1 -0
  817. package/dist/collection/components/grid/core/component/editor-validation-presentation.js +1 -0
  818. package/dist/collection/components/grid/core/component/filter-adapter.js +1 -0
  819. package/dist/collection/components/grid/core/component/filter-facade-controller.js +1 -0
  820. package/dist/collection/components/grid/core/component/framework-bridge.js +1 -0
  821. package/dist/collection/components/grid/core/component/index.js +1 -0
  822. package/dist/collection/components/grid/core/component/popup-placement.js +1 -0
  823. package/dist/collection/components/grid/core/component/registry.js +1 -0
  824. package/dist/collection/components/grid/core/component/renderer-adapter.js +1 -0
  825. package/dist/collection/components/grid/core/component/renderer-controller.js +1 -0
  826. package/dist/collection/components/grid/core/component/rich-select-editor.js +1 -0
  827. package/dist/collection/components/grid/core/component/runtime.js +1 -0
  828. package/dist/collection/components/grid/core/conditional-format/cf-builder-chunk.js +1 -0
  829. package/dist/collection/components/grid/core/conditional-format/cf-builder.js +1 -0
  830. package/dist/collection/components/grid/core/conditional-format/conditional-format.js +1 -0
  831. package/dist/collection/components/grid/core/context-menu/clipboard.js +1 -0
  832. package/dist/collection/components/grid/core/context-menu/index.js +1 -0
  833. package/dist/collection/components/grid/core/context-menu/menu.js +1 -0
  834. package/dist/collection/components/grid/core/context-menu/types.js +1 -0
  835. package/dist/collection/components/grid/core/edit/checkbox-editor-render.js +1 -0
  836. package/dist/collection/components/grid/core/edit/checkbox-editor.js +1 -0
  837. package/dist/collection/components/grid/core/edit/date-editor-render.js +1 -0
  838. package/dist/collection/components/grid/core/edit/date-editor.js +1 -0
  839. package/dist/collection/components/grid/core/edit/date-picker.js +1 -0
  840. package/dist/collection/components/grid/core/edit/index.js +1 -0
  841. package/dist/collection/components/grid/core/edit/large-text-editor.js +1 -0
  842. package/dist/collection/components/grid/core/edit/number-editor-render.js +1 -0
  843. package/dist/collection/components/grid/core/edit/number-editor.js +1 -0
  844. package/dist/collection/components/grid/core/edit/prospective-edit.js +1 -0
  845. package/dist/collection/components/grid/core/edit/row-edit.js +1 -0
  846. package/dist/collection/components/grid/core/edit/select-editor-render.js +1 -0
  847. package/dist/collection/components/grid/core/edit/select-editor.js +1 -0
  848. package/dist/collection/components/grid/core/edit/text-editor-render.js +1 -0
  849. package/dist/collection/components/grid/core/edit/text-editor.js +1 -0
  850. package/dist/collection/components/grid/core/edit/textarea-editor-render.js +1 -0
  851. package/dist/collection/components/grid/core/edit/textarea-editor.js +1 -0
  852. package/dist/collection/components/grid/core/edit/transaction-api.js +1 -0
  853. package/dist/collection/components/grid/core/edit/transaction.js +1 -0
  854. package/dist/collection/components/grid/core/edit/undo-redo.js +1 -0
  855. package/dist/collection/components/grid/core/empty-state-cycle.js +1 -0
  856. package/dist/collection/components/grid/core/event/index.js +1 -0
  857. package/dist/collection/components/grid/core/event/row-click.js +1 -0
  858. package/dist/collection/components/grid/core/export/csv.js +1 -0
  859. package/dist/collection/components/grid/core/export/index.js +1 -0
  860. package/dist/collection/components/grid/core/filter/advanced-query.js +1 -0
  861. package/dist/collection/components/grid/core/filter/condition-builder.js +1 -0
  862. package/dist/collection/components/grid/core/filter/date.js +1 -0
  863. package/dist/collection/components/grid/core/filter/filter-ui-types.js +1 -0
  864. package/dist/collection/components/grid/core/filter/number.js +1 -0
  865. package/dist/collection/components/grid/core/filter/quick-filter.js +1 -0
  866. package/dist/collection/components/grid/core/filter/text.js +1 -0
  867. package/dist/collection/components/grid/core/filter-cycle.js +1 -0
  868. package/dist/collection/components/grid/core/floating/index.js +1 -0
  869. package/dist/collection/components/grid/core/floating/positioning.js +1 -0
  870. package/dist/collection/components/grid/core/formula-acceleration-loader.js +1 -0
  871. package/dist/collection/components/grid/core/formula-text.js +1 -0
  872. package/dist/collection/components/grid/core/grid-core.js +1 -0
  873. package/dist/collection/components/grid/core/hover/row.js +1 -0
  874. package/dist/collection/components/grid/core/import/csv/index.js +1 -0
  875. package/dist/collection/components/grid/core/import/csv/parse-csv.js +1 -0
  876. package/dist/collection/components/grid/core/import/xlsx/cell-ref.js +1 -0
  877. package/dist/collection/components/grid/core/import/xlsx/errors.js +1 -0
  878. package/dist/collection/components/grid/core/import/xlsx/formula.js +1 -0
  879. package/dist/collection/components/grid/core/import/xlsx/grid-import-chunk.js +1 -0
  880. package/dist/collection/components/grid/core/import/xlsx/index.js +1 -0
  881. package/dist/collection/components/grid/core/import/xlsx/inflate.js +1 -0
  882. package/dist/collection/components/grid/core/import/xlsx/merged-cells.js +1 -0
  883. package/dist/collection/components/grid/core/import/xlsx/number-format.js +1 -0
  884. package/dist/collection/components/grid/core/import/xlsx/parse-xlsx.js +1 -0
  885. package/dist/collection/components/grid/core/import/xlsx/pick-sheet.js +1 -0
  886. package/dist/collection/components/grid/core/import/xlsx/shared-strings.js +1 -0
  887. package/dist/collection/components/grid/core/import/xlsx/sheet-streaming.js +1 -0
  888. package/dist/collection/components/grid/core/import/xlsx/sheet.js +1 -0
  889. package/dist/collection/components/grid/core/import/xlsx/styles.js +1 -0
  890. package/dist/collection/components/grid/core/import/xlsx/workbook.js +1 -0
  891. package/dist/collection/components/grid/core/import/xlsx/xml-parser.js +1 -0
  892. package/dist/collection/components/grid/core/import/xlsx/zip-reader.js +1 -0
  893. package/dist/collection/components/grid/core/license/grid-acceleration-port.js +3 -0
  894. package/dist/collection/components/grid/core/license/grid-feature.js +1 -0
  895. package/dist/collection/components/grid/core/license/grid-license-facade.js +4 -0
  896. package/dist/collection/components/grid/core/license/grid-license-runtime.js +1 -0
  897. package/dist/collection/components/grid/core/license/grid-license-session.js +1 -0
  898. package/dist/collection/components/grid/core/license/grid-license.js +5 -0
  899. package/dist/collection/components/grid/core/license/grid-method-route.js +1 -0
  900. package/dist/collection/components/grid/core/license/grid-method-table.js +1 -0
  901. package/dist/collection/components/grid/core/loader/chunk-contract.js +1 -0
  902. package/dist/collection/components/grid/core/loader/chunk-loader.js +1 -0
  903. package/dist/collection/components/grid/core/loading-cycle.js +1 -0
  904. package/dist/collection/components/grid/core/locale/messages.js +1 -0
  905. package/dist/collection/components/grid/core/locale/presets.js +1 -0
  906. package/dist/collection/components/grid/core/locale/resolve.js +1 -0
  907. package/dist/collection/components/grid/core/numeric/safe-numeric.js +1 -0
  908. package/dist/collection/components/grid/core/pagination-cycle.js +1 -0
  909. package/dist/collection/components/grid/core/pipeline/comparator-default.js +1 -0
  910. package/dist/collection/components/grid/core/pipeline/engine-rows-memo.js +1 -0
  911. package/dist/collection/components/grid/core/pipeline/filter.js +1 -0
  912. package/dist/collection/components/grid/core/pipeline/paginate.js +1 -0
  913. package/dist/collection/components/grid/core/pipeline/pipeline.js +1 -0
  914. package/dist/collection/components/grid/core/pipeline/sort.js +1 -0
  915. package/dist/collection/components/grid/core/pipeline/types.js +1 -0
  916. package/dist/collection/components/grid/core/pivot/combination-warnings.js +1 -0
  917. package/dist/collection/components/grid/core/pro-chunk-sources.js +1 -0
  918. package/dist/collection/components/grid/core/pro-engine-loader.js +1 -0
  919. package/dist/collection/components/grid/core/pro-gate/engine-precedence.js +1 -0
  920. package/dist/collection/components/grid/core/pro-gate/grid-chunk-backstop.js +1 -0
  921. package/dist/collection/components/grid/core/pro-gate/grid-chunk-features.js +1 -0
  922. package/dist/collection/components/grid/core/pro-gate/grid-clipboard-policy.js +1 -0
  923. package/dist/collection/components/grid/core/pro-gate/grid-declarations.js +1 -0
  924. package/dist/collection/components/grid/core/pro-gate/grid-engine-license.js +1 -0
  925. package/dist/collection/components/grid/core/pro-gate/grid-formula-freeze.js +1 -0
  926. package/dist/collection/components/grid/core/pro-gate/grid-freeze-work.js +1 -0
  927. package/dist/collection/components/grid/core/pro-gate/grid-pro-gate.js +2 -0
  928. package/dist/collection/components/grid/core/pro-gate/grid-state-requirements.js +1 -0
  929. package/dist/collection/components/grid/core/rbac/cell-access.js +1 -0
  930. package/dist/collection/components/grid/core/row-drag/drag-safety.js +1 -0
  931. package/dist/collection/components/grid/core/row-drag/drop-zones.js +1 -0
  932. package/dist/collection/components/grid/core/row-drag/reorder.js +1 -0
  933. package/dist/collection/components/grid/core/row-drag/row-drag-chunk.js +1 -0
  934. package/dist/collection/components/grid/core/row-drag/row-drag-facade.js +1 -0
  935. package/dist/collection/components/grid/core/row-drag/unmanaged-drag.js +1 -0
  936. package/dist/collection/components/grid/core/row-layout/aligned-grids-facade.js +1 -0
  937. package/dist/collection/components/grid/core/row-layout/aligned-grids.js +1 -0
  938. package/dist/collection/components/grid/core/row-layout/col-span.js +1 -0
  939. package/dist/collection/components/grid/core/row-layout/full-width-facade.js +1 -0
  940. package/dist/collection/components/grid/core/row-layout/full-width-rows.js +1 -0
  941. package/dist/collection/components/grid/core/row-layout/pinned-row-policy.js +1 -0
  942. package/dist/collection/components/grid/core/row-layout/pinned-rows-facade.js +1 -0
  943. package/dist/collection/components/grid/core/row-layout/pinned-rows.js +1 -0
  944. package/dist/collection/components/grid/core/row-layout/row-layout-chunk.js +1 -0
  945. package/dist/collection/components/grid/core/row-layout/row-layout-facade.js +1 -0
  946. package/dist/collection/components/grid/core/row-layout/row-span.js +1 -0
  947. package/dist/collection/components/grid/core/row-layout/span-interaction.js +1 -0
  948. package/dist/collection/components/grid/core/row-markers.js +1 -0
  949. package/dist/collection/components/grid/core/row-model/block-cache.js +1 -0
  950. package/dist/collection/components/grid/core/row-model/client-side.js +1 -0
  951. package/dist/collection/components/grid/core/row-model/datasource.js +1 -0
  952. package/dist/collection/components/grid/core/row-model/index.js +1 -0
  953. package/dist/collection/components/grid/core/row-model/infinite.js +1 -0
  954. package/dist/collection/components/grid/core/row-model/placeholder-row.js +1 -0
  955. package/dist/collection/components/grid/core/row-model/viewport-adapters.js +1 -0
  956. package/dist/collection/components/grid/core/selection/canonical-ranges.js +1 -0
  957. package/dist/collection/components/grid/core/selection/checkbox-column.js +1 -0
  958. package/dist/collection/components/grid/core/selection/range-bounds.js +1 -0
  959. package/dist/collection/components/grid/core/selection/row.js +1 -0
  960. package/dist/collection/components/grid/core/side-bar/side-bar.js +1 -0
  961. package/dist/collection/components/grid/core/snapshot/snapshot-diff.js +1 -0
  962. package/dist/collection/components/grid/core/snapshot/snapshot.js +1 -0
  963. package/dist/collection/components/grid/core/sort-cycle.js +1 -0
  964. package/dist/collection/components/grid/core/sort-model.js +1 -0
  965. package/dist/collection/components/grid/core/spreadsheet-text.js +1 -0
  966. package/dist/collection/components/grid/core/state/canonical.js +1 -0
  967. package/dist/collection/components/grid/core/state/contracts.js +1 -0
  968. package/dist/collection/components/grid/core/state/filter-handlers.js +1 -0
  969. package/dist/collection/components/grid/core/state/find-state.js +1 -0
  970. package/dist/collection/components/grid/core/state/grid-state.js +1 -0
  971. package/dist/collection/components/grid/core/state/migrate.js +1 -0
  972. package/dist/collection/components/grid/core/state/ownership.js +1 -0
  973. package/dist/collection/components/grid/core/state/persistence.js +1 -0
  974. package/dist/collection/components/grid/core/state/slices/columns.js +1 -0
  975. package/dist/collection/components/grid/core/state/slices/filter.js +1 -0
  976. package/dist/collection/components/grid/core/state/slices/rows.js +1 -0
  977. package/dist/collection/components/grid/core/state/slices/ui.js +1 -0
  978. package/dist/collection/components/grid/core/state/state-events.js +1 -0
  979. package/dist/collection/components/grid/core/state/validate.js +1 -0
  980. package/dist/collection/components/grid/core/status-bar/status-bar.js +1 -0
  981. package/dist/collection/components/grid/core/sync/array.js +1 -0
  982. package/dist/collection/components/grid/core/sync/collab-bridge.js +1 -0
  983. package/dist/collection/components/grid/core/sync/id.js +1 -0
  984. package/dist/collection/components/grid/core/sync/text.js +1 -0
  985. package/dist/collection/components/grid/core/sync/undo-manager.js +1 -0
  986. package/dist/collection/components/grid/core/theme/apply.js +1 -0
  987. package/dist/collection/components/grid/core/theme/presets.js +1 -0
  988. package/dist/collection/components/grid/core/theme/tokens.js +1 -0
  989. package/dist/collection/components/grid/core/types.js +1 -0
  990. package/dist/collection/components/grid/core/utils/structural.js +1 -0
  991. package/dist/collection/components/grid/core/validation/validation.js +1 -0
  992. package/dist/collection/components/grid/core/virtualizer/cell-virtualizer.js +1 -0
  993. package/dist/collection/components/grid/core/virtualizer/column-virtualizer.js +1 -0
  994. package/dist/collection/components/grid/core/virtualizer/index.js +1 -0
  995. package/dist/collection/components/grid/core/virtualizer/row-virtualizer.js +1 -0
  996. package/dist/collection/components/grid/core/visual-regression/baseline.js +1 -0
  997. package/dist/collection/components/grid/core/visual-regression/dom-snapshot.js +1 -0
  998. package/dist/collection/components/grid/core/visual-regression/real-dom-canonicalise.js +1 -0
  999. package/dist/collection/components/grid/core/vnode-factory.js +1 -0
  1000. package/dist/collection/components/grid/engines/standard/index.js +1 -0
  1001. package/dist/collection/components/grid/engines/standard/sy-grid-standard.css +1 -0
  1002. package/dist/collection/components/grid/engines/standard/sy-grid-standard.js +1 -0
  1003. package/dist/collection/components/grid/index.js +1 -0
  1004. package/dist/collection/components/grid/sy-grid.css +1 -0
  1005. package/dist/collection/components/grid/sy-grid.js +1 -0
  1006. package/dist/collection/index.js +1 -0
  1007. package/dist/collection/license/base64url.js +1 -0
  1008. package/dist/collection/license/certificate.js +1 -0
  1009. package/dist/collection/license/constants.js +1 -0
  1010. package/dist/collection/license/context.js +1 -0
  1011. package/dist/collection/license/deployment.js +1 -0
  1012. package/dist/collection/license/diagnostic-constants.js +1 -0
  1013. package/dist/collection/license/discovery.js +1 -0
  1014. package/dist/collection/license/errors.js +1 -0
  1015. package/dist/collection/license/evaluate.js +1 -0
  1016. package/dist/collection/license/failure.js +1 -0
  1017. package/dist/collection/license/fetch-license.js +1 -0
  1018. package/dist/collection/license/generated/chart-features.generated.js +1 -0
  1019. package/dist/collection/license/generated/core-features.generated.js +1 -0
  1020. package/dist/collection/license/generated/feature-map.generated.js +1 -0
  1021. package/dist/collection/license/generated/grid-features.generated.js +1 -0
  1022. package/dist/collection/license/generated/products.generated.js +1 -0
  1023. package/dist/collection/license/index.js +1 -0
  1024. package/dist/collection/license/json.js +1 -0
  1025. package/dist/collection/license/jws.js +1 -0
  1026. package/dist/collection/license/registry.js +1 -0
  1027. package/dist/collection/license/release.generated.js +1 -0
  1028. package/dist/collection/license/runtime.js +1 -0
  1029. package/dist/collection/license/subtle.js +1 -0
  1030. package/dist/collection/license/timers.js +1 -0
  1031. package/dist/collection/license/timestamp.js +1 -0
  1032. package/dist/collection/license/trust-keys.generated.js +1 -0
  1033. package/dist/collection/license/trust-store.js +1 -0
  1034. package/dist/collection/license/types.js +1 -0
  1035. package/dist/collection/license/verify.js +1 -0
  1036. package/dist/collection/license/watch.js +1 -0
  1037. package/dist/collection/utils/story-template.js +1 -0
  1038. package/dist/components/chart-types.d.ts +112 -0
  1039. package/dist/components/chart-types.js +1 -0
  1040. package/dist/components/index.d.ts +10 -0
  1041. package/dist/components/index.js +1 -0
  1042. package/dist/components/p-4CjYGJmq.js +1 -0
  1043. package/dist/components/p-B2xXnkZp.js +1 -0
  1044. package/dist/components/p-B3gMdXEP.js +1 -0
  1045. package/dist/components/p-BEKrg3SG.js +1 -0
  1046. package/dist/components/p-BKZM2o7w.js +1 -0
  1047. package/dist/components/p-BMJUs2xT.js +1 -0
  1048. package/dist/components/p-BPmwlQtL.js +1 -0
  1049. package/dist/components/p-BVmDGX0a.js +1 -0
  1050. package/dist/components/p-BXmzh2Uk.js +1 -0
  1051. package/dist/components/p-BY5ObKGD.js +1 -0
  1052. package/dist/components/p-BYBaMhHn.js +1 -0
  1053. package/dist/components/p-BjWO1Np_.js +7 -0
  1054. package/dist/components/p-BsBcTKjx.js +1 -0
  1055. package/dist/components/p-BwM4aW0R.js +1 -0
  1056. package/dist/components/p-BwtrZuf8.js +1 -0
  1057. package/dist/components/p-C0f63Npv.js +1 -0
  1058. package/dist/components/p-C1RaN8eG.js +1 -0
  1059. package/dist/components/p-C374wsaF.js +1 -0
  1060. package/dist/components/p-C3jLZ9n2.js +1 -0
  1061. package/dist/components/p-C4HtF7VM.js +1 -0
  1062. package/dist/components/p-C7iceRLc.js +1 -0
  1063. package/dist/components/p-CChSqEEO.js +1 -0
  1064. package/dist/components/p-CHzVSIZc.js +1 -0
  1065. package/dist/components/p-COVKN1k-.js +1 -0
  1066. package/dist/components/p-COqnXkRL.js +1 -0
  1067. package/dist/components/p-CTw0rE8p.js +1 -0
  1068. package/dist/components/p-C_2TIPHD.js +1 -0
  1069. package/dist/components/p-CgUI9S4_.js +1 -0
  1070. package/dist/components/p-Cr85dazN.js +1 -0
  1071. package/dist/components/p-CsYy63Zk.js +1 -0
  1072. package/dist/components/p-D0Zr5HHA.js +1 -0
  1073. package/dist/components/p-D3LVx-JL.js +1 -0
  1074. package/dist/components/p-D5aEHK78.js +1 -0
  1075. package/dist/components/p-D5noTyYE.js +1 -0
  1076. package/dist/components/p-D7cSRpbb.js +1 -0
  1077. package/dist/components/p-D8Cooryu.js +1 -0
  1078. package/dist/components/p-DC8q69mD.js +1 -0
  1079. package/dist/components/p-DH8K7zqB.js +1 -0
  1080. package/dist/components/p-DO6vGxJP.js +1 -0
  1081. package/dist/components/p-DQ1RB1XB.js +1 -0
  1082. package/dist/components/p-DTZUbymc.js +1 -0
  1083. package/dist/components/p-DaxJ0D3O.js +1 -0
  1084. package/dist/components/p-DhcQQtwn.js +1 -0
  1085. package/dist/components/p-DlE5rQTs.js +1 -0
  1086. package/dist/components/p-DmhWH-SN.js +1 -0
  1087. package/dist/components/p-DovcCKwV.js +1 -0
  1088. package/dist/components/p-Dx-FsUbT.js +1 -0
  1089. package/dist/components/p-EXuVQfpl.js +1 -0
  1090. package/dist/components/p-GI1Zoo93.js +1 -0
  1091. package/dist/components/p-Qu4itcma.js +1 -0
  1092. package/dist/components/p-S3uzYKsD.js +1 -0
  1093. package/dist/components/p-WQSantHg.js +1 -0
  1094. package/dist/components/p-kJe8wHkN.js +1 -0
  1095. package/dist/components/p-rwo1tgqX.js +1 -0
  1096. package/dist/components/package.json +1 -0
  1097. package/dist/components/sy-area-chart.d.ts +8 -0
  1098. package/dist/components/sy-area-chart.js +1 -0
  1099. package/dist/components/sy-bar-chart.d.ts +8 -0
  1100. package/dist/components/sy-bar-chart.js +1 -0
  1101. package/dist/components/sy-bubble-chart.d.ts +8 -0
  1102. package/dist/components/sy-bubble-chart.js +1 -0
  1103. package/dist/components/sy-chart.d.ts +8 -0
  1104. package/dist/components/sy-chart.js +1 -0
  1105. package/dist/components/sy-column-chart.d.ts +8 -0
  1106. package/dist/components/sy-column-chart.js +1 -0
  1107. package/dist/components/sy-data-zoom.d.ts +8 -0
  1108. package/dist/components/sy-data-zoom.js +1 -0
  1109. package/dist/components/sy-dot-plot-chart.d.ts +8 -0
  1110. package/dist/components/sy-dot-plot-chart.js +1 -0
  1111. package/dist/components/sy-dumbbell-chart.d.ts +8 -0
  1112. package/dist/components/sy-dumbbell-chart.js +1 -0
  1113. package/dist/components/sy-funnel-chart.d.ts +8 -0
  1114. package/dist/components/sy-funnel-chart.js +1 -0
  1115. package/dist/components/sy-gauge-chart.d.ts +8 -0
  1116. package/dist/components/sy-gauge-chart.js +1 -0
  1117. package/dist/components/sy-grid-standard.d.ts +8 -0
  1118. package/dist/components/sy-grid-standard.js +1 -0
  1119. package/dist/components/sy-grid.d.ts +8 -0
  1120. package/dist/components/sy-grid.js +4 -0
  1121. package/dist/components/sy-histogram-chart.d.ts +8 -0
  1122. package/dist/components/sy-histogram-chart.js +1 -0
  1123. package/dist/components/sy-item-chart.d.ts +8 -0
  1124. package/dist/components/sy-item-chart.js +1 -0
  1125. package/dist/components/sy-line-chart.d.ts +8 -0
  1126. package/dist/components/sy-line-chart.js +1 -0
  1127. package/dist/components/sy-lollipop-chart.d.ts +8 -0
  1128. package/dist/components/sy-lollipop-chart.js +1 -0
  1129. package/dist/components/sy-marimekko-chart.d.ts +8 -0
  1130. package/dist/components/sy-marimekko-chart.js +1 -0
  1131. package/dist/components/sy-navigator.d.ts +8 -0
  1132. package/dist/components/sy-navigator.js +1 -0
  1133. package/dist/components/sy-pareto-chart.d.ts +8 -0
  1134. package/dist/components/sy-pareto-chart.js +1 -0
  1135. package/dist/components/sy-pictorial-chart.d.ts +8 -0
  1136. package/dist/components/sy-pictorial-chart.js +1 -0
  1137. package/dist/components/sy-pie-chart.d.ts +8 -0
  1138. package/dist/components/sy-pie-chart.js +1 -0
  1139. package/dist/components/sy-polar-chart.d.ts +8 -0
  1140. package/dist/components/sy-polar-chart.js +1 -0
  1141. package/dist/components/sy-radar-chart.d.ts +8 -0
  1142. package/dist/components/sy-radar-chart.js +1 -0
  1143. package/dist/components/sy-scatter-chart.d.ts +8 -0
  1144. package/dist/components/sy-scatter-chart.js +1 -0
  1145. package/dist/components/sy-stem-leaf-chart.d.ts +8 -0
  1146. package/dist/components/sy-stem-leaf-chart.js +1 -0
  1147. package/dist/components/sy-tilemap.d.ts +8 -0
  1148. package/dist/components/sy-tilemap.js +1 -0
  1149. package/dist/components/sy-tornado-chart.d.ts +8 -0
  1150. package/dist/components/sy-tornado-chart.js +1 -0
  1151. package/dist/components/sy-variwide-chart.d.ts +8 -0
  1152. package/dist/components/sy-variwide-chart.js +1 -0
  1153. package/dist/components/sy-visual-map.d.ts +8 -0
  1154. package/dist/components/sy-visual-map.js +1 -0
  1155. package/dist/components/sy-wafer-correlation.d.ts +8 -0
  1156. package/dist/components/sy-wafer-correlation.js +1 -0
  1157. package/dist/components/sy-wafer-map.d.ts +8 -0
  1158. package/dist/components/sy-wafer-map.js +1 -0
  1159. package/dist/components/sy-wafer-stack.d.ts +8 -0
  1160. package/dist/components/sy-wafer-stack.js +1 -0
  1161. package/dist/components/sy-word-cloud.d.ts +8 -0
  1162. package/dist/components/sy-word-cloud.js +1 -0
  1163. package/dist/components/sy-yield-zone-chart.d.ts +8 -0
  1164. package/dist/components/sy-yield-zone-chart.js +1 -0
  1165. package/dist/esm/_syidax-chart-build-tier-C374wsaF.js +1 -0
  1166. package/dist/esm/advanced.js +1 -0
  1167. package/dist/esm/app-globals-DQuL1Twl.js +1 -0
  1168. package/dist/esm/auto-labels-DYKIyOfR.js +1 -0
  1169. package/dist/esm/axis-label-thinning-S3uzYKsD.js +1 -0
  1170. package/dist/esm/brand-logo-BXzIll5N.js +1 -0
  1171. package/dist/esm/brand-mark-default-AzDRbG7D.js +1 -0
  1172. package/dist/esm/brush-interaction-Dz9vozhJ.js +1 -0
  1173. package/dist/esm/cartesian-contract-DogpgTFv.js +1 -0
  1174. package/dist/esm/cartesian-frame-interaction-BC4761vn.js +1 -0
  1175. package/dist/esm/cartesian-series-contract-zrH7aO3p.js +1 -0
  1176. package/dist/esm/cf-builder-chunk-BqLdIDeK.js +1 -0
  1177. package/dist/esm/chart-brand-_HhzGz4E.js +1 -0
  1178. package/dist/esm/chart-brand-license-2N_At2Bk.js +1 -0
  1179. package/dist/esm/chart-element-loader-DdX3JJh2.js +1 -0
  1180. package/dist/esm/chart-license-bridge-BuvMRxsm.js +1 -0
  1181. package/dist/esm/chart-streaming-gate-CXnkXyxT.js +1 -0
  1182. package/dist/esm/column-stack-C61nYCOk.js +1 -0
  1183. package/dist/esm/component-runtime-chunk-BDJ-kk9r.js +1 -0
  1184. package/dist/esm/connector-C0f63Npv.js +1 -0
  1185. package/dist/esm/contracts-Dx-FsUbT.js +1 -0
  1186. package/dist/esm/data-zoom-model-C76mzN9Y.js +1 -0
  1187. package/dist/esm/data-zoom-target-Dd9TQ3qQ.js +1 -0
  1188. package/dist/esm/device-pixel-box-BKZM2o7w.js +1 -0
  1189. package/dist/esm/drawing-export-BYBaMhHn.js +1 -0
  1190. package/dist/esm/engine-swap-license-CwIR5SyJ.js +1 -0
  1191. package/dist/esm/errors-DUELYDa7.js +1 -0
  1192. package/dist/esm/grid-import-chunk-4CjYGJmq.js +1 -0
  1193. package/dist/esm/grid-license-session-ChWa3h9U.js +7 -0
  1194. package/dist/esm/index-D6-RUOhD.js +1 -0
  1195. package/dist/esm/index-DChj4qx2.js +5 -0
  1196. package/dist/esm/index.js +1 -0
  1197. package/dist/esm/interpolate-D5aEHK78.js +1 -0
  1198. package/dist/esm/legend-BwM4aW0R.js +1 -0
  1199. package/dist/esm/legend-interaction-BVmDGX0a.js +1 -0
  1200. package/dist/esm/live-object-model-BsBcTKjx.js +1 -0
  1201. package/dist/esm/loader.js +1 -0
  1202. package/dist/esm/number-D8Cooryu.js +1 -0
  1203. package/dist/esm/parse-EXuVQfpl.js +1 -0
  1204. package/dist/esm/pie-animator-DQ1RB1XB.js +1 -0
  1205. package/dist/esm/pie-geometry-C1RaN8eG.js +1 -0
  1206. package/dist/esm/point-context-menu-B6K1arcd.js +1 -0
  1207. package/dist/esm/resolve-CitzwxIw.js +1 -0
  1208. package/dist/esm/row-drag-chunk-DorjnyoH.js +1 -0
  1209. package/dist/esm/row-layout-chunk-HmpHDcvM.js +1 -0
  1210. package/dist/esm/safe-formatter-DO6vGxJP.js +1 -0
  1211. package/dist/esm/scheme-BwtrZuf8.js +1 -0
  1212. package/dist/esm/standard-engine-status-mIwM2Z1u.js +1 -0
  1213. package/dist/esm/stream-interp-DTZUbymc.js +1 -0
  1214. package/dist/esm/sy-area-chart.entry.js +1 -0
  1215. package/dist/esm/sy-bar-chart.entry.js +1 -0
  1216. package/dist/esm/sy-bubble-chart.entry.js +1 -0
  1217. package/dist/esm/sy-chart.entry.js +2 -0
  1218. package/dist/esm/sy-column-chart.entry.js +1 -0
  1219. package/dist/esm/sy-data-zoom.entry.js +1 -0
  1220. package/dist/esm/sy-dot-plot-chart.entry.js +1 -0
  1221. package/dist/esm/sy-dumbbell-chart.entry.js +1 -0
  1222. package/dist/esm/sy-funnel-chart.entry.js +1 -0
  1223. package/dist/esm/sy-gauge-chart.entry.js +1 -0
  1224. package/dist/esm/sy-grid.sy-grid-standard-BXtFit4h.js +4 -0
  1225. package/dist/esm/sy-grid_2.entry.js +1 -0
  1226. package/dist/esm/sy-histogram-chart.entry.js +1 -0
  1227. package/dist/esm/sy-item-chart.entry.js +1 -0
  1228. package/dist/esm/sy-line-chart-path-CIwqM40T.js +1 -0
  1229. package/dist/esm/sy-line-chart.entry.js +1 -0
  1230. package/dist/esm/sy-lollipop-chart.entry.js +1 -0
  1231. package/dist/esm/sy-marimekko-chart.entry.js +1 -0
  1232. package/dist/esm/sy-navigator.entry.js +1 -0
  1233. package/dist/esm/sy-pareto-chart.entry.js +1 -0
  1234. package/dist/esm/sy-pictorial-chart.entry.js +1 -0
  1235. package/dist/esm/sy-pie-chart.entry.js +1 -0
  1236. package/dist/esm/sy-polar-chart.entry.js +1 -0
  1237. package/dist/esm/sy-radar-chart.entry.js +1 -0
  1238. package/dist/esm/sy-scatter-chart.entry.js +1 -0
  1239. package/dist/esm/sy-stem-leaf-chart.entry.js +1 -0
  1240. package/dist/esm/sy-tilemap.entry.js +1 -0
  1241. package/dist/esm/sy-tornado-chart.entry.js +1 -0
  1242. package/dist/esm/sy-variwide-chart.entry.js +1 -0
  1243. package/dist/esm/sy-visual-map.entry.js +1 -0
  1244. package/dist/esm/sy-wafer-correlation.entry.js +1 -0
  1245. package/dist/esm/sy-wafer-map.entry.js +1 -0
  1246. package/dist/esm/sy-wafer-stack.entry.js +1 -0
  1247. package/dist/esm/sy-word-cloud.entry.js +1 -0
  1248. package/dist/esm/sy-yield-zone-chart.entry.js +1 -0
  1249. package/dist/esm/types-x7RF8NVg.js +1 -0
  1250. package/dist/esm/viewport-zoom-WQSantHg.js +1 -0
  1251. package/dist/esm/visual-map-binding-DiSr3bTW.js +1 -0
  1252. package/dist/esm/wafer-stack-Bg3YP3SU.js +1 -0
  1253. package/dist/esm/wafer-value-BntCdxpN.js +1 -0
  1254. package/dist/esm/zoom-interaction-DIwGXfJu.js +1 -0
  1255. package/dist/esm/zoom-window-D6sPnRDQ.js +1 -0
  1256. package/dist/index.cjs.js +1 -0
  1257. package/dist/index.js +1 -0
  1258. package/dist/license/base64url.d.ts +3 -0
  1259. package/dist/license/base64url.js +1 -0
  1260. package/dist/license/certificate.d.ts +48 -0
  1261. package/dist/license/certificate.js +1 -0
  1262. package/dist/license/constants.d.ts +38 -0
  1263. package/dist/license/constants.js +1 -0
  1264. package/dist/license/context.d.ts +6 -0
  1265. package/dist/license/context.js +1 -0
  1266. package/dist/license/deployment.d.ts +9 -0
  1267. package/dist/license/deployment.js +1 -0
  1268. package/dist/license/diagnostic-constants.d.ts +7 -0
  1269. package/dist/license/diagnostic-constants.js +1 -0
  1270. package/dist/license/discovery.d.ts +10 -0
  1271. package/dist/license/discovery.js +1 -0
  1272. package/dist/license/errors.d.ts +47 -0
  1273. package/dist/license/errors.js +1 -0
  1274. package/dist/license/evaluate.d.ts +19 -0
  1275. package/dist/license/evaluate.js +1 -0
  1276. package/dist/license/failure.d.ts +11 -0
  1277. package/dist/license/failure.js +1 -0
  1278. package/dist/license/fetch-license.d.ts +12 -0
  1279. package/dist/license/fetch-license.js +1 -0
  1280. package/dist/license/generated/chart-features.generated.d.ts +2244 -0
  1281. package/dist/license/generated/chart-features.generated.js +1 -0
  1282. package/dist/license/generated/core-features.generated.d.ts +349 -0
  1283. package/dist/license/generated/core-features.generated.js +1 -0
  1284. package/dist/license/generated/feature-map.generated.d.ts +4 -0
  1285. package/dist/license/generated/feature-map.generated.js +1 -0
  1286. package/dist/license/generated/grid-features.generated.d.ts +3681 -0
  1287. package/dist/license/generated/grid-features.generated.js +1 -0
  1288. package/dist/license/generated/products.generated.d.ts +26 -0
  1289. package/dist/license/generated/products.generated.js +1 -0
  1290. package/dist/license/index.d.ts +15 -0
  1291. package/dist/license/index.js +1 -0
  1292. package/dist/license/json.d.ts +4 -0
  1293. package/dist/license/json.js +1 -0
  1294. package/dist/license/jws.d.ts +9 -0
  1295. package/dist/license/jws.js +1 -0
  1296. package/dist/license/registry.d.ts +37 -0
  1297. package/dist/license/registry.js +1 -0
  1298. package/dist/license/release.generated.d.ts +6 -0
  1299. package/dist/license/release.generated.js +1 -0
  1300. package/dist/license/runtime.d.ts +27 -0
  1301. package/dist/license/runtime.js +1 -0
  1302. package/dist/license/subtle.d.ts +5 -0
  1303. package/dist/license/subtle.js +1 -0
  1304. package/dist/license/timers.d.ts +6 -0
  1305. package/dist/license/timers.js +1 -0
  1306. package/dist/license/timestamp.d.ts +1 -0
  1307. package/dist/license/timestamp.js +1 -0
  1308. package/dist/license/trust-keys.generated.d.ts +3 -0
  1309. package/dist/license/trust-keys.generated.js +1 -0
  1310. package/dist/license/trust-store.d.ts +6 -0
  1311. package/dist/license/trust-store.js +1 -0
  1312. package/dist/license/types.d.ts +85 -0
  1313. package/dist/license/types.js +1 -0
  1314. package/dist/license/verify.d.ts +30 -0
  1315. package/dist/license/verify.js +1 -0
  1316. package/dist/license/watch.d.ts +18 -0
  1317. package/dist/license/watch.js +1 -0
  1318. package/dist/types/components/_shared/brand/brand-decision.d.ts +3 -0
  1319. package/dist/types/components/_shared/brand/brand-export-default.d.ts +32 -0
  1320. package/dist/types/components/_shared/brand/brand-export.d.ts +34 -0
  1321. package/dist/types/components/_shared/brand/brand-integrity.d.ts +2 -0
  1322. package/dist/types/components/_shared/brand/brand-lockup-default.d.ts +5 -0
  1323. package/dist/types/components/_shared/brand/brand-logo.d.ts +22 -0
  1324. package/dist/types/components/_shared/brand/brand-mark-default.d.ts +52 -0
  1325. package/dist/types/components/_shared/brand/brand-mark.d.ts +22 -0
  1326. package/dist/types/components/_shared/brand/index.d.ts +5 -0
  1327. package/dist/types/components/_shared/brand/types.d.ts +41 -0
  1328. package/dist/types/components/chart/_shared/core/a11y/a11y.d.ts +16 -0
  1329. package/dist/types/components/chart/_shared/core/a11y/contrast.d.ts +24 -0
  1330. package/dist/types/components/chart/_shared/core/a11y/index.d.ts +2 -0
  1331. package/dist/types/components/chart/_shared/core/action/action-contract.d.ts +29 -0
  1332. package/dist/types/components/chart/_shared/core/action/index.d.ts +2 -0
  1333. package/dist/types/components/chart/_shared/core/adapter/animatable-mark.d.ts +51 -0
  1334. package/dist/types/components/chart/_shared/core/adapter/deferred-pro-renderer.d.ts +8 -0
  1335. package/dist/types/components/chart/_shared/core/adapter/gpu-availability.d.ts +10 -0
  1336. package/dist/types/components/chart/_shared/core/adapter/index.d.ts +2 -0
  1337. package/dist/types/components/chart/_shared/core/adapter/streamable-series.d.ts +18 -0
  1338. package/dist/types/components/chart/_shared/core/animation/flip.d.ts +65 -0
  1339. package/dist/types/components/chart/_shared/core/animation/heatmap-animator.d.ts +27 -0
  1340. package/dist/types/components/chart/_shared/core/animation/index.d.ts +4 -0
  1341. package/dist/types/components/chart/_shared/core/animation/interruptible.d.ts +48 -0
  1342. package/dist/types/components/chart/_shared/core/animation/morph-paint-order.d.ts +9 -0
  1343. package/dist/types/components/chart/_shared/core/animation/scene3d-exit.d.ts +24 -0
  1344. package/dist/types/components/chart/_shared/core/animation/stream-interp.d.ts +2 -0
  1345. package/dist/types/components/chart/_shared/core/animation/transition.d.ts +83 -0
  1346. package/dist/types/components/chart/_shared/core/animation/tween.d.ts +16 -0
  1347. package/dist/types/components/chart/_shared/core/annotation/index.d.ts +1 -0
  1348. package/dist/types/components/chart/_shared/core/axis/auto-labels.d.ts +21 -0
  1349. package/dist/types/components/chart/_shared/core/axis/axis-base.d.ts +40 -0
  1350. package/dist/types/components/chart/_shared/core/axis/category-axis.d.ts +24 -0
  1351. package/dist/types/components/chart/_shared/core/axis/index.d.ts +7 -0
  1352. package/dist/types/components/chart/_shared/core/axis/label-collision.d.ts +34 -0
  1353. package/dist/types/components/chart/_shared/core/axis/linear-axis.d.ts +23 -0
  1354. package/dist/types/components/chart/_shared/core/axis/log-axis.d.ts +25 -0
  1355. package/dist/types/components/chart/_shared/core/axis/time-axis.d.ts +25 -0
  1356. package/dist/types/components/chart/_shared/core/brand/brand-placement.d.ts +29 -0
  1357. package/dist/types/components/chart/_shared/core/brand/chart-brand-config.d.ts +12 -0
  1358. package/dist/types/components/chart/_shared/core/brand/chart-brand-export.d.ts +20 -0
  1359. package/dist/types/components/chart/_shared/core/brand/chart-brand-host.d.ts +30 -0
  1360. package/dist/types/components/chart/_shared/core/brand/chart-brand-lazy.d.ts +6 -0
  1361. package/dist/types/components/chart/_shared/core/brand/chart-brand-palette.d.ts +7 -0
  1362. package/dist/types/components/chart/_shared/core/brand/chart-brand-theme.d.ts +9 -0
  1363. package/dist/types/components/chart/_shared/core/brand/chart-brand.d.ts +13 -0
  1364. package/dist/types/components/chart/_shared/core/brand/license/chart-brand-license.d.ts +20 -0
  1365. package/dist/types/components/chart/_shared/core/brush/brush-contract.d.ts +101 -0
  1366. package/dist/types/components/chart/_shared/core/brush/brush-geometry.d.ts +61 -0
  1367. package/dist/types/components/chart/_shared/core/brush/brush-interaction.d.ts +63 -0
  1368. package/dist/types/components/chart/_shared/core/brush/index.d.ts +6 -0
  1369. package/dist/types/components/chart/_shared/core/color/heatmap-color.d.ts +28 -0
  1370. package/dist/types/components/chart/_shared/core/color/index.d.ts +5 -0
  1371. package/dist/types/components/chart/_shared/core/color/interpolate.d.ts +33 -0
  1372. package/dist/types/components/chart/_shared/core/color/named-colors.d.ts +1 -0
  1373. package/dist/types/components/chart/_shared/core/color/parse.d.ts +8 -0
  1374. package/dist/types/components/chart/_shared/core/color/resolve.d.ts +20 -0
  1375. package/dist/types/components/chart/_shared/core/color/rgba.d.ts +6 -0
  1376. package/dist/types/components/chart/_shared/core/color/scheme.d.ts +43 -0
  1377. package/dist/types/components/chart/_shared/core/contract/bar3d-contract.d.ts +140 -0
  1378. package/dist/types/components/chart/_shared/core/contract/box-plot-contract.d.ts +138 -0
  1379. package/dist/types/components/chart/_shared/core/contract/bubble-contract.d.ts +118 -0
  1380. package/dist/types/components/chart/_shared/core/contract/calendar-heatmap-contract.d.ts +77 -0
  1381. package/dist/types/components/chart/_shared/core/contract/candlestick-contract.d.ts +204 -0
  1382. package/dist/types/components/chart/_shared/core/contract/cartesian-contract.d.ts +186 -0
  1383. package/dist/types/components/chart/_shared/core/contract/cartesian-series-contract.d.ts +270 -0
  1384. package/dist/types/components/chart/_shared/core/contract/chord-contract.d.ts +183 -0
  1385. package/dist/types/components/chart/_shared/core/contract/dendrogram-contract.d.ts +168 -0
  1386. package/dist/types/components/chart/_shared/core/contract/density-map-contract.d.ts +115 -0
  1387. package/dist/types/components/chart/_shared/core/contract/error-bar-contract.d.ts +98 -0
  1388. package/dist/types/components/chart/_shared/core/contract/flow-lines-contract.d.ts +138 -0
  1389. package/dist/types/components/chart/_shared/core/contract/gantt-contract.d.ts +358 -0
  1390. package/dist/types/components/chart/_shared/core/contract/geo-map-contract.d.ts +367 -0
  1391. package/dist/types/components/chart/_shared/core/contract/geo-map-features-contract.d.ts +42 -0
  1392. package/dist/types/components/chart/_shared/core/contract/heatmap-contract.d.ts +94 -0
  1393. package/dist/types/components/chart/_shared/core/contract/icicle-contract.d.ts +141 -0
  1394. package/dist/types/components/chart/_shared/core/contract/index.d.ts +15 -0
  1395. package/dist/types/components/chart/_shared/core/contract/network-graph-contract.d.ts +271 -0
  1396. package/dist/types/components/chart/_shared/core/contract/parallel-coordinates-contract.d.ts +274 -0
  1397. package/dist/types/components/chart/_shared/core/contract/sankey-contract.d.ts +189 -0
  1398. package/dist/types/components/chart/_shared/core/contract/scatter3d-contract.d.ts +124 -0
  1399. package/dist/types/components/chart/_shared/core/contract/scene3d-camera-contract.d.ts +27 -0
  1400. package/dist/types/components/chart/_shared/core/contract/scene3d-chart-contract.d.ts +29 -0
  1401. package/dist/types/components/chart/_shared/core/contract/scene3d-lighting-contract.d.ts +42 -0
  1402. package/dist/types/components/chart/_shared/core/contract/scene3d-orbit-contract.d.ts +38 -0
  1403. package/dist/types/components/chart/_shared/core/contract/spectrogram-contract.d.ts +82 -0
  1404. package/dist/types/components/chart/_shared/core/contract/sunburst-contract.d.ts +145 -0
  1405. package/dist/types/components/chart/_shared/core/contract/surface3d-contract.d.ts +150 -0
  1406. package/dist/types/components/chart/_shared/core/contract/theme-river-contract.d.ts +167 -0
  1407. package/dist/types/components/chart/_shared/core/contract/treemap-contract.d.ts +138 -0
  1408. package/dist/types/components/chart/_shared/core/contract/waterfall-contract.d.ts +96 -0
  1409. package/dist/types/components/chart/_shared/core/crosshair/category-snap.d.ts +20 -0
  1410. package/dist/types/components/chart/_shared/core/crosshair/crosshair.d.ts +65 -0
  1411. package/dist/types/components/chart/_shared/core/crosshair/index.d.ts +1 -0
  1412. package/dist/types/components/chart/_shared/core/data/dataset.d.ts +42 -0
  1413. package/dist/types/components/chart/_shared/core/data/encode.d.ts +40 -0
  1414. package/dist/types/components/chart/_shared/core/data/index.d.ts +4 -0
  1415. package/dist/types/components/chart/_shared/core/data/transforms.d.ts +106 -0
  1416. package/dist/types/components/chart/_shared/core/data/values-attribute.d.ts +4 -0
  1417. package/dist/types/components/chart/_shared/core/drawing/drawing-contract.d.ts +240 -0
  1418. package/dist/types/components/chart/_shared/core/drawing/drawing-cursor.d.ts +9 -0
  1419. package/dist/types/components/chart/_shared/core/drawing/drawing-export.d.ts +11 -0
  1420. package/dist/types/components/chart/_shared/core/drawing/drawing-hit.d.ts +12 -0
  1421. package/dist/types/components/chart/_shared/core/drawing/drawing-interaction.d.ts +79 -0
  1422. package/dist/types/components/chart/_shared/core/drawing/drawing-measure.d.ts +9 -0
  1423. package/dist/types/components/chart/_shared/core/drawing/drawing-projection.d.ts +35 -0
  1424. package/dist/types/components/chart/_shared/core/drawing/drawing-tools.d.ts +68 -0
  1425. package/dist/types/components/chart/_shared/core/drawing/index.d.ts +14 -0
  1426. package/dist/types/components/chart/_shared/core/engine/resolve-chart-engine.d.ts +25 -0
  1427. package/dist/types/components/chart/_shared/core/engine/types.d.ts +44 -0
  1428. package/dist/types/components/chart/_shared/core/event/hit-test.d.ts +37 -0
  1429. package/dist/types/components/chart/_shared/core/event/index.d.ts +3 -0
  1430. package/dist/types/components/chart/_shared/core/event/point-context-menu.d.ts +22 -0
  1431. package/dist/types/components/chart/_shared/core/event/pointer.d.ts +25 -0
  1432. package/dist/types/components/chart/_shared/core/export/chart-export.d.ts +37 -0
  1433. package/dist/types/components/chart/_shared/core/export/data-table.d.ts +22 -0
  1434. package/dist/types/components/chart/_shared/core/export/html-overlay.d.ts +61 -0
  1435. package/dist/types/components/chart/_shared/core/export/index.d.ts +2 -0
  1436. package/dist/types/components/chart/_shared/core/export/svg-fonts.d.ts +9 -0
  1437. package/dist/types/components/chart/_shared/core/financial-bars.d.ts +29 -0
  1438. package/dist/types/components/chart/_shared/core/format/datetime.d.ts +14 -0
  1439. package/dist/types/components/chart/_shared/core/format/duration.d.ts +10 -0
  1440. package/dist/types/components/chart/_shared/core/format/index.d.ts +3 -0
  1441. package/dist/types/components/chart/_shared/core/format/number.d.ts +15 -0
  1442. package/dist/types/components/chart/_shared/core/format/safe-formatter.d.ts +2 -0
  1443. package/dist/types/components/chart/_shared/core/graph/strongly-connected.d.ts +1 -0
  1444. package/dist/types/components/chart/_shared/core/hover/highlight.d.ts +37 -0
  1445. package/dist/types/components/chart/_shared/core/hover/index.d.ts +1 -0
  1446. package/dist/types/components/chart/_shared/core/index.d.ts +16 -0
  1447. package/dist/types/components/chart/_shared/core/layout/axis-label-thinning.d.ts +19 -0
  1448. package/dist/types/components/chart/_shared/core/layout/cartesian-frame-interaction.d.ts +56 -0
  1449. package/dist/types/components/chart/_shared/core/layout/cartesian-frame.d.ts +119 -0
  1450. package/dist/types/components/chart/_shared/core/layout/cartesian-render-domain.d.ts +14 -0
  1451. package/dist/types/components/chart/_shared/core/layout/device-pixel-box.d.ts +13 -0
  1452. package/dist/types/components/chart/_shared/core/layout/frame.d.ts +54 -0
  1453. package/dist/types/components/chart/_shared/core/layout/index.d.ts +9 -0
  1454. package/dist/types/components/chart/_shared/core/layout/label-geometry.d.ts +19 -0
  1455. package/dist/types/components/chart/_shared/core/layout/label-obstacle-index.d.ts +35 -0
  1456. package/dist/types/components/chart/_shared/core/layout/legend-interaction.d.ts +39 -0
  1457. package/dist/types/components/chart/_shared/core/layout/legend.d.ts +81 -0
  1458. package/dist/types/components/chart/_shared/core/layout/plot-area.d.ts +83 -0
  1459. package/dist/types/components/chart/_shared/core/layout/title.d.ts +55 -0
  1460. package/dist/types/components/chart/_shared/core/license/chart-license-bridge.d.ts +46 -0
  1461. package/dist/types/components/chart/_shared/core/license/chart-license-features.d.ts +13 -0
  1462. package/dist/types/components/chart/_shared/core/license/chart-license-notice.d.ts +24 -0
  1463. package/dist/types/components/chart/_shared/core/limits/point-cap.d.ts +9 -0
  1464. package/dist/types/components/chart/_shared/core/loading/chart-build-tier.d.ts +1 -0
  1465. package/dist/types/components/chart/_shared/core/loading/chart-element-loader.d.ts +51 -0
  1466. package/dist/types/components/chart/_shared/core/loading/chart-load-controller.d.ts +51 -0
  1467. package/dist/types/components/chart/_shared/core/loading/chart-type-rows.d.ts +1 -0
  1468. package/dist/types/components/chart/_shared/core/loading/chart-type-table.d.ts +33 -0
  1469. package/dist/types/components/chart/_shared/core/loading/index.d.ts +6 -0
  1470. package/dist/types/components/chart/_shared/core/locale/index.d.ts +1 -0
  1471. package/dist/types/components/chart/_shared/core/locale/locale.d.ts +39 -0
  1472. package/dist/types/components/chart/_shared/core/math/ease.d.ts +31 -0
  1473. package/dist/types/components/chart/_shared/core/math/index.d.ts +3 -0
  1474. package/dist/types/components/chart/_shared/core/math/primitives.d.ts +11 -0
  1475. package/dist/types/components/chart/_shared/core/math/stat.d.ts +15 -0
  1476. package/dist/types/components/chart/_shared/core/menu/context-menu.d.ts +24 -0
  1477. package/dist/types/components/chart/_shared/core/menu/index.d.ts +1 -0
  1478. package/dist/types/components/chart/_shared/core/numeric/quickselect.d.ts +4 -0
  1479. package/dist/types/components/chart/_shared/core/numeric/safe-numeric.d.ts +17 -0
  1480. package/dist/types/components/chart/_shared/core/progressive/index.d.ts +2 -0
  1481. package/dist/types/components/chart/_shared/core/progressive/progressive-draw.d.ts +31 -0
  1482. package/dist/types/components/chart/_shared/core/scale/band.d.ts +27 -0
  1483. package/dist/types/components/chart/_shared/core/scale/diverging.d.ts +19 -0
  1484. package/dist/types/components/chart/_shared/core/scale/index.d.ts +15 -0
  1485. package/dist/types/components/chart/_shared/core/scale/linear.d.ts +28 -0
  1486. package/dist/types/components/chart/_shared/core/scale/log.d.ts +30 -0
  1487. package/dist/types/components/chart/_shared/core/scale/ordinal.d.ts +12 -0
  1488. package/dist/types/components/chart/_shared/core/scale/point.d.ts +23 -0
  1489. package/dist/types/components/chart/_shared/core/scale/pow.d.ts +31 -0
  1490. package/dist/types/components/chart/_shared/core/scale/quantile.d.ts +14 -0
  1491. package/dist/types/components/chart/_shared/core/scale/quantize.d.ts +20 -0
  1492. package/dist/types/components/chart/_shared/core/scale/sequential.d.ts +17 -0
  1493. package/dist/types/components/chart/_shared/core/scale/symlog.d.ts +30 -0
  1494. package/dist/types/components/chart/_shared/core/scale/threshold.d.ts +13 -0
  1495. package/dist/types/components/chart/_shared/core/scale/tick-strategy.d.ts +16 -0
  1496. package/dist/types/components/chart/_shared/core/scale/time-tick-strategy.d.ts +32 -0
  1497. package/dist/types/components/chart/_shared/core/scale/time.d.ts +30 -0
  1498. package/dist/types/components/chart/_shared/core/spatial/index.d.ts +2 -0
  1499. package/dist/types/components/chart/_shared/core/spatial/kdtree.d.ts +5 -0
  1500. package/dist/types/components/chart/_shared/core/spatial/kernel.d.ts +12 -0
  1501. package/dist/types/components/chart/_shared/core/spatial/quadtree.d.ts +8 -0
  1502. package/dist/types/components/chart/_shared/core/state/index.d.ts +1 -0
  1503. package/dist/types/components/chart/_shared/core/state/state-model.d.ts +18 -0
  1504. package/dist/types/components/chart/_shared/core/stream/batch-flush-runtime.d.ts +2 -0
  1505. package/dist/types/components/chart/_shared/core/stream/batch-flush.d.ts +44 -0
  1506. package/dist/types/components/chart/_shared/core/stream/category-upserts.d.ts +9 -0
  1507. package/dist/types/components/chart/_shared/core/stream/frame-budget.d.ts +37 -0
  1508. package/dist/types/components/chart/_shared/core/stream/index.d.ts +5 -0
  1509. package/dist/types/components/chart/_shared/core/stream/keyed-object-stream-runtime.d.ts +10 -0
  1510. package/dist/types/components/chart/_shared/core/stream/keyed-object-stream.d.ts +19 -0
  1511. package/dist/types/components/chart/_shared/core/stream/ring-buffer-runtime.d.ts +2 -0
  1512. package/dist/types/components/chart/_shared/core/stream/ring-buffer.d.ts +30 -0
  1513. package/dist/types/components/chart/_shared/core/stream/stream-source-runtime.d.ts +2 -0
  1514. package/dist/types/components/chart/_shared/core/stream/stream-source.d.ts +40 -0
  1515. package/dist/types/components/chart/_shared/core/stream/time-window-runtime.d.ts +2 -0
  1516. package/dist/types/components/chart/_shared/core/stream/time-window.d.ts +21 -0
  1517. package/dist/types/components/chart/_shared/core/theme/index.d.ts +1 -0
  1518. package/dist/types/components/chart/_shared/core/theme/theme.d.ts +21 -0
  1519. package/dist/types/components/chart/_shared/core/tooltip/card-a11y.d.ts +5 -0
  1520. package/dist/types/components/chart/_shared/core/tooltip/cell-tooltip-controller.d.ts +139 -0
  1521. package/dist/types/components/chart/_shared/core/tooltip/connector.d.ts +18 -0
  1522. package/dist/types/components/chart/_shared/core/tooltip/formatter.d.ts +44 -0
  1523. package/dist/types/components/chart/_shared/core/tooltip/index.d.ts +3 -0
  1524. package/dist/types/components/chart/_shared/core/tooltip/tooltip-engine.d.ts +90 -0
  1525. package/dist/types/components/chart/_shared/core/tooltip/tooltip-transfer.d.ts +11 -0
  1526. package/dist/types/components/chart/_shared/core/types.d.ts +51 -0
  1527. package/dist/types/components/chart/_shared/core/visual-map/index.d.ts +4 -0
  1528. package/dist/types/components/chart/_shared/core/visual-map/visual-map-binding.d.ts +50 -0
  1529. package/dist/types/components/chart/_shared/core/visual-map/visual-map-contract.d.ts +125 -0
  1530. package/dist/types/components/chart/_shared/core/zoom/crosshair-sync.d.ts +18 -0
  1531. package/dist/types/components/chart/_shared/core/zoom/index.d.ts +16 -0
  1532. package/dist/types/components/chart/_shared/core/zoom/viewport-zoom.d.ts +33 -0
  1533. package/dist/types/components/chart/_shared/core/zoom/zoom-connect.d.ts +44 -0
  1534. package/dist/types/components/chart/_shared/core/zoom/zoom-contract.d.ts +93 -0
  1535. package/dist/types/components/chart/_shared/core/zoom/zoom-drag.d.ts +13 -0
  1536. package/dist/types/components/chart/_shared/core/zoom/zoom-host.d.ts +58 -0
  1537. package/dist/types/components/chart/_shared/core/zoom/zoom-interaction.d.ts +91 -0
  1538. package/dist/types/components/chart/_shared/core/zoom/zoom-window.d.ts +74 -0
  1539. package/dist/types/components/chart/_shared/render/canvas.d.ts +11 -0
  1540. package/dist/types/components/chart/_shared/render/index.d.ts +6 -0
  1541. package/dist/types/components/chart/_shared/render/series.d.ts +46 -0
  1542. package/dist/types/components/chart/area-chart/core/animation/animator.d.ts +23 -0
  1543. package/dist/types/components/chart/area-chart/core/animation/easing.d.ts +2 -0
  1544. package/dist/types/components/chart/area-chart/core/animation/index.d.ts +3 -0
  1545. package/dist/types/components/chart/area-chart/core/animation/path-morph.d.ts +2 -0
  1546. package/dist/types/components/chart/area-chart/core/area-chart-core.d.ts +45 -0
  1547. package/dist/types/components/chart/area-chart/core/area-pro-renderer-loader.d.ts +3 -0
  1548. package/dist/types/components/chart/area-chart/core/pattern-kind.d.ts +11 -0
  1549. package/dist/types/components/chart/area-chart/core/streaming/index.d.ts +2 -0
  1550. package/dist/types/components/chart/area-chart/core/streaming/ring-buffer-runtime.d.ts +2 -0
  1551. package/dist/types/components/chart/area-chart/core/streaming/ring-buffer.d.ts +11 -0
  1552. package/dist/types/components/chart/area-chart/core/streaming/stream-source-runtime.d.ts +5 -0
  1553. package/dist/types/components/chart/area-chart/core/streaming/stream-source.d.ts +27 -0
  1554. package/dist/types/components/chart/area-chart/core/types.d.ts +121 -0
  1555. package/dist/types/components/chart/area-chart/core/visual-regression/baseline.d.ts +4 -0
  1556. package/dist/types/components/chart/area-chart/core/visual-regression/dom-snapshot.d.ts +14 -0
  1557. package/dist/types/components/chart/area-chart/core/visual-regression/stream-frame-snapshot.d.ts +5 -0
  1558. package/dist/types/components/chart/area-chart/engines/standard/area-chart-standard-renderer.d.ts +11 -0
  1559. package/dist/types/components/chart/area-chart/engines/standard/index.d.ts +2 -0
  1560. package/dist/types/components/chart/area-chart/engines/standard/sy-area-chart-path.d.ts +94 -0
  1561. package/dist/types/components/chart/area-chart/index.d.ts +3 -0
  1562. package/dist/types/components/chart/area-chart/sy-area-chart.d.ts +448 -0
  1563. package/dist/types/components/chart/bar-chart/core/animation/animator.d.ts +23 -0
  1564. package/dist/types/components/chart/bar-chart/core/animation/baseline-grow.d.ts +12 -0
  1565. package/dist/types/components/chart/bar-chart/core/animation/easing.d.ts +2 -0
  1566. package/dist/types/components/chart/bar-chart/core/animation/index.d.ts +4 -0
  1567. package/dist/types/components/chart/bar-chart/core/animation/path-morph.d.ts +2 -0
  1568. package/dist/types/components/chart/bar-chart/core/bar-border.d.ts +37 -0
  1569. package/dist/types/components/chart/bar-chart/core/bar-chart-core.d.ts +44 -0
  1570. package/dist/types/components/chart/bar-chart/core/bar-layout.d.ts +34 -0
  1571. package/dist/types/components/chart/bar-chart/core/bar-pro-renderer-loader.d.ts +3 -0
  1572. package/dist/types/components/chart/bar-chart/core/streaming/index.d.ts +2 -0
  1573. package/dist/types/components/chart/bar-chart/core/streaming/ring-buffer-runtime.d.ts +2 -0
  1574. package/dist/types/components/chart/bar-chart/core/streaming/ring-buffer.d.ts +11 -0
  1575. package/dist/types/components/chart/bar-chart/core/streaming/stream-source-runtime.d.ts +5 -0
  1576. package/dist/types/components/chart/bar-chart/core/streaming/stream-source.d.ts +27 -0
  1577. package/dist/types/components/chart/bar-chart/core/types.d.ts +80 -0
  1578. package/dist/types/components/chart/bar-chart/engines/standard/bar-chart-standard-renderer.d.ts +34 -0
  1579. package/dist/types/components/chart/bar-chart/engines/standard/index.d.ts +2 -0
  1580. package/dist/types/components/chart/bar-chart/engines/standard/sy-bar-chart-path.d.ts +29 -0
  1581. package/dist/types/components/chart/bar-chart/index.d.ts +5 -0
  1582. package/dist/types/components/chart/bar-chart/sy-bar-chart.d.ts +431 -0
  1583. package/dist/types/components/chart/bubble-chart/core/bubble-chart-core.d.ts +24 -0
  1584. package/dist/types/components/chart/bubble-chart/core/bubble-color.d.ts +18 -0
  1585. package/dist/types/components/chart/bubble-chart/core/bubble-data.d.ts +41 -0
  1586. package/dist/types/components/chart/bubble-chart/core/bubble-geometry.d.ts +14 -0
  1587. package/dist/types/components/chart/bubble-chart/core/bubble-morph.d.ts +15 -0
  1588. package/dist/types/components/chart/bubble-chart/core/bubble-pack.d.ts +26 -0
  1589. package/dist/types/components/chart/bubble-chart/core/bubble-pro-renderer-loader.d.ts +3 -0
  1590. package/dist/types/components/chart/bubble-chart/core/bubble-projection.d.ts +37 -0
  1591. package/dist/types/components/chart/bubble-chart/core/bubble-stream-source-runtime.d.ts +3 -0
  1592. package/dist/types/components/chart/bubble-chart/core/bubble-stream-source.d.ts +7 -0
  1593. package/dist/types/components/chart/bubble-chart/core/types.d.ts +39 -0
  1594. package/dist/types/components/chart/bubble-chart/engines/standard/bubble-standard-renderer.d.ts +29 -0
  1595. package/dist/types/components/chart/bubble-chart/engines/standard/index.d.ts +1 -0
  1596. package/dist/types/components/chart/bubble-chart/index.d.ts +10 -0
  1597. package/dist/types/components/chart/bubble-chart/sy-bubble-chart.d.ts +285 -0
  1598. package/dist/types/components/chart/column-chart/core/animation/animator.d.ts +23 -0
  1599. package/dist/types/components/chart/column-chart/core/animation/easing.d.ts +2 -0
  1600. package/dist/types/components/chart/column-chart/core/animation/index.d.ts +3 -0
  1601. package/dist/types/components/chart/column-chart/core/animation/path-morph.d.ts +2 -0
  1602. package/dist/types/components/chart/column-chart/core/column-border.d.ts +16 -0
  1603. package/dist/types/components/chart/column-chart/core/column-chart-core.d.ts +47 -0
  1604. package/dist/types/components/chart/column-chart/core/column-pro-renderer-loader.d.ts +3 -0
  1605. package/dist/types/components/chart/column-chart/core/column-stack.d.ts +49 -0
  1606. package/dist/types/components/chart/column-chart/core/streaming/index.d.ts +2 -0
  1607. package/dist/types/components/chart/column-chart/core/streaming/ring-buffer-runtime.d.ts +2 -0
  1608. package/dist/types/components/chart/column-chart/core/streaming/ring-buffer.d.ts +11 -0
  1609. package/dist/types/components/chart/column-chart/core/streaming/stream-source-runtime.d.ts +5 -0
  1610. package/dist/types/components/chart/column-chart/core/streaming/stream-source.d.ts +27 -0
  1611. package/dist/types/components/chart/column-chart/core/types.d.ts +79 -0
  1612. package/dist/types/components/chart/column-chart/engines/standard/column-chart-standard-renderer.d.ts +11 -0
  1613. package/dist/types/components/chart/column-chart/engines/standard/index.d.ts +2 -0
  1614. package/dist/types/components/chart/column-chart/engines/standard/sy-column-chart-path.d.ts +29 -0
  1615. package/dist/types/components/chart/column-chart/index.d.ts +3 -0
  1616. package/dist/types/components/chart/column-chart/sy-column-chart.d.ts +457 -0
  1617. package/dist/types/components/chart/data-zoom/core/data-zoom-model.d.ts +54 -0
  1618. package/dist/types/components/chart/data-zoom/core/data-zoom-target.d.ts +11 -0
  1619. package/dist/types/components/chart/data-zoom/sy-data-zoom.d.ts +64 -0
  1620. package/dist/types/components/chart/dot-plot-chart/core/dot-plot-animator.d.ts +27 -0
  1621. package/dist/types/components/chart/dot-plot-chart/core/dot-plot-chart-core.d.ts +10 -0
  1622. package/dist/types/components/chart/dot-plot-chart/core/dot-plot-geometry.d.ts +50 -0
  1623. package/dist/types/components/chart/dot-plot-chart/core/dot-plot-stream-source-runtime.d.ts +2 -0
  1624. package/dist/types/components/chart/dot-plot-chart/core/dot-plot-stream-source.d.ts +34 -0
  1625. package/dist/types/components/chart/dot-plot-chart/core/types.d.ts +42 -0
  1626. package/dist/types/components/chart/dot-plot-chart/engines/standard/index.d.ts +2 -0
  1627. package/dist/types/components/chart/dot-plot-chart/index.d.ts +3 -0
  1628. package/dist/types/components/chart/dot-plot-chart/sy-dot-plot-chart.d.ts +215 -0
  1629. package/dist/types/components/chart/dumbbell-chart/core/dumbbell-animator.d.ts +27 -0
  1630. package/dist/types/components/chart/dumbbell-chart/core/dumbbell-chart-core.d.ts +10 -0
  1631. package/dist/types/components/chart/dumbbell-chart/core/dumbbell-data.d.ts +12 -0
  1632. package/dist/types/components/chart/dumbbell-chart/core/dumbbell-geometry.d.ts +38 -0
  1633. package/dist/types/components/chart/dumbbell-chart/core/dumbbell-stream-source-runtime.d.ts +2 -0
  1634. package/dist/types/components/chart/dumbbell-chart/core/dumbbell-stream-source.d.ts +36 -0
  1635. package/dist/types/components/chart/dumbbell-chart/core/types.d.ts +48 -0
  1636. package/dist/types/components/chart/dumbbell-chart/engines/standard/index.d.ts +2 -0
  1637. package/dist/types/components/chart/dumbbell-chart/index.d.ts +3 -0
  1638. package/dist/types/components/chart/dumbbell-chart/sy-dumbbell-chart.d.ts +237 -0
  1639. package/dist/types/components/chart/facade-types.d.ts +167 -0
  1640. package/dist/types/components/chart/funnel-chart/core/funnel-animator.d.ts +27 -0
  1641. package/dist/types/components/chart/funnel-chart/core/funnel-chart-core.d.ts +10 -0
  1642. package/dist/types/components/chart/funnel-chart/core/funnel-geometry.d.ts +38 -0
  1643. package/dist/types/components/chart/funnel-chart/core/funnel-stream-source-runtime.d.ts +2 -0
  1644. package/dist/types/components/chart/funnel-chart/core/funnel-stream-source.d.ts +29 -0
  1645. package/dist/types/components/chart/funnel-chart/core/funnel-tooltip.d.ts +57 -0
  1646. package/dist/types/components/chart/funnel-chart/core/types.d.ts +78 -0
  1647. package/dist/types/components/chart/funnel-chart/engines/standard/index.d.ts +69 -0
  1648. package/dist/types/components/chart/funnel-chart/index.d.ts +8 -0
  1649. package/dist/types/components/chart/funnel-chart/sy-funnel-chart.d.ts +232 -0
  1650. package/dist/types/components/chart/gauge-chart/core/gauge-animator.d.ts +49 -0
  1651. package/dist/types/components/chart/gauge-chart/core/gauge-chart-core.d.ts +10 -0
  1652. package/dist/types/components/chart/gauge-chart/core/gauge-geometry.d.ts +61 -0
  1653. package/dist/types/components/chart/gauge-chart/core/gauge-stream-source-runtime.d.ts +2 -0
  1654. package/dist/types/components/chart/gauge-chart/core/gauge-stream-source.d.ts +28 -0
  1655. package/dist/types/components/chart/gauge-chart/core/gauge-tooltip.d.ts +65 -0
  1656. package/dist/types/components/chart/gauge-chart/core/types.d.ts +156 -0
  1657. package/dist/types/components/chart/gauge-chart/engines/standard/index.d.ts +110 -0
  1658. package/dist/types/components/chart/gauge-chart/index.d.ts +7 -0
  1659. package/dist/types/components/chart/gauge-chart/sy-gauge-chart.d.ts +296 -0
  1660. package/dist/types/components/chart/histogram-chart/core/histogram-animator.d.ts +27 -0
  1661. package/dist/types/components/chart/histogram-chart/core/histogram-binning.d.ts +30 -0
  1662. package/dist/types/components/chart/histogram-chart/core/histogram-chart-core.d.ts +19 -0
  1663. package/dist/types/components/chart/histogram-chart/core/histogram-measure.d.ts +21 -0
  1664. package/dist/types/components/chart/histogram-chart/core/histogram-pro-renderer-loader.d.ts +3 -0
  1665. package/dist/types/components/chart/histogram-chart/core/histogram-stream-source-runtime.d.ts +2 -0
  1666. package/dist/types/components/chart/histogram-chart/core/histogram-stream-source.d.ts +32 -0
  1667. package/dist/types/components/chart/histogram-chart/core/types.d.ts +97 -0
  1668. package/dist/types/components/chart/histogram-chart/engines/standard/index.d.ts +23 -0
  1669. package/dist/types/components/chart/histogram-chart/index.d.ts +6 -0
  1670. package/dist/types/components/chart/histogram-chart/sy-histogram-chart.d.ts +255 -0
  1671. package/dist/types/components/chart/item-chart/core/item-chart-core.d.ts +10 -0
  1672. package/dist/types/components/chart/item-chart/core/item-geometry.d.ts +13 -0
  1673. package/dist/types/components/chart/item-chart/core/item-stream-source-runtime.d.ts +2 -0
  1674. package/dist/types/components/chart/item-chart/core/item-stream-source.d.ts +28 -0
  1675. package/dist/types/components/chart/item-chart/core/item-tooltip.d.ts +68 -0
  1676. package/dist/types/components/chart/item-chart/core/types.d.ts +81 -0
  1677. package/dist/types/components/chart/item-chart/engines/standard/index.d.ts +37 -0
  1678. package/dist/types/components/chart/item-chart/index.d.ts +7 -0
  1679. package/dist/types/components/chart/item-chart/sy-item-chart.d.ts +276 -0
  1680. package/dist/types/components/chart/line-chart/core/animation/animator.d.ts +23 -0
  1681. package/dist/types/components/chart/line-chart/core/animation/easing.d.ts +2 -0
  1682. package/dist/types/components/chart/line-chart/core/animation/index.d.ts +3 -0
  1683. package/dist/types/components/chart/line-chart/core/animation/path-morph.d.ts +2 -0
  1684. package/dist/types/components/chart/line-chart/core/event/hit-test.d.ts +22 -0
  1685. package/dist/types/components/chart/line-chart/core/event/index.d.ts +1 -0
  1686. package/dist/types/components/chart/line-chart/core/license/engine-swap-license.d.ts +100 -0
  1687. package/dist/types/components/chart/line-chart/core/line-chart-core.d.ts +43 -0
  1688. package/dist/types/components/chart/line-chart/core/pro-renderer-loader.d.ts +3 -0
  1689. package/dist/types/components/chart/line-chart/core/streaming/index.d.ts +2 -0
  1690. package/dist/types/components/chart/line-chart/core/streaming/ring-buffer-runtime.d.ts +2 -0
  1691. package/dist/types/components/chart/line-chart/core/streaming/ring-buffer.d.ts +46 -0
  1692. package/dist/types/components/chart/line-chart/core/streaming/stream-source-runtime.d.ts +5 -0
  1693. package/dist/types/components/chart/line-chart/core/streaming/stream-source.d.ts +29 -0
  1694. package/dist/types/components/chart/line-chart/core/types.d.ts +127 -0
  1695. package/dist/types/components/chart/line-chart/core/visual-regression/baseline.d.ts +4 -0
  1696. package/dist/types/components/chart/line-chart/core/visual-regression/dom-snapshot.d.ts +14 -0
  1697. package/dist/types/components/chart/line-chart/core/visual-regression/stream-frame-snapshot.d.ts +5 -0
  1698. package/dist/types/components/chart/line-chart/engines/standard/index.d.ts +1 -0
  1699. package/dist/types/components/chart/line-chart/engines/standard/line-chart-standard-renderer.d.ts +12 -0
  1700. package/dist/types/components/chart/line-chart/engines/standard/sy-line-chart-path.d.ts +49 -0
  1701. package/dist/types/components/chart/line-chart/index.d.ts +2 -0
  1702. package/dist/types/components/chart/line-chart/sy-line-chart.d.ts +509 -0
  1703. package/dist/types/components/chart/lollipop-chart/core/lollipop-animator.d.ts +27 -0
  1704. package/dist/types/components/chart/lollipop-chart/core/lollipop-chart-core.d.ts +10 -0
  1705. package/dist/types/components/chart/lollipop-chart/core/lollipop-geometry.d.ts +37 -0
  1706. package/dist/types/components/chart/lollipop-chart/core/lollipop-stream-source-runtime.d.ts +2 -0
  1707. package/dist/types/components/chart/lollipop-chart/core/lollipop-stream-source.d.ts +34 -0
  1708. package/dist/types/components/chart/lollipop-chart/core/types.d.ts +20 -0
  1709. package/dist/types/components/chart/lollipop-chart/engines/standard/index.d.ts +2 -0
  1710. package/dist/types/components/chart/lollipop-chart/index.d.ts +3 -0
  1711. package/dist/types/components/chart/lollipop-chart/sy-lollipop-chart.d.ts +194 -0
  1712. package/dist/types/components/chart/marimekko-chart/core/marimekko-animator.d.ts +27 -0
  1713. package/dist/types/components/chart/marimekko-chart/core/marimekko-chart-core.d.ts +10 -0
  1714. package/dist/types/components/chart/marimekko-chart/core/marimekko-geometry.d.ts +41 -0
  1715. package/dist/types/components/chart/marimekko-chart/core/marimekko-stream-source-runtime.d.ts +2 -0
  1716. package/dist/types/components/chart/marimekko-chart/core/marimekko-stream-source.d.ts +34 -0
  1717. package/dist/types/components/chart/marimekko-chart/core/types.d.ts +32 -0
  1718. package/dist/types/components/chart/marimekko-chart/engines/standard/index.d.ts +2 -0
  1719. package/dist/types/components/chart/marimekko-chart/index.d.ts +3 -0
  1720. package/dist/types/components/chart/marimekko-chart/sy-marimekko-chart.d.ts +224 -0
  1721. package/dist/types/components/chart/navigator/core/navigator-preview.d.ts +42 -0
  1722. package/dist/types/components/chart/navigator/sy-navigator.d.ts +51 -0
  1723. package/dist/types/components/chart/pareto-chart/core/pareto-animator.d.ts +27 -0
  1724. package/dist/types/components/chart/pareto-chart/core/pareto-chart-core.d.ts +10 -0
  1725. package/dist/types/components/chart/pareto-chart/core/pareto-geometry.d.ts +37 -0
  1726. package/dist/types/components/chart/pareto-chart/core/pareto-stream-source-runtime.d.ts +2 -0
  1727. package/dist/types/components/chart/pareto-chart/core/pareto-stream-source.d.ts +34 -0
  1728. package/dist/types/components/chart/pareto-chart/core/types.d.ts +28 -0
  1729. package/dist/types/components/chart/pareto-chart/engines/standard/index.d.ts +2 -0
  1730. package/dist/types/components/chart/pareto-chart/index.d.ts +3 -0
  1731. package/dist/types/components/chart/pareto-chart/sy-pareto-chart.d.ts +218 -0
  1732. package/dist/types/components/chart/pictorial-chart/core/path-bounds.d.ts +9 -0
  1733. package/dist/types/components/chart/pictorial-chart/core/pictorial-animator.d.ts +27 -0
  1734. package/dist/types/components/chart/pictorial-chart/core/pictorial-chart-core.d.ts +10 -0
  1735. package/dist/types/components/chart/pictorial-chart/core/pictorial-geometry.d.ts +36 -0
  1736. package/dist/types/components/chart/pictorial-chart/core/pictorial-stream-source-runtime.d.ts +2 -0
  1737. package/dist/types/components/chart/pictorial-chart/core/pictorial-stream-source.d.ts +34 -0
  1738. package/dist/types/components/chart/pictorial-chart/core/types.d.ts +21 -0
  1739. package/dist/types/components/chart/pictorial-chart/engines/standard/index.d.ts +3 -0
  1740. package/dist/types/components/chart/pictorial-chart/index.d.ts +4 -0
  1741. package/dist/types/components/chart/pictorial-chart/sy-pictorial-chart.d.ts +232 -0
  1742. package/dist/types/components/chart/pie-chart/core/pie-animator.d.ts +36 -0
  1743. package/dist/types/components/chart/pie-chart/core/pie-chart-core.d.ts +12 -0
  1744. package/dist/types/components/chart/pie-chart/core/pie-flip.d.ts +21 -0
  1745. package/dist/types/components/chart/pie-chart/core/pie-geometry.d.ts +44 -0
  1746. package/dist/types/components/chart/pie-chart/core/pie-labels.d.ts +40 -0
  1747. package/dist/types/components/chart/pie-chart/core/pie-leader-lines.d.ts +15 -0
  1748. package/dist/types/components/chart/pie-chart/core/pie-stream-source-runtime.d.ts +2 -0
  1749. package/dist/types/components/chart/pie-chart/core/pie-stream-source.d.ts +28 -0
  1750. package/dist/types/components/chart/pie-chart/core/pie-tooltip.d.ts +66 -0
  1751. package/dist/types/components/chart/pie-chart/core/types.d.ts +142 -0
  1752. package/dist/types/components/chart/pie-chart/engines/standard/index.d.ts +27 -0
  1753. package/dist/types/components/chart/pie-chart/index.d.ts +10 -0
  1754. package/dist/types/components/chart/pie-chart/license/chart-streaming-gate.d.ts +77 -0
  1755. package/dist/types/components/chart/pie-chart/license/standard-engine-status.d.ts +9 -0
  1756. package/dist/types/components/chart/pie-chart/sy-pie-chart.d.ts +278 -0
  1757. package/dist/types/components/chart/polar-chart/core/polar-chart-core.d.ts +19 -0
  1758. package/dist/types/components/chart/polar-chart/core/polar-geometry.d.ts +45 -0
  1759. package/dist/types/components/chart/polar-chart/core/polar-pro-records.d.ts +55 -0
  1760. package/dist/types/components/chart/polar-chart/core/polar-pro-renderer-loader.d.ts +3 -0
  1761. package/dist/types/components/chart/polar-chart/core/polar-sector-bounds.d.ts +8 -0
  1762. package/dist/types/components/chart/polar-chart/core/polar-stream-source-runtime.d.ts +2 -0
  1763. package/dist/types/components/chart/polar-chart/core/polar-stream-source.d.ts +32 -0
  1764. package/dist/types/components/chart/polar-chart/core/polar-tooltip.d.ts +68 -0
  1765. package/dist/types/components/chart/polar-chart/core/types.d.ts +141 -0
  1766. package/dist/types/components/chart/polar-chart/engines/standard/index.d.ts +64 -0
  1767. package/dist/types/components/chart/polar-chart/index.d.ts +9 -0
  1768. package/dist/types/components/chart/polar-chart/sy-polar-chart.d.ts +319 -0
  1769. package/dist/types/components/chart/radar-chart/core/radar-animator.d.ts +27 -0
  1770. package/dist/types/components/chart/radar-chart/core/radar-chart-core.d.ts +10 -0
  1771. package/dist/types/components/chart/radar-chart/core/radar-crosshair.d.ts +29 -0
  1772. package/dist/types/components/chart/radar-chart/core/radar-geometry.d.ts +67 -0
  1773. package/dist/types/components/chart/radar-chart/core/radar-stream-source-runtime.d.ts +2 -0
  1774. package/dist/types/components/chart/radar-chart/core/radar-stream-source.d.ts +29 -0
  1775. package/dist/types/components/chart/radar-chart/core/radar-tooltip.d.ts +57 -0
  1776. package/dist/types/components/chart/radar-chart/core/types.d.ts +104 -0
  1777. package/dist/types/components/chart/radar-chart/engines/standard/index.d.ts +84 -0
  1778. package/dist/types/components/chart/radar-chart/index.d.ts +8 -0
  1779. package/dist/types/components/chart/radar-chart/sy-radar-chart.d.ts +262 -0
  1780. package/dist/types/components/chart/scatter-chart/core/animation/easing.d.ts +2 -0
  1781. package/dist/types/components/chart/scatter-chart/core/animation/index.d.ts +2 -0
  1782. package/dist/types/components/chart/scatter-chart/core/animation/scatter-animator.d.ts +31 -0
  1783. package/dist/types/components/chart/scatter-chart/core/perf.d.ts +15 -0
  1784. package/dist/types/components/chart/scatter-chart/core/scatter-chart-core.d.ts +34 -0
  1785. package/dist/types/components/chart/scatter-chart/core/scatter-draw-signature.d.ts +16 -0
  1786. package/dist/types/components/chart/scatter-chart/core/scatter-pro-renderer-loader.d.ts +3 -0
  1787. package/dist/types/components/chart/scatter-chart/core/streaming/index.d.ts +1 -0
  1788. package/dist/types/components/chart/scatter-chart/core/streaming/scatter-stream-source-runtime.d.ts +2 -0
  1789. package/dist/types/components/chart/scatter-chart/core/streaming/scatter-stream-source.d.ts +28 -0
  1790. package/dist/types/components/chart/scatter-chart/core/types.d.ts +125 -0
  1791. package/dist/types/components/chart/scatter-chart/core/visual-map.d.ts +68 -0
  1792. package/dist/types/components/chart/scatter-chart/engines/standard/index.d.ts +2 -0
  1793. package/dist/types/components/chart/scatter-chart/engines/standard/scatter-chart-standard-renderer.d.ts +29 -0
  1794. package/dist/types/components/chart/scatter-chart/engines/standard/sy-scatter-chart-path.d.ts +30 -0
  1795. package/dist/types/components/chart/scatter-chart/index.d.ts +5 -0
  1796. package/dist/types/components/chart/scatter-chart/sy-scatter-chart.d.ts +438 -0
  1797. package/dist/types/components/chart/stem-leaf-chart/core/stem-leaf-core.d.ts +10 -0
  1798. package/dist/types/components/chart/stem-leaf-chart/core/stem-leaf-model.d.ts +36 -0
  1799. package/dist/types/components/chart/stem-leaf-chart/core/stem-leaf-stream-source-runtime.d.ts +2 -0
  1800. package/dist/types/components/chart/stem-leaf-chart/core/stem-leaf-stream-source.d.ts +32 -0
  1801. package/dist/types/components/chart/stem-leaf-chart/core/stem-leaf-tooltip.d.ts +65 -0
  1802. package/dist/types/components/chart/stem-leaf-chart/core/types.d.ts +39 -0
  1803. package/dist/types/components/chart/stem-leaf-chart/engines/standard/index.d.ts +33 -0
  1804. package/dist/types/components/chart/stem-leaf-chart/index.d.ts +7 -0
  1805. package/dist/types/components/chart/stem-leaf-chart/sy-stem-leaf-chart.d.ts +220 -0
  1806. package/dist/types/components/chart/sy-chart.d.ts +1552 -0
  1807. package/dist/types/components/chart/tilemap-chart/core/tilemap-core.d.ts +10 -0
  1808. package/dist/types/components/chart/tilemap-chart/core/tilemap-geometry.d.ts +44 -0
  1809. package/dist/types/components/chart/tilemap-chart/core/tilemap-legend.d.ts +32 -0
  1810. package/dist/types/components/chart/tilemap-chart/core/tilemap-stream-source-runtime.d.ts +2 -0
  1811. package/dist/types/components/chart/tilemap-chart/core/tilemap-stream-source.d.ts +28 -0
  1812. package/dist/types/components/chart/tilemap-chart/core/tilemap-tooltip.d.ts +67 -0
  1813. package/dist/types/components/chart/tilemap-chart/core/types.d.ts +80 -0
  1814. package/dist/types/components/chart/tilemap-chart/engines/standard/index.d.ts +40 -0
  1815. package/dist/types/components/chart/tilemap-chart/index.d.ts +7 -0
  1816. package/dist/types/components/chart/tilemap-chart/sy-tilemap.d.ts +266 -0
  1817. package/dist/types/components/chart/tornado-chart/core/tornado-animator.d.ts +27 -0
  1818. package/dist/types/components/chart/tornado-chart/core/tornado-chart-core.d.ts +10 -0
  1819. package/dist/types/components/chart/tornado-chart/core/tornado-geometry.d.ts +35 -0
  1820. package/dist/types/components/chart/tornado-chart/core/tornado-stream-source-runtime.d.ts +2 -0
  1821. package/dist/types/components/chart/tornado-chart/core/tornado-stream-source.d.ts +34 -0
  1822. package/dist/types/components/chart/tornado-chart/core/types.d.ts +28 -0
  1823. package/dist/types/components/chart/tornado-chart/engines/standard/index.d.ts +2 -0
  1824. package/dist/types/components/chart/tornado-chart/index.d.ts +3 -0
  1825. package/dist/types/components/chart/tornado-chart/sy-tornado-chart.d.ts +202 -0
  1826. package/dist/types/components/chart/variwide-chart/core/types.d.ts +27 -0
  1827. package/dist/types/components/chart/variwide-chart/core/variwide-animator.d.ts +27 -0
  1828. package/dist/types/components/chart/variwide-chart/core/variwide-chart-core.d.ts +10 -0
  1829. package/dist/types/components/chart/variwide-chart/core/variwide-geometry.d.ts +37 -0
  1830. package/dist/types/components/chart/variwide-chart/core/variwide-stream-source-runtime.d.ts +2 -0
  1831. package/dist/types/components/chart/variwide-chart/core/variwide-stream-source.d.ts +36 -0
  1832. package/dist/types/components/chart/variwide-chart/engines/standard/index.d.ts +2 -0
  1833. package/dist/types/components/chart/variwide-chart/index.d.ts +3 -0
  1834. package/dist/types/components/chart/variwide-chart/sy-variwide-chart.d.ts +207 -0
  1835. package/dist/types/components/chart/visual-map/sy-visual-map.d.ts +121 -0
  1836. package/dist/types/components/chart/wafer-map-chart/core/types.d.ts +56 -0
  1837. package/dist/types/components/chart/wafer-map-chart/core/wafer-animator.d.ts +30 -0
  1838. package/dist/types/components/chart/wafer-map-chart/core/wafer-bin.d.ts +24 -0
  1839. package/dist/types/components/chart/wafer-map-chart/core/wafer-correlation.d.ts +20 -0
  1840. package/dist/types/components/chart/wafer-map-chart/core/wafer-defect.d.ts +26 -0
  1841. package/dist/types/components/chart/wafer-map-chart/core/wafer-die-index.d.ts +30 -0
  1842. package/dist/types/components/chart/wafer-map-chart/core/wafer-geometry.d.ts +78 -0
  1843. package/dist/types/components/chart/wafer-map-chart/core/wafer-legend.d.ts +35 -0
  1844. package/dist/types/components/chart/wafer-map-chart/core/wafer-map-core.d.ts +10 -0
  1845. package/dist/types/components/chart/wafer-map-chart/core/wafer-render.d.ts +29 -0
  1846. package/dist/types/components/chart/wafer-map-chart/core/wafer-shot.d.ts +33 -0
  1847. package/dist/types/components/chart/wafer-map-chart/core/wafer-stack.d.ts +24 -0
  1848. package/dist/types/components/chart/wafer-map-chart/core/wafer-stream-source-runtime.d.ts +3 -0
  1849. package/dist/types/components/chart/wafer-map-chart/core/wafer-stream-source.d.ts +12 -0
  1850. package/dist/types/components/chart/wafer-map-chart/core/wafer-value.d.ts +35 -0
  1851. package/dist/types/components/chart/wafer-map-chart/core/wafer-yield-zone.d.ts +25 -0
  1852. package/dist/types/components/chart/wafer-map-chart/engines/standard/index.d.ts +40 -0
  1853. package/dist/types/components/chart/wafer-map-chart/index.d.ts +17 -0
  1854. package/dist/types/components/chart/wafer-map-chart/sy-wafer-correlation.d.ts +41 -0
  1855. package/dist/types/components/chart/wafer-map-chart/sy-wafer-map.d.ts +302 -0
  1856. package/dist/types/components/chart/wafer-map-chart/sy-wafer-stack.d.ts +37 -0
  1857. package/dist/types/components/chart/wafer-map-chart/sy-yield-zone-chart.d.ts +33 -0
  1858. package/dist/types/components/chart/word-cloud-chart/core/types.d.ts +87 -0
  1859. package/dist/types/components/chart/word-cloud-chart/core/word-cloud-core.d.ts +10 -0
  1860. package/dist/types/components/chart/word-cloud-chart/core/word-layout.d.ts +39 -0
  1861. package/dist/types/components/chart/word-cloud-chart/core/word-measure.d.ts +6 -0
  1862. package/dist/types/components/chart/word-cloud-chart/core/word-stream-source-runtime.d.ts +2 -0
  1863. package/dist/types/components/chart/word-cloud-chart/core/word-stream-source.d.ts +35 -0
  1864. package/dist/types/components/chart/word-cloud-chart/core/word-tooltip.d.ts +67 -0
  1865. package/dist/types/components/chart/word-cloud-chart/engines/standard/index.d.ts +53 -0
  1866. package/dist/types/components/chart/word-cloud-chart/index.d.ts +8 -0
  1867. package/dist/types/components/chart/word-cloud-chart/sy-word-cloud.d.ts +249 -0
  1868. package/dist/types/components/dynamic-source.d.ts +7 -0
  1869. package/dist/types/components/grid/core/a11y/aria-grid.d.ts +57 -0
  1870. package/dist/types/components/grid/core/a11y/audit-checklist.d.ts +48 -0
  1871. package/dist/types/components/grid/core/a11y/contrast.d.ts +13 -0
  1872. package/dist/types/components/grid/core/a11y/screen-reader-transcript.d.ts +53 -0
  1873. package/dist/types/components/grid/core/a11y/snapshot.d.ts +58 -0
  1874. package/dist/types/components/grid/core/api/base-types.d.ts +15 -0
  1875. package/dist/types/components/grid/core/api/contracts.d.ts +2104 -0
  1876. package/dist/types/components/grid/core/api/index.d.ts +3 -0
  1877. package/dist/types/components/grid/core/api/live-object-model.d.ts +186 -0
  1878. package/dist/types/components/grid/core/audit/audit-export.d.ts +29 -0
  1879. package/dist/types/components/grid/core/audit/audit-log.d.ts +70 -0
  1880. package/dist/types/components/grid/core/brand/grid-brand.d.ts +12 -0
  1881. package/dist/types/components/grid/core/build-tier.d.ts +3 -0
  1882. package/dist/types/components/grid/core/cell/cell-class-rules.d.ts +57 -0
  1883. package/dist/types/components/grid/core/cell/cell-style.d.ts +36 -0
  1884. package/dist/types/components/grid/core/cell/expression-runtime.d.ts +29 -0
  1885. package/dist/types/components/grid/core/cell/index.d.ts +5 -0
  1886. package/dist/types/components/grid/core/cell/renderer-registry.d.ts +55 -0
  1887. package/dist/types/components/grid/core/cell/value-formatter.d.ts +42 -0
  1888. package/dist/types/components/grid/core/cell/value-getter.d.ts +59 -0
  1889. package/dist/types/components/grid/core/cell-cycle.d.ts +19 -0
  1890. package/dist/types/components/grid/core/cell-flash/cell-flash.d.ts +4 -0
  1891. package/dist/types/components/grid/core/cell-tooltip/hover-delay.d.ts +15 -0
  1892. package/dist/types/components/grid/core/cell-tooltip/index.d.ts +2 -0
  1893. package/dist/types/components/grid/core/cell-tooltip/tooltip-text.d.ts +16 -0
  1894. package/dist/types/components/grid/core/chart-link/chart-bridge-types-probe.d.ts +12 -0
  1895. package/dist/types/components/grid/core/chart-link/chart-bridge.d.ts +79 -0
  1896. package/dist/types/components/grid/core/chart-link/chart-cross-filter.d.ts +99 -0
  1897. package/dist/types/components/grid/core/chart-link/chart-events.d.ts +245 -0
  1898. package/dist/types/components/grid/core/chart-link/chart-instances.d.ts +217 -0
  1899. package/dist/types/components/grid/core/chart-link/chart-link-chunk.d.ts +185 -0
  1900. package/dist/types/components/grid/core/chart-link/chart-menu.d.ts +154 -0
  1901. package/dist/types/components/grid/core/chart-link/chart-model.d.ts +176 -0
  1902. package/dist/types/components/grid/core/chart-link/chart-multi.d.ts +178 -0
  1903. package/dist/types/components/grid/core/chart-link/chart-pivot.d.ts +152 -0
  1904. package/dist/types/components/grid/core/chart-link/chart-sync.d.ts +157 -0
  1905. package/dist/types/components/grid/core/clipboard/parse.d.ts +2 -0
  1906. package/dist/types/components/grid/core/clipboard/paste-plan.d.ts +25 -0
  1907. package/dist/types/components/grid/core/clipboard/serialize.d.ts +12 -0
  1908. package/dist/types/components/grid/core/collab-css.d.ts +2 -0
  1909. package/dist/types/components/grid/core/collab-loader.d.ts +10 -0
  1910. package/dist/types/components/grid/core/collab-mentions.d.ts +8 -0
  1911. package/dist/types/components/grid/core/collab-types.d.ts +157 -0
  1912. package/dist/types/components/grid/core/column/column-auto-size.d.ts +20 -0
  1913. package/dist/types/components/grid/core/column/column-groups.d.ts +24 -0
  1914. package/dist/types/components/grid/core/column/column-pin.d.ts +15 -0
  1915. package/dist/types/components/grid/core/column/column-reorder.d.ts +66 -0
  1916. package/dist/types/components/grid/core/column/column-resize.d.ts +75 -0
  1917. package/dist/types/components/grid/core/column/column-sort.d.ts +20 -0
  1918. package/dist/types/components/grid/core/column/column-state.d.ts +44 -0
  1919. package/dist/types/components/grid/core/column/column-visibility.d.ts +28 -0
  1920. package/dist/types/components/grid/core/column/index.d.ts +6 -0
  1921. package/dist/types/components/grid/core/component/async-value-source.d.ts +38 -0
  1922. package/dist/types/components/grid/core/component/component-runtime-chunk.d.ts +34 -0
  1923. package/dist/types/components/grid/core/component/contracts.d.ts +189 -0
  1924. package/dist/types/components/grid/core/component/editor-adapter.d.ts +101 -0
  1925. package/dist/types/components/grid/core/component/editor-facade-controller.d.ts +172 -0
  1926. package/dist/types/components/grid/core/component/editor-validation-presentation.d.ts +6 -0
  1927. package/dist/types/components/grid/core/component/filter-adapter.d.ts +107 -0
  1928. package/dist/types/components/grid/core/component/filter-facade-controller.d.ts +118 -0
  1929. package/dist/types/components/grid/core/component/framework-bridge.d.ts +17 -0
  1930. package/dist/types/components/grid/core/component/index.d.ts +12 -0
  1931. package/dist/types/components/grid/core/component/popup-placement.d.ts +29 -0
  1932. package/dist/types/components/grid/core/component/registry.d.ts +39 -0
  1933. package/dist/types/components/grid/core/component/renderer-adapter.d.ts +17 -0
  1934. package/dist/types/components/grid/core/component/renderer-controller.d.ts +88 -0
  1935. package/dist/types/components/grid/core/component/rich-select-editor.d.ts +16 -0
  1936. package/dist/types/components/grid/core/component/runtime.d.ts +90 -0
  1937. package/dist/types/components/grid/core/conditional-format/cf-builder-chunk.d.ts +19 -0
  1938. package/dist/types/components/grid/core/conditional-format/cf-builder.d.ts +23 -0
  1939. package/dist/types/components/grid/core/conditional-format/conditional-format.d.ts +32 -0
  1940. package/dist/types/components/grid/core/context-menu/clipboard.d.ts +9 -0
  1941. package/dist/types/components/grid/core/context-menu/index.d.ts +3 -0
  1942. package/dist/types/components/grid/core/context-menu/menu.d.ts +6 -0
  1943. package/dist/types/components/grid/core/context-menu/types.d.ts +22 -0
  1944. package/dist/types/components/grid/core/edit/autocomplete-editor.d.ts +21 -0
  1945. package/dist/types/components/grid/core/edit/batch-edit.d.ts +237 -0
  1946. package/dist/types/components/grid/core/edit/checkbox-editor-render.d.ts +27 -0
  1947. package/dist/types/components/grid/core/edit/checkbox-editor.d.ts +10 -0
  1948. package/dist/types/components/grid/core/edit/date-editor-render.d.ts +35 -0
  1949. package/dist/types/components/grid/core/edit/date-editor.d.ts +26 -0
  1950. package/dist/types/components/grid/core/edit/date-picker.d.ts +27 -0
  1951. package/dist/types/components/grid/core/edit/index.d.ts +2 -0
  1952. package/dist/types/components/grid/core/edit/large-text-editor.d.ts +20 -0
  1953. package/dist/types/components/grid/core/edit/number-editor-render.d.ts +37 -0
  1954. package/dist/types/components/grid/core/edit/number-editor.d.ts +27 -0
  1955. package/dist/types/components/grid/core/edit/prospective-edit.d.ts +42 -0
  1956. package/dist/types/components/grid/core/edit/row-edit.d.ts +303 -0
  1957. package/dist/types/components/grid/core/edit/select-editor-render.d.ts +60 -0
  1958. package/dist/types/components/grid/core/edit/select-editor.d.ts +19 -0
  1959. package/dist/types/components/grid/core/edit/text-editor-render.d.ts +31 -0
  1960. package/dist/types/components/grid/core/edit/text-editor.d.ts +13 -0
  1961. package/dist/types/components/grid/core/edit/textarea-editor-render.d.ts +35 -0
  1962. package/dist/types/components/grid/core/edit/textarea-editor.d.ts +19 -0
  1963. package/dist/types/components/grid/core/edit/transaction-api.d.ts +41 -0
  1964. package/dist/types/components/grid/core/edit/transaction.d.ts +39 -0
  1965. package/dist/types/components/grid/core/edit/undo-redo.d.ts +55 -0
  1966. package/dist/types/components/grid/core/empty-state-cycle.d.ts +8 -0
  1967. package/dist/types/components/grid/core/event/index.d.ts +1 -0
  1968. package/dist/types/components/grid/core/event/row-click.d.ts +34 -0
  1969. package/dist/types/components/grid/core/export/csv.d.ts +30 -0
  1970. package/dist/types/components/grid/core/export/grid-pdf-export.d.ts +41 -0
  1971. package/dist/types/components/grid/core/export/index.d.ts +3 -0
  1972. package/dist/types/components/grid/core/filter/advanced-query.d.ts +1 -0
  1973. package/dist/types/components/grid/core/filter/condition-builder.d.ts +21 -0
  1974. package/dist/types/components/grid/core/filter/date.d.ts +13 -0
  1975. package/dist/types/components/grid/core/filter/filter-ui-types.d.ts +35 -0
  1976. package/dist/types/components/grid/core/filter/multi.d.ts +22 -0
  1977. package/dist/types/components/grid/core/filter/number.d.ts +11 -0
  1978. package/dist/types/components/grid/core/filter/quick-filter.d.ts +11 -0
  1979. package/dist/types/components/grid/core/filter/set.d.ts +24 -0
  1980. package/dist/types/components/grid/core/filter/text.d.ts +10 -0
  1981. package/dist/types/components/grid/core/filter-cycle.d.ts +32 -0
  1982. package/dist/types/components/grid/core/floating/index.d.ts +1 -0
  1983. package/dist/types/components/grid/core/floating/positioning.d.ts +24 -0
  1984. package/dist/types/components/grid/core/formula/workbook-binding.d.ts +54 -0
  1985. package/dist/types/components/grid/core/formula/workbook-reference.d.ts +37 -0
  1986. package/dist/types/components/grid/core/formula/workbook-registry.d.ts +86 -0
  1987. package/dist/types/components/grid/core/formula-acceleration-loader.d.ts +12 -0
  1988. package/dist/types/components/grid/core/formula-text.d.ts +1 -0
  1989. package/dist/types/components/grid/core/grid-core.d.ts +20 -0
  1990. package/dist/types/components/grid/core/grouping/display-types.d.ts +165 -0
  1991. package/dist/types/components/grid/core/grouping/group-selection.d.ts +165 -0
  1992. package/dist/types/components/grid/core/hover/row.d.ts +8 -0
  1993. package/dist/types/components/grid/core/import/csv/index.d.ts +1 -0
  1994. package/dist/types/components/grid/core/import/csv/parse-csv.d.ts +30 -0
  1995. package/dist/types/components/grid/core/import/xlsx/cell-ref.d.ts +11 -0
  1996. package/dist/types/components/grid/core/import/xlsx/errors.d.ts +9 -0
  1997. package/dist/types/components/grid/core/import/xlsx/formula.d.ts +4 -0
  1998. package/dist/types/components/grid/core/import/xlsx/grid-import-chunk.d.ts +3 -0
  1999. package/dist/types/components/grid/core/import/xlsx/index.d.ts +26 -0
  2000. package/dist/types/components/grid/core/import/xlsx/inflate.d.ts +2 -0
  2001. package/dist/types/components/grid/core/import/xlsx/merged-cells.d.ts +9 -0
  2002. package/dist/types/components/grid/core/import/xlsx/number-format.d.ts +16 -0
  2003. package/dist/types/components/grid/core/import/xlsx/parse-xlsx.d.ts +34 -0
  2004. package/dist/types/components/grid/core/import/xlsx/pick-sheet.d.ts +2 -0
  2005. package/dist/types/components/grid/core/import/xlsx/shared-strings.d.ts +2 -0
  2006. package/dist/types/components/grid/core/import/xlsx/sheet-streaming.d.ts +11 -0
  2007. package/dist/types/components/grid/core/import/xlsx/sheet.d.ts +31 -0
  2008. package/dist/types/components/grid/core/import/xlsx/styles.d.ts +21 -0
  2009. package/dist/types/components/grid/core/import/xlsx/workbook.d.ts +22 -0
  2010. package/dist/types/components/grid/core/import/xlsx/xml-parser.d.ts +15 -0
  2011. package/dist/types/components/grid/core/import/xlsx/zip-reader.d.ts +28 -0
  2012. package/dist/types/components/grid/core/license/grid-acceleration-port.d.ts +13 -0
  2013. package/dist/types/components/grid/core/license/grid-feature.d.ts +40 -0
  2014. package/dist/types/components/grid/core/license/grid-license-facade.d.ts +50 -0
  2015. package/dist/types/components/grid/core/license/grid-license-runtime.d.ts +2 -0
  2016. package/dist/types/components/grid/core/license/grid-license-session.d.ts +85 -0
  2017. package/dist/types/components/grid/core/license/grid-license.d.ts +40 -0
  2018. package/dist/types/components/grid/core/license/grid-method-route.d.ts +7 -0
  2019. package/dist/types/components/grid/core/license/grid-method-table.d.ts +7 -0
  2020. package/dist/types/components/grid/core/loader/chunk-contract.d.ts +95 -0
  2021. package/dist/types/components/grid/core/loader/chunk-loader.d.ts +62 -0
  2022. package/dist/types/components/grid/core/loading-cycle.d.ts +14 -0
  2023. package/dist/types/components/grid/core/locale/messages.d.ts +13 -0
  2024. package/dist/types/components/grid/core/locale/presets.d.ts +8 -0
  2025. package/dist/types/components/grid/core/locale/resolve.d.ts +12 -0
  2026. package/dist/types/components/grid/core/notes/cell-notes.d.ts +47 -0
  2027. package/dist/types/components/grid/core/numeric/safe-numeric.d.ts +10 -0
  2028. package/dist/types/components/grid/core/pagination-cycle.d.ts +15 -0
  2029. package/dist/types/components/grid/core/pipeline/aggregate.d.ts +30 -0
  2030. package/dist/types/components/grid/core/pipeline/comparator-default.d.ts +1 -0
  2031. package/dist/types/components/grid/core/pipeline/engine-rows-memo.d.ts +10 -0
  2032. package/dist/types/components/grid/core/pipeline/filter.d.ts +9 -0
  2033. package/dist/types/components/grid/core/pipeline/group.d.ts +32 -0
  2034. package/dist/types/components/grid/core/pipeline/index.d.ts +25 -0
  2035. package/dist/types/components/grid/core/pipeline/master-detail.d.ts +7 -0
  2036. package/dist/types/components/grid/core/pipeline/multi-group.d.ts +22 -0
  2037. package/dist/types/components/grid/core/pipeline/paginate.d.ts +12 -0
  2038. package/dist/types/components/grid/core/pipeline/pipeline.d.ts +3 -0
  2039. package/dist/types/components/grid/core/pipeline/pivot-columns.d.ts +15 -0
  2040. package/dist/types/components/grid/core/pipeline/pivot-panel.d.ts +135 -0
  2041. package/dist/types/components/grid/core/pipeline/pivot.d.ts +52 -0
  2042. package/dist/types/components/grid/core/pipeline/sort.d.ts +10 -0
  2043. package/dist/types/components/grid/core/pipeline/tree.d.ts +32 -0
  2044. package/dist/types/components/grid/core/pipeline/types.d.ts +11 -0
  2045. package/dist/types/components/grid/core/pivot/combination-warnings.d.ts +4 -0
  2046. package/dist/types/components/grid/core/pivot/secondary-columns.d.ts +153 -0
  2047. package/dist/types/components/grid/core/pro-chunk-sources.d.ts +4 -0
  2048. package/dist/types/components/grid/core/pro-engine-loader.d.ts +4 -0
  2049. package/dist/types/components/grid/core/pro-gate/engine-precedence.d.ts +16 -0
  2050. package/dist/types/components/grid/core/pro-gate/grid-chunk-backstop.d.ts +5 -0
  2051. package/dist/types/components/grid/core/pro-gate/grid-chunk-features.d.ts +2 -0
  2052. package/dist/types/components/grid/core/pro-gate/grid-clipboard-policy.d.ts +8 -0
  2053. package/dist/types/components/grid/core/pro-gate/grid-declarations.d.ts +25 -0
  2054. package/dist/types/components/grid/core/pro-gate/grid-engine-license.d.ts +23 -0
  2055. package/dist/types/components/grid/core/pro-gate/grid-formula-freeze.d.ts +15 -0
  2056. package/dist/types/components/grid/core/pro-gate/grid-freeze-work.d.ts +38 -0
  2057. package/dist/types/components/grid/core/pro-gate/grid-pro-gate.d.ts +51 -0
  2058. package/dist/types/components/grid/core/pro-gate/grid-state-requirements.d.ts +21 -0
  2059. package/dist/types/components/grid/core/pro-panels/column-menu.d.ts +38 -0
  2060. package/dist/types/components/grid/core/rbac/cell-access.d.ts +12 -0
  2061. package/dist/types/components/grid/core/row-drag/drag-safety.d.ts +268 -0
  2062. package/dist/types/components/grid/core/row-drag/drop-zones.d.ts +266 -0
  2063. package/dist/types/components/grid/core/row-drag/reorder.d.ts +12 -0
  2064. package/dist/types/components/grid/core/row-drag/reparent-facade.d.ts +64 -0
  2065. package/dist/types/components/grid/core/row-drag/row-drag-chunk.d.ts +5 -0
  2066. package/dist/types/components/grid/core/row-drag/row-drag-facade.d.ts +293 -0
  2067. package/dist/types/components/grid/core/row-drag/unmanaged-drag.d.ts +262 -0
  2068. package/dist/types/components/grid/core/row-layout/aligned-grids-facade.d.ts +61 -0
  2069. package/dist/types/components/grid/core/row-layout/aligned-grids.d.ts +154 -0
  2070. package/dist/types/components/grid/core/row-layout/col-span.d.ts +147 -0
  2071. package/dist/types/components/grid/core/row-layout/full-width-facade.d.ts +63 -0
  2072. package/dist/types/components/grid/core/row-layout/full-width-rows.d.ts +261 -0
  2073. package/dist/types/components/grid/core/row-layout/pinned-row-policy.d.ts +142 -0
  2074. package/dist/types/components/grid/core/row-layout/pinned-rows-facade.d.ts +72 -0
  2075. package/dist/types/components/grid/core/row-layout/pinned-rows.d.ts +116 -0
  2076. package/dist/types/components/grid/core/row-layout/row-layout-chunk.d.ts +11 -0
  2077. package/dist/types/components/grid/core/row-layout/row-layout-facade.d.ts +143 -0
  2078. package/dist/types/components/grid/core/row-layout/row-span.d.ts +102 -0
  2079. package/dist/types/components/grid/core/row-layout/span-interaction.d.ts +140 -0
  2080. package/dist/types/components/grid/core/row-markers.d.ts +19 -0
  2081. package/dist/types/components/grid/core/row-model/block-cache.d.ts +46 -0
  2082. package/dist/types/components/grid/core/row-model/client-side.d.ts +10 -0
  2083. package/dist/types/components/grid/core/row-model/datasource.d.ts +16 -0
  2084. package/dist/types/components/grid/core/row-model/index.d.ts +1 -0
  2085. package/dist/types/components/grid/core/row-model/infinite.d.ts +1 -0
  2086. package/dist/types/components/grid/core/row-model/placeholder-row.d.ts +9 -0
  2087. package/dist/types/components/grid/core/row-model/server-datasource-lifecycle.d.ts +80 -0
  2088. package/dist/types/components/grid/core/row-model/server-group-selection.d.ts +123 -0
  2089. package/dist/types/components/grid/core/row-model/server-pivot-results.d.ts +234 -0
  2090. package/dist/types/components/grid/core/row-model/server-refresh.d.ts +63 -0
  2091. package/dist/types/components/grid/core/row-model/server-selection.d.ts +76 -0
  2092. package/dist/types/components/grid/core/row-model/server-side-retry.d.ts +37 -0
  2093. package/dist/types/components/grid/core/row-model/server-side.d.ts +109 -0
  2094. package/dist/types/components/grid/core/row-model/server-store-events.d.ts +160 -0
  2095. package/dist/types/components/grid/core/row-model/server-store-inspection.d.ts +80 -0
  2096. package/dist/types/components/grid/core/row-model/server-store-routes.d.ts +142 -0
  2097. package/dist/types/components/grid/core/row-model/server-transaction-queue.d.ts +96 -0
  2098. package/dist/types/components/grid/core/row-model/server-transactions.d.ts +29 -0
  2099. package/dist/types/components/grid/core/row-model/ssrm-ops-chunk.d.ts +93 -0
  2100. package/dist/types/components/grid/core/row-model/ssrm-selection-facade.d.ts +49 -0
  2101. package/dist/types/components/grid/core/row-model/ssrm-selection.d.ts +107 -0
  2102. package/dist/types/components/grid/core/row-model/viewport-adapters.d.ts +45 -0
  2103. package/dist/types/components/grid/core/row-model/viewport.d.ts +37 -0
  2104. package/dist/types/components/grid/core/selection/canonical-ranges.d.ts +59 -0
  2105. package/dist/types/components/grid/core/selection/checkbox-column.d.ts +28 -0
  2106. package/dist/types/components/grid/core/selection/fill-gestures.d.ts +26 -0
  2107. package/dist/types/components/grid/core/selection/fill-handle.d.ts +78 -0
  2108. package/dist/types/components/grid/core/selection/fill-series.d.ts +57 -0
  2109. package/dist/types/components/grid/core/selection/fill-transaction.d.ts +111 -0
  2110. package/dist/types/components/grid/core/selection/fill-values.d.ts +29 -0
  2111. package/dist/types/components/grid/core/selection/range-bounds.d.ts +2 -0
  2112. package/dist/types/components/grid/core/selection/range.d.ts +32 -0
  2113. package/dist/types/components/grid/core/selection/row.d.ts +31 -0
  2114. package/dist/types/components/grid/core/side-bar/side-bar.d.ts +12 -0
  2115. package/dist/types/components/grid/core/snapshot/snapshot-diff.d.ts +21 -0
  2116. package/dist/types/components/grid/core/snapshot/snapshot.d.ts +24 -0
  2117. package/dist/types/components/grid/core/sort-cycle.d.ts +13 -0
  2118. package/dist/types/components/grid/core/sort-model.d.ts +15 -0
  2119. package/dist/types/components/grid/core/spreadsheet-text.d.ts +7 -0
  2120. package/dist/types/components/grid/core/state/canonical.d.ts +9 -0
  2121. package/dist/types/components/grid/core/state/contracts.d.ts +42 -0
  2122. package/dist/types/components/grid/core/state/filter-handlers.d.ts +34 -0
  2123. package/dist/types/components/grid/core/state/find-state.d.ts +11 -0
  2124. package/dist/types/components/grid/core/state/grid-state.d.ts +61 -0
  2125. package/dist/types/components/grid/core/state/migrate.d.ts +21 -0
  2126. package/dist/types/components/grid/core/state/ownership.d.ts +2 -0
  2127. package/dist/types/components/grid/core/state/persistence.d.ts +21 -0
  2128. package/dist/types/components/grid/core/state/slices/columns.d.ts +55 -0
  2129. package/dist/types/components/grid/core/state/slices/filter.d.ts +45 -0
  2130. package/dist/types/components/grid/core/state/slices/rows.d.ts +73 -0
  2131. package/dist/types/components/grid/core/state/slices/ui.d.ts +77 -0
  2132. package/dist/types/components/grid/core/state/state-events.d.ts +50 -0
  2133. package/dist/types/components/grid/core/state/validate.d.ts +9 -0
  2134. package/dist/types/components/grid/core/status-bar/status-bar.d.ts +18 -0
  2135. package/dist/types/components/grid/core/status-bar/status-panels.d.ts +11 -0
  2136. package/dist/types/components/grid/core/sync/array.d.ts +44 -0
  2137. package/dist/types/components/grid/core/sync/clock.d.ts +32 -0
  2138. package/dist/types/components/grid/core/sync/collab-bridge.d.ts +28 -0
  2139. package/dist/types/components/grid/core/sync/doc.d.ts +35 -0
  2140. package/dist/types/components/grid/core/sync/id.d.ts +11 -0
  2141. package/dist/types/components/grid/core/sync/map.d.ts +33 -0
  2142. package/dist/types/components/grid/core/sync/text.d.ts +11 -0
  2143. package/dist/types/components/grid/core/sync/undo-manager.d.ts +23 -0
  2144. package/dist/types/components/grid/core/theme/apply.d.ts +12 -0
  2145. package/dist/types/components/grid/core/theme/presets.d.ts +9 -0
  2146. package/dist/types/components/grid/core/theme/tokens.d.ts +13 -0
  2147. package/dist/types/components/grid/core/tree/reparent.d.ts +159 -0
  2148. package/dist/types/components/grid/core/tree/tree-data-chunk.d.ts +4 -0
  2149. package/dist/types/components/grid/core/tree/tree-data.d.ts +19 -0
  2150. package/dist/types/components/grid/core/types.d.ts +247 -0
  2151. package/dist/types/components/grid/core/utils/structural.d.ts +2 -0
  2152. package/dist/types/components/grid/core/validation/validation.d.ts +24 -0
  2153. package/dist/types/components/grid/core/virtualizer/cell-virtualizer.d.ts +1 -0
  2154. package/dist/types/components/grid/core/virtualizer/column-virtualizer.d.ts +14 -0
  2155. package/dist/types/components/grid/core/virtualizer/index.d.ts +1 -0
  2156. package/dist/types/components/grid/core/virtualizer/row-virtualizer.d.ts +52 -0
  2157. package/dist/types/components/grid/core/visual-regression/baseline.d.ts +2 -0
  2158. package/dist/types/components/grid/core/visual-regression/dom-snapshot.d.ts +14 -0
  2159. package/dist/types/components/grid/core/visual-regression/real-dom-canonicalise.d.ts +1 -0
  2160. package/dist/types/components/grid/core/vnode-factory.d.ts +1 -0
  2161. package/dist/types/components/grid/engines/standard/index.d.ts +1 -0
  2162. package/dist/types/components/grid/engines/standard/sy-grid-standard.d.ts +24 -0
  2163. package/dist/types/components/grid/index.d.ts +21 -0
  2164. package/dist/types/components/grid/sy-grid.d.ts +2136 -0
  2165. package/dist/types/components.d.ts +10597 -0
  2166. package/dist/types/index.d.ts +7 -0
  2167. package/dist/types/license/base64url.d.ts +3 -0
  2168. package/dist/types/license/certificate.d.ts +48 -0
  2169. package/dist/types/license/constants.d.ts +38 -0
  2170. package/dist/types/license/context.d.ts +6 -0
  2171. package/dist/types/license/deployment.d.ts +9 -0
  2172. package/dist/types/license/diagnostic-constants.d.ts +7 -0
  2173. package/dist/types/license/discovery.d.ts +10 -0
  2174. package/dist/types/license/errors.d.ts +47 -0
  2175. package/dist/types/license/evaluate.d.ts +19 -0
  2176. package/dist/types/license/failure.d.ts +11 -0
  2177. package/dist/types/license/fetch-license.d.ts +12 -0
  2178. package/dist/types/license/generated/chart-features.generated.d.ts +2244 -0
  2179. package/dist/types/license/generated/core-features.generated.d.ts +349 -0
  2180. package/dist/types/license/generated/feature-map.generated.d.ts +4 -0
  2181. package/dist/types/license/generated/grid-features.generated.d.ts +3681 -0
  2182. package/dist/types/license/generated/products.generated.d.ts +26 -0
  2183. package/dist/types/license/index.d.ts +15 -0
  2184. package/dist/types/license/json.d.ts +4 -0
  2185. package/dist/types/license/jws.d.ts +9 -0
  2186. package/dist/types/license/registry.d.ts +37 -0
  2187. package/dist/types/license/release.generated.d.ts +6 -0
  2188. package/dist/types/license/runtime.d.ts +27 -0
  2189. package/dist/types/license/subtle.d.ts +5 -0
  2190. package/dist/types/license/timers.d.ts +6 -0
  2191. package/dist/types/license/timestamp.d.ts +1 -0
  2192. package/dist/types/license/trust-keys.generated.d.ts +3 -0
  2193. package/dist/types/license/trust-store.d.ts +6 -0
  2194. package/dist/types/license/types.d.ts +85 -0
  2195. package/dist/types/license/verify.d.ts +30 -0
  2196. package/dist/types/license/watch.d.ts +18 -0
  2197. package/dist/types/stencil-public-runtime.d.ts +1356 -0
  2198. package/dist/types/utils/story-template.d.ts +17 -0
  2199. package/loader/cdn.js +1 -0
  2200. package/loader/chart-scope.d.ts +21 -0
  2201. package/loader/chart-scope.js +1 -0
  2202. package/loader/index.cjs.js +1 -0
  2203. package/loader/index.d.ts +13 -0
  2204. package/loader/index.es2017.js +1 -0
  2205. package/loader/index.js +1 -0
  2206. package/package.json +108 -4
@@ -0,0 +1 @@
1
+ import{r as registerInstance,c as createEvent,g as getElement,h,H as Host}from"./index-DChj4qx2.js";import{s as safeChartFormatter}from"./safe-formatter-DO6vGxJP.js";import{v as visualMapColorFn,a as visualMapExtentOf,b as visualMapPointValue}from"./visual-map-binding-DiSr3bTW.js";import{n as normalizeUnavailableBehaviour,i as isChartLicenseEngineCode,b as buildChartPointContextMenuDetail}from"./point-context-menu-B6K1arcd.js";import{S as STREAMING_LICENSE_FEATURE,e as engineSwapStatus,f as requestedStreamingInputs,r as rendererCodeOf,b as engineLicenseVerdict,c as ENGINE_LICENSE_FEATURE,E as EngineSwapLicense,d as engineFailureOutcome,a as engineSwapOutcome}from"./engine-swap-license-CwIR5SyJ.js";import{a as computeColumnStackLayout,i as isRoundDotDash,c as columnBorderDotPoints}from"./column-stack-C61nYCOk.js";import{h as renderChartBrand}from"./chart-brand-_HhzGz4E.js";import{c as createPointCapWarner,S as STANDARD_ENGINE_MAX_POINTS,a as capValuesView,b as createDrawingHistory,d as crosshairPositionFor,r as resolveDrawingsInput,D as DrawingInteraction,e as createSvgTextMeasurer,f as createCanvasTextMeasurer,g as resolveDrawingMode,h as historyApply,i as drawingsChangeDetail,j as convertDrawingSpace,k as historyUndo,l as historyRedo,s as serializeDrawings,m as renderDrawings,p as pruneDrawingSelection,n as sameDrawingSelection,o as renderDrawing,t as thinHandleIndices,q as primitiveBounds,B as BrushInteraction,u as resolveCartesianBrushSpec,v as pixelShapeFromArea,w as clipRectToPlot,x as bandRectForPlot,y as drawingHoverTarget,z as drawingCursor,A as dashArrayFor}from"./brush-interaction-Dz9vozhJ.js";import{Z as ZoomInteraction,r as resolveCartesianZoomSpec}from"./zoom-interaction-DIwGXfJu.js";import{c as createLegendToggleState,i as isLegendItemDisabled,h as hitTestLegend,t as toggleLegendItem}from"./legend-interaction-BVmDGX0a.js";import{r as resolveCartesianTooltipSpec,a as resolveCartesianAxesSpec,d as resolveCartesianGridLinesSpec,b as resolveCartesianCrosshairSpec}from"./cartesian-contract-DogpgTFv.js";import{s as snapshotDrawingLayer}from"./drawing-export-BYBaMhHn.js";import{j as resolveSeriesBorderSpec,i as isSeriesVisible,b as resolveSeriesYValues,g as resolveSeriesZones,h as resolveSeriesDataSorting,d as resolveSeriesLinkGraph,a as resolveSeriesIdentity,k as resolveSeriesDataLabels,e as isSeriesShownInLegend,p as pickEffectiveTooltipFormatter,f as resolveSeriesTooltipSpec}from"./cartesian-series-contract-zrH7aO3p.js";import{a as computeCartesianFrame,i as isInsidePlot,b as cartesianTooltipAnchor}from"./cartesian-frame-interaction-BC4761vn.js";import{a as thinGridLines,t as thinAxisTicks}from"./axis-label-thinning-S3uzYKsD.js";import{t as tooltipConnectorEnd,c as computeTooltipPlacement}from"./connector-C0f63Npv.js";import{c as computeLegendLayout}from"./legend-BwM4aW0R.js";import"./parse-EXuVQfpl.js";import"./scheme-BwtrZuf8.js";import"./chart-license-bridge-BuvMRxsm.js";import"./errors-DUELYDa7.js";import"./brand-mark-default-AzDRbG7D.js";import"./zoom-window-D6sPnRDQ.js";function appendBarChartValue(existing,value,shift){if(existing instanceof Float32Array){const len=existing.length;if(shift&&len>0){const out2=new Float32Array(len);out2.set(existing.subarray(1));out2[len-1]=value;return out2}const out=new Float32Array(len+1);out.set(existing);out[len]=value;return out}const arr=Array.isArray(existing)?existing.slice():[];if(shift&&arr.length>0)arr.shift();arr.push(value);return arr}function applyEasing(t,easing){const x=clamp01$1(t);switch(easing){case"linear":return x;case"ease-out":return 1-(1-x)*(1-x)*(1-x);case"ease-in":return x*x*x;case"ease-in-out":return x<.5?4*x*x*x:1-Math.pow(-2*x+2,3)/2;default:return x}}function clamp01$1(v){if(!Number.isFinite(v))return 0;if(v<=0)return 0;if(v>=1)return 1;return v}function tweenValues(from,to,progress){const t=Number.isFinite(progress)?Math.max(0,Math.min(1,progress)):1;const fromLen=from.length;const toLen=to.length;const out=new Float32Array(toLen);if(toLen===0)return out;if(t>=1||fromLen===0){for(let i=0;i<toLen;i++)out[i]=coerceFinite(to[i]);return out}const offset=toLen-fromLen;for(let i=0;i<toLen;i++){const target=coerceFinite(to[i]);const fromIdx=i-offset;if(fromIdx<0||fromIdx>=fromLen){out[i]=target;continue}const start=coerceFinite(from[fromIdx]);out[i]=start+(target-start)*t}return out}function coerceFinite(v){if(typeof v!=="number"||!Number.isFinite(v))return Number.NaN;return v}const DEFAULT_DURATION_MS=200;function createBarChartAnimator(options){const duration=Number.isFinite(options.durationMs)&&options.durationMs>=0?options.durationMs:DEFAULT_DURATION_MS;const easing=options.easing??"ease-out";const now=options.now??defaultNow;const schedule=options.schedule??defaultSchedule;const cancel=options.cancel??defaultCancel;let running=false;let paused=false;let pausedElapsed=0;let handle=null;let baseline=new Float32Array(0);let target=new Float32Array(0);let startTimestamp=0;function stopInternal(emitInterrupt){if(handle!==null){cancel(handle);handle=null}const wasRunning=running;running=false;paused=false;pausedElapsed=0;if(wasRunning&&emitInterrupt)options.onInterrupt?.()}function tick(){handle=null;if(paused)return;const elapsed=now()-startTimestamp;const progress=duration===0?1:elapsed/duration;const t=applyEasing(progress,easing);if(progress>=1){running=false;options.onFrame(target,true);options.onEnd?.();return}const frame=tweenValues(baseline,target,t);options.onFrame(frame,false);handle=schedule(tick)}return{get isRunning(){return running},get isPaused(){return paused},animateTo(next){const nextArray=toFloat32$1(next);const wasRunning=running;if(running){const elapsed=paused?pausedElapsed:now()-startTimestamp;const t=applyEasing(duration===0?1:elapsed/duration,easing);baseline=tweenValues(baseline,target,t);stopInternal(false);options.onInterrupt?.()}else{baseline=target.length>0?target:nextArray}target=nextArray;if(nextArray.length===0||duration===0){options.onFrame(nextArray,true);if(!wasRunning)options.onStart?.();options.onEnd?.();return}startTimestamp=now();running=true;paused=false;options.onStart?.();handle=schedule(tick)},setImmediate(next){const wasRunning=running;stopInternal(false);if(wasRunning)options.onInterrupt?.();const arr=toFloat32$1(next);baseline=arr;target=arr;options.onFrame(arr,true)},pause(){if(!running||paused)return;pausedElapsed=now()-startTimestamp;paused=true;if(handle!==null){cancel(handle);handle=null}},resume(){if(!running||!paused)return;paused=false;startTimestamp=now()-pausedElapsed;pausedElapsed=0;handle=schedule(tick)},stop(){stopInternal(true)}}}function toFloat32$1(input){if(input instanceof Float32Array)return input;const out=new Float32Array(input.length);for(let i=0;i<input.length;i++){const v=input[i];out[i]=typeof v==="number"&&Number.isFinite(v)?v:Number.NaN}return out}function defaultNow(){return typeof performance!=="undefined"&&typeof performance.now==="function"?performance.now():Date.now()}function defaultSchedule(fn){if(typeof requestAnimationFrame!=="undefined"){return requestAnimationFrame(fn)}return setTimeout(()=>fn(defaultNow()),16)}function defaultCancel(handle){if(typeof cancelAnimationFrame!=="undefined"&&typeof handle==="number"){cancelAnimationFrame(handle);return}clearTimeout(handle)}function alignWithBaseline(input){const previousArr=toFloat32(input.previous);const nextArr=toFloat32(input.next);const baseline=Number.isFinite(input.baseline)?input.baseline:0;const pLen=previousArr.length;const nLen=nextArr.length;const len=Math.max(pLen,nLen);const previous=new Float32Array(len);const next=new Float32Array(len);for(let i=0;i<len;i++){previous[i]=i<pLen?previousArr[i]:baseline;next[i]=i<nLen?nextArr[i]:baseline}return{previous,next,added:Math.max(0,nLen-pLen),removed:Math.max(0,pLen-nLen)}}function toFloat32(input){if(input instanceof Float32Array)return input;const out=new Float32Array(input.length);for(let i=0;i<input.length;i++){const v=input[i];out[i]=typeof v==="number"&&Number.isFinite(v)?v:Number.NaN}return out}function createRingBufferStreamSource(){const error=new Error("Dedicated streaming requires @syidax/advanced-pro");error.code="module-missing";error.feature="chart.streaming";throw error}function clamp01(value){if(typeof value!=="number"||!Number.isFinite(value))return .1;if(value<=0)return 0;if(value>=1)return 1;return value}function computeBarChartLayout(opts){const entries=opts.entries;const pointCount=Math.max(opts.pointCount??0,entries.reduce((max,entry)=>Math.max(max,entry.values?.length??0),0));const baseline=Number.isFinite(opts.baseline)?opts.baseline:0;const compacted=entries.map((entry,denseOrder)=>({order:denseOrder,values:entry.values,series:entry.series}));const layout=computeColumnStackLayout({entries:compacted,baseline,chartLevelStacking:opts.chartLevelStacking});const plot=opts.plot;const yBandProject=opts.yBandProject;const bandHeight=yBandProject?Math.abs(yBandProject(1)-yBandProject(0)):pointCount>0?plot.height/pointCount:plot.height;const bandStart=index=>yBandProject?Math.min(yBandProject(index),yBandProject(index+1)):plot.y+index*bandHeight;const padding=clamp01(opts.barPadding);const bandGap=bandHeight*padding;const slotHeight=Math.max(0,bandHeight-bandGap);const groupCount=layout.groups.length;const seriesPadFraction=clamp01(opts.seriesPadding);const slotPadding=groupCount>1?slotHeight*seriesPadFraction:0;const groupHeight=groupCount>0?Math.max(0,(slotHeight-slotPadding*(groupCount-1))/groupCount):0;const barsBySource=entries.map(()=>new Array(pointCount).fill(null));const outlineRectsByPoint=layout.groups.map(()=>new Array(pointCount).fill(null));for(let g=0;g<layout.groups.length;g++){const group=layout.groups[g];for(let p=0;p<pointCount;p++){const pointLayout=layout.pointsByGroup[g][p];if(!pointLayout)continue;const bandTop=bandStart(p)+bandGap/2;const slotTop=bandTop+group.bandIndex*(groupHeight+slotPadding);let groupLeft=Number.POSITIVE_INFINITY;let groupRight=Number.NEGATIVE_INFINITY;for(const seg of pointLayout.segments){const left=opts.xProject(seg.bottomValue);const right=opts.xProject(seg.topValue);const x=Math.min(left,right);const width=Math.max(0,Math.abs(right-left));const rect={x,y:slotTop,width,height:groupHeight};const denseOrder=seg.order;const source=entries[denseOrder];if(source){barsBySource[denseOrder][p]=rect}if(x<groupLeft)groupLeft=x;if(x+width>groupRight)groupRight=x+width}if(group.stacking&&groupRight>groupLeft){outlineRectsByPoint[g][p]={x:groupLeft,y:slotTop,width:groupRight-groupLeft,height:groupHeight}}}}return{layout,barsBySource,outlineRectsByPoint,pointCount}}function applyBarBorders(input){const{barsBySource,segmentsBySource,series,borderScope,chartLevel}=input;const resolvedPerSeries=series.map(entry=>resolveSeriesBorderSpec(entry,chartLevel));const outlineRectsToDraw=input.outlineRectsByPoint.map(()=>[]);const outlineBorderByGroup=input.outlineRectsByPoint.map(()=>void 0);if(borderScope==="outline"){for(let g=0;g<input.outlineRectsByPoint.length;g++){if(!input.groupIsStacked[g])continue;const firstSrc=input.groupIndexBySource.findIndex(idx=>idx===g);if(firstSrc<0)continue;const border=resolvedPerSeries[firstSrc];outlineBorderByGroup[g]=border;outlineRectsToDraw[g]=input.outlineRectsByPoint[g].map(rect=>{if(!rect)return null;const radii=orientBarCornerRadii(border.cornerRadii,"positive");return{...rect,cornerRadii:clampCornersToRect(radii,rect),borderColor:border.color,borderWidth:border.width,borderDash:border.dash.length?[...border.dash]:void 0}})}}for(let sourceIndex=0;sourceIndex<barsBySource.length;sourceIndex++){const border=resolvedPerSeries[sourceIndex];const bars=barsBySource[sourceIndex];const segs=segmentsBySource[sourceIndex]??[];const groupIndex=input.groupIndexBySource[sourceIndex];const isStacked=input.groupIsStacked[groupIndex]===true;for(let p=0;p<bars.length;p++){const rect=bars[p];if(!rect)continue;const seg=segs[p];if(borderScope==="outline"&&isStacked){continue}if(borderScope==="point"||!isStacked||!seg){const direction2=isNegativeSegment(seg)?"negative":"positive";rect.cornerRadii=clampCornersToRect(orientBarCornerRadii(border.cornerRadii,direction2),rect);if(border.color)rect.borderColor=border.color;if(border.width>0)rect.borderWidth=border.width;if(border.dash.length)rect.borderDash=[...border.dash];continue}const direction=isNegativeSegment(seg)?"negative":"positive";const[tl,tr,br,bl]=orientBarCornerRadii(border.cornerRadii,direction);const outerRight=direction==="positive"&&seg.isTopOfStack;const outerLeft=direction==="negative"&&seg.isBottomOfStack;const all=seg.isTopOfStack&&seg.isBottomOfStack;const masked=all?[tl,tr,br,bl]:outerRight?[0,tr,br,0]:outerLeft?[tl,0,0,bl]:[0,0,0,0];rect.cornerRadii=clampCornersToRect(masked,rect);if(border.color)rect.borderColor=border.color;if(border.width>0)rect.borderWidth=border.width;if(border.dash.length)rect.borderDash=[...border.dash]}}return{outlineRectsToDraw,outlineBorderByGroup}}function isNegativeSegment(segment){return Boolean(segment&&segment.percent<0)}function orientBarCornerRadii(radii,direction){const[tl,tr,br,bl]=radii;return direction==="negative"?[tr,br,bl,tl]:[bl,tl,tr,br]}function clampCornersToRect(radii,rect){const maxR=Math.max(0,Math.min(rect.width/2,rect.height/2));return[Math.min(Math.max(0,radii[0]),maxR),Math.min(Math.max(0,radii[1]),maxR),Math.min(Math.max(0,radii[2]),maxR),Math.min(Math.max(0,radii[3]),maxR)]}const DEFAULT_INACTIVE_SERIES_STATE={opacity:.35,thicknessScale:.75};function hasExplicitSeries(series){return Array.isArray(series)&&series.length>0}function finitePositive(value,fallback){return typeof value==="number"&&Number.isFinite(value)&&value>0?value:fallback}function finiteOpacity(value,fallback=1){if(typeof value!=="number"||!Number.isFinite(value))return fallback;if(value<0)return 0;if(value>1)return 1;return value}function activeSeriesIndex(index,count){if(typeof index!=="number"||!Number.isFinite(index))return void 0;const normalized=Math.trunc(index);return normalized>=0&&normalized<count?normalized:void 0}function maybeSortSeriesValues(series,values){const sorting=resolveSeriesDataSorting(series);if(!sorting.enabled)return values;const len=values.length;const indexed=[];for(let i=0;i<len;i++){const raw=values[i];const numeric=typeof raw==="number"&&Number.isFinite(raw)?raw:Number.NEGATIVE_INFINITY;indexed.push({value:numeric,original:raw})}indexed.sort((a,b)=>a.value-b.value);return indexed.map(entry=>entry.original)}function resolveBarRendererSeries(input){const out=[];if(hasExplicitSeries(input.series)){for(let sourceIndex=0;sourceIndex<input.series.length;sourceIndex++){const entry=input.series[sourceIndex];if(!entry||!isSeriesVisible(entry))continue;const yValues=resolveSeriesYValues(entry);const values=maybeSortSeriesValues(entry,capValuesView(yValues??entry.values,STANDARD_ENGINE_MAX_POINTS));if(!values||values.length===0)continue;out.push({sourceIndex,values,color:typeof entry.color==="string"&&entry.color.length>0?entry.color:input.color,opacity:finiteOpacity(entry.opacity),thickness:finitePositive(entry.thickness,input.thickness),series:entry,zones:resolveSeriesZones(entry)})}}else if(input.values?.length>0){out.push({sourceIndex:0,values:capValuesView(input.values,STANDARD_ENGINE_MAX_POINTS),color:input.color,opacity:1,thickness:input.thickness})}const activeIndex=activeSeriesIndex(input.activeSeriesIndex,out.length);if(activeIndex===void 0||out.length<2||input.seriesState?.enabled===false)return out;const inactive=input.seriesState?.inactive??{};const opacity=finiteOpacity(inactive.opacity,DEFAULT_INACTIVE_SERIES_STATE.opacity);const thicknessScale=finitePositive(inactive.thicknessScale,DEFAULT_INACTIVE_SERIES_STATE.thicknessScale);return out.map((entry,index)=>{if(index===activeIndex)return entry;return{...entry,opacity,thickness:finitePositive(inactive.thickness,entry.thickness*thicknessScale)}})}function pickZoneColor(zones,value){if(!zones||!Number.isFinite(value))return void 0;for(const zone of zones.zones){if(value<=zone.upper)return zone.color??zone.fillColor}return void 0}function prepareBarRendererLayout(input){const series=resolveBarRendererSeries(input);if(series.length===0){return{bars:[],outlines:[],outlineBorderByGroup:[],seriesResolved:[],layout:{groups:[],pointsByGroup:[],segmentByOrder:[],yExtent:{min:0,max:1}},pointCount:0}}const plot=input.plot??{x:0,y:0,width:Math.max(0,input.width),height:Math.max(0,input.height)};const baseline=Number.isFinite(input.baseline)?input.baseline:0;const stacking=input.stacking;const xProject=input.xProject??(()=>{const pointMax=series.reduce((m,s)=>Math.max(m,s.values.length),0);let dataMin=baseline;let dataMax=baseline;for(const s of series){for(let i=0;i<pointMax;i++){const v=s.values[i];if(typeof v!=="number"||!Number.isFinite(v))continue;if(v<dataMin)dataMin=v;if(v>dataMax)dataMax=v}}const range=dataMax-dataMin||1;return value=>plot.x+(value-dataMin)/range*plot.width})();const pointCount=series.reduce((max,s)=>Math.max(max,s.values.length),0);const layoutResult=computeBarChartLayout({entries:series.map(s=>({sourceIndex:s.sourceIndex,values:s.values,series:s.series})),plot,xProject,barPadding:input.barPadding,seriesPadding:input.seriesPadding??.1,baseline,chartLevelStacking:stacking,pointCount,yBandProject:input.yBandProject});const bars=layoutResult.barsBySource;const segmentsBySource=layoutResult.layout.segmentByOrder.map(row=>row.map(seg=>seg??null));const groupIndexBySource=new Array(series.length).fill(0);for(let g=0;g<layoutResult.layout.groups.length;g++){for(const order of layoutResult.layout.groups[g].memberOrders){groupIndexBySource[order]=g}}const groupIsStacked=layoutResult.layout.groups.map(grp=>Boolean(grp.stacking));const borderResult=applyBarBorders({barsBySource:bars,segmentsBySource,outlineRectsByPoint:layoutResult.outlineRectsByPoint,groupIndexBySource,groupIsStacked,series:series.map(s=>s.series),borderScope:input.borderScope??"stack",chartLevel:{borderRadius:input.borderRadius,borderColor:input.borderColor,borderWidth:input.borderWidth,borderDashStyle:input.borderDashStyle}});return{bars,outlines:borderResult.outlineRectsToDraw,outlineBorderByGroup:borderResult.outlineBorderByGroup,seriesResolved:series,layout:layoutResult.layout,pointCount:layoutResult.pointCount}}class BarChartStandardRenderer{canvas;warnPointCap=createPointCapWarner();constructor(canvas){this.canvas=canvas}draw(input){const totalPoints=hasExplicitSeries(input.series)?input.series.reduce((max,series)=>Math.max(max,series?.values?.length??0),0):input.values?.length??0;this.warnPointCap("sy-bar-chart (standard engine)",totalPoints,STANDARD_ENGINE_MAX_POINTS,"standard engine maximum");const start=typeof performance!=="undefined"?performance.now():0;const ctx=this.canvas.getContext("2d");if(!ctx)return{points:0,renderMs:0};const dpr=typeof window!=="undefined"&&Number.isFinite(window.devicePixelRatio)?Math.max(1,window.devicePixelRatio):1;const cssW=Math.max(1,input.width);const cssH=Math.max(1,input.height);const pxW=input.observedPixelSize&&input.observedPixelSize.width>0?Math.round(input.observedPixelSize.width):Math.round(cssW*dpr);const pxH=input.observedPixelSize&&input.observedPixelSize.height>0?Math.round(input.observedPixelSize.height):Math.round(cssH*dpr);const scaleX=pxW/cssW;const scaleY=pxH/cssH;this.canvas.width=Math.max(1,pxW);this.canvas.height=Math.max(1,pxH);this.canvas.style.width=`${cssW}px`;this.canvas.style.height=`${cssH}px`;ctx.setTransform(1,0,0,1,0,0);ctx.clearRect(0,0,this.canvas.width,this.canvas.height);ctx.setTransform(scaleX,0,0,scaleY,0,0);const prepared=prepareBarRendererLayout(input);if(prepared.seriesResolved.length===0){return{points:0,renderMs:(typeof performance!=="undefined"?performance.now():0)-start}}ctx.save();if(input.plot){ctx.beginPath();ctx.rect(input.plot.x,input.plot.y,input.plot.width,input.plot.height);ctx.clip()}const baseline=Number.isFinite(input.baseline)?input.baseline:0;const activeIndex=input.activePointIndex??null;const inactiveOther=input.inactiveOtherPoints===true&&activeIndex!==null;const inactiveOpacity=finiteOpacity(input.inactivePointOpacity,.2);let pointCount=0;const mapColorOf=visualMapColorFn(input.visualMap);for(let si=0;si<prepared.seriesResolved.length;si++){const s=prepared.seriesResolved[si];const bars=prepared.bars[si]??[];for(let i=0;i<bars.length;i++){const r=bars[i];if(!r||r.width<=0||r.height<=0)continue;const v=typeof s.values[i]==="number"&&Number.isFinite(s.values[i])?s.values[i]:baseline;const zoneColor=mapColorOf?.(v,i)??pickZoneColor(s.zones,v);ctx.fillStyle=zoneColor??s.color;let alpha=s.opacity;if(inactiveOther&&i!==activeIndex)alpha=alpha*inactiveOpacity;ctx.globalAlpha=alpha;const strokeWidth=r.borderWidth??s.thickness;const fillRect=r;const roundedCorners=!!fillRect?.cornerRadii&&fillRect.cornerRadii.some(radius=>radius>0);if(fillRect&&roundedCorners){tracePathBarRect(ctx,fillRect);ctx.fill()}else if(fillRect){const left=Math.round(fillRect.x*scaleX);const top=Math.round(fillRect.y*scaleY);const right=Math.round((fillRect.x+fillRect.width)*scaleX);const bottom=Math.round((fillRect.y+fillRect.height)*scaleY);if(right>left&&bottom>top){ctx.setTransform(1,0,0,1,0,0);ctx.fillRect(left,top,right-left,bottom-top);ctx.setTransform(scaleX,0,0,scaleY,0,0)}}if(strokeWidth>0){const strokeColor=r.borderColor??ctx.fillStyle;if(isRoundDotDash(r.borderDash)){ctx.setLineDash([]);ctx.fillStyle=strokeColor;ctx.globalAlpha=alpha;for(const dot of columnBorderDotPoints(r,strokeWidth,r.borderDash)){ctx.beginPath();ctx.arc(dot.x,dot.y,dot.radius,0,Math.PI*2);ctx.fill()}ctx.fillStyle=zoneColor??s.color}else{ctx.strokeStyle=strokeColor;ctx.lineWidth=strokeWidth;if(r.borderDash&&r.borderDash.length)ctx.setLineDash(r.borderDash);else ctx.setLineDash([]);if(r.cornerRadii){tracePathBarRect(ctx,r);ctx.stroke()}else{ctx.strokeRect(r.x,r.y,r.width,r.height)}}}pointCount++}}ctx.globalAlpha=1;ctx.setLineDash([]);for(let g=0;g<prepared.outlines.length;g++){const border=prepared.outlineBorderByGroup[g];if(!border||border.width<=0)continue;const groupRects=prepared.outlines[g];for(const rect of groupRects){if(!rect||rect.width<=0||rect.height<=0)continue;const strokeColor=border.color??"#111827";if(isRoundDotDash(border.dash)){ctx.setLineDash([]);ctx.fillStyle=strokeColor;ctx.globalAlpha=1;for(const dot of columnBorderDotPoints(rect,border.width,border.dash)){ctx.beginPath();ctx.arc(dot.x,dot.y,dot.radius,0,Math.PI*2);ctx.fill()}}else{ctx.strokeStyle=strokeColor;ctx.lineWidth=border.width;if(border.dash.length)ctx.setLineDash(border.dash);else ctx.setLineDash([]);if(rect.cornerRadii){tracePathBarRect(ctx,rect);ctx.stroke()}else{ctx.strokeRect(rect.x,rect.y,rect.width,rect.height)}}}}ctx.setLineDash([]);ctx.restore();return{points:pointCount,renderMs:(typeof performance!=="undefined"?performance.now():0)-start}}}function tracePathBarRect(ctx,r){const radii=r.cornerRadii??[0,0,0,0];const maxR=Math.min(r.width/2,r.height/2);const tl=Math.max(0,Math.min(radii[0],maxR));const tr=Math.max(0,Math.min(radii[1],maxR));const br=Math.max(0,Math.min(radii[2],maxR));const bl=Math.max(0,Math.min(radii[3],maxR));const right=r.x+r.width;const bottom=r.y+r.height;ctx.beginPath();ctx.moveTo(r.x+tl,r.y);ctx.lineTo(right-tr,r.y);if(tr>0)ctx.arcTo(right,r.y,right,r.y+tr,tr);ctx.lineTo(right,bottom-br);if(br>0)ctx.arcTo(right,bottom,right-br,bottom,br);ctx.lineTo(r.x+bl,bottom);if(bl>0)ctx.arcTo(r.x,bottom,r.x,bottom-bl,bl);ctx.lineTo(r.x,r.y+tl);if(tl>0)ctx.arcTo(r.x,r.y,r.x+tl,r.y,tl);ctx.closePath()}function pickEngine(opts){if(opts.requested==="standard"){return{tier:"standard"}}const proAvailable=opts.proAvailable===true;const licenseBlocked=isChartLicenseEngineCode(opts.proUnavailableCode);if(opts.requested==="pro"){if(proAvailable){return{tier:"pro",degradedReason:getProFeatureBlockReason(opts.features)}}const reason=opts.proUnavailableReason||"Pro renderer unavailable";if(licenseBlocked)return{tier:"standard",licenseReason:reason};if(normalizeUnavailableBehaviour(opts.onUnavailable)==="error"){throw new Error(`[Syidax] sy-bar-chart: Pro renderer unavailable — ${reason}`)}console.warn(`[Syidax] sy-bar-chart: Pro renderer unavailable, falling back to Standard (${reason}).`);return{tier:"standard",fallbackReason:reason}}if(opts.keepPro&&!licenseBlocked){return{tier:"pro",degradedReason:getProFeatureBlockReason(opts.features)}}const pointCount=Number.isFinite(opts.pointCount)&&opts.pointCount>=0?opts.pointCount:0;const threshold=Number.isFinite(opts.proThreshold)&&opts.proThreshold>0?opts.proThreshold:5e4;if(pointCount>=threshold){const featureBlockReason=getProFeatureBlockReason(opts.features);if(featureBlockReason){return{tier:"standard",fallbackReason:featureBlockReason,featureFallbackReason:featureBlockReason}}if(proAvailable)return{tier:"pro"};const reason=opts.proUnavailableReason||"Pro renderer unavailable";if(licenseBlocked)return{tier:"standard",licenseReason:reason};console.info(`[Syidax] sy-bar-chart: auto mode wanted Pro for ${pointCount.toLocaleString()} bars (threshold ${threshold.toLocaleString()}) but Pro is unavailable - ${reason}. Staying on Standard.`);return{tier:"standard",fallbackReason:reason}}return{tier:"standard"}}function getProFeatureBlockReason(features={}){if(features.visualMap===true){return"visualMap colours need per-datum fills and currently use the Standard engine"}if(features.inactiveOtherPoints===true){return"inactiveOtherPoints requires per-point opacity and currently uses the Standard engine"}const thickness=features.thickness;if(Number.isFinite(thickness)&&thickness!==0){return`bar stroke (thickness ${thickness}) requires the Standard engine; Pro currently renders solid-fill bars without strokes`}if(hasPositiveCornerRadius(features.borderRadius)||features.seriesBorderRadius?.some(hasPositiveCornerRadius)){return"borderRadius requires the Standard engine; Pro currently renders square solid-fill bars"}const borderWidth=parseFeatureNumber(features.borderWidth);const seriesBorderWidth=features.seriesBorderWidth?.map(value=>parseFeatureNumber(value)).find(value=>value!==void 0&&value>0);if(borderWidth!==void 0&&borderWidth>0||seriesBorderWidth!==void 0){const width=borderWidth!==void 0&&borderWidth>0?borderWidth:seriesBorderWidth;return`borderWidth (${width}) requires the Standard engine; Pro currently renders solid-fill bars without outlines`}if(typeof features.borderColor==="string"&&features.borderColor.trim()||features.seriesBorderColor?.some(value=>typeof value==="string"&&value.trim())){return"borderColor requires the Standard engine; Pro currently renders solid-fill bars without outlines"}if(features.borderDashStyle!==void 0&&features.borderDashStyle!=="Solid"||features.seriesBorderDashStyle?.some(value=>value!==void 0&&value!=="Solid")){return"borderDashStyle requires the Standard engine; Pro currently renders solid-fill bars without dashed outlines"}const color=features.color;if(typeof color==="string"&&color.trim()&&!parseProColor(color)){return`color "${color}" uses CSS syntax that the Pro engine does not support yet`}return void 0}function parseFeatureNumber(value){if(typeof value==="number"&&Number.isFinite(value))return value;if(typeof value==="string"&&value.trim()){const parsed=Number(value);if(Number.isFinite(parsed))return parsed}return void 0}function hasPositiveCornerRadius(value){const uniform=parseFeatureNumber(value);if(uniform!==void 0)return uniform>0;if(Array.isArray(value)){return value.some(entry=>(parseFeatureNumber(entry)??0)>0)}if(value&&typeof value==="object"){const radii=value;return[radii.topLeft,radii.topRight,radii.bottomRight,radii.bottomLeft].some(entry=>(parseFeatureNumber(entry)??0)>0)}return false}function parseProColor(input){const trimmed=input?.trim();if(!trimmed)return null;if(trimmed.startsWith("#")){const hex=trimmed.slice(1);const expanded=hex.length===3?hex.split("").map(c=>c+c).join(""):hex;if(expanded.length!==6||!/^[\da-f]{6}$/i.test(expanded))return null;const r2=parseInt(expanded.slice(0,2),16)/255;const g2=parseInt(expanded.slice(2,4),16)/255;const b2=parseInt(expanded.slice(4,6),16)/255;return[r2,g2,b2,1]}const match=trimmed.match(/^rgba?\(([^)]+)\)$/i);if(!match)return null;const parts=match[1].split(",").map(part=>Number(part.trim()));if(parts.length<3||parts.length>4||parts.some(part=>!Number.isFinite(part))){return null}const[rawR,rawG,rawB,rawA=1]=parts;const r=clampByte(rawR)/255;const g=clampByte(rawG)/255;const b=clampByte(rawB)/255;const a=clampUnit(rawA);return[r*a,g*a,b*a,a]}function clampByte(value){return Math.max(0,Math.min(255,value))}function clampUnit(value){return Math.max(0,Math.min(1,value))}const syBarChartCss=()=>`.sc-sy-bar-chart-h{display:inline-block;position:relative;overflow:visible;background:var(--sy-chart-bg, var(--background-default, #ffffff))}.sy-bar-chart__canvas.sc-sy-bar-chart{display:block;background:rgba(0,0,0,0)}.sy-bar-chart__watermark.sc-sy-bar-chart{position:absolute;top:4px;right:6px;font-size:10px;line-height:1;padding:2px 6px;background:hsla(0,0%,100%,.85);border:1px solid #e5e7eb;border-radius:999px;color:#6b7280;pointer-events:none;z-index:5}.sy-bar-chart__watermark--degraded.sc-sy-bar-chart{border-color:#facc15;color:#854d0e}`;const BAR_CHART_LEGEND_FONT_SIZE=12;const BAR_CHART_LEGEND_SWATCH_SIZE=12;const BAR_CHART_LEGEND_SWATCH_LABEL_GAP=6;const BAR_CHART_LEGEND_ITEM_GAP=12;const BAR_CHART_LEGEND_ROW_GAP=6;const BAR_CHART_LEGEND_EDGE_PADDING=8;const BAR_CHART_LEGEND_PLOT_GAP=16;const BAR_CHART_LEGEND_FLOAT_PADDING=8;function withBarRowOrderDefault(input){const withDefault=(slot,inArray)=>{if(slot===false||slot==="off")return slot;if(slot===void 0||slot===null)return inArray?slot:{kind:"category",reversed:true};if(slot==="auto"||slot===true)return{kind:"category",reversed:true};if(typeof slot!=="object")return slot;if(slot.reversed!==void 0)return slot;if(slot.kind!==void 0&&slot.kind!=="category")return slot;return{...slot,reversed:true}};return Array.isArray(input)?input.map(slot=>withDefault(slot,true)):withDefault(input,false)}function tooltipClassName(base,extra){return extra&&extra.length>0?`${base} ${extra}`:base}function tooltipCssValue(_property,value){return typeof value==="number"?`${value}px`:value}function shiftScale(scale,delta){const fn=(value=>scale(value)+delta);fn.invert=value=>scale.invert(value-delta);fn.ticks=count=>scale.ticks(count);fn.domain=()=>scale.domain();const[r0,r1]=scale.range();fn.range=()=>[r0+delta,r1+delta];return fn}const SyBarChart=class{constructor(hostRef){registerInstance(this,hostRef);this.rendered=createEvent(this,"rendered",7);this.appended=createEvent(this,"appended",7);this.windowSlid=createEvent(this,"windowSlid",7);this.chartAnimationStart=createEvent(this,"chartAnimationStart",7);this.chartAnimationEnd=createEvent(this,"chartAnimationEnd",7);this.chartAnimationInterrupted=createEvent(this,"chartAnimationInterrupted",7);this.crosshairMove=createEvent(this,"crosshairMove",7);this.tooltipShow=createEvent(this,"tooltipShow",7);this.tooltipHide=createEvent(this,"tooltipHide",7);this.tooltipAction=createEvent(this,"tooltipAction",7);this.zoomChange=createEvent(this,"zoomChange",7);this.brushChange=createEvent(this,"brushChange",7);this.brushStart=createEvent(this,"brushStart",7);this.brushMove=createEvent(this,"brushMove",7);this.brushEnd=createEvent(this,"brushEnd",7);this.drawingsChange=createEvent(this,"drawingsChange",7);this.drawingSelectionChange=createEvent(this,"drawingSelectionChange",7);this.pointHover=createEvent(this,"pointHover",7);this.pointClick=createEvent(this,"pointClick",7);this.pointContextMenu=createEvent(this,"pointContextMenu",7);this.seriesOutsideClick=createEvent(this,"seriesOutsideClick",7);this.legendItemClick=createEvent(this,"legendItemClick",7);this.seriesToggled=createEvent(this,"seriesToggled",7)}get host(){return getElement(this)}series;activeSeriesIndex;seriesState;seriesActiveTrigger="hover";values=new Float32Array(0);width=600;height=300;brandLogo;brandPosition="bottom-right";color="#2563eb";thickness=0;barPadding=.1;seriesPadding=.1;baseline=0;stacking;borderRadius;borderScope="stack";borderColor;borderWidth;borderDashStyle;inactiveOtherPoints=false;inactivePointOpacity=.2;engine="auto";proThreshold=5e4;unavailable="fallback";streamSource;streamWindow;streamMax;animated=false;animationDuration=200;animationEasing="ease-out";animationType;legend=false;legendPosition="bottom";legendItems;seriesName;legendFloatAlign="end";legendFloatVerticalAlign="top";legendDraggable=false;xAxis;yAxis;chartTitle;chartSubtitle;tooltip;crosshair;gridLines;zoom;brush;drawings;drawingMode;drawingTool;drawingSpace;visualMap;rendered;appended;windowSlid;chartAnimationStart;chartAnimationEnd;chartAnimationInterrupted;crosshairMove;tooltipShow;tooltipHide;tooltipAction;zoomChange;brushChange;brushStart;brushMove;brushEnd;drawingsChange;drawingSelectionChange;pointHover;pointClick;pointContextMenu;seriesOutsideClick;legendItemClick;seriesToggled;activeTier="standard";fallbackReason;degradedReason;hoverHit=null;cartesianTooltip=null;cartesianTooltips=[];zoomState=null;zoomSelection=null;brushState=null;brushPreview=null;drawingHistory=createDrawingHistory();drawingPreview=null;drawingSelection=[];drawingMarquee=null;drawingDragPreview=null;visualMapState=null;zoomInteraction=new ZoomInteraction(this.zoomInteractionHost());cursor=null;legendToggle=createLegendToggleState(0);legendHover=null;observedCanvasPixelSize;autoActiveSeriesIndex;emptyValues=new Float32Array(0);canvas;renderer;lastFrame;boundPointerHandlers=false;resizeObserver;lastHoverSeriesIndex=null;tooltipDrag;tooltipElement;nextTooltipId=1;draggableTooltipPositions=new Map;internalStreamSource;internalStreamCapacity;boundStreamSource;streamUnsubscribe;animator;displayValues=new Float32Array(0);streamFrame;streamFrameState;streamFrameHandle=null;lastStreamFrameTime;initialAnimationFrameHandle=null;initialAnimationRunning=false;initialAnimationPaused=false;initialAnimationStartedAt=0;initialAnimationPausedElapsed=0;initialAnimationTarget;animationValueExtent;suppressNextValuesWatch=false;hasLoaded=false;detached=false;componentDidLoad(){this.hasLoaded=true;this.host.addEventListener("wheel",this.handleZoomWheel,{passive:false});this.resizeObserver=new ResizeObserver(entries=>{const entry=entries.find(e=>e.target===this.canvas)??entries[0];const dpcb=entry?.devicePixelContentBoxSize?.[0];if(dpcb&&dpcb.inlineSize>0&&dpcb.blockSize>0){const width=dpcb.inlineSize;const height=dpcb.blockSize;if(this.observedCanvasPixelSize?.width!==width||this.observedCanvasPixelSize?.height!==height){this.observedCanvasPixelSize={width,height}}}else if(this.observedCanvasPixelSize!==void 0){this.observedCanvasPixelSize=void 0}this.draw()});if(this.canvas){try{this.resizeObserver.observe(this.canvas,{box:"device-pixel-content-box"})}catch{this.resizeObserver.observe(this.canvas)}}this.ensureRenderer();const target=this.coerceForAnimation(this.values);this.displayValues=this.shouldInitialCascade(null)?this.initialCascadeValues(target,0):target;this.ensureAnimator(true);this.bindStreamSource();this.syncFromStream();if(this.shouldInitialCascade(null))this.startInitialCascadeAnimation(this.values);else this.draw();this.bindPointerHandlers()}componentDidUpdate(){this.draw();this.bindPointerHandlers()}componentDidRender(){this.measureTooltipBox()}connectedCallback(){this.detached=false;this.syncInitialDrawings();this.license.connect();this.drawingTextMeasurer.clear();this.axisTextMeasurer.clear();if(typeof document!=="undefined"){document.fonts?.addEventListener("loadingdone",this.handleFontChange);document.fonts?.addEventListener("loadingerror",this.handleFontChange)}if(!this.hasLoaded)return;this.fontRevision++;this.host.addEventListener("wheel",this.handleZoomWheel,{passive:false});if(this.canvas){try{this.resizeObserver?.observe(this.canvas,{box:"device-pixel-content-box"})}catch{this.resizeObserver?.observe(this.canvas)}}this.ensureAnimator();this.bindStreamSource();this.syncFromStream();this.bindPointerHandlers();void this.draw()}componentWillLoad(){this.syncInitialDrawings()}disconnectedCallback(){if(typeof document!=="undefined"){document.fonts?.removeEventListener("loadingdone",this.handleFontChange);document.fonts?.removeEventListener("loadingerror",this.handleFontChange)}this.drawingTextMeasurer.dispose();this.axisTextMeasurer.dispose();this.detached=true;this.license.disconnect();this.rendererToken++;this.proInitInFlight=null;this.host.removeEventListener("wheel",this.handleZoomWheel);this.zoomInteraction.dispose();this.zoomSelection=null;this.brushInteraction.dispose();this.brushPreview=null;this.drawingInteraction.dispose();this.drawingPreview=null;this.drawingMarquee=null;this.drawingDragPreview=null;this.resizeObserver?.disconnect();this.unbindPointerHandlers();this.renderer?.destroy?.();this.renderer=void 0;this.rendererCanvas=void 0;this.proUpgraded=false;this.parkInternalRing();this.streamUnsubscribe?.();this.streamUnsubscribe=void 0;this.boundStreamSource=void 0;this.cancelStreamFrame(false);this.cancelInitialCascadeAnimation(false);this.animator?.stop();this.animator=void 0}handleValuesChange(next,previous){if(this.suppressNextValuesWatch){this.suppressNextValuesWatch=false;return}this.cancelStreamFrame(true);if(this.shouldInitialCascade(previous)){this.animationValueExtent=void 0;this.displayValues=this.coerceForAnimation(next);this.animator?.setImmediate(this.displayValues);this.startInitialCascadeAnimation(next)}else{this.routeValuesToAnimator(next,previous)}this.draw()}handleInputsChange(_newValue,_oldValue,propName){if(propName==="engine"||propName==="proThreshold"||propName==="unavailable"){this.proInitFailed=false;this.proInitFailReason=void 0}this.draw()}handleAnimationChange(){if(this.shouldInitialCascade(null)){this.cancelStreamFrame(true);this.ensureAnimator(true);this.animationValueExtent=void 0;this.displayValues=this.coerceForAnimation(this.values);this.animator?.setImmediate(this.displayValues);this.startInitialCascadeAnimation(this.values);return}this.cancelInitialCascadeAnimation(true);if(!this.shouldAnimate()){this.cancelStreamFrame(true);this.displayValues=this.coerceForAnimation(this.values);this.draw()}this.ensureAnimator(true)}handleStreamBindingChange(){this.cancelInitialCascadeAnimation(true);this.bindStreamSource();this.syncFromStream({type:"replace",count:this.boundStreamSource?.length??0});this.draw()}handleStreamWindowChange(){this.syncFromStream({type:"replace",count:this.boundStreamSource?.length??0});this.draw()}handleSeriesChange(){this.autoActiveSeriesIndex=void 0}handleSeriesActiveTriggerChange(){if(this.normalizedSeriesActiveTrigger()==="custom")this.setAutoActiveSeriesIndex(void 0)}async redraw(){return this.draw()}async getActiveTier(){return this.activeTier}async appendPoint(value){await this.license.run(STREAMING_LICENSE_FEATURE,this.streamSessionAsked(),()=>{this.streamTarget("appendPoint")?.push(value)})}async appendBatch(values){await this.license.run(STREAMING_LICENSE_FEATURE,this.streamSessionAsked(),()=>{this.streamTarget("appendBatch")?.pushBatch(values)})}async shift(count){await this.license.run(STREAMING_LICENSE_FEATURE,this.streamSessionAsked(),()=>{this.streamTarget("shift")?.shift(count)})}async replace(values){await this.license.run(STREAMING_LICENSE_FEATURE,this.streamSessionAsked(),()=>{this.streamTarget("replace")?.replace(values)})}async getStreamSource(){return this.license.run(STREAMING_LICENSE_FEATURE,this.streamSessionAsked(),()=>this.activeStreamSource())}async getEngineStatus(){return engineSwapStatus(this.engine,this.activeTier,this.engineOutcome,this.engineLicenseState)}async setAnimation(options){if(!options||typeof options!=="object")return;if(Number.isFinite(options.duration))this.animationDuration=options.duration;if(options.easing)this.animationEasing=options.easing;if(typeof options.enabled==="boolean")this.animated=options.enabled;if(options.type)this.animationType=options.type;if(!this.shouldAnimate()){this.cancelStreamFrame(true);this.cancelInitialCascadeAnimation(true);this.displayValues=this.coerceForAnimation(this.values);this.draw()}this.ensureAnimator(true)}async pauseAnimation(){this.animator?.pause();this.pauseStreamFrame();this.pauseInitialCascadeAnimation()}async resumeAnimation(){this.animator?.resume();this.resumeStreamFrame();this.resumeInitialCascadeAnimation()}async addSeries(options,opts){const next=Array.isArray(this.series)?[...this.series]:[];const at=typeof opts?.insertAt==="number"&&opts.insertAt>=0&&opts.insertAt<=next.length?Math.floor(opts.insertAt):next.length;next.splice(at,0,options);this.series=next;if(opts?.redraw!==false)this.draw();return at}async removeSeries(idOrIndex,opts){if(!Array.isArray(this.series))return false;const idx=this.resolveSeriesIndex(idOrIndex);if(idx<0)return false;const next=this.series.slice();next.splice(idx,1);this.series=next;if(opts?.redraw!==false)this.draw();return true}async updateSeries(idOrIndex,patch,opts){if(!Array.isArray(this.series))return false;const idx=this.resolveSeriesIndex(idOrIndex);if(idx<0)return false;const next=this.series.slice();next[idx]={...next[idx],...patch};this.series=next;if(opts?.redraw!==false)this.draw();return true}async setSeriesData(idOrIndex,data,opts){if(!Array.isArray(this.series))return false;const idx=this.resolveSeriesIndex(idOrIndex);if(idx<0)return false;const next=this.series.slice();next[idx]={...next[idx],values:data};this.series=next;if(opts?.redraw!==false)this.draw();return true}async addPoint(idOrIndex,point,opts){if(!Array.isArray(this.series))return false;const idx=this.resolveSeriesIndex(idOrIndex);if(idx<0)return false;const next=this.series.slice();const existing=next[idx].values??new Float32Array(0);next[idx]={...next[idx],values:appendBarChartValue(existing,point,opts?.shift===true)};this.series=next;if(opts?.redraw!==false)this.draw();return true}async showSeries(id,opts){return this.updateSeriesVisible(id,true,opts)}async hideSeries(id,opts){return this.updateSeriesVisible(id,false,opts)}async showTooltipAtPoint(pointIndex){const tooltipSpec=resolveCartesianTooltipSpec(this.tooltip);if(!tooltipSpec.show)return null;const frame=this.computeCartesianLayout();if(!frame)return null;this.lastFrame=frame;const prepared=this.preparedLayout();if(!prepared)return null;const firstSeries=prepared.seriesResolved[0];if(!firstSeries)return null;const rect=prepared.bars[0]?.[pointIndex];if(!rect)return null;const segment=prepared.layout?.segmentByOrder?.[0]?.[pointIndex]??void 0;const hit={sourceIndex:firstSeries.sourceIndex,pointIndex,rect,value:typeof firstSeries.values[pointIndex]==="number"?firstSeries.values[pointIndex]:NaN,categoryLabel:this.categoryLabelAt(pointIndex),segment:segment??void 0};this.hoverHit=hit;this.cursor=this.hitAnchor(hit);return this.showTooltipForHit(frame,hit,tooltipSpec,true)}async zoomTo(request){return this.zoomInteraction.zoomTo(request)}async zoomBy(factor,anchorFraction=.5){return this.zoomInteraction.zoomBy(factor,anchorFraction)}async panBy(delta){return this.zoomInteraction.panBy(delta)}async resetZoom(){return this.zoomInteraction.reset()}async getZoom(){return this.zoomState}async getZoomExtent(request){return this.zoomInteraction.extent(request)}async showCrosshairAt(request){const frame=this.computeCartesianLayout();const position=frame?crosshairPositionFor(frame,request):null;this.cursor=position;return position!==null}async hideCrosshair(){this.cursor=null}zoomSpec(){return resolveCartesianZoomSpec(this.zoom)}zoomInteractionHost(){return{frame:()=>this.computeCartesianLayout()??void 0,spec:()=>this.zoomSpec(),state:()=>this.zoomState,apply:next=>{this.zoomState=next;this.draw()},emit:detail=>{this.zoomChange.emit(detail)},selection:rect=>{this.zoomSelection=rect},standDown:()=>this.zoomStandDown()}}zoomStandDown(){this.hoverHit=null;if(this.cursor!==null){this.cursor=null;this.crosshairMove.emit(null)}this.clearTooltips()}zoomPointerInput(e){const rect=this.host.getBoundingClientRect();const point={x:e.clientX-rect.left,y:e.clientY-rect.top};return{pointerId:e.pointerId,x:point.x,y:point.y,button:e.button,shiftKey:e.shiftKey,altKey:e.altKey,pointerType:e.pointerType}}zoomWheelInput(e){const rect=this.host.getBoundingClientRect();const point={x:e.clientX-rect.left,y:e.clientY-rect.top};return{x:point.x,y:point.y,deltaX:e.deltaX,deltaY:e.deltaY,deltaMode:e.deltaMode,ctrlKey:e.ctrlKey,metaKey:e.metaKey,shiftKey:e.shiftKey}}handleZoomWheel=e=>{if(this.zoomInteraction.wheel(this.zoomWheelInput(e)))e.preventDefault()};syncInitialDrawings(){const history=this.drawingHistory;if(history.past.length>0||history.future.length>0||history.present.drawings.length>0)return;if(this.drawings===void 0||this.drawings===null||this.drawings==="")return;this.drawingHistory=createDrawingHistory(resolveDrawingsInput(this.drawings))}drawingInteraction=new DrawingInteraction(this.drawingInteractionHost());drawingTextMeasurer=createSvgTextMeasurer(void 0,void 0,()=>!this.detached);axisTextMeasurer=createCanvasTextMeasurer();fontRevision=0;handleFontChange=()=>{if(this.detached)return;this.drawingTextMeasurer.clear();this.axisTextMeasurer.clear();this.fontRevision++;void this.draw()};handleDrawingModeChange(){if(this.drawingModeState().mode!=="select"&&this.drawingSelection.length>0)this.applyDrawingSelection([],"mode")}drawingModeState(){return resolveDrawingMode(this.drawingMode,this.drawingTool)}drawingKeyboardOn(){const mode=this.drawingModeState().mode;return mode==="draw"||mode==="select"}drawingInteractionHost(){return{frame:()=>this.brushHostFrame(),mode:()=>this.drawingModeState(),space:()=>this.drawingSpace==="pixel"?"pixel":"data",commit:input=>{this.applyDrawingAction({type:"add",drawing:input},"draw")},preview:preview=>{this.drawingPreview=preview},standDown:()=>this.zoomStandDown(),rendered:()=>this.renderedDrawings(),selection:()=>this.drawingSelection,select:(ids,source)=>{this.applyDrawingSelection(ids,source)},marquee:rect=>{this.drawingMarquee=rect},dragPreview:entries=>{this.drawingDragPreview=entries},commitAnchors:entries=>{this.applyDrawingAction({type:"anchors",entries},"move")},remove:ids=>{this.applyDrawingAction({type:"removeMany",ids},"keyboard")},undo:()=>{void this.undoDrawing()},redo:()=>{void this.redoDrawing()}}}applyDrawingAction(action,source){const next=historyApply(this.drawingHistory,action);if(next===this.drawingHistory)return null;this.drawingHistory=next;const id="id"in action?action.id:action.type==="add"?next.present.drawings[next.present.drawings.length-1]?.id:void 0;const detail=drawingsChangeDetail(next,action.type,source,id);this.drawingsChange.emit(detail);this.pruneDrawingSelection();return detail}onDrawingsProp(){this.drawingHistory=createDrawingHistory(resolveDrawingsInput(this.drawings));this.drawingsChange.emit(drawingsChangeDetail(this.drawingHistory,"set","prop"));this.pruneDrawingSelection()}async getDrawings(){return[...this.drawingHistory.present.drawings]}async setDrawings(drawings){return this.applyDrawingAction({type:"set",drawings:drawings??[]},"api")}async addDrawing(drawing){const detail=this.applyDrawingAction({type:"add",drawing},"api");return detail?.id?this.drawingHistory.present.drawings.find(d=>d.id===detail.id)??null:null}async updateDrawing(id,patch){const detail=this.applyDrawingAction({type:"update",id,patch},"api");return detail?this.drawingHistory.present.drawings.find(d=>d.id===id)??null:null}async removeDrawing(id){return this.applyDrawingAction({type:"remove",id},"api")!==null}async removeDrawings(ids){return this.applyDrawingAction({type:"removeMany",ids:[...ids]},"api")}async setDrawingSpace(id,space){const frame=this.brushHostFrame();const drawing=this.drawingHistory.present.drawings.find(d=>d.id===id);if(!frame||!drawing)return null;if(drawing.space===space)return drawing;const detail=this.applyDrawingAction({type:"update",id,patch:{space,anchors:convertDrawingSpace(drawing,frame,space)}},"api");return detail?this.drawingHistory.present.drawings.find(d=>d.id===id)??null:null}async clearDrawings(){return this.applyDrawingAction({type:"clear"},"clear")}async undoDrawing(){const next=historyUndo(this.drawingHistory);if(next===this.drawingHistory)return null;this.drawingHistory=next;const detail=drawingsChangeDetail(next,"undo","undo");this.drawingsChange.emit(detail);this.pruneDrawingSelection();return detail}async redoDrawing(){const next=historyRedo(this.drawingHistory);if(next===this.drawingHistory)return null;this.drawingHistory=next;const detail=drawingsChangeDetail(next,"redo","redo");this.drawingsChange.emit(detail);this.pruneDrawingSelection();return detail}async getDrawingLayer(){if(this.drawingHistory.present.drawings.length===0)return null;const overlay=this.host.querySelector("svg.sy-bar-chart__drawings");return overlay?snapshotDrawingLayer(overlay):null}async exportDrawings(){return serializeDrawings(this.drawingHistory.present)}async importDrawings(input){return this.applyDrawingAction({type:"set",drawings:resolveDrawingsInput(input).drawings},"api")}renderedDrawings(){const frame=this.brushHostFrame();return frame?renderDrawings(this.drawingHistory.present,frame,{measureText:this.drawingTextMeasurer,background:this.drawingBackground}):[]}applyDrawingSelection(ids,source){const next=pruneDrawingSelection([...new Set(ids)],this.drawingHistory.present);if(sameDrawingSelection(this.drawingSelection,next))return null;this.drawingSelection=[...next];const detail={selected:[...next],source};this.drawingSelectionChange.emit(detail);return detail}pruneDrawingSelection(){if(this.drawingSelection.length===0)return;const next=pruneDrawingSelection(this.drawingSelection,this.drawingHistory.present);if(next!==this.drawingSelection)this.applyDrawingSelection(next,"prune")}async selectDrawings(ids){return this.applyDrawingSelection(ids??[],"api")}async getDrawingSelection(){return[...this.drawingSelection]}drawingBackground="#ffffff";resolveDrawingBackground(){const value=typeof getComputedStyle==="function"&&this.host?getComputedStyle(this.host).getPropertyValue("--sy-chart-bg").trim():"";return value||"#ffffff"}renderDrawingOverlay(frame){this.drawingBackground=this.resolveDrawingBackground();const preview=this.drawingPreview;const dragged=this.drawingDragPreview;const document2=dragged?{drawings:this.drawingHistory.present.drawings.map(d=>{const entry=dragged.find(e=>e.id===d.id);return entry?{...d,anchors:entry.anchors}:d})}:this.drawingHistory.present;if(!preview&&!this.drawingMarquee&&document2.drawings.length===0)return null;const plot=frame.plot;const drawingFrame={plot,xScale:frame.xScale,yScale:frame.yScale};const rendered=renderDrawings(document2,drawingFrame,{measureText:this.drawingTextMeasurer,background:this.drawingBackground}).map(entry=>({...entry,preview:false}));if(preview)rendered.push({...renderDrawing({id:"__preview",tool:preview.tool,anchors:preview.anchors,space:preview.space,visible:true},drawingFrame,{measureText:this.drawingTextMeasurer,background:this.drawingBackground}),preview:true});const local=(x,y)=>({x:x-plot.x,y:y-plot.y});const primitive=(entry,p,index)=>{const style=p.style?{...entry.style,...p.style}:entry.style;const stroke={stroke:style.color,strokeWidth:String(style.width),strokeDasharray:dashArrayFor(style.dash,style.width),fill:"none",strokeLinecap:"round",strokeLinejoin:"round"};const filled={...stroke,fill:style.fill,fillOpacity:String(style.fillOpacity)};const key=`${entry.id}-${index}`;switch(p.kind){case"line":{const a=local(p.x1,p.y1);const b=local(p.x2,p.y2);return h("line",{key,"data-drawing-role":p.role,x1:a.x,y1:a.y,x2:b.x,y2:b.y,style:stroke})}case"polyline":{const points=p.points.map(point=>local(point.x,point.y)).map(point=>`${point.x.toFixed(2)},${point.y.toFixed(2)}`).join(" ");return p.closed?h("polygon",{key,"data-drawing-role":p.role,points,style:filled}):h("polyline",{key,"data-drawing-role":p.role,points,style:stroke})}case"rect":{const a=local(p.x,p.y);return h("rect",{key,"data-drawing-role":p.role,x:a.x,y:a.y,width:p.width,height:p.height,style:filled})}case"circle":{const c=local(p.cx,p.cy);return h("circle",{key,"data-drawing-role":p.role,cx:c.x,cy:c.y,r:p.r,style:filled})}case"text":{const t=local(p.x,p.y);return h("text",{key,"data-drawing-role":p.role,x:t.x,y:t.y,"text-anchor":p.anchor??"start","dominant-baseline":p.baseline??"auto",style:{fill:entry.labelColor,fontSize:`${style.fontSize}px`,fontFamily:"system-ui, sans-serif"}},p.text)}case"path":return h("path",{key,"data-drawing-role":p.role,d:p.d,style:stroke});default:return null}};return h("svg",{class:"sy-bar-chart__drawings","aria-hidden":"true",width:plot.width,height:plot.height,viewBox:`0 0 ${plot.width} ${plot.height}`,style:{position:"absolute",left:`${plot.x}px`,top:`${plot.y}px`,overflow:"hidden",pointerEvents:"none"}},rendered.map(entry=>h("g",{key:entry.id,class:{"sy-bar-chart__drawing":true,"sy-bar-chart__drawing--preview":entry.preview,"sy-bar-chart__drawing--locked":entry.drawing.locked===true,"sy-bar-chart__drawing--selected":!entry.preview&&this.drawingSelection.includes(entry.id)},"data-drawing-id":entry.preview?void 0:entry.id,"data-drawing-tool":entry.tool,style:{opacity:String(entry.preview?Math.min(1,entry.style.opacity*.7):entry.style.opacity)}},entry.primitives.map((p,index)=>primitive(entry,p,index)))),rendered.filter(entry=>!entry.preview&&this.drawingSelection.includes(entry.id)).map(entry=>{const box=primitiveBounds(entry.primitives);return box?h("rect",{key:`selection-${entry.id}`,class:"sy-bar-chart__drawing-selection","data-selection-id":entry.id,x:box.x-plot.x-4,y:box.y-plot.y-4,width:box.width+8,height:box.height+8,style:{fill:"none",stroke:"var(--sy-drawing-selection, #2563eb)",strokeWidth:"1",strokeDasharray:"3 3"}}):null}),rendered.filter(entry=>!entry.preview&&this.drawingSelection.includes(entry.id)&&entry.drawing.locked!==true).map(entry=>thinHandleIndices(entry.points).map(index=>{const p=entry.points[index];return h("circle",{key:`handle-${entry.id}-${index}`,class:"sy-bar-chart__drawing-handle","data-handle-id":entry.id,"data-handle-index":String(index),cx:p.x-plot.x,cy:p.y-plot.y,r:4,style:{fill:"var(--sy-drawing-handle-bg, #ffffff)",stroke:"var(--sy-drawing-selection, #2563eb)",strokeWidth:"1.5"}})})),this.drawingMarquee&&h("rect",{class:"sy-bar-chart__drawing-marquee",x:this.drawingMarquee.x-plot.x,y:this.drawingMarquee.y-plot.y,width:this.drawingMarquee.width,height:this.drawingMarquee.height,style:{fill:"var(--sy-drawing-marquee-bg, rgba(37, 99, 235, 0.08))",stroke:"var(--sy-drawing-selection, #2563eb)",strokeWidth:"1",strokeDasharray:"4 3"}}))}brushInteraction=new BrushInteraction(this.brushInteractionHost());brushSpec(){return resolveCartesianBrushSpec(this.brush)}brushKeyboardOn(){const spec=this.brushSpec();return spec.enabled&&spec.keyboard}brushHostFrame(){const frame=this.computeCartesianLayout();return frame?{plot:frame.plot,xScale:frame.xScale,yScale:frame.yScale}:void 0}brushInteractionHost(){return{frame:()=>this.brushHostFrame(),spec:()=>this.brushSpec(),state:()=>this.brushState,apply:next=>{this.brushState=next},emit:detail=>{this.brushChange.emit(detail)},preview:shape=>{this.brushPreview=shape},standDown:()=>this.zoomStandDown(),points:()=>this.brushPoints(),start:detail=>{this.brushStart.emit(detail)},move:detail=>{this.brushMove.emit(detail)},end:detail=>{this.brushEnd.emit(detail)}}}brushPoints(){const prepared=this.preparedLayout();if(!prepared)return[];const baseline=Number.isFinite(this.baseline)?this.baseline:0;const points=[];for(let si=0;si<prepared.seriesResolved.length;si++){const bars=prepared.bars[si]??[];const s=prepared.seriesResolved[si];for(let i=0;i<bars.length;i++){const r=bars[i];if(!r||r.width<=0||r.height<=0)continue;const segment=prepared.layout.segmentByOrder[si]?.[i];const raw=s.values[i];const value=segment?segment.value:typeof raw==="number"?raw:Number.NaN;if(!Number.isFinite(value))continue;points.push({seriesIndex:s.sourceIndex,index:i,cssX:value<baseline?r.x:r.x+r.width,cssY:r.y+r.height/2,dataX:value,dataY:i})}}return points}async setBrush(areas){return this.brushInteraction.setAreas(areas)}async clearBrush(){return this.brushInteraction.clear()}async getBrush(){return this.brushState?[...this.brushState.areas]:[]}async getBrushSelection(){return this.brushInteraction.selection()}visualMapBound=false;effectiveVisualMap(){return this.visualMapBound?this.visualMapState:this.visualMap??null}onVisualMapProp(){this.visualMapBound=false;this.visualMapState=this.visualMap??null;this.requestVisualMapDraw()}requestVisualMapDraw(){this.draw()}async setVisualMap(binding){this.visualMapBound=true;this.visualMapState=binding??null;this.requestVisualMapDraw();return this.visualMapState}async getVisualMap(){return this.effectiveVisualMap()}async getVisualExtent(request){const dimension=request?.dimension??"value";return visualMapExtentOf(this.brushPoints().map(point=>visualMapPointValue(point,dimension,"x")))}renderBrushOverlay(frame){const preview=this.brushPreview;const areas=this.brushState?.areas??[];if(!preview&&areas.length===0)return null;const plot=frame.plot;const shapes=areas.map(area=>pixelShapeFromArea(area,frame.xScale,frame.yScale));const rects=shapes.flatMap((shape,index)=>shape.kind==="rect"?[{index,band:false,rect:clipRectToPlot(shape.rect,plot)}]:shape.kind==="band"?[{index,band:true,rect:bandRectForPlot(shape,plot)}]:[]).filter(entry=>entry.rect!==null);const polygons=shapes.flatMap((shape,index)=>shape.kind==="polygon"?[{index,points:shape.points}]:[]);const previewRect=preview?.kind==="rect"?preview.rect:preview?.kind==="band"?bandRectForPlot(preview,plot):null;const previewPolygon=preview?.kind==="polygon"?preview.points:null;const box=rect=>({position:"absolute",left:`${rect.x}px`,top:`${rect.y}px`,width:`${rect.width}px`,height:`${rect.height}px`,boxSizing:"border-box"});const polygonPoints=points=>points.map(point=>`${(point.x-plot.x).toFixed(1)},${(point.y-plot.y).toFixed(1)}`).join(" ");return h("div",{class:"sy-bar-chart__brush","aria-hidden":"true",style:{position:"absolute",left:"0px",top:"0px",width:"0px",height:"0px",overflow:"visible",pointerEvents:"none"}},rects.map(entry=>h("div",{class:{"sy-bar-chart__brush-area":true,"sy-bar-chart__brush-area--band":entry.band},"data-brush-index":String(entry.index),style:{...box(entry.rect),background:"var(--sy-brush-bg, rgba(16, 185, 129, 0.14))",border:"1px dashed var(--sy-brush-border, rgba(5, 150, 105, 0.8))"}})),previewRect&&h("div",{class:"sy-bar-chart__brush-preview",style:{...box(previewRect),background:"var(--sy-brush-bg, rgba(16, 185, 129, 0.14))",border:"1px solid var(--sy-brush-border, rgba(5, 150, 105, 0.8))"}}),(polygons.length>0||previewPolygon)&&h("svg",{class:"sy-bar-chart__brush-lasso",width:plot.width,height:plot.height,viewBox:`0 0 ${plot.width} ${plot.height}`,style:{position:"absolute",left:`${plot.x}px`,top:`${plot.y}px`,overflow:"hidden",pointerEvents:"none"}},polygons.map(entry=>h("polygon",{class:"sy-bar-chart__brush-area sy-bar-chart__brush-area--lasso","data-brush-index":String(entry.index),points:polygonPoints(entry.points),style:{fill:"var(--sy-brush-bg, rgba(16, 185, 129, 0.14))",stroke:"var(--sy-brush-border, rgba(5, 150, 105, 0.8))",strokeWidth:"1",strokeDasharray:"4 3"}})),previewPolygon&&h("polyline",{class:"sy-bar-chart__brush-preview sy-bar-chart__brush-preview--lasso",points:polygonPoints(previewPolygon),style:{fill:"var(--sy-brush-bg, rgba(16, 185, 129, 0.14))",stroke:"var(--sy-brush-border, rgba(5, 150, 105, 0.8))",strokeWidth:"1"}})))}handleZoomPointerDown=e=>{if(e.target?.closest?.('button, a, input, select, textarea, [role="button"]'))return;if(this.drawingInteraction.pointerDown(this.zoomPointerInput(e))){e.currentTarget?.setPointerCapture?.(e.pointerId);return}if(this.brushInteraction.pointerDown(this.zoomPointerInput(e))){e.currentTarget?.setPointerCapture?.(e.pointerId);return}if(this.zoomInteraction.pointerDown(this.zoomPointerInput(e))){e.currentTarget?.setPointerCapture?.(e.pointerId)}};updateDrawingCursor(e){const state=this.drawingModeState();const mode=state.mode==="draw"?"draw":state.mode==="select"?"select":"off";let hover=null;if(mode==="select"){if(this.drawingInteraction.isDragging)hover=this.drawingInteraction.dragsHandle?"handle":"body";else{const input=this.zoomPointerInput(e);hover=drawingHoverTarget({x:input.x,y:input.y},this.renderedDrawings(),this.drawingSelection)}}const cursor=drawingCursor(mode,hover,this.drawingInteraction.isDragging);const target=this.canvas??this.host;if(target&&target.style.cursor!==cursor)target.style.cursor=cursor}handleZoomPointerMove(e){this.updateDrawingCursor(e);if(this.drawingInteraction.pointerMove(this.zoomPointerInput(e)))return true;if(this.brushInteraction.pointerMove(this.zoomPointerInput(e)))return true;return this.zoomInteraction.pointerMove(this.zoomPointerInput(e))}handleZoomPointerUp=e=>{if(this.drawingInteraction.isPending){this.drawingInteraction.pointerUp(this.zoomPointerInput(e));e.currentTarget?.releasePointerCapture?.(e.pointerId);return}if(this.brushInteraction.isPending){this.brushInteraction.pointerUp(this.zoomPointerInput(e));e.currentTarget?.releasePointerCapture?.(e.pointerId);return}const owned=this.zoomInteraction.isPending;this.zoomInteraction.pointerUp(this.zoomPointerInput(e));if(owned)e.currentTarget?.releasePointerCapture?.(e.pointerId)};handleZoomPointerCancel=()=>{this.drawingInteraction.pointerCancel();this.brushInteraction.pointerCancel();this.zoomInteraction.pointerCancel()};consumeSuppressedPlotClick(){if(this.drawingInteraction.consumeSuppressedClick())return true;return this.brushInteraction.consumeSuppressedClick()||this.zoomInteraction.consumeSuppressedClick()}handleZoomKeyDown=e=>{if(this.drawingInteraction.keyDown(e)){e.preventDefault();return}if(this.brushInteraction.keyDown(e)||this.zoomInteraction.keyDown(e))e.preventDefault()};renderZoomOverlay(frame){const spec=this.zoomSpec();const selection=this.zoomSelection;const zoomed=this.zoomState!==null;if(!selection&&!(zoomed&&spec.resetButton))return null;const plot=frame.plot;return h("div",{class:"sy-bar-chart__zoom-overlay",style:{position:"absolute",left:"0",top:"0",width:`${this.width}px`,height:`${this.height}px`,pointerEvents:"none",zIndex:"4"}},selection&&h("div",{class:"sy-bar-chart__zoom-selection","aria-hidden":"true",style:{position:"absolute",left:`${selection.x}px`,top:`${selection.y}px`,width:`${selection.width}px`,height:`${selection.height}px`,boxSizing:"border-box",background:"var(--sy-zoom-selection-bg, rgba(37, 99, 235, 0.12))",border:"1px solid var(--sy-zoom-selection-border, rgba(37, 99, 235, 0.6))"}}),zoomed&&spec.resetButton&&h("button",{type:"button",class:"sy-bar-chart__zoom-reset","aria-label":"Reset zoom",onClick:()=>{void this.resetZoom()},style:{...ZoomInteraction.resetButtonStyle,position:"absolute",left:`${plot.x+plot.width-8}px`,top:`${plot.y+8}px`,transform:"translateX(-100%)",pointerEvents:"auto",font:"500 11px system-ui, sans-serif",padding:"3px 8px",borderRadius:"4px",border:"1px solid var(--sy-zoom-reset-border, #9ca3af)",background:"var(--sy-zoom-reset-bg, #ffffff)",color:"var(--sy-axis-color, #111827)",cursor:"pointer"}},"Reset zoom"))}async hideTooltip(){this.hoverHit=null;this.cursor=null;this.clearTooltips()}async hitTestBar(cssX,cssY){const hit=this.hitTestInternal(cssX,cssY);if(!hit)return null;return{pointIndex:hit.pointIndex,seriesIndex:hit.sourceIndex}}updateSeriesVisible(idOrIndex,visible,opts){if(!Array.isArray(this.series))return false;const idx=this.resolveSeriesIndex(idOrIndex);if(idx<0)return false;const next=this.series.slice();next[idx]={...next[idx],visible};this.series=next;if(opts?.redraw!==false)this.draw();return true}resolveSeriesIndex(idOrIndex){if(typeof idOrIndex==="number"&&Number.isFinite(idOrIndex)){const idx=Math.floor(idOrIndex);return idx>=0&&idx<(this.series?.length??0)?idx:-1}if(typeof idOrIndex==="string"&&this.series){for(let i=0;i<this.series.length;i++){if(this.series[i]?.id===idOrIndex)return i}}return-1}activeStreamSource(input){if(!this.streamingAllowed(input))return void 0;if(this.streamSource)return this.streamSource;return this.ensureInternalStreamSource()}streamSessionInputs(){return requestedStreamingInputs({streamSource:this.streamSource,streamMax:this.streamMax,streamWindow:this.streamWindow})}streamSessionAsked(){return this.streamSessionInputs().length>0}streamingAllowed(input){const asked=this.streamSessionInputs();if(asked.length===0)return true;const state=this.license.state(STREAMING_LICENSE_FEATURE);if(state==="valid"&&!this.license.isFrozen(STREAMING_LICENSE_FEATURE))return true;this.license.refuse(STREAMING_LICENSE_FEATURE,state,input??asked[0]);return false}streamTarget(method){const source=this.activeStreamSource(method);if(source&&source!==this.boundStreamSource)this.bindStreamSource();return source}streamSessionKept(){return Boolean(this.boundStreamSource||this.internalStreamSource||this.streamSource)}parkInternalRing(){const ring=this.internalStreamSource;if(ring&&this.boundStreamSource===ring)this.license.parkStream(ring,[this.values])}resumeInternalRing(source){if(source!==this.internalStreamSource||this.license.resumeStream(source,[this.values]))return;source.replace(this.snapshotInitialValues())}bindStreamSource(){if(this.detached)return;const next=this.streamingAllowed()?this.streamSource??this.ensureInternalStreamSource():void 0;if(next===this.boundStreamSource)return;this.parkInternalRing();this.streamUnsubscribe?.();this.streamUnsubscribe=void 0;this.boundStreamSource=next;if(!next)return;this.resumeInternalRing(next);this.streamUnsubscribe=next.subscribe(event=>{this.syncFromStream(event);this.draw()})}ensureInternalStreamSource(){const capacity=this.coerceStreamCapacity();if(capacity===void 0){this.internalStreamSource=void 0;this.internalStreamCapacity=void 0;return void 0}if(this.internalStreamSource&&this.internalStreamCapacity===capacity){return this.internalStreamSource}this.internalStreamCapacity=capacity;this.internalStreamSource=createRingBufferStreamSource({initial:this.snapshotInitialValues()});return this.internalStreamSource}coerceStreamCapacity(){if(!Number.isFinite(this.streamMax))return void 0;const capacity=Math.floor(this.streamMax);return capacity>0?capacity:void 0}syncFromStream(event){const src=this.boundStreamSource;if(!src)return;const previous=this.coerceForAnimation(this.values);const next=src.snapshot(this.streamWindow);this.suppressNextValuesWatch=true;this.values=next;this.displayValues=next;this.routeStreamValues(previous,next,event);this.emitStreamLifecycle(previous.length,next.length,event)}emitStreamLifecycle(prevLen,nextLen,event){if(!event)return;if(event.type==="push"||event.type==="pushBatch"){this.appended.emit({count:event.count});const cap=this.coerceStreamCapacity()??Number.POSITIVE_INFINITY;const visibleCap=Math.min(this.streamWindow??cap,cap);if(prevLen+event.count>visibleCap&&nextLen>=visibleCap){this.windowSlid.emit({dropped:prevLen+event.count-nextLen})}}}ensureAnimator(rebuild=false){if(this.animator&&!rebuild)return;this.animator?.stop();this.animator=createBarChartAnimator({durationMs:this.shouldAnimate()?this.animationDuration:0,easing:this.animationEasing,onFrame:frame=>{this.displayValues=frame;this.draw()},onStart:()=>this.chartAnimationStart.emit(),onEnd:()=>{this.displayValues=this.coerceForAnimation(this.values);this.animationValueExtent=void 0;this.draw();this.chartAnimationEnd.emit()},onInterrupt:()=>this.chartAnimationInterrupted.emit()});if(rebuild){this.animator.setImmediate(this.coerceForAnimation(this.values))}}routeValuesToAnimator(next,previousInput){this.cancelInitialCascadeAnimation(true);if(!this.animator){this.animationValueExtent=void 0;this.displayValues=next;return}const arr=this.coerceForAnimation(next);if(!this.shouldUpdateAnimation(previousInput)){this.animationValueExtent=void 0;this.animator.setImmediate(arr);return}const previous=this.coerceForAnimation(this.displayValues??this.emptyValues);const aligned=alignWithBaseline({previous,next:arr,baseline:Number.isFinite(this.baseline)?this.baseline:0});this.animationValueExtent=this.hasExplicitSeries()?void 0:this.computeAnimationValueExtent(aligned.next);this.animator.setImmediate(aligned.previous);this.animator.animateTo(aligned.next)}startInitialCascadeAnimation(next){this.cancelInitialCascadeAnimation(this.initialAnimationRunning);const target=this.coerceForAnimation(next);this.initialAnimationTarget=target;this.animationValueExtent=this.hasExplicitSeries()?void 0:this.computeAnimationValueExtent(target);this.displayValues=this.initialCascadeValues(target,0);this.animator?.setImmediate(this.displayValues);if(!this.shouldInitialCascade(null)){this.animationValueExtent=void 0;this.displayValues=target;this.animator?.setImmediate(target);this.draw();return}const duration=Math.max(0,Number(this.animationDuration)||0);if(duration<=0){this.displayValues=target;this.animationValueExtent=void 0;this.draw();return}this.initialAnimationRunning=true;this.initialAnimationPaused=false;this.initialAnimationPausedElapsed=0;this.initialAnimationStartedAt=this.now();this.chartAnimationStart.emit();this.draw();this.initialAnimationFrameHandle=this.scheduleFrame(()=>this.tickInitialCascadeAnimation())}tickInitialCascadeAnimation(){this.initialAnimationFrameHandle=null;if(!this.initialAnimationRunning||this.initialAnimationPaused)return;const elapsed=this.now()-this.initialAnimationStartedAt;const rawProgress=Math.max(0,Math.min(1,elapsed/Math.max(1,Number(this.animationDuration)||1)));const target=this.initialAnimationTarget??this.coerceForAnimation(this.values);this.displayValues=this.initialCascadeValues(target,rawProgress);if(rawProgress>=1){this.displayValues=target;this.initialAnimationRunning=false;this.initialAnimationTarget=void 0;this.animationValueExtent=void 0;this.draw();this.chartAnimationEnd.emit();return}this.draw();this.initialAnimationFrameHandle=this.scheduleFrame(()=>this.tickInitialCascadeAnimation())}pauseInitialCascadeAnimation(){if(!this.initialAnimationRunning||this.initialAnimationPaused)return;this.initialAnimationPausedElapsed=this.now()-this.initialAnimationStartedAt;this.initialAnimationPaused=true;if(this.initialAnimationFrameHandle!==null){this.cancelFrame(this.initialAnimationFrameHandle);this.initialAnimationFrameHandle=null}}resumeInitialCascadeAnimation(){if(!this.initialAnimationRunning||!this.initialAnimationPaused)return;this.initialAnimationPaused=false;this.initialAnimationStartedAt=this.now()-this.initialAnimationPausedElapsed;this.initialAnimationPausedElapsed=0;this.initialAnimationFrameHandle=this.scheduleFrame(()=>this.tickInitialCascadeAnimation())}cancelInitialCascadeAnimation(emitInterrupt=false){const wasRunning=this.initialAnimationRunning;if(this.initialAnimationFrameHandle!==null){this.cancelFrame(this.initialAnimationFrameHandle);this.initialAnimationFrameHandle=null}this.initialAnimationRunning=false;this.initialAnimationPaused=false;this.initialAnimationPausedElapsed=0;this.initialAnimationTarget=void 0;if(wasRunning&&emitInterrupt)this.chartAnimationInterrupted.emit()}initialCascadeValues(target,rawProgress){const baseline=Number.isFinite(this.baseline)?this.baseline:0;const out=new Float32Array(target.length);const count=Math.max(1,target.length);const spread=target.length<=1?0:.65;const duration=Math.max(.01,1-spread);for(let i=0;i<target.length;i++){const value=target[i];if(!Number.isFinite(value)){out[i]=Number.NaN;continue}const order=count-1-i;const start=count<=1?0:order/(count-1)*spread;const localRaw=Math.max(0,Math.min(1,(rawProgress-start)/duration));const local=applyEasing(localRaw,this.animationEasing);out[i]=baseline+(value-baseline)*local}return out}routeStreamValues(previous,next,event){this.cancelInitialCascadeAnimation(true);this.animationValueExtent=void 0;this.animator?.setImmediate(next);if(!this.shouldAnimate()||!this.isAppendEvent(event)){this.cancelStreamFrame(true);this.displayValues=next;return}const shiftCount=this.resolveStreamShiftCount(previous,next,event);const duration=this.resolveStreamFrameDuration();if(shiftCount<=0||duration<=0){this.cancelStreamFrame(true);this.displayValues=next;return}this.startStreamFrame(previous,next,shiftCount,duration)}isAppendEvent(event){return event?.type==="push"||event?.type==="pushBatch"}resolveStreamShiftCount(previous,next,event){if(previous.length<2||next.length<2)return 0;if(next.length!==previous.length)return 0;const count=Math.max(1,Math.floor(event.count));if(count>=next.length)return 0;return Math.min(count,previous.length-1,next.length-1)}resolveStreamFrameDuration(){const configured=Math.max(0,Number(this.animationDuration)||0);const now=this.now();const previous=this.lastStreamFrameTime;this.lastStreamFrameTime=now;if(previous===void 0)return configured;const cadence=Math.max(0,now-previous);return configured>0?Math.min(configured,cadence):0}startStreamFrame(previous,next,shiftCount,duration){this.cancelStreamFrame(true);this.streamFrameState={previous,next,shiftCount,duration,startedAt:this.now(),pausedElapsed:0,paused:false};this.streamFrame={previous,next,shiftCount,progress:0};this.displayValues=previous;this.chartAnimationStart.emit();this.draw();this.streamFrameHandle=this.scheduleFrame(()=>this.tickStreamFrame())}tickStreamFrame(){this.streamFrameHandle=null;const state=this.streamFrameState;if(!state||state.paused)return;const elapsed=this.now()-state.startedAt;const rawProgress=state.duration===0?1:elapsed/state.duration;const progress=applyEasing(rawProgress,this.animationEasing);if(rawProgress>=1){this.streamFrame=void 0;this.streamFrameState=void 0;this.displayValues=state.next;this.draw();this.chartAnimationEnd.emit();return}this.streamFrame={previous:state.previous,next:state.next,shiftCount:state.shiftCount,progress};this.displayValues=this.interpolateStreamValues(state.previous,state.next,progress);this.draw();this.streamFrameHandle=this.scheduleFrame(()=>this.tickStreamFrame())}interpolateStreamValues(previous,next,progress){const t=Number.isFinite(progress)?Math.max(0,Math.min(1,progress)):1;const out=new Float32Array(next.length);for(let i=0;i<next.length;i++){const target=next[i];const start=i<previous.length?previous[i]:target;out[i]=start+(target-start)*t}return out}pauseStreamFrame(){const state=this.streamFrameState;if(!state||state.paused)return;state.pausedElapsed=this.now()-state.startedAt;state.paused=true;if(this.streamFrameHandle!==null){this.cancelFrame(this.streamFrameHandle);this.streamFrameHandle=null}}resumeStreamFrame(){const state=this.streamFrameState;if(!state||!state.paused)return;state.paused=false;state.startedAt=this.now()-state.pausedElapsed;state.pausedElapsed=0;this.streamFrameHandle=this.scheduleFrame(()=>this.tickStreamFrame())}cancelStreamFrame(emitInterrupt=false){const wasRunning=!!this.streamFrameState;if(this.streamFrameHandle!==null){this.cancelFrame(this.streamFrameHandle);this.streamFrameHandle=null}this.streamFrameState=void 0;this.streamFrame=void 0;if(wasRunning&&emitInterrupt)this.chartAnimationInterrupted.emit()}shouldAnimate(){if(this.detached)return false;return this.animated&&this.animationDuration>0}shouldInitialCascade(previous){return this.shouldAnimate()&&this.resolveAnimationType(previous)==="initial"}shouldUpdateAnimation(previous){return this.shouldAnimate()&&this.resolveAnimationType(previous)==="update"}resolveAnimationType(previous){if(this.animationType)return this.animationType;return this.hasAnimationBaseline(previous)?"update":"initial"}hasAnimationBaseline(input){return!!input&&input.length>0}now(){return typeof performance!=="undefined"&&typeof performance.now==="function"?performance.now():Date.now()}scheduleFrame(fn){if(typeof requestAnimationFrame!=="undefined"){return requestAnimationFrame(fn)}return setTimeout(fn,16)}cancelFrame(handle){if(typeof cancelAnimationFrame!=="undefined"&&typeof handle==="number"){cancelAnimationFrame(handle);return}clearTimeout(handle)}coerceForAnimation(input){if(input instanceof Float32Array)return input;const out=new Float32Array(input.length);for(let i=0;i<input.length;i++){const v=input[i];out[i]=typeof v==="bigint"?Number(v):typeof v==="number"&&Number.isFinite(v)?v:Number.NaN}return out}snapshotInitialValues(){const v=this.values;if(v instanceof Float32Array)return new Float32Array(v);const out=[];for(let i=0;i<v.length;i++){const n=v[i];if(typeof n==="bigint")out.push(Number(n));else if(typeof n==="number"&&Number.isFinite(n))out.push(n)}return new Float32Array(out)}proAvailability(){{return{available:false,reason:"Pro renderer not included in this build",code:rendererCodeOf(false)}}}engineLicense(){const verdict=engineLicenseVerdict(this.license.state(ENGINE_LICENSE_FEATURE));if(verdict.code)this.license.refuse(ENGINE_LICENSE_FEATURE,verdict.state,"engine");return verdict}engineAllowed(){return this.license.state(ENGINE_LICENSE_FEATURE)==="valid"}handleLicenseChange(change){if(this.detached)return;if(change.feature===ENGINE_LICENSE_FEATURE){if(change.state!=="valid"){this.rendererToken++;this.proInitInFlight=null}this.draw();return}if(change.feature!==STREAMING_LICENSE_FEATURE)return;if(change.state==="valid"){if(this.license.isFrozen(STREAMING_LICENSE_FEATURE))this.license.setFrozen(STREAMING_LICENSE_FEATURE,false)}else if(change.previousState==="valid"&&this.streamSessionKept()){this.license.setFrozen(STREAMING_LICENSE_FEATURE,true)}this.bindStreamSource();if(this.boundStreamSource)this.syncFromStream({type:"replace",count:this.boundStreamSource.length});this.draw()}proInitInFlight=null;rendererToken=0;canvasTier;proUpgraded=false;proInitFailed=false;proInitFailReason;license=new EngineSwapLicense(()=>this.host,change=>this.handleLicenseChange(change));engineOutcome={code:"auto-standard",reason:null};engineLicenseState=null;rendererCanvas;adoptStandardRenderer(){if(!this.canvas)return;if(this.renderer instanceof BarChartStandardRenderer&&this.rendererCanvas===this.canvas)return;try{this.renderer?.destroy?.()}catch{}this.renderer=new BarChartStandardRenderer(this.canvas);this.rendererCanvas=this.canvas}ensureRenderer(){if(this.detached)return;if(!this.canvas)return;const availability=this.proAvailability();const engineInputs={requested:this.engine,pointCount:this.estimatePointCount(),proThreshold:this.proThreshold,onUnavailable:this.unavailable,proAvailable:availability.available,proUnavailableReason:availability.reason,features:{visualMap:this.effectiveVisualMap()!==null,color:this.color,thickness:this.thickness,inactiveOtherPoints:this.inactiveOtherPoints,borderRadius:this.borderRadius,seriesBorderRadius:this.series?.map(entry=>entry?.borderRadius),borderColor:this.borderColor,seriesBorderColor:this.series?.map(entry=>entry?.borderColor),borderWidth:this.borderWidth,seriesBorderWidth:this.series?.map(entry=>entry?.borderWidth),borderDashStyle:this.borderDashStyle,seriesBorderDashStyle:this.series?.map(entry=>entry?.borderDashStyle)}};let decision=pickEngine(engineInputs);if(this.proInitFailed&&decision.tier==="pro"){this.engineLicenseState=null;this.engineOutcome=engineFailureOutcome(this.proInitFailReason??"");this.activeTier="standard";if(this.canvasTier!==void 0&&this.canvasTier!=="standard")return;this.adoptStandardRenderer();if(this.fallbackReason!==this.proInitFailReason)this.fallbackReason=this.proInitFailReason;if(this.degradedReason!==void 0)this.degradedReason=void 0;return}const license=decision.tier==="pro"?this.engineLicense():null;if(license?.code){decision=pickEngine({...engineInputs,proAvailable:false,proUnavailableReason:license.reason,proUnavailableCode:license.code,keepPro:false})}this.engineLicenseState=license?.state??null;this.engineOutcome=engineSwapOutcome({requested:this.engine,tier:decision.tier,license,renderer:availability.code?{code:availability.code,reason:availability.reason??""}:null,fallbackReason:decision.fallbackReason,featureFallbackReason:decision.featureFallbackReason,degradedReason:decision.degradedReason});if(decision.fallbackReason!==this.fallbackReason)this.fallbackReason=decision.fallbackReason;if(decision.degradedReason!==this.degradedReason)this.degradedReason=decision.degradedReason;if(decision.tier==="standard"){this.proUpgraded=false;this.activeTier="standard";if(this.canvasTier!==void 0&&this.canvasTier!=="standard")return;this.adoptStandardRenderer();return}if(this.proUpgraded||this.proInitInFlight)return;if(this.canvasTier!=="pro"){this.activeTier="pro";return}return}estimatePointCount(){if(Array.isArray(this.series)&&this.series.length>0){let n=0;for(const s of this.series)n+=this.seriesValuesLength(s);return n}return this.values?.length??0}seriesValuesLength(series){if(!series)return 0;return resolveSeriesYValues(series).length||series.values?.length||0}sourcePointCount(){if(!this.hasExplicitSeries())return this.values?.length??0;return this.series.reduce((max,series)=>Math.max(max,this.seriesValuesLength(series)),0)}resolveBarAxesSpec(pointCount){const yInput=this.yAxis??(pointCount>0?{kind:"category",tickCount:pointCount}:{kind:"category"});return resolveCartesianAxesSpec(this.xAxis??{kind:"linear"},withBarRowOrderDefault(yInput))}normalizedLegendToggle(itemCount){if(this.legendToggle.count===itemCount)return this.legendToggle;const retained=Array.from(this.legendToggle.disabled).filter(index=>index<itemCount);return createLegendToggleState(itemCount,retained)}effectiveDisabledSeriesIndexes(){const disabled=new Set;if(!this.hasExplicitSeries()||!this.legend)return disabled;const seriesArr=this.series;const items=this.resolveLegendItems();const toggle=this.normalizedLegendToggle(items.length);const legendIndexBySeries=new Map;for(let r=0;r<items.length;r++){const idx=items[r].seriesIndex;if(typeof idx==="number")legendIndexBySeries.set(idx,r)}const directDisabled=new Set;for(let i=0;i<seriesArr.length;i++){const r=legendIndexBySeries.get(i);if(r!==void 0&&isLegendItemDisabled(toggle,r))directDisabled.add(i)}const linkGraph=resolveSeriesLinkGraph(seriesArr);for(let i=0;i<seriesArr.length;i++){if(directDisabled.has(i)){disabled.add(i);continue}const seriesId=seriesArr[i]?.id;const masterId=seriesId!==void 0?linkGraph.masterOf.get(seriesId):void 0;if(masterId===void 0)continue;const masterIndex=seriesArr.findIndex(s=>s?.id===masterId);if(masterIndex>=0&&directDisabled.has(masterIndex))disabled.add(i)}return disabled}seriesForRender(){if(!this.hasExplicitSeries())return void 0;const disabled=this.effectiveDisabledSeriesIndexes();if(disabled.size===0)return this.series;return this.series.map((series,index)=>{if(!series||!disabled.has(index)||!isSeriesVisible(series))return series;return{...series,visible:false}})}isPrimarySeriesDisabled(){if(this.hasExplicitSeries())return false;if(!this.legend)return false;const items=this.resolveLegendItems();if(items.length===0)return false;return isLegendItemDisabled(this.normalizedLegendToggle(items.length),0)}valuesForRender(){if(this.isPrimarySeriesDisabled())return this.emptyValues;return this.displayValues??this.values}resolvedActiveSeriesIndex(){if(typeof this.activeSeriesIndex==="number"&&Number.isFinite(this.activeSeriesIndex)&&this.activeSeriesIndex>=0){return Math.trunc(this.activeSeriesIndex)}return this.autoActiveSeriesIndex}visibleActiveSeriesRenderIndex(){const active=this.resolvedActiveSeriesIndex();if(active===void 0)return void 0;if(!this.hasExplicitSeries())return active;const renderSeries=this.seriesForRender();if(!renderSeries)return void 0;let renderIndex=0;for(let sourceIndex=0;sourceIndex<renderSeries.length;sourceIndex++){const series=renderSeries[sourceIndex];if(!series||!isSeriesVisible(series)||this.seriesValuesLength(series)===0)continue;if(sourceIndex===active)return renderIndex;renderIndex++}return void 0}normalizedSeriesActiveTrigger(){const trigger=this.seriesActiveTrigger;return trigger==="click"||trigger==="custom"?trigger:"hover"}setAutoActiveSeriesIndex(seriesIndex){if(typeof this.activeSeriesIndex==="number"&&Number.isFinite(this.activeSeriesIndex)&&this.activeSeriesIndex>=0)return;const normalized=typeof seriesIndex==="number"&&Number.isFinite(seriesIndex)?Math.trunc(seriesIndex):void 0;if(this.autoActiveSeriesIndex===normalized)return;this.autoActiveSeriesIndex=normalized;this.draw()}invokeSeriesEvent(seriesIndex,name,original){const series=this.series?.[seriesIndex];const handler=series?.events?.[name];if(typeof handler!=="function")return;const identity=resolveSeriesIdentity(series,seriesIndex);handler({seriesId:identity.id,seriesIndex,seriesName:identity.name,original})}resolvedSeriesForCartesian(){return resolveBarRendererSeries({series:this.seriesForRender(),values:this.valuesForRender(),color:this.color,thickness:this.thickness})}computeValueExtentForBar(series){if(this.animationValueExtent){return{min:this.animationValueExtent.min,max:this.animationValueExtent.max}}const baseline=Number.isFinite(this.baseline)?this.baseline:0;if(series.length===0)return{min:baseline-1,max:baseline+1};const layout=computeColumnStackLayout({entries:series.map((entry,order)=>({order,values:entry.values,series:entry.series})),baseline,chartLevelStacking:this.stacking});const{min,max}=layout.yExtent;if(min===max)return{min:min-1,max:max+1};return{min,max}}computeCartesianLayout(){const outer={x:0,y:0,width:Math.max(0,this.width),height:Math.max(0,this.height)};const series=this.resolvedSeriesForCartesian();const renderedPointCount=Math.max(series.reduce((max,s)=>Math.max(max,s.values.length),0),this.animationValueExtent?.pointCount??0);const pointCount=Math.max(renderedPointCount,this.sourcePointCount());if(pointCount===0||outer.width<=0||outer.height<=0)return void 0;const legendBundle=this.buildLegendLayout();const remaining=legendBundle?.layout.remainingOuter??{x:0,y:0,width:outer.width,height:outer.height};const valueExtent=this.computeValueExtentForBar(series);const categoryExtent={min:-.5,max:Math.max(.5,pointCount-.5)};const axes=this.resolveBarAxesSpec(pointCount);const frame=computeCartesianFrame({outerWidth:Math.max(1,remaining.width),outerHeight:Math.max(1,remaining.height),axes,gridLines:resolveCartesianGridLinesSpec(this.gridLines),title:this.chartTitle,subtitle:this.chartSubtitle,xExtent:valueExtent,yExtent:categoryExtent,zoom:this.zoomState??void 0,requiredTicks:{x:Number.isFinite(this.baseline)?this.baseline:0,includeGridLines:false}});const dx=remaining.x;const dy=remaining.y;const translatedPlot={x:frame.plot.x+dx,y:frame.plot.y+dy,width:frame.plot.width,height:frame.plot.height};const xScale=shiftScale(frame.xScale,dx);const yScale=shiftScale(frame.yScale,dy);const yAxes=frame.yAxes.map(entry=>{const scale=shiftScale(entry.scale,dy);return{...entry,scale,ticks:entry.ticks.map(t=>({...t,position:t.position+dy})),gridLines:entry.gridLines.map(g=>({...g,y:(g.y??0)+dy})),linePosition:entry.linePosition+dx}});const xAxes=frame.xAxes.map(entry=>({...entry,scale:shiftScale(entry.scale,dx),ticks:entry.ticks.map(t=>({...t,position:t.position+dx})),gridLines:entry.gridLines.map(g=>({...g,x:(g.x??0)+dx})),linePosition:entry.linePosition+dy}));const translated={...frame,outer,legend:legendBundle??void 0,plot:translatedPlot,xScale,yScale,xAxes,xScales:Object.fromEntries(xAxes.flatMap((entry,index)=>[[entry.key,entry.scale],[String(index),entry.scale]])),yAxes,yScales:Object.fromEntries(yAxes.flatMap((entry,index)=>[[entry.key,entry.scale],[String(index),entry.scale]])),xTicks:frame.xTicks.map(t=>({...t,position:t.position+dx})),yTicks:frame.yTicks.map(t=>({...t,position:t.position+dy})),xGridLines:frame.xGridLines.map(g=>({...g,x:(g.x??0)+dx})),yGridLines:frame.yGridLines.map(g=>({...g,y:(g.y??0)+dy})),titleRect:frame.titleRect?{...frame.titleRect,x:frame.titleRect.x+dx,y:frame.titleRect.y+dy}:null,subtitleRect:frame.subtitleRect?{...frame.subtitleRect,x:frame.subtitleRect.x+dx,y:frame.subtitleRect.y+dy}:null};return translated}computeAnimationValueExtent(...frames){const baseline=Number.isFinite(this.baseline)?this.baseline:0;let min=baseline;let max=baseline;let pointCount=0;let sawFinite=false;for(const frame of frames){pointCount=Math.max(pointCount,frame.length);for(let i=0;i<frame.length;i++){const value=frame[i];if(!Number.isFinite(value))continue;min=Math.min(min,value);max=Math.max(max,value);sawFinite=true}}if(!sawFinite)return{min:baseline-1,max:baseline+1,pointCount};if(min===max)return{min:min-1,max:max+1,pointCount};return{min,max,pointCount}}preparedLayout(){const frame=this.computeCartesianLayout();if(!frame)return void 0;this.lastFrame=frame;const renderSeries=this.seriesForRender();return prepareBarRendererLayout({series:renderSeries,activeSeriesIndex:this.visibleActiveSeriesRenderIndex(),seriesState:this.seriesState,values:this.valuesForRender(),width:this.width,height:this.height,color:this.color,thickness:this.thickness,barPadding:this.barPadding,seriesPadding:this.seriesPadding,baseline:this.baseline,stacking:this.stacking,borderRadius:this.borderRadius,borderScope:this.borderScope,borderColor:this.borderColor,borderWidth:this.borderWidth,borderDashStyle:this.borderDashStyle,visualMap:this.effectiveVisualMap(),plot:frame.plot,xProject:v=>frame.xScale(v),yBandProject:index=>frame.yScale(index-.5)})}draw(){if(this.detached)return{points:0,renderMs:0};this.ensureRenderer();if(!this.renderer||!this.canvas)return{points:0,renderMs:0};if(this.rendererCanvas!==this.canvas)return{points:0,renderMs:0};if(this.canvasTier!==void 0&&this.canvasTier!==this.activeTier)return{points:0,renderMs:0};const frame=this.computeCartesianLayout();this.lastFrame=frame;const renderSeries=this.seriesForRender();const result=this.renderer.draw({series:renderSeries,activeSeriesIndex:this.visibleActiveSeriesRenderIndex(),seriesState:this.seriesState,seriesActiveTrigger:this.seriesActiveTrigger,values:this.valuesForRender(),width:this.width,height:this.height,color:this.color,thickness:this.thickness,barPadding:this.barPadding,seriesPadding:this.seriesPadding,baseline:this.baseline,stacking:this.stacking,borderRadius:this.borderRadius,borderScope:this.borderScope,borderColor:this.borderColor,borderWidth:this.borderWidth,borderDashStyle:this.borderDashStyle,inactiveOtherPoints:this.inactiveOtherPoints,inactivePointOpacity:this.inactivePointOpacity,visualMap:this.effectiveVisualMap(),activePointIndex:this.hoverHit?.pointIndex??null,plot:frame?.plot,xProject:frame?v=>frame.xScale(v):void 0,yBandProject:frame?index=>frame.yScale(index-.5):void 0,observedPixelSize:this.observedCanvasPixelSize,streamFrame:this.streamFrame});this.rendered.emit({...result,tier:this.activeTier});return result}hasVisibleTooltips(){return this.cartesianTooltip!==null||this.cartesianTooltips.length>0}clearTooltips(){if(!this.hasVisibleTooltips())return;this.tooltipDrag=void 0;this.cartesianTooltip=null;this.cartesianTooltips=[];this.tooltipHide.emit()}shouldShowTooltipOnHover(spec){return spec.trigger!=="click"}shouldShowTooltipOnClick(spec){return spec.trigger==="click"||spec.trigger==="hover-click"}shouldHideTooltipOnLeave(spec){if(!spec.show)return true;if(spec.draggable||spec.trigger==="click")return false;return spec.hideOnLeave!==false}hitAnchor(hit){const baseline=Number.isFinite(this.baseline)?this.baseline:0;const negative=hit.segment?hit.segment.value<baseline:hit.value<baseline;return{cssX:negative?hit.rect.x:hit.rect.x+hit.rect.width,cssY:hit.rect.y+hit.rect.height/2}}resolvedCrosshairSpec(){const spec=resolveCartesianCrosshairSpec(this.crosshair);if(typeof this.crosshair==="object"&&this.crosshair!==null){const mode=this.crosshair.mode;if(mode==="x")return{...spec,mode:"vertical"};if(mode==="y")return{...spec,mode:"horizontal"};if(mode==="xy")return{...spec,mode:"cross"}}return spec}nearestBarHit(cssX,cssY,snap){if(snap==="off")return null;const prepared=this.preparedLayout();if(!prepared)return null;let best=null;for(let si=0;si<prepared.seriesResolved.length;si++){const bars=prepared.bars[si]??[];const s=prepared.seriesResolved[si];for(let i=0;i<bars.length;i++){const r=bars[i];const segment=prepared.layout.segmentByOrder[si]?.[i]??void 0;if(!r||r.width<=0||r.height<=0)continue;const raw=s.values[i];const centerY=r.y+r.height/2;const endX=segment?.value<this.baseline?r.x:r.x+r.width;const distance=snap==="index"?Math.abs(cssY-centerY):Math.hypot(cssX-endX,cssY-centerY);const hit={sourceIndex:s.sourceIndex,pointIndex:i,rect:r,value:typeof raw==="number"&&Number.isFinite(raw)?raw:NaN,categoryLabel:this.categoryLabelAt(i),segment:segment??void 0};if(!best||distance<best.distance)best={distance,hit}}}return best?.hit??null}updateCrosshairFromPointer(frame,cssX,cssY,hit){const spec=this.resolvedCrosshairSpec();if(!frame||!spec.show||!isInsidePlot(frame,cssX,cssY)){if(this.cursor!==null){this.cursor=null;this.crosshairMove.emit(null)}return}const snapHit=hit??this.nearestBarHit(cssX,cssY,spec.snap);const snapped=spec.snap!=="off"?snapHit:null;const anchor=snapped?this.hitAnchor(snapped):{cssX,cssY};const nextX=anchor.cssX;const nextY=anchor.cssY;this.cursor={cssX:nextX,cssY:nextY};this.crosshairMove.emit({cssX:nextX,cssY:nextY,dataX:frame.xScale.invert(nextX),dataY:frame.yScale.invert(nextY),snappedPointIndex:snapped?.pointIndex})}onPointerMove=event=>{if(this.handleZoomPointerMove(event))return;const host=this.host;if(!host)return;const rect=host.getBoundingClientRect();const cssX=event.clientX-rect.left;const cssY=event.clientY-rect.top;const frame=this.lastFrame??this.computeCartesianLayout();const hit=this.hitTestInternal(cssX,cssY);const tooltipSpec=resolveCartesianTooltipSpec(this.tooltip);if(hit){if(this.normalizedSeriesActiveTrigger()==="hover"){this.setAutoActiveSeriesIndex(hit.sourceIndex)}if(!this.hoverHit||this.hoverHit.pointIndex!==hit.pointIndex||this.hoverHit.sourceIndex!==hit.sourceIndex){this.hoverHit=hit}const previousSeriesIndex=this.lastHoverSeriesIndex;if(previousSeriesIndex!==hit.sourceIndex){if(previousSeriesIndex!==null)this.invokeSeriesEvent(previousSeriesIndex,"mouseOut",event);this.invokeSeriesEvent(hit.sourceIndex,"mouseOver",event);this.lastHoverSeriesIndex=hit.sourceIndex}this.pointHover.emit(this.pointDetailFromHit(hit));if(frame&&tooltipSpec.show&&this.shouldShowTooltipOnHover(tooltipSpec)){this.showTooltipForHit(frame,hit,tooltipSpec)}}else{if(this.hoverHit)this.hoverHit=null;this.pointHover.emit(null);if(this.lastHoverSeriesIndex!==null){this.invokeSeriesEvent(this.lastHoverSeriesIndex,"mouseOut",event);this.lastHoverSeriesIndex=null}if(this.hasVisibleTooltips()&&this.shouldHideTooltipOnLeave(tooltipSpec))this.clearTooltips()}this.updateCrosshairFromPointer(frame,cssX,cssY,hit)};onPointerLeave=()=>{this.drawingInteraction.hoverEnd();if(this.hoverHit){this.hoverHit=null;this.pointHover.emit(null)}if(this.lastHoverSeriesIndex!==null){this.invokeSeriesEvent(this.lastHoverSeriesIndex,"mouseOut");this.lastHoverSeriesIndex=null}if(this.cursor!==null){this.cursor=null;this.crosshairMove.emit(null)}const tooltipSpec=resolveCartesianTooltipSpec(this.tooltip);if(this.hasVisibleTooltips()&&this.shouldHideTooltipOnLeave(tooltipSpec))this.clearTooltips()};onPointerClick=event=>{if(this.consumeSuppressedPlotClick())return;const host=this.host;if(!host)return;const rect=host.getBoundingClientRect();const cssX=event.clientX-rect.left;const cssY=event.clientY-rect.top;const hit=this.hitTestInternal(cssX,cssY);const frame=this.lastFrame??this.computeCartesianLayout();const tooltipSpec=resolveCartesianTooltipSpec(this.tooltip);if(hit){if(this.normalizedSeriesActiveTrigger()==="click"){this.setAutoActiveSeriesIndex(hit.sourceIndex)}this.hoverHit=hit;this.cursor=this.hitAnchor(hit);this.pointClick.emit(this.pointDetailFromHit(hit));this.invokeSeriesEvent(hit.sourceIndex,"click",event);if(frame&&tooltipSpec.show&&this.shouldShowTooltipOnClick(tooltipSpec)){this.showTooltipForHit(frame,hit,tooltipSpec,true)}}else{if(this.normalizedSeriesActiveTrigger()!=="custom"){this.setAutoActiveSeriesIndex(void 0)}this.hoverHit=null;this.clearTooltips();this.seriesOutsideClick.emit({cssX,cssY,dataX:this.lastFrame?.xScale.invert(cssX),dataY:this.lastFrame?.yScale.invert(cssY)})}};onPointContextMenu=event=>{const host=this.host;if(!host)return;const rect=host.getBoundingClientRect();const cssX=event.clientX-rect.left;const cssY=event.clientY-rect.top;const hit=this.hitTestInternal(cssX,cssY);if(!hit)return;event.preventDefault();event.stopPropagation();this.pointContextMenu.emit(buildChartPointContextMenuDetail(event,this.host,"bar",this.pointDetailFromHit(hit)))};bindPointerHandlers(){if(this.boundPointerHandlers||!this.host)return;this.host.addEventListener("pointerdown",this.handleZoomPointerDown);this.host.addEventListener("pointermove",this.onPointerMove);this.host.addEventListener("pointerup",this.handleZoomPointerUp);this.host.addEventListener("pointercancel",this.handleZoomPointerCancel);this.host.addEventListener("pointerleave",this.onPointerLeave);this.host.addEventListener("contextmenu",this.onPointContextMenu);this.host.addEventListener("click",this.onPointerClick);this.boundPointerHandlers=true}unbindPointerHandlers(){if(!this.boundPointerHandlers||!this.host)return;this.host.removeEventListener("pointerdown",this.handleZoomPointerDown);this.host.removeEventListener("pointermove",this.onPointerMove);this.host.removeEventListener("pointerup",this.handleZoomPointerUp);this.host.removeEventListener("pointercancel",this.handleZoomPointerCancel);this.host.removeEventListener("pointerleave",this.onPointerLeave);this.host.removeEventListener("contextmenu",this.onPointContextMenu);this.host.removeEventListener("click",this.onPointerClick);this.boundPointerHandlers=false}hitTestInternal(cssX,cssY){const prepared=this.preparedLayout();if(!prepared)return null;for(let si=0;si<prepared.seriesResolved.length;si++){const bars=prepared.bars[si]??[];const s=prepared.seriesResolved[si];for(let i=0;i<bars.length;i++){const r=bars[i];const segment=prepared.layout.segmentByOrder[si]?.[i]??void 0;if(!r||r.width<=0||r.height<=0)continue;if(cssX>=r.x&&cssX<=r.x+r.width&&cssY>=r.y&&cssY<=r.y+r.height){const raw=s.values[i];return{sourceIndex:s.sourceIndex,pointIndex:i,rect:r,value:typeof raw==="number"&&Number.isFinite(raw)?raw:NaN,categoryLabel:this.categoryLabelAt(i),segment:segment??void 0}}}}return null}categoryLabelAt(pointIndex){const axes=this.resolveBarAxesSpec(0);const cats=axes.y.categories;if(cats&&pointIndex>=0&&pointIndex<cats.length)return cats[pointIndex];return void 0}pointDetailFromHit(hit){const anchor=this.hitAnchor(hit);return{seriesIndex:hit.sourceIndex,pointIndex:hit.pointIndex,index:hit.pointIndex,value:hit.value,cssX:anchor.cssX,cssY:anchor.cssY,dataX:hit.value,dataY:hit.pointIndex,seriesId:this.series?.[hit.sourceIndex]?.id,seriesName:this.series?.[hit.sourceIndex]?.name}}tooltipContextFromHit(hit,mode){const seriesEntry=this.series?.[hit.sourceIndex];const anchor=this.hitAnchor(hit);return{seriesIndex:hit.sourceIndex,pointIndex:hit.pointIndex,index:hit.pointIndex,value:hit.value,cssX:anchor.cssX,cssY:anchor.cssY,dataX:hit.value,dataY:hit.pointIndex,seriesId:seriesEntry?.id,seriesName:seriesEntry?.name,categoryLabel:hit.categoryLabel,mode,stackTotal:hit.segment?.groupTotal,stackPercent:hit.segment?.percent}}tooltipDetailFromHit(hit,tooltipSpec=resolveCartesianTooltipSpec(this.tooltip)){const seriesEntry=this.series?.[hit.sourceIndex];const anchor=this.hitAnchor(hit);const label=hit.categoryLabel??String(hit.pointIndex);const valueText=Number.isFinite(hit.value)?Number.isInteger(hit.value)?`${hit.value}`:hit.value.toFixed(2):"—";const defaultText=`${seriesEntry?.name??this.seriesName??""}${seriesEntry?.name||this.seriesName?" · ":""}${label}: ${valueText}`;const context=this.tooltipContextFromHit(hit,tooltipSpec.mode);const seriesTooltip=resolveSeriesTooltipSpec(seriesEntry,resolveSeriesIdentity(seriesEntry,hit.sourceIndex));const effectiveFormat=pickEffectiveTooltipFormatter(tooltipSpec,seriesTooltip);const text=safeChartFormatter(effectiveFormat,[hit.value,context],()=>defaultText,"tooltip.format");const html=safeChartFormatter(tooltipSpec.html,[hit.value,context],()=>void 0,"tooltip.html",tooltipSpec);return{index:hit.pointIndex,seriesIndex:hit.sourceIndex,cssX:anchor.cssX,cssY:anchor.cssY,pointCssX:anchor.cssX,pointCssY:anchor.cssY,anchor:tooltipSpec.side??"right",side:tooltipSpec.side??"right",text,html,context}}showTooltipForHit(frame,hit,tooltipSpec,allowMultiple=false){const point=this.hitAnchor(hit);const anchor=cartesianTooltipAnchor({frame:{plot:frame.plot},hit:point,spec:tooltipSpec});const lockedPosition=this.lockedTooltipPositionForHit(hit,tooltipSpec);const renderedSide=lockedPosition?.side??anchor.side;const renderedAnchor=lockedPosition?this.tooltipAnchorFromPositionLock(lockedPosition.lock,renderedSide,lockedPosition.box,tooltipSpec.offset??10):{cssX:anchor.cssX,cssY:anchor.cssY};const base=this.tooltipDetailFromHit(hit,tooltipSpec);const renderedTooltip={id:this.nextTooltipId++,cssX:renderedAnchor.cssX,cssY:renderedAnchor.cssY,pointCssX:point.cssX,pointCssY:point.cssY,box:lockedPosition?.box,side:renderedSide,text:base.text,html:base.html,className:tooltipSpec.className,style:this.tooltipStyleFromSpec(tooltipSpec),interactive:tooltipSpec.interactive,connector:tooltipSpec.connector,draggable:tooltipSpec.draggable,offset:tooltipSpec.offset,positionLock:lockedPosition?.lock,context:base.context};this.tooltipDrag=void 0;if(allowMultiple&&tooltipSpec.openMode==="multiple"){this.cartesianTooltip=renderedTooltip;this.cartesianTooltips=[...this.cartesianTooltips,renderedTooltip]}else{this.cartesianTooltips=[];this.cartesianTooltip=renderedTooltip}const detail={cssX:renderedAnchor.cssX,cssY:renderedAnchor.cssY,anchor:renderedSide,text:base.text,html:base.html,context:base.context};this.tooltipShow.emit(detail);return detail}tooltipPositionKeyForHit(hit){return`${hit.sourceIndex}:${hit.pointIndex}`}tooltipPositionKeyForContext(context){return`${context.seriesIndex??0}:${context.pointIndex??context.index??0}`}rememberDraggableTooltipPosition(tooltip){if(!tooltip.draggable||!tooltip.positionLock)return;this.draggableTooltipPositions.set(this.tooltipPositionKeyForContext(tooltip.context),{lock:{...tooltip.positionLock},side:tooltip.side,box:tooltip.box})}lockedTooltipPositionForHit(hit,tooltipSpec){if(tooltipSpec.draggable){const memory=this.draggableTooltipPositions.get(this.tooltipPositionKeyForHit(hit));if(!memory)return void 0;return{lock:{...memory.lock},side:memory.side,box:memory.box}}if(!tooltipSpec.interactive||tooltipSpec.openMode==="multiple")return void 0;const tooltip=this.positionedTooltipForRender();if(!tooltip?.box)return void 0;const sameSeries=tooltip.context.seriesIndex===hit.sourceIndex;const samePoint=tooltip.context.pointIndex===hit.pointIndex;if(!sameSeries||!samePoint)return void 0;const lock=this.tooltipTopLeftFromAnchor(tooltip);return lock?{lock,side:tooltip.side,box:tooltip.box}:void 0}tooltipAnchorFromPositionLock(lock,side,box,offset){return box?this.tooltipAnchorFromTopLeft(lock.x,lock.y,box,side,offset):{cssX:lock.x,cssY:lock.y}}tooltipAnchorFromTopLeft(x,y,box,side,offset){if(side==="top")return{cssX:x+box.width/2,cssY:y+box.height+offset};if(side==="bottom")return{cssX:x+box.width/2,cssY:y-offset};if(side==="left")return{cssX:x+box.width+offset,cssY:y+box.height/2};return{cssX:x-offset,cssY:y+box.height/2}}tooltipTopLeftFromAnchor(tooltip){const box=tooltip.box;if(!box)return void 0;const offset=tooltip.offset??10;if(tooltip.side==="top")return{x:tooltip.cssX-box.width/2,y:tooltip.cssY-offset-box.height};if(tooltip.side==="bottom")return{x:tooltip.cssX-box.width/2,y:tooltip.cssY+offset};if(tooltip.side==="left")return{x:tooltip.cssX-offset-box.width,y:tooltip.cssY-box.height/2};return{x:tooltip.cssX+offset,y:tooltip.cssY-box.height/2}}tooltipTopLeftFromElement(element){const rect=element.getBoundingClientRect();const hostRect=this.host.getBoundingClientRect();if(!Number.isFinite(rect.left)||!Number.isFinite(rect.top))return void 0;return{x:rect.left-hostRect.left,y:rect.top-hostRect.top}}measureTooltipBox(){if(this.cartesianTooltips.length>0)return;const tooltip=this.cartesianTooltip;const element=this.tooltipElement;if(!tooltip||!element)return;const rect=element.getBoundingClientRect();if(!Number.isFinite(rect.width)||!Number.isFinite(rect.height))return;const width=Math.round(rect.width*100)/100;const height=Math.round(rect.height*100)/100;if(tooltip.box?.width===width&&tooltip.box?.height===height)return;const box={width,height};const next={...tooltip,box};if(tooltip.positionLock){Object.assign(next,this.tooltipAnchorFromPositionLock(tooltip.positionLock,tooltip.side,box,tooltip.offset??10))}this.rememberDraggableTooltipPosition(next);this.cartesianTooltip=next}handleTooltipActionClick=event=>{const target=event.target;const tooltipTarget=target?.closest?.("[data-tooltip-id]");if(tooltipTarget)event.stopPropagation();const actionTarget=target?.closest?.("[data-tooltip-action]");const action=actionTarget?.dataset.tooltipAction;const tooltipId=Number((actionTarget?.closest?.("[data-tooltip-id]")??tooltipTarget)?.getAttribute("data-tooltip-id"));const tooltip=this.cartesianTooltips.find(entry=>entry.id===tooltipId)??this.cartesianTooltip;if(!action||!tooltip)return;this.tooltipAction.emit({...tooltip.context,action,text:tooltip.text,html:tooltip.html})};handleTooltipPointerDown=event=>{if(!this.cartesianTooltip?.draggable)return;const target=event.target;if(target?.closest?.("[data-tooltip-action],button,a,input,textarea,select"))return;event.preventDefault();event.stopPropagation();const element=event.currentTarget;const renderedTooltip=this.positionedTooltipForRender(this.cartesianTooltip)??this.cartesianTooltip;const lock=this.tooltipTopLeftFromElement(element)??this.tooltipTopLeftFromAnchor(renderedTooltip)??{x:renderedTooltip.cssX,y:renderedTooltip.cssY};const box=this.cartesianTooltip.box??renderedTooltip.box;const next={...this.cartesianTooltip,cssX:renderedTooltip.cssX,cssY:renderedTooltip.cssY,side:renderedTooltip.side,box,positionLock:lock};Object.assign(next,this.tooltipAnchorFromPositionLock(lock,next.side,box,next.offset??10));this.cartesianTooltip=next;this.rememberDraggableTooltipPosition(next);element.setPointerCapture?.(event.pointerId);this.tooltipDrag={pointerId:event.pointerId,startX:event.clientX,startY:event.clientY,originX:next.cssX,originY:next.cssY,originLockX:lock.x,originLockY:lock.y}};handleTooltipPointerMove=event=>{const drag=this.tooltipDrag;if(!drag||drag.pointerId!==event.pointerId||!this.cartesianTooltip)return;event.preventDefault();event.stopPropagation();const lock={x:drag.originLockX+event.clientX-drag.startX,y:drag.originLockY+event.clientY-drag.startY};const next={...this.cartesianTooltip,positionLock:lock};Object.assign(next,this.tooltipAnchorFromPositionLock(lock,next.side,next.box,next.offset??10));this.cartesianTooltip=next;this.rememberDraggableTooltipPosition(next)};handleTooltipPointerUp=event=>{const drag=this.tooltipDrag;if(!drag||drag.pointerId!==event.pointerId)return;event.stopPropagation();if(this.cartesianTooltip)this.rememberDraggableTooltipPosition(this.cartesianTooltip);event.currentTarget.releasePointerCapture?.(event.pointerId);this.tooltipDrag=void 0};tooltipStyleFromSpec(spec){const style={...spec.style??{}};if(spec.width!==void 0)style.width=spec.width;if(spec.minWidth!==void 0)style.minWidth=spec.minWidth;if(spec.maxWidth!==void 0)style.maxWidth=spec.maxWidth;if(spec.padding!==void 0)style.padding=spec.padding;return Object.keys(style).length>0?style:void 0}renderGridOverlay(frame){const{plot,xGridLines,yGridLines}=frame;const xGrid=thinGridLines(xGridLines,"x",plot.width);const yGrid=thinGridLines(yGridLines,"y",plot.height);return h("div",{class:"sy-bar-chart__grid-overlay",style:{position:"absolute",left:"0",top:"0",width:`${frame.outer.width}px`,height:`${frame.outer.height}px`,pointerEvents:"none",zIndex:"0"}},xGrid.map(line=>h("div",{class:"sy-bar-chart__grid-line sy-bar-chart__grid-line--x",style:{position:"absolute",left:`${line.x}px`,top:`${plot.y}px`,width:"1px",height:`${plot.height}px`,background:"var(--sy-axis-grid-color, rgba(0,0,0,0.06))"}})),yGrid.map(line=>h("div",{class:"sy-bar-chart__grid-line sy-bar-chart__grid-line--y",style:{position:"absolute",left:`${plot.x}px`,top:`${line.y}px`,width:`${plot.width}px`,height:"1px",background:"var(--sy-axis-grid-color, rgba(0,0,0,0.06))"}})))}renderAxisOverlay(frame){const{plot,xTicks:xTicksRaw,titleRect,subtitleRect,axes}=frame;const axisColor="var(--sy-axis-line-color, #9ca3af)";const tickLabel=t=>t.label??(Number.isInteger(t.value)?`${t.value}`:t.value.toFixed(2));const categoryLabel=(axis,t)=>{const cats=axis.categories;const idx=Math.round(t.value);if(cats&&idx>=0&&idx<cats.length)return cats[idx];return tickLabel(t)};const xAxisItems=(frame.xAxes.length>0?frame.xAxes:[{key:"0",axis:axes.x,scale:frame.xScale,ticks:xTicksRaw,gridLines:frame.xGridLines,side:axes.x.position==="top"?"top":"bottom",offset:0}]).map(entry=>({...entry,ticks:thinAxisTicks(entry.ticks,{plotSize:plot.width,orientation:"horizontal",format:tickLabel,measureText:(text,size)=>this.axisTextMeasurer(text,size).width}),top:entry.side==="top"}));const yAxisItems=(frame.yAxes.length>0?frame.yAxes:[{key:"0",axis:axes.y,scale:frame.yScale,ticks:frame.yTicks,gridLines:frame.yGridLines,side:"left",offset:0}]).map(entry=>{const right=entry.side==="right";const thinnedTicks=thinAxisTicks(entry.ticks,{plotSize:plot.height,orientation:"vertical",format:t=>categoryLabel(entry.axis,t)});return{...entry,ticks:thinnedTicks,right,offset:entry.offset}});return h("div",{class:"sy-bar-chart__axis-overlay",style:{position:"absolute",left:"0",top:"0",width:`${frame.outer.width}px`,height:`${frame.outer.height}px`,pointerEvents:"none",zIndex:"2"}},xAxisItems.map(axisItem=>h("div",{class:"sy-bar-chart__axis-line sy-bar-chart__axis-line--x","data-axis-key":axisItem.key,style:{position:"absolute",left:`${plot.x}px`,top:`${axisItem.top?plot.y-axisItem.offset:plot.y+plot.height+axisItem.offset}px`,width:`${plot.width}px`,height:"1px",background:axisColor}})),yAxisItems.map(axisItem=>h("div",{class:"sy-bar-chart__axis-line sy-bar-chart__axis-line--y","data-axis-key":axisItem.key,style:{position:"absolute",left:`${axisItem.right?plot.x+plot.width+axisItem.offset:plot.x-axisItem.offset}px`,top:`${plot.y}px`,width:"1px",height:`${plot.height}px`,background:axisColor}})),titleRect&&this.chartTitle&&h("div",{class:"sy-bar-chart__title",style:{position:"absolute",left:`${titleRect.x}px`,top:`${titleRect.y}px`,width:`${titleRect.width}px`,textAlign:"center",font:"600 14px system-ui, sans-serif",color:"var(--sy-axis-color, #111827)"}},this.chartTitle),subtitleRect&&this.chartSubtitle&&h("div",{class:"sy-bar-chart__subtitle",style:{position:"absolute",left:`${subtitleRect.x}px`,top:`${subtitleRect.y}px`,width:`${subtitleRect.width}px`,textAlign:"center",font:"400 12px system-ui, sans-serif",color:"var(--sy-axis-color-muted, #6b7280)"}},this.chartSubtitle),xAxisItems.flatMap(axisItem=>axisItem.ticks.map(t=>h("div",{class:"sy-bar-chart__axis-label sy-bar-chart__axis-label--x","data-axis-key":axisItem.key,style:{position:"absolute",left:`${t.position-28}px`,top:`${axisItem.top?plot.y-18-axisItem.offset:plot.y+plot.height+4+axisItem.offset}px`,width:"56px",textAlign:"center",font:"400 11px system-ui, sans-serif",color:"var(--sy-axis-color, #111827)"}},tickLabel(t)))),yAxisItems.flatMap(axisItem=>axisItem.ticks.map(t=>h("div",{class:"sy-bar-chart__axis-label sy-bar-chart__axis-label--y","data-axis-key":axisItem.key,style:{position:"absolute",left:`${axisItem.right?plot.x+plot.width+4+axisItem.offset:plot.x-46-axisItem.offset}px`,top:`${t.position-7}px`,width:"42px",textAlign:axisItem.right?"left":"right",font:"400 11px system-ui, sans-serif",color:"var(--sy-axis-color, #111827)"}},categoryLabel(axisItem.axis,t)))),xAxisItems.filter(axisItem=>axisItem.axis.label).map(axisItem=>h("div",{class:"sy-bar-chart__axis-title sy-bar-chart__axis-title--x","data-axis-key":axisItem.key,style:{position:"absolute",left:`${plot.x}px`,top:`${axisItem.top?plot.y-40-axisItem.offset:plot.y+plot.height+26+axisItem.offset}px`,width:`${plot.width}px`,textAlign:"center",font:"600 11px system-ui, sans-serif",color:"var(--sy-axis-color, #111827)"}},axisItem.axis.label)),yAxisItems.filter(axisItem=>axisItem.axis.label).map(axisItem=>h("div",{class:"sy-bar-chart__axis-title sy-bar-chart__axis-title--y","data-axis-key":axisItem.key,style:{position:"absolute",left:`${axisItem.right?plot.x+plot.width+52+axisItem.offset:plot.x-52-axisItem.offset}px`,top:`${plot.y+plot.height/2}px`,transform:"translate(-50%, -50%) rotate(-90deg)",font:"600 11px system-ui, sans-serif",color:"var(--sy-axis-color, #111827)",whiteSpace:"nowrap"}},axisItem.axis.label)))}crosshairLineBackground(direction,color,dash){if(!dash||dash.length===0)return color;const first=Number(dash[0]);const second=Number(dash[1]);const mark=Math.max(1,Number.isFinite(first)?first:4);const gap=Math.max(1,Number.isFinite(second)?second:mark);const axis=direction==="vertical"?"to bottom":"to right";return`repeating-linear-gradient(${axis}, ${color} 0px, ${color} ${mark}px, transparent ${mark}px, transparent ${mark+gap}px)`}renderCrosshair(frame){const spec=this.resolvedCrosshairSpec();if(!spec.show||!this.cursor)return null;const color=spec.color??"var(--sy-crosshair-color, rgba(17,24,39,0.6))";const showHorizontal=spec.mode==="horizontal"||spec.mode==="cross";const showVertical=spec.mode==="vertical"||spec.mode==="cross";return h("div",{class:"sy-bar-chart__crosshair",style:{position:"absolute",left:"0",top:"0",width:`${frame.outer.width}px`,height:`${frame.outer.height}px`,pointerEvents:"none"}},showHorizontal&&h("div",{class:"sy-bar-chart__crosshair-line sy-bar-chart__crosshair-line--y",style:{position:"absolute",left:`${frame.plot.x}px`,top:`${Math.round(this.cursor.cssY)}px`,width:`${frame.plot.width}px`,height:"1px",background:this.crosshairLineBackground("horizontal",color,spec.dash)}}),showVertical&&h("div",{class:"sy-bar-chart__crosshair-line sy-bar-chart__crosshair-line--x",style:{position:"absolute",left:`${Math.max(frame.plot.x,Math.min(frame.plot.x+frame.plot.width,Math.round(this.cursor.cssX)))}px`,top:`${frame.plot.y}px`,width:"1px",height:`${frame.plot.height}px`,background:this.crosshairLineBackground("vertical",color,spec.dash)}}))}renderTooltip(){const multiple=this.cartesianTooltips.length>0;const tooltips=multiple?this.cartesianTooltips:[this.positionedTooltipForRender()].filter(tooltip=>Boolean(tooltip));if(tooltips.length===0)return null;return tooltips.map(tooltip=>this.renderTooltipItem(tooltip,!multiple))}renderTooltipItem(tooltip,trackMeasure){const{cssX,cssY,side,text,html:tooltipHtml,className,style:customStyle,interactive,draggable}=tooltip;const offset=tooltip.offset??10;const style={position:"absolute",zIndex:"4",boxSizing:"border-box",width:"max-content",maxWidth:"calc(100% - 16px)",padding:"4px 8px",font:"400 11px system-ui, sans-serif",color:"var(--sy-tooltip-color, #fff)",background:"var(--sy-tooltip-bg, rgba(17,24,39,0.92))",borderRadius:"4px",whiteSpace:"nowrap",pointerEvents:interactive||draggable?"auto":"none",cursor:draggable?this.tooltipDrag?"grabbing":"grab":"default",transform:""};if(tooltip.positionLock){style.left=`${tooltip.positionLock.x}px`;style.top=`${tooltip.positionLock.y}px`;style.transform=""}else if(side==="top"){style.left=`${cssX}px`;style.top=`${cssY-offset}px`;style.transform="translate(-50%, -100%)"}else if(side==="bottom"){style.left=`${cssX}px`;style.top=`${cssY+offset}px`;style.transform="translate(-50%, 0%)"}else if(side==="left"){style.left=`${cssX-offset}px`;style.top=`${cssY}px`;style.transform="translate(-100%, -50%)"}else{style.left=`${cssX+offset}px`;style.top=`${cssY}px`;style.transform="translate(0%, -50%)"}for(const[key,value]of Object.entries(customStyle??{})){style[key]=tooltipCssValue(key,value)}if(tooltipHtml!==void 0){return h("div",{class:tooltipClassName("sy-bar-chart__tooltip",className),"data-tooltip-id":`${tooltip.id}`,ref:trackMeasure?el=>this.tooltipElement=el:void 0,style,role:"tooltip",onClick:this.handleTooltipActionClick,onPointerDown:this.handleTooltipPointerDown,onPointerMove:this.handleTooltipPointerMove,onPointerUp:this.handleTooltipPointerUp,onPointerCancel:this.handleTooltipPointerUp,innerHTML:tooltipHtml})}return h("div",{class:tooltipClassName("sy-bar-chart__tooltip",className),"data-tooltip-id":`${tooltip.id}`,ref:trackMeasure?el=>this.tooltipElement=el:void 0,style,role:"tooltip",onClick:this.handleTooltipActionClick,onPointerDown:this.handleTooltipPointerDown,onPointerMove:this.handleTooltipPointerMove,onPointerUp:this.handleTooltipPointerUp,onPointerCancel:this.handleTooltipPointerUp},text)}renderTooltipConnector(){const tooltips=this.cartesianTooltips.length>0?this.cartesianTooltips:[this.positionedTooltipForRender()].filter(tooltip=>Boolean(tooltip));const connectedTooltips=tooltips.filter(tooltip=>tooltip.connector?.show);if(connectedTooltips.length===0)return null;return h("svg",{class:"sy-bar-chart__tooltip-connector",width:this.width,height:this.height,style:{position:"absolute",left:"0px",top:"0px",width:`${this.width}px`,height:`${this.height}px`,pointerEvents:"none",overflow:"visible",zIndex:"3"},"aria-hidden":"true"},connectedTooltips.map(tooltip=>{const connector=tooltip.connector;const end=tooltipConnectorEnd(tooltip);return h("line",{x1:tooltip.pointCssX,y1:tooltip.pointCssY,x2:end.x,y2:end.y,stroke:connector.color??"var(--sy-tooltip-connector-color, rgba(17,24,39,0.42))","stroke-width":connector.width??1,"stroke-dasharray":connector.dash?.join(" ")})}))}positionedTooltipForRender(tooltip=this.cartesianTooltip){if(!tooltip)return null;if(!tooltip.box||this.tooltipDrag)return tooltip;if(tooltip.positionLock)return tooltip;const offset=tooltip.offset??10;const placement=computeTooltipPlacement({anchor:{kind:"point",x:tooltip.pointCssX,y:tooltip.pointCssY},tooltip:tooltip.box,viewport:{x:0,y:0,width:this.width,height:this.height},preferredSide:tooltip.side,offset,padding:6});const anchor=this.tooltipAnchorFromTopLeft(placement.x,placement.y,tooltip.box,placement.side,offset);return{...tooltip,...anchor,side:placement.side}}renderDataLabels(frame){if(!this.hasExplicitSeries())return null;const prepared=prepareBarRendererLayout({series:this.seriesForRender(),activeSeriesIndex:this.visibleActiveSeriesRenderIndex(),seriesState:this.seriesState,values:this.valuesForRender(),width:this.width,height:this.height,color:this.color,thickness:this.thickness,barPadding:this.barPadding,seriesPadding:this.seriesPadding,baseline:this.baseline,stacking:this.stacking,borderRadius:this.borderRadius,borderScope:this.borderScope,borderColor:this.borderColor,borderWidth:this.borderWidth,borderDashStyle:this.borderDashStyle,visualMap:this.effectiveVisualMap(),plot:frame.plot,xProject:v=>frame.xScale(v),yBandProject:index=>frame.yScale(index-.5)});if(prepared.seriesResolved.length===0)return null;const labels=[];for(let order=0;order<prepared.seriesResolved.length;order++){const resolvedSeries=prepared.seriesResolved[order];const series=this.series?.[resolvedSeries.sourceIndex];const dataLabels=resolveSeriesDataLabels(series);if(!dataLabels.enabled)continue;const identity=resolveSeriesIdentity(series,resolvedSeries.sourceIndex);const bars=prepared.bars[order]??[];for(let pointIndex=0;pointIndex<bars.length;pointIndex++){const bar=bars[pointIndex];if(!bar||bar.width<=0||bar.height<=0)continue;const value=resolvedSeries.values[pointIndex];if(typeof value!=="number"||!Number.isFinite(value))continue;if(dataLabels.filter&&dataLabels.filter({value,pointIndex})===false)continue;const left=bar.x;const right=bar.x+bar.width;const x=dataLabels.align==="left"?left+dataLabels.padding:dataLabels.align==="right"?right-dataLabels.padding:left+bar.width/2;const y=dataLabels.verticalAlign==="top"?bar.y-dataLabels.padding:dataLabels.verticalAlign==="bottom"?bar.y+bar.height+dataLabels.padding:bar.y+bar.height/2;const text=dataLabels.formatter?dataLabels.formatter({value,pointIndex,seriesIndex:resolvedSeries.sourceIndex,seriesId:identity.id,seriesName:identity.name}):typeof dataLabels.format==="string"&&dataLabels.format.length>0?dataLabels.format.replace(/\{value\}/g,String(value)).replace(/\{point\.y\}/g,String(value)):String(value);labels.push({x,y,text,color:dataLabels.color,align:dataLabels.align,verticalAlign:dataLabels.verticalAlign})}}if(labels.length===0)return null;return h("div",{class:"sy-bar-chart__data-labels",style:{position:"absolute",left:"0px",top:"0px",width:`${this.width}px`,height:`${this.height}px`,pointerEvents:"none",zIndex:"2"},"aria-hidden":"true"},labels.map(label=>{const translateX=label.align==="left"?"0%":label.align==="right"?"-100%":"-50%";const translateY=label.verticalAlign==="top"?"-100%":label.verticalAlign==="middle"?"-50%":"0%";return h("span",{class:"sy-bar-chart__data-label",style:{position:"absolute",left:`${label.x}px`,top:`${label.y}px`,transform:`translate(${translateX}, ${translateY})`,font:"400 11px system-ui, sans-serif",color:label.color??"var(--sy-data-label-color, #111827)",whiteSpace:"nowrap"}},label.text)}))}hasExplicitSeries(){return Array.isArray(this.series)&&this.series.length>0}resolveLegendItems(){if(Array.isArray(this.legendItems)&&this.legendItems.length>0){return this.legendItems.map((item,i)=>({label:item.label,swatchColor:item.swatchColor??this.color,swatchShape:item.swatchShape??"square",disabled:isLegendItemDisabled(this.legendToggle,i),seriesIndex:typeof item.seriesIndex==="number"?item.seriesIndex:i,id:item.id}))}if(this.hasExplicitSeries()){const items=[];for(let i=0;i<this.series.length;i++){const series=this.series[i];if(!isSeriesShownInLegend(series))continue;const identity=resolveSeriesIdentity(series,i);items.push({label:identity.name||`Series ${i+1}`,swatchColor:series.color??this.color,swatchShape:"square",disabled:isLegendItemDisabled(this.legendToggle,items.length),seriesIndex:i,id:identity.id})}return items}if(!this.seriesName)return[];return[{label:this.seriesName,swatchColor:this.color,swatchShape:"square",disabled:isLegendItemDisabled(this.legendToggle,0)}]}legendLayoutPadding(){if(this.legendPosition==="top")return{top:BAR_CHART_LEGEND_EDGE_PADDING,right:BAR_CHART_LEGEND_EDGE_PADDING,bottom:BAR_CHART_LEGEND_PLOT_GAP,left:BAR_CHART_LEGEND_EDGE_PADDING};if(this.legendPosition==="bottom")return{top:BAR_CHART_LEGEND_PLOT_GAP,right:BAR_CHART_LEGEND_EDGE_PADDING,bottom:BAR_CHART_LEGEND_EDGE_PADDING,left:BAR_CHART_LEGEND_EDGE_PADDING};if(this.legendPosition==="left")return{top:BAR_CHART_LEGEND_EDGE_PADDING,right:BAR_CHART_LEGEND_PLOT_GAP,bottom:BAR_CHART_LEGEND_EDGE_PADDING,left:BAR_CHART_LEGEND_EDGE_PADDING};if(this.legendPosition==="right")return{top:BAR_CHART_LEGEND_EDGE_PADDING,right:BAR_CHART_LEGEND_EDGE_PADDING,bottom:BAR_CHART_LEGEND_EDGE_PADDING,left:BAR_CHART_LEGEND_PLOT_GAP};return{top:BAR_CHART_LEGEND_FLOAT_PADDING,right:BAR_CHART_LEGEND_FLOAT_PADDING,bottom:BAR_CHART_LEGEND_FLOAT_PADDING,left:BAR_CHART_LEGEND_FLOAT_PADDING}}buildLegendLayout(){if(!this.legend)return null;const items=this.resolveLegendItems();if(items.length===0)return null;if(this.legendToggle.count!==items.length){this.legendToggle=createLegendToggleState(items.length,Array.from(this.legendToggle.disabled))}const layout=computeLegendLayout({outerWidth:this.width,outerHeight:this.height,items,position:this.legendPosition,floatAlign:this.legendFloatAlign,floatVerticalAlign:this.legendFloatVerticalAlign,gap:BAR_CHART_LEGEND_ITEM_GAP,swatchSize:BAR_CHART_LEGEND_SWATCH_SIZE,swatchLabelGap:BAR_CHART_LEGEND_SWATCH_LABEL_GAP,rowGap:BAR_CHART_LEGEND_ROW_GAP,fontSize:BAR_CHART_LEGEND_FONT_SIZE,padding:this.legendLayoutPadding(),color:"var(--sy-axis-color, #111827)"});return{layout,items}}renderLegend(bundle){const{layout,items}=bundle;if(!layout.legendRect)return null;const containerStyle={position:"absolute",left:`${layout.legendRect.x}px`,top:`${layout.legendRect.y}px`,width:`${layout.legendRect.width}px`,height:`${layout.legendRect.height}px`,fontSize:layout.style.fontSize,fontWeight:String(layout.style.fontWeight),fontFamily:layout.style.fontFamily,color:layout.style.color,pointerEvents:"auto",boxSizing:"border-box"};if(this.legendPosition==="float"&&layout.floatBoxStyle){containerStyle.background=layout.floatBoxStyle.background;containerStyle.borderStyle="solid";containerStyle.borderColor=layout.floatBoxStyle.borderColor;containerStyle.borderWidth=`${layout.floatBoxStyle.borderWidth}px`;containerStyle.borderRadius=`${layout.floatBoxStyle.borderRadius}px`;containerStyle.boxShadow=layout.floatBoxStyle.boxShadow}return h("div",{class:"sy-bar-chart__legend",role:"list",style:containerStyle,onClick:e=>this.handleLegendClick(e,layout),onMouseLeave:()=>{if(this.legendHover!==null)this.legendHover=null}},items.map((item,i)=>this.renderLegendItem(item,i,layout.itemRects[i],layout.legendRect)))}renderLegendItem(item,index,rect,parent){if(!rect)return null;const disabled=isLegendItemDisabled(this.legendToggle,index);const hovered=this.legendHover===index;const swatchStyle={flex:"0 0 auto",width:`${BAR_CHART_LEGEND_SWATCH_SIZE}px`,height:`${BAR_CHART_LEGEND_SWATCH_SIZE}px`,background:item.swatchColor,borderRadius:item.swatchShape==="circle"?"50%":"2px"};if(item.swatchShape==="line"){swatchStyle.height="2px";swatchStyle.borderRadius="999px"}return h("div",{role:"listitem","data-legend-index":String(index),class:{"sy-bar-chart__legend-item":true,"sy-bar-chart__legend-item--disabled":disabled,"sy-bar-chart__legend-item--hover":hovered},style:{position:"absolute",left:`${rect.x-parent.x}px`,top:`${rect.y-parent.y}px`,width:`${rect.width}px`,height:`${rect.height}px`,display:"flex",alignItems:"center",gap:`${BAR_CHART_LEGEND_SWATCH_LABEL_GAP}px`,lineHeight:`${BAR_CHART_LEGEND_SWATCH_SIZE}px`,boxSizing:"border-box",whiteSpace:"nowrap",cursor:"pointer",opacity:disabled?"0.45":hovered?"0.85":"1",transition:"opacity 120ms ease-out"},onMouseEnter:()=>{this.legendHover=index}},h("span",{class:"sy-bar-chart__legend-swatch",style:swatchStyle}),h("span",{class:"sy-bar-chart__legend-label",style:{display:"block",color:"inherit",lineHeight:`${BAR_CHART_LEGEND_SWATCH_SIZE}px`,textDecoration:disabled?"line-through":"none"}},item.label))}handleLegendClick(e,layout){if(!layout.legendRect||layout.itemRects.length===0)return;const host=e.target?.closest(".sy-bar-chart__legend");if(!host)return;const hostRect=host.getBoundingClientRect();const pointerX=e.clientX-hostRect.left+layout.legendRect.x;const pointerY=e.clientY-hostRect.top+layout.legendRect.y;const hit=hitTestLegend({legendRect:layout.legendRect,itemRects:layout.itemRects,pointerX,pointerY});if(hit.index===null)return;const items=this.resolveLegendItems();const item=items[hit.index];if(!item)return;const previous=this.normalizedLegendToggle(items.length);const next=toggleLegendItem(previous,hit.index);if(next===previous)return;this.legendToggle=next;const seriesIndex=typeof item.seriesIndex==="number"?item.seriesIndex:hit.index;const target=this.series?.[seriesIndex];const disabled=isLegendItemDisabled(next,hit.index);const identity=resolveSeriesIdentity(target,seriesIndex);this.legendItemClick.emit({index:hit.index,seriesIndex,seriesId:identity.id,seriesName:identity.name,label:item.label,disabled});this.seriesToggled.emit({index:hit.index,seriesIndex,seriesId:identity.id,seriesName:identity.name,disabled});this.invokeSeriesEvent(seriesIndex,"legendItemClick");this.invokeSeriesEvent(seriesIndex,disabled?"hide":"show");if(disabled&&this.hoverHit?.sourceIndex===seriesIndex){this.hoverHit=null;this.cursor=null;this.clearTooltips();this.crosshairMove.emit(null);this.pointHover.emit(null)}this.draw()}render(){const frame=this.computeCartesianLayout();const zoomSpec=this.zoomSpec();return h(Host,{key:"ed245b814ec062858a59b10d8278934e0f8a21ad",style:{position:"relative",display:"inline-block",width:`${this.width}px`,height:`${this.height}px`,touchAction:zoomSpec.enabled&&zoomSpec.pinch?"none":void 0},tabIndex:zoomSpec.enabled&&zoomSpec.keyboard||this.brushKeyboardOn()||this.drawingKeyboardOn()?0:void 0,onKeyDown:this.handleZoomKeyDown,"data-sy-brand-host":"chart"},frame&&this.renderGridOverlay(frame),h("canvas",{key:`sy-bar-canvas-${this.activeTier}`,ref:el=>{const remounted=!!el&&el!==this.canvas;this.canvas=el;if(el){this.canvasTier=this.activeTier;if(remounted)this.draw()}},class:"sy-bar-chart__canvas",width:this.width,height:this.height,style:{position:"absolute",left:"0",top:"0",zIndex:"1"}}),frame&&this.renderAxisOverlay(frame),frame&&this.renderDataLabels(frame),frame&&this.renderCrosshair(frame),frame&&this.renderZoomOverlay(frame),frame&&this.renderBrushOverlay(frame),frame&&this.renderDrawingOverlay(frame),this.renderTooltipConnector(),this.renderTooltip(),frame?.legend&&this.renderLegend(frame.legend),this.fallbackReason&&h("span",{key:"f633593ce50d9d52474878e44cb6f8ce7ae373ea",class:"sy-bar-chart__watermark",title:this.fallbackReason},"Syidax - fell back to standard renderer"),this.degradedReason&&h("span",{key:"5055e83f360067b7602e401d55588ecd72abd373",class:"sy-bar-chart__watermark sy-bar-chart__watermark--degraded",title:this.degradedReason},"Syidax - Pro degraded"),renderChartBrand(this.host,this.brandLogo,{width:this.width,height:this.height,plot:frame?.plot}))}static get watchers(){return{"values":[{"handleValuesChange":0}],"series":[{"handleInputsChange":0},{"handleSeriesChange":0}],"engine":[{"handleInputsChange":0}],"proThreshold":[{"handleInputsChange":0}],"unavailable":[{"handleInputsChange":0}],"color":[{"handleInputsChange":0}],"thickness":[{"handleInputsChange":0}],"barPadding":[{"handleInputsChange":0}],"seriesPadding":[{"handleInputsChange":0}],"baseline":[{"handleInputsChange":0}],"stacking":[{"handleInputsChange":0}],"borderRadius":[{"handleInputsChange":0}],"borderScope":[{"handleInputsChange":0}],"borderColor":[{"handleInputsChange":0}],"borderWidth":[{"handleInputsChange":0}],"borderDashStyle":[{"handleInputsChange":0}],"inactiveOtherPoints":[{"handleInputsChange":0}],"inactivePointOpacity":[{"handleInputsChange":0}],"activeSeriesIndex":[{"handleInputsChange":0}],"seriesState":[{"handleInputsChange":0}],"xAxis":[{"handleInputsChange":0}],"yAxis":[{"handleInputsChange":0}],"chartTitle":[{"handleInputsChange":0}],"chartSubtitle":[{"handleInputsChange":0}],"gridLines":[{"handleInputsChange":0}],"tooltip":[{"handleInputsChange":0}],"crosshair":[{"handleInputsChange":0}],"legend":[{"handleInputsChange":0}],"legendPosition":[{"handleInputsChange":0}],"legendItems":[{"handleInputsChange":0}],"animated":[{"handleAnimationChange":0}],"animationDuration":[{"handleAnimationChange":0}],"animationEasing":[{"handleAnimationChange":0}],"animationType":[{"handleAnimationChange":0}],"streamSource":[{"handleStreamBindingChange":0}],"streamMax":[{"handleStreamBindingChange":0}],"streamWindow":[{"handleStreamWindowChange":0}],"seriesActiveTrigger":[{"handleSeriesActiveTriggerChange":0}],"drawingMode":[{"handleDrawingModeChange":0}],"drawings":[{"onDrawingsProp":0}],"visualMap":[{"onVisualMapProp":0}]}}};SyBarChart.style=syBarChartCss();export{SyBarChart as sy_bar_chart};
@@ -0,0 +1 @@
1
+ import{r as registerInstance,c as createEvent,g as getElement,h,H as Host}from"./index-DChj4qx2.js";import{s as safeChartFormatter,r as reportChartFormatterError}from"./safe-formatter-DO6vGxJP.js";import{a as visualMapExtentOf,v as visualMapColorFn}from"./visual-map-binding-DiSr3bTW.js";import{p as parseColor}from"./parse-EXuVQfpl.js";import{c as chartEngineNeedsLicense,d as resolveChartEngine,i as isChartLicenseEngineCode,g as gpuTierAvailability,G as GPU_PRO_NOT_IN_BUILD_REASON,b as buildChartPointContextMenuDetail}from"./point-context-menu-B6K1arcd.js";import{E as EngineSwapLicense,S as STREAMING_LICENSE_FEATURE,c as ENGINE_LICENSE_FEATURE,d as engineFailureOutcome,f as requestedStreamingInputs,e as engineSwapStatus}from"./engine-swap-license-CwIR5SyJ.js";import{a as applyPlainStreamOp}from"./chart-streaming-gate-CXnkXyxT.js";import{c as capStreamDuration}from"./stream-interp-DTZUbymc.js";import{r as resolveCartesianTooltipSpec,a as resolveCartesianAxesSpec,d as resolveCartesianGridLinesSpec,b as resolveCartesianCrosshairSpec}from"./cartesian-contract-DogpgTFv.js";import{b as cartesianTooltipAnchor,a as computeCartesianFrame}from"./cartesian-frame-interaction-BC4761vn.js";import{a as avoidTooltipCardOverlap,t as tooltipConnectorEnd,c as computeTooltipPlacement}from"./connector-C0f63Npv.js";import{h as renderChartBrand}from"./chart-brand-_HhzGz4E.js";import{Z as ZoomInteraction,r as resolveCartesianZoomSpec}from"./zoom-interaction-DIwGXfJu.js";import{t as thinAxisTicks}from"./axis-label-thinning-S3uzYKsD.js";import"./scheme-BwtrZuf8.js";import"./chart-license-bridge-BuvMRxsm.js";import"./errors-DUELYDa7.js";import"./zoom-window-D6sPnRDQ.js";import"./brand-mark-default-AzDRbG7D.js";const BUBBLE_DEFAULT_PADDING=.05;const BUBBLE_DEFAULT_MIN_RADIUS=4;const BUBBLE_DEFAULT_MAX_RADIUS=28;const BUBBLE_HIT_SLACK_PX=2;function finite$1(v){return typeof v==="number"&&Number.isFinite(v)}function bubbleDatumOf(input){if(!input)return null;if(Array.isArray(input)){const[x,y,z,name]=input;if(!finite$1(x)||!finite$1(y)||!finite$1(z))return null;return{x,y,z,name:typeof name==="string"&&name!==""?name:null,color:null}}const o=input;if(!finite$1(o.x)||!finite$1(o.y)||!finite$1(o.z))return null;return{x:o.x,y:o.y,z:o.z,name:typeof o.name==="string"&&o.name!==""?o.name:null,color:typeof o.color==="string"&&o.color!==""?o.color:null}}function resolveBubblePoints(data,streamEntries=[]){const out=[];const push=(list,source)=>{if(!Array.isArray(list))return;for(const raw of list){const datum=bubbleDatumOf(raw);if(datum)out.push({index:out.length,...datum,source})}};push(data,"data");push(streamEntries,"stream");return out}function bubbleNameOf(point,index){return point.name??`#${index+1}`}function bubbleExtent(points){if(points.length===0)return{points:0,xMin:Number.NaN,xMax:Number.NaN,yMin:Number.NaN,yMax:Number.NaN,zMin:Number.NaN,zMax:Number.NaN};let xMin=Infinity,xMax=-Infinity,yMin=Infinity,yMax=-Infinity,zMin=Infinity,zMax=-Infinity;for(const p of points){if(p.x<xMin)xMin=p.x;if(p.x>xMax)xMax=p.x;if(p.y<yMin)yMin=p.y;if(p.y>yMax)yMax=p.y;if(p.z<zMin)zMin=p.z;if(p.z>zMax)zMax=p.z}return{points:points.length,xMin,xMax,yMin,yMax,zMin,zMax}}function axisDomain(lo,hi,min,max,padding){let a=finite$1(min)?min:Number.isFinite(lo)?lo:0;let b=finite$1(max)?max:Number.isFinite(hi)?hi:1;if(!finite$1(min)&&!finite$1(max)&&Number.isFinite(lo)&&Number.isFinite(hi)){const span=hi-lo;if(span>0){a=lo-span*padding;b=hi+span*padding}else{a=lo-1;b=hi+1}}else if(finite$1(min)&&!finite$1(max)&&b<=a)b=a+1;else if(!finite$1(min)&&finite$1(max)&&a>=b)a=b-1;if(b<=a)b=a+1;return[a,b]}function resolveBubbleDomain(input){const padding=finite$1(input.padding)&&input.padding>=0?input.padding:BUBBLE_DEFAULT_PADDING;const[xMin,xMax]=axisDomain(input.extent.xMin,input.extent.xMax,input.xMin,input.xMax,padding);const[yMin,yMax]=axisDomain(input.extent.yMin,input.extent.yMax,input.yMin,input.yMax,padding);return{xMin,xMax,yMin,yMax}}function resolveBubbleSizeScale(value){return value==="radius"?"radius":"area"}function resolveBubbleRadiusScale(input){const minPx=Math.max(0,finite$1(input.minPx)?input.minPx:BUBBLE_DEFAULT_MIN_RADIUS);const maxPx=Math.max(minPx,finite$1(input.maxPx)?input.maxPx:BUBBLE_DEFAULT_MAX_RADIUS);const zMin=finite$1(input.zMin)?input.zMin:Number.isFinite(input.extent.zMin)?input.extent.zMin:0;const zMax=finite$1(input.zMax)?input.zMax:Number.isFinite(input.extent.zMax)?input.extent.zMax:zMin;return{zMin,zMax:Math.max(zMin,zMax),minPx,maxPx,scale:resolveBubbleSizeScale(input.scale)}}function bubbleRadiusPx(z,scale){const span=scale.zMax-scale.zMin;if(!(span>0))return(scale.minPx+scale.maxPx)/2;const t=Math.max(0,Math.min(1,(z-scale.zMin)/span));if(scale.scale==="radius")return scale.minPx+t*(scale.maxPx-scale.minPx);return Math.sqrt(scale.minPx*scale.minPx+t*(scale.maxPx*scale.maxPx-scale.minPx*scale.minPx))}function nearestBubbleIndex(count,centreOf,radiusOf,cssX,cssY,slackPx=BUBBLE_HIT_SLACK_PX){let best=-1;let bestRadius=Infinity;for(let i=0;i<count;i+=1){const[cx,cy]=centreOf(i);const r=radiusOf(i);const d=Math.hypot(cssX-cx,cssY-cy);if(d<=r+slackPx&&r<=bestRadius){best=i;bestRadius=r}}return best}const BUBBLE_RECORD_FLOATS=8;function packBubbleRecords(input){const count=input.points.length;const needed=count*BUBBLE_RECORD_FLOATS;const records=input.out&&input.out.length>=needed?input.out:new Float32Array(Math.max(needed,BUBBLE_RECORD_FLOATS));let colored=0;for(let i=0;i<count;i+=1){const p=input.points[i];const base=i*BUBBLE_RECORD_FLOATS;records[base]=p.x;records[base+1]=p.y;records[base+2]=p.z;const color=input.colorOf?input.colorOf(i):null;if(color){colored+=1;records[base+3]=1;records[base+4]=color[0];records[base+5]=color[1];records[base+6]=color[2];records[base+7]=color[3]}else{records[base+3]=0;records[base+4]=0;records[base+5]=0;records[base+6]=0;records[base+7]=0}}if(count===0)records.fill(0,0,BUBBLE_RECORD_FLOATS);return{records,count,colored}}function place(b,a,c){const dx=b.x-a.x;const dy=b.y-a.y;const d2=dx*dx+dy*dy;if(d2){let a2=a.r+c.r;a2*=a2;let b2=b.r+c.r;b2*=b2;if(a2>b2){const x=(d2+b2-a2)/(2*d2);const y=Math.sqrt(Math.max(0,b2/d2-x*x));c.x=b.x-x*dx-y*dy;c.y=b.y-x*dy+y*dx}else{const x=(d2+a2-b2)/(2*d2);const y=Math.sqrt(Math.max(0,a2/d2-x*x));c.x=a.x+x*dx-y*dy;c.y=a.y+x*dy+y*dx}}else{c.x=a.x+c.r;c.y=a.y}}function intersects(a,b){const dr=a.r+b.r-1e-6;const dx=b.x-a.x;const dy=b.y-a.y;return dr>0&&dr*dr>dx*dx+dy*dy}function score(node){const a=node.c;const b=node.next.c;const ab=a.r+b.r;const dx=(a.x*b.r+b.x*a.r)/ab;const dy=(a.y*b.r+b.y*a.r)/ab;return dx*dx+dy*dy}function enclosesNot(a,b){const dr=a.r-b.r;const dx=b.x-a.x;const dy=b.y-a.y;return dr<0||dr*dr<dx*dx+dy*dy}function enclosesWeak(a,b){const dr=a.r-b.r+Math.max(a.r,b.r,1)*1e-9;const dx=b.x-a.x;const dy=b.y-a.y;return dr>0&&dr*dr>dx*dx+dy*dy}function enclosesWeakAll(a,B){for(let i=0;i<B.length;i+=1)if(!enclosesWeak(a,B[i]))return false;return true}function encloseBasis2(a,b){const x1=a.x,y1=a.y,r1=a.r,x2=b.x,y2=b.y,r2=b.r;const x21=x2-x1,y21=y2-y1,r21=r2-r1;const l=Math.sqrt(x21*x21+y21*y21);return{x:(x1+x2+x21/l*r21)/2,y:(y1+y2+y21/l*r21)/2,r:(l+r1+r2)/2}}function encloseBasis3(a,b,c){const x1=a.x,y1=a.y,r1=a.r,x2=b.x,y2=b.y,r2=b.r,x3=c.x,y3=c.y,r3=c.r;const a2=x1-x2,a3=x1-x3,b2=y1-y2,b3=y1-y3,c2=r2-r1,c3=r3-r1;const d1=x1*x1+y1*y1-r1*r1;const d2=d1-x2*x2-y2*y2+r2*r2;const d3=d1-x3*x3-y3*y3+r3*r3;const ab=a3*b2-a2*b3;const xa=(b2*d3-b3*d2)/(ab*2)-x1;const xb=(b3*c2-b2*c3)/ab;const ya=(a3*d2-a2*d3)/(ab*2)-y1;const yb=(a2*c3-a3*c2)/ab;const A=xb*xb+yb*yb-1;const B=2*(r1+xa*xb+ya*yb);const C=xa*xa+ya*ya-r1*r1;const r=-(Math.abs(A)>1e-6?(B+Math.sqrt(B*B-4*A*C))/(2*A):C/B);return{x:x1+xa+xb*r,y:y1+ya+yb*r,r}}function encloseBasis(B){if(B.length===1)return{x:B[0].x,y:B[0].y,r:B[0].r};if(B.length===2)return encloseBasis2(B[0],B[1]);return encloseBasis3(B[0],B[1],B[2])}function extendBasis(B,p){if(enclosesWeakAll(p,B))return[p];for(let i=0;i<B.length;i+=1){if(enclosesNot(p,B[i])&&enclosesWeakAll(encloseBasis2(B[i],p),B))return[B[i],p]}for(let i=0;i<B.length-1;i+=1){for(let j=i+1;j<B.length;j+=1){if(enclosesNot(encloseBasis2(B[i],B[j]),p)&&enclosesNot(encloseBasis2(B[i],p),B[j])&&enclosesNot(encloseBasis2(B[j],p),B[i])&&enclosesWeakAll(encloseBasis3(B[i],B[j],p),B)){return[B[i],B[j],p]}}}throw new Error("[bubble-pack] the enclosing basis could not be extended")}function encloseFallback(circles){let xMin=Infinity,xMax=-Infinity,yMin=Infinity,yMax=-Infinity;for(const c of circles){xMin=Math.min(xMin,c.x-c.r);xMax=Math.max(xMax,c.x+c.r);yMin=Math.min(yMin,c.y-c.r);yMax=Math.max(yMax,c.y+c.r)}const x=(xMin+xMax)/2;const y=(yMin+yMax)/2;let r=0;for(const c of circles)r=Math.max(r,Math.hypot(c.x-x,c.y-y)+c.r);return{x,y,r}}function encloseCircles(circles){if(circles.length===0)return{x:0,y:0,r:0};try{let i=0;let B=[];let e;while(i<circles.length){const p=circles[i];if(e&&enclosesWeak(e,p))i+=1;else{B=extendBasis(B,p);e=encloseBasis(B);i=0}}return e??{x:0,y:0,r:0}}catch{return encloseFallback(circles)}}function packSiblings(circles){const n=circles.length;if(n===0)return 0;const first=circles[0];first.x=0;first.y=0;if(n===1)return first.r;const second=circles[1];first.x=-second.r;second.x=first.r;second.y=0;if(n===2)return first.r+second.r;let c=circles[2];place(second,first,c);let a={c:first};let b={c:second};let nc={c};a.next=nc.previous=b;b.next=a.previous=nc;nc.next=b.previous=a;pack:for(let i=3;i<n;i+=1){c=circles[i];place(a.c,b.c,c);const node={c};let j=b.next;let k=a.previous;let sj=b.c.r;let sk=a.c.r;do{if(sj<=sk){if(intersects(j.c,node.c)){b=j;a.next=b;b.previous=a;i-=1;continue pack}sj+=j.c.r;j=j.next}else{if(intersects(k.c,node.c)){a=k;a.next=b;b.previous=a;i-=1;continue pack}sk+=k.c.r;k=k.previous}}while(j!==k.next);node.previous=a;node.next=b;a.next=b.previous=b=node;let oa=score(a);let cursor2=node;while((cursor2=cursor2.next)!==b){const ca=score(cursor2);if(ca<oa){a=cursor2;oa=ca}}b=a.next}const chain=[b.c];let cursor=b;while((cursor=cursor.next)!==b)chain.push(cursor.c);const e=encloseCircles(chain);for(const circle of circles){circle.x-=e.x;circle.y-=e.y}return e.r}function packBubbleCircles(radii,padding=0){const half=Math.max(0,Number.isFinite(padding)?padding:0)/2;const circles=radii.map(r=>({x:0,y:0,r:(Number.isFinite(r)&&r>0?r:0)+half}));const enclosingR=packSiblings(circles);return{circles:circles.map(c=>({x:c.x,y:c.y,r:c.r-half})),enclosing:{x:0,y:0,r:Math.max(0,enclosingR-half)}}}function resolveBubblePackFit(value){return value==="fill"?"fill":"contain"}function fitBubblePack(pack,plot,options={}){const fit=resolveBubblePackFit(options.fit);const margin=Math.max(0,Number.isFinite(options.margin)?options.margin:0);const available=Math.max(1,Math.min(plot.width,plot.height)/2-margin);let scale=pack.enclosing.r>0?available/pack.enclosing.r:1;if(fit==="contain")scale=Math.min(1,scale);const cx=plot.width/2;const cy=plot.height/2;return{scale,circles:pack.circles.map(c=>({x:cx+c.x*scale,y:cy+c.y*scale,r:c.r*scale})),enclosing:{x:cx,y:cy,r:pack.enclosing.r*scale}}}function heatmapRgbaOf(css){if(typeof css!=="string")return null;const parsed=parseColor(css);if(!parsed)return null;return[parsed.r/255,parsed.g/255,parsed.b/255,parsed.a]}function heatmapVisualMapKey(snapshot){if(snapshot.type==="piecewise"){return`vm:piecewise|${snapshot.min}|${snapshot.max}|${snapshot.outOfRangeColor}|${snapshot.pieces.map(piece=>`${piece.min??""}~${piece.max??""}~${piece.value??""}~${piece.color}`).join(",")}|${snapshot.selected?snapshot.selected.map(on=>on?1:0).join(""):"all"}`}return`vm:continuous|${snapshot.min}|${snapshot.max}|${snapshot.space}|${snapshot.outOfRangeColor}|${snapshot.stops.map(stop=>`${stop.t}~${stop.color}`).join(",")}|${snapshot.range?`${snapshot.range.min}..${snapshot.range.max}`:"full"}`}function resolveBubbleShading(value){return value==="sphere"?"sphere":"flat"}function bubbleDimensionValue(point,dimension="value"){switch(dimension){case"value":case"z":return point.z;case"x":return point.x;case"y":return point.y;case"index":return point.index;default:return null}}function bubbleVisualExtent(points,dimension="value"){return visualMapExtentOf(points.map(p=>bubbleDimensionValue(p,dimension)))}function bubbleVisualMapKey(binding){return`${heatmapVisualMapKey(binding)}|${binding.dimension??"value"}`}function finite(v){return typeof v==="number"&&Number.isFinite(v)}function resolveBubbleColors(input){const alpha=Math.max(0,Math.min(1,finite(input.fillAlpha)?input.fillAlpha:1));const binding=input.visualMap??null;const colorFn=visualMapColorFn(binding);const dimension=binding?.dimension??"value";const cache=new Map;const parse=css=>{let hit=cache.get(css);if(hit===void 0){const rgba=heatmapRgbaOf(css);hit=rgba?[rgba[0],rgba[1],rgba[2],rgba[3]*alpha]:null;cache.set(css,hit)}return hit};const resolved=input.points.map(p=>{if(p.color){const own=parse(p.color);if(own)return own}if(!colorFn)return null;const value=bubbleDimensionValue(p,dimension);if(value===null)return null;return parse(colorFn(value,p.index))});let count=0;for(const c of resolved)if(c)count+=1;return{key:input.key??`${input.points.length}|${binding?bubbleVisualMapKey(binding):"none"}|${alpha}`,count,colorOf:index=>resolved[index]??null}}const BUBBLE_DEFAULT_PRO_THRESHOLD=5e4;const BUBBLE_PRO_UNAVAILABLE_REASON="Pro renderer unavailable";function resolverInput(options,entitlement){const moduleAvailable=options.moduleAvailable??true;return{requested:options.requested,engineClass:"engine-swap",entitlement,gpuAvailable:options.proAvailable===true,moduleAvailable,hasStandardRenderer:true,dataSize:Number.isFinite(options.pointCount)&&options.pointCount>=0?options.pointCount:0,proThreshold:options.proThreshold,defaultProThreshold:BUBBLE_DEFAULT_PRO_THRESHOLD,autoWantsPro:options.keepPro===true?true:void 0,onUnavailable:options.onUnavailable,moduleReason:options.proUnavailableReason||BUBBLE_PRO_UNAVAILABLE_REASON,gpuReason:options.proUnavailableReason||BUBBLE_PRO_UNAVAILABLE_REASON}}function bubbleEngineNeedsLicense(options){return chartEngineNeedsLicense(resolverInput(options,"pending"))}function pickBubbleEngine(options){const entitlement=bubbleEngineNeedsLicense(options)?options.entitlement??"pending":"pending";const resolution=resolveChartEngine(resolverInput(options,entitlement));if(resolution.effective==="pro")return{tier:"pro",code:resolution.code,licenseConsulted:resolution.licenseConsulted};if(resolution.code==="ok"||resolution.code==="auto-standard")return{tier:"standard",code:resolution.code,licenseConsulted:resolution.licenseConsulted};const reason=resolution.reason??BUBBLE_PRO_UNAVAILABLE_REASON;if(isChartLicenseEngineCode(resolution.code))return{tier:"standard",code:resolution.code,licenseReason:reason,licenseConsulted:true};if(resolution.shouldThrow)throw new Error(`[Syidax] sy-bubble-chart: Pro renderer unavailable — ${reason}`);if(resolution.requested==="pro")console.warn(`[Syidax] sy-bubble-chart: Pro renderer unavailable, falling back to Standard (${reason}).`);else console.info(`[Syidax] sy-bubble-chart: auto mode wanted Pro but Pro is unavailable - ${reason}. Staying on Standard.`);return{tier:"standard",code:resolution.code,fallbackReason:reason,licenseConsulted:resolution.licenseConsulted}}function createBubbleStreamSource(){const error=new Error("Dedicated streaming requires @syidax/advanced-pro");error.code="module-missing";error.feature="chart.streaming";throw error}function clamp01$1(value){if(!Number.isFinite(value)||value<=0)return 0;if(value>=1)return 1;return value}function interpolateBubbleDisplay(from,to,t){const tt=clamp01$1(t);const count=Math.max(from.length,to.length);const out=new Array(count);for(let i=0;i<count;i+=1){const a=from[i];const b=to[i];if(a&&b)out[i]={x:a.x+(b.x-a.x)*tt,y:a.y+(b.y-a.y)*tt,r:Math.max(0,a.r+(b.r-a.r)*tt),color:b.color};else if(b)out[i]={x:b.x,y:b.y,r:Math.max(0,b.r*tt),color:b.color};else out[i]={x:a.x,y:a.y,r:Math.max(0,a.r*(1-tt)),color:a.color}}return out}function packBubbleDisplayRecords(input){const count=input.display.length;const needed=count*BUBBLE_RECORD_FLOATS;const records=input.out&&input.out.length>=needed?input.out:new Float32Array(Math.max(needed,BUBBLE_RECORD_FLOATS));const flip=typeof input.flipHeight==="number"&&Number.isFinite(input.flipHeight);let colored=0;for(let i=0;i<count;i+=1){const d=input.display[i];const base=i*BUBBLE_RECORD_FLOATS;records[base]=d.x;records[base+1]=flip?input.flipHeight-d.y:d.y;records[base+2]=Number.isFinite(d.r)&&d.r>0?d.r:0;const color=d.color;if(color){colored+=1;records[base+3]=1;records[base+4]=color[0];records[base+5]=color[1];records[base+6]=color[2];records[base+7]=color[3]}else{records[base+3]=0;records[base+4]=0;records[base+5]=0;records[base+6]=0;records[base+7]=0}}if(count===0)records.fill(0,0,BUBBLE_RECORD_FLOATS);return{records,count,colored}}const BUBBLE_RENDER_DEFAULT_MIN_RADIUS=4;const BUBBLE_RENDER_DEFAULT_MAX_RADIUS=28;const BUBBLE_PROJECTION_MIN_SPAN=1e-9;function finitePx$1(value,fallback){return typeof value==="number"&&Number.isFinite(value)&&value>=0?value:fallback}function bubbleRadiusMode(radius,lane){if(lane==="px")return 2;return radius.scale==="radius"?1:0}function bubbleRenderRadiusRange(radius){const minPx=finitePx$1(radius.minPx,BUBBLE_RENDER_DEFAULT_MIN_RADIUS);const maxPx=Math.max(minPx,finitePx$1(radius.maxPx,BUBBLE_RENDER_DEFAULT_MAX_RADIUS));return{minPx,maxPx}}function bubbleDeviceRadius(radius,scaleX){const{minPx,maxPx}=bubbleRenderRadiusRange(radius);return{zMin:radius.zMin,zMax:radius.zMax,minPx:minPx*scaleX,maxPx:maxPx*scaleX}}function bubbleRadiusDevicePx(z,radius,mode,scale){if(mode===2)return Math.max(z,0)*scale;const minR=radius.minPx;const maxR=radius.maxPx;const span=radius.zMax-radius.zMin;if(!(span>0))return(minR+maxR)*.5;const t=Math.max(0,Math.min(1,(z-radius.zMin)/span));if(mode===1)return minR+t*(maxR-minR);return Math.sqrt(minR*minR+t*(maxR*maxR-minR*minR))}function projectBubble(rec,project,plot,radius){const tx=(rec.x-project.xMin)/Math.max(project.xMax-project.xMin,BUBBLE_PROJECTION_MIN_SPAN);const ty=(rec.y-project.yMin)/Math.max(project.yMax-project.yMin,BUBBLE_PROJECTION_MIN_SPAN);return{cx:tx*plot.width*plot.scaleX,cy:(1-ty)*plot.height*plot.scaleY,r:bubbleRadiusDevicePx(rec.z,radius,radius.mode,plot.scaleX)}}function bubbleSphereLight(hl,strength){const edge=1.35;const x=Math.max(0,Math.min(1,hl/edge));const smooth=x*x*(3-2*x);return 1+strength*(.35-.9*smooth)}const BUBBLE_SPHERE_STOPS=9;const TAU=Math.PI*2;function unit(v){return Math.max(0,Math.min(1,Number.isFinite(v)?v:0))}function cssRgba(rgba,light=1){const lane=v=>Math.round(unit(unit(v)*light)*255);return`rgba(${lane(rgba[0])}, ${lane(rgba[1])}, ${lane(rgba[2])}, ${Math.round(unit(rgba[3])*1e3)/1e3})`}function finitePx(value,fallback){return typeof value==="number"&&Number.isFinite(value)&&value>=0?value:fallback}class BubbleStandardRenderer{canvas;context;destroyed=false;constructor(canvas){this.canvas=canvas}async init(_isCurrent,_onRecovery){this.destroyed=false}maxPoints(){return Number.POSITIVE_INFINITY}destroy(){this.destroyed=true;const ctx=this.context;this.context=void 0;if(!ctx)return;try{ctx.setTransform(1,0,0,1,0,0);ctx.clearRect(0,0,this.canvas.width,this.canvas.height)}catch{}}ctx(){if(this.context===void 0)this.context=this.canvas.getContext("2d")??null;return this.context}draw(input){const points=Math.max(0,Math.min(Math.floor(input.points),Math.floor(input.records.length/BUBBLE_RECORD_FLOATS)));const ctx=this.destroyed?null:this.ctx();if(!ctx)return{points,drawn:0,renderMs:0};const start=typeof performance!=="undefined"?performance.now():0;const cssWidth=Math.max(1,input.width);const cssHeight=Math.max(1,input.height);const dpr=typeof window!=="undefined"&&Number.isFinite(window.devicePixelRatio)?Math.max(1,window.devicePixelRatio):1;const observed=input.observedPixelSize;const pxWidth=observed&&observed.width>0?Math.max(1,Math.round(observed.width)):Math.max(1,Math.round(cssWidth*dpr));const pxHeight=observed&&observed.height>0?Math.max(1,Math.round(observed.height)):Math.max(1,Math.round(cssHeight*dpr));if(this.canvas.width!==pxWidth)this.canvas.width=pxWidth;if(this.canvas.height!==pxHeight)this.canvas.height=pxHeight;const scaleX=pxWidth/cssWidth;const scaleY=pxHeight/cssHeight;ctx.setTransform(1,0,0,1,0,0);ctx.globalAlpha=1;ctx.clearRect(0,0,pxWidth,pxHeight);const range=bubbleRenderRadiusRange(input.radius);const mode=bubbleRadiusMode(input.radius,input.radiusLane);const radius={...bubbleDeviceRadius(input.radius,scaleX),mode};const plot={width:cssWidth,height:cssHeight,scaleX,scaleY};const borderPx=finitePx(input.borderPx,1)*scaleX;const reveal=unit(Number.isFinite(input.reveal)?input.reveal:1);const activeIndex=Number.isInteger(input.activeIndex)&&input.activeIndex>=0?input.activeIndex:-1;const shading=input.shading==="sphere"?"sphere":"flat";const shadeStrength=unit(Number.isFinite(input.shadeStrength)?input.shadeStrength:1);const borderAuto=input.borderAuto===true;const records=input.records;const fillCss=cssRgba(input.fillColor);const accentCss=cssRgba(input.activeColor);const borderCss=cssRgba(input.borderColor);ctx.globalAlpha=reveal;const drawOne=index=>{const base=index*BUBBLE_RECORD_FLOATS;const disc=projectBubble({x:records[base],y:records[base+1],z:records[base+2]},input.project,plot,radius);if(!(disc.r>0)||!Number.isFinite(disc.cx)||!Number.isFinite(disc.cy))return;const owned=records[base+3]>.5;const own=[records[base+4],records[base+5],records[base+6],records[base+7]];const active=index===activeIndex;const fillRgba=active?input.activeColor:owned?own:input.fillColor;const inner=borderPx>0?Math.max(0,disc.r-borderPx):disc.r;if(inner>0){if(shading==="sphere"){const r=Math.max(disc.r,1);const gradient=ctx.createRadialGradient(disc.cx-.35*r,disc.cy-.35*r,0,disc.cx-.35*r,disc.cy-.35*r,1.35*r);for(let s=0;s<BUBBLE_SPHERE_STOPS;s+=1){const offset=s/(BUBBLE_SPHERE_STOPS-1);gradient.addColorStop(offset,cssRgba(fillRgba,bubbleSphereLight(offset*1.35,shadeStrength)))}ctx.fillStyle=gradient}else{ctx.fillStyle=active?accentCss:owned?cssRgba(own):fillCss}ctx.beginPath();ctx.arc(disc.cx,disc.cy,inner,0,TAU);ctx.fill()}const ring=disc.r-inner;if(ring>0){ctx.strokeStyle=owned&&borderAuto?cssRgba([own[0],own[1],own[2],1]):borderCss;ctx.lineWidth=ring;ctx.beginPath();ctx.arc(disc.cx,disc.cy,inner+ring/2,0,TAU);ctx.stroke()}};for(let i=0;i<points;i+=1)if(i!==activeIndex)drawOne(i);if(activeIndex>=0&&activeIndex<points)drawOne(activeIndex);ctx.globalAlpha=1;return{points,drawn:points,renderMs:(typeof performance!=="undefined"?performance.now():0)-start,bubble:{points,drawn:points,bytes:0,uploaded:0,full:true,version:input.version,minRadiusPx:range.minPx,maxRadiusPx:range.maxPx,activeIndex,shading}}}}const hasBubbleProRenderer=false;function applyHeatmapEasing(t,easing){const x=clamp01(t);switch(easing){case"linear":return x;case"ease-out":return 1-(1-x)*(1-x)*(1-x);case"ease-in":return x*x*x;case"ease-in-out":return x<.5?4*x*x*x:1-Math.pow(-2*x+2,3)/2;default:return x}}function clamp01(value){if(!Number.isFinite(value)||value<=0)return 0;if(value>=1)return 1;return value}function createHeatmapAnimator(){const entries=new Map;function elapsed(entry,now){if(entry.startedAt<0)return entry.pausedElapsed;if(entry.paused)return entry.pausedElapsed;return Math.max(0,now-entry.startedAt+entry.pausedElapsed)}function rawProgress(entry,now){if(entry.duration<=0)return 1;return clamp01(elapsed(entry,now)/entry.duration)}return{start(key,opts){entries.set(key,{startedAt:-1,pausedElapsed:0,paused:false,duration:Math.max(0,opts.duration),easing:opts.easing})},progressAt(key,now){const entry=entries.get(key);if(!entry)return void 0;if(entry.startedAt<0&&!entry.paused)entry.startedAt=now;return applyHeatmapEasing(rawProgress(entry,now),entry.easing)},has(key){return entries.has(key)},isActive(key,now){const entry=entries.get(key);if(!entry)return false;if(entry.paused)return true;return rawProgress(entry,now)<1},tick(now){const done=[];for(const[key,entry]of entries){if(entry.startedAt<0&&!entry.paused)entry.startedAt=now;if(entry.paused)continue;if(rawProgress(entry,now)>=1)done.push(key)}for(const key of done)entries.delete(key)},pauseAll(now){for(const entry of entries.values()){if(entry.paused)continue;if(entry.startedAt>=0)entry.pausedElapsed+=now-entry.startedAt;entry.paused=true}},resumeAll(now){for(const entry of entries.values()){if(!entry.paused)continue;entry.startedAt=now;entry.paused=false}},hasActive(){for(const entry of entries.values())if(!entry.paused)return true;return false},cancel(key){entries.delete(key)},clear(){entries.clear()},entries(){return entries}}}function cloneContext(context){return{...context,...context.geoMap?{geoMap:structuredClone(context.geoMap)}:{},...context.gantt?{gantt:structuredClone(context.gantt)}:{},...context.parallelCoordinates?{parallelCoordinates:structuredClone(context.parallelCoordinates)}:{},...context.surface3d?{surface3d:structuredClone(context.surface3d)}:{},...context.scatter3d?{scatter3d:structuredClone(context.scatter3d)}:{},...context.bar3d?{bar3d:structuredClone(context.bar3d)}:{},...context.themeRiver?{themeRiver:structuredClone(context.themeRiver)}:{}}}function round2(v){return Math.round(v*100)/100}function cssValue(property,value){if(typeof value!=="number")return value;const unitless=new Set(["lineHeight","opacity","zIndex","fontWeight","flex","flexGrow","flexShrink","order"]);return unitless.has(property)?String(value):`${value}px`}class CellTooltipController{host;className;current=null;pinned=[];drag;nextId=1;memory=new Map;constructor(host,className="sy-cell__tooltip"){this.host=host;this.className=className}resolveSpec(input,enabled){const spec=resolveCartesianTooltipSpec(input);if(input===void 0&&!enabled)return{...spec,show:false};return spec}get visible(){return this.current!==null||this.pinned.length>0}get single(){return this.current}shouldShowOnHover(spec){return spec.trigger!=="click"}shouldShowOnClick(spec){return spec.trigger==="click"||spec.trigger==="hover-click"}shouldHideOnLeave(spec){if(!spec.show)return true;if(spec.draggable||spec.trigger==="click")return false;return spec.hideOnLeave!==false}clear(){if(!this.visible)return;this.drag=void 0;this.current=null;this.pinned=[];this.host.emitHide();this.host.requestRender()}show(plot,cell,spec,allowMultiple=false,retained){const multiple=allowMultiple&&spec.openMode==="multiple";const key=cell.key??cell.index;const existing=multiple?this.pinned.find(item=>item.key===key):this.current?.key===key?this.current:void 0;const previous=existing??(retained?.key===key?retained:void 0);const rendered=this.renderedFor(plot,cell,spec,previous);this.drag=void 0;if(multiple){this.current=rendered;this.pinned=existing?this.pinned.map(item=>item.id===existing.id?rendered:item):[...this.pinned,rendered]}else{this.pinned=[];this.current=rendered}const detail={cssX:rendered.cssX,cssY:rendered.cssY,anchor:rendered.side,text:rendered.text,html:rendered.html,context:cloneContext(rendered.context)};this.host.emitShow(detail);this.host.requestRender();return detail}capture(key){const item=this.pinned.find(card=>card.key===key)??(this.current?.key===key?this.current:void 0);return item?{...item,bounds:item.bounds?{...item.bounds}:void 0,context:cloneContext(item.context),box:item.box?{...item.box}:void 0,positionLock:item.positionLock?{...item.positionLock}:void 0,style:item.style?{...item.style}:void 0,connector:item.connector?{...item.connector}:void 0}:void 0}reconcile(plot,resolve){const resolved=new Map;const find=key=>{if(!resolved.has(key))resolved.set(key,resolve(key));return resolved.get(key)};for(const key of this.memory.keys())if(!find(key))this.memory.delete(key);if(!this.visible)return;const active=this.pinned.length?this.pinned:this.current?[this.current]:[];const next=active.flatMap(previous=>{const item=find(previous.key??previous.context.pointIndex??previous.context.index??0);return item?.spec.show?[this.renderedFor(plot,item.cell,item.spec,previous)]:[]});if(!next.length){this.clear();return}if(JSON.stringify(active)===JSON.stringify(next))return;const current=next.find(item=>item.id===this.current?.id);if(!current)this.drag=void 0;this.current=current??next[next.length-1];this.pinned=this.pinned.length?next:[];this.host.requestRender()}renderedFor(plot,cell,spec,previous){const context={seriesIndex:0,pointIndex:cell.index,index:cell.index,value:cell.value,cssX:cell.cssX,cssY:cell.cssY,dataX:cell.dataX,dataY:cell.dataY,mode:spec.mode,...cell.geoMap?{geoMap:structuredClone(cell.geoMap)}:{},...cell.gantt?{gantt:structuredClone(cell.gantt)}:{},...cell.parallelCoordinates?{parallelCoordinates:structuredClone(cell.parallelCoordinates)}:{},...cell.surface3d?{surface3d:structuredClone(cell.surface3d)}:{},...cell.scatter3d?{scatter3d:structuredClone(cell.scatter3d)}:{},...cell.bar3d?{bar3d:structuredClone(cell.bar3d)}:{},...cell.themeRiver?{themeRiver:structuredClone(cell.themeRiver)}:{}};const anchor=cartesianTooltipAnchor({frame:{plot},hit:{cssX:cell.cssX,cssY:cell.cssY},spec});const key=cell.key??cell.index;const locked=previous?.positionLock?{lock:previous.positionLock,side:previous.side,box:previous.box}:previous&&spec.draggable?void 0:this.lockedPositionFor(key,spec);const side=locked?.side??anchor.side;const bounds=cell.bounds?{...cell.bounds}:void 0;const rectAnchor=bounds?{cssX:side==="left"?bounds.x:side==="right"?bounds.x+bounds.width:bounds.x+bounds.width/2,cssY:side==="top"?bounds.y:side==="bottom"?bounds.y+bounds.height:bounds.y+bounds.height/2}:void 0;const renderedAnchor=locked?this.anchorFromLock(locked.lock,side,locked.box,spec.offset??10):rectAnchor??{cssX:anchor.cssX,cssY:anchor.cssY};const text=safeChartFormatter(spec.format,[context.value,cloneContext(context)],()=>cell.text,"tooltip.format",spec);const html=safeChartFormatter(spec.html,[context.value,cloneContext(context)],()=>void 0,"tooltip.html",spec);const rendered={id:previous?.id??this.nextId++,bounds,key,cssX:renderedAnchor.cssX,cssY:renderedAnchor.cssY,pointCssX:cell.cssX,pointCssY:cell.cssY,box:locked?.box??previous?.box,side,text,html,className:spec.className,style:this.styleFromSpec(spec),interactive:spec.interactive,connector:spec.connector,draggable:spec.draggable,offset:spec.offset,positionLock:locked?.lock,context};return rendered}measure(element){if(!this.current||!element)return;const multiple=this.pinned.length>0;const elements=multiple?Array.from(element.parentElement?.children??[element]):[element];const active=new Map((multiple?this.pinned:[this.current]).map(tooltip=>[tooltip.id,tooltip]));const updates=new Map;for(const candidate of elements){const rawId=candidate.getAttribute?.("data-tooltip-id");const id=!multiple&&rawId==null?this.current.id:Number(rawId);const tooltip=active.get(id);if(!tooltip)continue;const rect=candidate.getBoundingClientRect();if(!Number.isFinite(rect.width)||!Number.isFinite(rect.height))continue;const width=round2(rect.width),height=round2(rect.height);if(tooltip.box?.width===width&&tooltip.box?.height===height)continue;const box={width,height};const next={...tooltip,box};if(tooltip.positionLock)Object.assign(next,this.anchorFromLock(tooltip.positionLock,tooltip.side,box,tooltip.offset??10));this.remember(next);updates.set(id,next)}if(updates.size===0)return;this.current=updates.get(this.current.id)??this.current;if(multiple)this.pinned=this.pinned.map(tooltip=>updates.get(tooltip.id)??tooltip);this.host.requestRender()}renderModel(){const tooltips=(this.pinned.length>0?this.pinned:[this.current]).map(tooltip=>this.positioned(tooltip)).filter(t=>Boolean(t));const measured=tooltips.flatMap((tooltip,index)=>{const rect=this.topLeftFromAnchor(tooltip);return rect&&tooltip.box?[{...rect,...tooltip.box,index,locked:Boolean(tooltip.positionLock)}]:[]});for(const rect of avoidTooltipCardOverlap(measured,this.host.size())){const tooltip=tooltips[rect.index];if(!tooltip.positionLock)tooltips[rect.index]={...tooltip,...this.anchorFromTopLeft(rect.x,rect.y,tooltip.box,tooltip.side,tooltip.offset??10)}}const items=tooltips.map(tooltip=>this.renderItem(tooltip,true));const connectors=tooltips.filter(t=>t.connector?.show).map(tooltip=>{const connector=tooltip.connector;const end=tooltipConnectorEnd(tooltip);return{x1:round2(tooltip.pointCssX),y1:round2(tooltip.pointCssY),x2:round2(end.x),y2:round2(end.y),stroke:connector.color??"var(--sy-tooltip-connector-color, rgba(17,24,39,0.42))",width:connector.width??1,dash:connector.dash?.join(" ")}});return{items,connectors}}handleActionClick=event=>{const target=event.target;const actionTarget=target?.closest?.("[data-tooltip-action]");const action=actionTarget?.dataset.tooltipAction;const container=event.currentTarget??actionTarget?.closest?.("[data-tooltip-id]");const tooltipId=Number(container?.getAttribute("data-tooltip-id"));const tooltip=this.pinned.find(entry=>entry.id===tooltipId)??(this.current?.id===tooltipId?this.current:void 0);if(!action||!tooltip)return;event.stopPropagation();this.host.emitAction({...cloneContext(tooltip.context),action,text:tooltip.text,html:tooltip.html})};handlePointerDown=event=>{const element=event.currentTarget;const id=Number(element?.getAttribute?.("data-tooltip-id"));const selected=this.pinned.find(item=>item.id===id);if(selected)this.current=selected;if(!this.current?.draggable)return;const target=event.target;if(target?.closest?.("[data-tooltip-action],button,a,input,textarea,select"))return;event.preventDefault();event.stopPropagation();const rendered=this.positioned(this.current)??this.current;const lock=this.topLeftFromElement(element)??this.topLeftFromAnchor(rendered)??{x:rendered.cssX,y:rendered.cssY};const box=this.current.box??rendered.box;const next={...this.current,cssX:rendered.cssX,cssY:rendered.cssY,side:rendered.side,box,positionLock:lock};Object.assign(next,this.anchorFromLock(lock,next.side,box,next.offset??10));this.current=next;this.pinned=this.pinned.map(item=>item.id===next.id?next:item);this.remember(next);element.setPointerCapture?.(event.pointerId);this.drag={pointerId:event.pointerId,startX:event.clientX,startY:event.clientY,originLockX:lock.x,originLockY:lock.y};this.host.requestRender()};handlePointerMove=event=>{const drag=this.drag;if(!drag||drag.pointerId!==event.pointerId||!this.current)return;event.preventDefault();event.stopPropagation();const lock={x:drag.originLockX+event.clientX-drag.startX,y:drag.originLockY+event.clientY-drag.startY};const next={...this.current,positionLock:lock};Object.assign(next,this.anchorFromLock(lock,next.side,next.box,next.offset??10));this.current=next;this.pinned=this.pinned.map(item=>item.id===next.id?next:item);this.remember(next);this.host.requestRender()};handlePointerUp=event=>{const drag=this.drag;if(!drag||drag.pointerId!==event.pointerId)return;event.stopPropagation();if(this.current)this.remember(this.current);event.currentTarget.releasePointerCapture?.(event.pointerId);this.drag=void 0;this.host.requestRender()};renderItem(tooltip,trackMeasure){const{cssX,cssY,side,text,html,className,style:customStyle,interactive,draggable}=tooltip;const offset=tooltip.offset??10;const style={position:"absolute",zIndex:"4",boxSizing:"border-box",width:"max-content",maxWidth:"calc(100% - 16px)",...interactive||draggable?{maxHeight:`${Math.max(0,(this.host.viewport?.().height??this.host.size().height)-12)}px`,overflowY:"auto",overscrollBehavior:"contain"}:{},padding:"4px 8px",font:"400 11px system-ui, sans-serif",color:"var(--sy-tooltip-color, #fff)",background:"var(--sy-tooltip-bg, rgba(17,24,39,0.92))",borderRadius:"4px",whiteSpace:"pre-line",lineHeight:"1.35",pointerEvents:interactive||draggable?"auto":"none",cursor:draggable?this.drag?"grabbing":"grab":"default",transform:""};if(tooltip.positionLock){style.left=`${tooltip.positionLock.x}px`;style.top=`${tooltip.positionLock.y}px`}else if(side==="top"){style.left=`${cssX}px`;style.top=`${cssY-offset}px`;style.transform="translate(-50%, -100%)"}else if(side==="bottom"){style.left=`${cssX}px`;style.top=`${cssY+offset}px`;style.transform="translate(-50%, 0%)"}else if(side==="left"){style.left=`${cssX-offset}px`;style.top=`${cssY}px`;style.transform="translate(-100%, -50%)"}else{style.left=`${cssX+offset}px`;style.top=`${cssY}px`;style.transform="translate(0%, -50%)"}for(const[key,value]of Object.entries(customStyle??{}))style[key]=cssValue(key,value);return{id:tooltip.id,style,className:className?`${this.className} ${className}`:this.className,text,html,trackMeasure}}positioned(tooltip=this.current){if(!tooltip)return null;if(!tooltip.box||this.drag&&tooltip.id===this.current?.id)return tooltip;if(tooltip.positionLock){if(tooltip.draggable)return tooltip;const viewport=this.host.viewport?.()??{x:0,y:0,...this.host.size()};const lock={x:Math.max(viewport.x+6,Math.min(tooltip.positionLock.x,viewport.x+viewport.width-tooltip.box.width-6)),y:Math.max(viewport.y+6,Math.min(tooltip.positionLock.y,viewport.y+viewport.height-tooltip.box.height-6))};return{...tooltip,positionLock:lock,...this.anchorFromLock(lock,tooltip.side,tooltip.box,tooltip.offset??10)}}const offset=tooltip.offset??10;const{width,height}=this.host.size();const placement=computeTooltipPlacement({anchor:tooltip.bounds?{kind:"rect",...tooltip.bounds}:{kind:"point",x:tooltip.pointCssX,y:tooltip.pointCssY},tooltip:tooltip.box,viewport:this.host.viewport?.()??{x:0,y:0,width,height},preferredSide:tooltip.side,offset,padding:6});const anchor=this.anchorFromTopLeft(placement.x,placement.y,tooltip.box,placement.side,offset);return{...tooltip,...anchor,side:placement.side}}styleFromSpec(spec){const style={...spec.style??{}};if(spec.width!==void 0)style.width=spec.width;if(spec.minWidth!==void 0)style.minWidth=spec.minWidth;if(spec.maxWidth!==void 0)style.maxWidth=spec.maxWidth;if(spec.padding!==void 0)style.padding=spec.padding;return Object.keys(style).length>0?style:void 0}topLeftFromAnchor(tooltip){const box=tooltip.box;if(!box)return void 0;const offset=tooltip.offset??10;if(tooltip.side==="top")return{x:tooltip.cssX-box.width/2,y:tooltip.cssY-offset-box.height};if(tooltip.side==="bottom")return{x:tooltip.cssX-box.width/2,y:tooltip.cssY+offset};if(tooltip.side==="left")return{x:tooltip.cssX-offset-box.width,y:tooltip.cssY-box.height/2};return{x:tooltip.cssX+offset,y:tooltip.cssY-box.height/2}}topLeftFromElement(element){const rect=element.getBoundingClientRect();const hostRect=this.host.hostRect();if(!hostRect||!Number.isFinite(rect.left)||!Number.isFinite(rect.top))return void 0;return{x:rect.left-hostRect.left,y:rect.top-hostRect.top}}anchorFromLock(lock,side,box,offset){return box?this.anchorFromTopLeft(lock.x,lock.y,box,side,offset):{cssX:lock.x,cssY:lock.y}}anchorFromTopLeft(x,y,box,side,offset){if(side==="top")return{cssX:x+box.width/2,cssY:y+box.height+offset};if(side==="bottom")return{cssX:x+box.width/2,cssY:y-offset};if(side==="left")return{cssX:x+box.width+offset,cssY:y+box.height/2};return{cssX:x-offset,cssY:y+box.height/2}}remember(tooltip){if(!tooltip.draggable||!tooltip.positionLock)return;this.memory.set(tooltip.key??tooltip.context.pointIndex??tooltip.context.index??0,{lock:{...tooltip.positionLock},side:tooltip.side,box:tooltip.box})}lockedPositionFor(index,spec){if(spec.draggable){const memory=this.memory.get(index);return memory?{lock:{...memory.lock},side:memory.side,box:memory.box}:void 0}if(!spec.interactive||spec.openMode==="multiple")return void 0;const tooltip=this.positioned();if(!tooltip?.box||(tooltip.key??tooltip.context.pointIndex)!==index)return void 0;const lock=this.topLeftFromAnchor(tooltip);return lock?{lock,side:tooltip.side,box:tooltip.box}:void 0}}const syBubbleChartCss=()=>`.sc-sy-bubble-chart-h{display:inline-block;position:relative}.sc-sy-bubble-chart-h:focus-visible{outline:2px solid var(--sy-bubble-focus-color, #2563eb);outline-offset:2px}.sc-sy-bubble-chart-h:focus:not(:focus-visible){outline:none}.sy-bubble-chart__canvas.sc-sy-bubble-chart{display:block}.sy-bubble-chart__sr-only.sc-sy-bubble-chart{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border:0}.sy-bubble-chart__watermark.sc-sy-bubble-chart{position:absolute;top:4px;right:6px;font-size:10px;line-height:1;padding:2px 6px;background:hsla(0,0%,100%,.85);border:1px solid #e5e7eb;border-radius:999px;color:#6b7280;pointer-events:none;z-index:6}`;const REVEAL_KEY="reveal";const MORPH_KEY="morph";const STREAM_SAME_FRAME_MS=16;const KEYBOARD_JUMP=5;const FALLBACK_NOTICE_TEXT="Syidax - fell back to standard renderer";const DEFAULT_COLOR="#3b82f6";const DEFAULT_ACTIVE_COLOR="#1d4ed8";const DEFAULT_FILL_ALPHA=.55;const PACK_UNIT_EXTENT={min:0,max:1};function bubbleAxisInput(input,position){const base={kind:"linear",position,tickCount:5,show:true};if(input===void 0||input===null||input==="auto"||input===true)return base;if(input===false||input==="off")return{...base,show:false};if(typeof input!=="object")return base;const overrides=input;return{...base,...overrides,kind:overrides.kind??"linear",position:overrides.position??position}}function axisObject(input){return input&&typeof input==="object"?input:void 0}function finiteNumber(v){return typeof v==="number"&&Number.isFinite(v)}function plainBubbleDatum(input){return bubbleDatumOf(input)===null?void 0:input}function formatNumber(v){if(!Number.isFinite(v))return"—";if(Number.isInteger(v))return String(v);const abs=Math.abs(v);if(abs>=100)return String(Math.round(v*10)/10);if(abs>=1)return String(Math.round(v*100)/100);return v.toPrecision(3)}const SyBubbleChart=class{constructor(hostRef){registerInstance(this,hostRef);this.rendered=createEvent(this,"rendered",7);this.pointClick=createEvent(this,"pointClick",7);this.pointHover=createEvent(this,"pointHover",7);this.crosshairMove=createEvent(this,"crosshairMove",7);this.pointContextMenu=createEvent(this,"pointContextMenu",7);this.appended=createEvent(this,"appended",7);this.windowSlid=createEvent(this,"windowSlid",7);this.tooltipShow=createEvent(this,"tooltipShow",7);this.tooltipHide=createEvent(this,"tooltipHide",7);this.tooltipAction=createEvent(this,"tooltipAction",7);this.chartAnimationStart=createEvent(this,"chartAnimationStart",7);this.chartAnimationEnd=createEvent(this,"chartAnimationEnd",7);this.chartAnimationInterrupted=createEvent(this,"chartAnimationInterrupted",7);this.zoomChange=createEvent(this,"zoomChange",7)}get host(){return getElement(this)}data;width=900;height=360;brandLogo;brandPosition="bottom-right";xAxis;yAxis;gridLines;crosshair;zoom;padding=BUBBLE_DEFAULT_PADDING;color=DEFAULT_COLOR;fillAlpha=DEFAULT_FILL_ALPHA;borderColor="auto";borderWidth=1;activeColor=DEFAULT_ACTIVE_COLOR;minRadius=BUBBLE_DEFAULT_MIN_RADIUS;maxRadius=BUBBLE_DEFAULT_MAX_RADIUS;sizeScale="area";zMin;zMax;layout="xy";packPadding=2;packFit="contain";visualMap;shading="flat";shadeStrength=1;chartTitle;chartSubtitle;enableMouseTracking=true;tooltip;tooltipEnabled=true;tooltipFormat;animated=false;animationDuration=600;animationEasing="ease-out";animationType;streamSource;streamMax;streamWindow;engine="auto";proThreshold=BUBBLE_DEFAULT_PRO_THRESHOLD;unavailable="fallback";rendered;pointClick;pointHover;crosshairMove;pointContextMenu;appended;windowSlid;tooltipShow;tooltipHide;tooltipAction;chartAnimationStart;chartAnimationEnd;chartAnimationInterrupted;zoomChange;activeTier="standard";fallbackReason;hoverIndex=-1;focusIndex=-1;cursor=null;tooltipTick=0;visualMapState=null;zoomState=null;zoomSelection=null;zoomInteraction=new ZoomInteraction(this.zoomInteractionHost());visualMapBound=false;colorResolver;tooltipElement;tooltips=new CellTooltipController({size:()=>({width:this.width,height:this.height}),hostRect:()=>this.host?.getBoundingClientRect(),emitShow:detail=>this.tooltipShow.emit(detail),emitHide:()=>this.tooltipHide.emit(),emitAction:detail=>this.tooltipAction.emit(detail),requestRender:()=>{this.tooltipTick++}},"sy-bubble-chart__tooltip");observedCanvasPixelSize;animationTick=0;streamTick=0;srAnnouncement="";canvas;canvasTier;renderer;rendererTier;rendererCanvas;rendererInit;rendererToken=0;decisionKey="";decision={tier:"standard",code:"auto-standard",licenseConsulted:false};proInitFailedReason;license=new EngineSwapLicense(()=>this.host,change=>this.handleLicenseChange(change));engineOutcome={code:"auto-standard",reason:null};engineLicenseState=null;drawHandle=null;drawing=false;drawAgain=false;resizeObserver;pointsCache;pointsVersion=0;packed;recordsVersion=0;packCache;streamEntries=[];streamVersion=0;plainStreamEntries;internalStreamSource;boundStreamSource;streamUnsubscribe;animator=createHeatmapAnimator();animationFrameHandle=null;displayed;morph;morphVersion=0;targetDisplayCache;morphDisplayCache;lastStreamTime;lastResult={points:0,drawn:0,renderMs:0};hasLoaded=false;detached=false;connectedCallback(){this.detached=false;this.license.connect();if(!this.hasLoaded)return;this.host.addEventListener("wheel",this.handleZoomWheel,{passive:false});this.bindStreamSource();this.observeCanvasPixels();void this.scheduleDraw()}componentDidLoad(){this.hasLoaded=true;this.host.addEventListener("wheel",this.handleZoomWheel,{passive:false});this.bindStreamSource();this.observeCanvasPixels();if(this.shouldInitialAnimation())this.startReveal();this.scheduleDraw()}componentDidRender(){if(this.detached)return;this.tooltips.measure(this.tooltipElement);this.scheduleDraw()}observeCanvasPixels(){if(this.detached)return;if(typeof ResizeObserver==="undefined"||this.resizeObserver)return;this.resizeObserver=new ResizeObserver(entries=>{const entry=entries.find(e=>e.target===this.canvas)??entries[0];const dpcb=entry?.devicePixelContentBoxSize?.[0];if(dpcb&&dpcb.inlineSize>0&&dpcb.blockSize>0){if(this.observedCanvasPixelSize?.width!==dpcb.inlineSize||this.observedCanvasPixelSize?.height!==dpcb.blockSize){this.observedCanvasPixelSize={width:dpcb.inlineSize,height:dpcb.blockSize}}}else if(this.observedCanvasPixelSize!==void 0){this.observedCanvasPixelSize=void 0}this.scheduleDraw()});if(this.canvas)this.observeCanvas(this.canvas)}observeCanvas(canvas){const observer=this.resizeObserver;if(!observer)return;try{observer.observe(canvas,{box:"device-pixel-content-box"})}catch{observer.observe(canvas)}}handleCanvasRef=el=>{const previous=this.canvas;if(previous&&previous!==el)this.resizeObserver?.unobserve(previous);this.canvas=el??void 0;if(!el)return;this.canvasTier=this.activeTier;if(el===previous)return;this.observeCanvas(el);this.scheduleDraw()};disconnectedCallback(){this.detached=true;this.license.disconnect();this.host.removeEventListener("wheel",this.handleZoomWheel);this.zoomInteraction.dispose();this.zoomSelection=null;this.parkInternalRing();this.streamUnsubscribe?.();this.streamUnsubscribe=void 0;this.boundStreamSource=void 0;this.stopAnimationLoop();this.animator.clear();this.morph=void 0;this.displayed=void 0;if(this.drawHandle!==null){cancelAnimationFrame(this.drawHandle);this.drawHandle=null}this.resizeObserver?.disconnect();this.resizeObserver=void 0;this.rendererToken+=1;this.rendererInit=void 0;this.renderer?.destroy();this.renderer=void 0;this.rendererTier=void 0;this.rendererCanvas=void 0}handleDataChange(){this.afterPointsChange((this.pointsCache?.points.length??0)>0)}afterPointsChange(hadPoints,stream=false){this.currentPoints();const from=this.displayed;if(hadPoints&&from&&from.mode===this.layoutMode()&&this.shouldUpdateAnimation()){let duration=this.animationDuration;if(stream){const now=this.now();duration=capStreamDuration(this.animationDuration,this.lastStreamTime,now);this.lastStreamTime=now;if(duration<STREAM_SAME_FRAME_MS&&this.morph&&this.animator.has(MORPH_KEY))duration=0}if(duration>0)this.startMorph(from.points,from.mode,duration)}else{if(stream)this.lastStreamTime=this.now();if(!hadPoints&&this.shouldInitialAnimation())this.startReveal()}this.animationTick++}handleStreamSourceChange(){this.bindStreamSource()}handleStreamWindowChange(){this.bindStreamSource();const source=this.boundStreamSource;if(!source)return;const hadPoints=(this.pointsCache?.points.length??0)>0;this.streamEntries=this.windowedSnapshot(source);this.streamVersion+=1;this.streamTick++;this.afterPointsChange(hadPoints);this.scheduleDraw()}handleAnimationChange(){if(!this.shouldAnimate()){if(this.animationInFlight())this.chartAnimationInterrupted.emit();this.animator.clear();this.morph=void 0;this.stopAnimationLoop()}this.animationTick++}resetProInitLatch(){this.proInitFailedReason=void 0;this.decisionKey="";this.decideEngine();this.scheduleDraw()}handlePackChange(){if(this.morph&&this.morph.mode!==this.layoutMode()){this.morph=void 0;this.animator.cancel(MORPH_KEY)}this.animationTick++;this.scheduleDraw()}handleVisualMapProp(){this.visualMapBound=false;this.visualMapState=this.visualMap??null;this.scheduleDraw()}handleStyleChange(){this.animationTick++;this.scheduleDraw()}async getDataTable(){return{columns:["Name","X","Y","Z"],rows:this.currentPoints().points.map(point=>[point.name,point.x,point.y,point.z])}}async redraw(){return this.draw()}async getActiveTier(){return this.activeTier}async getUnavailableReason(){return this.fallbackReason}async setData(data){this.data=data}async appendPoint(datum){await this.license.run(STREAMING_LICENSE_FEATURE,true,()=>{const target=this.streamWriteTarget("appendPoint",true);if(target)target.push(datum);else if(target===void 0)this.applyPlainStream({type:"push",datum})})}async appendBatch(data){await this.license.run(STREAMING_LICENSE_FEATURE,true,()=>{const target=this.streamWriteTarget("appendBatch",true);if(target)target.pushBatch(data);else if(target===void 0)this.applyPlainStream({type:"pushBatch",data})})}async shift(count){await this.license.run(STREAMING_LICENSE_FEATURE,this.streamSessionAsked()||this.plainStreamEntries!==void 0,()=>{const target=this.streamWriteTarget("shift",false);if(target)target.shift(count);else if(target===void 0)this.applyPlainStream({type:"shift",count})})}async replace(data){await this.license.run(STREAMING_LICENSE_FEATURE,true,()=>{const target=this.streamWriteTarget("replace",true);if(target)target.replace(data);else if(target===void 0)this.applyPlainStream({type:"replace",data})})}async getStreamSource(){return this.license.run(STREAMING_LICENSE_FEATURE,this.streamSessionAsked(),()=>this.activeStreamSource())}async setAnimation(options){if(typeof options.duration==="number"&&Number.isFinite(options.duration))this.animationDuration=Math.max(0,options.duration);if(options.easing)this.animationEasing=options.easing;if(typeof options.enabled==="boolean")this.animated=options.enabled;if(options.type)this.animationType=options.type}async pauseAnimation(){this.animator.pauseAll(this.now())}async resumeAnimation(){this.animator.resumeAll(this.now());this.ensureAnimationLoop()}async replayAnimation(){this.startReveal()}async hitTest(cssX,cssY){const layout=this.computeLayout();const index=this.bubbleAtPoint(layout,cssX,cssY);return index<0?null:this.detailForBubble(layout,index,cssX,cssY)}async getPoint(index){const p=this.currentPoints().points[index];return p?{...p}:null}async getPointCount(){return this.currentPoints().points.length}async getPoints(){return this.currentPoints().points.map(p=>({...p}))}async getExtent(){return{...this.currentPoints().extent}}async getDomain(){return{...this.computeLayout().domain}}async getRadiusScale(){return{...this.computeLayout().radius}}async getPackLayout(){const layout=this.computeLayout();if(!layout.pack)return null;return{scale:layout.pack.scale,enclosing:{...layout.pack.enclosing},circles:layout.pack.circles.map((c,index)=>({index,x:c.x,y:c.y,r:c.r}))}}effectiveVisualMap(){return this.visualMapBound?this.visualMapState:this.visualMap??null}async setVisualMap(binding){this.visualMapBound=true;this.visualMapState=binding??null;this.scheduleDraw();return this.visualMapState}async getVisualMap(){return this.effectiveVisualMap()}async getVisualExtent(request){return bubbleVisualExtent(this.currentPoints().points,request?.dimension??"value")}currentColors(points){const binding=this.effectiveVisualMap();const alpha=finiteNumber(this.fillAlpha)?this.fillAlpha:DEFAULT_FILL_ALPHA;const key=`${this.pointsVersion}|${binding?bubbleVisualMapKey(binding):"none"}|${alpha}`;if(this.colorResolver&&this.colorResolver.key===key)return this.colorResolver;this.colorResolver=resolveBubbleColors({points,visualMap:binding,fillAlpha:alpha,key});return this.colorResolver}async showTooltipAtIndex(index){const spec=this.tooltips.resolveSpec(this.tooltip,this.tooltipEnabled);if(!spec.show)return null;const layout=this.computeLayout();const i=Math.floor(index);if(!Number.isInteger(i)||i<0||i>=layout.points.length)return null;return this.showTooltipForBubble(layout,i,spec,true)}async hideTooltip(){this.tooltips.clear()}async focusPointAt(index){const layout=this.computeLayout();const i=Math.floor(index);if(!Number.isInteger(i)||i<0||i>=layout.points.length)return null;this.focusIndex=i;const detail=this.detailForBubble(layout,i,...this.centreOf(layout,i));this.pointHover.emit(detail);return detail}async zoomTo(request){return this.zoomInteraction.zoomTo(request)}async zoomBy(factor,anchorFraction=.5){return this.zoomInteraction.zoomBy(factor,anchorFraction)}async panBy(delta){return this.zoomInteraction.panBy(delta)}async resetZoom(){return this.zoomInteraction.reset()}async getZoom(){return this.zoomState}async getZoomExtent(request){return this.zoomInteraction.extent(request)}zoomSpec(){return resolveCartesianZoomSpec(this.zoom)}zoomHostFrame(){const layout=this.computeLayout();return{plot:layout.plot,xAxes:layout.frame.xAxes,yAxes:layout.frame.yAxes}}zoomInteractionHost(){return{frame:()=>this.zoomHostFrame(),spec:()=>this.zoomSpec(),state:()=>this.zoomState,apply:next=>{this.zoomState=next;if(this.tooltips.visible)this.tooltips.clear();this.scheduleDraw()},emit:detail=>{this.zoomChange.emit(detail)},selection:rect=>{this.zoomSelection=rect},standDown:()=>this.zoomStandDown()}}zoomStandDown(){if(this.hoverIndex!==-1){this.hoverIndex=-1;this.pointHover.emit(null);this.scheduleDraw()}this.tooltips.clear();if(this.cursor!==null){this.cursor=null;this.crosshairMove.emit(null)}}hostCoords(e){const rect=this.host.getBoundingClientRect();return{x:e.clientX-rect.left,y:e.clientY-rect.top}}zoomPointerInput(e){const point=this.hostCoords(e);return{pointerId:e.pointerId,x:point.x,y:point.y,button:e.button,shiftKey:e.shiftKey,altKey:e.altKey,pointerType:e.pointerType}}zoomWheelInput(e){const point=this.hostCoords(e);return{x:point.x,y:point.y,deltaX:e.deltaX,deltaY:e.deltaY,deltaMode:e.deltaMode,ctrlKey:e.ctrlKey,metaKey:e.metaKey,shiftKey:e.shiftKey}}handleZoomWheel=e=>{if(this.zoomInteraction.wheel(this.zoomWheelInput(e)))e.preventDefault()};handleZoomPointerDown=e=>{if(this.zoomInteraction.pointerDown(this.zoomPointerInput(e)))e.currentTarget?.setPointerCapture?.(e.pointerId)};handleZoomPointerMove(e){return this.zoomInteraction.pointerMove(this.zoomPointerInput(e))}handleZoomPointerUp=e=>{const owned=this.zoomInteraction.isPending;this.zoomInteraction.pointerUp(this.zoomPointerInput(e));if(owned)e.currentTarget?.releasePointerCapture?.(e.pointerId)};handleZoomPointerCancel=()=>{this.zoomInteraction.pointerCancel()};consumeSuppressedPlotClick(){return this.zoomInteraction.consumeSuppressedClick()}handleZoomKeyDown(event){if(!this.zoomInteraction.wantsKey(event))return false;if(!this.zoomInteraction.keyDown(event))return false;event.preventDefault();event.stopPropagation();return true}plotClip(layout,box){if(this.zoomState===null)return void 0;const{plot}=layout;const top=Math.max(0,plot.y-box.top);const left=Math.max(0,plot.x-box.left);const right=Math.max(0,box.left+box.width-(plot.x+plot.width));const bottom=Math.max(0,box.top+box.height-(plot.y+plot.height));if(top===0&&left===0&&right===0&&bottom===0)return void 0;return`inset(${top}px ${right}px ${bottom}px ${left}px)`}renderZoomOverlay(layout){const spec=this.zoomSpec();const selection=this.zoomSelection;const zoomed=this.zoomState!==null;if(!selection&&!(zoomed&&spec.resetButton))return null;const{plot}=layout;return h("div",{class:"sy-bubble-chart__zoom-overlay",style:{position:"absolute",left:"0",top:"0",width:`${this.width}px`,height:`${this.height}px`,pointerEvents:"none",zIndex:"5"}},selection&&h("div",{class:"sy-bubble-chart__zoom-selection","aria-hidden":"true",style:{position:"absolute",left:`${selection.x}px`,top:`${selection.y}px`,width:`${selection.width}px`,height:`${selection.height}px`,boxSizing:"border-box",background:"var(--sy-zoom-selection-bg, rgba(37, 99, 235, 0.12))",border:"1px solid var(--sy-zoom-selection-border, rgba(37, 99, 235, 0.6))"}}),zoomed&&spec.resetButton&&h("button",{type:"button",class:"sy-bubble-chart__zoom-reset","aria-label":"Reset zoom",onClick:()=>{void this.resetZoom()},style:{...ZoomInteraction.resetButtonStyle,position:"absolute",left:`${plot.x+plot.width-8}px`,top:`${plot.y+8}px`,transform:"translateX(-100%)",pointerEvents:"auto",font:"500 11px system-ui, sans-serif",padding:"3px 8px",borderRadius:"4px",border:"1px solid var(--sy-zoom-reset-border, #9ca3af)",background:"var(--sy-zoom-reset-bg, #ffffff)",color:"var(--sy-axis-color, #111827)",cursor:"pointer"}},"Reset zoom"))}coerceStreamCapacity(){const raw=this.streamMax;const n=typeof raw==="string"?Number(raw):raw;return finiteNumber(n)&&n>0?Math.floor(n):void 0}currentPoints(){if(this.pointsCache&&this.pointsCache.data===this.data&&this.pointsCache.streamVersion===this.streamVersion)return this.pointsCache;const points=resolveBubblePoints(this.data,this.streamEntries);const extent=bubbleExtent(points);this.pointsCache={data:this.data,streamVersion:this.streamVersion,points,extent};this.pointsVersion+=1;return this.pointsCache}yAxisInputs(){const raw=this.yAxis;if(Array.isArray(raw))return raw;return[raw]}layoutMode(){return this.layout==="pack"?"pack":"xy"}xAxisInputs(){const raw=this.xAxis;if(Array.isArray(raw))return raw;return[raw]}computeLayout(){const{points,extent}=this.currentPoints();const mode=this.layoutMode();const xInputs=this.xAxisInputs();const yInputs=this.yAxisInputs();const xObject=axisObject(xInputs[0]);const yObject=axisObject(yInputs[0]);const domain=resolveBubbleDomain({extent,xMin:xObject?.min,xMax:xObject?.max,yMin:yObject?.min,yMax:yObject?.max,padding:this.padding});const radius=resolveBubbleRadiusScale({extent,zMin:this.zMin,zMax:this.zMax,minPx:this.minRadius,maxPx:this.maxRadius,scale:this.sizeScale});const outer={x:0,y:0,width:this.width,height:this.height};const axes=mode==="pack"?resolveCartesianAxesSpec(bubbleAxisInput(false,"bottom"),bubbleAxisInput(false,"left")):resolveCartesianAxesSpec(xInputs.length>1?xInputs.map(entry=>bubbleAxisInput(entry)):bubbleAxisInput(xInputs[0],"bottom"),yInputs.length>1?yInputs.map(entry=>bubbleAxisInput(entry)):bubbleAxisInput(yInputs[0],"left"));const frame=computeCartesianFrame({outerWidth:outer.width,outerHeight:outer.height,axes,gridLines:resolveCartesianGridLinesSpec(mode==="pack"?{x:false,y:false}:this.gridLines??{x:true,y:true}),title:this.chartTitle,subtitle:this.chartSubtitle,xExtent:mode==="pack"?PACK_UNIT_EXTENT:{min:domain.xMin,max:domain.xMax},yExtent:mode==="pack"?PACK_UNIT_EXTENT:{min:domain.yMin,max:domain.yMax},zoom:this.zoomState??void 0});const plot={x:outer.x+frame.plot.x,y:outer.y+frame.plot.y,width:frame.plot.width,height:frame.plot.height};const pack=mode==="pack"?this.currentPack(points,radius,plot):void 0;const geometry={mode,pack,points,extent,domain,radius,outer,plot,frame};return{...geometry,...this.currentDisplay(geometry)}}targetDisplay(layout){const{points,radius}=layout;const colors=this.currentColors(points);const key=`${this.pointsVersion}|${colors.key}|${layout.pack?`pack|${this.packCache?.key??""}`:`xy|${radius.zMin}|${radius.zMax}|${radius.minPx}|${radius.maxPx}|${radius.scale}`}`;if(this.targetDisplayCache&&this.targetDisplayCache.key===key)return this.targetDisplayCache;const display=layout.pack?layout.pack.circles.map((c,i)=>({x:c.x,y:c.y,r:c.r,color:colors.colorOf(i)})):points.map((p,i)=>({x:p.x,y:p.y,r:bubbleRadiusPx(p.z,radius),color:colors.colorOf(i)}));this.targetDisplayCache={key,points:display};return this.targetDisplayCache}currentDisplay(layout){const target=this.targetDisplay(layout);const morph=this.morph;if(!morph)return{display:target.points,displayKey:target.key,morphing:false};if(morph.mode!==layout.mode||!this.animator.has(MORPH_KEY)){this.morph=void 0;return{display:target.points,displayKey:target.key,morphing:false}}const progress=this.animator.progressAt(MORPH_KEY,this.now())??1;if(progress>=1)return{display:target.points,displayKey:target.key,morphing:false};const key=`morph|${morph.version}|${progress}|${target.key}`;if(!this.morphDisplayCache||this.morphDisplayCache.key!==key)this.morphDisplayCache={key,points:interpolateBubbleDisplay(morph.from,target.points,progress)};return{display:this.morphDisplayCache.points,displayKey:key,morphing:true}}currentPack(points,radius,plot){const padding=finiteNumber(this.packPadding)&&this.packPadding>=0?this.packPadding:2;const fit=resolveBubblePackFit(this.packFit);const key=`${this.pointsVersion}|${radius.zMin}|${radius.zMax}|${radius.minPx}|${radius.maxPx}|${radius.scale}|${padding}|${fit}|${plot.width}x${plot.height}`;if(this.packCache&&this.packCache.key===key)return this.packCache.pack;const radii=points.map(p=>bubbleRadiusPx(p.z,radius));const packed=packBubbleCircles(radii,padding);const pack=fitBubblePack(packed,{width:plot.width,height:plot.height},{fit:resolveBubblePackFit(this.packFit),margin:2});this.packCache={key,pack};return pack}centreOf(layout,index){const d=layout.display[index];if(layout.pack){const[u,v]=this.packUnit(layout,d);return[layout.outer.x+layout.frame.xScale(u),layout.outer.y+layout.frame.yScale(v)]}return[layout.outer.x+layout.frame.xScale(d.x),layout.outer.y+layout.frame.yScale(d.y)]}packUnit(layout,c){const{plot}=layout;return[plot.width>0?c.x/plot.width:0,plot.height>0?1-c.y/plot.height:0]}radiusOf(layout,index){return layout.display[index].r}currentRecords(layout){const{points}=layout;const colors=this.currentColors(points);if(layout.morphing){const morphKey=`${layout.displayKey}|${layout.pack?`pack|${layout.plot.height}`:"xy"}`;if(this.packed&&this.packed.key===morphKey)return this.packed;const packed2=packBubbleDisplayRecords({display:layout.display,out:this.packed?.records,flipHeight:layout.pack?layout.plot.height:void 0});this.recordsVersion+=1;this.packed={key:morphKey,records:packed2.records,count:packed2.count,colored:packed2.colored,version:this.recordsVersion};return this.packed}const key=`${this.pointsVersion}|${colors.key}|${layout.pack?`pack|${this.packCache?.key??""}`:"xy"}`;if(this.packed&&this.packed.key===key)return this.packed;const source=layout.pack?layout.pack.circles.map((c,i)=>({...points[i],x:c.x,y:layout.plot.height-c.y})):points;const packed=packBubbleRecords({points:source,out:this.packed?.records,colorOf:colors.count>0?colors.colorOf:void 0});this.recordsVersion+=1;this.packed={key,records:packed.records,count:packed.count,colored:packed.colored,version:this.recordsVersion};return this.packed}projectionOf(layout){const[xMin,xMax]=layout.frame.xScale.domain();const[yMin,yMax]=layout.frame.yScale.domain();if(layout.pack)return{xMin:xMin*layout.plot.width,xMax:xMax*layout.plot.width,yMin:yMin*layout.plot.height,yMax:yMax*layout.plot.height};return{xMin,xMax,yMin,yMax}}rgba(css,fallback){return heatmapRgbaOf(css)??heatmapRgbaOf(fallback)??[0,0,0,1]}withAlpha(rgba,alpha){return[rgba[0],rgba[1],rgba[2],Math.max(0,Math.min(1,finiteNumber(alpha)?alpha:1))]}decideEngine(){const availability=gpuTierAvailability({proModulePresent:hasBubbleProRenderer});const count=this.currentPoints().points.length;const base={requested:this.engine,pointCount:count,proThreshold:this.proThreshold,onUnavailable:this.unavailable,proAvailable:availability.available,moduleAvailable:hasBubbleProRenderer,proUnavailableReason:availability.reason};const wantsGpu=bubbleEngineNeedsLicense(base);const latched=wantsGpu?this.proInitFailedReason:void 0;const licenseState=wantsGpu&&latched===void 0?this.license.state(ENGINE_LICENSE_FEATURE):null;const threshold=typeof this.proThreshold==="number"&&Number.isFinite(this.proThreshold)&&this.proThreshold>0?this.proThreshold:BUBBLE_DEFAULT_PRO_THRESHOLD;const key=`${String(this.engine)}|${String(this.unavailable)}|${count>=threshold}|${availability.available}|${availability.reason??""}|${wantsGpu}|${licenseState??""}|${latched??""}`;if(key===this.decisionKey)return this.decision;this.decisionKey=key;if(latched!==void 0){this.decision={tier:"standard",code:"gpu-unavailable",fallbackReason:latched,licenseConsulted:false};this.engineOutcome=engineFailureOutcome(latched);this.engineLicenseState=null}else{this.decision=pickBubbleEngine({...base,entitlement:licenseState??void 0});this.engineOutcome={code:this.decision.code,reason:this.decision.fallbackReason??this.decision.licenseReason??null};this.engineLicenseState=this.decision.licenseConsulted?licenseState:null;if(this.decision.licenseReason&&licenseState)this.license.refuse(ENGINE_LICENSE_FEATURE,licenseState,"engine")}if(this.decision.tier!==this.activeTier)this.activeTier=this.decision.tier;if(this.decision.fallbackReason!==this.fallbackReason)this.fallbackReason=this.decision.fallbackReason;return this.decision}engineAllowed(){return this.license.state(ENGINE_LICENSE_FEATURE)==="valid"}handleLicenseChange(change){if(this.detached)return;if(change.feature===ENGINE_LICENSE_FEATURE){if(change.state!=="valid"){this.rendererToken+=1;this.rendererInit=void 0}this.decisionKey="";this.decideEngine();this.scheduleDraw();return}if(change.feature!==STREAMING_LICENSE_FEATURE)return;if(change.state==="valid"){if(this.license.isFrozen(STREAMING_LICENSE_FEATURE))this.license.setFrozen(STREAMING_LICENSE_FEATURE,false)}else if(change.previousState==="valid"&&this.streamSessionKept()){this.license.setFrozen(STREAMING_LICENSE_FEATURE,true)}this.bindStreamSource();this.scheduleDraw()}fallbackToStandard(reason,what){this.proInitFailedReason=reason;this.decisionKey="";this.activeTier="standard";this.fallbackReason=reason;const log=this.unavailable==="error"?console.error:console.warn;log(`[Syidax] sy-bubble-chart: ${what}, falling back to Standard (${reason}).`);this.scheduleDraw()}scheduleDraw(){if(this.detached)return;if(this.drawHandle!==null||typeof requestAnimationFrame!=="function")return;this.drawHandle=requestAnimationFrame(()=>{this.drawHandle=null;void this.draw()})}async ensureRenderer(){if(this.detached)return void 0;const canvas=this.canvas;if(!canvas)return void 0;const tier=this.decideEngine().tier;if(this.renderer&&this.rendererTier===tier&&this.rendererCanvas===canvas)return this.renderer;if(tier==="pro"&&this.rendererInit)return this.rendererInit;if(this.canvasTier!==void 0&&this.canvasTier!==tier)return void 0;++this.rendererToken;this.rendererInit=void 0;this.renderer?.destroy();this.renderer=void 0;this.rendererTier=void 0;this.rendererCanvas=void 0;if(tier==="standard"){this.renderer=new BubbleStandardRenderer(canvas);this.rendererTier="standard";this.rendererCanvas=canvas;return this.renderer}{this.fallbackToStandard(GPU_PRO_NOT_IN_BUILD_REASON,"the Pro renderer is not in this build");return void 0}}async draw(){if(this.drawing){this.drawAgain=true;return this.lastResult}this.drawing=true;try{const renderer=await this.ensureRenderer();const layout=this.computeLayout();if(!renderer||!this.canvas){this.lastResult={points:layout.points.length,drawn:0,renderMs:0};return this.lastResult}const packed=this.currentRecords(layout);const rgba=this.rgba(this.color,DEFAULT_COLOR);const active=this.focusIndex>=0?this.focusIndex:this.hoverIndex;const result=renderer.draw({records:packed.records,points:packed.count,version:packed.version,project:this.projectionOf(layout),width:layout.plot.width,height:layout.plot.height,radius:layout.pack?{...layout.radius,minPx:layout.radius.minPx*layout.pack.scale,maxPx:layout.radius.maxPx*layout.pack.scale}:layout.radius,fillColor:this.withAlpha(rgba,finiteNumber(this.fillAlpha)?this.fillAlpha:DEFAULT_FILL_ALPHA),borderColor:this.borderColor&&this.borderColor!=="auto"?this.rgba(this.borderColor,DEFAULT_COLOR):rgba,activeColor:this.withAlpha(this.rgba(this.activeColor,DEFAULT_ACTIVE_COLOR),Math.min(1,(finiteNumber(this.fillAlpha)?this.fillAlpha:DEFAULT_FILL_ALPHA)+.3)),borderPx:finiteNumber(this.borderWidth)&&this.borderWidth>=0?this.borderWidth:1,reveal:this.revealProgress(),activeIndex:active,shading:resolveBubbleShading(this.shading),shadeStrength:finiteNumber(this.shadeStrength)?Math.max(0,Math.min(1,this.shadeStrength)):1,borderAuto:!this.borderColor||this.borderColor==="auto",radiusLane:layout.morphing?"px":"z",observedPixelSize:this.observedCanvasPixelSize});this.displayed={mode:layout.mode,points:layout.display};this.lastResult={...result,points:layout.points.length,bubble:result.bubble?{...result.bubble,layout:layout.mode,packScale:layout.pack?layout.pack.scale:1,colored:packed.colored}:void 0};this.rendered.emit({...this.lastResult,tier:this.activeTier});return this.lastResult}finally{this.drawing=false;if(this.drawAgain){this.drawAgain=false;this.scheduleDraw()}}}shouldAnimate(){if(this.detached)return false;return this.animated&&this.animationDuration>0}shouldInitialAnimation(){if(!this.shouldAnimate())return false;if(this.animationType==="update")return false;return true}shouldUpdateAnimation(){if(!this.shouldAnimate())return false;if(this.animationType==="initial")return false;return true}animationInFlight(){const now=this.now();for(const key of this.animator.entries().keys())if(this.animator.isActive(key,now))return true;return false}revealProgress(){return this.animator.has(REVEAL_KEY)?this.animator.progressAt(REVEAL_KEY,this.now())??1:1}startReveal(){if(this.animationInFlight())this.chartAnimationInterrupted.emit();this.animator.clear();this.morph=void 0;this.animator.start(REVEAL_KEY,{duration:this.animationDuration,easing:this.animationEasing});this.chartAnimationStart.emit();this.ensureAnimationLoop()}startMorph(from,mode,duration=this.animationDuration){if(this.animationInFlight())this.chartAnimationInterrupted.emit();this.animator.clear();this.morph={from,mode,version:++this.morphVersion};this.morphDisplayCache=void 0;this.animator.start(MORPH_KEY,{duration,easing:this.animationEasing});this.chartAnimationStart.emit();this.ensureAnimationLoop()}ensureAnimationLoop(){if(this.animationFrameHandle!==null||typeof requestAnimationFrame!=="function")return;const loop=()=>{this.animator.tick(this.now());this.animationTick++;if(this.animator.hasActive()&&this.animator.entries().size>0){this.animationFrameHandle=requestAnimationFrame(loop)}else{this.animationFrameHandle=null;if(!this.animator.has(MORPH_KEY))this.morph=void 0;this.chartAnimationEnd.emit()}};this.animationFrameHandle=requestAnimationFrame(loop)}stopAnimationLoop(){if(this.animationFrameHandle!==null&&typeof cancelAnimationFrame==="function")cancelAnimationFrame(this.animationFrameHandle);this.animationFrameHandle=null}now(){return typeof performance!=="undefined"?performance.now():Date.now()}ensureInternalStreamSource(){if(this.streamSource)return this.streamSource;if(!this.internalStreamSource){this.plainStreamEntries=void 0;this.internalStreamSource=createBubbleStreamSource({capacity:this.coerceStreamCapacity()});this.bindStreamSource()}return this.internalStreamSource}activeStreamSource(){if(!this.streamSessionAllowed())return void 0;return this.streamSource??this.internalStreamSource}streamSessionInputs(){return requestedStreamingInputs({streamSource:this.streamSource,streamMax:this.coerceStreamCapacity(),streamWindow:this.coerceStreamWindow()},{streamImplied:true})}streamSessionAsked(){return this.internalStreamSource!==void 0||this.streamSessionInputs().length>0}streamSessionKept(){return Boolean(this.boundStreamSource||this.internalStreamSource||this.streamSource)}streamSessionAllowed(ringCall=false){const asked=this.streamSessionInputs();if(asked.length===0&&!ringCall&&this.internalStreamSource===void 0)return true;const state=this.license.state(STREAMING_LICENSE_FEATURE);if(state==="valid"&&!this.license.isFrozen(STREAMING_LICENSE_FEATURE))return true;if(asked.length>0)this.license.refuse(STREAMING_LICENSE_FEATURE,state,asked[0]);return false}streamWriteTarget(method,openRing){if(this.license.isFrozen(STREAMING_LICENSE_FEATURE)){this.license.refuse(STREAMING_LICENSE_FEATURE,this.license.state(STREAMING_LICENSE_FEATURE),method);return null}const opens=openRing||this.plainStreamEntries!==void 0;if(!this.streamSessionAllowed(opens))return void 0;return opens?this.ensureInternalStreamSource():this.streamSource??this.internalStreamSource??null}applyPlainStream(op){const{list,event}=applyPlainStreamOp(this.plainStreamEntries??[],op,plainBubbleDatum);if(!event)return;this.plainStreamEntries=list;this.showStreamEntries(list,event)}parkInternalRing(){const ring=this.internalStreamSource;if(ring&&this.boundStreamSource===ring)this.license.parkStream(ring,[this.streamEntries])}resumeInternalRing(source){if(source!==this.internalStreamSource||this.license.resumeStream(source,[this.streamEntries]))return;source.replace(this.streamEntries)}bindStreamSource(){if(this.detached)return;const source=this.activeStreamSource();if(source===this.boundStreamSource)return;this.parkInternalRing();this.streamUnsubscribe?.();this.streamUnsubscribe=void 0;this.boundStreamSource=source;if(!source){if(this.license.isFrozen(STREAMING_LICENSE_FEATURE))return;const plain=this.plainStreamEntries??[];if(this.streamEntries!==plain&&(this.streamEntries.length>0||plain.length>0)){this.streamEntries=plain;this.streamVersion+=1;this.streamTick++;this.scheduleDraw()}return}this.resumeInternalRing(source);this.streamEntries=this.windowedSnapshot(source);this.streamVersion+=1;this.streamTick++;this.streamUnsubscribe=source.subscribe(event=>this.applyStreamEvent(source,event));this.scheduleDraw()}coerceStreamWindow(){const raw=this.streamWindow;const n=typeof raw==="string"?Number(raw):raw;return finiteNumber(n)&&n>0?Math.floor(n):void 0}windowedSnapshot(source){const all=source.snapshot();const n=this.coerceStreamWindow();return n!==void 0&&all.length>n?all.slice(all.length-n):all}applyStreamEvent(source,event){this.showStreamEntries(this.windowedSnapshot(source),event)}showStreamEntries(entries,event){const hadPoints=(this.pointsCache?.points.length??0)>0;this.streamEntries=entries;this.streamVersion+=1;this.streamTick++;if(event.type==="shift")this.windowSlid.emit({dropped:event.count});else this.appended.emit({count:event.count});this.afterPointsChange(hadPoints,true);this.scheduleDraw()}insidePlot(layout,cssX,cssY){const{plot}=layout;return cssX>=plot.x&&cssX<=plot.x+plot.width&&cssY>=plot.y&&cssY<=plot.y+plot.height}bubbleAtPoint(layout,cssX,cssY){const{plot,points}=layout;if(points.length===0||cssX<plot.x||cssY<plot.y||cssX>plot.x+plot.width||cssY>plot.y+plot.height)return-1;return nearestBubbleIndex(points.length,i=>this.centreOf(layout,i),i=>this.radiusOf(layout,i),cssX,cssY)}detailForBubble(layout,index,cssX,cssY){const p=layout.points[index];return{index,x:p.x,y:p.y,z:p.z,name:p.name,radiusPx:this.radiusOf(layout,index),cssX,cssY}}localPoint(event){const rect=this.host.getBoundingClientRect();return{cssX:event.clientX-rect.left,cssY:event.clientY-rect.top}}handlePointerMove=event=>{if(this.handleZoomPointerMove(event))return;if(!this.enableMouseTracking)return;const{cssX,cssY}=this.localPoint(event);const layout=this.computeLayout();this.updateCrosshair(layout,cssX,cssY);const index=this.bubbleAtPoint(layout,cssX,cssY);const spec=this.tooltips.resolveSpec(this.tooltip,this.tooltipEnabled);if(index<0){if(this.hoverIndex!==-1){this.hoverIndex=-1;this.pointHover.emit(null);this.scheduleDraw()}if(this.tooltips.visible&&this.tooltips.shouldHideOnLeave(spec))this.tooltips.clear();return}if(this.hoverIndex!==index){this.hoverIndex=index;this.pointHover.emit(this.detailForBubble(layout,index,cssX,cssY));this.scheduleDraw();if(spec.show&&this.tooltips.shouldShowOnHover(spec))this.showTooltipForBubble(layout,index,spec);else if(this.tooltips.visible&&this.tooltips.shouldHideOnLeave(spec))this.tooltips.clear()}};handlePointerLeave=()=>{if(this.hoverIndex!==-1){this.hoverIndex=-1;this.pointHover.emit(null);this.scheduleDraw()}if(this.cursor!==null){this.cursor=null;this.crosshairMove.emit(null)}if(this.tooltips.visible&&this.tooltips.shouldHideOnLeave(this.tooltips.resolveSpec(this.tooltip,this.tooltipEnabled)))this.tooltips.clear()};crosshairBubbleIndex(layout,cssX,cssY,snap){if(snap==="off"||layout.points.length===0)return-1;if(snap==="index")return this.bubbleAtPoint(layout,cssX,cssY);let best=-1;let bestDistance=Infinity;for(let i=0;i<layout.points.length;i+=1){const[cx,cy]=this.centreOf(layout,i);if(!this.insidePlot(layout,cx,cy))continue;const d=Math.hypot(cssX-cx,cssY-cy);if(d<bestDistance){best=i;bestDistance=d}}return best}updateCrosshair(layout,cssX,cssY){const spec=resolveCartesianCrosshairSpec(this.crosshair);const{plot}=layout;const inside=cssX>=plot.x&&cssX<=plot.x+plot.width&&cssY>=plot.y&&cssY<=plot.y+plot.height;if(!spec.show||!inside){if(this.cursor!==null){this.cursor=null;this.crosshairMove.emit(null)}return}const index=this.crosshairBubbleIndex(layout,cssX,cssY,spec.snap);let detail;if(index>=0){const[cx,cy]=this.centreOf(layout,index);const p=layout.points[index];detail={cssX:cx,cssY:cy,dataX:p.x,dataY:p.y,snappedPointIndex:index}}else if(layout.pack){detail={cssX,cssY}}else{detail={cssX,cssY,dataX:layout.frame.xScale.invert(cssX-layout.outer.x),dataY:layout.frame.yScale.invert(cssY-layout.outer.y)}}if(!this.cursor||this.cursor.cssX!==detail.cssX||this.cursor.cssY!==detail.cssY){this.cursor={cssX:detail.cssX,cssY:detail.cssY};this.crosshairMove.emit(detail)}}crosshairLineBackground(direction,color,dash){if(!dash||dash.length===0)return color;const mark=Math.max(1,Number.isFinite(Number(dash[0]))?Number(dash[0]):4);const gap=Math.max(1,Number.isFinite(Number(dash[1]))?Number(dash[1]):mark);const axis=direction==="vertical"?"to bottom":"to right";return`repeating-linear-gradient(${axis}, ${color} 0px, ${color} ${mark}px, transparent ${mark}px, transparent ${mark+gap}px)`}renderCrosshair(layout){const spec=resolveCartesianCrosshairSpec(this.crosshair);if(!spec.show||!this.cursor)return null;const{plot}=layout;const color=spec.color??"var(--sy-crosshair-color, rgba(17,24,39,0.4))";const showV=spec.mode==="vertical"||spec.mode==="cross";const showH=spec.mode==="horizontal"||spec.mode==="cross";return h("div",{class:"sy-bubble-chart__crosshair",style:{position:"absolute",left:"0",top:"0",width:`${this.width}px`,height:`${this.height}px`,pointerEvents:"none",zIndex:"3"}},showV&&h("div",{class:"sy-bubble-chart__crosshair-line",style:{position:"absolute",left:`${this.cursor.cssX}px`,top:`${plot.y}px`,width:"1px",height:`${plot.height}px`,background:this.crosshairLineBackground("vertical",color,spec.dash)}}),showH&&h("div",{class:"sy-bubble-chart__crosshair-line",style:{position:"absolute",left:`${plot.x}px`,top:`${this.cursor.cssY}px`,width:`${plot.width}px`,height:"1px",background:this.crosshairLineBackground("horizontal",color,spec.dash)}}))}handlePointerClick=event=>{if(this.consumeSuppressedPlotClick())return;const{cssX,cssY}=this.localPoint(event);const layout=this.computeLayout();const index=this.bubbleAtPoint(layout,cssX,cssY);if(index<0){if(this.tooltips.visible)this.tooltips.clear();return}this.pointClick.emit(this.detailForBubble(layout,index,cssX,cssY));const spec=this.tooltips.resolveSpec(this.tooltip,this.tooltipEnabled);if(spec.show&&this.tooltips.shouldShowOnClick(spec))this.showTooltipForBubble(layout,index,spec,true)};handleContextMenu=event=>{const{cssX,cssY}=this.localPoint(event);const layout=this.computeLayout();const index=this.bubbleAtPoint(layout,cssX,cssY);if(index<0)return;this.pointContextMenu.emit(buildChartPointContextMenuDetail(event,this.host,"bubble",this.detailForBubble(layout,index,cssX,cssY)))};formatDefaultTooltipText(detail){if(this.tooltipFormat){try{return this.tooltipFormat(detail)}catch(error){reportChartFormatterError(this.tooltipFormat,error,"tooltipFormat")}}return`${bubbleNameOf(detail,detail.index)} · x ${formatNumber(detail.x)} · y ${formatNumber(detail.y)} · z ${formatNumber(detail.z)}`}showTooltipForBubble(layout,index,spec,allowMultiple=false){const p=layout.points[index];const[cssX,cssY]=this.centreOf(layout,index);const detail=this.detailForBubble(layout,index,cssX,cssY);return this.tooltips.show(layout.plot,{index,cssX,cssY,dataX:p.x,dataY:p.y,value:p.z,text:this.formatDefaultTooltipText(detail)},spec,allowMultiple)}handleHostKeyDown=event=>{if(this.handleZoomKeyDown(event))return;const layout=this.computeLayout();const count=layout.points.length;if(count===0)return;const last=count-1;if(event.key==="Enter"||event.key===" "){if(this.focusIndex<0)return;event.preventDefault();event.stopPropagation();const index2=Math.max(0,Math.min(last,this.focusIndex));this.pointClick.emit(this.detailForBubble(layout,index2,...this.centreOf(layout,index2)));const spec=this.tooltips.resolveSpec(this.tooltip,this.tooltipEnabled);if(spec.show)this.showTooltipForBubble(layout,index2,spec,true);return}if(event.key==="Escape"){if(this.focusIndex<0&&!this.tooltips.visible)return;event.preventDefault();event.stopPropagation();this.focusIndex=-1;this.tooltips.clear();this.scheduleDraw();return}const step=event.shiftKey?KEYBOARD_JUMP:1;let next=null;if(event.key==="ArrowRight"||event.key==="ArrowDown")next=this.focusIndex<0?0:this.focusIndex+step;else if(event.key==="ArrowLeft"||event.key==="ArrowUp")next=this.focusIndex<0?0:this.focusIndex-step;else if(event.key==="Home")next=0;else if(event.key==="End")next=last;if(next===null)return;event.preventDefault();event.stopPropagation();const index=Math.max(0,Math.min(last,next));if(index!==this.focusIndex){this.focusIndex=index;this.pointHover.emit(this.detailForBubble(layout,index,...this.centreOf(layout,index)));this.scheduleDraw()}};handleHostBlur=()=>{if(this.focusIndex!==-1){this.focusIndex=-1;this.scheduleDraw()}};ringOf(layout,index,pad){const[cx,cy]=this.centreOf(layout,index);const r=this.radiusOf(layout,index)+pad;return{left:cx-r,top:cy-r,width:r*2,height:r*2}}renderFocus(layout){const index=this.focusIndex;if(index<0||index>=layout.points.length)return null;const r=this.ringOf(layout,index,4);return h("div",{class:"sy-bubble-chart__focus","aria-hidden":"true","data-index":index,style:{position:"absolute",left:`${r.left}px`,top:`${r.top}px`,width:`${r.width}px`,height:`${r.height}px`,boxSizing:"border-box",border:"2px dashed var(--sy-bubble-focus-color, #2563eb)",borderRadius:"50%",pointerEvents:"none",zIndex:"4",clipPath:this.plotClip(layout,r)}})}renderTooltip(){const model=this.tooltips.renderModel();if(model.items.length===0)return null;return model.items.map(item=>{const shared={class:item.className,"data-tooltip-id":`${item.id}`,ref:item.trackMeasure?el=>this.tooltipElement=el:void 0,style:item.style,role:"tooltip",onClick:this.tooltips.handleActionClick,onPointerDown:this.tooltips.handlePointerDown,onPointerMove:this.tooltips.handlePointerMove,onPointerUp:this.tooltips.handlePointerUp,onPointerCancel:this.tooltips.handlePointerUp};if(item.html!==void 0)return h("div",{...shared,innerHTML:item.html});return h("div",{...shared},item.text)})}renderTooltipConnector(){const model=this.tooltips.renderModel();if(model.connectors.length===0)return null;return h("svg",{class:"sy-bubble-chart__tooltip-connector",width:this.width,height:this.height,style:{position:"absolute",left:"0px",top:"0px",width:`${this.width}px`,height:`${this.height}px`,pointerEvents:"none",overflow:"visible",zIndex:"5"}},model.connectors.map(line=>h("line",{x1:line.x1,y1:line.y1,x2:line.x2,y2:line.y2,stroke:line.stroke,"stroke-width":line.width,"stroke-dasharray":line.dash})))}srSummary(layout){const{points,extent}=layout;const kind=layout.mode==="pack"?"Packed bubble chart":"Bubble chart";if(points.length===0)return`${kind}, no bubbles.`;return`${kind}, ${points.length} bubbles, x ${formatNumber(extent.xMin)} to ${formatNumber(extent.xMax)}, y ${formatNumber(extent.yMin)} to ${formatNumber(extent.yMax)}, z ${formatNumber(extent.zMin)} to ${formatNumber(extent.zMax)}.`}liveText(layout){const index=this.focusIndex>=0?this.focusIndex:this.hoverIndex;if(index>=0&&index<layout.points.length){const p=layout.points[index];return`Bubble ${bubbleNameOf(p,index)}: x ${formatNumber(p.x)}, y ${formatNumber(p.y)}, z ${formatNumber(p.z)}.`}return this.srSummary(layout)}render(){this.decideEngine();const layout=this.computeLayout();const summary=this.liveText(layout);if(summary!==this.srAnnouncement)this.srAnnouncement=summary;const{plot}=layout;const zoomSpec=this.zoomSpec();return h(Host,{key:"2843096b396dc1af38064c12d054393d1fd55511",style:{position:"relative",display:"inline-block",width:`${this.width}px`,height:`${this.height}px`,touchAction:zoomSpec.enabled&&zoomSpec.pinch?"none":void 0},role:"img","aria-label":this.chartTitle??"Bubble chart","data-points":layout.points.length,"data-tier":this.activeTier,"data-focus":this.focusIndex,"data-layout":layout.mode,tabindex:"0",onKeyDown:this.handleHostKeyDown,onBlur:this.handleHostBlur,"data-sy-brand-host":"chart"},this.renderAxisOverlay(layout),h("canvas",{class:"sy-bubble-chart__canvas",key:`sy-bubble-canvas-${this.activeTier}`,ref:el=>this.handleCanvasRef(el),width:Math.max(1,Math.round(plot.width)),height:Math.max(1,Math.round(plot.height)),style:{position:"absolute",left:`${plot.x}px`,top:`${plot.y}px`,width:`${plot.width}px`,height:`${plot.height}px`,zIndex:"2"},onPointerDown:this.handleZoomPointerDown,onPointerMove:this.handlePointerMove,onPointerUp:this.handleZoomPointerUp,onPointerCancel:this.handleZoomPointerCancel,onPointerLeave:this.handlePointerLeave,onClick:this.handlePointerClick,onContextMenu:this.handleContextMenu}),this.renderCrosshair(layout),this.renderHover(layout),this.renderFocus(layout),this.renderZoomOverlay(layout),this.renderTooltipConnector(),this.renderTooltip(),h("span",{key:"f547899aaa3e766d73f10de039e687257b102873",class:"sy-bubble-chart__sr-only","aria-live":"polite",role:"status"},this.srAnnouncement),this.fallbackReason&&h("span",{key:"6c1adf5dfa74c80c92bf79b9948170410bf3dbcd",class:"sy-bubble-chart__watermark",title:this.fallbackReason},FALLBACK_NOTICE_TEXT),renderChartBrand(this.host,this.brandLogo,{width:this.width,height:this.height,plot}))}renderHover(layout){const index=this.hoverIndex;if(index<0||index>=layout.points.length)return null;const r=this.ringOf(layout,index,3);return h("div",{class:"sy-bubble-chart__hover","aria-hidden":"true","data-index":index,style:{position:"absolute",left:`${r.left}px`,top:`${r.top}px`,width:`${r.width}px`,height:`${r.height}px`,boxSizing:"border-box",border:"1px solid var(--sy-bubble-hover-color, rgba(17,24,39,0.55))",borderRadius:"50%",pointerEvents:"none",zIndex:"3",clipPath:this.plotClip(layout,r)}})}renderAxisOverlay(layout){const{frame,outer,plot}=layout;const tickLabel=t=>t.label??formatNumber(t.value);const axisLine="var(--sy-axis-line-color, rgba(17,24,39,0.42))";const grid="var(--sy-axis-grid-color, rgba(0,0,0,0.06))";const xAxes=frame.xAxes.filter(axis=>axis.axis.show);const yAxes=frame.yAxes.filter(axis=>axis.axis.show);return h("div",{class:"sy-bubble-chart__axis-overlay","aria-hidden":"true",style:{position:"absolute",left:"0",top:"0",width:`${this.width}px`,height:`${this.height}px`,pointerEvents:"none"}},frame.titleRect&&this.chartTitle&&h("div",{class:"sy-bubble-chart__title",style:{position:"absolute",left:`${outer.x}px`,top:`${outer.y+frame.titleRect.y}px`,width:`${outer.width}px`,textAlign:"center",font:"600 14px system-ui, sans-serif",color:"var(--sy-title-color, var(--sy-axis-color, #111827))"}},this.chartTitle),frame.subtitleRect&&this.chartSubtitle&&h("div",{class:"sy-bubble-chart__subtitle",title:this.chartSubtitle,style:{position:"absolute",left:`${outer.x}px`,top:`${outer.y+frame.subtitleRect.y}px`,width:`${outer.width}px`,textAlign:"center",font:"400 12px system-ui, sans-serif",color:"var(--sy-subtitle-color, var(--sy-axis-color-muted, #4b5563))",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"}},this.chartSubtitle),frame.xGridLines.map(line=>h("div",{class:"sy-bubble-chart__grid-line",style:{position:"absolute",left:`${outer.x+line.x}px`,top:`${plot.y}px`,width:"1px",height:`${plot.height}px`,background:grid}})),frame.yGridLines.map(line=>h("div",{class:"sy-bubble-chart__grid-line",style:{position:"absolute",left:`${plot.x}px`,top:`${outer.y+line.y}px`,width:`${plot.width}px`,height:"1px",background:grid}})),yAxes.map(axis=>{const right=axis.side==="right";const ticks=thinAxisTicks(axis.ticks,{plotSize:plot.height,orientation:"vertical",format:tickLabel});const lineX=outer.x+axis.linePosition;return[...ticks.map(t=>h("div",{class:`sy-bubble-chart__axis-label sy-bubble-chart__axis-label--y${right?" sy-bubble-chart__axis-label--right":""}`,"data-axis-key":axis.key,"data-side":axis.side,style:{position:"absolute",left:`${right?lineX+6:lineX-48}px`,top:`${outer.y+t.position-7}px`,width:"42px",textAlign:right?"left":"right",font:"400 11px system-ui, sans-serif",color:"var(--sy-axis-color, #111827)"}},tickLabel(t))),h("div",{class:"sy-bubble-chart__axis-line","data-axis-key":axis.key,style:{position:"absolute",left:`${lineX}px`,top:`${plot.y}px`,width:"1px",height:`${plot.height}px`,background:axisLine}}),axis.axis.label?h("div",{class:"sy-bubble-chart__axis-title","data-axis-key":axis.key,"data-side":axis.side,style:{position:"absolute",left:`${right?lineX+54:lineX-68}px`,top:`${right?plot.y:plot.y+plot.height}px`,width:`${plot.height}px`,transform:right?"rotate(90deg)":"rotate(-90deg)",transformOrigin:"left top",textAlign:"center",font:"600 11px system-ui, sans-serif",color:"var(--sy-axis-color,#111827)"}},axis.axis.label):null]}),xAxes.map(axis=>{const top=axis.side==="top";const ticks=thinAxisTicks(axis.ticks,{plotSize:plot.width,orientation:"horizontal",format:tickLabel});const lineY=outer.y+axis.linePosition;return[...ticks.map(t=>h("div",{class:`sy-bubble-chart__axis-label sy-bubble-chart__axis-label--x${top?" sy-bubble-chart__axis-label--top":""}`,"data-axis-key":axis.key,"data-side":axis.side,style:{position:"absolute",left:`${outer.x+t.position-28}px`,top:`${top?lineY-18:lineY+4}px`,width:"56px",textAlign:"center",font:"400 11px system-ui, sans-serif",color:"var(--sy-axis-color, #111827)"}},tickLabel(t))),h("div",{class:"sy-bubble-chart__axis-line","data-axis-key":axis.key,"data-side":axis.side,style:{position:"absolute",left:`${plot.x}px`,top:`${lineY}px`,width:`${plot.width}px`,height:"1px",background:axisLine}}),axis.axis.label?h("div",{class:"sy-bubble-chart__axis-title","data-axis-key":axis.key,"data-side":axis.side,style:{position:"absolute",left:`${plot.x}px`,top:`${top?lineY-34:lineY+20}px`,width:`${plot.width}px`,textAlign:"center",font:"600 11px system-ui, sans-serif",color:"var(--sy-axis-color,#111827)"}},axis.axis.label):null]}))}async getEngineStatus(){return engineSwapStatus(this.engine,this.activeTier,this.engineOutcome,this.engineLicenseState)}static get watchers(){return{"data":[{"handleDataChange":0}],"streamSource":[{"handleStreamSourceChange":0}],"streamMax":[{"handleStreamSourceChange":0}],"streamWindow":[{"handleStreamWindowChange":0}],"animated":[{"handleAnimationChange":0}],"animationDuration":[{"handleAnimationChange":0}],"animationEasing":[{"handleAnimationChange":0}],"animationType":[{"handleAnimationChange":0}],"engine":[{"resetProInitLatch":0}],"proThreshold":[{"resetProInitLatch":0}],"unavailable":[{"resetProInitLatch":0}],"layout":[{"handlePackChange":0}],"packPadding":[{"handlePackChange":0}],"packFit":[{"handlePackChange":0}],"visualMap":[{"handleVisualMapProp":0}],"shading":[{"handleStyleChange":0}],"shadeStrength":[{"handleStyleChange":0}],"fillAlpha":[{"handleStyleChange":0}],"borderColor":[{"handleStyleChange":0}]}}};SyBubbleChart.style=syBubbleChartCss();export{SyBubbleChart as sy_bubble_chart};