@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{i as t,s as n,w as i,z as s,a as e,p as r,b as o,c as u,m as h,k as l,Z as c,d as f,e as a,f as d,g as m,h as p,W as x}from"./p-D6sPnRDQ.js";const y=Object.freeze({enabled:true,modifier:"shift",keyboard:true,stepFraction:.1}),v=Object.freeze({enabled:true,modifier:"ctrl",pan:true,factor:1.2,settleMs:250}),b=Object.freeze({enabled:false,mode:"x",drag:true,keyboard:true,minRangePx:8,resetButton:true,pan:y,wheel:v,pinch:true,inside:false}),k=["x","y","xy"],M=["shift","alt","none"],g=["ctrl","none"];function w(t2){return k.includes(t2)}function S(t2){return M.includes(t2)}function j(t2){return g.includes(t2)}function N(t2){return Boolean(t2)&&"object"==typeof t2&&!Array.isArray(t2)}function O(t2,n2){const i2=n2?"shift":"none";if(null==t2||true===t2)return{...y,modifier:i2};if(false===t2)return{...y,enabled:false,modifier:i2};if(S(t2))return{...y,modifier:t2};if(!N(t2))return{...y,modifier:i2};const s2=Number.isFinite(t2.stepFraction)&&t2.stepFraction>0&&t2.stepFraction<=1?t2.stepFraction:y.stepFraction;return{enabled:false!==t2.enabled,modifier:S(t2.modifier)?t2.modifier:i2,keyboard:false!==t2.keyboard,stepFraction:s2}}function P(t2){if(null==t2||true===t2)return{...v};if(false===t2)return{...v,enabled:false};if(j(t2))return{...v,modifier:t2};if(!N(t2))return{...v};const n2=Number.isFinite(t2.factor)&&t2.factor>1?t2.factor:v.factor,i2=Number.isFinite(t2.settleMs)&&t2.settleMs>=0?t2.settleMs:v.settleMs;return{enabled:false!==t2.enabled,modifier:j(t2.modifier)?t2.modifier:v.modifier,pan:false!==t2.pan,factor:n2,settleMs:i2}}function W(t2){if(null==t2||false===t2||"off"===t2||"auto"===t2||"false"===t2)return{...b};if(true===t2||"true"===t2)return{...b,enabled:true};if(w(t2))return{...b,enabled:true,mode:t2};if("inside"===t2)return W({mode:"x",inside:true});if(!N(t2))return{...b};const n2=Number.isFinite(t2.minRangePx)&&t2.minRangePx>0?t2.minRangePx:b.minRangePx,i2=true===t2.inside,s2=void 0===t2.drag?!i2:false!==t2.drag,e2=i2&&void 0===t2.wheel?"none":i2&&N(t2.wheel)&&void 0===t2.wheel.modifier?{...t2.wheel,modifier:"none"}:t2.wheel;return{enabled:false!==t2.enabled,mode:w(t2.mode)?t2.mode:b.mode,drag:s2,keyboard:false!==t2.keyboard,minRangePx:n2,resetButton:false!==t2.resetButton,pan:O(t2.pan,s2),wheel:P(e2),pinch:false!==t2.pinch,inside:i2}}class z{pointerId=null;start=null;active=false;get isActive(){return this.active}get isPending(){return null!==this.pointerId}begin(t2,n2,i2){return n2.x>=i2.x&&n2.x<=i2.x+i2.width&&n2.y>=i2.y&&n2.y<=i2.y+i2.height&&(this.pointerId=t2,this.start={x:n2.x,y:n2.y},this.active=false,true)}move(i2,s2,e2,r2,o2){if(this.pointerId!==i2||!this.start)return null;const u2=n(this.start,s2,e2,r2);if(!this.active){if(!t(u2,r2,o2))return null;this.active=true}return u2}end(i2,s2,e2,r2,o2){if(this.pointerId!==i2||!this.start)return null;const u2=this.active?n(this.start,s2,e2,r2):null;return this.cancel(),u2&&t(u2,r2,o2)?u2:null}cancel(){this.pointerId=null,this.start=null,this.active=false}}function B(t2){return t2.find((t3=>t3.axis.show))??t2[0]}function D(t2,n2){let i2;if(void 0===n2)i2=B(t2);else{const s2=String(n2);i2=t2.find((t3=>t3.key===s2)),!i2&&"number"==typeof n2&&Number.isInteger(n2)&&n2>=0&&n2<t2.length&&(i2=t2[n2])}if(i2?.linkedTo){const n3=t2.find((t3=>t3.key===i2.linkedTo));if(n3)return n3}return i2}function T(t2,n2,i2,s2){const e2={...t2?.[n2]??{}};return s2?e2[i2]=s2:delete e2[i2],(function(t3){const n3=t3.x&&Object.keys(t3.x).length>0?t3.x:void 0,i3=t3.y&&Object.keys(t3.y).length>0?t3.y:void 0;if(!n3&&!i3)return null;const s3={};return n3&&(s3.x=n3),i3&&(s3.y=i3),s3})({...t2??{},[n2]:e2})}function A(t2,n2,i2,s2=false){const r2=u(t2,n2,i2);return!s2&&e(r2,n2)?void 0:r2}function C(t2,n2){if(!n2||"locked"!==t2.aspect)return n2;const i2=(t3,n3)=>Object.entries(t3??{}).every((([t4,i3])=>{const s2=n3.find((n4=>n4.key===t4));return void 0!==s2&&e(i3,s2.fullExtent)}));return i2(n2.x,t2.xAxes)&&i2(n2.y,t2.yAxes)?null:n2}function R(t2,n2,i2){return h(t2.fullExtent,n2,i2.minRangePx)}function F(t2,n2,i2){if(n2=C(t2,n2),"locked"!==t2.aspect||!n2)return n2;const s2=B(t2.xAxes),e2=B(t2.yAxes);if(!s2||!e2)return n2;const r2=n2.x?.[s2.key],o2=n2.y?.[e2.key];if(!!r2==!!o2)return n2;const u2=r2??o2,h2=r2?s2:e2,l2=r2?e2:s2,c2=r2?"y":"x",f2=h2.fullExtent.max-h2.fullExtent.min,a2=l2.fullExtent.max-l2.fullExtent.min;if(!(f2>0&&a2>0))return n2;const d2=Math.min(a2,(u2.max-u2.min)/f2*a2),m2=(r2?i2?.y?.[e2.key]:i2?.x?.[s2.key])??l2.fullExtent;return T(n2,c2,l2.key,A(I((m2.min+m2.max)/2,d2,l2.fullExtent),l2.fullExtent,0))}function I(t2,n2,i2){let s2=t2-n2/2,e2=t2+n2/2;return s2<i2.min&&(e2+=i2.min-s2,s2=i2.min),e2>i2.max&&(s2-=e2-i2.max,e2=i2.max),{min:Math.max(s2,i2.min),max:e2}}function Z(t2,n2,i2,e2,r2){let o2=r2;const u2=(r3,u3,h2)=>{const l2=B(r3);if(!l2)return;const[c2,f2]=l2.scale.domain(),a2={min:Math.min(c2,f2),max:Math.max(c2,f2)},d2=R(l2,h2,n2),m2=s(a2,l2.fullExtent,i2,e2,d2);o2=T(o2,u3,l2.key,A(m2,l2.fullExtent,d2,"locked"===t2.aspect))};return"y"===n2.mode&&"locked"!==t2.aspect||u2(t2.xAxes,"x",t2.plot.width),"x"===n2.mode&&"locked"!==t2.aspect||u2(t2.yAxes,"y",t2.plot.height),F(t2,o2,r2)}function G(t2,n2,i2,s2){let o2=s2;const u2=(t3,n3,i3,s3)=>{if(void 0===s3||!Number.isFinite(s3)||0===s3)return;const u3=B(t3);if(!u3)return;const[h2,l2]=u3.scale.domain(),c2={min:Math.min(h2,l2),max:Math.max(h2,l2)};if(e(c2,u3.fullExtent))return;const[f2,a2]=u3.scale.range?.()??i3,d2=r(u3.scale,u3.fullExtent,f2,a2,s3);d2&&(o2=T(o2,n3,u3.key,A(d2,u3.fullExtent,0)))};return"y"!==n2.mode&&u2(t2.xAxes,"x",[t2.plot.x,t2.plot.x+t2.plot.width],i2.x),"x"!==n2.mode&&u2(t2.yAxes,"y",[t2.plot.y+t2.plot.height,t2.plot.y],i2.y),o2}function K(t2,n2,i2){const s2=B(t2.xAxes),e2=B(t2.yAxes),r2={zoom:n2,source:i2},o2=s2?n2?.x?.[s2.key]:void 0,u2=e2?n2?.y?.[e2.key]:void 0;return o2&&(r2.x={...o2}),u2&&(r2.y={...u2}),r2}function Q(t2,n2){if(t2===n2)return true;if(!t2||!n2)return false;const i2=(t3,n3)=>{const i3=Object.keys(t3??{}),s2=Object.keys(n3??{});return i3.length===s2.length&&i3.every((i4=>{const s3=t3[i4],e2=n3?.[i4];return!!e2&&s3.min===e2.min&&s3.max===e2.max}))};return i2(t2.x,n2.x)&&i2(t2.y,n2.y)}function U(t2,n2,i2,s2,e2,r2={}){let u2=e2;const h2=(i3,e3,r3,h3,l2,c2)=>{const f2=B(i3);if(!f2)return;const[a2,d2]=f2.scale.range?.()??r3,m2=R(f2,h3,n2),p2=o(f2.scale,f2.fullExtent,a2,d2,l2,s2,m2,c2??0);p2&&(u2=T(u2,e3,f2.key,A(p2,f2.fullExtent,m2,"locked"===t2.aspect)))};return"y"===n2.mode&&"locked"!==t2.aspect||h2(t2.xAxes,"x",[t2.plot.x,t2.plot.x+t2.plot.width],t2.plot.width,i2.x,r2.x),"x"===n2.mode&&"locked"!==t2.aspect||h2(t2.yAxes,"y",[t2.plot.y+t2.plot.height,t2.plot.y],t2.plot.height,i2.y,r2.y),F(t2,u2,e2)}function q(t2,n2){return Math.hypot(n2.x-t2.x,n2.y-t2.y)}function E(t2,n2){return{x:(t2.x+n2.x)/2,y:(t2.y+n2.y)/2}}function H(t2,n2){const i2=setTimeout(t2,n2);return()=>clearTimeout(i2)}function J(t2,n2){return t2.x>=n2.x&&t2.x<=n2.x+n2.width&&t2.y>=n2.y&&t2.y<=n2.y+n2.height}class L{static resetButtonStyle=Object.freeze({whiteSpace:"nowrap",width:"max-content",minWidth:"max-content"});host;drag=new z;pan=null;selectionShown=false;suppressClick=false;wheelSession=null;cancelWheelTimer=null;liveSession=null;pinch=null;touches=new Map;staleTouches=new Set;constructor(t2){this.host=t2}get isPending(){return this.drag.isPending||null!==this.pan||null!==this.pinch}get activeGesture(){return this.pinch?"pinch":this.pan?"pan":this.drag.isActive?"zoom":null}get isWheeling(){return null!==this.wheelSession}transition(t2,n2){this.flushWheel();const i2=this.host.state(),s2=this.liveSession?this.liveSession.startState:i2;if(this.liveSession=null,Q(i2,t2)||this.host.apply(t2),Q(s2,t2))return null;const e2=this.host.frame(),r2=e2?K(e2,t2,n2):{zoom:t2,source:n2};return this.host.emit(r2),r2}zoomTo(t2){const n2=this.host.frame();if(!n2)return null;const i2=t2??{},s2=(function(t3,n3,i3,s3){let e3=s3;const r2=(s4,r3,o2,u2,h2)=>{if(void 0===h2)return;const l2=D(s4,u2);if(!l2)return;if(null===h2)return void(e3=T(e3,r3,l2.key,"locked"===t3.aspect&&void 0!==n3.x&&void 0!==n3.y?{...l2.fullExtent}:void 0));const c2=(function(t4){if(null==t4)return;const n4=Array.isArray(t4)?[t4[0],t4[1]]:[t4.min,t4.max],[i4,s5]=n4;return"number"==typeof i4&&"number"==typeof s5&&Number.isFinite(i4)&&Number.isFinite(s5)?i4<=s5?{min:i4,max:s5}:{min:s5,max:i4}:void 0})(h2);c2&&(e3=T(e3,r3,l2.key,A(c2,l2.fullExtent,R(l2,o2,i3),"locked"===t3.aspect)))};if(r2(t3.xAxes,"x",t3.plot.width,n3.xAxis,n3.x),r2(t3.yAxes,"y",t3.plot.height,n3.yAxis,n3.y),"locked"===t3.aspect&&void 0===n3.x!=(void 0===n3.y)){const i4=B(t3.xAxes),s4=B(t3.yAxes);i4&&s4&&(e3=void 0===n3.x?T(e3,"x",i4.key,void 0):T(e3,"y",s4.key,void 0))}return F(t3,e3,s3)})(n2,i2,this.host.spec(),this.host.state());if(true===i2.live){this.flushWheel();const t3=this.host.state();return this.liveSession||(this.liveSession={startState:t3}),Q(t3,s2)||this.host.apply(s2),null}return this.transition(s2,"slider"===(e2=i2.source)||"sync"===e2?e2:"api");var e2}extent(t2={}){const n2=this.host.frame();if(!n2)return null;const i2={},s2=D(n2.xAxes,t2.xAxis),e2=D(n2.yAxes,t2.yAxis);return s2&&(i2.x={key:s2.key,min:Math.min(s2.fullExtent.min,s2.fullExtent.max),max:Math.max(s2.fullExtent.min,s2.fullExtent.max)}),e2&&(i2.y={key:e2.key,min:Math.min(e2.fullExtent.min,e2.fullExtent.max),max:Math.max(e2.fullExtent.min,e2.fullExtent.max)}),i2}zoomBy(t2,n2=.5){const i2=this.host.frame();return i2?this.transition(Z(i2,this.host.spec(),t2,n2,this.host.state()),"api"):null}panBy(t2){const n2=this.host.frame();return n2&&t2?this.transition((function(t3,n3,i2,s2){const e2=(t4,n4)=>{if(void 0===n4||!Number.isFinite(n4)||0===n4)return;const i3=B(t4);if(!i3)return;const[s3]=i3.scale.domain(),e3=i3.scale(s3+n4)-i3.scale(s3);return Number.isFinite(e3)?-e3:void 0};return G(t3,n3,{x:e2(t3.xAxes,i2.x),y:e2(t3.yAxes,i2.y)},s2)})(n2,this.host.spec(),t2,this.host.state()),"api"):null}reset(){return this.transition(null,"reset")}pointerDown(t2){const n2=this.host.spec();if(!n2.enabled||0!==(t2.button??0))return null;const i2=this.host.frame();if(!i2)return null;const s2={x:t2.x,y:t2.y};if(!J(s2,i2.plot))return null;if(this.flushWheel(),"touch"===t2.pointerType&&n2.pinch){if(this.pinch)return null;const n3=[...this.touches.entries()].find((([n4])=>n4!==t2.pointerId));if(n3)return this.touches.set(t2.pointerId,s2),this.beginPinch(n3[0],n3[1],t2.pointerId,s2),"pinch";this.touches.set(t2.pointerId,s2)}return this.drag.isPending||null!==this.pan?null:this.panApplies(n2,t2)?(this.pan={pointerId:t2.pointerId,last:s2,moved:false,startState:this.host.state()},"pan"):n2.drag&&this.drag.begin(t2.pointerId,s2,i2.plot)?"zoom":null}panApplies(t2,n2){return!!t2.pan.enabled&&null!==this.host.state()&&("shift"===t2.pan.modifier?true===n2.shiftKey:"alt"!==t2.pan.modifier||true===n2.altKey)}pointerMove(t2){if(this.pinch)return this.pinchMove(t2);if(this.staleTouches.has(t2.pointerId))return false;if(this.pan){if(this.pan.pointerId!==t2.pointerId)return false;const n3=t2.x-this.pan.last.x,i3=t2.y-this.pan.last.y;this.pan.last={x:t2.x,y:t2.y};const s3=this.host.frame();if(!s3)return true;const e2=this.host.spec(),r2=this.host.state(),o2=G(s3,e2,{x:"y"!==e2.mode?n3:void 0,y:"x"!==e2.mode?i3:void 0},r2);return Q(r2,o2)||(this.pan.moved||this.host.standDown(),this.pan.moved=true,this.host.apply(o2)),true}if(!this.drag.isPending)return false;const n2=this.host.frame();if(!n2)return false;const i2=this.host.spec(),s2=this.drag.move(t2.pointerId,{x:t2.x,y:t2.y},n2.plot,i2.mode,i2.minRangePx);return!!s2&&(this.selectionShown||(this.selectionShown=true,this.host.standDown()),this.host.selection(s2),true)}pointerUp(t2){if(this.touches.delete(t2.pointerId),this.pinch)return void(this.pinch.ids.includes(t2.pointerId)&&this.endPinch());if(this.staleTouches.delete(t2.pointerId))return;if(this.pan){if(this.pan.pointerId!==t2.pointerId)return;const{moved:n3,startState:i2}=this.pan;return this.pan=null,void(n3&&this.reportPan(i2))}if(!this.drag.isPending)return;const n2=this.host.frame(),s2=this.host.spec(),e2=this.drag.isActive,r2=n2?this.drag.end(t2.pointerId,{x:t2.x,y:t2.y},n2.plot,s2.mode,s2.minRangePx):null;n2||this.drag.cancel(),this.hideSelection(),e2&&(this.suppressClick=true),r2&&n2&&this.transition((function(t3,n3,s3,e3){const r3=B(t3.xAxes),o2=B(t3.yAxes);if(!r3||!o2)return e3;const u2=i(n3,s3.mode,r3.scale,o2.scale);let h2=e3;return u2.x&&(h2=T(h2,"x",r3.key,A(u2.x,r3.fullExtent,R(r3,t3.plot.width,s3),"locked"===t3.aspect))),u2.y&&(h2=T(h2,"y",o2.key,A(u2.y,o2.fullExtent,R(o2,t3.plot.height,s3),"locked"===t3.aspect))),"locked"!==t3.aspect?h2:"xy"===s3.mode?(function(t4,n4){if(n4=C(t4,n4),"locked"!==t4.aspect||!n4)return n4;const i2=B(t4.xAxes),s4=B(t4.yAxes);if(!i2||!s4)return n4;const e4=n4.x?.[i2.key],r4=n4.y?.[s4.key];if(!e4||!r4)return n4;const o3=i2.fullExtent.max-i2.fullExtent.min,u3=s4.fullExtent.max-s4.fullExtent.min;if(!(o3>0&&u3>0))return n4;const h3=(e4.max-e4.min)/o3,l2=(r4.max-r4.min)/u3;if(Math.abs(h3-l2)<=1e-12)return n4;const c2=h3<l2,f2=c2?i2:s4,a2=c2?e4:r4,d2=c2?o3:u3,m2=Math.min(d2,(c2?l2:h3)*d2);return C(t4,T(n4,c2?"x":"y",f2.key,A(I((a2.min+a2.max)/2,m2,f2.fullExtent),f2.fullExtent,0,true)))})(t3,h2):(h2="x"===s3.mode?T(h2,"y",o2.key,void 0):T(h2,"x",r3.key,void 0),F(t3,h2,e3))})(n2,r2,s2,this.host.state()),"drag")}pointerCancel(){if(this.pinch)this.endPinch();else if(this.pan){const{moved:t2,startState:n2}=this.pan;this.pan=null,t2&&this.reportPan(n2)}this.resetPointers()}resetPointers(){this.pinch=null,this.pan=null,this.drag.cancel(),this.hideSelection(),this.touches.clear(),this.staleTouches.clear()}reportPan(t2){this.suppressClick=true;const n2=this.host.frame(),i2=this.host.state();n2&&!Q(t2,i2)&&this.host.emit(K(n2,i2,"pan"))}beginPinch(t2,n2,i2,s2){const e2=this.pan?this.pan.startState:this.host.state();this.pan=null,this.drag.cancel(),this.hideSelection(),this.pinch={ids:[t2,i2],lastDistance:q(n2,s2),lastMid:E(n2,s2),moved:false,startState:e2},this.host.standDown()}pinchMove(t2){const n2=this.pinch;if(!n2||!n2.ids.includes(t2.pointerId))return true;this.touches.set(t2.pointerId,{x:t2.x,y:t2.y});const i2=this.touches.get(n2.ids[0]),s2=this.touches.get(n2.ids[1]);if(!i2||!s2)return true;const e2=q(i2,s2),r2=E(i2,s2),o2=this.host.frame();if(!o2)return true;const u2=this.host.spec(),h2=this.host.state(),l2=U(o2,u2,r2,e2>=1&&n2.lastDistance>=1?n2.lastDistance/e2:1,h2,{x:"y"!==u2.mode?r2.x-n2.lastMid.x:void 0,y:"x"!==u2.mode?r2.y-n2.lastMid.y:void 0});return Q(h2,l2)||(n2.moved=true,this.host.apply(l2)),n2.lastDistance=e2,n2.lastMid=r2,true}endPinch(){const t2=this.pinch;if(!t2)return;this.pinch=null;for(const n3 of t2.ids)this.touches.has(n3)&&this.staleTouches.add(n3);if(!t2.moved)return;this.suppressClick=true;const n2=this.host.frame(),i2=this.host.state();n2&&!Q(t2.startState,i2)&&this.host.emit(K(n2,i2,"pinch"))}hideSelection(){this.selectionShown&&(this.selectionShown=false,this.host.selection(null))}consumeSuppressedClick(){return!!this.suppressClick&&(this.suppressClick=false,true)}wantsKey(t2){const n2=this.host.spec();if(!n2.enabled)return false;if(n2.keyboard){const n3=d(t2);if(n3)return"reset"!==n3||null!==this.host.state()}return!!(n2.pan.enabled&&n2.pan.keyboard&&l(t2,n2.mode))&&null!==this.host.state()}keyDown(t2){const n2=this.host.spec();if(!n2.enabled)return false;if(this.flushWheel(),n2.keyboard){const i2=d(t2);if(i2){if("reset"===i2)this.reset();else{const t3=this.host.frame();t3&&this.transition(Z(t3,n2,"in"===i2?c:f,.5,this.host.state()),"keyboard")}return true}}if(n2.pan.enabled&&n2.pan.keyboard){const i2=l(t2,n2.mode);if(i2){const t3=this.host.frame();return t3&&null!==this.host.state()&&this.transition(G(t3,n2,(function(t4,n3,i3,s2){const e2=Number.isFinite(s2)&&s2>0?s2:.1;if("x"===n3)return{x:-i3*t4.plot.width*e2};const r2=B(t4.yAxes),[o2,u2]=r2?.scale.range?.()??[t4.plot.y+t4.plot.height,t4.plot.y];return{y:-i3*(Math.sign(u2-o2)||-1)*t4.plot.height*e2}})(t3,i2.axis,i2.direction,n2.pan.stepFraction),this.host.state()),"pan"),true}}return false}wheel(t2){const n2=this.host.spec();if(!n2.enabled||!n2.wheel.enabled||this.isPending)return false;const i2=this.host.frame();if(!i2)return false;const s2={x:t2.x,y:t2.y};if(!J(s2,i2.plot))return false;const e2=a(t2,n2.mode,n2.wheel.modifier,n2.wheel.pan);if(!e2)return false;const r2=this.host.state();let o2;if("pan"===e2.kind){if(null===r2)return false;const s3=p(e2.delta,t2.deltaMode,"x"===e2.axis?i2.plot.width:i2.plot.height);o2=G(i2,n2,"x"===e2.axis?{x:-s3}:{y:-s3},r2)}else{const u2=p(e2.delta,t2.deltaMode,x);o2=U(i2,n2,s2,m(u2,n2.wheel.factor),r2)}return Q(r2,o2)||(this.wheelSession||(this.wheelSession={startState:r2},this.host.standDown()),this.host.apply(o2)),this.wheelSession&&this.scheduleWheelSettle(n2.wheel.settleMs),true}flushWheel(){this.wheelSession&&this.settleWheel()}scheduleWheelSettle(t2){this.cancelWheelTimer?.(),this.cancelWheelTimer=null,t2>0?this.cancelWheelTimer=(this.host.schedule??H)((()=>{this.cancelWheelTimer=null,this.settleWheel()}),t2):this.settleWheel()}settleWheel(){this.cancelWheelTimer?.(),this.cancelWheelTimer=null;const t2=this.wheelSession;if(!t2)return;this.wheelSession=null;const n2=this.host.frame(),i2=this.host.state();n2&&!Q(t2.startState,i2)&&this.host.emit(K(n2,i2,"wheel"))}cancelWheel(){this.cancelWheelTimer?.(),this.cancelWheelTimer=null,this.wheelSession=null}dispose(){this.resetPointers(),this.cancelWheel(),this.liveSession=null,this.suppressClick=false}}export{L as Z,W as r};
@@ -0,0 +1 @@
1
+ function t(t2,n2,o2,r2,e2,s,i){const c=Math.min(o2.x+o2.width,Math.max(o2.x,t2)),a=Math.min(o2.y+o2.height,Math.max(o2.y,n2));if("off"===i)return{cssX:c,cssY:a};if("nearest"===i){if(0===s.length)return{cssX:c,cssY:a};let t3=s[0],n3=Number.POSITIVE_INFINITY;for(const o3 of s){const r3=o3.cssX-c,e3=o3.cssY-a,s2=r3*r3+e3*e3;s2<n3&&(n3=s2,t3=o3)}return{cssX:t3.cssX,cssY:t3.cssY,index:t3.index}}if(0===e2.length)return{cssX:c,cssY:a};const u="x"===r2?t2:n2;let f=e2[0];for(const t3 of e2)Math.abs(t3.pos-u)<Math.abs(f.pos-u)&&(f=t3);return"x"===r2?{cssX:f.pos,cssY:a,index:f.index}:{cssX:c,cssY:f.pos,index:f.index}}function n(t2){const n2=t2.labels.length;if(0===n2)return{visible:[],rotationDeg:0};const r2=t2.mode??"auto",s=Number.isFinite(t2.rotationDeg)?Math.max(0,t2.rotationDeg):0,i=n3=>(s>n3.rotationDeg&&(n3.rotationDeg=s),(function(t3,n4){if(!n4||n4<=0)return t3;const o2=t3.visible.map(((t4,n5)=>t4?n5:-1)).filter((t4=>t4>=0));if(o2.length<=n4)return t3;const r3=Math.ceil(o2.length/n4),e2=new Set(o2.filter(((t4,n5)=>n5%r3==0)));return{visible:t3.visible.map(((t4,n5)=>t4&&e2.has(n5))),rotationDeg:t3.rotationDeg}})(n3,t2.maxCount));if("none"===r2)return{visible:new Array(n2).fill(false),rotationDeg:0};if("all"===r2)return i({visible:new Array(n2).fill(true),rotationDeg:s});const c=t2.orientation??"bottom",a=t2.gap??6,u=(function(t3){const n3=[];for(let r3=0;r3<t3.labels.length;r3++){const e2=t3.centers[r3];if(!Number.isFinite(e2))continue;const s2=t3.labels[r3]??"",i2=o(s2,t3.measure);n3.push({index:r3,label:s2,center:e2,width:i2,height:12})}return n3})(t2);return i(e("thin"===r2?{count:n2,labels:u,orientation:c,rotationDeg:s,gap:a}:"rotate"===r2?{count:n2,labels:u,orientation:c,rotationDeg:Math.max(45,s),gap:a}:{count:n2,labels:u,orientation:c,rotationDeg:s,gap:a}))}function o(t2,n2){if(n2)try{const o2=n2(t2);if(Number.isFinite(o2)&&o2>=0)return o2}catch{}return 6.5*t2.length}function r(t2,n2,o2){const r2=Math.max(0,Math.min(90,o2))*Math.PI/180,e2=Math.cos(r2),s=Math.sin(r2);return"top"===n2||"bottom"===n2?t2.width*e2+t2.height*s:t2.width*s+t2.height*e2}function e(t2){const n2=new Array(t2.count).fill(false),o2=Number.isFinite(t2.gap)&&t2.gap>0?t2.gap:0,e2=[...t2.labels].sort(((t3,n3)=>t3.center-n3.center||t3.index-n3.index));let s=null;for(const i of e2){const e3=r(i,t2.orientation,t2.rotationDeg)/2;null!==s&&i.center-s.center-(s.half+e3)<o2||(n2[i.index]=true,s={center:i.center,half:e3})}return{visible:n2,rotationDeg:t2.rotationDeg}}export{n as r,t as s};
@@ -0,0 +1 @@
1
+ function n(n2,t2,u,e){return n2||(t2?("function"==typeof u?.getElementById?u.getElementById(t2):null)??("function"==typeof e?.getElementById?e.getElementById(t2):null)??null:null)}async function t(n2){n2.getZoomExtent||"undefined"!=typeof customElements&&n2.localName.includes("-")&&await customElements.whenDefined(n2.localName)}export{n as r,t as w};
@@ -0,0 +1 @@
1
+ import{C as e}from"./p-C374wsaF.js";import{c as t,e as n,a as o,b as r}from"./p-HAy9hTj2.js";const s={s:"engine-swap",p:"pro-only",o:"standard-only"};function i(){const e2="area ~ fs,bar ~ fs,bar-3d = pp,box-plot ~ pp,bubble ~ fs,calendar-heatmap = pp,candlestick ~ pp,chord = pp,column ~ fs,dendrogram = pp,density-map = pp,dot-plot ~ fo,dumbbell ~ fo,error-bar ~ pp,flow-lines = pp geo-map,funnel ~ fo,gantt ~ pp,gauge ~ fo,geo-map = pp,heatmap = pp,histogram ~ fs,icicle = pp,item ~ fo,line ~ fs,lollipop ~ fo,marimekko ~ fo,network-graph = pp,ohlc ~ pp candlestick,parallel-coordinates = pp,pareto ~ fo,pictorial ~ fo,pie ~ fo,polar ~ fs,pyramid sy-funnel-chart fo funnel,radar ~ fo,sankey = pp,scatter ~ fs,scatter-3d = pp,spectrogram = pp,stem-leaf ~ fo,sunburst = pp,surface-3d = pp,theme-river = pp,tilemap = fo,tornado ~ fo,treemap = pp,variwide ~ fo,wafer-map = fo,waterfall ~ pp,word-cloud = fo".split(",").map((e3=>e3.split(" "))),n2=Object.create(null),o2=Object.create(null);for(const[t2,r3,s2]of e2)n2[t2]="~"===r3?`sy-${t2}-chart`:"="===r3?`sy-${t2}`:r3,o2[t2]="p"===s2[0]?"pro":"free";const r2=Object.create(null);for(const[i2,,a2,...c2]of e2){const e3=o2[i2],u2=s[a2[1]],f2=t(i2),p2=[n2[i2]],l2="pro"===e3?[f2]:[];for(const e4 of c2){p2.includes(n2[e4])||p2.push(n2[e4]);const r3=t(e4);"pro"!==o2[e4]||l2.includes(r3)||l2.push(r3)}const d2="pro-only"!==u2,m2="standard-only"!==u2;r2[i2]=Object.freeze({type:i2,tag:n2[i2],requires:Object.freeze(p2),tier:e3,feature:f2,licenseFeature:"pro"===e3?f2:null,requiredFeatures:Object.freeze(l2),engineClass:u2,standardRenderer:d2,webgpuRenderer:m2,gpuFailure:m2?d2?"standard-fallback":"unavailable":"no-gpu-path"})}return Object.freeze(r2)}function a(e2){const t2=Object.create(null);for(const o2 of Object.keys(e2))t2[n2=e2[o2].tag,n2.toLowerCase().split("-").map((e3=>e3.charAt(0).toUpperCase()+e3.slice(1))).join("")]=e2[o2].tag;var n2;return Object.freeze(t2)}const c=i(),u=a(c);function f(e2){return"string"==typeof(t2=e2)&&Object.prototype.hasOwnProperty.call(c,t2)?c[e2]:void 0;var t2}function p(e2){const t2="string"==typeof e2?e2:String(e2);return t2.length>64?`${t2.slice(0,63)}…`:t2}function l(e2){try{return(t2="object"==typeof e2&&null!==e2&&"string"==typeof e2.message?e2.message||"unknown reason":String(e2)).length>300?`${t2.slice(0,299)}…`:t2}catch{return"unknown reason"}var t2}function d(e2,t2,n2,o2,r2={}){const s2={type:e2,status:n2,attempt:o2};return t2&&(s2.tag=t2.tag),void 0!==r2.entitlement&&(s2.entitlement=r2.entitlement),void 0!==r2.reason&&(s2.reason=r2.reason),Object.freeze(s2)}class m extends Error{code;detail;constructor(e2,t2){super((function(e3){const t3=`"${e3.type}"`,n2=e3.tag?`<${e3.tag}>`:"the chart element";switch(e3.status){case"unknown-type":return`${t3} is not a chart type.`;case"unsupported-environment":return"no-license-context"===e3.reason?`The ${t3} chart needs a document to confirm its Chart Pro license.`:`Custom elements are not available here, so the ${t3} chart cannot be drawn.`;case"license-pending":return`The Chart Pro license for the ${t3} chart is still being confirmed.`;case"license-required":return`The ${t3} chart needs a valid Chart Pro license (state: ${e3.entitlement??"none"}).`;case"module-missing":return`${n2} is not in the loaded package, so the ${t3} chart cannot be drawn.`;case"out-of-scope":return`${n2} is not loaded. Register the ${t3} chart type or import its element.`;case"load-failed":return`Loading ${n2} failed (${e3.reason??"unknown reason"}).`;default:return`The ${t3} chart is ${e3.status}.`}})(e2),t2&&void 0!==t2.cause?{cause:t2.cause}:void 0),this.name="ChartLoadError",this.code=e2.status,this.detail=e2}}function h(e2){return"object"==typeof e2&&null!==e2&&"ChartLoadError"===e2.name&&"string"==typeof e2.code&&"object"==typeof e2.detail&&null!==e2.detail&&e2.detail.status===e2.code}const y=Symbol.for("syidax.chart.type-loaders/v1");function b(){const e2=globalThis,t2=e2[y];if("object"==typeof(n2=t2)&&null!==n2&&n2.loaders instanceof Map&&n2.inflight instanceof Map&&n2.listeners instanceof Set)return t2;var n2;const o2={loaders:new Map,inflight:new Map,listeners:new Set,build:null};return Object.defineProperty(e2,y,{value:o2,configurable:true,writable:true,enumerable:false}),o2}function w(e2){const t2=globalThis.reportError;"function"==typeof t2?t2(e2):"undefined"!=typeof console&&console.error(e2)}const g=/^[a-z][a-z0-9]*(?:-[a-z0-9]+)+$/;function v(e2){const t2=e2;if("object"!=typeof t2||null===t2)throw new TypeError("registerChartTypes: every entry must be a chart type module object.");const n2=f(t2.type);if(!n2)throw new TypeError(`registerChartTypes: "${p(t2.type)}" is not a chart type.`);const o2=t2.tags;if(!Array.isArray(o2)||0===o2.length||!o2.every((e3=>"string"==typeof e3&&g.test(e3))))throw new TypeError(`registerChartTypes: the "${n2.type}" module needs a non-empty tags array of custom element names.`);if(!o2.includes(n2.tag))throw new TypeError(`registerChartTypes: the "${n2.type}" module must define <${n2.tag}>.`);const r2=o2.filter((e3=>!n2.requires.includes(e3)));if(r2.length>0)throw new TypeError(`registerChartTypes: the "${n2.type}" module lists tags the type does not use: ${r2.join(", ")}.`);const s2=t2.load;if("function"!=typeof s2)throw new TypeError(`registerChartTypes: the "${n2.type}" module needs a load() function.`);const i2=(function(e3){if(void 0===e3)return;const t3=e3;if("object"!=typeof t3||null===t3||"community"!==t3.tier&&"pro"!==t3.tier||!Array.isArray(t3.types)||!t3.types.every((e4=>"string"==typeof e4)))throw new TypeError('registerChartTypes: `build` must be { tier: "community" | "pro", types: string[] }.');return Object.freeze({tier:t3.tier,types:Object.freeze([...t3.types])})})(t2.build),a2={type:n2.type,tags:Object.freeze([...new Set(o2)]),load:()=>s2.call(t2),...i2?{build:i2}:{}};return Object.freeze(a2)}function T(e2,t2={}){if(null==e2||"function"!=typeof e2[Symbol.iterator])throw new TypeError("registerChartTypes: pass an iterable of chart type modules.");const n2=[...e2].map(v),o2=b(),r2=true===t2?.replace;let s2=false;for(const e3 of n2)!r2&&o2.loaders.has(e3.type)||(o2.loaders.set(e3.type,e3),e3.build&&(null===o2.build||r2)&&(o2.build=e3.build),s2=true);if(s2)for(const e3 of[...o2.listeners])try{e3()}catch(e4){w(e4)}}function $(e2){return"string"==typeof e2&&b().loaders.has(e2)}function j(e2){if("function"!=typeof e2)throw new TypeError("onChartTypesRegistered needs a listener function.");const t2=b();return t2.listeners.add(e2),()=>{t2.listeners.delete(e2)}}function C(e2){return"number"==typeof e2&&Number.isInteger(e2)&&e2>0?e2:1}function O(e2){const t2=e2??globalThis.customElements;return t2&&"function"==typeof t2.get?t2:void 0}function E(e2){if(e2)return e2;const t2=globalThis.document;return t2?.documentElement??void 0}function k(e2,t2){return e2.requires.filter((e3=>!t2.get(e3)))}function x(e2){let t2=false;for(const n2 of e2)if("valid"!==n2){if("pending"!==n2)return n2;t2=true}return t2?"pending":"valid"}function M(e2,t2){for(const n2 of e2.loaders.values())if(n2.tags.includes(t2))return n2}function P(e2,t2,n2){const o2=n2.loaders.get(e2.type),r2=new Set,s2=new Map,i2=[];for(const e3 of t2){const t3=n2.inflight.get(e3);if(t3){r2.add(t3);continue}const a2=o2&&o2.tags.includes(e3)?o2:M(n2,e3)??o2;if(!a2){i2.push(e3);continue}const c2=s2.get(a2);c2?c2.push(e3):s2.set(a2,[e3])}return{joined:[...r2],groups:s2,unprovided:i2}}function S(t2,n2,o2){return n2.build?n2.build.types.includes(t2.type)?"out-of-scope":"module-missing":"community"===(o2??e)&&"pro"===t2.tier?"module-missing":"out-of-scope"}function q(e2){return"module-missing"===e2?"not-in-build":"no-loader"}function A(e2,t2,o2){for(const r2 of t2)if(n(e2,r2).state===o2)return r2;return t2[0]}function F(e2,t2={}){const o2=C(t2.attempt),r2=f(e2),s2=p(e2);if(!r2)return d(s2,void 0,"unknown-type",o2,{reason:"not-a-chart-type"});const i2=O(t2.registry);if(!i2)return d(s2,r2,"unsupported-environment",o2,{reason:"no-custom-elements"});let a2;if(r2.requiredFeatures.length>0){const e3=E(t2.host);if(!e3)return d(s2,r2,"unsupported-environment",o2,{reason:"no-license-context"});if(a2=x(r2.requiredFeatures.map((t3=>n(e3,t3).state))),"pending"===a2)return d(s2,r2,"license-pending",o2,{entitlement:a2});if("valid"!==a2)return d(s2,r2,"license-required",o2,{entitlement:a2})}const c2=k(r2,i2);if(0===c2.length)return d(s2,r2,"ready",o2,{entitlement:a2});const u2=b();if(P(r2,c2,u2).unprovided.length>0){const e3=S(r2,u2,t2.buildTier);return d(s2,r2,e3,o2,{entitlement:a2,reason:q(e3)})}return d(s2,r2,"loading",o2,{entitlement:a2})}function R(e2){return void 0!==e2.reason?e2.reason:"function"==typeof DOMException?new DOMException("The chart type load was aborted.","AbortError"):new Error("The chart type load was aborted.")}function z(e2,t2){return t2?t2.aborted?(e2.catch((()=>{})),Promise.reject(R(t2))):new Promise(((n2,o2)=>{const r2=()=>o2(R(t2));t2.addEventListener("abort",r2,{once:true}),e2.then((e3=>{t2.removeEventListener("abort",r2),n2(e3)}),(e3=>{t2.removeEventListener("abort",r2),o2(e3)}))})):e2}function L(e2,t2,n2){const o2=Promise.resolve().then((()=>t2.load())).then((()=>{}));for(const t3 of n2)e2.inflight.set(t3,o2);const r2=()=>{for(const t3 of n2)e2.inflight.get(t3)===o2&&e2.inflight.delete(t3)};return o2.then(r2,r2),o2}function D(e2,t2){if("function"==typeof e2.onProgress)try{e2.onProgress(t2)}catch(e3){w(e3)}}async function N(e2,t2={}){const s2=C(t2.attempt),i2=t2.signal;if(i2?.aborted)throw R(i2);const a2=f(e2),c2=p(e2);if(!a2)throw new m(d(c2,void 0,"unknown-type",s2,{reason:"not-a-chart-type"}));const u2=O(t2.registry);if(!u2)throw new m(d(c2,a2,"unsupported-environment",s2,{reason:"no-custom-elements"}));let h2;if(a2.requiredFeatures.length>0){const e3=E(t2.host);if(!e3)throw new m(d(c2,a2,"unsupported-environment",s2,{reason:"no-license-context"}));const u3=a2.requiredFeatures;if(h2=x(u3.map((t3=>n(e3,t3).state))),"pending"===h2){D(t2,d(c2,a2,"license-pending",s2,{entitlement:h2}));const n2=t2.settleTimeoutMs,r2="number"==typeof n2&&Number.isFinite(n2)&&n2>=0?{timeoutMs:n2}:void 0;h2=x((await z(Promise.all(u3.map((t3=>o(e3,t3,r2)))),i2)).map((e4=>e4.state)))}if("pending"===h2)throw new m(d(c2,a2,"license-pending",s2,{entitlement:h2,reason:"license-not-settled"}));if("valid"!==h2){const n2=t2.host?r(t2.host,{feature:A(e3,u3,h2),state:h2},{method:"type"}):void 0;throw new m(d(c2,a2,"license-required",s2,{entitlement:h2}),{cause:n2})}}const y2=k(a2,u2);if(0===y2.length)return d(c2,a2,"ready",s2,{entitlement:h2});const w2=b(),g2=P(a2,y2,w2);if(g2.unprovided.length>0){const e3=S(a2,w2,t2.buildTier),n2="module-missing"===e3&&t2.host&&a2.licenseFeature?r(t2.host,{feature:a2.licenseFeature,state:"valid"},{method:"type",code:"module-missing"}):void 0;throw new m(d(c2,a2,e3,s2,{entitlement:h2,reason:q(e3)}),{cause:n2})}D(t2,d(c2,a2,"loading",s2,{entitlement:h2}));const v2=[...g2.joined];for(const[e3,t3]of g2.groups)v2.push(L(w2,e3,t3));try{await z(Promise.all(v2),i2)}catch(e3){if(i2?.aborted)throw R(i2);throw new m(d(c2,a2,"load-failed",s2,{entitlement:h2,reason:l(e3)}),{cause:e3})}const T2=k(a2,u2);if(T2.length>0)throw new m(d(c2,a2,"load-failed",s2,{entitlement:h2,reason:`module-loaded-but-undefined: ${T2.join(", ")}`}));return d(c2,a2,"ready",s2,{entitlement:h2})}export{m as C,u as a,f as c,N as e,$ as h,h as i,j as o,F as p,T as r};
@@ -0,0 +1 @@
1
+ import{a as e}from"./p-CMRCw_kT.js";import"./p-DChj4qx2.js";import"./p-DUELYDa7.js";import"./p-AzDRbG7D.js";const l=[{type:"equals",label:"Equals",needsValue:true,needsValue2:false},{type:"notEquals",label:"Not equals",needsValue:true,needsValue2:false},{type:"greaterThan",label:"Greater than",needsValue:true,needsValue2:false},{type:"greaterThanOrEqual",label:"Greater than or equal",needsValue:true,needsValue2:false},{type:"lessThan",label:"Less than",needsValue:true,needsValue2:false},{type:"lessThanOrEqual",label:"Less than or equal",needsValue:true,needsValue2:false},{type:"between",label:"Between",needsValue:true,needsValue2:true},{type:"contains",label:"Contains",needsValue:true,needsValue2:false},{type:"notContains",label:"Not contains",needsValue:true,needsValue2:false},{type:"startsWith",label:"Starts with",needsValue:true,needsValue2:false},{type:"endsWith",label:"Ends with",needsValue:true,needsValue2:false},{type:"blank",label:"Is blank",needsValue:false,needsValue2:false},{type:"notBlank",label:"Is not blank",needsValue:false,needsValue2:false}],n=new Map(l.map((e2=>[e2.type,e2])));function t(e2){return n.get(e2)??l[0]}function a(e2){return{field:e2,type:"greaterThan",value:"",value2:"",backgroundColor:"#fde68a",color:"",bold:false}}function s(e2){if(void 0===e2||""===e2)return"";const l2=Number(e2);return""!==e2.trim()&&Number.isFinite(l2)?l2:e2}function o(l2){const n2=t(l2.type);if(n2.needsValue&&(void 0===l2.value||""===l2.value))return null;if(n2.needsValue2&&(void 0===l2.value2||""===l2.value2))return null;const a2={};if(e(l2.backgroundColor)&&(a2.backgroundColor=l2.backgroundColor),e(l2.color)&&(a2.color=l2.color),true===l2.bold&&(a2.fontWeight="bold"),0===Object.keys(a2).length)return null;const o2={type:l2.type};n2.needsValue&&(o2.value=s(l2.value)),n2.needsValue2&&(o2.value2=s(l2.value2));const u2={condition:o2,style:a2};return void 0!==l2.field&&""!==l2.field&&(u2.field=l2.field),u2}function u(e2){e2.cfBuilderOpen||(e2.cfDraftRules=(e2.conditionalFormats??[]).map((e3=>({field:e3.field,type:e3.condition.type,value:null==e3.condition.value?"":String(e3.condition.value),value2:null==e3.condition.value2?"":String(e3.condition.value2),backgroundColor:e3.style.backgroundColor??"",color:e3.style.color??"",bold:"bold"===e3.style.fontWeight}))),0===e2.cfDraftRules.length&&(e2.cfDraftRules=[a(e2.resolvedColumnDefs()[0]?.field)])),e2.cfBuilderOpen=!e2.cfBuilderOpen}function r(e2){const l2=(function(e3){const l3=[];for(const n2 of e3){const e4=o(n2);null!==e4&&l3.push(e4)}return l3})(e2.cfDraftRules);e2.conditionalFormats=l2,e2.conditionalFormatsChanged.emit({rules:l2})}function d(e2,l2,n2){e2.cfDraftRules=(function(e3,l3,n3){if(l3<0||l3>=e3.length)return e3.slice();const t2=e3.slice();return t2[l3]={...t2[l3],...n3},t2})(e2.cfDraftRules,l2,n2),r(e2)}function i(e2,n2){if(!e2.cfBuilderOpen)return null;const s2=e2.resolvedColumnDefs().filter((e3=>"string"==typeof e3.field&&""!==e3.field));return n2("div",{class:"sy-grid__cf-builder",role:"dialog","aria-label":"Conditional formatting",style:{position:"fixed",top:"60px",right:"24px",zIndex:"2100"},onMouseDown:e3=>e3.stopPropagation()},n2("div",{class:"sy-grid__cf-builder-head"},n2("span",{class:"sy-grid__cf-builder-title"},"조건부 서식"),n2("button",{type:"button",class:"sy-grid__cf-builder-close","aria-label":"Close",onClick:()=>u(e2)},"✕")),n2("div",{class:"sy-grid__cf-builder-rules"},e2.cfDraftRules.map(((a2,o2)=>{const u2=t(a2.type);return n2("div",{class:"sy-grid__cf-rule",key:`cf-rule-${o2}`,"data-cf-rule":o2},n2("select",{class:"sy-grid__cf-field","data-cf-field":true,onChange:l2=>d(e2,o2,{field:l2.target.value||void 0})},n2("option",{value:"",selected:void 0===a2.field||""===a2.field},"모든 열"),s2.map((e3=>n2("option",{value:e3.field,key:e3.field,selected:a2.field===e3.field},e3.headerName??e3.field)))),n2("select",{class:"sy-grid__cf-condition","data-cf-condition":true,onChange:l2=>d(e2,o2,{type:l2.target.value})},l.map((e3=>n2("option",{value:e3.type,key:e3.type,selected:a2.type===e3.type},e3.label)))),u2.needsValue&&n2("input",{class:"sy-grid__cf-value","data-cf-value":true,type:"text",value:a2.value??"",placeholder:"값",onInput:l2=>d(e2,o2,{value:l2.target.value})}),u2.needsValue2&&n2("input",{class:"sy-grid__cf-value2","data-cf-value2":true,type:"text",value:a2.value2??"",placeholder:"~",onInput:l2=>d(e2,o2,{value2:l2.target.value})}),n2("input",{class:"sy-grid__cf-bg","data-cf-bg":true,type:"color","aria-label":"배경색",value:a2.backgroundColor||"#fde68a",onInput:l2=>d(e2,o2,{backgroundColor:l2.target.value})}),n2("label",{class:"sy-grid__cf-bold"},n2("input",{type:"checkbox","data-cf-bold":true,checked:true===a2.bold,onChange:l2=>d(e2,o2,{bold:l2.target.checked})}),"B"),n2("button",{type:"button",class:"sy-grid__cf-remove","aria-label":"Remove rule",onClick:()=>(function(e3,l2){e3.cfDraftRules=(function(e4,l3){return l3<0||l3>=e4.length?e4.slice():e4.slice(0,l3).concat(e4.slice(l3+1))})(e3.cfDraftRules,l2),r(e3)})(e2,o2)},"✕"))}))),n2("button",{type:"button",class:"sy-grid__cf-add","data-cf-add":true,onClick:()=>{e2.cfDraftRules=[...e2.cfDraftRules,a(e2.resolvedColumnDefs()[0]?.field)]}},"+ 규칙 추가"))}export{i as renderConditionalFormatBuilder,u as toggleCfBuilder};
@@ -0,0 +1 @@
1
+ const t=["linear","time","category","log"];function o(t2){return Boolean(t2)&&"object"==typeof t2&&!Array.isArray(t2)}const n={kind:"linear",show:true,position:"bottom"},r={kind:"linear",show:true,position:"left"},i={show:true,mode:"single",openMode:"single",trigger:"hover",offset:8,interactive:false,hideOnLeave:true,connector:{show:false},draggable:false},e={show:false,mode:"vertical",snap:"nearest"},u={x:true,y:true};function f(o2,n2={}){const r2={kind:(i2=n2.kind,t.includes(i2)?n2.kind:o2.kind),show:void 0===n2.show?o2.show:false!==n2.show,position:n2.position??o2.position,label:"string"==typeof n2.label?n2.label:void 0,min:Number.isFinite(n2.min)?n2.min:void 0,max:Number.isFinite(n2.max)?n2.max:void 0,tickCount:Number.isFinite(n2.tickCount)&&n2.tickCount>0?Math.floor(n2.tickCount):void 0,format:"function"==typeof n2.format?n2.format:void 0};var i2;const e2=n2.id??o2.id;void 0!==e2&&(r2.id=e2),Array.isArray(n2.categories)&&(r2.categories=n2.categories.slice());const u2=n2.linkedTo;return("string"==typeof u2&&u2.length>0||"number"==typeof u2&&Number.isFinite(u2))&&(r2.linkedTo=u2),true===n2.reversed&&(r2.reversed=true),r2}function s(t2,i2){const e2="x"===i2?n:r;return null==t2||"auto"===t2?f(e2):"off"===t2||false===t2?f({...e2,show:false}):true===t2?f({...e2,show:true}):o(t2)?f(e2,t2):f(e2)}function c(t2,o2){return t2<=1?0===t2?"left":"right":"left"===o2||"right"===o2?o2:t2%2==0?"left":"right"}function a(t2){return null==t2||false===t2||"off"===t2}function d(t2,o2=0){return String(t2?.id??o2)}function l(t2){return String(t2?.yAxis??t2?.yAxisIndex??0)}function h(t2){return String(t2?.xAxis??t2?.xAxisIndex??0)}function v(t2,o2){return"top"===o2||"bottom"===o2?o2:t2%2==0?"bottom":"top"}function y(t2,n2){const r2=(function(t3){const n3=Array.isArray(t3)&&t3.length>0,r3=Array.isArray(t3)?t3:[t3];return(r3.length>0?r3:[void 0]).map(((t4,r4)=>{const i3=s(n3&&a(t4)?"off":t4,"x"),e2=o(t4)?t4.position:void 0;return{...i3,id:i3.id??r4,position:v(r4,e2)}}))})(t2),i2=(function(t3){const n3=Array.isArray(t3)&&t3.length>0,r3=Array.isArray(t3)?t3:[t3];return(r3.length>0?r3:[void 0]).map(((t4,r4)=>{const i3=s(n3&&a(t4)?"off":t4,"y"),e2=o(t4)?t4.position:void 0;return{...i3,id:i3.id??r4,position:c(r4,e2)}}))})(n2);return{x:r2.find((t3=>t3.show))??r2[0],y:i2.find((t3=>t3.show))??i2[0],xAxes:r2,yAxes:i2}}function p(t2){if(null==t2||"auto"===t2||true===t2)return{...i};if("off"===t2||false===t2)return{...i,show:false};if(!o(t2))return{...i};const n2=t2,r2=o(n2.style)?Object.fromEntries(Object.entries(n2.style).filter((([,t3])=>"string"==typeof t3||"number"==typeof t3))):void 0,e2=t3=>"string"==typeof t3||Number.isFinite(t3)&&t3>=0?t3:void 0,u2=(function(t3){if(true===t3)return{show:true};if(null==t3||false===t3||!o(t3))return{show:false};const n3=t3;return{show:true===n3.show,color:"string"==typeof n3.color?n3.color:void 0,width:Number.isFinite(n3.width)&&n3.width>0?n3.width:void 0,dash:Array.isArray(n3.dash)?n3.dash.slice():void 0}})(n2.connector);return{show:false!==n2.show,mode:n2.mode??i.mode,openMode:(f2=n2.openMode,"multiple"===f2?"multiple":i.openMode),trigger:(t3=>"click"===t3||"hover-click"===t3||"hover"===t3?t3:i.trigger)(n2.trigger),side:n2.side,offset:Number.isFinite(n2.offset)&&n2.offset>=0?n2.offset:i.offset,format:"function"==typeof n2.format?n2.format:void 0,html:"function"==typeof n2.html?n2.html:void 0,className:"string"==typeof n2.className?n2.className:void 0,style:r2,width:e2(n2.width),minWidth:e2(n2.minWidth),maxWidth:e2(n2.maxWidth),padding:e2(n2.padding),interactive:true===n2.interactive,hideOnLeave:false!==n2.hideOnLeave,connector:u2,draggable:true===n2.draggable};var f2}function g(t2){if(null==(t2=(function(t3){if("string"!=typeof t3)return t3;const n3=t3.trim();if(!n3.startsWith("{"))return true;try{const t4=JSON.parse(n3);if(o(t4))return t4}catch{}return true})(t2))||false===t2)return{...e,show:false};if(true===t2)return{...e,show:true};if(!o(t2))return{...e};const n2=t2;return{show:false!==n2.show,mode:n2.mode??e.mode,snap:n2.snap??e.snap,color:"string"==typeof n2.color?n2.color:void 0,dash:Array.isArray(n2.dash)?n2.dash.slice():void 0}}function m(t2){if(null==t2||"auto"===t2||true===t2)return{...u};if("off"===t2||false===t2)return{x:false,y:false};if(!o(t2))return{...u};const n2=t2;return{x:false!==n2.x,y:false!==n2.y,color:"string"==typeof n2.color?n2.color:void 0,dash:Array.isArray(n2.dash)?n2.dash.slice():void 0}}export{y as a,g as b,d as c,m as d,h as e,l as f,p as r};
@@ -0,0 +1 @@
1
+ class t extends Error{code;phase;componentKind;componentName;mountKey;generation;retryable;cause;constructor(t2,s){super(t2),this.name="GridComponentError",this.code=s.code,this.phase=s.phase,this.componentKind=s.componentKind,this.componentName=s.componentName,this.mountKey=s.mountKey,this.generation=s.generation,this.retryable=s.retryable,this.cause=s.cause}}export{t as G};
@@ -0,0 +1 @@
1
+ function t(t2,n2){const{plot:r2}=t2,e2="number"==typeof n2?.dataX&&Number.isFinite(n2.dataX),i2="number"==typeof n2?.dataY&&Number.isFinite(n2.dataY);if(!e2&&!i2)return null;const o2=e2?t2.xScale(n2.dataX):r2.x+r2.width/2,s2=i2?t2.yScale(n2.dataY):r2.y+r2.height/2;return Number.isFinite(o2)&&Number.isFinite(s2)?o2<r2.x-1||o2>r2.x+r2.width+1||s2<r2.y-1||s2>r2.y+r2.height+1?null:{cssX:Math.min(r2.x+r2.width,Math.max(r2.x,o2)),cssY:Math.min(r2.y+r2.height,Math.max(r2.y,s2))}:null}const n="system-ui, sans-serif",r=new WeakMap;function e(t2){const n2=new Map;let e2=-1,i2=-1;return{clear:()=>n2.clear(),get(o2){const s2=(function(t3){const n3=t3?.fonts;if(!n3)return 0;let e3=r.get(n3);if(!e3){e3={value:0},r.set(n3,e3);const t4=e3,i3=()=>{t4.value++};n3.addEventListener?.("loadingdone",i3),n3.addEventListener?.("loadingerror",i3)}return e3.value})(t2),u2=t2?.fonts?.size??0;return s2===e2&&u2===i2&&"loading"!==t2?.fonts?.status||n2.clear(),e2=s2,i2=u2,n2.get(o2)},set(r2,e3){"loading"!==t2?.fonts?.status&&(n2.size>2e3&&n2.clear(),n2.set(r2,e3))}}}const i=(t2,n2)=>({width:Math.max(.6*n2,t2.length*n2*.6),height:n2});function o(t2=n,r2="undefined"!=typeof document?document:void 0){let o2;const s2=e(r2);return Object.assign(((n2,e2)=>{if(void 0===o2)try{o2=r2?.createElement("canvas").getContext("2d")??null}catch{o2=null}if(!o2)return i(n2,e2);const u2=`${e2}|${n2}`;let c2=s2.get(u2);return void 0===c2&&(o2.font=`${e2}px ${t2}`,c2=o2.measureText(n2).width,s2.set(u2,c2)),{width:c2,height:e2}}),{clear:s2.clear,dispose:()=>{s2.clear(),o2=void 0}})}const s="http://www.w3.org/2000/svg";function u(t2=n,r2="undefined"!=typeof document?document:void 0,u2=()=>true){const c2=o(t2,r2);if(!r2||"function"!=typeof r2.createElementNS)return c2;const l2=e(r2);let a2=null,h2=null;return Object.assign(((n2,e2)=>{if(!u2())return i(n2,e2);const o2=`${e2}|${n2}`,f2=l2.get(o2);if(void 0!==f2)return{width:f2,height:e2};const d2=(()=>{if(a2&&a2.isConnected)return a2;const t3=r2.createElementNS(s,"svg");t3.setAttribute("aria-hidden","true"),t3.setAttribute("data-sy-chart-text-measurer",""),t3.setAttribute("style","position:absolute;left:-9999px;top:-9999px;width:0;height:0;overflow:hidden;visibility:hidden;pointer-events:none");const n3=r2.createElementNS(s,"text");t3.appendChild(n3);const e3=r2.body??r2.documentElement;return e3?(e3.appendChild(t3),h2=t3,a2=n3,n3):null})();if(!d2||"function"!=typeof d2.getComputedTextLength)return c2(n2,e2);d2.setAttribute("style",`font-size:${e2}px;font-family:${t2}`),d2.textContent=n2;const p2=d2.getComputedTextLength();return!Number.isFinite(p2)||p2<0?c2(n2,e2):(l2.set(o2,p2),{width:p2,height:e2})}),{clear:()=>{l2.clear(),c2.clear()},dispose:()=>{l2.clear(),c2.dispose(),h2?.remove(),h2=null,a2=null}})}const c=(t2,n2,r2)=>{const{points:e2,plot:i2}=t2;if(e2.length<2)return[];const o2=(function(t3,n3,r3,e3){const i3=n3.x-t3.x,o3=n3.y-t3.y;if(0===i3&&0===o3)return null;if("none"===e3)return{x1:t3.x,y1:t3.y,x2:n3.x,y2:n3.y};let s2=Number.NEGATIVE_INFINITY,u2=Number.POSITIVE_INFINITY;const c2=(t4,n4,r4,e4)=>{if(0===t4)return e4>=n4&&e4<=r4;const i4=(n4-e4)/t4,o4=(r4-e4)/t4;return s2=Math.max(s2,Math.min(i4,o4)),u2=Math.min(u2,Math.max(i4,o4)),true};if(!c2(i3,r3.x,r3.x+r3.width,t3.x))return null;if(!c2(o3,r3.y,r3.y+r3.height,t3.y))return null;if(!Number.isFinite(s2)||!Number.isFinite(u2)||u2<s2)return null;const l2="both"===e3?s2:0;return u2<=l2?null:{x1:t3.x+l2*i3,y1:t3.y+l2*o3,x2:t3.x+u2*i3,y2:t3.y+u2*o3}})(e2[0],e2[1],i2,n2);return o2?[{kind:"line",...o2,role:r2}]:[]},l={tool:"segment",anchors:2,placement:"drag",render:t2=>c(t2,"none","segment")},a={tool:"trend-line",anchors:2,placement:"drag",render:t2=>{const n2=(function(t3,n3="none"){return"ray"===t3||"both"===t3||"none"===t3?t3:n3})(t2.drawing.options?.extend);return c(t2,n2,"none"===n2?"trend-line":"ray"===n2?"ray":"extended-line")}},h={tool:"ray",anchors:2,placement:"drag",render:t2=>c(t2,"ray","ray")},f={tool:"extended-line",anchors:2,placement:"drag",render:t2=>c(t2,"both","extended-line")};function d(t2){return Number.isFinite(t2)?Number.isInteger(t2)?String(t2):String(Math.round(100*t2)/100):""}function p(t2,n2){const r2=t2.drawing.options??{},e2=t2.drawing.anchors[0],i2=[];return"string"==typeof r2.label&&""!==r2.label&&i2.push(r2.label),true===r2.showValue&&e2&&i2.push(d(e2[n2])),i2.filter((t3=>""!==t3)).join(" · ")}const y=(t2,n2,r2)=>{const e2=p(t2,"y");return""===e2?[]:[{kind:"text",x:n2-4,y:r2-4>=t2.plot.y+12?r2-4:r2+4+12,text:e2,anchor:"end",baseline:"auto",role:"label"}]},g=(t2,n2)=>{const r2=p(t2,"x");if(""===r2)return[];const e2=n2+4+7*r2.length<=t2.plot.x+t2.plot.width;return[{kind:"text",x:e2?n2+4:n2-4,y:t2.plot.y+4,text:r2,anchor:e2?"start":"end",baseline:"hanging",role:"label"}]},m=(t2,n2)=>t2>=n2.y&&t2<=n2.y+n2.height,x=(t2,n2)=>t2>=n2.x&&t2<=n2.x+n2.width,b={tool:"horizontal-line",anchors:1,placement:"click",render:t2=>{const{points:n2,plot:r2}=t2;if(n2.length<1||!m(n2[0].y,r2))return[];const e2=n2[0].y;return[{kind:"line",x1:r2.x,y1:e2,x2:r2.x+r2.width,y2:e2,role:"horizontal-line"},...y(t2,r2.x+r2.width,e2)]}},M={tool:"horizontal-ray",anchors:1,placement:"click",render:t2=>{const{points:n2,plot:r2}=t2;if(n2.length<1||!m(n2[0].y,r2))return[];const{x:e2,y:i2}=n2[0],o2=r2.x+r2.width;return e2>=o2?[]:[{kind:"line",x1:Math.max(r2.x,e2),y1:i2,x2:o2,y2:i2,role:"horizontal-ray"},...y(t2,o2,i2)]}},w={tool:"vertical-line",anchors:1,placement:"click",render:t2=>{const{points:n2,plot:r2}=t2;if(n2.length<1||!x(n2[0].x,r2))return[];const e2=n2[0].x;return[{kind:"line",x1:e2,y1:r2.y,x2:e2,y2:r2.y+r2.height,role:"vertical-line"},...g(t2,e2)]}},v={tool:"cross-line",anchors:1,placement:"click",render:t2=>{const{points:n2,plot:r2}=t2;if(n2.length<1)return[];const{x:e2,y:i2}=n2[0],o2=[];m(i2,r2)&&o2.push({kind:"line",x1:r2.x,y1:i2,x2:r2.x+r2.width,y2:i2,role:"cross-line-h"}),x(e2,r2)&&o2.push({kind:"line",x1:e2,y1:r2.y,x2:e2,y2:r2.y+r2.height,role:"cross-line-v"});const s2=p(t2,"y");return o2.length>0&&""!==s2&&o2.push({kind:"text",x:e2+4,y:i2-4,text:s2,anchor:"start",baseline:"auto",role:"label"}),o2}};function k(t2,n2){const r2=Math.min(t2.x,n2.x),e2=Math.min(t2.y,n2.y),i2=Math.abs(t2.x-n2.x),o2=Math.abs(t2.y-n2.y);return 0===i2||0===o2?null:{x:r2,y:e2,width:i2,height:o2}}const N={tool:"rectangle",anchors:2,placement:"drag",render:t2=>{const{points:n2,plot:r2,drawing:e2}=t2;if(n2.length<2)return[];const i2=k(n2[0],n2[1]);if(!i2)return[];if(i2.x+i2.width<r2.x||i2.x>r2.x+r2.width||i2.y+i2.height<r2.y||i2.y>r2.y+r2.height)return[];const o2=[{kind:"rect",...i2,role:"rectangle"}],s2="string"==typeof e2.options?.label?e2.options.label:"";return""!==s2&&o2.push({kind:"text",x:Math.max(i2.x,r2.x)+4,y:Math.max(i2.y,r2.y)+4,text:s2,anchor:"start",baseline:"hanging",role:"label"}),o2}},$=Object.freeze([0,.236,.382,.5,.618,.786,1]);function A(t2,n2,r2){const e2=String(Math.round(1e3*t2)/1e3);return r2?`${e2} · ${d(n2)}`:e2}const S={tool:"fib-retracement",anchors:2,placement:"drag",render:t2=>{const{points:n2,plot:r2,drawing:e2}=t2;if(n2.length<2)return[];const[o2,s2]=n2;if(o2.y===s2.y)return[];const u2=e2.options??{},c2=(function(t3,n3=$){const r3=Array.isArray(t3)?t3:"string"==typeof t3?t3.split(","):null;if(!r3)return[...n3];const e3=r3.map((t4=>"number"==typeof t4?t4:Number(String(t4).trim()))).filter((t4=>Number.isFinite(t4))),i2=[...new Set(e3)].sort(((t4,n4)=>t4-n4));return i2.length>0?i2:[...n3]})(u2.levels),l2="left"===(a2=u2.extend)||"right"===a2||"both"===a2?a2:"none";var a2;const h2=false!==u2.showValues,f2="left"===l2||"both"===l2?r2.x:Math.min(o2.x,s2.x),d2="right"===l2||"both"===l2?r2.x+r2.width:Math.max(o2.x,s2.x);if(d2<=f2)return[];const p2=e2.anchors[0]?.y??0,y2=e2.anchors[1]?.y??0,g2=t3=>o2.y+t3*(s2.y-o2.y),m2=t3=>p2+t3*(y2-p2),x2=[];for(let t3=1;t3<c2.length;t3+=1){const n3=g2(c2[t3-1]),r3=g2(c2[t3]);x2.push({kind:"polyline",closed:true,points:[{x:f2,y:n3},{x:d2,y:n3},{x:d2,y:r3},{x:f2,y:r3}],role:"fib-band"})}const b2=t2.measureText??i;let M2;for(const n3 of c2){const r3=g2(n3);if(x2.push({kind:"line",x1:f2,y1:r3,x2:d2,y2:r3,role:"fib-level"}),void 0!==M2&&Math.abs(r3-M2)<O)continue;M2=r3;const e3=A(n3,m2(n3),h2),i2=b2(e3,t2.style.fontSize);x2.push({kind:"text",x:f2+4,y:r3-4,text:e3,anchor:"start",baseline:"auto",role:"label",width:i2.width,height:i2.height})}return x2}},O=12,j={tool:"text",anchors:1,placement:"click",render:t2=>{const n2=(function(t3){const{points:n3,drawing:r3,style:e3}=t3;if(n3.length<1)return null;const o3=r3.options??{},s3=("string"==typeof o3.text?o3.text:"Text").split("\n"),u3=t3.measureText??i,c3=e3.fontSize,l3=1.25*c3,a3="number"==typeof o3.padding&&Number.isFinite(o3.padding)&&o3.padding>=0?o3.padding:4,h3=Math.max(...s3.map((t4=>u3(t4,c3).width)))+2*a3,f2=s3.length*l3+2*a3,d2="middle"===(p2=o3.align)||"end"===p2?p2:"start";var p2;const y2=(t4=>"middle"===t4||"bottom"===t4?t4:"top")(o3.valign),g2=o3.offset&&"object"==typeof o3.offset?o3.offset:{},m2="number"==typeof g2.x&&Number.isFinite(g2.x)?g2.x:0,x2="number"==typeof g2.y&&Number.isFinite(g2.y)?g2.y:0,b2=n3[0].x+m2,M2=n3[0].y+x2;let w2="start"===d2?b2:"middle"===d2?b2-h3/2:b2-h3,v2="top"===y2?M2:"middle"===y2?M2-f2/2:M2-f2;if(false!==o3.clamp){const{plot:n4}=t3;h3<=n4.width&&(w2=Math.max(n4.x,Math.min(w2,n4.x+n4.width-h3))),f2<=n4.height&&(v2=Math.max(n4.y,Math.min(v2,n4.y+n4.height-f2)))}return{box:{x:w2,y:v2,width:h3,height:f2},lines:s3,lineHeight:l3,padding:a3,align:d2}})(t2);if(!n2)return[];const{box:r2,lines:e2,lineHeight:o2,padding:s2,align:u2}=n2,c2=(t2.drawing.options??{}).background,l2=false===c2?{fillOpacity:0,width:0}:{fill:"string"==typeof c2&&""!==c2?c2:"var(--sy-drawing-annotation-bg, #ffffff)",fillOpacity:.92,width:1,dash:"solid"},a2=[{kind:"rect",...r2,role:"text-box",style:l2}],h2="start"===u2?r2.x+s2:"middle"===u2?r2.x+r2.width/2:r2.x+r2.width-s2;return e2.forEach(((t3,n3)=>{a2.push({kind:"text",x:h2,y:r2.y+s2+n3*o2,text:t3,anchor:u2,baseline:"hanging",role:"text"})})),a2}};function z(t2,n2,r2=10){const e2=n2.x-t2.x,i2=n2.y-t2.y,o2=Math.hypot(e2,i2);if(0===o2)return null;const s2=e2/o2,u2=i2/o2,c2={x:n2.x-s2*r2,y:n2.y-u2*r2},l2=.6*r2/2;return{tip:n2,base:c2,corners:[{x:c2.x-u2*l2,y:c2.y+s2*l2},{x:c2.x+u2*l2,y:c2.y-s2*l2}]}}const D={tool:"arrow",anchors:2,placement:"drag",render:t2=>{const{points:n2,drawing:r2,style:e2}=t2;if(n2.length<2)return[];const[i2,o2]=n2;if(i2.x===o2.x&&i2.y===o2.y)return[];const s2=r2.options??{},u2="start"===(c2=s2.head)||"both"===c2?c2:"end";var c2;const l2="number"==typeof s2.headSize&&Number.isFinite(s2.headSize)&&s2.headSize>=2?s2.headSize:10,a2={fill:e2.color,fillOpacity:1,width:1,dash:"solid"},h2=[];let f2=i2,d2=o2;if("end"===u2||"both"===u2){const t3=z(i2,o2,l2);t3&&(d2=t3.base,h2.push({kind:"polyline",closed:true,points:[t3.tip,t3.corners[0],t3.corners[1]],role:"arrow-head",style:a2}))}if("start"===u2||"both"===u2){const t3=z(o2,i2,l2);t3&&(f2=t3.base,h2.push({kind:"polyline",closed:true,points:[t3.tip,t3.corners[0],t3.corners[1]],role:"arrow-head",style:a2}))}h2.unshift({kind:"line",x1:f2.x,y1:f2.y,x2:d2.x,y2:d2.y,role:"arrow-shaft"});const p2="string"==typeof s2.label?s2.label:"";if(""!==p2){const n3=(t3=>"start"===t3||"end"===t3?t3:"middle")(s2.labelAt),e3="start"===n3?i2:"end"===n3?o2:{x:(i2.x+o2.x)/2,y:(i2.y+o2.y)/2},u3=Math.hypot(o2.x-i2.x,o2.y-i2.y);let c3=0,l3=-1;u3>1e-6&&(c3=-(o2.y-i2.y)/u3,l3=(o2.x-i2.x)/u3,l3>0&&(c3=-c3,l3=-l3));const a3={text:p2,align:"middle",valign:"bottom",offset:{x:6*c3,y:6*l3},background:s2.labelBackground??true,clamp:false!==s2.clamp};h2.push(...j.render({...t2,points:[e3],drawing:{...r2,options:a3}}))}return h2}};function I(t2,n2,r2,e2,i2=64){const o2=[];for(let s2=0;s2<i2;s2+=1){const u2=s2/i2*Math.PI*2;o2.push({x:t2+Math.cos(u2)*r2,y:n2+Math.sin(u2)*e2})}return o2}const C=(t2,n2)=>{const r2=t2.drawing.options??{},e2="string"==typeof r2.label?r2.label:"";if(""===e2)return[];const i2={text:e2,align:"middle",valign:"middle",background:r2.labelBackground??false,clamp:false!==r2.clamp};return j.render({...t2,points:[n2],drawing:{...t2.drawing,options:i2}})},P=Object.freeze([l,a,h,f,b,M,w,v,N,S,{tool:"free-hand",anchors:{min:2},placement:"free",render:({points:t2})=>t2.length<2?[]:[{kind:"polyline",points:[...t2],role:"free-hand"}]},j,D,{tool:"ellipse",anchors:2,placement:"drag",render:t2=>{const{points:n2}=t2;if(n2.length<2)return[];const r2=k(n2[0],n2[1]);if(!r2)return[];const e2=r2.x+r2.width/2,i2=r2.y+r2.height/2;return[{kind:"polyline",closed:true,points:I(e2,i2,r2.width/2,r2.height/2),role:"ellipse"},...C(t2,{x:e2,y:i2})]}},{tool:"circle",anchors:2,placement:"drag",render:t2=>{const{points:n2}=t2;if(n2.length<2)return[];const[r2,e2]=n2,i2=Math.hypot(e2.x-r2.x,e2.y-r2.y);return 0===i2?[]:[{kind:"polyline",closed:true,points:I(r2.x,r2.y,i2,i2),role:"circle"},...C(t2,r2)]}},{tool:"polygon",anchors:{min:3},placement:"poly",render:t2=>{const{points:n2}=t2;if(n2.length<2)return[];if(2===n2.length)return[{kind:"line",x1:n2[0].x,y1:n2[0].y,x2:n2[1].x,y2:n2[1].y,role:"polygon"}];const r2=(function(t3){if(0===t3.length)return null;const n3=t3.reduce(((t4,n4)=>({x:t4.x+n4.x,y:t4.y+n4.y})),{x:0,y:0}),r3={x:n3.x/t3.length,y:n3.y/t3.length};if(t3.length<3)return r3;let e2=0,i2=0,o2=0;for(let n4=0,r4=t3.length-1;n4<t3.length;r4=n4,n4+=1){const s3=t3[r4].x*t3[n4].y-t3[n4].x*t3[r4].y;e2+=s3,i2+=(t3[r4].x+t3[n4].x)*s3,o2+=(t3[r4].y+t3[n4].y)*s3}if(Math.abs(e2)<1e-9)return r3;const s2={x:i2/(3*e2),y:o2/(3*e2)};if((function(t4,n4){let r4=false;for(let e3=0,i3=t4.length-1;e3<t4.length;i3=e3,e3+=1){const o3=t4[e3],s3=t4[i3];o3.y>n4.y!=s3.y>n4.y&&n4.x<(s3.x-o3.x)*(n4.y-o3.y)/(s3.y-o3.y)+o3.x&&(r4=!r4)}return r4})(t3,s2))return s2;const u2=[];for(let n4=0,r4=t3.length-1;n4<t3.length;r4=n4,n4+=1){const e3=t3[n4],i3=t3[r4];e3.y>s2.y!=i3.y>s2.y&&u2.push((i3.x-e3.x)*(s2.y-e3.y)/(i3.y-e3.y)+e3.x)}u2.sort(((t4,n4)=>t4-n4));let c2=null;for(let t4=0;t4+1<u2.length;t4+=2)(!c2||u2[t4+1]-u2[t4]>c2.x1-c2.x0)&&(c2={x0:u2[t4],x1:u2[t4+1]});return c2?{x:(c2.x0+c2.x1)/2,y:s2.y}:s2})(n2);return[{kind:"polyline",closed:true,points:[...n2],role:"polygon"},...r2?C(t2,r2):[]]}}]),F=Object.freeze({drawings:[],seed:0}),T=["solid","dashed","dotted"];function q(t2){return Boolean(t2)&&"object"==typeof t2&&!Array.isArray(t2)}const U=t2=>{if("number"==typeof t2)return Number.isFinite(t2)?t2:null;if(t2 instanceof Date||"string"==typeof t2){const n2=new Date(t2).getTime();return Number.isFinite(n2)?n2:null}return null};function B(t2){if(Array.isArray(t2)){if(t2.length<2)return null;const n3=U(t2[0]),r3="number"==typeof t2[1]&&Number.isFinite(t2[1])?t2[1]:null;return null===n3||null===r3?null:{x:n3,y:r3}}if(!q(t2))return null;const n2=U(t2.x),r2="number"==typeof t2.y&&Number.isFinite(t2.y)?t2.y:null;return null===n2||null===r2?null:{x:n2,y:r2}}function E(t2,n2){if(!q(t2)||"string"!=typeof t2.tool||""===t2.tool)return null;if(!Array.isArray(t2.anchors)||0===t2.anchors.length)return null;const r2=[];for(const n3 of t2.anchors){const t3=B(n3);if(!t3)return null;r2.push(t3)}const e2=et(t2.tool);if(e2&&!(function(t3,n3){return"number"==typeof t3.anchors?n3===t3.anchors:n3>=t3.anchors.min&&(void 0===t3.anchors.max||n3<=t3.anchors.max)})(e2,r2.length))return null;const i2=(function(t3){if(!q(t3))return;const n3={};return"string"==typeof t3.color&&""!==t3.color&&(n3.color=t3.color),"number"==typeof t3.width&&Number.isFinite(t3.width)&&t3.width>=0&&(n3.width=t3.width),T.includes(t3.dash)&&(n3.dash=t3.dash),"number"==typeof t3.opacity&&Number.isFinite(t3.opacity)&&(n3.opacity=Math.min(1,Math.max(0,t3.opacity))),"string"==typeof t3.fill&&""!==t3.fill&&(n3.fill=t3.fill),"number"==typeof t3.fillOpacity&&Number.isFinite(t3.fillOpacity)&&(n3.fillOpacity=Math.min(1,Math.max(0,t3.fillOpacity))),"number"==typeof t3.fontSize&&Number.isFinite(t3.fontSize)&&t3.fontSize>0&&(n3.fontSize=t3.fontSize),Object.keys(n3).length>0?n3:void 0})(t2.style);return{id:n2,tool:t2.tool,anchors:r2,space:"pixel"===t2.space?"pixel":"data",visible:false!==t2.visible,...true===t2.locked?{locked:true}:{},...i2?{style:i2}:{},...q(t2.options)?{options:{...t2.options}}:{},...q(t2.meta)?{meta:{...t2.meta}}:{}}}const H=t2=>`drawing-${t2}`;function J(t2,n2){switch(n2.type){case"add":{const r2="string"==typeof n2.drawing?.id&&""!==n2.drawing.id,e2=r2?t2.seed:t2.seed+1,i2=r2?n2.drawing.id:H(e2),o2=E(n2.drawing,i2);if(!o2)return t2;const s2=t2.drawings.findIndex((t3=>t3.id===i2));return{seed:e2,drawings:-1===s2?[...t2.drawings,o2]:t2.drawings.map(((t3,n3)=>n3===s2?o2:t3))}}case"update":{let r2=false;const e2=t2.drawings.map((t3=>{if(t3.id!==n2.id)return t3;const e3=E({...t3,...n2.patch,id:t3.id},t3.id);return e3?(r2=true,e3):t3}));return r2?{...t2,drawings:e2}:t2}case"move":{if(!Number.isFinite(n2.dx)||!Number.isFinite(n2.dy)||0===n2.dx&&0===n2.dy)return t2;let r2=false;const e2=t2.drawings.map((t3=>t3.id!==n2.id||t3.locked?t3:(r2=true,{...t3,anchors:t3.anchors.map((t4=>({x:t4.x+n2.dx,y:t4.y+n2.dy})))})));return r2?{...t2,drawings:e2}:t2}case"anchor":{const r2=B(n2.anchor);if(!r2)return t2;let e2=false;const i2=t2.drawings.map((t3=>t3.id!==n2.id||t3.locked||n2.index<0||n2.index>=t3.anchors.length?t3:(e2=true,{...t3,anchors:t3.anchors.map(((t4,e3)=>e3===n2.index?r2:t4))})));return e2?{...t2,drawings:i2}:t2}case"anchors":{const r2=new Map;for(const t3 of Array.isArray(n2.entries)?n2.entries:[])t3&&"string"==typeof t3.id&&r2.set(t3.id,t3.anchors);if(0===r2.size)return t2;let e2=false;const i2=t2.drawings.map((t3=>{const n3=r2.get(t3.id);if(!n3||t3.locked)return t3;const i3=E({...t3,anchors:n3},t3.id);return i3?(e2=true,i3):t3}));return e2?{...t2,drawings:i2}:t2}case"remove":{const r2=t2.drawings.filter((t3=>t3.id!==n2.id));return r2.length===t2.drawings.length?t2:{...t2,drawings:r2}}case"removeMany":{const r2=new Set(Array.isArray(n2.ids)?n2.ids:[]);if(0===r2.size)return t2;const e2=t2.drawings.filter((t3=>!r2.has(t3.id)||true===t3.locked));return e2.length===t2.drawings.length?t2:{...t2,drawings:e2}}case"clear":return 0===t2.drawings.length?t2:{...t2,drawings:[]};case"set":{let r2=t2.seed;const e2=[];for(const t3 of Array.isArray(n2.drawings)?n2.drawings:[]){const n3=E(t3,"string"==typeof t3?.id&&""!==t3.id?t3.id:H(r2+=1));n3&&!e2.some((t4=>t4.id===n3.id))&&e2.push(n3)}return{seed:r2,drawings:e2}}default:return t2}}function R(t2=F){return{past:[],present:t2,future:[]}}function W(t2,n2){const r2=J(t2.present,n2);if(r2===t2.present)return t2;const e2=[...t2.past,t2.present];return{past:e2.slice(Math.max(0,e2.length-100)),present:r2,future:[]}}function X(t2){return 0===t2.past.length?t2:{past:t2.past.slice(0,-1),present:t2.past[t2.past.length-1],future:[t2.present,...t2.future]}}function Y(t2){return 0===t2.future.length?t2:{past:[...t2.past,t2.present],present:t2.future[0],future:t2.future.slice(1)}}const G=t2=>t2.past.length>0,K=t2=>t2.future.length>0;function L(t2){return JSON.stringify((function(t3){return{v:1,seed:t3.seed,drawings:t3.drawings.map((t4=>({...t4,anchors:t4.anchors.map((t5=>({...t5})))})))}})(t2))}function Q(t2){if(null==t2||""===t2)return F;if("string"==typeof t2)try{return Q(JSON.parse(t2))}catch{return F}return Array.isArray(t2)?J(F,{type:"set",drawings:t2}):(function(t3){try{const n2="string"==typeof t3?JSON.parse(t3):t3;if(!n2||!Array.isArray(n2.drawings))return F;const r2=J(F,{type:"set",drawings:n2.drawings});return{...r2,seed:Math.max(r2.seed,"number"==typeof n2.seed&&Number.isFinite(n2.seed)?n2.seed:0)}}catch{return F}})(t2)}function V(t2,n2){const r2="draw"===t2||true===t2||"true"===t2?"draw":"select"===t2?"select":"none",e2="string"==typeof n2&&""!==n2?n2:"segment";return"draw"!==r2||(function(t3){return rt.has(t3)})(e2)?{mode:r2,tool:e2}:{mode:"none",tool:e2}}function Z(t2,n2,r2,e2){return{drawings:[...t2.present.drawings],action:n2,source:r2,...void 0!==e2?{id:e2}:{},canUndo:G(t2),canRedo:K(t2)}}function _(t2,n2){return t2.length===n2.length&&t2.every(((t3,r2)=>t3===n2[r2]))}function tt(t2,n2){const r2=t2.filter((t3=>n2.drawings.some((n3=>n3.id===t3))));return r2.length===t2.length?t2:r2}const nt=Object.freeze({color:"var(--sy-drawing-color, #2563eb)",width:1.5,dash:"solid",opacity:1,fill:"var(--sy-drawing-fill, #2563eb)",fillOpacity:.12,fontSize:12}),rt=new Map;function et(t2){return rt.get(t2)}function it(t2){return"free"===t2.placement||"poly"===t2.placement?Number.POSITIVE_INFINITY:"click"===t2.placement?1:2}for(const t2 of P)rt.set(t2.tool,t2);const ot=t2=>Math.max(0,Math.min(255,t2));function st(t2){if("string"!=typeof t2)return null;const n2=t2.trim().toLowerCase();if("transparent"===n2)return{r:0,g:0,b:0,a:0};const r2=/^#([0-9a-f]{3,8})$/.exec(n2);if(r2){const t3=r2[1];if(3===t3.length||4===t3.length){const[n3,r3,e3,i2]=t3.split("").map((t4=>parseInt(t4+t4,16)));return{r:n3,g:r3,b:e3,a:4===t3.length?i2/255:1}}return 6===t3.length||8===t3.length?{r:parseInt(t3.slice(0,2),16),g:parseInt(t3.slice(2,4),16),b:parseInt(t3.slice(4,6),16),a:8===t3.length?parseInt(t3.slice(6,8),16)/255:1}:null}const e2=/^rgba?\(\s*([^)]*)\)$/.exec(n2);if(e2){const t3=e2[1].replace(/\s*\/\s*/," ").replace(/\s*,\s*/g," ").trim().split(/\s+/);if(t3.length<3||t3.length>4)return null;const n3=t4=>t4.endsWith("%")?parseFloat(t4)/100*255:parseFloat(t4),r3=t4=>t4.endsWith("%")?parseFloat(t4)/100:parseFloat(t4),[i2,o2,s2]=t3.slice(0,3).map(n3),u2=void 0===t3[3]?1:r3(t3[3]);return[i2,o2,s2,u2].some((t4=>!Number.isFinite(t4)))?null:{r:ot(i2),g:ot(o2),b:ot(s2),a:Math.max(0,Math.min(1,u2))}}return null}function ut(t2,n2){const r2=t2.a??1;if(r2>=1)return{r:t2.r,g:t2.g,b:t2.b,a:1};const e2=n2.a??1,i2=(t3,n3)=>t3*r2+n3*e2*(1-r2);return{r:i2(t2.r,n2.r),g:i2(t2.g,n2.g),b:i2(t2.b,n2.b),a:r2+e2*(1-r2)}}function ct(t2){const n2=t3=>{const n3=ot(t3)/255;return n3<=.03928?n3/12.92:Math.pow((n3+.055)/1.055,2.4)};return .2126*n2(t2.r)+.7152*n2(t2.g)+.0722*n2(t2.b)}function lt(t2,n2){const r2=ct(ut(t2,n2)),e2=ct(n2),[i2,o2]=r2>=e2?[r2,e2]:[e2,r2];return(i2+.05)/(o2+.05)}function at(t2){const n2=t2.match(/#[0-9a-f]{6}\b/gi);return n2?n2[n2.length-1].toLowerCase():null}const ht={r:0,g:0,b:0,a:1},ft={r:255,g:255,b:255,a:1};function dt(t2){const n2=t3=>Math.round(ot(t3)).toString(16).padStart(2,"0");return`#${n2(t2.r)}${n2(t2.g)}${n2(t2.b)}`}function pt(t2,n2,r2){const e2=Math.max(0,Math.min(1,r2));return{r:t2.r+(n2.r-t2.r)*e2,g:t2.g+(n2.g-t2.g)*e2,b:t2.b+(n2.b-t2.b)*e2,a:1}}const yt=t2=>({r:Math.round(ot(t2.r)),g:Math.round(ot(t2.g)),b:Math.round(ot(t2.b)),a:1});function gt(t2,n2,r2){return"pixel"===r2?{x:n2.plot.x+t2.x,y:n2.plot.y+t2.y}:{x:n2.xScale(t2.x),y:n2.yScale(t2.y)}}function mt(t2,n2,r2){return"pixel"===r2?{x:t2.x-n2.plot.x,y:t2.y-n2.plot.y}:{x:n2.xScale.invert(t2.x),y:n2.yScale.invert(t2.y)}}function xt(t2,n2,r2,e2){return t2.anchors.map((i2=>{const o2=gt(i2,e2,t2.space);return mt({x:o2.x+n2,y:o2.y+r2},e2,t2.space)}))}function bt(t2,n2,r2){return t2.anchors.map(t2.space===r2?t3=>({...t3}):e2=>mt(gt(e2,n2,t2.space),n2,r2))}function Mt(t2,n2,r2){const e2=et(t2.tool),i2=(function(t3,n3){return t3.anchors.map((r3=>gt(r3,n3,t3.space)))})(t2,n2),o2=(function(t3,n3=nt){return{...n3,...t3??{}}})(t2.style),s2=e2?e2.render({drawing:t2,points:i2,plot:n2.plot,style:o2,...r2?.measureText?{measureText:r2.measureText}:{}}):[],u2=r2?.background??"#ffffff",c2=o2.fillOpacity>0&&s2.some((t3=>"rect"===t3.kind||"circle"===t3.kind||"polyline"===t3.kind&&true===t3.closed)),l2=(function(t3,n3,r3=4.5){const e3=t4=>{const n4=st(t4);if(n4)return n4;const r4=at(t4);return r4?st(r4):null},i3=e3(t3),o3=e3(n3);if(!i3||!o3)return t3;const s3=ut(o3,ft);return lt(ut(i3,s3),s3)>=r3?t3:dt((function(t4,n4,r4=4.5){const e4=ut(n4,ft),i4=ut(t4,e4);if(lt(i4,e4)>=r4)return i4;const o4=ct(i4)>=ct(e4),s4=t5=>{if(lt(t5,e4)<r4)return null;let n5=0,o5=1;for(let s5=0;s5<24;s5++){const s6=(n5+o5)/2;lt(yt(pt(i4,t5,s6)),e4)>=r4?o5=s6:n5=s6}return yt(pt(i4,t5,o5))};return s4(o4?ft:ht)??s4(o4?ht:ft)??(lt(ht,e4)>=lt(ft,e4)?ht:ft)})(i3,s3,r3))})(o2.color,c2?(function(t3,n3,r3){const e3=t4=>st(t4)??(at(t4)?st(at(t4)):null),i3=e3(r3),o3=e3(t3);if(!i3||!o3)return r3;const s3=ut(i3,{r:255,g:255,b:255,a:1});return dt(ut({...o3,a:(o3.a??1)*n3},s3))})(o2.fill,o2.fillOpacity,u2):u2,5);return{id:t2.id,tool:t2.tool,drawing:t2,points:i2,style:o2,primitives:s2,unknownTool:!e2,labelColor:l2}}function wt(t2,n2,r2){return t2.drawings.filter((t3=>t3.visible)).map((t3=>Mt(t3,n2,r2)))}function vt(t2){let n2=Number.POSITIVE_INFINITY,r2=Number.POSITIVE_INFINITY,e2=Number.NEGATIVE_INFINITY,i2=Number.NEGATIVE_INFINITY;const o2=(t3,o3)=>{Number.isFinite(t3)&&Number.isFinite(o3)&&(n2=Math.min(n2,t3),r2=Math.min(r2,o3),e2=Math.max(e2,t3),i2=Math.max(i2,o3))};for(const n3 of t2)switch(n3.kind){case"line":o2(n3.x1,n3.y1),o2(n3.x2,n3.y2);break;case"polyline":for(const t3 of n3.points)o2(t3.x,t3.y);break;case"rect":o2(n3.x,n3.y),o2(n3.x+n3.width,n3.y+n3.height);break;case"circle":o2(n3.cx-n3.r,n3.cy-n3.r),o2(n3.cx+n3.r,n3.cy+n3.r);break;case"text":{const t3="number"==typeof n3.height&&n3.height>0?n3.height:12,r3="number"==typeof n3.width&&n3.width>0?n3.width:Math.max(.6*t3,n3.text.length*t3*.6),e3="end"===n3.anchor?n3.x-r3:"middle"===n3.anchor?n3.x-r3/2:n3.x,i3="hanging"===n3.baseline?n3.y:"middle"===n3.baseline?n3.y-t3/2:n3.y-t3;o2(e3,i3),o2(e3+r3,i3+t3);break}}return Number.isFinite(n2)&&Number.isFinite(r2)?{x:n2,y:r2,width:e2-n2,height:i2-r2}:null}function kt(t2,n2){return"dashed"===t2?`${Math.max(2,4*n2)} ${Math.max(2,2*n2)}`:"dotted"===t2?`${Math.max(1,n2)} ${Math.max(2,2*n2)}`:void 0}function Nt(t2,n2,r2){const e2=r2.x-n2.x,i2=r2.y-n2.y,o2=e2*e2+i2*i2,s2=0===o2?0:Math.max(0,Math.min(1,((t2.x-n2.x)*e2+(t2.y-n2.y)*i2)/o2));return Math.hypot(t2.x-(n2.x+s2*e2),t2.y-(n2.y+s2*i2))}function $t(t2,n2){let r2=false;for(let e2=0,i2=n2.length-1;e2<n2.length;i2=e2,e2+=1){const o2=n2[e2],s2=n2[i2];o2.y>t2.y!=s2.y>t2.y&&t2.x<(s2.x-o2.x)*(t2.y-o2.y)/(s2.y-o2.y)+o2.x&&(r2=!r2)}return r2}function At(t2,n2,r2=0){return t2.x>=n2.x-r2&&t2.x<=n2.x+n2.width+r2&&t2.y>=n2.y-r2&&t2.y<=n2.y+n2.height+r2}function St(t2,n2,r2=6){return!!n2.drawing.visible&&n2.primitives.some((e2=>(function(t3,n3,r3=6,e3=12){switch(n3.kind){case"line":return Nt(t3,{x:n3.x1,y:n3.y1},{x:n3.x2,y:n3.y2})<=r3;case"polyline":{const e4=n3.points;if(0===e4.length)return false;if(1===e4.length)return Math.hypot(t3.x-e4[0].x,t3.y-e4[0].y)<=r3;for(let n4=1;n4<e4.length;n4+=1)if(Nt(t3,e4[n4-1],e4[n4])<=r3)return true;return!!n3.closed&&(Nt(t3,e4[e4.length-1],e4[0])<=r3||e4.length>=3&&$t(t3,e4))}case"rect":return At(t3,n3,r3);case"circle":return Math.hypot(t3.x-n3.cx,t3.y-n3.cy)<=n3.r+r3;case"text":return At(t3,(function(t4,n4=12){const r4="number"==typeof t4.width&&t4.width>0?t4.width:Math.max(.6*n4,t4.text.length*n4*.6);return{x:"end"===t4.anchor?t4.x-r4:"middle"===t4.anchor?t4.x-r4/2:t4.x,y:"hanging"===t4.baseline?t4.y:"middle"===t4.baseline?t4.y-n4/2:t4.y-n4,width:r4,height:n4}})(n3,e3),r3/2);case"path":{const e4=vt([n3]);return null!==e4&&At(t3,e4,r3)}default:return false}})(t2,e2,r2,n2.style.fontSize)))}function Ot(t2,n2,r2=6){for(let e2=n2.length-1;e2>=0;e2-=1)if(St(t2,n2[e2],r2))return n2[e2];return null}function jt(t2,n2,r2){const e2=n2.y-t2.y;let i2=0,o2=1;const s2=(t3,n3,r3,e3)=>{if(0===t3)return e3>=n3&&e3<=r3;const s3=(n3-e3)/t3,u2=(r3-e3)/t3;return i2=Math.max(i2,Math.min(s3,u2)),o2=Math.min(o2,Math.max(s3,u2)),true};return!!s2(n2.x-t2.x,r2.x,r2.x+r2.width,t2.x)&&!!s2(e2,r2.y,r2.y+r2.height,t2.y)&&o2>=i2}function zt(t2,n2){return{x:Math.min(t2.x,n2.x),y:Math.min(t2.y,n2.y),width:Math.abs(t2.x-n2.x),height:Math.abs(t2.y-n2.y)}}function Dt(t2,n2,r2){if(!t2)return true;const e2=n2.x-t2.x,i2=n2.y-t2.y;return e2*e2+i2*i2>=r2*r2}function It(t2,n2){const{plot:r2}=n2;return t2.x>=r2.x&&t2.x<=r2.x+r2.width&&t2.y>=r2.y&&t2.y<=r2.y+r2.height}function Ct(t2,n2){const{plot:r2}=n2;return{x:Math.min(r2.x+r2.width,Math.max(r2.x,t2.x)),y:Math.min(r2.y+r2.height,Math.max(r2.y,t2.y))}}class Pt{host;placement=null;suppressClick=false;hovering=false;selecting=null;constructor(t2){this.host=t2}get isDragging(){return null!=this.selecting?.drag}get dragsHandle(){return null!=this.selecting?.drag?.handle}get isPending(){return null!==this.placement||null!==this.selecting}get armed(){const t2=this.host.mode();return"draw"===t2.mode&&null!==t2.tool&&void 0!==et(t2.tool)}pointerDown(t2){if(this.placement?.poly)return this.placement.origin={x:t2.x,y:t2.y},this.placement.moved=false,true;if(this.placement||this.selecting)return true;if(0!==(t2.button??0))return false;const n2=this.host.mode();if("select"===n2.mode)return this.selectPointerDown(t2);if("draw"!==n2.mode||null===n2.tool)return false;const r2=et(n2.tool),e2=this.host.frame();if(!r2||!e2)return false;const i2={x:t2.x,y:t2.y};if(!It(i2,e2))return false;const o2=this.host.space?.()??"data",s2=mt(i2,e2,o2);return this.placement={pointerId:t2.pointerId,tool:n2.tool,space:o2,count:it(r2),origin:i2,first:s2,moved:false,vertices:"free"===r2.placement?[i2]:null,poly:"poly"===r2.placement?[i2]:null,polyAwaitingFirstRelease:"poly"===r2.placement,polyCursor:"poly"===r2.placement?i2:null},this.hovering=false,this.host.standDown(),this.host.preview(this.previewFor(i2,e2)),true}pointerMove(t2){if(this.selecting)return this.selectPointerMove(t2);const n2=this.placement;if(!n2)return this.hover(t2),false;if(n2.pointerId!==t2.pointerId)return false;const r2=this.host.frame();if(!r2)return true;const e2=Ct({x:t2.x,y:t2.y},r2);return!n2.moved&&this.isMeaningful(e2,n2.origin)&&(n2.moved=true),n2.vertices&&Dt(n2.vertices[n2.vertices.length-1],e2,2)&&n2.vertices.push(e2),n2.poly&&(n2.polyCursor=e2),this.host.preview(this.previewFor(e2,r2)),true}polyPointerUp(t2,n2,r2){const e2=t2.poly;if(t2.polyAwaitingFirstRelease)return t2.polyAwaitingFirstRelease=false,true;const i2=(t3,n3)=>Math.hypot(t3.x-n3.x,t3.y-n3.y)<=8,o2=e2.length>=3&&i2(n2,e2[0]),s2=e2.length>=3&&i2(n2,e2[e2.length-1]);return o2||s2?(this.finishPoly(r2),true):(i2(n2,e2[e2.length-1])||e2.push(n2),t2.polyCursor=n2,this.host.preview(this.previewFor(n2,r2)),true)}finishPoly(t2){const n2=this.placement;if(!n2?.poly)return;const r2=n2.poly;this.placement=null,this.host.preview(null),r2.length>=3&&(this.suppressClick=true,this.host.commit({tool:n2.tool,space:n2.space,anchors:r2.map((r3=>mt(r3,t2,n2.space)))}))}pointerUp(t2){if(this.selecting)return this.selectPointerUp(t2);const n2=this.placement;if(!n2||n2.pointerId!==t2.pointerId)return false;if(n2.poly){const r3=this.host.frame();return!r3||this.polyPointerUp(n2,Ct({x:t2.x,y:t2.y},r3),r3)}this.placement=null,this.host.preview(null);const r2=this.host.frame();if(!r2)return true;const e2=Ct({x:t2.x,y:t2.y},r2),i2=n2.moved||this.isMeaningful(e2,n2.origin);return n2.vertices?(Dt(n2.vertices[n2.vertices.length-1],e2,2)&&n2.vertices.push(e2),i2&&n2.vertices.length>=2&&(this.suppressClick=true,this.host.commit({tool:n2.tool,space:n2.space,anchors:n2.vertices.map((t3=>mt(t3,r2,n2.space)))})),true):(2===n2.count&&i2?(this.suppressClick=true,this.host.commit({tool:n2.tool,space:n2.space,anchors:[n2.first,mt(e2,r2,n2.space)]})):1!==n2.count||i2?i2&&(this.suppressClick=true):(this.suppressClick=true,this.host.commit({tool:n2.tool,space:n2.space,anchors:[n2.first]})),true)}pointerCancel(){if(this.selecting){const t2=null!==this.selecting.drag&&this.selecting.moved;return this.selecting=null,this.host.marquee?.(null),void(t2&&this.host.dragPreview?.(null))}this.placement&&(this.placement=null,this.host.preview(null))}handleAt(t2,n2,r2){let e2=null;for(const i2 of n2)r2.includes(i2.id)&&!i2.drawing.locked&&i2.points.forEach(((n3,r3)=>{const o2=Math.hypot(n3.x-t2.x,n3.y-t2.y);o2<=8&&(!e2||o2<e2.distance)&&(e2={entry:i2,index:r3,distance:o2})}));return e2?{entry:e2.entry,index:e2.index}:null}selectPointerDown(t2){const n2=this.host.frame(),r2={x:t2.x,y:t2.y};if(!n2||!It(r2,n2))return false;const e2=this.host.rendered?.()??[],i2=true===t2.shiftKey,o2=[...this.host.selection?.()??[]],s2=i2?null:this.handleAt(r2,e2,o2);if(s2)return this.selecting={pointerId:t2.pointerId,origin:r2,marquee:null,shift:i2,moved:false,drag:{entries:[{drawing:s2.entry.drawing,anchors:s2.entry.drawing.anchors}],handle:{id:s2.entry.id,index:s2.index}}},this.host.standDown(),true;const u2=Ot(r2,e2,this.host.hitTolerancePx?.()??6);if(u2){const n3=i2?o2.includes(u2.id)?o2.filter((t3=>t3!==u2.id)):[...o2,u2.id]:o2.includes(u2.id)?o2:[u2.id];this.applySelection(n3,"click");const s3=i2?[]:e2.filter((t3=>n3.includes(t3.id)&&!t3.drawing.locked));this.selecting={pointerId:t2.pointerId,origin:r2,marquee:null,shift:i2,moved:false,drag:s3.length>0?{entries:s3.map((t3=>({drawing:t3.drawing,anchors:t3.drawing.anchors}))),handle:null}:null}}else this.selecting={pointerId:t2.pointerId,origin:r2,marquee:{x:r2.x,y:r2.y,width:0,height:0},shift:i2,moved:false,drag:null};return this.host.standDown(),true}lockToAxis(t2,n2){return Math.abs(t2.x-n2.x)>=Math.abs(t2.y-n2.y)?{x:t2.x,y:n2.y}:{x:n2.x,y:t2.y}}draggedAnchors(t2,n2,r2,e2=false){const i2=e2?this.lockToAxis(n2,t2.origin):n2,o2=t2.drag;if(o2.handle){const{drawing:t3,anchors:n3}=o2.entries[0],e3=mt(i2,r2,t3.space);return[{id:t3.id,anchors:n3.map(((t4,n4)=>n4===o2.handle.index?e3:t4))}]}const s2=i2.x-t2.origin.x,u2=i2.y-t2.origin.y;return o2.entries.map((({drawing:t3,anchors:n3})=>({id:t3.id,anchors:xt({anchors:n3,space:t3.space},s2,u2,r2)})))}selectPointerMove(t2){const n2=this.selecting;if(!n2||n2.pointerId!==t2.pointerId)return false;const r2=this.host.frame();if(!r2)return true;const e2=Ct({x:t2.x,y:t2.y},r2);return!n2.moved&&this.isMeaningful(e2,n2.origin)&&(n2.moved=true),n2.marquee?(n2.marquee=zt(n2.origin,e2),this.host.marquee?.(n2.moved?n2.marquee:null)):n2.drag&&n2.moved&&this.host.dragPreview?.(this.draggedAnchors(n2,e2,r2,true===t2.shiftKey)),true}selectPointerUp(t2){const n2=this.selecting;if(!n2||n2.pointerId!==t2.pointerId)return false;this.selecting=null;const r2=this.host.frame(),e2=r2?Ct({x:t2.x,y:t2.y},r2):{x:t2.x,y:t2.y},i2=n2.moved||this.isMeaningful(e2,n2.origin);if(n2.marquee)if(this.host.marquee?.(null),i2){this.suppressClick=true;const t3=(o2=zt(n2.origin,e2),s2=this.host.rendered?.()??[],s2.filter((t4=>t4.drawing.visible&&t4.primitives.some((t5=>(function(t6,n3){switch(t6.kind){case"line":return jt({x:t6.x1,y:t6.y1},{x:t6.x2,y:t6.y2},n3);case"polyline":{const r5=t6.points;if(0===r5.length)return false;if(1===r5.length)return At(r5[0],n3);for(let t7=1;t7<r5.length;t7+=1)if(jt(r5[t7-1],r5[t7],n3))return true;return!!t6.closed&&(!!jt(r5[r5.length-1],r5[0],n3)||r5.length>=3&&$t({x:n3.x+n3.width/2,y:n3.y+n3.height/2},r5))}default:{const i3=vt([t6]);return null!==i3&&(r4=n3).x<=(e3=i3).x+e3.width&&r4.x+r4.width>=e3.x&&r4.y<=e3.y+e3.height&&r4.y+r4.height>=e3.y}}var r4,e3})(t5,o2)))))).map((t4=>t4.id)),r3=[...this.host.selection?.()??[]];this.applySelection(n2.shift?[...r3,...t3.filter((t4=>!r3.includes(t4)))]:t3,"marquee")}else n2.shift||this.applySelection([],"clear");else i2&&(this.suppressClick=true,n2.drag&&r2&&(this.host.dragPreview?.(null),this.host.commitAnchors?.(this.draggedAnchors(n2,e2,r2,true===t2.shiftKey))));var o2,s2;return true}applySelection(t2,n2){_(this.host.selection?.()??[],t2)||this.host.select?.(t2,n2)}hover(t2){if(this.placement)return false;const n2=this.host.mode(),r2="draw"===n2.mode&&null!==n2.tool?et(n2.tool):void 0,e2="click"===r2?.placement?this.host.frame():void 0,i2={x:t2.x,y:t2.y};if(!r2||!e2||!It(i2,e2))return this.hoverEnd(),false;const o2=this.host.space?.()??"data";return this.hovering=true,this.host.preview({tool:r2.tool,space:o2,anchors:[mt(i2,e2,o2)],points:[i2]}),true}hoverEnd(){this.hovering&&(this.hovering=false,this.placement||this.host.preview(null))}keyDown(t2){const n2=this.host.mode().mode;if("Escape"===t2.key)return this.placement||this.selecting?(this.pointerCancel(),true):"select"===n2&&(this.host.selection?.()??[]).length>0&&(this.applySelection([],"keyboard"),true);if("Enter"===t2.key&&this.placement?.poly){const t3=this.host.frame();return t3?this.finishPoly(t3):this.pointerCancel(),true}if("draw"!==n2&&"select"!==n2)return false;if(this.placement||this.selecting)return false;const r2=true===t2.ctrlKey||true===t2.metaKey;if(("Delete"===t2.key||"Backspace"===t2.key)&&!r2&&"select"===n2){const t3=[...this.host.selection?.()??[]];return!(0===t3.length||!this.host.remove||(this.host.remove(t3),0))}if(r2&&!t2.altKey){const n3=1===t2.key.length?t2.key.toLowerCase():t2.key;if("z"===n3&&!t2.shiftKey&&this.host.undo)return this.host.undo(),true;if(("y"===n3||"z"===n3&&true===t2.shiftKey)&&this.host.redo)return this.host.redo(),true}return false}consumeSuppressedClick(){const t2=this.suppressClick;return this.suppressClick=false,t2}dispose(){this.placement=null,this.selecting=null,this.suppressClick=false,this.hovering=false}isMeaningful(t2,n2){const r2=this.host.minDragPx?.()??4;return Math.abs(t2.x-n2.x)>=r2||Math.abs(t2.y-n2.y)>=r2}previewFor(t2,n2){const r2=this.placement;if(r2.poly){const e3=r2.poly[r2.poly.length-1],i3=e3.x===t2.x&&e3.y===t2.y?[...r2.poly]:[...r2.poly,t2];return{tool:r2.tool,space:r2.space,anchors:i3.map((t3=>mt(t3,n2,r2.space))),points:i3}}if(r2.vertices){const e3=r2.vertices[r2.vertices.length-1]===t2?[...r2.vertices]:[...r2.vertices,t2];return{tool:r2.tool,space:r2.space,anchors:e3.map((t3=>mt(t3,n2,r2.space))),points:e3}}const e2=gt(r2.first,n2,r2.space);if(1===r2.count)return{tool:r2.tool,space:r2.space,anchors:[r2.first],points:[e2]};const i2=mt(t2,n2,r2.space);return{tool:r2.tool,space:r2.space,anchors:[r2.first,i2],points:[e2,t2]}}}function Ft(t2,n2,r2,e2=6,i2=8){for(const e3 of n2)if(r2.includes(e3.id)&&true!==e3.drawing.locked){for(const n3 of e3.points)if(Math.hypot(n3.x-t2.x,n3.y-t2.y)<=i2)return"handle"}const o2=Ot(t2,n2,e2);return o2&&true!==o2.drawing.locked?"body":null}function Tt(t2,n2,r2){return"draw"===t2?"crosshair":"select"!==t2?"":r2?"handle"===n2?"grabbing":"move":"handle"===n2?"grab":"body"===n2?"move":""}function qt(t2,n2=10){if(0===t2.length)return[];const r2=[0];let e2=t2[0];for(let i2=1;i2<t2.length-1;i2+=1){const o2=t2[i2];Math.hypot(o2.x-e2.x,o2.y-e2.y)>=n2&&(r2.push(i2),e2=o2)}return t2.length>1&&r2.push(t2.length-1),r2}const Ut=1e8;function Bt(t2=t3=>console.warn(t3)){let n2="";return(r2,e2,i2,o2)=>{if(!(e2>i2))return void(n2="");const s2=`${r2}|${e2}|${i2}`;s2!==n2&&(n2=s2,t2((function(t3,n3,r3,e3){const i3=e3?` (${e3})`:"";return`[Syidax] ${t3}: ${n3.toLocaleString()} points exceed the render cap of ${r3.toLocaleString()}${i3} — rendering the first ${r3.toLocaleString()} points only.`})(r2,e2,i2,o2)))}}function Et(t2,n2){if(null==t2||t2.length<=n2)return t2;const r2=t2;return"function"==typeof r2.subarray?r2.subarray(0,n2):"function"==typeof r2.slice?r2.slice(0,n2):t2}const Ht=Object.freeze({enabled:false,type:"rect",mode:"single",coverage:"xy",modifier:"none",minSizePx:6,keyboard:true,clearOnClick:true,liveSelection:false,moveThrottleMs:32}),Jt=["rect","lasso"],Rt=["single","multiple"],Wt=["xy","x","y"],Xt=["none","shift","alt"];function Yt(t2){return Jt.includes(t2)}function Gt(t2){if(null==t2||false===t2||"off"===t2||"auto"===t2||"false"===t2)return{...Ht};if(true===t2||"true"===t2)return{...Ht,enabled:true};if(Yt(t2))return{...Ht,enabled:true,type:t2};if(n2=t2,!Boolean(n2)||"object"!=typeof n2||Array.isArray(n2))return{...Ht};var n2;const r2=Number.isFinite(t2.minSizePx)&&t2.minSizePx>0?t2.minSizePx:Ht.minSizePx;return{enabled:false!==t2.enabled,type:Yt(t2.type)?t2.type:Ht.type,mode:Rt.includes(t2.mode)?t2.mode:Ht.mode,coverage:Wt.includes(t2.coverage)?t2.coverage:Ht.coverage,modifier:Xt.includes(t2.modifier)?t2.modifier:Ht.modifier,minSizePx:r2,keyboard:false!==t2.keyboard,clearOnClick:false!==t2.clearOnClick,liveSelection:true===t2.liveSelection,moveThrottleMs:Number.isFinite(t2.moveThrottleMs)&&t2.moveThrottleMs>=0?t2.moveThrottleMs:Ht.moveThrottleMs}}function Kt(t2){if(!t2)return;const n2=Array.isArray(t2)?t2[0]:t2.min,r2=Array.isArray(t2)?t2[1]:t2.max;return"number"==typeof n2&&"number"==typeof r2&&Number.isFinite(n2)&&Number.isFinite(r2)?{min:Math.min(n2,r2),max:Math.max(n2,r2)}:void 0}function Lt(t2,n2,r2){const e2=t3=>Math.min(r2.x+r2.width,Math.max(r2.x,t3)),i2=t3=>Math.min(r2.y+r2.height,Math.max(r2.y,t3)),o2=e2(t2.x),s2=e2(n2.x),u2=i2(t2.y),c2=i2(n2.y);return{x:Math.min(o2,s2),y:Math.min(u2,c2),width:Math.abs(s2-o2),height:Math.abs(c2-u2)}}function Qt(t2,n2){const r2=Number.isFinite(n2)&&n2>0?n2:0;return t2.width>=r2&&t2.height>=r2}function Vt(t2,n2,r2){const e2=Number.isFinite(r2)&&r2>0?r2:0;return("x"===n2?t2.width:t2.height)>=e2}function Zt(t2,n2,r2,e2){const i2="x"===n2?r2.invert(t2.x):e2.invert(t2.y),o2="x"===n2?r2.invert(t2.x+t2.width):e2.invert(t2.y+t2.height);if(Number.isFinite(i2)&&Number.isFinite(o2))return{type:"band",axis:n2,range:{min:Math.min(i2,o2),max:Math.max(i2,o2)}}}function _t(t2,n2,r2){const e2="x"===t2.axis?n2:r2,i2=e2(t2.range.min),o2=e2(t2.range.max);return{axis:t2.axis,min:Math.min(i2,o2),max:Math.max(i2,o2)}}function tn(t2,n2){if("x"===t2.axis){const r3=Math.max(n2.x,t2.min),e3=Math.min(n2.x+n2.width,t2.max);return e3>r3?{x:r3,y:n2.y,width:e3-r3,height:n2.height}:null}const r2=Math.max(n2.y,t2.min),e2=Math.min(n2.y+n2.height,t2.max);return e2>r2?{x:n2.x,y:r2,width:n2.width,height:e2-r2}:null}function nn(t2,n2,r2){const e2=n2.invert(t2.x),i2=n2.invert(t2.x+t2.width),o2=r2.invert(t2.y),s2=r2.invert(t2.y+t2.height);if([e2,i2,o2,s2].every(Number.isFinite))return{type:"rect",x:{min:Math.min(e2,i2),max:Math.max(e2,i2)},y:{min:Math.min(o2,s2),max:Math.max(o2,s2)}}}function rn(t2,n2,r2){if(t2.length<3)return;const e2=t2.map((t3=>({x:n2.invert(t3.x),y:r2.invert(t3.y)})));return e2.every((t3=>Number.isFinite(t3.x)&&Number.isFinite(t3.y)))?{type:"lasso",points:e2}:void 0}function en(t2,n2,r2){return t2.points.map((t3=>({x:n2(t3.x),y:r2(t3.y)})))}function on(t2,n2,r2){return"lasso"===t2.type?{kind:"polygon",points:en(t2,n2,r2)}:"band"===t2.type?{kind:"band",..._t(t2,n2,r2)}:{kind:"rect",rect:an(t2,n2,r2)}}function sn(t2){if(0===t2.length)return{x:0,y:0,width:0,height:0};let n2=Number.POSITIVE_INFINITY,r2=Number.POSITIVE_INFINITY,e2=Number.NEGATIVE_INFINITY,i2=Number.NEGATIVE_INFINITY;for(const o2 of t2)o2.x<n2&&(n2=o2.x),o2.y<r2&&(r2=o2.y),o2.x>e2&&(e2=o2.x),o2.y>i2&&(i2=o2.y);return{x:n2,y:r2,width:e2-n2,height:i2-r2}}function un(t2,n2){const r2=n2.x-t2.x,e2=n2.y-t2.y;return r2*r2+e2*e2}function cn(t2,n2,r2){if(!t2)return true;const e2=Number.isFinite(r2)&&r2>0?r2:0;return un(t2,n2)>=e2*e2}function ln(t2,n2,r2){const e2=un(n2,r2);if(0===e2)return Math.sqrt(un(t2,n2));const i2=Math.max(0,Math.min(1,((t2.x-n2.x)*(r2.x-n2.x)+(t2.y-n2.y)*(r2.y-n2.y))/e2));return Math.sqrt(un(t2,{x:n2.x+i2*(r2.x-n2.x),y:n2.y+i2*(r2.y-n2.y)}))}function an(t2,n2,r2){const e2=n2(t2.x.min),i2=n2(t2.x.max),o2=r2(t2.y.min),s2=r2(t2.y.max);return{x:Math.min(e2,i2),y:Math.min(o2,s2),width:Math.abs(i2-e2),height:Math.abs(s2-o2)}}function hn(t2,n2){const r2=Math.max(t2.x,n2.x),e2=Math.max(t2.y,n2.y),i2=Math.min(t2.x+t2.width,n2.x+n2.width),o2=Math.min(t2.y+t2.height,n2.y+n2.height);return i2>r2&&o2>e2?{x:r2,y:e2,width:i2-r2,height:o2-e2}:null}function fn(t2,n2,r2=1e-6){if("rect"===n2.kind)return(function(t3,n3,r3=1e-6){return t3.x>=n3.x-r3&&t3.x<=n3.x+n3.width+r3&&t3.y>=n3.y-r3&&t3.y<=n3.y+n3.height+r3})(t2,n2.rect,r2);if("polygon"===n2.kind)return(function(t3,n3,r3=1e-6){const e3=n3.length;if(e3<3)return false;let i2=false;for(let o2=0,s2=e3-1;o2<e3;s2=o2,o2++){const e4=n3[o2],u2=n3[s2];if(ln(t3,e4,u2)<=r3)return true;e4.y>t3.y!=u2.y>t3.y&&t3.x<e4.x+(t3.y-e4.y)*(u2.x-e4.x)/(u2.y-e4.y)&&(i2=!i2)}return i2})(t2,n2.points,r2);const e2="x"===n2.axis?t2.x:t2.y;return e2>=n2.min-r2&&e2<=n2.max+r2}function dn(t2,n2){if(0===t2.length||0===n2.length)return[];const r2=new Map;for(const e2 of n2){if(!Number.isFinite(e2.cssX)||!Number.isFinite(e2.cssY))continue;if(!t2.some((t3=>fn({x:e2.cssX,y:e2.cssY},t3))))continue;let n3=r2.get(e2.seriesIndex);n3||(n3=new Map,r2.set(e2.seriesIndex,n3)),n3.has(e2.index)||n3.set(e2.index,e2)}return[...r2.entries()].sort(((t3,n3)=>t3[0]-n3[0])).map((([t3,n3])=>{const r3=[...n3.values()].sort(((t4,n4)=>t4.index-n4.index)),e2={seriesIndex:t3,points:r3.map((t4=>t4.index))};return r3.some((t4=>void 0!==t4.dataX||void 0!==t4.dataY))&&(e2.data=r3.map((t4=>{const n4={index:t4.index};return void 0!==t4.dataX&&(n4.x=t4.dataX),void 0!==t4.dataY&&(n4.y=t4.dataY),n4}))),e2}))}function pn(t2){return t2.reduce(((t3,n2)=>t3+n2.points.length),0)}function yn(){return"undefined"!=typeof performance&&"function"==typeof performance.now?performance.now():Date.now()}function gn(t2,n2){return{x:Math.min(n2.x+n2.width,Math.max(n2.x,t2.x)),y:Math.min(n2.y+n2.height,Math.max(n2.y,t2.y))}}class mn{host;drag=null;previewShown=false;suppressClick=false;constructor(t2){this.host=t2}get isPending(){return null!==this.drag}get isActive(){return true===this.drag?.active}selection(){const t2=this.host.state(),n2=this.host.frame();return t2&&0!==t2.areas.length&&n2?dn(t2.areas.map((t3=>on(t3,n2.xScale,n2.yScale))),this.host.points()):[]}detail(t2){const n2=this.selection();return{areas:[...this.host.state()?.areas??[]],selected:n2,count:pn(n2),source:t2}}transition(t2,n2){const r2=t2&&t2.areas.length>0?t2:null;if((function(t3,n3){const r3=t3?.areas??[],e3=n3?.areas??[];return r3.length===e3.length&&r3.every(((t4,n4)=>(function(t5,n5){return t5.type===n5.type&&("lasso"===t5.type&&"lasso"===n5.type?t5.points.length===n5.points.length&&t5.points.every(((t6,r4)=>t6.x===n5.points[r4].x&&t6.y===n5.points[r4].y)):"rect"===t5.type&&"rect"===n5.type?t5.x.min===n5.x.min&&t5.x.max===n5.x.max&&t5.y.min===n5.y.min&&t5.y.max===n5.y.max:"band"===t5.type&&"band"===n5.type&&t5.axis===n5.axis&&t5.range.min===n5.range.min&&t5.range.max===n5.range.max)})(t4,e3[n4])))})(this.host.state(),r2))return null;this.host.apply(r2);const e2=this.detail(n2);return this.host.emit(e2),e2}setAreas(t2,n2="api"){const r2=(t2??[]).map((t3=>(function(t4){if(!t4||"object"!=typeof t4)return;if("lasso"===t4.type){const n4=t4.points;if(!Array.isArray(n4))return;const r4=n4.map((t5=>(function(t6){if(!t6)return;const n5=Array.isArray(t6)?t6[0]:t6.x,r5=Array.isArray(t6)?t6[1]:t6.y;return"number"==typeof n5&&"number"==typeof r5&&Number.isFinite(n5)&&Number.isFinite(r5)?{x:n5,y:r5}:void 0})(t5))).filter((t5=>void 0!==t5));if(r4.length<3)return;return{type:"lasso",points:r4}}if("band"===t4.type){const n4=t4;if("x"!==n4.axis&&"y"!==n4.axis)return;const r4=Kt(n4.range);if(!r4)return;return{type:"band",axis:n4.axis,range:r4}}const n3=t4;if(void 0!==n3.type&&"rect"!==n3.type)return;const r3=Kt(n3.x),e2=Kt(n3.y);return r3&&e2?{type:"rect",x:r3,y:e2}:void 0})(t3))).filter((t3=>void 0!==t3));return this.transition(r2.length>0?{areas:r2}:null,n2)}clear(t2="clear"){return this.transition(null,t2)}modifierHeld(t2,n2){return"shift"===t2.modifier?true===n2.shiftKey:"alt"!==t2.modifier||true===n2.altKey}pointerDown(t2){const n2=this.host.spec();if(!n2.enabled||0!==(t2.button??0)||this.drag)return false;const r2=this.host.frame();if(!r2)return false;const e2={x:t2.x,y:t2.y};return!(!(function(t3,n3){return t3.x>=n3.x&&t3.x<=n3.x+n3.width&&t3.y>=n3.y&&t3.y<=n3.y+n3.height})(e2,r2.plot)||!this.modifierHeld(n2,t2)||(this.drag={pointerId:t2.pointerId,start:e2,active:false,lasso:"lasso"===n2.type?[e2]:null,lastMoveAt:Number.NEGATIVE_INFINITY},0))}activate(t2,n2){t2.active=true,this.host.standDown(),this.host.start?.({type:n2.type,coverage:n2.coverage})}reportMove(t2,n2,r2,e2){if(!this.host.move)return;const i2=(this.host.now??yn)();if(i2-t2.lastMoveAt<n2.moveThrottleMs)return;const o2="polygon"===r2.kind?rn(r2.points,e2.xScale,e2.yScale):"band"===r2.kind?Zt("x"===r2.axis?{x:r2.min,y:e2.plot.y,width:r2.max-r2.min,height:0}:{x:e2.plot.x,y:r2.min,width:0,height:r2.max-r2.min},r2.axis,e2.xScale,e2.yScale):nn(r2.rect,e2.xScale,e2.yScale);if(!o2)return;t2.lastMoveAt=i2;const s2={area:o2};if(n2.liveSelection){const t3=dn([r2],this.host.points());s2.selected=t3,s2.count=pn(t3)}this.host.move(s2)}pointerMove(t2){const n2=this.drag;if(!n2||n2.pointerId!==t2.pointerId)return false;const r2=this.host.frame();if(!r2)return false;const e2=this.host.spec(),i2=e2.minSizePx;if(n2.lasso){const o3=gn({x:t2.x,y:t2.y},r2.plot);if(cn(n2.lasso[n2.lasso.length-1],o3,2)&&n2.lasso.push(o3),!n2.active){if(n2.lasso.length<3||!Qt(sn(n2.lasso),i2))return false;this.activate(n2,e2)}this.previewShown=true;const s3={kind:"polygon",points:[...n2.lasso]};return this.host.preview(s3),this.reportMove(n2,e2,s3,r2),true}const o2=Lt(n2.start,{x:t2.x,y:t2.y},r2.plot),s2=e2.coverage;if(!n2.active){if(!("xy"===s2?Qt(o2,i2):Vt(o2,s2,i2)))return false;this.activate(n2,e2)}this.previewShown=true;const u2="xy"===s2?{kind:"rect",rect:o2}:"x"===s2?{kind:"band",axis:"x",min:o2.x,max:o2.x+o2.width}:{kind:"band",axis:"y",min:o2.y,max:o2.y+o2.height};return this.host.preview(u2),this.reportMove(n2,e2,u2,r2),true}pointerUp(t2){const n2=this.drag;if(!n2||n2.pointerId!==t2.pointerId)return;this.drag=null,this.hidePreview();const r2=this.host.frame(),e2=this.host.spec();if(r2)if(n2.active){let i2;if(this.suppressClick=true,n2.lasso){const o3=gn({x:t2.x,y:t2.y},r2.plot);cn(n2.lasso[n2.lasso.length-1],o3,2)&&n2.lasso.push(o3),Qt(sn(n2.lasso),e2.minSizePx)&&(i2=rn(n2.lasso,r2.xScale,r2.yScale))}else{const o3=Lt(n2.start,{x:t2.x,y:t2.y},r2.plot);"xy"===e2.coverage?Qt(o3,e2.minSizePx)&&(i2=nn(o3,r2.xScale,r2.yScale)):Vt(o3,e2.coverage,e2.minSizePx)&&(i2=Zt(o3,e2.coverage,r2.xScale,r2.yScale))}let o2=null;if(i2){const t3=this.host.state()?.areas??[];o2=this.transition({areas:"multiple"===e2.mode?[...t3,i2]:[i2]},"drag")}this.host.end?.(o2??this.detail("drag"))}else e2.clearOnClick&&(this.host.state()?.areas.length??0)>0&&(this.suppressClick=true,this.transition(null,"clear"))}pointerCancel(){const t2=this.drag;this.drag=null,this.hidePreview(),t2?.active&&this.host.end?.(this.detail("drag"))}hidePreview(){this.previewShown&&(this.previewShown=false,this.host.preview(null))}consumeSuppressedClick(){return!!this.suppressClick&&(this.suppressClick=false,true)}keyDown(t2){const n2=this.host.spec();return!(!n2.enabled||!n2.keyboard||"Escape"!==t2.key||t2.ctrlKey||t2.metaKey||t2.altKey||0===(this.host.state()?.areas.length??0)||(this.transition(null,"keyboard"),0))}dispose(){this.drag=null,this.hidePreview(),this.suppressClick=false}}export{kt as A,mn as B,Pt as D,Ut as S,Et as a,R as b,Bt as c,t as d,u as e,o as f,V as g,W as h,Z as i,bt as j,X as k,Y as l,wt as m,_ as n,Mt as o,tt as p,vt as q,Q as r,L as s,qt as t,Gt as u,on as v,hn as w,tn as x,Ft as y,Tt as z};
@@ -0,0 +1 @@
1
+ const e={aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aqua:[0,255,255,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],black:[0,0,0,1],blanchedalmond:[255,235,205,1],blue:[0,0,255,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],fuchsia:[255,0,255,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],gray:[128,128,128,1],green:[0,128,0,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],lime:[0,255,0,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],maroon:[128,0,0,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],navy:[0,0,128,1],oldlace:[253,245,230,1],olive:[128,128,0,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],purple:[128,0,128,1],rebeccapurple:[102,51,153,1],red:[255,0,0,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],silver:[192,192,192,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],teal:[0,128,128,1],thistle:[216,191,216,1],tomato:[255,99,71,1],transparent:[0,0,0,0],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],white:[255,255,255,1],whitesmoke:[245,245,245,1],yellow:[255,255,0,1],yellowgreen:[154,205,50,1]};function r(e2,r2,n2){return Number.isNaN(e2)||e2<r2?r2:e2>n2?n2:e2}function n(e2){return Math.round(r(e2,0,255))}function l(e2){return r(e2,0,1)}function t(e2){const r2=e2.trim();if(r2.endsWith("%")){const e3=Number(r2.slice(0,-1));return Number.isFinite(e3)?e3/100*255:NaN}const n2=Number(r2);return Number.isFinite(n2)?n2:NaN}function a(e2){const r2=e2.trim();if(r2.endsWith("%")){const e3=Number(r2.slice(0,-1));return Number.isFinite(e3)?e3/100:NaN}const n2=Number(r2);return Number.isFinite(n2)?n2:NaN}function u(e2){const n2=e2.trim();let l2;return l2=n2.endsWith("%")?Number(n2.slice(0,-1)):Number(n2),Number.isFinite(l2)?r(l2,0,100)/100:NaN}function i(e2){const r2=e2.trim();if(0===r2.length)return null;if(r2.includes(",")){const e3=r2.split(",").map((e4=>e4.trim()));return e3.some((e4=>0===e4.length))?null:3===e3.length?{channels:e3,alpha:null}:4===e3.length?{channels:e3.slice(0,3),alpha:e3[3]}:null}const n2=r2.indexOf("/");let l2,t2=null;if(n2>=0){if(l2=r2.slice(0,n2),t2=r2.slice(n2+1).trim(),0===t2.length)return null}else l2=r2;const a2=l2.split(/\s+/).filter((e3=>e3.length>0));return 3!==a2.length?null:{channels:a2,alpha:t2}}function o(r2){if("string"!=typeof r2)return null;const o2=r2.trim();if(0===o2.length)return null;if(35===o2.charCodeAt(0))return(function(e2){const r3=e2.slice(1);if(!/^[0-9a-f]+$/i.test(r3))return null;let t2,a2,u2,i2=1;if(3===r3.length)t2=parseInt(r3[0]+r3[0],16),a2=parseInt(r3[1]+r3[1],16),u2=parseInt(r3[2]+r3[2],16);else if(4===r3.length)t2=parseInt(r3[0]+r3[0],16),a2=parseInt(r3[1]+r3[1],16),u2=parseInt(r3[2]+r3[2],16),i2=parseInt(r3[3]+r3[3],16)/255;else if(6===r3.length)t2=parseInt(r3.slice(0,2),16),a2=parseInt(r3.slice(2,4),16),u2=parseInt(r3.slice(4,6),16);else{if(8!==r3.length)return null;t2=parseInt(r3.slice(0,2),16),a2=parseInt(r3.slice(2,4),16),u2=parseInt(r3.slice(4,6),16),i2=parseInt(r3.slice(6,8),16)/255}return{r:n(t2),g:n(a2),b:n(u2),a:l(i2),space:"rgb"}})(o2);const s=o2.indexOf("(");if(s>0&&o2.endsWith(")")){const e2=o2.slice(0,s).trim().toLowerCase(),r3=o2.slice(s+1,-1);switch(e2){case"rgb":case"rgba":return(function(e3){const r4=i(e3);if(!r4)return null;const u2=t(r4.channels[0]),o3=t(r4.channels[1]),s2=t(r4.channels[2]);if(Number.isNaN(u2)||Number.isNaN(o3)||Number.isNaN(s2))return null;let c2=1;if(null!==r4.alpha){const e4=a(r4.alpha);if(Number.isNaN(e4))return null;c2=e4}return{r:n(u2),g:n(o3),b:n(s2),a:l(c2),space:"rgb"}})(r3);case"hsl":case"hsla":return(function(e3){const r4=i(e3);if(!r4)return null;const t2=(function(e4){const r5=e4.trim().toLowerCase();let n2;if(n2=r5.endsWith("grad")?360*Number(r5.slice(0,-4))/400:r5.endsWith("turn")?360*Number(r5.slice(0,-4)):r5.endsWith("deg")?Number(r5.slice(0,-3)):r5.endsWith("rad")?180*Number(r5.slice(0,-3))/Math.PI:Number(r5),!Number.isFinite(n2))return NaN;const l2=n2%360;return l2<0?l2+360:l2})(r4.channels[0]),o3=u(r4.channels[1]),s2=u(r4.channels[2]);if(Number.isNaN(t2)||Number.isNaN(o3)||Number.isNaN(s2))return null;let c2=1;if(null!==r4.alpha){const e4=a(r4.alpha);if(Number.isNaN(e4))return null;c2=e4}const[g,d,b]=(function(e4,r5,l2){const t3=(1-Math.abs(2*l2-1))*r5,a2=e4/60,u2=t3*(1-Math.abs(a2%2-1));let i2=0,o4=0,s3=0;a2>=0&&a2<1?(i2=t3,o4=u2,s3=0):a2<2?(i2=u2,o4=t3,s3=0):a2<3?(i2=0,o4=t3,s3=u2):a2<4?(i2=0,o4=u2,s3=t3):a2<5?(i2=u2,o4=0,s3=t3):(i2=t3,o4=0,s3=u2);const c3=l2-t3/2;return[n(255*(i2+c3)),n(255*(o4+c3)),n(255*(s3+c3))]})(t2,o3,s2);return{r:g,g:d,b,a:l(c2),space:"hsl",h:t2,s:o3,l:s2}})(r3);default:return null}}const c=e[o2.toLowerCase()];return c?{r:c[0],g:c[1],b:c[2],a:c[3],space:"rgb"}:null}export{o as p};
@@ -0,0 +1 @@
1
+ import{c as t,L as e,d as n,w as r,a as o,b as i}from"./p-DUELYDa7.js";const c=Object.freeze(Object.assign(Object.create(null),{"chart.branding":Object.freeze({tier:"pro",status:"implemented"}),"chart.data-zoom":Object.freeze({tier:"free",status:"implemented"}),"chart.facade":Object.freeze({tier:"free",status:"implemented"}),"chart.navigator":Object.freeze({tier:"free",status:"implemented"}),"chart.stock":Object.freeze({tier:"pro",status:"implemented"}),"chart.streaming":Object.freeze({tier:"pro",status:"implemented"}),"chart.visual-map":Object.freeze({tier:"free",status:"implemented"}),"chart.wafer-correlation":Object.freeze({tier:"free",status:"implemented"}),"chart.wafer-stack":Object.freeze({tier:"free",status:"implemented"}),"chart.webgpu":Object.freeze({tier:"pro",status:"implemented"}),"chart.yield-zone":Object.freeze({tier:"free",status:"implemented"})})),a=Object.freeze({webgpu:"chart.webgpu",streaming:"chart.streaming",stock:"chart.stock",branding:"chart.branding"}),u=/^chart\.type\.[a-z0-9]+(?:-[a-z0-9]+)*$/;function f(t2){return`chart.type.${t2}`}const s="chart",l=["none","pending","valid","insufficient","not-yet-valid","expired","invalid","revoked","unsupported-environment"],d=/^[a-z]+(?:-[a-z]+)*$/;let p=null,h=null,y=null;const m=new WeakMap,g=new Map,b=new Map;let v=[],w=false,j=null;function O(t2,e2,n2){return Object.freeze({product:s,feature:t2,state:e2,code:n2,allowed:"valid"===e2})}function k(t2){if("string"!=typeof(e2=t2)||!(u.test(e2)||Object.prototype.hasOwnProperty.call(c,e2)&&"pro"===c[e2].tier))throw new TypeError(`Chart license: "${String(t2).slice(0,64)}" is not a Chart Pro feature ID (chart.webgpu, chart.streaming, chart.stock, chart.branding or chart.type.<type>).`);var e2}function T(t2){const e2=t2?.localName;return"string"==typeof e2&&e2.length>0?e2:void 0}function M(t2){return"load-failed"===t2?"unsupported-environment":t2}function $(t2){const e2=globalThis.reportError;"function"==typeof e2?e2(t2):"undefined"!=typeof console&&console.error(t2)}function D(t2,e2,r2){const i2=M(e2.state),c2=M(e2.previousState);if(i2!==c2)try{n(t2,o,{product:s,feature:e2.feature,state:i2,code:r2,tag:T(t2),previousState:c2})}catch(t3){$(t3)}}function x(){w=false;const t2=v;v=[];for(const{el:e2,change:n2,code:r2}of t2){const t3=g.get(e2);if(t3){D(e2,n2,r2);for(const e3 of[...t3.listeners])try{e3(n2)}catch(t4){$(t4)}}}}function z(t2,e2){let n2=m.get(t2);n2||(n2=new Map,m.set(t2,n2));const r2=n2.get(e2.feature);return n2.set(e2.feature,e2.state),void 0!==r2&&r2!==e2.state&&g.has(t2)&&(v.push({el:t2,change:Object.freeze({feature:e2.feature,state:e2.state,previousState:r2}),code:e2.code}),w||(w=true,queueMicrotask(x))),e2}function C(){if(p)return Promise.resolve(p);if(null!==y)return Promise.resolve(null);if(h)return h;let t2;try{t2=import("./p-CFyLRM--.js")}catch(e2){t2=Promise.reject(e2)}return h=t2.then((t3=>{if(h=null,"object"!=typeof(e2=t3)||null===e2||"function"!=typeof e2.resolveLicenseContext||"function"!=typeof e2.getEntitlement||"function"!=typeof e2.whenLicenseSettled||"function"!=typeof e2.onLicenseChange)return P("the license module has an unexpected shape"),null;var e2;p=t3;for(const t4 of[...g.values()])L(t4);for(const t4 of[...g.values()])U(t4);return t3}),(t3=>(h=null,P((function(t4){try{return"object"==typeof t4&&null!==t4&&"string"==typeof t4.message?t4.message:String(t4)}catch{return"unknown reason"}})(t3)),null))),h}function P(t2){y=t2;for(const t3 of[...g.values()]){const e2=m.get(t3.el);if(e2)for(const n2 of[...e2.keys()])z(t3.el,O(n2,"load-failed","load-failed"))}}function S(){return null!==y&&(y=null),C().then((t2=>null!==t2))}function E(t2,e2){try{return t2.resolveLicenseContext(e2)}catch{return null}}function q(t2){const e2=b.get(t2);if(e2)for(const t3 of[...e2.elements])U(t3)}function L(t2,e2){if(!p)return;const n2=void 0===e2?E(p,t2.el):e2;if(n2===t2.context)return;if(F(t2),null===n2)return;let r2=b.get(n2);if(!r2){let t3;try{t3=p.onLicenseChange((()=>q(n2)),{context:n2})}catch{return}r2={elements:new Set,stop:t3,boundary:void 0,cancelBoundary:void 0},b.set(n2,r2)}r2.elements.add(t2),t2.context=n2}function F(t2){const e2=t2.context;if(t2.context=null,null===e2)return;const n2=b.get(e2);if(n2&&(n2.elements.delete(t2),!(n2.elements.size>0))){b.delete(e2),(function(t3){t3.cancelBoundary?.(),t3.cancelBoundary=void 0,t3.boundary=void 0,R()})(n2);try{n2.stop()}catch(t3){$(t3)}}}function N(t2,e2,n2){let r2;e2.cancelBoundary?.(),e2.boundary=n2;const o2=()=>{r2=(function(r3,i2){const c2=globalThis.setTimeout((()=>{if(b.get(t2)===e2&&e2.boundary===n2){if(Date.now()<n2)return o2();e2.boundary=void 0,e2.cancelBoundary=void 0,R(),q(t2)}}),i2),a2=c2?.unref;return"function"==typeof a2&&a2.call(c2),c2})(0,Math.min(Math.max(n2-Date.now(),0),2147483647))};o2(),e2.cancelBoundary=()=>globalThis.clearTimeout(r2),R()}function B(){for(const[t2,e2]of[...b])void 0!==e2.boundary&&N(t2,e2,e2.boundary)}function I(t2){return"function"==typeof t2?.addEventListener&&"function"==typeof t2.removeEventListener}function R(){let t2=false;for(const e3 of b.values())t2||=void 0!==e3.boundary;if(t2===(null!==j))return;if(!t2){for(const{target:t3,type:e3}of j??[])t3.removeEventListener(e3,B);return void(j=null)}const e2=globalThis,n2=[];I(e2.document)&&n2.push({target:e2.document,type:"visibilitychange"}),I(e2)&&n2.push({target:e2,type:"pageshow"},{target:e2,type:"focus"});for(const{target:t3,type:e3}of n2)t3.addEventListener(e3,B);j=n2}function U(t2){const e2=m.get(t2.el);if(e2&&0!==e2.size)for(const n2 of[...e2.keys()])W(t2.el,n2);else L(t2)}function W(t2,e2){if(k(e2),null!==y)return z(t2,O(e2,"load-failed","load-failed"));if(!p)return C(),z(t2,O(e2,"pending","verification-pending"));const n2=E(p,t2),r2=g.get(t2);if(r2&&L(r2,n2),null===n2)return z(t2,O(e2,"pending","context-required"));let o2;try{o2=p.getEntitlement(n2,s,e2)}catch{return z(t2,O(e2,"pending","verification-pending"))}return r2?.context===n2&&(function(t3,e3){const n3=b.get(t3);if(!n3)return;const r3=(function(t4){const e4="valid"===t4.state?t4.paidThrough:"not-yet-valid"===t4.state?t4.validFrom:void 0;if("string"!=typeof e4)return;const n4=Date.parse(e4);return Number.isFinite(n4)?n4:void 0})(e3);void 0===r3||r3<=Date.now()||void 0!==n3.boundary&&n3.boundary<=r3||N(t3,n3,r3)})(n2,o2),z(t2,(function(t3,e3){const n3=e3?.state;return"string"==typeof n3&&l.includes(n3)?O(t3,n3,"string"==typeof e3?.code&&d.test(e3.code)?e3.code:"malformed"):O(t3,"invalid","malformed")})(e2,o2))}async function Y(t2,e2,n2){k(e2);const r2=(async()=>{const n3=await C();if(!n3||p!==n3)return W(t2,e2);const r3=E(n3,t2);if(null===r3)return W(t2,e2);let o3=W(t2,e2);for(let i3=0;i3<8&&"pending"===o3.state;i3++){try{await n3.whenLicenseSettled(r3)}catch{break}o3=W(t2,e2)}return o3})(),o2=n2?.timeoutMs;if("number"!=typeof o2||!Number.isFinite(o2)||o2<0)return r2;let i2;const c2=new Promise((n3=>{i2=setTimeout((()=>n3(W(t2,e2))),o2)}));try{return await Promise.race([r2,c2])}finally{clearTimeout(i2)}}function A(t2,e2){if("function"!=typeof e2)throw new TypeError("Chart license subscribe needs a listener function.");let n2=g.get(t2);n2||(n2={el:t2,listeners:new Set,context:null},g.set(t2,n2),p&&U(n2)),n2.listeners.add(e2);const r2=n2;let o2=true;return()=>{o2&&(o2=false,r2.listeners.delete(e2),r2.listeners.size>0||g.get(t2)!==r2||(g.delete(t2),F(r2)))}}function G(o2,c2,a2={}){const u2=a2.code??(function(t2){if("valid"!==t2)return"pending"===t2?"license-pending":"load-failed"===t2?"load-failed":"license-required"})(c2.state);if(void 0===u2)throw new TypeError("refuseChartFeature: a valid entitlement is not a refusal; pass options.code for a non-license cause.");const f2=a2.tag??T(o2),l2=M(c2.state),d2=t({code:u2,product:s,feature:c2.feature,state:l2,tag:f2,method:a2.method,reason:a2.reason??("load-failed"===u2&&null!==y?y:void 0)});try{o2?.setAttribute(e.refused,c2.feature)}catch{}try{n(o2,i,{product:s,feature:c2.feature,state:l2,code:u2,tag:d2.tag,method:d2.method})}catch(t2){$(t2)}return r(`${s}|${d2.tag??""}|${c2.feature}|${c2.state}`,d2.message),d2}function H(t2,n2,r2){if(t2)try{if(null===r2||null===n2)return t2.removeAttribute(e.state),void t2.removeAttribute(e.feature);t2.setAttribute(e.state,r2),t2.setAttribute(e.feature,n2)}catch{}}function J(t2,n2){if(t2)try{n2?t2.setAttribute(e.frozen,""):t2.removeAttribute(e.frozen)}catch{}}export{a as C,Y as a,G as b,f as c,J as d,W as e,H as f,S as r,A as s};
@@ -0,0 +1 @@
1
+ import{B as e,d as t,b as n,a as o,c as i,p as s,e as a,f as u,g as c}from"./p-C-xxpQIO.js";import{C as r,e as d,a as l,s as f,b as m}from"./p-HAy9hTj2.js";import{C as p}from"./p-C374wsaF.js";import"./p-AzDRbG7D.js";import"./p-DUELYDa7.js";const g=r.branding,y=e.chart,h="brandLogo",v=new WeakSet;function x(e2){v.has(e2)||(v.add(e2),m(e2,{feature:g,state:"valid"},{method:h,code:"module-missing"}))}const b=new WeakMap;function w(e2,t2){const n2=b.get(e2);if(n2&&Object.is(n2.value,t2))return n2.request;const o2=s(t2);return b.set(e2,{value:t2,request:o2}),o2}const S=e2=>"none"===e2.kind||"custom"===e2.kind;function j(e2,n2,o2){const i2=w(e2,n2);if(!S(i2))return{decision:t({requested:i2}),licensed:false};const s2=d(e2,g).state;return"valid"===s2&&"community"===p?(x(e2),{decision:t({requested:i2,entitlementState:"module-missing"}),licensed:true,state:s2}):{decision:t({requested:i2,entitlementState:s2,pendingTimedOut:true===o2}),licensed:true,state:s2}}async function q(e2,n2,o2){const i2=w(e2,n2);if(!S(i2))return t({requested:i2,purpose:"export"});const s2=await l(e2,g,{timeoutMs:o2});return"valid"===s2.state&&"community"===p?(x(e2),t({requested:i2,entitlementState:"module-missing",purpose:"export"})):t({requested:i2,entitlementState:s2.state,purpose:"export"})}async function $(e2,t2,i2){const s2=await q(e2,t2,i2),a2=n(s2);if(null===a2)return null;const u2=s2.logo?.src;if("custom"!==a2||"string"!=typeof u2)return{mode:"default"};const c2=o(s2);return{mode:"custom",src:u2,width:c2.width,height:c2.height}}function k(e2,t2){return f(e2,(e3=>{e3.feature===g&&t2()}))}function C(e2,t2){if("valid"!==t2)try{m(e2,{feature:g,state:t2},{method:h})}catch(e3){const t3=globalThis.reportError;"function"==typeof t3&&t3(e3)}}const D=new Set;function O(e2,t2){D.has(e2)||(D.add(e2),"undefined"!=typeof console&&"function"==typeof console.warn&&console.warn(t2))}function W(e2,t2){O(`invalid|${e2}|${t2}`,`[Syidax] <${e2}> ${c(t2)}`)}function M(e2){O(`image|${e2}`,`[Syidax] <${e2}> brand-logo image could not be displayed (a Content-Security-Policy img-src without data: blocks it); the Syidax logo stays.`)}const R=new WeakMap,T=new Set;let z=-1/0;const A={mode:"default"},E={mode:"pending"},F=e2=>false===e2.isConnected,L=e2=>e2.localName||"sy-chart";function B(e2,t2){return t2?{mode:"default",diagnostic:e2,invalid:t2}:{mode:"default",diagnostic:e2}}function G(e2){const t2=e2.release;if(e2.release=null,T.delete(e2),t2)try{t2()}catch{}}function H(){const e2=Date.now();if(!(e2-z<1e3)){z=e2;for(const e3 of[...T]){const t2=e3.ref.deref();t2&&!F(t2)||G(e3)}}}const I=Object.freeze({"max-width":`${u}px`,"max-height":`${a}px`});function P(e2,t2,n2,s2){H();let a2=R.get(e2);a2||(a2={ref:"function"==typeof WeakRef?new WeakRef(e2):{deref:()=>e2},value:t2,update:s2,release:null,reported:null,imageFailed:null},R.set(e2,a2)),a2.update=s2,Object.is(a2.value,t2)||(a2.value=t2,a2.reported=null,a2.imageFailed=null);const{decision:u2,licensed:c2,state:r2}=j(e2,t2,n2);if(c2?(function(e3,t3){if(!t3.release)try{t3.release=k(e3,(()=>{const e4=t3.ref.deref();!e4||F(e4)?G(t3):t3.update()})),T.add(t3)}catch{t3.release=null}})(e2,a2):G(a2),"hidden-pending"===u2.mode)return E;if("invalid"===u2.requested)return u2.invalid&&W(L(e2),u2.invalid),B("invalid-value",u2.invalid);if(c2&&void 0!==r2&&"valid"!==r2)return(function(e3,t3,n3){t3.reported!==n3&&(t3.reported=n3,queueMicrotask((()=>C(e3,n3))))})(e2,a2,r2),B("pending"===r2?"license-pending":"load-failed"===r2?"load-failed":"license-required");if(a2.reported=null,"none"===u2.mode)return null;if("custom"!==u2.mode)return A;const d2=i(u2.logo?.src??"");if(!d2)return A;if(a2.imageFailed===d2.src)return B("custom-logo-unavailable");const l2=a2;return{mode:"custom",size:o(u2),image:{attrs:d2,style:I,onError:()=>(function(e3,t3,n3){t3.imageFailed!==n3&&(t3.imageFailed=n3,M(L(e3)),t3.update())})(e2,l2,d2.src)}}}function Q(e2){H();const t2=R.get(e2);t2&&G(t2)}export{g as CHART_BRAND_FEATURE,y as SHARED_CHART_BRAND_FEATURE,P as chartBrandView,j as decideChartBrand,Q as releaseChartBrandView,C as reportChartBrandRefusal,q as settleChartBrand,$ as settleChartBrandExport,M as warnChartBrandImage,W as warnInvalidChartBrand,k as watchChartBrand};
@@ -0,0 +1 @@
1
+ function t(n2,o){if(n2.length<=2)return n2;if(!Number.isFinite(o.plotSize)||o.plotSize<=0)return n2;if(o.measureText&&"horizontal"===o.orientation&&n2.length>256){const r2=t(n2,{...o,measureText:void 0});if(r2.length<n2.length)return t(r2,o)}const e=o.fontSize??11,i=o.minPadding??6,u=o.format??r;let f=0,c=0;for(const t2 of n2){const r2=u(t2);r2.length>f&&(f=r2.length);const n3=r2&&"horizontal"===o.orientation?o.measureText?.(r2,e):void 0,i2=void 0!==n3&&Number.isFinite(n3)&&n3>=0?n3:r2.length*e*.6;c=Math.max(c,i2)}if(0===f)return n2;const s="horizontal"===o.orientation?c+i:1.35*e+i,a=Math.abs(n2[n2.length-1].position-n2[0].position);if(a<=0)return n2;const h=a/(n2.length-1);if(h>=s)return n2;const M=Math.max(1,Math.ceil(s/h));if(M<=1)return n2;const l=[];for(let t2=0;t2<n2.length;t2++)t2%M==0&&l.push(n2[t2]);const m=n2[n2.length-1];if(l[l.length-1]!==m){const t2=l[l.length-1];t2&&Math.abs(m.position-t2.position)<s?l[l.length-1]=m:l.push(m)}return l}function r(t2){return t2.label??(Number.isInteger(t2.value)?`${t2.value}`:t2.value.toFixed(2))}function n(t2,r2,n2,o=8){if(t2.length<=2)return t2;if(!Number.isFinite(n2)||n2<=0)return t2;const e=t3=>("x"===r2?t3.x:t3.y)??0,i=Math.abs(e(t2[t2.length-1])-e(t2[0]));if(i<=0)return t2;const u=i/(t2.length-1);if(u>=o)return t2;const f=Math.max(1,Math.ceil(o/u));if(f<=1)return t2;const c=[];for(let r3=0;r3<t2.length;r3+=1)r3%f==0&&c.push(t2[r3]);const s=t2[t2.length-1];if(c[c.length-1]!==s){const t3=c[c.length-1];t3&&Math.abs(e(s)-e(t3))<o?c[c.length-1]=s:c.push(s)}return c}export{n as a,t};
@@ -0,0 +1 @@
1
+ const t="0",n=Object.freeze({min:0,max:1}),e=.001;function a(t2){return"number"==typeof t2&&Number.isFinite(t2)}function r(t2){if(!t2||!a(t2.min)||!a(t2.max))return{...n};let r2=Math.max(0,Math.min(t2.min,t2.max)),u2=Math.min(1,Math.max(t2.min,t2.max));return u2-r2<e&&(r2=Math.max(0,(r2+u2)/2-5e-4),u2=Math.min(1,r2+e),r2=u2-e),{min:r2,max:u2}}function u(n2){const e2=n2?.x?.[t],a2=n2?.y?.[t],u2=r(e2),s2=r(a2);return!e2||a2||o(u2)?!a2||e2||o(s2)?{x:u2,y:s2}:{x:c(s2),y:s2}:{x:u2,y:c(u2)}}function c(t2){const n2=Math.min(1,Math.max(e,t2.max-t2.min));return{min:.5-n2/2,max:.5+n2/2}}function o(t2){return t2.min<=0&&t2.max>=1}function s(t2,n2,e2){const a2=t2.max-t2.min,r2=r3=>n2+(r3-t2.min)/a2*(e2-n2);return r2.invert=r3=>e2===n2?t2.min:t2.min+(r3-n2)/(e2-n2)*a2,r2.domain=()=>[t2.min,t2.max],r2.range=()=>[n2,e2],r2}function i(e2,a2){const{x:r2,y:c2}=u(a2),o2={x:e2.x,y:e2.y,width:Math.max(0,e2.width),height:Math.max(0,e2.height)};return{plot:o2,xAxes:[{key:t,axis:{show:true},scale:s(r2,o2.x,o2.x+o2.width),fullExtent:{...n}}],yAxes:[{key:t,axis:{show:true},scale:s(c2,o2.y+o2.height,o2.y),fullExtent:{...n}}],aspect:"locked"}}function x(t2,n2){const{x:e2,y:a2}=u(n2),r2=!(o(e2)&&o(a2)),c2=Math.max(0,t2.width),s2=Math.max(0,t2.height),i2=r2?1/(e2.max-e2.min):1,x2=r2?1/(a2.max-a2.min):1;return{zoomed:r2,scaleX:i2,scaleY:x2,translateX:r2?t2.x*(1-i2)-e2.min*c2*i2:0,translateY:r2?(t2.y+s2)*(1-x2)+a2.min*s2*x2:0,x:e2,y:a2}}function h(t2,n2,e2){return{x:n2*t2.scaleX+t2.translateX,y:e2*t2.scaleY+t2.translateY}}function f(t2,n2,e2){return{x:(n2-t2.translateX)/t2.scaleX,y:(e2-t2.translateY)/t2.scaleY}}function M(t2){if(!t2.zoomed)return"";const n2=t3=>Number.isFinite(t3)?String(Math.round(1e6*t3)/1e6):"0";return`matrix(${n2(t2.scaleX)} 0 0 ${n2(t2.scaleY)} ${n2(t2.translateX)} ${n2(t2.translateY)})`}function l(t2){return Math.sqrt(Math.max(1e-9,t2.scaleX*t2.scaleY))}export{i as a,M as b,l as c,f,h as t,x as v};
@@ -0,0 +1 @@
1
+ import{t as e,d as a}from"./p-B6K1arcd.js";function n(n2){return e(a({requested:n2.requested,engineClass:"standard-only",entitlement:"pending",moduleAvailable:false,gpuAvailable:false,hasStandardRenderer:true,autoWantsPro:true===n2.autoWantsPro,onUnavailable:n2.onUnavailable,noProRendererReason:(r=n2.renderer,`no GPU ${r} renderer exists`)}));var r}export{n as s};
@@ -0,0 +1 @@
1
+ import{f as t,h as n}from"./p-DChj4qx2.js";import{g as r,h as e,i as o,s as a,a as s,t as i,j as c,k as u,l,u as f,b as d,r as h,v as b}from"./p-AzDRbG7D.js";const y="sy-chart-brand",g=[255,255,255],p=[0,0,0],m=[120,96,176],k=(t2,n2,r2)=>t2.map(((t3,e2)=>Math.round(t3*(1-r2)+n2[e2]*r2))),v=t2=>"#"+t2.map((t3=>t3.toString(16).padStart(2,"0"))).join("");function w(t2){if("string"!=typeof t2)return null;const n2=/^#([\da-f]{3}|[\da-f]{6})$/i.exec(t2.trim());if(n2){const t3=3===n2[1].length?n2[1].replace(/./g,(t4=>t4+t4)):n2[1];return[0,2,4].map((n3=>parseInt(t3.slice(n3,n3+2),16)))}const r2=/^rgba?\(\s*([\d.]+%?)[\s,]+([\d.]+%?)[\s,]+([\d.]+%?)(?:\s*[,/]\s*([\d.]+%?))?\s*\)$/i.exec(t2.trim());return!r2||void 0!==r2[4]&&parseFloat(r2[4])<(r2[4].endsWith("%")?99:.99)?null:r2.slice(1,4).map((t3=>Math.round(Math.max(0,Math.min(255,parseFloat(t3)*(t3.endsWith("%")?2.55:1))))))}function x(t2){const n2=t2.map((t3=>{const n3=t3/255;return n3<=.04045?n3/12.92:((n3+.055)/1.055)**2.4}));return .2126*n2[0]+.7152*n2[1]+.0722*n2[2]}function S(t2,n2){const r2=w(t2)??g,e2=w(n2)??m,o2=x(r2)>.179,a2=o2?p:g,s2=o2?g:p;let i2=k(r2,e2,.035),c2=k(o2?[24,25,31]:[245,245,249],e2,o2?.32:.18);const u2=()=>(function(t3,n3){const r3=x(t3),e3=x(n3);return(Math.max(r3,e3)+.05)/(Math.min(r3,e3)+.05)})(c2,i2);for(let t3=0;t3<24&&u2()<7.1;t3++)c2=k(c2,a2,.12);for(let t3=0;t3<24&&u2()<7.1;t3++)i2=k(i2,s2,.12);return{ink:v(c2),outline:v(i2)}}function M(t2,n2){const r2=w(t2);if(r2)return v(r2);if(!t2||!n2?.defaultView?.CSS?.supports("color",t2)||/^(transparent|currentcolor|inherit|initial|unset|revert)$/i.test(t2.trim()))return;const e2=n2.createElement("canvas");e2.width=e2.height=1;const o2=e2.getContext("2d",{willReadFrequently:true});if(!o2)return;o2.fillStyle=t2,o2.fillRect(0,0,1,1);const a2=o2.getImageData(0,0,1,1).data;return 255===a2[3]?v([a2[0],a2[1],a2[2]]):void 0}const $=new WeakMap;function j(t2,n2={}){const r2=t2?.ownerDocument,e2=r2?.defaultView;if(!e2?.getComputedStyle)return S(n2.background,n2.color);const o2=t2.matches?.(".sy-chart-brand__mark")?t2:t2.querySelector?.(":scope > .sy-chart-brand > svg"),a2=e2.getComputedStyle(t2),s2=(t3,n3,r3)=>{const s3=o2?.querySelector(`[data-sy-brand-source="${t3}"]`);return s3?e2.getComputedStyle(s3).fill:a2.getPropertyValue?.(n3).trim()||r3},i2=n2.background??s2("background","--sy-chart-bg",a2.backgroundColor||"#fff"),c2=n2.color??s2("accent","--sy-chart-accent",a2.getPropertyValue?.("--sy-chart-series-0").trim()||"#7860b0");let u2=M(i2,r2);for(let n3=t2;!u2&&n3;n3=n3.parentElement??n3.getRootNode?.()?.host??null)u2=M(e2.getComputedStyle(n3).backgroundColor,r2);return S(u2,M(c2,r2))}function N(t2){const n2=j(t2);for(const[r2,e2]of[["--sy-chart-brand-ink",n2.ink],["--sy-chart-brand-outline",n2.outline]])t2.style.getPropertyValue(r2)!==e2&&t2.style.setProperty(r2,e2)}function W(t2){if(!t2?.ownerDocument?.defaultView)return;const n2=t2.ownerDocument,r2=n2.defaultView;let e2=$.get(n2);if(!e2){const t3=new Set,o2=new WeakSet;let a2=false;const s2=["(prefers-color-scheme: dark)","(prefers-contrast: more)","(forced-colors: active)"].map((t4=>r2.matchMedia(t4))),i2=()=>{a2||(a2=true,queueMicrotask((()=>{a2=false;for(const n3 of t3){const r3=n3.deref();r3?.isConnected?N(r3):(t3.delete(n3),r3&&o2.delete(r3))}t3.size||(u2.disconnect(),s2.forEach((t4=>t4.removeEventListener("change",i2))),n2.removeEventListener("load",l2,true),$.delete(n2))})))},c2=(t4,n3)=>{for(let r3=n3;r3;r3=r3.parentNode??r3.host??null)if(r3===t4)return true;return false},u2=new r2.MutationObserver((r3=>{const e3=[...t3].map((t4=>t4.deref())).filter(Boolean);(e3.some((t4=>!t4.isConnected))||r3.some((t4=>{const r4=t4.target;return!r4.closest?.(".sy-chart-brand")&&("STYLE"===r4.nodeName||"STYLE"===r4.parentNode?.nodeName||r4===n2.head||e3.some((t5=>c2(r4,t5))))})))&&i2()}));u2.observe(n2.documentElement,{subtree:true,attributes:true,childList:true,characterData:true});const l2=t4=>{"LINK"===t4.target?.tagName&&i2()};n2.addEventListener("load",l2,true),s2.forEach((t4=>t4.addEventListener("change",i2))),e2={add(r3){o2.has(r3)||(o2.add(r3),t3.add(new WeakRef(r3)));const e3=r3.getRootNode();e3!==n2&&u2.observe(e3,{subtree:true,attributes:true,childList:true,characterData:true}),i2()}},$.set(n2,e2)}e2.add(t2)}const q=r,D=e,L=1,R=2147483646,T={"top-left":"tl","top-right":"tr","bottom-left":"bl","bottom-right":"br"};function E(t2){const n2=t2,r2=n2?.brandPosition??n2?.getAttribute?.("brand-position");return"string"==typeof r2&&Object.hasOwn(T,r2)?T[r2]:"br"}function O(t2,n2,r2,e2){if(![t2.width,t2.height,n2.width,n2.height].every((t3=>Number.isFinite(t3)&&t3>0)))return null;const o2=e2,a2="data-sy-chart-plot";let s2=t2.plot;const i2=t3=>!!t3&&[t3.x,t3.y,t3.width,t3.height].every(Number.isFinite)&&t3.width>0&&t3.height>0;if(i2(s2)){const n3=JSON.stringify([s2.x/t2.width,s2.y/t2.height,s2.width/t2.width,s2.height/t2.height]);o2?.getAttribute?.(a2)!==n3&&o2?.setAttribute?.(a2,n3)}else if(o2)try{const n3=o2.hasAttribute?.(a2)?o2:o2.querySelector?.(`[${a2}]`),r3=JSON.parse(n3?.getAttribute(a2)??"null");if(Array.isArray(r3)&&4===r3.length&&r3.every(Number.isFinite)){let e3=0,a3=0,i3=t2.width,c3=t2.height;if(n3!==o2){const r4=o2.getBoundingClientRect(),s3=n3.getBoundingClientRect();if(r4.width>0&&r4.height>0&&s3.width>0&&s3.height>0){const n4=o2.offsetWidth||r4.width,u3=o2.offsetHeight||r4.height,l3=o2,f3=Number(l3.width)>0?Number(l3.width):n4,d3=Number(l3.height)>0?Number(l3.height):u3,h3=t2.width/f3*n4/r4.width,b3=t2.height/d3*u3/r4.height;e3=(s3.left-r4.left)*h3,a3=(s3.top-r4.top)*b3,i3=s3.width*h3,c3=s3.height*b3}}s2={x:e3+r3[0]*i3,y:a3+r3[1]*c3,width:r3[2]*i3,height:r3[3]*c3}}}catch{}const c2=i2(s2)?s2:{x:0,y:0,width:t2.width,height:t2.height},u2=Math.max(0,c2.x),l2=Math.max(0,c2.y),f2=Math.min(t2.width,c2.x+c2.width),d2=Math.min(t2.height,c2.y+c2.height);if(f2<=u2||d2<=l2)return null;const h2=Math.min(1,(f2-u2)/n2.width,(d2-l2)/n2.height),b2=n2.width*h2,y2=n2.height*h2;return{corner:r2,x:"tr"===r2||"br"===r2?f2-b2:u2,y:"bl"===r2||"br"===r2?d2-y2:l2,width:b2,height:y2,compact:h2<1}}const _="data-sy-brand-host",C="chart",F=1e4;function I(t2){return null==t2||"string"==typeof t2&&""===t2.trim()}function P(t2,n2){let r2=t2;for(let t3=0;r2&&t3<512;t3++){const t4=r2.parentElement?null:r2.getRootNode?.();if(r2=r2.parentElement??(t4&&t4!==r2?t4.host??null:null),r2&&n2(r2))return r2}return null}const z=new WeakSet;let A=null,B=null,J=null;function Y(){return A}function G(){return J}function K(){if(A)return Promise.resolve(A);if(null!==J)return Promise.resolve(null);if(!B){let t2;try{t2=import("./p-I8kmugWt.js")}catch(n2){t2=Promise.reject(n2)}B=t2.then((t3=>(B=null,"function"!=typeof t3?.chartBrandView||"function"!=typeof t3.settleChartBrandExport?(J="the branding module has an unexpected shape",null):A=t3)),(t3=>(B=null,J=String(t3?.message??t3)||"unknown reason",null)))}return B}const H=R,Q=R,U={mode:"default"},V={width:D,height:q},X=S(),Z={position:"absolute",visibility:"visible",margin:"0",padding:"0",border:"0",background:"none","box-sizing":"content-box","line-height":"0",color:"var(--sy-chart-text, var(--color-text, currentColor))","user-select":"none","-webkit-user-select":"none","print-color-adjust":"exact","-webkit-print-color-adjust":"exact"},tt=new WeakMap,nt=new Set;let rt=false;const et=new Set,ot=t2=>Math.round(100*t2)/100,at=t2=>`${ot(t2)}px`,st=t2=>({mode:"default",diagnostic:t2});function it(n2){try{const r2=n2.ref.deref();r2&&t(r2)}catch{}}function ct(t2){true!==t2.wait&&(clearTimeout(t2.wait),t2.wait=void 0)}function ut(t2,n2){Y()?.releaseChartBrandView(n2),ct(t2),t2.waiting=false}function lt(t2){for(const n2 of[...nt]){const r2=n2.ref.deref();r2?t2(n2,r2):nt.delete(n2)}}function ft(t2,n2){const r2=t2?{left:at(t2.x),top:at(t2.y),width:at(t2.width),height:at(t2.height)}:{right:"0px",bottom:"0px"};return r2["pointer-events"]="none",r2["z-index"]=String(n2?Q:H),r2.display="block",r2.opacity=String(1),{...Z,...r2}}function dt(r2,e2,g2,p2={}){if(!r2)return null;const m2=(function(t2){let n2=tt.get(t2);return n2||(n2={ref:"function"==typeof WeakRef?new WeakRef(t2):{deref:()=>t2},value:void 0,wait:void 0},tt.set(t2,n2),nt.add(n2)),n2})(r2);(function(t2){if(!t2)return false;const n2=!z.has(t2);z.add(t2),t2.style&&(t2.style.isolation="isolate");try{t2.getAttribute(_)!==C&&t2.setAttribute(_,C)}catch{}return n2})(r2)&&(function(t2){const n2=[];lt(((r3,e3)=>{(t3=>!!t3&&false!==t3.isConnected)(e3)&&(function(t3,n3){return!!n3&&null!==P(t3,(t4=>t4===n3))})(e3,t2)&&n2.push(r3)})),n2.length>0&&queueMicrotask((()=>n2.forEach(it)))})(r2);const k2=r2.getAttribute?.("data-sy-chart-plot");O(g2,V,E(r2),r2);const v2=(function(t2){return P(t2,(t3=>z.has(t3)))})(r2);if(v2)return k2!==r2.getAttribute?.("data-sy-chart-plot")&&queueMicrotask((()=>{try{t(v2)}catch{}})),ht(r2),null;Object.is(m2.value,e2)||(m2.value=e2,ct(m2),m2.wait=void 0,I(e2)||null===G()||(J=null));let w2=U;return I(e2)?ut(m2,r2):w2=(function(t2,n2,r3){const e3=Y();if(e3)return n2.waiting=false,e3.chartBrandView(t2,r3,true===n2.wait,(()=>it(n2)));if(null!==G()){ut(n2,t2);const r4=t2.localName||"sy-chart";return et.has(r4)||(et.add(r4),console.warn(`[Syidax] <${r4}> brand-logo: the branding module could not be loaded (${G()}); the Syidax logo stays.`)),st("load-failed")}return n2.waiting=true,rt||(rt=true,K().then((()=>{rt=false,lt((t3=>{t3.waiting&&(t3.waiting=false,it(t3))}))}))),(function(t3){if("string"!=typeof t3)return false;const n3=t3.trim();return 4===n3.length&&"none"===n3.toLowerCase()||o(n3)})(r3)?true===n2.wait?st("license-pending"):{mode:"pending"}:U})(r2,m2,e2),"pending"!==w2?.mode?ct(m2):void 0===m2.wait&&(m2.wait=(function(){const t2=setTimeout((()=>{m2.wait=true,it(m2)}),1e4);return t2.unref?.(),t2})()),"default"!==w2?.mode&&a(r2),w2?(function(t2,r3,e3,o2){const a2={class:`${s} ${y}`,"aria-hidden":"true",[d]:r3.mode,[f]:"chart"};r3.diagnostic&&(a2["data-sy-brand-diagnostic"]=r3.diagnostic),r3.invalid&&(a2["data-sy-brand-invalid"]=r3.invalid),"custom-logo-unavailable"===r3.diagnostic&&(a2[h]=r3.diagnostic),e3&&"br"!==e3.corner&&(a2[b]=e3.corner),e3?.compact&&(a2["data-sy-brand-compact"]="");const g3=e3??r3.size??V;return n("span",{key:`sy-chart-brand-${r3.mode}`,...a2,hidden:false,style:ft(e3,o2),ref:n2=>{"default"===r3.mode&&i(t2,n2,ft(e3,o2))}},r3.image?(function(t3,r4){return n("img",{...t3.attrs,width:String(ot(r4.width)),height:String(ot(r4.height)),style:{...t3.style,display:"block",width:at(r4.width),height:at(r4.height),"pointer-events":"none"},onError:t3.onError})})(r3.image,g3):(function(t3){return n("svg",{class:"sy-chart-brand__mark",viewBox:`0 0 ${D} ${q}`,width:String(ot(t3.width)),height:String(ot(t3.height)),fill:`var(--sy-chart-brand-ink, ${X.ink})`,"aria-hidden":"true",focusable:"false",style:{display:"block","pointer-events":"none"},ref:W,onTransitionEnd:t4=>N(t4.currentTarget)},n("rect",{"data-sy-brand-source":"background",width:"0",height:"0",fill:"var(--sy-chart-bg, var(--background-default, #fff))",style:{transition:"fill 0.001s linear"}}),n("rect",{"data-sy-brand-source":"accent",width:"0",height:"0",fill:"var(--sy-chart-accent, var(--sy-chart-series-0, var(--color-primary, #7860b0)))",style:{transition:"fill 0.001s linear"}}),n("g",{stroke:`var(--sy-chart-brand-outline, ${X.outline})`,"stroke-width":c,"stroke-linejoin":"round",style:{"paint-order":"stroke fill"}},n("path",{"data-sy-brand-symbol":"",d:u}),n("path",{"data-sy-brand-wordmark":"",d:l})))})(g3))})(r2,w2,O(g2,w2.size??V,E(r2),r2),true===p2?.overlay):null}function ht(t2){t2&&a(t2);const n2=t2&&tt.get(t2);n2&&t2&&ut(n2,t2)}export{q as C,E as a,L as b,O as c,F as d,y as e,D as f,ht as g,dt as h,I as i,K as l,j as r};
@@ -0,0 +1 @@
1
+ import{r as t,c as i,g as s,h as e,H as n}from"./p-DChj4qx2.js";import{s as o,r}from"./p-DO6vGxJP.js";import{n as a,i as h,b as l}from"./p-B6K1arcd.js";import{E as c,S as u,e as d,r as p,a as m,b as f,c as b,d as x,f as g}from"./p-C1vfsnDY.js";import{a as y,b as v}from"./p-CTrT2jn4.js";import{d as w,s as M}from"./p-BKZM2o7w.js";import{c as $}from"./p-DTZUbymc.js";import{h as k}from"./p-_AFoWkvk.js";import{Z as A,r as S}from"./p-DXJS1EXW.js";import{a as C,d as P,r as _,b as T}from"./p-DogpgTFv.js";import{r as N}from"./p-CitzwxIw.js";import{t as z,c as I}from"./p-C0f63Npv.js";import{t as X}from"./p-S3uzYKsD.js";import{p as D}from"./p-EXuVQfpl.js";import"./p-HAy9hTj2.js";import"./p-DUELYDa7.js";import"./p-D6sPnRDQ.js";import"./p-AzDRbG7D.js";const Y=(t2,i2,s2)=>{const e2=t2[i2];t2[i2]=t2[s2],t2[s2]=e2};function L(t2,i2,s2=0,e2=t2.length-1){for(;e2>s2;){if(e2-s2>600){const n3=e2-s2+1,o3=i2-s2+1,r3=Math.log(n3),a2=.5*Math.exp(2*r3/3),h2=.5*Math.sqrt(r3*a2*(n3-a2)/n3)*Math.sign(o3-n3/2);L(t2,i2,Math.max(s2,Math.floor(i2-o3*a2/n3+h2)),Math.min(e2,Math.floor(i2+(n3-o3)*a2/n3+h2)))}const n2=t2[i2];let o2=s2,r2=e2;for(Y(t2,s2,i2),t2[e2]>n2&&Y(t2,s2,e2);o2<r2;){for(Y(t2,o2,r2),o2+=1,r2-=1;t2[o2]<n2;)o2+=1;for(;t2[r2]>n2;)r2-=1}t2[s2]===n2?Y(t2,s2,r2):(r2+=1,Y(t2,r2,e2)),r2<=i2&&(s2=r2+1),i2<=r2&&(e2=r2-1)}}function R(t2,i2){const s2=(function(t3){let i3=0;for(let s4=0;s4<t3.length;s4+=1)Number.isFinite(t3[s4])&&(i3+=1);const s3=new Float64Array(i3);let e3=0;for(let i4=0;i4<t3.length;i4+=1){const n3=t3[i4];Number.isFinite(n3)&&(s3[e3++]=n3)}return s3})(t2),e2=s2.length;if(0===e2||!Number.isFinite(i2))return Number.NaN;if(1===e2)return s2[0];const n2=(e2-1)*Math.max(0,Math.min(1,i2)),o2=Math.floor(n2);L(s2,o2);const r2=s2[o2];if(o2===n2||o2+1>=e2)return r2;let a2=Number.POSITIVE_INFINITY;for(let t3=o2+1;t3<e2;t3+=1)s2[t3]<a2&&(a2=s2[t3]);return r2+(n2-o2)*(a2-r2)}function F(t2){return null==t2||"number"==typeof t2&&Number.isNaN(t2)}function V(t2){return"scott"===t2||"freedman-diaconis"===t2?"width":"count"}function j(t2,i2){const s2="number"==typeof t2?t2:"string"==typeof t2&&""!==t2.trim()?Number(t2):Number.NaN;if(Number.isFinite(s2)&&s2>=1)return Math.floor(s2);if(i2<=1)return 1;switch(t2){case"sturges":return Math.ceil(Math.log2(i2))+1;case"rice":return Math.ceil(2*Math.cbrt(i2));default:return Math.ceil(Math.sqrt(i2))}}function E(t2,i2,s2={}){const e2=t2.length,n2=s2.bins??"square-root";if(Number.isFinite(s2.binWidth)&&s2.binWidth>0){const t3=s2.binWidth;return{rule:"bin-width",kind:"bin-width",count:i2>0?Math.max(1,Math.ceil(i2/t3)):1,width:t3,n:e2,sigma:null,iqr:null}}if(!(i2>0))return{rule:n2,kind:V(n2),count:1,width:1,n:e2,sigma:null,iqr:null};if("width"===V(n2)){const s3=(function(t3){const i3=t3.length;if(i3<2)return{n:i3,sigma:null,iqr:null};const s4=(function(t4){const i4=(function(t5){let i5=0,s5=0,e4=0;for(const n3 of t5){if(F(n3))continue;i5++;const t6=n3-s5;s5+=t6/i5,e4+=t6*(n3-s5)}return i5<2?void 0:e4/(i5-1)})(t4);return void 0===i4?void 0:Math.sqrt(i4)})(t3),e3=R(t3,.75)-R(t3,.25);return{n:i3,sigma:"number"==typeof s4&&Number.isFinite(s4)?s4:null,iqr:Number.isFinite(e3)?e3:null}})(t2),o3=(function(t3,i3){if(i3.n<2)return null;const s4=Math.pow(i3.n,-1/3),e3=null!==i3.sigma&&i3.sigma>0?3.49*i3.sigma*s4:null;return"freedman-diaconis"===t3?null!==i3.iqr&&i3.iqr>0?{width:2*i3.iqr*s4}:null===e3?null:{width:e3,fallback:"scott"}:null===e3?null:{width:e3}})(n2,s3);if(null!==o3&&o3.width>0)return{rule:n2,kind:"width",count:Math.max(1,Math.ceil(i2/o3.width)),width:o3.width,n:e2,sigma:s3.sigma,iqr:s3.iqr,...o3.fallback?{fallback:o3.fallback}:{}};const r2=Math.max(1,j("square-root",e2));return{rule:n2,kind:"width",count:r2,width:i2/r2,n:e2,sigma:s3.sigma,iqr:s3.iqr,fallback:"square-root"}}const o2=Math.max(1,j(n2,e2));return{rule:n2,kind:"count",count:o2,width:i2/o2,n:e2,sigma:null,iqr:null}}function H(t2){if("standard"===t2.requested)return{tier:"standard"};const i2=true===t2.proAvailable,s2=h(t2.proUnavailableCode);if("pro"===t2.requested){if(i2)return{tier:"pro"};const e3=t2.proUnavailableReason||"Pro renderer unavailable";if(s2)return{tier:"standard",licenseReason:e3};if("error"===a(t2.onUnavailable))throw new Error(`[Syidax] sy-histogram-chart: Pro renderer unavailable — ${e3}. Use engine="standard" or unavailable="fallback".`);return console.warn(`[Syidax] sy-histogram-chart: Pro renderer unavailable, falling back to Standard (${e3}).`),{tier:"standard",fallbackReason:e3}}if(t2.keepPro&&i2)return{tier:"pro"};const e2="number"==typeof t2.pointCount&&Number.isFinite(t2.pointCount)&&t2.pointCount>=0?t2.pointCount:0,n2="number"==typeof t2.proThreshold&&Number.isFinite(t2.proThreshold)&&t2.proThreshold>0?t2.proThreshold:5e4;if(e2>=n2){if(i2)return{tier:"pro"};const o2=t2.proUnavailableReason||"Pro renderer unavailable";return s2?{tier:"standard",licenseReason:o2}:(console.info(`[Syidax] sy-histogram-chart: auto mode wanted Pro for ${e2.toLocaleString()} observations (threshold ${n2.toLocaleString()}) but Pro is unavailable - ${o2}. Staying on Standard.`),{tier:"standard",fallbackReason:o2})}return{tier:"standard"}}function B(t2,i2){return"percent"===t2?i2?"Cumulative %":"Percent":"density"===t2?i2?"Cumulative fraction":"Density":i2?"Cumulative count":"Frequency"}function O(t2,i2){const s2=Math.pow(10,i2);return String(Math.round(t2*s2)/s2)}function q(t2){return!Number.isFinite(t2)||t2<=0?0:t2>=1?1:t2}class W{draw(t2,i2){const s2="undefined"!=typeof performance?performance.now():0;t2.save(),t2.scale(i2.dpr,i2.dpr);for(const s3 of i2.bars)s3.height<=0||s3.width<=0||(t2.fillStyle=s3.binIndex===i2.activeBin?i2.activeFill:i2.fill,t2.fillRect(s3.x,s3.y,s3.width,s3.height),t2.strokeStyle=i2.edge,t2.lineWidth=1,t2.strokeRect(s3.x+.5,s3.y+.5,Math.max(0,s3.width-1),Math.max(0,s3.height-1)));t2.restore();const e2="undefined"!=typeof performance?performance.now():0;return{bars:i2.bars.length,renderMs:e2-s2}}}const U="reveal",K="morph";function Z(t2,i2){return i2?`${t2} ${i2}`:t2}function G(t2,i2){return"number"!=typeof i2?i2:new Set(["lineHeight","opacity","zIndex","fontWeight","flex","flexGrow","flexShrink","order"]).has(t2)?String(i2):`${i2}px`}function J(t2){return Number.isInteger(t2)?String(t2):String(Math.round(100*t2)/100)}const Q=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.crosshairMove=i(this,"crosshairMove",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.tooltipShow=i(this,"tooltipShow",7),this.tooltipHide=i(this,"tooltipHide",7),this.tooltipAction=i(this,"tooltipAction",7),this.seriesOutsideClick=i(this,"seriesOutsideClick",7),this.zoomChange=i(this,"zoomChange",7)}get host(){return s(this)}values=new Float32Array(0);width=640;height=360;brandLogo;brandPosition="bottom-right";bins="square-root";binWidth;domainMin;domainMax;color="#2563eb";edgeColor="rgba(255,255,255,0.85)";activeColor="#1d4ed8";valueAxisLabel;measure="count";cumulative=false;barGap=0;xAxis;yAxis;gridLines;crosshair;zoom;chartTitle;chartSubtitle;tooltipEnabled=true;tooltipFormat;tooltip;enableMouseTracking=true;animated=false;animationDuration=600;animationEasing="ease-out";animationType;streamSource;streamWindow;streamMax;engine="auto";proThreshold=5e4;unavailable="fallback";rendered;pointClick;pointHover;crosshairMove;pointContextMenu;appended;windowSlid;chartAnimationStart;chartAnimationEnd;chartAnimationInterrupted;tooltipShow;tooltipHide;tooltipAction;seriesOutsideClick;zoomChange;activeTier="standard";fallbackReason;cartesianTooltip=null;cartesianTooltips=[];srAnnouncement="";animationTick=0;hoverIndex=null;cursor=null;zoomState=null;zoomSelection=null;zoomInteraction=new A(this.zoomInteractionHost());tooltipDrag;tooltipElement;nextTooltipId=1;draggableTooltipPositions=new Map;animator=(function(){const t2=new Map;function i2(t3,i3){return t3.duration<=0?1:q((function(t4,i4){return t4.startedAt<0||t4.paused?t4.pausedElapsed:Math.max(0,i4-t4.startedAt+t4.pausedElapsed)})(t3,i3)/t3.duration)}return{start(i3,s2){t2.set(i3,{startedAt:-1,pausedElapsed:0,paused:false,duration:Math.max(0,s2.duration),easing:s2.easing})},progressAt(s2,e2){const n2=t2.get(s2);if(n2)return n2.startedAt<0&&!n2.paused&&(n2.startedAt=e2),(function(t3,i3){const s3=q(t3);switch(i3){case"linear":default:return s3;case"ease-out":return 1-(1-s3)*(1-s3)*(1-s3);case"ease-in":return s3*s3*s3;case"ease-in-out":return s3<.5?4*s3*s3*s3:1-Math.pow(-2*s3+2,3)/2}})(i2(n2,e2),n2.easing)},has:i3=>t2.has(i3),isActive(s2,e2){const n2=t2.get(s2);return!!n2&&(!!n2.paused||i2(n2,e2)<1)},tick(s2){const e2=[];for(const[n2,o2]of t2)o2.startedAt<0&&!o2.paused&&(o2.startedAt=s2),o2.paused||i2(o2,s2)>=1&&e2.push(n2);for(const i3 of e2)t2.delete(i3)},pauseAll(i3){for(const s2 of t2.values())s2.paused||(s2.startedAt>=0&&(s2.pausedElapsed+=i3-s2.startedAt),s2.paused=true)},resumeAll(i3){for(const s2 of t2.values())s2.paused&&(s2.startedAt=i3,s2.paused=false)},hasActive(){for(const i3 of t2.values())if(!i3.paused)return true;return false},cancel(i3){t2.delete(i3)},clear(){t2.clear()},entries:()=>t2}})();animationFrameHandle=null;morphActive=false;displayedHeights=new Map;morphFromHeights;internalStreamSource;boundStreamSource;streamUnsubscribe;suppressNextValuesAnimation=false;lastStreamTime;lastRenderResult={points:0,bins:0,renderMs:0};pendingRenderedEmit=false;canvasElement;observedCanvasPixelSize;canvasPixelObserver;observedCanvas;renderer=new W;proRenderer;proRendererCanvas;proInitInFlight;rendererToken=0;canvasTier;autoLockedToPro=false;proInitFailedReason;license=new c((()=>this.host),(t2=>this.handleLicenseChange(t2)));engineOutcome={code:"auto-standard",reason:null};engineLicenseState=null;hasLoaded=false;detached=false;connectedCallback(){if(this.detached=false,this.license.connect(),!this.hasLoaded)return;this.host.addEventListener("wheel",this.handleZoomWheel,{passive:false}),this.bindStreamSource();const t2=this.activeStreamSource();t2&&(this.streamUnsubscribe||this.bindToStreamSource(t2),this.handleStreamEvent(t2,{type:"replace",count:t2.length})),this.paintBars()}componentDidLoad(){this.hasLoaded=true,this.host.addEventListener("wheel",this.handleZoomWheel,{passive:false}),this.bindStreamSource(),this.shouldInitialAnimation(null)&&this.startReveal(),this.paintBars()}componentDidRender(){if(this.detached)return;this.syncCanvasPixelObserver(),this.measureTooltipBox();const t2=this.paintBars(),i2=()=>{this.pendingRenderedEmit&&(this.pendingRenderedEmit=false,this.rendered.emit({...this.lastRenderResult,tier:this.activeTier}))};t2?t2.then(i2):i2()}disconnectedCallback(){this.detached=true,this.license.disconnect(),this.host.removeEventListener("wheel",this.handleZoomWheel),this.zoomInteraction.dispose(),this.zoomSelection=null,this.parkInternalRing(),this.streamUnsubscribe?.(),this.streamUnsubscribe=void 0,this.boundStreamSource=void 0,this.stopAnimationLoop(),this.animator.clear(),this.disconnectCanvasPixelObserver(),this.releaseProRenderer()}handleValuesChange(t2,i2){if(this.suppressNextValuesAnimation)return this.suppressNextValuesAnimation=false,void this.animationTick++;this.shouldInitialAnimation(i2)?this.startReveal():this.shouldUpdateAnimation(i2)?this.startMorph():this.animationTick++}handleStreamSourceChange(){this.bindStreamSource();const t2=this.activeStreamSource();t2&&this.applyStreamSnapshot(t2)}handleAnimationToggle(){this.shouldInitialAnimation(null)?this.startReveal():(this.animator.hasActive()&&this.chartAnimationInterrupted.emit(),this.animator.clear(),this.morphActive=false,this.stopAnimationLoop(),this.animationTick++)}handleVisualChange(){this.animationTick++}resetProInitLatch(){this.proInitFailedReason=void 0}async redraw(){return this.modelMemo=void 0,this.animationTick++,this.lastRenderResult}async getActiveTier(){return this.activeTier}async getBinning(){return{...this.computeHistogramLayout().model.binning}}async setData(t2){this.values=t2}async appendPoint(t2){await this.license.run(u,true,(()=>{const i2=this.streamWriteTarget("appendPoint",true);i2?i2.push(t2):void 0===i2&&this.appendValuesPlainly([t2])}))}async appendBatch(t2){await this.license.run(u,true,(()=>{const i2=this.streamWriteTarget("appendBatch",true);i2?i2.pushBatch(t2):void 0===i2&&this.appendValuesPlainly(t2)}))}async shift(t2){await this.license.run(u,true,(()=>{const i2=this.streamWriteTarget("shift",false);i2?i2.shift(t2):void 0===i2&&this.shiftValuesPlainly(t2)}))}async replace(t2){await this.license.run(u,true,(()=>{const i2=this.streamWriteTarget("replace",true);i2?i2.replace(t2):void 0===i2&&(this.values=Array.isArray(t2)||ArrayBuffer.isView(t2)?Array.from(t2):[])}))}async getStreamSource(){return this.license.run(u,this.streamSessionAsked(),(()=>this.activeStreamSource()))}async getEngineStatus(){return d(this.engine,this.activeTier,this.engineOutcome,this.engineLicenseState)}async setAnimation(t2){"number"==typeof t2.duration&&Number.isFinite(t2.duration)&&(this.animationDuration=Math.max(0,t2.duration)),t2.easing&&(this.animationEasing=t2.easing),"boolean"==typeof t2.enabled&&(this.animated=t2.enabled),t2.type&&(this.animationType=t2.type)}async pauseAnimation(){this.animator.pauseAll(this.now())}async resumeAnimation(){this.animator.resumeAll(this.now()),this.ensureAnimationLoop()}async replayAnimation(){this.startReveal()}async hitTest(t2,i2){const s2=this.computeHistogramLayout(),e2=this.binIndexAtPoint(s2,t2,i2);return e2<0?null:this.detailForBin(s2,e2,t2,i2)}async showTooltipAtPoint(t2){const i2=this.resolveTooltipSpec();if(!i2.show)return null;const s2=this.computeHistogramLayout(),e2=this.histogramHitAtIndex(s2,t2);return e2?this.showTooltipForHit(s2,e2,i2,true):null}async hideTooltip(){this.clearTooltips(),this.hoverIndex=null}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 S(this.zoom)}zoomInteractionHost(){return{frame:()=>this.zoomHostFrame(),spec:()=>this.zoomSpec(),state:()=>this.zoomState,apply:t2=>{this.zoomState=t2},emit:t2=>{this.zoomChange.emit(t2)},selection:t2=>{this.zoomSelection=t2},standDown:()=>this.zoomStandDown()}}zoomHostFrame(){const t2=this.computeHistogramLayout();return{plot:t2.plot,xAxes:t2.frame.xAxes,yAxes:t2.frame.yAxes}}zoomStandDown(){this.clearTooltips(),null!==this.hoverIndex&&(this.hoverIndex=null,this.pointHover.emit(null)),null!==this.cursor&&(this.cursor=null,this.crosshairMove.emit(null))}hostCoords(t2){const i2=this.host.getBoundingClientRect();return{x:t2.clientX-i2.left,y:t2.clientY-i2.top}}zoomPointerInput(t2){const i2=this.hostCoords(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.hostCoords(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)}handleHostKeyDown=t2=>{this.handleZoomKeyDown(t2)};renderZoomOverlay(t2){const i2=this.zoomSpec(),s2=this.zoomSelection,n2=null!==this.zoomState;if(!(s2||n2&&i2.resetButton))return null;const o2=t2.plot;return e("div",{class:"sy-histogram-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-histogram-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))"}}),n2&&i2.resetButton&&e("button",{type:"button",class:"sy-histogram-chart__zoom-reset","aria-label":"Reset zoom",onClick:()=>{this.resetZoom()},style:{...A.resetButtonStyle,position:"absolute",left:o2.x+o2.width-8+"px",top:`${o2.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"))}hasVisibleTooltips(){return null!==this.cartesianTooltip||this.cartesianTooltips.length>0}clearTooltips(){this.hasVisibleTooltips()&&(this.tooltipDrag=void 0,this.cartesianTooltip=null,this.cartesianTooltips=[],this.tooltipHide.emit())}modelMemo;currentModel(){const t2=this.streamValues()??this.values,i2=`${String(this.bins)}|${this.binWidth??""}|${this.domainMin??""}|${this.domainMax??""}`;if(this.modelMemo&&this.modelMemo.values===t2&&this.modelMemo.key===i2)return this.modelMemo.model;const s2=(function(t3,i3={}){const s3=[];for(let i4=0;i4<t3.length;i4+=1){const e3=t3[i4],n3="bigint"==typeof e3?Number(e3):e3;"number"==typeof n3&&Number.isFinite(n3)&&s3.push({value:n3,sourceIndex:i4})}if(0===s3.length){const t4=i3.bins??"square-root";return{bins:[],binWidth:0,min:0,max:0,count:0,maxCount:0,binning:{rule:t4,kind:V(t4),count:0,width:0,n:0,sigma:null,iqr:null}}}let e2=1/0,n2=-1/0;for(const t4 of s3)t4.value<e2&&(e2=t4.value),t4.value>n2&&(n2=t4.value);const o2=Number.isFinite(i3.min)?i3.min:e2,r2=Number.isFinite(i3.max)?Math.max(i3.max,o2):Math.max(n2,o2),a2=r2-o2,h2=E(s3.map((t4=>t4.value)),a2,i3),l2=h2.width,c2=h2.count,u2=new Array(c2).fill(0),d2=Array.from({length:c2},(()=>[]));for(const t4 of s3){let i4=Math.floor((t4.value-o2)/l2);i4<0&&(i4=0),i4>=c2&&(i4=c2-1),u2[i4]+=1,d2[i4].push(t4.sourceIndex)}const p2=u2.map(((t4,i4)=>({index:i4,x0:o2+i4*l2,x1:o2+(i4+1)*l2,count:t4,sourceIndexes:d2[i4]}))),m2=u2.reduce(((t4,i4)=>Math.max(t4,i4)),0);return{bins:p2,binWidth:l2,min:o2,max:r2,count:s3.length,maxCount:m2,binning:h2}})(t2,{bins:this.bins,binWidth:this.binWidth,min:this.domainMin,max:this.domainMax});return this.modelMemo={key:i2,values:t2,model:s2},s2}computeHistogramLayout(){const t2=this.currentModel(),i2=(function(t3,i3={}){const s3="percent"===(e3=i3.normalize)||"density"===e3?e3:"count";var e3;const n3=true===i3.cumulative,o3=t3.count,r3=t3.binWidth,a3=new Array(t3.bins.length);let h3=0,l3=0;for(let i4=0;i4<t3.bins.length;i4+=1){const e4=t3.bins[i4].count;let c3;n3?(h3+=e4,c3="count"===s3?h3:"percent"===s3?o3>0?100*h3/o3:0:o3>0?h3/o3:0):c3="percent"===s3?o3>0?100*e4/o3:0:"density"===s3?o3>0&&r3>0?e4/(o3*r3):0:e4,a3[i4]=c3,c3>l3&&(l3=c3)}return{normalize:s3,cumulative:n3,values:a3,max:l3,label:B(s3,n3)}})(t2,{normalize:this.measure,cumulative:this.cumulative}),s2={x:0,y:0,width:this.width,height:this.height},e2=i2.cumulative&&"count"!==i2.normalize&&i2.max>0?i2.max:(function(t3){if(!Number.isFinite(t3)||t3<=0)return 1;const i3=1.05*t3,s3=Math.floor(Math.log10(i3)),e3=Math.pow(10,s3);for(const t4 of[1,1.5,2,2.5,3,4,5,6,8,10])if(t4*e3>=i3)return t4*e3;return 10*e3})(i2.max>0?i2.max:1),n2=t2.bins.length>0?t2.min:0,o2=t2.bins.length>0?t2.bins[t2.bins.length-1].x1:1,r2=this.yAxisInputs(),a2=(t3,i3,s3)=>{const e3={kind:"linear",show:true,position:i3,...s3?{label:s3}:{}};if(null==t3||"auto"===t3||true===t3)return e3;if(false===t3||"off"===t3)return{...e3,show:false};if("object"!=typeof t3)return e3;const n3=t3,o3="left"===n3.position||"right"===n3.position?n3.position:i3;return{...e3,...n3,kind:"log"===n3.kind?"log":"linear",position:o3}},h2=this.xAxisInputs(),l2=t3=>{const i3={kind:"linear",show:true};if(null==t3||"auto"===t3||true===t3)return i3;if(false===t3||"off"===t3)return{...i3,show:false};if("object"!=typeof t3)return i3;const s3=t3,e3={...i3,...s3,kind:"time"===s3.kind||"log"===s3.kind?s3.kind:"linear"};return"top"!==s3.position&&"bottom"!==s3.position&&delete e3.position,e3},c2=C(h2.length>1?h2.map((t3=>l2(t3))):l2(h2[0]),r2.length>1?r2.map(((t3,s3)=>a2(t3,0===s3?"left":"right",0===s3?this.valueAxisLabel??i2.label:void 0))):a2(r2[0],"left",this.valueAxisLabel??i2.label)),u2=y({outerWidth:s2.width,outerHeight:s2.height,axes:c2,gridLines:P(this.gridLines),title:this.chartTitle,subtitle:this.chartSubtitle,xExtent:{min:n2,max:o2},yExtent:{min:0,max:e2},zoom:this.zoomState??void 0});return{model:t2,measure:i2,outer:s2,plot:{x:s2.x+u2.plot.x,y:s2.y+u2.plot.y,width:u2.plot.width,height:u2.plot.height},frame:u2,yMax:e2}}axisTitleFor(t2){return t2.axis.show&&t2.axis.label||void 0}yAxisInputs(){const t2=this.yAxis;return Array.isArray(t2)?t2:[t2]}xAxisInputs(){const t2=this.xAxis;return Array.isArray(t2)?t2:[t2]}binIndexAtPoint(t2,i2,s2){const{plot:e2}=t2;if(i2<e2.x||i2>e2.x+e2.width)return-1;if(s2<e2.y||s2>e2.y+e2.height)return-1;const n2=this.unprojectX(t2,i2);return(function(t3,i3){if(0===t3.bins.length||t3.binWidth<=0)return-1;if(i3<t3.min||i3>t3.bins[t3.bins.length-1].x1)return-1;const s3=Math.floor((i3-t3.min)/t3.binWidth);return Math.max(0,Math.min(t3.bins.length-1,s3))})(t2.model,n2)}unprojectX(t2,i2){return t2.frame.xScale.invert(i2-t2.outer.x)}visibleBars(t2,i2){if(null===this.zoomState)return i2;const{plot:s2}=t2;return i2.filter((t3=>t3.x+t3.width>=s2.x&&t3.x<=s2.x+s2.width&&t3.y<=s2.y+s2.height&&t3.y+t3.height>=s2.y))}animatedBarRects(t2){const i2=(this.shouldInitialAnimation(null)||this.animator.has(U))&&!this.morphActive,s2=this.morphActive&&this.animator.has(K)&&void 0!==this.morphFromHeights,e2=i2?this.animator.progressAt(U,this.now())??1:1,n2=s2?this.animator.progressAt(K,this.now())??1:1,o2=i3=>t2.outer.x+t2.frame.xScale(i3),r2=i3=>t2.outer.y+t2.frame.yScale(i3),a2=r2(0),h2=new Map,l2=[],c2=Number.isFinite(this.barGap)&&this.barGap>0?this.barGap:0;for(const u2 of t2.model.bins){const d2=String(Math.round(1e6*u2.x0)/1e6),p2=o2(u2.x0),m2=o2(u2.x1),f2=r2(t2.measure.values[u2.index]??0),b2=Math.max(0,a2-f2);let x2=b2;if(s2){const t3=this.morphFromHeights.get(d2)??0;x2=t3+(b2-t3)*n2}else i2&&(x2=b2*e2);h2.set(d2,x2),l2.push({binIndex:u2.index,x:p2+c2/2,y:a2-x2,width:c2>0?Math.max(1,m2-p2-c2):Math.max(0,m2-p2),height:x2})}return this.displayedHeights=h2,l2}paintBars(){const t2=this.canvasElement;if(!t2)return;if("pro"===this.activeTier)return this.paintBarsPro();if(void 0!==this.canvasTier&&"standard"!==this.canvasTier)return;const i2=t2.getContext("2d");if(!i2)return;const s2="number"==typeof devicePixelRatio&&Number.isFinite(devicePixelRatio)?devicePixelRatio:1;t2.width===Math.round(this.width*s2)&&t2.height===Math.round(this.height*s2)||(t2.width=Math.round(this.width*s2),t2.height=Math.round(this.height*s2)),i2.clearRect(0,0,t2.width,t2.height);const e2=this.computeHistogramLayout(),n2=this.visibleBars(e2,this.animatedBarRects(e2));i2.save(),i2.beginPath(),i2.rect(e2.plot.x*s2,e2.plot.y*s2,e2.plot.width*s2,e2.plot.height*s2),i2.clip(),this.renderer.draw(i2,{bars:n2,dpr:s2,fill:N(this.color,"#2563eb"),edge:this.edgeColor,activeBin:this.hoverIndex,activeFill:this.activeColor}),i2.restore(),this.lastRenderResult={points:e2.model.count,bins:e2.model.bins.length,renderMs:0}}observationCount(){return this.values?.length??0}proAvailability(){return this.proInitFailedReason?{available:false,reason:this.proInitFailedReason}:{available:false,reason:"Pro renderer not included in this build",code:p(false)}}reEvaluateEngine(){const t2=this.proAvailability(),i2="auto"===this.engine&&this.autoLockedToPro,s2={requested:this.engine,onUnavailable:this.unavailable,pointCount:this.observationCount(),proThreshold:this.proThreshold,proAvailable:t2.available,proUnavailableReason:t2.reason,keepPro:i2};let e2=H(s2);const n2="pro"===e2.tier?this.engineLicense():null;n2?.code&&(e2=H({...s2,proAvailable:false,proUnavailableReason:n2.reason,proUnavailableCode:n2.code,keepPro:false}),this.autoLockedToPro=false),"auto"!==this.engine?this.autoLockedToPro=false:"pro"===e2.tier&&(this.autoLockedToPro=true),"pro"!==e2.tier&&this.proRenderer&&this.releaseProRenderer(),this.activeTier!==e2.tier&&(this.activeTier=e2.tier),this.fallbackReason!==e2.fallbackReason&&(this.fallbackReason=e2.fallbackReason),this.engineLicenseState=n2?.state??null,this.engineOutcome=m({requested:this.engine,tier:e2.tier,license:n2,renderer:t2.available?null:{code:t2.code??"gpu-unavailable",reason:t2.reason??""},fallbackReason:e2.fallbackReason})}engineLicense(){const t2=f(this.license.state(b));return t2.code&&this.license.refuse(b,t2.state,"engine"),t2}engineAllowed(){return"valid"===this.license.state(b)}handleLicenseChange(t2){if(!this.detached)return t2.feature===b?("valid"!==t2.state&&(this.rendererToken++,this.autoLockedToPro=false),void this.animationTick++):void(t2.feature===u&&("valid"===t2.state?this.license.isFrozen(u)&&(this.license.setFrozen(u,false),!this.internalStreamSource||this.streamSource||this.streamUnsubscribe||this.bindToStreamSource(this.internalStreamSource)):"valid"===t2.previousState&&(this.boundStreamSource||this.internalStreamSource||this.streamSource)&&(this.license.setFrozen(u,true),this.boundStreamSource||(this.parkInternalRing(),this.streamUnsubscribe?.(),this.streamUnsubscribe=void 0)),this.handleStreamSourceChange()))}releaseProRenderer(){this.rendererToken++,this.proRenderer?.destroy?.(),this.proRenderer=void 0,this.proRendererCanvas=void 0}fallbackToStandard(t2){console.warn(`[Syidax] sy-histogram-chart: Pro renderer failed, falling back to Standard (${t2}).`),this.proInitFailedReason=t2,this.autoLockedToPro=false,this.releaseProRenderer(),this.activeTier="standard",this.fallbackReason=t2,this.engineOutcome=x(t2)}async ensureProRenderer(){const t2=this.canvasElement;if(t2&&"pro"===this.canvasTier){if(this.proRenderer&&this.proRendererCanvas===t2)return this.proRenderer;if(this.proInitInFlight)return this.proInitInFlight;++this.rendererToken,this.proRenderer?.destroy?.(),this.proRenderer=void 0,this.proRendererCanvas=void 0,this.fallbackToStandard("Pro renderer not included in this build")}}premultipliedRgba(t2,i2){const s2=D(t2);if(!s2)return i2;const e2=Math.max(0,Math.min(1,s2.a));return[s2.r/255*e2,s2.g/255*e2,s2.b/255*e2,e2]}syncCanvasPixelObserver(){const t2="pro"===this.canvasTier?this.canvasElement:void 0;if(t2!==this.observedCanvas&&(this.disconnectCanvasPixelObserver(),t2&&"undefined"!=typeof ResizeObserver)){this.observedCanvas=t2,this.canvasPixelObserver=new ResizeObserver((i2=>{const s2=w(i2,t2);M(s2,this.observedCanvasPixelSize)||(this.observedCanvasPixelSize=s2)}));try{this.canvasPixelObserver.observe(t2,{box:"device-pixel-content-box"})}catch{this.canvasPixelObserver.observe(t2)}}}disconnectCanvasPixelObserver(){this.canvasPixelObserver?.disconnect(),this.canvasPixelObserver=void 0,this.observedCanvas=void 0,void 0!==this.observedCanvasPixelSize&&(this.observedCanvasPixelSize=void 0)}paintBarsPro(){return this.ensureProRenderer().then((t2=>{if(!t2||"pro"!==this.activeTier)return;const i2=this.computeHistogramLayout(),s2=this.visibleBars(i2,this.animatedBarRects(i2)),e2=this.premultipliedRgba(N(this.color,"#2563eb"),[37/255,99/255,235/255,1]);this.lastRenderResult=t2.draw({width:this.width,height:this.height,observedPixelSize:this.observedCanvasPixelSize,bars:s2,fill:e2,activeFill:this.premultipliedRgba(this.activeColor,e2),edge:this.premultipliedRgba(this.edgeColor,[.85,.85,.85,.85]),activeBin:this.hoverIndex,edgeWidth:1,points:i2.model.count,clip:i2.plot})}))}shouldAnimate(){return!this.detached&&this.animated&&this.animationDuration>0}shouldInitialAnimation(t2){return!!this.shouldAnimate()&&("initial"===this.animationType||"update"!==this.animationType&&(null===t2||0===(t2?.length??0)))}shouldUpdateAnimation(t2){return!!this.shouldAnimate()&&"initial"!==this.animationType&&(t2?.length??0)>0}startReveal(){this.animator.hasActive()&&this.chartAnimationInterrupted.emit(),this.morphActive=false,this.animator.clear(),this.animator.start(U,{duration:this.animationDuration,easing:this.animationEasing}),this.chartAnimationStart.emit(),this.ensureAnimationLoop()}startMorph(){this.animator.hasActive()&&this.chartAnimationInterrupted.emit(),this.morphActive=true,this.animator.clear(),this.morphFromHeights=new Map(this.displayedHeights),this.animator.start(K,{duration:this.animationDuration,easing:this.animationEasing}),this.chartAnimationStart.emit(),this.ensureAnimationLoop()}ensureAnimationLoop(){if(null!==this.animationFrameHandle)return;const t2=()=>{this.animator.tick(this.now()),this.animationTick++,this.animator.hasActive()&&this.animator.entries().size>0?this.animationFrameHandle=requestAnimationFrame(t2):(this.animationFrameHandle=null,this.morphActive=false,this.chartAnimationEnd.emit())};this.animationFrameHandle=requestAnimationFrame(t2)}stopAnimationLoop(){null!==this.animationFrameHandle&&(cancelAnimationFrame(this.animationFrameHandle),this.animationFrameHandle=null)}now(){return"undefined"!=typeof performance&&"function"==typeof performance.now?performance.now():Date.now()}streamSessionAsked(){return void 0!==this.internalStreamSource||g({streamSource:this.streamSource,streamMax:this.streamMax,streamWindow:this.streamWindow},{streamImplied:true}).length>0}activeStreamSource(){if(this.streamSessionAllowed())return this.streamSource??this.internalStreamSource}streamSessionAllowed(t2=false){const i2=g({streamSource:this.streamSource,streamMax:this.streamMax,streamWindow:this.streamWindow},{streamImplied:true});if(0===i2.length&&!t2&&void 0===this.internalStreamSource)return true;const s2=this.license.state(u);return"valid"===s2&&!this.license.isFrozen(u)||(i2.length>0&&this.license.refuse(u,s2,i2[0]),false)}streamWriteTarget(t2,i2){return this.license.isFrozen(u)?(this.license.refuse(u,this.license.state(u),t2),null):this.streamSessionAllowed(true)?i2?this.ensureInternalStreamSource():this.streamSource??this.internalStreamSource??null:void 0}appendValuesPlainly(t2){if(!Array.isArray(t2)&&!ArrayBuffer.isView(t2)||0===t2.length)return;const i2=Array.from(this.values);for(let s2=0;s2<t2.length;s2++)i2.push(t2[s2]);this.values=i2,this.appended.emit({count:t2.length})}shiftValuesPlainly(t2){const i2=Math.max(0,Math.min(Math.floor(Number.isFinite(t2)?t2:0),this.values.length));0!==i2&&(this.values=Array.from(this.values).slice(i2),this.windowSlid.emit({dropped:i2}))}ensureInternalStreamSource(){return this.streamSource?this.streamSource:(this.internalStreamSource||(this.internalStreamSource=(function(){const t2=new Error("Dedicated streaming requires @syidax/advanced-pro");throw t2.code="module-missing",t2.feature="chart.streaming",t2})((this.coerceStreamCapacity(),this.valuesAsNumbers())),this.bindToStreamSource(this.internalStreamSource)),this.internalStreamSource)}valuesAsNumbers(){const t2=[];for(let i2=0;i2<this.values.length;i2++){const s2=this.values[i2],e2="bigint"==typeof s2?Number(s2):s2;"number"==typeof e2&&Number.isFinite(e2)&&t2.push(e2)}return t2}coerceStreamCapacity(){return"number"==typeof this.streamMax&&Number.isFinite(this.streamMax)&&this.streamMax>0?Math.floor(this.streamMax):"number"==typeof this.streamWindow&&Number.isFinite(this.streamWindow)&&this.streamWindow>0?4*Math.floor(this.streamWindow):1e4}bindStreamSource(){if(this.detached)return;const t2=this.streamSource&&this.streamSessionAllowed()?this.streamSource:void 0;this.boundStreamSource!==t2&&(this.streamUnsubscribe?.(),this.streamUnsubscribe=void 0,t2&&(this.internalStreamSource=void 0,this.bindToStreamSource(t2)),this.boundStreamSource=t2)}parkInternalRing(){const t2=this.internalStreamSource;t2&&this.streamUnsubscribe&&!this.boundStreamSource&&this.license.parkStream(t2,[this.values])}bindToStreamSource(t2){this.detached||(this.streamUnsubscribe?.(),t2!==this.internalStreamSource||this.license.resumeStream(t2,[this.values])||t2.replace(this.valuesAsNumbers()),this.streamUnsubscribe=t2.subscribe((i2=>this.handleStreamEvent(t2,i2))))}handleStreamEvent(t2,i2){this.applyStreamSnapshot(t2),"push"!==i2.type&&"pushBatch"!==i2.type||this.appended.emit({count:i2.count}),"shift"===i2.type&&this.windowSlid.emit({dropped:i2.count})}applyStreamSnapshot(t2){const i2=t2.snapshot("number"==typeof this.streamWindow&&this.streamWindow>0?this.streamWindow:void 0),s2=Float32Array.from(i2.map((t3=>t3.value)));if(this.shouldAnimate()&&this.values.length>0&&s2.length>0){const t3=this.now(),i3=$(this.animationDuration,this.lastStreamTime,t3);this.lastStreamTime=t3,this.suppressNextValuesAnimation=true,this.morphFromHeights=new Map(this.displayedHeights),this.morphActive=true,this.values=s2,i3>0&&(this.animator.clear(),this.animator.start(K,{duration:i3,easing:this.animationEasing}),this.chartAnimationStart.emit(),this.ensureAnimationLoop())}else this.lastStreamTime=this.now(),this.suppressNextValuesAnimation=true,this.values=s2,this.animationTick++}streamValues(){return null}detailForBin(t2,i2,s2,e2){const n2=t2.model.bins[i2];return{binIndex:i2,x0:n2?.x0??0,x1:n2?.x1??0,count:n2?.count??0,value:t2.measure.values[i2]??0,measure:t2.measure.normalize,cumulative:t2.measure.cumulative,cssX:s2,cssY:e2}}resolveTooltipSpec(){const t2=_(this.tooltip);return void 0!==this.tooltip||this.tooltipEnabled?t2:{...t2,show:false}}histogramHitAtIndex(t2,i2){const s2=Math.trunc(i2);if(!Number.isFinite(s2)||s2<0||s2>=t2.model.bins.length)return null;const e2=t2.model.bins[s2],{plot:n2}=t2,o2=i3=>t2.outer.x+t2.frame.xScale(i3),r2=t2.measure.values[s2]??0;return{binIndex:s2,x0:e2.x0,x1:e2.x1,count:e2.count,value:r2,measure:t2.measure.normalize,cumulative:t2.measure.cumulative,cssX:(a2=(o2(e2.x0)+o2(e2.x1))/2,Math.max(n2.x,Math.min(n2.x+n2.width,a2))),cssY:(t3=>Math.max(n2.y,Math.min(n2.y+n2.height,t3)))((i3=>t2.outer.y+t2.frame.yScale(i3))(r2))};var a2}srSummary(t2){return 0===t2.count?"Histogram, no data":`Histogram, ${t2.count} observations in ${t2.bins.length} bins of width ${J(t2.binWidth)}. Peak ${t2.maxCount}.`}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}showTooltipForHit(t2,i2,s2,e2=false){const n2=i2.cssX,r2=i2.cssY,a2={seriesIndex:0,pointIndex:i2.binIndex,index:i2.binIndex,value:i2.count,cssX:n2,cssY:r2,dataX:(i2.x0+i2.x1)/2,dataY:i2.count,mode:s2.mode},h2=v({frame:{plot:t2.plot},hit:{cssX:n2,cssY:r2},spec:s2}),l2=this.lockedTooltipPositionForHit(i2,s2),c2=l2?.side??h2.side,u2=l2?this.tooltipAnchorFromPositionLock(l2.lock,c2,l2.box,s2.offset??10):{cssX:h2.cssX,cssY:h2.cssY},d2=o(s2.format,[i2.count,a2],(()=>this.formatDefaultTooltipText(i2)),"tooltip.format",s2),p2=o(s2.html,[i2.count,a2],(()=>{}),"tooltip.html",s2),m2={id:this.nextTooltipId++,cssX:u2.cssX,cssY:u2.cssY,pointCssX:n2,pointCssY:r2,box:l2?.box,side:c2,text:d2,html:p2,className:s2.className,style:this.tooltipStyleFromSpec(s2),interactive:s2.interactive,connector:s2.connector,draggable:s2.draggable,offset:s2.offset,positionLock:l2?.lock,context:a2};this.tooltipDrag=void 0,e2&&"multiple"===s2.openMode?(this.cartesianTooltip=m2,this.cartesianTooltips=[...this.cartesianTooltips,m2]):(this.cartesianTooltips=[],this.cartesianTooltip=m2);const f2={cssX:u2.cssX,cssY:u2.cssY,anchor:c2,text:d2,html:p2,context:a2};return this.tooltipShow.emit(f2),f2}formatDefaultTooltipText(t2){if(this.tooltipFormat)try{return this.tooltipFormat({binIndex:t2.binIndex,x0:t2.x0,x1:t2.x1,count:t2.count,value:t2.value,measure:t2.measure,cumulative:t2.cumulative,cssX:t2.cssX,cssY:t2.cssY})}catch(t3){r(this.tooltipFormat,t3,"tooltipFormat")}const i2=this.computeHistogramLayout(),s2=t2.binIndex===i2.model.bins.length-1,e2="count"!==t2.measure||t2.cumulative?" · "+(n2=t2.value,o2=t2.measure,a2=t2.cumulative,Number.isFinite(n2)?"percent"===o2?`${a2?"Σ ":""}${O(n2,1)} %`:"density"===o2?a2?`CDF ${O(n2,3)}`:`density ${O(n2,4)}`:`${a2?"Σ ":""}${O(n2,0)} obs`:"—"):"";var n2,o2,a2;return`[${J(t2.x0)}, ${J(t2.x1)}${s2?"]":")"} · ${t2.count} obs${e2}`}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}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:n2,side:o2,text:r2,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)",...t2.interactive||t2.draggable?{maxHeight:`${Math.max(0,this.height-12)}px`,overflowY:"auto",overscrollBehavior:"contain"}:{},padding:"4px 8px",font:"400 11px system-ui, sans-serif",color:"var(--sy-tooltip-color, #fff)",background:"var(--sy-tooltip-bg, rgba(17,24,39,0.92))",borderRadius:"4px",whiteSpace:"pre-line",lineHeight:"1.35",pointerEvents: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"===o2?(p2.left=`${s2}px`,p2.top=n2-d2+"px",p2.transform="translate(-50%, -100%)"):"bottom"===o2?(p2.left=`${s2}px`,p2.top=`${n2+d2}px`,p2.transform="translate(-50%, 0%)"):"left"===o2?(p2.left=s2-d2+"px",p2.top=`${n2}px`,p2.transform="translate(-100%, -50%)"):(p2.left=`${s2+d2}px`,p2.top=`${n2}px`,p2.transform="translate(0%, -50%)");for(const[t3,i3]of Object.entries(l2??{}))p2[t3]=G(t3,i3);return void 0!==a2?e("div",{class:Z("sy-histogram-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:Z("sy-histogram-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},r2)}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-histogram-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=z(t3);return e("line",{x1:tt(t3.pointCssX),y1:tt(t3.pointCssY),x2:tt(s2.x),y2:tt(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){if(t2.draggable)return t2;const i3={x:Math.max(6,Math.min(t2.positionLock.x,this.width-t2.box.width-6)),y:Math.max(6,Math.min(t2.positionLock.y,this.height-t2.box.height-6))};return{...t2,positionLock:i3,...this.tooltipAnchorFromPositionLock(i3,t2.side,t2.box,t2.offset??10)}}const i2=t2.offset??10,s2=I({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}}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,e2){return s2?this.tooltipAnchorFromTopLeft(t2.x,t2.y,s2,i2,e2):{cssX:t2.x,cssY:t2.y}}tooltipPositionKeyForHit(t2){return`0:${t2.binIndex}`}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.pointIndex!==t2.binIndex)return;const e2=this.tooltipTopLeftFromAnchor(s2);return e2?{lock:e2,side:s2.side,box:s2.box}:void 0}tooltipAnchorFromTopLeft(t2,i2,s2,e2,n2){return"top"===e2?{cssX:t2+s2.width/2,cssY:i2+s2.height+n2}:"bottom"===e2?{cssX:t2+s2.width/2,cssY:i2-n2}:"left"===e2?{cssX:t2+s2.width+n2,cssY:i2+s2.height/2}:{cssX:t2-n2,cssY:i2+s2.height/2}}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,n2=Math.round(100*s2.height)/100;if(t2.box?.width===e2&&t2.box?.height===n2)return;const o2={width:e2,height:n2},r2={...t2,box:o2};t2.positionLock&&Object.assign(r2,this.tooltipAnchorFromPositionLock(t2.positionLock,t2.side,o2,t2.offset??10)),this.rememberDraggableTooltipPosition(r2),this.cartesianTooltip=r2}handleTooltipActionClick=t2=>{const i2=t2.target,s2=i2?.closest?.("[data-tooltip-action]"),e2=s2?.dataset.tooltipAction,n2=Number(s2?.closest?.("[data-tooltip-id]")?.getAttribute("data-tooltip-id")),o2=this.cartesianTooltips.find((t3=>t3.id===n2))??this.cartesianTooltip;e2&&o2&&(t2.stopPropagation(),this.tooltipAction.emit({...o2.context,action:e2,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,n2=this.tooltipTopLeftFromElement(s2)??this.tooltipTopLeftFromAnchor(e2)??{x:e2.cssX,y:e2.cssY},o2=this.cartesianTooltip.box??e2.box,r2={...this.cartesianTooltip,cssX:e2.cssX,cssY:e2.cssY,side:e2.side,box:o2,positionLock:n2};Object.assign(r2,this.tooltipAnchorFromPositionLock(n2,r2.side,o2,r2.offset??10)),this.cartesianTooltip=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:n2.x,originLockY:n2.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)};localPoint(t2){const i2=this.host.getBoundingClientRect();return{cssX:t2.clientX-i2.left,cssY:t2.clientY-i2.top}}handlePointerMove=t2=>{if(this.handleZoomPointerMove(t2))return;if(!this.enableMouseTracking)return;const i2=this.computeHistogramLayout(),{cssX:s2,cssY:e2}=this.localPoint(t2);this.updateCrosshair(i2,s2,e2);const n2=this.resolveTooltipSpec(),o2=this.binIndexAtPoint(i2,s2,e2);if(o2<0)return null!==this.hoverIndex&&(this.hoverIndex=null,this.pointHover.emit(null)),void(this.hasVisibleTooltips()&&this.shouldHideTooltipOnLeave(n2)&&this.clearTooltips());if(o2!==this.hoverIndex&&(this.hoverIndex=o2,this.pointHover.emit(this.detailForBin(i2,o2,s2,e2))),n2.show&&this.shouldShowTooltipOnHover(n2)){const t3=this.histogramHitAtIndex(i2,o2);t3&&this.showTooltipForHit(i2,t3,n2)}else this.hasVisibleTooltips()&&this.shouldHideTooltipOnLeave(n2)&&this.clearTooltips()};handlePointerLeave=()=>{null!==this.hoverIndex&&this.pointHover.emit(null),this.hoverIndex=null,null!==this.cursor&&(this.cursor=null,this.crosshairMove.emit(null));const t2=this.resolveTooltipSpec();this.hasVisibleTooltips()&&this.shouldHideTooltipOnLeave(t2)&&this.clearTooltips()};updateCrosshair(t2,i2,s2){const e2=T(this.crosshair),{plot:n2}=t2;if(!e2.show||!(i2>=n2.x&&i2<=n2.x+n2.width&&s2>=n2.y&&s2<=n2.y+n2.height))return void(null!==this.cursor&&(this.cursor=null,this.crosshairMove.emit(null)));const o2=this.binIndexAtPoint(t2,i2,s2),r2=o2>=0?this.histogramHitAtIndex(t2,o2):null,a2=r2?{cssX:r2.cssX,cssY:r2.cssY,index:o2}:{cssX:i2,cssY:s2,index:void 0};this.cursor&&this.cursor.cssX===a2.cssX&&this.cursor.cssY===a2.cssY||(this.cursor={cssX:a2.cssX,cssY:a2.cssY},this.crosshairMove.emit({cssX:a2.cssX,cssY:a2.cssY,snappedPointIndex:a2.index}))}crosshairLineBackground(t2,i2,s2){if(!s2||0===s2.length)return i2;const e2=Math.max(1,Number.isFinite(Number(s2[0]))?Number(s2[0]):4);return`repeating-linear-gradient(${"vertical"===t2?"to bottom":"to right"}, ${i2} 0px, ${i2} ${e2}px, transparent ${e2}px, transparent ${e2+Math.max(1,Number.isFinite(Number(s2[1]))?Number(s2[1]):e2)}px)`}renderCrosshair(t2){const i2=T(this.crosshair);if(!i2.show||!this.cursor)return null;const{plot:s2}=t2,n2=i2.color??"var(--sy-crosshair-color, rgba(17,24,39,0.4))",o2="horizontal"===i2.mode||"cross"===i2.mode;return e("div",{class:"sy-histogram-chart__crosshair",style:{position:"absolute",left:"0",top:"0",width:`${this.width}px`,height:`${this.height}px`,pointerEvents:"none",zIndex:"1"}},("vertical"===i2.mode||"cross"===i2.mode)&&e("div",{class:"sy-histogram-chart__crosshair-line",style:{position:"absolute",left:`${this.cursor.cssX}px`,top:`${s2.y}px`,width:"1px",height:`${s2.height}px`,background:this.crosshairLineBackground("vertical",n2,i2.dash)}}),o2&&e("div",{class:"sy-histogram-chart__crosshair-line",style:{position:"absolute",left:`${s2.x}px`,top:`${this.cursor.cssY}px`,width:`${s2.width}px`,height:"1px",background:this.crosshairLineBackground("horizontal",n2,i2.dash)}}))}handlePointerClick=t2=>{if(this.consumeSuppressedPlotClick())return;const i2=this.computeHistogramLayout(),{cssX:s2,cssY:e2}=this.localPoint(t2),{plot:n2}=i2,o2=s2>=n2.x&&s2<=n2.x+n2.width&&e2>=n2.y&&e2<=n2.y+n2.height,r2=this.binIndexAtPoint(i2,s2,e2),a2=r2>=0?this.histogramHitAtIndex(i2,r2):null;if(r2<0||!(null!==a2&&e2>=a2.cssY-2))return this.hasVisibleTooltips()&&this.clearTooltips(),void(o2&&this.seriesOutsideClick.emit({cssX:s2,cssY:e2}));this.pointClick.emit(this.detailForBin(i2,r2,s2,e2));const h2=this.resolveTooltipSpec();h2.show&&this.shouldShowTooltipOnClick(h2)&&a2&&this.showTooltipForHit(i2,a2,h2,true)};handleContextMenu=t2=>{const i2=this.computeHistogramLayout(),{cssX:s2,cssY:e2}=this.localPoint(t2),n2=this.binIndexAtPoint(i2,s2,e2);n2<0||this.pointContextMenu.emit(l(t2,this.host,"histogram",this.detailForBin(i2,n2,s2,e2)))};render(){this.reEvaluateEngine();const t2=this.computeHistogramLayout(),i2=this.zoomSpec();return this.pendingRenderedEmit=true,this.srAnnouncement=this.srSummary(t2.model),e(n,{key:"5d71e8b3304c996509ee9f324d67e0310944ad9e",style:{position:"relative",display:"inline-block",width:`${this.width}px`,height:`${this.height}px`,touchAction:i2.enabled&&i2.pinch?"none":void 0},role:"img","aria-label":this.chartTitle??"Histogram","data-total-bins":t2.model.bins.length,"data-total-observations":t2.model.count,"data-tier":this.activeTier,tabIndex:i2.enabled&&i2.keyboard?0:void 0,onKeyDown:this.handleHostKeyDown,"data-sy-brand-host":"chart"},this.renderAxisOverlay(t2),e("canvas",{key:`surface-${this.activeTier}`,"data-tier":this.activeTier,class:"sy-histogram-chart__surface",ref:t3=>{t3?(this.canvasElement=t3,this.canvasTier=this.activeTier):this.canvasElement&&!this.canvasElement.isConnected&&(this.canvasElement=void 0,this.canvasTier=void 0)},style:{position:"absolute",left:"0",top:"0",width:`${this.width}px`,height:`${this.height}px`,zIndex:"2"},onPointerDown:this.handleZoomPointerDown,onPointerMove:this.handlePointerMove,onPointerUp:this.handleZoomPointerUp,onPointerCancel:this.handleZoomPointerCancel,onPointerLeave:this.handlePointerLeave,onClick:this.handlePointerClick,onContextMenu:this.handleContextMenu}),this.renderCrosshair(t2),this.renderZoomOverlay(t2),this.renderTooltipConnector(),this.renderTooltip(),e("span",{key:"e547c927203510ee38a4fb0e82fb5e24ee33734b",class:"sy-histogram-chart__sr-only","aria-live":"polite",role:"status"},this.srAnnouncement),this.fallbackReason&&e("span",{key:"e7c0476e221c4c4292aad539a21da18e9e0f5970",class:"sy-histogram-chart__watermark",title:this.fallbackReason},"Syidax - fell back to standard renderer"),k(this.host,this.brandLogo,{width:this.width,height:this.height,plot:t2.plot}))}renderAxisOverlay(t2){const{frame:i2,outer:s2,plot:n2}=t2,o2=t3=>t3.label??String(t3.value),r2="var(--sy-axis-line-color, rgba(17,24,39,0.42))";return e("div",{class:"sy-histogram-chart__axis-overlay","aria-hidden":"true",style:{position:"absolute",left:"0",top:"0",width:`${this.width}px`,height:`${this.height}px`,pointerEvents:"none"}},i2.titleRect&&this.chartTitle&&e("div",{class:"sy-histogram-chart__title",style:{position:"absolute",left:`${s2.x}px`,top:`${s2.y+i2.titleRect.y}px`,width:`${s2.width}px`,textAlign:"center",font:"600 14px system-ui, sans-serif",color:"var(--sy-axis-color, #111827)"}},this.chartTitle),i2.subtitleRect&&this.chartSubtitle&&e("div",{class:"sy-histogram-chart__subtitle",title:this.chartSubtitle,style:{position:"absolute",left:`${s2.x}px`,top:`${s2.y+i2.subtitleRect.y}px`,width:`${s2.width}px`,textAlign:"center",font:"400 12px system-ui, sans-serif",color:"var(--sy-axis-color-muted, #6b7280)",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"}},this.chartSubtitle),i2.yGridLines.map((t3=>e("div",{class:"sy-histogram-chart__grid-line",style:{position:"absolute",left:`${n2.x}px`,top:`${s2.y+t3.y}px`,width:`${n2.width}px`,height:"1px",background:"var(--sy-axis-grid-color, rgba(0,0,0,0.06))"}}))),i2.xAxes.map((i3=>this.renderXAxisSlot(t2,i3,o2,r2))),i2.yAxes.map((t3=>{const i3="right"===t3.side,a2=s2.x+t3.linePosition,h2=X(t3.ticks,{plotSize:n2.height,orientation:"vertical",format:o2}),l2=this.axisTitleFor(t3);return[...h2.map((n3=>e("div",{class:"sy-histogram-chart__axis-label sy-histogram-chart__axis-label--y"+(i3?" sy-histogram-chart__axis-label--right":""),"data-axis-key":t3.key,"data-side":t3.side,style:{position:"absolute",left:`${i3?a2+6:a2-48}px`,top:s2.y+n3.position-7+"px",width:"42px",textAlign:i3?"left":"right",font:"400 11px system-ui, sans-serif",color:"var(--sy-axis-color, #111827)"}},o2(n3)))),e("div",{class:"sy-histogram-chart__axis-line","data-axis-key":t3.key,style:{position:"absolute",left:`${a2}px`,top:`${n2.y}px`,width:"1px",height:`${n2.height}px`,background:r2}}),l2?e("div",{class:"sy-histogram-chart__axis-title","data-axis-key":t3.key,"data-side":t3.side,style:{position:"absolute",left:`${i3?a2+54:a2-68}px`,top:`${i3?n2.y:n2.y+n2.height}px`,width:`${n2.height}px`,transform:i3?"rotate(90deg)":"rotate(-90deg)",transformOrigin:"left top",textAlign:"center",font:"600 11px system-ui, sans-serif",color:"var(--sy-axis-color,#111827)"}},l2):null]})))}renderXAxisSlot(t2,i2,s2,n2){const{outer:o2,plot:r2}=t2,a2="top"===i2.side,h2=o2.y+i2.linePosition,l2=X(i2.ticks,{plotSize:r2.width,orientation:"horizontal",format:s2}),c2=i2.axis.show&&i2.axis.label||void 0;return[...l2.map((t3=>e("div",{class:"sy-histogram-chart__axis-label sy-histogram-chart__axis-label--x"+(a2?" sy-histogram-chart__axis-label--top":""),"data-axis-key":i2.key,"data-side":i2.side,style:{position:"absolute",left:o2.x+t3.position-28+"px",top:`${a2?h2-19:h2+4}px`,width:"56px",textAlign:"center",font:"400 11px system-ui, sans-serif",color:"var(--sy-axis-color, #111827)"}},s2(t3)))),e("div",{class:"sy-histogram-chart__axis-line","data-axis-key":i2.key,"data-side":i2.side,style:{position:"absolute",left:`${r2.x}px`,top:`${h2}px`,width:`${r2.width}px`,height:"1px",background:n2}}),c2?e("div",{class:"sy-histogram-chart__axis-title sy-histogram-chart__axis-title--x","data-axis-key":i2.key,"data-side":i2.side,style:{position:"absolute",left:`${r2.x}px`,top:`${a2?h2-36:h2+22}px`,width:`${r2.width}px`,textAlign:"center",font:"600 11px system-ui, sans-serif",color:"var(--sy-axis-color,#111827)"}},c2):null]}static get watchers(){return{values:[{handleValuesChange:0}],streamSource:[{handleStreamSourceChange:0}],streamWindow:[{handleStreamSourceChange:0}],streamMax:[{handleStreamSourceChange:0}],animated:[{handleAnimationToggle:0}],animationDuration:[{handleAnimationToggle:0}],animationEasing:[{handleAnimationToggle:0}],animationType:[{handleAnimationToggle:0}],bins:[{handleVisualChange:0}],binWidth:[{handleVisualChange:0}],domainMin:[{handleVisualChange:0}],domainMax:[{handleVisualChange:0}],color:[{handleVisualChange:0}],edgeColor:[{handleVisualChange:0}],activeColor:[{handleVisualChange:0}],valueAxisLabel:[{handleVisualChange:0}],xAxis:[{handleVisualChange:0}],yAxis:[{handleVisualChange:0}],gridLines:[{handleVisualChange:0}],measure:[{handleVisualChange:0}],cumulative:[{handleVisualChange:0}],barGap:[{handleVisualChange:0}],chartTitle:[{handleVisualChange:0}],chartSubtitle:[{handleVisualChange:0}],width:[{handleVisualChange:0}],height:[{handleVisualChange:0}],engine:[{handleVisualChange:0},{resetProInitLatch:0}],unavailable:[{handleVisualChange:0}],proThreshold:[{handleVisualChange:0}]}}};function tt(t2){return Math.round(100*t2)/100}Q.style=".sc-sy-histogram-chart-h{display:inline-block;position:relative}.sy-histogram-chart__surface.sc-sy-histogram-chart{display:block}.sy-histogram-chart__tooltip.sc-sy-histogram-chart{pointer-events:none}.sy-histogram-chart__sr-only.sc-sy-histogram-chart{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border:0}.sy-histogram-chart__watermark.sc-sy-histogram-chart{position:absolute;right:6px;bottom:4px;font:400 10px system-ui,sans-serif;color:#b45309;pointer-events:none;opacity:.75}";export{Q as sy_histogram_chart};
@@ -0,0 +1 @@
1
+ export{S as sy_grid,e as sy_grid_standard}from"./p-CMRCw_kT.js";import"./p-DChj4qx2.js";import"./p-DUELYDa7.js";import"./p-AzDRbG7D.js";