@mobileaction/action-kit 1.52.0 → 1.52.1-beta.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 (489) hide show
  1. package/.vscode/settings.json +93 -0
  2. package/CHANGELOG.md +7 -0
  3. package/README.md +8 -2
  4. package/dist/action-kit.mjs +175 -168
  5. package/dist/{annotations-BgbvMKG_.js → annotations-i9Oo55hS.js} +285 -270
  6. package/dist/{src/components → components}/alert/index.vue.d.ts +3 -9
  7. package/dist/{src/components → components}/alert/stories/alert.stories.d.ts +1 -1
  8. package/dist/{src/components → components}/animation/index.vue.d.ts +3 -3
  9. package/dist/{src/components → components}/animation/stories/animation.stories.d.ts +1 -1
  10. package/dist/{src/components → components}/app-icon/index.vue.d.ts +4 -4
  11. package/dist/{src/components → components}/app-icon/stories/constants.d.ts +1 -2
  12. package/dist/{src/components → components}/app-icon/stories/default.stories.d.ts +2 -2
  13. package/dist/{src/components → components}/app-track-button/index.vue.d.ts +1 -1
  14. package/dist/{src/components → components}/app-track-button/stories/default.stories.d.ts +2 -2
  15. package/dist/{src/components → components}/avatar/index.vue.d.ts +2 -2
  16. package/dist/{src/components → components}/avatar/stories/default.stories.d.ts +1 -1
  17. package/dist/components/badge/index.vue.d.ts +27 -0
  18. package/dist/components/badge/stories/basic.stories.d.ts +733 -0
  19. package/dist/components/badge/stories/blue.stories.d.ts +733 -0
  20. package/dist/components/badge/stories/constants.d.ts +323 -0
  21. package/dist/components/badge/stories/dark.stories.d.ts +733 -0
  22. package/dist/components/badge/stories/green.stories.d.ts +733 -0
  23. package/dist/components/badge/stories/orange.stories.d.ts +733 -0
  24. package/dist/components/badge/stories/pink.stories.d.ts +733 -0
  25. package/dist/components/badge/stories/purple.stories.d.ts +733 -0
  26. package/dist/components/badge/stories/red.stories.d.ts +733 -0
  27. package/dist/{src/components → components}/badge/stories/status.stories.d.ts +2 -2
  28. package/dist/components/badge/stories/teal.stories.d.ts +733 -0
  29. package/dist/components/badge/stories/yellow.stories.d.ts +733 -0
  30. package/dist/{src/components → components}/button/index.vue.d.ts +8 -13
  31. package/dist/{src/components → components}/button/link-button/index.vue.d.ts +8 -13
  32. package/dist/{src/components → components}/button/link-button/stories/link.stories.d.ts +1 -1
  33. package/dist/{src/components → components}/button/social-button/index.vue.d.ts +7 -12
  34. package/dist/{src/components → components}/button/social-button/stories/social.stories.d.ts +1 -1
  35. package/dist/{src/components → components}/button/stories/filled.stories.d.ts +1 -1
  36. package/dist/{src/components → components}/button/stories/ghost.stories.d.ts +1 -1
  37. package/dist/{src/components → components}/button/stories/lighter.stories.d.ts +1 -1
  38. package/dist/{src/components → components}/button/stories/stroke.stories.d.ts +1 -1
  39. package/dist/components/button/utils.d.ts +3 -0
  40. package/dist/components/card/index.vue.d.ts +62 -0
  41. package/dist/{src/components → components}/card/stories/default.stories.d.ts +1 -1
  42. package/dist/{src/components → components}/card/stories/footer.stories.d.ts +1 -1
  43. package/dist/{src/components → components}/card/stories/header.stories.d.ts +1 -1
  44. package/dist/{src/components → components}/cascader/components/option.vue.d.ts +9 -14
  45. package/dist/{src/components → components}/cascader/components/options.vue.d.ts +15 -21
  46. package/dist/{src/components → components}/cascader/composables/useCascaderOverflow.d.ts +2 -2
  47. package/dist/components/cascader/composables/usePopoverAttributeWatcher.d.ts +6 -0
  48. package/dist/components/cascader/index.vue.d.ts +44 -0
  49. package/dist/{src/components → components}/cascader/stories/default.stories.d.ts +1713 -729
  50. package/dist/{src/components → components}/cascader/utils/index.d.ts +4 -4
  51. package/dist/{src/components → components}/chart/components/ChartLoadingContainer.vue.d.ts +12 -16
  52. package/dist/{src/components → components}/chart/components/ChartWatermarkContainer.vue.d.ts +6 -11
  53. package/dist/{src/components → components}/chart/index.vue.d.ts +2 -2
  54. package/dist/{src/components → components}/chart/stories/chart.stories.d.ts +1 -1
  55. package/dist/{src/components → components}/chart/types.d.ts +2 -2
  56. package/dist/{src/components → components}/chart/utils.d.ts +2 -2
  57. package/dist/components/checkbox/group.vue.d.ts +24 -0
  58. package/dist/components/checkbox/index.vue.d.ts +23 -0
  59. package/dist/{src/components → components}/checkbox/stories/default.stories.d.ts +1 -1
  60. package/dist/{src/components → components}/checkbox/stories/group.stories.d.ts +2 -2
  61. package/dist/{src/components → components}/checkbox/stories/indeterminate.stories.d.ts +1 -1
  62. package/dist/components/checkbox-2/card.vue.d.ts +36 -0
  63. package/dist/components/checkbox-2/group.vue.d.ts +38 -0
  64. package/dist/components/checkbox-2/index.vue.d.ts +31 -0
  65. package/dist/{src/components → components}/checkbox-2/stories/card.stories.d.ts +1 -1
  66. package/dist/{src/components → components}/checkbox-2/stories/default.stories.d.ts +1 -1
  67. package/dist/{src/components → components}/checkbox-2/stories/group.stories.d.ts +1 -1
  68. package/dist/components/collapse/components/CollapseContent.vue.d.ts +12 -0
  69. package/dist/components/collapse/components/CollapseHeader.vue.d.ts +16 -0
  70. package/dist/{src/components → components}/collapse/components/CollapseItem.vue.d.ts +8 -12
  71. package/dist/{src/components → components}/collapse/index.vue.d.ts +13 -24
  72. package/dist/{src/components → components}/collapse/stories/default.stories.d.ts +1 -1
  73. package/dist/{src/components → components}/content-scroller/index.vue.d.ts +15 -19
  74. package/dist/{src/components → components}/content-scroller/stories/default.stories.d.ts +1 -1
  75. package/dist/{src/components → components}/country-radio/index.vue.d.ts +1 -1
  76. package/dist/{src/components → components}/country-radio/stories/default.stories.d.ts +1 -1
  77. package/dist/components/country-select/components/multiCountrySelect.vue.d.ts +44 -0
  78. package/dist/components/country-select/components/singleCountrySelect.vue.d.ts +41 -0
  79. package/dist/{src/components → components}/country-select/index.vue.d.ts +15 -10
  80. package/dist/{src/components → components}/country-select/stories/default.stories.d.ts +1 -1
  81. package/dist/{src/components → components}/date-picker/index.vue.d.ts +18 -14
  82. package/dist/{src/components → components}/date-picker/stories/default.stories.d.ts +1 -1
  83. package/dist/{src/components → components}/date-picker/stories/range.stories.d.ts +1 -1
  84. package/dist/{src/components → components}/date-picker-2/components/calendarSelect.vue.d.ts +3 -3
  85. package/dist/{src/components → components}/date-picker-2/composables/useDatePickerFormat.d.ts +3 -3
  86. package/dist/{src/components → components}/date-picker-2/composables/utils.d.ts +1 -1
  87. package/dist/components/date-picker-2/index.vue.d.ts +80 -0
  88. package/dist/{src/components → components}/date-picker-2/stories/default.stories.d.ts +2 -2
  89. package/dist/{src/components → components}/date-picker-2/stories/range.stories.d.ts +2 -2
  90. package/dist/{src/components → components}/date-picker-2/types.d.ts +55 -55
  91. package/dist/{src/components → components}/drawer/index.vue.d.ts +27 -53
  92. package/dist/{src/components → components}/drawer/stories/drawer.stories.d.ts +1 -1
  93. package/dist/{src/components → components}/dropdown/index.vue.d.ts +14 -10
  94. package/dist/{src/components → components}/dropdown/stories/default.stories.d.ts +1 -1
  95. package/dist/components/ellipsis/index.vue.d.ts +16 -0
  96. package/dist/{src/components → components}/ellipsis/stories/default.stories.d.ts +1 -1
  97. package/dist/components/empty/index.vue.d.ts +32 -0
  98. package/dist/{src/components → components}/empty/stories/animation.stories.d.ts +1 -1
  99. package/dist/{src/components → components}/empty/stories/default.stories.d.ts +1 -1
  100. package/dist/{src/components → components}/form/index.vue.d.ts +9 -6
  101. package/dist/{src/components → components}/form/stories/default.stories.d.ts +1 -1
  102. package/dist/components/form-item/index.vue.d.ts +12 -0
  103. package/dist/{src/components → components}/icon/components/flagIcon.vue.d.ts +2 -2
  104. package/dist/{src/components → components}/icon/components/maIcon.vue.d.ts +1 -1
  105. package/dist/{src/components → components}/icon/composables/useUniqueIds.d.ts +2 -2
  106. package/dist/{src/components → components}/icon/index.vue.d.ts +1 -1
  107. package/dist/{src/components → components}/icon/stories/icon.stories.d.ts +1 -1
  108. package/dist/{src/components → components}/icon-button/components/button.vue.d.ts +7 -12
  109. package/dist/components/icon-button/index.vue.d.ts +41 -0
  110. package/dist/{src/components → components}/icon-button/stories/primary.stories.d.ts +1 -1
  111. package/dist/{src/components → components}/icon-button/stories/secondary.stories.d.ts +1 -1
  112. package/dist/components/image/group.vue.d.ts +12 -0
  113. package/dist/components/image/index.vue.d.ts +26 -0
  114. package/dist/{src/components → components}/image/stories/default.stories.d.ts +1 -1
  115. package/dist/components/image-2/group.vue.d.ts +19 -0
  116. package/dist/{src/components → components}/image-2/index.vue.d.ts +6 -11
  117. package/dist/{src/components → components}/image-2/stories/default.stories.d.ts +1 -1
  118. package/dist/{src/components → components}/input/index.vue.d.ts +19 -10
  119. package/dist/{src/components → components}/input/stories/amount.stories.d.ts +1 -1
  120. package/dist/{src/components → components}/input/stories/credit-card.stories.d.ts +1 -1
  121. package/dist/{src/components → components}/input/stories/default.stories.d.ts +1 -1
  122. package/dist/{src/components → components}/input/stories/email.stories.d.ts +1 -1
  123. package/dist/{src/components → components}/input/stories/password.stories.d.ts +1 -1
  124. package/dist/{src/components → components}/input/stories/textarea.stories.d.ts +1 -1
  125. package/dist/{src/components → components}/input/stories/url.stories.d.ts +1 -1
  126. package/dist/{src/components → components}/input/stories/user-info.stories.d.ts +1 -1
  127. package/dist/{src/components → components}/input/types.d.ts +7 -7
  128. package/dist/{src/components → components}/input-number/index.vue.d.ts +12 -8
  129. package/dist/{src/components → components}/input-number/stories/default.stories.d.ts +101 -93
  130. package/dist/{src/components → components}/input-number/types.d.ts +4 -4
  131. package/dist/{src/components → components}/menu/components/MenuItem.vue.d.ts +8 -5
  132. package/dist/{src/components → components}/menu/index.vue.d.ts +8 -5
  133. package/dist/{src/components → components}/menu/stories/constants.d.ts +2 -2
  134. package/dist/{src/components → components}/menu/stories/default.stories.d.ts +2 -2
  135. package/dist/{src/components → components}/modal/components/renderContent.vue.d.ts +1 -1
  136. package/dist/{src/components → components}/modal/index.vue.d.ts +22 -13
  137. package/dist/{src/components → components}/modal/stories/default.stories.d.ts +1 -1
  138. package/dist/{src/components → components}/modal/stories/functions.stories.d.ts +2 -2
  139. package/dist/{src/components → components}/modal/types.d.ts +3 -3
  140. package/dist/components/modal-2/MaConfirmModal.vue.d.ts +28 -0
  141. package/dist/components/modal-2/MaModal.vue.d.ts +37 -0
  142. package/dist/components/modal-2/composables/usemodal.d.ts +1 -0
  143. package/dist/components/modal-2/index.d.ts +5 -0
  144. package/dist/components/modal-2/stories/confirm-modal.stories.d.ts +10 -0
  145. package/dist/components/modal-2/stories/modal.stories.d.ts +15 -0
  146. package/dist/components/modal-2/types.d.ts +136 -0
  147. package/dist/components/modal-2/utils/modal-manager.d.ts +29 -0
  148. package/dist/{src/components → components}/notification/components/notification.vue.d.ts +2 -2
  149. package/dist/components/notification/components/notificationContainer.vue.d.ts +10 -0
  150. package/dist/{src/components → components}/notification/composables/useNotificationAnimation.d.ts +2 -2
  151. package/dist/{src/components → components}/notification/index.d.ts +1 -1
  152. package/dist/{src/components → components}/notification/stories/commonStories.d.ts +2 -2
  153. package/dist/{src/components → components}/notification/stories/filled.stories.d.ts +1 -1
  154. package/dist/{src/components → components}/notification/stories/light.stories.d.ts +1 -1
  155. package/dist/{src/components → components}/notification/stories/stroke.stories.d.ts +1 -1
  156. package/dist/{src/components → components}/notification/types.d.ts +1 -1
  157. package/dist/{src/components → components}/numeric-input/components/singleNumericInput.vue.d.ts +2 -2
  158. package/dist/{src/components → components}/numeric-input/index.vue.d.ts +3 -3
  159. package/dist/{src/components → components}/numeric-input/stories/default.stories.d.ts +2 -2
  160. package/dist/{src/components → components}/pagination/index.vue.d.ts +10 -7
  161. package/dist/{src/components → components}/pagination/stories/default.stories.d.ts +1 -1
  162. package/dist/components/pagination/types.d.ts +19 -0
  163. package/dist/{src/components → components}/popconfirm/index.vue.d.ts +19 -13
  164. package/dist/{src/components → components}/popconfirm/stories/default.stories.d.ts +1 -1
  165. package/dist/{src/components → components}/popconfirm-2/index.vue.d.ts +18 -20
  166. package/dist/{src/components → components}/popconfirm-2/stories/default.stories.d.ts +1 -1
  167. package/dist/{src/components → components}/popconfirm-2/types.d.ts +1 -1
  168. package/dist/{src/components → components}/popover/index.vue.d.ts +16 -11
  169. package/dist/{src/components → components}/popover/stories/default.stories.d.ts +1 -1
  170. package/dist/{src/components → components}/popover-2/index.vue.d.ts +12 -16
  171. package/dist/{src/components → components}/popover-2/stories/default.stories.d.ts +1 -1
  172. package/dist/{src/components → components}/progress/components/circle.vue.d.ts +8 -13
  173. package/dist/{src/components → components}/progress/components/halfCircle.vue.d.ts +8 -13
  174. package/dist/{src/components → components}/progress/components/line.vue.d.ts +9 -13
  175. package/dist/{src/components → components}/progress/components/stepLine.vue.d.ts +8 -13
  176. package/dist/components/progress/index.vue.d.ts +32 -0
  177. package/dist/{src/components → components}/progress/stories/circle.stories.d.ts +1 -1
  178. package/dist/{src/components → components}/progress/stories/half-circle.stories.d.ts +1 -1
  179. package/dist/{src/components → components}/progress/stories/line-step.stories.d.ts +1 -1
  180. package/dist/{src/components → components}/progress/stories/line.stories.d.ts +1 -1
  181. package/dist/{src/components → components}/radio/group.vue.d.ts +9 -4
  182. package/dist/components/radio/index.vue.d.ts +29 -0
  183. package/dist/{src/components → components}/radio/stories/default.stories.d.ts +1 -1
  184. package/dist/components/radio-card/index.vue.d.ts +26 -0
  185. package/dist/{src/components → components}/radio-card/stories/default.stories.d.ts +1 -1
  186. package/dist/{src/components → components}/rate/components/star.vue.d.ts +1 -1
  187. package/dist/{src/components → components}/rate/index.vue.d.ts +2 -2
  188. package/dist/{src/components → components}/rate/stories/default.stories.d.ts +1 -1
  189. package/dist/components/result/index.vue.d.ts +28 -0
  190. package/dist/{src/components → components}/result/stories/constants.d.ts +16 -14
  191. package/dist/{src/components → components}/result/stories/default.stories.d.ts +1 -1
  192. package/dist/{src/components → components}/select/components/dropdownRender.vue.d.ts +2 -2
  193. package/dist/components/select/components/option.vue.d.ts +12 -0
  194. package/dist/{src/components → components}/select/index.vue.d.ts +34 -21
  195. package/dist/{src/components → components}/select/stories/default.stories.d.ts +1 -1
  196. package/dist/{src/components → components}/select/stories/group.stories.d.ts +1 -1
  197. package/dist/{src/components → components}/select/stories/multi-select.stories.d.ts +2 -2
  198. package/dist/{src/components → components}/select/stories/single.stories.d.ts +2 -2
  199. package/dist/{src/components → components}/select-2/components/selectOption.vue.d.ts +9 -20
  200. package/dist/components/select-2/components/selectOptionGroup.vue.d.ts +15 -0
  201. package/dist/{src/components → components}/select-2/composables/use-keyboard-navigation.d.ts +3 -3
  202. package/dist/{src/components → components}/select-2/composables/use-options-registry.d.ts +2 -2
  203. package/dist/components/select-2/index.vue.d.ts +77 -0
  204. package/dist/{src/components → components}/select-2/stories/borderless.stories.d.ts +2 -2
  205. package/dist/{src/components → components}/select-2/stories/inline.stories.d.ts +2 -2
  206. package/dist/{src/components → components}/select-2/stories/multiple.stories.d.ts +2 -2
  207. package/dist/{src/components → components}/select-2/stories/select-option-group.stories.d.ts +12 -10
  208. package/dist/{src/components → components}/select-2/stories/select-option.stories.d.ts +10 -14
  209. package/dist/{src/components → components}/select-2/stories/single.stories.d.ts +2 -2
  210. package/dist/components/select-2/types.d.ts +181 -0
  211. package/dist/components/side-menu/add-new-app-button/index.vue.d.ts +21 -0
  212. package/dist/{src/components → components}/side-menu/add-new-app-button/stories/constants.d.ts +1 -1
  213. package/dist/{src/components → components}/side-menu/add-new-app-button/stories/default.stories.d.ts +2 -2
  214. package/dist/components/side-menu/app-button/index.vue.d.ts +19 -0
  215. package/dist/{src/components → components}/side-menu/app-button/stories/default.stories.d.ts +1 -1
  216. package/dist/components/side-menu/button/index.vue.d.ts +24 -0
  217. package/dist/{src/components → components}/side-menu/button/stories/default.stories.d.ts +1 -1
  218. package/dist/components/side-menu/icon-button/index.vue.d.ts +25 -0
  219. package/dist/{src/components → components}/side-menu/icon-button/stories/default.stories.d.ts +1 -1
  220. package/dist/components/side-menu/menu-item/index.vue.d.ts +32 -0
  221. package/dist/{src/components → components}/side-menu/menu-item/stories/default.stories.d.ts +1 -1
  222. package/dist/components/side-menu/round-icon-button/index.vue.d.ts +15 -0
  223. package/dist/{src/components → components}/side-menu/round-icon-button/stories/default.stories.d.ts +1 -1
  224. package/dist/components/side-menu-2/menu-button/index.vue.d.ts +27 -0
  225. package/dist/{src/components → components}/side-menu-2/menu-button/stories/default.stories.d.ts +1 -1
  226. package/dist/components/side-menu-2/menu-item/index.vue.d.ts +20 -0
  227. package/dist/{src/components → components}/side-menu-2/menu-item/stories/default.stories.d.ts +1 -1
  228. package/dist/{src/components → components}/slider/index.vue.d.ts +14 -11
  229. package/dist/{src/components → components}/slider/stories/default.stories.d.ts +1 -1
  230. package/dist/components/spin/index.vue.d.ts +27 -0
  231. package/dist/{src/components → components}/spin/stories/container.stories.d.ts +1 -1
  232. package/dist/{src/components → components}/spin/stories/default.stories.d.ts +1 -1
  233. package/dist/{src/components → components}/step-items/components/index.vue.d.ts +13 -16
  234. package/dist/{src/components → components}/step-items/index.vue.d.ts +8 -5
  235. package/dist/{src/components → components}/step-items/stories/default.stories.d.ts +1 -1
  236. package/dist/{src/components → components}/step-items/stories/step-item.stories.d.ts +1 -1
  237. package/dist/{src/components → components}/steps/components/index.vue.d.ts +8 -14
  238. package/dist/{src/components → components}/steps/index.vue.d.ts +10 -7
  239. package/dist/{src/components → components}/steps/stories/constants.d.ts +1 -1
  240. package/dist/{src/components → components}/steps/stories/default.stories.d.ts +1 -1
  241. package/dist/{src/components → components}/steps/stories/step.stories.d.ts +1 -1
  242. package/dist/{src/components → components}/switch/index.vue.d.ts +13 -10
  243. package/dist/{src/components → components}/switch/stories/default.stories.d.ts +2 -2
  244. package/dist/{src/components → components}/table/preview.vue.d.ts +1 -1
  245. package/dist/{src/components → components}/table/row-detail.vue.d.ts +1 -1
  246. package/dist/{src/components → components}/table/stories/default.stories.d.ts +1 -1
  247. package/dist/components/tabs/components/tabPane.vue.d.ts +12 -0
  248. package/dist/{src/components → components}/tabs/index.vue.d.ts +9 -4
  249. package/dist/{src/components → components}/tabs/stories/card.stories.d.ts +1 -1
  250. package/dist/{src/components → components}/tabs/stories/line.stories.d.ts +1 -1
  251. package/dist/{src/components → components}/tabs-2/components/tabButton.vue.d.ts +9 -13
  252. package/dist/components/tabs-2/components/tabPane.vue.d.ts +21 -0
  253. package/dist/{src/components → components}/tabs-2/index.vue.d.ts +7 -12
  254. package/dist/{src/components → components}/tabs-2/stories/default.stories.d.ts +22 -22
  255. package/dist/{src/components → components}/tabs-2/stories/tab-button.stories.d.ts +37 -30
  256. package/dist/{src/components → components}/tabs-2/stories/tab-pane.stories.d.ts +6 -9
  257. package/dist/{src/components → components}/tabs-2/types.d.ts +30 -30
  258. package/dist/{src/components → components}/tag-input/index.vue.d.ts +12 -8
  259. package/dist/{src/components → components}/tag-input/stories/default.stories.d.ts +1 -1
  260. package/dist/{src/components → components}/toggle/index.vue.d.ts +2 -2
  261. package/dist/{src/components → components}/toggle/stories/default.stories.d.ts +1 -1
  262. package/dist/components/tooltip/index.vue.d.ts +40 -0
  263. package/dist/{src/components → components}/tooltip/stories/default.stories.d.ts +1 -1
  264. package/dist/{src/components → components}/tooltip-2/index.vue.d.ts +18 -20
  265. package/dist/{src/components → components}/tooltip-2/stories/default.stories.d.ts +1 -1
  266. package/dist/{src/components → components}/tooltip-2/types.d.ts +1 -1
  267. package/dist/{src/components → components}/track-button/index.vue.d.ts +7 -12
  268. package/dist/{src/components → components}/track-button/stories/default.stories.d.ts +1 -1
  269. package/dist/components/tree/components/treeNode.vue.d.ts +86 -0
  270. package/dist/{src/components → components}/tree/index.vue.d.ts +44 -34
  271. package/dist/{src/components → components}/tree/stories/default.stories.d.ts +1 -1
  272. package/dist/{src/components → components}/tree/stories/useTreeData.d.ts +2 -2
  273. package/dist/components/tree/tree.test.d.ts +1 -0
  274. package/dist/components/typography/index.vue.d.ts +22 -0
  275. package/dist/{src/components → components}/typography/stories/default.stories.d.ts +1 -1
  276. package/dist/components/typography/typography.test.d.ts +1 -0
  277. package/dist/components/upload/composables/file.d.ts +7 -0
  278. package/dist/{src/components → components}/upload/index.vue.d.ts +14 -20
  279. package/dist/{src/components → components}/upload/singleFile.vue.d.ts +2 -2
  280. package/dist/{src/components → components}/upload/stories/box.stories.d.ts +1 -1
  281. package/dist/{src/components → components}/upload/stories/button.stories.d.ts +1 -1
  282. package/dist/{src/components → components}/upload/stories/small-box.stories.d.ts +1 -1
  283. package/dist/{src/components → components}/watchlist-button/components/button.vue.d.ts +7 -12
  284. package/dist/components/watchlist-button/index.vue.d.ts +38 -0
  285. package/dist/{src/components → components}/watchlist-button/stories/dashed.stories.d.ts +1 -1
  286. package/dist/{src/components → components}/watchlist-button/stories/default.stories.d.ts +1 -1
  287. package/dist/composables/ssr.d.ts +4 -0
  288. package/dist/export-data-CA6cGUA8.js +327 -0
  289. package/dist/exporting-DnTCWw_r.js +535 -0
  290. package/dist/index-BPx06-rG.js +21643 -0
  291. package/dist/{src/index.d.ts → index.d.ts} +104 -103
  292. package/dist/{map-BQnsgsyH.js → map-Cdw1ttDN.js} +142 -131
  293. package/dist/offline-exporting-C4dBdGF_.js +192 -0
  294. package/dist/{stock-BpFCUQoQ.js → stock-Cjfbzd2U.js} +569 -543
  295. package/dist/style.css +1 -1
  296. package/dist/table.css +20 -9
  297. package/dist/{src/utils → utils}/breakpoints.d.ts +7 -7
  298. package/dist/utils/breakpoints.test.d.ts +1 -0
  299. package/dist/{src/utils → utils}/slots.d.ts +1 -1
  300. package/dist/{venn-BDPRpw4O.js → venn-CXW6o0DL.js} +11 -1
  301. package/dist/window-maximize-DZ18pqtN.js +11 -0
  302. package/dist/window-maximize-Mz2QAuGO.js +20 -0
  303. package/dist/window-minimize-BTRO750T.js +11 -0
  304. package/dist/window-minimize-D66rN0kU.js +20 -0
  305. package/dist/wordcloud-Ca1GKjJC.js +235 -0
  306. package/package.json +71 -63
  307. package/dist/export-data-gLK1CaER.js +0 -292
  308. package/dist/exporting-CpOi_Got.js +0 -385
  309. package/dist/index-B6QMqnzd.js +0 -21110
  310. package/dist/offline-exporting-CE7ZeOSP.js +0 -578
  311. package/dist/src/components/badge/index.vue.d.ts +0 -24
  312. package/dist/src/components/badge/stories/basic.stories.d.ts +0 -12
  313. package/dist/src/components/badge/stories/blue.stories.d.ts +0 -13
  314. package/dist/src/components/badge/stories/constants.d.ts +0 -5
  315. package/dist/src/components/badge/stories/dark.stories.d.ts +0 -13
  316. package/dist/src/components/badge/stories/green.stories.d.ts +0 -13
  317. package/dist/src/components/badge/stories/orange.stories.d.ts +0 -13
  318. package/dist/src/components/badge/stories/pink.stories.d.ts +0 -13
  319. package/dist/src/components/badge/stories/purple.stories.d.ts +0 -13
  320. package/dist/src/components/badge/stories/red.stories.d.ts +0 -13
  321. package/dist/src/components/badge/stories/teal.stories.d.ts +0 -13
  322. package/dist/src/components/badge/stories/yellow.stories.d.ts +0 -13
  323. package/dist/src/components/button/utils.d.ts +0 -3
  324. package/dist/src/components/card/index.vue.d.ts +0 -49
  325. package/dist/src/components/cascader/composables/usePopoverAttributeWatcher.d.ts +0 -6
  326. package/dist/src/components/cascader/index.vue.d.ts +0 -145
  327. package/dist/src/components/checkbox/group.vue.d.ts +0 -19
  328. package/dist/src/components/checkbox/index.vue.d.ts +0 -18
  329. package/dist/src/components/checkbox-2/card.vue.d.ts +0 -59
  330. package/dist/src/components/checkbox-2/group.vue.d.ts +0 -42
  331. package/dist/src/components/checkbox-2/index.vue.d.ts +0 -48
  332. package/dist/src/components/collapse/components/CollapseContent.vue.d.ts +0 -17
  333. package/dist/src/components/collapse/components/CollapseHeader.vue.d.ts +0 -21
  334. package/dist/src/components/country-select/components/multiCountrySelect.vue.d.ts +0 -37
  335. package/dist/src/components/country-select/components/singleCountrySelect.vue.d.ts +0 -34
  336. package/dist/src/components/date-picker-2/index.vue.d.ts +0 -147
  337. package/dist/src/components/ellipsis/index.vue.d.ts +0 -13
  338. package/dist/src/components/empty/index.vue.d.ts +0 -26
  339. package/dist/src/components/form-item/index.vue.d.ts +0 -7
  340. package/dist/src/components/icon-button/index.vue.d.ts +0 -36
  341. package/dist/src/components/image/group.vue.d.ts +0 -35
  342. package/dist/src/components/image/index.vue.d.ts +0 -21
  343. package/dist/src/components/image-2/group.vue.d.ts +0 -26
  344. package/dist/src/components/notification/components/notificationContainer.vue.d.ts +0 -7
  345. package/dist/src/components/pagination/types.d.ts +0 -19
  346. package/dist/src/components/progress/index.vue.d.ts +0 -29
  347. package/dist/src/components/radio/index.vue.d.ts +0 -24
  348. package/dist/src/components/radio-card/index.vue.d.ts +0 -21
  349. package/dist/src/components/result/index.vue.d.ts +0 -23
  350. package/dist/src/components/select/components/option.vue.d.ts +0 -7
  351. package/dist/src/components/select-2/components/selectOptionGroup.vue.d.ts +0 -19
  352. package/dist/src/components/select-2/index.vue.d.ts +0 -331
  353. package/dist/src/components/select-2/types.d.ts +0 -181
  354. package/dist/src/components/side-menu/add-new-app-button/index.vue.d.ts +0 -18
  355. package/dist/src/components/side-menu/app-button/index.vue.d.ts +0 -16
  356. package/dist/src/components/side-menu/button/index.vue.d.ts +0 -21
  357. package/dist/src/components/side-menu/icon-button/index.vue.d.ts +0 -21
  358. package/dist/src/components/side-menu/menu-item/index.vue.d.ts +0 -29
  359. package/dist/src/components/side-menu/round-icon-button/index.vue.d.ts +0 -12
  360. package/dist/src/components/side-menu-2/menu-button/index.vue.d.ts +0 -24
  361. package/dist/src/components/side-menu-2/menu-item/index.vue.d.ts +0 -17
  362. package/dist/src/components/spin/index.vue.d.ts +0 -22
  363. package/dist/src/components/tabs/components/tabPane.vue.d.ts +0 -15
  364. package/dist/src/components/tabs-2/components/tabPane.vue.d.ts +0 -36
  365. package/dist/src/components/tooltip/index.vue.d.ts +0 -34
  366. package/dist/src/components/tree/components/treeNode.vue.d.ts +0 -78
  367. package/dist/src/components/typography/index.vue.d.ts +0 -19
  368. package/dist/src/components/upload/composables/file.d.ts +0 -7
  369. package/dist/src/components/watchlist-button/index.vue.d.ts +0 -33
  370. package/dist/src/composables/ssr.d.ts +0 -4
  371. package/dist/wordcloud-CE1Xcdxc.js +0 -222
  372. /package/dist/{src/components → components}/alert/alert.test.d.ts +0 -0
  373. /package/dist/{src/components → components}/alert/types.d.ts +0 -0
  374. /package/dist/{src/components → components}/animation/stories/constants.d.ts +0 -0
  375. /package/dist/{src/components → components}/animation/types.d.ts +0 -0
  376. /package/dist/{src/components → components}/app-icon/types.d.ts +0 -0
  377. /package/dist/{src/components → components}/app-track-button/stories/constants.d.ts +0 -0
  378. /package/dist/{src/components → components}/avatar/avatar.test.d.ts +0 -0
  379. /package/dist/{src/components → components}/avatar/types.d.ts +0 -0
  380. /package/dist/{src/components → components}/badge/badge.test.d.ts +0 -0
  381. /package/dist/{src/components → components}/badge/types.d.ts +0 -0
  382. /package/dist/{src/components → components}/button/button.test.d.ts +0 -0
  383. /package/dist/{src/components → components}/button/link-button/types.d.ts +0 -0
  384. /package/dist/{src/components → components}/button/social-button/types.d.ts +0 -0
  385. /package/dist/{src/components → components}/button/stories/constants.d.ts +0 -0
  386. /package/dist/{src/components → components}/button/types.d.ts +0 -0
  387. /package/dist/{src/components → components}/card/stories/constants.d.ts +0 -0
  388. /package/dist/{src/components → components}/card/types.d.ts +0 -0
  389. /package/dist/{src/components → components}/cascader/cascader.test.d.ts +0 -0
  390. /package/dist/{src/components → components}/cascader/types.d.ts +0 -0
  391. /package/dist/{src/components → components}/cascader/utils/index.test.d.ts +0 -0
  392. /package/dist/{src/components → components}/chart/chart.test.d.ts +0 -0
  393. /package/dist/{src/components → components}/checkbox/stories/constants.d.ts +0 -0
  394. /package/dist/{src/components → components}/checkbox/types.d.ts +0 -0
  395. /package/dist/{src/components → components}/checkbox-2/checkbox-2.test.d.ts +0 -0
  396. /package/dist/{src/components → components}/checkbox-2/composables/useCheckbox.d.ts +0 -0
  397. /package/dist/{src/components → components}/checkbox-2/types.d.ts +0 -0
  398. /package/dist/{src/components → components}/collapse/collapse.test.d.ts +0 -0
  399. /package/dist/{src/components → components}/collapse/types.d.ts +0 -0
  400. /package/dist/{src/components → components}/content-scroller/types.d.ts +0 -0
  401. /package/dist/{src/components → components}/country-select/types.d.ts +0 -0
  402. /package/dist/{src/components → components}/date-picker/stories/constants.d.ts +0 -0
  403. /package/dist/{src/components → components}/date-picker/types.d.ts +0 -0
  404. /package/dist/{src/components → components}/date-picker-2/date-picker.test.d.ts +0 -0
  405. /package/dist/{src/components → components}/date-picker-2/stories/constants.d.ts +0 -0
  406. /package/dist/{src/components → components}/drawer/drawer.test.d.ts +0 -0
  407. /package/dist/{src/components → components}/dropdown/stories/constants.d.ts +0 -0
  408. /package/dist/{src/components → components}/dropdown/types.d.ts +0 -0
  409. /package/dist/{src/components → components}/ellipsis/stories/constants.d.ts +0 -0
  410. /package/dist/{src/components → components}/empty/stories/constants.d.ts +0 -0
  411. /package/dist/{src/components → components}/empty/types.d.ts +0 -0
  412. /package/dist/{src/components → components}/form/components/nonHSFormsIgnore.vue.d.ts +0 -0
  413. /package/dist/{src/components → components}/form/stories/constants.d.ts +0 -0
  414. /package/dist/{src/components → components}/form/types.d.ts +0 -0
  415. /package/dist/{src/components → components}/icon/icon.test.d.ts +0 -0
  416. /package/dist/{src/components → components}/icon/types.d.ts +0 -0
  417. /package/dist/{src/components → components}/icon/utils.d.ts +0 -0
  418. /package/dist/{src/components → components}/icon-button/stories/constants.d.ts +0 -0
  419. /package/dist/{src/components → components}/icon-button/types.d.ts +0 -0
  420. /package/dist/{src/components → components}/image/stories/constants.d.ts +0 -0
  421. /package/dist/{src/components → components}/image-2/image2.test.d.ts +0 -0
  422. /package/dist/{src/components → components}/image-2/preview.vue.d.ts +0 -0
  423. /package/dist/{src/components → components}/modal/index.d.ts +0 -0
  424. /package/dist/{src/components → components}/modal/stories/constants.d.ts +0 -0
  425. /package/dist/{src/components/notification/notification.test.d.ts → components/modal-2/confirm-modal2.test.d.ts} +0 -0
  426. /package/dist/{src/components/pagination/pagination.test.d.ts → components/modal-2/modal2.test.d.ts} +0 -0
  427. /package/dist/{src/components/popconfirm-2/popconfirm2.test.d.ts → components/modal-2/utils/modal-manager.test.d.ts} +0 -0
  428. /package/dist/{src/components/popover-2/popover2.test.d.ts → components/notification/notification.test.d.ts} +0 -0
  429. /package/dist/{src/components → components}/notification/stories/constants.d.ts +0 -0
  430. /package/dist/{src/components → components}/numeric-input/stories/constants.d.ts +0 -0
  431. /package/dist/{src/components → components}/numeric-input/types.d.ts +0 -0
  432. /package/dist/{src/components/select-2/select.test.d.ts → components/pagination/pagination.test.d.ts} +0 -0
  433. /package/dist/{src/components → components}/popconfirm/types.d.ts +0 -0
  434. /package/dist/{src/components/side-menu-2/side-menu-2.test.d.ts → components/popconfirm-2/popconfirm2.test.d.ts} +0 -0
  435. /package/dist/{src/components → components}/popover/stories/constants.d.ts +0 -0
  436. /package/dist/{src/components → components}/popover/types.d.ts +0 -0
  437. /package/dist/{src/components/switch/switch.test.d.ts → components/popover-2/popover2.test.d.ts} +0 -0
  438. /package/dist/{src/components → components}/popover-2/types.d.ts +0 -0
  439. /package/dist/{src/components → components}/progress/stories/constants.d.ts +0 -0
  440. /package/dist/{src/components → components}/progress/types.d.ts +0 -0
  441. /package/dist/{src/components → components}/radio/types.d.ts +0 -0
  442. /package/dist/{src/components → components}/rate/types.d.ts +0 -0
  443. /package/dist/{src/components → components}/result/types.d.ts +0 -0
  444. /package/dist/{src/components → components}/select/components/optionCheckbox.vue.d.ts +0 -0
  445. /package/dist/{src/components → components}/select/stories/constants.d.ts +0 -0
  446. /package/dist/{src/components → components}/select/types.d.ts +0 -0
  447. /package/dist/{src/components/tabs-2/tabButton.test.d.ts → components/select-2/select.test.d.ts} +0 -0
  448. /package/dist/{src/components → components}/select-2/stories/constants.d.ts +0 -0
  449. /package/dist/{src/components → components}/side-menu/app-button/stories/constants.d.ts +0 -0
  450. /package/dist/{src/components → components}/side-menu/button/stories/constants.d.ts +0 -0
  451. /package/dist/{src/components → components}/side-menu/icon-button/stories/constants.d.ts +0 -0
  452. /package/dist/{src/components → components}/side-menu/menu-item/stories/constants.d.ts +0 -0
  453. /package/dist/{src/components → components}/side-menu/menu-item/types.d.ts +0 -0
  454. /package/dist/{src/components → components}/side-menu/round-icon-button/stories/constants.d.ts +0 -0
  455. /package/dist/{src/components → components}/side-menu-2/menu-button/types.d.ts +0 -0
  456. /package/dist/{src/components → components}/side-menu-2/menu-item/stories/constants.d.ts +0 -0
  457. /package/dist/{src/components/tabs-2/tabs.test.d.ts → components/side-menu-2/side-menu-2.test.d.ts} +0 -0
  458. /package/dist/{src/components → components}/slider/types.d.ts +0 -0
  459. /package/dist/{src/components → components}/spin/stories/constants.d.ts +0 -0
  460. /package/dist/{src/components → components}/spin/types.d.ts +0 -0
  461. /package/dist/{src/components → components}/steps/types.d.ts +0 -0
  462. /package/dist/{src/components → components}/switch/stories/constants.d.ts +0 -0
  463. /package/dist/{src/components/tooltip-2/tooltip2.test.d.ts → components/switch/switch.test.d.ts} +0 -0
  464. /package/dist/{src/components → components}/switch/types.d.ts +0 -0
  465. /package/dist/{src/components → components}/table/stories/data/fields.d.ts +0 -0
  466. /package/dist/{src/components → components}/tabs/stories/constants.d.ts +0 -0
  467. /package/dist/{src/components → components}/tabs/types.d.ts +0 -0
  468. /package/dist/{src/components/tooltip/tooltip.test.d.ts → components/tabs-2/tabButton.test.d.ts} +0 -0
  469. /package/dist/{src/components/track-button/track-button.test.d.ts → components/tabs-2/tabs.test.d.ts} +0 -0
  470. /package/dist/{src/components → components}/tag-input/stories/constants.d.ts +0 -0
  471. /package/dist/{src/components → components}/tag-input/types.d.ts +0 -0
  472. /package/dist/{src/components → components}/toggle/types.d.ts +0 -0
  473. /package/dist/{src/components → components}/tooltip/stories/constants.d.ts +0 -0
  474. /package/dist/{src/components/typography/typography.test.d.ts → components/tooltip/tooltip.test.d.ts} +0 -0
  475. /package/dist/{src/components → components}/tooltip/types.d.ts +0 -0
  476. /package/dist/{src/components/tree/tree.test.d.ts → components/tooltip-2/tooltip2.test.d.ts} +0 -0
  477. /package/dist/{src/components → components}/track-button/stories/constants.d.ts +0 -0
  478. /package/dist/{src/utils/breakpoints.test.d.ts → components/track-button/track-button.test.d.ts} +0 -0
  479. /package/dist/{src/components → components}/track-button/types.d.ts +0 -0
  480. /package/dist/{src/components → components}/tree/stories/constants.d.ts +0 -0
  481. /package/dist/{src/components → components}/tree/types.d.ts +0 -0
  482. /package/dist/{src/components → components}/typography/stories/constants.d.ts +0 -0
  483. /package/dist/{src/components → components}/typography/types.d.ts +0 -0
  484. /package/dist/{src/components → components}/upload/stories/constants.d.ts +0 -0
  485. /package/dist/{src/components → components}/upload/types.d.ts +0 -0
  486. /package/dist/{src/components → components}/watchlist-button/stories/constants.d.ts +0 -0
  487. /package/dist/{src/components → components}/watchlist-button/types.d.ts +0 -0
  488. /package/dist/{src/composables → composables}/config.d.ts +0 -0
  489. /package/dist/{src/services → services}/config.d.ts +0 -0
