@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 t,c as i,g as s,h as o,H as e}from"./p-DChj4qx2.js";import{s as n}from"./p-DO6vGxJP.js";import{n as r,b as h}from"./p-B6K1arcd.js";import{a}from"./p-DQ1RB1XB.js";import{C as l,c}from"./p-nxlSIIWU.js";import{h as d}from"./p-_AFoWkvk.js";import{Z as u,r as p}from"./p-DXJS1EXW.js";import{v as f,t as m,f as y,a as g,b as w}from"./p-WQSantHg.js";import{d as v,c as x}from"./p-BwtrZuf8.js";import{c as b,t as S}from"./p-C0f63Npv.js";import{s as M}from"./p-Yjd8T1ZK.js";import"./p-HAy9hTj2.js";import"./p-DUELYDa7.js";import"./p-AzDRbG7D.js";import"./p-D6sPnRDQ.js";const C=new Set(["i","j","l","t","f","r",".",",",":",";","'","|","!","I","(",")","[","]"," "]),k=new Set(["m","w","M","W","@","%","&"]),A=/[A-Z]/,P=/[0-9]/;function $(t2){return(i2=t2.codePointAt(0)??0)>=4352&&i2<=4607||i2>=11904&&i2<=40959||i2>=44032&&i2<=55203||i2>=12352&&i2<=12543||i2>=63744&&i2<=64255||i2>=65280&&i2<=65376?1:C.has(t2)?.3:k.has(t2)?.92:A.test(t2)?.72:P.test(t2)?.56:.55;var i2}function T(t2,i2){let s2=0;for(const i3 of t2)s2+=$(i3);return s2*i2}const z=(t2,i2)=>({width:T(t2,i2),height:1.32*i2});function _(t2,i2){const s2=Math.max(1,Math.floor(Number.isFinite(i2.orientations)?i2.orientations:1)),o2=Number.isFinite(i2.from)?i2.from:0,e2=Number.isFinite(i2.to)?i2.to:o2;return 1===s2?o2:o2+t2%s2*((e2-o2)/(s2-1))}function W(t2,i2,s2){const o2=s2*Math.PI/180,e2=Math.abs(Math.cos(o2)),n2=Math.abs(Math.sin(o2));return{width:t2*e2+i2*n2,height:t2*n2+i2*e2}}function F(t2,i2,s2){return Math.abs(t2.x-i2.x)<t2.halfWidth+i2.halfWidth+s2&&Math.abs(t2.y-i2.y)<t2.halfHeight+i2.halfHeight+s2}function D(t2,i2){return t2.x-t2.halfWidth>=i2.x&&t2.x+t2.halfWidth<=i2.x+i2.width&&t2.y-t2.halfHeight>=i2.y&&t2.y+t2.halfHeight<=i2.y+i2.height}function*V(t2,i2,s2){if(yield{dx:0,dy:0},"archimedean"===t2){const t3=.35,o3=i2/(2*Math.PI);for(let i3=1;i3<=s2;i3+=1){const s3=i3*t3,e3=o3*s3;yield{dx:e3*Math.cos(s3),dy:e3*Math.sin(s3)}}return}let o2=0,e2=0,n2=0,r2=1;const h2=[{dx:1,dy:0},{dx:0,dy:1},{dx:-1,dy:0},{dx:0,dy:-1}];let a2=0;for(;n2<s2;){for(let t3=0;t3<2&&n2<s2;t3+=1){const t4=h2[a2%4];for(let h3=0;h3<r2&&n2<s2;h3+=1)o2+=t4.dx*i2,e2+=t4.dy*i2,n2+=1,yield{dx:o2,dy:e2};a2+=1}r2+=1}}function j(t2,i2){if(Array.isArray(t2)){const[s2,o2]=t2;return{name:"string"==typeof s2?s2:String(s2??i2),weight:I(o2),color:void 0,rotation:void 0,visible:true,id:"string"==typeof s2&&s2.length>0?s2:String(i2)}}if(t2&&"object"==typeof t2){const s2=t2,o2="string"==typeof s2.name&&s2.name.length>0?s2.name:String(i2);return{name:o2,weight:I(s2.weight),color:"string"==typeof s2.color?s2.color:void 0,rotation:"number"==typeof s2.rotation&&Number.isFinite(s2.rotation)?s2.rotation:void 0,visible:false!==s2.visible,id:null!=s2.id?String(s2.id):o2}}return{name:String(i2),weight:0,color:void 0,rotation:void 0,visible:false,id:String(i2)}}function I(t2){const i2="bigint"==typeof t2?Number(t2):t2;return"number"!=typeof i2||!Number.isFinite(i2)||i2<=0?0:i2}const L={show:true,openMode:"single",trigger:"hover",offset:8,interactive:false,hideOnLeave:true,connector:{show:false},draggable:false};function N(t2){return Boolean(t2)&&"object"==typeof t2&&!Array.isArray(t2)}function X(t2){const i2=(function(t3,i3){const s3=Array.isArray(t3)?t3:[],o3=[];for(let t4=0;t4<s3.length;t4+=1){const e3=j(s3[t4],t4);!e3.visible||e3.weight<=0||o3.push({index:t4,id:e3.id,name:e3.name,weight:e3.weight,color:e3.color??i3[t4%Math.max(1,i3.length)]??"#2563eb",rotation:e3.rotation,visible:true})}return o3})(t2.values,t2.palette),s2=(function(t3){const i3=t3.measure??z,s3=t3.plot,o3=Math.max(0,Number.isFinite(t3.wordPadding)?t3.wordPadding:0),e3=(function(t4,i4){const s4=Math.max(1,Math.floor(Number.isFinite(i4.minFontSize)?i4.minFontSize:1)),o4=Math.max(s4,Math.floor(Number.isFinite(i4.maxFontSize)?i4.maxFontSize:s4)),e4=t4.reduce(((t5,i5)=>Math.max(t5,i5.weight)),0),n3=new Map;if(e4<=0)return n3;for(const r3 of t4){if(r3.weight<=0)continue;const t5=r3.weight/e4,h3="sqrt"===i4.weightScale?Math.sqrt(t5):"log"===i4.weightScale?Math.log(1+r3.weight)/Math.log(1+e4):t5;n3.set(r3.index,Math.min(o4,Math.max(s4,Math.floor(o4*h3))))}return n3})(t3.words,t3),n2=[...t3.words].sort(((t4,i4)=>i4.weight-t4.weight||t4.index-i4.index)),r2=s3.x+s3.width/2,h2=s3.y+s3.height/2,a2=Math.max(2,Math.min(s3.width,s3.height)/100),l2=Math.max(s3.width,s3.height),c2=2*Math.ceil((l2/a2+2)**2),d2=[],u2=[],p2=[];for(let f2=0;f2<n2.length;f2+=1){const m2=n2[f2],y2=e3.get(m2.index)??0;if(y2<=0)continue;const g2=m2.rotation??_(f2,t3.rotation),w2=i3(m2.name,y2),v2=W(w2.width,w2.height,g2),x2=v2.width/2,b2=v2.height/2;let S2=null;if(v2.width<=s3.width&&v2.height<=s3.height)for(const i4 of V(t3.spiral,a2,c2)){if(Math.hypot(i4.dx,i4.dy)>l2)break;const t4={x:r2+i4.dx,y:h2+i4.dy,halfWidth:x2,halfHeight:b2};if(D(t4,s3)&&!u2.some((i5=>F(t4,i5,o3)))){S2={x:t4.x,y:t4.y};break}}S2?(d2.push({word:m2,fontSize:y2,x:S2.x,y:S2.y,rotation:g2,width:w2.width,height:w2.height,extentWidth:v2.width,extentHeight:v2.height}),u2.push({x:S2.x,y:S2.y,halfWidth:x2,halfHeight:b2})):p2.push({word:m2,fontSize:y2,reason:"no-fit"})}return{placed:d2,dropped:p2,plot:s3}})({words:i2,plot:t2.plot,minFontSize:t2.minFontSize,maxFontSize:t2.maxFontSize,weightScale:t2.weightScale,spiral:t2.spiral,rotation:{orientations:t2.orientations,from:t2.rotationFrom,to:t2.rotationTo},wordPadding:t2.wordPadding,measure:t2.measure}),o2=i2.reduce(((t3,i3)=>t3+i3.weight),0),e2=s2.placed.map((t3=>({key:t3.word.id,placed:t3,x:t3.x,y:t3.y,rotation:t3.rotation,fontSize:t3.fontSize,color:t3.word.color,name:t3.word.name,index:t3.word.index})));return{words:i2,placed:[...s2.placed],dropped:[...s2.dropped],visuals:e2,plot:s2.plot,totalWeight:o2}}function Y(t2,i2){return i2?`${t2} ${i2}`:t2}function E(t2,i2){return"number"!=typeof i2?i2:new Set(["lineHeight","opacity","zIndex","fontWeight","flex","flexGrow","flexShrink","order"]).has(t2)?String(i2):`${i2}px`}function R(t2,i2,s2){return i2>=t2.x&&i2<=t2.x+t2.width&&s2>=t2.y&&s2<=t2.y+t2.height}let H=0;const U=class{constructor(s2){t(this,s2),this.rendered=i(this,"rendered",7),this.pointClick=i(this,"pointClick",7),this.pointHover=i(this,"pointHover",7),this.pointContextMenu=i(this,"pointContextMenu",7),this.appended=i(this,"appended",7),this.windowSlid=i(this,"windowSlid",7),this.chartAnimationStart=i(this,"chartAnimationStart",7),this.chartAnimationEnd=i(this,"chartAnimationEnd",7),this.chartAnimationInterrupted=i(this,"chartAnimationInterrupted",7),this.tooltipShown=i(this,"tooltipShow",7),this.tooltipHide=i(this,"tooltipHide",7),this.tooltipAction=i(this,"tooltipAction",7),this.zoomChange=i(this,"zoomChange",7)}get host(){return s(this)}values=[];width=520;height=400;brandLogo;brandPosition="bottom-right";palette="tableau10";colors;minFontSize=10;maxFontSize=44;weightScale="linear";spiral="rectangular";orientations=2;rotationFrom=0;rotationTo=90;wordPadding=2;fontFamily="system-ui, sans-serif";fontWeight="600";chartTitle;chartSubtitle;tooltipShow=true;tooltipFormat;tooltip;enableMouseTracking=true;zoom;engine="auto";unavailable="fallback";streamSource;streamWindow;streamMax;animated=false;animationDuration=600;animationEasing="ease-out";animationType;rendered;pointClick;pointHover;pointContextMenu;appended;windowSlid;chartAnimationStart;chartAnimationEnd;chartAnimationInterrupted;tooltipShown;tooltipHide;tooltipAction;zoomChange;activeTier="standard";fallbackReason;wordTooltip=null;wordTooltips=[];displayValues=[];hoverWordIndex=null;focusedWordIndex=null;srAnnouncement="";animationTick=0;zoomState=null;zoomSelection=null;initialRevealState;morphState;animationFrameHandle=null;stopAnimationLoopImpl;suppressNextValuesAnimation=false;internalStreamSource;internalStreamCapacity;boundStreamSource;streamUnsubscribe;streamLicense=new l({host:()=>this.host,input:()=>c(this,"plain-fallback"),active:()=>void 0!==this.boundStreamSource,onChange:()=>this.handleStreamLicenseChange()});internalStreamValues;lastRenderResult={words:0,dropped:0,renderMs:0};pendingRenderedEmit=false;tooltipDrag;tooltipElement;nextTooltipId=1;draggableTooltipPositions=new Map;pointerFocusing=false;layoutCache;wordMeasure;wordMeasureFont;instanceKey=++H;zoomInteraction=new u(this.zoomInteractionHost());componentWillLoad(){this.displayValues=this.values}hasLoaded=false;detached=false;connectedCallback(){this.detached=false,this.streamLicense.connect(),this.hasLoaded&&(this.host.addEventListener("wheel",this.handleZoomWheel,{passive:false}),this.bindStreamSource())}componentDidLoad(){this.hasLoaded=true,this.bindStreamSource(),this.host.addEventListener("wheel",this.handleZoomWheel,{passive:false}),this.shouldRunInitialAnimation(null)&&this.startInitialReveal()}componentDidRender(){this.detached||(this.pendingRenderedEmit&&(this.pendingRenderedEmit=false,this.rendered.emit({...this.lastRenderResult,tier:this.activeTier})),this.measureWordTooltipBox())}disconnectedCallback(){this.detached=true,this.streamLicense.disconnect(),this.streamUnsubscribe?.(),this.streamUnsubscribe=void 0,this.boundStreamSource=void 0,this.cancelInitialReveal(false),this.cancelMorph(false),this.stopAnimationLoop(),this.tooltipDrag=void 0,this.host.removeEventListener("wheel",this.handleZoomWheel),this.zoomInteraction.dispose(),this.zoomSelection=null}handleValuesChange(t2,i2){if(this.suppressNextValuesAnimation)return this.suppressNextValuesAnimation=false,void(this.morphState||(this.displayValues=t2));this.routeValuesAnimation(i2??[],t2)}handleStreamSourceChange(){this.bindStreamSource()}handleAnimationChange(){this.cancelMorph(true),this.cancelInitialReveal(true),this.shouldRunInitialAnimation(null)&&this.startInitialReveal()}handleVisualPropsChange(){this.animationTick++}async redraw(){const t2=this.now();this.layoutCache=void 0;const i2=this.settledRenderLayout(),s2={words:i2.placed.length,dropped:i2.dropped.length,renderMs:this.now()-t2};return this.lastRenderResult=s2,this.animationTick++,s2}async getActiveTier(){return this.activeTier}async addWord(t2,i2){const s2=Array.isArray(this.values)?[...this.values]:[],o2="number"==typeof i2?.insertAt&&i2.insertAt>=0&&i2.insertAt<=s2.length?Math.floor(i2.insertAt):s2.length;return s2.splice(o2,0,t2),this.values=s2,o2}async removeWord(t2){if(!Array.isArray(this.values))return false;const i2=this.resolveWordIndex(t2);if(i2<0)return false;const s2=[...this.values];return s2.splice(i2,1),this.values=s2,true}async updateWord(t2,i2){if(!Array.isArray(this.values))return false;const s2=this.resolveWordIndex(t2);if(s2<0)return false;const o2=[...this.values],e2=o2[s2];return o2[s2]=Array.isArray(e2)?{name:e2[0],weight:e2[1],...i2}:{...e2,...i2},this.values=o2,true}async setWordWeight(t2,i2){return this.updateWord(t2,{weight:i2})}async appendPoint(t2){await this.streamLicense.run("appendPoint",(()=>{const i2=this.activeStreamSource();i2?i2.push(t2):(this.mergeIntoValues([t2]),this.appended.emit({count:1}))}))}async appendBatch(t2){Array.isArray(t2)&&0!==t2.length&&await this.streamLicense.run("appendBatch",(()=>{const i2=this.activeStreamSource();i2?i2.pushBatch(t2):(this.mergeIntoValues(t2),this.appended.emit({count:t2.length}))}))}async shift(t2=1){await this.streamLicense.run("shift",(()=>{const i2=this.activeStreamSource();if(i2)return void i2.shift(t2);if(!Array.isArray(this.values))return;const s2=Math.max(0,Math.min(Math.floor(t2),this.values.length));if(0===s2)return;const o2=[...this.values];for(let t3=0;t3<s2;t3+=1){let t4=0;for(let i3=1;i3<o2.length;i3+=1)j(o2[i3],i3).weight<j(o2[t4],t4).weight&&(t4=i3);o2.splice(t4,1)}this.values=o2,this.windowSlid.emit({dropped:s2})}))}async replace(t2){await this.streamLicense.run("replace",(()=>{const i2=this.activeStreamSource();i2?i2.replace(t2):this.values=Array.isArray(t2)?[...t2]:[]}))}async getStreamSource(){return this.streamLicense.run("getStreamSource",(()=>this.activeStreamSource()))}async setAnimation(t2){t2&&(Number.isFinite(t2.duration)&&(this.animationDuration=t2.duration),t2.easing&&(this.animationEasing=t2.easing),t2.type&&(this.animationType=t2.type),"boolean"==typeof t2.enabled&&(t2.enabled||!this.initialRevealState&&!this.morphState||this.chartAnimationInterrupted.emit(),this.animated=t2.enabled,t2.enabled||(this.cancelMorph(false),this.cancelInitialReveal(false),this.stopAnimationLoop(),this.animationTick++)))}async pauseAnimation(){const t2=this.now();for(const i2 of[this.initialRevealState,this.morphState])i2&&!i2.paused&&(i2.pausedElapsed=t2-i2.startedAt,i2.paused=true);this.stopAnimationLoop()}async resumeAnimation(){const t2=this.now();for(const i2 of[this.initialRevealState,this.morphState])i2&&i2.paused&&(i2.startedAt=t2-i2.pausedElapsed,i2.paused=false);(this.initialRevealState||this.morphState)&&this.startAnimationLoop()}async replayAnimation(){this.animated&&(this.cancelMorph(false),this.cancelInitialReveal(false),this.startInitialReveal())}async hitTestWord(t2,i2){const s2=this.settledRenderLayout(),o2=this.wordUnderPointer(s2,t2,i2);return o2?{index:o2.word.index,id:o2.word.id,name:o2.word.name}:null}async getDroppedWords(){return this.settledRenderLayout().dropped.map((t2=>({index:t2.word.index,id:t2.word.id,name:t2.word.name,weight:t2.word.weight})))}async showTooltipAtWord(t2){const i2=this.resolveWordIndex(t2),s2=this.settledRenderLayout(),o2=s2.placed.find((t3=>t3.word.index===i2));if(!o2)return null;const e2=this.effectiveTooltipSpec();return e2.show?(this.showTooltipForWord(o2.word,{x:o2.x,y:o2.y},e2,"multiple"===e2.openMode,o2),this.buildPointEventDetail(o2.word,s2)):null}async hideTooltip(){this.clearTooltips()}async zoomTo(t2){return this.zoomInteraction.zoomTo(t2)}async zoomBy(t2,i2=.5){return this.zoomInteraction.zoomBy(t2,i2)}async panBy(t2){return this.zoomInteraction.panBy(t2)}async resetZoom(){return this.zoomInteraction.reset()}async getZoom(){return this.zoomState}async getZoomExtent(t2){return this.zoomInteraction.extent(t2)}zoomSpec(){return p(this.zoom)}zoomRect(){return this.plotRect()}viewportTransform(){return f(this.zoomRect(),this.zoomState)}shownPoint(t2,i2){return m(this.viewportTransform(),t2,i2)}contentPointAt(t2,i2){const s2=this.viewportTransform();return s2.zoomed?R(this.zoomRect(),t2,i2)?y(s2,t2,i2):null:{x:t2,y:i2}}wordUnderPointer(t2,i2,s2){const o2=this.contentPointAt(i2,s2);return o2?(function(t3,i3,s3){for(let o3=t3.length-1;o3>=0;o3-=1){const e2=t3[o3],n2=-e2.rotation*Math.PI/180,r2=Math.cos(n2),h2=Math.sin(n2),a2=i3-e2.x,l2=s3-e2.y,c2=a2*h2+l2*r2;if(Math.abs(a2*r2-l2*h2)<=e2.width/2&&Math.abs(c2)<=e2.height/2)return e2}return null})(t2.placed,o2.x,o2.y):null}zoomInteractionHost(){return{frame:()=>g(this.zoomRect(),this.zoomState),spec:()=>this.zoomSpec(),state:()=>this.zoomState,apply:t2=>{this.zoomState=t2,this.reanchorTooltipsForZoom()},emit:t2=>{this.zoomChange.emit(t2)},selection:t2=>{this.zoomSelection=t2},standDown:()=>this.zoomStandDown()}}zoomStandDown(){this.clearHover()}reanchorTooltipsForZoom(){if(!this.hasVisibleTooltips())return;const t2=this.viewportTransform(),i2=this.zoomRect(),s2=s3=>{const o2=m(t2,s3.anchorX,s3.anchorY);if(t2.zoomed&&!R(i2,o2.x,o2.y))return null;const e2={...s3.context,cssX:o2.x,cssY:o2.y};return s3.positionLock?{...s3,pointCssX:o2.x,pointCssY:o2.y,context:e2}:{...s3,cssX:o2.x,cssY:o2.y,pointCssX:o2.x,pointCssY:o2.y,context:e2}};this.wordTooltip=this.wordTooltip?s2(this.wordTooltip):null,this.wordTooltips=this.wordTooltips.map(s2).filter((t3=>null!==t3)),this.hasVisibleTooltips()||(this.tooltipDrag=void 0,this.tooltipHide.emit())}zoomPointerInput(t2){const i2=this.pointerCss(t2);return{pointerId:t2.pointerId,x:i2.x,y:i2.y,button:t2.button,shiftKey:t2.shiftKey,altKey:t2.altKey,pointerType:t2.pointerType}}zoomWheelInput(t2){const i2=this.pointerCss(t2);return{x:i2.x,y:i2.y,deltaX:t2.deltaX,deltaY:t2.deltaY,deltaMode:t2.deltaMode,ctrlKey:t2.ctrlKey,metaKey:t2.metaKey,shiftKey:t2.shiftKey}}handleZoomWheel=t2=>{this.zoomInteraction.wheel(this.zoomWheelInput(t2))&&t2.preventDefault()};handleZoomPointerDown=t2=>{this.zoomInteraction.pointerDown(this.zoomPointerInput(t2))&&t2.currentTarget?.setPointerCapture?.(t2.pointerId)};handleZoomPointerMove(t2){return this.zoomInteraction.pointerMove(this.zoomPointerInput(t2))}handleZoomPointerUp=t2=>{const i2=this.zoomInteraction.isPending;this.zoomInteraction.pointerUp(this.zoomPointerInput(t2)),i2&&t2.currentTarget?.releasePointerCapture?.(t2.pointerId)};handleZoomPointerCancel=()=>{this.zoomInteraction.pointerCancel()};consumeSuppressedPlotClick(){return this.zoomInteraction.consumeSuppressedClick()}handleZoomKeyDown(t2){return!!this.zoomInteraction.wantsKey(t2)&&!!this.zoomInteraction.keyDown(t2)&&(t2.preventDefault(),t2.stopPropagation(),true)}renderZoomOverlay(){const t2=this.zoomSpec(),i2=this.zoomSelection,s2=null!==this.zoomState;if(!(i2||s2&&t2.resetButton))return null;const e2=this.zoomRect();return o("div",{class:"sy-word-cloud__zoom-overlay",style:{position:"absolute",left:"0",top:"0",width:`${this.width}px`,height:`${this.height}px`,pointerEvents:"none",zIndex:"6"}},i2&&o("div",{class:"sy-word-cloud__zoom-selection","aria-hidden":"true",style:{position:"absolute",left:`${i2.x}px`,top:`${i2.y}px`,width:`${i2.width}px`,height:`${i2.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))"}}),s2&&t2.resetButton&&o("button",{type:"button",class:"sy-word-cloud__zoom-reset","aria-label":"Reset zoom",onClick:()=>{this.resetZoom()},style:{...u.resetButtonStyle,position:"absolute",left:e2.x+e2.width-8+"px",top:`${e2.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"))}resolveWordIndex(t2){if("number"==typeof t2&&Number.isFinite(t2)){const i2=Math.floor(t2);return Array.isArray(this.values)&&i2>=0&&i2<this.values.length?i2:-1}if(!Array.isArray(this.values))return-1;for(let i2=0;i2<this.values.length;i2++){const s2=j(this.values[i2],i2);if(s2.id===t2||s2.name===t2)return i2}return-1}mergeIntoValues(t2){const i2=Array.isArray(this.values)?[...this.values]:[];for(const s2 of t2){const t3=j(s2,i2.length),o2=i2.findIndex(((i3,s3)=>j(i3,s3).name===t3.name));if(o2<0){i2.push(s2);continue}const e2=j(i2[o2],o2);i2[o2]={name:e2.name,weight:e2.weight+t3.weight,...void 0!==t3.color||void 0!==e2.color?{color:t3.color??e2.color}:{},...void 0!==t3.rotation||void 0!==e2.rotation?{rotation:t3.rotation??e2.rotation}:{},...e2.id!==e2.name?{id:e2.id}:{}}}this.values=i2}activeStreamSource(){const t2=this.streamLicense.route();if("plain"===t2&&this.dropInternalStreamSource(),"stream"===t2)return this.streamSource?this.streamSource:this.ensureInternalStreamSource()}ensureInternalStreamSource(){if(!Number.isFinite(this.streamMax))return void this.dropInternalStreamSource();const t2=Math.max(1,Math.floor(this.streamMax));return this.internalStreamSource&&this.internalStreamCapacity===t2||(this.internalStreamCapacity=t2,this.internalStreamSource=(function(){const t3=new Error("Dedicated streaming requires @syidax/advanced-pro");throw t3.code="module-missing",t3.feature="chart.streaming",t3})(),this.internalStreamValues=this.values),this.internalStreamSource}dropInternalStreamSource(){this.internalStreamSource=void 0,this.internalStreamCapacity=void 0,this.internalStreamValues=void 0}bindStreamSource(){if(this.detached)return;const t2=this.streamLicense.route();"plain"===t2&&this.dropInternalStreamSource();let i2="stream"===t2?this.streamSource??this.ensureInternalStreamSource():void 0;i2!==this.boundStreamSource&&(void 0!==i2&&i2===this.internalStreamSource&&this.values!==this.internalStreamValues&&(this.dropInternalStreamSource(),i2=this.ensureInternalStreamSource()),this.streamUnsubscribe?.(),this.streamUnsubscribe=void 0,this.boundStreamSource=void 0,i2&&(this.boundStreamSource=i2,this.streamUnsubscribe=i2.subscribe((t3=>this.handleStreamEvent(t3))),this.syncFromStreamSource()))}syncFromStreamSource(){if(!this.boundStreamSource)return;const t2=this.boundStreamSource.snapshot(this.streamWindow);this.suppressNextValuesAnimation=true,this.values=t2,this.noteStreamValues(),this.displayValues=t2}handleStreamLicenseChange(){this.bindStreamSource()}noteStreamValues(){void 0!==this.boundStreamSource&&this.boundStreamSource===this.internalStreamSource&&(this.internalStreamValues=this.values)}handleStreamEvent(t2){if(!this.boundStreamSource)return;const i2=this.boundStreamSource.snapshot(this.streamWindow),s2=this.currentWordVisuals(),o2=this.displayValues;return this.suppressNextValuesAnimation=true,this.values=i2,this.noteStreamValues(),"push"===t2.type||"pushBatch"===t2.type?this.appended.emit({count:t2.count}):"shift"===t2.type&&this.windowSlid.emit({dropped:t2.count}),this.shouldRunInitialAnimation(o2)?(this.cancelMorph(false),this.displayValues=i2,this.startInitialReveal(),void this.animationTick++):this.shouldAnimateUpdates(o2)?this.sameWordValues(o2,i2)?(this.displayValues=i2,void this.animationTick++):(this.displayValues=i2,void this.startWordMorph(s2)):(this.cancelMorph(false),this.displayValues=i2,void this.animationTick++)}sameWordValues(t2,i2){const s2=Array.isArray(t2)?t2:[],o2=Array.isArray(i2)?i2:[];if(s2.length!==o2.length)return false;for(let t3=0;t3<s2.length;t3++){const i3=j(s2[t3],t3),e2=j(o2[t3],t3);if(i3.id!==e2.id||i3.weight!==e2.weight)return false}return true}shouldAnimateUpdates(t2){return this.animated&&"update"===this.resolveAnimationType(t2)}shouldRunInitialAnimation(t2){return this.animated&&"initial"===this.resolveAnimationType(t2)}resolveAnimationType(t2){return this.animationType?this.animationType:Array.isArray(t2)&&t2.length>0?"update":"initial"}routeValuesAnimation(t2,i2){const s2=this.currentWordVisuals();this.displayValues=i2,this.shouldRunInitialAnimation(t2)?(this.cancelMorph(true),this.startInitialReveal()):this.shouldAnimateUpdates(t2)&&!this.sameWordValues(t2,i2)?this.startWordMorph(s2):this.animationTick++}startInitialReveal(){this.cancelInitialReveal(false);const t2=Math.max(0,this.animationDuration);t2<=0||(this.initialRevealState={startedAt:this.now(),duration:t2,paused:false,pausedElapsed:0},this.chartAnimationStart.emit(),this.startAnimationLoop())}cancelInitialReveal(t2){this.initialRevealState&&(t2&&this.chartAnimationInterrupted.emit(),this.initialRevealState=void 0)}startWordMorph(t2){this.cancelMorph(true);const i2=Math.max(0,this.animationDuration);i2<=0?this.animationTick++:(this.morphState={prevVisuals:t2,startedAt:this.now(),duration:i2,paused:false,pausedElapsed:0},this.chartAnimationStart.emit(),this.startAnimationLoop())}cancelMorph(t2){this.morphState&&(t2&&this.chartAnimationInterrupted.emit(),this.morphState=void 0)}now(){return"undefined"!=typeof performance?performance.now():0}startAnimationLoop(){if(null!==this.animationFrameHandle)return;const t2="function"==typeof requestAnimationFrame?requestAnimationFrame:t3=>setTimeout((()=>t3(this.now())),16),i2="function"==typeof cancelAnimationFrame?cancelAnimationFrame:t3=>clearTimeout(t3),s2=i3=>{this.animationFrameHandle=null;const o2=this.advanceAnimations(i3);this.animationTick++,o2?this.animationFrameHandle=t2(s2):this.chartAnimationEnd.emit()};this.animationFrameHandle=t2(s2),this.stopAnimationLoopImpl=()=>{null!==this.animationFrameHandle&&(i2(this.animationFrameHandle),this.animationFrameHandle=null)}}stopAnimationLoop(){this.stopAnimationLoopImpl?.(),this.animationFrameHandle=null}advanceAnimations(t2){let i2=false;if(this.initialRevealState){const s2=this.initialRevealState;(s2.paused?s2.pausedElapsed:t2-s2.startedAt)>=s2.duration?this.initialRevealState=void 0:s2.paused||(i2=true)}if(this.morphState){const s2=this.morphState;(s2.paused?s2.pausedElapsed:t2-s2.startedAt)>=s2.duration?this.morphState=void 0:s2.paused||(i2=true)}return i2}tweenProgress(t2){const i2=t2.paused?t2.pausedElapsed:this.now()-t2.startedAt,s2=Math.min(1,Math.max(0,i2/Math.max(1,t2.duration)));return a(s2,this.animationEasing)}resolvedPalette(){if(Array.isArray(this.colors)&&this.colors.length>0)return[...this.colors];const t2=x[this.palette]??x.tableau10,i2=Math.max(t2.stops.length,12);return v(t2,i2).map((t3=>`rgb(${t3.r}, ${t3.g}, ${t3.b})`))}titleGutter(){let t2=0;return this.chartTitle&&(t2+=22),this.chartSubtitle&&(t2+=16),t2}plotRect(){const t2=this.titleGutter();return{x:0,y:t2,width:Math.max(1,this.width),height:Math.max(1,this.height-t2)}}effectiveWordMeasure(){const t2=`${this.fontWeight}|${this.fontFamily}`;return this.wordMeasure&&this.wordMeasureFont===t2||(this.wordMeasure=(function(t3,i2){let s2;return(o2,e2)=>{if(void 0===s2)try{s2="undefined"!=typeof document?document.createElement("canvas").getContext("2d"):null}catch{s2=null}if(!s2)return z(o2,e2);s2.font=`${i2} ${e2}px ${t3}`;const n2=s2.measureText(o2),r2=n2.fontBoundingBoxAscent+n2.fontBoundingBoxDescent,h2=n2.actualBoundingBoxAscent+n2.actualBoundingBoxDescent,a2=Number.isFinite(r2)&&r2>0?r2:Number.isFinite(h2)&&h2>0?h2:1.32*e2,l2=n2.actualBoundingBoxLeft+n2.actualBoundingBoxRight;return{width:Math.max(n2.width>0?n2.width:T(o2,e2),Number.isFinite(l2)?l2:0),height:a2}}})(this.fontFamily,this.fontWeight),this.wordMeasureFont=t2),this.wordMeasure}settledRenderLayout(){const t2=this.resolvedPalette(),i2=[this.width,this.height,this.titleGutter(),this.minFontSize,this.maxFontSize,this.weightScale,this.spiral,this.orientations,this.rotationFrom,this.rotationTo,this.wordPadding,this.fontFamily,this.fontWeight,t2.join(",")].join("|");if(this.layoutCache&&this.layoutCache.key===i2&&this.layoutCache.values===this.displayValues)return this.layoutCache.layout;const s2=X({values:this.displayValues,plot:this.plotRect(),palette:t2,minFontSize:this.minFontSize,maxFontSize:this.maxFontSize,weightScale:this.weightScale,spiral:this.spiral,orientations:this.orientations,rotationFrom:this.rotationFrom,rotationTo:this.rotationTo,wordPadding:this.wordPadding,measure:this.effectiveWordMeasure()});return this.layoutCache={key:i2,values:this.displayValues,layout:s2},s2}currentWordVisuals(){const t2=this.settledRenderLayout();if(!this.morphState)return t2.visuals;const i2=this.tweenProgress(this.morphState);return this.composeMorphWords(this.morphState.prevVisuals,t2.visuals,i2).filter((t3=>!t3.key.startsWith("ghost:"))).map((i3=>{const s2=t2.visuals.find((t3=>t3.key===i3.key));return{key:i3.key,placed:s2?.placed??t2.visuals[0]?.placed,x:i3.x,y:i3.y,rotation:i3.rotation,fontSize:i3.fontSize,color:i3.color,name:i3.name,index:i3.index}})).filter((t3=>void 0!==t3.placed))}composeMorphWords(t2,i2,s2){const o2=[],e2=new Map(t2.map((t3=>[t3.key,t3]))),n2=new Set(i2.map((t3=>t3.key)));for(const t3 of i2){const i3=e2.get(t3.key);o2.push(i3?{key:t3.key,x:i3.x+(t3.x-i3.x)*s2,y:i3.y+(t3.y-i3.y)*s2,rotation:i3.rotation+(t3.rotation-i3.rotation)*s2,fontSize:i3.fontSize+(t3.fontSize-i3.fontSize)*s2,color:t3.color,name:t3.name,index:t3.index,opacity:1}:{key:t3.key,x:t3.x,y:t3.y,rotation:t3.rotation,fontSize:t3.fontSize*s2,color:t3.color,name:t3.name,index:t3.index,opacity:s2})}for(const i3 of t2)n2.has(i3.key)||o2.push({key:`ghost:${i3.key}`,x:i3.x,y:i3.y,rotation:i3.rotation,fontSize:i3.fontSize*(1-s2),color:i3.color,name:i3.name,index:i3.index,opacity:1-s2});return o2}revealProgressFor(t2,i2,s2){if(i2<=0)return 1;const o2=t2/i2,e2=Math.max(1e-6,1/Math.min(i2,12));return Math.min(1,Math.max(0,(s2*(1+e2)-o2)/e2))}buildPointEventDetail(t2,i2,s2){const o2=s2??i2.placed.find((i3=>i3.word.index===t2.index)),e2=i2.totalWeight>0?t2.weight/i2.totalWeight:0,n2=this.shownPoint(o2?.x??i2.plot.x+i2.plot.width/2,o2?.y??i2.plot.y+i2.plot.height/2);return{index:t2.index,id:t2.id,name:t2.name,weight:t2.weight,percentage:e2,color:t2.color,fontSize:o2?.fontSize??0,rotation:o2?.rotation??0,cssX:n2.x,cssY:n2.y}}navigableWords(t2=this.settledRenderLayout()){return t2.placed.map((t3=>t3.word))}wordAriaLabel(t2,i2){const s2=Math.round(1e3*(i2.totalWeight>0?t2.weight/i2.totalWeight:0))/10;return`${t2.name}: ${t2.weight} (${s2}%)`}accessibleSummary(t2){return`${this.chartTitle?`${this.chartTitle}. `:""}Word cloud, ${t2.placed.length} ${1===t2.placed.length?"word":"words"}.${t2.dropped.length>0?` ${t2.dropped.length} ${1===t2.dropped.length?"word":"words"} hidden (no space).`:""}`}announceFocusedWord(t2){const i2=this.settledRenderLayout();this.focusedWordIndex=t2.index,this.srAnnouncement=this.wordAriaLabel(t2,i2),this.enableMouseTracking&&this.pointHover.emit(this.buildPointEventDetail(t2,i2))}moveFocus(t2){const i2=this.navigableWords();if(0===i2.length)return;let s2=i2.findIndex((t3=>t3.index===this.focusedWordIndex));s2<0&&(s2=t2>0?-1:0),s2=(s2+t2+i2.length)%i2.length,this.announceFocusedWord(i2[s2])}onChartPointerDown=()=>{this.pointerFocusing=true,setTimeout((()=>{this.pointerFocusing=false}),0)};onChartFocus=()=>{if(this.pointerFocusing)return;if(null!==this.focusedWordIndex)return;const t2=this.navigableWords();t2.length>0&&this.announceFocusedWord(t2[0])};onChartBlur=()=>{this.focusedWordIndex=null};onChartKeyDown=t2=>{if(!this.handleZoomKeyDown(t2))switch(t2.key){case"ArrowRight":case"ArrowDown":t2.preventDefault(),this.moveFocus(1);break;case"ArrowLeft":case"ArrowUp":t2.preventDefault(),this.moveFocus(-1);break;case"Home":{t2.preventDefault();const i2=this.navigableWords()[0];i2&&this.announceFocusedWord(i2);break}case"End":{t2.preventDefault();const i2=this.navigableWords();i2.length>0&&this.announceFocusedWord(i2[i2.length-1]);break}case"Enter":case" ":{if(null===this.focusedWordIndex)return;t2.preventDefault();const i2=this.settledRenderLayout(),s2=i2.placed.find((t3=>t3.word.index===this.focusedWordIndex));if(!s2)return;this.pointClick.emit(this.buildPointEventDetail(s2.word,i2,s2));const o2=this.effectiveTooltipSpec();o2.show&&this.showTooltipForWord(s2.word,{x:s2.x,y:s2.y},o2,"multiple"===o2.openMode,s2);break}case"Escape":this.focusedWordIndex=null,this.clearHover()}};pointerCss(t2){const i2=this.host.getBoundingClientRect();return{x:t2.clientX-i2.left,y:t2.clientY-i2.top}}onChartPointerMove=t2=>{if(this.handleZoomPointerMove(t2))return;if(!this.enableMouseTracking)return;const{x:i2,y:s2}=this.pointerCss(t2),o2=this.settledRenderLayout(),e2=this.wordUnderPointer(o2,i2,s2),n2=e2?e2.word.index:null;if(n2===this.hoverWordIndex)return;if(this.hoverWordIndex=n2,null===n2||!e2){this.pointHover.emit(null);const t3=this.effectiveTooltipSpec();return void(this.shouldHideTooltipOnLeave(t3)&&this.clearSingleTooltip())}this.pointHover.emit(this.buildPointEventDetail(e2.word,o2,e2));const r2=this.effectiveTooltipSpec();r2.show&&"click"!==r2.trigger&&this.showTooltipForWord(e2.word,{x:e2.x,y:e2.y},r2,false,e2)};onChartClick=t2=>{if(this.consumeSuppressedPlotClick())return;if(!this.enableMouseTracking)return void(this.hasVisibleTooltips()&&this.clearTooltips());const{x:i2,y:s2}=this.pointerCss(t2),o2=this.settledRenderLayout(),e2=this.wordUnderPointer(o2,i2,s2);if(!e2)return void(this.hasVisibleTooltips()&&this.clearTooltips());this.pointClick.emit(this.buildPointEventDetail(e2.word,o2,e2));const n2=this.effectiveTooltipSpec();!n2.show||"click"!==n2.trigger&&"hover-click"!==n2.trigger||this.showTooltipForWord(e2.word,{x:e2.x,y:e2.y},n2,true,e2)};onChartLeave=()=>{this.clearHover()};onPointContextMenu=t2=>{if(!this.enableMouseTracking)return;const{x:i2,y:s2}=this.pointerCss(t2),o2=this.settledRenderLayout(),e2=this.wordUnderPointer(o2,i2,s2);e2&&(t2.preventDefault(),t2.stopPropagation(),this.pointContextMenu.emit(h(t2,this.host,"word-cloud",this.buildPointEventDetail(e2.word,o2,e2),{index:0,id:"word-cloud",name:this.chartTitle??"Word cloud"})))};clearHover(){const t2=null!==this.hoverWordIndex;if(!t2&&!this.hasVisibleTooltips())return;this.hoverWordIndex=null,t2&&this.pointHover.emit(null);const i2=this.effectiveTooltipSpec();this.shouldHideTooltipOnLeave(i2)&&this.clearSingleTooltip()}effectiveTooltipSpec(){return void 0!==this.tooltip?(function(t3){if(null==t3||"auto"===t3||true===t3)return{...L};if("off"===t3||false===t3)return{...L,show:false};if(!N(t3))return{...L};const i2=t3,s2=N(i2.style)?Object.fromEntries(Object.entries(i2.style).filter((([,t4])=>"string"==typeof t4||"number"==typeof t4))):void 0,o2=t4=>"string"==typeof t4||Number.isFinite(t4)&&t4>=0?t4:void 0,e2=(function(t4){if(true===t4)return{show:true};if(null==t4||false===t4||!N(t4))return{show:false};const i3=t4;return{show:true===i3.show,color:"string"==typeof i3.color?i3.color:void 0,width:Number.isFinite(i3.width)&&i3.width>0?i3.width:void 0,dash:Array.isArray(i3.dash)?i3.dash.slice():void 0}})(i2.connector);return{show:false!==i2.show,openMode:(n2=i2.openMode,"multiple"===n2?"multiple":L.openMode),trigger:(t4=>"click"===t4||"hover-click"===t4||"hover"===t4?t4:L.trigger)(i2.trigger),side:i2.side,offset:Number.isFinite(i2.offset)&&i2.offset>=0?i2.offset:L.offset,format:"function"==typeof i2.format?i2.format:void 0,html:"function"==typeof i2.html?i2.html:void 0,className:"string"==typeof i2.className?i2.className:void 0,style:s2,width:o2(i2.width),minWidth:o2(i2.minWidth),maxWidth:o2(i2.maxWidth),padding:o2(i2.padding),interactive:true===i2.interactive,hideOnLeave:false!==i2.hideOnLeave,connector:e2,draggable:true===i2.draggable};var n2})(this.tooltip):(t2={show:this.tooltipShow,format:this.tooltipFormat},{...L,show:t2.show,html:"function"==typeof t2.format?i2=>t2.format(i2):void 0});var t2}defaultTooltipHtml(t2,i2){const s2=Math.round(1e3*i2.percentage)/10;return`<strong>${o2=t2.name,o2.replace(/[&<>"']/g,(t3=>{switch(t3){case"&":return"&amp;";case"<":return"&lt;";case">":return"&gt;";case'"':return"&quot;";case"'":return"&#39;";default:return t3}}))}</strong> · ${t2.weight} (${s2}%)`;var o2}plainTooltipText(t2,i2){const s2=Math.round(1e3*i2.percentage)/10;return`${t2.name} · ${t2.weight} (${s2}%)`}buildTooltipContext(t2,i2,s2){const o2=this.settledRenderLayout();return{index:t2.index,id:t2.id,name:t2.name,weight:t2.weight,percentage:o2.totalWeight>0?t2.weight/o2.totalWeight:0,fontSize:s2?.fontSize??0,rotation:s2?.rotation??0,cssX:i2.x,cssY:i2.y}}hasVisibleTooltips(){return null!==this.wordTooltip||this.wordTooltips.length>0}clearSingleTooltip(){null!==this.wordTooltip&&(this.tooltipDrag=void 0,this.wordTooltip=null,0===this.wordTooltips.length&&this.tooltipHide.emit())}clearTooltips(){this.hasVisibleTooltips()&&(this.tooltipDrag=void 0,this.wordTooltip=null,this.wordTooltips=[],this.tooltipHide.emit())}shouldHideTooltipOnLeave(t2){return!t2.show||!t2.draggable&&"click"!==t2.trigger&&false!==t2.hideOnLeave}showTooltipForWord(t2,i2,s2,o2,e2){const r2=this.shownPoint(i2.x,i2.y),h2=this.buildTooltipContext(t2,r2,e2),a2=s2.side??"top",l2=s2.format?n(s2.format,[t2,h2],(()=>this.plainTooltipText(t2,h2)),"tooltip.format",s2):this.plainTooltipText(t2,h2),c2=s2.html?n(s2.html,[t2,h2],(()=>{}),"tooltip.html",s2):s2.format?void 0:this.defaultTooltipHtml(t2,h2),d2=this.lockedTooltipPositionForWord(t2,s2),u2=d2?.side??a2,p2=d2?this.tooltipAnchorFromPositionLock(d2.lock,u2,d2.box,s2.offset):{cssX:r2.x,cssY:r2.y},f2={id:this.nextTooltipId++,cssX:p2.cssX,cssY:p2.cssY,pointCssX:r2.x,pointCssY:r2.y,anchorX:i2.x,anchorY:i2.y,box:d2?.box,side:u2,text:l2,html:c2,className:s2.className,style:this.tooltipStyleFromSpec(s2),interactive:s2.interactive,connector:s2.connector,draggable:s2.draggable,offset:s2.offset,positionLock:d2?.lock,context:h2};this.tooltipDrag=void 0,o2&&"multiple"===s2.openMode?(this.wordTooltip=f2,this.wordTooltips=[...this.wordTooltips,f2]):(this.wordTooltips=[],this.wordTooltip=f2);const m2={cssX:p2.cssX,cssY:p2.cssY,anchor:u2,text:l2,html:c2,context:h2};return this.tooltipShown.emit(m2),m2}tooltipStyleFromSpec(t2){const i2={...t2.style??{}};return void 0!==t2.width&&(i2.width=t2.width),void 0!==t2.minWidth&&(i2.minWidth=t2.minWidth),void 0!==t2.maxWidth&&(i2.maxWidth=t2.maxWidth),void 0!==t2.padding&&(i2.padding=t2.padding),Object.keys(i2).length>0?i2:void 0}positionedWordTooltip(t2=this.wordTooltip){if(!t2)return null;if(!t2.box||this.tooltipDrag)return t2;if(t2.positionLock)return t2;const i2=t2.offset??10,s2=b({anchor:{kind:"point",x:t2.pointCssX,y:t2.pointCssY},tooltip:t2.box,viewport:{x:0,y:0,width:this.width,height:this.height},preferredSide:t2.side,offset:i2}),o2=this.tooltipAnchorFromTopLeft(s2.x,s2.y,t2.box,s2.side,i2);return{...t2,cssX:o2.cssX,cssY:o2.cssY,side:s2.side}}tooltipAnchorFromTopLeft(t2,i2,s2,o2,e2){return"top"===o2?{cssX:t2+s2.width/2,cssY:i2+s2.height+e2}:"bottom"===o2?{cssX:t2+s2.width/2,cssY:i2-e2}:"left"===o2?{cssX:t2+s2.width+e2,cssY:i2+s2.height/2}:{cssX:t2-e2,cssY:i2+s2.height/2}}tooltipTopLeftFromAnchor(t2){const i2=t2.box;if(!i2)return;const s2=t2.offset??10;return"top"===t2.side?{x:t2.cssX-i2.width/2,y:t2.cssY-s2-i2.height}:"bottom"===t2.side?{x:t2.cssX-i2.width/2,y:t2.cssY+s2}:"left"===t2.side?{x:t2.cssX-s2-i2.width,y:t2.cssY-i2.height/2}:{x:t2.cssX+s2,y:t2.cssY-i2.height/2}}tooltipTopLeftFromElement(t2){const i2=t2.getBoundingClientRect(),s2=this.host.getBoundingClientRect();if(Number.isFinite(i2.left)&&Number.isFinite(i2.top))return{x:i2.left-s2.left,y:i2.top-s2.top}}tooltipAnchorFromPositionLock(t2,i2,s2,o2){return s2?this.tooltipAnchorFromTopLeft(t2.x,t2.y,s2,i2,o2):{cssX:t2.x,cssY:t2.y}}rememberDraggableTooltipPosition(t2){t2.draggable&&t2.positionLock&&this.draggableTooltipPositions.set(String(t2.context.index),{lock:{...t2.positionLock},side:t2.side,box:t2.box})}lockedTooltipPositionForWord(t2,i2){if(i2.draggable){const i3=this.draggableTooltipPositions.get(String(t2.index));if(!i3)return;return{lock:{...i3.lock},side:i3.side,box:i3.box}}if(!i2.interactive||"multiple"===i2.openMode)return;const s2=this.positionedWordTooltip();if(!s2?.box||s2.context.index!==t2.index)return;const o2=this.tooltipTopLeftFromAnchor(s2);return o2?{lock:o2,side:s2.side,box:s2.box}:void 0}measureWordTooltipBox(){if(this.wordTooltips.length>0)return;const t2=this.wordTooltip,i2=this.tooltipElement;if(!t2||!i2)return;const s2=i2.getBoundingClientRect();if(!Number.isFinite(s2.width)||!Number.isFinite(s2.height))return;const o2=Math.round(100*s2.width)/100,e2=Math.round(100*s2.height)/100;if(t2.box?.width===o2&&t2.box?.height===e2)return;const n2={width:o2,height:e2},r2={...t2,box:n2};t2.positionLock&&Object.assign(r2,this.tooltipAnchorFromPositionLock(t2.positionLock,t2.side,n2,t2.offset??10)),this.rememberDraggableTooltipPosition(r2),this.wordTooltip=r2}handleTooltipActionClick=t2=>{const i2=t2.target,s2=i2?.closest?.("[data-tooltip-action]"),o2=s2?.dataset.tooltipAction,e2=Number(s2?.closest?.("[data-tooltip-id]")?.getAttribute("data-tooltip-id")),n2=this.wordTooltips.find((t3=>t3.id===e2))??this.wordTooltip;o2&&n2&&(t2.stopPropagation(),this.tooltipAction.emit({...n2.context,action:o2,text:n2.text,html:n2.html}))};handleTooltipPointerDown=t2=>{if(!this.wordTooltip?.draggable)return;const i2=t2.target;if(i2?.closest?.("[data-tooltip-action],button,a,input,textarea,select"))return;t2.preventDefault(),t2.stopPropagation();const s2=t2.currentTarget,o2=this.positionedWordTooltip(this.wordTooltip)??this.wordTooltip,e2=this.tooltipTopLeftFromElement(s2)??this.tooltipTopLeftFromAnchor(o2)??{x:o2.cssX,y:o2.cssY},n2=this.wordTooltip.box??o2.box,r2={...this.wordTooltip,cssX:o2.cssX,cssY:o2.cssY,side:o2.side,box:n2,positionLock:e2};Object.assign(r2,this.tooltipAnchorFromPositionLock(e2,r2.side,n2,r2.offset??10)),this.wordTooltip=r2,this.rememberDraggableTooltipPosition(r2),s2.setPointerCapture?.(t2.pointerId),this.tooltipDrag={pointerId:t2.pointerId,startX:t2.clientX,startY:t2.clientY,originX:r2.cssX,originY:r2.cssY,originLockX:e2.x,originLockY:e2.y}};handleTooltipPointerMove=t2=>{const i2=this.tooltipDrag;if(!i2||i2.pointerId!==t2.pointerId||!this.wordTooltip)return;t2.preventDefault(),t2.stopPropagation();const s2={x:i2.originLockX+t2.clientX-i2.startX,y:i2.originLockY+t2.clientY-i2.startY},o2={...this.wordTooltip,positionLock:s2};Object.assign(o2,this.tooltipAnchorFromPositionLock(s2,o2.side,o2.box,o2.offset??10)),this.wordTooltip=o2,this.rememberDraggableTooltipPosition(o2)};handleTooltipPointerUp=t2=>{const i2=this.tooltipDrag;i2&&i2.pointerId===t2.pointerId&&(t2.stopPropagation(),this.wordTooltip&&this.rememberDraggableTooltipPosition(this.wordTooltip),t2.currentTarget.releasePointerCapture?.(t2.pointerId),this.tooltipDrag=void 0)};render(){const t2=this.now(),i2=(function(t3){if("pro"===t3.requested){const i3="no GPU word-cloud renderer exists";if("error"===r(t3.onUnavailable))throw new Error('sy-word-cloud: Pro engine is unavailable — no GPU word-cloud renderer exists. Use engine="standard" or unavailable="fallback".');return console.warn(`[Syidax] sy-word-cloud: Pro renderer unavailable, falling back to Standard (${i3}).`),{tier:"standard",fallbackReason:i3}}return{tier:"standard"}})({requested:this.engine,onUnavailable:this.unavailable});i2.tier!==this.activeTier&&(this.activeTier=i2.tier),i2.fallbackReason!==this.fallbackReason&&(this.fallbackReason=i2.fallbackReason);const s2=this.settledRenderLayout();let n2=s2.visuals.map((t3=>({key:t3.key,x:t3.x,y:t3.y,rotation:t3.rotation,fontSize:t3.fontSize,color:t3.color,name:t3.name,index:t3.index,opacity:1})));if(this.morphState)n2=this.composeMorphWords(this.morphState.prevVisuals,s2.visuals,this.tweenProgress(this.morphState));else if(this.initialRevealState){const t3=this.tweenProgress(this.initialRevealState);n2=s2.visuals.map(((i3,o2)=>{const e2=this.revealProgressFor(o2,s2.visuals.length,t3);return{key:i3.key,x:i3.x,y:i3.y,rotation:i3.rotation,fontSize:i3.fontSize*e2,color:i3.color,name:i3.name,index:i3.index,opacity:e2}}))}const h2=this.focusedWordIndex??this.hoverWordIndex,a2=this.zoomSpec(),l2=this.zoomRect(),c2=f(l2,this.zoomState),u2=w(c2),p2=`sy-word-cloud-viewport-${this.instanceKey}`;return this.lastRenderResult={words:s2.placed.length,dropped:s2.dropped.length,renderMs:this.now()-t2},this.pendingRenderedEmit=true,o(e,{"data-active-tier":this.activeTier,style:{touchAction:a2.enabled&&a2.pinch?"none":void 0},"data-sy-brand-host":"chart"},o("div",{class:"sy-word-cloud",style:{width:`${this.width}px`,height:`${this.height}px`,position:"relative"}},o("svg",{class:"sy-word-cloud__root",width:this.width,height:this.height,viewBox:`0 0 ${this.width} ${this.height}`,xmlns:"http://www.w3.org/2000/svg","data-animation-tick":this.animationTick,"data-total-words":s2.placed.length,"data-dropped-words":s2.dropped.length,role:"application","aria-roledescription":"Word cloud","aria-label":this.accessibleSummary(s2),tabindex:0,onKeyDown:t3=>this.onChartKeyDown(t3),onFocus:()=>this.onChartFocus(),onBlur:()=>this.onChartBlur(),onMouseDown:()=>this.onChartPointerDown(),onPointerDown:this.handleZoomPointerDown,onPointerMove:t3=>this.onChartPointerMove(t3),onPointerUp:this.handleZoomPointerUp,onPointerCancel:this.handleZoomPointerCancel,onMouseLeave:()=>this.onChartLeave(),onClick:t3=>this.onChartClick(t3),onContextMenu:t3=>this.onPointContextMenu(t3)},this.chartTitle?o("text",{class:"sy-word-cloud__title",x:this.width/2,y:6,style:{fontSize:"14px"}},this.chartTitle):null,this.chartSubtitle?o("text",{class:"sy-word-cloud__subtitle",x:this.width/2,y:this.chartTitle?26:6,style:{fontSize:"12px"}},this.chartSubtitle):null,o("defs",null,o("clipPath",{id:p2},o("rect",{x:l2.x,y:l2.y,width:l2.width,height:l2.height}))),o("g",{class:"sy-word-cloud__viewport","clip-path":c2.zoomed?`url(#${p2})`:void 0},o("g",{class:"sy-word-cloud__words","aria-hidden":"true",transform:u2||void 0},n2.map((t3=>{if(t3.fontSize<=0||t3.opacity<=0)return null;const i3=null!==h2&&t3.index!==h2&&!t3.key.startsWith("ghost:");return o("text",{key:t3.key,class:"sy-word-cloud__word"+(i3?" sy-word-cloud__word--dim":""),transform:`translate(${t3.x} ${t3.y}) rotate(${t3.rotation})`,"text-anchor":"middle","dominant-baseline":"central",fill:t3.color,opacity:t3.opacity,style:{fontSize:`${t3.fontSize}px`,fontFamily:this.fontFamily,fontWeight:this.fontWeight},"data-word-index":t3.index,"data-word":t3.name},t3.name)}))))),this.renderZoomOverlay(),o("div",{class:"sy-word-cloud__sr-only",role:"list","aria-label":"Words"},this.navigableWords(s2).map((t3=>o("div",{role:"listitem",key:`sr:${t3.id}`},this.wordAriaLabel(t3,s2))))),o("div",{class:"sy-word-cloud__sr-only","aria-live":"polite",role:"status"},this.srAnnouncement),this.fallbackReason&&o("span",{class:"sy-word-cloud__watermark",title:this.fallbackReason},"Syidax - fell back to standard renderer"),this.renderWordTooltipConnector(),this.renderWordTooltip()),d(this.host,this.brandLogo,{width:this.width,height:this.height,plot:l2}))}renderWordTooltip(){const t2=this.wordTooltips.length>0,i2=t2?this.wordTooltips:[this.positionedWordTooltip()].filter((t3=>Boolean(t3)));return 0===i2.length?null:i2.map((i3=>this.renderWordTooltipItem(i3,!t2)))}renderWordTooltipItem(t2,i2){const{cssX:s2,cssY:e2,side:n2,text:r2,html:h2,className:a2,style:l2,interactive:c2,draggable:d2}=t2,u2=t2.offset??10,p2={position:"absolute",zIndex:"5",boxSizing:"border-box",width:"max-content",maxWidth:"calc(100% - 16px)",padding:"6px 10px",font:"500 12px system-ui, sans-serif",color:"var(--sy-tooltip-color, #fff)",background:"var(--sy-tooltip-bg, rgba(15,23,42,0.92))",borderRadius:"4px",whiteSpace:"pre-line",lineHeight:"1.35",boxShadow:"0 2px 8px rgba(0,0,0,0.18)",pointerEvents:c2||d2?"auto":"none",cursor:d2?this.tooltipDrag?"grabbing":"grab":"default",transform:""};t2.positionLock?(p2.left=`${t2.positionLock.x}px`,p2.top=`${t2.positionLock.y}px`,p2.transform=""):"top"===n2?(p2.left=`${s2}px`,p2.top=e2-u2+"px",p2.transform="translate(-50%, -100%)"):"bottom"===n2?(p2.left=`${s2}px`,p2.top=`${e2+u2}px`,p2.transform="translate(-50%, 0%)"):"left"===n2?(p2.left=s2-u2+"px",p2.top=`${e2}px`,p2.transform="translate(-100%, -50%)"):(p2.left=`${s2+u2}px`,p2.top=`${e2}px`,p2.transform="translate(0%, -50%)");for(const[t3,i3]of Object.entries(l2??{}))p2[t3]=E(t3,i3);return void 0!==h2?o("div",{class:Y("sy-word-cloud__tooltip",a2),"data-tooltip-id":`${t2.id}`,ref:i2?t3=>this.tooltipElement=t3:void 0,style:p2,role:"tooltip",onClick:this.handleTooltipActionClick,onPointerDown:this.handleTooltipPointerDown,onPointerMove:this.handleTooltipPointerMove,onPointerUp:this.handleTooltipPointerUp,onPointerCancel:this.handleTooltipPointerUp,innerHTML:h2}):o("div",{class:Y("sy-word-cloud__tooltip",a2),"data-tooltip-id":`${t2.id}`,ref:i2?t3=>this.tooltipElement=t3:void 0,style:p2,role:"tooltip",onClick:this.handleTooltipActionClick,onPointerDown:this.handleTooltipPointerDown,onPointerMove:this.handleTooltipPointerMove,onPointerUp:this.handleTooltipPointerUp,onPointerCancel:this.handleTooltipPointerUp},r2)}renderWordTooltipConnector(){const t2=(this.wordTooltips.length>0?this.wordTooltips:[this.positionedWordTooltip()].filter((t3=>Boolean(t3)))).filter((t3=>t3.connector?.show));return 0===t2.length?null:o("svg",{class:"sy-word-cloud__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:"4"},"aria-hidden":"true"},t2.map((t3=>{const i2=t3.connector,s2=S(t3);return o("line",{x1:t3.pointCssX,y1:t3.pointCssY,x2:s2.x,y2:s2.y,stroke:i2.color??"var(--sy-tooltip-connector-color, rgba(17,24,39,0.42))","stroke-width":i2.width??1,"stroke-dasharray":i2.dash?.join(" ")})})))}async getEngineStatus(){return M({requested:this.engine,onUnavailable:this.unavailable,renderer:"word-cloud"})}static get watchers(){return{values:[{handleValuesChange:0}],streamSource:[{handleStreamSourceChange:0}],streamWindow:[{handleStreamSourceChange:0}],streamMax:[{handleStreamSourceChange:0}],animated:[{handleAnimationChange:0}],animationDuration:[{handleAnimationChange:0}],animationEasing:[{handleAnimationChange:0}],animationType:[{handleAnimationChange:0}],minFontSize:[{handleVisualPropsChange:0}],maxFontSize:[{handleVisualPropsChange:0}],weightScale:[{handleVisualPropsChange:0}],spiral:[{handleVisualPropsChange:0}],orientations:[{handleVisualPropsChange:0}],rotationFrom:[{handleVisualPropsChange:0}],rotationTo:[{handleVisualPropsChange:0}],wordPadding:[{handleVisualPropsChange:0}],fontFamily:[{handleVisualPropsChange:0}],fontWeight:[{handleVisualPropsChange:0}],palette:[{handleVisualPropsChange:0}],colors:[{handleVisualPropsChange:0}],chartTitle:[{handleVisualPropsChange:0}],chartSubtitle:[{handleVisualPropsChange:0}],tooltipShow:[{handleVisualPropsChange:0}],tooltip:[{handleVisualPropsChange:0}],enableMouseTracking:[{handleVisualPropsChange:0}]}}};U.style='.sc-sy-word-cloud-h{display:inline-block;position:relative}.sy-word-cloud.sc-sy-word-cloud{position:relative;font-family:system-ui,-apple-system,"Segoe UI",sans-serif}.sy-word-cloud__root.sc-sy-word-cloud{display:block;outline:none}.sy-word-cloud__root.sc-sy-word-cloud:focus-visible{outline:2px solid var(--sy-focus-ring, #2563eb);outline-offset:2px;border-radius:4px}.sy-word-cloud__title.sc-sy-word-cloud{fill:var(--sy-chart-title-color, #111827);font-weight:600;text-anchor:middle;dominant-baseline:hanging}.sy-word-cloud__subtitle.sc-sy-word-cloud{fill:var(--sy-chart-subtitle-color, #6b7280);text-anchor:middle;dominant-baseline:hanging}.sy-word-cloud__word.sc-sy-word-cloud{transition:opacity 120ms ease-out;cursor:default}.sy-word-cloud__word--dim.sc-sy-word-cloud{opacity:.3}.sy-word-cloud__sr-only.sc-sy-word-cloud{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}.sy-word-cloud__watermark.sc-sy-word-cloud{position:absolute;right:6px;bottom:4px;font-size:10px;color:rgba(107,114,128,.75);pointer-events:none}';export{U as sy_word_cloud};
@@ -0,0 +1 @@
1
+ import{r as e,c as t,g as r,h as i,H as s}from"./p-DChj4qx2.js";import{c as a}from"./p-CKEqyWf8.js";import{h as o}from"./p-_AFoWkvk.js";import"./p-x7RF8NVg.js";import"./p-AzDRbG7D.js";const n=class{constructor(r2){e(this,r2),this.rendered=t(this,"rendered",7)}get host(){return r(this)}width=520;height=540;brandLogo;brandPosition="bottom-right";wafersA;wafersB;metric="fail-rate";passBin=1;labelA="A";labelB="B";diameter=300;edgeExclusion=3;indicator="notch";orientation="down";dieWidth=10;dieHeight=10;scribeX=.2;scribeY=.2;showPartial=true;colorAxis;showStats=true;chartTitle;chartSubtitle;rendered;async getCorrelationSummary(){const{values:e2,...t2}=this.correlationResult();return t2}correlationResult(){return(function(e2,t2,r2={}){const i2="mean-value"===r2.metric?"mean-value":"fail-rate",s2=a(e2,{metric:i2,passBin:r2.passBin}),o2=a(t2,{metric:i2,passBin:r2.passBin}),n2=new Map(s2.values.map((e3=>[`${e3.col},${e3.row}`,e3.value]))),c=[],l=[],h=[];let d=0,f=0,p=0,m=0;for(const e3 of o2.values){const t3=n2.get(`${e3.col},${e3.row}`);if(void 0===t3)continue;const r3=e3.value,i3=r3-t3;c.push({col:e3.col,row:e3.row,value:i3}),l.push(t3),h.push(r3),d+=i3;const s3=Math.abs(i3);s3>f&&(f=s3),i3>0?p+=1:i3<0&&(m+=1)}const w=c.length;let u=0;if(w>1){const e3=l.reduce(((e4,t4)=>e4+t4),0)/w,t3=h.reduce(((e4,t4)=>e4+t4),0)/w;let r3=0,i3=0,s3=0;for(let a2=0;a2<w;a2+=1){const o3=l[a2]-e3,n3=h[a2]-t3;r3+=o3*n3,i3+=o3*o3,s3+=n3*n3}u=i3>0&&s3>0?r3/Math.sqrt(i3*s3):0}return{values:c,metric:i2,waferCountA:s2.waferCount,waferCountB:o2.waferCount,cellsCompared:w,meanDelta:w>0?d/w:0,maxAbsDelta:f,worseCells:p,betterCells:m,correlation:u}})(this.wafersA,this.wafersB,{metric:this.metric,passBin:this.passBin})}effectiveColorAxis(e2){if(void 0!==this.colorAxis)return this.colorAxis;const t2=e2.maxAbsDelta>0?e2.maxAbsDelta:1;return{scheme:"rdbu",center:0,min:-t2,max:t2,reverse:true}}static formatR(e2){return(Math.round(100*e2)/100).toString()}defaultSubtitle(e2){const t2=e2.meanDelta>0?"+":"",r2=Math.round(1e3*e2.meanDelta)/1e3;return`${this.labelB} − ${this.labelA} (${e2.metric}) · r ${n.formatR(e2.correlation)} · mean Δ ${t2}${r2} · ${e2.worseCells} worse / ${e2.betterCells} better`}render(){const e2=this.correlationResult();return i(s,{key:"72462c108054423afd9503571275cc0a6c5ff8dd","data-sy-brand-host":"chart"},i("div",{key:"2615ac55efe2946498d8fd75b441f2c1facd8b78",class:"sy-wafer-correlation",role:"group","aria-roledescription":"Wafer correlation","aria-label":`Lot correlation ${this.labelB} minus ${this.labelA}: ${e2.cellsCompared} common dies, r ${n.formatR(e2.correlation)}, ${e2.worseCells} worse, ${e2.betterCells} better.`,"data-cells-compared":String(e2.cellsCompared),"data-correlation":e2.correlation.toFixed(4),"data-worse-cells":String(e2.worseCells),"data-better-cells":String(e2.betterCells)},i("sy-wafer-map",{key:"fd78d5222d82023a5ced49ca1fba3eec239b3e79",width:this.width,height:this.height,mode:"value",values:e2.values,colorAxis:this.effectiveColorAxis(e2),showStats:this.showStats,diameter:this.diameter,edgeExclusion:this.edgeExclusion,indicator:this.indicator,orientation:this.orientation,dieWidth:this.dieWidth,dieHeight:this.dieHeight,scribeX:this.scribeX,scribeY:this.scribeY,showPartial:this.showPartial,chartTitle:this.chartTitle??"Lot correlation",chartSubtitle:this.chartSubtitle??this.defaultSubtitle(e2),onRendered:e3=>{this.rendered.emit(e3.detail)}})),o(this.host,this.brandLogo,{width:this.width,height:this.height}))}};n.style=".sc-sy-wafer-correlation-h{display:inline-block;position:relative}.sy-wafer-map__underlay.sc-sy-wafer-correlation,.sy-wafer-map__surface.sc-sy-wafer-correlation,.sy-wafer-map__overlay.sc-sy-wafer-correlation{display:block}.sy-wafer-map__title.sc-sy-wafer-correlation{fill:#0f172a}.sy-wafer-map.sc-sy-wafer-correlation:focus-visible{outline:2px solid #2563eb;outline-offset:2px}.sy-wafer-map__sr-only.sc-sy-wafer-correlation{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border:0}.sy-wafer-map__watermark.sc-sy-wafer-correlation{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}.sy-wafer-map__subtitle.sc-sy-wafer-correlation{fill:#64748b}";export{n as sy_wafer_correlation};
@@ -0,0 +1 @@
1
+ import{r as t,c as i,g as s,h as e,H as r}from"./p-DChj4qx2.js";import{s as n}from"./p-DO6vGxJP.js";import{v as o,a,b as h}from"./p-kJe8wHkN.js";import{n as l,i as c,b as u}from"./p-B6K1arcd.js";import{S as d,e as p,f,r as b,b as y,c as m,E as g,d as x,a as v}from"./p-C1vfsnDY.js";import{a as w,i as S,c as k}from"./p-DEKAlpFE.js";import{h as M}from"./p-_AFoWkvk.js";import{c as C,S as A,a as _,b as I,d as $,r as P,D as N,e as D,f as F,g as T,h as B,i as L,j as z,k as R,l as j,s as E,m as O,p as H,n as X,o as Y,t as W,q as V,B as q,u as G,v as K,w as U,x as Z,y as J,z as Q,A as tt}from"./p-Dz9vozhJ.js";import{Z as it,r as st}from"./p-DXJS1EXW.js";import{c as et,i as rt,h as nt,t as ot}from"./p-BVmDGX0a.js";import{r as at,a as ht,d as lt,b as ct}from"./p-DogpgTFv.js";import{s as ut}from"./p-BYBaMhHn.js";import{j as dt,i as pt,b as ft,g as bt,h as yt,d as mt,a as gt,k as xt,e as vt,p as wt,f as St}from"./p-zrH7aO3p.js";import{a as kt,i as Mt,b as Ct}from"./p-CTrT2jn4.js";import{a as At,t as _t}from"./p-S3uzYKsD.js";import{t as It,c as $t}from"./p-C0f63Npv.js";import{c as Pt}from"./p-BwM4aW0R.js";import"./p-EXuVQfpl.js";import"./p-BwtrZuf8.js";import"./p-HAy9hTj2.js";import"./p-DUELYDa7.js";import"./p-AzDRbG7D.js";import"./p-D6sPnRDQ.js";function Nt(t2,i2,s2){if(t2 instanceof Float32Array){const e3=t2.length;if(s2&&e3>0){const s3=new Float32Array(e3);return s3.set(t2.subarray(1)),s3[e3-1]=i2,s3}const r2=new Float32Array(e3+1);return r2.set(t2),r2[e3]=i2,r2}const e2=Array.isArray(t2)?t2.slice():[];return s2&&e2.length>0&&e2.shift(),e2.push(i2),e2}function Dt(t2,i2){const s2=(e2=t2,Number.isFinite(e2)?e2<=0?0:e2>=1?1:e2:0);var e2;switch(i2){case"linear":default:return s2;case"ease-out":return 1-(1-s2)*(1-s2)*(1-s2);case"ease-in":return s2*s2*s2;case"ease-in-out":return s2<.5?4*s2*s2*s2:1-Math.pow(-2*s2+2,3)/2}}function Ft(t2,i2,s2){const e2=Number.isFinite(s2)?Math.max(0,Math.min(1,s2)):1,r2=t2.length,n2=i2.length,o2=new Float32Array(n2);if(0===n2)return o2;if(e2>=1||0===r2){for(let t3=0;t3<n2;t3++)o2[t3]=Tt(i2[t3]);return o2}const a2=n2-r2;for(let s3=0;s3<n2;s3++){const n3=Tt(i2[s3]),h2=s3-a2;if(h2<0||h2>=r2){o2[s3]=n3;continue}const l2=Tt(t2[h2]);o2[s3]=l2+(n3-l2)*e2}return o2}function Tt(t2){return"number"==typeof t2&&Number.isFinite(t2)?t2:Number.NaN}function Bt(t2){if(t2 instanceof Float32Array)return t2;const i2=new Float32Array(t2.length);for(let s2=0;s2<t2.length;s2++){const e2=t2[s2];i2[s2]="number"==typeof e2&&Number.isFinite(e2)?e2:Number.NaN}return i2}function Lt(){return"undefined"!=typeof performance&&"function"==typeof performance.now?performance.now():Date.now()}function zt(t2){return"undefined"!=typeof requestAnimationFrame?requestAnimationFrame(t2):setTimeout((()=>t2(Lt())),16)}function Rt(t2){"undefined"==typeof cancelAnimationFrame||"number"!=typeof t2?clearTimeout(t2):cancelAnimationFrame(t2)}function jt(t2){if(t2 instanceof Float32Array)return t2;const i2=new Float32Array(t2.length);for(let s2=0;s2<t2.length;s2++){const e2=t2[s2];i2[s2]="number"==typeof e2&&Number.isFinite(e2)?e2:Number.NaN}return i2}function Et(t2){return"number"==typeof t2&&Number.isFinite(t2)?t2<=0?0:t2>=1?1:t2:.1}function Ot(t2){return Boolean(t2&&t2.percent<0)}function Ht(t2,i2){const[s2,e2,r2,n2]=t2;return"negative"===i2?[e2,r2,n2,s2]:[n2,s2,e2,r2]}function Xt(t2,i2){const s2=Math.max(0,Math.min(i2.width/2,i2.height/2));return[Math.min(Math.max(0,t2[0]),s2),Math.min(Math.max(0,t2[1]),s2),Math.min(Math.max(0,t2[2]),s2),Math.min(Math.max(0,t2[3]),s2)]}function Yt(t2){return Array.isArray(t2)&&t2.length>0}function Wt(t2,i2){return"number"==typeof t2&&Number.isFinite(t2)&&t2>0?t2:i2}function Vt(t2,i2=1){return"number"==typeof t2&&Number.isFinite(t2)?t2<0?0:t2>1?1:t2:i2}function qt(t2,i2){if(!yt(t2).enabled)return i2;const s2=i2.length,e2=[];for(let t3=0;t3<s2;t3++){const s3=i2[t3],r2="number"==typeof s3&&Number.isFinite(s3)?s3:Number.NEGATIVE_INFINITY;e2.push({value:r2,original:s3})}return e2.sort(((t3,i3)=>t3.value-i3.value)),e2.map((t3=>t3.original))}function Gt(t2){const i2=[];if(Yt(t2.series))for(let s3=0;s3<t2.series.length;s3++){const e3=t2.series[s3];if(!e3||!pt(e3))continue;const r3=ft(e3),n3=qt(e3,_(r3??e3.values,A));n3&&0!==n3.length&&i2.push({sourceIndex:s3,values:n3,color:"string"==typeof e3.color&&e3.color.length>0?e3.color:t2.color,opacity:Vt(e3.opacity),thickness:Wt(e3.thickness,t2.thickness),series:e3,zones:bt(e3)})}else t2.values?.length>0&&i2.push({sourceIndex:0,values:_(t2.values,A),color:t2.color,opacity:1,thickness:t2.thickness});const s2=(function(t3,i3){if("number"!=typeof t3||!Number.isFinite(t3))return;const s3=Math.trunc(t3);return s3>=0&&s3<i3?s3:void 0})(t2.activeSeriesIndex,i2.length);if(void 0===s2||i2.length<2||false===t2.seriesState?.enabled)return i2;const e2=t2.seriesState?.inactive??{},r2=Vt(e2.opacity,.35),n2=Wt(e2.thicknessScale,.75);return i2.map(((t3,i3)=>i3===s2?t3:{...t3,opacity:r2,thickness:Wt(e2.thickness,t3.thickness*n2)}))}function Kt(t2,i2){if(t2&&Number.isFinite(i2)){for(const s2 of t2.zones)if(i2<=s2.upper)return s2.color??s2.fillColor}}function Ut(t2){const i2=Gt(t2);if(0===i2.length)return{bars:[],outlines:[],outlineBorderByGroup:[],seriesResolved:[],layout:{groups:[],pointsByGroup:[],segmentByOrder:[],yExtent:{min:0,max:1}},pointCount:0};const s2=t2.plot??{x:0,y:0,width:Math.max(0,t2.width),height:Math.max(0,t2.height)},e2=Number.isFinite(t2.baseline)?t2.baseline:0,r2=t2.stacking,n2=t2.xProject??(()=>{const t3=i2.reduce(((t4,i3)=>Math.max(t4,i3.values.length)),0);let r3=e2,n3=e2;for(const s3 of i2)for(let i3=0;i3<t3;i3++){const t4=s3.values[i3];"number"==typeof t4&&Number.isFinite(t4)&&(t4<r3&&(r3=t4),t4>n3&&(n3=t4))}const o3=n3-r3||1;return t4=>s2.x+(t4-r3)/o3*s2.width})(),o2=i2.reduce(((t3,i3)=>Math.max(t3,i3.values.length)),0),a2=(function(t3){const i3=t3.entries,s3=Math.max(t3.pointCount??0,i3.reduce(((t4,i4)=>Math.max(t4,i4.values?.length??0)),0)),e3=Number.isFinite(t3.baseline)?t3.baseline:0,r3=i3.map(((t4,i4)=>({order:i4,values:t4.values,series:t4.series}))),n3=w({entries:r3,baseline:e3,chartLevelStacking:t3.chartLevelStacking}),o3=t3.plot,a3=t3.yBandProject,h3=a3?Math.abs(a3(1)-a3(0)):s3>0?o3.height/s3:o3.height,l3=h3*Et(t3.barPadding),c3=Math.max(0,h3-l3),u3=n3.groups.length,d3=Et(t3.seriesPadding),p2=u3>1?c3*d3:0,f2=u3>0?Math.max(0,(c3-p2*(u3-1))/u3):0,b2=i3.map((()=>new Array(s3).fill(null))),y2=n3.groups.map((()=>new Array(s3).fill(null)));for(let e4=0;e4<n3.groups.length;e4++){const r4=n3.groups[e4];for(let c4=0;c4<s3;c4++){const s4=n3.pointsByGroup[e4][c4];if(!s4)continue;const u4=(m2=c4,(a3?Math.min(a3(m2),a3(m2+1)):o3.y+m2*h3)+l3/2+r4.bandIndex*(f2+p2));let d4=Number.POSITIVE_INFINITY,g2=Number.NEGATIVE_INFINITY;for(const e5 of s4.segments){const s5=t3.xProject(e5.bottomValue),r5=t3.xProject(e5.topValue),n4=Math.min(s5,r5),o4=Math.max(0,Math.abs(r5-s5)),a4=e5.order;i3[a4]&&(b2[a4][c4]={x:n4,y:u4,width:o4,height:f2}),n4<d4&&(d4=n4),n4+o4>g2&&(g2=n4+o4)}r4.stacking&&g2>d4&&(y2[e4][c4]={x:d4,y:u4,width:g2-d4,height:f2})}}var m2;return{layout:n3,barsBySource:b2,outlineRectsByPoint:y2,pointCount:s3}})({entries:i2.map((t3=>({sourceIndex:t3.sourceIndex,values:t3.values,series:t3.series}))),plot:s2,xProject:n2,barPadding:t2.barPadding,seriesPadding:t2.seriesPadding??.1,baseline:e2,chartLevelStacking:r2,pointCount:o2,yBandProject:t2.yBandProject}),h2=a2.barsBySource,l2=a2.layout.segmentByOrder.map((t3=>t3.map((t4=>t4??null)))),c2=new Array(i2.length).fill(0);for(let t3=0;t3<a2.layout.groups.length;t3++)for(const i3 of a2.layout.groups[t3].memberOrders)c2[i3]=t3;const u2=a2.layout.groups.map((t3=>Boolean(t3.stacking))),d2=(function(t3){const{barsBySource:i3,segmentsBySource:s3,series:e3,borderScope:r3,chartLevel:n3}=t3,o3=e3.map((t4=>dt(t4,n3))),a3=t3.outlineRectsByPoint.map((()=>[])),h3=t3.outlineRectsByPoint.map((()=>{}));if("outline"===r3)for(let i4=0;i4<t3.outlineRectsByPoint.length;i4++){if(!t3.groupIsStacked[i4])continue;const s4=t3.groupIndexBySource.findIndex((t4=>t4===i4));if(s4<0)continue;const e4=o3[s4];h3[i4]=e4,a3[i4]=t3.outlineRectsByPoint[i4].map((t4=>{if(!t4)return null;const i5=Ht(e4.cornerRadii,"positive");return{...t4,cornerRadii:Xt(i5,t4),borderColor:e4.color,borderWidth:e4.width,borderDash:e4.dash.length?[...e4.dash]:void 0}}))}for(let e4=0;e4<i3.length;e4++){const n4=o3[e4],a4=i3[e4],h4=s3[e4]??[],l3=true===t3.groupIsStacked[t3.groupIndexBySource[e4]];for(let t4=0;t4<a4.length;t4++){const i4=a4[t4];if(!i4)continue;const s4=h4[t4];if("outline"===r3&&l3)continue;if("point"===r3||!l3||!s4){const t5=Ot(s4)?"negative":"positive";i4.cornerRadii=Xt(Ht(n4.cornerRadii,t5),i4),n4.color&&(i4.borderColor=n4.color),n4.width>0&&(i4.borderWidth=n4.width),n4.dash.length&&(i4.borderDash=[...n4.dash]);continue}const e5=Ot(s4)?"negative":"positive",[o4,c3,u3,d3]=Ht(n4.cornerRadii,e5);i4.cornerRadii=Xt(s4.isTopOfStack&&s4.isBottomOfStack?[o4,c3,u3,d3]:"positive"===e5&&s4.isTopOfStack?[0,c3,u3,0]:"negative"===e5&&s4.isBottomOfStack?[o4,0,0,d3]:[0,0,0,0],i4),n4.color&&(i4.borderColor=n4.color),n4.width>0&&(i4.borderWidth=n4.width),n4.dash.length&&(i4.borderDash=[...n4.dash])}}return{outlineRectsToDraw:a3,outlineBorderByGroup:h3}})({barsBySource:h2,segmentsBySource:l2,outlineRectsByPoint:a2.outlineRectsByPoint,groupIndexBySource:c2,groupIsStacked:u2,series:i2.map((t3=>t3.series)),borderScope:t2.borderScope??"stack",chartLevel:{borderRadius:t2.borderRadius,borderColor:t2.borderColor,borderWidth:t2.borderWidth,borderDashStyle:t2.borderDashStyle}});return{bars:h2,outlines:d2.outlineRectsToDraw,outlineBorderByGroup:d2.outlineBorderByGroup,seriesResolved:i2,layout:a2.layout,pointCount:a2.pointCount}}class Zt{canvas;warnPointCap=C();constructor(t2){this.canvas=t2}draw(t2){const i2=Yt(t2.series)?t2.series.reduce(((t3,i3)=>Math.max(t3,i3?.values?.length??0)),0):t2.values?.length??0;this.warnPointCap("sy-bar-chart (standard engine)",i2,A,"standard engine maximum");const s2="undefined"!=typeof performance?performance.now():0,e2=this.canvas.getContext("2d");if(!e2)return{points:0,renderMs:0};const r2="undefined"!=typeof window&&Number.isFinite(window.devicePixelRatio)?Math.max(1,window.devicePixelRatio):1,n2=Math.max(1,t2.width),a2=Math.max(1,t2.height),h2=t2.observedPixelSize&&t2.observedPixelSize.width>0?Math.round(t2.observedPixelSize.width):Math.round(n2*r2),l2=t2.observedPixelSize&&t2.observedPixelSize.height>0?Math.round(t2.observedPixelSize.height):Math.round(a2*r2),c2=h2/n2,u2=l2/a2;this.canvas.width=Math.max(1,h2),this.canvas.height=Math.max(1,l2),this.canvas.style.width=`${n2}px`,this.canvas.style.height=`${a2}px`,e2.setTransform(1,0,0,1,0,0),e2.clearRect(0,0,this.canvas.width,this.canvas.height),e2.setTransform(c2,0,0,u2,0,0);const d2=Ut(t2);if(0===d2.seriesResolved.length)return{points:0,renderMs:("undefined"!=typeof performance?performance.now():0)-s2};e2.save(),t2.plot&&(e2.beginPath(),e2.rect(t2.plot.x,t2.plot.y,t2.plot.width,t2.plot.height),e2.clip());const p2=Number.isFinite(t2.baseline)?t2.baseline:0,f2=t2.activePointIndex??null,b2=true===t2.inactiveOtherPoints&&null!==f2,y2=Vt(t2.inactivePointOpacity,.2);let m2=0;const g2=o(t2.visualMap);for(let t3=0;t3<d2.seriesResolved.length;t3++){const i3=d2.seriesResolved[t3],s3=d2.bars[t3]??[];for(let t4=0;t4<s3.length;t4++){const r3=s3[t4];if(!r3||r3.width<=0||r3.height<=0)continue;const n3="number"==typeof i3.values[t4]&&Number.isFinite(i3.values[t4])?i3.values[t4]:p2,o2=g2?.(n3,t4)??Kt(i3.zones,n3);e2.fillStyle=o2??i3.color;let a3=i3.opacity;b2&&t4!==f2&&(a3*=y2),e2.globalAlpha=a3;const h3=r3.borderWidth??i3.thickness,l3=r3,d3=!!l3?.cornerRadii&&l3.cornerRadii.some((t5=>t5>0));if(l3&&d3)Jt(e2,l3),e2.fill();else if(l3){const t5=Math.round(l3.x*c2),i4=Math.round(l3.y*u2),s4=Math.round((l3.x+l3.width)*c2),r4=Math.round((l3.y+l3.height)*u2);s4>t5&&r4>i4&&(e2.setTransform(1,0,0,1,0,0),e2.fillRect(t5,i4,s4-t5,r4-i4),e2.setTransform(c2,0,0,u2,0,0))}if(h3>0){const t5=r3.borderColor??e2.fillStyle;if(S(r3.borderDash)){e2.setLineDash([]),e2.fillStyle=t5,e2.globalAlpha=a3;for(const t6 of k(r3,h3,r3.borderDash))e2.beginPath(),e2.arc(t6.x,t6.y,t6.radius,0,2*Math.PI),e2.fill();e2.fillStyle=o2??i3.color}else e2.strokeStyle=t5,e2.lineWidth=h3,e2.setLineDash(r3.borderDash&&r3.borderDash.length?r3.borderDash:[]),r3.cornerRadii?(Jt(e2,r3),e2.stroke()):e2.strokeRect(r3.x,r3.y,r3.width,r3.height)}m2++}}e2.globalAlpha=1,e2.setLineDash([]);for(let t3=0;t3<d2.outlines.length;t3++){const i3=d2.outlineBorderByGroup[t3];if(!i3||i3.width<=0)continue;const s3=d2.outlines[t3];for(const t4 of s3){if(!t4||t4.width<=0||t4.height<=0)continue;const s4=i3.color??"#111827";if(S(i3.dash)){e2.setLineDash([]),e2.fillStyle=s4,e2.globalAlpha=1;for(const s5 of k(t4,i3.width,i3.dash))e2.beginPath(),e2.arc(s5.x,s5.y,s5.radius,0,2*Math.PI),e2.fill()}else e2.strokeStyle=s4,e2.lineWidth=i3.width,e2.setLineDash(i3.dash.length?i3.dash:[]),t4.cornerRadii?(Jt(e2,t4),e2.stroke()):e2.strokeRect(t4.x,t4.y,t4.width,t4.height)}}return e2.setLineDash([]),e2.restore(),{points:m2,renderMs:("undefined"!=typeof performance?performance.now():0)-s2}}}function Jt(t2,i2){const s2=i2.cornerRadii??[0,0,0,0],e2=Math.min(i2.width/2,i2.height/2),r2=Math.max(0,Math.min(s2[0],e2)),n2=Math.max(0,Math.min(s2[1],e2)),o2=Math.max(0,Math.min(s2[2],e2)),a2=Math.max(0,Math.min(s2[3],e2)),h2=i2.x+i2.width,l2=i2.y+i2.height;t2.beginPath(),t2.moveTo(i2.x+r2,i2.y),t2.lineTo(h2-n2,i2.y),n2>0&&t2.arcTo(h2,i2.y,h2,i2.y+n2,n2),t2.lineTo(h2,l2-o2),o2>0&&t2.arcTo(h2,l2,h2-o2,l2,o2),t2.lineTo(i2.x+a2,l2),a2>0&&t2.arcTo(i2.x,l2,i2.x,l2-a2,a2),t2.lineTo(i2.x,i2.y+r2),r2>0&&t2.arcTo(i2.x,i2.y,i2.x+r2,i2.y,r2),t2.closePath()}function Qt(t2){if("standard"===t2.requested)return{tier:"standard"};const i2=true===t2.proAvailable,s2=c(t2.proUnavailableCode);if("pro"===t2.requested){if(i2)return{tier:"pro",degradedReason:ti(t2.features)};const e3=t2.proUnavailableReason||"Pro renderer unavailable";if(s2)return{tier:"standard",licenseReason:e3};if("error"===l(t2.onUnavailable))throw new Error(`[Syidax] sy-bar-chart: Pro renderer unavailable — ${e3}`);return console.warn(`[Syidax] sy-bar-chart: Pro renderer unavailable, falling back to Standard (${e3}).`),{tier:"standard",fallbackReason:e3}}if(t2.keepPro&&!s2)return{tier:"pro",degradedReason:ti(t2.features)};const e2=Number.isFinite(t2.pointCount)&&t2.pointCount>=0?t2.pointCount:0,r2=Number.isFinite(t2.proThreshold)&&t2.proThreshold>0?t2.proThreshold:5e4;if(e2>=r2){const n2=ti(t2.features);if(n2)return{tier:"standard",fallbackReason:n2,featureFallbackReason:n2};if(i2)return{tier:"pro"};const o2=t2.proUnavailableReason||"Pro renderer unavailable";return s2?{tier:"standard",licenseReason:o2}:(console.info(`[Syidax] sy-bar-chart: auto mode wanted Pro for ${e2.toLocaleString()} bars (threshold ${r2.toLocaleString()}) but Pro is unavailable - ${o2}. Staying on Standard.`),{tier:"standard",fallbackReason:o2})}return{tier:"standard"}}function ti(t2={}){if(true===t2.visualMap)return"visualMap colours need per-datum fills and currently use the Standard engine";if(true===t2.inactiveOtherPoints)return"inactiveOtherPoints requires per-point opacity and currently uses the Standard engine";const i2=t2.thickness;if(Number.isFinite(i2)&&0!==i2)return`bar stroke (thickness ${i2}) requires the Standard engine; Pro currently renders solid-fill bars without strokes`;if(si(t2.borderRadius)||t2.seriesBorderRadius?.some(si))return"borderRadius requires the Standard engine; Pro currently renders square solid-fill bars";const s2=ii(t2.borderWidth),e2=t2.seriesBorderWidth?.map((t3=>ii(t3))).find((t3=>void 0!==t3&&t3>0));if(void 0!==s2&&s2>0||void 0!==e2)return`borderWidth (${void 0!==s2&&s2>0?s2:e2}) requires the Standard engine; Pro currently renders solid-fill bars without outlines`;if("string"==typeof t2.borderColor&&t2.borderColor.trim()||t2.seriesBorderColor?.some((t3=>"string"==typeof t3&&t3.trim())))return"borderColor requires the Standard engine; Pro currently renders solid-fill bars without outlines";if(void 0!==t2.borderDashStyle&&"Solid"!==t2.borderDashStyle||t2.seriesBorderDashStyle?.some((t3=>void 0!==t3&&"Solid"!==t3)))return"borderDashStyle requires the Standard engine; Pro currently renders solid-fill bars without dashed outlines";const r2=t2.color;return"string"==typeof r2&&r2.trim()&&!(function(t3){const i3=t3?.trim();if(!i3)return null;if(i3.startsWith("#")){const t4=i3.slice(1),s4=3===t4.length?t4.split("").map((t5=>t5+t5)).join(""):t4;return 6===s4.length&&/^[\da-f]{6}$/i.test(s4)?[parseInt(s4.slice(0,2),16)/255,parseInt(s4.slice(2,4),16)/255,parseInt(s4.slice(4,6),16)/255,1]:null}const s3=i3.match(/^rgba?\(([^)]+)\)$/i);if(!s3)return null;const e3=s3[1].split(",").map((t4=>Number(t4.trim())));if(e3.length<3||e3.length>4||e3.some((t4=>!Number.isFinite(t4))))return null;const[r3,n2,o2,a2=1]=e3,h2=ei(r3)/255,l2=ei(n2)/255,c2=ei(o2)/255,u2=Math.max(0,Math.min(1,a2));return[h2*u2,l2*u2,c2*u2,u2]})(r2)?`color "${r2}" uses CSS syntax that the Pro engine does not support yet`:void 0}function ii(t2){if("number"==typeof t2&&Number.isFinite(t2))return t2;if("string"==typeof t2&&t2.trim()){const i2=Number(t2);if(Number.isFinite(i2))return i2}}function si(t2){const i2=ii(t2);return void 0!==i2?i2>0:Array.isArray(t2)?t2.some((t3=>(ii(t3)??0)>0)):!(!t2||"object"!=typeof t2)&&[t2.topLeft,t2.topRight,t2.bottomRight,t2.bottomLeft].some((t3=>(ii(t3)??0)>0))}function ei(t2){return Math.max(0,Math.min(255,t2))}function ri(t2,i2){return i2&&i2.length>0?`${t2} ${i2}`:t2}function ni(t2,i2){return"number"==typeof i2?`${i2}px`:i2}function oi(t2,i2){const s2=s3=>t2(s3)+i2;s2.invert=s3=>t2.invert(s3-i2),s2.ticks=i3=>t2.ticks(i3),s2.domain=()=>t2.domain();const[e2,r2]=t2.range();return s2.range=()=>[e2+i2,r2+i2],s2}const ai=class{constructor(s2){t(this,s2),this.rendered=i(this,"rendered",7),this.appended=i(this,"appended",7),this.windowSlid=i(this,"windowSlid",7),this.chartAnimationStart=i(this,"chartAnimationStart",7),this.chartAnimationEnd=i(this,"chartAnimationEnd",7),this.chartAnimationInterrupted=i(this,"chartAnimationInterrupted",7),this.crosshairMove=i(this,"crosshairMove",7),this.tooltipShow=i(this,"tooltipShow",7),this.tooltipHide=i(this,"tooltipHide",7),this.tooltipAction=i(this,"tooltipAction",7),this.zoomChange=i(this,"zoomChange",7),this.brushChange=i(this,"brushChange",7),this.brushStart=i(this,"brushStart",7),this.brushMove=i(this,"brushMove",7),this.brushEnd=i(this,"brushEnd",7),this.drawingsChange=i(this,"drawingsChange",7),this.drawingSelectionChange=i(this,"drawingSelectionChange",7),this.pointHover=i(this,"pointHover",7),this.pointClick=i(this,"pointClick",7),this.pointContextMenu=i(this,"pointContextMenu",7),this.seriesOutsideClick=i(this,"seriesOutsideClick",7),this.legendItemClick=i(this,"legendItemClick",7),this.seriesToggled=i(this,"seriesToggled",7)}get host(){return s(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=I();drawingPreview=null;drawingSelection=[];drawingMarquee=null;drawingDragPreview=null;visualMapState=null;zoomInteraction=new it(this.zoomInteractionHost());cursor=null;legendToggle=et(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(){if(this.hasLoaded=true,this.host.addEventListener("wheel",this.handleZoomWheel,{passive:false}),this.resizeObserver=new ResizeObserver((t3=>{const i2=t3.find((t4=>t4.target===this.canvas))??t3[0],s2=i2?.devicePixelContentBoxSize?.[0];if(s2&&s2.inlineSize>0&&s2.blockSize>0){const t4=s2.inlineSize,i3=s2.blockSize;this.observedCanvasPixelSize?.width===t4&&this.observedCanvasPixelSize?.height===i3||(this.observedCanvasPixelSize={width:t4,height:i3})}else void 0!==this.observedCanvasPixelSize&&(this.observedCanvasPixelSize=void 0);this.draw()})),this.canvas)try{this.resizeObserver.observe(this.canvas,{box:"device-pixel-content-box"})}catch{this.resizeObserver.observe(this.canvas)}this.ensureRenderer();const t2=this.coerceForAnimation(this.values);this.displayValues=this.shouldInitialCascade(null)?this.initialCascadeValues(t2,0):t2,this.ensureAnimator(true),this.bindStreamSource(),this.syncFromStream(),this.shouldInitialCascade(null)?this.startInitialCascadeAnimation(this.values):this.draw(),this.bindPointerHandlers()}componentDidUpdate(){this.draw(),this.bindPointerHandlers()}componentDidRender(){this.measureTooltipBox()}connectedCallback(){if(this.detached=false,this.syncInitialDrawings(),this.license.connect(),this.drawingTextMeasurer.clear(),this.axisTextMeasurer.clear(),"undefined"!=typeof document&&(document.fonts?.addEventListener("loadingdone",this.handleFontChange),document.fonts?.addEventListener("loadingerror",this.handleFontChange)),this.hasLoaded){if(this.fontRevision++,this.host.addEventListener("wheel",this.handleZoomWheel,{passive:false}),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(),this.draw()}}componentWillLoad(){this.syncInitialDrawings()}disconnectedCallback(){"undefined"!=typeof document&&(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(t2,i2){this.suppressNextValuesWatch?this.suppressNextValuesWatch=false:(this.cancelStreamFrame(true),this.shouldInitialCascade(i2)?(this.animationValueExtent=void 0,this.displayValues=this.coerceForAnimation(t2),this.animator?.setImmediate(this.displayValues),this.startInitialCascadeAnimation(t2)):this.routeValuesToAnimator(t2,i2),this.draw())}handleInputsChange(t2,i2,s2){"engine"!==s2&&"proThreshold"!==s2&&"unavailable"!==s2||(this.proInitFailed=false,this.proInitFailReason=void 0),this.draw()}handleAnimationChange(){if(this.shouldInitialCascade(null))return this.cancelStreamFrame(true),this.ensureAnimator(true),this.animationValueExtent=void 0,this.displayValues=this.coerceForAnimation(this.values),this.animator?.setImmediate(this.displayValues),void this.startInitialCascadeAnimation(this.values);this.cancelInitialCascadeAnimation(true),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(){"custom"===this.normalizedSeriesActiveTrigger()&&this.setAutoActiveSeriesIndex(void 0)}async redraw(){return this.draw()}async getActiveTier(){return this.activeTier}async appendPoint(t2){await this.license.run(d,this.streamSessionAsked(),(()=>{this.streamTarget("appendPoint")?.push(t2)}))}async appendBatch(t2){await this.license.run(d,this.streamSessionAsked(),(()=>{this.streamTarget("appendBatch")?.pushBatch(t2)}))}async shift(t2){await this.license.run(d,this.streamSessionAsked(),(()=>{this.streamTarget("shift")?.shift(t2)}))}async replace(t2){await this.license.run(d,this.streamSessionAsked(),(()=>{this.streamTarget("replace")?.replace(t2)}))}async getStreamSource(){return this.license.run(d,this.streamSessionAsked(),(()=>this.activeStreamSource()))}async getEngineStatus(){return p(this.engine,this.activeTier,this.engineOutcome,this.engineLicenseState)}async setAnimation(t2){t2&&"object"==typeof t2&&(Number.isFinite(t2.duration)&&(this.animationDuration=t2.duration),t2.easing&&(this.animationEasing=t2.easing),"boolean"==typeof t2.enabled&&(this.animated=t2.enabled),t2.type&&(this.animationType=t2.type),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(t2,i2){const s2=Array.isArray(this.series)?[...this.series]:[],e2="number"==typeof i2?.insertAt&&i2.insertAt>=0&&i2.insertAt<=s2.length?Math.floor(i2.insertAt):s2.length;return s2.splice(e2,0,t2),this.series=s2,false!==i2?.redraw&&this.draw(),e2}async removeSeries(t2,i2){if(!Array.isArray(this.series))return false;const s2=this.resolveSeriesIndex(t2);if(s2<0)return false;const e2=this.series.slice();return e2.splice(s2,1),this.series=e2,false!==i2?.redraw&&this.draw(),true}async updateSeries(t2,i2,s2){if(!Array.isArray(this.series))return false;const e2=this.resolveSeriesIndex(t2);if(e2<0)return false;const r2=this.series.slice();return r2[e2]={...r2[e2],...i2},this.series=r2,false!==s2?.redraw&&this.draw(),true}async setSeriesData(t2,i2,s2){if(!Array.isArray(this.series))return false;const e2=this.resolveSeriesIndex(t2);if(e2<0)return false;const r2=this.series.slice();return r2[e2]={...r2[e2],values:i2},this.series=r2,false!==s2?.redraw&&this.draw(),true}async addPoint(t2,i2,s2){if(!Array.isArray(this.series))return false;const e2=this.resolveSeriesIndex(t2);if(e2<0)return false;const r2=this.series.slice(),n2=r2[e2].values??new Float32Array(0);return r2[e2]={...r2[e2],values:Nt(n2,i2,true===s2?.shift)},this.series=r2,false!==s2?.redraw&&this.draw(),true}async showSeries(t2,i2){return this.updateSeriesVisible(t2,true,i2)}async hideSeries(t2,i2){return this.updateSeriesVisible(t2,false,i2)}async showTooltipAtPoint(t2){const i2=at(this.tooltip);if(!i2.show)return null;const s2=this.computeCartesianLayout();if(!s2)return null;this.lastFrame=s2;const e2=this.preparedLayout();if(!e2)return null;const r2=e2.seriesResolved[0];if(!r2)return null;const n2=e2.bars[0]?.[t2];if(!n2)return null;const o2=e2.layout?.segmentByOrder?.[0]?.[t2]??void 0,a2={sourceIndex:r2.sourceIndex,pointIndex:t2,rect:n2,value:"number"==typeof r2.values[t2]?r2.values[t2]:NaN,categoryLabel:this.categoryLabelAt(t2),segment:o2??void 0};return this.hoverHit=a2,this.cursor=this.hitAnchor(a2),this.showTooltipForHit(s2,a2,i2,true)}async zoomTo(t2){return this.zoomInteraction.zoomTo(t2)}async zoomBy(t2,i2=.5){return this.zoomInteraction.zoomBy(t2,i2)}async panBy(t2){return this.zoomInteraction.panBy(t2)}async resetZoom(){return this.zoomInteraction.reset()}async getZoom(){return this.zoomState}async getZoomExtent(t2){return this.zoomInteraction.extent(t2)}async showCrosshairAt(t2){const i2=this.computeCartesianLayout(),s2=i2?$(i2,t2):null;return this.cursor=s2,null!==s2}async hideCrosshair(){this.cursor=null}zoomSpec(){return st(this.zoom)}zoomInteractionHost(){return{frame:()=>this.computeCartesianLayout()??void 0,spec:()=>this.zoomSpec(),state:()=>this.zoomState,apply:t2=>{this.zoomState=t2,this.draw()},emit:t2=>{this.zoomChange.emit(t2)},selection:t2=>{this.zoomSelection=t2},standDown:()=>this.zoomStandDown()}}zoomStandDown(){this.hoverHit=null,null!==this.cursor&&(this.cursor=null,this.crosshairMove.emit(null)),this.clearTooltips()}zoomPointerInput(t2){const i2=this.host.getBoundingClientRect(),s2={x:t2.clientX-i2.left,y:t2.clientY-i2.top};return{pointerId:t2.pointerId,x:s2.x,y:s2.y,button:t2.button,shiftKey:t2.shiftKey,altKey:t2.altKey,pointerType:t2.pointerType}}zoomWheelInput(t2){const i2=this.host.getBoundingClientRect(),s2={x:t2.clientX-i2.left,y:t2.clientY-i2.top};return{x:s2.x,y:s2.y,deltaX:t2.deltaX,deltaY:t2.deltaY,deltaMode:t2.deltaMode,ctrlKey:t2.ctrlKey,metaKey:t2.metaKey,shiftKey:t2.shiftKey}}handleZoomWheel=t2=>{this.zoomInteraction.wheel(this.zoomWheelInput(t2))&&t2.preventDefault()};syncInitialDrawings(){const t2=this.drawingHistory;t2.past.length>0||t2.future.length>0||t2.present.drawings.length>0||null!=this.drawings&&""!==this.drawings&&(this.drawingHistory=I(P(this.drawings)))}drawingInteraction=new N(this.drawingInteractionHost());drawingTextMeasurer=D(void 0,void 0,(()=>!this.detached));axisTextMeasurer=F();fontRevision=0;handleFontChange=()=>{this.detached||(this.drawingTextMeasurer.clear(),this.axisTextMeasurer.clear(),this.fontRevision++,this.draw())};handleDrawingModeChange(){"select"!==this.drawingModeState().mode&&this.drawingSelection.length>0&&this.applyDrawingSelection([],"mode")}drawingModeState(){return T(this.drawingMode,this.drawingTool)}drawingKeyboardOn(){const t2=this.drawingModeState().mode;return"draw"===t2||"select"===t2}drawingInteractionHost(){return{frame:()=>this.brushHostFrame(),mode:()=>this.drawingModeState(),space:()=>"pixel"===this.drawingSpace?"pixel":"data",commit:t2=>{this.applyDrawingAction({type:"add",drawing:t2},"draw")},preview:t2=>{this.drawingPreview=t2},standDown:()=>this.zoomStandDown(),rendered:()=>this.renderedDrawings(),selection:()=>this.drawingSelection,select:(t2,i2)=>{this.applyDrawingSelection(t2,i2)},marquee:t2=>{this.drawingMarquee=t2},dragPreview:t2=>{this.drawingDragPreview=t2},commitAnchors:t2=>{this.applyDrawingAction({type:"anchors",entries:t2},"move")},remove:t2=>{this.applyDrawingAction({type:"removeMany",ids:t2},"keyboard")},undo:()=>{this.undoDrawing()},redo:()=>{this.redoDrawing()}}}applyDrawingAction(t2,i2){const s2=B(this.drawingHistory,t2);if(s2===this.drawingHistory)return null;this.drawingHistory=s2;const e2=L(s2,t2.type,i2,"id"in t2?t2.id:"add"===t2.type?s2.present.drawings[s2.present.drawings.length-1]?.id:void 0);return this.drawingsChange.emit(e2),this.pruneDrawingSelection(),e2}onDrawingsProp(){this.drawingHistory=I(P(this.drawings)),this.drawingsChange.emit(L(this.drawingHistory,"set","prop")),this.pruneDrawingSelection()}async getDrawings(){return[...this.drawingHistory.present.drawings]}async setDrawings(t2){return this.applyDrawingAction({type:"set",drawings:t2??[]},"api")}async addDrawing(t2){const i2=this.applyDrawingAction({type:"add",drawing:t2},"api");return i2?.id?this.drawingHistory.present.drawings.find((t3=>t3.id===i2.id))??null:null}async updateDrawing(t2,i2){return this.applyDrawingAction({type:"update",id:t2,patch:i2},"api")?this.drawingHistory.present.drawings.find((i3=>i3.id===t2))??null:null}async removeDrawing(t2){return null!==this.applyDrawingAction({type:"remove",id:t2},"api")}async removeDrawings(t2){return this.applyDrawingAction({type:"removeMany",ids:[...t2]},"api")}async setDrawingSpace(t2,i2){const s2=this.brushHostFrame(),e2=this.drawingHistory.present.drawings.find((i3=>i3.id===t2));return s2&&e2?e2.space===i2?e2:this.applyDrawingAction({type:"update",id:t2,patch:{space:i2,anchors:z(e2,s2,i2)}},"api")?this.drawingHistory.present.drawings.find((i3=>i3.id===t2))??null:null:null}async clearDrawings(){return this.applyDrawingAction({type:"clear"},"clear")}async undoDrawing(){const t2=R(this.drawingHistory);if(t2===this.drawingHistory)return null;this.drawingHistory=t2;const i2=L(t2,"undo","undo");return this.drawingsChange.emit(i2),this.pruneDrawingSelection(),i2}async redoDrawing(){const t2=j(this.drawingHistory);if(t2===this.drawingHistory)return null;this.drawingHistory=t2;const i2=L(t2,"redo","redo");return this.drawingsChange.emit(i2),this.pruneDrawingSelection(),i2}async getDrawingLayer(){if(0===this.drawingHistory.present.drawings.length)return null;const t2=this.host.querySelector("svg.sy-bar-chart__drawings");return t2?ut(t2):null}async exportDrawings(){return E(this.drawingHistory.present)}async importDrawings(t2){return this.applyDrawingAction({type:"set",drawings:P(t2).drawings},"api")}renderedDrawings(){const t2=this.brushHostFrame();return t2?O(this.drawingHistory.present,t2,{measureText:this.drawingTextMeasurer,background:this.drawingBackground}):[]}applyDrawingSelection(t2,i2){const s2=H([...new Set(t2)],this.drawingHistory.present);if(X(this.drawingSelection,s2))return null;this.drawingSelection=[...s2];const e2={selected:[...s2],source:i2};return this.drawingSelectionChange.emit(e2),e2}pruneDrawingSelection(){if(0===this.drawingSelection.length)return;const t2=H(this.drawingSelection,this.drawingHistory.present);t2!==this.drawingSelection&&this.applyDrawingSelection(t2,"prune")}async selectDrawings(t2){return this.applyDrawingSelection(t2??[],"api")}async getDrawingSelection(){return[...this.drawingSelection]}drawingBackground="#ffffff";resolveDrawingBackground(){return("function"==typeof getComputedStyle&&this.host?getComputedStyle(this.host).getPropertyValue("--sy-chart-bg").trim():"")||"#ffffff"}renderDrawingOverlay(t2){this.drawingBackground=this.resolveDrawingBackground();const i2=this.drawingPreview,s2=this.drawingDragPreview,r2=s2?{drawings:this.drawingHistory.present.drawings.map((t3=>{const i3=s2.find((i4=>i4.id===t3.id));return i3?{...t3,anchors:i3.anchors}:t3}))}:this.drawingHistory.present;if(!i2&&!this.drawingMarquee&&0===r2.drawings.length)return null;const n2=t2.plot,o2={plot:n2,xScale:t2.xScale,yScale:t2.yScale},a2=O(r2,o2,{measureText:this.drawingTextMeasurer,background:this.drawingBackground}).map((t3=>({...t3,preview:false})));i2&&a2.push({...Y({id:"__preview",tool:i2.tool,anchors:i2.anchors,space:i2.space,visible:true},o2,{measureText:this.drawingTextMeasurer,background:this.drawingBackground}),preview:true});const h2=(t3,i3)=>({x:t3-n2.x,y:i3-n2.y});return e("svg",{class:"sy-bar-chart__drawings","aria-hidden":"true",width:n2.width,height:n2.height,viewBox:`0 0 ${n2.width} ${n2.height}`,style:{position:"absolute",left:`${n2.x}px`,top:`${n2.y}px`,overflow:"hidden",pointerEvents:"none"}},a2.map((t3=>e("g",{key:t3.id,class:{"sy-bar-chart__drawing":true,"sy-bar-chart__drawing--preview":t3.preview,"sy-bar-chart__drawing--locked":true===t3.drawing.locked,"sy-bar-chart__drawing--selected":!t3.preview&&this.drawingSelection.includes(t3.id)},"data-drawing-id":t3.preview?void 0:t3.id,"data-drawing-tool":t3.tool,style:{opacity:String(t3.preview?Math.min(1,.7*t3.style.opacity):t3.style.opacity)}},t3.primitives.map(((i3,s3)=>((t4,i4,s4)=>{const r3=i4.style?{...t4.style,...i4.style}:t4.style,n3={stroke:r3.color,strokeWidth:String(r3.width),strokeDasharray:tt(r3.dash,r3.width),fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},o3={...n3,fill:r3.fill,fillOpacity:String(r3.fillOpacity)},a3=`${t4.id}-${s4}`;switch(i4.kind){case"line":{const t5=h2(i4.x1,i4.y1),s5=h2(i4.x2,i4.y2);return e("line",{key:a3,"data-drawing-role":i4.role,x1:t5.x,y1:t5.y,x2:s5.x,y2:s5.y,style:n3})}case"polyline":{const t5=i4.points.map((t6=>h2(t6.x,t6.y))).map((t6=>`${t6.x.toFixed(2)},${t6.y.toFixed(2)}`)).join(" ");return i4.closed?e("polygon",{key:a3,"data-drawing-role":i4.role,points:t5,style:o3}):e("polyline",{key:a3,"data-drawing-role":i4.role,points:t5,style:n3})}case"rect":{const t5=h2(i4.x,i4.y);return e("rect",{key:a3,"data-drawing-role":i4.role,x:t5.x,y:t5.y,width:i4.width,height:i4.height,style:o3})}case"circle":{const t5=h2(i4.cx,i4.cy);return e("circle",{key:a3,"data-drawing-role":i4.role,cx:t5.x,cy:t5.y,r:i4.r,style:o3})}case"text":{const s5=h2(i4.x,i4.y);return e("text",{key:a3,"data-drawing-role":i4.role,x:s5.x,y:s5.y,"text-anchor":i4.anchor??"start","dominant-baseline":i4.baseline??"auto",style:{fill:t4.labelColor,fontSize:`${r3.fontSize}px`,fontFamily:"system-ui, sans-serif"}},i4.text)}case"path":return e("path",{key:a3,"data-drawing-role":i4.role,d:i4.d,style:n3});default:return null}})(t3,i3,s3)))))),a2.filter((t3=>!t3.preview&&this.drawingSelection.includes(t3.id))).map((t3=>{const i3=V(t3.primitives);return i3?e("rect",{key:`selection-${t3.id}`,class:"sy-bar-chart__drawing-selection","data-selection-id":t3.id,x:i3.x-n2.x-4,y:i3.y-n2.y-4,width:i3.width+8,height:i3.height+8,style:{fill:"none",stroke:"var(--sy-drawing-selection, #2563eb)",strokeWidth:"1",strokeDasharray:"3 3"}}):null})),a2.filter((t3=>!t3.preview&&this.drawingSelection.includes(t3.id)&&true!==t3.drawing.locked)).map((t3=>W(t3.points).map((i3=>{const s3=t3.points[i3];return e("circle",{key:`handle-${t3.id}-${i3}`,class:"sy-bar-chart__drawing-handle","data-handle-id":t3.id,"data-handle-index":String(i3),cx:s3.x-n2.x,cy:s3.y-n2.y,r:4,style:{fill:"var(--sy-drawing-handle-bg, #ffffff)",stroke:"var(--sy-drawing-selection, #2563eb)",strokeWidth:"1.5"}})})))),this.drawingMarquee&&e("rect",{class:"sy-bar-chart__drawing-marquee",x:this.drawingMarquee.x-n2.x,y:this.drawingMarquee.y-n2.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 q(this.brushInteractionHost());brushSpec(){return G(this.brush)}brushKeyboardOn(){const t2=this.brushSpec();return t2.enabled&&t2.keyboard}brushHostFrame(){const t2=this.computeCartesianLayout();return t2?{plot:t2.plot,xScale:t2.xScale,yScale:t2.yScale}:void 0}brushInteractionHost(){return{frame:()=>this.brushHostFrame(),spec:()=>this.brushSpec(),state:()=>this.brushState,apply:t2=>{this.brushState=t2},emit:t2=>{this.brushChange.emit(t2)},preview:t2=>{this.brushPreview=t2},standDown:()=>this.zoomStandDown(),points:()=>this.brushPoints(),start:t2=>{this.brushStart.emit(t2)},move:t2=>{this.brushMove.emit(t2)},end:t2=>{this.brushEnd.emit(t2)}}}brushPoints(){const t2=this.preparedLayout();if(!t2)return[];const i2=Number.isFinite(this.baseline)?this.baseline:0,s2=[];for(let e2=0;e2<t2.seriesResolved.length;e2++){const r2=t2.bars[e2]??[],n2=t2.seriesResolved[e2];for(let o2=0;o2<r2.length;o2++){const a2=r2[o2];if(!a2||a2.width<=0||a2.height<=0)continue;const h2=t2.layout.segmentByOrder[e2]?.[o2],l2=n2.values[o2],c2=h2?h2.value:"number"==typeof l2?l2:Number.NaN;Number.isFinite(c2)&&s2.push({seriesIndex:n2.sourceIndex,index:o2,cssX:c2<i2?a2.x:a2.x+a2.width,cssY:a2.y+a2.height/2,dataX:c2,dataY:o2})}}return s2}async setBrush(t2){return this.brushInteraction.setAreas(t2)}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(t2){return this.visualMapBound=true,this.visualMapState=t2??null,this.requestVisualMapDraw(),this.visualMapState}async getVisualMap(){return this.effectiveVisualMap()}async getVisualExtent(t2){const i2=t2?.dimension??"value";return a(this.brushPoints().map((t3=>h(t3,i2,"x"))))}renderBrushOverlay(t2){const i2=this.brushPreview,s2=this.brushState?.areas??[];if(!i2&&0===s2.length)return null;const r2=t2.plot,n2=s2.map((i3=>K(i3,t2.xScale,t2.yScale))),o2=n2.flatMap(((t3,i3)=>"rect"===t3.kind?[{index:i3,band:false,rect:U(t3.rect,r2)}]:"band"===t3.kind?[{index:i3,band:true,rect:Z(t3,r2)}]:[])).filter((t3=>null!==t3.rect)),a2=n2.flatMap(((t3,i3)=>"polygon"===t3.kind?[{index:i3,points:t3.points}]:[])),h2="rect"===i2?.kind?i2.rect:"band"===i2?.kind?Z(i2,r2):null,l2="polygon"===i2?.kind?i2.points:null,c2=t3=>({position:"absolute",left:`${t3.x}px`,top:`${t3.y}px`,width:`${t3.width}px`,height:`${t3.height}px`,boxSizing:"border-box"}),u2=t3=>t3.map((t4=>`${(t4.x-r2.x).toFixed(1)},${(t4.y-r2.y).toFixed(1)}`)).join(" ");return e("div",{class:"sy-bar-chart__brush","aria-hidden":"true",style:{position:"absolute",left:"0px",top:"0px",width:"0px",height:"0px",overflow:"visible",pointerEvents:"none"}},o2.map((t3=>e("div",{class:{"sy-bar-chart__brush-area":true,"sy-bar-chart__brush-area--band":t3.band},"data-brush-index":String(t3.index),style:{...c2(t3.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))"}}))),h2&&e("div",{class:"sy-bar-chart__brush-preview",style:{...c2(h2),background:"var(--sy-brush-bg, rgba(16, 185, 129, 0.14))",border:"1px solid var(--sy-brush-border, rgba(5, 150, 105, 0.8))"}}),(a2.length>0||l2)&&e("svg",{class:"sy-bar-chart__brush-lasso",width:r2.width,height:r2.height,viewBox:`0 0 ${r2.width} ${r2.height}`,style:{position:"absolute",left:`${r2.x}px`,top:`${r2.y}px`,overflow:"hidden",pointerEvents:"none"}},a2.map((t3=>e("polygon",{class:"sy-bar-chart__brush-area sy-bar-chart__brush-area--lasso","data-brush-index":String(t3.index),points:u2(t3.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"}}))),l2&&e("polyline",{class:"sy-bar-chart__brush-preview sy-bar-chart__brush-preview--lasso",points:u2(l2),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=t2=>{t2.target?.closest?.('button, a, input, select, textarea, [role="button"]')||(this.drawingInteraction.pointerDown(this.zoomPointerInput(t2))||this.brushInteraction.pointerDown(this.zoomPointerInput(t2))||this.zoomInteraction.pointerDown(this.zoomPointerInput(t2)))&&t2.currentTarget?.setPointerCapture?.(t2.pointerId)};updateDrawingCursor(t2){const i2=this.drawingModeState(),s2="draw"===i2.mode?"draw":"select"===i2.mode?"select":"off";let e2=null;if("select"===s2)if(this.drawingInteraction.isDragging)e2=this.drawingInteraction.dragsHandle?"handle":"body";else{const i3=this.zoomPointerInput(t2);e2=J({x:i3.x,y:i3.y},this.renderedDrawings(),this.drawingSelection)}const r2=Q(s2,e2,this.drawingInteraction.isDragging),n2=this.canvas??this.host;n2&&n2.style.cursor!==r2&&(n2.style.cursor=r2)}handleZoomPointerMove(t2){return this.updateDrawingCursor(t2),!!this.drawingInteraction.pointerMove(this.zoomPointerInput(t2))||!!this.brushInteraction.pointerMove(this.zoomPointerInput(t2))||this.zoomInteraction.pointerMove(this.zoomPointerInput(t2))}handleZoomPointerUp=t2=>{if(this.drawingInteraction.isPending)return this.drawingInteraction.pointerUp(this.zoomPointerInput(t2)),void t2.currentTarget?.releasePointerCapture?.(t2.pointerId);if(this.brushInteraction.isPending)return this.brushInteraction.pointerUp(this.zoomPointerInput(t2)),void t2.currentTarget?.releasePointerCapture?.(t2.pointerId);const i2=this.zoomInteraction.isPending;this.zoomInteraction.pointerUp(this.zoomPointerInput(t2)),i2&&t2.currentTarget?.releasePointerCapture?.(t2.pointerId)};handleZoomPointerCancel=()=>{this.drawingInteraction.pointerCancel(),this.brushInteraction.pointerCancel(),this.zoomInteraction.pointerCancel()};consumeSuppressedPlotClick(){return!!this.drawingInteraction.consumeSuppressedClick()||this.brushInteraction.consumeSuppressedClick()||this.zoomInteraction.consumeSuppressedClick()}handleZoomKeyDown=t2=>{(this.drawingInteraction.keyDown(t2)||this.brushInteraction.keyDown(t2)||this.zoomInteraction.keyDown(t2))&&t2.preventDefault()};renderZoomOverlay(t2){const i2=this.zoomSpec(),s2=this.zoomSelection,r2=null!==this.zoomState;if(!(s2||r2&&i2.resetButton))return null;const n2=t2.plot;return e("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"}},s2&&e("div",{class:"sy-bar-chart__zoom-selection","aria-hidden":"true",style:{position:"absolute",left:`${s2.x}px`,top:`${s2.y}px`,width:`${s2.width}px`,height:`${s2.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))"}}),r2&&i2.resetButton&&e("button",{type:"button",class:"sy-bar-chart__zoom-reset","aria-label":"Reset zoom",onClick:()=>{this.resetZoom()},style:{...it.resetButtonStyle,position:"absolute",left:n2.x+n2.width-8+"px",top:`${n2.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(t2,i2){const s2=this.hitTestInternal(t2,i2);return s2?{pointIndex:s2.pointIndex,seriesIndex:s2.sourceIndex}:null}updateSeriesVisible(t2,i2,s2){if(!Array.isArray(this.series))return false;const e2=this.resolveSeriesIndex(t2);if(e2<0)return false;const r2=this.series.slice();return r2[e2]={...r2[e2],visible:i2},this.series=r2,false!==s2?.redraw&&this.draw(),true}resolveSeriesIndex(t2){if("number"==typeof t2&&Number.isFinite(t2)){const i2=Math.floor(t2);return i2>=0&&i2<(this.series?.length??0)?i2:-1}if("string"==typeof t2&&this.series){for(let i2=0;i2<this.series.length;i2++)if(this.series[i2]?.id===t2)return i2}return-1}activeStreamSource(t2){if(this.streamingAllowed(t2))return this.streamSource?this.streamSource:this.ensureInternalStreamSource()}streamSessionInputs(){return f({streamSource:this.streamSource,streamMax:this.streamMax,streamWindow:this.streamWindow})}streamSessionAsked(){return this.streamSessionInputs().length>0}streamingAllowed(t2){const i2=this.streamSessionInputs();if(0===i2.length)return true;const s2=this.license.state(d);return"valid"===s2&&!this.license.isFrozen(d)||(this.license.refuse(d,s2,t2??i2[0]),false)}streamTarget(t2){const i2=this.activeStreamSource(t2);return i2&&i2!==this.boundStreamSource&&this.bindStreamSource(),i2}streamSessionKept(){return Boolean(this.boundStreamSource||this.internalStreamSource||this.streamSource)}parkInternalRing(){const t2=this.internalStreamSource;t2&&this.boundStreamSource===t2&&this.license.parkStream(t2,[this.values])}resumeInternalRing(t2){t2!==this.internalStreamSource||this.license.resumeStream(t2,[this.values])||t2.replace(this.snapshotInitialValues())}bindStreamSource(){if(this.detached)return;const t2=this.streamingAllowed()?this.streamSource??this.ensureInternalStreamSource():void 0;t2!==this.boundStreamSource&&(this.parkInternalRing(),this.streamUnsubscribe?.(),this.streamUnsubscribe=void 0,this.boundStreamSource=t2,t2&&(this.resumeInternalRing(t2),this.streamUnsubscribe=t2.subscribe((t3=>{this.syncFromStream(t3),this.draw()}))))}ensureInternalStreamSource(){const t2=this.coerceStreamCapacity();return void 0===t2?(this.internalStreamSource=void 0,void(this.internalStreamCapacity=void 0)):(this.internalStreamSource&&this.internalStreamCapacity===t2||(this.internalStreamCapacity=t2,this.internalStreamSource=(function(){const t3=new Error("Dedicated streaming requires @syidax/advanced-pro");throw t3.code="module-missing",t3.feature="chart.streaming",t3})(this.snapshotInitialValues())),this.internalStreamSource)}coerceStreamCapacity(){if(!Number.isFinite(this.streamMax))return;const t2=Math.floor(this.streamMax);return t2>0?t2:void 0}syncFromStream(t2){const i2=this.boundStreamSource;if(!i2)return;const s2=this.coerceForAnimation(this.values),e2=i2.snapshot(this.streamWindow);this.suppressNextValuesWatch=true,this.values=e2,this.displayValues=e2,this.routeStreamValues(s2,e2,t2),this.emitStreamLifecycle(s2.length,e2.length,t2)}emitStreamLifecycle(t2,i2,s2){if(s2&&("push"===s2.type||"pushBatch"===s2.type)){this.appended.emit({count:s2.count});const e2=this.coerceStreamCapacity()??Number.POSITIVE_INFINITY,r2=Math.min(this.streamWindow??e2,e2);t2+s2.count>r2&&i2>=r2&&this.windowSlid.emit({dropped:t2+s2.count-i2})}}ensureAnimator(t2=false){this.animator&&!t2||(this.animator?.stop(),this.animator=(function(t3){const i2=Number.isFinite(t3.durationMs)&&t3.durationMs>=0?t3.durationMs:200,s2=t3.easing??"ease-out",e2=t3.now??Lt,r2=t3.schedule??zt,n2=t3.cancel??Rt;let o2=false,a2=false,h2=0,l2=null,c2=new Float32Array(0),u2=new Float32Array(0),d2=0;function p2(i3){null!==l2&&(n2(l2),l2=null);const s3=o2;o2=false,a2=false,h2=0,s3&&i3&&t3.onInterrupt?.()}function f2(){if(l2=null,a2)return;const n3=e2()-d2,h3=0===i2?1:n3/i2,p3=Dt(h3,s2);if(h3>=1)return o2=false,t3.onFrame(u2,true),void t3.onEnd?.();const b2=Ft(c2,u2,p3);t3.onFrame(b2,false),l2=r2(f2)}return{get isRunning(){return o2},get isPaused(){return a2},animateTo(n3){const b2=Bt(n3),y2=o2;if(o2){const r3=a2?h2:e2()-d2,n4=Dt(0===i2?1:r3/i2,s2);c2=Ft(c2,u2,n4),p2(false),t3.onInterrupt?.()}else c2=u2.length>0?u2:b2;if(u2=b2,0===b2.length||0===i2)return t3.onFrame(b2,true),y2||t3.onStart?.(),void t3.onEnd?.();d2=e2(),o2=true,a2=false,t3.onStart?.(),l2=r2(f2)},setImmediate(i3){const s3=o2;p2(false),s3&&t3.onInterrupt?.();const e3=Bt(i3);c2=e3,u2=e3,t3.onFrame(e3,true)},pause(){o2&&!a2&&(h2=e2()-d2,a2=true,null!==l2&&(n2(l2),l2=null))},resume(){o2&&a2&&(a2=false,d2=e2()-h2,h2=0,l2=r2(f2))},stop(){p2(true)}}})({durationMs:this.shouldAnimate()?this.animationDuration:0,easing:this.animationEasing,onFrame:t3=>{this.displayValues=t3,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()}),t2&&this.animator.setImmediate(this.coerceForAnimation(this.values)))}routeValuesToAnimator(t2,i2){if(this.cancelInitialCascadeAnimation(true),!this.animator)return this.animationValueExtent=void 0,void(this.displayValues=t2);const s2=this.coerceForAnimation(t2);if(!this.shouldUpdateAnimation(i2))return this.animationValueExtent=void 0,void this.animator.setImmediate(s2);const e2=(function(t3){const i3=jt(t3.previous),s3=jt(t3.next),e3=Number.isFinite(t3.baseline)?t3.baseline:0,r2=i3.length,n2=s3.length,o2=Math.max(r2,n2),a2=new Float32Array(o2),h2=new Float32Array(o2);for(let t4=0;t4<o2;t4++)a2[t4]=t4<r2?i3[t4]:e3,h2[t4]=t4<n2?s3[t4]:e3;return{previous:a2,next:h2,added:Math.max(0,n2-r2),removed:Math.max(0,r2-n2)}})({previous:this.coerceForAnimation(this.displayValues??this.emptyValues),next:s2,baseline:Number.isFinite(this.baseline)?this.baseline:0});this.animationValueExtent=this.hasExplicitSeries()?void 0:this.computeAnimationValueExtent(e2.next),this.animator.setImmediate(e2.previous),this.animator.animateTo(e2.next)}startInitialCascadeAnimation(t2){this.cancelInitialCascadeAnimation(this.initialAnimationRunning);const i2=this.coerceForAnimation(t2);return this.initialAnimationTarget=i2,this.animationValueExtent=this.hasExplicitSeries()?void 0:this.computeAnimationValueExtent(i2),this.displayValues=this.initialCascadeValues(i2,0),this.animator?.setImmediate(this.displayValues),this.shouldInitialCascade(null)?Math.max(0,Number(this.animationDuration)||0)<=0?(this.displayValues=i2,this.animationValueExtent=void 0,void this.draw()):(this.initialAnimationRunning=true,this.initialAnimationPaused=false,this.initialAnimationPausedElapsed=0,this.initialAnimationStartedAt=this.now(),this.chartAnimationStart.emit(),this.draw(),void(this.initialAnimationFrameHandle=this.scheduleFrame((()=>this.tickInitialCascadeAnimation())))):(this.animationValueExtent=void 0,this.displayValues=i2,this.animator?.setImmediate(i2),void this.draw())}tickInitialCascadeAnimation(){if(this.initialAnimationFrameHandle=null,!this.initialAnimationRunning||this.initialAnimationPaused)return;const t2=this.now()-this.initialAnimationStartedAt,i2=Math.max(0,Math.min(1,t2/Math.max(1,Number(this.animationDuration)||1))),s2=this.initialAnimationTarget??this.coerceForAnimation(this.values);if(this.displayValues=this.initialCascadeValues(s2,i2),i2>=1)return this.displayValues=s2,this.initialAnimationRunning=false,this.initialAnimationTarget=void 0,this.animationValueExtent=void 0,this.draw(),void this.chartAnimationEnd.emit();this.draw(),this.initialAnimationFrameHandle=this.scheduleFrame((()=>this.tickInitialCascadeAnimation()))}pauseInitialCascadeAnimation(){this.initialAnimationRunning&&!this.initialAnimationPaused&&(this.initialAnimationPausedElapsed=this.now()-this.initialAnimationStartedAt,this.initialAnimationPaused=true,null!==this.initialAnimationFrameHandle&&(this.cancelFrame(this.initialAnimationFrameHandle),this.initialAnimationFrameHandle=null))}resumeInitialCascadeAnimation(){this.initialAnimationRunning&&this.initialAnimationPaused&&(this.initialAnimationPaused=false,this.initialAnimationStartedAt=this.now()-this.initialAnimationPausedElapsed,this.initialAnimationPausedElapsed=0,this.initialAnimationFrameHandle=this.scheduleFrame((()=>this.tickInitialCascadeAnimation())))}cancelInitialCascadeAnimation(t2=false){const i2=this.initialAnimationRunning;null!==this.initialAnimationFrameHandle&&(this.cancelFrame(this.initialAnimationFrameHandle),this.initialAnimationFrameHandle=null),this.initialAnimationRunning=false,this.initialAnimationPaused=false,this.initialAnimationPausedElapsed=0,this.initialAnimationTarget=void 0,i2&&t2&&this.chartAnimationInterrupted.emit()}initialCascadeValues(t2,i2){const s2=Number.isFinite(this.baseline)?this.baseline:0,e2=new Float32Array(t2.length),r2=Math.max(1,t2.length),n2=t2.length<=1?0:.65,o2=Math.max(.01,1-n2);for(let a2=0;a2<t2.length;a2++){const h2=t2[a2];if(!Number.isFinite(h2)){e2[a2]=Number.NaN;continue}const l2=Dt(Math.max(0,Math.min(1,(i2-(r2<=1?0:(r2-1-a2)/(r2-1)*n2))/o2)),this.animationEasing);e2[a2]=s2+(h2-s2)*l2}return e2}routeStreamValues(t2,i2,s2){if(this.cancelInitialCascadeAnimation(true),this.animationValueExtent=void 0,this.animator?.setImmediate(i2),!this.shouldAnimate()||!this.isAppendEvent(s2))return this.cancelStreamFrame(true),void(this.displayValues=i2);const e2=this.resolveStreamShiftCount(t2,i2,s2),r2=this.resolveStreamFrameDuration();if(e2<=0||r2<=0)return this.cancelStreamFrame(true),void(this.displayValues=i2);this.startStreamFrame(t2,i2,e2,r2)}isAppendEvent(t2){return"push"===t2?.type||"pushBatch"===t2?.type}resolveStreamShiftCount(t2,i2,s2){if(t2.length<2||i2.length<2)return 0;if(i2.length!==t2.length)return 0;const e2=Math.max(1,Math.floor(s2.count));return e2>=i2.length?0:Math.min(e2,t2.length-1,i2.length-1)}resolveStreamFrameDuration(){const t2=Math.max(0,Number(this.animationDuration)||0),i2=this.now(),s2=this.lastStreamFrameTime;if(this.lastStreamFrameTime=i2,void 0===s2)return t2;const e2=Math.max(0,i2-s2);return t2>0?Math.min(t2,e2):0}startStreamFrame(t2,i2,s2,e2){this.cancelStreamFrame(true),this.streamFrameState={previous:t2,next:i2,shiftCount:s2,duration:e2,startedAt:this.now(),pausedElapsed:0,paused:false},this.streamFrame={previous:t2,next:i2,shiftCount:s2,progress:0},this.displayValues=t2,this.chartAnimationStart.emit(),this.draw(),this.streamFrameHandle=this.scheduleFrame((()=>this.tickStreamFrame()))}tickStreamFrame(){this.streamFrameHandle=null;const t2=this.streamFrameState;if(!t2||t2.paused)return;const i2=this.now()-t2.startedAt,s2=0===t2.duration?1:i2/t2.duration,e2=Dt(s2,this.animationEasing);if(s2>=1)return this.streamFrame=void 0,this.streamFrameState=void 0,this.displayValues=t2.next,this.draw(),void this.chartAnimationEnd.emit();this.streamFrame={previous:t2.previous,next:t2.next,shiftCount:t2.shiftCount,progress:e2},this.displayValues=this.interpolateStreamValues(t2.previous,t2.next,e2),this.draw(),this.streamFrameHandle=this.scheduleFrame((()=>this.tickStreamFrame()))}interpolateStreamValues(t2,i2,s2){const e2=Number.isFinite(s2)?Math.max(0,Math.min(1,s2)):1,r2=new Float32Array(i2.length);for(let s3=0;s3<i2.length;s3++){const n2=i2[s3],o2=s3<t2.length?t2[s3]:n2;r2[s3]=o2+(n2-o2)*e2}return r2}pauseStreamFrame(){const t2=this.streamFrameState;t2&&!t2.paused&&(t2.pausedElapsed=this.now()-t2.startedAt,t2.paused=true,null!==this.streamFrameHandle&&(this.cancelFrame(this.streamFrameHandle),this.streamFrameHandle=null))}resumeStreamFrame(){const t2=this.streamFrameState;t2&&t2.paused&&(t2.paused=false,t2.startedAt=this.now()-t2.pausedElapsed,t2.pausedElapsed=0,this.streamFrameHandle=this.scheduleFrame((()=>this.tickStreamFrame())))}cancelStreamFrame(t2=false){const i2=!!this.streamFrameState;null!==this.streamFrameHandle&&(this.cancelFrame(this.streamFrameHandle),this.streamFrameHandle=null),this.streamFrameState=void 0,this.streamFrame=void 0,i2&&t2&&this.chartAnimationInterrupted.emit()}shouldAnimate(){return!this.detached&&this.animated&&this.animationDuration>0}shouldInitialCascade(t2){return this.shouldAnimate()&&"initial"===this.resolveAnimationType(t2)}shouldUpdateAnimation(t2){return this.shouldAnimate()&&"update"===this.resolveAnimationType(t2)}resolveAnimationType(t2){return this.animationType?this.animationType:this.hasAnimationBaseline(t2)?"update":"initial"}hasAnimationBaseline(t2){return!!t2&&t2.length>0}now(){return"undefined"!=typeof performance&&"function"==typeof performance.now?performance.now():Date.now()}scheduleFrame(t2){return"undefined"!=typeof requestAnimationFrame?requestAnimationFrame(t2):setTimeout(t2,16)}cancelFrame(t2){"undefined"==typeof cancelAnimationFrame||"number"!=typeof t2?clearTimeout(t2):cancelAnimationFrame(t2)}coerceForAnimation(t2){if(t2 instanceof Float32Array)return t2;const i2=new Float32Array(t2.length);for(let s2=0;s2<t2.length;s2++){const e2=t2[s2];i2[s2]="bigint"==typeof e2?Number(e2):"number"==typeof e2&&Number.isFinite(e2)?e2:Number.NaN}return i2}snapshotInitialValues(){const t2=this.values;if(t2 instanceof Float32Array)return new Float32Array(t2);const i2=[];for(let s2=0;s2<t2.length;s2++){const e2=t2[s2];"bigint"==typeof e2?i2.push(Number(e2)):"number"==typeof e2&&Number.isFinite(e2)&&i2.push(e2)}return new Float32Array(i2)}proAvailability(){return{available:false,reason:"Pro renderer not included in this build",code:b(false)}}engineLicense(){const t2=y(this.license.state(m));return t2.code&&this.license.refuse(m,t2.state,"engine"),t2}engineAllowed(){return"valid"===this.license.state(m)}handleLicenseChange(t2){if(!this.detached)return t2.feature===m?("valid"!==t2.state&&(this.rendererToken++,this.proInitInFlight=null),void this.draw()):void(t2.feature===d&&("valid"===t2.state?this.license.isFrozen(d)&&this.license.setFrozen(d,false):"valid"===t2.previousState&&this.streamSessionKept()&&this.license.setFrozen(d,true),this.bindStreamSource(),this.boundStreamSource&&this.syncFromStream({type:"replace",count:this.boundStreamSource.length}),this.draw()))}proInitInFlight=null;rendererToken=0;canvasTier;proUpgraded=false;proInitFailed=false;proInitFailReason;license=new g((()=>this.host),(t2=>this.handleLicenseChange(t2)));engineOutcome={code:"auto-standard",reason:null};engineLicenseState=null;rendererCanvas;adoptStandardRenderer(){if(this.canvas&&!(this.renderer instanceof Zt&&this.rendererCanvas===this.canvas)){try{this.renderer?.destroy?.()}catch{}this.renderer=new Zt(this.canvas),this.rendererCanvas=this.canvas}}ensureRenderer(){if(this.detached)return;if(!this.canvas)return;const t2=this.proAvailability(),i2={requested:this.engine,pointCount:this.estimatePointCount(),proThreshold:this.proThreshold,onUnavailable:this.unavailable,proAvailable:t2.available,proUnavailableReason:t2.reason,features:{visualMap:null!==this.effectiveVisualMap(),color:this.color,thickness:this.thickness,inactiveOtherPoints:this.inactiveOtherPoints,borderRadius:this.borderRadius,seriesBorderRadius:this.series?.map((t3=>t3?.borderRadius)),borderColor:this.borderColor,seriesBorderColor:this.series?.map((t3=>t3?.borderColor)),borderWidth:this.borderWidth,seriesBorderWidth:this.series?.map((t3=>t3?.borderWidth)),borderDashStyle:this.borderDashStyle,seriesBorderDashStyle:this.series?.map((t3=>t3?.borderDashStyle))}};let s2=Qt(i2);if(this.proInitFailed&&"pro"===s2.tier){if(this.engineLicenseState=null,this.engineOutcome=x(this.proInitFailReason??""),this.activeTier="standard",void 0!==this.canvasTier&&"standard"!==this.canvasTier)return;return this.adoptStandardRenderer(),this.fallbackReason!==this.proInitFailReason&&(this.fallbackReason=this.proInitFailReason),void(void 0!==this.degradedReason&&(this.degradedReason=void 0))}const e2="pro"===s2.tier?this.engineLicense():null;if(e2?.code&&(s2=Qt({...i2,proAvailable:false,proUnavailableReason:e2.reason,proUnavailableCode:e2.code,keepPro:false})),this.engineLicenseState=e2?.state??null,this.engineOutcome=v({requested:this.engine,tier:s2.tier,license:e2,renderer:t2.code?{code:t2.code,reason:t2.reason??""}:null,fallbackReason:s2.fallbackReason,featureFallbackReason:s2.featureFallbackReason,degradedReason:s2.degradedReason}),s2.fallbackReason!==this.fallbackReason&&(this.fallbackReason=s2.fallbackReason),s2.degradedReason!==this.degradedReason&&(this.degradedReason=s2.degradedReason),"standard"!==s2.tier)this.proUpgraded||this.proInitInFlight||"pro"===this.canvasTier||(this.activeTier="pro");else{if(this.proUpgraded=false,this.activeTier="standard",void 0!==this.canvasTier&&"standard"!==this.canvasTier)return;this.adoptStandardRenderer()}}estimatePointCount(){if(Array.isArray(this.series)&&this.series.length>0){let t2=0;for(const i2 of this.series)t2+=this.seriesValuesLength(i2);return t2}return this.values?.length??0}seriesValuesLength(t2){return t2&&(ft(t2).length||t2.values?.length)||0}sourcePointCount(){return this.hasExplicitSeries()?this.series.reduce(((t2,i2)=>Math.max(t2,this.seriesValuesLength(i2))),0):this.values?.length??0}resolveBarAxesSpec(t2){return ht(this.xAxis??{kind:"linear"},(function(t3){const i2=(t4,i3)=>false===t4||"off"===t4?t4:null==t4?i3?t4:{kind:"category",reversed:true}:"auto"===t4||true===t4?{kind:"category",reversed:true}:"object"!=typeof t4||void 0!==t4.reversed||void 0!==t4.kind&&"category"!==t4.kind?t4:{...t4,reversed:true};return Array.isArray(t3)?t3.map((t4=>i2(t4,true))):i2(t3,false)})(this.yAxis??(t2>0?{kind:"category",tickCount:t2}:{kind:"category"})))}normalizedLegendToggle(t2){if(this.legendToggle.count===t2)return this.legendToggle;const i2=Array.from(this.legendToggle.disabled).filter((i3=>i3<t2));return et(t2,i2)}effectiveDisabledSeriesIndexes(){const t2=new Set;if(!this.hasExplicitSeries()||!this.legend)return t2;const i2=this.series,s2=this.resolveLegendItems(),e2=this.normalizedLegendToggle(s2.length),r2=new Map;for(let t3=0;t3<s2.length;t3++){const i3=s2[t3].seriesIndex;"number"==typeof i3&&r2.set(i3,t3)}const n2=new Set;for(let t3=0;t3<i2.length;t3++){const i3=r2.get(t3);void 0!==i3&&rt(e2,i3)&&n2.add(t3)}const o2=mt(i2);for(let s3=0;s3<i2.length;s3++){if(n2.has(s3)){t2.add(s3);continue}const e3=i2[s3]?.id,r3=void 0!==e3?o2.masterOf.get(e3):void 0;if(void 0===r3)continue;const a2=i2.findIndex((t3=>t3?.id===r3));a2>=0&&n2.has(a2)&&t2.add(s3)}return t2}seriesForRender(){if(!this.hasExplicitSeries())return;const t2=this.effectiveDisabledSeriesIndexes();return 0===t2.size?this.series:this.series.map(((i2,s2)=>i2&&t2.has(s2)&&pt(i2)?{...i2,visible:false}:i2))}isPrimarySeriesDisabled(){if(this.hasExplicitSeries())return false;if(!this.legend)return false;const t2=this.resolveLegendItems();return 0!==t2.length&&rt(this.normalizedLegendToggle(t2.length),0)}valuesForRender(){return this.isPrimarySeriesDisabled()?this.emptyValues:this.displayValues??this.values}resolvedActiveSeriesIndex(){return"number"==typeof this.activeSeriesIndex&&Number.isFinite(this.activeSeriesIndex)&&this.activeSeriesIndex>=0?Math.trunc(this.activeSeriesIndex):this.autoActiveSeriesIndex}visibleActiveSeriesRenderIndex(){const t2=this.resolvedActiveSeriesIndex();if(void 0===t2)return;if(!this.hasExplicitSeries())return t2;const i2=this.seriesForRender();if(!i2)return;let s2=0;for(let e2=0;e2<i2.length;e2++){const r2=i2[e2];if(r2&&pt(r2)&&0!==this.seriesValuesLength(r2)){if(e2===t2)return s2;s2++}}}normalizedSeriesActiveTrigger(){const t2=this.seriesActiveTrigger;return"click"===t2||"custom"===t2?t2:"hover"}setAutoActiveSeriesIndex(t2){if("number"==typeof this.activeSeriesIndex&&Number.isFinite(this.activeSeriesIndex)&&this.activeSeriesIndex>=0)return;const i2="number"==typeof t2&&Number.isFinite(t2)?Math.trunc(t2):void 0;this.autoActiveSeriesIndex!==i2&&(this.autoActiveSeriesIndex=i2,this.draw())}invokeSeriesEvent(t2,i2,s2){const e2=this.series?.[t2],r2=e2?.events?.[i2];if("function"!=typeof r2)return;const n2=gt(e2,t2);r2({seriesId:n2.id,seriesIndex:t2,seriesName:n2.name,original:s2})}resolvedSeriesForCartesian(){return Gt({series:this.seriesForRender(),values:this.valuesForRender(),color:this.color,thickness:this.thickness})}computeValueExtentForBar(t2){if(this.animationValueExtent)return{min:this.animationValueExtent.min,max:this.animationValueExtent.max};const i2=Number.isFinite(this.baseline)?this.baseline:0;if(0===t2.length)return{min:i2-1,max:i2+1};const s2=w({entries:t2.map(((t3,i3)=>({order:i3,values:t3.values,series:t3.series}))),baseline:i2,chartLevelStacking:this.stacking}),{min:e2,max:r2}=s2.yExtent;return e2===r2?{min:e2-1,max:r2+1}:{min:e2,max:r2}}computeCartesianLayout(){const t2={x:0,y:0,width:Math.max(0,this.width),height:Math.max(0,this.height)},i2=this.resolvedSeriesForCartesian(),s2=Math.max(i2.reduce(((t3,i3)=>Math.max(t3,i3.values.length)),0),this.animationValueExtent?.pointCount??0),e2=Math.max(s2,this.sourcePointCount());if(0===e2||t2.width<=0||t2.height<=0)return;const r2=this.buildLegendLayout(),n2=r2?.layout.remainingOuter??{x:0,y:0,width:t2.width,height:t2.height},o2=this.computeValueExtentForBar(i2),a2={min:-.5,max:Math.max(.5,e2-.5)},h2=this.resolveBarAxesSpec(e2),l2=kt({outerWidth:Math.max(1,n2.width),outerHeight:Math.max(1,n2.height),axes:h2,gridLines:lt(this.gridLines),title:this.chartTitle,subtitle:this.chartSubtitle,xExtent:o2,yExtent:a2,zoom:this.zoomState??void 0,requiredTicks:{x:Number.isFinite(this.baseline)?this.baseline:0,includeGridLines:false}}),c2=n2.x,u2=n2.y,d2={x:l2.plot.x+c2,y:l2.plot.y+u2,width:l2.plot.width,height:l2.plot.height},p2=oi(l2.xScale,c2),f2=oi(l2.yScale,u2),b2=l2.yAxes.map((t3=>{const i3=oi(t3.scale,u2);return{...t3,scale:i3,ticks:t3.ticks.map((t4=>({...t4,position:t4.position+u2}))),gridLines:t3.gridLines.map((t4=>({...t4,y:(t4.y??0)+u2}))),linePosition:t3.linePosition+c2}})),y2=l2.xAxes.map((t3=>({...t3,scale:oi(t3.scale,c2),ticks:t3.ticks.map((t4=>({...t4,position:t4.position+c2}))),gridLines:t3.gridLines.map((t4=>({...t4,x:(t4.x??0)+c2}))),linePosition:t3.linePosition+u2})));return{...l2,outer:t2,legend:r2??void 0,plot:d2,xScale:p2,yScale:f2,xAxes:y2,xScales:Object.fromEntries(y2.flatMap(((t3,i3)=>[[t3.key,t3.scale],[String(i3),t3.scale]]))),yAxes:b2,yScales:Object.fromEntries(b2.flatMap(((t3,i3)=>[[t3.key,t3.scale],[String(i3),t3.scale]]))),xTicks:l2.xTicks.map((t3=>({...t3,position:t3.position+c2}))),yTicks:l2.yTicks.map((t3=>({...t3,position:t3.position+u2}))),xGridLines:l2.xGridLines.map((t3=>({...t3,x:(t3.x??0)+c2}))),yGridLines:l2.yGridLines.map((t3=>({...t3,y:(t3.y??0)+u2}))),titleRect:l2.titleRect?{...l2.titleRect,x:l2.titleRect.x+c2,y:l2.titleRect.y+u2}:null,subtitleRect:l2.subtitleRect?{...l2.subtitleRect,x:l2.subtitleRect.x+c2,y:l2.subtitleRect.y+u2}:null}}computeAnimationValueExtent(...t2){const i2=Number.isFinite(this.baseline)?this.baseline:0;let s2=i2,e2=i2,r2=0,n2=false;for(const i3 of t2){r2=Math.max(r2,i3.length);for(let t3=0;t3<i3.length;t3++){const r3=i3[t3];Number.isFinite(r3)&&(s2=Math.min(s2,r3),e2=Math.max(e2,r3),n2=true)}}return n2?s2===e2?{min:s2-1,max:e2+1,pointCount:r2}:{min:s2,max:e2,pointCount:r2}:{min:i2-1,max:i2+1,pointCount:r2}}preparedLayout(){const t2=this.computeCartesianLayout();if(t2)return this.lastFrame=t2,Ut({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:t2.plot,xProject:i2=>t2.xScale(i2),yBandProject:i2=>t2.yScale(i2-.5)})}draw(){if(this.detached)return{points:0,renderMs:0};if(this.ensureRenderer(),!this.renderer||!this.canvas)return{points:0,renderMs:0};if(this.rendererCanvas!==this.canvas)return{points:0,renderMs:0};if(void 0!==this.canvasTier&&this.canvasTier!==this.activeTier)return{points:0,renderMs:0};const t2=this.computeCartesianLayout();this.lastFrame=t2;const i2=this.seriesForRender(),s2=this.renderer.draw({series:i2,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:t2?.plot,xProject:t2?i3=>t2.xScale(i3):void 0,yBandProject:t2?i3=>t2.yScale(i3-.5):void 0,observedPixelSize:this.observedCanvasPixelSize,streamFrame:this.streamFrame});return this.rendered.emit({...s2,tier:this.activeTier}),s2}hasVisibleTooltips(){return null!==this.cartesianTooltip||this.cartesianTooltips.length>0}clearTooltips(){this.hasVisibleTooltips()&&(this.tooltipDrag=void 0,this.cartesianTooltip=null,this.cartesianTooltips=[],this.tooltipHide.emit())}shouldShowTooltipOnHover(t2){return"click"!==t2.trigger}shouldShowTooltipOnClick(t2){return"click"===t2.trigger||"hover-click"===t2.trigger}shouldHideTooltipOnLeave(t2){return!t2.show||!t2.draggable&&"click"!==t2.trigger&&false!==t2.hideOnLeave}hitAnchor(t2){const i2=Number.isFinite(this.baseline)?this.baseline:0;return{cssX:(t2.segment?t2.segment.value<i2:t2.value<i2)?t2.rect.x:t2.rect.x+t2.rect.width,cssY:t2.rect.y+t2.rect.height/2}}resolvedCrosshairSpec(){const t2=ct(this.crosshair);if("object"==typeof this.crosshair&&null!==this.crosshair){const i2=this.crosshair.mode;if("x"===i2)return{...t2,mode:"vertical"};if("y"===i2)return{...t2,mode:"horizontal"};if("xy"===i2)return{...t2,mode:"cross"}}return t2}nearestBarHit(t2,i2,s2){if("off"===s2)return null;const e2=this.preparedLayout();if(!e2)return null;let r2=null;for(let n2=0;n2<e2.seriesResolved.length;n2++){const o2=e2.bars[n2]??[],a2=e2.seriesResolved[n2];for(let h2=0;h2<o2.length;h2++){const l2=o2[h2],c2=e2.layout.segmentByOrder[n2]?.[h2]??void 0;if(!l2||l2.width<=0||l2.height<=0)continue;const u2=a2.values[h2],d2=l2.y+l2.height/2,p2=c2?.value<this.baseline?l2.x:l2.x+l2.width,f2="index"===s2?Math.abs(i2-d2):Math.hypot(t2-p2,i2-d2),b2={sourceIndex:a2.sourceIndex,pointIndex:h2,rect:l2,value:"number"==typeof u2&&Number.isFinite(u2)?u2:NaN,categoryLabel:this.categoryLabelAt(h2),segment:c2??void 0};(!r2||f2<r2.distance)&&(r2={distance:f2,hit:b2})}}return r2?.hit??null}updateCrosshairFromPointer(t2,i2,s2,e2){const r2=this.resolvedCrosshairSpec();if(!t2||!r2.show||!Mt(t2,i2,s2))return void(null!==this.cursor&&(this.cursor=null,this.crosshairMove.emit(null)));const n2=e2??this.nearestBarHit(i2,s2,r2.snap),o2="off"!==r2.snap?n2:null,a2=o2?this.hitAnchor(o2):{cssX:i2,cssY:s2},h2=a2.cssX,l2=a2.cssY;this.cursor={cssX:h2,cssY:l2},this.crosshairMove.emit({cssX:h2,cssY:l2,dataX:t2.xScale.invert(h2),dataY:t2.yScale.invert(l2),snappedPointIndex:o2?.pointIndex})}onPointerMove=t2=>{if(this.handleZoomPointerMove(t2))return;const i2=this.host;if(!i2)return;const s2=i2.getBoundingClientRect(),e2=t2.clientX-s2.left,r2=t2.clientY-s2.top,n2=this.lastFrame??this.computeCartesianLayout(),o2=this.hitTestInternal(e2,r2),a2=at(this.tooltip);if(o2){"hover"===this.normalizedSeriesActiveTrigger()&&this.setAutoActiveSeriesIndex(o2.sourceIndex),this.hoverHit&&this.hoverHit.pointIndex===o2.pointIndex&&this.hoverHit.sourceIndex===o2.sourceIndex||(this.hoverHit=o2);const i3=this.lastHoverSeriesIndex;i3!==o2.sourceIndex&&(null!==i3&&this.invokeSeriesEvent(i3,"mouseOut",t2),this.invokeSeriesEvent(o2.sourceIndex,"mouseOver",t2),this.lastHoverSeriesIndex=o2.sourceIndex),this.pointHover.emit(this.pointDetailFromHit(o2)),n2&&a2.show&&this.shouldShowTooltipOnHover(a2)&&this.showTooltipForHit(n2,o2,a2)}else this.hoverHit&&(this.hoverHit=null),this.pointHover.emit(null),null!==this.lastHoverSeriesIndex&&(this.invokeSeriesEvent(this.lastHoverSeriesIndex,"mouseOut",t2),this.lastHoverSeriesIndex=null),this.hasVisibleTooltips()&&this.shouldHideTooltipOnLeave(a2)&&this.clearTooltips();this.updateCrosshairFromPointer(n2,e2,r2,o2)};onPointerLeave=()=>{this.drawingInteraction.hoverEnd(),this.hoverHit&&(this.hoverHit=null,this.pointHover.emit(null)),null!==this.lastHoverSeriesIndex&&(this.invokeSeriesEvent(this.lastHoverSeriesIndex,"mouseOut"),this.lastHoverSeriesIndex=null),null!==this.cursor&&(this.cursor=null,this.crosshairMove.emit(null));const t2=at(this.tooltip);this.hasVisibleTooltips()&&this.shouldHideTooltipOnLeave(t2)&&this.clearTooltips()};onPointerClick=t2=>{if(this.consumeSuppressedPlotClick())return;const i2=this.host;if(!i2)return;const s2=i2.getBoundingClientRect(),e2=t2.clientX-s2.left,r2=t2.clientY-s2.top,n2=this.hitTestInternal(e2,r2),o2=this.lastFrame??this.computeCartesianLayout(),a2=at(this.tooltip);n2?("click"===this.normalizedSeriesActiveTrigger()&&this.setAutoActiveSeriesIndex(n2.sourceIndex),this.hoverHit=n2,this.cursor=this.hitAnchor(n2),this.pointClick.emit(this.pointDetailFromHit(n2)),this.invokeSeriesEvent(n2.sourceIndex,"click",t2),o2&&a2.show&&this.shouldShowTooltipOnClick(a2)&&this.showTooltipForHit(o2,n2,a2,true)):("custom"!==this.normalizedSeriesActiveTrigger()&&this.setAutoActiveSeriesIndex(void 0),this.hoverHit=null,this.clearTooltips(),this.seriesOutsideClick.emit({cssX:e2,cssY:r2,dataX:this.lastFrame?.xScale.invert(e2),dataY:this.lastFrame?.yScale.invert(r2)}))};onPointContextMenu=t2=>{const i2=this.host;if(!i2)return;const s2=i2.getBoundingClientRect(),e2=this.hitTestInternal(t2.clientX-s2.left,t2.clientY-s2.top);e2&&(t2.preventDefault(),t2.stopPropagation(),this.pointContextMenu.emit(u(t2,this.host,"bar",this.pointDetailFromHit(e2))))};bindPointerHandlers(){!this.boundPointerHandlers&&this.host&&(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(){this.boundPointerHandlers&&this.host&&(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(t2,i2){const s2=this.preparedLayout();if(!s2)return null;for(let e2=0;e2<s2.seriesResolved.length;e2++){const r2=s2.bars[e2]??[],n2=s2.seriesResolved[e2];for(let o2=0;o2<r2.length;o2++){const a2=r2[o2],h2=s2.layout.segmentByOrder[e2]?.[o2]??void 0;if(!(!a2||a2.width<=0||a2.height<=0)&&t2>=a2.x&&t2<=a2.x+a2.width&&i2>=a2.y&&i2<=a2.y+a2.height){const t3=n2.values[o2];return{sourceIndex:n2.sourceIndex,pointIndex:o2,rect:a2,value:"number"==typeof t3&&Number.isFinite(t3)?t3:NaN,categoryLabel:this.categoryLabelAt(o2),segment:h2??void 0}}}}return null}categoryLabelAt(t2){const i2=this.resolveBarAxesSpec(0).y.categories;if(i2&&t2>=0&&t2<i2.length)return i2[t2]}pointDetailFromHit(t2){const i2=this.hitAnchor(t2);return{seriesIndex:t2.sourceIndex,pointIndex:t2.pointIndex,index:t2.pointIndex,value:t2.value,cssX:i2.cssX,cssY:i2.cssY,dataX:t2.value,dataY:t2.pointIndex,seriesId:this.series?.[t2.sourceIndex]?.id,seriesName:this.series?.[t2.sourceIndex]?.name}}tooltipContextFromHit(t2,i2){const s2=this.series?.[t2.sourceIndex],e2=this.hitAnchor(t2);return{seriesIndex:t2.sourceIndex,pointIndex:t2.pointIndex,index:t2.pointIndex,value:t2.value,cssX:e2.cssX,cssY:e2.cssY,dataX:t2.value,dataY:t2.pointIndex,seriesId:s2?.id,seriesName:s2?.name,categoryLabel:t2.categoryLabel,mode:i2,stackTotal:t2.segment?.groupTotal,stackPercent:t2.segment?.percent}}tooltipDetailFromHit(t2,i2=at(this.tooltip)){const s2=this.series?.[t2.sourceIndex],e2=this.hitAnchor(t2),r2=t2.categoryLabel??String(t2.pointIndex),o2=Number.isFinite(t2.value)?Number.isInteger(t2.value)?`${t2.value}`:t2.value.toFixed(2):"—",a2=`${s2?.name??this.seriesName??""}${s2?.name||this.seriesName?" · ":""}${r2}: ${o2}`,h2=this.tooltipContextFromHit(t2,i2.mode),l2=St(s2,gt(s2,t2.sourceIndex)),c2=wt(i2,l2),u2=n(c2,[t2.value,h2],(()=>a2),"tooltip.format"),d2=n(i2.html,[t2.value,h2],(()=>{}),"tooltip.html",i2);return{index:t2.pointIndex,seriesIndex:t2.sourceIndex,cssX:e2.cssX,cssY:e2.cssY,pointCssX:e2.cssX,pointCssY:e2.cssY,anchor:i2.side??"right",side:i2.side??"right",text:u2,html:d2,context:h2}}showTooltipForHit(t2,i2,s2,e2=false){const r2=this.hitAnchor(i2),n2=Ct({frame:{plot:t2.plot},hit:r2,spec:s2}),o2=this.lockedTooltipPositionForHit(i2,s2),a2=o2?.side??n2.side,h2=o2?this.tooltipAnchorFromPositionLock(o2.lock,a2,o2.box,s2.offset??10):{cssX:n2.cssX,cssY:n2.cssY},l2=this.tooltipDetailFromHit(i2,s2),c2={id:this.nextTooltipId++,cssX:h2.cssX,cssY:h2.cssY,pointCssX:r2.cssX,pointCssY:r2.cssY,box:o2?.box,side:a2,text:l2.text,html:l2.html,className:s2.className,style:this.tooltipStyleFromSpec(s2),interactive:s2.interactive,connector:s2.connector,draggable:s2.draggable,offset:s2.offset,positionLock:o2?.lock,context:l2.context};this.tooltipDrag=void 0,e2&&"multiple"===s2.openMode?(this.cartesianTooltip=c2,this.cartesianTooltips=[...this.cartesianTooltips,c2]):(this.cartesianTooltips=[],this.cartesianTooltip=c2);const u2={cssX:h2.cssX,cssY:h2.cssY,anchor:a2,text:l2.text,html:l2.html,context:l2.context};return this.tooltipShow.emit(u2),u2}tooltipPositionKeyForHit(t2){return`${t2.sourceIndex}:${t2.pointIndex}`}tooltipPositionKeyForContext(t2){return`${t2.seriesIndex??0}:${t2.pointIndex??t2.index??0}`}rememberDraggableTooltipPosition(t2){t2.draggable&&t2.positionLock&&this.draggableTooltipPositions.set(this.tooltipPositionKeyForContext(t2.context),{lock:{...t2.positionLock},side:t2.side,box:t2.box})}lockedTooltipPositionForHit(t2,i2){if(i2.draggable){const i3=this.draggableTooltipPositions.get(this.tooltipPositionKeyForHit(t2));if(!i3)return;return{lock:{...i3.lock},side:i3.side,box:i3.box}}if(!i2.interactive||"multiple"===i2.openMode)return;const s2=this.positionedTooltipForRender();if(!s2?.box)return;if(s2.context.seriesIndex!==t2.sourceIndex||s2.context.pointIndex!==t2.pointIndex)return;const e2=this.tooltipTopLeftFromAnchor(s2);return e2?{lock:e2,side:s2.side,box:s2.box}:void 0}tooltipAnchorFromPositionLock(t2,i2,s2,e2){return s2?this.tooltipAnchorFromTopLeft(t2.x,t2.y,s2,i2,e2):{cssX:t2.x,cssY:t2.y}}tooltipAnchorFromTopLeft(t2,i2,s2,e2,r2){return"top"===e2?{cssX:t2+s2.width/2,cssY:i2+s2.height+r2}:"bottom"===e2?{cssX:t2+s2.width/2,cssY:i2-r2}:"left"===e2?{cssX:t2+s2.width+r2,cssY:i2+s2.height/2}:{cssX:t2-r2,cssY:i2+s2.height/2}}tooltipTopLeftFromAnchor(t2){const i2=t2.box;if(!i2)return;const s2=t2.offset??10;return"top"===t2.side?{x:t2.cssX-i2.width/2,y:t2.cssY-s2-i2.height}:"bottom"===t2.side?{x:t2.cssX-i2.width/2,y:t2.cssY+s2}:"left"===t2.side?{x:t2.cssX-s2-i2.width,y:t2.cssY-i2.height/2}:{x:t2.cssX+s2,y:t2.cssY-i2.height/2}}tooltipTopLeftFromElement(t2){const i2=t2.getBoundingClientRect(),s2=this.host.getBoundingClientRect();if(Number.isFinite(i2.left)&&Number.isFinite(i2.top))return{x:i2.left-s2.left,y:i2.top-s2.top}}measureTooltipBox(){if(this.cartesianTooltips.length>0)return;const t2=this.cartesianTooltip,i2=this.tooltipElement;if(!t2||!i2)return;const s2=i2.getBoundingClientRect();if(!Number.isFinite(s2.width)||!Number.isFinite(s2.height))return;const e2=Math.round(100*s2.width)/100,r2=Math.round(100*s2.height)/100;if(t2.box?.width===e2&&t2.box?.height===r2)return;const n2={width:e2,height:r2},o2={...t2,box:n2};t2.positionLock&&Object.assign(o2,this.tooltipAnchorFromPositionLock(t2.positionLock,t2.side,n2,t2.offset??10)),this.rememberDraggableTooltipPosition(o2),this.cartesianTooltip=o2}handleTooltipActionClick=t2=>{const i2=t2.target,s2=i2?.closest?.("[data-tooltip-id]");s2&&t2.stopPropagation();const e2=i2?.closest?.("[data-tooltip-action]"),r2=e2?.dataset.tooltipAction,n2=Number((e2?.closest?.("[data-tooltip-id]")??s2)?.getAttribute("data-tooltip-id")),o2=this.cartesianTooltips.find((t3=>t3.id===n2))??this.cartesianTooltip;r2&&o2&&this.tooltipAction.emit({...o2.context,action:r2,text:o2.text,html:o2.html})};handleTooltipPointerDown=t2=>{if(!this.cartesianTooltip?.draggable)return;const i2=t2.target;if(i2?.closest?.("[data-tooltip-action],button,a,input,textarea,select"))return;t2.preventDefault(),t2.stopPropagation();const s2=t2.currentTarget,e2=this.positionedTooltipForRender(this.cartesianTooltip)??this.cartesianTooltip,r2=this.tooltipTopLeftFromElement(s2)??this.tooltipTopLeftFromAnchor(e2)??{x:e2.cssX,y:e2.cssY},n2=this.cartesianTooltip.box??e2.box,o2={...this.cartesianTooltip,cssX:e2.cssX,cssY:e2.cssY,side:e2.side,box:n2,positionLock:r2};Object.assign(o2,this.tooltipAnchorFromPositionLock(r2,o2.side,n2,o2.offset??10)),this.cartesianTooltip=o2,this.rememberDraggableTooltipPosition(o2),s2.setPointerCapture?.(t2.pointerId),this.tooltipDrag={pointerId:t2.pointerId,startX:t2.clientX,startY:t2.clientY,originX:o2.cssX,originY:o2.cssY,originLockX:r2.x,originLockY:r2.y}};handleTooltipPointerMove=t2=>{const i2=this.tooltipDrag;if(!i2||i2.pointerId!==t2.pointerId||!this.cartesianTooltip)return;t2.preventDefault(),t2.stopPropagation();const s2={x:i2.originLockX+t2.clientX-i2.startX,y:i2.originLockY+t2.clientY-i2.startY},e2={...this.cartesianTooltip,positionLock:s2};Object.assign(e2,this.tooltipAnchorFromPositionLock(s2,e2.side,e2.box,e2.offset??10)),this.cartesianTooltip=e2,this.rememberDraggableTooltipPosition(e2)};handleTooltipPointerUp=t2=>{const i2=this.tooltipDrag;i2&&i2.pointerId===t2.pointerId&&(t2.stopPropagation(),this.cartesianTooltip&&this.rememberDraggableTooltipPosition(this.cartesianTooltip),t2.currentTarget.releasePointerCapture?.(t2.pointerId),this.tooltipDrag=void 0)};tooltipStyleFromSpec(t2){const i2={...t2.style??{}};return void 0!==t2.width&&(i2.width=t2.width),void 0!==t2.minWidth&&(i2.minWidth=t2.minWidth),void 0!==t2.maxWidth&&(i2.maxWidth=t2.maxWidth),void 0!==t2.padding&&(i2.padding=t2.padding),Object.keys(i2).length>0?i2:void 0}renderGridOverlay(t2){const{plot:i2,xGridLines:s2,yGridLines:r2}=t2,n2=At(s2,"x",i2.width),o2=At(r2,"y",i2.height);return e("div",{class:"sy-bar-chart__grid-overlay",style:{position:"absolute",left:"0",top:"0",width:`${t2.outer.width}px`,height:`${t2.outer.height}px`,pointerEvents:"none",zIndex:"0"}},n2.map((t3=>e("div",{class:"sy-bar-chart__grid-line sy-bar-chart__grid-line--x",style:{position:"absolute",left:`${t3.x}px`,top:`${i2.y}px`,width:"1px",height:`${i2.height}px`,background:"var(--sy-axis-grid-color, rgba(0,0,0,0.06))"}}))),o2.map((t3=>e("div",{class:"sy-bar-chart__grid-line sy-bar-chart__grid-line--y",style:{position:"absolute",left:`${i2.x}px`,top:`${t3.y}px`,width:`${i2.width}px`,height:"1px",background:"var(--sy-axis-grid-color, rgba(0,0,0,0.06))"}}))))}renderAxisOverlay(t2){const{plot:i2,xTicks:s2,titleRect:r2,subtitleRect:n2,axes:o2}=t2,a2="var(--sy-axis-line-color, #9ca3af)",h2=t3=>t3.label??(Number.isInteger(t3.value)?`${t3.value}`:t3.value.toFixed(2)),l2=(t3,i3)=>{const s3=t3.categories,e2=Math.round(i3.value);return s3&&e2>=0&&e2<s3.length?s3[e2]:h2(i3)},c2=(t2.xAxes.length>0?t2.xAxes:[{key:"0",axis:o2.x,scale:t2.xScale,ticks:s2,gridLines:t2.xGridLines,side:"top"===o2.x.position?"top":"bottom",offset:0}]).map((t3=>({...t3,ticks:_t(t3.ticks,{plotSize:i2.width,orientation:"horizontal",format:h2,measureText:(t4,i3)=>this.axisTextMeasurer(t4,i3).width}),top:"top"===t3.side}))),u2=(t2.yAxes.length>0?t2.yAxes:[{key:"0",axis:o2.y,scale:t2.yScale,ticks:t2.yTicks,gridLines:t2.yGridLines,side:"left",offset:0}]).map((t3=>{const s3="right"===t3.side,e2=_t(t3.ticks,{plotSize:i2.height,orientation:"vertical",format:i3=>l2(t3.axis,i3)});return{...t3,ticks:e2,right:s3,offset:t3.offset}}));return e("div",{class:"sy-bar-chart__axis-overlay",style:{position:"absolute",left:"0",top:"0",width:`${t2.outer.width}px`,height:`${t2.outer.height}px`,pointerEvents:"none",zIndex:"2"}},c2.map((t3=>e("div",{class:"sy-bar-chart__axis-line sy-bar-chart__axis-line--x","data-axis-key":t3.key,style:{position:"absolute",left:`${i2.x}px`,top:`${t3.top?i2.y-t3.offset:i2.y+i2.height+t3.offset}px`,width:`${i2.width}px`,height:"1px",background:a2}}))),u2.map((t3=>e("div",{class:"sy-bar-chart__axis-line sy-bar-chart__axis-line--y","data-axis-key":t3.key,style:{position:"absolute",left:`${t3.right?i2.x+i2.width+t3.offset:i2.x-t3.offset}px`,top:`${i2.y}px`,width:"1px",height:`${i2.height}px`,background:a2}}))),r2&&this.chartTitle&&e("div",{class:"sy-bar-chart__title",style:{position:"absolute",left:`${r2.x}px`,top:`${r2.y}px`,width:`${r2.width}px`,textAlign:"center",font:"600 14px system-ui, sans-serif",color:"var(--sy-axis-color, #111827)"}},this.chartTitle),n2&&this.chartSubtitle&&e("div",{class:"sy-bar-chart__subtitle",style:{position:"absolute",left:`${n2.x}px`,top:`${n2.y}px`,width:`${n2.width}px`,textAlign:"center",font:"400 12px system-ui, sans-serif",color:"var(--sy-axis-color-muted, #6b7280)"}},this.chartSubtitle),c2.flatMap((t3=>t3.ticks.map((s3=>e("div",{class:"sy-bar-chart__axis-label sy-bar-chart__axis-label--x","data-axis-key":t3.key,style:{position:"absolute",left:s3.position-28+"px",top:`${t3.top?i2.y-18-t3.offset:i2.y+i2.height+4+t3.offset}px`,width:"56px",textAlign:"center",font:"400 11px system-ui, sans-serif",color:"var(--sy-axis-color, #111827)"}},h2(s3)))))),u2.flatMap((t3=>t3.ticks.map((s3=>e("div",{class:"sy-bar-chart__axis-label sy-bar-chart__axis-label--y","data-axis-key":t3.key,style:{position:"absolute",left:`${t3.right?i2.x+i2.width+4+t3.offset:i2.x-46-t3.offset}px`,top:s3.position-7+"px",width:"42px",textAlign:t3.right?"left":"right",font:"400 11px system-ui, sans-serif",color:"var(--sy-axis-color, #111827)"}},l2(t3.axis,s3)))))),c2.filter((t3=>t3.axis.label)).map((t3=>e("div",{class:"sy-bar-chart__axis-title sy-bar-chart__axis-title--x","data-axis-key":t3.key,style:{position:"absolute",left:`${i2.x}px`,top:`${t3.top?i2.y-40-t3.offset:i2.y+i2.height+26+t3.offset}px`,width:`${i2.width}px`,textAlign:"center",font:"600 11px system-ui, sans-serif",color:"var(--sy-axis-color, #111827)"}},t3.axis.label))),u2.filter((t3=>t3.axis.label)).map((t3=>e("div",{class:"sy-bar-chart__axis-title sy-bar-chart__axis-title--y","data-axis-key":t3.key,style:{position:"absolute",left:`${t3.right?i2.x+i2.width+52+t3.offset:i2.x-52-t3.offset}px`,top:`${i2.y+i2.height/2}px`,transform:"translate(-50%, -50%) rotate(-90deg)",font:"600 11px system-ui, sans-serif",color:"var(--sy-axis-color, #111827)",whiteSpace:"nowrap"}},t3.axis.label))))}crosshairLineBackground(t2,i2,s2){if(!s2||0===s2.length)return i2;const e2=Number(s2[0]),r2=Number(s2[1]),n2=Math.max(1,Number.isFinite(e2)?e2:4);return`repeating-linear-gradient(${"vertical"===t2?"to bottom":"to right"}, ${i2} 0px, ${i2} ${n2}px, transparent ${n2}px, transparent ${n2+Math.max(1,Number.isFinite(r2)?r2:n2)}px)`}renderCrosshair(t2){const i2=this.resolvedCrosshairSpec();if(!i2.show||!this.cursor)return null;const s2=i2.color??"var(--sy-crosshair-color, rgba(17,24,39,0.6))",r2="vertical"===i2.mode||"cross"===i2.mode;return e("div",{class:"sy-bar-chart__crosshair",style:{position:"absolute",left:"0",top:"0",width:`${t2.outer.width}px`,height:`${t2.outer.height}px`,pointerEvents:"none"}},("horizontal"===i2.mode||"cross"===i2.mode)&&e("div",{class:"sy-bar-chart__crosshair-line sy-bar-chart__crosshair-line--y",style:{position:"absolute",left:`${t2.plot.x}px`,top:`${Math.round(this.cursor.cssY)}px`,width:`${t2.plot.width}px`,height:"1px",background:this.crosshairLineBackground("horizontal",s2,i2.dash)}}),r2&&e("div",{class:"sy-bar-chart__crosshair-line sy-bar-chart__crosshair-line--x",style:{position:"absolute",left:`${Math.max(t2.plot.x,Math.min(t2.plot.x+t2.plot.width,Math.round(this.cursor.cssX)))}px`,top:`${t2.plot.y}px`,width:"1px",height:`${t2.plot.height}px`,background:this.crosshairLineBackground("vertical",s2,i2.dash)}}))}renderTooltip(){const t2=this.cartesianTooltips.length>0,i2=t2?this.cartesianTooltips:[this.positionedTooltipForRender()].filter((t3=>Boolean(t3)));return 0===i2.length?null:i2.map((i3=>this.renderTooltipItem(i3,!t2)))}renderTooltipItem(t2,i2){const{cssX:s2,cssY:r2,side:n2,text:o2,html:a2,className:h2,style:l2,interactive:c2,draggable:u2}=t2,d2=t2.offset??10,p2={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:c2||u2?"auto":"none",cursor:u2?this.tooltipDrag?"grabbing":"grab":"default",transform:""};t2.positionLock?(p2.left=`${t2.positionLock.x}px`,p2.top=`${t2.positionLock.y}px`,p2.transform=""):"top"===n2?(p2.left=`${s2}px`,p2.top=r2-d2+"px",p2.transform="translate(-50%, -100%)"):"bottom"===n2?(p2.left=`${s2}px`,p2.top=`${r2+d2}px`,p2.transform="translate(-50%, 0%)"):"left"===n2?(p2.left=s2-d2+"px",p2.top=`${r2}px`,p2.transform="translate(-100%, -50%)"):(p2.left=`${s2+d2}px`,p2.top=`${r2}px`,p2.transform="translate(0%, -50%)");for(const[t3,i3]of Object.entries(l2??{}))p2[t3]=ni(0,i3);return void 0!==a2?e("div",{class:ri("sy-bar-chart__tooltip",h2),"data-tooltip-id":`${t2.id}`,ref:i2?t3=>this.tooltipElement=t3:void 0,style:p2,role:"tooltip",onClick:this.handleTooltipActionClick,onPointerDown:this.handleTooltipPointerDown,onPointerMove:this.handleTooltipPointerMove,onPointerUp:this.handleTooltipPointerUp,onPointerCancel:this.handleTooltipPointerUp,innerHTML:a2}):e("div",{class:ri("sy-bar-chart__tooltip",h2),"data-tooltip-id":`${t2.id}`,ref:i2?t3=>this.tooltipElement=t3:void 0,style:p2,role:"tooltip",onClick:this.handleTooltipActionClick,onPointerDown:this.handleTooltipPointerDown,onPointerMove:this.handleTooltipPointerMove,onPointerUp:this.handleTooltipPointerUp,onPointerCancel:this.handleTooltipPointerUp},o2)}renderTooltipConnector(){const t2=(this.cartesianTooltips.length>0?this.cartesianTooltips:[this.positionedTooltipForRender()].filter((t3=>Boolean(t3)))).filter((t3=>t3.connector?.show));return 0===t2.length?null:e("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"},t2.map((t3=>{const i2=t3.connector,s2=It(t3);return e("line",{x1:t3.pointCssX,y1:t3.pointCssY,x2:s2.x,y2:s2.y,stroke:i2.color??"var(--sy-tooltip-connector-color, rgba(17,24,39,0.42))","stroke-width":i2.width??1,"stroke-dasharray":i2.dash?.join(" ")})})))}positionedTooltipForRender(t2=this.cartesianTooltip){if(!t2)return null;if(!t2.box||this.tooltipDrag)return t2;if(t2.positionLock)return t2;const i2=t2.offset??10,s2=$t({anchor:{kind:"point",x:t2.pointCssX,y:t2.pointCssY},tooltip:t2.box,viewport:{x:0,y:0,width:this.width,height:this.height},preferredSide:t2.side,offset:i2,padding:6}),e2=this.tooltipAnchorFromTopLeft(s2.x,s2.y,t2.box,s2.side,i2);return{...t2,...e2,side:s2.side}}renderDataLabels(t2){if(!this.hasExplicitSeries())return null;const i2=Ut({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:t2.plot,xProject:i3=>t2.xScale(i3),yBandProject:i3=>t2.yScale(i3-.5)});if(0===i2.seriesResolved.length)return null;const s2=[];for(let t3=0;t3<i2.seriesResolved.length;t3++){const e2=i2.seriesResolved[t3],r2=this.series?.[e2.sourceIndex],n2=xt(r2);if(!n2.enabled)continue;const o2=gt(r2,e2.sourceIndex),a2=i2.bars[t3]??[];for(let t4=0;t4<a2.length;t4++){const i3=a2[t4];if(!i3||i3.width<=0||i3.height<=0)continue;const r3=e2.values[t4];if("number"!=typeof r3||!Number.isFinite(r3))continue;if(n2.filter&&false===n2.filter({value:r3,pointIndex:t4}))continue;const h2=i3.x,l2="left"===n2.align?h2+n2.padding:"right"===n2.align?i3.x+i3.width-n2.padding:h2+i3.width/2,c2="top"===n2.verticalAlign?i3.y-n2.padding:"bottom"===n2.verticalAlign?i3.y+i3.height+n2.padding:i3.y+i3.height/2,u2=n2.formatter?n2.formatter({value:r3,pointIndex:t4,seriesIndex:e2.sourceIndex,seriesId:o2.id,seriesName:o2.name}):"string"==typeof n2.format&&n2.format.length>0?n2.format.replace(/\{value\}/g,String(r3)).replace(/\{point\.y\}/g,String(r3)):String(r3);s2.push({x:l2,y:c2,text:u2,color:n2.color,align:n2.align,verticalAlign:n2.verticalAlign})}}return 0===s2.length?null:e("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"},s2.map((t3=>e("span",{class:"sy-bar-chart__data-label",style:{position:"absolute",left:`${t3.x}px`,top:`${t3.y}px`,transform:`translate(${"left"===t3.align?"0%":"right"===t3.align?"-100%":"-50%"}, ${"top"===t3.verticalAlign?"-100%":"middle"===t3.verticalAlign?"-50%":"0%"})`,font:"400 11px system-ui, sans-serif",color:t3.color??"var(--sy-data-label-color, #111827)",whiteSpace:"nowrap"}},t3.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(((t2,i2)=>({label:t2.label,swatchColor:t2.swatchColor??this.color,swatchShape:t2.swatchShape??"square",disabled:rt(this.legendToggle,i2),seriesIndex:"number"==typeof t2.seriesIndex?t2.seriesIndex:i2,id:t2.id})));if(this.hasExplicitSeries()){const t2=[];for(let i2=0;i2<this.series.length;i2++){const s2=this.series[i2];if(!vt(s2))continue;const e2=gt(s2,i2);t2.push({label:e2.name||`Series ${i2+1}`,swatchColor:s2.color??this.color,swatchShape:"square",disabled:rt(this.legendToggle,t2.length),seriesIndex:i2,id:e2.id})}return t2}return this.seriesName?[{label:this.seriesName,swatchColor:this.color,swatchShape:"square",disabled:rt(this.legendToggle,0)}]:[]}legendLayoutPadding(){return"top"===this.legendPosition?{top:8,right:8,bottom:16,left:8}:"bottom"===this.legendPosition?{top:16,right:8,bottom:8,left:8}:"left"===this.legendPosition?{top:8,right:16,bottom:8,left:8}:"right"===this.legendPosition?{top:8,right:8,bottom:8,left:16}:{top:8,right:8,bottom:8,left:8}}buildLegendLayout(){if(!this.legend)return null;const t2=this.resolveLegendItems();return 0===t2.length?null:(this.legendToggle.count!==t2.length&&(this.legendToggle=et(t2.length,Array.from(this.legendToggle.disabled))),{layout:Pt({outerWidth:this.width,outerHeight:this.height,items:t2,position:this.legendPosition,floatAlign:this.legendFloatAlign,floatVerticalAlign:this.legendFloatVerticalAlign,gap:12,swatchSize:12,swatchLabelGap:6,rowGap:6,fontSize:12,padding:this.legendLayoutPadding(),color:"var(--sy-axis-color, #111827)"}),items:t2})}renderLegend(t2){const{layout:i2,items:s2}=t2;if(!i2.legendRect)return null;const r2={position:"absolute",left:`${i2.legendRect.x}px`,top:`${i2.legendRect.y}px`,width:`${i2.legendRect.width}px`,height:`${i2.legendRect.height}px`,fontSize:i2.style.fontSize,fontWeight:String(i2.style.fontWeight),fontFamily:i2.style.fontFamily,color:i2.style.color,pointerEvents:"auto",boxSizing:"border-box"};return"float"===this.legendPosition&&i2.floatBoxStyle&&(r2.background=i2.floatBoxStyle.background,r2.borderStyle="solid",r2.borderColor=i2.floatBoxStyle.borderColor,r2.borderWidth=`${i2.floatBoxStyle.borderWidth}px`,r2.borderRadius=`${i2.floatBoxStyle.borderRadius}px`,r2.boxShadow=i2.floatBoxStyle.boxShadow),e("div",{class:"sy-bar-chart__legend",role:"list",style:r2,onClick:t3=>this.handleLegendClick(t3,i2),onMouseLeave:()=>{null!==this.legendHover&&(this.legendHover=null)}},s2.map(((t3,s3)=>this.renderLegendItem(t3,s3,i2.itemRects[s3],i2.legendRect))))}renderLegendItem(t2,i2,s2,r2){if(!s2)return null;const n2=rt(this.legendToggle,i2),o2=this.legendHover===i2,a2={flex:"0 0 auto",width:"12px",height:"12px",background:t2.swatchColor,borderRadius:"circle"===t2.swatchShape?"50%":"2px"};return"line"===t2.swatchShape&&(a2.height="2px",a2.borderRadius="999px"),e("div",{role:"listitem","data-legend-index":String(i2),class:{"sy-bar-chart__legend-item":true,"sy-bar-chart__legend-item--disabled":n2,"sy-bar-chart__legend-item--hover":o2},style:{position:"absolute",left:s2.x-r2.x+"px",top:s2.y-r2.y+"px",width:`${s2.width}px`,height:`${s2.height}px`,display:"flex",alignItems:"center",gap:"6px",lineHeight:"12px",boxSizing:"border-box",whiteSpace:"nowrap",cursor:"pointer",opacity:n2?"0.45":o2?"0.85":"1",transition:"opacity 120ms ease-out"},onMouseEnter:()=>{this.legendHover=i2}},e("span",{class:"sy-bar-chart__legend-swatch",style:a2}),e("span",{class:"sy-bar-chart__legend-label",style:{display:"block",color:"inherit",lineHeight:"12px",textDecoration:n2?"line-through":"none"}},t2.label))}handleLegendClick(t2,i2){if(!i2.legendRect||0===i2.itemRects.length)return;const s2=t2.target?.closest(".sy-bar-chart__legend");if(!s2)return;const e2=s2.getBoundingClientRect(),r2=nt({legendRect:i2.legendRect,itemRects:i2.itemRects,pointerX:t2.clientX-e2.left+i2.legendRect.x,pointerY:t2.clientY-e2.top+i2.legendRect.y});if(null===r2.index)return;const n2=this.resolveLegendItems(),o2=n2[r2.index];if(!o2)return;const a2=this.normalizedLegendToggle(n2.length),h2=ot(a2,r2.index);if(h2===a2)return;this.legendToggle=h2;const l2="number"==typeof o2.seriesIndex?o2.seriesIndex:r2.index,c2=this.series?.[l2],u2=rt(h2,r2.index),d2=gt(c2,l2);this.legendItemClick.emit({index:r2.index,seriesIndex:l2,seriesId:d2.id,seriesName:d2.name,label:o2.label,disabled:u2}),this.seriesToggled.emit({index:r2.index,seriesIndex:l2,seriesId:d2.id,seriesName:d2.name,disabled:u2}),this.invokeSeriesEvent(l2,"legendItemClick"),this.invokeSeriesEvent(l2,u2?"hide":"show"),u2&&this.hoverHit?.sourceIndex===l2&&(this.hoverHit=null,this.cursor=null,this.clearTooltips(),this.crosshairMove.emit(null),this.pointHover.emit(null)),this.draw()}render(){const t2=this.computeCartesianLayout(),i2=this.zoomSpec();return e(r,{key:"ed245b814ec062858a59b10d8278934e0f8a21ad",style:{position:"relative",display:"inline-block",width:`${this.width}px`,height:`${this.height}px`,touchAction:i2.enabled&&i2.pinch?"none":void 0},tabIndex:i2.enabled&&i2.keyboard||this.brushKeyboardOn()||this.drawingKeyboardOn()?0:void 0,onKeyDown:this.handleZoomKeyDown,"data-sy-brand-host":"chart"},t2&&this.renderGridOverlay(t2),e("canvas",{key:`sy-bar-canvas-${this.activeTier}`,ref:t3=>{const i3=!!t3&&t3!==this.canvas;this.canvas=t3,t3&&(this.canvasTier=this.activeTier,i3&&this.draw())},class:"sy-bar-chart__canvas",width:this.width,height:this.height,style:{position:"absolute",left:"0",top:"0",zIndex:"1"}}),t2&&this.renderAxisOverlay(t2),t2&&this.renderDataLabels(t2),t2&&this.renderCrosshair(t2),t2&&this.renderZoomOverlay(t2),t2&&this.renderBrushOverlay(t2),t2&&this.renderDrawingOverlay(t2),this.renderTooltipConnector(),this.renderTooltip(),t2?.legend&&this.renderLegend(t2.legend),this.fallbackReason&&e("span",{key:"f633593ce50d9d52474878e44cb6f8ce7ae373ea",class:"sy-bar-chart__watermark",title:this.fallbackReason},"Syidax - fell back to standard renderer"),this.degradedReason&&e("span",{key:"5055e83f360067b7602e401d55588ecd72abd373",class:"sy-bar-chart__watermark sy-bar-chart__watermark--degraded",title:this.degradedReason},"Syidax - Pro degraded"),M(this.host,this.brandLogo,{width:this.width,height:this.height,plot:t2?.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}]}}};ai.style=".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}";export{ai as sy_bar_chart};
@@ -0,0 +1 @@
1
+ import{r as t,g as i,h as r,H as n}from"./p-DChj4qx2.js";import{j as s,n as a,a as e,D as o}from"./p-Bl66fnTv.js";import{w as h,r as l}from"./p-Dd9TQ3qQ.js";import{r as c}from"./p-zrH7aO3p.js";import"./p-D6sPnRDQ.js";const u={x:[],y:[]};function f(t2,i2){let r2;if(t2)r2=c(t2,Array.isArray(i2)||ArrayBuffer.isView(i2)?{fallbackValues:i2}:{});else if(Array.isArray(i2))r2=c({data:i2});else{if(!ArrayBuffer.isView(i2))return u;r2=c(void 0,{fallbackValues:i2})}const n2=new Array(r2.length),s2=new Array(r2.length);for(let t3=0;t3<r2.length;t3++){n2[t3]=r2.getX(t3);const i3=r2.getY(t3);s2[t3]="number"==typeof i3&&Number.isFinite(i3)?i3:null}return{x:n2,y:s2}}function d(t2,i2){if("string"==typeof t2)return t2;if(Array.isArray(t2)&&t2.length>0){const r2=t2[i2%t2.length];return"string"==typeof r2?r2:void 0}}function g(t2,i2,r2,n2,a2){const e2=s(t2,r2,a2.track),o2=n2.max-n2.min,h2=o2>0?(i2-n2.min)/o2:.5;return{along:e2,across:"horizontal"===a2.orientation?a2.crossEnd-h2*(a2.crossEnd-a2.crossStart):a2.crossStart+h2*(a2.crossEnd-a2.crossStart)}}function y(t2,i2,r2){return"horizontal"===t2.orientation?`${i2.toFixed(1)} ${r2.toFixed(1)}`:`${r2.toFixed(1)} ${i2.toFixed(1)}`}function v(t2,i2,r2,n2){const s2=[];let a2=[];for(let e2=0;e2<t2.x.length;e2++){const o2=t2.y[e2],h2=t2.x[e2];null!==o2&&Number.isFinite(h2)?a2.push(g(h2,o2,i2,r2,n2)):(a2.length>0&&s2.push(a2),a2=[])}return a2.length>0&&s2.push(a2),s2}function p(t2,i2,r2,n2){return v(t2,i2,r2,n2).map((t3=>t3.map(((t4,i3)=>`${0===i3?"M":"L"} ${y(n2,t4.along,t4.across)}`)).join(" ")+(1===t3.length?` L ${y(n2,t3[0].along,t3[0].across)}`:""))).join(" ")}function m(t2,i2,r2,n2){const s2="horizontal"===n2.orientation?n2.crossEnd:n2.crossStart;return v(t2,i2,r2,n2).filter((t3=>t3.length>1)).map((t3=>{const i3=t3.map(((t4,i4)=>`${0===i4?"M":"L"} ${y(n2,t4.along,t4.across)}`)).join(" "),r3=t3[0];return`${i3} L ${y(n2,t3[t3.length-1].along,s2)} L ${y(n2,r3.along,s2)} Z`})).join(" ")}const b=[],w=class{constructor(i2){t(this,i2)}get host(){return i(this)}for;target;orientation="horizontal";axis;width=640;height=60;minRangePx=8;stepFraction=.1;showLabels=true;disabled=false;series;sampling="minmax";boundTarget=null;extent=null;window=null;previews=b;slider;hasLoaded=false;detached=false;connectedCallback(){this.detached=false,this.hasLoaded&&this.bindTarget()}componentDidLoad(){this.hasLoaded=true,this.bindTarget()}disconnectedCallback(){this.detached=true,this.unbindTarget()}onTargetChange(){this.bindTarget()}onPreviewChange(){this.refresh()}async refresh(){const t2=this.boundTarget;if(!t2)return this.extent=null,this.previews=b,void(this.window=null);if(await h(t2),!t2.getZoomExtent)return;const i2="horizontal"===this.orientation?{xAxis:this.axis}:{yAxis:this.axis},r2=await t2.getZoomExtent(i2);this.extent=a("horizontal"===this.orientation?r2?.x:r2?.y),this.previews=(function(t3,i3,r3,n2){if("all"===r3&&Array.isArray(t3)&&t3.length>0){const r4=[];return t3.forEach(((t4,s3)=>{false!==t4.visible&&r4.push({key:String(void 0!==t4.id?t4.id:s3),samples:f(t4,i3),color:"string"==typeof t4.color?t4.color:d(n2,s3)})})),r4}const s2=(function(t4,i4){if(Array.isArray(t4)&&0!==t4.length){if("number"==typeof i4&&Number.isInteger(i4)&&i4>=0&&i4<t4.length)return t4[i4];if("string"==typeof i4&&""!==i4){const r4=t4.find((t5=>void 0!==t5.id&&String(t5.id)===i4));if(r4)return r4;const n3=Number(i4);if(Number.isInteger(n3)&&n3>=0&&n3<t4.length)return t4[n3]}return t4.find((t5=>false!==t5.visible))??t4[0]}})(t3,"all"===r3?void 0:r3),a2=s2&&Array.isArray(t3)?Math.max(0,t3.indexOf(s2)):0;return[{key:String(void 0!==s2?.id?s2.id:a2),samples:f(s2,i3),color:"string"==typeof s2?.color?s2.color:d(n2,a2)}]})(t2.series,t2.values,this.series,t2.color),await this.slider?.refresh?.(),this.window=await this.slider?.getWindow?.()??null}async setWindow(t2){return await this.slider?.setWindow?.(t2)??null}async getWindow(){return await this.slider?.getWindow?.()??null}async getExtent(){return this.extent}bindTarget(){if(this.detached)return;const t2=this.host.getRootNode(),i2=l(this.target,this.for,t2,"undefined"!=typeof document?document:null);i2!==this.boundTarget&&(this.unbindTarget(),this.boundTarget=i2,i2&&i2.addEventListener("rendered",this.handleTargetRendered)),this.refresh()}unbindTarget(){const t2=this.boundTarget;t2&&(t2.removeEventListener("rendered",this.handleTargetRendered),this.boundTarget=null)}handleTargetRendered=()=>{this.refresh()};handleSliderRange=t2=>{this.window=t2.detail?.window??null};geometry(){const t2=e(this.orientation,this.width,this.height),i2=o+2,r2=Math.max(i2+2,("horizontal"===this.orientation?this.height:this.width)-o-2);return{orientation:this.orientation,track:t2,crossStart:i2,crossEnd:r2}}render(){const t2="horizontal"===this.orientation,i2=this.geometry(),{track:a2}=i2,e2=Math.min(a2.start,a2.end),h2=Math.max(a2.start,a2.end),l2=this.extent,c2=(function(t3){let i3=Number.POSITIVE_INFINITY,r2=Number.NEGATIVE_INFINITY;for(const n2 of t3)null!==n2&&(n2<i3&&(i3=n2),n2>r2&&(r2=n2));if(!Number.isFinite(i3)||!Number.isFinite(r2))return null;if(r2===i3){const t4=Math.max(1,.05*Math.abs(i3));return{min:i3-t4,max:r2+t4}}return{min:i3,max:r2}})(this.previews.flatMap((t3=>t3.samples.y))),u2=Math.ceil(h2-e2),f2=l2&&c2?this.previews.map((t3=>{const r2=(function(t4,i3,r3){const n2=Math.max(1,Math.ceil(i3));return"lttb"===r3?(function(t5,i4){const r4=t5.x.length,n3=Math.max(3,Math.floor(i4));if(!(n3>0)||r4<=n3)return t5;const s2=[t5.x[0]],a3=[t5.y[0]],e3=(r4-2)/(n3-2);let o2=0;for(let i5=0;i5<n3-2;i5++){const n4=Math.floor(i5*e3)+1,h3=Math.min(r4-1,Math.floor((i5+1)*e3)+1),l3=h3,c3=Math.min(r4,Math.floor((i5+2)*e3)+1);let u3=0,f3=0,d3=0;for(let i6=l3;i6<c3;i6++){const r5=t5.y[i6];null!==r5&&(u3+=t5.x[i6],f3+=r5,d3+=1)}d3>0&&(u3/=d3,f3/=d3);const g3=t5.y[o2];let y3=-1,v2=-1;for(let i6=n4;i6<h3;i6++){const r5=t5.y[i6];if(null===r5)continue;const n5=null===g3||0===d3?0:Math.abs((t5.x[o2]-u3)*(r5-g3)-(t5.x[o2]-t5.x[i6])*(f3-g3))/2;n5>v2&&(v2=n5,y3=i6)}-1!==y3?(s2.push(t5.x[y3]),a3.push(t5.y[y3]),o2=y3):(s2.push(t5.x[n4]),a3.push(null))}return s2.push(t5.x[r4-1]),a3.push(t5.y[r4-1]),{x:s2,y:a3}})(t4,n2):(function(t5,i4){const r4=t5.x.length,n3=Math.max(1,Math.floor(i4));if(!(n3>0)||r4<=2*n3)return t5;const s2=[],a3=[];for(let i5=0;i5<n3;i5++){const e3=Math.floor(i5*r4/n3),o2=Math.floor((i5+1)*r4/n3);let h3=-1,l3=-1;for(let i6=e3;i6<o2;i6++){const r5=t5.y[i6];null!==r5&&((-1===h3||r5<t5.y[h3])&&(h3=i6),(-1===l3||r5>t5.y[l3])&&(l3=i6))}if(-1===h3){s2.push(t5.x[e3]),a3.push(null);continue}const c3=Math.min(h3,l3),u3=Math.max(h3,l3);s2.push(t5.x[c3]),a3.push(t5.y[c3]),u3!==c3&&(s2.push(t5.x[u3]),a3.push(t5.y[u3]))}return{x:s2,y:a3}})(t4,n2)})(t3.samples,u2,this.sampling);return{key:t3.key,color:t3.color,count:r2.x.length,line:p(r2,l2,c2,i2),area:m(r2,l2,c2,i2)}})):[],d2=f2.reduce(((t3,i3)=>t3+i3.count),0),g2=l2?(function(t3,i3,r2){if(!t3)return[];const n2=Math.min(r2.start,r2.end),a3=Math.max(r2.start,r2.end),e3=s(t3.min,i3,r2),o2=s(t3.max,i3,r2),h3=Math.max(n2,Math.min(e3,o2)),l3=Math.min(a3,Math.max(e3,o2)),c3=[];return h3-n2>.5&&c3.push({from:n2,to:h3}),a3-l3>.5&&c3.push({from:l3,to:a3}),c3})(this.window,l2,a2):[],y2=Math.max(4,(t2?this.height:this.width)-2*o);return r(n,{class:{"sy-navigator":true,"sy-navigator--vertical":!t2,"sy-navigator--zoomed":!!this.window,"sy-navigator--empty":!l2||!c2},style:{position:"relative",display:"inline-block",width:`${this.width}px`,height:`${this.height}px`},"data-samples":String(d2),"data-series":String(f2.length)},r("svg",{class:"sy-navigator__preview",width:this.width,height:this.height,viewBox:`0 0 ${this.width} ${this.height}`,"aria-hidden":"true"},r("rect",{class:"sy-navigator__frame",x:t2?e2:o,y:t2?o:e2,width:t2?h2-e2:y2,height:t2?y2:h2-e2,rx:3}),f2.map((t3=>t3.area?r("path",{class:"sy-navigator__area","data-series":t3.key,d:t3.area,style:t3.color?{fill:t3.color}:void 0}):null)),f2.map((t3=>t3.line?r("path",{class:"sy-navigator__series","data-series":t3.key,d:t3.line,style:t3.color?{stroke:t3.color}:void 0}):null)),g2.map((i3=>r("rect",{class:"sy-navigator__shade",x:t2?i3.from:o,y:t2?o:i3.from,width:t2?i3.to-i3.from:y2,height:t2?y2:i3.to-i3.from})))),r("sy-data-zoom",{class:"sy-navigator__slider",ref:t3=>{this.slider=t3},target:this.boundTarget,orientation:this.orientation,axis:this.axis,width:this.width,height:this.height,minRangePx:this.minRangePx,stepFraction:this.stepFraction,showLabels:this.showLabels,disabled:this.disabled,onRangeChange:this.handleSliderRange}))}static get watchers(){return{for:[{onTargetChange:0}],target:[{onTargetChange:0}],orientation:[{onPreviewChange:0}],axis:[{onPreviewChange:0}],series:[{onPreviewChange:0}],sampling:[{onPreviewChange:0}]}}};w.style=":host{display:inline-block;position:relative;vertical-align:top;overflow:visible}.sy-navigator__preview{position:absolute;inset:0;display:block;overflow:visible;pointer-events:none}.sy-navigator__frame{fill:var(--sy-navigator-bg, #f8fafc);stroke:var(--sy-navigator-border, #e2e8f0)}.sy-navigator__area{fill:var(--sy-navigator-area, #64748b);fill-opacity:var(--sy-navigator-area-opacity, 0.14)}.sy-navigator__series{fill:none;stroke:var(--sy-navigator-series, #64748b);stroke-width:1;stroke-linejoin:round;stroke-linecap:round;vector-effect:non-scaling-stroke}.sy-navigator__shade{fill:var(--sy-navigator-shade, rgba(148, 163, 184, 0.28))}.sy-navigator__slider{position:relative;display:block;--sy-data-zoom-track:transparent;--sy-data-zoom-track-border:transparent;--sy-data-zoom-window:rgba(37, 99, 235, 0.08);--sy-data-zoom-window-hover:rgba(37, 99, 235, 0.16)}";export{w as sy_navigator};
@@ -0,0 +1 @@
1
+ const Q=118,t=32,a=2.8,s="M6.52 16H9.52Q10.77 16 10.48 17.25L7.82 28.75Q7.54 30 6.29 30H3.29Q2.04 30 2.32 28.75L4.98 17.25Q5.27 16 6.52 16ZM17.63 9H20.63Q21.88 9 21.6 10.25L17.32 28.75Q17.04 30 15.79 30H12.79Q11.54 30 11.82 28.75L16.1 10.25Q16.38 9 17.63 9ZM28.75 2H31.75Q33 2 32.71 3.25L26.82 28.75Q26.54 30 25.29 30H22.29Q21.04 30 21.32 28.75L27.21 3.25Q27.5 2 28.75 2Z",r="M44.66 12.32Q44.17 12.32 43.76 12.45Q43.36 12.57 43.13 12.82Q42.89 13.07 42.89 13.39Q42.87 13.78 43.22 14.07Q43.57 14.36 44.38 14.51L47.11 15.03Q49.21 15.42 50.23 16.34Q51.25 17.26 51.25 18.79Q51.25 20.2 50.41 21.28Q49.58 22.36 48.11 22.95Q46.65 23.54 44.74 23.54Q42.74 23.54 41.28 22.97Q39.82 22.41 38.99 21.37Q38.16 20.34 38 18.93H42.56Q42.7 19.63 43.28 20.01Q43.86 20.38 44.77 20.38Q45.31 20.38 45.72 20.26Q46.14 20.13 46.37 19.89Q46.61 19.64 46.61 19.3Q46.61 18.84 46.2 18.57Q45.79 18.3 44.91 18.13L42.51 17.69Q40.44 17.32 39.38 16.3Q38.33 15.27 38.35 13.67Q38.35 12.26 39.1 11.26Q39.85 10.26 41.25 9.74Q42.65 9.21 44.58 9.21Q46.48 9.21 47.88 9.76Q49.28 10.31 50.06 11.34Q50.84 12.37 50.91 13.78H46.67Q46.59 13.1 46.04 12.71Q45.49 12.32 44.66 12.32ZM52.76 28.43V24.98L53.52 25.03Q54.01 25.03 54.53 25.03Q54.94 25.03 55.22 24.97Q55.49 24.91 55.71 24.72Q55.93 24.53 56.06 24.17L56.21 23.82L51.29 9.39H56.06L58.54 19.22H58.7L61.2 9.39H66.02L60.83 24.56Q60.19 26.41 58.82 27.46Q57.45 28.5 55.03 28.5Q53.69 28.5 52.76 28.43ZM66.69 9.39H71.25V23.28H66.69ZM66.62 5.65Q66.62 5.07 66.95 4.57Q67.27 4.08 67.8 3.79Q68.33 3.5 68.96 3.5Q69.59 3.5 70.12 3.79Q70.65 4.08 70.97 4.57Q71.28 5.07 71.28 5.65Q71.28 6.23 70.97 6.73Q70.65 7.23 70.12 7.52Q69.59 7.81 68.96 7.81Q68.33 7.81 67.8 7.52Q67.27 7.23 66.95 6.73Q66.62 6.23 66.62 5.65ZM72.55 16.33Q72.55 13.96 73.31 12.36Q74.06 10.76 75.31 9.98Q76.55 9.21 78.05 9.21Q79.09 9.21 79.87 9.57Q80.65 9.92 81.16 10.49Q81.66 11.06 81.96 11.79H82.05V4.76H86.62V23.28H82.1V21.03H81.96Q81.66 21.74 81.14 22.27Q80.63 22.81 79.84 23.14Q79.06 23.48 78.07 23.48Q76.53 23.48 75.27 22.67Q74.02 21.86 73.29 20.25Q72.55 18.63 72.55 16.33ZM82.17 16.32Q82.17 15.22 81.87 14.42Q81.58 13.61 81.02 13.19Q80.46 12.77 79.68 12.77Q78.9 12.77 78.35 13.19Q77.81 13.62 77.52 14.43Q77.23 15.23 77.23 16.32Q77.23 17.42 77.52 18.23Q77.81 19.04 78.35 19.48Q78.9 19.92 79.68 19.92Q80.46 19.92 81.02 19.48Q81.57 19.05 81.87 18.23Q82.17 17.41 82.17 16.32ZM94.76 17.58 93.65 17.68Q92.92 17.76 92.48 18.17Q92.05 18.58 92.05 19.21Q92.05 19.62 92.26 19.92Q92.47 20.22 92.85 20.38Q93.23 20.54 93.71 20.54Q94.39 20.54 94.95 20.26Q95.52 19.98 95.85 19.48Q96.18 18.99 96.18 18.35L96.14 13.79Q96.14 13.35 95.93 13.04Q95.73 12.73 95.33 12.57Q94.93 12.41 94.4 12.41Q93.6 12.41 93.1 12.76Q92.6 13.11 92.5 13.78H88.24Q88.35 12.5 89.09 11.46Q89.83 10.42 91.2 9.82Q92.56 9.21 94.48 9.21Q96.31 9.21 97.73 9.78Q99.14 10.34 99.93 11.39Q100.72 12.43 100.72 13.82V23.28H96.42V21.35H96.32Q95.93 22.06 95.35 22.53Q94.77 23.01 94.01 23.26Q93.25 23.51 92.28 23.51Q90.93 23.51 89.91 23.05Q88.89 22.59 88.31 21.67Q87.72 20.76 87.72 19.43Q87.72 17.25 89.13 16.22Q90.54 15.19 92.85 15.05Q93.31 15.01 95.18 14.94L96.33 14.89L96.36 17.51Q95.69 17.53 94.76 17.58ZM108.47 13.89 110.77 9.39H115.36L111.54 16.32L115.52 23.28H110.97L108.47 18.71L106.04 23.28H101.42L105.43 16.32L101.64 9.39H106.26Z",n=new WeakMap,i={display:"block",visibility:"visible",opacity:"1","content-visibility":"visible",filter:"none","clip-path":"none",transform:"none"};function e(Q2){n.get(Q2)?.stop(),n.delete(Q2)}function o(Q2,t2,a2){if(!t2||"undefined"==typeof MutationObserver)return;if(!t2.parentNode||!Q2.isConnected)return void queueMicrotask((()=>{Q2.isConnected&&t2.isConnected&&o(Q2,t2,a2)}));const l2=n.get(Q2);if(l2?.node===t2)return void l2.refresh(a2);e(Q2);const d2=t2.parentNode;if(!d2)return;const f2=t2.cloneNode(true),c2=Q3=>({node:Q3,children:Array.from(Q3.childNodes,c2)}),h2=c2(t2),b2=f2.querySelector("[data-sy-brand-symbol]"),L2=f2.querySelector("[data-sy-brand-wordmark]");if(!b2||!L2)return;b2.setAttribute("d",s),L2.setAttribute("d",r);let p2=false,y2=false;const H2=(Q3,t3)=>{for(const[a3,s2]of Object.entries(t3))Q3.style.setProperty(a3,s2,"important")},v2=()=>{H2(f2,{...i,...a2,visibility:"visible",opacity:a2?.opacity||"1"}),f2.removeAttribute("hidden");const Q3=f2.querySelector("svg");a2?.width&&Q3?.setAttribute("width",String(parseFloat(a2.width))),a2?.height&&Q3?.setAttribute("height",String(parseFloat(a2.height)));for(const Q4 of Array.from(f2.querySelectorAll("span,svg,g,path")))H2(Q4,{...i,display:["span","svg"].includes(Q4.tagName.toLowerCase())?"block":"inline"}),"path"===Q4.tagName.toLowerCase()&&H2(Q4,{fill:"#6551b8",stroke:"#ffffff","stroke-width":"1","paint-order":"stroke fill"})},u2=(Q3,t3)=>{const a3=Q3.node;if(1===a3.nodeType){const Q4=a3,s3=t3;for(const t4 of Array.from(Q4.attributes))s3.hasAttribute(t4.name)||Q4.removeAttribute(t4.name);for(const t4 of Array.from(s3.attributes))Q4.getAttribute(t4.name)!==t4.value&&Q4.setAttribute(t4.name,t4.value)}else a3.nodeValue!==t3.nodeValue&&(a3.nodeValue=t3.nodeValue);const s2=new Set(Q3.children.map((Q4=>Q4.node)));for(const Q4 of Array.from(a3.childNodes))s2.has(Q4)||a3.removeChild(Q4);Q3.children.forEach(((Q4,s3)=>{a3.childNodes[s3]!==Q4.node&&a3.insertBefore(Q4.node,a3.childNodes[s3]||null),u2(Q4,t3.childNodes[s3])}))},q2=()=>{p2||y2||(Q2.isConnected?(y2=true,M2.disconnect(),t2.parentNode!==d2&&d2.appendChild(t2),u2(h2,f2),M2.observe(d2,{childList:true}),M2.observe(t2,{childList:true,attributes:true,characterData:true,subtree:true}),y2=false):e(Q2))},M2=new MutationObserver(q2);n.set(Q2,{node:t2,stop(){p2=true,M2.disconnect()},refresh(Q3){Q3&&(a2=Q3),v2(),q2()}}),v2(),q2()}const l="sy-brand-mark",d="data-sy-brand",f="data-sy-brand-product",c=1026,h=400,b="M91 164q-12 0-22 3-9 4-15 10-5 5-5 13 0 8 8 14 8 6 26 10l35 7q30 6 44 19 15 12 15 33 0 17-10 31-11 13-31 20-20 8-47 8-39 0-62-15-23-14-27-41h44q5 26 44 26 21 0 33-7 13-7 13-19-1-10-9-16-8-6-25-9l-34-7q-29-6-44-19-16-13-16-33 0-17 11-30 10-13 29-21 19-7 45-7 23 0 41 7 18 7 29 19 10 12 12 29h-41q-3-12-13-19-11-6-28-6zm109 235v-31q10 0 19 0 9 0 14-1 5-2 11-7 5-5 10-17l5-12-80-194h46l55 148h2l55-148h46l-90 216q-9 24-26 35-18 12-44 12-14 0-23-1zm195-262h43v191h-43zm-5-52q0-6 4-11 3-5 10-8 6-3 13-3 7 0 13 3 7 3 10 8 4 5 4 11 0 6-4 11-3 5-10 8-6 3-13 3-7 0-13-3-7-3-10-8-4-5-4-11zm68 148q0-31 12-53 12-22 32-34 21-12 48-12 18 0 31 6 12 5 19 12 7 7 12 16h2v-95h43v255h-41v-30h-4q-8 14-23 24-14 10-40 10-26 0-47-12-20-12-32-34-12-23-12-53zm158-1q0-20-7-35-7-14-19-23-13-8-31-8-19 0-32 9-12 8-19 23-6 15-6 34 0 20 6 35 7 15 20 24 13 9 31 9 18 0 30-9 13-8 20-23 7-16 7-36zm146-15q13-1 29-2 17-1 28-1v-15q0-17-12-26-11-8-33-8-18 0-29 6-12 7-15 18h-43q2-16 14-28 11-13 31-20 19-7 44-7 21 0 40 6 19 6 32 20 13 15 13 41v127h-41v-26h-2q-7 13-23 22-17 8-41 8-21 0-38-7-16-6-26-20-10-13-10-31 0-30 23-42 23-13 59-15zm1 85q17 0 30-6 12-5 19-15 7-10 7-22v-17l-51 3q-22 1-34 8-12 8-12 22 0 13 11 20 12 7 30 7zm189-244 38-58h36l-53 75 53 74h-36l-38-56-38 56h-36l52-74-52-75h37z",L=16,p="#172027",y="#edf0f4",H="data-sy-brand-corner",v="data-sy-brand-error",u=8,q=6,M=.6,m=/^data:image\/(?:png|jpeg|webp);base64,[A-Za-z0-9+/]+={0,2}$/;function g(Q2){return"string"==typeof Q2&&m.test(Q2)}function Z(Q2,t2,a2="br",s2={x:8,y:6}){return{x:"r"===a2[1]?Q2.width-s2.x-t2.width:s2.x,y:"b"===a2[0]?Q2.height-s2.y-t2.height:s2.y,width:t2.width,height:t2.height}}export{y as B,l as a,d as b,M as c,b as d,Z as e,p as f,t as g,Q as h,g as i,a as j,s as k,r as l,c as m,h as n,L as o,u as p,q,v as r,e as s,o as t,f as u,H as v};
@@ -0,0 +1 @@
1
+ const e="Pro renderer not included in this build",n="browser does not support WebGPU";function r(r2){if(!r2.proModulePresent)return{available:false,reason:e};const t2=r2.nav??("undefined"==typeof navigator?void 0:navigator);return t2&&"gpu"in t2?{available:true}:{available:false,reason:n}}function t(e2){return null==e2?{requested:"auto",valid:true}:"auto"===e2||"standard"===e2||"pro"===e2?{requested:e2,valid:true}:{requested:"auto",valid:false}}function a(e2){return"error"===e2||"throw"===e2?"error":"fallback"}function o(e2){return"license-pending"===e2||"license-required"===e2||"load-failed"===e2}function u(e2){return"valid"===e2?null:"pending"===e2?{code:"license-pending",reason:"the Chart Pro license is still being confirmed"}:"load-failed"===e2?{code:"load-failed",reason:"the Chart Pro license module could not be loaded"}:{code:"license-required",reason:`a valid Chart Pro license is required (license state: ${String(e2).slice(0,32)})`}}function i(r2,t2){return true!==r2.moduleAvailable?{code:t2?"module-missing":"renderer-not-in-build",reason:r2.moduleReason||e}:true!==r2.gpuAvailable?{code:t2?"engine-unsupported":"gpu-unavailable",reason:r2.gpuReason||n}:null}function s(e2){return"number"==typeof e2&&Number.isFinite(e2)&&e2>0}function d(e2){if("boolean"==typeof e2.autoWantsPro)return e2.autoWantsPro;const n2=(function(e3){return s(e3.proThreshold)?e3.proThreshold:s(e3.defaultProThreshold)?e3.defaultProThreshold:void 0})(e2);return void 0!==n2&&"number"==typeof(r2=e2.dataSize)&&Number.isFinite(r2)&&r2>=0&&e2.dataSize>=n2;var r2}function l(e2,n2){return"standard"===n2&&true!==e2.hasStandardRenderer}function c(e2,n2){return true!==e2.hasStandardRenderer?null:"standard"===n2?"ok":"auto"!==n2||d(e2)?null:"auto-standard"}function f(e2){switch(e2.engineClass){case"pro-only":return true;case"engine-swap":{const{requested:n2}=t(e2.requested);return!l(e2,n2)&&null===c(e2,n2)&&null===i(e2,false)}default:return false}}function p(e2){const{requested:n2,valid:r2}=t(e2.requested),s2=a(e2.onUnavailable),f2=(e3,t2,a2,u2)=>Object.freeze({requested:n2,requestValid:r2,effective:e3,code:t2,reason:a2,licenseConsulted:u2,shouldThrow:"error"===s2&&"ok"!==t2&&"auto-standard"!==t2&&!o(t2)&&("unavailable"===e3||"pro"===n2)});switch(e2.engineClass){case"pro-only":{const n3=u(e2.entitlement);if(n3)return f2("unavailable",n3.code,n3.reason,true);const r3=i(e2,true);return r3?f2(true===e2.hasStandardRenderer?"standard":"unavailable",r3.code,r3.reason,true):f2("pro","ok",null,true)}case"engine-swap":{if(l(e2,n2))return f2("unavailable","no-standard-renderer",e2.noStandardRendererReason||"this chart type has no Standard renderer yet",false);const r3=c(e2,n2);if(r3)return f2("standard",r3,null,false);const t2=true===e2.hasStandardRenderer?"standard":"unavailable",a2=i(e2,false);if(a2)return f2(t2,a2.code,a2.reason,false);const o2=u(e2.entitlement);return o2?f2(t2,o2.code,o2.reason,true):f2("pro","ok",null,true)}case"standard-only":return"pro"===n2||"auto"===n2&&d(e2)?f2("standard","no-pro-renderer",e2.noProRendererReason||"this chart type has no WebGPU renderer",false):f2("standard","auto"===n2?"auto-standard":"ok",null,false);default:throw new TypeError(`resolveChartEngine: unknown engine class "${String(e2.engineClass).slice(0,32)}".`)}}function b(e2){return Object.freeze({requested:e2.requested,effective:e2.effective,reason:e2.reason,code:e2.code,entitlement:null})}function h(e2,n2={index:0}){const r2=e2&&"object"==typeof e2?e2:{};return{index:"number"==typeof r2.seriesIndex&&Number.isFinite(r2.seriesIndex)?Math.trunc(r2.seriesIndex):n2.index,id:r2.seriesId??n2.id,name:r2.seriesName??n2.name}}function v(e2,n2,r2,t2,a2){const o2=n2.getBoundingClientRect();return{chartType:r2,x:Math.round(e2.clientX-o2.left),y:Math.round(e2.clientY-o2.top),clientX:Math.round(e2.clientX),clientY:Math.round(e2.clientY),point:t2,series:h(t2,a2)}}function g(e2,n2,r2=e2.chartType){const t2=n2.getBoundingClientRect();return{...e2,chartType:r2,x:Math.round(e2.clientX-t2.left),y:Math.round(e2.clientY-t2.top)}}export{e as G,t as a,v as b,f as c,p as d,r as g,o as i,a as n,g as r,b as t};
@@ -0,0 +1 @@
1
+ function t(t2,n2){const r=t2.find((t3=>t3.target===n2))??t2[0],e=r?.devicePixelContentBoxSize?.[0];if(!e)return;const u=Math.round(e.inlineSize),i=Math.round(e.blockSize);return!Number.isFinite(u)||!Number.isFinite(i)||u<=0||i<=0?void 0:{width:u,height:i}}function n(t2,n2){return t2===n2||!(!t2||!n2)&&t2.width===n2.width&&t2.height===n2.height}export{t as d,n as s};
@@ -0,0 +1 @@
1
+ function e(e2){return"number"==typeof e2&&Number.isFinite(e2)}function t(t2,n2){return e(t2)&&Number.isInteger(t2)&&t2>=0&&t2<n2}function n(e2,t2,n2,r2){return e2>=n2.x-r2&&e2<=n2.x+n2.width+r2&&t2>=n2.y-r2&&t2<=n2.y+n2.height+r2}function r(e2){const t2=new Set(e2),n2=new Proxy(t2,{get(e3,t3){if("add"===t3||"delete"===t3||"clear"===t3)return()=>{throw new TypeError("[Syidax] sy-legend: disabled set is readonly.")};const n3=Reflect.get(e3,t3,e3);return"function"==typeof n3?n3.bind(e3):n3},set:()=>false,defineProperty:()=>false,deleteProperty:()=>false});return Object.freeze(n2)}function u(e2){return Object.freeze({disabled:r(e2.disabled),count:e2.count})}function i(t2){const{legendRect:r2,itemRects:u2,pointerX:i2,pointerY:o2}=t2,c2=void 0===(l2=t2.tolerance)||!e(l2)||l2<0?0:l2;var l2;if(!e(i2)||!e(o2))return{index:null,itemRect:null};if(!Array.isArray(u2)||0===u2.length)return{index:null,itemRect:null};if(!n(i2,o2,r2,c2))return{index:null,itemRect:null};for(let e2=0;e2<u2.length;e2++){const t3=u2[e2];if(n(i2,o2,t3,c2))return{index:e2,itemRect:t3}}return{index:null,itemRect:null}}function o(n2,r2){const i2=e(n2)&&n2>0?Math.floor(n2):0,o2=new Set;if(i2>0&&Array.isArray(r2))for(const e2 of r2)t(e2,i2)&&o2.add(e2);return u({disabled:o2,count:i2})}function c(e2,n2){if(!t(n2,e2.count))return console.warn(`[Syidax] sy-legend: toggleLegendItem received invalid index ${n2} (count ${e2.count}); ignored.`),e2;const r2=new Set(e2.disabled);return r2.has(n2)?r2.delete(n2):r2.add(n2),u({disabled:r2,count:e2.count})}function l(e2,n2){return!!t(n2,e2.count)&&e2.disabled.has(n2)}function d(e2,t2){const n2=Number.isFinite(e2)?e2:0,r2=Number.isFinite(t2)?t2:0;return Object.freeze({x:n2,y:r2})}function a(e2,t2,n2,r2,u2){const i2=Number.isFinite(t2)?t2:0,o2=Number.isFinite(n2)?n2:0;let c2=e2.x+i2,l2=e2.y+o2;if(Number.isFinite(r2.x)&&Number.isFinite(r2.y)&&Number.isFinite(r2.width)&&r2.width>=0&&Number.isFinite(r2.height)&&r2.height>=0){const e3=Number.isFinite(u2.width)&&u2.width>=0?u2.width:0,t3=Number.isFinite(u2.height)&&u2.height>=0?u2.height:0,n3=r2.x,i3=r2.x+Math.max(0,r2.width-e3),o3=r2.y,d2=r2.y+Math.max(0,r2.height-t3);c2=Math.max(n3,Math.min(c2,i3)),l2=Math.max(o3,Math.min(l2,d2))}return c2===e2.x&&l2===e2.y?e2:Object.freeze({x:c2,y:l2})}export{d as a,o as c,a as d,i as h,l as i,c as t};
@@ -0,0 +1 @@
1
+ function e(e2,r2={}){if("undefined"==typeof document||!e2)return null;const n=e2.cloneNode(true);for(const e3 of Array.from(n.querySelectorAll('[data-selection-id], [data-handle-id], [class*="__drawing-marquee"], [class*="__drawing--preview"]')))e3.remove();const t=n.querySelectorAll("[data-drawing-id]").length;if(0===t)return null;n.removeAttribute("style"),n.removeAttribute("aria-hidden");const a=Number(e2.getAttribute("width"))||e2.clientWidth||0,i=Number(e2.getAttribute("height"))||e2.clientHeight||0,d=Number.parseFloat(e2.style.left),u=Number.parseFloat(e2.style.top);return{markup:new XMLSerializer().serializeToString(n),x:r2.plotX??(Number.isFinite(d)?d:0),y:r2.plotY??(Number.isFinite(u)?u:0),width:a,height:i,count:t}}function r(e2){return`${(e2||"").trim()||"chart"}-drawings`}export{r as d,e as s};
@@ -0,0 +1 @@
1
+ import{c as n,a as r,z as t,Z as e,d as a}from"./p-D6sPnRDQ.js";const u=8;function i(n2,r2,t2){return"horizontal"===n2?{start:8,end:Math.max(9,r2-8)}:{start:Math.max(9,t2-8),end:8}}function s(n2){if(!n2||!Number.isFinite(n2.min)||!Number.isFinite(n2.max))return null;const r2=Math.min(n2.min,n2.max),t2=Math.max(n2.min,n2.max);return t2>r2?{min:r2,max:t2}:null}function c(r2,t2,e2=0){if(!r2)return{min:t2.min,max:t2.max};const a2=Array.isArray(r2)?{min:r2[0],max:r2[1]}:r2;return n({min:a2.min,max:a2.max},t2,e2)}function o(n2,t2){return r(n2??void 0,t2)}function m(n2,r2,t2=1e-9){return n2===r2||!(!n2||!r2)&&Math.abs(n2.min-r2.min)<=t2&&Math.abs(n2.max-r2.max)<=t2}function f(n2,r2,t2){const e2=r2.max-r2.min;return e2>0?t2.start+(n2-r2.min)/e2*(t2.end-t2.start):t2.start}function d(n2,r2,t2){const e2=t2.end-t2.start;return 0===e2?r2.min:r2.min+(n2-t2.start)/e2*(r2.max-r2.min)}function h(n2,r2,t2){return{start:f(n2.min,r2,t2),end:f(n2.max,r2,t2)}}function M(n2,r2,t2){const e2=Math.abs(t2.end-t2.start),a2=r2.max-r2.min;return e2>0&&n2>0?Math.min(a2,a2*(n2/e2)):0}function l(r2,t2,e2,a2,u2,i2=0){const s2=u2.end-u2.start;if(!Number.isFinite(e2)||0===s2)return t2;const c2=e2/s2*(a2.max-a2.min),o2=Math.max(0,Math.min(i2,a2.max-a2.min));if("window"===r2)return n({min:t2.min+c2,max:t2.max+c2},a2,o2);if("handle-min"===r2)return{min:Math.max(a2.min,Math.min(t2.max-o2,t2.min+c2)),max:t2.max};const m2=Math.min(a2.max,Math.max(t2.min+o2,t2.max+c2));return{min:t2.min,max:m2}}function p(r2,t2,e2){const a2=r2.max-r2.min;if(!(Number.isFinite(e2)&&0!==e2&&a2>0))return r2;const u2=a2*e2;return n({min:r2.min+u2,max:r2.max+u2},t2,0)}function x(n2,r2,t2){return Number.isFinite(t2)?t2<n2.min?p(n2,r2,-1):t2>n2.max?p(n2,r2,1):n2:n2}function k(n2){if(n2.ctrlKey||n2.metaKey||n2.altKey)return null;switch(n2.key){case"ArrowRight":case"ArrowUp":return{kind:"pan",direction:1};case"ArrowLeft":case"ArrowDown":return{kind:"pan",direction:-1};case"PageUp":return{kind:"page",direction:1};case"PageDown":return{kind:"page",direction:-1};case"Home":return{kind:"home"};case"End":return{kind:"end"};case"+":case"=":return{kind:"zoom",direction:"in"};case"-":return{kind:"zoom",direction:"out"};case"Escape":case"0":return{kind:"reset"};default:return null}}function w(r2,u2,i2,s2,c2=0){const o2=Number.isFinite(s2)&&s2>0?s2:.1,m2=u2.max-u2.min;switch(r2.kind){case"pan":return p(u2,i2,r2.direction*o2);case"page":return p(u2,i2,r2.direction);case"zoom":return t(u2,i2,"in"===r2.direction?e:a,.5,c2);case"home":return n({min:i2.min,max:i2.min+m2},i2,0);case"end":return n({min:i2.max-m2,max:i2.max},i2,0);case"reset":return null;default:return u2}}function g(n2,r2){if(r2)try{return String(r2(n2))}catch{}if(!Number.isFinite(n2))return"";const t2=Math.round(100*n2)/100;return String(t2)}export{u as D,i as a,M as b,l as c,m as d,d as e,w as f,h as g,g as h,o as i,f as j,k,s as n,x as p,c as r};
@@ -0,0 +1 @@
1
+ import{m as t,a as n,s as r}from"./p-BwtrZuf8.js";import{p as e}from"./p-EXuVQfpl.js";function u(t2={}){const n2=Number.isFinite(t2.diameter)&&t2.diameter>0?t2.diameter:300,r2=n2/2,e2=Math.min(.5*r2,Math.max(0,Number.isFinite(t2.edgeExclusion)?t2.edgeExclusion:3));return{diameter:n2,radius:r2,edgeExclusion:e2,effectiveRadius:r2-e2,orientation:"up"===t2.orientation||"left"===t2.orientation||"right"===t2.orientation?t2.orientation:"down",indicator:"flat"===t2.indicator||"none"===t2.indicator?t2.indicator:"notch",flatLength:Math.min(.45*n2,Math.max(0,Number.isFinite(t2.flatLength)?t2.flatLength:.2*n2)),notchDepth:Math.min(.1*r2,Math.max(.5,Number.isFinite(t2.notchDepth)?t2.notchDepth:2.5))}}function a(t2,n2,r2){const e2=Math.cos(r2),u2=Math.sin(r2);return{x:t2*e2-n2*u2,y:t2*u2+n2*e2}}const o=t2=>Math.round(1e3*t2)/1e3;function c(t2){const n2=t2.radius,r2=(function(t3){switch(t3){case"up":return Math.PI;case"left":return Math.PI/2;case"right":return-Math.PI/2;default:return 0}})(t2.orientation);if("none"===t2.indicator)return`M ${o(-n2)} 0 A ${o(n2)} ${o(n2)} 0 1 0 ${o(n2)} 0 A ${o(n2)} ${o(n2)} 0 1 0 ${o(-n2)} 0 Z`;if("flat"===t2.indicator){const e3=Math.min(t2.flatLength/2,.999*n2),u3=Math.sqrt(Math.max(0,n2*n2-e3*e3)),c3=a(-e3,u3,r2),i3=a(e3,u3,r2);return`M ${o(i3.x)} ${o(i3.y)} A ${o(n2)} ${o(n2)} 0 1 0 ${o(c3.x)} ${o(c3.y)} L ${o(i3.x)} ${o(i3.y)} Z`}const e2=t2.notchDepth,u2=e2,c2=Math.sqrt(Math.max(0,n2*n2-u2*u2)),i2=a(-u2,c2,r2),s2=a(0,n2-e2,r2),f2=a(u2,c2,r2);return[`M ${o(f2.x)} ${o(f2.y)}`,`A ${o(n2)} ${o(n2)} 0 1 0 ${o(i2.x)} ${o(i2.y)}`,`L ${o(s2.x)} ${o(s2.y)}`,`L ${o(f2.x)} ${o(f2.y)}`,"Z"].join(" ")}const i=t2=>0===t2?0:-t2;function s(t2,n2,r2){switch(r2){case"up":return{x:i(t2),y:i(n2)};case"left":return{x:i(n2),y:t2};case"right":return{x:n2,y:i(t2)};default:return{x:t2,y:n2}}}function f(t2,n2,r2){switch(r2){case"up":return{x:i(t2),y:i(n2)};case"left":return{x:n2,y:i(t2)};case"right":return{x:i(n2),y:t2};default:return{x:t2,y:n2}}}function h(t2){return"left"===t2||"right"===t2}function l(t2={}){const n2=Number.isFinite(t2.dieWidth)&&t2.dieWidth>0?t2.dieWidth:10,r2=Number.isFinite(t2.dieHeight)&&t2.dieHeight>0?t2.dieHeight:10,e2=Math.max(0,Number.isFinite(t2.scribeX)?t2.scribeX:.2),u2=Math.max(0,Number.isFinite(t2.scribeY)?t2.scribeY:.2);return{dieWidth:n2,dieHeight:r2,scribeX:e2,scribeY:u2,pitchX:n2+e2,pitchY:r2+u2,offsetX:Number.isFinite(t2.offsetX)?t2.offsetX:0,offsetY:Number.isFinite(t2.offsetY)?t2.offsetY:0}}function M(t2,n2,r2){return{cx:t2.offsetX+n2*t2.pitchX,cy:t2.offsetY+r2*t2.pitchY}}function m(t2,n2,r2){const e2=Math.round((n2-t2.offsetX)/t2.pitchX),u2=Math.round((r2-t2.offsetY)/t2.pitchY),a2=M(t2,e2,u2);return Math.abs(n2-a2.cx)>t2.dieWidth/2||Math.abs(r2-a2.cy)>t2.dieHeight/2?null:{col:e2,row:u2}}function $(t2,n2,r2,e2){const u2=Math.abs(t2)+r2,a2=Math.abs(n2)+e2;return u2*u2+a2*a2}function d(t2,n2,r2,e2){const u2=Math.max(0,Math.abs(t2)-r2),a2=Math.max(0,Math.abs(n2)-e2);return u2*u2+a2*a2}function b(t2,n2){const r2=t2.effectiveRadius,e2=n2.dieWidth/2,u2=n2.dieHeight/2,a2=r2*r2,o2=Math.ceil((r2+n2.pitchX)/n2.pitchX),c2=Math.ceil((r2+n2.pitchY)/n2.pitchY),i2=[];let s2=0,f2=0,h2=1/0,l2=-1/0,m2=1/0,b2=-1/0;for(let t3=-c2;t3<=c2;t3+=1)for(let r3=-o2;r3<=o2;r3+=1){const{cx:o3,cy:c3}=M(n2,r3,t3);if(d(o3,c3,e2,u2)>a2)continue;const p2=$(o3,c3,e2,u2)<=a2?"full":"partial";i2.push({col:r3,row:t3,cx:o3,cy:c3,status:p2}),"full"===p2?s2+=1:f2+=1,r3<h2&&(h2=r3),r3>l2&&(l2=r3),t3<m2&&(m2=t3),t3>b2&&(b2=t3)}return{dies:i2,fullCount:s2,partialCount:f2,minCol:i2.length>0?h2:0,maxCol:i2.length>0?l2:-1,minRow:i2.length>0?m2:0,maxRow:i2.length>0?b2:-1,grid:n2,wafer:t2}}function p(t2){return t2.a>=1?`rgb(${t2.r}, ${t2.g}, ${t2.b})`:`rgba(${t2.r}, ${t2.g}, ${t2.b}, ${Math.round(1e3*t2.a)/1e3})`}function x(u2,a2){if(null==u2||false===u2)return null;const o2=true===u2||"auto"===u2?{}:u2;let c2=1/0,i2=-1/0;for(const t2 of a2)Number.isFinite(t2)&&(t2<c2&&(c2=t2),t2>i2&&(i2=t2));const s2=Number.isFinite(o2.min)?o2.min:c2,f2=Number.isFinite(o2.max)?o2.max:i2;if(!Number.isFinite(s2)||!Number.isFinite(f2))return null;const h2=f2>s2?f2-s2:1,l2=o2.scheme??"blues",M2=n[l2];let m2,$2=false;if(Array.isArray(o2.stops)&&o2.stops.length>0){const n2=o2.stops.map((([t2,n3])=>({t:Math.min(1,Math.max(0,Number(t2))),color:e(String(n3))}))).filter((t2=>null!==t2.color)).sort(((t2,n3)=>t2.t-n3.t));if(0===n2.length)return null;m2=r2=>{const e2=Math.min(1,Math.max(0,r2));if(e2<=n2[0].t)return n2[0].color;const u3=n2[n2.length-1];if(e2>=u3.t)return u3.color;for(let r3=0;r3<n2.length-1;r3+=1){const u4=n2[r3],a3=n2[r3+1];if(e2<=a3.t){const n3=a3.t>u4.t?(e2-u4.t)/(a3.t-u4.t):0;return t([u4.color,a3.color])(n3)}}return u3.color}}else if("string"==typeof o2.minColor||"string"==typeof o2.maxColor){const n2=e(o2.minColor??"#eff6ff"),r2=e(o2.maxColor??"#1d4ed8");if(!n2||!r2)return null;m2=t([n2,r2])}else M2?(m2=t(M2),$2=true):m2=t(r[l2]??r.blues);if(true===o2.reverse){const t2=m2;m2=n2=>t2(1-n2)}const d2=$2?Math.min(f2,Math.max(s2,Number.isFinite(o2.center)?o2.center:(s2+f2)/2)):void 0,b2=[];for(let t2=0;t2<=8;t2+=1){const n2=t2/8;b2.push([n2,p(m2(n2))])}return{min:s2,max:f2,diverging:$2,center:d2,colorFor:t2=>p(m2((t3=>{const n2=Math.min(f2,Math.max(s2,t3));if(!$2||void 0===d2)return(n2-s2)/h2;if(n2<=d2){const t4=d2-s2;return t4>0?(n2-s2)/t4*.5:.5}const r2=f2-d2;return r2>0?.5+(n2-d2)/r2*.5:.5})(t2))),gradientStops:b2}}function g(t2){const n2=t2.filter((t3=>Number.isFinite(t3))).sort(((t3,n3)=>t3-n3)),r2=n2.length;if(0===r2)return{count:0,min:0,max:0,mean:0,stdDev:0,median:0};const e2=n2[0],u2=n2[r2-1],a2=n2.reduce(((t3,n3)=>t3+n3),0)/r2,o2=r2>1?Math.sqrt(n2.reduce(((t3,n3)=>t3+(n3-a2)*(n3-a2)),0)/(r2-1)):0;return{count:r2,min:e2,max:u2,mean:a2,stdDev:o2,median:r2%2==1?n2[(r2-1)/2]:(n2[r2/2-1]+n2[r2/2])/2}}export{g as a,x as b,b as c,m as d,u as e,l as f,f as g,M as h,h as i,s as r,c as w};
@@ -0,0 +1 @@
1
+ const t={column:0,columnGroup:1,row:2},e={"column:setWidth":[["column","widthChanged","actualWidth"]],"column:setVisible":[["column","visibilityChanged","visible"],["columnGroup","visibilityChanged","displayed"]],"column:setPinned":[["column","pinnedChanged","pinned"]],"column:setSort":[["column","sortChanged","sort"]],"column:setAggFunc":[["column","aggregationChanged","aggFunc"]],"columnGroup:setExpanded":[["columnGroup","expandedChanged","expanded"],["columnGroup","visibilityChanged","displayed"],["column","visibilityChanged","visible"]],"row:setSelected":[["row","selectionChanged","selected"]],"row:setExpanded":[["row","expandedChanged","expanded"]]};class i{id;model;#t=true;#e=null;generation=0;listeners=new Map;constructor(t2,e2){this.id=t2,this.model=e2}isValid(){return this.#t}getInvalidationReason(){return this.#e}addEventListener(t2,e2){if(!this.#t)return()=>{};const i2=this.listeners.get(t2)??new Set;return i2.add(e2),this.listeners.set(t2,i2),()=>this.removeEventListener(t2,e2)}removeEventListener(t2,e2){const i2=this.listeners.get(t2);i2?.delete(e2),0===i2?.size&&this.listeners.delete(t2)}dispatch(t2){for(const e2 of[...this.listeners.get(t2.type)??[],...this.listeners.get("*")??[]])try{e2(t2)}catch(e3){this.model?.reportListenerError(e3,t2)}}markInvalid(t2){return!!this.#t&&(this.#t=false,this.#e=t2,this.generation+=1,true)}dispatchInvalidation(t2){const e2=this.model;try{e2?.publishInvalidation(this,t2)}finally{this.listeners.clear(),this.model=null}}ensureValid(){if(!this.#t||!this.model)throw new Error(`Grid ${this.kind} ref "${String(this.id)}" is invalid (${this.#e}).`)}state(){return this.model?.snapshot(this.kind,this.id)??null}read(t2,e2){return this.state()?.[t2]??e2}mutate(t2,e2={}){return this.ensureValid(),this.model.run(this,{...e2,kind:this.kind,id:this.id,type:t2})}}class n extends i{kind="column";getDefinition(){return this.read("definition",null)}getActualWidth(){return this.read("actualWidth",null)}isVisible(){return this.read("visible",false)}getPinned(){return this.read("pinned",null)}getSort(){return this.read("sort",null)}getAggFunc(){return this.read("aggFunc",null)}isPivotActive(){return this.read("pivotActive",false)}getParent(){const t2=this.read("parentId",null);return t2?this.model?.getColumnGroup(t2)??null:null}setWidth(t2){return!Number.isFinite(t2)||t2<=0?Promise.resolve(false):this.mutate("setWidth",{value:t2})}setVisible(t2){return this.mutate("setVisible",{value:t2})}setPinned(t2){return this.mutate("setPinned",{value:t2})}setSort(t2,e2={}){return this.mutate("setSort",{value:t2,multi:true===e2.multi})}setAggFunc(t2){return this.mutate("setAggFunc",{value:t2})}async getFilterModel(){if(!this.isValid())return null;const t2=this.model?.adapterColumnFilter();return t2?t2.getModel(this.id):null}async setFilterModel(t2){if(!this.isValid())return false;const e2=this.model?.adapterColumnFilter();return!!e2&&e2.setModel(this.id,t2)}}class s extends i{kind="columnGroup";getDefinition(){return this.read("definition",null)}getChildren(){return this.read("childIds",[]).flatMap((t2=>{const e2="column"===t2.kind?this.model?.getColumn(t2.id):this.model?.getColumnGroup(t2.id);return e2?[e2]:[]}))}getLeafColumns(){return this.read("leafIds",[]).flatMap((t2=>{const e2=this.model?.getColumn(t2);return e2?[e2]:[]}))}getParent(){const t2=this.read("parentId",null);return t2?this.model?.getColumnGroup(t2)??null:null}isExpanded(){return this.read("expanded",false)}isPadding(){return this.read("padding",false)}isDisplayed(){return this.read("displayed",false)}setExpanded(t2){return this.mutate("setExpanded",{value:t2})}}class r extends i{kind="row";getSourceIndex(){return this.read("sourceIndex",null)}getDisplayIndex(){return this.read("displayIndex",null)}getData(){return this.read("data",null)}getParent(){const t2=this.read("parentId",null);return null==t2?null:this.model?.getRow(t2)??null}getChildren(){return this.read("childIds",[]).flatMap((t2=>{const e2=this.model?.getRow(t2);return e2?[e2]:[]}))}isGroup(){return this.read("group",false)}isLeaf(){return this.read("leaf",false)}isMaster(){return this.read("master",false)}isDetail(){return this.read("detail",false)}getLevel(){return this.read("level",0)}getRoute(){return this.read("route",[])}isSelected(){return this.read("selected",false)}isExpanded(){return this.read("expanded",false)}setSelected(t2){return this.#i("setSelected",t2)}setExpanded(t2){return this.#i("setExpanded",t2)}setData(t2){return this.#i("setData",t2)}updateData(t2){return this.#i("updateData",t2)}setValue(t2,e2){return this.mutate("setValue",{field:t2,value:e2})}setHeight(t2){return null!==t2&&(!Number.isFinite(t2)||t2<=0)?Promise.resolve(false):this.#i("setHeight",t2)}focus(t2){return this.mutate("focus",{field:t2})}startEditing(t2){return this.mutate("startEditing",{field:t2})}#i(t2,e2){return this.mutate(t2,{value:e2})}}class o{#n;adapterColumnFilter(){return this.#n.columnFilter??null}#s=[new Map,new Map,new Map];states=[new Map,new Map,new Map];#r=[];#o=[];#u=new Map;#h=null;pendingMutations=new WeakMap;#l=0;constructor(t2){this.#n=t2,this.reconcile()}reconcile(t2="removed"){if(!this.#n.isConnected())return this.invalidateAll("disconnected");const e2=new Map(this.#n.columns().map((t3=>[t3.id,t3]))),i2=new Map(this.#n.columnGroups().map((t3=>[t3.id,t3]))),n2=this.#n.rows(),s2=n2===this.#h&&"data-replaced"!==t2,r2=s2?this.states[2]:new Map(n2.map((t3=>[t3.id,t3]))),o2=[e2,i2,r2],u=[];for(let t3=0;t3<3;t3+=1)2===t3&&s2||u.push(...this.#a(this.#s[t3],o2[t3]));this.states[0]=e2,this.states[1]=i2,s2||this.#d(r2,n2),this.#c(u,t2)}invalidateAll(t2){const e2=this.#s.flatMap((t3=>[...t3.values()]));for(const t3 of this.#s)t3.clear();this.states[0].clear(),this.states[1].clear(),this.#d(new Map,null),this.#c(e2,t2)}invalidateRows(t2){const e2=[...this.#s[2].values()];this.#s[2].clear(),this.#d(new Map,null),this.#c(e2,t2)}invalidateRow(t2,e2){if(!this.states[2].has(t2)&&!this.#s[2].has(t2))return;const i2=new Map(this.states[2]);i2.delete(t2);const n2=this.#s[2].get(t2);this.#s[2].delete(t2),this.#d(i2,null),n2&&this.#c([n2],e2)}getColumn(t2){return this.#p("column",t2)}getColumns(){return[...this.states[0].keys()].map((t2=>this.getColumn(String(t2)))).filter(Boolean)}getColumnGroup(t2){return this.#p("columnGroup",t2)}getColumnGroups(){return[...this.states[1].keys()].map((t2=>this.getColumnGroup(String(t2)))).filter(Boolean)}getRow(t2){return this.#p("row",t2)}getDisplayedRowAtIndex(t2){const e2=this.#u.get(t2);return void 0===e2?null:this.getRow(e2)}forEachRow(t2){this.#f("sourceIndex",t2)}forEachDisplayedRow(t2){this.#f("displayIndex",t2)}snapshot(e2,i2){return this.states[t[e2]].get(i2)??null}async run(t2,e2){const i2=new AbortController,n2=this.pendingMutations.get(t2)??new Set;n2.add(i2),this.pendingMutations.set(t2,n2);try{const n3=t2.generation,s2=this.#g(e2),r2=await this.#n.mutate(e2,i2.signal);if(i2.signal.aborted||!r2.applied)return false;const o2=t2.generation===n3&&this.#m(t2);return this.reconcile(),!(i2.signal.aborted||!o2||t2.generation!==n3||!this.#m(t2))&&(this.#w(this.#v(e2,r2,s2)),true)}catch(t3){if(i2.signal.aborted)return false;throw t3}finally{n2.delete(i2),0===n2.size&&this.pendingMutations.delete(t2)}}publish(t2,e2,i2,n2,s2={}){return this.publishBatch([{kind:t2,id:e2,type:i2,source:n2,detail:s2}])[0]}publishBatch(t2){return 0===t2.length?[]:(this.reconcile(),this.#w(t2))}#w(t2){return t2.map((t3=>this.#y(t3)))}reportListenerError(t2,e2){this.#n.reportListenerError?this.#n.reportListenerError(t2,e2):console.error("[Syidax] sy-grid: live object listener threw; mutation continued.",t2)}publishInvalidation(t2,e2){this.#y({kind:t2.kind,id:t2.id,type:"invalidated",source:"disconnected"===e2?"disconnect":"definitions-replaced"===e2?"columnDefs":"data-replaced"===e2?"rowData":"state",detail:{reason:e2}},t2)}#x(){const t2=this.#n.mintMutationId?.();return void 0!==t2?t2:(this.#l+=1,`grid-mutation-${this.#l}`)}#y(e2,i2){const{kind:n2,id:s2,type:r2,source:o2,detail:u={}}=e2,h=Object.freeze({...u,mutationId:this.#x(),kind:n2,id:s2,type:r2,source:o2,timestamp:Date.now()});return(i2??this.#s[t[n2]].get(s2))?.dispatch(h),this.#n.emitGridEvent(h),h}#a(t2,e2){const i2=[];for(const[n2,s2]of t2)e2.has(n2)||(t2.delete(n2),i2.push(s2));return i2}#c(t2,e2){const i2=t2.filter((t3=>t3.markInvalid(e2)));for(const t3 of i2)for(const e3 of this.pendingMutations.get(t3)??[])e3.abort();let n2,s2=false;for(const t3 of i2)try{t3.dispatchInvalidation(e2)}catch(t4){s2||(n2=t4),s2=true}if(s2)throw n2}#m(e2){return e2.isValid()&&this.#s[t[e2.kind]].get(e2.id)===e2}#p(e2,i2){const o2=t[e2];if(!this.states[o2].has(i2))return null;let u=this.#s[o2].get(i2);return u||(u="column"===e2?new n(i2,this):"columnGroup"===e2?new s(i2,this):new r(i2,this),this.#s[o2].set(i2,u)),u}#g(i2){return(e[`${i2.kind}:${i2.type}`]??[]).map((([e2,i3,n2])=>{const s2=new Map;for(const[i4,r2]of this.states[t[e2]])s2.set(i4,this.#b(r2,n2));return[e2,i3,n2,s2]}))}#v(e2,i2,n2){const s2={kind:e2.kind,id:e2.id,type:i2.eventType,source:"api",detail:i2},r2=[s2];for(const[e3,i3,o2,u]of n2){const n3=this.states[t[e3]];for(const[t2,h]of u){const u2=n3.get(t2);if(!u2)continue;const l=this.#b(u2,o2);Object.is(h,l)||"sort"===o2&&h?.direction===l?.direction&&h?.index===l?.index||e3===s2.kind&&Object.is(t2,s2.id)&&i3===s2.type||r2.push({kind:e3,id:t2,type:i3,source:"api",detail:{before:h,after:l}})}}return r2}#b(t2,e2){const i2=t2[e2];return"sort"!==e2||null===i2||"object"!=typeof i2?i2:{direction:i2.direction,index:i2.index}}#d(t2,e2){this.states[2]=t2,[this.#r,this.#o,this.#u]=this.#M(t2),this.#h=e2}#M(t2){const e2=[],i2=[];let n2=true,s2=Number.NEGATIVE_INFINITY,r2=true,o2=-1;for(const u2 of t2.values()){const t3=u2;null!==t3.sourceIndex&&(n2&&=t3.sourceIndex>=s2,s2=t3.sourceIndex,e2.push(t3)),null!==t3.displayIndex&&(r2&&=Number.isSafeInteger(t3.displayIndex)&&t3.displayIndex>=0,o2=Math.max(o2,t3.displayIndex),i2.push(t3))}n2||e2.sort(((t3,e3)=>(t3.sourceIndex??0)-(e3.sourceIndex??0)));const u=new Map;let h;const l=Math.max(1024,4*i2.length);if(r2&&o2<=l){const t3=new Array(o2+1);for(const e3 of i2){const i3=e3.displayIndex,n3=t3[i3];void 0===n3?(t3[i3]=e3.id,u.set(i3,e3.id)):Array.isArray(n3)?n3.push(e3.id):t3[i3]=[n3,e3.id]}h=[];for(const e3 of t3)void 0!==e3&&(Array.isArray(e3)?h.push(...e3):h.push(e3))}else i2.sort(((t3,e3)=>(t3.displayIndex??0)-(e3.displayIndex??0))),h=i2.map((t3=>(u.has(t3.displayIndex)||u.set(t3.displayIndex,t3.id),t3.id)));return[e2.map((t3=>t3.id)),h,u]}#f(t2,e2){const i2=("sourceIndex"===t2?this.#r:this.#o).map((t3=>this.getRow(t3))).filter(Boolean);for(const t3 of i2)e2(t3)}}export{o as GridLiveObjectModel};
@@ -0,0 +1 @@
1
+ const t=true,e=new Set(["top","bottom","left","right","float"]),i=new Set(["horizontal","vertical"]),o=new Set(["start","center","end"]),n=new Set(["top","middle","bottom"]);function a(t2){return{width:6.5*t2.length,height:12}}function h(t2){return Number.isFinite(t2)&&t2>0?t2:0}function r(t2,e2,i2,o2){return void 0===t2?e2:!Number.isFinite(t2)||t2<0?(o2.push(i2),e2):t2}function l(t2,e2,i2,o2){return void 0===t2?e2:Number.isFinite(t2)?t2:(o2.push(i2),e2)}function s(s2){const d=h(s2.outerWidth),g=h(s2.outerHeight),f=(function(t2){const e2=["top","right","bottom","left"],i2={top:0,right:0,bottom:0,left:0},o2=[];if(!t2)return{...i2,badSides:o2};for(const n2 of e2){const e3=t2[n2];void 0!==e3&&(Number.isFinite(e3)?i2[n2]=e3:o2.push(n2))}return{...i2,badSides:o2}})(s2.padding);f.badSides.length>0&&console.warn(`[Syidax] sy-legend: padding had non-finite value${1===f.badSides.length?"":"s"} for side${1===f.badSides.length?"":"s"} ${f.badSides.join(", ")}; coerced to 0.`);let u="bottom",y=false;void 0!==s2.position&&(e.has(s2.position)?u=s2.position:y=true),y&&console.warn("[Syidax] sy-legend: position outside {top, bottom, left, right, float}; coerced to bottom.");let w="float"===u?"vertical":(function(t2){return"top"===t2||"bottom"===t2?"horizontal":"vertical"})(u),p=false;void 0!==s2.direction&&(i.has(s2.direction)?w=s2.direction:p=true),p&&console.warn(`[Syidax] sy-legend: direction outside {horizontal, vertical}; coerced to ${w}.`);let m="center",x=false;void 0!==s2.align&&(o.has(s2.align)?m=s2.align:x=true),x&&console.warn("[Syidax] sy-legend: align outside {start, center, end}; coerced to center.");const b=[],M=r(s2.gap,12,"gap",b),S=r(s2.swatchSize,12,"swatchSize",b),R=r(s2.swatchLabelGap,4,"swatchLabelGap",b),v=r(s2.rowGap,4,"rowGap",b),G=r(s2.fontSize,12,"fontSize",b);b.length>0&&console.warn(`[Syidax] sy-legend: non-finite or invalid value${1===b.length?"":"s"} for ${b.join(", ")}; coerced to default${1===b.length?"":"s"}.`);const z=void 0===s2.wrap?t:Boolean(s2.wrap),O={fontSize:`${G}px`,fontWeight:s2.fontWeight??"normal",fontFamily:s2.fontFamily??"inherit",color:s2.color??"var(--sy-axis-color)"},W=Array.isArray(s2.items)?s2.items:[],$=W.reduce(((t2,e2)=>"string"!=typeof e2?.label||0===e2.label.trim().length?t2+1:t2),0);$>0&&console.warn(`[Syidax] sy-legend: dropped ${$} item(s) with empty label.`);const A=W.filter((t2=>"string"==typeof t2?.label&&t2.label.trim().length>0));if(0===A.length)return{legendRect:null,itemRects:[],remainingOuter:{x:0,y:0,width:d,height:g},style:O};const H=s2.measureLabel??a,L={value:false},N=A.map((t2=>(function(t3,e2,i2,o2,n2){let h2=0,r2=0;try{const e3=o2(t3);if(null!=e3&&Number.isFinite(e3.width)&&Number.isFinite(e3.height))h2=e3.width,r2=e3.height;else{n2.value=true;const e4=a(t3);h2=e4.width,r2=e4.height}}catch{n2.value=true;const e3=a(t3);h2=e3.width,r2=e3.height}return{labelWidth:h2,labelHeight:r2,boxWidth:e2+i2+h2,boxHeight:Math.max(e2,r2)}})(t2.label,S,R,H,L)));if(L.value&&console.warn("[Syidax] sy-legend: measureLabel threw or returned non-finite metrics; using heuristic estimate for affected item(s)."),0===d||0===g){const t2={x:0,y:0,width:0,height:0,swatchRect:{x:0,y:0,width:0,height:0},labelRect:{x:0,y:0,width:0,height:0}};return{legendRect:{x:0,y:0,width:0,height:0},itemRects:A.map((()=>t2)),remainingOuter:{x:0,y:0,width:0,height:0},style:O}}if("float"===u){let e2="end";void 0!==s2.floatAlign&&o.has(s2.floatAlign)&&(e2=s2.floatAlign);let i2="top";void 0!==s2.floatVerticalAlign&&n.has(s2.floatVerticalAlign)&&(i2=s2.floatVerticalAlign);const a2=[],h2=l(s2.floatOffsetX,0,"floatOffsetX",a2),r2=l(s2.floatOffsetY,0,"floatOffsetY",a2);a2.length>0&&console.warn(`[Syidax] sy-legend: non-finite value(s) for ${a2.join(", ")} (float); coerced to 0.`);const c2={background:"string"==typeof s2.floatBackground?s2.floatBackground:"rgba(255,255,255,0.85)",borderColor:"string"==typeof s2.floatBorderColor?s2.floatBorderColor:"#999999",borderWidth:"number"==typeof s2.floatBorderWidth&&Number.isFinite(s2.floatBorderWidth)&&s2.floatBorderWidth>=0?s2.floatBorderWidth:1,borderRadius:"number"==typeof s2.floatBorderRadius&&Number.isFinite(s2.floatBorderRadius)&&s2.floatBorderRadius>=0?s2.floatBorderRadius:4,boxShadow:"string"==typeof s2.floatBoxShadow?s2.floatBoxShadow:"0 1px 3px rgba(0,0,0,0.25)"};return(function(t2){const{items:e3,metrics:i3,outerWidth:o2,outerHeight:n2,padding:a3,gap:h3,swatchSize:r3,swatchLabelGap:l2,rowGap:s3,align:c3,wrap:d2,direction:g2,style:f2,floatAlign:u2,floatVerticalAlign:y2,floatOffsetX:w2,floatOffsetY:p2,floatBoxStyle:m2}=t2;function x2(t3,e4){let i4,a4;return i4="start"===u2?0:"end"===u2?o2-t3:(o2-t3)/2,a4="top"===y2?0:"bottom"===y2?n2-e4:(n2-e4)/2,i4+=w2,a4+=p2,i4=Math.max(0,Math.min(i4,Math.max(0,o2-t3))),a4=Math.max(0,Math.min(a4,Math.max(0,n2-e4))),{floatX:i4,floatY:a4}}if("vertical"===g2){const t3=i3.reduce(((t4,e4)=>Math.max(t4,e4.boxWidth)),0),h4=i3.reduce(((t4,e4)=>t4+e4.boxHeight),0)+Math.max(0,e3.length-1)*s3,d3=a3.left+t3+a3.right,g3=a3.top+h4+a3.bottom,{floatX:u3,floatY:y3}=x2(d3,g3),w3={x:u3,y:y3,width:d3,height:g3},p3=new Array(e3.length),b3=u3+a3.left,M3=Math.max(0,d3-a3.left-a3.right);let S3=y3+a3.top;for(let t4=0;t4<e3.length;t4++){const e4=i3[t4];let o3;o3="start"===c3?b3:"end"===c3?b3+M3-e4.boxWidth:b3+(M3-e4.boxWidth)/2,p3[t4]={x:o3,y:S3,width:e4.boxWidth,height:e4.boxHeight,swatchRect:{x:o3,y:S3+(e4.boxHeight-r3)/2,width:r3,height:r3},labelRect:{x:o3+r3+l2,y:S3+(e4.boxHeight-e4.labelHeight)/2,width:e4.labelWidth,height:e4.labelHeight}},S3+=e4.boxHeight+s3}return{legendRect:w3,itemRects:p3,remainingOuter:{x:0,y:0,width:o2,height:n2},style:f2,floatBoxStyle:m2}}const b2=Math.max(0,o2-a3.left-a3.right),M2=[];let S2={startIndex:0,itemCount:0,width:0,height:0};for(let t3=0;t3<e3.length;t3++){const e4=i3[t3],o3=0===S2.itemCount?e4.boxWidth:S2.width+h3+e4.boxWidth;d2&&S2.itemCount>0&&o3>b2?(M2.push(S2),S2={startIndex:t3,itemCount:1,width:e4.boxWidth,height:e4.boxHeight}):(S2.itemCount+=1,S2.width=o3,S2.height=Math.max(S2.height,e4.boxHeight),1===S2.itemCount&&(S2.startIndex=t3))}S2.itemCount>0&&M2.push(S2);const R2=M2.reduce(((t3,e4)=>Math.max(t3,e4.width)),0),v2=M2.reduce(((t3,e4)=>t3+e4.height),0)+Math.max(0,M2.length-1)*s3,G2=a3.left+R2+a3.right,z2=a3.top+v2+a3.bottom,{floatX:O2,floatY:W2}=x2(G2,z2),$2={x:O2,y:W2,width:G2,height:z2},A2=new Array(e3.length),H2=O2+a3.left,L2=Math.max(0,G2-a3.left-a3.right);let N2=W2+a3.top;for(let t3=0;t3<M2.length;t3++){const e4=M2[t3];let o3;o3="start"===c3?H2:"end"===c3?H2+L2-e4.width:M2.length>1?H2+L2/2-R2/2:H2+L2/2-e4.width/2;let n3=o3;for(let t4=0;t4<e4.itemCount;t4++){const o4=e4.startIndex+t4,a4=i3[o4];A2[o4]={x:n3,y:N2,width:a4.boxWidth,height:e4.height,swatchRect:{x:n3,y:N2+(e4.height-r3)/2,width:r3,height:r3},labelRect:{x:n3+r3+l2,y:N2+(e4.height-a4.labelHeight)/2,width:a4.labelWidth,height:a4.labelHeight}},n3+=a4.boxWidth+h3}N2+=e4.height+s3}return{legendRect:$2,itemRects:A2,remainingOuter:{x:0,y:0,width:o2,height:n2},style:f2,floatBoxStyle:m2}})({items:A,metrics:N,outerWidth:d,outerHeight:g,padding:f,gap:M,swatchSize:S,swatchLabelGap:R,rowGap:v,align:m,wrap:void 0===s2.wrap?t:Boolean(s2.wrap),direction:w,style:O,floatAlign:e2,floatVerticalAlign:i2,floatOffsetX:h2,floatOffsetY:r2,floatBoxStyle:c2})}return"horizontal"===w?(function(t2){const{items:e2,metrics:i2,outerWidth:o2,outerHeight:n2,padding:a2,gap:h2,swatchSize:r2,swatchLabelGap:l2,rowGap:s3,align:d2,position:g2,wrap:f2,style:u2}=t2,y2=Math.max(0,o2-a2.left-a2.right),w2=[];let p2={startIndex:0,itemCount:0,width:0,height:0};for(let t3=0;t3<e2.length;t3++){const e3=i2[t3],o3=0===p2.itemCount?e3.boxWidth:p2.width+h2+e3.boxWidth;f2&&p2.itemCount>0&&o3>y2?(w2.push(p2),p2={startIndex:t3,itemCount:1,width:e3.boxWidth,height:e3.boxHeight}):(p2.itemCount+=1,p2.width=o3,p2.height=Math.max(p2.height,e3.boxHeight),1===p2.itemCount&&(p2.startIndex=t3))}p2.itemCount>0&&w2.push(p2);const m2=w2.reduce(((t3,e3)=>Math.max(t3,e3.width)),0),x2=w2.reduce(((t3,e3)=>t3+e3.height),0)+Math.max(0,w2.length-1)*s3,b2=a2.left+m2+a2.right,M2=a2.top+x2+a2.bottom,S2=Math.max(b2,o2);let R2,v2,G2;R2="top"===g2?0:"bottom"===g2?n2-M2:0,"left"===g2?(v2=0,G2=b2):"right"===g2?(v2=o2-b2,G2=b2):(v2=0,G2=S2);const z2={x:v2,y:R2,width:G2,height:M2},O2=new Array(e2.length);let W2=R2+a2.top;for(let t3=0;t3<w2.length;t3++){const e3=w2[t3];let o3;const n3=v2+a2.left,c2="left"===g2||"right"===g2?Math.max(0,b2-a2.left-a2.right):Math.max(0,G2-a2.left-a2.right);o3="start"===d2?n3:"end"===d2?n3+c2-e3.width:w2.length>1?n3+c2/2-m2/2:n3+c2/2-e3.width/2;let f3=o3;for(let t4=0;t4<e3.itemCount;t4++){const o4=e3.startIndex+t4,n4=i2[o4];O2[o4]={x:f3,y:W2,width:n4.boxWidth,height:e3.height,swatchRect:{x:f3,y:W2+(e3.height-r2)/2,width:r2,height:r2},labelRect:{x:f3+r2+l2,y:W2+(e3.height-n4.labelHeight)/2,width:n4.labelWidth,height:n4.labelHeight}},f3+=n4.boxWidth+h2}W2+=e3.height+s3}return{legendRect:z2,itemRects:O2,remainingOuter:c(g2,o2,n2,b2,M2),style:u2}})({items:A,metrics:N,outerWidth:d,outerHeight:g,padding:f,gap:M,swatchSize:S,swatchLabelGap:R,rowGap:v,align:m,position:u,wrap:z,style:O}):(function(t2){const{items:e2,metrics:i2,outerWidth:o2,outerHeight:n2,padding:a2,swatchSize:h2,swatchLabelGap:r2,rowGap:l2,align:s3,position:d2,style:g2}=t2,f2=i2.reduce(((t3,e3)=>Math.max(t3,e3.boxWidth)),0),u2=i2.reduce(((t3,e3)=>t3+e3.boxHeight),0)+Math.max(0,e2.length-1)*l2,y2=a2.left+f2+a2.right,w2=a2.top+u2+a2.bottom;let p2,m2,x2,b2;"left"===d2?(p2=0,m2=0,x2=y2,b2=n2):"right"===d2?(p2=o2-y2,m2=0,x2=y2,b2=n2):"top"===d2?(p2=0,m2=0,x2=o2,b2=w2):(p2=0,m2=n2-w2,x2=o2,b2=w2);const M2={x:p2,y:m2,width:x2,height:b2},S2=new Array(e2.length),R2=m2+a2.top,v2="top"===d2||"bottom"===d2?Math.max(0,b2-a2.top-a2.bottom):Math.max(0,n2-a2.top-a2.bottom);let G2;G2="start"===s3?R2:"end"===s3?R2+v2-u2:R2+v2/2-u2/2;const z2=p2+a2.left;for(let t3=0;t3<e2.length;t3++){const e3=i2[t3];S2[t3]={x:z2,y:G2,width:e3.boxWidth,height:e3.boxHeight,swatchRect:{x:z2,y:G2+(e3.boxHeight-h2)/2,width:h2,height:h2},labelRect:{x:z2+h2+r2,y:G2+(e3.boxHeight-e3.labelHeight)/2,width:e3.labelWidth,height:e3.labelHeight}},G2+=e3.boxHeight+l2}return{legendRect:M2,itemRects:S2,remainingOuter:c(d2,o2,n2,y2,w2),style:g2}})({items:A,metrics:N,outerWidth:d,outerHeight:g,padding:f,swatchSize:S,swatchLabelGap:R,rowGap:v,align:m,position:u,style:O})}function c(t2,e2,i2,o2,n2){return"top"===t2?{x:0,y:n2,width:e2,height:Math.max(0,i2-n2)}:"bottom"===t2?{x:0,y:0,width:e2,height:Math.max(0,i2-n2)}:"left"===t2?{x:o2,y:0,width:Math.max(0,e2-o2),height:i2}:{x:0,y:0,width:Math.max(0,e2-o2),height:i2}}export{s as c};