@@ -1,81 +1,90 @@
1
- import { g as ua } from "./index-B6QMqnzd.js";
2
- function ca(Dt, te) {
3
- for (var H = 0; H < te.length; H++) {
4
- const et = te[H];
1
+ import { g as fa } from "./index-BPx06-rG.js";
2
+ function ma(Dt, ee) {
3
+ for (var H = 0; H < ee.length; H++) {
4
+ const et = ee[H];
5
5
  if (typeof et != "string" && !Array.isArray(et)) {
6
- for (const pt in et)
7
- if (pt !== "default" && !(pt in Dt)) {
8
- const Pt = Object.getOwnPropertyDescriptor(et, pt);
9
- Pt && Object.defineProperty(Dt, pt, Pt.get ? Pt : {
6
+ for (const dt in et)
7
+ if (dt !== "default" && !(dt in Dt)) {
8
+ const Pt = Object.getOwnPropertyDescriptor(et, dt);
9
+ Pt && Object.defineProperty(Dt, dt, Pt.get ? Pt : {
10
10
  enumerable: !0,
11
- get: () => et[pt]
11
+ get: () => et[dt]
12
12
  });
13
13
  }
14
14
  }
15
15
  }
16
16
  return Object.freeze(Object.defineProperty(Dt, Symbol.toStringTag, { value: "Module" }));
17
17
  }
18
- var Qt = { exports: {} }, ga = Qt.exports, $i;
19
- function fa() {
20
- return $i || ($i = 1, function(Dt, te) {
18
+ var te = { exports: {} }, xa = te.exports, Ji;
19
+ function ba() {
20
+ return Ji || (Ji = 1, function(Dt, ee) {
21
+ /**
22
+ * Highcharts JS v12.3.0 (2025-06-21)
23
+ * @module highcharts/modules/broken-axis
24
+ * @requires highcharts
25
+ *
26
+ * (c) 2009-2025 Torstein Honsi
27
+ *
28
+ * License: www.highcharts.com/license
29
+ */
21
30
  (function(H, et) {
22
31
  Dt.exports = et(H._Highcharts, H._Highcharts.Axis, H._Highcharts.Point, H._Highcharts.Series, H._Highcharts.Color, H._Highcharts.SeriesRegistry, H._Highcharts.RendererRegistry, H._Highcharts.SVGRenderer, H._Highcharts.SVGElement, H._Highcharts.Templating, H._Highcharts.Chart, H._Highcharts.Series.types.column, H._Highcharts.StackItem);
23
- })(typeof window > "u" ? ga : window, (H, et, pt, Pt, Qi, ts, es, is, ss, os, rs, as, ns) => (() => {
24
- let ee, ie, Ye, se;
25
- var oe, re, ae, ne, le, he, de, pe, ls = { 28: (a) => {
26
- a.exports = ss;
32
+ })(typeof window > "u" ? xa : window, (H, et, dt, Pt, ts, es, is, ss, os, rs, as, ns, ls) => (() => {
33
+ let ie, se, He, oe;
34
+ var re, ae, ne, le, he, de, pe, ue, hs = { 28: (a) => {
35
+ a.exports = os;
27
36
  }, 184: (a) => {
28
- a.exports = ns;
37
+ a.exports = ls;
29
38
  }, 260: (a) => {
30
- a.exports = pt;
39
+ a.exports = dt;
31
40
  }, 448: (a) => {
32
- a.exports = as;
41
+ a.exports = ns;
33
42
  }, 512: (a) => {
34
- a.exports = ts;
43
+ a.exports = es;
35
44
  }, 532: (a) => {
36
45
  a.exports = et;
37
46
  }, 540: (a) => {
38
- a.exports = is;
47
+ a.exports = ss;
39
48
  }, 608: (a) => {
40
- a.exports = es;
49
+ a.exports = is;
41
50
  }, 620: (a) => {
42
- a.exports = Qi;
51
+ a.exports = ts;
43
52
  }, 820: (a) => {
44
53
  a.exports = Pt;
45
54
  }, 944: (a) => {
46
55
  a.exports = H;
47
56
  }, 960: (a) => {
48
- a.exports = rs;
57
+ a.exports = as;
49
58
  }, 984: (a) => {
50
- a.exports = os;
51
- } }, Ne = {};
52
- function R(a) {
53
- var t = Ne[a];
59
+ a.exports = rs;
60
+ } }, Ye = {};
61
+ function G(a) {
62
+ var t = Ye[a];
54
63
  if (t !== void 0) return t.exports;
55
- var e = Ne[a] = { exports: {} };
56
- return ls[a](e, e.exports, R), e.exports;
64
+ var e = Ye[a] = { exports: {} };
65
+ return hs[a](e, e.exports, G), e.exports;
57
66
  }
58
- R.n = (a) => {
67
+ G.n = (a) => {
59
68
  var t = a && a.__esModule ? () => a.default : () => a;
60
- return R.d(t, { a: t }), t;
61
- }, R.d = (a, t) => {
62
- for (var e in t) R.o(t, e) && !R.o(a, e) && Object.defineProperty(a, e, { enumerable: !0, get: t[e] });
63
- }, R.o = (a, t) => Object.prototype.hasOwnProperty.call(a, t);
64
- var Fe = {};
65
- R.d(Fe, { default: () => pa });
66
- var hs = R(944), B = R.n(hs), ds = R(532), ue = R.n(ds), ps = R(260), us = R.n(ps), cs = R(820), gs = R.n(cs);
67
- let { tooltipFormatter: fs } = us().prototype, { addEvent: ce, arrayMax: ms, arrayMin: xs, correctFloat: bs, defined: Ue, isArray: vs, isNumber: ys, isString: Ms, pick: Rt } = B();
69
+ return G.d(t, { a: t }), t;
70
+ }, G.d = (a, t) => {
71
+ for (var e in t) G.o(t, e) && !G.o(a, e) && Object.defineProperty(a, e, { enumerable: !0, get: t[e] });
72
+ }, G.o = (a, t) => Object.prototype.hasOwnProperty.call(a, t);
73
+ var Ne = {};
74
+ G.d(Ne, { default: () => ga });
75
+ var ds = G(944), B = G.n(ds), ps = G(532), ce = G.n(ps), us = G(260), cs = G.n(us), gs = G(820), fs = G.n(gs);
76
+ let { tooltipFormatter: ms } = cs().prototype, { addEvent: ge, arrayMax: xs, arrayMin: bs, correctFloat: vs, defined: Fe, isArray: ys, isNumber: Ms, isString: As, pick: Rt } = B();
68
77
  (function(a) {
69
78
  function t(d, r, l) {
70
79
  !this.isXAxis && (this.series.forEach(function(h) {
71
- d === "compare" && typeof r != "boolean" ? h.setCompare(r, !1) : d !== "cumulative" || Ms(r) || h.setCumulative(r, !1);
80
+ d === "compare" && typeof r != "boolean" ? h.setCompare(r, !1) : d !== "cumulative" || As(r) || h.setCumulative(r, !1);
72
81
  }), Rt(l, !0) && this.chart.redraw());
73
82
  }
74
83
  function e(d) {
75
84
  let r = this, { numberFormatter: l } = r.series.chart, h = function(f) {
76
85
  d = d.replace("{point." + f + "}", (r[f] > 0 && f === "change" ? "+" : "") + l(r[f], Rt(r.series.tooltipOptions.changeDecimals, 2)));
77
86
  };
78
- return Ue(r.change) && h("change"), Ue(r.cumulativeSum) && h("cumulativeSum"), fs.apply(this, [d]);
87
+ return Fe(r.change) && h("change"), Fe(r.cumulativeSum) && h("cumulativeSum"), ms.apply(this, [d]);
79
88
  }
80
89
  function i() {
81
90
  let d, r = this.options.compare;
@@ -85,7 +94,7 @@ function fa() {
85
94
  let r = d.dataExtremes, l = r.activeYData;
86
95
  if (this.dataModify && r) {
87
96
  let h;
88
- this.options.compare ? h = [this.dataModify.modifyValue(r.dataMin), this.dataModify.modifyValue(r.dataMax)] : this.options.cumulative && vs(l) && l.length >= 2 && (h = p.getCumulativeExtremes(l)), h && (r.dataMin = xs(h), r.dataMax = ms(h));
97
+ this.options.compare ? h = [this.dataModify.modifyValue(r.dataMin), this.dataModify.modifyValue(r.dataMax)] : this.options.cumulative && ys(l) && l.length >= 2 && (h = p.getCumulativeExtremes(l)), h && (r.dataMin = bs(h), r.dataMax = xs(h));
89
98
  }
90
99
  }
91
100
  function o(d, r) {
@@ -99,7 +108,7 @@ function fa() {
99
108
  let r = this.getColumn("x", !0), l = this.dataTable.rowCount, h = +(this.options.compareStart !== !0);
100
109
  for (let f = 0; f < l - h; f++) {
101
110
  let m = d[f];
102
- if (ys(m) && m !== 0 && r[f + h] >= (this.xAxis.min || 0)) {
111
+ if (Ms(m) && m !== 0 && r[f + h] >= (this.xAxis.min || 0)) {
103
112
  this.dataModify.compareValue = m;
104
113
  break;
105
114
  }
@@ -119,7 +128,7 @@ function fa() {
119
128
  }
120
129
  a.compose = function(d, r, l) {
121
130
  let h = r.prototype, f = l.prototype, m = d.prototype;
122
- return m.setCompare || (m.setCompare = o, m.setCumulative = u, ce(d, "afterInit", i), ce(d, "afterGetExtremes", s), ce(d, "afterProcessData", n)), h.setCompare || (h.setCompare = c, h.setModifier = t, h.setCumulative = g, f.tooltipFormatter = e), d;
131
+ return m.setCompare || (m.setCompare = o, m.setCumulative = u, ge(d, "afterInit", i), ge(d, "afterGetExtremes", s), ge(d, "afterProcessData", n)), h.setCompare || (h.setCompare = c, h.setModifier = t, h.setCumulative = g, f.tooltipFormatter = e), d;
123
132
  };
124
133
  class p {
125
134
  constructor(r) {
@@ -153,7 +162,7 @@ function fa() {
153
162
  this.modifyValue = function(r, l) {
154
163
  if (r === null && (r = 0), r !== void 0 && l !== void 0) {
155
164
  let h = l > 0 ? this.series.points[l - 1] : null;
156
- h && h.cumulativeSum && (r = bs(h.cumulativeSum + r));
165
+ h && h.cumulativeSum && (r = vs(h.cumulativeSum + r));
157
166
  let f = this.series.points[l], m = f.series.options.cumulativeStart, x = f.x <= this.series.xAxis.max && f.x >= this.series.xAxis.min;
158
167
  return f && (!m || x ? f.cumulativeSum = r : f.cumulativeSum = void 0), r;
159
168
  }
@@ -162,64 +171,64 @@ function fa() {
162
171
  }
163
172
  }
164
173
  a.Additions = p;
165
- })(oe || (oe = {}));
166
- let As = oe, { isTouchDevice: Ve } = B(), { addEvent: xt, merge: _e, pick: ge } = B(), ks = [];
167
- function ws() {
174
+ })(re || (re = {}));
175
+ let ks = re, { isTouchDevice: Ue } = B(), { addEvent: xt, merge: Ve, pick: fe } = B(), ws = [];
176
+ function Ss() {
168
177
  this.navigator && this.navigator.setBaseSeries(null, !1);
169
178
  }
170
- function Ss() {
179
+ function Ts() {
171
180
  let a, t, e, i = this.legend, s = this.navigator;
172
181
  if (s) {
173
182
  a = i && i.options, t = s.xAxis, e = s.yAxis;
174
183
  let { scrollbarHeight: o, scrollButtonSize: n } = s;
175
- this.inverted ? (s.left = s.opposite ? this.chartWidth - o - s.height : this.spacing[3] + o, s.top = this.plotTop + n) : (s.left = ge(t.left, this.plotLeft + n), s.top = s.navigatorOptions.top || this.chartHeight - s.height - o - (this.scrollbar?.options.margin || 0) - this.spacing[2] - (this.rangeSelector && this.extraBottomMargin ? this.rangeSelector.getHeight() : 0) - (a && a.verticalAlign === "bottom" && a.layout !== "proximate" && a.enabled && !a.floating ? i.legendHeight + ge(a.margin, 10) : 0) - (this.titleOffset ? this.titleOffset[2] : 0)), t && e && (this.inverted ? t.options.left = e.options.left = s.left : t.options.top = e.options.top = s.top, t.setAxisSize(), e.setAxisSize());
184
+ this.inverted ? (s.left = s.opposite ? this.chartWidth - o - s.height : this.spacing[3] + o, s.top = this.plotTop + n) : (s.left = fe(t.left, this.plotLeft + n), s.top = s.navigatorOptions.top || this.chartHeight - s.height - o - (this.scrollbar?.options.margin || 0) - this.spacing[2] - (this.rangeSelector && this.extraBottomMargin ? this.rangeSelector.getHeight() : 0) - (a && a.verticalAlign === "bottom" && a.layout !== "proximate" && a.enabled && !a.floating ? i.legendHeight + fe(a.margin, 10) : 0) - (this.titleOffset ? this.titleOffset[2] : 0)), t && e && (this.inverted ? t.options.left = e.options.left = s.left : t.options.top = e.options.top = s.top, t.setAxisSize(), e.setAxisSize());
176
185
  }
177
186
  }
178
- function Ts(a) {
179
- !this.navigator && !this.scroller && (this.options.navigator.enabled || this.options.scrollbar.enabled) && (this.scroller = this.navigator = new ee(this), ge(a.redraw, !0) && this.redraw(a.animation));
187
+ function Es(a) {
188
+ !this.navigator && !this.scroller && (this.options.navigator.enabled || this.options.scrollbar.enabled) && (this.scroller = this.navigator = new ie(this), fe(a.redraw, !0) && this.redraw(a.animation));
180
189
  }
181
- function Es() {
190
+ function Os() {
182
191
  let a = this.options;
183
- (a.navigator.enabled || a.scrollbar.enabled) && (this.scroller = this.navigator = new ee(this));
192
+ (a.navigator.enabled || a.scrollbar.enabled) && (this.scroller = this.navigator = new ie(this));
184
193
  }
185
- function Os() {
194
+ function Bs() {
186
195
  let a = this.options, t = a.navigator, e = a.rangeSelector;
187
- if ((t && t.enabled || e && e.enabled) && (!Ve && this.zooming.type === "x" || Ve && this.zooming.pinchType === "x")) return !1;
196
+ if ((t && t.enabled || e && e.enabled) && (!Ue && this.zooming.type === "x" || Ue && this.zooming.pinchType === "x")) return !1;
188
197
  }
189
- function Bs(a) {
198
+ function Cs(a) {
190
199
  let t = a.navigator;
191
200
  if (t && a.xAxis[0]) {
192
201
  let e = a.xAxis[0].getExtremes();
193
202
  t.render(e.min, e.max);
194
203
  }
195
204
  }
196
- function Cs(a) {
205
+ function Ds(a) {
197
206
  let t = a.options.navigator || {}, e = a.options.scrollbar || {};
198
- !this.navigator && !this.scroller && (t.enabled || e.enabled) && (_e(!0, this.options.navigator, t), _e(!0, this.options.scrollbar, e), delete a.options.navigator, delete a.options.scrollbar);
207
+ !this.navigator && !this.scroller && (t.enabled || e.enabled) && (Ve(!0, this.options.navigator, t), Ve(!0, this.options.scrollbar, e), delete a.options.navigator, delete a.options.scrollbar);
199
208
  }
200
- let Ds = { compose: function(a, t) {
201
- if (B().pushUnique(ks, a)) {
209
+ let Ps = { compose: function(a, t) {
210
+ if (B().pushUnique(ws, a)) {
202
211
  let e = a.prototype;
203
- ee = t, e.callbacks.push(Bs), xt(a, "afterAddSeries", ws), xt(a, "afterSetChartSize", Ss), xt(a, "afterUpdate", Ts), xt(a, "beforeRender", Es), xt(a, "beforeShowResetZoom", Os), xt(a, "update", Cs);
212
+ ie = t, e.callbacks.push(Cs), xt(a, "afterAddSeries", Ss), xt(a, "afterSetChartSize", Ts), xt(a, "afterUpdate", Es), xt(a, "beforeRender", Os), xt(a, "beforeShowResetZoom", Bs), xt(a, "update", Ds);
204
213
  }
205
- } }, { isTouchDevice: Ps } = B(), { addEvent: je, correctFloat: qe, defined: fe, isNumber: Ze, pick: Ke } = B();
206
- function Rs() {
207
- this.navigatorAxis || (this.navigatorAxis = new me(this));
214
+ } }, { isTouchDevice: Rs } = B(), { addEvent: _e, correctFloat: je, defined: me, isNumber: qe, pick: Ze } = B();
215
+ function Gs() {
216
+ this.navigatorAxis || (this.navigatorAxis = new xe(this));
208
217
  }
209
- function Gs(a) {
218
+ function Is(a) {
210
219
  let t, e = this.chart, i = e.options, s = i.navigator, o = this.navigatorAxis, n = e.zooming.pinchType, c = i.rangeSelector, u = e.zooming.type;
211
220
  if (this.isXAxis && (s?.enabled || c?.enabled)) {
212
221
  if (u === "y" && a.trigger === "zoom") t = !1;
213
- else if ((a.trigger === "zoom" && u === "xy" || Ps && n === "xy") && this.options.range) {
222
+ else if ((a.trigger === "zoom" && u === "xy" || Rs && n === "xy") && this.options.range) {
214
223
  let g = o.previousZoom;
215
- fe(a.min) ? o.previousZoom = [this.min, this.max] : g && (a.min = g[0], a.max = g[1], o.previousZoom = void 0);
224
+ me(a.min) ? o.previousZoom = [this.min, this.max] : g && (a.min = g[0], a.max = g[1], o.previousZoom = void 0);
216
225
  }
217
226
  }
218
227
  t !== void 0 && a.preventDefault();
219
228
  }
220
- class me {
229
+ class xe {
221
230
  static compose(t) {
222
- t.keepProps.includes("navigatorAxis") || (t.keepProps.push("navigatorAxis"), je(t, "init", Rs), je(t, "setExtremes", Gs));
231
+ t.keepProps.includes("navigatorAxis") || (t.keepProps.push("navigatorAxis"), _e(t, "init", Gs), _e(t, "setExtremes", Is));
223
232
  }
224
233
  constructor(t) {
225
234
  this.axis = t;
@@ -228,30 +237,30 @@ function fa() {
228
237
  this.axis = void 0;
229
238
  }
230
239
  toFixedRange(t, e, i, s) {
231
- let o = this.axis, n = (o.pointRange || 0) / 2, c = Ke(i, o.translate(t, !0, !o.horiz)), u = Ke(s, o.translate(e, !0, !o.horiz));
232
- return fe(i) || (c = qe(c + n)), fe(s) || (u = qe(u - n)), Ze(c) && Ze(u) || (c = u = void 0), { min: c, max: u };
240
+ let o = this.axis, n = (o.pointRange || 0) / 2, c = Ze(i, o.translate(t, !0, !o.horiz)), u = Ze(s, o.translate(e, !0, !o.horiz));
241
+ return me(i) || (c = je(c + n)), me(s) || (u = je(u - n)), qe(c) && qe(u) || (c = u = void 0), { min: c, max: u };
233
242
  }
234
243
  }
235
- var Is = R(620), zs = R.n(Is), Ls = R(512), _ = R.n(Ls);
236
- let { parse: Ws } = zs(), { seriesTypes: Xs } = _(), xe = { height: 40, margin: 22, maskInside: !0, handles: { width: 7, borderRadius: 0, height: 15, symbols: ["navigator-handle", "navigator-handle"], enabled: !0, lineWidth: 1, backgroundColor: "#f2f2f2", borderColor: "#999999" }, maskFill: Ws("#667aff").setOpacity(0.3).get(), outlineColor: "#999999", outlineWidth: 1, series: { type: Xs.areaspline === void 0 ? "line" : "areaspline", fillOpacity: 0.05, lineWidth: 1, compare: null, sonification: { enabled: !1 }, dataGrouping: { approximation: "average", enabled: !0, groupPixelWidth: 2, firstAnchor: "firstPoint", anchor: "middle", lastAnchor: "lastPoint", units: [["millisecond", [1, 2, 5, 10, 20, 25, 50, 100, 200, 500]], ["second", [1, 2, 5, 10, 15, 30]], ["minute", [1, 2, 5, 10, 15, 30]], ["hour", [1, 2, 3, 4, 6, 8, 12]], ["day", [1, 2, 3, 4]], ["week", [1, 2, 3]], ["month", [1, 3, 6]], ["year", null]] }, dataLabels: { enabled: !1, zIndex: 2 }, id: "highcharts-navigator-series", className: "highcharts-navigator-series", lineColor: null, marker: { enabled: !1 }, threshold: null }, xAxis: { className: "highcharts-navigator-xaxis", tickLength: 0, lineWidth: 0, gridLineColor: "#e6e6e6", id: "navigator-x-axis", gridLineWidth: 1, tickPixelInterval: 200, labels: { align: "left", style: { color: "#000000", fontSize: "0.7em", opacity: 0.6, textOutline: "2px contrast" }, x: 3, y: -4 }, crosshair: !1 }, yAxis: { className: "highcharts-navigator-yaxis", gridLineWidth: 0, startOnTick: !1, endOnTick: !1, minPadding: 0.1, id: "navigator-y-axis", maxPadding: 0.1, labels: { enabled: !1 }, crosshair: !1, title: { text: void 0 }, tickLength: 0, tickWidth: 0 } }, { defined: xa, isNumber: ba, pick: va } = B(), Hs = { rect: function(a, t, e, i, s) {
244
+ var zs = G(620), Ls = G.n(zs), Ws = G(512), _ = G.n(Ws);
245
+ let { parse: Xs } = Ls(), { seriesTypes: Hs } = _(), be = { height: 40, margin: 22, maskInside: !0, handles: { width: 7, borderRadius: 0, height: 15, symbols: ["navigator-handle", "navigator-handle"], enabled: !0, lineWidth: 1, backgroundColor: "#f2f2f2", borderColor: "#999999" }, maskFill: Xs("#667aff").setOpacity(0.3).get(), outlineColor: "#999999", outlineWidth: 1, series: { type: Hs.areaspline === void 0 ? "line" : "areaspline", fillOpacity: 0.05, lineWidth: 1, compare: null, sonification: { enabled: !1 }, dataGrouping: { approximation: "average", enabled: !0, groupPixelWidth: 2, firstAnchor: "firstPoint", anchor: "middle", lastAnchor: "lastPoint", units: [["millisecond", [1, 2, 5, 10, 20, 25, 50, 100, 200, 500]], ["second", [1, 2, 5, 10, 15, 30]], ["minute", [1, 2, 5, 10, 15, 30]], ["hour", [1, 2, 3, 4, 6, 8, 12]], ["day", [1, 2, 3, 4]], ["week", [1, 2, 3]], ["month", [1, 3, 6]], ["year", null]] }, dataLabels: { enabled: !1, zIndex: 2 }, id: "highcharts-navigator-series", className: "highcharts-navigator-series", lineColor: null, marker: { enabled: !1 }, threshold: null }, xAxis: { className: "highcharts-navigator-xaxis", tickLength: 0, lineWidth: 0, gridLineColor: "#e6e6e6", id: "navigator-x-axis", gridLineWidth: 1, tickPixelInterval: 200, labels: { align: "left", style: { color: "#000000", fontSize: "0.7em", opacity: 0.6, textOutline: "2px contrast" }, x: 3, y: -4 }, crosshair: !1 }, yAxis: { className: "highcharts-navigator-yaxis", gridLineWidth: 0, startOnTick: !1, endOnTick: !1, minPadding: 0.1, id: "navigator-y-axis", maxPadding: 0.1, labels: { enabled: !1 }, crosshair: !1, title: { text: void 0 }, tickLength: 0, tickWidth: 0 } }, { defined: ya, isNumber: Ma, pick: Aa } = B(), Ys = { rect: function(a, t, e, i, s) {
237
246
  return s?.r ? function(o, n, c, u, g) {
238
247
  let p = g?.r || 0;
239
248
  return [["M", o + p, n], ["L", o + c - p, n], ["A", p, p, 0, 0, 1, o + c, n + p], ["L", o + c, n + u - p], ["A", p, p, 0, 0, 1, o + c - p, n + u], ["L", o + p, n + u], ["A", p, p, 0, 0, 1, o, n + u - p], ["L", o, n + p], ["A", p, p, 0, 0, 1, o + p, n], ["Z"]];
240
249
  }(a, t, e, i, s) : [["M", a, t], ["L", a + e, t], ["L", a + e, t + i], ["L", a, t + i], ["Z"]];
241
- } }, { relativeLength: Ys } = B(), Ns = { "navigator-handle": function(a, t, e, i, s = {}) {
242
- let o = s.width ? s.width / 2 : e, n = Ys(s.borderRadius || 0, Math.min(2 * o, i));
243
- return [["M", -1.5, (i = s.height || i) / 2 - 3.5], ["L", -1.5, i / 2 + 4.5], ["M", 0.5, i / 2 - 3.5], ["L", 0.5, i / 2 + 4.5], ...Hs.rect(-o - 1, 0.5, 2 * o + 1, i, { r: n })];
250
+ } }, { relativeLength: Ns } = B(), Fs = { "navigator-handle": function(a, t, e, i, s = {}) {
251
+ let o = s.width ? s.width / 2 : e, n = Ns(s.borderRadius || 0, Math.min(2 * o, i));
252
+ return [["M", -1.5, (i = s.height || i) / 2 - 3.5], ["L", -1.5, i / 2 + 4.5], ["M", 0.5, i / 2 - 3.5], ["L", 0.5, i / 2 + 4.5], ...Ys.rect(-o - 1, 0.5, 2 * o + 1, i, { r: n })];
244
253
  } };
245
- var Fs = R(608), $e = R.n(Fs);
246
- let { defined: Je } = B(), Qe = { setFixedRange: function(a) {
254
+ var Us = G(608), Ke = G.n(Us);
255
+ let { defined: $e } = B(), Je = { setFixedRange: function(a) {
247
256
  let t = this.xAxis[0];
248
- Je(t.dataMax) && Je(t.dataMin) && a ? this.fixedRange = Math.min(a, t.dataMax - t.dataMin) : this.fixedRange = a;
249
- } }, { setOptions: Us } = B(), { composed: Vs } = B(), { getRendererType: _s } = $e(), { setFixedRange: js } = Qe, { addEvent: qs, extend: Zs, pushUnique: Ks } = B();
257
+ $e(t.dataMax) && $e(t.dataMin) && a ? this.fixedRange = Math.min(a, t.dataMax - t.dataMin) : this.fixedRange = a;
258
+ } }, { defaultOptions: Vs } = B(), { composed: _s } = B(), { getRendererType: js } = Ke(), { setFixedRange: qs } = Je, { addEvent: Zs, extend: Qe, pushUnique: Ks } = B();
250
259
  function $s() {
251
260
  this.chart.navigator && !this.options.isInternal && this.chart.navigator.setBaseSeries(null, !1);
252
261
  }
253
262
  let Js = { compose: function(a, t, e) {
254
- me.compose(t), Ks(Vs, "Navigator") && (a.prototype.setFixedRange = js, Zs(_s().prototype.symbols, Ns), qs(e, "afterUpdate", $s), Us({ navigator: xe }));
263
+ xe.compose(t), Ks(_s, "Navigator") && (a.prototype.setFixedRange = qs, Qe(js().prototype.symbols, Fs), Qe(Vs, { navigator: be }), Zs(e, "afterUpdate", $s));
255
264
  } }, { composed: Qs } = B(), { addEvent: Nt, defined: bt, pick: Ft, pushUnique: to } = B();
256
265
  (function(a) {
257
266
  let t;
@@ -267,11 +276,10 @@ function fa() {
267
276
  let n = this;
268
277
  n.options?.scrollbar?.enabled && (n.options.scrollbar.vertical = !n.horiz, n.options.startOnTick = n.options.endOnTick = !1, n.scrollbar = new t(n.chart.renderer, n.options.scrollbar, n.chart), Nt(n.scrollbar, "changed", function(c) {
269
278
  let u, g, { axisMin: p, axisMax: d, scrollMin: r, scrollMax: l } = e(n), h = l - r;
270
- if (bt(p) && bt(d))
271
- if (n.horiz && !n.reversed || !n.horiz && n.reversed ? (u = r + h * this.to, g = r + h * this.from) : (u = r + h * (1 - this.from), g = r + h * (1 - this.to)), this.shouldUpdateExtremes(c.DOMType)) {
272
- let f = c.DOMType !== "mousemove" && c.DOMType !== "touchmove" && void 0;
273
- n.setExtremes(g, u, !0, f, c);
274
- } else this.setRange(this.from, this.to);
279
+ if (bt(p) && bt(d)) if (n.horiz && !n.reversed || !n.horiz && n.reversed ? (u = r + h * this.to, g = r + h * this.from) : (u = r + h * (1 - this.from), g = r + h * (1 - this.to)), this.shouldUpdateExtremes(c.DOMType)) {
280
+ let f = c.DOMType !== "mousemove" && c.DOMType !== "touchmove" && void 0;
281
+ n.setExtremes(g, u, !0, f, c);
282
+ } else this.setRange(this.from, this.to);
275
283
  }));
276
284
  }
277
285
  function o() {
@@ -292,11 +300,11 @@ function fa() {
292
300
  a.compose = function(n, c) {
293
301
  to(Qs, "Axis.Scrollbar") && (t = c, Nt(n, "afterGetOffset", i), Nt(n, "afterInit", s), Nt(n, "afterRender", o));
294
302
  };
295
- })(re || (re = {}));
296
- let eo = re, be = { height: 10, barBorderRadius: 5, buttonBorderRadius: 0, buttonsEnabled: !1, liveRedraw: void 0, margin: void 0, minWidth: 6, opposite: !0, step: 0.2, zIndex: 3, barBackgroundColor: "#cccccc", barBorderWidth: 0, barBorderColor: "#cccccc", buttonArrowColor: "#333333", buttonBackgroundColor: "#e6e6e6", buttonBorderColor: "#cccccc", buttonBorderWidth: 1, rifleColor: "none", trackBackgroundColor: "rgba(255, 255, 255, 0.001)", trackBorderColor: "#cccccc", trackBorderRadius: 5, trackBorderWidth: 1 }, { defaultOptions: ve } = B(), { addEvent: io, correctFloat: ut, crisp: Ut, defined: ti, destroyObjectProperties: so, fireEvent: Gt, merge: ye, pick: It, removeEvent: oo } = B();
297
- class at {
303
+ })(ae || (ae = {}));
304
+ let eo = ae, Ut = { height: 10, barBorderRadius: 5, buttonBorderRadius: 0, buttonsEnabled: !1, liveRedraw: void 0, margin: void 0, minWidth: 6, opposite: !0, step: 0.2, zIndex: 3, barBackgroundColor: "#cccccc", barBorderWidth: 0, barBorderColor: "#cccccc", buttonArrowColor: "#333333", buttonBackgroundColor: "#e6e6e6", buttonBorderColor: "#cccccc", buttonBorderWidth: 1, rifleColor: "none", trackBackgroundColor: "rgba(255, 255, 255, 0.001)", trackBorderColor: "#cccccc", trackBorderRadius: 5, trackBorderWidth: 1 }, { defaultOptions: ti } = B(), { composed: io } = B(), { addEvent: so, correctFloat: pt, crisp: Vt, defined: ei, destroyObjectProperties: oo, extend: ro, fireEvent: Gt, merge: ii, pick: It, pushUnique: ao, removeEvent: no } = B();
305
+ class ut {
298
306
  static compose(t) {
299
- eo.compose(t, at);
307
+ eo.compose(t, ut), ao(io, "Scrollbar") && ro(ti, { scrollbar: Ut });
300
308
  }
301
309
  static swapXY(t, e) {
302
310
  return e && t.forEach((i) => {
@@ -310,7 +318,7 @@ function fa() {
310
318
  addEvents() {
311
319
  let t = this.options.inverted ? [1, 0] : [0, 1], e = this.scrollbarButtons, i = this.scrollbarGroup.element, s = this.track.element, o = this.mouseDownHandler.bind(this), n = this.mouseMoveHandler.bind(this), c = this.mouseUpHandler.bind(this), u = [[e[t[0]].element, "click", this.buttonToMinClick.bind(this)], [e[t[1]].element, "click", this.buttonToMaxClick.bind(this)], [s, "click", this.trackClick.bind(this)], [i, "mousedown", o], [i.ownerDocument, "mousemove", n], [i.ownerDocument, "mouseup", c], [i, "touchstart", o], [i.ownerDocument, "touchmove", n], [i.ownerDocument, "touchend", c]];
312
320
  u.forEach(function(g) {
313
- io.apply(null, g);
321
+ so.apply(null, g);
314
322
  }), this._events = u;
315
323
  }
316
324
  buttonToMaxClick(t) {
@@ -318,8 +326,8 @@ function fa() {
318
326
  this.updatePosition(this.from + e, this.to + e), Gt(this, "changed", { from: this.from, to: this.to, trigger: "scrollbar", DOMEvent: t });
319
327
  }
320
328
  buttonToMinClick(t) {
321
- let e = ut(this.to - this.from) * It(this.options.step, 0.2);
322
- this.updatePosition(ut(this.from - e), ut(this.to - e)), Gt(this, "changed", { from: this.from, to: this.to, trigger: "scrollbar", DOMEvent: t });
329
+ let e = pt(this.to - this.from) * It(this.options.step, 0.2);
330
+ this.updatePosition(pt(this.from - e), pt(this.to - e)), Gt(this, "changed", { from: this.from, to: this.to, trigger: "scrollbar", DOMEvent: t });
323
331
  }
324
332
  cursorToScrollbarPosition(t) {
325
333
  let e = this.options, i = e.minWidth > this.calculatedWidth ? e.minWidth : 0;
@@ -329,19 +337,19 @@ function fa() {
329
337
  let t = this, e = t.chart.scroller;
330
338
  t.removeEvents(), ["track", "scrollbarRifles", "scrollbar", "scrollbarGroup", "group"].forEach(function(i) {
331
339
  t[i] && t[i].destroy && (t[i] = t[i].destroy());
332
- }), e && t === e.scrollbar && (e.scrollbar = null, so(e.scrollbarButtons));
340
+ }), e && t === e.scrollbar && (e.scrollbar = null, oo(e.scrollbarButtons));
333
341
  }
334
342
  drawScrollbarButton(t) {
335
343
  let e = this.renderer, i = this.scrollbarButtons, s = this.options, o = this.size, n = e.g().add(this.group);
336
344
  if (i.push(n), s.buttonsEnabled) {
337
345
  let c = e.rect().addClass("highcharts-scrollbar-button").add(n);
338
346
  this.chart.styledMode || c.attr({ stroke: s.buttonBorderColor, "stroke-width": s.buttonBorderWidth, fill: s.buttonBackgroundColor }), c.attr(c.crisp({ x: -0.5, y: -0.5, width: o, height: o, r: s.buttonBorderRadius }, c.strokeWidth()));
339
- let u = e.path(at.swapXY([["M", o / 2 + (t ? -1 : 1), o / 2 - 3], ["L", o / 2 + (t ? -1 : 1), o / 2 + 3], ["L", o / 2 + (t ? 2 : -2), o / 2]], s.vertical)).addClass("highcharts-scrollbar-arrow").add(i[t]);
347
+ let u = e.path(ut.swapXY([["M", o / 2 + (t ? -1 : 1), o / 2 - 3], ["L", o / 2 + (t ? -1 : 1), o / 2 + 3], ["L", o / 2 + (t ? 2 : -2), o / 2]], s.vertical)).addClass("highcharts-scrollbar-arrow").add(i[t]);
340
348
  this.chart.styledMode || u.attr({ fill: s.buttonArrowColor });
341
349
  }
342
350
  }
343
351
  init(t, e, i) {
344
- this.scrollbarButtons = [], this.renderer = t, this.userOptions = e, this.options = ye(be, ve.scrollbar, e), this.options.margin = It(this.options.margin, 10), this.chart = i, this.size = It(this.options.size, this.options.height), e.enabled && (this.render(), this.addEvents());
352
+ this.scrollbarButtons = [], this.renderer = t, this.userOptions = e, this.options = ii(Ut, ti.scrollbar, e), this.options.margin = It(this.options.margin, 10), this.chart = i, this.size = It(this.options.size, this.options.height), e.enabled && (this.render(), this.addEvents());
345
353
  }
346
354
  mouseDownHandler(t) {
347
355
  let e = this.chart.pointer?.normalize(t) || t, i = this.cursorToScrollbarPosition(e);
@@ -360,47 +368,47 @@ function fa() {
360
368
  }
361
369
  removeEvents() {
362
370
  this._events.forEach(function(t) {
363
- oo.apply(null, t);
371
+ no.apply(null, t);
364
372
  }), this._events.length = 0;
365
373
  }
366
374
  render() {
367
375
  let t = this.renderer, e = this.options, i = this.size, s = this.chart.styledMode, o = t.g("scrollbar").attr({ zIndex: e.zIndex }).hide().add();
368
376
  this.group = o, this.track = t.rect().addClass("highcharts-scrollbar-track").attr({ r: e.trackBorderRadius || 0, height: i, width: i }).add(o), s || this.track.attr({ fill: e.trackBackgroundColor, stroke: e.trackBorderColor, "stroke-width": e.trackBorderWidth });
369
377
  let n = this.trackBorderWidth = this.track.strokeWidth();
370
- this.track.attr({ x: -Ut(0, n), y: -Ut(0, n) }), this.scrollbarGroup = t.g().add(o), this.scrollbar = t.rect().addClass("highcharts-scrollbar-thumb").attr({ height: i - n, width: i - n, r: e.barBorderRadius || 0 }).add(this.scrollbarGroup), this.scrollbarRifles = t.path(at.swapXY([["M", -3, i / 4], ["L", -3, 2 * i / 3], ["M", 0, i / 4], ["L", 0, 2 * i / 3], ["M", 3, i / 4], ["L", 3, 2 * i / 3]], e.vertical)).addClass("highcharts-scrollbar-rifles").add(this.scrollbarGroup), s || (this.scrollbar.attr({ fill: e.barBackgroundColor, stroke: e.barBorderColor, "stroke-width": e.barBorderWidth }), this.scrollbarRifles.attr({ stroke: e.rifleColor, "stroke-width": 1 })), this.scrollbarStrokeWidth = this.scrollbar.strokeWidth(), this.scrollbarGroup.translate(-Ut(0, this.scrollbarStrokeWidth), -Ut(0, this.scrollbarStrokeWidth)), this.drawScrollbarButton(0), this.drawScrollbarButton(1);
378
+ this.track.attr({ x: -Vt(0, n), y: -Vt(0, n) }), this.scrollbarGroup = t.g().add(o), this.scrollbar = t.rect().addClass("highcharts-scrollbar-thumb").attr({ height: i - n, width: i - n, r: e.barBorderRadius || 0 }).add(this.scrollbarGroup), this.scrollbarRifles = t.path(ut.swapXY([["M", -3, i / 4], ["L", -3, 2 * i / 3], ["M", 0, i / 4], ["L", 0, 2 * i / 3], ["M", 3, i / 4], ["L", 3, 2 * i / 3]], e.vertical)).addClass("highcharts-scrollbar-rifles").add(this.scrollbarGroup), s || (this.scrollbar.attr({ fill: e.barBackgroundColor, stroke: e.barBorderColor, "stroke-width": e.barBorderWidth }), this.scrollbarRifles.attr({ stroke: e.rifleColor, "stroke-width": 1 })), this.scrollbarStrokeWidth = this.scrollbar.strokeWidth(), this.scrollbarGroup.translate(-Vt(0, this.scrollbarStrokeWidth), -Vt(0, this.scrollbarStrokeWidth)), this.drawScrollbarButton(0), this.drawScrollbarButton(1);
371
379
  }
372
380
  setRange(t, e) {
373
381
  let i, s, o = this.options, n = o.vertical, c = o.minWidth, u = this.barWidth, g = !this.rendered || this.hasDragged || this.chart.navigator && this.chart.navigator.hasDragged ? "attr" : "animate";
374
- if (!ti(u)) return;
382
+ if (!ei(u)) return;
375
383
  let p = u * Math.min(e, 1);
376
- i = Math.ceil(u * (t = Math.max(t, 0))), this.calculatedWidth = s = ut(p - i), s < c && (i = (u - c + s) * t, s = c);
384
+ i = Math.ceil(u * (t = Math.max(t, 0))), this.calculatedWidth = s = pt(p - i), s < c && (i = (u - c + s) * t, s = c);
377
385
  let d = Math.floor(i + this.xOffset + this.yOffset), r = s / 2 - 0.5;
378
386
  this.from = t, this.to = e, n ? (this.scrollbarGroup[g]({ translateY: d }), this.scrollbar[g]({ height: s }), this.scrollbarRifles[g]({ translateY: r }), this.scrollbarTop = d, this.scrollbarLeft = 0) : (this.scrollbarGroup[g]({ translateX: d }), this.scrollbar[g]({ width: s }), this.scrollbarRifles[g]({ translateX: r }), this.scrollbarLeft = d, this.scrollbarTop = 0), s <= 12 ? this.scrollbarRifles.hide() : this.scrollbarRifles.show(), o.showFull === !1 && (t <= 0 && e >= 1 ? this.group.hide() : this.group.show()), this.rendered = !0;
379
387
  }
380
388
  shouldUpdateExtremes(t) {
381
- return It(this.options.liveRedraw, B().svg && !B().isTouchDevice && !this.chart.boosted) || t === "mouseup" || t === "touchend" || !ti(t);
389
+ return It(this.options.liveRedraw, B().svg && !B().isTouchDevice && !this.chart.boosted) || t === "mouseup" || t === "touchend" || !ei(t);
382
390
  }
383
391
  trackClick(t) {
384
392
  let e = this.chart.pointer?.normalize(t) || t, i = this.to - this.from, s = this.y + this.scrollbarTop, o = this.x + this.scrollbarLeft;
385
393
  this.options.vertical && e.chartY > s || !this.options.vertical && e.chartX > o ? this.updatePosition(this.from + i, this.to + i) : this.updatePosition(this.from - i, this.to - i), Gt(this, "changed", { from: this.from, to: this.to, trigger: "scrollbar", DOMEvent: t });
386
394
  }
387
395
  update(t) {
388
- this.destroy(), this.init(this.chart.renderer, ye(!0, this.options, t), this.chart);
396
+ this.destroy(), this.init(this.chart.renderer, ii(!0, this.options, t), this.chart);
389
397
  }
390
398
  updatePosition(t, e) {
391
- e > 1 && (t = ut(1 - ut(e - t)), e = 1), t < 0 && (e = ut(e - t), t = 0), this.from = t, this.to = e;
399
+ e > 1 && (t = pt(1 - pt(e - t)), e = 1), t < 0 && (e = pt(e - t), t = 0), this.from = t, this.to = e;
392
400
  }
393
401
  }
394
- at.defaultOptions = be, ve.scrollbar = ye(!0, at.defaultOptions, ve.scrollbar);
395
- var ro = R(540), ao = R.n(ro);
396
- let { defaultOptions: Me } = B(), { isTouchDevice: no } = B(), { prototype: { symbols: ei } } = ao(), { addEvent: Y, clamp: ii, correctFloat: Vt, defined: vt, destroyObjectProperties: lo, erase: yt, extend: ho, find: po, fireEvent: Ae, isArray: si, isNumber: K, merge: Mt, pick: j, removeEvent: _t, splat: oi } = B();
397
- function jt(a, ...t) {
402
+ ut.defaultOptions = Ut;
403
+ var lo = G(540), ho = G.n(lo);
404
+ let { defaultOptions: ve } = B(), { isTouchDevice: po } = B(), { prototype: { symbols: si } } = ho(), { addEvent: N, clamp: oi, correctFloat: _t, defined: vt, destroyObjectProperties: uo, erase: yt, extend: co, find: go, fireEvent: ye, isArray: ri, isNumber: K, merge: Mt, pick: j, removeEvent: jt, splat: ai } = B();
405
+ function qt(a, ...t) {
398
406
  let e = [].filter.call(t, K);
399
407
  if (e.length) return Math[a].apply(0, e);
400
408
  }
401
- class qt {
409
+ class Zt {
402
410
  static compose(t, e, i) {
403
- Ds.compose(t, qt), Js.compose(t, e, i);
411
+ Ps.compose(t, Zt), Js.compose(t, e, i);
404
412
  }
405
413
  constructor(t) {
406
414
  this.isDirty = !1, this.scrollbarHeight = 0, this.init(t);
@@ -430,7 +438,7 @@ function fa() {
430
438
  let l = g.symbols[r];
431
439
  if (t.handles[r] && t.handles[r].symbolUrl === l) {
432
440
  if (!t.handles[r].isImg && t.handles[r].symbolName !== l) {
433
- let h = ei[l].call(ei, -d / 2 - 1, 0, d, p);
441
+ let h = si[l].call(si, -d / 2 - 1, 0, d, p);
434
442
  t.handles[r].attr({ d: h }), t.handles[r].symbolName = l;
435
443
  }
436
444
  } else t.handles[r]?.destroy(), t.handles[r] = n.symbol(l, -d / 2 - 1, 0, d, p, g), t.handles[r].attr({ zIndex: 7 - r }).addClass("highcharts-navigator-handle highcharts-navigator-handle-" + ["left", "right"][r]).add(u), t.addMouseEvents();
@@ -442,9 +450,9 @@ function fa() {
442
450
  let i = this.chart, s = i.options.chart.inverted !== i.scrollbar?.options.vertical;
443
451
  if (Mt(!0, i.options.navigator, t), this.navigatorOptions = i.options.navigator || {}, this.setOpposite(), vt(t.enabled) || s) return this.destroy(), this.navigatorEnabled = t.enabled || this.navigatorEnabled, this.init(i);
444
452
  if (this.navigatorEnabled && (this.isDirty = !0, t.adaptToUpdatedData === !1 && this.baseSeries.forEach((o) => {
445
- _t(o, "updatedData", this.updatedDataHandler);
453
+ jt(o, "updatedData", this.updatedDataHandler);
446
454
  }, this), t.adaptToUpdatedData && this.baseSeries.forEach((o) => {
447
- o.eventsToUnbind.push(Y(o, "updatedData", this.updatedDataHandler));
455
+ o.eventsToUnbind.push(N(o, "updatedData", this.updatedDataHandler));
448
456
  }, this), (t.series || t.baseSeries) && this.setBaseSeries(void 0, !1), t.height || t.xAxis || t.yAxis)) {
449
457
  this.height = t.height ?? this.height;
450
458
  let o = this.getXAxisOffsets();
@@ -453,19 +461,17 @@ function fa() {
453
461
  e && i.redraw();
454
462
  }
455
463
  render(t, e, i, s) {
456
- let o = this.chart, n = this.xAxis, c = n.pointRange || 0, u = n.navigatorAxis.fake ? o.xAxis[0] : n, g = this.navigatorEnabled, p = this.rendered, d = o.inverted, r = o.xAxis[0].minRange, l = o.xAxis[0].options.maxRange, h = this.scrollButtonSize, f, m, x, b = this.scrollbarHeight, w, v;
464
+ let o = this.chart, n = this.xAxis, c = n.pointRange || 0, u = n.navigatorAxis.fake ? o.xAxis[0] : n, g = this.navigatorEnabled, p = this.rendered, d = o.inverted, r = o.xAxis[0].minRange, l = o.xAxis[0].options.maxRange, h = this.scrollButtonSize, f, m, x, b = this.scrollbarHeight, S, v;
457
465
  if (this.hasDragged && !vt(i)) return;
458
- if (this.isDirty && this.renderElements(), t = Vt(t - c / 2), e = Vt(e + c / 2), !K(t) || !K(e)) {
459
- if (!p) return;
460
- i = 0, s = j(n.width, u.width);
461
- }
466
+ if (this.isDirty && this.renderElements(), t = _t(t - c / 2), e = _t(e + c / 2), !K(t) || !K(e)) if (p) i = 0, s = j(n.width, u.width);
467
+ else return;
462
468
  this.left = j(n.left, o.plotLeft + h + (d ? o.plotWidth : 0));
463
- let M = this.size = w = j(n.len, (d ? o.plotHeight : o.plotWidth) - 2 * h);
464
- f = d ? b : w + 2 * h, i = j(i, n.toPixels(t, !0)), s = j(s, n.toPixels(e, !0)), K(i) && Math.abs(i) !== 1 / 0 || (i = 0, s = f);
465
- let A = n.toValue(i, !0), y = n.toValue(s, !0), E = Math.abs(Vt(y - A));
466
- E < r ? this.grabbedLeft ? i = n.toPixels(y - r - c, !0) : this.grabbedRight && (s = n.toPixels(A + r + c, !0)) : vt(l) && Vt(E - c) > l && (this.grabbedLeft ? i = n.toPixels(y - l - c, !0) : this.grabbedRight && (s = n.toPixels(A + l + c, !0))), this.zoomedMax = ii(Math.max(i, s), 0, M), this.zoomedMin = ii(this.fixedWidth ? this.zoomedMax - this.fixedWidth : Math.min(i, s), 0, M), this.range = this.zoomedMax - this.zoomedMin, M = Math.round(this.zoomedMax);
467
- let k = Math.round(this.zoomedMin);
468
- g && (this.navigatorGroup.attr({ visibility: "inherit" }), v = p && !this.hasDragged ? "animate" : "attr", this.drawMasks(k, M, d, v), this.drawOutline(k, M, d, v), this.navigatorOptions.handles.enabled && (this.drawHandle(k, 0, d, v), this.drawHandle(M, 1, d, v))), this.scrollbar && (d ? (x = this.top - h, m = this.left - b + (g || !u.opposite ? 0 : (u.titleOffset || 0) + u.axisTitleMargin), b = w + 2 * h) : (x = this.top + (g ? this.height : -b), m = this.left - h), this.scrollbar.position(m, x, f, b), this.scrollbar.setRange(this.zoomedMin / (w || 1), this.zoomedMax / (w || 1))), this.rendered = !0, this.isDirty = !1, Ae(this, "afterRender");
469
+ let M = this.size = S = j(n.len, (d ? o.plotHeight : o.plotWidth) - 2 * h);
470
+ f = d ? b : S + 2 * h, i = j(i, n.toPixels(t, !0)), s = j(s, n.toPixels(e, !0)), K(i) && Math.abs(i) !== 1 / 0 || (i = 0, s = f);
471
+ let A = n.toValue(i, !0), y = n.toValue(s, !0), E = Math.abs(_t(y - A));
472
+ E < r ? this.grabbedLeft ? i = n.toPixels(y - r - c, !0) : this.grabbedRight && (s = n.toPixels(A + r + c, !0)) : vt(l) && _t(E - c) > l && (this.grabbedLeft ? i = n.toPixels(y - l - c, !0) : this.grabbedRight && (s = n.toPixels(A + l + c, !0))), this.zoomedMax = oi(Math.max(i, s), 0, M), this.zoomedMin = oi(this.fixedWidth ? this.zoomedMax - this.fixedWidth : Math.min(i, s), 0, M), this.range = this.zoomedMax - this.zoomedMin, M = Math.round(this.zoomedMax);
473
+ let w = Math.round(this.zoomedMin);
474
+ g && (this.navigatorGroup.attr({ visibility: "inherit" }), v = p && !this.hasDragged ? "animate" : "attr", this.drawMasks(w, M, d, v), this.drawOutline(w, M, d, v), this.navigatorOptions.handles.enabled && (this.drawHandle(w, 0, d, v), this.drawHandle(M, 1, d, v))), this.scrollbar && (d ? (x = this.top - h, m = this.left - b + (g || !u.opposite ? 0 : (u.titleOffset || 0) + u.axisTitleMargin), b = S + 2 * h) : (x = this.top + (g ? this.height : -b), m = this.left - h), this.scrollbar.position(m, x, f, b), this.scrollbar.setRange(this.zoomedMin / (S || 1), this.zoomedMax / (S || 1))), this.rendered = !0, this.isDirty = !1, ye(this, "afterRender");
469
475
  }
470
476
  addMouseEvents() {
471
477
  let t = this, e = t.chart, i = e.container, s = [], o, n;
@@ -473,7 +479,7 @@ function fa() {
473
479
  t.onMouseMove(c);
474
480
  }, t.mouseUpHandler = n = function(c) {
475
481
  t.onMouseUp(c);
476
- }, (s = t.getPartsEvents("mousedown")).push(Y(e.renderTo, "mousemove", o), Y(i.ownerDocument, "mouseup", n), Y(e.renderTo, "touchmove", o), Y(i.ownerDocument, "touchend", n)), s.concat(t.getPartsEvents("touchstart")), t.eventsToUnbind = s, t.series && t.series[0] && s.push(Y(t.series[0].xAxis, "foundExtremes", function() {
482
+ }, (s = t.getPartsEvents("mousedown")).push(N(e.renderTo, "mousemove", o), N(i.ownerDocument, "mouseup", n), N(e.renderTo, "touchmove", o), N(i.ownerDocument, "touchend", n)), s.concat(t.getPartsEvents("touchstart")), t.eventsToUnbind = s, t.series && t.series[0] && s.push(N(t.series[0].xAxis, "foundExtremes", function() {
477
483
  e.navigator.modifyNavigatorAxisExtremes();
478
484
  }));
479
485
  }
@@ -481,7 +487,7 @@ function fa() {
481
487
  let e = this, i = [];
482
488
  return ["shades", "handles"].forEach(function(s) {
483
489
  e[s].forEach(function(o, n) {
484
- i.push(Y(o.element, t, function(c) {
490
+ i.push(N(o.element, t, function(c) {
485
491
  e[s + "Mousedown"](c, n);
486
492
  }));
487
493
  });
@@ -490,7 +496,7 @@ function fa() {
490
496
  shadesMousedown(t, e) {
491
497
  t = this.chart.pointer?.normalize(t) || t;
492
498
  let i = this.chart, s = this.xAxis, o = this.zoomedMin, n = this.size, c = this.range, u = this.left, g = t.chartX, p, d, r, l;
493
- i.inverted && (g = t.chartY, u = this.top), e === 1 ? (this.grabbedCenter = g, this.fixedWidth = c, this.dragOffset = g - o) : (l = g - u - c / 2, e === 0 ? l = Math.max(0, l) : e === 2 && l + c >= n && (l = n - c, this.reversedExtremes ? (l -= c, d = this.getUnionExtremes().dataMin) : p = this.getUnionExtremes().dataMax), l !== o && (this.fixedWidth = c, vt((r = s.navigatorAxis.toFixedRange(l, l + c, d, p)).min) && Ae(this, "setRange", { min: Math.min(r.min, r.max), max: Math.max(r.min, r.max), redraw: !0, eventArguments: { trigger: "navigator" } })));
499
+ i.inverted && (g = t.chartY, u = this.top), e === 1 ? (this.grabbedCenter = g, this.fixedWidth = c, this.dragOffset = g - o) : (l = g - u - c / 2, e === 0 ? l = Math.max(0, l) : e === 2 && l + c >= n && (l = n - c, this.reversedExtremes ? (l -= c, d = this.getUnionExtremes().dataMin) : p = this.getUnionExtremes().dataMax), l !== o && (this.fixedWidth = c, vt((r = s.navigatorAxis.toFixedRange(l, l + c, d, p)).min) && ye(this, "setRange", { min: Math.min(r.min, r.max), max: Math.max(r.min, r.max), redraw: !0, eventArguments: { trigger: "navigator" } })));
494
500
  }
495
501
  handlesMousedown(t, e) {
496
502
  t = this.chart.pointer?.normalize(t) || t;
@@ -499,13 +505,13 @@ function fa() {
499
505
  }
500
506
  onMouseMove(t) {
501
507
  let e = this, i = e.chart, s = e.navigatorSize, o = e.range, n = e.dragOffset, c = i.inverted, u = e.left, g;
502
- (!t.touches || t.touches[0].pageX !== 0) && (g = (t = i.pointer?.normalize(t) || t).chartX, c && (u = e.top, g = t.chartY), e.grabbedLeft ? (e.hasDragged = !0, e.render(0, 0, g - u, e.otherHandlePos)) : e.grabbedRight ? (e.hasDragged = !0, e.render(0, 0, e.otherHandlePos, g - u)) : e.grabbedCenter && (e.hasDragged = !0, g < n ? g = n : g > s + n - o && (g = s + n - o), e.render(0, 0, g - n, g - n + o)), e.hasDragged && e.scrollbar && j(e.scrollbar.options.liveRedraw, !no && !this.chart.boosted) && (t.DOMType = t.type, setTimeout(function() {
508
+ (!t.touches || t.touches[0].pageX !== 0) && (g = (t = i.pointer?.normalize(t) || t).chartX, c && (u = e.top, g = t.chartY), e.grabbedLeft ? (e.hasDragged = !0, e.render(0, 0, g - u, e.otherHandlePos)) : e.grabbedRight ? (e.hasDragged = !0, e.render(0, 0, e.otherHandlePos, g - u)) : e.grabbedCenter && (e.hasDragged = !0, g < n ? g = n : g > s + n - o && (g = s + n - o), e.render(0, 0, g - n, g - n + o)), e.hasDragged && e.scrollbar && j(e.scrollbar.options.liveRedraw, !po && !this.chart.boosted) && (t.DOMType = t.type, setTimeout(function() {
503
509
  e.onMouseUp(t);
504
510
  }, 0)));
505
511
  }
506
512
  onMouseUp(t) {
507
513
  let e, i, s, o, n, c, u = this.chart, g = this.xAxis, p = this.scrollbar, d = t.DOMEvent || t, r = u.inverted, l = this.rendered && !this.hasDragged ? "animate" : "attr";
508
- (this.hasDragged && (!p || !p.hasDragged) || t.trigger === "scrollbar") && (s = this.getUnionExtremes(), this.zoomedMin === this.otherHandlePos ? o = this.fixedExtreme : this.zoomedMax === this.otherHandlePos && (n = this.fixedExtreme), this.zoomedMax === this.size && (n = this.reversedExtremes ? s.dataMin : s.dataMax), this.zoomedMin === 0 && (o = this.reversedExtremes ? s.dataMax : s.dataMin), vt((c = g.navigatorAxis.toFixedRange(this.zoomedMin, this.zoomedMax, o, n)).min) && Ae(this, "setRange", { min: Math.min(c.min, c.max), max: Math.max(c.min, c.max), redraw: !0, animation: !this.hasDragged && null, eventArguments: { trigger: "navigator", triggerOp: "navigator-drag", DOMEvent: d } })), t.DOMType !== "mousemove" && t.DOMType !== "touchmove" && (this.grabbedLeft = this.grabbedRight = this.grabbedCenter = this.fixedWidth = this.fixedExtreme = this.otherHandlePos = this.hasDragged = this.dragOffset = null), this.navigatorEnabled && K(this.zoomedMin) && K(this.zoomedMax) && (i = Math.round(this.zoomedMin), e = Math.round(this.zoomedMax), this.shades && this.drawMasks(i, e, r, l), this.outline && this.drawOutline(i, e, r, l), this.navigatorOptions.handles.enabled && Object.keys(this.handles).length === this.handles.length && (this.drawHandle(i, 0, r, l), this.drawHandle(e, 1, r, l)));
514
+ (this.hasDragged && (!p || !p.hasDragged) || t.trigger === "scrollbar") && (s = this.getUnionExtremes(), this.zoomedMin === this.otherHandlePos ? o = this.fixedExtreme : this.zoomedMax === this.otherHandlePos && (n = this.fixedExtreme), this.zoomedMax === this.size && (n = this.reversedExtremes ? s.dataMin : s.dataMax), this.zoomedMin === 0 && (o = this.reversedExtremes ? s.dataMax : s.dataMin), vt((c = g.navigatorAxis.toFixedRange(this.zoomedMin, this.zoomedMax, o, n)).min) && ye(this, "setRange", { min: Math.min(c.min, c.max), max: Math.max(c.min, c.max), redraw: !0, animation: !this.hasDragged && null, eventArguments: { trigger: "navigator", triggerOp: "navigator-drag", DOMEvent: d } })), t.DOMType !== "mousemove" && t.DOMType !== "touchmove" && (this.grabbedLeft = this.grabbedRight = this.grabbedCenter = this.fixedWidth = this.fixedExtreme = this.otherHandlePos = this.hasDragged = this.dragOffset = null), this.navigatorEnabled && K(this.zoomedMin) && K(this.zoomedMax) && (i = Math.round(this.zoomedMin), e = Math.round(this.zoomedMax), this.shades && this.drawMasks(i, e, r, l), this.outline && this.drawOutline(i, e, r, l), this.navigatorOptions.handles.enabled && Object.keys(this.handles).length === this.handles.length && (this.drawHandle(i, 0, r, l), this.drawHandle(e, 1, r, l)));
509
515
  }
510
516
  removeEvents() {
511
517
  this.eventsToUnbind && (this.eventsToUnbind.forEach(function(t) {
@@ -515,8 +521,8 @@ function fa() {
515
521
  removeBaseSeriesEvents() {
516
522
  let t = this.baseSeries || [];
517
523
  this.navigatorEnabled && t[0] && (this.navigatorOptions.adaptToUpdatedData !== !1 && t.forEach(function(e) {
518
- _t(e, "updatedData", this.updatedDataHandler);
519
- }, this), t[0].xAxis && _t(t[0].xAxis, "foundExtremes", this.modifyBaseAxisExtremes));
524
+ jt(e, "updatedData", this.updatedDataHandler);
525
+ }, this), t[0].xAxis && jt(t[0].xAxis, "foundExtremes", this.modifyBaseAxisExtremes));
520
526
  }
521
527
  getXAxisOffsets() {
522
528
  return this.chart.inverted ? [this.scrollButtonSize, 0, -this.scrollButtonSize, 0] : [0, -this.scrollButtonSize, 0, this.scrollButtonSize];
@@ -527,22 +533,22 @@ function fa() {
527
533
  let p = this, d = p.baseSeries, r = t.xAxis.length, l = t.yAxis.length, h = d && d[0] && d[0].xAxis || t.xAxis[0] || { options: {} };
528
534
  if (t.isDirtyBox = !0, p.navigatorEnabled) {
529
535
  let f = this.getXAxisOffsets();
530
- p.xAxis = new (ue())(t, Mt({ breaks: h.options.breaks, ordinal: h.options.ordinal, overscroll: h.options.overscroll }, i.xAxis, { type: "datetime", yAxis: i.yAxis?.id, index: r, isInternal: !0, offset: 0, keepOrdinalPadding: !0, startOnTick: !1, endOnTick: !1, minPadding: h.options.ordinal ? 0 : h.options.minPadding, maxPadding: h.options.ordinal ? 0 : h.options.maxPadding, zoomEnabled: !1 }, t.inverted ? { offsets: f, width: c } : { offsets: f, height: c }), "xAxis"), p.yAxis = new (ue())(t, Mt(i.yAxis, { alignTicks: !1, offset: 0, index: l, isInternal: !0, reversed: j(i.yAxis && i.yAxis.reversed, t.yAxis[0] && t.yAxis[0].reversed, !1), zoomEnabled: !1 }, t.inverted ? { width: c } : { height: c }), "yAxis"), d || i.series.data ? p.updateNavigatorSeries(!1) : t.series.length === 0 && (p.unbindRedraw = Y(t, "beforeRedraw", function() {
536
+ p.xAxis = new (ce())(t, Mt({ breaks: h.options.breaks, ordinal: h.options.ordinal, overscroll: h.options.overscroll }, i.xAxis, { type: "datetime", yAxis: i.yAxis?.id, index: r, isInternal: !0, offset: 0, keepOrdinalPadding: !0, startOnTick: !1, endOnTick: !1, minPadding: h.options.ordinal ? 0 : h.options.minPadding, maxPadding: h.options.ordinal ? 0 : h.options.maxPadding, zoomEnabled: !1 }, t.inverted ? { offsets: f, width: c } : { offsets: f, height: c }), "xAxis"), p.yAxis = new (ce())(t, Mt(i.yAxis, { alignTicks: !1, offset: 0, index: l, isInternal: !0, reversed: j(i.yAxis && i.yAxis.reversed, t.yAxis[0] && t.yAxis[0].reversed, !1), zoomEnabled: !1 }, t.inverted ? { width: c } : { height: c }), "yAxis"), d || i.series.data ? p.updateNavigatorSeries(!1) : t.series.length === 0 && (p.unbindRedraw = N(t, "beforeRedraw", function() {
531
537
  t.series.length > 0 && !p.series && (p.setBaseSeries(), p.unbindRedraw());
532
538
  })), p.reversedExtremes = t.inverted && !p.xAxis.reversed || !t.inverted && p.xAxis.reversed, p.renderElements(), p.addMouseEvents();
533
539
  } else p.xAxis = { chart: t, navigatorAxis: { fake: !0 }, translate: function(f, m) {
534
- let x = t.xAxis[0], b = x.getExtremes(), w = x.len - 2 * g, v = jt("min", x.options.min, b.dataMin), M = jt("max", x.options.max, b.dataMax) - v;
535
- return m ? f * M / w + v : w * (f - v) / M;
540
+ let x = t.xAxis[0], b = x.getExtremes(), S = x.len - 2 * g, v = qt("min", x.options.min, b.dataMin), M = qt("max", x.options.max, b.dataMax) - v;
541
+ return m ? f * M / S + v : S * (f - v) / M;
536
542
  }, toPixels: function(f) {
537
543
  return this.translate(f);
538
544
  }, toValue: function(f) {
539
545
  return this.translate(f, !0);
540
- } }, p.xAxis.navigatorAxis.axis = p.xAxis, p.xAxis.navigatorAxis.toFixedRange = me.prototype.toFixedRange.bind(p.xAxis.navigatorAxis);
546
+ } }, p.xAxis.navigatorAxis.axis = p.xAxis, p.xAxis.navigatorAxis.toFixedRange = xe.prototype.toFixedRange.bind(p.xAxis.navigatorAxis);
541
547
  if (t.options.scrollbar?.enabled) {
542
548
  let f = Mt(t.options.scrollbar, { vertical: t.inverted });
543
- K(f.margin) || (f.margin = t.inverted ? -3 : 3), t.scrollbar = p.scrollbar = new at(t.renderer, f, t), Y(p.scrollbar, "changed", function(m) {
544
- let x = p.size, b = x * this.to, w = x * this.from;
545
- p.hasDragged = p.scrollbar.hasDragged, p.render(0, 0, w, b), this.shouldUpdateExtremes(m.DOMType) && setTimeout(function() {
549
+ K(f.margin) || (f.margin = t.inverted ? -3 : 3), t.scrollbar = p.scrollbar = new ut(t.renderer, f, t), N(p.scrollbar, "changed", function(m) {
550
+ let x = p.size, b = x * this.to, S = x * this.from;
551
+ p.hasDragged = p.scrollbar.hasDragged, p.render(0, 0, S, b), this.shouldUpdateExtremes(m.DOMType) && setTimeout(function() {
546
552
  p.onMouseUp(m);
547
553
  });
548
554
  });
@@ -555,37 +561,37 @@ function fa() {
555
561
  }
556
562
  getUnionExtremes(t) {
557
563
  let e, i = this.chart.xAxis[0], s = this.chart.time, o = this.xAxis, n = o.options, c = i.options;
558
- return t && i.dataMin === null || (e = { dataMin: j(s.parse(n?.min), jt("min", s.parse(c.min), i.dataMin, o.dataMin, o.min)), dataMax: j(s.parse(n?.max), jt("max", s.parse(c.max), i.dataMax, o.dataMax, o.max)) }), e;
564
+ return t && i.dataMin === null || (e = { dataMin: j(s.parse(n?.min), qt("min", s.parse(c.min), i.dataMin, o.dataMin, o.min)), dataMax: j(s.parse(n?.max), qt("max", s.parse(c.max), i.dataMax, o.dataMax, o.max)) }), e;
559
565
  }
560
566
  setBaseSeries(t, e) {
561
567
  let i = this.chart, s = this.baseSeries = [];
562
- t = t || i.options && i.options.navigator.baseSeries || (i.series.length ? po(i.series, (o) => !o.options.isInternal).index : 0), (i.series || []).forEach((o, n) => {
568
+ t = t || i.options && i.options.navigator.baseSeries || (i.series.length ? go(i.series, (o) => !o.options.isInternal).index : 0), (i.series || []).forEach((o, n) => {
563
569
  !o.options.isInternal && (o.options.showInNavigator || (n === t || o.options.id === t) && o.options.showInNavigator !== !1) && s.push(o);
564
570
  }), this.xAxis && !this.xAxis.navigatorAxis.fake && this.updateNavigatorSeries(!0, e);
565
571
  }
566
572
  updateNavigatorSeries(t, e) {
567
573
  let i = this, s = i.chart, o = i.baseSeries, n = { enableMouseTracking: !1, index: null, linkedTo: null, group: "nav", padXAxis: !1, xAxis: this.navigatorOptions.xAxis?.id, yAxis: this.navigatorOptions.yAxis?.id, showInLegend: !1, stacking: void 0, isInternal: !0, states: { inactive: { opacity: 1 } } }, c = i.series = (i.series || []).filter((r) => {
568
574
  let l = r.baseSeries;
569
- return !(0 > o.indexOf(l)) || (l && (_t(l, "updatedData", i.updatedDataHandler), delete l.navigatorSeries), r.chart && r.destroy(), !1);
575
+ return !(0 > o.indexOf(l)) || (l && (jt(l, "updatedData", i.updatedDataHandler), delete l.navigatorSeries), r.chart && r.destroy(), !1);
570
576
  }), u, g, p = i.navigatorOptions.series, d;
571
577
  o && o.length && o.forEach((r) => {
572
- let l = r.navigatorSeries, h = ho({ color: r.color, visible: r.visible }, si(p) ? Me.navigator.series : p);
578
+ let l = r.navigatorSeries, h = co({ color: r.color, visible: r.visible }, ri(p) ? ve.navigator.series : p);
573
579
  if (l && i.navigatorOptions.adaptToUpdatedData === !1) return;
574
- n.name = "Navigator " + o.length, d = (u = r.options || {}).navigatorOptions || {}, h.dataLabels = oi(h.dataLabels), (g = Mt(u, n, h, d)).pointRange = j(h.pointRange, d.pointRange, Me.plotOptions[g.type || "line"].pointRange);
580
+ n.name = "Navigator " + o.length, d = (u = r.options || {}).navigatorOptions || {}, h.dataLabels = ai(h.dataLabels), (g = Mt(u, n, h, d)).pointRange = j(h.pointRange, d.pointRange, ve.plotOptions[g.type || "line"].pointRange);
575
581
  let f = d.data || h.data;
576
582
  i.hasNavigatorData = i.hasNavigatorData || !!f, g.data = f || u.data?.slice(0), l && l.options ? l.update(g, e) : (r.navigatorSeries = s.initSeries(g), s.setSortedData(), r.navigatorSeries.baseSeries = r, c.push(r.navigatorSeries));
577
- }), (p.data && !(o && o.length) || si(p)) && (i.hasNavigatorData = !1, (p = oi(p)).forEach((r, l) => {
578
- n.name = "Navigator " + (c.length + 1), (g = Mt(Me.navigator.series, { color: s.series[l] && !s.series[l].options.isInternal && s.series[l].color || s.options.colors[l] || s.options.colors[0] }, n, r)).data = r.data, g.data && (i.hasNavigatorData = !0, c.push(s.initSeries(g)));
583
+ }), (p.data && !(o && o.length) || ri(p)) && (i.hasNavigatorData = !1, (p = ai(p)).forEach((r, l) => {
584
+ n.name = "Navigator " + (c.length + 1), (g = Mt(ve.navigator.series, { color: s.series[l] && !s.series[l].options.isInternal && s.series[l].color || s.options.colors[l] || s.options.colors[0] }, n, r)).data = r.data, g.data && (i.hasNavigatorData = !0, c.push(s.initSeries(g)));
579
585
  })), t && this.addBaseSeriesEvents();
580
586
  }
581
587
  addBaseSeriesEvents() {
582
588
  let t = this, e = t.baseSeries || [];
583
- e[0] && e[0].xAxis && e[0].eventsToUnbind.push(Y(e[0].xAxis, "foundExtremes", this.modifyBaseAxisExtremes)), e.forEach((i) => {
584
- i.eventsToUnbind.push(Y(i, "show", function() {
589
+ e[0] && e[0].xAxis && e[0].eventsToUnbind.push(N(e[0].xAxis, "foundExtremes", this.modifyBaseAxisExtremes)), e.forEach((i) => {
590
+ i.eventsToUnbind.push(N(i, "show", function() {
585
591
  this.navigatorSeries && this.navigatorSeries.setVisible(!0, !1);
586
- })), i.eventsToUnbind.push(Y(i, "hide", function() {
592
+ })), i.eventsToUnbind.push(N(i, "hide", function() {
587
593
  this.navigatorSeries && this.navigatorSeries.setVisible(!1, !1);
588
- })), this.navigatorOptions.adaptToUpdatedData !== !1 && i.xAxis && i.eventsToUnbind.push(Y(i, "updatedData", this.updatedDataHandler)), i.eventsToUnbind.push(Y(i, "remove", function() {
594
+ })), this.navigatorOptions.adaptToUpdatedData !== !1 && i.xAxis && i.eventsToUnbind.push(N(i, "updatedData", this.updatedDataHandler)), i.eventsToUnbind.push(N(i, "remove", function() {
589
595
  e && yt(e, i), this.navigatorSeries && t.series && (yt(t.series, this.navigatorSeries), vt(this.navigatorSeries.options) && this.navigatorSeries.remove(!1), delete this.navigatorSeries);
590
596
  }));
591
597
  });
@@ -615,13 +621,13 @@ function fa() {
615
621
  return !!(K(o) && K(n)) && (c && o - i > 0 ? o - i < c : n <= i);
616
622
  }
617
623
  addChartEvents() {
618
- this.eventsToUnbind || (this.eventsToUnbind = []), this.eventsToUnbind.push(Y(this.chart, "redraw", function() {
624
+ this.eventsToUnbind || (this.eventsToUnbind = []), this.eventsToUnbind.push(N(this.chart, "redraw", function() {
619
625
  let t = this.navigator, e = t && (t.baseSeries && t.baseSeries[0] && t.baseSeries[0].xAxis || this.xAxis[0]);
620
626
  e && t.render(e.min, e.max);
621
- }), Y(this.chart, "getMargins", function() {
627
+ }), N(this.chart, "getMargins", function() {
622
628
  let t = this.navigator, e = t.opposite ? "plotTop" : "marginBottom";
623
629
  this.inverted && (e = t.opposite ? "marginRight" : "plotLeft"), this[e] = (this[e] || 0) + (t.navigatorEnabled || !this.inverted ? t.height + (this.scrollbar?.options.margin || 0) + t.scrollbarHeight : 0) + (t.navigatorOptions.margin || 0);
624
- }), Y(qt, "setRange", function(t) {
630
+ }), N(Zt, "setRange", function(t) {
625
631
  this.chart.xAxis[0].setExtremes(t.min, t.max, t.redraw, t.animation, t.eventArguments);
626
632
  }));
627
633
  }
@@ -631,7 +637,7 @@ function fa() {
631
637
  }), ["series", "xAxis", "yAxis", "shades", "outline", "scrollbarTrack", "scrollbarRifles", "scrollbarGroup", "scrollbar", "navigatorGroup", "rendered"].forEach((t) => {
632
638
  this[t] && this[t].destroy && this[t].destroy(), this[t] = null;
633
639
  }), [this.handles].forEach((t) => {
634
- lo(t);
640
+ uo(t);
635
641
  }), this.baseSeries.forEach((t) => {
636
642
  t.navigatorSeries = void 0;
637
643
  }), this.navigatorEnabled = !1;
@@ -645,8 +651,8 @@ function fa() {
645
651
  let n = Object.getPrototypeOf(t).constructor, c = t[s ? "subarray" : "slice"](e, e + i), u = new n(t.length - i + o.length);
646
652
  return u.set(t.subarray(0, e), 0), u.set(o, e), u.set(t.subarray(e + i), e + o.length), { removed: c, array: u };
647
653
  };
648
- })(ae || (ae = {}));
649
- let { setLength: uo, splice: ri } = ae, { fireEvent: ke, objectEach: zt, uniqueKey: Lt } = B(), ai = class {
654
+ })(ne || (ne = {}));
655
+ let { setLength: fo, splice: ni } = ne, { fireEvent: Me, objectEach: zt, uniqueKey: Lt } = B(), li = class {
650
656
  constructor(a = {}) {
651
657
  this.autoId = !a.id, this.columns = {}, this.id = a.id || Lt(), this.modified = this, this.rowCount = 0, this.versionTag = Lt();
652
658
  let t = 0;
@@ -656,17 +662,17 @@ function fa() {
656
662
  }
657
663
  applyRowCount(a) {
658
664
  this.rowCount = a, zt(this.columns, (t, e) => {
659
- t.length !== a && (this.columns[e] = uo(t, a));
665
+ t.length !== a && (this.columns[e] = fo(t, a));
660
666
  });
661
667
  }
662
668
  deleteRows(a, t = 1) {
663
669
  if (t > 0 && a < this.rowCount) {
664
670
  let e = 0;
665
671
  zt(this.columns, (i, s) => {
666
- this.columns[s] = ri(i, a, t).array, e = i.length;
672
+ this.columns[s] = ni(i, a, t).array, e = i.length;
667
673
  }), this.rowCount = e;
668
674
  }
669
- ke(this, "afterDeleteRows", { rowIndex: a, rowCount: t }), this.versionTag = Lt();
675
+ Me(this, "afterDeleteRows", { rowIndex: a, rowCount: t }), this.versionTag = Lt();
670
676
  }
671
677
  getColumn(a, t) {
672
678
  return this.columns[a];
@@ -684,42 +690,42 @@ function fa() {
684
690
  let i = this.rowCount;
685
691
  zt(a, (s, o) => {
686
692
  this.columns[o] = s.slice(), i = s.length;
687
- }), this.applyRowCount(i), e?.silent || (ke(this, "afterSetColumns"), this.versionTag = Lt());
693
+ }), this.applyRowCount(i), e?.silent || (Me(this, "afterSetColumns"), this.versionTag = Lt());
688
694
  }
689
695
  setRow(a, t = this.rowCount, e, i) {
690
696
  let { columns: s } = this, o = e ? this.rowCount + 1 : t + 1;
691
697
  zt(a, (n, c) => {
692
698
  let u = s[c] || i?.addColumns !== !1 && Array(o);
693
- u && (e ? u = ri(u, t, 0, !0, [n]).array : u[t] = n, s[c] = u);
694
- }), o > this.rowCount && this.applyRowCount(o), i?.silent || (ke(this, "afterSetRows"), this.versionTag = Lt());
699
+ u && (e ? u = ni(u, t, 0, !0, [n]).array : u[t] = n, s[c] = u);
700
+ }), o > this.rowCount && this.applyRowCount(o), i?.silent || (Me(this, "afterSetRows"), this.versionTag = Lt());
695
701
  }
696
- }, { addEvent: ct, correctFloat: Zt, css: co, defined: $, error: go, isNumber: ni, pick: we, timeUnits: fo, isString: mo } = B();
702
+ }, { addEvent: ct, correctFloat: Kt, css: mo, defined: $, error: xo, isNumber: Ae, pick: ke, timeUnits: bo, isString: vo } = B();
697
703
  (function(a) {
698
704
  function t(r, l, h, f, m = [], x = 0, b) {
699
- let w = {}, v = this.options.tickPixelInterval, M = this.chart.time, A = [], y, E, k, T, O, S = 0, C = [], I = -Number.MAX_VALUE;
705
+ let S = {}, v = this.options.tickPixelInterval, M = this.chart.time, A = [], y, E, w, O, T, k = 0, C = [], z = -Number.MAX_VALUE;
700
706
  if (!this.options.ordinal && !this.options.breaks || !m || m.length < 3 || l === void 0) return M.getTimeTicks.apply(M, arguments);
701
- let G = m.length;
702
- for (y = 0; y < G; y++) {
703
- if (O = y && m[y - 1] > h, m[y] < l && (S = y), y === G - 1 || m[y + 1] - m[y] > 5 * x || O) {
704
- if (m[y] > I) {
705
- for (E = M.getTimeTicks(r, m[S], m[y], f); E.length && E[0] <= I; ) E.shift();
706
- E.length && (I = E[E.length - 1]), A.push(C.length), C = C.concat(E);
707
+ let I = m.length;
708
+ for (y = 0; y < I; y++) {
709
+ if (T = y && m[y - 1] > h, m[y] < l && (k = y), y === I - 1 || m[y + 1] - m[y] > 5 * x || T) {
710
+ if (m[y] > z) {
711
+ for (E = M.getTimeTicks(r, m[k], m[y], f); E.length && E[0] <= z; ) E.shift();
712
+ E.length && (z = E[E.length - 1]), A.push(C.length), C = C.concat(E);
707
713
  }
708
- S = y + 1;
714
+ k = y + 1;
709
715
  }
710
- if (O) break;
716
+ if (T) break;
711
717
  }
712
718
  if (E) {
713
- if (T = E.info, b && T.unitRange <= fo.hour) {
714
- for (S = 1, y = C.length - 1; S < y; S++) M.dateFormat("%d", C[S]) !== M.dateFormat("%d", C[S - 1]) && (w[C[S]] = "day", k = !0);
715
- k && (w[C[0]] = "day"), T.higherRanks = w;
719
+ if (O = E.info, b && O.unitRange <= bo.hour) {
720
+ for (k = 1, y = C.length - 1; k < y; k++) M.dateFormat("%d", C[k]) !== M.dateFormat("%d", C[k - 1]) && (S[C[k]] = "day", w = !0);
721
+ w && (S[C[0]] = "day"), O.higherRanks = S;
716
722
  }
717
- T.segmentStarts = A, C.info = T;
718
- } else go(12, !1, this.chart);
723
+ O.segmentStarts = A, C.info = O;
724
+ } else xo(12, !1, this.chart);
719
725
  if (b && $(v)) {
720
- let D = C.length, z = [], L = [], W, X, N, ht, Bt, V = D;
721
- for (; V--; ) X = this.translate(C[V]), N && (L[V] = N - X), z[V] = N = X;
722
- for (L.sort((Ct, Jt) => Ct - Jt), (ht = L[Math.floor(L.length / 2)]) < 0.6 * v && (ht = null), V = C[D - 1] > h ? D - 1 : D, N = void 0; V--; ) Bt = Math.abs(N - (X = z[V])), N && Bt < 0.8 * v && (ht === null || Bt < 0.8 * ht) ? (w[C[V]] && !w[C[V + 1]] ? (W = V + 1, N = X) : W = V, C.splice(W, 1)) : N = X;
726
+ let D = C.length, W = [], L = [], R, X, Y, lt, Bt, V = D;
727
+ for (; V--; ) X = this.translate(C[V]), Y && (L[V] = Y - X), W[V] = Y = X;
728
+ for (L.sort((Ct, Qt) => Ct - Qt), (lt = L[Math.floor(L.length / 2)]) < 0.6 * v && (lt = null), V = C[D - 1] > h ? D - 1 : D, Y = void 0; V--; ) Bt = Math.abs(Y - (X = W[V])), Y && Bt < 0.8 * v && (lt === null || Bt < 0.8 * lt) ? (S[C[V]] && !S[C[V + 1]] ? (R = V + 1, Y = X) : R = V, C.splice(R, 1)) : Y = X;
723
729
  }
724
730
  return C;
725
731
  }
@@ -732,10 +738,10 @@ function fa() {
732
738
  function i(r) {
733
739
  let l = this.ordinal, h = this.old ? this.old.min : this.min, f = this.old ? this.old.transA : this.transA, m = l.getExtendedPositions();
734
740
  if (m?.length) {
735
- let x = Zt((r - h) * f + this.minPixelPadding), b = Zt(l.getIndexOfPoint(x, m)), w = Zt(b % 1);
741
+ let x = Kt((r - h) * f + this.minPixelPadding), b = Kt(l.getIndexOfPoint(x, m)), S = Kt(b % 1);
736
742
  if (b >= 0 && b <= m.length - 1) {
737
743
  let v = m[Math.floor(b)], M = m[Math.ceil(b)];
738
- return m[Math.floor(b)] + w * (M - v);
744
+ return m[Math.floor(b)] + S * (M - v);
739
745
  }
740
746
  }
741
747
  return r;
@@ -751,7 +757,7 @@ function fa() {
751
757
  }
752
758
  function n() {
753
759
  let { eventArgs: r, options: l } = this;
754
- if (this.isXAxis && $(l.overscroll) && l.overscroll !== 0 && ni(this.max) && ni(this.min) && (this.options.ordinal && !this.ordinal.originalOrdinalRange && this.ordinal.getExtendedPositions(!1), this.max === this.dataMax && (r?.trigger !== "pan" || this.isInternal) && r?.trigger !== "navigator")) {
760
+ if (this.isXAxis && $(l.overscroll) && l.overscroll !== 0 && Ae(this.max) && Ae(this.min) && (this.options.ordinal && !this.ordinal.originalOrdinalRange && this.ordinal.getExtendedPositions(!1), this.max === this.dataMax && (r?.trigger !== "pan" || this.isInternal) && r?.trigger !== "navigator")) {
755
761
  let h = this.ordinal.convertOverscroll(l.overscroll);
756
762
  this.max += h, !this.isInternal && $(this.userMin) && r?.trigger !== "mousewheel" && (this.min += h);
757
763
  }
@@ -764,14 +770,14 @@ function fa() {
764
770
  }
765
771
  function g(r) {
766
772
  let l = this.xAxis[0], h = l.ordinal.convertOverscroll(l.options.overscroll), f = r.originalEvent.chartX, m = this.options.chart.panning, x = !1;
767
- if (m && m.type !== "y" && l.options.ordinal && l.series.length && (!r.touches || r.touches.length <= 1)) {
768
- let b, w, v = this.mouseDownX, M = l.getExtremes(), A = M.dataMin, y = M.dataMax, E = M.min, k = M.max, T = this.hoverPoints, O = l.closestPointRange || l.ordinal?.overscrollPointsRange, S = Math.round((v - f) / (l.translationSlope * (l.ordinal.slope || O))), C = l.ordinal.getExtendedPositions(), I = { ordinal: { positions: C, extendedOrdinalPositions: C } }, G = l.index2val, D = l.val2lin;
769
- if (E <= A && S < 0 || k + h >= y && S > 0) return;
770
- I.ordinal.positions ? Math.abs(S) > 1 && (T && T.forEach(function(z) {
771
- z.setState();
772
- }), y > (w = I.ordinal.positions)[w.length - 1] && w.push(y), this.setFixedRange(k - E), (b = l.navigatorAxis.toFixedRange(void 0, void 0, G.apply(I, [D.apply(I, [E, !0]) + S]), G.apply(I, [D.apply(I, [k, !0]) + S]))).min >= Math.min(w[0], E) && b.max <= Math.max(w[w.length - 1], k) + h && l.setExtremes(b.min, b.max, !0, !1, { trigger: "pan" }), this.mouseDownX = f, co(this.container, { cursor: "move" })) : x = !0;
773
+ if (m?.type !== "y" && l.options.ordinal && l.series.length && (!r.touches || r.touches.length <= 1)) {
774
+ let b, S, v = this.mouseDownX, M = l.getExtremes(), A = M.dataMin, y = M.dataMax, E = M.min, w = M.max, O = this.hoverPoints, T = l.closestPointRange || l.ordinal?.overscrollPointsRange, k = Math.round((v - f) / (l.translationSlope * (l.ordinal.slope || T))), C = l.ordinal.getExtendedPositions(), z = { ordinal: { positions: C, extendedOrdinalPositions: C } }, I = l.index2val, D = l.val2lin;
775
+ if (E <= A && k <= 0 || w >= y + h && k >= 0) return void r.preventDefault();
776
+ z.ordinal.positions ? Math.abs(k) > 1 && (O && O.forEach(function(W) {
777
+ W.setState();
778
+ }), S = z.ordinal.positions, h && (S = z.ordinal.positions = S.concat(l.ordinal.getOverscrollPositions())), y > S[S.length - 1] && S.push(y), this.setFixedRange(w - E), (b = l.navigatorAxis.toFixedRange(void 0, void 0, I.apply(z, [D.apply(z, [E, !0]) + k]), I.apply(z, [D.apply(z, [w, !0]) + k]))).min >= Math.min(S[0], E) && b.max <= Math.max(S[S.length - 1], w) + h && l.setExtremes(b.min, b.max, !0, !1, { trigger: "pan" }), this.mouseDownX = f, mo(this.container, { cursor: "move" })) : x = !0;
773
779
  } else x = !0;
774
- x || m && /y/.test(m.type) ? h && (l.max = l.dataMax + h) : r.preventDefault();
780
+ x || m && /y/.test(m.type) ? h && Ae(l.dataMax) && (l.max = l.dataMax + h) : r.preventDefault();
775
781
  }
776
782
  function p() {
777
783
  let r = this.xAxis;
@@ -780,8 +786,8 @@ function fa() {
780
786
  function d(r, l) {
781
787
  let h, f = this.ordinal, m = f.positions, x = f.slope, b;
782
788
  if (!m) return r;
783
- let w = m.length;
784
- if (m[0] <= r && m[w - 1] >= r) h = s(m, r);
789
+ let S = m.length;
790
+ if (m[0] <= r && m[S - 1] >= r) h = s(m, r);
785
791
  else {
786
792
  if (b = f.getExtendedPositions?.(), !b?.length) return r;
787
793
  let v = b.length;
@@ -803,24 +809,24 @@ function fa() {
803
809
  this.index = {}, this.axis = r;
804
810
  }
805
811
  beforeSetTickPositions() {
806
- let r = this.axis, l = r.ordinal, h = r.getExtremes(), f = h.min, m = h.max, x = r.brokenAxis?.hasBreaks, b = r.options.ordinal, w, v, M, A, y, E, k, T = [], O = Number.MAX_VALUE, S = !1, C = !1, I = !1;
812
+ let r = this.axis, l = r.ordinal, h = r.getExtremes(), f = h.min, m = h.max, x = r.brokenAxis?.hasBreaks, b = r.options.ordinal, S = r.options.overscroll && r.ordinal.convertOverscroll(r.options.overscroll) || 0, v, M, A, y, E, w, O, T = [], k = Number.MAX_VALUE, C = !1, z = !1, I = !1;
807
813
  if (b || x) {
808
- let G = 0;
809
- if (r.series.forEach(function(D, z) {
810
- let L = D.getColumn("x", !0);
811
- if (v = [], z > 0 && D.options.id !== "highcharts-navigator-series" && L.length > 1 && (C = G !== L[1] - L[0]), G = L[1] - L[0], D.boosted && (I = D.boosted), D.reserveSpace() && (D.takeOrdinalPosition !== !1 || x) && (w = (T = T.concat(L)).length, T.sort(function(W, X) {
812
- return W - X;
813
- }), O = Math.min(O, we(D.closestPointRange, O)), w)) {
814
- for (z = 0; z < w - 1; ) T[z] !== T[z + 1] && v.push(T[z + 1]), z++;
815
- v[0] !== T[0] && v.unshift(T[0]), T = v;
814
+ let D = 0;
815
+ if (r.series.forEach(function(W, L) {
816
+ let R = W.getColumn("x", !0);
817
+ if (M = [], L > 0 && W.options.id !== "highcharts-navigator-series" && R.length > 1 && (z = D !== R[1] - R[0]), D = R[1] - R[0], W.boosted && (I = W.boosted), W.reserveSpace() && (W.takeOrdinalPosition !== !1 || x) && (v = (T = T.concat(R)).length, T.sort(function(X, Y) {
818
+ return X - Y;
819
+ }), k = Math.min(k, ke(W.closestPointRange, k)), v)) {
820
+ for (L = 0; L < v - 1; ) T[L] !== T[L + 1] && M.push(T[L + 1]), L++;
821
+ M[0] !== T[0] && M.unshift(T[0]), T = M;
816
822
  }
817
- }), r.ordinal.originalOrdinalRange || (r.ordinal.originalOrdinalRange = (T.length - 1) * O), C && I && (T.pop(), T.shift()), (w = T.length) > 2) {
818
- for (M = T[1] - T[0], k = w - 1; k-- && !S; ) T[k + 1] - T[k] !== M && (S = !0);
819
- !r.options.keepOrdinalPadding && (T[0] - f > M || m - T[T.length - 1] > M) && (S = !0);
820
- } else r.options.overscroll && (w === 2 ? O = T[1] - T[0] : w === 1 ? (O = r.ordinal.convertOverscroll(r.options.overscroll), T = [T[0], T[0] + O]) : O = l.overscrollPointsRange);
821
- S || r.forceOrdinal ? (r.options.overscroll && (l.overscrollPointsRange = O, T = T.concat(l.getOverscrollPositions())), l.positions = T, A = r.ordinal2lin(Math.max(f, T[0]), !0), y = Math.max(r.ordinal2lin(Math.min(m, T[T.length - 1]), !0), 1), l.slope = E = (m - f) / (y - A), l.offset = f - A * E) : (l.overscrollPointsRange = we(r.closestPointRange, l.overscrollPointsRange), l.positions = r.ordinal.slope = l.offset = void 0);
823
+ }), r.ordinal.originalOrdinalRange || (r.ordinal.originalOrdinalRange = (T.length - 1) * k), z && I && (T.pop(), T.shift()), (v = T.length) > 2) {
824
+ for (A = T[1] - T[0], O = v - 1; O-- && !C; ) T[O + 1] - T[O] !== A && (C = !0);
825
+ !r.options.keepOrdinalPadding && (T[0] - f > A || m - S - T[v - 1] > A) && (C = !0);
826
+ } else r.options.overscroll && (v === 2 ? k = T[1] - T[0] : v === 1 ? (k = S, T = [T[0], T[0] + k]) : k = l.overscrollPointsRange);
827
+ C || r.forceOrdinal ? (r.options.overscroll && (l.overscrollPointsRange = k, T = T.concat(l.getOverscrollPositions())), l.positions = T, y = r.ordinal2lin(Math.max(f, T[0]), !0), E = Math.max(r.ordinal2lin(Math.min(m, T[T.length - 1]), !0), 1), l.slope = w = (m - f) / (E - y), l.offset = f - y * w) : (l.overscrollPointsRange = ke(r.closestPointRange, l.overscrollPointsRange), l.positions = r.ordinal.slope = l.offset = void 0);
822
828
  }
823
- r.isOrdinal = b && S, l.groupIntervalFactor = null;
829
+ r.isOrdinal = b && C, l.groupIntervalFactor = null;
824
830
  }
825
831
  static findIndexOf(r, l, h) {
826
832
  let f = 0, m = r.length - 1, x;
@@ -829,21 +835,22 @@ function fa() {
829
835
  }
830
836
  getExtendedPositions(r = !0) {
831
837
  let l = this, h = l.axis, f = h.constructor.prototype, m = h.chart, x = h.series.reduce((y, E) => {
832
- let k = E.currentDataGrouping;
833
- return y + (k ? k.count + k.unitName : "raw");
834
- }, ""), b = r ? h.ordinal.convertOverscroll(h.options.overscroll) : 0, w = h.getExtremes(), v, M, A = l.index;
838
+ let w = E.currentDataGrouping;
839
+ return y + (w ? w.count + w.unitName : "raw");
840
+ }, ""), b = r ? h.ordinal.convertOverscroll(h.options.overscroll) : 0, S = h.getExtremes(), v, M, A = l.index;
835
841
  return A || (A = l.index = {}), !A[x] && ((v = { series: [], chart: m, forceOrdinal: !1, getExtremes: function() {
836
- return { min: w.dataMin, max: w.dataMax + b };
842
+ return { min: S.dataMin, max: S.dataMax + b };
837
843
  }, applyGrouping: f.applyGrouping, getGroupPixelWidth: f.getGroupPixelWidth, getTimeTicks: f.getTimeTicks, options: { ordinal: !0 }, ordinal: { getGroupIntervalFactor: this.getGroupIntervalFactor }, ordinal2lin: f.ordinal2lin, getIndexOfPoint: f.getIndexOfPoint, val2lin: f.val2lin }).ordinal.axis = v, h.series.forEach((y) => {
844
+ if (y.takeOrdinalPosition === !1) return;
838
845
  M = { xAxis: v, chart: m, groupPixelWidth: y.groupPixelWidth, destroyGroupedData: B().noop, getColumn: y.getColumn, applyGrouping: y.applyGrouping, getProcessedData: y.getProcessedData, reserveSpace: y.reserveSpace, visible: y.visible };
839
846
  let E = y.getColumn("x").concat(r ? l.getOverscrollPositions() : []);
840
- M.dataTable = new ai({ columns: { x: E } }), M.options = { ...y.options, dataGrouping: y.currentDataGrouping ? { firstAnchor: y.options.dataGrouping?.firstAnchor, anchor: y.options.dataGrouping?.anchor, lastAnchor: y.options.dataGrouping?.firstAnchor, enabled: !0, forced: !0, approximation: "open", units: [[y.currentDataGrouping.unitName, [y.currentDataGrouping.count]]] } : { enabled: !1 } }, v.series.push(M), y.processData.apply(M);
847
+ M.dataTable = new li({ columns: { x: E } }), M.options = { ...y.options, dataGrouping: y.currentDataGrouping ? { firstAnchor: y.options.dataGrouping?.firstAnchor, anchor: y.options.dataGrouping?.anchor, lastAnchor: y.options.dataGrouping?.firstAnchor, enabled: !0, forced: !0, approximation: "open", units: [[y.currentDataGrouping.unitName, [y.currentDataGrouping.count]]] } : { enabled: !1 } }, v.series.push(M), y.processData.apply(M);
841
848
  }), v.applyGrouping({ hasExtremesChanged: !0 }), M?.closestPointRange !== M?.basePointRange && M.currentDataGrouping && (v.forceOrdinal = !0), h.ordinal.beforeSetTickPositions.apply({ axis: v }), !h.ordinal.originalOrdinalRange && v.ordinal.originalOrdinalRange && (h.ordinal.originalOrdinalRange = v.ordinal.originalOrdinalRange), v.ordinal.positions && (A[x] = v.ordinal.positions)), A[x];
842
849
  }
843
850
  getGroupIntervalFactor(r, l, h) {
844
- let f = h.getColumn("x", !0), m = f.length, x = [], b, w, v = this.groupIntervalFactor;
851
+ let f = h.getColumn("x", !0), m = f.length, x = [], b, S, v = this.groupIntervalFactor;
845
852
  if (!v) {
846
- for (w = 0; w < m - 1; w++) x[w] = f[w + 1] - f[w];
853
+ for (S = 0; S < m - 1; S++) x[S] = f[S + 1] - f[S];
847
854
  x.sort(function(M, A) {
848
855
  return M - A;
849
856
  }), b = x[Math.floor(m / 2)], r = Math.max(r, f[0]), l = Math.min(l, f[m - 1]), this.groupIntervalFactor = v = m * b / (l - r);
@@ -852,7 +859,7 @@ function fa() {
852
859
  }
853
860
  getIndexOfPoint(r, l) {
854
861
  let h = this.axis, f = h.min, m = h.minPixelPadding;
855
- return s(l, f) + Zt((r - m) / (h.translationSlope * (this.slope || h.closestPointRange || this.overscrollPointsRange)));
862
+ return s(l, f) + Kt((r - m) / (h.translationSlope * (this.slope || h.closestPointRange || this.overscrollPointsRange)));
856
863
  }
857
864
  getOverscrollPositions() {
858
865
  let r = this.axis, l = this.convertOverscroll(r.options.overscroll), h = this.overscrollPointsRange, f = [], m = r.dataMax;
@@ -865,11 +872,11 @@ function fa() {
865
872
  }
866
873
  convertOverscroll(r = 0) {
867
874
  let l = this, h = l.axis, f = function(m) {
868
- return we(l.originalOrdinalRange, $(h.dataMax) && $(h.dataMin) ? h.dataMax - h.dataMin : 0) * m;
875
+ return ke(l.originalOrdinalRange, $(h.dataMax) && $(h.dataMin) ? h.dataMax - h.dataMin : 0) * m;
869
876
  };
870
- if (mo(r)) {
877
+ if (vo(r)) {
871
878
  let m, x = parseInt(r, 10);
872
- if ($(h.min) && $(h.max) && $(h.dataMin) && $(h.dataMax) && !(m = h.max - h.min == h.dataMax - h.dataMin) && (this.originalOrdinalRange = h.max - h.min), /%$/.test(r)) return f(x / 100);
879
+ if ($(h.min) && $(h.max) && $(h.dataMin) && $(h.dataMax) && ((m = h.max - h.min == h.dataMax - h.dataMin) || (this.originalOrdinalRange = h.max - h.min)), /%$/.test(r)) return f(x / 100);
873
880
  if (/px/.test(r)) {
874
881
  let b = Math.min(x, 0.9 * h.len) / h.len;
875
882
  return f(b / (m ? 1 - b : 1));
@@ -879,9 +886,9 @@ function fa() {
879
886
  return r;
880
887
  }
881
888
  };
882
- })(ne || (ne = {}));
883
- let Se = ne, Te = { lang: { rangeSelectorZoom: "Zoom", rangeSelectorFrom: "", rangeSelectorTo: "→", rangeSelector: { allText: "All", allTitle: "View all", monthText: "{count}m", monthTitle: "View {count} {#eq count 1}month{else}months{/eq}", yearText: "{count}y", yearTitle: "View {count} {#eq count 1}year{else}years{/eq}", ytdText: "YTD", ytdTitle: "View year to date" } }, rangeSelector: { allButtonsEnabled: !1, buttons: [{ type: "month", count: 1 }, { type: "month", count: 3 }, { type: "month", count: 6 }, { type: "ytd" }, { type: "year", count: 1 }, { type: "all" }], buttonSpacing: 5, dropdown: "responsive", enabled: void 0, verticalAlign: "top", buttonTheme: { width: 28, height: 18, padding: 2, zIndex: 7 }, floating: !1, x: 0, y: 0, height: void 0, inputBoxBorderColor: "none", inputBoxHeight: 17, inputBoxWidth: void 0, inputDateFormat: "%[ebY]", inputDateParser: void 0, inputEditDateFormat: "%Y-%m-%d", inputEnabled: !0, inputPosition: { align: "right", x: 0, y: 0 }, inputSpacing: 5, selected: void 0, buttonPosition: { align: "left", x: 0, y: 0 }, inputStyle: { color: "#334eff", cursor: "pointer", fontSize: "0.8em" }, labelStyle: { color: "#666666", fontSize: "0.8em" } } }, { defaultOptions: li } = B(), { composed: xo } = B(), { addEvent: gt, defined: bo, extend: hi, isNumber: At, merge: vo, pick: di, pushUnique: yo } = B(), Ee = [];
884
- function Mo() {
889
+ })(le || (le = {}));
890
+ let we = le, Se = { lang: { rangeSelectorZoom: "Zoom", rangeSelectorFrom: "", rangeSelectorTo: "→", rangeSelector: { allText: "All", allTitle: "View all", monthText: "{count}m", monthTitle: "View {count} {#eq count 1}month{else}months{/eq}", yearText: "{count}y", yearTitle: "View {count} {#eq count 1}year{else}years{/eq}", ytdText: "YTD", ytdTitle: "View year to date" } }, rangeSelector: { allButtonsEnabled: !1, buttons: [{ type: "month", count: 1 }, { type: "month", count: 3 }, { type: "month", count: 6 }, { type: "ytd" }, { type: "year", count: 1 }, { type: "all" }], buttonSpacing: 5, dropdown: "responsive", enabled: void 0, verticalAlign: "top", buttonTheme: { width: 28, height: 18, padding: 2, zIndex: 7 }, floating: !1, x: 0, y: 0, height: void 0, inputBoxBorderColor: "none", inputBoxHeight: 17, inputBoxWidth: void 0, inputDateFormat: "%[ebY]", inputDateParser: void 0, inputEditDateFormat: "%Y-%m-%d", inputEnabled: !0, inputPosition: { align: "right", x: 0, y: 0 }, inputSpacing: 5, selected: void 0, buttonPosition: { align: "left", x: 0, y: 0 }, inputStyle: { color: "#334eff", cursor: "pointer", fontSize: "0.8em" }, labelStyle: { color: "#666666", fontSize: "0.8em" } } }, { defaultOptions: hi } = B(), { composed: yo } = B(), { addEvent: gt, defined: Mo, extend: di, isNumber: At, merge: Ao, pick: pi, pushUnique: ko } = B(), Te = [];
891
+ function wo() {
885
892
  let a, t, e = this.range, i = e.type, s = this.max, o = this.chart.time, n = function(u, g) {
886
893
  let p = o.toParts(u), d = p.slice();
887
894
  i === "year" ? d[0] += g : d[1] += g;
@@ -889,69 +896,69 @@ function fa() {
889
896
  return i === "month" && p[1] === l[1] && Math.abs(g) === 1 && (d[0] = p[0], d[1] = p[1], d[2] = 0), (r = o.makeTime.apply(o, d)) - u;
890
897
  };
891
898
  At(e) ? (a = s - e, t = e) : e && (a = s + n(s, -(e.count || 1)), this.chart && this.chart.setFixedRange(s - a));
892
- let c = di(this.dataMin, Number.MIN_VALUE);
893
- return At(a) || (a = c), a <= c && (a = c, t === void 0 && (t = n(a, e.count)), this.newMax = Math.min(a + t, di(this.dataMax, Number.MAX_VALUE))), At(s) ? !At(e) && e && e._offsetMin && (a += e._offsetMin) : a = void 0, a;
899
+ let c = pi(this.dataMin, Number.MIN_VALUE);
900
+ return At(a) || (a = c), a <= c && (a = c, t === void 0 && (t = n(a, e.count)), this.newMax = Math.min(a + t, pi(this.dataMax, Number.MAX_VALUE))), At(s) ? !At(e) && e && e._offsetMin && (a += e._offsetMin) : a = void 0, a;
894
901
  }
895
- function Ao() {
902
+ function So() {
896
903
  this.rangeSelector?.redrawElements();
897
904
  }
898
- function ko() {
899
- this.options.rangeSelector && this.options.rangeSelector.enabled && (this.rangeSelector = new ie(this));
905
+ function To() {
906
+ this.options.rangeSelector && this.options.rangeSelector.enabled && (this.rangeSelector = new se(this));
900
907
  }
901
- function wo() {
908
+ function Eo() {
902
909
  let a = this.rangeSelector;
903
910
  if (a) {
904
911
  At(a.deferredYTDClick) && (a.clickButton(a.deferredYTDClick), delete a.deferredYTDClick);
905
912
  let t = a.options.verticalAlign;
906
- a.options.floating || (t === "bottom" ? this.extraBottomMargin = !0 : t !== "top" || (this.extraTopMargin = !0));
913
+ a.options.floating || (t === "bottom" ? this.extraBottomMargin = !0 : t === "top" && (this.extraTopMargin = !0));
907
914
  }
908
915
  }
909
- function pi() {
916
+ function ui() {
910
917
  let a, t = this.rangeSelector;
911
918
  if (!t) return;
912
919
  let e = this.xAxis[0].getExtremes(), i = this.legend, s = t && t.options.verticalAlign;
913
- At(e.min) && t.render(e.min, e.max), i.display && s === "top" && s === i.options.verticalAlign && (a = vo(this.spacingBox), i.options.layout === "vertical" ? a.y = this.plotTop : a.y += t.getHeight(), i.group.placed = !1, i.align(a));
920
+ At(e.min) && t.render(e.min, e.max), i.display && s === "top" && s === i.options.verticalAlign && (a = Ao(this.spacingBox), i.options.layout === "vertical" ? a.y = this.plotTop : a.y += t.getHeight(), i.group.placed = !1, i.align(a));
914
921
  }
915
- function So() {
916
- for (let a = 0, t = Ee.length; a < t; ++a) {
917
- let e = Ee[a];
922
+ function Oo() {
923
+ for (let a = 0, t = Te.length; a < t; ++a) {
924
+ let e = Te[a];
918
925
  if (e[0] === this) {
919
- e[1].forEach((i) => i()), Ee.splice(a, 1);
926
+ e[1].forEach((i) => i()), Te.splice(a, 1);
920
927
  return;
921
928
  }
922
929
  }
923
930
  }
924
- function To() {
931
+ function Bo() {
925
932
  let a = this.rangeSelector;
926
933
  if (a?.options?.enabled) {
927
934
  let t = a.getHeight(), e = a.options.verticalAlign;
928
- a.options.floating || (e === "bottom" ? this.marginBottom += t : e === "middle" || (this.plotTop += t));
935
+ a.options.floating || (e === "bottom" ? this.marginBottom += t : e !== "middle" && (this.plotTop += t));
929
936
  }
930
937
  }
931
- function Eo(a) {
938
+ function Co(a) {
932
939
  let t = a.options.rangeSelector, e = this.extraBottomMargin, i = this.extraTopMargin, s = this.rangeSelector;
933
- if (t && t.enabled && !bo(s) && this.options.rangeSelector && (this.options.rangeSelector.enabled = !0, this.rangeSelector = s = new ie(this)), this.extraBottomMargin = !1, this.extraTopMargin = !1, s) {
940
+ if (t && t.enabled && !Mo(s) && this.options.rangeSelector && (this.options.rangeSelector.enabled = !0, this.rangeSelector = s = new se(this)), this.extraBottomMargin = !1, this.extraTopMargin = !1, s) {
934
941
  let o = t && t.verticalAlign || s.options && s.options.verticalAlign;
935
- s.options.floating || (o === "bottom" ? this.extraBottomMargin = !0 : o === "middle" || (this.extraTopMargin = !0)), (this.extraBottomMargin !== e || this.extraTopMargin !== i) && (this.isDirtyBox = !0);
942
+ s.options.floating || (o === "bottom" ? this.extraBottomMargin = !0 : o !== "middle" && (this.extraTopMargin = !0)), (this.extraBottomMargin !== e || this.extraTopMargin !== i) && (this.isDirtyBox = !0);
936
943
  }
937
944
  }
938
- let Oo = { compose: function(a, t, e) {
939
- if (ie = e, yo(xo, "RangeSelector")) {
945
+ let Do = { compose: function(a, t, e) {
946
+ if (se = e, ko(yo, "RangeSelector")) {
940
947
  let i = t.prototype;
941
- a.prototype.minFromRange = Mo, gt(t, "afterGetContainer", ko), gt(t, "beforeRender", wo), gt(t, "destroy", So), gt(t, "getMargins", To), gt(t, "redraw", pi), gt(t, "update", Eo), gt(t, "beforeRedraw", Ao), i.callbacks.push(pi), hi(li, { rangeSelector: Te.rangeSelector }), hi(li.lang, Te.lang);
948
+ a.prototype.minFromRange = wo, gt(t, "afterGetContainer", To), gt(t, "beforeRender", Eo), gt(t, "destroy", Oo), gt(t, "getMargins", Bo), gt(t, "redraw", ui), gt(t, "update", Co), gt(t, "beforeRedraw", So), i.callbacks.push(ui), di(hi, { rangeSelector: Se.rangeSelector }), di(hi.lang, Se.lang);
942
949
  }
943
950
  } };
944
- var Bo = R(28), ui = R.n(Bo), Co = R(984), Oe = R.n(Co);
945
- let { defaultOptions: Be } = B(), { format: ci } = Oe(), { addEvent: J, createElement: Wt, css: it, defined: st, destroyObjectProperties: Do, diffObjects: Po, discardElement: Ro, extend: gi, fireEvent: kt, isNumber: F, isString: Ce, merge: nt, objectEach: Go, pick: Q, splat: Io } = B();
946
- function fi(a) {
951
+ var Po = G(28), ci = G.n(Po), Ro = G(984), Ee = G.n(Ro);
952
+ let { defaultOptions: Oe } = B(), { format: gi } = Ee(), { addEvent: J, createElement: Wt, css: it, defined: st, destroyObjectProperties: Go, diffObjects: Io, discardElement: zo, extend: fi, fireEvent: kt, isNumber: F, isString: Be, merge: at, objectEach: Lo, pick: Q, splat: Wo } = B();
953
+ function mi(a) {
947
954
  let t = (s) => RegExp(`%[[a-zA-Z]*${s}`).test(a);
948
- if (Ce(a) ? a.indexOf("%L") !== -1 : a.fractionalSecondDigits) return "text";
949
- let e = Ce(a) ? ["a", "A", "d", "e", "w", "b", "B", "m", "o", "y", "Y"].some(t) : a.dateStyle || a.day || a.month || a.year, i = Ce(a) ? ["H", "k", "I", "l", "M", "S"].some(t) : a.timeStyle || a.hour || a.minute || a.second;
955
+ if (Be(a) ? a.indexOf("%L") !== -1 : a.fractionalSecondDigits) return "text";
956
+ let e = Be(a) ? ["a", "A", "d", "e", "w", "b", "B", "m", "o", "y", "Y"].some(t) : a.dateStyle || a.day || a.month || a.year, i = Be(a) ? ["H", "k", "I", "l", "M", "S"].some(t) : a.timeStyle || a.hour || a.minute || a.second;
950
957
  return e && i ? "datetime-local" : e ? "date" : i ? "time" : "text";
951
958
  }
952
959
  class Xt {
953
960
  static compose(t, e) {
954
- Oo.compose(t, e, Xt);
961
+ Do.compose(t, e, Xt);
955
962
  }
956
963
  constructor(t) {
957
964
  this.isDirty = !1, this.buttonOptions = [], this.initialButtonGroupWidth = 0, this.maxButtonWidth = () => {
@@ -965,28 +972,27 @@ function fa() {
965
972
  clickButton(t, e) {
966
973
  let i = this.chart, s = this.buttonOptions[t], o = i.xAxis[0], n = i.scroller && i.scroller.getUnionExtremes() || o || {}, c = s.type, u = s.dataGrouping, g = n.dataMin, p = n.dataMax, d, r = F(o?.max) ? Math.round(Math.min(o.max, p ?? o.max)) : void 0, l, h = s._range, f, m, x, b = !0;
967
974
  if (g !== null && p !== null) {
968
- if (this.setSelected(t), u && (this.forcedDataGrouping = !0, ue().prototype.setDataGrouping.call(o || { chart: this.chart }, u, !1), this.frozenStates = s.preserveDataGrouping), c === "month" || c === "year") o ? (m = { range: s, max: r, chart: i, dataMin: g, dataMax: p }, d = o.minFromRange.call(m), F(m.newMax) && (r = m.newMax), b = !1) : h = s;
975
+ if (this.setSelected(t), u && (this.forcedDataGrouping = !0, ce().prototype.setDataGrouping.call(o || { chart: this.chart }, u, !1), this.frozenStates = s.preserveDataGrouping), c === "month" || c === "year") o ? (m = { range: s, max: r, chart: i, dataMin: g, dataMax: p }, d = o.minFromRange.call(m), F(m.newMax) && (r = m.newMax), b = !1) : h = s;
969
976
  else if (h) F(r) && (r = Math.min((d = Math.max(r - h, g)) + h, p), b = !1);
970
- else if (c === "ytd")
971
- if (o) !o.hasData() || F(p) && F(g) || (g = Number.MAX_VALUE, p = -Number.MAX_VALUE, i.series.forEach((w) => {
972
- let v = w.getColumn("x");
973
- v.length && (g = Math.min(v[0], g), p = Math.max(v[v.length - 1], p));
974
- }), e = !1), F(p) && F(g) && (d = f = (x = this.getYTDExtremes(p, g)).min, r = x.max);
975
- else {
976
- this.deferredYTDClick = t;
977
- return;
978
- }
977
+ else if (c === "ytd") if (o) !o.hasData() || F(p) && F(g) || (g = Number.MAX_VALUE, p = -Number.MAX_VALUE, i.series.forEach((S) => {
978
+ let v = S.getColumn("x");
979
+ v.length && (g = Math.min(v[0], g), p = Math.max(v[v.length - 1], p));
980
+ }), e = !1), F(p) && F(g) && (d = f = (x = this.getYTDExtremes(p, g)).min, r = x.max);
981
+ else {
982
+ this.deferredYTDClick = t;
983
+ return;
984
+ }
979
985
  else c === "all" && o && (i.navigator && i.navigator.baseSeries[0] && (i.navigator.baseSeries[0].xAxis.options.range = void 0), d = g, r = p);
980
986
  if (b && s._offsetMin && st(d) && (d += s._offsetMin), s._offsetMax && st(r) && (r += s._offsetMax), this.dropdown && (this.dropdown.selectedIndex = t + 1), o) F(d) && F(r) && (o.setExtremes(d, r, Q(e, !0), void 0, { trigger: "rangeSelectorButton", rangeSelectorButton: s }), i.setFixedRange(s._range));
981
987
  else {
982
- l = Io(i.options.xAxis || {})[0];
983
- let w = J(i, "afterCreateAxes", function() {
988
+ l = Wo(i.options.xAxis || {})[0];
989
+ let S = J(i, "afterCreateAxes", function() {
984
990
  let v = i.xAxis[0];
985
991
  v.range = v.options.range = h, v.min = v.options.min = f;
986
992
  });
987
993
  J(i, "load", function() {
988
994
  let v = i.xAxis[0];
989
- i.setFixedRange(s._range), v.options.range = l.range, v.options.min = l.min, w();
995
+ i.setFixedRange(s._range), v.options.range = l.range, v.options.min = l.min, S();
990
996
  });
991
997
  }
992
998
  kt(this, "afterBtnClick");
@@ -1000,29 +1006,29 @@ function fa() {
1000
1006
  let u = e.minInput, g = e.maxInput;
1001
1007
  u && u.blur && kt(u, "blur"), g && g.blur && kt(g, "blur");
1002
1008
  };
1003
- e.chart = t, e.options = i, e.buttons = [], e.buttonOptions = o.map((u) => (u.type && s.rangeSelector && (u.text ?? (u.text = s.rangeSelector[`${u.type}Text`]), u.title ?? (u.title = s.rangeSelector[`${u.type}Title`])), u.text = ci(u.text, { count: u.count || 1 }), u.title = ci(u.title, { count: u.count || 1 }), u)), this.eventsToUnbind = [], this.eventsToUnbind.push(J(t.container, "mousedown", c)), this.eventsToUnbind.push(J(t, "resize", c)), o.forEach(e.computeButtonRange), n !== void 0 && o[n] && this.clickButton(n, !1), this.eventsToUnbind.push(J(t, "load", function() {
1009
+ e.chart = t, e.options = i, e.buttons = [], e.buttonOptions = o.map((u) => (u.type && s.rangeSelector && (u.text ?? (u.text = s.rangeSelector[`${u.type}Text`]), u.title ?? (u.title = s.rangeSelector[`${u.type}Title`])), u.text = gi(u.text, { count: u.count || 1 }), u.title = gi(u.title, { count: u.count || 1 }), u)), this.eventsToUnbind = [], this.eventsToUnbind.push(J(t.container, "mousedown", c)), this.eventsToUnbind.push(J(t, "resize", c)), o.forEach(e.computeButtonRange), n !== void 0 && o[n] && this.clickButton(n, !1), this.eventsToUnbind.push(J(t, "load", function() {
1004
1010
  t.xAxis && t.xAxis[0] && J(t.xAxis[0], "setExtremes", function(u) {
1005
1011
  F(this.max) && F(this.min) && this.max - this.min !== t.fixedRange && u.trigger !== "rangeSelectorButton" && u.trigger !== "updatedData" && e.forcedDataGrouping && !e.frozenStates && this.setDataGrouping(!1, !1);
1006
1012
  });
1007
1013
  })), this.createElements();
1008
1014
  }
1009
1015
  updateButtonStates() {
1010
- let t = this, e = this.chart, i = this.dropdown, s = this.dropdownLabel, o = e.xAxis[0], n = Math.round(o.max - o.min), c = !o.hasVisibleSeries, u = 24 * 36e5, g = e.scroller && e.scroller.getUnionExtremes() || o, p = g.dataMin, d = g.dataMax, r = t.getYTDExtremes(d, p), l = r.min, h = r.max, f = t.selected, m = t.options.allButtonsEnabled, x = Array(t.buttonOptions.length).fill(0), b = F(f), w = t.buttons, v = !1, M = null;
1016
+ let t = this, e = this.chart, i = this.dropdown, s = this.dropdownLabel, o = e.xAxis[0], n = Math.round(o.max - o.min), c = !o.hasVisibleSeries, u = 24 * 36e5, g = e.scroller && e.scroller.getUnionExtremes() || o, p = g.dataMin, d = g.dataMax, r = t.getYTDExtremes(d, p), l = r.min, h = r.max, f = t.selected, m = t.options.allButtonsEnabled, x = Array(t.buttonOptions.length).fill(0), b = F(f), S = t.buttons, v = !1, M = null;
1011
1017
  t.buttonOptions.forEach((A, y) => {
1012
- let E = A._range, k = A.type, T = A.count || 1, O = A._offsetMax - A._offsetMin, S = y === f, C = E > d - p, I = E < o.minRange, G = !1, D = E === n;
1013
- if (S && C && (v = !0), o.isOrdinal && o.ordinal?.positions && E && n < E) {
1014
- let W = o.ordinal.positions, X = Se.Additions.findIndexOf(W, o.min, !0), N = Math.min(Se.Additions.findIndexOf(W, o.max, !0) + 1, W.length - 1);
1015
- W[N] - W[X] > E && (D = !0);
1016
- } else (k === "month" || k === "year") && n + 36e5 >= { month: 28, year: 365 }[k] * u * T - O && n - 36e5 <= { month: 31, year: 366 }[k] * u * T + O ? D = !0 : k === "ytd" ? (D = h - l + O === n, G = !S) : k === "all" && (D = o.max - o.min >= d - p);
1017
- let z = !m && !(v && k === "all") && (C || I || c), L = v && k === "all" || !G && D || S && t.frozenStates;
1018
- z ? x[y] = 3 : L && (!b || y === f) && (M = y);
1019
- }), M !== null ? (x[M] = 2, t.setSelected(M), this.dropdown && (this.dropdown.selectedIndex = M + 1)) : (t.setSelected(), this.dropdown && (this.dropdown.selectedIndex = -1), s && (s.setState(0), s.attr({ text: (Be.lang.rangeSelectorZoom || "") + " ▾" })));
1018
+ let E = A._range, w = A.type, O = A.count || 1, T = A._offsetMax - A._offsetMin, k = y === f, C = E > d - p, z = E < o.minRange, I = !1, D = E === n;
1019
+ if (k && C && (v = !0), o.isOrdinal && o.ordinal?.positions && E && n < E) {
1020
+ let R = o.ordinal.positions, X = we.Additions.findIndexOf(R, o.min, !0), Y = Math.min(we.Additions.findIndexOf(R, o.max, !0) + 1, R.length - 1);
1021
+ R[Y] - R[X] > E && (D = !0);
1022
+ } else (w === "month" || w === "year") && n + 36e5 >= { month: 28, year: 365 }[w] * u * O - T && n - 36e5 <= { month: 31, year: 366 }[w] * u * O + T ? D = !0 : w === "ytd" ? (D = h - l + T === n, I = !k) : w === "all" && (D = o.max - o.min >= d - p);
1023
+ let W = !m && !(v && w === "all") && (C || z || c), L = v && w === "all" || !I && D || k && t.frozenStates;
1024
+ W ? x[y] = 3 : L && (!b || y === f) && (M = y);
1025
+ }), M !== null ? (x[M] = 2, t.setSelected(M), this.dropdown && (this.dropdown.selectedIndex = M + 1)) : (t.setSelected(), this.dropdown && (this.dropdown.selectedIndex = -1), s && (s.setState(0), s.attr({ text: (Oe.lang.rangeSelectorZoom || "") + " ▾" })));
1020
1026
  for (let A = 0; A < x.length; A++) {
1021
- let y = x[A], E = w[A];
1027
+ let y = x[A], E = S[A];
1022
1028
  if (E.state !== y && (E.setState(y), i)) {
1023
1029
  i.options[A + 1].disabled = y === 3, y === 2 && (s && (s.setState(2), s.attr({ text: t.buttonOptions[A].text + " ▾" })), i.selectedIndex = A + 1);
1024
- let k = s.getBBox();
1025
- it(i, { width: `${k.width}px`, height: `${k.height}px` });
1030
+ let w = s.getBBox();
1031
+ it(i, { width: `${w.width}px`, height: `${w.height}px` });
1026
1032
  }
1027
1033
  }
1028
1034
  }
@@ -1037,7 +1043,7 @@ function fa() {
1037
1043
  setInputValue(t, e) {
1038
1044
  let i = this.options, s = this.chart.time, o = t === "min" ? this.minInput : this.maxInput, n = t === "min" ? this.minDateBox : this.maxDateBox;
1039
1045
  if (o) {
1040
- o.setAttribute("type", fi(i.inputDateFormat || "%e %b %Y"));
1046
+ o.setAttribute("type", mi(i.inputDateFormat || "%e %b %Y"));
1041
1047
  let c = o.getAttribute("data-hc-time"), u = st(c) ? Number(c) : void 0;
1042
1048
  if (st(e)) {
1043
1049
  let g = u;
@@ -1073,17 +1079,17 @@ function fa() {
1073
1079
  return i?.parse(t) || 0;
1074
1080
  }
1075
1081
  drawInput(t) {
1076
- let { chart: e, div: i, inputGroup: s } = this, o = this, n = e.renderer.style || {}, c = e.renderer, u = e.options.rangeSelector, g = Be.lang, p = t === "min";
1082
+ let { chart: e, div: i, inputGroup: s } = this, o = this, n = e.renderer.style || {}, c = e.renderer, u = e.options.rangeSelector, g = Oe.lang, p = t === "min";
1077
1083
  function d(x) {
1078
- let { maxInput: b, minInput: w } = o, v = e.xAxis[0], M = e.scroller?.getUnionExtremes() || v, A = M.dataMin, y = M.dataMax, E = e.xAxis[0].getExtremes()[x], k = o.getInputValue(x);
1079
- F(k) && k !== E && (p && b && F(A) ? k > Number(b.getAttribute("data-hc-time")) ? k = void 0 : k < A && (k = A) : w && F(y) && (k < Number(w.getAttribute("data-hc-time")) ? k = void 0 : k > y && (k = y)), k !== void 0 && v.setExtremes(p ? k : v.min, p ? v.max : k, void 0, void 0, { trigger: "rangeSelectorInput" }));
1084
+ let { maxInput: b, minInput: S } = o, v = e.xAxis[0], M = e.scroller?.getUnionExtremes() || v, A = M.dataMin, y = M.dataMax, E = e.xAxis[0].getExtremes()[x], w = o.getInputValue(x);
1085
+ F(w) && w !== E && (p && b && F(A) ? w > Number(b.getAttribute("data-hc-time")) ? w = void 0 : w < A && (w = A) : S && F(y) && (w < Number(S.getAttribute("data-hc-time")) ? w = void 0 : w > y && (w = y)), w !== void 0 && v.setExtremes(p ? w : v.min, p ? v.max : w, void 0, void 0, { trigger: "rangeSelectorInput" }));
1080
1086
  }
1081
1087
  let r = g[p ? "rangeSelectorFrom" : "rangeSelectorTo"] || "", l = c.label(r, 0).addClass("highcharts-range-label").attr({ padding: 2 * !!r, height: r ? u.inputBoxHeight : 0 }).add(s), h = c.label("", 0).addClass("highcharts-range-input").attr({ padding: 2, width: u.inputBoxWidth, height: u.inputBoxHeight, "text-align": "center" }).on("click", function() {
1082
1088
  o.showInput(t), o[t + "Input"].focus();
1083
1089
  });
1084
1090
  e.styledMode || h.attr({ stroke: u.inputBoxBorderColor, "stroke-width": 1 }), h.add(s);
1085
1091
  let f = Wt("input", { name: t, className: "highcharts-range-selector" }, void 0, i);
1086
- f.setAttribute("type", fi(u.inputDateFormat || "%e %b %Y")), e.styledMode || (l.css(nt(n, u.labelStyle)), h.css(nt({ color: "#333333" }, n, u.inputStyle)), it(f, gi({ position: "absolute", border: 0, boxShadow: "0 0 15px rgba(0,0,0,0.3)", width: "1px", height: "1px", padding: 0, textAlign: "center", fontSize: n.fontSize, fontFamily: n.fontFamily, top: "-9999em" }, u.inputStyle))), f.onfocus = () => {
1092
+ f.setAttribute("type", mi(u.inputDateFormat || "%e %b %Y")), e.styledMode || (l.css(at(n, u.labelStyle)), h.css(at({ color: "#333333" }, n, u.inputStyle)), it(f, fi({ position: "absolute", border: 0, boxShadow: "0 0 15px rgba(0,0,0,0.3)", width: "1px", height: "1px", padding: 0, textAlign: "center", fontSize: n.fontSize, fontFamily: n.fontFamily, top: "-9999em" }, u.inputStyle))), f.onfocus = () => {
1087
1093
  o.showInput(t);
1088
1094
  }, f.onblur = () => {
1089
1095
  f === B().doc.activeElement && d(t), o.hideInput(t), o.setInputValue(t), f.blur();
@@ -1142,11 +1148,11 @@ function fa() {
1142
1148
  }
1143
1149
  renderButtons() {
1144
1150
  var t;
1145
- let { chart: e, options: i } = this, s = Be.lang, o = e.renderer, n = nt(i.buttonTheme), c = n && n.states;
1151
+ let { chart: e, options: i } = this, s = Oe.lang, o = e.renderer, n = at(i.buttonTheme), c = n && n.states;
1146
1152
  delete n.width, delete n.states, this.buttonGroup = o.g("range-selector-buttons").add(this.group);
1147
1153
  let u = this.dropdown = Wt("select", void 0, { position: "absolute", padding: 0, border: 0, cursor: "pointer", opacity: 1e-4 }, this.div), g = e.userOptions.rangeSelector?.buttonTheme;
1148
1154
  this.dropdownLabel = o.button("", 0, 0, () => {
1149
- }, nt(n, { "stroke-width": Q(n["stroke-width"], 0), width: "auto", paddingLeft: Q(i.buttonTheme.paddingLeft, g?.padding, 8), paddingRight: Q(i.buttonTheme.paddingRight, g?.padding, 8) }), c && c.hover, c && c.select, c && c.disabled).hide().add(this.group), J(u, "touchstart", () => {
1155
+ }, at(n, { "stroke-width": Q(n["stroke-width"], 0), width: "auto", paddingLeft: Q(i.buttonTheme.paddingLeft, g?.padding, 8), paddingRight: Q(i.buttonTheme.paddingRight, g?.padding, 8) }), c && c.hover, c && c.select, c && c.disabled).hide().add(this.group), J(u, "touchstart", () => {
1150
1156
  u.style.fontSize = "16px";
1151
1157
  });
1152
1158
  let p = B().isMS ? "mouseover" : "mouseenter", d = B().isMS ? "mouseout" : "mouseleave";
@@ -1159,13 +1165,13 @@ function fa() {
1159
1165
  }), this.zoomText = o.label(s.rangeSelectorZoom || "", 0).attr({ padding: i.buttonTheme.padding, height: i.buttonTheme.height, paddingLeft: 0, paddingRight: 0 }).add(this.buttonGroup), this.chart.styledMode || (this.zoomText.css(i.labelStyle), (t = i.buttonTheme)["stroke-width"] ?? (t["stroke-width"] = 0)), Wt("option", { textContent: this.zoomText.textStr, disabled: !0 }, void 0, u), this.createButtons();
1160
1166
  }
1161
1167
  createButtons() {
1162
- let { options: t } = this, e = nt(t.buttonTheme), i = e && e.states, s = e.width || 28;
1168
+ let { options: t } = this, e = at(t.buttonTheme), i = e && e.states, s = e.width || 28;
1163
1169
  delete e.width, delete e.states, this.buttonOptions.forEach((o, n) => {
1164
1170
  this.createButton(o, n, s, i);
1165
1171
  });
1166
1172
  }
1167
1173
  createButton(t, e, i, s) {
1168
- let { dropdown: o, buttons: n, chart: c, options: u } = this, g = c.renderer, p = nt(u.buttonTheme);
1174
+ let { dropdown: o, buttons: n, chart: c, options: u } = this, g = c.renderer, p = at(u.buttonTheme);
1169
1175
  o?.add(Wt("option", { textContent: t.title || t.text }), e + 2), n[e] = g.button(t.text ?? "", 0, 0, (d) => {
1170
1176
  let r, l = t.events && t.events.click;
1171
1177
  l && (r = l.call(t, d)), r !== !1 && this.clickButton(e), this.isActive = !0;
@@ -1178,8 +1184,8 @@ function fa() {
1178
1184
  if (t) {
1179
1185
  if (this.positionButtons(), !this.initialButtonGroupWidth) {
1180
1186
  let E = 0;
1181
- c && (E += c.getBBox().width + 5), e.forEach((k, T) => {
1182
- E += k.width || 0, T !== e.length - 1 && (E += n.buttonSpacing);
1187
+ c && (E += c.getBBox().width + 5), e.forEach((w, O) => {
1188
+ E += w.width || 0, O !== e.length - 1 && (E += n.buttonSpacing);
1183
1189
  }), this.initialButtonGroupWidth = E;
1184
1190
  }
1185
1191
  h -= i.spacing[3];
@@ -1188,12 +1194,12 @@ function fa() {
1188
1194
  }
1189
1195
  let m = 0;
1190
1196
  n.inputEnabled && o && (m = l(o, d, p.align === "right" || d.align === "right"), d.align === "left" ? f = h : d.align === "right" && (f = -Math.max(i.axisOffset[1], -m)), o.align({ y: d.y, width: o.getBBox().width, align: d.align, x: d.x + f - 2 }, !0, i.spacingBox), o.placed = i.hasLoaded), this.handleCollision(m), s.align({ verticalAlign: r }, !0, i.spacingBox);
1191
- let x = s.alignAttr.translateY, b = s.getBBox().height + 20, w = 0;
1197
+ let x = s.alignAttr.translateY, b = s.getBBox().height + 20, S = 0;
1192
1198
  if (r === "bottom") {
1193
1199
  let y = i.legend && i.legend.options;
1194
- w = x - (b = b + (y && y.verticalAlign === "bottom" && y.enabled && !y.floating ? i.legend.legendHeight + Q(y.margin, 10) : 0) - 20) - (n.floating ? 0 : n.y) - (i.titleOffset ? i.titleOffset[2] : 0) - 10;
1200
+ S = x - (b = b + (y && y.verticalAlign === "bottom" && y.enabled && !y.floating ? i.legend.legendHeight + Q(y.margin, 10) : 0) - 20) - (n.floating ? 0 : n.y) - (i.titleOffset ? i.titleOffset[2] : 0) - 10;
1195
1201
  }
1196
- r === "top" ? (n.floating && (w = 0), i.titleOffset && i.titleOffset[0] && (w = i.titleOffset[0]), w += i.margin[0] - i.spacing[0] || 0) : r === "middle" && (d.y === p.y ? w = x : (d.y || p.y) && (d.y < 0 || p.y < 0 ? w -= Math.min(d.y, p.y) : w = x - b)), s.translate(n.x, n.y + Math.floor(w));
1202
+ r === "top" ? (n.floating && (S = 0), i.titleOffset && i.titleOffset[0] && (S = i.titleOffset[0]), S += i.margin[0] - i.spacing[0] || 0) : r === "middle" && (d.y === p.y ? S = x : (d.y || p.y) && (d.y < 0 || p.y < 0 ? S -= Math.min(d.y, p.y) : S = x - b)), s.translate(n.x, n.y + Math.floor(S));
1197
1203
  let { minInput: v, maxInput: M, dropdown: A } = this;
1198
1204
  n.inputEnabled && v && M && (v.style.marginTop = s.translateY + "px", M.style.marginTop = s.translateY + "px"), A && (A.style.marginTop = s.translateY + "px");
1199
1205
  }
@@ -1202,10 +1208,10 @@ function fa() {
1202
1208
  let t = this.chart, { inputBoxHeight: e, inputBoxBorderColor: i } = this.options;
1203
1209
  if (this.maxDateBox?.attr({ height: e }), this.minDateBox?.attr({ height: e }), t.styledMode || (this.maxDateBox?.attr({ stroke: i }), this.minDateBox?.attr({ stroke: i })), this.isDirty) {
1204
1210
  this.isDirty = !1, this.isCollapsed = void 0;
1205
- let s = this.options.buttons ?? [], o = Math.min(s.length, this.buttonOptions.length), { dropdown: n, options: c } = this, u = nt(c.buttonTheme), g = u && u.states, p = u.width || 28;
1211
+ let s = this.options.buttons ?? [], o = Math.min(s.length, this.buttonOptions.length), { dropdown: n, options: c } = this, u = at(c.buttonTheme), g = u && u.states, p = u.width || 28;
1206
1212
  if (s.length < this.buttonOptions.length) for (let d = this.buttonOptions.length - 1; d >= s.length; d--)
1207
1213
  this.buttons.pop()?.destroy(), this.dropdown?.options.remove(d + 1);
1208
- for (let d = o - 1; d >= 0; d--) if (Object.keys(Po(s[d], this.buttonOptions[d])).length !== 0) {
1214
+ for (let d = o - 1; d >= 0; d--) if (Object.keys(Io(s[d], this.buttonOptions[d])).length !== 0) {
1209
1215
  let r = s[d];
1210
1216
  this.buttons[d].destroy(), n?.options.remove(d + 1), this.createButton(r, d, p, g), this.computeButtonRange(r);
1211
1217
  }
@@ -1256,56 +1262,56 @@ function fa() {
1256
1262
  }
1257
1263
  update(t, e = !0) {
1258
1264
  let i = this.chart;
1259
- if (nt(!0, this.options, t), this.options.selected && this.options.selected >= this.options.buttons.length && (this.options.selected = void 0, i.options.rangeSelector.selected = void 0), st(t.enabled)) return this.destroy(), this.init(i);
1265
+ if (at(!0, this.options, t), this.options.selected && this.options.selected >= this.options.buttons.length && (this.options.selected = void 0, i.options.rangeSelector.selected = void 0), st(t.enabled)) return this.destroy(), this.init(i);
1260
1266
  this.isDirty = !!t.buttons, e && this.render();
1261
1267
  }
1262
1268
  destroy() {
1263
1269
  let t = this, e = t.minInput, i = t.maxInput;
1264
- t.eventsToUnbind && (t.eventsToUnbind.forEach((s) => s()), t.eventsToUnbind = void 0), Do(t.buttons), e && (e.onfocus = e.onblur = e.onchange = null), i && (i.onfocus = i.onblur = i.onchange = null), Go(t, function(s, o) {
1265
- s && o !== "chart" && (s instanceof ui() ? s.destroy() : s instanceof window.HTMLElement && Ro(s), delete t[o]), s !== Xt.prototype[o] && (t[o] = null);
1270
+ t.eventsToUnbind && (t.eventsToUnbind.forEach((s) => s()), t.eventsToUnbind = void 0), Go(t.buttons), e && (e.onfocus = e.onblur = e.onchange = null), i && (i.onfocus = i.onblur = i.onchange = null), Lo(t, function(s, o) {
1271
+ s && o !== "chart" && (s instanceof ci() ? s.destroy() : s instanceof window.HTMLElement && zo(s), delete t[o]), s !== Xt.prototype[o] && (t[o] = null);
1266
1272
  }, this), this.buttons = [];
1267
1273
  }
1268
1274
  }
1269
- gi(Xt.prototype, { inputTypeFormats: { "datetime-local": "%Y-%m-%dT%H:%M:%S", date: "%Y-%m-%d", time: "%H:%M:%S" } });
1270
- var zo = R(960), mi = R.n(zo);
1271
- let { format: Lo } = Oe(), { getOptions: xi } = B(), { setFixedRange: Wo } = Qe, { addEvent: ft, clamp: bi, crisp: vi, defined: De, extend: Xo, find: Ho, isNumber: lt, isString: Yo, merge: wt, pick: ot, splat: yi } = B();
1272
- function Pe(a, t, e) {
1275
+ fi(Xt.prototype, { inputTypeFormats: { "datetime-local": "%Y-%m-%dT%H:%M:%S", date: "%Y-%m-%d", time: "%H:%M:%S" } });
1276
+ var Xo = G(960), xi = G.n(Xo);
1277
+ let { format: Ho } = Ee(), { getOptions: bi } = B(), { setFixedRange: Yo } = Je, { addEvent: ft, clamp: vi, crisp: yi, defined: Ce, extend: No, find: Fo, isNumber: nt, isString: Uo, merge: wt, pick: ot, splat: Mi } = B();
1278
+ function De(a, t, e) {
1273
1279
  return a === "xAxis" ? { minPadding: 0, maxPadding: 0, overscroll: 0, ordinal: !0 } : a === "yAxis" ? { labels: { y: -2 }, opposite: e.opposite ?? t.opposite ?? !0, showLastLabel: !!(t.categories || t.type === "category"), title: { text: void 0 } } : {};
1274
1280
  }
1275
- function Mi(a, t) {
1281
+ function Ai(a, t) {
1276
1282
  if (a === "xAxis") {
1277
- let e = ot(t.navigator?.enabled, xe.enabled, !0), i = { type: "datetime", categories: void 0 };
1283
+ let e = ot(t.navigator?.enabled, be.enabled, !0), i = { type: "datetime", categories: void 0 };
1278
1284
  return e && (i.startOnTick = !1, i.endOnTick = !1), i;
1279
1285
  }
1280
1286
  return {};
1281
1287
  }
1282
- class Re extends mi() {
1288
+ class Pe extends xi() {
1283
1289
  init(t, e) {
1284
- let i = xi(), s = t.xAxis, o = t.yAxis, n = ot(t.navigator?.enabled, xe.enabled, !0);
1290
+ let i = bi(), s = t.xAxis, o = t.yAxis, n = ot(t.navigator?.enabled, be.enabled, !0);
1285
1291
  t.xAxis = t.yAxis = void 0;
1286
- let c = wt({ chart: { panning: { enabled: !0, type: "x" }, zooming: { pinchType: "x", mouseWheel: { type: "x" } } }, navigator: { enabled: n }, scrollbar: { enabled: ot(be.enabled, !0) }, rangeSelector: { enabled: ot(Te.rangeSelector.enabled, !0) }, title: { text: null }, tooltip: { split: ot(i.tooltip?.split, !0), crosshairs: !0 }, legend: { enabled: !1 } }, t, { isStock: !0 });
1287
- t.xAxis = s, t.yAxis = o, c.xAxis = yi(t.xAxis || {}).map((u) => wt(Pe("xAxis", u, i.xAxis), u, Mi("xAxis", t))), c.yAxis = yi(t.yAxis || {}).map((u) => wt(Pe("yAxis", u, i.yAxis), u)), super.init(c, e);
1292
+ let c = wt({ chart: { panning: { enabled: !0, type: "x" }, zooming: { pinchType: "x", mouseWheel: { type: "x" } } }, navigator: { enabled: n }, scrollbar: { enabled: ot(Ut.enabled, !0) }, rangeSelector: { enabled: ot(Se.rangeSelector.enabled, !0) }, title: { text: null }, tooltip: { split: ot(i.tooltip?.split, !0), crosshairs: !0 }, legend: { enabled: !1 } }, t, { isStock: !0 });
1293
+ t.xAxis = s, t.yAxis = o, c.xAxis = Mi(t.xAxis || {}).map((u) => wt(De("xAxis", u, i.xAxis), u, Ai("xAxis", t))), c.yAxis = Mi(t.yAxis || {}).map((u) => wt(De("yAxis", u, i.yAxis), u)), super.init(c, e);
1288
1294
  }
1289
1295
  createAxis(t, e) {
1290
- return e.axis = wt(Pe(t, e.axis, xi()[t]), e.axis, Mi(t, this.userOptions)), super.createAxis(t, e);
1296
+ return e.axis = wt(De(t, e.axis, bi()[t]), e.axis, Ai(t, this.userOptions)), super.createAxis(t, e);
1291
1297
  }
1292
1298
  }
1293
- ft(mi(), "update", function(a) {
1299
+ ft(xi(), "update", function(a) {
1294
1300
  let t = a.options;
1295
1301
  "scrollbar" in t && this.navigator && (wt(!0, this.options.scrollbar, t.scrollbar), this.navigator.update({ enabled: !!this.navigator.navigatorEnabled }), delete t.scrollbar);
1296
1302
  }), function(a) {
1297
1303
  function t(g) {
1298
- if (!(this.crosshair?.label?.enabled && this.cross && lt(this.min) && lt(this.max))) return;
1299
- let p = this.chart, d = this.logarithmic, r = this.crosshair.label, l = this.horiz, h = this.opposite, f = this.left, m = this.top, x = this.width, b = this.options.tickPosition === "inside", w = this.crosshair.snap !== !1, v = g.e || this.cross?.e, M = g.point, A = this.crossLabel, y, E, k = r.format, T = "", O, S = 0, C = this.min, I = this.max;
1300
- d && (C = d.lin2log(this.min), I = d.lin2log(this.max));
1301
- let G = l ? "center" : h ? this.labelAlign === "right" ? "right" : "left" : this.labelAlign === "left" ? "left" : "center";
1302
- A || (A = this.crossLabel = p.renderer.label("", 0, void 0, r.shape || "callout").addClass("highcharts-crosshair-label highcharts-color-" + (M?.series ? M.series.colorIndex : this.series[0] && this.series[0].colorIndex)).attr({ align: r.align || G, padding: ot(r.padding, 8), r: ot(r.borderRadius, 3), zIndex: 2 }).add(this.labelGroup), p.styledMode || A.attr({ fill: r.backgroundColor || M?.series?.color || "#666666", stroke: r.borderColor || "", "stroke-width": r.borderWidth || 0 }).css(Xo({ color: "#ffffff", fontWeight: "normal", fontSize: "0.7em", textAlign: "center" }, r.style || {}))), l ? (y = w ? (M.plotX || 0) + f : v.chartX, E = m + (h ? 0 : this.height)) : (y = f + this.offset + (h ? x : 0), E = w ? (M.plotY || 0) + m : v.chartY), k || r.formatter || (this.dateTime && (T = "%b %d, %Y"), k = "{value" + (T ? ":" + T : "") + "}");
1303
- let D = w ? this.isXAxis ? M.x : M.y : this.toValue(l ? v.chartX : v.chartY), z = M?.series ? M.series.isPointInside(M) : lt(D) && D > C && D < I, L = "";
1304
- k ? L = Lo(k, { value: D }, p) : r.formatter && lt(D) && (L = r.formatter.call(this, D)), A.attr({ text: L, x: y, y: E, visibility: z ? "inherit" : "hidden" });
1305
- let W = A.getBBox();
1306
- !lt(A.x) || l || h || (y = A.x - W.width / 2), lt(A.y) && (l ? (b && !h || !b && h) && (E = A.y - W.height) : E = A.y - W.height / 2), O = l ? { left: f, right: f + this.width } : { left: this.labelAlign === "left" ? f : 0, right: this.labelAlign === "right" ? f + this.width : p.chartWidth };
1304
+ if (!(this.crosshair?.label?.enabled && this.cross && nt(this.min) && nt(this.max))) return;
1305
+ let p = this.chart, d = this.logarithmic, r = this.crosshair.label, l = this.horiz, h = this.opposite, f = this.left, m = this.top, x = this.width, b = this.options.tickPosition === "inside", S = this.crosshair.snap !== !1, v = g.e || this.cross?.e, M = g.point, A = this.crossLabel, y, E, w = r.format, O = "", T, k = 0, C = this.min, z = this.max;
1306
+ d && (C = d.lin2log(this.min), z = d.lin2log(this.max));
1307
+ let I = l ? "center" : h ? this.labelAlign === "right" ? "right" : "left" : this.labelAlign === "left" ? "left" : "center";
1308
+ !A && (A = this.crossLabel = p.renderer.label("", 0, void 0, r.shape || "callout").addClass("highcharts-crosshair-label highcharts-color-" + (M?.series ? M.series.colorIndex : this.series[0] && this.series[0].colorIndex)).attr({ align: r.align || I, padding: ot(r.padding, 8), r: ot(r.borderRadius, 3), zIndex: 2 }).add(this.labelGroup), p.styledMode || A.attr({ fill: r.backgroundColor || M?.series?.color || "#666666", stroke: r.borderColor || "", "stroke-width": r.borderWidth || 0 }).css(No({ color: "#ffffff", fontWeight: "normal", fontSize: "0.7em", textAlign: "center" }, r.style || {}))), l ? (y = S ? (M.plotX || 0) + f : v.chartX, E = m + (h ? 0 : this.height)) : (y = f + this.offset + (h ? x : 0), E = S ? (M.plotY || 0) + m : v.chartY), w || r.formatter || (this.dateTime && (O = "%b %d, %Y"), w = "{value" + (O ? ":" + O : "") + "}");
1309
+ let D = S ? this.isXAxis ? M.x : M.y : this.toValue(l ? v.chartX : v.chartY), W = M?.series ? M.series.isPointInside(M) : nt(D) && D > C && D < z, L = "";
1310
+ w ? L = Ho(w, { value: D }, p) : r.formatter && nt(D) && (L = r.formatter.call(this, D)), A.attr({ text: L, x: y, y: E, visibility: W ? "inherit" : "hidden" });
1311
+ let R = A.getBBox();
1312
+ !nt(A.x) || l || h || (y = A.x - R.width / 2), nt(A.y) && (l ? (b && !h || !b && h) && (E = A.y - R.height) : E = A.y - R.height / 2), T = l ? { left: f, right: f + this.width } : { left: this.labelAlign === "left" ? f : 0, right: this.labelAlign === "right" ? f + this.width : p.chartWidth };
1307
1313
  let X = A.translateX || 0;
1308
- X < O.left && (S = O.left - X), X + W.width >= O.right && (S = -(X + W.width - O.right)), A.attr({ x: Math.max(0, y + S), y: Math.max(0, E), anchorX: l ? y : this.opposite ? 0 : p.chartWidth, anchorY: l ? this.opposite ? p.chartHeight : 0 : E + W.height / 2 });
1314
+ X < T.left && (k = T.left - X), X + R.width >= T.right && (k = -(X + R.width - T.right)), A.attr({ x: Math.max(0, y + k), y: Math.max(0, E), anchorX: l ? y : this.opposite ? 0 : p.chartWidth, anchorY: l ? this.opposite ? p.chartHeight : 0 : E + R.height / 2 });
1309
1315
  }
1310
1316
  function e() {
1311
1317
  this.crossLabel && (this.crossLabel = this.crossLabel.hide());
@@ -1322,25 +1328,24 @@ function fa() {
1322
1328
  p && g._labelPanes && g._labelPanes[p] === this && delete g._labelPanes[p];
1323
1329
  }
1324
1330
  function o(g) {
1325
- let p = this, d = p.isLinked && !p.series && p.linkedParent ? p.linkedParent.series : p.series, r = p.chart, l = r.renderer, h = p.left, f = p.top, m = [], x = g.translatedValue, b = g.value, w = g.force, v, M, A, y, E = [], k, T;
1331
+ let p = this, d = p.isLinked && !p.series && p.linkedParent ? p.linkedParent.series : p.series, r = p.chart, l = r.renderer, h = p.left, f = p.top, m = [], x = g.translatedValue, b = g.value, S = g.force, v, M, A, y, E = [], w, O;
1326
1332
  if (r.options.isStock && g.acrossPanes !== !1 && p.coll === "xAxis" || p.coll === "yAxis") {
1327
- for (let O of (g.preventDefault(), E = ((S) => {
1328
- let C = S === "xAxis" ? "yAxis" : "xAxis", I = p.options[C];
1329
- return lt(I) ? [r[C][I]] : Yo(I) ? [r.get(I)] : d.map((G) => G[C]);
1330
- })(p.coll), p.isXAxis ? r.yAxis : r.xAxis)) if (!O.options.isInternal) {
1331
- let S = O.isXAxis ? "yAxis" : "xAxis";
1332
- p === (De(O.options[S]) ? r[S][O.options[S]] : r[S][0]) && E.push(O);
1333
+ for (let T of (g.preventDefault(), E = ((k) => {
1334
+ let C = k === "xAxis" ? "yAxis" : "xAxis", z = p.options[C];
1335
+ return nt(z) ? [r[C][z]] : Uo(z) ? [r.get(z)] : d.map((I) => I[C]);
1336
+ })(p.coll), p.isXAxis ? r.yAxis : r.xAxis)) if (!T.options.isInternal) {
1337
+ let k = T.isXAxis ? "yAxis" : "xAxis";
1338
+ p === (Ce(T.options[k]) ? r[k][T.options[k]] : r[k][0]) && E.push(T);
1339
+ }
1340
+ for (let T of (w = E.length ? [] : [p.isXAxis ? r.yAxis[0] : r.xAxis[0]], E)) w.indexOf(T) !== -1 || Fo(w, (k) => k.pos === T.pos && k.len === T.len) || w.push(T);
1341
+ if (nt(O = ot(x, p.translate(b || 0, void 0, void 0, g.old)))) if (p.horiz) for (let T of w) {
1342
+ let k;
1343
+ y = (M = T.pos) + T.len, v = A = Math.round(O + p.transB), S !== "pass" && (v < h || v > h + p.width) && (S ? v = A = vi(v, h, h + p.width) : k = !0), k || m.push(["M", v, M], ["L", A, y]);
1344
+ }
1345
+ else for (let T of w) {
1346
+ let k;
1347
+ A = (v = T.pos) + T.len, M = y = f + p.height - O, S !== "pass" && (M < f || M > f + p.height) && (S ? M = y = vi(M, f, f + p.height) : k = !0), k || m.push(["M", v, M], ["L", A, y]);
1333
1348
  }
1334
- for (let O of (k = E.length ? [] : [p.isXAxis ? r.yAxis[0] : r.xAxis[0]], E)) k.indexOf(O) !== -1 || Ho(k, (S) => S.pos === O.pos && S.len === O.len) || k.push(O);
1335
- if (lt(T = ot(x, p.translate(b || 0, void 0, void 0, g.old))))
1336
- if (p.horiz) for (let O of k) {
1337
- let S;
1338
- y = (M = O.pos) + O.len, v = A = Math.round(T + p.transB), w !== "pass" && (v < h || v > h + p.width) && (w ? v = A = bi(v, h, h + p.width) : S = !0), S || m.push(["M", v, M], ["L", A, y]);
1339
- }
1340
- else for (let O of k) {
1341
- let S;
1342
- A = (v = O.pos) + O.len, M = y = Math.round(f + p.height - T), w !== "pass" && (M < f || M > f + p.height) && (w ? M = y = bi(M, f, f + p.height) : S = !0), S || m.push(["M", v, M], ["L", A, y]);
1343
- }
1344
1349
  g.path = m.length > 0 ? l.crispPolyLine(m, g.lineWidth || 1) : void 0;
1345
1350
  }
1346
1351
  }
@@ -1357,27 +1362,27 @@ function fa() {
1357
1362
  function u(g, p) {
1358
1363
  for (let d = 0; d < g.length; d += 2) {
1359
1364
  let r = g[d], l = g[d + 1];
1360
- De(r[1]) && r[1] === l[1] && (r[1] = l[1] = vi(r[1], p)), De(r[2]) && r[2] === l[2] && (r[2] = l[2] = vi(r[2], p));
1365
+ Ce(r[1]) && r[1] === l[1] && (r[1] = l[1] = yi(r[1], p)), Ce(r[2]) && r[2] === l[2] && (r[2] = l[2] = yi(r[2], p));
1361
1366
  }
1362
1367
  return g;
1363
1368
  }
1364
1369
  a.compose = function(g, p, d, r) {
1365
1370
  let l = d.prototype;
1366
- l.forceCropping || (ft(p, "afterDrawCrosshair", t), ft(p, "afterHideCrosshair", e), ft(p, "autoLabelAlign", i), ft(p, "destroy", s), ft(p, "getPlotLinePath", o), g.prototype.setFixedRange = Wo, l.forceCropping = c, ft(d, "setOptions", n), r.prototype.crispPolyLine = u);
1371
+ l.forceCropping || (ft(p, "afterDrawCrosshair", t), ft(p, "afterHideCrosshair", e), ft(p, "autoLabelAlign", i), ft(p, "destroy", s), ft(p, "getPlotLinePath", o), g.prototype.setFixedRange = Yo, l.forceCropping = c, ft(d, "setOptions", n), r.prototype.crispPolyLine = u);
1367
1372
  }, a.stockChart = function(g, p, d) {
1368
1373
  return new a(g, p, d);
1369
1374
  };
1370
- }(Re || (Re = {}));
1371
- let Ai = Re, { column: { prototype: { pointClass: No } } } = _().seriesTypes, { column: ki } = _().seriesTypes, { crisp: wi, extend: Si, merge: Fo } = B(), { defaultOptions: Uo } = B();
1372
- class Ge extends ki {
1375
+ }(Pe || (Pe = {}));
1376
+ let ki = Pe, { column: { prototype: { pointClass: Vo } } } = _().seriesTypes, { column: wi } = _().seriesTypes, { crisp: Si, extend: Ti, merge: _o } = B(), { defaultOptions: jo } = B();
1377
+ class Re extends wi {
1373
1378
  extendStem(t, e, i) {
1374
1379
  let s = t[0], o = t[1];
1375
1380
  typeof s[2] == "number" && (s[2] = Math.max(i + e, s[2])), typeof o[2] == "number" && (o[2] = Math.min(i - e, o[2]));
1376
1381
  }
1377
1382
  getPointPath(t, e) {
1378
- let i = e.strokeWidth(), s = t.series, o = wi(t.plotX || 0, i), n = Math.round(t.shapeArgs.width / 2), c = [["M", o, Math.round(t.yBottom)], ["L", o, Math.round(t.plotHigh)]];
1383
+ let i = e.strokeWidth(), s = t.series, o = Si(t.plotX || 0, i), n = Math.round(t.shapeArgs.width / 2), c = [["M", o, Math.round(t.yBottom)], ["L", o, Math.round(t.plotHigh)]];
1379
1384
  if (t.close !== null) {
1380
- let u = wi(t.plotClose, i);
1385
+ let u = Si(t.plotClose, i);
1381
1386
  c.push(["M", o, u], ["L", o + n, u]), s.extendStem(c, i / 2, u);
1382
1387
  }
1383
1388
  return c;
@@ -1409,10 +1414,10 @@ function fa() {
1409
1414
  });
1410
1415
  }
1411
1416
  }
1412
- Ge.defaultOptions = Fo(ki.defaultOptions, { lineWidth: 1, tooltip: { pointFormat: '<span style="color:{point.color}">●</span> <b> {series.name}</b><br/>{series.chart.options.lang.stockHigh}: {point.high}<br/>{series.chart.options.lang.stockLow}: {point.low}<br/>{series.chart.options.lang.stockClose}: {point.close}<br/>' }, threshold: null, states: { hover: { lineWidth: 3 } }, stickyTracking: !0 }), Si(Ge.prototype, { pointClass: class extends No {
1413
- }, animate: null, directTouch: !1, keysAffectYAxis: ["low", "high"], pointArrayMap: ["high", "low", "close"], pointAttrToOptions: { stroke: "color", "stroke-width": "lineWidth" }, pointValKey: "close" }), Si(Uo.lang, { stockOpen: "Open", stockHigh: "High", stockLow: "Low", stockClose: "Close" }), _().registerSeriesType("hlc", Ge);
1414
- let { seriesTypes: { hlc: Vo } } = _();
1415
- class _o extends Vo.prototype.pointClass {
1417
+ Re.defaultOptions = _o(wi.defaultOptions, { lineWidth: 1, tooltip: { pointFormat: '<span style="color:{point.color}">●</span> <b> {series.name}</b><br/>{series.chart.options.lang.stockHigh}: {point.high}<br/>{series.chart.options.lang.stockLow}: {point.low}<br/>{series.chart.options.lang.stockClose}: {point.close}<br/>' }, threshold: null, states: { hover: { lineWidth: 3 } }, stickyTracking: !0 }), Ti(Re.prototype, { pointClass: class extends Vo {
1418
+ }, animate: null, directTouch: !1, keysAffectYAxis: ["low", "high"], pointArrayMap: ["high", "low", "close"], pointAttrToOptions: { stroke: "color", "stroke-width": "lineWidth" }, pointValKey: "close" }), Ti(jo.lang, { stockOpen: "Open", stockHigh: "High", stockLow: "Low", stockClose: "Close" }), _().registerSeriesType("hlc", Re);
1419
+ let { seriesTypes: { hlc: qo } } = _();
1420
+ class Zo extends qo.prototype.pointClass {
1416
1421
  getClassName() {
1417
1422
  return super.getClassName.call(this) + (this.open < this.close ? " highcharts-point-up" : " highcharts-point-down");
1418
1423
  }
@@ -1430,23 +1435,23 @@ function fa() {
1430
1435
  return super.applyOptions.apply(this, arguments), this.resolveColor && this.resolveColor(), this;
1431
1436
  }
1432
1437
  }
1433
- let { composed: jo } = B(), { hlc: Ti } = _().seriesTypes, { addEvent: Ei, crisp: Oi, extend: Bi, merge: qo, pushUnique: Zo } = B();
1434
- function Ko(a) {
1438
+ let { composed: Ko } = B(), { hlc: Ei } = _().seriesTypes, { addEvent: Oi, crisp: Bi, extend: Ci, merge: $o, pushUnique: Jo } = B();
1439
+ function Qo(a) {
1435
1440
  let t = a.options, e = t.dataGrouping;
1436
1441
  e && t.useOhlcData && t.id !== "highcharts-navigator-series" && (e.approximation = "ohlc");
1437
1442
  }
1438
- function $o(a) {
1443
+ function tr(a) {
1439
1444
  let t = a.options;
1440
- t.useOhlcData && t.id !== "highcharts-navigator-series" && Bi(this, { pointValKey: mt.prototype.pointValKey, pointArrayMap: mt.prototype.pointArrayMap, toYData: mt.prototype.toYData });
1445
+ t.useOhlcData && t.id !== "highcharts-navigator-series" && Ci(this, { pointValKey: mt.prototype.pointValKey, pointArrayMap: mt.prototype.pointArrayMap, toYData: mt.prototype.toYData });
1441
1446
  }
1442
- class mt extends Ti {
1447
+ class mt extends Ei {
1443
1448
  static compose(t, ...e) {
1444
- Zo(jo, "OHLCSeries") && (Ei(t, "afterSetOptions", Ko), Ei(t, "init", $o));
1449
+ Jo(Ko, "OHLCSeries") && (Oi(t, "afterSetOptions", Qo), Oi(t, "init", tr));
1445
1450
  }
1446
1451
  getPointPath(t, e) {
1447
- let i = super.getPointPath(t, e), s = e.strokeWidth(), o = Oi(t.plotX || 0, s), n = Math.round(t.shapeArgs.width / 2);
1452
+ let i = super.getPointPath(t, e), s = e.strokeWidth(), o = Bi(t.plotX || 0, s), n = Math.round(t.shapeArgs.width / 2);
1448
1453
  if (t.open !== null) {
1449
- let c = Oi(t.plotOpen, s);
1454
+ let c = Bi(t.plotOpen, s);
1450
1455
  i.push(["M", o, c], ["L", o - n, c]), super.extendStem(i, s / 2, c);
1451
1456
  }
1452
1457
  return i;
@@ -1459,11 +1464,11 @@ function fa() {
1459
1464
  return [t.open, t.high, t.low, t.close];
1460
1465
  }
1461
1466
  }
1462
- mt.defaultOptions = qo(Ti.defaultOptions, { tooltip: { pointFormat: '<span style="color:{point.color}">●</span> <b> {series.name}</b><br/>{series.chart.options.lang.stockOpen}: {point.open}<br/>{series.chart.options.lang.stockHigh}: {point.high}<br/>{series.chart.options.lang.stockLow}: {point.low}<br/>{series.chart.options.lang.stockClose}: {point.close}<br/>' } }), Bi(mt.prototype, { pointClass: _o, pointArrayMap: ["open", "high", "low", "close"] }), _().registerSeriesType("ohlc", mt);
1463
- let { column: Jo, ohlc: Ie } = _().seriesTypes, { crisp: ze, merge: Qo } = B();
1464
- class Ci extends Ie {
1467
+ mt.defaultOptions = $o(Ei.defaultOptions, { tooltip: { pointFormat: '<span style="color:{point.color}">●</span> <b> {series.name}</b><br/>{series.chart.options.lang.stockOpen}: {point.open}<br/>{series.chart.options.lang.stockHigh}: {point.high}<br/>{series.chart.options.lang.stockLow}: {point.low}<br/>{series.chart.options.lang.stockClose}: {point.close}<br/>' } }), Ci(mt.prototype, { pointClass: Zo, pointArrayMap: ["open", "high", "low", "close"] }), _().registerSeriesType("ohlc", mt);
1468
+ let { column: er, ohlc: Ge } = _().seriesTypes, { crisp: Ie, merge: ir } = B();
1469
+ class Di extends Ge {
1465
1470
  pointAttribs(t, e) {
1466
- let i = Jo.prototype.pointAttribs.call(this, t, e), s = this.options, o = t.open < t.close, n = s.lineColor || this.color, c = t.color || this.color;
1471
+ let i = er.prototype.pointAttribs.call(this, t, e), s = this.options, o = t.open < t.close, n = s.lineColor || this.color, c = t.color || this.color;
1467
1472
  if (i["stroke-width"] = s.lineWidth, i.fill = t.options.color || o && s.upColor || c, i.stroke = t.options.lineColor || o && s.upLineColor || n, e) {
1468
1473
  let u = s.states[e];
1469
1474
  i.fill = u.color || i.fill, i.stroke = u.lineColor || i.stroke, i["stroke-width"] = u.lineWidth || i["stroke-width"];
@@ -1477,18 +1482,18 @@ function fa() {
1477
1482
  if (s.plotY !== void 0) {
1478
1483
  o || (s.graphic = o = e.renderer.path().add(this.group)), this.chart.styledMode || o.attr(this.pointAttribs(s, s.selected && "select")).shadow(this.options.shadow);
1479
1484
  let m = o.strokeWidth();
1480
- r = ze(s.plotX || 0, m), u = Math.min(n = s.plotOpen, c = s.plotClose), g = Math.max(n, c), h = Math.round(s.shapeArgs.width / 2), p = i ? g !== s.yBottom : Math.round(u) !== Math.round(s.plotHigh || 0), d = i ? Math.round(u) !== Math.round(s.plotHigh || 0) : g !== s.yBottom, u = ze(u, m), g = ze(g, m), (l = []).push(["M", r - h, g], ["L", r - h, u], ["L", r + h, u], ["L", r + h, g], ["Z"], ["M", r, u], ["L", r, p ? Math.round(i ? s.yBottom : s.plotHigh) : u], ["M", r, g], ["L", r, d ? Math.round(i ? s.plotHigh : s.yBottom) : g]), o[f ? "attr" : "animate"]({ d: l }).addClass(s.getClassName(), !0);
1485
+ r = Ie(s.plotX || 0, m), u = Math.min(n = s.plotOpen, c = s.plotClose), g = Math.max(n, c), h = Math.round(s.shapeArgs.width / 2), p = i ? g !== s.yBottom : Math.round(u) !== Math.round(s.plotHigh || 0), d = i ? Math.round(u) !== Math.round(s.plotHigh || 0) : g !== s.yBottom, u = Ie(u, m), g = Ie(g, m), (l = []).push(["M", r - h, g], ["L", r - h, u], ["L", r + h, u], ["L", r + h, g], ["Z"], ["M", r, u], ["L", r, p ? Math.round(i ? s.yBottom : s.plotHigh) : u], ["M", r, g], ["L", r, d ? Math.round(i ? s.plotHigh : s.yBottom) : g]), o[f ? "attr" : "animate"]({ d: l }).addClass(s.getClassName(), !0);
1481
1486
  }
1482
1487
  }
1483
1488
  }
1484
1489
  }
1485
- Ci.defaultOptions = Qo(Ie.defaultOptions, { tooltip: Ie.defaultOptions.tooltip }, { states: { hover: { lineWidth: 2 } }, threshold: null, lineColor: "#000000", lineWidth: 1, upColor: "#ffffff", stickyTracking: !0 }), _().registerSeriesType("candlestick", Ci);
1486
- let { column: { prototype: { pointClass: tr } } } = _().seriesTypes, { isNumber: er } = B(), ir = class extends tr {
1490
+ Di.defaultOptions = ir(Ge.defaultOptions, { tooltip: Ge.defaultOptions.tooltip }, { states: { hover: { lineWidth: 2 } }, threshold: null, lineColor: "#000000", lineWidth: 1, upColor: "#ffffff", stickyTracking: !0 }), _().registerSeriesType("candlestick", Di);
1491
+ let { column: { prototype: { pointClass: sr } } } = _().seriesTypes, { isNumber: or } = B(), rr = class extends sr {
1487
1492
  constructor() {
1488
1493
  super(...arguments), this.ttBelow = !1;
1489
1494
  }
1490
1495
  isValid() {
1491
- return er(this.y) || this.y === void 0;
1496
+ return or(this.y) || this.y === void 0;
1492
1497
  }
1493
1498
  hasNewShapeType() {
1494
1499
  let a = this.options.shape || this.series.options.shape;
@@ -1523,78 +1528,77 @@ function fa() {
1523
1528
  let n = s.prototype.symbols;
1524
1529
  n.flag = e, i(n, "circle"), i(n, "square");
1525
1530
  }
1526
- let o = $e().getRendererType();
1531
+ let o = Ke().getRendererType();
1527
1532
  t.indexOf(o) && t.push(o);
1528
1533
  };
1529
- })(le || (le = {}));
1530
- let sr = le;
1531
- var or = R(448), rr = R.n(or);
1532
- let { composed: ar } = B(), { prototype: nr } = rr(), { prototype: lr } = gs(), { defined: Le, pushUnique: hr, stableSort: dr } = B();
1534
+ })(he || (he = {}));
1535
+ let ar = he;
1536
+ var nr = G(448), lr = G.n(nr);
1537
+ let { composed: hr } = B(), { prototype: dr } = lr(), { prototype: pr } = fs(), { defined: ze, pushUnique: ur, stableSort: cr } = B();
1533
1538
  (function(a) {
1534
1539
  function t(i) {
1535
- return lr.getPlotBox.call(this.options.onSeries && this.chart.get(this.options.onSeries) || this, i);
1540
+ return pr.getPlotBox.call(this.options.onSeries && this.chart.get(this.options.onSeries) || this, i);
1536
1541
  }
1537
1542
  function e() {
1538
- nr.translate.apply(this);
1539
- let i = this, s = i.options, o = i.chart, n = i.points, c = s.onSeries, u = c && o.get(c), g = u && u.options.step, p = u && u.points, d = o.inverted, r = i.xAxis, l = i.yAxis, h = n.length - 1, f, m, x = s.onKey || "y", b = p && p.length, w = 0, v, M, A, y, E;
1543
+ dr.translate.apply(this);
1544
+ let i = this, s = i.options, o = i.chart, n = i.points, c = s.onSeries, u = c && o.get(c), g = u && u.options.step, p = u && u.points, d = o.inverted, r = i.xAxis, l = i.yAxis, h = n.length - 1, f, m, x = s.onKey || "y", b = p && p.length, S = 0, v, M, A, y, E;
1540
1545
  if (u && u.visible && b) {
1541
- for (w = (u.pointXOffset || 0) + (u.barW || 0) / 2, y = u.currentDataGrouping, M = p[b - 1].x + (y ? y.totalRange : 0), dr(n, (k, T) => k.x - T.x), x = "plot" + x[0].toUpperCase() + x.substr(1); b-- && n[h]; ) if (v = p[b], (f = n[h]).y = v.y, v.x <= f.x && v[x] !== void 0) {
1542
- if (f.x <= M && (f.plotY = v[x], v.x < f.x && !g && (A = p[b + 1]) && A[x] !== void 0))
1543
- if (Le(f.plotX) && u.is("spline")) {
1544
- let k = [v.plotX || 0, v.plotY || 0], T = [A.plotX || 0, A.plotY || 0], O = v.controlPoints?.high || k, S = A.controlPoints?.low || T, C = (z, L) => Math.pow(1 - z, 3) * k[L] + 3 * (1 - z) * (1 - z) * z * O[L] + 3 * (1 - z) * z * z * S[L] + z * z * z * T[L], I = 0, G = 1, D;
1545
- for (let z = 0; z < 100; z++) {
1546
- let L = (I + G) / 2, W = C(L, 0);
1547
- if (W === null) break;
1548
- if (0.25 > Math.abs(W - f.plotX)) {
1549
- D = L;
1550
- break;
1551
- }
1552
- W < f.plotX ? I = L : G = L;
1546
+ for (S = (u.pointXOffset || 0) + (u.barW || 0) / 2, y = u.currentDataGrouping, M = p[b - 1].x + (y ? y.totalRange : 0), cr(n, (w, O) => w.x - O.x), x = "plot" + x[0].toUpperCase() + x.substr(1); b-- && n[h]; ) if (v = p[b], (f = n[h]).y = v.y, v.x <= f.x && v[x] !== void 0) {
1547
+ if (f.x <= M && (f.plotY = v[x], v.x < f.x && !g && (A = p[b + 1])) && A[x] !== void 0) if (ze(f.plotX) && u.is("spline")) {
1548
+ let w = [v.plotX || 0, v.plotY || 0], O = [A.plotX || 0, A.plotY || 0], T = v.controlPoints?.high || w, k = A.controlPoints?.low || O, C = (W, L) => Math.pow(1 - W, 3) * w[L] + 3 * (1 - W) * (1 - W) * W * T[L] + 3 * (1 - W) * W * W * k[L] + W * W * W * O[L], z = 0, I = 1, D;
1549
+ for (let W = 0; W < 100; W++) {
1550
+ let L = (z + I) / 2, R = C(L, 0);
1551
+ if (R === null) break;
1552
+ if (0.25 > Math.abs(R - f.plotX)) {
1553
+ D = L;
1554
+ break;
1553
1555
  }
1554
- Le(D) && (f.plotY = C(D, 1), f.y = l.toValue(f.plotY, !0));
1555
- } else E = (f.x - v.x) / (A.x - v.x), f.plotY += E * (A[x] - v[x]), f.y += E * (A.y - v.y);
1556
+ R < f.plotX ? z = L : I = L;
1557
+ }
1558
+ ze(D) && (f.plotY = C(D, 1), f.y = l.toValue(f.plotY, !0));
1559
+ } else E = (f.x - v.x) / (A.x - v.x), f.plotY += E * (A[x] - v[x]), f.y += E * (A.y - v.y);
1556
1560
  if (h--, b++, h < 0) break;
1557
1561
  }
1558
1562
  }
1559
- n.forEach((k, T) => {
1560
- let O;
1561
- k.plotX += w, (k.plotY === void 0 || d) && (k.plotX >= 0 && k.plotX <= r.len ? d ? (k.plotY = r.translate(k.x, 0, 1, 0, 1), k.plotX = Le(k.y) ? l.translate(k.y, 0, 0, 0, 1) : 0) : k.plotY = (r.opposite ? 0 : i.yAxis.len) + r.offset : k.shapeArgs = {}), (m = n[T - 1]) && m.plotX === k.plotX && (m.stackIndex === void 0 && (m.stackIndex = 0), O = m.stackIndex + 1), k.stackIndex = O;
1563
+ n.forEach((w, O) => {
1564
+ let T;
1565
+ w.plotX += S, (w.plotY === void 0 || d) && (w.plotX >= 0 && w.plotX <= r.len ? d ? (w.plotY = r.translate(w.x, 0, 1, 0, 1), w.plotX = ze(w.y) ? l.translate(w.y, 0, 0, 0, 1) : 0) : w.plotY = (r.opposite ? 0 : i.yAxis.len) + r.offset : w.shapeArgs = {}), (m = n[O - 1]) && m.plotX === w.plotX && (m.stackIndex === void 0 && (m.stackIndex = 0), T = m.stackIndex + 1), w.stackIndex = T;
1562
1566
  }), this.onSeries = u;
1563
1567
  }
1564
1568
  a.compose = function(i) {
1565
- if (hr(ar, "OnSeries")) {
1569
+ if (ur(hr, "OnSeries")) {
1566
1570
  let s = i.prototype;
1567
1571
  s.getPlotBox = t, s.translate = e;
1568
1572
  }
1569
1573
  return i;
1570
1574
  }, a.getPlotBox = t, a.translate = e;
1571
- })(he || (he = {}));
1572
- let pr = he, { noop: ur } = B(), { distribute: cr } = B(), { series: Di, seriesTypes: { column: Pi } } = _(), { addEvent: gr, defined: fr, extend: mr, isNumber: xr, merge: Ri, objectEach: br, wrap: vr } = B();
1573
- class St extends Pi {
1575
+ })(de || (de = {}));
1576
+ let gr = de, { noop: fr } = B(), { distribute: mr } = B(), { series: Pi, seriesTypes: { column: Ri } } = _(), { addEvent: xr, defined: br, extend: vr, isNumber: yr, merge: Gi, objectEach: Mr, wrap: Ar } = B();
1577
+ class St extends Ri {
1574
1578
  animate(t) {
1575
1579
  t && this.setClip();
1576
1580
  }
1577
1581
  drawPoints() {
1578
- let t, e, i, s, o, n, c, u, g, p, d, r = this.points, l = this.chart, h = l.renderer, f = l.inverted, m = this.options, x = m.y, b = this.yAxis, w = {}, v = [], M = xr(m.borderRadius) ? m.borderRadius : 0;
1579
- for (s = r.length; s--; ) o = r[s], p = (f ? o.plotY : o.plotX) > this.xAxis.len, t = o.plotX, c = o.stackIndex, i = o.options.shape || m.shape, (e = o.plotY) !== void 0 && (e = o.plotY + x - (c !== void 0 && c * m.stackDistance)), o.anchorX = c ? void 0 : o.plotX, u = c ? void 0 : o.plotY, d = i !== "flag", n = o.graphic, e !== void 0 && t >= 0 && !p ? (n && o.hasNewShapeType() && (n = n.destroy()), n || (n = o.graphic = h.label("", 0, void 0, i, void 0, void 0, m.useHTML).addClass("highcharts-point").add(this.markerGroup), o.graphic.div && (o.graphic.div.point = o), n.isNew = !0), n.attr({ align: d ? "center" : "left", width: m.width, height: m.height, "text-align": m.textAlign, r: M }), l.styledMode || n.attr(this.pointAttribs(o)).css(Ri(m.style, o.style)).shadow(m.shadow), t > 0 && (t -= n.strokeWidth() % 2), g = { y: e, anchorY: u }, m.allowOverlapX && (g.x = t, g.anchorX = o.anchorX), n.attr({ text: o.options.title ?? m.title ?? "A" })[n.isNew ? "attr" : "animate"](g), m.allowOverlapX || (w[o.plotX] ? w[o.plotX].size = Math.max(w[o.plotX].size, n.width || 0) : w[o.plotX] = { align: 0.5 * !!d, size: n.width || 0, target: t, anchorX: t }), o.tooltipPos = [t, e + b.pos - l.plotTop]) : n && (o.graphic = n.destroy());
1582
+ let t, e, i, s, o, n, c, u, g, p, d, r = this.points, l = this.chart, h = l.renderer, f = l.inverted, m = this.options, x = m.y, b = this.yAxis, S = {}, v = [], M = yr(m.borderRadius) ? m.borderRadius : 0;
1583
+ for (s = r.length; s--; ) o = r[s], p = (f ? o.plotY : o.plotX) > this.xAxis.len, t = o.plotX, c = o.stackIndex, i = o.options.shape || m.shape, (e = o.plotY) !== void 0 && (e = o.plotY + x - (c !== void 0 && c * m.stackDistance)), o.anchorX = c ? void 0 : o.plotX, u = c ? void 0 : o.plotY, d = i !== "flag", n = o.graphic, e !== void 0 && t >= 0 && !p ? (n && o.hasNewShapeType() && (n = n.destroy()), n || (n = o.graphic = h.label("", 0, void 0, i, void 0, void 0, m.useHTML).addClass("highcharts-point").add(this.markerGroup), o.graphic.div && (o.graphic.div.point = o), n.isNew = !0), n.attr({ align: d ? "center" : "left", width: m.width, height: m.height, "text-align": m.textAlign, r: M }), l.styledMode || n.attr(this.pointAttribs(o)).css(Gi(m.style, o.style)).shadow(m.shadow), t > 0 && (t -= n.strokeWidth() % 2), g = { y: e, anchorY: u }, m.allowOverlapX && (g.x = t, g.anchorX = o.anchorX), n.attr({ text: o.options.title ?? m.title ?? "A" })[n.isNew ? "attr" : "animate"](g), m.allowOverlapX || (S[o.plotX] ? S[o.plotX].size = Math.max(S[o.plotX].size, n.width || 0) : S[o.plotX] = { align: 0.5 * !!d, size: n.width || 0, target: t, anchorX: t }), o.tooltipPos = [t, e + b.pos - l.plotTop]) : n && (o.graphic = n.destroy());
1580
1584
  if (!m.allowOverlapX) {
1581
1585
  let A = 100;
1582
- for (let y of (br(w, function(E) {
1586
+ for (let y of (Mr(S, function(E) {
1583
1587
  E.plotX = E.anchorX, v.push(E), A = Math.max(E.size, A);
1584
- }), cr(v, f ? b.len : this.xAxis.len, A), r)) {
1585
- let E = y.plotX, k = y.graphic, T = k && w[E];
1586
- T && k && (fr(T.pos) ? k[k.isNew ? "attr" : "animate"]({ x: T.pos + (T.align || 0) * T.size, anchorX: y.anchorX }).show().isNew = !1 : k.hide().isNew = !0);
1588
+ }), mr(v, f ? b.len : this.xAxis.len, A), r)) {
1589
+ let E = y.plotX, w = y.graphic, O = w && S[E];
1590
+ O && w && (br(O.pos) ? w[w.isNew ? "attr" : "animate"]({ x: O.pos + (O.align || 0) * O.size, anchorX: y.anchorX }).show().isNew = !1 : w.hide().isNew = !0);
1587
1591
  }
1588
1592
  }
1589
- m.useHTML && this.markerGroup && vr(this.markerGroup, "on", function(A) {
1590
- return ui().prototype.on.apply(A.apply(this, [].slice.call(arguments, 1)), [].slice.call(arguments, 1));
1593
+ m.useHTML && this.markerGroup && Ar(this.markerGroup, "on", function(A) {
1594
+ return ci().prototype.on.apply(A.apply(this, [].slice.call(arguments, 1)), [].slice.call(arguments, 1));
1591
1595
  });
1592
1596
  }
1593
1597
  drawTracker() {
1594
1598
  let t = this.points;
1595
1599
  for (let e of (super.drawTracker(), t)) {
1596
1600
  let i = e.graphic;
1597
- i && (e.unbindMouseOver && e.unbindMouseOver(), e.unbindMouseOver = gr(i.element, "mouseover", function() {
1601
+ i && (e.unbindMouseOver && e.unbindMouseOver(), e.unbindMouseOver = xr(i.element, "mouseover", function() {
1598
1602
  for (let s of (e.stackIndex > 0 && !e.raised && (e._y = i.y, i.attr({ y: e._y - 8 }), e.raised = !0), t)) s !== e && s.raised && s.graphic && (s.graphic.attr({ y: s._y }), s.raised = !1);
1599
1603
  }));
1600
1604
  }
@@ -1604,12 +1608,12 @@ function fa() {
1604
1608
  return e && (c = i.states[e].fillColor, o = i.states[e].lineColor, n = i.states[e].lineWidth), { fill: c || s, stroke: o || s, "stroke-width": n || i.lineWidth || 0 };
1605
1609
  }
1606
1610
  setClip() {
1607
- Di.prototype.setClip.apply(this, arguments), this.options.clip !== !1 && this.sharedClipKey && this.markerGroup && this.markerGroup.clip(this.chart.sharedClips[this.sharedClipKey]);
1611
+ Pi.prototype.setClip.apply(this, arguments), this.options.clip !== !1 && this.sharedClipKey && this.markerGroup && this.markerGroup.clip(this.chart.sharedClips[this.sharedClipKey]);
1608
1612
  }
1609
1613
  }
1610
- St.compose = sr.compose, St.defaultOptions = Ri(Pi.defaultOptions, { borderRadius: 0, pointRange: 0, allowOverlapX: !1, shape: "flag", stackDistance: 12, textAlign: "center", tooltip: { pointFormat: "{point.text}" }, threshold: null, y: -30, fillColor: "#ffffff", lineWidth: 1, states: { hover: { lineColor: "#000000", fillColor: "#ccd3ff" } }, style: { fontSize: "0.7em", fontWeight: "bold" } }), pr.compose(St), mr(St.prototype, { allowDG: !1, forceCrop: !0, invertible: !1, noSharedTooltip: !0, pointClass: ir, sorted: !1, takeOrdinalPosition: !1, trackerGroups: ["markerGroup"], buildKDTree: ur, init: Di.prototype.init }), _().registerSeriesType("flags", St);
1611
- var yr = R(184), Mr = R.n(yr);
1612
- let { addEvent: Tt, find: Ar, fireEvent: We, isArray: kr, isNumber: q, pick: Et } = B();
1614
+ St.compose = ar.compose, St.defaultOptions = Gi(Ri.defaultOptions, { borderRadius: 0, pointRange: 0, allowOverlapX: !1, shape: "flag", stackDistance: 12, textAlign: "center", tooltip: { pointFormat: "{point.text}" }, threshold: null, y: -30, fillColor: "#ffffff", lineWidth: 1, states: { hover: { lineColor: "#000000", fillColor: "#ccd3ff" } }, style: { color: "#000000", fontSize: "0.7em", fontWeight: "bold" } }), gr.compose(St), vr(St.prototype, { allowDG: !1, forceCrop: !0, invertible: !1, noSharedTooltip: !0, pointClass: rr, sorted: !1, takeOrdinalPosition: !1, trackerGroups: ["markerGroup"], buildKDTree: fr, init: Pi.prototype.init }), _().registerSeriesType("flags", St);
1615
+ var kr = G(184), wr = G.n(kr);
1616
+ let { addEvent: Tt, find: Sr, fireEvent: Le, isArray: Tr, isNumber: q, pick: Et } = B();
1613
1617
  (function(a) {
1614
1618
  function t() {
1615
1619
  this.brokenAxis !== void 0 && this.brokenAxis.setBreaks(this.options.breaks, !1);
@@ -1647,7 +1651,7 @@ function fa() {
1647
1651
  let x = p.brokenAxis;
1648
1652
  d.forEach(function(b) {
1649
1653
  r = x?.breakArray || [], l = p.isXAxis ? p.min : Et(f.options.threshold, p.min);
1650
- let w = p?.options?.breaks?.filter(function(v) {
1654
+ let S = p?.options?.breaks?.filter(function(v) {
1651
1655
  let M = !0;
1652
1656
  for (let A = 0; A < r.length; A++) {
1653
1657
  let y = r[A];
@@ -1662,10 +1666,10 @@ function fa() {
1662
1666
  h = Et(v["stack" + b.toUpperCase()], v[b]), r.forEach(function(M) {
1663
1667
  if (q(l) && q(h)) {
1664
1668
  let A = "";
1665
- l < M.from && h > M.to || l > M.from && h < M.from ? A = "pointBreak" : (l < M.from && h > M.from && h < M.to || l > M.from && h > M.to && h < M.from) && (A = "pointInBreak"), A && We(p, A, { point: v, brk: M });
1669
+ l < M.from && h > M.to || l > M.from && h < M.from ? A = "pointBreak" : (l < M.from && h > M.from && h < M.to || l > M.from && h > M.to && h < M.from) && (A = "pointInBreak"), A && Le(p, A, { point: v, brk: M });
1666
1670
  }
1667
- }), w?.forEach(function(M) {
1668
- We(p, "pointOutsideOfBreak", { point: v, brk: M });
1671
+ }), S?.forEach(function(M) {
1672
+ Le(p, "pointOutsideOfBreak", { point: v, brk: M });
1669
1673
  });
1670
1674
  });
1671
1675
  });
@@ -1678,7 +1682,7 @@ function fa() {
1678
1682
  for (this.options.gapUnit !== "value" && (h *= this.basePointRange), d && d > h && d >= this.basePointRange && (h = d); f--; ) if (x && x.visible !== !1 || (x = r[f + 1]), m = r[f], x.visible !== !1 && m.visible !== !1) {
1679
1683
  if (x.x - m.x > h) {
1680
1684
  let b = (m.x + x.x) / 2;
1681
- r.splice(f + 1, 0, { isNull: !0, x: b }), l.stacking && this.options.stacking && ((l.stacking.stacks[this.stackKey][b] = new (Mr())(l, l.options.stackLabels, !1, b, this.stack)).total = 0);
1685
+ r.splice(f + 1, 0, { isNull: !0, x: b }), l.stacking && this.options.stacking && ((l.stacking.stacks[this.stackKey][b] = new (wr())(l, l.options.stackLabels, !1, b, this.stack)).total = 0);
1682
1686
  }
1683
1687
  x = m;
1684
1688
  }
@@ -1723,7 +1727,7 @@ function fa() {
1723
1727
  this.hasBreaks = !1, this.axis = d;
1724
1728
  }
1725
1729
  findBreakAt(d, r) {
1726
- return Ar(r, function(l) {
1730
+ return Sr(r, function(l) {
1727
1731
  return l.from < d && d < l.to;
1728
1732
  });
1729
1733
  }
@@ -1736,77 +1740,77 @@ function fa() {
1736
1740
  return b;
1737
1741
  }
1738
1742
  setBreaks(d, r) {
1739
- let l = this, h = l.axis, f = h.chart.time, m = kr(d) && !!d.length && !!Object.keys(d[0]).length;
1743
+ let l = this, h = l.axis, f = h.chart.time, m = Tr(d) && !!d.length && !!Object.keys(d[0]).length;
1740
1744
  h.isDirty = l.hasBreaks !== m, l.hasBreaks = m, d?.forEach((x) => {
1741
1745
  x.from = f.parse(x.from) || 0, x.to = f.parse(x.to) || 0;
1742
1746
  }), d !== h.options.breaks && (h.options.breaks = h.userOptions.breaks = d), h.forceRedraw = !0, h.series.forEach(function(x) {
1743
1747
  x.isDirty = !0;
1744
- }), m || h.val2lin !== g.val2Lin || (delete h.val2lin, delete h.lin2val), m && (h.userOptions.ordinal = !1, h.lin2val = g.lin2Val, h.val2lin = g.val2Lin, h.setExtremes = function(x, b, w, v, M) {
1748
+ }), m || h.val2lin !== g.val2Lin || (delete h.val2lin, delete h.lin2val), m && (h.userOptions.ordinal = !1, h.lin2val = g.lin2Val, h.val2lin = g.val2Lin, h.setExtremes = function(x, b, S, v, M) {
1745
1749
  if (l.hasBreaks) {
1746
1750
  let A, y = this.options.breaks || [];
1747
1751
  for (; A = l.findBreakAt(x, y); ) x = A.to;
1748
1752
  for (; A = l.findBreakAt(b, y); ) b = A.from;
1749
1753
  b < x && (b = x);
1750
1754
  }
1751
- h.constructor.prototype.setExtremes.call(this, x, b, w, v, M);
1755
+ h.constructor.prototype.setExtremes.call(this, x, b, S, v, M);
1752
1756
  }, h.setAxisTranslation = function() {
1753
1757
  if (h.constructor.prototype.setAxisTranslation.call(this), l.unitLength = void 0, l.hasBreaks) {
1754
- let x = h.options.breaks || [], b = [], w = [], v = Et(h.pointRangePadding, 0), M = 0, A, y, E = h.userMin || h.min, k = h.userMax || h.max, T, O;
1755
- x.forEach(function(S) {
1756
- y = S.repeat || 1 / 0, q(E) && q(k) && (g.isInBreak(S, E) && (E += S.to % y - E % y), g.isInBreak(S, k) && (k -= k % y - S.from % y));
1757
- }), x.forEach(function(S) {
1758
- if (T = S.from, y = S.repeat || 1 / 0, q(E) && q(k)) {
1759
- for (; T - y > E; ) T -= y;
1760
- for (; T < E; ) T += y;
1761
- for (O = T; O < k; O += y) b.push({ value: O, move: "in" }), b.push({ value: O + S.to - S.from, move: "out", size: S.breakSize });
1758
+ let x = h.options.breaks || [], b = [], S = [], v = Et(h.pointRangePadding, 0), M = 0, A, y, E = h.userMin || h.min, w = h.userMax || h.max, O, T;
1759
+ x.forEach(function(k) {
1760
+ y = k.repeat || 1 / 0, q(E) && q(w) && (g.isInBreak(k, E) && (E += k.to % y - E % y), g.isInBreak(k, w) && (w -= w % y - k.from % y));
1761
+ }), x.forEach(function(k) {
1762
+ if (O = k.from, y = k.repeat || 1 / 0, q(E) && q(w)) {
1763
+ for (; O - y > E; ) O -= y;
1764
+ for (; O < E; ) O += y;
1765
+ for (T = O; T < w; T += y) b.push({ value: T, move: "in" }), b.push({ value: T + k.to - k.from, move: "out", size: k.breakSize });
1762
1766
  }
1763
- }), b.sort(function(S, C) {
1764
- return S.value === C.value ? +(S.move !== "in") - +(C.move !== "in") : S.value - C.value;
1765
- }), A = 0, T = E, b.forEach(function(S) {
1766
- (A += S.move === "in" ? 1 : -1) === 1 && S.move === "in" && (T = S.value), A === 0 && q(T) && (w.push({ from: T, to: S.value, len: S.value - T - (S.size || 0) }), M += S.value - T - (S.size || 0));
1767
- }), l.breakArray = w, q(E) && q(k) && q(h.min) && (l.unitLength = k - E - M + v, We(h, "afterBreaks"), h.staticScale ? h.transA = h.staticScale : l.unitLength && (h.transA *= (k - h.min + v) / l.unitLength), v && (h.minPixelPadding = h.transA * (h.minPointOffset || 0)), h.min = E, h.max = k);
1767
+ }), b.sort(function(k, C) {
1768
+ return k.value === C.value ? (k.move !== "in") - (C.move !== "in") : k.value - C.value;
1769
+ }), A = 0, O = E, b.forEach(function(k) {
1770
+ (A += k.move === "in" ? 1 : -1) === 1 && k.move === "in" && (O = k.value), A === 0 && q(O) && (S.push({ from: O, to: k.value, len: k.value - O - (k.size || 0) }), M += k.value - O - (k.size || 0));
1771
+ }), l.breakArray = S, q(E) && q(w) && q(h.min) && (l.unitLength = w - E - M + v, Le(h, "afterBreaks"), h.staticScale ? h.transA = h.staticScale : l.unitLength && (h.transA *= (w - h.min + v) / l.unitLength), v && (h.minPixelPadding = h.transA * (h.minPointOffset || 0)), h.min = E, h.max = w);
1768
1772
  }
1769
1773
  }), Et(r, !0) && h.chart.redraw();
1770
1774
  }
1771
1775
  }
1772
1776
  a.Additions = g;
1773
- })(de || (de = {}));
1774
- let wr = de, Ht = B();
1775
- Ht.BrokenAxis = Ht.BrokenAxis || wr, Ht.BrokenAxis.compose(Ht.Axis, Ht.Series);
1776
- let U = {}, { arrayMax: Sr, arrayMin: Tr, correctFloat: Er, extend: Or, isNumber: tt } = B();
1777
- function Gi(a) {
1778
- let t = a.length, e = Ii(a);
1779
- return tt(e) && t && (e = Er(e / t)), e;
1780
- }
1777
+ })(pe || (pe = {}));
1778
+ let Er = pe, Ht = B();
1779
+ Ht.BrokenAxis = Ht.BrokenAxis || Er, Ht.BrokenAxis.compose(Ht.Axis, Ht.Series);
1780
+ let U = {}, { arrayMax: Or, arrayMin: Br, correctFloat: Cr, extend: Dr, isNumber: tt } = B();
1781
1781
  function Ii(a) {
1782
+ let t = a.length, e = zi(a);
1783
+ return tt(e) && t && (e = Cr(e / t)), e;
1784
+ }
1785
+ function zi(a) {
1782
1786
  let t = a.length, e;
1783
1787
  if (!t && a.hasNulls) e = null;
1784
1788
  else if (t) for (e = 0; t--; ) e += a[t];
1785
1789
  return e;
1786
1790
  }
1787
- let zi = { average: Gi, averages: function() {
1791
+ let Li = { average: Ii, averages: function() {
1788
1792
  let a = [];
1789
1793
  return [].forEach.call(arguments, function(t) {
1790
- a.push(Gi(t));
1794
+ a.push(Ii(t));
1791
1795
  }), a[0] === void 0 ? void 0 : a;
1792
1796
  }, close: function(a) {
1793
1797
  return a.length ? a[a.length - 1] : a.hasNulls ? null : void 0;
1794
1798
  }, high: function(a) {
1795
- return a.length ? Sr(a) : a.hasNulls ? null : void 0;
1799
+ return a.length ? Or(a) : a.hasNulls ? null : void 0;
1796
1800
  }, hlc: function(a, t, e) {
1797
1801
  if (a = U.high(a), t = U.low(t), e = U.close(e), tt(a) || tt(t) || tt(e)) return [a, t, e];
1798
1802
  }, low: function(a) {
1799
- return a.length ? Tr(a) : a.hasNulls ? null : void 0;
1803
+ return a.length ? Br(a) : a.hasNulls ? null : void 0;
1800
1804
  }, ohlc: function(a, t, e, i) {
1801
1805
  if (a = U.open(a), t = U.high(t), e = U.low(e), i = U.close(i), tt(a) || tt(t) || tt(e) || tt(i)) return [a, t, e, i];
1802
1806
  }, open: function(a) {
1803
1807
  return a.length ? a[0] : a.hasNulls ? null : void 0;
1804
1808
  }, range: function(a, t) {
1805
1809
  return a = U.low(a), t = U.high(t), tt(a) || tt(t) ? [a, t] : a === null && t === null ? null : void 0;
1806
- }, sum: Ii };
1807
- Or(U, zi);
1808
- let Ot = { common: { groupPixelWidth: 2, dateTimeLabelFormats: { millisecond: ["%[AebHMSL]", "%[AebHMSL]", "-%[HMSL]"], second: ["%[AebHMS]", "%[AebHMS]", "-%[HMS]"], minute: ["%[AebHM]", "%[AebHM]", "-%[HM]"], hour: ["%[AebHM]", "%[AebHM]", "-%[HM]"], day: ["%[AebY]", "%[Aeb]", "-%[AebY]"], week: ["%v %[AebY]", "%[Aeb]", "-%[AebY]"], month: ["%[BY]", "%[B]", "-%[BY]"], year: ["%Y", "%Y", "-%Y"] } }, seriesSpecific: { line: {}, spline: {}, area: {}, areaspline: {}, arearange: {}, column: { groupPixelWidth: 10 }, columnrange: { groupPixelWidth: 10 }, candlestick: { groupPixelWidth: 10 }, ohlc: { groupPixelWidth: 5 }, hlc: { groupPixelWidth: 5 }, heikinashi: { groupPixelWidth: 10 } }, units: [["millisecond", [1, 2, 5, 10, 20, 25, 50, 100, 200, 500]], ["second", [1, 2, 5, 10, 15, 30]], ["minute", [1, 2, 5, 10, 15, 30]], ["hour", [1, 2, 3, 4, 6, 8, 12]], ["day", [1]], ["week", [1]], ["month", [1, 3, 6]], ["year", null]] }, { addEvent: Li, extend: Br, merge: Cr, pick: Wi } = B();
1809
- function Xi(a) {
1810
+ }, sum: zi };
1811
+ Dr(U, Li);
1812
+ let Ot = { common: { groupPixelWidth: 2, dateTimeLabelFormats: { millisecond: ["%[AebHMSL]", "%[AebHMSL]", "-%[HMSL]"], second: ["%[AebHMS]", "%[AebHMS]", "-%[HMS]"], minute: ["%[AebHM]", "%[AebHM]", "-%[HM]"], hour: ["%[AebHM]", "%[AebHM]", "-%[HM]"], day: ["%[AebY]", "%[Aeb]", "-%[AebY]"], week: ["%v %[AebY]", "%[Aeb]", "-%[AebY]"], month: ["%[BY]", "%[B]", "-%[BY]"], year: ["%Y", "%Y", "-%Y"] } }, seriesSpecific: { line: {}, spline: {}, area: {}, areaspline: {}, arearange: {}, column: { groupPixelWidth: 10 }, columnrange: { groupPixelWidth: 10 }, candlestick: { groupPixelWidth: 10 }, ohlc: { groupPixelWidth: 5 }, hlc: { groupPixelWidth: 5 }, heikinashi: { groupPixelWidth: 10 } }, units: [["millisecond", [1, 2, 5, 10, 20, 25, 50, 100, 200, 500]], ["second", [1, 2, 5, 10, 15, 30]], ["minute", [1, 2, 5, 10, 15, 30]], ["hour", [1, 2, 3, 4, 6, 8, 12]], ["day", [1]], ["week", [1]], ["month", [1, 3, 6]], ["year", null]] }, { addEvent: Wi, extend: Pr, merge: Rr, pick: Xi } = B();
1813
+ function Hi(a) {
1810
1814
  let t = this, e = t.series;
1811
1815
  e.forEach(function(i) {
1812
1816
  i.groupPixelWidth = void 0;
@@ -1814,29 +1818,29 @@ function fa() {
1814
1818
  i.groupPixelWidth = t.getGroupPixelWidth && t.getGroupPixelWidth(), i.groupPixelWidth && (i.hasProcessed = !0), i.applyGrouping(!!a.hasExtremesChanged);
1815
1819
  });
1816
1820
  }
1817
- function Dr() {
1821
+ function Gr() {
1818
1822
  let a = this.series, t = a.length, e = 0, i = !1, s, o;
1819
- for (; t--; ) (o = a[t].options.dataGrouping) && (e = Math.max(e, Wi(o.groupPixelWidth, Ot.common.groupPixelWidth)), s = (a[t].dataTable.modified || a[t].dataTable).rowCount, (a[t].groupPixelWidth || s > this.chart.plotSizeX / e || s && o.forced) && (i = !0));
1823
+ for (; t--; ) (o = a[t].options.dataGrouping) && (e = Math.max(e, Xi(o.groupPixelWidth, Ot.common.groupPixelWidth)), s = (a[t].dataTable.modified || a[t].dataTable).rowCount, (a[t].groupPixelWidth || s > this.chart.plotSizeX / e || s && o.forced) && (i = !0));
1820
1824
  return i ? e : 0;
1821
1825
  }
1822
- function Pr() {
1826
+ function Ir() {
1823
1827
  this.series.forEach(function(a) {
1824
1828
  a.hasProcessed = !1;
1825
1829
  });
1826
1830
  }
1827
- function Rr(a, t) {
1831
+ function zr(a, t) {
1828
1832
  let e;
1829
- if (t = Wi(t, !0), a || (a = { forced: !1, units: null }), this instanceof Ye) for (e = this.series.length; e--; ) this.series[e].update({ dataGrouping: a }, !1);
1833
+ if (t = Xi(t, !0), a || (a = { forced: !1, units: null }), this instanceof He) for (e = this.series.length; e--; ) this.series[e].update({ dataGrouping: a }, !1);
1830
1834
  else this.chart.options.series.forEach(function(i) {
1831
- i.dataGrouping = typeof a == "boolean" ? a : Cr(a, i.dataGrouping);
1835
+ i.dataGrouping = typeof a == "boolean" ? a : Rr(a, i.dataGrouping);
1832
1836
  });
1833
1837
  this.ordinal && (this.ordinal.slope = void 0), t && this.chart.redraw();
1834
1838
  }
1835
- let Gr = { compose: function(a) {
1836
- Ye = a;
1839
+ let Lr = { compose: function(a) {
1840
+ He = a;
1837
1841
  let t = a.prototype;
1838
- t.applyGrouping || (Li(a, "afterSetScale", Pr), Li(a, "postProcessData", Xi), Br(t, { applyGrouping: Xi, getGroupPixelWidth: Dr, setDataGrouping: Rr }));
1839
- } }, { addEvent: Ir, getMagnitude: zr, normalizeTickInterval: Lr, timeUnits: Kt } = B();
1842
+ t.applyGrouping || (Wi(a, "afterSetScale", Ir), Wi(a, "postProcessData", Hi), Pr(t, { applyGrouping: Hi, getGroupPixelWidth: Gr, setDataGrouping: zr }));
1843
+ } }, { addEvent: Wr, getMagnitude: Xr, normalizeTickInterval: Hr, timeUnits: $t } = B();
1840
1844
  (function(a) {
1841
1845
  function t() {
1842
1846
  return this.chart.time.getTimeTicks.apply(this.chart.time, arguments);
@@ -1849,17 +1853,17 @@ function fa() {
1849
1853
  this.dateTime || (this.dateTime = new i(this));
1850
1854
  }
1851
1855
  a.compose = function(s) {
1852
- return s.keepProps.includes("dateTime") || (s.keepProps.push("dateTime"), s.prototype.getTimeTicks = t, Ir(s, "afterSetType", e)), s;
1856
+ return s.keepProps.includes("dateTime") || (s.keepProps.push("dateTime"), s.prototype.getTimeTicks = t, Wr(s, "afterSetType", e)), s;
1853
1857
  };
1854
1858
  class i {
1855
1859
  constructor(o) {
1856
1860
  this.axis = o;
1857
1861
  }
1858
1862
  normalizeTimeTickInterval(o, n) {
1859
- let c = n || [["millisecond", [1, 2, 5, 10, 20, 25, 50, 100, 200, 500]], ["second", [1, 2, 5, 10, 15, 30]], ["minute", [1, 2, 5, 10, 15, 30]], ["hour", [1, 2, 3, 4, 6, 8, 12]], ["day", [1, 2]], ["week", [1, 2]], ["month", [1, 2, 3, 4, 6]], ["year", null]], u = c[c.length - 1], g = Kt[u[0]], p = u[1], d;
1860
- for (d = 0; d < c.length && (g = Kt[(u = c[d])[0]], p = u[1], !c[d + 1] || !(o <= (g * p[p.length - 1] + Kt[c[d + 1][0]]) / 2)); d++) ;
1861
- g === Kt.year && o < 5 * g && (p = [1, 2, 5]);
1862
- let r = Lr(o / g, p, u[0] === "year" ? Math.max(zr(o / g), 1) : 1);
1863
+ let c = n || [["millisecond", [1, 2, 5, 10, 20, 25, 50, 100, 200, 500]], ["second", [1, 2, 5, 10, 15, 30]], ["minute", [1, 2, 5, 10, 15, 30]], ["hour", [1, 2, 3, 4, 6, 8, 12]], ["day", [1, 2]], ["week", [1, 2]], ["month", [1, 2, 3, 4, 6]], ["year", null]], u = c[c.length - 1], g = $t[u[0]], p = u[1], d;
1864
+ for (d = 0; d < c.length && (g = $t[(u = c[d])[0]], p = u[1], !c[d + 1] || !(o <= (g * p[p.length - 1] + $t[c[d + 1][0]]) / 2)); d++) ;
1865
+ g === $t.year && o < 5 * g && (p = [1, 2, 5]);
1866
+ let r = Hr(o / g, p, u[0] === "year" ? Math.max(Xr(o / g), 1) : 1);
1863
1867
  return { unitRange: g, count: r, unitName: u[0] };
1864
1868
  }
1865
1869
  getXDateFormat(o, n) {
@@ -1868,151 +1872,173 @@ function fa() {
1868
1872
  }
1869
1873
  }
1870
1874
  a.Additions = i;
1871
- })(pe || (pe = {}));
1872
- let Wr = pe, { series: { prototype: Hi } } = _(), { addEvent: Xe, defined: Yt, error: Yi, extend: Xr, isNumber: Z, merge: He, pick: Hr, splat: Yr } = B(), Nr = Hi.generatePoints;
1873
- function Fr(a) {
1875
+ })(ue || (ue = {}));
1876
+ let Yr = ue, { series: { prototype: Yi } } = _(), { addEvent: We, defined: Yt, error: Ni, extend: Nr, isNumber: Z, merge: Xe, pick: Fr, splat: Ur } = B(), Vr = Yi.generatePoints;
1877
+ function _r(a) {
1874
1878
  var t, e, i;
1875
- let s, o, n = this.chart, c = this.options.dataGrouping, u = this.allowDG !== !1 && c && Hr(c.enabled, n.options.isStock), g = this.reserveSpace(), p = this.currentDataGrouping, d, r, l = !1;
1879
+ let s, o, n = this.chart, c = this.options.dataGrouping, u = this.allowDG !== !1 && c && Fr(c.enabled, n.options.isStock), g = this.reserveSpace(), p = this.currentDataGrouping, d, r, l = !1;
1876
1880
  u && !this.requireSorting && (this.requireSorting = l = !0);
1877
1881
  let h = (t = this, e = a, !!(t.isCartesian && !t.isDirty && !t.xAxis.isDirty && !t.yAxis.isDirty && !e) || !u);
1878
1882
  if (l && (this.requireSorting = !1), h) return;
1879
1883
  this.destroyGroupedData();
1880
- let f = c.groupAll ? this.dataTable : this.dataTable.modified || this.dataTable, m = this.getColumn("x", !c.groupAll), x = n.plotSizeX, b = this.xAxis, w = b.getExtremes(), v = b.options.ordinal, M = this.groupPixelWidth;
1881
- if (M && m && f.rowCount && x && Z(w.min)) {
1884
+ let f = c.groupAll ? this.dataTable : this.dataTable.modified || this.dataTable, m = this.getColumn("x", !c.groupAll), x = n.plotSizeX, b = this.xAxis, S = b.getExtremes(), v = b.options.ordinal, M = this.groupPixelWidth;
1885
+ if (M && m && f.rowCount && x && Z(S.min)) {
1882
1886
  o = !0, this.isDirty = !0, this.points = null;
1883
- let A = w.min, y = w.max, E = v && b.ordinal && b.ordinal.getGroupIntervalFactor(A, y, this) || 1, k = M * (y - A) / x * E, T = b.getTimeTicks(Wr.Additions.prototype.normalizeTimeTickInterval(k, c.units || Ot.units), Math.min(A, m[0]), Math.max(y, m[m.length - 1]), b.options.startOfWeek, m, this.closestPointRange), O = Hi.groupData.apply(this, [f, T, c.approximation]), S = O.modified, C = S.getColumn("x", !0), I = 0;
1884
- for (c?.smoothed && S.rowCount && (c.firstAnchor = "firstPoint", c.anchor = "middle", c.lastAnchor = "lastPoint", Yi(32, !1, n, { "dataGrouping.smoothed": "use dataGrouping.anchor" })), s = 1; s < T.length; s++) T.info.segmentStarts && T.info.segmentStarts.indexOf(s) !== -1 || (I = Math.max(T[s] - T[s - 1], I));
1885
- (d = T.info).gapSize = I, this.closestPointRange = T.info.totalRange, this.groupMap = O.groupMap, this.currentDataGrouping = d, function(G, D, z) {
1886
- let L = G.options.dataGrouping, W = G.currentDataGrouping && G.currentDataGrouping.gapSize, X = G.getColumn("x");
1887
- if (!(L && X.length && W && G.groupMap)) return;
1888
- let N = D.length - 1, ht = L.anchor, Bt = L.firstAnchor, V = L.lastAnchor, Ct = D.length - 1, Jt = 0;
1887
+ let A = S.min, y = S.max, E = v && b.ordinal && b.ordinal.getGroupIntervalFactor(A, y, this) || 1, w = M * (y - A) / x * E, O = b.getTimeTicks(Yr.Additions.prototype.normalizeTimeTickInterval(w, c.units || Ot.units), Math.min(A, m[0]), Math.max(y, m[m.length - 1]), b.options.startOfWeek, m, this.closestPointRange), T = Yi.groupData.apply(this, [f, O, c.approximation]), k = T.modified, C = k.getColumn("x", !0), z = 0;
1888
+ for (c?.smoothed && k.rowCount && (c.firstAnchor = "firstPoint", c.anchor = "middle", c.lastAnchor = "lastPoint", Ni(32, !1, n, { "dataGrouping.smoothed": "use dataGrouping.anchor" })), s = 1; s < O.length; s++) O.info.segmentStarts && O.info.segmentStarts.indexOf(s) !== -1 || (z = Math.max(O[s] - O[s - 1], z));
1889
+ (d = O.info).gapSize = z, this.closestPointRange = O.info.totalRange, this.groupMap = T.groupMap, this.currentDataGrouping = d, function(I, D, W) {
1890
+ let L = I.options.dataGrouping, R = I.currentDataGrouping && I.currentDataGrouping.gapSize, X = I.getColumn("x");
1891
+ if (!(L && X.length && R && I.groupMap)) return;
1892
+ let Y = D.length - 1, lt = L.anchor, Bt = L.firstAnchor, V = L.lastAnchor, Ct = D.length - 1, Qt = 0;
1889
1893
  if (Bt && X[0] >= D[0]) {
1890
- let dt;
1891
- Jt++;
1892
- let Zi = G.groupMap[0].start, Ki = G.groupMap[0].length;
1893
- Z(Zi) && Z(Ki) && (dt = Zi + (Ki - 1)), D[0] = { start: D[0], middle: D[0] + 0.5 * W, end: D[0] + W, firstPoint: X[0], lastPoint: dt && X[dt] }[Bt];
1894
+ let ht;
1895
+ Qt++;
1896
+ let Ki = I.groupMap[0].start, $i = I.groupMap[0].length;
1897
+ Z(Ki) && Z($i) && (ht = Ki + ($i - 1)), D[0] = { start: D[0], middle: D[0] + 0.5 * R, end: D[0] + R, firstPoint: X[0], lastPoint: ht && X[ht] }[Bt];
1894
1898
  }
1895
- if (N > 0 && V && W && D[N] >= z - W) {
1899
+ if (Y > 0 && V && R && D[Y] >= W - R) {
1896
1900
  Ct--;
1897
- let dt = G.groupMap[G.groupMap.length - 1].start;
1898
- D[N] = { start: D[N], middle: D[N] + 0.5 * W, end: D[N] + W, firstPoint: dt && X[dt], lastPoint: X[X.length - 1] }[V];
1901
+ let ht = I.groupMap[I.groupMap.length - 1].start;
1902
+ D[Y] = { start: D[Y], middle: D[Y] + 0.5 * R, end: D[Y] + R, firstPoint: ht && X[ht], lastPoint: X[X.length - 1] }[V];
1899
1903
  }
1900
- if (ht && ht !== "start") {
1901
- let dt = W * { middle: 0.5, end: 1 }[ht];
1902
- for (; Ct >= Jt; ) D[Ct] += dt, Ct--;
1904
+ if (lt && lt !== "start") {
1905
+ let ht = R * { middle: 0.5, end: 1 }[lt];
1906
+ for (; Ct >= Qt; ) D[Ct] += ht, Ct--;
1903
1907
  }
1904
- }(this, C || [], y), g && C && (Yt((i = C)[0]) && Z(b.min) && Z(b.dataMin) && i[0] < b.min && ((!Yt(b.options.min) && b.min <= b.dataMin || b.min === b.dataMin) && (b.min = Math.min(i[0], b.min)), b.dataMin = Math.min(i[0], b.dataMin)), Yt(i[i.length - 1]) && Z(b.max) && Z(b.dataMax) && i[i.length - 1] > b.max && ((!Yt(b.options.max) && Z(b.dataMax) && b.max >= b.dataMax || b.max === b.dataMax) && (b.max = Math.max(i[i.length - 1], b.max)), b.dataMax = Math.max(i[i.length - 1], b.dataMax))), c.groupAll && (this.allGroupedTable = S, C = (S = (r = this.cropData(S, b.min || 0, b.max || 0)).modified).getColumn("x"), this.cropStart = r.start), this.dataTable.modified = S;
1908
+ }(this, C || [], y), g && C && (Yt((i = C)[0]) && Z(b.min) && Z(b.dataMin) && i[0] < b.min && ((!Yt(b.options.min) && b.min <= b.dataMin || b.min === b.dataMin) && (b.min = Math.min(i[0], b.min)), b.dataMin = Math.min(i[0], b.dataMin)), Yt(i[i.length - 1]) && Z(b.max) && Z(b.dataMax) && i[i.length - 1] > b.max && ((!Yt(b.options.max) && Z(b.dataMax) && b.max >= b.dataMax || b.max === b.dataMax) && (b.max = Math.max(i[i.length - 1], b.max)), b.dataMax = Math.max(i[i.length - 1], b.dataMax))), c.groupAll && (this.allGroupedTable = k, C = (k = (r = this.cropData(k, b.min || 0, b.max || 0)).modified).getColumn("x"), this.cropStart = r.start), this.dataTable.modified = k;
1905
1909
  } else this.groupMap = void 0, this.currentDataGrouping = void 0;
1906
1910
  this.hasGroupedData = o, this.preventGraphAnimation = (p && p.totalRange) !== (d && d.totalRange);
1907
1911
  }
1908
- function Ni() {
1912
+ function Fi() {
1909
1913
  this.groupedData && (this.groupedData.forEach(function(a, t) {
1910
1914
  a && (this.groupedData[t] = a.destroy ? a.destroy() : null);
1911
1915
  }, this), this.groupedData.length = 0, delete this.allGroupedTable);
1912
1916
  }
1913
- function Ur() {
1914
- Nr.apply(this), this.destroyGroupedData(), this.groupedData = this.hasGroupedData ? this.points : null;
1917
+ function jr() {
1918
+ Vr.apply(this), this.destroyGroupedData(), this.groupedData = this.hasGroupedData ? this.points : null;
1915
1919
  }
1916
- function Vr() {
1920
+ function qr() {
1917
1921
  return this.is("arearange") ? "range" : this.is("ohlc") ? "ohlc" : this.is("hlc") ? "hlc" : this.is("column") || this.options.cumulative ? "sum" : "average";
1918
1922
  }
1919
- function Fi(a, t, e) {
1920
- let i = a.getColumn("x", !0) || [], s = a.getColumn("y", !0), o = this, n = o.data, c = o.options && o.options.data, u = [], g = new ai(), p = [], d = a.rowCount, r = !!s, l = [], h = o.pointArrayMap, f = h && h.length, m = ["x"].concat(h || ["y"]), x = (h || ["y"]).map(() => []), b = this.options.dataGrouping && this.options.dataGrouping.groupAll, w, v, M, A = 0, y = 0, E = typeof e == "function" ? e : e && U[e] ? U[e] : U[o.getDGApproximation && o.getDGApproximation() || "average"];
1923
+ function Ui(a, t, e) {
1924
+ let i = a.getColumn("x", !0) || [], s = a.getColumn("y", !0), o = this, n = o.data, c = o.options && o.options.data, u = [], g = new li(), p = [], d = a.rowCount, r = !!s, l = [], h = o.pointArrayMap, f = h && h.length, m = ["x"].concat(h || ["y"]), x = (h || ["y"]).map(() => []), b = this.options.dataGrouping && this.options.dataGrouping.groupAll, S, v, M, A = 0, y = 0, E = typeof e == "function" ? e : e && U[e] ? U[e] : U[o.getDGApproximation && o.getDGApproximation() || "average"];
1921
1925
  if (f) {
1922
- let O = h.length;
1923
- for (; O--; ) l.push([]);
1926
+ let T = h.length;
1927
+ for (; T--; ) l.push([]);
1924
1928
  } else l.push([]);
1925
- let k = f || 1;
1926
- for (let O = 0; O <= d; O++) if (!(i[O] < t[0])) {
1927
- for (; t[A + 1] !== void 0 && i[O] >= t[A + 1] || O === d; ) {
1928
- if (w = t[A], o.dataGroupInfo = { start: b ? y : o.cropStart + y, length: l[0].length, groupStart: w }, M = E.apply(o, l), o.pointClass && !Yt(o.dataGroupInfo.options) && (o.dataGroupInfo.options = He(o.pointClass.prototype.optionsToObject.call({ series: o }, o.options.data[o.cropStart + y])), m.forEach(function(S) {
1929
- delete o.dataGroupInfo.options[S];
1929
+ let w = f || 1;
1930
+ for (let T = 0; T <= d; T++) if (!(i[T] < t[0])) {
1931
+ for (; t[A + 1] !== void 0 && i[T] >= t[A + 1] || T === d; ) {
1932
+ if (S = t[A], o.dataGroupInfo = { start: b ? y : o.cropStart + y, length: l[0].length, groupStart: S }, M = E.apply(o, l), o.pointClass && !Yt(o.dataGroupInfo.options) && (o.dataGroupInfo.options = Xe(o.pointClass.prototype.optionsToObject.call({ series: o }, o.options.data[o.cropStart + y])), m.forEach(function(k) {
1933
+ delete o.dataGroupInfo.options[k];
1930
1934
  })), M !== void 0) {
1931
- u.push(w);
1932
- let S = Yr(M);
1933
- for (let C = 0; C < S.length; C++) x[C].push(S[C]);
1935
+ u.push(S);
1936
+ let k = Ur(M);
1937
+ for (let C = 0; C < k.length; C++) x[C].push(k[C]);
1934
1938
  p.push(o.dataGroupInfo);
1935
1939
  }
1936
- y = O;
1937
- for (let S = 0; S < k; S++) l[S].length = 0, l[S].hasNulls = !1;
1938
- if (A += 1, O === d) break;
1940
+ y = T;
1941
+ for (let k = 0; k < w; k++) l[k].length = 0, l[k].hasNulls = !1;
1942
+ if (A += 1, T === d) break;
1939
1943
  }
1940
- if (O === d) break;
1944
+ if (T === d) break;
1941
1945
  if (h) {
1942
- let S, C = b ? O : o.cropStart + O, I = n && n[C] || o.pointClass.prototype.applyOptions.apply({ series: o }, [c[C]]);
1943
- for (let G = 0; G < f; G++) Z(S = I[h[G]]) ? l[G].push(S) : S === null && (l[G].hasNulls = !0);
1944
- } else Z(v = r ? s[O] : null) ? l[0].push(v) : v === null && (l[0].hasNulls = !0);
1945
- }
1946
- let T = { x: u };
1947
- return (h || ["y"]).forEach((O, S) => {
1948
- T[O] = x[S];
1949
- }), g.setColumns(T), { groupMap: p, modified: g };
1946
+ let k, C = b ? T : o.cropStart + T, z = n && n[C] || o.pointClass.prototype.applyOptions.apply({ series: o }, [c[C]]);
1947
+ for (let I = 0; I < f; I++) Z(k = z[h[I]]) ? l[I].push(k) : k === null && (l[I].hasNulls = !0);
1948
+ } else Z(v = r ? s[T] : null) ? l[0].push(v) : v === null && (l[0].hasNulls = !0);
1949
+ }
1950
+ let O = { x: u };
1951
+ return (h || ["y"]).forEach((T, k) => {
1952
+ O[T] = x[k];
1953
+ }), g.setColumns(O), { groupMap: p, modified: g };
1950
1954
  }
1951
- function _r(a) {
1955
+ function Zr(a) {
1952
1956
  let t = a.options, e = this.type, i = this.chart.options.plotOptions, s = this.useCommonDataGrouping && Ot.common, o = Ot.seriesSpecific, n = B().defaultOptions.plotOptions[e].dataGrouping;
1953
1957
  if (i && (o[e] || s)) {
1954
1958
  let c = this.chart.rangeSelector;
1955
- n || (n = He(Ot.common, o[e])), t.dataGrouping = He(s, n, i.series && i.series.dataGrouping, i[e].dataGrouping, this.userOptions.dataGrouping, !t.isInternal && c && Z(c.selected) && c.buttonOptions[c.selected].dataGrouping);
1959
+ n || (n = Xe(Ot.common, o[e])), t.dataGrouping = Xe(s, n, i.series && i.series.dataGrouping, i[e].dataGrouping, this.userOptions.dataGrouping, !t.isInternal && c && Z(c.selected) && c.buttonOptions[c.selected].dataGrouping);
1956
1960
  }
1957
1961
  }
1958
- let Ui = { compose: function(a) {
1962
+ let Vi = { compose: function(a) {
1959
1963
  let t = a.prototype;
1960
- t.applyGrouping || (Xe(a.prototype.pointClass, "update", function() {
1961
- if (this.dataGroup) return Yi(24, !1, this.series.chart), !1;
1962
- }), Xe(a, "afterSetOptions", _r), Xe(a, "destroy", Ni), Xr(t, { applyGrouping: Fr, destroyGroupedData: Ni, generatePoints: Ur, getDGApproximation: Vr, groupData: Fi }));
1963
- }, groupData: Fi }, { format: jr } = Oe(), { composed: qr } = B(), { addEvent: Zr, extend: Kr, isNumber: $r, pick: Jr, pushUnique: Qr } = B();
1964
- function ta(a) {
1964
+ t.applyGrouping || (We(a.prototype.pointClass, "update", function() {
1965
+ if (this.dataGroup) return Ni(24, !1, this.series.chart), !1;
1966
+ }), We(a, "afterSetOptions", Zr), We(a, "destroy", Fi), Nr(t, { applyGrouping: _r, destroyGroupedData: Fi, generatePoints: jr, getDGApproximation: qr, groupData: Ui }));
1967
+ }, groupData: Ui }, { format: Kr } = Ee(), { composed: $r } = B(), { addEvent: Jr, extend: Qr, isNumber: ta, pick: ea, pushUnique: ia } = B();
1968
+ function sa(a) {
1965
1969
  let t = this.chart, e = t.time, i = a.point, s = i.series, o = s.options, n = s.tooltipOptions, c = o.dataGrouping, u = s.xAxis, g = n.xDateFormat || "", p, d, r, l, h, f = n[a.isFooter ? "footerFormat" : "headerFormat"];
1966
- if (u && u.options.type === "datetime" && c && $r(i.key)) {
1970
+ if (u && u.options.type === "datetime" && c && ta(i.key)) {
1967
1971
  d = s.currentDataGrouping, r = c.dateTimeLabelFormats || Ot.common.dateTimeLabelFormats, d ? (l = r[d.unitName], d.count === 1 ? g = l[0] : (g = l[1], p = l[2])) : !g && r && u.dateTime && (g = u.dateTime.getXDateFormat(i.x, n.dateTimeLabelFormats));
1968
- let m = Jr(s.groupMap?.[i.index].groupStart, i.key), x = m + (d?.totalRange || 0) - 1;
1969
- h = e.dateFormat(g, m), p && (h += e.dateFormat(p, x)), s.chart.styledMode && (f = this.styledModeFormat(f)), a.text = jr(f, { point: Kr(i, { key: h }), series: s }, t), a.preventDefault();
1972
+ let m = ea(s.groupMap?.[i.index].groupStart, i.key), x = m + (d?.totalRange || 0) - 1;
1973
+ h = e.dateFormat(g, m), p && (h += e.dateFormat(p, x)), s.chart.styledMode && (f = this.styledModeFormat(f)), a.text = Kr(f, { point: Qr(i, { key: h }), series: s }, t), a.preventDefault();
1970
1974
  }
1971
1975
  }
1972
- let ea = { compose: function(a, t, e) {
1973
- Gr.compose(a), Ui.compose(t), e && Qr(qr, "DataGrouping") && Zr(e, "headerFormatter", ta);
1974
- }, groupData: Ui.groupData }, rt = B();
1975
- rt.dataGrouping = rt.dataGrouping || {}, rt.dataGrouping.approximationDefaults = rt.dataGrouping.approximationDefaults || zi, rt.dataGrouping.approximations = rt.dataGrouping.approximations || U, ea.compose(rt.Axis, rt.Series, rt.Tooltip);
1976
- let { defined: ya, isNumber: Vi, pick: ia } = B(), { addEvent: _i, isObject: sa, pick: oa, defined: ra, merge: aa } = B(), { getAssignedAxis: ji } = { getAssignedAxis: function(a) {
1976
+ let oa = { compose: function(a, t, e) {
1977
+ Lr.compose(a), Vi.compose(t), e && ia($r, "DataGrouping") && Jr(e, "headerFormatter", sa);
1978
+ }, groupData: Vi.groupData }, rt = B();
1979
+ rt.dataGrouping = rt.dataGrouping || {}, rt.dataGrouping.approximationDefaults = rt.dataGrouping.approximationDefaults || Li, rt.dataGrouping.approximations = rt.dataGrouping.approximations || U, oa.compose(rt.Axis, rt.Series, rt.Tooltip);
1980
+ let { defined: ka, isNumber: _i, pick: ra } = B(), { addEvent: ji, isObject: aa, pick: na, defined: la, merge: ha } = B(), { getAssignedAxis: qi } = { getAssignedAxis: function(a) {
1977
1981
  return a.filter((t) => {
1978
- let e = t.axis.getExtremes(), i = e.min, s = e.max, o = ia(t.axis.minPointOffset, 0);
1979
- return Vi(i) && Vi(s) && t.value >= i - o && t.value <= s + o && !t.axis.options.isInternal;
1982
+ let e = t.axis.getExtremes(), i = e.min, s = e.max, o = ra(t.axis.minPointOffset, 0);
1983
+ return _i(i) && _i(s) && t.value >= i - o && t.value <= s + o && !t.axis.options.isInternal;
1980
1984
  })[0];
1981
- } }, qi = [], na = { enabled: !0, sensitivity: 1.1 }, la = (a) => (sa(a) || (a = { enabled: a ?? !0 }), aa(na, a)), ha = function(a, t, e, i, s, o, n) {
1982
- let c = oa(n.type, a.zooming.type, ""), u = [];
1985
+ } }, Zi = [], da = { enabled: !0, sensitivity: 1.1 }, pa = (a) => (aa(a) || (a = { enabled: a ?? !0 }), ha(da, a)), ua = function(a, t, e, i, s, o, n) {
1986
+ let c = na(n.type, a.zooming.type, ""), u = [];
1983
1987
  c === "x" ? u = e : c === "y" ? u = i : c === "xy" && (u = a.axes);
1984
1988
  let g = a.transform({ axes: u, to: { x: s - 5, y: o - 5, width: 10, height: 10 }, from: { x: s - 5 * t, y: o - 5 * t, width: 10 * t, height: 10 * t }, trigger: "mousewheel" });
1985
- return g && (ra(se) && clearTimeout(se), se = setTimeout(() => {
1989
+ return g && (la(oe) && clearTimeout(oe), oe = setTimeout(() => {
1986
1990
  a.pointer?.drop();
1987
1991
  }, 400)), g;
1988
1992
  };
1989
- function da() {
1990
- let a = la(this.zooming.mouseWheel);
1991
- a.enabled && _i(this.container, "wheel", (t) => {
1993
+ function ca() {
1994
+ let a = pa(this.zooming.mouseWheel);
1995
+ a.enabled && ji(this.container, "wheel", (t) => {
1992
1996
  t = this.pointer?.normalize(t) || t;
1993
1997
  let { pointer: e } = this, i = e && !e.inClass(t.target, "highcharts-no-mousewheel");
1994
1998
  if (this.isInsidePlot(t.chartX - this.plotLeft, t.chartY - this.plotTop) && i) {
1995
- let s = a.sensitivity || 1.1, o = t.detail || (t.deltaY || 0) / 120, n = ji(e.getCoordinates(t).xAxis), c = ji(e.getCoordinates(t).yAxis);
1996
- ha(this, Math.pow(s, o), n ? [n.axis] : this.xAxis, c ? [c.axis] : this.yAxis, t.chartX, t.chartY, a) && t.preventDefault?.();
1999
+ let s = a.sensitivity || 1.1, o = t.detail || (t.deltaY || 0) / 120, n = qi(e.getCoordinates(t).xAxis), c = qi(e.getCoordinates(t).yAxis);
2000
+ ua(this, Math.pow(s, o), n ? [n.axis] : this.xAxis, c ? [c.axis] : this.yAxis, t.chartX, t.chartY, a) && t.preventDefault?.();
1997
2001
  }
1998
2002
  });
1999
2003
  }
2000
- let $t = B();
2001
- $t.MouseWheelZoom = $t.MouseWheelZoom || { compose: function(a) {
2002
- qi.indexOf(a) === -1 && (qi.push(a), _i(a, "afterGetContainer", da));
2003
- } }, $t.MouseWheelZoom.compose($t.Chart);
2004
+ /**
2005
+ * @license Highcharts JS v12.3.0 (2025-06-21)
2006
+ * @module highcharts/modules/mouse-wheel-zoom
2007
+ * @requires highcharts
2008
+ *
2009
+ * Mousewheel zoom module
2010
+ *
2011
+ * (c) 2023 Askel Eirik Johansson
2012
+ *
2013
+ * License: www.highcharts.com/license
2014
+ */
2015
+ let Jt = B();
2016
+ Jt.MouseWheelZoom = Jt.MouseWheelZoom || { compose: function(a) {
2017
+ Zi.indexOf(a) === -1 && (Zi.push(a), ji(a, "afterGetContainer", ca));
2018
+ } }, Jt.MouseWheelZoom.compose(Jt.Chart);
2019
+ /**
2020
+ * @license Highstock JS v12.3.0 (2025-06-21)
2021
+ * @module highcharts/modules/stock
2022
+ * @requires highcharts
2023
+ *
2024
+ * Highcharts Stock as a plugin for Highcharts
2025
+ *
2026
+ * (c) 2010-2025 Torstein Honsi
2027
+ *
2028
+ * License: www.highcharts.com/license
2029
+ */
2004
2030
  let P = B();
2005
- P.Navigator = P.Navigator || qt, P.OrdinalAxis = P.OrdinalAxis || Se, P.RangeSelector = P.RangeSelector || Xt, P.Scrollbar = P.Scrollbar || at, P.stockChart = P.stockChart || Ai.stockChart, P.StockChart = P.StockChart || P.stockChart, P.extend(P.StockChart, Ai), As.compose(P.Series, P.Axis, P.Point), St.compose(P.Renderer), mt.compose(P.Series), P.Navigator.compose(P.Chart, P.Axis, P.Series), P.OrdinalAxis.compose(P.Axis, P.Series, P.Chart), P.RangeSelector.compose(P.Axis, P.Chart), P.Scrollbar.compose(P.Axis), P.StockChart.compose(P.Chart, P.Axis, P.Series, P.SVGRenderer);
2006
- let pa = B();
2007
- return Fe.default;
2031
+ P.Navigator = P.Navigator || Zt, P.OrdinalAxis = P.OrdinalAxis || we, P.RangeSelector = P.RangeSelector || Xt, P.Scrollbar = P.Scrollbar || ut, P.stockChart = P.stockChart || ki.stockChart, P.StockChart = P.StockChart || P.stockChart, P.extend(P.StockChart, ki), ks.compose(P.Series, P.Axis, P.Point), St.compose(P.Renderer), mt.compose(P.Series), P.Navigator.compose(P.Chart, P.Axis, P.Series), P.OrdinalAxis.compose(P.Axis, P.Series, P.Chart), P.RangeSelector.compose(P.Axis, P.Chart), P.Scrollbar.compose(P.Axis), P.StockChart.compose(P.Chart, P.Axis, P.Series, P.SVGRenderer);
2032
+ let ga = B();
2033
+ return Ne.default;
2008
2034
  })());
2009
- }(Qt)), Qt.exports;
2035
+ }(te)), te.exports;
2010
2036
  }
2011
- var Ji = fa();
2012
- const ma = /* @__PURE__ */ ua(Ji), Aa = /* @__PURE__ */ ca({
2037
+ var Qi = ba();
2038
+ const va = /* @__PURE__ */ fa(Qi), Sa = /* @__PURE__ */ ma({
2013
2039
  __proto__: null,
2014
- default: ma
2015
- }, [Ji]);
2040
+ default: va
2041
+ }, [Qi]);
2016
2042
  export {
2017
- Aa as s
2043
+ Sa as s
2018
2044
  };